@topvisor/ui 1.0.20 → 1.0.21-pinia-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/.chunks/{datepicker-BwpUPRh5.es.js → datepicker-BC31NE5M.es.js} +2 -2
  2. package/.chunks/datepicker-BC31NE5M.es.js.map +1 -0
  3. package/.chunks/{datepicker-BpcIQBQx.amd.js → datepicker-CVoT5EME.amd.js} +2 -2
  4. package/.chunks/datepicker-CVoT5EME.amd.js.map +1 -0
  5. package/.chunks/forms-CipZtprq.es.js +1999 -0
  6. package/.chunks/forms-CipZtprq.es.js.map +1 -0
  7. package/.chunks/forms-CxYSHZLL.amd.js +3 -0
  8. package/.chunks/forms-CxYSHZLL.amd.js.map +1 -0
  9. package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-BbSoFbg2.amd.js → listItem.vue_vue_type_script_setup_true_lang-CT6O_7Qy.amd.js} +2 -2
  10. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CT6O_7Qy.amd.js.map +1 -0
  11. package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-B0jhkmeG.es.js → listItem.vue_vue_type_script_setup_true_lang-uNNJJ4S0.es.js} +12 -12
  12. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-uNNJJ4S0.es.js.map +1 -0
  13. package/.chunks/{menu.vue_vue_type_style_index_0_lang-CPtzi4v1.amd.js → menu.vue_vue_type_style_index_0_lang-DAI_WcXI.amd.js} +2 -2
  14. package/.chunks/menu.vue_vue_type_style_index_0_lang-DAI_WcXI.amd.js.map +1 -0
  15. package/.chunks/{menu.vue_vue_type_style_index_0_lang-CF3aS3nJ.es.js → menu.vue_vue_type_style_index_0_lang-fU3LbpR7.es.js} +25 -25
  16. package/.chunks/menu.vue_vue_type_style_index_0_lang-fU3LbpR7.es.js.map +1 -0
  17. package/.chunks/{notice-Dj71_6Fi.es.js → notice-cCZZtLLu.es.js} +3 -3
  18. package/.chunks/notice-cCZZtLLu.es.js.map +1 -0
  19. package/.chunks/{notice-CiJb1Cdk.amd.js → notice-uzdQ-t3s.amd.js} +2 -2
  20. package/.chunks/notice-uzdQ-t3s.amd.js.map +1 -0
  21. package/.chunks/{popup-DbEAZSBK.es.js → popup-BvhY5oAD.es.js} +3 -2
  22. package/.chunks/popup-BvhY5oAD.es.js.map +1 -0
  23. package/.chunks/{popup-Cw2abdjh.amd.js → popup-Bwknq6xI.amd.js} +2 -2
  24. package/.chunks/popup-Bwknq6xI.amd.js.map +1 -0
  25. package/.chunks/store-CX_6ZXhO.es.js.map +1 -1
  26. package/.chunks/store-esTid5oI.amd.js.map +1 -1
  27. package/.chunks/{utils-DSzOIsFV.amd.js → utils-BfdO2xlC.amd.js} +2 -2
  28. package/.chunks/utils-BfdO2xlC.amd.js.map +1 -0
  29. package/.chunks/{utils-3FaaPSyL.es.js → utils-C2OmmJkw.es.js} +64 -64
  30. package/.chunks/utils-C2OmmJkw.es.js.map +1 -0
  31. package/.chunks/{utils-DF6k2YnU.amd.js → utils-C3dsXIj9.amd.js} +2 -2
  32. package/.chunks/utils-C3dsXIj9.amd.js.map +1 -0
  33. package/.chunks/{utils-zcyFDsBL.es.js → utils-C5sf4bZh.es.js} +78 -78
  34. package/.chunks/utils-C5sf4bZh.es.js.map +1 -0
  35. package/README.md +82 -82
  36. package/assets/core.css +1 -1
  37. package/assets/forms.css +1 -1
  38. package/assets/layout.css +1 -1
  39. package/charts/charts.amd.js +1 -1
  40. package/charts/charts.amd.js.map +1 -1
  41. package/charts/charts.js +8 -8
  42. package/charts/charts.js.map +1 -1
  43. package/components/forms/checkbox/checkbox.d.ts +5 -3
  44. package/components/forms/checkbox/checkbox.vue.d.ts +2 -2
  45. package/components/forms/input/input.d.ts +8 -0
  46. package/components/forms/input/input.vue.d.ts +2 -1
  47. package/components/forms/radio/radio.d.ts +1 -1
  48. package/components/forms/radio/radio.vue.d.ts +2 -2
  49. package/components/forms/select/select.d.ts +7 -0
  50. package/components/forms/select/select.vue.d.ts +2 -1
  51. package/components/forms/textarea/textarea.d.ts +7 -0
  52. package/components/forms/textarea/textarea.vue.d.ts +2 -1
  53. package/core/app.amd.js +1 -1
  54. package/core/app.amd.js.map +1 -1
  55. package/core/app.js +22 -21
  56. package/core/app.js.map +1 -1
  57. package/dialog/dialog.amd.js +1 -1
  58. package/dialog/dialog.amd.js.map +1 -1
  59. package/dialog/dialog.js +20 -20
  60. package/dialog/dialog.js.map +1 -1
  61. package/forms/forms.amd.js +1 -1
  62. package/forms/forms.js +1 -1
  63. package/forms/helpers.amd.js.map +1 -1
  64. package/forms/helpers.js.map +1 -1
  65. package/formsExt/formsExt.amd.js +1 -1
  66. package/formsExt/formsExt.amd.js.map +1 -1
  67. package/formsExt/formsExt.js +213 -210
  68. package/formsExt/formsExt.js.map +1 -1
  69. package/icomoon/Read Me.txt +7 -7
  70. package/icomoon/Topvisor icons.json +6259 -6259
  71. package/icomoon/demo-files/demo.css +158 -158
  72. package/icomoon/demo-files/demo.js +30 -30
  73. package/icomoon/demo.html +3558 -3558
  74. package/icomoon/fonts/Topvisor-2.svg +276 -276
  75. package/icomoon/style.css +780 -780
  76. package/jquery-ui.min.css +5 -5
  77. package/layout/layout.amd.js +1 -1
  78. package/layout/layout.amd.js.map +1 -1
  79. package/layout/layout.js +7 -7
  80. package/layout/layout.js.map +1 -1
  81. package/package.json +33 -33
  82. package/popup/popup.amd.js +1 -1
  83. package/popup/popup.amd.js.map +1 -1
  84. package/popup/popup.js +18 -17
  85. package/popup/popup.js.map +1 -1
  86. package/popup/worker.amd.js +1 -1
  87. package/popup/worker.amd.js.map +1 -1
  88. package/popup/worker.js +2 -2
  89. package/popup/worker.js.map +1 -1
  90. package/project/project.amd.js +1 -1
  91. package/project/project.amd.js.map +1 -1
  92. package/project/project.js +311 -311
  93. package/project/project.js.map +1 -1
  94. package/require/css.amd.js +12 -12
  95. package/tabs/tabs.amd.js.map +1 -1
  96. package/tabs/tabs.js +5 -5
  97. package/tabs/tabs.js.map +1 -1
  98. package/tabsView/tabsView.amd.js +1 -1
  99. package/tabsView/tabsView.amd.js.map +1 -1
  100. package/tabsView/tabsView.js +26 -26
  101. package/tabsView/tabsView.js.map +1 -1
  102. package/utils/check.amd.js.map +1 -1
  103. package/utils/check.js.map +1 -1
  104. package/utils/clipboard.amd.js +1 -1
  105. package/utils/clipboard.amd.js.map +1 -1
  106. package/utils/clipboard.js +1 -1
  107. package/utils/clipboard.js.map +1 -1
  108. package/utils/date.amd.js +1 -1
  109. package/utils/date.js +1 -1
  110. package/utils/device.amd.js +1 -1
  111. package/utils/device.js +1 -1
  112. package/utils/dom.amd.js +1 -1
  113. package/utils/dom.amd.js.map +1 -1
  114. package/utils/dom.js +30 -30
  115. package/utils/dom.js.map +1 -1
  116. package/utils/image.amd.js.map +1 -1
  117. package/utils/image.js.map +1 -1
  118. package/utils/keyboard.amd.js.map +1 -1
  119. package/utils/keyboard.js.map +1 -1
  120. package/utils/lodash.amd.js +1 -1
  121. package/utils/lodash.js +1 -1
  122. package/utils/number.amd.js.map +1 -1
  123. package/utils/number.js.map +1 -1
  124. package/utils/price.amd.js +1 -1
  125. package/utils/price.amd.js.map +1 -1
  126. package/utils/price.js +3 -3
  127. package/utils/price.js.map +1 -1
  128. package/utils/route.amd.js +1 -1
  129. package/utils/route.amd.js.map +1 -1
  130. package/utils/route.js +5 -5
  131. package/utils/route.js.map +1 -1
  132. package/utils/scroll.amd.js.map +1 -1
  133. package/utils/scroll.js.map +1 -1
  134. package/utils/searchers.amd.js.map +1 -1
  135. package/utils/searchers.js +2 -0
  136. package/utils/searchers.js.map +1 -1
  137. package/utils/string.amd.js +1 -1
  138. package/utils/string.amd.js.map +1 -1
  139. package/utils/string.js +29 -29
  140. package/utils/string.js.map +1 -1
  141. package/utils/system.amd.js.map +1 -1
  142. package/utils/system.js.map +1 -1
  143. package/utils/url.amd.js.map +1 -1
  144. package/utils/url.js.map +1 -1
  145. package/web-types.json +130 -130
  146. package/.chunks/datepicker-BpcIQBQx.amd.js.map +0 -1
  147. package/.chunks/datepicker-BwpUPRh5.es.js.map +0 -1
  148. package/.chunks/forms-CqYQQ4oo.amd.js +0 -3
  149. package/.chunks/forms-CqYQQ4oo.amd.js.map +0 -1
  150. package/.chunks/forms-UBLh4e8-.es.js +0 -2010
  151. package/.chunks/forms-UBLh4e8-.es.js.map +0 -1
  152. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-B0jhkmeG.es.js.map +0 -1
  153. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-BbSoFbg2.amd.js.map +0 -1
  154. package/.chunks/menu.vue_vue_type_style_index_0_lang-CF3aS3nJ.es.js.map +0 -1
  155. package/.chunks/menu.vue_vue_type_style_index_0_lang-CPtzi4v1.amd.js.map +0 -1
  156. package/.chunks/notice-CiJb1Cdk.amd.js.map +0 -1
  157. package/.chunks/notice-Dj71_6Fi.es.js.map +0 -1
  158. package/.chunks/popup-Cw2abdjh.amd.js.map +0 -1
  159. package/.chunks/popup-DbEAZSBK.es.js.map +0 -1
  160. package/.chunks/utils-3FaaPSyL.es.js.map +0 -1
  161. package/.chunks/utils-DF6k2YnU.amd.js.map +0 -1
  162. package/.chunks/utils-DSzOIsFV.amd.js.map +0 -1
  163. package/.chunks/utils-zcyFDsBL.es.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import { Core as Te } from "../core/app.js";
