@eox/itemfilter 0.8.1 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eox-itemfilter.js +483 -461
- package/dist/eox-itemfilter.umd.cjs +58 -44
- package/package.json +1 -1
- package/test/state.cy.ts +73 -0
package/dist/eox-itemfilter.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
6
|
const Xt = window, ti = Xt.ShadowRoot && (Xt.ShadyCSS === void 0 || Xt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, dn = Symbol(), ji = /* @__PURE__ */ new WeakMap();
|
|
7
|
-
let
|
|
7
|
+
let Gs = class {
|
|
8
8
|
constructor(e, t, i) {
|
|
9
9
|
if (this._$cssResult$ = !0, i !== dn)
|
|
10
10
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -23,7 +23,7 @@ let qs = class {
|
|
|
23
23
|
return this.cssText;
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
const Ks = (r) => new
|
|
26
|
+
const Ks = (r) => new Gs(typeof r == "string" ? r : r + "", void 0, dn), Js = (r, e) => {
|
|
27
27
|
ti ? r.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet) : e.forEach((t) => {
|
|
28
28
|
const i = document.createElement("style"), n = Xt.litNonce;
|
|
29
29
|
n !== void 0 && i.setAttribute("nonce", n), i.textContent = t.cssText, r.appendChild(i);
|
|
@@ -255,18 +255,18 @@ ft[Nr] = !0, ft.elementProperties = /* @__PURE__ */ new Map(), ft.elementStyles
|
|
|
255
255
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
256
256
|
*/
|
|
257
257
|
var Pr;
|
|
258
|
-
const Wt = window, gt = Wt.trustedTypes, Hi = gt ? gt.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Br = "$lit$",
|
|
259
|
-
\f\r]`, Et = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
260
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), zi = /'/g, Xi = /"/g, vn = /^(?:script|style|textarea|title)$/i, to = (r) => (e, ...t) => ({ _$litType$: r, strings: e, values: t }), he = to(1), De = Symbol.for("lit-noChange"),
|
|
258
|
+
const Wt = window, gt = Wt.trustedTypes, Hi = gt ? gt.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Br = "$lit$", We = `lit$${(Math.random() + "").slice(9)}$`, pn = "?" + We, Qs = `<${pn}>`, nt = document, Mt = () => nt.createComment(""), At = (r) => r === null || typeof r != "object" && typeof r != "function", gn = Array.isArray, eo = (r) => gn(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", Cr = `[
|
|
259
|
+
\f\r]`, Et = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ui = /-->/g, Yi = />/g, Qe = RegExp(`>|${Cr}(?:([^\\s"'>=/]+)(${Cr}*=${Cr}*(?:[^
|
|
260
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), zi = /'/g, Xi = /"/g, vn = /^(?:script|style|textarea|title)$/i, to = (r) => (e, ...t) => ({ _$litType$: r, strings: e, values: t }), he = to(1), De = Symbol.for("lit-noChange"), ne = Symbol.for("lit-nothing"), Vi = /* @__PURE__ */ new WeakMap(), rt = nt.createTreeWalker(nt, 129, null, !1), ro = (r, e) => {
|
|
261
261
|
const t = r.length - 1, i = [];
|
|
262
262
|
let n, s = e === 2 ? "<svg>" : "", o = Et;
|
|
263
263
|
for (let a = 0; a < t; a++) {
|
|
264
264
|
const u = r[a];
|
|
265
265
|
let g, v, _ = -1, E = 0;
|
|
266
266
|
for (; E < u.length && (o.lastIndex = E, v = o.exec(u), v !== null); )
|
|
267
|
-
E = o.lastIndex, o === Et ? v[1] === "!--" ? o =
|
|
267
|
+
E = o.lastIndex, o === Et ? v[1] === "!--" ? o = Ui : v[1] !== void 0 ? o = Yi : v[2] !== void 0 ? (vn.test(v[2]) && (n = RegExp("</" + v[2], "g")), o = Qe) : v[3] !== void 0 && (o = Qe) : o === Qe ? v[0] === ">" ? (o = n ?? Et, _ = -1) : v[1] === void 0 ? _ = -2 : (_ = o.lastIndex - v[2].length, g = v[1], o = v[3] === void 0 ? Qe : v[3] === '"' ? Xi : zi) : o === Xi || o === zi ? o = Qe : o === Ui || o === Yi ? o = Et : (o = Qe, n = void 0);
|
|
268
268
|
const k = o === Qe && r[a + 1].startsWith("/>") ? " " : "";
|
|
269
|
-
s += o === Et ? u + Qs : _ >= 0 ? (i.push(g), u.slice(0, _) + Br + u.slice(_) +
|
|
269
|
+
s += o === Et ? u + Qs : _ >= 0 ? (i.push(g), u.slice(0, _) + Br + u.slice(_) + We + k) : u + We + (_ === -2 ? (i.push(void 0), a) : k);
|
|
270
270
|
}
|
|
271
271
|
const c = s + (r[t] || "<?>") + (e === 2 ? "</svg>" : "");
|
|
272
272
|
if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
|
|
@@ -288,10 +288,10 @@ class St {
|
|
|
288
288
|
if (n.hasAttributes()) {
|
|
289
289
|
const v = [];
|
|
290
290
|
for (const _ of n.getAttributeNames())
|
|
291
|
-
if (_.endsWith(Br) || _.startsWith(
|
|
291
|
+
if (_.endsWith(Br) || _.startsWith(We)) {
|
|
292
292
|
const E = g[o++];
|
|
293
293
|
if (v.push(_), E !== void 0) {
|
|
294
|
-
const k = n.getAttribute(E.toLowerCase() + Br).split(
|
|
294
|
+
const k = n.getAttribute(E.toLowerCase() + Br).split(We), F = /([.?@])?(.*)/.exec(E);
|
|
295
295
|
a.push({ type: 1, index: s, name: F[2], strings: k, ctor: F[1] === "." ? no : F[1] === "?" ? oo : F[1] === "@" ? ao : tr });
|
|
296
296
|
} else
|
|
297
297
|
a.push({ type: 6, index: s });
|
|
@@ -300,7 +300,7 @@ class St {
|
|
|
300
300
|
n.removeAttribute(_);
|
|
301
301
|
}
|
|
302
302
|
if (vn.test(n.tagName)) {
|
|
303
|
-
const v = n.textContent.split(
|
|
303
|
+
const v = n.textContent.split(We), _ = v.length - 1;
|
|
304
304
|
if (_ > 0) {
|
|
305
305
|
n.textContent = gt ? gt.emptyScript : "";
|
|
306
306
|
for (let E = 0; E < _; E++)
|
|
@@ -313,8 +313,8 @@ class St {
|
|
|
313
313
|
a.push({ type: 2, index: s });
|
|
314
314
|
else {
|
|
315
315
|
let v = -1;
|
|
316
|
-
for (; (v = n.data.indexOf(
|
|
317
|
-
a.push({ type: 7, index: s }), v +=
|
|
316
|
+
for (; (v = n.data.indexOf(We, v + 1)) !== -1; )
|
|
317
|
+
a.push({ type: 7, index: s }), v += We.length - 1;
|
|
318
318
|
}
|
|
319
319
|
s++;
|
|
320
320
|
}
|
|
@@ -365,7 +365,7 @@ class io {
|
|
|
365
365
|
class Ot {
|
|
366
366
|
constructor(e, t, i, n) {
|
|
367
367
|
var s;
|
|
368
|
-
this.type = 2, this._$AH =
|
|
368
|
+
this.type = 2, this._$AH = ne, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = i, this.options = n, this._$Cp = (s = n == null ? void 0 : n.isConnected) === null || s === void 0 || s;
|
|
369
369
|
}
|
|
370
370
|
get _$AU() {
|
|
371
371
|
var e, t;
|
|
@@ -383,7 +383,7 @@ class Ot {
|
|
|
383
383
|
return this._$AB;
|
|
384
384
|
}
|
|
385
385
|
_$AI(e, t = this) {
|
|
386
|
-
e = vt(this, e, t), At(e) ? e ===
|
|
386
|
+
e = vt(this, e, t), At(e) ? e === ne || e == null || e === "" ? (this._$AH !== ne && this._$AR(), this._$AH = ne) : e !== this._$AH && e !== De && this._(e) : e._$litType$ !== void 0 ? this.g(e) : e.nodeType !== void 0 ? this.$(e) : eo(e) ? this.T(e) : this._(e);
|
|
387
387
|
}
|
|
388
388
|
k(e) {
|
|
389
389
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -392,7 +392,7 @@ class Ot {
|
|
|
392
392
|
this._$AH !== e && (this._$AR(), this._$AH = this.k(e));
|
|
393
393
|
}
|
|
394
394
|
_(e) {
|
|
395
|
-
this._$AH !==
|
|
395
|
+
this._$AH !== ne && At(this._$AH) ? this._$AA.nextSibling.data = e : this.$(nt.createTextNode(e)), this._$AH = e;
|
|
396
396
|
}
|
|
397
397
|
g(e) {
|
|
398
398
|
var t;
|
|
@@ -430,7 +430,7 @@ class Ot {
|
|
|
430
430
|
}
|
|
431
431
|
class tr {
|
|
432
432
|
constructor(e, t, i, n, s) {
|
|
433
|
-
this.type = 1, this._$AH =
|
|
433
|
+
this.type = 1, this._$AH = ne, this._$AN = void 0, this.element = e, this.name = t, this._$AM = n, this.options = s, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = ne;
|
|
434
434
|
}
|
|
435
435
|
get tagName() {
|
|
436
436
|
return this.element.tagName;
|
|
@@ -447,12 +447,12 @@ class tr {
|
|
|
447
447
|
const c = e;
|
|
448
448
|
let a, u;
|
|
449
449
|
for (e = s[0], a = 0; a < s.length - 1; a++)
|
|
450
|
-
u = vt(this, c[i + a], t, a), u === De && (u = this._$AH[a]), o || (o = !At(u) || u !== this._$AH[a]), u ===
|
|
450
|
+
u = vt(this, c[i + a], t, a), u === De && (u = this._$AH[a]), o || (o = !At(u) || u !== this._$AH[a]), u === ne ? e = ne : e !== ne && (e += (u ?? "") + s[a + 1]), this._$AH[a] = u;
|
|
451
451
|
}
|
|
452
452
|
o && !n && this.j(e);
|
|
453
453
|
}
|
|
454
454
|
j(e) {
|
|
455
|
-
e ===
|
|
455
|
+
e === ne ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
458
|
class no extends tr {
|
|
@@ -460,7 +460,7 @@ class no extends tr {
|
|
|
460
460
|
super(...arguments), this.type = 3;
|
|
461
461
|
}
|
|
462
462
|
j(e) {
|
|
463
|
-
this.element[this.name] = e ===
|
|
463
|
+
this.element[this.name] = e === ne ? void 0 : e;
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
466
|
const so = gt ? gt.emptyScript : "";
|
|
@@ -469,7 +469,7 @@ class oo extends tr {
|
|
|
469
469
|
super(...arguments), this.type = 4;
|
|
470
470
|
}
|
|
471
471
|
j(e) {
|
|
472
|
-
e && e !==
|
|
472
|
+
e && e !== ne ? this.element.setAttribute(this.name, so) : this.element.removeAttribute(this.name);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
class ao extends tr {
|
|
@@ -478,9 +478,9 @@ class ao extends tr {
|
|
|
478
478
|
}
|
|
479
479
|
_$AI(e, t = this) {
|
|
480
480
|
var i;
|
|
481
|
-
if ((e = (i = vt(this, e, t, 0)) !== null && i !== void 0 ? i :
|
|
481
|
+
if ((e = (i = vt(this, e, t, 0)) !== null && i !== void 0 ? i : ne) === De)
|
|
482
482
|
return;
|
|
483
|
-
const n = this._$AH, s = e ===
|
|
483
|
+
const n = this._$AH, s = e === ne && n !== ne || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, o = e !== ne && (n === ne || s);
|
|
484
484
|
s && this.element.removeEventListener(this.name, this, n), o && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
485
485
|
}
|
|
486
486
|
handleEvent(e) {
|
|
@@ -517,7 +517,7 @@ const co = (r, e, t) => {
|
|
|
517
517
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
518
518
|
*/
|
|
519
519
|
var kr, Lr;
|
|
520
|
-
let
|
|
520
|
+
let Pe = class extends ft {
|
|
521
521
|
constructor() {
|
|
522
522
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
523
523
|
}
|
|
@@ -542,9 +542,9 @@ let Oe = class extends ft {
|
|
|
542
542
|
return De;
|
|
543
543
|
}
|
|
544
544
|
};
|
|
545
|
-
|
|
546
|
-
const
|
|
547
|
-
|
|
545
|
+
Pe.finalized = !0, Pe._$litElement$ = !0, (kr = globalThis.litElementHydrateSupport) === null || kr === void 0 || kr.call(globalThis, { LitElement: Pe });
|
|
546
|
+
const qi = globalThis.litElementPolyfillSupport;
|
|
547
|
+
qi == null || qi({ LitElement: Pe });
|
|
548
548
|
((Lr = globalThis.litElementVersions) !== null && Lr !== void 0 ? Lr : globalThis.litElementVersions = []).push("3.3.2");
|
|
549
549
|
/**
|
|
550
550
|
* @license
|
|
@@ -571,7 +571,7 @@ const uo = (r, e) => e.kind === "method" && e.descriptor && !("value" in e.descr
|
|
|
571
571
|
} }, ho = (r, e, t) => {
|
|
572
572
|
e.constructor.createProperty(t, r);
|
|
573
573
|
};
|
|
574
|
-
function
|
|
574
|
+
function Ae(r) {
|
|
575
575
|
return (e, t) => t !== void 0 ? ho(r, e, t) : uo(r, e);
|
|
576
576
|
}
|
|
577
577
|
/**
|
|
@@ -580,7 +580,7 @@ function ke(r) {
|
|
|
580
580
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
581
581
|
*/
|
|
582
582
|
function Pt(r) {
|
|
583
|
-
return
|
|
583
|
+
return Ae({ ...r, state: !0 });
|
|
584
584
|
}
|
|
585
585
|
/**
|
|
586
586
|
* @license
|
|
@@ -638,11 +638,11 @@ class yn {
|
|
|
638
638
|
*/
|
|
639
639
|
let Fr = class extends yn {
|
|
640
640
|
constructor(e) {
|
|
641
|
-
if (super(e), this.et =
|
|
641
|
+
if (super(e), this.et = ne, e.type !== et.CHILD)
|
|
642
642
|
throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
643
643
|
}
|
|
644
644
|
render(e) {
|
|
645
|
-
if (e ===
|
|
645
|
+
if (e === ne || e == null)
|
|
646
646
|
return this.ft = void 0, this.et = e;
|
|
647
647
|
if (e === De)
|
|
648
648
|
return e;
|
|
@@ -656,7 +656,7 @@ let Fr = class extends yn {
|
|
|
656
656
|
}
|
|
657
657
|
};
|
|
658
658
|
Fr.directiveName = "unsafeHTML", Fr.resultType = 1;
|
|
659
|
-
const
|
|
659
|
+
const Gi = mn(Fr);
|
|
660
660
|
/**
|
|
661
661
|
* @license
|
|
662
662
|
* Copyright 2020 Google LLC
|
|
@@ -665,7 +665,7 @@ const qi = mn(Fr);
|
|
|
665
665
|
const bn = Symbol.for(""), fo = (r) => {
|
|
666
666
|
if ((r == null ? void 0 : r.r) === bn)
|
|
667
667
|
return r == null ? void 0 : r._$litStatic$;
|
|
668
|
-
},
|
|
668
|
+
}, Yt = (r) => ({ _$litStatic$: r, r: bn }), Ki = /* @__PURE__ */ new Map(), po = (r) => (e, ...t) => {
|
|
669
669
|
const i = t.length;
|
|
670
670
|
let n, s;
|
|
671
671
|
const o = [], c = [];
|
|
@@ -682,10 +682,10 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
682
682
|
return r(e, ...t);
|
|
683
683
|
}, Rr = po(he);
|
|
684
684
|
(() => {
|
|
685
|
-
var r = Object.defineProperty, e = Math.pow, t = (l, d, y) => d in l ? r(l, d, { enumerable: !0, configurable: !0, writable: !0, value: y }) : l[d] = y, i = (l, d, y) => (t(l, typeof d != "symbol" ? d + "" : d, y), y), n = (l, d) => ` ${d && d.length > 0 ? d.map((y) => `<link rel="stylesheet" href="${y}" />`).join("") : ""} <style> ${l} </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", c = "pointers-min-distance", a = "pointers-max-distance", u = "range-dragging", g = "data", v = "min", _ = "max", E = "step", k = "round", F = "type",
|
|
686
|
-
let
|
|
687
|
-
return
|
|
688
|
-
}, ue = (l) => !isNaN(parseFloat(l)) && isFinite(l),
|
|
685
|
+
var r = Object.defineProperty, e = Math.pow, t = (l, d, y) => d in l ? r(l, d, { enumerable: !0, configurable: !0, writable: !0, value: y }) : l[d] = y, i = (l, d, y) => (t(l, typeof d != "symbol" ? d + "" : d, y), y), n = (l, d) => ` ${d && d.length > 0 ? d.map((y) => `<link rel="stylesheet" href="${y}" />`).join("") : ""} <style> ${l} </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", c = "pointers-min-distance", a = "pointers-max-distance", u = "range-dragging", g = "data", v = "min", _ = "max", E = "step", k = "round", F = "type", se = "theme", te = "rtl", f = "btt", p = "disabled", b = "keyboard-disabled", S = "mousewheel-disabled", w = "slider-width", M = "slider-height", P = "slider-radius", L = "slider-bg", I = "slider-bg-hover", W = "slider-bg-fill", ee = "pointer-width", C = "pointer-height", $ = "pointer-radius", A = "pointer-bg", N = "pointer-bg-hover", O = "pointer-bg-focus", H = "pointer-shadow", X = "pointer-shadow-hover", Z = "pointer-shadow-focus", le = "pointer-border", K = "pointer-border-hover", ve = "pointer-border-focus", Le = "animate-onclick", Te = "css-links", ye = "vertical", Se = "horizontal", je = (l, d, y, m, T) => {
|
|
686
|
+
let U = d - l;
|
|
687
|
+
return U === 0 ? y : (m - y) * (T - l) / U + y;
|
|
688
|
+
}, ue = (l) => !isNaN(parseFloat(l)) && isFinite(l), oe = (l, d) => ue(l) ? Number(l) : d, ot = (l, d) => d === 0 ? 0 : Math.round(l / d) * d, at = (l, d = 1 / 0) => {
|
|
689
689
|
if (d === 1 / 0)
|
|
690
690
|
return l;
|
|
691
691
|
let y = e(10, d);
|
|
@@ -701,24 +701,24 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
701
701
|
}, is = (l, d) => {
|
|
702
702
|
if (!d || d.length <= 0)
|
|
703
703
|
return;
|
|
704
|
-
let y = d.map((T) => ue(T) ?
|
|
704
|
+
let y = d.map((T) => ue(T) ? oe(T, T) : T), m = { values: y || [] };
|
|
705
705
|
m.value = y[0], m.value0 = y[0], m.value1 = y[0];
|
|
706
706
|
for (let T = 1; T < y.length; T++)
|
|
707
707
|
m[`value${T + 1}`] = y[T];
|
|
708
708
|
l.dispatchEvent(new CustomEvent("change", { detail: m }));
|
|
709
709
|
}, rr = (l, d, y) => {
|
|
710
|
-
let m = 0, T,
|
|
710
|
+
let m = 0, T, U, q, R, D = !1, G = (z, ce, me, ge, de, fe) => {
|
|
711
711
|
let we = m;
|
|
712
|
-
me !== void 0 && z > me && (z = me),
|
|
712
|
+
me !== void 0 && z > me && (z = me), ce !== void 0 && z < ce && (z = ce), m = z;
|
|
713
713
|
let _e = m;
|
|
714
|
-
return (ge === ye && fe || ge ===
|
|
715
|
-
}, Q = (z) => z === d || d.contains(z), B = (z,
|
|
716
|
-
T = z,
|
|
714
|
+
return (ge === ye && fe || ge === Se && de) && (_e = 100 - _e), ge === ye ? d.style.top = `${_e}%` : d.style.left = `${_e}%`, we !== m;
|
|
715
|
+
}, Q = (z) => z === d || d.contains(z), B = (z, ce, me, ge) => {
|
|
716
|
+
T = z, U = ce, q = me, R = ge;
|
|
717
717
|
}, ie = (z) => {
|
|
718
718
|
D = z, d.classList.toggle("disabled", D), D ? d.setAttribute("aria-disabled", "true") : d.hasAttribute("aria-disabled") && d.removeAttribute("aria-disabled");
|
|
719
|
-
},
|
|
720
|
-
|
|
721
|
-
}, xe = (z) => d.getAttribute(z),
|
|
719
|
+
}, Oe = (z, ce) => {
|
|
720
|
+
ce == null ? d.removeAttribute(z) : d.setAttribute(z, ce);
|
|
721
|
+
}, xe = (z) => d.getAttribute(z), Y = (z) => {
|
|
722
722
|
if (!D) {
|
|
723
723
|
switch (z.key) {
|
|
724
724
|
case "ArrowLeft": {
|
|
@@ -726,11 +726,11 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
726
726
|
break;
|
|
727
727
|
}
|
|
728
728
|
case "ArrowRight": {
|
|
729
|
-
z.preventDefault(), typeof
|
|
729
|
+
z.preventDefault(), typeof U == "function" && U(y);
|
|
730
730
|
break;
|
|
731
731
|
}
|
|
732
732
|
case "ArrowUp": {
|
|
733
|
-
z.preventDefault(), typeof
|
|
733
|
+
z.preventDefault(), typeof q == "function" && q(y);
|
|
734
734
|
break;
|
|
735
735
|
}
|
|
736
736
|
case "ArrowDown": {
|
|
@@ -743,14 +743,14 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
743
743
|
}, J = () => {
|
|
744
744
|
D || Qn(l, d);
|
|
745
745
|
};
|
|
746
|
-
return d.className = `pointer pointer-${y}`, d.addEventListener("keydown",
|
|
746
|
+
return d.className = `pointer pointer-${y}`, d.addEventListener("keydown", Y), d.addEventListener("click", J), { $pointer: d, get percent() {
|
|
747
747
|
return m;
|
|
748
748
|
}, get disabled() {
|
|
749
749
|
return D;
|
|
750
750
|
}, set disabled(z) {
|
|
751
751
|
ie(z);
|
|
752
|
-
}, updatePosition:
|
|
753
|
-
d.removeEventListener("keydown",
|
|
752
|
+
}, updatePosition: G, isClicked: Q, setCallbacks: B, setAttr: Oe, getAttr: xe, destroy: () => {
|
|
753
|
+
d.removeEventListener("keydown", Y), d.removeEventListener("click", J), d.remove();
|
|
754
754
|
} };
|
|
755
755
|
}, ns = (l) => {
|
|
756
756
|
if (l == null)
|
|
@@ -761,22 +761,22 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
761
761
|
return;
|
|
762
762
|
let d = l.split(","), y = [], m = !0;
|
|
763
763
|
for (let T = 0; T < d.length; T++) {
|
|
764
|
-
let
|
|
765
|
-
|
|
764
|
+
let U = d[T].trim();
|
|
765
|
+
U !== "" && (y.push(U), ue(U) || (m = !1));
|
|
766
766
|
}
|
|
767
767
|
return m ? y.map((T) => Number(T)) : y;
|
|
768
768
|
}, ss = (l, d) => d ? d.findIndex((y) => y === l || y.toString().trim() === l.toString().trim()) : -1, os = (l) => ({ updatePosition: (d, y, m, T) => {
|
|
769
769
|
if (y.length <= 0)
|
|
770
770
|
return;
|
|
771
|
-
let
|
|
772
|
-
d === ye ? (l.style.removeProperty("width"), l.style.removeProperty("right"), l.style.removeProperty("left"),
|
|
771
|
+
let U = y.length === 1, q = y[0], R = y[y.length - 1];
|
|
772
|
+
d === ye ? (l.style.removeProperty("width"), l.style.removeProperty("right"), l.style.removeProperty("left"), U ? l.style.height = `${q}%` : l.style.height = `${Math.abs(q - R)}%`, T ? (l.style.bottom = "0%", U ? l.style.top = "auto" : l.style.top = `${Math.min(100 - R, 100 - q)}%`) : (l.style.bottom = "auto", U ? l.style.top = "0%" : l.style.top = `${Math.min(q, R)}%`)) : (l.style.removeProperty("height"), l.style.removeProperty("top"), l.style.removeProperty("bottom"), U ? l.style.width = `${q}%` : l.style.width = `${Math.abs(q - R)}%`, m ? (l.style.right = "0%", U ? l.style.left = "auto" : l.style.left = `${Math.min(100 - R, 100 - q)}%`) : (l.style.right = "auto", U ? l.style.left = "0%" : l.style.left = `${Math.min(q, R)}%`));
|
|
773
773
|
} }), pi = "--animate-onclick", as = "--width", ls = "--height", cs = "--panel-bg-border-radius", us = "--panel-bg", hs = "--panel-bg-hover", ds = "--panel-bg-fill", fs = "--pointer-width", ps = "--pointer-height", gs = "--pointer-border-radius", vs = "--pointer-bg", ms = "--pointer-bg-hover", ys = "--pointer-bg-focus", bs = "--pointer-shadow", xs = "--pointer-shadow-hover", $s = "--pointer-shadow-focus", ws = "--pointer-border", _s = "--pointer-border-hover", Es = "--pointer-border-focus", kt = (l, d, y) => {
|
|
774
774
|
let m = /* @__PURE__ */ new Map();
|
|
775
775
|
for (let T of l.attributes) {
|
|
776
|
-
let
|
|
777
|
-
if (!d.test(
|
|
776
|
+
let U = T.nodeName.trim().toLowerCase();
|
|
777
|
+
if (!d.test(U))
|
|
778
778
|
continue;
|
|
779
|
-
let
|
|
779
|
+
let q = U.replace(/\D/g, "").trim(), R = q === "" || q === "0" || q === "1" ? 0 : oe(q, 0) - 1, D = y && typeof y == "function" ? y(T.value) : T.value;
|
|
780
780
|
m.set(R, D);
|
|
781
781
|
}
|
|
782
782
|
return m;
|
|
@@ -790,72 +790,72 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
790
790
|
for (let T of y)
|
|
791
791
|
T.trim() !== "" && m.push(T.trim());
|
|
792
792
|
return m;
|
|
793
|
-
}, gi = [[as, w, "sliderWidth", null], [ls, M, "sliderHeight", null], [cs, P, "sliderRadius", null], [us, L, "sliderBg", null], [hs, I, "sliderBgHover", null], [ds, W, "sliderBgFill", null], [fs, ee, "pointer#Width", /^pointer([0-9]*)-width$/], [ps, C, "pointer#Height", /^pointer([0-9]*)-height$/], [gs, $, "pointer#Radius", /^pointer([0-9]*)-radius$/], [vs, A, "pointer#Bg", /^pointer([0-9]*)-bg$/], [ms, N, "pointer#BgHover", /^pointer([0-9]*)-bg-hover$/], [ys, O, "pointer#BgFocus", /^pointer([0-9]*)-bg-focus$/], [bs, H, "pointer#Shadow", /^pointer([0-9]*)-shadow$/], [xs, X, "pointer#ShadowHover", /^pointer([0-9]*)-shadow-hover$/], [$s, Z, "pointer#ShadowFocus", /^pointer([0-9]*)-shadow-focus$/], [ws,
|
|
794
|
-
let m = null, T = [],
|
|
793
|
+
}, gi = [[as, w, "sliderWidth", null], [ls, M, "sliderHeight", null], [cs, P, "sliderRadius", null], [us, L, "sliderBg", null], [hs, I, "sliderBgHover", null], [ds, W, "sliderBgFill", null], [fs, ee, "pointer#Width", /^pointer([0-9]*)-width$/], [ps, C, "pointer#Height", /^pointer([0-9]*)-height$/], [gs, $, "pointer#Radius", /^pointer([0-9]*)-radius$/], [vs, A, "pointer#Bg", /^pointer([0-9]*)-bg$/], [ms, N, "pointer#BgHover", /^pointer([0-9]*)-bg-hover$/], [ys, O, "pointer#BgFocus", /^pointer([0-9]*)-bg-focus$/], [bs, H, "pointer#Shadow", /^pointer([0-9]*)-shadow$/], [xs, X, "pointer#ShadowHover", /^pointer([0-9]*)-shadow-hover$/], [$s, Z, "pointer#ShadowFocus", /^pointer([0-9]*)-shadow-focus$/], [ws, le, "pointer#Border", /^pointer([0-9]*)-border$/], [_s, K, "pointer#BorderHover", /^pointer([0-9]*)-border-hover$/], [Es, ve, "pointer#BorderFocus", /^pointer([0-9]*)-border-focus$/]], As = (l, d, y) => {
|
|
794
|
+
let m = null, T = [], U = /* @__PURE__ */ new Map(), q = (Y, J = d) => {
|
|
795
795
|
let z = [...J.classList];
|
|
796
|
-
for (let
|
|
797
|
-
|
|
796
|
+
for (let ce of z)
|
|
797
|
+
ce.startsWith(Y) && d.classList.remove(ce);
|
|
798
798
|
}, R = () => {
|
|
799
|
-
|
|
800
|
-
let
|
|
801
|
-
for (let J of
|
|
802
|
-
|
|
803
|
-
}, D = (
|
|
804
|
-
m =
|
|
805
|
-
},
|
|
799
|
+
q("shape");
|
|
800
|
+
let Y = d.querySelectorAll(".pointer");
|
|
801
|
+
for (let J of Y)
|
|
802
|
+
q("shape", J);
|
|
803
|
+
}, D = (Y) => {
|
|
804
|
+
m = Y, q("theme-"), typeof Y == "string" && d.classList.add(`theme-${Y}`);
|
|
805
|
+
}, G = () => {
|
|
806
806
|
if (R(), !(T.length <= 0)) {
|
|
807
807
|
d.classList.add("shape", `shape-${T[0]}`);
|
|
808
|
-
for (let
|
|
809
|
-
let J = T[
|
|
808
|
+
for (let Y = 1; Y < T.length; Y++) {
|
|
809
|
+
let J = T[Y];
|
|
810
810
|
if (!J)
|
|
811
811
|
continue;
|
|
812
|
-
let z = d.querySelector(`.pointer-${
|
|
812
|
+
let z = d.querySelector(`.pointer-${Y}`);
|
|
813
813
|
!z || z.classList.add("shape", `shape-${J}`);
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
|
-
}, Q = (
|
|
817
|
-
T[
|
|
816
|
+
}, Q = (Y, J) => {
|
|
817
|
+
T[Y] = J, G();
|
|
818
818
|
}, B = () => {
|
|
819
819
|
R();
|
|
820
|
-
let
|
|
821
|
-
if (!(
|
|
822
|
-
for (let J of
|
|
820
|
+
let Y = kt(l, /^pointer([0-9]*)-shape$/);
|
|
821
|
+
if (!(Y.size <= 0)) {
|
|
822
|
+
for (let J of Y) {
|
|
823
823
|
let z = J[0];
|
|
824
824
|
T[z] = J[1];
|
|
825
825
|
}
|
|
826
|
-
|
|
826
|
+
G();
|
|
827
827
|
}
|
|
828
|
-
}, ie = (
|
|
829
|
-
let
|
|
830
|
-
if (!
|
|
828
|
+
}, ie = (Y, J) => `${Y}-${J}`, Oe = (Y, J, z) => {
|
|
829
|
+
let ce = y[z];
|
|
830
|
+
if (!ce)
|
|
831
831
|
return;
|
|
832
|
-
let me = z === 0 ? d :
|
|
832
|
+
let me = z === 0 ? d : ce.$pointer;
|
|
833
833
|
if (J == null) {
|
|
834
|
-
|
|
834
|
+
U.has(ie(Y, z)) && U.delete(ie(Y, z)), me.style.removeProperty(Y);
|
|
835
835
|
return;
|
|
836
836
|
}
|
|
837
|
-
|
|
838
|
-
}, xe = (
|
|
837
|
+
U.set(ie(Y, z), J), me.style.setProperty(Y, J);
|
|
838
|
+
}, xe = (Y, J) => U.get(ie(Y, J));
|
|
839
839
|
return (() => {
|
|
840
|
-
for (let
|
|
841
|
-
let [J, z,
|
|
840
|
+
for (let Y of gi) {
|
|
841
|
+
let [J, z, ce, me] = Y;
|
|
842
842
|
if (me) {
|
|
843
843
|
let de = kt(l, me);
|
|
844
844
|
for (let fe of de) {
|
|
845
845
|
let we = fe[0], _e = fe[1];
|
|
846
|
-
|
|
846
|
+
Oe(J, _e, we);
|
|
847
847
|
}
|
|
848
848
|
} else {
|
|
849
849
|
let de = l.getAttribute(z);
|
|
850
|
-
|
|
850
|
+
Oe(J, de, 0);
|
|
851
851
|
}
|
|
852
852
|
let ge = [];
|
|
853
|
-
if (
|
|
854
|
-
ge.push([
|
|
853
|
+
if (ce.indexOf("#") === -1)
|
|
854
|
+
ge.push([ce, 0]);
|
|
855
855
|
else {
|
|
856
|
-
ge.push([
|
|
856
|
+
ge.push([ce.replace("#", ""), 0]), ge.push([ce.replace("#", "0"), 0]), ge.push([ce.replace("#", "1"), 0]);
|
|
857
857
|
for (let de = 1; de < y.length; de++)
|
|
858
|
-
ge.push([
|
|
858
|
+
ge.push([ce.replace("#", (de + 1).toString()), de]);
|
|
859
859
|
}
|
|
860
860
|
for (let de of ge)
|
|
861
861
|
try {
|
|
@@ -863,25 +863,25 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
863
863
|
Object.prototype.hasOwnProperty.call(l, fe) || Object.defineProperty(l, fe, { get() {
|
|
864
864
|
return xe(J, we);
|
|
865
865
|
}, set: (_e) => {
|
|
866
|
-
|
|
866
|
+
Oe(J, _e, we);
|
|
867
867
|
} });
|
|
868
868
|
} catch (fe) {
|
|
869
869
|
console.error(fe);
|
|
870
870
|
}
|
|
871
871
|
}
|
|
872
|
-
D(l.getAttribute(
|
|
873
|
-
})(), { setStyle:
|
|
872
|
+
D(l.getAttribute(se)), B();
|
|
873
|
+
})(), { setStyle: Oe, getStyle: xe, get theme() {
|
|
874
874
|
return m;
|
|
875
|
-
}, set theme(
|
|
876
|
-
D(
|
|
875
|
+
}, set theme(Y) {
|
|
876
|
+
D(Y);
|
|
877
877
|
}, get pointerShapes() {
|
|
878
878
|
return T;
|
|
879
879
|
}, setPointerShape: Q };
|
|
880
880
|
}, lt = "animate-on-click", vi = "range-dragging", Ss = (l, d, y, m) => {
|
|
881
|
-
let T = [],
|
|
881
|
+
let T = [], U = (Q) => {
|
|
882
882
|
for (let B of T)
|
|
883
883
|
B.update && typeof B.update == "function" && B.update(Q);
|
|
884
|
-
},
|
|
884
|
+
}, q = () => {
|
|
885
885
|
for (let Q of T)
|
|
886
886
|
Q.destroy && typeof Q.destroy == "function" && Q.destroy();
|
|
887
887
|
}, R = (Q, B) => {
|
|
@@ -897,7 +897,7 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
897
897
|
console.error("defineSettersGetters error:", ie);
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
|
-
},
|
|
900
|
+
}, G = (Q) => {
|
|
901
901
|
var B;
|
|
902
902
|
if (!Q.css)
|
|
903
903
|
return;
|
|
@@ -908,27 +908,27 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
908
908
|
if (window.tcRangeSliderPlugins)
|
|
909
909
|
for (let Q of window.tcRangeSliderPlugins) {
|
|
910
910
|
let B = Q();
|
|
911
|
-
T.push(B), B.init && typeof B.init == "function" && (B.init(l, d, y, m), D(B),
|
|
911
|
+
T.push(B), B.init && typeof B.init == "function" && (B.init(l, d, y, m), D(B), G(B));
|
|
912
912
|
}
|
|
913
|
-
}, update:
|
|
913
|
+
}, update: U, onAttrChange: R, destroy: q };
|
|
914
914
|
}, Os = 10, Ps = (l, d) => {
|
|
915
915
|
let y = /* @__PURE__ */ new Map(), m = /^value([0-9]*)$/;
|
|
916
916
|
for (let R of l.attributes) {
|
|
917
917
|
let D = R.nodeName.trim().toLowerCase();
|
|
918
918
|
if (!m.test(D))
|
|
919
919
|
continue;
|
|
920
|
-
let
|
|
920
|
+
let G = D.replace("value", "").trim(), Q = G === "" || G === "0" || G === "1" ? 0 : oe(G, 0) - 1, B = ue(R.value) ? oe(R.value, 0) : R.value;
|
|
921
921
|
y.set(Q, B);
|
|
922
922
|
}
|
|
923
|
-
let T = Math.max(...Array.from(y.keys())),
|
|
924
|
-
|
|
925
|
-
let
|
|
923
|
+
let T = Math.max(...Array.from(y.keys())), U = [];
|
|
924
|
+
U.push([rr(l, d, 0), y.get(0)]);
|
|
925
|
+
let q = d;
|
|
926
926
|
for (let R = 1; R <= T; R++) {
|
|
927
927
|
let D = d.cloneNode(!0);
|
|
928
|
-
|
|
928
|
+
q.after(D), q = D, U.push([rr(l, D, R), y.get(R)]);
|
|
929
929
|
}
|
|
930
|
-
return
|
|
931
|
-
}, mi = (l, d, y, m, T,
|
|
930
|
+
return U;
|
|
931
|
+
}, mi = (l, d, y, m, T, U, q) => {
|
|
932
932
|
try {
|
|
933
933
|
Object.defineProperty(l, m, { configurable: !0, get() {
|
|
934
934
|
if (!d)
|
|
@@ -937,7 +937,7 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
937
937
|
if (!R)
|
|
938
938
|
return;
|
|
939
939
|
let D = d.getTextValue(R.percent);
|
|
940
|
-
return ue(D) ?
|
|
940
|
+
return ue(D) ? oe(D, D) : D;
|
|
941
941
|
}, set: (R) => {
|
|
942
942
|
d.pointers[y] ? d == null || d.setValue(R, y) : d == null || d.addPointer(R);
|
|
943
943
|
} }), Object.defineProperty(l, T, { configurable: !0, get() {
|
|
@@ -945,12 +945,12 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
945
945
|
return (D = (R = d == null ? void 0 : d.pointers[y]) == null ? void 0 : R.getAttr("aria-label")) != null ? D : void 0;
|
|
946
946
|
}, set: (R) => {
|
|
947
947
|
!d || d.setAriaLabel(y, R);
|
|
948
|
-
} }), Object.defineProperty(l,
|
|
948
|
+
} }), Object.defineProperty(l, U, { configurable: !0, get() {
|
|
949
949
|
var R, D;
|
|
950
950
|
return (D = (R = d == null ? void 0 : d.styles) == null ? void 0 : R.pointerShapes[y]) != null ? D : null;
|
|
951
951
|
}, set: (R) => {
|
|
952
952
|
!d || !d.styles || d.styles.setPointerShape(y, R);
|
|
953
|
-
} }), Object.defineProperty(l,
|
|
953
|
+
} }), Object.defineProperty(l, q, { configurable: !0, get() {
|
|
954
954
|
var R;
|
|
955
955
|
return (R = d == null ? void 0 : d.pointers[y].disabled) != null ? R : !1;
|
|
956
956
|
}, set: (R) => {
|
|
@@ -972,54 +972,54 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
972
972
|
var m;
|
|
973
973
|
let T = (m = y.shadowRoot) == null ? void 0 : m.querySelector(".container");
|
|
974
974
|
if (T)
|
|
975
|
-
for (let
|
|
976
|
-
d ? T.prepend(
|
|
975
|
+
for (let U of l)
|
|
976
|
+
d ? T.prepend(U.$pointer) : T.append(U.$pointer);
|
|
977
977
|
}, ir = 0, $t = 100, ct = 2, bi = "0.3s", ks = (l, d, y) => {
|
|
978
|
-
let m = y.map((h) => h[0]), T = null,
|
|
978
|
+
let m = y.map((h) => h[0]), T = null, U = null, q = null, R = null, D = ir, G = $t, Q, B, ie = Se, Oe = ct, xe = !1, Y = !1, J = !1, z = 0, ce = 1 / 0, me = !1, ge, de, fe = !1, we = !1, _e = !1, Ve = bi, xi = [], $i = (h) => {
|
|
979
979
|
fe || (h.preventDefault && h.preventDefault(), Je(h), window.addEventListener("mousemove", Je), window.addEventListener("mouseup", Lt), es(l, h));
|
|
980
980
|
}, Lt = (h) => {
|
|
981
|
-
fe || (ge = void 0, de = void 0, window.removeEventListener("mousemove", Je), window.removeEventListener("mouseup", Lt),
|
|
981
|
+
fe || (ge = void 0, de = void 0, window.removeEventListener("mousemove", Je), window.removeEventListener("mouseup", Lt), Ve && d.classList.add(lt), ts(l, h));
|
|
982
982
|
}, Rs = (h, x) => {
|
|
983
983
|
if (m.length <= 0)
|
|
984
984
|
return;
|
|
985
985
|
if (m.length === 1)
|
|
986
|
-
return m[0].isClicked(h) &&
|
|
986
|
+
return m[0].isClicked(h) && Ve && d.classList.remove(lt), m[0];
|
|
987
987
|
let j = Is(h);
|
|
988
988
|
if (me) {
|
|
989
989
|
let re = x, Re = Rt(re);
|
|
990
|
-
Re !== void 0 && (re = ot(re, Re)), j ? (ge = re, de = 0,
|
|
990
|
+
Re !== void 0 && (re = ot(re, Re)), j ? (ge = re, de = 0, Ve && d.classList.remove(lt)) : ge !== void 0 && (de = re - ge, ge = re);
|
|
991
991
|
}
|
|
992
992
|
if (!Ds(h) && !j) {
|
|
993
993
|
for (let re of m)
|
|
994
994
|
if (!(!re.isClicked(h) || re.disabled))
|
|
995
|
-
return
|
|
995
|
+
return Ve && d.classList.remove(lt), re;
|
|
996
996
|
for (let re of m)
|
|
997
997
|
if (T === re)
|
|
998
998
|
return re;
|
|
999
999
|
}
|
|
1000
|
-
let
|
|
1000
|
+
let ae = 1 / 0, pe = null;
|
|
1001
1001
|
for (let re of m) {
|
|
1002
1002
|
if (re.disabled)
|
|
1003
1003
|
continue;
|
|
1004
1004
|
let Re = Math.abs(x - re.percent);
|
|
1005
|
-
Re <
|
|
1005
|
+
Re < ae && (ae = Re, pe = re);
|
|
1006
1006
|
}
|
|
1007
1007
|
return pe;
|
|
1008
1008
|
}, wi = () => m.findIndex((h) => T === h && !h.disabled), Je = (h) => {
|
|
1009
1009
|
let x;
|
|
1010
1010
|
if (ie === ye) {
|
|
1011
|
-
let { height:
|
|
1012
|
-
x = Math.min(Math.max(0, re - pe),
|
|
1011
|
+
let { height: ae, top: pe } = d.getBoundingClientRect(), re = h.type.indexOf("mouse") !== -1 ? h.clientY : h.touches[0].clientY;
|
|
1012
|
+
x = Math.min(Math.max(0, re - pe), ae) * 100 / ae;
|
|
1013
1013
|
} else {
|
|
1014
|
-
let { width:
|
|
1015
|
-
x = Math.min(Math.max(0, re - pe),
|
|
1014
|
+
let { width: ae, left: pe } = d.getBoundingClientRect(), re = h.type.indexOf("mouse") !== -1 ? h.clientX : h.touches[0].clientX;
|
|
1015
|
+
x = Math.min(Math.max(0, re - pe), ae) * 100 / ae;
|
|
1016
1016
|
}
|
|
1017
|
-
if ((xe ||
|
|
1018
|
-
let
|
|
1017
|
+
if ((xe || Y) && (x = 100 - x), T = Rs(h.target, x), me && m.length > 1 && de !== void 0) {
|
|
1018
|
+
let ae = m[0], pe = m[m.length - 1], re = ae.percent + de < 0, Re = pe.percent + de > 100;
|
|
1019
1019
|
if (re || Re)
|
|
1020
1020
|
return;
|
|
1021
|
-
for (let
|
|
1022
|
-
Ee(
|
|
1021
|
+
for (let Ut = 0; Ut < m.length; Ut++)
|
|
1022
|
+
Ee(Ut, m[Ut].percent + de);
|
|
1023
1023
|
return;
|
|
1024
1024
|
}
|
|
1025
1025
|
let j = wi();
|
|
@@ -1028,16 +1028,16 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
1028
1028
|
if (fe || document.activeElement !== l || T != null && T.disabled)
|
|
1029
1029
|
return;
|
|
1030
1030
|
h.stopPropagation(), h.preventDefault();
|
|
1031
|
-
let x = h.deltaY < 0, j = xe ||
|
|
1032
|
-
pe !== -1 && (
|
|
1031
|
+
let x = h.deltaY < 0, j = xe || Y, ae = x ? !j : j, pe = wi();
|
|
1032
|
+
pe !== -1 && (ae ? wt(pe, m[pe].percent) : _t(pe, m[pe].percent));
|
|
1033
1033
|
}, _i = (h) => {
|
|
1034
|
-
fe || we || (ie === ye ?
|
|
1034
|
+
fe || we || (ie === ye ? Y ? Ee(h, 100) : Ee(h, 0) : xe ? _t(h, m[h].percent) : wt(h, m[h].percent));
|
|
1035
1035
|
}, Ei = (h) => {
|
|
1036
|
-
fe || we || (ie === ye ?
|
|
1036
|
+
fe || we || (ie === ye ? Y ? Ee(h, 0) : Ee(h, 100) : xe ? wt(h, m[h].percent) : _t(h, m[h].percent));
|
|
1037
1037
|
}, Mi = (h) => {
|
|
1038
|
-
fe || we || (ie === ye ?
|
|
1038
|
+
fe || we || (ie === ye ? Y ? _t(h, m[h].percent) : wt(h, m[h].percent) : xe ? Ee(h, 100) : Ee(h, 0));
|
|
1039
1039
|
}, Ai = (h) => {
|
|
1040
|
-
fe || we || (ie === ye ?
|
|
1040
|
+
fe || we || (ie === ye ? Y ? wt(h, m[h].percent) : _t(h, m[h].percent) : xe ? Ee(h, 0) : Ee(h, 100));
|
|
1041
1041
|
}, Ds = (h) => h.classList.contains("panel"), Is = (h) => h.classList.contains("panel-fill"), wt = (h, x) => {
|
|
1042
1042
|
if (x === void 0)
|
|
1043
1043
|
return;
|
|
@@ -1053,55 +1053,55 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
1053
1053
|
}, js = () => {
|
|
1054
1054
|
Ze();
|
|
1055
1055
|
}, Ns = (h) => {
|
|
1056
|
-
if (!(J || m.length <= 1 ||
|
|
1056
|
+
if (!(J || m.length <= 1 || G === D))
|
|
1057
1057
|
if (h === 0) {
|
|
1058
|
-
let x =
|
|
1058
|
+
let x = ce * 100 / (G - D);
|
|
1059
1059
|
return Math.max(0, m[h + 1].percent - x);
|
|
1060
1060
|
} else {
|
|
1061
|
-
let x = z * 100 / (
|
|
1061
|
+
let x = z * 100 / (G - D);
|
|
1062
1062
|
return Math.min(m[h - 1].percent + x, 100);
|
|
1063
1063
|
}
|
|
1064
1064
|
}, Bs = (h) => {
|
|
1065
|
-
if (!(J || m.length <= 1 ||
|
|
1065
|
+
if (!(J || m.length <= 1 || G === D))
|
|
1066
1066
|
if (h === m.length - 1) {
|
|
1067
|
-
let x =
|
|
1067
|
+
let x = ce * 100 / (G - D);
|
|
1068
1068
|
return Math.min(m[h - 1].percent + x, 100);
|
|
1069
1069
|
} else {
|
|
1070
|
-
let x = z * 100 / (
|
|
1070
|
+
let x = z * 100 / (G - D);
|
|
1071
1071
|
return Math.max(0, m[h + 1].percent - x);
|
|
1072
1072
|
}
|
|
1073
1073
|
}, Rt = (h) => {
|
|
1074
1074
|
let x;
|
|
1075
1075
|
if (typeof Q == "function") {
|
|
1076
|
-
let j = je(0, 100, D,
|
|
1076
|
+
let j = je(0, 100, D, G, h);
|
|
1077
1077
|
x = Q(j, h);
|
|
1078
1078
|
} else
|
|
1079
1079
|
x = Q;
|
|
1080
1080
|
if (ue(x)) {
|
|
1081
|
-
let j =
|
|
1081
|
+
let j = G - D;
|
|
1082
1082
|
return x = j === 0 ? 0 : x * 100 / j, x;
|
|
1083
1083
|
}
|
|
1084
1084
|
}, ut = (h) => {
|
|
1085
1085
|
if (h === void 0)
|
|
1086
1086
|
return;
|
|
1087
|
-
let x = je(0, 100, D,
|
|
1088
|
-
return B !== void 0 ? B[Math.round(x)] : at(x,
|
|
1089
|
-
}, Dt = () => B !== void 0 ? B[D] : D, It = () => B !== void 0 ? B[
|
|
1087
|
+
let x = je(0, 100, D, G, h);
|
|
1088
|
+
return B !== void 0 ? B[Math.round(x)] : at(x, Oe);
|
|
1089
|
+
}, Dt = () => B !== void 0 ? B[D] : D, It = () => B !== void 0 ? B[G] : G, sr = () => Q, Fs = (h) => {
|
|
1090
1090
|
var x;
|
|
1091
1091
|
return h <= 0 || J ? Dt() : (x = ut(m[h - 1].percent)) != null ? x : "";
|
|
1092
1092
|
}, Hs = (h) => {
|
|
1093
1093
|
var x;
|
|
1094
1094
|
return m.length <= 1 || h >= m.length - 1 || J ? It() : (x = ut(m[h + 1].percent)) != null ? x : "";
|
|
1095
|
-
}, Si = () => m.map((h) => h.percent), Oi = () => m.map((h) => ut(h.percent)), Pi = () => m.map((h) => h.$pointer), Ci = () => D, ki = () =>
|
|
1095
|
+
}, Si = () => m.map((h) => h.percent), Oi = () => m.map((h) => ut(h.percent)), Pi = () => m.map((h) => h.$pointer), Ci = () => D, ki = () => G, or = () => B, ar = () => ie, lr = () => Oe, cr = () => z, ur = () => ce, Us = (h) => xi[h], hr = () => xe, dr = () => Y, fr = () => fe, pr = () => we, gr = () => _e, vr = () => J, mr = () => me, Ee = (h, x) => {
|
|
1096
1096
|
if (x === void 0)
|
|
1097
1097
|
return;
|
|
1098
1098
|
let j = Rt(x);
|
|
1099
1099
|
j !== void 0 && (x = ot(x, j));
|
|
1100
|
-
let
|
|
1101
|
-
if (!
|
|
1100
|
+
let ae = m[h];
|
|
1101
|
+
if (!ae)
|
|
1102
1102
|
return;
|
|
1103
|
-
let pe =
|
|
1104
|
-
|
|
1103
|
+
let pe = ae.updatePosition(x, Ns(h), Bs(h), ie, xe, Y);
|
|
1104
|
+
U == null || U.updatePosition(ie, m.map((re) => re.percent), xe, Y), Ze();
|
|
1105
1105
|
for (let re of m) {
|
|
1106
1106
|
let Re = ut(re.percent);
|
|
1107
1107
|
Re !== void 0 && (re.setAttr("aria-valuenow", Re.toString()), re.setAttr("aria-valuetext", Re.toString()));
|
|
@@ -1110,18 +1110,18 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
1110
1110
|
}, Ne = () => {
|
|
1111
1111
|
for (let h = 0; h < m.length; h++)
|
|
1112
1112
|
Ee(h, m[h].percent);
|
|
1113
|
-
},
|
|
1114
|
-
D = B !== void 0 ? 0 :
|
|
1113
|
+
}, Ys = (h, x) => {
|
|
1114
|
+
D = B !== void 0 ? 0 : oe(h, ir), G = B !== void 0 ? B.length - 1 : oe(x, $t), jt(D), Nt(G);
|
|
1115
1115
|
}, zs = () => {
|
|
1116
1116
|
var h, x;
|
|
1117
1117
|
for (let j = 0; j < m.length; j++) {
|
|
1118
|
-
let
|
|
1119
|
-
|
|
1118
|
+
let ae = m[j];
|
|
1119
|
+
ae.setAttr("aria-valuemin", ((h = Fs(j)) != null ? h : "").toString()), ae.setAttr("aria-valuemax", ((x = Hs(j)) != null ? x : "").toString());
|
|
1120
1120
|
}
|
|
1121
1121
|
}, jt = (h) => {
|
|
1122
|
-
D =
|
|
1122
|
+
D = oe(h, ir), D > G && (G = D + $t), Ne();
|
|
1123
1123
|
}, Nt = (h) => {
|
|
1124
|
-
|
|
1124
|
+
G = oe(h, $t), G < D && (G = D + $t), Ne();
|
|
1125
1125
|
}, Li = (h) => {
|
|
1126
1126
|
J = !0;
|
|
1127
1127
|
for (let x = 0; x < h.length; x++)
|
|
@@ -1131,9 +1131,9 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
1131
1131
|
Bt(h[x], x);
|
|
1132
1132
|
}, Bt = (h, x) => {
|
|
1133
1133
|
let j;
|
|
1134
|
-
B !== void 0 ? (j = h == null ? 0 : ss(h, B), j === -1 && (j = 0)) : (j =
|
|
1135
|
-
let
|
|
1136
|
-
Ee(x,
|
|
1134
|
+
B !== void 0 ? (j = h == null ? 0 : ss(h, B), j === -1 && (j = 0)) : (j = oe(h, D), j < D && (j = D), j > G && (j = G));
|
|
1135
|
+
let ae = je(D, G, 0, 100, j);
|
|
1136
|
+
Ee(x, ae);
|
|
1137
1137
|
}, Ft = (h) => {
|
|
1138
1138
|
if (h == null) {
|
|
1139
1139
|
Q = void 0;
|
|
@@ -1144,8 +1144,8 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
1144
1144
|
return;
|
|
1145
1145
|
}
|
|
1146
1146
|
if (ue(h)) {
|
|
1147
|
-
Q =
|
|
1148
|
-
let x = Math.abs(
|
|
1147
|
+
Q = oe(h, 1);
|
|
1148
|
+
let x = Math.abs(G - D);
|
|
1149
1149
|
Q > x && (Q = void 0), Ne();
|
|
1150
1150
|
return;
|
|
1151
1151
|
}
|
|
@@ -1155,7 +1155,7 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
1155
1155
|
}, br = (h) => {
|
|
1156
1156
|
(!ue(h) || h < 0) && (h = 0), z = h;
|
|
1157
1157
|
}, xr = (h) => {
|
|
1158
|
-
(!ue(h) || h < 0) && (h = 1 / 0),
|
|
1158
|
+
(!ue(h) || h < 0) && (h = 1 / 0), ce = h;
|
|
1159
1159
|
}, $r = (h) => {
|
|
1160
1160
|
fe = h, d.classList.toggle("disabled", fe), fe ? d.setAttribute("aria-disabled", "true") : d.hasAttribute("aria-disabled") && d.removeAttribute("aria-disabled");
|
|
1161
1161
|
}, Ti = (h) => {
|
|
@@ -1174,22 +1174,22 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
1174
1174
|
jt(0), Nt(B.length - 1), Q === void 0 && Ft(1);
|
|
1175
1175
|
}, _r = (h) => {
|
|
1176
1176
|
var x;
|
|
1177
|
-
typeof h == "string" ? ie = h.trim().toLowerCase() === ye ? ye :
|
|
1177
|
+
typeof h == "string" ? ie = h.trim().toLowerCase() === ye ? ye : Se : ie = Se;
|
|
1178
1178
|
let j = (x = l.shadowRoot) == null ? void 0 : x.querySelector(".range-slider-box");
|
|
1179
1179
|
if (!j)
|
|
1180
1180
|
return;
|
|
1181
1181
|
j.className = `range-slider-box type-${ie}`, Ne();
|
|
1182
|
-
let
|
|
1182
|
+
let ae = ie === ye ? "vertical" : "horizontal";
|
|
1183
1183
|
for (let pe of m)
|
|
1184
|
-
pe.setAttr("aria-orientation",
|
|
1184
|
+
pe.setAttr("aria-orientation", ae);
|
|
1185
1185
|
}, Er = (h) => {
|
|
1186
1186
|
xe = h, m.length > 1 && yi(m, xe, l), Ne(), Ze();
|
|
1187
1187
|
}, Mr = (h) => {
|
|
1188
|
-
|
|
1188
|
+
Y = h, m.length > 1 && yi(m, Y, l), Ne(), Ze();
|
|
1189
1189
|
}, Ar = (h) => {
|
|
1190
|
-
|
|
1190
|
+
Oe = oe(h, ct), Oe < 0 && (Oe = ct), Ze();
|
|
1191
1191
|
}, Di = (h) => {
|
|
1192
|
-
h == null || h.toString().trim().toLowerCase() === "false" ? (
|
|
1192
|
+
h == null || h.toString().trim().toLowerCase() === "false" ? (Ve = void 0, d.style.removeProperty(pi), d.classList.remove(lt)) : (Ve = h.toString(), d.style.setProperty(pi, Ve), d.classList.add(lt));
|
|
1193
1193
|
}, Ii = (h, x) => {
|
|
1194
1194
|
let j = m[h];
|
|
1195
1195
|
!j || (j.setAttr("aria-label", x), xi[h] = x);
|
|
@@ -1213,24 +1213,24 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
1213
1213
|
Ii(j, x[1]);
|
|
1214
1214
|
}
|
|
1215
1215
|
}, Ws = (h) => {
|
|
1216
|
-
let x = m.length, j = m[x - 1].$pointer,
|
|
1217
|
-
j.after(
|
|
1218
|
-
let pe = rr(l,
|
|
1216
|
+
let x = m.length, j = m[x - 1].$pointer, ae = j.cloneNode(!0);
|
|
1217
|
+
j.after(ae);
|
|
1218
|
+
let pe = rr(l, ae, x);
|
|
1219
1219
|
return pe.setCallbacks(_i, Ei, Mi, Ai), m.push(pe), Bt(h, x), Ne(), Ze(), x;
|
|
1220
|
-
},
|
|
1220
|
+
}, qs = () => {
|
|
1221
1221
|
let h = m.length, x = m[h - 1];
|
|
1222
1222
|
return x ? (x.destroy(), m.pop(), m.length <= 1 && Ht(!1), Ne(), Ze(), h - 1) : -1;
|
|
1223
1223
|
};
|
|
1224
1224
|
return (() => {
|
|
1225
1225
|
var h, x;
|
|
1226
|
-
for (let
|
|
1227
|
-
|
|
1226
|
+
for (let ae of m)
|
|
1227
|
+
ae.setCallbacks(_i, Ei, Mi, Ai);
|
|
1228
1228
|
let j = (h = l.shadowRoot) == null ? void 0 : h.querySelector(".panel-fill");
|
|
1229
|
-
j && (
|
|
1229
|
+
j && (U = os(j)), _r(l.getAttribute(F)), Er(be(l.getAttribute(te))), Mr(be(l.getAttribute(f))), Ys(l.getAttribute(v), l.getAttribute(_)), Ft(l.getAttribute(E)), wr(l.getAttribute(g)), Li(y.map((ae) => ae[1])), yr(be(l.getAttribute(o))), br(oe(l.getAttribute(c), 0)), xr(oe(l.getAttribute(a), 1 / 0)), Ht(be(l.getAttribute(u))), Ar(oe(l.getAttribute(k), ct)), Xs(), Vs(), q = As(l, d, m), Di((x = l.getAttribute(Le)) != null ? x : bi), d.addEventListener("mousedown", $i), d.addEventListener("mouseup", Lt), d.addEventListener("touchmove", Je), d.addEventListener("touchstart", Je), _e || document.addEventListener("wheel", Tt, { passive: !1 }), R = Ss(l, js, { setValues: Li, setMin: jt, setMax: Nt, setStep: Ft, setPointersOverlap: yr, setPointersMinDistance: br, setPointersMaxDistance: xr, setDisabled: $r, setType: _r, setRightToLeft: Er, setBottomToTop: Mr, setRound: Ar, setKeyboardDisabled: Ti, setMousewheelDisabled: Ri, setRangeDragging: Ht, setData: wr }, { getPercents: Si, getValues: Oi, getPointerElements: Pi, getMin: Ci, getMax: ki, getStep: sr, getData: or, getType: ar, getRound: lr, getTextMin: Dt, getTextMax: It, isRightToLeft: hr, isBottomToTop: dr, isDisabled: fr, isKeyboardDisabled: pr, isMousewheelDisabled: gr, isPointersOverlap: vr, isRangeDraggingEnabled: mr, getPointersMinDistance: cr, getPointersMaxDistance: ur }), R.init();
|
|
1230
1230
|
})(), { get pointers() {
|
|
1231
1231
|
return m;
|
|
1232
1232
|
}, get styles() {
|
|
1233
|
-
return
|
|
1233
|
+
return q;
|
|
1234
1234
|
}, get pluginsManager() {
|
|
1235
1235
|
return R;
|
|
1236
1236
|
}, get min() {
|
|
@@ -1274,7 +1274,7 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
1274
1274
|
}, set round(h) {
|
|
1275
1275
|
Ar(h);
|
|
1276
1276
|
}, get animateOnClick() {
|
|
1277
|
-
return
|
|
1277
|
+
return Ve;
|
|
1278
1278
|
}, set animateOnClick(h) {
|
|
1279
1279
|
Di(h);
|
|
1280
1280
|
}, get keyboardDisabled() {
|
|
@@ -1289,16 +1289,16 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
1289
1289
|
return mr();
|
|
1290
1290
|
}, set rangeDragging(h) {
|
|
1291
1291
|
Ht(h);
|
|
1292
|
-
}, setMin: jt, setMax: Nt, setValue: Bt, setStep: Ft, setData: wr, getTextValue: ut, setAriaLabel: Ii, getAriaLabel:
|
|
1292
|
+
}, setMin: jt, setMax: Nt, setValue: Bt, setStep: Ft, setData: wr, getTextValue: ut, setAriaLabel: Ii, getAriaLabel: Us, addPointer: Ws, removePointer: qs, destroy: () => {
|
|
1293
1293
|
d.removeEventListener("mousedown", $i), d.removeEventListener("mouseup", Lt), d.removeEventListener("touchmove", Je), d.removeEventListener("touchstart", Je), document.removeEventListener("wheel", Tt);
|
|
1294
1294
|
for (let h of m)
|
|
1295
1295
|
h.destroy();
|
|
1296
1296
|
R == null || R.destroy();
|
|
1297
1297
|
} };
|
|
1298
1298
|
}, Ls = (l, d, y) => {
|
|
1299
|
-
let m = gi.find(([R, D,
|
|
1299
|
+
let m = gi.find(([R, D, G, Q]) => D.replace("#", "") === d.replace(/\d+/g, ""));
|
|
1300
1300
|
if (m && l.styles) {
|
|
1301
|
-
let [R, D,
|
|
1301
|
+
let [R, D, G, Q] = m, B = d.replace(/\D/g, "").trim(), ie = B === "" || B === "0" || B === "1" ? 0 : oe(B, 0) - 1;
|
|
1302
1302
|
l.styles.setStyle(R, y, ie);
|
|
1303
1303
|
return;
|
|
1304
1304
|
}
|
|
@@ -1320,7 +1320,7 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
1320
1320
|
break;
|
|
1321
1321
|
}
|
|
1322
1322
|
case c: {
|
|
1323
|
-
l.pointersMinDistance =
|
|
1323
|
+
l.pointersMinDistance = oe(y, 0);
|
|
1324
1324
|
break;
|
|
1325
1325
|
}
|
|
1326
1326
|
case u: {
|
|
@@ -1328,7 +1328,7 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
1328
1328
|
break;
|
|
1329
1329
|
}
|
|
1330
1330
|
case a: {
|
|
1331
|
-
l.pointersMaxDistance =
|
|
1331
|
+
l.pointersMaxDistance = oe(y, 1 / 0);
|
|
1332
1332
|
break;
|
|
1333
1333
|
}
|
|
1334
1334
|
case p: {
|
|
@@ -1360,10 +1360,10 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
1360
1360
|
break;
|
|
1361
1361
|
}
|
|
1362
1362
|
case k: {
|
|
1363
|
-
l.round =
|
|
1363
|
+
l.round = oe(y, ct);
|
|
1364
1364
|
break;
|
|
1365
1365
|
}
|
|
1366
|
-
case
|
|
1366
|
+
case se: {
|
|
1367
1367
|
l.styles && (l.styles.theme = y);
|
|
1368
1368
|
break;
|
|
1369
1369
|
}
|
|
@@ -1375,25 +1375,25 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
1375
1375
|
let T = null;
|
|
1376
1376
|
if (/^value([0-9]*)$/.test(d) && (T = "value"), /^pointer([0-9]*)-disabled$/.test(d) && (T = "pointer-disabled"), /^aria-label([0-9]*)$/.test(d) && (T = "aria-label"), /^pointer([0-9]*)-shape$/.test(d) && (T = "pointer-shape"), !T)
|
|
1377
1377
|
return;
|
|
1378
|
-
let
|
|
1378
|
+
let U = d.replace(/\D/g, "").trim(), q = U === "" || U === "0" || U === "1" ? 0 : oe(U, 0) - 1;
|
|
1379
1379
|
switch (T) {
|
|
1380
1380
|
case "value": {
|
|
1381
|
-
l.setValue(y,
|
|
1381
|
+
l.setValue(y, q);
|
|
1382
1382
|
break;
|
|
1383
1383
|
}
|
|
1384
1384
|
case "pointer-disabled": {
|
|
1385
|
-
let R = l == null ? void 0 : l.pointers[
|
|
1385
|
+
let R = l == null ? void 0 : l.pointers[q];
|
|
1386
1386
|
if (!R)
|
|
1387
1387
|
return;
|
|
1388
1388
|
R.disabled = be(y);
|
|
1389
1389
|
break;
|
|
1390
1390
|
}
|
|
1391
1391
|
case "aria-label": {
|
|
1392
|
-
l.setAriaLabel(
|
|
1392
|
+
l.setAriaLabel(q, y);
|
|
1393
1393
|
break;
|
|
1394
1394
|
}
|
|
1395
1395
|
case "pointer-shape": {
|
|
1396
|
-
l.styles && l.styles.setPointerShape(
|
|
1396
|
+
l.styles && l.styles.setPointerShape(q, y);
|
|
1397
1397
|
break;
|
|
1398
1398
|
}
|
|
1399
1399
|
}
|
|
@@ -1447,11 +1447,11 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
1447
1447
|
return (d = (l = this.slider) == null ? void 0 : l.round) != null ? d : ct;
|
|
1448
1448
|
}
|
|
1449
1449
|
set type(l) {
|
|
1450
|
-
!this.slider || (this.slider.type = l ??
|
|
1450
|
+
!this.slider || (this.slider.type = l ?? Se);
|
|
1451
1451
|
}
|
|
1452
1452
|
get type() {
|
|
1453
1453
|
var l;
|
|
1454
|
-
return ((l = this.slider) == null ? void 0 : l.type) ||
|
|
1454
|
+
return ((l = this.slider) == null ? void 0 : l.type) || Se;
|
|
1455
1455
|
}
|
|
1456
1456
|
set pointersOverlap(l) {
|
|
1457
1457
|
!this.slider || (this.slider.pointersOverlap = l);
|
|
@@ -1555,12 +1555,12 @@ const bn = Symbol.for(""), fo = (r) => {
|
|
|
1555
1555
|
if (!m)
|
|
1556
1556
|
return;
|
|
1557
1557
|
let T = Ps(this, y);
|
|
1558
|
-
this.slider = ks(this, m, T), Cs(this, this.slider), this._observer = new MutationObserver((
|
|
1559
|
-
|
|
1558
|
+
this.slider = ks(this, m, T), Cs(this, this.slider), this._observer = new MutationObserver((U) => {
|
|
1559
|
+
U.forEach((q) => {
|
|
1560
1560
|
var R;
|
|
1561
|
-
if (!this.slider ||
|
|
1561
|
+
if (!this.slider || q.type !== "attributes")
|
|
1562
1562
|
return;
|
|
1563
|
-
let D =
|
|
1563
|
+
let D = q.attributeName;
|
|
1564
1564
|
!D || Ls(this.slider, D, (R = this.getAttribute(D)) != null ? R : "");
|
|
1565
1565
|
});
|
|
1566
1566
|
}), this._observer.observe(this, { attributes: !0 });
|
|
@@ -1608,7 +1608,7 @@ var xn = { exports: {} };
|
|
|
1608
1608
|
(function(t, i) {
|
|
1609
1609
|
r.exports = i();
|
|
1610
1610
|
})(pt, function() {
|
|
1611
|
-
var t = 1e3, i = 6e4, n = 36e5, s = "millisecond", o = "second", c = "minute", a = "hour", u = "day", g = "week", v = "month", _ = "quarter", E = "year", k = "date", F = "Invalid Date",
|
|
1611
|
+
var t = 1e3, i = 6e4, n = 36e5, s = "millisecond", o = "second", c = "minute", a = "hour", u = "day", g = "week", v = "month", _ = "quarter", E = "year", k = "date", F = "Invalid Date", se = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, te = /\[([^\]]+)]|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, f = { 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(C) {
|
|
1612
1612
|
var $ = ["th", "st", "nd", "rd"], A = C % 100;
|
|
1613
1613
|
return "[" + C + ($[(A - 20) % 10] || $[A] || $[0]) + "]";
|
|
1614
1614
|
} }, p = function(C, $, A) {
|
|
@@ -1671,10 +1671,10 @@ var xn = { exports: {} };
|
|
|
1671
1671
|
if (O instanceof Date)
|
|
1672
1672
|
return new Date(O);
|
|
1673
1673
|
if (typeof O == "string" && !/Z$/i.test(O)) {
|
|
1674
|
-
var X = O.match(
|
|
1674
|
+
var X = O.match(se);
|
|
1675
1675
|
if (X) {
|
|
1676
|
-
var Z = X[2] - 1 || 0,
|
|
1677
|
-
return H ? new Date(Date.UTC(X[1], Z, X[3] || 1, X[4] || 0, X[5] || 0, X[6] || 0,
|
|
1676
|
+
var Z = X[2] - 1 || 0, le = (X[7] || "0").substring(0, 3);
|
|
1677
|
+
return H ? new Date(Date.UTC(X[1], Z, X[3] || 1, X[4] || 0, X[5] || 0, X[6] || 0, le)) : new Date(X[1], Z, X[3] || 1, X[4] || 0, X[5] || 0, X[6] || 0, le);
|
|
1678
1678
|
}
|
|
1679
1679
|
}
|
|
1680
1680
|
return new Date(O);
|
|
@@ -1701,9 +1701,9 @@ var xn = { exports: {} };
|
|
|
1701
1701
|
return this.$d.getTime();
|
|
1702
1702
|
}, $.startOf = function(A, N) {
|
|
1703
1703
|
var O = this, H = !!I.u(N) || N, X = I.p(A), Z = function(je, ue) {
|
|
1704
|
-
var
|
|
1705
|
-
return H ?
|
|
1706
|
-
},
|
|
1704
|
+
var oe = I.w(O.$u ? Date.UTC(O.$y, ue, je) : new Date(O.$y, ue, je), O);
|
|
1705
|
+
return H ? oe : oe.endOf(u);
|
|
1706
|
+
}, le = function(je, ue) {
|
|
1707
1707
|
return I.w(O.toDate()[je].apply(O.toDate("s"), (H ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ue)), O);
|
|
1708
1708
|
}, K = this.$W, ve = this.$M, Le = this.$D, Te = "set" + (this.$u ? "UTC" : "");
|
|
1709
1709
|
switch (X) {
|
|
@@ -1712,29 +1712,29 @@ var xn = { exports: {} };
|
|
|
1712
1712
|
case v:
|
|
1713
1713
|
return H ? Z(1, ve) : Z(0, ve + 1);
|
|
1714
1714
|
case g:
|
|
1715
|
-
var ye = this.$locale().weekStart || 0,
|
|
1716
|
-
return Z(H ? Le -
|
|
1715
|
+
var ye = this.$locale().weekStart || 0, Se = (K < ye ? K + 7 : K) - ye;
|
|
1716
|
+
return Z(H ? Le - Se : Le + (6 - Se), ve);
|
|
1717
1717
|
case u:
|
|
1718
1718
|
case k:
|
|
1719
|
-
return
|
|
1719
|
+
return le(Te + "Hours", 0);
|
|
1720
1720
|
case a:
|
|
1721
|
-
return
|
|
1721
|
+
return le(Te + "Minutes", 1);
|
|
1722
1722
|
case c:
|
|
1723
|
-
return
|
|
1723
|
+
return le(Te + "Seconds", 2);
|
|
1724
1724
|
case o:
|
|
1725
|
-
return
|
|
1725
|
+
return le(Te + "Milliseconds", 3);
|
|
1726
1726
|
default:
|
|
1727
1727
|
return this.clone();
|
|
1728
1728
|
}
|
|
1729
1729
|
}, $.endOf = function(A) {
|
|
1730
1730
|
return this.startOf(A, !1);
|
|
1731
1731
|
}, $.$set = function(A, N) {
|
|
1732
|
-
var O, H = I.p(A), X = "set" + (this.$u ? "UTC" : ""), Z = (O = {}, O[u] = X + "Date", O[k] = X + "Date", O[v] = X + "Month", O[E] = X + "FullYear", O[a] = X + "Hours", O[c] = X + "Minutes", O[o] = X + "Seconds", O[s] = X + "Milliseconds", O)[H],
|
|
1732
|
+
var O, H = I.p(A), X = "set" + (this.$u ? "UTC" : ""), Z = (O = {}, O[u] = X + "Date", O[k] = X + "Date", O[v] = X + "Month", O[E] = X + "FullYear", O[a] = X + "Hours", O[c] = X + "Minutes", O[o] = X + "Seconds", O[s] = X + "Milliseconds", O)[H], le = H === u ? this.$D + (N - this.$W) : N;
|
|
1733
1733
|
if (H === v || H === E) {
|
|
1734
1734
|
var K = this.clone().set(k, 1);
|
|
1735
|
-
K.$d[Z](
|
|
1735
|
+
K.$d[Z](le), K.init(), this.$d = K.set(k, Math.min(this.$D, K.daysInMonth())).$d;
|
|
1736
1736
|
} else
|
|
1737
|
-
Z && this.$d[Z](
|
|
1737
|
+
Z && this.$d[Z](le);
|
|
1738
1738
|
return this.init(), this;
|
|
1739
1739
|
}, $.set = function(A, N) {
|
|
1740
1740
|
return this.clone().$set(A, N);
|
|
@@ -1755,7 +1755,7 @@ var xn = { exports: {} };
|
|
|
1755
1755
|
return Z(1);
|
|
1756
1756
|
if (X === g)
|
|
1757
1757
|
return Z(7);
|
|
1758
|
-
var
|
|
1758
|
+
var le = (O = {}, O[c] = i, O[a] = n, O[o] = t, O)[X] || 1, K = this.$d.getTime() + A * le;
|
|
1759
1759
|
return I.w(K, this);
|
|
1760
1760
|
}, $.subtract = function(A, N) {
|
|
1761
1761
|
return this.add(-1 * A, N);
|
|
@@ -1763,22 +1763,22 @@ var xn = { exports: {} };
|
|
|
1763
1763
|
var N = this, O = this.$locale();
|
|
1764
1764
|
if (!this.isValid())
|
|
1765
1765
|
return O.invalidDate || F;
|
|
1766
|
-
var H = A || "YYYY-MM-DDTHH:mm:ssZ", X = I.z(this), Z = this.$H,
|
|
1767
|
-
return ue && (ue[
|
|
1766
|
+
var H = A || "YYYY-MM-DDTHH:mm:ssZ", X = I.z(this), Z = this.$H, le = this.$m, K = this.$M, ve = O.weekdays, Le = O.months, Te = function(ue, oe, ot, at) {
|
|
1767
|
+
return ue && (ue[oe] || ue(N, H)) || ot[oe].slice(0, at);
|
|
1768
1768
|
}, ye = function(ue) {
|
|
1769
1769
|
return I.s(Z % 12 || 12, ue, "0");
|
|
1770
|
-
},
|
|
1770
|
+
}, Se = O.meridiem || function(ue, oe, ot) {
|
|
1771
1771
|
var at = ue < 12 ? "AM" : "PM";
|
|
1772
1772
|
return ot ? at.toLowerCase() : at;
|
|
1773
|
-
}, je = { YY: String(this.$y).slice(-2), YYYY: I.s(this.$y, 4, "0"), M: K + 1, MM: I.s(K + 1, 2, "0"), MMM: Te(O.monthsShort, K, Le, 3), MMMM: Te(Le, K), D: this.$D, DD: I.s(this.$D, 2, "0"), d: String(this.$W), dd: Te(O.weekdaysMin, this.$W, ve, 2), ddd: Te(O.weekdaysShort, this.$W, ve, 3), dddd: ve[this.$W], H: String(Z), HH: I.s(Z, 2, "0"), h: ye(1), hh: ye(2), a:
|
|
1774
|
-
return H.replace(te, function(ue,
|
|
1775
|
-
return
|
|
1773
|
+
}, je = { YY: String(this.$y).slice(-2), YYYY: I.s(this.$y, 4, "0"), M: K + 1, MM: I.s(K + 1, 2, "0"), MMM: Te(O.monthsShort, K, Le, 3), MMMM: Te(Le, K), D: this.$D, DD: I.s(this.$D, 2, "0"), d: String(this.$W), dd: Te(O.weekdaysMin, this.$W, ve, 2), ddd: Te(O.weekdaysShort, this.$W, ve, 3), dddd: ve[this.$W], H: String(Z), HH: I.s(Z, 2, "0"), h: ye(1), hh: ye(2), a: Se(Z, le, !0), A: Se(Z, le, !1), m: String(le), mm: I.s(le, 2, "0"), s: String(this.$s), ss: I.s(this.$s, 2, "0"), SSS: I.s(this.$ms, 3, "0"), Z: X };
|
|
1774
|
+
return H.replace(te, function(ue, oe) {
|
|
1775
|
+
return oe || je[ue] || X.replace(":", "");
|
|
1776
1776
|
});
|
|
1777
1777
|
}, $.utcOffset = function() {
|
|
1778
1778
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1779
1779
|
}, $.diff = function(A, N, O) {
|
|
1780
|
-
var H, X = I.p(N), Z = L(A),
|
|
1781
|
-
return ve = (H = {}, H[E] = ve / 12, H[v] = ve, H[_] = ve / 3, H[g] = (K -
|
|
1780
|
+
var H, X = I.p(N), Z = L(A), le = (Z.utcOffset() - this.utcOffset()) * i, K = this - Z, ve = I.m(this, Z);
|
|
1781
|
+
return ve = (H = {}, H[E] = ve / 12, H[v] = ve, H[_] = ve / 3, H[g] = (K - le) / 6048e5, H[u] = (K - le) / 864e5, H[a] = K / n, H[c] = K / i, H[o] = K / t, H)[X] || K, O ? ve : I.a(ve);
|
|
1782
1782
|
}, $.daysInMonth = function() {
|
|
1783
1783
|
return this.endOf(v).$D;
|
|
1784
1784
|
}, $.$locale = function() {
|
|
@@ -1812,8 +1812,8 @@ var xn = { exports: {} };
|
|
|
1812
1812
|
});
|
|
1813
1813
|
})(xn);
|
|
1814
1814
|
var go = xn.exports;
|
|
1815
|
-
const
|
|
1816
|
-
class vo extends
|
|
1815
|
+
const qt = /* @__PURE__ */ ri(go);
|
|
1816
|
+
class vo extends Pe {
|
|
1817
1817
|
constructor() {
|
|
1818
1818
|
super(...arguments), this.templates = {}, this._renderedTemplates = {};
|
|
1819
1819
|
}
|
|
@@ -2243,18 +2243,15 @@ section:not(section:last-of-type) {
|
|
|
2243
2243
|
display: flex;
|
|
2244
2244
|
flex-direction: column;
|
|
2245
2245
|
}
|
|
2246
|
-
#container-results {
|
|
2247
|
-
margin-right: -1rem;
|
|
2248
|
-
}
|
|
2249
|
-
ul#results {
|
|
2250
|
-
padding-right: 1rem;
|
|
2251
|
-
}
|
|
2252
2246
|
ul li {
|
|
2253
2247
|
padding-left: 0;
|
|
2254
2248
|
}
|
|
2255
|
-
eox-itemfilter-expandcontainer ul,
|
|
2256
|
-
details ul {
|
|
2257
|
-
padding: 0.
|
|
2249
|
+
eox-itemfilter-expandcontainer ul li,
|
|
2250
|
+
details ul li {
|
|
2251
|
+
padding: 0.2rem;
|
|
2252
|
+
}
|
|
2253
|
+
li.highlighted {
|
|
2254
|
+
background: #00417011;
|
|
2258
2255
|
}
|
|
2259
2256
|
section {
|
|
2260
2257
|
position: relative;
|
|
@@ -2309,7 +2306,7 @@ var $o = Object.defineProperty, wo = Object.getOwnPropertyDescriptor, ni = (r, e
|
|
|
2309
2306
|
(o = r[s]) && (n = (i ? o(e, t, n) : o(n)) || n);
|
|
2310
2307
|
return i && n && $o(e, t, n), n;
|
|
2311
2308
|
};
|
|
2312
|
-
let
|
|
2309
|
+
let Gt = class extends Pe {
|
|
2313
2310
|
render() {
|
|
2314
2311
|
return he`
|
|
2315
2312
|
<style>
|
|
@@ -2320,7 +2317,7 @@ let qt = class extends Oe {
|
|
|
2320
2317
|
class="details-filter"
|
|
2321
2318
|
part="details-filter"
|
|
2322
2319
|
data-filter="${this.filterObject.key}"
|
|
2323
|
-
open=${this.filterObject.expanded ||
|
|
2320
|
+
open=${this.filterObject.expanded || ne}
|
|
2324
2321
|
>
|
|
2325
2322
|
<summary>
|
|
2326
2323
|
<span
|
|
@@ -2338,20 +2335,20 @@ let qt = class extends Oe {
|
|
|
2338
2335
|
}
|
|
2339
2336
|
};
|
|
2340
2337
|
ni([
|
|
2341
|
-
|
|
2342
|
-
],
|
|
2338
|
+
Ae({ attribute: !1 })
|
|
2339
|
+
], Gt.prototype, "filterObject", 2);
|
|
2343
2340
|
ni([
|
|
2344
|
-
|
|
2345
|
-
],
|
|
2346
|
-
|
|
2341
|
+
Ae()
|
|
2342
|
+
], Gt.prototype, "unstyled", 2);
|
|
2343
|
+
Gt = ni([
|
|
2347
2344
|
Ge("eox-itemfilter-expandcontainer")
|
|
2348
|
-
],
|
|
2345
|
+
], Gt);
|
|
2349
2346
|
var _o = Object.defineProperty, Eo = Object.getOwnPropertyDescriptor, _n = (r, e, t, i) => {
|
|
2350
2347
|
for (var n = i > 1 ? void 0 : i ? Eo(e, t) : e, s = r.length - 1, o; s >= 0; s--)
|
|
2351
2348
|
(o = r[s]) && (n = (i ? o(e, t, n) : o(n)) || n);
|
|
2352
2349
|
return i && n && _o(e, t, n), n;
|
|
2353
2350
|
};
|
|
2354
|
-
let Hr = class extends
|
|
2351
|
+
let Hr = class extends Pe {
|
|
2355
2352
|
reset() {
|
|
2356
2353
|
this.renderRoot.querySelectorAll("input[type='checkbox']").forEach((r) => {
|
|
2357
2354
|
r instanceof HTMLInputElement && (r.checked = !1);
|
|
@@ -2372,14 +2369,17 @@ let Hr = class extends Oe {
|
|
|
2372
2369
|
(r, e) => r.localeCompare(e)
|
|
2373
2370
|
),
|
|
2374
2371
|
(r) => he`
|
|
2375
|
-
<li>
|
|
2372
|
+
<li class=${this.filterObject.state[r] ? "highlighted" : ne}>
|
|
2376
2373
|
<label>
|
|
2377
2374
|
<input
|
|
2375
|
+
data-cy="multiselect-checkbox"
|
|
2378
2376
|
name="selection"
|
|
2379
2377
|
type="checkbox"
|
|
2380
|
-
|
|
2378
|
+
class="multiselect-checkbox"
|
|
2379
|
+
id=${r}
|
|
2380
|
+
checked="${this.filterObject.state[r] || ne}"
|
|
2381
2381
|
@click=${() => {
|
|
2382
|
-
this.filterObject.state[r] = !this.filterObject.state[r], this.filterObject.dirty = !0, this.dispatchEvent(new CustomEvent("filter"));
|
|
2382
|
+
this.filterObject.state[r] = !this.filterObject.state[r], this.filterObject.dirty = !0, this.dispatchEvent(new CustomEvent("filter")), this.requestUpdate();
|
|
2383
2383
|
}}
|
|
2384
2384
|
/>
|
|
2385
2385
|
<span class="title">${r}</span>
|
|
@@ -2392,7 +2392,7 @@ let Hr = class extends Oe {
|
|
|
2392
2392
|
}
|
|
2393
2393
|
};
|
|
2394
2394
|
_n([
|
|
2395
|
-
|
|
2395
|
+
Ae()
|
|
2396
2396
|
], Hr.prototype, "filterObject", 2);
|
|
2397
2397
|
Hr = _n([
|
|
2398
2398
|
Ge("eox-itemfilter-multiselect")
|
|
@@ -2404,7 +2404,7 @@ function Bo(r, e, t) {
|
|
|
2404
2404
|
var i, n, s, o, c, a, u = 0, g = !1, v = !1, _ = !0;
|
|
2405
2405
|
if (typeof r != "function")
|
|
2406
2406
|
throw new TypeError(Mo);
|
|
2407
|
-
e = Zi(e) || 0,
|
|
2407
|
+
e = Zi(e) || 0, Ur(t) && (g = !!t.leading, v = "maxWait" in t, s = v ? jo(Zi(t.maxWait) || 0, e) : s, _ = "trailing" in t ? !!t.trailing : _);
|
|
2408
2408
|
function E(w) {
|
|
2409
2409
|
var M = i, P = n;
|
|
2410
2410
|
return i = n = void 0, u = w, o = r.apply(P, M), o;
|
|
@@ -2416,13 +2416,13 @@ function Bo(r, e, t) {
|
|
|
2416
2416
|
var M = w - a, P = w - u, L = e - M;
|
|
2417
2417
|
return v ? No(L, s - P) : L;
|
|
2418
2418
|
}
|
|
2419
|
-
function
|
|
2419
|
+
function se(w) {
|
|
2420
2420
|
var M = w - a, P = w - u;
|
|
2421
2421
|
return a === void 0 || M >= e || M < 0 || v && P >= s;
|
|
2422
2422
|
}
|
|
2423
2423
|
function te() {
|
|
2424
2424
|
var w = Dr();
|
|
2425
|
-
if (
|
|
2425
|
+
if (se(w))
|
|
2426
2426
|
return f(w);
|
|
2427
2427
|
c = setTimeout(te, F(w));
|
|
2428
2428
|
}
|
|
@@ -2436,7 +2436,7 @@ function Bo(r, e, t) {
|
|
|
2436
2436
|
return c === void 0 ? o : f(Dr());
|
|
2437
2437
|
}
|
|
2438
2438
|
function S() {
|
|
2439
|
-
var w = Dr(), M =
|
|
2439
|
+
var w = Dr(), M = se(w);
|
|
2440
2440
|
if (i = arguments, n = this, a = w, M) {
|
|
2441
2441
|
if (c === void 0)
|
|
2442
2442
|
return k(a);
|
|
@@ -2447,7 +2447,7 @@ function Bo(r, e, t) {
|
|
|
2447
2447
|
}
|
|
2448
2448
|
return S.cancel = p, S.flush = b, S;
|
|
2449
2449
|
}
|
|
2450
|
-
function
|
|
2450
|
+
function Ur(r) {
|
|
2451
2451
|
var e = typeof r;
|
|
2452
2452
|
return !!r && (e == "object" || e == "function");
|
|
2453
2453
|
}
|
|
@@ -2462,9 +2462,9 @@ function Zi(r) {
|
|
|
2462
2462
|
return r;
|
|
2463
2463
|
if (Ho(r))
|
|
2464
2464
|
return Ji;
|
|
2465
|
-
if (
|
|
2465
|
+
if (Ur(r)) {
|
|
2466
2466
|
var e = typeof r.valueOf == "function" ? r.valueOf() : r;
|
|
2467
|
-
r =
|
|
2467
|
+
r = Ur(e) ? e + "" : e;
|
|
2468
2468
|
}
|
|
2469
2469
|
if (typeof r != "string")
|
|
2470
2470
|
return r === 0 ? r : +r;
|
|
@@ -2472,14 +2472,14 @@ function Zi(r) {
|
|
|
2472
2472
|
var t = Po.test(r);
|
|
2473
2473
|
return t || Co.test(r) ? ko(r.slice(2), t ? 2 : 8) : Oo.test(r) ? Ji : +r;
|
|
2474
2474
|
}
|
|
2475
|
-
var
|
|
2476
|
-
const En = /* @__PURE__ */ ri(
|
|
2477
|
-
var
|
|
2475
|
+
var Uo = Bo;
|
|
2476
|
+
const En = /* @__PURE__ */ ri(Uo);
|
|
2477
|
+
var Yo = Object.defineProperty, zo = Object.getOwnPropertyDescriptor, Mn = (r, e, t, i) => {
|
|
2478
2478
|
for (var n = i > 1 ? void 0 : i ? zo(e, t) : e, s = r.length - 1, o; s >= 0; s--)
|
|
2479
2479
|
(o = r[s]) && (n = (i ? o(e, t, n) : o(n)) || n);
|
|
2480
|
-
return i && n &&
|
|
2480
|
+
return i && n && Yo(e, t, n), n;
|
|
2481
2481
|
};
|
|
2482
|
-
let
|
|
2482
|
+
let Yr = class extends Pe {
|
|
2483
2483
|
constructor() {
|
|
2484
2484
|
super(...arguments), this.inputHandler = (r) => {
|
|
2485
2485
|
let e, t;
|
|
@@ -2498,7 +2498,7 @@ let Ur = class extends Oe {
|
|
|
2498
2498
|
render() {
|
|
2499
2499
|
return he`
|
|
2500
2500
|
<div class="range-before">
|
|
2501
|
-
${this.filterObject.format === "date" ?
|
|
2501
|
+
${this.filterObject.format === "date" ? qt.unix(this.filterObject.state.min) : this.filterObject.state.min}
|
|
2502
2502
|
</div>
|
|
2503
2503
|
<tc-range-slider
|
|
2504
2504
|
min="${this.filterObject.min}"
|
|
@@ -2509,23 +2509,23 @@ let Ur = class extends Oe {
|
|
|
2509
2509
|
@change="${this.debouncedInputHandler}"
|
|
2510
2510
|
></tc-range-slider>
|
|
2511
2511
|
<div class="range-after">
|
|
2512
|
-
${this.filterObject.format === "date" ?
|
|
2512
|
+
${this.filterObject.format === "date" ? qt.unix(this.filterObject.state.max) : this.filterObject.state.max}
|
|
2513
2513
|
</div>
|
|
2514
2514
|
`;
|
|
2515
2515
|
}
|
|
2516
2516
|
};
|
|
2517
2517
|
Mn([
|
|
2518
|
-
|
|
2519
|
-
],
|
|
2520
|
-
|
|
2518
|
+
Ae()
|
|
2519
|
+
], Yr.prototype, "filterObject", 2);
|
|
2520
|
+
Yr = Mn([
|
|
2521
2521
|
Ge("eox-itemfilter-range")
|
|
2522
|
-
],
|
|
2522
|
+
], Yr);
|
|
2523
2523
|
var Xo = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor, An = (r, e, t, i) => {
|
|
2524
2524
|
for (var n = i > 1 ? void 0 : i ? Vo(e, t) : e, s = r.length - 1, o; s >= 0; s--)
|
|
2525
2525
|
(o = r[s]) && (n = (i ? o(e, t, n) : o(n)) || n);
|
|
2526
2526
|
return i && n && Xo(e, t, n), n;
|
|
2527
2527
|
};
|
|
2528
|
-
let zr = class extends
|
|
2528
|
+
let zr = class extends Pe {
|
|
2529
2529
|
reset() {
|
|
2530
2530
|
this.renderRoot.querySelectorAll("input[type='radio']").forEach((r) => {
|
|
2531
2531
|
r instanceof HTMLInputElement && (r.checked = !1);
|
|
@@ -2546,16 +2546,18 @@ let zr = class extends Oe {
|
|
|
2546
2546
|
(r, e) => r.localeCompare(e)
|
|
2547
2547
|
),
|
|
2548
2548
|
(r) => he`
|
|
2549
|
-
<li>
|
|
2549
|
+
<li class=${this.filterObject.state[r] ? "highlighted" : ne}>
|
|
2550
2550
|
<label>
|
|
2551
2551
|
<input
|
|
2552
2552
|
name="selection"
|
|
2553
2553
|
type="radio"
|
|
2554
|
-
|
|
2554
|
+
class="select-radio"
|
|
2555
|
+
id=${r}
|
|
2556
|
+
checked="${this.filterObject.state[r] || ne}"
|
|
2555
2557
|
@click=${() => {
|
|
2556
2558
|
for (const e in this.filterObject.state)
|
|
2557
2559
|
this.filterObject.state[e] = e === r;
|
|
2558
|
-
this.filterObject.dirty = !0, this.dispatchEvent(new CustomEvent("filter"));
|
|
2560
|
+
this.filterObject.dirty = !0, this.dispatchEvent(new CustomEvent("filter")), this.requestUpdate();
|
|
2559
2561
|
}}
|
|
2560
2562
|
/>
|
|
2561
2563
|
<span class="title">${r}</span>
|
|
@@ -2568,7 +2570,7 @@ let zr = class extends Oe {
|
|
|
2568
2570
|
}
|
|
2569
2571
|
};
|
|
2570
2572
|
An([
|
|
2571
|
-
|
|
2573
|
+
Ae()
|
|
2572
2574
|
], zr.prototype, "filterObject", 2);
|
|
2573
2575
|
zr = An([
|
|
2574
2576
|
Ge("eox-itemfilter-select")
|
|
@@ -2578,7 +2580,7 @@ zr = An([
|
|
|
2578
2580
|
* Copyright 2020 Google LLC
|
|
2579
2581
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2580
2582
|
*/
|
|
2581
|
-
const Wo = (r) => r.strings === void 0,
|
|
2583
|
+
const Wo = (r) => r.strings === void 0, qo = {}, Go = (r, e = qo) => r._$AH = e;
|
|
2582
2584
|
/**
|
|
2583
2585
|
* @license
|
|
2584
2586
|
* Copyright 2020 Google LLC
|
|
@@ -2595,7 +2597,7 @@ const Ko = mn(class extends yn {
|
|
|
2595
2597
|
return r;
|
|
2596
2598
|
}
|
|
2597
2599
|
update(r, [e]) {
|
|
2598
|
-
if (e === De || e ===
|
|
2600
|
+
if (e === De || e === ne)
|
|
2599
2601
|
return e;
|
|
2600
2602
|
const t = r.element, i = r.name;
|
|
2601
2603
|
if (r.type === et.PROPERTY) {
|
|
@@ -2606,7 +2608,7 @@ const Ko = mn(class extends yn {
|
|
|
2606
2608
|
return De;
|
|
2607
2609
|
} else if (r.type === et.ATTRIBUTE && t.getAttribute(i) === e + "")
|
|
2608
2610
|
return De;
|
|
2609
|
-
return
|
|
2611
|
+
return Go(r), e;
|
|
2610
2612
|
}
|
|
2611
2613
|
});
|
|
2612
2614
|
var $e = 63710088e-1, si = {
|
|
@@ -2657,7 +2659,7 @@ var $e = 63710088e-1, si = {
|
|
|
2657
2659
|
millimetres: 1e6,
|
|
2658
2660
|
yards: 1.195990046
|
|
2659
2661
|
};
|
|
2660
|
-
function
|
|
2662
|
+
function ke(r, e, t) {
|
|
2661
2663
|
t === void 0 && (t = {});
|
|
2662
2664
|
var i = { type: "Feature" };
|
|
2663
2665
|
return (t.id === 0 || t.id) && (i.id = t.id), t.bbox && (i.bbox = t.bbox), i.properties = e || {}, i.geometry = r, i;
|
|
@@ -2693,10 +2695,10 @@ function Fe(r, e, t) {
|
|
|
2693
2695
|
type: "Point",
|
|
2694
2696
|
coordinates: r
|
|
2695
2697
|
};
|
|
2696
|
-
return
|
|
2698
|
+
return ke(i, e, t);
|
|
2697
2699
|
}
|
|
2698
2700
|
function Qo(r, e, t) {
|
|
2699
|
-
return t === void 0 && (t = {}),
|
|
2701
|
+
return t === void 0 && (t = {}), qe(r.map(function(i) {
|
|
2700
2702
|
return Fe(i, e);
|
|
2701
2703
|
}), t);
|
|
2702
2704
|
}
|
|
@@ -2714,10 +2716,10 @@ function oi(r, e, t) {
|
|
|
2714
2716
|
type: "Polygon",
|
|
2715
2717
|
coordinates: r
|
|
2716
2718
|
};
|
|
2717
|
-
return
|
|
2719
|
+
return ke(c, e, t);
|
|
2718
2720
|
}
|
|
2719
2721
|
function ea(r, e, t) {
|
|
2720
|
-
return t === void 0 && (t = {}),
|
|
2722
|
+
return t === void 0 && (t = {}), qe(r.map(function(i) {
|
|
2721
2723
|
return oi(i, e);
|
|
2722
2724
|
}), t);
|
|
2723
2725
|
}
|
|
@@ -2728,14 +2730,14 @@ function Ie(r, e, t) {
|
|
|
2728
2730
|
type: "LineString",
|
|
2729
2731
|
coordinates: r
|
|
2730
2732
|
};
|
|
2731
|
-
return
|
|
2733
|
+
return ke(i, e, t);
|
|
2732
2734
|
}
|
|
2733
2735
|
function ta(r, e, t) {
|
|
2734
|
-
return t === void 0 && (t = {}),
|
|
2736
|
+
return t === void 0 && (t = {}), qe(r.map(function(i) {
|
|
2735
2737
|
return Ie(i, e);
|
|
2736
2738
|
}), t);
|
|
2737
2739
|
}
|
|
2738
|
-
function
|
|
2740
|
+
function qe(r, e) {
|
|
2739
2741
|
e === void 0 && (e = {});
|
|
2740
2742
|
var t = { type: "FeatureCollection" };
|
|
2741
2743
|
return e.id && (t.id = e.id), e.bbox && (t.bbox = e.bbox), t.features = r, t;
|
|
@@ -2746,7 +2748,7 @@ function ai(r, e, t) {
|
|
|
2746
2748
|
type: "MultiLineString",
|
|
2747
2749
|
coordinates: r
|
|
2748
2750
|
};
|
|
2749
|
-
return
|
|
2751
|
+
return ke(i, e, t);
|
|
2750
2752
|
}
|
|
2751
2753
|
function Sn(r, e, t) {
|
|
2752
2754
|
t === void 0 && (t = {});
|
|
@@ -2754,7 +2756,7 @@ function Sn(r, e, t) {
|
|
|
2754
2756
|
type: "MultiPoint",
|
|
2755
2757
|
coordinates: r
|
|
2756
2758
|
};
|
|
2757
|
-
return
|
|
2759
|
+
return ke(i, e, t);
|
|
2758
2760
|
}
|
|
2759
2761
|
function On(r, e, t) {
|
|
2760
2762
|
t === void 0 && (t = {});
|
|
@@ -2762,7 +2764,7 @@ function On(r, e, t) {
|
|
|
2762
2764
|
type: "MultiPolygon",
|
|
2763
2765
|
coordinates: r
|
|
2764
2766
|
};
|
|
2765
|
-
return
|
|
2767
|
+
return ke(i, e, t);
|
|
2766
2768
|
}
|
|
2767
2769
|
function ra(r, e, t) {
|
|
2768
2770
|
t === void 0 && (t = {});
|
|
@@ -2770,7 +2772,7 @@ function ra(r, e, t) {
|
|
|
2770
2772
|
type: "GeometryCollection",
|
|
2771
2773
|
geometries: r
|
|
2772
2774
|
};
|
|
2773
|
-
return
|
|
2775
|
+
return ke(i, e, t);
|
|
2774
2776
|
}
|
|
2775
2777
|
function ia(r, e) {
|
|
2776
2778
|
if (e === void 0 && (e = 0), e && !(e >= 0))
|
|
@@ -2856,8 +2858,8 @@ const ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2856
2858
|
degreesToRadians: oa,
|
|
2857
2859
|
earthRadius: $e,
|
|
2858
2860
|
factors: si,
|
|
2859
|
-
feature:
|
|
2860
|
-
featureCollection:
|
|
2861
|
+
feature: ke,
|
|
2862
|
+
featureCollection: qe,
|
|
2861
2863
|
geometry: Zo,
|
|
2862
2864
|
geometryCollection: ra,
|
|
2863
2865
|
isNumber: Kt,
|
|
@@ -2906,7 +2908,7 @@ function mt(r) {
|
|
|
2906
2908
|
function yt(r) {
|
|
2907
2909
|
return r.type === "Feature" ? r.geometry : r;
|
|
2908
2910
|
}
|
|
2909
|
-
function
|
|
2911
|
+
function Ce(r, e, t) {
|
|
2910
2912
|
if (t === void 0 && (t = {}), !r)
|
|
2911
2913
|
throw new Error("point is required");
|
|
2912
2914
|
if (!e)
|
|
@@ -2940,7 +2942,7 @@ function da(r, e) {
|
|
|
2940
2942
|
}
|
|
2941
2943
|
function bt(r, e, t) {
|
|
2942
2944
|
if (r !== null)
|
|
2943
|
-
for (var i, n, s, o, c, a, u, g = 0, v = 0, _, E = r.type, k = E === "FeatureCollection", F = E === "Feature",
|
|
2945
|
+
for (var i, n, s, o, c, a, u, g = 0, v = 0, _, E = r.type, k = E === "FeatureCollection", F = E === "Feature", se = k ? r.features.length : 1, te = 0; te < se; te++) {
|
|
2944
2946
|
u = k ? r.features[te].geometry : F ? r.geometry : r, _ = u ? u.type === "GeometryCollection" : !1, c = _ ? u.geometries.length : 1;
|
|
2945
2947
|
for (var f = 0; f < c; f++) {
|
|
2946
2948
|
var p = 0, b = 0;
|
|
@@ -3155,7 +3157,7 @@ function Ye(r, e) {
|
|
|
3155
3157
|
case "LineString":
|
|
3156
3158
|
case "Polygon":
|
|
3157
3159
|
return e(
|
|
3158
|
-
|
|
3160
|
+
ke(t, n, { bbox: s, id: o }),
|
|
3159
3161
|
i,
|
|
3160
3162
|
0
|
|
3161
3163
|
) === !1 ? !1 : void 0;
|
|
@@ -3177,7 +3179,7 @@ function Ye(r, e) {
|
|
|
3177
3179
|
type: a,
|
|
3178
3180
|
coordinates: g
|
|
3179
3181
|
};
|
|
3180
|
-
if (e(
|
|
3182
|
+
if (e(ke(v, n), i, u) === !1)
|
|
3181
3183
|
return !1;
|
|
3182
3184
|
}
|
|
3183
3185
|
});
|
|
@@ -3210,12 +3212,12 @@ function Tn(r, e) {
|
|
|
3210
3212
|
c = v, a = i, u = k, g = F, s = 0;
|
|
3211
3213
|
return;
|
|
3212
3214
|
}
|
|
3213
|
-
var
|
|
3215
|
+
var se = Ie(
|
|
3214
3216
|
[c, v],
|
|
3215
3217
|
t.properties
|
|
3216
3218
|
);
|
|
3217
3219
|
if (e(
|
|
3218
|
-
|
|
3220
|
+
se,
|
|
3219
3221
|
i,
|
|
3220
3222
|
n,
|
|
3221
3223
|
F,
|
|
@@ -3424,7 +3426,7 @@ function en(r) {
|
|
|
3424
3426
|
var e = [];
|
|
3425
3427
|
return Ye(r, function(t) {
|
|
3426
3428
|
Ea(t, e);
|
|
3427
|
-
}),
|
|
3429
|
+
}), qe(e);
|
|
3428
3430
|
}
|
|
3429
3431
|
function Ea(r, e) {
|
|
3430
3432
|
var t = [], i = r.geometry;
|
|
@@ -3467,10 +3469,10 @@ var hi = { exports: {} }, Dn = { exports: {} };
|
|
|
3467
3469
|
var C = W - I + 1, $ = L - I + 1, A = Math.log(C), N = 0.5 * Math.exp(2 * A / 3), O = 0.5 * Math.sqrt(A * N * (C - N) / C) * ($ - C / 2 < 0 ? -1 : 1), H = Math.max(I, Math.floor(L - $ * N / C + O)), X = Math.min(W, Math.floor(L + (C - $) * N / C + O));
|
|
3468
3470
|
M(P, L, H, X, ee);
|
|
3469
3471
|
}
|
|
3470
|
-
var Z = P[L],
|
|
3471
|
-
for (i(P, I, L), ee(P[W], Z) > 0 && i(P, I, W);
|
|
3472
|
-
for (i(P,
|
|
3473
|
-
|
|
3472
|
+
var Z = P[L], le = I, K = W;
|
|
3473
|
+
for (i(P, I, L), ee(P[W], Z) > 0 && i(P, I, W); le < K; ) {
|
|
3474
|
+
for (i(P, le, K), le++, K--; ee(P[le], Z) < 0; )
|
|
3475
|
+
le++;
|
|
3474
3476
|
for (; ee(P[K], Z) > 0; )
|
|
3475
3477
|
K--;
|
|
3476
3478
|
}
|
|
@@ -3500,7 +3502,7 @@ var hi = { exports: {} }, Dn = { exports: {} };
|
|
|
3500
3502
|
a(f, 0, f.children.length, p, f);
|
|
3501
3503
|
}
|
|
3502
3504
|
function a(f, p, b, S, w) {
|
|
3503
|
-
w || (w =
|
|
3505
|
+
w || (w = se(null)), w.minX = 1 / 0, w.minY = 1 / 0, w.maxX = -1 / 0, w.maxY = -1 / 0;
|
|
3504
3506
|
for (var M = p; M < b; M++) {
|
|
3505
3507
|
var P = f.children[M];
|
|
3506
3508
|
u(w, f.leaf ? S(P) : P);
|
|
@@ -3528,7 +3530,7 @@ var hi = { exports: {} }, Dn = { exports: {} };
|
|
|
3528
3530
|
function F(f, p) {
|
|
3529
3531
|
return p.minX <= f.maxX && p.minY <= f.maxY && p.maxX >= f.minX && p.maxY >= f.minY;
|
|
3530
3532
|
}
|
|
3531
|
-
function
|
|
3533
|
+
function se(f) {
|
|
3532
3534
|
return { children: f, height: 1, leaf: !0, minX: 1 / 0, minY: 1 / 0, maxX: -1 / 0, maxY: -1 / 0 };
|
|
3533
3535
|
}
|
|
3534
3536
|
function te(f, p, b, S, w) {
|
|
@@ -3593,7 +3595,7 @@ var hi = { exports: {} }, Dn = { exports: {} };
|
|
|
3593
3595
|
}, s.prototype.insert = function(f) {
|
|
3594
3596
|
return f && this._insert(f, this.data.height - 1), this;
|
|
3595
3597
|
}, s.prototype.clear = function() {
|
|
3596
|
-
return this.data =
|
|
3598
|
+
return this.data = se([]), this;
|
|
3597
3599
|
}, s.prototype.remove = function(f, p) {
|
|
3598
3600
|
if (!f)
|
|
3599
3601
|
return this;
|
|
@@ -3623,8 +3625,8 @@ var hi = { exports: {} }, Dn = { exports: {} };
|
|
|
3623
3625
|
}, s.prototype._build = function(f, p, b, S) {
|
|
3624
3626
|
var w, M = b - p + 1, P = this._maxEntries;
|
|
3625
3627
|
if (M <= P)
|
|
3626
|
-
return c(w =
|
|
3627
|
-
S || (S = Math.ceil(Math.log(M) / Math.log(P)), P = Math.ceil(M / Math.pow(P, S - 1))), (w =
|
|
3628
|
+
return c(w = se(f.slice(p, b + 1)), this.toBBox), w;
|
|
3629
|
+
S || (S = Math.ceil(Math.log(M) / Math.log(P)), P = Math.ceil(M / Math.pow(P, S - 1))), (w = se([])).leaf = !1, w.height = S;
|
|
3628
3630
|
var L = Math.ceil(M / P), I = L * Math.ceil(Math.sqrt(P));
|
|
3629
3631
|
te(f, p, b, I, this.compareMinX);
|
|
3630
3632
|
for (var W = p; W <= b; W += I) {
|
|
@@ -3654,10 +3656,10 @@ var hi = { exports: {} }, Dn = { exports: {} };
|
|
|
3654
3656
|
}, s.prototype._split = function(f, p) {
|
|
3655
3657
|
var b = f[p], S = b.children.length, w = this._minEntries;
|
|
3656
3658
|
this._chooseSplitAxis(b, w, S);
|
|
3657
|
-
var M = this._chooseSplitIndex(b, w, S), P =
|
|
3659
|
+
var M = this._chooseSplitIndex(b, w, S), P = se(b.children.splice(M, b.children.length - M));
|
|
3658
3660
|
P.height = b.height, P.leaf = b.leaf, c(b, this.toBBox), c(P, this.toBBox), p ? f[p - 1].children.push(P) : this._splitRoot(b, P);
|
|
3659
3661
|
}, s.prototype._splitRoot = function(f, p) {
|
|
3660
|
-
this.data =
|
|
3662
|
+
this.data = se([f, p]), this.data.height = f.height + 1, this.data.leaf = !1, c(this.data, this.toBBox);
|
|
3661
3663
|
}, s.prototype._chooseSplitIndex = function(f, p, b) {
|
|
3662
3664
|
for (var S, w, M, P, L, I, W, ee = 1 / 0, C = 1 / 0, $ = p; $ <= b - p; $++) {
|
|
3663
3665
|
var A = a(f, 0, $, this.toBBox), N = a(f, $, b, this.toBBox), O = (w = A, M = N, P = void 0, L = void 0, I = void 0, W = void 0, P = Math.max(w.minX, M.minX), L = Math.max(w.minY, M.minY), I = Math.min(w.maxX, M.maxX), W = Math.min(w.maxY, M.maxY), Math.max(0, I - P) * Math.max(0, W - L)), H = _(A) + _(N);
|
|
@@ -3767,9 +3769,9 @@ var Ta = hi.exports;
|
|
|
3767
3769
|
const Ra = /* @__PURE__ */ ri(Ta);
|
|
3768
3770
|
function di(r, e) {
|
|
3769
3771
|
var t = {}, i = [];
|
|
3770
|
-
if (r.type === "LineString" && (r =
|
|
3772
|
+
if (r.type === "LineString" && (r = ke(r)), e.type === "LineString" && (e = ke(e)), r.type === "Feature" && e.type === "Feature" && r.geometry !== null && e.geometry !== null && r.geometry.type === "LineString" && e.geometry.type === "LineString" && r.geometry.coordinates.length === 2 && e.geometry.coordinates.length === 2) {
|
|
3771
3773
|
var n = rn(r, e);
|
|
3772
|
-
return n && i.push(n),
|
|
3774
|
+
return n && i.push(n), qe(i);
|
|
3773
3775
|
}
|
|
3774
3776
|
var s = Ra();
|
|
3775
3777
|
return s.load(en(e)), Jt(en(r), function(o) {
|
|
@@ -3780,7 +3782,7 @@ function di(r, e) {
|
|
|
3780
3782
|
t[u] || (t[u] = !0, i.push(a));
|
|
3781
3783
|
}
|
|
3782
3784
|
});
|
|
3783
|
-
}),
|
|
3785
|
+
}), qe(i);
|
|
3784
3786
|
}
|
|
3785
3787
|
function rn(r, e) {
|
|
3786
3788
|
var t = mt(r), i = mt(e);
|
|
@@ -3791,8 +3793,8 @@ function rn(r, e) {
|
|
|
3791
3793
|
var n = t[0][0], s = t[0][1], o = t[1][0], c = t[1][1], a = i[0][0], u = i[0][1], g = i[1][0], v = i[1][1], _ = (v - u) * (o - n) - (g - a) * (c - s), E = (g - a) * (s - u) - (v - u) * (n - a), k = (o - n) * (s - u) - (c - s) * (n - a);
|
|
3792
3794
|
if (_ === 0)
|
|
3793
3795
|
return null;
|
|
3794
|
-
var F = E / _,
|
|
3795
|
-
if (F >= 0 && F <= 1 &&
|
|
3796
|
+
var F = E / _, se = k / _;
|
|
3797
|
+
if (F >= 0 && F <= 1 && se >= 0 && se <= 1) {
|
|
3796
3798
|
var te = n + F * (o - n), f = s + F * (c - s);
|
|
3797
3799
|
return Fe([te, f]);
|
|
3798
3800
|
}
|
|
@@ -3820,7 +3822,7 @@ function Ia(r, e) {
|
|
|
3820
3822
|
var t = yt(r), i = t.coordinates, n = e.properties ? e.properties : r.type === "Feature" ? r.properties : {}, s = [];
|
|
3821
3823
|
return i.forEach(function(o) {
|
|
3822
3824
|
s.push(Bn(o, n));
|
|
3823
|
-
}),
|
|
3825
|
+
}), qe(s);
|
|
3824
3826
|
}
|
|
3825
3827
|
function Bn(r, e) {
|
|
3826
3828
|
return r.length > 1 ? ai(r, e) : Ie(r[0], e);
|
|
@@ -3840,11 +3842,11 @@ function Na(r, e) {
|
|
|
3840
3842
|
case "Point":
|
|
3841
3843
|
switch (e.type) {
|
|
3842
3844
|
case "Point":
|
|
3843
|
-
return !
|
|
3845
|
+
return !Ua(r.coordinates, e.coordinates);
|
|
3844
3846
|
case "LineString":
|
|
3845
3847
|
return !nn(e, r);
|
|
3846
3848
|
case "Polygon":
|
|
3847
|
-
return !
|
|
3849
|
+
return !Ce(r, e);
|
|
3848
3850
|
}
|
|
3849
3851
|
break;
|
|
3850
3852
|
case "LineString":
|
|
@@ -3860,7 +3862,7 @@ function Na(r, e) {
|
|
|
3860
3862
|
case "Polygon":
|
|
3861
3863
|
switch (e.type) {
|
|
3862
3864
|
case "Point":
|
|
3863
|
-
return !
|
|
3865
|
+
return !Ce(e, r);
|
|
3864
3866
|
case "LineString":
|
|
3865
3867
|
return !sn(r, e);
|
|
3866
3868
|
case "Polygon":
|
|
@@ -3882,7 +3884,7 @@ function Ba(r, e) {
|
|
|
3882
3884
|
function sn(r, e) {
|
|
3883
3885
|
for (var t = 0, i = e.coordinates; t < i.length; t++) {
|
|
3884
3886
|
var n = i[t];
|
|
3885
|
-
if (
|
|
3887
|
+
if (Ce(n, r))
|
|
3886
3888
|
return !0;
|
|
3887
3889
|
}
|
|
3888
3890
|
var s = di(e, Vr(r));
|
|
@@ -3891,12 +3893,12 @@ function sn(r, e) {
|
|
|
3891
3893
|
function Fa(r, e) {
|
|
3892
3894
|
for (var t = 0, i = r.coordinates[0]; t < i.length; t++) {
|
|
3893
3895
|
var n = i[t];
|
|
3894
|
-
if (
|
|
3896
|
+
if (Ce(n, e))
|
|
3895
3897
|
return !0;
|
|
3896
3898
|
}
|
|
3897
3899
|
for (var s = 0, o = e.coordinates[0]; s < o.length; s++) {
|
|
3898
3900
|
var c = o[s];
|
|
3899
|
-
if (
|
|
3901
|
+
if (Ce(c, r))
|
|
3900
3902
|
return !0;
|
|
3901
3903
|
}
|
|
3902
3904
|
var a = di(Vr(r), Vr(e));
|
|
@@ -3906,10 +3908,10 @@ function Ha(r, e, t) {
|
|
|
3906
3908
|
var i = t[0] - r[0], n = t[1] - r[1], s = e[0] - r[0], o = e[1] - r[1], c = i * o - n * s;
|
|
3907
3909
|
return c !== 0 ? !1 : Math.abs(s) >= Math.abs(o) ? s > 0 ? r[0] <= t[0] && t[0] <= e[0] : e[0] <= t[0] && t[0] <= r[0] : o > 0 ? r[1] <= t[1] && t[1] <= e[1] : e[1] <= t[1] && t[1] <= r[1];
|
|
3908
3910
|
}
|
|
3909
|
-
function
|
|
3911
|
+
function Ua(r, e) {
|
|
3910
3912
|
return r[0] === e[0] && r[1] === e[1];
|
|
3911
3913
|
}
|
|
3912
|
-
function
|
|
3914
|
+
function Ya(r, e) {
|
|
3913
3915
|
var t = !1;
|
|
3914
3916
|
return Ye(r, function(i) {
|
|
3915
3917
|
Ye(e, function(n) {
|
|
@@ -3957,7 +3959,7 @@ function Xa(r, e) {
|
|
|
3957
3959
|
return Zt(t, i, { ignoreEndVertices: !0 });
|
|
3958
3960
|
case "Polygon":
|
|
3959
3961
|
case "MultiPolygon":
|
|
3960
|
-
return
|
|
3962
|
+
return Ce(t, i, { ignoreBoundary: !0 });
|
|
3961
3963
|
default:
|
|
3962
3964
|
throw new Error("feature2 " + s + " geometry not supported");
|
|
3963
3965
|
}
|
|
@@ -3966,10 +3968,10 @@ function Xa(r, e) {
|
|
|
3966
3968
|
case "MultiPoint":
|
|
3967
3969
|
return Wa(t, i);
|
|
3968
3970
|
case "LineString":
|
|
3969
|
-
return
|
|
3971
|
+
return qa(t, i);
|
|
3970
3972
|
case "Polygon":
|
|
3971
3973
|
case "MultiPolygon":
|
|
3972
|
-
return
|
|
3974
|
+
return Ga(t, i);
|
|
3973
3975
|
default:
|
|
3974
3976
|
throw new Error("feature2 " + s + " geometry not supported");
|
|
3975
3977
|
}
|
|
@@ -4013,7 +4015,7 @@ function Wa(r, e) {
|
|
|
4013
4015
|
}
|
|
4014
4016
|
return !0;
|
|
4015
4017
|
}
|
|
4016
|
-
function
|
|
4018
|
+
function qa(r, e) {
|
|
4017
4019
|
for (var t = !1, i = 0; i < r.coordinates.length; i++) {
|
|
4018
4020
|
if (!Zt(r.coordinates[i], e))
|
|
4019
4021
|
return !1;
|
|
@@ -4021,13 +4023,13 @@ function Ga(r, e) {
|
|
|
4021
4023
|
}
|
|
4022
4024
|
return t;
|
|
4023
4025
|
}
|
|
4024
|
-
function
|
|
4026
|
+
function Ga(r, e) {
|
|
4025
4027
|
for (var t = !0, i = !1, n = 0; n < r.coordinates.length; n++) {
|
|
4026
|
-
if (i =
|
|
4028
|
+
if (i = Ce(r.coordinates[1], e), !i) {
|
|
4027
4029
|
t = !1;
|
|
4028
4030
|
break;
|
|
4029
4031
|
}
|
|
4030
|
-
i =
|
|
4032
|
+
i = Ce(r.coordinates[1], e, {
|
|
4031
4033
|
ignoreBoundary: !0
|
|
4032
4034
|
});
|
|
4033
4035
|
}
|
|
@@ -4044,11 +4046,11 @@ function Ja(r, e) {
|
|
|
4044
4046
|
if (!Fn(t, i))
|
|
4045
4047
|
return !1;
|
|
4046
4048
|
for (var n = !1, s = 0; s < r.coordinates.length - 1; s++) {
|
|
4047
|
-
if (!
|
|
4049
|
+
if (!Ce(r.coordinates[s], e))
|
|
4048
4050
|
return !1;
|
|
4049
|
-
if (n || (n =
|
|
4051
|
+
if (n || (n = Ce(r.coordinates[s], e, { ignoreBoundary: !0 })), !n) {
|
|
4050
4052
|
var o = Qa(r.coordinates[s], r.coordinates[s + 1]);
|
|
4051
|
-
n =
|
|
4053
|
+
n = Ce(o, e, {
|
|
4052
4054
|
ignoreBoundary: !0
|
|
4053
4055
|
});
|
|
4054
4056
|
}
|
|
@@ -4060,7 +4062,7 @@ function Za(r, e) {
|
|
|
4060
4062
|
if (!Fn(i, t))
|
|
4061
4063
|
return !1;
|
|
4062
4064
|
for (var n = 0; n < r.coordinates[0].length; n++)
|
|
4063
|
-
if (!
|
|
4065
|
+
if (!Ce(r.coordinates[0][n], e))
|
|
4064
4066
|
return !1;
|
|
4065
4067
|
return !0;
|
|
4066
4068
|
}
|
|
@@ -4078,8 +4080,8 @@ var el = Object.defineProperty, tl = Object.getOwnPropertyDescriptor, Ct = (r, e
|
|
|
4078
4080
|
(o = r[s]) && (n = (i ? o(e, t, n) : o(n)) || n);
|
|
4079
4081
|
return i && n && el(e, t, n), n;
|
|
4080
4082
|
};
|
|
4081
|
-
const rl = (r, e) => e ?
|
|
4082
|
-
let Wr = class extends
|
|
4083
|
+
const rl = (r, e) => e ? Ya(r, e) : !0, il = (r, e) => e ? Xa(r, e) : !0;
|
|
4084
|
+
let Wr = class extends Pe {
|
|
4083
4085
|
reset() {
|
|
4084
4086
|
this.filterObject.state.geometry = void 0;
|
|
4085
4087
|
const r = this.renderRoot.querySelector(
|
|
@@ -4130,12 +4132,12 @@ let Wr = class extends Oe {
|
|
|
4130
4132
|
}
|
|
4131
4133
|
};
|
|
4132
4134
|
Ct([
|
|
4133
|
-
|
|
4135
|
+
Ae()
|
|
4134
4136
|
], Wr.prototype, "filterObject", 2);
|
|
4135
4137
|
Wr = Ct([
|
|
4136
4138
|
Ge("eox-itemfilter-spatial")
|
|
4137
4139
|
], Wr);
|
|
4138
|
-
let Qt = class extends
|
|
4140
|
+
let Qt = class extends Pe {
|
|
4139
4141
|
render() {
|
|
4140
4142
|
return he`<eox-map part="map" style="height: 400px"></eox-map>`;
|
|
4141
4143
|
}
|
|
@@ -4163,34 +4165,36 @@ let Qt = class extends Oe {
|
|
|
4163
4165
|
}
|
|
4164
4166
|
}
|
|
4165
4167
|
];
|
|
4166
|
-
this.eoxMap = this.renderRoot.querySelector("eox-map"),
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
const
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4168
|
+
this.eoxMap = this.renderRoot.querySelector("eox-map"), setTimeout(() => {
|
|
4169
|
+
this.eoxMap.setLayers(r), this.eoxMap.addDraw("draw", {
|
|
4170
|
+
id: "drawInteraction",
|
|
4171
|
+
type: "Polygon"
|
|
4172
|
+
});
|
|
4173
|
+
const e = (t) => {
|
|
4174
|
+
const i = new CustomEvent("filter", {
|
|
4175
|
+
detail: {
|
|
4176
|
+
geometry: {
|
|
4177
|
+
type: "Polygon",
|
|
4178
|
+
coordinates: t.getGeometry().clone().transform("EPSG:3857", "EPSG:4326").getCoordinates()
|
|
4179
|
+
}
|
|
4176
4180
|
}
|
|
4181
|
+
});
|
|
4182
|
+
this.dispatchEvent(i);
|
|
4183
|
+
};
|
|
4184
|
+
this.eoxMap.interactions.drawInteraction.on(
|
|
4185
|
+
// @ts-ignore
|
|
4186
|
+
"drawend",
|
|
4187
|
+
(t) => {
|
|
4188
|
+
e(t.feature), this.eoxMap.removeInteraction("drawInteraction");
|
|
4177
4189
|
}
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
}
|
|
4187
|
-
), this.eoxMap.interactions.drawInteraction_modify.on(
|
|
4188
|
-
// @ts-ignore
|
|
4189
|
-
"modifyend",
|
|
4190
|
-
(t) => {
|
|
4191
|
-
e(t.features.getArray()[0]);
|
|
4192
|
-
}
|
|
4193
|
-
);
|
|
4190
|
+
), this.eoxMap.interactions.drawInteraction_modify.on(
|
|
4191
|
+
// @ts-ignore
|
|
4192
|
+
"modifyend",
|
|
4193
|
+
(t) => {
|
|
4194
|
+
e(t.features.getArray()[0]);
|
|
4195
|
+
}
|
|
4196
|
+
);
|
|
4197
|
+
});
|
|
4194
4198
|
}
|
|
4195
4199
|
// TODO move to epx-map helper function?
|
|
4196
4200
|
createFeatureUrl(r) {
|
|
@@ -4214,7 +4218,7 @@ let Qt = class extends Oe {
|
|
|
4214
4218
|
}
|
|
4215
4219
|
};
|
|
4216
4220
|
Ct([
|
|
4217
|
-
|
|
4221
|
+
Ae()
|
|
4218
4222
|
], Qt.prototype, "geometry", 2);
|
|
4219
4223
|
Ct([
|
|
4220
4224
|
Pt()
|
|
@@ -4222,12 +4226,12 @@ Ct([
|
|
|
4222
4226
|
Qt = Ct([
|
|
4223
4227
|
Ge("eox-itemfilter-spatial-filter")
|
|
4224
4228
|
], Qt);
|
|
4225
|
-
var nl = Object.defineProperty, sl = Object.getOwnPropertyDescriptor,
|
|
4229
|
+
var nl = Object.defineProperty, sl = Object.getOwnPropertyDescriptor, Un = (r, e, t, i) => {
|
|
4226
4230
|
for (var n = i > 1 ? void 0 : i ? sl(e, t) : e, s = r.length - 1, o; s >= 0; s--)
|
|
4227
4231
|
(o = r[s]) && (n = (i ? o(e, t, n) : o(n)) || n);
|
|
4228
4232
|
return i && n && nl(e, t, n), n;
|
|
4229
4233
|
};
|
|
4230
|
-
let
|
|
4234
|
+
let qr = class extends Pe {
|
|
4231
4235
|
constructor() {
|
|
4232
4236
|
super(...arguments), this.inputHandler = () => {
|
|
4233
4237
|
const r = this.renderRoot.querySelector("input[type='text']");
|
|
@@ -4261,13 +4265,13 @@ let Gr = class extends Oe {
|
|
|
4261
4265
|
`;
|
|
4262
4266
|
}
|
|
4263
4267
|
};
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
],
|
|
4267
|
-
|
|
4268
|
+
Un([
|
|
4269
|
+
Ae()
|
|
4270
|
+
], qr.prototype, "filterObject", 2);
|
|
4271
|
+
qr = Un([
|
|
4268
4272
|
Ge("eox-itemfilter-text")
|
|
4269
|
-
],
|
|
4270
|
-
function
|
|
4273
|
+
], qr);
|
|
4274
|
+
function ze(r) {
|
|
4271
4275
|
return Array.isArray ? Array.isArray(r) : Xn(r) === "[object Array]";
|
|
4272
4276
|
}
|
|
4273
4277
|
const ol = 1 / 0;
|
|
@@ -4283,7 +4287,7 @@ function ll(r) {
|
|
|
4283
4287
|
function He(r) {
|
|
4284
4288
|
return typeof r == "string";
|
|
4285
4289
|
}
|
|
4286
|
-
function
|
|
4290
|
+
function Yn(r) {
|
|
4287
4291
|
return typeof r == "number";
|
|
4288
4292
|
}
|
|
4289
4293
|
function cl(r) {
|
|
@@ -4328,23 +4332,23 @@ class vl {
|
|
|
4328
4332
|
}
|
|
4329
4333
|
function Vn(r) {
|
|
4330
4334
|
let e = null, t = null, i = null, n = 1, s = null;
|
|
4331
|
-
if (He(r) ||
|
|
4332
|
-
i = r, e = an(r), t =
|
|
4335
|
+
if (He(r) || ze(r))
|
|
4336
|
+
i = r, e = an(r), t = Gr(r);
|
|
4333
4337
|
else {
|
|
4334
4338
|
if (!on.call(r, "name"))
|
|
4335
4339
|
throw new Error(pl("name"));
|
|
4336
4340
|
const o = r.name;
|
|
4337
4341
|
if (i = o, on.call(r, "weight") && (n = r.weight, n <= 0))
|
|
4338
4342
|
throw new Error(gl(o));
|
|
4339
|
-
e = an(o), t =
|
|
4343
|
+
e = an(o), t = Gr(o), s = r.getFn;
|
|
4340
4344
|
}
|
|
4341
4345
|
return { path: e, id: t, weight: n, src: i, getFn: s };
|
|
4342
4346
|
}
|
|
4343
4347
|
function an(r) {
|
|
4344
|
-
return
|
|
4348
|
+
return ze(r) ? r : r.split(".");
|
|
4345
4349
|
}
|
|
4346
|
-
function
|
|
4347
|
-
return
|
|
4350
|
+
function Gr(r) {
|
|
4351
|
+
return ze(r) ? r.join(".") : r;
|
|
4348
4352
|
}
|
|
4349
4353
|
function ml(r, e) {
|
|
4350
4354
|
let t = [], i = !1;
|
|
@@ -4357,9 +4361,9 @@ function ml(r, e) {
|
|
|
4357
4361
|
const u = s[a];
|
|
4358
4362
|
if (!Me(u))
|
|
4359
4363
|
return;
|
|
4360
|
-
if (c === o.length - 1 && (He(u) ||
|
|
4364
|
+
if (c === o.length - 1 && (He(u) || Yn(u) || cl(u)))
|
|
4361
4365
|
t.push(ll(u));
|
|
4362
|
-
else if (
|
|
4366
|
+
else if (ze(u)) {
|
|
4363
4367
|
i = !0;
|
|
4364
4368
|
for (let g = 0, v = u.length; g < v; g += 1)
|
|
4365
4369
|
n(u[g], o, c + 1);
|
|
@@ -4499,7 +4503,7 @@ class fi {
|
|
|
4499
4503
|
this.keys.forEach((n, s) => {
|
|
4500
4504
|
let o = n.getFn ? n.getFn(e) : this.getFn(e, n.path);
|
|
4501
4505
|
if (Me(o)) {
|
|
4502
|
-
if (
|
|
4506
|
+
if (ze(o)) {
|
|
4503
4507
|
let c = [];
|
|
4504
4508
|
const a = [{ nestedArrIndex: -1, value: o }];
|
|
4505
4509
|
for (; a.length; ) {
|
|
@@ -4513,7 +4517,7 @@ class fi {
|
|
|
4513
4517
|
};
|
|
4514
4518
|
c.push(v);
|
|
4515
4519
|
} else
|
|
4516
|
-
|
|
4520
|
+
ze(g) && g.forEach((v, _) => {
|
|
4517
4521
|
a.push({
|
|
4518
4522
|
nestedArrIndex: _,
|
|
4519
4523
|
value: v
|
|
@@ -4581,7 +4585,7 @@ function Al(r, e, t, {
|
|
|
4581
4585
|
throw new Error(fl(tt));
|
|
4582
4586
|
const g = e.length, v = r.length, _ = Math.max(0, Math.min(i, v));
|
|
4583
4587
|
let E = s, k = _;
|
|
4584
|
-
const F = c > 1 || a,
|
|
4588
|
+
const F = c > 1 || a, se = F ? Array(v) : [];
|
|
4585
4589
|
let te;
|
|
4586
4590
|
for (; (te = r.indexOf(e, k)) > -1; ) {
|
|
4587
4591
|
let M = zt(e, {
|
|
@@ -4593,7 +4597,7 @@ function Al(r, e, t, {
|
|
|
4593
4597
|
if (E = Math.min(M, E), k = te + g, F) {
|
|
4594
4598
|
let P = 0;
|
|
4595
4599
|
for (; P < g; )
|
|
4596
|
-
|
|
4600
|
+
se[te + P] = 1, P += 1;
|
|
4597
4601
|
}
|
|
4598
4602
|
}
|
|
4599
4603
|
k = -1;
|
|
@@ -4614,7 +4618,7 @@ function Al(r, e, t, {
|
|
|
4614
4618
|
ee[W + 1] = (1 << M) - 1;
|
|
4615
4619
|
for (let $ = W; $ >= I; $ -= 1) {
|
|
4616
4620
|
let A = $ - 1, N = t[r.charAt(A)];
|
|
4617
|
-
if (F && (
|
|
4621
|
+
if (F && (se[A] = +!!N), ee[$] = (ee[$ + 1] << 1 | 1) & N, M && (ee[$] |= (f[$ + 1] | f[$]) << 1 | 1 | f[$ + 1]), ee[$] & S && (p = zt(e, {
|
|
4618
4622
|
errors: M,
|
|
4619
4623
|
currentLocation: A,
|
|
4620
4624
|
expectedLocation: _,
|
|
@@ -4642,7 +4646,7 @@ function Al(r, e, t, {
|
|
|
4642
4646
|
score: Math.max(1e-3, p)
|
|
4643
4647
|
};
|
|
4644
4648
|
if (F) {
|
|
4645
|
-
const M = Ml(
|
|
4649
|
+
const M = Ml(se, c);
|
|
4646
4650
|
M.length ? a && (w.indices = M) : w.isMatch = !1;
|
|
4647
4651
|
}
|
|
4648
4652
|
return w;
|
|
@@ -4655,7 +4659,7 @@ function Sl(r) {
|
|
|
4655
4659
|
}
|
|
4656
4660
|
return e;
|
|
4657
4661
|
}
|
|
4658
|
-
class
|
|
4662
|
+
class qn {
|
|
4659
4663
|
constructor(e, {
|
|
4660
4664
|
location: t = V.location,
|
|
4661
4665
|
threshold: i = V.threshold,
|
|
@@ -4714,9 +4718,9 @@ class Gn {
|
|
|
4714
4718
|
ignoreLocation: u
|
|
4715
4719
|
} = this.options;
|
|
4716
4720
|
let g = [], v = 0, _ = !1;
|
|
4717
|
-
this.chunks.forEach(({ pattern: k, alphabet: F, startIndex:
|
|
4721
|
+
this.chunks.forEach(({ pattern: k, alphabet: F, startIndex: se }) => {
|
|
4718
4722
|
const { isMatch: te, score: f, indices: p } = Al(e, k, F, {
|
|
4719
|
-
location: n +
|
|
4723
|
+
location: n + se,
|
|
4720
4724
|
distance: s,
|
|
4721
4725
|
threshold: o,
|
|
4722
4726
|
findAllMatches: c,
|
|
@@ -4733,7 +4737,7 @@ class Gn {
|
|
|
4733
4737
|
return _ && i && (E.indices = g), E;
|
|
4734
4738
|
}
|
|
4735
4739
|
}
|
|
4736
|
-
class
|
|
4740
|
+
class Ke {
|
|
4737
4741
|
constructor(e) {
|
|
4738
4742
|
this.pattern = e;
|
|
4739
4743
|
}
|
|
@@ -4750,7 +4754,7 @@ function ln(r, e) {
|
|
|
4750
4754
|
const t = r.match(e);
|
|
4751
4755
|
return t ? t[1] : null;
|
|
4752
4756
|
}
|
|
4753
|
-
class Ol extends
|
|
4757
|
+
class Ol extends Ke {
|
|
4754
4758
|
constructor(e) {
|
|
4755
4759
|
super(e);
|
|
4756
4760
|
}
|
|
@@ -4772,7 +4776,7 @@ class Ol extends qe {
|
|
|
4772
4776
|
};
|
|
4773
4777
|
}
|
|
4774
4778
|
}
|
|
4775
|
-
class Pl extends
|
|
4779
|
+
class Pl extends Ke {
|
|
4776
4780
|
constructor(e) {
|
|
4777
4781
|
super(e);
|
|
4778
4782
|
}
|
|
@@ -4794,7 +4798,7 @@ class Pl extends qe {
|
|
|
4794
4798
|
};
|
|
4795
4799
|
}
|
|
4796
4800
|
}
|
|
4797
|
-
class Cl extends
|
|
4801
|
+
class Cl extends Ke {
|
|
4798
4802
|
constructor(e) {
|
|
4799
4803
|
super(e);
|
|
4800
4804
|
}
|
|
@@ -4816,7 +4820,7 @@ class Cl extends qe {
|
|
|
4816
4820
|
};
|
|
4817
4821
|
}
|
|
4818
4822
|
}
|
|
4819
|
-
class kl extends
|
|
4823
|
+
class kl extends Ke {
|
|
4820
4824
|
constructor(e) {
|
|
4821
4825
|
super(e);
|
|
4822
4826
|
}
|
|
@@ -4838,7 +4842,7 @@ class kl extends qe {
|
|
|
4838
4842
|
};
|
|
4839
4843
|
}
|
|
4840
4844
|
}
|
|
4841
|
-
class Ll extends
|
|
4845
|
+
class Ll extends Ke {
|
|
4842
4846
|
constructor(e) {
|
|
4843
4847
|
super(e);
|
|
4844
4848
|
}
|
|
@@ -4860,7 +4864,7 @@ class Ll extends qe {
|
|
|
4860
4864
|
};
|
|
4861
4865
|
}
|
|
4862
4866
|
}
|
|
4863
|
-
class Tl extends
|
|
4867
|
+
class Tl extends Ke {
|
|
4864
4868
|
constructor(e) {
|
|
4865
4869
|
super(e);
|
|
4866
4870
|
}
|
|
@@ -4882,7 +4886,7 @@ class Tl extends qe {
|
|
|
4882
4886
|
};
|
|
4883
4887
|
}
|
|
4884
4888
|
}
|
|
4885
|
-
class
|
|
4889
|
+
class Gn extends Ke {
|
|
4886
4890
|
constructor(e, {
|
|
4887
4891
|
location: t = V.location,
|
|
4888
4892
|
threshold: i = V.threshold,
|
|
@@ -4893,7 +4897,7 @@ class qn extends qe {
|
|
|
4893
4897
|
isCaseSensitive: a = V.isCaseSensitive,
|
|
4894
4898
|
ignoreLocation: u = V.ignoreLocation
|
|
4895
4899
|
} = {}) {
|
|
4896
|
-
super(e), this._bitapSearch = new
|
|
4900
|
+
super(e), this._bitapSearch = new qn(e, {
|
|
4897
4901
|
location: t,
|
|
4898
4902
|
threshold: i,
|
|
4899
4903
|
distance: n,
|
|
@@ -4917,7 +4921,7 @@ class qn extends qe {
|
|
|
4917
4921
|
return this._bitapSearch.searchIn(e);
|
|
4918
4922
|
}
|
|
4919
4923
|
}
|
|
4920
|
-
class Kn extends
|
|
4924
|
+
class Kn extends Ke {
|
|
4921
4925
|
constructor(e) {
|
|
4922
4926
|
super(e);
|
|
4923
4927
|
}
|
|
@@ -4951,7 +4955,7 @@ const Kr = [
|
|
|
4951
4955
|
Tl,
|
|
4952
4956
|
Ll,
|
|
4953
4957
|
Pl,
|
|
4954
|
-
|
|
4958
|
+
Gn
|
|
4955
4959
|
], cn = Kr.length, Rl = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, Dl = "|";
|
|
4956
4960
|
function Il(r, e = {}) {
|
|
4957
4961
|
return r.split(Dl).map((t) => {
|
|
@@ -4977,7 +4981,7 @@ function Il(r, e = {}) {
|
|
|
4977
4981
|
return n;
|
|
4978
4982
|
});
|
|
4979
4983
|
}
|
|
4980
|
-
const jl = /* @__PURE__ */ new Set([
|
|
4984
|
+
const jl = /* @__PURE__ */ new Set([Gn.type, Kn.type]);
|
|
4981
4985
|
class Nl {
|
|
4982
4986
|
constructor(e, {
|
|
4983
4987
|
isCaseSensitive: t = V.isCaseSensitive,
|
|
@@ -5017,9 +5021,9 @@ class Nl {
|
|
|
5017
5021
|
const g = t[a];
|
|
5018
5022
|
o.length = 0, s = 0;
|
|
5019
5023
|
for (let v = 0, _ = g.length; v < _; v += 1) {
|
|
5020
|
-
const E = g[v], { isMatch: k, indices: F, score:
|
|
5024
|
+
const E = g[v], { isMatch: k, indices: F, score: se } = E.search(e);
|
|
5021
5025
|
if (k) {
|
|
5022
|
-
if (s += 1, c +=
|
|
5026
|
+
if (s += 1, c += se, i) {
|
|
5023
5027
|
const te = E.constructor.type;
|
|
5024
5028
|
jl.has(te) ? o = [...o, ...F] : o.push(F);
|
|
5025
5029
|
}
|
|
@@ -5052,7 +5056,7 @@ function Zr(r, e) {
|
|
|
5052
5056
|
if (n.condition(r, e))
|
|
5053
5057
|
return new n(r, e);
|
|
5054
5058
|
}
|
|
5055
|
-
return new
|
|
5059
|
+
return new qn(r, e);
|
|
5056
5060
|
}
|
|
5057
5061
|
const er = {
|
|
5058
5062
|
AND: "$and",
|
|
@@ -5060,7 +5064,7 @@ const er = {
|
|
|
5060
5064
|
}, Qr = {
|
|
5061
5065
|
PATH: "$path",
|
|
5062
5066
|
PATTERN: "$val"
|
|
5063
|
-
}, ei = (r) => !!(r[er.AND] || r[er.OR]), Fl = (r) => !!r[Qr.PATH], Hl = (r) => !
|
|
5067
|
+
}, ei = (r) => !!(r[er.AND] || r[er.OR]), Fl = (r) => !!r[Qr.PATH], Hl = (r) => !ze(r) && zn(r) && !ei(r), un = (r) => ({
|
|
5064
5068
|
[er.AND]: Object.keys(r).map((e) => ({
|
|
5065
5069
|
[e]: r[e]
|
|
5066
5070
|
}))
|
|
@@ -5076,7 +5080,7 @@ function Jn(r, e, { auto: t = !0 } = {}) {
|
|
|
5076
5080
|
if (!He(u))
|
|
5077
5081
|
throw new Error(dl(a));
|
|
5078
5082
|
const g = {
|
|
5079
|
-
keyId:
|
|
5083
|
+
keyId: Gr(a),
|
|
5080
5084
|
pattern: u
|
|
5081
5085
|
};
|
|
5082
5086
|
return t && (g.searcher = Zr(u, e)), g;
|
|
@@ -5087,14 +5091,14 @@ function Jn(r, e, { auto: t = !0 } = {}) {
|
|
|
5087
5091
|
};
|
|
5088
5092
|
return s.forEach((a) => {
|
|
5089
5093
|
const u = n[a];
|
|
5090
|
-
|
|
5094
|
+
ze(u) && u.forEach((g) => {
|
|
5091
5095
|
c.children.push(i(g));
|
|
5092
5096
|
});
|
|
5093
5097
|
}), c;
|
|
5094
5098
|
};
|
|
5095
5099
|
return ei(r) || (r = un(r)), i(r);
|
|
5096
5100
|
}
|
|
5097
|
-
function
|
|
5101
|
+
function Ul(r, { ignoreFieldNorm: e = V.ignoreFieldNorm }) {
|
|
5098
5102
|
r.forEach((t) => {
|
|
5099
5103
|
let i = 1;
|
|
5100
5104
|
t.matches.forEach(({ key: n, norm: s, score: o }) => {
|
|
@@ -5106,7 +5110,7 @@ function Yl(r, { ignoreFieldNorm: e = V.ignoreFieldNorm }) {
|
|
|
5106
5110
|
}), t.score = i;
|
|
5107
5111
|
});
|
|
5108
5112
|
}
|
|
5109
|
-
function
|
|
5113
|
+
function Yl(r, e) {
|
|
5110
5114
|
const t = r.matches;
|
|
5111
5115
|
e.matches = [], Me(t) && t.forEach((i) => {
|
|
5112
5116
|
if (!Me(i.indices) || !i.indices.length)
|
|
@@ -5127,7 +5131,7 @@ function Xl(r, e, {
|
|
|
5127
5131
|
includeScore: i = V.includeScore
|
|
5128
5132
|
} = {}) {
|
|
5129
5133
|
const n = [];
|
|
5130
|
-
return t && n.push(
|
|
5134
|
+
return t && n.push(Yl), i && n.push(zl), r.map((s) => {
|
|
5131
5135
|
const { idx: o } = s, c = {
|
|
5132
5136
|
item: e[o],
|
|
5133
5137
|
refIndex: o
|
|
@@ -5175,7 +5179,7 @@ class xt {
|
|
|
5175
5179
|
ignoreFieldNorm: c
|
|
5176
5180
|
} = this.options;
|
|
5177
5181
|
let a = He(e) ? He(this._docs[0]) ? this._searchStringList(e) : this._searchObjectList(e) : this._searchLogical(e);
|
|
5178
|
-
return
|
|
5182
|
+
return Ul(a, { ignoreFieldNorm: c }), s && a.sort(o), Yn(t) && t > -1 && (a = a.slice(0, t)), Xl(a, this._docs, {
|
|
5179
5183
|
includeMatches: i,
|
|
5180
5184
|
includeScore: n
|
|
5181
5185
|
});
|
|
@@ -5253,7 +5257,7 @@ class xt {
|
|
|
5253
5257
|
if (!Me(t))
|
|
5254
5258
|
return [];
|
|
5255
5259
|
let n = [];
|
|
5256
|
-
if (
|
|
5260
|
+
if (ze(t))
|
|
5257
5261
|
t.forEach(({ v: s, i: o, n: c }) => {
|
|
5258
5262
|
if (!Me(s))
|
|
5259
5263
|
return;
|
|
@@ -5321,7 +5325,7 @@ const Wl = (r, e) => {
|
|
|
5321
5325
|
useExtendedSearch: !0,
|
|
5322
5326
|
...e
|
|
5323
5327
|
});
|
|
5324
|
-
},
|
|
5328
|
+
}, ql = async (r, e, t) => {
|
|
5325
5329
|
const i = Object.entries(e).filter(
|
|
5326
5330
|
([c, a]) => a.type === "text" || a.type === "select" || a.type === "multiselect"
|
|
5327
5331
|
).reduce((c, [a, u]) => {
|
|
@@ -5352,7 +5356,7 @@ const Wl = (r, e) => {
|
|
|
5352
5356
|
for (let a = 0; a < n.length; a++) {
|
|
5353
5357
|
const u = {};
|
|
5354
5358
|
for (const [g, v] of Object.entries(s)) {
|
|
5355
|
-
const _ = (E) => v.format === "date" ?
|
|
5359
|
+
const _ = (E) => v.format === "date" ? qt(E).unix() : E;
|
|
5356
5360
|
n[a].hasOwnProperty(g) ? Array.isArray(n[a][g]) ? u[g] = s[g].min <= _(n[a][g][1]) && _(n[a][g][0]) <= s[g].max : _(n[a][g]) >= s[g].min && _(n[a][g]) <= s[g].max ? u[g] = !0 : u[g] = !1 : u[g] = !0;
|
|
5357
5361
|
}
|
|
5358
5362
|
Object.values(u).every((g) => !!g) && c.push(n[a]);
|
|
@@ -5376,8 +5380,8 @@ const Wl = (r, e) => {
|
|
|
5376
5380
|
n = [...c];
|
|
5377
5381
|
}
|
|
5378
5382
|
return n;
|
|
5379
|
-
},
|
|
5380
|
-
var Kl = Object.defineProperty, Jl = Object.getOwnPropertyDescriptor,
|
|
5383
|
+
}, Gl = async (r, e, t) => (await (await fetch(`${t.externalFilter(r, e)}`)).json()).features;
|
|
5384
|
+
var Kl = Object.defineProperty, Jl = Object.getOwnPropertyDescriptor, Xe = (r, e, t, i) => {
|
|
5381
5385
|
for (var n = i > 1 ? void 0 : i ? Jl(e, t) : e, s = r.length - 1, o; s >= 0; s--)
|
|
5382
5386
|
(o = r[s]) && (n = (i ? o(e, t, n) : o(n)) || n);
|
|
5383
5387
|
return i && n && Kl(e, t, n), n;
|
|
@@ -5389,14 +5393,14 @@ class hn {
|
|
|
5389
5393
|
}, this.showResults = !0, this.titleProperty = "title";
|
|
5390
5394
|
}
|
|
5391
5395
|
}
|
|
5392
|
-
let
|
|
5396
|
+
let Ue = class extends vo {
|
|
5393
5397
|
constructor() {
|
|
5394
5398
|
super(...arguments), this._resultAggregation = [], this.filters = {}, this.items = [], this._config = new hn(), this.apply = (r) => {
|
|
5395
5399
|
this.items = r.map((t, i) => ({
|
|
5396
5400
|
id: `item-${i}`,
|
|
5397
5401
|
...t
|
|
5398
5402
|
})), this._config.filterProperties.length && this._config.filterProperties.forEach((t) => {
|
|
5399
|
-
const i = {}, n = (s) => t.format === "date" ?
|
|
5403
|
+
const i = {}, n = (s) => t.format === "date" ? qt(s).unix() : parseInt(s);
|
|
5400
5404
|
this.items.forEach((s) => {
|
|
5401
5405
|
if (t.type === "range") {
|
|
5402
5406
|
if (Array.isArray(s[t.key])) {
|
|
@@ -5443,7 +5447,7 @@ let ze = class extends vo {
|
|
|
5443
5447
|
}), Wl(this.items, {
|
|
5444
5448
|
keys: e,
|
|
5445
5449
|
...this._config.fuseConfig
|
|
5446
|
-
});
|
|
5450
|
+
}), this.search();
|
|
5447
5451
|
};
|
|
5448
5452
|
}
|
|
5449
5453
|
set config(r) {
|
|
@@ -5458,7 +5462,7 @@ let ze = class extends vo {
|
|
|
5458
5462
|
}
|
|
5459
5463
|
async search() {
|
|
5460
5464
|
let r;
|
|
5461
|
-
this.config.externalFilter ? r = await
|
|
5465
|
+
this.config.externalFilter ? r = await Gl(this.items, this.filters, this._config) : r = await ql(this.items, this.filters, this._config), this.results = this.sortResults(r), this._config.onFilter(this.results, this.filters);
|
|
5462
5466
|
}
|
|
5463
5467
|
aggregateResults(r, e) {
|
|
5464
5468
|
return r.filter((t) => {
|
|
@@ -5484,6 +5488,7 @@ let ze = class extends vo {
|
|
|
5484
5488
|
<style>
|
|
5485
5489
|
${$n}
|
|
5486
5490
|
${!this.unstyled && wn}
|
|
5491
|
+
${this.styleOverride}
|
|
5487
5492
|
</style>
|
|
5488
5493
|
<form
|
|
5489
5494
|
id="itemfilter"
|
|
@@ -5492,10 +5497,14 @@ let ze = class extends vo {
|
|
|
5492
5497
|
${ht(
|
|
5493
5498
|
this._config.filterProperties.length,
|
|
5494
5499
|
() => he`
|
|
5495
|
-
<section class="${this.config.inlineMode ? "inline" :
|
|
5500
|
+
<section class="${this.config.inlineMode ? "inline" : ne}">
|
|
5496
5501
|
${ht(
|
|
5497
5502
|
!this.config.inlineMode,
|
|
5498
|
-
() => he`
|
|
5503
|
+
() => he`
|
|
5504
|
+
<slot name="filterstitle"
|
|
5505
|
+
><h4 style="margin-top: 8px">Filters</h4></slot
|
|
5506
|
+
>
|
|
5507
|
+
`
|
|
5499
5508
|
)}
|
|
5500
5509
|
<ul id="filters">
|
|
5501
5510
|
${it(
|
|
@@ -5503,23 +5512,23 @@ let ze = class extends vo {
|
|
|
5503
5512
|
(r) => Rr`
|
|
5504
5513
|
<li>
|
|
5505
5514
|
${r.featured ? Rr`
|
|
5506
|
-
<eox-itemfilter-${
|
|
5515
|
+
<eox-itemfilter-${Yt(r.type)}
|
|
5507
5516
|
slot="filter"
|
|
5508
5517
|
data-type="filter"
|
|
5509
5518
|
.filterObject=${r}
|
|
5510
5519
|
@filter="${() => this.search()}"
|
|
5511
|
-
></eox-itemfilter-${
|
|
5520
|
+
></eox-itemfilter-${Yt(r.type)}>
|
|
5512
5521
|
` : Rr`
|
|
5513
5522
|
<eox-itemfilter-expandcontainer
|
|
5514
5523
|
.filterObject=${r}
|
|
5515
5524
|
.unstyled=${this.unstyled}
|
|
5516
5525
|
>
|
|
5517
|
-
<eox-itemfilter-${
|
|
5526
|
+
<eox-itemfilter-${Yt(r.type)}
|
|
5518
5527
|
slot="filter"
|
|
5519
5528
|
data-type="filter"
|
|
5520
5529
|
.filterObject=${r}
|
|
5521
5530
|
@filter="${() => this.search()}"
|
|
5522
|
-
></eox-itemfilter-${
|
|
5531
|
+
></eox-itemfilter-${Yt(
|
|
5523
5532
|
r.type
|
|
5524
5533
|
)}>
|
|
5525
5534
|
</eox-itemfilter-expandcontainer>
|
|
@@ -5549,10 +5558,12 @@ let ze = class extends vo {
|
|
|
5549
5558
|
() => he`
|
|
5550
5559
|
<section id="section-results">
|
|
5551
5560
|
<div>
|
|
5552
|
-
<slot name="resultstitle"
|
|
5561
|
+
<slot name="resultstitle"
|
|
5562
|
+
><h4 style="margin-top: 8px">Results</h4></slot
|
|
5563
|
+
>
|
|
5553
5564
|
</div>
|
|
5554
5565
|
<div id="container-results" class="scroll">
|
|
5555
|
-
${this.results.length < 1 ? he` <small class="no-results">No matching items</small> ` :
|
|
5566
|
+
${this.results.length < 1 ? he` <small class="no-results">No matching items</small> ` : ne}
|
|
5556
5567
|
<ul id="results" part="results">
|
|
5557
5568
|
${this._config.aggregateResults ? it(
|
|
5558
5569
|
this._resultAggregation.filter(
|
|
@@ -5582,35 +5593,43 @@ let ze = class extends vo {
|
|
|
5582
5593
|
this.results,
|
|
5583
5594
|
r
|
|
5584
5595
|
),
|
|
5585
|
-
(e) =>
|
|
5586
|
-
|
|
5596
|
+
(e) => {
|
|
5597
|
+
var t, i;
|
|
5598
|
+
return he`
|
|
5599
|
+
<li
|
|
5600
|
+
class=${((t = this.selectedResult) == null ? void 0 : t[this._config.titleProperty]) === e[this._config.titleProperty] ? "highlighted" : ne}
|
|
5601
|
+
>
|
|
5587
5602
|
<label>
|
|
5588
5603
|
<input
|
|
5604
|
+
data-cy="result-radio"
|
|
5589
5605
|
type="radio"
|
|
5606
|
+
class="result-radio"
|
|
5590
5607
|
name="result"
|
|
5591
5608
|
id="${e.id}"
|
|
5609
|
+
checked=${((i = this.selectedResult) == null ? void 0 : i[this._config.titleProperty]) === e[this._config.titleProperty] || ne}
|
|
5592
5610
|
@click=${() => {
|
|
5593
|
-
|
|
5594
|
-
|
|
5611
|
+
this.selectedResult = e, this._config.onSelect(e);
|
|
5612
|
+
}}
|
|
5595
5613
|
/>
|
|
5596
5614
|
${ht(
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5615
|
+
this.hasTemplate("result"),
|
|
5616
|
+
() => this.renderTemplate(
|
|
5617
|
+
"result",
|
|
5618
|
+
e,
|
|
5619
|
+
`result-${e.id}`
|
|
5620
|
+
),
|
|
5621
|
+
() => he`
|
|
5604
5622
|
<span class="title"
|
|
5605
|
-
>${
|
|
5606
|
-
|
|
5607
|
-
|
|
5623
|
+
>${Gi(
|
|
5624
|
+
e[this._config.titleProperty]
|
|
5625
|
+
)}</span
|
|
5608
5626
|
>
|
|
5609
5627
|
`
|
|
5610
|
-
|
|
5628
|
+
)}
|
|
5611
5629
|
</label>
|
|
5612
5630
|
</li>
|
|
5613
|
-
|
|
5631
|
+
`;
|
|
5632
|
+
}
|
|
5614
5633
|
)}
|
|
5615
5634
|
</ul>
|
|
5616
5635
|
</details>`
|
|
@@ -5635,7 +5654,7 @@ let ze = class extends vo {
|
|
|
5635
5654
|
),
|
|
5636
5655
|
() => he`
|
|
5637
5656
|
<span class="title"
|
|
5638
|
-
>${
|
|
5657
|
+
>${Gi(
|
|
5639
5658
|
r[this._config.titleProperty]
|
|
5640
5659
|
)}</span
|
|
5641
5660
|
>
|
|
@@ -5653,31 +5672,34 @@ let ze = class extends vo {
|
|
|
5653
5672
|
`;
|
|
5654
5673
|
}
|
|
5655
5674
|
};
|
|
5656
|
-
|
|
5675
|
+
Xe([
|
|
5657
5676
|
Pt()
|
|
5658
|
-
],
|
|
5659
|
-
|
|
5677
|
+
], Ue.prototype, "filters", 2);
|
|
5678
|
+
Xe([
|
|
5660
5679
|
Pt()
|
|
5661
|
-
],
|
|
5662
|
-
|
|
5680
|
+
], Ue.prototype, "items", 2);
|
|
5681
|
+
Xe([
|
|
5663
5682
|
Pt()
|
|
5664
|
-
],
|
|
5665
|
-
|
|
5683
|
+
], Ue.prototype, "results", 2);
|
|
5684
|
+
Xe([
|
|
5666
5685
|
Pt()
|
|
5667
|
-
],
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
],
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
],
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
],
|
|
5677
|
-
|
|
5686
|
+
], Ue.prototype, "selectedResult", 2);
|
|
5687
|
+
Xe([
|
|
5688
|
+
Ae({ attribute: !1 })
|
|
5689
|
+
], Ue.prototype, "config", 1);
|
|
5690
|
+
Xe([
|
|
5691
|
+
Ae()
|
|
5692
|
+
], Ue.prototype, "apply", 2);
|
|
5693
|
+
Xe([
|
|
5694
|
+
Ae({ attribute: !1 })
|
|
5695
|
+
], Ue.prototype, "styleOverride", 2);
|
|
5696
|
+
Xe([
|
|
5697
|
+
Ae({ type: Boolean })
|
|
5698
|
+
], Ue.prototype, "unstyled", 2);
|
|
5699
|
+
Ue = Xe([
|
|
5678
5700
|
Ge("eox-itemfilter")
|
|
5679
|
-
],
|
|
5701
|
+
], Ue);
|
|
5680
5702
|
export {
|
|
5681
|
-
|
|
5703
|
+
Ue as EOxItemFilter,
|
|
5682
5704
|
hn as ElementConfig
|
|
5683
5705
|
};
|