@eox/itemfilter 1.2.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,27 +1,27 @@
1
- var Ma = Object.defineProperty;
2
- var Ms = (t) => {
1
+ var Sa = Object.defineProperty;
2
+ var Ss = (t) => {
3
3
  throw TypeError(t);
4
4
  };
5
- var Sa = (t, e, r) => e in t ? Ma(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
6
- var Kr = (t, e, r) => Sa(t, typeof e != "symbol" ? e + "" : e, r), Li = (t, e, r) => e.has(t) || Ms("Cannot " + r);
7
- var Fe = (t, e, r) => (Li(t, e, "read from private field"), r ? r.call(t) : e.get(t)), Ge = (t, e, r) => e.has(t) ? Ms("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), Ln = (t, e, r, n) => (Li(t, e, "write to private field"), n ? n.call(t, r) : e.set(t, r), r), le = (t, e, r) => (Li(t, e, "access private method"), r);
5
+ var Ea = (t, e, r) => e in t ? Sa(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
6
+ var Kr = (t, e, r) => Ea(t, typeof e != "symbol" ? e + "" : e, r), Li = (t, e, r) => e.has(t) || Ss("Cannot " + r);
7
+ var Fe = (t, e, r) => (Li(t, e, "read from private field"), r ? r.call(t) : e.get(t)), Ge = (t, e, r) => e.has(t) ? Ss("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), Ln = (t, e, r, n) => (Li(t, e, "write to private field"), n ? n.call(t, r) : e.set(t, r), r), le = (t, e, r) => (Li(t, e, "access private method"), r);
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2019 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const jn = globalThis, hs = jn.ShadowRoot && (jn.ShadyCSS === void 0 || jn.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, io = Symbol(), Ss = /* @__PURE__ */ new WeakMap();
14
- let Ea = class {
13
+ const jn = globalThis, ds = jn.ShadowRoot && (jn.ShadyCSS === void 0 || jn.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, so = Symbol(), Es = /* @__PURE__ */ new WeakMap();
14
+ let Ca = class {
15
15
  constructor(e, r, n) {
16
- if (this._$cssResult$ = !0, n !== io) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
16
+ if (this._$cssResult$ = !0, n !== so) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
17
17
  this.cssText = e, this.t = r;
18
18
  }
19
19
  get styleSheet() {
20
20
  let e = this.o;
21
21
  const r = this.t;
22
- if (hs && e === void 0) {
22
+ if (ds && e === void 0) {
23
23
  const n = r !== void 0 && r.length === 1;
24
- n && (e = Ss.get(r)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && Ss.set(r, e));
24
+ n && (e = Es.get(r)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && Es.set(r, e));
25
25
  }
26
26
  return e;
27
27
  }
@@ -29,26 +29,26 @@ let Ea = class {
29
29
  return this.cssText;
30
30
  }
31
31
  };
32
- const Ca = (t) => new Ea(typeof t == "string" ? t : t + "", void 0, io), ka = (t, e) => {
33
- if (hs) t.adoptedStyleSheets = e.map((r) => r instanceof CSSStyleSheet ? r : r.styleSheet);
32
+ const ka = (t) => new Ca(typeof t == "string" ? t : t + "", void 0, so), La = (t, e) => {
33
+ if (ds) t.adoptedStyleSheets = e.map((r) => r instanceof CSSStyleSheet ? r : r.styleSheet);
34
34
  else for (const r of e) {
35
35
  const n = document.createElement("style"), i = jn.litNonce;
36
36
  i !== void 0 && n.setAttribute("nonce", i), n.textContent = r.cssText, t.appendChild(n);
37
37
  }
38
- }, Es = hs ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
38
+ }, Cs = ds ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
39
39
  let r = "";
40
40
  for (const n of e.cssRules) r += n.cssText;
41
- return Ca(r);
41
+ return ka(r);
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: La, defineProperty: Pa, getOwnPropertyDescriptor: Ta, getOwnPropertyNames: Ra, getOwnPropertySymbols: Oa, getPrototypeOf: Da } = Object, Et = globalThis, Cs = Et.trustedTypes, ja = Cs ? Cs.emptyScript : "", Pi = Et.reactiveElementPolyfillSupport, Fr = (t, e) => t, zi = { toAttribute(t, e) {
48
+ const { is: Pa, defineProperty: Ta, getOwnPropertyDescriptor: Ra, getOwnPropertyNames: Oa, getOwnPropertySymbols: Da, getPrototypeOf: ja } = Object, Et = globalThis, ks = Et.trustedTypes, Na = ks ? ks.emptyScript : "", Pi = Et.reactiveElementPolyfillSupport, Fr = (t, e) => t, zi = { toAttribute(t, e) {
49
49
  switch (e) {
50
50
  case Boolean:
51
- t = t ? ja : null;
51
+ t = t ? Na : null;
52
52
  break;
53
53
  case Object:
54
54
  case Array:
@@ -73,7 +73,7 @@ const { is: La, defineProperty: Pa, getOwnPropertyDescriptor: Ta, getOwnProperty
73
73
  }
74
74
  }
75
75
  return r;
76
- } }, so = (t, e) => !La(t, e), ks = { attribute: !0, type: String, converter: zi, reflect: !1, hasChanged: so };
76
+ } }, oo = (t, e) => !Pa(t, e), Ls = { attribute: !0, type: String, converter: zi, reflect: !1, hasChanged: oo };
77
77
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Et.litPropertyMetadata ?? (Et.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
78
  class vr extends HTMLElement {
79
79
  static addInitializer(e) {
@@ -82,14 +82,14 @@ class vr extends HTMLElement {
82
82
  static get observedAttributes() {
83
83
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
84
84
  }
85
- static createProperty(e, r = ks) {
85
+ static createProperty(e, r = Ls) {
86
86
  if (r.state && (r.attribute = !1), this._$Ei(), this.elementProperties.set(e, r), !r.noAccessor) {
87
87
  const n = Symbol(), i = this.getPropertyDescriptor(e, n, r);
88
- i !== void 0 && Pa(this.prototype, e, i);
88
+ i !== void 0 && Ta(this.prototype, e, i);
89
89
  }
90
90
  }
91
91
  static getPropertyDescriptor(e, r, n) {
92
- const { get: i, set: s } = Ta(this.prototype, e) ?? { get() {
92
+ const { get: i, set: s } = Ra(this.prototype, e) ?? { get() {
93
93
  return this[r];
94
94
  }, set(o) {
95
95
  this[r] = o;
@@ -102,17 +102,17 @@ class vr extends HTMLElement {
102
102
  }, configurable: !0, enumerable: !0 };
103
103
  }
104
104
  static getPropertyOptions(e) {
105
- return this.elementProperties.get(e) ?? ks;
105
+ return this.elementProperties.get(e) ?? Ls;
106
106
  }
107
107
  static _$Ei() {
108
108
  if (this.hasOwnProperty(Fr("elementProperties"))) return;
109
- const e = Da(this);
109
+ const e = ja(this);
110
110
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
111
111
  }
112
112
  static finalize() {
113
113
  if (this.hasOwnProperty(Fr("finalized"))) return;
114
114
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Fr("properties"))) {
115
- const r = this.properties, n = [...Ra(r), ...Oa(r)];
115
+ const r = this.properties, n = [...Oa(r), ...Da(r)];
116
116
  for (const i of n) this.createProperty(i, r[i]);
117
117
  }
118
118
  const e = this[Symbol.metadata];
@@ -131,8 +131,8 @@ class vr extends HTMLElement {
131
131
  const r = [];
132
132
  if (Array.isArray(e)) {
133
133
  const n = new Set(e.flat(1 / 0).reverse());
134
- for (const i of n) r.unshift(Es(i));
135
- } else e !== void 0 && r.push(Es(e));
134
+ for (const i of n) r.unshift(Cs(i));
135
+ } else e !== void 0 && r.push(Cs(e));
136
136
  return r;
137
137
  }
138
138
  static _$Eu(e, r) {
@@ -161,7 +161,7 @@ class vr extends HTMLElement {
161
161
  }
162
162
  createRenderRoot() {
163
163
  const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
164
- return ka(e, this.constructor.elementStyles), e;
164
+ return La(e, this.constructor.elementStyles), e;
165
165
  }
166
166
  connectedCallback() {
167
167
  var e;
@@ -200,7 +200,7 @@ class vr extends HTMLElement {
200
200
  }
201
201
  requestUpdate(e, r, n) {
202
202
  if (e !== void 0) {
203
- if (n ?? (n = this.constructor.getPropertyOptions(e)), !(n.hasChanged ?? so)(this[e], r)) return;
203
+ if (n ?? (n = this.constructor.getPropertyOptions(e)), !(n.hasChanged ?? oo)(this[e], r)) return;
204
204
  this.P(e, r, n);
205
205
  }
206
206
  this.isUpdatePending === !1 && (this._$ES = this._$ET());
@@ -279,42 +279,42 @@ vr.elementStyles = [], vr.shadowRootOptions = { mode: "open" }, vr[Fr("elementPr
279
279
  * Copyright 2017 Google LLC
280
280
  * SPDX-License-Identifier: BSD-3-Clause
281
281
  */
282
- const Xr = globalThis, Nn = Xr.trustedTypes, Ls = Nn ? Nn.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, ds = "$lit$", wt = `lit$${Math.random().toFixed(9).slice(2)}$`, fs = "?" + wt, Na = `<${fs}>`, Ft = document, Zr = () => Ft.createComment(""), Jr = (t) => t === null || typeof t != "object" && typeof t != "function", ps = Array.isArray, oo = (t) => ps(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Ti = `[
283
- \f\r]`, Gr = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ps = /-->/g, Ts = />/g, Vt = RegExp(`>|${Ti}(?:([^\\s"'>=/]+)(${Ti}*=${Ti}*(?:[^
284
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Rs = /'/g, Os = /"/g, ao = /^(?:script|style|textarea|title)$/i, Ha = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), Y = Ha(1), Ct = Symbol.for("lit-noChange"), ge = Symbol.for("lit-nothing"), Ds = /* @__PURE__ */ new WeakMap(), Yt = Ft.createTreeWalker(Ft, 129);
285
- function lo(t, e) {
286
- if (!ps(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
287
- return Ls !== void 0 ? Ls.createHTML(e) : e;
288
- }
289
- const co = (t, e) => {
282
+ const Xr = globalThis, Nn = Xr.trustedTypes, Ps = Nn ? Nn.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, fs = "$lit$", wt = `lit$${Math.random().toFixed(9).slice(2)}$`, ps = "?" + wt, Ha = `<${ps}>`, Ft = document, Zr = () => Ft.createComment(""), Jr = (t) => t === null || typeof t != "object" && typeof t != "function", gs = Array.isArray, ao = (t) => gs(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Ti = `[
283
+ \f\r]`, Gr = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ts = /-->/g, Rs = />/g, Vt = RegExp(`>|${Ti}(?:([^\\s"'>=/]+)(${Ti}*=${Ti}*(?:[^
284
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Os = /'/g, Ds = /"/g, lo = /^(?:script|style|textarea|title)$/i, Ia = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), Y = Ia(1), Ct = Symbol.for("lit-noChange"), ge = Symbol.for("lit-nothing"), js = /* @__PURE__ */ new WeakMap(), Yt = Ft.createTreeWalker(Ft, 129);
285
+ function co(t, e) {
286
+ if (!gs(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
287
+ return Ps !== void 0 ? Ps.createHTML(e) : e;
288
+ }
289
+ const uo = (t, e) => {
290
290
  const r = t.length - 1, n = [];
291
291
  let i, s = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", o = Gr;
292
292
  for (let l = 0; l < r; l++) {
293
293
  const c = t[l];
294
294
  let h, p, y = -1, w = 0;
295
- for (; w < c.length && (o.lastIndex = w, p = o.exec(c), p !== null); ) w = o.lastIndex, o === Gr ? p[1] === "!--" ? o = Ps : p[1] !== void 0 ? o = Ts : p[2] !== void 0 ? (ao.test(p[2]) && (i = RegExp("</" + p[2], "g")), o = Vt) : p[3] !== void 0 && (o = Vt) : o === Vt ? p[0] === ">" ? (o = i ?? Gr, y = -1) : p[1] === void 0 ? y = -2 : (y = o.lastIndex - p[2].length, h = p[1], o = p[3] === void 0 ? Vt : p[3] === '"' ? Os : Rs) : o === Os || o === Rs ? o = Vt : o === Ps || o === Ts ? o = Gr : (o = Vt, i = void 0);
295
+ for (; w < c.length && (o.lastIndex = w, p = o.exec(c), p !== null); ) w = o.lastIndex, o === Gr ? p[1] === "!--" ? o = Ts : p[1] !== void 0 ? o = Rs : p[2] !== void 0 ? (lo.test(p[2]) && (i = RegExp("</" + p[2], "g")), o = Vt) : p[3] !== void 0 && (o = Vt) : o === Vt ? p[0] === ">" ? (o = i ?? Gr, y = -1) : p[1] === void 0 ? y = -2 : (y = o.lastIndex - p[2].length, h = p[1], o = p[3] === void 0 ? Vt : p[3] === '"' ? Ds : Os) : o === Ds || o === Os ? o = Vt : o === Ts || o === Rs ? o = Gr : (o = Vt, i = void 0);
296
296
  const m = o === Vt && t[l + 1].startsWith("/>") ? " " : "";
297
- s += o === Gr ? c + Na : y >= 0 ? (n.push(h), c.slice(0, y) + ds + c.slice(y) + wt + m) : c + wt + (y === -2 ? l : m);
297
+ s += o === Gr ? c + Ha : y >= 0 ? (n.push(h), c.slice(0, y) + fs + c.slice(y) + wt + m) : c + wt + (y === -2 ? l : m);
298
298
  }
299
- return [lo(t, s + (t[r] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), n];
299
+ return [co(t, s + (t[r] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), n];
300
300
  };
301
301
  class Qr {
302
302
  constructor({ strings: e, _$litType$: r }, n) {
303
303
  let i;
304
304
  this.parts = [];
305
305
  let s = 0, o = 0;
306
- const l = e.length - 1, c = this.parts, [h, p] = co(e, r);
306
+ const l = e.length - 1, c = this.parts, [h, p] = uo(e, r);
307
307
  if (this.el = Qr.createElement(h, n), Yt.currentNode = this.el.content, r === 2 || r === 3) {
308
308
  const y = this.el.content.firstChild;
309
309
  y.replaceWith(...y.childNodes);
310
310
  }
311
311
  for (; (i = Yt.nextNode()) !== null && c.length < l; ) {
312
312
  if (i.nodeType === 1) {
313
- if (i.hasAttributes()) for (const y of i.getAttributeNames()) if (y.endsWith(ds)) {
314
- const w = p[o++], m = i.getAttribute(y).split(wt), A = /([.?@])?(.*)/.exec(w);
315
- c.push({ type: 1, index: s, name: A[2], strings: m, ctor: A[1] === "." ? fo : A[1] === "?" ? po : A[1] === "@" ? go : sn }), i.removeAttribute(y);
313
+ if (i.hasAttributes()) for (const y of i.getAttributeNames()) if (y.endsWith(fs)) {
314
+ const w = p[o++], m = i.getAttribute(y).split(wt), _ = /([.?@])?(.*)/.exec(w);
315
+ c.push({ type: 1, index: s, name: _[2], strings: m, ctor: _[1] === "." ? po : _[1] === "?" ? go : _[1] === "@" ? yo : sn }), i.removeAttribute(y);
316
316
  } else y.startsWith(wt) && (c.push({ type: 6, index: s }), i.removeAttribute(y));
317
- if (ao.test(i.tagName)) {
317
+ if (lo.test(i.tagName)) {
318
318
  const y = i.textContent.split(wt), w = y.length - 1;
319
319
  if (w > 0) {
320
320
  i.textContent = Nn ? Nn.emptyScript : "";
@@ -322,7 +322,7 @@ class Qr {
322
322
  i.append(y[w], Zr());
323
323
  }
324
324
  }
325
- } else if (i.nodeType === 8) if (i.data === fs) c.push({ type: 2, index: s });
325
+ } else if (i.nodeType === 8) if (i.data === ps) c.push({ type: 2, index: s });
326
326
  else {
327
327
  let y = -1;
328
328
  for (; (y = i.data.indexOf(wt, y + 1)) !== -1; ) c.push({ type: 7, index: s }), y += wt.length - 1;
@@ -342,7 +342,7 @@ function Xt(t, e, r = t, n) {
342
342
  const s = Jr(e) ? void 0 : e._$litDirective$;
343
343
  return (i == null ? void 0 : i.constructor) !== s && ((l = i == null ? void 0 : i._$AO) == null || l.call(i, !1), s === void 0 ? i = void 0 : (i = new s(t), i._$AT(t, r, n)), n !== void 0 ? (r.o ?? (r.o = []))[n] = i : r.l = i), i !== void 0 && (e = Xt(t, i._$AS(t, e.values), i, n)), e;
344
344
  }
345
- class uo {
345
+ class ho {
346
346
  constructor(e, r) {
347
347
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = r;
348
348
  }
@@ -359,7 +359,7 @@ class uo {
359
359
  for (; c !== void 0; ) {
360
360
  if (o === c.index) {
361
361
  let h;
362
- c.type === 2 ? h = new Fn(s, s.nextSibling, this, e) : c.type === 1 ? h = new c.ctor(s, c.name, c.strings, this, e) : c.type === 6 && (h = new yo(s, this, e)), this._$AV.push(h), c = n[++l];
362
+ c.type === 2 ? h = new Fn(s, s.nextSibling, this, e) : c.type === 1 ? h = new c.ctor(s, c.name, c.strings, this, e) : c.type === 6 && (h = new bo(s, this, e)), this._$AV.push(h), c = n[++l];
363
363
  }
364
364
  o !== (c == null ? void 0 : c.index) && (s = Yt.nextNode(), o++);
365
365
  }
@@ -370,7 +370,7 @@ class uo {
370
370
  for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(e, n, r), r += n.strings.length - 2) : n._$AI(e[r])), r++;
371
371
  }
372
372
  }
373
- let Fn = class ho {
373
+ let Fn = class fo {
374
374
  get _$AU() {
375
375
  var e;
376
376
  return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this.v;
@@ -390,7 +390,7 @@ let Fn = class ho {
390
390
  return this._$AB;
391
391
  }
392
392
  _$AI(e, r = this) {
393
- e = Xt(this, e, r), Jr(e) ? e === ge || e == null || e === "" ? (this._$AH !== ge && this._$AR(), this._$AH = ge) : e !== this._$AH && e !== Ct && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : oo(e) ? this.k(e) : this._(e);
393
+ e = Xt(this, e, r), Jr(e) ? e === ge || e == null || e === "" ? (this._$AH !== ge && this._$AR(), this._$AH = ge) : e !== this._$AH && e !== Ct && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : ao(e) ? this.k(e) : this._(e);
394
394
  }
395
395
  O(e) {
396
396
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -403,22 +403,22 @@ let Fn = class ho {
403
403
  }
404
404
  $(e) {
405
405
  var s;
406
- const { values: r, _$litType$: n } = e, i = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = Qr.createElement(lo(n.h, n.h[0]), this.options)), n);
406
+ const { values: r, _$litType$: n } = e, i = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = Qr.createElement(co(n.h, n.h[0]), this.options)), n);
407
407
  if (((s = this._$AH) == null ? void 0 : s._$AD) === i) this._$AH.p(r);
408
408
  else {
409
- const o = new uo(i, this), l = o.u(this.options);
409
+ const o = new ho(i, this), l = o.u(this.options);
410
410
  o.p(r), this.T(l), this._$AH = o;
411
411
  }
412
412
  }
413
413
  _$AC(e) {
414
- let r = Ds.get(e.strings);
415
- return r === void 0 && Ds.set(e.strings, r = new Qr(e)), r;
414
+ let r = js.get(e.strings);
415
+ return r === void 0 && js.set(e.strings, r = new Qr(e)), r;
416
416
  }
417
417
  k(e) {
418
- ps(this._$AH) || (this._$AH = [], this._$AR());
418
+ gs(this._$AH) || (this._$AH = [], this._$AR());
419
419
  const r = this._$AH;
420
420
  let n, i = 0;
421
- for (const s of e) i === r.length ? r.push(n = new ho(this.O(Zr()), this.O(Zr()), this, this.options)) : n = r[i], n._$AI(s), i++;
421
+ for (const s of e) i === r.length ? r.push(n = new fo(this.O(Zr()), this.O(Zr()), this, this.options)) : n = r[i], n._$AI(s), i++;
422
422
  i < r.length && (this._$AR(n && n._$AB.nextSibling, i), r.length = i);
423
423
  }
424
424
  _$AR(e = this._$AA.nextSibling, r) {
@@ -458,7 +458,7 @@ class sn {
458
458
  e === ge ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
459
459
  }
460
460
  }
461
- class fo extends sn {
461
+ class po extends sn {
462
462
  constructor() {
463
463
  super(...arguments), this.type = 3;
464
464
  }
@@ -466,7 +466,7 @@ class fo extends sn {
466
466
  this.element[this.name] = e === ge ? void 0 : e;
467
467
  }
468
468
  }
469
- class po extends sn {
469
+ class go extends sn {
470
470
  constructor() {
471
471
  super(...arguments), this.type = 4;
472
472
  }
@@ -474,7 +474,7 @@ class po extends sn {
474
474
  this.element.toggleAttribute(this.name, !!e && e !== ge);
475
475
  }
476
476
  }
477
- class go extends sn {
477
+ class yo extends sn {
478
478
  constructor(e, r, n, i, s) {
479
479
  super(e, r, n, i, s), this.type = 5;
480
480
  }
@@ -488,7 +488,7 @@ class go extends sn {
488
488
  typeof this._$AH == "function" ? this._$AH.call(((r = this.options) == null ? void 0 : r.host) ?? this.element, e) : this._$AH.handleEvent(e);
489
489
  }
490
490
  }
491
- class yo {
491
+ class bo {
492
492
  constructor(e, r, n) {
493
493
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = r, this.options = n;
494
494
  }
@@ -499,9 +499,9 @@ class yo {
499
499
  Xt(this, e);
500
500
  }
501
501
  }
502
- const Ia = { M: ds, P: wt, A: fs, C: 1, L: co, R: uo, D: oo, V: Xt, I: Fn, H: sn, N: po, U: go, B: fo, F: yo }, Ri = Xr.litHtmlPolyfillSupport;
502
+ const Ba = { M: fs, P: wt, A: ps, C: 1, L: uo, R: ho, D: ao, V: Xt, I: Fn, H: sn, N: go, U: yo, B: po, F: bo }, Ri = Xr.litHtmlPolyfillSupport;
503
503
  Ri == null || Ri(Qr, Fn), (Xr.litHtmlVersions ?? (Xr.litHtmlVersions = [])).push("3.2.0");
504
- const Ba = (t, e, r) => {
504
+ const Ua = (t, e, r) => {
505
505
  const n = (r == null ? void 0 : r.renderBefore) ?? e;
506
506
  let i = n._$litPart$;
507
507
  if (i === void 0) {
@@ -526,7 +526,7 @@ class Je extends vr {
526
526
  }
527
527
  update(e) {
528
528
  const r = this.render();
529
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this.o = Ba(r, this.renderRoot, this.renderOptions);
529
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this.o = Ua(r, this.renderRoot, this.renderOptions);
530
530
  }
531
531
  connectedCallback() {
532
532
  var e;
@@ -540,8 +540,8 @@ class Je extends vr {
540
540
  return Ct;
541
541
  }
542
542
  }
543
- var no;
544
- Je._$litElement$ = !0, Je.finalized = !0, (no = globalThis.litElementHydrateSupport) == null || no.call(globalThis, { LitElement: Je });
543
+ var io;
544
+ Je._$litElement$ = !0, Je.finalized = !0, (io = globalThis.litElementHydrateSupport) == null || io.call(globalThis, { LitElement: Je });
545
545
  const Oi = globalThis.litElementPolyfillSupport;
546
546
  Oi == null || Oi({ LitElement: Je });
547
547
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.0");
@@ -564,7 +564,7 @@ function* Xn(t, e) {
564
564
  function qe(t, e, r) {
565
565
  return t ? e(t) : r == null ? void 0 : r(t);
566
566
  }
567
- const Ua = `
567
+ const za = `
568
568
  :host {
569
569
  display: flex;
570
570
  box-sizing: border-box;
@@ -930,21 +930,14 @@ button.icon {
930
930
  align-items: center;
931
931
  width: 100%;
932
932
  box-sizing: border-box;
933
- border: 1px solid var(--border-color);
934
- border-radius: 4px;
935
933
  justify-content: space-between;
936
934
  cursor: text;
937
935
  margin-top: 0.5rem;
938
936
  margin-bottom: 0.5rem;
939
937
  background: white;
940
938
  }
941
- .autocomplete-container:hover,
942
- .text-container:hover {
943
- border: 1px solid var(--primary-color);
944
- }
945
939
  .autocomplete-container-wrapper,
946
940
  .text-container-wrapper {
947
- padding: 6px;
948
941
  position: relative;
949
942
  display: flex;
950
943
  align-items: center;
@@ -968,15 +961,25 @@ button.icon {
968
961
  .autocomplete-input,
969
962
  .text-input {
970
963
  flex: 1;
971
- border: none !important;
964
+ border: 1px solid var(--border-color);
972
965
  outline: none;
973
966
  box-sizing: border-box;
974
967
  margin-top: 0 !important;
975
968
  margin-bottom: 0 !important;
976
- padding: 3px 0px !important;
977
969
  min-width: 150px;
970
+ }
971
+ input[type="text"].text-input,
972
+ input[type="text"].autocomplete-input {
973
+ padding: 9px 6px !important;
978
974
  border-radius: 4px;
979
975
  }
976
+ .text-input:hover,
977
+ .autocomplete-input:hover {
978
+ border: 1px solid var(--primary-color);
979
+ }
980
+ .text-input:invalid {
981
+ border: 1px solid red;
982
+ }
980
983
  .selected-items {
981
984
  display: flex;
982
985
  flex-wrap: nowrap;
@@ -1036,9 +1039,15 @@ eox-itemfilter-results li.highlighted {
1036
1039
  .input-container.dirty-filter-input {
1037
1040
  margin-left: 25px;
1038
1041
  }
1039
- `, za = `:root,:host { --spacing: 1rem; --block-spacing-vertical: calc(var(--spacing) * 2); --block-spacing-horizontal: var(--spacing); --background-color: var(--eox-background-color, white); --color: var(--eox-color, #2c3d49); --h-color: var(--eox-h-color, var(--color)); --hover-transparency: var(--eox-hover-transparency, 20%); --bg-hover-transparency: var(--eox-bg-hover-transparency, 40%); --btn-hover-transparency: var(--eox-btn-hover-transparency, 80%); --primary-color: var(--eox-primary-color, #004170); --primary-color-hover: color-mix( in srgb, var(--primary-color) var(--hover-transparency), transparent ); --primary-bg-color-hover: color-mix( in srgb, var(--primary-color) var(--bg-hover-transparency), transparent ); --primary-btn-color-hover: color-mix( in srgb, var(--primary-color) var(--btn-hover-transparency), transparent ); --secondary-color: var(--eox-secondary-color, #c6d4df); --secondary-color-hover: color-mix( in srgb, var(--secondary-color) var(--hover-transparency), transparent ); --secondary-bg-color-hover: color-mix( in srgb, var(--secondary-color) var(--bg-hover-transparency), transparent ); --secondary-btn-color-hover: color-mix( in srgb, var(--secondary-color) var(--btn-hover-transparency), transparent ); --success: var(--eox-success, #26cc0f); --warning: var(--eox-warning, #f18e32); --error: var(--eox-error, #ff5252); --header-font-family: var(--eox-header-font-family, "Roboto", sans-serif); --body-font-family: var(--eox-body-font-family, "Roboto", sans-serif);}* { font-size: normal; font-family: var(--body-font-family); color: var(--eox-color);}h1,h2,h3,h4,h5,h6 { font-family: var(--header-font-family);}span,p,div,main,label { font-family: var(--body-font-family);}@media (min-width: 576px) { .container { max-width: 510px; padding-right: 0; padding-left: 0; --block-spacing-vertical: calc(var(--spacing) * 2.5); }}@media (min-width: 768px) { .container { max-width: 700px; --block-spacing-vertical: calc(var(--spacing) * 3); }}@media (min-width: 992px) { .container { max-width: 920px; --block-spacing-vertical: calc(var(--spacing) * 3.5); }}@media (min-width: 1200px) { .container { max-width: 1130px; --block-spacing-vertical: calc(var(--spacing) * 4); }}.container { width: 100%; margin-right: auto; margin-left: auto; display: block; padding: var(--block-spacing-vertical) var(--block-spacing-horizontal);}h1,h2,h3 { line-height: 120%; margin-top: 0.8rem; margin-bottom: 0.8rem;}p { --font-size: 1rem; font-weight: 400; line-height: 170%; margin-top: 0.8rem; margin-bottom: 1.6rem; font-size: var(--font-size);}body { padding: 0; margin: 0;}.sb-show-main.sb-main-padded { padding: 0;}h1,h2,h3,h4,h5,h6 { --font-weight: 700;}h1 { --font-size: 3rem; --typography-spacing-vertical: 0.5rem;}h2 { --font-size: 2rem; --typography-spacing-vertical: 0.5rem;}h3 { --font-size: 1.75rem; --typography-spacing-vertical: 0.5rem;}h4 { --font-size: 1.5rem; --typography-spacing-vertical: 0.5rem;}h5 { --font-size: 1.25rem; --typography-spacing-vertical: 0.5rem;}h1,h2,h3,h4,h5,h6 { margin-top: 0; margin-bottom: var(--typography-spacing-vertical); color: var(--h-color); font-weight: var(--font-weight); font-size: var(--font-size); font-family: var(--header-font-family);}button,.button { display: inline-flex; position: relative; align-items: center; color: #fff; border-width: 0; outline: none; border-radius: 4px; padding: 16px; height: 36px; cursor: pointer; font-family: inherit; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1.25px; font-weight: 500; box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); transition-property: box-shadow, transform, opacity, background; transition-duration: 0.28s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);}button:hover:not([disabled]):not(.icon):not(.json-editor-btntype-*),.button:hover:not([disabled]):not(.icon) { box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12); background: var(--primary-btn-color-hover);}button,button:active,.button,.button:active { background: var(--primary-color);}button[disabled],.button[disabled] { opacity: 0.5; cursor: not-allowed;}button.block,.button.block { display: block;}button.outline,.button.outline { background: transparent; box-shadow: none; color: var(--primary-color); outline: 1px solid var(--primary-color);}button.outline:hover,.button.outline:hover { background: transparent;}button.icon,.button.icon,button[class*="json-editor-btntype-"] { background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 50%; width: 24px; height: 24px; text-indent: -9999px;}button.icon-text,.button.icon-text { text-indent: 26px;}button.icon-text.block,.button.icon-text.block { text-indent: 20px;}button.icon:before,button.icon-text:before,.button.icon:before,.button.icon-text:before { position: absolute; text-indent: 0; line-height: initial;}button.icon-text.block:before,.button.icon-text.block:before { text-indent: -54px;}button.icon:before,.button.icon:before,button[class*="json-editor-btntype-"]::before { width: 24px; height: 24px; margin-right: 0;}button.icon-text:before,.button.icon-text:before { width: 18px; height: 18px;}button.small,.button.small { height: 28px; padding: 12.4px; font-size: 0.75rem;}button.smallest.icon,button.smallest.icon::before { height: 16px; width: 16px; padding: 0;}input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}textarea { height: 90px; resize: none; border-radius: 4px; box-sizing: border-box !important; width: 100%; padding: 5px 7px; border: 1px solid var(--secondary-color); font-size: smaller; background: var(--background-color);}input[type="text"],input[type="url"],input[type="email"],input[type="password"],input[type="text"],input[type="number"],input[type="search"],input[type="tel"],select { box-sizing: border-box; width: 100%; margin-top: 0.5rem; margin-bottom: 0.5rem; padding: 5px 7px; border-radius: 4px; border: 1px solid #0004;}ul.list-wrap { padding: 0;}ul.list-wrap li:hover,ul.list-wrap li.selected { background: var(--secondary-bg-color-hover);}ul.list-wrap li { list-style: none; padding: 4px;}ul.list-wrap li { border-bottom: 1.2px solid var(--secondary-color);}ul.list-wrap li:first-child { border-top: 1.2px solid var(--secondary-color);}ul.list-wrap li .list { width: 100%; align-items: center; justify-content: space-between; display: flex; align-items: center; cursor: pointer; font-size: small; gap: 10px;}ul.list-wrap li .list span { display: flex; align-items: center; cursor: pointer; font-size: small; flex-grow: 1;}input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}input[type="range"] { -webkit-appearance: none; width: 90%; margin-left: 5%; height: 6px; border-radius: 5px; background: #d7dcdf; outline: none; padding: 0;}input[type="range"]::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; border-radius: 50%; background: #2c3e50; cursor: pointer; transition: background 0.15s ease-in-out;}.range-slider { margin: 60px 0 0 0;}.range-slider { width: 100%;}input[type="range"]::-webkit-slider-thumb:hover { background: #00416f;}input[type="range"]:active::-webkit-slider-thumb { background: #00416f;}input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #2c3e50; cursor: pointer; transition: background 0.15s ease-in-out;}input[type="range"]::-moz-range-thumb:hover { background: #00416f;}input[type="range"]:active::-moz-range-thumb { background: #00416f;}input[type="range"]:focus::-webkit-slider-thumb { box-shadow: 0 0 0 3px #fff0, 0 0 0 6px #00416f00;}.range-slider__value { display: inline-block; position: relative; width: 60px; color: #fff; line-height: 20px; text-align: center; border-radius: 3px; background: #2c3e50; padding: 5px 10px; margin-left: 8px;}.range-slider__value:after { position: absolute; top: 8px; left: -7px; width: 0; height: 0; border-top: 7px solid transparent; border-right: 7px solid #2c3e50; border-bottom: 7px solid transparent; content: "";}input::-moz-focus-inner,input::-moz-focus-outer { border: 0;}`;
1040
- var Vn, bo;
1041
- class qa extends Je {
1042
+ .error-validation {
1043
+ position: relative;
1044
+ color: red;
1045
+ font-size: x-small;
1046
+ top: -8px;
1047
+ }
1048
+ `, qa = `:root,:host { --spacing: 1rem; --block-spacing-vertical: calc(var(--spacing) * 2); --block-spacing-horizontal: var(--spacing); --background-color: var(--eox-background-color, white); --color: var(--eox-color, #2c3d49); --h-color: var(--eox-h-color, var(--color)); --hover-transparency: var(--eox-hover-transparency, 20%); --bg-hover-transparency: var(--eox-bg-hover-transparency, 40%); --btn-hover-transparency: var(--eox-btn-hover-transparency, 80%); --primary-color: var(--eox-primary-color, #004170); --primary-color-hover: color-mix( in srgb, var(--primary-color) var(--hover-transparency), transparent ); --primary-bg-color-hover: color-mix( in srgb, var(--primary-color) var(--bg-hover-transparency), transparent ); --primary-btn-color-hover: color-mix( in srgb, var(--primary-color) var(--btn-hover-transparency), transparent ); --secondary-color: var(--eox-secondary-color, #c6d4df); --secondary-color-hover: color-mix( in srgb, var(--secondary-color) var(--hover-transparency), transparent ); --secondary-bg-color-hover: color-mix( in srgb, var(--secondary-color) var(--bg-hover-transparency), transparent ); --secondary-btn-color-hover: color-mix( in srgb, var(--secondary-color) var(--btn-hover-transparency), transparent ); --success: var(--eox-success, #26cc0f); --warning: var(--eox-warning, #f18e32); --error: var(--eox-error, #ff5252); --header-font-family: var(--eox-header-font-family, "Roboto", sans-serif); --body-font-family: var(--eox-body-font-family, "Roboto", sans-serif);}* { font-size: normal; font-family: var(--body-font-family); color: var(--eox-color);}h1,h2,h3,h4,h5,h6 { font-family: var(--header-font-family);}span,p,div,main,label { font-family: var(--body-font-family);}@media (min-width: 576px) { .container { max-width: 510px; padding-right: 0; padding-left: 0; --block-spacing-vertical: calc(var(--spacing) * 2.5); }}@media (min-width: 768px) { .container { max-width: 700px; --block-spacing-vertical: calc(var(--spacing) * 3); }}@media (min-width: 992px) { .container { max-width: 920px; --block-spacing-vertical: calc(var(--spacing) * 3.5); }}@media (min-width: 1200px) { .container { max-width: 1130px; --block-spacing-vertical: calc(var(--spacing) * 4); }}.container { width: 100%; margin-right: auto; margin-left: auto; display: block; padding: var(--block-spacing-vertical) var(--block-spacing-horizontal);}h1,h2,h3 { line-height: 120%; margin-top: 0.8rem; margin-bottom: 0.8rem;}p { --font-size: 1rem; font-weight: 400; line-height: 170%; margin-top: 0.8rem; margin-bottom: 1.6rem; font-size: var(--font-size);}body { padding: 0; margin: 0;}.sb-show-main.sb-main-padded { padding: 0;}h1,h2,h3,h4,h5,h6 { --font-weight: 700;}h1 { --font-size: 3rem; --typography-spacing-vertical: 0.5rem;}h2 { --font-size: 2rem; --typography-spacing-vertical: 0.5rem;}h3 { --font-size: 1.75rem; --typography-spacing-vertical: 0.5rem;}h4 { --font-size: 1.5rem; --typography-spacing-vertical: 0.5rem;}h5 { --font-size: 1.25rem; --typography-spacing-vertical: 0.5rem;}h1,h2,h3,h4,h5,h6 { margin-top: 0; margin-bottom: var(--typography-spacing-vertical); color: var(--h-color); font-weight: var(--font-weight); font-size: var(--font-size); font-family: var(--header-font-family);}button,.button { display: inline-flex; position: relative; align-items: center; color: #fff; border-width: 0; outline: none; border-radius: 4px; padding: 16px; height: 36px; cursor: pointer; font-family: inherit; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1.25px; font-weight: 500; box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); transition-property: box-shadow, transform, opacity, background; transition-duration: 0.28s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);}button:hover:not([disabled]):not(.icon):not(.json-editor-btntype-*),.button:hover:not([disabled]):not(.icon) { box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12); background: var(--primary-btn-color-hover);}button,button:active,.button,.button:active { background: var(--primary-color);}button[disabled],.button[disabled] { opacity: 0.5; cursor: not-allowed;}button.block,.button.block { display: block;}button.outline,.button.outline { background: transparent; box-shadow: none; color: var(--primary-color); outline: 1px solid var(--primary-color);}button.outline:hover,.button.outline:hover { background: transparent;}button.icon,.button.icon,button[class*="json-editor-btntype-"] { background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 50%; width: 24px; height: 24px; text-indent: -9999px;}button.icon-text,.button.icon-text { text-indent: 26px;}button.icon-text.block,.button.icon-text.block { text-indent: 20px;}button.icon:before,button.icon-text:before,.button.icon:before,.button.icon-text:before { position: absolute; text-indent: 0; line-height: initial;}button.icon-text.block:before,.button.icon-text.block:before { text-indent: -54px;}button.icon:before,.button.icon:before,button[class*="json-editor-btntype-"]::before { width: 24px; height: 24px; margin-right: 0;}button.icon-text:before,.button.icon-text:before { width: 18px; height: 18px;}button.small,.button.small { height: 28px; padding: 12.4px; font-size: 0.75rem;}button.smallest.icon,button.smallest.icon::before { height: 16px; width: 16px; padding: 0;}input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}textarea { height: 90px; resize: none; border-radius: 4px; box-sizing: border-box !important; width: 100%; padding: 5px 7px; border: 1px solid var(--secondary-color); font-size: smaller; background: var(--background-color);}input[type="text"],input[type="url"],input[type="email"],input[type="password"],input[type="text"],input[type="number"],input[type="search"],input[type="tel"],select { box-sizing: border-box; width: 100%; margin-top: 0.5rem; margin-bottom: 0.5rem; padding: 5px 7px; border-radius: 4px; border: 1px solid #0004;}ul.list-wrap { padding: 0;}ul.list-wrap li:hover,ul.list-wrap li.selected { background: var(--secondary-bg-color-hover);}ul.list-wrap li { list-style: none; padding: 4px;}ul.list-wrap li { border-bottom: 1.2px solid var(--secondary-color);}ul.list-wrap li:first-child { border-top: 1.2px solid var(--secondary-color);}ul.list-wrap li .list { width: 100%; align-items: center; justify-content: space-between; display: flex; align-items: center; cursor: pointer; font-size: small; gap: 10px;}ul.list-wrap li .list span { display: flex; align-items: center; cursor: pointer; font-size: small; flex-grow: 1;}input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}input[type="range"] { -webkit-appearance: none; width: 90%; margin-left: 5%; height: 6px; border-radius: 5px; background: #d7dcdf; outline: none; padding: 0;}input[type="range"]::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; border-radius: 50%; background: #2c3e50; cursor: pointer; transition: background 0.15s ease-in-out;}.range-slider { margin: 60px 0 0 0;}.range-slider { width: 100%;}input[type="range"]::-webkit-slider-thumb:hover { background: #00416f;}input[type="range"]:active::-webkit-slider-thumb { background: #00416f;}input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #2c3e50; cursor: pointer; transition: background 0.15s ease-in-out;}input[type="range"]::-moz-range-thumb:hover { background: #00416f;}input[type="range"]:active::-moz-range-thumb { background: #00416f;}input[type="range"]:focus::-webkit-slider-thumb { box-shadow: 0 0 0 3px #fff0, 0 0 0 6px #00416f00;}.range-slider__value { display: inline-block; position: relative; width: 60px; color: #fff; line-height: 20px; text-align: center; border-radius: 3px; background: #2c3e50; padding: 5px 10px; margin-left: 8px;}.range-slider__value:after { position: absolute; top: 8px; left: -7px; width: 0; height: 0; border-top: 7px solid transparent; border-right: 7px solid #2c3e50; border-bottom: 7px solid transparent; content: "";}input::-moz-focus-inner,input::-moz-focus-outer { border: 0;}`;
1049
+ var Vn, mo;
1050
+ class Wa extends Je {
1042
1051
  constructor() {
1043
1052
  super();
1044
1053
  Ge(this, Vn);
@@ -1064,7 +1073,7 @@ class qa extends Je {
1064
1073
  this.filterObject.featured,
1065
1074
  () => Y`<slot name="filter"></slot>`,
1066
1075
  () => Y`<details
1067
- @toggle="${le(this, Vn, bo)}"
1076
+ @toggle="${le(this, Vn, mo)}"
1068
1077
  class="details-filter"
1069
1078
  ?open=${this.filterObject.expanded || ge}
1070
1079
  >
@@ -1092,7 +1101,7 @@ Vn = new WeakSet(), /**
1092
1101
  * @param {Event} event - The toggle event.
1093
1102
  * @private
1094
1103
  */
1095
- bo = function(r) {
1104
+ mo = function(r) {
1096
1105
  this.dispatchEvent(
1097
1106
  new CustomEvent("details-toggled", {
1098
1107
  detail: r,
@@ -1103,35 +1112,35 @@ bo = function(r) {
1103
1112
  };
1104
1113
  customElements.define(
1105
1114
  "eox-itemfilter-expandcontainer",
1106
- qa
1115
+ Wa
1107
1116
  );
1108
1117
  function xt(t) {
1109
- return Array.isArray ? Array.isArray(t) : wo(t) === "[object Array]";
1118
+ return Array.isArray ? Array.isArray(t) : xo(t) === "[object Array]";
1110
1119
  }
1111
- const Wa = 1 / 0;
1112
- function Va(t) {
1120
+ const Va = 1 / 0;
1121
+ function Ka(t) {
1113
1122
  if (typeof t == "string")
1114
1123
  return t;
1115
1124
  let e = t + "";
1116
- return e == "0" && 1 / t == -Wa ? "-0" : e;
1125
+ return e == "0" && 1 / t == -Va ? "-0" : e;
1117
1126
  }
1118
- function Ka(t) {
1119
- return t == null ? "" : Va(t);
1127
+ function Ga(t) {
1128
+ return t == null ? "" : Ka(t);
1120
1129
  }
1121
1130
  function ht(t) {
1122
1131
  return typeof t == "string";
1123
1132
  }
1124
- function mo(t) {
1133
+ function vo(t) {
1125
1134
  return typeof t == "number";
1126
1135
  }
1127
- function Ga(t) {
1128
- return t === !0 || t === !1 || Ya(t) && wo(t) == "[object Boolean]";
1136
+ function Ya(t) {
1137
+ return t === !0 || t === !1 || Fa(t) && xo(t) == "[object Boolean]";
1129
1138
  }
1130
- function vo(t) {
1139
+ function wo(t) {
1131
1140
  return typeof t == "object";
1132
1141
  }
1133
- function Ya(t) {
1134
- return vo(t) && t !== null;
1142
+ function Fa(t) {
1143
+ return wo(t) && t !== null;
1135
1144
  }
1136
1145
  function Xe(t) {
1137
1146
  return t != null;
@@ -1139,16 +1148,16 @@ function Xe(t) {
1139
1148
  function Di(t) {
1140
1149
  return !t.trim().length;
1141
1150
  }
1142
- function wo(t) {
1151
+ function xo(t) {
1143
1152
  return t == null ? t === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(t);
1144
1153
  }
1145
- const Fa = "Incorrect 'index' type", Xa = (t) => `Invalid value for key ${t}`, Za = (t) => `Pattern length exceeds max of ${t}.`, Ja = (t) => `Missing ${t} property in key`, Qa = (t) => `Property 'weight' in key '${t}' must be a positive integer`, js = Object.prototype.hasOwnProperty;
1146
- class el {
1154
+ const Xa = "Incorrect 'index' type", Za = (t) => `Invalid value for key ${t}`, Ja = (t) => `Pattern length exceeds max of ${t}.`, Qa = (t) => `Missing ${t} property in key`, el = (t) => `Property 'weight' in key '${t}' must be a positive integer`, Ns = Object.prototype.hasOwnProperty;
1155
+ class tl {
1147
1156
  constructor(e) {
1148
1157
  this._keys = [], this._keyMap = {};
1149
1158
  let r = 0;
1150
1159
  e.forEach((n) => {
1151
- let i = xo(n);
1160
+ let i = $o(n);
1152
1161
  this._keys.push(i), this._keyMap[i.id] = i, r += i.weight;
1153
1162
  }), this._keys.forEach((n) => {
1154
1163
  n.weight /= r;
@@ -1164,27 +1173,27 @@ class el {
1164
1173
  return JSON.stringify(this._keys);
1165
1174
  }
1166
1175
  }
1167
- function xo(t) {
1176
+ function $o(t) {
1168
1177
  let e = null, r = null, n = null, i = 1, s = null;
1169
1178
  if (ht(t) || xt(t))
1170
- n = t, e = Ns(t), r = qi(t);
1179
+ n = t, e = Hs(t), r = qi(t);
1171
1180
  else {
1172
- if (!js.call(t, "name"))
1173
- throw new Error(Ja("name"));
1181
+ if (!Ns.call(t, "name"))
1182
+ throw new Error(Qa("name"));
1174
1183
  const o = t.name;
1175
- if (n = o, js.call(t, "weight") && (i = t.weight, i <= 0))
1176
- throw new Error(Qa(o));
1177
- e = Ns(o), r = qi(o), s = t.getFn;
1184
+ if (n = o, Ns.call(t, "weight") && (i = t.weight, i <= 0))
1185
+ throw new Error(el(o));
1186
+ e = Hs(o), r = qi(o), s = t.getFn;
1178
1187
  }
1179
1188
  return { path: e, id: r, weight: i, src: n, getFn: s };
1180
1189
  }
1181
- function Ns(t) {
1190
+ function Hs(t) {
1182
1191
  return xt(t) ? t : t.split(".");
1183
1192
  }
1184
1193
  function qi(t) {
1185
1194
  return xt(t) ? t.join(".") : t;
1186
1195
  }
1187
- function tl(t, e) {
1196
+ function rl(t, e) {
1188
1197
  let r = [], n = !1;
1189
1198
  const i = (s, o, l) => {
1190
1199
  if (Xe(s))
@@ -1195,8 +1204,8 @@ function tl(t, e) {
1195
1204
  const h = s[c];
1196
1205
  if (!Xe(h))
1197
1206
  return;
1198
- if (l === o.length - 1 && (ht(h) || mo(h) || Ga(h)))
1199
- r.push(Ka(h));
1207
+ if (l === o.length - 1 && (ht(h) || vo(h) || Ya(h)))
1208
+ r.push(Ga(h));
1200
1209
  else if (xt(h)) {
1201
1210
  n = !0;
1202
1211
  for (let p = 0, y = h.length; p < y; p += 1)
@@ -1206,7 +1215,7 @@ function tl(t, e) {
1206
1215
  };
1207
1216
  return i(t, ht(e) ? e.split(".") : e, 0), n ? r : r[0];
1208
1217
  }
1209
- const rl = {
1218
+ const nl = {
1210
1219
  // Whether the matches should be included in the result set. When `true`, each record in the result
1211
1220
  // set will include the indices of the matched characters.
1212
1221
  // These can consequently be used for highlighting purposes.
@@ -1216,7 +1225,7 @@ const rl = {
1216
1225
  findAllMatches: !1,
1217
1226
  // Minimum number of characters that must be matched before a result is considered a match
1218
1227
  minMatchCharLength: 1
1219
- }, nl = {
1228
+ }, il = {
1220
1229
  // When `true`, the algorithm continues searching to the end of the input even if a perfect
1221
1230
  // match is found before the end of the same input.
1222
1231
  isCaseSensitive: !1,
@@ -1228,7 +1237,7 @@ const rl = {
1228
1237
  shouldSort: !0,
1229
1238
  // Default sort function: sort by ascending score, ascending index
1230
1239
  sortFn: (t, e) => t.score === e.score ? t.idx < e.idx ? -1 : 1 : t.score < e.score ? -1 : 1
1231
- }, il = {
1240
+ }, sl = {
1232
1241
  // Approximately where in the text is the pattern expected to be found?
1233
1242
  location: 0,
1234
1243
  // At what point does the match algorithm give up. A threshold of '0.0' requires a perfect match
@@ -1240,12 +1249,12 @@ const rl = {
1240
1249
  // the exact location specified, a threshold of '1000' would require a perfect match
1241
1250
  // to be within 800 characters of the fuzzy location to be found using a 0.8 threshold.
1242
1251
  distance: 100
1243
- }, sl = {
1252
+ }, ol = {
1244
1253
  // When `true`, it enables the use of unix-like search commands
1245
1254
  useExtendedSearch: !1,
1246
1255
  // The get function to use when fetching an object's properties.
1247
1256
  // The default will search nested paths *ie foo.bar.baz*
1248
- getFn: tl,
1257
+ getFn: rl,
1249
1258
  // When `true`, search will ignore `location` and `distance`, so it won't matter
1250
1259
  // where in the string the pattern appears.
1251
1260
  // More info: https://fusejs.io/concepts/scoring-theory.html#fuzziness-score
@@ -1258,17 +1267,17 @@ const rl = {
1258
1267
  fieldNormWeight: 1
1259
1268
  };
1260
1269
  var G = {
1261
- ...nl,
1262
- ...rl,
1263
1270
  ...il,
1264
- ...sl
1271
+ ...nl,
1272
+ ...sl,
1273
+ ...ol
1265
1274
  };
1266
- const ol = /[^ ]+/g;
1267
- function al(t = 1, e = 3) {
1275
+ const al = /[^ ]+/g;
1276
+ function ll(t = 1, e = 3) {
1268
1277
  const r = /* @__PURE__ */ new Map(), n = Math.pow(10, e);
1269
1278
  return {
1270
1279
  get(i) {
1271
- const s = i.match(ol).length;
1280
+ const s = i.match(al).length;
1272
1281
  if (r.has(s))
1273
1282
  return r.get(s);
1274
1283
  const o = 1 / Math.pow(s, 0.5 * t), l = parseFloat(Math.round(o * n) / n);
@@ -1279,12 +1288,12 @@ function al(t = 1, e = 3) {
1279
1288
  }
1280
1289
  };
1281
1290
  }
1282
- class gs {
1291
+ class ys {
1283
1292
  constructor({
1284
1293
  getFn: e = G.getFn,
1285
1294
  fieldNormWeight: r = G.fieldNormWeight
1286
1295
  } = {}) {
1287
- this.norm = al(r, 3), this.getFn = e, this.isCreated = !1, this.setIndexRecords();
1296
+ this.norm = ll(r, 3), this.getFn = e, this.isCreated = !1, this.setIndexRecords();
1288
1297
  }
1289
1298
  setSources(e = []) {
1290
1299
  this.docs = e;
@@ -1374,12 +1383,12 @@ class gs {
1374
1383
  };
1375
1384
  }
1376
1385
  }
1377
- function $o(t, e, { getFn: r = G.getFn, fieldNormWeight: n = G.fieldNormWeight } = {}) {
1378
- const i = new gs({ getFn: r, fieldNormWeight: n });
1379
- return i.setKeys(t.map(xo)), i.setSources(e), i.create(), i;
1386
+ function _o(t, e, { getFn: r = G.getFn, fieldNormWeight: n = G.fieldNormWeight } = {}) {
1387
+ const i = new ys({ getFn: r, fieldNormWeight: n });
1388
+ return i.setKeys(t.map($o)), i.setSources(e), i.create(), i;
1380
1389
  }
1381
- function ll(t, { getFn: e = G.getFn, fieldNormWeight: r = G.fieldNormWeight } = {}) {
1382
- const { keys: n, records: i } = t, s = new gs({ getFn: e, fieldNormWeight: r });
1390
+ function cl(t, { getFn: e = G.getFn, fieldNormWeight: r = G.fieldNormWeight } = {}) {
1391
+ const { keys: n, records: i } = t, s = new ys({ getFn: e, fieldNormWeight: r });
1383
1392
  return s.setKeys(n), s.setIndexRecords(i), s;
1384
1393
  }
1385
1394
  function Pn(t, {
@@ -1395,7 +1404,7 @@ function Pn(t, {
1395
1404
  const l = Math.abs(n - r);
1396
1405
  return i ? o + l / i : l ? 1 : o;
1397
1406
  }
1398
- function cl(t = [], e = G.minMatchCharLength) {
1407
+ function ul(t = [], e = G.minMatchCharLength) {
1399
1408
  let r = [], n = -1, i = -1, s = 0;
1400
1409
  for (let o = t.length; s < o; s += 1) {
1401
1410
  let l = t[s];
@@ -1404,7 +1413,7 @@ function cl(t = [], e = G.minMatchCharLength) {
1404
1413
  return t[s - 1] && s - n >= e && r.push([n, s - 1]), r;
1405
1414
  }
1406
1415
  const Gt = 32;
1407
- function ul(t, e, r, {
1416
+ function hl(t, e, r, {
1408
1417
  location: n = G.location,
1409
1418
  distance: i = G.distance,
1410
1419
  threshold: s = G.threshold,
@@ -1414,25 +1423,25 @@ function ul(t, e, r, {
1414
1423
  ignoreLocation: h = G.ignoreLocation
1415
1424
  } = {}) {
1416
1425
  if (e.length > Gt)
1417
- throw new Error(Za(Gt));
1426
+ throw new Error(Ja(Gt));
1418
1427
  const p = e.length, y = t.length, w = Math.max(0, Math.min(n, y));
1419
- let m = s, A = w;
1428
+ let m = s, _ = w;
1420
1429
  const E = l > 1 || c, z = E ? Array(y) : [];
1421
1430
  let H;
1422
- for (; (H = t.indexOf(e, A)) > -1; ) {
1431
+ for (; (H = t.indexOf(e, _)) > -1; ) {
1423
1432
  let he = Pn(e, {
1424
1433
  currentLocation: H,
1425
1434
  expectedLocation: w,
1426
1435
  distance: i,
1427
1436
  ignoreLocation: h
1428
1437
  });
1429
- if (m = Math.min(he, m), A = H + p, E) {
1438
+ if (m = Math.min(he, m), _ = H + p, E) {
1430
1439
  let $e = 0;
1431
1440
  for (; $e < p; )
1432
1441
  z[H + $e] = 1, $e += 1;
1433
1442
  }
1434
1443
  }
1435
- A = -1;
1444
+ _ = -1;
1436
1445
  let X = [], F = 1, ue = p + y;
1437
1446
  const te = 1 << p - 1;
1438
1447
  for (let he = 0; he < p; he += 1) {
@@ -1457,9 +1466,9 @@ function ul(t, e, r, {
1457
1466
  distance: i,
1458
1467
  ignoreLocation: h
1459
1468
  }), F <= m)) {
1460
- if (m = F, A = S, A <= w)
1469
+ if (m = F, _ = S, _ <= w)
1461
1470
  break;
1462
- fe = Math.max(1, 2 * w - A);
1471
+ fe = Math.max(1, 2 * w - _);
1463
1472
  }
1464
1473
  }
1465
1474
  if (Pn(e, {
@@ -1473,17 +1482,17 @@ function ul(t, e, r, {
1473
1482
  X = We;
1474
1483
  }
1475
1484
  const Z = {
1476
- isMatch: A >= 0,
1485
+ isMatch: _ >= 0,
1477
1486
  // Count exact matches (those with a score of 0) to be "almost" exact
1478
1487
  score: Math.max(1e-3, F)
1479
1488
  };
1480
1489
  if (E) {
1481
- const he = cl(z, l);
1490
+ const he = ul(z, l);
1482
1491
  he.length ? c && (Z.indices = he) : Z.isMatch = !1;
1483
1492
  }
1484
1493
  return Z;
1485
1494
  }
1486
- function hl(t) {
1495
+ function dl(t) {
1487
1496
  let e = {};
1488
1497
  for (let r = 0, n = t.length; r < n; r += 1) {
1489
1498
  const i = t.charAt(r);
@@ -1491,7 +1500,7 @@ function hl(t) {
1491
1500
  }
1492
1501
  return e;
1493
1502
  }
1494
- class _o {
1503
+ class Ao {
1495
1504
  constructor(e, {
1496
1505
  location: r = G.location,
1497
1506
  threshold: n = G.threshold,
@@ -1516,14 +1525,14 @@ class _o {
1516
1525
  const p = (w, m) => {
1517
1526
  this.chunks.push({
1518
1527
  pattern: w,
1519
- alphabet: hl(w),
1528
+ alphabet: dl(w),
1520
1529
  startIndex: m
1521
1530
  });
1522
1531
  }, y = this.pattern.length;
1523
1532
  if (y > Gt) {
1524
1533
  let w = 0;
1525
- const m = y % Gt, A = y - m;
1526
- for (; w < A; )
1534
+ const m = y % Gt, _ = y - m;
1535
+ for (; w < _; )
1527
1536
  p(this.pattern.substr(w, Gt), w), w += Gt;
1528
1537
  if (m) {
1529
1538
  const E = y - Gt;
@@ -1535,11 +1544,11 @@ class _o {
1535
1544
  searchIn(e) {
1536
1545
  const { isCaseSensitive: r, includeMatches: n } = this.options;
1537
1546
  if (r || (e = e.toLowerCase()), this.pattern === e) {
1538
- let A = {
1547
+ let _ = {
1539
1548
  isMatch: !0,
1540
1549
  score: 0
1541
1550
  };
1542
- return n && (A.indices = [[0, e.length - 1]]), A;
1551
+ return n && (_.indices = [[0, e.length - 1]]), _;
1543
1552
  }
1544
1553
  const {
1545
1554
  location: i,
@@ -1550,8 +1559,8 @@ class _o {
1550
1559
  ignoreLocation: h
1551
1560
  } = this.options;
1552
1561
  let p = [], y = 0, w = !1;
1553
- this.chunks.forEach(({ pattern: A, alphabet: E, startIndex: z }) => {
1554
- const { isMatch: H, score: X, indices: F } = ul(e, A, E, {
1562
+ this.chunks.forEach(({ pattern: _, alphabet: E, startIndex: z }) => {
1563
+ const { isMatch: H, score: X, indices: F } = hl(e, _, E, {
1555
1564
  location: i + z,
1556
1565
  distance: s,
1557
1566
  threshold: o,
@@ -1574,19 +1583,19 @@ class Tt {
1574
1583
  this.pattern = e;
1575
1584
  }
1576
1585
  static isMultiMatch(e) {
1577
- return Hs(e, this.multiRegex);
1586
+ return Is(e, this.multiRegex);
1578
1587
  }
1579
1588
  static isSingleMatch(e) {
1580
- return Hs(e, this.singleRegex);
1589
+ return Is(e, this.singleRegex);
1581
1590
  }
1582
1591
  search() {
1583
1592
  }
1584
1593
  }
1585
- function Hs(t, e) {
1594
+ function Is(t, e) {
1586
1595
  const r = t.match(e);
1587
1596
  return r ? r[1] : null;
1588
1597
  }
1589
- class dl extends Tt {
1598
+ class fl extends Tt {
1590
1599
  constructor(e) {
1591
1600
  super(e);
1592
1601
  }
@@ -1608,7 +1617,7 @@ class dl extends Tt {
1608
1617
  };
1609
1618
  }
1610
1619
  }
1611
- class fl extends Tt {
1620
+ class pl extends Tt {
1612
1621
  constructor(e) {
1613
1622
  super(e);
1614
1623
  }
@@ -1630,7 +1639,7 @@ class fl extends Tt {
1630
1639
  };
1631
1640
  }
1632
1641
  }
1633
- class pl extends Tt {
1642
+ class gl extends Tt {
1634
1643
  constructor(e) {
1635
1644
  super(e);
1636
1645
  }
@@ -1652,7 +1661,7 @@ class pl extends Tt {
1652
1661
  };
1653
1662
  }
1654
1663
  }
1655
- class gl extends Tt {
1664
+ class yl extends Tt {
1656
1665
  constructor(e) {
1657
1666
  super(e);
1658
1667
  }
@@ -1674,7 +1683,7 @@ class gl extends Tt {
1674
1683
  };
1675
1684
  }
1676
1685
  }
1677
- class yl extends Tt {
1686
+ class bl extends Tt {
1678
1687
  constructor(e) {
1679
1688
  super(e);
1680
1689
  }
@@ -1696,7 +1705,7 @@ class yl extends Tt {
1696
1705
  };
1697
1706
  }
1698
1707
  }
1699
- class bl extends Tt {
1708
+ class ml extends Tt {
1700
1709
  constructor(e) {
1701
1710
  super(e);
1702
1711
  }
@@ -1718,7 +1727,7 @@ class bl extends Tt {
1718
1727
  };
1719
1728
  }
1720
1729
  }
1721
- class Ao extends Tt {
1730
+ class Mo extends Tt {
1722
1731
  constructor(e, {
1723
1732
  location: r = G.location,
1724
1733
  threshold: n = G.threshold,
@@ -1729,7 +1738,7 @@ class Ao extends Tt {
1729
1738
  isCaseSensitive: c = G.isCaseSensitive,
1730
1739
  ignoreLocation: h = G.ignoreLocation
1731
1740
  } = {}) {
1732
- super(e), this._bitapSearch = new _o(e, {
1741
+ super(e), this._bitapSearch = new Ao(e, {
1733
1742
  location: r,
1734
1743
  threshold: n,
1735
1744
  distance: i,
@@ -1753,7 +1762,7 @@ class Ao extends Tt {
1753
1762
  return this._bitapSearch.searchIn(e);
1754
1763
  }
1755
1764
  }
1756
- class Mo extends Tt {
1765
+ class So extends Tt {
1757
1766
  constructor(e) {
1758
1767
  super(e);
1759
1768
  }
@@ -1780,28 +1789,28 @@ class Mo extends Tt {
1780
1789
  }
1781
1790
  }
1782
1791
  const Wi = [
1783
- dl,
1784
- Mo,
1785
- pl,
1792
+ fl,
1793
+ So,
1786
1794
  gl,
1787
- bl,
1788
1795
  yl,
1789
- fl,
1790
- Ao
1791
- ], Is = Wi.length, ml = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, vl = "|";
1792
- function wl(t, e = {}) {
1793
- return t.split(vl).map((r) => {
1794
- let n = r.trim().split(ml).filter((s) => s && !!s.trim()), i = [];
1796
+ ml,
1797
+ bl,
1798
+ pl,
1799
+ Mo
1800
+ ], Bs = Wi.length, vl = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, wl = "|";
1801
+ function xl(t, e = {}) {
1802
+ return t.split(wl).map((r) => {
1803
+ let n = r.trim().split(vl).filter((s) => s && !!s.trim()), i = [];
1795
1804
  for (let s = 0, o = n.length; s < o; s += 1) {
1796
1805
  const l = n[s];
1797
1806
  let c = !1, h = -1;
1798
- for (; !c && ++h < Is; ) {
1807
+ for (; !c && ++h < Bs; ) {
1799
1808
  const p = Wi[h];
1800
1809
  let y = p.isMultiMatch(l);
1801
1810
  y && (i.push(new p(y, e)), c = !0);
1802
1811
  }
1803
1812
  if (!c)
1804
- for (h = -1; ++h < Is; ) {
1813
+ for (h = -1; ++h < Bs; ) {
1805
1814
  const p = Wi[h];
1806
1815
  let y = p.isSingleMatch(l);
1807
1816
  if (y) {
@@ -1813,8 +1822,8 @@ function wl(t, e = {}) {
1813
1822
  return i;
1814
1823
  });
1815
1824
  }
1816
- const xl = /* @__PURE__ */ new Set([Ao.type, Mo.type]);
1817
- class $l {
1825
+ const $l = /* @__PURE__ */ new Set([Mo.type, So.type]);
1826
+ class _l {
1818
1827
  constructor(e, {
1819
1828
  isCaseSensitive: r = G.isCaseSensitive,
1820
1829
  includeMatches: n = G.includeMatches,
@@ -1834,7 +1843,7 @@ class $l {
1834
1843
  location: l,
1835
1844
  threshold: c,
1836
1845
  distance: h
1837
- }, this.pattern = r ? e : e.toLowerCase(), this.query = wl(this.pattern, this.options);
1846
+ }, this.pattern = r ? e : e.toLowerCase(), this.query = xl(this.pattern, this.options);
1838
1847
  }
1839
1848
  static condition(e, r) {
1840
1849
  return r.useExtendedSearch;
@@ -1853,11 +1862,11 @@ class $l {
1853
1862
  const p = r[c];
1854
1863
  o.length = 0, s = 0;
1855
1864
  for (let y = 0, w = p.length; y < w; y += 1) {
1856
- const m = p[y], { isMatch: A, indices: E, score: z } = m.search(e);
1857
- if (A) {
1865
+ const m = p[y], { isMatch: _, indices: E, score: z } = m.search(e);
1866
+ if (_) {
1858
1867
  if (s += 1, l += z, n) {
1859
1868
  const H = m.constructor.type;
1860
- xl.has(H) ? o = [...o, ...E] : o.push(E);
1869
+ $l.has(H) ? o = [...o, ...E] : o.push(E);
1861
1870
  }
1862
1871
  } else {
1863
1872
  l = 0, s = 0, o.length = 0;
@@ -1879,7 +1888,7 @@ class $l {
1879
1888
  }
1880
1889
  }
1881
1890
  const Vi = [];
1882
- function _l(...t) {
1891
+ function Al(...t) {
1883
1892
  Vi.push(...t);
1884
1893
  }
1885
1894
  function Ki(t, e) {
@@ -1888,7 +1897,7 @@ function Ki(t, e) {
1888
1897
  if (i.condition(t, e))
1889
1898
  return new i(t, e);
1890
1899
  }
1891
- return new _o(t, e);
1900
+ return new Ao(t, e);
1892
1901
  }
1893
1902
  const Hn = {
1894
1903
  AND: "$and",
@@ -1896,21 +1905,21 @@ const Hn = {
1896
1905
  }, Gi = {
1897
1906
  PATH: "$path",
1898
1907
  PATTERN: "$val"
1899
- }, Yi = (t) => !!(t[Hn.AND] || t[Hn.OR]), Al = (t) => !!t[Gi.PATH], Ml = (t) => !xt(t) && vo(t) && !Yi(t), Bs = (t) => ({
1908
+ }, Yi = (t) => !!(t[Hn.AND] || t[Hn.OR]), Ml = (t) => !!t[Gi.PATH], Sl = (t) => !xt(t) && wo(t) && !Yi(t), Us = (t) => ({
1900
1909
  [Hn.AND]: Object.keys(t).map((e) => ({
1901
1910
  [e]: t[e]
1902
1911
  }))
1903
1912
  });
1904
- function So(t, e, { auto: r = !0 } = {}) {
1913
+ function Eo(t, e, { auto: r = !0 } = {}) {
1905
1914
  const n = (i) => {
1906
1915
  let s = Object.keys(i);
1907
- const o = Al(i);
1916
+ const o = Ml(i);
1908
1917
  if (!o && s.length > 1 && !Yi(i))
1909
- return n(Bs(i));
1910
- if (Ml(i)) {
1918
+ return n(Us(i));
1919
+ if (Sl(i)) {
1911
1920
  const c = o ? i[Gi.PATH] : s[0], h = o ? i[Gi.PATTERN] : i[c];
1912
1921
  if (!ht(h))
1913
- throw new Error(Xa(c));
1922
+ throw new Error(Za(c));
1914
1923
  const p = {
1915
1924
  keyId: qi(c),
1916
1925
  pattern: h
@@ -1928,9 +1937,9 @@ function So(t, e, { auto: r = !0 } = {}) {
1928
1937
  });
1929
1938
  }), l;
1930
1939
  };
1931
- return Yi(t) || (t = Bs(t)), n(t);
1940
+ return Yi(t) || (t = Us(t)), n(t);
1932
1941
  }
1933
- function Sl(t, { ignoreFieldNorm: e = G.ignoreFieldNorm }) {
1942
+ function El(t, { ignoreFieldNorm: e = G.ignoreFieldNorm }) {
1934
1943
  t.forEach((r) => {
1935
1944
  let n = 1;
1936
1945
  r.matches.forEach(({ key: i, norm: s, score: o }) => {
@@ -1942,7 +1951,7 @@ function Sl(t, { ignoreFieldNorm: e = G.ignoreFieldNorm }) {
1942
1951
  }), r.score = n;
1943
1952
  });
1944
1953
  }
1945
- function El(t, e) {
1954
+ function Cl(t, e) {
1946
1955
  const r = t.matches;
1947
1956
  e.matches = [], Xe(r) && r.forEach((n) => {
1948
1957
  if (!Xe(n.indices) || !n.indices.length)
@@ -1955,15 +1964,15 @@ function El(t, e) {
1955
1964
  n.key && (o.key = n.key.src), n.idx > -1 && (o.refIndex = n.idx), e.matches.push(o);
1956
1965
  });
1957
1966
  }
1958
- function Cl(t, e) {
1967
+ function kl(t, e) {
1959
1968
  e.score = t.score;
1960
1969
  }
1961
- function kl(t, e, {
1970
+ function Ll(t, e, {
1962
1971
  includeMatches: r = G.includeMatches,
1963
1972
  includeScore: n = G.includeScore
1964
1973
  } = {}) {
1965
1974
  const i = [];
1966
- return r && i.push(El), n && i.push(Cl), t.map((s) => {
1975
+ return r && i.push(Cl), n && i.push(kl), t.map((s) => {
1967
1976
  const { idx: o } = s, l = {
1968
1977
  item: e[o],
1969
1978
  refIndex: o
@@ -1975,12 +1984,12 @@ function kl(t, e, {
1975
1984
  }
1976
1985
  class Rt {
1977
1986
  constructor(e, r = {}, n) {
1978
- this.options = { ...G, ...r }, this.options.useExtendedSearch, this._keyStore = new el(this.options.keys), this.setCollection(e, n);
1987
+ this.options = { ...G, ...r }, this.options.useExtendedSearch, this._keyStore = new tl(this.options.keys), this.setCollection(e, n);
1979
1988
  }
1980
1989
  setCollection(e, r) {
1981
- if (this._docs = e, r && !(r instanceof gs))
1982
- throw new Error(Fa);
1983
- this._myIndex = r || $o(this.options.keys, this._docs, {
1990
+ if (this._docs = e, r && !(r instanceof ys))
1991
+ throw new Error(Xa);
1992
+ this._myIndex = r || _o(this.options.keys, this._docs, {
1984
1993
  getFn: this.options.getFn,
1985
1994
  fieldNormWeight: this.options.fieldNormWeight
1986
1995
  });
@@ -2011,7 +2020,7 @@ class Rt {
2011
2020
  ignoreFieldNorm: l
2012
2021
  } = this.options;
2013
2022
  let c = ht(e) ? ht(this._docs[0]) ? this._searchStringList(e) : this._searchObjectList(e) : this._searchLogical(e);
2014
- return Sl(c, { ignoreFieldNorm: l }), s && c.sort(o), mo(r) && r > -1 && (c = c.slice(0, r)), kl(c, this._docs, {
2023
+ return El(c, { ignoreFieldNorm: l }), s && c.sort(o), vo(r) && r > -1 && (c = c.slice(0, r)), Ll(c, this._docs, {
2015
2024
  includeMatches: n,
2016
2025
  includeScore: i
2017
2026
  });
@@ -2030,7 +2039,7 @@ class Rt {
2030
2039
  }), i;
2031
2040
  }
2032
2041
  _searchLogical(e) {
2033
- const r = So(e, this.options), n = (l, c, h) => {
2042
+ const r = Eo(e, this.options), n = (l, c, h) => {
2034
2043
  if (!l.children) {
2035
2044
  const { keyId: y, searcher: w } = l, m = this._findMatches({
2036
2045
  key: this._keyStore.get(y),
@@ -2047,9 +2056,9 @@ class Rt {
2047
2056
  }
2048
2057
  const p = [];
2049
2058
  for (let y = 0, w = l.children.length; y < w; y += 1) {
2050
- const m = l.children[y], A = n(m, c, h);
2051
- if (A.length)
2052
- p.push(...A);
2059
+ const m = l.children[y], _ = n(m, c, h);
2060
+ if (_.length)
2061
+ p.push(..._);
2053
2062
  else if (l.operator === Hn.AND)
2054
2063
  return [];
2055
2064
  }
@@ -2111,12 +2120,12 @@ class Rt {
2111
2120
  }
2112
2121
  }
2113
2122
  Rt.version = "7.0.0";
2114
- Rt.createIndex = $o;
2115
- Rt.parseIndex = ll;
2123
+ Rt.createIndex = _o;
2124
+ Rt.parseIndex = cl;
2116
2125
  Rt.config = G;
2117
- Rt.parseQuery = So;
2118
- _l($l);
2119
- function Eo(t, e) {
2126
+ Rt.parseQuery = Eo;
2127
+ Al(_l);
2128
+ function Co(t, e) {
2120
2129
  const r = new Rt(e.filterProperties, {
2121
2130
  keys: ["title"]
2122
2131
  }), n = t.target.value, s = r.search(n).map((o) => o.item.key || o.item.keys.join("|"));
@@ -2126,7 +2135,7 @@ function Eo(t, e) {
2126
2135
  ).parentElement.style.display = s.includes(o) || !n ? "" : "none";
2127
2136
  });
2128
2137
  }
2129
- function Ll(t, e) {
2138
+ function Pl(t, e) {
2130
2139
  const r = t.target.getAttribute("data-close").replace("|", "-");
2131
2140
  e.querySelector(`#filter-${r}`).reset(), e.dispatchEvent(new CustomEvent("filter")), e.requestUpdate();
2132
2141
  }
@@ -2134,25 +2143,25 @@ const Fi = Math.min, wr = Math.max, In = Math.round, Tn = Math.floor, kt = (t) =
2134
2143
  x: t,
2135
2144
  y: t
2136
2145
  });
2137
- function Co(t) {
2146
+ function ko(t) {
2138
2147
  return t.split("-")[0];
2139
2148
  }
2140
- function Pl(t) {
2149
+ function Tl(t) {
2141
2150
  return t.split("-")[1];
2142
2151
  }
2143
- function Tl(t) {
2152
+ function Rl(t) {
2144
2153
  return t === "x" ? "y" : "x";
2145
2154
  }
2146
- function Rl(t) {
2155
+ function Ol(t) {
2147
2156
  return t === "y" ? "height" : "width";
2148
2157
  }
2149
- function ko(t) {
2150
- return ["top", "bottom"].includes(Co(t)) ? "y" : "x";
2158
+ function Lo(t) {
2159
+ return ["top", "bottom"].includes(ko(t)) ? "y" : "x";
2151
2160
  }
2152
- function Ol(t) {
2153
- return Tl(ko(t));
2161
+ function Dl(t) {
2162
+ return Rl(Lo(t));
2154
2163
  }
2155
- function Lo(t) {
2164
+ function Po(t) {
2156
2165
  const {
2157
2166
  x: e,
2158
2167
  y: r,
@@ -2170,12 +2179,12 @@ function Lo(t) {
2170
2179
  y: r
2171
2180
  };
2172
2181
  }
2173
- function Us(t, e, r) {
2182
+ function zs(t, e, r) {
2174
2183
  let {
2175
2184
  reference: n,
2176
2185
  floating: i
2177
2186
  } = t;
2178
- const s = ko(e), o = Ol(e), l = Rl(o), c = Co(e), h = s === "y", p = n.x + n.width / 2 - i.width / 2, y = n.y + n.height / 2 - i.height / 2, w = n[l] / 2 - i[l] / 2;
2187
+ const s = Lo(e), o = Dl(e), l = Ol(o), c = ko(e), h = s === "y", p = n.x + n.width / 2 - i.width / 2, y = n.y + n.height / 2 - i.height / 2, w = n[l] / 2 - i[l] / 2;
2179
2188
  let m;
2180
2189
  switch (c) {
2181
2190
  case "top":
@@ -2208,7 +2217,7 @@ function Us(t, e, r) {
2208
2217
  y: n.y
2209
2218
  };
2210
2219
  }
2211
- switch (Pl(e)) {
2220
+ switch (Tl(e)) {
2212
2221
  case "start":
2213
2222
  m[o] -= w * (r && h ? -1 : 1);
2214
2223
  break;
@@ -2218,7 +2227,7 @@ function Us(t, e, r) {
2218
2227
  }
2219
2228
  return m;
2220
2229
  }
2221
- const Dl = async (t, e, r) => {
2230
+ const jl = async (t, e, r) => {
2222
2231
  const {
2223
2232
  placement: n = "bottom",
2224
2233
  strategy: i = "absolute",
@@ -2232,7 +2241,7 @@ const Dl = async (t, e, r) => {
2232
2241
  }), {
2233
2242
  x: p,
2234
2243
  y
2235
- } = Us(h, n, c), w = n, m = {}, A = 0;
2244
+ } = zs(h, n, c), w = n, m = {}, _ = 0;
2236
2245
  for (let E = 0; E < l.length; E++) {
2237
2246
  const {
2238
2247
  name: z,
@@ -2262,14 +2271,14 @@ const Dl = async (t, e, r) => {
2262
2271
  ...m[z],
2263
2272
  ...ue
2264
2273
  }
2265
- }, te && A <= 50 && (A++, typeof te == "object" && (te.placement && (w = te.placement), te.rects && (h = te.rects === !0 ? await o.getElementRects({
2274
+ }, te && _ <= 50 && (_++, typeof te == "object" && (te.placement && (w = te.placement), te.rects && (h = te.rects === !0 ? await o.getElementRects({
2266
2275
  reference: t,
2267
2276
  floating: e,
2268
2277
  strategy: i
2269
2278
  }) : te.rects), {
2270
2279
  x: p,
2271
2280
  y
2272
- } = Us(h, w, c)), E = -1);
2281
+ } = zs(h, w, c)), E = -1);
2273
2282
  }
2274
2283
  return {
2275
2284
  x: p,
@@ -2283,7 +2292,7 @@ function Zn() {
2283
2292
  return typeof window < "u";
2284
2293
  }
2285
2294
  function Sr(t) {
2286
- return Po(t) ? (t.nodeName || "").toLowerCase() : "#document";
2295
+ return To(t) ? (t.nodeName || "").toLowerCase() : "#document";
2287
2296
  }
2288
2297
  function Qe(t) {
2289
2298
  var e;
@@ -2291,9 +2300,9 @@ function Qe(t) {
2291
2300
  }
2292
2301
  function ft(t) {
2293
2302
  var e;
2294
- return (e = (Po(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
2303
+ return (e = (To(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
2295
2304
  }
2296
- function Po(t) {
2305
+ function To(t) {
2297
2306
  return Zn() ? t instanceof Node || t instanceof Qe(t).Node : !1;
2298
2307
  }
2299
2308
  function st(t) {
@@ -2302,7 +2311,7 @@ function st(t) {
2302
2311
  function dt(t) {
2303
2312
  return Zn() ? t instanceof HTMLElement || t instanceof Qe(t).HTMLElement : !1;
2304
2313
  }
2305
- function zs(t) {
2314
+ function qs(t) {
2306
2315
  return !Zn() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof Qe(t).ShadowRoot;
2307
2316
  }
2308
2317
  function an(t) {
@@ -2314,7 +2323,7 @@ function an(t) {
2314
2323
  } = ot(t);
2315
2324
  return /auto|scroll|overlay|hidden|clip/.test(e + n + r) && !["inline", "contents"].includes(i);
2316
2325
  }
2317
- function jl(t) {
2326
+ function Nl(t) {
2318
2327
  return ["table", "td", "th"].includes(Sr(t));
2319
2328
  }
2320
2329
  function Jn(t) {
@@ -2326,14 +2335,14 @@ function Jn(t) {
2326
2335
  }
2327
2336
  });
2328
2337
  }
2329
- function ys(t) {
2330
- const e = bs(), r = st(t) ? ot(t) : t;
2338
+ function bs(t) {
2339
+ const e = ms(), r = st(t) ? ot(t) : t;
2331
2340
  return r.transform !== "none" || r.perspective !== "none" || (r.containerType ? r.containerType !== "normal" : !1) || !e && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !e && (r.filter ? r.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((n) => (r.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (r.contain || "").includes(n));
2332
2341
  }
2333
- function Nl(t) {
2342
+ function Hl(t) {
2334
2343
  let e = Lt(t);
2335
2344
  for (; dt(e) && !_r(e); ) {
2336
- if (ys(e))
2345
+ if (bs(e))
2337
2346
  return e;
2338
2347
  if (Jn(e))
2339
2348
  return null;
@@ -2341,7 +2350,7 @@ function Nl(t) {
2341
2350
  }
2342
2351
  return null;
2343
2352
  }
2344
- function bs() {
2353
+ function ms() {
2345
2354
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
2346
2355
  }
2347
2356
  function _r(t) {
@@ -2366,19 +2375,19 @@ function Lt(t) {
2366
2375
  // Step into the shadow DOM of the parent of a slotted node.
2367
2376
  t.assignedSlot || // DOM Element detected.
2368
2377
  t.parentNode || // ShadowRoot detected.
2369
- zs(t) && t.host || // Fallback.
2378
+ qs(t) && t.host || // Fallback.
2370
2379
  ft(t)
2371
2380
  );
2372
- return zs(e) ? e.host : e;
2381
+ return qs(e) ? e.host : e;
2373
2382
  }
2374
- function To(t) {
2383
+ function Ro(t) {
2375
2384
  const e = Lt(t);
2376
- return _r(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : dt(e) && an(e) ? e : To(e);
2385
+ return _r(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : dt(e) && an(e) ? e : Ro(e);
2377
2386
  }
2378
2387
  function en(t, e, r) {
2379
2388
  var n;
2380
2389
  e === void 0 && (e = []), r === void 0 && (r = !0);
2381
- const i = To(t), s = i === ((n = t.ownerDocument) == null ? void 0 : n.body), o = Qe(i);
2390
+ const i = Ro(t), s = i === ((n = t.ownerDocument) == null ? void 0 : n.body), o = Qe(i);
2382
2391
  if (s) {
2383
2392
  const l = Xi(o);
2384
2393
  return e.concat(o, o.visualViewport || [], an(i) ? i : [], l && r ? en(l) : []);
@@ -2388,7 +2397,7 @@ function en(t, e, r) {
2388
2397
  function Xi(t) {
2389
2398
  return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
2390
2399
  }
2391
- function Ro(t) {
2400
+ function Oo(t) {
2392
2401
  const e = ot(t);
2393
2402
  let r = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
2394
2403
  const i = dt(t), s = i ? t.offsetWidth : r, o = i ? t.offsetHeight : n, l = In(r) !== s || In(n) !== o;
@@ -2398,58 +2407,58 @@ function Ro(t) {
2398
2407
  $: l
2399
2408
  };
2400
2409
  }
2401
- function ms(t) {
2410
+ function vs(t) {
2402
2411
  return st(t) ? t : t.contextElement;
2403
2412
  }
2404
2413
  function xr(t) {
2405
- const e = ms(t);
2414
+ const e = vs(t);
2406
2415
  if (!dt(e))
2407
2416
  return kt(1);
2408
2417
  const r = e.getBoundingClientRect(), {
2409
2418
  width: n,
2410
2419
  height: i,
2411
2420
  $: s
2412
- } = Ro(e);
2421
+ } = Oo(e);
2413
2422
  let o = (s ? In(r.width) : r.width) / n, l = (s ? In(r.height) : r.height) / i;
2414
2423
  return (!o || !Number.isFinite(o)) && (o = 1), (!l || !Number.isFinite(l)) && (l = 1), {
2415
2424
  x: o,
2416
2425
  y: l
2417
2426
  };
2418
2427
  }
2419
- const Hl = /* @__PURE__ */ kt(0);
2420
- function Oo(t) {
2428
+ const Il = /* @__PURE__ */ kt(0);
2429
+ function Do(t) {
2421
2430
  const e = Qe(t);
2422
- return !bs() || !e.visualViewport ? Hl : {
2431
+ return !ms() || !e.visualViewport ? Il : {
2423
2432
  x: e.visualViewport.offsetLeft,
2424
2433
  y: e.visualViewport.offsetTop
2425
2434
  };
2426
2435
  }
2427
- function Il(t, e, r) {
2436
+ function Bl(t, e, r) {
2428
2437
  return e === void 0 && (e = !1), !r || e && r !== Qe(t) ? !1 : e;
2429
2438
  }
2430
2439
  function Zt(t, e, r, n) {
2431
2440
  e === void 0 && (e = !1), r === void 0 && (r = !1);
2432
- const i = t.getBoundingClientRect(), s = ms(t);
2441
+ const i = t.getBoundingClientRect(), s = vs(t);
2433
2442
  let o = kt(1);
2434
2443
  e && (n ? st(n) && (o = xr(n)) : o = xr(t));
2435
- const l = Il(s, r, n) ? Oo(s) : kt(0);
2444
+ const l = Bl(s, r, n) ? Do(s) : kt(0);
2436
2445
  let c = (i.left + l.x) / o.x, h = (i.top + l.y) / o.y, p = i.width / o.x, y = i.height / o.y;
2437
2446
  if (s) {
2438
2447
  const w = Qe(s), m = n && st(n) ? Qe(n) : n;
2439
- let A = w, E = Xi(A);
2440
- for (; E && n && m !== A; ) {
2448
+ let _ = w, E = Xi(_);
2449
+ for (; E && n && m !== _; ) {
2441
2450
  const z = xr(E), H = E.getBoundingClientRect(), X = ot(E), F = H.left + (E.clientLeft + parseFloat(X.paddingLeft)) * z.x, ue = H.top + (E.clientTop + parseFloat(X.paddingTop)) * z.y;
2442
- c *= z.x, h *= z.y, p *= z.x, y *= z.y, c += F, h += ue, A = Qe(E), E = Xi(A);
2451
+ c *= z.x, h *= z.y, p *= z.x, y *= z.y, c += F, h += ue, _ = Qe(E), E = Xi(_);
2443
2452
  }
2444
2453
  }
2445
- return Lo({
2454
+ return Po({
2446
2455
  width: p,
2447
2456
  height: y,
2448
2457
  x: c,
2449
2458
  y: h
2450
2459
  });
2451
2460
  }
2452
- function Bl(t) {
2461
+ function Ul(t) {
2453
2462
  let {
2454
2463
  elements: e,
2455
2464
  rect: r,
@@ -2475,14 +2484,14 @@ function Bl(t) {
2475
2484
  y: r.y * h.y - c.scrollTop * h.y + p.y
2476
2485
  };
2477
2486
  }
2478
- function Ul(t) {
2487
+ function zl(t) {
2479
2488
  return Array.from(t.getClientRects());
2480
2489
  }
2481
2490
  function Zi(t, e) {
2482
2491
  const r = Qn(t).scrollLeft;
2483
2492
  return e ? e.left + r : Zt(ft(t)).left + r;
2484
2493
  }
2485
- function zl(t) {
2494
+ function ql(t) {
2486
2495
  const e = ft(t), r = Qn(t), n = t.ownerDocument.body, i = wr(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), s = wr(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
2487
2496
  let o = -r.scrollLeft + Zi(t);
2488
2497
  const l = -r.scrollTop;
@@ -2493,12 +2502,12 @@ function zl(t) {
2493
2502
  y: l
2494
2503
  };
2495
2504
  }
2496
- function ql(t, e) {
2505
+ function Wl(t, e) {
2497
2506
  const r = Qe(t), n = ft(t), i = r.visualViewport;
2498
2507
  let s = n.clientWidth, o = n.clientHeight, l = 0, c = 0;
2499
2508
  if (i) {
2500
2509
  s = i.width, o = i.height;
2501
- const h = bs();
2510
+ const h = ms();
2502
2511
  (!h || h && e === "fixed") && (l = i.offsetLeft, c = i.offsetTop);
2503
2512
  }
2504
2513
  return {
@@ -2508,7 +2517,7 @@ function ql(t, e) {
2508
2517
  y: c
2509
2518
  };
2510
2519
  }
2511
- function Wl(t, e) {
2520
+ function Vl(t, e) {
2512
2521
  const r = Zt(t, !0, e === "fixed"), n = r.top + t.clientTop, i = r.left + t.clientLeft, s = dt(t) ? xr(t) : kt(1), o = t.clientWidth * s.x, l = t.clientHeight * s.y, c = i * s.x, h = n * s.y;
2513
2522
  return {
2514
2523
  width: o,
@@ -2517,29 +2526,29 @@ function Wl(t, e) {
2517
2526
  y: h
2518
2527
  };
2519
2528
  }
2520
- function qs(t, e, r) {
2529
+ function Ws(t, e, r) {
2521
2530
  let n;
2522
2531
  if (e === "viewport")
2523
- n = ql(t, r);
2532
+ n = Wl(t, r);
2524
2533
  else if (e === "document")
2525
- n = zl(ft(t));
2534
+ n = ql(ft(t));
2526
2535
  else if (st(e))
2527
- n = Wl(e, r);
2536
+ n = Vl(e, r);
2528
2537
  else {
2529
- const i = Oo(t);
2538
+ const i = Do(t);
2530
2539
  n = {
2531
2540
  ...e,
2532
2541
  x: e.x - i.x,
2533
2542
  y: e.y - i.y
2534
2543
  };
2535
2544
  }
2536
- return Lo(n);
2545
+ return Po(n);
2537
2546
  }
2538
- function Do(t, e) {
2547
+ function jo(t, e) {
2539
2548
  const r = Lt(t);
2540
- return r === e || !st(r) || _r(r) ? !1 : ot(r).position === "fixed" || Do(r, e);
2549
+ return r === e || !st(r) || _r(r) ? !1 : ot(r).position === "fixed" || jo(r, e);
2541
2550
  }
2542
- function Vl(t, e) {
2551
+ function Kl(t, e) {
2543
2552
  const r = e.get(t);
2544
2553
  if (r)
2545
2554
  return r;
@@ -2547,22 +2556,22 @@ function Vl(t, e) {
2547
2556
  const s = ot(t).position === "fixed";
2548
2557
  let o = s ? Lt(t) : t;
2549
2558
  for (; st(o) && !_r(o); ) {
2550
- const l = ot(o), c = ys(o);
2551
- !c && l.position === "fixed" && (i = null), (s ? !c && !i : !c && l.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || an(o) && !c && Do(t, o)) ? n = n.filter((p) => p !== o) : i = l, o = Lt(o);
2559
+ const l = ot(o), c = bs(o);
2560
+ !c && l.position === "fixed" && (i = null), (s ? !c && !i : !c && l.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || an(o) && !c && jo(t, o)) ? n = n.filter((p) => p !== o) : i = l, o = Lt(o);
2552
2561
  }
2553
2562
  return e.set(t, n), n;
2554
2563
  }
2555
- function Kl(t) {
2564
+ function Gl(t) {
2556
2565
  let {
2557
2566
  element: e,
2558
2567
  boundary: r,
2559
2568
  rootBoundary: n,
2560
2569
  strategy: i
2561
2570
  } = t;
2562
- const o = [...r === "clippingAncestors" ? Jn(e) ? [] : Vl(e, this._c) : [].concat(r), n], l = o[0], c = o.reduce((h, p) => {
2563
- const y = qs(e, p, i);
2571
+ const o = [...r === "clippingAncestors" ? Jn(e) ? [] : Kl(e, this._c) : [].concat(r), n], l = o[0], c = o.reduce((h, p) => {
2572
+ const y = Ws(e, p, i);
2564
2573
  return h.top = wr(y.top, h.top), h.right = Fi(y.right, h.right), h.bottom = Fi(y.bottom, h.bottom), h.left = wr(y.left, h.left), h;
2565
- }, qs(e, l, i));
2574
+ }, Ws(e, l, i));
2566
2575
  return {
2567
2576
  width: c.right - c.left,
2568
2577
  height: c.bottom - c.top,
@@ -2570,17 +2579,17 @@ function Kl(t) {
2570
2579
  y: c.top
2571
2580
  };
2572
2581
  }
2573
- function Gl(t) {
2582
+ function Yl(t) {
2574
2583
  const {
2575
2584
  width: e,
2576
2585
  height: r
2577
- } = Ro(t);
2586
+ } = Oo(t);
2578
2587
  return {
2579
2588
  width: e,
2580
2589
  height: r
2581
2590
  };
2582
2591
  }
2583
- function Yl(t, e, r) {
2592
+ function Fl(t, e, r) {
2584
2593
  const n = dt(e), i = ft(e), s = r === "fixed", o = Zt(t, !0, s, e);
2585
2594
  let l = {
2586
2595
  scrollLeft: 0,
@@ -2609,7 +2618,7 @@ function Yl(t, e, r) {
2609
2618
  function ji(t) {
2610
2619
  return ot(t).position === "static";
2611
2620
  }
2612
- function Ws(t, e) {
2621
+ function Vs(t, e) {
2613
2622
  if (!dt(t) || ot(t).position === "fixed")
2614
2623
  return null;
2615
2624
  if (e)
@@ -2617,7 +2626,7 @@ function Ws(t, e) {
2617
2626
  let r = t.offsetParent;
2618
2627
  return ft(t) === r && (r = r.ownerDocument.body), r;
2619
2628
  }
2620
- function jo(t, e) {
2629
+ function No(t, e) {
2621
2630
  const r = Qe(t);
2622
2631
  if (Jn(t))
2623
2632
  return r;
@@ -2630,15 +2639,15 @@ function jo(t, e) {
2630
2639
  }
2631
2640
  return r;
2632
2641
  }
2633
- let n = Ws(t, e);
2634
- for (; n && jl(n) && ji(n); )
2635
- n = Ws(n, e);
2636
- return n && _r(n) && ji(n) && !ys(n) ? r : n || Nl(t) || r;
2642
+ let n = Vs(t, e);
2643
+ for (; n && Nl(n) && ji(n); )
2644
+ n = Vs(n, e);
2645
+ return n && _r(n) && ji(n) && !bs(n) ? r : n || Hl(t) || r;
2637
2646
  }
2638
- const Fl = async function(t) {
2639
- const e = this.getOffsetParent || jo, r = this.getDimensions, n = await r(t.floating);
2647
+ const Xl = async function(t) {
2648
+ const e = this.getOffsetParent || No, r = this.getDimensions, n = await r(t.floating);
2640
2649
  return {
2641
- reference: Yl(t.reference, await e(t.floating), t.strategy),
2650
+ reference: Fl(t.reference, await e(t.floating), t.strategy),
2642
2651
  floating: {
2643
2652
  x: 0,
2644
2653
  y: 0,
@@ -2647,22 +2656,22 @@ const Fl = async function(t) {
2647
2656
  }
2648
2657
  };
2649
2658
  };
2650
- function Xl(t) {
2659
+ function Zl(t) {
2651
2660
  return ot(t).direction === "rtl";
2652
2661
  }
2653
- const Zl = {
2654
- convertOffsetParentRelativeRectToViewportRelativeRect: Bl,
2662
+ const Jl = {
2663
+ convertOffsetParentRelativeRectToViewportRelativeRect: Ul,
2655
2664
  getDocumentElement: ft,
2656
- getClippingRect: Kl,
2657
- getOffsetParent: jo,
2658
- getElementRects: Fl,
2659
- getClientRects: Ul,
2660
- getDimensions: Gl,
2665
+ getClippingRect: Gl,
2666
+ getOffsetParent: No,
2667
+ getElementRects: Xl,
2668
+ getClientRects: zl,
2669
+ getDimensions: Yl,
2661
2670
  getScale: xr,
2662
2671
  isElement: st,
2663
- isRTL: Xl
2672
+ isRTL: Zl
2664
2673
  };
2665
- function Jl(t, e) {
2674
+ function Ql(t, e) {
2666
2675
  let r = null, n;
2667
2676
  const i = ft(t);
2668
2677
  function s() {
@@ -2679,8 +2688,8 @@ function Jl(t, e) {
2679
2688
  } = t.getBoundingClientRect();
2680
2689
  if (l || e(), !y || !w)
2681
2690
  return;
2682
- const m = Tn(p), A = Tn(i.clientWidth - (h + y)), E = Tn(i.clientHeight - (p + w)), z = Tn(h), X = {
2683
- rootMargin: -m + "px " + -A + "px " + -E + "px " + -z + "px",
2691
+ const m = Tn(p), _ = Tn(i.clientWidth - (h + y)), E = Tn(i.clientHeight - (p + w)), z = Tn(h), X = {
2692
+ rootMargin: -m + "px " + -_ + "px " + -E + "px " + -z + "px",
2684
2693
  threshold: wr(0, Fi(1, c)) || 1
2685
2694
  };
2686
2695
  let F = !0;
@@ -2708,7 +2717,7 @@ function Jl(t, e) {
2708
2717
  }
2709
2718
  return o(!0), s;
2710
2719
  }
2711
- function Ql(t, e, r, n) {
2720
+ function ec(t, e, r, n) {
2712
2721
  n === void 0 && (n = {});
2713
2722
  const {
2714
2723
  ancestorScroll: i = !0,
@@ -2716,13 +2725,13 @@ function Ql(t, e, r, n) {
2716
2725
  elementResize: o = typeof ResizeObserver == "function",
2717
2726
  layoutShift: l = typeof IntersectionObserver == "function",
2718
2727
  animationFrame: c = !1
2719
- } = n, h = ms(t), p = i || s ? [...h ? en(h) : [], ...en(e)] : [];
2728
+ } = n, h = vs(t), p = i || s ? [...h ? en(h) : [], ...en(e)] : [];
2720
2729
  p.forEach((H) => {
2721
2730
  i && H.addEventListener("scroll", r, {
2722
2731
  passive: !0
2723
2732
  }), s && H.addEventListener("resize", r);
2724
2733
  });
2725
- const y = h && l ? Jl(h, r) : null;
2734
+ const y = h && l ? Ql(h, r) : null;
2726
2735
  let w = -1, m = null;
2727
2736
  o && (m = new ResizeObserver((H) => {
2728
2737
  let [X] = H;
@@ -2731,38 +2740,38 @@ function Ql(t, e, r, n) {
2731
2740
  (F = m) == null || F.observe(e);
2732
2741
  })), r();
2733
2742
  }), h && !c && m.observe(h), m.observe(e));
2734
- let A, E = c ? Zt(t) : null;
2743
+ let _, E = c ? Zt(t) : null;
2735
2744
  c && z();
2736
2745
  function z() {
2737
2746
  const H = Zt(t);
2738
- E && (H.x !== E.x || H.y !== E.y || H.width !== E.width || H.height !== E.height) && r(), E = H, A = requestAnimationFrame(z);
2747
+ E && (H.x !== E.x || H.y !== E.y || H.width !== E.width || H.height !== E.height) && r(), E = H, _ = requestAnimationFrame(z);
2739
2748
  }
2740
2749
  return r(), () => {
2741
2750
  var H;
2742
2751
  p.forEach((X) => {
2743
2752
  i && X.removeEventListener("scroll", r), s && X.removeEventListener("resize", r);
2744
- }), y == null || y(), (H = m) == null || H.disconnect(), m = null, c && cancelAnimationFrame(A);
2753
+ }), y == null || y(), (H = m) == null || H.disconnect(), m = null, c && cancelAnimationFrame(_);
2745
2754
  };
2746
2755
  }
2747
- const ec = (t, e, r) => {
2756
+ const tc = (t, e, r) => {
2748
2757
  const n = /* @__PURE__ */ new Map(), i = {
2749
- platform: Zl,
2758
+ platform: Jl,
2750
2759
  ...r
2751
2760
  }, s = {
2752
2761
  ...i.platform,
2753
2762
  _c: n
2754
2763
  };
2755
- return Dl(t, e, {
2764
+ return jl(t, e, {
2756
2765
  ...i,
2757
2766
  platform: s
2758
2767
  });
2759
2768
  };
2760
- function tc(t) {
2769
+ function rc(t) {
2761
2770
  const e = t.renderRoot.querySelector(
2762
2771
  ".inline-container-wrapper"
2763
2772
  ), r = t.renderRoot.querySelector("[popover]");
2764
- return Ql(e, r, () => {
2765
- r.matches(":popover-open") && ec(e, r, { strategy: "fixed" }).then(
2773
+ return ec(e, r, () => {
2774
+ r.matches(":popover-open") && tc(e, r, { strategy: "fixed" }).then(
2766
2775
  ({ x: i, y: s }) => {
2767
2776
  Object.assign(r.style, {
2768
2777
  left: `${i}px`,
@@ -2775,29 +2784,29 @@ function tc(t) {
2775
2784
  animationFrame: !0
2776
2785
  });
2777
2786
  }
2778
- function No(t) {
2787
+ function Ho(t) {
2779
2788
  t.renderRoot.querySelector(
2780
2789
  "#eox-itemfilter-input-search"
2781
- ).value = "", Eo({ target: { value: "" } }, t);
2790
+ ).value = "", Co({ target: { value: "" } }, t);
2782
2791
  }
2783
- function rc(t, e) {
2792
+ function nc(t, e) {
2784
2793
  e.inlineMode && t.stopPropagation();
2785
2794
  }
2786
- function nc(t) {
2795
+ function ic(t) {
2787
2796
  t.inlineMode && (t.showDropdown = !0);
2788
2797
  }
2789
- function ic(t, e) {
2790
- e.inlineMode && (t.stopPropagation(), e.showDropdown = !0);
2791
- }
2792
2798
  function sc(t, e) {
2793
- e.inlineMode && t.key === "Escape" && e.showDropdown && (No(e), e.showDropdown = !1);
2799
+ e.inlineMode && (t.stopPropagation(), e.showDropdown = !0);
2794
2800
  }
2795
2801
  function oc(t, e) {
2796
- e.inlineMode && t.target.tagName !== "DROPDOWN-FORM" && t.target.tagName !== "EOX-ITEMFILTER" && e.showDropdown && (No(e), e.showDropdown = !1);
2802
+ e.inlineMode && t.key === "Escape" && e.showDropdown && (Ho(e), e.showDropdown = !1);
2797
2803
  }
2798
2804
  function ac(t, e) {
2799
- var r = 0, n = 0, i = 0, s = 0, o = 0, l = 0, c = 0, h = 0, p = null, y = null, w = t[0], m = t[1], A = e.length;
2800
- for (r; r < A; r++) {
2805
+ e.inlineMode && t.target.tagName !== "DROPDOWN-FORM" && t.target.tagName !== "EOX-ITEMFILTER" && e.showDropdown && (Ho(e), e.showDropdown = !1);
2806
+ }
2807
+ function lc(t, e) {
2808
+ var r = 0, n = 0, i = 0, s = 0, o = 0, l = 0, c = 0, h = 0, p = null, y = null, w = t[0], m = t[1], _ = e.length;
2809
+ for (r; r < _; r++) {
2801
2810
  n = 0;
2802
2811
  var E = e[r].length - 1, z = e[r];
2803
2812
  if (p = z[0], p[0] !== z[E][0] && p[1] !== z[E][1])
@@ -2838,21 +2847,21 @@ function Jt(t, e, r = {}) {
2838
2847
  const n = { type: "Feature" };
2839
2848
  return (r.id === 0 || r.id) && (n.id = r.id), r.bbox && (n.bbox = r.bbox), n.properties = e || {}, n.geometry = t, n;
2840
2849
  }
2841
- function lc(t, e, r = {}) {
2850
+ function cc(t, e, r = {}) {
2842
2851
  if (!t)
2843
2852
  throw new Error("coordinates is required");
2844
2853
  if (!Array.isArray(t))
2845
2854
  throw new Error("coordinates must be an Array");
2846
2855
  if (t.length < 2)
2847
2856
  throw new Error("coordinates must be at least 2 numbers long");
2848
- if (!Vs(t[0]) || !Vs(t[1]))
2857
+ if (!Ks(t[0]) || !Ks(t[1]))
2849
2858
  throw new Error("coordinates must contain numbers");
2850
2859
  return Jt({
2851
2860
  type: "Point",
2852
2861
  coordinates: t
2853
2862
  }, e, r);
2854
2863
  }
2855
- function cc(t, e, r = {}) {
2864
+ function uc(t, e, r = {}) {
2856
2865
  if (t.length < 2)
2857
2866
  throw new Error("coordinates must be an array of two or more positions");
2858
2867
  return Jt({
@@ -2864,16 +2873,16 @@ function Ji(t, e = {}) {
2864
2873
  const r = { type: "FeatureCollection" };
2865
2874
  return e.id && (r.id = e.id), e.bbox && (r.bbox = e.bbox), r.features = t, r;
2866
2875
  }
2867
- function uc(t, e, r = {}) {
2876
+ function hc(t, e, r = {}) {
2868
2877
  return Jt({
2869
2878
  type: "MultiLineString",
2870
2879
  coordinates: t
2871
2880
  }, e, r);
2872
2881
  }
2873
- function Vs(t) {
2882
+ function Ks(t) {
2874
2883
  return !isNaN(t) && t !== null && !Array.isArray(t);
2875
2884
  }
2876
- function Ho(t) {
2885
+ function Io(t) {
2877
2886
  if (!t)
2878
2887
  throw new Error("coord is required");
2879
2888
  if (!Array.isArray(t)) {
@@ -2886,7 +2895,7 @@ function Ho(t) {
2886
2895
  return [...t];
2887
2896
  throw new Error("coord must be GeoJSON Point or an Array of numbers");
2888
2897
  }
2889
- function hc(t) {
2898
+ function dc(t) {
2890
2899
  if (Array.isArray(t))
2891
2900
  return t;
2892
2901
  if (t.type === "Feature") {
@@ -2906,25 +2915,25 @@ function rt(t, e, r = {}) {
2906
2915
  throw new Error("point is required");
2907
2916
  if (!e)
2908
2917
  throw new Error("polygon is required");
2909
- const n = Ho(t), i = Ar(e), s = i.type, o = e.bbox;
2918
+ const n = Io(t), i = Ar(e), s = i.type, o = e.bbox;
2910
2919
  let l = i.coordinates;
2911
- if (o && dc(n, o) === !1)
2920
+ if (o && fc(n, o) === !1)
2912
2921
  return !1;
2913
2922
  s === "Polygon" && (l = [l]);
2914
2923
  let c = !1;
2915
2924
  for (var h = 0; h < l.length; ++h) {
2916
- const p = ac(n, l[h]);
2925
+ const p = lc(n, l[h]);
2917
2926
  if (p === 0)
2918
2927
  return !r.ignoreBoundary;
2919
2928
  p && (c = !0);
2920
2929
  }
2921
2930
  return c;
2922
2931
  }
2923
- function dc(t, e) {
2932
+ function fc(t, e) {
2924
2933
  return e[0] <= t[0] && e[1] <= t[1] && e[2] >= t[0] && e[3] >= t[1];
2925
2934
  }
2926
- class Io {
2927
- constructor(e = [], r = fc) {
2935
+ class Bo {
2936
+ constructor(e = [], r = pc) {
2928
2937
  if (this.data = e, this.length = this.data.length, this.compare = r, this.length > 0)
2929
2938
  for (let n = (this.length >> 1) - 1; n >= 0; n--) this._down(n);
2930
2939
  }
@@ -2959,16 +2968,16 @@ class Io {
2959
2968
  r[e] = s;
2960
2969
  }
2961
2970
  }
2962
- function fc(t, e) {
2971
+ function pc(t, e) {
2963
2972
  return t < e ? -1 : t > e ? 1 : 0;
2964
2973
  }
2965
- function Bo(t, e) {
2974
+ function Uo(t, e) {
2966
2975
  return t.p.x > e.p.x ? 1 : t.p.x < e.p.x ? -1 : t.p.y !== e.p.y ? t.p.y > e.p.y ? 1 : -1 : 1;
2967
2976
  }
2968
- function pc(t, e) {
2977
+ function gc(t, e) {
2969
2978
  return t.rightSweepEvent.p.x > e.rightSweepEvent.p.x ? 1 : t.rightSweepEvent.p.x < e.rightSweepEvent.p.x ? -1 : t.rightSweepEvent.p.y !== e.rightSweepEvent.p.y ? t.rightSweepEvent.p.y < e.rightSweepEvent.p.y ? 1 : -1 : 1;
2970
2979
  }
2971
- class Ks {
2980
+ class Gs {
2972
2981
  constructor(e, r, n, i) {
2973
2982
  this.p = {
2974
2983
  x: e[0],
@@ -2979,16 +2988,16 @@ class Ks {
2979
2988
  return this.p.x === e.p.x && this.p.y === e.p.y;
2980
2989
  }
2981
2990
  }
2982
- function gc(t, e) {
2991
+ function yc(t, e) {
2983
2992
  if (t.type === "FeatureCollection") {
2984
2993
  const r = t.features;
2985
2994
  for (let n = 0; n < r.length; n++)
2986
- Gs(r[n], e);
2995
+ Ys(r[n], e);
2987
2996
  } else
2988
- Gs(t, e);
2997
+ Ys(t, e);
2989
2998
  }
2990
2999
  let Rn = 0, On = 0, Dn = 0;
2991
- function Gs(t, e) {
3000
+ function Ys(t, e) {
2992
3001
  const r = t.type === "Feature" ? t.geometry : t;
2993
3002
  let n = r.coordinates;
2994
3003
  (r.type === "Polygon" || r.type === "MultiLineString") && (n = [n]), r.type === "LineString" && (n = [[n]]);
@@ -2998,41 +3007,41 @@ function Gs(t, e) {
2998
3007
  On = On + 1;
2999
3008
  for (let c = 0; c < n[i][s].length - 1; c++) {
3000
3009
  l = n[i][s][c + 1];
3001
- const h = new Ks(o, Rn, On, Dn), p = new Ks(l, Rn, On, Dn + 1);
3002
- h.otherEvent = p, p.otherEvent = h, Bo(h, p) > 0 ? (p.isLeftEndpoint = !0, h.isLeftEndpoint = !1) : (h.isLeftEndpoint = !0, p.isLeftEndpoint = !1), e.push(h), e.push(p), o = l, Dn = Dn + 1;
3010
+ const h = new Gs(o, Rn, On, Dn), p = new Gs(l, Rn, On, Dn + 1);
3011
+ h.otherEvent = p, p.otherEvent = h, Uo(h, p) > 0 ? (p.isLeftEndpoint = !0, h.isLeftEndpoint = !1) : (h.isLeftEndpoint = !0, p.isLeftEndpoint = !1), e.push(h), e.push(p), o = l, Dn = Dn + 1;
3003
3012
  }
3004
3013
  }
3005
3014
  Rn = Rn + 1;
3006
3015
  }
3007
- class yc {
3016
+ class bc {
3008
3017
  constructor(e) {
3009
3018
  this.leftSweepEvent = e, this.rightSweepEvent = e.otherEvent;
3010
3019
  }
3011
3020
  }
3012
- function bc(t, e) {
3021
+ function mc(t, e) {
3013
3022
  if (t === null || e === null || t.leftSweepEvent.ringId === e.leftSweepEvent.ringId && (t.rightSweepEvent.isSamePoint(e.leftSweepEvent) || t.rightSweepEvent.isSamePoint(e.leftSweepEvent) || t.rightSweepEvent.isSamePoint(e.rightSweepEvent) || t.leftSweepEvent.isSamePoint(e.leftSweepEvent) || t.leftSweepEvent.isSamePoint(e.rightSweepEvent))) return !1;
3014
3023
  const r = t.leftSweepEvent.p.x, n = t.leftSweepEvent.p.y, i = t.rightSweepEvent.p.x, s = t.rightSweepEvent.p.y, o = e.leftSweepEvent.p.x, l = e.leftSweepEvent.p.y, c = e.rightSweepEvent.p.x, h = e.rightSweepEvent.p.y, p = (h - l) * (i - r) - (c - o) * (s - n), y = (c - o) * (n - l) - (h - l) * (r - o), w = (i - r) * (n - l) - (s - n) * (r - o);
3015
3024
  if (p === 0)
3016
3025
  return !1;
3017
- const m = y / p, A = w / p;
3018
- if (m >= 0 && m <= 1 && A >= 0 && A <= 1) {
3026
+ const m = y / p, _ = w / p;
3027
+ if (m >= 0 && m <= 1 && _ >= 0 && _ <= 1) {
3019
3028
  const E = r + m * (i - r), z = n + m * (s - n);
3020
3029
  return [E, z];
3021
3030
  }
3022
3031
  return !1;
3023
3032
  }
3024
- function mc(t, e) {
3033
+ function vc(t, e) {
3025
3034
  e = e || !1;
3026
- const r = [], n = new Io([], pc);
3035
+ const r = [], n = new Bo([], gc);
3027
3036
  for (; t.length; ) {
3028
3037
  const i = t.pop();
3029
3038
  if (i.isLeftEndpoint) {
3030
- const s = new yc(i);
3039
+ const s = new bc(i);
3031
3040
  for (let o = 0; o < n.data.length; o++) {
3032
3041
  const l = n.data[o];
3033
3042
  if (e && l.leftSweepEvent.featureId === i.featureId)
3034
3043
  continue;
3035
- const c = bc(s, l);
3044
+ const c = mc(s, l);
3036
3045
  c !== !1 && r.push(c);
3037
3046
  }
3038
3047
  n.push(s);
@@ -3040,16 +3049,16 @@ function mc(t, e) {
3040
3049
  }
3041
3050
  return r;
3042
3051
  }
3043
- function vc(t, e) {
3044
- const r = new Io([], Bo);
3045
- return gc(t, r), mc(r, e);
3052
+ function wc(t, e) {
3053
+ const r = new Bo([], Uo);
3054
+ return yc(t, r), vc(r, e);
3046
3055
  }
3047
- var wc = vc;
3048
- function vs(t, e, r = {}) {
3056
+ var xc = wc;
3057
+ function ws(t, e, r = {}) {
3049
3058
  const { removeDuplicates: n = !0, ignoreSelfIntersections: i = !1 } = r;
3050
3059
  let s = [];
3051
3060
  t.type === "FeatureCollection" ? s = s.concat(t.features) : t.type === "Feature" ? s.push(t) : (t.type === "LineString" || t.type === "Polygon" || t.type === "MultiLineString" || t.type === "MultiPolygon") && s.push(Jt(t)), e.type === "FeatureCollection" ? s = s.concat(e.features) : e.type === "Feature" ? s.push(e) : (e.type === "LineString" || e.type === "Polygon" || e.type === "MultiLineString" || e.type === "MultiPolygon") && s.push(Jt(e));
3052
- const o = wc(
3061
+ const o = xc(
3053
3062
  Ji(s),
3054
3063
  i
3055
3064
  );
@@ -3062,12 +3071,12 @@ function vs(t, e, r = {}) {
3062
3071
  });
3063
3072
  } else
3064
3073
  l = o;
3065
- return Ji(l.map((c) => lc(c)));
3074
+ return Ji(l.map((c) => cc(c)));
3066
3075
  }
3067
- function Uo(t, e, r) {
3076
+ function zo(t, e, r) {
3068
3077
  if (t !== null)
3069
- for (var n, i, s, o, l, c, h, p = 0, y = 0, w, m = t.type, A = m === "FeatureCollection", E = m === "Feature", z = A ? t.features.length : 1, H = 0; H < z; H++) {
3070
- h = A ? t.features[H].geometry : E ? t.geometry : t, w = h ? h.type === "GeometryCollection" : !1, l = w ? h.geometries.length : 1;
3078
+ for (var n, i, s, o, l, c, h, p = 0, y = 0, w, m = t.type, _ = m === "FeatureCollection", E = m === "Feature", z = _ ? t.features.length : 1, H = 0; H < z; H++) {
3079
+ h = _ ? t.features[H].geometry : E ? t.geometry : t, w = h ? h.type === "GeometryCollection" : !1, l = w ? h.geometries.length : 1;
3071
3080
  for (var X = 0; X < l; X++) {
3072
3081
  var F = 0, ue = 0;
3073
3082
  if (o = w ? h.geometries[X] : h, o !== null) {
@@ -3141,7 +3150,7 @@ function Uo(t, e, r) {
3141
3150
  break;
3142
3151
  case "GeometryCollection":
3143
3152
  for (n = 0; n < o.geometries.length; n++)
3144
- if (Uo(o.geometries[n], e) === !1)
3153
+ if (zo(o.geometries[n], e) === !1)
3145
3154
  return !1;
3146
3155
  break;
3147
3156
  default:
@@ -3151,10 +3160,10 @@ function Uo(t, e, r) {
3151
3160
  }
3152
3161
  }
3153
3162
  }
3154
- function xc(t, e) {
3155
- var r, n, i, s, o, l, c, h, p, y, w = 0, m = t.type === "FeatureCollection", A = t.type === "Feature", E = m ? t.features.length : 1;
3163
+ function $c(t, e) {
3164
+ var r, n, i, s, o, l, c, h, p, y, w = 0, m = t.type === "FeatureCollection", _ = t.type === "Feature", E = m ? t.features.length : 1;
3156
3165
  for (r = 0; r < E; r++) {
3157
- for (l = m ? t.features[r].geometry : A ? t.geometry : t, h = m ? t.features[r].properties : A ? t.properties : {}, p = m ? t.features[r].bbox : A ? t.bbox : void 0, y = m ? t.features[r].id : A ? t.id : void 0, c = l ? l.type === "GeometryCollection" : !1, o = c ? l.geometries.length : 1, i = 0; i < o; i++) {
3166
+ for (l = m ? t.features[r].geometry : _ ? t.geometry : t, h = m ? t.features[r].properties : _ ? t.properties : {}, p = m ? t.features[r].bbox : _ ? t.bbox : void 0, y = m ? t.features[r].id : _ ? t.id : void 0, c = l ? l.type === "GeometryCollection" : !1, o = c ? l.geometries.length : 1, i = 0; i < o; i++) {
3158
3167
  if (s = c ? l.geometries[i] : l, s === null) {
3159
3168
  if (e(
3160
3169
  null,
@@ -3203,7 +3212,7 @@ function xc(t, e) {
3203
3212
  }
3204
3213
  }
3205
3214
  function Bn(t, e) {
3206
- xc(t, function(r, n, i, s, o) {
3215
+ $c(t, function(r, n, i, s, o) {
3207
3216
  var l = r === null ? null : r.type;
3208
3217
  switch (l) {
3209
3218
  case null:
@@ -3242,27 +3251,27 @@ function Qi(t, e = {}) {
3242
3251
  const r = Ar(t);
3243
3252
  switch (!e.properties && t.type === "Feature" && (e.properties = t.properties), r.type) {
3244
3253
  case "Polygon":
3245
- return $c(r, e);
3246
- case "MultiPolygon":
3247
3254
  return _c(r, e);
3255
+ case "MultiPolygon":
3256
+ return Ac(r, e);
3248
3257
  default:
3249
3258
  throw new Error("invalid poly");
3250
3259
  }
3251
3260
  }
3252
- function $c(t, e = {}) {
3261
+ function _c(t, e = {}) {
3253
3262
  const n = Ar(t).coordinates, i = e.properties ? e.properties : t.type === "Feature" ? t.properties : {};
3254
- return zo(n, i);
3263
+ return qo(n, i);
3255
3264
  }
3256
- function _c(t, e = {}) {
3265
+ function Ac(t, e = {}) {
3257
3266
  const n = Ar(t).coordinates, i = e.properties ? e.properties : t.type === "Feature" ? t.properties : {}, s = [];
3258
3267
  return n.forEach((o) => {
3259
- s.push(zo(o, i));
3268
+ s.push(qo(o, i));
3260
3269
  }), Ji(s);
3261
3270
  }
3262
- function zo(t, e) {
3263
- return t.length > 1 ? uc(t, e) : cc(t[0], e);
3271
+ function qo(t, e) {
3272
+ return t.length > 1 ? hc(t, e) : uc(t[0], e);
3264
3273
  }
3265
- function Ac(t, e, r = {}) {
3274
+ function Mc(t, e, r = {}) {
3266
3275
  var n;
3267
3276
  const i = (n = r.ignoreSelfIntersections) != null ? n : !1;
3268
3277
  let s = !0;
@@ -3270,7 +3279,7 @@ function Ac(t, e, r = {}) {
3270
3279
  Bn(e, (l) => {
3271
3280
  if (s === !1)
3272
3281
  return !1;
3273
- s = Mc(
3282
+ s = Sc(
3274
3283
  o.geometry,
3275
3284
  l.geometry,
3276
3285
  i
@@ -3278,14 +3287,14 @@ function Ac(t, e, r = {}) {
3278
3287
  });
3279
3288
  }), s;
3280
3289
  }
3281
- function Mc(t, e, r) {
3290
+ function Sc(t, e, r) {
3282
3291
  switch (t.type) {
3283
3292
  case "Point":
3284
3293
  switch (e.type) {
3285
3294
  case "Point":
3286
- return !kc(t.coordinates, e.coordinates);
3295
+ return !Lc(t.coordinates, e.coordinates);
3287
3296
  case "LineString":
3288
- return !Ys(e, t);
3297
+ return !Fs(e, t);
3289
3298
  case "Polygon":
3290
3299
  return !rt(t, e);
3291
3300
  }
@@ -3293,11 +3302,11 @@ function Mc(t, e, r) {
3293
3302
  case "LineString":
3294
3303
  switch (e.type) {
3295
3304
  case "Point":
3296
- return !Ys(t, e);
3305
+ return !Fs(t, e);
3297
3306
  case "LineString":
3298
- return !Sc(t, e, r);
3307
+ return !Ec(t, e, r);
3299
3308
  case "Polygon":
3300
- return !Fs(e, t, r);
3309
+ return !Xs(e, t, r);
3301
3310
  }
3302
3311
  break;
3303
3312
  case "Polygon":
@@ -3305,16 +3314,16 @@ function Mc(t, e, r) {
3305
3314
  case "Point":
3306
3315
  return !rt(e, t);
3307
3316
  case "LineString":
3308
- return !Fs(t, e, r);
3317
+ return !Xs(t, e, r);
3309
3318
  case "Polygon":
3310
- return !Ec(e, t, r);
3319
+ return !Cc(e, t, r);
3311
3320
  }
3312
3321
  }
3313
3322
  return !1;
3314
3323
  }
3315
- function Ys(t, e) {
3324
+ function Fs(t, e) {
3316
3325
  for (let r = 0; r < t.coordinates.length - 1; r++)
3317
- if (Cc(
3326
+ if (kc(
3318
3327
  t.coordinates[r],
3319
3328
  t.coordinates[r + 1],
3320
3329
  e.coordinates
@@ -3322,40 +3331,40 @@ function Ys(t, e) {
3322
3331
  return !0;
3323
3332
  return !1;
3324
3333
  }
3325
- function Sc(t, e, r) {
3326
- return vs(t, e, {
3334
+ function Ec(t, e, r) {
3335
+ return ws(t, e, {
3327
3336
  ignoreSelfIntersections: r
3328
3337
  }).features.length > 0;
3329
3338
  }
3330
- function Fs(t, e, r) {
3339
+ function Xs(t, e, r) {
3331
3340
  for (const i of e.coordinates)
3332
3341
  if (rt(i, t))
3333
3342
  return !0;
3334
- return vs(e, Qi(t), {
3343
+ return ws(e, Qi(t), {
3335
3344
  ignoreSelfIntersections: r
3336
3345
  }).features.length > 0;
3337
3346
  }
3338
- function Ec(t, e, r) {
3347
+ function Cc(t, e, r) {
3339
3348
  for (const i of t.coordinates[0])
3340
3349
  if (rt(i, e))
3341
3350
  return !0;
3342
3351
  for (const i of e.coordinates[0])
3343
3352
  if (rt(i, t))
3344
3353
  return !0;
3345
- return vs(
3354
+ return ws(
3346
3355
  Qi(t),
3347
3356
  Qi(e),
3348
3357
  { ignoreSelfIntersections: r }
3349
3358
  ).features.length > 0;
3350
3359
  }
3351
- function Cc(t, e, r) {
3360
+ function kc(t, e, r) {
3352
3361
  const n = r[0] - t[0], i = r[1] - t[1], s = e[0] - t[0], o = e[1] - t[1];
3353
3362
  return n * o - i * s !== 0 ? !1 : Math.abs(s) >= Math.abs(o) ? s > 0 ? t[0] <= r[0] && r[0] <= e[0] : e[0] <= r[0] && r[0] <= t[0] : o > 0 ? t[1] <= r[1] && r[1] <= e[1] : e[1] <= r[1] && r[1] <= t[1];
3354
3363
  }
3355
- function kc(t, e) {
3364
+ function Lc(t, e) {
3356
3365
  return t[0] === e[0] && t[1] === e[1];
3357
3366
  }
3358
- function Lc(t, e, r = {}) {
3367
+ function Pc(t, e, r = {}) {
3359
3368
  var n;
3360
3369
  const i = (n = r.ignoreSelfIntersections) != null ? n : !1;
3361
3370
  let s = !1;
@@ -3363,26 +3372,26 @@ function Lc(t, e, r = {}) {
3363
3372
  Bn(e, (l) => {
3364
3373
  if (s === !0)
3365
3374
  return !0;
3366
- s = !Ac(o.geometry, l.geometry, {
3375
+ s = !Mc(o.geometry, l.geometry, {
3367
3376
  ignoreSelfIntersections: i
3368
3377
  });
3369
3378
  });
3370
3379
  }), s;
3371
3380
  }
3372
- var Pc = Lc;
3381
+ var Tc = Pc;
3373
3382
  function Un(t, e = {}) {
3374
3383
  if (t.bbox != null && e.recompute !== !0)
3375
3384
  return t.bbox;
3376
3385
  const r = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
3377
- return Uo(t, (n) => {
3386
+ return zo(t, (n) => {
3378
3387
  r[0] > n[0] && (r[0] = n[0]), r[1] > n[1] && (r[1] = n[1]), r[2] < n[0] && (r[2] = n[0]), r[3] < n[1] && (r[3] = n[1]);
3379
3388
  }), r;
3380
3389
  }
3381
3390
  function zn(t, e, r = {}) {
3382
- const n = Ho(t), i = hc(e);
3391
+ const n = Io(t), i = dc(e);
3383
3392
  for (let s = 0; s < i.length - 1; s++) {
3384
3393
  let o = !1;
3385
- if (r.ignoreEndVertices && (s === 0 && (o = "start"), s === i.length - 2 && (o = "end"), s === 0 && s + 1 === i.length - 1 && (o = "both")), Tc(
3394
+ if (r.ignoreEndVertices && (s === 0 && (o = "start"), s === i.length - 2 && (o = "end"), s === 0 && s + 1 === i.length - 1 && (o = "both")), Rc(
3386
3395
  i[s],
3387
3396
  i[s + 1],
3388
3397
  n,
@@ -3393,8 +3402,8 @@ function zn(t, e, r = {}) {
3393
3402
  }
3394
3403
  return !1;
3395
3404
  }
3396
- function Tc(t, e, r, n, i) {
3397
- const s = r[0], o = r[1], l = t[0], c = t[1], h = e[0], p = e[1], y = r[0] - l, w = r[1] - c, m = h - l, A = p - c, E = y * A - w * m;
3405
+ function Rc(t, e, r, n, i) {
3406
+ const s = r[0], o = r[1], l = t[0], c = t[1], h = e[0], p = e[1], y = r[0] - l, w = r[1] - c, m = h - l, _ = p - c, E = y * _ - w * m;
3398
3407
  if (i !== null) {
3399
3408
  if (Math.abs(E) > i)
3400
3409
  return !1;
@@ -3402,21 +3411,21 @@ function Tc(t, e, r, n, i) {
3402
3411
  return !1;
3403
3412
  if (n) {
3404
3413
  if (n === "start")
3405
- return Math.abs(m) >= Math.abs(A) ? m > 0 ? l < s && s <= h : h <= s && s < l : A > 0 ? c < o && o <= p : p <= o && o < c;
3414
+ return Math.abs(m) >= Math.abs(_) ? m > 0 ? l < s && s <= h : h <= s && s < l : _ > 0 ? c < o && o <= p : p <= o && o < c;
3406
3415
  if (n === "end")
3407
- return Math.abs(m) >= Math.abs(A) ? m > 0 ? l <= s && s < h : h < s && s <= l : A > 0 ? c <= o && o < p : p < o && o <= c;
3416
+ return Math.abs(m) >= Math.abs(_) ? m > 0 ? l <= s && s < h : h < s && s <= l : _ > 0 ? c <= o && o < p : p < o && o <= c;
3408
3417
  if (n === "both")
3409
- return Math.abs(m) >= Math.abs(A) ? m > 0 ? l < s && s < h : h < s && s < l : A > 0 ? c < o && o < p : p < o && o < c;
3410
- } else return Math.abs(m) >= Math.abs(A) ? m > 0 ? l <= s && s <= h : h <= s && s <= l : A > 0 ? c <= o && o <= p : p <= o && o <= c;
3418
+ return Math.abs(m) >= Math.abs(_) ? m > 0 ? l < s && s < h : h < s && s < l : _ > 0 ? c < o && o < p : p < o && o < c;
3419
+ } else return Math.abs(m) >= Math.abs(_) ? m > 0 ? l <= s && s <= h : h <= s && s <= l : _ > 0 ? c <= o && o <= p : p <= o && o <= c;
3411
3420
  return !1;
3412
3421
  }
3413
- function Rc(t, e) {
3422
+ function Oc(t, e) {
3414
3423
  var r = Ar(t), n = Ar(e), i = r.type, s = n.type;
3415
3424
  switch (i) {
3416
3425
  case "Point":
3417
3426
  switch (s) {
3418
3427
  case "MultiPoint":
3419
- return Oc(r, n);
3428
+ return Dc(r, n);
3420
3429
  case "LineString":
3421
3430
  return zn(r, n, { ignoreEndVertices: !0 });
3422
3431
  case "Polygon":
@@ -3428,22 +3437,22 @@ function Rc(t, e) {
3428
3437
  case "MultiPoint":
3429
3438
  switch (s) {
3430
3439
  case "MultiPoint":
3431
- return Dc(r, n);
3432
- case "LineString":
3433
3440
  return jc(r, n);
3441
+ case "LineString":
3442
+ return Nc(r, n);
3434
3443
  case "Polygon":
3435
3444
  case "MultiPolygon":
3436
- return Nc(r, n);
3445
+ return Hc(r, n);
3437
3446
  default:
3438
3447
  throw new Error("feature2 " + s + " geometry not supported");
3439
3448
  }
3440
3449
  case "LineString":
3441
3450
  switch (s) {
3442
3451
  case "LineString":
3443
- return Hc(r, n);
3452
+ return Ic(r, n);
3444
3453
  case "Polygon":
3445
3454
  case "MultiPolygon":
3446
- return Ic(r, n);
3455
+ return Bc(r, n);
3447
3456
  default:
3448
3457
  throw new Error("feature2 " + s + " geometry not supported");
3449
3458
  }
@@ -3451,7 +3460,7 @@ function Rc(t, e) {
3451
3460
  switch (s) {
3452
3461
  case "Polygon":
3453
3462
  case "MultiPolygon":
3454
- return Bc(r, n);
3463
+ return Uc(r, n);
3455
3464
  default:
3456
3465
  throw new Error("feature2 " + s + " geometry not supported");
3457
3466
  }
@@ -3459,25 +3468,25 @@ function Rc(t, e) {
3459
3468
  throw new Error("feature1 " + i + " geometry not supported");
3460
3469
  }
3461
3470
  }
3462
- function Oc(t, e) {
3471
+ function Dc(t, e) {
3463
3472
  var r, n = !1;
3464
3473
  for (r = 0; r < e.coordinates.length; r++)
3465
- if (Wo(e.coordinates[r], t.coordinates)) {
3474
+ if (Vo(e.coordinates[r], t.coordinates)) {
3466
3475
  n = !0;
3467
3476
  break;
3468
3477
  }
3469
3478
  return n;
3470
3479
  }
3471
- function Dc(t, e) {
3480
+ function jc(t, e) {
3472
3481
  for (var r = 0; r < t.coordinates.length; r++) {
3473
3482
  for (var n = !1, i = 0; i < e.coordinates.length; i++)
3474
- Wo(t.coordinates[r], e.coordinates[i]) && (n = !0);
3483
+ Vo(t.coordinates[r], e.coordinates[i]) && (n = !0);
3475
3484
  if (!n)
3476
3485
  return !1;
3477
3486
  }
3478
3487
  return !0;
3479
3488
  }
3480
- function jc(t, e) {
3489
+ function Nc(t, e) {
3481
3490
  for (var r = !1, n = 0; n < t.coordinates.length; n++) {
3482
3491
  if (!zn(t.coordinates[n], e))
3483
3492
  return !1;
@@ -3489,7 +3498,7 @@ function jc(t, e) {
3489
3498
  }
3490
3499
  return r;
3491
3500
  }
3492
- function Nc(t, e) {
3501
+ function Hc(t, e) {
3493
3502
  for (var r = !0, n = !1, i = 0; i < t.coordinates.length; i++) {
3494
3503
  if (n = rt(t.coordinates[i], e), !n) {
3495
3504
  r = !1;
@@ -3501,15 +3510,15 @@ function Nc(t, e) {
3501
3510
  }
3502
3511
  return r && n;
3503
3512
  }
3504
- function Hc(t, e) {
3513
+ function Ic(t, e) {
3505
3514
  for (var r = 0; r < t.coordinates.length; r++)
3506
3515
  if (!zn(t.coordinates[r], e))
3507
3516
  return !1;
3508
3517
  return !0;
3509
3518
  }
3510
- function Ic(t, e) {
3519
+ function Bc(t, e) {
3511
3520
  var r = Un(e), n = Un(t);
3512
- if (!qo(r, n))
3521
+ if (!Wo(r, n))
3513
3522
  return !1;
3514
3523
  for (var i = !1, s = 0; s < t.coordinates.length; s++) {
3515
3524
  if (!rt(t.coordinates[s], e))
@@ -3519,7 +3528,7 @@ function Ic(t, e) {
3519
3528
  e,
3520
3529
  { ignoreBoundary: !0 }
3521
3530
  )), !i && s < t.coordinates.length - 1) {
3522
- var o = Uc(
3531
+ var o = zc(
3523
3532
  t.coordinates[s],
3524
3533
  t.coordinates[s + 1]
3525
3534
  );
@@ -3530,27 +3539,27 @@ function Ic(t, e) {
3530
3539
  }
3531
3540
  return i;
3532
3541
  }
3533
- function Bc(t, e) {
3542
+ function Uc(t, e) {
3534
3543
  var r = Un(t), n = Un(e);
3535
- if (!qo(n, r))
3544
+ if (!Wo(n, r))
3536
3545
  return !1;
3537
3546
  for (var i = 0; i < t.coordinates[0].length; i++)
3538
3547
  if (!rt(t.coordinates[0][i], e))
3539
3548
  return !1;
3540
3549
  return !0;
3541
3550
  }
3542
- function qo(t, e) {
3551
+ function Wo(t, e) {
3543
3552
  return !(t[0] > e[0] || t[2] < e[2] || t[1] > e[1] || t[3] < e[3]);
3544
3553
  }
3545
- function Wo(t, e) {
3554
+ function Vo(t, e) {
3546
3555
  return t[0] === e[0] && t[1] === e[1];
3547
3556
  }
3548
- function Uc(t, e) {
3557
+ function zc(t, e) {
3549
3558
  return [(t[0] + e[0]) / 2, (t[1] + e[1]) / 2];
3550
3559
  }
3551
- var zc = Rc;
3552
- const qc = (t, e) => e ? Pc(t, e) : !0, Wc = (t, e) => e ? zc(t, e) : !0;
3553
- function Vc(t, e = "highlight", r = "title") {
3560
+ var qc = Oc;
3561
+ const Wc = (t, e) => e ? Tc(t, e) : !0, Vc = (t, e) => e ? qc(t, e) : !0;
3562
+ function Kc(t, e = "highlight", r = "title") {
3554
3563
  const n = (s, o, l) => {
3555
3564
  const c = o.split(".");
3556
3565
  let h;
@@ -3585,12 +3594,12 @@ var Ze = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
3585
3594
  function ei(t) {
3586
3595
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3587
3596
  }
3588
- var Vo = { exports: {} };
3597
+ var Ko = { exports: {} };
3589
3598
  (function(t, e) {
3590
3599
  (function(r, n) {
3591
3600
  t.exports = n();
3592
3601
  })(Ze, function() {
3593
- var r = 1e3, n = 6e4, i = 36e5, s = "millisecond", o = "second", l = "minute", c = "hour", h = "day", p = "week", y = "month", w = "quarter", m = "year", A = "date", E = "Invalid Date", z = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, H = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, X = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(D) {
3602
+ var r = 1e3, n = 6e4, i = 36e5, s = "millisecond", o = "second", l = "minute", c = "hour", h = "day", p = "week", y = "month", w = "quarter", m = "year", _ = "date", E = "Invalid Date", z = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, H = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, X = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(D) {
3594
3603
  var S = ["th", "st", "nd", "rd"], M = D % 100;
3595
3604
  return "[" + D + (S[(M - 20) % 10] || S[M] || S[0]) + "]";
3596
3605
  } }, F = function(D, S, M) {
@@ -3606,7 +3615,7 @@ var Vo = { exports: {} };
3606
3615
  }, a: function(D) {
3607
3616
  return D < 0 ? Math.ceil(D) || 0 : Math.floor(D);
3608
3617
  }, p: function(D) {
3609
- return { M: y, y: m, w: p, d: h, D: A, h: c, m: l, s: o, ms: s, Q: w }[D] || String(D || "").toLowerCase().replace(/s$/, "");
3618
+ return { M: y, y: m, w: p, d: h, D: _, h: c, m: l, s: o, ms: s, Q: w }[D] || String(D || "").toLowerCase().replace(/s$/, "");
3610
3619
  }, u: function(D) {
3611
3620
  return D === void 0;
3612
3621
  } }, te = "en", Z = {};
@@ -3690,7 +3699,7 @@ var Vo = { exports: {} };
3690
3699
  var Ne = this.$locale().weekStart || 0, se = (Ae < Ne ? Ae + 7 : Ae) - Ne;
3691
3700
  return ce(V ? je - se : je + (6 - se), Se);
3692
3701
  case h:
3693
- case A:
3702
+ case _:
3694
3703
  return we(Ce + "Hours", 0);
3695
3704
  case c:
3696
3705
  return we(Ce + "Minutes", 1);
@@ -3704,10 +3713,10 @@ var Vo = { exports: {} };
3704
3713
  }, S.endOf = function(M) {
3705
3714
  return this.startOf(M, !1);
3706
3715
  }, S.$set = function(M, j) {
3707
- var k, V = ie.p(M), K = "set" + (this.$u ? "UTC" : ""), ce = (k = {}, k[h] = K + "Date", k[A] = K + "Date", k[y] = K + "Month", k[m] = K + "FullYear", k[c] = K + "Hours", k[l] = K + "Minutes", k[o] = K + "Seconds", k[s] = K + "Milliseconds", k)[V], we = V === h ? this.$D + (j - this.$W) : j;
3716
+ var k, V = ie.p(M), K = "set" + (this.$u ? "UTC" : ""), ce = (k = {}, k[h] = K + "Date", k[_] = K + "Date", k[y] = K + "Month", k[m] = K + "FullYear", k[c] = K + "Hours", k[l] = K + "Minutes", k[o] = K + "Seconds", k[s] = K + "Milliseconds", k)[V], we = V === h ? this.$D + (j - this.$W) : j;
3708
3717
  if (V === y || V === m) {
3709
- var Ae = this.clone().set(A, 1);
3710
- Ae.$d[ce](we), Ae.init(), this.$d = Ae.set(A, Math.min(this.$D, Ae.daysInMonth())).$d;
3718
+ var Ae = this.clone().set(_, 1);
3719
+ Ae.$d[ce](we), Ae.init(), this.$d = Ae.set(_, Math.min(this.$D, Ae.daysInMonth())).$d;
3711
3720
  } else ce && this.$d[ce](we);
3712
3721
  return this.init(), this;
3713
3722
  }, S.set = function(M, j) {
@@ -3850,7 +3859,7 @@ var Vo = { exports: {} };
3850
3859
  return this.$d.toUTCString();
3851
3860
  }, D;
3852
3861
  }(), Ot = We.prototype;
3853
- return fe.prototype = Ot, [["$ms", s], ["$s", o], ["$m", l], ["$H", c], ["$W", h], ["$M", y], ["$y", m], ["$D", A]].forEach(function(D) {
3862
+ return fe.prototype = Ot, [["$ms", s], ["$s", o], ["$m", l], ["$H", c], ["$W", h], ["$M", y], ["$y", m], ["$D", _]].forEach(function(D) {
3854
3863
  Ot[D[1]] = function(S) {
3855
3864
  return this.$g(S, D[0], D[1]);
3856
3865
  };
@@ -3860,27 +3869,27 @@ var Vo = { exports: {} };
3860
3869
  return fe(1e3 * D);
3861
3870
  }, fe.en = Z[te], fe.Ls = Z, fe.p = {}, fe;
3862
3871
  });
3863
- })(Vo);
3864
- var Kc = Vo.exports;
3865
- const tn = /* @__PURE__ */ ei(Kc);
3866
- let Ko;
3867
- const Gc = (t, e) => {
3868
- Ko = new Rt(t, {
3872
+ })(Ko);
3873
+ var Gc = Ko.exports;
3874
+ const tn = /* @__PURE__ */ ei(Gc);
3875
+ let Go;
3876
+ const Yc = (t, e) => {
3877
+ Go = new Rt(t, {
3869
3878
  threshold: 0.4,
3870
3879
  distance: 50,
3871
3880
  includeMatches: !0,
3872
3881
  useExtendedSearch: !0,
3873
3882
  ...e
3874
3883
  });
3875
- }, Yc = async (t, e, r) => {
3884
+ }, Fc = async (t, e, r) => {
3876
3885
  const n = Object.entries(e).filter(
3877
3886
  ([, l]) => l.type === "text" || l.type === "select" || l.type === "multiselect"
3878
3887
  ).reduce((l, [c, h]) => {
3879
- const p = "$or", y = [], w = (m, A) => {
3888
+ const p = "$or", y = [], w = (m, _) => {
3880
3889
  const E = {};
3881
- h.type === "text" ? E[m] = `${A}` : E[c] = `="${m}"`, y.push(E);
3890
+ h.type === "text" ? E[m] = `${_}` : E[c] = `="${m}"`, y.push(E);
3882
3891
  };
3883
- return Object.entries(h.state).filter(([, m]) => m).forEach(([m, A]) => w(m, A)), y.length > 0 && l.push({
3892
+ return Object.entries(h.state).filter(([, m]) => m).forEach(([m, _]) => w(m, _)), y.length > 0 && l.push({
3884
3893
  [p]: y
3885
3894
  }), l;
3886
3895
  }, []);
@@ -3891,8 +3900,8 @@ const Gc = (t, e) => {
3891
3900
  const l = {
3892
3901
  $and: [...n]
3893
3902
  // Combine filters using logical AND
3894
- }, c = Ko.search(l);
3895
- i = r.enableHighlighting ? Vc(c, "highlight", r.titleProperty) : c.map((h) => h.item);
3903
+ }, c = Go.search(l);
3904
+ i = r.enableHighlighting ? Kc(c, "highlight", r.titleProperty) : c.map((h) => h.item);
3896
3905
  }
3897
3906
  const s = Object.entries(e).filter(([, l]) => l.type === "range").reduce((l, [c, h]) => (l[c] = {
3898
3907
  min: h.state.min,
@@ -3904,8 +3913,8 @@ const Gc = (t, e) => {
3904
3913
  for (let c = 0; c < i.length; c++) {
3905
3914
  const h = {};
3906
3915
  for (const [p, y] of Object.entries(s)) {
3907
- const w = (m) => y.format === "date" ? tn(m).unix() : m;
3908
- Object.prototype.hasOwnProperty.call(i[c], p) ? Array.isArray(i[c][p]) ? h[p] = s[p].min <= w(i[c][p][1]) && w(i[c][p][0]) <= s[p].max : w(i[c][p]) >= s[p].min && w(i[c][p]) <= s[p].max ? h[p] = !0 : h[p] = !1 : h[p] = !0;
3916
+ const w = (_) => y.format === "date" ? tn(_).unix() : _, m = ts(p, i[c]);
3917
+ m ? Array.isArray(m) ? h[p] = s[p].min <= w(m[1]) && w(m[0]) <= s[p].max : w(m) >= s[p].min && w(m) <= s[p].max ? h[p] = !0 : h[p] = !1 : h[p] = !0;
3909
3918
  }
3910
3919
  Object.values(h).every((p) => !!p) && l.push(i[c]);
3911
3920
  }
@@ -3920,8 +3929,8 @@ const Gc = (t, e) => {
3920
3929
  for (let c = 0; c < i.length; c++) {
3921
3930
  const h = {};
3922
3931
  for (const p of Object.keys(o)) {
3923
- const y = o[p].mode || "within";
3924
- Object.prototype.hasOwnProperty.call(i[c], p) && (y === "within" ? Wc(i[c][p], o[p].geometry) : qc(i[c][p], o[p].geometry)) ? h[p] = !0 : h[p] = !1;
3932
+ const y = ts(p, i[c]), w = o[p].mode || "within";
3933
+ y && (w === "within" ? Vc(y, o[p].geometry) : Wc(y, o[p].geometry)) ? h[p] = !0 : h[p] = !1;
3925
3934
  }
3926
3935
  Object.values(h).every((p) => !!p) && l.push(i[c]);
3927
3936
  }
@@ -3929,7 +3938,7 @@ const Gc = (t, e) => {
3929
3938
  }
3930
3939
  return i;
3931
3940
  };
3932
- function Fc(t, e) {
3941
+ function Xc(t, e) {
3933
3942
  return [
3934
3943
  {
3935
3944
  type: "Vector",
@@ -3989,10 +3998,10 @@ function ti(t) {
3989
3998
  }
3990
3999
  return delete t.stringifiedState, delete t.dirty, t;
3991
4000
  }
3992
- function Xs(t, e) {
4001
+ function Zs(t, e) {
3993
4002
  return t * 2 + e;
3994
4003
  }
3995
- function Xc(t) {
4004
+ function Zc(t) {
3996
4005
  return Object.keys(t).map((e) => ({
3997
4006
  title: Y`${t[e].title}:
3998
4007
  <strong>${t[e].stringifiedState}</strong>`,
@@ -4002,10 +4011,10 @@ function Xc(t) {
4002
4011
  function es(t) {
4003
4012
  return Object.values(t).map((e) => e.dirty).filter((e) => e).length > 0;
4004
4013
  }
4005
- async function Zc(t, e, r) {
4014
+ async function Jc(t, e, r) {
4006
4015
  return await (await fetch(`${r.externalFilter(t, e)}`)).json();
4007
4016
  }
4008
- function Go(t, e, r) {
4017
+ function Yo(t, e, r) {
4009
4018
  let n;
4010
4019
  if (t.detail ? n = t.detail.target : n = t.target, n != null && n.classList.contains("details-filter")) {
4011
4020
  if (!n.open || e != null && e.expandMultipleFilters) return;
@@ -4020,12 +4029,15 @@ function Go(t, e, r) {
4020
4029
  });
4021
4030
  }
4022
4031
  }
4023
- var be, Yo, ts, rs, Fo, ns, is, Xo, ss, Zo, Jo;
4024
- class Jc extends Je {
4032
+ function ts(t, e) {
4033
+ return t != null && t.includes(".") ? t.split(".").reduce((r, n) => r && r[n], e) : e[t];
4034
+ }
4035
+ var be, Fo, rs, ns, Xo, is, ss, Zo, os, Jo, Qo;
4036
+ class Qc extends Je {
4025
4037
  constructor() {
4026
4038
  super();
4027
4039
  Ge(this, be);
4028
- this.filterProperties = {}, this.unstyled = !1, this.inlineMode = !1, this.filters = {}, this._handleClickOutside = le(this, be, Fo).bind(this), this._handleKeyDown = le(this, be, ns).bind(this);
4040
+ this.filterProperties = {}, this.unstyled = !1, this.inlineMode = !1, this.filters = {}, this._handleClickOutside = le(this, be, Xo).bind(this), this._handleKeyDown = le(this, be, is).bind(this);
4029
4041
  }
4030
4042
  // Define properties with defaults and types
4031
4043
  static get properties() {
@@ -4051,14 +4063,14 @@ class Jc extends Je {
4051
4063
  * Adds event listeners if inline mode is enabled.
4052
4064
  */
4053
4065
  connectedCallback() {
4054
- super.connectedCallback(), this.inlineMode && le(this, be, ts).call(this);
4066
+ super.connectedCallback(), this.inlineMode && le(this, be, rs).call(this);
4055
4067
  }
4056
4068
  /**
4057
4069
  * Lifecycle method called when the element is disconnected from the DOM.
4058
4070
  * Removes event listeners if inline mode is enabled.
4059
4071
  */
4060
4072
  disconnectedCallback() {
4061
- this.inlineMode && le(this, be, rs).call(this), super.disconnectedCallback();
4073
+ this.inlineMode && le(this, be, ns).call(this), super.disconnectedCallback();
4062
4074
  }
4063
4075
  /**
4064
4076
  * Stores the autoUpdate cleanup function to be called
@@ -4075,7 +4087,7 @@ class Jc extends Je {
4075
4087
  this.inlineMode && this.requestUpdate();
4076
4088
  }
4077
4089
  updated(r) {
4078
- r.has("inlineMode") && (this.inlineMode ? le(this, be, ts).call(this) : le(this, be, rs).call(this));
4090
+ r.has("inlineMode") && (this.inlineMode ? le(this, be, rs).call(this) : le(this, be, ns).call(this));
4079
4091
  }
4080
4092
  /**
4081
4093
  * Renders the HTML template for the component.
@@ -4088,15 +4100,15 @@ class Jc extends Je {
4088
4100
  ${this.inlineMode ? Y`
4089
4101
  <div
4090
4102
  class="inline-container-wrapper"
4091
- @click="${le(this, be, is)}"
4103
+ @click="${le(this, be, ss)}"
4092
4104
  >
4093
4105
  <div class="inline-container" part="container">
4094
4106
  <div class="chip-container">
4095
4107
  <div class="chip-wrapper">
4096
4108
  <eox-itemfilter-chips
4097
- .items=${Xc(this.filters)}
4109
+ .items=${Zc(this.filters)}
4098
4110
  .controller=${{
4099
- remove: (r) => le(this, be, Zo).call(this, r)
4111
+ remove: (r) => le(this, be, Jo).call(this, r)
4100
4112
  }}
4101
4113
  >
4102
4114
  </eox-itemfilter-chips>
@@ -4119,9 +4131,9 @@ class Jc extends Je {
4119
4131
  autocomplete="off"
4120
4132
  id="eox-itemfilter-input-search"
4121
4133
  type="text"
4122
- @click="${le(this, be, is)}"
4123
- @focus="${le(this, be, Xo)}"
4124
- @input="${le(this, be, Jo)}"
4134
+ @click="${le(this, be, ss)}"
4135
+ @focus="${le(this, be, Zo)}"
4136
+ @input="${le(this, be, Qo)}"
4125
4137
  placeholder="Search and add filter"
4126
4138
  aria-haspopup="true"
4127
4139
  aria-expanded="${this.showDropdown}"
@@ -4132,9 +4144,9 @@ class Jc extends Je {
4132
4144
  <div
4133
4145
  class="inline-content"
4134
4146
  slot="content"
4135
- @keydown="${le(this, be, ns)}"
4136
- @click="${le(this, be, ss)}"
4137
- @focus="${le(this, be, ss)}"
4147
+ @keydown="${le(this, be, is)}"
4148
+ @click="${le(this, be, os)}"
4149
+ @focus="${le(this, be, os)}"
4138
4150
  >
4139
4151
  <slot name="section"></slot>
4140
4152
  </div>
@@ -4144,17 +4156,17 @@ class Jc extends Je {
4144
4156
  `;
4145
4157
  }
4146
4158
  }
4147
- be = new WeakSet(), Yo = function() {
4148
- setTimeout(() => this._overlayCleanup = tc(this));
4159
+ be = new WeakSet(), Fo = function() {
4160
+ setTimeout(() => this._overlayCleanup = rc(this));
4149
4161
  }, /**
4150
4162
  * Function to add all the inline mode event listener
4151
4163
  */
4152
- ts = function() {
4153
- document.addEventListener("click", this._handleClickOutside), document.addEventListener("focusout", this._handleClickOutside), document.addEventListener("keydown", this._handleKeyDown), le(this, be, Yo).call(this);
4164
+ rs = function() {
4165
+ document.addEventListener("click", this._handleClickOutside), document.addEventListener("focusout", this._handleClickOutside), document.addEventListener("keydown", this._handleKeyDown), le(this, be, Fo).call(this);
4154
4166
  }, /**
4155
4167
  * Function to remove all the inline mode event listener
4156
4168
  */
4157
- rs = function() {
4169
+ ns = function() {
4158
4170
  document.removeEventListener("click", this._handleClickOutside), document.removeEventListener("focusout", this._handleClickOutside), document.removeEventListener("keydown", this._handleKeyDown), this._overlayCleanup();
4159
4171
  }, /**
4160
4172
  * Handles click events outside the component to close the dropdown.
@@ -4162,75 +4174,75 @@ rs = function() {
4162
4174
  * @param {Event} event - The click event.
4163
4175
  * @private
4164
4176
  */
4165
- Fo = function(r) {
4166
- oc(r, this);
4177
+ Xo = function(r) {
4178
+ ac(r, this);
4167
4179
  }, /**
4168
4180
  * Handles keydown events for the component.
4169
4181
  *
4170
4182
  * @param {Event} event - The keydown event.
4171
4183
  * @private
4172
4184
  */
4173
- ns = function(r) {
4174
- sc(r, this);
4185
+ is = function(r) {
4186
+ oc(r, this);
4175
4187
  }, /**
4176
4188
  * Toggles the dropdown visibility.
4177
4189
  *
4178
4190
  * @param {Event} event - The toggle event.
4179
4191
  * @private
4180
4192
  */
4181
- is = function(r) {
4182
- ic(r, this);
4193
+ ss = function(r) {
4194
+ sc(r, this);
4183
4195
  }, /**
4184
4196
  * Shows the dropdown on input focus.
4185
4197
  *
4186
4198
  * @private
4187
4199
  */
4188
- Xo = function() {
4189
- nc(this);
4200
+ Zo = function() {
4201
+ ic(this);
4190
4202
  }, /**
4191
4203
  * Handles click events on the form to prevent closing the dropdown.
4192
4204
  *
4193
4205
  * @param {Event} event - The click event.
4194
4206
  * @private
4195
4207
  */
4196
- ss = function(r) {
4197
- rc(r, this);
4208
+ os = function(r) {
4209
+ nc(r, this);
4198
4210
  }, /**
4199
4211
  * Resets the filter using the resetFilterMethod.
4200
4212
  *
4201
4213
  * @param {Event} event - The reset event.
4202
4214
  * @private
4203
4215
  */
4204
- Zo = function(r) {
4205
- Ll(r, this);
4216
+ Jo = function(r) {
4217
+ Pl(r, this);
4206
4218
  }, /**
4207
4219
  * Searches the filter using the searchFilterMethod.
4208
4220
  *
4209
4221
  * @param {Event} event - The search event.
4210
4222
  * @private
4211
4223
  */
4212
- Jo = function(r) {
4213
- Eo(r, this);
4224
+ Qo = function(r) {
4225
+ Co(r, this);
4214
4226
  };
4215
- customElements.define("eox-itemfilter-container", Jc);
4216
- var Qc = "Expected a function", Zs = NaN, eu = "[object Symbol]", tu = /^\s+|\s+$/g, ru = /^[-+]0x[0-9a-f]+$/i, nu = /^0b[01]+$/i, iu = /^0o[0-7]+$/i, su = parseInt, ou = typeof Ze == "object" && Ze && Ze.Object === Object && Ze, au = typeof self == "object" && self && self.Object === Object && self, lu = ou || au || Function("return this")(), cu = Object.prototype, uu = cu.toString, hu = Math.max, du = Math.min, Ni = function() {
4217
- return lu.Date.now();
4227
+ customElements.define("eox-itemfilter-container", Qc);
4228
+ var eu = "Expected a function", Js = NaN, tu = "[object Symbol]", ru = /^\s+|\s+$/g, nu = /^[-+]0x[0-9a-f]+$/i, iu = /^0b[01]+$/i, su = /^0o[0-7]+$/i, ou = parseInt, au = typeof Ze == "object" && Ze && Ze.Object === Object && Ze, lu = typeof self == "object" && self && self.Object === Object && self, cu = au || lu || Function("return this")(), uu = Object.prototype, hu = uu.toString, du = Math.max, fu = Math.min, Ni = function() {
4229
+ return cu.Date.now();
4218
4230
  };
4219
- function fu(t, e, r) {
4231
+ function pu(t, e, r) {
4220
4232
  var n, i, s, o, l, c, h = 0, p = !1, y = !1, w = !0;
4221
4233
  if (typeof t != "function")
4222
- throw new TypeError(Qc);
4223
- e = Js(e) || 0, os(r) && (p = !!r.leading, y = "maxWait" in r, s = y ? hu(Js(r.maxWait) || 0, e) : s, w = "trailing" in r ? !!r.trailing : w);
4234
+ throw new TypeError(eu);
4235
+ e = Qs(e) || 0, as(r) && (p = !!r.leading, y = "maxWait" in r, s = y ? du(Qs(r.maxWait) || 0, e) : s, w = "trailing" in r ? !!r.trailing : w);
4224
4236
  function m(Z) {
4225
4237
  var he = n, $e = i;
4226
4238
  return n = i = void 0, h = Z, o = t.apply($e, he), o;
4227
4239
  }
4228
- function A(Z) {
4240
+ function _(Z) {
4229
4241
  return h = Z, l = setTimeout(H, e), p ? m(Z) : o;
4230
4242
  }
4231
4243
  function E(Z) {
4232
4244
  var he = Z - c, $e = Z - h, Me = e - he;
4233
- return y ? du(Me, s - $e) : Me;
4245
+ return y ? fu(Me, s - $e) : Me;
4234
4246
  }
4235
4247
  function z(Z) {
4236
4248
  var he = Z - c, $e = Z - h;
@@ -4255,7 +4267,7 @@ function fu(t, e, r) {
4255
4267
  var Z = Ni(), he = z(Z);
4256
4268
  if (n = arguments, i = this, c = Z, he) {
4257
4269
  if (l === void 0)
4258
- return A(c);
4270
+ return _(c);
4259
4271
  if (y)
4260
4272
  return l = setTimeout(H, e), m(c);
4261
4273
  }
@@ -4263,74 +4275,80 @@ function fu(t, e, r) {
4263
4275
  }
4264
4276
  return te.cancel = F, te.flush = ue, te;
4265
4277
  }
4266
- function os(t) {
4278
+ function as(t) {
4267
4279
  var e = typeof t;
4268
4280
  return !!t && (e == "object" || e == "function");
4269
4281
  }
4270
- function pu(t) {
4282
+ function gu(t) {
4271
4283
  return !!t && typeof t == "object";
4272
4284
  }
4273
- function gu(t) {
4274
- return typeof t == "symbol" || pu(t) && uu.call(t) == eu;
4285
+ function yu(t) {
4286
+ return typeof t == "symbol" || gu(t) && hu.call(t) == tu;
4275
4287
  }
4276
- function Js(t) {
4288
+ function Qs(t) {
4277
4289
  if (typeof t == "number")
4278
4290
  return t;
4279
- if (gu(t))
4280
- return Zs;
4281
- if (os(t)) {
4291
+ if (yu(t))
4292
+ return Js;
4293
+ if (as(t)) {
4282
4294
  var e = typeof t.valueOf == "function" ? t.valueOf() : t;
4283
- t = os(e) ? e + "" : e;
4295
+ t = as(e) ? e + "" : e;
4284
4296
  }
4285
4297
  if (typeof t != "string")
4286
4298
  return t === 0 ? t : +t;
4287
- t = t.replace(tu, "");
4288
- var r = nu.test(t);
4289
- return r || iu.test(t) ? su(t.slice(2), r ? 2 : 8) : ru.test(t) ? Zs : +t;
4299
+ t = t.replace(ru, "");
4300
+ var r = iu.test(t);
4301
+ return r || su.test(t) ? ou(t.slice(2), r ? 2 : 8) : nu.test(t) ? Js : +t;
4290
4302
  }
4291
- var yu = fu;
4292
- const ri = /* @__PURE__ */ ei(yu);
4293
- function bu(t) {
4303
+ var bu = pu;
4304
+ const ri = /* @__PURE__ */ ei(bu);
4305
+ function mu(t) {
4294
4306
  const e = t.renderRoot.querySelector("input[type='text']");
4295
4307
  e.value = "", ti(t.filterObject), t.requestUpdate();
4296
4308
  }
4297
- function mu(t) {
4309
+ function vu(t) {
4298
4310
  const e = t.renderRoot.querySelector("input[type='text']");
4299
- t.filterObject.keys.forEach((r) => {
4311
+ t.isValid = e.checkValidity(), t.filterObject.keys.forEach((r) => {
4300
4312
  t.filterObject.state[r] = e.value;
4301
4313
  }), t.filterObject.dirty = !0, t.filterObject.stringifiedState = e.value, t.dispatchEvent(new CustomEvent("filter")), e.value === "" && t.reset();
4302
4314
  }
4303
- function vu(t) {
4304
- ti(t.filterObject), t.requestUpdate();
4315
+ function wu(t) {
4316
+ if (t.filterObject = ti(
4317
+ t.filterObject
4318
+ ), t.filterObject) {
4319
+ const e = t.querySelector("tc-range-slider"), r = t.filterObject.min, n = t.filterObject.max;
4320
+ e.value1 !== r && (e.value1 = r), e.value2 !== n && (e.value2 = n);
4321
+ }
4322
+ t.requestUpdate();
4305
4323
  }
4306
- function wu(t, e) {
4324
+ function xu(t, e) {
4307
4325
  const [r, n] = t.detail.values;
4308
4326
  (r !== e.filterObject.state.min || n !== e.filterObject.state.max) && ([
4309
4327
  e.filterObject.state.min,
4310
4328
  e.filterObject.state.max
4311
4329
  ] = [r, n], e.filterObject.dirty = !0), e.filterObject.dirty && (e.filterObject.stringifiedState = e.filterObject.format === "date" ? `${tn(r)} - ${tn(n)}` : `${r} - ${n}`), e.dispatchEvent(new CustomEvent("filter")), r === e.filterObject.min && n === e.filterObject.max ? e.reset() : e.requestUpdate();
4312
4330
  }
4313
- function xu(t, e, r) {
4331
+ function $u(t, e, r) {
4314
4332
  const n = r.filterObject.format === "date", i = r.filterObject.state[t], s = n ? tn.unix(i) : i;
4315
4333
  return Y`<div class="range-${e}">${s}</div>`;
4316
4334
  }
4317
- function $u(t) {
4318
- _u(-1, t), ti(t.filterObject), t.requestUpdate();
4335
+ function _u(t) {
4336
+ Au(-1, t), ti(t.filterObject), t.requestUpdate();
4319
4337
  }
4320
- function _u(t, e) {
4321
- e.selectedItems = [], ws(e), ea(e);
4338
+ function Au(t, e) {
4339
+ e.selectedItems = [], xs(e), ta(e);
4322
4340
  }
4323
- function Qo(t, e) {
4341
+ function ea(t, e) {
4324
4342
  const r = e.selectedItems.indexOf(t);
4325
4343
  r >= 0 ? e.selectedItems = e.selectedItems.filter((n, i) => i !== r) : e.type === "multiselect" ? e.selectedItems = [
4326
4344
  ...e.selectedItems,
4327
4345
  t
4328
- ] : (e.selectedItems = [t], e.showSuggestions = !1), ws(e), ea(e);
4346
+ ] : (e.selectedItems = [t], e.showSuggestions = !1), xs(e), ta(e);
4329
4347
  }
4330
- function Au(t, e) {
4348
+ function Mu(t, e) {
4331
4349
  e.query = t.target.value, e.showSuggestions = !0;
4332
4350
  }
4333
- function Mu(t, e) {
4351
+ function Su(t, e) {
4334
4352
  switch (t.key) {
4335
4353
  case "ArrowDown":
4336
4354
  e.highlightedIndex = Math.min(
@@ -4345,7 +4363,7 @@ function Mu(t, e) {
4345
4363
  );
4346
4364
  break;
4347
4365
  case "Enter":
4348
- e.highlightedIndex >= 0 && Qo(
4366
+ e.highlightedIndex >= 0 && ea(
4349
4367
  e.filteredSuggestions[e.highlightedIndex],
4350
4368
  e
4351
4369
  );
@@ -4355,38 +4373,38 @@ function Mu(t, e) {
4355
4373
  break;
4356
4374
  }
4357
4375
  }
4358
- function Su(t, e) {
4359
- (t.has("suggestions") || t.has("query")) && ws(e);
4360
- }
4361
4376
  function Eu(t, e) {
4377
+ (t.has("suggestions") || t.has("query")) && xs(e);
4378
+ }
4379
+ function Cu(t, e) {
4362
4380
  var n;
4363
4381
  const r = ((n = t.filterObject) == null ? void 0 : n.sort) || ((i, s) => i.localeCompare(s));
4364
4382
  return e.sort(r).map((i) => i);
4365
4383
  }
4366
- function ws(t) {
4384
+ function xs(t) {
4367
4385
  var r, n, i;
4368
4386
  let e;
4369
4387
  t.query && (e = new Rt(t.suggestions, {
4370
4388
  threshold: 0.4
4371
- }).search(t.query).map((o) => o.item)), t.filteredSuggestions = Eu(
4389
+ }).search(t.query).map((o) => o.item)), t.filteredSuggestions = Cu(
4372
4390
  t,
4373
4391
  e || t.suggestions
4374
4392
  ), (r = t.filterObject) != null && r.filterKeys && (t.filteredSuggestions = (n = t.filterObject) == null ? void 0 : n.filterKeys.map((s) => `${s}`), t.filterObject.state = (i = t.filterObject) == null ? void 0 : i.filterKeys.map((s) => `${s}`).reduce((s, o) => (o in s || (s[o] = void 0), s), t.filterObject.state)), t.highlightedIndex = -1;
4375
4393
  }
4376
- function ea(t) {
4394
+ function ta(t) {
4377
4395
  Object.keys(t.filterObject.state).forEach((e) => {
4378
4396
  t.filterObject.state[e] = t.selectedItems.includes(e);
4379
4397
  }), t.filterObject.stringifiedState = Object.keys(t.filterObject.state).filter((e) => t.filterObject.state[e]).join(", ") || "", t.filterObject.dirty = t.filterObject.stringifiedState.length > 0, t.dispatchEvent(new CustomEvent("filter")), t.requestUpdate();
4380
4398
  }
4381
- function Cu(t) {
4399
+ function ku(t) {
4382
4400
  ti(t.filterObject), t.renderRoot.querySelector(
4383
4401
  "eox-itemfilter-spatial-filter"
4384
4402
  ).reset(), t.requestUpdate();
4385
4403
  }
4386
- function ku(t) {
4387
- t.renderRoot.querySelector("#eox-map").innerHTML = "", ta(t);
4404
+ function Lu(t) {
4405
+ t.renderRoot.querySelector("#eox-map").innerHTML = "", ra(t);
4388
4406
  }
4389
- function Lu(t, e) {
4407
+ function Pu(t, e) {
4390
4408
  e.filterObject.state.mode = t;
4391
4409
  const r = new CustomEvent("filter", {
4392
4410
  detail: {
@@ -4395,10 +4413,10 @@ function Lu(t, e) {
4395
4413
  });
4396
4414
  e.dispatchEvent(r);
4397
4415
  }
4398
- function ta(t) {
4416
+ function ra(t) {
4399
4417
  const e = t.renderRoot.querySelector("#eox-map");
4400
4418
  e.innerHTML === "" && (e.innerHTML = '<eox-map part="map" style="height: 400px"></eox-map>');
4401
- const r = t.geometry && Pu(t.geometry), n = Fc(t.geometry, r);
4419
+ const r = t.geometry && Tu(t.geometry), n = Xc(t.geometry, r);
4402
4420
  t.eoxMap = t.renderRoot.querySelector("eox-map"), setTimeout(() => {
4403
4421
  t.eoxMap.layers = n;
4404
4422
  const i = (s) => {
@@ -4419,7 +4437,7 @@ function ta(t) {
4419
4437
  });
4420
4438
  }, 1e3);
4421
4439
  }
4422
- function Pu(t) {
4440
+ function Tu(t) {
4423
4441
  return `data:text/json,${encodeURIComponent(
4424
4442
  JSON.stringify({
4425
4443
  type: "FeatureCollection",
@@ -4434,7 +4452,7 @@ function Pu(t) {
4434
4452
  )}`;
4435
4453
  }
4436
4454
  var Kn;
4437
- class Tu extends Je {
4455
+ class Ru extends Je {
4438
4456
  constructor() {
4439
4457
  super();
4440
4458
  /**
@@ -4443,7 +4461,7 @@ class Tu extends Je {
4443
4461
  * @private
4444
4462
  */
4445
4463
  Ge(this, Kn, () => {
4446
- mu(this);
4464
+ vu(this);
4447
4465
  });
4448
4466
  /**
4449
4467
  * Debounced version of the input handler to improve performance by limiting the rate at which the input handler is called.
@@ -4451,21 +4469,22 @@ class Tu extends Je {
4451
4469
  Kr(this, "debouncedInputHandler", ri(Fe(this, Kn), 500, {
4452
4470
  leading: !0
4453
4471
  }));
4454
- this.filterObject = {}, this.unstyled = !1, this.tabIndex = 0;
4472
+ this.filterObject = {}, this.unstyled = !1, this.tabIndex = 0, this.unstyled = !1;
4455
4473
  }
4456
4474
  // Define properties with defaults and types
4457
4475
  static get properties() {
4458
4476
  return {
4459
4477
  filterObject: { attribute: !1, type: Object },
4460
4478
  tabIndex: { attribute: !1, type: Number },
4461
- unstyled: { type: Boolean }
4479
+ unstyled: { type: Boolean },
4480
+ isValid: { state: !0, type: Boolean }
4462
4481
  };
4463
4482
  }
4464
4483
  /**
4465
4484
  * Resets the text input by calling the resetTextMethod with the current context.
4466
4485
  */
4467
4486
  reset() {
4468
- bu(this);
4487
+ mu(this);
4469
4488
  }
4470
4489
  /**
4471
4490
  * Overrides the default createRenderRoot method to render in the light DOM.
@@ -4479,7 +4498,9 @@ class Tu extends Je {
4479
4498
  render() {
4480
4499
  return qe(
4481
4500
  this.filterObject,
4482
- () => Y`
4501
+ () => {
4502
+ var r;
4503
+ return Y`
4483
4504
  <style></style>
4484
4505
  <div class="text-container">
4485
4506
  <div class="text-container-wrapper">
@@ -4491,18 +4512,23 @@ class Tu extends Je {
4491
4512
  part="input-search"
4492
4513
  value="${Object.values(this.filterObject.state)[0]}"
4493
4514
  tabindex=${this.tabIndex}
4515
+ pattern="${((r = this.filterObject.validation) == null ? void 0 : r.pattern) || ".*"}"
4494
4516
  @input="${this.debouncedInputHandler}"
4495
- @click=${(r) => r.stopPropagation()}
4517
+ @click=${(n) => n.stopPropagation()}
4496
4518
  />
4497
4519
  </div>
4498
4520
  </div>
4499
- `
4521
+ <small class="error-validation"
4522
+ >${this.filterObject.validation && this.isValid === !1 ? this.filterObject.validation.message : ""}</small
4523
+ >
4524
+ `;
4525
+ }
4500
4526
  );
4501
4527
  }
4502
4528
  }
4503
4529
  Kn = new WeakMap();
4504
- customElements.define("eox-itemfilter-text", Tu);
4505
- class ra extends Je {
4530
+ customElements.define("eox-itemfilter-text", Ru);
4531
+ class na extends Je {
4506
4532
  constructor() {
4507
4533
  super(...arguments), this.templates = {}, this._renderedTemplates = {};
4508
4534
  }
@@ -4619,7 +4645,7 @@ class ra extends Je {
4619
4645
  this.templates = this.getTemplates();
4620
4646
  }
4621
4647
  }
4622
- function Ru(t, e, r) {
4648
+ function Ou(t, e, r) {
4623
4649
  return t.filter((n) => {
4624
4650
  const i = n[r.config.aggregateResults];
4625
4651
  let s;
@@ -4635,8 +4661,8 @@ function Ru(t, e, r) {
4635
4661
  * Copyright 2017 Google LLC
4636
4662
  * SPDX-License-Identifier: BSD-3-Clause
4637
4663
  */
4638
- const na = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, ia = (t) => (...e) => ({ _$litDirective$: t, values: e });
4639
- class sa {
4664
+ const ia = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, sa = (t) => (...e) => ({ _$litDirective$: t, values: e });
4665
+ class oa {
4640
4666
  constructor(e) {
4641
4667
  }
4642
4668
  get _$AU() {
@@ -4657,12 +4683,12 @@ class sa {
4657
4683
  * Copyright 2020 Google LLC
4658
4684
  * SPDX-License-Identifier: BSD-3-Clause
4659
4685
  */
4660
- const { I: Ou } = Ia, Qs = () => document.createComment(""), Yr = (t, e, r) => {
4686
+ const { I: Du } = Ba, eo = () => document.createComment(""), Yr = (t, e, r) => {
4661
4687
  var s;
4662
4688
  const n = t._$AA.parentNode, i = e === void 0 ? t._$AB : e._$AA;
4663
4689
  if (r === void 0) {
4664
- const o = n.insertBefore(Qs(), i), l = n.insertBefore(Qs(), i);
4665
- r = new Ou(o, l, t, t.options);
4690
+ const o = n.insertBefore(eo(), i), l = n.insertBefore(eo(), i);
4691
+ r = new Du(o, l, t, t.options);
4666
4692
  } else {
4667
4693
  const o = r._$AB.nextSibling, l = r._$AM, c = l !== t;
4668
4694
  if (c) {
@@ -4678,7 +4704,7 @@ const { I: Ou } = Ia, Qs = () => document.createComment(""), Yr = (t, e, r) => {
4678
4704
  }
4679
4705
  }
4680
4706
  return r;
4681
- }, Kt = (t, e, r = t) => (t._$AI(e, r), t), Du = {}, ju = (t, e = Du) => t._$AH = e, Nu = (t) => t._$AH, Hi = (t) => {
4707
+ }, Kt = (t, e, r = t) => (t._$AI(e, r), t), ju = {}, Nu = (t, e = ju) => t._$AH = e, Hu = (t) => t._$AH, Hi = (t) => {
4682
4708
  var n;
4683
4709
  (n = t._$AP) == null || n.call(t, !1, !0);
4684
4710
  let e = t._$AA;
@@ -4693,13 +4719,13 @@ const { I: Ou } = Ia, Qs = () => document.createComment(""), Yr = (t, e, r) => {
4693
4719
  * Copyright 2017 Google LLC
4694
4720
  * SPDX-License-Identifier: BSD-3-Clause
4695
4721
  */
4696
- const eo = (t, e, r) => {
4722
+ const to = (t, e, r) => {
4697
4723
  const n = /* @__PURE__ */ new Map();
4698
4724
  for (let i = e; i <= r; i++) n.set(t[i], i);
4699
4725
  return n;
4700
- }, Hu = ia(class extends sa {
4726
+ }, Iu = sa(class extends oa {
4701
4727
  constructor(t) {
4702
- if (super(t), t.type !== na.CHILD) throw Error("repeat() can only be used in text expressions");
4728
+ if (super(t), t.type !== ia.CHILD) throw Error("repeat() can only be used in text expressions");
4703
4729
  }
4704
4730
  dt(t, e, r) {
4705
4731
  let n;
@@ -4713,17 +4739,17 @@ const eo = (t, e, r) => {
4713
4739
  return this.dt(t, e, r).values;
4714
4740
  }
4715
4741
  update(t, [e, r, n]) {
4716
- const i = Nu(t), { values: s, keys: o } = this.dt(e, r, n);
4742
+ const i = Hu(t), { values: s, keys: o } = this.dt(e, r, n);
4717
4743
  if (!Array.isArray(i)) return this.ut = o, s;
4718
4744
  const l = this.ut ?? (this.ut = []), c = [];
4719
- let h, p, y = 0, w = i.length - 1, m = 0, A = s.length - 1;
4720
- for (; y <= w && m <= A; ) if (i[y] === null) y++;
4745
+ let h, p, y = 0, w = i.length - 1, m = 0, _ = s.length - 1;
4746
+ for (; y <= w && m <= _; ) if (i[y] === null) y++;
4721
4747
  else if (i[w] === null) w--;
4722
4748
  else if (l[y] === o[m]) c[m] = Kt(i[y], s[m]), y++, m++;
4723
- else if (l[w] === o[A]) c[A] = Kt(i[w], s[A]), w--, A--;
4724
- else if (l[y] === o[A]) c[A] = Kt(i[y], s[A]), Yr(t, c[A + 1], i[y]), y++, A--;
4749
+ else if (l[w] === o[_]) c[_] = Kt(i[w], s[_]), w--, _--;
4750
+ else if (l[y] === o[_]) c[_] = Kt(i[y], s[_]), Yr(t, c[_ + 1], i[y]), y++, _--;
4725
4751
  else if (l[w] === o[m]) c[m] = Kt(i[w], s[m]), Yr(t, i[y], i[w]), w--, m++;
4726
- else if (h === void 0 && (h = eo(o, m, A), p = eo(l, y, w)), h.has(l[y])) if (h.has(l[w])) {
4752
+ else if (h === void 0 && (h = to(o, m, _), p = to(l, y, w)), h.has(l[y])) if (h.has(l[w])) {
4727
4753
  const E = p.get(o[m]), z = E !== void 0 ? i[E] : null;
4728
4754
  if (z === null) {
4729
4755
  const H = Yr(t, i[y]);
@@ -4732,15 +4758,15 @@ const eo = (t, e, r) => {
4732
4758
  m++;
4733
4759
  } else Hi(i[w]), w--;
4734
4760
  else Hi(i[y]), y++;
4735
- for (; m <= A; ) {
4736
- const E = Yr(t, c[A + 1]);
4761
+ for (; m <= _; ) {
4762
+ const E = Yr(t, c[_ + 1]);
4737
4763
  Kt(E, s[m]), c[m++] = E;
4738
4764
  }
4739
4765
  for (; y <= w; ) {
4740
4766
  const E = i[y++];
4741
4767
  E !== null && Hi(E);
4742
4768
  }
4743
- return this.ut = o, ju(t, c), Ct;
4769
+ return this.ut = o, Nu(t, c), Ct;
4744
4770
  }
4745
4771
  });
4746
4772
  /**
@@ -4748,9 +4774,9 @@ const eo = (t, e, r) => {
4748
4774
  * Copyright 2017 Google LLC
4749
4775
  * SPDX-License-Identifier: BSD-3-Clause
4750
4776
  */
4751
- class as extends sa {
4777
+ class ls extends oa {
4752
4778
  constructor(e) {
4753
- if (super(e), this.it = ge, e.type !== na.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
4779
+ if (super(e), this.it = ge, e.type !== ia.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
4754
4780
  }
4755
4781
  render(e) {
4756
4782
  if (e === ge || e == null) return this._t = void 0, this.it = e;
@@ -4762,9 +4788,9 @@ class as extends sa {
4762
4788
  return r.raw = r, this._t = { _$litType$: this.constructor.resultType, strings: r, values: [] };
4763
4789
  }
4764
4790
  }
4765
- as.directiveName = "unsafeHTML", as.resultType = 1;
4766
- const Ii = ia(as);
4767
- function Iu(t, e) {
4791
+ ls.directiveName = "unsafeHTML", ls.resultType = 1;
4792
+ const Ii = sa(ls);
4793
+ function Bu(t, e) {
4768
4794
  return Y`
4769
4795
  <details
4770
4796
  class="details-results"
@@ -4783,19 +4809,19 @@ function Iu(t, e) {
4783
4809
  </span>
4784
4810
  </summary>
4785
4811
  <div>
4786
- ${oa(t, e)}
4812
+ ${aa(t, e)}
4787
4813
  </div>
4788
4814
  </details>
4789
4815
  `;
4790
4816
  }
4791
- function oa(t, e) {
4817
+ function aa(t, e) {
4792
4818
  const r = e.results, n = t ? e.aggregateResults(r, t) : r, i = e.config, s = (o) => {
4793
4819
  var l;
4794
4820
  return ((l = e.selectedResult) == null ? void 0 : l[i.idProperty]) === o[i.idProperty] ? "highlighted" : ge;
4795
4821
  };
4796
4822
  return Y`
4797
4823
  <ul>
4798
- ${Hu(
4824
+ ${Iu(
4799
4825
  n,
4800
4826
  (o) => o.id,
4801
4827
  (o) => Y`
@@ -4845,8 +4871,8 @@ function oa(t, e) {
4845
4871
  </ul>
4846
4872
  `;
4847
4873
  }
4848
- var er, ls, aa;
4849
- class Bu extends ra {
4874
+ var er, cs, la;
4875
+ class Uu extends na {
4850
4876
  constructor() {
4851
4877
  super();
4852
4878
  Ge(this, er);
@@ -4870,7 +4896,7 @@ class Bu extends ra {
4870
4896
  * @returns {Array} - The aggregated results.
4871
4897
  */
4872
4898
  aggregateResults(r, n) {
4873
- return Ru(r, n, this);
4899
+ return Ou(r, n, this);
4874
4900
  }
4875
4901
  /**
4876
4902
  * Overrides the default createRenderRoot method to render in the light DOM.
@@ -4886,7 +4912,7 @@ class Bu extends ra {
4886
4912
  * @param {Event} event - The toggle event.
4887
4913
  */
4888
4914
  handleAccordion(r) {
4889
- Go(r, this.config, this);
4915
+ Yo(r, this.config, this);
4890
4916
  }
4891
4917
  /**
4892
4918
  * Renders the HTML template for the component.
@@ -4913,12 +4939,12 @@ class Bu extends ra {
4913
4939
  (r) => Y`${qe(
4914
4940
  this.aggregateResults(this.results, r).length === 1 && this.config.autoSpreadSingle,
4915
4941
  () => Y`<div style="margin-left: -8px">
4916
- ${le(this, er, ls).call(this, r)}
4942
+ ${le(this, er, cs).call(this, r)}
4917
4943
  </div>`,
4918
- () => le(this, er, aa).call(this, r)
4944
+ () => le(this, er, la).call(this, r)
4919
4945
  )}`
4920
4946
  ),
4921
- () => le(this, er, ls).call(this)
4947
+ () => le(this, er, cs).call(this)
4922
4948
  )}
4923
4949
  </ul>
4924
4950
  </div>
@@ -4933,8 +4959,8 @@ er = new WeakSet(), /**
4933
4959
  * @returns {import("lit")} - The template result for the item list.
4934
4960
  * @private
4935
4961
  */
4936
- ls = function(r) {
4937
- return oa(r, this);
4962
+ cs = function(r) {
4963
+ return aa(r, this);
4938
4964
  }, /**
4939
4965
  * Creates item details based on the aggregation property.
4940
4966
  *
@@ -4942,13 +4968,13 @@ ls = function(r) {
4942
4968
  * @returns {import("lit")} - The template result for the item details.
4943
4969
  * @private
4944
4970
  */
4945
- aa = function(r) {
4946
- return Iu(r, this);
4971
+ la = function(r) {
4972
+ return Bu(r, this);
4947
4973
  };
4948
- customElements.define("eox-itemfilter-results", Bu);
4949
- const Uu = `input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}`, zu = `input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}`;
4950
- var Pt, ca, ua, ha;
4951
- class la extends Je {
4974
+ customElements.define("eox-itemfilter-results", Uu);
4975
+ const zu = `input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}`, qu = `input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}`;
4976
+ var Pt, ua, ha, da;
4977
+ class ca extends Je {
4952
4978
  constructor() {
4953
4979
  super();
4954
4980
  Ge(this, Pt);
@@ -4958,7 +4984,7 @@ class la extends Je {
4958
4984
  * @function debouncedInputHandler
4959
4985
  * @private
4960
4986
  */
4961
- Kr(this, "debouncedInputHandler", ri(le(this, Pt, ha), 500, {
4987
+ Kr(this, "debouncedInputHandler", ri(le(this, Pt, da), 500, {
4962
4988
  leading: !0
4963
4989
  }));
4964
4990
  this.filterObject = {}, this.suggestions = [], this.selectedItems = [], this.query = "", this.showSuggestions = !1, this.highlightedIndex = -1, this.filteredSuggestions = [], this.type = "select", this.unstyled = !1, this.tabIndex = 0, this.inlineMode = !1;
@@ -4969,13 +4995,13 @@ class la extends Je {
4969
4995
  * @param {Map} changedProperties - The properties that have changed.
4970
4996
  */
4971
4997
  updated(r) {
4972
- Su(r, this);
4998
+ Eu(r, this);
4973
4999
  }
4974
5000
  /**
4975
5001
  * Resets the selector using the resetSelectorMethod.
4976
5002
  */
4977
5003
  reset() {
4978
- $u(this);
5004
+ _u(this);
4979
5005
  }
4980
5006
  /**
4981
5007
  * Initialise pre-defined selected items using `state`
@@ -4992,8 +5018,8 @@ class la extends Je {
4992
5018
  return Y`
4993
5019
  <style>
4994
5020
  ${!this.unstyled && on}
4995
- ${!this.unstyled && Uu}
4996
5021
  ${!this.unstyled && zu}
5022
+ ${!this.unstyled && qu}
4997
5023
  </style>
4998
5024
  ${qe(
4999
5025
  this.suggestions.length > 10,
@@ -5006,8 +5032,8 @@ class la extends Je {
5006
5032
  type="text"
5007
5033
  .value=${this.query}
5008
5034
  placeholder="${this.filterObject.placeholder || ""}"
5009
- @input=${le(this, Pt, ca)}
5010
- @keydown=${le(this, Pt, ua)}
5035
+ @input=${le(this, Pt, ua)}
5036
+ @keydown=${le(this, Pt, ha)}
5011
5037
  @blur=${() => this.showSuggestions = !1}
5012
5038
  @focus=${() => this.showSuggestions = !0}
5013
5039
  />
@@ -5049,26 +5075,26 @@ Pt = new WeakSet(), /**
5049
5075
  * @param {Event} event - The input event.
5050
5076
  * @private
5051
5077
  */
5052
- ca = function(r) {
5053
- Au(r, this);
5078
+ ua = function(r) {
5079
+ Mu(r, this);
5054
5080
  }, /**
5055
5081
  * Handles keydown events on the autocomplete input element.
5056
5082
  *
5057
5083
  * @param {Event} event - The keydown event.
5058
5084
  * @private
5059
5085
  */
5060
- ua = function(r) {
5061
- Mu(r, this);
5086
+ ha = function(r) {
5087
+ Su(r, this);
5062
5088
  }, /**
5063
5089
  * Toggles the selection of an item.
5064
5090
  *
5065
5091
  * @param {Object} item - The item to toggle.
5066
5092
  * @private
5067
5093
  */
5068
- ha = function(r) {
5069
- Qo(r, this);
5094
+ da = function(r) {
5095
+ ea(r, this);
5070
5096
  }, // Define properties with defaults and types
5071
- Kr(la, "properties", {
5097
+ Kr(ca, "properties", {
5072
5098
  filterObject: { attribute: !1, type: Object },
5073
5099
  suggestions: { attribute: !1, type: Array },
5074
5100
  selectedItems: { state: !0, type: Array },
@@ -5081,9 +5107,9 @@ Kr(la, "properties", {
5081
5107
  tabIndex: { attribute: !1, type: Number },
5082
5108
  inlineMode: { attribute: "inline-mode", type: Boolean }
5083
5109
  });
5084
- customElements.define("eox-itemfilter-select", la);
5110
+ customElements.define("eox-itemfilter-select", ca);
5085
5111
  (() => {
5086
- var t = Object.defineProperty, e = Math.pow, r = (u, g, $) => g in u ? t(u, g, { enumerable: !0, configurable: !0, writable: !0, value: $ }) : u[g] = $, n = (u, g, $) => (r(u, typeof g != "symbol" ? g + "" : g, $), $), i = (u, g) => ` ${g && g.length > 0 ? g.map(($) => `<link rel="stylesheet" href="${$}" />`).join("") : ""} <style> ${u} </style> <div class="range-slider-box"> <div class="row"> <div id="range-slider" class="range-slider"> <div class="container"> <div class="panel"></div> <div class="panel-fill"></div> <div class="container"> <div class="pointer" tabindex="0" role="slider"> <div class="pointer-shape"></div> </div> </div> </div> </div> </div> </div>`, s = ":host{--width:300px;--height:.25rem;--opacity:.4;--panel-bg:#cbd5e1;--panel-bg-hover:#94a3b8;--panel-bg-fill:#475569;--panel-bg-border-radius:1rem;--pointer-width:1rem;--pointer-height:1rem;--pointer-bg:#fff;--pointer-bg-hover:#dcdcdc;--pointer-bg-focus:#dcdcdc;--pointer-shadow:0 0 2px rgba(0,0,0,0.8);--pointer-shadow-hover:0 0 2px #000;--pointer-shadow-focus:var(--pointer-shadow-hover);--pointer-border:1px solid hsla(0,0%,88%,0.5);--pointer-border-hover:1px solid #94a3b8;--pointer-border-focus:var(--pointer-border-hover);--pointer-border-radius:100%;--animate-onclick:.3s}:host{max-width:100%}.range-slider-box{display:flex;position:relative;flex-direction:column}.range-slider{position:relative;width:var(--width,100%);height:var(--height,0.25rem);touch-action:none;max-width:100%;box-sizing:border-box;cursor:pointer}.row{width:100%;display:flex;align-items:center}.range-slider.disabled{opacity:var(--opacity,0.4);cursor:default}.pointer.disabled{-webkit-filter:brightness(0.8);filter:brightness(0.8);cursor:default}.range-slider *{box-sizing:border-box}.container{position:absolute;width:100%;height:100%}.panel{position:absolute;z-index:10;width:100%;height:100%;background:var(--panel-bg,#2d4373);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;transition:.3s all ease}.panel-fill{background:var(--panel-bg-fill,#000);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;height:100%;position:absolute;z-index:10}.panel:hover{background:var(--panel-bg-hover,#5f79b7)}.disabled .panel:hover{background:var(--panel-bg,#5f79b7)}.pointer{position:absolute;z-index:20;outline:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;box-shadow:var(--pointer-shadow);border:var(--pointer-border);border-radius:var(--pointer-border-radius,100%);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:var(--pointer-width,15px);height:var(--pointer-height,15px);transition:.3s all ease}.pointer-shape:hover{background:var(--pointer-bg-hover,#fff);background-size:contain;border:var(--pointer-border-hover);box-shadow:var(--pointer-shadow-hover)}.disabled .pointer-shape:hover{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.pointer:focus .pointer-shape{background:var(--pointer-bg-focus,#fff);background-size:contain;border:var(--pointer-border-focus);box-shadow:var(--pointer-shadow-focus)}.disabled .pointer:focus .pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.type-vertical .range-slider{--width:.25rem;--height:300px;max-height:100%}.type-vertical .range-slider .pointer{left:50%}.type-vertical .range-slider .panel-fill{width:100%}.type-vertical.range-slider-box{flex-direction:row}.type-vertical .row{flex-direction:column}.animate-on-click .pointer,.animate-on-click .panel-fill{transition:all var(--animate-onclick)}.range-dragging .panel-fill{cursor:move}", o = "pointers-overlap", l = "pointers-min-distance", c = "pointers-max-distance", h = "range-dragging", p = "data", y = "min", w = "max", m = "step", A = "round", E = "type", z = "theme", H = "rtl", X = "btt", F = "disabled", ue = "keyboard-disabled", te = "mousewheel-disabled", Z = "slider-width", he = "slider-height", $e = "slider-radius", Me = "slider-bg", fe = "slider-bg-hover", ie = "slider-bg-fill", We = "pointer-width", Ot = "pointer-height", D = "pointer-radius", S = "pointer-bg", M = "pointer-bg-hover", j = "pointer-bg-focus", k = "pointer-shadow", V = "pointer-shadow-hover", K = "pointer-shadow-focus", ce = "pointer-border", we = "pointer-border-hover", Ae = "pointer-border-focus", Se = "animate-onclick", je = "css-links", Ce = "vertical", Ne = "horizontal", se = (u, g, $, v, C) => {
5112
+ var t = Object.defineProperty, e = Math.pow, r = (u, g, $) => g in u ? t(u, g, { enumerable: !0, configurable: !0, writable: !0, value: $ }) : u[g] = $, n = (u, g, $) => (r(u, typeof g != "symbol" ? g + "" : g, $), $), i = (u, g) => ` ${g && g.length > 0 ? g.map(($) => `<link rel="stylesheet" href="${$}" />`).join("") : ""} <style> ${u} </style> <div class="range-slider-box"> <div class="row"> <div id="range-slider" class="range-slider"> <div class="container"> <div class="panel"></div> <div class="panel-fill"></div> <div class="container"> <div class="pointer" tabindex="0" role="slider"> <div class="pointer-shape"></div> </div> </div> </div> </div> </div> </div>`, s = ":host{--width:300px;--height:.25rem;--opacity:.4;--panel-bg:#cbd5e1;--panel-bg-hover:#94a3b8;--panel-bg-fill:#475569;--panel-bg-border-radius:1rem;--pointer-width:1rem;--pointer-height:1rem;--pointer-bg:#fff;--pointer-bg-hover:#dcdcdc;--pointer-bg-focus:#dcdcdc;--pointer-shadow:0 0 2px rgba(0,0,0,0.8);--pointer-shadow-hover:0 0 2px #000;--pointer-shadow-focus:var(--pointer-shadow-hover);--pointer-border:1px solid hsla(0,0%,88%,0.5);--pointer-border-hover:1px solid #94a3b8;--pointer-border-focus:var(--pointer-border-hover);--pointer-border-radius:100%;--animate-onclick:.3s}:host{max-width:100%}.range-slider-box{display:flex;position:relative;flex-direction:column}.range-slider{position:relative;width:var(--width,100%);height:var(--height,0.25rem);touch-action:none;max-width:100%;box-sizing:border-box;cursor:pointer}.row{width:100%;display:flex;align-items:center}.range-slider.disabled{opacity:var(--opacity,0.4);cursor:default}.pointer.disabled{-webkit-filter:brightness(0.8);filter:brightness(0.8);cursor:default}.range-slider *{box-sizing:border-box}.container{position:absolute;width:100%;height:100%}.panel{position:absolute;z-index:10;width:100%;height:100%;background:var(--panel-bg,#2d4373);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;transition:.3s all ease}.panel-fill{background:var(--panel-bg-fill,#000);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;height:100%;position:absolute;z-index:10}.panel:hover{background:var(--panel-bg-hover,#5f79b7)}.disabled .panel:hover{background:var(--panel-bg,#5f79b7)}.pointer{position:absolute;z-index:20;outline:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;box-shadow:var(--pointer-shadow);border:var(--pointer-border);border-radius:var(--pointer-border-radius,100%);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:var(--pointer-width,15px);height:var(--pointer-height,15px);transition:.3s all ease}.pointer-shape:hover{background:var(--pointer-bg-hover,#fff);background-size:contain;border:var(--pointer-border-hover);box-shadow:var(--pointer-shadow-hover)}.disabled .pointer-shape:hover{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.pointer:focus .pointer-shape{background:var(--pointer-bg-focus,#fff);background-size:contain;border:var(--pointer-border-focus);box-shadow:var(--pointer-shadow-focus)}.disabled .pointer:focus .pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.type-vertical .range-slider{--width:.25rem;--height:300px;max-height:100%}.type-vertical .range-slider .pointer{left:50%}.type-vertical .range-slider .panel-fill{width:100%}.type-vertical.range-slider-box{flex-direction:row}.type-vertical .row{flex-direction:column}.animate-on-click .pointer,.animate-on-click .panel-fill{transition:all var(--animate-onclick)}.range-dragging .panel-fill{cursor:move}", o = "pointers-overlap", l = "pointers-min-distance", c = "pointers-max-distance", h = "range-dragging", p = "data", y = "min", w = "max", m = "step", _ = "round", E = "type", z = "theme", H = "rtl", X = "btt", F = "disabled", ue = "keyboard-disabled", te = "mousewheel-disabled", Z = "slider-width", he = "slider-height", $e = "slider-radius", Me = "slider-bg", fe = "slider-bg-hover", ie = "slider-bg-fill", We = "pointer-width", Ot = "pointer-height", D = "pointer-radius", S = "pointer-bg", M = "pointer-bg-hover", j = "pointer-bg-focus", k = "pointer-shadow", V = "pointer-shadow-hover", K = "pointer-shadow-focus", ce = "pointer-border", we = "pointer-border-hover", Ae = "pointer-border-focus", Se = "animate-onclick", je = "css-links", Ce = "vertical", Ne = "horizontal", se = (u, g, $, v, C) => {
5087
5113
  let B = g - u;
5088
5114
  return B === 0 ? $ : (v - $) * (C - u) / B + $;
5089
5115
  }, ke = (u) => !isNaN(parseFloat(u)) && isFinite(u), re = (u, g) => ke(u) ? Number(u) : g, Le = (u, g) => g === 0 ? 0 : Math.round(u / g) * g, at = (u, g = 1 / 0) => {
@@ -5532,7 +5558,7 @@ customElements.define("eox-itemfilter-select", la);
5532
5558
  R.className = `range-slider-box type-${oe}`, et();
5533
5559
  let Q = oe === Ce ? "vertical" : "horizontal";
5534
5560
  for (let de of v) de.setAttr("aria-orientation", Q);
5535
- }, _ = (f) => {
5561
+ }, A = (f) => {
5536
5562
  Re = f, v.length > 1 && bn(v, Re, u), et(), gt();
5537
5563
  }, O = (f) => {
5538
5564
  N = f, v.length > 1 && bn(v, N, u), et(), gt();
@@ -5575,7 +5601,7 @@ customElements.define("eox-itemfilter-select", la);
5575
5601
  var f, x;
5576
5602
  for (let Q of v) Q.setCallbacks(wn, xn, $n, _n);
5577
5603
  let R = (f = u.shadowRoot) == null ? void 0 : f.querySelector(".panel-fill");
5578
- R && (B = ci(R)), b(u.getAttribute(E)), _(xe(u.getAttribute(H))), O(xe(u.getAttribute(X))), Cn(u.getAttribute(y), u.getAttribute(w)), mr(u.getAttribute(m)), d(u.getAttribute(p)), yr($.map((Q) => Q[1])), qr(xe(u.getAttribute(o))), Wr(re(u.getAttribute(l), 0)), St(re(u.getAttribute(c), 1 / 0)), ye(xe(u.getAttribute(h))), P(re(u.getAttribute(A), Ve)), Oe(), Be(), U = jt(u, g, v), W((x = u.getAttribute(Se)) != null ? x : mn), g.addEventListener("mousedown", Or), g.addEventListener("mouseup", lr), g.addEventListener("touchmove", pt), g.addEventListener("touchstart", pt), Ie || document.addEventListener("wheel", ur, { passive: !1 }), L = Tr(u, An, { setValues: yr, setMin: bt, setMax: mt, setStep: mr, setPointersOverlap: qr, setPointersMinDistance: Wr, setPointersMaxDistance: St, setDisabled: Vr, setType: b, setRightToLeft: _, setBottomToTop: O, setRound: P, setKeyboardDisabled: kn, setMousewheelDisabled: a, setRangeDragging: ye, setData: d }, { getPercents: Mn, getValues: Sn, getPointerElements: jr, getMin: zt, getMax: En, getStep: Dr, getData: Nr, getType: Hr, getRound: dr, getTextMin: hr, getTextMax: yt, isRightToLeft: it, isBottomToTop: Br, isDisabled: Ur, isKeyboardDisabled: qt, isMousewheelDisabled: gr, isPointersOverlap: Wt, isRangeDraggingEnabled: Ye, getPointersMinDistance: fr, getPointersMaxDistance: Ir }), L.init();
5604
+ R && (B = ci(R)), b(u.getAttribute(E)), A(xe(u.getAttribute(H))), O(xe(u.getAttribute(X))), Cn(u.getAttribute(y), u.getAttribute(w)), mr(u.getAttribute(m)), d(u.getAttribute(p)), yr($.map((Q) => Q[1])), qr(xe(u.getAttribute(o))), Wr(re(u.getAttribute(l), 0)), St(re(u.getAttribute(c), 1 / 0)), ye(xe(u.getAttribute(h))), P(re(u.getAttribute(_), Ve)), Oe(), Be(), U = jt(u, g, v), W((x = u.getAttribute(Se)) != null ? x : mn), g.addEventListener("mousedown", Or), g.addEventListener("mouseup", lr), g.addEventListener("touchmove", pt), g.addEventListener("touchstart", pt), Ie || document.addEventListener("wheel", ur, { passive: !1 }), L = Tr(u, An, { setValues: yr, setMin: bt, setMax: mt, setStep: mr, setPointersOverlap: qr, setPointersMinDistance: Wr, setPointersMaxDistance: St, setDisabled: Vr, setType: b, setRightToLeft: A, setBottomToTop: O, setRound: P, setKeyboardDisabled: kn, setMousewheelDisabled: a, setRangeDragging: ye, setData: d }, { getPercents: Mn, getValues: Sn, getPointerElements: jr, getMin: zt, getMax: En, getStep: Dr, getData: Nr, getType: Hr, getRound: dr, getTextMin: hr, getTextMax: yt, isRightToLeft: it, isBottomToTop: Br, isDisabled: Ur, isKeyboardDisabled: qt, isMousewheelDisabled: gr, isPointersOverlap: Wt, isRangeDraggingEnabled: Ye, getPointersMinDistance: fr, getPointersMaxDistance: Ir }), L.init();
5579
5605
  })(), { get pointers() {
5580
5606
  return v;
5581
5607
  }, get styles() {
@@ -5613,7 +5639,7 @@ customElements.define("eox-itemfilter-select", la);
5613
5639
  }, get rightToLeft() {
5614
5640
  return it();
5615
5641
  }, set rightToLeft(f) {
5616
- _(f);
5642
+ A(f);
5617
5643
  }, get bottomToTop() {
5618
5644
  return Br();
5619
5645
  }, set bottomToTop(f) {
@@ -5707,7 +5733,7 @@ customElements.define("eox-itemfilter-select", la);
5707
5733
  u.bottomToTop = xe($);
5708
5734
  break;
5709
5735
  }
5710
- case A: {
5736
+ case _: {
5711
5737
  u.round = re($, Ve);
5712
5738
  break;
5713
5739
  }
@@ -5912,12 +5938,12 @@ customElements.define("eox-itemfilter-select", la);
5912
5938
  window.tcRangeSlider = Rr, customElements.get("toolcool-range-slider") || customElements.define("toolcool-range-slider", Rr), customElements.get("tc-range-slider") || customElements.define("tc-range-slider", class extends Rr {
5913
5939
  });
5914
5940
  })();
5915
- var tr, fa, cs;
5916
- class da extends Je {
5941
+ var tr, pa, us;
5942
+ class fa extends Je {
5917
5943
  constructor() {
5918
5944
  super();
5919
5945
  Ge(this, tr);
5920
- this.filterObject = {}, this.tabIndex = 0, this.inputHandler = le(this, tr, fa).bind(this), this.debouncedInputHandler = ri(this.inputHandler, 0, {
5946
+ this.filterObject = {}, this.tabIndex = 0, this.inputHandler = le(this, tr, pa).bind(this), this.debouncedInputHandler = ri(this.inputHandler, 0, {
5921
5947
  leading: !0
5922
5948
  });
5923
5949
  }
@@ -5925,7 +5951,7 @@ class da extends Je {
5925
5951
  * Resets the range filter using the resetRangeMethod.
5926
5952
  */
5927
5953
  reset() {
5928
- vu(this);
5954
+ wu(this);
5929
5955
  }
5930
5956
  /**
5931
5957
  * Overrides the default createRenderRoot method to render in the light DOM.
@@ -5942,7 +5968,7 @@ class da extends Je {
5942
5968
  return qe(
5943
5969
  this.filterObject,
5944
5970
  () => Y`
5945
- ${le(this, tr, cs).call(this, "min", "before")}
5971
+ ${le(this, tr, us).call(this, "min", "before")}
5946
5972
  <tc-range-slider
5947
5973
  min="${this.filterObject.min}"
5948
5974
  max="${this.filterObject.max}"
@@ -5951,7 +5977,7 @@ class da extends Je {
5951
5977
  step="${this.filterObject.step || 1}"
5952
5978
  @change=${this.debouncedInputHandler}
5953
5979
  ></tc-range-slider>
5954
- ${le(this, tr, cs).call(this, "max", "after")}
5980
+ ${le(this, tr, us).call(this, "max", "after")}
5955
5981
  `
5956
5982
  );
5957
5983
  }
@@ -5962,8 +5988,8 @@ tr = new WeakSet(), /**
5962
5988
  * @param {Event} evt - The input event.
5963
5989
  * @private
5964
5990
  */
5965
- fa = function(r) {
5966
- wu(r, this);
5991
+ pa = function(r) {
5992
+ xu(r, this);
5967
5993
  }, /**
5968
5994
  * Generates labels for the range slider.
5969
5995
  *
@@ -5972,16 +5998,16 @@ fa = function(r) {
5972
5998
  * @returns {string} - The generated label.
5973
5999
  * @private
5974
6000
  */
5975
- cs = function(r, n) {
5976
- return xu(r, n, this);
6001
+ us = function(r, n) {
6002
+ return $u(r, n, this);
5977
6003
  }, // Define properties with defaults and types
5978
- Kr(da, "properties", {
6004
+ Kr(fa, "properties", {
5979
6005
  filterObject: { attribute: !1, type: Object },
5980
6006
  tabIndex: { attribute: !1, type: Number }
5981
6007
  });
5982
- customElements.define("eox-itemfilter-range", da);
5983
- var Gn, pa;
5984
- class qu extends Je {
6008
+ customElements.define("eox-itemfilter-range", fa);
6009
+ var Gn, ga;
6010
+ class Wu extends Je {
5985
6011
  constructor() {
5986
6012
  super();
5987
6013
  Ge(this, Gn);
@@ -5998,7 +6024,7 @@ class qu extends Je {
5998
6024
  * Resets the spatial filter using the resetSpatialMethod.
5999
6025
  */
6000
6026
  reset() {
6001
- Cu(this);
6027
+ ku(this);
6002
6028
  }
6003
6029
  /**
6004
6030
  * Overrides the default createRenderRoot method to render in the light DOM.
@@ -6028,7 +6054,7 @@ class qu extends Je {
6028
6054
  name="mode"
6029
6055
  .checked="${(this.filterObject.state.mode || "") === n || ge}"
6030
6056
  value="${n}"
6031
- @click=${() => le(this, Gn, pa).call(this, n)}
6057
+ @click=${() => le(this, Gn, ga).call(this, n)}
6032
6058
  />
6033
6059
  <small>${n} filter geometry</small>
6034
6060
  </label>
@@ -6053,12 +6079,12 @@ Gn = new WeakSet(), /**
6053
6079
  * @private
6054
6080
  * @param {string} mode - The mode of the spatial filter (e.g., "intersects", "within").
6055
6081
  */
6056
- pa = function(r) {
6057
- Lu(r, this);
6082
+ ga = function(r) {
6083
+ Pu(r, this);
6058
6084
  };
6059
- customElements.define("eox-itemfilter-spatial", qu);
6060
- var Yn, ga;
6061
- class Wu extends Je {
6085
+ customElements.define("eox-itemfilter-spatial", Wu);
6086
+ var Yn, ya;
6087
+ class Vu extends Je {
6062
6088
  constructor() {
6063
6089
  super();
6064
6090
  Ge(this, Yn);
@@ -6075,13 +6101,13 @@ class Wu extends Je {
6075
6101
  * Lifecycle method called after the first update. Initializes the spatial filter.
6076
6102
  */
6077
6103
  firstUpdated() {
6078
- le(this, Yn, ga).call(this);
6104
+ le(this, Yn, ya).call(this);
6079
6105
  }
6080
6106
  /**
6081
6107
  * Resets the spatial filter using the resetSpatialFilterMethod.
6082
6108
  */
6083
6109
  reset() {
6084
- ku(this);
6110
+ Lu(this);
6085
6111
  }
6086
6112
  /**
6087
6113
  * Renders the HTML template for the component.
@@ -6095,20 +6121,20 @@ Yn = new WeakSet(), /**
6095
6121
  *
6096
6122
  * @private
6097
6123
  */
6098
- ga = function() {
6099
- ta(this);
6124
+ ya = function() {
6125
+ ra(this);
6100
6126
  };
6101
- customElements.define("eox-itemfilter-spatial-filter", Wu);
6102
- function Vu(t, e) {
6127
+ customElements.define("eox-itemfilter-spatial-filter", Vu);
6128
+ function Ku(t, e) {
6103
6129
  e.renderRoot.querySelectorAll(".chip").forEach((r) => {
6104
6130
  r.classList.remove("highlighted");
6105
6131
  }), t.target.classList.add("highlighted"), e.requestUpdate();
6106
6132
  }
6107
- function Ku(t, e) {
6133
+ function Gu(t, e) {
6108
6134
  const { code: r, target: n } = t;
6109
- n.id === "eox-itemfilter-input-search" && (e.parentElement.classList.contains("hidden") && ["ArrowLeft", "ArrowRight", "Backspace"].includes(r) || (r === "Space" && t.preventDefault(), ["Escape", "Space", "Enter"].includes(r) || t.stopPropagation(), ["ArrowLeft", "ArrowRight", "Escape", "Backspace"].includes(r) && Gu(r, t.target.value ?? "", e)));
6135
+ n.id === "eox-itemfilter-input-search" && (e.parentElement.classList.contains("hidden") && ["ArrowLeft", "ArrowRight", "Backspace"].includes(r) || (r === "Space" && t.preventDefault(), ["Escape", "Space", "Enter"].includes(r) || t.stopPropagation(), ["ArrowLeft", "ArrowRight", "Escape", "Backspace"].includes(r) && Yu(r, t.target.value ?? "", e)));
6110
6136
  }
6111
- function Gu(t, e, r) {
6137
+ function Yu(t, e, r) {
6112
6138
  const n = r.renderRoot.querySelector(".chip.highlighted");
6113
6139
  if ((t === "Escape" || e) && n && n.classList.remove("highlighted"), t === "Backspace" && !e) {
6114
6140
  if (r.items.length) {
@@ -6133,8 +6159,8 @@ function Gu(t, e, r) {
6133
6159
  ).indexOf(s), s.classList.remove("highlighted")), i = i + (t === "ArrowLeft" ? -1 : 1), t === "ArrowLeft" && i < 0 && (i = r.renderRoot.querySelectorAll(".chip").length - 1), t === "ArrowRight" && i > r.renderRoot.querySelectorAll(".chip").length - 1 && (i = 0), Array.from(r.renderRoot.querySelectorAll(".chip"))[i].classList.add("highlighted");
6134
6160
  }
6135
6161
  }
6136
- var rr, us, ya;
6137
- class Yu extends Je {
6162
+ var rr, hs, ba;
6163
+ class Fu extends Je {
6138
6164
  constructor() {
6139
6165
  super();
6140
6166
  Ge(this, rr);
@@ -6154,7 +6180,7 @@ class Yu extends Je {
6154
6180
  connectedCallback() {
6155
6181
  super.connectedCallback(), this.getRootNode().addEventListener(
6156
6182
  "keydown",
6157
- le(this, rr, us).bind(this)
6183
+ le(this, rr, hs).bind(this)
6158
6184
  );
6159
6185
  }
6160
6186
  /**
@@ -6164,7 +6190,7 @@ class Yu extends Je {
6164
6190
  disconnectedCallback() {
6165
6191
  super.disconnectedCallback(), this.getRootNode().removeEventListener(
6166
6192
  "keydown",
6167
- le(this, rr, us).bind(this)
6193
+ le(this, rr, hs).bind(this)
6168
6194
  );
6169
6195
  }
6170
6196
  /**
@@ -6191,7 +6217,7 @@ class Yu extends Je {
6191
6217
  ${Xn(
6192
6218
  this.items,
6193
6219
  (r) => Y`
6194
- <span class="chip" @click=${le(this, rr, ya).bind(this)}>
6220
+ <span class="chip" @click=${le(this, rr, ba).bind(this)}>
6195
6221
  <span class="chip-title">${r.title}</span>
6196
6222
  <span
6197
6223
  class="chip-item-close hidden"
@@ -6214,19 +6240,19 @@ rr = new WeakSet(), /**
6214
6240
  * @param {Event} event - The keyboard event.
6215
6241
  * @private
6216
6242
  */
6217
- us = function(r) {
6218
- Ku(r, this);
6243
+ hs = function(r) {
6244
+ Gu(r, this);
6219
6245
  }, /**
6220
6246
  * Handles click events for the chips.
6221
6247
  *
6222
6248
  * @param {Event} evt - The click event.
6223
6249
  * @private
6224
6250
  */
6225
- ya = function(r) {
6226
- Vu(r, this);
6251
+ ba = function(r) {
6252
+ Ku(r, this);
6227
6253
  };
6228
- customElements.define("eox-itemfilter-chips", Yu);
6229
- const Fu = Object.freeze({
6254
+ customElements.define("eox-itemfilter-chips", Fu);
6255
+ const Xu = Object.freeze({
6230
6256
  /**
6231
6257
  * Aggregate results by a property key
6232
6258
  */
@@ -6297,7 +6323,7 @@ const Fu = Object.freeze({
6297
6323
  * @default true
6298
6324
  */
6299
6325
  expandMultipleResults: !0
6300
- }), to = [
6326
+ }), ro = [
6301
6327
  "aggregateResults",
6302
6328
  "autoSpreadSingle",
6303
6329
  "enableHighlighting",
@@ -6315,35 +6341,35 @@ const Fu = Object.freeze({
6315
6341
  "expandMultipleResults",
6316
6342
  "items"
6317
6343
  ];
6318
- var Xu = 200, xs = "__lodash_hash_undefined__", Zu = 1 / 0, Ju = "[object Function]", Qu = "[object GeneratorFunction]", eh = /[\\^$.*+?()[\]{}|]/g, th = /^\[object .+?Constructor\]$/, rh = typeof Ze == "object" && Ze && Ze.Object === Object && Ze, nh = typeof self == "object" && self && self.Object === Object && self, $s = rh || nh || Function("return this")();
6319
- function ih(t, e) {
6344
+ var Zu = 200, $s = "__lodash_hash_undefined__", Ju = 1 / 0, Qu = "[object Function]", eh = "[object GeneratorFunction]", th = /[\\^$.*+?()[\]{}|]/g, rh = /^\[object .+?Constructor\]$/, nh = typeof Ze == "object" && Ze && Ze.Object === Object && Ze, ih = typeof self == "object" && self && self.Object === Object && self, _s = nh || ih || Function("return this")();
6345
+ function sh(t, e) {
6320
6346
  var r = t ? t.length : 0;
6321
- return !!r && oh(t, e, 0) > -1;
6347
+ return !!r && ah(t, e, 0) > -1;
6322
6348
  }
6323
- function sh(t, e, r, n) {
6349
+ function oh(t, e, r, n) {
6324
6350
  for (var i = t.length, s = r + -1; ++s < i; )
6325
6351
  if (e(t[s], s, t))
6326
6352
  return s;
6327
6353
  return -1;
6328
6354
  }
6329
- function oh(t, e, r) {
6355
+ function ah(t, e, r) {
6330
6356
  if (e !== e)
6331
- return sh(t, ah, r);
6357
+ return oh(t, lh, r);
6332
6358
  for (var n = r - 1, i = t.length; ++n < i; )
6333
6359
  if (t[n] === e)
6334
6360
  return n;
6335
6361
  return -1;
6336
6362
  }
6337
- function ah(t) {
6363
+ function lh(t) {
6338
6364
  return t !== t;
6339
6365
  }
6340
- function lh(t, e) {
6366
+ function ch(t, e) {
6341
6367
  return t.has(e);
6342
6368
  }
6343
- function ch(t, e) {
6369
+ function uh(t, e) {
6344
6370
  return t == null ? void 0 : t[e];
6345
6371
  }
6346
- function uh(t) {
6372
+ function hh(t) {
6347
6373
  var e = !1;
6348
6374
  if (t != null && typeof t.toString != "function")
6349
6375
  try {
@@ -6352,18 +6378,18 @@ function uh(t) {
6352
6378
  }
6353
6379
  return e;
6354
6380
  }
6355
- function ba(t) {
6381
+ function ma(t) {
6356
6382
  var e = -1, r = Array(t.size);
6357
6383
  return t.forEach(function(n) {
6358
6384
  r[++e] = n;
6359
6385
  }), r;
6360
6386
  }
6361
- var hh = Array.prototype, dh = Function.prototype, ma = Object.prototype, Bi = $s["__core-js_shared__"], ro = function() {
6387
+ var dh = Array.prototype, fh = Function.prototype, va = Object.prototype, Bi = _s["__core-js_shared__"], no = function() {
6362
6388
  var t = /[^.]+$/.exec(Bi && Bi.keys && Bi.keys.IE_PROTO || "");
6363
6389
  return t ? "Symbol(src)_1." + t : "";
6364
- }(), va = dh.toString, _s = ma.hasOwnProperty, fh = ma.toString, ph = RegExp(
6365
- "^" + va.call(_s).replace(eh, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
6366
- ), gh = hh.splice, yh = As($s, "Map"), Ui = As($s, "Set"), rn = As(Object, "create");
6390
+ }(), wa = fh.toString, As = va.hasOwnProperty, ph = va.toString, gh = RegExp(
6391
+ "^" + wa.call(As).replace(th, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
6392
+ ), yh = dh.splice, bh = Ms(_s, "Map"), Ui = Ms(_s, "Set"), rn = Ms(Object, "create");
6367
6393
  function Qt(t) {
6368
6394
  var e = -1, r = t ? t.length : 0;
6369
6395
  for (this.clear(); ++e < r; ) {
@@ -6371,33 +6397,33 @@ function Qt(t) {
6371
6397
  this.set(n[0], n[1]);
6372
6398
  }
6373
6399
  }
6374
- function bh() {
6400
+ function mh() {
6375
6401
  this.__data__ = rn ? rn(null) : {};
6376
6402
  }
6377
- function mh(t) {
6403
+ function vh(t) {
6378
6404
  return this.has(t) && delete this.__data__[t];
6379
6405
  }
6380
- function vh(t) {
6406
+ function wh(t) {
6381
6407
  var e = this.__data__;
6382
6408
  if (rn) {
6383
6409
  var r = e[t];
6384
- return r === xs ? void 0 : r;
6410
+ return r === $s ? void 0 : r;
6385
6411
  }
6386
- return _s.call(e, t) ? e[t] : void 0;
6412
+ return As.call(e, t) ? e[t] : void 0;
6387
6413
  }
6388
- function wh(t) {
6414
+ function xh(t) {
6389
6415
  var e = this.__data__;
6390
- return rn ? e[t] !== void 0 : _s.call(e, t);
6416
+ return rn ? e[t] !== void 0 : As.call(e, t);
6391
6417
  }
6392
- function xh(t, e) {
6418
+ function $h(t, e) {
6393
6419
  var r = this.__data__;
6394
- return r[t] = rn && e === void 0 ? xs : e, this;
6420
+ return r[t] = rn && e === void 0 ? $s : e, this;
6395
6421
  }
6396
- Qt.prototype.clear = bh;
6397
- Qt.prototype.delete = mh;
6398
- Qt.prototype.get = vh;
6399
- Qt.prototype.has = wh;
6400
- Qt.prototype.set = xh;
6422
+ Qt.prototype.clear = mh;
6423
+ Qt.prototype.delete = vh;
6424
+ Qt.prototype.get = wh;
6425
+ Qt.prototype.has = xh;
6426
+ Qt.prototype.set = $h;
6401
6427
  function Er(t) {
6402
6428
  var e = -1, r = t ? t.length : 0;
6403
6429
  for (this.clear(); ++e < r; ) {
@@ -6405,32 +6431,32 @@ function Er(t) {
6405
6431
  this.set(n[0], n[1]);
6406
6432
  }
6407
6433
  }
6408
- function $h() {
6434
+ function _h() {
6409
6435
  this.__data__ = [];
6410
6436
  }
6411
- function _h(t) {
6437
+ function Ah(t) {
6412
6438
  var e = this.__data__, r = ni(e, t);
6413
6439
  if (r < 0)
6414
6440
  return !1;
6415
6441
  var n = e.length - 1;
6416
- return r == n ? e.pop() : gh.call(e, r, 1), !0;
6442
+ return r == n ? e.pop() : yh.call(e, r, 1), !0;
6417
6443
  }
6418
- function Ah(t) {
6444
+ function Mh(t) {
6419
6445
  var e = this.__data__, r = ni(e, t);
6420
6446
  return r < 0 ? void 0 : e[r][1];
6421
6447
  }
6422
- function Mh(t) {
6448
+ function Sh(t) {
6423
6449
  return ni(this.__data__, t) > -1;
6424
6450
  }
6425
- function Sh(t, e) {
6451
+ function Eh(t, e) {
6426
6452
  var r = this.__data__, n = ni(r, t);
6427
6453
  return n < 0 ? r.push([t, e]) : r[n][1] = e, this;
6428
6454
  }
6429
- Er.prototype.clear = $h;
6430
- Er.prototype.delete = _h;
6431
- Er.prototype.get = Ah;
6432
- Er.prototype.has = Mh;
6433
- Er.prototype.set = Sh;
6455
+ Er.prototype.clear = _h;
6456
+ Er.prototype.delete = Ah;
6457
+ Er.prototype.get = Mh;
6458
+ Er.prototype.has = Sh;
6459
+ Er.prototype.set = Eh;
6434
6460
  function Cr(t) {
6435
6461
  var e = -1, r = t ? t.length : 0;
6436
6462
  for (this.clear(); ++e < r; ) {
@@ -6438,62 +6464,62 @@ function Cr(t) {
6438
6464
  this.set(n[0], n[1]);
6439
6465
  }
6440
6466
  }
6441
- function Eh() {
6467
+ function Ch() {
6442
6468
  this.__data__ = {
6443
6469
  hash: new Qt(),
6444
- map: new (yh || Er)(),
6470
+ map: new (bh || Er)(),
6445
6471
  string: new Qt()
6446
6472
  };
6447
6473
  }
6448
- function Ch(t) {
6474
+ function kh(t) {
6449
6475
  return ii(this, t).delete(t);
6450
6476
  }
6451
- function kh(t) {
6477
+ function Lh(t) {
6452
6478
  return ii(this, t).get(t);
6453
6479
  }
6454
- function Lh(t) {
6480
+ function Ph(t) {
6455
6481
  return ii(this, t).has(t);
6456
6482
  }
6457
- function Ph(t, e) {
6483
+ function Th(t, e) {
6458
6484
  return ii(this, t).set(t, e), this;
6459
6485
  }
6460
- Cr.prototype.clear = Eh;
6461
- Cr.prototype.delete = Ch;
6462
- Cr.prototype.get = kh;
6463
- Cr.prototype.has = Lh;
6464
- Cr.prototype.set = Ph;
6486
+ Cr.prototype.clear = Ch;
6487
+ Cr.prototype.delete = kh;
6488
+ Cr.prototype.get = Lh;
6489
+ Cr.prototype.has = Ph;
6490
+ Cr.prototype.set = Th;
6465
6491
  function qn(t) {
6466
6492
  var e = -1, r = t ? t.length : 0;
6467
6493
  for (this.__data__ = new Cr(); ++e < r; )
6468
6494
  this.add(t[e]);
6469
6495
  }
6470
- function Th(t) {
6471
- return this.__data__.set(t, xs), this;
6472
- }
6473
6496
  function Rh(t) {
6497
+ return this.__data__.set(t, $s), this;
6498
+ }
6499
+ function Oh(t) {
6474
6500
  return this.__data__.has(t);
6475
6501
  }
6476
- qn.prototype.add = qn.prototype.push = Th;
6477
- qn.prototype.has = Rh;
6502
+ qn.prototype.add = qn.prototype.push = Rh;
6503
+ qn.prototype.has = Oh;
6478
6504
  function ni(t, e) {
6479
6505
  for (var r = t.length; r--; )
6480
- if (Uh(t[r][0], e))
6506
+ if (zh(t[r][0], e))
6481
6507
  return r;
6482
6508
  return -1;
6483
6509
  }
6484
- function Oh(t) {
6485
- if (!wa(t) || Hh(t))
6510
+ function Dh(t) {
6511
+ if (!xa(t) || Ih(t))
6486
6512
  return !1;
6487
- var e = zh(t) || uh(t) ? ph : th;
6488
- return e.test(Ih(t));
6513
+ var e = qh(t) || hh(t) ? gh : rh;
6514
+ return e.test(Bh(t));
6489
6515
  }
6490
- function Dh(t, e, r) {
6491
- var n = -1, i = ih, s = t.length, o = !0, l = [], c = l;
6492
- if (s >= Xu) {
6493
- var h = jh(t);
6516
+ function jh(t, e, r) {
6517
+ var n = -1, i = sh, s = t.length, o = !0, l = [], c = l;
6518
+ if (s >= Zu) {
6519
+ var h = Nh(t);
6494
6520
  if (h)
6495
- return ba(h);
6496
- o = !1, i = lh, c = new qn();
6521
+ return ma(h);
6522
+ o = !1, i = ch, c = new qn();
6497
6523
  } else
6498
6524
  c = l;
6499
6525
  e:
@@ -6508,28 +6534,28 @@ function Dh(t, e, r) {
6508
6534
  }
6509
6535
  return l;
6510
6536
  }
6511
- var jh = Ui && 1 / ba(new Ui([, -0]))[1] == Zu ? function(t) {
6537
+ var Nh = Ui && 1 / ma(new Ui([, -0]))[1] == Ju ? function(t) {
6512
6538
  return new Ui(t);
6513
- } : qh;
6539
+ } : Wh;
6514
6540
  function ii(t, e) {
6515
6541
  var r = t.__data__;
6516
- return Nh(e) ? r[typeof e == "string" ? "string" : "hash"] : r.map;
6542
+ return Hh(e) ? r[typeof e == "string" ? "string" : "hash"] : r.map;
6517
6543
  }
6518
- function As(t, e) {
6519
- var r = ch(t, e);
6520
- return Oh(r) ? r : void 0;
6544
+ function Ms(t, e) {
6545
+ var r = uh(t, e);
6546
+ return Dh(r) ? r : void 0;
6521
6547
  }
6522
- function Nh(t) {
6548
+ function Hh(t) {
6523
6549
  var e = typeof t;
6524
6550
  return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
6525
6551
  }
6526
- function Hh(t) {
6527
- return !!ro && ro in t;
6528
- }
6529
6552
  function Ih(t) {
6553
+ return !!no && no in t;
6554
+ }
6555
+ function Bh(t) {
6530
6556
  if (t != null) {
6531
6557
  try {
6532
- return va.call(t);
6558
+ return wa.call(t);
6533
6559
  } catch {
6534
6560
  }
6535
6561
  try {
@@ -6539,29 +6565,29 @@ function Ih(t) {
6539
6565
  }
6540
6566
  return "";
6541
6567
  }
6542
- function Bh(t) {
6543
- return t && t.length ? Dh(t) : [];
6568
+ function Uh(t) {
6569
+ return t && t.length ? jh(t) : [];
6544
6570
  }
6545
- function Uh(t, e) {
6571
+ function zh(t, e) {
6546
6572
  return t === e || t !== t && e !== e;
6547
6573
  }
6548
- function zh(t) {
6549
- var e = wa(t) ? fh.call(t) : "";
6550
- return e == Ju || e == Qu;
6574
+ function qh(t) {
6575
+ var e = xa(t) ? ph.call(t) : "";
6576
+ return e == Qu || e == eh;
6551
6577
  }
6552
- function wa(t) {
6578
+ function xa(t) {
6553
6579
  var e = typeof t;
6554
6580
  return !!t && (e == "object" || e == "function");
6555
6581
  }
6556
- function qh() {
6582
+ function Wh() {
6557
6583
  }
6558
- var Wh = Bh;
6559
- const xa = /* @__PURE__ */ ei(Wh);
6584
+ var Vh = Uh;
6585
+ const $a = /* @__PURE__ */ ei(Vh);
6560
6586
  var Wn = { exports: {} };
6561
6587
  Wn.exports;
6562
6588
  (function(t, e) {
6563
- var r = 200, n = "Expected a function", i = "__lodash_hash_undefined__", s = 1, o = 2, l = 1 / 0, c = 9007199254740991, h = "[object Arguments]", p = "[object Array]", y = "[object Boolean]", w = "[object Date]", m = "[object Error]", A = "[object Function]", E = "[object GeneratorFunction]", z = "[object Map]", H = "[object Number]", X = "[object Object]", F = "[object Promise]", ue = "[object RegExp]", te = "[object Set]", Z = "[object String]", he = "[object Symbol]", $e = "[object WeakMap]", Me = "[object ArrayBuffer]", fe = "[object DataView]", ie = "[object Float32Array]", We = "[object Float64Array]", Ot = "[object Int8Array]", D = "[object Int16Array]", S = "[object Int32Array]", M = "[object Uint8Array]", j = "[object Uint8ClampedArray]", k = "[object Uint16Array]", V = "[object Uint32Array]", K = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ce = /^\w*$/, we = /^\./, Ae = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Se = /[\\^$.*+?()[\]{}|]/g, je = /\\(\\)?/g, Ce = /^\[object .+?Constructor\]$/, Ne = /^(?:0|[1-9]\d*)$/, se = {};
6564
- se[ie] = se[We] = se[Ot] = se[D] = se[S] = se[M] = se[j] = se[k] = se[V] = !0, se[h] = se[p] = se[Me] = se[y] = se[fe] = se[w] = se[m] = se[A] = se[z] = se[H] = se[X] = se[ue] = se[te] = se[Z] = se[$e] = !1;
6589
+ var r = 200, n = "Expected a function", i = "__lodash_hash_undefined__", s = 1, o = 2, l = 1 / 0, c = 9007199254740991, h = "[object Arguments]", p = "[object Array]", y = "[object Boolean]", w = "[object Date]", m = "[object Error]", _ = "[object Function]", E = "[object GeneratorFunction]", z = "[object Map]", H = "[object Number]", X = "[object Object]", F = "[object Promise]", ue = "[object RegExp]", te = "[object Set]", Z = "[object String]", he = "[object Symbol]", $e = "[object WeakMap]", Me = "[object ArrayBuffer]", fe = "[object DataView]", ie = "[object Float32Array]", We = "[object Float64Array]", Ot = "[object Int8Array]", D = "[object Int16Array]", S = "[object Int32Array]", M = "[object Uint8Array]", j = "[object Uint8ClampedArray]", k = "[object Uint16Array]", V = "[object Uint32Array]", K = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ce = /^\w*$/, we = /^\./, Ae = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Se = /[\\^$.*+?()[\]{}|]/g, je = /\\(\\)?/g, Ce = /^\[object .+?Constructor\]$/, Ne = /^(?:0|[1-9]\d*)$/, se = {};
6590
+ se[ie] = se[We] = se[Ot] = se[D] = se[S] = se[M] = se[j] = se[k] = se[V] = !0, se[h] = se[p] = se[Me] = se[y] = se[fe] = se[w] = se[m] = se[_] = se[z] = se[H] = se[X] = se[ue] = se[te] = se[Z] = se[$e] = !1;
6565
6591
  var ke = typeof Ze == "object" && Ze && Ze.Object === Object && Ze, re = typeof self == "object" && self && self.Object === Object && self, Le = ke || re || Function("return this")(), at = e && !e.nodeType && e, xe = at && !0 && t && !t.nodeType && t, si = xe && xe.exports === at, ln = si && ke.process, cn = function() {
6566
6592
  try {
6567
6593
  return ln && ln.binding("util");
@@ -6569,17 +6595,17 @@ Wn.exports;
6569
6595
  }
6570
6596
  }(), un = cn && cn.isTypedArray;
6571
6597
  function oi(a, d) {
6572
- for (var b = -1, _ = a ? a.length : 0, O = Array(_); ++b < _; )
6598
+ for (var b = -1, A = a ? a.length : 0, O = Array(A); ++b < A; )
6573
6599
  O[b] = d(a[b], b, a);
6574
6600
  return O;
6575
6601
  }
6576
6602
  function kr(a, d) {
6577
- for (var b = -1, _ = d.length, O = a.length; ++b < _; )
6603
+ for (var b = -1, A = d.length, O = a.length; ++b < A; )
6578
6604
  a[O + b] = d[b];
6579
6605
  return a;
6580
6606
  }
6581
6607
  function ai(a, d) {
6582
- for (var b = -1, _ = a ? a.length : 0; ++b < _; )
6608
+ for (var b = -1, A = a ? a.length : 0; ++b < A; )
6583
6609
  if (d(a[b], b, a))
6584
6610
  return !0;
6585
6611
  return !1;
@@ -6590,9 +6616,9 @@ Wn.exports;
6590
6616
  };
6591
6617
  }
6592
6618
  function ci(a, d) {
6593
- for (var b = -1, _ = Array(a); ++b < a; )
6594
- _[b] = d(b);
6595
- return _;
6619
+ for (var b = -1, A = Array(a); ++b < a; )
6620
+ A[b] = d(b);
6621
+ return A;
6596
6622
  }
6597
6623
  function hn(a) {
6598
6624
  return function(d) {
@@ -6613,8 +6639,8 @@ Wn.exports;
6613
6639
  }
6614
6640
  function hi(a) {
6615
6641
  var d = -1, b = Array(a.size);
6616
- return a.forEach(function(_, O) {
6617
- b[++d] = [O, _];
6642
+ return a.forEach(function(A, O) {
6643
+ b[++d] = [O, A];
6618
6644
  }), b;
6619
6645
  }
6620
6646
  function di(a, d) {
@@ -6624,8 +6650,8 @@ Wn.exports;
6624
6650
  }
6625
6651
  function fi(a) {
6626
6652
  var d = -1, b = Array(a.size);
6627
- return a.forEach(function(_) {
6628
- b[++d] = _;
6653
+ return a.forEach(function(A) {
6654
+ b[++d] = A;
6629
6655
  }), b;
6630
6656
  }
6631
6657
  var pi = Array.prototype, gi = Function.prototype, nr = Object.prototype, Pr = Le["__core-js_shared__"], dn = function() {
@@ -6637,8 +6663,8 @@ Wn.exports;
6637
6663
  function Ve(a) {
6638
6664
  var d = -1, b = a ? a.length : 0;
6639
6665
  for (this.clear(); ++d < b; ) {
6640
- var _ = a[d];
6641
- this.set(_[0], _[1]);
6666
+ var A = a[d];
6667
+ this.set(A[0], A[1]);
6642
6668
  }
6643
6669
  }
6644
6670
  function mn() {
@@ -6667,8 +6693,8 @@ Wn.exports;
6667
6693
  function u(a) {
6668
6694
  var d = -1, b = a ? a.length : 0;
6669
6695
  for (this.clear(); ++d < b; ) {
6670
- var _ = a[d];
6671
- this.set(_[0], _[1]);
6696
+ var A = a[d];
6697
+ this.set(A[0], A[1]);
6672
6698
  }
6673
6699
  }
6674
6700
  function g() {
@@ -6678,8 +6704,8 @@ Wn.exports;
6678
6704
  var d = this.__data__, b = me(d, a);
6679
6705
  if (b < 0)
6680
6706
  return !1;
6681
- var _ = d.length - 1;
6682
- return b == _ ? d.pop() : mi.call(d, b, 1), !0;
6707
+ var A = d.length - 1;
6708
+ return b == A ? d.pop() : mi.call(d, b, 1), !0;
6683
6709
  }
6684
6710
  function v(a) {
6685
6711
  var d = this.__data__, b = me(d, a);
@@ -6689,15 +6715,15 @@ Wn.exports;
6689
6715
  return me(this.__data__, a) > -1;
6690
6716
  }
6691
6717
  function B(a, d) {
6692
- var b = this.__data__, _ = me(b, a);
6693
- return _ < 0 ? b.push([a, d]) : b[_][1] = d, this;
6718
+ var b = this.__data__, A = me(b, a);
6719
+ return A < 0 ? b.push([a, d]) : b[A][1] = d, this;
6694
6720
  }
6695
6721
  u.prototype.clear = g, u.prototype.delete = $, u.prototype.get = v, u.prototype.has = C, u.prototype.set = B;
6696
6722
  function U(a) {
6697
6723
  var d = -1, b = a ? a.length : 0;
6698
6724
  for (this.clear(); ++d < b; ) {
6699
- var _ = a[d];
6700
- this.set(_[0], _[1]);
6725
+ var A = a[d];
6726
+ this.set(A[0], A[1]);
6701
6727
  }
6702
6728
  }
6703
6729
  function L() {
@@ -6750,18 +6776,18 @@ Wn.exports;
6750
6776
  function Ee(a, d) {
6751
6777
  var b = this.__data__;
6752
6778
  if (b instanceof u) {
6753
- var _ = b.__data__;
6754
- if (!jt || _.length < r - 1)
6755
- return _.push([a, d]), this;
6756
- b = this.__data__ = new U(_);
6779
+ var A = b.__data__;
6780
+ if (!jt || A.length < r - 1)
6781
+ return A.push([a, d]), this;
6782
+ b = this.__data__ = new U(A);
6757
6783
  }
6758
6784
  return b.set(a, d), this;
6759
6785
  }
6760
6786
  N.prototype.clear = ee, N.prototype.delete = q, N.prototype.get = pe, N.prototype.has = Pe, N.prototype.set = Ee;
6761
6787
  function _e(a, d) {
6762
- var b = Ye(a) || Wt(a) ? ci(a.length, String) : [], _ = b.length, O = !!_;
6788
+ var b = Ye(a) || Wt(a) ? ci(a.length, String) : [], A = b.length, O = !!A;
6763
6789
  for (var P in a)
6764
- nt.call(a, P) && !(O && (P == "length" || jr(P, _))) && b.push(P);
6790
+ nt.call(a, P) && !(O && (P == "length" || jr(P, A))) && b.push(P);
6765
6791
  return b;
6766
6792
  }
6767
6793
  function me(a, d) {
@@ -6771,7 +6797,7 @@ Wn.exports;
6771
6797
  return -1;
6772
6798
  }
6773
6799
  var He = Ci(vn);
6774
- function Ie(a, d, b, _, O) {
6800
+ function Ie(a, d, b, A, O) {
6775
6801
  var P = -1, W = a.length;
6776
6802
  for (b || (b = Sn), O || (O = []); ++P < W; ) {
6777
6803
  var ve = a[P];
@@ -6785,9 +6811,9 @@ Wn.exports;
6785
6811
  }
6786
6812
  function Or(a, d) {
6787
6813
  d = zt(d, a) ? [d] : An(d);
6788
- for (var b = 0, _ = d.length; a != null && b < _; )
6814
+ for (var b = 0, A = d.length; a != null && b < A; )
6789
6815
  a = a[pr(d[b++])];
6790
- return b && b == _ ? a : void 0;
6816
+ return b && b == A ? a : void 0;
6791
6817
  }
6792
6818
  function lr(a) {
6793
6819
  return $t.call(a);
@@ -6795,25 +6821,25 @@ Wn.exports;
6795
6821
  function Mi(a, d) {
6796
6822
  return a != null && d in Object(a);
6797
6823
  }
6798
- function cr(a, d, b, _, O) {
6799
- return a === d ? !0 : a == null || d == null || !bt(a) && !mt(d) ? a !== a && d !== d : pt(a, d, cr, b, _, O);
6824
+ function cr(a, d, b, A, O) {
6825
+ return a === d ? !0 : a == null || d == null || !bt(a) && !mt(d) ? a !== a && d !== d : pt(a, d, cr, b, A, O);
6800
6826
  }
6801
- function pt(a, d, b, _, O, P) {
6827
+ function pt(a, d, b, A, O, P) {
6802
6828
  var W = Ye(a), ve = Ye(d), ye = p, Oe = p;
6803
6829
  W || (ye = ut(a), ye = ye == h ? X : ye), ve || (Oe = ut(d), Oe = Oe == h ? X : Oe);
6804
6830
  var Be = ye == X && !Lr(a), Ue = Oe == X && !Lr(d), De = ye == Oe;
6805
6831
  if (De && !Be)
6806
- return P || (P = new N()), W || br(a) ? Ut(a, d, b, _, O, P) : At(a, d, ye, b, _, O, P);
6832
+ return P || (P = new N()), W || br(a) ? Ut(a, d, b, A, O, P) : At(a, d, ye, b, A, O, P);
6807
6833
  if (!(O & o)) {
6808
6834
  var f = Be && nt.call(a, "__wrapped__"), x = Ue && nt.call(d, "__wrapped__");
6809
6835
  if (f || x) {
6810
6836
  var R = f ? a.value() : a, Q = x ? d.value() : d;
6811
- return P || (P = new N()), b(R, Q, _, O, P);
6837
+ return P || (P = new N()), b(R, Q, A, O, P);
6812
6838
  }
6813
6839
  }
6814
- return De ? (P || (P = new N()), hr(a, d, b, _, O, P)) : !1;
6840
+ return De ? (P || (P = new N()), hr(a, d, b, A, O, P)) : !1;
6815
6841
  }
6816
- function ur(a, d, b, _) {
6842
+ function ur(a, d, b, A) {
6817
6843
  var O = b.length, P = O;
6818
6844
  if (a == null)
6819
6845
  return !P;
@@ -6830,7 +6856,7 @@ Wn.exports;
6830
6856
  return !1;
6831
6857
  } else {
6832
6858
  var Be = new N(), Ue;
6833
- if (!(Ue === void 0 ? cr(Oe, ye, _, s | o, Be) : Ue))
6859
+ if (!(Ue === void 0 ? cr(Oe, ye, A, s | o, Be) : Ue))
6834
6860
  return !1;
6835
6861
  }
6836
6862
  }
@@ -6857,10 +6883,10 @@ Wn.exports;
6857
6883
  return d;
6858
6884
  }
6859
6885
  function Si(a, d) {
6860
- var b = -1, _ = Te(a) ? Array(a.length) : [];
6886
+ var b = -1, A = Te(a) ? Array(a.length) : [];
6861
6887
  return He(a, function(O, P, W) {
6862
- _[++b] = d(O, P, W);
6863
- }), _;
6888
+ A[++b] = d(O, P, W);
6889
+ }), A;
6864
6890
  }
6865
6891
  function Ei(a) {
6866
6892
  var d = Dr(a);
@@ -6870,8 +6896,8 @@ Wn.exports;
6870
6896
  }
6871
6897
  function It(a, d) {
6872
6898
  return zt(a) && dr(d) ? fr(pr(a), d) : function(b) {
6873
- var _ = qr(b, a);
6874
- return _ === void 0 && _ === d ? Wr(b, a) : cr(d, _, void 0, s | o);
6899
+ var A = qr(b, a);
6900
+ return A === void 0 && A === d ? Wr(b, a) : cr(d, A, void 0, s | o);
6875
6901
  };
6876
6902
  }
6877
6903
  function Bt(a) {
@@ -6891,19 +6917,19 @@ Wn.exports;
6891
6917
  return Ye(a) ? a : Ir(a);
6892
6918
  }
6893
6919
  function Ci(a, d) {
6894
- return function(b, _) {
6920
+ return function(b, A) {
6895
6921
  if (b == null)
6896
6922
  return b;
6897
6923
  if (!Te(b))
6898
- return a(b, _);
6899
- for (var O = b.length, P = -1, W = Object(b); ++P < O && _(W[P], P, W) !== !1; )
6924
+ return a(b, A);
6925
+ for (var O = b.length, P = -1, W = Object(b); ++P < O && A(W[P], P, W) !== !1; )
6900
6926
  ;
6901
6927
  return b;
6902
6928
  };
6903
6929
  }
6904
6930
  function ki(a) {
6905
- return function(d, b, _) {
6906
- for (var O = -1, P = Object(d), W = _(d), ve = W.length; ve--; ) {
6931
+ return function(d, b, A) {
6932
+ for (var O = -1, P = Object(d), W = A(d), ve = W.length; ve--; ) {
6907
6933
  var ye = W[++O];
6908
6934
  if (b(P[ye], ye, P) === !1)
6909
6935
  break;
@@ -6911,7 +6937,7 @@ Wn.exports;
6911
6937
  return d;
6912
6938
  };
6913
6939
  }
6914
- function Ut(a, d, b, _, O, P) {
6940
+ function Ut(a, d, b, A, O, P) {
6915
6941
  var W = O & o, ve = a.length, ye = d.length;
6916
6942
  if (ve != ye && !(W && ye > ve))
6917
6943
  return !1;
@@ -6921,8 +6947,8 @@ Wn.exports;
6921
6947
  var Be = -1, Ue = !0, De = O & s ? new oe() : void 0;
6922
6948
  for (P.set(a, d), P.set(d, a); ++Be < ve; ) {
6923
6949
  var f = a[Be], x = d[Be];
6924
- if (_)
6925
- var R = W ? _(x, f, Be, d, a, P) : _(f, x, Be, a, d, P);
6950
+ if (A)
6951
+ var R = W ? A(x, f, Be, d, a, P) : A(f, x, Be, a, d, P);
6926
6952
  if (R !== void 0) {
6927
6953
  if (R)
6928
6954
  continue;
@@ -6931,27 +6957,27 @@ Wn.exports;
6931
6957
  }
6932
6958
  if (De) {
6933
6959
  if (!ai(d, function(Q, de) {
6934
- if (!De.has(de) && (f === Q || b(f, Q, _, O, P)))
6960
+ if (!De.has(de) && (f === Q || b(f, Q, A, O, P)))
6935
6961
  return De.add(de);
6936
6962
  })) {
6937
6963
  Ue = !1;
6938
6964
  break;
6939
6965
  }
6940
- } else if (!(f === x || b(f, x, _, O, P))) {
6966
+ } else if (!(f === x || b(f, x, A, O, P))) {
6941
6967
  Ue = !1;
6942
6968
  break;
6943
6969
  }
6944
6970
  }
6945
6971
  return P.delete(a), P.delete(d), Ue;
6946
6972
  }
6947
- function At(a, d, b, _, O, P, W) {
6973
+ function At(a, d, b, A, O, P, W) {
6948
6974
  switch (b) {
6949
6975
  case fe:
6950
6976
  if (a.byteLength != d.byteLength || a.byteOffset != d.byteOffset)
6951
6977
  return !1;
6952
6978
  a = a.buffer, d = d.buffer;
6953
6979
  case Me:
6954
- return !(a.byteLength != d.byteLength || !_(new pn(a), new pn(d)));
6980
+ return !(a.byteLength != d.byteLength || !A(new pn(a), new pn(d)));
6955
6981
  case y:
6956
6982
  case w:
6957
6983
  case H:
@@ -6971,7 +6997,7 @@ Wn.exports;
6971
6997
  if (Oe)
6972
6998
  return Oe == d;
6973
6999
  P |= s, W.set(a, d);
6974
- var Be = Ut(ve(a), ve(d), _, O, P, W);
7000
+ var Be = Ut(ve(a), ve(d), A, O, P, W);
6975
7001
  return W.delete(a), Be;
6976
7002
  case he:
6977
7003
  if (Ht)
@@ -6979,7 +7005,7 @@ Wn.exports;
6979
7005
  }
6980
7006
  return !1;
6981
7007
  }
6982
- function hr(a, d, b, _, O, P) {
7008
+ function hr(a, d, b, A, O, P) {
6983
7009
  var W = O & o, ve = St(a), ye = ve.length, Oe = St(d), Be = Oe.length;
6984
7010
  if (ye != Be && !W)
6985
7011
  return !1;
@@ -6996,9 +7022,9 @@ Wn.exports;
6996
7022
  for (var R = W; ++Ue < ye; ) {
6997
7023
  De = ve[Ue];
6998
7024
  var Q = a[De], de = d[De];
6999
- if (_)
7000
- var ae = W ? _(de, Q, De, d, a, P) : _(Q, de, De, a, d, P);
7001
- if (!(ae === void 0 ? Q === de || b(Q, de, _, O, P) : ae)) {
7025
+ if (A)
7026
+ var ae = W ? A(de, Q, De, d, a, P) : A(Q, de, De, a, d, P);
7027
+ if (!(ae === void 0 ? Q === de || b(Q, de, A, O, P) : ae)) {
7002
7028
  x = !1;
7003
7029
  break;
7004
7030
  }
@@ -7016,8 +7042,8 @@ Wn.exports;
7016
7042
  }
7017
7043
  function Dr(a) {
7018
7044
  for (var d = St(a), b = d.length; b--; ) {
7019
- var _ = d[b], O = a[_];
7020
- d[b] = [_, O, dr(O)];
7045
+ var A = d[b], O = a[A];
7046
+ d[b] = [A, O, dr(O)];
7021
7047
  }
7022
7048
  return d;
7023
7049
  }
@@ -7027,9 +7053,9 @@ Wn.exports;
7027
7053
  }
7028
7054
  var ut = lr;
7029
7055
  (sr && ut(new sr(new ArrayBuffer(1))) != fe || jt && ut(new jt()) != z || lt && ut(lt.resolve()) != F || or && ut(new or()) != te || Tr && ut(new Tr()) != $e) && (ut = function(a) {
7030
- var d = $t.call(a), b = d == X ? a.constructor : void 0, _ = b ? it(b) : void 0;
7031
- if (_)
7032
- switch (_) {
7056
+ var d = $t.call(a), b = d == X ? a.constructor : void 0, A = b ? it(b) : void 0;
7057
+ if (A)
7058
+ switch (A) {
7033
7059
  case gn:
7034
7060
  return fe;
7035
7061
  case wi:
@@ -7045,14 +7071,14 @@ Wn.exports;
7045
7071
  });
7046
7072
  function Mn(a, d, b) {
7047
7073
  d = zt(d, a) ? [d] : An(d);
7048
- for (var _, O = -1, W = d.length; ++O < W; ) {
7074
+ for (var A, O = -1, W = d.length; ++O < W; ) {
7049
7075
  var P = pr(d[O]);
7050
- if (!(_ = a != null && b(a, P)))
7076
+ if (!(A = a != null && b(a, P)))
7051
7077
  break;
7052
7078
  a = a[P];
7053
7079
  }
7054
- if (_)
7055
- return _;
7080
+ if (A)
7081
+ return A;
7056
7082
  var W = a ? a.length : 0;
7057
7083
  return !!W && zr(W) && jr(P, W) && (Ye(a) || Wt(a));
7058
7084
  }
@@ -7090,8 +7116,8 @@ Wn.exports;
7090
7116
  var Ir = qt(function(a) {
7091
7117
  a = mr(a);
7092
7118
  var d = [];
7093
- return we.test(a) && d.push(""), a.replace(Ae, function(b, _, O, P) {
7094
- d.push(O ? P.replace(je, "$1") : _ || b);
7119
+ return we.test(a) && d.push(""), a.replace(Ae, function(b, A, O, P) {
7120
+ d.push(O ? P.replace(je, "$1") : A || b);
7095
7121
  }), d;
7096
7122
  });
7097
7123
  function pr(a) {
@@ -7124,10 +7150,10 @@ Wn.exports;
7124
7150
  if (typeof a != "function" || d && typeof d != "function")
7125
7151
  throw new TypeError(n);
7126
7152
  var b = function() {
7127
- var _ = arguments, O = d ? d.apply(this, _) : _[0], P = b.cache;
7153
+ var A = arguments, O = d ? d.apply(this, A) : A[0], P = b.cache;
7128
7154
  if (P.has(O))
7129
7155
  return P.get(O);
7130
- var W = a.apply(this, _);
7156
+ var W = a.apply(this, A);
7131
7157
  return b.cache = P.set(O, W), W;
7132
7158
  };
7133
7159
  return b.cache = new (qt.Cache || U)(), b;
@@ -7148,7 +7174,7 @@ Wn.exports;
7148
7174
  }
7149
7175
  function Cn(a) {
7150
7176
  var d = bt(a) ? $t.call(a) : "";
7151
- return d == A || d == E;
7177
+ return d == _ || d == E;
7152
7178
  }
7153
7179
  function zr(a) {
7154
7180
  return typeof a == "number" && a > -1 && a % 1 == 0 && a <= c;
@@ -7168,8 +7194,8 @@ Wn.exports;
7168
7194
  return a == null ? "" : gt(a);
7169
7195
  }
7170
7196
  function qr(a, d, b) {
7171
- var _ = a == null ? void 0 : Or(a, d);
7172
- return _ === void 0 ? b : _;
7197
+ var A = a == null ? void 0 : Or(a, d);
7198
+ return A === void 0 ? b : A;
7173
7199
  }
7174
7200
  function Wr(a, d) {
7175
7201
  return a != null && Mn(a, d, Mi);
@@ -7185,30 +7211,28 @@ Wn.exports;
7185
7211
  }
7186
7212
  t.exports = Br;
7187
7213
  })(Wn, Wn.exports);
7188
- var Vh = Wn.exports;
7189
- const $a = /* @__PURE__ */ ei(Vh);
7190
- function Kh(t, e, r) {
7214
+ var Kh = Wn.exports;
7215
+ const _a = /* @__PURE__ */ ei(Kh);
7216
+ function Gh(t, e, r) {
7191
7217
  let n = [];
7192
7218
  t.filterProperties.length && t.filterProperties.forEach((s) => {
7193
7219
  const o = {}, l = (h) => s.format === "date" ? tn(h).unix() : parseFloat(h);
7194
7220
  e.forEach((h) => {
7195
7221
  var p;
7196
7222
  if (s.type === "range") {
7197
- if (Array.isArray(h[s.key])) {
7198
- const y = [
7199
- l(h[s.key][0]),
7200
- l(h[s.key][1])
7201
- ];
7202
- o.min = o.min !== void 0 ? Math.min(o.min, y[0]) : y[0], o.max = o.max !== void 0 ? Math.max(o.max, y[1]) : y[1];
7223
+ const y = ts(s.key, h);
7224
+ if (Array.isArray(y)) {
7225
+ const w = [l(y[0]), l(y[1])];
7226
+ o.min = o.min !== void 0 ? Math.min(o.min, w[0]) : w[0], o.max = o.max !== void 0 ? Math.max(o.max, w[1]) : w[1];
7203
7227
  } else {
7204
- const y = l(h[s.key]);
7205
- o.min = o.min !== void 0 ? Math.min(o.min, y) : y, o.max = o.max !== void 0 ? Math.max(o.max, y) : y;
7228
+ const w = l(y);
7229
+ o.min = o.min !== void 0 ? Math.min(o.min, w) : w, o.max = o.max !== void 0 ? Math.max(o.max, w) : w;
7206
7230
  }
7207
7231
  return;
7208
7232
  }
7209
7233
  Array.isArray(h[s.key]) ? h[s.key].forEach((y) => {
7210
7234
  o[y] = void 0;
7211
- }) : s.type === "spatial" ? (o.geometry = void 0, o.mode = s.mode || "intersects") : (p = s.key) != null && p.includes(".") ? xa($a(r.items, s.key)).filter((y) => y).forEach((y) => {
7235
+ }) : s.type === "spatial" ? (o.geometry = void 0, o.mode = s.mode || "intersects") : (p = s.key) != null && p.includes(".") ? $a(_a(r.items, s.key)).filter((y) => y).forEach((y) => {
7212
7236
  o[y] = void 0;
7213
7237
  }) : o[h[s.key]] = void 0;
7214
7238
  });
@@ -7243,18 +7267,19 @@ function Kh(t, e, r) {
7243
7267
  s.type === "text" ? s.keys.forEach((o) => {
7244
7268
  i.includes(o) || i.push(o);
7245
7269
  }) : (s.type === "select" || s.type === "multiselect") && (i.includes(s.key) || i.push(s.key));
7246
- }), Gc(e, Object.assign({ keys: i }, t.fuseConfig)), n;
7270
+ }), Yc(e, Object.assign({ keys: i }, t.fuseConfig)), n;
7247
7271
  }
7248
- async function Gh(t, e, r) {
7272
+ async function Yh(t, e, r) {
7249
7273
  let n;
7250
- r.externalFilter ? n = await Zc(e, r.filters, t) : n = await Yc(e, r.filters, t), r.results = r.sortResults(n);
7274
+ r.externalFilter ? n = await Jc(e, r.filters, t) : n = await Fc(e, r.filters, t), r.results = r.sortResults(n);
7251
7275
  }
7252
- function Yh(t, e, r) {
7276
+ function Fh(t, e, r) {
7253
7277
  const n = `filter-${t.key}`.replace("|", "-");
7254
7278
  switch (t.type) {
7255
7279
  case "text":
7256
7280
  return Y`<eox-itemfilter-text
7257
7281
  data-type="filter"
7282
+ data-cy="text-filter"
7258
7283
  slot="filter"
7259
7284
  id="${n}"
7260
7285
  .tabIndex=${e}
@@ -7272,8 +7297,8 @@ function Yh(t, e, r) {
7272
7297
  .tabIndex=${e}
7273
7298
  .filterObject=${t}
7274
7299
  slot="filter"
7275
- .suggestions="${xa(
7276
- $a(r.items, t.key)
7300
+ .suggestions="${$a(
7301
+ _a(r.items, t.key)
7277
7302
  ).filter((i) => i)}"
7278
7303
  type="${t.type}"
7279
7304
  .unstyled=${r.unstyled}
@@ -7307,12 +7332,12 @@ function Yh(t, e, r) {
7307
7332
  return Y``;
7308
7333
  }
7309
7334
  }
7310
- function Fh(t, e) {
7335
+ function Xh(t, e) {
7311
7336
  return [...t].sort(
7312
7337
  (r, n) => r[e.titleProperty].localeCompare(n[e.titleProperty])
7313
7338
  );
7314
7339
  }
7315
- function Xh(t, e, r) {
7340
+ function Zh(t, e, r) {
7316
7341
  return Y`
7317
7342
  ${qe(
7318
7343
  t.dirty,
@@ -7333,13 +7358,13 @@ function Xh(t, e, r) {
7333
7358
  )}
7334
7359
  `;
7335
7360
  }
7336
- function Zh(t) {
7361
+ function Jh(t) {
7337
7362
  t.renderRoot.querySelectorAll("[data-type='filter']").forEach((e) => {
7338
7363
  typeof e.reset == "function" && e.reset();
7339
7364
  }), t.search();
7340
7365
  }
7341
- var nn, $r, tt, Mr, _a, Aa;
7342
- class Jh extends ra {
7366
+ var nn, $r, tt, Mr, Aa, Ma;
7367
+ class Qh extends na {
7343
7368
  constructor() {
7344
7369
  super();
7345
7370
  Ge(this, Mr);
@@ -7354,7 +7379,7 @@ class Jh extends ra {
7354
7379
  /**
7355
7380
  * @type Object
7356
7381
  */
7357
- Ge(this, tt, Fu);
7382
+ Ge(this, tt, Xu);
7358
7383
  this.items = null, this.filters = {}, this.results = [], this.selectedResult = null, this.search = ri(this.searchHandler, 100, {
7359
7384
  leading: !0
7360
7385
  }), this.aggregateResults = void 0, this.autoSpreadSingle = !1, this.enableHighlighting = !1, this.externalFilter = null, this.filterProperties = [], this.fuseConfig = {}, this.inlineMode = !1, this.matchAllWhenEmpty = !0, this.showResults = !0, this.titleProperty = "title", this.subTitleProperty = void 0, this.idProperty = "id", this.expandMultipleFilters = !0, this.expandResults = !0, this.expandMultipleResults = !0, this.unstyled = !1;
@@ -7394,7 +7419,7 @@ class Jh extends ra {
7394
7419
  * Applies the filters to the items and updates the result aggregation.
7395
7420
  */
7396
7421
  apply() {
7397
- Ln(this, nn, Kh(
7422
+ Ln(this, nn, Gh(
7398
7423
  Fe(this, tt),
7399
7424
  Fe(this, $r),
7400
7425
  this
@@ -7405,7 +7430,7 @@ class Jh extends ra {
7405
7430
  * Requests an update after the search completes.
7406
7431
  */
7407
7432
  async searchHandler() {
7408
- await Gh(Fe(this, tt), Fe(this, $r), this), this.dispatchEvent(
7433
+ await Yh(Fe(this, tt), Fe(this, $r), this), this.dispatchEvent(
7409
7434
  new CustomEvent("filter", {
7410
7435
  detail: {
7411
7436
  results: this.results,
@@ -7423,13 +7448,13 @@ class Jh extends ra {
7423
7448
  * @returns {Array<object>} - The sorted items.
7424
7449
  */
7425
7450
  sortResults(r) {
7426
- return Fh(r, Fe(this, tt));
7451
+ return Xh(r, Fe(this, tt));
7427
7452
  }
7428
7453
  /**
7429
7454
  * Resets all applied filters.
7430
7455
  */
7431
7456
  resetFilters() {
7432
- Zh(this);
7457
+ Jh(this);
7433
7458
  }
7434
7459
  /**
7435
7460
  * Lifecycle method called after the first update.
@@ -7440,7 +7465,7 @@ class Jh extends ra {
7440
7465
  firstUpdated(r) {
7441
7466
  var i;
7442
7467
  let n = {};
7443
- to.map((s) => {
7468
+ ro.map((s) => {
7444
7469
  n = {
7445
7470
  ...n,
7446
7471
  [s]: this[s]
@@ -7456,7 +7481,7 @@ class Jh extends ra {
7456
7481
  * @param {Map} changedProperties - The properties that have changed.
7457
7482
  */
7458
7483
  updated(r) {
7459
- to.map((n) => {
7484
+ ro.map((n) => {
7460
7485
  if (r.has(n))
7461
7486
  return this.firstUpdated(), !0;
7462
7487
  });
@@ -7482,9 +7507,9 @@ class Jh extends ra {
7482
7507
  var r;
7483
7508
  return Y`
7484
7509
  <style>
7485
- ${Ua}
7510
+ ${za}
7486
7511
  ${!this.unstyled && on}
7487
- ${!this.unstyled && za}
7512
+ ${!this.unstyled && qa}
7488
7513
  ${this.styleOverride}
7489
7514
  </style>
7490
7515
  <form
@@ -7517,11 +7542,11 @@ class Jh extends ra {
7517
7542
  (n, i) => Y` <li>
7518
7543
  <eox-itemfilter-expandcontainer
7519
7544
  .filterObject=${n}
7520
- @details-toggled=${(s) => Go(s, Fe(this, tt), this)}
7545
+ @details-toggled=${(s) => Yo(s, Fe(this, tt), this)}
7521
7546
  data-details="${n.key}"
7522
7547
  >
7523
- ${le(this, Mr, Aa).call(this, n, Xs(i, 1))}
7524
- ${le(this, Mr, _a).call(this, n, Xs(i, 2))}
7548
+ ${le(this, Mr, Ma).call(this, n, Zs(i, 1))}
7549
+ ${le(this, Mr, Aa).call(this, n, Zs(i, 2))}
7525
7550
  </eox-itemfilter-expandcontainer>
7526
7551
  </li>`
7527
7552
  )}
@@ -7569,8 +7594,8 @@ nn = new WeakMap(), $r = new WeakMap(), tt = new WeakMap(), Mr = new WeakSet(),
7569
7594
  * @returns {import("lit")} - The template result for the filter element.
7570
7595
  * @private
7571
7596
  */
7572
- _a = function(r, n) {
7573
- return Yh(r, n, this);
7597
+ Aa = function(r, n) {
7598
+ return Fh(r, n, this);
7574
7599
  }, /**
7575
7600
  * Creates a reset element for the given filter object and tab index.
7576
7601
  *
@@ -7579,10 +7604,10 @@ _a = function(r, n) {
7579
7604
  * @returns {import("lit")} - The template result for the filter element.
7580
7605
  * @private
7581
7606
  */
7582
- Aa = function(r, n) {
7583
- return Xh(r, n, this);
7607
+ Ma = function(r, n) {
7608
+ return Zh(r, n, this);
7584
7609
  };
7585
- customElements.define("eox-itemfilter", Jh);
7610
+ customElements.define("eox-itemfilter", Qh);
7586
7611
  export {
7587
- Jh as EOxItemFilter
7612
+ Qh as EOxItemFilter
7588
7613
  };