@dxtmisha/functional 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/library.js CHANGED
@@ -1,19 +1,19 @@
1
- var Bt = Object.defineProperty;
2
- var Tt = (i, t, e) => t in i ? Bt(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
- var k = (i, t, e) => Tt(i, typeof t != "symbol" ? t + "" : t, e);
4
- import { D as Y, i as d, r as O, e as A, a as W, b as Ft, G as p, f, t as b, c as ot, d as T, g as Et, h as K, j as m, k as L, A as H, l as g, E as xt, m as F, L as ft, n as E } from "./Icons-Bp74_rUm.js";
5
- import { o as Ns, I as Is, p as Bs, q as Ts, s as Fs, u as Es, v as xs, w as Rs } from "./Icons-Bp74_rUm.js";
6
- import { ref as $, watch as y, h as Rt, computed as c, toRefs as Ot, useAttrs as Wt, useSlots as Pt, isRef as ct, triggerRef as jt, shallowRef as P, onUnmounted as it, inject as Ht, provide as Gt, watchEffect as zt } from "vue";
7
- function Ut(i, t, e) {
8
- if (i in _)
9
- return _[i];
10
- const s = new Y(i), n = $(s.get(t, e));
11
- return y(n, (a) => s.set(a)), d() && window.addEventListener("storage", () => {
1
+ var Wt = Object.defineProperty;
2
+ var Pt = (i, t, e) => t in i ? Wt(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
+ var A = (i, t, e) => Pt(i, typeof t != "symbol" ? t + "" : t, e);
4
+ import { D as X, i as d, r as z, e as B, a as F, b as jt, G as b, f, t as k, c as ht, d as R, g as Ht, h as M, j as p, k as C, A as V, l as m, E as Ut, m as j, L as $t, n as H } from "./Icons-BNmTjp32.js";
5
+ import { o as qi, I as Ji, p as Qi, q as Xi, s as Mi, u as Oi, v as Ti, w as Gi } from "./Icons-BNmTjp32.js";
6
+ import { ref as y, watch as g, h as _t, computed as c, toRefs as zt, useAttrs as Zt, useSlots as Kt, isRef as dt, triggerRef as Vt, shallowRef as Z, onUnmounted as ot, inject as Yt, provide as qt, watchEffect as Jt } from "vue";
7
+ function Qt(i, t, e) {
8
+ if (i in G)
9
+ return G[i];
10
+ const s = new X(i), n = y(s.get(t, e));
11
+ return g(n, (o) => s.set(o)), d() && window.addEventListener("storage", () => {
12
12
  s.update(), n.value = s.get();
13
- }), _[i] = n, n;
13
+ }), G[i] = n, n;
14
14
  }
15
- const _ = {};
16
- class Zt {
15
+ const G = {};
16
+ class Xt {
17
17
  /**
18
18
  * Constructor
19
19
  * @param name channel name/ название канала
@@ -22,7 +22,7 @@ class Zt {
22
22
  constructor(t, e) {
23
23
  if (this.callback = e, d())
24
24
  try {
25
- this.channel = new BroadcastChannel(`${Yt()}__${t}`), this.channel.onmessage = this.update;
25
+ this.channel = new BroadcastChannel(`${Mt()}__${t}`), this.channel.onmessage = this.update;
26
26
  } catch (s) {
27
27
  console.error(`BroadcastMessage ${t}:`, s);
28
28
  }
@@ -54,11 +54,11 @@ class Zt {
54
54
  */
55
55
  update = (t) => (this.callback?.(t), this);
56
56
  }
57
- const Yt = () => Ut(
57
+ const Mt = () => Qt(
58
58
  "__broadcast-name",
59
- () => `name_${O(1e6, 9999999)}`
59
+ () => `name_${z(1e6, 9999999)}`
60
60
  );
61
- class Kt {
61
+ class Ot {
62
62
  /**
63
63
  * Constructor
64
64
  * @param callback function for the cache/ функция для кэша
@@ -121,7 +121,7 @@ class Kt {
121
121
  return this.cache === void 0 || this.comparisons.length !== t.length || this.comparisons.findIndex((e, s) => e !== t[s]) >= 0 ? (this.comparisons = [...t], !0) : !1;
122
122
  }
123
123
  }
124
- class Vt {
124
+ class Tt {
125
125
  cache = {};
126
126
  /**
127
127
  * Getting data for the cache, and if there is no cache, it performs a function to save the cache.
@@ -153,10 +153,10 @@ class Vt {
153
153
  * @param callback function for the cache/ функция для кэша
154
154
  */
155
155
  getCacheItem(t, e) {
156
- return t in this.cache || (this.cache[t] = new Kt(e)), this.cache[t];
156
+ return t in this.cache || (this.cache[t] = new Ot(e)), this.cache[t];
157
157
  }
158
158
  }
159
- const Z = class Z {
159
+ const Q = class Q {
160
160
  /**
161
161
  * Getting data for the cache, and if there is no cache, it performs a function to save the cache.
162
162
  *
@@ -169,9 +169,9 @@ const Z = class Z {
169
169
  return this.cache.get(t, e, s);
170
170
  }
171
171
  };
172
- k(Z, "cache"), Z.cache = new Vt();
173
- let dt = Z;
174
- function wt(i, t = !1) {
172
+ A(Q, "cache"), Q.cache = new Tt();
173
+ let vt = Q;
174
+ function Lt(i, t = !1) {
175
175
  if (typeof i == "string") {
176
176
  const e = i.trim();
177
177
  switch (e) {
@@ -202,9 +202,9 @@ function wt(i, t = !1) {
202
202
  }
203
203
  return i;
204
204
  }
205
- const qt = "cookie-block";
206
- class _t {
207
- static storage = new Y(qt);
205
+ const Gt = "cookie-block";
206
+ class te {
207
+ static storage = new X(Gt);
208
208
  /**
209
209
  * Obtaining status.
210
210
  *
@@ -223,11 +223,11 @@ class _t {
223
223
  this.storage.set(t);
224
224
  }
225
225
  }
226
- const mt = {}, lt = class lt {
226
+ const bt = {}, yt = class yt {
227
227
  constructor(t) {
228
- if (this.name = t, t in J)
229
- return J[t];
230
- this.value = mt?.[t], J[t] = this;
228
+ if (this.name = t, t in tt)
229
+ return tt[t];
230
+ this.value = bt?.[t], tt[t] = this;
231
231
  }
232
232
  value;
233
233
  options = {};
@@ -249,7 +249,7 @@ const mt = {}, lt = class lt {
249
249
  * @param options additional parameters/ дополнительные параметры
250
250
  */
251
251
  set(t, e) {
252
- this.value = A(t), Object.assign(this.options, e), this.update();
252
+ this.value = B(t), Object.assign(this.options, e), this.update();
253
253
  }
254
254
  /**
255
255
  * Delete cookie data.
@@ -273,7 +273,7 @@ const mt = {}, lt = class lt {
273
273
  * Обновление данных cookie.
274
274
  */
275
275
  update() {
276
- if (d() && !_t.get()) {
276
+ if (d() && !te.get()) {
277
277
  const t = String(this.value ?? "");
278
278
  document.cookie = [
279
279
  `${encodeURIComponent(this.name)}=${encodeURIComponent(t)}`,
@@ -291,29 +291,29 @@ const mt = {}, lt = class lt {
291
291
  static updateData() {
292
292
  for (const t of document.cookie.split(";")) {
293
293
  const [e, s] = t.trim().split("=");
294
- e && W(s) && (mt[e] = wt(s));
294
+ e && F(s) && (bt[e] = Lt(s));
295
295
  }
296
296
  }
297
297
  };
298
- d() && lt.updateData();
299
- let rt = lt;
300
- const J = {};
301
- function w(i) {
298
+ d() && yt.updateData();
299
+ let at = yt;
300
+ const tt = {};
301
+ function D(i) {
302
302
  if (i instanceof Date)
303
303
  return i;
304
- if (Ft(i))
304
+ if (jt(i))
305
305
  return /* @__PURE__ */ new Date();
306
306
  if (typeof i == "number")
307
307
  return new Date(i);
308
- let t = i, e = p.getTimezoneFormat();
309
- i.replace(/^([\s\S]+)([-+]\d{2}:?\d{2})$/, (n, a, o) => (t = a, e = o, n));
308
+ let t = i, e = b.getTimezoneFormat();
309
+ i.replace(/^([\s\S]+)([-+]\d{2}:?\d{2})$/, (n, o, a) => (t = o, e = a, n));
310
310
  const s = (/^\d{4}\d{2}\d{2}$/.exec(t) && `${t.replace(/^(\d{4})(\d{2})(\d{2})$/, "$1-$2-$3")}T00:00:00`) ?? (/^\d{4}\d{2}$/.exec(t) && `${t.replace(/^(\d{4})(\d{2})$/, "$1-$2")}-01T00:00:00`) ?? (/^\d{4}\d{2}\d{2} \d{2}:\d{2}:\d{2}$/.exec(t) && t.replace(/^(\d{4})(\d{2})(\d{2}) (\d{2}):(\d{2}):(\d{2})$/, "$1-$2-$3T$4:$5:$6")) ?? (/^\d{4}-\d{2}-\d{2}$/.exec(t) && `${t}T00:00:00`) ?? (/^\d{4}-\d{2}$/.exec(t) && `${t}-01T00:00:00`) ?? (/^\d{4}$/.exec(t) && `${t}-01-01T00:00:00`) ?? (/^\d{2}:\d{2}$/.exec(t) && `2000-01-01T${t}:00`) ?? (/^\d{2}:\d{2}:\d{2}$/.exec(t) && `2000-01-01T${t}`) ?? t.replace(" ", "T");
311
311
  return /* @__PURE__ */ new Date(`${s}${e}`);
312
312
  }
313
- function nt(i, t) {
313
+ function ct(i, t) {
314
314
  return f(i, (e) => e?.[t]);
315
315
  }
316
- class I {
316
+ class W {
317
317
  /**
318
318
  * Returns an instance of the class according to the specified country code.
319
319
  *
@@ -321,8 +321,8 @@ class I {
321
321
  * @param code country code, full form language-country or one of them/
322
322
  * код страны, полный вид язык-страна или один из них
323
323
  */
324
- static getInstance(t = p.getLocation()) {
325
- return new I(t);
324
+ static getInstance(t = b.getLocation()) {
325
+ return new W(t);
326
326
  }
327
327
  geo;
328
328
  /**
@@ -330,12 +330,12 @@ class I {
330
330
  * @param code country code, full form language-country or one of them/
331
331
  * код страны, полный вид язык-страна или один из них
332
332
  */
333
- constructor(t = p.getLocation()) {
334
- this.geo = p.find(t);
333
+ constructor(t = b.getLocation()) {
334
+ this.geo = b.find(t);
335
335
  const e = this.getLocation();
336
- if (e in Q)
337
- return Q[e];
338
- Q[e] = this;
336
+ if (e in et)
337
+ return et[e];
338
+ et[e] = this;
339
339
  }
340
340
  /**
341
341
  * Returns country code and language.
@@ -369,8 +369,8 @@ class I {
369
369
  });
370
370
  try {
371
371
  d() && (t ? n = new Intl.DisplayNames(this.getLocation(), s).of(t) : s.type === "language" ? n = new Intl.DisplayNames(this.getLocation(), s).of(this.geo.language) : s.type === "region" && (n = new Intl.DisplayNames(this.getLocation(), s).of(this.geo.country)));
372
- } catch (a) {
373
- console.error("display: ", a);
372
+ } catch (o) {
373
+ console.error("display: ", o);
374
374
  }
375
375
  return n ?? t ?? "";
376
376
  }
@@ -386,7 +386,7 @@ class I {
386
386
  type: "language",
387
387
  style: e
388
388
  };
389
- return this.display(p.getByCode(t).language, s);
389
+ return this.display(b.getByCode(t).language, s);
390
390
  }
391
391
  /**
392
392
  * Get display names of region.
@@ -412,23 +412,23 @@ class I {
412
412
  * @param short shorten the names/ сократить названия
413
413
  */
414
414
  fullName(t, e, s, n) {
415
- const a = this.geo?.nameFormat ?? "fl";
416
- let o;
417
- switch (a) {
415
+ const o = this.geo?.nameFormat ?? "fl";
416
+ let a;
417
+ switch (o) {
418
418
  case "fsl":
419
- o = `${e}${s ? ` ${s}` : ""} ${t}`;
419
+ a = `${e}${s ? ` ${s}` : ""} ${t}`;
420
420
  break;
421
421
  case "lf":
422
- o = `${t} ${e}`;
422
+ a = `${t} ${e}`;
423
423
  break;
424
424
  case "lsf":
425
- o = `${t}${s ? ` ${s}` : ""} ${e}`;
425
+ a = `${t}${s ? ` ${s}` : ""} ${e}`;
426
426
  break;
427
427
  default:
428
- o = `${e} ${t}`;
428
+ a = `${e} ${t}`;
429
429
  break;
430
430
  }
431
- return n ? o.replace(/ (.)[^ ]+/ig, " $1.") : o;
431
+ return n ? a.replace(/ (.)[^ ]+/ig, " $1.") : a;
432
432
  }
433
433
  /**
434
434
  * In basic use without specifying a locale, a formatted string.
@@ -439,7 +439,7 @@ class I {
439
439
  * или всеми свойствами
440
440
  */
441
441
  number(t, e) {
442
- return this.numberObject(e)?.format?.(b(t)) || t.toString();
442
+ return this.numberObject(e)?.format?.(k(t)) || t.toString();
443
443
  }
444
444
  /**
445
445
  * Decimal point symbol.
@@ -463,18 +463,18 @@ class I {
463
463
  style: "currency",
464
464
  currencyDisplay: "symbol",
465
465
  ...typeof e == "string" ? { currency: e } : e || {}
466
- }, a = t.toString().replace(/^([\S\s]+[\d ])([a-zA-Z]{3})$/i, (...o) => (n.currency = String(o[2]).toUpperCase(), String(o[1])));
466
+ }, o = t.toString().replace(/^([\S\s]+[\d ])([a-zA-Z]{3})$/i, (...a) => (n.currency = String(a[2]).toUpperCase(), String(a[1])));
467
467
  if (s) {
468
- const o = this.numberObject(n);
469
- return o ? nt(
470
- o.formatToParts(b(t)).filter((u) => ["literal", "currency"].indexOf(u.type) === -1),
468
+ const a = this.numberObject(n);
469
+ return a ? ct(
470
+ a.formatToParts(k(t)).filter((u) => ["literal", "currency"].indexOf(u.type) === -1),
471
471
  "value"
472
472
  ).join("") : t.toString();
473
473
  } else return "currency" in n ? this.number(
474
- typeof t == "number" ? t : a,
474
+ typeof t == "number" ? t : o,
475
475
  n
476
476
  ) : this.number(
477
- typeof t == "number" ? t : a,
477
+ typeof t == "number" ? t : o,
478
478
  {
479
479
  ...n,
480
480
  style: "decimal"
@@ -510,7 +510,7 @@ class I {
510
510
  const s = {
511
511
  style: "unit",
512
512
  ...typeof e == "string" ? { unit: e } : e || {}
513
- }, n = t.toString().replace(/^([\S\s]+[\d ])([a-zA-Z]+)$/i, (...a) => (s.unit = String(a[2]).toLowerCase(), String(a[1])));
513
+ }, n = t.toString().replace(/^([\S\s]+[\d ])([a-zA-Z]+)$/i, (...o) => (s.unit = String(o[2]).toLowerCase(), String(o[1])));
514
514
  return this.number(n, s);
515
515
  }
516
516
  /**
@@ -520,8 +520,8 @@ class I {
520
520
  * в форматировании блока
521
521
  */
522
522
  sizeFile(t, e = "byte") {
523
- const s = b(t);
524
- if (s > 1024 && ot(e))
523
+ const s = k(t);
524
+ if (s > 1024 && ht(e))
525
525
  switch (e) {
526
526
  case "byte":
527
527
  return this.sizeFile(s / 1024, "kilobyte");
@@ -558,7 +558,7 @@ class I {
558
558
  * объект с некоторыми или всеми свойствами
559
559
  */
560
560
  percentBy100(t, e) {
561
- return this.percent(b(t) / 100, e);
561
+ return this.percent(k(t) / 100, e);
562
562
  }
563
563
  /**
564
564
  * Применять форматирование, учитывающее множественное число, и языковые правила, связанные с множественным числом
@@ -569,38 +569,38 @@ class I {
569
569
  * @param optionsNumber an object with some or all properties/ объект с некоторыми или всеми свойствами
570
570
  */
571
571
  plural(t, e, s, n) {
572
- const a = b(t), o = e.split("|");
573
- if (o.length > 1)
572
+ const o = k(t), a = e.split("|");
573
+ if (a.length > 1)
574
574
  try {
575
575
  if (d()) {
576
- const h = new Intl.PluralRules(this.getLocation(), s).select(a);
577
- let l;
578
- switch (h) {
576
+ const l = new Intl.PluralRules(this.getLocation(), s).select(o);
577
+ let h;
578
+ switch (l) {
579
579
  case "zero":
580
- l = o[o.length - 1];
580
+ h = a[a.length - 1];
581
581
  break;
582
582
  case "one":
583
- l = o?.[0];
583
+ h = a?.[0];
584
584
  break;
585
585
  case "two":
586
- l = o?.[1];
586
+ h = a?.[1];
587
587
  break;
588
588
  case "few":
589
- l = o?.[3] ? o?.[2] : o?.[1];
589
+ h = a?.[3] ? a?.[2] : a?.[1];
590
590
  break;
591
591
  case "many":
592
- l = o?.[3] || o?.[2] || o?.[1];
592
+ h = a?.[3] || a?.[2] || a?.[1];
593
593
  break;
594
594
  case "other":
595
- o.length === 6 ? l = o[o.length - 2] : l = o[o.length - 1];
595
+ a.length === 6 ? h = a[a.length - 2] : h = a[a.length - 1];
596
596
  break;
597
597
  }
598
- return `${this.number(a, n)} ${l ?? ""}`.trim();
598
+ return `${this.number(o, n)} ${h ?? ""}`.trim();
599
599
  }
600
600
  } catch (u) {
601
601
  console.error("plural: ", u);
602
602
  }
603
- return `${this.number(a, n)} ${o?.[0] ?? ""}`.trim();
603
+ return `${this.number(o, n)} ${a?.[0] ?? ""}`.trim();
604
604
  }
605
605
  /**
606
606
  * Enables language-sensitive date and time formatting.
@@ -612,8 +612,8 @@ class I {
612
612
  * @param hour24 whether to use 12-hour time/ использовать ли 12-часовое время
613
613
  */
614
614
  date(t, e, s, n) {
615
- const a = w(t), o = typeof s == "string", u = this.dateOptions(e, o ? s : "short");
616
- return n && (u.hour12 = !1), o || Object.assign(u, s), a.toLocaleString(this.getLocation(), u);
615
+ const o = D(t), a = typeof s == "string", u = this.dateOptions(e, a ? s : "short");
616
+ return n && (u.hour12 = !1), a || Object.assign(u, s), o.toLocaleString(this.getLocation(), u);
617
617
  }
618
618
  /**
619
619
  * Enables language-sensitive relative time formatting.
@@ -625,12 +625,12 @@ class I {
625
625
  * @param todayValue current day/ текущий день
626
626
  */
627
627
  relative(t, e, s) {
628
- const n = w(t), a = s || /* @__PURE__ */ new Date(), o = {
628
+ const n = D(t), o = s || /* @__PURE__ */ new Date(), a = {
629
629
  numeric: "auto",
630
630
  ...typeof e == "string" ? { style: e } : e || {}
631
631
  };
632
- let u = "second", h = (n.getTime() - a.getTime()) / 1e3;
633
- return Math.abs(h) >= 60 && (u = "minute", h /= 60, Math.abs(h) >= 60 && (u = "hour", h /= 60, Math.abs(h) >= 24 && (u = "day", h /= 24, Math.abs(h) >= 30 && (u = "month", h /= 30, Math.abs(h) >= 12 && (u = "year", h /= 12))))), this.relativeByValue(h, u, o);
632
+ let u = "second", l = (n.getTime() - o.getTime()) / 1e3;
633
+ return Math.abs(l) >= 60 && (u = "minute", l /= 60, Math.abs(l) >= 60 && (u = "hour", l /= 60, Math.abs(l) >= 24 && (u = "day", l /= 24, Math.abs(l) >= 30 && (u = "month", l /= 30, Math.abs(l) >= 12 && (u = "year", l /= 12))))), this.relativeByValue(l, u, a);
634
634
  }
635
635
  /**
636
636
  * Enables language-sensitive relative time formatting
@@ -650,16 +650,16 @@ class I {
650
650
  * @param type type of data format/ тип формата data
651
651
  * @param hour24 whether to use 12-hour time/ использовать ли 12-часовое время
652
652
  */
653
- relativeLimit(t, e, s, n, a, o, u) {
654
- const h = w(t), l = s || /* @__PURE__ */ new Date(), C = new Date(l), D = new Date(l);
655
- return C.setDate(l.getDate() - e), D.setDate(l.getDate() + e), h >= C && h <= D ? this.relative(
656
- h,
653
+ relativeLimit(t, e, s, n, o, a, u) {
654
+ const l = D(t), h = s || /* @__PURE__ */ new Date(), I = new Date(h), N = new Date(h);
655
+ return I.setDate(h.getDate() - e), N.setDate(h.getDate() + e), l >= I && l <= N ? this.relative(
656
+ l,
657
657
  n,
658
- l
658
+ h
659
659
  ) : this.date(
660
- h,
661
- o,
660
+ l,
662
661
  a,
662
+ o,
663
663
  u
664
664
  );
665
665
  }
@@ -676,9 +676,9 @@ class I {
676
676
  };
677
677
  try {
678
678
  if (d())
679
- return new Intl.RelativeTimeFormat(this.getLocation(), n).format(Math.round(b(t)), e);
680
- } catch (a) {
681
- console.error("relative: ", a);
679
+ return new Intl.RelativeTimeFormat(this.getLocation(), n).format(Math.round(k(t)), e);
680
+ } catch (o) {
681
+ console.error("relative: ", o);
682
682
  }
683
683
  return "";
684
684
  }
@@ -691,7 +691,7 @@ class I {
691
691
  month(t, e) {
692
692
  try {
693
693
  if (d())
694
- return Intl.DateTimeFormat(this.getLocation(), { month: e || "long" }).format(w(t));
694
+ return Intl.DateTimeFormat(this.getLocation(), { month: e || "long" }).format(D(t));
695
695
  } catch (s) {
696
696
  console.error("month: ", s);
697
697
  }
@@ -711,10 +711,10 @@ class I {
711
711
  try {
712
712
  if (d()) {
713
713
  const s = /* @__PURE__ */ new Date(), n = Intl.DateTimeFormat(this.getLocation(), { month: t || "long" });
714
- for (let a = 0; a < 12; a++)
715
- s.setMonth(a), e.push({
716
- label: n.format(s).replace(/^./, (o) => o.toUpperCase()),
717
- value: a + 1
714
+ for (let o = 0; o < 12; o++)
715
+ s.setMonth(o), e.push({
716
+ label: n.format(s).replace(/^./, (a) => a.toUpperCase()),
717
+ value: o + 1
718
718
  });
719
719
  }
720
720
  } catch (s) {
@@ -732,7 +732,7 @@ class I {
732
732
  weekday(t, e) {
733
733
  try {
734
734
  if (d())
735
- return Intl.DateTimeFormat(this.getLocation(), { weekday: e || "long" }).format(w(t));
735
+ return Intl.DateTimeFormat(this.getLocation(), { weekday: e || "long" }).format(D(t));
736
736
  } catch (s) {
737
737
  console.error("weekday: ", s);
738
738
  }
@@ -751,9 +751,9 @@ class I {
751
751
  }];
752
752
  try {
753
753
  if (d()) {
754
- const s = /* @__PURE__ */ new Date(), n = Intl.DateTimeFormat(this.getLocation(), { weekday: t || "long" }), a = s.getDay() + (this.geo.firstDay === "Mo" ? -1 : 1);
755
- s.setDate(s.getDate() - a);
756
- for (let o = 0; o < 7; o++)
754
+ const s = /* @__PURE__ */ new Date(), n = Intl.DateTimeFormat(this.getLocation(), { weekday: t || "long" }), o = s.getDay() + (this.geo.firstDay === "Mo" ? -1 : 1);
755
+ s.setDate(s.getDate() - o);
756
+ for (let a = 0; a < 7; a++)
757
757
  e.push({
758
758
  label: n.format(s).replace(/^./, (u) => u.toUpperCase()),
759
759
  value: s.getDay()
@@ -783,7 +783,7 @@ class I {
783
783
  sort(t, e = (s, n) => [s, n]) {
784
784
  if (d()) {
785
785
  const s = new Intl.Collator(this.getLocation());
786
- return t.sort((n, a) => s.compare(...e(n, a)));
786
+ return t.sort((n, o) => s.compare(...e(n, o)));
787
787
  }
788
788
  return t;
789
789
  }
@@ -814,16 +814,16 @@ class I {
814
814
  return ["full", "datetime", "date", void 0, "year-month", "year"].indexOf(t) !== -1 && (s.year = "numeric"), ["full", "datetime", "date", void 0, "year-month", "month", "day-month"].indexOf(t) !== -1 && (s.month = e), ["full", "datetime", "date", void 0, "day", "day-month"].indexOf(t) !== -1 && (s.day = "2-digit"), t !== void 0 && (["full", "datetime", "time", "hour-minute", "hour"].indexOf(t) !== -1 && (s.hour = "2-digit"), ["full", "datetime", "time", "hour-minute", "minute"].indexOf(t) !== -1 && (s.minute = "2-digit"), ["full", "time", "second"].indexOf(t) !== -1 && (s.second = "2-digit")), s;
815
815
  }
816
816
  }
817
- const Q = {};
818
- class ut {
817
+ const et = {};
818
+ class gt {
819
819
  /**
820
820
  * Constructor
821
821
  * @param date date for processing/ дата для обработки
822
822
  * @param type type of date format for output/ тип формата даты вывода
823
823
  * @param code country and language code/ код страны и языка
824
824
  */
825
- constructor(t, e = "date", s = p.getLocation()) {
826
- this.type = e, this.code = s, this.date = w(t);
825
+ constructor(t, e = "date", s = b.getLocation()) {
826
+ this.type = e, this.code = s, this.date = D(t);
827
827
  }
828
828
  date;
829
829
  hour24 = !1;
@@ -834,7 +834,7 @@ class ut {
834
834
  * Возвращает объект для работы с форматированием.
835
835
  */
836
836
  getIntl() {
837
- return new I(this.code);
837
+ return new W(this.code);
838
838
  }
839
839
  /**
840
840
  * Returns a Date object.
@@ -896,8 +896,8 @@ class ut {
896
896
  const n = this.getIntl().number(Math.trunc(s), {
897
897
  signDisplay: "always",
898
898
  minimumIntegerDigits: 2
899
- }), a = s.toString().match(/.\d+/) ? "30" : "00";
900
- return t === "RFC" ? `${n}${a}` : `${n}:${a}`;
899
+ }), o = s.toString().match(/.\d+/) ? "30" : "00";
900
+ return t === "RFC" ? `${n}${o}` : `${n}:${o}`;
901
901
  }
902
902
  /**
903
903
  * Returns the code of the first day of the week.
@@ -1042,7 +1042,7 @@ class ut {
1042
1042
  * @param timeZone add time zone/ добавить временную зону
1043
1043
  */
1044
1044
  standard(t = !0) {
1045
- const e = new ut(this.date, this.type, "en-GB"), s = [];
1045
+ const e = new gt(this.date, this.type, "en-GB"), s = [];
1046
1046
  let n;
1047
1047
  return e.setHour24(!0), this.type === "hour-minute" ? n = e.locale(this.type, {
1048
1048
  year: "numeric",
@@ -1058,7 +1058,7 @@ class ut {
1058
1058
  * целочисленное значение, представляющее число
1059
1059
  */
1060
1060
  setDate(t) {
1061
- return this.date = w(t), this.update(), this;
1061
+ return this.date = D(t), this.update(), this;
1062
1062
  }
1063
1063
  /**
1064
1064
  * Change the type of data output.
@@ -1466,12 +1466,12 @@ class ut {
1466
1466
  }
1467
1467
  }
1468
1468
  const r = "@flag";
1469
- class x {
1469
+ class U {
1470
1470
  /**
1471
1471
  * Constructor
1472
1472
  * @param code country and language code/ код страны и языка
1473
1473
  */
1474
- constructor(t = p.getLocation()) {
1474
+ constructor(t = b.getLocation()) {
1475
1475
  this.code = t;
1476
1476
  }
1477
1477
  static flags = {
@@ -1724,14 +1724,14 @@ class x {
1724
1724
  * @param code country code/ код страны
1725
1725
  */
1726
1726
  get(t = this.code) {
1727
- const e = p.find(t);
1727
+ const e = b.find(t);
1728
1728
  if (e) {
1729
1729
  const s = this.getCountry(e);
1730
1730
  return {
1731
1731
  language: this.getLanguage(e),
1732
1732
  country: s,
1733
1733
  standard: e.standard,
1734
- icon: x.flags?.[e.country],
1734
+ icon: U.flags?.[e.country],
1735
1735
  label: s,
1736
1736
  value: e.country
1737
1737
  };
@@ -1763,7 +1763,7 @@ class x {
1763
1763
  */
1764
1764
  getNational(t) {
1765
1765
  return f(this.getList(t), (e) => {
1766
- const s = new x(e.standard).get(e.standard);
1766
+ const s = new U(e.standard).get(e.standard);
1767
1767
  return {
1768
1768
  ...e,
1769
1769
  description: s?.country,
@@ -1787,7 +1787,7 @@ class x {
1787
1787
  * Возвращает специальный объект для работы с форматированием.
1788
1788
  */
1789
1789
  getLocation() {
1790
- return new I(this.code);
1790
+ return new W(this.code);
1791
1791
  }
1792
1792
  /**
1793
1793
  * Returns a list of countries to retrieve data from.
@@ -1796,7 +1796,7 @@ class x {
1796
1796
  * @param codes country code/ код страны
1797
1797
  */
1798
1798
  getCodes(t) {
1799
- return t ?? Object.keys(x.flags);
1799
+ return t ?? Object.keys(U.flags);
1800
1800
  }
1801
1801
  /**
1802
1802
  * Getting the name of the language.
@@ -1817,7 +1817,7 @@ class x {
1817
1817
  return this.getLocation().countryName(t.country);
1818
1818
  }
1819
1819
  }
1820
- const N = class N {
1820
+ const E = class E {
1821
1821
  /**
1822
1822
  * Getting an object with information about the phone code and country.
1823
1823
  *
@@ -1835,8 +1835,8 @@ const N = class N {
1835
1835
  */
1836
1836
  static getByPhone(t) {
1837
1837
  let e = this.map, s, n = "";
1838
- return this.toNumber(t).forEach((a) => {
1839
- n === "" && a in e ? (s = e[a], e = s?.next ?? {}) : n += a;
1838
+ return this.toNumber(t).forEach((o) => {
1839
+ n === "" && o in e ? (s = e[o], e = s?.next ?? {}) : n += o;
1840
1840
  }), {
1841
1841
  item: s,
1842
1842
  phone: n
@@ -1877,11 +1877,11 @@ const N = class N {
1877
1877
  * @param masks a mask to transform a phone number/ маска для преобразования номер телефон
1878
1878
  */
1879
1879
  static toMask(t, e) {
1880
- if (W(t) && Array.isArray(e) && e.length > 0) {
1880
+ if (F(t) && Array.isArray(e) && e.length > 0) {
1881
1881
  const s = this.removeZero(t), n = s.length;
1882
- for (const a of e)
1883
- if (this.getUnnecessaryLength(a) === n)
1884
- return this.toStandard(s, a);
1882
+ for (const o of e)
1883
+ if (this.getUnnecessaryLength(o) === n)
1884
+ return this.toStandard(s, o);
1885
1885
  }
1886
1886
  }
1887
1887
  /**
@@ -1925,12 +1925,12 @@ const N = class N {
1925
1925
  * Формирование списка для карты.
1926
1926
  */
1927
1927
  static makeList() {
1928
- const t = f(p.getList(), (e) => {
1928
+ const t = f(b.getList(), (e) => {
1929
1929
  if (e?.phoneMask)
1930
1930
  return {
1931
1931
  phone: e?.phoneCode && Number(e.phoneCode.replace(/[^0-9]+/, "")) || void 0,
1932
1932
  within: e?.phoneWithin || 0,
1933
- mask: T(e.phoneMask),
1933
+ mask: R(e.phoneMask),
1934
1934
  value: e.country
1935
1935
  };
1936
1936
  });
@@ -1945,19 +1945,19 @@ const N = class N {
1945
1945
  this.list.forEach((t) => {
1946
1946
  t.mask.forEach((e) => {
1947
1947
  let s = this.map, n;
1948
- if (this.toNumber(e).forEach((a) => {
1949
- a in s || (s[a] = {
1948
+ if (this.toNumber(e).forEach((o) => {
1949
+ o in s || (s[o] = {
1950
1950
  items: [],
1951
1951
  info: void 0,
1952
1952
  value: void 0,
1953
1953
  mask: [],
1954
1954
  maskFull: [],
1955
1955
  next: {}
1956
- }), n = s[a], s = n?.next ?? {};
1956
+ }), n = s[o], s = n?.next ?? {};
1957
1957
  }), n) {
1958
1958
  n.value === void 0 && (n.info = t, n.value = t.value);
1959
- const a = this.toWithin(e, t.within);
1960
- n.mask.push(a), n.maskFull.push(a.replace(/\d/ig, "*")), n.items.push(t);
1959
+ const o = this.toWithin(e, t.within);
1960
+ n.mask.push(o), n.maskFull.push(o.replace(/\d/ig, "*")), n.items.push(t);
1961
1961
  }
1962
1962
  });
1963
1963
  });
@@ -1993,9 +1993,9 @@ const N = class N {
1993
1993
  return t.replace(/\*/, this.getWithinSymbol(e));
1994
1994
  }
1995
1995
  };
1996
- k(N, "list", []), k(N, "map", {}), N.makeList(), N.makeMap();
1997
- let yt = N, j;
1998
- class Ce {
1996
+ A(E, "list", []), A(E, "map", {}), E.makeList(), E.makeMap();
1997
+ let wt = E, K;
1998
+ class ze {
1999
1999
  /**
2000
2000
  * Returns the value by its name.
2001
2001
  *
@@ -2003,7 +2003,7 @@ class Ce {
2003
2003
  * @param name property name/ название свойства
2004
2004
  */
2005
2005
  static get(t) {
2006
- return j && j?.[t];
2006
+ return K && K?.[t];
2007
2007
  }
2008
2008
  /**
2009
2009
  * Adds data, this method works only once.
@@ -2012,10 +2012,10 @@ class Ce {
2012
2012
  * @param data global data/ глобальные данные
2013
2013
  */
2014
2014
  static add(t) {
2015
- j === void 0 && (j = { ...t });
2015
+ K === void 0 && (K = { ...t });
2016
2016
  }
2017
2017
  }
2018
- const M = class M {
2018
+ const x = class x {
2019
2019
  /**
2020
2020
  * Get data from hash.
2021
2021
  *
@@ -2034,7 +2034,7 @@ const M = class M {
2034
2034
  * @param callback value or function to change data/ значение или функция для изменения данных
2035
2035
  */
2036
2036
  static set(t, e) {
2037
- const s = A(e);
2037
+ const s = B(e);
2038
2038
  s !== this.hash?.[t] && (this.hash[t] = s, this.update());
2039
2039
  }
2040
2040
  /**
@@ -2067,7 +2067,7 @@ const M = class M {
2067
2067
  const t = {};
2068
2068
  return location.hash.replace(
2069
2069
  /([\w-]+)[:=]([^;]+)/ig,
2070
- (...e) => (t[String(e[1])] = wt(e[2]), "")
2070
+ (...e) => (t[String(e[1])] = Lt(e[2]), "")
2071
2071
  ), t;
2072
2072
  }
2073
2073
  /**
@@ -2076,7 +2076,7 @@ const M = class M {
2076
2076
  * Обновление строки хэша в URL.
2077
2077
  */
2078
2078
  static update() {
2079
- this.block = !0, history.replaceState(null, "", `#${Et(this.hash, "=", ";")}`), requestAnimationFrame(() => {
2079
+ this.block = !0, history.replaceState(null, "", `#${Ht(this.hash, "=", ";")}`), requestAnimationFrame(() => {
2080
2080
  this.block = !1;
2081
2081
  });
2082
2082
  }
@@ -2092,36 +2092,636 @@ const M = class M {
2092
2092
  });
2093
2093
  }
2094
2094
  };
2095
- k(M, "hash", {}), k(M, "watch", {}), k(M, "block", !1), d() && (M.reload(), addEventListener("hashchange", () => M.reload()));
2096
- let R = M;
2097
- function Jt(i, t, e) {
2098
- return K(i)?.[t] ?? e;
2095
+ A(x, "hash", {}), A(x, "watch", {}), A(x, "block", !1), d() && (x.reload(), addEventListener("hashchange", () => x.reload()));
2096
+ let _ = x;
2097
+ function ee(i, t, e) {
2098
+ return M(i)?.[t] ?? e;
2099
2099
  }
2100
- function Qt(i, t, e) {
2101
- const s = K(i);
2100
+ function ie(i, t, e) {
2101
+ const s = M(i);
2102
2102
  if (s) {
2103
- const n = Jt(s, t);
2104
- if (m(n) && m(e))
2105
- f(e, (a, o) => {
2106
- n[o] = A(a);
2103
+ const n = ee(s, t);
2104
+ if (p(n) && p(e))
2105
+ f(e, (o, a) => {
2106
+ n[a] = B(o);
2107
2107
  });
2108
2108
  else {
2109
- const a = A(e);
2110
- !(t in s) && typeof a == "string" ? s.setAttribute(t.toString(), a) : s[t] = A(e);
2109
+ const o = B(e);
2110
+ !(t in s) && typeof o == "string" ? s.setAttribute(t.toString(), o) : s[t] = B(e);
2111
2111
  }
2112
2112
  }
2113
2113
  return s;
2114
2114
  }
2115
- function pt(i, t = "div", e, s) {
2115
+ function ut(i, t = "div", e, s) {
2116
2116
  if (!d())
2117
2117
  return;
2118
2118
  const n = document.createElement(t);
2119
- return typeof e == "function" ? e(n) : L(e) && f(e, (a, o) => {
2120
- Qt(n, o, a);
2119
+ return typeof e == "function" ? e(n) : C(e) && f(e, (o, a) => {
2120
+ ie(n, a, o);
2121
2121
  }), i?.insertBefore(n, s ?? null), n;
2122
2122
  }
2123
- class St {
2124
- static storage = new Y("scrollbar", !0);
2123
+ function se(i) {
2124
+ return i.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").trim();
2125
+ }
2126
+ class ft {
2127
+ /**
2128
+ * Creates an instance of MetaManager.
2129
+ *
2130
+ * Создает экземпляр MetaManager.
2131
+ * @param listMeta list of meta-tag names to manage / список имен мета-тегов для управления
2132
+ * @param isProperty use 'property' attribute instead of 'name' / использовать атрибут 'property' вместо 'name'
2133
+ */
2134
+ constructor(t, e = !1) {
2135
+ this.listMeta = t, this.isProperty = e, this.update();
2136
+ }
2137
+ items = {};
2138
+ /**
2139
+ * Returns the list of meta tag names.
2140
+ *
2141
+ * Возвращает список имен мета-тегов.
2142
+ */
2143
+ getListMeta() {
2144
+ return this.listMeta;
2145
+ }
2146
+ /**
2147
+ * Get the content of a meta tag by name.
2148
+ *
2149
+ * Получает содержимое мета-тега по имени.
2150
+ * @param name meta tag name / имя мета-тега
2151
+ */
2152
+ get(t) {
2153
+ return this.items[t] ?? "";
2154
+ }
2155
+ /**
2156
+ * Returns all meta tags.
2157
+ *
2158
+ * Возвращает все мета-теги.
2159
+ */
2160
+ getItems() {
2161
+ return this.items;
2162
+ }
2163
+ /**
2164
+ * Returns all meta tags as HTML string.
2165
+ *
2166
+ * Возвращает все мета-теги в виде HTML-строки.
2167
+ */
2168
+ html() {
2169
+ return f(
2170
+ this.listMeta,
2171
+ (e) => this.toHtmlString(e)
2172
+ ).join("");
2173
+ }
2174
+ /**
2175
+ * Sets the content of a meta tag.
2176
+ *
2177
+ * Устанавливает содержимое мета-тега.
2178
+ * @param name meta tag name / имя мета-тега
2179
+ * @param content meta tag content / содержимое мета-тега
2180
+ */
2181
+ set(t, e) {
2182
+ return this.setItem(t, e).setMeta(t), this;
2183
+ }
2184
+ /**
2185
+ * Sets multiple meta tags from an object.
2186
+ *
2187
+ * Устанавливает несколько мета-тегов из объекта.
2188
+ * @param metaList object with meta tag names and content / объект с именами и содержимым мета-тегов
2189
+ */
2190
+ setByList(t) {
2191
+ return f(
2192
+ t,
2193
+ (e, s) => this.set(s, String(e))
2194
+ ), this;
2195
+ }
2196
+ /**
2197
+ * Returns the attribute name for meta tags.
2198
+ *
2199
+ * Возвращает имя атрибута для мета-тегов.
2200
+ */
2201
+ getAttributeName() {
2202
+ return this.isProperty ? "property" : "name";
2203
+ }
2204
+ /**
2205
+ * Finds a meta element in the DOM.
2206
+ *
2207
+ * Находит мета-элемент в DOM.
2208
+ * @param name meta tag name / имя мета-тега
2209
+ */
2210
+ findMetaElement(t) {
2211
+ if (!d())
2212
+ return;
2213
+ const e = `meta[${this.getAttributeName()}="${t}"]`;
2214
+ return document.querySelector(e) || void 0;
2215
+ }
2216
+ /**
2217
+ * Sets the content of a meta tag in internal storage.
2218
+ *
2219
+ * Устанавливает содержимое мета-тега во внутреннем хранилище.
2220
+ * @param name meta tag name / имя мета-тега
2221
+ * @param content meta tag content / содержимое мета-тега
2222
+ */
2223
+ setItem(t, e) {
2224
+ return this.items[t] = e, this;
2225
+ }
2226
+ /**
2227
+ * Sets or creates a meta tag in the DOM.
2228
+ *
2229
+ * Устанавливает или создает мета-тег в DOM.
2230
+ * @param name meta tag name / имя мета-тега
2231
+ */
2232
+ setMeta(t) {
2233
+ const e = this.findMetaElement(t), s = this.items[t] ?? "";
2234
+ if (e)
2235
+ e.content = s;
2236
+ else if (d()) {
2237
+ const n = { content: s };
2238
+ this.isProperty ? n.property = t : n.name = t, ut(document.head, "meta", n);
2239
+ }
2240
+ return this;
2241
+ }
2242
+ /**
2243
+ * Converts meta tag to HTML string.
2244
+ *
2245
+ * Преобразует мета-тег в HTML-строку.
2246
+ * @param name meta tag name / имя мета-тега
2247
+ */
2248
+ toHtmlString(t) {
2249
+ const e = se(this.items[t] ?? "");
2250
+ return e ? `<meta ${this.getAttributeName()}="${t}" content="${e}">` : "";
2251
+ }
2252
+ /**
2253
+ * Updates meta tags data from the DOM.
2254
+ *
2255
+ * Обновляет данные мета-тегов из DOM.
2256
+ */
2257
+ update() {
2258
+ return this.listMeta.forEach((t) => {
2259
+ this.items[t] = this.findMetaElement(t)?.content ?? "";
2260
+ }), this;
2261
+ }
2262
+ }
2263
+ var w = /* @__PURE__ */ ((i) => (i.description = "description", i.keywords = "keywords", i.canonical = "canonical", i.robots = "robots", i.author = "author", i))(w || {}), re = /* @__PURE__ */ ((i) => (i.indexFollow = "index, follow", i.noIndexFollow = "noindex, follow", i.indexNoFollow = "index, nofollow", i.noIndexNoFollow = "noindex, nofollow", i.noArchive = "noarchive", i.noSnippet = "nosnippet", i.noImageIndex = "noimageindex", i.images = "images", i.noTranslate = "notranslate", i.noPreview = "nopreview", i.textOnly = "textonly", i.noIndexSubpages = "noindex, noarchive", i.none = "none", i))(re || {}), $ = /* @__PURE__ */ ((i) => (i.title = "og:title", i.type = "og:type", i.url = "og:url", i.image = "og:image", i.description = "og:description", i.locale = "og:locale", i.siteName = "og:site_name", i.localeAlternate = "og:locale:alternate", i.imageUrl = "og:image:url", i.imageSecureUrl = "og:image:secure_url", i.imageType = "og:image:type", i.imageWidth = "og:image:width", i.imageHeight = "og:image:height", i.imageAlt = "og:image:alt", i.video = "og:video", i.videoUrl = "og:video:url", i.videoSecureUrl = "og:video:secure_url", i.videoType = "og:video:type", i.videoWidth = "og:video:width", i.videoHeight = "og:video:height", i.audio = "og:audio", i.audioSecureUrl = "og:audio:secure_url", i.audioType = "og:audio:type", i.articlePublishedTime = "article:published_time", i.articleModifiedTime = "article:modified_time", i.articleExpirationTime = "article:expiration_time", i.articleAuthor = "article:author", i.articleSection = "article:section", i.articleTag = "article:tag", i.bookAuthor = "book:author", i.bookIsbn = "book:isbn", i.bookReleaseDate = "book:release_date", i.bookTag = "book:tag", i.musicDuration = "music:duration", i.musicAlbum = "music:album", i.musicAlbumDisc = "music:album:disc", i.musicAlbumTrack = "music:album:track", i.musicMusician = "music:musician", i.musicSong = "music:song", i.musicSongDisc = "music:song:disc", i.musicSongTrack = "music:song:track", i.musicReleaseDate = "music:release_date", i.musicCreator = "music:creator", i.videoActor = "video:actor", i.videoActorRole = "video:actor:role", i.videoDirector = "video:director", i.videoWriter = "video:writer", i.videoDuration = "video:duration", i.videoReleaseDate = "video:release_date", i.videoTag = "video:tag", i.videoSeries = "video:series", i.profileFirstName = "profile:first_name", i.profileLastName = "profile:last_name", i.profileUsername = "profile:username", i.profileGender = "profile:gender", i.productBrand = "product:brand", i.productAvailability = "product:availability", i.productCondition = "product:condition", i.productPriceAmount = "product:price:amount", i.productPriceCurrency = "product:price:currency", i.productRetailerItemId = "product:retailer_item_id", i.productCategory = "product:category", i.productEan = "product:ean", i.productIsbn = "product:isbn", i.productMfrPartNo = "product:mfr_part_no", i.productUpc = "product:upc", i.productWeightValue = "product:weight:value", i.productWeightUnits = "product:weight:units", i.productColor = "product:color", i.productMaterial = "product:material", i.productPattern = "product:pattern", i.productAgeGroup = "product:age_group", i.productGender = "product:gender", i))($ || {}), ne = /* @__PURE__ */ ((i) => (i.website = "website", i.article = "article", i.video = "video.other", i.videoTvShow = "video.tv_show", i.videoEpisode = "video.episode", i.videoMovie = "video.movie", i.musicAlbum = "music.album", i.musicPlaylist = "music.playlist", i.musicSong = "music.song", i.musicRadioStation = "music.radio_station", i.app = "app", i.product = "product", i.business = "business.business", i.place = "place", i.event = "event", i.profile = "profile", i.book = "book", i))(ne || {}), oe = /* @__PURE__ */ ((i) => (i.inStock = "in stock", i.outOfStock = "out of stock", i.preorder = "preorder", i.backorder = "backorder", i.discontinued = "discontinued", i.pending = "pending", i))(oe || {}), ae = /* @__PURE__ */ ((i) => (i.new = "new", i.used = "used", i.refurbished = "refurbished", i))(ae || {}), ce = /* @__PURE__ */ ((i) => (i.newborn = "newborn", i.infant = "infant", i.toddler = "toddler", i.kids = "kids", i.adult = "adult", i))(ce || {}), ue = /* @__PURE__ */ ((i) => (i.female = "female", i.male = "male", i.unisex = "unisex", i))(ue || {}), v = /* @__PURE__ */ ((i) => (i.card = "twitter:card", i.site = "twitter:site", i.creator = "twitter:creator", i.url = "twitter:url", i.title = "twitter:title", i.description = "twitter:description", i.image = "twitter:image", i.imageAlt = "twitter:image:alt", i.imageSrc = "twitter:image:src", i.imageWidth = "twitter:image:width", i.imageHeight = "twitter:image:height", i.label1 = "twitter:label1", i.data1 = "twitter:data1", i.label2 = "twitter:label2", i.data2 = "twitter:data2", i.appNameIphone = "twitter:app:name:iphone", i.appIdIphone = "twitter:app:id:iphone", i.appUrlIphone = "twitter:app:url:iphone", i.appNameIpad = "twitter:app:name:ipad", i.appIdIpad = "twitter:app:id:ipad", i.appUrlIpad = "twitter:app:url:ipad", i.appNameGooglePlay = "twitter:app:name:googleplay", i.appIdGooglePlay = "twitter:app:id:googleplay", i.appUrlGooglePlay = "twitter:app:url:googleplay", i.player = "twitter:player", i.playerWidth = "twitter:player:width", i.playerHeight = "twitter:player:height", i.playerStream = "twitter:player:stream", i.playerStreamContentType = "twitter:player:stream:content_type", i))(v || {}), le = /* @__PURE__ */ ((i) => (i.summary = "summary", i.summaryLargeImage = "summary_large_image", i.app = "app", i.player = "player", i.product = "product", i.gallery = "gallery", i.photo = "photo", i.leadGeneration = "lead_generation", i.audio = "audio", i.poll = "poll", i))(le || {});
2264
+ class he extends ft {
2265
+ constructor() {
2266
+ super(Object.values($), !0);
2267
+ }
2268
+ /**
2269
+ * Gets the Open Graph title.
2270
+ *
2271
+ * Получает заголовок Open Graph.
2272
+ */
2273
+ getTitle() {
2274
+ return this.get($.title);
2275
+ }
2276
+ /**
2277
+ * Gets the Open Graph type.
2278
+ *
2279
+ * Получает тип Open Graph.
2280
+ */
2281
+ getType() {
2282
+ return this.get($.type);
2283
+ }
2284
+ /**
2285
+ * Gets the Open Graph URL.
2286
+ *
2287
+ * Получает URL Open Graph.
2288
+ */
2289
+ getUrl() {
2290
+ return this.get($.url);
2291
+ }
2292
+ /**
2293
+ * Gets the Open Graph image URL.
2294
+ *
2295
+ * Получает URL изображения Open Graph.
2296
+ */
2297
+ getImage() {
2298
+ return this.get($.image);
2299
+ }
2300
+ /**
2301
+ * Gets the Open Graph description.
2302
+ *
2303
+ * Получает описание Open Graph.
2304
+ */
2305
+ getDescription() {
2306
+ return this.get($.description);
2307
+ }
2308
+ /**
2309
+ * Gets the Open Graph locale.
2310
+ *
2311
+ * Получает локаль Open Graph.
2312
+ */
2313
+ getLocale() {
2314
+ return this.get($.locale);
2315
+ }
2316
+ /**
2317
+ * Gets the Open Graph site name.
2318
+ *
2319
+ * Получает название сайта Open Graph.
2320
+ */
2321
+ getSiteName() {
2322
+ return this.get($.siteName);
2323
+ }
2324
+ /**
2325
+ * Sets the Open Graph title.
2326
+ *
2327
+ * Устанавливает заголовок Open Graph.
2328
+ * @param title title / заголовок
2329
+ */
2330
+ setTitle(t) {
2331
+ return this.set($.title, t);
2332
+ }
2333
+ /**
2334
+ * Sets the Open Graph type.
2335
+ *
2336
+ * Устанавливает тип Open Graph.
2337
+ * @param type type / тип
2338
+ */
2339
+ setType(t) {
2340
+ return this.set($.type, t);
2341
+ }
2342
+ /**
2343
+ * Sets the Open Graph URL.
2344
+ *
2345
+ * Устанавливает URL Open Graph.
2346
+ * @param url URL / URL
2347
+ */
2348
+ setUrl(t) {
2349
+ return this.set($.url, t);
2350
+ }
2351
+ /**
2352
+ * Sets the Open Graph image URL.
2353
+ *
2354
+ * Устанавливает URL изображения Open Graph.
2355
+ * @param url image URL / URL изображения
2356
+ */
2357
+ setImage(t) {
2358
+ return this.set($.image, t);
2359
+ }
2360
+ /**
2361
+ * Sets the Open Graph description.
2362
+ *
2363
+ * Устанавливает описание Open Graph.
2364
+ * @param description description / описание
2365
+ */
2366
+ setDescription(t) {
2367
+ return this.set($.description, t);
2368
+ }
2369
+ /**
2370
+ * Sets the Open Graph locale.
2371
+ *
2372
+ * Устанавливает локаль Open Graph.
2373
+ * @param locale locale (e.g. 'en_US', 'ru_RU') / локаль (например, 'en_US', 'ru_RU')
2374
+ */
2375
+ setLocale(t) {
2376
+ return this.set($.locale, t);
2377
+ }
2378
+ /**
2379
+ * Sets the Open Graph site name.
2380
+ *
2381
+ * Устанавливает название сайта Open Graph.
2382
+ * @param siteName site name / название сайта
2383
+ */
2384
+ setSiteName(t) {
2385
+ return this.set($.siteName, t);
2386
+ }
2387
+ }
2388
+ class de extends ft {
2389
+ constructor() {
2390
+ super(Object.values(v));
2391
+ }
2392
+ /**
2393
+ * Gets the Twitter Card type.
2394
+ *
2395
+ * Получает тип Twitter Card.
2396
+ */
2397
+ getCard() {
2398
+ return this.get(v.card);
2399
+ }
2400
+ /**
2401
+ * Gets the website or brand @username.
2402
+ *
2403
+ * Получает аккаунт сайта или бренда (@username).
2404
+ */
2405
+ getSite() {
2406
+ return this.get(v.site);
2407
+ }
2408
+ /**
2409
+ * Gets the content creator @username.
2410
+ *
2411
+ * Получает автора контента (@username).
2412
+ */
2413
+ getCreator() {
2414
+ return this.get(v.creator);
2415
+ }
2416
+ /**
2417
+ * Gets the page URL.
2418
+ *
2419
+ * Получает URL страницы.
2420
+ */
2421
+ getUrl() {
2422
+ return this.get(v.url);
2423
+ }
2424
+ /**
2425
+ * Gets the card title.
2426
+ *
2427
+ * Получает заголовок карточки.
2428
+ */
2429
+ getTitle() {
2430
+ return this.get(v.title);
2431
+ }
2432
+ /**
2433
+ * Gets the card description.
2434
+ *
2435
+ * Получает описание карточки.
2436
+ */
2437
+ getDescription() {
2438
+ return this.get(v.description);
2439
+ }
2440
+ /**
2441
+ * Gets the card image URL.
2442
+ *
2443
+ * Получает URL изображения карточки.
2444
+ */
2445
+ getImage() {
2446
+ return this.get(v.image);
2447
+ }
2448
+ /**
2449
+ * Sets the Twitter Card type.
2450
+ *
2451
+ * Устанавливает тип Twitter Card.
2452
+ * @param card card type / тип карточки
2453
+ */
2454
+ setCard(t) {
2455
+ return this.set(v.card, t), this;
2456
+ }
2457
+ /**
2458
+ * Sets the website or brand @username.
2459
+ *
2460
+ * Устанавливает аккаунт сайта или бренда (@username).
2461
+ * @param site @username / аккаунт
2462
+ */
2463
+ setSite(t) {
2464
+ return this.set(v.site, t), this;
2465
+ }
2466
+ /**
2467
+ * Sets the content creator @username.
2468
+ *
2469
+ * Устанавливает автора контента (@username).
2470
+ * @param creator @username / аккаунт автора
2471
+ */
2472
+ setCreator(t) {
2473
+ return this.set(v.creator, t), this;
2474
+ }
2475
+ /**
2476
+ * Sets the page URL.
2477
+ *
2478
+ * Устанавливает URL страницы.
2479
+ * @param url URL / URL
2480
+ */
2481
+ setUrl(t) {
2482
+ return this.set(v.url, t), this;
2483
+ }
2484
+ /**
2485
+ * Sets the card title.
2486
+ *
2487
+ * Устанавливает заголовок карточки.
2488
+ * @param title title / заголовок
2489
+ */
2490
+ setTitle(t) {
2491
+ return this.set(v.title, t), this;
2492
+ }
2493
+ /**
2494
+ * Sets the card description.
2495
+ *
2496
+ * Устанавливает описание карточки.
2497
+ * @param description description / описание
2498
+ */
2499
+ setDescription(t) {
2500
+ return this.set(v.description, t), this;
2501
+ }
2502
+ /**
2503
+ * Sets the card image URL.
2504
+ *
2505
+ * Устанавливает URL изображения карточки.
2506
+ * @param image image URL / URL изображения
2507
+ */
2508
+ setImage(t) {
2509
+ return this.set(v.image, t), this;
2510
+ }
2511
+ }
2512
+ class ge extends ft {
2513
+ suffix;
2514
+ og;
2515
+ twitter;
2516
+ /**
2517
+ * Creates an instance of Meta with integrated Open Graph and Twitter Card support.
2518
+ *
2519
+ * Создает экземпляр Meta с интегрированной поддержкой Open Graph и Twitter Card.
2520
+ */
2521
+ constructor() {
2522
+ super(Object.values(w)), this.og = new he(), this.twitter = new de();
2523
+ }
2524
+ /**
2525
+ * Gets the MetaOg instance for advanced Open Graph operations.
2526
+ *
2527
+ * Получает экземпляр MetaOg для расширенных операций с Open Graph.
2528
+ */
2529
+ getOg() {
2530
+ return this.og;
2531
+ }
2532
+ /**
2533
+ * Gets the MetaTwitter instance for advanced Twitter Card operations.
2534
+ *
2535
+ * Получает экземпляр MetaTwitter для расширенных операций с Twitter Card.
2536
+ */
2537
+ getTwitter() {
2538
+ return this.twitter;
2539
+ }
2540
+ /**
2541
+ * Gets the page title without suffix.
2542
+ *
2543
+ * Получает заголовок страницы без суффикса.
2544
+ */
2545
+ getTitle() {
2546
+ return d() ? document.title.replace(this.getSuffix(), "").trim() : "";
2547
+ }
2548
+ /**
2549
+ * Gets the keywords meta tag.
2550
+ *
2551
+ * Получает мета-тег keywords.
2552
+ */
2553
+ getKeywords() {
2554
+ return this.get(w.keywords);
2555
+ }
2556
+ /**
2557
+ * Gets the description meta tag.
2558
+ *
2559
+ * Получает мета-тег description.
2560
+ */
2561
+ getDescription() {
2562
+ return this.get(w.description);
2563
+ }
2564
+ /**
2565
+ * Gets the Open Graph image URL.
2566
+ *
2567
+ * Получает URL изображения Open Graph.
2568
+ */
2569
+ getImage() {
2570
+ return this.og.getImage();
2571
+ }
2572
+ /**
2573
+ * Gets the canonical URL.
2574
+ *
2575
+ * Получает канонический URL.
2576
+ */
2577
+ getCanonical() {
2578
+ return this.get(w.canonical);
2579
+ }
2580
+ /**
2581
+ * Gets the robots meta tag value.
2582
+ *
2583
+ * Получает значение мета-тега robots.
2584
+ */
2585
+ getRobots() {
2586
+ return this.get(w.robots);
2587
+ }
2588
+ /**
2589
+ * Gets the author meta tag.
2590
+ *
2591
+ * Получает мета-тег author.
2592
+ */
2593
+ getAuthor() {
2594
+ return this.get(w.author);
2595
+ }
2596
+ /**
2597
+ * Gets the Open Graph site name.
2598
+ *
2599
+ * Получает название сайта Open Graph.
2600
+ */
2601
+ getSiteName() {
2602
+ return this.og.getSiteName();
2603
+ }
2604
+ /**
2605
+ * Gets the Open Graph locale.
2606
+ *
2607
+ * Получает локаль Open Graph.
2608
+ */
2609
+ getLocale() {
2610
+ return this.og.getLocale();
2611
+ }
2612
+ /**
2613
+ * Sets the page title (with suffix) and updates Open Graph and Twitter Card titles.
2614
+ *
2615
+ * Устанавливает заголовок страницы (с суффиксом) и обновляет заголовки Open Graph и Twitter Card.
2616
+ * @param title page title / заголовок страницы
2617
+ */
2618
+ setTitle(t) {
2619
+ if (d()) {
2620
+ const e = F(t) ? `${t}${this.getSuffix()}` : this.suffix ? this.suffix : "";
2621
+ document.title = e, this.og.setTitle(e), this.twitter.setTitle(e);
2622
+ }
2623
+ return this;
2624
+ }
2625
+ /**
2626
+ * Sets the keywords meta tag.
2627
+ *
2628
+ * Устанавливает мета-тег keywords.
2629
+ * @param keywords keywords as string or array / ключевые слова в виде строки или массива
2630
+ */
2631
+ setKeywords(t) {
2632
+ return this.set(w.keywords, R(t).join(", ")), this;
2633
+ }
2634
+ /**
2635
+ * Sets the description meta tag.
2636
+ *
2637
+ * Устанавливает мета-тег description.
2638
+ * @param description page description / описание страницы
2639
+ */
2640
+ setDescription(t) {
2641
+ return this.set(w.description, t), this;
2642
+ }
2643
+ /**
2644
+ * Sets the image for Open Graph and Twitter Card.
2645
+ *
2646
+ * Устанавливает изображение для Open Graph и Twitter Card.
2647
+ * @param image image URL / URL изображения
2648
+ */
2649
+ setImage(t) {
2650
+ return this.og.setImage(t), this.twitter.setImage(t), this;
2651
+ }
2652
+ /**
2653
+ * Sets the canonical URL and updates Open Graph and Twitter Card URLs.
2654
+ *
2655
+ * Устанавливает канонический URL и обновляет URL для Open Graph и Twitter Card.
2656
+ * @param canonical canonical URL / канонический URL
2657
+ */
2658
+ setCanonical(t) {
2659
+ return this.set(w.canonical, t), this.og.setUrl(t), this.twitter.setUrl(t), this;
2660
+ }
2661
+ /**
2662
+ * Sets the robots meta tag.
2663
+ *
2664
+ * Устанавливает мета-тег robots.
2665
+ * @param robots robots directive / директива robots
2666
+ */
2667
+ setRobots(t) {
2668
+ return this.set(w.robots, t), this;
2669
+ }
2670
+ /**
2671
+ * Sets the author meta tag.
2672
+ *
2673
+ * Устанавливает мета-тег author.
2674
+ * @param author author name / имя автора
2675
+ */
2676
+ setAuthor(t) {
2677
+ return this.set(w.author, t), this;
2678
+ }
2679
+ /**
2680
+ * Sets the site name for Open Graph and Twitter Card.
2681
+ *
2682
+ * Устанавливает название сайта для Open Graph и Twitter Card.
2683
+ * @param siteName site name / название сайта
2684
+ */
2685
+ setSiteName(t) {
2686
+ return this.og.setSiteName(t), this.twitter.setSite(t), this;
2687
+ }
2688
+ /**
2689
+ * Sets the locale for Open Graph.
2690
+ *
2691
+ * Устанавливает локаль для Open Graph.
2692
+ * @param locale locale (e.g. 'en_US', 'ru_RU') / локаль (например, 'en_US', 'ru_RU')
2693
+ */
2694
+ setLocale(t) {
2695
+ return this.og.setLocale(t), this;
2696
+ }
2697
+ /**
2698
+ * Sets the suffix to append to page title.
2699
+ *
2700
+ * Устанавливает суффикс для добавления к заголовку страницы.
2701
+ * @param suffix title suffix (e.g. 'My Site') / суффикс заголовка (например, 'Мой Сайт')
2702
+ */
2703
+ setSuffix(t) {
2704
+ this.suffix = t;
2705
+ }
2706
+ /**
2707
+ * Generates the complete HTML for all meta-tags including Open Graph and Twitter Card.
2708
+ *
2709
+ * Генерирует полный HTML для всех мета-тегов, включая Open Graph и Twitter Card.
2710
+ */
2711
+ html() {
2712
+ return `${super.html()}${this.og.html()}${this.twitter.html()}`;
2713
+ }
2714
+ /**
2715
+ * Gets the formatted suffix with separator.
2716
+ *
2717
+ * Получает отформатированный суффикс с разделителем.
2718
+ */
2719
+ getSuffix() {
2720
+ return F(this.suffix) ? ` - ${this.suffix}` : "";
2721
+ }
2722
+ }
2723
+ class Ct {
2724
+ static storage = new X("scrollbar", !0);
2125
2725
  static calculate = !1;
2126
2726
  /**
2127
2727
  * Checks whether to enable scroll hiding.
@@ -2151,8 +2751,8 @@ class St {
2151
2751
  * Создает элементы для проверки ширины скролла.
2152
2752
  */
2153
2753
  static createElement() {
2154
- return pt(document.body, "div", (t) => {
2155
- t.style.height = "24px", t.style.overflowY = "scroll", t.style.position = "fixed", t.style.width = "100%", pt(t, "div", (e) => {
2754
+ return ut(document.body, "div", (t) => {
2755
+ t.style.height = "24px", t.style.overflowY = "scroll", t.style.position = "fixed", t.style.width = "100%", ut(t, "div", (e) => {
2156
2756
  e.style.height = "100px";
2157
2757
  });
2158
2758
  });
@@ -2172,7 +2772,7 @@ class St {
2172
2772
  });
2173
2773
  }
2174
2774
  }
2175
- const Xt = [
2775
+ const fe = [
2176
2776
  "d",
2177
2777
  "e",
2178
2778
  "f",
@@ -2192,22 +2792,22 @@ const Xt = [
2192
2792
  "t",
2193
2793
  "u",
2194
2794
  "v"
2195
- ], te = (i, t = {}) => {
2795
+ ], me = (i, t = {}) => {
2196
2796
  let e = String(i);
2197
2797
  if (i.match(/%[a-z]/)) {
2198
2798
  let s = 0;
2199
2799
  f(t, (n) => {
2200
- e = e.replace(new RegExp(`%${Xt[s++]}`, "g"), String(n));
2800
+ e = e.replace(new RegExp(`%${fe[s++]}`, "g"), String(n));
2201
2801
  });
2202
2802
  }
2203
- return L(t) && f(t, (s, n) => {
2803
+ return C(t) && f(t, (s, n) => {
2204
2804
  e = e.replace(
2205
2805
  new RegExp(`\\[${n}\\](.*?)\\[/${n}\\]`, "g"),
2206
- (a, o) => String(s).replace(/\[content]/g, o)
2806
+ (o, a) => String(s).replace(/\[content]/g, a)
2207
2807
  ).replace(new RegExp(`\\[${n}\\]`, "g"), String(s));
2208
2808
  }), e;
2209
2809
  };
2210
- class z {
2810
+ class q {
2211
2811
  static url = "/api/translate";
2212
2812
  static propsName = "list";
2213
2813
  static data = {};
@@ -2223,7 +2823,7 @@ class z {
2223
2823
  */
2224
2824
  static async get(t, e) {
2225
2825
  const s = this.getName(t);
2226
- return s in this.data ? this.replacement(this.data[s], e) : (H.isLocalhost() || await this.add(t), this.replacement(this.data?.[s] ?? t));
2826
+ return s in this.data ? this.replacement(this.data[s], e) : (V.isLocalhost() || await this.add(t), this.replacement(this.data?.[s] ?? t));
2227
2827
  }
2228
2828
  /**
2229
2829
  * Getting the translation text by its code (Sync).
@@ -2249,10 +2849,10 @@ class z {
2249
2849
  return new Promise((e) => {
2250
2850
  const s = {};
2251
2851
  let n = 0;
2252
- for (const a of t) {
2253
- const o = Array.isArray(a) ? a[0] : a, u = Array.isArray(a) ? a.slice(1) : void 0;
2254
- this.get(o, u).then((h) => {
2255
- s[o] = h, ++n >= t.length && e(s);
2852
+ for (const o of t) {
2853
+ const a = Array.isArray(o) ? o[0] : o, u = Array.isArray(o) ? o.slice(1) : void 0;
2854
+ this.get(a, u).then((l) => {
2855
+ s[a] = l, ++n >= t.length && e(s);
2256
2856
  });
2257
2857
  }
2258
2858
  });
@@ -2268,8 +2868,8 @@ class z {
2268
2868
  static getListSync(t, e = !1) {
2269
2869
  const s = {};
2270
2870
  for (const n of t) {
2271
- const a = Array.isArray(n) ? n[0] : n, o = Array.isArray(n) ? n.slice(1) : void 0;
2272
- s[a] = this.getSync(a, e, o);
2871
+ const o = Array.isArray(n) ? n[0] : n, a = Array.isArray(n) ? n.slice(1) : void 0;
2872
+ s[o] = this.getSync(o, e, a);
2273
2873
  }
2274
2874
  return s;
2275
2875
  }
@@ -2296,7 +2896,7 @@ class z {
2296
2896
  */
2297
2897
  static addSync(t) {
2298
2898
  f(t, (e, s) => {
2299
- ot(e) && W(e) && (this.data[this.getName(s)] = e);
2899
+ ht(e) && F(e) && (this.data[this.getName(s)] = e);
2300
2900
  });
2301
2901
  }
2302
2902
  /**
@@ -2306,8 +2906,8 @@ class z {
2306
2906
  * @param data list of texts in the form of key-value/ список текстов в виде ключ-значение
2307
2907
  */
2308
2908
  static async addNormalOrSync(t) {
2309
- if (W(t))
2310
- if (H.isLocalhost())
2909
+ if (F(t))
2910
+ if (V.isLocalhost())
2311
2911
  this.addSync(t);
2312
2912
  else {
2313
2913
  const e = Object.keys(t);
@@ -2321,7 +2921,7 @@ class z {
2321
2921
  * @param url path to the script/ путь к скрипту
2322
2922
  */
2323
2923
  static setUrl(t) {
2324
- return this.url = t, z;
2924
+ return this.url = t, q;
2325
2925
  }
2326
2926
  static setPropsName(t) {
2327
2927
  return this.propsName = t, this;
@@ -2333,7 +2933,7 @@ class z {
2333
2933
  * @param name code name/ название кода
2334
2934
  */
2335
2935
  static getName(t) {
2336
- return `${p.getLocation()}-${t}`;
2936
+ return `${b.getLocation()}-${t}`;
2337
2937
  }
2338
2938
  /**
2339
2939
  * Returns a list of names that are not yet in the list.
@@ -2343,7 +2943,7 @@ class z {
2343
2943
  */
2344
2944
  static getNamesNone(t) {
2345
2945
  const e = [];
2346
- return T(t).forEach((s) => {
2946
+ return R(t).forEach((s) => {
2347
2947
  s !== "__TRANSLATE_START__" && s !== "__TRANSLATE_END__" && !(this.getName(s) in this.data) && e.push(s);
2348
2948
  }), e;
2349
2949
  }
@@ -2353,7 +2953,7 @@ class z {
2353
2953
  * Получение списка переводов с сервера.
2354
2954
  */
2355
2955
  static async getResponse() {
2356
- return await H.get({
2956
+ return await V.get({
2357
2957
  api: !1,
2358
2958
  path: this.url,
2359
2959
  request: {
@@ -2371,7 +2971,7 @@ class z {
2371
2971
  * @param replacement values for replacement/ значения для замены
2372
2972
  */
2373
2973
  static replacement(t, e) {
2374
- return e ? te(t, e) : t;
2974
+ return e ? me(t, e) : t;
2375
2975
  }
2376
2976
  /**
2377
2977
  * Adding translation data from the server.
@@ -2385,10 +2985,10 @@ class z {
2385
2985
  }), this.cache = [];
2386
2986
  }
2387
2987
  }
2388
- function ht(i) {
2988
+ function mt(i) {
2389
2989
  return Array.isArray(i);
2390
2990
  }
2391
- class ee {
2991
+ class ye {
2392
2992
  /**
2393
2993
  * Constructor
2394
2994
  * @param props base data/ базовые данные
@@ -2405,7 +3005,7 @@ class ee {
2405
3005
  * @param name property name/ название свойства
2406
3006
  */
2407
3007
  is(t) {
2408
- return ht(t) ? !!t.find((e) => this.isDifferent(e)) : this.isDifferent(t);
3008
+ return mt(t) ? !!t.find((e) => this.isDifferent(e)) : this.isDifferent(t);
2409
3009
  }
2410
3010
  /**
2411
3011
  * Checks if there are changes in the data.
@@ -2437,7 +3037,7 @@ class ee {
2437
3037
  return this.cache?.[t] !== this.props?.[t];
2438
3038
  }
2439
3039
  }
2440
- class se {
3040
+ class pe {
2441
3041
  /**
2442
3042
  * Constructor
2443
3043
  * @param props base data/ базовые данные
@@ -2446,7 +3046,7 @@ class se {
2446
3046
  * @param changed base data/ данный для слежения
2447
3047
  */
2448
3048
  constructor(t, e, s) {
2449
- this.props = t, this.callback = e, this.changed = new ee(t, s);
3049
+ this.props = t, this.callback = e, this.changed = new ye(t, s);
2450
3050
  }
2451
3051
  event = {};
2452
3052
  changed;
@@ -2496,7 +3096,7 @@ class se {
2496
3096
  this.callback && this.callback(this.event);
2497
3097
  }
2498
3098
  }
2499
- class De extends se {
3099
+ class Ze extends pe {
2500
3100
  /**
2501
3101
  * Calls the callback function.
2502
3102
  *
@@ -2516,31 +3116,31 @@ class De extends se {
2516
3116
  (t || this.changed.isChanged()) && (await this.initEvent(), this.makeCallbackItem(), this.changed.update());
2517
3117
  }
2518
3118
  }
2519
- function ie(i) {
3119
+ function $e(i) {
2520
3120
  return i && "class" in i && typeof i.class == "string" ? i.class : void 0;
2521
3121
  }
2522
- function re(i, t, e) {
2523
- const s = ie(t);
3122
+ function ve(i, t, e) {
3123
+ const s = $e(t);
2524
3124
  return e && s ? `${e}.${s}` : e || s || i;
2525
3125
  }
2526
- function ne(i, t, e, s) {
2527
- const n = re(i, t, s);
2528
- return Rt(i, { key: n, ...t }, e);
3126
+ function be(i, t, e, s) {
3127
+ const n = ve(i, t, s);
3128
+ return _t(i, { key: n, ...t }, e);
2529
3129
  }
2530
- function at(i, t) {
2531
- const e = i?.class, s = t?.class, n = i?.style, a = t?.style, o = {
3130
+ function lt(i, t) {
3131
+ const e = i?.class, s = t?.class, n = i?.style, o = t?.style, a = {
2532
3132
  ...i,
2533
3133
  ...t
2534
3134
  };
2535
- return e && s && (o.class = [], e && o.class.push(e), s && o.class.push(s)), n && a && (o.style = [], n && o.style.push(n), a && o.style.push(a)), o;
3135
+ return e && s && (a.class = [], e && a.class.push(e), s && a.class.push(s)), n && o && (a.style = [], n && a.style.push(n), o && a.style.push(o)), a;
2536
3136
  }
2537
- function ae(...i) {
3137
+ function we(...i) {
2538
3138
  let t = {};
2539
3139
  return i.forEach((e) => {
2540
- e && (t = at(t, e));
3140
+ e && (t = lt(t, e));
2541
3141
  }), t;
2542
3142
  }
2543
- class Lt {
3143
+ class It {
2544
3144
  /**
2545
3145
  * Constructor
2546
3146
  * @param components list of connected components/ список подключенных компонентов
@@ -2581,7 +3181,7 @@ class Lt {
2581
3181
  t in this.caching || (this.caching[t] = c(() => this.computeModification(t)));
2582
3182
  const s = this.caching[t];
2583
3183
  if (s)
2584
- return e ? ae(s.value, e) : s.value;
3184
+ return e ? we(s.value, e) : s.value;
2585
3185
  }
2586
3186
  return e;
2587
3187
  }
@@ -2595,13 +3195,13 @@ class Lt {
2595
3195
  * @param index the name of the key/ названия ключа
2596
3196
  */
2597
3197
  render(t, e, s, n) {
2598
- const a = this.renderOne(
3198
+ const o = this.renderOne(
2599
3199
  t,
2600
3200
  e,
2601
3201
  s,
2602
3202
  n
2603
3203
  );
2604
- return a ? [a] : [];
3204
+ return o ? [o] : [];
2605
3205
  }
2606
3206
  /**
2607
3207
  * Rendering a component by its name.
@@ -2614,12 +3214,12 @@ class Lt {
2614
3214
  */
2615
3215
  renderOne(t, e, s, n) {
2616
3216
  if (this.is(t)) {
2617
- const a = n ?? t;
2618
- return ne(
3217
+ const o = n ?? t;
3218
+ return be(
2619
3219
  this.get(t),
2620
- this.getModification(a, e),
3220
+ this.getModification(o, e),
2621
3221
  s,
2622
- a
3222
+ o
2623
3223
  );
2624
3224
  }
2625
3225
  }
@@ -2634,8 +3234,8 @@ class Lt {
2634
3234
  * @param children sub-elements of the component/ под элементы компонента
2635
3235
  * @param index the name of the key/ названия ключа
2636
3236
  */
2637
- renderAdd(t, e, s, n, a) {
2638
- return t.push(...this.render(e, s, n, a)), this;
3237
+ renderAdd(t, e, s, n, o) {
3238
+ return t.push(...this.render(e, s, n, o)), this;
2639
3239
  }
2640
3240
  /**
2641
3241
  * Calculates modified input data for connected components.
@@ -2644,22 +3244,22 @@ class Lt {
2644
3244
  * @param index the name of this/ название данного
2645
3245
  */
2646
3246
  computeModification(t) {
2647
- const e = g(this.modification?.[t]);
2648
- if (e && L(e)) {
3247
+ const e = m(this.modification?.[t]);
3248
+ if (e && C(e)) {
2649
3249
  const s = {};
2650
- return f(e, (n, a) => {
2651
- s[a] = g(n);
3250
+ return f(e, (n, o) => {
3251
+ s[o] = m(n);
2652
3252
  }), s;
2653
3253
  }
2654
3254
  return {};
2655
3255
  }
2656
3256
  }
2657
- class ke extends Lt {
3257
+ class Ke extends It {
2658
3258
  }
2659
- function Ct(i) {
3259
+ function Nt(i) {
2660
3260
  return i.toString().trim().replace(/[^\w- ]+/g, "").replace(/ +/g, "-").replace(new RegExp("(?<=[A-Z])([A-Z])", "g"), (t) => `${t.toLowerCase()}`).replace(/-+([a-zA-Z0-9])/g, (...t) => `${String(t[1]).toUpperCase()}`).replace(/^([A-Z])/, (t) => `${t.toLowerCase()}`);
2661
3261
  }
2662
- class Me {
3262
+ class Ve {
2663
3263
  /**
2664
3264
  * Constructor
2665
3265
  * @param name class name/ название класса
@@ -2667,10 +3267,10 @@ class Me {
2667
3267
  * @param options list of additional parameters/ список дополнительных параметров
2668
3268
  */
2669
3269
  constructor(t, e, s) {
2670
- this.props = e, this.options = s, this.name = this.initName(t), this.refs = this.props ? Ot(this.props) : {}, this.components = new Lt(s?.components, s?.compMod), this.emits = s?.emits, this.classes = c(() => this.updateClasses()), this.styles = c(() => this.updateStyles()), this.attrs = Wt(), this.slots = Pt();
3270
+ this.props = e, this.options = s, this.name = this.initName(t), this.refs = this.props ? zt(this.props) : {}, this.components = new It(s?.components, s?.compMod), this.emits = s?.emits, this.classes = c(() => this.updateClasses()), this.styles = c(() => this.updateStyles()), this.attrs = Zt(), this.slots = Kt();
2671
3271
  }
2672
3272
  name;
2673
- element = $();
3273
+ element = y();
2674
3274
  refs;
2675
3275
  components;
2676
3276
  emits;
@@ -2707,7 +3307,7 @@ class Me {
2707
3307
  * @param name list of class names by levels/ список названий классов по уровням
2708
3308
  */
2709
3309
  getSubClass(t) {
2710
- return `${this.getName()}__${T(t).join("__")}`;
3310
+ return `${this.getName()}__${R(t).join("__")}`;
2711
3311
  }
2712
3312
  /**
2713
3313
  * Getting the class name for the status.
@@ -2716,7 +3316,7 @@ class Me {
2716
3316
  * @param name list of class names by levels/ список названий классов по уровням
2717
3317
  */
2718
3318
  getStatusClass(t) {
2719
- return `${this.getName()}--${T(t).join("--")}`;
3319
+ return `${this.getName()}--${R(t).join("--")}`;
2720
3320
  }
2721
3321
  /**
2722
3322
  * Getting the property name for the style.
@@ -2725,7 +3325,7 @@ class Me {
2725
3325
  * @param name list of class names by levels/ список названий классов по уровням
2726
3326
  */
2727
3327
  getStyle(t) {
2728
- return `--${this.getName()}-sys-${T(t).join("-")}`;
3328
+ return `--${this.getName()}-sys-${R(t).join("-")}`;
2729
3329
  }
2730
3330
  /**
2731
3331
  * Getting additional parameters.
@@ -2774,7 +3374,7 @@ class Me {
2774
3374
  * @param classes list of classes for transformation/ список классов для преобразования
2775
3375
  */
2776
3376
  toClass(t) {
2777
- return L(t) ? t : Array.isArray(t) ? { [t.filter((s) => typeof s == "string" && s.trim() !== "").join(" ")]: !0 } : typeof t == "string" ? { [t]: !0 } : {};
3377
+ return C(t) ? t : Array.isArray(t) ? { [t.filter((s) => typeof s == "string" && s.trim() !== "").join(" ")]: !0 } : typeof t == "string" ? { [t]: !0 } : {};
2778
3378
  }
2779
3379
  /**
2780
3380
  * Converts the class name to standard for the current component.
@@ -2783,7 +3383,7 @@ class Me {
2783
3383
  * @param classes list of classes/ список классов
2784
3384
  */
2785
3385
  toClassName(t) {
2786
- if (m(t)) {
3386
+ if (p(t)) {
2787
3387
  const e = {};
2788
3388
  return f(t, (s, n) => {
2789
3389
  n.match(/\?\?/) ? e[n.replace(/\?\?/, this.getName())] = s : n.match(/\?/) ? e[n.replace(/\?/, this.getDesign())] = s : e[n] = s;
@@ -2798,7 +3398,7 @@ class Me {
2798
3398
  * @param name component name for transformation/ название компонента для преобразования
2799
3399
  */
2800
3400
  initName(t) {
2801
- return f(t.split(".", 2), (e) => Ct(e));
3401
+ return f(t.split(".", 2), (e) => Nt(e));
2802
3402
  }
2803
3403
  /**
2804
3404
  * Updating data about the class.
@@ -2832,10 +3432,10 @@ class Me {
2832
3432
  } : e ?? {};
2833
3433
  }
2834
3434
  }
2835
- function S(i) {
2836
- return ct(i) ? i : $(i);
3435
+ function L(i) {
3436
+ return dt(i) ? i : y(i);
2837
3437
  }
2838
- class Ae {
3438
+ class Ye {
2839
3439
  item;
2840
3440
  type;
2841
3441
  code;
@@ -2853,14 +3453,14 @@ class Ae {
2853
3453
  * @param type type of date format for output. тип формата даты вывода
2854
3454
  * @param code country and language code. код страны и языка
2855
3455
  */
2856
- constructor(t, e = "date", s = p.getLocation()) {
2857
- this.item = S(t), this.type = S(e), this.code = S(s), this.date = $(w(this.item.value)), this.datetime = new ut(
3456
+ constructor(t, e = "date", s = b.getLocation()) {
3457
+ this.item = L(t), this.type = L(e), this.code = L(s), this.date = y(D(this.item.value)), this.datetime = new gt(
2858
3458
  this.date.value,
2859
3459
  this.type.value,
2860
3460
  this.code.value
2861
- ), y(this.item, (n) => {
2862
- this.date.value = w(n);
2863
- }), y(this.type, (n) => this.datetime.setType(n)), y(this.code, (n) => this.datetime.setCode(n)), y(this.date, (n) => this.datetime.setDate(n)), this.datetime.setWatch(() => jt(this.date));
3461
+ ), g(this.item, (n) => {
3462
+ this.date.value = D(n);
3463
+ }), g(this.type, (n) => this.datetime.setType(n)), g(this.code, (n) => this.datetime.setCode(n)), g(this.date, (n) => this.datetime.setDate(n)), this.datetime.setWatch(() => Vt(this.date));
2864
3464
  }
2865
3465
  /**
2866
3466
  * Returns the basic data for the date.
@@ -2980,7 +3580,7 @@ class Ae {
2980
3580
  return c(() => this.date.value && this.datetime.standard(t));
2981
3581
  }
2982
3582
  }
2983
- class Ne extends xt {
3583
+ class qe extends Ut {
2984
3584
  /**
2985
3585
  * Classes Constructor
2986
3586
  * @param elementSelector element/ элемент
@@ -2993,26 +3593,26 @@ class Ne extends xt {
2993
3593
  * @param detail an event-dependent value associated with the event/ зависимое от события
2994
3594
  * значение, связанное с событием
2995
3595
  */
2996
- constructor(t, e, s = ["click"], n, a, o) {
2997
- const u = S(t), h = S(e);
3596
+ constructor(t, e, s = ["click"], n, o, a) {
3597
+ const u = L(t), l = L(e);
2998
3598
  super(
2999
3599
  u.value,
3000
3600
  s,
3001
3601
  n,
3002
- a,
3003
- o
3004
- ), h.value && this.setElementControl(h.value), y(u, (l) => this.setElement(l)), y(h, (l) => this.setElementControl(l));
3602
+ o,
3603
+ a
3604
+ ), l.value && this.setElementControl(l.value), g(u, (h) => this.setElement(h)), g(l, (h) => this.setElementControl(h));
3005
3605
  }
3006
3606
  }
3007
- class Ie {
3607
+ class Je {
3008
3608
  code;
3009
3609
  flag;
3010
3610
  /**
3011
3611
  * Constructor
3012
3612
  * @param code country and language code/ код страны и языка
3013
3613
  */
3014
- constructor(t = p.getLocation()) {
3015
- this.code = S(t), this.flag = new x(this.code.value), y(this.code, (e) => this.flag.setCode(e));
3614
+ constructor(t = b.getLocation()) {
3615
+ this.code = L(t), this.flag = new U(this.code.value), g(this.code, (e) => this.flag.setCode(e));
3016
3616
  }
3017
3617
  /**
3018
3618
  * Obtaining a reactive object with the country code.
@@ -3059,8 +3659,8 @@ class Ie {
3059
3659
  return c(() => this.flag.getNational(t));
3060
3660
  }
3061
3661
  }
3062
- class Dt {
3063
- static item = P(p.get());
3662
+ class At {
3663
+ static item = Z(b.get());
3064
3664
  static country = c(() => this.item.value.country);
3065
3665
  static language = c(() => this.item.value.language);
3066
3666
  static standard = c(() => this.item.value.standard);
@@ -3113,10 +3713,10 @@ class Dt {
3113
3713
  * код страны, полный вид язык-страна или один из них
3114
3714
  */
3115
3715
  static set(t) {
3116
- p.set(t, !0), this.item.value = p.getItem();
3716
+ b.set(t, !0), this.item.value = b.getItem();
3117
3717
  }
3118
3718
  }
3119
- class oe {
3719
+ class Se {
3120
3720
  location;
3121
3721
  intl;
3122
3722
  /**
@@ -3125,7 +3725,7 @@ class oe {
3125
3725
  * код страны, полный вид язык-страна или один из них
3126
3726
  */
3127
3727
  constructor(t) {
3128
- this.location = S(t), this.intl = c(() => new I(this.location.value ?? Dt.getLanguage().value));
3728
+ this.location = L(t), this.intl = c(() => new W(this.location.value ?? At.getLanguage().value));
3129
3729
  }
3130
3730
  /**
3131
3731
  * The consistent translation of language, region and script display names.
@@ -3136,7 +3736,7 @@ class oe {
3136
3736
  * объект с некоторыми или всеми из следующих свойств
3137
3737
  */
3138
3738
  display(t, e) {
3139
- return c(() => this.intl.value.display(g(t), e));
3739
+ return c(() => this.intl.value.display(m(t), e));
3140
3740
  }
3141
3741
  /**
3142
3742
  * Get display names of language.
@@ -3146,7 +3746,7 @@ class oe {
3146
3746
  * @param style the formatting style to use/ используемый стиль форматирования
3147
3747
  */
3148
3748
  languageName(t, e) {
3149
- return c(() => this.intl.value.languageName(g(t), e));
3749
+ return c(() => this.intl.value.languageName(m(t), e));
3150
3750
  }
3151
3751
  /**
3152
3752
  * Get display names of region.
@@ -3156,7 +3756,7 @@ class oe {
3156
3756
  * @param style the formatting style to use/ используемый стиль форматирования
3157
3757
  */
3158
3758
  countryName(t, e) {
3159
- return c(() => this.intl.value.countryName(g(t), e));
3759
+ return c(() => this.intl.value.countryName(m(t), e));
3160
3760
  }
3161
3761
  /**
3162
3762
  * In basic use without specifying a locale, a formatted string.
@@ -3168,7 +3768,7 @@ class oe {
3168
3768
  * или всеми свойствами
3169
3769
  */
3170
3770
  number(t, e) {
3171
- return c(() => this.intl.value.number(g(t), e));
3771
+ return c(() => this.intl.value.number(m(t), e));
3172
3772
  }
3173
3773
  /**
3174
3774
  * Decimal point symbol.
@@ -3190,8 +3790,8 @@ class oe {
3190
3790
  currency(t, e, s = !1) {
3191
3791
  return c(
3192
3792
  () => this.intl.value.currency(
3193
- g(t),
3194
- g(e),
3793
+ m(t),
3794
+ m(e),
3195
3795
  s
3196
3796
  )
3197
3797
  );
@@ -3206,7 +3806,7 @@ class oe {
3206
3806
  * в форматировании блока
3207
3807
  */
3208
3808
  unit(t, e) {
3209
- return c(() => this.intl.value.unit(g(t), e));
3809
+ return c(() => this.intl.value.unit(m(t), e));
3210
3810
  }
3211
3811
  /**
3212
3812
  * Number as a percentage.
@@ -3216,7 +3816,7 @@ class oe {
3216
3816
  * @param options an object with some or all properties/ объект с некоторыми или всеми свойствами
3217
3817
  */
3218
3818
  percent(t, e) {
3219
- return c(() => this.intl.value.percent(g(t), e));
3819
+ return c(() => this.intl.value.percent(m(t), e));
3220
3820
  }
3221
3821
  /**
3222
3822
  * Number as a percentage (unit).
@@ -3227,7 +3827,7 @@ class oe {
3227
3827
  * объект с некоторыми или всеми свойствами
3228
3828
  */
3229
3829
  percentBy100(t, e) {
3230
- return c(() => this.intl.value.percentBy100(g(t), e));
3830
+ return c(() => this.intl.value.percentBy100(m(t), e));
3231
3831
  }
3232
3832
  /**
3233
3833
  * Enables language-sensitive date and time formatting.
@@ -3239,7 +3839,7 @@ class oe {
3239
3839
  * @param hour24 whether to use 12-hour time/ использовать ли 12-часовое время
3240
3840
  */
3241
3841
  date(t, e, s, n) {
3242
- return c(() => this.intl.value.date(g(t), e, s, n));
3842
+ return c(() => this.intl.value.date(m(t), e, s, n));
3243
3843
  }
3244
3844
  /**
3245
3845
  * Enables language-sensitive relative time formatting.
@@ -3251,7 +3851,7 @@ class oe {
3251
3851
  * @param todayValue current day/ текущий день
3252
3852
  */
3253
3853
  relative(t, e, s) {
3254
- return c(() => this.intl.value.relative(g(t), e, s));
3854
+ return c(() => this.intl.value.relative(m(t), e, s));
3255
3855
  }
3256
3856
  /**
3257
3857
  * Enables language-sensitive relative time formatting
@@ -3271,14 +3871,14 @@ class oe {
3271
3871
  * @param type type of data format/ тип формата data
3272
3872
  * @param hour24 whether to use 12-hour time/ использовать ли 12-часовое время
3273
3873
  */
3274
- relativeLimit(t, e, s, n, a, o, u) {
3874
+ relativeLimit(t, e, s, n, o, a, u) {
3275
3875
  return c(() => this.intl.value.relativeLimit(
3276
- g(t),
3876
+ m(t),
3277
3877
  e,
3278
3878
  s,
3279
3879
  n,
3280
- a,
3281
3880
  o,
3881
+ a,
3282
3882
  u
3283
3883
  ));
3284
3884
  }
@@ -3290,7 +3890,7 @@ class oe {
3290
3890
  * @param style the representation of the month/ представление месяца
3291
3891
  */
3292
3892
  month(t, e) {
3293
- return c(() => this.intl.value.month(g(t), e));
3893
+ return c(() => this.intl.value.month(m(t), e));
3294
3894
  }
3295
3895
  /**
3296
3896
  * Array to list of months.
@@ -3309,7 +3909,7 @@ class oe {
3309
3909
  * @param style the representation of the weekday/ представление о дне недели
3310
3910
  */
3311
3911
  weekday(t, e) {
3312
- return c(() => this.intl.value.weekday(g(t), e));
3912
+ return c(() => this.intl.value.weekday(m(t), e));
3313
3913
  }
3314
3914
  /**
3315
3915
  * An array of the list of names of the days of the week.
@@ -3327,14 +3927,14 @@ class oe {
3327
3927
  * @param value the date to format/ дата для форматирования
3328
3928
  */
3329
3929
  time(t) {
3330
- return c(() => this.intl.value.time(g(t)));
3930
+ return c(() => this.intl.value.time(m(t)));
3331
3931
  }
3332
3932
  }
3333
- function kt(i, t = "ig", e = ":value") {
3933
+ function xt(i, t = "ig", e = ":value") {
3334
3934
  const s = i.replace(/([[\]\\^$.?*+()/])/g, "\\$1");
3335
3935
  return new RegExp(e.replace(/:value/g, s), t);
3336
3936
  }
3337
- class Mt {
3937
+ class Bt {
3338
3938
  /**
3339
3939
  * Creates an instance of ListData for managing list data.
3340
3940
  *
@@ -3349,8 +3949,8 @@ class Mt {
3349
3949
  * @param lite Threshold for lite mode / порог для облегченного режима
3350
3950
  * @param parent Parent identifier / идентификатор родителя
3351
3951
  */
3352
- constructor(t, e, s, n, a, o, u, h, l) {
3353
- this.list = t, this.focus = e, this.highlight = s, this.highlightLengthStart = n, this.selected = a, this.keyValue = o, this.keyLabel = u, this.lite = h, this.parent = l, ct(t) && y(t, () => {
3952
+ constructor(t, e, s, n, o, a, u, l, h) {
3953
+ this.list = t, this.focus = e, this.highlight = s, this.highlightLengthStart = n, this.selected = o, this.keyValue = a, this.keyLabel = u, this.lite = l, this.parent = h, dt(t) && g(t, () => {
3354
3954
  this.subList = {};
3355
3955
  });
3356
3956
  }
@@ -3362,7 +3962,7 @@ class Mt {
3362
3962
  */
3363
3963
  data = c(
3364
3964
  () => f(
3365
- g(this.list) || [],
3965
+ m(this.list) || [],
3366
3966
  (t, e) => this.initItem(e, t)
3367
3967
  )
3368
3968
  );
@@ -3402,7 +4002,7 @@ class Mt {
3402
4002
  ...n,
3403
4003
  focus: t === n.index,
3404
4004
  highlight: e,
3405
- selected: F(n.index, s)
4005
+ selected: j(n.index, s)
3406
4006
  })
3407
4007
  );
3408
4008
  });
@@ -3444,7 +4044,7 @@ class Mt {
3444
4044
  * Находит первый элемент, соответствующий условиям поиска.
3445
4045
  */
3446
4046
  highlightFirstItem = c(() => {
3447
- const t = this.getHighlight(), e = t && t.length >= this.getHighlightLengthStart() && kt(t, "i");
4047
+ const t = this.getHighlight(), e = t && t.length >= this.getHighlightLengthStart() && xt(t, "i");
3448
4048
  return e ? this.map.value.findIndex(
3449
4049
  (s) => s.label?.toString().match(e) || s.index?.toString().match(e) || s.search?.toString().match(e)
3450
4050
  ) : -1;
@@ -3456,7 +4056,7 @@ class Mt {
3456
4056
  */
3457
4057
  isSelected = c(() => {
3458
4058
  const t = this.getSelected();
3459
- return !!t && this.mapItems.value.findIndex((e) => F(e.index, t)) !== -1;
4059
+ return !!t && this.mapItems.value.findIndex((e) => j(e.index, t)) !== -1;
3460
4060
  });
3461
4061
  /**
3462
4062
  * Returns a list of selected items on the map.
@@ -3465,20 +4065,20 @@ class Mt {
3465
4065
  */
3466
4066
  selectedList = c(() => {
3467
4067
  const t = this.getSelected();
3468
- return t && this.isSelected.value ? this.mapItems.value.filter((e) => F(e.index, t)) : [];
4068
+ return t && this.isSelected.value ? this.mapItems.value.filter((e) => j(e.index, t)) : [];
3469
4069
  });
3470
4070
  /**
3471
4071
  * Returns a list of selected items on the map.
3472
4072
  *
3473
4073
  * Возвращает список выделенных элементов на карте.
3474
4074
  */
3475
- selectedNames = c(() => nt(this.selectedList.value, "label"));
4075
+ selectedNames = c(() => ct(this.selectedList.value, "label"));
3476
4076
  /**
3477
4077
  * Returns a list of selected item values on the map.
3478
4078
  *
3479
4079
  * Возвращает список значений выделенных элементов на карте.
3480
4080
  */
3481
- selectedValues = c(() => nt(this.selectedList.value, "value"));
4081
+ selectedValues = c(() => ct(this.selectedList.value, "value"));
3482
4082
  /**
3483
4083
  * Checks whether it is necessary to first display a simplified version.
3484
4084
  *
@@ -3608,7 +4208,7 @@ class Mt {
3608
4208
  * @param item List item data/ данные элемента списка
3609
4209
  */
3610
4210
  getSubList(t) {
3611
- return t.index in this.subList || (this.subList[t.index] = new Mt(
4211
+ return t.index in this.subList || (this.subList[t.index] = new Bt(
3612
4212
  t.value,
3613
4213
  this.focus,
3614
4214
  this.highlight,
@@ -3649,7 +4249,7 @@ class Mt {
3649
4249
  * @param label item label / метка элемента
3650
4250
  */
3651
4251
  getIndex(t, e, s, n) {
3652
- return t && !m(t) ? t : e && !m(e) ? e : s && n;
4252
+ return t && !p(t) ? t : e && !p(e) ? e : s && n;
3653
4253
  }
3654
4254
  /**
3655
4255
  * Creates an object of the record element.
@@ -3659,8 +4259,8 @@ class Mt {
3659
4259
  * @param item selected element/ выбранный элемент
3660
4260
  */
3661
4261
  initItem(t, e) {
3662
- if (L(e)) {
3663
- const s = e?.[this.keyValue?.value ?? "value"], n = e?.[this.keyLabel?.value ?? "label"] ?? s, a = this.getIndex(
4262
+ if (C(e)) {
4263
+ const s = e?.[this.keyValue?.value ?? "value"], n = e?.[this.keyLabel?.value ?? "label"] ?? s, o = this.getIndex(
3664
4264
  e?.index,
3665
4265
  s,
3666
4266
  t,
@@ -3669,7 +4269,7 @@ class Mt {
3669
4269
  return {
3670
4270
  ...e,
3671
4271
  parent: this.parent,
3672
- index: a,
4272
+ index: o,
3673
4273
  type: e?.type ?? "item",
3674
4274
  label: n,
3675
4275
  value: s
@@ -3684,7 +4284,7 @@ class Mt {
3684
4284
  };
3685
4285
  }
3686
4286
  }
3687
- class Be {
4287
+ class Qe {
3688
4288
  static router;
3689
4289
  /**
3690
4290
  * Get router instance.
@@ -3722,18 +4322,18 @@ class Be {
3722
4322
  this.router || this.set(t);
3723
4323
  }
3724
4324
  }
3725
- class Te {
4325
+ class Xe {
3726
4326
  /**
3727
4327
  * Reactive item.
3728
4328
  *
3729
4329
  * Реактивный элемент.
3730
4330
  */
3731
- item = $();
4331
+ item = y();
3732
4332
  /**
3733
4333
  * Constructor
3734
4334
  */
3735
4335
  constructor() {
3736
- St.is().then((t) => {
4336
+ Ct.is().then((t) => {
3737
4337
  this.item.value = t;
3738
4338
  });
3739
4339
  }
@@ -3744,97 +4344,99 @@ class Te {
3744
4344
  */
3745
4345
  is = c(() => this.item.value !== void 0);
3746
4346
  }
3747
- const ce = (i) => typeof i == "string" ? { method: i } : i || {};
3748
- let U;
3749
- function Fe(i, t, e = !0, s, n, a) {
3750
- const o = $(), u = S(ce(t)), h = $(!1), l = $(!1);
3751
- let C = !0, D = 0;
3752
- const V = async () => {
3753
- if (C)
4347
+ const ke = (i) => typeof i == "string" ? { method: i } : i || {};
4348
+ let J;
4349
+ function Me(i, t, e = !0, s, n, o) {
4350
+ const a = y(), u = L(ke(t)), l = y(!1), h = y(!1);
4351
+ let I = !0, N = 0;
4352
+ const O = async () => {
4353
+ if (I)
3754
4354
  return;
3755
- const v = g(i);
3756
- if ((!s || s.value) && v) {
3757
- h.value = !0, l.value = !0;
3758
- let q = {};
3759
- const gt = await H.request({
3760
- path: v,
4355
+ const S = m(i);
4356
+ if ((!s || s.value) && S) {
4357
+ l.value = !0, h.value = !0;
4358
+ let T = {};
4359
+ const pt = await V.request({
4360
+ path: S,
3761
4361
  ...u.value
3762
4362
  });
3763
- gt && (q = gt), n ? o.value = n(q) : o.value = q, h.value = !1;
3764
- } else o.value !== void 0 && (o.value = void 0);
3765
- }, It = () => {
3766
- const v = [];
3767
- e && v.push(u), ct(i) && v.push(i), s && v.push(s), U && v.push(U), v.length > 0 && y(v, async () => {
3768
- h.value || await V();
4363
+ pt && (T = pt), n ? a.value = n(T) : a.value = T, l.value = !1;
4364
+ } else a.value !== void 0 && (a.value = void 0);
4365
+ }, Rt = () => {
4366
+ const S = [];
4367
+ e && S.push(u), dt(i) && S.push(i), s && S.push(s), J && S.push(J), S.length > 0 && g(S, async () => {
4368
+ l.value || await O();
3769
4369
  });
3770
4370
  };
3771
4371
  return {
3772
4372
  get data() {
3773
- return C && (C = !1, V().then()), It(), a && (D++, it(() => {
3774
- D--, D < 1 && (console.warn("useApiRef: unmounted"), o.value = void 0, C = !0, D = 0);
3775
- })), o;
4373
+ return I && (I = !1, O().then()), Rt(), o && (N++, ot(() => {
4374
+ N--, N < 1 && (console.warn("useApiRef: unmounted"), a.value = void 0, I = !0, N = 0);
4375
+ })), a;
3776
4376
  },
3777
4377
  get isStarting() {
3778
- return c(() => o.value === void 0);
4378
+ return c(() => a.value === void 0);
3779
4379
  },
3780
- loading: h,
3781
- get reading() {
4380
+ get loading() {
3782
4381
  return c(() => l.value);
3783
4382
  },
3784
- reset: V
4383
+ get reading() {
4384
+ return c(() => h.value);
4385
+ },
4386
+ reset: O
3785
4387
  };
3786
4388
  }
3787
- const Ee = (i) => {
3788
- U || (U = i);
4389
+ const Oe = (i) => {
4390
+ J || (J = i);
3789
4391
  };
3790
- function ue(i, t) {
4392
+ function De(i, t) {
3791
4393
  const e = `broadcast--${i}`;
3792
- if (e in X)
3793
- return X[e];
3794
- const s = $(A(t)), n = new Zt(
4394
+ if (e in it)
4395
+ return it[e];
4396
+ const s = y(B(t)), n = new Xt(
3795
4397
  e,
3796
- (a) => {
3797
- s.value !== a.data.message && (s.value = a.data.message);
4398
+ (o) => {
4399
+ s.value !== o.data.message && (s.value = o.data.message);
3798
4400
  }
3799
4401
  );
3800
- return y(s, (a) => n.post({ message: a })), X[e] = s, s;
4402
+ return g(s, (o) => n.post({ message: o })), it[e] = s, s;
3801
4403
  }
3802
- const X = {};
3803
- function xe(i, t, e) {
3804
- if (i in tt)
3805
- return tt[i];
3806
- const s = new rt(i), n = ue(
4404
+ const it = {};
4405
+ function Te(i, t, e) {
4406
+ if (i in st)
4407
+ return st[i];
4408
+ const s = new at(i), n = De(
3807
4409
  `__cookie:${i}`,
3808
4410
  s.get(t, e)
3809
4411
  );
3810
- return y(n, (a) => {
3811
- s.set(a, e);
3812
- }), tt[i] = n, n;
4412
+ return g(n, (o) => {
4413
+ s.set(o, e);
4414
+ }), st[i] = n, n;
3813
4415
  }
3814
- const tt = {};
3815
- function Re() {
3816
- return new oe();
4416
+ const st = {};
4417
+ function Ge() {
4418
+ return new Se();
3817
4419
  }
3818
- function Oe(i, t) {
3819
- if (i in et)
3820
- return et[i];
3821
- const e = P(R.get(i, t));
3822
- return y(e, (s) => R.set(i, s)), R.addWatch(i, (s) => {
4420
+ function ti(i, t) {
4421
+ if (i in rt)
4422
+ return rt[i];
4423
+ const e = Z(_.get(i, t));
4424
+ return g(e, (s) => _.set(i, s)), _.addWatch(i, (s) => {
3823
4425
  e.value = s;
3824
- }), et[i] = e, e;
4426
+ }), rt[i] = e, e;
3825
4427
  }
3826
- const et = {};
3827
- let $t = O(1e5, 9e5);
3828
- function G(i, t) {
3829
- const e = K(i);
3830
- return e ? (W(e.id) || e.setAttribute("id", `id-${$t++}`), t ? `#${e.id}${t}`.trim() : e.id) : `id-${$t++}`;
4428
+ const rt = {};
4429
+ let St = z(1e5, 9e5);
4430
+ function Y(i, t) {
4431
+ const e = M(i);
4432
+ return e ? (F(e.id) || e.setAttribute("id", `id-${St++}`), t ? `#${e.id}${t}`.trim() : e.id) : `id-${St++}`;
3831
4433
  }
3832
- const We = () => {
4434
+ const ei = () => {
3833
4435
  const i = {}, t = "IntersectionObserver" in window ? new IntersectionObserver(
3834
4436
  (s) => {
3835
4437
  s.forEach((n) => {
3836
- const a = G(n.target);
3837
- a in i && (i[a].status.value = n.isIntersecting);
4438
+ const o = Y(n.target);
4439
+ o in i && (i[o].status.value = n.isIntersecting);
3838
4440
  });
3839
4441
  },
3840
4442
  {
@@ -3842,7 +4444,7 @@ const We = () => {
3842
4444
  }
3843
4445
  ) : void 0, e = (s) => {
3844
4446
  if (s) {
3845
- const n = G(s);
4447
+ const n = Y(s);
3846
4448
  n in i && (t?.unobserve(s), i[n]?.stopWatch(), delete i[n]);
3847
4449
  }
3848
4450
  };
@@ -3855,14 +4457,14 @@ const We = () => {
3855
4457
  * @param element element for tracking/ элемента для отслеживания
3856
4458
  */
3857
4459
  addLazyItem(s) {
3858
- const n = P(!t);
4460
+ const n = Z(!t);
3859
4461
  if (t) {
3860
- const a = y(s, (o, u) => {
4462
+ const o = g(s, (a, u) => {
3861
4463
  if (u && t.unobserve(u), s.value) {
3862
- const h = G(s.value);
3863
- i[h] = {
4464
+ const l = Y(s.value);
4465
+ i[l] = {
3864
4466
  status: n,
3865
- stopWatch: a
4467
+ stopWatch: o
3866
4468
  }, t.observe(s.value);
3867
4469
  } else
3868
4470
  e(s.value);
@@ -3884,24 +4486,79 @@ const We = () => {
3884
4486
  disconnectLazy: () => t?.disconnect()
3885
4487
  };
3886
4488
  };
3887
- function Pe() {
3888
- const i = P(ft.is());
3889
- return ft.registrationEvent(({ detail: t }) => {
4489
+ function ii() {
4490
+ const i = Z($t.is());
4491
+ return $t.registrationEvent(({ detail: t }) => {
3890
4492
  i.value = t.loading;
3891
4493
  }), i;
3892
4494
  }
3893
- function je(i, t) {
3894
- if (i in st)
3895
- return st[i];
3896
- const e = new Y(i, !0), s = $(e.get(t));
3897
- return y(s, (n) => e.set(n)), st[i] = s, s;
4495
+ const Ft = [], Le = z(1e5, 999999);
4496
+ function Ce(i, t = !0, e = !1, s = !0) {
4497
+ let n;
4498
+ const o = `__execute_use${Le}::${Y()}`, a = (...u) => {
4499
+ if (!e && s) {
4500
+ const l = Yt(o, void 0);
4501
+ if (l)
4502
+ return l;
4503
+ {
4504
+ let h = Object.freeze(i(...u));
4505
+ return qt(o, h), t && ot(() => {
4506
+ h = void 0;
4507
+ }), h;
4508
+ }
4509
+ } else n || (n = Object.freeze(i(...u)), t && ot(() => {
4510
+ n = void 0;
4511
+ }));
4512
+ return n;
4513
+ };
4514
+ return e && Ft.push(a), a;
3898
4515
  }
3899
- const st = {};
3900
- function he(i) {
3901
- const t = P(z.getListSync(i, !0)), e = async () => {
3902
- t.value = { ...await z.getList(i) };
4516
+ function si() {
4517
+ Ft.forEach((i) => i());
4518
+ }
4519
+ const Ie = Ce(() => {
4520
+ const i = new ge(), t = y(i.getTitle()), e = y(i.getKeywords()), s = y(i.getDescription()), n = y(i.getImage()), o = y(i.getCanonical()), a = y(i.getRobots()), u = y(i.getAuthor()), l = y(i.getSiteName()), h = () => i.html();
4521
+ return g(t, () => {
4522
+ i.setTitle(t.value);
4523
+ }), g(e, () => {
4524
+ i.setKeywords(e.value);
4525
+ }), g(s, () => {
4526
+ i.setDescription(s.value);
4527
+ }), g(n, () => {
4528
+ i.setImage(n.value);
4529
+ }), g(o, () => {
4530
+ i.setCanonical(o.value);
4531
+ }), g(a, () => {
4532
+ i.setRobots(a.value);
4533
+ }), g(u, () => {
4534
+ i.setAuthor(u.value);
4535
+ }), g(l, () => {
4536
+ i.setSiteName(l.value);
4537
+ }), {
4538
+ meta: i,
4539
+ title: t,
4540
+ keyword: e,
4541
+ description: s,
4542
+ author: u,
4543
+ image: n,
4544
+ canonical: o,
4545
+ robots: a,
4546
+ siteName: l,
4547
+ getHtmlMeta: h
3903
4548
  };
3904
- y(Dt.getLanguage(), e);
4549
+ }, !1, !0), ri = () => Ie();
4550
+ function ni(i, t) {
4551
+ if (i in nt)
4552
+ return nt[i];
4553
+ const e = new X(i, !0), s = y(e.get(t));
4554
+ return g(s, (n) => e.set(n)), nt[i] = s, s;
4555
+ }
4556
+ const nt = {};
4557
+ function Ne(i) {
4558
+ const t = Z(q.getListSync(i, !0)), e = async () => {
4559
+ t.value = { ...await q.getList(i) };
4560
+ };
4561
+ g(At.getLanguage(), e);
3905
4562
  for (const s in t.value)
3906
4563
  if (t.value[s] === s || t.value[s] === " ") {
3907
4564
  e().then();
@@ -3909,155 +4566,131 @@ function he(i) {
3909
4566
  }
3910
4567
  return t;
3911
4568
  }
3912
- const He = (i) => he(i);
3913
- function Ge(i) {
3914
- return ot(i) ? i.trim() : ht(i) && i.findIndex((t) => m(t)) === -1 ? i.join(",") : m(i) ? JSON.stringify(i) : i === !0 ? "1" : i === !1 ? "0" : i?.toString() ?? "";
4569
+ const oi = (i) => Ne(i);
4570
+ function ai(i) {
4571
+ return ht(i) ? i.trim() : mt(i) && i.findIndex((t) => p(t)) === -1 ? i.join(",") : p(i) ? JSON.stringify(i) : i === !0 ? "1" : i === !1 ? "0" : i?.toString() ?? "";
3915
4572
  }
3916
- function le(i, t) {
4573
+ function Ae(i, t) {
3917
4574
  return Array(t).fill(i);
3918
4575
  }
3919
- function ze(i) {
4576
+ function ci(i) {
3920
4577
  if (d())
3921
4578
  return document.querySelector(i) ?? void 0;
3922
4579
  }
3923
- function Ue(i) {
4580
+ function ui(i) {
3924
4581
  if (d())
3925
4582
  return document.querySelectorAll(i);
3926
4583
  }
3927
- function Ze(i) {
4584
+ function li(i) {
3928
4585
  i.preventDefault(), i.stopPropagation();
3929
4586
  }
3930
- const At = [], ge = O(1e5, 999999);
3931
- function Ye(i, t = !0, e = !1, s = !0) {
3932
- let n;
3933
- const a = `__execute_use${ge}::${G()}`, o = (...u) => {
3934
- if (!e && s) {
3935
- const h = Ht(a, void 0);
3936
- if (h)
3937
- return h;
3938
- {
3939
- let l = Object.freeze(i(...u));
3940
- return Gt(a, l), t && it(() => {
3941
- l = void 0;
3942
- }), l;
3943
- }
3944
- } else n || (n = Object.freeze(i(...u)), t && it(() => {
3945
- n = void 0;
3946
- }));
3947
- return n;
3948
- };
3949
- return e && At.push(o), o;
3950
- }
3951
- function Ke() {
3952
- At.forEach((i) => i());
3953
- }
3954
- function fe(i, t, e) {
4587
+ function xe(i, t, e) {
3955
4588
  const s = () => {
3956
- i(), t?.() ? fe(i, t, e) : e?.();
4589
+ i(), t?.() ? xe(i, t, e) : e?.();
3957
4590
  };
3958
4591
  d() ? requestAnimationFrame(s) : s();
3959
4592
  }
3960
- function Ve(i) {
3961
- const t = {}, e = K(i);
4593
+ function hi(i) {
4594
+ const t = {}, e = M(i);
3962
4595
  if (e)
3963
4596
  for (const s of e.attributes)
3964
4597
  t[s.name] = (s?.value || s?.textContent) ?? void 0;
3965
4598
  return t;
3966
4599
  }
3967
- async function qe(i) {
4600
+ async function di(i) {
3968
4601
  return i?.clipboardData?.getData("text") ?? (await navigator.clipboard.readText() || "");
3969
4602
  }
3970
- function de(i, t) {
4603
+ function Be(i, t) {
3971
4604
  const e = t.split(".", 2), s = e[0];
3972
- return s && i?.[s] && L(i[s]) && e?.[1] ? de(i[s], e[1]) : (s && i?.[s]) ?? "";
4605
+ return s && i?.[s] && C(i[s]) && e?.[1] ? Be(i[s], e[1]) : (s && i?.[s]) ?? "";
3973
4606
  }
3974
- function _e(i) {
4607
+ function gi(i) {
3975
4608
  return i?.key ?? i?.code ?? i?.keyCode?.toString();
3976
4609
  }
3977
- function Nt(i) {
4610
+ function Et(i) {
3978
4611
  return f(i, (t) => t.length);
3979
4612
  }
3980
- function Je(i) {
3981
- return Math.max(...Nt(i));
4613
+ function fi(i) {
4614
+ return Math.max(...Et(i));
3982
4615
  }
3983
- function Qe(i) {
3984
- return Math.min(...Nt(i));
4616
+ function mi(i) {
4617
+ return Math.min(...Et(i));
3985
4618
  }
3986
- function me(i) {
4619
+ function Fe(i) {
3987
4620
  return i?.clientX || i?.targetTouches?.[0]?.clientX || i?.touches?.[0]?.clientX || 0;
3988
4621
  }
3989
- function ye(i) {
4622
+ function Ee(i) {
3990
4623
  return i?.clientY || i?.targetTouches?.[0]?.clientY || i?.touches?.[0]?.clientY || 0;
3991
4624
  }
3992
- function Xe(i) {
4625
+ function yi(i) {
3993
4626
  return {
3994
- x: me(i),
3995
- y: ye(i)
4627
+ x: Fe(i),
4628
+ y: Ee(i)
3996
4629
  };
3997
4630
  }
3998
- function ts(i, t) {
4631
+ function pi(i, t) {
3999
4632
  const e = {};
4000
4633
  return t.forEach((s) => {
4001
4634
  s in i && i[s] !== void 0 && (e[s] = i[s]);
4002
4635
  }), e;
4003
4636
  }
4004
- function es(i, t = void 0) {
4637
+ function $i(i, t = void 0) {
4005
4638
  const e = {};
4006
4639
  return f(i, (s, n) => {
4007
4640
  s !== t && (e[n] = s);
4008
4641
  }), e;
4009
4642
  }
4010
- function ss(i) {
4011
- return L(i) ? i : {};
4643
+ function vi(i) {
4644
+ return C(i) ? i : {};
4012
4645
  }
4013
- function pe(i, t) {
4014
- return le(i, t).join("");
4646
+ function Re(i, t) {
4647
+ return Ae(i, t).join("");
4015
4648
  }
4016
- function is(i, t, e = "#", s = 2, n = 12) {
4017
- const a = O(i, t), o = [];
4018
- for (let u = 0; u < a; u++)
4019
- o.push(pe(e, O(s, n)));
4020
- return o.join(" ");
4649
+ function bi(i, t, e = "#", s = 2, n = 12) {
4650
+ const o = z(i, t), a = [];
4651
+ for (let u = 0; u < o; u++)
4652
+ a.push(Re(e, z(s, n)));
4653
+ return a.join(" ");
4021
4654
  }
4022
- function rs(i, t) {
4655
+ function wi(i, t) {
4023
4656
  const e = i ?? 0;
4024
4657
  return t > e ? 100 / (t - e) : 0;
4025
4658
  }
4026
- function ns(i, t) {
4659
+ function Si(i, t) {
4027
4660
  const e = i ?? 0;
4028
4661
  return t > e ? (t - e) / 100 : 0;
4029
4662
  }
4030
- const vt = 0;
4031
- function as(i, t, e) {
4663
+ const kt = 0;
4664
+ function ki(i, t, e) {
4032
4665
  const s = t?.closest(i);
4033
4666
  if (t && s && s.scrollHeight !== s.offsetHeight)
4034
4667
  if (e) {
4035
- const n = e.getBoundingClientRect(), a = s.getBoundingClientRect(), o = t.getBoundingClientRect();
4036
- s.scrollTop = t.offsetTop - (n.top - a.top) - (n.height / 2 - o.height / 2), s.scrollTop + s.offsetHeight < t.offsetTop + t.offsetHeight && (s.scrollTop = t.offsetTop + t.offsetHeight - s.offsetHeight);
4037
- } else s.scrollTop > t.offsetTop ? s.scrollTop = t.offsetTop - vt : s.scrollTop + s.offsetHeight < t.offsetTop + t.offsetHeight && (s.scrollTop = t.offsetTop + t.offsetHeight - s.offsetHeight + vt);
4668
+ const n = e.getBoundingClientRect(), o = s.getBoundingClientRect(), a = t.getBoundingClientRect();
4669
+ s.scrollTop = t.offsetTop - (n.top - o.top) - (n.height / 2 - a.height / 2), s.scrollTop + s.offsetHeight < t.offsetTop + t.offsetHeight && (s.scrollTop = t.offsetTop + t.offsetHeight - s.offsetHeight);
4670
+ } else s.scrollTop > t.offsetTop ? s.scrollTop = t.offsetTop - kt : s.scrollTop + s.offsetHeight < t.offsetTop + t.offsetHeight && (s.scrollTop = t.offsetTop + t.offsetHeight - s.offsetHeight + kt);
4038
4671
  }
4039
- function os(i, t) {
4672
+ function Di(i, t) {
4040
4673
  return i.indexOf(t) !== -1;
4041
4674
  }
4042
- async function cs() {
4675
+ async function Li() {
4043
4676
  if (d()) {
4044
- const i = await St.get();
4677
+ const i = await Ct.get();
4045
4678
  document.body.style.setProperty("--sys-scrollbar-offset", `${i}px`);
4046
4679
  }
4047
4680
  }
4048
- function us(i, t) {
4681
+ function Ci(i, t) {
4049
4682
  const e = {};
4050
- return m(i) && m(t) && f(i, (s, n) => {
4683
+ return p(i) && p(t) && f(i, (s, n) => {
4051
4684
  n in t && (e[n] = s);
4052
4685
  }), e;
4053
4686
  }
4054
- function hs(i, t) {
4687
+ function Ii(i, t) {
4055
4688
  let e = Object.keys(i).length !== Object.keys(t).length;
4056
4689
  return e || f(i, (s, n) => {
4057
4690
  s !== t?.[n] && (e = !0);
4058
4691
  }), e;
4059
4692
  }
4060
- function ls(i) {
4693
+ function Ni(i) {
4061
4694
  switch (typeof i) {
4062
4695
  case "number":
4063
4696
  return !0;
@@ -4067,115 +4700,115 @@ function ls(i) {
4067
4700
  return !1;
4068
4701
  }
4069
4702
  }
4070
- function gs(i, t) {
4703
+ function Ai(i, t) {
4071
4704
  const e = Math.floor(t);
4072
4705
  return i >= e && i < e + 1;
4073
4706
  }
4074
- function fs(i, t) {
4075
- return Array.isArray(i) ? i.every((e) => F(e, t)) : F(i, t);
4707
+ function xi(i, t) {
4708
+ return Array.isArray(i) ? i.every((e) => j(e, t)) : j(i, t);
4076
4709
  }
4077
- function $e(i, t = {}, e = "value", s = !1) {
4078
- const n = typeof t == "string", a = n ? t : e, o = n ? {} : t;
4079
- return i ? i && L(i) && (a in i || s) ? at(o, i) : at(o, { [a]: i }) : n ? {} : { ...o };
4710
+ function We(i, t = {}, e = "value", s = !1) {
4711
+ const n = typeof t == "string", o = n ? t : e, a = n ? {} : t;
4712
+ return i ? i && C(i) && (o in i || s) ? lt(a, i) : lt(a, { [o]: i }) : n ? {} : { ...a };
4080
4713
  }
4081
- function ds(i, t = {}, e = "value") {
4082
- return c(() => $e(g(i), g(t), e));
4714
+ function Bi(i, t = {}, e = "value") {
4715
+ return c(() => We(m(i), m(t), e));
4083
4716
  }
4084
- const ms = (i, t) => {
4085
- const e = $();
4717
+ const Fi = (i, t) => {
4718
+ const e = y();
4086
4719
  let s = !0;
4087
4720
  const n = () => {
4088
- s && (zt(async () => {
4089
- const a = g(await i());
4090
- a !== t && (e.value = a);
4721
+ s && (Jt(async () => {
4722
+ const o = m(await i());
4723
+ o !== t && (e.value = o);
4091
4724
  }), s = !1);
4092
4725
  };
4093
4726
  return c(() => (n(), e.value));
4094
4727
  };
4095
- function ys(i, t) {
4728
+ function Ei(i, t) {
4096
4729
  i.value !== t && (i.value = t);
4097
4730
  }
4098
- function ps(i) {
4731
+ function Ri(i) {
4099
4732
  let t;
4100
4733
  return c(() => (t || (t = i()), t.value));
4101
4734
  }
4102
- function ve(i) {
4735
+ function Pe(i) {
4103
4736
  return [...new Set(i)];
4104
4737
  }
4105
- function B(i, t, e = !0) {
4106
- const s = E(i);
4107
- return m(i) && m(t) && f(
4738
+ function P(i, t, e = !0) {
4739
+ const s = H(i);
4740
+ return p(i) && p(t) && f(
4108
4741
  t,
4109
- (n, a) => {
4110
- const o = i?.[a];
4111
- m(o) && m(n) ? e && Array.isArray(o) && Array.isArray(n) ? s[a] = E(ve([...o, ...n])) : s[a] = B(
4112
- Array.isArray(o) ? { ...o } : o,
4742
+ (n, o) => {
4743
+ const a = i?.[o];
4744
+ p(a) && p(n) ? e && Array.isArray(a) && Array.isArray(n) ? s[o] = H(Pe([...a, ...n])) : s[o] = P(
4745
+ Array.isArray(a) ? { ...a } : a,
4113
4746
  n,
4114
4747
  e
4115
- ) : s[a] = m(n) ? E(n) : n;
4748
+ ) : s[o] = p(n) ? H(n) : n;
4116
4749
  }
4117
4750
  ), s;
4118
4751
  }
4119
- function $s(i, t) {
4752
+ function Wi(i, t) {
4120
4753
  let e = i;
4121
4754
  return f(t, (s, n) => {
4122
- e = e.replace(kt(`[${n}]`), A(s));
4755
+ e = e.replace(xt(`[${n}]`), B(s));
4123
4756
  }), e;
4124
4757
  }
4125
- function vs(i) {
4126
- const t = b(i);
4758
+ function Pi(i) {
4759
+ const t = k(i);
4127
4760
  if (t > 0) {
4128
4761
  const e = String(Math.floor(t / 60)).padStart(2, "0"), s = String(t % 60).padStart(2, "0");
4129
4762
  return `${e}:${s}`;
4130
4763
  }
4131
4764
  return "00:00";
4132
4765
  }
4133
- function bs(i, t, {
4766
+ function ji(i, t, {
4134
4767
  multiple: e = !1,
4135
4768
  maxlength: s = 0,
4136
4769
  alwaysChange: n = !0,
4137
- notEmpty: a = !1
4770
+ notEmpty: o = !1
4138
4771
  }) {
4139
4772
  if (e) {
4140
- if (ht(i)) {
4141
- const o = i.indexOf(t), u = [...i];
4142
- return o !== -1 ? (!a || u.length > 1) && u.splice(o, 1) : (!s || i.length < s) && u.push(t), u;
4773
+ if (mt(i)) {
4774
+ const a = i.indexOf(t), u = [...i];
4775
+ return a !== -1 ? (!o || u.length > 1) && u.splice(a, 1) : (!s || i.length < s) && u.push(t), u;
4143
4776
  }
4144
4777
  return i === t ? [] : i ? [i, t] : [t];
4145
4778
  }
4146
4779
  return n || i !== t ? t : i;
4147
4780
  }
4148
- function ws(i, t, e) {
4149
- if (m(i) && m(t)) {
4781
+ function Hi(i, t, e) {
4782
+ if (p(i) && p(t)) {
4150
4783
  if (e) {
4151
4784
  let s = {}, n = !1;
4152
- return f(i, (a, o) => {
4153
- !n && (e === o || e === a) ? (n = !0, s = B(s, t)) : n ? s = B(s, { [o]: a }) : s[o] = m(a) ? E(a) : a;
4154
- }), n ? s : B(i, t);
4785
+ return f(i, (o, a) => {
4786
+ !n && (e === a || e === o) ? (n = !0, s = P(s, t)) : n ? s = P(s, { [a]: o }) : s[a] = p(o) ? H(o) : o;
4787
+ }), n ? s : P(i, t);
4155
4788
  }
4156
- if (m(t))
4157
- return B(i, t);
4789
+ if (p(t))
4790
+ return P(i, t);
4158
4791
  }
4159
- return E(i);
4792
+ return H(i);
4160
4793
  }
4161
- function Ss(i) {
4162
- return Ct(i).replace(/^([a-z])/, (t) => `${t.toUpperCase()}`);
4794
+ function Ui(i) {
4795
+ return Nt(i).replace(/^([a-z])/, (t) => `${t.toUpperCase()}`);
4163
4796
  }
4164
- function Ls(i) {
4797
+ function _i(i) {
4165
4798
  return i.toString().trim().replace(/[^\w- ]+/g, "").replace(/ +/g, "-").replace(new RegExp("(?<=[A-Z])([A-Z])", "g"), (t) => `${t.toLowerCase()}`).replace(/^[A-Z]/, (t) => t.toLowerCase()).replace(new RegExp("(?<=[\\w ])[A-Z]", "g"), (t) => `-${t.toLowerCase()}`).replace(/[A-Z]/g, (t) => t.toLowerCase());
4166
4799
  }
4167
- function Cs(i, t, e, s) {
4168
- const n = b(i), a = b(t);
4169
- return t && a < n ? `${bt(a, e, s)}+` : bt(n, e, s);
4800
+ function zi(i, t, e, s) {
4801
+ const n = k(i), o = k(t);
4802
+ return t && o < n ? `${Dt(o, e, s)}+` : Dt(n, e, s);
4170
4803
  }
4171
- const bt = (i, t, e) => t ? new I(e).number(i) : i;
4172
- function be(i, t) {
4804
+ const Dt = (i, t, e) => t ? new W(e).number(i) : i;
4805
+ function je(i, t) {
4173
4806
  return 1 / i * t;
4174
4807
  }
4175
- function Ds(i, t) {
4176
- return be(i, t) * 100;
4808
+ function Zi(i, t) {
4809
+ return je(i, t) * 100;
4177
4810
  }
4178
- async function ks(i) {
4811
+ async function Ki(i) {
4179
4812
  if (d())
4180
4813
  try {
4181
4814
  await navigator.clipboard.writeText(i);
@@ -4184,141 +4817,157 @@ async function ks(i) {
4184
4817
  }
4185
4818
  }
4186
4819
  export {
4187
- H as Api,
4188
- Ns as ApiMethodItem,
4189
- Zt as BroadcastMessage,
4190
- Vt as Cache,
4191
- Kt as CacheItem,
4192
- dt as CacheStatic,
4193
- rt as Cookie,
4194
- _t as CookieBlock,
4195
- Y as DataStorage,
4196
- ut as Datetime,
4197
- Ae as DatetimeRef,
4198
- se as DesignAbstract,
4199
- De as DesignAsyncAbstract,
4200
- ee as DesignChanged,
4201
- ke as DesignComp,
4202
- Lt as DesignComponents,
4203
- Me as DesignConstructorAbstract,
4204
- xt as EventItem,
4205
- Ne as EventRef,
4820
+ V as Api,
4821
+ qi as ApiMethodItem,
4822
+ Xt as BroadcastMessage,
4823
+ Tt as Cache,
4824
+ Ot as CacheItem,
4825
+ vt as CacheStatic,
4826
+ at as Cookie,
4827
+ te as CookieBlock,
4828
+ X as DataStorage,
4829
+ gt as Datetime,
4830
+ Ye as DatetimeRef,
4831
+ pe as DesignAbstract,
4832
+ Ze as DesignAsyncAbstract,
4833
+ ye as DesignChanged,
4834
+ Ke as DesignComp,
4835
+ It as DesignComponents,
4836
+ Ve as DesignConstructorAbstract,
4837
+ Ut as EventItem,
4838
+ qe as EventRef,
4206
4839
  r as GEO_FLAG_ICON_NAME,
4207
- p as Geo,
4208
- x as GeoFlag,
4209
- Ie as GeoFlagRef,
4210
- I as GeoIntl,
4211
- oe as GeoIntlRef,
4212
- yt as GeoPhone,
4213
- Dt as GeoRef,
4214
- Ce as Global,
4215
- R as Hash,
4216
- Is as Icons,
4217
- Mt as ListDataRef,
4218
- ft as Loading,
4219
- Be as RouterItemRef,
4220
- St as ScrollbarWidth,
4221
- Te as ScrollbarWidthRef,
4222
- z as Translate,
4223
- Ge as anyToString,
4224
- te as applyTemplate,
4225
- le as arrFill,
4226
- E as copyObject,
4227
- pt as createElement,
4228
- ze as domQuerySelector,
4229
- Ue as domQuerySelectorAll,
4230
- Ze as eventStopPropagation,
4231
- A as executeFunction,
4232
- Bs as executePromise,
4233
- Ye as executeUse,
4234
- Ke as executeUseGlobalInit,
4840
+ b as Geo,
4841
+ U as GeoFlag,
4842
+ Je as GeoFlagRef,
4843
+ W as GeoIntl,
4844
+ Se as GeoIntlRef,
4845
+ wt as GeoPhone,
4846
+ At as GeoRef,
4847
+ ze as Global,
4848
+ _ as Hash,
4849
+ Ji as Icons,
4850
+ Bt as ListDataRef,
4851
+ $t as Loading,
4852
+ ge as Meta,
4853
+ ft as MetaManager,
4854
+ he as MetaOg,
4855
+ ce as MetaOpenGraphAge,
4856
+ oe as MetaOpenGraphAvailability,
4857
+ ae as MetaOpenGraphCondition,
4858
+ ue as MetaOpenGraphGender,
4859
+ $ as MetaOpenGraphTag,
4860
+ ne as MetaOpenGraphType,
4861
+ re as MetaRobots,
4862
+ w as MetaTag,
4863
+ de as MetaTwitter,
4864
+ le as MetaTwitterCard,
4865
+ v as MetaTwitterTag,
4866
+ Qe as RouterItemRef,
4867
+ Ct as ScrollbarWidth,
4868
+ Xe as ScrollbarWidthRef,
4869
+ q as Translate,
4870
+ ai as anyToString,
4871
+ me as applyTemplate,
4872
+ Ae as arrFill,
4873
+ H as copyObject,
4874
+ ut as createElement,
4875
+ ci as domQuerySelector,
4876
+ ui as domQuerySelectorAll,
4877
+ se as encodeAttribute,
4878
+ li as eventStopPropagation,
4879
+ B as executeFunction,
4880
+ Qi as executePromise,
4881
+ Ce as executeUse,
4882
+ si as executeUseGlobalInit,
4235
4883
  f as forEach,
4236
- fe as frame,
4237
- Ve as getAttributes,
4238
- $e as getBind,
4239
- ds as getBindRef,
4240
- ie as getClassName,
4241
- qe as getClipboardData,
4242
- nt as getColumn,
4243
- ms as getComputedAsync,
4244
- K as getElement,
4245
- G as getElementId,
4246
- Jt as getElementItem,
4247
- Ts as getElementOrWindow,
4248
- kt as getExp,
4249
- re as getIndexForRender,
4250
- de as getItemByPath,
4251
- _e as getKey,
4252
- Nt as getLengthOfAllArray,
4253
- Je as getMaxLengthAllArray,
4254
- Qe as getMinLengthAllArray,
4255
- Xe as getMouseClient,
4256
- me as getMouseClientX,
4257
- ye as getMouseClientY,
4258
- ts as getObjectByKeys,
4259
- es as getObjectNoUndefined,
4260
- ss as getObjectOrNone,
4261
- is as getRandomText,
4262
- g as getRef,
4263
- Et as getRequestString,
4264
- rs as getStepPercent,
4265
- ns as getStepValue,
4266
- as as goScroll,
4267
- os as inArray,
4268
- cs as initScrollbarOffset,
4269
- us as intersectKey,
4270
- ht as isArray,
4271
- hs as isDifferent,
4884
+ xe as frame,
4885
+ hi as getAttributes,
4886
+ We as getBind,
4887
+ Bi as getBindRef,
4888
+ $e as getClassName,
4889
+ di as getClipboardData,
4890
+ ct as getColumn,
4891
+ Fi as getComputedAsync,
4892
+ M as getElement,
4893
+ Y as getElementId,
4894
+ ee as getElementItem,
4895
+ Xi as getElementOrWindow,
4896
+ xt as getExp,
4897
+ ve as getIndexForRender,
4898
+ Be as getItemByPath,
4899
+ gi as getKey,
4900
+ Et as getLengthOfAllArray,
4901
+ fi as getMaxLengthAllArray,
4902
+ mi as getMinLengthAllArray,
4903
+ yi as getMouseClient,
4904
+ Fe as getMouseClientX,
4905
+ Ee as getMouseClientY,
4906
+ pi as getObjectByKeys,
4907
+ $i as getObjectNoUndefined,
4908
+ vi as getObjectOrNone,
4909
+ bi as getRandomText,
4910
+ m as getRef,
4911
+ Ht as getRequestString,
4912
+ wi as getStepPercent,
4913
+ Si as getStepValue,
4914
+ ki as goScroll,
4915
+ Di as inArray,
4916
+ Li as initScrollbarOffset,
4917
+ Ci as intersectKey,
4918
+ mt as isArray,
4919
+ Ii as isDifferent,
4272
4920
  d as isDomRuntime,
4273
- W as isFilled,
4274
- ls as isFloat,
4275
- Fs as isFunction,
4276
- Es as isInDom,
4277
- gs as isIntegerBetween,
4278
- Ft as isNull,
4279
- xs as isNumber,
4280
- m as isObject,
4281
- L as isObjectNotArray,
4282
- F as isSelected,
4283
- fs as isSelectedByList,
4284
- ot as isString,
4285
- Rs as isWindow,
4286
- O as random,
4287
- ne as render,
4288
- B as replaceRecursive,
4289
- $s as replaceTemplate,
4290
- vs as secondToTime,
4291
- Ee as setApiRefGlobalConditions,
4292
- Qt as setElementItem,
4293
- ys as setRef,
4294
- bs as setValues,
4295
- ws as splice,
4296
- pe as strFill,
4297
- He as t,
4298
- T as toArray,
4299
- at as toBind,
4300
- ae as toBinds,
4301
- Ct as toCamelCase,
4302
- Ss as toCamelCaseFirst,
4303
- ps as toComputed,
4304
- w as toDate,
4305
- Ls as toKebabCase,
4306
- b as toNumber,
4307
- Cs as toNumberByMax,
4308
- be as toPercent,
4309
- Ds as toPercentBy100,
4310
- S as toRefItem,
4311
- wt as transformation,
4312
- ve as uniqueArray,
4313
- Fe as useApiRef,
4314
- ue as useBroadcastValueRef,
4315
- xe as useCookieRef,
4316
- Re as useGeoIntlRef,
4317
- Oe as useHashRef,
4318
- We as useLazyRef,
4319
- Pe as useLoadingRef,
4320
- je as useSessionRef,
4321
- Ut as useStorageRef,
4322
- he as useTranslateRef,
4323
- ks as writeClipboardData
4921
+ F as isFilled,
4922
+ Ni as isFloat,
4923
+ Mi as isFunction,
4924
+ Oi as isInDom,
4925
+ Ai as isIntegerBetween,
4926
+ jt as isNull,
4927
+ Ti as isNumber,
4928
+ p as isObject,
4929
+ C as isObjectNotArray,
4930
+ j as isSelected,
4931
+ xi as isSelectedByList,
4932
+ ht as isString,
4933
+ Gi as isWindow,
4934
+ z as random,
4935
+ be as render,
4936
+ P as replaceRecursive,
4937
+ Wi as replaceTemplate,
4938
+ Pi as secondToTime,
4939
+ Oe as setApiRefGlobalConditions,
4940
+ ie as setElementItem,
4941
+ Ei as setRef,
4942
+ ji as setValues,
4943
+ Hi as splice,
4944
+ Re as strFill,
4945
+ oi as t,
4946
+ R as toArray,
4947
+ lt as toBind,
4948
+ we as toBinds,
4949
+ Nt as toCamelCase,
4950
+ Ui as toCamelCaseFirst,
4951
+ Ri as toComputed,
4952
+ D as toDate,
4953
+ _i as toKebabCase,
4954
+ k as toNumber,
4955
+ zi as toNumberByMax,
4956
+ je as toPercent,
4957
+ Zi as toPercentBy100,
4958
+ L as toRefItem,
4959
+ Lt as transformation,
4960
+ Pe as uniqueArray,
4961
+ Me as useApiRef,
4962
+ De as useBroadcastValueRef,
4963
+ Te as useCookieRef,
4964
+ Ge as useGeoIntlRef,
4965
+ ti as useHashRef,
4966
+ ei as useLazyRef,
4967
+ ii as useLoadingRef,
4968
+ ri as useMeta,
4969
+ ni as useSessionRef,
4970
+ Qt as useStorageRef,
4971
+ Ne as useTranslateRef,
4972
+ Ki as writeClipboardData
4324
4973
  };