@spectric/ui 0.0.17 → 0.0.18

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.
package/dist/index.es.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const jt = globalThis, Sr = jt.ShadowRoot && (jt.ShadyCSS === void 0 || jt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Cr = Symbol(), Ki = /* @__PURE__ */ new WeakMap();
6
+ const jt = globalThis, Sr = jt.ShadowRoot && (jt.ShadyCSS === void 0 || jt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Cr = Symbol(), Vi = /* @__PURE__ */ new WeakMap();
7
7
  let fs = class {
8
8
  constructor(r, o, s) {
9
9
  if (this._$cssResult$ = !0, s !== Cr) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -14,7 +14,7 @@ let fs = class {
14
14
  const o = this.t;
15
15
  if (Sr && r === void 0) {
16
16
  const s = o !== void 0 && o.length === 1;
17
- s && (r = Ki.get(o)), r === void 0 && ((this.o = r = new CSSStyleSheet()).replaceSync(this.cssText), s && Ki.set(o, r));
17
+ s && (r = Vi.get(o)), r === void 0 && ((this.o = r = new CSSStyleSheet()).replaceSync(this.cssText), s && Vi.set(o, r));
18
18
  }
19
19
  return r;
20
20
  }
@@ -22,33 +22,33 @@ let fs = class {
22
22
  return this.cssText;
23
23
  }
24
24
  };
25
- const Tn = (t) => new fs(typeof t == "string" ? t : t + "", void 0, Cr), Y = (t, ...r) => {
25
+ const Ln = (t) => new fs(typeof t == "string" ? t : t + "", void 0, Cr), Y = (t, ...r) => {
26
26
  const o = t.length === 1 ? t[0] : r.reduce((s, n, e) => s + ((p) => {
27
27
  if (p._$cssResult$ === !0) return p.cssText;
28
28
  if (typeof p == "number") return p;
29
29
  throw Error("Value passed to 'css' function must be a 'css' function result: " + p + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
30
30
  })(n) + t[e + 1], t[0]);
31
31
  return new fs(o, t, Cr);
32
- }, Ln = (t, r) => {
32
+ }, Dn = (t, r) => {
33
33
  if (Sr) t.adoptedStyleSheets = r.map((o) => o instanceof CSSStyleSheet ? o : o.styleSheet);
34
34
  else for (const o of r) {
35
35
  const s = document.createElement("style"), n = jt.litNonce;
36
36
  n !== void 0 && s.setAttribute("nonce", n), s.textContent = o.cssText, t.appendChild(s);
37
37
  }
38
- }, Zi = Sr ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((r) => {
38
+ }, Ki = Sr ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((r) => {
39
39
  let o = "";
40
40
  for (const s of r.cssRules) o += s.cssText;
41
- return Tn(o);
41
+ return Ln(o);
42
42
  })(t) : t;
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: Dn, defineProperty: Nn, getOwnPropertyDescriptor: zn, getOwnPropertyNames: jn, getOwnPropertySymbols: Rn, getPrototypeOf: Mn } = Object, ge = globalThis, Xi = ge.trustedTypes, Bn = Xi ? Xi.emptyScript : "", hr = ge.reactiveElementPolyfillSupport, lt = (t, r) => t, Rt = { toAttribute(t, r) {
48
+ const { is: Nn, defineProperty: zn, getOwnPropertyDescriptor: jn, getOwnPropertyNames: Rn, getOwnPropertySymbols: Mn, getPrototypeOf: Bn } = Object, ge = globalThis, Xi = ge.trustedTypes, Fn = Xi ? Xi.emptyScript : "", hr = ge.reactiveElementPolyfillSupport, lt = (t, r) => t, Rt = { toAttribute(t, r) {
49
49
  switch (r) {
50
50
  case Boolean:
51
- t = t ? Bn : null;
51
+ t = t ? Fn : null;
52
52
  break;
53
53
  case Object:
54
54
  case Array:
@@ -73,7 +73,7 @@ const { is: Dn, defineProperty: Nn, getOwnPropertyDescriptor: zn, getOwnProperty
73
73
  }
74
74
  }
75
75
  return o;
76
- } }, kr = (t, r) => !Dn(t, r), Gi = { attribute: !0, type: String, converter: Rt, reflect: !1, hasChanged: kr };
76
+ } }, kr = (t, r) => !Nn(t, r), Gi = { attribute: !0, type: String, converter: Rt, reflect: !1, hasChanged: kr };
77
77
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), ge.litPropertyMetadata ?? (ge.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
78
  class qe extends HTMLElement {
79
79
  static addInitializer(r) {
@@ -85,11 +85,11 @@ class qe extends HTMLElement {
85
85
  static createProperty(r, o = Gi) {
86
86
  if (o.state && (o.attribute = !1), this._$Ei(), this.elementProperties.set(r, o), !o.noAccessor) {
87
87
  const s = Symbol(), n = this.getPropertyDescriptor(r, s, o);
88
- n !== void 0 && Nn(this.prototype, r, n);
88
+ n !== void 0 && zn(this.prototype, r, n);
89
89
  }
90
90
  }
91
91
  static getPropertyDescriptor(r, o, s) {
92
- const { get: n, set: e } = zn(this.prototype, r) ?? { get() {
92
+ const { get: n, set: e } = jn(this.prototype, r) ?? { get() {
93
93
  return this[o];
94
94
  }, set(p) {
95
95
  this[o] = p;
@@ -106,13 +106,13 @@ class qe extends HTMLElement {
106
106
  }
107
107
  static _$Ei() {
108
108
  if (this.hasOwnProperty(lt("elementProperties"))) return;
109
- const r = Mn(this);
109
+ const r = Bn(this);
110
110
  r.finalize(), r.l !== void 0 && (this.l = [...r.l]), this.elementProperties = new Map(r.elementProperties);
111
111
  }
112
112
  static finalize() {
113
113
  if (this.hasOwnProperty(lt("finalized"))) return;
114
114
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(lt("properties"))) {
115
- const o = this.properties, s = [...jn(o), ...Rn(o)];
115
+ const o = this.properties, s = [...Rn(o), ...Mn(o)];
116
116
  for (const n of s) this.createProperty(n, o[n]);
117
117
  }
118
118
  const r = this[Symbol.metadata];
@@ -131,8 +131,8 @@ class qe extends HTMLElement {
131
131
  const o = [];
132
132
  if (Array.isArray(r)) {
133
133
  const s = new Set(r.flat(1 / 0).reverse());
134
- for (const n of s) o.unshift(Zi(n));
135
- } else r !== void 0 && o.push(Zi(r));
134
+ for (const n of s) o.unshift(Ki(n));
135
+ } else r !== void 0 && o.push(Ki(r));
136
136
  return o;
137
137
  }
138
138
  static _$Eu(r, o) {
@@ -161,7 +161,7 @@ class qe extends HTMLElement {
161
161
  }
162
162
  createRenderRoot() {
163
163
  const r = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
164
- return Ln(r, this.constructor.elementStyles), r;
164
+ return Dn(r, this.constructor.elementStyles), r;
165
165
  }
166
166
  connectedCallback() {
167
167
  var r;
@@ -281,7 +281,7 @@ qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[lt("elementPr
281
281
  */
282
282
  const ct = globalThis, Mt = ct.trustedTypes, Ji = Mt ? Mt.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Er = "$lit$", ce = `lit$${Math.random().toFixed(9).slice(2)}$`, Or = "?" + ce, Un = `<${Or}>`, ke = document, dt = () => ke.createComment(""), ft = (t) => t === null || typeof t != "object" && typeof t != "function", Pr = Array.isArray, gs = (t) => Pr(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", dr = `[
283
283
  \f\r]`, at = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, es = /-->/g, ts = />/g, xe = RegExp(`>|${dr}(?:([^\\s"'>=/]+)(${dr}*=${dr}*(?:[^
284
- \f\r"'\`<>=]|("|')|))|$)`, "g"), rs = /'/g, is = /"/g, vs = /^(?:script|style|textarea|title)$/i, Fn = (t) => (r, ...o) => ({ _$litType$: t, strings: r, values: o }), w = Fn(1), ve = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), ss = /* @__PURE__ */ new WeakMap(), Ce = ke.createTreeWalker(ke, 129);
284
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), rs = /'/g, is = /"/g, vs = /^(?:script|style|textarea|title)$/i, In = (t) => (r, ...o) => ({ _$litType$: t, strings: r, values: o }), _ = In(1), ve = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), ss = /* @__PURE__ */ new WeakMap(), Ce = ke.createTreeWalker(ke, 129);
285
285
  function bs(t, r) {
286
286
  if (!Pr(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
287
287
  return Ji !== void 0 ? Ji.createHTML(r) : r;
@@ -312,7 +312,7 @@ class gt {
312
312
  if (n.nodeType === 1) {
313
313
  if (n.hasAttributes()) for (const m of n.getAttributeNames()) if (m.endsWith(Er)) {
314
314
  const C = A[p++], S = n.getAttribute(m).split(ce), k = /([.?@])?(.*)/.exec(C);
315
- f.push({ type: 1, index: e, name: k[2], strings: S, ctor: k[1] === "." ? $s : k[1] === "?" ? _s : k[1] === "@" ? ws : bt }), n.removeAttribute(m);
315
+ f.push({ type: 1, index: e, name: k[2], strings: S, ctor: k[1] === "." ? $s : k[1] === "?" ? ws : k[1] === "@" ? _s : bt }), n.removeAttribute(m);
316
316
  } else m.startsWith(ce) && (f.push({ type: 6, index: e }), n.removeAttribute(m));
317
317
  if (vs.test(n.tagName)) {
318
318
  const m = n.textContent.split(ce), C = m.length - 1;
@@ -466,7 +466,7 @@ class $s extends bt {
466
466
  this.element[this.name] = r === E ? void 0 : r;
467
467
  }
468
468
  }
469
- class _s extends bt {
469
+ class ws extends bt {
470
470
  constructor() {
471
471
  super(...arguments), this.type = 4;
472
472
  }
@@ -474,7 +474,7 @@ class _s extends bt {
474
474
  this.element.toggleAttribute(this.name, !!r && r !== E);
475
475
  }
476
476
  }
477
- class ws extends bt {
477
+ class _s extends bt {
478
478
  constructor(r, o, s, n, e) {
479
479
  super(r, o, s, n, e), this.type = 5;
480
480
  }
@@ -499,7 +499,7 @@ class xs {
499
499
  Ee(this, r);
500
500
  }
501
501
  }
502
- const Hn = { M: Er, P: ce, A: Or, C: 1, L: ms, R: ys, D: gs, V: Ee, I: Ge, H: bt, N: _s, U: ws, B: $s, F: xs }, fr = ct.litHtmlPolyfillSupport;
502
+ const Hn = { M: Er, P: ce, A: Or, C: 1, L: ms, R: ys, D: gs, V: Ee, I: Ge, H: bt, N: ws, U: _s, B: $s, F: xs }, fr = ct.litHtmlPolyfillSupport;
503
503
  fr == null || fr(gt, Ge), (ct.litHtmlVersions ?? (ct.litHtmlVersions = [])).push("3.2.1");
504
504
  const mt = (t, r, o) => {
505
505
  const s = (o == null ? void 0 : o.renderBefore) ?? r;
@@ -572,7 +572,7 @@ let qt = class {
572
572
  * Copyright 2018 Google LLC
573
573
  * SPDX-License-Identifier: BSD-3-Clause
574
574
  */
575
- const As = "important", In = " !" + As, Lr = yt(class extends qt {
575
+ const As = "important", Qn = " !" + As, Lr = yt(class extends qt {
576
576
  constructor(t) {
577
577
  var r;
578
578
  if (super(t), t.type !== Tr.ATTRIBUTE || t.name !== "style" || ((r = t.strings) == null ? void 0 : r.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
@@ -591,13 +591,13 @@ const As = "important", In = " !" + As, Lr = yt(class extends qt {
591
591
  const n = r[s];
592
592
  if (n != null) {
593
593
  this.ft.add(s);
594
- const e = typeof n == "string" && n.endsWith(In);
594
+ const e = typeof n == "string" && n.endsWith(Qn);
595
595
  s.includes("-") || e ? o.setProperty(s, e ? n.slice(0, -11) : n, e ? As : "") : o[s] = n;
596
596
  }
597
597
  }
598
598
  return ve;
599
599
  }
600
- }), Qn = Y`
600
+ }), qn = Y`
601
601
  :host{
602
602
  display: inline-block;
603
603
  --text-on-color: var(--spectric-text-on-color, #ffffff);
@@ -714,8 +714,8 @@ const As = "important", In = " !" + As, Lr = yt(class extends qt {
714
714
  height: 10px;
715
715
  }
716
716
  :host([icon][size="xxsmall"]) .spectric-button{
717
- width: 20px;
718
- height: 20px;
717
+ width: 16px;
718
+ height: 16px;
719
719
  }
720
720
  :host([icon][size="xsmall"]) .spectric-button{
721
721
  width: 28px;
@@ -854,7 +854,7 @@ const T = (t) => (r, o) => {
854
854
  * Copyright 2017 Google LLC
855
855
  * SPDX-License-Identifier: BSD-3-Clause
856
856
  */
857
- const qn = { attribute: !0, type: String, converter: Rt, reflect: !1, hasChanged: kr }, Wn = (t = qn, r, o) => {
857
+ const Wn = { attribute: !0, type: String, converter: Rt, reflect: !1, hasChanged: kr }, Yn = (t = Wn, r, o) => {
858
858
  const { kind: s, metadata: n } = o;
859
859
  let e = globalThis.litPropertyMetadata.get(n);
860
860
  if (e === void 0 && globalThis.litPropertyMetadata.set(n, e = /* @__PURE__ */ new Map()), e.set(o.name, t), s === "accessor") {
@@ -876,7 +876,7 @@ const qn = { attribute: !0, type: String, converter: Rt, reflect: !1, hasChanged
876
876
  throw Error("Unsupported decorator location: " + s);
877
877
  };
878
878
  function v(t) {
879
- return (r, o) => typeof o == "object" ? Wn(t, r, o) : ((s, n, e) => {
879
+ return (r, o) => typeof o == "object" ? Yn(t, r, o) : ((s, n, e) => {
880
880
  const p = n.hasOwnProperty(e);
881
881
  return n.constructor.createProperty(e, p ? { ...s, wrapped: !0 } : s), p ? Object.getOwnPropertyDescriptor(n, e) : void 0;
882
882
  })(t, r, o);
@@ -894,7 +894,7 @@ function J(t) {
894
894
  * Copyright 2017 Google LLC
895
895
  * SPDX-License-Identifier: BSD-3-Clause
896
896
  */
897
- function Yn(t) {
897
+ function Zn(t) {
898
898
  return (r, o) => {
899
899
  const s = typeof r == "function" ? r : r[o];
900
900
  Object.assign(s, t);
@@ -974,17 +974,17 @@ class Ne extends D {
974
974
  }), this._isDisposed = !0;
975
975
  }
976
976
  }
977
- var Kn = Object.defineProperty, Zn = Object.getOwnPropertyDescriptor, se = (t, r, o, s) => {
978
- for (var n = s > 1 ? void 0 : s ? Zn(r, o) : r, e = t.length - 1, p; e >= 0; e--)
977
+ var Kn = Object.defineProperty, Xn = Object.getOwnPropertyDescriptor, se = (t, r, o, s) => {
978
+ for (var n = s > 1 ? void 0 : s ? Xn(r, o) : r, e = t.length - 1, p; e >= 0; e--)
979
979
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
980
980
  return s && n && Kn(r, o, n), n;
981
981
  }, Cs = /* @__PURE__ */ ((t) => (t.large = "large", t.medium = "medium", t.small = "small", t.xsmall = "xsmall", t.xxsmall = "xxsmall", t.tiny = "tiny", t))(Cs || {}), ks = /* @__PURE__ */ ((t) => (t.primary = "primary", t.secondary = "secondary", t.text = "text", t))(ks || {});
982
- const Xn = {
982
+ const Gn = {
983
983
  primary: "spectric-button--primary",
984
984
  secondary: "spectric-button--secondary",
985
985
  text: "spectric-button--text"
986
986
  };
987
- let F = class extends Ne {
987
+ let U = class extends Ne {
988
988
  constructor() {
989
989
  super(), this.variant = "primary", this.disabled = !1, this.size = "small", this.label = "", this.danger = !1, this.icon = !1, this.tooltipPosition = "right", this._onClick = (t) => {
990
990
  if (t instanceof CustomEvent || (t.preventDefault(), t.stopImmediatePropagation(), t.stopPropagation(), this.disabled))
@@ -998,9 +998,9 @@ let F = class extends Ne {
998
998
  }, this.addDisposableListener(this, "click", this._onClick, { capture: !0 });
999
999
  }
1000
1000
  render() {
1001
- const t = Xn[this.variant] || "spectric-button--primary";
1002
- return w`
1003
- ${this.tooltip ? w`<spectric-tooltip .text=${this.tooltip} .position=${this.tooltipPosition || "right"} .triggerTarget=${this}></spectric-tooltip>` : null}
1001
+ const t = Gn[this.variant] || "spectric-button--primary";
1002
+ return _`
1003
+ ${this.tooltip && this.tooltip !== "" ? _`<spectric-tooltip .text=${this.tooltip} .position=${this.tooltipPosition || "right"} .triggerTarget=${this}></spectric-tooltip>` : null}
1004
1004
  <button
1005
1005
  type="button"
1006
1006
  ?disabled=${this.disabled}
@@ -1013,51 +1013,51 @@ let F = class extends Ne {
1013
1013
  `;
1014
1014
  }
1015
1015
  };
1016
- F.styles = Qn;
1016
+ U.styles = qn;
1017
1017
  se([
1018
1018
  v({ type: String, reflect: !0 })
1019
- ], F.prototype, "variant", 2);
1019
+ ], U.prototype, "variant", 2);
1020
1020
  se([
1021
1021
  v({ type: Boolean, reflect: !0 })
1022
- ], F.prototype, "disabled", 2);
1022
+ ], U.prototype, "disabled", 2);
1023
1023
  se([
1024
1024
  v({ type: String, reflect: !0 })
1025
- ], F.prototype, "backgroundColor", 2);
1025
+ ], U.prototype, "backgroundColor", 2);
1026
1026
  se([
1027
1027
  v({ type: String, reflect: !0 })
1028
- ], F.prototype, "size", 2);
1028
+ ], U.prototype, "size", 2);
1029
1029
  se([
1030
1030
  v({ type: String, reflect: !0 })
1031
- ], F.prototype, "label", 2);
1031
+ ], U.prototype, "label", 2);
1032
1032
  se([
1033
1033
  v({ type: Boolean, reflect: !0 })
1034
- ], F.prototype, "danger", 2);
1034
+ ], U.prototype, "danger", 2);
1035
1035
  se([
1036
1036
  v({ type: Boolean, reflect: !0 })
1037
- ], F.prototype, "icon", 2);
1037
+ ], U.prototype, "icon", 2);
1038
1038
  se([
1039
1039
  v({ type: String, reflect: !0 })
1040
- ], F.prototype, "tooltip", 2);
1040
+ ], U.prototype, "tooltip", 2);
1041
1041
  se([
1042
1042
  v({ type: String, reflect: !0 })
1043
- ], F.prototype, "tooltipPosition", 2);
1044
- F = se([
1043
+ ], U.prototype, "tooltipPosition", 2);
1044
+ U = se([
1045
1045
  T("spectric-button")
1046
- ], F);
1046
+ ], U);
1047
1047
  /**
1048
1048
  * @license
1049
1049
  * Copyright 2020 Google LLC
1050
1050
  * SPDX-License-Identifier: BSD-3-Clause
1051
1051
  */
1052
- const { I: Gn } = Hn, ns = (t, r) => (t == null ? void 0 : t._$litType$) !== void 0, Jn = (t) => {
1052
+ const { I: Jn } = Hn, ns = (t, r) => (t == null ? void 0 : t._$litType$) !== void 0, ea = (t) => {
1053
1053
  var r;
1054
1054
  return ((r = t == null ? void 0 : t._$litType$) == null ? void 0 : r.h) != null;
1055
- }, ea = (t) => t.strings === void 0, as = () => document.createComment(""), Se = (t, r, o) => {
1055
+ }, ta = (t) => t.strings === void 0, as = () => document.createComment(""), Se = (t, r, o) => {
1056
1056
  var e;
1057
1057
  const s = t._$AA.parentNode, n = r === void 0 ? t._$AB : r._$AA;
1058
1058
  if (o === void 0) {
1059
1059
  const p = s.insertBefore(as(), n), h = s.insertBefore(as(), n);
1060
- o = new Gn(p, h, t, t.options);
1060
+ o = new Jn(p, h, t, t.options);
1061
1061
  } else {
1062
1062
  const p = o._$AB.nextSibling, h = o._$AM, f = h !== t;
1063
1063
  if (f) {
@@ -1073,7 +1073,7 @@ const { I: Gn } = Hn, ns = (t, r) => (t == null ? void 0 : t._$litType$) !== voi
1073
1073
  }
1074
1074
  }
1075
1075
  return o;
1076
- }, Ae = (t, r, o = t) => (t._$AI(r, o), t), ta = {}, yr = (t, r = ta) => t._$AH = r, $r = (t) => t._$AH, vr = (t) => {
1076
+ }, Ae = (t, r, o = t) => (t._$AI(r, o), t), ra = {}, yr = (t, r = ra) => t._$AH = r, $r = (t) => t._$AH, vr = (t) => {
1077
1077
  var s;
1078
1078
  (s = t._$AP) == null || s.call(t, !1, !0);
1079
1079
  let r = t._$AA;
@@ -1082,7 +1082,7 @@ const { I: Gn } = Hn, ns = (t, r) => (t == null ? void 0 : t._$litType$) !== voi
1082
1082
  const n = r.nextSibling;
1083
1083
  r.remove(), r = n;
1084
1084
  }
1085
- }, ra = (t) => {
1085
+ }, ia = (t) => {
1086
1086
  t._$AR();
1087
1087
  };
1088
1088
  /**
@@ -1107,20 +1107,20 @@ const pt = (t, r) => {
1107
1107
  let o = r._$AN;
1108
1108
  if (o === void 0) r._$AN = o = /* @__PURE__ */ new Set();
1109
1109
  else if (o.has(t)) break;
1110
- o.add(t), oa(r);
1110
+ o.add(t), na(r);
1111
1111
  }
1112
1112
  };
1113
- function ia(t) {
1113
+ function sa(t) {
1114
1114
  this._$AN !== void 0 ? (Bt(this), this._$AM = t, Es(this)) : this._$AM = t;
1115
1115
  }
1116
- function sa(t, r = !1, o = 0) {
1116
+ function oa(t, r = !1, o = 0) {
1117
1117
  const s = this._$AH, n = this._$AN;
1118
1118
  if (n !== void 0 && n.size !== 0) if (r) if (Array.isArray(s)) for (let e = o; e < s.length; e++) pt(s[e], !1), Bt(s[e]);
1119
1119
  else s != null && (pt(s, !1), Bt(s));
1120
1120
  else pt(this, t);
1121
1121
  }
1122
- const oa = (t) => {
1123
- t.type == Tr.CHILD && (t._$AP ?? (t._$AP = sa), t._$AQ ?? (t._$AQ = ia));
1122
+ const na = (t) => {
1123
+ t.type == Tr.CHILD && (t._$AP ?? (t._$AP = oa), t._$AQ ?? (t._$AQ = sa));
1124
1124
  };
1125
1125
  class Os extends qt {
1126
1126
  constructor() {
@@ -1134,7 +1134,7 @@ class Os extends qt {
1134
1134
  r !== this.isConnected && (this.isConnected = r, r ? (s = this.reconnected) == null || s.call(this) : (n = this.disconnected) == null || n.call(this)), o && (pt(this, r), Bt(this));
1135
1135
  }
1136
1136
  setValue(r) {
1137
- if (ea(this._$Ct)) this._$Ct._$AI(r, this);
1137
+ if (ta(this._$Ct)) this._$Ct._$AI(r, this);
1138
1138
  else {
1139
1139
  const o = [...this._$Ct._$AH];
1140
1140
  o[this._$Ci] = r, this._$Ct._$AI(o, this, 0);
@@ -1150,8 +1150,8 @@ class Os extends qt {
1150
1150
  * Copyright 2020 Google LLC
1151
1151
  * SPDX-License-Identifier: BSD-3-Clause
1152
1152
  */
1153
- const ut = () => new na();
1154
- let na = class {
1153
+ const ut = () => new aa();
1154
+ let aa = class {
1155
1155
  };
1156
1156
  const br = /* @__PURE__ */ new WeakMap(), ht = yt(class extends Os {
1157
1157
  render(t) {
@@ -1209,7 +1209,7 @@ const br = /* @__PURE__ */ new WeakMap(), ht = yt(class extends Os {
1209
1209
  s.push(this.getBit(n));
1210
1210
  return s;
1211
1211
  }
1212
- }, aa = (t, r) => {
1212
+ }, la = (t, r) => {
1213
1213
  let o;
1214
1214
  return (...s) => {
1215
1215
  clearTimeout(o), o = window.setTimeout(() => t.apply(void 0, s), r);
@@ -1222,12 +1222,12 @@ const br = /* @__PURE__ */ new WeakMap(), ht = yt(class extends Os {
1222
1222
  });
1223
1223
  };
1224
1224
  };
1225
- var la = Object.defineProperty, ca = Object.getOwnPropertyDescriptor, ze = (t, r, o, s) => {
1226
- for (var n = s > 1 ? void 0 : s ? ca(r, o) : r, e = t.length - 1, p; e >= 0; e--)
1225
+ var ca = Object.defineProperty, pa = Object.getOwnPropertyDescriptor, ze = (t, r, o, s) => {
1226
+ for (var n = s > 1 ? void 0 : s ? pa(r, o) : r, e = t.length - 1, p; e >= 0; e--)
1227
1227
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
1228
- return s && n && la(r, o, n), n;
1228
+ return s && n && ca(r, o, n), n;
1229
1229
  };
1230
- const pa = ["mousemove", "click", "dblclick", "mousedown", "mouseup", "contextmenu"], Nt = { width: 200, height: 200 }, Ut = { width: 10, height: 10 };
1230
+ const ua = ["mousemove", "click", "dblclick", "mousedown", "mouseup", "contextmenu"], Nt = { width: 200, height: 200 }, Ft = { width: 10, height: 10 };
1231
1231
  let ie = class extends Ne {
1232
1232
  constructor() {
1233
1233
  super(), this.arrayBuffer = new ArrayBuffer(0), this.frameWidth = 100, this.scale = 1, this.width = 200, this.height = 200, this.state = {}, this.yStart = 0, this.xStart = 0, this.refs = {
@@ -1250,7 +1250,7 @@ let ie = class extends Ne {
1250
1250
  this.resizeObserver.disconnect();
1251
1251
  }, this.resizeObserver = t, this.addDisposableListener(document.body, "theme-change", this.onThemeChange);
1252
1252
  var r = {};
1253
- pa.forEach((o) => {
1253
+ ua.forEach((o) => {
1254
1254
  this.addDisposableListener(this._canvas, o, Dr(async (s) => {
1255
1255
  s.stopImmediatePropagation(), s.stopPropagation(), s.preventDefault();
1256
1256
  var n = await this._canvas;
@@ -1327,12 +1327,12 @@ let ie = class extends Ne {
1327
1327
  }
1328
1328
  render() {
1329
1329
  const { height: t = Nt.height, width: r = Nt.width } = this;
1330
- return w`
1330
+ return _`
1331
1331
  <div
1332
1332
  id="viewport"
1333
1333
  ${ht(this.refs.viewport)}
1334
1334
  @scroll=${this.handleScroll}
1335
- style=${`width:${r + Ut.width}px;height:${t + Ut.height}px;overflow:auto;position:relative`}
1335
+ style=${`width:${r + Ft.width}px;height:${t + Ft.height}px;overflow:auto;position:relative`}
1336
1336
  >
1337
1337
  <div
1338
1338
  id="fakescrolldiv"
@@ -1372,8 +1372,8 @@ ie.styles = Y`
1372
1372
  background-color:var(--background-color);
1373
1373
  }
1374
1374
  ::-webkit-scrollbar {
1375
- height: ${Ut.height}px;
1376
- width: ${Ut.width}px;
1375
+ height: ${Ft.height}px;
1376
+ width: ${Ft.width}px;
1377
1377
 
1378
1378
  }
1379
1379
 
@@ -1466,7 +1466,7 @@ ze([
1466
1466
  ie = ze([
1467
1467
  T("spectric-bit-display")
1468
1468
  ], ie);
1469
- const ua = Y`.spectric-header {
1469
+ const ha = Y`.spectric-header {
1470
1470
  display: flex;
1471
1471
  justify-content: space-between;
1472
1472
  align-items: center;
@@ -1502,10 +1502,10 @@ const ua = Y`.spectric-header {
1502
1502
  font-size: 14px;
1503
1503
  }
1504
1504
  `;
1505
- var ha = Object.defineProperty, da = Object.getOwnPropertyDescriptor, Yt = (t, r, o, s) => {
1506
- for (var n = s > 1 ? void 0 : s ? da(r, o) : r, e = t.length - 1, p; e >= 0; e--)
1505
+ var da = Object.defineProperty, fa = Object.getOwnPropertyDescriptor, Yt = (t, r, o, s) => {
1506
+ for (var n = s > 1 ? void 0 : s ? fa(r, o) : r, e = t.length - 1, p; e >= 0; e--)
1507
1507
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
1508
- return s && n && ha(r, o, n), n;
1508
+ return s && n && da(r, o, n), n;
1509
1509
  };
1510
1510
  let Oe = class extends D {
1511
1511
  constructor() {
@@ -1530,7 +1530,7 @@ let Oe = class extends D {
1530
1530
  };
1531
1531
  }
1532
1532
  render() {
1533
- return w`
1533
+ return _`
1534
1534
  <header>
1535
1535
  <div class="spectric-header">
1536
1536
  <div style="flex-grow:1;">
@@ -1538,10 +1538,10 @@ let Oe = class extends D {
1538
1538
  <h1><slot name="name"></slot></h1>
1539
1539
  <slot name="center"></slot>
1540
1540
  </div>
1541
- ${this.showLoginButton !== !1 ? w`
1541
+ ${this.showLoginButton !== !1 ? _`
1542
1542
  <div>
1543
- ${this.username && this.username !== "" ? w`<spectric-button variant="secondary" size="small" @click=${this.onLogout}>Log out</spectric-button>` : w`
1544
- ${this.showCreateAccount !== !1 ? w`<spectric-button variant="text" size="small" @click=${this.onCreateAccount}>Sign up</spectric-button>` : null}
1543
+ ${this.username && this.username !== "" ? _`<spectric-button variant="secondary" size="small" @click=${this.onLogout}>Log out</spectric-button>` : _`
1544
+ ${this.showCreateAccount !== !1 ? _`<spectric-button variant="text" size="small" @click=${this.onCreateAccount}>Sign up</spectric-button>` : null}
1545
1545
  <spectric-button variant="primary" size="small" @click=${this.onLogin}>Log in</spectric-button>`}
1546
1546
 
1547
1547
 
@@ -1552,7 +1552,7 @@ let Oe = class extends D {
1552
1552
  `;
1553
1553
  }
1554
1554
  };
1555
- Oe.styles = ua;
1555
+ Oe.styles = ha;
1556
1556
  Yt([
1557
1557
  v({ type: Boolean, reflect: !0 })
1558
1558
  ], Oe.prototype, "showCreateAccount", 2);
@@ -1565,12 +1565,12 @@ Yt([
1565
1565
  Oe = Yt([
1566
1566
  T("spectric-header")
1567
1567
  ], Oe);
1568
- var fa = Object.defineProperty, ga = Object.getOwnPropertyDescriptor, Je = (t, r, o, s) => {
1569
- for (var n = s > 1 ? void 0 : s ? ga(r, o) : r, e = t.length - 1, p; e >= 0; e--)
1568
+ var ga = Object.defineProperty, va = Object.getOwnPropertyDescriptor, Je = (t, r, o, s) => {
1569
+ for (var n = s > 1 ? void 0 : s ? va(r, o) : r, e = t.length - 1, p; e >= 0; e--)
1570
1570
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
1571
- return s && n && fa(r, o, n), n;
1571
+ return s && n && ga(r, o, n), n;
1572
1572
  };
1573
- const va = {
1573
+ const ba = {
1574
1574
  display: "flex",
1575
1575
  alignItems: "center",
1576
1576
  backgroundColor: "black",
@@ -1595,10 +1595,10 @@ let Pe = class extends D {
1595
1595
  }
1596
1596
  render() {
1597
1597
  if (!this._dismissed)
1598
- return w`
1599
- <header style=${Lr({ ...va, ...this.headerStyle })}>
1598
+ return _`
1599
+ <header style=${Lr({ ...ba, ...this.headerStyle })}>
1600
1600
  <div style="flex-grow:1"><slot name="text">${this.text}</slot><slot></slot></div>
1601
- ${this.dismissable ? w`<spectric-button size="small" @click=${this.onDismiss}>X</spectric-button>` : null}
1601
+ ${this.dismissable ? _`<spectric-button size="small" @click=${this.onDismiss}>X</spectric-button>` : null}
1602
1602
  </header>
1603
1603
  `;
1604
1604
  }
@@ -1621,7 +1621,7 @@ Je([
1621
1621
  Pe = Je([
1622
1622
  T("spectric-banner")
1623
1623
  ], Pe);
1624
- const ba = Y`
1624
+ const ma = Y`
1625
1625
 
1626
1626
  :host {
1627
1627
  height:100vh;
@@ -1783,7 +1783,7 @@ article{
1783
1783
  * Copyright 2018 Google LLC
1784
1784
  * SPDX-License-Identifier: BSD-3-Clause
1785
1785
  */
1786
- const _r = (t) => t ?? E;
1786
+ const wr = (t) => t ?? E;
1787
1787
  class Ts extends Os {
1788
1788
  constructor() {
1789
1789
  super(...arguments), this.prevData = {};
@@ -1811,7 +1811,7 @@ class Ts extends Os {
1811
1811
  }
1812
1812
  }
1813
1813
  const We = yt(Ts);
1814
- var wr = /* @__PURE__ */ ((t) => (t.None = "none", t.Uscui = "us.cui", t.Usclassified = "us.classified", t.Usunclassified = "us.unclassified", t.Usconfidential = "us.confidential", t.Ussecret = "us.secret", t.Ustopsecret = "us.topsecret", t.UstopsecretSi = "us.topsecret.si", t.Uknotset = "uk.notset", t.Ukofficial = "uk.official", t.Uksecret = "uk.secret", t.Uktopsecret = "uk.topsecret", t.Caprotected_a = "ca.protected_a", t.Caprotected_b = "ca.protected_b", t.Caprotected_c = "ca.protected_c", t.Caconfidential = "ca.confidential", t.Casecret = "ca.secret", t.Catopsecret = "ca.topsecret", t.Auunofficial = "au.unofficial", t.Auofficial = "au.official", t.Auofficialsensitive = "au.officialsensitive", t.Auconfidential = "au.confidential", t.Ausecret = "au.secret", t.Autopsecret = "au.topsecret", t))(wr || {});
1814
+ var _r = /* @__PURE__ */ ((t) => (t.None = "none", t.Uscui = "us.cui", t.Usclassified = "us.classified", t.Usunclassified = "us.unclassified", t.Usconfidential = "us.confidential", t.Ussecret = "us.secret", t.Ustopsecret = "us.topsecret", t.UstopsecretSi = "us.topsecret.si", t.Uknotset = "uk.notset", t.Ukofficial = "uk.official", t.Uksecret = "uk.secret", t.Uktopsecret = "uk.topsecret", t.Caprotected_a = "ca.protected_a", t.Caprotected_b = "ca.protected_b", t.Caprotected_c = "ca.protected_c", t.Caconfidential = "ca.confidential", t.Casecret = "ca.secret", t.Catopsecret = "ca.topsecret", t.Auunofficial = "au.unofficial", t.Auofficial = "au.official", t.Auofficialsensitive = "au.officialsensitive", t.Auconfidential = "au.confidential", t.Ausecret = "au.secret", t.Autopsecret = "au.topsecret", t))(_r || {});
1815
1815
  const zt = {
1816
1816
  none: {},
1817
1817
  //US Department of Defense spec CFR-2002-title31-vol1-sec2-7
@@ -1932,33 +1932,33 @@ const zt = {
1932
1932
  content: "Top Secret"
1933
1933
  }
1934
1934
  };
1935
- var ma = Object.defineProperty, ya = Object.getOwnPropertyDescriptor, oe = (t, r, o, s) => {
1936
- for (var n = s > 1 ? void 0 : s ? ya(r, o) : r, e = t.length - 1, p; e >= 0; e--)
1935
+ var ya = Object.defineProperty, $a = Object.getOwnPropertyDescriptor, oe = (t, r, o, s) => {
1936
+ for (var n = s > 1 ? void 0 : s ? $a(r, o) : r, e = t.length - 1, p; e >= 0; e--)
1937
1937
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
1938
- return s && n && ma(r, o, n), n;
1938
+ return s && n && ya(r, o, n), n;
1939
1939
  };
1940
- let H = class extends D {
1940
+ let I = class extends D {
1941
1941
  constructor() {
1942
- super(...arguments), this.showHeader = !0, this.headerSticky = !0, this.classificationLevel = wr.None, this.classificationText = "", this.notifications = [], this.showCreateAccount = !1, this.showLoginButton = !0, this.username = "";
1942
+ super(...arguments), this.showHeader = !0, this.headerSticky = !0, this.classificationLevel = _r.None, this.classificationText = "", this.notifications = [], this.showCreateAccount = !1, this.showLoginButton = !0, this.username = "";
1943
1943
  }
1944
1944
  // protected createRenderRoot(): HTMLElement | DocumentFragment {
1945
1945
  // return this
1946
1946
  // }
1947
1947
  render() {
1948
- this.classificationLevel && !zt[this.classificationLevel] && (console.warn("Unknown classification", this.classificationLevel), this.classificationLevel = wr.None);
1949
- const t = this.classificationLevel ? this.classificationText || zt[this.classificationLevel].content : "", r = this.showHeader ? w`<spectric-header ?showCreateAccount=${this.showCreateAccount} .showLoginButton=${this.showLoginButton} username=${_r(this.username)}>
1948
+ this.classificationLevel && !zt[this.classificationLevel] && (console.warn("Unknown classification", this.classificationLevel), this.classificationLevel = _r.None);
1949
+ const t = this.classificationLevel ? this.classificationText || zt[this.classificationLevel].content : "", r = this.showHeader ? _`<spectric-header ?showCreateAccount=${this.showCreateAccount} .showLoginButton=${this.showLoginButton} username=${wr(this.username)}>
1950
1950
  <slot name="branding" slot="branding"></slot>
1951
1951
  <slot name="name" slot="name"></slot>
1952
1952
  <slot name="center" slot="center"></slot>
1953
1953
  <slot name="end" slot="end"></slot>
1954
1954
  </spectric-header>` : null;
1955
- return w`
1956
- ${this.classificationLevel && t ? w`
1955
+ return _`
1956
+ ${this.classificationLevel && t ? _`
1957
1957
  <!-- Classification Banner -->
1958
1958
  <spectric-banner ${We({ text: t, headerStyle: zt[this.classificationLevel] })}></spectric-banner>
1959
1959
  ` : null}
1960
- <spectric-theme theme=${_r(this.theme)}>
1961
- ${this.notifications ? this.notifications.map((o) => w`<spectric-banner ${We(o)} ></spectric-banner>`) : null}
1960
+ <spectric-theme theme=${wr(this.theme)}>
1961
+ ${this.notifications ? this.notifications.map((o) => _`<spectric-banner ${We(o)} ></spectric-banner>`) : null}
1962
1962
  ${this.headerSticky ? r : null}
1963
1963
  <article>
1964
1964
  ${this.headerSticky ? null : r}
@@ -1968,46 +1968,46 @@ let H = class extends D {
1968
1968
  </section>
1969
1969
  </article>
1970
1970
  </spectric-theme>
1971
- ${this.classificationLevel && t ? w`<spectric-banner ${We({ text: t, headerStyle: zt[this.classificationLevel] })}></spectric-banner>` : null}
1971
+ ${this.classificationLevel && t ? _`<spectric-banner ${We({ text: t, headerStyle: zt[this.classificationLevel] })}></spectric-banner>` : null}
1972
1972
 
1973
1973
  `;
1974
1974
  }
1975
1975
  };
1976
- H.styles = ba;
1976
+ I.styles = ma;
1977
1977
  oe([
1978
1978
  v({ type: Boolean, reflect: !0 })
1979
- ], H.prototype, "showHeader", 2);
1979
+ ], I.prototype, "showHeader", 2);
1980
1980
  oe([
1981
1981
  v({ type: Boolean, reflect: !0 })
1982
- ], H.prototype, "headerSticky", 2);
1982
+ ], I.prototype, "headerSticky", 2);
1983
1983
  oe([
1984
1984
  v({ type: String, reflect: !0 })
1985
- ], H.prototype, "classificationLevel", 2);
1985
+ ], I.prototype, "classificationLevel", 2);
1986
1986
  oe([
1987
1987
  v({ type: String, reflect: !0 })
1988
- ], H.prototype, "classificationText", 2);
1988
+ ], I.prototype, "classificationText", 2);
1989
1989
  oe([
1990
1990
  v({ type: Array, reflect: !0 })
1991
- ], H.prototype, "notifications", 2);
1991
+ ], I.prototype, "notifications", 2);
1992
1992
  oe([
1993
1993
  v({ type: Boolean, reflect: !0 })
1994
- ], H.prototype, "showCreateAccount", 2);
1994
+ ], I.prototype, "showCreateAccount", 2);
1995
1995
  oe([
1996
1996
  v({ type: Boolean, reflect: !0 })
1997
- ], H.prototype, "showLoginButton", 2);
1997
+ ], I.prototype, "showLoginButton", 2);
1998
1998
  oe([
1999
1999
  v({ type: String, reflect: !0 })
2000
- ], H.prototype, "username", 2);
2000
+ ], I.prototype, "username", 2);
2001
2001
  oe([
2002
2002
  v({ type: String, reflect: !0 })
2003
- ], H.prototype, "theme", 2);
2004
- H = oe([
2003
+ ], I.prototype, "theme", 2);
2004
+ I = oe([
2005
2005
  T("spectric-page")
2006
- ], H);
2007
- var $a = Object.defineProperty, _a = Object.getOwnPropertyDescriptor, P = (t, r, o, s) => {
2006
+ ], I);
2007
+ var wa = Object.defineProperty, _a = Object.getOwnPropertyDescriptor, P = (t, r, o, s) => {
2008
2008
  for (var n = s > 1 ? void 0 : s ? _a(r, o) : r, e = t.length - 1, p; e >= 0; e--)
2009
2009
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
2010
- return s && n && $a(r, o, n), n;
2010
+ return s && n && wa(r, o, n), n;
2011
2011
  }, Ls = /* @__PURE__ */ ((t) => (t.Text = "text", t.TextArea = "text-area", t.number = "number", t.color = "color", t.date = "date", t.datetime = "datetime-local", t.email = "email", t.file = "file", t.hidden = "hidden", t.password = "password", t.checkbox = "checkbox", t.range = "range", t))(Ls || {});
2012
2012
  let O = class extends D {
2013
2013
  constructor() {
@@ -2057,7 +2057,7 @@ let O = class extends D {
2057
2057
  case "datetime-local":
2058
2058
  case "file":
2059
2059
  case "range":
2060
- return w`
2060
+ return _`
2061
2061
  <div class="inputWrapper">
2062
2062
  <div class="text-input__label-helper-wrapper">
2063
2063
  <div class="--text-input__label-wrapper">
@@ -2087,7 +2087,7 @@ let O = class extends D {
2087
2087
  @change=${this._handleChange}
2088
2088
  />
2089
2089
 
2090
- ${this.variant === "password" && this.showPasswordVisibilityToggle ? w`
2090
+ ${this.variant === "password" && this.showPasswordVisibilityToggle ? _`
2091
2091
  <spectric-button
2092
2092
  size="small"
2093
2093
  type="button"
@@ -2108,7 +2108,7 @@ let O = class extends D {
2108
2108
  </div>
2109
2109
  `;
2110
2110
  case "color":
2111
- return w`<div class="inputWrapper">
2111
+ return _`<div class="inputWrapper">
2112
2112
  <div class="text-input__label-helper-wrapper">
2113
2113
  <div class="--text-input__label-wrapper">
2114
2114
  ${this.label} ${this.maxCount > 0 && this._value ? `${this._value.length}/${this.maxCount}` : null}
@@ -2130,14 +2130,16 @@ let O = class extends D {
2130
2130
  </div>
2131
2131
  </div>`;
2132
2132
  case "hidden":
2133
- return w`<input type="hidden"/>`;
2133
+ return _`<input type="hidden"/>`;
2134
2134
  case "checkbox":
2135
- return w`
2135
+ return _`
2136
2136
  <div class="checkbox">
2137
- <spectric-button @click=${() => {
2137
+ <spectric-button
2138
+ .tooltip=${this.helperText}
2139
+ @click=${() => {
2138
2140
  this.checked = !this.checked, this.value = !!this.checked;
2139
2141
  }} icon size=${this.size || "xxsmall"} variant=${this.checked ? "primary" : "secondary"}>${this.checked ? "✓" : " "}</spectric-button>
2140
- ${this.invalid || this.helperText ? w`<spectric-tooltip text=${this.invalid || this.helperText}></spectric-tooltip>` : null}
2142
+
2141
2143
  ${this.label}
2142
2144
  </div>
2143
2145
  </label>
@@ -2207,12 +2209,12 @@ P([
2207
2209
  De("input")
2208
2210
  ], O.prototype, "_input", 2);
2209
2211
  P([
2210
- Yn({ capture: !0 })
2212
+ Zn({ capture: !0 })
2211
2213
  ], O.prototype, "_handleChange", 1);
2212
2214
  O = P([
2213
2215
  T("spectric-input")
2214
2216
  ], O);
2215
- const Qe = (t) => _r(t === "" ? void 0 : t ?? void 0), wa = "end of input", xa = {
2217
+ const Qe = (t) => wr(t === "" ? void 0 : t ?? void 0), xa = "end of input", Aa = {
2216
2218
  fieldName: "field name",
2217
2219
  value: "value",
2218
2220
  literal: "literal",
@@ -2222,8 +2224,8 @@ class Ds extends Error {
2222
2224
  constructor(r, o) {
2223
2225
  let s = r.message;
2224
2226
  if (r.expected) {
2225
- const p = r.expected.map((f) => xa[f.description] || f.description).join(", ");
2226
- let h = r.found ? `"${r.found}"` : wa;
2227
+ const p = r.expected.map((f) => Aa[f.description] || f.description).join(", ");
2228
+ let h = r.found ? `"${r.found}"` : xa;
2227
2229
  s = `Expected ${p} but ${h} found.`;
2228
2230
  }
2229
2231
  const n = [s, o, "-".repeat(r.location.start.offset) + "^"].join(
@@ -2242,13 +2244,13 @@ function Ye(t) {
2242
2244
  function Nr(t) {
2243
2245
  return t.value;
2244
2246
  }
2245
- const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2247
+ const Sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2246
2248
  __proto__: null,
2247
2249
  buildNode: Ye,
2248
2250
  toOpenSearchQuery: Nr
2249
2251
  }, Symbol.toStringTag, { value: "Module" })), {
2250
- SyntaxError: Dc,
2251
- parse: Vt
2252
+ SyntaxError: jc,
2253
+ parse: Zt
2252
2254
  } = function() {
2253
2255
  function t(s, n) {
2254
2256
  function e() {
@@ -2265,9 +2267,9 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2265
2267
  return a.type === "cursor" ? {
2266
2268
  ...a,
2267
2269
  suggestionTypes: ["conjunction"]
2268
- } : i !== null ? i : we.function.buildNode("is", "*", "*");
2270
+ } : i !== null ? i : _e.function.buildNode("is", "*", "*");
2269
2271
  }, y = function() {
2270
- return An;
2272
+ return Sn;
2271
2273
  }, A = function(i, a) {
2272
2274
  const c = [i, a].find((u) => u.type === "cursor");
2273
2275
  return c || re("or", [i, a]);
@@ -2281,7 +2283,7 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2281
2283
  ...a,
2282
2284
  suggestionTypes: ["conjunction"]
2283
2285
  } : i;
2284
- }, ee = ":", I = { type: "literal", value: ":", description: '":"' }, Me = "{", Kt = { type: "literal", value: "{", description: '"{"' }, Zt = "}", Xt = { type: "literal", value: "}", description: '"}"' }, Ks = function(i, a, c) {
2286
+ }, ee = ":", H = { type: "literal", value: ":", description: '":"' }, Me = "{", Vt = { type: "literal", value: "{", description: '"{"' }, Kt = "}", Xt = { type: "literal", value: "}", description: '"}"' }, Ks = function(i, a, c) {
2285
2287
  return a.type === "cursor" ? {
2286
2288
  ...a,
2287
2289
  nestedPath: a.nestedPath ? `${i.value}.${a.nestedPath}` : i.value
@@ -2289,21 +2291,21 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2289
2291
  ...c,
2290
2292
  suggestionTypes: ["conjunction"]
2291
2293
  } : re("nested", [i, a]);
2292
- }, Zs = { type: "other", description: "fieldName" }, Xs = function(i, a, c) {
2294
+ }, Xs = { type: "other", description: "fieldName" }, Gs = function(i, a, c) {
2293
2295
  if (c.type === "cursor")
2294
2296
  return {
2295
2297
  ...c,
2296
2298
  suggestionTypes: ["conjunction"]
2297
2299
  };
2298
- const u = On(a, c);
2300
+ const u = Pn(a, c);
2299
2301
  return re("range", [i, u]);
2300
- }, Gs = function(i, a) {
2302
+ }, Js = function(i, a) {
2301
2303
  return a.type === "cursor" ? {
2302
2304
  ...a,
2303
2305
  fieldName: i.value,
2304
2306
  suggestionTypes: ["value", "conjunction"]
2305
2307
  } : a(i);
2306
- }, Js = function(i) {
2308
+ }, eo = function(i) {
2307
2309
  if (i.type === "cursor") {
2308
2310
  const c = `${i.prefix}${i.suffix}`.trim();
2309
2311
  return {
@@ -2314,114 +2316,114 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2314
2316
  }
2315
2317
  const a = de(null);
2316
2318
  return i(a);
2317
- }, eo = function(i, a) {
2319
+ }, to = function(i, a) {
2318
2320
  return a.type === "cursor" ? {
2319
2321
  ...a,
2320
2322
  suggestionTypes: ["conjunction"]
2321
2323
  } : i;
2322
- }, to = function(i, a) {
2324
+ }, ro = function(i, a) {
2323
2325
  const c = [i, a].find((u) => u.type === "cursor");
2324
2326
  return c ? {
2325
2327
  ...c,
2326
2328
  suggestionTypes: ["value"]
2327
2329
  } : (u) => re("or", [i(u), a(u)]);
2328
- }, ro = function(i, a) {
2330
+ }, io = function(i, a) {
2329
2331
  const c = [i, a].find((u) => u.type === "cursor");
2330
2332
  return c ? {
2331
2333
  ...c,
2332
2334
  suggestionTypes: ["value"]
2333
2335
  } : (u) => re("and", [i(u), a(u)]);
2334
- }, io = function(i) {
2336
+ }, so = function(i) {
2335
2337
  return i.type === "cursor" ? {
2336
2338
  ...list,
2337
2339
  suggestionTypes: ["value"]
2338
2340
  } : (a) => re("not", [i(a)]);
2339
- }, so = { type: "other", description: "value" }, oo = function(i) {
2341
+ }, oo = { type: "other", description: "value" }, no = function(i) {
2340
2342
  if (i.type === "cursor") return i;
2341
2343
  const a = de(!0);
2342
2344
  return (c) => re("is", [c, i, a]);
2343
- }, no = function(i) {
2345
+ }, ao = function(i) {
2344
2346
  if (i.type === "cursor") return i;
2345
- !kn && i.type === "wildcard" && we.wildcard.hasLeadingWildcard(i) && K("Leading wildcards are disabled. See query:allowLeadingWildcards in Advanced Settings.");
2347
+ !En && i.type === "wildcard" && _e.wildcard.hasLeadingWildcard(i) && V("Leading wildcards are disabled. See query:allowLeadingWildcards in Advanced Settings.");
2346
2348
  const a = de(!1);
2347
2349
  return (c) => re("is", [c, i, a]);
2348
- }, ao = { type: "other", description: "OR" }, Hr = "or", Ir = { type: "literal", value: "or", description: '"or"' }, lo = { type: "other", description: "AND" }, Qr = "and", qr = { type: "literal", value: "and", description: '"and"' }, co = { type: "other", description: "NOT" }, Wr = "not", Yr = { type: "literal", value: "not", description: '"not"' }, po = { type: "other", description: "literal" }, tt = '"', rt = { type: "literal", value: '"', description: '"\\""' }, Gt = function(i, a, c) {
2349
- const { start: u, end: g } = tn();
2350
+ }, lo = { type: "other", description: "OR" }, Ir = "or", Hr = { type: "literal", value: "or", description: '"or"' }, co = { type: "other", description: "AND" }, Qr = "and", qr = { type: "literal", value: "and", description: '"and"' }, po = { type: "other", description: "NOT" }, Wr = "not", Yr = { type: "literal", value: "not", description: '"not"' }, uo = { type: "other", description: "literal" }, tt = '"', rt = { type: "literal", value: '"', description: '"\\""' }, Gt = function(i, a, c) {
2351
+ const { start: u, end: g } = rn();
2350
2352
  return {
2351
2353
  type: "cursor",
2352
2354
  start: u.offset,
2353
2355
  end: g.offset - a.length,
2354
2356
  prefix: i.join(""),
2355
2357
  suffix: c.join(""),
2356
- text: en().replace(a, "")
2358
+ text: tn().replace(a, "")
2357
2359
  };
2358
- }, uo = function(i) {
2360
+ }, ho = function(i) {
2359
2361
  return de(i.join(""));
2360
- }, it = "\\", st = { type: "literal", value: "\\", description: '"\\\\"' }, ho = /^[\\"]/, fo = { type: "class", value: '[\\\\"]', description: '[\\\\"]' }, _t = function(i) {
2362
+ }, it = "\\", st = { type: "literal", value: "\\", description: '"\\\\"' }, fo = /^[\\"]/, go = { type: "class", value: '[\\\\"]', description: '[\\\\"]' }, wt = function(i) {
2361
2363
  return i;
2362
- }, go = /^[^"]/, vo = { type: "class", value: '[^"]', description: '[^"]' }, bo = function(i) {
2364
+ }, vo = /^[^"]/, bo = { type: "class", value: '[^"]', description: '[^"]' }, mo = function(i) {
2363
2365
  const a = i.join("").trim();
2364
- return a === "null" ? de(null) : a === "true" ? de(!0) : a === "false" ? de(!1) : i.includes(Wi) ? En(a) : de(
2366
+ return a === "null" ? de(null) : a === "true" ? de(!0) : a === "false" ? de(!1) : i.includes(Wi) ? On(a) : de(
2365
2367
  /^(-?[1-9]+\d*([.]\d+)?)$|^(-?0[.]\d*[1-9]+)$|^0$|^0.0$|^[.]\d{1,}$/.test(a) ? isFinite(a) && (a > Number.MAX_SAFE_INTEGER || a < Number.MIN_SAFE_INTEGER) ? BigInt(a) : Number(a) : a
2366
2368
  );
2367
- }, Vr = { type: "any", description: "any character" }, wt = "*", xt = { type: "literal", value: "*", description: '"*"' }, mo = function() {
2369
+ }, Zr = { type: "any", description: "any character" }, _t = "*", xt = { type: "literal", value: "*", description: '"*"' }, yo = function() {
2368
2370
  return Wi;
2369
- }, Kr = "\\t", yo = { type: "literal", value: "\\t", description: '"\\\\t"' }, $o = function() {
2371
+ }, Vr = "\\t", $o = { type: "literal", value: "\\t", description: '"\\\\t"' }, wo = function() {
2370
2372
  return " ";
2371
- }, Zr = "\\r", _o = { type: "literal", value: "\\r", description: '"\\\\r"' }, wo = function() {
2373
+ }, Kr = "\\r", _o = { type: "literal", value: "\\r", description: '"\\\\r"' }, xo = function() {
2372
2374
  return "\r";
2373
- }, Xr = "\\n", xo = { type: "literal", value: "\\n", description: '"\\\\n"' }, Ao = function() {
2375
+ }, Xr = "\\n", Ao = { type: "literal", value: "\\n", description: '"\\\\n"' }, So = function() {
2374
2376
  return `
2375
2377
  `;
2376
- }, So = function(i) {
2378
+ }, Co = function(i) {
2377
2379
  return i;
2378
- }, Co = /^[\\():<>"*{}]/, ko = { type: "class", value: '[\\\\():<>"*{}]', description: '[\\\\():<>"*{}]' }, Gr = "<=", Eo = { type: "literal", value: "<=", description: '"<="' }, Oo = function() {
2380
+ }, ko = /^[\\():<>"*{}]/, Eo = { type: "class", value: '[\\\\():<>"*{}]', description: '[\\\\():<>"*{}]' }, Gr = "<=", Oo = { type: "literal", value: "<=", description: '"<="' }, Po = function() {
2379
2381
  return "lte";
2380
- }, Jr = ">=", Po = { type: "literal", value: ">=", description: '">="' }, To = function() {
2382
+ }, Jr = ">=", To = { type: "literal", value: ">=", description: '">="' }, Lo = function() {
2381
2383
  return "gte";
2382
- }, ei = "<", ti = { type: "literal", value: "<", description: '"<"' }, Lo = function() {
2384
+ }, ei = "<", ti = { type: "literal", value: "<", description: '"<"' }, Do = function() {
2383
2385
  return "lt";
2384
- }, ri = ">", ii = { type: "literal", value: ">", description: '">"' }, Do = function() {
2386
+ }, ri = ">", ii = { type: "literal", value: ">", description: '">"' }, No = function() {
2385
2387
  return "gt";
2386
- }, No = { type: "other", description: "whitespace" }, zo = /^[ \t\r\n]/, jo = { type: "class", value: "[\\ \\t\\r\\n]", description: "[\\ \\t\\r\\n]" }, Ro = function() {
2387
- return Sn;
2388
- }, si = "@kuery-cursor@", Mo = { type: "literal", value: "@kuery-cursor@", description: '"@kuery-cursor@"' }, Bo = function() {
2388
+ }, zo = { type: "other", description: "whitespace" }, jo = /^[ \t\r\n]/, Ro = { type: "class", value: "[\\ \\t\\r\\n]", description: "[\\ \\t\\r\\n]" }, Mo = function() {
2389
2389
  return Cn;
2390
- }, oi = "||", Uo = { type: "literal", value: "||", description: '"||"' }, Fo = function() {
2391
- K("LuceneOr");
2390
+ }, si = "@kuery-cursor@", Bo = { type: "literal", value: "@kuery-cursor@", description: '"@kuery-cursor@"' }, Fo = function() {
2391
+ return kn;
2392
+ }, oi = "||", Uo = { type: "literal", value: "||", description: '"||"' }, Io = function() {
2393
+ V("LuceneOr");
2392
2394
  }, ni = "&&", Ho = { type: "literal", value: "&&", description: '"&&"' }, ai = function() {
2393
- K("LuceneAnd");
2395
+ V("LuceneAnd");
2394
2396
  }, li = "+", ci = { type: "literal", value: "+", description: '"+"' }, pi = "-", ui = { type: "literal", value: "-", description: '"-"' }, hi = function() {
2395
- K("LuceneNot");
2396
- }, di = "!", fi = { type: "literal", value: "!", description: '"!"' }, gi = "_exists_", Io = { type: "literal", value: "_exists_", description: '"_exists_"' }, Qo = function() {
2397
- K("LuceneExists");
2397
+ V("LuceneNot");
2398
+ }, di = "!", fi = { type: "literal", value: "!", description: '"!"' }, gi = "_exists_", Qo = { type: "literal", value: "_exists_", description: '"_exists_"' }, qo = function() {
2399
+ V("LuceneExists");
2398
2400
  }, vi = function() {
2399
- K("LuceneRange");
2400
- }, bi = "?", mi = { type: "literal", value: "?", description: '"?"' }, qo = function() {
2401
- K("LuceneWildcard");
2402
- }, Jt = "/", er = { type: "literal", value: "/", description: '"/"' }, yi = /^[^\/]/, $i = { type: "class", value: "[^/]", description: "[^/]" }, Wo = function() {
2403
- K("LuceneRegex");
2404
- }, tr = "~", rr = { type: "literal", value: "~", description: '"~"' }, Be = /^[0-9]/, Ue = { type: "class", value: "[0-9]", description: "[0-9]" }, Yo = function() {
2405
- K("LuceneFuzzy");
2401
+ V("LuceneRange");
2402
+ }, bi = "?", mi = { type: "literal", value: "?", description: '"?"' }, Wo = function() {
2403
+ V("LuceneWildcard");
2404
+ }, Jt = "/", er = { type: "literal", value: "/", description: '"/"' }, yi = /^[^\/]/, $i = { type: "class", value: "[^/]", description: "[^/]" }, Yo = function() {
2405
+ V("LuceneRegex");
2406
+ }, tr = "~", rr = { type: "literal", value: "~", description: '"~"' }, Be = /^[0-9]/, Fe = { type: "class", value: "[0-9]", description: "[0-9]" }, Zo = function() {
2407
+ V("LuceneFuzzy");
2406
2408
  }, Vo = function() {
2407
- K("LuceneProximity");
2408
- }, _i = "^", wi = { type: "literal", value: "^", description: '"^"' }, Ko = function() {
2409
- K("LuceneBoost");
2410
- }, Zo = function() {
2409
+ V("LuceneProximity");
2410
+ }, wi = "^", _i = { type: "literal", value: "^", description: '"^"' }, Ko = function() {
2411
+ V("LuceneBoost");
2412
+ }, Xo = function() {
2411
2413
  return char;
2412
- }, Xo = "=", Go = { type: "literal", value: "=", description: '"="' }, xi = "[", Ai = { type: "literal", value: "[", description: '"["' }, Si = "]", Ci = { type: "literal", value: "]", description: '"]"' }, ki = "TO", Jo = { type: "literal", value: "TO", description: '"TO"' }, l = 0, x = 0, At = [{ line: 1, column: 1, seenCR: !1 }], te = 0, ir = [], d = 0, St;
2414
+ }, Go = "=", Jo = { type: "literal", value: "=", description: '"="' }, xi = "[", Ai = { type: "literal", value: "[", description: '"["' }, Si = "]", Ci = { type: "literal", value: "]", description: '"]"' }, ki = "TO", en = { type: "literal", value: "TO", description: '"TO"' }, l = 0, x = 0, At = [{ line: 1, column: 1, seenCR: !1 }], te = 0, ir = [], d = 0, St;
2413
2415
  if ("startRule" in n) {
2414
2416
  if (!(n.startRule in p))
2415
2417
  throw new Error(`Can't start parsing from rule "` + n.startRule + '".');
2416
2418
  h = p[n.startRule];
2417
2419
  }
2418
- function en() {
2420
+ function tn() {
2419
2421
  return s.substring(x, l);
2420
2422
  }
2421
- function tn() {
2423
+ function rn() {
2422
2424
  return Ct(x, l);
2423
2425
  }
2424
- function K(i) {
2426
+ function V(i) {
2425
2427
  throw Oi(
2426
2428
  i,
2427
2429
  null,
@@ -2465,17 +2467,17 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2465
2467
  function Oi(i, a, c, u) {
2466
2468
  function g(L) {
2467
2469
  var z = 1;
2468
- for (L.sort(function(fe, Z) {
2469
- return fe.description < Z.description ? -1 : fe.description > Z.description ? 1 : 0;
2470
+ for (L.sort(function(fe, K) {
2471
+ return fe.description < K.description ? -1 : fe.description > K.description ? 1 : 0;
2470
2472
  }); z < L.length; )
2471
2473
  L[z - 1] === L[z] ? L.splice(z, 1) : z++;
2472
2474
  }
2473
- function _(L, z) {
2474
- function fe(Pn) {
2475
+ function w(L, z) {
2476
+ function fe(Tn) {
2475
2477
  function Dt(le) {
2476
2478
  return le.charCodeAt(0).toString(16).toUpperCase();
2477
2479
  }
2478
- return Pn.replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\x08/g, "\\b").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\f/g, "\\f").replace(/\r/g, "\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g, function(le) {
2480
+ return Tn.replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\x08/g, "\\b").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\f/g, "\\f").replace(/\r/g, "\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g, function(le) {
2479
2481
  return "\\x0" + Dt(le);
2480
2482
  }).replace(/[\x10-\x1F\x80-\xFF]/g, function(le) {
2481
2483
  return "\\x" + Dt(le);
@@ -2485,13 +2487,13 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2485
2487
  return "\\u" + Dt(le);
2486
2488
  });
2487
2489
  }
2488
- var Z = new Array(L.length), Yi, Vi, nt;
2490
+ var K = new Array(L.length), Yi, Zi, nt;
2489
2491
  for (nt = 0; nt < L.length; nt++)
2490
- Z[nt] = L[nt].description;
2491
- return Yi = L.length > 1 ? Z.slice(0, -1).join(", ") + " or " + Z[L.length - 1] : Z[0], Vi = z ? '"' + fe(z) + '"' : "end of input", "Expected " + Yi + " but " + Vi + " found.";
2492
+ K[nt] = L[nt].description;
2493
+ return Yi = L.length > 1 ? K.slice(0, -1).join(", ") + " or " + K[L.length - 1] : K[0], Zi = z ? '"' + fe(z) + '"' : "end of input", "Expected " + Yi + " but " + Zi + " found.";
2492
2494
  }
2493
2495
  return a !== null && g(a), new r(
2494
- i !== null ? i : _(a, c),
2496
+ i !== null ? i : w(a, c),
2495
2497
  a,
2496
2498
  c,
2497
2499
  u
@@ -2505,7 +2507,7 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2505
2507
  }
2506
2508
  function kt() {
2507
2509
  var i, a, c, u;
2508
- return i = l, x = l, a = y(), a ? a = void 0 : a = e, a !== e ? (c = hn(), c !== e ? (a = [a, c], i = a) : (l = i, i = e)) : (l = i, i = e), i === e && (i = l, a = sr(), a !== e ? (c = Et(), c !== e ? (u = kt(), u !== e ? (x = i, a = A(a, u), i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e), i === e && (i = sr())), i;
2510
+ return i = l, x = l, a = y(), a ? a = void 0 : a = e, a !== e ? (c = dn(), c !== e ? (a = [a, c], i = a) : (l = i, i = e)) : (l = i, i = e), i === e && (i = l, a = sr(), a !== e ? (c = Et(), c !== e ? (u = kt(), u !== e ? (x = i, a = A(a, u), i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e), i === e && (i = sr())), i;
2509
2511
  }
2510
2512
  function sr() {
2511
2513
  var i, a, c, u;
@@ -2516,29 +2518,29 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2516
2518
  return i = l, a = lr(), a !== e ? (c = Li(), c !== e ? (x = i, a = C(c), i = a) : (l = i, i = e)) : (l = i, i = e), i === e && (i = Li()), i;
2517
2519
  }
2518
2520
  function Li() {
2519
- var i, a, c, u, g, _;
2521
+ var i, a, c, u, g, w;
2520
2522
  if (i = l, s.charCodeAt(l) === 40 ? (a = S, l++) : (a = e, d === 0 && b(k)), a !== e) {
2521
2523
  for (c = [], u = $(); u !== e; )
2522
2524
  c.push(u), u = $();
2523
- c !== e ? (u = kt(), u !== e ? (g = Tt(), g !== e ? (s.charCodeAt(l) === 41 ? (_ = N, l++) : (_ = e, d === 0 && b(R)), _ !== e ? (x = i, a = B(u, g), i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e);
2525
+ c !== e ? (u = kt(), u !== e ? (g = Tt(), g !== e ? (s.charCodeAt(l) === 41 ? (w = N, l++) : (w = e, d === 0 && b(R)), w !== e ? (x = i, a = B(u, g), i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e);
2524
2526
  } else
2525
2527
  l = i, i = e;
2526
- return i === e && (i = rn()), i;
2528
+ return i === e && (i = sn()), i;
2527
2529
  }
2528
- function rn() {
2529
- var i, a, c, u, g, _, L, z, fe, Z;
2530
+ function sn() {
2531
+ var i, a, c, u, g, w, L, z, fe, K;
2530
2532
  if (i = l, a = or(), a !== e) {
2531
2533
  for (c = [], u = $(); u !== e; )
2532
2534
  c.push(u), u = $();
2533
2535
  if (c !== e)
2534
- if (s.charCodeAt(l) === 58 ? (u = ee, l++) : (u = e, d === 0 && b(I)), u !== e) {
2535
- for (g = [], _ = $(); _ !== e; )
2536
- g.push(_), _ = $();
2536
+ if (s.charCodeAt(l) === 58 ? (u = ee, l++) : (u = e, d === 0 && b(H)), u !== e) {
2537
+ for (g = [], w = $(); w !== e; )
2538
+ g.push(w), w = $();
2537
2539
  if (g !== e)
2538
- if (s.charCodeAt(l) === 123 ? (_ = Me, l++) : (_ = e, d === 0 && b(Kt)), _ !== e) {
2540
+ if (s.charCodeAt(l) === 123 ? (w = Me, l++) : (w = e, d === 0 && b(Vt)), w !== e) {
2539
2541
  for (L = [], z = $(); z !== e; )
2540
2542
  L.push(z), z = $();
2541
- L !== e ? (z = kt(), z !== e ? (fe = Tt(), fe !== e ? (s.charCodeAt(l) === 125 ? (Z = Zt, l++) : (Z = e, d === 0 && b(Xt)), Z !== e ? (x = i, a = Ks(a, z, fe), i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e);
2543
+ L !== e ? (z = kt(), z !== e ? (fe = Tt(), fe !== e ? (s.charCodeAt(l) === 125 ? (K = Kt, l++) : (K = e, d === 0 && b(Xt)), K !== e ? (x = i, a = Ks(a, z, fe), i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e);
2542
2544
  } else
2543
2545
  l = i, i = e;
2544
2546
  else
@@ -2549,26 +2551,26 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2549
2551
  l = i, i = e;
2550
2552
  } else
2551
2553
  l = i, i = e;
2552
- return i === e && (i = sn()), i;
2554
+ return i === e && (i = on()), i;
2553
2555
  }
2554
- function sn() {
2556
+ function on() {
2555
2557
  var i;
2556
- return i = on(), i === e && (i = nn(), i === e && (i = an())), i;
2558
+ return i = nn(), i === e && (i = an(), i === e && (i = ln())), i;
2557
2559
  }
2558
2560
  function or() {
2559
2561
  var i;
2560
- return d++, i = cr(), d--, i === e && d === 0 && b(Zs), i;
2562
+ return d++, i = cr(), d--, i === e && d === 0 && b(Xs), i;
2561
2563
  }
2562
- function on() {
2563
- var i, a, c, u, g, _;
2564
+ function nn() {
2565
+ var i, a, c, u, g, w;
2564
2566
  if (i = l, a = or(), a !== e) {
2565
2567
  for (c = [], u = $(); u !== e; )
2566
2568
  c.push(u), u = $();
2567
2569
  if (c !== e)
2568
2570
  if (u = Mi(), u !== e) {
2569
- for (g = [], _ = $(); _ !== e; )
2570
- g.push(_), _ = $();
2571
- g !== e ? (_ = cr(), _ !== e ? (x = i, a = Xs(a, u, _), i = a) : (l = i, i = e)) : (l = i, i = e);
2571
+ for (g = [], w = $(); w !== e; )
2572
+ g.push(w), w = $();
2573
+ g !== e ? (w = cr(), w !== e ? (x = i, a = Gs(a, u, w), i = a) : (l = i, i = e)) : (l = i, i = e);
2572
2574
  } else
2573
2575
  l = i, i = e;
2574
2576
  else
@@ -2577,16 +2579,16 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2577
2579
  l = i, i = e;
2578
2580
  return i;
2579
2581
  }
2580
- function nn() {
2581
- var i, a, c, u, g, _;
2582
+ function an() {
2583
+ var i, a, c, u, g, w;
2582
2584
  if (i = l, a = or(), a !== e) {
2583
2585
  for (c = [], u = $(); u !== e; )
2584
2586
  c.push(u), u = $();
2585
2587
  if (c !== e)
2586
- if (s.charCodeAt(l) === 58 ? (u = ee, l++) : (u = e, d === 0 && b(I)), u !== e) {
2587
- for (g = [], _ = $(); _ !== e; )
2588
- g.push(_), _ = $();
2589
- g !== e ? (_ = nr(), _ !== e ? (x = i, a = Gs(a, _), i = a) : (l = i, i = e)) : (l = i, i = e);
2588
+ if (s.charCodeAt(l) === 58 ? (u = ee, l++) : (u = e, d === 0 && b(H)), u !== e) {
2589
+ for (g = [], w = $(); w !== e; )
2590
+ g.push(w), w = $();
2591
+ g !== e ? (w = nr(), w !== e ? (x = i, a = Js(a, w), i = a) : (l = i, i = e)) : (l = i, i = e);
2590
2592
  } else
2591
2593
  l = i, i = e;
2592
2594
  else
@@ -2595,35 +2597,35 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2595
2597
  l = i, i = e;
2596
2598
  return i;
2597
2599
  }
2598
- function an() {
2600
+ function ln() {
2599
2601
  var i, a;
2600
- return i = l, a = zi(), a !== e && (x = i, a = Js(a)), i = a, i;
2602
+ return i = l, a = zi(), a !== e && (x = i, a = eo(a)), i = a, i;
2601
2603
  }
2602
2604
  function nr() {
2603
- var i, a, c, u, g, _;
2605
+ var i, a, c, u, g, w;
2604
2606
  if (i = l, s.charCodeAt(l) === 40 ? (a = S, l++) : (a = e, d === 0 && b(k)), a !== e) {
2605
2607
  for (c = [], u = $(); u !== e; )
2606
2608
  c.push(u), u = $();
2607
- c !== e ? (u = Di(), u !== e ? (g = Tt(), g !== e ? (s.charCodeAt(l) === 41 ? (_ = N, l++) : (_ = e, d === 0 && b(R)), _ !== e ? (x = i, a = eo(u, g), i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e);
2609
+ c !== e ? (u = Di(), u !== e ? (g = Tt(), g !== e ? (s.charCodeAt(l) === 41 ? (w = N, l++) : (w = e, d === 0 && b(R)), w !== e ? (x = i, a = to(u, g), i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e);
2608
2610
  } else
2609
2611
  l = i, i = e;
2610
2612
  return i === e && (i = zi()), i;
2611
2613
  }
2612
2614
  function Di() {
2613
2615
  var i, a, c, u;
2614
- return i = l, a = ar(), a !== e ? (c = Et(), c !== e ? (u = Di(), u !== e ? (x = i, a = to(a, u), i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e), i === e && (i = ar()), i;
2616
+ return i = l, a = ar(), a !== e ? (c = Et(), c !== e ? (u = Di(), u !== e ? (x = i, a = ro(a, u), i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e), i === e && (i = ar()), i;
2615
2617
  }
2616
2618
  function ar() {
2617
2619
  var i, a, c, u;
2618
- return i = l, a = Ni(), a !== e ? (c = Ot(), c !== e ? (u = ar(), u !== e ? (x = i, a = ro(a, u), i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e), i === e && (i = Ni()), i;
2620
+ return i = l, a = Ni(), a !== e ? (c = Ot(), c !== e ? (u = ar(), u !== e ? (x = i, a = io(a, u), i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e), i === e && (i = Ni()), i;
2619
2621
  }
2620
2622
  function Ni() {
2621
2623
  var i, a, c;
2622
- return i = l, a = lr(), a !== e ? (c = nr(), c !== e ? (x = i, a = io(c), i = a) : (l = i, i = e)) : (l = i, i = e), i === e && (i = nr()), i;
2624
+ return i = l, a = lr(), a !== e ? (c = nr(), c !== e ? (x = i, a = so(c), i = a) : (l = i, i = e)) : (l = i, i = e), i === e && (i = nr()), i;
2623
2625
  }
2624
2626
  function zi() {
2625
2627
  var i, a;
2626
- return d++, i = l, a = Pt(), a !== e && (x = i, a = oo(a)), i = a, i === e && (i = l, a = ji(), a !== e && (x = i, a = no(a)), i = a), d--, i === e && (a = e, d === 0 && b(so)), i;
2628
+ return d++, i = l, a = Pt(), a !== e && (x = i, a = no(a)), i = a, i === e && (i = l, a = ji(), a !== e && (x = i, a = ao(a)), i = a), d--, i === e && (a = e, d === 0 && b(oo)), i;
2627
2629
  }
2628
2630
  function Et() {
2629
2631
  var i, a, c, u, g;
@@ -2633,7 +2635,7 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2633
2635
  else
2634
2636
  a = e;
2635
2637
  if (a !== e)
2636
- if (s.substr(l, 2).toLowerCase() === Hr ? (c = s.substr(l, 2), l += 2) : (c = e, d === 0 && b(Ir)), c !== e) {
2638
+ if (s.substr(l, 2).toLowerCase() === Ir ? (c = s.substr(l, 2), l += 2) : (c = e, d === 0 && b(Hr)), c !== e) {
2637
2639
  if (u = [], g = $(), g !== e)
2638
2640
  for (; g !== e; )
2639
2641
  u.push(g), g = $();
@@ -2644,7 +2646,7 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2644
2646
  l = i, i = e;
2645
2647
  else
2646
2648
  l = i, i = e;
2647
- return i === e && (i = l, x = l, a = y(), a ? a = void 0 : a = e, a !== e ? (c = Bi(), c !== e ? (a = [a, c], i = a) : (l = i, i = e)) : (l = i, i = e)), d--, i === e && (a = e, d === 0 && b(ao)), i;
2649
+ return i === e && (i = l, x = l, a = y(), a ? a = void 0 : a = e, a !== e ? (c = Bi(), c !== e ? (a = [a, c], i = a) : (l = i, i = e)) : (l = i, i = e)), d--, i === e && (a = e, d === 0 && b(lo)), i;
2648
2650
  }
2649
2651
  function Ot() {
2650
2652
  var i, a, c, u, g;
@@ -2665,7 +2667,7 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2665
2667
  l = i, i = e;
2666
2668
  else
2667
2669
  l = i, i = e;
2668
- return i === e && (i = l, x = l, a = y(), a ? a = void 0 : a = e, a !== e ? (c = Ui(), c !== e ? (a = [a, c], i = a) : (l = i, i = e)) : (l = i, i = e)), d--, i === e && (a = e, d === 0 && b(lo)), i;
2670
+ return i === e && (i = l, x = l, a = y(), a ? a = void 0 : a = e, a !== e ? (c = Fi(), c !== e ? (a = [a, c], i = a) : (l = i, i = e)) : (l = i, i = e)), d--, i === e && (a = e, d === 0 && b(co)), i;
2669
2671
  }
2670
2672
  function lr() {
2671
2673
  var i, a, c, u;
@@ -2678,22 +2680,22 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2678
2680
  c !== e ? (a = [a, c], i = a) : (l = i, i = e);
2679
2681
  } else
2680
2682
  l = i, i = e;
2681
- return i === e && (i = l, x = l, a = y(), a ? a = void 0 : a = e, a !== e ? (c = Fi(), c !== e ? (a = [a, c], i = a) : (l = i, i = e)) : (l = i, i = e)), d--, i === e && (a = e, d === 0 && b(co)), i;
2683
+ return i === e && (i = l, x = l, a = y(), a ? a = void 0 : a = e, a !== e ? (c = Ui(), c !== e ? (a = [a, c], i = a) : (l = i, i = e)) : (l = i, i = e)), d--, i === e && (a = e, d === 0 && b(po)), i;
2682
2684
  }
2683
2685
  function cr() {
2684
2686
  var i;
2685
- return d++, i = Pt(), i === e && (i = ji()), d--, i === e && d === 0 && b(po), i;
2687
+ return d++, i = Pt(), i === e && (i = ji()), d--, i === e && d === 0 && b(uo), i;
2686
2688
  }
2687
2689
  function Pt() {
2688
- var i, a, c, u, g, _;
2690
+ var i, a, c, u, g, w;
2689
2691
  if (i = l, s.charCodeAt(l) === 34 ? (a = tt, l++) : (a = e, d === 0 && b(rt)), a !== e) {
2690
- for (c = [], u = Fe(); u !== e; )
2691
- c.push(u), u = Fe();
2692
+ for (c = [], u = Ue(); u !== e; )
2693
+ c.push(u), u = Ue();
2692
2694
  if (c !== e)
2693
2695
  if (u = ot(), u !== e) {
2694
- for (g = [], _ = Fe(); _ !== e; )
2695
- g.push(_), _ = Fe();
2696
- g !== e ? (s.charCodeAt(l) === 34 ? (_ = tt, l++) : (_ = e, d === 0 && b(rt)), _ !== e ? (x = i, a = Gt(c, u, g), i = a) : (l = i, i = e)) : (l = i, i = e);
2696
+ for (g = [], w = Ue(); w !== e; )
2697
+ g.push(w), w = Ue();
2698
+ g !== e ? (s.charCodeAt(l) === 34 ? (w = tt, l++) : (w = e, d === 0 && b(rt)), w !== e ? (x = i, a = Gt(c, u, g), i = a) : (l = i, i = e)) : (l = i, i = e);
2697
2699
  } else
2698
2700
  l = i, i = e;
2699
2701
  else
@@ -2702,47 +2704,47 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2702
2704
  l = i, i = e;
2703
2705
  if (i === e)
2704
2706
  if (i = l, s.charCodeAt(l) === 34 ? (a = tt, l++) : (a = e, d === 0 && b(rt)), a !== e) {
2705
- for (c = [], u = Fe(); u !== e; )
2706
- c.push(u), u = Fe();
2707
- c !== e ? (s.charCodeAt(l) === 34 ? (u = tt, l++) : (u = e, d === 0 && b(rt)), u !== e ? (x = i, a = uo(c), i = a) : (l = i, i = e)) : (l = i, i = e);
2707
+ for (c = [], u = Ue(); u !== e; )
2708
+ c.push(u), u = Ue();
2709
+ c !== e ? (s.charCodeAt(l) === 34 ? (u = tt, l++) : (u = e, d === 0 && b(rt)), u !== e ? (x = i, a = ho(c), i = a) : (l = i, i = e)) : (l = i, i = e);
2708
2710
  } else
2709
2711
  l = i, i = e;
2710
2712
  return i;
2711
2713
  }
2712
- function Fe() {
2714
+ function Ue() {
2713
2715
  var i, a, c;
2714
- return i = pr(), i === e && (i = l, s.charCodeAt(l) === 92 ? (a = it, l++) : (a = e, d === 0 && b(st)), a !== e ? (ho.test(s.charAt(l)) ? (c = s.charAt(l), l++) : (c = e, d === 0 && b(fo)), c !== e ? (x = i, a = _t(c), i = a) : (l = i, i = e)) : (l = i, i = e), i === e && (i = l, a = l, d++, c = ot(), d--, c === e ? a = void 0 : (l = a, a = e), a !== e ? (go.test(s.charAt(l)) ? (c = s.charAt(l), l++) : (c = e, d === 0 && b(vo)), c !== e ? (x = i, a = _t(c), i = a) : (l = i, i = e)) : (l = i, i = e))), i;
2716
+ return i = pr(), i === e && (i = l, s.charCodeAt(l) === 92 ? (a = it, l++) : (a = e, d === 0 && b(st)), a !== e ? (fo.test(s.charAt(l)) ? (c = s.charAt(l), l++) : (c = e, d === 0 && b(go)), c !== e ? (x = i, a = wt(c), i = a) : (l = i, i = e)) : (l = i, i = e), i === e && (i = l, a = l, d++, c = ot(), d--, c === e ? a = void 0 : (l = a, a = e), a !== e ? (vo.test(s.charAt(l)) ? (c = s.charAt(l), l++) : (c = e, d === 0 && b(bo)), c !== e ? (x = i, a = wt(c), i = a) : (l = i, i = e)) : (l = i, i = e))), i;
2715
2717
  }
2716
2718
  function ji() {
2717
2719
  var i, a, c, u, g;
2718
- for (i = l, a = [], c = He(); c !== e; )
2719
- a.push(c), c = He();
2720
+ for (i = l, a = [], c = Ie(); c !== e; )
2721
+ a.push(c), c = Ie();
2720
2722
  if (a !== e)
2721
2723
  if (c = ot(), c !== e) {
2722
- for (u = [], g = He(); g !== e; )
2723
- u.push(g), g = He();
2724
+ for (u = [], g = Ie(); g !== e; )
2725
+ u.push(g), g = Ie();
2724
2726
  u !== e ? (x = i, a = Gt(a, c, u), i = a) : (l = i, i = e);
2725
2727
  } else
2726
2728
  l = i, i = e;
2727
2729
  else
2728
2730
  l = i, i = e;
2729
2731
  if (i === e) {
2730
- if (i = l, a = [], c = He(), c !== e)
2732
+ if (i = l, a = [], c = Ie(), c !== e)
2731
2733
  for (; c !== e; )
2732
- a.push(c), c = He();
2734
+ a.push(c), c = Ie();
2733
2735
  else
2734
2736
  a = e;
2735
- a !== e && (x = i, a = bo(a)), i = a;
2737
+ a !== e && (x = i, a = mo(a)), i = a;
2736
2738
  }
2737
2739
  return i;
2738
2740
  }
2739
- function He() {
2741
+ function Ie() {
2740
2742
  var i, a, c, u, g;
2741
- return i = pr(), i === e && (i = cn(), i === e && (i = pn(), i === e && (i = ln(), i === e && (i = l, a = l, d++, c = Ri(), d--, c === e ? a = void 0 : (l = a, a = e), a !== e ? (c = l, d++, u = un(), d--, u === e ? c = void 0 : (l = c, c = e), c !== e ? (u = l, d++, g = ot(), d--, g === e ? u = void 0 : (l = u, u = e), u !== e ? (s.length > l ? (g = s.charAt(l), l++) : (g = e, d === 0 && b(Vr)), g !== e ? (x = i, a = _t(g), i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e))))), i;
2743
+ return i = pr(), i === e && (i = pn(), i === e && (i = un(), i === e && (i = cn(), i === e && (i = l, a = l, d++, c = Ri(), d--, c === e ? a = void 0 : (l = a, a = e), a !== e ? (c = l, d++, u = hn(), d--, u === e ? c = void 0 : (l = c, c = e), c !== e ? (u = l, d++, g = ot(), d--, g === e ? u = void 0 : (l = u, u = e), u !== e ? (s.length > l ? (g = s.charAt(l), l++) : (g = e, d === 0 && b(Zr)), g !== e ? (x = i, a = wt(g), i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e))))), i;
2742
2744
  }
2743
- function ln() {
2745
+ function cn() {
2744
2746
  var i, a;
2745
- return i = l, s.charCodeAt(l) === 42 ? (a = wt, l++) : (a = e, d === 0 && b(xt)), a !== e && (x = i, a = mo()), i = a, i;
2747
+ return i = l, s.charCodeAt(l) === 42 ? (a = _t, l++) : (a = e, d === 0 && b(xt)), a !== e && (x = i, a = yo()), i = a, i;
2746
2748
  }
2747
2749
  function Tt() {
2748
2750
  var i, a, c, u, g;
@@ -2764,35 +2766,35 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2764
2766
  }
2765
2767
  function pr() {
2766
2768
  var i, a;
2767
- return i = l, s.substr(l, 2) === Kr ? (a = Kr, l += 2) : (a = e, d === 0 && b(yo)), a !== e && (x = i, a = $o()), i = a, i === e && (i = l, s.substr(l, 2) === Zr ? (a = Zr, l += 2) : (a = e, d === 0 && b(_o)), a !== e && (x = i, a = wo()), i = a, i === e && (i = l, s.substr(l, 2) === Xr ? (a = Xr, l += 2) : (a = e, d === 0 && b(xo)), a !== e && (x = i, a = Ao()), i = a)), i;
2768
- }
2769
- function cn() {
2770
- var i, a, c;
2771
- return i = l, s.charCodeAt(l) === 92 ? (a = it, l++) : (a = e, d === 0 && b(st)), a !== e ? (c = Ri(), c !== e ? (x = i, a = _t(c), i = a) : (l = i, i = e)) : (l = i, i = e), i;
2769
+ return i = l, s.substr(l, 2) === Vr ? (a = Vr, l += 2) : (a = e, d === 0 && b($o)), a !== e && (x = i, a = wo()), i = a, i === e && (i = l, s.substr(l, 2) === Kr ? (a = Kr, l += 2) : (a = e, d === 0 && b(_o)), a !== e && (x = i, a = xo()), i = a, i === e && (i = l, s.substr(l, 2) === Xr ? (a = Xr, l += 2) : (a = e, d === 0 && b(Ao)), a !== e && (x = i, a = So()), i = a)), i;
2772
2770
  }
2773
2771
  function pn() {
2774
2772
  var i, a, c;
2775
- return i = l, s.charCodeAt(l) === 92 ? (a = it, l++) : (a = e, d === 0 && b(st)), a !== e ? (s.substr(l, 2).toLowerCase() === Hr ? (c = s.substr(l, 2), l += 2) : (c = e, d === 0 && b(Ir)), c === e && (s.substr(l, 3).toLowerCase() === Qr ? (c = s.substr(l, 3), l += 3) : (c = e, d === 0 && b(qr)), c === e && (s.substr(l, 3).toLowerCase() === Wr ? (c = s.substr(l, 3), l += 3) : (c = e, d === 0 && b(Yr)))), c !== e ? (x = i, a = So(c), i = a) : (l = i, i = e)) : (l = i, i = e), i;
2773
+ return i = l, s.charCodeAt(l) === 92 ? (a = it, l++) : (a = e, d === 0 && b(st)), a !== e ? (c = Ri(), c !== e ? (x = i, a = wt(c), i = a) : (l = i, i = e)) : (l = i, i = e), i;
2776
2774
  }
2777
2775
  function un() {
2776
+ var i, a, c;
2777
+ return i = l, s.charCodeAt(l) === 92 ? (a = it, l++) : (a = e, d === 0 && b(st)), a !== e ? (s.substr(l, 2).toLowerCase() === Ir ? (c = s.substr(l, 2), l += 2) : (c = e, d === 0 && b(Hr)), c === e && (s.substr(l, 3).toLowerCase() === Qr ? (c = s.substr(l, 3), l += 3) : (c = e, d === 0 && b(qr)), c === e && (s.substr(l, 3).toLowerCase() === Wr ? (c = s.substr(l, 3), l += 3) : (c = e, d === 0 && b(Yr)))), c !== e ? (x = i, a = Co(c), i = a) : (l = i, i = e)) : (l = i, i = e), i;
2778
+ }
2779
+ function hn() {
2778
2780
  var i;
2779
2781
  return i = Et(), i === e && (i = Ot(), i === e && (i = lr())), i;
2780
2782
  }
2781
2783
  function Ri() {
2782
2784
  var i;
2783
- return Co.test(s.charAt(l)) ? (i = s.charAt(l), l++) : (i = e, d === 0 && b(ko)), i;
2785
+ return ko.test(s.charAt(l)) ? (i = s.charAt(l), l++) : (i = e, d === 0 && b(Eo)), i;
2784
2786
  }
2785
2787
  function Mi() {
2786
2788
  var i, a;
2787
- return i = l, s.substr(l, 2) === Gr ? (a = Gr, l += 2) : (a = e, d === 0 && b(Eo)), a !== e && (x = i, a = Oo()), i = a, i === e && (i = l, s.substr(l, 2) === Jr ? (a = Jr, l += 2) : (a = e, d === 0 && b(Po)), a !== e && (x = i, a = To()), i = a, i === e && (i = l, s.charCodeAt(l) === 60 ? (a = ei, l++) : (a = e, d === 0 && b(ti)), a !== e && (x = i, a = Lo()), i = a, i === e && (i = l, s.charCodeAt(l) === 62 ? (a = ri, l++) : (a = e, d === 0 && b(ii)), a !== e && (x = i, a = Do()), i = a))), i;
2789
+ return i = l, s.substr(l, 2) === Gr ? (a = Gr, l += 2) : (a = e, d === 0 && b(Oo)), a !== e && (x = i, a = Po()), i = a, i === e && (i = l, s.substr(l, 2) === Jr ? (a = Jr, l += 2) : (a = e, d === 0 && b(To)), a !== e && (x = i, a = Lo()), i = a, i === e && (i = l, s.charCodeAt(l) === 60 ? (a = ei, l++) : (a = e, d === 0 && b(ti)), a !== e && (x = i, a = Do()), i = a, i === e && (i = l, s.charCodeAt(l) === 62 ? (a = ri, l++) : (a = e, d === 0 && b(ii)), a !== e && (x = i, a = No()), i = a))), i;
2788
2790
  }
2789
2791
  function $() {
2790
2792
  var i;
2791
- return d++, zo.test(s.charAt(l)) ? (i = s.charAt(l), l++) : (i = e, d === 0 && b(jo)), d--, i === e && d === 0 && b(No), i;
2793
+ return d++, jo.test(s.charAt(l)) ? (i = s.charAt(l), l++) : (i = e, d === 0 && b(Ro)), d--, i === e && d === 0 && b(zo), i;
2792
2794
  }
2793
2795
  function ot() {
2794
2796
  var i, a, c;
2795
- return i = l, x = l, a = Ro(), a ? a = void 0 : a = e, a !== e ? (s.substr(l, 14) === si ? (c = si, l += 14) : (c = e, d === 0 && b(Mo)), c !== e ? (x = i, a = Bo(), i = a) : (l = i, i = e)) : (l = i, i = e), i;
2797
+ return i = l, x = l, a = Mo(), a ? a = void 0 : a = e, a !== e ? (s.substr(l, 14) === si ? (c = si, l += 14) : (c = e, d === 0 && b(Bo)), c !== e ? (x = i, a = Fo(), i = a) : (l = i, i = e)) : (l = i, i = e), i;
2796
2798
  }
2797
2799
  function Bi() {
2798
2800
  var i, a, c, u, g;
@@ -2802,14 +2804,14 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2802
2804
  if (s.substr(l, 2) === oi ? (c = oi, l += 2) : (c = e, d === 0 && b(Uo)), c !== e) {
2803
2805
  for (u = [], g = $(); g !== e; )
2804
2806
  u.push(g), g = $();
2805
- u !== e ? (x = i, a = Fo(), i = a) : (l = i, i = e);
2807
+ u !== e ? (x = i, a = Io(), i = a) : (l = i, i = e);
2806
2808
  } else
2807
2809
  l = i, i = e;
2808
2810
  else
2809
2811
  l = i, i = e;
2810
2812
  return i;
2811
2813
  }
2812
- function Ui() {
2814
+ function Fi() {
2813
2815
  var i, a, c, u, g;
2814
2816
  for (i = l, a = [], c = $(); c !== e; )
2815
2817
  a.push(c), c = $();
@@ -2824,24 +2826,24 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2824
2826
  l = i, i = e;
2825
2827
  return i === e && (i = l, s.charCodeAt(l) === 43 ? (a = li, l++) : (a = e, d === 0 && b(ci)), a !== e && (x = i, a = ai()), i = a), i;
2826
2828
  }
2827
- function Fi() {
2829
+ function Ui() {
2828
2830
  var i, a;
2829
2831
  return i = l, s.charCodeAt(l) === 45 ? (a = pi, l++) : (a = e, d === 0 && b(ui)), a !== e && (x = i, a = hi()), i = a, i === e && (i = l, s.charCodeAt(l) === 33 ? (a = di, l++) : (a = e, d === 0 && b(fi)), a !== e && (x = i, a = hi()), i = a), i;
2830
2832
  }
2831
- function hn() {
2833
+ function dn() {
2832
2834
  var i;
2833
- return i = dn(), i === e && (i = Hi(), i === e && (i = fn())), i;
2835
+ return i = fn(), i === e && (i = Ii(), i === e && (i = gn())), i;
2834
2836
  }
2835
- function dn() {
2836
- var i, a, c, u, g, _;
2837
- if (i = l, a = Ie(), a !== e) {
2837
+ function fn() {
2838
+ var i, a, c, u, g, w;
2839
+ if (i = l, a = He(), a !== e) {
2838
2840
  for (c = [], u = $(); u !== e; )
2839
2841
  c.push(u), u = $();
2840
2842
  if (c !== e)
2841
- if (s.charCodeAt(l) === 58 ? (u = ee, l++) : (u = e, d === 0 && b(I)), u !== e) {
2842
- for (g = [], _ = $(); _ !== e; )
2843
- g.push(_), _ = $();
2844
- g !== e ? (_ = Hi(), _ !== e ? (a = [a, c, u, g, _], i = a) : (l = i, i = e)) : (l = i, i = e);
2843
+ if (s.charCodeAt(l) === 58 ? (u = ee, l++) : (u = e, d === 0 && b(H)), u !== e) {
2844
+ for (g = [], w = $(); w !== e; )
2845
+ g.push(w), w = $();
2846
+ g !== e ? (w = Ii(), w !== e ? (a = [a, c, u, g, w], i = a) : (l = i, i = e)) : (l = i, i = e);
2845
2847
  } else
2846
2848
  l = i, i = e;
2847
2849
  else
@@ -2850,20 +2852,20 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2850
2852
  l = i, i = e;
2851
2853
  return i;
2852
2854
  }
2853
- function Hi() {
2855
+ function Ii() {
2854
2856
  var i;
2855
- return i = gn(), i === e && (i = ur(), i === e && (i = vn(), i === e && (i = bn(), i === e && (i = mn(), i === e && (i = yn()))))), i;
2857
+ return i = vn(), i === e && (i = ur(), i === e && (i = bn(), i === e && (i = mn(), i === e && (i = yn(), i === e && (i = $n()))))), i;
2856
2858
  }
2857
- function fn() {
2858
- var i, a, c, u, g, _;
2859
- if (i = l, s.substr(l, 8) === gi ? (a = gi, l += 8) : (a = e, d === 0 && b(Io)), a !== e) {
2859
+ function gn() {
2860
+ var i, a, c, u, g, w;
2861
+ if (i = l, s.substr(l, 8) === gi ? (a = gi, l += 8) : (a = e, d === 0 && b(Qo)), a !== e) {
2860
2862
  for (c = [], u = $(); u !== e; )
2861
2863
  c.push(u), u = $();
2862
2864
  if (c !== e)
2863
- if (s.charCodeAt(l) === 58 ? (u = ee, l++) : (u = e, d === 0 && b(I)), u !== e) {
2864
- for (g = [], _ = $(); _ !== e; )
2865
- g.push(_), _ = $();
2866
- g !== e ? (_ = Ie(), _ !== e ? (x = i, a = Qo(), i = a) : (l = i, i = e)) : (l = i, i = e);
2865
+ if (s.charCodeAt(l) === 58 ? (u = ee, l++) : (u = e, d === 0 && b(H)), u !== e) {
2866
+ for (g = [], w = $(); w !== e; )
2867
+ g.push(w), w = $();
2868
+ g !== e ? (w = He(), w !== e ? (x = i, a = qo(), i = a) : (l = i, i = e)) : (l = i, i = e);
2867
2869
  } else
2868
2870
  l = i, i = e;
2869
2871
  else
@@ -2872,67 +2874,67 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2872
2874
  l = i, i = e;
2873
2875
  return i;
2874
2876
  }
2875
- function gn() {
2876
- var i, a, c, u, g, _, L;
2877
+ function vn() {
2878
+ var i, a, c, u, g, w, L;
2877
2879
  if (i = l, a = Mi(), a !== e) {
2878
2880
  for (c = [], u = $(); u !== e; )
2879
2881
  c.push(u), u = $();
2880
- c !== e ? (u = Ie(), u !== e ? (x = i, a = vi(), i = a) : (l = i, i = e)) : (l = i, i = e);
2882
+ c !== e ? (u = He(), u !== e ? (x = i, a = vi(), i = a) : (l = i, i = e)) : (l = i, i = e);
2881
2883
  } else
2882
2884
  l = i, i = e;
2883
2885
  if (i === e)
2884
- if (i = l, a = wn(), a !== e) {
2886
+ if (i = l, a = xn(), a !== e) {
2885
2887
  for (c = [], u = $(); u !== e; )
2886
2888
  c.push(u), u = $();
2887
- c !== e ? (u = Ie(), u !== e ? (g = qi(), g !== e ? (_ = Ie(), _ !== e ? (L = xn(), L !== e ? (x = i, a = vi(), i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e);
2889
+ c !== e ? (u = He(), u !== e ? (g = qi(), g !== e ? (w = He(), w !== e ? (L = An(), L !== e ? (x = i, a = vi(), i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e);
2888
2890
  } else
2889
2891
  l = i, i = e;
2890
2892
  return i;
2891
2893
  }
2892
2894
  function ur() {
2893
2895
  var i, a, c, u, g;
2894
- for (i = l, a = [], c = Lt(), c === e && (s.charCodeAt(l) === 42 ? (c = wt, l++) : (c = e, d === 0 && b(xt))); c !== e; )
2895
- a.push(c), c = Lt(), c === e && (s.charCodeAt(l) === 42 ? (c = wt, l++) : (c = e, d === 0 && b(xt)));
2896
+ for (i = l, a = [], c = Lt(), c === e && (s.charCodeAt(l) === 42 ? (c = _t, l++) : (c = e, d === 0 && b(xt))); c !== e; )
2897
+ a.push(c), c = Lt(), c === e && (s.charCodeAt(l) === 42 ? (c = _t, l++) : (c = e, d === 0 && b(xt)));
2896
2898
  if (a !== e)
2897
2899
  if (s.charCodeAt(l) === 63 ? (c = bi, l++) : (c = e, d === 0 && b(mi)), c !== e) {
2898
2900
  for (u = [], g = ur(); g !== e; )
2899
2901
  u.push(g), g = ur();
2900
- u !== e ? (x = i, a = qo(), i = a) : (l = i, i = e);
2902
+ u !== e ? (x = i, a = Wo(), i = a) : (l = i, i = e);
2901
2903
  } else
2902
2904
  l = i, i = e;
2903
2905
  else
2904
2906
  l = i, i = e;
2905
2907
  return i;
2906
2908
  }
2907
- function vn() {
2909
+ function bn() {
2908
2910
  var i, a, c, u;
2909
2911
  if (i = l, s.charCodeAt(l) === 47 ? (a = Jt, l++) : (a = e, d === 0 && b(er)), a !== e) {
2910
2912
  for (c = [], yi.test(s.charAt(l)) ? (u = s.charAt(l), l++) : (u = e, d === 0 && b($i)); u !== e; )
2911
2913
  c.push(u), yi.test(s.charAt(l)) ? (u = s.charAt(l), l++) : (u = e, d === 0 && b($i));
2912
- c !== e ? (s.charCodeAt(l) === 47 ? (u = Jt, l++) : (u = e, d === 0 && b(er)), u !== e ? (x = i, a = Wo(), i = a) : (l = i, i = e)) : (l = i, i = e);
2914
+ c !== e ? (s.charCodeAt(l) === 47 ? (u = Jt, l++) : (u = e, d === 0 && b(er)), u !== e ? (x = i, a = Yo(), i = a) : (l = i, i = e)) : (l = i, i = e);
2913
2915
  } else
2914
2916
  l = i, i = e;
2915
2917
  return i;
2916
2918
  }
2917
- function bn() {
2919
+ function mn() {
2918
2920
  var i, a, c, u, g;
2919
- if (i = l, a = Ii(), a !== e)
2921
+ if (i = l, a = Hi(), a !== e)
2920
2922
  if (s.charCodeAt(l) === 126 ? (c = tr, l++) : (c = e, d === 0 && b(rr)), c !== e) {
2921
- for (u = [], Be.test(s.charAt(l)) ? (g = s.charAt(l), l++) : (g = e, d === 0 && b(Ue)); g !== e; )
2922
- u.push(g), Be.test(s.charAt(l)) ? (g = s.charAt(l), l++) : (g = e, d === 0 && b(Ue));
2923
- u !== e ? (x = i, a = Yo(), i = a) : (l = i, i = e);
2923
+ for (u = [], Be.test(s.charAt(l)) ? (g = s.charAt(l), l++) : (g = e, d === 0 && b(Fe)); g !== e; )
2924
+ u.push(g), Be.test(s.charAt(l)) ? (g = s.charAt(l), l++) : (g = e, d === 0 && b(Fe));
2925
+ u !== e ? (x = i, a = Zo(), i = a) : (l = i, i = e);
2924
2926
  } else
2925
2927
  l = i, i = e;
2926
2928
  else
2927
2929
  l = i, i = e;
2928
2930
  return i;
2929
2931
  }
2930
- function mn() {
2932
+ function yn() {
2931
2933
  var i, a, c, u, g;
2932
2934
  if (i = l, a = Pt(), a !== e)
2933
2935
  if (s.charCodeAt(l) === 126 ? (c = tr, l++) : (c = e, d === 0 && b(rr)), c !== e) {
2934
- for (u = [], Be.test(s.charAt(l)) ? (g = s.charAt(l), l++) : (g = e, d === 0 && b(Ue)); g !== e; )
2935
- u.push(g), Be.test(s.charAt(l)) ? (g = s.charAt(l), l++) : (g = e, d === 0 && b(Ue));
2936
+ for (u = [], Be.test(s.charAt(l)) ? (g = s.charAt(l), l++) : (g = e, d === 0 && b(Fe)); g !== e; )
2937
+ u.push(g), Be.test(s.charAt(l)) ? (g = s.charAt(l), l++) : (g = e, d === 0 && b(Fe));
2936
2938
  u !== e ? (x = i, a = Vo(), i = a) : (l = i, i = e);
2937
2939
  } else
2938
2940
  l = i, i = e;
@@ -2940,12 +2942,12 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2940
2942
  l = i, i = e;
2941
2943
  return i;
2942
2944
  }
2943
- function yn() {
2945
+ function $n() {
2944
2946
  var i, a, c, u, g;
2945
- if (i = l, a = Ie(), a !== e)
2946
- if (s.charCodeAt(l) === 94 ? (c = _i, l++) : (c = e, d === 0 && b(wi)), c !== e) {
2947
- for (u = [], Be.test(s.charAt(l)) ? (g = s.charAt(l), l++) : (g = e, d === 0 && b(Ue)); g !== e; )
2948
- u.push(g), Be.test(s.charAt(l)) ? (g = s.charAt(l), l++) : (g = e, d === 0 && b(Ue));
2947
+ if (i = l, a = He(), a !== e)
2948
+ if (s.charCodeAt(l) === 94 ? (c = wi, l++) : (c = e, d === 0 && b(_i)), c !== e) {
2949
+ for (u = [], Be.test(s.charAt(l)) ? (g = s.charAt(l), l++) : (g = e, d === 0 && b(Fe)); g !== e; )
2950
+ u.push(g), Be.test(s.charAt(l)) ? (g = s.charAt(l), l++) : (g = e, d === 0 && b(Fe));
2949
2951
  u !== e ? (x = i, a = Ko(), i = a) : (l = i, i = e);
2950
2952
  } else
2951
2953
  l = i, i = e;
@@ -2953,11 +2955,11 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2953
2955
  l = i, i = e;
2954
2956
  return i;
2955
2957
  }
2956
- function Ie() {
2958
+ function He() {
2957
2959
  var i;
2958
- return i = Pt(), i === e && (i = Ii()), i;
2960
+ return i = Pt(), i === e && (i = Hi()), i;
2959
2961
  }
2960
- function Ii() {
2962
+ function Hi() {
2961
2963
  var i, a;
2962
2964
  if (i = [], a = Lt(), a !== e)
2963
2965
  for (; a !== e; )
@@ -2968,19 +2970,19 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2968
2970
  }
2969
2971
  function Lt() {
2970
2972
  var i, a, c, u;
2971
- return i = pr(), i === e && (i = _n(), i === e && (i = l, a = l, d++, c = Qi(), d--, c === e ? a = void 0 : (l = a, a = e), a !== e ? (c = l, d++, u = $n(), d--, u === e ? c = void 0 : (l = c, c = e), c !== e ? (s.length > l ? (u = s.charAt(l), l++) : (u = e, d === 0 && b(Vr)), u !== e ? (a = [a, c, u], i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e))), i;
2973
+ return i = pr(), i === e && (i = _n(), i === e && (i = l, a = l, d++, c = Qi(), d--, c === e ? a = void 0 : (l = a, a = e), a !== e ? (c = l, d++, u = wn(), d--, u === e ? c = void 0 : (l = c, c = e), c !== e ? (s.length > l ? (u = s.charAt(l), l++) : (u = e, d === 0 && b(Zr)), u !== e ? (a = [a, c, u], i = a) : (l = i, i = e)) : (l = i, i = e)) : (l = i, i = e))), i;
2972
2974
  }
2973
- function $n() {
2975
+ function wn() {
2974
2976
  var i;
2975
- return i = Et(), i === e && (i = Ot(), i === e && (i = Bi(), i === e && (i = Ui(), i === e && (i = Fi(), i === e && (i = qi()))))), i;
2977
+ return i = Et(), i === e && (i = Ot(), i === e && (i = Bi(), i === e && (i = Fi(), i === e && (i = Ui(), i === e && (i = qi()))))), i;
2976
2978
  }
2977
2979
  function _n() {
2978
2980
  var i, a, c;
2979
- return i = l, s.charCodeAt(l) === 92 ? (a = it, l++) : (a = e, d === 0 && b(st)), a !== e ? (c = Qi(), c !== e ? (x = i, a = Zo(), i = a) : (l = i, i = e)) : (l = i, i = e), i;
2981
+ return i = l, s.charCodeAt(l) === 92 ? (a = it, l++) : (a = e, d === 0 && b(st)), a !== e ? (c = Qi(), c !== e ? (x = i, a = Xo(), i = a) : (l = i, i = e)) : (l = i, i = e), i;
2980
2982
  }
2981
2983
  function Qi() {
2982
2984
  var i;
2983
- return s.charCodeAt(l) === 43 ? (i = li, l++) : (i = e, d === 0 && b(ci)), i === e && (s.charCodeAt(l) === 45 ? (i = pi, l++) : (i = e, d === 0 && b(ui)), i === e && (s.charCodeAt(l) === 61 ? (i = Xo, l++) : (i = e, d === 0 && b(Go)), i === e && (s.charCodeAt(l) === 62 ? (i = ri, l++) : (i = e, d === 0 && b(ii)), i === e && (s.charCodeAt(l) === 60 ? (i = ei, l++) : (i = e, d === 0 && b(ti)), i === e && (s.charCodeAt(l) === 33 ? (i = di, l++) : (i = e, d === 0 && b(fi)), i === e && (s.charCodeAt(l) === 40 ? (i = S, l++) : (i = e, d === 0 && b(k)), i === e && (s.charCodeAt(l) === 41 ? (i = N, l++) : (i = e, d === 0 && b(R)), i === e && (s.charCodeAt(l) === 123 ? (i = Me, l++) : (i = e, d === 0 && b(Kt)), i === e && (s.charCodeAt(l) === 125 ? (i = Zt, l++) : (i = e, d === 0 && b(Xt)), i === e && (s.charCodeAt(l) === 91 ? (i = xi, l++) : (i = e, d === 0 && b(Ai)), i === e && (s.charCodeAt(l) === 93 ? (i = Si, l++) : (i = e, d === 0 && b(Ci)), i === e && (s.charCodeAt(l) === 94 ? (i = _i, l++) : (i = e, d === 0 && b(wi)), i === e && (s.charCodeAt(l) === 34 ? (i = tt, l++) : (i = e, d === 0 && b(rt)), i === e && (s.charCodeAt(l) === 126 ? (i = tr, l++) : (i = e, d === 0 && b(rr)), i === e && (s.charCodeAt(l) === 42 ? (i = wt, l++) : (i = e, d === 0 && b(xt)), i === e && (s.charCodeAt(l) === 63 ? (i = bi, l++) : (i = e, d === 0 && b(mi)), i === e && (s.charCodeAt(l) === 58 ? (i = ee, l++) : (i = e, d === 0 && b(I)), i === e && (s.charCodeAt(l) === 92 ? (i = it, l++) : (i = e, d === 0 && b(st)), i === e && (s.charCodeAt(l) === 47 ? (i = Jt, l++) : (i = e, d === 0 && b(er))))))))))))))))))))), i;
2985
+ return s.charCodeAt(l) === 43 ? (i = li, l++) : (i = e, d === 0 && b(ci)), i === e && (s.charCodeAt(l) === 45 ? (i = pi, l++) : (i = e, d === 0 && b(ui)), i === e && (s.charCodeAt(l) === 61 ? (i = Go, l++) : (i = e, d === 0 && b(Jo)), i === e && (s.charCodeAt(l) === 62 ? (i = ri, l++) : (i = e, d === 0 && b(ii)), i === e && (s.charCodeAt(l) === 60 ? (i = ei, l++) : (i = e, d === 0 && b(ti)), i === e && (s.charCodeAt(l) === 33 ? (i = di, l++) : (i = e, d === 0 && b(fi)), i === e && (s.charCodeAt(l) === 40 ? (i = S, l++) : (i = e, d === 0 && b(k)), i === e && (s.charCodeAt(l) === 41 ? (i = N, l++) : (i = e, d === 0 && b(R)), i === e && (s.charCodeAt(l) === 123 ? (i = Me, l++) : (i = e, d === 0 && b(Vt)), i === e && (s.charCodeAt(l) === 125 ? (i = Kt, l++) : (i = e, d === 0 && b(Xt)), i === e && (s.charCodeAt(l) === 91 ? (i = xi, l++) : (i = e, d === 0 && b(Ai)), i === e && (s.charCodeAt(l) === 93 ? (i = Si, l++) : (i = e, d === 0 && b(Ci)), i === e && (s.charCodeAt(l) === 94 ? (i = wi, l++) : (i = e, d === 0 && b(_i)), i === e && (s.charCodeAt(l) === 34 ? (i = tt, l++) : (i = e, d === 0 && b(rt)), i === e && (s.charCodeAt(l) === 126 ? (i = tr, l++) : (i = e, d === 0 && b(rr)), i === e && (s.charCodeAt(l) === 42 ? (i = _t, l++) : (i = e, d === 0 && b(xt)), i === e && (s.charCodeAt(l) === 63 ? (i = bi, l++) : (i = e, d === 0 && b(mi)), i === e && (s.charCodeAt(l) === 58 ? (i = ee, l++) : (i = e, d === 0 && b(H)), i === e && (s.charCodeAt(l) === 92 ? (i = it, l++) : (i = e, d === 0 && b(st)), i === e && (s.charCodeAt(l) === 47 ? (i = Jt, l++) : (i = e, d === 0 && b(er))))))))))))))))))))), i;
2984
2986
  }
2985
2987
  function qi() {
2986
2988
  var i, a, c, u, g;
@@ -2990,7 +2992,7 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2990
2992
  else
2991
2993
  a = e;
2992
2994
  if (a !== e)
2993
- if (s.substr(l, 2) === ki ? (c = ki, l += 2) : (c = e, d === 0 && b(Jo)), c !== e) {
2995
+ if (s.substr(l, 2) === ki ? (c = ki, l += 2) : (c = e, d === 0 && b(en)), c !== e) {
2994
2996
  if (u = [], g = $(), g !== e)
2995
2997
  for (; g !== e; )
2996
2998
  u.push(g), g = $();
@@ -3003,15 +3005,15 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3003
3005
  l = i, i = e;
3004
3006
  return i;
3005
3007
  }
3006
- function wn() {
3008
+ function xn() {
3007
3009
  var i;
3008
- return s.charCodeAt(l) === 91 ? (i = xi, l++) : (i = e, d === 0 && b(Ai)), i === e && (s.charCodeAt(l) === 123 ? (i = Me, l++) : (i = e, d === 0 && b(Kt))), i;
3010
+ return s.charCodeAt(l) === 91 ? (i = xi, l++) : (i = e, d === 0 && b(Ai)), i === e && (s.charCodeAt(l) === 123 ? (i = Me, l++) : (i = e, d === 0 && b(Vt))), i;
3009
3011
  }
3010
- function xn() {
3012
+ function An() {
3011
3013
  var i;
3012
- return s.charCodeAt(l) === 93 ? (i = Si, l++) : (i = e, d === 0 && b(Ci)), i === e && (s.charCodeAt(l) === 125 ? (i = Zt, l++) : (i = e, d === 0 && b(Xt))), i;
3014
+ return s.charCodeAt(l) === 93 ? (i = Si, l++) : (i = e, d === 0 && b(Ci)), i === e && (s.charCodeAt(l) === 125 ? (i = Kt, l++) : (i = e, d === 0 && b(Xt))), i;
3013
3015
  }
3014
- const { errorOnLuceneSyntax: An, parseCursor: Sn, cursorSymbol: Cn, allowLeadingWildcards: kn = !0, helpers: { nodeTypes: we } } = n, re = we.function.buildNodeWithArgumentNodes, de = we.literal.buildNode, En = we.wildcard.buildNode, On = we.namedArg.buildNode, { wildcardSymbol: Wi } = we.wildcard;
3016
+ const { errorOnLuceneSyntax: Sn, parseCursor: Cn, cursorSymbol: kn, allowLeadingWildcards: En = !0, helpers: { nodeTypes: _e } } = n, re = _e.function.buildNodeWithArgumentNodes, de = _e.literal.buildNode, On = _e.wildcard.buildNode, Pn = _e.namedArg.buildNode, { wildcardSymbol: Wi } = _e.wildcard;
3015
3017
  if (St = h(), St !== e && l === s.length)
3016
3018
  return St;
3017
3019
  throw St !== e && l < s.length && b({ type: "end", description: "end of input" }), Oi(
@@ -3025,64 +3027,64 @@ const Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3025
3027
  SyntaxError: r,
3026
3028
  parse: o
3027
3029
  };
3028
- }(), zr = (t, r = {}, o = Vt) => {
3030
+ }(), zr = (t, r = {}, o = Zt) => {
3029
3031
  if (typeof t > "u")
3030
3032
  throw new Error("expression must be a string, got undefined instead");
3031
3033
  return o(t, { ...r, helpers: { nodeTypes: pe } });
3032
- }, Ke = (t, r = {}) => zr(
3034
+ }, Ve = (t, r = {}) => zr(
3033
3035
  t,
3034
3036
  {
3035
3037
  ...r,
3036
3038
  startRule: "Literal"
3037
3039
  },
3038
- Vt
3039
- ), Ft = (t, r = {}) => {
3040
+ Zt
3041
+ ), Ut = (t, r = {}) => {
3040
3042
  try {
3041
- return zr(t, r, Vt);
3043
+ return zr(t, r, Zt);
3042
3044
  } catch (o) {
3043
3045
  throw o.name === "SyntaxError" ? new Ds(o, t) : o;
3044
3046
  }
3045
- }, Sa = (t) => {
3047
+ }, Ca = (t) => {
3046
3048
  try {
3047
- return zr(t, { errorOnLuceneSyntax: !0 }, Vt), !1;
3049
+ return zr(t, { errorOnLuceneSyntax: !0 }, Zt), !1;
3048
3050
  } catch (r) {
3049
3051
  return r.message.startsWith("Lucene");
3050
3052
  }
3051
3053
  }, M = (t, r, o, s) => (r = void 0, !t || !t.type || !pe[t.type] ? M(pe.function.buildNode("and", []), r) : pe[t.type].toOpenSearchQuery(t, r, o, s)), ue = "@kuery-wildcard@";
3052
- function Ca(t) {
3054
+ function ka(t) {
3053
3055
  return t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
3054
3056
  }
3055
- function ka(t) {
3057
+ function Ea(t) {
3056
3058
  return t.replace(/[+-=&|><!(){}[\]^"~*?:\\/]/g, "\\$&");
3057
3059
  }
3058
- function Ea(t) {
3060
+ function Oa(t) {
3059
3061
  return t.includes(ue) ? {
3060
3062
  type: "wildcard",
3061
3063
  value: t
3062
- } : Ke(t);
3064
+ } : Ve(t);
3063
3065
  }
3064
3066
  function Ns(t, r) {
3065
- const { value: o } = t, s = o.split(ue).map(Ca).join("[\\s\\S]*");
3067
+ const { value: o } = t, s = o.split(ue).map(ka).join("[\\s\\S]*");
3066
3068
  return new RegExp(`^${s}$`).test(r);
3067
3069
  }
3068
- function Oa(t) {
3070
+ function Pa(t) {
3069
3071
  const { value: r } = t;
3070
3072
  return r.split(ue).join("*");
3071
3073
  }
3072
3074
  function xr(t) {
3073
3075
  const { value: r } = t;
3074
- return r.split(ue).map(ka).join("*");
3076
+ return r.split(ue).map(Ea).join("*");
3075
3077
  }
3076
- function Pa(t) {
3078
+ function Ta(t) {
3077
3079
  const { value: r } = t;
3078
3080
  return r.startsWith(ue) && r.replace(ue, "").length > 0;
3079
3081
  }
3080
- const Ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3082
+ const La = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3081
3083
  __proto__: null,
3082
- buildNode: Ea,
3083
- hasLeadingWildcard: Pa,
3084
+ buildNode: Oa,
3085
+ hasLeadingWildcard: Ta,
3084
3086
  test: Ns,
3085
- toOpenSearchQuery: Oa,
3087
+ toOpenSearchQuery: Pa,
3086
3088
  toQueryStringQuery: xr,
3087
3089
  wildcardSymbol: ue
3088
3090
  }, Symbol.toStringTag, { value: "Module" }));
@@ -3119,17 +3121,17 @@ function zs(t, r, o) {
3119
3121
  `));
3120
3122
  return s;
3121
3123
  }
3122
- function La(t, r, o = !1) {
3124
+ function Da(t, r, o = !1) {
3123
3125
  if (t === void 0)
3124
3126
  throw new Error("fieldName is a required argument");
3125
3127
  if (r === void 0)
3126
3128
  throw new Error("value is a required argument");
3127
- const s = typeof t == "string" ? Ke(t) : Ye(t), n = typeof r == "string" ? Ke(r) : Ye(r), e = Ye(o);
3129
+ const s = typeof t == "string" ? Ve(t) : Ye(t), n = typeof r == "string" ? Ve(r) : Ye(r), e = Ye(o);
3128
3130
  return {
3129
3131
  arguments: [s, n, e]
3130
3132
  };
3131
3133
  }
3132
- function Da(t, r, o = {}, s = {}) {
3134
+ function Na(t, r, o = {}, s = {}) {
3133
3135
  const {
3134
3136
  arguments: [n, e, p]
3135
3137
  } = t, h = zs(
@@ -3159,12 +3161,12 @@ function Da(t, r, o = {}, s = {}) {
3159
3161
  return C && S ? { match_all: {} } : {
3160
3162
  bool: {
3161
3163
  should: m.reduce((R, B) => {
3162
- const ee = (I) => {
3164
+ const ee = (H) => {
3163
3165
  var Me;
3164
- return h.type !== "wildcard" || !((Me = B.subType) != null && Me.nested) || s != null && s.nested ? I : {
3166
+ return h.type !== "wildcard" || !((Me = B.subType) != null && Me.nested) || s != null && s.nested ? H : {
3165
3167
  nested: {
3166
3168
  path: B.subType.nested.path,
3167
- query: I,
3169
+ query: H,
3168
3170
  score_mode: "none"
3169
3171
  }
3170
3172
  };
@@ -3191,7 +3193,7 @@ function Da(t, r, o = {}, s = {}) {
3191
3193
  })
3192
3194
  ];
3193
3195
  if (B.type === "date") {
3194
- const I = o.dateFormatTZ ? { time_zone: o.dateFormatTZ } : {};
3196
+ const H = o.dateFormatTZ ? { time_zone: o.dateFormatTZ } : {};
3195
3197
  return [
3196
3198
  ...R,
3197
3199
  ee({
@@ -3199,17 +3201,17 @@ function Da(t, r, o = {}, s = {}) {
3199
3201
  [B.name]: {
3200
3202
  gte: y,
3201
3203
  lte: y,
3202
- ...I
3204
+ ...H
3203
3205
  }
3204
3206
  }
3205
3207
  })
3206
3208
  ];
3207
3209
  } else {
3208
- const I = A === "phrase" ? "match_phrase" : "match";
3210
+ const H = A === "phrase" ? "match_phrase" : "match";
3209
3211
  return [
3210
3212
  ...R,
3211
3213
  ee({
3212
- [I]: {
3214
+ [H]: {
3213
3215
  [B.name]: y
3214
3216
  }
3215
3217
  })
@@ -3220,34 +3222,34 @@ function Da(t, r, o = {}, s = {}) {
3220
3222
  }
3221
3223
  };
3222
3224
  }
3223
- const Na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3225
+ const za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3224
3226
  __proto__: null,
3225
- buildNodeParams: La,
3226
- toOpenSearchQuery: Da
3227
+ buildNodeParams: Da,
3228
+ toOpenSearchQuery: Na
3227
3229
  }, Symbol.toStringTag, { value: "Module" }));
3228
- function za(t) {
3230
+ function ja(t) {
3229
3231
  return {
3230
3232
  arguments: t
3231
3233
  };
3232
3234
  }
3233
- function ja(t, r, o = {}, s = {}) {
3235
+ function Ra(t, r, o = {}, s = {}) {
3234
3236
  return {
3235
3237
  bool: {
3236
3238
  filter: (t.arguments || []).map((e) => M(e, r, o, s))
3237
3239
  }
3238
3240
  };
3239
3241
  }
3240
- const Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3242
+ const Ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3241
3243
  __proto__: null,
3242
- buildNodeParams: za,
3243
- toOpenSearchQuery: ja
3244
+ buildNodeParams: ja,
3245
+ toOpenSearchQuery: Ra
3244
3246
  }, Symbol.toStringTag, { value: "Module" }));
3245
- function Ma(t) {
3247
+ function Ba(t) {
3246
3248
  return {
3247
3249
  arguments: t
3248
3250
  };
3249
3251
  }
3250
- function Ba(t, r, o = {}, s = {}) {
3252
+ function Fa(t, r, o = {}, s = {}) {
3251
3253
  return {
3252
3254
  bool: {
3253
3255
  should: (t.arguments || []).map((e) => M(e, r, o, s)),
@@ -3257,10 +3259,10 @@ function Ba(t, r, o = {}, s = {}) {
3257
3259
  }
3258
3260
  const Ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3259
3261
  __proto__: null,
3260
- buildNodeParams: Ma,
3261
- toOpenSearchQuery: Ba
3262
+ buildNodeParams: Ba,
3263
+ toOpenSearchQuery: Fa
3262
3264
  }, Symbol.toStringTag, { value: "Module" }));
3263
- function Fa(t) {
3265
+ function Ia(t) {
3264
3266
  return {
3265
3267
  arguments: [t]
3266
3268
  };
@@ -3273,19 +3275,19 @@ function Ha(t, r, o = {}, s = {}) {
3273
3275
  }
3274
3276
  };
3275
3277
  }
3276
- const Ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3278
+ const Qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3277
3279
  __proto__: null,
3278
- buildNodeParams: Fa,
3280
+ buildNodeParams: Ia,
3279
3281
  toOpenSearchQuery: Ha
3280
3282
  }, Symbol.toStringTag, { value: "Module" }));
3281
- function Qa(t, ...r) {
3283
+ function qa(t, ...r) {
3282
3284
  let o = {};
3283
3285
  for (let s of r)
3284
3286
  o[s] = t[s];
3285
3287
  return o;
3286
3288
  }
3287
- function qa(t, r) {
3288
- const o = Qa(r, "gt", "lt", "gte", "lte", "format"), s = typeof t == "string" ? Ke(t) : pe.literal.buildNode(t), n = Object.entries(o).map((e) => {
3289
+ function Wa(t, r) {
3290
+ const o = qa(r, "gt", "lt", "gte", "lte", "format"), s = typeof t == "string" ? Ve(t) : pe.literal.buildNode(t), n = Object.entries(o).map((e) => {
3289
3291
  let [p, h] = e;
3290
3292
  return pe.namedArg.buildNode(p, h);
3291
3293
  });
@@ -3293,12 +3295,12 @@ function qa(t, r) {
3293
3295
  arguments: [s, ...n]
3294
3296
  };
3295
3297
  }
3296
- function Wa(t, r, o = {}, s = {}) {
3298
+ function Ya(t, r, o = {}, s = {}) {
3297
3299
  const [n, ...e] = t.arguments, p = zs(
3298
3300
  n,
3299
3301
  r,
3300
3302
  s != null && s.nested ? s.nested.path : void 0
3301
- ), h = r ? jr(p, r) : [], f = Ya(e), y = Object.fromEntries(Object.entries(f).map(([m, C]) => [m, M(C)]));
3303
+ ), h = r ? jr(p, r) : [], f = Za(e), y = Object.fromEntries(Object.entries(f).map(([m, C]) => [m, M(C)]));
3302
3304
  return h && h.length === 0 && h.push({
3303
3305
  name: M(p),
3304
3306
  scripted: !1,
@@ -3339,7 +3341,7 @@ function Wa(t, r, o = {}, s = {}) {
3339
3341
  }
3340
3342
  };
3341
3343
  }
3342
- function Ya(t) {
3344
+ function Za(t) {
3343
3345
  if (t.gt && t.gte || t.lt && t.lte)
3344
3346
  throw new Error("range ends cannot be both inclusive and exclusive");
3345
3347
  const r = ["gte", "lte", "format"];
@@ -3347,15 +3349,15 @@ function Ya(t) {
3347
3349
  }
3348
3350
  const Va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3349
3351
  __proto__: null,
3350
- buildNodeParams: qa,
3351
- toOpenSearchQuery: Wa
3352
+ buildNodeParams: Wa,
3353
+ toOpenSearchQuery: Ya
3352
3354
  }, Symbol.toStringTag, { value: "Module" }));
3353
3355
  function Ka(t) {
3354
3356
  return {
3355
3357
  arguments: [Ye(t)]
3356
3358
  };
3357
3359
  }
3358
- function Za(t, r, o = {}, s = {}) {
3360
+ function Xa(t, r, o = {}, s = {}) {
3359
3361
  const {
3360
3362
  arguments: [n]
3361
3363
  } = t, e = {
@@ -3368,17 +3370,17 @@ function Za(t, r, o = {}, s = {}) {
3368
3370
  exists: { field: p }
3369
3371
  };
3370
3372
  }
3371
- const Xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3373
+ const Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3372
3374
  __proto__: null,
3373
3375
  buildNodeParams: Ka,
3374
- toOpenSearchQuery: Za
3376
+ toOpenSearchQuery: Xa
3375
3377
  }, Symbol.toStringTag, { value: "Module" }));
3376
- function Ga(t, r) {
3378
+ function Ja(t, r) {
3377
3379
  return {
3378
- arguments: [typeof t == "string" ? Ke(t) : Ye(t), r]
3380
+ arguments: [typeof t == "string" ? Ve(t) : Ye(t), r]
3379
3381
  };
3380
3382
  }
3381
- function Ja(t, r, o = {}, s = {}) {
3383
+ function el(t, r, o = {}, s = {}) {
3382
3384
  var f;
3383
3385
  const [n, e] = t.arguments, p = M(n), h = (f = s == null ? void 0 : s.nested) != null && f.path ? `${s.nested.path}.${p}` : p;
3384
3386
  return {
@@ -3392,20 +3394,20 @@ function Ja(t, r, o = {}, s = {}) {
3392
3394
  }
3393
3395
  };
3394
3396
  }
3395
- const el = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3397
+ const tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3396
3398
  __proto__: null,
3397
- buildNodeParams: Ga,
3398
- toOpenSearchQuery: Ja
3399
+ buildNodeParams: Ja,
3400
+ toOpenSearchQuery: el
3399
3401
  }, Symbol.toStringTag, { value: "Module" })), Rr = {
3400
- is: Na,
3401
- and: Ra,
3402
+ is: za,
3403
+ and: Ma,
3402
3404
  or: Ua,
3403
- not: Ia,
3405
+ not: Qa,
3404
3406
  range: Va,
3405
- exists: Xa,
3406
- nested: el
3407
+ exists: Ga,
3408
+ nested: tl
3407
3409
  };
3408
- function tl(t, ...r) {
3410
+ function rl(t, ...r) {
3409
3411
  const o = Rr[t];
3410
3412
  if (o === void 0)
3411
3413
  throw new Error(`Unknown function "${t}"`);
@@ -3417,7 +3419,7 @@ function tl(t, ...r) {
3417
3419
  ...o.buildNodeParams(...r)
3418
3420
  };
3419
3421
  }
3420
- function rl(t, r) {
3422
+ function il(t, r) {
3421
3423
  if (Rr[t] === void 0)
3422
3424
  throw new Error(`Unknown function "${t}"`);
3423
3425
  return {
@@ -3426,16 +3428,16 @@ function rl(t, r) {
3426
3428
  arguments: r
3427
3429
  };
3428
3430
  }
3429
- function il(t, r, o, s) {
3431
+ function sl(t, r, o, s) {
3430
3432
  return Rr[t.function].toOpenSearchQuery(t, r, o, s);
3431
3433
  }
3432
- const sl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3434
+ const ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3433
3435
  __proto__: null,
3434
- buildNode: tl,
3435
- buildNodeWithArgumentNodes: rl,
3436
- toOpenSearchQuery: il
3436
+ buildNode: rl,
3437
+ buildNodeWithArgumentNodes: il,
3438
+ toOpenSearchQuery: sl
3437
3439
  }, Symbol.toStringTag, { value: "Module" }));
3438
- function ol(t, r) {
3440
+ function nl(t, r) {
3439
3441
  const o = r.type === "literal" ? r : pe.literal.buildNode(r);
3440
3442
  return {
3441
3443
  type: "namedArg",
@@ -3443,21 +3445,21 @@ function ol(t, r) {
3443
3445
  value: o
3444
3446
  };
3445
3447
  }
3446
- function nl(t) {
3448
+ function al(t) {
3447
3449
  return M(t.value);
3448
3450
  }
3449
- const al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3451
+ const ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3450
3452
  __proto__: null,
3451
- buildNode: ol,
3452
- toOpenSearchQuery: nl
3453
+ buildNode: nl,
3454
+ toOpenSearchQuery: al
3453
3455
  }, Symbol.toStringTag, { value: "Module" })), pe = {
3454
3456
  // This requires better typing of the different typings and their return types.
3455
3457
  // @ts-ignore
3456
- function: sl,
3457
- literal: Aa,
3458
- namedArg: al,
3459
- wildcard: Ta
3460
- }, ll = ue, cl = (t, r) => "(" + (t.arguments || []).map((s) => Te(s, r)).join(" AND ") + ")", pl = (t, r) => {
3458
+ function: ol,
3459
+ literal: Sa,
3460
+ namedArg: ll,
3461
+ wildcard: La
3462
+ }, cl = ue, pl = (t, r) => "(" + (t.arguments || []).map((s) => Te(s, r)).join(" AND ") + ")", ul = (t, r) => {
3461
3463
  var {
3462
3464
  arguments: [o, s, n]
3463
3465
  } = t;
@@ -3467,42 +3469,42 @@ const al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3467
3469
  n = n.value || typeof p == "string", s.type === "literal" && n && (p = `'${p}'`), s.type === "literal" && !n && (p = `${p}`);
3468
3470
  let h = Te(o);
3469
3471
  return h == null ? r && n ? `(${r.filter((f) => f.type === "string").map((f) => `${f.name} ILIKE '%${s.value}%'`).join(" OR ")})` : r && !n && (s.value === !0 || s.value === !1) ? `(${r.filter((f) => f.type === "boolean").map((f) => `${f.name}=${s.value}`).join(" OR ")})` : "" : h + e + p;
3470
- }, ul = (t, r) => "(" + (t.arguments || []).map((s) => Te(s, r)).join(" OR ") + ")", hl = (t, r) => {
3472
+ }, hl = (t, r) => "(" + (t.arguments || []).map((s) => Te(s, r)).join(" OR ") + ")", dl = (t, r) => {
3471
3473
  const [o] = t.arguments;
3472
3474
  return "NOT (" + Te(o, r) + ")";
3473
- }, dl = {
3475
+ }, fl = {
3474
3476
  gt: ">",
3475
3477
  lt: "<",
3476
3478
  gte: ">=",
3477
3479
  lte: "<="
3478
- }, fl = (t) => {
3480
+ }, gl = (t) => {
3479
3481
  const [r, o] = t.arguments;
3480
3482
  let s = o.value;
3481
- const n = dl[o.name];
3483
+ const n = fl[o.name];
3482
3484
  let e = Te(s);
3483
3485
  return s.type === "literal" && (e = `${e}`), `${r.value} ${n} ${e}`;
3484
- }, gl = (t) => {
3486
+ }, vl = (t) => {
3485
3487
  const [r] = t.arguments;
3486
3488
  return `${r.value} IS NOT NULL`;
3487
- }, vl = (t) => (console.warn("Nested types dont exist in CQL", t), ""), bl = {
3488
- is: pl,
3489
- and: cl,
3490
- or: ul,
3491
- not: hl,
3492
- range: fl,
3493
- exists: gl,
3494
- nested: vl
3495
- }, ml = {
3496
- function: (t, r) => bl[t.function](t, r),
3489
+ }, bl = (t) => (console.warn("Nested types dont exist in CQL", t), ""), ml = {
3490
+ is: ul,
3491
+ and: pl,
3492
+ or: hl,
3493
+ not: dl,
3494
+ range: gl,
3495
+ exists: vl,
3496
+ nested: bl
3497
+ }, yl = {
3498
+ function: (t, r) => ml[t.function](t, r),
3497
3499
  literal: (t) => t.value,
3498
3500
  wildcard: (t) => {
3499
3501
  const { value: r } = t;
3500
- return ` LIKE '${r.split(ll).join("%")}'`;
3502
+ return ` LIKE '${r.split(cl).join("%")}'`;
3501
3503
  }
3502
3504
  }, Te = (t, r) => {
3503
- const o = ml[t.type];
3505
+ const o = yl[t.type];
3504
3506
  return o(t, r);
3505
- }, yl = ue, $l = (t) => ({ $and: (t.arguments || []).map((s) => be(s)) }), _l = (t) => {
3507
+ }, $l = ue, wl = (t) => ({ $and: (t.arguments || []).map((s) => be(s)) }), _l = (t) => {
3506
3508
  const {
3507
3509
  arguments: [r, o]
3508
3510
  } = t;
@@ -3511,57 +3513,57 @@ const al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3511
3513
  return js(t);
3512
3514
  let e = {};
3513
3515
  return e[be(r)] = { $eq: s }, e;
3514
- }, wl = (t) => ({
3516
+ }, xl = (t) => ({
3515
3517
  $or: (t.arguments || []).map((o) => be(o))
3516
- }), xl = (t) => {
3518
+ }), Al = (t) => {
3517
3519
  const [r] = t.arguments;
3518
3520
  let o = {};
3519
3521
  return o = { $ne: be(r) }, o;
3520
- }, Al = {
3522
+ }, Sl = {
3521
3523
  gt: "$gt",
3522
3524
  lt: "$lt",
3523
3525
  gte: "$gte",
3524
3526
  lte: "$lte"
3525
- }, Sl = (t) => {
3527
+ }, Cl = (t) => {
3526
3528
  const [r, o] = t.arguments;
3527
3529
  let s = o.value;
3528
- const n = Al[o.name];
3530
+ const n = Sl[o.name];
3529
3531
  let e = be(s), p = {};
3530
3532
  return p[r.value] = {}, p[r.value][n] = e, p;
3531
3533
  }, js = (t) => {
3532
3534
  const [r] = t.arguments;
3533
3535
  return { [be(r)]: { $ne: null } };
3534
- }, Cl = (t) => (console.warn("TODO Implement nested search", t), ""), kl = {
3536
+ }, kl = (t) => (console.warn("TODO Implement nested search", t), ""), El = {
3535
3537
  is: _l,
3536
- and: $l,
3537
- or: wl,
3538
- not: xl,
3539
- range: Sl,
3538
+ and: wl,
3539
+ or: xl,
3540
+ not: Al,
3541
+ range: Cl,
3540
3542
  exists: js,
3541
- nested: Cl
3542
- }, El = {
3543
- function: (t) => kl[t.function](t),
3543
+ nested: kl
3544
+ }, Ol = {
3545
+ function: (t) => El[t.function](t),
3544
3546
  literal: (t) => t.value,
3545
3547
  wildcard: (t) => {
3546
3548
  const { value: r } = t;
3547
- return `/${r.split(yl).join(".*")}/`;
3549
+ return `/${r.split($l).join(".*")}/`;
3548
3550
  }
3549
3551
  }, be = (t, r) => {
3550
- const o = El[t.type];
3552
+ const o = Ol[t.type];
3551
3553
  return o(t, r);
3552
- }, Ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3554
+ }, Pl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3553
3555
  __proto__: null,
3554
3556
  DQLSyntaxError: Ds,
3555
- doesKueryExpressionHaveLuceneSyntaxError: Sa,
3556
- fromKueryExpression: Ft,
3557
- fromLiteralExpression: Ke,
3557
+ doesKueryExpressionHaveLuceneSyntaxError: Ca,
3558
+ fromKueryExpression: Ut,
3559
+ fromLiteralExpression: Ve,
3558
3560
  nodeTypes: pe,
3559
- parse: Ft,
3561
+ parse: Ut,
3560
3562
  toCql: Te,
3561
3563
  toDSL: M,
3562
3564
  toMongo: be,
3563
3565
  toOpenSearchQuery: M
3564
- }, Symbol.toStringTag, { value: "Module" })), Pl = Y`
3566
+ }, Symbol.toStringTag, { value: "Module" })), Tl = Y`
3565
3567
  :host {
3566
3568
  --dialog-padding: var(--spectric-dialog-padding, 5px);
3567
3569
  --dialog-background:var(--spectric-background,rgb(246, 249, 252));
@@ -3609,10 +3611,10 @@ spectric-button{
3609
3611
  top: 0;
3610
3612
  }
3611
3613
  `;
3612
- var Tl = Object.defineProperty, Ll = Object.getOwnPropertyDescriptor, ye = (t, r, o, s) => {
3613
- for (var n = s > 1 ? void 0 : s ? Ll(r, o) : r, e = t.length - 1, p; e >= 0; e--)
3614
+ var Ll = Object.defineProperty, Dl = Object.getOwnPropertyDescriptor, ye = (t, r, o, s) => {
3615
+ for (var n = s > 1 ? void 0 : s ? Dl(r, o) : r, e = t.length - 1, p; e >= 0; e--)
3614
3616
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
3615
- return s && n && Tl(r, o, n), n;
3617
+ return s && n && Ll(r, o, n), n;
3616
3618
  };
3617
3619
  const Mr = "spectric-dialog";
3618
3620
  let Q = class extends D {
@@ -3651,11 +3653,11 @@ let Q = class extends D {
3651
3653
  });
3652
3654
  }
3653
3655
  render() {
3654
- return w`
3656
+ return _`
3655
3657
  <dialog class=${this.hideBackdrop ? "" : "backdrop"} @close=${this._onClose} @click=${this.clickHandler}>
3656
3658
  <spectric-panel>
3657
3659
  <div class="modal">
3658
- ${this.dismissable ? w`<spectric-button variant="text" size="small" @click=${() => {
3660
+ ${this.dismissable ? _`<spectric-button variant="text" size="small" @click=${() => {
3659
3661
  this.open = !1;
3660
3662
  }}>X</spectric-button>` : null}
3661
3663
  <h3 >
@@ -3672,7 +3674,7 @@ let Q = class extends D {
3672
3674
  `;
3673
3675
  }
3674
3676
  };
3675
- Q.styles = Pl;
3677
+ Q.styles = Tl;
3676
3678
  ye([
3677
3679
  v({ type: Boolean, reflect: !0 })
3678
3680
  ], Q.prototype, "open", 2);
@@ -3697,10 +3699,10 @@ ye([
3697
3699
  Q = ye([
3698
3700
  T(Mr)
3699
3701
  ], Q);
3700
- var Dl = Object.defineProperty, Nl = Object.getOwnPropertyDescriptor, ne = (t, r, o, s) => {
3701
- for (var n = s > 1 ? void 0 : s ? Nl(r, o) : r, e = t.length - 1, p; e >= 0; e--)
3702
+ var Nl = Object.defineProperty, zl = Object.getOwnPropertyDescriptor, ne = (t, r, o, s) => {
3703
+ for (var n = s > 1 ? void 0 : s ? zl(r, o) : r, e = t.length - 1, p; e >= 0; e--)
3702
3704
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
3703
- return s && n && Dl(r, o, n), n;
3705
+ return s && n && Nl(r, o, n), n;
3704
3706
  }, Rs = /* @__PURE__ */ ((t) => (t.MONGO = "toMongo", t.CQL = "toCql", t.DSL = "toDSL", t.AST = "AST", t))(Rs || {});
3705
3707
  const Ms = {
3706
3708
  eq: { value: " : ", label: " equals some value" },
@@ -3708,13 +3710,13 @@ const Ms = {
3708
3710
  lt: { value: " < ", label: " is less than some value" },
3709
3711
  gte: { value: " >= ", label: " is greater than or equal to some value" },
3710
3712
  lte: { value: " <= ", label: " is less than or equal to some value" }
3711
- }, zl = {
3713
+ }, jl = {
3712
3714
  eq: { value: ": ", label: " equals some value" },
3713
3715
  exists: { value: ": *", label: " exists in any form" }
3714
- }, jl = [
3716
+ }, Rl = [
3715
3717
  { value: ": true", label: " value is true" },
3716
3718
  { value: ": false", label: "value is false" }
3717
- ], Rl = Object.fromEntries(Object.entries(Ms).map(([t, r]) => [t, { value: r.value, label: (r.label || "").replace("value", "date-time") }]));
3719
+ ], Ml = Object.fromEntries(Object.entries(Ms).map(([t, r]) => [t, { value: r.value, label: (r.label || "").replace("value", "date-time") }]));
3718
3720
  let q = class extends D {
3719
3721
  constructor() {
3720
3722
  super(), this.placeholder = "", this._value = "", this.value = "", this.outputLanguage = "AST", this.completions = [], this.completionIndex = 0, this.fields = [], this._parseQuery = (t = void 0) => {
@@ -3724,18 +3726,18 @@ let q = class extends D {
3724
3726
  t && t.data == "(" && (this.value = this.value + " )", this._input.setSelectionRange(this.value.length - 2, this.value.length - 2));
3725
3727
  let n = this.value;
3726
3728
  this._input.selectionStart !== null && (n = n.substring(0, this._input.selectionStart) + "@kuery-cursor@" + n.substring(this._input.selectionStart));
3727
- let e = Ft(n, { parseCursor: !0, cursorSymbol: "@kuery-cursor@", allowLeadingWildcards: !1 });
3729
+ let e = Ut(n, { parseCursor: !0, cursorSymbol: "@kuery-cursor@", allowLeadingWildcards: !1 });
3728
3730
  this.autoComplete(e);
3729
3731
  } catch {
3730
3732
  return;
3731
3733
  }
3732
3734
  try {
3733
- r = Ft(this.value, { allowLeadingWildcards: !1 });
3735
+ r = Ut(this.value, { allowLeadingWildcards: !1 });
3734
3736
  } catch {
3735
3737
  return;
3736
3738
  }
3737
3739
  let o;
3738
- this.outputLanguage == "AST" ? o = r : o = Ol[this.outputLanguage](r, this.fields);
3740
+ this.outputLanguage == "AST" ? o = r : o = Pl[this.outputLanguage](r, this.fields);
3739
3741
  let s = new CustomEvent("change", { detail: o });
3740
3742
  this.dispatchEvent(s);
3741
3743
  }, this.getValuesForField = async (t, r) => (console.log("getValuesForField isn't set no values returned", t, r), []), this._selectCompletion = async () => {
@@ -3773,7 +3775,7 @@ let q = class extends D {
3773
3775
  }
3774
3776
  if (n === "operator") {
3775
3777
  let e = this.fields.find((p) => p.name === t.fieldName);
3776
- e && (e.type === "number" ? r.push(...Object.values(Ms).map((p) => ({ type: n, ...p, start: s, end: s }))) : e.type === "string" ? e.format === "date-time" ? r.push(...Object.values(Rl).map((p) => ({
3778
+ e && (e.type === "number" ? r.push(...Object.values(Ms).map((p) => ({ type: n, ...p, start: s, end: s }))) : e.type === "string" ? e.format === "date-time" ? r.push(...Object.values(Ml).map((p) => ({
3777
3779
  type: n,
3778
3780
  ...p,
3779
3781
  start: s,
@@ -3783,9 +3785,9 @@ let q = class extends D {
3783
3785
  h.length === 0 && (h = ["now-1m", "now-1d", "now-1M"]);
3784
3786
  let f, y = ut();
3785
3787
  return await new Promise((A) => {
3786
- let m = Q.display({}, w`
3788
+ let m = Q.display({}, _`
3787
3789
  <div class="query-bar-date-quick-select">
3788
- ${h.map((C) => w`<a href="#" @click=${(S) => {
3790
+ ${h.map((C) => _`<a href="#" @click=${(S) => {
3789
3791
  S.preventDefault(), f = `"${C}"`, A(f), m.open = !1;
3790
3792
  }}>${C}</a>`)}
3791
3793
  </div>
@@ -3800,7 +3802,7 @@ let q = class extends D {
3800
3802
  `);
3801
3803
  }), f;
3802
3804
  }
3803
- }))) : r.push(...Object.values(zl).map((p) => ({ type: n, ...p, start: s, end: s }))) : e.type === "boolean" && r.push(...jl.map((p) => ({ type: n, ...p, start: s, end: s }))));
3805
+ }))) : r.push(...Object.values(jl).map((p) => ({ type: n, ...p, start: s, end: s }))) : e.type === "boolean" && r.push(...Rl.map((p) => ({ type: n, ...p, start: s, end: s }))));
3804
3806
  }
3805
3807
  if (n === "value") {
3806
3808
  let e = this.fields.find((p) => p.name === t.fieldName);
@@ -3822,11 +3824,11 @@ let q = class extends D {
3822
3824
  t.has("outputLanguage") && this._parseQuery();
3823
3825
  }
3824
3826
  render() {
3825
- return w`
3827
+ return _`
3826
3828
  <spectric-input .value=${this.value} .placeholder=${this.placeholder} style=${`anchor-name:--${this.uuid};`} autocomplete="off" @input=${this._parseQuery} @keydown=${this._handleArrows} @change=${(t) => t.stopPropagation()}></spectric-input>
3827
3829
  <div class="autocomplete" popover style=${`position-anchor: --${this.uuid};`}>
3828
3830
  ${this.completions.map(
3829
- (t, r) => w`<div @click=${() => {
3831
+ (t, r) => _`<div @click=${() => {
3830
3832
  this.completionIndex = r, this._selectCompletion();
3831
3833
  }} class=${this.completionIndex == r ? "option active" : "option"}><span class="optiontype ${t.type}">${t.type}</span> <span class="value">${t.value}</span> <span class="label">${t.label}</span></span> </div></div>`
3832
3834
  )}
@@ -3879,7 +3881,7 @@ const ls = Y`
3879
3881
  --spectric-text-primary:var(--text-secondary);
3880
3882
  --spectric-text-secondary:var(--text-primary);
3881
3883
  filter: drop-shadow(0px 1px 3px color-mix(in srgb, var(--text-primary, #3c4c5b), transparent 70%));
3882
- `, Ml = Y`
3884
+ `, Bl = Y`
3883
3885
  :host{
3884
3886
  display:block;
3885
3887
  border:2px solid black;
@@ -3903,12 +3905,12 @@ const ls = Y`
3903
3905
  ${cs};
3904
3906
  }
3905
3907
  `;
3906
- var Bl = Object.defineProperty, Ul = Object.getOwnPropertyDescriptor, Br = (t, r, o, s) => {
3908
+ var Fl = Object.defineProperty, Ul = Object.getOwnPropertyDescriptor, Br = (t, r, o, s) => {
3907
3909
  for (var n = s > 1 ? void 0 : s ? Ul(r, o) : r, e = t.length - 1, p; e >= 0; e--)
3908
3910
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
3909
- return s && n && Bl(r, o, n), n;
3911
+ return s && n && Fl(r, o, n), n;
3910
3912
  };
3911
- let Ze = class extends D {
3913
+ let Ke = class extends D {
3912
3914
  constructor() {
3913
3915
  super(...arguments), this.level = 0;
3914
3916
  }
@@ -3933,25 +3935,25 @@ let Ze = class extends D {
3933
3935
  );
3934
3936
  }
3935
3937
  render() {
3936
- return w` <slot></slot> `;
3938
+ return _` <slot></slot> `;
3937
3939
  }
3938
3940
  };
3939
- Ze.styles = Ml;
3941
+ Ke.styles = Bl;
3940
3942
  Br([
3941
3943
  v({ type: Number, reflect: !0 })
3942
- ], Ze.prototype, "level", 2);
3944
+ ], Ke.prototype, "level", 2);
3943
3945
  Br([
3944
3946
  v({ attribute: !1 })
3945
- ], Ze.prototype, "layers", 2);
3946
- Ze = Br([
3947
+ ], Ke.prototype, "layers", 2);
3948
+ Ke = Br([
3947
3949
  T("spectric-panel")
3948
- ], Ze);
3949
- var Fl = Object.defineProperty, Hl = Object.getOwnPropertyDescriptor, Bs = (t, r, o, s) => {
3950
+ ], Ke);
3951
+ var Il = Object.defineProperty, Hl = Object.getOwnPropertyDescriptor, Bs = (t, r, o, s) => {
3950
3952
  for (var n = s > 1 ? void 0 : s ? Hl(r, o) : r, e = t.length - 1, p; e >= 0; e--)
3951
3953
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
3952
- return s && n && Fl(r, o, n), n;
3954
+ return s && n && Il(r, o, n), n;
3953
3955
  };
3954
- const Il = {
3956
+ const Ql = {
3955
3957
  "--primary": { control: "color" },
3956
3958
  "--secondary": { control: "color" },
3957
3959
  "--tertiary": { control: "color" },
@@ -3962,7 +3964,7 @@ const Il = {
3962
3964
  "--text-secondary": { control: "color" },
3963
3965
  "--text-on-color": { control: "color" },
3964
3966
  "--border-radius": { control: "text" }
3965
- }, Us = {
3967
+ }, Fs = {
3966
3968
  "--secondary": "#77878b",
3967
3969
  "--tertiary": "#c7c7c7",
3968
3970
  "--disabled": "#000000",
@@ -3972,19 +3974,54 @@ const Il = {
3972
3974
  "--background": "#181818",
3973
3975
  "--background-inverse": "#37373d"
3974
3976
  }, ps = {
3975
- ...Us,
3977
+ ...Fs,
3976
3978
  "--primary": "#ffd45a",
3977
3979
  "--text-on-color": "#4f4f4f"
3978
3980
  }, Ar = {
3979
3981
  undefined: {},
3980
3982
  light: {},
3981
- dark: Us,
3983
+ dark: Fs,
3982
3984
  spectric: ps,
3983
3985
  spectricFlat: {
3984
3986
  ...ps,
3985
3987
  "--border-radius": "1px"
3986
3988
  }
3987
- }, Ql = Object.fromEntries(Object.keys(Ar).map((t) => [t, t])), ql = `
3989
+ }, ql = Object.fromEntries(Object.keys(Ar).map((t) => [t, t])), Us = [
3990
+ "--spectric-background",
3991
+ "--spectric-background-hover",
3992
+ "--spectric-background-inverse",
3993
+ "--spectric-background-inverse-hover",
3994
+ "--spectric-border-radius",
3995
+ "--spectric-primary",
3996
+ "--spectric-secondary",
3997
+ "--spectric-tertiary",
3998
+ "--spectric-disabled",
3999
+ "--panel-color",
4000
+ "--panel-color-inverse",
4001
+ "--spectric-border-disabled",
4002
+ "--spectric-input-color",
4003
+ "--spectric-input-bottom",
4004
+ "--spectric-text-on-color",
4005
+ "--spectric-text-on-color-disabled",
4006
+ "--spectric-text-placeholder",
4007
+ "--spectric-text-primary",
4008
+ "--spectric-text-secondary",
4009
+ "--spectric-button-separator",
4010
+ "--spectric-button-primary",
4011
+ "--spectric-button-secondary",
4012
+ "--spectric-button-tertiary",
4013
+ "--spectric-button-danger-primary",
4014
+ "--spectric-button-danger-secondary",
4015
+ "--spectric-button-danger-active",
4016
+ "--spectric-button-primary-active",
4017
+ "--spectric-button-secondary-active",
4018
+ "--spectric-button-tertiary-active",
4019
+ "--spectric-button-danger-hover",
4020
+ "--spectric-button-primary-hover",
4021
+ "--spectric-button-secondary-hover",
4022
+ "--spectric-button-tertiary-hover",
4023
+ "--spectric-text-on-color-disabled"
4024
+ ], Wl = `
3988
4025
  --spectric-background: var(--background,#ffffff);
3989
4026
  --spectric-background-hover:var(--background-hover,rgba(141, 141, 141, 0.12));
3990
4027
  --spectric-background-inverse: var(--background-inverse,#f4f4f4);
@@ -4046,11 +4083,11 @@ let vt = class extends D {
4046
4083
  Ar[t]
4047
4084
  ).map((o) => `${o[0]}:${o[1]};`).join(`
4048
4085
  `);
4049
- return w`
4050
- ${this.theme && this.theme !== "light" ? w`
4086
+ return _`
4087
+ ${this.theme && this.theme !== "light" ? _`
4051
4088
  <style>:host{
4052
4089
  ${r};
4053
- ${ql}
4090
+ ${Wl}
4054
4091
  }
4055
4092
  /* Webkit psudo elements don't pick up variables defined by the host */
4056
4093
  ::-webkit-scrollbar-thumb {
@@ -4133,7 +4170,7 @@ Bs([
4133
4170
  vt = Bs([
4134
4171
  T("spectric-theme")
4135
4172
  ], vt);
4136
- const Wl = Y`
4173
+ const Yl = Y`
4137
4174
  :host {
4138
4175
  display: block;
4139
4176
  height: 100%;
@@ -4197,11 +4234,11 @@ const Wl = Y`
4197
4234
  cursor: ew-resize;
4198
4235
  }
4199
4236
  `;
4200
- var Yl = Object.defineProperty, Vl = Object.getOwnPropertyDescriptor, V = (t, r, o, s) => {
4237
+ var Zl = Object.defineProperty, Vl = Object.getOwnPropertyDescriptor, Z = (t, r, o, s) => {
4201
4238
  for (var n = s > 1 ? void 0 : s ? Vl(r, o) : r, e = t.length - 1, p; e >= 0; e--)
4202
4239
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
4203
- return s && n && Yl(r, o, n), n;
4204
- }, Fs = /* @__PURE__ */ ((t) => (t.horizontal = "horizontal", t.vertical = "vertical", t))(Fs || {});
4240
+ return s && n && Zl(r, o, n), n;
4241
+ }, Is = /* @__PURE__ */ ((t) => (t.horizontal = "horizontal", t.vertical = "vertical", t))(Is || {});
4205
4242
  const Hs = "spectric-splitview";
4206
4243
  let j = class extends Ne {
4207
4244
  constructor() {
@@ -4249,7 +4286,7 @@ let j = class extends Ne {
4249
4286
  t.has("percentage") && (this.percentage = Math.min(Math.max(Number(this.percentage), this.min), this.max));
4250
4287
  }
4251
4288
  render() {
4252
- return w`
4289
+ return _`
4253
4290
  <div class="split-view ${this.orientation} ${this._error ? "error" : ""} ${this.isDragging ? "active" : ""}" style="--split-percentage: ${this.percentage}%;">
4254
4291
  <span class="error-display">${this._error}</span>
4255
4292
  <div class="panel" style="${this.orientation === "horizontal" ? "flex: var(--split-percentage, 50%)" : "max-height: var(--split-percentage, 50%)"}">
@@ -4264,50 +4301,49 @@ let j = class extends Ne {
4264
4301
  `;
4265
4302
  }
4266
4303
  };
4267
- j.styles = Wl;
4268
- V([
4304
+ j.styles = Yl;
4305
+ Z([
4269
4306
  v({ type: String })
4270
4307
  ], j.prototype, "orientation", 2);
4271
- V([
4308
+ Z([
4272
4309
  v({ type: Number, reflect: !0 })
4273
4310
  ], j.prototype, "percentage", 2);
4274
- V([
4311
+ Z([
4275
4312
  v({ type: Boolean })
4276
4313
  ], j.prototype, "invisible", 2);
4277
- V([
4314
+ Z([
4278
4315
  v({ type: Number, reflect: !0 })
4279
4316
  ], j.prototype, "min", 2);
4280
- V([
4317
+ Z([
4281
4318
  v({ type: Number, reflect: !0 })
4282
4319
  ], j.prototype, "max", 2);
4283
- V([
4320
+ Z([
4284
4321
  v({ type: Boolean, reflect: !0 })
4285
4322
  ], j.prototype, "useSavedState", 2);
4286
- V([
4323
+ Z([
4287
4324
  J()
4288
4325
  ], j.prototype, "isDragging", 2);
4289
- V([
4326
+ Z([
4290
4327
  J()
4291
4328
  ], j.prototype, "_error", 2);
4292
- V([
4329
+ Z([
4293
4330
  Wt(".splitter")
4294
4331
  ], j.prototype, "_splitter", 2);
4295
- V([
4332
+ Z([
4296
4333
  De("slot[name='panel1']")
4297
4334
  ], j.prototype, "_panel1", 2);
4298
- V([
4335
+ Z([
4299
4336
  De("slot[name='panel2']")
4300
4337
  ], j.prototype, "_panel2", 2);
4301
- j = V([
4338
+ j = Z([
4302
4339
  T(Hs)
4303
4340
  ], j);
4304
- var Kl = Object.defineProperty, Zl = Object.getOwnPropertyDescriptor, je = (t, r, o, s) => {
4305
- for (var n = s > 1 ? void 0 : s ? Zl(r, o) : r, e = t.length - 1, p; e >= 0; e--)
4341
+ var Kl = Object.defineProperty, Xl = Object.getOwnPropertyDescriptor, je = (t, r, o, s) => {
4342
+ for (var n = s > 1 ? void 0 : s ? Xl(r, o) : r, e = t.length - 1, p; e >= 0; e--)
4306
4343
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
4307
4344
  return s && n && Kl(r, o, n), n;
4308
4345
  };
4309
- const Is = "spectric-pagination";
4310
- console.log("Pagination");
4346
+ const Qs = "spectric-pagination";
4311
4347
  let he = class extends D {
4312
4348
  constructor() {
4313
4349
  super(...arguments), this.page = 1, this.pageSize = 10, this.pageSizeOptions = [10, 20, 50, 100, 1e3], this.size = "xsmall", this._handlePageUp = () => {
@@ -4326,24 +4362,24 @@ let he = class extends D {
4326
4362
  createRenderRoot() {
4327
4363
  return this;
4328
4364
  }
4329
- updated(t) {
4365
+ update(t) {
4330
4366
  t.has("pageSize") && !this.pageSizeOptions.includes(this.pageSize) && (this.pageSizeOptions = [...this.pageSizeOptions, this.pageSize].sort((r, o) => r - o), requestAnimationFrame(() => {
4331
4367
  this.select && this.select.value !== String(this.pageSize) && (this.select.value = String(this.pageSize));
4332
- }));
4368
+ })), super.update(t);
4333
4369
  }
4334
4370
  render() {
4335
4371
  let t = this.page * this.pageSize, r = !0;
4336
4372
  this.totalItems && t < this.totalItems && (r = !1);
4337
4373
  let o = "";
4338
- return this.totalItems && (o = `${this.page} of ${Math.ceil(this.totalItems / this.pageSize)}`), w`
4374
+ return this.totalItems && (o = `${this.page} of ${Math.ceil(this.totalItems / this.pageSize)}`), _`
4339
4375
  <div class="spectric-pagination-container">
4340
4376
  <div>
4341
4377
  <!-- TODO/FIXME Make a select component and use it for cross browser styling-->
4342
4378
  <select @change=${this._handleSizeChange} .value=${String(this.pageSize)}>
4343
- ${this.pageSizeOptions.map((s) => w`<option .value=${String(s)} class=${String(s) === String(this.pageSize) ? "selected" : ""}>${s}</option>`)}
4379
+ ${this.pageSizeOptions.map((s) => _`<option .value=${String(s)} class=${String(s) === String(this.pageSize) ? "selected" : ""}>${s}</option>`)}
4344
4380
  </select>
4345
4381
  </div>
4346
- ${this.totalItems ? w`
4382
+ ${this.totalItems ? _`
4347
4383
  <div class="spectric-pagination-text">${`Items ${(this.page - 1) * this.pageSize}-${Math.min(this.page * this.pageSize, this.totalItems)} of ${this.totalItems}`}</div>
4348
4384
  <div class="spectric-pagination-container">
4349
4385
  <div>
@@ -4378,24 +4414,24 @@ je([
4378
4414
  v({ type: String, reflect: !0 })
4379
4415
  ], he.prototype, "size", 2);
4380
4416
  he = je([
4381
- T(Is)
4417
+ T(Qs)
4382
4418
  ], he);
4383
- const Xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4419
+ const Gl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4384
4420
  __proto__: null,
4385
4421
  BitArray: Ps,
4386
4422
  DisposableElement: Ne,
4387
4423
  getListeners: Vn
4388
4424
  }, Symbol.toStringTag, { value: "Module" }));
4389
- var Gl = Object.defineProperty, Jl = Object.getOwnPropertyDescriptor, Ur = (t, r, o, s) => {
4390
- for (var n = s > 1 ? void 0 : s ? Jl(r, o) : r, e = t.length - 1, p; e >= 0; e--)
4425
+ var Jl = Object.defineProperty, ec = Object.getOwnPropertyDescriptor, Fr = (t, r, o, s) => {
4426
+ for (var n = s > 1 ? void 0 : s ? ec(r, o) : r, e = t.length - 1, p; e >= 0; e--)
4391
4427
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
4392
- return s && n && Gl(r, o, n), n;
4428
+ return s && n && Jl(r, o, n), n;
4393
4429
  };
4394
- const ec = "spectric-table-header";
4395
- let Ht = class extends Ne {
4430
+ const tc = "spectric-table-header";
4431
+ let It = class extends Ne {
4396
4432
  constructor() {
4397
4433
  super(), this.columns = [], this._handleSortChange = (t) => {
4398
- this._resizeStart || (t = JSON.parse(JSON.stringify(t)), t.sortable && (t.sortDirection === U.none || t.sortDirection === void 0 ? t.sortDirection = U.ascending : t.sortDirection === U.ascending ? t.sortDirection = U.descending : t.sortDirection === U.descending && (t.sortDirection = U.none), this.dispatchEvent(
4434
+ this._resizeStart || (t = JSON.parse(JSON.stringify(t)), t.sortable && (t.sortDirection === F.none || t.sortDirection === void 0 ? t.sortDirection = F.ascending : t.sortDirection === F.ascending ? t.sortDirection = F.descending : t.sortDirection === F.descending && (t.sortDirection = F.none), this.dispatchEvent(
4399
4435
  new CustomEvent("sortChange", {
4400
4436
  composed: !0,
4401
4437
  bubbles: !0,
@@ -4405,24 +4441,24 @@ let Ht = class extends Ne {
4405
4441
  }, this._handleResizeStart = (t, r) => {
4406
4442
  this._resizeStart = { event: t, column: r };
4407
4443
  }, this._handleResizeEnd = (t) => {
4408
- var s;
4444
+ var o;
4409
4445
  if (!this._resizeStart)
4410
4446
  return;
4411
- let r = t.pageX - ((s = this._resizeStart) == null ? void 0 : s.event.pageX), o = this._resizeStart.column.width;
4412
- if (console.log(r), this._resizeStart.column.width)
4447
+ let r = t.pageX - ((o = this._resizeStart) == null ? void 0 : o.event.pageX);
4448
+ if (this._resizeStart.column.width)
4413
4449
  this._resizeStart.column.width = this._resizeStart.column.width + r;
4414
4450
  else {
4415
- let n = this._resizeStart.event.target.closest(
4451
+ let s = this._resizeStart.event.target.closest(
4416
4452
  "td"
4417
4453
  );
4418
- this._resizeStart.column.width = n.getBoundingClientRect().width + r;
4454
+ this._resizeStart.column.width = s.getBoundingClientRect().width + r;
4419
4455
  }
4420
- console.log(o, this._resizeStart.column.width), this.dispatchEvent(
4456
+ this.dispatchEvent(
4421
4457
  new CustomEvent("columnResize", { detail: this._resizeStart.column })
4422
4458
  ), requestAnimationFrame(() => {
4423
4459
  if (this._resizeStart = void 0, window.getSelection) {
4424
- let n = window.getSelection();
4425
- n && n.removeAllRanges();
4460
+ let s = window.getSelection();
4461
+ s && s.removeAllRanges();
4426
4462
  }
4427
4463
  });
4428
4464
  }, this.addDisposableListener(
@@ -4435,7 +4471,7 @@ let Ht = class extends Ne {
4435
4471
  return this;
4436
4472
  }
4437
4473
  render() {
4438
- return w`
4474
+ return _`
4439
4475
  <tr>
4440
4476
  ${this.columns.map((t) => this.renderCell(t))}
4441
4477
  </tr>
@@ -4444,14 +4480,14 @@ let Ht = class extends Ne {
4444
4480
  renderCell(t) {
4445
4481
  let r = ["header-contents"];
4446
4482
  t.filterable, t.sortable && r.push("sortable"), this._resizeStart && r.push("resizing");
4447
- let o = t.width ? `min-width:${t.width}px;max-width:${t.width}px;` : "", s = t.sortDirection === U.ascending ? "🠉" : t.sortDirection == U.descending ? "🠋" : "", n = t.sortDirection || U.none, p = t.allowResize || t.allowResize === void 0 ? w`<div
4483
+ let o = t.width ? `min-width:${t.width}px;max-width:${t.width}px;` : "", s = t.sortDirection === F.ascending ? "🠉" : t.sortDirection == F.descending ? "🠋" : "", n = t.sortDirection || F.none, p = t.allowResize || t.allowResize === void 0 ? _`<div
4448
4484
  class="header-resize-handle"
4449
4485
  @mousedown=${(h) => {
4450
4486
  this._handleResizeStart(h, t);
4451
4487
  }}
4452
4488
  @mouseup=${this._handleResizeEnd}
4453
4489
  ></div>` : null;
4454
- return w` <td
4490
+ return _` <td
4455
4491
  @click=${() => this._handleSortChange(t)}
4456
4492
  style="${o}"
4457
4493
  >
@@ -4463,21 +4499,21 @@ let Ht = class extends Ne {
4463
4499
  </td>`;
4464
4500
  }
4465
4501
  };
4466
- Ur([
4502
+ Fr([
4467
4503
  v({ type: Array, attribute: !1 })
4468
- ], Ht.prototype, "columns", 2);
4469
- Ur([
4504
+ ], It.prototype, "columns", 2);
4505
+ Fr([
4470
4506
  J()
4471
- ], Ht.prototype, "_resizeStart", 2);
4472
- Ht = Ur([
4473
- T(ec)
4474
- ], Ht);
4507
+ ], It.prototype, "_resizeStart", 2);
4508
+ It = Fr([
4509
+ T(tc)
4510
+ ], It);
4475
4511
  /**
4476
4512
  * @license
4477
4513
  * Copyright 2017 Google LLC
4478
4514
  * SPDX-License-Identifier: BSD-3-Clause
4479
4515
  */
4480
- const us = (t) => Jn(t) ? t._$litType$.h : t.strings, tc = yt(class extends qt {
4516
+ const us = (t) => ea(t) ? t._$litType$.h : t.strings, rc = yt(class extends qt {
4481
4517
  constructor(t) {
4482
4518
  super(t), this.et = /* @__PURE__ */ new WeakMap();
4483
4519
  }
@@ -4500,7 +4536,7 @@ const us = (t) => Jn(t) ? t._$litType$.h : t.strings, tc = yt(class extends qt {
4500
4536
  const n = this.et.get(s);
4501
4537
  if (n !== void 0) {
4502
4538
  const e = $r(n).pop();
4503
- ra(t), Se(t, void 0, e), yr(t, [e]);
4539
+ ia(t), Se(t, void 0, e), yr(t, [e]);
4504
4540
  }
4505
4541
  }
4506
4542
  this.it = r;
@@ -4508,17 +4544,17 @@ const us = (t) => Jn(t) ? t._$litType$.h : t.strings, tc = yt(class extends qt {
4508
4544
  return this.render(r);
4509
4545
  }
4510
4546
  });
4511
- var rc = Object.defineProperty, ic = Object.getOwnPropertyDescriptor, et = (t, r, o, s) => {
4512
- for (var n = s > 1 ? void 0 : s ? ic(r, o) : r, e = t.length - 1, p; e >= 0; e--)
4547
+ var ic = Object.defineProperty, sc = Object.getOwnPropertyDescriptor, et = (t, r, o, s) => {
4548
+ for (var n = s > 1 ? void 0 : s ? sc(r, o) : r, e = t.length - 1, p; e >= 0; e--)
4513
4549
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
4514
- return s && n && rc(r, o, n), n;
4550
+ return s && n && ic(r, o, n), n;
4515
4551
  };
4516
- const sc = "spectric-table-cell";
4552
+ const oc = "spectric-table-cell";
4517
4553
  let Le = class extends D {
4518
4554
  constructor() {
4519
4555
  super(...arguments), this.overflow = "", this.styleRules = { whiteSpace: "", width: "" }, this._handleFilterOut = () => {
4520
4556
  let t;
4521
- this.column.key && typeof this.row == "object" && (t = Ve(this.row, this.column.key)), this._emitFilter({
4557
+ this.column.key && typeof this.row == "object" && (t = Ze(this.row, this.column.key)), this._emitFilter({
4522
4558
  include: !1,
4523
4559
  row: this.row,
4524
4560
  value: t,
@@ -4526,7 +4562,7 @@ let Le = class extends D {
4526
4562
  });
4527
4563
  }, this._handleFilterFor = () => {
4528
4564
  let t;
4529
- this.column.key && typeof this.row == "object" && (t = Ve(this.row, this.column.key)), this._emitFilter({
4565
+ this.column.key && typeof this.row == "object" && (t = Ze(this.row, this.column.key)), this._emitFilter({
4530
4566
  include: !0,
4531
4567
  row: this.row,
4532
4568
  value: t,
@@ -4557,23 +4593,23 @@ let Le = class extends D {
4557
4593
  }
4558
4594
  getRenderedValue() {
4559
4595
  let t;
4560
- return this.column.render ? t = this.column.render(this.row, this.index, this.table) : this.column.key && typeof this.row == "object" ? t = Ve(this.row, this.column.key) : t = w`error`, t;
4596
+ return this.column.render ? t = this.column.render(this.row, this.index, this.table) : this.column.key && typeof this.row == "object" ? t = Ze(this.row, this.column.key) : t = _`error`, t;
4561
4597
  }
4562
4598
  render() {
4563
4599
  let t = this.getRenderedValue(), r = ["cell-contents"];
4564
4600
  this.column.filterable && r.push("filterable");
4565
- let o = tc(
4566
- this.column.filterable ? w`<div class="table-cell-actions">
4601
+ let o = rc(
4602
+ this.column.filterable ? _`<div class="table-cell-actions">
4567
4603
  <spectric-button @click=${this._handleFilterOut} size="tiny" variant="text" icon tooltip="Filter Out Value">-</spectric-button>
4568
4604
  <spectric-button @click=${this._handleFilterFor} size="tiny" variant="text" icon tooltip="Filter For Value">+</spectric-button></div>` : null
4569
4605
  );
4570
4606
  return this.styleRules = {
4571
4607
  width: this.column.width ? this.column.width + "px" : null,
4572
4608
  whiteSpace: this.column.whiteSpace || null
4573
- }, w`
4609
+ }, _`
4574
4610
  <td style=${Lr(this.styleRules)} @mouseenter=${this._displayTooltip}>
4575
4611
  ${o}
4576
- <div class=${r.join(" ")}>${this.overflow ? w`<spectric-tooltip .text=${this.overflow}></spectric-tooltip>` : null}<span>${t}</span></div>
4612
+ <div class=${r.join(" ")}>${this.overflow ? _`<spectric-tooltip .text=${this.overflow}></spectric-tooltip>` : null}<span>${t}</span></div>
4577
4613
  </td>
4578
4614
  `;
4579
4615
  }
@@ -4594,11 +4630,11 @@ et([
4594
4630
  De("td")
4595
4631
  ], Le.prototype, "td", 2);
4596
4632
  Le = et([
4597
- T(sc)
4633
+ T(oc)
4598
4634
  ], Le);
4599
- const Ve = (t, r) => {
4635
+ const Ze = (t, r) => {
4600
4636
  let o = r.split("."), s = t[o[0]];
4601
- return s == null || o.length > 1 && (s = Ve(s, o.slice(1).join("."))), s;
4637
+ return s == null || o.length > 1 && (s = Ze(s, o.slice(1).join("."))), s;
4602
4638
  };
4603
4639
  /**
4604
4640
  * @license
@@ -4609,7 +4645,7 @@ const hs = (t, r, o) => {
4609
4645
  const s = /* @__PURE__ */ new Map();
4610
4646
  for (let n = r; n <= o; n++) s.set(t[n], n);
4611
4647
  return s;
4612
- }, It = yt(class extends qt {
4648
+ }, Ht = yt(class extends qt {
4613
4649
  constructor(t) {
4614
4650
  if (super(t), t.type !== Tr.CHILD) throw Error("repeat() can only be used in text expressions");
4615
4651
  }
@@ -4655,12 +4691,12 @@ const hs = (t, r, o) => {
4655
4691
  return this.ut = p, yr(t, f), ve;
4656
4692
  }
4657
4693
  });
4658
- var oc = Object.defineProperty, nc = Object.getOwnPropertyDescriptor, Fr = (t, r, o, s) => {
4659
- for (var n = s > 1 ? void 0 : s ? nc(r, o) : r, e = t.length - 1, p; e >= 0; e--)
4694
+ var nc = Object.defineProperty, ac = Object.getOwnPropertyDescriptor, Ur = (t, r, o, s) => {
4695
+ for (var n = s > 1 ? void 0 : s ? ac(r, o) : r, e = t.length - 1, p; e >= 0; e--)
4660
4696
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
4661
- return s && n && oc(r, o, n), n;
4697
+ return s && n && nc(r, o, n), n;
4662
4698
  };
4663
- const ac = "spectric-table-body";
4699
+ const lc = "spectric-table-body";
4664
4700
  let Qt = class extends D {
4665
4701
  constructor() {
4666
4702
  super(...arguments), this.data = [], this.columns = [];
@@ -4672,45 +4708,51 @@ let Qt = class extends D {
4672
4708
  this.data.length > 100 && console.warn("Table is rendering excessive amounts of data to the DOM you should set rowHeight and use a virtualized scroll or use pagination");
4673
4709
  }
4674
4710
  render() {
4675
- return w`
4711
+ return _`
4676
4712
  <body>
4677
- ${It(this.data, (t, r) => w`
4713
+ ${Ht(this.data, (t, r) => _`
4678
4714
  <tr class="${r % 2 === 0 ? "odd" : ""}">
4679
- ${It(this.columns, (o) => w`<spectric-table-cell .column=${o} .index=${r} .row=${t} .columns=${this.columns}></spectric-table-cell>`)}
4715
+ ${Ht(this.columns, (o) => _`<spectric-table-cell .column=${o} .index=${r} .row=${t} .columns=${this.columns}></spectric-table-cell>`)}
4680
4716
  </tr>`)}
4681
4717
 
4682
4718
  </body>
4683
4719
  `;
4684
4720
  }
4685
4721
  };
4686
- Fr([
4722
+ Ur([
4687
4723
  v({ type: Array, attribute: !1 })
4688
4724
  ], Qt.prototype, "data", 2);
4689
- Fr([
4725
+ Ur([
4690
4726
  v({ type: Array, attribute: !1 })
4691
4727
  ], Qt.prototype, "columns", 2);
4692
- Qt = Fr([
4693
- T(ac)
4728
+ Qt = Ur([
4729
+ T(lc)
4694
4730
  ], Qt);
4695
- var lc = Object.defineProperty, cc = Object.getOwnPropertyDescriptor, $t = (t, r, o, s) => {
4696
- for (var n = s > 1 ? void 0 : s ? cc(r, o) : r, e = t.length - 1, p; e >= 0; e--)
4731
+ var cc = Object.defineProperty, pc = Object.getOwnPropertyDescriptor, $t = (t, r, o, s) => {
4732
+ for (var n = s > 1 ? void 0 : s ? pc(r, o) : r, e = t.length - 1, p; e >= 0; e--)
4697
4733
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
4698
- return s && n && lc(r, o, n), n;
4734
+ return s && n && cc(r, o, n), n;
4699
4735
  };
4700
- const pc = "spectric-table-virtual-body";
4736
+ const uc = "spectric-table-virtual-body";
4701
4737
  let Xe = class extends Ne {
4702
4738
  constructor() {
4703
- super(), this.data = [], this.columns = [], this.rowHeight = 30, this.startIndex = 0, this.addDisposableListener(() => this.table.querySelector(".table-wrapper"), "scroll", () => {
4739
+ super(), this.data = [], this.columns = [], this.rowHeight = 30, this.startIndex = 0, this.columnsMeasured = !1, this.addDisposableListener(() => this.table.querySelector(".table-wrapper"), "scroll", () => {
4704
4740
  const t = this.table.querySelector(".table-wrapper").scrollTop;
4705
4741
  requestAnimationFrame(() => {
4706
4742
  this.startIndex = Math.floor(t / this.rowHeight);
4707
4743
  });
4708
4744
  });
4709
4745
  }
4710
- firstUpdated() {
4711
- this.columns.forEach((t) => {
4712
- t.width || console.warn("When using virtual scrolling it is recomended to set the width of the columns to prevent columns widths from jittering during scroll");
4713
- });
4746
+ updated() {
4747
+ if (this.columnsMeasured === !1) {
4748
+ let t = this.querySelector("tr"), r = t == null ? void 0 : t.querySelectorAll("spectric-table-cell td");
4749
+ t && r && r.length && this.columns.forEach((o, s) => {
4750
+ if (!o.width || o.width === 0) {
4751
+ let n = r[s].getBoundingClientRect();
4752
+ n.width > 0 && (this.columnsMeasured = !0, o.width = n.width);
4753
+ }
4754
+ });
4755
+ }
4714
4756
  }
4715
4757
  createRenderRoot() {
4716
4758
  return this;
@@ -4720,21 +4762,21 @@ let Xe = class extends Ne {
4720
4762
  const e = Math.ceil((s.clientHeight - o) / this.rowHeight), p = Math.min(n + e + r, t), h = p - n;
4721
4763
  let f = t * this.rowHeight, y = n * this.rowHeight + (s.scrollTop - n * this.rowHeight);
4722
4764
  p === t && (y = n * this.rowHeight);
4723
- let A = h * this.rowHeight, m = f - y - A, C = this.startIndex != 0 ? w`
4765
+ let A = h * this.rowHeight, m = f - y - A, C = this.startIndex != 0 ? _`
4724
4766
  <tr style="height:${y}px" class="virtual-scroll-spacer">
4725
- <td colspan="${this.columns.length}"></td></tr>` : null, S = w`
4767
+ <td colspan="${this.columns.length}"></td></tr>` : null, S = _`
4726
4768
  <tr style="height:${m}px" class="virtual-scroll-spacer">
4727
4769
  <td colspan="${this.columns.length}"></td></tr>`;
4728
- return w`
4770
+ return _`
4729
4771
  <div style="height:${f}px;position: absolute;overflow-x: hidden;overflow-y: hidden;z-index:-1;width:1px;"></div>
4730
4772
  <tbody>
4731
4773
  ${C}
4732
4774
  </tbody>
4733
4775
  <div style="display:table-row-group;max-height:${A}px; overflow:hidden;">
4734
4776
 
4735
- ${It(this.data.slice(Math.max(n, 0), p), (k, N) => w`
4777
+ ${Ht(this.data.slice(Math.max(n, 0), p), (k, N) => _`
4736
4778
  <tr class="${(N + n) % 2 === 0 ? "odd" : ""}">
4737
- ${It(this.columns, (R) => w`<spectric-table-cell .column=${R} .row=${k} .index=${N + n} .columns=${this.columns}></spectric-table-cell>`)}
4779
+ ${Ht(this.columns, (R) => _`<spectric-table-cell .column=${R} .row=${k} .index=${N + n} .columns=${this.columns}></spectric-table-cell>`)}
4738
4780
  </tr>`)}
4739
4781
  </div>
4740
4782
  <tbody>
@@ -4757,33 +4799,33 @@ $t([
4757
4799
  v({ type: Number, state: !0 })
4758
4800
  ], Xe.prototype, "startIndex", 2);
4759
4801
  Xe = $t([
4760
- T(pc)
4802
+ T(uc)
4761
4803
  ], Xe);
4762
- function uc(t) {
4804
+ function hc(t) {
4763
4805
  let r = !1, o;
4764
4806
  return function(...s) {
4765
4807
  return r || (r = !0, o = t.apply(this, s)), o;
4766
4808
  };
4767
4809
  }
4768
- const hc = (t) => t.map(({ key: r, sortDirection: o, compareFn: s }) => (n, e) => {
4810
+ const dc = (t) => t.map(({ key: r, sortDirection: o, compareFn: s }) => (n, e) => {
4769
4811
  if (!r)
4770
4812
  return;
4771
- let p = Ve(n, r), h = Ve(e, r);
4813
+ let p = Ze(n, r), h = Ze(e, r);
4772
4814
  if (s)
4773
4815
  return s(n, e);
4774
4816
  if (typeof p == "number" || typeof p == "bigint" || typeof p == "boolean") {
4775
4817
  let f = p - h;
4776
- return o === U.descending && (f = f * -1), f;
4818
+ return o === F.descending && (f = f * -1), f;
4777
4819
  } else if (typeof p == "string")
4778
- return p.localeCompare(h) * (o === U.descending ? -1 : 1);
4820
+ return p.localeCompare(h) * (o === F.descending ? -1 : 1);
4779
4821
  });
4780
- var dc = Object.defineProperty, fc = Object.getOwnPropertyDescriptor, ae = (t, r, o, s) => {
4781
- for (var n = s > 1 ? void 0 : s ? fc(r, o) : r, e = t.length - 1, p; e >= 0; e--)
4822
+ var fc = Object.defineProperty, gc = Object.getOwnPropertyDescriptor, ae = (t, r, o, s) => {
4823
+ for (var n = s > 1 ? void 0 : s ? gc(r, o) : r, e = t.length - 1, p; e >= 0; e--)
4782
4824
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
4783
- return s && n && dc(r, o, n), n;
4825
+ return s && n && fc(r, o, n), n;
4784
4826
  };
4785
- const Qs = "spectric-table";
4786
- var qs = /* @__PURE__ */ ((t) => (t.multi = "multi", t.single = "single", t.none = "none", t))(qs || {}), Ws = /* @__PURE__ */ ((t) => (t.multi = "multi", t.single = "single", t))(Ws || {}), U = /* @__PURE__ */ ((t) => (t.ascending = "ascending", t.descending = "descending", t.none = "none", t))(U || {});
4827
+ const qs = "spectric-table";
4828
+ var Ws = /* @__PURE__ */ ((t) => (t.multi = "multi", t.single = "single", t.none = "none", t))(Ws || {}), Ys = /* @__PURE__ */ ((t) => (t.multi = "multi", t.single = "single", t))(Ys || {}), F = /* @__PURE__ */ ((t) => (t.ascending = "ascending", t.descending = "descending", t.none = "none", t))(F || {});
4787
4829
  let W = class extends D {
4788
4830
  constructor() {
4789
4831
  super(...arguments), this.data = [], this.columns = [], this.select = "none", this.sort = "single", this.sortOrder = [], this.rowHeight = 25, this.fontSize = 16, this._handlePaginationChange = (t) => {
@@ -4822,7 +4864,7 @@ let W = class extends D {
4822
4864
  return (r) => {
4823
4865
  let o = (r.sortOrder || []).map((p) => r.columns.find((h) => h.key === p)), s = [...t];
4824
4866
  if (o.length) {
4825
- let p = hc(o);
4867
+ let p = dc(o);
4826
4868
  s.sort((h, f) => {
4827
4869
  for (let y of p) {
4828
4870
  let A = y(h, f);
@@ -4853,9 +4895,9 @@ let W = class extends D {
4853
4895
  render() {
4854
4896
  let t = this.columns.filter((s) => !s.hidden);
4855
4897
  this.select !== "none" && t.unshift({
4856
- title: this.select === "multi" ? w`<spectric-input variant="checkbox" @change=${this._handleSelectAllChange} .helperText=${"Select All"}></spectric-input>` : null,
4898
+ title: this.select === "multi" ? _`<spectric-input variant="checkbox" @change=${this._handleSelectAllChange} .helperText=${"Select All"}></spectric-input>` : null,
4857
4899
  render: (s) => {
4858
- let n = document.createElement("div"), e = this.selected.includes(s), p = w`<spectric-input variant="checkbox" class="table-checkbox-${this.select}" ${We({ checked: e })} @change=${(h) => {
4900
+ let n = document.createElement("div"), e = this.selected.includes(s), p = _`<spectric-input variant="checkbox" class="table-checkbox-${this.select}" .helperText=${""} ${We({ checked: e })} @change=${(h) => {
4859
4901
  h.stopPropagation();
4860
4902
  let f = this.selected.findIndex((y) => y === s);
4861
4903
  if (!(h.target.checked && f !== -1)) {
@@ -4872,14 +4914,14 @@ let W = class extends D {
4872
4914
  });
4873
4915
  const r = 4;
4874
4916
  let o = this.rowHeight - r;
4875
- return o < this.fontSize + r && (o = this.fontSize + r), w`
4917
+ return o < this.fontSize + r && (o = this.fontSize + r), _`
4876
4918
  <div class="table-wrapper" style="--rowHeight:${o}px;--fontSize:${this.fontSize}px;--lineClamp:${Math.floor(o / this.fontSize)}">
4877
4919
  <div role="table">
4878
4920
  <spectric-table-header .columns=${t} @sortChange=${this._handleSortChange} @columnResize=${this._handleColumnResize}></spectric-table-header>
4879
4921
  <spectric-table-virtual-body .columns=${t} .data=${this.data} .table=${this} .rowHeight=${o}></spectric-table-virtual-body>
4880
4922
  </div>
4881
4923
  </div>
4882
- ${this.pagination ? w`<spectric-pagination ${We(this.pagination)} @change=${this._handlePaginationChange}></spectric-pagination>` : null}
4924
+ ${this.pagination ? _`<spectric-pagination ${We(this.pagination)} @change=${this._handlePaginationChange}></spectric-pagination>` : null}
4883
4925
  `;
4884
4926
  }
4885
4927
  };
@@ -4911,14 +4953,14 @@ ae([
4911
4953
  J()
4912
4954
  ], W.prototype, "selected", 2);
4913
4955
  W = ae([
4914
- T(Qs)
4956
+ T(qs)
4915
4957
  ], W);
4916
- var gc = Object.defineProperty, vc = Object.getOwnPropertyDescriptor, $e = (t, r, o, s) => {
4917
- for (var n = s > 1 ? void 0 : s ? vc(r, o) : r, e = t.length - 1, p; e >= 0; e--)
4958
+ var vc = Object.defineProperty, bc = Object.getOwnPropertyDescriptor, $e = (t, r, o, s) => {
4959
+ for (var n = s > 1 ? void 0 : s ? bc(r, o) : r, e = t.length - 1, p; e >= 0; e--)
4918
4960
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
4919
- return s && n && gc(r, o, n), n;
4961
+ return s && n && vc(r, o, n), n;
4920
4962
  };
4921
- const bc = "spectric-popover";
4963
+ const mc = "spectric-popover";
4922
4964
  let X = class extends Ne {
4923
4965
  constructor() {
4924
4966
  super(), this.delay = 100, this.animationDuration = 0, this.text = "", this.position = "right", this.maxWidth = 300, this.portalTarget = document.body, this.open = !1, this._getMousePosition = (t) => {
@@ -4933,13 +4975,10 @@ let X = class extends Ne {
4933
4975
  }, this.positionTooltip = () => {
4934
4976
  if (!this.target)
4935
4977
  return;
4936
- let t = getComputedStyle(this), r = {
4937
- "--spectric-primary": t.getPropertyValue("--spectric-primary"),
4938
- "--spectric-background-inverse": t.getPropertyValue("--spectric-background-inverse"),
4939
- "--spectric-background-hover": t.getPropertyValue("--spectric-background-hover"),
4940
- "--spectric-text-on-color": t.getPropertyValue("--spectric-text-on-color"),
4941
- "--spectric-border-radius": t.getPropertyValue("--spectric-border-radius")
4942
- };
4978
+ let t = getComputedStyle(this), r = {};
4979
+ Us.forEach((e) => {
4980
+ r[e] = t.getPropertyValue(e);
4981
+ });
4943
4982
  const o = this.target.getBoundingClientRect(), s = this.portalElement.getBoundingClientRect();
4944
4983
  this.target !== document.body && this.maxWidth && this.maxWidth > 0 && (s.width = Math.min(s.width, this.maxWidth));
4945
4984
  let n;
@@ -4962,7 +5001,7 @@ let X = class extends Ne {
4962
5001
  return this.triggerTarget || this.parentElement;
4963
5002
  }
4964
5003
  connectedCallback() {
4965
- super.connectedCallback(), this.portalElement = document.createElement("div"), this.portalElement.className = "spectric-tooltip-portal", console.log("connected");
5004
+ super.connectedCallback(), this.portalElement = document.createElement("div"), this.portalElement.className = "spectric-tooltip-portal";
4966
5005
  }
4967
5006
  disconnectedCallback() {
4968
5007
  super.disconnectedCallback(), this.portalElement.remove(), this.portalElement = void 0;
@@ -4980,14 +5019,14 @@ let X = class extends Ne {
4980
5019
  this.timer && clearTimeout(this.timer), await new Promise((r) => {
4981
5020
  this.timer = window.setTimeout(r, this.delay);
4982
5021
  }), this.portalElement.className = `spectric-popover-portal ${this.position}`;
4983
- const t = w`<div class="tooltip-container">
5022
+ const t = _`<div class="tooltip-container">
4984
5023
  <span class="tooltip-caret"></span>
4985
5024
  <div class="tooltip-content">${this.text}</div>
4986
5025
  </div>`;
4987
5026
  mt(t, this.portalElement), !(!this.target || !this.target.checkVisibility()) && (this.portalTarget.appendChild(this.portalElement), this.open = !0, requestAnimationFrame(this.positionTooltip));
4988
5027
  }
4989
5028
  render() {
4990
- return w`<!-- ToolTip -->`;
5029
+ return _`<!-- ToolTip -->`;
4991
5030
  }
4992
5031
  };
4993
5032
  X.styles = Y`:host{max-height: 0px;
@@ -5016,18 +5055,18 @@ $e([
5016
5055
  v({ attribute: !1 })
5017
5056
  ], X.prototype, "triggerTarget", 2);
5018
5057
  X = $e([
5019
- T(bc)
5058
+ T(mc)
5020
5059
  ], X);
5021
- var mc = Object.defineProperty, yc = Object.getOwnPropertyDescriptor, _e = (t, r, o, s) => {
5022
- for (var n = s > 1 ? void 0 : s ? yc(r, o) : r, e = t.length - 1, p; e >= 0; e--)
5060
+ var yc = Object.defineProperty, $c = Object.getOwnPropertyDescriptor, we = (t, r, o, s) => {
5061
+ for (var n = s > 1 ? void 0 : s ? $c(r, o) : r, e = t.length - 1, p; e >= 0; e--)
5023
5062
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
5024
- return s && n && mc(r, o, n), n;
5063
+ return s && n && yc(r, o, n), n;
5025
5064
  };
5026
- const Ys = "spectric-tooltip";
5065
+ const Zs = "spectric-tooltip";
5027
5066
  var Vs = /* @__PURE__ */ ((t) => (t.top = "top", t.bottom = "bottom", t.left = "left", t.right = "right", t.mouse = "mouse", t))(Vs || {});
5028
5067
  let G = class extends X {
5029
5068
  constructor() {
5030
- super(), this.delay = 100, this.animationDuration = 0, this.text = "", this.position = "right", this.maxWidth = 300, this.portalTarget = document.body, this.open = !1, this.addDisposableListener(() => this.target, "mouseover", this.showToolTip), this.addDisposableListener(() => this.target, "mouseleave", this.hidePopover);
5069
+ super(), this.delay = 100, this.animationDuration = 0, this.text = "", this.position = "right", this.maxWidth = 300, this.portalTarget = document.body, this.open = !1, this.showToolTip = this.showToolTip.bind(this), this.addDisposableListener(() => this.target, "mouseover", this.showToolTip), this.addDisposableListener(() => this.target, "mouseleave", this.hidePopover);
5031
5070
  }
5032
5071
  /**
5033
5072
  * Public method to trigger showing the tooltip programatically
@@ -5036,43 +5075,43 @@ let G = class extends X {
5036
5075
  await super.showPopover(), this.portalElement.classList.add("spectric-tooltip-portal");
5037
5076
  }
5038
5077
  render() {
5039
- return w`<!-- ToolTip -->`;
5078
+ return _`<!-- ToolTip -->`;
5040
5079
  }
5041
5080
  };
5042
5081
  G.styles = Y`:host{max-height: 0px;
5043
5082
  max-width: 0px;
5044
5083
  display: none;
5045
5084
  pointer-events:none;}`;
5046
- _e([
5085
+ we([
5047
5086
  v({ type: Number, reflect: !0 })
5048
5087
  ], G.prototype, "delay", 2);
5049
- _e([
5088
+ we([
5050
5089
  v({ type: Number, reflect: !0 })
5051
5090
  ], G.prototype, "animationDuration", 2);
5052
- _e([
5091
+ we([
5053
5092
  v({ type: String, reflect: !1 })
5054
5093
  ], G.prototype, "text", 2);
5055
- _e([
5094
+ we([
5056
5095
  v({ type: String, reflect: !0 })
5057
5096
  ], G.prototype, "position", 2);
5058
- _e([
5097
+ we([
5059
5098
  v({ type: Number, reflect: !0 })
5060
5099
  ], G.prototype, "maxWidth", 2);
5061
- _e([
5100
+ we([
5062
5101
  v({ attribute: !1 })
5063
5102
  ], G.prototype, "portalTarget", 2);
5064
- _e([
5103
+ we([
5065
5104
  v({ attribute: !1 })
5066
5105
  ], G.prototype, "triggerTarget", 2);
5067
- G = _e([
5068
- T(Ys)
5106
+ G = we([
5107
+ T(Zs)
5069
5108
  ], G);
5070
- var $c = Object.defineProperty, _c = Object.getOwnPropertyDescriptor, Re = (t, r, o, s) => {
5109
+ var wc = Object.defineProperty, _c = Object.getOwnPropertyDescriptor, Re = (t, r, o, s) => {
5071
5110
  for (var n = s > 1 ? void 0 : s ? _c(r, o) : r, e = t.length - 1, p; e >= 0; e--)
5072
5111
  (p = t[e]) && (n = (s ? p(r, o, n) : p(n)) || n);
5073
- return s && n && $c(r, o, n), n;
5112
+ return s && n && wc(r, o, n), n;
5074
5113
  };
5075
- let me = class extends D {
5114
+ let xc, me = class extends D {
5076
5115
  constructor() {
5077
5116
  super(...arguments), this.value = "#FF0000FF", this.showAlpha = !0, this.hue = 0, this.alpha = 1, this.saturation = 1, this.lightness = 1, this.canvas = ut(), this.sldown = !1, this._handleSaturationLightnessClick = (t) => {
5078
5117
  if (!this.canvas.value)
@@ -5082,10 +5121,10 @@ let me = class extends D {
5082
5121
  }, this._handleHueChange = (t) => {
5083
5122
  this.hue = parseInt(String(t.target.value)) / 100 * 360, t.target.style.setProperty("accent-color", `hsl(${this.hue}deg 100% 50%)`), this.renderHueSaturationGrid(), this.updateValue();
5084
5123
  }, this._handleAlphaChange = (t) => {
5085
- this.alpha = parseInt(String(t.target.value)) / 100, console.log(this.alpha, t), this.updateValue();
5124
+ this.alpha = parseInt(String(t.target.value)) / 100, this.updateValue();
5086
5125
  }, this._handleApply = () => {
5087
5126
  var t;
5088
- console.log(this.hue, this.saturation, this.lightness, this.alpha), this.updateValue(), console.log(this.value), (t = this.querySelector("spectric-popover")) == null || t.hidePopover();
5127
+ this.updateValue(), (t = this.querySelector("spectric-popover")) == null || t.hidePopover();
5089
5128
  }, this._cancel = () => {
5090
5129
  var t;
5091
5130
  this.original && (this.value = this.original), (t = this.querySelector("spectric-popover")) == null || t.hidePopover();
@@ -5101,28 +5140,28 @@ let me = class extends D {
5101
5140
  }
5102
5141
  update(t) {
5103
5142
  if (t.has("value")) {
5104
- let { h: r, s: o, l: s, a: n } = Ac(this.value);
5143
+ let { h: r, s: o, l: s, a: n } = kc(this.value);
5105
5144
  this.hue = r, this.saturation = o, this.lightness = s, this.alpha = n, this.renderHueSaturationGrid();
5106
5145
  }
5107
5146
  super.update(t);
5108
5147
  }
5109
5148
  renderHueSaturationGrid() {
5110
- if (console.log("canvas render"), !this.canvas.value)
5149
+ if (!this.canvas.value)
5111
5150
  return;
5112
5151
  let r = this.canvas.value.getContext("2d");
5113
5152
  if (!r)
5114
5153
  return;
5115
5154
  let o = this.canvas.value.width / 100, s = this.canvas.value.height / 100, n = 0, e = 0;
5116
- for (let p of wc(this.hue))
5155
+ for (let p of Sc(this.hue))
5117
5156
  r.fillStyle = p, r.fillRect(n, e, o, s), n += o, n = n % (o * 101), n || (e += s);
5118
5157
  }
5119
5158
  updateValue() {
5120
- this.value = xc(this.hue, this.saturation * 100, this.lightness * 100) + Math.round(this.alpha * 255).toString(16).padStart(2, "0");
5159
+ this.value = Cc(this.hue, this.saturation * 100, this.lightness * 100) + Math.round(this.alpha * 255).toString(16).padStart(2, "0");
5121
5160
  }
5122
5161
  getPopover() {
5123
- return w`
5162
+ return _`
5124
5163
  <spectric-input label="Hue" class="hue-gradient" variant="range" .value=${this.hue || 0} style="accent-color:hsl(${this.hue}deg 100% 50%)" @change=${this._handleHueChange}></spectric-input>
5125
- <canvas ${ht(this.canvas)} width=200 height=100 class="saturation-lightness-grid" @click=${this._handleSaturationLightnessClick}
5164
+ <canvas ${ht(this.canvas)} width=200 height=100 class="color-picker-saturation-lightness-grid" @click=${this._handleSaturationLightnessClick}
5126
5165
  @mousedown=${() => {
5127
5166
  this.sldown = !0;
5128
5167
  }}
@@ -5133,14 +5172,16 @@ let me = class extends D {
5133
5172
  ></canvas>
5134
5173
  <spectric-input class="alpha-gradient" ?hidden=${!this.showAlpha} label="Opacity" variant="range" .value=${(this.alpha || 1) * 100} @change=${this._handleAlphaChange}></spectric-input>
5135
5174
  <div class="color-picker-footer">
5175
+ <spectric-button ?hidden=${xc === void 0} icon class="color-picker-eyedropper" @click=${async () => {
5176
+ }}>${Ac}</spectric-button>
5136
5177
  <spectric-button @click=${this._handleApply}>Apply</spectric-button>
5137
5178
  <spectric-button variant="secondary" @click=${this._cancel}>Cancel</spectric-button>
5138
5179
  </div>
5139
5180
  `;
5140
5181
  }
5141
5182
  render() {
5142
- return w`
5143
- <spectric-button variant="text" @click=${this._openPopover}>
5183
+ return _`
5184
+ <spectric-button variant="text" @click=${this._openPopover} icon>
5144
5185
  <spectric-popover .text=${this.getPopover()} icon variant="text"></spectric-popover>
5145
5186
  <div style="width:15px;height:15px;background-color:${this.value}"></div>
5146
5187
  </spectric-button>
@@ -5168,12 +5209,13 @@ Re([
5168
5209
  me = Re([
5169
5210
  T("spectric-colorpicker")
5170
5211
  ], me);
5171
- function* wc(t) {
5212
+ const Ac = _`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" height="15" width="15" fill="currentColor"><path d="M222,67.34a33.81,33.81,0,0,0-10.64-24.25C198.12,30.56,176.68,31,163.54,44.18L142.82,65l-.63-.63a22,22,0,0,0-31.11,0l-9,9a14,14,0,0,0,0,19.81l3.47,3.47L53.14,149.1a37.79,37.79,0,0,0-9.84,36.73l-8.31,19a11.68,11.68,0,0,0,2.46,13A13.91,13.91,0,0,0,47.32,222,14.15,14.15,0,0,0,53,220.82L71,212.92a37.92,37.92,0,0,0,35.84-10.07l52.44-52.46,3.47,3.48a14,14,0,0,0,19.8,0l9-9a22,22,0,0,0,0-31.12l-.66-.66L212,91.85A33.76,33.76,0,0,0,222,67.34Zm-123.61,127a26,26,0,0,1-26,6.47,6,6,0,0,0-4.16.24l-20,8.75a2,2,0,0,1-2.09-.31l9.12-20.9a5.94,5.94,0,0,0,.19-4.31,25.88,25.88,0,0,1,6.26-26.72l52.44-52.45,36.76,36.78Zm105.16-111L178.17,108.9a6,6,0,0,0,0,8.47l4.88,4.89a10,10,0,0,1,0,14.15l-9,9a2,2,0,0,1-2.82,0l-60.69-60.7a2,2,0,0,1,0-2.83l9-9a10,10,0,0,1,14.14,0l4.89,4.89a6,6,0,0,0,4.24,1.75h0a6,6,0,0,0,4.25-1.77L172,52.66c8.58-8.58,22.52-9,31.08-.85a22,22,0,0,1,.44,31.57Z"/></svg>`;
5213
+ function* Sc(t) {
5172
5214
  for (let r = 100; r >= 0; r--)
5173
5215
  for (let o = 0; o <= 100; o++)
5174
5216
  yield `hsl(${t}, ${o}%, ${r}%)`;
5175
5217
  }
5176
- function xc(t, r, o) {
5218
+ function Cc(t, r, o) {
5177
5219
  o /= 100;
5178
5220
  const s = r * Math.min(o, 1 - o) / 100, n = (e) => {
5179
5221
  const p = (e + t / 30) % 12, h = o - s * Math.max(Math.min(p - 3, 9 - p, 1), -1);
@@ -5181,7 +5223,7 @@ function xc(t, r, o) {
5181
5223
  };
5182
5224
  return `#${n(0)}${n(8)}${n(4)}`;
5183
5225
  }
5184
- function Ac(t) {
5226
+ function kc(t) {
5185
5227
  let r = 0, o = 0, s = 0, n = 255;
5186
5228
  t.length === 4 || t.length === 5 ? (r = parseInt(t[1] + t[1], 16), o = parseInt(t[2] + t[2], 16), s = parseInt(t[3] + t[3], 16), t.length === 5 && (n = parseInt(t[4] + t[4], 16))) : (t.length === 7 || t.length === 9) && (r = parseInt(t.substring(1, 3), 16), o = parseInt(t.substring(3, 5), 16), s = parseInt(t.substring(5, 7), 16), t.length === 9 && (n = parseInt(t.substring(7, 9), 16))), r /= 255, o /= 255, s /= 255, n /= 255;
5187
5229
  const e = Math.max(r, o, s), p = Math.min(r, o, s);
@@ -5205,14 +5247,14 @@ function Ac(t) {
5205
5247
  }
5206
5248
  return h = Math.round(h * 360), { h, s: f, l: y, a: n };
5207
5249
  }
5208
- const Sc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5250
+ const Ec = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5209
5251
  __proto__: null,
5210
5252
  get BitDisplayCanvas() {
5211
5253
  return ie;
5212
5254
  },
5213
5255
  ButtonSizes: Cs,
5214
5256
  ButtonVariants: ks,
5215
- CSSPropsControls: Il,
5257
+ CSSPropsControls: Ql,
5216
5258
  get DialogElement() {
5217
5259
  return Q;
5218
5260
  },
@@ -5222,22 +5264,23 @@ const Sc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5222
5264
  return Oe;
5223
5265
  },
5224
5266
  InputVariants: Ls,
5225
- Orientations: Fs,
5267
+ Orientations: Is,
5226
5268
  get PaginationElement() {
5227
5269
  return he;
5228
5270
  },
5229
- PaginationElementTag: Is,
5271
+ PaginationElementTag: Qs,
5272
+ SPECTRIC_CSS_VARIABLES: Us,
5230
5273
  get SpectricButton() {
5231
- return F;
5274
+ return U;
5232
5275
  },
5233
5276
  get SpectricInput() {
5234
5277
  return O;
5235
5278
  },
5236
5279
  get SpectricPage() {
5237
- return H;
5280
+ return I;
5238
5281
  },
5239
5282
  get SpectricPanel() {
5240
- return Ze;
5283
+ return Ke;
5241
5284
  },
5242
5285
  get SpectricQuery() {
5243
5286
  return q;
@@ -5252,64 +5295,65 @@ const Sc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5252
5295
  return j;
5253
5296
  },
5254
5297
  SupportedLanguages: Rs,
5255
- TableElementTag: Qs,
5256
- TableSelectOptions: qs,
5257
- TableSortDirection: U,
5258
- TableSortOption: Ws,
5259
- ThemeSelections: Ql,
5298
+ TableElementTag: qs,
5299
+ TableSelectOptions: Ws,
5300
+ TableSortDirection: F,
5301
+ TableSortOption: Ys,
5302
+ ThemeSelections: ql,
5260
5303
  get TooltipElement() {
5261
5304
  return G;
5262
5305
  },
5263
- TooltipElementTag: Ys,
5306
+ TooltipElementTag: Zs,
5264
5307
  TooltipPostions: Vs,
5265
5308
  nodeTypes: pe
5266
- }, Symbol.toStringTag, { value: "Module" })), Cc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5309
+ }, Symbol.toStringTag, { value: "Module" })), Oc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5267
5310
  __proto__: null,
5268
5311
  SpreadPropsDirective: Ts,
5269
- debounce: aa,
5312
+ debounce: la,
5270
5313
  debounceAnimation: Dr,
5271
- once: uc,
5314
+ once: hc,
5272
5315
  spreadProps: We
5273
- }, Symbol.toStringTag, { value: "Module" })), Nc = { ...Xl, ...Sc, ...Cc };
5316
+ }, Symbol.toStringTag, { value: "Module" })), Rc = { ...Gl, ...Ec, ...Oc };
5274
5317
  export {
5275
5318
  Ps as BitArray,
5276
5319
  ie as BitDisplayCanvas,
5277
5320
  Cs as ButtonSizes,
5278
5321
  ks as ButtonVariants,
5279
- Il as CSSPropsControls,
5322
+ Ql as CSSPropsControls,
5280
5323
  Q as DialogElement,
5281
5324
  Mr as DialogElementTag,
5282
5325
  Ne as DisposableElement,
5283
5326
  Hs as ElementTag,
5284
5327
  Oe as Header,
5285
5328
  Ls as InputVariants,
5286
- Fs as Orientations,
5329
+ Is as Orientations,
5287
5330
  he as PaginationElement,
5288
- Is as PaginationElementTag,
5289
- F as SpectricButton,
5331
+ Qs as PaginationElementTag,
5332
+ Us as SPECTRIC_CSS_VARIABLES,
5333
+ U as SpectricButton,
5290
5334
  O as SpectricInput,
5291
- H as SpectricPage,
5292
- Ze as SpectricPanel,
5335
+ I as SpectricPage,
5336
+ Ke as SpectricPanel,
5293
5337
  q as SpectricQuery,
5294
5338
  W as SpectricTableElement,
5295
5339
  vt as SpectricThemeProvider,
5296
5340
  j as SplitView,
5297
5341
  Ts as SpreadPropsDirective,
5298
5342
  Rs as SupportedLanguages,
5299
- Qs as TableElementTag,
5300
- qs as TableSelectOptions,
5301
- U as TableSortDirection,
5302
- Ws as TableSortOption,
5303
- Ql as ThemeSelections,
5343
+ qs as TableElementTag,
5344
+ Ws as TableSelectOptions,
5345
+ F as TableSortDirection,
5346
+ Ys as TableSortOption,
5347
+ ql as ThemeSelections,
5304
5348
  G as TooltipElement,
5305
- Ys as TooltipElementTag,
5349
+ Zs as TooltipElementTag,
5306
5350
  Vs as TooltipPostions,
5307
- aa as debounce,
5351
+ la as debounce,
5308
5352
  Dr as debounceAnimation,
5309
- Nc as default,
5353
+ Rc as default,
5310
5354
  Vn as getListeners,
5311
5355
  pe as nodeTypes,
5312
- uc as once,
5356
+ hc as once,
5313
5357
  We as spreadProps
5314
5358
  };
5315
5359
  //# sourceMappingURL=index.es.js.map