@erplora/outfitkit 0.1.8 → 0.1.10

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.
@@ -3,7 +3,7 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const eo = globalThis, Ko = eo.ShadowRoot && (eo.ShadyCSS === void 0 || eo.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Yo = Symbol(), ba = /* @__PURE__ */ new WeakMap();
6
+ const to = globalThis, Ko = to.ShadowRoot && (to.ShadyCSS === void 0 || to.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Yo = Symbol(), ba = /* @__PURE__ */ new WeakMap();
7
7
  let Fa = class {
8
8
  constructor(e, t, r) {
9
9
  if (this._$cssResult$ = !0, r !== Yo) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -32,7 +32,7 @@ const si = (n) => new Fa(typeof n == "string" ? n : n + "", void 0, Yo), x = (n,
32
32
  }, ni = (n, e) => {
33
33
  if (Ko) n.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
34
34
  else for (const t of e) {
35
- const r = document.createElement("style"), o = eo.litNonce;
35
+ const r = document.createElement("style"), o = to.litNonce;
36
36
  o !== void 0 && r.setAttribute("nonce", o), r.textContent = t.cssText, n.appendChild(r);
37
37
  }
38
38
  }, fa = Ko ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((e) => {
@@ -45,7 +45,7 @@ const si = (n) => new Fa(typeof n == "string" ? n : n + "", void 0, Yo), x = (n,
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: li, defineProperty: ci, getOwnPropertyDescriptor: di, getOwnPropertyNames: pi, getOwnPropertySymbols: hi, getPrototypeOf: ui } = Object, no = globalThis, ga = no.trustedTypes, mi = ga ? ga.emptyScript : "", vi = no.reactiveElementPolyfillSupport, zr = (n, e) => n, io = { toAttribute(n, e) {
48
+ const { is: li, defineProperty: ci, getOwnPropertyDescriptor: di, getOwnPropertyNames: pi, getOwnPropertySymbols: hi, getPrototypeOf: ui } = Object, lo = globalThis, ga = lo.trustedTypes, mi = ga ? ga.emptyScript : "", vi = lo.reactiveElementPolyfillSupport, Cr = (n, e) => n, so = { toAttribute(n, e) {
49
49
  switch (e) {
50
50
  case Boolean:
51
51
  n = n ? mi : null;
@@ -73,9 +73,9 @@ const { is: li, defineProperty: ci, getOwnPropertyDescriptor: di, getOwnProperty
73
73
  }
74
74
  }
75
75
  return t;
76
- } }, Xo = (n, e) => !li(n, e), xa = { attribute: !0, type: String, converter: io, reflect: !1, useDefault: !1, hasChanged: Xo };
77
- Symbol.metadata ??= Symbol("metadata"), no.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
78
- let Ht = class extends HTMLElement {
76
+ } }, Xo = (n, e) => !li(n, e), xa = { attribute: !0, type: String, converter: so, reflect: !1, useDefault: !1, hasChanged: Xo };
77
+ Symbol.metadata ??= Symbol("metadata"), lo.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
78
+ let Yt = class extends HTMLElement {
79
79
  static addInitializer(e) {
80
80
  this._$Ei(), (this.l ??= []).push(e);
81
81
  }
@@ -103,13 +103,13 @@ let Ht = class extends HTMLElement {
103
103
  return this.elementProperties.get(e) ?? xa;
104
104
  }
105
105
  static _$Ei() {
106
- if (this.hasOwnProperty(zr("elementProperties"))) return;
106
+ if (this.hasOwnProperty(Cr("elementProperties"))) return;
107
107
  const e = ui(this);
108
108
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
109
109
  }
110
110
  static finalize() {
111
- if (this.hasOwnProperty(zr("finalized"))) return;
112
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(zr("properties"))) {
111
+ if (this.hasOwnProperty(Cr("finalized"))) return;
112
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Cr("properties"))) {
113
113
  const t = this.properties, r = [...pi(t), ...hi(t)];
114
114
  for (const o of r) this.createProperty(o, t[o]);
115
115
  }
@@ -172,14 +172,14 @@ let Ht = class extends HTMLElement {
172
172
  _$ET(e, t) {
173
173
  const r = this.constructor.elementProperties.get(e), o = this.constructor._$Eu(e, r);
174
174
  if (o !== void 0 && r.reflect === !0) {
175
- const a = (r.converter?.toAttribute !== void 0 ? r.converter : io).toAttribute(t, r.type);
175
+ const a = (r.converter?.toAttribute !== void 0 ? r.converter : so).toAttribute(t, r.type);
176
176
  this._$Em = e, a == null ? this.removeAttribute(o) : this.setAttribute(o, a), this._$Em = null;
177
177
  }
178
178
  }
179
179
  _$AK(e, t) {
180
180
  const r = this.constructor, o = r._$Eh.get(e);
181
181
  if (o !== void 0 && this._$Em !== o) {
182
- const a = r.getPropertyOptions(o), i = typeof a.converter == "function" ? { fromAttribute: a.converter } : a.converter?.fromAttribute !== void 0 ? a.converter : io;
182
+ const a = r.getPropertyOptions(o), i = typeof a.converter == "function" ? { fromAttribute: a.converter } : a.converter?.fromAttribute !== void 0 ? a.converter : so;
183
183
  this._$Em = o;
184
184
  const c = i.fromAttribute(t, a.type);
185
185
  this[o] = c ?? this._$Ej?.get(o) ?? c, this._$Em = null;
@@ -256,53 +256,53 @@ let Ht = class extends HTMLElement {
256
256
  firstUpdated(e) {
257
257
  }
258
258
  };
259
- Ht.elementStyles = [], Ht.shadowRootOptions = { mode: "open" }, Ht[zr("elementProperties")] = /* @__PURE__ */ new Map(), Ht[zr("finalized")] = /* @__PURE__ */ new Map(), vi?.({ ReactiveElement: Ht }), (no.reactiveElementVersions ??= []).push("2.1.2");
259
+ Yt.elementStyles = [], Yt.shadowRootOptions = { mode: "open" }, Yt[Cr("elementProperties")] = /* @__PURE__ */ new Map(), Yt[Cr("finalized")] = /* @__PURE__ */ new Map(), vi?.({ ReactiveElement: Yt }), (lo.reactiveElementVersions ??= []).push("2.1.2");
260
260
  /**
261
261
  * @license
262
262
  * Copyright 2017 Google LLC
263
263
  * SPDX-License-Identifier: BSD-3-Clause
264
264
  */
265
- const Wo = globalThis, ya = (n) => n, so = Wo.trustedTypes, ka = so ? so.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, Go = "$lit$", xe = `lit$${Math.random().toFixed(9).slice(2)}$`, Qo = "?" + xe, bi = `<${Qo}>`, bt = document, Cr = () => bt.createComment(""), Sr = (n) => n === null || typeof n != "object" && typeof n != "function", Zo = Array.isArray, Ra = (n) => Zo(n) || typeof n?.[Symbol.iterator] == "function", Oo = `[
266
- \f\r]`, xr = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, wa = /-->/g, $a = />/g, ht = RegExp(`>|${Oo}(?:([^\\s"'>=/]+)(${Oo}*=${Oo}*(?:[^
267
- \f\r"'\`<>=]|("|')|))|$)`, "g"), za = /'/g, _a = /"/g, Na = /^(?:script|style|textarea|title)$/i, Jo = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), s = Jo(1), P = Jo(2), Id = Jo(3), ye = Symbol.for("lit-noChange"), m = Symbol.for("lit-nothing"), Ca = /* @__PURE__ */ new WeakMap(), vt = bt.createTreeWalker(bt, 129);
265
+ const Wo = globalThis, ya = (n) => n, no = Wo.trustedTypes, ka = no ? no.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, Go = "$lit$", xe = `lit$${Math.random().toFixed(9).slice(2)}$`, Qo = "?" + xe, bi = `<${Qo}>`, gt = document, Er = () => gt.createComment(""), Pr = (n) => n === null || typeof n != "object" && typeof n != "function", Zo = Array.isArray, Ra = (n) => Zo(n) || typeof n?.[Symbol.iterator] == "function", Oo = `[
266
+ \f\r]`, kr = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, wa = /-->/g, $a = />/g, mt = RegExp(`>|${Oo}(?:([^\\s"'>=/]+)(${Oo}*=${Oo}*(?:[^
267
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), za = /'/g, _a = /"/g, Na = /^(?:script|style|textarea|title)$/i, Jo = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), s = Jo(1), P = Jo(2), Id = Jo(3), ye = Symbol.for("lit-noChange"), m = Symbol.for("lit-nothing"), Ca = /* @__PURE__ */ new WeakMap(), ft = gt.createTreeWalker(gt, 129);
268
268
  function qa(n, e) {
269
269
  if (!Zo(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
270
270
  return ka !== void 0 ? ka.createHTML(e) : e;
271
271
  }
272
272
  const Ua = (n, e) => {
273
273
  const t = n.length - 1, r = [];
274
- let o, a = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", i = xr;
274
+ let o, a = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", i = kr;
275
275
  for (let c = 0; c < t; c++) {
276
276
  const d = n[c];
277
277
  let u, h, p = -1, b = 0;
278
- for (; b < d.length && (i.lastIndex = b, h = i.exec(d), h !== null); ) b = i.lastIndex, i === xr ? h[1] === "!--" ? i = wa : h[1] !== void 0 ? i = $a : h[2] !== void 0 ? (Na.test(h[2]) && (o = RegExp("</" + h[2], "g")), i = ht) : h[3] !== void 0 && (i = ht) : i === ht ? h[0] === ">" ? (i = o ?? xr, p = -1) : h[1] === void 0 ? p = -2 : (p = i.lastIndex - h[2].length, u = h[1], i = h[3] === void 0 ? ht : h[3] === '"' ? _a : za) : i === _a || i === za ? i = ht : i === wa || i === $a ? i = xr : (i = ht, o = void 0);
279
- const f = i === ht && n[c + 1].startsWith("/>") ? " " : "";
280
- a += i === xr ? d + bi : p >= 0 ? (r.push(u), d.slice(0, p) + Go + d.slice(p) + xe + f) : d + xe + (p === -2 ? c : f);
278
+ for (; b < d.length && (i.lastIndex = b, h = i.exec(d), h !== null); ) b = i.lastIndex, i === kr ? h[1] === "!--" ? i = wa : h[1] !== void 0 ? i = $a : h[2] !== void 0 ? (Na.test(h[2]) && (o = RegExp("</" + h[2], "g")), i = mt) : h[3] !== void 0 && (i = mt) : i === mt ? h[0] === ">" ? (i = o ?? kr, p = -1) : h[1] === void 0 ? p = -2 : (p = i.lastIndex - h[2].length, u = h[1], i = h[3] === void 0 ? mt : h[3] === '"' ? _a : za) : i === _a || i === za ? i = mt : i === wa || i === $a ? i = kr : (i = mt, o = void 0);
279
+ const f = i === mt && n[c + 1].startsWith("/>") ? " " : "";
280
+ a += i === kr ? d + bi : p >= 0 ? (r.push(u), d.slice(0, p) + Go + d.slice(p) + xe + f) : d + xe + (p === -2 ? c : f);
281
281
  }
282
282
  return [qa(n, a + (n[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), r];
283
283
  };
284
- class Er {
284
+ class Or {
285
285
  constructor({ strings: e, _$litType$: t }, r) {
286
286
  let o;
287
287
  this.parts = [];
288
288
  let a = 0, i = 0;
289
289
  const c = e.length - 1, d = this.parts, [u, h] = Ua(e, t);
290
- if (this.el = Er.createElement(u, r), vt.currentNode = this.el.content, t === 2 || t === 3) {
290
+ if (this.el = Or.createElement(u, r), ft.currentNode = this.el.content, t === 2 || t === 3) {
291
291
  const p = this.el.content.firstChild;
292
292
  p.replaceWith(...p.childNodes);
293
293
  }
294
- for (; (o = vt.nextNode()) !== null && d.length < c; ) {
294
+ for (; (o = ft.nextNode()) !== null && d.length < c; ) {
295
295
  if (o.nodeType === 1) {
296
296
  if (o.hasAttributes()) for (const p of o.getAttributeNames()) if (p.endsWith(Go)) {
297
297
  const b = h[i++], f = o.getAttribute(p).split(xe), k = /([.?@])?(.*)/.exec(b);
298
- d.push({ type: 1, index: a, name: k[2], strings: f, ctor: k[1] === "." ? Ha : k[1] === "?" ? Ka : k[1] === "@" ? Ya : Or }), o.removeAttribute(p);
298
+ d.push({ type: 1, index: a, name: k[2], strings: f, ctor: k[1] === "." ? Ha : k[1] === "?" ? Ka : k[1] === "@" ? Ya : Dr }), o.removeAttribute(p);
299
299
  } else p.startsWith(xe) && (d.push({ type: 6, index: a }), o.removeAttribute(p));
300
300
  if (Na.test(o.tagName)) {
301
301
  const p = o.textContent.split(xe), b = p.length - 1;
302
302
  if (b > 0) {
303
- o.textContent = so ? so.emptyScript : "";
304
- for (let f = 0; f < b; f++) o.append(p[f], Cr()), vt.nextNode(), d.push({ type: 2, index: ++a });
305
- o.append(p[b], Cr());
303
+ o.textContent = no ? no.emptyScript : "";
304
+ for (let f = 0; f < b; f++) o.append(p[f], Er()), ft.nextNode(), d.push({ type: 2, index: ++a });
305
+ o.append(p[b], Er());
306
306
  }
307
307
  }
308
308
  } else if (o.nodeType === 8) if (o.data === Qo) d.push({ type: 2, index: a });
@@ -314,15 +314,15 @@ class Er {
314
314
  }
315
315
  }
316
316
  static createElement(e, t) {
317
- const r = bt.createElement("template");
317
+ const r = gt.createElement("template");
318
318
  return r.innerHTML = e, r;
319
319
  }
320
320
  }
321
- function ft(n, e, t = n, r) {
321
+ function xt(n, e, t = n, r) {
322
322
  if (e === ye) return e;
323
323
  let o = r !== void 0 ? t._$Co?.[r] : t._$Cl;
324
- const a = Sr(e) ? void 0 : e._$litDirective$;
325
- return o?.constructor !== a && (o?._$AO?.(!1), a === void 0 ? o = void 0 : (o = new a(n), o._$AT(n, t, r)), r !== void 0 ? (t._$Co ??= [])[r] = o : t._$Cl = o), o !== void 0 && (e = ft(n, o._$AS(n, e.values), o, r)), e;
324
+ const a = Pr(e) ? void 0 : e._$litDirective$;
325
+ return o?.constructor !== a && (o?._$AO?.(!1), a === void 0 ? o = void 0 : (o = new a(n), o._$AT(n, t, r)), r !== void 0 ? (t._$Co ??= [])[r] = o : t._$Cl = o), o !== void 0 && (e = xt(n, o._$AS(n, e.values), o, r)), e;
326
326
  }
327
327
  class Va {
328
328
  constructor(e, t) {
@@ -335,24 +335,24 @@ class Va {
335
335
  return this._$AM._$AU;
336
336
  }
337
337
  u(e) {
338
- const { el: { content: t }, parts: r } = this._$AD, o = (e?.creationScope ?? bt).importNode(t, !0);
339
- vt.currentNode = o;
340
- let a = vt.nextNode(), i = 0, c = 0, d = r[0];
338
+ const { el: { content: t }, parts: r } = this._$AD, o = (e?.creationScope ?? gt).importNode(t, !0);
339
+ ft.currentNode = o;
340
+ let a = ft.nextNode(), i = 0, c = 0, d = r[0];
341
341
  for (; d !== void 0; ) {
342
342
  if (i === d.index) {
343
343
  let u;
344
- d.type === 2 ? u = new Xt(a, a.nextSibling, this, e) : d.type === 1 ? u = new d.ctor(a, d.name, d.strings, this, e) : d.type === 6 && (u = new Xa(a, this, e)), this._$AV.push(u), d = r[++c];
344
+ d.type === 2 ? u = new Gt(a, a.nextSibling, this, e) : d.type === 1 ? u = new d.ctor(a, d.name, d.strings, this, e) : d.type === 6 && (u = new Xa(a, this, e)), this._$AV.push(u), d = r[++c];
345
345
  }
346
- i !== d?.index && (a = vt.nextNode(), i++);
346
+ i !== d?.index && (a = ft.nextNode(), i++);
347
347
  }
348
- return vt.currentNode = bt, o;
348
+ return ft.currentNode = gt, o;
349
349
  }
350
350
  p(e) {
351
351
  let t = 0;
352
352
  for (const r of this._$AV) r !== void 0 && (r.strings !== void 0 ? (r._$AI(e, r, t), t += r.strings.length - 2) : r._$AI(e[t])), t++;
353
353
  }
354
354
  }
355
- class Xt {
355
+ class Gt {
356
356
  get _$AU() {
357
357
  return this._$AM?._$AU ?? this._$Cv;
358
358
  }
@@ -371,7 +371,7 @@ class Xt {
371
371
  return this._$AB;
372
372
  }
373
373
  _$AI(e, t = this) {
374
- e = ft(this, e, t), Sr(e) ? e === m || e == null || e === "" ? (this._$AH !== m && this._$AR(), this._$AH = m) : e !== this._$AH && e !== ye && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Ra(e) ? this.k(e) : this._(e);
374
+ e = xt(this, e, t), Pr(e) ? e === m || e == null || e === "" ? (this._$AH !== m && this._$AR(), this._$AH = m) : e !== this._$AH && e !== ye && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Ra(e) ? this.k(e) : this._(e);
375
375
  }
376
376
  O(e) {
377
377
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -380,10 +380,10 @@ class Xt {
380
380
  this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
381
381
  }
382
382
  _(e) {
383
- this._$AH !== m && Sr(this._$AH) ? this._$AA.nextSibling.data = e : this.T(bt.createTextNode(e)), this._$AH = e;
383
+ this._$AH !== m && Pr(this._$AH) ? this._$AA.nextSibling.data = e : this.T(gt.createTextNode(e)), this._$AH = e;
384
384
  }
385
385
  $(e) {
386
- const { values: t, _$litType$: r } = e, o = typeof r == "number" ? this._$AC(e) : (r.el === void 0 && (r.el = Er.createElement(qa(r.h, r.h[0]), this.options)), r);
386
+ const { values: t, _$litType$: r } = e, o = typeof r == "number" ? this._$AC(e) : (r.el === void 0 && (r.el = Or.createElement(qa(r.h, r.h[0]), this.options)), r);
387
387
  if (this._$AH?._$AD === o) this._$AH.p(t);
388
388
  else {
389
389
  const a = new Va(o, this), i = a.u(this.options);
@@ -392,13 +392,13 @@ class Xt {
392
392
  }
393
393
  _$AC(e) {
394
394
  let t = Ca.get(e.strings);
395
- return t === void 0 && Ca.set(e.strings, t = new Er(e)), t;
395
+ return t === void 0 && Ca.set(e.strings, t = new Or(e)), t;
396
396
  }
397
397
  k(e) {
398
398
  Zo(this._$AH) || (this._$AH = [], this._$AR());
399
399
  const t = this._$AH;
400
400
  let r, o = 0;
401
- for (const a of e) o === t.length ? t.push(r = new Xt(this.O(Cr()), this.O(Cr()), this, this.options)) : r = t[o], r._$AI(a), o++;
401
+ for (const a of e) o === t.length ? t.push(r = new Gt(this.O(Er()), this.O(Er()), this, this.options)) : r = t[o], r._$AI(a), o++;
402
402
  o < t.length && (this._$AR(r && r._$AB.nextSibling, o), t.length = o);
403
403
  }
404
404
  _$AR(e = this._$AA.nextSibling, t) {
@@ -411,7 +411,7 @@ class Xt {
411
411
  this._$AM === void 0 && (this._$Cv = e, this._$AP?.(e));
412
412
  }
413
413
  }
414
- class Or {
414
+ class Dr {
415
415
  get tagName() {
416
416
  return this.element.tagName;
417
417
  }
@@ -424,11 +424,11 @@ class Or {
424
424
  _$AI(e, t = this, r, o) {
425
425
  const a = this.strings;
426
426
  let i = !1;
427
- if (a === void 0) e = ft(this, e, t, 0), i = !Sr(e) || e !== this._$AH && e !== ye, i && (this._$AH = e);
427
+ if (a === void 0) e = xt(this, e, t, 0), i = !Pr(e) || e !== this._$AH && e !== ye, i && (this._$AH = e);
428
428
  else {
429
429
  const c = e;
430
430
  let d, u;
431
- for (e = a[0], d = 0; d < a.length - 1; d++) u = ft(this, c[r + d], t, d), u === ye && (u = this._$AH[d]), i ||= !Sr(u) || u !== this._$AH[d], u === m ? e = m : e !== m && (e += (u ?? "") + a[d + 1]), this._$AH[d] = u;
431
+ for (e = a[0], d = 0; d < a.length - 1; d++) u = xt(this, c[r + d], t, d), u === ye && (u = this._$AH[d]), i ||= !Pr(u) || u !== this._$AH[d], u === m ? e = m : e !== m && (e += (u ?? "") + a[d + 1]), this._$AH[d] = u;
432
432
  }
433
433
  i && !o && this.j(e);
434
434
  }
@@ -436,7 +436,7 @@ class Or {
436
436
  e === m ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
437
437
  }
438
438
  }
439
- class Ha extends Or {
439
+ class Ha extends Dr {
440
440
  constructor() {
441
441
  super(...arguments), this.type = 3;
442
442
  }
@@ -444,7 +444,7 @@ class Ha extends Or {
444
444
  this.element[this.name] = e === m ? void 0 : e;
445
445
  }
446
446
  }
447
- class Ka extends Or {
447
+ class Ka extends Dr {
448
448
  constructor() {
449
449
  super(...arguments), this.type = 4;
450
450
  }
@@ -452,12 +452,12 @@ class Ka extends Or {
452
452
  this.element.toggleAttribute(this.name, !!e && e !== m);
453
453
  }
454
454
  }
455
- class Ya extends Or {
455
+ class Ya extends Dr {
456
456
  constructor(e, t, r, o, a) {
457
457
  super(e, t, r, o, a), this.type = 5;
458
458
  }
459
459
  _$AI(e, t = this) {
460
- if ((e = ft(this, e, t, 0) ?? m) === ye) return;
460
+ if ((e = xt(this, e, t, 0) ?? m) === ye) return;
461
461
  const r = this._$AH, o = e === m && r !== m || e.capture !== r.capture || e.once !== r.once || e.passive !== r.passive, a = e !== m && (r === m || o);
462
462
  o && this.element.removeEventListener(this.name, this, r), a && this.element.addEventListener(this.name, this, e), this._$AH = e;
463
463
  }
@@ -473,17 +473,17 @@ class Xa {
473
473
  return this._$AM._$AU;
474
474
  }
475
475
  _$AI(e) {
476
- ft(this, e);
476
+ xt(this, e);
477
477
  }
478
478
  }
479
- const fi = { M: Go, P: xe, A: Qo, C: 1, L: Ua, R: Va, D: Ra, V: ft, I: Xt, H: Or, N: Ka, U: Ya, B: Ha, F: Xa }, gi = Wo.litHtmlPolyfillSupport;
480
- gi?.(Er, Xt), (Wo.litHtmlVersions ??= []).push("3.3.3");
481
- const lo = (n, e, t) => {
479
+ const fi = { M: Go, P: xe, A: Qo, C: 1, L: Ua, R: Va, D: Ra, V: xt, I: Gt, H: Dr, N: Ka, U: Ya, B: Ha, F: Xa }, gi = Wo.litHtmlPolyfillSupport;
480
+ gi?.(Or, Gt), (Wo.litHtmlVersions ??= []).push("3.3.3");
481
+ const co = (n, e, t) => {
482
482
  const r = t?.renderBefore ?? e;
483
483
  let o = r._$litPart$;
484
484
  if (o === void 0) {
485
485
  const a = t?.renderBefore ?? null;
486
- r._$litPart$ = o = new Xt(e.insertBefore(Cr(), a), a, void 0, t ?? {});
486
+ r._$litPart$ = o = new Gt(e.insertBefore(Er(), a), a, void 0, t ?? {});
487
487
  }
488
488
  return o._$AI(n), o;
489
489
  };
@@ -493,7 +493,7 @@ const lo = (n, e, t) => {
493
493
  * SPDX-License-Identifier: BSD-3-Clause
494
494
  */
495
495
  const ea = globalThis;
496
- let g = class extends Ht {
496
+ let g = class extends Yt {
497
497
  constructor() {
498
498
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
499
499
  }
@@ -503,7 +503,7 @@ let g = class extends Ht {
503
503
  }
504
504
  update(e) {
505
505
  const t = this.render();
506
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = lo(t, this.renderRoot, this.renderOptions);
506
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = co(t, this.renderRoot, this.renderOptions);
507
507
  }
508
508
  connectedCallback() {
509
509
  super.connectedCallback(), this._$Do?.setConnected(!0);
@@ -534,7 +534,7 @@ xi?.({ LitElement: g });
534
534
  * Copyright 2017 Google LLC
535
535
  * SPDX-License-Identifier: BSD-3-Clause
536
536
  */
537
- const yi = { attribute: !0, type: String, converter: io, reflect: !1, hasChanged: Xo }, ki = (n = yi, e, t) => {
537
+ const yi = { attribute: !0, type: String, converter: so, reflect: !1, hasChanged: Xo }, ki = (n = yi, e, t) => {
538
538
  const { kind: r, metadata: o } = t;
539
539
  let a = globalThis.litPropertyMetadata.get(o);
540
540
  if (a === void 0 && globalThis.litPropertyMetadata.set(o, a = /* @__PURE__ */ new Map()), r === "setter" && ((n = Object.create(n)).wrapped = !0), a.set(t.name, n), r === "accessor") {
@@ -642,7 +642,7 @@ function _i() {
642
642
  clear: () => Promise.resolve()
643
643
  };
644
644
  }
645
- function yr(n) {
645
+ function wr(n) {
646
646
  return new Promise((e, t) => {
647
647
  n.onsuccess = () => e(n.result), n.onerror = () => t(n.error);
648
648
  });
@@ -672,7 +672,7 @@ function Ci(n = wi, e = $i) {
672
672
  return o(
673
673
  "readonly",
674
674
  async (a) => {
675
- const i = await yr(a.getAllKeys()), c = await yr(a.getAll()), d = [];
675
+ const i = await wr(a.getAllKeys()), c = await wr(a.getAll()), d = [];
676
676
  for (let u = 0; u < i.length; u++)
677
677
  d.push([String(i[u]), c[u]]);
678
678
  return d;
@@ -684,7 +684,7 @@ function Ci(n = wi, e = $i) {
684
684
  return o(
685
685
  "readwrite",
686
686
  async (c) => {
687
- await yr(c.put(i, a));
687
+ await wr(c.put(i, a));
688
688
  },
689
689
  void 0
690
690
  );
@@ -693,7 +693,7 @@ function Ci(n = wi, e = $i) {
693
693
  return o(
694
694
  "readwrite",
695
695
  async (i) => {
696
- await yr(i.delete(a));
696
+ await wr(i.delete(a));
697
697
  },
698
698
  void 0
699
699
  );
@@ -702,7 +702,7 @@ function Ci(n = wi, e = $i) {
702
702
  return o(
703
703
  "readwrite",
704
704
  async (a) => {
705
- await yr(a.clear());
705
+ await wr(a.clear());
706
706
  },
707
707
  void 0
708
708
  );
@@ -868,7 +868,7 @@ let oa = class {
868
868
  * SPDX-License-Identifier: BSD-3-Clause
869
869
  */
870
870
  const { I: Oi } = fi, Ea = (n) => n;
871
- const Pa = () => document.createComment(""), kr = (n, e, t) => {
871
+ const Pa = () => document.createComment(""), $r = (n, e, t) => {
872
872
  const r = n._$AA.parentNode, o = e === void 0 ? n._$AB : e._$AA;
873
873
  if (t === void 0) {
874
874
  const a = r.insertBefore(Pa(), o), i = r.insertBefore(Pa(), o);
@@ -888,7 +888,7 @@ const Pa = () => document.createComment(""), kr = (n, e, t) => {
888
888
  }
889
889
  }
890
890
  return t;
891
- }, ut = (n, e, t = n) => (n._$AI(e, t), n), Mi = {}, Di = (n, e = Mi) => n._$AH = e, Ai = (n) => n._$AH, Mo = (n) => {
891
+ }, vt = (n, e, t = n) => (n._$AI(e, t), n), Mi = {}, Di = (n, e = Mi) => n._$AH = e, Ai = (n) => n._$AH, Mo = (n) => {
892
892
  n._$AR(), n._$AA.remove();
893
893
  };
894
894
  /**
@@ -900,7 +900,7 @@ const Oa = (n, e, t) => {
900
900
  const r = /* @__PURE__ */ new Map();
901
901
  for (let o = e; o <= t; o++) r.set(n[o], o);
902
902
  return r;
903
- }, Pr = ra(class extends oa {
903
+ }, Mr = ra(class extends oa {
904
904
  constructor(n) {
905
905
  if (super(n), n.type !== ta.CHILD) throw Error("repeat() can only be used in text expressions");
906
906
  }
@@ -922,22 +922,22 @@ const Oa = (n, e, t) => {
922
922
  let u, h, p = 0, b = o.length - 1, f = 0, k = a.length - 1;
923
923
  for (; p <= b && f <= k; ) if (o[p] === null) p++;
924
924
  else if (o[b] === null) b--;
925
- else if (c[p] === i[f]) d[f] = ut(o[p], a[f]), p++, f++;
926
- else if (c[b] === i[k]) d[k] = ut(o[b], a[k]), b--, k--;
927
- else if (c[p] === i[k]) d[k] = ut(o[p], a[k]), kr(n, d[k + 1], o[p]), p++, k--;
928
- else if (c[b] === i[f]) d[f] = ut(o[b], a[f]), kr(n, o[p], o[b]), b--, f++;
925
+ else if (c[p] === i[f]) d[f] = vt(o[p], a[f]), p++, f++;
926
+ else if (c[b] === i[k]) d[k] = vt(o[b], a[k]), b--, k--;
927
+ else if (c[p] === i[k]) d[k] = vt(o[p], a[k]), $r(n, d[k + 1], o[p]), p++, k--;
928
+ else if (c[b] === i[f]) d[f] = vt(o[b], a[f]), $r(n, o[p], o[b]), b--, f++;
929
929
  else if (u === void 0 && (u = Oa(i, f, k), h = Oa(c, p, b)), u.has(c[p])) if (u.has(c[b])) {
930
930
  const $ = h.get(i[f]), O = $ !== void 0 ? o[$] : null;
931
931
  if (O === null) {
932
- const w = kr(n, o[p]);
933
- ut(w, a[f]), d[f] = w;
934
- } else d[f] = ut(O, a[f]), kr(n, o[p], O), o[$] = null;
932
+ const w = $r(n, o[p]);
933
+ vt(w, a[f]), d[f] = w;
934
+ } else d[f] = vt(O, a[f]), $r(n, o[p], O), o[$] = null;
935
935
  f++;
936
936
  } else Mo(o[b]), b--;
937
937
  else Mo(o[p]), p++;
938
938
  for (; f <= k; ) {
939
- const $ = kr(n, d[k + 1]);
940
- ut($, a[f]), d[f++] = $;
939
+ const $ = $r(n, d[k + 1]);
940
+ vt($, a[f]), d[f++] = $;
941
941
  }
942
942
  for (; p <= b; ) {
943
943
  const $ = o[p++];
@@ -1513,13 +1513,14 @@ class _ extends g {
1513
1513
  <ion-select
1514
1514
  label=${e.header}
1515
1515
  label-placement="stacked"
1516
+ fill="outline"
1516
1517
  ?multiple=${o}
1517
1518
  interface="modal"
1518
1519
  .interfaceOptions=${{ cssClass: "ok-overlay" }}
1519
- placeholder=${e.header}
1520
+ placeholder=${this.t.select}
1520
1521
  @ionChange=${(i) => this.onFilterSelect(e, i.detail.value, o)}
1521
1522
  >
1522
- ${o ? m : s`<ion-select-option value="">${e.header}</ion-select-option>`}
1523
+ ${o ? m : s`<ion-select-option value="">${this.t.select}</ion-select-option>`}
1523
1524
  ${a.map((i) => s`<ion-select-option value=${i.value}>${i.label}</ion-select-option>`)}
1524
1525
  </ion-select>
1525
1526
  `;
@@ -1870,7 +1871,7 @@ class _ extends g {
1870
1871
  </div>
1871
1872
 
1872
1873
  <!-- Filas -->
1873
- ${Pr(
1874
+ ${Mr(
1874
1875
  e,
1875
1876
  (i) => this.keyOf(i),
1876
1877
  (i) => {
@@ -1895,7 +1896,7 @@ class _ extends g {
1895
1896
  const t = !!this.cardTitle || !!this.cardIcon || this.selectable;
1896
1897
  return s`
1897
1898
  <div class="cards-grid">
1898
- ${Pr(
1899
+ ${Mr(
1899
1900
  e,
1900
1901
  (r) => this.keyOf(r),
1901
1902
  (r) => {
@@ -2068,7 +2069,7 @@ C([
2068
2069
  v()
2069
2070
  ], _.prototype, "menuOpen", 2);
2070
2071
  y("ok-data-table", _);
2071
- var Bi = Object.defineProperty, Fi = Object.getOwnPropertyDescriptor, gt = (n, e, t, r) => {
2072
+ var Bi = Object.defineProperty, Fi = Object.getOwnPropertyDescriptor, yt = (n, e, t, r) => {
2072
2073
  for (var o = r > 1 ? void 0 : r ? Fi(e, t) : e, a = n.length - 1, i; a >= 0; a--)
2073
2074
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
2074
2075
  return r && o && Bi(e, t, o), o;
@@ -2088,7 +2089,7 @@ const Ri = {
2088
2089
  delete: "Delete",
2089
2090
  to: "To:"
2090
2091
  };
2091
- class qe extends g {
2092
+ class Ue extends g {
2092
2093
  constructor() {
2093
2094
  super(...arguments), this.folders = [], this.messages = [], this.activeFolder = "", this.activeMessage = "", this.searchable = !0, this.labels = {}, this.q = "", this.onSearch = (e) => {
2094
2095
  const t = e.target.value ?? "";
@@ -2442,7 +2443,7 @@ class qe extends g {
2442
2443
  renderTabs() {
2443
2444
  return s`
2444
2445
  <nav class="tabs" role="tablist">
2445
- ${Pr(
2446
+ ${Mr(
2446
2447
  this.folders,
2447
2448
  (e) => e.id,
2448
2449
  (e) => s`
@@ -2467,7 +2468,7 @@ class qe extends g {
2467
2468
  return s`
2468
2469
  <section class="list">
2469
2470
  <div class="msg-list">
2470
- ${e.length === 0 ? s`<div class="empty-wrap"><ok-empty-state icon="mail-outline" heading=${this.t.noMessages}></ok-empty-state></div>` : Pr(
2471
+ ${e.length === 0 ? s`<div class="empty-wrap"><ok-empty-state icon="mail-outline" heading=${this.t.noMessages}></ok-empty-state></div>` : Mr(
2471
2472
  e,
2472
2473
  (t) => t.id,
2473
2474
  (t) => {
@@ -2569,29 +2570,29 @@ class qe extends g {
2569
2570
  `;
2570
2571
  }
2571
2572
  }
2572
- gt([
2573
+ yt([
2573
2574
  l({ attribute: !1 })
2574
- ], qe.prototype, "folders", 2);
2575
- gt([
2575
+ ], Ue.prototype, "folders", 2);
2576
+ yt([
2576
2577
  l({ attribute: !1 })
2577
- ], qe.prototype, "messages", 2);
2578
- gt([
2578
+ ], Ue.prototype, "messages", 2);
2579
+ yt([
2579
2580
  l({ attribute: "active-folder" })
2580
- ], qe.prototype, "activeFolder", 2);
2581
- gt([
2581
+ ], Ue.prototype, "activeFolder", 2);
2582
+ yt([
2582
2583
  l({ attribute: "active-message" })
2583
- ], qe.prototype, "activeMessage", 2);
2584
- gt([
2584
+ ], Ue.prototype, "activeMessage", 2);
2585
+ yt([
2585
2586
  l({ type: Boolean })
2586
- ], qe.prototype, "searchable", 2);
2587
- gt([
2587
+ ], Ue.prototype, "searchable", 2);
2588
+ yt([
2588
2589
  l({ attribute: !1 })
2589
- ], qe.prototype, "labels", 2);
2590
- gt([
2590
+ ], Ue.prototype, "labels", 2);
2591
+ yt([
2591
2592
  v()
2592
- ], qe.prototype, "q", 2);
2593
- y("ok-mail", qe);
2594
- var Ni = Object.defineProperty, qi = Object.getOwnPropertyDescriptor, Mr = (n, e, t, r) => {
2593
+ ], Ue.prototype, "q", 2);
2594
+ y("ok-mail", Ue);
2595
+ var Ni = Object.defineProperty, qi = Object.getOwnPropertyDescriptor, Ar = (n, e, t, r) => {
2595
2596
  for (var o = r > 1 ? void 0 : r ? qi(e, t) : e, a = n.length - 1, i; a >= 0; a--)
2596
2597
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
2597
2598
  return r && o && Ni(e, t, o), o;
@@ -2600,7 +2601,7 @@ const Ui = {
2600
2601
  expand: "Expand",
2601
2602
  collapse: "Collapse"
2602
2603
  };
2603
- class Wt extends g {
2604
+ class Qt extends g {
2604
2605
  constructor() {
2605
2606
  super(...arguments), this.nodes = [], this.selectable = !1, this.activeId = "", this.labels = {}, this.expandedIds = /* @__PURE__ */ new Set(), this.seeded = !1;
2606
2607
  }
@@ -2810,23 +2811,23 @@ class Wt extends g {
2810
2811
  </ul>`;
2811
2812
  }
2812
2813
  }
2813
- Mr([
2814
+ Ar([
2814
2815
  l({ attribute: !1 })
2815
- ], Wt.prototype, "nodes", 2);
2816
- Mr([
2816
+ ], Qt.prototype, "nodes", 2);
2817
+ Ar([
2817
2818
  l({ type: Boolean })
2818
- ], Wt.prototype, "selectable", 2);
2819
- Mr([
2819
+ ], Qt.prototype, "selectable", 2);
2820
+ Ar([
2820
2821
  l({ attribute: "active-id" })
2821
- ], Wt.prototype, "activeId", 2);
2822
- Mr([
2822
+ ], Qt.prototype, "activeId", 2);
2823
+ Ar([
2823
2824
  l({ attribute: !1 })
2824
- ], Wt.prototype, "labels", 2);
2825
- Mr([
2825
+ ], Qt.prototype, "labels", 2);
2826
+ Ar([
2826
2827
  v()
2827
- ], Wt.prototype, "expandedIds", 2);
2828
- y("ok-tree", Wt);
2829
- var Vi = Object.defineProperty, Hi = Object.getOwnPropertyDescriptor, xt = (n, e, t, r) => {
2828
+ ], Qt.prototype, "expandedIds", 2);
2829
+ y("ok-tree", Qt);
2830
+ var Vi = Object.defineProperty, Hi = Object.getOwnPropertyDescriptor, kt = (n, e, t, r) => {
2830
2831
  for (var o = r > 1 ? void 0 : r ? Hi(e, t) : e, a = n.length - 1, i; a >= 0; a--)
2831
2832
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
2832
2833
  return r && o && Vi(e, t, o), o;
@@ -2834,7 +2835,7 @@ var Vi = Object.defineProperty, Hi = Object.getOwnPropertyDescriptor, xt = (n, e
2834
2835
  const Ki = {
2835
2836
  dismiss: "Dismiss"
2836
2837
  };
2837
- class Ue extends g {
2838
+ class Ve extends g {
2838
2839
  constructor() {
2839
2840
  super(...arguments), this.tone = "info", this.dismissible = !1, this.hidden = !1, this.labels = {}, this.hasActions = !1, this.onActionsSlotChange = (e) => {
2840
2841
  const t = e.target;
@@ -3008,34 +3009,34 @@ class Ue extends g {
3008
3009
  `;
3009
3010
  }
3010
3011
  }
3011
- xt([
3012
+ kt([
3012
3013
  l({ type: String, reflect: !0 })
3013
- ], Ue.prototype, "tone", 2);
3014
- xt([
3014
+ ], Ve.prototype, "tone", 2);
3015
+ kt([
3015
3016
  l({ type: String })
3016
- ], Ue.prototype, "heading", 2);
3017
- xt([
3017
+ ], Ve.prototype, "heading", 2);
3018
+ kt([
3018
3019
  l({ type: String })
3019
- ], Ue.prototype, "icon", 2);
3020
- xt([
3020
+ ], Ve.prototype, "icon", 2);
3021
+ kt([
3021
3022
  l({ type: Boolean, reflect: !0 })
3022
- ], Ue.prototype, "dismissible", 2);
3023
- xt([
3023
+ ], Ve.prototype, "dismissible", 2);
3024
+ kt([
3024
3025
  l({ type: Boolean, reflect: !0 })
3025
- ], Ue.prototype, "hidden", 2);
3026
- xt([
3026
+ ], Ve.prototype, "hidden", 2);
3027
+ kt([
3027
3028
  l({ attribute: !1 })
3028
- ], Ue.prototype, "labels", 2);
3029
- xt([
3029
+ ], Ve.prototype, "labels", 2);
3030
+ kt([
3030
3031
  v()
3031
- ], Ue.prototype, "hasActions", 2);
3032
- y("ok-inline-feedback", Ue);
3032
+ ], Ve.prototype, "hasActions", 2);
3033
+ y("ok-inline-feedback", Ve);
3033
3034
  var Yi = Object.defineProperty, Xi = Object.getOwnPropertyDescriptor, aa = (n, e, t, r) => {
3034
3035
  for (var o = r > 1 ? void 0 : r ? Xi(e, t) : e, a = n.length - 1, i; a >= 0; a--)
3035
3036
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
3036
3037
  return r && o && Yi(e, t, o), o;
3037
3038
  };
3038
- class co extends g {
3039
+ class po extends g {
3039
3040
  constructor() {
3040
3041
  super(...arguments), this.icon = "file-tray-outline";
3041
3042
  }
@@ -3115,20 +3116,20 @@ class co extends g {
3115
3116
  }
3116
3117
  aa([
3117
3118
  l()
3118
- ], co.prototype, "icon", 2);
3119
+ ], po.prototype, "icon", 2);
3119
3120
  aa([
3120
3121
  l()
3121
- ], co.prototype, "heading", 2);
3122
+ ], po.prototype, "heading", 2);
3122
3123
  aa([
3123
3124
  l()
3124
- ], co.prototype, "message", 2);
3125
- y("ok-empty-state", co);
3126
- var Wi = Object.defineProperty, Gi = Object.getOwnPropertyDescriptor, Dr = (n, e, t, r) => {
3125
+ ], po.prototype, "message", 2);
3126
+ y("ok-empty-state", po);
3127
+ var Wi = Object.defineProperty, Gi = Object.getOwnPropertyDescriptor, jr = (n, e, t, r) => {
3127
3128
  for (var o = r > 1 ? void 0 : r ? Gi(e, t) : e, a = n.length - 1, i; a >= 0; a--)
3128
3129
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
3129
3130
  return r && o && Wi(e, t, o), o;
3130
3131
  };
3131
- class Gt extends g {
3132
+ class Zt extends g {
3132
3133
  constructor() {
3133
3134
  super(...arguments), this.trend = "flat";
3134
3135
  }
@@ -3241,28 +3242,28 @@ class Gt extends g {
3241
3242
  `;
3242
3243
  }
3243
3244
  }
3244
- Dr([
3245
+ jr([
3245
3246
  l()
3246
- ], Gt.prototype, "label", 2);
3247
- Dr([
3247
+ ], Zt.prototype, "label", 2);
3248
+ jr([
3248
3249
  l()
3249
- ], Gt.prototype, "value", 2);
3250
- Dr([
3250
+ ], Zt.prototype, "value", 2);
3251
+ jr([
3251
3252
  l()
3252
- ], Gt.prototype, "delta", 2);
3253
- Dr([
3253
+ ], Zt.prototype, "delta", 2);
3254
+ jr([
3254
3255
  l()
3255
- ], Gt.prototype, "trend", 2);
3256
- Dr([
3256
+ ], Zt.prototype, "trend", 2);
3257
+ jr([
3257
3258
  l()
3258
- ], Gt.prototype, "icon", 2);
3259
- y("ok-kpi", Gt);
3259
+ ], Zt.prototype, "icon", 2);
3260
+ y("ok-kpi", Zt);
3260
3261
  var Qi = Object.defineProperty, Zi = Object.getOwnPropertyDescriptor, ia = (n, e, t, r) => {
3261
3262
  for (var o = r > 1 ? void 0 : r ? Zi(e, t) : e, a = n.length - 1, i; a >= 0; a--)
3262
3263
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
3263
3264
  return r && o && Qi(e, t, o), o;
3264
3265
  };
3265
- class po extends g {
3266
+ class ho extends g {
3266
3267
  static {
3267
3268
  this.styles = x`
3268
3269
  :host {
@@ -3316,14 +3317,14 @@ class po extends g {
3316
3317
  }
3317
3318
  ia([
3318
3319
  l()
3319
- ], po.prototype, "label", 2);
3320
+ ], ho.prototype, "label", 2);
3320
3321
  ia([
3321
3322
  l()
3322
- ], po.prototype, "value", 2);
3323
+ ], ho.prototype, "value", 2);
3323
3324
  ia([
3324
3325
  l()
3325
- ], po.prototype, "hint", 2);
3326
- y("ok-stat", po);
3326
+ ], ho.prototype, "hint", 2);
3327
+ y("ok-stat", ho);
3327
3328
  var Ji = Object.defineProperty, es = Object.getOwnPropertyDescriptor, sa = (n, e, t, r) => {
3328
3329
  for (var o = r > 1 ? void 0 : r ? es(e, t) : e, a = n.length - 1, i; a >= 0; a--)
3329
3330
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
@@ -3332,7 +3333,7 @@ var Ji = Object.defineProperty, es = Object.getOwnPropertyDescriptor, sa = (n, e
3332
3333
  const ts = {
3333
3334
  stepCount: "Step {n} of {total}"
3334
3335
  };
3335
- class ho extends g {
3336
+ class uo extends g {
3336
3337
  constructor() {
3337
3338
  super(...arguments), this.steps = [], this.current = 0, this.labels = {};
3338
3339
  }
@@ -3599,20 +3600,20 @@ class ho extends g {
3599
3600
  }
3600
3601
  sa([
3601
3602
  l({ attribute: !1 })
3602
- ], ho.prototype, "steps", 2);
3603
+ ], uo.prototype, "steps", 2);
3603
3604
  sa([
3604
3605
  l({ type: Number })
3605
- ], ho.prototype, "current", 2);
3606
+ ], uo.prototype, "current", 2);
3606
3607
  sa([
3607
3608
  l({ attribute: !1 })
3608
- ], ho.prototype, "labels", 2);
3609
- y("ok-stepper", ho);
3610
- var rs = Object.defineProperty, os = Object.getOwnPropertyDescriptor, Ar = (n, e, t, r) => {
3609
+ ], uo.prototype, "labels", 2);
3610
+ y("ok-stepper", uo);
3611
+ var rs = Object.defineProperty, os = Object.getOwnPropertyDescriptor, Lr = (n, e, t, r) => {
3611
3612
  for (var o = r > 1 ? void 0 : r ? os(e, t) : e, a = n.length - 1, i; a >= 0; a--)
3612
3613
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
3613
3614
  return r && o && rs(e, t, o), o;
3614
3615
  };
3615
- class Qt extends g {
3616
+ class Jt extends g {
3616
3617
  constructor() {
3617
3618
  super(...arguments), this.steps = [], this.current = 0, this.backLabel = "Back", this.nextLabel = "Next", this.finishLabel = "Finish";
3618
3619
  }
@@ -3723,23 +3724,23 @@ class Qt extends g {
3723
3724
  `;
3724
3725
  }
3725
3726
  }
3726
- Ar([
3727
+ Lr([
3727
3728
  l({ attribute: !1 })
3728
- ], Qt.prototype, "steps", 2);
3729
- Ar([
3729
+ ], Jt.prototype, "steps", 2);
3730
+ Lr([
3730
3731
  l({ type: Number })
3731
- ], Qt.prototype, "current", 2);
3732
- Ar([
3732
+ ], Jt.prototype, "current", 2);
3733
+ Lr([
3733
3734
  l()
3734
- ], Qt.prototype, "backLabel", 2);
3735
- Ar([
3735
+ ], Jt.prototype, "backLabel", 2);
3736
+ Lr([
3736
3737
  l()
3737
- ], Qt.prototype, "nextLabel", 2);
3738
- Ar([
3738
+ ], Jt.prototype, "nextLabel", 2);
3739
+ Lr([
3739
3740
  l()
3740
- ], Qt.prototype, "finishLabel", 2);
3741
- y("ok-wizard", Qt);
3742
- var as = Object.defineProperty, is = Object.getOwnPropertyDescriptor, yt = (n, e, t, r) => {
3741
+ ], Jt.prototype, "finishLabel", 2);
3742
+ y("ok-wizard", Jt);
3743
+ var as = Object.defineProperty, is = Object.getOwnPropertyDescriptor, wt = (n, e, t, r) => {
3743
3744
  for (var o = r > 1 ? void 0 : r ? is(e, t) : e, a = n.length - 1, i; a >= 0; a--)
3744
3745
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
3745
3746
  return r && o && as(e, t, o), o;
@@ -3752,7 +3753,7 @@ const ss = {
3752
3753
  available: "Available",
3753
3754
  empty: "Empty panel. Tap ⋮ to add widgets."
3754
3755
  };
3755
- class Ve extends g {
3756
+ class He extends g {
3756
3757
  constructor() {
3757
3758
  super(...arguments), this.widgets = [], this.presets = [], this.value = [], this.editable = !1, this.storageKey = "", this.labels = {}, this.initialized = !1, this.openConfig = () => {
3758
3759
  this.modal || this.buildModal(), this.modal?.present?.();
@@ -3815,7 +3816,7 @@ class Ve extends g {
3815
3816
  </ion-button>` : m}
3816
3817
  </div>
3817
3818
  <div class="grid">
3818
- ${e.length ? Pr(
3819
+ ${e.length ? Mr(
3819
3820
  e,
3820
3821
  (t) => t,
3821
3822
  (t) => {
@@ -3909,28 +3910,28 @@ class Ve extends g {
3909
3910
  super.disconnectedCallback(), this.modal?.remove(), this.modal = void 0;
3910
3911
  }
3911
3912
  }
3912
- yt([
3913
+ wt([
3913
3914
  l({ attribute: !1 })
3914
- ], Ve.prototype, "widgets", 2);
3915
- yt([
3915
+ ], He.prototype, "widgets", 2);
3916
+ wt([
3916
3917
  l({ attribute: !1 })
3917
- ], Ve.prototype, "presets", 2);
3918
- yt([
3918
+ ], He.prototype, "presets", 2);
3919
+ wt([
3919
3920
  l({ attribute: !1 })
3920
- ], Ve.prototype, "value", 2);
3921
- yt([
3921
+ ], He.prototype, "value", 2);
3922
+ wt([
3922
3923
  l({ type: Boolean })
3923
- ], Ve.prototype, "editable", 2);
3924
- yt([
3924
+ ], He.prototype, "editable", 2);
3925
+ wt([
3925
3926
  l({ attribute: "storage-key" })
3926
- ], Ve.prototype, "storageKey", 2);
3927
- yt([
3927
+ ], He.prototype, "storageKey", 2);
3928
+ wt([
3928
3929
  l({ attribute: !1 })
3929
- ], Ve.prototype, "labels", 2);
3930
- yt([
3930
+ ], He.prototype, "labels", 2);
3931
+ wt([
3931
3932
  v()
3932
- ], Ve.prototype, "initialized", 2);
3933
- y("ok-widget-board", Ve);
3933
+ ], He.prototype, "initialized", 2);
3934
+ y("ok-widget-board", He);
3934
3935
  var ns = Object.defineProperty, ls = Object.getOwnPropertyDescriptor, ke = (n, e, t, r) => {
3935
3936
  for (var o = r > 1 ? void 0 : r ? ls(e, t) : e, a = n.length - 1, i; a >= 0; a--)
3936
3937
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
@@ -4184,7 +4185,7 @@ ke([
4184
4185
  ], ae.prototype, "sending", 2);
4185
4186
  let ds = ae;
4186
4187
  y("ok-contact-form", ds);
4187
- var ps = Object.defineProperty, hs = Object.getOwnPropertyDescriptor, kt = (n, e, t, r) => {
4188
+ var ps = Object.defineProperty, hs = Object.getOwnPropertyDescriptor, $t = (n, e, t, r) => {
4188
4189
  for (var o = r > 1 ? void 0 : r ? hs(e, t) : e, a = n.length - 1, i; a >= 0; a--)
4189
4190
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
4190
4191
  return r && o && ps(e, t, o), o;
@@ -4197,7 +4198,7 @@ const us = {
4197
4198
  prevMonth: "Previous month",
4198
4199
  nextMonth: "Next month"
4199
4200
  }, Da = new Date(2021, 1, 1);
4200
- class He extends g {
4201
+ class Ke extends g {
4201
4202
  constructor() {
4202
4203
  super(...arguments), this.events = [], this.value = "", this.view = "month", this.maxPerDay = 3, this.locale = "en-US", this.labels = {}, this.cursor = /* @__PURE__ */ new Date(), this.seeded = !1;
4203
4204
  }
@@ -4654,29 +4655,29 @@ class He extends g {
4654
4655
  ${this.view === "agenda" ? this.renderAgenda(e) : this.renderMonth(e)}`;
4655
4656
  }
4656
4657
  }
4657
- kt([
4658
+ $t([
4658
4659
  l({ attribute: !1 })
4659
- ], He.prototype, "events", 2);
4660
- kt([
4660
+ ], Ke.prototype, "events", 2);
4661
+ $t([
4661
4662
  l()
4662
- ], He.prototype, "value", 2);
4663
- kt([
4663
+ ], Ke.prototype, "value", 2);
4664
+ $t([
4664
4665
  l()
4665
- ], He.prototype, "view", 2);
4666
- kt([
4666
+ ], Ke.prototype, "view", 2);
4667
+ $t([
4667
4668
  l({ type: Number, attribute: "max-per-day" })
4668
- ], He.prototype, "maxPerDay", 2);
4669
- kt([
4669
+ ], Ke.prototype, "maxPerDay", 2);
4670
+ $t([
4670
4671
  l()
4671
- ], He.prototype, "locale", 2);
4672
- kt([
4672
+ ], Ke.prototype, "locale", 2);
4673
+ $t([
4673
4674
  l({ attribute: !1 })
4674
- ], He.prototype, "labels", 2);
4675
- kt([
4675
+ ], Ke.prototype, "labels", 2);
4676
+ $t([
4676
4677
  v()
4677
- ], He.prototype, "cursor", 2);
4678
- y("ok-calendar", He);
4679
- var ms = Object.defineProperty, vs = Object.getOwnPropertyDescriptor, wt = (n, e, t, r) => {
4678
+ ], Ke.prototype, "cursor", 2);
4679
+ y("ok-calendar", Ke);
4680
+ var ms = Object.defineProperty, vs = Object.getOwnPropertyDescriptor, zt = (n, e, t, r) => {
4680
4681
  for (var o = r > 1 ? void 0 : r ? vs(e, t) : e, a = n.length - 1, i; a >= 0; a--)
4681
4682
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
4682
4683
  return r && o && ms(e, t, o), o;
@@ -4684,7 +4685,7 @@ var ms = Object.defineProperty, vs = Object.getOwnPropertyDescriptor, wt = (n, e
4684
4685
  const bs = {
4685
4686
  empty: "No cards"
4686
4687
  };
4687
- class Ke extends g {
4688
+ class Ye extends g {
4688
4689
  constructor() {
4689
4690
  super(...arguments), this.columns = [], this.labels = {}, this.view = [], this.drag = null, this.overColumn = null, this.overCardId = null, this.overAfter = !1, this.lastColumnsRef = null;
4690
4691
  }
@@ -5022,29 +5023,29 @@ class Ke extends g {
5022
5023
  </div>`;
5023
5024
  }
5024
5025
  }
5025
- wt([
5026
+ zt([
5026
5027
  l({ attribute: !1 })
5027
- ], Ke.prototype, "columns", 2);
5028
- wt([
5028
+ ], Ye.prototype, "columns", 2);
5029
+ zt([
5029
5030
  l({ attribute: !1 })
5030
- ], Ke.prototype, "labels", 2);
5031
- wt([
5031
+ ], Ye.prototype, "labels", 2);
5032
+ zt([
5032
5033
  v()
5033
- ], Ke.prototype, "view", 2);
5034
- wt([
5034
+ ], Ye.prototype, "view", 2);
5035
+ zt([
5035
5036
  v()
5036
- ], Ke.prototype, "drag", 2);
5037
- wt([
5037
+ ], Ye.prototype, "drag", 2);
5038
+ zt([
5038
5039
  v()
5039
- ], Ke.prototype, "overColumn", 2);
5040
- wt([
5040
+ ], Ye.prototype, "overColumn", 2);
5041
+ zt([
5041
5042
  v()
5042
- ], Ke.prototype, "overCardId", 2);
5043
- wt([
5043
+ ], Ye.prototype, "overCardId", 2);
5044
+ zt([
5044
5045
  v()
5045
- ], Ke.prototype, "overAfter", 2);
5046
- y("ok-kanban", Ke);
5047
- var fs = Object.defineProperty, gs = Object.getOwnPropertyDescriptor, uo = (n, e, t, r) => {
5046
+ ], Ye.prototype, "overAfter", 2);
5047
+ y("ok-kanban", Ye);
5048
+ var fs = Object.defineProperty, gs = Object.getOwnPropertyDescriptor, mo = (n, e, t, r) => {
5048
5049
  for (var o = r > 1 ? void 0 : r ? gs(e, t) : e, a = n.length - 1, i; a >= 0; a--)
5049
5050
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
5050
5051
  return r && o && fs(e, t, o), o;
@@ -5054,7 +5055,7 @@ const xs = {
5054
5055
  empty: "No apps",
5055
5056
  close: "Close"
5056
5057
  };
5057
- class jr extends g {
5058
+ class Ir extends g {
5058
5059
  constructor() {
5059
5060
  super(...arguments), this.apps = [], this.labels = {}, this.open = !1, this.shown = !1, this.onKeydown = (e) => {
5060
5061
  e.key === "Escape" && this.close();
@@ -5290,7 +5291,7 @@ class jr extends g {
5290
5291
  // Renderiza el overlay (o nada) en el portal. Se llama tras cada update del host. No crea el
5291
5292
  // portal hasta la primera apertura (evita divs vacíos en el body por cada launcher montado).
5292
5293
  updated() {
5293
- !this.open && !this.portalRoot || lo(this.open ? this.overlayTemplate() : m, this.ensurePortal());
5294
+ !this.open && !this.portalRoot || co(this.open ? this.overlayTemplate() : m, this.ensurePortal());
5294
5295
  }
5295
5296
  bind() {
5296
5297
  document.addEventListener("keydown", this.onKeydown);
@@ -5390,20 +5391,20 @@ class jr extends g {
5390
5391
  `;
5391
5392
  }
5392
5393
  }
5393
- uo([
5394
+ mo([
5394
5395
  l({ attribute: !1 })
5395
- ], jr.prototype, "apps", 2);
5396
- uo([
5396
+ ], Ir.prototype, "apps", 2);
5397
+ mo([
5397
5398
  l({ attribute: !1 })
5398
- ], jr.prototype, "labels", 2);
5399
- uo([
5399
+ ], Ir.prototype, "labels", 2);
5400
+ mo([
5400
5401
  v()
5401
- ], jr.prototype, "open", 2);
5402
- uo([
5402
+ ], Ir.prototype, "open", 2);
5403
+ mo([
5403
5404
  v()
5404
- ], jr.prototype, "shown", 2);
5405
- y("ok-app-launcher", jr);
5406
- var ys = Object.defineProperty, ks = Object.getOwnPropertyDescriptor, Zt = (n, e, t, r) => {
5405
+ ], Ir.prototype, "shown", 2);
5406
+ y("ok-app-launcher", Ir);
5407
+ var ys = Object.defineProperty, ks = Object.getOwnPropertyDescriptor, er = (n, e, t, r) => {
5407
5408
  for (var o = r > 1 ? void 0 : r ? ks(e, t) : e, a = n.length - 1, i; a >= 0; a--)
5408
5409
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
5409
5410
  return r && o && ys(e, t, o), o;
@@ -5413,7 +5414,7 @@ const ws = {
5413
5414
  menu: "Actions",
5414
5415
  empty: "No actions"
5415
5416
  };
5416
- class $t extends g {
5417
+ class _t extends g {
5417
5418
  constructor() {
5418
5419
  super(...arguments), this.label = "", this.color = "primary", this.fill = "solid", this.items = [], this.labels = {}, this.open = !1, this.onDocClick = (e) => {
5419
5420
  e.composedPath().includes(this) || this.close();
@@ -5607,26 +5608,26 @@ class $t extends g {
5607
5608
  `;
5608
5609
  }
5609
5610
  }
5610
- Zt([
5611
+ er([
5611
5612
  l()
5612
- ], $t.prototype, "label", 2);
5613
- Zt([
5613
+ ], _t.prototype, "label", 2);
5614
+ er([
5614
5615
  l()
5615
- ], $t.prototype, "color", 2);
5616
- Zt([
5616
+ ], _t.prototype, "color", 2);
5617
+ er([
5617
5618
  l()
5618
- ], $t.prototype, "fill", 2);
5619
- Zt([
5619
+ ], _t.prototype, "fill", 2);
5620
+ er([
5620
5621
  l({ attribute: !1 })
5621
- ], $t.prototype, "items", 2);
5622
- Zt([
5622
+ ], _t.prototype, "items", 2);
5623
+ er([
5623
5624
  l({ attribute: !1 })
5624
- ], $t.prototype, "labels", 2);
5625
- Zt([
5625
+ ], _t.prototype, "labels", 2);
5626
+ er([
5626
5627
  v()
5627
- ], $t.prototype, "open", 2);
5628
- y("ok-split-button", $t);
5629
- var $s = Object.defineProperty, zs = Object.getOwnPropertyDescriptor, Ye = (n, e, t, r) => {
5628
+ ], _t.prototype, "open", 2);
5629
+ y("ok-split-button", _t);
5630
+ var $s = Object.defineProperty, zs = Object.getOwnPropertyDescriptor, Xe = (n, e, t, r) => {
5630
5631
  for (var o = r > 1 ? void 0 : r ? zs(e, t) : e, a = n.length - 1, i; a >= 0; a--)
5631
5632
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
5632
5633
  return r && o && $s(e, t, o), o;
@@ -5853,32 +5854,32 @@ class we extends g {
5853
5854
  </div>`;
5854
5855
  }
5855
5856
  }
5856
- Ye([
5857
+ Xe([
5857
5858
  l({ attribute: !1 })
5858
5859
  ], we.prototype, "options", 2);
5859
- Ye([
5860
+ Xe([
5860
5861
  l()
5861
5862
  ], we.prototype, "value", 2);
5862
- Ye([
5863
+ Xe([
5863
5864
  l()
5864
5865
  ], we.prototype, "placeholder", 2);
5865
- Ye([
5866
+ Xe([
5866
5867
  l()
5867
5868
  ], we.prototype, "label", 2);
5868
- Ye([
5869
+ Xe([
5869
5870
  l({ attribute: !1 })
5870
5871
  ], we.prototype, "labels", 2);
5871
- Ye([
5872
+ Xe([
5872
5873
  v()
5873
5874
  ], we.prototype, "query", 2);
5874
- Ye([
5875
+ Xe([
5875
5876
  v()
5876
5877
  ], we.prototype, "open", 2);
5877
- Ye([
5878
+ Xe([
5878
5879
  v()
5879
5880
  ], we.prototype, "activeIndex", 2);
5880
5881
  y("ok-combo", we);
5881
- var Cs = Object.defineProperty, Ss = Object.getOwnPropertyDescriptor, zt = (n, e, t, r) => {
5882
+ var Cs = Object.defineProperty, Ss = Object.getOwnPropertyDescriptor, Ct = (n, e, t, r) => {
5882
5883
  for (var o = r > 1 ? void 0 : r ? Ss(e, t) : e, a = n.length - 1, i; a >= 0; a--)
5883
5884
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
5884
5885
  return r && o && Cs(e, t, o), o;
@@ -5887,7 +5888,7 @@ const Es = {
5887
5888
  placeholder: "Add tag…",
5888
5889
  removeLabel: "Remove {tag}"
5889
5890
  };
5890
- class Xe extends g {
5891
+ class We extends g {
5891
5892
  constructor() {
5892
5893
  super(...arguments), this.value = [], this.placeholder = "", this.labels = {}, this.draft = "", this.open = !1, this.activeIndex = -1, this.onDocClick = (e) => {
5893
5894
  this.open && (e.composedPath().includes(this) || this.close());
@@ -6166,29 +6167,29 @@ class Xe extends g {
6166
6167
  </ul>` : ""}`;
6167
6168
  }
6168
6169
  }
6169
- zt([
6170
+ Ct([
6170
6171
  l({ attribute: !1 })
6171
- ], Xe.prototype, "value", 2);
6172
- zt([
6172
+ ], We.prototype, "value", 2);
6173
+ Ct([
6173
6174
  l()
6174
- ], Xe.prototype, "placeholder", 2);
6175
- zt([
6175
+ ], We.prototype, "placeholder", 2);
6176
+ Ct([
6176
6177
  l({ attribute: !1 })
6177
- ], Xe.prototype, "suggestions", 2);
6178
- zt([
6178
+ ], We.prototype, "suggestions", 2);
6179
+ Ct([
6179
6180
  l({ attribute: !1 })
6180
- ], Xe.prototype, "labels", 2);
6181
- zt([
6181
+ ], We.prototype, "labels", 2);
6182
+ Ct([
6182
6183
  v()
6183
- ], Xe.prototype, "draft", 2);
6184
- zt([
6184
+ ], We.prototype, "draft", 2);
6185
+ Ct([
6185
6186
  v()
6186
- ], Xe.prototype, "open", 2);
6187
- zt([
6187
+ ], We.prototype, "open", 2);
6188
+ Ct([
6188
6189
  v()
6189
- ], Xe.prototype, "activeIndex", 2);
6190
- y("ok-tag-input", Xe);
6191
- var Ps = Object.defineProperty, Os = Object.getOwnPropertyDescriptor, Jt = (n, e, t, r) => {
6190
+ ], We.prototype, "activeIndex", 2);
6191
+ y("ok-tag-input", We);
6192
+ var Ps = Object.defineProperty, Os = Object.getOwnPropertyDescriptor, tr = (n, e, t, r) => {
6192
6193
  for (var o = r > 1 ? void 0 : r ? Os(e, t) : e, a = n.length - 1, i; a >= 0; a--)
6193
6194
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
6194
6195
  return r && o && Ps(e, t, o), o;
@@ -6196,7 +6197,7 @@ var Ps = Object.defineProperty, Os = Object.getOwnPropertyDescriptor, Jt = (n, e
6196
6197
  const Ms = {
6197
6198
  starLabel: (n, e) => `${n} of ${e}`
6198
6199
  };
6199
- class _t extends g {
6200
+ class St extends g {
6200
6201
  constructor() {
6201
6202
  super(...arguments), this.value = 0, this.max = 5, this.readonly = !1, this.allowHalf = !1, this.labels = {}, this.hoverValue = null;
6202
6203
  }
@@ -6346,26 +6347,26 @@ class _t extends g {
6346
6347
  </span>`;
6347
6348
  }
6348
6349
  }
6349
- Jt([
6350
+ tr([
6350
6351
  l({ type: Number })
6351
- ], _t.prototype, "value", 2);
6352
- Jt([
6352
+ ], St.prototype, "value", 2);
6353
+ tr([
6353
6354
  l({ type: Number })
6354
- ], _t.prototype, "max", 2);
6355
- Jt([
6355
+ ], St.prototype, "max", 2);
6356
+ tr([
6356
6357
  l({ type: Boolean, reflect: !0 })
6357
- ], _t.prototype, "readonly", 2);
6358
- Jt([
6358
+ ], St.prototype, "readonly", 2);
6359
+ tr([
6359
6360
  l({ type: Boolean, attribute: "allow-half" })
6360
- ], _t.prototype, "allowHalf", 2);
6361
- Jt([
6361
+ ], St.prototype, "allowHalf", 2);
6362
+ tr([
6362
6363
  l({ attribute: !1 })
6363
- ], _t.prototype, "labels", 2);
6364
- Jt([
6364
+ ], St.prototype, "labels", 2);
6365
+ tr([
6365
6366
  v()
6366
- ], _t.prototype, "hoverValue", 2);
6367
- y("ok-rating", _t);
6368
- var Ds = Object.defineProperty, As = Object.getOwnPropertyDescriptor, mo = (n, e, t, r) => {
6367
+ ], St.prototype, "hoverValue", 2);
6368
+ y("ok-rating", St);
6369
+ var Ds = Object.defineProperty, As = Object.getOwnPropertyDescriptor, vo = (n, e, t, r) => {
6369
6370
  for (var o = r > 1 ? void 0 : r ? As(e, t) : e, a = n.length - 1, i; a >= 0; a--)
6370
6371
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
6371
6372
  return r && o && Ds(e, t, o), o;
@@ -6373,7 +6374,7 @@ var Ds = Object.defineProperty, As = Object.getOwnPropertyDescriptor, mo = (n, e
6373
6374
  const js = {
6374
6375
  digitLabel: (n, e) => `Digit ${n} of ${e}`
6375
6376
  };
6376
- class Lr extends g {
6377
+ class Tr extends g {
6377
6378
  constructor() {
6378
6379
  super(...arguments), this.length = 6, this.value = "", this.labels = {};
6379
6380
  }
@@ -6516,20 +6517,20 @@ class Lr extends g {
6516
6517
  )}`;
6517
6518
  }
6518
6519
  }
6519
- mo([
6520
+ vo([
6520
6521
  l({ type: Number })
6521
- ], Lr.prototype, "length", 2);
6522
- mo([
6522
+ ], Tr.prototype, "length", 2);
6523
+ vo([
6523
6524
  l({ type: String })
6524
- ], Lr.prototype, "value", 2);
6525
- mo([
6525
+ ], Tr.prototype, "value", 2);
6526
+ vo([
6526
6527
  l({ attribute: !1 })
6527
- ], Lr.prototype, "labels", 2);
6528
- mo([
6528
+ ], Tr.prototype, "labels", 2);
6529
+ vo([
6529
6530
  I("input")
6530
- ], Lr.prototype, "firstInput", 2);
6531
- y("ok-otp", Lr);
6532
- var Ls = Object.defineProperty, Is = Object.getOwnPropertyDescriptor, vo = (n, e, t, r) => {
6531
+ ], Tr.prototype, "firstInput", 2);
6532
+ y("ok-otp", Tr);
6533
+ var Ls = Object.defineProperty, Is = Object.getOwnPropertyDescriptor, Ge = (n, e, t, r) => {
6533
6534
  for (var o = r > 1 ? void 0 : r ? Is(e, t) : e, a = n.length - 1, i; a >= 0; a--)
6534
6535
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
6535
6536
  return r && o && Ls(e, t, o), o;
@@ -6538,9 +6539,9 @@ const Ts = {
6538
6539
  keypad: "Number pad",
6539
6540
  backspace: "Delete"
6540
6541
  };
6541
- class Ir extends g {
6542
+ class $e extends g {
6542
6543
  constructor() {
6543
- super(...arguments), this.value = "", this.masked = !1, this.labels = {};
6544
+ super(...arguments), this.value = "", this.masked = !1, this.dots = !1, this.error = !1, this.labels = {};
6544
6545
  }
6545
6546
  static {
6546
6547
  this.styles = x`
@@ -6588,6 +6589,33 @@ class Ir extends g {
6588
6589
  font-weight: 400;
6589
6590
  font-size: 1rem;
6590
6591
  }
6592
+ /* Variante dots: N círculos grandes (estilo PIN clásico), sin barra de fondo. */
6593
+ .circles {
6594
+ min-height: 2.25rem;
6595
+ display: flex;
6596
+ align-items: center;
6597
+ justify-content: center;
6598
+ gap: var(--ok-pinpad-circle-gap, 0.9rem);
6599
+ }
6600
+ .circle {
6601
+ width: var(--ok-pinpad-circle-size, 1rem);
6602
+ height: var(--ok-pinpad-circle-size, 1rem);
6603
+ border-radius: 50%;
6604
+ border: 2px solid var(--ok-pinpad-circle-border, var(--ion-color-medium, #92949c));
6605
+ background: transparent;
6606
+ box-sizing: border-box;
6607
+ transition: background 0.15s, border-color 0.15s;
6608
+ }
6609
+ .circle.filled {
6610
+ background: var(--dot-color);
6611
+ border-color: var(--dot-color);
6612
+ }
6613
+ .circles.error .circle {
6614
+ border-color: var(--ion-color-danger, #eb445a);
6615
+ }
6616
+ .circles.error .circle.filled {
6617
+ background: var(--ion-color-danger, #eb445a);
6618
+ }
6591
6619
  /* Rejilla de teclas 3×4. */
6592
6620
  .grid {
6593
6621
  display: grid;
@@ -6636,14 +6664,40 @@ class Ir extends g {
6636
6664
  })
6637
6665
  );
6638
6666
  }
6667
+ // Emite `ok-secondary` (pulsación de la tecla de acción secundaria).
6668
+ secondary() {
6669
+ this.dispatchEvent(
6670
+ new CustomEvent("ok-secondary", { bubbles: !0, composed: !0 })
6671
+ );
6672
+ }
6673
+ // Botón de borrado (reutilizado en ambos layouts).
6674
+ renderBackspace() {
6675
+ return s`<ion-button fill="clear" aria-label=${this.t.backspace} @click=${() => this.backspace()}>
6676
+ <ion-icon slot="icon-only" name="backspace-outline"></ion-icon>
6677
+ </ion-button>`;
6678
+ }
6639
6679
  // Pinta la pantalla: dots si `masked`, dígitos si no, placeholder si vacío.
6640
6680
  renderDisplay() {
6641
6681
  return this.value ? this.masked ? Array.from(this.value, () => s`<span class="dot"></span>`) : s`<span>${this.value}</span>` : s`<span class="placeholder">&mdash;</span>`;
6642
6682
  }
6683
+ // Variante `dots`: N círculos grandes (estilo PIN clásico). Requiere `length`.
6684
+ renderCircles() {
6685
+ const e = this.length ?? 0;
6686
+ return s`<div
6687
+ class="circles ${this.error ? "error" : ""}"
6688
+ role="status"
6689
+ aria-live="polite"
6690
+ >
6691
+ ${Array.from(
6692
+ { length: e },
6693
+ (t, r) => s`<span class="circle ${r < this.value.length ? "filled" : ""}"></span>`
6694
+ )}
6695
+ </div>`;
6696
+ }
6643
6697
  render() {
6644
6698
  const e = ["1", "2", "3", "4", "5", "6", "7", "8", "9"];
6645
6699
  return s`
6646
- <div class="display" role="status" aria-live="polite">${this.renderDisplay()}</div>
6700
+ ${this.dots && this.length != null ? this.renderCircles() : s`<div class="display" role="status" aria-live="polite">${this.renderDisplay()}</div>`}
6647
6701
  <div class="grid" role="group" aria-label=${this.t.keypad}>
6648
6702
  ${e.map(
6649
6703
  (t) => s`<ion-button
@@ -6652,34 +6706,48 @@ class Ir extends g {
6652
6706
  @click=${() => this.press(t)}
6653
6707
  >${t}</ion-button>`
6654
6708
  )}
6655
- <span class="spacer" aria-hidden="true"></span>
6709
+ ${this.secondaryIcon ? s`<ion-button
6710
+ fill="clear"
6711
+ aria-label=${this.secondaryLabel ?? this.secondaryIcon}
6712
+ @click=${() => this.secondary()}
6713
+ ><ion-icon slot="icon-only" name=${this.secondaryIcon}></ion-icon></ion-button>` : s`<span class="spacer" aria-hidden="true"></span>`}
6656
6714
  <ion-button fill="outline" aria-label="0" @click=${() => this.press("0")}>0</ion-button>
6657
- <ion-button fill="clear" aria-label=${this.t.backspace} @click=${() => this.backspace()}>
6658
- <ion-icon slot="icon-only" name="backspace-outline"></ion-icon>
6659
- </ion-button>
6715
+ ${this.renderBackspace()}
6660
6716
  </div>
6661
6717
  `;
6662
6718
  }
6663
6719
  }
6664
- vo([
6720
+ Ge([
6665
6721
  l({ type: String })
6666
- ], Ir.prototype, "value", 2);
6667
- vo([
6722
+ ], $e.prototype, "value", 2);
6723
+ Ge([
6668
6724
  l({ type: Number })
6669
- ], Ir.prototype, "length", 2);
6670
- vo([
6725
+ ], $e.prototype, "length", 2);
6726
+ Ge([
6671
6727
  l({ type: Boolean })
6672
- ], Ir.prototype, "masked", 2);
6673
- vo([
6728
+ ], $e.prototype, "masked", 2);
6729
+ Ge([
6730
+ l({ type: Boolean })
6731
+ ], $e.prototype, "dots", 2);
6732
+ Ge([
6733
+ l({ type: Boolean })
6734
+ ], $e.prototype, "error", 2);
6735
+ Ge([
6736
+ l({ type: String, attribute: "secondary-icon" })
6737
+ ], $e.prototype, "secondaryIcon", 2);
6738
+ Ge([
6739
+ l({ type: String, attribute: "secondary-label" })
6740
+ ], $e.prototype, "secondaryLabel", 2);
6741
+ Ge([
6674
6742
  l({ attribute: !1 })
6675
- ], Ir.prototype, "labels", 2);
6676
- y("ok-pinpad", Ir);
6677
- var Bs = Object.defineProperty, Fs = Object.getOwnPropertyDescriptor, Ct = (n, e, t, r) => {
6743
+ ], $e.prototype, "labels", 2);
6744
+ y("ok-pinpad", $e);
6745
+ var Bs = Object.defineProperty, Fs = Object.getOwnPropertyDescriptor, Et = (n, e, t, r) => {
6678
6746
  for (var o = r > 1 ? void 0 : r ? Fs(e, t) : e, a = n.length - 1, i; a >= 0; a--)
6679
6747
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
6680
6748
  return r && o && Bs(e, t, o), o;
6681
6749
  };
6682
- class We extends g {
6750
+ class Qe extends g {
6683
6751
  constructor() {
6684
6752
  super(...arguments), this.currency = "EUR", this.locale = typeof navigator < "u" && navigator.language || "es-ES", this.placeholder = "", this.display = "", this.focused = !1;
6685
6753
  }
@@ -6790,29 +6858,29 @@ class We extends g {
6790
6858
  `;
6791
6859
  }
6792
6860
  }
6793
- Ct([
6861
+ Et([
6794
6862
  l({ type: Number })
6795
- ], We.prototype, "value", 2);
6796
- Ct([
6863
+ ], Qe.prototype, "value", 2);
6864
+ Et([
6797
6865
  l()
6798
- ], We.prototype, "currency", 2);
6799
- Ct([
6866
+ ], Qe.prototype, "currency", 2);
6867
+ Et([
6800
6868
  l()
6801
- ], We.prototype, "locale", 2);
6802
- Ct([
6869
+ ], Qe.prototype, "locale", 2);
6870
+ Et([
6803
6871
  l()
6804
- ], We.prototype, "placeholder", 2);
6805
- Ct([
6872
+ ], Qe.prototype, "placeholder", 2);
6873
+ Et([
6806
6874
  l()
6807
- ], We.prototype, "label", 2);
6808
- Ct([
6875
+ ], Qe.prototype, "label", 2);
6876
+ Et([
6809
6877
  v()
6810
- ], We.prototype, "display", 2);
6811
- Ct([
6878
+ ], Qe.prototype, "display", 2);
6879
+ Et([
6812
6880
  v()
6813
- ], We.prototype, "focused", 2);
6814
- y("ok-currency", We);
6815
- var Rs = Object.defineProperty, Ns = Object.getOwnPropertyDescriptor, St = (n, e, t, r) => {
6881
+ ], Qe.prototype, "focused", 2);
6882
+ y("ok-currency", Qe);
6883
+ var Rs = Object.defineProperty, Ns = Object.getOwnPropertyDescriptor, Pt = (n, e, t, r) => {
6816
6884
  for (var o = r > 1 ? void 0 : r ? Ns(e, t) : e, a = n.length - 1, i; a >= 0; a--)
6817
6885
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
6818
6886
  return r && o && Rs(e, t, o), o;
@@ -6820,7 +6888,7 @@ var Rs = Object.defineProperty, Ns = Object.getOwnPropertyDescriptor, St = (n, e
6820
6888
  const qs = {
6821
6889
  country: "Country",
6822
6890
  number: "Phone number"
6823
- }, Ge = class Ja extends g {
6891
+ }, Ze = class Ja extends g {
6824
6892
  constructor() {
6825
6893
  super(...arguments), this.value = "", this.country = "ES", this.placeholder = "", this.labels = {}, this.number = "";
6826
6894
  }
@@ -6993,30 +7061,30 @@ const qs = {
6993
7061
  `;
6994
7062
  }
6995
7063
  };
6996
- St([
7064
+ Pt([
6997
7065
  l()
6998
- ], Ge.prototype, "value", 2);
6999
- St([
7066
+ ], Ze.prototype, "value", 2);
7067
+ Pt([
7000
7068
  l()
7001
- ], Ge.prototype, "country", 2);
7002
- St([
7069
+ ], Ze.prototype, "country", 2);
7070
+ Pt([
7003
7071
  l({ attribute: !1 })
7004
- ], Ge.prototype, "countries", 2);
7005
- St([
7072
+ ], Ze.prototype, "countries", 2);
7073
+ Pt([
7006
7074
  l()
7007
- ], Ge.prototype, "placeholder", 2);
7008
- St([
7075
+ ], Ze.prototype, "placeholder", 2);
7076
+ Pt([
7009
7077
  l()
7010
- ], Ge.prototype, "label", 2);
7011
- St([
7078
+ ], Ze.prototype, "label", 2);
7079
+ Pt([
7012
7080
  l({ attribute: !1 })
7013
- ], Ge.prototype, "labels", 2);
7014
- St([
7081
+ ], Ze.prototype, "labels", 2);
7082
+ Pt([
7015
7083
  v()
7016
- ], Ge.prototype, "number", 2);
7017
- let Us = Ge;
7084
+ ], Ze.prototype, "number", 2);
7085
+ let Us = Ze;
7018
7086
  y("ok-phone", Us);
7019
- var Vs = Object.defineProperty, Hs = Object.getOwnPropertyDescriptor, $e = (n, e, t, r) => {
7087
+ var Vs = Object.defineProperty, Hs = Object.getOwnPropertyDescriptor, ze = (n, e, t, r) => {
7020
7088
  for (var o = r > 1 ? void 0 : r ? Hs(e, t) : e, a = n.length - 1, i; a >= 0; a--)
7021
7089
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
7022
7090
  return r && o && Vs(e, t, o), o;
@@ -7323,40 +7391,40 @@ class ie extends g {
7323
7391
  `;
7324
7392
  }
7325
7393
  }
7326
- $e([
7394
+ ze([
7327
7395
  l()
7328
7396
  ], ie.prototype, "accept", 2);
7329
- $e([
7397
+ ze([
7330
7398
  l({ type: Boolean })
7331
7399
  ], ie.prototype, "multiple", 2);
7332
- $e([
7400
+ ze([
7333
7401
  l({ type: Number, attribute: "max-size" })
7334
7402
  ], ie.prototype, "maxSize", 2);
7335
- $e([
7403
+ ze([
7336
7404
  l()
7337
7405
  ], ie.prototype, "hint", 2);
7338
- $e([
7406
+ ze([
7339
7407
  l({ attribute: !1 })
7340
7408
  ], ie.prototype, "labels", 2);
7341
- $e([
7409
+ ze([
7342
7410
  v()
7343
7411
  ], ie.prototype, "files", 2);
7344
- $e([
7412
+ ze([
7345
7413
  v()
7346
7414
  ], ie.prototype, "dragging", 2);
7347
- $e([
7415
+ ze([
7348
7416
  v()
7349
7417
  ], ie.prototype, "error", 2);
7350
- $e([
7418
+ ze([
7351
7419
  I('input[type="file"]')
7352
7420
  ], ie.prototype, "input", 2);
7353
7421
  y("ok-dropzone", ie);
7354
- var Ys = Object.defineProperty, Xs = Object.getOwnPropertyDescriptor, er = (n, e, t, r) => {
7422
+ var Ys = Object.defineProperty, Xs = Object.getOwnPropertyDescriptor, rr = (n, e, t, r) => {
7355
7423
  for (var o = r > 1 ? void 0 : r ? Xs(e, t) : e, a = n.length - 1, i; a >= 0; a--)
7356
7424
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
7357
7425
  return r && o && Ys(e, t, o), o;
7358
7426
  };
7359
- class Et extends g {
7427
+ class Ot extends g {
7360
7428
  constructor() {
7361
7429
  super(...arguments), this.values = [], this.type = "line", this.color = "", this.width = 120, this.height = 32, this.filled = !1;
7362
7430
  }
@@ -7443,26 +7511,26 @@ class Et extends g {
7443
7511
  </svg>`;
7444
7512
  }
7445
7513
  }
7446
- er([
7514
+ rr([
7447
7515
  l({ attribute: !1 })
7448
- ], Et.prototype, "values", 2);
7449
- er([
7516
+ ], Ot.prototype, "values", 2);
7517
+ rr([
7450
7518
  l()
7451
- ], Et.prototype, "type", 2);
7452
- er([
7519
+ ], Ot.prototype, "type", 2);
7520
+ rr([
7453
7521
  l()
7454
- ], Et.prototype, "color", 2);
7455
- er([
7522
+ ], Ot.prototype, "color", 2);
7523
+ rr([
7456
7524
  l({ type: Number })
7457
- ], Et.prototype, "width", 2);
7458
- er([
7525
+ ], Ot.prototype, "width", 2);
7526
+ rr([
7459
7527
  l({ type: Number })
7460
- ], Et.prototype, "height", 2);
7461
- er([
7528
+ ], Ot.prototype, "height", 2);
7529
+ rr([
7462
7530
  l({ type: Boolean })
7463
- ], Et.prototype, "filled", 2);
7464
- y("ok-sparkline", Et);
7465
- var Ws = Object.defineProperty, Gs = Object.getOwnPropertyDescriptor, Pt = (n, e, t, r) => {
7531
+ ], Ot.prototype, "filled", 2);
7532
+ y("ok-sparkline", Ot);
7533
+ var Ws = Object.defineProperty, Gs = Object.getOwnPropertyDescriptor, Mt = (n, e, t, r) => {
7466
7534
  for (var o = r > 1 ? void 0 : r ? Gs(e, t) : e, a = n.length - 1, i; a >= 0; a--)
7467
7535
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
7468
7536
  return r && o && Ws(e, t, o), o;
@@ -7471,7 +7539,7 @@ const Qs = {
7471
7539
  composerPlaceholder: "Type a message…",
7472
7540
  send: "Send"
7473
7541
  };
7474
- class Qe extends g {
7542
+ class Je extends g {
7475
7543
  constructor() {
7476
7544
  super(...arguments), this.messages = [], this.title = "", this.placeholder = "", this.readonly = !1, this.labels = {};
7477
7545
  }
@@ -7731,29 +7799,29 @@ class Qe extends g {
7731
7799
  `;
7732
7800
  }
7733
7801
  }
7734
- Pt([
7802
+ Mt([
7735
7803
  l({ attribute: !1 })
7736
- ], Qe.prototype, "messages", 2);
7737
- Pt([
7804
+ ], Je.prototype, "messages", 2);
7805
+ Mt([
7738
7806
  l()
7739
- ], Qe.prototype, "title", 2);
7740
- Pt([
7807
+ ], Je.prototype, "title", 2);
7808
+ Mt([
7741
7809
  l()
7742
- ], Qe.prototype, "placeholder", 2);
7743
- Pt([
7810
+ ], Je.prototype, "placeholder", 2);
7811
+ Mt([
7744
7812
  l({ type: Boolean })
7745
- ], Qe.prototype, "readonly", 2);
7746
- Pt([
7813
+ ], Je.prototype, "readonly", 2);
7814
+ Mt([
7747
7815
  l({ attribute: !1 })
7748
- ], Qe.prototype, "labels", 2);
7749
- Pt([
7816
+ ], Je.prototype, "labels", 2);
7817
+ Mt([
7750
7818
  I(".log")
7751
- ], Qe.prototype, "logEl", 2);
7752
- Pt([
7819
+ ], Je.prototype, "logEl", 2);
7820
+ Mt([
7753
7821
  I("ion-textarea")
7754
- ], Qe.prototype, "textareaEl", 2);
7755
- y("ok-chat", Qe);
7756
- var Zs = Object.defineProperty, Js = Object.getOwnPropertyDescriptor, ze = (n, e, t, r) => {
7822
+ ], Je.prototype, "textareaEl", 2);
7823
+ y("ok-chat", Je);
7824
+ var Zs = Object.defineProperty, Js = Object.getOwnPropertyDescriptor, _e = (n, e, t, r) => {
7757
7825
  for (var o = r > 1 ? void 0 : r ? Js(e, t) : e, a = n.length - 1, i; a >= 0; a--)
7758
7826
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
7759
7827
  return r && o && Zs(e, t, o), o;
@@ -8200,35 +8268,35 @@ class se extends g {
8200
8268
  </div>`;
8201
8269
  }
8202
8270
  }
8203
- ze([
8271
+ _e([
8204
8272
  l({ attribute: !1 })
8205
8273
  ], se.prototype, "resources", 2);
8206
- ze([
8274
+ _e([
8207
8275
  l({ attribute: !1 })
8208
8276
  ], se.prototype, "events", 2);
8209
- ze([
8277
+ _e([
8210
8278
  l()
8211
8279
  ], se.prototype, "date", 2);
8212
- ze([
8280
+ _e([
8213
8281
  l({ type: Number, attribute: "start-hour" })
8214
8282
  ], se.prototype, "startHour", 2);
8215
- ze([
8283
+ _e([
8216
8284
  l({ type: Number, attribute: "end-hour" })
8217
8285
  ], se.prototype, "endHour", 2);
8218
- ze([
8286
+ _e([
8219
8287
  l({ type: Number, attribute: "slot-minutes" })
8220
8288
  ], se.prototype, "slotMin", 2);
8221
- ze([
8289
+ _e([
8222
8290
  l()
8223
8291
  ], se.prototype, "locale", 2);
8224
- ze([
8292
+ _e([
8225
8293
  l({ attribute: !1 })
8226
8294
  ], se.prototype, "labels", 2);
8227
- ze([
8295
+ _e([
8228
8296
  v()
8229
8297
  ], se.prototype, "cursor", 2);
8230
8298
  y("ok-scheduler", se);
8231
- var tn = Object.defineProperty, rn = Object.getOwnPropertyDescriptor, Ze = (n, e, t, r) => {
8299
+ var tn = Object.defineProperty, rn = Object.getOwnPropertyDescriptor, et = (n, e, t, r) => {
8232
8300
  for (var o = r > 1 ? void 0 : r ? rn(e, t) : e, a = n.length - 1, i; a >= 0; a--)
8233
8301
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
8234
8302
  return r && o && tn(e, t, o), o;
@@ -8236,7 +8304,7 @@ var tn = Object.defineProperty, rn = Object.getOwnPropertyDescriptor, Ze = (n, e
8236
8304
  const on = {
8237
8305
  menu: "Menu"
8238
8306
  };
8239
- class _e extends g {
8307
+ class Ce extends g {
8240
8308
  constructor() {
8241
8309
  super(...arguments), this.menus = [], this.labels = {}, this.openMenuId = "", this.openPath = [], this.activeItemId = "", this.mobileOpen = !1, this.accExpanded = /* @__PURE__ */ new Set(), this.isMobile = !1, this.onDocClick = (e) => {
8242
8310
  e.composedPath().includes(this) || this.closeAll();
@@ -8754,32 +8822,32 @@ class _e extends g {
8754
8822
  this.style.setProperty("container-type", "inline-size");
8755
8823
  }
8756
8824
  }
8757
- Ze([
8825
+ et([
8758
8826
  l({ attribute: !1 })
8759
- ], _e.prototype, "menus", 2);
8760
- Ze([
8827
+ ], Ce.prototype, "menus", 2);
8828
+ et([
8761
8829
  l({ attribute: !1 })
8762
- ], _e.prototype, "labels", 2);
8763
- Ze([
8830
+ ], Ce.prototype, "labels", 2);
8831
+ et([
8764
8832
  v()
8765
- ], _e.prototype, "openMenuId", 2);
8766
- Ze([
8833
+ ], Ce.prototype, "openMenuId", 2);
8834
+ et([
8767
8835
  v()
8768
- ], _e.prototype, "openPath", 2);
8769
- Ze([
8836
+ ], Ce.prototype, "openPath", 2);
8837
+ et([
8770
8838
  v()
8771
- ], _e.prototype, "activeItemId", 2);
8772
- Ze([
8839
+ ], Ce.prototype, "activeItemId", 2);
8840
+ et([
8773
8841
  v()
8774
- ], _e.prototype, "mobileOpen", 2);
8775
- Ze([
8842
+ ], Ce.prototype, "mobileOpen", 2);
8843
+ et([
8776
8844
  v()
8777
- ], _e.prototype, "accExpanded", 2);
8778
- Ze([
8845
+ ], Ce.prototype, "accExpanded", 2);
8846
+ et([
8779
8847
  v()
8780
- ], _e.prototype, "isMobile", 2);
8781
- y("ok-menubar", _e);
8782
- var an = Object.defineProperty, sn = Object.getOwnPropertyDescriptor, Ot = (n, e, t, r) => {
8848
+ ], Ce.prototype, "isMobile", 2);
8849
+ y("ok-menubar", Ce);
8850
+ var an = Object.defineProperty, sn = Object.getOwnPropertyDescriptor, Dt = (n, e, t, r) => {
8783
8851
  for (var o = r > 1 ? void 0 : r ? sn(e, t) : e, a = n.length - 1, i; a >= 0; a--)
8784
8852
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
8785
8853
  return r && o && an(e, t, o), o;
@@ -8789,7 +8857,7 @@ const nn = {
8789
8857
  next: "Next",
8790
8858
  goToSlide: "Go to slide {n}"
8791
8859
  };
8792
- class Je extends g {
8860
+ class tt extends g {
8793
8861
  constructor() {
8794
8862
  super(...arguments), this.slides = [], this.index = 0, this.autoplay = 0, this.loop = !1, this.labels = {}, this.slottedCount = 0, this.dragStartX = 0, this.dragging = !1, this.dragDelta = 0;
8795
8863
  }
@@ -9053,29 +9121,29 @@ class Je extends g {
9053
9121
  return s`${e}`;
9054
9122
  }
9055
9123
  }
9056
- Ot([
9124
+ Dt([
9057
9125
  l({ attribute: !1 })
9058
- ], Je.prototype, "slides", 2);
9059
- Ot([
9126
+ ], tt.prototype, "slides", 2);
9127
+ Dt([
9060
9128
  l({ type: Number })
9061
- ], Je.prototype, "index", 2);
9062
- Ot([
9129
+ ], tt.prototype, "index", 2);
9130
+ Dt([
9063
9131
  l({ type: Number })
9064
- ], Je.prototype, "autoplay", 2);
9065
- Ot([
9132
+ ], tt.prototype, "autoplay", 2);
9133
+ Dt([
9066
9134
  l({ type: Boolean })
9067
- ], Je.prototype, "loop", 2);
9068
- Ot([
9135
+ ], tt.prototype, "loop", 2);
9136
+ Dt([
9069
9137
  l({ attribute: !1 })
9070
- ], Je.prototype, "labels", 2);
9071
- Ot([
9138
+ ], tt.prototype, "labels", 2);
9139
+ Dt([
9072
9140
  v()
9073
- ], Je.prototype, "slottedCount", 2);
9074
- Ot([
9141
+ ], tt.prototype, "slottedCount", 2);
9142
+ Dt([
9075
9143
  I(".track")
9076
- ], Je.prototype, "trackEl", 2);
9077
- y("ok-carousel", Je);
9078
- var ln = Object.defineProperty, cn = Object.getOwnPropertyDescriptor, Mt = (n, e, t, r) => {
9144
+ ], tt.prototype, "trackEl", 2);
9145
+ y("ok-carousel", tt);
9146
+ var ln = Object.defineProperty, cn = Object.getOwnPropertyDescriptor, At = (n, e, t, r) => {
9079
9147
  for (var o = r > 1 ? void 0 : r ? cn(e, t) : e, a = n.length - 1, i; a >= 0; a--)
9080
9148
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
9081
9149
  return r && o && ln(e, t, o), o;
@@ -9085,7 +9153,7 @@ const dn = {
9085
9153
  export: "Export",
9086
9154
  exportFilename: "signature.png"
9087
9155
  };
9088
- class et extends g {
9156
+ class rt extends g {
9089
9157
  constructor() {
9090
9158
  super(...arguments), this.penColor = "", this.lineWidth = 2.5, this.background = "", this.height = 200, this.showExport = !1, this.labels = {}, this.ctx = null, this.drawing = !1, this.lastX = 0, this.lastY = 0, this.hasInk = !1;
9091
9159
  }
@@ -9249,49 +9317,49 @@ class et extends g {
9249
9317
  t.href = e, t.download = this.t.exportFilename, t.click();
9250
9318
  }
9251
9319
  }
9252
- Mt([
9320
+ At([
9253
9321
  l({ attribute: "pen-color" })
9254
- ], et.prototype, "penColor", 2);
9255
- Mt([
9322
+ ], rt.prototype, "penColor", 2);
9323
+ At([
9256
9324
  l({ type: Number, attribute: "line-width" })
9257
- ], et.prototype, "lineWidth", 2);
9258
- Mt([
9325
+ ], rt.prototype, "lineWidth", 2);
9326
+ At([
9259
9327
  l()
9260
- ], et.prototype, "background", 2);
9261
- Mt([
9328
+ ], rt.prototype, "background", 2);
9329
+ At([
9262
9330
  l({ type: Number })
9263
- ], et.prototype, "height", 2);
9264
- Mt([
9331
+ ], rt.prototype, "height", 2);
9332
+ At([
9265
9333
  l({ type: Boolean, attribute: "show-export" })
9266
- ], et.prototype, "showExport", 2);
9267
- Mt([
9334
+ ], rt.prototype, "showExport", 2);
9335
+ At([
9268
9336
  l({ attribute: !1 })
9269
- ], et.prototype, "labels", 2);
9270
- Mt([
9337
+ ], rt.prototype, "labels", 2);
9338
+ At([
9271
9339
  I("canvas")
9272
- ], et.prototype, "canvas", 2);
9273
- y("ok-signature", et);
9274
- var pn = Object.defineProperty, hn = Object.getOwnPropertyDescriptor, tr = (n, e, t, r) => {
9340
+ ], rt.prototype, "canvas", 2);
9341
+ y("ok-signature", rt);
9342
+ var pn = Object.defineProperty, hn = Object.getOwnPropertyDescriptor, or = (n, e, t, r) => {
9275
9343
  for (var o = r > 1 ? void 0 : r ? hn(e, t) : e, a = n.length - 1, i; a >= 0; a--)
9276
9344
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
9277
9345
  return r && o && pn(e, t, o), o;
9278
9346
  };
9279
- const _r = new Uint8Array(512), No = new Uint8Array(256);
9347
+ const Sr = new Uint8Array(512), No = new Uint8Array(256);
9280
9348
  (() => {
9281
9349
  let n = 1;
9282
9350
  for (let e = 0; e < 255; e++)
9283
- _r[e] = n, No[n] = e, n <<= 1, n & 256 && (n ^= 285);
9284
- for (let e = 255; e < 512; e++) _r[e] = _r[e - 255];
9351
+ Sr[e] = n, No[n] = e, n <<= 1, n & 256 && (n ^= 285);
9352
+ for (let e = 255; e < 512; e++) Sr[e] = Sr[e - 255];
9285
9353
  })();
9286
9354
  function ei(n, e) {
9287
- return n === 0 || e === 0 ? 0 : _r[No[n] + No[e]];
9355
+ return n === 0 || e === 0 ? 0 : Sr[No[n] + No[e]];
9288
9356
  }
9289
9357
  function un(n) {
9290
9358
  let e = new Uint8Array([1]);
9291
9359
  for (let t = 0; t < n; t++) {
9292
9360
  const r = new Uint8Array(e.length + 1);
9293
9361
  for (let o = 0; o < e.length; o++)
9294
- r[o] ^= e[o], r[o + 1] ^= ei(e[o], _r[t]);
9362
+ r[o] ^= e[o], r[o + 1] ^= ei(e[o], Sr[t]);
9295
9363
  e = r;
9296
9364
  }
9297
9365
  return e;
@@ -9721,7 +9789,7 @@ function Sn(n, e) {
9721
9789
  }
9722
9790
  return null;
9723
9791
  }
9724
- class Dt extends g {
9792
+ class jt extends g {
9725
9793
  constructor() {
9726
9794
  super(...arguments), this.value = "", this.ec = "M", this.size = 160, this.color = "", this.background = "", this.margin = 4;
9727
9795
  }
@@ -9777,26 +9845,26 @@ class Dt extends g {
9777
9845
  `;
9778
9846
  }
9779
9847
  }
9780
- tr([
9848
+ or([
9781
9849
  l({ type: String })
9782
- ], Dt.prototype, "value", 2);
9783
- tr([
9850
+ ], jt.prototype, "value", 2);
9851
+ or([
9784
9852
  l({ type: String })
9785
- ], Dt.prototype, "ec", 2);
9786
- tr([
9853
+ ], jt.prototype, "ec", 2);
9854
+ or([
9787
9855
  l({ type: Number })
9788
- ], Dt.prototype, "size", 2);
9789
- tr([
9856
+ ], jt.prototype, "size", 2);
9857
+ or([
9790
9858
  l({ type: String })
9791
- ], Dt.prototype, "color", 2);
9792
- tr([
9859
+ ], jt.prototype, "color", 2);
9860
+ or([
9793
9861
  l({ type: String })
9794
- ], Dt.prototype, "background", 2);
9795
- tr([
9862
+ ], jt.prototype, "background", 2);
9863
+ or([
9796
9864
  l({ type: Number })
9797
- ], Dt.prototype, "margin", 2);
9798
- y("ok-qr", Dt);
9799
- var En = Object.defineProperty, Pn = Object.getOwnPropertyDescriptor, Ce = (n, e, t, r) => {
9865
+ ], jt.prototype, "margin", 2);
9866
+ y("ok-qr", jt);
9867
+ var En = Object.defineProperty, Pn = Object.getOwnPropertyDescriptor, Se = (n, e, t, r) => {
9800
9868
  for (var o = r > 1 ? void 0 : r ? Pn(e, t) : e, a = n.length - 1, i; a >= 0; a--)
9801
9869
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
9802
9870
  return r && o && En(e, t, o), o;
@@ -10040,31 +10108,31 @@ class ne extends g {
10040
10108
  `;
10041
10109
  }
10042
10110
  }
10043
- Ce([
10111
+ Se([
10044
10112
  l()
10045
10113
  ], ne.prototype, "src", 2);
10046
- Ce([
10114
+ Se([
10047
10115
  l()
10048
10116
  ], ne.prototype, "title", 2);
10049
- Ce([
10117
+ Se([
10050
10118
  l({ attribute: !1 })
10051
10119
  ], ne.prototype, "labels", 2);
10052
- Ce([
10120
+ Se([
10053
10121
  v()
10054
10122
  ], ne.prototype, "playing", 2);
10055
- Ce([
10123
+ Se([
10056
10124
  v()
10057
10125
  ], ne.prototype, "current", 2);
10058
- Ce([
10126
+ Se([
10059
10127
  v()
10060
10128
  ], ne.prototype, "duration", 2);
10061
- Ce([
10129
+ Se([
10062
10130
  v()
10063
10131
  ], ne.prototype, "volume", 2);
10064
- Ce([
10132
+ Se([
10065
10133
  v()
10066
10134
  ], ne.prototype, "muted", 2);
10067
- Ce([
10135
+ Se([
10068
10136
  I("audio")
10069
10137
  ], ne.prototype, "audioEl", 2);
10070
10138
  y("ok-audio", ne);
@@ -10402,7 +10470,7 @@ const In = {
10402
10470
  cannotDisplay: "This PDF cannot be displayed here.",
10403
10471
  download: "Download"
10404
10472
  };
10405
- class Tr extends g {
10473
+ class Br extends g {
10406
10474
  constructor() {
10407
10475
  super(...arguments), this.src = "", this.title = "", this.height = "480px", this.labels = {};
10408
10476
  }
@@ -10525,17 +10593,17 @@ class Tr extends g {
10525
10593
  }
10526
10594
  bo([
10527
10595
  l()
10528
- ], Tr.prototype, "src", 2);
10596
+ ], Br.prototype, "src", 2);
10529
10597
  bo([
10530
10598
  l()
10531
- ], Tr.prototype, "title", 2);
10599
+ ], Br.prototype, "title", 2);
10532
10600
  bo([
10533
10601
  l()
10534
- ], Tr.prototype, "height", 2);
10602
+ ], Br.prototype, "height", 2);
10535
10603
  bo([
10536
10604
  l({ attribute: !1 })
10537
- ], Tr.prototype, "labels", 2);
10538
- y("ok-pdf", Tr);
10605
+ ], Br.prototype, "labels", 2);
10606
+ y("ok-pdf", Br);
10539
10607
  var Tn = Object.defineProperty, Bn = Object.getOwnPropertyDescriptor, na = (n, e, t, r) => {
10540
10608
  for (var o = r > 1 ? void 0 : r ? Bn(e, t) : e, a = n.length - 1, i; a >= 0; a--)
10541
10609
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
@@ -11147,7 +11215,7 @@ ri([
11147
11215
  l()
11148
11216
  ], ca.prototype, "align", 2);
11149
11217
  y("ok-timeline", ca);
11150
- var Hn = Object.defineProperty, Kn = Object.getOwnPropertyDescriptor, rr = (n, e, t, r) => {
11218
+ var Hn = Object.defineProperty, Kn = Object.getOwnPropertyDescriptor, ar = (n, e, t, r) => {
11151
11219
  for (var o = r > 1 ? void 0 : r ? Kn(e, t) : e, a = n.length - 1, i; a >= 0; a--)
11152
11220
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
11153
11221
  return r && o && Hn(e, t, o), o;
@@ -11156,7 +11224,7 @@ const Yn = {
11156
11224
  decrement: "Decrease",
11157
11225
  increment: "Increase"
11158
11226
  };
11159
- class At extends g {
11227
+ class Lt extends g {
11160
11228
  constructor() {
11161
11229
  super(...arguments), this.value = 0, this.min = 0, this.step = 1, this.disabled = !1, this.labels = {};
11162
11230
  }
@@ -11311,26 +11379,26 @@ class At extends g {
11311
11379
  </div>`;
11312
11380
  }
11313
11381
  }
11314
- rr([
11382
+ ar([
11315
11383
  l({ type: Number })
11316
- ], At.prototype, "value", 2);
11317
- rr([
11384
+ ], Lt.prototype, "value", 2);
11385
+ ar([
11318
11386
  l({ type: Number })
11319
- ], At.prototype, "min", 2);
11320
- rr([
11387
+ ], Lt.prototype, "min", 2);
11388
+ ar([
11321
11389
  l({ type: Number })
11322
- ], At.prototype, "max", 2);
11323
- rr([
11390
+ ], Lt.prototype, "max", 2);
11391
+ ar([
11324
11392
  l({ type: Number })
11325
- ], At.prototype, "step", 2);
11326
- rr([
11393
+ ], Lt.prototype, "step", 2);
11394
+ ar([
11327
11395
  l({ type: Boolean, reflect: !0 })
11328
- ], At.prototype, "disabled", 2);
11329
- rr([
11396
+ ], Lt.prototype, "disabled", 2);
11397
+ ar([
11330
11398
  l({ attribute: !1 })
11331
- ], At.prototype, "labels", 2);
11332
- y("ok-qty-stepper", At);
11333
- var Xn = Object.defineProperty, Wn = Object.getOwnPropertyDescriptor, tt = (n, e, t, r) => {
11399
+ ], Lt.prototype, "labels", 2);
11400
+ y("ok-qty-stepper", Lt);
11401
+ var Xn = Object.defineProperty, Wn = Object.getOwnPropertyDescriptor, ot = (n, e, t, r) => {
11334
11402
  for (var o = r > 1 ? void 0 : r ? Wn(e, t) : e, a = n.length - 1, i; a >= 0; a--)
11335
11403
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
11336
11404
  return r && o && Xn(e, t, o), o;
@@ -11341,7 +11409,7 @@ const Gn = {
11341
11409
  escHint: "Esc",
11342
11410
  noMatches: "No matches"
11343
11411
  };
11344
- class Se extends g {
11412
+ class Ee extends g {
11345
11413
  constructor() {
11346
11414
  super(...arguments), this.commands = [], this.open = !1, this.placeholder = "", this.hotkey = !0, this.labels = {}, this.queryText = "", this.activeIndex = 0, this.onGlobalKey = (e) => {
11347
11415
  (e.metaKey || e.ctrlKey) && (e.key === "k" || e.key === "K") && (e.preventDefault(), this.toggle());
@@ -11707,32 +11775,32 @@ class Se extends g {
11707
11775
  </div>`;
11708
11776
  }
11709
11777
  }
11710
- tt([
11778
+ ot([
11711
11779
  l({ attribute: !1 })
11712
- ], Se.prototype, "commands", 2);
11713
- tt([
11780
+ ], Ee.prototype, "commands", 2);
11781
+ ot([
11714
11782
  l({ type: Boolean, reflect: !0 })
11715
- ], Se.prototype, "open", 2);
11716
- tt([
11783
+ ], Ee.prototype, "open", 2);
11784
+ ot([
11717
11785
  l()
11718
- ], Se.prototype, "placeholder", 2);
11719
- tt([
11786
+ ], Ee.prototype, "placeholder", 2);
11787
+ ot([
11720
11788
  l({ type: Boolean })
11721
- ], Se.prototype, "hotkey", 2);
11722
- tt([
11789
+ ], Ee.prototype, "hotkey", 2);
11790
+ ot([
11723
11791
  l({ attribute: !1 })
11724
- ], Se.prototype, "labels", 2);
11725
- tt([
11792
+ ], Ee.prototype, "labels", 2);
11793
+ ot([
11726
11794
  v()
11727
- ], Se.prototype, "queryText", 2);
11728
- tt([
11795
+ ], Ee.prototype, "queryText", 2);
11796
+ ot([
11729
11797
  v()
11730
- ], Se.prototype, "activeIndex", 2);
11731
- tt([
11798
+ ], Ee.prototype, "activeIndex", 2);
11799
+ ot([
11732
11800
  I(".search input")
11733
- ], Se.prototype, "searchInput", 2);
11734
- y("ok-command-palette", Se);
11735
- var Qn = Object.defineProperty, Zn = Object.getOwnPropertyDescriptor, Ee = (n, e, t, r) => {
11801
+ ], Ee.prototype, "searchInput", 2);
11802
+ y("ok-command-palette", Ee);
11803
+ var Qn = Object.defineProperty, Zn = Object.getOwnPropertyDescriptor, Pe = (n, e, t, r) => {
11736
11804
  for (var o = r > 1 ? void 0 : r ? Zn(e, t) : e, a = n.length - 1, i; a >= 0; a--)
11737
11805
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
11738
11806
  return r && o && Qn(e, t, o), o;
@@ -11759,7 +11827,7 @@ const Jn = [
11759
11827
  "#000000"
11760
11828
  // black
11761
11829
  ];
11762
- function to(n, e, t) {
11830
+ function ro(n, e, t) {
11763
11831
  return Math.min(t, Math.max(e, n));
11764
11832
  }
11765
11833
  function Do(n, e, t) {
@@ -11781,12 +11849,12 @@ function Ao(n, e, t) {
11781
11849
  return { h: u, s: h, v: i };
11782
11850
  }
11783
11851
  function jo(n) {
11784
- return to(Math.round(n), 0, 255).toString(16).padStart(2, "0");
11852
+ return ro(Math.round(n), 0, 255).toString(16).padStart(2, "0");
11785
11853
  }
11786
- function $r({ r: n, g: e, b: t }) {
11854
+ function _r({ r: n, g: e, b: t }) {
11787
11855
  return `#${jo(n)}${jo(e)}${jo(t)}`;
11788
11856
  }
11789
- function ro(n) {
11857
+ function oo(n) {
11790
11858
  let e = n.trim().replace(/^#/, "");
11791
11859
  return /^[0-9a-fA-F]{3}$/.test(e) && (e = e.split("").map((t) => t + t).join("")), /^[0-9a-fA-F]{6}$/.test(e) ? {
11792
11860
  r: parseInt(e.slice(0, 2), 16),
@@ -11795,8 +11863,8 @@ function ro(n) {
11795
11863
  } : null;
11796
11864
  }
11797
11865
  function Lo(n) {
11798
- const e = ro(n);
11799
- return e ? $r(e) : null;
11866
+ const e = oo(n);
11867
+ return e ? _r(e) : null;
11800
11868
  }
11801
11869
  const el = {
11802
11870
  triggerLabel: "Select color",
@@ -12020,10 +12088,10 @@ class ce extends g {
12020
12088
  }
12021
12089
  // Sincroniza el estado HSV interno desde la prop `value` (al conectar y en cambios externos).
12022
12090
  syncFromValue() {
12023
- const e = ro(this.value);
12091
+ const e = oo(this.value);
12024
12092
  if (!e) return;
12025
12093
  const { h: t, s: r, v: o } = Ao(e.r, e.g, e.b);
12026
- this.h = t, this.s = r, this.v = o, this.hexInput = $r(e), this.hexInvalid = !1;
12094
+ this.h = t, this.s = r, this.v = o, this.hexInput = _r(e), this.hexInvalid = !1;
12027
12095
  }
12028
12096
  connectedCallback() {
12029
12097
  super.connectedCallback(), this.syncFromValue();
@@ -12056,7 +12124,7 @@ class ce extends g {
12056
12124
  // --- Emisión del color resultante ---
12057
12125
  // Deriva el RGB/hex actual desde el HSV interno, actualiza `value` y emite `ok-change`.
12058
12126
  commitFromHsv() {
12059
- const e = Do(this.h, this.s, this.v), t = $r(e);
12127
+ const e = Do(this.h, this.s, this.v), t = _r(e);
12060
12128
  this.value = t, this.hexInput = t, this.hexInvalid = !1, this.emit(t, e);
12061
12129
  }
12062
12130
  emit(e, t) {
@@ -12074,14 +12142,14 @@ class ce extends g {
12074
12142
  const r = this.renderRoot.querySelector(".sv");
12075
12143
  if (!r) return;
12076
12144
  const o = r.getBoundingClientRect();
12077
- this.s = to((e - o.left) / o.width, 0, 1), this.v = to(1 - (t - o.top) / o.height, 0, 1), this.commitFromHsv();
12145
+ this.s = ro((e - o.left) / o.width, 0, 1), this.v = ro(1 - (t - o.top) / o.height, 0, 1), this.commitFromHsv();
12078
12146
  }
12079
12147
  // Calcula el tono a partir de la posición X del puntero en la barra arcoíris.
12080
12148
  updateHueFromPointer(e) {
12081
12149
  const t = this.renderRoot.querySelector(".hue");
12082
12150
  if (!t) return;
12083
12151
  const r = t.getBoundingClientRect();
12084
- this.h = to((e - r.left) / r.width, 0, 1) * 360, this.commitFromHsv();
12152
+ this.h = ro((e - r.left) / r.width, 0, 1) * 360, this.commitFromHsv();
12085
12153
  }
12086
12154
  bindDrag(e) {
12087
12155
  this.dragging = e, document.addEventListener("pointermove", this.onPointerMove), document.addEventListener("pointerup", this.onPointerUp);
@@ -12105,7 +12173,7 @@ class ce extends g {
12105
12173
  return;
12106
12174
  }
12107
12175
  this.hexInvalid = !1;
12108
- const r = ro(t), { h: o, s: a, v: i } = Ao(r.r, r.g, r.b);
12176
+ const r = oo(t), { h: o, s: a, v: i } = Ao(r.r, r.g, r.b);
12109
12177
  this.h = o, this.s = a, this.v = i, this.value = t, this.emit(t, r);
12110
12178
  }
12111
12179
  // --- Presets ---
@@ -12113,11 +12181,11 @@ class ce extends g {
12113
12181
  selectPreset(e) {
12114
12182
  const t = Lo(e);
12115
12183
  if (!t) return;
12116
- const r = ro(t), { h: o, s: a, v: i } = Ao(r.r, r.g, r.b);
12184
+ const r = oo(t), { h: o, s: a, v: i } = Ao(r.r, r.g, r.b);
12117
12185
  this.h = o, this.s = a, this.v = i, this.value = t, this.hexInput = t, this.hexInvalid = !1, this.emit(t, r);
12118
12186
  }
12119
12187
  render() {
12120
- const e = $r(Do(this.h, 1, 1)), t = $r(Do(this.h, this.s, this.v)), r = `${this.s * 100}%`, o = `${(1 - this.v) * 100}%`, a = `${this.h / 360 * 100}%`;
12188
+ const e = _r(Do(this.h, 1, 1)), t = _r(Do(this.h, this.s, this.v)), r = `${this.s * 100}%`, o = `${(1 - this.v) * 100}%`, a = `${this.h / 360 * 100}%`;
12121
12189
  return s`
12122
12190
  <button
12123
12191
  type="button"
@@ -12175,35 +12243,35 @@ class ce extends g {
12175
12243
  `;
12176
12244
  }
12177
12245
  }
12178
- Ee([
12246
+ Pe([
12179
12247
  l({ type: String })
12180
12248
  ], ce.prototype, "value", 2);
12181
- Ee([
12249
+ Pe([
12182
12250
  l({ attribute: !1 })
12183
12251
  ], ce.prototype, "presets", 2);
12184
- Ee([
12252
+ Pe([
12185
12253
  l({ attribute: !1 })
12186
12254
  ], ce.prototype, "labels", 2);
12187
- Ee([
12255
+ Pe([
12188
12256
  v()
12189
12257
  ], ce.prototype, "open", 2);
12190
- Ee([
12258
+ Pe([
12191
12259
  v()
12192
12260
  ], ce.prototype, "h", 2);
12193
- Ee([
12261
+ Pe([
12194
12262
  v()
12195
12263
  ], ce.prototype, "s", 2);
12196
- Ee([
12264
+ Pe([
12197
12265
  v()
12198
12266
  ], ce.prototype, "v", 2);
12199
- Ee([
12267
+ Pe([
12200
12268
  v()
12201
12269
  ], ce.prototype, "hexInput", 2);
12202
- Ee([
12270
+ Pe([
12203
12271
  v()
12204
12272
  ], ce.prototype, "hexInvalid", 2);
12205
12273
  y("ok-color-picker", ce);
12206
- var tl = Object.defineProperty, rl = Object.getOwnPropertyDescriptor, Pe = (n, e, t, r) => {
12274
+ var tl = Object.defineProperty, rl = Object.getOwnPropertyDescriptor, Oe = (n, e, t, r) => {
12207
12275
  for (var o = r > 1 ? void 0 : r ? rl(e, t) : e, a = n.length - 1, i; a >= 0; a--)
12208
12276
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
12209
12277
  return r && o && tl(e, t, o), o;
@@ -12329,40 +12397,40 @@ class de extends g {
12329
12397
  return this.href ? s`<a class="wrap" part="avatar" href=${this.href} title=${e} aria-label=${e}>${r}</a>` : s`<span class="wrap" part="avatar" role="img" title=${e} aria-label=${e}>${r}</span>`;
12330
12398
  }
12331
12399
  }
12332
- Pe([
12400
+ Oe([
12333
12401
  l({ type: String })
12334
12402
  ], de.prototype, "name", 2);
12335
- Pe([
12403
+ Oe([
12336
12404
  l({ type: String })
12337
12405
  ], de.prototype, "email", 2);
12338
- Pe([
12406
+ Oe([
12339
12407
  l({ type: String })
12340
12408
  ], de.prototype, "src", 2);
12341
- Pe([
12409
+ Oe([
12342
12410
  l({ type: String, reflect: !0 })
12343
12411
  ], de.prototype, "size", 2);
12344
- Pe([
12412
+ Oe([
12345
12413
  l({ type: String, reflect: !0 })
12346
12414
  ], de.prototype, "shape", 2);
12347
- Pe([
12415
+ Oe([
12348
12416
  l({ type: String, reflect: !0 })
12349
12417
  ], de.prototype, "tone", 2);
12350
- Pe([
12418
+ Oe([
12351
12419
  l({ type: String, reflect: !0 })
12352
12420
  ], de.prototype, "status", 2);
12353
- Pe([
12421
+ Oe([
12354
12422
  l({ type: String })
12355
12423
  ], de.prototype, "href", 2);
12356
- Pe([
12424
+ Oe([
12357
12425
  v()
12358
12426
  ], de.prototype, "imgFailed", 2);
12359
12427
  y("ok-avatar", de);
12360
- var ol = Object.defineProperty, al = Object.getOwnPropertyDescriptor, Br = (n, e, t, r) => {
12428
+ var ol = Object.defineProperty, al = Object.getOwnPropertyDescriptor, Fr = (n, e, t, r) => {
12361
12429
  for (var o = r > 1 ? void 0 : r ? al(e, t) : e, a = n.length - 1, i; a >= 0; a--)
12362
12430
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
12363
12431
  return r && o && ol(e, t, o), o;
12364
12432
  };
12365
- class or extends g {
12433
+ class ir extends g {
12366
12434
  constructor() {
12367
12435
  super(...arguments), this.tone = "neutral", this.dot = !1, this.size = "md";
12368
12436
  }
@@ -12451,23 +12519,23 @@ class or extends g {
12451
12519
  `;
12452
12520
  }
12453
12521
  }
12454
- Br([
12522
+ Fr([
12455
12523
  l({ type: String, reflect: !0 })
12456
- ], or.prototype, "tone", 2);
12457
- Br([
12524
+ ], ir.prototype, "tone", 2);
12525
+ Fr([
12458
12526
  l({ type: String })
12459
- ], or.prototype, "label", 2);
12460
- Br([
12527
+ ], ir.prototype, "label", 2);
12528
+ Fr([
12461
12529
  l({ type: String })
12462
- ], or.prototype, "icon", 2);
12463
- Br([
12530
+ ], ir.prototype, "icon", 2);
12531
+ Fr([
12464
12532
  l({ type: Boolean, reflect: !0 })
12465
- ], or.prototype, "dot", 2);
12466
- Br([
12533
+ ], ir.prototype, "dot", 2);
12534
+ Fr([
12467
12535
  l({ type: String, reflect: !0 })
12468
- ], or.prototype, "size", 2);
12469
- y("ok-status-pill", or);
12470
- var il = Object.defineProperty, sl = Object.getOwnPropertyDescriptor, Oe = (n, e, t, r) => {
12536
+ ], ir.prototype, "size", 2);
12537
+ y("ok-status-pill", ir);
12538
+ var il = Object.defineProperty, sl = Object.getOwnPropertyDescriptor, Me = (n, e, t, r) => {
12471
12539
  for (var o = r > 1 ? void 0 : r ? sl(e, t) : e, a = n.length - 1, i; a >= 0; a--)
12472
12540
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
12473
12541
  return r && o && il(e, t, o), o;
@@ -12749,40 +12817,40 @@ class pe extends g {
12749
12817
  ` : s``;
12750
12818
  }
12751
12819
  }
12752
- Oe([
12820
+ Me([
12753
12821
  l({ type: Boolean, reflect: !0 })
12754
12822
  ], pe.prototype, "open", 2);
12755
- Oe([
12823
+ Me([
12756
12824
  l({ reflect: !0 })
12757
12825
  ], pe.prototype, "side", 2);
12758
- Oe([
12826
+ Me([
12759
12827
  l()
12760
12828
  ], pe.prototype, "width", 2);
12761
- Oe([
12829
+ Me([
12762
12830
  l()
12763
12831
  ], pe.prototype, "heading", 2);
12764
- Oe([
12832
+ Me([
12765
12833
  l()
12766
12834
  ], pe.prototype, "icon", 2);
12767
- Oe([
12835
+ Me([
12768
12836
  l({ type: Boolean })
12769
12837
  ], pe.prototype, "scrim", 2);
12770
- Oe([
12838
+ Me([
12771
12839
  l({ type: Boolean })
12772
12840
  ], pe.prototype, "dismissible", 2);
12773
- Oe([
12841
+ Me([
12774
12842
  l({ attribute: !1 })
12775
12843
  ], pe.prototype, "labels", 2);
12776
- Oe([
12844
+ Me([
12777
12845
  I(".panel")
12778
12846
  ], pe.prototype, "panel", 2);
12779
12847
  y("ok-drawer", pe);
12780
- var ll = Object.defineProperty, cl = Object.getOwnPropertyDescriptor, rt = (n, e, t, r) => {
12848
+ var ll = Object.defineProperty, cl = Object.getOwnPropertyDescriptor, at = (n, e, t, r) => {
12781
12849
  for (var o = r > 1 ? void 0 : r ? cl(e, t) : e, a = n.length - 1, i; a >= 0; a--)
12782
12850
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
12783
12851
  return r && o && ll(e, t, o), o;
12784
12852
  };
12785
- class Me extends g {
12853
+ class De extends g {
12786
12854
  constructor() {
12787
12855
  super(...arguments), this.heading = "", this.level = 1, this.compact = !1, this.hasBreadcrumbs = !1, this.hasMeta = !1, this.hasActions = !1, this.hasExtra = !1;
12788
12856
  }
@@ -12936,31 +13004,31 @@ class Me extends g {
12936
13004
  `;
12937
13005
  }
12938
13006
  }
12939
- rt([
13007
+ at([
12940
13008
  l()
12941
- ], Me.prototype, "heading", 2);
12942
- rt([
13009
+ ], De.prototype, "heading", 2);
13010
+ at([
12943
13011
  l({ type: Number })
12944
- ], Me.prototype, "level", 2);
12945
- rt([
13012
+ ], De.prototype, "level", 2);
13013
+ at([
12946
13014
  l()
12947
- ], Me.prototype, "description", 2);
12948
- rt([
13015
+ ], De.prototype, "description", 2);
13016
+ at([
12949
13017
  l({ type: Boolean, reflect: !0 })
12950
- ], Me.prototype, "compact", 2);
12951
- rt([
13018
+ ], De.prototype, "compact", 2);
13019
+ at([
12952
13020
  v()
12953
- ], Me.prototype, "hasBreadcrumbs", 2);
12954
- rt([
13021
+ ], De.prototype, "hasBreadcrumbs", 2);
13022
+ at([
12955
13023
  v()
12956
- ], Me.prototype, "hasMeta", 2);
12957
- rt([
13024
+ ], De.prototype, "hasMeta", 2);
13025
+ at([
12958
13026
  v()
12959
- ], Me.prototype, "hasActions", 2);
12960
- rt([
13027
+ ], De.prototype, "hasActions", 2);
13028
+ at([
12961
13029
  v()
12962
- ], Me.prototype, "hasExtra", 2);
12963
- y("ok-page-header", Me);
13030
+ ], De.prototype, "hasExtra", 2);
13031
+ y("ok-page-header", De);
12964
13032
  var dl = Object.defineProperty, pl = Object.getOwnPropertyDescriptor, da = (n, e, t, r) => {
12965
13033
  for (var o = r > 1 ? void 0 : r ? pl(e, t) : e, a = n.length - 1, i; a >= 0; a--)
12966
13034
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
@@ -13009,7 +13077,7 @@ da([
13009
13077
  l()
13010
13078
  ], xo.prototype, "gap", 2);
13011
13079
  y("ok-bento", xo);
13012
- var hl = Object.defineProperty, ul = Object.getOwnPropertyDescriptor, De = (n, e, t, r) => {
13080
+ var hl = Object.defineProperty, ul = Object.getOwnPropertyDescriptor, Ae = (n, e, t, r) => {
13013
13081
  for (var o = r > 1 ? void 0 : r ? ul(e, t) : e, a = n.length - 1, i; a >= 0; a--)
13014
13082
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
13015
13083
  return r && o && hl(e, t, o), o;
@@ -13131,31 +13199,31 @@ class he extends g {
13131
13199
  return this.href ? s`<a class="cell" href=${this.href}>${this.body()}</a>` : s`<div class="cell">${this.body()}</div>`;
13132
13200
  }
13133
13201
  }
13134
- De([
13202
+ Ae([
13135
13203
  l({ type: Number })
13136
13204
  ], he.prototype, "cols", 2);
13137
- De([
13205
+ Ae([
13138
13206
  l({ type: Number })
13139
13207
  ], he.prototype, "rows", 2);
13140
- De([
13208
+ Ae([
13141
13209
  l({ reflect: !0 })
13142
13210
  ], he.prototype, "tone", 2);
13143
- De([
13211
+ Ae([
13144
13212
  l({ type: Boolean, reflect: !0 })
13145
13213
  ], he.prototype, "glass", 2);
13146
- De([
13214
+ Ae([
13147
13215
  l({ type: Boolean, reflect: !0 })
13148
13216
  ], he.prototype, "interactive", 2);
13149
- De([
13217
+ Ae([
13150
13218
  l()
13151
13219
  ], he.prototype, "href", 2);
13152
- De([
13220
+ Ae([
13153
13221
  l()
13154
13222
  ], he.prototype, "icon", 2);
13155
- De([
13223
+ Ae([
13156
13224
  l()
13157
13225
  ], he.prototype, "eyebrow", 2);
13158
- De([
13226
+ Ae([
13159
13227
  l()
13160
13228
  ], he.prototype, "heading", 2);
13161
13229
  y("ok-bento-item", he);
@@ -13230,12 +13298,12 @@ pa([
13230
13298
  l({ type: Boolean })
13231
13299
  ], yo.prototype, "once", 2);
13232
13300
  y("ok-reveal", yo);
13233
- var bl = Object.defineProperty, fl = Object.getOwnPropertyDescriptor, Fr = (n, e, t, r) => {
13301
+ var bl = Object.defineProperty, fl = Object.getOwnPropertyDescriptor, Rr = (n, e, t, r) => {
13234
13302
  for (var o = r > 1 ? void 0 : r ? fl(e, t) : e, a = n.length - 1, i; a >= 0; a--)
13235
13303
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
13236
13304
  return r && o && bl(e, t, o), o;
13237
13305
  };
13238
- class ar extends g {
13306
+ class sr extends g {
13239
13307
  constructor() {
13240
13308
  super(...arguments), this.glass = !1;
13241
13309
  }
@@ -13353,23 +13421,23 @@ class ar extends g {
13353
13421
  return this.href ? s`<a class="card" href=${this.href}>${this.inner()}</a>` : s`<div class="card">${this.inner()}</div>`;
13354
13422
  }
13355
13423
  }
13356
- Fr([
13424
+ Rr([
13357
13425
  l()
13358
- ], ar.prototype, "icon", 2);
13359
- Fr([
13426
+ ], sr.prototype, "icon", 2);
13427
+ Rr([
13360
13428
  l()
13361
- ], ar.prototype, "eyebrow", 2);
13362
- Fr([
13429
+ ], sr.prototype, "eyebrow", 2);
13430
+ Rr([
13363
13431
  l()
13364
- ], ar.prototype, "heading", 2);
13365
- Fr([
13432
+ ], sr.prototype, "heading", 2);
13433
+ Rr([
13366
13434
  l()
13367
- ], ar.prototype, "href", 2);
13368
- Fr([
13435
+ ], sr.prototype, "href", 2);
13436
+ Rr([
13369
13437
  l({ type: Boolean, reflect: !0 })
13370
- ], ar.prototype, "glass", 2);
13371
- y("ok-feature-card", ar);
13372
- var gl = Object.defineProperty, xl = Object.getOwnPropertyDescriptor, ot = (n, e, t, r) => {
13438
+ ], sr.prototype, "glass", 2);
13439
+ y("ok-feature-card", sr);
13440
+ var gl = Object.defineProperty, xl = Object.getOwnPropertyDescriptor, it = (n, e, t, r) => {
13373
13441
  for (var o = r > 1 ? void 0 : r ? xl(e, t) : e, a = n.length - 1, i; a >= 0; a--)
13374
13442
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
13375
13443
  return r && o && gl(e, t, o), o;
@@ -13377,7 +13445,7 @@ var gl = Object.defineProperty, xl = Object.getOwnPropertyDescriptor, ot = (n, e
13377
13445
  const yl = {
13378
13446
  popular: "Popular"
13379
13447
  };
13380
- class Ae extends g {
13448
+ class je extends g {
13381
13449
  constructor() {
13382
13450
  super(...arguments), this.period = "", this.features = [], this.featured = !1, this.labels = {};
13383
13451
  }
@@ -13514,37 +13582,37 @@ class Ae extends g {
13514
13582
  `;
13515
13583
  }
13516
13584
  }
13517
- ot([
13585
+ it([
13518
13586
  l()
13519
- ], Ae.prototype, "name", 2);
13520
- ot([
13587
+ ], je.prototype, "name", 2);
13588
+ it([
13521
13589
  l()
13522
- ], Ae.prototype, "price", 2);
13523
- ot([
13590
+ ], je.prototype, "price", 2);
13591
+ it([
13524
13592
  l()
13525
- ], Ae.prototype, "period", 2);
13526
- ot([
13593
+ ], je.prototype, "period", 2);
13594
+ it([
13527
13595
  l()
13528
- ], Ae.prototype, "description", 2);
13529
- ot([
13596
+ ], je.prototype, "description", 2);
13597
+ it([
13530
13598
  l({ attribute: !1 })
13531
- ], Ae.prototype, "features", 2);
13532
- ot([
13599
+ ], je.prototype, "features", 2);
13600
+ it([
13533
13601
  l({ type: Boolean, reflect: !0 })
13534
- ], Ae.prototype, "featured", 2);
13535
- ot([
13602
+ ], je.prototype, "featured", 2);
13603
+ it([
13536
13604
  l()
13537
- ], Ae.prototype, "badge", 2);
13538
- ot([
13605
+ ], je.prototype, "badge", 2);
13606
+ it([
13539
13607
  l({ attribute: !1 })
13540
- ], Ae.prototype, "labels", 2);
13541
- y("ok-pricing-card", Ae);
13542
- var kl = Object.defineProperty, wl = Object.getOwnPropertyDescriptor, ir = (n, e, t, r) => {
13608
+ ], je.prototype, "labels", 2);
13609
+ y("ok-pricing-card", je);
13610
+ var kl = Object.defineProperty, wl = Object.getOwnPropertyDescriptor, nr = (n, e, t, r) => {
13543
13611
  for (var o = r > 1 ? void 0 : r ? wl(e, t) : e, a = n.length - 1, i; a >= 0; a--)
13544
13612
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
13545
13613
  return r && o && kl(e, t, o), o;
13546
13614
  };
13547
- class jt extends g {
13615
+ class It extends g {
13548
13616
  static {
13549
13617
  this.styles = x`
13550
13618
  :host {
@@ -13686,25 +13754,25 @@ class jt extends g {
13686
13754
  return this.href ? s`<a class="card" href=${this.href}>${this.inner()}</a>` : s`<div class="card">${this.inner()}</div>`;
13687
13755
  }
13688
13756
  }
13689
- ir([
13757
+ nr([
13690
13758
  l()
13691
- ], jt.prototype, "icon", 2);
13692
- ir([
13759
+ ], It.prototype, "icon", 2);
13760
+ nr([
13693
13761
  l()
13694
- ], jt.prototype, "category", 2);
13695
- ir([
13762
+ ], It.prototype, "category", 2);
13763
+ nr([
13696
13764
  l()
13697
- ], jt.prototype, "name", 2);
13698
- ir([
13765
+ ], It.prototype, "name", 2);
13766
+ nr([
13699
13767
  l()
13700
- ], jt.prototype, "badge", 2);
13701
- ir([
13768
+ ], It.prototype, "badge", 2);
13769
+ nr([
13702
13770
  l()
13703
- ], jt.prototype, "price", 2);
13704
- ir([
13771
+ ], It.prototype, "price", 2);
13772
+ nr([
13705
13773
  l()
13706
- ], jt.prototype, "href", 2);
13707
- y("ok-product-card", jt);
13774
+ ], It.prototype, "href", 2);
13775
+ y("ok-product-card", It);
13708
13776
  var $l = Object.defineProperty, zl = Object.getOwnPropertyDescriptor, oi = (n, e, t, r) => {
13709
13777
  for (var o = r > 1 ? void 0 : r ? zl(e, t) : e, a = n.length - 1, i; a >= 0; a--)
13710
13778
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
@@ -13786,12 +13854,12 @@ oi([
13786
13854
  l({ type: Boolean, reflect: !0 })
13787
13855
  ], ha.prototype, "marquee", 2);
13788
13856
  y("ok-logo-cloud", ha);
13789
- var _l = Object.defineProperty, Cl = Object.getOwnPropertyDescriptor, Rr = (n, e, t, r) => {
13857
+ var _l = Object.defineProperty, Cl = Object.getOwnPropertyDescriptor, Nr = (n, e, t, r) => {
13790
13858
  for (var o = r > 1 ? void 0 : r ? Cl(e, t) : e, a = n.length - 1, i; a >= 0; a--)
13791
13859
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
13792
13860
  return r && o && _l(e, t, o), o;
13793
13861
  };
13794
- class sr extends g {
13862
+ class lr extends g {
13795
13863
  constructor() {
13796
13864
  super(...arguments), this.rating = 0, this.glass = !1;
13797
13865
  }
@@ -13893,28 +13961,28 @@ class sr extends g {
13893
13961
  `;
13894
13962
  }
13895
13963
  }
13896
- Rr([
13964
+ Nr([
13897
13965
  l({ type: Number })
13898
- ], sr.prototype, "rating", 2);
13899
- Rr([
13966
+ ], lr.prototype, "rating", 2);
13967
+ Nr([
13900
13968
  l()
13901
- ], sr.prototype, "author", 2);
13902
- Rr([
13969
+ ], lr.prototype, "author", 2);
13970
+ Nr([
13903
13971
  l({ attribute: "author-role" })
13904
- ], sr.prototype, "authorRole", 2);
13905
- Rr([
13972
+ ], lr.prototype, "authorRole", 2);
13973
+ Nr([
13906
13974
  l()
13907
- ], sr.prototype, "avatar", 2);
13908
- Rr([
13975
+ ], lr.prototype, "avatar", 2);
13976
+ Nr([
13909
13977
  l({ type: Boolean, reflect: !0 })
13910
- ], sr.prototype, "glass", 2);
13911
- y("ok-testimonial", sr);
13978
+ ], lr.prototype, "glass", 2);
13979
+ y("ok-testimonial", lr);
13912
13980
  var Sl = Object.defineProperty, El = Object.getOwnPropertyDescriptor, ko = (n, e, t, r) => {
13913
13981
  for (var o = r > 1 ? void 0 : r ? El(e, t) : e, a = n.length - 1, i; a >= 0; a--)
13914
13982
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
13915
13983
  return r && o && Sl(e, t, o), o;
13916
13984
  };
13917
- class Nr extends g {
13985
+ class qr extends g {
13918
13986
  constructor() {
13919
13987
  super(...arguments), this.variant = "solid";
13920
13988
  }
@@ -14021,17 +14089,17 @@ class Nr extends g {
14021
14089
  }
14022
14090
  ko([
14023
14091
  l()
14024
- ], Nr.prototype, "eyebrow", 2);
14092
+ ], qr.prototype, "eyebrow", 2);
14025
14093
  ko([
14026
14094
  l()
14027
- ], Nr.prototype, "heading", 2);
14095
+ ], qr.prototype, "heading", 2);
14028
14096
  ko([
14029
14097
  l()
14030
- ], Nr.prototype, "subheading", 2);
14098
+ ], qr.prototype, "subheading", 2);
14031
14099
  ko([
14032
14100
  l({ reflect: !0 })
14033
- ], Nr.prototype, "variant", 2);
14034
- y("ok-cta-band", Nr);
14101
+ ], qr.prototype, "variant", 2);
14102
+ y("ok-cta-band", qr);
14035
14103
  var Pl = Object.defineProperty, Ol = Object.getOwnPropertyDescriptor, wo = (n, e, t, r) => {
14036
14104
  for (var o = r > 1 ? void 0 : r ? Ol(e, t) : e, a = n.length - 1, i; a >= 0; a--)
14037
14105
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
@@ -14040,7 +14108,7 @@ var Pl = Object.defineProperty, Ol = Object.getOwnPropertyDescriptor, wo = (n, e
14040
14108
  const Ml = {
14041
14109
  language: "Language"
14042
14110
  };
14043
- class qr extends g {
14111
+ class Ur extends g {
14044
14112
  constructor() {
14045
14113
  super(...arguments), this.value = "", this.open = !1, this.labels = {}, this.currentLabel = "", this.toggle = (e) => {
14046
14114
  e.stopPropagation(), this.open = !this.open;
@@ -14185,18 +14253,18 @@ class qr extends g {
14185
14253
  }
14186
14254
  wo([
14187
14255
  l()
14188
- ], qr.prototype, "value", 2);
14256
+ ], Ur.prototype, "value", 2);
14189
14257
  wo([
14190
14258
  l({ type: Boolean, reflect: !0 })
14191
- ], qr.prototype, "open", 2);
14259
+ ], Ur.prototype, "open", 2);
14192
14260
  wo([
14193
14261
  l({ attribute: !1 })
14194
- ], qr.prototype, "labels", 2);
14262
+ ], Ur.prototype, "labels", 2);
14195
14263
  wo([
14196
14264
  v()
14197
- ], qr.prototype, "currentLabel", 2);
14198
- y("ok-language-select", qr);
14199
- var Dl = Object.defineProperty, Al = Object.getOwnPropertyDescriptor, Ur = (n, e, t, r) => {
14265
+ ], Ur.prototype, "currentLabel", 2);
14266
+ y("ok-language-select", Ur);
14267
+ var Dl = Object.defineProperty, Al = Object.getOwnPropertyDescriptor, Vr = (n, e, t, r) => {
14200
14268
  for (var o = r > 1 ? void 0 : r ? Al(e, t) : e, a = n.length - 1, i; a >= 0; a--)
14201
14269
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
14202
14270
  return r && o && Dl(e, t, o), o;
@@ -14277,7 +14345,7 @@ function Il() {
14277
14345
  .ok-navbar-modal .ok-navbar-actions ion-button { width: 100%; }
14278
14346
  `), document.adoptedStyleSheets = [...document.adoptedStyleSheets, n];
14279
14347
  }
14280
- class nr extends g {
14348
+ class cr extends g {
14281
14349
  constructor() {
14282
14350
  super(...arguments), this.sticky = !1, this.glass = !1, this.open = !1, this.labels = {}, this.isMobile = !1, this.mq = null, this.modal = null, this.linksHost = null, this.actionsHost = null, this.closeBtn = null, this.movedNodes = [], this.onMqChange = (e) => {
14283
14351
  this.isMobile = e.matches, e.matches || (this.open = !1);
@@ -14427,22 +14495,22 @@ class nr extends g {
14427
14495
  `;
14428
14496
  }
14429
14497
  }
14430
- Ur([
14498
+ Vr([
14431
14499
  l({ type: Boolean, reflect: !0 })
14432
- ], nr.prototype, "sticky", 2);
14433
- Ur([
14500
+ ], cr.prototype, "sticky", 2);
14501
+ Vr([
14434
14502
  l({ type: Boolean, reflect: !0 })
14435
- ], nr.prototype, "glass", 2);
14436
- Ur([
14503
+ ], cr.prototype, "glass", 2);
14504
+ Vr([
14437
14505
  l({ type: Boolean, reflect: !0 })
14438
- ], nr.prototype, "open", 2);
14439
- Ur([
14506
+ ], cr.prototype, "open", 2);
14507
+ Vr([
14440
14508
  l({ attribute: !1 })
14441
- ], nr.prototype, "labels", 2);
14442
- Ur([
14509
+ ], cr.prototype, "labels", 2);
14510
+ Vr([
14443
14511
  v()
14444
- ], nr.prototype, "isMobile", 2);
14445
- y("ok-navbar", nr);
14512
+ ], cr.prototype, "isMobile", 2);
14513
+ y("ok-navbar", cr);
14446
14514
  class Tl extends g {
14447
14515
  static {
14448
14516
  this.styles = x`
@@ -14543,7 +14611,7 @@ class Bl extends g {
14543
14611
  }
14544
14612
  }
14545
14613
  y("ok-hero", Bl);
14546
- var Fl = Object.defineProperty, Rl = Object.getOwnPropertyDescriptor, je = (n, e, t, r) => {
14614
+ var Fl = Object.defineProperty, Rl = Object.getOwnPropertyDescriptor, Le = (n, e, t, r) => {
14547
14615
  for (var o = r > 1 ? void 0 : r ? Rl(e, t) : e, a = n.length - 1, i; a >= 0; a--)
14548
14616
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
14549
14617
  return r && o && Fl(e, t, o), o;
@@ -14825,40 +14893,40 @@ class ue extends g {
14825
14893
  `;
14826
14894
  }
14827
14895
  }
14828
- je([
14896
+ Le([
14829
14897
  l({ type: Number })
14830
14898
  ], ue.prototype, "total", 2);
14831
- je([
14899
+ Le([
14832
14900
  l({ type: Number })
14833
14901
  ], ue.prototype, "page", 2);
14834
- je([
14902
+ Le([
14835
14903
  l({ type: Number, attribute: "page-size" })
14836
14904
  ], ue.prototype, "pageSize", 2);
14837
- je([
14905
+ Le([
14838
14906
  l({ type: Number, attribute: "sibling-count" })
14839
14907
  ], ue.prototype, "siblingCount", 2);
14840
- je([
14908
+ Le([
14841
14909
  l({ type: Number, attribute: "boundary-count" })
14842
14910
  ], ue.prototype, "boundaryCount", 2);
14843
- je([
14911
+ Le([
14844
14912
  l()
14845
14913
  ], ue.prototype, "variant", 2);
14846
- je([
14914
+ Le([
14847
14915
  l({ type: Boolean })
14848
14916
  ], ue.prototype, "info", 2);
14849
- je([
14917
+ Le([
14850
14918
  l({ type: Array, attribute: "page-size-options" })
14851
14919
  ], ue.prototype, "pageSizeOptions", 2);
14852
- je([
14920
+ Le([
14853
14921
  l()
14854
14922
  ], ue.prototype, "label", 2);
14855
14923
  y("ok-pagination", ue);
14856
- var Nl = Object.defineProperty, ql = Object.getOwnPropertyDescriptor, at = (n, e, t, r) => {
14924
+ var Nl = Object.defineProperty, ql = Object.getOwnPropertyDescriptor, st = (n, e, t, r) => {
14857
14925
  for (var o = r > 1 ? void 0 : r ? ql(e, t) : e, a = n.length - 1, i; a >= 0; a--)
14858
14926
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
14859
14927
  return r && o && Nl(e, t, o), o;
14860
14928
  };
14861
- class Le extends g {
14929
+ class Ie extends g {
14862
14930
  constructor() {
14863
14931
  super(...arguments), this.variant = "text", this.lines = 1, this.preset = "none", this.rows = 5, this.cols = 4;
14864
14932
  }
@@ -15145,31 +15213,31 @@ class Le extends g {
15145
15213
  `;
15146
15214
  }
15147
15215
  }
15148
- at([
15216
+ st([
15149
15217
  l()
15150
- ], Le.prototype, "variant", 2);
15151
- at([
15218
+ ], Ie.prototype, "variant", 2);
15219
+ st([
15152
15220
  l({ type: Number })
15153
- ], Le.prototype, "lines", 2);
15154
- at([
15221
+ ], Ie.prototype, "lines", 2);
15222
+ st([
15155
15223
  l()
15156
- ], Le.prototype, "width", 2);
15157
- at([
15224
+ ], Ie.prototype, "width", 2);
15225
+ st([
15158
15226
  l()
15159
- ], Le.prototype, "height", 2);
15160
- at([
15227
+ ], Ie.prototype, "height", 2);
15228
+ st([
15161
15229
  l()
15162
- ], Le.prototype, "radius", 2);
15163
- at([
15230
+ ], Ie.prototype, "radius", 2);
15231
+ st([
15164
15232
  l()
15165
- ], Le.prototype, "preset", 2);
15166
- at([
15233
+ ], Ie.prototype, "preset", 2);
15234
+ st([
15167
15235
  l({ type: Number })
15168
- ], Le.prototype, "rows", 2);
15169
- at([
15236
+ ], Ie.prototype, "rows", 2);
15237
+ st([
15170
15238
  l({ type: Number })
15171
- ], Le.prototype, "cols", 2);
15172
- y("ok-skeleton", Le);
15239
+ ], Ie.prototype, "cols", 2);
15240
+ y("ok-skeleton", Ie);
15173
15241
  var Ul = Object.defineProperty, Vl = Object.getOwnPropertyDescriptor, Q = (n, e, t, r) => {
15174
15242
  for (var o = r > 1 ? void 0 : r ? Vl(e, t) : e, a = n.length - 1, i; a >= 0; a--)
15175
15243
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
@@ -15503,12 +15571,12 @@ Q([
15503
15571
  l()
15504
15572
  ], X.prototype, "unit", 2);
15505
15573
  y("ok-gauge", X);
15506
- var Hl = Object.defineProperty, Kl = Object.getOwnPropertyDescriptor, it = (n, e, t, r) => {
15574
+ var Hl = Object.defineProperty, Kl = Object.getOwnPropertyDescriptor, nt = (n, e, t, r) => {
15507
15575
  for (var o = r > 1 ? void 0 : r ? Kl(e, t) : e, a = n.length - 1, i; a >= 0; a--)
15508
15576
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
15509
15577
  return r && o && Hl(e, t, o), o;
15510
15578
  };
15511
- class Ie extends g {
15579
+ class Te extends g {
15512
15580
  constructor() {
15513
15581
  super(...arguments), this.type = "line", this.series = [], this.labels = [], this.axis = [], this.gridlines = !0, this.height = 200, this.endpoint = !1, this.endpointLabel = "", this.vbWidth = 600;
15514
15582
  }
@@ -15745,32 +15813,32 @@ class Ie extends g {
15745
15813
  `;
15746
15814
  }
15747
15815
  }
15748
- it([
15816
+ nt([
15749
15817
  l()
15750
- ], Ie.prototype, "type", 2);
15751
- it([
15818
+ ], Te.prototype, "type", 2);
15819
+ nt([
15752
15820
  l({ attribute: !1 })
15753
- ], Ie.prototype, "series", 2);
15754
- it([
15821
+ ], Te.prototype, "series", 2);
15822
+ nt([
15755
15823
  l({ attribute: !1 })
15756
- ], Ie.prototype, "labels", 2);
15757
- it([
15824
+ ], Te.prototype, "labels", 2);
15825
+ nt([
15758
15826
  l({ attribute: !1 })
15759
- ], Ie.prototype, "axis", 2);
15760
- it([
15827
+ ], Te.prototype, "axis", 2);
15828
+ nt([
15761
15829
  l({ type: Boolean })
15762
- ], Ie.prototype, "gridlines", 2);
15763
- it([
15830
+ ], Te.prototype, "gridlines", 2);
15831
+ nt([
15764
15832
  l({ type: Number })
15765
- ], Ie.prototype, "height", 2);
15766
- it([
15833
+ ], Te.prototype, "height", 2);
15834
+ nt([
15767
15835
  l({ type: Boolean })
15768
- ], Ie.prototype, "endpoint", 2);
15769
- it([
15836
+ ], Te.prototype, "endpoint", 2);
15837
+ nt([
15770
15838
  l()
15771
- ], Ie.prototype, "endpointLabel", 2);
15772
- y("ok-chart", Ie);
15773
- var Yl = Object.defineProperty, Xl = Object.getOwnPropertyDescriptor, Lt = (n, e, t, r) => {
15839
+ ], Te.prototype, "endpointLabel", 2);
15840
+ y("ok-chart", Te);
15841
+ var Yl = Object.defineProperty, Xl = Object.getOwnPropertyDescriptor, Tt = (n, e, t, r) => {
15774
15842
  for (var o = r > 1 ? void 0 : r ? Xl(e, t) : e, a = n.length - 1, i; a >= 0; a--)
15775
15843
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
15776
15844
  return r && o && Yl(e, t, o), o;
@@ -15783,7 +15851,7 @@ const La = [
15783
15851
  "var(--ok-danger, var(--ion-color-danger, #eb445a))",
15784
15852
  "var(--ok-secondary, var(--ion-color-secondary, #3dc2ff))"
15785
15853
  ];
15786
- class st extends g {
15854
+ class lt extends g {
15787
15855
  constructor() {
15788
15856
  super(...arguments), this.slices = [], this.size = 140, this.thickness = 16, this.centerLabel = "", this.centerValue = "", this.legend = !0, this.legendSide = "side";
15789
15857
  }
@@ -15986,29 +16054,29 @@ class st extends g {
15986
16054
  `;
15987
16055
  }
15988
16056
  }
15989
- Lt([
16057
+ Tt([
15990
16058
  l({ attribute: !1 })
15991
- ], st.prototype, "slices", 2);
15992
- Lt([
16059
+ ], lt.prototype, "slices", 2);
16060
+ Tt([
15993
16061
  l({ type: Number })
15994
- ], st.prototype, "size", 2);
15995
- Lt([
16062
+ ], lt.prototype, "size", 2);
16063
+ Tt([
15996
16064
  l({ type: Number })
15997
- ], st.prototype, "thickness", 2);
15998
- Lt([
16065
+ ], lt.prototype, "thickness", 2);
16066
+ Tt([
15999
16067
  l({ attribute: "center-label" })
16000
- ], st.prototype, "centerLabel", 2);
16001
- Lt([
16068
+ ], lt.prototype, "centerLabel", 2);
16069
+ Tt([
16002
16070
  l({ attribute: "center-value" })
16003
- ], st.prototype, "centerValue", 2);
16004
- Lt([
16071
+ ], lt.prototype, "centerValue", 2);
16072
+ Tt([
16005
16073
  l({ type: Boolean })
16006
- ], st.prototype, "legend", 2);
16007
- Lt([
16074
+ ], lt.prototype, "legend", 2);
16075
+ Tt([
16008
16076
  l({ attribute: "legend-side" })
16009
- ], st.prototype, "legendSide", 2);
16010
- y("ok-donut", st);
16011
- var Wl = Object.defineProperty, Gl = Object.getOwnPropertyDescriptor, lr = (n, e, t, r) => {
16077
+ ], lt.prototype, "legendSide", 2);
16078
+ y("ok-donut", lt);
16079
+ var Wl = Object.defineProperty, Gl = Object.getOwnPropertyDescriptor, dr = (n, e, t, r) => {
16012
16080
  for (var o = r > 1 ? void 0 : r ? Gl(e, t) : e, a = n.length - 1, i; a >= 0; a--)
16013
16081
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
16014
16082
  return r && o && Wl(e, t, o), o;
@@ -16027,7 +16095,7 @@ const Ia = [
16027
16095
  "Nov",
16028
16096
  "Dic"
16029
16097
  ];
16030
- class It extends g {
16098
+ class Bt extends g {
16031
16099
  constructor() {
16032
16100
  super(...arguments), this.data = [], this.levels = 5, this.scale = "", this.layout = "weeks", this.cellSize = 12, this.legend = !1;
16033
16101
  }
@@ -16230,25 +16298,25 @@ class It extends g {
16230
16298
  </div>`;
16231
16299
  }
16232
16300
  }
16233
- lr([
16301
+ dr([
16234
16302
  l({ attribute: !1 })
16235
- ], It.prototype, "data", 2);
16236
- lr([
16303
+ ], Bt.prototype, "data", 2);
16304
+ dr([
16237
16305
  l({ type: Number })
16238
- ], It.prototype, "levels", 2);
16239
- lr([
16306
+ ], Bt.prototype, "levels", 2);
16307
+ dr([
16240
16308
  l()
16241
- ], It.prototype, "scale", 2);
16242
- lr([
16309
+ ], Bt.prototype, "scale", 2);
16310
+ dr([
16243
16311
  l()
16244
- ], It.prototype, "layout", 2);
16245
- lr([
16312
+ ], Bt.prototype, "layout", 2);
16313
+ dr([
16246
16314
  l({ type: Number, attribute: "cell-size" })
16247
- ], It.prototype, "cellSize", 2);
16248
- lr([
16315
+ ], Bt.prototype, "cellSize", 2);
16316
+ dr([
16249
16317
  l({ type: Boolean })
16250
- ], It.prototype, "legend", 2);
16251
- y("ok-heatmap", It);
16318
+ ], Bt.prototype, "legend", 2);
16319
+ y("ok-heatmap", Bt);
16252
16320
  var Ql = Object.defineProperty, Zl = Object.getOwnPropertyDescriptor, ua = (n, e, t, r) => {
16253
16321
  for (var o = r > 1 ? void 0 : r ? Zl(e, t) : e, a = n.length - 1, i; a >= 0; a--)
16254
16322
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
@@ -16411,13 +16479,13 @@ ua([
16411
16479
  l({ type: Number, attribute: "min-width" })
16412
16480
  ], $o.prototype, "minWidth", 2);
16413
16481
  y("ok-funnel", $o);
16414
- var Jl = Object.defineProperty, ec = Object.getOwnPropertyDescriptor, Vr = (n, e, t, r) => {
16482
+ var Jl = Object.defineProperty, ec = Object.getOwnPropertyDescriptor, Hr = (n, e, t, r) => {
16415
16483
  for (var o = r > 1 ? void 0 : r ? ec(e, t) : e, a = n.length - 1, i; a >= 0; a--)
16416
16484
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
16417
16485
  return r && o && Jl(e, t, o), o;
16418
16486
  };
16419
16487
  const tc = /* @__PURE__ */ new Set(["brand", "leaf", "warn", "info", "danger"]);
16420
- class cr extends g {
16488
+ class pr extends g {
16421
16489
  constructor() {
16422
16490
  super(...arguments), this.items = [], this.valueFormat = "number", this.locale = "", this.currency = "EUR";
16423
16491
  }
@@ -16566,22 +16634,22 @@ class cr extends g {
16566
16634
  `;
16567
16635
  }
16568
16636
  }
16569
- Vr([
16637
+ Hr([
16570
16638
  l({ attribute: !1 })
16571
- ], cr.prototype, "items", 2);
16572
- Vr([
16639
+ ], pr.prototype, "items", 2);
16640
+ Hr([
16573
16641
  l({ type: Number })
16574
- ], cr.prototype, "max", 2);
16575
- Vr([
16642
+ ], pr.prototype, "max", 2);
16643
+ Hr([
16576
16644
  l({ attribute: "value-format" })
16577
- ], cr.prototype, "valueFormat", 2);
16578
- Vr([
16645
+ ], pr.prototype, "valueFormat", 2);
16646
+ Hr([
16579
16647
  l()
16580
- ], cr.prototype, "locale", 2);
16581
- Vr([
16648
+ ], pr.prototype, "locale", 2);
16649
+ Hr([
16582
16650
  l()
16583
- ], cr.prototype, "currency", 2);
16584
- y("ok-bar-list", cr);
16651
+ ], pr.prototype, "currency", 2);
16652
+ y("ok-bar-list", pr);
16585
16653
  /**
16586
16654
  * @license
16587
16655
  * Copyright 2017 Google LLC
@@ -16608,7 +16676,7 @@ var oc = Object.defineProperty, ac = Object.getOwnPropertyDescriptor, zo = (n, e
16608
16676
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
16609
16677
  return r && o && oc(e, t, o), o;
16610
16678
  };
16611
- class Hr extends g {
16679
+ class Kr extends g {
16612
16680
  constructor() {
16613
16681
  super(...arguments), this.items = [], this.columns = 1, this.dense = !1, this.placeholder = "—";
16614
16682
  }
@@ -16724,23 +16792,23 @@ class Hr extends g {
16724
16792
  }
16725
16793
  zo([
16726
16794
  l({ attribute: !1 })
16727
- ], Hr.prototype, "items", 2);
16795
+ ], Kr.prototype, "items", 2);
16728
16796
  zo([
16729
16797
  l({ type: Number, reflect: !0 })
16730
- ], Hr.prototype, "columns", 2);
16798
+ ], Kr.prototype, "columns", 2);
16731
16799
  zo([
16732
16800
  l({ type: Boolean, reflect: !0 })
16733
- ], Hr.prototype, "dense", 2);
16801
+ ], Kr.prototype, "dense", 2);
16734
16802
  zo([
16735
16803
  l()
16736
- ], Hr.prototype, "placeholder", 2);
16737
- y("ok-detail-list", Hr);
16738
- var ic = Object.defineProperty, sc = Object.getOwnPropertyDescriptor, Kr = (n, e, t, r) => {
16804
+ ], Kr.prototype, "placeholder", 2);
16805
+ y("ok-detail-list", Kr);
16806
+ var ic = Object.defineProperty, sc = Object.getOwnPropertyDescriptor, Yr = (n, e, t, r) => {
16739
16807
  for (var o = r > 1 ? void 0 : r ? sc(e, t) : e, a = n.length - 1, i; a >= 0; a--)
16740
16808
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
16741
16809
  return r && o && ic(e, t, o), o;
16742
16810
  };
16743
- class dr extends g {
16811
+ class hr extends g {
16744
16812
  constructor() {
16745
16813
  super(...arguments), this.color = "neutral", this.size = "md", this.shape = "rounded";
16746
16814
  }
@@ -16823,28 +16891,28 @@ class dr extends g {
16823
16891
  `;
16824
16892
  }
16825
16893
  }
16826
- Kr([
16894
+ Yr([
16827
16895
  l()
16828
- ], dr.prototype, "icon", 2);
16829
- Kr([
16896
+ ], hr.prototype, "icon", 2);
16897
+ Yr([
16830
16898
  l({ reflect: !0 })
16831
- ], dr.prototype, "color", 2);
16832
- Kr([
16899
+ ], hr.prototype, "color", 2);
16900
+ Yr([
16833
16901
  l({ reflect: !0 })
16834
- ], dr.prototype, "size", 2);
16835
- Kr([
16902
+ ], hr.prototype, "size", 2);
16903
+ Yr([
16836
16904
  l({ reflect: !0 })
16837
- ], dr.prototype, "shape", 2);
16838
- Kr([
16905
+ ], hr.prototype, "shape", 2);
16906
+ Yr([
16839
16907
  l()
16840
- ], dr.prototype, "label", 2);
16841
- y("ok-icon-tile", dr);
16842
- var nc = Object.defineProperty, lc = Object.getOwnPropertyDescriptor, Yr = (n, e, t, r) => {
16908
+ ], hr.prototype, "label", 2);
16909
+ y("ok-icon-tile", hr);
16910
+ var nc = Object.defineProperty, lc = Object.getOwnPropertyDescriptor, Xr = (n, e, t, r) => {
16843
16911
  for (var o = r > 1 ? void 0 : r ? lc(e, t) : e, a = n.length - 1, i; a >= 0; a--)
16844
16912
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
16845
16913
  return r && o && nc(e, t, o), o;
16846
16914
  };
16847
- class pr extends g {
16915
+ class ur extends g {
16848
16916
  constructor() {
16849
16917
  super(...arguments), this.tone = "off", this.size = "md", this.pulse = !1, this.showLabel = !1;
16850
16918
  }
@@ -16971,22 +17039,22 @@ class pr extends g {
16971
17039
  `;
16972
17040
  }
16973
17041
  }
16974
- Yr([
17042
+ Xr([
16975
17043
  l({ reflect: !0 })
16976
- ], pr.prototype, "tone", 2);
16977
- Yr([
17044
+ ], ur.prototype, "tone", 2);
17045
+ Xr([
16978
17046
  l({ reflect: !0 })
16979
- ], pr.prototype, "size", 2);
16980
- Yr([
17047
+ ], ur.prototype, "size", 2);
17048
+ Xr([
16981
17049
  l({ type: Boolean, reflect: !0 })
16982
- ], pr.prototype, "pulse", 2);
16983
- Yr([
17050
+ ], ur.prototype, "pulse", 2);
17051
+ Xr([
16984
17052
  l()
16985
- ], pr.prototype, "label", 2);
16986
- Yr([
17053
+ ], ur.prototype, "label", 2);
17054
+ Xr([
16987
17055
  l({ type: Boolean, attribute: "show-label" })
16988
- ], pr.prototype, "showLabel", 2);
16989
- y("ok-status-dot", pr);
17056
+ ], ur.prototype, "showLabel", 2);
17057
+ y("ok-status-dot", ur);
16990
17058
  var cc = Object.defineProperty, dc = Object.getOwnPropertyDescriptor, ma = (n, e, t, r) => {
16991
17059
  for (var o = r > 1 ? void 0 : r ? dc(e, t) : e, a = n.length - 1, i; a >= 0; a--)
16992
17060
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
@@ -17995,7 +18063,7 @@ L([
17995
18063
  I(".trigger")
17996
18064
  ], j.prototype, "triggerEl", 2);
17997
18065
  y("ok-hover-card", j);
17998
- var gc = Object.defineProperty, xc = Object.getOwnPropertyDescriptor, hr = (n, e, t, r) => {
18066
+ var gc = Object.defineProperty, xc = Object.getOwnPropertyDescriptor, mr = (n, e, t, r) => {
17999
18067
  for (var o = r > 1 ? void 0 : r ? xc(e, t) : e, a = n.length - 1, i; a >= 0; a--)
18000
18068
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
18001
18069
  return r && o && gc(e, t, o), o;
@@ -18006,7 +18074,7 @@ const yc = {
18006
18074
  emptyTitle: "All caught up",
18007
18075
  emptyText: "No notifications to show."
18008
18076
  }, kc = '<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.73 21a2 2 0 0 1-3.46 0"/></svg>';
18009
- class Tt extends g {
18077
+ class Ft extends g {
18010
18078
  constructor() {
18011
18079
  super(...arguments), this.items = [], this.filters = [], this.open = !1, this.title = "Notifications", this.labels = {}, this.onKeydown = (e) => {
18012
18080
  e.key === "Escape" && this.open && this.requestClose("esc");
@@ -18491,26 +18559,26 @@ class Tt extends g {
18491
18559
  `;
18492
18560
  }
18493
18561
  }
18494
- hr([
18562
+ mr([
18495
18563
  l({ attribute: !1 })
18496
- ], Tt.prototype, "items", 2);
18497
- hr([
18564
+ ], Ft.prototype, "items", 2);
18565
+ mr([
18498
18566
  l({ attribute: !1 })
18499
- ], Tt.prototype, "filters", 2);
18500
- hr([
18567
+ ], Ft.prototype, "filters", 2);
18568
+ mr([
18501
18569
  l({ reflect: !0 })
18502
- ], Tt.prototype, "active", 2);
18503
- hr([
18570
+ ], Ft.prototype, "active", 2);
18571
+ mr([
18504
18572
  l({ type: Boolean, reflect: !0 })
18505
- ], Tt.prototype, "open", 2);
18506
- hr([
18573
+ ], Ft.prototype, "open", 2);
18574
+ mr([
18507
18575
  l()
18508
- ], Tt.prototype, "title", 2);
18509
- hr([
18576
+ ], Ft.prototype, "title", 2);
18577
+ mr([
18510
18578
  l({ attribute: !1 })
18511
- ], Tt.prototype, "labels", 2);
18512
- y("ok-notification-center", Tt);
18513
- var wc = Object.defineProperty, $c = Object.getOwnPropertyDescriptor, ur = (n, e, t, r) => {
18579
+ ], Ft.prototype, "labels", 2);
18580
+ y("ok-notification-center", Ft);
18581
+ var wc = Object.defineProperty, $c = Object.getOwnPropertyDescriptor, vr = (n, e, t, r) => {
18514
18582
  for (var o = r > 1 ? void 0 : r ? $c(e, t) : e, a = n.length - 1, i; a >= 0; a--)
18515
18583
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
18516
18584
  return r && o && wc(e, t, o), o;
@@ -18522,7 +18590,7 @@ const zc = {
18522
18590
  skip: "Skip",
18523
18591
  step: "Step {n} of {total}"
18524
18592
  };
18525
- class Bt extends g {
18593
+ class Rt extends g {
18526
18594
  constructor() {
18527
18595
  super(...arguments), this.steps = [], this.current = 0, this.open = !1, this.labels = {}, this.rect = null, this.bubble = null, this.portalRoot = null, this.onReflow = () => {
18528
18596
  this.open && this.measure();
@@ -18754,7 +18822,7 @@ class Bt extends g {
18754
18822
  this.portalRoot = null, e && e.parentNode && e.parentNode.removeChild(e);
18755
18823
  }
18756
18824
  updated(e) {
18757
- e.has("open") ? this.open ? (this.bind(), this.measure()) : this.unbind() : this.open && (e.has("current") || e.has("steps")) && this.measure(), !(!this.open && !this.portalRoot) && lo(this.open ? this.overlayTemplate() : m, this.ensurePortal());
18825
+ e.has("open") ? this.open ? (this.bind(), this.measure()) : this.unbind() : this.open && (e.has("current") || e.has("steps")) && this.measure(), !(!this.open && !this.portalRoot) && co(this.open ? this.overlayTemplate() : m, this.ensurePortal());
18758
18826
  }
18759
18827
  bind() {
18760
18828
  document.addEventListener("keydown", this.onKeydown), window.addEventListener("scroll", this.onReflow, !0), window.addEventListener("resize", this.onReflow);
@@ -18905,31 +18973,31 @@ class Bt extends g {
18905
18973
  return this.step ? s`${this.scrimTemplate()}${this.spotTemplate()}${this.bubbleTemplate()}` : m;
18906
18974
  }
18907
18975
  }
18908
- ur([
18976
+ vr([
18909
18977
  l({ attribute: !1 })
18910
- ], Bt.prototype, "steps", 2);
18911
- ur([
18978
+ ], Rt.prototype, "steps", 2);
18979
+ vr([
18912
18980
  l({ type: Number })
18913
- ], Bt.prototype, "current", 2);
18914
- ur([
18981
+ ], Rt.prototype, "current", 2);
18982
+ vr([
18915
18983
  l({ type: Boolean })
18916
- ], Bt.prototype, "open", 2);
18917
- ur([
18984
+ ], Rt.prototype, "open", 2);
18985
+ vr([
18918
18986
  l({ attribute: !1 })
18919
- ], Bt.prototype, "labels", 2);
18920
- ur([
18987
+ ], Rt.prototype, "labels", 2);
18988
+ vr([
18921
18989
  v()
18922
- ], Bt.prototype, "rect", 2);
18923
- ur([
18990
+ ], Rt.prototype, "rect", 2);
18991
+ vr([
18924
18992
  v()
18925
- ], Bt.prototype, "bubble", 2);
18926
- y("ok-coachmark", Bt);
18927
- var _c = Object.defineProperty, Cc = Object.getOwnPropertyDescriptor, nt = (n, e, t, r) => {
18993
+ ], Rt.prototype, "bubble", 2);
18994
+ y("ok-coachmark", Rt);
18995
+ var _c = Object.defineProperty, Cc = Object.getOwnPropertyDescriptor, ct = (n, e, t, r) => {
18928
18996
  for (var o = r > 1 ? void 0 : r ? Cc(e, t) : e, a = n.length - 1, i; a >= 0; a--)
18929
18997
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
18930
18998
  return r && o && _c(e, t, o), o;
18931
18999
  };
18932
- class Te extends g {
19000
+ class Be extends g {
18933
19001
  constructor() {
18934
19002
  super(...arguments), this.mode = "checkbox", this.value = "", this.checked = !1, this.disabled = !1;
18935
19003
  }
@@ -19106,31 +19174,31 @@ class Te extends g {
19106
19174
  `;
19107
19175
  }
19108
19176
  }
19109
- nt([
19177
+ ct([
19110
19178
  l()
19111
- ], Te.prototype, "mode", 2);
19112
- nt([
19179
+ ], Be.prototype, "mode", 2);
19180
+ ct([
19113
19181
  l()
19114
- ], Te.prototype, "name", 2);
19115
- nt([
19182
+ ], Be.prototype, "name", 2);
19183
+ ct([
19116
19184
  l()
19117
- ], Te.prototype, "value", 2);
19118
- nt([
19185
+ ], Be.prototype, "value", 2);
19186
+ ct([
19119
19187
  l({ type: Boolean, reflect: !0 })
19120
- ], Te.prototype, "checked", 2);
19121
- nt([
19188
+ ], Be.prototype, "checked", 2);
19189
+ ct([
19122
19190
  l({ type: Boolean, reflect: !0 })
19123
- ], Te.prototype, "disabled", 2);
19124
- nt([
19191
+ ], Be.prototype, "disabled", 2);
19192
+ ct([
19125
19193
  l()
19126
- ], Te.prototype, "label", 2);
19127
- nt([
19194
+ ], Be.prototype, "label", 2);
19195
+ ct([
19128
19196
  l()
19129
- ], Te.prototype, "description", 2);
19130
- nt([
19197
+ ], Be.prototype, "description", 2);
19198
+ ct([
19131
19199
  l()
19132
- ], Te.prototype, "icon", 2);
19133
- y("ok-select-card", Te);
19200
+ ], Be.prototype, "icon", 2);
19201
+ y("ok-select-card", Be);
19134
19202
  var Sc = Object.defineProperty, Ec = Object.getOwnPropertyDescriptor, U = (n, e, t, r) => {
19135
19203
  for (var o = r > 1 ? void 0 : r ? Ec(e, t) : e, a = n.length - 1, i; a >= 0; a--)
19136
19204
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
@@ -19657,7 +19725,7 @@ const Mc = {
19657
19725
  ], Ac = ["L", "M", "X", "J", "V", "S", "D"];
19658
19726
  class F extends g {
19659
19727
  constructor() {
19660
- super(...arguments), this.mode = "single", this.value = null, this.presets = Dc, this.locale = "es-ES", this.placeholder = "Seleccionar fecha", this.months = 1, this.labels = {}, this.open = !1, this.side = { end: !1, above: !1 }, this.viewDate = Kt(/* @__PURE__ */ new Date()), this.hoverDate = null, this.onDocPointer = (e) => {
19728
+ super(...arguments), this.mode = "single", this.value = null, this.presets = Dc, this.locale = "es-ES", this.placeholder = "Seleccionar fecha", this.months = 1, this.labels = {}, this.open = !1, this.side = { end: !1, above: !1 }, this.viewDate = Xt(/* @__PURE__ */ new Date()), this.hoverDate = null, this.onDocPointer = (e) => {
19661
19729
  this.open && (e.composedPath().includes(this) || this.close());
19662
19730
  }, this.onKeydown = (e) => {
19663
19731
  e.key === "Escape" && this.open && (this.close(), this.fieldEl?.focus());
@@ -19933,7 +20001,7 @@ class F extends g {
19933
20001
  willUpdate(e) {
19934
20002
  if (e.has("value") || e.has("open") && this.open) {
19935
20003
  const t = this.anchorDateFromValue();
19936
- t && (this.viewDate = Kt(t));
20004
+ t && (this.viewDate = Xt(t));
19937
20005
  }
19938
20006
  }
19939
20007
  bind() {
@@ -20016,22 +20084,22 @@ class F extends g {
20016
20084
  r = this.mode === "range" ? { start: D(t), end: D(t) } : D(t);
20017
20085
  break;
20018
20086
  case "7d": {
20019
- const a = Yt(t, -6);
20087
+ const a = Wt(t, -6);
20020
20088
  r = this.mode === "range" ? { start: D(a), end: D(t) } : D(a), o = a;
20021
20089
  break;
20022
20090
  }
20023
20091
  case "week": {
20024
- const a = Vo(t), i = Yt(a, 6);
20092
+ const a = Vo(t), i = Wt(a, 6);
20025
20093
  r = this.mode === "range" ? { start: D(a), end: D(i) } : D(a), o = a;
20026
20094
  break;
20027
20095
  }
20028
20096
  case "month": {
20029
- const a = Kt(t), i = Jr(t);
20097
+ const a = Xt(t), i = eo(t);
20030
20098
  r = this.mode === "range" ? { start: D(a), end: D(i) } : D(a), o = a;
20031
20099
  break;
20032
20100
  }
20033
20101
  case "quarter": {
20034
- const a = Math.floor(t.getMonth() / 3), i = new Date(t.getFullYear(), a * 3, 1), c = Jr(new Date(t.getFullYear(), a * 3 + 2, 1));
20102
+ const a = Math.floor(t.getMonth() / 3), i = new Date(t.getFullYear(), a * 3, 1), c = eo(new Date(t.getFullYear(), a * 3 + 2, 1));
20035
20103
  r = this.mode === "range" ? { start: D(i), end: D(c) } : D(i), o = i;
20036
20104
  break;
20037
20105
  }
@@ -20043,7 +20111,7 @@ class F extends g {
20043
20111
  default:
20044
20112
  return;
20045
20113
  }
20046
- this.viewDate = Kt(o), this.emit(r), this.mode === "single" && this.close();
20114
+ this.viewDate = Xt(o), this.emit(r), this.mode === "single" && this.close();
20047
20115
  }
20048
20116
  // Decide si un preset está activo comparándolo con el valor actual.
20049
20117
  isPresetActive(e) {
@@ -20062,18 +20130,18 @@ class F extends g {
20062
20130
  case "today":
20063
20131
  return r(t, t);
20064
20132
  case "7d":
20065
- return r(Yt(t, -6), t);
20133
+ return r(Wt(t, -6), t);
20066
20134
  case "week": {
20067
20135
  const o = Vo(t);
20068
- return r(o, Yt(o, 6));
20136
+ return r(o, Wt(o, 6));
20069
20137
  }
20070
20138
  case "month":
20071
- return r(Kt(t), Jr(t));
20139
+ return r(Xt(t), eo(t));
20072
20140
  case "quarter": {
20073
20141
  const o = Math.floor(t.getMonth() / 3);
20074
20142
  return r(
20075
20143
  new Date(t.getFullYear(), o * 3, 1),
20076
- Jr(new Date(t.getFullYear(), o * 3 + 2, 1))
20144
+ eo(new Date(t.getFullYear(), o * 3 + 2, 1))
20077
20145
  );
20078
20146
  }
20079
20147
  case "ytd":
@@ -20166,7 +20234,7 @@ class F extends g {
20166
20234
  `;
20167
20235
  }
20168
20236
  renderDay(e, t) {
20169
- const r = e.getMonth() === t.getMonth(), o = this.isDisabled(e), a = wr(e, /* @__PURE__ */ new Date()), i = ["day"];
20237
+ const r = e.getMonth() === t.getMonth(), o = this.isDisabled(e), a = zr(e, /* @__PURE__ */ new Date()), i = ["day"];
20170
20238
  r || i.push("muted"), a && i.push("today");
20171
20239
  const c = this.dayRangeFlags(e);
20172
20240
  return c.selected && i.push("selected"), c.inRange && i.push("in-range"), c.rangeStart && i.push("range-start"), c.rangeEnd && i.push("range-end"), s`<button
@@ -20193,15 +20261,15 @@ class F extends g {
20193
20261
  const t = { selected: !1, inRange: !1, rangeStart: !1, rangeEnd: !1 };
20194
20262
  if (this.mode === "single") {
20195
20263
  const d = this.singleValue;
20196
- return d && wr(e, te(d)) ? { ...t, selected: !0 } : t;
20264
+ return d && zr(e, te(d)) ? { ...t, selected: !0 } : t;
20197
20265
  }
20198
20266
  const r = this.rangeValue;
20199
20267
  if (!r.start) return t;
20200
20268
  let o = te(r.start), a = r.end ? te(r.end) : this.hoverDate;
20201
20269
  if (!a)
20202
- return wr(e, o) ? { ...t, selected: !0, rangeStart: !0, rangeEnd: !0 } : t;
20270
+ return zr(e, o) ? { ...t, selected: !0, rangeStart: !0, rangeEnd: !0 } : t;
20203
20271
  a < o && ([o, a] = [a, o]);
20204
- const i = wr(e, o), c = wr(e, a);
20272
+ const i = zr(e, o), c = zr(e, a);
20205
20273
  return i || c ? {
20206
20274
  selected: !0,
20207
20275
  inRange: !1,
@@ -20260,32 +20328,32 @@ function D(n) {
20260
20328
  function Uo(n) {
20261
20329
  return new Date(n.getFullYear(), n.getMonth(), n.getDate());
20262
20330
  }
20263
- function Kt(n) {
20331
+ function Xt(n) {
20264
20332
  return new Date(n.getFullYear(), n.getMonth(), 1);
20265
20333
  }
20266
- function Jr(n) {
20334
+ function eo(n) {
20267
20335
  return new Date(n.getFullYear(), n.getMonth() + 1, 0);
20268
20336
  }
20269
20337
  function Io(n, e) {
20270
20338
  return new Date(n.getFullYear(), n.getMonth() + e, 1);
20271
20339
  }
20272
- function Yt(n, e) {
20340
+ function Wt(n, e) {
20273
20341
  return new Date(n.getFullYear(), n.getMonth(), n.getDate() + e);
20274
20342
  }
20275
20343
  function Vo(n) {
20276
20344
  const e = (n.getDay() + 6) % 7;
20277
- return Yt(Uo(n), -e);
20345
+ return Wt(Uo(n), -e);
20278
20346
  }
20279
- function wr(n, e) {
20347
+ function zr(n, e) {
20280
20348
  return n.getFullYear() === e.getFullYear() && n.getMonth() === e.getMonth() && n.getDate() === e.getDate();
20281
20349
  }
20282
20350
  function jc(n) {
20283
- const e = Kt(n), t = Vo(e), r = [];
20284
- for (let o = 0; o < 42; o++) r.push(Yt(t, o));
20351
+ const e = Xt(n), t = Vo(e), r = [];
20352
+ for (let o = 0; o < 42; o++) r.push(Wt(t, o));
20285
20353
  return r;
20286
20354
  }
20287
20355
  y("ok-date-picker", F);
20288
- var Lc = Object.defineProperty, Ic = Object.getOwnPropertyDescriptor, Be = (n, e, t, r) => {
20356
+ var Lc = Object.defineProperty, Ic = Object.getOwnPropertyDescriptor, Fe = (n, e, t, r) => {
20289
20357
  for (var o = r > 1 ? void 0 : r ? Ic(e, t) : e, a = n.length - 1, i; a >= 0; a--)
20290
20358
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
20291
20359
  return r && o && Lc(e, t, o), o;
@@ -20301,7 +20369,7 @@ function Tc(n) {
20301
20369
  const e = (n % 1440 + 1440) % 1440, t = Math.floor(e / 60), r = e % 60;
20302
20370
  return `${String(t).padStart(2, "0")}:${String(r).padStart(2, "0")}`;
20303
20371
  }
20304
- const Vt = (n) => String(n).padStart(2, "0");
20372
+ const Kt = (n) => String(n).padStart(2, "0");
20305
20373
  class ve extends g {
20306
20374
  constructor() {
20307
20375
  super(...arguments), this.value = "", this.step = 5, this.useAmpm = !1, this.min = "", this.max = "", this.disabled = !1, this.open = !1, this.end = !1, this.above = !1, this.onDocPointer = (e) => {
@@ -20574,21 +20642,21 @@ class ve extends g {
20574
20642
  const t = Math.floor(e / 60);
20575
20643
  if (this.useAmpm) {
20576
20644
  const r = t % 12 === 0 ? 12 : t % 12;
20577
- return Vt(r);
20645
+ return Kt(r);
20578
20646
  }
20579
- return Vt(t);
20647
+ return Kt(t);
20580
20648
  }
20581
20649
  displayMinute() {
20582
20650
  const e = this.current;
20583
- return e === null ? "--" : Vt(e % 60);
20651
+ return e === null ? "--" : Kt(e % 60);
20584
20652
  }
20585
20653
  // Etiqueta de hora dentro de la columna (respeta 12h/24h).
20586
20654
  hourLabel(e) {
20587
20655
  if (this.useAmpm) {
20588
20656
  const t = e % 12 === 0 ? 12 : e % 12;
20589
- return Vt(t);
20657
+ return Kt(t);
20590
20658
  }
20591
- return Vt(e);
20659
+ return Kt(e);
20592
20660
  }
20593
20661
  get isPm() {
20594
20662
  const e = this.current;
@@ -20645,7 +20713,7 @@ class ve extends g {
20645
20713
  ?disabled=${!i}
20646
20714
  @click=${() => this.pickMinute(o)}
20647
20715
  >
20648
- ${Vt(o)}
20716
+ ${Kt(o)}
20649
20717
  </button>`;
20650
20718
  })}
20651
20719
  </div>
@@ -20667,35 +20735,35 @@ class ve extends g {
20667
20735
  `;
20668
20736
  }
20669
20737
  }
20670
- Be([
20738
+ Fe([
20671
20739
  l()
20672
20740
  ], ve.prototype, "value", 2);
20673
- Be([
20741
+ Fe([
20674
20742
  l({ type: Number })
20675
20743
  ], ve.prototype, "step", 2);
20676
- Be([
20744
+ Fe([
20677
20745
  l({ type: Boolean, attribute: "use-ampm" })
20678
20746
  ], ve.prototype, "useAmpm", 2);
20679
- Be([
20747
+ Fe([
20680
20748
  l()
20681
20749
  ], ve.prototype, "min", 2);
20682
- Be([
20750
+ Fe([
20683
20751
  l()
20684
20752
  ], ve.prototype, "max", 2);
20685
- Be([
20753
+ Fe([
20686
20754
  l({ type: Boolean, reflect: !0 })
20687
20755
  ], ve.prototype, "disabled", 2);
20688
- Be([
20756
+ Fe([
20689
20757
  v()
20690
20758
  ], ve.prototype, "open", 2);
20691
- Be([
20759
+ Fe([
20692
20760
  v()
20693
20761
  ], ve.prototype, "end", 2);
20694
- Be([
20762
+ Fe([
20695
20763
  v()
20696
20764
  ], ve.prototype, "above", 2);
20697
20765
  y("ok-time-picker", ve);
20698
- var Bc = Object.defineProperty, Fc = Object.getOwnPropertyDescriptor, Fe = (n, e, t, r) => {
20766
+ var Bc = Object.defineProperty, Fc = Object.getOwnPropertyDescriptor, Re = (n, e, t, r) => {
20699
20767
  for (var o = r > 1 ? void 0 : r ? Fc(e, t) : e, a = n.length - 1, i; a >= 0; a--)
20700
20768
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
20701
20769
  return r && o && Bc(e, t, o), o;
@@ -20921,40 +20989,40 @@ class be extends g {
20921
20989
  `;
20922
20990
  }
20923
20991
  }
20924
- Fe([
20992
+ Re([
20925
20993
  l()
20926
20994
  ], be.prototype, "label", 2);
20927
- Fe([
20995
+ Re([
20928
20996
  l({ type: Number })
20929
20997
  ], be.prototype, "min", 2);
20930
- Fe([
20998
+ Re([
20931
20999
  l({ type: Number })
20932
21000
  ], be.prototype, "max", 2);
20933
- Fe([
21001
+ Re([
20934
21002
  l({ type: Number })
20935
21003
  ], be.prototype, "step", 2);
20936
- Fe([
21004
+ Re([
20937
21005
  l({ type: Number })
20938
21006
  ], be.prototype, "low", 2);
20939
- Fe([
21007
+ Re([
20940
21008
  l({ type: Number })
20941
21009
  ], be.prototype, "high", 2);
20942
- Fe([
21010
+ Re([
20943
21011
  l()
20944
21012
  ], be.prototype, "prefix", 2);
20945
- Fe([
21013
+ Re([
20946
21014
  l()
20947
21015
  ], be.prototype, "suffix", 2);
20948
- Fe([
21016
+ Re([
20949
21017
  l({ type: Boolean, reflect: !0 })
20950
21018
  ], be.prototype, "disabled", 2);
20951
21019
  y("ok-range-dual", be);
20952
- var Rc = Object.defineProperty, Nc = Object.getOwnPropertyDescriptor, Ft = (n, e, t, r) => {
21020
+ var Rc = Object.defineProperty, Nc = Object.getOwnPropertyDescriptor, Nt = (n, e, t, r) => {
20953
21021
  for (var o = r > 1 ? void 0 : r ? Nc(e, t) : e, a = n.length - 1, i; a >= 0; a--)
20954
21022
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
20955
21023
  return r && o && Rc(e, t, o), o;
20956
21024
  };
20957
- class lt extends g {
21025
+ class dt extends g {
20958
21026
  constructor() {
20959
21027
  super(...arguments), this.name = "", this.ext = "", this.progress = 0, this.state = "done", this.removable = !1;
20960
21028
  }
@@ -21161,28 +21229,28 @@ class lt extends g {
21161
21229
  `;
21162
21230
  }
21163
21231
  }
21164
- Ft([
21232
+ Nt([
21165
21233
  l()
21166
- ], lt.prototype, "name", 2);
21167
- Ft([
21234
+ ], dt.prototype, "name", 2);
21235
+ Nt([
21168
21236
  l()
21169
- ], lt.prototype, "size", 2);
21170
- Ft([
21237
+ ], dt.prototype, "size", 2);
21238
+ Nt([
21171
21239
  l()
21172
- ], lt.prototype, "ext", 2);
21173
- Ft([
21240
+ ], dt.prototype, "ext", 2);
21241
+ Nt([
21174
21242
  l({ type: Number })
21175
- ], lt.prototype, "progress", 2);
21176
- Ft([
21243
+ ], dt.prototype, "progress", 2);
21244
+ Nt([
21177
21245
  l()
21178
- ], lt.prototype, "state", 2);
21179
- Ft([
21246
+ ], dt.prototype, "state", 2);
21247
+ Nt([
21180
21248
  l()
21181
- ], lt.prototype, "error", 2);
21182
- Ft([
21249
+ ], dt.prototype, "error", 2);
21250
+ Nt([
21183
21251
  l({ type: Boolean })
21184
- ], lt.prototype, "removable", 2);
21185
- y("ok-file-item", lt);
21252
+ ], dt.prototype, "removable", 2);
21253
+ y("ok-file-item", dt);
21186
21254
  var qc = Object.defineProperty, Uc = Object.getOwnPropertyDescriptor, fe = (n, e, t, r) => {
21187
21255
  for (var o = r > 1 ? void 0 : r ? Uc(e, t) : e, a = n.length - 1, i; a >= 0; a--)
21188
21256
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
@@ -21681,12 +21749,12 @@ fe([
21681
21749
  ], J.prototype, "contentEl", 2);
21682
21750
  let Vc = J;
21683
21751
  y("ok-rich-text", Vc);
21684
- var Hc = Object.defineProperty, Kc = Object.getOwnPropertyDescriptor, Xr = (n, e, t, r) => {
21752
+ var Hc = Object.defineProperty, Kc = Object.getOwnPropertyDescriptor, Wr = (n, e, t, r) => {
21685
21753
  for (var o = r > 1 ? void 0 : r ? Kc(e, t) : e, a = n.length - 1, i; a >= 0; a--)
21686
21754
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
21687
21755
  return r && o && Hc(e, t, o), o;
21688
21756
  };
21689
- class mr extends g {
21757
+ class br extends g {
21690
21758
  constructor() {
21691
21759
  super(...arguments), this.code = "", this.inline = !1, this.language = "", this.copy = !1, this.copied = !1;
21692
21760
  }
@@ -21836,28 +21904,28 @@ class mr extends g {
21836
21904
  `;
21837
21905
  }
21838
21906
  }
21839
- Xr([
21907
+ Wr([
21840
21908
  l()
21841
- ], mr.prototype, "code", 2);
21842
- Xr([
21909
+ ], br.prototype, "code", 2);
21910
+ Wr([
21843
21911
  l({ type: Boolean, reflect: !0 })
21844
- ], mr.prototype, "inline", 2);
21845
- Xr([
21912
+ ], br.prototype, "inline", 2);
21913
+ Wr([
21846
21914
  l()
21847
- ], mr.prototype, "language", 2);
21848
- Xr([
21915
+ ], br.prototype, "language", 2);
21916
+ Wr([
21849
21917
  l({ type: Boolean })
21850
- ], mr.prototype, "copy", 2);
21851
- Xr([
21918
+ ], br.prototype, "copy", 2);
21919
+ Wr([
21852
21920
  v()
21853
- ], mr.prototype, "copied", 2);
21854
- y("ok-code", mr);
21921
+ ], br.prototype, "copied", 2);
21922
+ y("ok-code", br);
21855
21923
  var Yc = Object.defineProperty, Xc = Object.getOwnPropertyDescriptor, So = (n, e, t, r) => {
21856
21924
  for (var o = r > 1 ? void 0 : r ? Xc(e, t) : e, a = n.length - 1, i; a >= 0; a--)
21857
21925
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
21858
21926
  return r && o && Yc(e, t, o), o;
21859
21927
  };
21860
- const Wr = class Ne extends g {
21928
+ const Gr = class qe extends g {
21861
21929
  constructor() {
21862
21930
  super(...arguments), this.data = null, this.size = "default", this.expandedDepth = 1, this.collapsed = /* @__PURE__ */ new Set();
21863
21931
  }
@@ -22085,14 +22153,14 @@ const Wr = class Ne extends g {
22085
22153
  // Render recursivo de una fila. `keyLabel` es la clave de objeto o el índice de array (o null
22086
22154
  // para la raíz); `path` identifica la fila; `depth` controla la expansión inicial.
22087
22155
  renderRow(e, t, r, o, a) {
22088
- const i = Ne.hasChildren(t), c = Array.isArray(t), d = i && this.isExpanded(r, o), u = e ? e.kind === "key" ? s`<span class="key">${e.text}</span>` : s`<span class="idx">${e.text}</span>` : null, h = a ? s`<span class="comma">,</span>` : null;
22156
+ const i = qe.hasChildren(t), c = Array.isArray(t), d = i && this.isExpanded(r, o), u = e ? e.kind === "key" ? s`<span class="key">${e.text}</span>` : s`<span class="idx">${e.text}</span>` : null, h = a ? s`<span class="comma">,</span>` : null;
22089
22157
  if (!i)
22090
22158
  return t !== null && typeof t == "object" ? s`<div class="row">
22091
- <span class="caret leaf">${Ne.caretSvg()}</span>
22159
+ <span class="caret leaf">${qe.caretSvg()}</span>
22092
22160
  ${u}<span class="bracket">${c ? "[]" : "{}"}</span>${h}
22093
22161
  </div>` : s`<div class="row">
22094
- <span class="caret leaf">${Ne.caretSvg()}</span>
22095
- ${u}${Ne.renderLeaf(t)}${h}
22162
+ <span class="caret leaf">${qe.caretSvg()}</span>
22163
+ ${u}${qe.renderLeaf(t)}${h}
22096
22164
  </div>`;
22097
22165
  const p = c ? t.map((k, $) => [{ kind: "idx", text: String($) }, k]) : Object.entries(t).map(([k, $]) => [
22098
22166
  { kind: "key", text: k },
@@ -22109,9 +22177,9 @@ const Wr = class Ne extends g {
22109
22177
  (k.key === "Enter" || k.key === " ") && (k.preventDefault(), this.toggle(r, o));
22110
22178
  }}
22111
22179
  >
22112
- <span class=${`caret ${d ? "open" : ""}`}>${Ne.caretSvg()}</span>
22180
+ <span class=${`caret ${d ? "open" : ""}`}>${qe.caretSvg()}</span>
22113
22181
  ${u}<span class="bracket">${b}</span>
22114
- ${d ? null : s`<span class="count">${Ne.countLabel(t)}</span>`}
22182
+ ${d ? null : s`<span class="count">${qe.countLabel(t)}</span>`}
22115
22183
  ${d ? null : s`<span class="bracket">${f}</span>`}${d ? null : h}
22116
22184
  </div>
22117
22185
  ${d ? s`<div class="group" role="group">
@@ -22120,7 +22188,7 @@ const Wr = class Ne extends g {
22120
22188
  )}
22121
22189
  </div>
22122
22190
  <div class="row">
22123
- <span class="caret leaf">${Ne.caretSvg()}</span>
22191
+ <span class="caret leaf">${qe.caretSvg()}</span>
22124
22192
  <span class="bracket">${f}</span>${h}
22125
22193
  </div>` : null}
22126
22194
  </div>`;
@@ -22134,24 +22202,24 @@ const Wr = class Ne extends g {
22134
22202
  };
22135
22203
  So([
22136
22204
  l({ attribute: !1 })
22137
- ], Wr.prototype, "data", 2);
22205
+ ], Gr.prototype, "data", 2);
22138
22206
  So([
22139
22207
  l()
22140
- ], Wr.prototype, "size", 2);
22208
+ ], Gr.prototype, "size", 2);
22141
22209
  So([
22142
22210
  l({ type: Number, attribute: "expanded-depth" })
22143
- ], Wr.prototype, "expandedDepth", 2);
22211
+ ], Gr.prototype, "expandedDepth", 2);
22144
22212
  So([
22145
22213
  v()
22146
- ], Wr.prototype, "collapsed", 2);
22147
- let Wc = Wr;
22214
+ ], Gr.prototype, "collapsed", 2);
22215
+ let Wc = Gr;
22148
22216
  y("ok-json-viewer", Wc);
22149
22217
  var Gc = Object.defineProperty, Qc = Object.getOwnPropertyDescriptor, ai = (n, e, t, r) => {
22150
22218
  for (var o = r > 1 ? void 0 : r ? Qc(e, t) : e, a = n.length - 1, i; a >= 0; a--)
22151
22219
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
22152
22220
  return r && o && Gc(e, t, o), o;
22153
22221
  };
22154
- const va = class oo extends g {
22222
+ const va = class ao extends g {
22155
22223
  constructor() {
22156
22224
  super(...arguments), this.lines = [], this.raw = "";
22157
22225
  }
@@ -22256,7 +22324,7 @@ const va = class oo extends g {
22256
22324
  }
22257
22325
  /** Devuelve las líneas a renderizar: `.lines` si existe, si no parsea `raw`. */
22258
22326
  resolveLines() {
22259
- return this.lines && this.lines.length ? this.lines : this.raw ? oo.parseUnified(this.raw) : [];
22327
+ return this.lines && this.lines.length ? this.lines : this.raw ? ao.parseUnified(this.raw) : [];
22260
22328
  }
22261
22329
  /**
22262
22330
  * Parsea un diff unificado (texto) a OkDiffLine[]. CSP-safe (sin eval):
@@ -22300,8 +22368,8 @@ const va = class oo extends g {
22300
22368
  </div>
22301
22369
  ` : s`
22302
22370
  <div class="line line--${e.type}" role="row">
22303
- <span class="num" role="cell" aria-hidden="true">${oo.numText(e.oldNo)}</span>
22304
- <span class="num" role="cell" aria-hidden="true">${oo.numText(e.newNo)}</span>
22371
+ <span class="num" role="cell" aria-hidden="true">${ao.numText(e.oldNo)}</span>
22372
+ <span class="num" role="cell" aria-hidden="true">${ao.numText(e.newNo)}</span>
22305
22373
  <span class="content" role="cell">${e.content}</span>
22306
22374
  </div>
22307
22375
  `;
@@ -22323,7 +22391,7 @@ ai([
22323
22391
  ], va.prototype, "raw", 2);
22324
22392
  let Zc = va;
22325
22393
  y("ok-diff", Zc);
22326
- var Jc = Object.defineProperty, ed = Object.getOwnPropertyDescriptor, Rt = (n, e, t, r) => {
22394
+ var Jc = Object.defineProperty, ed = Object.getOwnPropertyDescriptor, qt = (n, e, t, r) => {
22327
22395
  for (var o = r > 1 ? void 0 : r ? ed(e, t) : e, a = n.length - 1, i; a >= 0; a--)
22328
22396
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
22329
22397
  return r && o && Jc(e, t, o), o;
@@ -22371,7 +22439,7 @@ const td = [
22371
22439
  `, label: "↵", kind: "enter" }
22372
22440
  ]
22373
22441
  ];
22374
- class ct extends g {
22442
+ class pt extends g {
22375
22443
  constructor() {
22376
22444
  super(...arguments), this.layout = "qwerty", this.density = "touch", this.value = "", this.showDisplay = !1, this.displayLabel = "Entrada", this.isShift = !1, this.activeLayout = "qwerty";
22377
22445
  }
@@ -22672,29 +22740,29 @@ class ct extends g {
22672
22740
  `;
22673
22741
  }
22674
22742
  }
22675
- Rt([
22743
+ qt([
22676
22744
  l({ reflect: !0 })
22677
- ], ct.prototype, "layout", 2);
22678
- Rt([
22745
+ ], pt.prototype, "layout", 2);
22746
+ qt([
22679
22747
  l({ reflect: !0 })
22680
- ], ct.prototype, "density", 2);
22681
- Rt([
22748
+ ], pt.prototype, "density", 2);
22749
+ qt([
22682
22750
  l()
22683
- ], ct.prototype, "value", 2);
22684
- Rt([
22751
+ ], pt.prototype, "value", 2);
22752
+ qt([
22685
22753
  l({ type: Boolean, attribute: "show-display" })
22686
- ], ct.prototype, "showDisplay", 2);
22687
- Rt([
22754
+ ], pt.prototype, "showDisplay", 2);
22755
+ qt([
22688
22756
  l({ attribute: "display-label" })
22689
- ], ct.prototype, "displayLabel", 2);
22690
- Rt([
22757
+ ], pt.prototype, "displayLabel", 2);
22758
+ qt([
22691
22759
  l({ type: Boolean, reflect: !0, attribute: "is-shift" })
22692
- ], ct.prototype, "isShift", 2);
22693
- Rt([
22760
+ ], pt.prototype, "isShift", 2);
22761
+ qt([
22694
22762
  v()
22695
- ], ct.prototype, "activeLayout", 2);
22696
- y("ok-keyboard", ct);
22697
- var ad = Object.defineProperty, id = Object.getOwnPropertyDescriptor, vr = (n, e, t, r) => {
22763
+ ], pt.prototype, "activeLayout", 2);
22764
+ y("ok-keyboard", pt);
22765
+ var ad = Object.defineProperty, id = Object.getOwnPropertyDescriptor, fr = (n, e, t, r) => {
22698
22766
  for (var o = r > 1 ? void 0 : r ? id(e, t) : e, a = n.length - 1, i; a >= 0; a--)
22699
22767
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
22700
22768
  return r && o && ad(e, t, o), o;
@@ -22724,7 +22792,7 @@ const sd = [
22724
22792
  "*": "×",
22725
22793
  "/": "÷"
22726
22794
  };
22727
- class Nt extends g {
22795
+ class Ut extends g {
22728
22796
  constructor() {
22729
22797
  super(...arguments), this._display = "0", this._prev = "", this._op = "", this._stored = 0, this._justEvaluated = !1;
22730
22798
  }
@@ -23039,25 +23107,25 @@ class Nt extends g {
23039
23107
  );
23040
23108
  }
23041
23109
  }
23042
- vr([
23110
+ fr([
23043
23111
  l()
23044
- ], Nt.prototype, "value", 2);
23045
- vr([
23112
+ ], Ut.prototype, "value", 2);
23113
+ fr([
23046
23114
  v()
23047
- ], Nt.prototype, "_display", 2);
23048
- vr([
23115
+ ], Ut.prototype, "_display", 2);
23116
+ fr([
23049
23117
  v()
23050
- ], Nt.prototype, "_prev", 2);
23051
- vr([
23118
+ ], Ut.prototype, "_prev", 2);
23119
+ fr([
23052
23120
  v()
23053
- ], Nt.prototype, "_op", 2);
23054
- vr([
23121
+ ], Ut.prototype, "_op", 2);
23122
+ fr([
23055
23123
  v()
23056
- ], Nt.prototype, "_stored", 2);
23057
- vr([
23124
+ ], Ut.prototype, "_stored", 2);
23125
+ fr([
23058
23126
  v()
23059
- ], Nt.prototype, "_justEvaluated", 2);
23060
- y("ok-calculator", Nt);
23127
+ ], Ut.prototype, "_justEvaluated", 2);
23128
+ y("ok-calculator", Ut);
23061
23129
  var ld = Object.defineProperty, cd = Object.getOwnPropertyDescriptor, H = (n, e, t, r) => {
23062
23130
  for (var o = r > 1 ? void 0 : r ? cd(e, t) : e, a = n.length - 1, i; a >= 0; a--)
23063
23131
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
@@ -23488,12 +23556,12 @@ H([
23488
23556
  v()
23489
23557
  ], R.prototype, "lensY", 2);
23490
23558
  y("ok-image", R);
23491
- var dd = Object.defineProperty, pd = Object.getOwnPropertyDescriptor, Gr = (n, e, t, r) => {
23559
+ var dd = Object.defineProperty, pd = Object.getOwnPropertyDescriptor, Qr = (n, e, t, r) => {
23492
23560
  for (var o = r > 1 ? void 0 : r ? pd(e, t) : e, a = n.length - 1, i; a >= 0; a--)
23493
23561
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
23494
23562
  return r && o && dd(e, t, o), o;
23495
23563
  };
23496
- class br extends g {
23564
+ class gr extends g {
23497
23565
  constructor() {
23498
23566
  super(...arguments), this.images = [], this.selectable = !1, this.selected = [], this.minSize = 160, this.columns = 0;
23499
23567
  }
@@ -23740,27 +23808,27 @@ class br extends g {
23740
23808
  `;
23741
23809
  }
23742
23810
  }
23743
- Gr([
23811
+ Qr([
23744
23812
  l({ attribute: !1 })
23745
- ], br.prototype, "images", 2);
23746
- Gr([
23813
+ ], gr.prototype, "images", 2);
23814
+ Qr([
23747
23815
  l({ type: Boolean, reflect: !0 })
23748
- ], br.prototype, "selectable", 2);
23749
- Gr([
23816
+ ], gr.prototype, "selectable", 2);
23817
+ Qr([
23750
23818
  l({ attribute: !1 })
23751
- ], br.prototype, "selected", 2);
23752
- Gr([
23819
+ ], gr.prototype, "selected", 2);
23820
+ Qr([
23753
23821
  l({ type: Number, attribute: "min-size" })
23754
- ], br.prototype, "minSize", 2);
23755
- Gr([
23822
+ ], gr.prototype, "minSize", 2);
23823
+ Qr([
23756
23824
  l({ type: Number, reflect: !0 })
23757
- ], br.prototype, "columns", 2);
23825
+ ], gr.prototype, "columns", 2);
23758
23826
  const hd = s`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor"
23759
23827
  stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
23760
23828
  <path d="M5 13l4 4L19 7" />
23761
23829
  </svg>`;
23762
- y("ok-gallery", br);
23763
- var ud = Object.defineProperty, md = Object.getOwnPropertyDescriptor, Qr = (n, e, t, r) => {
23830
+ y("ok-gallery", gr);
23831
+ var ud = Object.defineProperty, md = Object.getOwnPropertyDescriptor, Zr = (n, e, t, r) => {
23764
23832
  for (var o = r > 1 ? void 0 : r ? md(e, t) : e, a = n.length - 1, i; a >= 0; a--)
23765
23833
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
23766
23834
  return r && o && ud(e, t, o), o;
@@ -23772,7 +23840,7 @@ const vd = {
23772
23840
  download: "Download",
23773
23841
  fullscreen: "Fullscreen"
23774
23842
  };
23775
- class fr extends g {
23843
+ class xr extends g {
23776
23844
  constructor() {
23777
23845
  super(...arguments), this.items = [], this.index = 0, this.open = !1, this.labels = {}, this.shown = !1, this.portalRoot = null, this.onKeydown = (e) => {
23778
23846
  this.open && (e.key === "Escape" ? (e.preventDefault(), this.requestClose()) : e.key === "ArrowLeft" ? (e.preventDefault(), this.go(-1)) : e.key === "ArrowRight" && (e.preventDefault(), this.go(1)));
@@ -24029,7 +24097,7 @@ class fr extends g {
24029
24097
  return t.adoptedStyleSheets = r.map((o) => o instanceof CSSStyleSheet ? o : o.styleSheet).filter((o) => !!o), this.portalRoot = t, t;
24030
24098
  }
24031
24099
  updated(e) {
24032
- e.has("open") && (this.open ? (this.bind(), requestAnimationFrame(() => requestAnimationFrame(() => this.shown = !0))) : (this.unbind(), this.shown = !1)), !(!this.open && !this.portalRoot) && lo(this.open ? this.overlayTemplate() : m, this.ensurePortal());
24100
+ e.has("open") && (this.open ? (this.bind(), requestAnimationFrame(() => requestAnimationFrame(() => this.shown = !0))) : (this.unbind(), this.shown = !1)), !(!this.open && !this.portalRoot) && co(this.open ? this.overlayTemplate() : m, this.ensurePortal());
24033
24101
  }
24034
24102
  // Índice saneado dentro de los límites.
24035
24103
  get safeIndex() {
@@ -24172,23 +24240,23 @@ class fr extends g {
24172
24240
  }));
24173
24241
  }
24174
24242
  }
24175
- Qr([
24243
+ Zr([
24176
24244
  l({ attribute: !1 })
24177
- ], fr.prototype, "items", 2);
24178
- Qr([
24245
+ ], xr.prototype, "items", 2);
24246
+ Zr([
24179
24247
  l({ type: Number })
24180
- ], fr.prototype, "index", 2);
24181
- Qr([
24248
+ ], xr.prototype, "index", 2);
24249
+ Zr([
24182
24250
  l({ type: Boolean })
24183
- ], fr.prototype, "open", 2);
24184
- Qr([
24251
+ ], xr.prototype, "open", 2);
24252
+ Zr([
24185
24253
  l({ attribute: !1 })
24186
- ], fr.prototype, "labels", 2);
24187
- Qr([
24254
+ ], xr.prototype, "labels", 2);
24255
+ Zr([
24188
24256
  v()
24189
- ], fr.prototype, "shown", 2);
24190
- y("ok-lightbox", fr);
24191
- var bd = Object.defineProperty, fd = Object.getOwnPropertyDescriptor, gr = (n, e, t, r) => {
24257
+ ], xr.prototype, "shown", 2);
24258
+ y("ok-lightbox", xr);
24259
+ var bd = Object.defineProperty, fd = Object.getOwnPropertyDescriptor, yr = (n, e, t, r) => {
24192
24260
  for (var o = r > 1 ? void 0 : r ? fd(e, t) : e, a = n.length - 1, i; a >= 0; a--)
24193
24261
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
24194
24262
  return r && o && bd(e, t, o), o;
@@ -24199,7 +24267,7 @@ const Bo = [
24199
24267
  { key: "4:3", label: "4:3", ratio: 4 / 3 },
24200
24268
  { key: "16:9", label: "16:9", ratio: 16 / 9 }
24201
24269
  ], re = 8;
24202
- class qt extends g {
24270
+ class Vt extends g {
24203
24271
  constructor() {
24204
24272
  super(...arguments), this.aspect = "free", this.cancelLabel = "Cancelar", this.cropLabel = "Recortar", this.rect = { x: 14, y: 18, width: 72, height: 64 }, this.dragMode = null, this.startX = 0, this.startY = 0, this.startRect = { x: 0, y: 0, width: 0, height: 0 }, this.vpRect = null, this.activePointer = null, this.onPointerMove = (e) => {
24205
24273
  if (!this.dragMode || !this.vpRect || this.activePointer != null && e.pointerId !== this.activePointer) return;
@@ -24478,31 +24546,31 @@ class qt extends g {
24478
24546
  `;
24479
24547
  }
24480
24548
  }
24481
- gr([
24549
+ yr([
24482
24550
  l()
24483
- ], qt.prototype, "src", 2);
24484
- gr([
24551
+ ], Vt.prototype, "src", 2);
24552
+ yr([
24485
24553
  l()
24486
- ], qt.prototype, "aspect", 2);
24487
- gr([
24554
+ ], Vt.prototype, "aspect", 2);
24555
+ yr([
24488
24556
  l({ attribute: !1 })
24489
- ], qt.prototype, "value", 2);
24490
- gr([
24557
+ ], Vt.prototype, "value", 2);
24558
+ yr([
24491
24559
  l({ attribute: "cancel-label" })
24492
- ], qt.prototype, "cancelLabel", 2);
24493
- gr([
24560
+ ], Vt.prototype, "cancelLabel", 2);
24561
+ yr([
24494
24562
  l({ attribute: "crop-label" })
24495
- ], qt.prototype, "cropLabel", 2);
24496
- gr([
24563
+ ], Vt.prototype, "cropLabel", 2);
24564
+ yr([
24497
24565
  v()
24498
- ], qt.prototype, "rect", 2);
24499
- y("ok-cropper", qt);
24500
- var gd = Object.defineProperty, xd = Object.getOwnPropertyDescriptor, Ut = (n, e, t, r) => {
24566
+ ], Vt.prototype, "rect", 2);
24567
+ y("ok-cropper", Vt);
24568
+ var gd = Object.defineProperty, xd = Object.getOwnPropertyDescriptor, Ht = (n, e, t, r) => {
24501
24569
  for (var o = r > 1 ? void 0 : r ? xd(e, t) : e, a = n.length - 1, i; a >= 0; a--)
24502
24570
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
24503
24571
  return r && o && gd(e, t, o), o;
24504
24572
  };
24505
- class dt extends g {
24573
+ class ht extends g {
24506
24574
  constructor() {
24507
24575
  super(...arguments), this.orientation = "horizontal", this.size = 50, this.min = 10, this.max = 90, this.collapsed = "none", this.dragging = !1, this._size = 50, this._splitEl = null, this._pointerId = null;
24508
24576
  }
@@ -24717,28 +24785,28 @@ class dt extends g {
24717
24785
  `;
24718
24786
  }
24719
24787
  }
24720
- Ut([
24788
+ Ht([
24721
24789
  l({ reflect: !0 })
24722
- ], dt.prototype, "orientation", 2);
24723
- Ut([
24790
+ ], ht.prototype, "orientation", 2);
24791
+ Ht([
24724
24792
  l({ type: Number })
24725
- ], dt.prototype, "size", 2);
24726
- Ut([
24793
+ ], ht.prototype, "size", 2);
24794
+ Ht([
24727
24795
  l({ type: Number })
24728
- ], dt.prototype, "min", 2);
24729
- Ut([
24796
+ ], ht.prototype, "min", 2);
24797
+ Ht([
24730
24798
  l({ type: Number })
24731
- ], dt.prototype, "max", 2);
24732
- Ut([
24799
+ ], ht.prototype, "max", 2);
24800
+ Ht([
24733
24801
  l()
24734
- ], dt.prototype, "collapsed", 2);
24735
- Ut([
24802
+ ], ht.prototype, "collapsed", 2);
24803
+ Ht([
24736
24804
  l({ type: Boolean, reflect: !0 })
24737
- ], dt.prototype, "dragging", 2);
24738
- Ut([
24805
+ ], ht.prototype, "dragging", 2);
24806
+ Ht([
24739
24807
  v()
24740
- ], dt.prototype, "_size", 2);
24741
- y("ok-splitter", dt);
24808
+ ], ht.prototype, "_size", 2);
24809
+ y("ok-splitter", ht);
24742
24810
  var yd = Object.defineProperty, kd = Object.getOwnPropertyDescriptor, ge = (n, e, t, r) => {
24743
24811
  for (var o = r > 1 ? void 0 : r ? kd(e, t) : e, a = n.length - 1, i; a >= 0; a--)
24744
24812
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
@@ -25444,7 +25512,7 @@ var zd = Object.defineProperty, _d = Object.getOwnPropertyDescriptor, Eo = (n, e
25444
25512
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
25445
25513
  return r && o && zd(e, t, o), o;
25446
25514
  };
25447
- const Zr = class Ho extends g {
25515
+ const Jr = class Ho extends g {
25448
25516
  constructor() {
25449
25517
  super(...arguments), this.avatars = [], this.max = 0, this.size = "md";
25450
25518
  }
@@ -25565,25 +25633,25 @@ const Zr = class Ho extends g {
25565
25633
  };
25566
25634
  Eo([
25567
25635
  l({ attribute: !1 })
25568
- ], Zr.prototype, "avatars", 2);
25636
+ ], Jr.prototype, "avatars", 2);
25569
25637
  Eo([
25570
25638
  l({ type: Number })
25571
- ], Zr.prototype, "max", 2);
25639
+ ], Jr.prototype, "max", 2);
25572
25640
  Eo([
25573
25641
  l({ reflect: !0 })
25574
- ], Zr.prototype, "size", 2);
25642
+ ], Jr.prototype, "size", 2);
25575
25643
  Eo([
25576
25644
  l({ type: Number })
25577
- ], Zr.prototype, "overlap", 2);
25578
- let Cd = Zr;
25645
+ ], Jr.prototype, "overlap", 2);
25646
+ let Cd = Jr;
25579
25647
  y("ok-avatar-group", Cd);
25580
- var Sd = Object.defineProperty, Ed = Object.getOwnPropertyDescriptor, pt = (n, e, t, r) => {
25648
+ var Sd = Object.defineProperty, Ed = Object.getOwnPropertyDescriptor, ut = (n, e, t, r) => {
25581
25649
  for (var o = r > 1 ? void 0 : r ? Ed(e, t) : e, a = n.length - 1, i; a >= 0; a--)
25582
25650
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);
25583
25651
  return r && o && Sd(e, t, o), o;
25584
25652
  };
25585
- const mt = 184, ao = 120, Pd = 28, ii = 56, Od = mt + Pd, Ta = ao + ii, Fo = (n, e, t) => Math.min(t, Math.max(e, n)), Ro = 0.2, Ba = 2.5;
25586
- class Re extends g {
25653
+ const bt = 184, io = 120, Pd = 28, ii = 56, Od = bt + Pd, Ta = io + ii, Fo = (n, e, t) => Math.min(t, Math.max(e, n)), Ro = 0.2, Ba = 2.5;
25654
+ class Ne extends g {
25587
25655
  constructor() {
25588
25656
  super(...arguments), this.root = null, this.maxAvatars = 3, this.height = 460, this.tx = 0, this.ty = 0, this.k = 1, this.grabbing = !1, this.collapsed = /* @__PURE__ */ new Set(), this.contentW = 0, this.contentH = 0, this.fitted = !1, this.pointers = /* @__PURE__ */ new Map(), this.panStart = null, this.pinchStart = null, this.wrapEl = null, this.ro = null, this.userMoved = !1, this.onWheel = (e) => {
25589
25657
  e.preventDefault(), this.userMoved = !0;
@@ -25872,17 +25940,17 @@ class Re extends g {
25872
25940
  for (const u of t) {
25873
25941
  const h = this.collapsed.has(u.node) ? [] : u.node.children ?? [];
25874
25942
  if (!h.length) continue;
25875
- const p = h.map((w) => r.get(w)), b = u.x + mt / 2, f = u.y + ao, k = f + ii / 2;
25943
+ const p = h.map((w) => r.get(w)), b = u.x + bt / 2, f = u.y + io, k = f + ii / 2;
25876
25944
  c.push(`M${b},${f}L${b},${k}`);
25877
- const $ = p[0].x + mt / 2, O = p[p.length - 1].x + mt / 2;
25945
+ const $ = p[0].x + bt / 2, O = p[p.length - 1].x + bt / 2;
25878
25946
  p.length > 1 && c.push(`M${$},${k}L${O},${k}`);
25879
25947
  for (const w of p) {
25880
- const z = w.x + mt / 2;
25948
+ const z = w.x + bt / 2;
25881
25949
  c.push(`M${z},${k}L${z},${w.y}`);
25882
25950
  }
25883
25951
  }
25884
25952
  const d = t.reduce((u, h) => Math.max(u, h.x), 0);
25885
- return { nodes: t, links: c, width: d + mt, height: a * Ta + ao };
25953
+ return { nodes: t, links: c, width: d + bt, height: a * Ta + io };
25886
25954
  }
25887
25955
  /** Renderiza el stack de avatares (+N) para el tamaño de equipo de un nodo. */
25888
25956
  renderTeam(e) {
@@ -25925,7 +25993,7 @@ class Re extends g {
25925
25993
  class="node ${e.depth === 0 ? "root" : ""}"
25926
25994
  role="treeitem"
25927
25995
  aria-expanded=${r ? String(!o) : m}
25928
- style=${`left:${e.x}px;top:${e.y}px;width:${mt}px;height:${ao}px;`}
25996
+ style=${`left:${e.x}px;top:${e.y}px;width:${bt}px;height:${io}px;`}
25929
25997
  >
25930
25998
  <span class="node-avatar">
25931
25999
  ${t.avatar ? s`<img src=${t.avatar} alt="" />` : s`<span aria-hidden="true">${this.initialsOf(t.name)}</span>`}
@@ -26064,31 +26132,31 @@ class Re extends g {
26064
26132
  `;
26065
26133
  }
26066
26134
  }
26067
- pt([
26135
+ ut([
26068
26136
  l({ attribute: !1 })
26069
- ], Re.prototype, "root", 2);
26070
- pt([
26137
+ ], Ne.prototype, "root", 2);
26138
+ ut([
26071
26139
  l({ type: Number })
26072
- ], Re.prototype, "maxAvatars", 2);
26073
- pt([
26140
+ ], Ne.prototype, "maxAvatars", 2);
26141
+ ut([
26074
26142
  l({ type: Number })
26075
- ], Re.prototype, "height", 2);
26076
- pt([
26143
+ ], Ne.prototype, "height", 2);
26144
+ ut([
26077
26145
  v()
26078
- ], Re.prototype, "tx", 2);
26079
- pt([
26146
+ ], Ne.prototype, "tx", 2);
26147
+ ut([
26080
26148
  v()
26081
- ], Re.prototype, "ty", 2);
26082
- pt([
26149
+ ], Ne.prototype, "ty", 2);
26150
+ ut([
26083
26151
  v()
26084
- ], Re.prototype, "k", 2);
26085
- pt([
26152
+ ], Ne.prototype, "k", 2);
26153
+ ut([
26086
26154
  v()
26087
- ], Re.prototype, "grabbing", 2);
26088
- pt([
26155
+ ], Ne.prototype, "grabbing", 2);
26156
+ ut([
26089
26157
  v()
26090
- ], Re.prototype, "collapsed", 2);
26091
- y("ok-org-chart", Re);
26158
+ ], Ne.prototype, "collapsed", 2);
26159
+ y("ok-org-chart", Ne);
26092
26160
  var Md = Object.defineProperty, Dd = Object.getOwnPropertyDescriptor, N = (n, e, t, r) => {
26093
26161
  for (var o = r > 1 ? void 0 : r ? Dd(e, t) : e, a = n.length - 1, i; a >= 0; a--)
26094
26162
  (i = n[a]) && (o = (r ? i(e, t, o) : i(o)) || o);