2
- import { defineComponent as P, mergeModels as O, useModel as D, computed as M, openBlock as x, createElementBlock as w, unref as h, createBlock as B, withCtx as b, createVNode as A, createTextVNode as z, toDisplayString as K, Fragment as W, renderList as ie, normalizeClass as Q, createElementVNode as ye, ref as F, watch as L, createCommentVNode as q, withModifiers as j, mergeProps as pe, withKeys as de, nextTick as be, resolveDirective as Be, withDirectives as Ve, resolveDynamicComponent as we, renderSlot as Me, reactive as $e, shallowRef as Ee, createSlots as Ke, toValue as ue, isRef as ce } from "vue";
3
- import { a as R, C as J, _ as Y, x as re, s as Le } from "../.chunks/forms-UBLh4e8-.es.js";
4
- import { _ as he, b as se, a as Ae } from "../.chunks/listItem.vue_vue_type_script_setup_true_lang-B0jhkmeG.es.js";
5
- import { _ as Oe } from "../.chunks/menu.vue_vue_type_style_index_0_lang-CF3aS3nJ.es.js";
2
+ import { defineComponent as P, mergeModels as O, useModel as D, computed as M, createElementBlock as w, openBlock as x, createBlock as B, unref as h, withCtx as b, Fragment as W, renderList as ie, normalizeClass as Q, createElementVNode as ye, toDisplayString as K, createVNode as A, createTextVNode as z, ref as F, watch as L, createCommentVNode as q, withModifiers as j, mergeProps as pe, withKeys as de, nextTick as be, resolveDirective as Be, withDirectives as Ve, resolveDynamicComponent as we, renderSlot as Me, shallowRef as $e, createSlots as Ee, reactive as Ke, toValue as ue, isRef as ce } from "vue";
3
+ import { a as R, C as J, _ as Y, x as re, s as Le } from "../.chunks/forms-CipZtprq.es.js";
4
+ import { _ as he, a as se, b as Ae } from "../.chunks/listItem.vue_vue_type_script_setup_true_lang-uNNJJ4S0.es.js";
5
+ import { _ as Oe } from "../.chunks/menu.vue_vue_type_style_index_0_lang-fU3LbpR7.es.js";
6
6
  import { getSearcherGIcon as Re, getLangLabel as Ne, getDeviceGIcon as De } from "../utils/searchers.js";
7
7
  import { storage as G } from "../utils/dom.js";
8
8
  import { TopPopupWorker as Fe } from "../popup/worker.js";
@@ -20,8 +20,8 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
20
20
  }),
21
21
  emits: ["update:modelValue"],
