aptechka 0.63.3 → 0.64.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/lib/Animation-BRqj4VfN.cjs +1 -0
  2. package/lib/{Animation-Cb-klopb.js → Animation-D29tc5VS.js} +5 -4
  3. package/lib/Damped-BD1OQ1fH.cjs +1 -0
  4. package/lib/{Damped-ByZFbNSt.js → Damped-YrqW5V4w.js} +5 -4
  5. package/lib/DragControls-D8BXtKVu.cjs +1 -0
  6. package/lib/DragControls-DGDUw6bM.js +226 -0
  7. package/lib/ScrollSegmentElement-B6gp1q_z.js +459 -0
  8. package/lib/ScrollSegmentElement-DtMMAirz.cjs +1 -0
  9. package/lib/SourceElement-D_YeNqsI.cjs +5 -0
  10. package/lib/SourceElement-jbviggZp.js +217 -0
  11. package/lib/{Store-swP_0ymB.js → Store-0BVty6AZ.js} +2 -1
  12. package/lib/Store-Cd1GlEmZ.cjs +1 -0
  13. package/lib/Tweened-B-AHx93m.cjs +1 -0
  14. package/lib/{Tweened-C4xgzPkR.js → Tweened-_pF0zXXN.js} +10 -9
  15. package/lib/Viewport-DA10iWAO.js +109 -0
  16. package/lib/Viewport-DB0qAZPJ.cjs +1 -0
  17. package/lib/accordion/index.cjs +1 -1
  18. package/lib/accordion/index.js +2 -1
  19. package/lib/animation/index.cjs +1 -1
  20. package/lib/animation/index.js +3 -3
  21. package/lib/attribute/index.cjs +1 -1
  22. package/lib/attribute/index.js +5 -4
  23. package/lib/billboard/index.cjs +1 -1
  24. package/lib/billboard/index.js +2 -1
  25. package/lib/canvas/index.cjs +1 -1
  26. package/lib/canvas/index.js +5 -5
  27. package/lib/controls/index.cjs +1 -1
  28. package/lib/controls/index.js +6 -223
  29. package/lib/css-property/index.cjs +1 -1
  30. package/lib/css-property/index.js +15 -14
  31. package/lib/custom-scrollbar/index.cjs +1 -1
  32. package/lib/custom-scrollbar/index.js +25 -24
  33. package/lib/dev/index.cjs +1 -1
  34. package/lib/dev/index.js +7 -6
  35. package/lib/device/index.cjs +1 -1
  36. package/lib/device/index.js +5 -106
  37. package/lib/{easings-Bni3YAAW.js → easings-BEmRlrDd.js} +15 -15
  38. package/lib/element-CGVl1jA-.js +7 -0
  39. package/lib/element-linked-store/index.cjs +1 -1
  40. package/lib/element-linked-store/index.js +5 -4
  41. package/lib/element-resizer/index.cjs +1 -1
  42. package/lib/element-resizer/index.js +22 -21
  43. package/lib/element-yhcBhsho.cjs +1 -0
  44. package/lib/en3/En3View.d.ts +2 -2
  45. package/lib/en3/en3.d.ts +3 -2
  46. package/lib/en3/index.cjs +3 -3
  47. package/lib/en3/index.js +90 -89
  48. package/lib/iframe/index.cjs +1 -1
  49. package/lib/iframe/index.js +4 -3
  50. package/lib/image/index.cjs +1 -1
  51. package/lib/image/index.js +5 -4
  52. package/lib/{index-euf5anj6.js → index-Bv9zgfdb.js} +3 -2
  53. package/lib/index-DekP7OZe.cjs +1 -0
  54. package/lib/intersector/index.cjs +1 -1
  55. package/lib/intersector/index.js +4 -3
  56. package/lib/ladder/index.cjs +1 -1
  57. package/lib/ladder/index.js +41 -40
  58. package/lib/{layout-DpZo-I0y.js → layout-BSMtwCga.js} +2 -2
  59. package/lib/layout-box/index.cjs +1 -1
  60. package/lib/layout-box/index.js +18 -17
  61. package/lib/loading/index.cjs +1 -1
  62. package/lib/loading/index.js +4 -3
  63. package/lib/masonry-layout/index.cjs +1 -1
  64. package/lib/masonry-layout/index.js +2 -2
  65. package/lib/media/index.cjs +1 -1
  66. package/lib/media/index.js +12 -11
  67. package/lib/morph/index.cjs +1 -1
  68. package/lib/morph/index.js +3 -2
  69. package/lib/need_redo_tweaker/index.cjs +3 -3
  70. package/lib/need_redo_tweaker/index.js +368 -340
  71. package/lib/pixel-perfect/index.cjs +1 -1
  72. package/lib/pixel-perfect/index.js +2 -2
  73. package/lib/pointer/index.cjs +1 -1
  74. package/lib/pointer/index.js +19 -18
  75. package/lib/popover/index.cjs +1 -1
  76. package/lib/popover/index.js +3 -2
  77. package/lib/radio/index.cjs +1 -1
  78. package/lib/radio/index.js +2 -1
  79. package/lib/router/index.cjs +1 -1
  80. package/lib/router/index.js +11 -10
  81. package/lib/scroll/ScrollElement.d.ts +1 -0
  82. package/lib/scroll/index.cjs +1 -1
  83. package/lib/scroll/index.js +448 -437
  84. package/lib/{scroll-Benkuq-t.js → scroll-BWF48oHS.js} +11 -10
  85. package/lib/scroll-CFDCeArT.cjs +1 -0
  86. package/lib/scroll-segment/index.cjs +1 -1
  87. package/lib/scroll-segment/index.js +3 -456
  88. package/lib/sequence/index.cjs +1 -1
  89. package/lib/sequence/index.js +4 -3
  90. package/lib/size-element/index.cjs +1 -1
  91. package/lib/size-element/index.js +2 -1
  92. package/lib/slicer/index.cjs +3 -3
  93. package/lib/slicer/index.js +31 -30
  94. package/lib/source/SourceElement.d.ts +1 -1
  95. package/lib/source/index.cjs +1 -5
  96. package/lib/source/index.js +5 -214
  97. package/lib/store/index.cjs +1 -1
  98. package/lib/store/index.js +14 -13
  99. package/lib/stylesheet-DpnWNVyD.js +24 -0
  100. package/lib/stylesheet-HWF2a3nr.cjs +1 -0
  101. package/lib/ticker/index.cjs +1 -1
  102. package/lib/ticker/index.js +14 -13
  103. package/lib/utils/index.cjs +1 -1
  104. package/lib/utils/index.d.ts +1 -0
  105. package/lib/utils/index.js +124 -127
  106. package/lib/utils/jss.d.ts +0 -1
  107. package/lib/utils/stylesheet.d.ts +2 -0
  108. package/lib/video/index.cjs +1 -1
  109. package/lib/video/index.js +11 -10
  110. package/lib/window-resizer/index.cjs +1 -1
  111. package/lib/window-resizer/index.js +9 -8
  112. package/lib/youtube/index.cjs +1 -1
  113. package/lib/youtube/index.js +12 -11
  114. package/package.json +4 -4
  115. package/lib/Animation-dD_idtTU.cjs +0 -1
  116. package/lib/Damped-B8bmTxAr.cjs +0 -1
  117. package/lib/Store-GokLe_g-.cjs +0 -1
  118. package/lib/Tweened-BsL9FamJ.cjs +0 -1
  119. package/lib/index-Cqw2NKev.cjs +0 -1
  120. package/lib/jss-CRBgdvJ3.cjs +0 -1
  121. package/lib/jss-DtnXPEnq.js +0 -23
  122. package/lib/scroll-DAhSpkhR.cjs +0 -1
@@ -1,10 +1,11 @@
1
1
  var vt = (r) => {
2
2
  throw TypeError(r);
3
3
  };
