@spectric/ui 0.0.14 → 0.0.16

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
@@ -45,7 +45,7 @@ const hn = (r) => new ns(typeof r == "string" ? r : r + "", void 0, wr), Z = (r,
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: fn, defineProperty: gn, getOwnPropertyDescriptor: bn, getOwnPropertyNames: vn, getOwnPropertySymbols: mn, getPrototypeOf: yn } = Object, pe = globalThis, Ii = pe.trustedTypes, $n = Ii ? Ii.emptyScript : "", ar = pe.reactiveElementPolyfillSupport, Je = (r, i) => r, Lt = { toAttribute(r, i) {
48
+ const { is: fn, defineProperty: gn, getOwnPropertyDescriptor: bn, getOwnPropertyNames: vn, getOwnPropertySymbols: mn, getPrototypeOf: yn } = Object, pe = globalThis, Ii = pe.trustedTypes, $n = Ii ? Ii.emptyScript : "", ar = pe.reactiveElementPolyfillSupport, tt = (r, i) => r, Lt = { toAttribute(r, i) {
49
49
  switch (i) {
50
50
  case Boolean:
51
51
  r = r ? $n : null;
@@ -75,7 +75,7 @@ const { is: fn, defineProperty: gn, getOwnPropertyDescriptor: bn, getOwnProperty
75
75
  return o;
76
76
  } }, _r = (r, i) => !fn(r, i), Qi = { attribute: !0, type: String, converter: Lt, reflect: !1, hasChanged: _r };
77
77
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), pe.litPropertyMetadata ?? (pe.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
- class Re extends HTMLElement {
78
+ class Be extends HTMLElement {
79
79
  static addInitializer(i) {
80
80
  this._$Ei(), (this.l ?? (this.l = [])).push(i);
81
81
  }
@@ -105,13 +105,13 @@ class Re extends HTMLElement {
105
105
  return this.elementProperties.get(i) ?? Qi;
106
106
  }
107
107
  static _$Ei() {
108
- if (this.hasOwnProperty(Je("elementProperties"))) return;
108
+ if (this.hasOwnProperty(tt("elementProperties"))) return;
109
109
  const i = yn(this);
110
110
  i.finalize(), i.l !== void 0 && (this.l = [...i.l]), this.elementProperties = new Map(i.elementProperties);
111
111
  }
112
112
  static finalize() {
113
- if (this.hasOwnProperty(Je("finalized"))) return;
114
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Je("properties"))) {
113
+ if (this.hasOwnProperty(tt("finalized"))) return;
114
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(tt("properties"))) {
115
115
  const o = this.properties, s = [...vn(o), ...mn(o)];
116
116
  for (const n of s) this.createProperty(n, o[n]);
117
117
  }
@@ -273,14 +273,14 @@ class Re extends HTMLElement {
273
273
  firstUpdated(i) {
274
274
  }
275
275
  }
276
- Re.elementStyles = [], Re.shadowRootOptions = { mode: "open" }, Re[Je("elementProperties")] = /* @__PURE__ */ new Map(), Re[Je("finalized")] = /* @__PURE__ */ new Map(), ar == null || ar({ ReactiveElement: Re }), (pe.reactiveElementVersions ?? (pe.reactiveElementVersions = [])).push("2.0.4");
276
+ Be.elementStyles = [], Be.shadowRootOptions = { mode: "open" }, Be[tt("elementProperties")] = /* @__PURE__ */ new Map(), Be[tt("finalized")] = /* @__PURE__ */ new Map(), ar == null || ar({ ReactiveElement: Be }), (pe.reactiveElementVersions ?? (pe.reactiveElementVersions = [])).push("2.0.4");
277
277
  /**
278
278
  * @license
279
279
  * Copyright 2017 Google LLC
280
280
  * SPDX-License-Identifier: BSD-3-Clause
281
281
  */
282
- const et = globalThis, Dt = et.trustedTypes, qi = Dt ? Dt.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, xr = "$lit$", se = `lit$${Math.random().toFixed(9).slice(2)}$`, Ar = "?" + se, wn = `<${Ar}>`, xe = document, it = () => xe.createComment(""), st = (r) => r === null || typeof r != "object" && typeof r != "function", Sr = Array.isArray, as = (r) => Sr(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", cr = `[
283
- \f\r]`, Ge = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Wi = /-->/g, Yi = />/g, ye = RegExp(`>|${cr}(?:([^\\s"'>=/]+)(${cr}*=${cr}*(?:[^
282
+ const rt = globalThis, Dt = rt.trustedTypes, qi = Dt ? Dt.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, xr = "$lit$", se = `lit$${Math.random().toFixed(9).slice(2)}$`, Ar = "?" + se, wn = `<${Ar}>`, xe = document, ot = () => xe.createComment(""), nt = (r) => r === null || typeof r != "object" && typeof r != "function", Sr = Array.isArray, as = (r) => Sr(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", cr = `[
283
+ \f\r]`, et = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Wi = /-->/g, Yi = />/g, ye = RegExp(`>|${cr}(?:([^\\s"'>=/]+)(${cr}*=${cr}*(?:[^
284
284
  \f\r"'\`<>=]|("|')|))|$)`, "g"), Ki = /'/g, Zi = /"/g, cs = /^(?:script|style|textarea|title)$/i, _n = (r) => (i, ...o) => ({ _$litType$: r, strings: i, values: o }), x = _n(1), he = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), Vi = /* @__PURE__ */ new WeakMap(), _e = xe.createTreeWalker(xe, 129);
285
285
  function ls(r, i) {
286
286
  if (!Sr(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
@@ -288,23 +288,23 @@ function ls(r, i) {
288
288
  }
289
289
  const ps = (r, i) => {
290
290
  const o = r.length - 1, s = [];
291
- let n, e = i === 2 ? "<svg>" : i === 3 ? "<math>" : "", p = Ge;
291
+ let n, e = i === 2 ? "<svg>" : i === 3 ? "<math>" : "", p = et;
292
292
  for (let d = 0; d < o; d++) {
293
293
  const g = r[d];
294
294
  let w, k, m = -1, S = 0;
295
- for (; S < g.length && (p.lastIndex = S, k = p.exec(g), k !== null); ) S = p.lastIndex, p === Ge ? k[1] === "!--" ? p = Wi : k[1] !== void 0 ? p = Yi : k[2] !== void 0 ? (cs.test(k[2]) && (n = RegExp("</" + k[2], "g")), p = ye) : k[3] !== void 0 && (p = ye) : p === ye ? k[0] === ">" ? (p = n ?? Ge, m = -1) : k[1] === void 0 ? m = -2 : (m = p.lastIndex - k[2].length, w = k[1], p = k[3] === void 0 ? ye : k[3] === '"' ? Zi : Ki) : p === Zi || p === Ki ? p = ye : p === Wi || p === Yi ? p = Ge : (p = ye, n = void 0);
295
+ for (; S < g.length && (p.lastIndex = S, k = p.exec(g), k !== null); ) S = p.lastIndex, p === et ? k[1] === "!--" ? p = Wi : k[1] !== void 0 ? p = Yi : k[2] !== void 0 ? (cs.test(k[2]) && (n = RegExp("</" + k[2], "g")), p = ye) : k[3] !== void 0 && (p = ye) : p === ye ? k[0] === ">" ? (p = n ?? et, m = -1) : k[1] === void 0 ? m = -2 : (m = p.lastIndex - k[2].length, w = k[1], p = k[3] === void 0 ? ye : k[3] === '"' ? Zi : Ki) : p === Zi || p === Ki ? p = ye : p === Wi || p === Yi ? p = et : (p = ye, n = void 0);
296
296
  const A = p === ye && r[d + 1].startsWith("/>") ? " " : "";
297
- e += p === Ge ? g + wn : m >= 0 ? (s.push(w), g.slice(0, m) + xr + g.slice(m) + se + A) : g + se + (m === -2 ? d : A);
297
+ e += p === et ? g + wn : m >= 0 ? (s.push(w), g.slice(0, m) + xr + g.slice(m) + se + A) : g + se + (m === -2 ? d : A);
298
298
  }
299
299
  return [ls(r, e + (r[o] || "<?>") + (i === 2 ? "</svg>" : i === 3 ? "</math>" : "")), s];
300
300
  };
301
- class ot {
301
+ class at {
302
302
  constructor({ strings: i, _$litType$: o }, s) {
303
303
  let n;
304
304
  this.parts = [];
305
305
  let e = 0, p = 0;
306
306
  const d = i.length - 1, g = this.parts, [w, k] = ps(i, o);
307
- if (this.el = ot.createElement(w, s), _e.currentNode = this.el.content, o === 2 || o === 3) {
307
+ if (this.el = at.createElement(w, s), _e.currentNode = this.el.content, o === 2 || o === 3) {
308
308
  const m = this.el.content.firstChild;
309
309
  m.replaceWith(...m.childNodes);
310
310
  }
@@ -312,14 +312,14 @@ class ot {
312
312
  if (n.nodeType === 1) {
313
313
  if (n.hasAttributes()) for (const m of n.getAttributeNames()) if (m.endsWith(xr)) {
314
314
  const S = k[p++], A = n.getAttribute(m).split(se), C = /([.?@])?(.*)/.exec(S);
315
- g.push({ type: 1, index: e, name: C[2], strings: A, ctor: C[1] === "." ? hs : C[1] === "?" ? ds : C[1] === "@" ? fs : at }), n.removeAttribute(m);
315
+ g.push({ type: 1, index: e, name: C[2], strings: A, ctor: C[1] === "." ? hs : C[1] === "?" ? ds : C[1] === "@" ? fs : lt }), n.removeAttribute(m);
316
316
  } else m.startsWith(se) && (g.push({ type: 6, index: e }), n.removeAttribute(m));
317
317
  if (cs.test(n.tagName)) {
318
318
  const m = n.textContent.split(se), S = m.length - 1;
319
319
  if (S > 0) {
320
320
  n.textContent = Dt ? Dt.emptyScript : "";
321
- for (let A = 0; A < S; A++) n.append(m[A], it()), _e.nextNode(), g.push({ type: 2, index: ++e });
322
- n.append(m[S], it());
321
+ for (let A = 0; A < S; A++) n.append(m[A], ot()), _e.nextNode(), g.push({ type: 2, index: ++e });
322
+ n.append(m[S], ot());
323
323
  }
324
324
  }
325
325
  } else if (n.nodeType === 8) if (n.data === Ar) g.push({ type: 2, index: e });
@@ -339,7 +339,7 @@ function Ae(r, i, o = r, s) {
339
339
  var p, d;
340
340
  if (i === he) return i;
341
341
  let n = s !== void 0 ? (p = o._$Co) == null ? void 0 : p[s] : o._$Cl;
342
- const e = st(i) ? void 0 : i._$litDirective$;
342
+ const e = nt(i) ? void 0 : i._$litDirective$;
343
343
  return (n == null ? void 0 : n.constructor) !== e && ((d = n == null ? void 0 : n._$AO) == null || d.call(n, !1), e === void 0 ? n = void 0 : (n = new e(r), n._$AT(r, o, s)), s !== void 0 ? (o._$Co ?? (o._$Co = []))[s] = n : o._$Cl = n), n !== void 0 && (i = Ae(r, n._$AS(r, i.values), n, s)), i;
344
344
  }
345
345
  let us = class {
@@ -390,7 +390,7 @@ class Qe {
390
390
  return this._$AB;
391
391
  }
392
392
  _$AI(i, o = this) {
393
- i = Ae(this, i, o), st(i) ? i === E || i == null || i === "" ? (this._$AH !== E && this._$AR(), this._$AH = E) : i !== this._$AH && i !== he && this._(i) : i._$litType$ !== void 0 ? this.$(i) : i.nodeType !== void 0 ? this.T(i) : as(i) ? this.k(i) : this._(i);
393
+ i = Ae(this, i, o), nt(i) ? i === E || i == null || i === "" ? (this._$AH !== E && this._$AR(), this._$AH = E) : i !== this._$AH && i !== he && this._(i) : i._$litType$ !== void 0 ? this.$(i) : i.nodeType !== void 0 ? this.T(i) : as(i) ? this.k(i) : this._(i);
394
394
  }
395
395
  O(i) {
396
396
  return this._$AA.parentNode.insertBefore(i, this._$AB);
@@ -399,11 +399,11 @@ class Qe {
399
399
  this._$AH !== i && (this._$AR(), this._$AH = this.O(i));
400
400
  }
401
401
  _(i) {
402
- this._$AH !== E && st(this._$AH) ? this._$AA.nextSibling.data = i : this.T(xe.createTextNode(i)), this._$AH = i;
402
+ this._$AH !== E && nt(this._$AH) ? this._$AA.nextSibling.data = i : this.T(xe.createTextNode(i)), this._$AH = i;
403
403
  }
404
404
  $(i) {
405
405
  var e;
406
- const { values: o, _$litType$: s } = i, n = typeof s == "number" ? this._$AC(i) : (s.el === void 0 && (s.el = ot.createElement(ls(s.h, s.h[0]), this.options)), s);
406
+ const { values: o, _$litType$: s } = i, n = typeof s == "number" ? this._$AC(i) : (s.el === void 0 && (s.el = at.createElement(ls(s.h, s.h[0]), this.options)), s);
407
407
  if (((e = this._$AH) == null ? void 0 : e._$AD) === n) this._$AH.p(o);
408
408
  else {
409
409
  const p = new us(n, this), d = p.u(this.options);
@@ -412,13 +412,13 @@ class Qe {
412
412
  }
413
413
  _$AC(i) {
414
414
  let o = Vi.get(i.strings);
415
- return o === void 0 && Vi.set(i.strings, o = new ot(i)), o;
415
+ return o === void 0 && Vi.set(i.strings, o = new at(i)), o;
416
416
  }
417
417
  k(i) {
418
418
  Sr(this._$AH) || (this._$AH = [], this._$AR());
419
419
  const o = this._$AH;
420
420
  let s, n = 0;
421
- for (const e of i) n === o.length ? o.push(s = new Qe(this.O(it()), this.O(it()), this, this.options)) : s = o[n], s._$AI(e), n++;
421
+ for (const e of i) n === o.length ? o.push(s = new Qe(this.O(ot()), this.O(ot()), this, this.options)) : s = o[n], s._$AI(e), n++;
422
422
  n < o.length && (this._$AR(s && s._$AB.nextSibling, n), o.length = n);
423
423
  }
424
424
  _$AR(i = this._$AA.nextSibling, o) {
@@ -433,7 +433,7 @@ class Qe {
433
433
  this._$AM === void 0 && (this._$Cv = i, (o = this._$AP) == null || o.call(this, i));
434
434
  }
435
435
  }
436
- class at {
436
+ class lt {
437
437
  get tagName() {
438
438
  return this.element.tagName;
439
439
  }
@@ -446,11 +446,11 @@ class at {
446
446
  _$AI(i, o = this, s, n) {
447
447
  const e = this.strings;
448
448
  let p = !1;
449
- if (e === void 0) i = Ae(this, i, o, 0), p = !st(i) || i !== this._$AH && i !== he, p && (this._$AH = i);
449
+ if (e === void 0) i = Ae(this, i, o, 0), p = !nt(i) || i !== this._$AH && i !== he, p && (this._$AH = i);
450
450
  else {
451
451
  const d = i;
452
452
  let g, w;
453
- for (i = e[0], g = 0; g < e.length - 1; g++) w = Ae(this, d[s + g], o, g), w === he && (w = this._$AH[g]), p || (p = !st(w) || w !== this._$AH[g]), w === E ? i = E : i !== E && (i += (w ?? "") + e[g + 1]), this._$AH[g] = w;
453
+ for (i = e[0], g = 0; g < e.length - 1; g++) w = Ae(this, d[s + g], o, g), w === he && (w = this._$AH[g]), p || (p = !nt(w) || w !== this._$AH[g]), w === E ? i = E : i !== E && (i += (w ?? "") + e[g + 1]), this._$AH[g] = w;
454
454
  }
455
455
  p && !n && this.j(i);
456
456
  }
@@ -458,7 +458,7 @@ class at {
458
458
  i === E ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, i ?? "");
459
459
  }
460
460
  }
461
- class hs extends at {
461
+ class hs extends lt {
462
462
  constructor() {
463
463
  super(...arguments), this.type = 3;
464
464
  }
@@ -466,7 +466,7 @@ class hs extends at {
466
466
  this.element[this.name] = i === E ? void 0 : i;
467
467
  }
468
468
  }
469
- class ds extends at {
469
+ class ds extends lt {
470
470
  constructor() {
471
471
  super(...arguments), this.type = 4;
472
472
  }
@@ -474,7 +474,7 @@ class ds extends at {
474
474
  this.element.toggleAttribute(this.name, !!i && i !== E);
475
475
  }
476
476
  }
477
- class fs extends at {
477
+ class fs extends lt {
478
478
  constructor(i, o, s, n, e) {
479
479
  super(i, o, s, n, e), this.type = 5;
480
480
  }
@@ -499,14 +499,14 @@ class gs {
499
499
  Ae(this, i);
500
500
  }
501
501
  }
502
- const xn = { M: xr, P: se, A: Ar, C: 1, L: ps, R: us, D: as, V: Ae, I: Qe, H: at, N: ds, U: fs, B: hs, F: gs }, lr = et.litHtmlPolyfillSupport;
503
- lr == null || lr(ot, Qe), (et.litHtmlVersions ?? (et.litHtmlVersions = [])).push("3.2.1");
504
- const ct = (r, i, o) => {
502
+ const xn = { M: xr, P: se, A: Ar, C: 1, L: ps, R: us, D: as, V: Ae, I: Qe, H: lt, N: ds, U: fs, B: hs, F: gs }, lr = rt.litHtmlPolyfillSupport;
503
+ lr == null || lr(at, Qe), (rt.litHtmlVersions ?? (rt.litHtmlVersions = [])).push("3.2.1");
504
+ const pt = (r, i, o) => {
505
505
  const s = (o == null ? void 0 : o.renderBefore) ?? i;
506
506
  let n = s._$litPart$;
507
507
  if (n === void 0) {
508
508
  const e = (o == null ? void 0 : o.renderBefore) ?? null;
509
- s._$litPart$ = n = new Qe(i.insertBefore(it(), e), e, void 0, o ?? {});
509
+ s._$litPart$ = n = new Qe(i.insertBefore(ot(), e), e, void 0, o ?? {});
510
510
  }
511
511
  return n._$AI(r), n;
512
512
  };
@@ -515,7 +515,7 @@ const ct = (r, i, o) => {
515
515
  * Copyright 2017 Google LLC
516
516
  * SPDX-License-Identifier: BSD-3-Clause
517
517
  */
518
- let L = class extends Re {
518
+ let L = class extends Be {
519
519
  constructor() {
520
520
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
521
521
  }
@@ -526,7 +526,7 @@ let L = class extends Re {
526
526
  }
527
527
  update(i) {
528
528
  const o = this.render();
529
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(i), this._$Do = ct(o, this.renderRoot, this.renderOptions);
529
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(i), this._$Do = pt(o, this.renderRoot, this.renderOptions);
530
530
  }
531
531
  connectedCallback() {
532
532
  var i;
@@ -550,7 +550,7 @@ pr == null || pr({ LitElement: L });
550
550
  * Copyright 2017 Google LLC
551
551
  * SPDX-License-Identifier: BSD-3-Clause
552
552
  */
553
- const kr = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, lt = (r) => (...i) => ({ _$litDirective$: r, values: i });
553
+ const kr = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, ut = (r) => (...i) => ({ _$litDirective$: r, values: i });
554
554
  let Ut = class {
555
555
  constructor(i) {
556
556
  }
@@ -572,7 +572,7 @@ let Ut = class {
572
572
  * Copyright 2018 Google LLC
573
573
  * SPDX-License-Identifier: BSD-3-Clause
574
574
  */
575
- const bs = "important", An = " !" + bs, Cr = lt(class extends Ut {
575
+ const bs = "important", An = " !" + bs, Cr = ut(class extends Ut {
576
576
  constructor(r) {
577
577
  var i;
578
578
  if (super(r), r.type !== kr.ATTRIBUTE || r.name !== "style" || ((i = r.strings) == null ? void 0 : i.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
@@ -886,7 +886,7 @@ function b(r) {
886
886
  * Copyright 2017 Google LLC
887
887
  * SPDX-License-Identifier: BSD-3-Clause
888
888
  */
889
- function pt(r) {
889
+ function qe(r) {
890
890
  return b({ ...r, state: !0, attribute: !1 });
891
891
  }
892
892
  /**
@@ -900,7 +900,7 @@ const vs = (r, i, o) => (o.configurable = !0, o.enumerable = !0, Reflect.decorat
900
900
  * Copyright 2017 Google LLC
901
901
  * SPDX-License-Identifier: BSD-3-Clause
902
902
  */
903
- function Ce(r, i) {
903
+ function Ee(r, i) {
904
904
  return (o, s, n) => {
905
905
  const e = (p) => {
906
906
  var d;
@@ -932,7 +932,7 @@ class Xi {
932
932
  this._handler && (this._node && this._node.removeEventListener(this._type, this._handler, this._options), this._node = void 0, this._handler = void 0);
933
933
  }
934
934
  }
935
- class ut extends L {
935
+ class ht extends L {
936
936
  constructor() {
937
937
  super(...arguments), this._disposables = /* @__PURE__ */ new Set(), this._isDisposed = !1, this._disposableListeners = [], this._connected = !1;
938
938
  }
@@ -971,7 +971,7 @@ const Ln = {
971
971
  secondary: "spectric-button--secondary",
972
972
  text: "spectric-button--text"
973
973
  };
974
- let H = class extends ut {
974
+ let H = class extends ht {
975
975
  constructor() {
976
976
  super(), this.variant = "primary", this.disabled = !1, this.size = "small", this.label = "", this.danger = !1, this.icon = !1, this.tooltipPosition = "right", this._onClick = (r) => {
977
977
  if (r instanceof CustomEvent || (r.preventDefault(), r.stopImmediatePropagation(), r.stopPropagation(), this.disabled))
@@ -1077,11 +1077,11 @@ const { I: Dn } = xn, Gi = (r, i) => (r == null ? void 0 : r._$litType$) !== voi
1077
1077
  * Copyright 2017 Google LLC
1078
1078
  * SPDX-License-Identifier: BSD-3-Clause
1079
1079
  */
1080
- const tt = (r, i) => {
1080
+ const it = (r, i) => {
1081
1081
  var s;
1082
1082
  const o = r._$AN;
1083
1083
  if (o === void 0) return !1;
1084
- for (const n of o) (s = n._$AO) == null || s.call(n, i, !1), tt(n, i);
1084
+ for (const n of o) (s = n._$AO) == null || s.call(n, i, !1), it(n, i);
1085
1085
  return !0;
1086
1086
  }, Nt = (r) => {
1087
1087
  let i, o;
@@ -1102,9 +1102,9 @@ function Bn(r) {
1102
1102
  }
1103
1103
  function Mn(r, i = !1, o = 0) {
1104
1104
  const s = this._$AH, n = this._$AN;
1105
- if (n !== void 0 && n.size !== 0) if (i) if (Array.isArray(s)) for (let e = o; e < s.length; e++) tt(s[e], !1), Nt(s[e]);
1106
- else s != null && (tt(s, !1), Nt(s));
1107
- else tt(this, r);
1105
+ if (n !== void 0 && n.size !== 0) if (i) if (Array.isArray(s)) for (let e = o; e < s.length; e++) it(s[e], !1), Nt(s[e]);
1106
+ else s != null && (it(s, !1), Nt(s));
1107
+ else it(this, r);
1108
1108
  }
1109
1109
  const Un = (r) => {
1110
1110
  r.type == kr.CHILD && (r._$AP ?? (r._$AP = Mn), r._$AQ ?? (r._$AQ = Bn));
@@ -1118,7 +1118,7 @@ class ys extends Ut {
1118
1118
  }
1119
1119
  _$AO(i, o = !0) {
1120
1120
  var s, n;
1121
- i !== this.isConnected && (this.isConnected = i, i ? (s = this.reconnected) == null || s.call(this) : (n = this.disconnected) == null || n.call(this)), o && (tt(this, i), Nt(this));
1121
+ i !== this.isConnected && (this.isConnected = i, i ? (s = this.reconnected) == null || s.call(this) : (n = this.disconnected) == null || n.call(this)), o && (it(this, i), Nt(this));
1122
1122
  }
1123
1123
  setValue(i) {
1124
1124
  if (jn(this._$Ct)) this._$Ct._$AI(i, this);
@@ -1140,7 +1140,7 @@ class ys extends Ut {
1140
1140
  const Pt = () => new Fn();
1141
1141
  let Fn = class {
1142
1142
  };
1143
- const hr = /* @__PURE__ */ new WeakMap(), Tt = lt(class extends ys {
1143
+ const hr = /* @__PURE__ */ new WeakMap(), Tt = ut(class extends ys {
1144
1144
  render(r) {
1145
1145
  return E;
1146
1146
  }
@@ -1204,13 +1204,13 @@ const hr = /* @__PURE__ */ new WeakMap(), Tt = lt(class extends ys {
1204
1204
  });
1205
1205
  };
1206
1206
  };
1207
- var In = Object.defineProperty, Qn = Object.getOwnPropertyDescriptor, Ee = (r, i, o, s) => {
1207
+ var In = Object.defineProperty, Qn = Object.getOwnPropertyDescriptor, Oe = (r, i, o, s) => {
1208
1208
  for (var n = s > 1 ? void 0 : s ? Qn(i, o) : i, e = r.length - 1, p; e >= 0; e--)
1209
1209
  (p = r[e]) && (n = (s ? p(i, o, n) : p(n)) || n);
1210
1210
  return s && n && In(i, o, n), n;
1211
1211
  };
1212
1212
  const qn = ["mousemove", "click", "dblclick", "mousedown", "mouseup", "contextmenu"], Ct = { width: 200, height: 200 }, jt = { width: 10, height: 10 };
1213
- let oe = class extends ut {
1213
+ let oe = class extends ht {
1214
1214
  constructor() {
1215
1215
  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 = {
1216
1216
  viewport: Pt(),
@@ -1427,25 +1427,25 @@ oe.styles = Z`
1427
1427
  }
1428
1428
 
1429
1429
  `;
1430
- Ee([
1430
+ Oe([
1431
1431
  b({ type: Object, attribute: !1 })
1432
1432
  ], oe.prototype, "arrayBuffer", 2);
1433
- Ee([
1433
+ Oe([
1434
1434
  b({ type: Number })
1435
1435
  ], oe.prototype, "frameWidth", 2);
1436
- Ee([
1436
+ Oe([
1437
1437
  b({ type: Number })
1438
1438
  ], oe.prototype, "scale", 2);
1439
- Ee([
1439
+ Oe([
1440
1440
  b({ type: Number })
1441
1441
  ], oe.prototype, "width", 2);
1442
- Ee([
1442
+ Oe([
1443
1443
  b({ type: Number })
1444
1444
  ], oe.prototype, "height", 2);
1445
- Ee([
1445
+ Oe([
1446
1446
  Ft("canvas")
1447
1447
  ], oe.prototype, "_canvas", 2);
1448
- oe = Ee([
1448
+ oe = Oe([
1449
1449
  D("spectric-bit-display")
1450
1450
  ], oe);
1451
1451
  const Wn = Z`.spectric-header {
@@ -1489,7 +1489,7 @@ var Yn = Object.defineProperty, Kn = Object.getOwnPropertyDescriptor, Ht = (r, i
1489
1489
  (p = r[e]) && (n = (s ? p(i, o, n) : p(n)) || n);
1490
1490
  return s && n && Yn(i, o, n), n;
1491
1491
  };
1492
- let Ue = class extends L {
1492
+ let Fe = class extends L {
1493
1493
  constructor() {
1494
1494
  super(...arguments), this.showCreateAccount = !1, this.showLoginButton = !1, this.username = "", this.onLogout = () => {
1495
1495
  const r = {
@@ -1534,20 +1534,20 @@ let Ue = class extends L {
1534
1534
  `;
1535
1535
  }
1536
1536
  };
1537
- Ue.styles = Wn;
1537
+ Fe.styles = Wn;
1538
1538
  Ht([
1539
1539
  b({ type: Boolean, reflect: !0 })
1540
- ], Ue.prototype, "showCreateAccount", 2);
1540
+ ], Fe.prototype, "showCreateAccount", 2);
1541
1541
  Ht([
1542
1542
  b({ type: Boolean, reflect: !0 })
1543
- ], Ue.prototype, "showLoginButton", 2);
1543
+ ], Fe.prototype, "showLoginButton", 2);
1544
1544
  Ht([
1545
1545
  b({ type: String, reflect: !0 })
1546
- ], Ue.prototype, "username", 2);
1547
- Ue = Ht([
1546
+ ], Fe.prototype, "username", 2);
1547
+ Fe = Ht([
1548
1548
  D("spectric-header")
1549
- ], Ue);
1550
- var Zn = Object.defineProperty, Vn = Object.getOwnPropertyDescriptor, qe = (r, i, o, s) => {
1549
+ ], Fe);
1550
+ var Zn = Object.defineProperty, Vn = Object.getOwnPropertyDescriptor, We = (r, i, o, s) => {
1551
1551
  for (var n = s > 1 ? void 0 : s ? Vn(i, o) : i, e = r.length - 1, p; e >= 0; e--)
1552
1552
  (p = r[e]) && (n = (s ? p(i, o, n) : p(n)) || n);
1553
1553
  return s && n && Zn(i, o, n), n;
@@ -1585,22 +1585,22 @@ let Se = class extends L {
1585
1585
  `;
1586
1586
  }
1587
1587
  };
1588
- qe([
1588
+ We([
1589
1589
  b({ type: Boolean, reflect: !0 })
1590
1590
  ], Se.prototype, "dismissable", 2);
1591
- qe([
1591
+ We([
1592
1592
  b({ type: String, reflect: !0 })
1593
1593
  ], Se.prototype, "text", 2);
1594
- qe([
1594
+ We([
1595
1595
  b({ type: String, reflect: !0 })
1596
1596
  ], Se.prototype, "bannerId", 2);
1597
- qe([
1597
+ We([
1598
1598
  b({ type: Object })
1599
1599
  ], Se.prototype, "headerStyle", 2);
1600
- qe([
1600
+ We([
1601
1601
  b({ state: !0, type: Boolean, attribute: !1 })
1602
1602
  ], Se.prototype, "_dismissed", 2);
1603
- Se = qe([
1603
+ Se = We([
1604
1604
  D("spectric-banner")
1605
1605
  ], Se);
1606
1606
  const Gn = Z`
@@ -1792,7 +1792,7 @@ class Jn extends ys {
1792
1792
  (!i || !(n in i) && s[n] === o[n]) && (s[n] = void 0);
1793
1793
  }
1794
1794
  }
1795
- const rt = lt(Jn);
1795
+ const st = ut(Jn);
1796
1796
  var br = /* @__PURE__ */ ((r) => (r.None = "none", r.Uscui = "us.cui", r.Usclassified = "us.classified", r.Usunclassified = "us.unclassified", r.Usconfidential = "us.confidential", r.Ussecret = "us.secret", r.Ustopsecret = "us.topsecret", r.UstopsecretSi = "us.topsecret.si", r.Uknotset = "uk.notset", r.Ukofficial = "uk.official", r.Uksecret = "uk.secret", r.Uktopsecret = "uk.topsecret", r.Caprotected_a = "ca.protected_a", r.Caprotected_b = "ca.protected_b", r.Caprotected_c = "ca.protected_c", r.Caconfidential = "ca.confidential", r.Casecret = "ca.secret", r.Catopsecret = "ca.topsecret", r.Auunofficial = "au.unofficial", r.Auofficial = "au.official", r.Auofficialsensitive = "au.officialsensitive", r.Auconfidential = "au.confidential", r.Ausecret = "au.secret", r.Autopsecret = "au.topsecret", r))(br || {});
1797
1797
  const Et = {
1798
1798
  none: {},
@@ -1937,10 +1937,10 @@ let I = class extends L {
1937
1937
  return x`
1938
1938
  ${this.classificationLevel && r ? x`
1939
1939
  <!-- Classification Banner -->
1940
- <spectric-banner ${rt({ text: r, headerStyle: Et[this.classificationLevel] })}></spectric-banner>
1940
+ <spectric-banner ${st({ text: r, headerStyle: Et[this.classificationLevel] })}></spectric-banner>
1941
1941
  ` : null}
1942
1942
  <spectric-theme theme=${gr(this.theme)}>
1943
- ${this.notifications ? this.notifications.map((o) => x`<spectric-banner ${rt(o)} ></spectric-banner>`) : null}
1943
+ ${this.notifications ? this.notifications.map((o) => x`<spectric-banner ${st(o)} ></spectric-banner>`) : null}
1944
1944
  ${this.headerSticky ? i : null}
1945
1945
  <article>
1946
1946
  ${this.headerSticky ? null : i}
@@ -1950,7 +1950,7 @@ let I = class extends L {
1950
1950
  </section>
1951
1951
  </article>
1952
1952
  </spectric-theme>
1953
- ${this.classificationLevel && r ? x`<spectric-banner ${rt({ text: r, headerStyle: Et[this.classificationLevel] })}></spectric-banner>` : null}
1953
+ ${this.classificationLevel && r ? x`<spectric-banner ${st({ text: r, headerStyle: Et[this.classificationLevel] })}></spectric-banner>` : null}
1954
1954
 
1955
1955
  `;
1956
1956
  }
@@ -2050,18 +2050,18 @@ let O = class extends L {
2050
2050
  ?disabled="${this.disabled}"
2051
2051
  aria-describedby="helper-text"
2052
2052
  id="input"
2053
- name="${ze(this.name)}"
2054
- pattern="${ze(this.pattern)}"
2055
- placeholder="${ze(this.placeholder)}"
2056
- autocomplete="${ze(this.autocomplete)}"
2053
+ name="${Re(this.name)}"
2054
+ pattern="${Re(this.pattern)}"
2055
+ placeholder="${Re(this.placeholder)}"
2056
+ autocomplete="${Re(this.autocomplete)}"
2057
2057
  ?readonly="${this.readonly}"
2058
2058
  ?required="${this.required}"
2059
- type="${ze(
2059
+ type="${Re(
2060
2060
  this.variant !== "password" ? this.variant : this._showPassword ? "text" : "password"
2061
2061
  /* password */
2062
2062
  )}"
2063
2063
  .value="${this._value}"
2064
- maxlength="${ze(this.maxCount > 0 ? this.maxCount : void 0)}"
2064
+ maxlength="${Re(this.maxCount > 0 ? this.maxCount : void 0)}"
2065
2065
  @input="${this._handleInput}"
2066
2066
  @change=${() => {
2067
2067
  this.dispatchEvent(new Event("change", { bubbles: !0 }));
@@ -2162,12 +2162,12 @@ P([
2162
2162
  b({ reflect: !0 })
2163
2163
  ], O.prototype, "value", 1);
2164
2164
  P([
2165
- Ce("input")
2165
+ Ee("input")
2166
2166
  ], O.prototype, "_input", 2);
2167
2167
  O = P([
2168
2168
  D("spectric-input")
2169
2169
  ], O);
2170
- const ze = (r) => gr(r === "" ? void 0 : r ?? void 0), oa = "end of input", na = {
2170
+ const Re = (r) => gr(r === "" ? void 0 : r ?? void 0), oa = "end of input", na = {
2171
2171
  fieldName: "field name",
2172
2172
  value: "value",
2173
2173
  literal: "literal",
@@ -2188,7 +2188,7 @@ class ws extends Error {
2188
2188
  super(n), this.name = "DQLSyntaxError", this.shortMessage = s;
2189
2189
  }
2190
2190
  }
2191
- function Be(r) {
2191
+ function Me(r) {
2192
2192
  return {
2193
2193
  type: "literal",
2194
2194
  value: r
@@ -2199,7 +2199,7 @@ function Er(r) {
2199
2199
  }
2200
2200
  const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2201
2201
  __proto__: null,
2202
- buildNode: Be,
2202
+ buildNode: Me,
2203
2203
  toOpenSearchQuery: Er
2204
2204
  }, Symbol.toStringTag, { value: "Module" })), {
2205
2205
  SyntaxError: ul,
@@ -2236,7 +2236,7 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2236
2236
  ...a,
2237
2237
  suggestionTypes: ["conjunction"]
2238
2238
  } : t;
2239
- }, V = ":", U = { type: "literal", value: ":", description: '":"' }, Pe = "{", Qt = { type: "literal", value: "{", description: '"{"' }, qt = "}", Wt = { type: "literal", value: "}", description: '"}"' }, Ps = function(t, a, l) {
2239
+ }, V = ":", U = { type: "literal", value: ":", description: '":"' }, Te = "{", Qt = { type: "literal", value: "{", description: '"{"' }, qt = "}", Wt = { type: "literal", value: "}", description: '"}"' }, Ps = function(t, a, l) {
2240
2240
  return a.type === "cursor" ? {
2241
2241
  ...a,
2242
2242
  nestedPath: a.nestedPath ? `${t.value}.${a.nestedPath}` : t.value
@@ -2300,7 +2300,7 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2300
2300
  !cn && t.type === "wildcard" && me.wildcard.hasLeadingWildcard(t) && q("Leading wildcards are disabled. See query:allowLeadingWildcards in Advanced Settings.");
2301
2301
  const a = ce(!1);
2302
2302
  return (l) => G("is", [l, t, a]);
2303
- }, Hs = { type: "other", description: "OR" }, Nr = "or", jr = { type: "literal", value: "or", description: '"or"' }, Is = { type: "other", description: "AND" }, zr = "and", Rr = { type: "literal", value: "and", description: '"and"' }, Qs = { type: "other", description: "NOT" }, Br = "not", Mr = { type: "literal", value: "not", description: '"not"' }, qs = { type: "other", description: "literal" }, We = '"', Ye = { type: "literal", value: '"', description: '"\\""' }, Yt = function(t, a, l) {
2303
+ }, Hs = { type: "other", description: "OR" }, Nr = "or", jr = { type: "literal", value: "or", description: '"or"' }, Is = { type: "other", description: "AND" }, zr = "and", Rr = { type: "literal", value: "and", description: '"and"' }, Qs = { type: "other", description: "NOT" }, Br = "not", Mr = { type: "literal", value: "not", description: '"not"' }, qs = { type: "other", description: "literal" }, Ke = '"', Ze = { type: "literal", value: '"', description: '"\\""' }, Yt = function(t, a, l) {
2304
2304
  const { start: u, end: f } = zo();
2305
2305
  return {
2306
2306
  type: "cursor",
@@ -2312,7 +2312,7 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2312
2312
  };
2313
2313
  }, Ws = function(t) {
2314
2314
  return ce(t.join(""));
2315
- }, Ke = "\\", Ze = { type: "literal", value: "\\", description: '"\\\\"' }, Ys = /^[\\"]/, Ks = { type: "class", value: '[\\\\"]', description: '[\\\\"]' }, ft = function(t) {
2315
+ }, Ve = "\\", Xe = { type: "literal", value: "\\", description: '"\\\\"' }, Ys = /^[\\"]/, Ks = { type: "class", value: '[\\\\"]', description: '[\\\\"]' }, ft = function(t) {
2316
2316
  return t;
2317
2317
  }, Zs = /^[^"]/, Vs = { type: "class", value: '[^"]', description: '[^"]' }, Xs = function(t) {
2318
2318
  const a = t.join("").trim();
@@ -2356,7 +2356,7 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2356
2356
  q("LuceneWildcard");
2357
2357
  }, Kt = "/", Zt = { type: "literal", value: "/", description: '"/"' }, ui = /^[^\/]/, hi = { type: "class", value: "[^/]", description: "[^/]" }, Co = function() {
2358
2358
  q("LuceneRegex");
2359
- }, Vt = "~", Xt = { type: "literal", value: "~", description: '"~"' }, Te = /^[0-9]/, Le = { type: "class", value: "[0-9]", description: "[0-9]" }, Eo = function() {
2359
+ }, Vt = "~", Xt = { type: "literal", value: "~", description: '"~"' }, Le = /^[0-9]/, De = { type: "class", value: "[0-9]", description: "[0-9]" }, Eo = function() {
2360
2360
  q("LuceneFuzzy");
2361
2361
  }, Oo = function() {
2362
2362
  q("LuceneProximity");
@@ -2440,9 +2440,9 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2440
2440
  return "\\u" + kt(ie);
2441
2441
  });
2442
2442
  }
2443
- var W = new Array(T.length), Mi, Ui, Xe;
2444
- for (Xe = 0; Xe < T.length; Xe++)
2445
- W[Xe] = T[Xe].description;
2443
+ var W = new Array(T.length), Mi, Ui, Je;
2444
+ for (Je = 0; Je < T.length; Je++)
2445
+ W[Je] = T[Je].description;
2446
2446
  return Mi = T.length > 1 ? W.slice(0, -1).join(", ") + " or " + W[T.length - 1] : W[0], Ui = j ? '"' + le(j) + '"' : "end of input", "Expected " + Mi + " but " + Ui + " found.";
2447
2447
  }
2448
2448
  return a !== null && f(a), new i(
@@ -2490,7 +2490,7 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2490
2490
  for (f = [], $ = y(); $ !== e; )
2491
2491
  f.push($), $ = y();
2492
2492
  if (f !== e)
2493
- if (s.charCodeAt(c) === 123 ? ($ = Pe, c++) : ($ = e, h === 0 && v(Qt)), $ !== e) {
2493
+ if (s.charCodeAt(c) === 123 ? ($ = Te, c++) : ($ = e, h === 0 && v(Qt)), $ !== e) {
2494
2494
  for (T = [], j = y(); j !== e; )
2495
2495
  T.push(j), j = y();
2496
2496
  T !== e ? (j = $t(), j !== e ? (le = At(), le !== e ? (s.charCodeAt(c) === 125 ? (W = qt, c++) : (W = e, h === 0 && v(Wt)), W !== e ? (_ = t, a = Ps(a, j, le), t = a) : (c = t, t = e)) : (c = t, t = e)) : (c = t, t = e)) : (c = t, t = e);
@@ -2641,14 +2641,14 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2641
2641
  }
2642
2642
  function xt() {
2643
2643
  var t, a, l, u, f, $;
2644
- if (t = c, s.charCodeAt(c) === 34 ? (a = We, c++) : (a = e, h === 0 && v(Ye)), a !== e) {
2645
- for (l = [], u = De(); u !== e; )
2646
- l.push(u), u = De();
2644
+ if (t = c, s.charCodeAt(c) === 34 ? (a = Ke, c++) : (a = e, h === 0 && v(Ze)), a !== e) {
2645
+ for (l = [], u = Ne(); u !== e; )
2646
+ l.push(u), u = Ne();
2647
2647
  if (l !== e)
2648
- if (u = Ve(), u !== e) {
2649
- for (f = [], $ = De(); $ !== e; )
2650
- f.push($), $ = De();
2651
- f !== e ? (s.charCodeAt(c) === 34 ? ($ = We, c++) : ($ = e, h === 0 && v(Ye)), $ !== e ? (_ = t, a = Yt(l, u, f), t = a) : (c = t, t = e)) : (c = t, t = e);
2648
+ if (u = Ge(), u !== e) {
2649
+ for (f = [], $ = Ne(); $ !== e; )
2650
+ f.push($), $ = Ne();
2651
+ f !== e ? (s.charCodeAt(c) === 34 ? ($ = Ke, c++) : ($ = e, h === 0 && v(Ze)), $ !== e ? (_ = t, a = Yt(l, u, f), t = a) : (c = t, t = e)) : (c = t, t = e);
2652
2652
  } else
2653
2653
  c = t, t = e;
2654
2654
  else
@@ -2656,44 +2656,44 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2656
2656
  } else
2657
2657
  c = t, t = e;
2658
2658
  if (t === e)
2659
- if (t = c, s.charCodeAt(c) === 34 ? (a = We, c++) : (a = e, h === 0 && v(Ye)), a !== e) {
2660
- for (l = [], u = De(); u !== e; )
2661
- l.push(u), u = De();
2662
- l !== e ? (s.charCodeAt(c) === 34 ? (u = We, c++) : (u = e, h === 0 && v(Ye)), u !== e ? (_ = t, a = Ws(l), t = a) : (c = t, t = e)) : (c = t, t = e);
2659
+ if (t = c, s.charCodeAt(c) === 34 ? (a = Ke, c++) : (a = e, h === 0 && v(Ze)), a !== e) {
2660
+ for (l = [], u = Ne(); u !== e; )
2661
+ l.push(u), u = Ne();
2662
+ l !== e ? (s.charCodeAt(c) === 34 ? (u = Ke, c++) : (u = e, h === 0 && v(Ze)), u !== e ? (_ = t, a = Ws(l), t = a) : (c = t, t = e)) : (c = t, t = e);
2663
2663
  } else
2664
2664
  c = t, t = e;
2665
2665
  return t;
2666
2666
  }
2667
- function De() {
2667
+ function Ne() {
2668
2668
  var t, a, l;
2669
- return t = or(), t === e && (t = c, s.charCodeAt(c) === 92 ? (a = Ke, c++) : (a = e, h === 0 && v(Ze)), a !== e ? (Ys.test(s.charAt(c)) ? (l = s.charAt(c), c++) : (l = e, h === 0 && v(Ks)), l !== e ? (_ = t, a = ft(l), t = a) : (c = t, t = e)) : (c = t, t = e), t === e && (t = c, a = c, h++, l = Ve(), h--, l === e ? a = void 0 : (c = a, a = e), a !== e ? (Zs.test(s.charAt(c)) ? (l = s.charAt(c), c++) : (l = e, h === 0 && v(Vs)), l !== e ? (_ = t, a = ft(l), t = a) : (c = t, t = e)) : (c = t, t = e))), t;
2669
+ return t = or(), t === e && (t = c, s.charCodeAt(c) === 92 ? (a = Ve, c++) : (a = e, h === 0 && v(Xe)), a !== e ? (Ys.test(s.charAt(c)) ? (l = s.charAt(c), c++) : (l = e, h === 0 && v(Ks)), l !== e ? (_ = t, a = ft(l), t = a) : (c = t, t = e)) : (c = t, t = e), t === e && (t = c, a = c, h++, l = Ge(), h--, l === e ? a = void 0 : (c = a, a = e), a !== e ? (Zs.test(s.charAt(c)) ? (l = s.charAt(c), c++) : (l = e, h === 0 && v(Vs)), l !== e ? (_ = t, a = ft(l), t = a) : (c = t, t = e)) : (c = t, t = e))), t;
2670
2670
  }
2671
2671
  function Ei() {
2672
2672
  var t, a, l, u, f;
2673
- for (t = c, a = [], l = Ne(); l !== e; )
2674
- a.push(l), l = Ne();
2673
+ for (t = c, a = [], l = je(); l !== e; )
2674
+ a.push(l), l = je();
2675
2675
  if (a !== e)
2676
- if (l = Ve(), l !== e) {
2677
- for (u = [], f = Ne(); f !== e; )
2678
- u.push(f), f = Ne();
2676
+ if (l = Ge(), l !== e) {
2677
+ for (u = [], f = je(); f !== e; )
2678
+ u.push(f), f = je();
2679
2679
  u !== e ? (_ = t, a = Yt(a, l, u), t = a) : (c = t, t = e);
2680
2680
  } else
2681
2681
  c = t, t = e;
2682
2682
  else
2683
2683
  c = t, t = e;
2684
2684
  if (t === e) {
2685
- if (t = c, a = [], l = Ne(), l !== e)
2685
+ if (t = c, a = [], l = je(), l !== e)
2686
2686
  for (; l !== e; )
2687
- a.push(l), l = Ne();
2687
+ a.push(l), l = je();
2688
2688
  else
2689
2689
  a = e;
2690
2690
  a !== e && (_ = t, a = Xs(a)), t = a;
2691
2691
  }
2692
2692
  return t;
2693
2693
  }
2694
- function Ne() {
2694
+ function je() {
2695
2695
  var t, a, l, u, f;
2696
- return t = or(), t === e && (t = Io(), t === e && (t = Qo(), t === e && (t = Ho(), t === e && (t = c, a = c, h++, l = Oi(), h--, l === e ? a = void 0 : (c = a, a = e), a !== e ? (l = c, h++, u = qo(), h--, u === e ? l = void 0 : (c = l, l = e), l !== e ? (u = c, h++, f = Ve(), h--, f === e ? u = void 0 : (c = u, u = e), u !== e ? (s.length > c ? (f = s.charAt(c), c++) : (f = e, h === 0 && v(Ur)), f !== e ? (_ = t, a = ft(f), t = a) : (c = t, t = e)) : (c = t, t = e)) : (c = t, t = e)) : (c = t, t = e))))), t;
2696
+ return t = or(), t === e && (t = Io(), t === e && (t = Qo(), t === e && (t = Ho(), t === e && (t = c, a = c, h++, l = Oi(), h--, l === e ? a = void 0 : (c = a, a = e), a !== e ? (l = c, h++, u = qo(), h--, u === e ? l = void 0 : (c = l, l = e), l !== e ? (u = c, h++, f = Ge(), h--, f === e ? u = void 0 : (c = u, u = e), u !== e ? (s.length > c ? (f = s.charAt(c), c++) : (f = e, h === 0 && v(Ur)), f !== e ? (_ = t, a = ft(f), t = a) : (c = t, t = e)) : (c = t, t = e)) : (c = t, t = e)) : (c = t, t = e))))), t;
2697
2697
  }
2698
2698
  function Ho() {
2699
2699
  var t, a;
@@ -2704,7 +2704,7 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2704
2704
  for (t = c, a = [], l = y(); l !== e; )
2705
2705
  a.push(l), l = y();
2706
2706
  if (a !== e)
2707
- if (l = Ve(), l !== e) {
2707
+ if (l = Ge(), l !== e) {
2708
2708
  for (u = [], f = y(); f !== e; )
2709
2709
  u.push(f), f = y();
2710
2710
  u !== e ? (_ = t, a = Yt(a, l, u), t = a) : (c = t, t = e);
@@ -2723,11 +2723,11 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2723
2723
  }
2724
2724
  function Io() {
2725
2725
  var t, a, l;
2726
- return t = c, s.charCodeAt(c) === 92 ? (a = Ke, c++) : (a = e, h === 0 && v(Ze)), a !== e ? (l = Oi(), l !== e ? (_ = t, a = ft(l), t = a) : (c = t, t = e)) : (c = t, t = e), t;
2726
+ return t = c, s.charCodeAt(c) === 92 ? (a = Ve, c++) : (a = e, h === 0 && v(Xe)), a !== e ? (l = Oi(), l !== e ? (_ = t, a = ft(l), t = a) : (c = t, t = e)) : (c = t, t = e), t;
2727
2727
  }
2728
2728
  function Qo() {
2729
2729
  var t, a, l;
2730
- return t = c, s.charCodeAt(c) === 92 ? (a = Ke, c++) : (a = e, h === 0 && v(Ze)), a !== e ? (s.substr(c, 2).toLowerCase() === Nr ? (l = s.substr(c, 2), c += 2) : (l = e, h === 0 && v(jr)), l === e && (s.substr(c, 3).toLowerCase() === zr ? (l = s.substr(c, 3), c += 3) : (l = e, h === 0 && v(Rr)), l === e && (s.substr(c, 3).toLowerCase() === Br ? (l = s.substr(c, 3), c += 3) : (l = e, h === 0 && v(Mr)))), l !== e ? (_ = t, a = oo(l), t = a) : (c = t, t = e)) : (c = t, t = e), t;
2730
+ return t = c, s.charCodeAt(c) === 92 ? (a = Ve, c++) : (a = e, h === 0 && v(Xe)), a !== e ? (s.substr(c, 2).toLowerCase() === Nr ? (l = s.substr(c, 2), c += 2) : (l = e, h === 0 && v(jr)), l === e && (s.substr(c, 3).toLowerCase() === zr ? (l = s.substr(c, 3), c += 3) : (l = e, h === 0 && v(Rr)), l === e && (s.substr(c, 3).toLowerCase() === Br ? (l = s.substr(c, 3), c += 3) : (l = e, h === 0 && v(Mr)))), l !== e ? (_ = t, a = oo(l), t = a) : (c = t, t = e)) : (c = t, t = e), t;
2731
2731
  }
2732
2732
  function qo() {
2733
2733
  var t;
@@ -2745,7 +2745,7 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2745
2745
  var t;
2746
2746
  return h++, bo.test(s.charAt(c)) ? (t = s.charAt(c), c++) : (t = e, h === 0 && v(vo)), h--, t === e && h === 0 && v(go), t;
2747
2747
  }
2748
- function Ve() {
2748
+ function Ge() {
2749
2749
  var t, a, l;
2750
2750
  return t = c, _ = c, a = mo(), a ? a = void 0 : a = e, a !== e ? (s.substr(c, 14) === Vr ? (l = Vr, c += 14) : (l = e, h === 0 && v(yo)), l !== e ? (_ = t, a = $o(), t = a) : (c = t, t = e)) : (c = t, t = e), t;
2751
2751
  }
@@ -2789,7 +2789,7 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2789
2789
  }
2790
2790
  function Yo() {
2791
2791
  var t, a, l, u, f, $;
2792
- if (t = c, a = je(), a !== e) {
2792
+ if (t = c, a = ze(), a !== e) {
2793
2793
  for (l = [], u = y(); u !== e; )
2794
2794
  l.push(u), u = y();
2795
2795
  if (l !== e)
@@ -2818,7 +2818,7 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2818
2818
  if (s.charCodeAt(c) === 58 ? (u = V, c++) : (u = e, h === 0 && v(U)), u !== e) {
2819
2819
  for (f = [], $ = y(); $ !== e; )
2820
2820
  f.push($), $ = y();
2821
- f !== e ? ($ = je(), $ !== e ? (_ = t, a = So(), t = a) : (c = t, t = e)) : (c = t, t = e);
2821
+ f !== e ? ($ = ze(), $ !== e ? (_ = t, a = So(), t = a) : (c = t, t = e)) : (c = t, t = e);
2822
2822
  } else
2823
2823
  c = t, t = e;
2824
2824
  else
@@ -2832,14 +2832,14 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2832
2832
  if (t = c, a = Pi(), a !== e) {
2833
2833
  for (l = [], u = y(); u !== e; )
2834
2834
  l.push(u), u = y();
2835
- l !== e ? (u = je(), u !== e ? (_ = t, a = ci(), t = a) : (c = t, t = e)) : (c = t, t = e);
2835
+ l !== e ? (u = ze(), u !== e ? (_ = t, a = ci(), t = a) : (c = t, t = e)) : (c = t, t = e);
2836
2836
  } else
2837
2837
  c = t, t = e;
2838
2838
  if (t === e)
2839
2839
  if (t = c, a = rn(), a !== e) {
2840
2840
  for (l = [], u = y(); u !== e; )
2841
2841
  l.push(u), u = y();
2842
- l !== e ? (u = je(), u !== e ? (f = Ri(), f !== e ? ($ = je(), $ !== e ? (T = sn(), T !== e ? (_ = t, a = ci(), t = a) : (c = t, t = e)) : (c = t, t = e)) : (c = t, t = e)) : (c = t, t = e)) : (c = t, t = e);
2842
+ l !== e ? (u = ze(), u !== e ? (f = Ri(), f !== e ? ($ = ze(), $ !== e ? (T = sn(), T !== e ? (_ = t, a = ci(), t = a) : (c = t, t = e)) : (c = t, t = e)) : (c = t, t = e)) : (c = t, t = e)) : (c = t, t = e);
2843
2843
  } else
2844
2844
  c = t, t = e;
2845
2845
  return t;
@@ -2873,8 +2873,8 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2873
2873
  var t, a, l, u, f;
2874
2874
  if (t = c, a = ji(), a !== e)
2875
2875
  if (s.charCodeAt(c) === 126 ? (l = Vt, c++) : (l = e, h === 0 && v(Xt)), l !== e) {
2876
- for (u = [], Te.test(s.charAt(c)) ? (f = s.charAt(c), c++) : (f = e, h === 0 && v(Le)); f !== e; )
2877
- u.push(f), Te.test(s.charAt(c)) ? (f = s.charAt(c), c++) : (f = e, h === 0 && v(Le));
2876
+ for (u = [], Le.test(s.charAt(c)) ? (f = s.charAt(c), c++) : (f = e, h === 0 && v(De)); f !== e; )
2877
+ u.push(f), Le.test(s.charAt(c)) ? (f = s.charAt(c), c++) : (f = e, h === 0 && v(De));
2878
2878
  u !== e ? (_ = t, a = Eo(), t = a) : (c = t, t = e);
2879
2879
  } else
2880
2880
  c = t, t = e;
@@ -2886,8 +2886,8 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2886
2886
  var t, a, l, u, f;
2887
2887
  if (t = c, a = xt(), a !== e)
2888
2888
  if (s.charCodeAt(c) === 126 ? (l = Vt, c++) : (l = e, h === 0 && v(Xt)), l !== e) {
2889
- for (u = [], Te.test(s.charAt(c)) ? (f = s.charAt(c), c++) : (f = e, h === 0 && v(Le)); f !== e; )
2890
- u.push(f), Te.test(s.charAt(c)) ? (f = s.charAt(c), c++) : (f = e, h === 0 && v(Le));
2889
+ for (u = [], Le.test(s.charAt(c)) ? (f = s.charAt(c), c++) : (f = e, h === 0 && v(De)); f !== e; )
2890
+ u.push(f), Le.test(s.charAt(c)) ? (f = s.charAt(c), c++) : (f = e, h === 0 && v(De));
2891
2891
  u !== e ? (_ = t, a = Oo(), t = a) : (c = t, t = e);
2892
2892
  } else
2893
2893
  c = t, t = e;
@@ -2897,10 +2897,10 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2897
2897
  }
2898
2898
  function Jo() {
2899
2899
  var t, a, l, u, f;
2900
- if (t = c, a = je(), a !== e)
2900
+ if (t = c, a = ze(), a !== e)
2901
2901
  if (s.charCodeAt(c) === 94 ? (l = di, c++) : (l = e, h === 0 && v(fi)), l !== e) {
2902
- for (u = [], Te.test(s.charAt(c)) ? (f = s.charAt(c), c++) : (f = e, h === 0 && v(Le)); f !== e; )
2903
- u.push(f), Te.test(s.charAt(c)) ? (f = s.charAt(c), c++) : (f = e, h === 0 && v(Le));
2902
+ for (u = [], Le.test(s.charAt(c)) ? (f = s.charAt(c), c++) : (f = e, h === 0 && v(De)); f !== e; )
2903
+ u.push(f), Le.test(s.charAt(c)) ? (f = s.charAt(c), c++) : (f = e, h === 0 && v(De));
2904
2904
  u !== e ? (_ = t, a = Po(), t = a) : (c = t, t = e);
2905
2905
  } else
2906
2906
  c = t, t = e;
@@ -2908,7 +2908,7 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2908
2908
  c = t, t = e;
2909
2909
  return t;
2910
2910
  }
2911
- function je() {
2911
+ function ze() {
2912
2912
  var t;
2913
2913
  return t = xt(), t === e && (t = ji()), t;
2914
2914
  }
@@ -2931,11 +2931,11 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2931
2931
  }
2932
2932
  function tn() {
2933
2933
  var t, a, l;
2934
- return t = c, s.charCodeAt(c) === 92 ? (a = Ke, c++) : (a = e, h === 0 && v(Ze)), a !== e ? (l = zi(), l !== e ? (_ = t, a = To(), t = a) : (c = t, t = e)) : (c = t, t = e), t;
2934
+ return t = c, s.charCodeAt(c) === 92 ? (a = Ve, c++) : (a = e, h === 0 && v(Xe)), a !== e ? (l = zi(), l !== e ? (_ = t, a = To(), t = a) : (c = t, t = e)) : (c = t, t = e), t;
2935
2935
  }
2936
2936
  function zi() {
2937
2937
  var t;
2938
- return s.charCodeAt(c) === 43 ? (t = ei, c++) : (t = e, h === 0 && v(ti)), t === e && (s.charCodeAt(c) === 45 ? (t = ri, c++) : (t = e, h === 0 && v(ii)), t === e && (s.charCodeAt(c) === 61 ? (t = Lo, c++) : (t = e, h === 0 && v(Do)), t === e && (s.charCodeAt(c) === 62 ? (t = Kr, c++) : (t = e, h === 0 && v(Zr)), t === e && (s.charCodeAt(c) === 60 ? (t = Wr, c++) : (t = e, h === 0 && v(Yr)), t === e && (s.charCodeAt(c) === 33 ? (t = oi, c++) : (t = e, h === 0 && v(ni)), t === e && (s.charCodeAt(c) === 40 ? (t = A, c++) : (t = e, h === 0 && v(C)), t === e && (s.charCodeAt(c) === 41 ? (t = N, c++) : (t = e, h === 0 && v(z)), t === e && (s.charCodeAt(c) === 123 ? (t = Pe, c++) : (t = e, h === 0 && v(Qt)), t === e && (s.charCodeAt(c) === 125 ? (t = qt, c++) : (t = e, h === 0 && v(Wt)), t === e && (s.charCodeAt(c) === 91 ? (t = gi, c++) : (t = e, h === 0 && v(bi)), t === e && (s.charCodeAt(c) === 93 ? (t = vi, c++) : (t = e, h === 0 && v(mi)), t === e && (s.charCodeAt(c) === 94 ? (t = di, c++) : (t = e, h === 0 && v(fi)), t === e && (s.charCodeAt(c) === 34 ? (t = We, c++) : (t = e, h === 0 && v(Ye)), t === e && (s.charCodeAt(c) === 126 ? (t = Vt, c++) : (t = e, h === 0 && v(Xt)), t === e && (s.charCodeAt(c) === 42 ? (t = gt, c++) : (t = e, h === 0 && v(bt)), t === e && (s.charCodeAt(c) === 63 ? (t = li, c++) : (t = e, h === 0 && v(pi)), t === e && (s.charCodeAt(c) === 58 ? (t = V, c++) : (t = e, h === 0 && v(U)), t === e && (s.charCodeAt(c) === 92 ? (t = Ke, c++) : (t = e, h === 0 && v(Ze)), t === e && (s.charCodeAt(c) === 47 ? (t = Kt, c++) : (t = e, h === 0 && v(Zt))))))))))))))))))))), t;
2938
+ return s.charCodeAt(c) === 43 ? (t = ei, c++) : (t = e, h === 0 && v(ti)), t === e && (s.charCodeAt(c) === 45 ? (t = ri, c++) : (t = e, h === 0 && v(ii)), t === e && (s.charCodeAt(c) === 61 ? (t = Lo, c++) : (t = e, h === 0 && v(Do)), t === e && (s.charCodeAt(c) === 62 ? (t = Kr, c++) : (t = e, h === 0 && v(Zr)), t === e && (s.charCodeAt(c) === 60 ? (t = Wr, c++) : (t = e, h === 0 && v(Yr)), t === e && (s.charCodeAt(c) === 33 ? (t = oi, c++) : (t = e, h === 0 && v(ni)), t === e && (s.charCodeAt(c) === 40 ? (t = A, c++) : (t = e, h === 0 && v(C)), t === e && (s.charCodeAt(c) === 41 ? (t = N, c++) : (t = e, h === 0 && v(z)), t === e && (s.charCodeAt(c) === 123 ? (t = Te, c++) : (t = e, h === 0 && v(Qt)), t === e && (s.charCodeAt(c) === 125 ? (t = qt, c++) : (t = e, h === 0 && v(Wt)), t === e && (s.charCodeAt(c) === 91 ? (t = gi, c++) : (t = e, h === 0 && v(bi)), t === e && (s.charCodeAt(c) === 93 ? (t = vi, c++) : (t = e, h === 0 && v(mi)), t === e && (s.charCodeAt(c) === 94 ? (t = di, c++) : (t = e, h === 0 && v(fi)), t === e && (s.charCodeAt(c) === 34 ? (t = Ke, c++) : (t = e, h === 0 && v(Ze)), t === e && (s.charCodeAt(c) === 126 ? (t = Vt, c++) : (t = e, h === 0 && v(Xt)), t === e && (s.charCodeAt(c) === 42 ? (t = gt, c++) : (t = e, h === 0 && v(bt)), t === e && (s.charCodeAt(c) === 63 ? (t = li, c++) : (t = e, h === 0 && v(pi)), t === e && (s.charCodeAt(c) === 58 ? (t = V, c++) : (t = e, h === 0 && v(U)), t === e && (s.charCodeAt(c) === 92 ? (t = Ve, c++) : (t = e, h === 0 && v(Xe)), t === e && (s.charCodeAt(c) === 47 ? (t = Kt, c++) : (t = e, h === 0 && v(Zt))))))))))))))))))))), t;
2939
2939
  }
2940
2940
  function Ri() {
2941
2941
  var t, a, l, u, f;
@@ -2960,7 +2960,7 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2960
2960
  }
2961
2961
  function rn() {
2962
2962
  var t;
2963
- return s.charCodeAt(c) === 91 ? (t = gi, c++) : (t = e, h === 0 && v(bi)), t === e && (s.charCodeAt(c) === 123 ? (t = Pe, c++) : (t = e, h === 0 && v(Qt))), t;
2963
+ return s.charCodeAt(c) === 91 ? (t = gi, c++) : (t = e, h === 0 && v(bi)), t === e && (s.charCodeAt(c) === 123 ? (t = Te, c++) : (t = e, h === 0 && v(Qt))), t;
2964
2964
  }
2965
2965
  function sn() {
2966
2966
  var t;
@@ -2984,7 +2984,7 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2984
2984
  if (typeof r > "u")
2985
2985
  throw new Error("expression must be a string, got undefined instead");
2986
2986
  return o(r, { ...i, helpers: { nodeTypes: ue } });
2987
- }, Fe = (r, i = {}) => Or(
2987
+ }, He = (r, i = {}) => Or(
2988
2988
  r,
2989
2989
  {
2990
2990
  ...i,
@@ -3014,7 +3014,7 @@ function ua(r) {
3014
3014
  return r.includes(ne) ? {
3015
3015
  type: "wildcard",
3016
3016
  value: r
3017
- } : Fe(r);
3017
+ } : He(r);
3018
3018
  }
3019
3019
  function _s(r, i) {
3020
3020
  const { value: o } = r, s = o.split(ne).map(la).join("[\\s\\S]*");
@@ -3079,7 +3079,7 @@ function ga(r, i, o = !1) {
3079
3079
  throw new Error("fieldName is a required argument");
3080
3080
  if (i === void 0)
3081
3081
  throw new Error("value is a required argument");
3082
- const s = typeof r == "string" ? Fe(r) : Be(r), n = typeof i == "string" ? Fe(i) : Be(i), e = Be(o);
3082
+ const s = typeof r == "string" ? He(r) : Me(r), n = typeof i == "string" ? He(i) : Me(i), e = Me(o);
3083
3083
  return {
3084
3084
  arguments: [s, n, e]
3085
3085
  };
@@ -3115,8 +3115,8 @@ function ba(r, i, o = {}, s = {}) {
3115
3115
  bool: {
3116
3116
  should: m.reduce((z, M) => {
3117
3117
  const V = (U) => {
3118
- var Pe;
3119
- return d.type !== "wildcard" || !((Pe = M.subType) != null && Pe.nested) || s != null && s.nested ? U : {
3118
+ var Te;
3119
+ return d.type !== "wildcard" || !((Te = M.subType) != null && Te.nested) || s != null && s.nested ? U : {
3120
3120
  nested: {
3121
3121
  path: M.subType.nested.path,
3122
3122
  query: U,
@@ -3240,7 +3240,7 @@ function Ca(r, ...i) {
3240
3240
  return o;
3241
3241
  }
3242
3242
  function Ea(r, i) {
3243
- const o = Ca(i, "gt", "lt", "gte", "lte", "format"), s = typeof r == "string" ? Fe(r) : ue.literal.buildNode(r), n = Object.entries(o).map((e) => {
3243
+ const o = Ca(i, "gt", "lt", "gte", "lte", "format"), s = typeof r == "string" ? He(r) : ue.literal.buildNode(r), n = Object.entries(o).map((e) => {
3244
3244
  let [p, d] = e;
3245
3245
  return ue.namedArg.buildNode(p, d);
3246
3246
  });
@@ -3307,7 +3307,7 @@ const Ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3307
3307
  }, Symbol.toStringTag, { value: "Module" }));
3308
3308
  function La(r) {
3309
3309
  return {
3310
- arguments: [Be(r)]
3310
+ arguments: [Me(r)]
3311
3311
  };
3312
3312
  }
3313
3313
  function Da(r, i, o = {}, s = {}) {
@@ -3330,7 +3330,7 @@ const Na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3330
3330
  }, Symbol.toStringTag, { value: "Module" }));
3331
3331
  function ja(r, i) {
3332
3332
  return {
3333
- arguments: [typeof r == "string" ? Fe(r) : Be(r), i]
3333
+ arguments: [typeof r == "string" ? He(r) : Me(r), i]
3334
3334
  };
3335
3335
  }
3336
3336
  function za(r, i, o = {}, s = {}) {
@@ -3509,7 +3509,7 @@ const Qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3509
3509
  DQLSyntaxError: ws,
3510
3510
  doesKueryExpressionHaveLuceneSyntaxError: ca,
3511
3511
  fromKueryExpression: zt,
3512
- fromLiteralExpression: Fe,
3512
+ fromLiteralExpression: He,
3513
3513
  nodeTypes: ue,
3514
3514
  parse: zt,
3515
3515
  toCql: ke,
@@ -3592,7 +3592,7 @@ let Y = class extends L {
3592
3592
  for (let n in r)
3593
3593
  o[n] = r[n];
3594
3594
  let s = document.createDocumentFragment();
3595
- return ct(i, s), o.appendChild(s), o.open = !0, document.body.appendChild(o), o;
3595
+ return pt(i, s), o.appendChild(s), o.open = !0, document.body.appendChild(o), o;
3596
3596
  }
3597
3597
  connectedCallback() {
3598
3598
  super.connectedCallback(), this.dialogElement.then((r) => r.addEventListener("keydown", this._handleKeyDown));
@@ -3798,22 +3798,22 @@ re([
3798
3798
  b({ type: String, reflect: !0 })
3799
3799
  ], K.prototype, "outputLanguage", 2);
3800
3800
  re([
3801
- pt()
3801
+ qe()
3802
3802
  ], K.prototype, "completions", 2);
3803
3803
  re([
3804
- pt()
3804
+ qe()
3805
3805
  ], K.prototype, "completionIndex", 2);
3806
3806
  re([
3807
3807
  b({ type: Array, reflect: !0 })
3808
3808
  ], K.prototype, "fields", 2);
3809
3809
  re([
3810
- Ce(".autocomplete")
3810
+ Ee(".autocomplete")
3811
3811
  ], K.prototype, "_autocomplete", 2);
3812
3812
  re([
3813
3813
  Ft(".autocomplete")
3814
3814
  ], K.prototype, "_asyncAutocomplete", 2);
3815
3815
  re([
3816
- Ce("spectric-input")
3816
+ Ee("spectric-input")
3817
3817
  ], K.prototype, "_input", 2);
3818
3818
  K = re([
3819
3819
  D("spectric-query")
@@ -3863,7 +3863,7 @@ var xc = Object.defineProperty, Ac = Object.getOwnPropertyDescriptor, Lr = (r, i
3863
3863
  (p = r[e]) && (n = (s ? p(i, o, n) : p(n)) || n);
3864
3864
  return s && n && xc(i, o, n), n;
3865
3865
  };
3866
- let nt = class extends L {
3866
+ let ct = class extends L {
3867
3867
  constructor() {
3868
3868
  super(...arguments), this.level = 0;
3869
3869
  }
@@ -3891,16 +3891,16 @@ let nt = class extends L {
3891
3891
  return x` <slot></slot> `;
3892
3892
  }
3893
3893
  };
3894
- nt.styles = _c;
3894
+ ct.styles = _c;
3895
3895
  Lr([
3896
3896
  b({ type: Number, reflect: !0 })
3897
- ], nt.prototype, "level", 2);
3897
+ ], ct.prototype, "level", 2);
3898
3898
  Lr([
3899
3899
  b({ attribute: !1 })
3900
- ], nt.prototype, "layers", 2);
3901
- nt = Lr([
3900
+ ], ct.prototype, "layers", 2);
3901
+ ct = Lr([
3902
3902
  D("spectric-panel")
3903
- ], nt);
3903
+ ], ct);
3904
3904
  var Sc = Object.defineProperty, kc = Object.getOwnPropertyDescriptor, Cs = (r, i, o, s) => {
3905
3905
  for (var n = s > 1 ? void 0 : s ? kc(i, o) : i, e = r.length - 1, p; e >= 0; e--)
3906
3906
  (p = r[e]) && (n = (s ? p(i, o, n) : p(n)) || n);
@@ -4158,7 +4158,7 @@ var Oc = Object.defineProperty, Pc = Object.getOwnPropertyDescriptor, Q = (r, i,
4158
4158
  return s && n && Oc(i, o, n), n;
4159
4159
  }, Tc = /* @__PURE__ */ ((r) => (r.horizontal = "horizontal", r.vertical = "vertical", r))(Tc || {});
4160
4160
  const Lc = "spectric-splitview";
4161
- let B = class extends ut {
4161
+ let B = class extends ht {
4162
4162
  constructor() {
4163
4163
  super(), this.orientation = "horizontal", this.percentage = 50, this.invisible = !1, this.min = 10, this.max = 90, this.useSavedState = !0, this.isDragging = !1, this._error = !1, this._emitChange = () => {
4164
4164
  let { percentage: i, orientation: o, invisible: s, min: n, max: e, useSavedState: p } = this, d = this.getAttribute("id");
@@ -4239,24 +4239,24 @@ Q([
4239
4239
  b({ type: Boolean, reflect: !0 })
4240
4240
  ], B.prototype, "useSavedState", 2);
4241
4241
  Q([
4242
- pt()
4242
+ qe()
4243
4243
  ], B.prototype, "isDragging", 2);
4244
4244
  Q([
4245
- pt()
4245
+ qe()
4246
4246
  ], B.prototype, "_error", 2);
4247
4247
  Q([
4248
4248
  Ft(".splitter")
4249
4249
  ], B.prototype, "_splitter", 2);
4250
4250
  Q([
4251
- Ce("slot[name='panel1']")
4251
+ Ee("slot[name='panel1']")
4252
4252
  ], B.prototype, "_panel1", 2);
4253
4253
  Q([
4254
- Ce("slot[name='panel2']")
4254
+ Ee("slot[name='panel2']")
4255
4255
  ], B.prototype, "_panel2", 2);
4256
4256
  B = Q([
4257
4257
  D(Lc)
4258
4258
  ], B);
4259
- var Dc = Object.defineProperty, Nc = Object.getOwnPropertyDescriptor, Oe = (r, i, o, s) => {
4259
+ var Dc = Object.defineProperty, Nc = Object.getOwnPropertyDescriptor, Pe = (r, i, o, s) => {
4260
4260
  for (var n = s > 1 ? void 0 : s ? Nc(i, o) : i, e = r.length - 1, p; e >= 0; e--)
4261
4261
  (p = r[e]) && (n = (s ? p(i, o, n) : p(n)) || n);
4262
4262
  return s && n && Dc(i, o, n), n;
@@ -4314,25 +4314,25 @@ let fe = class extends L {
4314
4314
  `;
4315
4315
  }
4316
4316
  };
4317
- Oe([
4317
+ Pe([
4318
4318
  b({ type: Number, reflect: !0 })
4319
4319
  ], fe.prototype, "page", 2);
4320
- Oe([
4320
+ Pe([
4321
4321
  b({ type: Number, reflect: !0 })
4322
4322
  ], fe.prototype, "pageSize", 2);
4323
- Oe([
4323
+ Pe([
4324
4324
  b({ type: Number, reflect: !0 })
4325
4325
  ], fe.prototype, "totalItems", 2);
4326
- Oe([
4326
+ Pe([
4327
4327
  b({ type: Array })
4328
4328
  ], fe.prototype, "pageSizeOptions", 2);
4329
- Oe([
4330
- Ce("select")
4329
+ Pe([
4330
+ Ee("select")
4331
4331
  ], fe.prototype, "select", 2);
4332
- Oe([
4332
+ Pe([
4333
4333
  b({ type: String, reflect: !0 })
4334
4334
  ], fe.prototype, "size", 2);
4335
- fe = Oe([
4335
+ fe = Pe([
4336
4336
  D(jc)
4337
4337
  ], fe);
4338
4338
  var zc = Object.defineProperty, Rc = Object.getOwnPropertyDescriptor, Os = (r, i, o, s) => {
@@ -4383,7 +4383,7 @@ yr = Os([
4383
4383
  * Copyright 2017 Google LLC
4384
4384
  * SPDX-License-Identifier: BSD-3-Clause
4385
4385
  */
4386
- const is = (r) => Nn(r) ? r._$litType$.h : r.strings, Mc = lt(class extends Ut {
4386
+ const is = (r) => Nn(r) ? r._$litType$.h : r.strings, Mc = ut(class extends Ut {
4387
4387
  constructor(r) {
4388
4388
  super(r), this.et = /* @__PURE__ */ new WeakMap();
4389
4389
  }
@@ -4397,7 +4397,7 @@ const is = (r) => Nn(r) ? r._$litType$.h : r.strings, Mc = lt(class extends Ut {
4397
4397
  let e = this.et.get(o);
4398
4398
  if (e === void 0) {
4399
4399
  const p = document.createDocumentFragment();
4400
- e = ct(E, p), e.setConnected(!1), this.et.set(o, e);
4400
+ e = pt(E, p), e.setConnected(!1), this.et.set(o, e);
4401
4401
  }
4402
4402
  dr(e, [n]), we(e, void 0, n);
4403
4403
  }
@@ -4414,17 +4414,17 @@ const is = (r) => Nn(r) ? r._$litType$.h : r.strings, Mc = lt(class extends Ut {
4414
4414
  return this.render(i);
4415
4415
  }
4416
4416
  });
4417
- var Uc = Object.defineProperty, Fc = Object.getOwnPropertyDescriptor, ht = (r, i, o, s) => {
4417
+ var Uc = Object.defineProperty, Fc = Object.getOwnPropertyDescriptor, Ye = (r, i, o, s) => {
4418
4418
  for (var n = s > 1 ? void 0 : s ? Fc(i, o) : i, e = r.length - 1, p; e >= 0; e--)
4419
4419
  (p = r[e]) && (n = (s ? p(i, o, n) : p(n)) || n);
4420
4420
  return s && n && Uc(i, o, n), n;
4421
4421
  };
4422
4422
  const Hc = "spectric-table-cell";
4423
- let He = class extends L {
4423
+ let Ce = class extends L {
4424
4424
  constructor() {
4425
- super(...arguments), this.styleRules = { whiteSpace: "", width: "" }, this._handleFilterOut = () => {
4425
+ super(...arguments), this.overflow = "", this.styleRules = { whiteSpace: "", width: "" }, this._handleFilterOut = () => {
4426
4426
  let r;
4427
- this.column.key && typeof this.row == "object" && (r = Me(this.row, this.column.key)), this._emitFilter({
4427
+ this.column.key && typeof this.row == "object" && (r = Ue(this.row, this.column.key)), this._emitFilter({
4428
4428
  include: !1,
4429
4429
  row: this.row,
4430
4430
  value: r,
@@ -4432,12 +4432,18 @@ let He = class extends L {
4432
4432
  });
4433
4433
  }, this._handleFilterFor = () => {
4434
4434
  let r;
4435
- this.column.key && typeof this.row == "object" && (r = Me(this.row, this.column.key)), this._emitFilter({
4435
+ this.column.key && typeof this.row == "object" && (r = Ue(this.row, this.column.key)), this._emitFilter({
4436
4436
  include: !0,
4437
4437
  row: this.row,
4438
4438
  value: r,
4439
4439
  column: this.column
4440
4440
  });
4441
+ }, this._displayTooltip = () => {
4442
+ let r = this.querySelector("div"), i = this.querySelector("span");
4443
+ if (r && i) {
4444
+ let o = i.getBoundingClientRect(), s = r.getBoundingClientRect();
4445
+ o.width * o.height > s.width * s.height ? (console.log("We need to show a tooltip witht he content because we are overflowing"), this.overflow = this.getRenderedValue()) : this.overflow = "";
4446
+ }
4441
4447
  };
4442
4448
  }
4443
4449
  createRenderRoot() {
@@ -4452,10 +4458,12 @@ let He = class extends L {
4452
4458
  detail: r
4453
4459
  }));
4454
4460
  }
4455
- render() {
4461
+ getRenderedValue() {
4456
4462
  let r;
4457
- this.column.render ? r = this.column.render(this.row, this.index, this.table) : this.column.key && typeof this.row == "object" ? r = Me(this.row, this.column.key) : r = x`error`;
4458
- let i = ["cell-contents"];
4463
+ return this.column.render ? r = this.column.render(this.row, this.index, this.table) : this.column.key && typeof this.row == "object" ? r = Ue(this.row, this.column.key) : r = x`error`, r;
4464
+ }
4465
+ render() {
4466
+ let r = this.getRenderedValue(), i = ["cell-contents"];
4459
4467
  this.column.filterable && i.push("filterable");
4460
4468
  let o = Mc(
4461
4469
  this.column.filterable ? x`<div class="table-cell-actions">
@@ -4466,31 +4474,34 @@ let He = class extends L {
4466
4474
  width: this.column.width ? this.column.width + "px" : "",
4467
4475
  whiteSpace: this.column.whiteSpace || ""
4468
4476
  }, x`
4469
- <td style=${Cr(this.styleRules)}>
4477
+ <td style=${Cr(this.styleRules)} @mouseenter=${this._displayTooltip}>
4470
4478
  ${o}
4471
- <div class=${i.join(" ")}>${r}</div>
4479
+ <div class=${i.join(" ")}>${this.overflow ? x`<spectric-tooltip .text=${this.overflow}></spectric-tooltip>` : null}<span>${r}</span></div>
4472
4480
  </td>
4473
4481
  `;
4474
4482
  }
4475
4483
  };
4476
- ht([
4484
+ Ye([
4477
4485
  b({ type: Object, attribute: !1 })
4478
- ], He.prototype, "row", 2);
4479
- ht([
4486
+ ], Ce.prototype, "row", 2);
4487
+ Ye([
4480
4488
  b({ type: Number, attribute: !1 })
4481
- ], He.prototype, "index", 2);
4482
- ht([
4489
+ ], Ce.prototype, "index", 2);
4490
+ Ye([
4483
4491
  b({ type: Object, attribute: !1 })
4484
- ], He.prototype, "column", 2);
4485
- ht([
4486
- Ce("td")
4487
- ], He.prototype, "td", 2);
4488
- He = ht([
4492
+ ], Ce.prototype, "column", 2);
4493
+ Ye([
4494
+ qe()
4495
+ ], Ce.prototype, "overflow", 2);
4496
+ Ye([
4497
+ Ee("td")
4498
+ ], Ce.prototype, "td", 2);
4499
+ Ce = Ye([
4489
4500
  D(Hc)
4490
- ], He);
4491
- const Me = (r, i) => {
4501
+ ], Ce);
4502
+ const Ue = (r, i) => {
4492
4503
  let o = i.split("."), s = r[o[0]];
4493
- return o.length > 1 && (s = Me(s, o.slice(1).join("."))), s;
4504
+ return s == null || o.length > 1 && (s = Ue(s, o.slice(1).join("."))), s;
4494
4505
  };
4495
4506
  /**
4496
4507
  * @license
@@ -4501,7 +4512,7 @@ const ss = (r, i, o) => {
4501
4512
  const s = /* @__PURE__ */ new Map();
4502
4513
  for (let n = i; n <= o; n++) s.set(r[n], n);
4503
4514
  return s;
4504
- }, Bt = lt(class extends Ut {
4515
+ }, Bt = ut(class extends Ut {
4505
4516
  constructor(r) {
4506
4517
  if (super(r), r.type !== kr.CHILD) throw Error("repeat() can only be used in text expressions");
4507
4518
  }
@@ -4590,7 +4601,7 @@ var Wc = Object.defineProperty, Yc = Object.getOwnPropertyDescriptor, dt = (r, i
4590
4601
  return s && n && Wc(i, o, n), n;
4591
4602
  };
4592
4603
  const Kc = "spectric-table-virtual-body";
4593
- let Ie = class extends ut {
4604
+ let Ie = class extends ht {
4594
4605
  constructor() {
4595
4606
  super(), this.data = [], this.columns = [], this.rowHeight = 30, this.startIndex = 0, this.addDisposableListener(() => this.table.querySelector(".table-wrapper"), "scroll", () => {
4596
4607
  const r = this.table.querySelector(".table-wrapper").scrollTop;
@@ -4654,7 +4665,7 @@ Ie = dt([
4654
4665
  const Zc = (r) => r.map(({ key: i, sortDirection: o, compareFn: s }) => (n, e) => {
4655
4666
  if (!i)
4656
4667
  return;
4657
- let p = Me(n, i), d = Me(e, i);
4668
+ let p = Ue(n, i), d = Ue(e, i);
4658
4669
  if (s)
4659
4670
  return s(n, e);
4660
4671
  if (typeof p == "number" || typeof p == "bigint" || typeof p == "boolean") {
@@ -4736,7 +4747,7 @@ let ae = class extends L {
4736
4747
  return this.select !== "none" && r.unshift({
4737
4748
  title: this.select === "multi" ? x`<spectric-input variant="checkbox" @change=${this._handleSelectAllChange} .helperText=${"Select All"}></spectric-input>` : null,
4738
4749
  render: (o) => {
4739
- let s = document.createElement("div"), n = this.selected.includes(o), e = x`<spectric-input variant="checkbox" class="table-checkbox-${this.select}" ${rt({ checked: n })} @change=${(p) => {
4750
+ let s = document.createElement("div"), n = this.selected.includes(o), e = x`<spectric-input variant="checkbox" class="table-checkbox-${this.select}" ${st({ checked: n })} @change=${(p) => {
4740
4751
  p.stopPropagation();
4741
4752
  let d = this.selected.findIndex((g) => g === o);
4742
4753
  if (!(p.target.checked && d !== -1)) {
@@ -4748,7 +4759,7 @@ let ae = class extends L {
4748
4759
  p.target.checked && (this.select === "single" && (this.selected = []), this.selected.push(o)), this.dispatchEvent(new CustomEvent("selected", { detail: [...this.selected] }));
4749
4760
  }
4750
4761
  }}></spectric-input>`;
4751
- return ct(e, s), e;
4762
+ return pt(e, s), e;
4752
4763
  }
4753
4764
  }), x`
4754
4765
  <div class="table-wrapper" style="--rowHeight:${this.rowHeight - 4}px">
@@ -4757,7 +4768,7 @@ let ae = class extends L {
4757
4768
  ${this.rowHeight >= 25 && this.data.length >= 100 ? x`<spectric-table-virtual-body .columns=${r} .data=${this.data} .table=${this} .rowHeight=${this.rowHeight}></spectric-table-virtual-body>` : x`<spectric-table-body .columns=${r} .data=${this.data} .table=${this}></spectric-table-body>`}
4758
4769
  </div>
4759
4770
  </div>
4760
- ${this.pagination ? x`<spectric-pagination ${rt(this.pagination)} @change=${this._handlePaginationChange}></spectric-pagination>` : null}
4771
+ ${this.pagination ? x`<spectric-pagination ${st(this.pagination)} @change=${this._handlePaginationChange}></spectric-pagination>` : null}
4761
4772
  `;
4762
4773
  }
4763
4774
  };
@@ -4780,7 +4791,7 @@ be([
4780
4791
  b({ type: Number, reflect: !0 })
4781
4792
  ], ae.prototype, "rowHeight", 2);
4782
4793
  be([
4783
- pt()
4794
+ qe()
4784
4795
  ], ae.prototype, "selected", 2);
4785
4796
  ae = be([
4786
4797
  D(Gc)
@@ -4792,7 +4803,7 @@ var tl = Object.defineProperty, rl = Object.getOwnPropertyDescriptor, ve = (r, i
4792
4803
  };
4793
4804
  const il = "spectric-tooltip";
4794
4805
  var sl = /* @__PURE__ */ ((r) => (r.top = "top", r.bottom = "bottom", r.left = "left", r.right = "right", r.mouse = "mouse", r))(sl || {});
4795
- let J = class extends ut {
4806
+ let J = class extends ht {
4796
4807
  constructor() {
4797
4808
  super(), this.delay = 100, this.animationDuration = 0, this.text = "", this.position = "right", this.maxWidth = 300, this.portalTarget = document.body, this.open = !1, this._getMousePosition = (r) => {
4798
4809
  this.mouseLocation = {
@@ -4809,7 +4820,7 @@ let J = class extends ut {
4809
4820
  <span class="tooltip-caret"></span>
4810
4821
  <div class="tooltip-content">${this.text}</div>
4811
4822
  </div>`;
4812
- ct(r, this.portalElement), !(!this.target || !this.target.checkVisibility()) && (this.portalTarget.appendChild(this.portalElement), this.open = !0, requestAnimationFrame(this.positionTooltip));
4823
+ pt(r, this.portalElement), !(!this.target || !this.target.checkVisibility()) && (this.portalTarget.appendChild(this.portalElement), this.open = !0, requestAnimationFrame(this.positionTooltip));
4813
4824
  }, this.applyStyle = (r) => {
4814
4825
  Object.entries(r).forEach(([i, o]) => {
4815
4826
  this.portalElement.style.setProperty(i, o);
@@ -4891,7 +4902,7 @@ export {
4891
4902
  Y as DialogElement,
4892
4903
  Ss as DialogElementTag,
4893
4904
  Lc as ElementTag,
4894
- Ue as Header,
4905
+ Fe as Header,
4895
4906
  sa as InputVariants,
4896
4907
  Tc as Orientations,
4897
4908
  fe as PaginationElement,
@@ -4899,7 +4910,7 @@ export {
4899
4910
  H as SpectricButton,
4900
4911
  O as SpectricInput,
4901
4912
  I as SpectricPage,
4902
- nt as SpectricPanel,
4913
+ ct as SpectricPanel,
4903
4914
  K as SpectricQuery,
4904
4915
  Rt as SpectricThemeProvider,
4905
4916
  B as SplitView,