@eox/itemfilter 0.10.0 → 0.10.2

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.
@@ -526,7 +526,7 @@ class ds {
526
526
  }
527
527
  }
528
528
  const fa = { j: ki, P: Ze, A: Ri, C: 1, M: as, L: ls, R: ns, V: wt, D: jt, I: nr, H: hs, N: us, U: cs, B: ds }, ui = Vt.litHtmlPolyfillSupport;
529
- ui == null || ui(Zt, jt), (Vt.litHtmlVersions ?? (Vt.litHtmlVersions = [])).push("3.0.2");
529
+ ui == null || ui(Zt, jt), (Vt.litHtmlVersions ?? (Vt.litHtmlVersions = [])).push("3.1.0");
530
530
  const pa = (t, e, r) => {
531
531
  const i = (r == null ? void 0 : r.renderBefore) ?? e;
532
532
  let n = i._$litPart$;
@@ -794,7 +794,7 @@ let mi = class extends gs {
794
794
  }
795
795
  };
796
796
  mi.directiveName = "unsafeHTML", mi.resultType = 1;
797
- const Dn = ps(mi);
797
+ const In = ps(mi);
798
798
  /**
799
799
  * @license
800
800
  * Copyright 2020 Google LLC
@@ -803,7 +803,7 @@ const Dn = ps(mi);
803
803
  const ys = Symbol.for(""), wa = (t) => {
804
804
  if ((t == null ? void 0 : t.r) === ys)
805
805
  return t == null ? void 0 : t._$litStatic$;
806
- }, Ct = (t) => ({ _$litStatic$: t, r: ys }), In = /* @__PURE__ */ new Map(), $a = (t) => (e, ...r) => {
806
+ }, Ct = (t) => ({ _$litStatic$: t, r: ys }), Dn = /* @__PURE__ */ new Map(), $a = (t) => (e, ...r) => {
807
807
  const i = r.length;
808
808
  let n, s;
809
809
  const o = [], l = [];
@@ -815,12 +815,12 @@ const ys = Symbol.for(""), wa = (t) => {
815
815
  }
816
816
  if (h === i && o.push(e[i]), f) {
817
817
  const p = o.join("$$lit$$");
818
- (e = In.get(p)) === void 0 && (o.raw = o, In.set(p, e = o)), r = l;
818
+ (e = Dn.get(p)) === void 0 && (o.raw = o, Dn.set(p, e = o)), r = l;
819
819
  }
820
820
  return t(e, ...r);
821
821
  }, $r = $a(V);
