@eox/layercontrol 0.29.0 → 0.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/dist/eox-layercontrol.js +770 -778
  2. package/dist/eox-layercontrol.umd.cjs +55 -55
  3. package/package.json +5 -3
  4. package/src/components/add-layers.js +1 -1
  5. package/src/components/layer-group.js +3 -1
  6. package/src/components/layer-tools.js +1 -3
  7. package/src/helpers/clean-json-input.js +0 -1
  8. package/src/helpers/get-start-vals.js +0 -3
  9. package/src/main.js +1 -1
  10. package/src/methods/layer-config/apply-updated-styles.js +1 -0
  11. package/src/methods/layercontrol/first-update.js +10 -4
  12. package/types/layercontrol/src/components/add-layers.d.ts +2 -2
  13. package/types/layercontrol/src/components/add-layers.d.ts.map +1 -1
  14. package/types/layercontrol/src/components/layer-config.d.ts.map +1 -1
  15. package/types/layercontrol/src/components/layer-datetime.d.ts.map +1 -1
  16. package/types/layercontrol/src/components/layer-group.d.ts.map +1 -1
  17. package/types/layercontrol/src/components/layer-legend.d.ts.map +1 -1
  18. package/types/layercontrol/src/components/layer-list.d.ts.map +1 -1
  19. package/types/layercontrol/src/components/layer-tools.d.ts.map +1 -1
  20. package/types/layercontrol/src/components/layer.d.ts.map +1 -1
  21. package/types/layercontrol/src/components/tools-items.d.ts.map +1 -1
  22. package/types/layercontrol/src/enums/stories/index.d.ts.map +1 -1
  23. package/types/layercontrol/src/helpers/clean-json-input.d.ts.map +1 -1
  24. package/types/layercontrol/src/helpers/fetch-capabilities.d.ts.map +1 -1
  25. package/types/layercontrol/src/helpers/filter-layers.d.ts.map +1 -1
  26. package/types/layercontrol/src/helpers/get-legend-config.d.ts.map +1 -1
  27. package/types/layercontrol/src/helpers/get-start-vals.d.ts +1 -1
  28. package/types/layercontrol/src/helpers/get-start-vals.d.ts.map +1 -1
  29. package/types/layercontrol/src/helpers/layer-tools.d.ts.map +1 -1
  30. package/types/layercontrol/src/main.d.ts +2 -2
  31. package/types/layercontrol/src/main.d.ts.map +1 -1
  32. package/types/layercontrol/src/methods/add-layer/wms-search-url.d.ts.map +1 -1
  33. package/types/layercontrol/src/methods/layer-config/apply-updated-styles.d.ts +1 -1
  34. package/types/layercontrol/src/methods/layer-config/apply-updated-styles.d.ts.map +1 -1
  35. package/types/layercontrol/src/methods/layercontrol/first-update.d.ts +2 -2
  36. package/types/layercontrol/src/methods/layercontrol/first-update.d.ts.map +1 -1
  37. package/types/map/src/controls/controls.d.ts +2 -2
  38. package/types/map/src/controls/controls.d.ts.map +1 -1
  39. package/types/map/src/controls/geo-location.d.ts +2 -2
  40. package/types/map/src/controls/geo-location.d.ts.map +1 -1
  41. package/types/map/src/controls/loading-indicator.d.ts +2 -2
  42. package/types/map/src/controls/loading-indicator.d.ts.map +1 -1
  43. package/types/map/src/helpers/add-new-feature.d.ts.map +1 -1
  44. package/types/map/src/helpers/center.d.ts.map +1 -1
  45. package/types/map/src/helpers/coordinates-roughly-equals.d.ts.map +1 -1
  46. package/types/map/src/helpers/draw.d.ts +6 -6
  47. package/types/map/src/helpers/draw.d.ts.map +1 -1
  48. package/types/map/src/helpers/generate.d.ts +9 -8
  49. package/types/map/src/helpers/generate.d.ts.map +1 -1
  50. package/types/map/src/helpers/layer.d.ts +5 -5
  51. package/types/map/src/helpers/layer.d.ts.map +1 -1
  52. package/types/map/src/helpers/parse-feature.d.ts.map +1 -1
  53. package/types/map/src/helpers/register-projection-from-code.d.ts.map +1 -1
  54. package/types/map/src/helpers/register-projection.d.ts.map +1 -1
  55. package/types/map/src/helpers/select.d.ts +11 -11
  56. package/types/map/src/helpers/select.d.ts.map +1 -1
  57. package/types/map/src/helpers/tile-grid.d.ts +2 -2
  58. package/types/map/src/helpers/tile-grid.d.ts.map +1 -1
  59. package/types/map/src/helpers/transform.d.ts +2 -2
  60. package/types/map/src/helpers/transform.d.ts.map +1 -1
  61. package/types/map/src/main.d.ts +26 -26
  62. package/types/map/src/main.d.ts.map +1 -1
  63. package/types/map/src/methods/map/add-update-layer.d.ts +2 -2
  64. package/types/map/src/methods/map/add-update-layer.d.ts.map +1 -1
  65. package/types/map/src/methods/map/getters.d.ts.map +1 -1
  66. package/types/map/src/methods/map/setters.d.ts +12 -12
  67. package/types/map/src/methods/map/setters.d.ts.map +1 -1
  68. package/types/map/{types.d.ts → src/types.d.ts} +13 -2
  69. package/types/map/src/types.d.ts.map +1 -0
  70. package/types/map/types.d.ts.map +0 -1
