@eox/itemfilter 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eox-itemfilter.js +181 -180
- package/dist/eox-itemfilter.umd.cjs +8 -8
- package/package.json +2 -2
package/dist/eox-itemfilter.js
CHANGED
|
@@ -45,7 +45,7 @@ const fa = (t) => new ha(typeof t == "string" ? t : t + "", void 0, Fs), pa = (t
|
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
const { is: ga, defineProperty: ya, getOwnPropertyDescriptor: ba, getOwnPropertyNames: ma, getOwnPropertySymbols: va, getPrototypeOf: wa } = Object,
|
|
48
|
+
const { is: ga, defineProperty: ya, getOwnPropertyDescriptor: ba, getOwnPropertyNames: ma, getOwnPropertySymbols: va, getPrototypeOf: wa } = Object, zt = globalThis, ms = zt.trustedTypes, xa = ms ? ms.emptyScript : "", Si = zt.reactiveElementPolyfillSupport, yn = (t, e) => t, ji = { toAttribute(t, e) {
|
|
49
49
|
switch (e) {
|
|
50
50
|
case Boolean:
|
|
51
51
|
t = t ? xa : null;
|
|
@@ -74,7 +74,7 @@ const { is: ga, defineProperty: ya, getOwnPropertyDescriptor: ba, getOwnProperty
|
|
|
74
74
|
}
|
|
75
75
|
return r;
|
|
76
76
|
} }, Zs = (t, e) => !ga(t, e), vs = { attribute: !0, type: String, converter: ji, reflect: !1, hasChanged: Zs };
|
|
77
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
77
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), zt.litPropertyMetadata ?? (zt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
78
|
class Dr extends HTMLElement {
|
|
79
79
|
static addInitializer(e) {
|
|
80
80
|
this._$Ei(), (this.l ?? (this.l = [])).push(e);
|
|
@@ -273,7 +273,7 @@ class Dr extends HTMLElement {
|
|
|
273
273
|
firstUpdated(e) {
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
|
-
Dr.elementStyles = [], Dr.shadowRootOptions = { mode: "open" }, Dr[yn("elementProperties")] = /* @__PURE__ */ new Map(), Dr[yn("finalized")] = /* @__PURE__ */ new Map(), Si == null || Si({ ReactiveElement: Dr }), (
|
|
276
|
+
Dr.elementStyles = [], Dr.shadowRootOptions = { mode: "open" }, Dr[yn("elementProperties")] = /* @__PURE__ */ new Map(), Dr[yn("finalized")] = /* @__PURE__ */ new Map(), Si == null || Si({ ReactiveElement: Dr }), (zt.reactiveElementVersions ?? (zt.reactiveElementVersions = [])).push("2.0.4");
|
|
277
277
|
/**
|
|
278
278
|
* @license
|
|
279
279
|
* Copyright 2017 Google LLC
|
|
@@ -281,7 +281,7 @@ Dr.elementStyles = [], Dr.shadowRootOptions = { mode: "open" }, Dr[yn("elementPr
|
|
|
281
281
|
*/
|
|
282
282
|
const bn = globalThis, Xn = bn.trustedTypes, ws = Xn ? Xn.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, ss = "$lit$", Ot = `lit$${Math.random().toFixed(9).slice(2)}$`, os = "?" + Ot, $a = `<${os}>`, ur = document, mn = () => ur.createComment(""), vn = (t) => t === null || typeof t != "object" && typeof t != "function", as = Array.isArray, Xs = (t) => as(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Ei = `[
|
|
283
283
|
\f\r]`, fn = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, xs = /-->/g, $s = />/g, or = RegExp(`>|${Ei}(?:([^\\s"'>=/]+)(${Ei}*=${Ei}*(?:[^
|
|
284
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), _s = /'/g, As = /"/g, Js = /^(?:script|style|textarea|title)$/i, _a = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), re = _a(1),
|
|
284
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), _s = /'/g, As = /"/g, Js = /^(?:script|style|textarea|title)$/i, _a = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), re = _a(1), Ut = Symbol.for("lit-noChange"), Me = Symbol.for("lit-nothing"), Ms = /* @__PURE__ */ new WeakMap(), cr = ur.createTreeWalker(ur, 129);
|
|
285
285
|
function Qs(t, e) {
|
|
286
286
|
if (!as(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
287
287
|
return ws !== void 0 ? ws.createHTML(e) : e;
|
|
@@ -337,7 +337,7 @@ class wn {
|
|
|
337
337
|
}
|
|
338
338
|
function dr(t, e, r = t, n) {
|
|
339
339
|
var o, l;
|
|
340
|
-
if (e ===
|
|
340
|
+
if (e === Ut) return e;
|
|
341
341
|
let i = n !== void 0 ? (o = r._$Co) == null ? void 0 : o[n] : r._$Cl;
|
|
342
342
|
const s = vn(e) ? void 0 : e._$litDirective$;
|
|
343
343
|
return (i == null ? void 0 : i.constructor) !== s && ((l = i == null ? void 0 : i._$AO) == null || l.call(i, !1), s === void 0 ? i = void 0 : (i = new s(t), i._$AT(t, r, n)), n !== void 0 ? (r._$Co ?? (r._$Co = []))[n] = i : r._$Cl = i), i !== void 0 && (e = dr(t, i._$AS(t, e.values), i, n)), e;
|
|
@@ -359,7 +359,7 @@ let to = class {
|
|
|
359
359
|
for (; c !== void 0; ) {
|
|
360
360
|
if (o === c.index) {
|
|
361
361
|
let d;
|
|
362
|
-
c.type === 2 ? d = new
|
|
362
|
+
c.type === 2 ? d = new Ur(s, s.nextSibling, this, e) : c.type === 1 ? d = new c.ctor(s, c.name, c.strings, this, e) : c.type === 6 && (d = new so(s, this, e)), this._$AV.push(d), c = n[++l];
|
|
363
363
|
}
|
|
364
364
|
o !== (c == null ? void 0 : c.index) && (s = cr.nextNode(), o++);
|
|
365
365
|
}
|
|
@@ -370,7 +370,7 @@ let to = class {
|
|
|
370
370
|
for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(e, n, r), r += n.strings.length - 2) : n._$AI(e[r])), r++;
|
|
371
371
|
}
|
|
372
372
|
};
|
|
373
|
-
class
|
|
373
|
+
class Ur {
|
|
374
374
|
get _$AU() {
|
|
375
375
|
var e;
|
|
376
376
|
return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
|
|
@@ -390,7 +390,7 @@ class zr {
|
|
|
390
390
|
return this._$AB;
|
|
391
391
|
}
|
|
392
392
|
_$AI(e, r = this) {
|
|
393
|
-
e = dr(this, e, r), vn(e) ? e === Me || e == null || e === "" ? (this._$AH !== Me && this._$AR(), this._$AH = Me) : e !== this._$AH && e !==
|
|
393
|
+
e = dr(this, e, r), vn(e) ? e === Me || e == null || e === "" ? (this._$AH !== Me && this._$AR(), this._$AH = Me) : e !== this._$AH && e !== Ut && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Xs(e) ? this.k(e) : this._(e);
|
|
394
394
|
}
|
|
395
395
|
O(e) {
|
|
396
396
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -418,7 +418,7 @@ class zr {
|
|
|
418
418
|
as(this._$AH) || (this._$AH = [], this._$AR());
|
|
419
419
|
const r = this._$AH;
|
|
420
420
|
let n, i = 0;
|
|
421
|
-
for (const s of e) i === r.length ? r.push(n = new
|
|
421
|
+
for (const s of e) i === r.length ? r.push(n = new Ur(this.O(mn()), this.O(mn()), this, this.options)) : n = r[i], n._$AI(s), i++;
|
|
422
422
|
i < r.length && (this._$AR(n && n._$AB.nextSibling, i), r.length = i);
|
|
423
423
|
}
|
|
424
424
|
_$AR(e = this._$AA.nextSibling, r) {
|
|
@@ -446,11 +446,11 @@ class Mn {
|
|
|
446
446
|
_$AI(e, r = this, n, i) {
|
|
447
447
|
const s = this.strings;
|
|
448
448
|
let o = !1;
|
|
449
|
-
if (s === void 0) e = dr(this, e, r, 0), o = !vn(e) || e !== this._$AH && e !==
|
|
449
|
+
if (s === void 0) e = dr(this, e, r, 0), o = !vn(e) || e !== this._$AH && e !== Ut, o && (this._$AH = e);
|
|
450
450
|
else {
|
|
451
451
|
const l = e;
|
|
452
452
|
let c, d;
|
|
453
|
-
for (e = s[0], c = 0; c < s.length - 1; c++) d = dr(this, l[n + c], r, c), d ===
|
|
453
|
+
for (e = s[0], c = 0; c < s.length - 1; c++) d = dr(this, l[n + c], r, c), d === Ut && (d = this._$AH[c]), o || (o = !vn(d) || d !== this._$AH[c]), d === Me ? e = Me : e !== Me && (e += (d ?? "") + s[c + 1]), this._$AH[c] = d;
|
|
454
454
|
}
|
|
455
455
|
o && !i && this.j(e);
|
|
456
456
|
}
|
|
@@ -479,7 +479,7 @@ class io extends Mn {
|
|
|
479
479
|
super(e, r, n, i, s), this.type = 5;
|
|
480
480
|
}
|
|
481
481
|
_$AI(e, r = this) {
|
|
482
|
-
if ((e = dr(this, e, r, 0) ?? Me) ===
|
|
482
|
+
if ((e = dr(this, e, r, 0) ?? Me) === Ut) return;
|
|
483
483
|
const n = this._$AH, i = e === Me && n !== Me || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, s = e !== Me && (n === Me || i);
|
|
484
484
|
i && this.element.removeEventListener(this.name, this, n), s && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
485
485
|
}
|
|
@@ -499,14 +499,14 @@ class so {
|
|
|
499
499
|
dr(this, e);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
const Aa = { M: ss, P: Ot, A: os, C: 1, L: eo, R: to, D: Xs, V: dr, I:
|
|
503
|
-
Ci == null || Ci(wn,
|
|
502
|
+
const Aa = { M: ss, P: Ot, A: os, C: 1, L: eo, R: to, D: Xs, V: dr, I: Ur, H: Mn, N: no, U: io, B: ro, F: so }, Ci = bn.litHtmlPolyfillSupport;
|
|
503
|
+
Ci == null || Ci(wn, Ur), (bn.litHtmlVersions ?? (bn.litHtmlVersions = [])).push("3.2.1");
|
|
504
504
|
const Ma = (t, e, r) => {
|
|
505
505
|
const n = (r == null ? void 0 : r.renderBefore) ?? e;
|
|
506
506
|
let i = n._$litPart$;
|
|
507
507
|
if (i === void 0) {
|
|
508
508
|
const s = (r == null ? void 0 : r.renderBefore) ?? null;
|
|
509
|
-
n._$litPart$ = i = new
|
|
509
|
+
n._$litPart$ = i = new Ur(e.insertBefore(mn(), s), s, void 0, r ?? {});
|
|
510
510
|
}
|
|
511
511
|
return i._$AI(t), i;
|
|
512
512
|
};
|
|
@@ -537,7 +537,7 @@ let tt = class extends Dr {
|
|
|
537
537
|
super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
|
|
538
538
|
}
|
|
539
539
|
render() {
|
|
540
|
-
return
|
|
540
|
+
return Ut;
|
|
541
541
|
}
|
|
542
542
|
};
|
|
543
543
|
var Ys;
|
|
@@ -1112,7 +1112,7 @@ eox-itemfilter-results li.highlighted {
|
|
|
1112
1112
|
input {
|
|
1113
1113
|
background-color: var(--background-color);
|
|
1114
1114
|
}
|
|
1115
|
-
`, Ea = `:root,:host { --spacing: 1rem; --block-spacing-vertical: calc(var(--spacing) * 2); --block-spacing-horizontal: var(--spacing); --background-color: var(--eox-background-color, white); --color: var(--eox-color, #2c3d49); --h-color: var(--eox-h-color, var(--color)); --hover-transparency: var(--eox-hover-transparency, 20%); --bg-hover-transparency: var(--eox-bg-hover-transparency, 40%); --btn-hover-transparency: var(--eox-btn-hover-transparency, 80%); --primary-color: var(--eox-primary-color, #004170); --primary-color-hover: color-mix( in srgb, var(--primary-color) var(--hover-transparency), transparent ); --primary-bg-color-hover: color-mix( in srgb, var(--primary-color) var(--bg-hover-transparency), transparent ); --primary-btn-color-hover: color-mix( in srgb, var(--primary-color) var(--btn-hover-transparency), transparent ); --secondary-color: var(--eox-secondary-color, #c6d4df); --secondary-color-hover: color-mix( in srgb, var(--secondary-color) var(--hover-transparency), transparent ); --secondary-bg-color-hover: color-mix( in srgb, var(--secondary-color) var(--bg-hover-transparency), transparent ); --secondary-btn-color-hover: color-mix( in srgb, var(--secondary-color) var(--btn-hover-transparency), transparent ); --success: var(--eox-success, #26cc0f); --warning: var(--eox-warning, #f18e32); --error: var(--eox-error, #ff5252); --header-font-family: var(--eox-header-font-family, "Roboto", sans-serif); --body-font-family: var(--eox-body-font-family, "Roboto", sans-serif);}* { font-size: normal; font-family: var(--body-font-family); color: var(--eox-color);}h1,h2,h3,h4,h5,h6 { font-family: var(--header-font-family);}span,p,div,main,label { font-family: var(--body-font-family);}@media (min-width: 576px) { .container { max-width: 510px; padding-right: 0; padding-left: 0; --block-spacing-vertical: calc(var(--spacing) * 2.5); }}@media (min-width: 768px) { .container { max-width: 700px; --block-spacing-vertical: calc(var(--spacing) * 3); }}@media (min-width: 992px) { .container { max-width: 920px; --block-spacing-vertical: calc(var(--spacing) * 3.5); }}@media (min-width: 1200px) { .container { max-width: 1130px; --block-spacing-vertical: calc(var(--spacing) * 4); }}.container { width: 100%; margin-right: auto; margin-left: auto; display: block; padding: var(--block-spacing-vertical) var(--block-spacing-horizontal);}h1,h2,h3 { line-height: 120%; margin-top: 0.8rem; margin-bottom: 0.8rem;}p { --font-size: 1rem; font-weight: 400; line-height: 170%; margin-top: 0.8rem; margin-bottom: 1.6rem; font-size: var(--font-size);}body { padding: 0; margin: 0;}.sb-show-main.sb-main-padded { padding: 0;}h1,h2,h3,h4,h5,h6 { --font-weight: 700;}h1 { --font-size: 3rem; --typography-spacing-vertical: 0.5rem;}h2 { --font-size: 2rem; --typography-spacing-vertical: 0.5rem;}h3 { --font-size: 1.75rem; --typography-spacing-vertical: 0.5rem;}h4 { --font-size: 1.5rem; --typography-spacing-vertical: 0.5rem;}h5 { --font-size: 1.25rem; --typography-spacing-vertical: 0.5rem;}h1,h2,h3,h4,h5,h6 { margin-top: 0; margin-bottom: var(--typography-spacing-vertical); color: var(--h-color); font-weight: var(--font-weight); font-size: var(--font-size); font-family: var(--header-font-family);}pre { position: relative; border-radius: 4px; z-index: 1; margin: 0; padding: 20px 0; background: transparent; background: var(--code-bg-color, #8e96aa24); overflow: auto;}code { display: block; padding: 0 24px; width: fit-content; min-width: 100%; line-height: var(--code-line-height, 1.7); font-family: var(--code-font-family, monospace); font-size: var(--code-font-size, var(--font-size)); color: var(--code-color, #004170);}:not(pre) > code { display: inline; border-radius: 4px; background: var(--code-bg-color, #8e96aa24); padding: var(--code-padding, 3px 6px);}button,.button { display: inline-flex; position: relative; align-items: center; color: #fff; border-width: 0; outline: none; border-radius: 4px; padding: 16px; height: 36px; cursor: pointer; font-family: inherit; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1.25px; font-weight: 500; box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); transition-property: box-shadow, transform, opacity, background; transition-duration: 0.28s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);}button:hover:not([disabled]):not(.icon):not(.json-editor-btntype-*),.button:hover:not([disabled]):not(.icon) { box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12); background: var(--primary-btn-color-hover);}button,button:active,.button,.button:active { background: var(--primary-color);}button[disabled],.button[disabled] { opacity: 0.5; cursor: not-allowed;}button.block,.button.block { display: block;}button.outline,.button.outline { background: transparent; box-shadow: none; color: var(--primary-color); outline: 1px solid var(--primary-color);}button.outline:hover,.button.outline:hover { background: transparent;}button.icon,.button.icon,button[class*="json-editor-btntype-"] { background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 50%; width: 24px; height: 24px; text-indent: -9999px;}button.icon-text,.button.icon-text { text-indent: 26px;}button.icon-text.block,.button.icon-text.block { text-indent: 20px;}button.icon:before,button.icon-text:before,.button.icon:before,.button.icon-text:before { position: absolute; text-indent: 0; line-height: initial;}button.icon-text.block:before,.button.icon-text.block:before { text-indent: -54px;}button.icon:before,.button.icon:before,button[class*="json-editor-btntype-"]::before { width: 24px; height: 24px; margin-right: 0;}button.icon-text:before,.button.icon-text:before { width: 18px; height: 18px;}button.small,.button.small { height: 28px; padding: 12.4px; font-size: 0.75rem;}button.smallest.icon,button.smallest.icon::before { height: 16px; width: 16px; padding: 0;}input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}textarea { height: 90px; resize: none; border-radius: 4px; box-sizing: border-box !important; width: 100%; padding: 5px 7px; border: 1px solid var(--secondary-color); font-size: smaller; background: var(--background-color);}input[type="text"],input[type="url"],input[type="email"],input[type="password"],input[type="text"],input[type="number"],input[type="search"],input[type="tel"],select { box-sizing: border-box; width: 100%; margin-top: 0.5rem; margin-bottom: 0.5rem; padding: 5px 7px; border-radius: 4px; border: 1px solid #0004;}ul.list-wrap { padding: 0;}ul.list-wrap li:hover,ul.list-wrap li.selected { background: var(--secondary-bg-color-hover);}ul.list-wrap li { list-style: none; padding: 4px;}ul.list-wrap li { border-bottom: 1.2px solid var(--secondary-color);}ul.list-wrap li:first-child { border-top: 1.2px solid var(--secondary-color);}ul.list-wrap li .list { width: 100%; align-items: center; justify-content: space-between; display: flex; align-items: center; cursor: pointer; font-size: small; gap: 10px;}ul.list-wrap li .list span { display: flex; align-items: center; cursor: pointer; font-size: small; flex-grow: 1;}input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}input[type="range"] { -webkit-appearance: none; width: 90%; margin-left: 5%; height: 6px; border-radius: 5px; background: #d7dcdf; outline: none; padding: 0;}input[type="range"]::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; border-radius: 50%; background: #2c3e50; cursor: pointer; transition: background 0.15s ease-in-out;}.range-slider { margin: 60px 0 0 0;}.range-slider { width: 100%;}input[type="range"]::-webkit-slider-thumb:hover { background: #00416f;}input[type="range"]:active::-webkit-slider-thumb { background: #00416f;}input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #2c3e50; cursor: pointer; transition: background 0.15s ease-in-out;}input[type="range"]::-moz-range-thumb:hover { background: #00416f;}input[type="range"]:active::-moz-range-thumb { background: #00416f;}input[type="range"]:focus::-webkit-slider-thumb { box-shadow: 0 0 0 3px #fff0, 0 0 0 6px #00416f00;}.range-slider__value { display: inline-block; position: relative; width: 60px; color: #fff; line-height: 20px; text-align: center; border-radius: 3px; background: #2c3e50; padding: 5px 10px; margin-left: 8px;}.range-slider__value:after { position: absolute; top: 8px; left: -7px; width: 0; height: 0; border-top: 7px solid transparent; border-right: 7px solid #2c3e50; border-bottom: 7px solid transparent; content: "";}input::-moz-focus-inner,input::-moz-focus-outer { border: 0;}`;
|
|
1115
|
+
`, Ea = `:root,:host { --spacing: 1rem; --block-spacing-vertical: calc(var(--spacing) * 2); --block-spacing-horizontal: var(--spacing); --background-color: var(--eox-background-color, transparent); --color: var(--eox-color, #2c3d49); --h-color: var(--eox-h-color, var(--color)); --hover-transparency: var(--eox-hover-transparency, 20%); --bg-hover-transparency: var(--eox-bg-hover-transparency, 40%); --btn-hover-transparency: var(--eox-btn-hover-transparency, 80%); --primary-color: var(--eox-primary-color, #004170); --primary-color-hover: color-mix( in srgb, var(--primary-color) var(--hover-transparency), transparent ); --primary-bg-color-hover: color-mix( in srgb, var(--primary-color) var(--bg-hover-transparency), transparent ); --primary-btn-color-hover: color-mix( in srgb, var(--primary-color) var(--btn-hover-transparency), transparent ); --secondary-color: var(--eox-secondary-color, #c6d4df); --secondary-color-hover: color-mix( in srgb, var(--secondary-color) var(--hover-transparency), transparent ); --secondary-bg-color-hover: color-mix( in srgb, var(--secondary-color) var(--bg-hover-transparency), transparent ); --secondary-btn-color-hover: color-mix( in srgb, var(--secondary-color) var(--btn-hover-transparency), transparent ); --success: var(--eox-success, #26cc0f); --warning: var(--eox-warning, #f18e32); --error: var(--eox-error, #ff5252); --header-font-family: var(--eox-header-font-family, "Roboto", sans-serif); --body-font-family: var(--eox-body-font-family, "Roboto", sans-serif);}* { font-size: normal; font-family: var(--body-font-family); color: var(--eox-color);}h1,h2,h3,h4,h5,h6 { font-family: var(--header-font-family);}span,p,div,main,label { font-family: var(--body-font-family);}@media (min-width: 576px) { .container { max-width: 510px; padding-right: 0; padding-left: 0; --block-spacing-vertical: calc(var(--spacing) * 2.5); }}@media (min-width: 768px) { .container { max-width: 700px; --block-spacing-vertical: calc(var(--spacing) * 3); }}@media (min-width: 992px) { .container { max-width: 920px; --block-spacing-vertical: calc(var(--spacing) * 3.5); }}@media (min-width: 1200px) { .container { max-width: 1130px; --block-spacing-vertical: calc(var(--spacing) * 4); }}.container { width: 100%; margin-right: auto; margin-left: auto; display: block; padding: var(--block-spacing-vertical) var(--block-spacing-horizontal);}h1,h2,h3 { line-height: 120%; margin-top: 0.8rem; margin-bottom: 0.8rem;}p { --font-size: 1rem; font-weight: 400; line-height: 170%; margin-top: 0.8rem; margin-bottom: 1.6rem; font-size: var(--font-size);}body { padding: 0; margin: 0;}.sb-show-main.sb-main-padded { padding: 0;}h1,h2,h3,h4,h5,h6 { --font-weight: 700;}h1 { --font-size: 3rem; --typography-spacing-vertical: 0.5rem;}h2 { --font-size: 2rem; --typography-spacing-vertical: 0.5rem;}h3 { --font-size: 1.75rem; --typography-spacing-vertical: 0.5rem;}h4 { --font-size: 1.5rem; --typography-spacing-vertical: 0.5rem;}h5 { --font-size: 1.25rem; --typography-spacing-vertical: 0.5rem;}h1,h2,h3,h4,h5,h6 { margin-top: 0; margin-bottom: var(--typography-spacing-vertical); color: var(--h-color); font-weight: var(--font-weight); font-size: var(--font-size); font-family: var(--header-font-family);}pre { position: relative; border-radius: 4px; z-index: 1; margin: 0; padding: 20px 0; background: transparent; background: var(--code-bg-color, #8e96aa24); overflow: auto;}code { display: block; padding: 0 24px; width: fit-content; min-width: 100%; line-height: var(--code-line-height, 1.7); font-family: var(--code-font-family, monospace); font-size: var(--code-font-size, var(--font-size)); color: var(--code-color, #004170);}:not(pre) > code { display: inline; border-radius: 4px; background: var(--code-bg-color, #8e96aa24); padding: var(--code-padding, 3px 6px);}button,.button { /* TODO: why does this only work here and not from :root? */ --primary-color: #004170; --primary-color-hover: #004170cc; --error-color: #ff5252; display: inline-flex; position: relative; align-items: center; color: #fff; border-width: 0; outline: none; border-radius: 4px; padding: 16px; height: 36px; cursor: pointer; font-family: inherit; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1.25px; font-weight: 500; box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); transition-property: box-shadow, transform, opacity, background; transition-duration: 0.28s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);}button:hover:not([disabled]):not(.icon),.button:hover:not([disabled]):not(.icon) { box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12); background: var(--primary-color-hover);}button,button:active,.button,.button:active { background: var(--primary-color);}button[disabled],.button[disabled] { opacity: 0.5; cursor: not-allowed;}button.block,.button.block { display: block;}button.outline,.button.outline { background: transparent; box-shadow: none; color: var(--primary-color); outline: 1px solid var(--primary-color);}button.outline:hover,.button.outline:hover { background: transparent;}button.icon,.button.icon { background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 50%; width: 24px; height: 24px; text-indent: -9999px;}button.icon-text,.button.icon-text { text-indent: 26px;}button.icon-text.block,.button.icon-text.block { text-indent: 20px;}button.icon:before,button.icon-text:before,.button.icon:before,.button.icon-text:before { position: absolute; text-indent: 0; line-height: initial;}button.icon-text.block:before,.button.icon-text.block:before { text-indent: -54px;}button.icon:before,.button.icon:before { width: 24px; height: 24px; margin-right: 0;}button.icon-text:before,.button.icon-text:before { width: 18px; height: 18px;}button.small,.button.small { height: 28px; padding: 12.4px; font-size: 0.75rem;}button.smallest.icon,button.smallest.icon::before { height: 16px; width: 16px; padding: 0px;}input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}textarea { height: 90px; resize: none; border-radius: 4px; box-sizing: border-box !important; width: 100%; padding: 5px 7px; border: 1px solid var(--secondary-color); font-size: smaller; background: var(--background-color);}input,input[type="text"],input[type="url"],input[type="email"],input[type="password"],input[type="text"],input[type="number"],input[type="search"],input[type="tel"],select { box-sizing: border-box; width: 100%; margin-top: 0.5rem; margin-bottom: 0.5rem; padding: 5px 7px; border-radius: 4px; border: 1px solid #0004; background-color: var(--background-color);}ul.list-wrap { padding: 0;}ul.list-wrap li:hover,ul.list-wrap li.selected { background: var(--secondary-bg-color-hover);}ul.list-wrap li { list-style: none; padding: 4px;}ul.list-wrap li { border-bottom: 1.2px solid var(--secondary-color);}ul.list-wrap li:first-child { border-top: 1.2px solid var(--secondary-color);}ul.list-wrap li .list { width: 100%; align-items: center; justify-content: space-between; display: flex; align-items: center; cursor: pointer; font-size: small; gap: 10px;}ul.list-wrap li .list span { display: flex; align-items: center; cursor: pointer; font-size: small; flex-grow: 1;}input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}:root,:host { --range-slider-height: 6px; --range-slider-thumb-size: 15px; --range-slider-thumb-border-radius: 50%; --range-slider-color: #004170; --range-slider-track-color: #d7dcdf; --range-slider-track-border-radius: 0;}input[type="range"] { -webkit-appearance: none; border: none; color: var(--range-slider-color); overflow: hidden; padding-left: 0; margin-left: 7px;}/*webkit*/input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: var(--range-slider-thumb-size); height: var(--range-slider-thumb-size); border-radius: var(--range-slider-thumb-border-radius); background: var(--range-slider-color); border: none; box-shadow: none; margin-top: calc( var(--range-slider-height) * 0.5 - var(--range-slider-thumb-size) * 0.5 );}input[type="range"]::-webkit-slider-runnable-track { height: var(--range-slider-height); border: none; border-radius: var(--range-slider-track-border-radius); background: var(--range-slider-track-color); box-shadow: none;}input[type="range"]::-webkit-slider-thumb { cursor: grab; --clip-edges: 4px; --clip-top: calc( (var(--range-slider-thumb-size) - var(--range-slider-height)) * 0.5 ); --clip-bottom: calc(var(--range-slider-thumb-size) - var(--clip-top)); --clip-further: calc(100% + 1px); --box-fill: calc( -100vmax - var(--range-slider-thumb-size, var(--range-slider-thumb-size)) + 1px ) 0 0 100vmax currentColor; background: linear-gradient(currentColor 0 0) scroll no-repeat left center / 50% calc(var(--range-slider-height) + 1px); background-color: currentColor; box-shadow: var(--box-fill); border-radius: var(--range-slider-thumb-size, var(--range-slider-thumb-size)); filter: brightness(100%); clip-path: polygon( 100% -1px, var(--clip-edges) -1px, 0 var(--clip-top), -100vmax var(--clip-top), -100vmax var(--clip-bottom), 0 var(--clip-bottom), var(--clip-edges) 100%, var(--clip-further) var(--clip-further) );}/*mozilla*/input[type="range"]::-moz-range-thumb { width: var(--range-slider-thumb-size); height: var(--range-slider-thumb-size); border-radius: var(--range-slider-thumb-border-radius); background: var(--range-slider-color); border: none; box-shadow: none; cursor: grab;}input[type="range"]::-moz-range-track { border: none; border-radius: var(--range-slider-track-border-radius); background: var(--range-slider-track-color); box-shadow: none;}input[type="range"]::-moz-range-progress { appearance: none; background: currentColor; transition-delay: 30ms;}input[type="range"]::-moz-range-track,input[type="range"]::-moz-range-progress { height: calc(var(--range-slider-height)); border-radius: var(--range-slider-track-border-radius);}/*toolcool slider*/tc-range-slider { --height: var(--range-slider-height); --panel-bg: var(--range-slider-track-color); --panel-bg-hover: var(--range-slider-track-color); --panel-bg-fill: var(--range-slider-color); --panel-bg-border-radius: var(--range-slider-track-border-radius); --pointer-bg: var(--range-slider-color); --pointer-bg-hover: var(--range-slider-color); --pointer-bg-focus: var(--range-slider-color); --pointer-width: var(--range-slider-thumb-size); --pointer-height: var(--range-slider-thumb-size); --pointer-shadow: none; --pointer-shadow-hover: none; --pointer-shadow-focus: none; --pointer-border: none; --pointer-border-hover: 0; --pointer-border-focus: 0; --pointer-border-radius: var(--range-slider-thumb-border-radius);}`;
|
|
1116
1116
|
var ni, oo;
|
|
1117
1117
|
class Ca extends tt {
|
|
1118
1118
|
constructor() {
|
|
@@ -1282,7 +1282,7 @@ function Ba(t, e) {
|
|
|
1282
1282
|
};
|
|
1283
1283
|
return i(t, $t(e) ? e.split(".") : e, 0), n ? r : r[0];
|
|
1284
1284
|
}
|
|
1285
|
-
const
|
|
1285
|
+
const za = {
|
|
1286
1286
|
// Whether the matches should be included in the result set. When `true`, each record in the result
|
|
1287
1287
|
// set will include the indices of the matched characters.
|
|
1288
1288
|
// These can consequently be used for highlighting purposes.
|
|
@@ -1292,7 +1292,7 @@ const Ua = {
|
|
|
1292
1292
|
findAllMatches: !1,
|
|
1293
1293
|
// Minimum number of characters that must be matched before a result is considered a match
|
|
1294
1294
|
minMatchCharLength: 1
|
|
1295
|
-
},
|
|
1295
|
+
}, Ua = {
|
|
1296
1296
|
// When `true`, the algorithm continues searching to the end of the input even if a perfect
|
|
1297
1297
|
// match is found before the end of the same input.
|
|
1298
1298
|
isCaseSensitive: !1,
|
|
@@ -1334,8 +1334,8 @@ const Ua = {
|
|
|
1334
1334
|
fieldNormWeight: 1
|
|
1335
1335
|
};
|
|
1336
1336
|
var Q = {
|
|
1337
|
-
...za,
|
|
1338
1337
|
...Ua,
|
|
1338
|
+
...za,
|
|
1339
1339
|
...qa,
|
|
1340
1340
|
...Wa
|
|
1341
1341
|
};
|
|
@@ -1494,18 +1494,18 @@ function Fa(t, e, r, {
|
|
|
1494
1494
|
const g = e.length, y = t.length, w = Math.max(0, Math.min(n, y));
|
|
1495
1495
|
let b = s, A = w;
|
|
1496
1496
|
const k = l > 1 || c, W = k ? Array(y) : [];
|
|
1497
|
-
let
|
|
1498
|
-
for (; (
|
|
1497
|
+
let z;
|
|
1498
|
+
for (; (z = t.indexOf(e, A)) > -1; ) {
|
|
1499
1499
|
let ge = Wn(e, {
|
|
1500
|
-
currentLocation:
|
|
1500
|
+
currentLocation: z,
|
|
1501
1501
|
expectedLocation: w,
|
|
1502
1502
|
distance: i,
|
|
1503
1503
|
ignoreLocation: d
|
|
1504
1504
|
});
|
|
1505
|
-
if (b = Math.min(ge, b), A =
|
|
1505
|
+
if (b = Math.min(ge, b), A = z + g, k) {
|
|
1506
1506
|
let ve = 0;
|
|
1507
1507
|
for (; ve < g; )
|
|
1508
|
-
W[
|
|
1508
|
+
W[z + ve] = 1, ve += 1;
|
|
1509
1509
|
}
|
|
1510
1510
|
}
|
|
1511
1511
|
A = -1;
|
|
@@ -1627,7 +1627,7 @@ class fo {
|
|
|
1627
1627
|
} = this.options;
|
|
1628
1628
|
let g = [], y = 0, w = !1;
|
|
1629
1629
|
this.chunks.forEach(({ pattern: A, alphabet: k, startIndex: W }) => {
|
|
1630
|
-
const { isMatch:
|
|
1630
|
+
const { isMatch: z, score: ie, indices: ee } = Fa(e, A, k, {
|
|
1631
1631
|
location: i + W,
|
|
1632
1632
|
distance: s,
|
|
1633
1633
|
threshold: o,
|
|
@@ -1636,7 +1636,7 @@ class fo {
|
|
|
1636
1636
|
includeMatches: n,
|
|
1637
1637
|
ignoreLocation: d
|
|
1638
1638
|
});
|
|
1639
|
-
|
|
1639
|
+
z && (w = !0), y += ie, z && ee && (g = [...g, ...ee]);
|
|
1640
1640
|
});
|
|
1641
1641
|
let b = {
|
|
1642
1642
|
isMatch: w,
|
|
@@ -1932,8 +1932,8 @@ class al {
|
|
|
1932
1932
|
const b = g[y], { isMatch: A, indices: k, score: W } = b.search(e);
|
|
1933
1933
|
if (A) {
|
|
1934
1934
|
if (s += 1, l += W, n) {
|
|
1935
|
-
const
|
|
1936
|
-
ol.has(
|
|
1935
|
+
const z = b.constructor.type;
|
|
1936
|
+
ol.has(z) ? o = [...o, ...k] : o.push(k);
|
|
1937
1937
|
}
|
|
1938
1938
|
} else {
|
|
1939
1939
|
l = 0, s = 0, o.length = 0;
|
|
@@ -1969,10 +1969,10 @@ function Bi(t, e) {
|
|
|
1969
1969
|
const Jn = {
|
|
1970
1970
|
AND: "$and",
|
|
1971
1971
|
OR: "$or"
|
|
1972
|
-
},
|
|
1972
|
+
}, zi = {
|
|
1973
1973
|
PATH: "$path",
|
|
1974
1974
|
PATTERN: "$val"
|
|
1975
|
-
},
|
|
1975
|
+
}, Ui = (t) => !!(t[Jn.AND] || t[Jn.OR]), cl = (t) => !!t[zi.PATH], ul = (t) => !Dt(t) && lo(t) && !Ui(t), Ls = (t) => ({
|
|
1976
1976
|
[Jn.AND]: Object.keys(t).map((e) => ({
|
|
1977
1977
|
[e]: t[e]
|
|
1978
1978
|
}))
|
|
@@ -1981,10 +1981,10 @@ function yo(t, e, { auto: r = !0 } = {}) {
|
|
|
1981
1981
|
const n = (i) => {
|
|
1982
1982
|
let s = Object.keys(i);
|
|
1983
1983
|
const o = cl(i);
|
|
1984
|
-
if (!o && s.length > 1 && !
|
|
1984
|
+
if (!o && s.length > 1 && !Ui(i))
|
|
1985
1985
|
return n(Ls(i));
|
|
1986
1986
|
if (ul(i)) {
|
|
1987
|
-
const c = o ? i[
|
|
1987
|
+
const c = o ? i[zi.PATH] : s[0], d = o ? i[zi.PATTERN] : i[c];
|
|
1988
1988
|
if (!$t(d))
|
|
1989
1989
|
throw new Error(Da(c));
|
|
1990
1990
|
const g = {
|
|
@@ -2004,7 +2004,7 @@ function yo(t, e, { auto: r = !0 } = {}) {
|
|
|
2004
2004
|
});
|
|
2005
2005
|
}), l;
|
|
2006
2006
|
};
|
|
2007
|
-
return
|
|
2007
|
+
return Ui(t) || (t = Ls(t)), n(t);
|
|
2008
2008
|
}
|
|
2009
2009
|
function dl(t, { ignoreFieldNorm: e = Q.ignoreFieldNorm }) {
|
|
2010
2010
|
t.forEach((r) => {
|
|
@@ -2312,13 +2312,13 @@ const wl = async (t, e, r) => {
|
|
|
2312
2312
|
for (let k = 0; k < l.length; k++) {
|
|
2313
2313
|
const {
|
|
2314
2314
|
name: W,
|
|
2315
|
-
fn:
|
|
2315
|
+
fn: z
|
|
2316
2316
|
} = l[k], {
|
|
2317
2317
|
x: ie,
|
|
2318
2318
|
y: ee,
|
|
2319
2319
|
data: pe,
|
|
2320
2320
|
reset: R
|
|
2321
|
-
} = await
|
|
2321
|
+
} = await z({
|
|
2322
2322
|
x: g,
|
|
2323
2323
|
y,
|
|
2324
2324
|
initialPlacement: n,
|
|
@@ -2514,7 +2514,7 @@ function hr(t, e, r, n) {
|
|
|
2514
2514
|
const w = st(s), b = n && pt(n) ? st(n) : n;
|
|
2515
2515
|
let A = w, k = Wi(A);
|
|
2516
2516
|
for (; k && n && b !== A; ) {
|
|
2517
|
-
const W = Nr(k),
|
|
2517
|
+
const W = Nr(k), z = k.getBoundingClientRect(), ie = gt(k), ee = z.left + (k.clientLeft + parseFloat(ie.paddingLeft)) * W.x, pe = z.top + (k.clientTop + parseFloat(ie.paddingTop)) * W.y;
|
|
2518
2518
|
c *= W.x, d *= W.y, g *= W.x, y *= W.y, c += ee, d += pe, A = st(k), k = Wi(A);
|
|
2519
2519
|
}
|
|
2520
2520
|
}
|
|
@@ -2800,15 +2800,15 @@ function Hl(t, e, r, n) {
|
|
|
2800
2800
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
2801
2801
|
animationFrame: c = !1
|
|
2802
2802
|
} = n, d = ds(t), g = i || s ? [...d ? xn(d) : [], ...xn(e)] : [];
|
|
2803
|
-
g.forEach((
|
|
2804
|
-
i &&
|
|
2803
|
+
g.forEach((z) => {
|
|
2804
|
+
i && z.addEventListener("scroll", r, {
|
|
2805
2805
|
passive: !0
|
|
2806
|
-
}), s &&
|
|
2806
|
+
}), s && z.addEventListener("resize", r);
|
|
2807
2807
|
});
|
|
2808
2808
|
const y = d && l ? Nl(d, r) : null;
|
|
2809
2809
|
let w = -1, b = null;
|
|
2810
|
-
o && (b = new ResizeObserver((
|
|
2811
|
-
let [ie] =
|
|
2810
|
+
o && (b = new ResizeObserver((z) => {
|
|
2811
|
+
let [ie] = z;
|
|
2812
2812
|
ie && ie.target === d && b && (b.unobserve(e), cancelAnimationFrame(w), w = requestAnimationFrame(() => {
|
|
2813
2813
|
var ee;
|
|
2814
2814
|
(ee = b) == null || ee.observe(e);
|
|
@@ -2817,14 +2817,14 @@ function Hl(t, e, r, n) {
|
|
|
2817
2817
|
let A, k = c ? hr(t) : null;
|
|
2818
2818
|
c && W();
|
|
2819
2819
|
function W() {
|
|
2820
|
-
const
|
|
2821
|
-
k && (
|
|
2820
|
+
const z = hr(t);
|
|
2821
|
+
k && (z.x !== k.x || z.y !== k.y || z.width !== k.width || z.height !== k.height) && r(), k = z, A = requestAnimationFrame(W);
|
|
2822
2822
|
}
|
|
2823
2823
|
return r(), () => {
|
|
2824
|
-
var
|
|
2824
|
+
var z;
|
|
2825
2825
|
g.forEach((ie) => {
|
|
2826
2826
|
i && ie.removeEventListener("scroll", r), s && ie.removeEventListener("resize", r);
|
|
2827
|
-
}), y == null || y(), (
|
|
2827
|
+
}), y == null || y(), (z = b) == null || z.disconnect(), b = null, c && cancelAnimationFrame(A);
|
|
2828
2828
|
};
|
|
2829
2829
|
}
|
|
2830
2830
|
const Il = (t, e, r) => {
|
|
@@ -2863,10 +2863,10 @@ function Co(t) {
|
|
|
2863
2863
|
"#eox-itemfilter-input-search"
|
|
2864
2864
|
).value = "", bo({ target: { value: "" } }, t);
|
|
2865
2865
|
}
|
|
2866
|
-
function
|
|
2866
|
+
function zl(t, e) {
|
|
2867
2867
|
e.inlineMode && t.stopPropagation();
|
|
2868
2868
|
}
|
|
2869
|
-
function
|
|
2869
|
+
function Ul(t) {
|
|
2870
2870
|
t.inlineMode && (t.showDropdown = !0);
|
|
2871
2871
|
}
|
|
2872
2872
|
function ql(t, e) {
|
|
@@ -2997,8 +2997,7 @@ function ut(t, e, r = {}) {
|
|
|
2997
2997
|
let c = !1;
|
|
2998
2998
|
for (var d = 0; d < l.length; ++d) {
|
|
2999
2999
|
const g = Kl(n, l[d]);
|
|
3000
|
-
if (g === 0)
|
|
3001
|
-
return !r.ignoreBoundary;
|
|
3000
|
+
if (g === 0) return !r.ignoreBoundary;
|
|
3002
3001
|
g && (c = !0);
|
|
3003
3002
|
}
|
|
3004
3003
|
return c;
|
|
@@ -3129,7 +3128,7 @@ function ic(t, e) {
|
|
|
3129
3128
|
}
|
|
3130
3129
|
var sc = ic;
|
|
3131
3130
|
function fs(t, e, r = {}) {
|
|
3132
|
-
const { removeDuplicates: n = !0, ignoreSelfIntersections: i = !
|
|
3131
|
+
const { removeDuplicates: n = !0, ignoreSelfIntersections: i = !0 } = r;
|
|
3133
3132
|
let s = [];
|
|
3134
3133
|
t.type === "FeatureCollection" ? s = s.concat(t.features) : t.type === "Feature" ? s.push(t) : (t.type === "LineString" || t.type === "Polygon" || t.type === "MultiLineString" || t.type === "MultiPolygon") && s.push(fr(t)), e.type === "FeatureCollection" ? s = s.concat(e.features) : e.type === "Feature" ? s.push(e) : (e.type === "LineString" || e.type === "Polygon" || e.type === "MultiLineString" || e.type === "MultiPolygon") && s.push(fr(e));
|
|
3135
3134
|
const o = sc(
|
|
@@ -3149,8 +3148,8 @@ function fs(t, e, r = {}) {
|
|
|
3149
3148
|
}
|
|
3150
3149
|
function To(t, e, r) {
|
|
3151
3150
|
if (t !== null)
|
|
3152
|
-
for (var n, i, s, o, l, c, d, g = 0, y = 0, w, b = t.type, A = b === "FeatureCollection", k = b === "Feature", W = A ? t.features.length : 1,
|
|
3153
|
-
d = A ? t.features[
|
|
3151
|
+
for (var n, i, s, o, l, c, d, g = 0, y = 0, w, b = t.type, A = b === "FeatureCollection", k = b === "Feature", W = A ? t.features.length : 1, z = 0; z < W; z++) {
|
|
3152
|
+
d = A ? t.features[z].geometry : k ? t.geometry : t, w = d ? d.type === "GeometryCollection" : !1, l = w ? d.geometries.length : 1;
|
|
3154
3153
|
for (var ie = 0; ie < l; ie++) {
|
|
3155
3154
|
var ee = 0, pe = 0;
|
|
3156
3155
|
if (o = w ? d.geometries[ie] : d, o !== null) {
|
|
@@ -3163,7 +3162,7 @@ function To(t, e, r) {
|
|
|
3163
3162
|
if (e(
|
|
3164
3163
|
c,
|
|
3165
3164
|
y,
|
|
3166
|
-
|
|
3165
|
+
z,
|
|
3167
3166
|
ee,
|
|
3168
3167
|
pe
|
|
3169
3168
|
) === !1)
|
|
@@ -3176,7 +3175,7 @@ function To(t, e, r) {
|
|
|
3176
3175
|
if (e(
|
|
3177
3176
|
c[n],
|
|
3178
3177
|
y,
|
|
3179
|
-
|
|
3178
|
+
z,
|
|
3180
3179
|
ee,
|
|
3181
3180
|
pe
|
|
3182
3181
|
) === !1)
|
|
@@ -3192,7 +3191,7 @@ function To(t, e, r) {
|
|
|
3192
3191
|
if (e(
|
|
3193
3192
|
c[n][i],
|
|
3194
3193
|
y,
|
|
3195
|
-
|
|
3194
|
+
z,
|
|
3196
3195
|
ee,
|
|
3197
3196
|
pe
|
|
3198
3197
|
) === !1)
|
|
@@ -3210,7 +3209,7 @@ function To(t, e, r) {
|
|
|
3210
3209
|
if (e(
|
|
3211
3210
|
c[n][i][s],
|
|
3212
3211
|
y,
|
|
3213
|
-
|
|
3212
|
+
z,
|
|
3214
3213
|
ee,
|
|
3215
3214
|
pe
|
|
3216
3215
|
) === !1)
|
|
@@ -3345,21 +3344,21 @@ function lc(t, e = {}) {
|
|
|
3345
3344
|
function Ro(t, e) {
|
|
3346
3345
|
return t.length > 1 ? Fl(t, e) : Yl(t[0], e);
|
|
3347
3346
|
}
|
|
3348
|
-
function cc(t, e,
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
let
|
|
3352
|
-
return ei(t, (
|
|
3353
|
-
ei(e, (
|
|
3354
|
-
if (
|
|
3347
|
+
function cc(t, e, {
|
|
3348
|
+
ignoreSelfIntersections: r = !0
|
|
3349
|
+
} = { ignoreSelfIntersections: !0 }) {
|
|
3350
|
+
let n = !0;
|
|
3351
|
+
return ei(t, (i) => {
|
|
3352
|
+
ei(e, (s) => {
|
|
3353
|
+
if (n === !1)
|
|
3355
3354
|
return !1;
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3355
|
+
n = uc(
|
|
3356
|
+
i.geometry,
|
|
3357
|
+
s.geometry,
|
|
3358
|
+
r
|
|
3360
3359
|
);
|
|
3361
3360
|
});
|
|
3362
|
-
}),
|
|
3361
|
+
}), n;
|
|
3363
3362
|
}
|
|
3364
3363
|
function uc(t, e, r) {
|
|
3365
3364
|
switch (t.type) {
|
|
@@ -3438,19 +3437,19 @@ function fc(t, e, r) {
|
|
|
3438
3437
|
function pc(t, e) {
|
|
3439
3438
|
return t[0] === e[0] && t[1] === e[1];
|
|
3440
3439
|
}
|
|
3441
|
-
function gc(t, e,
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
let
|
|
3445
|
-
return ei(t, (
|
|
3446
|
-
ei(e, (
|
|
3447
|
-
if (
|
|
3440
|
+
function gc(t, e, {
|
|
3441
|
+
ignoreSelfIntersections: r = !0
|
|
3442
|
+
} = {}) {
|
|
3443
|
+
let n = !1;
|
|
3444
|
+
return ei(t, (i) => {
|
|
3445
|
+
ei(e, (s) => {
|
|
3446
|
+
if (n === !0)
|
|
3448
3447
|
return !0;
|
|
3449
|
-
|
|
3450
|
-
ignoreSelfIntersections:
|
|
3448
|
+
n = !cc(i.geometry, s.geometry, {
|
|
3449
|
+
ignoreSelfIntersections: r
|
|
3451
3450
|
});
|
|
3452
3451
|
});
|
|
3453
|
-
}),
|
|
3452
|
+
}), n;
|
|
3454
3453
|
}
|
|
3455
3454
|
var yc = gc;
|
|
3456
3455
|
function ti(t, e = {}) {
|
|
@@ -3483,6 +3482,8 @@ function bc(t, e, r, n, i) {
|
|
|
3483
3482
|
return !1;
|
|
3484
3483
|
} else if (k !== 0)
|
|
3485
3484
|
return !1;
|
|
3485
|
+
if (Math.abs(b) === Math.abs(A) && Math.abs(b) === 0)
|
|
3486
|
+
return n ? !1 : r[0] === t[0] && r[1] === t[1];
|
|
3486
3487
|
if (n) {
|
|
3487
3488
|
if (n === "start")
|
|
3488
3489
|
return Math.abs(b) >= Math.abs(A) ? b > 0 ? l < s && s <= d : d <= s && s < l : A > 0 ? c < o && o <= g : g <= o && o < c;
|
|
@@ -3674,7 +3675,7 @@ function Tc() {
|
|
|
3674
3675
|
(function(r, n) {
|
|
3675
3676
|
t.exports = n();
|
|
3676
3677
|
})(Pc, function() {
|
|
3677
|
-
var r = 1e3, n = 6e4, i = 36e5, s = "millisecond", o = "second", l = "minute", c = "hour", d = "day", g = "week", y = "month", w = "quarter", b = "year", A = "date", k = "Invalid Date", W = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
|
|
3678
|
+
var r = 1e3, n = 6e4, i = 36e5, s = "millisecond", o = "second", l = "minute", c = "hour", d = "day", g = "week", y = "month", w = "quarter", b = "year", A = "date", k = "Invalid Date", W = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, z = /\[([^\]]+)]|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, ie = { 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(P) {
|
|
3678
3679
|
var C = ["th", "st", "nd", "rd"], S = P % 100;
|
|
3679
3680
|
return "[" + P + (C[(S - 20) % 10] || C[S] || C[0]) + "]";
|
|
3680
3681
|
} }, ee = function(P, C, S) {
|
|
@@ -3824,7 +3825,7 @@ function Tc() {
|
|
|
3824
3825
|
var me = ne < 12 ? "AM" : "PM";
|
|
3825
3826
|
return ot ? me.toLowerCase() : me;
|
|
3826
3827
|
};
|
|
3827
|
-
return V.replace(
|
|
3828
|
+
return V.replace(z, function(ne, De) {
|
|
3828
3829
|
return De || function(ot) {
|
|
3829
3830
|
switch (ot) {
|
|
3830
3831
|
case "YY":
|
|
@@ -4074,7 +4075,7 @@ function hi(t) {
|
|
|
4074
4075
|
}
|
|
4075
4076
|
return delete t.stringifiedState, delete t.dirty, t;
|
|
4076
4077
|
}
|
|
4077
|
-
function
|
|
4078
|
+
function zs(t, e) {
|
|
4078
4079
|
return t * 2 + e;
|
|
4079
4080
|
}
|
|
4080
4081
|
function Nc(t) {
|
|
@@ -4108,7 +4109,7 @@ function No(t, e, r) {
|
|
|
4108
4109
|
function _n(t, e) {
|
|
4109
4110
|
return t != null && t.includes(".") ? t.split(".").reduce((r, n) => r && r[n], e) : e[t];
|
|
4110
4111
|
}
|
|
4111
|
-
var Ce, Ho, Yi, Fi, Io, Zi, Xi, Bo, Ji,
|
|
4112
|
+
var Ce, Ho, Yi, Fi, Io, Zi, Xi, Bo, Ji, zo, Uo;
|
|
4112
4113
|
class Ic extends tt {
|
|
4113
4114
|
constructor() {
|
|
4114
4115
|
super();
|
|
@@ -4184,7 +4185,7 @@ class Ic extends tt {
|
|
|
4184
4185
|
<eox-itemfilter-chips
|
|
4185
4186
|
.items=${Nc(this.filters)}
|
|
4186
4187
|
.controller=${{
|
|
4187
|
-
remove: (r) => ye(this, Ce,
|
|
4188
|
+
remove: (r) => ye(this, Ce, zo).call(this, r)
|
|
4188
4189
|
}}
|
|
4189
4190
|
>
|
|
4190
4191
|
</eox-itemfilter-chips>
|
|
@@ -4209,7 +4210,7 @@ class Ic extends tt {
|
|
|
4209
4210
|
type="text"
|
|
4210
4211
|
@click="${ye(this, Ce, Xi)}"
|
|
4211
4212
|
@focus="${ye(this, Ce, Bo)}"
|
|
4212
|
-
@input="${ye(this, Ce,
|
|
4213
|
+
@input="${ye(this, Ce, Uo)}"
|
|
4213
4214
|
placeholder="Search and add filter"
|
|
4214
4215
|
aria-haspopup="true"
|
|
4215
4216
|
aria-expanded="${this.showDropdown}"
|
|
@@ -4274,7 +4275,7 @@ Xi = function(r) {
|
|
|
4274
4275
|
* @private
|
|
4275
4276
|
*/
|
|
4276
4277
|
Bo = function() {
|
|
4277
|
-
|
|
4278
|
+
Ul(this);
|
|
4278
4279
|
}, /**
|
|
4279
4280
|
* Handles click events on the form to prevent closing the dropdown.
|
|
4280
4281
|
*
|
|
@@ -4282,14 +4283,14 @@ Bo = function() {
|
|
|
4282
4283
|
* @private
|
|
4283
4284
|
*/
|
|
4284
4285
|
Ji = function(r) {
|
|
4285
|
-
|
|
4286
|
+
zl(r, this);
|
|
4286
4287
|
}, /**
|
|
4287
4288
|
* Resets the filter using the resetFilterMethod.
|
|
4288
4289
|
*
|
|
4289
4290
|
* @param {Event} event - The reset event.
|
|
4290
4291
|
* @private
|
|
4291
4292
|
*/
|
|
4292
|
-
|
|
4293
|
+
zo = function(r) {
|
|
4293
4294
|
gl(r, this);
|
|
4294
4295
|
}, /**
|
|
4295
4296
|
* Searches the filter using the searchFilterMethod.
|
|
@@ -4297,14 +4298,14 @@ Uo = function(r) {
|
|
|
4297
4298
|
* @param {Event} event - The search event.
|
|
4298
4299
|
* @private
|
|
4299
4300
|
*/
|
|
4300
|
-
|
|
4301
|
+
Uo = function(r) {
|
|
4301
4302
|
bo(r, this);
|
|
4302
4303
|
};
|
|
4303
4304
|
customElements.define("eox-itemfilter-container", Ic);
|
|
4304
|
-
var Ti,
|
|
4305
|
+
var Ti, Us;
|
|
4305
4306
|
function Bc() {
|
|
4306
|
-
if (
|
|
4307
|
-
|
|
4307
|
+
if (Us) return Ti;
|
|
4308
|
+
Us = 1;
|
|
4308
4309
|
var t = "Expected a function", e = NaN, r = "[object Symbol]", n = /^\s+|\s+$/g, i = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, o = /^0o[0-7]+$/i, l = parseInt, c = typeof ct == "object" && ct && ct.Object === Object && ct, d = typeof self == "object" && self && self.Object === Object && self, g = c || d || Function("return this")(), y = Object.prototype, w = y.toString, b = Math.max, A = Math.min, k = function() {
|
|
4309
4310
|
return g.Date.now();
|
|
4310
4311
|
};
|
|
@@ -4312,7 +4313,7 @@ function Bc() {
|
|
|
4312
4313
|
var ve, ke, de, J, we, Ie, P = 0, C = !1, S = !1, H = !0;
|
|
4313
4314
|
if (typeof R != "function")
|
|
4314
4315
|
throw new TypeError(t);
|
|
4315
|
-
oe = pe(oe) || 0,
|
|
4316
|
+
oe = pe(oe) || 0, z(ge) && (C = !!ge.leading, S = "maxWait" in ge, de = S ? b(pe(ge.maxWait) || 0, oe) : de, H = "trailing" in ge ? !!ge.trailing : H);
|
|
4316
4317
|
function L(te) {
|
|
4317
4318
|
var Z = ve, $e = ke;
|
|
4318
4319
|
return ve = ke = void 0, P = te, J = R.apply($e, Z), J;
|
|
@@ -4355,7 +4356,7 @@ function Bc() {
|
|
|
4355
4356
|
}
|
|
4356
4357
|
return Le.cancel = Re, Le.flush = Ne, Le;
|
|
4357
4358
|
}
|
|
4358
|
-
function
|
|
4359
|
+
function z(R) {
|
|
4359
4360
|
var oe = typeof R;
|
|
4360
4361
|
return !!R && (oe == "object" || oe == "function");
|
|
4361
4362
|
}
|
|
@@ -4370,9 +4371,9 @@ function Bc() {
|
|
|
4370
4371
|
return R;
|
|
4371
4372
|
if (ee(R))
|
|
4372
4373
|
return e;
|
|
4373
|
-
if (
|
|
4374
|
+
if (z(R)) {
|
|
4374
4375
|
var oe = typeof R.valueOf == "function" ? R.valueOf() : R;
|
|
4375
|
-
R =
|
|
4376
|
+
R = z(oe) ? oe + "" : oe;
|
|
4376
4377
|
}
|
|
4377
4378
|
if (typeof R != "string")
|
|
4378
4379
|
return R === 0 ? R : +R;
|
|
@@ -4382,9 +4383,9 @@ function Bc() {
|
|
|
4382
4383
|
}
|
|
4383
4384
|
return Ti = W, Ti;
|
|
4384
4385
|
}
|
|
4385
|
-
var
|
|
4386
|
-
const fi = /* @__PURE__ */ di(
|
|
4387
|
-
function
|
|
4386
|
+
var zc = Bc();
|
|
4387
|
+
const fi = /* @__PURE__ */ di(zc);
|
|
4388
|
+
function Uc(t) {
|
|
4388
4389
|
const e = t.renderRoot.querySelector("input[type='text']");
|
|
4389
4390
|
e.value = "", hi(t.filterObject), t.requestUpdate();
|
|
4390
4391
|
}
|
|
@@ -4567,7 +4568,7 @@ class nu extends tt {
|
|
|
4567
4568
|
* Resets the text input by calling the resetTextMethod with the current context.
|
|
4568
4569
|
*/
|
|
4569
4570
|
reset() {
|
|
4570
|
-
|
|
4571
|
+
Uc(this);
|
|
4571
4572
|
}
|
|
4572
4573
|
/**
|
|
4573
4574
|
* Overrides the default createRenderRoot method to render in the light DOM.
|
|
@@ -4718,8 +4719,8 @@ const Ws = (t, e, r) => {
|
|
|
4718
4719
|
else if (d === void 0 && (d = Ws(o, b, A), g = Ws(l, y, w)), d.has(l[y])) if (d.has(l[w])) {
|
|
4719
4720
|
const k = g.get(o[b]), W = k !== void 0 ? i[k] : null;
|
|
4720
4721
|
if (W === null) {
|
|
4721
|
-
const
|
|
4722
|
-
ar(
|
|
4722
|
+
const z = pn(t, i[y]);
|
|
4723
|
+
ar(z, s[b]), c[b] = z;
|
|
4723
4724
|
} else c[b] = ar(W, s[b]), pn(t, i[y], W), i[k] = null;
|
|
4724
4725
|
b++;
|
|
4725
4726
|
} else Ri(i[w]), w--;
|
|
@@ -4732,7 +4733,7 @@ const Ws = (t, e, r) => {
|
|
|
4732
4733
|
const k = i[y++];
|
|
4733
4734
|
k !== null && Ri(k);
|
|
4734
4735
|
}
|
|
4735
|
-
return this.ut = o, au(t, c),
|
|
4736
|
+
return this.ut = o, au(t, c), Ut;
|
|
4736
4737
|
}
|
|
4737
4738
|
});
|
|
4738
4739
|
/**
|
|
@@ -4746,7 +4747,7 @@ class es extends Yo {
|
|
|
4746
4747
|
}
|
|
4747
4748
|
render(e) {
|
|
4748
4749
|
if (e === Me || e == null) return this._t = void 0, this.it = e;
|
|
4749
|
-
if (e ===
|
|
4750
|
+
if (e === Ut) return e;
|
|
4750
4751
|
if (typeof e != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
4751
4752
|
if (e === this.it) return this._t;
|
|
4752
4753
|
this.it = e;
|
|
@@ -5083,7 +5084,7 @@ hn(Xo, "properties", {
|
|
|
5083
5084
|
});
|
|
5084
5085
|
customElements.define("eox-itemfilter-select", Xo);
|
|
5085
5086
|
(() => {
|
|
5086
|
-
var t = Object.defineProperty, e = Math.pow, r = (u, p, _) => p in u ? t(u, p, { enumerable: !0, configurable: !0, writable: !0, value: _ }) : u[p] = _, n = (u, p, _) => (r(u, typeof p != "symbol" ? p + "" : p, _), _), i = (u, p) => ` ${p && p.length > 0 ? p.map((_) => `<link rel="stylesheet" href="${_}" />`).join("") : ""} <style> ${u} </style> <div class="range-slider-box"> <div class="row"> <div id="range-slider" class="range-slider"> <div class="container"> <div class="panel"></div> <div class="panel-fill"></div> <div class="container"> <div class="pointer" tabindex="0" role="slider"> <div class="pointer-shape"></div> </div> </div> </div> </div> </div> </div>`, s = ":host{--width:300px;--height:.25rem;--opacity:.4;--panel-bg:#cbd5e1;--panel-bg-hover:#94a3b8;--panel-bg-fill:#475569;--panel-bg-border-radius:1rem;--pointer-width:1rem;--pointer-height:1rem;--pointer-bg:#fff;--pointer-bg-hover:#dcdcdc;--pointer-bg-focus:#dcdcdc;--pointer-shadow:0 0 2px rgba(0,0,0,0.8);--pointer-shadow-hover:0 0 2px #000;--pointer-shadow-focus:var(--pointer-shadow-hover);--pointer-border:1px solid hsla(0,0%,88%,0.5);--pointer-border-hover:1px solid #94a3b8;--pointer-border-focus:var(--pointer-border-hover);--pointer-border-radius:100%;--animate-onclick:.3s}:host{max-width:100%}.range-slider-box{display:flex;position:relative;flex-direction:column}.range-slider{position:relative;width:var(--width,100%);height:var(--height,0.25rem);touch-action:none;max-width:100%;box-sizing:border-box;cursor:pointer}.row{width:100%;display:flex;align-items:center}.range-slider.disabled{opacity:var(--opacity,0.4);cursor:default}.pointer.disabled{-webkit-filter:brightness(0.8);filter:brightness(0.8);cursor:default}.range-slider *{box-sizing:border-box}.container{position:absolute;width:100%;height:100%}.panel{position:absolute;z-index:10;width:100%;height:100%;background:var(--panel-bg,#2d4373);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;transition:.3s all ease}.panel-fill{background:var(--panel-bg-fill,#000);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;height:100%;position:absolute;z-index:10}.panel:hover{background:var(--panel-bg-hover,#5f79b7)}.disabled .panel:hover{background:var(--panel-bg,#5f79b7)}.pointer{position:absolute;z-index:20;outline:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;box-shadow:var(--pointer-shadow);border:var(--pointer-border);border-radius:var(--pointer-border-radius,100%);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:var(--pointer-width,15px);height:var(--pointer-height,15px);transition:.3s all ease}.pointer-shape:hover{background:var(--pointer-bg-hover,#fff);background-size:contain;border:var(--pointer-border-hover);box-shadow:var(--pointer-shadow-hover)}.disabled .pointer-shape:hover{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.pointer:focus .pointer-shape{background:var(--pointer-bg-focus,#fff);background-size:contain;border:var(--pointer-border-focus);box-shadow:var(--pointer-shadow-focus)}.disabled .pointer:focus .pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.type-vertical .range-slider{--width:.25rem;--height:300px;max-height:100%}.type-vertical .range-slider .pointer{left:50%}.type-vertical .range-slider .panel-fill{width:100%}.type-vertical.range-slider-box{flex-direction:row}.type-vertical .row{flex-direction:column}.animate-on-click .pointer,.animate-on-click .panel-fill{transition:all var(--animate-onclick)}.range-dragging .panel-fill{cursor:move}", o = "pointers-overlap", l = "pointers-min-distance", c = "pointers-max-distance", d = "range-dragging", g = "data", y = "min", w = "max", b = "step", A = "round", k = "type", W = "theme",
|
|
5087
|
+
var t = Object.defineProperty, e = Math.pow, r = (u, p, _) => p in u ? t(u, p, { enumerable: !0, configurable: !0, writable: !0, value: _ }) : u[p] = _, n = (u, p, _) => (r(u, typeof p != "symbol" ? p + "" : p, _), _), i = (u, p) => ` ${p && p.length > 0 ? p.map((_) => `<link rel="stylesheet" href="${_}" />`).join("") : ""} <style> ${u} </style> <div class="range-slider-box"> <div class="row"> <div id="range-slider" class="range-slider"> <div class="container"> <div class="panel"></div> <div class="panel-fill"></div> <div class="container"> <div class="pointer" tabindex="0" role="slider"> <div class="pointer-shape"></div> </div> </div> </div> </div> </div> </div>`, s = ":host{--width:300px;--height:.25rem;--opacity:.4;--panel-bg:#cbd5e1;--panel-bg-hover:#94a3b8;--panel-bg-fill:#475569;--panel-bg-border-radius:1rem;--pointer-width:1rem;--pointer-height:1rem;--pointer-bg:#fff;--pointer-bg-hover:#dcdcdc;--pointer-bg-focus:#dcdcdc;--pointer-shadow:0 0 2px rgba(0,0,0,0.8);--pointer-shadow-hover:0 0 2px #000;--pointer-shadow-focus:var(--pointer-shadow-hover);--pointer-border:1px solid hsla(0,0%,88%,0.5);--pointer-border-hover:1px solid #94a3b8;--pointer-border-focus:var(--pointer-border-hover);--pointer-border-radius:100%;--animate-onclick:.3s}:host{max-width:100%}.range-slider-box{display:flex;position:relative;flex-direction:column}.range-slider{position:relative;width:var(--width,100%);height:var(--height,0.25rem);touch-action:none;max-width:100%;box-sizing:border-box;cursor:pointer}.row{width:100%;display:flex;align-items:center}.range-slider.disabled{opacity:var(--opacity,0.4);cursor:default}.pointer.disabled{-webkit-filter:brightness(0.8);filter:brightness(0.8);cursor:default}.range-slider *{box-sizing:border-box}.container{position:absolute;width:100%;height:100%}.panel{position:absolute;z-index:10;width:100%;height:100%;background:var(--panel-bg,#2d4373);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;transition:.3s all ease}.panel-fill{background:var(--panel-bg-fill,#000);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;height:100%;position:absolute;z-index:10}.panel:hover{background:var(--panel-bg-hover,#5f79b7)}.disabled .panel:hover{background:var(--panel-bg,#5f79b7)}.pointer{position:absolute;z-index:20;outline:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;box-shadow:var(--pointer-shadow);border:var(--pointer-border);border-radius:var(--pointer-border-radius,100%);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:var(--pointer-width,15px);height:var(--pointer-height,15px);transition:.3s all ease}.pointer-shape:hover{background:var(--pointer-bg-hover,#fff);background-size:contain;border:var(--pointer-border-hover);box-shadow:var(--pointer-shadow-hover)}.disabled .pointer-shape:hover{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.pointer:focus .pointer-shape{background:var(--pointer-bg-focus,#fff);background-size:contain;border:var(--pointer-border-focus);box-shadow:var(--pointer-shadow-focus)}.disabled .pointer:focus .pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.type-vertical .range-slider{--width:.25rem;--height:300px;max-height:100%}.type-vertical .range-slider .pointer{left:50%}.type-vertical .range-slider .panel-fill{width:100%}.type-vertical.range-slider-box{flex-direction:row}.type-vertical .row{flex-direction:column}.animate-on-click .pointer,.animate-on-click .panel-fill{transition:all var(--animate-onclick)}.range-dragging .panel-fill{cursor:move}", o = "pointers-overlap", l = "pointers-min-distance", c = "pointers-max-distance", d = "range-dragging", g = "data", y = "min", w = "max", b = "step", A = "round", k = "type", W = "theme", z = "rtl", ie = "btt", ee = "disabled", pe = "keyboard-disabled", R = "mousewheel-disabled", oe = "slider-width", ge = "slider-height", ve = "slider-radius", ke = "slider-bg", de = "slider-bg-hover", J = "slider-bg-fill", we = "pointer-width", Ie = "pointer-height", P = "pointer-radius", C = "pointer-bg", S = "pointer-bg-hover", H = "pointer-bg-focus", L = "pointer-shadow", V = "pointer-shadow-hover", K = "pointer-shadow-focus", se = "pointer-border", be = "pointer-border-hover", Se = "pointer-border-focus", Re = "animate-onclick", Ne = "css-links", Le = "vertical", te = "horizontal", Z = (u, p, _, v, T) => {
|
|
5087
5088
|
let G = p - u;
|
|
5088
5089
|
return G === 0 ? _ : (v - _) * (T - u) / G + _;
|
|
5089
5090
|
}, $e = (u) => !isNaN(parseFloat(u)) && isFinite(u), ne = (u, p) => $e(u) ? Number(u) : p, De = (u, p) => p === 0 ? 0 : Math.round(u / p) * p, ot = (u, p = 1 / 0) => {
|
|
@@ -5110,13 +5111,13 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5110
5111
|
He !== void 0 && F > He && (F = He), Ae !== void 0 && F < Ae && (F = Ae), v = F;
|
|
5111
5112
|
let Ke = v;
|
|
5112
5113
|
return (je === Le && Pe || je === te && Oe) && (Ke = 100 - Ke), je === Le ? p.style.top = `${Ke}%` : p.style.left = `${Ke}%`, Ve !== v;
|
|
5113
|
-
}, ue = (F) => F === p || p.contains(F),
|
|
5114
|
+
}, ue = (F) => F === p || p.contains(F), U = (F, Ae, He, je) => {
|
|
5114
5115
|
T = F, G = Ae, Y = He, O = je;
|
|
5115
5116
|
}, he = (F) => {
|
|
5116
5117
|
j = F, p.classList.toggle("disabled", j), j ? p.setAttribute("aria-disabled", "true") : p.hasAttribute("aria-disabled") && p.removeAttribute("aria-disabled");
|
|
5117
5118
|
}, Qe = (F, Ae) => {
|
|
5118
5119
|
Ae == null ? p.removeAttribute(F) : p.setAttribute(F, Ae);
|
|
5119
|
-
},
|
|
5120
|
+
}, Ue = (F) => p.getAttribute(F), B = (F) => {
|
|
5120
5121
|
if (!j) {
|
|
5121
5122
|
switch (F.key) {
|
|
5122
5123
|
case "ArrowLeft": {
|
|
@@ -5147,7 +5148,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5147
5148
|
return j;
|
|
5148
5149
|
}, set disabled(F) {
|
|
5149
5150
|
he(F);
|
|
5150
|
-
}, updatePosition: ae, isClicked: ue, setCallbacks:
|
|
5151
|
+
}, updatePosition: ae, isClicked: ue, setCallbacks: U, setAttr: Qe, getAttr: Ue, destroy: () => {
|
|
5151
5152
|
p.removeEventListener("keydown", B), p.removeEventListener("click", ce), p.remove();
|
|
5152
5153
|
} };
|
|
5153
5154
|
}, jt = (u) => {
|
|
@@ -5202,7 +5203,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5202
5203
|
}
|
|
5203
5204
|
}, ue = (B, ce) => {
|
|
5204
5205
|
T[B] = ce, ae();
|
|
5205
|
-
},
|
|
5206
|
+
}, U = () => {
|
|
5206
5207
|
O();
|
|
5207
5208
|
let B = mt(u, /^pointer([0-9]*)-shape$/);
|
|
5208
5209
|
if (!(B.size <= 0)) {
|
|
@@ -5221,7 +5222,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5221
5222
|
return;
|
|
5222
5223
|
}
|
|
5223
5224
|
G.set(he(B, F), ce), He.style.setProperty(B, ce);
|
|
5224
|
-
},
|
|
5225
|
+
}, Ue = (B, ce) => G.get(he(B, ce));
|
|
5225
5226
|
return (() => {
|
|
5226
5227
|
for (let B of xr) {
|
|
5227
5228
|
let [ce, F, Ae, He] = B;
|
|
@@ -5244,7 +5245,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5244
5245
|
for (let Oe of je) try {
|
|
5245
5246
|
let Pe = Oe[0], Ve = Oe[1];
|
|
5246
5247
|
Object.prototype.hasOwnProperty.call(u, Pe) || Object.defineProperty(u, Pe, { get() {
|
|
5247
|
-
return
|
|
5248
|
+
return Ue(ce, Ve);
|
|
5248
5249
|
}, set: (Ke) => {
|
|
5249
5250
|
Qe(ce, Ke, Ve);
|
|
5250
5251
|
} });
|
|
@@ -5252,8 +5253,8 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5252
5253
|
console.error(Pe);
|
|
5253
5254
|
}
|
|
5254
5255
|
}
|
|
5255
|
-
j(u.getAttribute(W)),
|
|
5256
|
-
})(), { setStyle: Qe, getStyle:
|
|
5256
|
+
j(u.getAttribute(W)), U();
|
|
5257
|
+
})(), { setStyle: Qe, getStyle: Ue, get theme() {
|
|
5257
5258
|
return v;
|
|
5258
5259
|
}, set theme(B) {
|
|
5259
5260
|
j(B);
|
|
@@ -5262,29 +5263,29 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5262
5263
|
}, setPointerShape: ue };
|
|
5263
5264
|
}, vt = "animate-on-click", $r = "range-dragging", Xr = (u, p, _, v) => {
|
|
5264
5265
|
let T = [], G = (ue) => {
|
|
5265
|
-
for (let
|
|
5266
|
+
for (let U of T) U.update && typeof U.update == "function" && U.update(ue);
|
|
5266
5267
|
}, Y = () => {
|
|
5267
5268
|
for (let ue of T) ue.destroy && typeof ue.destroy == "function" && ue.destroy();
|
|
5268
|
-
}, O = (ue,
|
|
5269
|
-
for (let he of T) he.onAttrChange && typeof he.onAttrChange == "function" && he.onAttrChange(ue,
|
|
5269
|
+
}, O = (ue, U) => {
|
|
5270
|
+
for (let he of T) he.onAttrChange && typeof he.onAttrChange == "function" && he.onAttrChange(ue, U);
|
|
5270
5271
|
}, j = (ue) => {
|
|
5271
5272
|
if (ue.gettersAndSetters) {
|
|
5272
|
-
for (let
|
|
5273
|
-
Object.prototype.hasOwnProperty.call(u,
|
|
5273
|
+
for (let U of ue.gettersAndSetters) if (!(!U.name || !U.attributes)) try {
|
|
5274
|
+
Object.prototype.hasOwnProperty.call(u, U.name) || Object.defineProperty(u, U.name, U.attributes);
|
|
5274
5275
|
} catch (he) {
|
|
5275
5276
|
console.error("defineSettersGetters error:", he);
|
|
5276
5277
|
}
|
|
5277
5278
|
}
|
|
5278
5279
|
}, ae = (ue) => {
|
|
5279
|
-
var
|
|
5280
|
+
var U;
|
|
5280
5281
|
if (!ue.css) return;
|
|
5281
|
-
let he = (
|
|
5282
|
+
let he = (U = u.shadowRoot) == null ? void 0 : U.querySelector("style");
|
|
5282
5283
|
!he || (he.innerHTML += ue.css);
|
|
5283
5284
|
};
|
|
5284
5285
|
return { init: () => {
|
|
5285
5286
|
if (window.tcRangeSliderPlugins) for (let ue of window.tcRangeSliderPlugins) {
|
|
5286
|
-
let
|
|
5287
|
-
T.push(
|
|
5287
|
+
let U = ue();
|
|
5288
|
+
T.push(U), U.init && typeof U.init == "function" && (U.init(u, p, _, v), j(U), ae(U));
|
|
5288
5289
|
}
|
|
5289
5290
|
}, update: G, onAttrChange: O, destroy: Y };
|
|
5290
5291
|
}, Jt = 10, Cn = 20, gi = (u, p) => {
|
|
@@ -5292,8 +5293,8 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5292
5293
|
for (let O of u.attributes) {
|
|
5293
5294
|
let j = O.nodeName.trim().toLowerCase();
|
|
5294
5295
|
if (!v.test(j)) continue;
|
|
5295
|
-
let ae = j.replace("value", "").trim(), ue = ae === "" || ae === "0" || ae === "1" ? 0 : ne(ae, 0) - 1,
|
|
5296
|
-
_.set(ue,
|
|
5296
|
+
let ae = j.replace("value", "").trim(), ue = ae === "" || ae === "0" || ae === "1" ? 0 : ne(ae, 0) - 1, U = $e(O.value) ? ne(O.value, 0) : O.value;
|
|
5297
|
+
_.set(ue, U);
|
|
5297
5298
|
}
|
|
5298
5299
|
let T = Math.max(...Array.from(_.keys())), G = [];
|
|
5299
5300
|
G.push([Gt(u, p, 0), _.get(0)]);
|
|
@@ -5348,7 +5349,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5348
5349
|
p.$pointer.style.zIndex = (Cn * 2).toString();
|
|
5349
5350
|
}
|
|
5350
5351
|
}, Qt = 0, Nt = 100, Je = 2, Pn = "0.3s", bi = (u, p, _) => {
|
|
5351
|
-
let v = _.map((f) => f[0]), T = null, G = null, Y = null, O = null, j = Qt, ae = Nt, ue,
|
|
5352
|
+
let v = _.map((f) => f[0]), T = null, G = null, Y = null, O = null, j = Qt, ae = Nt, ue, U, he = te, Qe = Je, Ue = !1, B = !1, ce = !1, F = 0, Ae = 1 / 0, He = !1, je, Oe, Pe = !1, Ve = !1, Ke = !1, wt = Pn, Tn = [], Qr = (f) => {
|
|
5352
5353
|
Pe || (f.preventDefault && f.preventDefault(), Ct(f), window.addEventListener("mousemove", Ct), window.addEventListener("mouseup", Ar), br(u, f));
|
|
5353
5354
|
}, Ar = (f) => {
|
|
5354
5355
|
Pe || (je = void 0, Oe = void 0, window.removeEventListener("mousemove", Ct), window.removeEventListener("mouseup", Ar), wt && p.classList.add(vt), St(u, f));
|
|
@@ -5380,35 +5381,35 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5380
5381
|
let { width: le, left: xe } = p.getBoundingClientRect(), fe = f.type.indexOf("mouse") !== -1 ? f.clientX : f.touches[0].clientX;
|
|
5381
5382
|
$ = Math.min(Math.max(0, fe - xe), le) * 100 / le;
|
|
5382
5383
|
}
|
|
5383
|
-
if ((
|
|
5384
|
+
if ((Ue || B) && ($ = 100 - $), T = wi(f.target, $), T && _r(v, T), He && v.length > 1 && Oe !== void 0) {
|
|
5384
5385
|
let le = v[0], xe = v[v.length - 1], fe = le.percent + Oe < 0, Fe = xe.percent + Oe > 100;
|
|
5385
5386
|
if (fe || Fe) return;
|
|
5386
|
-
for (let Rt = 0; Rt < v.length; Rt++)
|
|
5387
|
+
for (let Rt = 0; Rt < v.length; Rt++) ze(Rt, v[Rt].percent + Oe);
|
|
5387
5388
|
return;
|
|
5388
5389
|
}
|
|
5389
5390
|
let N = Mr();
|
|
5390
|
-
N !== -1 && (
|
|
5391
|
+
N !== -1 && (ze(N, $), T == null || T.$pointer.focus());
|
|
5391
5392
|
}, Sr = (f) => {
|
|
5392
5393
|
if (Pe || document.activeElement !== u || T != null && T.disabled) return;
|
|
5393
5394
|
f.stopPropagation(), f.preventDefault();
|
|
5394
|
-
let $ = f.deltaY < 0, N =
|
|
5395
|
+
let $ = f.deltaY < 0, N = Ue || B, le = $ ? !N : N, xe = Mr();
|
|
5395
5396
|
xe !== -1 && (le ? er(xe, v[xe].percent) : tr(xe, v[xe].percent));
|
|
5396
5397
|
}, Rn = (f) => {
|
|
5397
|
-
Pe || Ve || (he === Le ? B ?
|
|
5398
|
+
Pe || Ve || (he === Le ? B ? ze(f, 100) : ze(f, 0) : Ue ? tr(f, v[f].percent) : er(f, v[f].percent));
|
|
5398
5399
|
}, On = (f) => {
|
|
5399
|
-
Pe || Ve || (he === Le ? B ?
|
|
5400
|
+
Pe || Ve || (he === Le ? B ? ze(f, 0) : ze(f, 100) : Ue ? er(f, v[f].percent) : tr(f, v[f].percent));
|
|
5400
5401
|
}, Dn = (f) => {
|
|
5401
|
-
Pe || Ve || (he === Le ? B ? tr(f, v[f].percent) : er(f, v[f].percent) :
|
|
5402
|
+
Pe || Ve || (he === Le ? B ? tr(f, v[f].percent) : er(f, v[f].percent) : Ue ? ze(f, 100) : ze(f, 0));
|
|
5402
5403
|
}, jn = (f) => {
|
|
5403
|
-
Pe || Ve || (he === Le ? B ? er(f, v[f].percent) : tr(f, v[f].percent) :
|
|
5404
|
+
Pe || Ve || (he === Le ? B ? er(f, v[f].percent) : tr(f, v[f].percent) : Ue ? ze(f, 0) : ze(f, 100));
|
|
5404
5405
|
}, xi = (f) => f.classList.contains("panel"), $i = (f) => f.classList.contains("panel-fill"), er = (f, $) => {
|
|
5405
5406
|
if ($ === void 0) return;
|
|
5406
5407
|
let N = rr($);
|
|
5407
|
-
N == null && (N = 1), $ -= N, $ < 0 && ($ = 0),
|
|
5408
|
+
N == null && (N = 1), $ -= N, $ < 0 && ($ = 0), ze(f, $);
|
|
5408
5409
|
}, tr = (f, $) => {
|
|
5409
5410
|
if ($ === void 0) return;
|
|
5410
5411
|
let N = rr($);
|
|
5411
|
-
N == null && (N = 1), $ += N, $ > 100 && ($ = 100),
|
|
5412
|
+
N == null && (N = 1), $ += N, $ > 100 && ($ = 100), ze(f, $);
|
|
5412
5413
|
}, kt = () => {
|
|
5413
5414
|
!O || O.update({ percents: Hn(), values: In(), $pointers: tn(), min: nr(), max: Bn(), data: rn(), step: en(), round: Cr(), type: nn(), textMin: Er(), textMax: Lt(), rightToLeft: ft(), bottomToTop: on(), pointersOverlap: sr(), pointersMinDistance: kr(), pointersMaxDistance: sn(), rangeDragging: rt(), disabled: an(), keyboardDisabled: ir(), mousewheelDisabled: Pr() });
|
|
5414
5415
|
}, Nn = () => {
|
|
@@ -5442,30 +5443,30 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5442
5443
|
}, Ht = (f) => {
|
|
5443
5444
|
if (f === void 0) return;
|
|
5444
5445
|
let $ = Z(0, 100, j, ae, f);
|
|
5445
|
-
return
|
|
5446
|
-
}, Er = () =>
|
|
5446
|
+
return U !== void 0 ? U[Math.round($)] : ot($, Qe);
|
|
5447
|
+
}, Er = () => U !== void 0 ? U[j] : j, Lt = () => U !== void 0 ? U[ae] : ae, en = () => ue, It = (f) => {
|
|
5447
5448
|
var $;
|
|
5448
5449
|
return f <= 0 || ce ? Er() : ($ = Ht(v[f - 1].percent)) != null ? $ : "";
|
|
5449
5450
|
}, xt = (f) => {
|
|
5450
5451
|
var $;
|
|
5451
5452
|
return v.length <= 1 || f >= v.length - 1 || ce ? Lt() : ($ = Ht(v[f + 1].percent)) != null ? $ : "";
|
|
5452
|
-
}, Hn = () => v.map((f) => f.percent), In = () => v.map((f) => Ht(f.percent)), tn = () => v.map((f) => f.$pointer), nr = () => j, Bn = () => ae, rn = () =>
|
|
5453
|
+
}, Hn = () => v.map((f) => f.percent), In = () => v.map((f) => Ht(f.percent)), tn = () => v.map((f) => f.$pointer), nr = () => j, Bn = () => ae, rn = () => U, nn = () => he, Cr = () => Qe, kr = () => F, sn = () => Ae, Lr = (f) => Tn[f], ft = () => Ue, on = () => B, an = () => Pe, ir = () => Ve, Pr = () => Ke, sr = () => ce, rt = () => He, ze = (f, $) => {
|
|
5453
5454
|
if ($ === void 0) return;
|
|
5454
5455
|
let N = rr($);
|
|
5455
5456
|
N !== void 0 && ($ = De($, N));
|
|
5456
5457
|
let le = v[f];
|
|
5457
5458
|
if (!le) return;
|
|
5458
|
-
let xe = le.updatePosition($, _i(f), Ai(f), he,
|
|
5459
|
-
G == null || G.updatePosition(he, v.map((fe) => fe.percent),
|
|
5459
|
+
let xe = le.updatePosition($, _i(f), Ai(f), he, Ue, B);
|
|
5460
|
+
G == null || G.updatePosition(he, v.map((fe) => fe.percent), Ue, B), kt();
|
|
5460
5461
|
for (let fe of v) {
|
|
5461
5462
|
let Fe = Ht(fe.percent);
|
|
5462
5463
|
Fe !== void 0 && (fe.setAttr("aria-valuenow", Fe.toString()), fe.setAttr("aria-valuetext", Fe.toString()));
|
|
5463
5464
|
}
|
|
5464
5465
|
ln(), xe && Vr(u, v.map((fe) => Ht(fe.percent)));
|
|
5465
5466
|
}, at = () => {
|
|
5466
|
-
for (let f = 0; f < v.length; f++)
|
|
5467
|
-
},
|
|
5468
|
-
j =
|
|
5467
|
+
for (let f = 0; f < v.length; f++) ze(f, v[f].percent);
|
|
5468
|
+
}, zn = (f, $) => {
|
|
5469
|
+
j = U !== void 0 ? 0 : ne(f, Qt), ae = U !== void 0 ? U.length - 1 : ne($, Nt), Pt(j), Tt(ae);
|
|
5469
5470
|
}, ln = () => {
|
|
5470
5471
|
var f, $;
|
|
5471
5472
|
for (let N = 0; N < v.length; N++) {
|
|
@@ -5483,9 +5484,9 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5483
5484
|
for (let $ = 0; $ < f.length; $++) Rr(f[$], $);
|
|
5484
5485
|
}, Rr = (f, $) => {
|
|
5485
5486
|
let N;
|
|
5486
|
-
|
|
5487
|
+
U !== void 0 ? (N = f == null ? 0 : Yt(f, U), N === -1 && (N = 0)) : (N = ne(f, j), N < j && (N = j), N > ae && (N = ae));
|
|
5487
5488
|
let le = Z(j, ae, 0, 100, N);
|
|
5488
|
-
|
|
5489
|
+
ze($, le);
|
|
5489
5490
|
}, Or = (f) => {
|
|
5490
5491
|
if (f == null) {
|
|
5491
5492
|
ue = void 0;
|
|
@@ -5510,20 +5511,20 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5510
5511
|
(!$e(f) || f < 0) && (f = 1 / 0), Ae = f;
|
|
5511
5512
|
}, dn = (f) => {
|
|
5512
5513
|
Pe = f, p.classList.toggle("disabled", Pe), Pe ? p.setAttribute("aria-disabled", "true") : p.hasAttribute("aria-disabled") && p.removeAttribute("aria-disabled");
|
|
5513
|
-
},
|
|
5514
|
+
}, Un = (f) => {
|
|
5514
5515
|
Ve = f;
|
|
5515
5516
|
}, a = (f) => {
|
|
5516
5517
|
Ke = f, Ke ? document.removeEventListener("wheel", Sr) : document.addEventListener("wheel", Sr, { passive: !1 });
|
|
5517
5518
|
}, h = (f) => {
|
|
5518
5519
|
if (f == null) {
|
|
5519
|
-
|
|
5520
|
+
U = void 0;
|
|
5520
5521
|
return;
|
|
5521
5522
|
}
|
|
5522
|
-
if (
|
|
5523
|
-
|
|
5523
|
+
if (U = jt(f), U === void 0 || U.length <= 0) {
|
|
5524
|
+
U = void 0;
|
|
5524
5525
|
return;
|
|
5525
5526
|
}
|
|
5526
|
-
Pt(0), Tt(
|
|
5527
|
+
Pt(0), Tt(U.length - 1), ue === void 0 && Or(1);
|
|
5527
5528
|
}, m = (f) => {
|
|
5528
5529
|
var $;
|
|
5529
5530
|
typeof f == "string" ? he = f.trim().toLowerCase() === Le ? Le : te : he = te;
|
|
@@ -5533,7 +5534,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5533
5534
|
let le = he === Le ? "vertical" : "horizontal";
|
|
5534
5535
|
for (let xe of v) xe.setAttr("aria-orientation", le);
|
|
5535
5536
|
}, M = (f) => {
|
|
5536
|
-
|
|
5537
|
+
Ue = f, v.length > 1 && Ln(v, Ue, u), at(), kt();
|
|
5537
5538
|
}, I = (f) => {
|
|
5538
5539
|
B = f, v.length > 1 && Ln(v, B, u), at(), kt();
|
|
5539
5540
|
}, D = (f) => {
|
|
@@ -5575,7 +5576,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5575
5576
|
var f, $;
|
|
5576
5577
|
for (let le of v) le.setCallbacks(Rn, On, Dn, jn);
|
|
5577
5578
|
let N = (f = u.shadowRoot) == null ? void 0 : f.querySelector(".panel-fill");
|
|
5578
|
-
N && (G = Kr(N)), m(u.getAttribute(k)), M(me(u.getAttribute(
|
|
5579
|
+
N && (G = Kr(N)), m(u.getAttribute(k)), M(me(u.getAttribute(z))), I(me(u.getAttribute(ie))), zn(u.getAttribute(y), u.getAttribute(w)), Or(u.getAttribute(b)), h(u.getAttribute(g)), Tr(_.map((le) => le[1])), cn(me(u.getAttribute(o))), un(ne(u.getAttribute(l), 0)), Bt(ne(u.getAttribute(c), 1 / 0)), Ee(me(u.getAttribute(d))), D(ne(u.getAttribute(A), Je)), qe(), Ge(), Y = Xt(u, p, v), X(($ = u.getAttribute(Re)) != null ? $ : Pn), p.addEventListener("mousedown", Qr), p.addEventListener("mouseup", Ar), p.addEventListener("touchmove", Ct), p.addEventListener("touchstart", Ct), Ke || document.addEventListener("wheel", Sr, { passive: !1 }), O = Xr(u, Nn, { setValues: Tr, setMin: Pt, setMax: Tt, setStep: Or, setPointersOverlap: cn, setPointersMinDistance: un, setPointersMaxDistance: Bt, setDisabled: dn, setType: m, setRightToLeft: M, setBottomToTop: I, setRound: D, setKeyboardDisabled: Un, setMousewheelDisabled: a, setRangeDragging: Ee, setData: h }, { getPercents: Hn, getValues: In, getPointerElements: tn, getMin: nr, getMax: Bn, getStep: en, getData: rn, getType: nn, getRound: Cr, getTextMin: Er, getTextMax: Lt, isRightToLeft: ft, isBottomToTop: on, isDisabled: an, isKeyboardDisabled: ir, isMousewheelDisabled: Pr, isPointersOverlap: sr, isRangeDraggingEnabled: rt, getPointersMinDistance: kr, getPointersMaxDistance: sn }), O.init();
|
|
5579
5580
|
})(), { get pointers() {
|
|
5580
5581
|
return v;
|
|
5581
5582
|
}, get styles() {
|
|
@@ -5629,7 +5630,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5629
5630
|
}, get keyboardDisabled() {
|
|
5630
5631
|
return ir();
|
|
5631
5632
|
}, set keyboardDisabled(f) {
|
|
5632
|
-
|
|
5633
|
+
Un(f);
|
|
5633
5634
|
}, get mousewheelDisabled() {
|
|
5634
5635
|
return Pr();
|
|
5635
5636
|
}, set mousewheelDisabled(f) {
|
|
@@ -5646,7 +5647,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5646
5647
|
}, mi = (u, p, _) => {
|
|
5647
5648
|
let v = xr.find(([O, j, ae, ue]) => j.replace("#", "") === p.replace(/\d+/g, ""));
|
|
5648
5649
|
if (v && u.styles) {
|
|
5649
|
-
let [O, j, ae, ue] = v,
|
|
5650
|
+
let [O, j, ae, ue] = v, U = p.replace(/\D/g, "").trim(), he = U === "" || U === "0" || U === "1" ? 0 : ne(U, 0) - 1;
|
|
5650
5651
|
u.styles.setStyle(O, _, he);
|
|
5651
5652
|
return;
|
|
5652
5653
|
}
|
|
@@ -5699,7 +5700,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5699
5700
|
u.type = _;
|
|
5700
5701
|
break;
|
|
5701
5702
|
}
|
|
5702
|
-
case
|
|
5703
|
+
case z: {
|
|
5703
5704
|
u.rightToLeft = me(_);
|
|
5704
5705
|
break;
|
|
5705
5706
|
}
|
|
@@ -6361,7 +6362,7 @@ function xu() {
|
|
|
6361
6362
|
}
|
|
6362
6363
|
return E;
|
|
6363
6364
|
}
|
|
6364
|
-
function
|
|
6365
|
+
function z(x) {
|
|
6365
6366
|
var E = -1, q = Array(x.size);
|
|
6366
6367
|
return x.forEach(function(_e) {
|
|
6367
6368
|
q[++E] = _e;
|
|
@@ -6488,7 +6489,7 @@ function xu() {
|
|
|
6488
6489
|
if (Be >= t) {
|
|
6489
6490
|
var Zt = Gt(x);
|
|
6490
6491
|
if (Zt)
|
|
6491
|
-
return
|
|
6492
|
+
return z(Zt);
|
|
6492
6493
|
ht = !1, dt = A, Xe = new me();
|
|
6493
6494
|
} else
|
|
6494
6495
|
Xe = yt;
|
|
@@ -6504,7 +6505,7 @@ function xu() {
|
|
|
6504
6505
|
}
|
|
6505
6506
|
return yt;
|
|
6506
6507
|
}
|
|
6507
|
-
var Gt = Ie && 1 /
|
|
6508
|
+
var Gt = Ie && 1 / z(new Ie([, -0]))[1] == r ? function(x) {
|
|
6508
6509
|
return new Ie(x);
|
|
6509
6510
|
} : Zr;
|
|
6510
6511
|
function jt(x, E) {
|
|
@@ -6560,8 +6561,8 @@ gn.exports;
|
|
|
6560
6561
|
var Gs;
|
|
6561
6562
|
function _u() {
|
|
6562
6563
|
return Gs || (Gs = 1, function(t, e) {
|
|
6563
|
-
var r = 200, n = "Expected a function", i = "__lodash_hash_undefined__", s = 1, o = 2, l = 1 / 0, c = 9007199254740991, d = "[object Arguments]", g = "[object Array]", y = "[object Boolean]", w = "[object Date]", b = "[object Error]", A = "[object Function]", k = "[object GeneratorFunction]", W = "[object Map]",
|
|
6564
|
-
Z[J] = Z[we] = Z[Ie] = Z[P] = Z[C] = Z[S] = Z[H] = Z[L] = Z[V] = !0, Z[d] = Z[g] = Z[ke] = Z[y] = Z[de] = Z[w] = Z[b] = Z[A] = Z[W] = Z[
|
|
6564
|
+
var r = 200, n = "Expected a function", i = "__lodash_hash_undefined__", s = 1, o = 2, l = 1 / 0, c = 9007199254740991, d = "[object Arguments]", g = "[object Array]", y = "[object Boolean]", w = "[object Date]", b = "[object Error]", A = "[object Function]", k = "[object GeneratorFunction]", W = "[object Map]", z = "[object Number]", ie = "[object Object]", ee = "[object Promise]", pe = "[object RegExp]", R = "[object Set]", oe = "[object String]", ge = "[object Symbol]", ve = "[object WeakMap]", ke = "[object ArrayBuffer]", de = "[object DataView]", J = "[object Float32Array]", we = "[object Float64Array]", Ie = "[object Int8Array]", P = "[object Int16Array]", C = "[object Int32Array]", S = "[object Uint8Array]", H = "[object Uint8ClampedArray]", L = "[object Uint16Array]", V = "[object Uint32Array]", K = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, se = /^\w*$/, be = /^\./, Se = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Re = /[\\^$.*+?()[\]{}|]/g, Ne = /\\(\\)?/g, Le = /^\[object .+?Constructor\]$/, te = /^(?:0|[1-9]\d*)$/, Z = {};
|
|
6565
|
+
Z[J] = Z[we] = Z[Ie] = Z[P] = Z[C] = Z[S] = Z[H] = Z[L] = Z[V] = !0, Z[d] = Z[g] = Z[ke] = Z[y] = Z[de] = Z[w] = Z[b] = Z[A] = Z[W] = Z[z] = Z[ie] = Z[pe] = Z[R] = Z[oe] = Z[ve] = !1;
|
|
6565
6566
|
var $e = typeof ct == "object" && ct && ct.Object === Object && ct, ne = typeof self == "object" && self && self.Object === Object && self, De = $e || ne || Function("return this")(), ot = e && !e.nodeType && e, me = ot && !0 && t && !t.nodeType && t, Wr = me && me.exports === ot, br = Wr && $e.process, St = function() {
|
|
6566
6567
|
try {
|
|
6567
6568
|
return br && br.binding("util");
|
|
@@ -6716,10 +6717,10 @@ function _u() {
|
|
|
6716
6717
|
function ue(a) {
|
|
6717
6718
|
return Lt(this, a).has(a);
|
|
6718
6719
|
}
|
|
6719
|
-
function
|
|
6720
|
+
function U(a, h) {
|
|
6720
6721
|
return Lt(this, a).set(a, h), this;
|
|
6721
6722
|
}
|
|
6722
|
-
Y.prototype.clear = O, Y.prototype.delete = j, Y.prototype.get = ae, Y.prototype.has = ue, Y.prototype.set =
|
|
6723
|
+
Y.prototype.clear = O, Y.prototype.delete = j, Y.prototype.get = ae, Y.prototype.has = ue, Y.prototype.set = U;
|
|
6723
6724
|
function he(a) {
|
|
6724
6725
|
var h = -1, m = a ? a.length : 0;
|
|
6725
6726
|
for (this.__data__ = new Y(); ++h < m; )
|
|
@@ -6728,10 +6729,10 @@ function _u() {
|
|
|
6728
6729
|
function Qe(a) {
|
|
6729
6730
|
return this.__data__.set(a, i), this;
|
|
6730
6731
|
}
|
|
6731
|
-
function
|
|
6732
|
+
function Ue(a) {
|
|
6732
6733
|
return this.__data__.has(a);
|
|
6733
6734
|
}
|
|
6734
|
-
he.prototype.add = he.prototype.push = Qe, he.prototype.has =
|
|
6735
|
+
he.prototype.add = he.prototype.push = Qe, he.prototype.has = Ue;
|
|
6735
6736
|
function B(a) {
|
|
6736
6737
|
this.__data__ = new u(a);
|
|
6737
6738
|
}
|
|
@@ -6839,14 +6840,14 @@ function _u() {
|
|
|
6839
6840
|
function Rn(a) {
|
|
6840
6841
|
if (!Pt(a) || rn(a))
|
|
6841
6842
|
return !1;
|
|
6842
|
-
var h =
|
|
6843
|
+
var h = zn(a) || Ft(a) ? yt : Le;
|
|
6843
6844
|
return h.test(ft(a));
|
|
6844
6845
|
}
|
|
6845
6846
|
function On(a) {
|
|
6846
6847
|
return Tt(a) && ln(a.length) && !!Z[ht.call(a)];
|
|
6847
6848
|
}
|
|
6848
6849
|
function Dn(a) {
|
|
6849
|
-
return typeof a == "function" ? a : a == null ? dn : typeof a == "object" ? rt(a) ? er(a[0], a[1]) : $i(a) :
|
|
6850
|
+
return typeof a == "function" ? a : a == null ? dn : typeof a == "object" ? rt(a) ? er(a[0], a[1]) : $i(a) : Un(a);
|
|
6850
6851
|
}
|
|
6851
6852
|
function jn(a) {
|
|
6852
6853
|
if (!nn(a))
|
|
@@ -6857,7 +6858,7 @@ function _u() {
|
|
|
6857
6858
|
return h;
|
|
6858
6859
|
}
|
|
6859
6860
|
function xi(a, h) {
|
|
6860
|
-
var m = -1, M =
|
|
6861
|
+
var m = -1, M = ze(a) ? Array(a.length) : [];
|
|
6861
6862
|
return Ve(a, function(I, D, X) {
|
|
6862
6863
|
M[++m] = h(I, D, X);
|
|
6863
6864
|
}), M;
|
|
@@ -6894,7 +6895,7 @@ function _u() {
|
|
|
6894
6895
|
return function(m, M) {
|
|
6895
6896
|
if (m == null)
|
|
6896
6897
|
return m;
|
|
6897
|
-
if (!
|
|
6898
|
+
if (!ze(m))
|
|
6898
6899
|
return a(m, M);
|
|
6899
6900
|
for (var I = m.length, D = -1, X = Object(m); ++D < I && M(X[D], D, X) !== !1; )
|
|
6900
6901
|
;
|
|
@@ -6954,7 +6955,7 @@ function _u() {
|
|
|
6954
6955
|
return !(a.byteLength != h.byteLength || !M(new Zt(a), new Zt(h)));
|
|
6955
6956
|
case y:
|
|
6956
6957
|
case w:
|
|
6957
|
-
case
|
|
6958
|
+
case z:
|
|
6958
6959
|
return Pr(+a, +h);
|
|
6959
6960
|
case b:
|
|
6960
6961
|
return a.name == h.name && a.message == h.message;
|
|
@@ -7140,13 +7141,13 @@ function _u() {
|
|
|
7140
7141
|
return at(a) && Be.call(a, "callee") && (!bt.call(a, "callee") || ht.call(a) == d);
|
|
7141
7142
|
}
|
|
7142
7143
|
var rt = Array.isArray;
|
|
7143
|
-
function
|
|
7144
|
-
return a != null && ln(a.length) && !
|
|
7144
|
+
function ze(a) {
|
|
7145
|
+
return a != null && ln(a.length) && !zn(a);
|
|
7145
7146
|
}
|
|
7146
7147
|
function at(a) {
|
|
7147
|
-
return Tt(a) &&
|
|
7148
|
+
return Tt(a) && ze(a);
|
|
7148
7149
|
}
|
|
7149
|
-
function
|
|
7150
|
+
function zn(a) {
|
|
7150
7151
|
var h = Pt(a) ? ht.call(a) : "";
|
|
7151
7152
|
return h == A || h == k;
|
|
7152
7153
|
}
|
|
@@ -7175,12 +7176,12 @@ function _u() {
|
|
|
7175
7176
|
return a != null && Hn(a, h, wi);
|
|
7176
7177
|
}
|
|
7177
7178
|
function Bt(a) {
|
|
7178
|
-
return
|
|
7179
|
+
return ze(a) ? Oe(a) : jn(a);
|
|
7179
7180
|
}
|
|
7180
7181
|
function dn(a) {
|
|
7181
7182
|
return a;
|
|
7182
7183
|
}
|
|
7183
|
-
function
|
|
7184
|
+
function Un(a) {
|
|
7184
7185
|
return nr(a) ? Yt(Lr(a)) : tr(a);
|
|
7185
7186
|
}
|
|
7186
7187
|
t.exports = on;
|
|
@@ -7338,11 +7339,11 @@ function Lu(t) {
|
|
|
7338
7339
|
typeof e.reset == "function" && e.reset();
|
|
7339
7340
|
}), t.search();
|
|
7340
7341
|
}
|
|
7341
|
-
var An, Hr, lt,
|
|
7342
|
+
var An, Hr, lt, zr, la, ca;
|
|
7342
7343
|
class Pu extends tt {
|
|
7343
7344
|
constructor() {
|
|
7344
7345
|
super();
|
|
7345
|
-
et(this,
|
|
7346
|
+
et(this, zr);
|
|
7346
7347
|
/**
|
|
7347
7348
|
* @type Array<string>
|
|
7348
7349
|
*/
|
|
@@ -7522,8 +7523,8 @@ class Pu extends tt {
|
|
|
7522
7523
|
@details-toggled=${(s) => No(s, nt(this, lt), this)}
|
|
7523
7524
|
data-details="${n.key}"
|
|
7524
7525
|
>
|
|
7525
|
-
${ye(this,
|
|
7526
|
-
${ye(this,
|
|
7526
|
+
${ye(this, zr, ca).call(this, n, zs(i, 1))}
|
|
7527
|
+
${ye(this, zr, la).call(this, n, zs(i, 2))}
|
|
7527
7528
|
</eox-itemfilter-expandcontainer>
|
|
7528
7529
|
</li>`
|
|
7529
7530
|
)}
|
|
@@ -7568,7 +7569,7 @@ class Pu extends tt {
|
|
|
7568
7569
|
`;
|
|
7569
7570
|
}
|
|
7570
7571
|
}
|
|
7571
|
-
An = new WeakMap(), Hr = new WeakMap(), lt = new WeakMap(),
|
|
7572
|
+
An = new WeakMap(), Hr = new WeakMap(), lt = new WeakMap(), zr = new WeakSet(), /**
|
|
7572
7573
|
* Creates a filter element based on the given filter object and tab index.
|
|
7573
7574
|
*
|
|
7574
7575
|
* @param {Object} filterObject - The filter object.
|