822
822
  (() => {
823
- var t = Object.defineProperty, e = Math.pow, r = (c, d, x) => d in c ? t(c, d, { enumerable: !0, configurable: !0, writable: !0, value: x }) : c[d] = x, i = (c, d, x) => (r(c, typeof d != "symbol" ? d + "" : d, x), x), n = (c, d) => ` ${d && d.length > 0 ? d.map((x) => `<link rel="stylesheet" href="${x}" />`).join("") : ""} <style> ${c} </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", a = "pointers-max-distance", h = "range-dragging", f = "data", p = "min", b = "max", y = "step", $ = "round", C = "type", G = "theme", B = "rtl", g = "btt", m = "disabled", w = "keyboard-disabled", S = "mousewheel-disabled", E = "slider-width", A = "slider-height", k = "slider-radius", F = "slider-bg", H = "slider-bg-hover", D = "slider-bg-fill", te = "pointer-width", oe = "pointer-height", O = "pointer-radius", P = "pointer-bg", M = "pointer-bg-hover", N = "pointer-bg-focus", L = "pointer-shadow", X = "pointer-shadow-hover", U = "pointer-shadow-focus", se = "pointer-border", re = "pointer-border-hover", ye = "pointer-border-focus", ve = "animate-onclick", Ae = "css-links", xe = "vertical", Me = "horizontal", Je = (c, d, x, v, R) => {
823
+ var t = Object.defineProperty, e = Math.pow, r = (c, d, x) => d in c ? t(c, d, { enumerable: !0, configurable: !0, writable: !0, value: x }) : c[d] = x, i = (c, d, x) => (r(c, typeof d != "symbol" ? d + "" : d, x), x), n = (c, d) => ` ${d && d.length > 0 ? d.map((x) => `<link rel="stylesheet" href="${x}" />`).join("") : ""} <style> ${c} </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", a = "pointers-max-distance", h = "range-dragging", f = "data", p = "min", b = "max", y = "step", $ = "round", C = "type", G = "theme", B = "rtl", g = "btt", m = "disabled", w = "keyboard-disabled", S = "mousewheel-disabled", E = "slider-width", A = "slider-height", k = "slider-radius", F = "slider-bg", H = "slider-bg-hover", I = "slider-bg-fill", te = "pointer-width", oe = "pointer-height", O = "pointer-radius", P = "pointer-bg", M = "pointer-bg-hover", N = "pointer-bg-focus", L = "pointer-shadow", X = "pointer-shadow-hover", U = "pointer-shadow-focus", se = "pointer-border", re = "pointer-border-hover", ye = "pointer-border-focus", ve = "animate-onclick", Ae = "css-links", xe = "vertical", Me = "horizontal", Je = (c, d, x, v, R) => {
824
824
  let z = d - c;
825
825
  return z === 0 ? x : (v - x) * (R - c) / z + x;
826
826
  }, $e = (c) => !isNaN(parseFloat(c)) && isFinite(c), ie = (c, d) => $e(c) ? Number(c) : d, je = (c, d) => d === 0 ? 0 : Math.round(c / d) * d, ft = (c, d = 1 / 0) => {
@@ -845,7 +845,7 @@ const ys = Symbol.for(""), wa = (t) => {
845
845
  v[`value${R + 1}`] = x[R];
846
846
  c.dispatchEvent(new CustomEvent("change", { detail: v }));
847
847
  }, jr = (c, d, x) => {
848
- let v = 0, R, z, Z, T, I = !1, Q = (W, ue, we, be, pe, ge) => {
848
+ let v = 0, R, z, Z, T, D = !1, Q = (W, ue, we, be, pe, ge) => {
849
849
  let Oe = v;
850
850
  we !== void 0 && W > we && (W = we), ue !== void 0 && W < ue && (W = ue), v = W;
851
851
  let Pe = v;
@@ -853,11 +853,11 @@ const ys = Symbol.for(""), wa = (t) => {
853
853
  }, ne = (W) => W === d || d.contains(W), q = (W, ue, we, be) => {
854
854
  R = W, z = ue, Z = we, T = be;
855
855
  }, ce = (W) => {
856
- I = W, d.classList.toggle("disabled", I), I ? d.setAttribute("aria-disabled", "true") : d.hasAttribute("aria-disabled") && d.removeAttribute("aria-disabled");
856
+ D = W, d.classList.toggle("disabled", D), D ? d.setAttribute("aria-disabled", "true") : d.hasAttribute("aria-disabled") && d.removeAttribute("aria-disabled");
857
857
  }, Te = (W, ue) => {
858
858
  ue == null ? d.removeAttribute(W) : d.setAttribute(W, ue);
859
859
  }, Ee = (W) => d.getAttribute(W), Y = (W) => {
860
- if (!I) {
860
+ if (!D) {
861
861
  switch (W.key) {
862
862
  case "ArrowLeft": {
863
863
  W.preventDefault(), typeof R == "function" && R(x);
@@ -879,12 +879,12 @@ const ys = Symbol.for(""), wa = (t) => {
879
879
  oo(c, W);
880
880
  }
881
881
  }, ee = () => {
882
- I || io(c, d);
882
+ D || io(c, d);
883
883
  };
884
884
  return d.className = `pointer pointer-${x}`, d.addEventListener("keydown", Y), d.addEventListener("click", ee), { $pointer: d, get percent() {
885
885
  return v;
886
886
  }, get disabled() {
887
- return I;
887
+ return D;
888
888
  }, set disabled(W) {
889
889
  ce(W);
890
890
  }, updatePosition: Q, isClicked: ne, setCallbacks: q, setAttr: Te, getAttr: Ee, destroy: () => {
@@ -914,8 +914,8 @@ const ys = Symbol.for(""), wa = (t) => {
914
914
  let z = R.nodeName.trim().toLowerCase();
915
915
  if (!d.test(z))
916
916
  continue;
917
- let Z = z.replace(/\D/g, "").trim(), T = Z === "" || Z === "0" || Z === "1" ? 0 : ie(Z, 0) - 1, I = x && typeof x == "function" ? x(R.value) : R.value;
918
- v.set(T, I);
917
+ let Z = z.replace(/\D/g, "").trim(), T = Z === "" || Z === "0" || Z === "1" ? 0 : ie(Z, 0) - 1, D = x && typeof x == "function" ? x(R.value) : R.value;
918
+ v.set(T, D);
919
919
  }
920
920
  return v;
921
921
  }, Co = (c) => {
@@ -928,7 +928,7 @@ const ys = Symbol.for(""), wa = (t) => {
928
928
  for (let R of x)
929
929
  R.trim() !== "" && v.push(R.trim());
930
930
  return v;
931
- }, Qi = [[uo, E, "sliderWidth", null], [fo, A, "sliderHeight", null], [po, k, "sliderRadius", null], [go, F, "sliderBg", null], [mo, H, "sliderBgHover", null], [yo, D, "sliderBgFill", null], [vo, te, "pointer#Width", /^pointer([0-9]*)-width$/], [bo, oe, "pointer#Height", /^pointer([0-9]*)-height$/], [xo, O, "pointer#Radius", /^pointer([0-9]*)-radius$/], [wo, P, "pointer#Bg", /^pointer([0-9]*)-bg$/], [$o, M, "pointer#BgHover", /^pointer([0-9]*)-bg-hover$/], [_o, N, "pointer#BgFocus", /^pointer([0-9]*)-bg-focus$/], [Eo, L, "pointer#Shadow", /^pointer([0-9]*)-shadow$/], [So, X, "pointer#ShadowHover", /^pointer([0-9]*)-shadow-hover$/], [Ao, U, "pointer#ShadowFocus", /^pointer([0-9]*)-shadow-focus$/], [Mo, se, "pointer#Border", /^pointer([0-9]*)-border$/], [Oo, re, "pointer#BorderHover", /^pointer([0-9]*)-border-hover$/], [Po, ye, "pointer#BorderFocus", /^pointer([0-9]*)-border-focus$/]], Lo = (c, d, x) => {
931
+ }, Qi = [[uo, E, "sliderWidth", null], [fo, A, "sliderHeight", null], [po, k, "sliderRadius", null], [go, F, "sliderBg", null], [mo, H, "sliderBgHover", null], [yo, I, "sliderBgFill", null], [vo, te, "pointer#Width", /^pointer([0-9]*)-width$/], [bo, oe, "pointer#Height", /^pointer([0-9]*)-height$/], [xo, O, "pointer#Radius", /^pointer([0-9]*)-radius$/], [wo, P, "pointer#Bg", /^pointer([0-9]*)-bg$/], [$o, M, "pointer#BgHover", /^pointer([0-9]*)-bg-hover$/], [_o, N, "pointer#BgFocus", /^pointer([0-9]*)-bg-focus$/], [Eo, L, "pointer#Shadow", /^pointer([0-9]*)-shadow$/], [So, X, "pointer#ShadowHover", /^pointer([0-9]*)-shadow-hover$/], [Ao, U, "pointer#ShadowFocus", /^pointer([0-9]*)-shadow-focus$/], [Mo, se, "pointer#Border", /^pointer([0-9]*)-border$/], [Oo, re, "pointer#BorderHover", /^pointer([0-9]*)-border-hover$/], [Po, ye, "pointer#BorderFocus", /^pointer([0-9]*)-border-focus$/]], Lo = (c, d, x) => {
932
932
  let v = null, R = [], z = /* @__PURE__ */ new Map(), Z = (Y, ee = d) => {
933
933
  let W = [...ee.classList];
934
934
  for (let ue of W)
@@ -938,7 +938,7 @@ const ys = Symbol.for(""), wa = (t) => {
938
938
  let Y = d.querySelectorAll(".pointer");
939
939
  for (let ee of Y)
940
940
  Z("shape", ee);
941
- }, I = (Y) => {
941
+ }, D = (Y) => {
942
942
  v = Y, Z("theme-"), typeof Y == "string" && d.classList.add(`theme-${Y}`);
943
943
  }, Q = () => {
944
944
  if (T(), !(R.length <= 0)) {
@@ -1007,11 +1007,11 @@ const ys = Symbol.for(""), wa = (t) => {
1007
1007
  console.error(ge);
1008
1008
  }
1009
1009
  }
1010
- I(c.getAttribute(G)), q();
1010
+ D(c.getAttribute(G)), q();
1011
1011
  })(), { setStyle: Te, getStyle: Ee, get theme() {
1012
1012
  return v;
1013
1013
  }, set theme(Y) {
1014
- I(Y);
1014
+ D(Y);
1015
1015
  }, get pointerShapes() {
1016
1016
  return R;
1017
1017
  }, setPointerShape: ne };
@@ -1025,7 +1025,7 @@ const ys = Symbol.for(""), wa = (t) => {
1025
1025
  }, T = (ne, q) => {
1026
1026
  for (let ce of R)
1027
1027
  ce.onAttrChange && typeof ce.onAttrChange == "function" && ce.onAttrChange(ne, q);
1028
- }, I = (ne) => {
1028
+ }, D = (ne) => {
1029
1029
  if (ne.gettersAndSetters) {
1030
1030
  for (let q of ne.gettersAndSetters)
1031
1031
  if (!(!q.name || !q.attributes))
@@ -1046,24 +1046,24 @@ const ys = Symbol.for(""), wa = (t) => {
1046
1046
  if (window.tcRangeSliderPlugins)
1047
1047
  for (let ne of window.tcRangeSliderPlugins) {
1048
1048
  let q = ne();
1049
- R.push(q), q.init && typeof q.init == "function" && (q.init(c, d, x, v), I(q), Q(q));
1049
+ R.push(q), q.init && typeof q.init == "function" && (q.init(c, d, x, v), D(q), Q(q));
1050
1050
  }
1051
1051
  }, update: z, onAttrChange: T, destroy: Z };
1052
1052
  }, Ro = 10, tn = 20, To = (c, d) => {
1053
1053
  let x = /* @__PURE__ */ new Map(), v = /^value([0-9]*)$/;
1054
1054
  for (let T of c.attributes) {
1055
- let I = T.nodeName.trim().toLowerCase();
1056
- if (!v.test(I))
1055
+ let D = T.nodeName.trim().toLowerCase();
1056
+ if (!v.test(D))
1057
1057
  continue;
1058
- let Q = I.replace("value", "").trim(), ne = Q === "" || Q === "0" || Q === "1" ? 0 : ie(Q, 0) - 1, q = $e(T.value) ? ie(T.value, 0) : T.value;
1058
+ let Q = D.replace("value", "").trim(), ne = Q === "" || Q === "0" || Q === "1" ? 0 : ie(Q, 0) - 1, q = $e(T.value) ? ie(T.value, 0) : T.value;
1059
1059
  x.set(ne, q);
1060
1060
  }
1061
1061
  let R = Math.max(...Array.from(x.keys())), z = [];
1062
1062
  z.push([jr(c, d, 0), x.get(0)]);
1063
1063
  let Z = d;
1064
1064
  for (let T = 1; T <= R; T++) {
1065
- let I = d.cloneNode(!0);
1066
- Z.after(I), Z = I, z.push([jr(c, I, T), x.get(T)]);
1065
+ let D = d.cloneNode(!0);
1066
+ Z.after(D), Z = D, z.push([jr(c, D, T), x.get(T)]);
1067
1067
  }
1068
1068
  return z;
1069
1069
  }, rn = (c, d, x, v, R, z, Z) => {
@@ -1074,18 +1074,18 @@ const ys = Symbol.for(""), wa = (t) => {
1074
1074
  let T = d.pointers[x];
1075
1075
  if (!T)
1076
1076
  return;
1077
- let I = d.getTextValue(T.percent);
1078
- return $e(I) ? ie(I, I) : I;
1077
+ let D = d.getTextValue(T.percent);
1078
+ return $e(D) ? ie(D, D) : D;
1079
1079
  }, set: (T) => {
1080
1080
  d.pointers[x] ? d == null || d.setValue(T, x) : d == null || d.addPointer(T);
1081
1081
  } }), Object.defineProperty(c, R, { configurable: !0, get() {
1082
- var T, I;
1083
- return (I = (T = d == null ? void 0 : d.pointers[x]) == null ? void 0 : T.getAttr("aria-label")) != null ? I : void 0;
1082
+ var T, D;
1083
+ return (D = (T = d == null ? void 0 : d.pointers[x]) == null ? void 0 : T.getAttr("aria-label")) != null ? D : void 0;
1084
1084
  }, set: (T) => {
1085
1085
  !d || d.setAriaLabel(x, T);
1086
1086
  } }), Object.defineProperty(c, z, { configurable: !0, get() {
1087
- var T, I;
1088
- return (I = (T = d == null ? void 0 : d.styles) == null ? void 0 : T.pointerShapes[x]) != null ? I : null;
1087
+ var T, D;
1088
+ return (D = (T = d == null ? void 0 : d.styles) == null ? void 0 : T.pointerShapes[x]) != null ? D : null;
1089
1089
  }, set: (T) => {
1090
1090
  !d || !d.styles || d.styles.setPointerShape(x, T);
1091
1091
  } }), Object.defineProperty(c, Z, { configurable: !0, get() {
@@ -1094,13 +1094,13 @@ const ys = Symbol.for(""), wa = (t) => {
1094
1094
  }, set: (T) => {
1095
1095
  if (!d)
1096
1096
  return;
1097
- let I = d == null ? void 0 : d.pointers[x];
1098
- !I || (I.disabled = T);
1097
+ let D = d == null ? void 0 : d.pointers[x];
1098
+ !D || (D.disabled = T);
1099
1099
  } });
1100
1100
  } catch (T) {
1101
1101
  console.error(T);
1102
1102
  }
1103
- }, Do = (c, d) => {
1103
+ }, Io = (c, d) => {
1104
1104
  let x = [["value", "ariaLabel", "pointerShape", "pointerDisabled", 0], ["value0", "ariaLabel0", "pointerShape0", "pointer0Disabled", 0], ["value1", "ariaLabel1", "pointerShape1", "pointer1Disabled", 0]];
1105
1105
  for (let v = 2; v < Ro; v++)
1106
1106
  x.push([`value${v}`, `ariaLabel${v}`, `pointer${v}Shape`, `pointer${v}Disabled`, v - 1]);
@@ -1112,14 +1112,14 @@ const ys = Symbol.for(""), wa = (t) => {
1112
1112
  if (R)
1113
1113
  for (let z of c)
1114
1114
  d ? R.prepend(z.$pointer) : R.append(z.$pointer);
1115
- }, Io = (c, d) => {
1115
+ }, Do = (c, d) => {
1116
1116
  if (!(!d || c.length <= 1)) {
1117
1117
  for (let x of c)
1118
1118
  x.$pointer.style.zIndex = tn.toString();
1119
1119
  d.$pointer.style.zIndex = (tn * 2).toString();
1120
1120
  }
1121
1121
  }, Br = 0, qt = 100, At = 2, sn = "0.3s", No = (c, d, x) => {
1122
- let v = x.map((u) => u[0]), R = null, z = null, Z = null, T = null, I = Br, Q = qt, ne, q, ce = Me, Te = At, Ee = !1, Y = !1, ee = !1, W = 0, ue = 1 / 0, we = !1, be, pe, ge = !1, Oe = !1, Pe = !1, st = sn, on = [], an = (u) => {
1122
+ let v = x.map((u) => u[0]), R = null, z = null, Z = null, T = null, D = Br, Q = qt, ne, q, ce = Me, Te = At, Ee = !1, Y = !1, ee = !1, W = 0, ue = 1 / 0, we = !1, be, pe, ge = !1, Oe = !1, Pe = !1, st = sn, on = [], an = (u) => {
1123
1123
  ge || (u.preventDefault && u.preventDefault(), pt(u), window.addEventListener("mousemove", pt), window.addEventListener("mouseup", lr), no(c, u));
1124
1124
  }, lr = (u) => {
1125
1125
  ge || (be = void 0, pe = void 0, window.removeEventListener("mousemove", pt), window.removeEventListener("mouseup", lr), st && d.classList.add(St), so(c, u));
@@ -1158,7 +1158,7 @@ const ys = Symbol.for(""), wa = (t) => {
1158
1158
  let { width: he, left: me } = d.getBoundingClientRect(), le = u.type.indexOf("mouse") !== -1 ? u.clientX : u.touches[0].clientX;
1159
1159
  _ = Math.min(Math.max(0, le - me), he) * 100 / he;
1160
1160
  }
1161
- if ((Ee || Y) && (_ = 100 - _), R = Fo(u.target, _), R && Io(v, R), we && v.length > 1 && pe !== void 0) {
1161
+ if ((Ee || Y) && (_ = 100 - _), R = Fo(u.target, _), R && Do(v, R), we && v.length > 1 && pe !== void 0) {
1162
1162
  let he = v[0], me = v[v.length - 1], le = he.percent + pe < 0, Be = me.percent + pe > 100;
1163
1163
  if (le || Be)
1164
1164
  return;
@@ -1197,46 +1197,46 @@ const ys = Symbol.for(""), wa = (t) => {
1197
1197
  }, Uo = () => {
1198
1198
  gt();
1199
1199
  }, zo = (u) => {
1200
- if (!(ee || v.length <= 1 || Q === I))
1200
+ if (!(ee || v.length <= 1 || Q === D))
1201
1201
  if (u === 0) {
1202
- let _ = ue * 100 / (Q - I);
1202
+ let _ = ue * 100 / (Q - D);
1203
1203
  return Math.max(0, v[u + 1].percent - _);
1204
1204
  } else {
1205
- let _ = W * 100 / (Q - I);
1205
+ let _ = W * 100 / (Q - D);
1206
1206
  return Math.min(v[u - 1].percent + _, 100);
1207
1207
  }
1208
1208
  }, Yo = (u) => {
1209
- if (!(ee || v.length <= 1 || Q === I))
1209
+ if (!(ee || v.length <= 1 || Q === D))
1210
1210
  if (u === v.length - 1) {
1211
- let _ = ue * 100 / (Q - I);
1211
+ let _ = ue * 100 / (Q - D);
1212
1212
  return Math.min(v[u - 1].percent + _, 100);
1213
1213
  } else {
1214
- let _ = W * 100 / (Q - I);
1214
+ let _ = W * 100 / (Q - D);
1215
1215
  return Math.max(0, v[u + 1].percent - _);
1216
1216
  }
1217
1217
  }, hr = (u) => {
1218
1218
  let _;
1219
1219
  if (typeof ne == "function") {
1220
- let j = Je(0, 100, I, Q, u);
1220
+ let j = Je(0, 100, D, Q, u);
1221
1221
  _ = ne(j, u);
1222
1222
  } else
1223
1223
  _ = ne;
1224
1224
  if ($e(_)) {
1225
- let j = Q - I;
1225
+ let j = Q - D;
1226
1226
  return _ = j === 0 ? 0 : _ * 100 / j, _;
1227
1227
  }
1228
1228
  }, Mt = (u) => {
1229
1229
  if (u === void 0)
1230
1230
  return;
1231
- let _ = Je(0, 100, I, Q, u);
1231
+ let _ = Je(0, 100, D, Q, u);
1232
1232
  return q !== void 0 ? q[Math.round(_)] : ft(_, Te);
1233
- }, ur = () => q !== void 0 ? q[I] : I, dr = () => q !== void 0 ? q[Q] : Q, Hr = () => ne, Wo = (u) => {
1233
+ }, ur = () => q !== void 0 ? q[D] : D, dr = () => q !== void 0 ? q[Q] : Q, Hr = () => ne, Wo = (u) => {
1234
1234
  var _;
1235
1235
  return u <= 0 || ee ? ur() : (_ = Mt(v[u - 1].percent)) != null ? _ : "";
1236
1236
  }, Xo = (u) => {
1237
1237
  var _;
1238
1238
  return v.length <= 1 || u >= v.length - 1 || ee ? dr() : (_ = Mt(v[u + 1].percent)) != null ? _ : "";
1239
- }, fn = () => v.map((u) => u.percent), pn = () => v.map((u) => Mt(u.percent)), gn = () => v.map((u) => u.$pointer), mn = () => I, yn = () => Q, qr = () => q, Ur = () => ce, zr = () => Te, Yr = () => W, Wr = () => ue, Vo = (u) => on[u], Xr = () => Ee, Vr = () => Y, Kr = () => ge, Gr = () => Oe, Jr = () => Pe, Zr = () => ee, Qr = () => we, Ce = (u, _) => {
1239
+ }, fn = () => v.map((u) => u.percent), pn = () => v.map((u) => Mt(u.percent)), gn = () => v.map((u) => u.$pointer), mn = () => D, yn = () => Q, qr = () => q, Ur = () => ce, zr = () => Te, Yr = () => W, Wr = () => ue, Vo = (u) => on[u], Xr = () => Ee, Vr = () => Y, Kr = () => ge, Gr = () => Oe, Jr = () => Pe, Zr = () => ee, Qr = () => we, Ce = (u, _) => {
1240
1240
  if (_ === void 0)
1241
1241
  return;
1242
1242
  let j = hr(_);
@@ -1255,7 +1255,7 @@ const ys = Symbol.for(""), wa = (t) => {
1255
1255
  for (let u = 0; u < v.length; u++)
1256
1256
  Ce(u, v[u].percent);
1257
1257
  }, Ko = (u, _) => {
1258
- I = q !== void 0 ? 0 : ie(u, Br), Q = q !== void 0 ? q.length - 1 : ie(_, qt), fr(I), pr(Q);
1258
+ D = q !== void 0 ? 0 : ie(u, Br), Q = q !== void 0 ? q.length - 1 : ie(_, qt), fr(D), pr(Q);
1259
1259
  }, Go = () => {
1260
1260
  var u, _;
1261
1261
  for (let j = 0; j < v.length; j++) {
@@ -1263,9 +1263,9 @@ const ys = Symbol.for(""), wa = (t) => {
1263
1263
  he.setAttr("aria-valuemin", ((u = Wo(j)) != null ? u : "").toString()), he.setAttr("aria-valuemax", ((_ = Xo(j)) != null ? _ : "").toString());
1264
1264
  }
1265
1265
  }, fr = (u) => {
1266
- I = ie(u, Br), I > Q && (Q = I + qt), qe();
1266
+ D = ie(u, Br), D > Q && (Q = D + qt), qe();
1267
1267
  }, pr = (u) => {
1268
- Q = ie(u, qt), Q < I && (Q = I + qt), qe();
1268
+ Q = ie(u, qt), Q < D && (Q = D + qt), qe();
1269
1269
  }, vn = (u) => {
1270
1270
  ee = !0;
1271
1271
  for (let _ = 0; _ < u.length; _++)
@@ -1275,8 +1275,8 @@ const ys = Symbol.for(""), wa = (t) => {
1275
1275
  gr(u[_], _);
1276
1276
  }, gr = (u, _) => {
1277
1277
  let j;
1278
- q !== void 0 ? (j = u == null ? 0 : co(u, q), j === -1 && (j = 0)) : (j = ie(u, I), j < I && (j = I), j > Q && (j = Q));
1279
- let he = Je(I, Q, 0, 100, j);
1278
+ q !== void 0 ? (j = u == null ? 0 : co(u, q), j === -1 && (j = 0)) : (j = ie(u, D), j < D && (j = D), j > Q && (j = Q));
1279
+ let he = Je(D, Q, 0, 100, j);
1280
1280
  Ce(_, he);
1281
1281
  }, mr = (u) => {
1282
1282
  if (u == null) {
@@ -1289,7 +1289,7 @@ const ys = Symbol.for(""), wa = (t) => {
1289
1289
  }
1290
1290
  if ($e(u)) {
1291
1291
  ne = ie(u, 1);
1292
- let _ = Math.abs(Q - I);
1292
+ let _ = Math.abs(Q - D);
1293
1293
  ne > _ && (ne = void 0), qe();
1294
1294
  return;
1295
1295
  }
@@ -1440,9 +1440,9 @@ const ys = Symbol.for(""), wa = (t) => {
1440
1440
  T == null || T.destroy();
1441
1441
  } };
1442
1442
  }, jo = (c, d, x) => {
1443
- let v = Qi.find(([T, I, Q, ne]) => I.replace("#", "") === d.replace(/\d+/g, ""));
1443
+ let v = Qi.find(([T, D, Q, ne]) => D.replace("#", "") === d.replace(/\d+/g, ""));
1444
1444
  if (v && c.styles) {
1445
- let [T, I, Q, ne] = v, q = d.replace(/\D/g, "").trim(), ce = q === "" || q === "0" || q === "1" ? 0 : ie(q, 0) - 1;
1445
+ let [T, D, Q, ne] = v, q = d.replace(/\D/g, "").trim(), ce = q === "" || q === "0" || q === "1" ? 0 : ie(q, 0) - 1;
1446
1446
  c.styles.setStyle(T, x, ce);
1447
1447
  return;
1448
1448
  }
@@ -1699,13 +1699,13 @@ const ys = Symbol.for(""), wa = (t) => {
1699
1699
  if (!v)
1700
1700
  return;
1701
1701
  let R = To(this, x);
1702
- this.slider = No(this, v, R), Do(this, this.slider), this._observer = new MutationObserver((z) => {
1702
+ this.slider = No(this, v, R), Io(this, this.slider), this._observer = new MutationObserver((z) => {
1703
1703
  z.forEach((Z) => {
1704
1704
  var T;
1705
1705
  if (!this.slider || Z.type !== "attributes")
1706
1706
  return;
1707
- let I = Z.attributeName;
1708
- !I || jo(this.slider, I, (T = this.getAttribute(I)) != null ? T : "");
1707
+ let D = Z.attributeName;
1708
+ !D || jo(this.slider, D, (T = this.getAttribute(D)) != null ? T : "");
1709
1709
  });
1710
1710
  }), this._observer.observe(this, { attributes: !0 });
1711
1711
  }
@@ -1720,7 +1720,7 @@ var Lt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1720
1720
  function Ti(t) {
1721
1721
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1722
1722
  }
1723
- function Di(t) {
1723
+ function Ii(t) {
1724
1724
  if (t.__esModule)
1725
1725
  return t;
1726
1726
  var e = t.default;
@@ -1790,8 +1790,8 @@ var vs = { exports: {} };
1790
1790
  return O.clone();
1791
1791
  var M = typeof P == "object" ? P : {};
1792
1792
  return M.date = O, M.args = arguments, new te(M);
1793
- }, D = w;
1794
- D.l = F, D.i = k, D.w = function(O, P) {
1793
+ }, I = w;
1794
+ I.l = F, I.i = k, I.w = function(O, P) {
1795
1795
  return H(O, { locale: P.$L, utc: P.$u, x: P.$x, $offset: P.$offset });
1796
1796
  };
1797
1797
  var te = function() {
@@ -1804,7 +1804,7 @@ var vs = { exports: {} };
1804
1804
  var L = N.date, X = N.utc;
1805
1805
  if (L === null)
1806
1806
  return /* @__PURE__ */ new Date(NaN);
1807
- if (D.u(L))
1807
+ if (I.u(L))
1808
1808
  return /* @__PURE__ */ new Date();
1809
1809
  if (L instanceof Date)
1810
1810
  return new Date(L);
@@ -1821,7 +1821,7 @@ var vs = { exports: {} };
1821
1821
  var M = this.$d;
1822
1822
  this.$y = M.getFullYear(), this.$M = M.getMonth(), this.$D = M.getDate(), this.$W = M.getDay(), this.$H = M.getHours(), this.$m = M.getMinutes(), this.$s = M.getSeconds(), this.$ms = M.getMilliseconds();
1823
1823
  }, P.$utils = function() {
1824
- return D;
1824
+ return I;
1825
1825
  }, P.isValid = function() {
1826
1826
  return this.$d.toString() !== C;
1827
1827
  }, P.isSame = function(M, N) {
@@ -1832,17 +1832,17 @@ var vs = { exports: {} };
1832
1832
  }, P.isBefore = function(M, N) {
1833
1833
  return this.endOf(N) < H(M);
1834
1834
  }, P.$g = function(M, N, L) {
1835
- return D.u(M) ? this[N] : this.set(L, M);
1835
+ return I.u(M) ? this[N] : this.set(L, M);
1836
1836
  }, P.unix = function() {
1837
1837
  return Math.floor(this.valueOf() / 1e3);
1838
1838
  }, P.valueOf = function() {
1839
1839
  return this.$d.getTime();
1840
1840
  }, P.startOf = function(M, N) {
1841
- var L = this, X = !!D.u(N) || N, U = D.p(M), se = function($e, ie) {
1842
- var je = D.w(L.$u ? Date.UTC(L.$y, ie, $e) : new Date(L.$y, ie, $e), L);
1841
+ var L = this, X = !!I.u(N) || N, U = I.p(M), se = function($e, ie) {
1842
+ var je = I.w(L.$u ? Date.UTC(L.$y, ie, $e) : new Date(L.$y, ie, $e), L);
1843
1843
  return X ? je : je.endOf(h);
1844
1844
  }, re = function($e, ie) {
1845
- return D.w(L.toDate()[$e].apply(L.toDate("s"), (X ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), L);
1845
+ return I.w(L.toDate()[$e].apply(L.toDate("s"), (X ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), L);
1846
1846
  }, ye = this.$W, ve = this.$M, Ae = this.$D, xe = "set" + (this.$u ? "UTC" : "");
1847
1847
  switch (U) {
1848
1848
  case y:
@@ -1867,7 +1867,7 @@ var vs = { exports: {} };
1867
1867
  }, P.endOf = function(M) {
1868
1868
  return this.startOf(M, !1);
1869
1869
  }, P.$set = function(M, N) {
1870
- var L, X = D.p(M), U = "set" + (this.$u ? "UTC" : ""), se = (L = {}, L[h] = U + "Date", L[$] = U + "Date", L[p] = U + "Month", L[y] = U + "FullYear", L[a] = U + "Hours", L[l] = U + "Minutes", L[o] = U + "Seconds", L[s] = U + "Milliseconds", L)[X], re = X === h ? this.$D + (N - this.$W) : N;
1870
+ var L, X = I.p(M), U = "set" + (this.$u ? "UTC" : ""), se = (L = {}, L[h] = U + "Date", L[$] = U + "Date", L[p] = U + "Month", L[y] = U + "FullYear", L[a] = U + "Hours", L[l] = U + "Minutes", L[o] = U + "Seconds", L[s] = U + "Milliseconds", L)[X], re = X === h ? this.$D + (N - this.$W) : N;
1871
1871
  if (X === p || X === y) {
1872
1872
  var ye = this.clone().set($, 1);
1873
1873
  ye.$d[se](re), ye.init(), this.$d = ye.set($, Math.min(this.$D, ye.daysInMonth())).$d;
@@ -1877,13 +1877,13 @@ var vs = { exports: {} };
1877
1877
  }, P.set = function(M, N) {
1878
1878
  return this.clone().$set(M, N);
1879
1879
  }, P.get = function(M) {
1880
- return this[D.p(M)]();
1880
+ return this[I.p(M)]();
1881
1881
  }, P.add = function(M, N) {
1882
1882
  var L, X = this;
1883
1883
  M = Number(M);
1884
- var U = D.p(N), se = function(ve) {
1884
+ var U = I.p(N), se = function(ve) {
1885
1885
  var Ae = H(X);
1886
- return D.w(Ae.date(Ae.date() + Math.round(ve * M)), X);
1886
+ return I.w(Ae.date(Ae.date() + Math.round(ve * M)), X);
1887
1887
  };
1888
1888
  if (U === p)
1889
1889
  return this.set(p, this.$M + M);
@@ -1894,17 +1894,17 @@ var vs = { exports: {} };
1894
1894
  if (U === f)
1895
1895
  return se(7);
1896
1896
  var re = (L = {}, L[l] = i, L[a] = n, L[o] = r, L)[U] || 1, ye = this.$d.getTime() + M * re;
1897
- return D.w(ye, this);
1897
+ return I.w(ye, this);
1898
1898
  }, P.subtract = function(M, N) {
1899
1899
  return this.add(-1 * M, N);
1900
1900
  }, P.format = function(M) {
1901
1901
  var N = this, L = this.$locale();
1902
1902
  if (!this.isValid())
1903
1903
  return L.invalidDate || C;
1904
- var X = M || "YYYY-MM-DDTHH:mm:ssZ", U = D.z(this), se = this.$H, re = this.$m, ye = this.$M, ve = L.weekdays, Ae = L.months, xe = L.meridiem, Me = function(ie, je, ft, de) {
1904
+ var X = M || "YYYY-MM-DDTHH:mm:ssZ", U = I.z(this), se = this.$H, re = this.$m, ye = this.$M, ve = L.weekdays, Ae = L.months, xe = L.meridiem, Me = function(ie, je, ft, de) {
1905
1905
  return ie && (ie[je] || ie(N, X)) || ft[je].slice(0, de);
1906
1906
  }, Je = function(ie) {
1907
- return D.s(se % 12 || 12, ie, "0");
1907
+ return I.s(se % 12 || 12, ie, "0");
1908
1908
  }, $e = xe || function(ie, je, ft) {
1909
1909
  var de = ie < 12 ? "AM" : "PM";
1910
1910
  return ft ? de.toLowerCase() : de;
@@ -1915,11 +1915,11 @@ var vs = { exports: {} };
1915
1915
  case "YY":
1916
1916
  return String(N.$y).slice(-2);
1917
1917
  case "YYYY":
1918
- return D.s(N.$y, 4, "0");
1918
+ return I.s(N.$y, 4, "0");
1919
1919
  case "M":
1920
1920
  return ye + 1;
1921
1921
  case "MM":
1922
- return D.s(ye + 1, 2, "0");
1922
+ return I.s(ye + 1, 2, "0");
1923
1923
  case "MMM":
1924
1924
  return Me(L.monthsShort, ye, Ae, 3);
1925
1925
  case "MMMM":
@@ -1927,7 +1927,7 @@ var vs = { exports: {} };
1927
1927
  case "D":
1928
1928
  return N.$D;
1929
1929
  case "DD":
1930
- return D.s(N.$D, 2, "0");
1930
+ return I.s(N.$D, 2, "0");
1931
1931
  case "d":
1932
1932
  return String(N.$W);
1933
1933
  case "dd":
@@ -1939,7 +1939,7 @@ var vs = { exports: {} };
1939
1939
  case "H":
1940
1940
  return String(se);
1941
1941
  case "HH":
1942
- return D.s(se, 2, "0");
1942
+ return I.s(se, 2, "0");
1943
1943
  case "h":
1944
1944
  return Je(1);
1945
1945
  case "hh":
@@ -1951,13 +1951,13 @@ var vs = { exports: {} };
1951
1951
  case "m":
1952
1952
  return String(re);
1953
1953
  case "mm":
1954
- return D.s(re, 2, "0");
1954
+ return I.s(re, 2, "0");
1955
1955
  case "s":
1956
1956
  return String(N.$s);
1957
1957
  case "ss":
1958
- return D.s(N.$s, 2, "0");
1958
+ return I.s(N.$s, 2, "0");
1959
1959
  case "SSS":
1960
- return D.s(N.$ms, 3, "0");
1960
+ return I.s(N.$ms, 3, "0");
1961
1961
  case "Z":
1962
1962
  return U;
1963
1963
  }
@@ -1967,8 +1967,8 @@ var vs = { exports: {} };
1967
1967
  }, P.utcOffset = function() {
1968
1968
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1969
1969
  }, P.diff = function(M, N, L) {
1970
- var X, U = this, se = D.p(N), re = H(M), ye = (re.utcOffset() - this.utcOffset()) * i, ve = this - re, Ae = function() {
1971
- return D.m(U, re);
1970
+ var X, U = this, se = I.p(N), re = H(M), ye = (re.utcOffset() - this.utcOffset()) * i, ve = this - re, Ae = function() {
1971
+ return I.m(U, re);
1972
1972
  };
1973
1973
  switch (se) {
1974
1974
  case y:
@@ -1998,7 +1998,7 @@ var vs = { exports: {} };
1998
1998
  default:
1999
1999
  X = ve;
2000
2000
  }
2001
- return L ? X : D.a(X);
2001
+ return L ? X : I.a(X);
2002
2002
  }, P.daysInMonth = function() {
2003
2003
  return this.endOf(p).$D;
2004
2004
  }, P.$locale = function() {
@@ -2009,7 +2009,7 @@ var vs = { exports: {} };
2009
2009
  var L = this.clone(), X = F(M, N, !0);
2010
2010
  return X && (L.$L = X), L;
2011
2011
  }, P.clone = function() {
2012
- return D.w(this.$d, this);
2012
+ return I.w(this.$d, this);
2013
2013
  }, P.toDate = function() {
2014
2014
  return new Date(this.valueOf());
2015
2015
  }, P.toJSON = function() {
@@ -2150,7 +2150,7 @@ class Ea extends _e {
2150
2150
  this.templates = this.getTemplates();
2151
2151
  }
2152
2152
  }
2153
- const Ii = `
2153
+ const Di = `
2154
2154
  :host {
2155
2155
  display: flex;
2156
2156
  box-sizing: border-box;
@@ -2517,7 +2517,7 @@ button#filter-reset:after {
2517
2517
  line-height: initial;
2518
2518
  }
2519
2519
  .scroll {
2520
- max-height: 100%;
2520
+ max-height: calc(100% - 30px);
2521
2521
  overflow-x: hidden;
2522
2522
  overflow-y: auto;
2523
2523
  }
@@ -2567,7 +2567,7 @@ let Sr = class extends _e {
2567
2567
  render() {
2568
2568
  return V`
2569
2569
  <style>
2570
- ${Ii}
2570
+ ${Di}
2571
2571
  ${!this.unstyled && ji}
2572
2572
  </style>
2573
2573
  <details
@@ -2797,22 +2797,22 @@ function sr(t) {
2797
2797
  overflowX: r,
2798
2798
  overflowY: i,
2799
2799
  display: n
2800
- } = Ie(t);
2800
+ } = De(t);
2801
2801
  return /auto|scroll|overlay|hidden|clip/.test(e + i + r) && !["inline", "contents"].includes(n);
2802
2802
  }
2803
- function Da(t) {
2803
+ function Ia(t) {
2804
2804
  return ["table", "td", "th"].includes(ct(t));
2805
2805
  }
2806
2806
  function Fi(t) {
2807
- const e = Hi(), r = Ie(t);
2807
+ const e = Hi(), r = De(t);
2808
2808
  return r.transform !== "none" || r.perspective !== "none" || (r.containerType ? r.containerType !== "normal" : !1) || !e && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !e && (r.filter ? r.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((i) => (r.willChange || "").includes(i)) || ["paint", "layout", "strict", "content"].some((i) => (r.contain || "").includes(i));
2809
2809
  }
2810
- function Ia(t) {
2811
- let e = Dt(t);
2810
+ function Da(t) {
2811
+ let e = It(t);
2812
2812
  for (; We(e) && !kr(e); ) {
2813
2813
  if (Fi(e))
2814
2814
  return e;
2815
- e = Dt(e);
2815
+ e = It(e);
2816
2816
  }
2817
2817
  return null;
2818
2818
  }
@@ -2822,7 +2822,7 @@ function Hi() {
2822
2822
  function kr(t) {
2823
2823
  return ["html", "body", "#document"].includes(ct(t));
2824
2824
  }
2825
- function Ie(t) {
2825
+ function De(t) {
2826
2826
  return ke(t).getComputedStyle(t);
2827
2827
  }
2828
2828
  function Rr(t) {
@@ -2834,7 +2834,7 @@ function Rr(t) {
2834
2834
  scrollTop: t.pageYOffset
2835
2835
  };
2836
2836
  }
2837
- function Dt(t) {
2837
+ function It(t) {
2838
2838
  if (ct(t) === "html")
2839
2839
  return t;
2840
2840
  const e = (
@@ -2847,7 +2847,7 @@ function Dt(t) {
2847
2847
  return jn(e) ? e.host : e;
2848
2848
  }
2849
2849
  function _s(t) {
2850
- const e = Dt(t);
2850
+ const e = It(t);
2851
2851
  return kr(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : We(e) && sr(e) ? e : _s(e);
2852
2852
  }
2853
2853
  function Qt(t, e, r) {
@@ -2857,7 +2857,7 @@ function Qt(t, e, r) {
2857
2857
  return s ? e.concat(o, o.visualViewport || [], sr(n) ? n : [], o.frameElement && r ? Qt(o.frameElement) : []) : e.concat(n, Qt(n, [], r));
2858
2858
  }
2859
2859
  function Es(t) {
2860
- const e = Ie(t);
2860
+ const e = De(t);
2861
2861
  let r = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
2862
2862
  const n = We(t), s = n ? t.offsetWidth : r, o = n ? t.offsetHeight : i, l = Ar(r) !== s || Ar(i) !== o;
2863
2863
  return l && (r = s, i = o), {
@@ -2906,7 +2906,7 @@ function $t(t, e, r, i) {
2906
2906
  const b = ke(s), y = i && Qe(i) ? ke(i) : i;
2907
2907
  let $ = b.frameElement;
2908
2908
  for (; $ && i && y !== b; ) {
2909
- const C = Tt($), G = $.getBoundingClientRect(), B = Ie($), g = G.left + ($.clientLeft + parseFloat(B.paddingLeft)) * C.x, m = G.top + ($.clientTop + parseFloat(B.paddingTop)) * C.y;
2909
+ const C = Tt($), G = $.getBoundingClientRect(), B = De($), g = G.left + ($.clientLeft + parseFloat(B.paddingLeft)) * C.x, m = G.top + ($.clientTop + parseFloat(B.paddingTop)) * C.y;
2910
2910
  a *= C.x, h *= C.y, f *= C.x, p *= C.y, a += g, h += m, $ = ke($).frameElement;
2911
2911
  }
2912
2912
  }
@@ -2952,7 +2952,7 @@ function Ha(t) {
2952
2952
  const e = rt(t), r = Rr(t), i = t.ownerDocument.body, n = Rt(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), s = Rt(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
2953
2953
  let o = -r.scrollLeft + As(t);
2954
2954
  const l = -r.scrollTop;
2955
- return Ie(i).direction === "rtl" && (o += Rt(e.clientWidth, i.clientWidth) - n), {
2955
+ return De(i).direction === "rtl" && (o += Rt(e.clientWidth, i.clientWidth) - n), {
2956
2956
  width: n,
2957
2957
  height: s,
2958
2958
  x: o,
@@ -3002,19 +3002,19 @@ function Bn(t, e, r) {
3002
3002
  return ws(i);
3003
3003
  }
3004
3004
  function Ms(t, e) {
3005
- const r = Dt(t);
3006
- return r === e || !Qe(r) || kr(r) ? !1 : Ie(r).position === "fixed" || Ms(r, e);
3005
+ const r = It(t);
3006
+ return r === e || !Qe(r) || kr(r) ? !1 : De(r).position === "fixed" || Ms(r, e);
3007
3007
  }
3008
3008
  function za(t, e) {
3009
3009
  const r = e.get(t);
3010
3010
  if (r)
3011
3011
  return r;
3012
3012
  let i = Qt(t, [], !1).filter((l) => Qe(l) && ct(l) !== "body"), n = null;
3013
- const s = Ie(t).position === "fixed";
3014
- let o = s ? Dt(t) : t;
3013
+ const s = De(t).position === "fixed";
3014
+ let o = s ? It(t) : t;
3015
3015
  for (; Qe(o) && !kr(o); ) {
3016
- const l = Ie(o), a = Fi(o);
3017
- !a && l.position === "fixed" && (n = null), (s ? !a && !n : !a && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || sr(o) && !a && Ms(t, o)) ? i = i.filter((f) => f !== o) : n = l, o = Dt(o);
3016
+ const l = De(o), a = Fi(o);
3017
+ !a && l.position === "fixed" && (n = null), (s ? !a && !n : !a && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || sr(o) && !a && Ms(t, o)) ? i = i.filter((f) => f !== o) : n = l, o = It(o);
3018
3018
  }
3019
3019
  return e.set(t, i), i;
3020
3020
  }
@@ -3060,16 +3060,16 @@ function Xa(t, e, r) {
3060
3060
  };
3061
3061
  }
3062
3062
  function Fn(t, e) {
3063
- return !We(t) || Ie(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
3063
+ return !We(t) || De(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
3064
3064
  }
3065
3065
  function Os(t, e) {
3066
3066
  const r = ke(t);
3067
3067
  if (!We(t))
3068
3068
  return r;
3069
3069
  let i = Fn(t, e);
3070
- for (; i && Da(i) && Ie(i).position === "static"; )
3070
+ for (; i && Ia(i) && De(i).position === "static"; )
3071
3071
  i = Fn(i, e);
3072
- return i && (ct(i) === "html" || ct(i) === "body" && Ie(i).position === "static" && !Fi(i)) ? r : i || Ia(t) || r;
3072
+ return i && (ct(i) === "html" || ct(i) === "body" && De(i).position === "static" && !Fi(i)) ? r : i || Da(t) || r;
3073
3073
  }
3074
3074
  const Va = async function(t) {
3075
3075
  let {
@@ -3088,7 +3088,7 @@ const Va = async function(t) {
3088
3088
  };
3089
3089
  };
3090
3090
  function Ka(t) {
3091
- return Ie(t).direction === "rtl";
3091
+ return De(t).direction === "rtl";
3092
3092
  }
3093
3093
  const Ga = {
3094
3094
  convertOffsetParentRelativeRectToViewportRelativeRect: Ba,
@@ -3286,7 +3286,7 @@ Tr([
3286
3286
  er = Tr([
3287
3287
  Re("eox-dropdown")
3288
3288
  ], er);
3289
- var rl = Object.defineProperty, il = Object.getOwnPropertyDescriptor, Dr = (t, e, r, i) => {
3289
+ var rl = Object.defineProperty, il = Object.getOwnPropertyDescriptor, Ir = (t, e, r, i) => {
3290
3290
  for (var n = i > 1 ? void 0 : i ? il(e, r) : e, s = t.length - 1, o; s >= 0; s--)
3291
3291
  (o = t[s]) && (n = (i ? o(e, r, n) : o(n)) || n);
3292
3292
  return i && n && rl(e, r, n), n;
@@ -3394,16 +3394,16 @@ let tr = class extends _e {
3394
3394
  `;
3395
3395
  }
3396
3396
  };
3397
- Dr([
3397
+ Ir([
3398
3398
  J({ type: Array })
3399
3399
  ], tr.prototype, "items", 2);
3400
- Dr([
3400
+ Ir([
3401
3401
  J()
3402
3402
  ], tr.prototype, "titleProperty", 2);
3403
- Dr([
3403
+ Ir([
3404
3404
  J({ type: Boolean })
3405
3405
  ], tr.prototype, "unstyled", 2);
3406
- tr = Dr([
3406
+ tr = Ir([
3407
3407
  Re("eox-itemfilter-chips")
3408
3408
  ], tr);
3409
3409
  var nl = Object.defineProperty, sl = Object.getOwnPropertyDescriptor, Ge = (t, e, r, i) => {
@@ -3685,7 +3685,7 @@ let Xe = class extends _e {
3685
3685
  render() {
3686
3686
  return V`
3687
3687
  <style>
3688
- ${Ii}
3688
+ ${Di}
3689
3689
  :host {
3690
3690
  height: auto;
3691
3691
  }
@@ -3761,7 +3761,7 @@ it([
3761
3761
  Xe = it([
3762
3762
  Re("eox-selectionlist")
3763
3763
  ], Xe);
3764
- var ll = Object.defineProperty, cl = Object.getOwnPropertyDescriptor, Ir = (t, e, r, i) => {
3764
+ var ll = Object.defineProperty, cl = Object.getOwnPropertyDescriptor, Dr = (t, e, r, i) => {
3765
3765
  for (var n = i > 1 ? void 0 : i ? cl(e, r) : e, s = t.length - 1, o; s >= 0; s--)
3766
3766
  (o = t[s]) && (n = (i ? o(e, r, n) : o(n)) || n);
3767
3767
  return i && n && ll(e, r, n), n;
@@ -3826,19 +3826,19 @@ let rr = class extends _e {
3826
3826
  );
3827
3827
  }
3828
3828
  };
3829
- Ir([
3829
+ Dr([
3830
3830
  J()
3831
3831
  ], rr.prototype, "filterObject", 2);
3832
- Ir([
3832
+ Dr([
3833
3833
  J({ type: Boolean })
3834
3834
  ], rr.prototype, "inline", 2);
3835
- Ir([
3835
+ Dr([
3836
3836
  J({ type: Boolean })
3837
3837
  ], rr.prototype, "unstyled", 2);
3838
- rr = Ir([
3838
+ rr = Dr([
3839
3839
  Re("eox-itemfilter-multiselect")
3840
3840
  ], rr);
3841
- var hl = "Expected a function", Hn = 0 / 0, ul = "[object Symbol]", dl = /^\s+|\s+$/g, fl = /^[-+]0x[0-9a-f]+$/i, pl = /^0b[01]+$/i, gl = /^0o[0-7]+$/i, ml = parseInt, yl = typeof Lt == "object" && Lt && Lt.Object === Object && Lt, vl = typeof self == "object" && self && self.Object === Object && self, bl = yl || vl || Function("return this")(), xl = Object.prototype, wl = xl.toString, $l = Math.max, _l = Math.min, pi = function() {
3841
+ var hl = "Expected a function", Hn = NaN, ul = "[object Symbol]", dl = /^\s+|\s+$/g, fl = /^[-+]0x[0-9a-f]+$/i, pl = /^0b[01]+$/i, gl = /^0o[0-7]+$/i, ml = parseInt, yl = typeof Lt == "object" && Lt && Lt.Object === Object && Lt, vl = typeof self == "object" && self && self.Object === Object && self, bl = yl || vl || Function("return this")(), xl = Object.prototype, wl = xl.toString, $l = Math.max, _l = Math.min, pi = function() {
3842
3842
  return bl.Date.now();
3843
3843
  };
3844
3844
  function El(t, e, r) {
@@ -4150,7 +4150,7 @@ function zi(t, e, r) {
4150
4150
  };
4151
4151
  return Ne(l, e, r);
4152
4152
  }
4153
- function Dl(t, e, r) {
4153
+ function Il(t, e, r) {
4154
4154
  return r === void 0 && (r = {}), ht(t.map(function(i) {
4155
4155
  return zi(i, e);
4156
4156
  }), r);
@@ -4164,7 +4164,7 @@ function Fe(t, e, r) {
4164
4164
  };
4165
4165
  return Ne(i, e, r);
4166
4166
  }
4167
- function Il(t, e, r) {
4167
+ function Dl(t, e, r) {
4168
4168
  return r === void 0 && (r = {}), ht(t.map(function(i) {
4169
4169
  return Fe(i, e);
4170
4170
  }), r);
@@ -4299,14 +4299,14 @@ const Wl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4299
4299
  lengthToDegrees: Bl,
4300
4300
  lengthToRadians: Wi,
4301
4301
  lineString: Fe,
4302
- lineStrings: Il,
4302
+ lineStrings: Dl,
4303
4303
  multiLineString: Yi,
4304
4304
  multiPoint: Ls,
4305
4305
  multiPolygon: ks,
4306
4306
  point: ze,
4307
4307
  points: Tl,
4308
4308
  polygon: zi,
4309
- polygons: Dl,
4309
+ polygons: Il,
4310
4310
  radiansToDegrees: Ts,
4311
4311
  radiansToLength: Rs,
4312
4312
  round: jl,
@@ -4314,7 +4314,7 @@ const Wl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4314
4314
  validateBBox: zl,
4315
4315
  validateId: Yl
4316
4316
  }, Symbol.toStringTag, { value: "Module" }));
4317
- function Ds(t) {
4317
+ function Is(t) {
4318
4318
  if (!t)
4319
4319
  throw new Error("coord is required");
4320
4320
  if (!Array.isArray(t)) {
@@ -4327,7 +4327,7 @@ function Ds(t) {
4327
4327
  return t;
4328
4328
  throw new Error("coord must be GeoJSON Point or an Array of numbers");
4329
4329
  }
4330
- function It(t) {
4330
+ function Dt(t) {
4331
4331
  if (Array.isArray(t))
4332
4332
  return t;
4333
4333
  if (t.type === "Feature") {
@@ -4340,12 +4340,12 @@ function It(t) {
4340
4340
  function Nt(t) {
4341
4341
  return t.type === "Feature" ? t.geometry : t;
4342
4342
  }
4343
- function De(t, e, r) {
4343
+ function Ie(t, e, r) {
4344
4344
  if (r === void 0 && (r = {}), !t)
4345
4345
  throw new Error("point is required");
4346
4346
  if (!e)
4347
4347
  throw new Error("polygon is required");
4348
- var i = Ds(t), n = Nt(e), s = n.type, o = e.bbox, l = n.coordinates;
4348
+ var i = Is(t), n = Nt(e), s = n.type, o = e.bbox, l = n.coordinates;
4349
4349
  if (o && Xl(i, o) === !1)
4350
4350
  return !1;
4351
4351
  s === "Polygon" && (l = [l]);
@@ -4476,7 +4476,7 @@ function Vl(t, e, r, i) {
4476
4476
  i
4477
4477
  ), n;
4478
4478
  }
4479
- function Is(t, e) {
4479
+ function Ds(t, e) {
4480
4480
  var r;
4481
4481
  switch (t.type) {
4482
4482
  case "FeatureCollection":
@@ -4490,7 +4490,7 @@ function Is(t, e) {
4490
4490
  }
4491
4491
  function Kl(t, e, r) {
4492
4492
  var i = r;
4493
- return Is(t, function(n, s) {
4493
+ return Ds(t, function(n, s) {
4494
4494
  s === 0 && r === void 0 ? i = n : i = e(i, n, s);
4495
4495
  }), i;
4496
4496
  }
@@ -4847,7 +4847,7 @@ const nc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4847
4847
  geomReduce: Zl,
4848
4848
  lineEach: js,
4849
4849
  lineReduce: tc,
4850
- propEach: Is,
4850
+ propEach: Ds,
4851
4851
  propReduce: Kl,
4852
4852
  segmentEach: Ns,
4853
4853
  segmentReduce: ec
@@ -4865,10 +4865,10 @@ function sc(t, e) {
4865
4865
  if (i !== null) {
4866
4866
  switch (i.type) {
4867
4867
  case "Polygon":
4868
- r = It(i);
4868
+ r = Dt(i);
4869
4869
  break;
4870
4870
  case "LineString":
4871
- r = [It(i)];
4871
+ r = [Dt(i)];
4872
4872
  }
4873
4873
  r.forEach(function(n) {
4874
4874
  var s = oc(n, t.properties);
@@ -4895,20 +4895,20 @@ var Ki = { exports: {} }, Bs = { exports: {} };
4895
4895
  t.exports = i();
4896
4896
  })(Lt, function() {
4897
4897
  function r(g, m, w, S, E) {
4898
- (function A(k, F, H, D, te) {
4899
- for (; D > H; ) {
4900
- if (D - H > 600) {
4901
- var oe = D - H + 1, O = F - H + 1, P = Math.log(oe), M = 0.5 * Math.exp(2 * P / 3), N = 0.5 * Math.sqrt(P * M * (oe - M) / oe) * (O - oe / 2 < 0 ? -1 : 1), L = Math.max(H, Math.floor(F - O * M / oe + N)), X = Math.min(D, Math.floor(F + (oe - O) * M / oe + N));
4898
+ (function A(k, F, H, I, te) {
4899
+ for (; I > H; ) {
4900
+ if (I - H > 600) {
4901
+ var oe = I - H + 1, O = F - H + 1, P = Math.log(oe), M = 0.5 * Math.exp(2 * P / 3), N = 0.5 * Math.sqrt(P * M * (oe - M) / oe) * (O - oe / 2 < 0 ? -1 : 1), L = Math.max(H, Math.floor(F - O * M / oe + N)), X = Math.min(I, Math.floor(F + (oe - O) * M / oe + N));
4902
4902
  A(k, F, L, X, te);
4903
4903
  }
4904
- var U = k[F], se = H, re = D;
4905
- for (i(k, H, F), te(k[D], U) > 0 && i(k, H, D); se < re; ) {
4904
+ var U = k[F], se = H, re = I;
4905
+ for (i(k, H, F), te(k[I], U) > 0 && i(k, H, I); se < re; ) {
4906
4906
  for (i(k, se, re), se++, re--; te(k[se], U) < 0; )
4907
4907
  se++;
4908
4908
  for (; te(k[re], U) > 0; )
4909
4909
  re--;
4910
4910
  }
4911
- te(k[H], U) === 0 ? i(k, H, re) : i(k, ++re, D), re <= F && (H = re + 1), F <= re && (D = re - 1);
4911
+ te(k[H], U) === 0 ? i(k, H, re) : i(k, ++re, I), re <= F && (H = re + 1), F <= re && (I = re - 1);
4912
4912
  }
4913
4913
  })(g, m, w || 0, S || g.length - 1, E || n);
4914
4914
  }
@@ -5033,9 +5033,9 @@ var Ki = { exports: {} }, Bs = { exports: {} };
5033
5033
  return this;
5034
5034
  for (var w, S, E, A = this.data, k = this.toBBox(g), F = [], H = []; A || F.length; ) {
5035
5035
  if (A || (A = F.pop(), S = F[F.length - 1], w = H.pop(), E = !0), A.leaf) {
5036
- var D = o(g, A.children, m);
5037
- if (D !== -1)
5038
- return A.children.splice(D, 1), F.push(A), this._condense(F), this;
5036
+ var I = o(g, A.children, m);
5037
+ if (I !== -1)
5038
+ return A.children.splice(I, 1), F.push(A), this._condense(F), this;
5039
5039
  }
5040
5040
  E || A.leaf || !$(A, k) ? S ? (w++, A = S.children[w], E = !1) : A = null : (F.push(A), H.push(w), w = 0, S = A, A = A.children[0]);
5041
5041
  }
@@ -5061,10 +5061,10 @@ var Ki = { exports: {} }, Bs = { exports: {} };
5061
5061
  S || (S = Math.ceil(Math.log(A) / Math.log(k)), k = Math.ceil(A / Math.pow(k, S - 1))), (E = G([])).leaf = !1, E.height = S;
5062
5062
  var F = Math.ceil(A / k), H = F * Math.ceil(Math.sqrt(k));
5063
5063
  B(g, m, w, H, this.compareMinX);
5064
- for (var D = m; D <= w; D += H) {
5065
- var te = Math.min(D + H - 1, w);
5066
- B(g, D, te, F, this.compareMinY);
5067
- for (var oe = D; oe <= te; oe += F) {
5064
+ for (var I = m; I <= w; I += H) {
5065
+ var te = Math.min(I + H - 1, w);
5066
+ B(g, I, te, F, this.compareMinY);
5067
+ for (var oe = I; oe <= te; oe += F) {
5068
5068
  var O = Math.min(oe + F - 1, te);
5069
5069
  E.children.push(this._build(g, oe, O, S - 1));
5070
5070
  }
@@ -5073,8 +5073,8 @@ var Ki = { exports: {} }, Bs = { exports: {} };
5073
5073
  }, s.prototype._chooseSubtree = function(g, m, w, S) {
5074
5074
  for (; S.push(m), !m.leaf && S.length - 1 !== w; ) {
5075
5075
  for (var E = 1 / 0, A = 1 / 0, k = void 0, F = 0; F < m.children.length; F++) {
5076
- var H = m.children[F], D = b(H), te = (oe = g, O = H, (Math.max(O.maxX, oe.maxX) - Math.min(O.minX, oe.minX)) * (Math.max(O.maxY, oe.maxY) - Math.min(O.minY, oe.minY)) - D);
5077
- te < A ? (A = te, E = D < E ? D : E, k = H) : te === A && D < E && (E = D, k = H);
5076
+ var H = m.children[F], I = b(H), te = (oe = g, O = H, (Math.max(O.maxX, oe.maxX) - Math.min(O.minX, oe.minX)) * (Math.max(O.maxY, oe.maxY) - Math.min(O.minY, oe.minY)) - I);
5077
+ te < A ? (A = te, E = I < E ? I : E, k = H) : te === A && I < E && (E = I, k = H);
5078
5078
  }
5079
5079
  m = k || m.children[0];
5080
5080
  }
@@ -5093,8 +5093,8 @@ var Ki = { exports: {} }, Bs = { exports: {} };
5093
5093
  }, s.prototype._splitRoot = function(g, m) {
5094
5094
  this.data = G([g, m]), this.data.height = g.height + 1, this.data.leaf = !1, l(this.data, this.toBBox);
5095
5095
  }, s.prototype._chooseSplitIndex = function(g, m, w) {
5096
- for (var S, E, A, k, F, H, D, te = 1 / 0, oe = 1 / 0, O = m; O <= w - m; O++) {
5097
- var P = a(g, 0, O, this.toBBox), M = a(g, O, w, this.toBBox), N = (E = P, A = M, k = void 0, F = void 0, H = void 0, D = void 0, k = Math.max(E.minX, A.minX), F = Math.max(E.minY, A.minY), H = Math.min(E.maxX, A.maxX), D = Math.min(E.maxY, A.maxY), Math.max(0, H - k) * Math.max(0, D - F)), L = b(P) + b(M);
5096
+ for (var S, E, A, k, F, H, I, te = 1 / 0, oe = 1 / 0, O = m; O <= w - m; O++) {
5097
+ var P = a(g, 0, O, this.toBBox), M = a(g, O, w, this.toBBox), N = (E = P, A = M, k = void 0, F = void 0, H = void 0, I = void 0, k = Math.max(E.minX, A.minX), F = Math.max(E.minY, A.minY), H = Math.min(E.maxX, A.maxX), I = Math.min(E.maxY, A.maxY), Math.max(0, H - k) * Math.max(0, I - F)), L = b(P) + b(M);
5098
5098
  N < te ? (te = N, S = O, oe = L < oe ? L : oe) : N === te && L < oe && (oe = L, S = O);
5099
5099
  }
5100
5100
  return S || w - m;
@@ -5104,8 +5104,8 @@ var Ki = { exports: {} }, Bs = { exports: {} };
5104
5104
  }, s.prototype._allDistMargin = function(g, m, w, S) {
5105
5105
  g.children.sort(S);
5106
5106
  for (var E = this.toBBox, A = a(g, 0, m, E), k = a(g, w - m, w, E), F = y(A) + y(k), H = m; H < w - m; H++) {
5107
- var D = g.children[H];
5108
- h(A, g.leaf ? E(D) : D), F += y(A);
5107
+ var I = g.children[H];
5108
+ h(A, g.leaf ? E(I) : I), F += y(A);
5109
5109
  }
5110
5110
  for (var te = w - m - 1; te >= m; te--) {
5111
5111
  var oe = g.children[te];
@@ -5122,7 +5122,7 @@ var Ki = { exports: {} }, Bs = { exports: {} };
5122
5122
  });
5123
5123
  })(Bs);
5124
5124
  var lc = Bs.exports;
5125
- const cc = /* @__PURE__ */ Di(Wl), hc = /* @__PURE__ */ Di(nc);
5125
+ const cc = /* @__PURE__ */ Ii(Wl), hc = /* @__PURE__ */ Ii(nc);
5126
5126
  function _t(t) {
5127
5127
  var e = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
5128
5128
  return Ft(t, function(r) {
@@ -5133,7 +5133,7 @@ _t.default = _t;
5133
5133
  const uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5134
5134
  __proto__: null,
5135
5135
  default: _t
5136
- }, Symbol.toStringTag, { value: "Module" })), dc = /* @__PURE__ */ Di(uc);
5136
+ }, Symbol.toStringTag, { value: "Module" })), dc = /* @__PURE__ */ Ii(uc);
5137
5137
  var Ue = lc, Fs = cc, Hs = hc, Ot = dc.default, fc = Hs.featureEach;
5138
5138
  Hs.coordEach;
5139
5139
  Fs.polygon;
@@ -5210,14 +5210,14 @@ function Gi(t, e) {
5210
5210
  Or(s.search(o), function(l) {
5211
5211
  var a = Wn(o, l);
5212
5212
  if (a) {
5213
- var h = It(a).join(",");
5213
+ var h = Dt(a).join(",");
5214
5214
  r[h] || (r[h] = !0, i.push(a));
5215
5215
  }
5216
5216
  });
5217
5217
  }), ht(i);
5218
5218
  }
5219
5219
  function Wn(t, e) {
5220
- var r = It(t), i = It(e);
5220
+ var r = Dt(t), i = Dt(e);
5221
5221
  if (r.length !== 2)
5222
5222
  throw new Error("<intersects> line1 must only contain 2 coordinates");
5223
5223
  if (i.length !== 2)
@@ -5278,7 +5278,7 @@ function bc(t, e) {
5278
5278
  case "LineString":
5279
5279
  return !Xn(e, t);
5280
5280
  case "Polygon":
5281
- return !De(t, e);
5281
+ return !Ie(t, e);
5282
5282
  }
5283
5283
  break;
5284
5284
  case "LineString":
@@ -5294,7 +5294,7 @@ function bc(t, e) {
5294
5294
  case "Polygon":
5295
5295
  switch (e.type) {
5296
5296
  case "Point":
5297
- return !De(e, t);
5297
+ return !Ie(e, t);
5298
5298
  case "LineString":
5299
5299
  return !Vn(t, e);
5300
5300
  case "Polygon":
@@ -5316,7 +5316,7 @@ function xc(t, e) {
5316
5316
  function Vn(t, e) {
5317
5317
  for (var r = 0, i = e.coordinates; r < i.length; r++) {
5318
5318
  var n = i[r];
5319
- if (De(n, t))
5319
+ if (Ie(n, t))
5320
5320
  return !0;
5321
5321
  }
5322
5322
  var s = Gi(e, wi(t));
@@ -5325,12 +5325,12 @@ function Vn(t, e) {
5325
5325
  function wc(t, e) {
5326
5326
  for (var r = 0, i = t.coordinates[0]; r < i.length; r++) {
5327
5327
  var n = i[r];
5328
- if (De(n, e))
5328
+ if (Ie(n, e))
5329
5329
  return !0;
5330
5330
  }
5331
5331
  for (var s = 0, o = e.coordinates[0]; s < o.length; s++) {
5332
5332
  var l = o[s];
5333
- if (De(l, t))
5333
+ if (Ie(l, t))
5334
5334
  return !0;
5335
5335
  }
5336
5336
  var a = Gi(wi(t), wi(e));
@@ -5355,7 +5355,7 @@ function Ec(t, e) {
5355
5355
  }
5356
5356
  function Pr(t, e, r) {
5357
5357
  r === void 0 && (r = {});
5358
- for (var i = Ds(t), n = It(e), s = 0; s < n.length - 1; s++) {
5358
+ for (var i = Is(t), n = Dt(e), s = 0; s < n.length - 1; s++) {
5359
5359
  var o = !1;
5360
5360
  if (r.ignoreEndVertices && (s === 0 && (o = "start"), s === n.length - 2 && (o = "end"), s === 0 && s + 1 === n.length - 1 && (o = "both")), Sc(n[s], n[s + 1], i, o, typeof r.epsilon > "u" ? null : r.epsilon))
5361
5361
  return !0;
@@ -5391,7 +5391,7 @@ function Ac(t, e) {
5391
5391
  return Pr(r, i, { ignoreEndVertices: !0 });
5392
5392
  case "Polygon":
5393
5393
  case "MultiPolygon":
5394
- return De(r, i, { ignoreBoundary: !0 });
5394
+ return Ie(r, i, { ignoreBoundary: !0 });
5395
5395
  default:
5396
5396
  throw new Error("feature2 " + s + " geometry not supported");
5397
5397
  }
@@ -5457,11 +5457,11 @@ function Pc(t, e) {
5457
5457
  }
5458
5458
  function Cc(t, e) {
5459
5459
  for (var r = !0, i = !1, n = 0; n < t.coordinates.length; n++) {
5460
- if (i = De(t.coordinates[1], e), !i) {
5460
+ if (i = Ie(t.coordinates[1], e), !i) {
5461
5461
  r = !1;
5462
5462
  break;
5463
5463
  }
5464
- i = De(t.coordinates[1], e, {
5464
+ i = Ie(t.coordinates[1], e, {
5465
5465
  ignoreBoundary: !0
5466
5466
  });
5467
5467
  }
@@ -5478,11 +5478,11 @@ function kc(t, e) {
5478
5478
  if (!zs(r, i))
5479
5479
  return !1;
5480
5480
  for (var n = !1, s = 0; s < t.coordinates.length - 1; s++) {
5481
- if (!De(t.coordinates[s], e))
5481
+ if (!Ie(t.coordinates[s], e))
5482
5482
  return !1;
5483
- if (n || (n = De(t.coordinates[s], e, { ignoreBoundary: !0 })), !n) {
5483
+ if (n || (n = Ie(t.coordinates[s], e, { ignoreBoundary: !0 })), !n) {
5484
5484
  var o = Tc(t.coordinates[s], t.coordinates[s + 1]);
5485
- n = De(o, e, {
5485
+ n = Ie(o, e, {
5486
5486
  ignoreBoundary: !0
5487
5487
  });
5488
5488
  }
@@ -5494,7 +5494,7 @@ function Rc(t, e) {
5494
5494
  if (!zs(i, r))
5495
5495
  return !1;
5496
5496
  for (var n = 0; n < t.coordinates[0].length; n++)
5497
- if (!De(t.coordinates[0][n], e))
5497
+ if (!Ie(t.coordinates[0][n], e))
5498
5498
  return !1;
5499
5499
  return !0;
5500
5500
  }
@@ -5507,10 +5507,10 @@ function Ys(t, e) {
5507
5507
  function Tc(t, e) {
5508
5508
  return [(t[0] + e[0]) / 2, (t[1] + e[1]) / 2];
5509
5509
  }
5510
- var Dc = Object.defineProperty, Ic = Object.getOwnPropertyDescriptor, or = (t, e, r, i) => {
5511
- for (var n = i > 1 ? void 0 : i ? Ic(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5510
+ var Ic = Object.defineProperty, Dc = Object.getOwnPropertyDescriptor, or = (t, e, r, i) => {
5511
+ for (var n = i > 1 ? void 0 : i ? Dc(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5512
5512
  (o = t[s]) && (n = (i ? o(e, r, n) : o(n)) || n);
5513
- return i && n && Dc(e, r, n), n;
5513
+ return i && n && Ic(e, r, n), n;
5514
5514
  };
5515
5515
  const Nc = (t, e) => e ? Ec(t, e) : !0, jc = (t, e) => e ? Ac(t, e) : !0;
5516
5516
  let $i = class extends _e {
@@ -5592,7 +5592,17 @@ let Cr = class extends _e {
5592
5592
  ...this.geometry && { format: "GeoJSON" },
5593
5593
  ...this.geometry && { url: this.createFeatureUrl(this.geometry) }
5594
5594
  },
5595
- zIndex: 1
5595
+ zIndex: 1,
5596
+ interactions: [
5597
+ {
5598
+ type: "draw",
5599
+ options: {
5600
+ id: "drawInteraction",
5601
+ type: "Box",
5602
+ modify: !0
5603
+ }
5604
+ }
5605
+ ]
5596
5606
  },
5597
5607
  {
5598
5608
  type: "Tile",
@@ -5604,10 +5614,7 @@ let Cr = class extends _e {
5604
5614
  }
5605
5615
  ];
5606
5616
  this.eoxMap = this.renderRoot.querySelector("eox-map"), setTimeout(() => {
5607
- this.eoxMap.setLayers(t), this.eoxMap.addDraw("draw", {
5608
- id: "drawInteraction",
5609
- type: "Polygon"
5610
- });
5617
+ this.eoxMap.setLayers(t);
5611
5618
  const e = (r) => {
5612
5619
  const i = new CustomEvent("filter", {
5613
5620
  detail: {
@@ -6272,9 +6279,9 @@ function ch(t, e, r, {
6272
6279
  ignoreLocation: h
6273
6280
  }) <= y ? k = F : w = F, F = Math.floor((w - k) / 2 + k);
6274
6281
  w = F;
6275
- let H = Math.max(1, b - F + 1), D = o ? p : Math.min(b + F, p) + f, te = Array(D + 2);
6276
- te[D + 1] = (1 << A) - 1;
6277
- for (let O = D; O >= H; O -= 1) {
6282
+ let H = Math.max(1, b - F + 1), I = o ? p : Math.min(b + F, p) + f, te = Array(I + 2);
6283
+ te[I + 1] = (1 << A) - 1;
6284
+ for (let O = I; O >= H; O -= 1) {
6278
6285
  let P = O - 1, M = r[t.charAt(P)];
6279
6286
  if (C && (G[P] = +!!M), te[O] = (te[O + 1] << 1 | 1) & M, A && (te[O] |= (g[O + 1] | g[O]) << 1 | 1 | g[O + 1]), te[O] & S && (m = xr(e, {
6280
6287
  errors: A,
@@ -7195,7 +7202,7 @@ let Ve = class extends Ea {
7195
7202
  render() {
7196
7203
  return V`
7197
7204
  <style>
7198
- ${Ii}
7205
+ ${Di}
7199
7206
  ${!this.unstyled && ji}
7200
7207
  ${this.styleOverride}
7201
7208
  </style>
@@ -7352,7 +7359,7 @@ let Ve = class extends Ea {
7352
7359
  ),
7353
7360
  () => V`
7354
7361
  <span class="title"
7355
- >${Dn(
7362
+ >${In(
7356
7363
  e[this._config.titleProperty]
7357
7364
  )}</span
7358
7365
  >
@@ -7386,7 +7393,7 @@ let Ve = class extends Ea {
7386
7393
  ),
7387
7394
  () => V`
7388
7395
  <span class="title"
7389
- >${Dn(
7396
+ >${In(
7390
7397
  t[this._config.titleProperty]
7391
7398
  )}</span
7392
7399
  >
@@ -1,8 +1,8 @@
1
- (function($e,st){typeof exports=="object"&&typeof module<"u"?st(exports):typeof define=="function"&&define.amd?define(["exports"],st):($e=typeof globalThis<"u"?globalThis:$e||self,st($e["eox-itemfilter"]={}))})(this,function($e){var ks;"use strict";/**
1
+ (function($e,st){typeof exports=="object"&&typeof module<"u"?st(exports):typeof define=="function"&&define.amd?define(["exports"],st):($e=typeof globalThis<"u"?globalThis:$e||self,st($e["eox-itemfilter"]={}))})(this,function($e){"use strict";/**
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */const st=globalThis,Nr=st.ShadowRoot&&(st.ShadyCSS===void 0||st.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Qi=Symbol(),en=new WeakMap;let io=class{constructor(e,r,i){if(this._$cssResult$=!0,i!==Qi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o;const r=this.t;if(Nr&&e===void 0){const i=r!==void 0&&r.length===1;i&&(e=en.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&en.set(r,e))}return e}toString(){return this.cssText}};const no=t=>new io(typeof t=="string"?t:t+"",void 0,Qi),so=(t,e)=>{if(Nr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(const r of e){const i=document.createElement("style"),n=st.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}},tn=Nr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const i of e.cssRules)r+=i.cssText;return no(r)})(t):t;/**
5
+ */var ks;const st=globalThis,Nr=st.ShadowRoot&&(st.ShadyCSS===void 0||st.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Qi=Symbol(),en=new WeakMap;let io=class{constructor(e,r,i){if(this._$cssResult$=!0,i!==Qi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o;const r=this.t;if(Nr&&e===void 0){const i=r!==void 0&&r.length===1;i&&(e=en.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&en.set(r,e))}return e}toString(){return this.cssText}};const no=t=>new io(typeof t=="string"?t:t+"",void 0,Qi),so=(t,e)=>{if(Nr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(const r of e){const i=document.createElement("style"),n=st.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}},tn=Nr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const i of e.cssRules)r+=i.cssText;return no(r)})(t):t;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
@@ -12,7 +12,7 @@
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
13
  */const zt=globalThis,cr=zt.trustedTypes,sn=cr?cr.createPolicy("lit-html",{createHTML:t=>t}):void 0,Hr="$lit$",Je=`lit$${(Math.random()+"").slice(9)}$`,qr="?"+Je,po=`<${qr}>`,pt=document,Yt=()=>pt.createComment(""),Wt=t=>t===null||typeof t!="object"&&typeof t!="function",on=Array.isArray,ln=t=>on(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",Ur=`[
14
14
  \f\r]`,Xt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,an=/-->/g,cn=/>/g,gt=RegExp(`>|${Ur}(?:([^\\s"'>=/]+)(${Ur}*=${Ur}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),hn=/'/g,un=/"/g,dn=/^(?:script|style|textarea|title)$/i,go=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),X=go(1),lt=Symbol.for("lit-noChange"),oe=Symbol.for("lit-nothing"),fn=new WeakMap,mt=pt.createTreeWalker(pt,129);function pn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return sn!==void 0?sn.createHTML(e):e}const gn=(t,e)=>{const r=t.length-1,i=[];let n,s=e===2?"<svg>":"",o=Xt;for(let l=0;l<r;l++){const a=t[l];let h,f,p=-1,b=0;for(;b<a.length&&(o.lastIndex=b,f=o.exec(a),f!==null);)b=o.lastIndex,o===Xt?f[1]==="!--"?o=an:f[1]!==void 0?o=cn:f[2]!==void 0?(dn.test(f[2])&&(n=RegExp("</"+f[2],"g")),o=gt):f[3]!==void 0&&(o=gt):o===gt?f[0]===">"?(o=n??Xt,p=-1):f[1]===void 0?p=-2:(p=o.lastIndex-f[2].length,h=f[1],o=f[3]===void 0?gt:f[3]==='"'?un:hn):o===un||o===hn?o=gt:o===an||o===cn?o=Xt:(o=gt,n=void 0);const y=o===gt&&t[l+1].startsWith("/>")?" ":"";s+=o===Xt?a+po:p>=0?(i.push(h),a.slice(0,p)+Hr+a.slice(p)+Je+y):a+Je+(p===-2?l:y)}return[pn(t,s+(t[r]||"<?>")+(e===2?"</svg>":"")),i]};class Vt{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let s=0,o=0;const l=e.length-1,a=this.parts,[h,f]=gn(e,r);if(this.el=Vt.createElement(h,i),mt.currentNode=this.el.content,r===2){const p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(n=mt.nextNode())!==null&&a.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(const p of n.getAttributeNames())if(p.endsWith(Hr)){const b=f[o++],y=n.getAttribute(p).split(Je),$=/([.?@])?(.*)/.exec(b);a.push({type:1,index:s,name:$[2],strings:y,ctor:$[1]==="."?yn:$[1]==="?"?vn:$[1]==="@"?bn:Kt}),n.removeAttribute(p)}else p.startsWith(Je)&&(a.push({type:6,index:s}),n.removeAttribute(p));if(dn.test(n.tagName)){const p=n.textContent.split(Je),b=p.length-1;if(b>0){n.textContent=cr?cr.emptyScript:"";for(let y=0;y<b;y++)n.append(p[y],Yt()),mt.nextNode(),a.push({type:2,index:++s});n.append(p[b],Yt())}}}else if(n.nodeType===8)if(n.data===qr)a.push({type:2,index:s});else{let p=-1;for(;(p=n.data.indexOf(Je,p+1))!==-1;)a.push({type:7,index:s}),p+=Je.length-1}s++}}static createElement(e,r){const i=pt.createElement("template");return i.innerHTML=e,i}}function yt(t,e,r=t,i){var o,l;if(e===lt)return e;let n=i!==void 0?(o=r._$Co)==null?void 0:o[i]:r._$Cl;const s=Wt(e)?void 0:e._$litDirective$;return(n==null?void 0:n.constructor)!==s&&((l=n==null?void 0:n._$AO)==null||l.call(n,!1),s===void 0?n=void 0:(n=new s(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??(r._$Co=[]))[i]=n:r._$Cl=n),n!==void 0&&(e=yt(t,n._$AS(t,e.values),n,i)),e}class mn{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:r},parts:i}=this._$AD,n=((e==null?void 0:e.creationScope)??pt).importNode(r,!0);mt.currentNode=n;let s=mt.nextNode(),o=0,l=0,a=i[0];for(;a!==void 0;){if(o===a.index){let h;a.type===2?h=new Mt(s,s.nextSibling,this,e):a.type===1?h=new a.ctor(s,a.name,a.strings,this,e):a.type===6&&(h=new xn(s,this,e)),this._$AV.push(h),a=i[++l]}o!==(a==null?void 0:a.index)&&(s=mt.nextNode(),o++)}return mt.currentNode=pt,n}p(e){let r=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}}class Mt{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=oe,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=(n==null?void 0:n.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const r=this._$AM;return r!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=yt(this,e,r),Wt(e)?e===oe||e==null||e===""?(this._$AH!==oe&&this._$AR(),this._$AH=oe):e!==this._$AH&&e!==lt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ln(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==oe&&Wt(this._$AH)?this._$AA.nextSibling.data=e:this.$(pt.createTextNode(e)),this._$AH=e}g(e){var s;const{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Vt.createElement(pn(i.h,i.h[0]),this.options)),i);if(((s=this._$AH)==null?void 0:s._$AD)===n)this._$AH.p(r);else{const o=new mn(n,this),l=o.u(this.options);o.p(r),this.$(l),this._$AH=o}}_$AC(e){let r=fn.get(e.strings);return r===void 0&&fn.set(e.strings,r=new Vt(e)),r}T(e){on(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let i,n=0;for(const s of e)n===r.length?r.push(i=new Mt(this.k(Yt()),this.k(Yt()),this,this.options)):i=r[n],i._$AI(s),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,r);e&&e!==this._$AB;){const n=e.nextSibling;e.remove(),e=n}}setConnected(e){var r;this._$AM===void 0&&(this._$Cv=e,(r=this._$AP)==null||r.call(this,e))}}class Kt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,s){this.type=1,this._$AH=oe,this._$AN=void 0,this.element=e,this.name=r,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=oe}_$AI(e,r=this,i,n){const s=this.strings;let o=!1;if(s===void 0)e=yt(this,e,r,0),o=!Wt(e)||e!==this._$AH&&e!==lt,o&&(this._$AH=e);else{const l=e;let a,h;for(e=s[0],a=0;a<s.length-1;a++)h=yt(this,l[i+a],r,a),h===lt&&(h=this._$AH[a]),o||(o=!Wt(h)||h!==this._$AH[a]),h===oe?e=oe:e!==oe&&(e+=(h??"")+s[a+1]),this._$AH[a]=h}o&&!n&&this.O(e)}O(e){e===oe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class yn extends Kt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===oe?void 0:e}}class vn extends Kt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==oe)}}class bn extends Kt{constructor(e,r,i,n,s){super(e,r,i,n,s),this.type=5}_$AI(e,r=this){if((e=yt(this,e,r,0)??oe)===lt)return;const i=this._$AH,n=e===oe&&i!==oe||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,s=e!==oe&&(i===oe||n);n&&this.element.removeEventListener(this.name,this,i),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var r;typeof this._$AH=="function"?this._$AH.call(((r=this.options)==null?void 0:r.host)??this.element,e):this._$AH.handleEvent(e)}}class xn{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){yt(this,e)}}const mo={j:Hr,P:Je,A:qr,C:1,M:gn,L:mn,R:ln,V:yt,D:Mt,I:Kt,H:vn,N:bn,U:yn,B:xn},zr=zt.litHtmlPolyfillSupport;zr==null||zr(Vt,Mt),(zt.litHtmlVersions??(zt.litHtmlVersions=[])).push("3.0.2");const yo=(t,e,r)=>{const i=(r==null?void 0:r.renderBefore)??e;let n=i._$litPart$;if(n===void 0){const s=(r==null?void 0:r.renderBefore)??null;i._$litPart$=n=new Mt(e.insertBefore(Yt(),s),s,void 0,r??{})}return n._$AI(t),n};/**
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),hn=/'/g,un=/"/g,dn=/^(?:script|style|textarea|title)$/i,go=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),X=go(1),lt=Symbol.for("lit-noChange"),oe=Symbol.for("lit-nothing"),fn=new WeakMap,mt=pt.createTreeWalker(pt,129);function pn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return sn!==void 0?sn.createHTML(e):e}const gn=(t,e)=>{const r=t.length-1,i=[];let n,s=e===2?"<svg>":"",o=Xt;for(let l=0;l<r;l++){const a=t[l];let h,f,p=-1,b=0;for(;b<a.length&&(o.lastIndex=b,f=o.exec(a),f!==null);)b=o.lastIndex,o===Xt?f[1]==="!--"?o=an:f[1]!==void 0?o=cn:f[2]!==void 0?(dn.test(f[2])&&(n=RegExp("</"+f[2],"g")),o=gt):f[3]!==void 0&&(o=gt):o===gt?f[0]===">"?(o=n??Xt,p=-1):f[1]===void 0?p=-2:(p=o.lastIndex-f[2].length,h=f[1],o=f[3]===void 0?gt:f[3]==='"'?un:hn):o===un||o===hn?o=gt:o===an||o===cn?o=Xt:(o=gt,n=void 0);const y=o===gt&&t[l+1].startsWith("/>")?" ":"";s+=o===Xt?a+po:p>=0?(i.push(h),a.slice(0,p)+Hr+a.slice(p)+Je+y):a+Je+(p===-2?l:y)}return[pn(t,s+(t[r]||"<?>")+(e===2?"</svg>":"")),i]};class Vt{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let s=0,o=0;const l=e.length-1,a=this.parts,[h,f]=gn(e,r);if(this.el=Vt.createElement(h,i),mt.currentNode=this.el.content,r===2){const p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(n=mt.nextNode())!==null&&a.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(const p of n.getAttributeNames())if(p.endsWith(Hr)){const b=f[o++],y=n.getAttribute(p).split(Je),$=/([.?@])?(.*)/.exec(b);a.push({type:1,index:s,name:$[2],strings:y,ctor:$[1]==="."?yn:$[1]==="?"?vn:$[1]==="@"?bn:Kt}),n.removeAttribute(p)}else p.startsWith(Je)&&(a.push({type:6,index:s}),n.removeAttribute(p));if(dn.test(n.tagName)){const p=n.textContent.split(Je),b=p.length-1;if(b>0){n.textContent=cr?cr.emptyScript:"";for(let y=0;y<b;y++)n.append(p[y],Yt()),mt.nextNode(),a.push({type:2,index:++s});n.append(p[b],Yt())}}}else if(n.nodeType===8)if(n.data===qr)a.push({type:2,index:s});else{let p=-1;for(;(p=n.data.indexOf(Je,p+1))!==-1;)a.push({type:7,index:s}),p+=Je.length-1}s++}}static createElement(e,r){const i=pt.createElement("template");return i.innerHTML=e,i}}function yt(t,e,r=t,i){var o,l;if(e===lt)return e;let n=i!==void 0?(o=r._$Co)==null?void 0:o[i]:r._$Cl;const s=Wt(e)?void 0:e._$litDirective$;return(n==null?void 0:n.constructor)!==s&&((l=n==null?void 0:n._$AO)==null||l.call(n,!1),s===void 0?n=void 0:(n=new s(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??(r._$Co=[]))[i]=n:r._$Cl=n),n!==void 0&&(e=yt(t,n._$AS(t,e.values),n,i)),e}class mn{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:r},parts:i}=this._$AD,n=((e==null?void 0:e.creationScope)??pt).importNode(r,!0);mt.currentNode=n;let s=mt.nextNode(),o=0,l=0,a=i[0];for(;a!==void 0;){if(o===a.index){let h;a.type===2?h=new Mt(s,s.nextSibling,this,e):a.type===1?h=new a.ctor(s,a.name,a.strings,this,e):a.type===6&&(h=new xn(s,this,e)),this._$AV.push(h),a=i[++l]}o!==(a==null?void 0:a.index)&&(s=mt.nextNode(),o++)}return mt.currentNode=pt,n}p(e){let r=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}}class Mt{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=oe,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=(n==null?void 0:n.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const r=this._$AM;return r!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=yt(this,e,r),Wt(e)?e===oe||e==null||e===""?(this._$AH!==oe&&this._$AR(),this._$AH=oe):e!==this._$AH&&e!==lt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ln(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==oe&&Wt(this._$AH)?this._$AA.nextSibling.data=e:this.$(pt.createTextNode(e)),this._$AH=e}g(e){var s;const{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Vt.createElement(pn(i.h,i.h[0]),this.options)),i);if(((s=this._$AH)==null?void 0:s._$AD)===n)this._$AH.p(r);else{const o=new mn(n,this),l=o.u(this.options);o.p(r),this.$(l),this._$AH=o}}_$AC(e){let r=fn.get(e.strings);return r===void 0&&fn.set(e.strings,r=new Vt(e)),r}T(e){on(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let i,n=0;for(const s of e)n===r.length?r.push(i=new Mt(this.k(Yt()),this.k(Yt()),this,this.options)):i=r[n],i._$AI(s),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,r);e&&e!==this._$AB;){const n=e.nextSibling;e.remove(),e=n}}setConnected(e){var r;this._$AM===void 0&&(this._$Cv=e,(r=this._$AP)==null||r.call(this,e))}}class Kt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,s){this.type=1,this._$AH=oe,this._$AN=void 0,this.element=e,this.name=r,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=oe}_$AI(e,r=this,i,n){const s=this.strings;let o=!1;if(s===void 0)e=yt(this,e,r,0),o=!Wt(e)||e!==this._$AH&&e!==lt,o&&(this._$AH=e);else{const l=e;let a,h;for(e=s[0],a=0;a<s.length-1;a++)h=yt(this,l[i+a],r,a),h===lt&&(h=this._$AH[a]),o||(o=!Wt(h)||h!==this._$AH[a]),h===oe?e=oe:e!==oe&&(e+=(h??"")+s[a+1]),this._$AH[a]=h}o&&!n&&this.O(e)}O(e){e===oe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class yn extends Kt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===oe?void 0:e}}class vn extends Kt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==oe)}}class bn extends Kt{constructor(e,r,i,n,s){super(e,r,i,n,s),this.type=5}_$AI(e,r=this){if((e=yt(this,e,r,0)??oe)===lt)return;const i=this._$AH,n=e===oe&&i!==oe||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,s=e!==oe&&(i===oe||n);n&&this.element.removeEventListener(this.name,this,i),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var r;typeof this._$AH=="function"?this._$AH.call(((r=this.options)==null?void 0:r.host)??this.element,e):this._$AH.handleEvent(e)}}class xn{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){yt(this,e)}}const mo={j:Hr,P:Je,A:qr,C:1,M:gn,L:mn,R:ln,V:yt,D:Mt,I:Kt,H:vn,N:bn,U:yn,B:xn},zr=zt.litHtmlPolyfillSupport;zr==null||zr(Vt,Mt),(zt.litHtmlVersions??(zt.litHtmlVersions=[])).push("3.1.0");const yo=(t,e,r)=>{const i=(r==null?void 0:r.renderBefore)??e;let n=i._$litPart$;if(n===void 0){const s=(r==null?void 0:r.renderBefore)??null;i._$litPart$=n=new Mt(e.insertBefore(Yt(),s),s,void 0,r??{})}return n._$AI(t),n};/**
16
16
  * @license
17
17
  * Copyright 2017 Google LLC
18
18
  * SPDX-License-Identifier: BSD-3-Clause
@@ -423,7 +423,7 @@ button#filter-reset:after {
423
423
  line-height: initial;
424
424
  }
425
425
  .scroll {
426
- max-height: 100%;
426
+ max-height: calc(100% - 30px);
427
427
  overflow-x: hidden;
428
428
  overflow-y: auto;
429
429
  }
@@ -667,7 +667,7 @@ eox-itemfilter-range {
667
667
  @items-selected=${t=>this._handleSelected(t.detail)}
668
668
  ></eox-selectionlist>
669
669
  `)}
670
- `)}};vr([J()],rr.prototype,"filterObject",2),vr([J({type:Boolean})],rr.prototype,"inline",2),vr([J({type:Boolean})],rr.prototype,"unstyled",2),rr=vr([ke("eox-itemfilter-multiselect")],rr);var hl="Expected a function",Yn=0/0,ul="[object Symbol]",dl=/^\s+|\s+$/g,fl=/^[-+]0x[0-9a-f]+$/i,pl=/^0b[01]+$/i,gl=/^0o[0-7]+$/i,ml=parseInt,yl=typeof Pt=="object"&&Pt&&Pt.Object===Object&&Pt,vl=typeof self=="object"&&self&&self.Object===Object&&self,bl=yl||vl||Function("return this")(),xl=Object.prototype,wl=xl.toString,$l=Math.max,_l=Math.min,ni=function(){return bl.Date.now()};function El(t,e,r){var i,n,s,o,l,a,h=0,f=!1,p=!1,b=!0;if(typeof t!="function")throw new TypeError(hl);e=Wn(e)||0,si(r)&&(f=!!r.leading,p="maxWait"in r,s=p?$l(Wn(r.maxWait)||0,e):s,b="trailing"in r?!!r.trailing:b);function y(E){var A=i,k=n;return i=n=void 0,h=E,o=t.apply(k,A),o}function $(E){return h=E,l=setTimeout(B,e),f?y(E):o}function C(E){var A=E-a,k=E-h,F=e-A;return p?_l(F,s-k):F}function G(E){var A=E-a,k=E-h;return a===void 0||A>=e||A<0||p&&k>=s}function B(){var E=ni();if(G(E))return g(E);l=setTimeout(B,C(E))}function g(E){return l=void 0,b&&i?y(E):(i=n=void 0,o)}function m(){l!==void 0&&clearTimeout(l),h=0,i=a=n=l=void 0}function w(){return l===void 0?o:g(ni())}function S(){var E=ni(),A=G(E);if(i=arguments,n=this,a=E,A){if(l===void 0)return $(a);if(p)return l=setTimeout(B,e),y(a)}return l===void 0&&(l=setTimeout(B,e)),o}return S.cancel=m,S.flush=w,S}function si(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function Sl(t){return!!t&&typeof t=="object"}function Al(t){return typeof t=="symbol"||Sl(t)&&wl.call(t)==ul}function Wn(t){if(typeof t=="number")return t;if(Al(t))return Yn;if(si(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=si(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(dl,"");var r=pl.test(t);return r||gl.test(t)?ml(t.slice(2),r?2:8):fl.test(t)?Yn:+t}var Ml=El;const Xn=Vr(Ml);var Ol=Object.defineProperty,Pl=Object.getOwnPropertyDescriptor,Vn=(t,e,r,i)=>{for(var n=i>1?void 0:i?Pl(e,r):e,s=t.length-1,o;s>=0;s--)(o=t[s])&&(n=(i?o(e,r,n):o(n))||n);return i&&n&&Ol(e,r,n),n};let oi=class extends _e{constructor(){super(...arguments),this.inputHandler=t=>{const[e,r]=t.detail.values;(e!==this.filterObject.state.min||r!=this.filterObject.state.max)&&([this.filterObject.state.min,this.filterObject.state.max]=[e,r],this.filterObject.dirty=!0),this.filterObject.dirty&&(this.filterObject.stringifiedState=`${Ct(e)} - ${Ct(r)}`),this.dispatchEvent(new CustomEvent("filter")),this.requestUpdate()},this.debouncedInputHandler=Xn(this.inputHandler,0,{leading:!0})}reset(){Lt(this.filterObject),this.requestUpdate()}createRenderRoot(){return this}render(){return de(this.filterObject,()=>X`
670
+ `)}};vr([J()],rr.prototype,"filterObject",2),vr([J({type:Boolean})],rr.prototype,"inline",2),vr([J({type:Boolean})],rr.prototype,"unstyled",2),rr=vr([ke("eox-itemfilter-multiselect")],rr);var hl="Expected a function",Yn=NaN,ul="[object Symbol]",dl=/^\s+|\s+$/g,fl=/^[-+]0x[0-9a-f]+$/i,pl=/^0b[01]+$/i,gl=/^0o[0-7]+$/i,ml=parseInt,yl=typeof Pt=="object"&&Pt&&Pt.Object===Object&&Pt,vl=typeof self=="object"&&self&&self.Object===Object&&self,bl=yl||vl||Function("return this")(),xl=Object.prototype,wl=xl.toString,$l=Math.max,_l=Math.min,ni=function(){return bl.Date.now()};function El(t,e,r){var i,n,s,o,l,a,h=0,f=!1,p=!1,b=!0;if(typeof t!="function")throw new TypeError(hl);e=Wn(e)||0,si(r)&&(f=!!r.leading,p="maxWait"in r,s=p?$l(Wn(r.maxWait)||0,e):s,b="trailing"in r?!!r.trailing:b);function y(E){var A=i,k=n;return i=n=void 0,h=E,o=t.apply(k,A),o}function $(E){return h=E,l=setTimeout(B,e),f?y(E):o}function C(E){var A=E-a,k=E-h,F=e-A;return p?_l(F,s-k):F}function G(E){var A=E-a,k=E-h;return a===void 0||A>=e||A<0||p&&k>=s}function B(){var E=ni();if(G(E))return g(E);l=setTimeout(B,C(E))}function g(E){return l=void 0,b&&i?y(E):(i=n=void 0,o)}function m(){l!==void 0&&clearTimeout(l),h=0,i=a=n=l=void 0}function w(){return l===void 0?o:g(ni())}function S(){var E=ni(),A=G(E);if(i=arguments,n=this,a=E,A){if(l===void 0)return $(a);if(p)return l=setTimeout(B,e),y(a)}return l===void 0&&(l=setTimeout(B,e)),o}return S.cancel=m,S.flush=w,S}function si(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function Sl(t){return!!t&&typeof t=="object"}function Al(t){return typeof t=="symbol"||Sl(t)&&wl.call(t)==ul}function Wn(t){if(typeof t=="number")return t;if(Al(t))return Yn;if(si(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=si(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(dl,"");var r=pl.test(t);return r||gl.test(t)?ml(t.slice(2),r?2:8):fl.test(t)?Yn:+t}var Ml=El;const Xn=Vr(Ml);var Ol=Object.defineProperty,Pl=Object.getOwnPropertyDescriptor,Vn=(t,e,r,i)=>{for(var n=i>1?void 0:i?Pl(e,r):e,s=t.length-1,o;s>=0;s--)(o=t[s])&&(n=(i?o(e,r,n):o(n))||n);return i&&n&&Ol(e,r,n),n};let oi=class extends _e{constructor(){super(...arguments),this.inputHandler=t=>{const[e,r]=t.detail.values;(e!==this.filterObject.state.min||r!=this.filterObject.state.max)&&([this.filterObject.state.min,this.filterObject.state.max]=[e,r],this.filterObject.dirty=!0),this.filterObject.dirty&&(this.filterObject.stringifiedState=`${Ct(e)} - ${Ct(r)}`),this.dispatchEvent(new CustomEvent("filter")),this.requestUpdate()},this.debouncedInputHandler=Xn(this.inputHandler,0,{leading:!0})}reset(){Lt(this.filterObject),this.requestUpdate()}createRenderRoot(){return this}render(){return de(this.filterObject,()=>X`
671
671
  <div class="range-before">
672
672
  ${this.filterObject.format==="date"?Ct.unix(this.filterObject.state.min):this.filterObject.state.min}
673
673
  </div>
@@ -720,7 +720,7 @@ eox-itemfilter-range {
720
720
  .geometry=${(t=this.filterObject.state)==null?void 0:t.geometry}
721
721
  @filter="${e=>{this.filterObject.state.geometry=e.detail.geometry,this.filterObject.dirty=!0,this.filterObject.stringifiedState="Polygon",this.dispatchEvent(new CustomEvent("filter"))}}"
722
722
  ></eox-itemfilter-spatial>
723
- `})}};nr([J()],yi.prototype,"filterObject",2),yi=nr([ke("eox-itemfilter-spatial")],yi);let _r=class extends _e{render(){return X`<eox-map part="map" style="height: 400px"></eox-map>`}firstUpdated(){this.setup()}setup(){const t=[{type:"Vector",properties:{id:"draw"},source:{type:"Vector",...this.geometry&&{format:"GeoJSON"},...this.geometry&&{url:this.createFeatureUrl(this.geometry)}},zIndex:1},{type:"Tile",source:{type:"XYZ",url:"https://s2maps-tiles.eu/wmts/1.0.0/osm_3857/default/g/{z}/{y}/{x}.jpg",attribution:"{ OSM: Data &copy; OpenStreetMap contributors and others, Rendering &copy; EOX }"}}];this.eoxMap=this.renderRoot.querySelector("eox-map"),setTimeout(()=>{this.eoxMap.setLayers(t),this.eoxMap.addDraw("draw",{id:"drawInteraction",type:"Polygon"});const e=r=>{const i=new CustomEvent("filter",{detail:{geometry:{type:"Polygon",coordinates:r.getGeometry().clone().transform("EPSG:3857","EPSG:4326").getCoordinates()}}});this.dispatchEvent(i)};this.eoxMap.interactions.drawInteraction.on("drawend",r=>{e(r.feature),this.eoxMap.removeInteraction("drawInteraction")}),this.eoxMap.interactions.drawInteraction_modify.on("modifyend",r=>{e(r.features.getArray()[0])})},1e3)}createFeatureUrl(t){return`data:text/json,${encodeURIComponent(JSON.stringify({type:"FeatureCollection",features:[{type:"Feature",properties:null,geometry:t}]}))}`}reset(){var e;const t=this.eoxMap.getLayerById("draw").getSource();((e=t.getFeatures())==null?void 0:e.length)>0&&(t.clear(),this.eoxMap.removeInteraction("drawInteraction_modify"),this.setup())}};nr([J()],_r.prototype,"geometry",2),nr([Ue()],_r.prototype,"eoxMap",2),_r=nr([ke("eox-itemfilter-spatial-filter")],_r);var Na=Object.defineProperty,Ba=Object.getOwnPropertyDescriptor,ms=(t,e,r,i)=>{for(var n=i>1?void 0:i?Ba(e,r):e,s=t.length-1,o;s>=0;s--)(o=t[s])&&(n=(i?o(e,r,n):o(n))||n);return i&&n&&Na(e,r,n),n};let vi=class extends _e{constructor(){super(...arguments),this.inputHandler=()=>{const t=this.renderRoot.querySelector("input[type='text']");this.filterObject.keys.forEach(e=>{this.filterObject.state[e]=t.value}),this.filterObject.dirty=!0,this.filterObject.stringifiedState=t.value,this.dispatchEvent(new CustomEvent("filter"))},this.debouncedInputHandler=Xn(this.inputHandler,500,{leading:!0})}reset(){const t=this.renderRoot.querySelector("input[type='text']");t.value="",Lt(this.filterObject),this.filterObject.dirty=!1,this.requestUpdate()}createRenderRoot(){return this}render(){return de(this.filterObject,()=>X`
723
+ `})}};nr([J()],yi.prototype,"filterObject",2),yi=nr([ke("eox-itemfilter-spatial")],yi);let _r=class extends _e{render(){return X`<eox-map part="map" style="height: 400px"></eox-map>`}firstUpdated(){this.setup()}setup(){const t=[{type:"Vector",properties:{id:"draw"},source:{type:"Vector",...this.geometry&&{format:"GeoJSON"},...this.geometry&&{url:this.createFeatureUrl(this.geometry)}},zIndex:1,interactions:[{type:"draw",options:{id:"drawInteraction",type:"Box",modify:!0}}]},{type:"Tile",source:{type:"XYZ",url:"https://s2maps-tiles.eu/wmts/1.0.0/osm_3857/default/g/{z}/{y}/{x}.jpg",attribution:"{ OSM: Data &copy; OpenStreetMap contributors and others, Rendering &copy; EOX }"}}];this.eoxMap=this.renderRoot.querySelector("eox-map"),setTimeout(()=>{this.eoxMap.setLayers(t);const e=r=>{const i=new CustomEvent("filter",{detail:{geometry:{type:"Polygon",coordinates:r.getGeometry().clone().transform("EPSG:3857","EPSG:4326").getCoordinates()}}});this.dispatchEvent(i)};this.eoxMap.interactions.drawInteraction.on("drawend",r=>{e(r.feature),this.eoxMap.removeInteraction("drawInteraction")}),this.eoxMap.interactions.drawInteraction_modify.on("modifyend",r=>{e(r.features.getArray()[0])})},1e3)}createFeatureUrl(t){return`data:text/json,${encodeURIComponent(JSON.stringify({type:"FeatureCollection",features:[{type:"Feature",properties:null,geometry:t}]}))}`}reset(){var e;const t=this.eoxMap.getLayerById("draw").getSource();((e=t.getFeatures())==null?void 0:e.length)>0&&(t.clear(),this.eoxMap.removeInteraction("drawInteraction_modify"),this.setup())}};nr([J()],_r.prototype,"geometry",2),nr([Ue()],_r.prototype,"eoxMap",2),_r=nr([ke("eox-itemfilter-spatial-filter")],_r);var Na=Object.defineProperty,Ba=Object.getOwnPropertyDescriptor,ms=(t,e,r,i)=>{for(var n=i>1?void 0:i?Ba(e,r):e,s=t.length-1,o;s>=0;s--)(o=t[s])&&(n=(i?o(e,r,n):o(n))||n);return i&&n&&Na(e,r,n),n};let vi=class extends _e{constructor(){super(...arguments),this.inputHandler=()=>{const t=this.renderRoot.querySelector("input[type='text']");this.filterObject.keys.forEach(e=>{this.filterObject.state[e]=t.value}),this.filterObject.dirty=!0,this.filterObject.stringifiedState=t.value,this.dispatchEvent(new CustomEvent("filter"))},this.debouncedInputHandler=Xn(this.inputHandler,500,{leading:!0})}reset(){const t=this.renderRoot.querySelector("input[type='text']");t.value="",Lt(this.filterObject),this.filterObject.dirty=!1,this.requestUpdate()}createRenderRoot(){return this}render(){return de(this.filterObject,()=>X`
724
724
  <style>
725
725
  input {
726
726
  max-height: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eox/itemfilter",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "type": "module",
5
5
  "devDependencies": {
6
6
  "@eox/eslint-config": "^1.0.0",
@@ -9,7 +9,7 @@
9
9
  "@typescript-eslint/parser": "^6.8.0",
10
10
  "eslint-plugin-typescript": "^0.14.0",
11
11
  "typescript": "^5.2.2",
12
- "vite": "^4.0.0"
12
+ "vite": "^5.0.2"
13
13
  },
14
14
  "engines": {
15
15
  "npm": ">=8.0.0",