@@ -1,17 +1,17 @@
1
- var to = Object.defineProperty;
2
- var bn = (i) => {
1
+ var Xr = Object.defineProperty;
2
+ var mn = (i) => {
3
3
  throw TypeError(i);
4
4
  };
5
- var eo = (i, t, e) => t in i ? to(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
6
- var j = (i, t, e) => eo(i, typeof t != "symbol" ? t + "" : t, e), Ti = (i, t, e) => t.has(i) || bn("Cannot " + e);
7
- var S = (i, t, e) => (Ti(i, t, "read from private field"), e ? e.call(i) : t.get(i)), D = (i, t, e) => t.has(i) ? bn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(i) : t.set(i, e), _t = (i, t, e, n) => (Ti(i, t, "write to private field"), n ? n.call(i, e) : t.set(i, e), e), B = (i, t, e) => (Ti(i, t, "access private method"), e);
5
+ var Wr = (i, t, e) => t in i ? Xr(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
6
+ var j = (i, t, e) => Wr(i, typeof t != "symbol" ? t + "" : t, e), Ti = (i, t, e) => t.has(i) || mn("Cannot " + e);
7
+ var S = (i, t, e) => (Ti(i, t, "read from private field"), e ? e.call(i) : t.get(i)), D = (i, t, e) => t.has(i) ? mn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(i) : t.set(i, e), Ct = (i, t, e, n) => (Ti(i, t, "write to private field"), n ? n.call(i, e) : t.set(i, e), e), B = (i, t, e) => (Ti(i, t, "access private method"), e);
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2019 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const je = globalThis, en = je.ShadowRoot && (je.ShadyCSS === void 0 || je.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, nn = Symbol(), vn = /* @__PURE__ */ new WeakMap();
14
- let qn = class {
13
+ const Fe = globalThis, en = Fe.ShadowRoot && (Fe.ShadyCSS === void 0 || Fe.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, nn = Symbol(), yn = /* @__PURE__ */ new WeakMap();
14
+ let zn = class {
15
15
  constructor(t, e, n) {
16
16
  if (this._$cssResult$ = !0, n !== nn) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
17
17
  this.cssText = t, this.t = e;
@@ -21,7 +21,7 @@ let qn = class {
21
21
  const e = this.t;
22
22
  if (en && t === void 0) {
23
23
  const n = e !== void 0 && e.length === 1;
24
- n && (t = vn.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), n && vn.set(e, t));
24
+ n && (t = yn.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), n && yn.set(e, t));
25
25
  }
26
26
  return t;
27
27
  }
@@ -29,33 +29,33 @@ let qn = class {
29
29
  return this.cssText;
30
30
  }
31
31
  };
32
- const io = (i) => new qn(typeof i == "string" ? i : i + "", void 0, nn), Xn = (i, ...t) => {
32
+ const Yr = (i) => new zn(typeof i == "string" ? i : i + "", void 0, nn), Zn = (i, ...t) => {
33
33
  const e = i.length === 1 ? i[0] : t.reduce((n, r, o) => n + ((s) => {
34
34
  if (s._$cssResult$ === !0) return s.cssText;
35
35
  if (typeof s == "number") return s;
36
36
  throw Error("Value passed to 'css' function must be a 'css' function result: " + s + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
37
37
  })(r) + i[o + 1], i[0]);
38
- return new qn(e, i, nn);
39
- }, no = (i, t) => {
38
+ return new zn(e, i, nn);
39
+ }, Gr = (i, t) => {
40
40
  if (en) i.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
41
41
  else for (const e of t) {
42
- const n = document.createElement("style"), r = je.litNonce;
42
+ const n = document.createElement("style"), r = Fe.litNonce;
43
43
  r !== void 0 && n.setAttribute("nonce", r), n.textContent = e.cssText, i.appendChild(n);
44
44
  }
45
- }, wn = en ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
45
+ }, bn = en ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
46
46
  let e = "";
47
47
  for (const n of t.cssRules) e += n.cssText;
48
- return io(e);
48
+ return Yr(e);
49
49
  })(i) : i;
50
50
  /**
51
51
  * @license
52
52
  * Copyright 2017 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
54
  */
55
- const { is: ro, defineProperty: oo, getOwnPropertyDescriptor: so, getOwnPropertyNames: ao, getOwnPropertySymbols: lo, getPrototypeOf: co } = Object, Ft = globalThis, xn = Ft.trustedTypes, uo = xn ? xn.emptyScript : "", Di = Ft.reactiveElementPolyfillSupport, ve = (i, t) => i, Xi = { toAttribute(i, t) {
55
+ const { is: Jr, defineProperty: Kr, getOwnPropertyDescriptor: Qr, getOwnPropertyNames: to, getOwnPropertySymbols: eo, getPrototypeOf: io } = Object, Ft = globalThis, vn = Ft.trustedTypes, no = vn ? vn.emptyScript : "", Di = Ft.reactiveElementPolyfillSupport, ve = (i, t) => i, Xi = { toAttribute(i, t) {
56
56
  switch (t) {
57
57
  case Boolean:
58
- i = i ? uo : null;
58
+ i = i ? no : null;
59
59
  break;
60
60
  case Object:
61
61
  case Array:
@@ -80,23 +80,23 @@ const { is: ro, defineProperty: oo, getOwnPropertyDescriptor: so, getOwnProperty
80
80
  }
81
81
  }
82
82
  return e;
83
- } }, Yn = (i, t) => !ro(i, t), En = { attribute: !0, type: String, converter: Xi, reflect: !1, hasChanged: Yn };
83
+ } }, qn = (i, t) => !Jr(i, t), wn = { attribute: !0, type: String, converter: Xi, reflect: !1, hasChanged: qn };
84
84
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Ft.litPropertyMetadata ?? (Ft.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
85
- class re extends HTMLElement {
85
+ class ne extends HTMLElement {
86
86
  static addInitializer(t) {
87
87
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
88
88
  }
89
89
  static get observedAttributes() {
90
90
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
91
91
  }
92
- static createProperty(t, e = En) {
92
+ static createProperty(t, e = wn) {
93
93
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
94
94
  const n = Symbol(), r = this.getPropertyDescriptor(t, n, e);
95
- r !== void 0 && oo(this.prototype, t, r);
95
+ r !== void 0 && Kr(this.prototype, t, r);
96
96
  }
97
97
  }
98
98
  static getPropertyDescriptor(t, e, n) {
99
- const { get: r, set: o } = so(this.prototype, t) ?? { get() {
99
+ const { get: r, set: o } = Qr(this.prototype, t) ?? { get() {
100
100
  return this[e];
101
101
  }, set(s) {
102
102
  this[e] = s;
@@ -109,17 +109,17 @@ class re extends HTMLElement {
109
109
  }, configurable: !0, enumerable: !0 };
110
110
  }
111
111
  static getPropertyOptions(t) {
112
- return this.elementProperties.get(t) ?? En;
112
+ return this.elementProperties.get(t) ?? wn;
113
113
  }
114
114
  static _$Ei() {
115
115
  if (this.hasOwnProperty(ve("elementProperties"))) return;
116
- const t = co(this);
116
+ const t = io(this);
117
117
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
118
118
  }
119
119
  static finalize() {
120
120
  if (this.hasOwnProperty(ve("finalized"))) return;
121
121
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ve("properties"))) {
122
- const e = this.properties, n = [...ao(e), ...lo(e)];
122
+ const e = this.properties, n = [...to(e), ...eo(e)];
123
123
  for (const r of n) this.createProperty(r, e[r]);
124
124
  }
125
125
  const t = this[Symbol.metadata];
@@ -138,8 +138,8 @@ class re extends HTMLElement {
138
138
  const e = [];
139
139
  if (Array.isArray(t)) {
140
140
  const n = new Set(t.flat(1 / 0).reverse());
141
- for (const r of n) e.unshift(wn(r));
142
- } else t !== void 0 && e.push(wn(t));
141
+ for (const r of n) e.unshift(bn(r));
142
+ } else t !== void 0 && e.push(bn(t));
143
143
  return e;
144
144
  }
145
145
  static _$Eu(t, e) {
@@ -168,7 +168,7 @@ class re extends HTMLElement {
168
168
  }
169
169
  createRenderRoot() {
170
170
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
171
- return no(t, this.constructor.elementStyles), t;
171
+ return Gr(t, this.constructor.elementStyles), t;
172
172
  }
173
173
  connectedCallback() {
174
174
  var t;
@@ -207,7 +207,7 @@ class re extends HTMLElement {
207
207
  }
208
208
  requestUpdate(t, e, n) {
209
209
  if (t !== void 0) {
210
- if (n ?? (n = this.constructor.getPropertyOptions(t)), !(n.hasChanged ?? Yn)(this[t], e)) return;
210
+ if (n ?? (n = this.constructor.getPropertyOptions(t)), !(n.hasChanged ?? qn)(this[t], e)) return;
211
211
  this.P(t, e, n);
212
212
  }
213
213
  this.isUpdatePending === !1 && (this._$ES = this._$ET());
@@ -280,59 +280,59 @@ class re extends HTMLElement {
280
280
  firstUpdated(t) {
281
281
  }
282
282
  }
283
- re.elementStyles = [], re.shadowRootOptions = { mode: "open" }, re[ve("elementProperties")] = /* @__PURE__ */ new Map(), re[ve("finalized")] = /* @__PURE__ */ new Map(), Di == null || Di({ ReactiveElement: re }), (Ft.reactiveElementVersions ?? (Ft.reactiveElementVersions = [])).push("2.0.4");
283
+ ne.elementStyles = [], ne.shadowRootOptions = { mode: "open" }, ne[ve("elementProperties")] = /* @__PURE__ */ new Map(), ne[ve("finalized")] = /* @__PURE__ */ new Map(), Di == null || Di({ ReactiveElement: ne }), (Ft.reactiveElementVersions ?? (Ft.reactiveElementVersions = [])).push("2.0.4");
284
284
  /**
285
285
  * @license
286
286
  * Copyright 2017 Google LLC
287
287
  * SPDX-License-Identifier: BSD-3-Clause
288
288
  */
289
- const we = globalThis, Je = we.trustedTypes, $n = Je ? Je.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, rn = "$lit$", Dt = `lit$${Math.random().toFixed(9).slice(2)}$`, on = "?" + Dt, ho = `<${on}>`, te = document, Ce = () => te.createComment(""), _e = (i) => i === null || typeof i != "object" && typeof i != "function", sn = Array.isArray, Wn = (i) => sn(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", Pi = `[
290
- \f\r]`, fe = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Sn = /-->/g, An = />/g, Xt = RegExp(`>|${Pi}(?:([^\\s"'>=/]+)(${Pi}*=${Pi}*(?:[^
291
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Cn = /'/g, _n = /"/g, Gn = /^(?:script|style|textarea|title)$/i, po = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), x = po(1), wt = Symbol.for("lit-noChange"), P = Symbol.for("lit-nothing"), Tn = /* @__PURE__ */ new WeakMap(), Kt = te.createTreeWalker(te, 129);
292
- function Jn(i, t) {
293
- if (!sn(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
294
- return $n !== void 0 ? $n.createHTML(t) : t;
295
- }
296
- const Kn = (i, t) => {
289
+ const we = globalThis, Ge = we.trustedTypes, xn = Ge ? Ge.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, Xn = "$lit$", Nt = `lit$${Math.random().toFixed(9).slice(2)}$`, Wn = "?" + Nt, ro = `<${Wn}>`, te = document, _e = () => te.createComment(""), Ce = (i) => i === null || typeof i != "object" && typeof i != "function", rn = Array.isArray, oo = (i) => rn(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", Pi = `[
290
+ \f\r]`, fe = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, $n = /-->/g, En = />/g, Xt = RegExp(`>|${Pi}(?:([^\\s"'>=/]+)(${Pi}*=${Pi}*(?:[^
291
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Sn = /'/g, An = /"/g, Yn = /^(?:script|style|textarea|title)$/i, so = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), x = so(1), wt = Symbol.for("lit-noChange"), P = Symbol.for("lit-nothing"), _n = /* @__PURE__ */ new WeakMap(), Kt = te.createTreeWalker(te, 129);
292
+ function Gn(i, t) {
293
+ if (!rn(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
294
+ return xn !== void 0 ? xn.createHTML(t) : t;
295
+ }
296
+ const ao = (i, t) => {
297
297
  const e = i.length - 1, n = [];
298
298
  let r, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = fe;
299
299
  for (let a = 0; a < e; a++) {
300
300
  const l = i[a];
301
- let d, u, c = -1, p = 0;
302
- for (; p < l.length && (s.lastIndex = p, u = s.exec(l), u !== null); ) p = s.lastIndex, s === fe ? u[1] === "!--" ? s = Sn : u[1] !== void 0 ? s = An : u[2] !== void 0 ? (Gn.test(u[2]) && (r = RegExp("</" + u[2], "g")), s = Xt) : u[3] !== void 0 && (s = Xt) : s === Xt ? u[0] === ">" ? (s = r ?? fe, c = -1) : u[1] === void 0 ? c = -2 : (c = s.lastIndex - u[2].length, d = u[1], s = u[3] === void 0 ? Xt : u[3] === '"' ? _n : Cn) : s === _n || s === Cn ? s = Xt : s === Sn || s === An ? s = fe : (s = Xt, r = void 0);
301
+ let d, c, u = -1, p = 0;
302
+ for (; p < l.length && (s.lastIndex = p, c = s.exec(l), c !== null); ) p = s.lastIndex, s === fe ? c[1] === "!--" ? s = $n : c[1] !== void 0 ? s = En : c[2] !== void 0 ? (Yn.test(c[2]) && (r = RegExp("</" + c[2], "g")), s = Xt) : c[3] !== void 0 && (s = Xt) : s === Xt ? c[0] === ">" ? (s = r ?? fe, u = -1) : c[1] === void 0 ? u = -2 : (u = s.lastIndex - c[2].length, d = c[1], s = c[3] === void 0 ? Xt : c[3] === '"' ? An : Sn) : s === An || s === Sn ? s = Xt : s === $n || s === En ? s = fe : (s = Xt, r = void 0);
303
303
  const f = s === Xt && i[a + 1].startsWith("/>") ? " " : "";
304
- o += s === fe ? l + ho : c >= 0 ? (n.push(d), l.slice(0, c) + rn + l.slice(c) + Dt + f) : l + Dt + (c === -2 ? a : f);
304
+ o += s === fe ? l + ro : u >= 0 ? (n.push(d), l.slice(0, u) + Xn + l.slice(u) + Nt + f) : l + Nt + (u === -2 ? a : f);
305
305
  }
306
- return [Jn(i, o + (i[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
306
+ return [Gn(i, o + (i[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
307
307
  };
308
308
  class Te {
309
309
  constructor({ strings: t, _$litType$: e }, n) {
310
310
  let r;
311
311
  this.parts = [];
312
312
  let o = 0, s = 0;
313
- const a = t.length - 1, l = this.parts, [d, u] = Kn(t, e);
313
+ const a = t.length - 1, l = this.parts, [d, c] = ao(t, e);
314
314
  if (this.el = Te.createElement(d, n), Kt.currentNode = this.el.content, e === 2 || e === 3) {
315
- const c = this.el.content.firstChild;
316
- c.replaceWith(...c.childNodes);
315
+ const u = this.el.content.firstChild;
316
+ u.replaceWith(...u.childNodes);
317
317
  }
318
318
  for (; (r = Kt.nextNode()) !== null && l.length < a; ) {
319
319
  if (r.nodeType === 1) {
320
- if (r.hasAttributes()) for (const c of r.getAttributeNames()) if (c.endsWith(rn)) {
321
- const p = u[s++], f = r.getAttribute(c).split(Dt), g = /([.?@])?(.*)/.exec(p);
322
- l.push({ type: 1, index: o, name: g[2], strings: f, ctor: g[1] === "." ? tr : g[1] === "?" ? er : g[1] === "@" ? ir : Le }), r.removeAttribute(c);
323
- } else c.startsWith(Dt) && (l.push({ type: 6, index: o }), r.removeAttribute(c));
324
- if (Gn.test(r.tagName)) {
325
- const c = r.textContent.split(Dt), p = c.length - 1;
320
+ if (r.hasAttributes()) for (const u of r.getAttributeNames()) if (u.endsWith(Xn)) {
321
+ const p = c[s++], f = r.getAttribute(u).split(Nt), g = /([.?@])?(.*)/.exec(p);
322
+ l.push({ type: 1, index: o, name: g[2], strings: f, ctor: g[1] === "." ? uo : g[1] === "?" ? co : g[1] === "@" ? ho : Si }), r.removeAttribute(u);
323
+ } else u.startsWith(Nt) && (l.push({ type: 6, index: o }), r.removeAttribute(u));
324
+ if (Yn.test(r.tagName)) {
325
+ const u = r.textContent.split(Nt), p = u.length - 1;
326
326
  if (p > 0) {
327
- r.textContent = Je ? Je.emptyScript : "";
328
- for (let f = 0; f < p; f++) r.append(c[f], Ce()), Kt.nextNode(), l.push({ type: 2, index: ++o });
329
- r.append(c[p], Ce());
327
+ r.textContent = Ge ? Ge.emptyScript : "";
328
+ for (let f = 0; f < p; f++) r.append(u[f], _e()), Kt.nextNode(), l.push({ type: 2, index: ++o });
329
+ r.append(u[p], _e());
330
330
  }
331
331
  }
332
- } else if (r.nodeType === 8) if (r.data === on) l.push({ type: 2, index: o });
332
+ } else if (r.nodeType === 8) if (r.data === Wn) l.push({ type: 2, index: o });
333
333
  else {
334
- let c = -1;
335
- for (; (c = r.data.indexOf(Dt, c + 1)) !== -1; ) l.push({ type: 7, index: o }), c += Dt.length - 1;
334
+ let u = -1;
335
+ for (; (u = r.data.indexOf(Nt, u + 1)) !== -1; ) l.push({ type: 7, index: o }), u += Nt.length - 1;
336
336
  }
337
337
  o++;
338
338
  }
@@ -342,14 +342,14 @@ class Te {
342
342
  return n.innerHTML = t, n;
343
343
  }
344
344
  }
345
- function ee(i, t, e = i, n) {
345
+ function ue(i, t, e = i, n) {
346
346
  var s, a;
347
347
  if (t === wt) return t;
348
348
  let r = n !== void 0 ? (s = e._$Co) == null ? void 0 : s[n] : e._$Cl;
349
- const o = _e(t) ? void 0 : t._$litDirective$;
350
- return (r == null ? void 0 : r.constructor) !== o && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), o === void 0 ? r = void 0 : (r = new o(i), r._$AT(i, e, n)), n !== void 0 ? (e._$Co ?? (e._$Co = []))[n] = r : e._$Cl = r), r !== void 0 && (t = ee(i, r._$AS(i, t.values), r, n)), t;
349
+ const o = Ce(t) ? void 0 : t._$litDirective$;
350
+ return (r == null ? void 0 : r.constructor) !== o && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), o === void 0 ? r = void 0 : (r = new o(i), r._$AT(i, e, n)), n !== void 0 ? (e._$Co ?? (e._$Co = []))[n] = r : e._$Cl = r), r !== void 0 && (t = ue(i, r._$AS(i, t.values), r, n)), t;
351
351
  }
352
- let Qn = class {
352
+ let lo = class {
353
353
  constructor(t, e) {
354
354
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
355
355
  }
@@ -366,7 +366,7 @@ let Qn = class {
366
366
  for (; l !== void 0; ) {
367
367
  if (s === l.index) {
368
368
  let d;
369
- l.type === 2 ? d = new he(o, o.nextSibling, this, t) : l.type === 1 ? d = new l.ctor(o, l.name, l.strings, this, t) : l.type === 6 && (d = new nr(o, this, t)), this._$AV.push(d), l = n[++a];
369
+ l.type === 2 ? d = new he(o, o.nextSibling, this, t) : l.type === 1 ? d = new l.ctor(o, l.name, l.strings, this, t) : l.type === 6 && (d = new po(o, this, t)), this._$AV.push(d), l = n[++a];
370
370
  }
371
371
  s !== (l == null ? void 0 : l.index) && (o = Kt.nextNode(), s++);
372
372
  }
@@ -397,7 +397,7 @@ class he {
397
397
  return this._$AB;
398
398
  }
399
399
  _$AI(t, e = this) {
400
- t = ee(this, t, e), _e(t) ? t === P || t == null || t === "" ? (this._$AH !== P && this._$AR(), this._$AH = P) : t !== this._$AH && t !== wt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Wn(t) ? this.k(t) : this._(t);
400
+ t = ue(this, t, e), Ce(t) ? t === P || t == null || t === "" ? (this._$AH !== P && this._$AR(), this._$AH = P) : t !== this._$AH && t !== wt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : oo(t) ? this.k(t) : this._(t);
401
401
  }
402
402
  O(t) {
403
403
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -406,26 +406,26 @@ class he {
406
406
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
407
407
  }
408
408
  _(t) {
409
- this._$AH !== P && _e(this._$AH) ? this._$AA.nextSibling.data = t : this.T(te.createTextNode(t)), this._$AH = t;
409
+ this._$AH !== P && Ce(this._$AH) ? this._$AA.nextSibling.data = t : this.T(te.createTextNode(t)), this._$AH = t;
410
410
  }
411
411
  $(t) {
412
412
  var o;
413
- const { values: e, _$litType$: n } = t, r = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = Te.createElement(Jn(n.h, n.h[0]), this.options)), n);
413
+ const { values: e, _$litType$: n } = t, r = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = Te.createElement(Gn(n.h, n.h[0]), this.options)), n);
414
414
  if (((o = this._$AH) == null ? void 0 : o._$AD) === r) this._$AH.p(e);
415
415
  else {
416
- const s = new Qn(r, this), a = s.u(this.options);
416
+ const s = new lo(r, this), a = s.u(this.options);
417
417
  s.p(e), this.T(a), this._$AH = s;
418
418
  }
419
419
  }
420
420
  _$AC(t) {
421
- let e = Tn.get(t.strings);
422
- return e === void 0 && Tn.set(t.strings, e = new Te(t)), e;
421
+ let e = _n.get(t.strings);
422
+ return e === void 0 && _n.set(t.strings, e = new Te(t)), e;
423
423
  }
424
424
  k(t) {
425
- sn(this._$AH) || (this._$AH = [], this._$AR());
425
+ rn(this._$AH) || (this._$AH = [], this._$AR());
426
426
  const e = this._$AH;
427
427
  let n, r = 0;
428
- for (const o of t) r === e.length ? e.push(n = new he(this.O(Ce()), this.O(Ce()), this, this.options)) : n = e[r], n._$AI(o), r++;
428
+ for (const o of t) r === e.length ? e.push(n = new he(this.O(_e()), this.O(_e()), this, this.options)) : n = e[r], n._$AI(o), r++;
429
429
  r < e.length && (this._$AR(n && n._$AB.nextSibling, r), e.length = r);
430
430
  }
431
431
  _$AR(t = this._$AA.nextSibling, e) {
@@ -440,7 +440,7 @@ class he {
440
440
  this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
441
441
  }
442
442
  }
443
- class Le {
443
+ class Si {
444
444
  get tagName() {
445
445
  return this.element.tagName;
446
446
  }
@@ -453,11 +453,11 @@ class Le {
453
453
  _$AI(t, e = this, n, r) {
454
454
  const o = this.strings;
455
455
  let s = !1;
456
- if (o === void 0) t = ee(this, t, e, 0), s = !_e(t) || t !== this._$AH && t !== wt, s && (this._$AH = t);
456
+ if (o === void 0) t = ue(this, t, e, 0), s = !Ce(t) || t !== this._$AH && t !== wt, s && (this._$AH = t);
457
457
  else {
458
458
  const a = t;
459
459
  let l, d;
460
- for (t = o[0], l = 0; l < o.length - 1; l++) d = ee(this, a[n + l], e, l), d === wt && (d = this._$AH[l]), s || (s = !_e(d) || d !== this._$AH[l]), d === P ? t = P : t !== P && (t += (d ?? "") + o[l + 1]), this._$AH[l] = d;
460
+ for (t = o[0], l = 0; l < o.length - 1; l++) d = ue(this, a[n + l], e, l), d === wt && (d = this._$AH[l]), s || (s = !Ce(d) || d !== this._$AH[l]), d === P ? t = P : t !== P && (t += (d ?? "") + o[l + 1]), this._$AH[l] = d;
461
461
  }
462
462
  s && !r && this.j(t);
463
463
  }
@@ -465,7 +465,7 @@ class Le {
465
465
  t === P ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
466
466
  }
467
467
  }
468
- class tr extends Le {
468
+ class uo extends Si {
469
469
  constructor() {
470
470
  super(...arguments), this.type = 3;
471
471
  }
@@ -473,7 +473,7 @@ class tr extends Le {
473
473
  this.element[this.name] = t === P ? void 0 : t;
474
474
  }
475
475
  }
476
- class er extends Le {
476
+ class co extends Si {
477
477
  constructor() {
478
478
  super(...arguments), this.type = 4;
479
479
  }
@@ -481,12 +481,12 @@ class er extends Le {
481
481
  this.element.toggleAttribute(this.name, !!t && t !== P);
482
482
  }
483
483
  }
484
- class ir extends Le {
484
+ class ho extends Si {
485
485
  constructor(t, e, n, r, o) {
486
486
  super(t, e, n, r, o), this.type = 5;
487
487
  }
488
488
  _$AI(t, e = this) {
489
- if ((t = ee(this, t, e, 0) ?? P) === wt) return;
489
+ if ((t = ue(this, t, e, 0) ?? P) === wt) return;
490
490
  const n = this._$AH, r = t === P && n !== P || t.capture !== n.capture || t.once !== n.once || t.passive !== n.passive, o = t !== P && (n === P || r);
491
491
  r && this.element.removeEventListener(this.name, this, n), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
492
492
  }
@@ -495,7 +495,7 @@ class ir extends Le {
495
495
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
496
496
  }
497
497
  }
498
- class nr {
498
+ class po {
499
499
  constructor(t, e, n) {
500
500
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = n;
501
501
  }
@@ -503,17 +503,17 @@ class nr {
503
503
  return this._$AM._$AU;
504
504
  }
505
505
  _$AI(t) {
506
- ee(this, t);
506
+ ue(this, t);
507
507
  }
508
508
  }
509
- const fo = { M: rn, P: Dt, A: on, C: 1, L: Kn, R: Qn, D: Wn, V: ee, I: he, H: Le, N: er, U: ir, B: tr, F: nr }, Oi = we.litHtmlPolyfillSupport;
509
+ const fo = { I: he }, Oi = we.litHtmlPolyfillSupport;
510
510
  Oi == null || Oi(Te, he), (we.litHtmlVersions ?? (we.litHtmlVersions = [])).push("3.2.1");
511
511
  const go = (i, t, e) => {
512
512
  const n = (e == null ? void 0 : e.renderBefore) ?? t;
513
513
  let r = n._$litPart$;
514
514
  if (r === void 0) {
515
515
  const o = (e == null ? void 0 : e.renderBefore) ?? null;
516
- n._$litPart$ = r = new he(t.insertBefore(Ce(), o), o, void 0, e ?? {});
516
+ n._$litPart$ = r = new he(t.insertBefore(_e(), o), o, void 0, e ?? {});
517
517
  }
518
518
  return r._$AI(i), r;
519
519
  };
@@ -522,7 +522,7 @@ const go = (i, t, e) => {
522
522
  * Copyright 2017 Google LLC
523
523
  * SPDX-License-Identifier: BSD-3-Clause
524
524
  */
525
- let lt = class extends re {
525
+ let lt = class extends ne {
526
526
  constructor() {
527
527
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
528
528
  }
@@ -547,8 +547,8 @@ let lt = class extends re {
547
547
  return wt;
548
548
  }
549
549
  };
550
- var Zn;
551
- lt._$litElement$ = !0, lt.finalized = !0, (Zn = globalThis.litElementHydrateSupport) == null || Zn.call(globalThis, { LitElement: lt });
550
+ var jn;
551
+ lt._$litElement$ = !0, lt.finalized = !0, (jn = globalThis.litElementHydrateSupport) == null || jn.call(globalThis, { LitElement: lt });
552
552
  const Ri = globalThis.litElementPolyfillSupport;
553
553
  Ri == null || Ri({ LitElement: lt });
554
554
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
@@ -565,8 +565,8 @@ function G(i, t, e) {
565
565
  * Copyright 2017 Google LLC
566
566
  * SPDX-License-Identifier: BSD-3-Clause
567
567
  */
568
- const Nt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, an = (i) => (...t) => ({ _$litDirective$: i, values: t });
569
- class ln {
568
+ const It = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4 }, on = (i) => (...t) => ({ _$litDirective$: i, values: t });
569
+ class sn {
570
570
  constructor(t) {
571
571
  }
572
572
  get _$AU() {
@@ -587,11 +587,11 @@ class ln {
587
587
  * Copyright 2020 Google LLC
588
588
  * SPDX-License-Identifier: BSD-3-Clause
589
589
  */
590
- const { I: mo } = fo, yo = (i) => i.strings === void 0, Dn = () => document.createComment(""), ge = (i, t, e) => {
590
+ const { I: mo } = fo, yo = (i) => i.strings === void 0, Cn = () => document.createComment(""), ge = (i, t, e) => {
591
591
  var o;
592
592
  const n = i._$AA.parentNode, r = t === void 0 ? i._$AB : t._$AA;
593
593
  if (e === void 0) {
594
- const s = n.insertBefore(Dn(), r), a = n.insertBefore(Dn(), r);
594
+ const s = n.insertBefore(Cn(), r), a = n.insertBefore(Cn(), r);
595
595
  e = new mo(s, a, i, i.options);
596
596
  } else {
597
597
  const s = e._$AB.nextSibling, a = e._$AM, l = a !== i;
@@ -602,13 +602,13 @@ const { I: mo } = fo, yo = (i) => i.strings === void 0, Dn = () => document.crea
602
602
  if (s !== r || l) {
603
603
  let d = e._$AA;
604
604
  for (; d !== s; ) {
605
- const u = d.nextSibling;
606
- n.insertBefore(d, r), d = u;
605
+ const c = d.nextSibling;
606
+ n.insertBefore(d, r), d = c;
607
607
  }
608
608
  }
609
609
  }
610
610
  return e;
611
- }, Yt = (i, t, e = i) => (i._$AI(t, e), i), bo = {}, rr = (i, t = bo) => i._$AH = t, vo = (i) => i._$AH, Li = (i) => {
611
+ }, Wt = (i, t, e = i) => (i._$AI(t, e), i), bo = {}, Jn = (i, t = bo) => i._$AH = t, vo = (i) => i._$AH, Li = (i) => {
612
612
  var n;
613
613
  (n = i._$AP) == null || n.call(i, !1, !0);
614
614
  let t = i._$AA;
@@ -623,13 +623,13 @@ const { I: mo } = fo, yo = (i) => i.strings === void 0, Dn = () => document.crea
623
623
  * Copyright 2017 Google LLC
624
624
  * SPDX-License-Identifier: BSD-3-Clause
625
625
  */
626
- const Pn = (i, t, e) => {
626
+ const Tn = (i, t, e) => {
627
627
  const n = /* @__PURE__ */ new Map();
628
628
  for (let r = t; r <= e; r++) n.set(i[r], r);
629
629
  return n;
630
- }, wo = an(class extends ln {
630
+ }, wo = on(class extends sn {
631
631
  constructor(i) {
632
- if (super(i), i.type !== Nt.CHILD) throw Error("repeat() can only be used in text expressions");
632
+ if (super(i), i.type !== It.CHILD) throw Error("repeat() can only be used in text expressions");
633
633
  }
634
634
  dt(i, t, e) {
635
635
  let n;
@@ -646,31 +646,31 @@ const Pn = (i, t, e) => {
646
646
  const r = vo(i), { values: o, keys: s } = this.dt(t, e, n);
647
647
  if (!Array.isArray(r)) return this.ut = s, o;
648
648
  const a = this.ut ?? (this.ut = []), l = [];
649
- let d, u, c = 0, p = r.length - 1, f = 0, g = o.length - 1;
650
- for (; c <= p && f <= g; ) if (r[c] === null) c++;
649
+ let d, c, u = 0, p = r.length - 1, f = 0, g = o.length - 1;
650
+ for (; u <= p && f <= g; ) if (r[u] === null) u++;
651
651
  else if (r[p] === null) p--;
652
- else if (a[c] === s[f]) l[f] = Yt(r[c], o[f]), c++, f++;
653
- else if (a[p] === s[g]) l[g] = Yt(r[p], o[g]), p--, g--;
654
- else if (a[c] === s[g]) l[g] = Yt(r[c], o[g]), ge(i, l[g + 1], r[c]), c++, g--;
655
- else if (a[p] === s[f]) l[f] = Yt(r[p], o[f]), ge(i, r[c], r[p]), p--, f++;
656
- else if (d === void 0 && (d = Pn(s, f, g), u = Pn(a, c, p)), d.has(a[c])) if (d.has(a[p])) {
657
- const b = u.get(s[f]), N = b !== void 0 ? r[b] : null;
658
- if (N === null) {
659
- const J = ge(i, r[c]);
660
- Yt(J, o[f]), l[f] = J;
661
- } else l[f] = Yt(N, o[f]), ge(i, r[c], N), r[b] = null;
652
+ else if (a[u] === s[f]) l[f] = Wt(r[u], o[f]), u++, f++;
653
+ else if (a[p] === s[g]) l[g] = Wt(r[p], o[g]), p--, g--;
654
+ else if (a[u] === s[g]) l[g] = Wt(r[u], o[g]), ge(i, l[g + 1], r[u]), u++, g--;
655
+ else if (a[p] === s[f]) l[f] = Wt(r[p], o[f]), ge(i, r[u], r[p]), p--, f++;
656
+ else if (d === void 0 && (d = Tn(s, f, g), c = Tn(a, u, p)), d.has(a[u])) if (d.has(a[p])) {
657
+ const b = c.get(s[f]), H = b !== void 0 ? r[b] : null;
658
+ if (H === null) {
659
+ const J = ge(i, r[u]);
660
+ Wt(J, o[f]), l[f] = J;
661
+ } else l[f] = Wt(H, o[f]), ge(i, r[u], H), r[b] = null;
662
662
  f++;
663
663
  } else Li(r[p]), p--;
664
- else Li(r[c]), c++;
664
+ else Li(r[u]), u++;
665
665
  for (; f <= g; ) {
666
666
  const b = ge(i, l[g + 1]);
667
- Yt(b, o[f]), l[f++] = b;
667
+ Wt(b, o[f]), l[f++] = b;
668
668
  }
669
- for (; c <= p; ) {
670
- const b = r[c++];
669
+ for (; u <= p; ) {
670
+ const b = r[u++];
671
671
  b !== null && Li(b);
672
672
  }
673
- return this.ut = s, rr(i, l), wt;
673
+ return this.ut = s, Jn(i, l), wt;
674
674
  }
675
675
  });
676
676
  /**
@@ -679,20 +679,11 @@ const Pn = (i, t, e) => {
679
679
  * @license BSD-2-Clause
680
680
  * @preserve
681
681
  */
682
- var A = (i) => i !== void 0, or = (i, t, e) => t in i ? i[t] : i[t] = e;
682
+ var A = (i) => i !== void 0, Kn = (i, t, e) => t in i ? i[t] : i[t] = e;
683
683
  const De = {
684
684
  ELEMENT: 1,
685
- ATTRIBUTE: 2,
686
685
  TEXT: 3,
687
- CDATA_SECTION: 4,
688
- ENTITY_REFERENCE: 5,
689
- ENTITY: 6,
690
- PROCESSING_INSTRUCTION: 7,
691
- COMMENT: 8,
692
- DOCUMENT: 9,
693
- DOCUMENT_TYPE: 10,
694
- DOCUMENT_FRAGMENT: 11,
695
- NOTATION: 12
686
+ CDATA_SECTION: 4
696
687
  };
697
688
  class xo {
698
689
  /**
@@ -723,20 +714,20 @@ class xo {
723
714
  }
724
715
  }
725
716
  function Ai(i, t) {
726
- return sr(i, t, []).join("");
717
+ return Qn(i, t, []).join("");
727
718
  }
728
- function sr(i, t, e) {
719
+ function Qn(i, t, e) {
729
720
  if (i.nodeType === De.CDATA_SECTION || i.nodeType === De.TEXT)
730
721
  t ? e.push(String(i.nodeValue).replace(/(\r\n|\r|\n)/g, "")) : e.push(i.nodeValue);
731
722
  else {
732
723
  var n;
733
724
  for (n = i.firstChild; n; n = n.nextSibling)
734
- sr(n, t, e);
725
+ Qn(n, t, e);
735
726
  }
736
727
  return e;
737
728
  }
738
- function Eo(i, t, e, n) {
739
- for (var r = $o(t); r; r = So(r)) {
729
+ function $o(i, t, e, n) {
730
+ for (var r = Eo(t); r; r = So(r)) {
740
731
  var o = r.namespaceURI || null, s = i[o];
741
732
  if (A(s)) {
742
733
  var a = s[r.localName];
@@ -744,7 +735,7 @@ function Eo(i, t, e, n) {
744
735
  }
745
736
  }
746
737
  }
747
- function $o(i) {
738
+ function Eo(i) {
748
739
  let t = i.firstElementChild || i.firstChild;
749
740
  for (; t && t.nodeType !== De.ELEMENT; )
750
741
  t = t.nextSibling;
@@ -768,7 +759,7 @@ function Ao(i, t, e) {
768
759
  n[i[r]] = t;
769
760
  return n;
770
761
  }
771
- function ar(i, t) {
762
+ function tr(i, t) {
772
763
  return (
773
764
  /**
774
765
  * @param {Node} node Node.
@@ -788,7 +779,7 @@ function ar(i, t) {
788
779
  );
789
780
  }
790
781
  function Q(i, t, e, n, r) {
791
- return n.push(i), Eo(t, e, n, r), n.pop();
782
+ return n.push(i), $o(t, e, n, r), n.pop();
792
783
  }
793
784
  function y(i, t, e) {
794
785
  return (
@@ -828,59 +819,59 @@ function pt(i, t, e) {
828
819
  var s = (
829
820
  /** @type {Object} */
830
821
  r[r.length - 1]
831
- ), a = A(t) ? t : n.localName, l = or(s, a, []);
822
+ ), a = A(t) ? t : n.localName, l = Kn(s, a, []);
832
823
  l.push(o);
833
824
  }
834
825
  }
835
826
  );
836
827
  }
837
- const Co = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
838
- function _o(i) {
839
- return i.replace(Co, "");
828
+ const _o = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
829
+ function Co(i) {
830
+ return i.replace(_o, "");
840
831
  }
841
832
  function Qt(i) {
842
833
  const t = /^\s*(true|1)|(false|0)\s*$/.exec(i);
843
834
  if (t)
844
835
  return A(t[1]) || !1;
845
836
  }
846
- function ae(i) {
847
- return Pt(Ai(i, !1));
837
+ function se(i) {
838
+ return Dt(Ai(i, !1));
848
839
  }
849
- function Pt(i) {
840
+ function Dt(i) {
850
841
  const t = /^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(i);
851
842
  if (t)
852
843
  return parseFloat(t[1]);
853
844
  }
854
845
  function Mi(i) {
855
- return Ke(Ai(i, !1));
846
+ return Je(Ai(i, !1));
856
847
  }
857
- function Ke(i) {
848
+ function Je(i) {
858
849
  const t = /^\s*(\d+)\s*$/.exec(i);
859
850
  if (t)
860
851
  return parseInt(t[1], 10);
861
852
  }
862
853
  function O(i) {
863
- return _o(Ai(i, !1));
854
+ return Co(Ai(i, !1));
864
855
  }
865
856
  const To = "http://www.w3.org/1999/xlink";
866
- function dn(i) {
857
+ function an(i) {
867
858
  return i.getAttributeNS(To, "href");
868
859
  }
869
860
  function Do(i, t) {
870
861
  return Q({}, is, i, t);
871
862
  }
872
- function lr(i) {
863
+ function er(i) {
873
864
  return [
874
- Pt(i.getAttribute("minx")),
875
- Pt(i.getAttribute("miny")),
876
- Pt(i.getAttribute("maxx")),
877
- Pt(i.getAttribute("maxy"))
865
+ Dt(i.getAttribute("minx")),
866
+ Dt(i.getAttribute("miny")),
867
+ Dt(i.getAttribute("maxx")),
868
+ Dt(i.getAttribute("maxy"))
878
869
  ];
879
870
  }
880
871
  function Po(i, t) {
881
- const e = lr(i), n = [
882
- Pt(i.getAttribute("resx")),
883
- Pt(i.getAttribute("resy"))
872
+ const e = er(i), n = [
873
+ Dt(i.getAttribute("resx")),
874
+ Dt(i.getAttribute("resy"))
884
875
  ];
885
876
  return {
886
877
  crs: i.getAttribute("CRS") || i.getAttribute("SRS"),
@@ -889,7 +880,7 @@ function Po(i, t) {
889
880
  };
890
881
  }
891
882
  function Oo(i, t) {
892
- const e = lr(i);
883
+ const e = er(i);
893
884
  if (!(!A(e[0]) || !A(e[1]) || !A(e[2]) || !A(e[3])))
894
885
  return e;
895
886
  }
@@ -932,7 +923,7 @@ function Mo(i, t) {
932
923
  function Io(i, t) {
933
924
  return Q({}, Jo, i, t);
934
925
  }
935
- function No(i, t) {
926
+ function Ho(i, t) {
936
927
  return Q(
937
928
  {},
938
929
  Ko,
@@ -940,7 +931,7 @@ function No(i, t) {
940
931
  t
941
932
  );
942
933
  }
943
- function Ho(i, t) {
934
+ function No(i, t) {
944
935
  return Q(
945
936
  {},
946
937
  Qo,
@@ -970,7 +961,7 @@ function Bo(i, t) {
970
961
  {
971
962
  queryable: A(e) ? e : !1
972
963
  },
973
- ur,
964
+ rr,
974
965
  i,
975
966
  t
976
967
  );
@@ -984,7 +975,7 @@ function Uo(i, t) {
984
975
  /** @type {Object.<string,*>} */
985
976
  Q(
986
977
  {},
987
- ur,
978
+ rr,
988
979
  i,
989
980
  t
990
981
  )
@@ -992,25 +983,25 @@ function Uo(i, t) {
992
983
  if (!A(n)) return;
993
984
  let r = Qt(i.getAttribute("queryable"));
994
985
  A(r) || (r = e.queryable), n.queryable = A(r) ? r : !1;
995
- let o = Ke(i.getAttribute("cascaded"));
986
+ let o = Je(i.getAttribute("cascaded"));
996
987
  A(o) || (o = e.cascaded), n.cascaded = o;
997
988
  let s = Qt(i.getAttribute("opaque"));
998
989
  A(s) || (s = e.opaque), n.opaque = A(s) ? s : !1;
999
990
  let a = Qt(i.getAttribute("noSubsets"));
1000
991
  A(a) || (a = e.noSubsets), n.noSubsets = A(a) ? a : !1;
1001
- let l = Pt(i.getAttribute("fixedWidth"));
992
+ let l = Dt(i.getAttribute("fixedWidth"));
1002
993
  A(l) || (l = e.fixedWidth), n.fixedWidth = l;
1003
- let d = Pt(i.getAttribute("fixedHeight"));
994
+ let d = Dt(i.getAttribute("fixedHeight"));
1004
995
  A(d) || (d = e.fixedHeight), n.fixedHeight = d;
1005
- const u = ["Style", "CRS", "AuthorityURL"];
1006
- for (let p = 0, f = u.length; p < f; p++) {
1007
- const g = u[p], b = e[g];
996
+ const c = ["Style", "CRS", "AuthorityURL"];
997
+ for (let p = 0, f = c.length; p < f; p++) {
998
+ const g = c[p], b = e[g];
1008
999
  if (A(b)) {
1009
- let N = or(n, g, []);
1010
- N = N.concat(b), n[g] = N;
1000
+ let H = Kn(n, g, []);
1001
+ H = H.concat(b), n[g] = H;
1011
1002
  }
1012
1003
  }
1013
- const c = [
1004
+ const u = [
1014
1005
  "EX_GeographicBoundingBox",
1015
1006
  "BoundingBox",
1016
1007
  "Dimension",
@@ -1018,11 +1009,11 @@ function Uo(i, t) {
1018
1009
  "MinScaleDenominator",
1019
1010
  "MaxScaleDenominator"
1020
1011
  ];
1021
- for (let p = 0, f = c.length; p < f; p++) {
1022
- const g = c[p], b = n[g];
1012
+ for (let p = 0, f = u.length; p < f; p++) {
1013
+ const g = u[p], b = n[g];
1023
1014
  if (!A(b)) {
1024
- const N = e[g];
1025
- n[g] = N;
1015
+ const H = e[g];
1016
+ n[g] = H;
1026
1017
  }
1027
1018
  }
1028
1019
  return n;
@@ -1039,7 +1030,7 @@ function Fo(i, t) {
1039
1030
  values: O(i)
1040
1031
  };
1041
1032
  }
1042
- function Rt(i, t) {
1033
+ function Ot(i, t) {
1043
1034
  return Q(
1044
1035
  {},
1045
1036
  ds,
@@ -1059,33 +1050,33 @@ function Zo(i, t) {
1059
1050
  function Ii(i, t) {
1060
1051
  return Q({}, os, i, t);
1061
1052
  }
1062
- function dr(i, t) {
1063
- var e = Rt(i, t);
1053
+ function ir(i, t) {
1054
+ var e = Ot(i, t);
1064
1055
  if (A(e)) {
1065
1056
  const n = [
1066
- Ke(i.getAttribute("width")),
1067
- Ke(i.getAttribute("height"))
1057
+ Je(i.getAttribute("width")),
1058
+ Je(i.getAttribute("height"))
1068
1059
  ];
1069
1060
  return e.size = n, e;
1070
1061
  }
1071
1062
  }
1072
1063
  function qo(i, t) {
1073
- var e = Rt(i, t);
1064
+ var e = Ot(i, t);
1074
1065
  if (A(e))
1075
1066
  return e.name = i.getAttribute("name"), e;
1076
1067
  }
1077
1068
  function Xo(i, t) {
1078
- var e = Rt(i, t);
1069
+ var e = Ot(i, t);
1079
1070
  if (A(e))
1080
1071
  return e.type = i.getAttribute("type"), e;
1081
1072
  }
1082
- function Yo(i, t) {
1073
+ function Wo(i, t) {
1083
1074
  return Q({}, ls, i, t);
1084
1075
  }
1085
- function cr(i, t) {
1076
+ function nr(i, t) {
1086
1077
  return Q(
1087
1078
  [],
1088
- cs,
1079
+ us,
1089
1080
  i,
1090
1081
  t
1091
1082
  );
@@ -1093,7 +1084,7 @@ function cr(i, t) {
1093
1084
  const rt = [
1094
1085
  null,
1095
1086
  "http://www.opengis.net/wms"
1096
- ], Wo = nt(
1087
+ ], Yo = nt(
1097
1088
  rt,
1098
1089
  {
1099
1090
  Service: y(Io),
@@ -1112,9 +1103,9 @@ const rt = [
1112
1103
  Name: y(O),
1113
1104
  Title: y(O),
1114
1105
  Abstract: y(O),
1115
- KeywordList: y(cr),
1116
- OnlineResource: y(dn),
1117
- ContactInformation: y(No),
1106
+ KeywordList: y(nr),
1107
+ OnlineResource: y(an),
1108
+ ContactInformation: y(Ho),
1118
1109
  Fees: y(O),
1119
1110
  AccessConstraints: y(O),
1120
1111
  LayerLimit: y(Mi),
@@ -1124,7 +1115,7 @@ const rt = [
1124
1115
  ), Ko = nt(
1125
1116
  rt,
1126
1117
  {
1127
- ContactPersonPrimary: y(Ho),
1118
+ ContactPersonPrimary: y(No),
1128
1119
  ContactPosition: y(O),
1129
1120
  ContactAddress: y(Vo),
1130
1121
  ContactVoiceTelephone: y(O),
@@ -1150,15 +1141,15 @@ const rt = [
1150
1141
  ), es = nt(
1151
1142
  rt,
1152
1143
  {
1153
- Format: ar(O)
1144
+ Format: tr(O)
1154
1145
  }
1155
- ), ur = nt(
1146
+ ), rr = nt(
1156
1147
  rt,
1157
1148
  {
1158
1149
  Name: y(O),
1159
1150
  Title: y(O),
1160
1151
  Abstract: y(O),
1161
- KeywordList: y(cr),
1152
+ KeywordList: y(nr),
1162
1153
  CRS: pt(O),
1163
1154
  SRS: pt(O),
1164
1155
  EX_GeographicBoundingBox: y(Lo),
@@ -1169,11 +1160,11 @@ const rt = [
1169
1160
  AuthorityURL: pt(qo),
1170
1161
  Identifier: pt(O),
1171
1162
  MetadataURL: pt(Xo),
1172
- DataURL: pt(Rt),
1173
- FeatureListURL: pt(Rt),
1174
- Style: pt(Yo),
1175
- MinScaleDenominator: y(ae),
1176
- MaxScaleDenominator: y(ae),
1163
+ DataURL: pt(Ot),
1164
+ FeatureListURL: pt(Ot),
1165
+ Style: pt(Wo),
1166
+ MinScaleDenominator: y(se),
1167
+ MaxScaleDenominator: y(se),
1177
1168
  ScaleHint: y(Ro),
1178
1169
  Layer: pt(Uo)
1179
1170
  }
@@ -1181,14 +1172,14 @@ const rt = [
1181
1172
  rt,
1182
1173
  {
1183
1174
  Title: y(O),
1184
- OnlineResource: y(dn),
1185
- LogoURL: y(dr)
1175
+ OnlineResource: y(an),
1176
+ LogoURL: y(ir)
1186
1177
  }
1187
1178
  ), ns = nt(rt, {
1188
- westBoundLongitude: y(ae),
1189
- eastBoundLongitude: y(ae),
1190
- southBoundLatitude: y(ae),
1191
- northBoundLatitude: y(ae)
1179
+ westBoundLongitude: y(se),
1180
+ eastBoundLongitude: y(se),
1181
+ southBoundLatitude: y(se),
1182
+ northBoundLatitude: y(se)
1192
1183
  }), rs = nt(
1193
1184
  rt,
1194
1185
  {
@@ -1221,10 +1212,10 @@ const rt = [
1221
1212
  rt,
1222
1213
  {
1223
1214
  Get: y(
1224
- Rt
1215
+ Ot
1225
1216
  ),
1226
1217
  Post: y(
1227
- Rt
1218
+ Ot
1228
1219
  )
1229
1220
  }
1230
1221
  ), ls = nt(
@@ -1233,23 +1224,23 @@ const rt = [
1233
1224
  Name: y(O),
1234
1225
  Title: y(O),
1235
1226
  Abstract: y(O),
1236
- LegendURL: pt(dr),
1237
- StyleSheetURL: y(Rt),
1238
- StyleURL: y(Rt)
1227
+ LegendURL: pt(ir),
1228
+ StyleSheetURL: y(Ot),
1229
+ StyleURL: y(Ot)
1239
1230
  }
1240
1231
  ), ds = nt(
1241
1232
  rt,
1242
1233
  {
1243
1234
  Format: y(O),
1244
- OnlineResource: y(dn)
1235
+ OnlineResource: y(an)
1245
1236
  }
1246
- ), cs = nt(
1237
+ ), us = nt(
1247
1238
  rt,
1248
1239
  {
1249
- Keyword: ar(O)
1240
+ Keyword: tr(O)
1250
1241
  }
1251
1242
  );
1252
- class us {
1243
+ class cs {
1253
1244
  /**
1254
1245
  * WMS Capabilities parser
1255
1246
  *
@@ -1297,7 +1288,7 @@ class us {
1297
1288
  readFromNode(t) {
1298
1289
  return this.version = t.getAttribute("version"), Q({
1299
1290
  version: this.version
1300
- }, Wo, t, []) || null;
1291
+ }, Yo, t, []) || null;
1301
1292
  }
1302
1293
  }
1303
1294
  async function hs(i) {
@@ -1307,19 +1298,19 @@ async function hs(i) {
1307
1298
  const r = await fetch(n);
1308
1299
  if (r.ok) {
1309
1300
  const o = await r.text();
1310
- return new us(o).toJSON();
1301
+ return new cs(o).toJSON();
1311
1302
  } else
1312
1303
  throw new Error(`Error: ${r.status}`);
1313
1304
  }
1314
- function cn(i) {
1305
+ function ln(i) {
1315
1306
  const t = /\b(?:wms|ows)\b/i, e = /{(?:z|x|y-?)}\/{(?:z|x|y-?)}\/{(?:z|x|y-?)}/i;
1316
1307
  return t.test(i) ? "TileWMS" : e.test(i) ? "XYZ" : !1;
1317
1308
  }
1318
1309
  function ps(i) {
1319
- const e = /^(?:(?:https?|ftp):\/\/|\/\/)?(?:localhost|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|(?:\w+[\w-]*\.)+\w+)(?::\d+)?(?:\/\S*)?$/.test(i), n = cn(i);
1310
+ const e = /^(?:(?:https?|ftp):\/\/|\/\/)?(?:localhost|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|(?:\w+[\w-]*\.)+\w+)(?::\d+)?(?:\/\S*)?$/.test(i), n = ln(i);
1320
1311
  return !!(i && e && n);
1321
1312
  }
1322
- function hr(i) {
1313
+ function or(i) {
1323
1314
  return i.replace(
1324
1315
  /(['"])?([a-zA-Z0-9_]+)(['"])?:/g,
1325
1316
  '"$2": '
@@ -1327,7 +1318,7 @@ function hr(i) {
1327
1318
  }
1328
1319
  function fs(i) {
1329
1320
  try {
1330
- return JSON.parse(hr(i)), !!i;
1321
+ return JSON.parse(or(i)), !!i;
1331
1322
  } catch {
1332
1323
  return !1;
1333
1324
  }
@@ -1348,7 +1339,7 @@ function gs(i, t) {
1348
1339
  * @author owenm <owen23355@gmail.com>
1349
1340
  * @license MIT
1350
1341
  */
1351
- function On(i, t) {
1342
+ function Dn(i, t) {
1352
1343
  var e = Object.keys(i);
1353
1344
  if (Object.getOwnPropertySymbols) {
1354
1345
  var n = Object.getOwnPropertySymbols(i);
@@ -1361,21 +1352,21 @@ function On(i, t) {
1361
1352
  function At(i) {
1362
1353
  for (var t = 1; t < arguments.length; t++) {
1363
1354
  var e = arguments[t] != null ? arguments[t] : {};
1364
- t % 2 ? On(Object(e), !0).forEach(function(n) {
1355
+ t % 2 ? Dn(Object(e), !0).forEach(function(n) {
1365
1356
  ms(i, n, e[n]);
1366
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(e)) : On(Object(e)).forEach(function(n) {
1357
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(e)) : Dn(Object(e)).forEach(function(n) {
1367
1358
  Object.defineProperty(i, n, Object.getOwnPropertyDescriptor(e, n));
1368
1359
  });
1369
1360
  }
1370
1361
  return i;
1371
1362
  }
1372
- function ze(i) {
1363
+ function je(i) {
1373
1364
  "@babel/helpers - typeof";
1374
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? ze = function(t) {
1365
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? je = function(t) {
1375
1366
  return typeof t;
1376
- } : ze = function(t) {
1367
+ } : je = function(t) {
1377
1368
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
1378
- }, ze(i);
1369
+ }, je(i);
1379
1370
  }
1380
1371
  function ms(i, t, e) {
1381
1372
  return t in i ? Object.defineProperty(i, t, {
@@ -1385,15 +1376,15 @@ function ms(i, t, e) {
1385
1376
  writable: !0
1386
1377
  }) : i[t] = e, i;
1387
1378
  }
1388
- function Lt() {
1389
- return Lt = Object.assign || function(i) {
1379
+ function Rt() {
1380
+ return Rt = Object.assign || function(i) {
1390
1381
  for (var t = 1; t < arguments.length; t++) {
1391
1382
  var e = arguments[t];
1392
1383
  for (var n in e)
1393
1384
  Object.prototype.hasOwnProperty.call(e, n) && (i[n] = e[n]);
1394
1385
  }
1395
1386
  return i;
1396
- }, Lt.apply(this, arguments);
1387
+ }, Rt.apply(this, arguments);
1397
1388
  }
1398
1389
  function ys(i, t) {
1399
1390
  if (i == null) return {};
@@ -1413,21 +1404,21 @@ function bs(i, t) {
1413
1404
  return e;
1414
1405
  }
1415
1406
  var vs = "1.15.6";
1416
- function Ot(i) {
1407
+ function Pt(i) {
1417
1408
  if (typeof window < "u" && window.navigator)
1418
1409
  return !!/* @__PURE__ */ navigator.userAgent.match(i);
1419
1410
  }
1420
- var Mt = Ot(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Me = Ot(/Edge/i), Rn = Ot(/firefox/i), xe = Ot(/safari/i) && !Ot(/chrome/i) && !Ot(/android/i), un = Ot(/iP(ad|od|hone)/i), pr = Ot(/chrome/i) && Ot(/android/i), fr = {
1411
+ var Lt = Pt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Le = Pt(/Edge/i), Pn = Pt(/firefox/i), xe = Pt(/safari/i) && !Pt(/chrome/i) && !Pt(/android/i), dn = Pt(/iP(ad|od|hone)/i), sr = Pt(/chrome/i) && Pt(/android/i), ar = {
1421
1412
  capture: !1,
1422
1413
  passive: !1
1423
1414
  };
1424
1415
  function T(i, t, e) {
1425
- i.addEventListener(t, e, !Mt && fr);
1416
+ i.addEventListener(t, e, !Lt && ar);
1426
1417
  }
1427
- function _(i, t, e) {
1428
- i.removeEventListener(t, e, !Mt && fr);
1418
+ function C(i, t, e) {
1419
+ i.removeEventListener(t, e, !Lt && ar);
1429
1420
  }
1430
- function Qe(i, t) {
1421
+ function Ke(i, t) {
1431
1422
  if (t) {
1432
1423
  if (t[0] === ">" && (t = t.substring(1)), i)
1433
1424
  try {
@@ -1443,28 +1434,28 @@ function Qe(i, t) {
1443
1434
  return !1;
1444
1435
  }
1445
1436
  }
1446
- function gr(i) {
1437
+ function lr(i) {
1447
1438
  return i.host && i !== document && i.host.nodeType ? i.host : i.parentNode;
1448
1439
  }
1449
- function Et(i, t, e, n) {
1440
+ function $t(i, t, e, n) {
1450
1441
  if (i) {
1451
1442
  e = e || document;
1452
1443
  do {
1453
- if (t != null && (t[0] === ">" ? i.parentNode === e && Qe(i, t) : Qe(i, t)) || n && i === e)
1444
+ if (t != null && (t[0] === ">" ? i.parentNode === e && Ke(i, t) : Ke(i, t)) || n && i === e)
1454
1445
  return i;
1455
1446
  if (i === e) break;
1456
- } while (i = gr(i));
1447
+ } while (i = lr(i));
1457
1448
  }
1458
1449
  return null;
1459
1450
  }
1460
- var Ln = /\s+/g;
1451
+ var On = /\s+/g;
1461
1452
  function mt(i, t, e) {
1462
1453
  if (i && t)
1463
1454
  if (i.classList)
1464
1455
  i.classList[e ? "add" : "remove"](t);
1465
1456
  else {
1466
- var n = (" " + i.className + " ").replace(Ln, " ").replace(" " + t + " ", " ");
1467
- i.className = (n + (e ? " " + t : "")).replace(Ln, " ");
1457
+ var n = (" " + i.className + " ").replace(On, " ").replace(" " + t + " ", " ");
1458
+ i.className = (n + (e ? " " + t : "")).replace(On, " ");
1468
1459
  }
1469
1460
  }
1470
1461
  function v(i, t, e) {
@@ -1475,7 +1466,7 @@ function v(i, t, e) {
1475
1466
  !(t in n) && t.indexOf("webkit") === -1 && (t = "-webkit-" + t), n[t] = e + (typeof e == "string" ? "" : "px");
1476
1467
  }
1477
1468
  }
1478
- function de(i, t) {
1469
+ function le(i, t) {
1479
1470
  var e = "";
1480
1471
  if (typeof i == "string")
1481
1472
  e = i;
@@ -1487,7 +1478,7 @@ function de(i, t) {
1487
1478
  var r = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
1488
1479
  return r && new r(e);
1489
1480
  }
1490
- function mr(i, t, e) {
1481
+ function dr(i, t, e) {
1491
1482
  if (i) {
1492
1483
  var n = i.getElementsByTagName(t), r = 0, o = n.length;
1493
1484
  if (e)
@@ -1501,10 +1492,10 @@ function St() {
1501
1492
  var i = document.scrollingElement;
1502
1493
  return i || document.documentElement;
1503
1494
  }
1504
- function W(i, t, e, n, r) {
1495
+ function Y(i, t, e, n, r) {
1505
1496
  if (!(!i.getBoundingClientRect && i !== window)) {
1506
- var o, s, a, l, d, u, c;
1507
- if (i !== window && i.parentNode && i !== St() ? (o = i.getBoundingClientRect(), s = o.top, a = o.left, l = o.bottom, d = o.right, u = o.height, c = o.width) : (s = 0, a = 0, l = window.innerHeight, d = window.innerWidth, u = window.innerHeight, c = window.innerWidth), (t || e) && i !== window && (r = r || i.parentNode, !Mt))
1497
+ var o, s, a, l, d, c, u;
1498
+ if (i !== window && i.parentNode && i !== St() ? (o = i.getBoundingClientRect(), s = o.top, a = o.left, l = o.bottom, d = o.right, c = o.height, u = o.width) : (s = 0, a = 0, l = window.innerHeight, d = window.innerWidth, c = window.innerHeight, u = window.innerWidth), (t || e) && i !== window && (r = r || i.parentNode, !Lt))
1508
1499
  do
1509
1500
  if (r && r.getBoundingClientRect && (v(r, "transform") !== "none" || e && v(r, "position") !== "static")) {
1510
1501
  var p = r.getBoundingClientRect();
@@ -1513,31 +1504,31 @@ function W(i, t, e, n, r) {
1513
1504
  }
1514
1505
  while (r = r.parentNode);
1515
1506
  if (n && i !== window) {
1516
- var f = de(r || i), g = f && f.a, b = f && f.d;
1517
- f && (s /= b, a /= g, c /= g, u /= b, l = s + u, d = a + c);
1507
+ var f = le(r || i), g = f && f.a, b = f && f.d;
1508
+ f && (s /= b, a /= g, u /= g, c /= b, l = s + c, d = a + u);
1518
1509
  }
1519
1510
  return {
1520
1511
  top: s,
1521
1512
  left: a,
1522
1513
  bottom: l,
1523
1514
  right: d,
1524
- width: c,
1525
- height: u
1515
+ width: u,
1516
+ height: c
1526
1517
  };
1527
1518
  }
1528
1519
  }
1529
- function Mn(i, t, e) {
1530
- for (var n = Bt(i, !0), r = W(i)[t]; n; ) {
1531
- var o = W(n)[e], s = void 0;
1520
+ function Rn(i, t, e) {
1521
+ for (var n = Bt(i, !0), r = Y(i)[t]; n; ) {
1522
+ var o = Y(n)[e], s = void 0;
1532
1523
  if (s = r >= o, !s) return n;
1533
1524
  if (n === St()) break;
1534
1525
  n = Bt(n, !1);
1535
1526
  }
1536
1527
  return !1;
1537
1528
  }
1538
- function ue(i, t, e, n) {
1529
+ function ce(i, t, e, n) {
1539
1530
  for (var r = 0, o = 0, s = i.children; o < s.length; ) {
1540
- if (s[o].style.display !== "none" && s[o] !== w.ghost && (n || s[o] !== w.dragged) && Et(s[o], e.draggable, i, !1)) {
1531
+ if (s[o].style.display !== "none" && s[o] !== w.ghost && (n || s[o] !== w.dragged) && $t(s[o], e.draggable, i, !1)) {
1541
1532
  if (r === t)
1542
1533
  return s[o];
1543
1534
  r++;
@@ -1546,8 +1537,8 @@ function ue(i, t, e, n) {
1546
1537
  }
1547
1538
  return null;
1548
1539
  }
1549
- function hn(i, t) {
1550
- for (var e = i.lastElementChild; e && (e === w.ghost || v(e, "display") === "none" || t && !Qe(e, t)); )
1540
+ function un(i, t) {
1541
+ for (var e = i.lastElementChild; e && (e === w.ghost || v(e, "display") === "none" || t && !Ke(e, t)); )
1551
1542
  e = e.previousElementSibling;
1552
1543
  return e || null;
1553
1544
  }
@@ -1556,14 +1547,14 @@ function bt(i, t) {
1556
1547
  if (!i || !i.parentNode)
1557
1548
  return -1;
1558
1549
  for (; i = i.previousElementSibling; )
1559
- i.nodeName.toUpperCase() !== "TEMPLATE" && i !== w.clone && (!t || Qe(i, t)) && e++;
1550
+ i.nodeName.toUpperCase() !== "TEMPLATE" && i !== w.clone && (!t || Ke(i, t)) && e++;
1560
1551
  return e;
1561
1552
  }
1562
- function In(i) {
1553
+ function Ln(i) {
1563
1554
  var t = 0, e = 0, n = St();
1564
1555
  if (i)
1565
1556
  do {
1566
- var r = de(i), o = r.a, s = r.d;
1557
+ var r = le(i), o = r.a, s = r.d;
1567
1558
  t += i.scrollLeft * o, e += i.scrollTop * s;
1568
1559
  } while (i !== n && (i = i.parentNode));
1569
1560
  return [t, e];
@@ -1597,42 +1588,42 @@ function xs(i, t) {
1597
1588
  t.hasOwnProperty(e) && (i[e] = t[e]);
1598
1589
  return i;
1599
1590
  }
1600
- function Ni(i, t) {
1591
+ function Hi(i, t) {
1601
1592
  return Math.round(i.top) === Math.round(t.top) && Math.round(i.left) === Math.round(t.left) && Math.round(i.height) === Math.round(t.height) && Math.round(i.width) === Math.round(t.width);
1602
1593
  }
1603
- var Ee;
1604
- function yr(i, t) {
1594
+ var $e;
1595
+ function ur(i, t) {
1605
1596
  return function() {
1606
- if (!Ee) {
1597
+ if (!$e) {
1607
1598
  var e = arguments, n = this;
1608
- e.length === 1 ? i.call(n, e[0]) : i.apply(n, e), Ee = setTimeout(function() {
1609
- Ee = void 0;
1599
+ e.length === 1 ? i.call(n, e[0]) : i.apply(n, e), $e = setTimeout(function() {
1600
+ $e = void 0;
1610
1601
  }, t);
1611
1602
  }
1612
1603
  };
1613
1604
  }
1614
- function Es() {
1615
- clearTimeout(Ee), Ee = void 0;
1605
+ function $s() {
1606
+ clearTimeout($e), $e = void 0;
1616
1607
  }
1617
- function br(i, t, e) {
1608
+ function cr(i, t, e) {
1618
1609
  i.scrollLeft += t, i.scrollTop += e;
1619
1610
  }
1620
- function vr(i) {
1611
+ function hr(i) {
1621
1612
  var t = window.Polymer, e = window.jQuery || window.Zepto;
1622
1613
  return t && t.dom ? t.dom(i).cloneNode(!0) : e ? e(i).clone(!0)[0] : i.cloneNode(!0);
1623
1614
  }
1624
- function wr(i, t, e) {
1615
+ function pr(i, t, e) {
1625
1616
  var n = {};
1626
1617
  return Array.from(i.children).forEach(function(r) {
1627
1618
  var o, s, a, l;
1628
- if (!(!Et(r, t.draggable, i, !1) || r.animated || r === e)) {
1629
- var d = W(r);
1619
+ if (!(!$t(r, t.draggable, i, !1) || r.animated || r === e)) {
1620
+ var d = Y(r);
1630
1621
  n.left = Math.min((o = n.left) !== null && o !== void 0 ? o : 1 / 0, d.left), n.top = Math.min((s = n.top) !== null && s !== void 0 ? s : 1 / 0, d.top), n.right = Math.max((a = n.right) !== null && a !== void 0 ? a : -1 / 0, d.right), n.bottom = Math.max((l = n.bottom) !== null && l !== void 0 ? l : -1 / 0, d.bottom);
1631
1622
  }
1632
1623
  }), n.width = n.right - n.left, n.height = n.bottom - n.top, n.x = n.left, n.y = n.top, n;
1633
1624
  }
1634
1625
  var ft = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
1635
- function $s() {
1626
+ function Es() {
1636
1627
  var i = [], t;
1637
1628
  return {
1638
1629
  captureAnimationState: function() {
@@ -1642,11 +1633,11 @@ function $s() {
1642
1633
  if (!(v(r, "display") === "none" || r === w.ghost)) {
1643
1634
  i.push({
1644
1635
  target: r,
1645
- rect: W(r)
1636
+ rect: Y(r)
1646
1637
  });
1647
1638
  var o = At({}, i[i.length - 1].rect);
1648
1639
  if (r.thisAnimationDuration) {
1649
- var s = de(r, !0);
1640
+ var s = le(r, !0);
1650
1641
  s && (o.top -= s.f, o.left -= s.e);
1651
1642
  }
1652
1643
  r.fromRect = o;
@@ -1670,9 +1661,9 @@ function $s() {
1670
1661
  }
1671
1662
  var o = !1, s = 0;
1672
1663
  i.forEach(function(a) {
1673
- var l = 0, d = a.target, u = d.fromRect, c = W(d), p = d.prevFromRect, f = d.prevToRect, g = a.rect, b = de(d, !0);
1674
- b && (c.top -= b.f, c.left -= b.e), d.toRect = c, d.thisAnimationDuration && Ni(p, c) && !Ni(u, c) && // Make sure animatingRect is on line between toRect & fromRect
1675
- (g.top - c.top) / (g.left - c.left) === (u.top - c.top) / (u.left - c.left) && (l = As(g, p, f, r.options)), Ni(c, u) || (d.prevFromRect = u, d.prevToRect = c, l || (l = r.options.animation), r.animate(d, g, c, l)), l && (o = !0, s = Math.max(s, l), clearTimeout(d.animationResetTimer), d.animationResetTimer = setTimeout(function() {
1664
+ var l = 0, d = a.target, c = d.fromRect, u = Y(d), p = d.prevFromRect, f = d.prevToRect, g = a.rect, b = le(d, !0);
1665
+ b && (u.top -= b.f, u.left -= b.e), d.toRect = u, d.thisAnimationDuration && Hi(p, u) && !Hi(c, u) && // Make sure animatingRect is on line between toRect & fromRect
1666
+ (g.top - u.top) / (g.left - u.left) === (c.top - u.top) / (c.left - u.left) && (l = As(g, p, f, r.options)), Hi(u, c) || (d.prevFromRect = c, d.prevToRect = u, l || (l = r.options.animation), r.animate(d, g, u, l)), l && (o = !0, s = Math.max(s, l), clearTimeout(d.animationResetTimer), d.animationResetTimer = setTimeout(function() {
1676
1667
  d.animationTime = 0, d.prevFromRect = null, d.fromRect = null, d.prevToRect = null, d.thisAnimationDuration = null;
1677
1668
  }, l), d.thisAnimationDuration = l);
1678
1669
  }), clearTimeout(t), o ? t = setTimeout(function() {
@@ -1682,8 +1673,8 @@ function $s() {
1682
1673
  animate: function(n, r, o, s) {
1683
1674
  if (s) {
1684
1675
  v(n, "transition", ""), v(n, "transform", "");
1685
- var a = de(this.el), l = a && a.a, d = a && a.d, u = (r.left - o.left) / (l || 1), c = (r.top - o.top) / (d || 1);
1686
- n.animatingX = !!u, n.animatingY = !!c, v(n, "transform", "translate3d(" + u + "px," + c + "px,0)"), this.forRepaintDummy = Ss(n), v(n, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), v(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
1676
+ var a = le(this.el), l = a && a.a, d = a && a.d, c = (r.left - o.left) / (l || 1), u = (r.top - o.top) / (d || 1);
1677
+ n.animatingX = !!c, n.animatingY = !!u, v(n, "transform", "translate3d(" + c + "px," + u + "px,0)"), this.forRepaintDummy = Ss(n), v(n, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), v(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
1687
1678
  v(n, "transition", ""), v(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
1688
1679
  }, s);
1689
1680
  }
@@ -1696,16 +1687,16 @@ function Ss(i) {
1696
1687
  function As(i, t, e, n) {
1697
1688
  return Math.sqrt(Math.pow(t.top - i.top, 2) + Math.pow(t.left - i.left, 2)) / Math.sqrt(Math.pow(t.top - e.top, 2) + Math.pow(t.left - e.left, 2)) * n.animation;
1698
1689
  }
1699
- var ie = [], Hi = {
1690
+ var ee = [], Ni = {
1700
1691
  initializeByDefault: !0
1701
- }, Ie = {
1692
+ }, Me = {
1702
1693
  mount: function(t) {
1703
- for (var e in Hi)
1704
- Hi.hasOwnProperty(e) && !(e in t) && (t[e] = Hi[e]);
1705
- ie.forEach(function(n) {
1694
+ for (var e in Ni)
1695
+ Ni.hasOwnProperty(e) && !(e in t) && (t[e] = Ni[e]);
1696
+ ee.forEach(function(n) {
1706
1697
  if (n.pluginName === t.pluginName)
1707
1698
  throw "Sortable: Cannot mount plugin ".concat(t.pluginName, " more than once");
1708
- }), ie.push(t);
1699
+ }), ee.push(t);
1709
1700
  },
1710
1701
  pluginEvent: function(t, e, n) {
1711
1702
  var r = this;
@@ -1713,7 +1704,7 @@ var ie = [], Hi = {
1713
1704
  r.eventCanceled = !0;
1714
1705
  };
1715
1706
  var o = t + "Global";
1716
- ie.forEach(function(s) {
1707
+ ee.forEach(function(s) {
1717
1708
  e[s.pluginName] && (e[s.pluginName][o] && e[s.pluginName][o](At({
1718
1709
  sortable: e
1719
1710
  }, n)), e.options[s.pluginName] && e[s.pluginName][t] && e[s.pluginName][t](At({
@@ -1722,11 +1713,11 @@ var ie = [], Hi = {
1722
1713
  });
1723
1714
  },
1724
1715
  initializePlugins: function(t, e, n, r) {
1725
- ie.forEach(function(a) {
1716
+ ee.forEach(function(a) {
1726
1717
  var l = a.pluginName;
1727
1718
  if (!(!t.options[l] && !a.initializeByDefault)) {
1728
1719
  var d = new a(t, e, t.options);
1729
- d.sortable = t, d.options = t.options, t[l] = d, Lt(n, d.defaults);
1720
+ d.sortable = t, d.options = t.options, t[l] = d, Rt(n, d.defaults);
1730
1721
  }
1731
1722
  });
1732
1723
  for (var o in t.options)
@@ -1737,52 +1728,52 @@ var ie = [], Hi = {
1737
1728
  },
1738
1729
  getEventProperties: function(t, e) {
1739
1730
  var n = {};
1740
- return ie.forEach(function(r) {
1741
- typeof r.eventProperties == "function" && Lt(n, r.eventProperties.call(e[r.pluginName], t));
1731
+ return ee.forEach(function(r) {
1732
+ typeof r.eventProperties == "function" && Rt(n, r.eventProperties.call(e[r.pluginName], t));
1742
1733
  }), n;
1743
1734
  },
1744
1735
  modifyOption: function(t, e, n) {
1745
1736
  var r;
1746
- return ie.forEach(function(o) {
1737
+ return ee.forEach(function(o) {
1747
1738
  t[o.pluginName] && o.optionListeners && typeof o.optionListeners[e] == "function" && (r = o.optionListeners[e].call(t[o.pluginName], n));
1748
1739
  }), r;
1749
1740
  }
1750
1741
  };
1751
- function Cs(i) {
1752
- var t = i.sortable, e = i.rootEl, n = i.name, r = i.targetEl, o = i.cloneEl, s = i.toEl, a = i.fromEl, l = i.oldIndex, d = i.newIndex, u = i.oldDraggableIndex, c = i.newDraggableIndex, p = i.originalEvent, f = i.putSortable, g = i.extraEventProperties;
1742
+ function _s(i) {
1743
+ var t = i.sortable, e = i.rootEl, n = i.name, r = i.targetEl, o = i.cloneEl, s = i.toEl, a = i.fromEl, l = i.oldIndex, d = i.newIndex, c = i.oldDraggableIndex, u = i.newDraggableIndex, p = i.originalEvent, f = i.putSortable, g = i.extraEventProperties;
1753
1744
  if (t = t || e && e[ft], !!t) {
1754
- var b, N = t.options, J = "on" + n.charAt(0).toUpperCase() + n.substr(1);
1755
- window.CustomEvent && !Mt && !Me ? b = new CustomEvent(n, {
1745
+ var b, H = t.options, J = "on" + n.charAt(0).toUpperCase() + n.substr(1);
1746
+ window.CustomEvent && !Lt && !Le ? b = new CustomEvent(n, {
1756
1747
  bubbles: !0,
1757
1748
  cancelable: !0
1758
- }) : (b = document.createEvent("Event"), b.initEvent(n, !0, !0)), b.to = s || e, b.from = a || e, b.item = r || e, b.clone = o, b.oldIndex = l, b.newIndex = d, b.oldDraggableIndex = u, b.newDraggableIndex = c, b.originalEvent = p, b.pullMode = f ? f.lastPutMode : void 0;
1759
- var F = At(At({}, g), Ie.getEventProperties(n, t));
1749
+ }) : (b = document.createEvent("Event"), b.initEvent(n, !0, !0)), b.to = s || e, b.from = a || e, b.item = r || e, b.clone = o, b.oldIndex = l, b.newIndex = d, b.oldDraggableIndex = c, b.newDraggableIndex = u, b.originalEvent = p, b.pullMode = f ? f.lastPutMode : void 0;
1750
+ var F = At(At({}, g), Me.getEventProperties(n, t));
1760
1751
  for (var st in F)
1761
1752
  b[st] = F[st];
1762
- e && e.dispatchEvent(b), N[J] && N[J].call(t, b);
1753
+ e && e.dispatchEvent(b), H[J] && H[J].call(t, b);
1763
1754
  }
1764
1755
  }
1765
- var _s = ["evt"], ht = function(t, e) {
1766
- var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = n.evt, o = bs(n, _s);
1767
- Ie.pluginEvent.bind(w)(t, e, At({
1756
+ var Cs = ["evt"], ht = function(t, e) {
1757
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = n.evt, o = bs(n, Cs);
1758
+ Me.pluginEvent.bind(w)(t, e, At({
1768
1759
  dragEl: h,
1769
1760
  parentEl: z,
1770
- ghostEl: E,
1761
+ ghostEl: $,
1771
1762
  rootEl: V,
1772
1763
  nextEl: Jt,
1773
- lastDownEl: Ze,
1764
+ lastDownEl: ze,
1774
1765
  cloneEl: U,
1775
1766
  cloneHidden: Vt,
1776
1767
  dragStarted: me,
1777
1768
  putSortable: et,
1778
1769
  activeSortable: w.active,
1779
1770
  originalEvent: r,
1780
- oldIndex: le,
1781
- oldDraggableIndex: $e,
1771
+ oldIndex: ae,
1772
+ oldDraggableIndex: Ee,
1782
1773
  newIndex: yt,
1783
1774
  newDraggableIndex: Ht,
1784
- hideGhostForTarget: Sr,
1785
- unhideGhostForTarget: Ar,
1775
+ hideGhostForTarget: yr,
1776
+ unhideGhostForTarget: br,
1786
1777
  cloneNowHidden: function() {
1787
1778
  Vt = !0;
1788
1779
  },
@@ -1799,76 +1790,76 @@ var _s = ["evt"], ht = function(t, e) {
1799
1790
  }, o));
1800
1791
  };
1801
1792
  function at(i) {
1802
- Cs(At({
1793
+ _s(At({
1803
1794
  putSortable: et,
1804
1795
  cloneEl: U,
1805
1796
  targetEl: h,
1806
1797
  rootEl: V,
1807
- oldIndex: le,
1808
- oldDraggableIndex: $e,
1798
+ oldIndex: ae,
1799
+ oldDraggableIndex: Ee,
1809
1800
  newIndex: yt,
1810
1801
  newDraggableIndex: Ht
1811
1802
  }, i));
1812
1803
  }
1813
- var h, z, E, V, Jt, Ze, U, Vt, le, yt, $e, Ht, Ve, et, oe = !1, ti = !1, ei = [], Wt, xt, Vi, ki, Nn, Hn, me, ne, Se, Ae = !1, ke = !1, qe, ot, Bi = [], Yi = !1, ii = [], Ci = typeof document < "u", Be = un, Vn = Me || Mt ? "cssFloat" : "float", Ts = Ci && !pr && !un && "draggable" in document.createElement("div"), xr = function() {
1814
- if (Ci) {
1815
- if (Mt)
1804
+ var h, z, $, V, Jt, ze, U, Vt, ae, yt, Ee, Ht, Ne, et, re = !1, Qe = !1, ti = [], Yt, xt, Vi, ki, Mn, In, me, ie, Se, Ae = !1, Ve = !1, Ze, ot, Bi = [], Wi = !1, ei = [], _i = typeof document < "u", ke = dn, Hn = Le || Lt ? "cssFloat" : "float", Ts = _i && !sr && !dn && "draggable" in document.createElement("div"), fr = function() {
1805
+ if (_i) {
1806
+ if (Lt)
1816
1807
  return !1;
1817
1808
  var i = document.createElement("x");
1818
1809
  return i.style.cssText = "pointer-events:auto", i.style.pointerEvents === "auto";
1819
1810
  }
1820
- }(), Er = function(t, e) {
1821
- var n = v(t), r = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), o = ue(t, 0, e), s = ue(t, 1, e), a = o && v(o), l = s && v(s), d = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + W(o).width, u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + W(s).width;
1811
+ }(), gr = function(t, e) {
1812
+ var n = v(t), r = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), o = ce(t, 0, e), s = ce(t, 1, e), a = o && v(o), l = s && v(s), d = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + Y(o).width, c = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + Y(s).width;
1822
1813
  if (n.display === "flex")
1823
1814
  return n.flexDirection === "column" || n.flexDirection === "column-reverse" ? "vertical" : "horizontal";
1824
1815
  if (n.display === "grid")
1825
1816
  return n.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
1826
1817
  if (o && a.float && a.float !== "none") {
1827
- var c = a.float === "left" ? "left" : "right";
1828
- return s && (l.clear === "both" || l.clear === c) ? "vertical" : "horizontal";
1818
+ var u = a.float === "left" ? "left" : "right";
1819
+ return s && (l.clear === "both" || l.clear === u) ? "vertical" : "horizontal";
1829
1820
  }
1830
- return o && (a.display === "block" || a.display === "flex" || a.display === "table" || a.display === "grid" || d >= r && n[Vn] === "none" || s && n[Vn] === "none" && d + u > r) ? "vertical" : "horizontal";
1821
+ return o && (a.display === "block" || a.display === "flex" || a.display === "table" || a.display === "grid" || d >= r && n[Hn] === "none" || s && n[Hn] === "none" && d + c > r) ? "vertical" : "horizontal";
1831
1822
  }, Ds = function(t, e, n) {
1832
1823
  var r = n ? t.left : t.top, o = n ? t.right : t.bottom, s = n ? t.width : t.height, a = n ? e.left : e.top, l = n ? e.right : e.bottom, d = n ? e.width : e.height;
1833
1824
  return r === a || o === l || r + s / 2 === a + d / 2;
1834
1825
  }, Ps = function(t, e) {
1835
1826
  var n;
1836
- return ei.some(function(r) {
1827
+ return ti.some(function(r) {
1837
1828
  var o = r[ft].options.emptyInsertThreshold;
1838
- if (!(!o || hn(r))) {
1839
- var s = W(r), a = t >= s.left - o && t <= s.right + o, l = e >= s.top - o && e <= s.bottom + o;
1829
+ if (!(!o || un(r))) {
1830
+ var s = Y(r), a = t >= s.left - o && t <= s.right + o, l = e >= s.top - o && e <= s.bottom + o;
1840
1831
  if (a && l)
1841
1832
  return n = r;
1842
1833
  }
1843
1834
  }), n;
1844
- }, $r = function(t) {
1835
+ }, mr = function(t) {
1845
1836
  function e(o, s) {
1846
- return function(a, l, d, u) {
1847
- var c = a.options.group.name && l.options.group.name && a.options.group.name === l.options.group.name;
1848
- if (o == null && (s || c))
1837
+ return function(a, l, d, c) {
1838
+ var u = a.options.group.name && l.options.group.name && a.options.group.name === l.options.group.name;
1839
+ if (o == null && (s || u))
1849
1840
  return !0;
1850
1841
  if (o == null || o === !1)
1851
1842
  return !1;
1852
1843
  if (s && o === "clone")
1853
1844
  return o;
1854
1845
  if (typeof o == "function")
1855
- return e(o(a, l, d, u), s)(a, l, d, u);
1846
+ return e(o(a, l, d, c), s)(a, l, d, c);
1856
1847
  var p = (s ? a : l).options.group.name;
1857
1848
  return o === !0 || typeof o == "string" && o === p || o.join && o.indexOf(p) > -1;
1858
1849
  };
1859
1850
  }
1860
1851
  var n = {}, r = t.group;
1861
- (!r || ze(r) != "object") && (r = {
1852
+ (!r || je(r) != "object") && (r = {
1862
1853
  name: r
1863
1854
  }), n.name = r.name, n.checkPull = e(r.pull, !0), n.checkPut = e(r.put), n.revertClone = r.revertClone, t.group = n;
1864
- }, Sr = function() {
1865
- !xr && E && v(E, "display", "none");
1866
- }, Ar = function() {
1867
- !xr && E && v(E, "display", "");
1855
+ }, yr = function() {
1856
+ !fr && $ && v($, "display", "none");
1857
+ }, br = function() {
1858
+ !fr && $ && v($, "display", "");
1868
1859
  };
1869
- Ci && !pr && document.addEventListener("click", function(i) {
1870
- if (ti)
1871
- return i.preventDefault(), i.stopPropagation && i.stopPropagation(), i.stopImmediatePropagation && i.stopImmediatePropagation(), ti = !1, !1;
1860
+ _i && !sr && document.addEventListener("click", function(i) {
1861
+ if (Qe)
1862
+ return i.preventDefault(), i.stopPropagation && i.stopPropagation(), i.stopImmediatePropagation && i.stopImmediatePropagation(), Qe = !1, !1;
1872
1863
  }, !0);
1873
1864
  var Gt = function(t) {
1874
1865
  if (h) {
@@ -1887,7 +1878,7 @@ var Gt = function(t) {
1887
1878
  function w(i, t) {
1888
1879
  if (!(i && i.nodeType && i.nodeType === 1))
1889
1880
  throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(i));
1890
- this.el = i, this.options = t = Lt({}, t), i[ft] = this;
1881
+ this.el = i, this.options = t = Rt({}, t), i[ft] = this;
1891
1882
  var e = {
1892
1883
  group: null,
1893
1884
  sort: !0,
@@ -1903,7 +1894,7 @@ function w(i, t) {
1903
1894
  // will be set to same as swapThreshold if default
1904
1895
  removeCloneOnHide: !0,
1905
1896
  direction: function() {
1906
- return Er(i, this.options);
1897
+ return gr(i, this.options);
1907
1898
  },
1908
1899
  ghostClass: "sortable-ghost",
1909
1900
  chosenClass: "sortable-chosen",
@@ -1931,32 +1922,32 @@ function w(i, t) {
1931
1922
  y: 0
1932
1923
  },
1933
1924
  // Disabled on Safari: #1571; Enabled on Safari IOS: #2244
1934
- supportPointer: w.supportPointer !== !1 && "PointerEvent" in window && (!xe || un),
1925
+ supportPointer: w.supportPointer !== !1 && "PointerEvent" in window && (!xe || dn),
1935
1926
  emptyInsertThreshold: 5
1936
1927
  };
1937
- Ie.initializePlugins(this, i, e);
1928
+ Me.initializePlugins(this, i, e);
1938
1929
  for (var n in e)
1939
1930
  !(n in t) && (t[n] = e[n]);
1940
- $r(t);
1931
+ mr(t);
1941
1932
  for (var r in this)
1942
1933
  r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
1943
- this.nativeDraggable = t.forceFallback ? !1 : Ts, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? T(i, "pointerdown", this._onTapStart) : (T(i, "mousedown", this._onTapStart), T(i, "touchstart", this._onTapStart)), this.nativeDraggable && (T(i, "dragover", this), T(i, "dragenter", this)), ei.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), Lt(this, $s());
1934
+ this.nativeDraggable = t.forceFallback ? !1 : Ts, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? T(i, "pointerdown", this._onTapStart) : (T(i, "mousedown", this._onTapStart), T(i, "touchstart", this._onTapStart)), this.nativeDraggable && (T(i, "dragover", this), T(i, "dragenter", this)), ti.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), Rt(this, Es());
1944
1935
  }
1945
1936
  w.prototype = /** @lends Sortable.prototype */
1946
1937
  {
1947
1938
  constructor: w,
1948
1939
  _isOutsideThisEl: function(t) {
1949
- !this.el.contains(t) && t !== this.el && (ne = null);
1940
+ !this.el.contains(t) && t !== this.el && (ie = null);
1950
1941
  },
1951
1942
  _getDirection: function(t, e) {
1952
1943
  return typeof this.options.direction == "function" ? this.options.direction.call(this, t, e, h) : this.options.direction;
1953
1944
  },
1954
1945
  _onTapStart: function(t) {
1955
1946
  if (t.cancelable) {
1956
- var e = this, n = this.el, r = this.options, o = r.preventOnFilter, s = t.type, a = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, l = (a || t).target, d = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || l, u = r.filter;
1957
- if (ks(n), !h && !(/mousedown|pointerdown/.test(s) && t.button !== 0 || r.disabled) && !d.isContentEditable && !(!this.nativeDraggable && xe && l && l.tagName.toUpperCase() === "SELECT") && (l = Et(l, r.draggable, n, !1), !(l && l.animated) && Ze !== l)) {
1958
- if (le = bt(l), $e = bt(l, r.draggable), typeof u == "function") {
1959
- if (u.call(this, t, l, this)) {
1947
+ var e = this, n = this.el, r = this.options, o = r.preventOnFilter, s = t.type, a = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, l = (a || t).target, d = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || l, c = r.filter;
1948
+ if (ks(n), !h && !(/mousedown|pointerdown/.test(s) && t.button !== 0 || r.disabled) && !d.isContentEditable && !(!this.nativeDraggable && xe && l && l.tagName.toUpperCase() === "SELECT") && (l = $t(l, r.draggable, n, !1), !(l && l.animated) && ze !== l)) {
1949
+ if (ae = bt(l), Ee = bt(l, r.draggable), typeof c == "function") {
1950
+ if (c.call(this, t, l, this)) {
1960
1951
  at({
1961
1952
  sortable: e,
1962
1953
  rootEl: d,
@@ -1969,11 +1960,11 @@ w.prototype = /** @lends Sortable.prototype */
1969
1960
  }), o && t.preventDefault();
1970
1961
  return;
1971
1962
  }
1972
- } else if (u && (u = u.split(",").some(function(c) {
1973
- if (c = Et(d, c.trim(), n, !1), c)
1963
+ } else if (c && (c = c.split(",").some(function(u) {
1964
+ if (u = $t(d, u.trim(), n, !1), u)
1974
1965
  return at({
1975
1966
  sortable: e,
1976
- rootEl: c,
1967
+ rootEl: u,
1977
1968
  name: "filter",
1978
1969
  targetEl: l,
1979
1970
  fromEl: n,
@@ -1981,39 +1972,39 @@ w.prototype = /** @lends Sortable.prototype */
1981
1972
  }), ht("filter", e, {
1982
1973
  evt: t
1983
1974
  }), !0;
1984
- }), u)) {
1975
+ }), c)) {
1985
1976
  o && t.preventDefault();
1986
1977
  return;
1987
1978
  }
1988
- r.handle && !Et(d, r.handle, n, !1) || this._prepareDragStart(t, a, l);
1979
+ r.handle && !$t(d, r.handle, n, !1) || this._prepareDragStart(t, a, l);
1989
1980
  }
1990
1981
  }
1991
1982
  },
1992
1983
  _prepareDragStart: function(t, e, n) {
1993
1984
  var r = this, o = r.el, s = r.options, a = o.ownerDocument, l;
1994
1985
  if (n && !h && n.parentNode === o) {
1995
- var d = W(n);
1996
- if (V = o, h = n, z = h.parentNode, Jt = h.nextSibling, Ze = n, Ve = s.group, w.dragged = h, Wt = {
1986
+ var d = Y(n);
1987
+ if (V = o, h = n, z = h.parentNode, Jt = h.nextSibling, ze = n, Ne = s.group, w.dragged = h, Yt = {
1997
1988
  target: h,
1998
1989
  clientX: (e || t).clientX,
1999
1990
  clientY: (e || t).clientY
2000
- }, Nn = Wt.clientX - d.left, Hn = Wt.clientY - d.top, this._lastX = (e || t).clientX, this._lastY = (e || t).clientY, h.style["will-change"] = "all", l = function() {
1991
+ }, Mn = Yt.clientX - d.left, In = Yt.clientY - d.top, this._lastX = (e || t).clientX, this._lastY = (e || t).clientY, h.style["will-change"] = "all", l = function() {
2001
1992
  if (ht("delayEnded", r, {
2002
1993
  evt: t
2003
1994
  }), w.eventCanceled) {
2004
1995
  r._onDrop();
2005
1996
  return;
2006
1997
  }
2007
- r._disableDelayedDragEvents(), !Rn && r.nativeDraggable && (h.draggable = !0), r._triggerDragStart(t, e), at({
1998
+ r._disableDelayedDragEvents(), !Pn && r.nativeDraggable && (h.draggable = !0), r._triggerDragStart(t, e), at({
2008
1999
  sortable: r,
2009
2000
  name: "choose",
2010
2001
  originalEvent: t
2011
2002
  }), mt(h, s.chosenClass, !0);
2012
- }, s.ignore.split(",").forEach(function(u) {
2013
- mr(h, u.trim(), Ui);
2014
- }), T(a, "dragover", Gt), T(a, "mousemove", Gt), T(a, "touchmove", Gt), s.supportPointer ? (T(a, "pointerup", r._onDrop), !this.nativeDraggable && T(a, "pointercancel", r._onDrop)) : (T(a, "mouseup", r._onDrop), T(a, "touchend", r._onDrop), T(a, "touchcancel", r._onDrop)), Rn && this.nativeDraggable && (this.options.touchStartThreshold = 4, h.draggable = !0), ht("delayStart", this, {
2003
+ }, s.ignore.split(",").forEach(function(c) {
2004
+ dr(h, c.trim(), Ui);
2005
+ }), T(a, "dragover", Gt), T(a, "mousemove", Gt), T(a, "touchmove", Gt), s.supportPointer ? (T(a, "pointerup", r._onDrop), !this.nativeDraggable && T(a, "pointercancel", r._onDrop)) : (T(a, "mouseup", r._onDrop), T(a, "touchend", r._onDrop), T(a, "touchcancel", r._onDrop)), Pn && this.nativeDraggable && (this.options.touchStartThreshold = 4, h.draggable = !0), ht("delayStart", this, {
2015
2006
  evt: t
2016
- }), s.delay && (!s.delayOnTouchOnly || e) && (!this.nativeDraggable || !(Me || Mt))) {
2007
+ }), s.delay && (!s.delayOnTouchOnly || e) && (!this.nativeDraggable || !(Le || Lt))) {
2017
2008
  if (w.eventCanceled) {
2018
2009
  this._onDrop();
2019
2010
  return;
@@ -2032,19 +2023,19 @@ w.prototype = /** @lends Sortable.prototype */
2032
2023
  },
2033
2024
  _disableDelayedDragEvents: function() {
2034
2025
  var t = this.el.ownerDocument;
2035
- _(t, "mouseup", this._disableDelayedDrag), _(t, "touchend", this._disableDelayedDrag), _(t, "touchcancel", this._disableDelayedDrag), _(t, "pointerup", this._disableDelayedDrag), _(t, "pointercancel", this._disableDelayedDrag), _(t, "mousemove", this._delayedDragTouchMoveHandler), _(t, "touchmove", this._delayedDragTouchMoveHandler), _(t, "pointermove", this._delayedDragTouchMoveHandler);
2026
+ C(t, "mouseup", this._disableDelayedDrag), C(t, "touchend", this._disableDelayedDrag), C(t, "touchcancel", this._disableDelayedDrag), C(t, "pointerup", this._disableDelayedDrag), C(t, "pointercancel", this._disableDelayedDrag), C(t, "mousemove", this._delayedDragTouchMoveHandler), C(t, "touchmove", this._delayedDragTouchMoveHandler), C(t, "pointermove", this._delayedDragTouchMoveHandler);
2036
2027
  },
2037
2028
  _triggerDragStart: function(t, e) {
2038
2029
  e = e || t.pointerType == "touch" && t, !this.nativeDraggable || e ? this.options.supportPointer ? T(document, "pointermove", this._onTouchMove) : e ? T(document, "touchmove", this._onTouchMove) : T(document, "mousemove", this._onTouchMove) : (T(h, "dragend", this), T(V, "dragstart", this._onDragStart));
2039
2030
  try {
2040
- document.selection ? Xe(function() {
2031
+ document.selection ? qe(function() {
2041
2032
  document.selection.empty();
2042
2033
  }) : window.getSelection().removeAllRanges();
2043
2034
  } catch {
2044
2035
  }
2045
2036
  },
2046
2037
  _dragStarted: function(t, e) {
2047
- if (oe = !1, V && h) {
2038
+ if (re = !1, V && h) {
2048
2039
  ht("dragStarted", this, {
2049
2040
  evt: e
2050
2041
  }), this.nativeDraggable && T(document, "dragover", Os);
@@ -2059,7 +2050,7 @@ w.prototype = /** @lends Sortable.prototype */
2059
2050
  },
2060
2051
  _emulateDragOver: function() {
2061
2052
  if (xt) {
2062
- this._lastX = xt.clientX, this._lastY = xt.clientY, Sr();
2053
+ this._lastX = xt.clientX, this._lastY = xt.clientY, yr();
2063
2054
  for (var t = document.elementFromPoint(xt.clientX, xt.clientY), e = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(xt.clientX, xt.clientY), t !== e); )
2064
2055
  e = t;
2065
2056
  if (h.parentNode[ft]._isOutsideThisEl(t), e)
@@ -2075,42 +2066,42 @@ w.prototype = /** @lends Sortable.prototype */
2075
2066
  break;
2076
2067
  }
2077
2068
  t = e;
2078
- } while (e = gr(e));
2079
- Ar();
2069
+ } while (e = lr(e));
2070
+ br();
2080
2071
  }
2081
2072
  },
2082
2073
  _onTouchMove: function(t) {
2083
- if (Wt) {
2084
- var e = this.options, n = e.fallbackTolerance, r = e.fallbackOffset, o = t.touches ? t.touches[0] : t, s = E && de(E, !0), a = E && s && s.a, l = E && s && s.d, d = Be && ot && In(ot), u = (o.clientX - Wt.clientX + r.x) / (a || 1) + (d ? d[0] - Bi[0] : 0) / (a || 1), c = (o.clientY - Wt.clientY + r.y) / (l || 1) + (d ? d[1] - Bi[1] : 0) / (l || 1);
2085
- if (!w.active && !oe) {
2074
+ if (Yt) {
2075
+ var e = this.options, n = e.fallbackTolerance, r = e.fallbackOffset, o = t.touches ? t.touches[0] : t, s = $ && le($, !0), a = $ && s && s.a, l = $ && s && s.d, d = ke && ot && Ln(ot), c = (o.clientX - Yt.clientX + r.x) / (a || 1) + (d ? d[0] - Bi[0] : 0) / (a || 1), u = (o.clientY - Yt.clientY + r.y) / (l || 1) + (d ? d[1] - Bi[1] : 0) / (l || 1);
2076
+ if (!w.active && !re) {
2086
2077
  if (n && Math.max(Math.abs(o.clientX - this._lastX), Math.abs(o.clientY - this._lastY)) < n)
2087
2078
  return;
2088
2079
  this._onDragStart(t, !0);
2089
2080
  }
2090
- if (E) {
2091
- s ? (s.e += u - (Vi || 0), s.f += c - (ki || 0)) : s = {
2081
+ if ($) {
2082
+ s ? (s.e += c - (Vi || 0), s.f += u - (ki || 0)) : s = {
2092
2083
  a: 1,
2093
2084
  b: 0,
2094
2085
  c: 0,
2095
2086
  d: 1,
2096
- e: u,
2097
- f: c
2087
+ e: c,
2088
+ f: u
2098
2089
  };
2099
2090
  var p = "matrix(".concat(s.a, ",").concat(s.b, ",").concat(s.c, ",").concat(s.d, ",").concat(s.e, ",").concat(s.f, ")");
2100
- v(E, "webkitTransform", p), v(E, "mozTransform", p), v(E, "msTransform", p), v(E, "transform", p), Vi = u, ki = c, xt = o;
2091
+ v($, "webkitTransform", p), v($, "mozTransform", p), v($, "msTransform", p), v($, "transform", p), Vi = c, ki = u, xt = o;
2101
2092
  }
2102
2093
  t.cancelable && t.preventDefault();
2103
2094
  }
2104
2095
  },
2105
2096
  _appendGhost: function() {
2106
- if (!E) {
2107
- var t = this.options.fallbackOnBody ? document.body : V, e = W(h, !0, Be, !0, t), n = this.options;
2108
- if (Be) {
2097
+ if (!$) {
2098
+ var t = this.options.fallbackOnBody ? document.body : V, e = Y(h, !0, ke, !0, t), n = this.options;
2099
+ if (ke) {
2109
2100
  for (ot = t; v(ot, "position") === "static" && v(ot, "transform") === "none" && ot !== document; )
2110
2101
  ot = ot.parentNode;
2111
- ot !== document.body && ot !== document.documentElement ? (ot === document && (ot = St()), e.top += ot.scrollTop, e.left += ot.scrollLeft) : ot = St(), Bi = In(ot);
2102
+ ot !== document.body && ot !== document.documentElement ? (ot === document && (ot = St()), e.top += ot.scrollTop, e.left += ot.scrollLeft) : ot = St(), Bi = Ln(ot);
2112
2103
  }
2113
- E = h.cloneNode(!0), mt(E, n.ghostClass, !1), mt(E, n.fallbackClass, !0), mt(E, n.dragClass, !0), v(E, "transition", ""), v(E, "transform", ""), v(E, "box-sizing", "border-box"), v(E, "margin", 0), v(E, "top", e.top), v(E, "left", e.left), v(E, "width", e.width), v(E, "height", e.height), v(E, "opacity", "0.8"), v(E, "position", Be ? "absolute" : "fixed"), v(E, "zIndex", "100000"), v(E, "pointerEvents", "none"), w.ghost = E, t.appendChild(E), v(E, "transform-origin", Nn / parseInt(E.style.width) * 100 + "% " + Hn / parseInt(E.style.height) * 100 + "%");
2104
+ $ = h.cloneNode(!0), mt($, n.ghostClass, !1), mt($, n.fallbackClass, !0), mt($, n.dragClass, !0), v($, "transition", ""), v($, "transform", ""), v($, "box-sizing", "border-box"), v($, "margin", 0), v($, "top", e.top), v($, "left", e.left), v($, "width", e.width), v($, "height", e.height), v($, "opacity", "0.8"), v($, "position", ke ? "absolute" : "fixed"), v($, "zIndex", "100000"), v($, "pointerEvents", "none"), w.ghost = $, t.appendChild($), v($, "transform-origin", Mn / parseInt($.style.width) * 100 + "% " + In / parseInt($.style.height) * 100 + "%");
2114
2105
  }
2115
2106
  },
2116
2107
  _onDragStart: function(t, e) {
@@ -2121,44 +2112,44 @@ w.prototype = /** @lends Sortable.prototype */
2121
2112
  this._onDrop();
2122
2113
  return;
2123
2114
  }
2124
- ht("setupClone", this), w.eventCanceled || (U = vr(h), U.removeAttribute("id"), U.draggable = !1, U.style["will-change"] = "", this._hideClone(), mt(U, this.options.chosenClass, !1), w.clone = U), n.cloneId = Xe(function() {
2115
+ ht("setupClone", this), w.eventCanceled || (U = hr(h), U.removeAttribute("id"), U.draggable = !1, U.style["will-change"] = "", this._hideClone(), mt(U, this.options.chosenClass, !1), w.clone = U), n.cloneId = qe(function() {
2125
2116
  ht("clone", n), !w.eventCanceled && (n.options.removeCloneOnHide || V.insertBefore(U, h), n._hideClone(), at({
2126
2117
  sortable: n,
2127
2118
  name: "clone"
2128
2119
  }));
2129
- }), !e && mt(h, o.dragClass, !0), e ? (ti = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (_(document, "mouseup", n._onDrop), _(document, "touchend", n._onDrop), _(document, "touchcancel", n._onDrop), r && (r.effectAllowed = "move", o.setData && o.setData.call(n, r, h)), T(document, "drop", n), v(h, "transform", "translateZ(0)")), oe = !0, n._dragStartId = Xe(n._dragStarted.bind(n, e, t)), T(document, "selectstart", n), me = !0, window.getSelection().removeAllRanges(), xe && v(document.body, "user-select", "none");
2120
+ }), !e && mt(h, o.dragClass, !0), e ? (Qe = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (C(document, "mouseup", n._onDrop), C(document, "touchend", n._onDrop), C(document, "touchcancel", n._onDrop), r && (r.effectAllowed = "move", o.setData && o.setData.call(n, r, h)), T(document, "drop", n), v(h, "transform", "translateZ(0)")), re = !0, n._dragStartId = qe(n._dragStarted.bind(n, e, t)), T(document, "selectstart", n), me = !0, window.getSelection().removeAllRanges(), xe && v(document.body, "user-select", "none");
2130
2121
  },
2131
2122
  // Returns true - if no further action is needed (either inserted or another condition)
2132
2123
  _onDragOver: function(t) {
2133
- var e = this.el, n = t.target, r, o, s, a = this.options, l = a.group, d = w.active, u = Ve === l, c = a.sort, p = et || d, f, g = this, b = !1;
2134
- if (Yi) return;
2135
- function N(gt, zt) {
2124
+ var e = this.el, n = t.target, r, o, s, a = this.options, l = a.group, d = w.active, c = Ne === l, u = a.sort, p = et || d, f, g = this, b = !1;
2125
+ if (Wi) return;
2126
+ function H(gt, zt) {
2136
2127
  ht(gt, g, At({
2137
2128
  evt: t,
2138
- isOwner: u,
2129
+ isOwner: c,
2139
2130
  axis: f ? "vertical" : "horizontal",
2140
2131
  revert: s,
2141
2132
  dragRect: r,
2142
2133
  targetRect: o,
2143
- canSort: c,
2134
+ canSort: u,
2144
2135
  fromSortable: p,
2145
2136
  target: n,
2146
2137
  completed: F,
2147
- onMove: function(Zt, Ct) {
2148
- return Ue(V, e, h, r, Zt, W(Zt), t, Ct);
2138
+ onMove: function(Zt, _t) {
2139
+ return Be(V, e, h, r, Zt, Y(Zt), t, _t);
2149
2140
  },
2150
2141
  changed: st
2151
2142
  }, zt));
2152
2143
  }
2153
2144
  function J() {
2154
- N("dragOverAnimationCapture"), g.captureAnimationState(), g !== p && p.captureAnimationState();
2145
+ H("dragOverAnimationCapture"), g.captureAnimationState(), g !== p && p.captureAnimationState();
2155
2146
  }
2156
2147
  function F(gt) {
2157
- return N("dragOverCompleted", {
2148
+ return H("dragOverCompleted", {
2158
2149
  insertion: gt
2159
- }), gt && (u ? d._hideClone() : d._showClone(g), g !== p && (mt(h, et ? et.options.ghostClass : d.options.ghostClass, !1), mt(h, a.ghostClass, !0)), et !== g && g !== w.active ? et = g : g === w.active && et && (et = null), p === g && (g._ignoreWhileAnimating = n), g.animateAll(function() {
2160
- N("dragOverAnimationComplete"), g._ignoreWhileAnimating = null;
2161
- }), g !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (n === h && !h.animated || n === e && !n.animated) && (ne = null), !a.dragoverBubble && !t.rootEl && n !== document && (h.parentNode[ft]._isOutsideThisEl(t.target), !gt && Gt(t)), !a.dragoverBubble && t.stopPropagation && t.stopPropagation(), b = !0;
2150
+ }), gt && (c ? d._hideClone() : d._showClone(g), g !== p && (mt(h, et ? et.options.ghostClass : d.options.ghostClass, !1), mt(h, a.ghostClass, !0)), et !== g && g !== w.active ? et = g : g === w.active && et && (et = null), p === g && (g._ignoreWhileAnimating = n), g.animateAll(function() {
2151
+ H("dragOverAnimationComplete"), g._ignoreWhileAnimating = null;
2152
+ }), g !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (n === h && !h.animated || n === e && !n.animated) && (ie = null), !a.dragoverBubble && !t.rootEl && n !== document && (h.parentNode[ft]._isOutsideThisEl(t.target), !gt && Gt(t)), !a.dragoverBubble && t.stopPropagation && t.stopPropagation(), b = !0;
2162
2153
  }
2163
2154
  function st() {
2164
2155
  yt = bt(h), Ht = bt(h, a.draggable), at({
@@ -2170,44 +2161,44 @@ w.prototype = /** @lends Sortable.prototype */
2170
2161
  originalEvent: t
2171
2162
  });
2172
2163
  }
2173
- if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), n = Et(n, a.draggable, e, !0), N("dragOver"), w.eventCanceled) return b;
2164
+ if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), n = $t(n, a.draggable, e, !0), H("dragOver"), w.eventCanceled) return b;
2174
2165
  if (h.contains(t.target) || n.animated && n.animatingX && n.animatingY || g._ignoreWhileAnimating === n)
2175
2166
  return F(!1);
2176
- if (ti = !1, d && !a.disabled && (u ? c || (s = z !== V) : et === this || (this.lastPutMode = Ve.checkPull(this, d, h, t)) && l.checkPut(this, d, h, t))) {
2177
- if (f = this._getDirection(t, n) === "vertical", r = W(h), N("dragOverValid"), w.eventCanceled) return b;
2167
+ if (Qe = !1, d && !a.disabled && (c ? u || (s = z !== V) : et === this || (this.lastPutMode = Ne.checkPull(this, d, h, t)) && l.checkPut(this, d, h, t))) {
2168
+ if (f = this._getDirection(t, n) === "vertical", r = Y(h), H("dragOverValid"), w.eventCanceled) return b;
2178
2169
  if (s)
2179
- return z = V, J(), this._hideClone(), N("revert"), w.eventCanceled || (Jt ? V.insertBefore(h, Jt) : V.appendChild(h)), F(!0);
2180
- var K = hn(e, a.draggable);
2170
+ return z = V, J(), this._hideClone(), H("revert"), w.eventCanceled || (Jt ? V.insertBefore(h, Jt) : V.appendChild(h)), F(!0);
2171
+ var K = un(e, a.draggable);
2181
2172
  if (!K || Is(t, f, this) && !K.animated) {
2182
2173
  if (K === h)
2183
2174
  return F(!1);
2184
- if (K && e === t.target && (n = K), n && (o = W(n)), Ue(V, e, h, r, n, o, t, !!n) !== !1)
2175
+ if (K && e === t.target && (n = K), n && (o = Y(n)), Be(V, e, h, r, n, o, t, !!n) !== !1)
2185
2176
  return J(), K && K.nextSibling ? e.insertBefore(h, K.nextSibling) : e.appendChild(h), z = e, st(), F(!0);
2186
2177
  } else if (K && Ms(t, f, this)) {
2187
- var $ = ue(e, 0, a, !0);
2188
- if ($ === h)
2178
+ var E = ce(e, 0, a, !0);
2179
+ if (E === h)
2189
2180
  return F(!1);
2190
- if (n = $, o = W(n), Ue(V, e, h, r, n, o, t, !1) !== !1)
2191
- return J(), e.insertBefore(h, $), z = e, st(), F(!0);
2181
+ if (n = E, o = Y(n), Be(V, e, h, r, n, o, t, !1) !== !1)
2182
+ return J(), e.insertBefore(h, E), z = e, st(), F(!0);
2192
2183
  } else if (n.parentNode === e) {
2193
- o = W(n);
2194
- var m = 0, C, M = h.parentNode !== e, R = !Ds(h.animated && h.toRect || r, n.animated && n.toRect || o, f), q = f ? "top" : "left", X = Mn(n, "top", "top") || Mn(h, "top", "top"), H = X ? X.scrollTop : void 0;
2195
- ne !== n && (C = o[q], Ae = !1, ke = !R && a.invertSwap || M), m = Ns(t, n, o, f, R ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, ke, ne === n);
2184
+ o = Y(n);
2185
+ var m = 0, _, M = h.parentNode !== e, R = !Ds(h.animated && h.toRect || r, n.animated && n.toRect || o, f), q = f ? "top" : "left", X = Rn(n, "top", "top") || Rn(h, "top", "top"), N = X ? X.scrollTop : void 0;
2186
+ ie !== n && (_ = o[q], Ae = !1, Ve = !R && a.invertSwap || M), m = Hs(t, n, o, f, R ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, Ve, ie === n);
2196
2187
  var L;
2197
2188
  if (m !== 0) {
2198
2189
  var Z = bt(h);
2199
2190
  do
2200
2191
  Z -= m, L = z.children[Z];
2201
- while (L && (v(L, "display") === "none" || L === E));
2192
+ while (L && (v(L, "display") === "none" || L === $));
2202
2193
  }
2203
2194
  if (m === 0 || L === n)
2204
2195
  return F(!1);
2205
- ne = n, Se = m;
2196
+ ie = n, Se = m;
2206
2197
  var dt = n.nextElementSibling, tt = !1;
2207
2198
  tt = m === 1;
2208
- var ct = Ue(V, e, h, r, n, o, t, tt);
2209
- if (ct !== !1)
2210
- return (ct === 1 || ct === -1) && (tt = ct === 1), Yi = !0, setTimeout(Ls, 30), J(), tt && !dt ? e.appendChild(h) : n.parentNode.insertBefore(h, tt ? dt : n), X && br(X, 0, H - X.scrollTop), z = h.parentNode, C !== void 0 && !ke && (qe = Math.abs(C - W(n)[q])), st(), F(!0);
2199
+ var ut = Be(V, e, h, r, n, o, t, tt);
2200
+ if (ut !== !1)
2201
+ return (ut === 1 || ut === -1) && (tt = ut === 1), Wi = !0, setTimeout(Ls, 30), J(), tt && !dt ? e.appendChild(h) : n.parentNode.insertBefore(h, tt ? dt : n), X && cr(X, 0, N - X.scrollTop), z = h.parentNode, _ !== void 0 && !Ve && (Ze = Math.abs(_ - Y(n)[q])), st(), F(!0);
2211
2202
  }
2212
2203
  if (e.contains(h))
2213
2204
  return F(!1);
@@ -2216,11 +2207,11 @@ w.prototype = /** @lends Sortable.prototype */
2216
2207
  },
2217
2208
  _ignoreWhileAnimating: null,
2218
2209
  _offMoveEvents: function() {
2219
- _(document, "mousemove", this._onTouchMove), _(document, "touchmove", this._onTouchMove), _(document, "pointermove", this._onTouchMove), _(document, "dragover", Gt), _(document, "mousemove", Gt), _(document, "touchmove", Gt);
2210
+ C(document, "mousemove", this._onTouchMove), C(document, "touchmove", this._onTouchMove), C(document, "pointermove", this._onTouchMove), C(document, "dragover", Gt), C(document, "mousemove", Gt), C(document, "touchmove", Gt);
2220
2211
  },
2221
2212
  _offUpEvents: function() {
2222
2213
  var t = this.el.ownerDocument;
2223
- _(t, "mouseup", this._onDrop), _(t, "touchend", this._onDrop), _(t, "pointerup", this._onDrop), _(t, "pointercancel", this._onDrop), _(t, "touchcancel", this._onDrop), _(document, "selectstart", this);
2214
+ C(t, "mouseup", this._onDrop), C(t, "touchend", this._onDrop), C(t, "pointerup", this._onDrop), C(t, "pointercancel", this._onDrop), C(t, "touchcancel", this._onDrop), C(document, "selectstart", this);
2224
2215
  },
2225
2216
  _onDrop: function(t) {
2226
2217
  var e = this.el, n = this.options;
@@ -2230,7 +2221,7 @@ w.prototype = /** @lends Sortable.prototype */
2230
2221
  this._nulling();
2231
2222
  return;
2232
2223
  }
2233
- oe = !1, ke = !1, Ae = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Wi(this.cloneId), Wi(this._dragStartId), this.nativeDraggable && (_(document, "drop", this), _(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), xe && v(document.body, "user-select", ""), v(h, "transform", ""), t && (me && (t.cancelable && t.preventDefault(), !n.dropBubble && t.stopPropagation()), E && E.parentNode && E.parentNode.removeChild(E), (V === z || et && et.lastPutMode !== "clone") && U && U.parentNode && U.parentNode.removeChild(U), h && (this.nativeDraggable && _(h, "dragend", this), Ui(h), h.style["will-change"] = "", me && !oe && mt(h, et ? et.options.ghostClass : this.options.ghostClass, !1), mt(h, this.options.chosenClass, !1), at({
2224
+ re = !1, Ve = !1, Ae = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Yi(this.cloneId), Yi(this._dragStartId), this.nativeDraggable && (C(document, "drop", this), C(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), xe && v(document.body, "user-select", ""), v(h, "transform", ""), t && (me && (t.cancelable && t.preventDefault(), !n.dropBubble && t.stopPropagation()), $ && $.parentNode && $.parentNode.removeChild($), (V === z || et && et.lastPutMode !== "clone") && U && U.parentNode && U.parentNode.removeChild(U), h && (this.nativeDraggable && C(h, "dragend", this), Ui(h), h.style["will-change"] = "", me && !re && mt(h, et ? et.options.ghostClass : this.options.ghostClass, !1), mt(h, this.options.chosenClass, !1), at({
2234
2225
  sortable: this,
2235
2226
  name: "unchoose",
2236
2227
  toEl: z,
@@ -2259,7 +2250,7 @@ w.prototype = /** @lends Sortable.prototype */
2259
2250
  name: "sort",
2260
2251
  toEl: z,
2261
2252
  originalEvent: t
2262
- })), et && et.save()) : yt !== le && yt >= 0 && (at({
2253
+ })), et && et.save()) : yt !== ae && yt >= 0 && (at({
2263
2254
  sortable: this,
2264
2255
  name: "update",
2265
2256
  toEl: z,
@@ -2269,7 +2260,7 @@ w.prototype = /** @lends Sortable.prototype */
2269
2260
  name: "sort",
2270
2261
  toEl: z,
2271
2262
  originalEvent: t
2272
- })), w.active && ((yt == null || yt === -1) && (yt = le, Ht = $e), at({
2263
+ })), w.active && ((yt == null || yt === -1) && (yt = ae, Ht = Ee), at({
2273
2264
  sortable: this,
2274
2265
  name: "end",
2275
2266
  toEl: z,
@@ -2277,9 +2268,9 @@ w.prototype = /** @lends Sortable.prototype */
2277
2268
  }), this.save()))), this._nulling();
2278
2269
  },
2279
2270
  _nulling: function() {
2280
- ht("nulling", this), V = h = z = E = Jt = U = Ze = Vt = Wt = xt = me = yt = Ht = le = $e = ne = Se = et = Ve = w.dragged = w.ghost = w.clone = w.active = null, ii.forEach(function(t) {
2271
+ ht("nulling", this), V = h = z = $ = Jt = U = ze = Vt = Yt = xt = me = yt = Ht = ae = Ee = ie = Se = et = Ne = w.dragged = w.ghost = w.clone = w.active = null, ei.forEach(function(t) {
2281
2272
  t.checked = !0;
2282
- }), ii.length = Vi = ki = 0;
2273
+ }), ei.length = Vi = ki = 0;
2283
2274
  },
2284
2275
  handleEvent: function(t) {
2285
2276
  switch (t.type) {
@@ -2302,7 +2293,7 @@ w.prototype = /** @lends Sortable.prototype */
2302
2293
  */
2303
2294
  toArray: function() {
2304
2295
  for (var t = [], e, n = this.el.children, r = 0, o = n.length, s = this.options; r < o; r++)
2305
- e = n[r], Et(e, s.draggable, this.el, !1) && t.push(e.getAttribute(s.dataIdAttr) || Vs(e));
2296
+ e = n[r], $t(e, s.draggable, this.el, !1) && t.push(e.getAttribute(s.dataIdAttr) || Vs(e));
2306
2297
  return t;
2307
2298
  },
2308
2299
  /**
@@ -2313,7 +2304,7 @@ w.prototype = /** @lends Sortable.prototype */
2313
2304
  var n = {}, r = this.el;
2314
2305
  this.toArray().forEach(function(o, s) {
2315
2306
  var a = r.children[s];
2316
- Et(a, this.options.draggable, r, !1) && (n[o] = a);
2307
+ $t(a, this.options.draggable, r, !1) && (n[o] = a);
2317
2308
  }, this), e && this.captureAnimationState(), t.forEach(function(o) {
2318
2309
  n[o] && (r.removeChild(n[o]), r.appendChild(n[o]));
2319
2310
  }), e && this.animateAll();
@@ -2332,7 +2323,7 @@ w.prototype = /** @lends Sortable.prototype */
2332
2323
  * @returns {HTMLElement|null}
2333
2324
  */
2334
2325
  closest: function(t, e) {
2335
- return Et(t, e || this.options.draggable, this.el, !1);
2326
+ return $t(t, e || this.options.draggable, this.el, !1);
2336
2327
  },
2337
2328
  /**
2338
2329
  * Set/get option
@@ -2344,8 +2335,8 @@ w.prototype = /** @lends Sortable.prototype */
2344
2335
  var n = this.options;
2345
2336
  if (e === void 0)
2346
2337
  return n[t];
2347
- var r = Ie.modifyOption(this, t, e);
2348
- typeof r < "u" ? n[t] = r : n[t] = e, t === "group" && $r(n);
2338
+ var r = Me.modifyOption(this, t, e);
2339
+ typeof r < "u" ? n[t] = r : n[t] = e, t === "group" && mr(n);
2349
2340
  },
2350
2341
  /**
2351
2342
  * Destroy
@@ -2353,9 +2344,9 @@ w.prototype = /** @lends Sortable.prototype */
2353
2344
  destroy: function() {
2354
2345
  ht("destroy", this);
2355
2346
  var t = this.el;
2356
- t[ft] = null, _(t, "mousedown", this._onTapStart), _(t, "touchstart", this._onTapStart), _(t, "pointerdown", this._onTapStart), this.nativeDraggable && (_(t, "dragover", this), _(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(e) {
2347
+ t[ft] = null, C(t, "mousedown", this._onTapStart), C(t, "touchstart", this._onTapStart), C(t, "pointerdown", this._onTapStart), this.nativeDraggable && (C(t, "dragover", this), C(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(e) {
2357
2348
  e.removeAttribute("draggable");
2358
- }), this._onDrop(), this._disableDelayedDragEvents(), ei.splice(ei.indexOf(this.el), 1), this.el = t = null;
2349
+ }), this._onDrop(), this._disableDelayedDragEvents(), ti.splice(ti.indexOf(this.el), 1), this.el = t = null;
2359
2350
  },
2360
2351
  _hideClone: function() {
2361
2352
  if (!Vt) {
@@ -2377,41 +2368,41 @@ w.prototype = /** @lends Sortable.prototype */
2377
2368
  function Rs(i) {
2378
2369
  i.dataTransfer && (i.dataTransfer.dropEffect = "move"), i.cancelable && i.preventDefault();
2379
2370
  }
2380
- function Ue(i, t, e, n, r, o, s, a) {
2381
- var l, d = i[ft], u = d.options.onMove, c;
2382
- return window.CustomEvent && !Mt && !Me ? l = new CustomEvent("move", {
2371
+ function Be(i, t, e, n, r, o, s, a) {
2372
+ var l, d = i[ft], c = d.options.onMove, u;
2373
+ return window.CustomEvent && !Lt && !Le ? l = new CustomEvent("move", {
2383
2374
  bubbles: !0,
2384
2375
  cancelable: !0
2385
- }) : (l = document.createEvent("Event"), l.initEvent("move", !0, !0)), l.to = t, l.from = i, l.dragged = e, l.draggedRect = n, l.related = r || t, l.relatedRect = o || W(t), l.willInsertAfter = a, l.originalEvent = s, i.dispatchEvent(l), u && (c = u.call(d, l, s)), c;
2376
+ }) : (l = document.createEvent("Event"), l.initEvent("move", !0, !0)), l.to = t, l.from = i, l.dragged = e, l.draggedRect = n, l.related = r || t, l.relatedRect = o || Y(t), l.willInsertAfter = a, l.originalEvent = s, i.dispatchEvent(l), c && (u = c.call(d, l, s)), u;
2386
2377
  }
2387
2378
  function Ui(i) {
2388
2379
  i.draggable = !1;
2389
2380
  }
2390
2381
  function Ls() {
2391
- Yi = !1;
2382
+ Wi = !1;
2392
2383
  }
2393
2384
  function Ms(i, t, e) {
2394
- var n = W(ue(e.el, 0, e.options, !0)), r = wr(e.el, e.options, E), o = 10;
2385
+ var n = Y(ce(e.el, 0, e.options, !0)), r = pr(e.el, e.options, $), o = 10;
2395
2386
  return t ? i.clientX < r.left - o || i.clientY < n.top && i.clientX < n.right : i.clientY < r.top - o || i.clientY < n.bottom && i.clientX < n.left;
2396
2387
  }
2397
2388
  function Is(i, t, e) {
2398
- var n = W(hn(e.el, e.options.draggable)), r = wr(e.el, e.options, E), o = 10;
2389
+ var n = Y(un(e.el, e.options.draggable)), r = pr(e.el, e.options, $), o = 10;
2399
2390
  return t ? i.clientX > r.right + o || i.clientY > n.bottom && i.clientX > n.left : i.clientY > r.bottom + o || i.clientX > n.right && i.clientY > n.top;
2400
2391
  }
2401
- function Ns(i, t, e, n, r, o, s, a) {
2402
- var l = n ? i.clientY : i.clientX, d = n ? e.height : e.width, u = n ? e.top : e.left, c = n ? e.bottom : e.right, p = !1;
2392
+ function Hs(i, t, e, n, r, o, s, a) {
2393
+ var l = n ? i.clientY : i.clientX, d = n ? e.height : e.width, c = n ? e.top : e.left, u = n ? e.bottom : e.right, p = !1;
2403
2394
  if (!s) {
2404
- if (a && qe < d * r) {
2405
- if (!Ae && (Se === 1 ? l > u + d * o / 2 : l < c - d * o / 2) && (Ae = !0), Ae)
2395
+ if (a && Ze < d * r) {
2396
+ if (!Ae && (Se === 1 ? l > c + d * o / 2 : l < u - d * o / 2) && (Ae = !0), Ae)
2406
2397
  p = !0;
2407
- else if (Se === 1 ? l < u + qe : l > c - qe)
2398
+ else if (Se === 1 ? l < c + Ze : l > u - Ze)
2408
2399
  return -Se;
2409
- } else if (l > u + d * (1 - r) / 2 && l < c - d * (1 - r) / 2)
2410
- return Hs(t);
2400
+ } else if (l > c + d * (1 - r) / 2 && l < u - d * (1 - r) / 2)
2401
+ return Ns(t);
2411
2402
  }
2412
- return p = p || s, p && (l < u + d * o / 2 || l > c - d * o / 2) ? l > u + d / 2 ? 1 : -1 : 0;
2403
+ return p = p || s, p && (l < c + d * o / 2 || l > u - d * o / 2) ? l > c + d / 2 ? 1 : -1 : 0;
2413
2404
  }
2414
- function Hs(i) {
2405
+ function Ns(i) {
2415
2406
  return bt(h) < bt(i) ? 1 : -1;
2416
2407
  }
2417
2408
  function Vs(i) {
@@ -2420,39 +2411,39 @@ function Vs(i) {
2420
2411
  return n.toString(36);
2421
2412
  }
2422
2413
  function ks(i) {
2423
- ii.length = 0;
2414
+ ei.length = 0;
2424
2415
  for (var t = i.getElementsByTagName("input"), e = t.length; e--; ) {
2425
2416
  var n = t[e];
2426
- n.checked && ii.push(n);
2417
+ n.checked && ei.push(n);
2427
2418
  }
2428
2419
  }
2429
- function Xe(i) {
2420
+ function qe(i) {
2430
2421
  return setTimeout(i, 0);
2431
2422
  }
2432
- function Wi(i) {
2423
+ function Yi(i) {
2433
2424
  return clearTimeout(i);
2434
2425
  }
2435
- Ci && T(document, "touchmove", function(i) {
2436
- (w.active || oe) && i.cancelable && i.preventDefault();
2426
+ _i && T(document, "touchmove", function(i) {
2427
+ (w.active || re) && i.cancelable && i.preventDefault();
2437
2428
  });
2438
2429
  w.utils = {
2439
2430
  on: T,
2440
- off: _,
2431
+ off: C,
2441
2432
  css: v,
2442
- find: mr,
2433
+ find: dr,
2443
2434
  is: function(t, e) {
2444
- return !!Et(t, e, t, !1);
2435
+ return !!$t(t, e, t, !1);
2445
2436
  },
2446
2437
  extend: xs,
2447
- throttle: yr,
2448
- closest: Et,
2438
+ throttle: ur,
2439
+ closest: $t,
2449
2440
  toggleClass: mt,
2450
- clone: vr,
2441
+ clone: hr,
2451
2442
  index: bt,
2452
- nextTick: Xe,
2453
- cancelNextTick: Wi,
2454
- detectDirection: Er,
2455
- getChild: ue,
2443
+ nextTick: qe,
2444
+ cancelNextTick: Yi,
2445
+ detectDirection: gr,
2446
+ getChild: ce,
2456
2447
  expando: ft
2457
2448
  };
2458
2449
  w.get = function(i) {
@@ -2464,14 +2455,14 @@ w.mount = function() {
2464
2455
  t[0].constructor === Array && (t = t[0]), t.forEach(function(n) {
2465
2456
  if (!n.prototype || !n.prototype.constructor)
2466
2457
  throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));
2467
- n.utils && (w.utils = At(At({}, w.utils), n.utils)), Ie.mount(n);
2458
+ n.utils && (w.utils = At(At({}, w.utils), n.utils)), Me.mount(n);
2468
2459
  });
2469
2460
  };
2470
2461
  w.create = function(i, t) {
2471
2462
  return new w(i, t);
2472
2463
  };
2473
2464
  w.version = vs;
2474
- var Y = [], ye, Gi, Ji = !1, Fi, ji, ni, be;
2465
+ var W = [], ye, Gi, Ji = !1, Fi, ji, ii, be;
2475
2466
  function Bs() {
2476
2467
  function i() {
2477
2468
  this.defaults = {
@@ -2494,81 +2485,81 @@ function Bs() {
2494
2485
  !this.options.dragOverBubble && !n.rootEl && this._handleAutoScroll(n);
2495
2486
  },
2496
2487
  drop: function() {
2497
- this.sortable.nativeDraggable ? _(document, "dragover", this._handleAutoScroll) : (_(document, "pointermove", this._handleFallbackAutoScroll), _(document, "touchmove", this._handleFallbackAutoScroll), _(document, "mousemove", this._handleFallbackAutoScroll)), kn(), Ye(), Es();
2488
+ this.sortable.nativeDraggable ? C(document, "dragover", this._handleAutoScroll) : (C(document, "pointermove", this._handleFallbackAutoScroll), C(document, "touchmove", this._handleFallbackAutoScroll), C(document, "mousemove", this._handleFallbackAutoScroll)), Nn(), Xe(), $s();
2498
2489
  },
2499
2490
  nulling: function() {
2500
- ni = Gi = ye = Ji = be = Fi = ji = null, Y.length = 0;
2491
+ ii = Gi = ye = Ji = be = Fi = ji = null, W.length = 0;
2501
2492
  },
2502
2493
  _handleFallbackAutoScroll: function(e) {
2503
2494
  this._handleAutoScroll(e, !0);
2504
2495
  },
2505
2496
  _handleAutoScroll: function(e, n) {
2506
2497
  var r = this, o = (e.touches ? e.touches[0] : e).clientX, s = (e.touches ? e.touches[0] : e).clientY, a = document.elementFromPoint(o, s);
2507
- if (ni = e, n || this.options.forceAutoScrollFallback || Me || Mt || xe) {
2498
+ if (ii = e, n || this.options.forceAutoScrollFallback || Le || Lt || xe) {
2508
2499
  zi(e, this.options, a, n);
2509
2500
  var l = Bt(a, !0);
2510
- Ji && (!be || o !== Fi || s !== ji) && (be && kn(), be = setInterval(function() {
2501
+ Ji && (!be || o !== Fi || s !== ji) && (be && Nn(), be = setInterval(function() {
2511
2502
  var d = Bt(document.elementFromPoint(o, s), !0);
2512
- d !== l && (l = d, Ye()), zi(e, r.options, d, n);
2503
+ d !== l && (l = d, Xe()), zi(e, r.options, d, n);
2513
2504
  }, 10), Fi = o, ji = s);
2514
2505
  } else {
2515
2506
  if (!this.options.bubbleScroll || Bt(a, !0) === St()) {
2516
- Ye();
2507
+ Xe();
2517
2508
  return;
2518
2509
  }
2519
2510
  zi(e, this.options, Bt(a, !1), !1);
2520
2511
  }
2521
2512
  }
2522
- }, Lt(i, {
2513
+ }, Rt(i, {
2523
2514
  pluginName: "scroll",
2524
2515
  initializeByDefault: !0
2525
2516
  });
2526
2517
  }
2527
- function Ye() {
2528
- Y.forEach(function(i) {
2518
+ function Xe() {
2519
+ W.forEach(function(i) {
2529
2520
  clearInterval(i.pid);
2530
- }), Y = [];
2521
+ }), W = [];
2531
2522
  }
2532
- function kn() {
2523
+ function Nn() {
2533
2524
  clearInterval(be);
2534
2525
  }
2535
- var zi = yr(function(i, t, e, n) {
2526
+ var zi = ur(function(i, t, e, n) {
2536
2527
  if (t.scroll) {
2537
- var r = (i.touches ? i.touches[0] : i).clientX, o = (i.touches ? i.touches[0] : i).clientY, s = t.scrollSensitivity, a = t.scrollSpeed, l = St(), d = !1, u;
2538
- Gi !== e && (Gi = e, Ye(), ye = t.scroll, u = t.scrollFn, ye === !0 && (ye = Bt(e, !0)));
2539
- var c = 0, p = ye;
2528
+ var r = (i.touches ? i.touches[0] : i).clientX, o = (i.touches ? i.touches[0] : i).clientY, s = t.scrollSensitivity, a = t.scrollSpeed, l = St(), d = !1, c;
2529
+ Gi !== e && (Gi = e, Xe(), ye = t.scroll, c = t.scrollFn, ye === !0 && (ye = Bt(e, !0)));
2530
+ var u = 0, p = ye;
2540
2531
  do {
2541
- var f = p, g = W(f), b = g.top, N = g.bottom, J = g.left, F = g.right, st = g.width, K = g.height, $ = void 0, m = void 0, C = f.scrollWidth, M = f.scrollHeight, R = v(f), q = f.scrollLeft, X = f.scrollTop;
2542
- f === l ? ($ = st < C && (R.overflowX === "auto" || R.overflowX === "scroll" || R.overflowX === "visible"), m = K < M && (R.overflowY === "auto" || R.overflowY === "scroll" || R.overflowY === "visible")) : ($ = st < C && (R.overflowX === "auto" || R.overflowX === "scroll"), m = K < M && (R.overflowY === "auto" || R.overflowY === "scroll"));
2543
- var H = $ && (Math.abs(F - r) <= s && q + st < C) - (Math.abs(J - r) <= s && !!q), L = m && (Math.abs(N - o) <= s && X + K < M) - (Math.abs(b - o) <= s && !!X);
2544
- if (!Y[c])
2545
- for (var Z = 0; Z <= c; Z++)
2546
- Y[Z] || (Y[Z] = {});
2547
- (Y[c].vx != H || Y[c].vy != L || Y[c].el !== f) && (Y[c].el = f, Y[c].vx = H, Y[c].vy = L, clearInterval(Y[c].pid), (H != 0 || L != 0) && (d = !0, Y[c].pid = setInterval((function() {
2548
- n && this.layer === 0 && w.active._onTouchMove(ni);
2549
- var dt = Y[this.layer].vy ? Y[this.layer].vy * a : 0, tt = Y[this.layer].vx ? Y[this.layer].vx * a : 0;
2550
- typeof u == "function" && u.call(w.dragged.parentNode[ft], tt, dt, i, ni, Y[this.layer].el) !== "continue" || br(Y[this.layer].el, tt, dt);
2532
+ var f = p, g = Y(f), b = g.top, H = g.bottom, J = g.left, F = g.right, st = g.width, K = g.height, E = void 0, m = void 0, _ = f.scrollWidth, M = f.scrollHeight, R = v(f), q = f.scrollLeft, X = f.scrollTop;
2533
+ f === l ? (E = st < _ && (R.overflowX === "auto" || R.overflowX === "scroll" || R.overflowX === "visible"), m = K < M && (R.overflowY === "auto" || R.overflowY === "scroll" || R.overflowY === "visible")) : (E = st < _ && (R.overflowX === "auto" || R.overflowX === "scroll"), m = K < M && (R.overflowY === "auto" || R.overflowY === "scroll"));
2534
+ var N = E && (Math.abs(F - r) <= s && q + st < _) - (Math.abs(J - r) <= s && !!q), L = m && (Math.abs(H - o) <= s && X + K < M) - (Math.abs(b - o) <= s && !!X);
2535
+ if (!W[u])
2536
+ for (var Z = 0; Z <= u; Z++)
2537
+ W[Z] || (W[Z] = {});
2538
+ (W[u].vx != N || W[u].vy != L || W[u].el !== f) && (W[u].el = f, W[u].vx = N, W[u].vy = L, clearInterval(W[u].pid), (N != 0 || L != 0) && (d = !0, W[u].pid = setInterval((function() {
2539
+ n && this.layer === 0 && w.active._onTouchMove(ii);
2540
+ var dt = W[this.layer].vy ? W[this.layer].vy * a : 0, tt = W[this.layer].vx ? W[this.layer].vx * a : 0;
2541
+ typeof c == "function" && c.call(w.dragged.parentNode[ft], tt, dt, i, ii, W[this.layer].el) !== "continue" || cr(W[this.layer].el, tt, dt);
2551
2542
  }).bind({
2552
- layer: c
2553
- }), 24))), c++;
2543
+ layer: u
2544
+ }), 24))), u++;
2554
2545
  } while (t.bubbleScroll && p !== l && (p = Bt(p, !1)));
2555
2546
  Ji = d;
2556
2547
  }
2557
- }, 30), Cr = function(t) {
2548
+ }, 30), vr = function(t) {
2558
2549
  var e = t.originalEvent, n = t.putSortable, r = t.dragEl, o = t.activeSortable, s = t.dispatchSortableEvent, a = t.hideGhostForTarget, l = t.unhideGhostForTarget;
2559
2550
  if (e) {
2560
2551
  var d = n || o;
2561
2552
  a();
2562
- var u = e.changedTouches && e.changedTouches.length ? e.changedTouches[0] : e, c = document.elementFromPoint(u.clientX, u.clientY);
2563
- l(), d && !d.el.contains(c) && (s("spill"), this.onSpill({
2553
+ var c = e.changedTouches && e.changedTouches.length ? e.changedTouches[0] : e, u = document.elementFromPoint(c.clientX, c.clientY);
2554
+ l(), d && !d.el.contains(u) && (s("spill"), this.onSpill({
2564
2555
  dragEl: r,
2565
2556
  putSortable: n
2566
2557
  }));
2567
2558
  }
2568
2559
  };
2569
- function pn() {
2560
+ function cn() {
2570
2561
  }
2571
- pn.prototype = {
2562
+ cn.prototype = {
2572
2563
  startIndex: null,
2573
2564
  dragStart: function(t) {
2574
2565
  var e = t.oldDraggableIndex;
@@ -2577,28 +2568,28 @@ pn.prototype = {
2577
2568
  onSpill: function(t) {
2578
2569
  var e = t.dragEl, n = t.putSortable;
2579
2570
  this.sortable.captureAnimationState(), n && n.captureAnimationState();
2580
- var r = ue(this.sortable.el, this.startIndex, this.options);
2571
+ var r = ce(this.sortable.el, this.startIndex, this.options);
2581
2572
  r ? this.sortable.el.insertBefore(e, r) : this.sortable.el.appendChild(e), this.sortable.animateAll(), n && n.animateAll();
2582
2573
  },
2583
- drop: Cr
2574
+ drop: vr
2584
2575
  };
2585
- Lt(pn, {
2576
+ Rt(cn, {
2586
2577
  pluginName: "revertOnSpill"
2587
2578
  });
2588
- function fn() {
2579
+ function hn() {
2589
2580
  }
2590
- fn.prototype = {
2581
+ hn.prototype = {
2591
2582
  onSpill: function(t) {
2592
2583
  var e = t.dragEl, n = t.putSortable, r = n || this.sortable;
2593
2584
  r.captureAnimationState(), e.parentNode && e.parentNode.removeChild(e), r.animateAll();
2594
2585
  },
2595
- drop: Cr
2586
+ drop: vr
2596
2587
  };
2597
- Lt(fn, {
2588
+ Rt(hn, {
2598
2589
  pluginName: "removeOnSpill"
2599
2590
  });
2600
2591
  w.mount(new Bs());
2601
- w.mount(fn, pn);
2592
+ w.mount(hn, cn);
2602
2593
  const Us = (i) => {
2603
2594
  const t = i.item;
2604
2595
  let e = Array.prototype.slice.call(t.parentNode.childNodes);
@@ -2613,18 +2604,18 @@ const Us = (i) => {
2613
2604
  const l = n.getArray(), d = (
2614
2605
  /** @type {Element & {layer: import("ol/layer").Layer}} */
2615
2606
  i.item.querySelector("eox-layercontrol-layer").layer.get(r)
2616
- ), u = l.find((b) => b.get(r) === d), c = o.dataset.layer, p = l.find(
2617
- (b) => b.get(r) == c
2607
+ ), c = l.find((b) => b.get(r) === d), u = o.dataset.layer, p = l.find(
2608
+ (b) => b.get(r) == u
2618
2609
  );
2619
2610
  let f, g;
2620
2611
  for (f = 0; f < l.length; f++)
2621
- if (l[f] == u) {
2612
+ if (l[f] == c) {
2622
2613
  n.removeAt(f);
2623
2614
  break;
2624
2615
  }
2625
2616
  for (g = 0; g < l.length; g++)
2626
2617
  if (l[g] === p) {
2627
- f > g ? n.insertAt(g, u) : n.insertAt(g + 1, u);
2618
+ f > g ? n.insertAt(g, c) : n.insertAt(g + 1, c);
2628
2619
  break;
2629
2620
  }
2630
2621
  t.requestUpdate();
@@ -2652,7 +2643,7 @@ function zs(i, t, e, n) {
2652
2643
  s.get(t) || (s.set(t, a), o = !0), s.get(e) || (s.set(e, `layer ${a}`), o = !0), o && n.requestUpdate();
2653
2644
  });
2654
2645
  }
2655
- function gn(i, t, e) {
2646
+ function pn(i, t, e) {
2656
2647
  let n = [];
2657
2648
  const r = (o, s, a) => {
2658
2649
  n = [
@@ -2676,11 +2667,11 @@ function gn(i, t, e) {
2676
2667
  }
2677
2668
  function Zs(i, t, e) {
2678
2669
  if (!i || !t) return !1;
2679
- if (!_r(i, e)) return !0;
2670
+ if (!wr(i, e)) return !0;
2680
2671
  const n = i.get("minZoom"), r = i.get("maxZoom"), o = t.getView().getZoom();
2681
2672
  return o > n && o < r;
2682
2673
  }
2683
- function _r(i, t) {
2674
+ function wr(i, t) {
2684
2675
  const e = i.get("minZoom"), n = i.get("maxZoom");
2685
2676
  return !!(t && (e !== -1 / 0 || n !== 1 / 0));
2686
2677
  }
@@ -2697,32 +2688,32 @@ const Xs = (i, t, e) => {
2697
2688
  (...r) => gs(n(...r), i)
2698
2689
  ), e.layer.getSource().setKey(/* @__PURE__ */ new Date())), n;
2699
2690
  };
2700
- function Ys(i, t, e) {
2691
+ function Ws(i, t, e) {
2701
2692
  const n = "updateStyleVariables" in t, r = "setStyle" in t, o = n ? (
2702
2693
  /** @type {import('ol/layer/WebGLTile').default} */
2703
2694
  t.style_
2704
2695
  ) : e.style;
2705
2696
  let s = o == null ? void 0 : o.variables;
2706
2697
  if (s) {
2707
- const a = mn(i);
2698
+ const a = fn(i);
2708
2699
  if (o.variables = {
2709
2700
  ...s,
2710
2701
  ...a
2711
2702
  }, n)
2712
2703
  t.updateStyleVariables(a);
2713
2704
  else if (r) {
2714
- const l = Ws(o);
2705
+ const l = Ys(o);
2715
2706
  t.setStyle(
2716
2707
  l
2717
2708
  );
2718
2709
  }
2719
2710
  }
2720
2711
  }
2721
- const mn = (i) => {
2712
+ const fn = (i) => {
2722
2713
  const t = {};
2723
2714
  for (const e in i)
2724
2715
  if (typeof i[e] == "object" && i[e] !== null) {
2725
- const n = mn(
2716
+ const n = fn(
2726
2717
  /** @type {Record<string,any>} */
2727
2718
  i[e]
2728
2719
  );
@@ -2732,7 +2723,7 @@ const mn = (i) => {
2732
2723
  t[e] = i == null ? void 0 : i[e];
2733
2724
  return t;
2734
2725
  };
2735
- function Ws(i) {
2726
+ function Ys(i) {
2736
2727
  let t = i;
2737
2728
  if ("variables" in i) {
2738
2729
  let e = JSON.stringify(i);
@@ -2749,7 +2740,7 @@ function Ws(i) {
2749
2740
  const Gs = (i, t) => {
2750
2741
  if (!i)
2751
2742
  return;
2752
- const e = mn(t);
2743
+ const e = fn(t);
2753
2744
  let n, r;
2754
2745
  return Array.isArray(i) ? r = structuredClone(i) : r = [structuredClone(i)], n = r.filter((o) => {
2755
2746
  if (!("boundTo" in o))
@@ -2766,7 +2757,7 @@ const Gs = (i, t) => {
2766
2757
  );
2767
2758
  });
2768
2759
  };
2769
- function Tr(i, t) {
2760
+ function xr(i, t) {
2770
2761
  var n;
2771
2762
  let e = {};
2772
2763
  for (const r in i) {
@@ -2774,7 +2765,7 @@ function Tr(i, t) {
2774
2765
  if (o && o !== "object")
2775
2766
  e[r] = o === "number" ? Number(t[r]) : t[r];
2776
2767
  else if (typeof i[r] == "object" && ((n = i[r]) != null && n.properties)) {
2777
- const s = Tr(
2768
+ const s = xr(
2778
2769
  i[r].properties,
2779
2770
  t
2780
2771
  );
@@ -2793,10 +2784,10 @@ function Js(i, t) {
2793
2784
  if ((t.type === "style" || t.style) && n)
2794
2785
  e = n;
2795
2786
  else if ((l = (a = i.getSource()) == null ? void 0 : a.getTileUrlFunction) != null && l.call(a)) {
2796
- const u = new URL(i.getSource().getTileUrlFunction()([0, 0, 0]));
2797
- e = Object.fromEntries(u.searchParams.entries());
2787
+ const c = new URL(i.getSource().getTileUrlFunction()([0, 0, 0]));
2788
+ e = Object.fromEntries(c.searchParams.entries());
2798
2789
  } else return null;
2799
- const r = Tr(
2790
+ const r = xr(
2800
2791
  ((d = t.schema) == null ? void 0 : d.properties) || t.schema,
2801
2792
  e
2802
2793
  );
@@ -2828,7 +2819,7 @@ const Ks = (i, t) => i == null ? void 0 : i.filter(
2828
2819
  <span class="button sort-icon icon drag-handle">
2829
2820
  ${i ? "═" : P}
2830
2821
  </span>
2831
- `, Dr = (i) => {
2822
+ `, $r = (i) => {
2832
2823
  var e;
2833
2824
  const t = ["layerControlHide", "layerControlOptional"];
2834
2825
  return (e = i == null ? void 0 : i.getArray()) == null ? void 0 : e.filter((n) => t.every((r) => !n.get(r)));
@@ -2838,9 +2829,9 @@ const Ks = (i, t) => i == null ? void 0 : i.filter(
2838
2829
  * Copyright 2020 Google LLC
2839
2830
  * SPDX-License-Identifier: BSD-3-Clause
2840
2831
  */
2841
- const Pr = an(class extends ln {
2832
+ const Er = on(class extends sn {
2842
2833
  constructor(i) {
2843
- if (super(i), i.type !== Nt.PROPERTY && i.type !== Nt.ATTRIBUTE && i.type !== Nt.BOOLEAN_ATTRIBUTE) throw Error("The `live` directive is not allowed on child or event bindings");
2834
+ if (super(i), i.type !== It.PROPERTY && i.type !== It.ATTRIBUTE && i.type !== It.BOOLEAN_ATTRIBUTE) throw Error("The `live` directive is not allowed on child or event bindings");
2844
2835
  if (!yo(i)) throw Error("`live` bindings can only contain a single expression");
2845
2836
  }
2846
2837
  render(i) {
@@ -2849,12 +2840,12 @@ const Pr = an(class extends ln {
2849
2840
  update(i, [t]) {
2850
2841
  if (t === wt || t === P) return t;
2851
2842
  const e = i.element, n = i.name;
2852
- if (i.type === Nt.PROPERTY) {
2843
+ if (i.type === It.PROPERTY) {
2853
2844
  if (t === e[n]) return wt;
2854
- } else if (i.type === Nt.BOOLEAN_ATTRIBUTE) {
2845
+ } else if (i.type === It.BOOLEAN_ATTRIBUTE) {
2855
2846
  if (!!t === e.hasAttribute(n)) return wt;
2856
- } else if (i.type === Nt.ATTRIBUTE && e.getAttribute(n) === t + "") return wt;
2857
- return rr(i), t;
2847
+ } else if (i.type === It.ATTRIBUTE && e.getAttribute(n) === t + "") return wt;
2848
+ return Jn(i), t;
2858
2849
  }
2859
2850
  });
2860
2851
  /**
@@ -2862,9 +2853,9 @@ const Pr = an(class extends ln {
2862
2853
  * Copyright 2017 Google LLC
2863
2854
  * SPDX-License-Identifier: BSD-3-Clause
2864
2855
  */
2865
- class Ki extends ln {
2856
+ class Ki extends sn {
2866
2857
  constructor(t) {
2867
- if (super(t), this.it = P, t.type !== Nt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
2858
+ if (super(t), this.it = P, t.type !== It.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
2868
2859
  }
2869
2860
  render(t) {
2870
2861
  if (t === P || t == null) return this._t = void 0, this.it = t;
@@ -2877,7 +2868,7 @@ class Ki extends ln {
2877
2868
  }
2878
2869
  }
2879
2870
  Ki.directiveName = "unsafeHTML", Ki.resultType = 1;
2880
- const na = an(Ki);
2871
+ const na = on(Ki);
2881
2872
  /**
2882
2873
  * @license
2883
2874
  * Copyright 2021 Google LLC
@@ -2890,76 +2881,76 @@ function* We(i, t) {
2890
2881
  }
2891
2882
  }
2892
2883
  var Ut = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2893
- function Or(i) {
2884
+ function Sr(i) {
2894
2885
  return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
2895
2886
  }
2896
- var Zi, Bn;
2887
+ var Zi, Vn;
2897
2888
  function ra() {
2898
- if (Bn) return Zi;
2899
- Bn = 1;
2900
- var i = "Expected a function", t = NaN, e = "[object Symbol]", n = /^\s+|\s+$/g, r = /^[-+]0x[0-9a-f]+$/i, o = /^0b[01]+$/i, s = /^0o[0-7]+$/i, a = parseInt, l = typeof Ut == "object" && Ut && Ut.Object === Object && Ut, d = typeof self == "object" && self && self.Object === Object && self, u = l || d || Function("return this")(), c = Object.prototype, p = c.toString, f = Math.max, g = Math.min, b = function() {
2901
- return u.Date.now();
2889
+ if (Vn) return Zi;
2890
+ Vn = 1;
2891
+ var i = "Expected a function", t = NaN, e = "[object Symbol]", n = /^\s+|\s+$/g, r = /^[-+]0x[0-9a-f]+$/i, o = /^0b[01]+$/i, s = /^0o[0-7]+$/i, a = parseInt, l = typeof Ut == "object" && Ut && Ut.Object === Object && Ut, d = typeof self == "object" && self && self.Object === Object && self, c = l || d || Function("return this")(), u = Object.prototype, p = u.toString, f = Math.max, g = Math.min, b = function() {
2892
+ return c.Date.now();
2902
2893
  };
2903
- function N(m, C, M) {
2904
- var R, q, X, H, L, Z, dt = 0, tt = !1, ct = !1, gt = !0;
2894
+ function H(m, _, M) {
2895
+ var R, q, X, N, L, Z, dt = 0, tt = !1, ut = !1, gt = !0;
2905
2896
  if (typeof m != "function")
2906
2897
  throw new TypeError(i);
2907
- C = $(C) || 0, F(M) && (tt = !!M.leading, ct = "maxWait" in M, X = ct ? f($(M.maxWait) || 0, C) : X, gt = "trailing" in M ? !!M.trailing : gt);
2898
+ _ = E(_) || 0, F(M) && (tt = !!M.leading, ut = "maxWait" in M, X = ut ? f(E(M.maxWait) || 0, _) : X, gt = "trailing" in M ? !!M.trailing : gt);
2908
2899
  function zt(I) {
2909
- var ut = R, It = q;
2910
- return R = q = void 0, dt = I, H = m.apply(It, ut), H;
2900
+ var ct = R, Mt = q;
2901
+ return R = q = void 0, dt = I, N = m.apply(Mt, ct), N;
2911
2902
  }
2912
- function Ne(I) {
2913
- return dt = I, L = setTimeout(qt, C), tt ? zt(I) : H;
2903
+ function Ie(I) {
2904
+ return dt = I, L = setTimeout(qt, _), tt ? zt(I) : N;
2914
2905
  }
2915
2906
  function Zt(I) {
2916
- var ut = I - Z, It = I - dt, yn = C - ut;
2917
- return ct ? g(yn, X - It) : yn;
2907
+ var ct = I - Z, Mt = I - dt, gn = _ - ct;
2908
+ return ut ? g(gn, X - Mt) : gn;
2918
2909
  }
2919
- function Ct(I) {
2920
- var ut = I - Z, It = I - dt;
2921
- return Z === void 0 || ut >= C || ut < 0 || ct && It >= X;
2910
+ function _t(I) {
2911
+ var ct = I - Z, Mt = I - dt;
2912
+ return Z === void 0 || ct >= _ || ct < 0 || ut && Mt >= X;
2922
2913
  }
2923
2914
  function qt() {
2924
2915
  var I = b();
2925
- if (Ct(I))
2916
+ if (_t(I))
2926
2917
  return He(I);
2927
2918
  L = setTimeout(qt, Zt(I));
2928
2919
  }
2929
2920
  function He(I) {
2930
- return L = void 0, gt && R ? zt(I) : (R = q = void 0, H);
2921
+ return L = void 0, gt && R ? zt(I) : (R = q = void 0, N);
2931
2922
  }
2932
- function _i() {
2923
+ function Ci() {
2933
2924
  L !== void 0 && clearTimeout(L), dt = 0, R = Z = q = L = void 0;
2934
2925
  }
2935
2926
  function pe() {
2936
- return L === void 0 ? H : He(b());
2927
+ return L === void 0 ? N : He(b());
2937
2928
  }
2938
2929
  function k() {
2939
- var I = b(), ut = Ct(I);
2940
- if (R = arguments, q = this, Z = I, ut) {
2930
+ var I = b(), ct = _t(I);
2931
+ if (R = arguments, q = this, Z = I, ct) {
2941
2932
  if (L === void 0)
2942
- return Ne(Z);
2943
- if (ct)
2944
- return L = setTimeout(qt, C), zt(Z);
2933
+ return Ie(Z);
2934
+ if (ut)
2935
+ return L = setTimeout(qt, _), zt(Z);
2945
2936
  }
2946
- return L === void 0 && (L = setTimeout(qt, C)), H;
2937
+ return L === void 0 && (L = setTimeout(qt, _)), N;
2947
2938
  }
2948
- return k.cancel = _i, k.flush = pe, k;
2939
+ return k.cancel = Ci, k.flush = pe, k;
2949
2940
  }
2950
- function J(m, C, M) {
2941
+ function J(m, _, M) {
2951
2942
  var R = !0, q = !0;
2952
2943
  if (typeof m != "function")
2953
2944
  throw new TypeError(i);
2954
- return F(M) && (R = "leading" in M ? !!M.leading : R, q = "trailing" in M ? !!M.trailing : q), N(m, C, {
2945
+ return F(M) && (R = "leading" in M ? !!M.leading : R, q = "trailing" in M ? !!M.trailing : q), H(m, _, {
2955
2946
  leading: R,
2956
- maxWait: C,
2947
+ maxWait: _,
2957
2948
  trailing: q
2958
2949
  });
2959
2950
  }
2960
2951
  function F(m) {
2961
- var C = typeof m;
2962
- return !!m && (C == "object" || C == "function");
2952
+ var _ = typeof m;
2953
+ return !!m && (_ == "object" || _ == "function");
2963
2954
  }
2964
2955
  function st(m) {
2965
2956
  return !!m && typeof m == "object";
@@ -2967,14 +2958,14 @@ function ra() {
2967
2958
  function K(m) {
2968
2959
  return typeof m == "symbol" || st(m) && p.call(m) == e;
2969
2960
  }
2970
- function $(m) {
2961
+ function E(m) {
2971
2962
  if (typeof m == "number")
2972
2963
  return m;
2973
2964
  if (K(m))
2974
2965
  return t;
2975
2966
  if (F(m)) {
2976
- var C = typeof m.valueOf == "function" ? m.valueOf() : m;
2977
- m = F(C) ? C + "" : C;
2967
+ var _ = typeof m.valueOf == "function" ? m.valueOf() : m;
2968
+ m = F(_) ? _ + "" : _;
2978
2969
  }
2979
2970
  if (typeof m != "string")
2980
2971
  return m === 0 ? m : +m;
@@ -2985,20 +2976,20 @@ function ra() {
2985
2976
  return Zi = J, Zi;
2986
2977
  }
2987
2978
  var oa = ra();
2988
- const Un = /* @__PURE__ */ Or(oa);
2979
+ const kn = /* @__PURE__ */ Sr(oa);
2989
2980
  /**
2990
2981
  * @license
2991
2982
  * Copyright 2018 Google LLC
2992
2983
  * SPDX-License-Identifier: BSD-3-Clause
2993
2984
  */
2994
- const Fe = (i) => i ?? P;
2995
- var vt, ri, oi;
2996
- class Rr extends lt {
2985
+ const Ue = (i) => i ?? P;
2986
+ var vt, ni, ri;
2987
+ class Ar extends lt {
2997
2988
  constructor() {
2998
2989
  super();
2999
2990
  /** @type {(LegendConfig & {id:string})[]}} */
3000
2991
  D(this, vt, []);
3001
- D(this, ri, Xn`
2992
+ D(this, ni, Zn`
3002
2993
  .separator {
3003
2994
  margin: 0 0 24px 0;
3004
2995
  }
@@ -3011,7 +3002,7 @@ class Rr extends lt {
3011
3002
  --cle-padding: 0;
3012
3003
  }
3013
3004
  `);
3014
- D(this, oi, "");
3005
+ D(this, ri, "");
3015
3006
  this.unstyled = !1, this.noShadow = !1, this.layer = null;
3016
3007
  }
3017
3008
  get layerLegend() {
@@ -3024,13 +3015,13 @@ class Rr extends lt {
3024
3015
  **/
3025
3016
  set layerLegend(e) {
3026
3017
  var n;
3027
- Array.isArray(e) ? _t(this, vt, e.map((r, o) => {
3018
+ Array.isArray(e) ? Ct(this, vt, e.map((r, o) => {
3028
3019
  var s;
3029
3020
  return {
3030
3021
  id: (((s = this.layer) == null ? void 0 : s.get("id")) ?? "") + o,
3031
3022
  ...r
3032
3023
  };
3033
- })) : _t(this, vt, [
3024
+ })) : Ct(this, vt, [
3034
3025
  {
3035
3026
  id: (((n = this.layer) == null ? void 0 : n.get("id")) ?? "") + 0,
3036
3027
  ...e
@@ -3046,7 +3037,7 @@ class Rr extends lt {
3046
3037
  firstUpdated() {
3047
3038
  this.layerLegend && new ResizeObserver(() => {
3048
3039
  var e;
3049
- _t(this, vt, (e = S(this, vt)) == null ? void 0 : e.map((n) => (this.offsetWidth !== n.width && (n.width = this.offsetWidth), { ...n }))), this.requestUpdate();
3040
+ Ct(this, vt, (e = S(this, vt)) == null ? void 0 : e.map((n) => (this.offsetWidth !== n.width && (n.width = this.offsetWidth), { ...n }))), this.requestUpdate();
3050
3041
  }).observe(this.renderRoot.querySelector(".legend-container"));
3051
3042
  }
3052
3043
  /**
@@ -3057,8 +3048,8 @@ class Rr extends lt {
3057
3048
  "Please import `color-legend-element` in order to use layerLegend"
3058
3049
  ), x`
3059
3050
  <style>
3060
- ${S(this, ri)}
3061
- ${!this.unstyled && S(this, oi)}
3051
+ ${S(this, ni)}
3052
+ ${!this.unstyled && S(this, ri)}
3062
3053
  </style>
3063
3054
  ${G(
3064
3055
  this.layerLegend,
@@ -3070,12 +3061,12 @@ class Rr extends lt {
3070
3061
  <color-legend
3071
3062
  id="${e.id}"
3072
3063
  width=${e.width ?? 325}
3073
- scaleType="${Fe(e.scaleType)}"
3074
- markType="${Fe(e.markType)}"
3075
- titleText="${Fe(e.title)}"
3064
+ scaleType="${Ue(e.scaleType)}"
3065
+ markType="${Ue(e.markType)}"
3066
+ titleText="${Ue(e.title)}"
3076
3067
  .range=${e.range}
3077
3068
  .domain=${e.domain}
3078
- tickFormat="${Fe(e.tickFormat)}"
3069
+ tickFormat="${Ue(e.tickFormat)}"
3079
3070
  .ticks=${e.ticks ?? 5}
3080
3071
  .tickValues=${e.tickValues}
3081
3072
  .marginLeft=${0}
@@ -3091,8 +3082,8 @@ class Rr extends lt {
3091
3082
  `;
3092
3083
  }
3093
3084
  }
3094
- vt = new WeakMap(), ri = new WeakMap(), oi = new WeakMap(), // Define static properties for the component
3095
- j(Rr, "properties", {
3085
+ vt = new WeakMap(), ni = new WeakMap(), ri = new WeakMap(), // Define static properties for the component
3086
+ j(Ar, "properties", {
3096
3087
  unstyled: { type: Boolean },
3097
3088
  noShadow: { type: Boolean },
3098
3089
  layerLegend: { attribute: !1 },
@@ -3100,10 +3091,10 @@ j(Rr, "properties", {
3100
3091
  });
3101
3092
  customElements.define(
3102
3093
  "eox-layercontrol-layer-legend",
3103
- Rr
3094
+ Ar
3104
3095
  );
3105
- var Tt, ce, Pe, Oe, Qi, si, ai;
3106
- class Lr extends lt {
3096
+ var Tt, de, Pe, Oe, Qi, oi, si;
3097
+ class _r extends lt {
3107
3098
  constructor() {
3108
3099
  super();
3109
3100
  D(this, Oe);
@@ -3118,14 +3109,14 @@ class Lr extends lt {
3118
3109
  *
3119
3110
  * @type {{[key: string]: any}}
3120
3111
  */
3121
- D(this, ce, null);
3112
+ D(this, de, null);
3122
3113
  /**
3123
3114
  * Original tile url function, if it exist
3124
3115
  *
3125
3116
  * @type {Function}
3126
3117
  */
3127
3118
  D(this, Pe);
3128
- D(this, si, Xn`
3119
+ D(this, oi, Zn`
3129
3120
  color-legend {
3130
3121
  --cle-background: transparent;
3131
3122
  --cle-font-family: inherit;
@@ -3134,8 +3125,8 @@ class Lr extends lt {
3134
3125
  --cle-letter-spacing-title: inherit;
3135
3126
  }
3136
3127
  `);
3137
- D(this, ai, "");
3138
- this.layer = null, this.unstyled = !1, this.noShadow = !1, this.layerConfig = null, this.throttleDataChange = Un(B(this, Oe, Qi), 1e3);
3128
+ D(this, si, "");
3129
+ this.layer = null, this.unstyled = !1, this.noShadow = !1, this.layerConfig = null, this.throttleDataChange = kn(B(this, Oe, Qi), 1e3);
3139
3130
  }
3140
3131
  /** Decide what type of throttling to do based on layerConfig type
3141
3132
  *
@@ -3144,7 +3135,7 @@ class Lr extends lt {
3144
3135
  updated(e) {
3145
3136
  if (e.has("layerConfig")) {
3146
3137
  const n = this.layerConfig.type === "style" || this.layerConfig.style ? 100 : 1e3;
3147
- this.throttleDataChange = Un(B(this, Oe, Qi), n), this.requestUpdate();
3138
+ this.throttleDataChange = kn(B(this, Oe, Qi), n), this.requestUpdate();
3148
3139
  }
3149
3140
  }
3150
3141
  /**
@@ -3157,7 +3148,7 @@ class Lr extends lt {
3157
3148
  * Renders a JSON form for configuration options of a layer.
3158
3149
  */
3159
3150
  render() {
3160
- _t(this, ce, Js(this.layer, this.layerConfig)), Object.keys(S(this, Tt)).length !== 0 && _t(this, ce, S(this, Tt)), customElements.get("eox-jsonform") || console.error("Please import @eox/jsonform in order to use layerconfig");
3151
+ Ct(this, de, Js(this.layer, this.layerConfig)), Object.keys(S(this, Tt)).length !== 0 && Ct(this, de, S(this, Tt)), customElements.get("eox-jsonform") || console.error("Please import @eox/jsonform in order to use layerconfig");
3161
3152
  const e = {
3162
3153
  disable_edit_json: !0,
3163
3154
  disable_collapse: !0,
@@ -3165,8 +3156,8 @@ class Lr extends lt {
3165
3156
  };
3166
3157
  return x`
3167
3158
  <style>
3168
- ${S(this, si)}
3169
- ${!this.unstyled && S(this, ai)}
3159
+ ${S(this, oi)}
3160
+ ${!this.unstyled && S(this, si)}
3170
3161
  </style>
3171
3162
  ${G(
3172
3163
  this.layerConfig,
@@ -3188,7 +3179,7 @@ class Lr extends lt {
3188
3179
  <!-- Render a JSON form for layer configuration -->
3189
3180
  <eox-jsonform
3190
3181
  .schema=${this.layerConfig.schema}
3191
- .value=${S(this, ce)}
3182
+ .value=${S(this, de)}
3192
3183
  .options=${e}
3193
3184
  @change=${this.throttleDataChange}
3194
3185
  ></eox-jsonform>
@@ -3197,15 +3188,15 @@ class Lr extends lt {
3197
3188
  `;
3198
3189
  }
3199
3190
  }
3200
- Tt = new WeakMap(), ce = new WeakMap(), Pe = new WeakMap(), Oe = new WeakSet(), /**
3191
+ Tt = new WeakMap(), de = new WeakMap(), Pe = new WeakMap(), Oe = new WeakSet(), /**
3201
3192
  * Handles changes in eox-jsonform values.
3202
3193
  *
3203
3194
  * @param {{ detail: { value: string; }; }} e
3204
3195
  */
3205
3196
  Qi = function(e) {
3206
- _t(this, Tt, e.detail), this.layerConfig.type === "style" || this.layerConfig.style ? "setStyle" in this.layer || "updateStyleVariables" in this.layer ? Ys(S(this, Tt), this.layer, this.layerConfig) : console.error(
3197
+ Ct(this, Tt, e.detail), this.layerConfig.type === "style" || this.layerConfig.style ? "setStyle" in this.layer || "updateStyleVariables" in this.layer ? Ws(S(this, Tt), this.layer, this.layerConfig) : console.error(
3207
3198
  `Layer type ${this.layer.get("type") ?? ""} does not support styles configuration`
3208
- ) : _t(this, Pe, Xs(
3199
+ ) : Ct(this, Pe, Xs(
3209
3200
  S(this, Tt),
3210
3201
  S(this, Pe),
3211
3202
  this
@@ -3218,8 +3209,8 @@ Qi = function(e) {
3218
3209
  }
3219
3210
  })
3220
3211
  ), this.requestUpdate();
3221
- }, si = new WeakMap(), ai = new WeakMap(), // Define static properties for the component
3222
- j(Lr, "properties", {
3212
+ }, oi = new WeakMap(), si = new WeakMap(), // Define static properties for the component
3213
+ j(_r, "properties", {
3223
3214
  layer: { attribute: !1 },
3224
3215
  unstyled: { type: Boolean },
3225
3216
  noShadow: { type: Boolean },
@@ -3227,15 +3218,15 @@ j(Lr, "properties", {
3227
3218
  });
3228
3219
  customElements.define(
3229
3220
  "eox-layercontrol-layerconfig",
3230
- Lr
3221
+ _r
3231
3222
  );
3232
- var li, Ir, di, ci;
3233
- class Mr extends lt {
3223
+ var ai, Tr, li, di;
3224
+ class Cr extends lt {
3234
3225
  constructor() {
3235
3226
  super();
3236
- D(this, li);
3227
+ D(this, ai);
3228
+ D(this, li, "");
3237
3229
  D(this, di, "");
3238
- D(this, ci, "");
3239
3230
  this.unstyled = !1, this.noShadow = !1, this.layerDatetime = null, this.layer = null;
3240
3231
  }
3241
3232
  /**
@@ -3252,8 +3243,8 @@ class Mr extends lt {
3252
3243
  "Please import @eox/timecontrol in order to use layerDatetime"
3253
3244
  ), x`
3254
3245
  <style>
3255
- ${S(this, di)}
3256
- ${!this.unstyled && S(this, ci)}
3246
+ ${S(this, li)}
3247
+ ${!this.unstyled && S(this, di)}
3257
3248
  </style>
3258
3249
  ${G(
3259
3250
  this.layerDatetime,
@@ -3270,20 +3261,20 @@ class Mr extends lt {
3270
3261
  .controlProperty=${void 0}
3271
3262
  current-step=${this.layerDatetime.currentStep}
3272
3263
  .displayFormat=${this.layerDatetime.displayFormat}
3273
- @stepchange=${B(this, li, Ir)}
3264
+ @stepchange=${B(this, ai, Tr)}
3274
3265
  ></eox-timecontrol>
3275
3266
  `
3276
3267
  )}
3277
3268
  `;
3278
3269
  }
3279
3270
  }
3280
- li = new WeakSet(), /**
3271
+ ai = new WeakSet(), /**
3281
3272
  * Handles timecontrol Stepchange &
3282
3273
  * triggers `datetime:updated` event on step change
3283
3274
  *
3284
3275
  * @param {CustomEvent<{currentStep:string|number}>} evt
3285
3276
  **/
3286
- Ir = function(e) {
3277
+ Tr = function(e) {
3287
3278
  this.dispatchEvent(
3288
3279
  new CustomEvent("datetime:updated", {
3289
3280
  bubbles: !0,
@@ -3293,8 +3284,8 @@ Ir = function(e) {
3293
3284
  }
3294
3285
  })
3295
3286
  ), this.layerDatetime.currentStep = e.detail.currentStep, this.requestUpdate();
3296
- }, di = new WeakMap(), ci = new WeakMap(), // Define static properties for the component
3297
- j(Mr, "properties", {
3287
+ }, li = new WeakMap(), di = new WeakMap(), // Define static properties for the component
3288
+ j(Cr, "properties", {
3298
3289
  unstyled: { type: Boolean },
3299
3290
  noShadow: { type: Boolean },
3300
3291
  layerDatetime: { attribute: !1 },
@@ -3302,10 +3293,10 @@ j(Mr, "properties", {
3302
3293
  });
3303
3294
  customElements.define(
3304
3295
  "eox-layercontrol-layer-datetime",
3305
- Mr
3296
+ Cr
3306
3297
  );
3307
- var Re, ui, hi;
3308
- class Nr extends lt {
3298
+ var Re, ui, ci;
3299
+ class Dr extends lt {
3309
3300
  constructor() {
3310
3301
  super();
3311
3302
  /** @param {number} index */
@@ -3333,7 +3324,7 @@ class Nr extends lt {
3333
3324
  display: block;
3334
3325
  }
3335
3326
  `);
3336
- D(this, hi, `
3327
+ D(this, ci, `
3337
3328
  .listed label {
3338
3329
  display: flex;
3339
3330
  justify-content: start;
@@ -3389,7 +3380,7 @@ class Nr extends lt {
3389
3380
  return x`
3390
3381
  <style>
3391
3382
  ${S(this, ui)}
3392
- ${!this.unstyled && S(this, hi)}
3383
+ ${!this.unstyled && S(this, ci)}
3393
3384
  </style>
3394
3385
  <div class="${this.toolsAsList ? "listed" : "tabbed"}">
3395
3386
  <!-- Navigation for tabs and actions -->
@@ -3458,8 +3449,8 @@ class Nr extends lt {
3458
3449
  `;
3459
3450
  }
3460
3451
  }
3461
- Re = new WeakMap(), ui = new WeakMap(), hi = new WeakMap(), // Define static properties for the component
3462
- j(Nr, "properties", {
3452
+ Re = new WeakMap(), ui = new WeakMap(), ci = new WeakMap(), // Define static properties for the component
3453
+ j(Dr, "properties", {
3463
3454
  actions: { attribute: !1 },
3464
3455
  selectedTab: { state: !0 },
3465
3456
  tabs: { attribute: !1 },
@@ -3467,10 +3458,10 @@ j(Nr, "properties", {
3467
3458
  noShadow: { type: Boolean },
3468
3459
  toolsAsList: { type: Boolean }
3469
3460
  });
3470
- customElements.define("eox-layercontrol-tools-items", Nr);
3471
- const sa = "button,.button { /* TODO: why does this only work here and not from :root? */ --primary-color: #004170; --primary-color-hover: #004170cc; --error-color: #ff5252; display: inline-flex; position: relative; align-items: center; color: #fff; border-width: 0; outline: none; border-radius: 4px; padding: 16px; height: 36px; cursor: pointer; font-family: inherit; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1.25px; font-weight: 500; box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); transition-property: box-shadow, transform, opacity, background; transition-duration: 0.28s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);}button:hover:not([disabled]):not(.icon),.button:hover:not([disabled]):not(.icon) { box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12); background: var(--primary-color-hover);}button,button:active,.button,.button:active { background: var(--primary-color);}button[disabled],.button[disabled] { opacity: 0.5; cursor: not-allowed;}button.block,.button.block { display: block;}button.outline,.button.outline { background: transparent; box-shadow: none; color: var(--primary-color); outline: 1px solid var(--primary-color);}button.outline:hover,.button.outline:hover { background: transparent;}button.icon,.button.icon { background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 50%; width: 24px; height: 24px; text-indent: -9999px;}button.icon-text,.button.icon-text { text-indent: 26px;}button.icon-text.block,.button.icon-text.block { text-indent: 20px;}button.icon:before,button.icon-text:before,.button.icon:before,.button.icon-text:before { position: absolute; text-indent: 0; line-height: initial;}button.icon-text.block:before,.button.icon-text.block:before { text-indent: -54px;}button.icon:before,.button.icon:before { width: 24px; height: 24px; margin-right: 0;}button.icon-text:before,.button.icon-text:before { width: 18px; height: 18px;}button.small,.button.small { height: 28px; padding: 12.4px; font-size: 0.75rem;}button.smallest.icon,button.smallest.icon::before { height: 16px; width: 16px; padding: 0px;}", aa = `input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}`, Hr = `input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}`, la = ':root,:host { --range-slider-height: 6px; --range-slider-thumb-size: 15px; --range-slider-thumb-border-radius: 50%; --range-slider-color: #004170; --range-slider-track-color: #d7dcdf; --range-slider-track-border-radius: 0;}input[type="range"] { -webkit-appearance: none; border: none; color: var(--range-slider-color); overflow: hidden; padding-left: 0; margin-left: 7px;}/*webkit*/input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: var(--range-slider-thumb-size); height: var(--range-slider-thumb-size); border-radius: var(--range-slider-thumb-border-radius); background: var(--range-slider-color); border: none; box-shadow: none; margin-top: calc( var(--range-slider-height) * 0.5 - var(--range-slider-thumb-size) * 0.5 );}input[type="range"]::-webkit-slider-runnable-track { height: var(--range-slider-height); border: none; border-radius: var(--range-slider-track-border-radius); background: var(--range-slider-track-color); box-shadow: none;}input[type="range"]::-webkit-slider-thumb { cursor: grab; --clip-edges: 4px; --clip-top: calc( (var(--range-slider-thumb-size) - var(--range-slider-height)) * 0.5 ); --clip-bottom: calc(var(--range-slider-thumb-size) - var(--clip-top)); --clip-further: calc(100% + 1px); --box-fill: calc( -100vmax - var(--range-slider-thumb-size, var(--range-slider-thumb-size)) + 1px ) 0 0 100vmax currentColor; background: linear-gradient(currentColor 0 0) scroll no-repeat left center / 50% calc(var(--range-slider-height) + 1px); background-color: currentColor; box-shadow: var(--box-fill); border-radius: var(--range-slider-thumb-size, var(--range-slider-thumb-size)); filter: brightness(100%); clip-path: polygon( 100% -1px, var(--clip-edges) -1px, 0 var(--clip-top), -100vmax var(--clip-top), -100vmax var(--clip-bottom), 0 var(--clip-bottom), var(--clip-edges) 100%, var(--clip-further) var(--clip-further) );}/*mozilla*/input[type="range"]::-moz-range-thumb { width: var(--range-slider-thumb-size); height: var(--range-slider-thumb-size); border-radius: var(--range-slider-thumb-border-radius); background: var(--range-slider-color); border: none; box-shadow: none; cursor: grab;}input[type="range"]::-moz-range-track { border: none; border-radius: var(--range-slider-track-border-radius); background: var(--range-slider-track-color); box-shadow: none;}input[type="range"]::-moz-range-progress { appearance: none; background: currentColor; transition-delay: 30ms;}input[type="range"]::-moz-range-track,input[type="range"]::-moz-range-progress { height: calc(var(--range-slider-height)); border-radius: var(--range-slider-track-border-radius);}/*toolcool slider*/tc-range-slider { --height: var(--range-slider-height); --panel-bg: var(--range-slider-track-color); --panel-bg-hover: var(--range-slider-track-color); --panel-bg-fill: var(--range-slider-color); --panel-bg-border-radius: var(--range-slider-track-border-radius); --pointer-bg: var(--range-slider-color); --pointer-bg-hover: var(--range-slider-color); --pointer-bg-focus: var(--range-slider-color); --pointer-width: var(--range-slider-thumb-size); --pointer-height: var(--range-slider-thumb-size); --pointer-shadow: none; --pointer-shadow-hover: none; --pointer-shadow-focus: none; --pointer-border: none; --pointer-border-hover: 0; --pointer-border-focus: 0; --pointer-border-radius: var(--range-slider-thumb-border-radius);}';
3472
- var pi, fi;
3473
- class Vr extends lt {
3461
+ customElements.define("eox-layercontrol-tools-items", Dr);
3462
+ const sa = "button,.button { /* TODO: why does this only work here and not from :root? */ --primary-color: #004170; --primary-color-hover: #004170cc; --error-color: #ff5252; display: inline-flex; position: relative; align-items: center; color: #fff; border-width: 0; outline: none; border-radius: 4px; padding: 16px; height: 36px; cursor: pointer; font-family: inherit; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1.25px; font-weight: 500; box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); transition-property: box-shadow, transform, opacity, background; transition-duration: 0.28s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);}button:hover:not([disabled]):not(.icon),.button:hover:not([disabled]):not(.icon) { box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12); background: var(--primary-color-hover);}button,button:active,.button,.button:active { background: var(--primary-color);}button[disabled],.button[disabled] { opacity: 0.5; cursor: not-allowed;}button.block,.button.block { display: block;}button.outline,.button.outline { background: transparent; box-shadow: none; color: var(--primary-color); outline: 1px solid var(--primary-color);}button.outline:hover,.button.outline:hover { background: transparent;}button.icon,.button.icon { background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 50%; width: 24px; height: 24px; text-indent: -9999px;}button.icon-text,.button.icon-text { text-indent: 26px;}button.icon-text.block,.button.icon-text.block { text-indent: 20px;}button.icon:before,button.icon-text:before,.button.icon:before,.button.icon-text:before { position: absolute; text-indent: 0; line-height: initial;}button.icon-text.block:before,.button.icon-text.block:before { text-indent: -54px;}button.icon:before,.button.icon:before { width: 24px; height: 24px; margin-right: 0;}button.icon-text:before,.button.icon-text:before { width: 18px; height: 18px;}button.small,.button.small { height: 28px; padding: 12.4px; font-size: 0.75rem;}button.smallest.icon,button.smallest.icon::before { height: 16px; width: 16px; padding: 0px;}", aa = `input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}`, Pr = `input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}`, la = ':root,:host { --range-slider-height: 6px; --range-slider-thumb-size: 15px; --range-slider-thumb-border-radius: 50%; --range-slider-color: #004170; --range-slider-track-color: #d7dcdf; --range-slider-track-border-radius: 0;}input[type="range"] { -webkit-appearance: none; border: none; color: var(--range-slider-color); overflow: hidden; padding-left: 0; margin-left: 7px;}/*webkit*/input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: var(--range-slider-thumb-size); height: var(--range-slider-thumb-size); border-radius: var(--range-slider-thumb-border-radius); background: var(--range-slider-color); border: none; box-shadow: none; margin-top: calc( var(--range-slider-height) * 0.5 - var(--range-slider-thumb-size) * 0.5 );}input[type="range"]::-webkit-slider-runnable-track { height: var(--range-slider-height); border: none; border-radius: var(--range-slider-track-border-radius); background: var(--range-slider-track-color); box-shadow: none;}input[type="range"]::-webkit-slider-thumb { cursor: grab; --clip-edges: 4px; --clip-top: calc( (var(--range-slider-thumb-size) - var(--range-slider-height)) * 0.5 ); --clip-bottom: calc(var(--range-slider-thumb-size) - var(--clip-top)); --clip-further: calc(100% + 1px); --box-fill: calc( -100vmax - var(--range-slider-thumb-size, var(--range-slider-thumb-size)) + 1px ) 0 0 100vmax currentColor; background: linear-gradient(currentColor 0 0) scroll no-repeat left center / 50% calc(var(--range-slider-height) + 1px); background-color: currentColor; box-shadow: var(--box-fill); border-radius: var(--range-slider-thumb-size, var(--range-slider-thumb-size)); filter: brightness(100%); clip-path: polygon( 100% -1px, var(--clip-edges) -1px, 0 var(--clip-top), -100vmax var(--clip-top), -100vmax var(--clip-bottom), 0 var(--clip-bottom), var(--clip-edges) 100%, var(--clip-further) var(--clip-further) );}/*mozilla*/input[type="range"]::-moz-range-thumb { width: var(--range-slider-thumb-size); height: var(--range-slider-thumb-size); border-radius: var(--range-slider-thumb-border-radius); background: var(--range-slider-color); border: none; box-shadow: none; cursor: grab;}input[type="range"]::-moz-range-track { border: none; border-radius: var(--range-slider-track-border-radius); background: var(--range-slider-track-color); box-shadow: none;}input[type="range"]::-moz-range-progress { appearance: none; background: currentColor; transition-delay: 30ms;}input[type="range"]::-moz-range-track,input[type="range"]::-moz-range-progress { height: calc(var(--range-slider-height)); border-radius: var(--range-slider-track-border-radius);}/*toolcool slider*/tc-range-slider { --height: var(--range-slider-height); --panel-bg: var(--range-slider-track-color); --panel-bg-hover: var(--range-slider-track-color); --panel-bg-fill: var(--range-slider-color); --panel-bg-border-radius: var(--range-slider-track-border-radius); --pointer-bg: var(--range-slider-color); --pointer-bg-hover: var(--range-slider-color); --pointer-bg-focus: var(--range-slider-color); --pointer-width: var(--range-slider-thumb-size); --pointer-height: var(--range-slider-thumb-size); --pointer-shadow: none; --pointer-shadow-hover: none; --pointer-shadow-focus: none; --pointer-border: none; --pointer-border-hover: 0; --pointer-border-focus: 0; --pointer-border-radius: var(--range-slider-thumb-border-radius);}';
3463
+ var hi, pi;
3464
+ class Or extends lt {
3474
3465
  constructor() {
3475
3466
  super();
3476
3467
  // Initializes '_removeButton' invoking 'removeButton' function with 'this' context.
@@ -3498,7 +3489,7 @@ class Vr extends lt {
3498
3489
  min="0"
3499
3490
  max="1"
3500
3491
  step="0.01"
3501
- value=${Pr((e = this.layer) == null ? void 0 : e.getOpacity())}
3492
+ value=${Er((e = this.layer) == null ? void 0 : e.getOpacity())}
3502
3493
  @input=${(n) => this.layer.setOpacity(parseFloat(n.target.value))}
3503
3494
  />
3504
3495
  </div>
@@ -3554,11 +3545,11 @@ class Vr extends lt {
3554
3545
  <div slot="sort-icon">${this._sortButton()}</div>
3555
3546
  `;
3556
3547
  });
3557
- D(this, pi, "");
3558
- D(this, fi, `
3548
+ D(this, hi, "");
3549
+ D(this, pi, `
3559
3550
  ${sa}
3560
3551
  ${aa}
3561
- ${Hr}
3552
+ ${Pr}
3562
3553
  ${la}
3563
3554
  .drag-handle {
3564
3555
  cursor: n-resize;
@@ -3687,14 +3678,11 @@ class Vr extends lt {
3687
3678
  }
3688
3679
  render() {
3689
3680
  var l;
3690
- const e = Ks(this.tools, this.layer), n = Qs(this.tools, this.layer), r = this[`_${e == null ? void 0 : e[0]}Button`] ? (
3691
- // @ts-expect-error TODO
3692
- this[`_${e == null ? void 0 : e[0]}Button`]()
3693
- ) : P, o = ((l = this.tools) == null ? void 0 : l.length) === 1 ? `${this.tools[0]}-icon` : "", s = e == null ? void 0 : e.length, a = n == null ? void 0 : n.length;
3681
+ const e = Ks(this.tools, this.layer), n = Qs(this.tools, this.layer), r = this[`_${e == null ? void 0 : e[0]}Button`] ? this[`_${e == null ? void 0 : e[0]}Button`]() : P, o = ((l = this.tools) == null ? void 0 : l.length) === 1 ? `${this.tools[0]}-icon` : "", s = e == null ? void 0 : e.length, a = n == null ? void 0 : n.length;
3694
3682
  return x`
3695
3683
  <style>
3696
- ${S(this, pi)}
3697
- ${!this.unstyled && S(this, fi)}
3684
+ ${S(this, hi)}
3685
+ ${!this.unstyled && S(this, pi)}
3698
3686
  </style>
3699
3687
  ${G(
3700
3688
  s + a > 0,
@@ -3735,8 +3723,8 @@ class Vr extends lt {
3735
3723
  `;
3736
3724
  }
3737
3725
  }
3738
- pi = new WeakMap(), fi = new WeakMap(), // Define static properties for the component
3739
- j(Vr, "properties", {
3726
+ hi = new WeakMap(), pi = new WeakMap(), // Define static properties for the component
3727
+ j(Or, "properties", {
3740
3728
  layer: { attribute: !1 },
3741
3729
  tools: { attribute: !1 },
3742
3730
  unstyled: { type: Boolean },
@@ -3745,7 +3733,7 @@ j(Vr, "properties", {
3745
3733
  });
3746
3734
  customElements.define(
3747
3735
  "eox-layercontrol-layer-tools",
3748
- Vr
3736
+ Or
3749
3737
  );
3750
3738
  const da = (i) => {
3751
3739
  const t = () => {
@@ -3759,11 +3747,11 @@ const da = (i) => {
3759
3747
  new CustomEvent("change:resolution", { bubbles: !0 })
3760
3748
  ));
3761
3749
  };
3762
- _r(
3750
+ wr(
3763
3751
  i.layer,
3764
3752
  i.showLayerZoomState
3765
3753
  ) && (t(), i.map.getView().on("change:resolution", () => t()));
3766
- }, ca = (i, t) => {
3754
+ }, ua = (i, t) => {
3767
3755
  const e = t.layer;
3768
3756
  e.setVisible(i.target.checked), i.target.checked && e.get("layerControlExclusive") && t.closest(
3769
3757
  ".layers > ul"
@@ -3774,20 +3762,20 @@ const da = (i) => {
3774
3762
  new CustomEvent("changed", { bubbles: !0, detail: e })
3775
3763
  ), t.requestUpdate();
3776
3764
  };
3777
- var $t, se, Br, gi, mi;
3778
- class kr extends lt {
3765
+ var Et, oe, Lr, fi, gi;
3766
+ class Rr extends lt {
3779
3767
  constructor() {
3780
3768
  super();
3781
- D(this, $t);
3769
+ D(this, Et);
3782
3770
  /**
3783
3771
  * Represents the current layer visibility based on zoom level.
3784
3772
  *
3785
3773
  * @type {Boolean}
3786
3774
  */
3787
3775
  j(this, "currLayerVisibilityBasedOnZoom", !0);
3788
- D(this, gi, "");
3789
- D(this, mi, `
3790
- ${Hr}
3776
+ D(this, fi, "");
3777
+ D(this, gi, `
3778
+ ${Pr}
3791
3779
  eox-layercontrol-layer {
3792
3780
  width: 100%;
3793
3781
  position: relative;
@@ -3868,11 +3856,11 @@ class kr extends lt {
3868
3856
  */
3869
3857
  render() {
3870
3858
  var l;
3871
- const e = this.layer.getVisible(), n = e ? "visible" : "", r = this.currLayerVisibilityBasedOnZoom ? "" : "zoom-state-invisible", o = B(this, $t, se).call(this, "layerControlDisable") ? "disabled" : "", s = B(this, $t, se).call(this, "layerControlExclusive") ? "radio" : "checkbox", a = ((l = this.tools) == null ? void 0 : l.length) > 0;
3859
+ const e = this.layer.getVisible(), n = e ? "visible" : "", r = this.currLayerVisibilityBasedOnZoom ? "" : "zoom-state-invisible", o = B(this, Et, oe).call(this, "layerControlDisable") ? "disabled" : "", s = B(this, Et, oe).call(this, "layerControlExclusive") ? "radio" : "checkbox", a = ((l = this.tools) == null ? void 0 : l.length) > 0;
3872
3860
  return x`
3873
3861
  <style>
3874
- ${S(this, gi)}
3875
- ${!this.unstyled && S(this, mi)}
3862
+ ${S(this, fi)}
3863
+ ${!this.unstyled && S(this, gi)}
3876
3864
  </style>
3877
3865
  ${G(
3878
3866
  this.layer,
@@ -3883,16 +3871,16 @@ class kr extends lt {
3883
3871
  <!-- Input element for layer visibility -->
3884
3872
  <input
3885
3873
  type=${s}
3886
- .checked=${Pr(e)}
3887
- @click=${B(this, $t, Br)}
3874
+ .checked=${Er(e)}
3875
+ @click=${B(this, Et, Lr)}
3888
3876
  />
3889
3877
 
3890
3878
  <!-- Layer title -->
3891
3879
  <span
3892
- class="title ${B(this, $t, se).call(this, "color") ? "color-swatch" : ""}"
3893
- style="--layer-color: ${B(this, $t, se).call(this, "color")}"
3880
+ class="title ${B(this, Et, oe).call(this, "color") ? "color-swatch" : ""}"
3881
+ style="--layer-color: ${B(this, Et, oe).call(this, "color")}"
3894
3882
  >
3895
- ${B(this, $t, se).call(this, this.titleProperty)}
3883
+ ${B(this, Et, oe).call(this, this.titleProperty)}
3896
3884
  </span>
3897
3885
  ${G(
3898
3886
  a,
@@ -3914,13 +3902,13 @@ class kr extends lt {
3914
3902
  `;
3915
3903
  }
3916
3904
  }
3917
- $t = new WeakSet(), /**
3905
+ Et = new WeakSet(), /**
3918
3906
  * Private method to get layer property by key if available.
3919
3907
  *
3920
3908
  * @param {string} key - The key for the layer property.
3921
3909
  * @returns {any} - The value of the layer property if exists, otherwise undefined.
3922
3910
  */
3923
- se = function(e) {
3911
+ oe = function(e) {
3924
3912
  var n;
3925
3913
  return (n = this.layer) == null ? void 0 : n.get(e);
3926
3914
  }, /**
@@ -3928,10 +3916,10 @@ se = function(e) {
3928
3916
  *
3929
3917
  * @param {{target: { checked: boolean }}} evt - The input change event.
3930
3918
  */
3931
- Br = function(e) {
3932
- ca(e, this);
3933
- }, gi = new WeakMap(), mi = new WeakMap(), // Define static properties for the component
3934
- j(kr, "properties", {
3919
+ Lr = function(e) {
3920
+ ua(e, this);
3921
+ }, fi = new WeakMap(), gi = new WeakMap(), // Define static properties for the component
3922
+ j(Rr, "properties", {
3935
3923
  layer: { attribute: !1 },
3936
3924
  map: { attribute: !1, state: !0 },
3937
3925
  titleProperty: { attribute: "title-property", type: String },
@@ -3941,13 +3929,13 @@ j(kr, "properties", {
3941
3929
  noShadow: { type: Boolean },
3942
3930
  toolsAsList: { type: Boolean }
3943
3931
  });
3944
- customElements.define("eox-layercontrol-layer", kr);
3945
- var yi, bi;
3946
- class Ur extends lt {
3932
+ customElements.define("eox-layercontrol-layer", Rr);
3933
+ var mi, yi;
3934
+ class Mr extends lt {
3947
3935
  constructor() {
3948
3936
  super();
3949
- D(this, yi, "");
3950
- D(this, bi, `
3937
+ D(this, mi, "");
3938
+ D(this, yi, `
3951
3939
  details summary {
3952
3940
  cursor: pointer;
3953
3941
  display: var(--layer-summary-visibility);
@@ -3987,13 +3975,14 @@ class Ur extends lt {
3987
3975
  */
3988
3976
  render() {
3989
3977
  var r, o;
3990
- const e = !!((r = this.group) != null && r.get("layerControlExpand")), n = (o = Dr(
3978
+ const e = !!((r = this.group) != null && r.get("layerControlExpand")), n = (o = $r(
3979
+ /** @type import("ol").Collection<import("ol/layer").Layer> */
3991
3980
  this.group.getLayers()
3992
3981
  )) == null ? void 0 : o.length;
3993
3982
  return x`
3994
3983
  <style>
3995
- ${S(this, yi)}
3996
- ${!this.unstyled && S(this, bi)}
3984
+ ${S(this, mi)}
3985
+ ${!this.unstyled && S(this, yi)}
3997
3986
  </style>
3998
3987
  ${G(
3999
3988
  this.group,
@@ -4037,8 +4026,8 @@ class Ur extends lt {
4037
4026
  `;
4038
4027
  }
4039
4028
  }
4040
- yi = new WeakMap(), bi = new WeakMap(), // Define static properties for the component
4041
- j(Ur, "properties", {
4029
+ mi = new WeakMap(), yi = new WeakMap(), // Define static properties for the component
4030
+ j(Mr, "properties", {
4042
4031
  group: { attribute: !1 },
4043
4032
  idProperty: { attribute: "id-property" },
4044
4033
  map: { attribute: !1, state: !0 },
@@ -4051,91 +4040,91 @@ j(Ur, "properties", {
4051
4040
  });
4052
4041
  customElements.define(
4053
4042
  "eox-layercontrol-layer-group",
4054
- Ur
4043
+ Mr
4055
4044
  );
4056
- var qi, Fn;
4057
- function ua() {
4058
- if (Fn) return qi;
4059
- Fn = 1;
4060
- var i = "Expected a function", t = NaN, e = "[object Symbol]", n = /^\s+|\s+$/g, r = /^[-+]0x[0-9a-f]+$/i, o = /^0b[01]+$/i, s = /^0o[0-7]+$/i, a = parseInt, l = typeof Ut == "object" && Ut && Ut.Object === Object && Ut, d = typeof self == "object" && self && self.Object === Object && self, u = l || d || Function("return this")(), c = Object.prototype, p = c.toString, f = Math.max, g = Math.min, b = function() {
4061
- return u.Date.now();
4045
+ var qi, Bn;
4046
+ function ca() {
4047
+ if (Bn) return qi;
4048
+ Bn = 1;
4049
+ var i = "Expected a function", t = NaN, e = "[object Symbol]", n = /^\s+|\s+$/g, r = /^[-+]0x[0-9a-f]+$/i, o = /^0b[01]+$/i, s = /^0o[0-7]+$/i, a = parseInt, l = typeof Ut == "object" && Ut && Ut.Object === Object && Ut, d = typeof self == "object" && self && self.Object === Object && self, c = l || d || Function("return this")(), u = Object.prototype, p = u.toString, f = Math.max, g = Math.min, b = function() {
4050
+ return c.Date.now();
4062
4051
  };
4063
- function N($, m, C) {
4064
- var M, R, q, X, H, L, Z = 0, dt = !1, tt = !1, ct = !0;
4065
- if (typeof $ != "function")
4052
+ function H(E, m, _) {
4053
+ var M, R, q, X, N, L, Z = 0, dt = !1, tt = !1, ut = !0;
4054
+ if (typeof E != "function")
4066
4055
  throw new TypeError(i);
4067
- m = K(m) || 0, J(C) && (dt = !!C.leading, tt = "maxWait" in C, q = tt ? f(K(C.maxWait) || 0, m) : q, ct = "trailing" in C ? !!C.trailing : ct);
4056
+ m = K(m) || 0, J(_) && (dt = !!_.leading, tt = "maxWait" in _, q = tt ? f(K(_.maxWait) || 0, m) : q, ut = "trailing" in _ ? !!_.trailing : ut);
4068
4057
  function gt(k) {
4069
- var I = M, ut = R;
4070
- return M = R = void 0, Z = k, X = $.apply(ut, I), X;
4058
+ var I = M, ct = R;
4059
+ return M = R = void 0, Z = k, X = E.apply(ct, I), X;
4071
4060
  }
4072
4061
  function zt(k) {
4073
- return Z = k, H = setTimeout(Ct, m), dt ? gt(k) : X;
4062
+ return Z = k, N = setTimeout(_t, m), dt ? gt(k) : X;
4074
4063
  }
4075
- function Ne(k) {
4076
- var I = k - L, ut = k - Z, It = m - I;
4077
- return tt ? g(It, q - ut) : It;
4064
+ function Ie(k) {
4065
+ var I = k - L, ct = k - Z, Mt = m - I;
4066
+ return tt ? g(Mt, q - ct) : Mt;
4078
4067
  }
4079
4068
  function Zt(k) {
4080
- var I = k - L, ut = k - Z;
4081
- return L === void 0 || I >= m || I < 0 || tt && ut >= q;
4069
+ var I = k - L, ct = k - Z;
4070
+ return L === void 0 || I >= m || I < 0 || tt && ct >= q;
4082
4071
  }
4083
- function Ct() {
4072
+ function _t() {
4084
4073
  var k = b();
4085
4074
  if (Zt(k))
4086
4075
  return qt(k);
4087
- H = setTimeout(Ct, Ne(k));
4076
+ N = setTimeout(_t, Ie(k));
4088
4077
  }
4089
4078
  function qt(k) {
4090
- return H = void 0, ct && M ? gt(k) : (M = R = void 0, X);
4079
+ return N = void 0, ut && M ? gt(k) : (M = R = void 0, X);
4091
4080
  }
4092
4081
  function He() {
4093
- H !== void 0 && clearTimeout(H), Z = 0, M = L = R = H = void 0;
4082
+ N !== void 0 && clearTimeout(N), Z = 0, M = L = R = N = void 0;
4094
4083
  }
4095
- function _i() {
4096
- return H === void 0 ? X : qt(b());
4084
+ function Ci() {
4085
+ return N === void 0 ? X : qt(b());
4097
4086
  }
4098
4087
  function pe() {
4099
4088
  var k = b(), I = Zt(k);
4100
4089
  if (M = arguments, R = this, L = k, I) {
4101
- if (H === void 0)
4090
+ if (N === void 0)
4102
4091
  return zt(L);
4103
4092
  if (tt)
4104
- return H = setTimeout(Ct, m), gt(L);
4093
+ return N = setTimeout(_t, m), gt(L);
4105
4094
  }
4106
- return H === void 0 && (H = setTimeout(Ct, m)), X;
4095
+ return N === void 0 && (N = setTimeout(_t, m)), X;
4107
4096
  }
4108
- return pe.cancel = He, pe.flush = _i, pe;
4097
+ return pe.cancel = He, pe.flush = Ci, pe;
4109
4098
  }
4110
- function J($) {
4111
- var m = typeof $;
4112
- return !!$ && (m == "object" || m == "function");
4099
+ function J(E) {
4100
+ var m = typeof E;
4101
+ return !!E && (m == "object" || m == "function");
4113
4102
  }
4114
- function F($) {
4115
- return !!$ && typeof $ == "object";
4103
+ function F(E) {
4104
+ return !!E && typeof E == "object";
4116
4105
  }
4117
- function st($) {
4118
- return typeof $ == "symbol" || F($) && p.call($) == e;
4106
+ function st(E) {
4107
+ return typeof E == "symbol" || F(E) && p.call(E) == e;
4119
4108
  }
4120
- function K($) {
4121
- if (typeof $ == "number")
4122
- return $;
4123
- if (st($))
4109
+ function K(E) {
4110
+ if (typeof E == "number")
4111
+ return E;
4112
+ if (st(E))
4124
4113
  return t;
4125
- if (J($)) {
4126
- var m = typeof $.valueOf == "function" ? $.valueOf() : $;
4127
- $ = J(m) ? m + "" : m;
4114
+ if (J(E)) {
4115
+ var m = typeof E.valueOf == "function" ? E.valueOf() : E;
4116
+ E = J(m) ? m + "" : m;
4128
4117
  }
4129
- if (typeof $ != "string")
4130
- return $ === 0 ? $ : +$;
4131
- $ = $.replace(n, "");
4132
- var C = o.test($);
4133
- return C || s.test($) ? a($.slice(2), C ? 2 : 8) : r.test($) ? t : +$;
4118
+ if (typeof E != "string")
4119
+ return E === 0 ? E : +E;
4120
+ E = E.replace(n, "");
4121
+ var _ = o.test(E);
4122
+ return _ || s.test(E) ? a(E.slice(2), _ ? 2 : 8) : r.test(E) ? t : +E;
4134
4123
  }
4135
- return qi = N, qi;
4124
+ return qi = H, qi;
4136
4125
  }
4137
- var ha = ua();
4138
- const pa = /* @__PURE__ */ Or(ha), fa = (i) => {
4126
+ var ha = ca();
4127
+ const pa = /* @__PURE__ */ Sr(ha), fa = (i) => {
4139
4128
  const { layers: t, idProperty: e, titleProperty: n, renderRoot: r } = i, o = pa(() => {
4140
4129
  i.requestUpdate(), i.dispatchEvent(
4141
4130
  new CustomEvent("changed", { bubbles: !0 })
@@ -4151,12 +4140,12 @@ const pa = /* @__PURE__ */ Or(ha), fa = (i) => {
4151
4140
  ), js(a, t, e, i);
4152
4141
  }
4153
4142
  };
4154
- var vi, wi;
4155
- class Fr extends lt {
4143
+ var bi, vi;
4144
+ class Ir extends lt {
4156
4145
  constructor() {
4157
4146
  super();
4158
- D(this, vi, "");
4159
- D(this, wi, `
4147
+ D(this, bi, "");
4148
+ D(this, vi, `
4160
4149
  ul {
4161
4150
  padding: 0;
4162
4151
  margin: 0;
@@ -4203,11 +4192,11 @@ class Fr extends lt {
4203
4192
  * layer groups or individual layers accordingly. Utilizes conditional rendering and iterates through available layers.
4204
4193
  */
4205
4194
  render() {
4206
- const e = this.layers ? Dr(this.layers).reverse() : [];
4195
+ const e = this.layers ? $r(this.layers).reverse() : [];
4207
4196
  return x`
4208
4197
  <style>
4209
- ${S(this, vi)}
4210
- ${!this.unstyled && S(this, wi)}
4198
+ ${S(this, bi)}
4199
+ ${!this.unstyled && S(this, vi)}
4211
4200
  </style>
4212
4201
  <ul>
4213
4202
  ${G(
@@ -4259,8 +4248,8 @@ class Fr extends lt {
4259
4248
  `;
4260
4249
  }
4261
4250
  }
4262
- vi = new WeakMap(), wi = new WeakMap(), // Define static properties for the component
4263
- j(Fr, "properties", {
4251
+ bi = new WeakMap(), vi = new WeakMap(), // Define static properties for the component
4252
+ j(Ir, "properties", {
4264
4253
  idProperty: { attribute: "id-property" },
4265
4254
  layers: { attribute: !1 },
4266
4255
  map: { attribute: !1, state: !0 },
@@ -4271,11 +4260,11 @@ j(Fr, "properties", {
4271
4260
  noShadow: { type: Boolean },
4272
4261
  toolsAsList: { type: Boolean }
4273
4262
  });
4274
- customElements.define("eox-layercontrol-layer-list", Fr);
4263
+ customElements.define("eox-layercontrol-layer-list", Ir);
4275
4264
  const ga = (i) => {
4276
4265
  const t = i.querySelector(
4277
4266
  "select[name=optional]"
4278
- ), e = t ? t.value : null, n = gn(
4267
+ ), e = t ? t.value : null, n = pn(
4279
4268
  i.layers.getArray(),
4280
4269
  "layerControlOptional",
4281
4270
  !0
@@ -4294,11 +4283,11 @@ const ga = (i) => {
4294
4283
  )
4295
4284
  ), i.requestUpdate();
4296
4285
  };
4297
- var xi, zr;
4298
- class jr extends lt {
4286
+ var wi, Nr;
4287
+ class Hr extends lt {
4299
4288
  constructor() {
4300
4289
  super();
4301
- D(this, xi);
4290
+ D(this, wi);
4302
4291
  this.idProperty = "id", this.layers = null, this.titleProperty = "title", this.unstyled = !1, this.noShadow = !1;
4303
4292
  }
4304
4293
  /**
@@ -4313,7 +4302,7 @@ class jr extends lt {
4313
4302
  * Generates dropdown options based on the extracted layer information.
4314
4303
  */
4315
4304
  render() {
4316
- const e = gn(
4305
+ const e = pn(
4317
4306
  this.layers.getArray(),
4318
4307
  "layerControlOptional",
4319
4308
  !0
@@ -4337,18 +4326,18 @@ class jr extends lt {
4337
4326
  </select>
4338
4327
 
4339
4328
  <!-- Button to handle adding layers -->
4340
- <button @click="${B(this, xi, zr)}">add</button>
4329
+ <button @click="${B(this, wi, Nr)}">add</button>
4341
4330
  `;
4342
4331
  }
4343
4332
  }
4344
- xi = new WeakSet(), /**
4333
+ wi = new WeakSet(), /**
4345
4334
  * Handles the addition of selected layers to a list.
4346
4335
  * Invokes the 'addToListMethod' with the current context.
4347
4336
  */
4348
- zr = function() {
4337
+ Nr = function() {
4349
4338
  ga(this);
4350
4339
  }, // Define static properties for the component
4351
- j(jr, "properties", {
4340
+ j(Hr, "properties", {
4352
4341
  idProperty: { attribute: "id-property" },
4353
4342
  layers: { attribute: !1 },
4354
4343
  titleProperty: { attribute: "title-property", type: String },
@@ -4357,13 +4346,13 @@ j(jr, "properties", {
4357
4346
  });
4358
4347
  customElements.define(
4359
4348
  "eox-layercontrol-optional-list",
4360
- jr
4349
+ Hr
4361
4350
  );
4362
4351
  const ma = (i, t) => {
4363
4352
  t.jsonInput = i.target.value, t.requestUpdate();
4364
- }, jn = (i) => {
4353
+ }, Un = (i) => {
4365
4354
  const t = JSON.parse(
4366
- `{"data":${hr(i.jsonInput)}}`
4355
+ `{"data":${or(i.jsonInput)}}`
4367
4356
  );
4368
4357
  Array.isArray(t.data) ? t.data.forEach((e) => {
4369
4358
  i.eoxMap.addOrUpdateLayer(e);
@@ -4374,7 +4363,7 @@ const ma = (i, t) => {
4374
4363
  async function ba(i) {
4375
4364
  const t = i.urlInput;
4376
4365
  if (i.wmsCapabilities = null, i.searchLoad = !0, i.requestUpdate(), !t) return !1;
4377
- if (cn(t) === "XYZ")
4366
+ if (ln(t) === "XYZ")
4378
4367
  return { Name: t };
4379
4368
  try {
4380
4369
  const e = await hs(t);
@@ -4386,7 +4375,7 @@ async function ba(i) {
4386
4375
  return !1;
4387
4376
  }
4388
4377
  const va = (i, t) => {
4389
- const { Name: e } = i, n = cn(t.urlInput) || "XYZ", r = {
4378
+ const { Name: e } = i, n = ln(t.urlInput) || "XYZ", r = {
4390
4379
  type: "Tile",
4391
4380
  properties: {
4392
4381
  id: e,
@@ -4407,8 +4396,8 @@ const va = (i, t) => {
4407
4396
  }, wa = (i, t) => {
4408
4397
  t.open = i || null, t.urlInput = null, t.jsonInput = null, t.wmsCapabilities = null, t.requestUpdate();
4409
4398
  };
4410
- var it, qr, Xr, tn, Yr, Wr, Ge, Ei, $i;
4411
- class Zr extends lt {
4399
+ var it, kr, Br, tn, Ur, Fr, Ye, xi, $i;
4400
+ class Vr extends lt {
4412
4401
  constructor() {
4413
4402
  super();
4414
4403
  D(this, it);
@@ -4442,7 +4431,7 @@ class Zr extends lt {
4442
4431
  * @type {import("wms-capabilities").WMSCapabilitiesJSON}
4443
4432
  */
4444
4433
  j(this, "wmsCapabilities", null);
4445
- D(this, Ei, `
4434
+ D(this, xi, `
4446
4435
  .eox-add-layer-main .open {
4447
4436
  position: relative;
4448
4437
  }
@@ -4602,7 +4591,7 @@ class Zr extends lt {
4602
4591
  const e = this.open ? "open" : "close", n = this.open === "url", r = this.open === "json", o = !ps(this.urlInput) || this.searchLoad ? !0 : P;
4603
4592
  return x`
4604
4593
  <style>
4605
- ${S(this, Ei)}
4594
+ ${S(this, xi)}
4606
4595
  ${!this.unstyled && S(this, $i)}
4607
4596
  </style>
4608
4597
  <div class="eox-add-layer-main">
@@ -4610,13 +4599,13 @@ class Zr extends lt {
4610
4599
  <!-- Tabbed interface for URL and JSON -->
4611
4600
  <ul class="eox-add-layer-tab ${e}">
4612
4601
  <li
4613
- @click=${() => B(this, it, Ge).call(this, "url")}
4602
+ @click=${() => B(this, it, Ye).call(this, "url")}
4614
4603
  class="${n ? "active" : ""}"
4615
4604
  >
4616
4605
  URL
4617
4606
  </li>
4618
4607
  <li
4619
- @click=${() => B(this, it, Ge).call(this, "json")}
4608
+ @click=${() => B(this, it, Ye).call(this, "json")}
4620
4609
  class="${r ? "active" : ""}"
4621
4610
  >
4622
4611
  JSON
@@ -4626,7 +4615,7 @@ class Zr extends lt {
4626
4615
  <!-- Button to toggle tabs -->
4627
4616
  <button
4628
4617
  class="add-icon icon"
4629
- @click=${() => B(this, it, Ge).call(this, this.open ? null : "url")}
4618
+ @click=${() => B(this, it, Ye).call(this, this.open ? null : "url")}
4630
4619
  >
4631
4620
  ${this.unstyled ? "Add Layer" : ""}
4632
4621
  </button>
@@ -4640,14 +4629,14 @@ class Zr extends lt {
4640
4629
  class="add-url"
4641
4630
  placeholder="Add URL (WMS/XYZ)"
4642
4631
  .value="${this.urlInput}"
4643
- @input=${B(this, it, qr)}
4632
+ @input=${B(this, it, kr)}
4644
4633
  >
4645
4634
  </input>
4646
4635
  <!-- Search button for URL -->
4647
4636
  <button
4648
4637
  class="search-icon"
4649
4638
  disabled=${o}
4650
- @click=${B(this, it, Xr)}
4639
+ @click=${B(this, it, Br)}
4651
4640
  >
4652
4641
  ${this.unstyled ? "Search" : ""}
4653
4642
  </button>
@@ -4681,7 +4670,7 @@ class Zr extends lt {
4681
4670
  <textarea
4682
4671
  class="add-layer-input"
4683
4672
  placeholder="Please put a valid eox-map layer JSON."
4684
- @input=${B(this, it, Wr)}
4673
+ @input=${B(this, it, Fr)}
4685
4674
  .value=${this.jsonInput}
4686
4675
  ></textarea>
4687
4676
 
@@ -4689,7 +4678,7 @@ class Zr extends lt {
4689
4678
  <button
4690
4679
  class="add-layer-icon json-add-layer"
4691
4680
  disabled=${fs(this.jsonInput) ? P : !0}
4692
- @click=${B(this, it, Yr)}
4681
+ @click=${B(this, it, Ur)}
4693
4682
  >
4694
4683
  ${this.unstyled ? "Add JSON" : ""}
4695
4684
  </button>
@@ -4705,9 +4694,9 @@ it = new WeakSet(), /**
4705
4694
  *
4706
4695
  * @param {Event} evt - The input change event triggering the method.
4707
4696
  */
4708
- qr = function(e) {
4697
+ kr = function(e) {
4709
4698
  ya(e, this);
4710
- }, Xr = async function() {
4699
+ }, Br = async function() {
4711
4700
  const e = await ba(this);
4712
4701
  e && B(this, it, tn).call(this, e);
4713
4702
  }, /**
@@ -4716,33 +4705,33 @@ qr = function(e) {
4716
4705
  * @param {{"Name": string}} layer - The layer information triggering the method.
4717
4706
  */
4718
4707
  tn = function(e) {
4719
- va(e, this), jn(this);
4708
+ va(e, this), Un(this);
4720
4709
  }, /**
4721
4710
  * Initiates the addition of layers, triggering the handleAddLayerMethod.
4722
4711
  */
4723
- Yr = function() {
4724
- jn(this);
4712
+ Ur = function() {
4713
+ Un(this);
4725
4714
  }, /**
4726
4715
  * Handles input field changes by invoking the 'handleJsonInputChangeMethod'.
4727
4716
  *
4728
4717
  * @param {{target: { value: string }}} evt - The input change event triggering the method.
4729
4718
  */
4730
- Wr = function(e) {
4719
+ Fr = function(e) {
4731
4720
  ma(e, this);
4732
4721
  }, /**
4733
4722
  * Handles tab changes by invoking the 'openCloseTabMethod'.
4734
4723
  *
4735
4724
  * @param {"url" | "json" | null} tab - The tab identifier triggering the method.
4736
4725
  */
4737
- Ge = function(e) {
4726
+ Ye = function(e) {
4738
4727
  wa(e, this);
4739
- }, Ei = new WeakMap(), $i = new WeakMap(), // Define static properties for the component
4740
- j(Zr, "properties", {
4728
+ }, xi = new WeakMap(), $i = new WeakMap(), // Define static properties for the component
4729
+ j(Vr, "properties", {
4741
4730
  eoxMap: { attribute: !1, state: !0 },
4742
4731
  unstyled: { type: Boolean },
4743
4732
  noShadow: { type: Boolean }
4744
4733
  });
4745
- customElements.define("eox-layercontrol-add-layers", Zr);
4734
+ customElements.define("eox-layercontrol-add-layers", Vr);
4746
4735
  const xa = (i, t) => {
4747
4736
  if (t.requestUpdate(), i.target.tagName === "EOX-LAYERCONTROL-LAYER-TOOLS") {
4748
4737
  const e = t.renderRoot.querySelector(
@@ -4750,16 +4739,19 @@ const xa = (i, t) => {
4750
4739
  );
4751
4740
  e == null || e.requestUpdate();
4752
4741
  }
4753
- }, Ea = (i) => {
4742
+ }, $a = (i) => {
4754
4743
  let t;
4755
4744
  return typeof i == "string" ? t = /** @type {HTMLElement} */
4756
4745
  document.querySelector(i) : t = i, t;
4757
- }, zn = (i) => {
4758
- const t = Ea(i.for);
4759
- return t && t.map !== i.map && (i.map = t.map), t;
4746
+ }, Fn = (i) => {
4747
+ const t = $a(i.for);
4748
+ return t && /** @type {import("@eox/map").EOxMap} */
4749
+ t.map !== i.map && (i.map = /** @type {import("@eox/map").EOxMap} */
4750
+ t.map), /** @type {import("@eox/map").EOxMap} */
4751
+ t;
4760
4752
  };
4761
- var kt, jt, Jr, Kr, Qr, Si;
4762
- class Gr extends lt {
4753
+ var kt, jt, zr, Zr, qr, Ei;
4754
+ class jr extends lt {
4763
4755
  // Constructor to set default values for properties
4764
4756
  constructor() {
4765
4757
  super();
@@ -4767,10 +4759,10 @@ class Gr extends lt {
4767
4759
  /**
4768
4760
  * Instance of `eox-map` which is a wrapper for the OL
4769
4761
  *
4770
- * @type {import("../../map/src/main").EOxMap}
4762
+ * @type {import("@eox/map").EOxMap}
4771
4763
  */
4772
4764
  D(this, kt);
4773
- D(this, Si, `
4765
+ D(this, Ei, `
4774
4766
  :host, :root {
4775
4767
  font-family: Roboto, sans-serif;
4776
4768
  --padding: 0.5rem;
@@ -4799,24 +4791,24 @@ class Gr extends lt {
4799
4791
  * Updated #eoxMap after first update.
4800
4792
  */
4801
4793
  firstUpdated() {
4802
- this.eoxMap = zn(this);
4794
+ this.eoxMap = Fn(this);
4803
4795
  }
4804
4796
  updated(e) {
4805
- e.has("for") && (this.eoxMap = zn(this));
4797
+ e.has("for") && (this.eoxMap = Fn(this));
4806
4798
  }
4807
4799
  get eoxMap() {
4808
4800
  return S(this, kt);
4809
4801
  }
4810
4802
  set eoxMap(e) {
4811
4803
  const n = S(this, kt);
4812
- _t(this, kt, e), this.requestUpdate("eoxMap", n);
4804
+ Ct(this, kt, e), this.requestUpdate("eoxMap", n);
4813
4805
  }
4814
4806
  render() {
4815
4807
  var r, o, s;
4816
- const e = (r = this.map) == null ? void 0 : r.getLayers().getArray(), n = e && ((o = gn(e, "layerControlOptional", !0)) == null ? void 0 : o.length) > 0;
4808
+ const e = (r = this.map) == null ? void 0 : r.getLayers().getArray(), n = e && ((o = pn(e, "layerControlOptional", !0)) == null ? void 0 : o.length) > 0;
4817
4809
  return x`
4818
4810
  <style>
4819
- ${!this.unstyled && S(this, Si)}
4811
+ ${!this.unstyled && S(this, Ei)}
4820
4812
  ${this.styleOverride}
4821
4813
  </style>
4822
4814
 
@@ -4847,9 +4839,9 @@ class Gr extends lt {
4847
4839
  .tools=${this.tools}
4848
4840
  .unstyled=${this.unstyled}
4849
4841
  .toolsAsList=${this.toolsAsList}
4850
- @changed=${B(this, jt, Jr)}
4851
- @datetime:updated=${B(this, jt, Kr)}
4852
- @layerConfig:change=${B(this, jt, Qr)}
4842
+ @changed=${B(this, jt, zr)}
4843
+ @datetime:updated=${B(this, jt, Zr)}
4844
+ @layerConfig:change=${B(this, jt, qr)}
4853
4845
  ></eox-layercontrol-layer-list>
4854
4846
  `
4855
4847
  )}
@@ -4875,13 +4867,13 @@ kt = new WeakMap(), jt = new WeakSet(), /**
4875
4867
  *
4876
4868
  * @param {CustomEvent & {target: Element}} evt
4877
4869
  */
4878
- Jr = function(e) {
4870
+ zr = function(e) {
4879
4871
  xa(e, this), this.dispatchEvent(new CustomEvent("layerchange", { detail: e.detail }));
4880
4872
  }, /**
4881
4873
  * Dispatches datetime updates from layer datetime to the layercontrol
4882
4874
  * @param {CustomEvent} evt
4883
4875
  */
4884
- Kr = function(e) {
4876
+ Zr = function(e) {
4885
4877
  this.dispatchEvent(
4886
4878
  new CustomEvent("datetime:updated", { detail: e.detail })
4887
4879
  );
@@ -4889,12 +4881,12 @@ Kr = function(e) {
4889
4881
  * Dispatches jsonform updates from layer config to the layercontrol
4890
4882
  * @param {CustomEvent} evt
4891
4883
  */
4892
- Qr = function(e) {
4884
+ qr = function(e) {
4893
4885
  this.dispatchEvent(
4894
4886
  new CustomEvent("layerConfig:change", { detail: e.detail })
4895
4887
  );
4896
- }, Si = new WeakMap(), // Define static properties for the component
4897
- j(Gr, "properties", {
4888
+ }, Ei = new WeakMap(), // Define static properties for the component
4889
+ j(jr, "properties", {
4898
4890
  for: { type: String },
4899
4891
  idProperty: { attribute: "id-property" },
4900
4892
  map: { attribute: !1, state: !0 },
@@ -4906,7 +4898,7 @@ j(Gr, "properties", {
4906
4898
  styleOverride: { type: String },
4907
4899
  toolsAsList: { type: Boolean }
4908
4900
  });
4909
- customElements.define("eox-layercontrol", Gr);
4901
+ customElements.define("eox-layercontrol", jr);
4910
4902
  export {
4911
- Gr as EOxLayerControl
4903
+ jr as EOxLayerControl
4912
4904
  };