22
22
  setup(e) {
23
- const n = e, i = D(e, "modelValue"), t = M(() => {
24
- if (n.showSelectAllItem)
23
+ const a = e, i = D(e, "modelValue"), t = M(() => {
24
+ if (a.showSelectAllItem)
25
25
  return {
26
26
  icon: "",
27
27
  title: R().Common.Select_all,
@@ -29,7 +29,7 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
29
29
  content: ""
30
30
  };
31
31
  });
32
- return (a, l) => (x(), w("div", qe, [
32
+ return (l, o) => (x(), w("div", qe, [
33
33
  h(J).state.isMobile ? (x(), B(he, { key: 0 }, {
34
34
  opener: b(() => [
35
35
  A(Y, {
@@ -39,30 +39,30 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
39
39
  icon2: ""
40
40
  }, {
41
41
  default: b(() => {
42
- var o;
42
+ var n;
43
43
  return [
44
- z(K((o = a.items.find((d) => {
45
- var m;
46
- return d.value === ((m = i.value) == null ? void 0 : m[0]);
47
- })) == null ? void 0 : o.content), 1)
44
+ z(K((n = l.items.find((d) => {
45
+ var g;
46
+ return d.value === ((g = i.value) == null ? void 0 : g[0]);
47
+ })) == null ? void 0 : n.content), 1)
48
48
  ];
49
49
  }),
50
50
  _: 1
51
51
  })
52
52
  ]),
53
53
  contentList: b(() => [
54
- (x(!0), w(W, null, ie(a.items, (o, d) => {
55
- var m;
54
+ (x(!0), w(W, null, ie(l.items, (n, d) => {
55
+ var g;
56
56
  return x(), B(se, {
57
57
  class: Q({
58
- "top-active": (m = i.value) == null ? void 0 : m.includes(o.value)
58
+ "top-active": (g = i.value) == null ? void 0 : g.includes(n.value)
59
59
  }),
60
- "data-top-icon": o.icon,
61
- title: o.title,
62
- onClick: () => i.value = [o.value]
60
+ "data-top-icon": n.icon,
61
+ title: n.title,
62
+ onClick: () => i.value = [n.value]
63
63
  }, {
64
64
  default: b(() => [
65
- ye("span", Pe, K(o.content), 1)
65
+ ye("span", Pe, K(n.content), 1)
66
66
  ]),
67
67
  _: 2
68
68
  }, 1032, ["class", "data-top-icon", "title", "onClick"]);
@@ -72,8 +72,8 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
72
72
  })) : (x(), B(Oe, {
73
73
  key: 1,
74
74
  modelValue: i.value,
75
- "onUpdate:modelValue": l[0] || (l[0] = (o) => i.value = o),
76
- items: a.items,
75
+ "onUpdate:modelValue": o[0] || (o[0] = (n) => i.value = n),
76
+ items: l.items,
77
77
  isMultiple: !0,
78
78
  styling: "bar",
79
79
  canBeEmptyMultiple: !1,
@@ -104,12 +104,12 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
104
104
  key: I,
105
105
  name: "Autoselect",
106
106
  index: I
107
- }, oe = {
107
+ }, ne = {
108
108
  key: I,
109
109
  name: "Autoselect",
110
110
  regions: [te],
111
111
  regionByIndex: /* @__PURE__ */ new Map([[I, te]])
112
- }, fe = {
112
+ }, me = {
113
113
  countryCode: "00",
114
114
  depth: 1,
115
115
  device: 0,
@@ -117,117 +117,117 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
117
117
  index: -1,
118
118
  lang: "ru",
119
119
  name: "Without region"
120
- }, Je = () => (te.name = R().Common.Autoselect, te), ze = () => (Je(), oe.name = R().Common.Autoselect, console.log(oe), oe), Ge = () => (fe.name = R().Keywords.Without_region, fe), Ie = (e = !1, n = !1, i = []) => {
120
+ }, Je = () => (te.name = R().Common.Autoselect, te), ze = () => (Je(), ne.name = R().Common.Autoselect, console.log(ne), ne), Ge = () => (me.name = R().Keywords.Without_region, me), Ie = (e = !1, a = !1, i = []) => {
121
121
  let t;
122
- return e ? t = We(i) : t = xe(i), n && t.set(I, ze()), t.size || t.set(I, Se), t;
123
- }, xe = (e, n = !0, i = [], t = !1) => {
124
- const a = /* @__PURE__ */ new Map();
125
- return e.forEach((l) => {
126
- if (!l.enabled || t && typeof l.key == "number" && l.key > 1) return;
127
- const o = { ...l };
128
- o.regionByIndex = /* @__PURE__ */ new Map(), l.regions && l.regions.forEach((d) => {
129
- if (n && !d.enabled) return;
130
- const m = { ...d };
131
- o.regionByIndex && o.regionByIndex.set(m.index, m);
132
- }), !o.regionByIndex.size && !i.length && o.regionByIndex.set(ee.index, ee), typeof o.key == "number" && a.set(o.key, o);
133
- }), i.forEach((l) => {
134
- if (a.has(l)) return;
135
- const o = {
136
- key: l,
137
- name: je[l],
122
+ return e ? t = We(i) : t = xe(i), a && t.set(I, ze()), t.size || t.set(I, Se), t;
123
+ }, xe = (e, a = !0, i = [], t = !1) => {
124
+ const l = /* @__PURE__ */ new Map();
125
+ return e.forEach((o) => {
126
+ if (!o.enabled || t && typeof o.key == "number" && o.key > 1) return;
127
+ const n = { ...o };
128
+ n.regionByIndex = /* @__PURE__ */ new Map(), o.regions && o.regions.forEach((d) => {
129
+ if (a && !d.enabled) return;
130
+ const g = { ...d };
131
+ n.regionByIndex && n.regionByIndex.set(g.index, g);
132
+ }), !n.regionByIndex.size && !i.length && n.regionByIndex.set(ee.index, ee), typeof n.key == "number" && l.set(n.key, n);
133
+ }), i.forEach((o) => {
134
+ if (l.has(o)) return;
135
+ const n = {
136
+ key: o,
137
+ name: je[o],
138
138
  regions: [],
139
139
  regionByIndex: /* @__PURE__ */ new Map()
140
140
  };
141
- a.set(o.key, o);
142
- }), a;
141
+ l.set(n.key, n);
142
+ }), l;
143
143
  }, We = (e) => {
144
- const n = xe(e, !1, [0, 1], !0);
145
- if (n.has(2)) {
146
- const i = n.get(2);
144
+ const a = xe(e, !1, [0, 1], !0);
145
+ if (a.has(2)) {
146
+ const i = a.get(2);
147
147
  i && (i.regionByIndex = /* @__PURE__ */ new Map());
148
148
  }
149
- return n.forEach((i) => {
149
+ return a.forEach((i) => {
150
150
  if (!i.regionByIndex) return;
151
151
  const t = { ...Ge() };
152
152
  i.regionByIndex.set(t.index, t);
153
- }), n;
154
- }, Ye = (e, n, i = []) => {
153
+ }), a;
154
+ }, Ye = (e, a, i = []) => {
155
155
  const t = Ie(e, !1, i);
156
- let a;
157
- return t.forEach((l) => {
158
- if (!(n.searcher_key !== void 0 && n.searcher_key != l.key) && l.regions && (l.regions.forEach((o) => {
159
- if (!a && !(n.key !== void 0 && n.key != o.key) && !(n.index !== void 0 && n.index != o.index) && !(!e && (n.lang !== void 0 && n.lang != o.lang || n.device !== void 0 && n.device != o.device)))
160
- return o.searcher_key = l.key, a = o, !1;
161
- }), a))
156
+ let l;
157
+ return t.forEach((o) => {
158
+ if (!(a.searcher_key !== void 0 && a.searcher_key != o.key) && o.regions && (o.regions.forEach((n) => {
159
+ if (!l && !(a.key !== void 0 && a.key != n.key) && !(a.index !== void 0 && a.index != n.index) && !(!e && (a.lang !== void 0 && a.lang != n.lang || a.device !== void 0 && a.device != n.device)))
160
+ return n.searcher_key = o.key, l = n, !1;
161
+ }), l))
162
162
  return !1;
163
- }), a;
164
- }, He = (e, n) => {
165
- const i = R(), t = F(n.value.keys().next().value ?? I), a = M(() => {
166
- const l = /* @__PURE__ */ new Map();
167
- if (n.value.forEach((o) => {
163
+ }), l;
164
+ }, He = (e, a) => {
165
+ const i = R(), t = F(a.value.keys().next().value ?? I), l = M(() => {
166
+ const o = /* @__PURE__ */ new Map();
167
+ if (a.value.forEach((n) => {
168
168
  let d = {
169
- value: o.key,
170
- title: o.name
169
+ value: n.key,
170
+ title: n.name
171
171
  };
172
- e.addSearcherIcon && (d.icon = Re(o.key)), l.set(o.key, d);
173
- }), e.addCompare && !l.has(I)) {
174
- const o = {
172
+ e.addSearcherIcon && (d.icon = Re(n.key)), o.set(n.key, d);
173
+ }), e.addCompare && !o.has(I)) {
174
+ const n = {
175
175
  value: "",
176
176
  title: "--------------------",
177
177
  disabled: !0
178
178
  };
179
- l.set(o.value, o);
179
+ o.set(n.value, n);
180
180
  const d = {
181
181
  value: -1,
182
182
  title: i.Common.Compare
183
183
  };
184
- l.set(d.value, d);
184
+ o.set(d.value, d);
185
185
  }
186
- return l;
186
+ return o;
187
187
  });
188
188
  return {
189
189
  searcherKey: t,
190
- optionBySearcherKey: a
190
+ optionBySearcherKey: l
191
191
  };
192
- }, Qe = (e, n) => {
193
- var l, o, d;
192
+ }, Qe = (e, a) => {
193
+ var o, n, d;
194
194
  const i = R(), t = F(I);
195
- e.modelValue.length === 1 && (t.value = e.modelValue[0]), t.value === I && (e.forFrequency ? t.value = ((o = (l = n.value) == null ? void 0 : l.regionByIndex.values().next().value) == null ? void 0 : o.key) ?? I : t.value = ((d = n.value) == null ? void 0 : d.regionByIndex.keys().next().value) ?? I);
196
- const a = M(() => {
197
- var g;
198
- const m = /* @__PURE__ */ new Map();
199
- return (g = n.value.regionByIndex) == null || g.forEach((v) => {
195
+ e.modelValue.length === 1 && (t.value = e.modelValue[0]), t.value === I && (e.forFrequency ? t.value = ((n = (o = a.value) == null ? void 0 : o.regionByIndex.values().next().value) == null ? void 0 : n.key) ?? I : t.value = ((d = a.value) == null ? void 0 : d.regionByIndex.keys().next().value) ?? I);
196
+ const l = M(() => {
197
+ var f;
198
+ const g = /* @__PURE__ */ new Map();
199
+ return (f = a.value.regionByIndex) == null || f.forEach((v) => {
200
200
  let r = v.name;
201
201
  if (e.forFrequency) {
202
202
  const C = {
203
203
  value: v.key,
204
204
  title: r
205
205
  };
206
- m.has(v.key) || m.set(v.key, C);
206
+ g.has(v.key) || g.set(v.key, C);
207
207
  return;
208
208
  }
209
209
  v.device && (r += " (" + i.Common["Device_" + v.device] + ")");
210
- const f = Ne(n.value.key || 0, v.lang ?? "");
211
- f && (r += " / " + f);
210
+ const m = Ne(a.value.key || 0, v.lang ?? "");
211
+ m && (r += " / " + m);
212
212
  const y = {
213
213
  value: v.index,
214
214
  title: r,
215
215
  icon: v.device ? De(v.device) : void 0
216
216
  };
217
- m.set(v.index, y);
218
- }), m;
217
+ g.set(v.index, y);
218
+ }), g;
219
219
  });
220
- return L(a, (m, g) => {
220
+ return L(l, (g, f) => {
221
221
  var y;
222
- if (e.onlySearcher || t.value !== void 0 && m.get(t.value))
222
+ if (e.onlySearcher || t.value !== void 0 && g.get(t.value))
223
223
  return;
224
- let v = m.keys().next().value;
224
+ let v = g.keys().next().value;
225
225
  if (t.value === I || v === I) {
226
226
  t.value = v;
227
227
  return;
228
228
  }
229
- let r = ((y = g == null ? void 0 : g.get(t.value)) == null ? void 0 : y.title) || "", f = -1;
230
- for (const [C, k] of m.entries()) {
229
+ let r = ((y = f == null ? void 0 : f.get(t.value)) == null ? void 0 : y.title) || "", m = -1;
230
+ for (const [C, k] of g.entries()) {
231
231
  const S = k.title;
232
232
  if (typeof S != "string" || typeof C == "string")
233
233
  break;
@@ -237,94 +237,94 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
237
237
  }
238
238
  const _ = new RegExp(` \\((${i.Common.Device_1}|${i.Common.Device_2})\\)`);
239
239
  let T = r, u = 3;
240
- S.indexOf(T) === -1 && (T = r.replace(/^[^a-zа-я]/i, "").replace(_, ""), u--), S.indexOf(T) === -1 && (T = r.replace(/ \/.*/, ""), u--), S.indexOf(T) === -1 && (T = r.replace(/ \/.*/, ""), T = T.replace(/^[^a-zа-я]/i, "").replace(_, ""), u--), S.indexOf(T) !== -1 && (u <= f || (f = u, v = C));
240
+ S.indexOf(T) === -1 && (T = r.replace(/^[^a-zа-я]/i, "").replace(_, ""), u--), S.indexOf(T) === -1 && (T = r.replace(/ \/.*/, ""), u--), S.indexOf(T) === -1 && (T = r.replace(/ \/.*/, ""), T = T.replace(/^[^a-zа-я]/i, "").replace(_, ""), u--), S.indexOf(T) !== -1 && (u <= m || (m = u, v = C));
241
241
  }
242
242
  t.value = v;
243
243
  }), {
244
244
  regionIndex: t,
245
- optionByRegionIndex: a
245
+ optionByRegionIndex: l
246
246
  };
247
- }, Xe = (e, n, i) => {
248
- const t = F([]), a = () => {
249
- if (e.onlySearcher && n.value) {
250
- t.value = Array.from(n.value.keys());
247
+ }, Xe = (e, a, i) => {
248
+ const t = F([]), l = () => {
249
+ if (e.onlySearcher && a.value) {
250
+ t.value = Array.from(a.value.keys());
251
251
  return;
252
252
  }
253
- let o = [];
253
+ let n = [];
254
254
  if (e.modelValue.length > 1)
255
- o = [...e.modelValue];
255
+ n = [...e.modelValue];
256
256
  else
257
257
  try {
258
- o = JSON.parse(
258
+ n = JSON.parse(
259
259
  localStorage.getItem("ui:project:regionSelector" + e.projectId + ":regionsIndexes")
260
260
  ) ?? [];
261
261
  } catch {
262
262
  }
263
- o.length && (o = o.filter((d) => i.value.has(d))), o.length || (o = Array.from(i.value)), t.value = [...o];
264
- }, l = () => {
263
+ n.length && (n = n.filter((d) => i.value.has(d))), n.length || (n = Array.from(i.value)), t.value = [...n];
264
+ }, o = () => {
265
265
  t.value.length ? localStorage.setItem("ui:project:regionSelector:" + e.projectId + ":regionsIndexes", JSON.stringify(t.value)) : localStorage.removeItem("ui:project:regionSelector:" + e.projectId + ":regionsIndexes");
266
266
  };
267
267
  return L(t, () => {
268
- l();
269
- }), e.addCompare && a(), {
268
+ o();
269
+ }), e.addCompare && l(), {
270
270
  regionsIndexes: t
271
271
  };
272
272
  }, Ze = (e) => {
273
- const n = M(() => Ie(e.forFrequency, e.autoRegion, e.searchers)), i = M(() => n.value.get(a.searcherKey.value) || Se), t = M(() => {
273
+ const a = M(() => Ie(e.forFrequency, e.autoRegion, e.searchers)), i = M(() => a.value.get(l.searcherKey.value) || Se), t = M(() => {
274
274
  const r = /* @__PURE__ */ new Set();
275
- return n.value.forEach((f) => {
275
+ return a.value.forEach((m) => {
276
276
  var y;
277
- (y = f.regions) == null || y.forEach((C) => {
277
+ (y = m.regions) == null || y.forEach((C) => {
278
278
  C.index !== -1 && C.index !== I && r.add(C.index);
279
279
  });
280
280
  }), r;
281
- }), a = He(e, n), l = Qe(e, i), o = Xe(e, n, t);
282
- L(n, () => {
283
- var f, y, C, k;
284
- if (e.onlySearcher ? o.regionsIndexes.value = Array.from(n.value.keys()) : o.regionsIndexes.value = o.regionsIndexes.value.filter((S) => t.value.has(S)), a.searcherKey.value === -1) return;
285
- let r = n.value.keys().next().value;
286
- n.value.forEach((S) => {
281
+ }), l = He(e, a), o = Qe(e, i), n = Xe(e, a, t);
282
+ L(a, () => {
283
+ var m, y, C, k;
284
+ if (e.onlySearcher ? n.regionsIndexes.value = Array.from(a.value.keys()) : n.regionsIndexes.value = n.regionsIndexes.value.filter((S) => t.value.has(S)), l.searcherKey.value === -1) return;
285
+ let r = a.value.keys().next().value;
286
+ a.value.forEach((S) => {
287
287
  var _, T, u;
288
- if (e.onlySearcher && S.key === a.searcherKey.value) {
289
- r = a.searcherKey.value;
288
+ if (e.onlySearcher && S.key === l.searcherKey.value) {
289
+ r = l.searcherKey.value;
290
290
  return;
291
291
  }
292
- if (l.regionIndex.value && ((_ = S.regionByIndex) != null && _.has(l.regionIndex.value)) && (r = S.key), !e.onlySearcher) {
292
+ if (o.regionIndex.value && ((_ = S.regionByIndex) != null && _.has(o.regionIndex.value)) && (r = S.key), !e.onlySearcher) {
293
293
  let s;
294
- r !== void 0 && (s = (T = n.value.get(r)) == null ? void 0 : T.regionByIndex);
295
- const c = (u = n.value.get(S.key)) == null ? void 0 : u.regionByIndex;
294
+ r !== void 0 && (s = (T = a.value.get(r)) == null ? void 0 : T.regionByIndex);
295
+ const c = (u = a.value.get(S.key)) == null ? void 0 : u.regionByIndex;
296
296
  s != null && s.has(I) && !(c != null && c.has(I)) && (r = S.key);
297
297
  }
298
- }), r !== void 0 && (a.searcherKey.value = r), l.regionIndex.value !== void 0 && !((y = (f = i.value) == null ? void 0 : f.regionByIndex) != null && y.has(l.regionIndex.value)) && (l.regionIndex.value = (k = (C = i.value) == null ? void 0 : C.regions) == null ? void 0 : k.keys().next().value);
298
+ }), r !== void 0 && (l.searcherKey.value = r), o.regionIndex.value !== void 0 && !((y = (m = i.value) == null ? void 0 : m.regionByIndex) != null && y.has(o.regionIndex.value)) && (o.regionIndex.value = (k = (C = i.value) == null ? void 0 : C.regions) == null ? void 0 : k.keys().next().value);
299
299
  }, { immediate: !0 });
300
300
  const d = () => {
301
- if (!(a.searcherKey.value === -1 || a.searcherKey.value === I))
302
- return a.searcherKey.value;
303
- }, m = () => {
304
- if (e.onlySearcher || l.regionIndex.value === I) return;
305
- let r = l.regionIndex.value;
301
+ if (!(l.searcherKey.value === -1 || l.searcherKey.value === I))
302
+ return l.searcherKey.value;
303
+ }, g = () => {
304
+ if (e.onlySearcher || o.regionIndex.value === I) return;
305
+ let r = o.regionIndex.value;
306
306
  if (e.forFrequency) {
307
- const f = l.regionIndex.value, y = Ye(e.forFrequency, { searcher_key: d(), key: f }, e.searchers);
307
+ const m = o.regionIndex.value, y = Ye(e.forFrequency, { searcher_key: d(), key: m }, e.searchers);
308
308
  r = y == null ? void 0 : y.index;
309
309
  }
310
310
  return r;
311
- }, g = () => {
311
+ }, f = () => {
312
312
  const r = d();
313
313
  if (r !== void 0)
314
- return n.value.get(r);
314
+ return a.value.get(r);
315
315
  };
316
316
  return {
317
- selectSearcher: a,
318
- selectRegion: l,
319
- compare: o,
320
- searcherByKey: n,
317
+ selectSearcher: l,
318
+ selectRegion: o,
319
+ compare: n,
320
+ searcherByKey: a,
321
321
  allRegionsIndexes: t,
322
- getSearcher: g,
322
+ getSearcher: f,
323
323
  getRegion: () => {
324
- var f, y;
325
- const r = m();
324
+ var m, y;
325
+ const r = g();
326
326
  if (r !== void 0)
327
- return (y = (f = g()) == null ? void 0 : f.regionByIndex) == null ? void 0 : y.get(r);
327
+ return (y = (m = f()) == null ? void 0 : m.regionByIndex) == null ? void 0 : y.get(r);
328
328
  }
329
329
  };
330
330
  }, et = /* @__PURE__ */ P({
@@ -348,51 +348,51 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
348
348
  modelValueSingleModifiers: {}
349
349
  }),
350
350
  emits: /* @__PURE__ */ O(["compareRegions"], ["update:modelValue", "update:modelValueSingle"]),
351
- setup(e, { expose: n, emit: i }) {
352
- const t = e, a = D(e, "modelValue"), l = D(e, "modelValueSingle"), o = i, {
351
+ setup(e, { expose: a, emit: i }) {
352
+ const t = e, l = D(e, "modelValue"), o = D(e, "modelValueSingle"), n = i, {
353
353
  selectSearcher: d,
354
- selectRegion: m,
355
- compare: g,
354
+ selectRegion: g,
355
+ compare: f,
356
356
  searcherByKey: v,
357
357
  allRegionsIndexes: r,
358
- getSearcher: f,
358
+ getSearcher: m,
359
359
  getRegion: y
360
360
  } = Ze(t), C = () => {
361
361
  var k;
362
362
  if (window.fieldTemplates && ((k = window.fieldTemplates) != null && k.openSelectorRegions)) {
363
363
  window.fieldTemplates.openSelectorRegions(
364
364
  v.value,
365
- g.regionsIndexes.value,
366
- (S) => g.regionsIndexes.value = S
365
+ f.regionsIndexes.value,
366
+ (S) => f.regionsIndexes.value = S
367
367
  );
368
368
  return;
369
369
  }
370
- o("compareRegions", v.value);
370
+ n("compareRegions", v.value);
371
371
  };
372
- return L([m.regionIndex, d.searcherKey, g.regionsIndexes], () => {
373
- if (d.searcherKey.value === -1 && g.regionsIndexes.value.length) {
374
- if (JSON.stringify(a.value) === JSON.stringify(g.regionsIndexes.value))
372
+ return L([g.regionIndex, d.searcherKey, f.regionsIndexes], () => {
373
+ if (d.searcherKey.value === -1 && f.regionsIndexes.value.length) {
374
+ if (JSON.stringify(l.value) === JSON.stringify(f.regionsIndexes.value))
375
375
  return;
376
- a.value = [...g.regionsIndexes.value];
376
+ l.value = [...f.regionsIndexes.value];
377
377
  } else
378
- a.value = [t.onlySearcher ? d.searcherKey.value : m.regionIndex.value];
378
+ l.value = [t.onlySearcher ? d.searcherKey.value : g.regionIndex.value];
379
379
  !t.onlySearcher && !r.value.size && (d.searcherKey.value = I);
380
- }), l.value && L(l, () => {
381
- a.value = [l.value];
382
- }, { immediate: !0 }), L(a, () => {
380
+ }), o.value && L(o, () => {
381
+ l.value = [o.value];
382
+ }, { immediate: !0 }), L(l, () => {
383
383
  var k, S, _, T, u;
384
- if (a.value[0] && (l.value = a.value[0]), t.onlySearcher) {
385
- if (!a.value.length || a.value.length === 1 && !v.value.has(a.value[0])) {
384
+ if (l.value[0] && (o.value = l.value[0]), t.onlySearcher) {
385
+ if (!l.value.length || l.value.length === 1 && !v.value.has(l.value[0])) {
386
386
  let s = v.value.keys().next().value;
387
- s !== void 0 && (a.value = [s]);
387
+ s !== void 0 && (l.value = [s]);
388
388
  return;
389
389
  }
390
- if (a.value.length > 1 && JSON.stringify(a.value) !== JSON.stringify(g.regionsIndexes.value)) {
391
- a.value = [...g.regionsIndexes.value];
390
+ if (l.value.length > 1 && JSON.stringify(l.value) !== JSON.stringify(f.regionsIndexes.value)) {
391
+ l.value = [...f.regionsIndexes.value];
392
392
  return;
393
393
  }
394
394
  } else {
395
- let s = [...new Set(a.value)], c = (S = (k = v.value.values().next().value) == null ? void 0 : k.regionByIndex) == null ? void 0 : S.keys().next().value;
395
+ let s = [...new Set(l.value)], c = (S = (k = v.value.values().next().value) == null ? void 0 : k.regionByIndex) == null ? void 0 : S.keys().next().value;
396
396
  if (t.forFrequency && (c = (u = (T = (_ = v.value.values().next().value) == null ? void 0 : _.regionByIndex) == null ? void 0 : T.values().next().value) == null ? void 0 : u.key), !s.length)
397
397
  c !== void 0 && s.push(c);
398
398
  else if (s.length === 1) {
@@ -404,25 +404,25 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
404
404
  })), !p.has(s[0]) && s[0] !== -2 && (s = [], c !== void 0 && s.push(c));
405
405
  } else
406
406
  s = s.filter((p) => r.value.has(p)), !s.length && c !== void 0 && s.push(c);
407
- if (JSON.stringify(a.value) !== JSON.stringify(s)) {
408
- a.value = s;
407
+ if (JSON.stringify(l.value) !== JSON.stringify(s)) {
408
+ l.value = s;
409
409
  return;
410
410
  }
411
411
  }
412
- if (!(a.value.length === 1 && a.value[0] === (t.onlySearcher ? d.searcherKey.value : m.regionIndex.value)))
412
+ if (!(l.value.length === 1 && l.value[0] === (t.onlySearcher ? d.searcherKey.value : g.regionIndex.value)))
413
413
  if (t.onlySearcher) {
414
- if (a.value.length === 1) {
415
- d.searcherKey.value = a.value[0];
414
+ if (l.value.length === 1) {
415
+ d.searcherKey.value = l.value[0];
416
416
  return;
417
417
  }
418
418
  d.searcherKey.value = -1;
419
419
  return;
420
- } else if (a.value.length === 1 && d.searcherKey.value !== -1) {
421
- m.regionIndex.value = a.value[0];
420
+ } else if (l.value.length === 1 && d.searcherKey.value !== -1) {
421
+ g.regionIndex.value = l.value[0];
422
422
  let s;
423
423
  for (const c of v.value.values()) {
424
424
  for (const p of c.regionByIndex.values())
425
- if ((t.forFrequency ? p.key : p.index) === m.regionIndex.value) {
425
+ if ((t.forFrequency ? p.key : p.index) === g.regionIndex.value) {
426
426
  s = c.key;
427
427
  break;
428
428
  }
@@ -431,9 +431,9 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
431
431
  }
432
432
  s !== void 0 && (d.searcherKey.value = s);
433
433
  } else
434
- d.searcherKey.value = -1, g.regionsIndexes.value = [...a.value];
435
- }, { immediate: !0 }), n({
436
- getSearcher: f,
434
+ d.searcherKey.value = -1, f.regionsIndexes.value = [...l.value];
435
+ }, { immediate: !0 }), a({
436
+ getSearcher: m,
437
437
  getRegion: y
438
438
  }), (k, S) => (x(), w("div", {
439
439
  class: Q({
@@ -451,9 +451,9 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
451
451
  !k.onlySearcher && h(d).searcherKey.value !== -1 ? (x(), B(re, {
452
452
  key: 0,
453
453
  class: "top-select-region",
454
- options: h(m).optionByRegionIndex.value,
455
- modelValue: h(m).regionIndex.value,
456
- "onUpdate:modelValue": S[1] || (S[1] = (_) => h(m).regionIndex.value = _),
454
+ options: h(g).optionByRegionIndex.value,
455
+ modelValue: h(g).regionIndex.value,
456
+ "onUpdate:modelValue": S[1] || (S[1] = (_) => h(g).regionIndex.value = _),
457
457
  name: k.forFrequency ? "region_key" : "region_index",
458
458
  addChanger: k.addChanger,
459
459
  "data-top-icon": k.addRegionIcon ? "" : void 0
@@ -462,7 +462,7 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
462
462
  key: 1,
463
463
  name: "compare",
464
464
  onClick: C,
465
- "data-count-compare-regions-indexes": h(g).regionsIndexes.value.length
465
+ "data-count-compare-regions-indexes": h(f).regionsIndexes.value.length
466
466
  }, {
467
467
  default: b(() => [
468
468
  z(K(k.$i18n.Common.Selected_regions), 1)
@@ -522,12 +522,12 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
522
522
  name: "Turquoise",
523
523
  color_id: "10"
524
524
  }
525
- ], me = (e) => "-" + e, H = (e) => e[0] === "-" ? e.substring(1) : e, ne = (e, n) => {
525
+ ], ge = (e) => "-" + e, H = (e) => e[0] === "-" ? e.substring(1) : e, ae = (e, a) => {
526
526
  e = H(e);
527
- const i = n.find((t) => t.id === e);
527
+ const i = a.find((t) => t.id === e);
528
528
  if (i)
529
529
  return i;
530
- }, nt = ["data-tag_id", "data-tag_color_id", "title"], ae = /* @__PURE__ */ P({
530
+ }, at = ["data-tag_id", "data-tag_color_id", "title"], le = /* @__PURE__ */ P({
531
531
  __name: "tagIcon",
532
532
  props: {
533
533
  id: {},
@@ -536,18 +536,18 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
536
536
  state: {}
537
537
  },
538
538
  setup(e) {
539
- return (n, i) => (x(), w("div", {
539
+ return (a, i) => (x(), w("div", {
540
540
  class: Q({
541
541
  "top-tagSelector_tagIcon": !0,
542
- "top-tagSelector-active": !!n.state,
543
- "top-tagSelector-excluded": n.state === "excluded"
542
+ "top-tagSelector-active": !!a.state,
543
+ "top-tagSelector-excluded": a.state === "excluded"
544
544
  }),
545
- "data-tag_id": n.id,
546
- "data-tag_color_id": n.colorId,
547
- title: n.name
548
- }, null, 10, nt));
545
+ "data-tag_id": a.id,
546
+ "data-tag_color_id": a.colorId,
547
+ title: a.name
548
+ }, null, 10, at));
549
549
  }
550
- }), at = ["contenteditable", "onKeydown"], ge = /* @__PURE__ */ P({
550
+ }), lt = ["contenteditable", "onKeydown"], fe = /* @__PURE__ */ P({
551
551
  __name: "tagPopupListItem",
552
552
  props: /* @__PURE__ */ O({
553
553
  editable: { type: Boolean },
@@ -564,72 +564,72 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
564
564
  nameModifiers: {}
565
565
  }),
566
566
  emits: /* @__PURE__ */ O(["update:name", "unselect", "exclude", "select"], ["update:name"]),
567
- setup(e, { emit: n }) {
568
- const i = e, t = n, a = D(e, "name"), l = F(null), o = M(() => navigator.userAgent.indexOf("Firefox") != -1 ? {
567
+ setup(e, { emit: a }) {
568
+ const i = e, t = a, l = D(e, "name"), o = F(null), n = M(() => navigator.userAgent.indexOf("Firefox") != -1 ? {
569
569
  contenteditable: d.value,
570
- onpaste: (f) => f.preventDefault()
571
- } : {}), d = F(!1), m = async () => {
572
- var f;
573
- d.value = !0, await be(), (f = l.value) == null || f.focus();
574
- }, g = () => {
570
+ onpaste: (m) => m.preventDefault()
571
+ } : {}), d = F(!1), g = async () => {
572
+ var m;
573
+ d.value = !0, await be(), (m = o.value) == null || m.focus();
574
+ }, f = () => {
575
575
  var y;
576
- const f = (y = l.value) == null ? void 0 : y.innerText;
577
- if (!f) return v();
578
- l.value && (l.value.innerText = f), d.value = !1, t("update:name", f);
576
+ const m = (y = o.value) == null ? void 0 : y.innerText;
577
+ if (!m) return v();
578
+ o.value && (o.value.innerText = m), d.value = !1, t("update:name", m);
579
579
  }, v = async () => {
580
- l.value && (l.value.innerText = i.name), d.value = !1;
581
- }, r = (f) => {
580
+ o.value && (o.value.innerText = i.name), d.value = !1;
581
+ }, r = (m) => {
582
582
  if (d.value || i.disabled) return;
583
583
  let y = "selected";
584
- i.canExclude && (f.ctrlKey || f.metaKey) && (y = "excluded"), i.state == y && (y = ""), y === "" && t("unselect"), y === "selected" && t("select"), y === "excluded" && t("exclude");
584
+ i.canExclude && (m.ctrlKey || m.metaKey) && (y = "excluded"), i.state == y && (y = ""), y === "" && t("unselect"), y === "selected" && t("select"), y === "excluded" && t("exclude");
585
585
  };
586
- return (f, y) => (x(), B(se, {
586
+ return (m, y) => (x(), B(se, {
587
587
  class: Q({
588
588
  "top-tagSelector_tagListItem": !0,
589
589
  "top-tagSelector_tagListItem-inEdit": d.value,
590
- "top-tagSelector_tagListItem-disabled": f.disabled,
591
- "top-tagSelector_tagListItem-canExclude": f.canExclude,
592
- "top-tagSelector-active": !!f.state,
593
- "top-tagSelector-excluded": f.state === "excluded"
590
+ "top-tagSelector_tagListItem-disabled": m.disabled,
591
+ "top-tagSelector_tagListItem-canExclude": m.canExclude,
592
+ "top-tagSelector-active": !!m.state,
593
+ "top-tagSelector-excluded": m.state === "excluded"
594
594
  }),
595
595
  onClick: j(r, ["stop"])
596
596
  }, {
597
597
  default: b(() => [
598
- A(ae, {
599
- id: f.id,
600
- name: a.value,
601
- colorId: f.colorId,
602
- state: f.state
598
+ A(le, {
599
+ id: m.id,
600
+ name: l.value,
601
+ colorId: m.colorId,
602
+ state: m.state
603
603
  }, null, 8, ["id", "name", "colorId", "state"]),
604
604
  ye("span", pe({
605
605
  ref_key: "elName",
606
- ref: l,
606
+ ref: o,
607
607
  class: "top-tagSelector_tagListItemName",
608
608
  contenteditable: d.value ? "plaintext-only" : !1
609
- }, o.value, {
609
+ }, n.value, {
610
610
  onKeydown: [
611
- de(j(g, ["stop"]), ["enter"]),
611
+ de(j(f, ["stop"]), ["enter"]),
612
612
  de(j(v, ["stop"]), ["esc"])
613
613
  ]
614
- }), K(a.value), 17, at),
615
- f.editable ? (x(), w(W, { key: 0 }, [
614
+ }), K(l.value), 17, lt),
615
+ m.editable ? (x(), w(W, { key: 0 }, [
616
616
  d.value ? (x(), w("span", {
617
617
  key: 1,
618
618
  "data-top-icon": "",
619
619
  class: "top-tagSelector_edit",
620
- onClick: j(g, ["stop"])
620
+ onClick: j(f, ["stop"])
621
621
  })) : (x(), w("span", {
622
622
  key: 0,
623
623
  "data-top-icon": "",
624
624
  class: "top-tagSelector_edit",
625
- onClick: m
625
+ onClick: g
626
626
  }))
627
627
  ], 64)) : q("", !0)
628
628
  ]),
629
629
  _: 1
630
630
  }, 8, ["class"]));
631
631
  }
632
- }), lt = { key: 1 }, ke = /* @__PURE__ */ P({
632
+ }), ot = { key: 1 }, ke = /* @__PURE__ */ P({
633
633
  inheritAttrs: !1,
634
634
  __name: "popupOpener",
635
635
  props: /* @__PURE__ */ O({
@@ -649,59 +649,59 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
649
649
  }),
650
650
  emits: ["update:modelValue"],
651
651
  setup(e) {
652
- const n = e, i = D(e, "modelValue"), t = n.useTopButton ? Y : "div", a = n.useTopButton ? "html" : "default", l = {
652
+ const a = e, i = D(e, "modelValue"), t = a.useTopButton ? Y : "div", l = a.useTopButton ? "html" : "default", o = {
653
653
  model: i,
654
- mode: n.mode,
655
- targetId: n.targetId,
656
- filters: n.filters,
657
- payload: n.payload
654
+ mode: a.mode,
655
+ targetId: a.targetId,
656
+ filters: a.filters,
657
+ payload: a.payload
658
658
  };
659
- return (o, d) => {
660
- const m = Be("top-data");
661
- return x(), B(Ae, { id: o.id }, {
659
+ return (n, d) => {
660
+ const g = Be("top-data");
661
+ return x(), B(Ae, { id: n.id }, {
662
662
  default: b(() => [
663
663
  Ve((x(), B(we(h(t)), pe({
664
664
  class: {
665
665
  "top-tagSelector": !0,
666
- "top-tagSelector-filter": n.mode === "filter",
667
- "top-tagSelector-setter_single": n.mode === "setter" && !o.filters,
668
- "top-tagSelector-setter_several": n.mode === "setter" && o.filters,
666
+ "top-tagSelector-filter": a.mode === "filter",
667
+ "top-tagSelector-setter_single": a.mode === "setter" && !n.filters,
668
+ "top-tagSelector-setter_several": a.mode === "setter" && n.filters,
669
669
  "top-tagSelector-selectedOne": !i.value.length || i.value.length === 1,
670
670
  "top-tagSelector-toTwoLine": i.value.length > 5
671
671
  },
672
672
  color: "theme",
673
673
  styling: ""
674
- }, o.$attrs), {
675
- [h(a)]: b(() => [
676
- !i.value.length && o.mode === "filter" ? (x(), B(ae, {
674
+ }, n.$attrs), {
675
+ [h(l)]: b(() => [
676
+ !i.value.length && n.mode === "filter" ? (x(), B(le, {
677
677
  key: 0,
678
678
  id: "all",
679
679
  colorId: "",
680
- name: o.$i18n.Common.All_tags ?? "",
680
+ name: n.$i18n.Common.All_tags ?? "",
681
681
  state: ""
682
682
  }, null, 8, ["name"])) : q("", !0),
683
- o.mode === "setter" && o.filters ? (x(), w("div", lt, [
684
- Me(o.$slots, "default")
685
- ])) : (x(!0), w(W, { key: 2 }, ie(i.value, (g) => {
683
+ n.mode === "setter" && n.filters ? (x(), w("div", ot, [
684
+ Me(n.$slots, "default")
685
+ ])) : (x(!0), w(W, { key: 2 }, ie(i.value, (f) => {
686
686
  var v, r;
687
- return x(), B(ae, {
688
- id: h(H)(g),
689
- colorId: ((v = h(ne)(g, o.tags)) == null ? void 0 : v.color_id) ?? "",
690
- name: ((r = h(ne)(g, o.tags)) == null ? void 0 : r.name) ?? "",
691
- state: h(H)(g) === g ? "selected" : "excluded"
687
+ return x(), B(le, {
688
+ id: h(H)(f),
689
+ colorId: ((v = h(ae)(f, n.tags)) == null ? void 0 : v.color_id) ?? "",
690
+ name: ((r = h(ae)(f, n.tags)) == null ? void 0 : r.name) ?? "",
691
+ state: h(H)(f) === f ? "selected" : "excluded"
692
692
  }, null, 8, ["id", "colorId", "name", "state"]);
693
693
  }), 256))
694
694
  ]),
695
695
  _: 2
696
696
  }, 1040, ["class"])), [
697
- [m, l, "topTagSelectorTarget"]
697
+ [g, o, "topTagSelectorTarget"]
698
698
  ])
699
699
  ]),
700
700
  _: 3
701
701
  }, 8, ["id"]);
702
702
  };
703
703
  }
704
- }), ot = /* @__PURE__ */ P({
704
+ }), nt = /* @__PURE__ */ P({
705
705
  __name: "tagSelector",
706
706
  props: /* @__PURE__ */ O({
707
707
  modelValue: {},
@@ -719,42 +719,42 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
719
719
  },
720
720
  modelModifiers: {},
721
721
  tags: {
722
- default: $e(tt)
722
+ default: Ke(tt)
723
723
  },
724
724
  tagsModifiers: {}
725
725
  }),
726
726
  emits: /* @__PURE__ */ O(["selector", "setter", "tagsChanged"], ["update:modelValue", "update:tags"]),
727
- setup(e, { emit: n }) {
728
- const i = R(), t = e, a = D(e, "modelValue"), l = D(e, "tags"), o = n, d = Le((u, s) => {
729
- o(u, s);
727
+ setup(e, { emit: a }) {
728
+ const i = R(), t = e, l = D(e, "modelValue"), o = D(e, "tags"), n = a, d = Le((u, s) => {
729
+ n(u, s);
730
730
  }, t.emitDelay);
731
- t.singleMode && !a.value.length && (a.value = [l.value[0].id]);
732
- const m = t.id ?? "top-popup-id-" + Math.random(), g = F("add"), v = () => {
731
+ t.singleMode && !l.value.length && (l.value = [o.value[0].id]);
732
+ const g = t.id ?? "top-popup-id-" + Math.random(), f = F("add"), v = () => {
733
733
  var c;
734
734
  const u = " " + ((c = i.Common.Tags) == null ? void 0 : c.toLowerCase()), s = /* @__PURE__ */ new Map();
735
735
  return s.set("add", { value: "add", title: i.Common.Add + u }), s.set("replace", { value: "replace", title: i.Common.Replace + u }), s.set("delete", { value: "delete", title: i.Common.Delete + u }), s;
736
736
  };
737
- let r = Ee({
738
- model: a,
737
+ let r = $e({
738
+ model: l,
739
739
  mode: "filter",
740
740
  targetId: void 0,
741
741
  filters: void 0,
742
742
  payload: void 0
743
743
  });
744
- L(a, () => {
745
- d("selector", a.value);
744
+ L(l, () => {
745
+ d("selector", l.value);
746
746
  });
747
- const f = M(() => {
747
+ const m = M(() => {
748
748
  if (r.value.mode === "setter" && t.maxTagsForSetter && !r.value.filters)
749
749
  return r.value.model.value.length >= t.maxTagsForSetter;
750
750
  }), y = (u) => {
751
751
  if (u !== "all") {
752
752
  if (r.value.model.value.includes(u)) return "selected";
753
- if (r.value.model.value.includes(me(u))) return "excluded";
753
+ if (r.value.model.value.includes(ge(u))) return "excluded";
754
754
  }
755
755
  return u === "all" && !r.value.model.value.length ? "selected" : "";
756
756
  }, C = (u, s) => {
757
- const c = me(u);
757
+ const c = ge(u);
758
758
  let p = r.value.model.value.filter((V) => V !== u && V !== c);
759
759
  s === "select" && p.push(u), s === "exclude" && p.push(c), r.value.mode === "setter" && r.value.targetId !== void 0 && t.requiredForSetter && (p.length || p.push("1"), p.length === 2 && r.value.model.value.length === 1 && r.value.model.value[0] === "1" && (p = p.filter((V) => V !== "1"))), t.singleMode && !r.value.filters && (p.length || (p = r.value.model.value), p.length > 1 && (p = [p[p.length - 1]])), p.sort((V, E) => {
760
760
  if (!t.tags) return 0;
@@ -771,20 +771,20 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
771
771
  }), S = () => {
772
772
  const u = prompt("", "New tag");
773
773
  if (!u || u === "New tag") return;
774
- const s = l.value.length + 1;
775
- l.value.push({
774
+ const s = o.value.length + 1;
775
+ o.value.push({
776
776
  id: String(s),
777
777
  name: u,
778
778
  color_id: String((s - 1) % 10 + 1)
779
- }), o("tagsChanged", l.value);
779
+ }), n("tagsChanged", o.value);
780
780
  }, _ = (u) => {
781
781
  var s;
782
782
  if (r.value = G(u.elPopupOpener, "topTagSelectorTarget"), !r.value) throw new Error("Open popup TopTagSelector required v-data:topTagSelectorTarget");
783
- if (r.value.filters && (g.value = "add", r.value.model.value = []), !((s = J.$) != null && s.ui.sortable)) {
783
+ if (r.value.filters && (f.value = "add", r.value.model.value = []), !((s = J.$) != null && s.ui.sortable)) {
784
784
  console.info("Для работы сортировки требуется глобальная загрузка jQuery UI Sortable");
785
785
  return;
786
786
  }
787
- !J.state.isMobile && !J.state.isMobileUA && l.value && $(u.elPopup).sortable({
787
+ !J.state.isMobile && !J.state.isMobileUA && o.value && $(u.elPopup).sortable({
788
788
  items: 'li:has([data-tag_id]:not([data-tag_id="all"]))',
789
789
  /**
790
790
  * @todo Удалить `[contenteditable="true"]` через пол года после выхода версии firefox с поддержкой contenteditable plaintext-only, включая бета версии
@@ -792,16 +792,16 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
792
792
  cancel: '[contenteditable="plaintext-only"], [contenteditable="true"]',
793
793
  distance: 10,
794
794
  stop: function(c, p) {
795
- if (!l.value) return;
795
+ if (!o.value) return;
796
796
  const V = $(p.item).parent().find("[data-tag_id]"), E = [];
797
797
  V.each((X, U) => {
798
- if (!l.value) return;
798
+ if (!o.value) return;
799
799
  const N = $(U).attr("data-tag_id");
800
800
  E.push(N);
801
- }), l.value.sort((X, U) => {
802
- const N = E.findIndex((le) => le === X.id), Ce = E.findIndex((le) => le === U.id);
801
+ }), o.value.sort((X, U) => {
802
+ const N = E.findIndex((oe) => oe === X.id), Ce = E.findIndex((oe) => oe === U.id);
803
803
  return N - Ce;
804
- }), d("tagsChanged", l.value);
804
+ }), d("tagsChanged", o.value);
805
805
  }
806
806
  });
807
807
  }, T = (u) => {
@@ -811,22 +811,22 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
811
811
  return (u, s) => (x(), w(W, null, [
812
812
  A(ke, {
813
813
  class: "top-select_arrow",
814
- modelValue: a.value,
815
- "onUpdate:modelValue": s[0] || (s[0] = (c) => a.value = c),
816
- id: h(m),
817
- tags: l.value,
814
+ modelValue: l.value,
815
+ "onUpdate:modelValue": s[0] || (s[0] = (c) => l.value = c),
816
+ id: h(g),
817
+ tags: o.value,
818
818
  mode: "filter",
819
819
  useTopButton: ""
820
820
  }, null, 8, ["modelValue", "id", "tags"]),
821
821
  A(he, {
822
- id: h(m),
822
+ id: h(g),
823
823
  class: Q(k.value),
824
824
  onOpen: s[4] || (s[4] = (c) => _(c)),
825
825
  onClose: s[5] || (s[5] = (c) => T(c)),
826
826
  "transition-duration": 50
827
- }, Ke({
827
+ }, Ee({
828
828
  contentList: b(() => [
829
- h(r).mode === "filter" && !u.singleMode ? (x(), B(ge, {
829
+ h(r).mode === "filter" && !u.singleMode ? (x(), B(fe, {
830
830
  key: 0,
831
831
  id: "all",
832
832
  colorId: "",
@@ -834,7 +834,7 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
834
834
  state: h(r).model.value.length ? "" : "selected",
835
835
  onSelect: s[3] || (s[3] = (c) => h(r).model.value = [])
836
836
  }, null, 8, ["name", "state"])) : q("", !0),
837
- (x(!0), w(W, null, ie(l.value, (c) => (x(), B(ge, {
837
+ (x(!0), w(W, null, ie(o.value, (c) => (x(), B(fe, {
838
838
  key: c.id,
839
839
  id: c.id,
840
840
  colorId: c.color_id,
@@ -842,15 +842,15 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
842
842
  state: y(c.id),
843
843
  canExclude: h(r).mode === "filter" && !u.singleMode,
844
844
  editable: u.tagsEditable,
845
- disabled: f.value && y(c.id) === "",
845
+ disabled: m.value && y(c.id) === "",
846
846
  onUnselect: (p) => C(c.id, "unselect"),
847
847
  onSelect: (p) => C(c.id, "select"),
848
848
  onExclude: (p) => C(c.id, "exclude"),
849
849
  "onUpdate:name": (p) => {
850
- c.name = p, h(d)("tagsChanged", l.value);
850
+ c.name = p, h(d)("tagsChanged", o.value);
851
851
  }
852
852
  }, null, 8, ["id", "colorId", "name", "state", "canExclude", "editable", "disabled", "onUnselect", "onSelect", "onExclude", "onUpdate:name"]))), 128)),
853
- u.tagsEditable && l.value.length < u.tagsMax && l.value.length < 20 ? (x(), B(se, {
853
+ u.tagsEditable && o.value.length < u.tagsMax && o.value.length < 20 ? (x(), B(se, {
854
854
  key: 1,
855
855
  "data-top-icon": "",
856
856
  onClick: j(S, ["stop"])
@@ -867,8 +867,8 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
867
867
  name: "header",
868
868
  fn: b(() => [
869
869
  A(re, {
870
- modelValue: g.value,
871
- "onUpdate:modelValue": s[1] || (s[1] = (c) => g.value = c),
870
+ modelValue: f.value,
871
+ "onUpdate:modelValue": s[1] || (s[1] = (c) => f.value = c),
872
872
  options: v()
873
873
  }, null, 8, ["modelValue", "options"])
874
874
  ]),
@@ -887,12 +887,12 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
887
887
  onClick: s[2] || (s[2] = (c) => h(d)("setter", {
888
888
  tagsIds: h(r).model.value,
889
889
  filters: h(r).filters,
890
- filtersAction: g.value,
890
+ filtersAction: f.value,
891
891
  payload: h(r).payload
892
892
  }))
893
893
  }, {
894
894
  default: b(() => [
895
- z(K(g.value === "add" ? u.$i18n.Common.Add : "") + " " + K(g.value === "replace" ? u.$i18n.Common.Replace : "") + " " + K(g.value === "delete" ? u.$i18n.Common.Remove : ""), 1)
895
+ z(K(f.value === "add" ? u.$i18n.Common.Add : "") + " " + K(f.value === "replace" ? u.$i18n.Common.Replace : "") + " " + K(f.value === "delete" ? u.$i18n.Common.Remove : ""), 1)
896
896
  ]),
897
897
  _: 1
898
898
  })
@@ -902,64 +902,64 @@ const qe = { class: "top-selectorCompetitors" }, Pe = { class: "top-ellipsis1" }
902
902
  ]), 1032, ["id", "class"])
903
903
  ], 64));
904
904
  }
905
- }), gt = (e, n) => M(() => ue(e).filter((a) => a.on >= 0 || a.id === n).map((a) => ({
906
- value: a.id,
907
- title: a.url + ` [${a.id}]`,
908
- icon: a.id === ue(n) ? "" : "",
909
- content: a.name
910
- }))), vt = (e, n, i) => {
911
- n || (n = { id: e.id }), n.id = e.id;
912
- const t = Fe.genElPopupOpener("div", n);
913
- return t.classList.add("top-tagSelector"), e.useTopButton && t.classList.add("top-button", "top-color_theme"), e.mode === "filter" && t.classList.add("top-tagSelector-filter"), e.mode === "setter" && !e.filters && t.classList.add("top-tagSelector-setter_single"), e.mode === "setter" && e.filters && t.classList.add("top-tagSelector-setter_several"), t.onclick = (a) => {
914
- a.preventDefault(), a.stopPropagation(), t.onclick = null;
915
- const l = F(e.modelValue), o = {
916
- model: l,
905
+ }), ft = (e, a) => M(() => ue(e).filter((l) => l.on >= 0 || l.id === a).map((l) => ({
906
+ value: l.id,
907
+ title: l.url + ` [${l.id}]`,
908
+ icon: l.id === ue(a) ? "" : "",
909
+ content: l.name
910
+ }))), vt = (e, a, i) => {
911
+ a || (a = { id: e.id }), a.id = e.id;
912
+ const t = Fe.genElPopupOpener("div", a);
913
+ return t.classList.add("top-tagSelector"), e.useTopButton && t.classList.add("top-button", "top-color_theme"), e.mode === "filter" && t.classList.add("top-tagSelector-filter"), e.mode === "setter" && !e.filters && t.classList.add("top-tagSelector-setter_single"), e.mode === "setter" && e.filters && t.classList.add("top-tagSelector-setter_several"), t.onclick = (l) => {
914
+ l.preventDefault(), l.stopPropagation(), t.onclick = null;
915
+ const o = F(e.modelValue), n = {
916
+ model: o,
917
917
  mode: e.mode,
918
918
  targetId: e.targetId,
919
919
  filters: e.filters,
920
920
  payload: e.payload
921
921
  };
922
- G(t, "topTagSelectorTarget", o), delete t.dataset.topPopupDisabled, ce(e.modelValue) || L(l, () => {
923
- e.modelValue = l.value, Z(t, e, i);
922
+ G(t, "topTagSelectorTarget", n), delete t.dataset.topPopupDisabled, ce(e.modelValue) || L(o, () => {
923
+ e.modelValue = o.value, Z(t, e, i);
924
924
  }), t.click();
925
- }, ce(e.modelValue) ? L(e.modelValue, () => Z(t, e, i)) : G(t, "topTagSelectorRender", (a) => {
926
- e.modelValue = a;
927
- const l = G(t, "topTagSelectorTarget");
928
- l && (l.model.value = a), Z(t, e, i);
925
+ }, ce(e.modelValue) ? L(e.modelValue, () => Z(t, e, i)) : G(t, "topTagSelectorRender", (l) => {
926
+ e.modelValue = l;
927
+ const o = G(t, "topTagSelectorTarget");
928
+ o && (o.model.value = l), Z(t, e, i);
929
929
  }), Z(t, e, i), t;
930
- }, yt = (e, n) => {
930
+ }, yt = (e, a) => {
931
931
  var i;
932
- (i = G(e, "topTagSelectorRender")) == null || i(n);
933
- }, Z = (e, n, i) => {
934
- var a;
935
- const t = h(n.modelValue);
936
- if (e.classList.toggle("top-tagSelector-selectedOne", !t.length || t.length === 1), e.classList.toggle("top-tagSelector-toTwoLine", t.length > 5), n.mode === "setter" && n.filters) {
932
+ (i = G(e, "topTagSelectorRender")) == null || i(a);
933
+ }, Z = (e, a, i) => {
934
+ var l;
935
+ const t = h(a.modelValue);
936
+ if (e.classList.toggle("top-tagSelector-selectedOne", !t.length || t.length === 1), e.classList.toggle("top-tagSelector-toTwoLine", t.length > 5), a.mode === "setter" && a.filters) {
937
937
  e.innerHTML = `<div>${i}</div>`;
938
938
  return;
939
939
  }
940
- if (e.innerHTML = "", !t.length && n.mode === "filter") {
941
- const l = ve({
940
+ if (e.innerHTML = "", !t.length && a.mode === "filter") {
941
+ const o = ve({
942
942
  id: "all",
943
943
  colorId: "",
944
- name: ((a = R().Common) == null ? void 0 : a.All_tags) ?? "",
944
+ name: ((l = R().Common) == null ? void 0 : l.All_tags) ?? "",
945
945
  state: ""
946
946
  });
947
- e.append(l);
947
+ e.append(o);
948
948
  }
949
- t.forEach((l) => {
950
- var d, m;
951
- const o = ve({
952
- id: H(l),
953
- colorId: ((d = ne(l, n.tags)) == null ? void 0 : d.color_id) ?? "",
954
- name: ((m = ne(l, n.tags)) == null ? void 0 : m.name) ?? "",
955
- state: H(l) === l ? "selected" : "excluded"
949
+ t.forEach((o) => {
950
+ var d, g;
951
+ const n = ve({
952
+ id: H(o),
953
+ colorId: ((d = ae(o, a.tags)) == null ? void 0 : d.color_id) ?? "",
954
+ name: ((g = ae(o, a.tags)) == null ? void 0 : g.name) ?? "",
955
+ state: H(o) === o ? "selected" : "excluded"
956
956
  });
957
- e.append(o);
957
+ e.append(n);
958
958
  });
959
959
  }, ve = (e) => {
960
- const n = document.createElement("div");
961
- return n.classList.add("top-tagSelector_tagIcon"), n.classList.toggle("top-tagSelector-active", !!e.state), n.classList.toggle("top-tagSelector-excluded", e.state === "excluded"), n.dataset.tag_id = e.id, n.dataset.tag_color_id = e.colorId, n.title = e.name, n;
962
- }, pt = Ue, ht = et, St = ot, It = ke, xt = ae;
960
+ const a = document.createElement("div");
961
+ return a.classList.add("top-tagSelector_tagIcon"), a.classList.toggle("top-tagSelector-active", !!e.state), a.classList.toggle("top-tagSelector-excluded", e.state === "excluded"), a.dataset.tag_id = e.id, a.dataset.tag_color_id = e.colorId, a.title = e.name, a;
962
+ }, pt = Ue, ht = et, St = nt, It = ke, xt = le;
963
963
  export {
964
964
  pt as TopSelectorCompetitors,
965
965
  ht as TopSelectorRegion,
@@ -970,6 +970,6 @@ export {
970
970
  vt as genElTopTagSelectorPopupOpener,
971
971
  Ie as genSearcherByKey,
972
972
  yt as renderElTopTagSelectorPopupOpener,
973
- gt as useItemsFromCompetitors
973
+ ft as useItemsFromCompetitors
974
974
  };
975
975
  //# sourceMappingURL=project.js.map