4
- var Xe = (r, s, t) => s.has(r) || vt("Cannot " + t);
5
- var e = (r, s, t) => (Xe(r, s, "read from private field"), t ? t.call(r) : s.get(r)), o = (r, s, t) => s.has(r) ? vt("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(r) : s.set(r, t), c = (r, s, t, i) => (Xe(r, s, "write to private field"), i ? i.call(r, t) : s.set(r, t), t), l = (r, s, t) => (Xe(r, s, "access private method"), t);
6
- import { i as p } from "../index-euf5anj6.js";
7
- import { S as $, s as K, a as j } from "../Store-swP_0ymB.js";
4
+ var Xe = (r, s, e) => s.has(r) || vt("Cannot " + e);
5
+ var t = (r, s, e) => (Xe(r, s, "read from private field"), e ? e.call(r) : s.get(r)), o = (r, s, e) => s.has(r) ? vt("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(r) : s.set(r, e), c = (r, s, e, i) => (Xe(r, s, "write to private field"), i ? i.call(r, e) : s.set(r, e), e), l = (r, s, e) => (Xe(r, s, "access private method"), e);
6
+ import { i as p } from "../index-Bv9zgfdb.js";
7
+ import "construct-style-sheets-polyfill";
8
+ import { S as $, s as K, a as j } from "../Store-0BVty6AZ.js";
8
9
  import { c as Ut } from "../file-GHShUlue.js";
9
10
  import { d as Xt } from "../function-C10DGppn.js";
10
11
  import { s as Et } from "../gestures-CcXV6fCp.js";
@@ -12,7 +13,7 @@ import "../ticker/index.js";
12
13
  import { c as Oe, u as Qt } from "../string-BlMQbe8b.js";
13
14
  import { i as yt } from "../object-D6MVWB4l.js";
14
15
  import { connector as jt } from "../connector/index.js";
15
- import { ViewportMediaRules as es } from "../device/index.js";
16
+ import { a as es } from "../Viewport-DA10iWAO.js";
16
17
  import { c as ts } from "../math-BOBiC4TN.js";
17
18
  import { t as ss } from "../number-CbdpfO3u.js";
18
19
  import { n as St } from "../polyfills-DJrTJQky.js";
@@ -83,42 +84,42 @@ const ns = /* @__PURE__ */ new Set([
83
84
  "view",
84
85
  "use"
85
86
  ]);
86
- var d, I, y, be, H, D, a, xt, Ct, Lt, Qe, je, Tt, zt, Mt, At, et, tt, Nt, st, it, Rt, nt, Be, ot, rt, at, We, qe;
87
+ var d, I, y, we, H, D, a, xt, Ct, Lt, Qe, je, Tt, zt, Mt, At, et, tt, Nt, st, it, Rt, nt, Be, ot, rt, at, We, qe;
87
88
  const Je = class Je {
88
89
  constructor(...s) {
89
90
  o(this, a);
90
91
  o(this, d, null);
91
92
  o(this, I, /* @__PURE__ */ new Set());
92
93
  o(this, y, /* @__PURE__ */ new Set());
93
- o(this, be);
94
+ o(this, we);
94
95
  o(this, H);
95
96
  o(this, D);
96
97
  o(this, We, (s) => {
97
- e(this, I).forEach((t) => {
98
- t(s);
99
- }), e(this, I).clear();
98
+ t(this, I).forEach((e) => {
99
+ e(s);
100
+ }), t(this, I).clear();
100
101
  });
101
- o(this, qe, (s, t) => {
102
- e(this, y).forEach((i) => {
103
- i(s, t);
104
- }), e(this, y).clear(), l(this, a, it).call(this);
102
+ o(this, qe, (s, e) => {
103
+ t(this, y).forEach((i) => {
104
+ i(s, e);
105
+ }), t(this, y).clear(), l(this, a, it).call(this);
105
106
  });
106
107
  if (p) {
107
- const t = s[0], i = s[1];
108
- c(this, d, l(this, a, xt).call(this, t, i == null ? void 0 : i.forceSvg)), l(this, a, Lt).call(this, i);
108
+ const e = s[0], i = s[1];
109
+ c(this, d, l(this, a, xt).call(this, e, i == null ? void 0 : i.forceSvg)), l(this, a, Lt).call(this, i);
109
110
  }
110
111
  }
111
112
  get node() {
112
- return e(this, d);
113
+ return t(this, d);
113
114
  }
114
115
  set node(s) {
115
- var t;
116
- l(this, a, it).call(this), c(this, d, s), (t = e(this, be)) == null || t.call(this), e(this, d) instanceof Element && c(this, H, [
117
- ...e(this, d).querySelectorAll("store-root")
116
+ var e;
117
+ l(this, a, it).call(this), c(this, d, s), (e = t(this, we)) == null || e.call(this), t(this, d) instanceof Element && c(this, H, [
118
+ ...t(this, d).querySelectorAll("store-root")
118
119
  ]), l(this, a, st).call(this), l(this, a, Qe).call(this);
119
120
  }
120
121
  };
121
- d = new WeakMap(), I = new WeakMap(), y = new WeakMap(), be = new WeakMap(), H = new WeakMap(), D = new WeakMap(), a = new WeakSet(), xt = function(s, t) {
122
+ d = new WeakMap(), I = new WeakMap(), y = new WeakMap(), we = new WeakMap(), H = new WeakMap(), D = new WeakMap(), a = new WeakSet(), xt = function(s, e) {
122
123
  let i = null;
123
124
  if (s instanceof Node)
124
125
  i = s;
@@ -128,7 +129,7 @@ d = new WeakMap(), I = new WeakMap(), y = new WeakMap(), be = new WeakMap(), H =
128
129
  else if (s.includes("<")) {
129
130
  const n = document.createElement("div");
130
131
  n.innerHTML = s, i = n.firstElementChild;
131
- } else ns.has(s) || t ? i = document.createElementNS(
132
+ } else ns.has(s) || e ? i = document.createElementNS(
132
133
  "http://www.w3.org/2000/svg",
133
134
  s
134
135
  ) : i = document.createElement(s);
@@ -139,28 +140,28 @@ d = new WeakMap(), I = new WeakMap(), y = new WeakMap(), be = new WeakMap(), H =
139
140
  return s instanceof HTMLElement || s instanceof SVGElement;
140
141
  }, Lt = function(s) {
141
142
  if (!s) return;
142
- const t = l(this, a, Ct).call(this, e(this, d)), i = s.ref;
143
- delete s.ref, s != null && s.onConnect && (e(this, I).add(s.onConnect), delete s.onConnect), s != null && s.onDisconnect && (e(this, y).add(s.onDisconnect), delete s.onDisconnect);
143
+ const e = l(this, a, Ct).call(this, t(this, d)), i = s.ref;
144
+ delete s.ref, s != null && s.onConnect && (t(this, I).add(s.onConnect), delete s.onConnect), s != null && s.onDisconnect && (t(this, y).add(s.onDisconnect), delete s.onDisconnect);
144
145
  let n, h;
145
146
  for (const u in s) {
146
147
  const m = s[u];
147
- u === "class" && t ? l(this, a, je).call(this, m) : u === "style" && t ? l(this, a, Mt).call(this, m) : u === "lightChildren" ? l(this, a, Be).call(this, e(this, d), m) : u === "children" ? l(this, a, Be).call(this, e(this, d) instanceof Element ? e(this, d).shadowRoot || e(this, d) : e(this, d), m) : u === "connectedClass" ? e(this, I).add(() => {
148
+ u === "class" && e ? l(this, a, je).call(this, m) : u === "style" && e ? l(this, a, Mt).call(this, m) : u === "lightChildren" ? l(this, a, Be).call(this, t(this, d), m) : u === "children" ? l(this, a, Be).call(this, t(this, d) instanceof Element ? t(this, d).shadowRoot || t(this, d) : t(this, d), m) : u === "connectedClass" ? t(this, I).add(() => {
148
149
  requestAnimationFrame(() => {
149
- e(this, d).classList.add(
150
+ t(this, d).classList.add(
150
151
  typeof m == "boolean" ? "connected" : m
151
152
  );
152
153
  });
153
154
  }) : u.startsWith("on") ? (h || (h = {}), h[u] = m) : (n || (n = {}), n[u] = m);
154
155
  }
155
- l(this, a, Rt).call(this, n), l(this, a, Nt).call(this, h), i && (typeof i == "function" ? i(e(this, d)) : i.current = e(this, d)), l(this, a, Qe).call(this);
156
+ l(this, a, Rt).call(this, n), l(this, a, Nt).call(this, h), i && (typeof i == "function" ? i(t(this, d)) : i.current = t(this, d)), l(this, a, Qe).call(this);
156
157
  }, Qe = function() {
157
- if (p && (e(this, y).size || e(this, I).size)) {
158
- const s = e(this, d) instanceof DocumentFragment ? e(this, d).firstChild : e(this, d);
159
- c(this, be, jt.subscribe(
158
+ if (p && (t(this, y).size || t(this, I).size)) {
159
+ const s = t(this, d) instanceof DocumentFragment ? t(this, d).firstChild : t(this, d);
160
+ c(this, we, jt.subscribe(
160
161
  s,
161
162
  {
162
- connectCallback: e(this, We),
163
- disconnectCallback: e(this, qe),
163
+ connectCallback: t(this, We),
164
+ disconnectCallback: t(this, qe),
164
165
  unsubscribeAfterDisconnect: !0,
165
166
  maxWaitSec: 20
166
167
  }
@@ -169,82 +170,82 @@ d = new WeakMap(), I = new WeakMap(), y = new WeakMap(), be = new WeakMap(), H =
169
170
  }, je = function(s) {
170
171
  if (s) {
171
172
  if (typeof s == "string")
172
- e(this, d).classList.add(s);
173
+ t(this, d).classList.add(s);
173
174
  else if (Array.isArray(s))
174
- s.forEach((t) => {
175
- t && l(this, a, je).call(this, t);
175
+ s.forEach((e) => {
176
+ e && l(this, a, je).call(this, e);
176
177
  });
177
178
  else if (typeof s == "object")
178
179
  if (s instanceof $)
179
180
  l(this, a, Tt).call(this, s);
180
181
  else
181
- for (const t in s) {
182
- const i = s[t];
183
- i instanceof $ ? l(this, a, zt).call(this, t, i) : i ? e(this, d).classList.add(t) : e(this, d).classList.remove(t);
182
+ for (const e in s) {
183
+ const i = s[e];
184
+ i instanceof $ ? l(this, a, zt).call(this, e, i) : i ? t(this, d).classList.add(e) : t(this, d).classList.remove(e);
184
185
  }
185
186
  } else return;
186
187
  }, Tt = function(s) {
187
- e(this, y).add(
188
- s.subscribe(({ current: t, previous: i }) => {
188
+ t(this, y).add(
189
+ s.subscribe(({ current: e, previous: i }) => {
189
190
  i && [i].flat().forEach((n) => {
190
- n && e(this, d).classList.remove(n);
191
- }), t && [t].flat().forEach((n) => {
192
- n && e(this, d).classList.add(n);
191
+ n && t(this, d).classList.remove(n);
192
+ }), e && [e].flat().forEach((n) => {
193
+ n && t(this, d).classList.add(n);
193
194
  });
194
195
  })
195
196
  );
196
- }, zt = function(s, t) {
197
- e(this, y).add(
198
- t.subscribe(({ current: i }) => {
199
- i ? e(this, d).classList.add(s) : e(this, d).classList.remove(s);
197
+ }, zt = function(s, e) {
198
+ t(this, y).add(
199
+ e.subscribe(({ current: i }) => {
200
+ i ? t(this, d).classList.add(s) : t(this, d).classList.remove(s);
200
201
  })
201
202
  );
202
203
  }, Mt = function(s) {
203
204
  if (!s)
204
205
  return;
205
- e(this, d).tagName === "style" || e(this, d).tagName === "STYLE" ? l(this, a, et).call(this, s) : l(this, a, At).call(this, s);
206
+ t(this, d).tagName === "style" || t(this, d).tagName === "STYLE" ? l(this, a, et).call(this, s) : l(this, a, At).call(this, s);
206
207
  }, At = function(s) {
207
- for (const t in s) {
208
- const i = t, n = s[i];
209
- n instanceof $ ? e(this, y).add(
208
+ for (const e in s) {
209
+ const i = e, n = s[i];
210
+ n instanceof $ ? t(this, y).add(
210
211
  n.subscribe(({ current: h }) => {
211
212
  l(this, a, tt).call(this, i, h);
212
213
  })
213
214
  ) : l(this, a, tt).call(this, i, n);
214
215
  }
215
216
  }, et = function(s) {
216
- for (const t in s) {
217
- const i = s[t];
217
+ for (const e in s) {
218
+ const i = s[e];
218
219
  if (typeof i == "object" && !(i instanceof $))
219
- e(this, d).appendChild(
220
- document.createTextNode(`${t} {`)
221
- ), l(this, a, et).call(this, i), e(this, d).appendChild(document.createTextNode("}"));
220
+ t(this, d).appendChild(
221
+ document.createTextNode(`${e} {`)
222
+ ), l(this, a, et).call(this, i), t(this, d).appendChild(document.createTextNode("}"));
222
223
  else if (i instanceof $) {
223
224
  const n = document.createTextNode("");
224
- e(this, y).add(
225
+ t(this, y).add(
225
226
  i.subscribe((h) => {
226
- h.current ? n.nodeValue = `${Oe(t)}: ${h.current};` : n.nodeValue = "";
227
+ h.current ? n.nodeValue = `${Oe(e)}: ${h.current};` : n.nodeValue = "";
227
228
  })
228
- ), e(this, d).appendChild(n);
229
+ ), t(this, d).appendChild(n);
229
230
  } else
230
- e(this, d).appendChild(
231
- document.createTextNode(`${Oe(t)}: ${i};`)
231
+ t(this, d).appendChild(
232
+ document.createTextNode(`${Oe(e)}: ${i};`)
232
233
  );
233
234
  }
234
- }, tt = function(s, t) {
235
- s.includes("--") ? t ? e(this, d).style.setProperty(s, t.toString()) : e(this, d).style.removeProperty(s) : t ? e(this, d).style[s] = t.toString() : e(this, d).style[s] = "";
235
+ }, tt = function(s, e) {
236
+ s.includes("--") ? e ? t(this, d).style.setProperty(s, e.toString()) : t(this, d).style.removeProperty(s) : e ? t(this, d).style[s] = e.toString() : t(this, d).style[s] = "";
236
237
  }, Nt = function(s) {
237
238
  if (s) {
238
- e(this, D) || c(this, D, []);
239
- for (const t in s) {
240
- const i = t, n = Qt(
239
+ t(this, D) || c(this, D, []);
240
+ for (const e in s) {
241
+ const i = e, n = Qt(
241
242
  i.split("on").slice(1).join("on")
242
243
  ), h = s[i];
243
- typeof h == "object" ? e(this, D).push({
244
+ typeof h == "object" ? t(this, D).push({
244
245
  name: n,
245
246
  callback: h.callback,
246
247
  options: h.options
247
- }) : typeof h == "function" && e(this, D).push({
248
+ }) : typeof h == "function" && t(this, D).push({
248
249
  name: n,
249
250
  callback: h
250
251
  });
@@ -253,49 +254,49 @@ d = new WeakMap(), I = new WeakMap(), y = new WeakMap(), be = new WeakMap(), H =
253
254
  }
254
255
  }, st = function() {
255
256
  var s;
256
- (s = e(this, D)) == null || s.forEach((t) => {
257
- e(this, d).addEventListener(
258
- t.name,
259
- t.callback,
260
- t.options
257
+ (s = t(this, D)) == null || s.forEach((e) => {
258
+ t(this, d).addEventListener(
259
+ e.name,
260
+ e.callback,
261
+ e.options
261
262
  );
262
263
  });
263
264
  }, it = function() {
264
265
  var s;
265
- (s = e(this, D)) == null || s.forEach((t) => {
266
- e(this, d).removeEventListener(
267
- t.name,
268
- t.callback,
269
- t.options
266
+ (s = t(this, D)) == null || s.forEach((e) => {
267
+ t(this, d).removeEventListener(
268
+ e.name,
269
+ e.callback,
270
+ e.options
270
271
  );
271
272
  });
272
273
  }, Rt = function(s) {
273
- for (const t in s) {
274
- const i = s[t];
275
- i instanceof $ ? e(this, y).add(
274
+ for (const e in s) {
275
+ const i = s[e];
276
+ i instanceof $ ? t(this, y).add(
276
277
  i.subscribe(({ current: n }) => {
277
- l(this, a, nt).call(this, t, n);
278
+ l(this, a, nt).call(this, e, n);
278
279
  })
279
- ) : l(this, a, nt).call(this, t, i);
280
+ ) : l(this, a, nt).call(this, e, i);
280
281
  }
281
- }, nt = function(s, t) {
282
+ }, nt = function(s, e) {
282
283
  var n, h;
283
- const i = e(this, d);
284
+ const i = t(this, d);
284
285
  if (s in i && !((h = (n = i.constructor) == null ? void 0 : n.observedAttributes) != null && h.includes(s)))
285
- t != null && (i[s] = t.toString());
286
- else if (t != null) {
287
- const u = t.toString();
286
+ e != null && (i[s] = e.toString());
287
+ else if (e != null) {
288
+ const u = e.toString();
288
289
  s.includes("xlink") ? i.setAttributeNS("http://www.w3.org/1999/xlink", s, u) : i.setAttribute(s, u);
289
290
  }
290
- }, Be = function(s, t) {
291
- t && (t = [t].flat(), t.forEach((i) => {
291
+ }, Be = function(s, e) {
292
+ e && (e = [e].flat(), e.forEach((i) => {
292
293
  if (i instanceof $) {
293
294
  const n = document.createElement("div");
294
- n.style.display = "contents", s.appendChild(n), e(this, H) || c(this, H, []);
295
- const h = e(this, H).length;
296
- n.setAttribute("store-root", ""), e(this, H).push(n), e(this, y).add(
295
+ n.style.display = "contents", s.appendChild(n), t(this, H) || c(this, H, []);
296
+ const h = t(this, H).length;
297
+ n.setAttribute("store-root", ""), t(this, H).push(n), t(this, y).add(
297
298
  i.subscribe(({ current: u, previous: m }) => {
298
- const k = e(this, H)[h];
299
+ const k = t(this, H)[h];
299
300
  k.dispatchEvent(
300
301
  new CustomEvent("beforeChildrenChange", {
301
302
  bubbles: !0,
@@ -334,24 +335,24 @@ d = new WeakMap(), I = new WeakMap(), y = new WeakMap(), be = new WeakMap(), H =
334
335
  n instanceof Node && l(this, a, ot).call(this, s, n);
335
336
  }
336
337
  }));
337
- }, ot = function(s, t) {
338
- !(s instanceof ShadowRoot) && t instanceof HTMLElement && t.tagName === "STYLE" ? (e(this, I).add(() => {
339
- [...document.head.querySelectorAll("style")].find((n) => n.outerHTML === t.outerHTML) || document.head.appendChild(t);
340
- }), e(this, y).add(() => {
341
- t.remove();
342
- })) : s.appendChild(t);
338
+ }, ot = function(s, e) {
339
+ !(s instanceof ShadowRoot) && e instanceof HTMLElement && e.tagName === "STYLE" ? (t(this, I).add(() => {
340
+ [...document.head.querySelectorAll("style")].find((n) => n.outerHTML === e.outerHTML) || document.head.appendChild(e);
341
+ }), t(this, y).add(() => {
342
+ e.remove();
343
+ })) : s.appendChild(e);
343
344
  }, rt = function(s) {
344
345
  return s instanceof Je ? s.node : typeof s == "function" ? yt(s) ? new s() : s() : l(this, a, at).call(this, s);
345
346
  }, at = function(s) {
346
347
  if (s instanceof Node)
347
348
  return s;
348
349
  if (s != null) {
349
- const t = String(s);
350
- if (t.trim().startsWith("<") && t.trim().endsWith(">")) {
350
+ const e = String(s);
351
+ if (e.trim().startsWith("<") && e.trim().endsWith(">")) {
351
352
  const i = document.createElement("div");
352
- return i.innerHTML = t, i.firstElementChild;
353
+ return i.innerHTML = e, i.firstElementChild;
353
354
  } else
354
- return document.createTextNode(t);
355
+ return document.createTextNode(e);
355
356
  } else
356
357
  return;
357
358
  }, We = new WeakMap(), qe = new WeakMap();
@@ -365,7 +366,7 @@ function os(r) {
365
366
  function ee(r) {
366
367
  return new N("button", r);
367
368
  }
368
- function b(r) {
369
+ function w(r) {
369
370
  return new N("div", r);
370
371
  }
371
372
  function Ve(r) {
@@ -390,14 +391,14 @@ function E(r) {
390
391
  return s.replaceSync(Pt(r).node.innerHTML), s;
391
392
  }
392
393
  function rs(r, s) {
393
- const t = s == null ? void 0 : s.prefix, i = {
394
+ const e = s == null ? void 0 : s.prefix, i = {
394
395
  style: {}
395
396
  };
396
397
  for (const n in r)
397
398
  i[n] = {
398
- var: `var(--${t}${Oe(n)})`,
399
+ var: `var(--${e}${Oe(n)})`,
399
400
  value: r[n]
400
- }, i.style[`--${t}${Oe(n)}`] = r[n];
401
+ }, i.style[`--${e}${Oe(n)}`] = r[n];
401
402
  return i;
402
403
  }
403
404
  const f = rs(
@@ -435,37 +436,37 @@ class hs {
435
436
  this.scrollValue = 0, c(this, J, ""), c(this, T, []), c(this, V, {}), c(this, J, K.name + "-tweaker");
436
437
  }
437
438
  openPanel(s) {
438
- e(this, T).includes(s) || e(this, T).push(s);
439
+ t(this, T).includes(s) || t(this, T).push(s);
439
440
  }
440
441
  closePanel(s) {
441
- c(this, T, e(this, T).filter((t) => t !== s));
442
+ c(this, T, t(this, T).filter((e) => e !== s));
442
443
  }
443
444
  isPanelOpened(s) {
444
- return e(this, T).includes(s);
445
+ return t(this, T).includes(s);
445
446
  }
446
447
  changedSizes(s) {
447
- return e(this, V)[s];
448
+ return t(this, V)[s];
448
449
  }
449
- changeSize(s, t) {
450
- t ? e(this, V)[s] = t : delete e(this, V)[s];
450
+ changeSize(s, e) {
451
+ e ? t(this, V)[s] = e : delete t(this, V)[s];
451
452
  }
452
453
  save() {
453
454
  const s = {
454
- openedPanels: e(this, T),
455
- changedSizes: e(this, V),
455
+ openedPanels: t(this, T),
456
+ changedSizes: t(this, V),
456
457
  scrollValue: this.scrollValue
457
458
  };
458
- localStorage.setItem(e(this, J), JSON.stringify(s)), K.saveState();
459
+ localStorage.setItem(t(this, J), JSON.stringify(s)), K.saveState();
459
460
  }
460
461
  load() {
461
462
  K.loadState();
462
- const s = localStorage.getItem(e(this, J));
463
+ const s = localStorage.getItem(t(this, J));
463
464
  if (s)
464
465
  try {
465
- const t = JSON.parse(s);
466
- t.openedPanels && c(this, T, t.openedPanels), t.changedSizes && c(this, V, t.changedSizes), t.scrollValue && (this.scrollValue = t.scrollValue);
467
- } catch (t) {
468
- console.error(t);
466
+ const e = JSON.parse(s);
467
+ e.openedPanels && c(this, T, e.openedPanels), e.changedSizes && c(this, V, e.changedSizes), e.scrollValue && (this.scrollValue = e.scrollValue);
468
+ } catch (e) {
469
+ console.error(e);
469
470
  }
470
471
  }
471
472
  }
@@ -512,14 +513,15 @@ const C = new hs(), cs = '<svg xmlns="http://www.w3.org/2000/svg" width="32" hei
512
513
  opacity: 1
513
514
  }
514
515
  });
515
- var O, te, Y, we;
516
+ var O, te, Y, be;
516
517
  const gt = class gt extends HTMLElement {
517
518
  constructor() {
518
519
  super();
519
520
  o(this, Y);
520
521
  o(this, O, null);
521
522
  o(this, te);
522
- this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(ds), c(this, te, this.attachInternals()), g(this, {
523
+ const e = this.attachShadow({ mode: "open" });
524
+ e.adoptedStyleSheets = [...e.adoptedStyleSheets, ds], c(this, te, this.attachInternals()), g(this, {
523
525
  children: Ft({
524
526
  children: [
525
527
  lt({
@@ -535,12 +537,12 @@ const gt = class gt extends HTMLElement {
535
537
  }),
536
538
  Ve({
537
539
  ref: (i) => {
538
- c(this, O, i), i.required = this.hasAttribute("required"), i.value = this.getAttribute("value") || "", i.checked = this.hasAttribute("checked"), i.name = this.getAttribute("name") || "", l(this, Y, we).call(this);
540
+ c(this, O, i), i.required = this.hasAttribute("required"), i.value = this.getAttribute("value") || "", i.checked = this.hasAttribute("checked"), i.name = this.getAttribute("name") || "", l(this, Y, be).call(this);
539
541
  },
540
542
  class: "real",
541
543
  type: "checkbox",
542
544
  onChange: () => {
543
- l(this, Y, we).call(this), this.dispatchEvent(
545
+ l(this, Y, be).call(this), this.dispatchEvent(
544
546
  new Event("change", {
545
547
  composed: !0
546
548
  })
@@ -552,42 +554,42 @@ const gt = class gt extends HTMLElement {
552
554
  });
553
555
  }
554
556
  get checked() {
555
- return e(this, O).checked;
557
+ return t(this, O).checked;
556
558
  }
557
- set checked(t) {
558
- e(this, O).checked = t, l(this, Y, we).call(this);
559
+ set checked(e) {
560
+ t(this, O).checked = e, l(this, Y, be).call(this);
559
561
  }
560
562
  get value() {
561
- return e(this, O).value;
563
+ return t(this, O).value;
562
564
  }
563
- set value(t) {
564
- e(this, O).value = t, l(this, Y, we).call(this);
565
+ set value(e) {
566
+ t(this, O).value = e, l(this, Y, be).call(this);
565
567
  }
566
568
  };
567
- O = new WeakMap(), te = new WeakMap(), Y = new WeakSet(), we = function() {
568
- this.checked ? e(this, te).setFormValue(this.value) : e(this, te).setFormValue(null), this.classList.toggle("checked", this.checked);
569
+ O = new WeakMap(), te = new WeakMap(), Y = new WeakSet(), be = function() {
570
+ this.checked ? t(this, te).setFormValue(this.value) : t(this, te).setFormValue(null), this.classList.toggle("checked", this.checked);
569
571
  }, gt.formAssociated = !0;
570
572
  let ht = gt;
571
573
  p && !customElements.get("e-checkbox") && customElements.define("e-checkbox", ht);
572
574
  var Z;
573
575
  class pe extends HTMLElement {
574
- constructor(...t) {
576
+ constructor(...e) {
575
577
  super();
576
578
  o(this, Z);
577
- c(this, Z, t);
579
+ c(this, Z, e);
578
580
  }
579
- addStore(t) {
580
- e(this, Z).push(t);
581
+ addStore(e) {
582
+ t(this, Z).push(e);
581
583
  }
582
584
  get firstStore() {
583
- return e(this, Z)[0];
585
+ return t(this, Z)[0];
584
586
  }
585
587
  get stores() {
586
- return e(this, Z);
588
+ return t(this, Z);
587
589
  }
588
- updateStores(t) {
589
- e(this, Z).forEach((i) => {
590
- i.current = t;
590
+ updateStores(e) {
591
+ t(this, Z).forEach((i) => {
592
+ i.current = e;
591
593
  });
592
594
  }
593
595
  }
@@ -607,7 +609,9 @@ const us = E({
607
609
  });
608
610
  class Dt extends pe {
609
611
  constructor(...s) {
610
- super(...s), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(us), g(this, {
612
+ super(...s);
613
+ const e = this.attachShadow({ mode: "open" });
614
+ e.adoptedStyleSheets = [...e.adoptedStyleSheets, us], g(this, {
611
615
  children: [
612
616
  g("e-checkbox", {
613
617
  onChange: (i) => {
@@ -652,7 +656,9 @@ const fs = E({
652
656
  });
653
657
  class Vt extends pe {
654
658
  constructor(...s) {
655
- super(...s), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(fs), g(this, {
659
+ super(...s);
660
+ const e = this.attachShadow({ mode: "open" });
661
+ e.adoptedStyleSheets = [...e.adoptedStyleSheets, fs], g(this, {
656
662
  children: [
657
663
  Ve({
658
664
  type: "color",
@@ -675,7 +681,9 @@ const ms = E({
675
681
  class _t extends pe {
676
682
  constructor(...s) {
677
683
  var i;
678
- super(...s), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(ms), g(this, {
684
+ super(...s);
685
+ const e = this.attachShadow({ mode: "open" });
686
+ e.adoptedStyleSheets = [...e.adoptedStyleSheets, ms], g(this, {
679
687
  children: [
680
688
  os({
681
689
  href: this.firstStore,
@@ -751,12 +759,12 @@ const ps = E({
751
759
  opacity: 0.3
752
760
  }
753
761
  });
754
- var G, se, ie, _, W, ve, ye, F, U, Se, ke, w, Q, ct, dt, Ke, Ee;
762
+ var G, se, ie, _, W, ve, ye, F, U, Se, ke, b, Q, ct, dt, Ke, Ee;
755
763
  class Bt extends pe {
756
- constructor(...t) {
764
+ constructor(...e) {
757
765
  var n, h, u, m;
758
- super(...t);
759
- o(this, w);
766
+ super(...e);
767
+ o(this, b);
760
768
  o(this, G, []);
761
769
  o(this, se, []);
762
770
  o(this, ie);
@@ -766,63 +774,64 @@ class Bt extends pe {
766
774
  o(this, ye);
767
775
  o(this, F);
768
776
  o(this, U, !1);
769
- o(this, Se, (t) => {
770
- const i = l(this, w, Q).call(this, t);
777
+ o(this, Se, (e) => {
778
+ const i = l(this, b, Q).call(this, e);
771
779
  return i.map((n, h) => {
772
- const u = typeof n == "string" ? parseFloat(n) || e(this, _) : n, m = ts(u, e(this, _), e(this, W)), k = ss(m, e(this, ie));
780
+ const u = typeof n == "string" ? parseFloat(n) || t(this, _) : n, m = ts(u, t(this, _), t(this, W)), k = ss(m, t(this, ie));
773
781
  i[h] = k;
774
- }), e(this, ye) === "number" ? i[0] : i;
782
+ }), t(this, ye) === "number" ? i[0] : i;
775
783
  });
776
784
  o(this, ke, () => {
777
- l(this, w, Q).call(this).map((t, i) => {
778
- const n = e(this, G)[i];
779
- n && (n.value = (t || 0).toString());
780
- }), l(this, w, ct).call(this);
785
+ l(this, b, Q).call(this).map((e, i) => {
786
+ const n = t(this, G)[i];
787
+ n && (n.value = (e || 0).toString());
788
+ }), l(this, b, ct).call(this);
781
789
  });
782
790
  o(this, Ee, () => {
783
- l(this, w, ct).call(this);
791
+ l(this, b, ct).call(this);
784
792
  });
785
- this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(ps), c(this, _, St((n = this.firstStore.__manager) == null ? void 0 : n.min, -1 / 0)), c(this, W, St((h = this.firstStore.__manager) == null ? void 0 : h.max, 1 / 0)), c(this, ie, ((u = this.firstStore.__manager) == null ? void 0 : u.step) || 0.01), c(this, ve, ((m = this.firstStore.__manager) == null ? void 0 : m.ease) || 1), c(this, ye, Array.isArray(this.firstStore.current) ? "array" : "number"), c(this, F, isFinite(e(this, W)) && isFinite(e(this, _))), g(this, {
786
- class: e(this, F) ? "" : "infinite",
787
- children: l(this, w, Q).call(this).map((k, L) => b({
793
+ const i = this.attachShadow({ mode: "open" });
794
+ i.adoptedStyleSheets = [...i.adoptedStyleSheets, ps], c(this, _, St((n = this.firstStore.__manager) == null ? void 0 : n.min, -1 / 0)), c(this, W, St((h = this.firstStore.__manager) == null ? void 0 : h.max, 1 / 0)), c(this, ie, ((u = this.firstStore.__manager) == null ? void 0 : u.step) || 0.01), c(this, ve, ((m = this.firstStore.__manager) == null ? void 0 : m.ease) || 1), c(this, ye, Array.isArray(this.firstStore.current) ? "array" : "number"), c(this, F, isFinite(t(this, W)) && isFinite(t(this, _))), g(this, {
795
+ class: t(this, F) ? "" : "infinite",
796
+ children: l(this, b, Q).call(this).map((k, L) => w({
788
797
  class: "inputs-wrapper",
789
798
  children: [
790
799
  Ve({
791
800
  type: "number",
792
- step: e(this, ie),
793
- min: e(this, _),
794
- max: e(this, W),
795
- ref: (v) => e(this, G).push(v),
801
+ step: t(this, ie),
802
+ min: t(this, _),
803
+ max: t(this, W),
804
+ ref: (v) => t(this, G).push(v),
796
805
  value: k,
797
806
  onChange: () => {
798
807
  this.updateStores(
799
- e(this, G).map((v) => parseFloat(v.value))
808
+ t(this, G).map((v) => parseFloat(v.value))
800
809
  );
801
810
  }
802
811
  }),
803
- b({
812
+ w({
804
813
  class: "drag",
805
814
  children: [
806
- b({
815
+ w({
807
816
  class: "drag-knob",
808
- ref: (v) => e(this, se).push(v),
817
+ ref: (v) => t(this, se).push(v),
809
818
  onPointerdown: (v) => {
810
819
  v.preventDefault(), c(this, U, !0);
811
- const ge = l(this, w, Q).call(this), _e = ge[L], x = e(this, se)[L], R = e(this, G)[L];
820
+ const ge = l(this, b, Q).call(this), _e = ge[L], x = t(this, se)[L], R = t(this, G)[L];
812
821
  if (x && R) {
813
- const P = x.parentElement, B = l(this, w, dt).call(this);
822
+ const P = x.parentElement, B = l(this, b, dt).call(this);
814
823
  P.classList.add("grabbing"), Et(
815
824
  (q) => {
816
- const bt = q.x - v.x, Jt = e(this, F) ? P.offsetWidth / (B || 1) : 1, Yt = _e + bt / Jt * e(this, ve);
817
- if (ge[L] = Yt, !e(this, F)) {
818
- const Gt = l(this, w, Ke).call(this, x, 0);
819
- x.style.transform = `translateX(${Gt + bt}px)`;
825
+ const wt = q.x - v.x, Jt = t(this, F) ? P.offsetWidth / (B || 1) : 1, Yt = _e + wt / Jt * t(this, ve);
826
+ if (ge[L] = Yt, !t(this, F)) {
827
+ const Gt = l(this, b, Ke).call(this, x, 0);
828
+ x.style.transform = `translateX(${Gt + wt}px)`;
820
829
  }
821
830
  this.updateStores([...ge]);
822
831
  },
823
832
  () => {
824
- if (c(this, U, !1), !e(this, F)) {
825
- const q = l(this, w, Ke).call(this, x, 0);
833
+ if (c(this, U, !1), !t(this, F)) {
834
+ const q = l(this, b, Ke).call(this, x, 0);
826
835
  x.style.transition = "transform 0.1s", x.style.transform = `translateX(${q}px)`, P.classList.remove("grabbing"), setTimeout(() => {
827
836
  x.style.transition = "";
828
837
  }, 100);
@@ -831,7 +840,7 @@ class Bt extends pe {
831
840
  );
832
841
  }
833
842
  },
834
- children: b({
843
+ children: w({
835
844
  class: "drag-knob-inner"
836
845
  })
837
846
  })
@@ -842,27 +851,27 @@ class Bt extends pe {
842
851
  });
843
852
  }
844
853
  connectedCallback() {
845
- this.firstStore.addMiddleware(e(this, Se)), this.firstStore.subscribe(e(this, ke)), kt.subscribe(this, e(this, Ee));
854
+ this.firstStore.addMiddleware(t(this, Se)), this.firstStore.subscribe(t(this, ke)), kt.subscribe(this, t(this, Ee));
846
855
  }
847
856
  disconnectedCallback() {
848
- this.firstStore.removeMiddleware(e(this, Se)), this.firstStore.unsubscribe(e(this, ke)), kt.unsubscribe(e(this, Ee));
857
+ this.firstStore.removeMiddleware(t(this, Se)), this.firstStore.unsubscribe(t(this, ke)), kt.unsubscribe(t(this, Ee));
849
858
  }
850
859
  }
851
- G = new WeakMap(), se = new WeakMap(), ie = new WeakMap(), _ = new WeakMap(), W = new WeakMap(), ve = new WeakMap(), ye = new WeakMap(), F = new WeakMap(), U = new WeakMap(), Se = new WeakMap(), ke = new WeakMap(), w = new WeakSet(), Q = function(t = this.firstStore.current) {
852
- return Array.isArray(t) ? t : [t];
860
+ G = new WeakMap(), se = new WeakMap(), ie = new WeakMap(), _ = new WeakMap(), W = new WeakMap(), ve = new WeakMap(), ye = new WeakMap(), F = new WeakMap(), U = new WeakMap(), Se = new WeakMap(), ke = new WeakMap(), b = new WeakSet(), Q = function(e = this.firstStore.current) {
861
+ return Array.isArray(e) ? e : [e];
853
862
  }, ct = function() {
854
- l(this, w, Q).call(this).map((t, i) => {
855
- const n = e(this, se)[i];
856
- if (n && (!e(this, U) || e(this, U) && e(this, F))) {
857
- const h = l(this, w, Ke).call(this, n, t);
863
+ l(this, b, Q).call(this).map((e, i) => {
864
+ const n = t(this, se)[i];
865
+ if (n && (!t(this, U) || t(this, U) && t(this, F))) {
866
+ const h = l(this, b, Ke).call(this, n, e);
858
867
  n.style.transform = `translateX(${h}px)`;
859
868
  }
860
869
  });
861
870
  }, dt = function() {
862
- return e(this, F) ? e(this, W) - e(this, _) : 0;
863
- }, Ke = function(t, i) {
864
- const n = t.parentElement, h = l(this, w, dt).call(this), u = h ? i / h : 0.5;
865
- return (n.offsetWidth - t.offsetWidth) * u;
871
+ return t(this, F) ? t(this, W) - t(this, _) : 0;
872
+ }, Ke = function(e, i) {
873
+ const n = e.parentElement, h = l(this, b, dt).call(this), u = h ? i / h : 0.5;
874
+ return (n.offsetWidth - e.offsetWidth) * u;
866
875
  }, Ee = new WeakMap();
867
876
  p && !customElements.get("e-tweaker-number-manager") && customElements.define("e-tweaker-number-manager", Bt);
868
877
  function Kt(r) {
@@ -881,7 +890,7 @@ function gs(r) {
881
890
  })
882
891
  );
883
892
  }
884
- const ws = E({
893
+ const bs = E({
885
894
  ":host": {
886
895
  position: "relative"
887
896
  },
@@ -917,7 +926,7 @@ const ws = E({
917
926
  }
918
927
  });
919
928
  var ne, oe, z, X, re, ae, Ye, xe, ft;
920
- const wt = class wt extends HTMLElement {
929
+ const bt = class bt extends HTMLElement {
921
930
  constructor() {
922
931
  super();
923
932
  o(this, xe);
@@ -930,63 +939,66 @@ const wt = class wt extends HTMLElement {
930
939
  o(this, Ye, () => {
931
940
  Kt(this);
932
941
  });
933
- p && (this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(ws), c(this, ne, this.attachInternals()), c(this, ae, new ResizeObserver(e(this, Ye))), g(this, {
934
- children: [
935
- ee({
936
- class: "head",
937
- children: me({ name: "head" }),
938
- onClick: () => {
939
- this.opened ? this.close() : this.open();
940
- }
941
- }),
942
- b({
943
- class: "body",
944
- style: {
945
- height: "0px"
946
- },
947
- children: b({
948
- class: "body-inner",
949
- children: me()
942
+ if (p) {
943
+ const e = this.attachShadow({ mode: "open" });
944
+ e.adoptedStyleSheets = [...e.adoptedStyleSheets, bs], c(this, ne, this.attachInternals()), c(this, ae, new ResizeObserver(t(this, Ye))), g(this, {
945
+ children: [
946
+ ee({
947
+ class: "head",
948
+ children: me({ name: "head" }),
949
+ onClick: () => {
950
+ this.opened ? this.close() : this.open();
951
+ }
950
952
  }),
951
- ref: (i) => {
952
- c(this, z, i);
953
- }
954
- })
955
- ]
956
- }));
953
+ w({
954
+ class: "body",
955
+ style: {
956
+ height: "0px"
957
+ },
958
+ children: w({
959
+ class: "body-inner",
960
+ children: me()
961
+ }),
962
+ ref: (i) => {
963
+ c(this, z, i);
964
+ }
965
+ })
966
+ ]
967
+ });
968
+ }
957
969
  }
958
970
  get value() {
959
- return e(this, oe);
971
+ return t(this, oe);
960
972
  }
961
- set value(t) {
962
- c(this, oe, t), this.dispatchEvent(
973
+ set value(e) {
974
+ c(this, oe, e), this.dispatchEvent(
963
975
  new Event("change", {
964
976
  bubbles: !0,
965
977
  composed: !0
966
978
  })
967
- ), e(this, ne).setFormValue(e(this, oe));
979
+ ), t(this, ne).setFormValue(t(this, oe));
968
980
  }
969
981
  get internals() {
970
- return e(this, ne);
982
+ return t(this, ne);
971
983
  }
972
984
  get opened() {
973
- return e(this, X);
985
+ return t(this, X);
974
986
  }
975
987
  open() {
976
- clearTimeout(e(this, re)), c(this, X, !0), e(this, z).style.display = "grid", this.classList.add("triggered"), setTimeout(() => {
977
- this.classList.add("opened"), e(this, z).style.height = e(this, z).scrollHeight + "px", l(this, xe, ft).call(this);
988
+ clearTimeout(t(this, re)), c(this, X, !0), t(this, z).style.display = "grid", this.classList.add("triggered"), setTimeout(() => {
989
+ this.classList.add("opened"), t(this, z).style.height = t(this, z).scrollHeight + "px", l(this, xe, ft).call(this);
978
990
  }, 0);
979
991
  }
980
992
  close() {
981
- c(this, X, !1), e(this, z).style.height = "0px", this.classList.remove("opened"), l(this, xe, ft).call(this), c(this, re, setTimeout(() => {
982
- this.classList.remove("triggered"), e(this, z).style.display = "none";
983
- }, is(e(this, z))));
993
+ c(this, X, !1), t(this, z).style.height = "0px", this.classList.remove("opened"), l(this, xe, ft).call(this), c(this, re, setTimeout(() => {
994
+ this.classList.remove("triggered"), t(this, z).style.display = "none";
995
+ }, is(t(this, z))));
984
996
  }
985
997
  connectedCallback() {
986
- e(this, ae).observe(e(this, z));
998
+ t(this, ae).observe(t(this, z));
987
999
  }
988
1000
  disconnectedCallback() {
989
- clearTimeout(e(this, re)), e(this, ae).disconnect();
1001
+ clearTimeout(t(this, re)), t(this, ae).disconnect();
990
1002
  }
991
1003
  };
992
1004
  ne = new WeakMap(), oe = new WeakMap(), z = new WeakMap(), X = new WeakMap(), re = new WeakMap(), ae = new WeakMap(), Ye = new WeakMap(), xe = new WeakSet(), ft = function() {
@@ -995,12 +1007,12 @@ ne = new WeakMap(), oe = new WeakMap(), z = new WeakMap(), X = new WeakMap(), re
995
1007
  bubbles: !0,
996
1008
  composed: !0,
997
1009
  detail: {
998
- opened: e(this, X)
1010
+ opened: t(this, X)
999
1011
  }
1000
1012
  })
1001
1013
  );
1002
- }, wt.formAssociated = !0;
1003
- let ut = wt;
1014
+ }, bt.formAssociated = !0;
1015
+ let ut = bt;
1004
1016
  p && !customElements.get("e-select") && customElements.define("e-select", ut);
1005
1017
  var Ce;
1006
1018
  class Ot extends HTMLElement {
@@ -1009,16 +1021,16 @@ class Ot extends HTMLElement {
1009
1021
  o(this, Ce, null);
1010
1022
  }
1011
1023
  get selectElement() {
1012
- return e(this, Ce);
1024
+ return t(this, Ce);
1013
1025
  }
1014
1026
  connectedCallback() {
1015
1027
  var i, n;
1016
- const t = (n = (i = this.assignedSlot) == null ? void 0 : i.getRootNode()) == null ? void 0 : n.host;
1017
- t ? c(this, Ce, t) : console.log(this, "e-select not found");
1028
+ const e = (n = (i = this.assignedSlot) == null ? void 0 : i.getRootNode()) == null ? void 0 : n.host;
1029
+ e ? c(this, Ce, e) : console.log(this, "e-select not found");
1018
1030
  }
1019
1031
  }
1020
1032
  Ce = new WeakMap();
1021
- const bs = E({
1033
+ const ws = E({
1022
1034
  ":host": {
1023
1035
  width: "100%",
1024
1036
  height: "40px",
@@ -1034,27 +1046,30 @@ class vs extends Ot {
1034
1046
  o(this, le, () => {
1035
1047
  this.selectElement.value === this.value ? this.style.display = "none" : this.style.display = "";
1036
1048
  });
1037
- p && (this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(bs), g(this, {
1038
- tabindex: 0,
1039
- onClick: () => {
1040
- l(this, Le, mt).call(this);
1041
- },
1042
- onKeydown: (i) => {
1043
- i.code === "Space" && l(this, Le, mt).call(this);
1044
- },
1045
- children: me()
1046
- }));
1049
+ if (p) {
1050
+ const e = this.attachShadow({ mode: "open" });
1051
+ e.adoptedStyleSheets = [...e.adoptedStyleSheets, ws], g(this, {
1052
+ tabindex: 0,
1053
+ onClick: () => {
1054
+ l(this, Le, mt).call(this);
1055
+ },
1056
+ onKeydown: (i) => {
1057
+ i.code === "Space" && l(this, Le, mt).call(this);
1058
+ },
1059
+ children: me()
1060
+ });
1061
+ }
1047
1062
  }
1048
1063
  get value() {
1049
1064
  return (this.hasAttribute("value") ? this.getAttribute("value") : this.innerText) || "";
1050
1065
  }
1051
1066
  connectedCallback() {
1052
- super.connectedCallback(), this.hasAttribute("default") && (this.selectElement.value || (this.selectElement.value = this.value)), this.selectElement.addEventListener("change", e(this, le)), setTimeout(() => {
1053
- e(this, le).call(this);
1067
+ super.connectedCallback(), this.hasAttribute("default") && (this.selectElement.value || (this.selectElement.value = this.value)), this.selectElement.addEventListener("change", t(this, le)), setTimeout(() => {
1068
+ t(this, le).call(this);
1054
1069
  });
1055
1070
  }
1056
1071
  disconnectedCallback() {
1057
- this.selectElement.removeEventListener("change", e(this, le));
1072
+ this.selectElement.removeEventListener("change", t(this, le));
1058
1073
  }
1059
1074
  }
1060
1075
  le = new WeakMap(), Le = new WeakSet(), mt = function() {
@@ -1090,26 +1105,29 @@ class Ss extends Ot {
1090
1105
  const i = this.selectElement.shadowRoot.querySelector(
1091
1106
  ".body slot"
1092
1107
  ).assignedElements().find((n) => n.value === this.selectElement.value);
1093
- i && (e(this, Te).innerHTML = i.innerHTML);
1108
+ i && (t(this, Te).innerHTML = i.innerHTML);
1094
1109
  });
1095
1110
  o(this, ze, () => {
1096
1111
  this.classList.toggle("opened", this.selectElement.opened);
1097
1112
  });
1098
- p && (this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(ys), g(this, {
1099
- children: [
1100
- me(),
1101
- me({
1102
- name: "arrow",
1103
- children: g(Ht, { class: "default-arrow" })
1104
- })
1105
- ]
1106
- }), this.slot = "head");
1113
+ if (p) {
1114
+ const e = this.attachShadow({ mode: "open" });
1115
+ e.adoptedStyleSheets = [...e.adoptedStyleSheets, ys], g(this, {
1116
+ children: [
1117
+ me(),
1118
+ me({
1119
+ name: "arrow",
1120
+ children: g(Ht, { class: "default-arrow" })
1121
+ })
1122
+ ]
1123
+ }), this.slot = "head";
1124
+ }
1107
1125
  }
1108
1126
  connectedCallback() {
1109
- super.connectedCallback(), c(this, Te, this.querySelector("[data-value-holder]") || this), this.selectElement.addEventListener("change", e(this, he)), e(this, he).call(this), this.selectElement.addEventListener("selectToggle", e(this, ze));
1127
+ super.connectedCallback(), c(this, Te, this.querySelector("[data-value-holder]") || this), this.selectElement.addEventListener("change", t(this, he)), t(this, he).call(this), this.selectElement.addEventListener("selectToggle", t(this, ze));
1110
1128
  }
1111
1129
  disconnectedCallback() {
1112
- this.selectElement.removeEventListener("change", e(this, he)), this.selectElement.removeEventListener("selectToggle", e(this, ze));
1130
+ this.selectElement.removeEventListener("change", t(this, he)), this.selectElement.removeEventListener("selectToggle", t(this, ze));
1113
1131
  }
1114
1132
  }
1115
1133
  Te = new WeakMap(), he = new WeakMap(), ze = new WeakMap();
@@ -1151,7 +1169,9 @@ const ks = E({
1151
1169
  class Zt extends pe {
1152
1170
  constructor(...s) {
1153
1171
  var n;
1154
- super(...s), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(ks);
1172
+ super(...s);
1173
+ const e = this.attachShadow({ mode: "open" });
1174
+ e.adoptedStyleSheets = [...e.adoptedStyleSheets, ks];
1155
1175
  const i = ((n = this.firstStore.__manager) == null ? void 0 : n.variants) || [];
1156
1176
  g(this, {
1157
1177
  children: g("e-select", {
@@ -1204,7 +1224,9 @@ const Es = E({
1204
1224
  });
1205
1225
  class Wt extends pe {
1206
1226
  constructor(...s) {
1207
- super(...s), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(Es), g(this, {
1227
+ super(...s);
1228
+ const e = this.attachShadow({ mode: "open" });
1229
+ e.adoptedStyleSheets = [...e.adoptedStyleSheets, Es], g(this, {
1208
1230
  children: [
1209
1231
  Ve({
1210
1232
  class: "text-input",
@@ -1275,7 +1297,7 @@ const xs = {
1275
1297
  });
1276
1298
  var M, ce, de, ue, fe, Me, Ae;
1277
1299
  class pt extends HTMLElement {
1278
- constructor(t) {
1300
+ constructor(e) {
1279
1301
  var h, u;
1280
1302
  super();
1281
1303
  o(this, M, []);
@@ -1284,20 +1306,22 @@ class pt extends HTMLElement {
1284
1306
  o(this, ue, !1);
1285
1307
  o(this, fe);
1286
1308
  o(this, Me, () => {
1287
- j.current.find((t) => e(this, M).includes(t)) || this.remove();
1309
+ j.current.find((e) => t(this, M).includes(e)) || this.remove();
1288
1310
  });
1289
- o(this, Ae, (t) => {
1290
- e(this, ue) && ((t.metaKey || t.ctrlKey) && t.code === "KeyC" ? navigator.clipboard.writeText(e(this, M)[0].current) : (t.metaKey || t.ctrlKey) && t.code === "KeyR" && (e(this, M).forEach((i) => {
1311
+ o(this, Ae, (e) => {
1312
+ t(this, ue) && ((e.metaKey || e.ctrlKey) && e.code === "KeyC" ? navigator.clipboard.writeText(t(this, M)[0].current) : (e.metaKey || e.ctrlKey) && e.code === "KeyR" && (t(this, M).forEach((i) => {
1291
1313
  i.reset();
1292
- }), t.preventDefault()));
1314
+ }), e.preventDefault()));
1293
1315
  });
1294
- c(this, M, [t.store]), c(this, ce, t.store.name), c(this, de, e(this, ce).split(".").slice(-1).toString());
1295
- const i = ((h = t.store.__manager) == null ? void 0 : h.type) || "string";
1316
+ c(this, M, [e.store]), c(this, ce, e.store.name), c(this, de, t(this, ce).split(".").slice(-1).toString());
1317
+ const i = ((h = e.store.__manager) == null ? void 0 : h.type) || "string";
1296
1318
  c(this, fe, new xs[i](
1297
- e(this, M)[0]
1298
- )), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(Cs), g(this, {
1319
+ t(this, M)[0]
1320
+ ));
1321
+ const n = this.attachShadow({ mode: "open" });
1322
+ n.adoptedStyleSheets = [...n.adoptedStyleSheets, Cs], g(this, {
1299
1323
  class: {
1300
- disabled: ((u = t.store.__manager) == null ? void 0 : u.disabled) || !1
1324
+ disabled: ((u = e.store.__manager) == null ? void 0 : u.disabled) || !1
1301
1325
  },
1302
1326
  onPointerleave: () => {
1303
1327
  c(this, ue, !1);
@@ -1306,25 +1330,25 @@ class pt extends HTMLElement {
1306
1330
  c(this, ue, !0);
1307
1331
  },
1308
1332
  children: [
1309
- b({
1333
+ w({
1310
1334
  class: "head",
1311
1335
  children: [
1312
- b({ class: "name", children: e(this, de) + ":" }),
1313
- b({
1336
+ w({ class: "name", children: t(this, de) + ":" }),
1337
+ w({
1314
1338
  class: "head-buttons",
1315
1339
  children: [
1316
1340
  ee({
1317
1341
  class: "head-button",
1318
1342
  children: It,
1319
1343
  onClick: () => {
1320
- navigator.clipboard.writeText(e(this, M)[0].current);
1344
+ navigator.clipboard.writeText(t(this, M)[0].current);
1321
1345
  }
1322
1346
  }),
1323
1347
  ee({
1324
1348
  class: "head-button",
1325
1349
  children: $t,
1326
1350
  onClick: () => {
1327
- e(this, M).forEach((m) => {
1351
+ t(this, M).forEach((m) => {
1328
1352
  m.reset();
1329
1353
  });
1330
1354
  }
@@ -1333,27 +1357,27 @@ class pt extends HTMLElement {
1333
1357
  })
1334
1358
  ]
1335
1359
  }),
1336
- e(this, fe)
1360
+ t(this, fe)
1337
1361
  ]
1338
1362
  });
1339
1363
  }
1340
1364
  get key() {
1341
- return e(this, ce);
1365
+ return t(this, ce);
1342
1366
  }
1343
1367
  get name() {
1344
- return e(this, de);
1368
+ return t(this, de);
1345
1369
  }
1346
1370
  get stores() {
1347
- return e(this, M);
1371
+ return t(this, M);
1348
1372
  }
1349
- addStore(t) {
1350
- e(this, fe).addStore(t);
1373
+ addStore(e) {
1374
+ t(this, fe).addStore(e);
1351
1375
  }
1352
1376
  connectedCallback() {
1353
- j.subscribe(e(this, Me)), addEventListener("keydown", e(this, Ae)), Kt(this);
1377
+ j.subscribe(t(this, Me)), addEventListener("keydown", t(this, Ae)), Kt(this);
1354
1378
  }
1355
1379
  disconnectedCallback() {
1356
- j.unsubscribe(e(this, Me)), removeEventListener("keydown", e(this, Ae));
1380
+ j.unsubscribe(t(this, Me)), removeEventListener("keydown", t(this, Ae));
1357
1381
  }
1358
1382
  }
1359
1383
  M = new WeakMap(), ce = new WeakMap(), de = new WeakMap(), ue = new WeakMap(), fe = new WeakMap(), Me = new WeakMap(), Ae = new WeakMap();
@@ -1415,7 +1439,7 @@ const Ls = E({
1415
1439
  });
1416
1440
  var A, Ne, S, Re, Fe, Pe, $e, Ge;
1417
1441
  const Ue = class Ue extends HTMLElement {
1418
- constructor(t) {
1442
+ constructor(e) {
1419
1443
  super();
1420
1444
  o(this, A);
1421
1445
  o(this, Ne, new $(null));
@@ -1424,43 +1448,44 @@ const Ue = class Ue extends HTMLElement {
1424
1448
  o(this, Fe, null);
1425
1449
  o(this, Pe, null);
1426
1450
  o(this, $e, null);
1427
- o(this, Ge, (t) => {
1451
+ o(this, Ge, (e) => {
1428
1452
  let i = [], n = [];
1429
- t.forEach((h) => {
1453
+ e.forEach((h) => {
1430
1454
  i = [...i, ...h.removedNodes], n = [...n, ...h.addedNodes];
1431
- }), e(this, S).current = e(this, S).current.filter(
1455
+ }), t(this, S).current = t(this, S).current.filter(
1432
1456
  (h) => !i.includes(h)
1433
- ), e(this, A) && !e(this, S).current.length && !n.length && this.remove();
1457
+ ), t(this, A) && !t(this, S).current.length && !n.length && this.remove();
1434
1458
  });
1435
- this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(Ls), c(this, A, t.key), c(this, Re, new MutationObserver(e(this, Ge))), g(this, {
1459
+ const i = this.attachShadow({ mode: "open" });
1460
+ i.adoptedStyleSheets = [...i.adoptedStyleSheets, Ls], c(this, A, e.key), c(this, Re, new MutationObserver(t(this, Ge))), g(this, {
1436
1461
  children: [
1437
- b({
1462
+ w({
1438
1463
  class: "wrapper",
1439
1464
  children: [
1440
- b({
1465
+ w({
1441
1466
  class: "head",
1442
1467
  onClick: (n) => {
1443
- this.classList.toggle("opened"), this.classList.contains("opened") ? C.openPanel(e(this, A)) : C.closePanel(e(this, A));
1468
+ this.classList.toggle("opened"), this.classList.contains("opened") ? C.openPanel(t(this, A)) : C.closePanel(t(this, A));
1444
1469
  },
1445
1470
  children: [
1446
- e(this, A) ? b({
1471
+ t(this, A) ? w({
1447
1472
  class: "name",
1448
- children: [e(this, A).split(".").slice(-1).toString()]
1473
+ children: [t(this, A).split(".").slice(-1).toString()]
1449
1474
  }) : null,
1450
- e(this, Ne),
1475
+ t(this, Ne),
1451
1476
  g(Ht, {
1452
1477
  class: "arrow"
1453
1478
  })
1454
1479
  ]
1455
1480
  }),
1456
- b({
1481
+ w({
1457
1482
  class: "body",
1458
1483
  ref: (n) => {
1459
1484
  c(this, Fe, n);
1460
1485
  },
1461
- children: b({
1486
+ children: w({
1462
1487
  class: "body-content",
1463
- children: e(this, S),
1488
+ children: t(this, S),
1464
1489
  ref: (n) => {
1465
1490
  c(this, Pe, n), c(this, $e, n.firstElementChild);
1466
1491
  }
@@ -1469,54 +1494,54 @@ const Ue = class Ue extends HTMLElement {
1469
1494
  ]
1470
1495
  })
1471
1496
  ]
1472
- }), t != null && t.storeBox && this.handleStore(t.storeBox);
1497
+ }), e != null && e.storeBox && this.handleStore(e.storeBox);
1473
1498
  }
1474
1499
  get key() {
1475
- return e(this, A);
1500
+ return t(this, A);
1476
1501
  }
1477
1502
  get head() {
1478
- return e(this, Ne);
1503
+ return t(this, Ne);
1479
1504
  }
1480
1505
  get content() {
1481
- return e(this, S);
1506
+ return t(this, S);
1482
1507
  }
1483
1508
  get bodyElement() {
1484
- return e(this, Fe);
1509
+ return t(this, Fe);
1485
1510
  }
1486
1511
  get contentElement() {
1487
- return e(this, Pe);
1512
+ return t(this, Pe);
1488
1513
  }
1489
1514
  connectedCallback() {
1490
- C.isPanelOpened(e(this, A)) && this.classList.add("opened"), setTimeout(() => {
1515
+ C.isPanelOpened(t(this, A)) && this.classList.add("opened"), setTimeout(() => {
1491
1516
  this.classList.add("transition-allowed");
1492
- }), e(this, Re).observe(e(this, $e), {
1517
+ }), t(this, Re).observe(t(this, $e), {
1493
1518
  childList: !0
1494
1519
  });
1495
1520
  }
1496
- handleStore(t) {
1497
- if (t.remainingFolders.length) {
1498
- const n = t.store.name.split("."), h = n.slice(0, n.length - t.remainingFolders.length).join("."), u = e(this, S).current.find((m) => m.key === h);
1521
+ handleStore(e) {
1522
+ if (e.remainingFolders.length) {
1523
+ const n = e.store.name.split("."), h = n.slice(0, n.length - e.remainingFolders.length).join("."), u = t(this, S).current.find((m) => m.key === h);
1499
1524
  u instanceof Ue ? u.handleStore({
1500
- store: t.store,
1501
- remainingFolders: t.remainingFolders.slice(1)
1502
- }) : e(this, S).current = [
1503
- ...e(this, S).current,
1525
+ store: e.store,
1526
+ remainingFolders: e.remainingFolders.slice(1)
1527
+ }) : t(this, S).current = [
1528
+ ...t(this, S).current,
1504
1529
  new Ue({
1505
1530
  key: h,
1506
1531
  storeBox: {
1507
- store: t.store,
1508
- remainingFolders: t.remainingFolders.slice(1)
1532
+ store: e.store,
1533
+ remainingFolders: e.remainingFolders.slice(1)
1509
1534
  }
1510
1535
  })
1511
1536
  ];
1512
1537
  } else {
1513
- const i = e(this, S).current.find(
1514
- (n) => n.key === t.store.name
1538
+ const i = t(this, S).current.find(
1539
+ (n) => n.key === e.store.name
1515
1540
  );
1516
- i instanceof pt ? i.addStore(t.store) : e(this, S).current = [
1517
- ...e(this, S).current,
1541
+ i instanceof pt ? i.addStore(e.store) : t(this, S).current = [
1542
+ ...t(this, S).current,
1518
1543
  new pt({
1519
- store: t.store
1544
+ store: e.store
1520
1545
  })
1521
1546
  ];
1522
1547
  }
@@ -1628,25 +1653,28 @@ class qt extends Ze {
1628
1653
  C.save();
1629
1654
  });
1630
1655
  o(this, De, Xt(() => {
1631
- j.current.forEach((t) => {
1632
- if (t.name) {
1633
- const i = t.name.split(".");
1656
+ j.current.forEach((e) => {
1657
+ if (e.name) {
1658
+ const i = e.name.split(".");
1634
1659
  this.handleStore({
1635
- store: t,
1660
+ store: e,
1636
1661
  remainingFolders: i.length > 1 ? i.slice(0, -1) : []
1637
1662
  });
1638
1663
  }
1639
- }), e(this, Ie) || (c(this, Ie, !0), this.contentElement.scroll({
1664
+ }), t(this, Ie) || (c(this, Ie, !0), this.contentElement.scroll({
1640
1665
  top: C.scrollValue
1641
1666
  }), this.contentElement.addEventListener("scroll", () => {
1642
1667
  C.scrollValue = this.contentElement.scrollTop;
1643
1668
  }));
1644
1669
  }, 10));
1645
- C.load(), this.shadowRoot.adoptedStyleSheets.push(Ts), this.head.current = [
1646
- b({
1670
+ C.load(), this.shadowRoot.adoptedStyleSheets = [
1671
+ ...this.shadowRoot.adoptedStyleSheets,
1672
+ Ts
1673
+ ], this.head.current = [
1674
+ w({
1647
1675
  class: "tweaker-buttons",
1648
- onClick: (t) => {
1649
- t.stopPropagation();
1676
+ onClick: (e) => {
1677
+ e.stopPropagation();
1650
1678
  },
1651
1679
  children: [
1652
1680
  ee({
@@ -1681,9 +1709,9 @@ class qt extends Ze {
1681
1709
  style: {
1682
1710
  display: "none"
1683
1711
  },
1684
- onChange: (t) => {
1712
+ onChange: (e) => {
1685
1713
  var h;
1686
- const n = (h = t.currentTarget.files) == null ? void 0 : h[0];
1714
+ const n = (h = e.currentTarget.files) == null ? void 0 : h[0];
1687
1715
  if (n) {
1688
1716
  const u = new FileReader();
1689
1717
  u.onload = (m) => {
@@ -1700,14 +1728,14 @@ class qt extends Ze {
1700
1728
  })
1701
1729
  ], g(this.bodyElement, {
1702
1730
  children: [
1703
- b({
1731
+ w({
1704
1732
  class: "resize",
1705
- onPointerdown: (t) => {
1706
- t.preventDefault();
1733
+ onPointerdown: (e) => {
1734
+ e.preventDefault();
1707
1735
  const i = this.getBoundingClientRect(), n = this.contentElement.scrollTop;
1708
1736
  Et(
1709
1737
  (h) => {
1710
- const u = t.x - h.x, m = Math.max(400, i.width + u);
1738
+ const u = e.x - h.x, m = Math.max(400, i.width + u);
1711
1739
  this.style.width = m + "px", C.changeSize("tweaker", m);
1712
1740
  },
1713
1741
  () => {
@@ -1727,10 +1755,10 @@ class qt extends Ze {
1727
1755
  });
1728
1756
  }
1729
1757
  connectedCallback() {
1730
- super.connectedCallback(), window.addEventListener("beforeunload", e(this, He)), j.subscribe(e(this, De)), C.changedSizes("tweaker") && (this.style.width = C.changedSizes("tweaker") + "px");
1758
+ super.connectedCallback(), window.addEventListener("beforeunload", t(this, He)), j.subscribe(t(this, De)), C.changedSizes("tweaker") && (this.style.width = C.changedSizes("tweaker") + "px");
1731
1759
  }
1732
1760
  disconnectedCallback() {
1733
- window.removeEventListener("beforeunload", e(this, He)), C.save(), j.unsubscribe(e(this, De));
1761
+ window.removeEventListener("beforeunload", t(this, He)), C.save(), j.unsubscribe(t(this, De));
1734
1762
  }
1735
1763
  }
1736
1764
  Ie = new WeakMap(), He = new WeakMap(), De = new WeakMap();