sprof 0.0.190 → 0.0.192

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/sprof.js CHANGED
@@ -1,9 +1,9 @@
1
1
  var _l = Object.defineProperty;
2
2
  var Zl = (t, e, i) => e in t ? _l(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
3
3
  var a = (t, e, i) => Zl(t, typeof e != "symbol" ? e + "" : e, i);
4
- import { reactive as Oe, ref as T, openBlock as g, createElementBlock as w, createElementVNode as f, getCurrentInstance as Xl, inject as Yl, onUnmounted as Tr, onDeactivated as Jl, onActivated as Ql, onBeforeMount as ot, defineComponent as $, computed as he, mergeProps as kt, unref as p, withModifiers as Fe, renderSlot as P, createTextVNode as es, toDisplayString as xe, Fragment as G, normalizeClass as ie, normalizeStyle as I, mergeModels as Ae, useModel as mt, withDirectives as Xe, vModelCheckbox as Kl, createVNode as R, createCommentVNode as J, vModelDynamic as eu, resolveComponent as L, isRef as Ve, withKeys as tu, vModelText as zr, watch as Ye, createBlock as N, vModelRadio as iu, vShow as ts, vModelSelect as nu, useCssVars as Or, onMounted as Zt, renderList as Ee, withCtx as X, resolveDirective as Fr, nextTick as su, Transition as Dr, onBeforeUnmount as is, createStaticVNode as Lr, onUpdated as ru, useTemplateRef as ou, resolveDynamicComponent as ai } from "vue";
4
+ import { reactive as Oe, ref as T, openBlock as g, createElementBlock as w, createElementVNode as f, getCurrentInstance as Xl, inject as Yl, onUnmounted as Tr, onDeactivated as Jl, onActivated as Ql, onBeforeMount as ot, defineComponent as $, computed as he, mergeProps as Mt, unref as p, withModifiers as Fe, renderSlot as P, createTextVNode as es, toDisplayString as xe, Fragment as G, normalizeClass as ie, normalizeStyle as I, mergeModels as Ae, useModel as mt, withDirectives as Xe, vModelCheckbox as Kl, createVNode as R, createCommentVNode as J, vModelDynamic as eu, resolveComponent as L, isRef as Ve, withKeys as tu, vModelText as zr, watch as Ye, createBlock as N, vModelRadio as iu, vShow as ts, vModelSelect as nu, useCssVars as Or, onMounted as Zt, renderList as Ee, withCtx as X, resolveDirective as Fr, nextTick as su, Transition as Dr, onBeforeUnmount as is, createStaticVNode as Lr, onUpdated as ru, useTemplateRef as ou, resolveDynamicComponent as ai } from "vue";
5
5
  var Re = /* @__PURE__ */ ((t) => (t.Login = "login", t.Register = "register", t.Restore = "restore", t.Refresh = "refresh", t))(Re || {}), Pe = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.Success = "success", t.Warning = "warning", t.Error = "error", t.Info = "info", t))(Pe || {});
6
- class Rt {
6
+ class It {
7
7
  constructor(e, i, n, s) {
8
8
  a(this, "text", "Сохранить");
9
9
  a(this, "type", Pe.Success);
@@ -14,19 +14,19 @@ class Rt {
14
14
  this.text = e, this.type = n, this.action = i, s !== void 0 && (this.condition = s);
15
15
  }
16
16
  static Primary(e, i, n) {
17
- return new Rt(e, i, Pe.Primary, n);
17
+ return new It(e, i, Pe.Primary, n);
18
18
  }
19
19
  static Success(e, i, n) {
20
- return new Rt(e, i, Pe.Success, n);
20
+ return new It(e, i, Pe.Success, n);
21
21
  }
22
22
  static Warning(e, i, n) {
23
- return new Rt(e, i, Pe.Warning, n);
23
+ return new It(e, i, Pe.Warning, n);
24
24
  }
25
25
  static Error(e, i, n) {
26
- return new Rt(e, i, Pe.Error, n);
26
+ return new It(e, i, Pe.Error, n);
27
27
  }
28
28
  }
29
- class Ui extends Rt {
29
+ class Ui extends It {
30
30
  constructor() {
31
31
  super();
32
32
  a(this, "id", "auth-button");
@@ -90,7 +90,7 @@ class Br {
90
90
  this.value = "";
91
91
  }
92
92
  }
93
- var Ct = /* @__PURE__ */ ((t) => (t.Email = "field-auth-email", t.Password = "field-auth-password", t.PasswordRepeat = "field-auth-password-repeat", t))(Ct || {});
93
+ var St = /* @__PURE__ */ ((t) => (t.Email = "field-auth-email", t.Password = "field-auth-password", t.PasswordRepeat = "field-auth-password-repeat", t))(St || {});
94
94
  class ji extends Br {
95
95
  constructor() {
96
96
  super(...arguments);
@@ -99,7 +99,7 @@ class ji extends Br {
99
99
  a(this, "name", "");
100
100
  }
101
101
  get IsPassword() {
102
- return this.id === Ct.Password || this.id === Ct.PasswordRepeat;
102
+ return this.id === St.Password || this.id === St.PasswordRepeat;
103
103
  }
104
104
  }
105
105
  var mi = /* @__PURE__ */ ((t) => (t.Login = "login", t.Email = "email", t.Phone = "phone", t.VK = "vk", t.ESIA = "esia", t))(mi || {});
@@ -115,7 +115,7 @@ class Hr {
115
115
  class uu extends ji {
116
116
  constructor() {
117
117
  super(...arguments);
118
- a(this, "id", Ct.Email);
118
+ a(this, "id", St.Email);
119
119
  a(this, "label", "Email");
120
120
  a(this, "name", "email");
121
121
  a(this, "placeholder", "Введите email");
@@ -140,7 +140,7 @@ class du extends ji {
140
140
  a(this, "validator", new cu());
141
141
  a(this, "name", "password");
142
142
  a(this, "placeholder", "Введите пароль");
143
- a(this, "id", Ct.Password);
143
+ a(this, "id", St.Password);
144
144
  }
145
145
  }
146
146
  const Cn = new du();
@@ -148,7 +148,7 @@ class hu extends ji {
148
148
  constructor() {
149
149
  super(...arguments);
150
150
  a(this, "label", "Повторите пароль");
151
- a(this, "id", Ct.PasswordRepeat);
151
+ a(this, "id", St.PasswordRepeat);
152
152
  }
153
153
  }
154
154
  const fu = new hu(), mu = {
@@ -211,7 +211,7 @@ class gu {
211
211
  }
212
212
  Validate() {
213
213
  if (this.IsRegister) {
214
- const e = this.GetField(Ct.Password), i = this.GetField(Ct.PasswordRepeat);
214
+ const e = this.GetField(St.Password), i = this.GetField(St.PasswordRepeat);
215
215
  if ((e == null ? void 0 : e.value) !== (i == null ? void 0 : i.value))
216
216
  return ["Пароли не совпадают"];
217
217
  }
@@ -819,8 +819,8 @@ var Ks;
819
819
  return k;
820
820
  if (k.length <= 0)
821
821
  return W;
822
- for (var ve = new y(), ge = [], Q = 0, z = k; Q < z.length; Q++) {
823
- var D = z[Q], H = ve.has(D);
822
+ for (var ve = new y(), ge = [], Q = 0, O = k; Q < O.length; Q++) {
823
+ var D = O[Q], H = ve.has(D);
824
824
  H || (ve.add(D), ge.push(D));
825
825
  }
826
826
  for (var q = 0, te = W; q < te.length; q++) {
@@ -987,7 +987,7 @@ var Ks;
987
987
  !V(M) && typeof i.Reflect < "u" && !(M in i.Reflect) && typeof i.Reflect.defineMetadata == "function" && (v = Nl(i.Reflect));
988
988
  var b, k, E, W = new x(), ve = {
989
989
  registerProvider: ge,
990
- getProvider: z,
990
+ getProvider: O,
991
991
  setProvider: H
992
992
  };
993
993
  return ve;
@@ -1033,7 +1033,7 @@ var Ks;
1033
1033
  if (!V(v) && v.isProviderFor(q, te))
1034
1034
  return v;
1035
1035
  }
1036
- function z(q, te) {
1036
+ function O(q, te) {
1037
1037
  var le = W.get(q), ce;
1038
1038
  return V(le) || (ce = le.get(te)), V(ce) && (ce = Q(q, te), V(ce) || (V(le) && (le = new m(), W.set(q, le)), le.set(te, ce))), ce;
1039
1039
  }
@@ -1045,7 +1045,7 @@ var Ks;
1045
1045
  function H(q, te, le) {
1046
1046
  if (!D(le))
1047
1047
  throw new Error("Metadata provider not registered.");
1048
- var ce = z(q, te);
1048
+ var ce = O(q, te);
1049
1049
  if (ce !== le) {
1050
1050
  if (!V(ce))
1051
1051
  return !1;
@@ -1074,7 +1074,7 @@ var Ks;
1074
1074
  OrdinaryHasOwnMetadata: W,
1075
1075
  OrdinaryGetOwnMetadata: ve,
1076
1076
  OrdinaryOwnMetadataKeys: Q,
1077
- OrdinaryDeleteMetadata: z
1077
+ OrdinaryDeleteMetadata: O
1078
1078
  };
1079
1079
  return S.registerProvider(k), k;
1080
1080
  function E(D, H, q) {
@@ -1147,7 +1147,7 @@ var Ks;
1147
1147
  _e++;
1148
1148
  }
1149
1149
  }
1150
- function z(D, H, q) {
1150
+ function O(D, H, q) {
1151
1151
  var te = E(
1152
1152
  H,
1153
1153
  q,
@@ -1165,9 +1165,9 @@ var Ks;
1165
1165
  }
1166
1166
  function Nl(v) {
1167
1167
  var b = v.defineMetadata, k = v.hasOwnMetadata, E = v.getOwnMetadata, W = v.getOwnMetadataKeys, ve = v.deleteMetadata, ge = new x(), Q = {
1168
- isProviderFor: function(z, D) {
1169
- var H = ge.get(z);
1170
- return !V(H) && H.has(D) ? !0 : W(z, D).length ? (V(H) && (H = new y(), ge.set(z, H)), H.add(D), !0) : !1;
1168
+ isProviderFor: function(O, D) {
1169
+ var H = ge.get(O);
1170
+ return !V(H) && H.has(D) ? !0 : W(O, D).length ? (V(H) && (H = new y(), ge.set(O, H)), H.add(D), !0) : !1;
1171
1171
  },
1172
1172
  OrdinaryDefineOwnMetadata: b,
1173
1173
  OrdinaryHasOwnMetadata: k,
@@ -1191,24 +1191,24 @@ var Ks;
1191
1191
  var v = {}, b = [], k = (
1192
1192
  /** @class */
1193
1193
  function() {
1194
- function Q(z, D, H) {
1195
- this._index = 0, this._keys = z, this._values = D, this._selector = H;
1194
+ function Q(O, D, H) {
1195
+ this._index = 0, this._keys = O, this._values = D, this._selector = H;
1196
1196
  }
1197
1197
  return Q.prototype["@@iterator"] = function() {
1198
1198
  return this;
1199
1199
  }, Q.prototype[o] = function() {
1200
1200
  return this;
1201
1201
  }, Q.prototype.next = function() {
1202
- var z = this._index;
1203
- if (z >= 0 && z < this._keys.length) {
1204
- var D = this._selector(this._keys[z], this._values[z]);
1205
- return z + 1 >= this._keys.length ? (this._index = -1, this._keys = b, this._values = b) : this._index++, { value: D, done: !1 };
1202
+ var O = this._index;
1203
+ if (O >= 0 && O < this._keys.length) {
1204
+ var D = this._selector(this._keys[O], this._values[O]);
1205
+ return O + 1 >= this._keys.length ? (this._index = -1, this._keys = b, this._values = b) : this._index++, { value: D, done: !1 };
1206
1206
  }
1207
1207
  return { value: void 0, done: !0 };
1208
- }, Q.prototype.throw = function(z) {
1209
- throw this._index >= 0 && (this._index = -1, this._keys = b, this._values = b), z;
1210
- }, Q.prototype.return = function(z) {
1211
- return this._index >= 0 && (this._index = -1, this._keys = b, this._values = b), { value: z, done: !0 };
1208
+ }, Q.prototype.throw = function(O) {
1209
+ throw this._index >= 0 && (this._index = -1, this._keys = b, this._values = b), O;
1210
+ }, Q.prototype.return = function(O) {
1211
+ return this._index >= 0 && (this._index = -1, this._keys = b, this._values = b), { value: O, done: !0 };
1212
1212
  }, Q;
1213
1213
  }()
1214
1214
  ), E = (
@@ -1223,36 +1223,36 @@ var Ks;
1223
1223
  },
1224
1224
  enumerable: !0,
1225
1225
  configurable: !0
1226
- }), Q.prototype.has = function(z) {
1226
+ }), Q.prototype.has = function(O) {
1227
1227
  return this._find(
1228
- z,
1228
+ O,
1229
1229
  /*insert*/
1230
1230
  !1
1231
1231
  ) >= 0;
1232
- }, Q.prototype.get = function(z) {
1232
+ }, Q.prototype.get = function(O) {
1233
1233
  var D = this._find(
1234
- z,
1234
+ O,
1235
1235
  /*insert*/
1236
1236
  !1
1237
1237
  );
1238
1238
  return D >= 0 ? this._values[D] : void 0;
1239
- }, Q.prototype.set = function(z, D) {
1239
+ }, Q.prototype.set = function(O, D) {
1240
1240
  var H = this._find(
1241
- z,
1241
+ O,
1242
1242
  /*insert*/
1243
1243
  !0
1244
1244
  );
1245
1245
  return this._values[H] = D, this;
1246
- }, Q.prototype.delete = function(z) {
1246
+ }, Q.prototype.delete = function(O) {
1247
1247
  var D = this._find(
1248
- z,
1248
+ O,
1249
1249
  /*insert*/
1250
1250
  !1
1251
1251
  );
1252
1252
  if (D >= 0) {
1253
1253
  for (var H = this._keys.length, q = D + 1; q < H; q++)
1254
1254
  this._keys[q - 1] = this._keys[q], this._values[q - 1] = this._values[q];
1255
- return this._keys.length--, this._values.length--, vn(z, this._cacheKey) && (this._cacheKey = v, this._cacheIndex = -2), !0;
1255
+ return this._keys.length--, this._values.length--, vn(O, this._cacheKey) && (this._cacheKey = v, this._cacheIndex = -2), !0;
1256
1256
  }
1257
1257
  return !1;
1258
1258
  }, Q.prototype.clear = function() {
@@ -1267,28 +1267,28 @@ var Ks;
1267
1267
  return this.entries();
1268
1268
  }, Q.prototype[o] = function() {
1269
1269
  return this.entries();
1270
- }, Q.prototype._find = function(z, D) {
1271
- if (!vn(this._cacheKey, z)) {
1270
+ }, Q.prototype._find = function(O, D) {
1271
+ if (!vn(this._cacheKey, O)) {
1272
1272
  this._cacheIndex = -1;
1273
1273
  for (var H = 0; H < this._keys.length; H++)
1274
- if (vn(this._keys[H], z)) {
1274
+ if (vn(this._keys[H], O)) {
1275
1275
  this._cacheIndex = H;
1276
1276
  break;
1277
1277
  }
1278
1278
  }
1279
- return this._cacheIndex < 0 && D && (this._cacheIndex = this._keys.length, this._keys.push(z), this._values.push(void 0)), this._cacheIndex;
1279
+ return this._cacheIndex < 0 && D && (this._cacheIndex = this._keys.length, this._keys.push(O), this._values.push(void 0)), this._cacheIndex;
1280
1280
  }, Q;
1281
1281
  }()
1282
1282
  );
1283
1283
  return E;
1284
- function W(Q, z) {
1284
+ function W(Q, O) {
1285
1285
  return Q;
1286
1286
  }
1287
- function ve(Q, z) {
1288
- return z;
1287
+ function ve(Q, O) {
1288
+ return O;
1289
1289
  }
1290
- function ge(Q, z) {
1291
- return [Q, z];
1290
+ function ge(Q, O) {
1291
+ return [Q, O];
1292
1292
  }
1293
1293
  }
1294
1294
  function jl() {
@@ -1332,74 +1332,74 @@ var Ks;
1332
1332
  return (
1333
1333
  /** @class */
1334
1334
  function() {
1335
- function z() {
1335
+ function O() {
1336
1336
  this._key = E();
1337
1337
  }
1338
- return z.prototype.has = function(D) {
1338
+ return O.prototype.has = function(D) {
1339
1339
  var H = W(
1340
1340
  D,
1341
1341
  /*create*/
1342
1342
  !1
1343
1343
  );
1344
1344
  return H !== void 0 ? d.has(H, this._key) : !1;
1345
- }, z.prototype.get = function(D) {
1345
+ }, O.prototype.get = function(D) {
1346
1346
  var H = W(
1347
1347
  D,
1348
1348
  /*create*/
1349
1349
  !1
1350
1350
  );
1351
1351
  return H !== void 0 ? d.get(H, this._key) : void 0;
1352
- }, z.prototype.set = function(D, H) {
1352
+ }, O.prototype.set = function(D, H) {
1353
1353
  var q = W(
1354
1354
  D,
1355
1355
  /*create*/
1356
1356
  !0
1357
1357
  );
1358
1358
  return q[this._key] = H, this;
1359
- }, z.prototype.delete = function(D) {
1359
+ }, O.prototype.delete = function(D) {
1360
1360
  var H = W(
1361
1361
  D,
1362
1362
  /*create*/
1363
1363
  !1
1364
1364
  );
1365
1365
  return H !== void 0 ? delete H[this._key] : !1;
1366
- }, z.prototype.clear = function() {
1366
+ }, O.prototype.clear = function() {
1367
1367
  this._key = E();
1368
- }, z;
1368
+ }, O;
1369
1369
  }()
1370
1370
  );
1371
1371
  function E() {
1372
- var z;
1372
+ var O;
1373
1373
  do
1374
- z = "@@WeakMap@@" + Q();
1375
- while (d.has(b, z));
1376
- return b[z] = !0, z;
1374
+ O = "@@WeakMap@@" + Q();
1375
+ while (d.has(b, O));
1376
+ return b[O] = !0, O;
1377
1377
  }
1378
- function W(z, D) {
1379
- if (!n.call(z, k)) {
1378
+ function W(O, D) {
1379
+ if (!n.call(O, k)) {
1380
1380
  if (!D)
1381
1381
  return;
1382
- Object.defineProperty(z, k, { value: d.create() });
1382
+ Object.defineProperty(O, k, { value: d.create() });
1383
1383
  }
1384
- return z[k];
1384
+ return O[k];
1385
1385
  }
1386
- function ve(z, D) {
1386
+ function ve(O, D) {
1387
1387
  for (var H = 0; H < D; ++H)
1388
- z[H] = Math.random() * 255 | 0;
1389
- return z;
1388
+ O[H] = Math.random() * 255 | 0;
1389
+ return O;
1390
1390
  }
1391
- function ge(z) {
1391
+ function ge(O) {
1392
1392
  if (typeof Uint8Array == "function") {
1393
- var D = new Uint8Array(z);
1394
- return typeof crypto < "u" ? crypto.getRandomValues(D) : typeof msCrypto < "u" ? msCrypto.getRandomValues(D) : ve(D, z), D;
1393
+ var D = new Uint8Array(O);
1394
+ return typeof crypto < "u" ? crypto.getRandomValues(D) : typeof msCrypto < "u" ? msCrypto.getRandomValues(D) : ve(D, O), D;
1395
1395
  }
1396
- return ve(new Array(z), z);
1396
+ return ve(new Array(O), O);
1397
1397
  }
1398
1398
  function Q() {
1399
- var z = ge(v);
1400
- z[6] = z[6] & 79 | 64, z[8] = z[8] & 191 | 128;
1399
+ var O = ge(v);
1400
+ O[6] = O[6] & 79 | 64, O[8] = O[8] & 191 | 128;
1401
1401
  for (var D = "", H = 0; H < v; ++H) {
1402
- var q = z[H];
1402
+ var q = O[H];
1403
1403
  (H === 4 || H === 6 || H === 8) && (D += "-"), q < 16 && (D += "0"), D += q.toString(16).toLowerCase();
1404
1404
  }
1405
1405
  return D;
@@ -1426,7 +1426,7 @@ function Mu(t, e = 0) {
1426
1426
  const ku = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), er = {
1427
1427
  randomUUID: ku
1428
1428
  };
1429
- function xt(t, e, i) {
1429
+ function Ct(t, e, i) {
1430
1430
  if (er.randomUUID && !t)
1431
1431
  return er.randomUUID();
1432
1432
  t = t || {};
@@ -1435,7 +1435,7 @@ function xt(t, e, i) {
1435
1435
  }
1436
1436
  class Me {
1437
1437
  static UUID() {
1438
- return xt();
1438
+ return Ct();
1439
1439
  }
1440
1440
  static GUID() {
1441
1441
  const e = function() {
@@ -1661,7 +1661,7 @@ class Te {
1661
1661
  return n.id = i ?? Me.UUID(), n.originalName = e.name, n.file = e.blob, n.fileSystemPath = Me.UUID(), n;
1662
1662
  }
1663
1663
  setFile(e) {
1664
- this.id || (this.id = O.H.Id.UUID()), this.originalName = e.name, this.file = e.blob, this.fileSystemPath = O.H.Id.UUID(), this.url = e.src;
1664
+ this.id || (this.id = z.H.Id.UUID()), this.originalName = e.name, this.file = e.blob, this.fileSystemPath = z.H.Id.UUID(), this.url = e.src;
1665
1665
  }
1666
1666
  clearFile() {
1667
1667
  this.url = "", this.file = void 0, this.fileSystemPath = "", this.originalName = "";
@@ -1862,7 +1862,7 @@ const Gr = class ii {
1862
1862
  }
1863
1863
  static CreateFilterModelWithJoin(e, i, n, s, r, o, u, l) {
1864
1864
  const c = new ii();
1865
- return c.id = xt(), c.joinTable = n, c.joinTablePk = s, c.joinTableFk = r, c.col = i, c.type = o, u && (c.joinTableId = u), l && (c.joinTableIdCol = l), c;
1865
+ return c.id = Ct(), c.joinTable = n, c.joinTablePk = s, c.joinTableFk = r, c.col = i, c.type = o, u && (c.joinTableId = u), l && (c.joinTableIdCol = l), c;
1866
1866
  }
1867
1867
  static CreateFilterModelWithJoinV2(e, i, n, s, r, o, u) {
1868
1868
  const l = new ii();
@@ -1870,7 +1870,7 @@ const Gr = class ii {
1870
1870
  }
1871
1871
  static OnlyIfSecondModelExists(e, i) {
1872
1872
  const n = new ii();
1873
- return n.id = xt(), n.model = ne.ToCamelCase(e.GetClassName()), n.joinTableModel = ne.ToCamelCase(i.GetClassName()), n.type = ye.Join, n;
1873
+ return n.id = Ct(), n.model = ne.ToCamelCase(e.GetClassName()), n.joinTableModel = ne.ToCamelCase(i.GetClassName()), n.type = ye.Join, n;
1874
1874
  }
1875
1875
  addToSet(...e) {
1876
1876
  e.forEach((i) => {
@@ -2155,7 +2155,7 @@ function Xr(t, e) {
2155
2155
  return s;
2156
2156
  return null;
2157
2157
  }
2158
- const $t = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Yr = (t) => !di(t) && t !== $t;
2158
+ const Rt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Yr = (t) => !di(t) && t !== Rt;
2159
2159
  function Bn() {
2160
2160
  const { caseless: t } = Yr(this) && this || {}, e = {}, i = (n, s) => {
2161
2161
  const r = t && Xr(e, s) || s;
@@ -2272,14 +2272,14 @@ const fc = (t) => {
2272
2272
  return n;
2273
2273
  };
2274
2274
  return i(t, 0);
2275
- }, mc = Je("AsyncFunction"), gc = (t) => t && (Xi(t) || qe(t)) && qe(t.then) && qe(t.catch), Kr = ((t, e) => t ? setImmediate : e ? ((i, n) => ($t.addEventListener("message", ({ source: s, data: r }) => {
2276
- s === $t && r === i && n.length && n.shift()();
2275
+ }, mc = Je("AsyncFunction"), gc = (t) => t && (Xi(t) || qe(t)) && qe(t.then) && qe(t.catch), Kr = ((t, e) => t ? setImmediate : e ? ((i, n) => (Rt.addEventListener("message", ({ source: s, data: r }) => {
2276
+ s === Rt && r === i && n.length && n.shift()();
2277
2277
  }, !1), (s) => {
2278
- n.push(s), $t.postMessage(i, "*");
2278
+ n.push(s), Rt.postMessage(i, "*");
2279
2279
  }))(`axios@${Math.random()}`, []) : (i) => setTimeout(i))(
2280
2280
  typeof setImmediate == "function",
2281
- qe($t.postMessage)
2282
- ), pc = typeof queueMicrotask < "u" ? queueMicrotask.bind($t) : typeof process < "u" && process.nextTick || Kr, C = {
2281
+ qe(Rt.postMessage)
2282
+ ), pc = typeof queueMicrotask < "u" ? queueMicrotask.bind(Rt) : typeof process < "u" && process.nextTick || Kr, C = {
2283
2283
  isArray: Xt,
2284
2284
  isArrayBuffer: _r,
2285
2285
  isBuffer: zu,
@@ -2328,7 +2328,7 @@ const fc = (t) => {
2328
2328
  noop: uc,
2329
2329
  toFiniteNumber: cc,
2330
2330
  findKey: Xr,
2331
- global: $t,
2331
+ global: Rt,
2332
2332
  isContextDefined: Yr,
2333
2333
  ALPHABET: Qr,
2334
2334
  generateString: dc,
@@ -3489,7 +3489,7 @@ const Ti = {
3489
3489
  assertOptions: sd,
3490
3490
  validators: Qi
3491
3491
  }, et = Ti.validators;
3492
- class At {
3492
+ class $t {
3493
3493
  constructor(e) {
3494
3494
  this.defaults = e, this.interceptors = {
3495
3495
  request: new rr(),
@@ -3590,7 +3590,7 @@ class At {
3590
3590
  }
3591
3591
  }
3592
3592
  C.forEach(["delete", "get", "head", "options"], function(e) {
3593
- At.prototype[e] = function(i, n) {
3593
+ $t.prototype[e] = function(i, n) {
3594
3594
  return this.request(Tt(n || {}, {
3595
3595
  method: e,
3596
3596
  url: i,
@@ -3611,7 +3611,7 @@ C.forEach(["post", "put", "patch"], function(e) {
3611
3611
  }));
3612
3612
  };
3613
3613
  }
3614
- At.prototype[e] = i(), At.prototype[e + "Form"] = i(!0);
3614
+ $t.prototype[e] = i(), $t.prototype[e + "Form"] = i(!0);
3615
3615
  });
3616
3616
  class us {
3617
3617
  constructor(e) {
@@ -3763,13 +3763,13 @@ Object.entries(jn).forEach(([t, e]) => {
3763
3763
  jn[e] = t;
3764
3764
  });
3765
3765
  function po(t) {
3766
- const e = new At(t), i = Vr(At.prototype.request, e);
3767
- return C.extend(i, At.prototype, e, { allOwnKeys: !0 }), C.extend(i, e, null, { allOwnKeys: !0 }), i.create = function(s) {
3766
+ const e = new $t(t), i = Vr($t.prototype.request, e);
3767
+ return C.extend(i, $t.prototype, e, { allOwnKeys: !0 }), C.extend(i, e, null, { allOwnKeys: !0 }), i.create = function(s) {
3768
3768
  return po(Tt(t, s));
3769
3769
  }, i;
3770
3770
  }
3771
3771
  const fe = po(vi);
3772
- fe.Axios = At;
3772
+ fe.Axios = $t;
3773
3773
  fe.CanceledError = Yt;
3774
3774
  fe.CancelToken = us;
3775
3775
  fe.isCancel = ao;
@@ -4103,7 +4103,7 @@ a(tt, "router"), a(tt, "ChangeDocumentTitle", (e = "") => {
4103
4103
  let i = tt.Route().meta.title ?? e;
4104
4104
  i && e && (i = i + ` | ${e}`), document.title = i;
4105
4105
  });
4106
- let Mt = tt;
4106
+ let xt = tt;
4107
4107
  class ue {
4108
4108
  constructor(e, i) {
4109
4109
  a(this, "items", Oe([]));
@@ -4128,7 +4128,7 @@ class ue {
4128
4128
  e && e.withCache ? i = await Ki.TryGet(this.getUrl(), n) : i = await n({ query: this.getUrl() }), Array.isArray(i) ? this.SetAll(i) : this.SetAllWithCount(i);
4129
4129
  }
4130
4130
  async Get(e) {
4131
- e || (e = Mt.Id()), this.Set(await de.Get({ query: this.getUrl(e) }));
4131
+ e || (e = xt.Id()), this.Set(await de.Get({ query: this.getUrl(e) }));
4132
4132
  }
4133
4133
  async FTSP(e) {
4134
4134
  var o;
@@ -4530,7 +4530,7 @@ class $d {
4530
4530
  this.list = [], this.defaultSortModel = void 0;
4531
4531
  }
4532
4532
  }
4533
- const St = new $d();
4533
+ const At = new $d();
4534
4534
  function Ad() {
4535
4535
  const t = T(!1), e = T(!1);
4536
4536
  return {
@@ -4549,7 +4549,7 @@ function Ad() {
4549
4549
  }
4550
4550
  const Pd = (() => {
4551
4551
  const t = (r, o) => ot(async () => {
4552
- St.Set(o == null ? void 0 : o.sortsLib), St.Set(o == null ? void 0 : o.sortsLib), await r();
4552
+ At.Set(o == null ? void 0 : o.sortsLib), await r();
4553
4553
  }), { saveButtonClick: e, showConfirmModal: i } = Ad(), n = (r) => Rd((o, u, l) => {
4554
4554
  i((r || s)(), l);
4555
4555
  }), s = (r) => async () => {
@@ -4581,7 +4581,7 @@ class hs {
4581
4581
  a(this, "key", "");
4582
4582
  }
4583
4583
  preSelect() {
4584
- const e = Mt.GetStringQueryParam(this.key);
4584
+ const e = xt.GetStringQueryParam(this.key);
4585
4585
  if (!e || e === "undefined") {
4586
4586
  this.Select(0);
4587
4587
  return;
@@ -4597,7 +4597,7 @@ class hs {
4597
4597
  if (this.items.length) {
4598
4598
  if (e === void 0)
4599
4599
  return this.preSelect();
4600
- this.idx = e, Mt.SetQueryParam(this.key, this.GetSlug());
4600
+ this.idx = e, xt.SetQueryParam(this.key, this.GetSlug());
4601
4601
  }
4602
4602
  }
4603
4603
  GetMenu() {
@@ -4749,11 +4749,11 @@ class qi {
4749
4749
  }
4750
4750
  static Create(e, i, n, s) {
4751
4751
  const r = new qi();
4752
- return r.id = xt(), r.chatId = e, r.message = n, r.userName = s, r;
4752
+ return r.id = Ct(), r.chatId = e, r.message = n, r.userName = s, r;
4753
4753
  }
4754
4754
  static CreatePingMessage() {
4755
4755
  const e = new qi();
4756
- return e.type = "ping", e.id = xt(), e;
4756
+ return e.type = "ping", e.id = Ct(), e;
4757
4757
  }
4758
4758
  isMessage() {
4759
4759
  return this.type === "message" || this.type === "";
@@ -4797,7 +4797,7 @@ var K;
4797
4797
  let Nd = (K = class {
4798
4798
  }, a(K, "Arrays", ft), a(K, "Axios", si), a(K, "BaseStore", ue), // static Phone = Phone;
4799
4799
  a(K, "Cache", Ki), a(K, "Classes", B), a(K, "CarouselSwipe", dd), a(K, "Color", fd), a(K, "CreateSortModels", yo), a(K, "Cursor", md), a(K, "DateMask", bd), a(K, "Dates", ct), a(K, "Dragger", xd), a(K, "Extension", wo), a(K, "Favourite", Md), // static FTSP = FTSP;
4800
- a(K, "Hooks", Pd), a(K, "HttpClient", de), a(K, "Id", Me), a(K, "MakeCarousel", bo), a(K, "Period", Dn), a(K, "PhoneService", Vn), a(K, "Rating", Ed), a(K, "Router", Mt), a(K, "RouterGuard", Td), a(K, "Scheduler", zd), a(K, "Scroll", Fd), // static Sizes = Sizes;
4800
+ a(K, "Hooks", Pd), a(K, "HttpClient", de), a(K, "Id", Me), a(K, "MakeCarousel", bo), a(K, "Period", Dn), a(K, "PhoneService", Vn), a(K, "Rating", Ed), a(K, "Router", xt), a(K, "RouterGuard", Td), a(K, "Scheduler", zd), a(K, "Scroll", Fd), // static Sizes = Sizes;
4801
4801
  a(K, "Sorter", Dd), a(K, "Static", ns), // static Statuses = Statuses;
4802
4802
  a(K, "Strings", ne), a(K, "Time", ee), a(K, "Timer", ui), a(K, "Token", hi), a(K, "Menus", hs), // static useConfirmLeavePage = useConfirmLeavePage();
4803
4803
  a(K, "validate", Ld), a(K, "WaitElement", Bd), a(K, "WebSocketClient", qd), K);
@@ -4827,7 +4827,7 @@ let Wd = class {
4827
4827
  });
4828
4828
  if (!i)
4829
4829
  throw "Ошибка авторизации";
4830
- O.Auth.Status.SetState(i);
4830
+ z.Auth.Status.SetState(i);
4831
4831
  }
4832
4832
  async LoginAs(e) {
4833
4833
  await de.Post({
@@ -4844,7 +4844,7 @@ let Wd = class {
4844
4844
  await de.Post({ query: "auth/restore-password", payload: e });
4845
4845
  }
4846
4846
  async PasswordChange(e = dt.Form.GetValues()) {
4847
- e.id = O.H.Router.GetStringParam("userId"), await de.Put({
4847
+ e.id = z.H.Router.GetStringParam("userId"), await de.Put({
4848
4848
  query: "auth/password-change",
4849
4849
  payload: e
4850
4850
  });
@@ -5090,10 +5090,10 @@ class $n {
5090
5090
  i ? this.searchGroup = i : this.searchGroup = new Nt();
5091
5091
  }
5092
5092
  async reproduceFromRoute() {
5093
- this.setQuery(), await this.setSearchGroup(Mt.Route().query.groupId);
5093
+ this.setQuery(), await this.setSearchGroup(xt.Route().query.groupId);
5094
5094
  }
5095
5095
  setQuery() {
5096
- const e = Mt.Route().query.query;
5096
+ const e = xt.Route().query.query;
5097
5097
  e && (this.query = e);
5098
5098
  }
5099
5099
  }
@@ -5329,34 +5329,34 @@ class Ih extends qr {
5329
5329
  }
5330
5330
  }
5331
5331
  const Rh = new Ih();
5332
- class It {
5332
+ class kt {
5333
5333
  }
5334
- a(It, "Admin", Mh), a(It, "Dialog", lt), a(It, "Loading", Rh), a(It, "Notify", Oe(ze)), a(It, "Btn", Rt), a(It, "Input", Br);
5335
- class O {
5334
+ a(kt, "Admin", Mh), a(kt, "Dialog", lt), a(kt, "Loading", Rh), a(kt, "Notify", Oe(ze)), a(kt, "Btn", It), a(kt, "Input", Br);
5335
+ class z {
5336
5336
  }
5337
- a(O, "Auth", Oe(dt)), a(O, "UI", Oe(It)), a(O, "Paginator", Oe(jd)), /**
5337
+ a(z, "Auth", Oe(dt)), a(z, "UI", Oe(kt)), a(z, "Paginator", Oe(jd)), /**
5338
5338
  * Stores
5339
5339
  */
5340
- a(O, "S", vh), /**
5340
+ a(z, "S", vh), /**
5341
5341
  * Helpers
5342
5342
  */
5343
- a(O, "H", Nd), /**
5343
+ a(z, "H", Nd), /**
5344
5344
  * Classes
5345
5345
  */
5346
- a(O, "C", Iu), /**
5346
+ a(z, "C", Iu), /**
5347
5347
  * Types
5348
5348
  */
5349
- a(O, "T", yh), /**
5349
+ a(z, "T", yh), /**
5350
5350
  * FTSP
5351
5351
  */
5352
- a(O, "F", Eu);
5352
+ a(z, "F", Eu);
5353
5353
  class Ao {
5354
5354
  constructor(e) {
5355
5355
  a(this, "id");
5356
5356
  a(this, "num", "");
5357
5357
  a(this, "fileInfoId");
5358
5358
  a(this, "fileInfo", new Te());
5359
- O.H.Classes.BuildClass(this, e);
5359
+ z.H.Classes.BuildClass(this, e);
5360
5360
  }
5361
5361
  }
5362
5362
  class wi {
@@ -5364,13 +5364,13 @@ class wi {
5364
5364
  a(this, "id");
5365
5365
  a(this, "passportId");
5366
5366
  a(this, "fileInfoId");
5367
- a(this, "fileInfo", new O.C.FileInfo());
5367
+ a(this, "fileInfo", new z.C.FileInfo());
5368
5368
  a(this, "order", 0);
5369
5369
  B.BuildClass(this, e);
5370
5370
  }
5371
5371
  static Create(e) {
5372
5372
  const i = new wi();
5373
- return i.id = O.H.Id.UUID(), i.passportId = e, i;
5373
+ return i.id = z.H.Id.UUID(), i.passportId = e, i;
5374
5374
  }
5375
5375
  }
5376
5376
  var $h = Object.defineProperty, Ah = (t, e, i, n) => {
@@ -5401,7 +5401,7 @@ class Po {
5401
5401
  a(this, "num", "");
5402
5402
  a(this, "fileInfoId");
5403
5403
  a(this, "fileInfo", new Te());
5404
- O.H.Classes.BuildClass(this, e);
5404
+ z.H.Classes.BuildClass(this, e);
5405
5405
  }
5406
5406
  }
5407
5407
  const Ph = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -5455,11 +5455,11 @@ class zt {
5455
5455
  a(this, "showOther", !1);
5456
5456
  a(this, "fieldId");
5457
5457
  a(this, "isMatrixY", !1);
5458
- O.H.Classes.BuildClass(this, e);
5458
+ z.H.Classes.BuildClass(this, e);
5459
5459
  }
5460
5460
  static Create(e) {
5461
5461
  const i = new zt();
5462
- return i.id = O.H.Id.UUID(), i.fieldId = e, i;
5462
+ return i.id = z.H.Id.UUID(), i.fieldId = e, i;
5463
5463
  }
5464
5464
  }
5465
5465
  class Eo {
@@ -5468,7 +5468,7 @@ class Eo {
5468
5468
  a(this, "name", "");
5469
5469
  a(this, "order", 0);
5470
5470
  a(this, "fieldId");
5471
- O.H.Classes.BuildClass(this, e);
5471
+ z.H.Classes.BuildClass(this, e);
5472
5472
  }
5473
5473
  }
5474
5474
  class vs {
@@ -5476,7 +5476,7 @@ class vs {
5476
5476
  a(this, "id");
5477
5477
  a(this, "name", "");
5478
5478
  a(this, "order", 0);
5479
- O.H.Classes.BuildClass(this, e);
5479
+ z.H.Classes.BuildClass(this, e);
5480
5480
  }
5481
5481
  }
5482
5482
  class Wt {
@@ -5484,11 +5484,11 @@ class Wt {
5484
5484
  a(this, "id");
5485
5485
  a(this, "name", "");
5486
5486
  a(this, "fieldId");
5487
- O.H.Classes.BuildClass(this, e);
5487
+ z.H.Classes.BuildClass(this, e);
5488
5488
  }
5489
5489
  static Create(e) {
5490
5490
  const i = new Wt();
5491
- return i.id = O.H.Id.UUID(), i.fieldId = e, i;
5491
+ return i.id = z.H.Id.UUID(), i.fieldId = e, i;
5492
5492
  }
5493
5493
  }
5494
5494
  var Nh = Object.defineProperty, bi = (t, e, i, n) => {
@@ -5519,7 +5519,7 @@ const Ot = class zi {
5519
5519
  a(this, "parentId");
5520
5520
  a(this, "formSectionId");
5521
5521
  a(this, "selected", !1);
5522
- O.H.Classes.BuildClass(this, e), this.changeRelation([this.valueType]);
5522
+ z.H.Classes.BuildClass(this, e), this.changeRelation([this.valueType]);
5523
5523
  }
5524
5524
  getMatrixX() {
5525
5525
  return this.answerVariants.filter((e) => !e.isMatrixY);
@@ -5529,7 +5529,7 @@ const Ot = class zi {
5529
5529
  }
5530
5530
  static Create(e) {
5531
5531
  const i = new zi();
5532
- return i.id = O.H.Id.UUID(), i.formSectionId = e, i;
5532
+ return i.id = z.H.Id.UUID(), i.formSectionId = e, i;
5533
5533
  }
5534
5534
  getRegisterPropertyRadioOriginalValue(e) {
5535
5535
  const i = this.answerVariants.find((n) => n.id === e);
@@ -5595,8 +5595,8 @@ const Ot = class zi {
5595
5595
  }
5596
5596
  copy() {
5597
5597
  const e = new zi(this);
5598
- return e.id = O.H.Id.UUID(), e.answerVariants.forEach((i) => {
5599
- i.id = O.H.Id.UUID(), i.fieldId = e.id;
5598
+ return e.id = z.H.Id.UUID(), e.answerVariants.forEach((i) => {
5599
+ i.id = z.H.Id.UUID(), i.fieldId = e.id;
5600
5600
  }), e.children = e.children.map((i) => {
5601
5601
  const n = i.copy();
5602
5602
  return n.parentId = e.id, n;
@@ -5604,19 +5604,19 @@ const Ot = class zi {
5604
5604
  }
5605
5605
  };
5606
5606
  bi([
5607
- O.H.Classes.GetClassConstructor(zt)
5607
+ z.H.Classes.GetClassConstructor(zt)
5608
5608
  ], Ot.prototype, "answerVariants");
5609
5609
  bi([
5610
- O.H.Classes.GetClassConstructor(Eo)
5610
+ z.H.Classes.GetClassConstructor(Eo)
5611
5611
  ], Ot.prototype, "fieldExamples");
5612
5612
  bi([
5613
- O.H.Classes.GetClassConstructor(Wt)
5613
+ z.H.Classes.GetClassConstructor(Wt)
5614
5614
  ], Ot.prototype, "fieldVariants");
5615
5615
  bi([
5616
- O.H.Classes.GetClassConstructor(vs)
5616
+ z.H.Classes.GetClassConstructor(vs)
5617
5617
  ], Ot.prototype, "fieldMeasures");
5618
5618
  bi([
5619
- O.H.Classes.GetClassConstructor(Ot)
5619
+ z.H.Classes.GetClassConstructor(Ot)
5620
5620
  ], Ot.prototype, "children");
5621
5621
  let tn = Ot;
5622
5622
  class ys {
@@ -5626,7 +5626,7 @@ class ys {
5626
5626
  a(this, "comment", "");
5627
5627
  a(this, "fileInfoId");
5628
5628
  a(this, "fileInfo", new Te());
5629
- O.H.Classes.BuildClass(this, e);
5629
+ z.H.Classes.BuildClass(this, e);
5630
5630
  }
5631
5631
  }
5632
5632
  class Ft {
@@ -5635,11 +5635,11 @@ class Ft {
5635
5635
  a(this, "answerVariantId");
5636
5636
  a(this, "answerVariantIdY");
5637
5637
  a(this, "fieldFillId");
5638
- O.H.Classes.BuildClass(this, e);
5638
+ z.H.Classes.BuildClass(this, e);
5639
5639
  }
5640
5640
  static Create(e, i) {
5641
5641
  const n = new Ft();
5642
- return n.id = xt(), n.fieldFillId = e, n.answerVariantId = i, n;
5642
+ return n.id = Ct(), n.fieldFillId = e, n.answerVariantId = i, n;
5643
5643
  }
5644
5644
  static GetClassName() {
5645
5645
  return "selectedAnswerVariant";
@@ -5669,14 +5669,14 @@ const ws = class _n {
5669
5669
  a(this, "researchResultId");
5670
5670
  a(this, "answerFiles", []);
5671
5671
  a(this, "answerFilesForDelete", []);
5672
- O.H.Classes.BuildClass(this, e);
5672
+ z.H.Classes.BuildClass(this, e);
5673
5673
  }
5674
5674
  setFilled(e) {
5675
5675
  this.filled = e;
5676
5676
  }
5677
5677
  static Create(e, i) {
5678
5678
  const n = new _n();
5679
- return n.id = xt(), n.fieldId = e.id, n.formFillId = i, n.order = e.order, n.valueNumber = 0, n.valueString = "", n.valueDate = /* @__PURE__ */ new Date(), n;
5679
+ return n.id = Ct(), n.fieldId = e.id, n.formFillId = i, n.order = e.order, n.valueNumber = 0, n.valueString = "", n.valueDate = /* @__PURE__ */ new Date(), n;
5680
5680
  }
5681
5681
  setString(e) {
5682
5682
  this.valueString = e, this.valueString && (this.filled = this.valueString.length > 0);
@@ -5698,7 +5698,7 @@ const ws = class _n {
5698
5698
  }
5699
5699
  addFile() {
5700
5700
  const e = new ys();
5701
- return e.id = xt(), e.answerId = this.id, this.answerFiles.push(e), e;
5701
+ return e.id = Ct(), e.answerId = this.id, this.answerFiles.push(e), e;
5702
5702
  }
5703
5703
  getFileInfos() {
5704
5704
  const e = [];
@@ -5727,17 +5727,17 @@ const ws = class _n {
5727
5727
  }
5728
5728
  };
5729
5729
  To([
5730
- O.H.Classes.GetClassConstructor(Ft)
5730
+ z.H.Classes.GetClassConstructor(Ft)
5731
5731
  ], ws.prototype, "selectedAnswerVariants");
5732
5732
  To([
5733
- O.H.Classes.GetClassConstructor(ys)
5733
+ z.H.Classes.GetClassConstructor(ys)
5734
5734
  ], ws.prototype, "answerFiles");
5735
5735
  let jt = ws;
5736
5736
  class jh {
5737
5737
  constructor(e) {
5738
5738
  a(this, "id");
5739
5739
  a(this, "fieldId");
5740
- O.H.Classes.BuildClass(this, e);
5740
+ z.H.Classes.BuildClass(this, e);
5741
5741
  }
5742
5742
  static GetClassName() {
5743
5743
  return "fieldFilter";
@@ -5755,7 +5755,7 @@ const zo = class Oo {
5755
5755
  a(this, "order", 0);
5756
5756
  a(this, "fields", []);
5757
5757
  a(this, "formId");
5758
- O.H.Classes.BuildClass(this, e);
5758
+ z.H.Classes.BuildClass(this, e);
5759
5759
  }
5760
5760
  static GetClassName() {
5761
5761
  return "formSection";
@@ -5771,7 +5771,7 @@ const zo = class Oo {
5771
5771
  }
5772
5772
  static Create(e) {
5773
5773
  const i = new Oo();
5774
- return i.id = O.H.Id.UUID(), i.formId = e, i;
5774
+ return i.id = z.H.Id.UUID(), i.formId = e, i;
5775
5775
  }
5776
5776
  addField() {
5777
5777
  const e = tn.Create(this.id);
@@ -5805,7 +5805,7 @@ const zo = class Oo {
5805
5805
  // }
5806
5806
  };
5807
5807
  Gh([
5808
- O.H.Classes.GetClassConstructor(tn)
5808
+ z.H.Classes.GetClassConstructor(tn)
5809
5809
  ], zo.prototype, "fields");
5810
5810
  let nn = zo;
5811
5811
  var Vh = Object.defineProperty, _h = (t, e, i, n) => {
@@ -5827,21 +5827,21 @@ const Fo = class Do {
5827
5827
  a(this, "filterString", "");
5828
5828
  a(this, "showOnlyNotFilled", !1);
5829
5829
  a(this, "showOnlyFilled", !1);
5830
- O.H.Classes.BuildClass(this, e);
5830
+ z.H.Classes.BuildClass(this, e);
5831
5831
  }
5832
5832
  static GetClassName() {
5833
5833
  return "Form";
5834
5834
  }
5835
5835
  static Create() {
5836
5836
  const e = new Do();
5837
- return e.id = O.H.Id.UUID(), e;
5837
+ return e.id = z.H.Id.UUID(), e;
5838
5838
  }
5839
5839
  editRegisterGroup(e) {
5840
5840
  this.isEdit = e ?? !this.isEdit;
5841
5841
  }
5842
5842
  addFormSection() {
5843
5843
  const e = nn.Create(this.id);
5844
- return this.formSections.push(e), O.H.Sorter.Sort(this.formSections), e;
5844
+ return this.formSections.push(e), z.H.Sorter.Sort(this.formSections), e;
5845
5845
  }
5846
5846
  getFields() {
5847
5847
  const e = this.formSections.map((n) => n.fields).flat(), i = e.map((n) => n.children).flat();
@@ -5849,7 +5849,7 @@ const Fo = class Do {
5849
5849
  }
5850
5850
  };
5851
5851
  _h([
5852
- O.H.Classes.GetClassConstructor(nn)
5852
+ z.H.Classes.GetClassConstructor(nn)
5853
5853
  ], Fo.prototype, "formSections");
5854
5854
  let Lo = Fo;
5855
5855
  var Zh = Object.defineProperty, Xh = (t, e, i, n) => {
@@ -5868,11 +5868,11 @@ const Bo = class Ho {
5868
5868
  a(this, "num", "");
5869
5869
  //
5870
5870
  a(this, "formId");
5871
- O.H.Classes.BuildClass(this, e);
5871
+ z.H.Classes.BuildClass(this, e);
5872
5872
  }
5873
5873
  static Create(e) {
5874
5874
  const i = new Ho();
5875
- return i.id = O.H.Id.UUID(), i.formId = e.id, i.fieldFills.push(...jt.CreateMany(e.getFields(), i.id)), i;
5875
+ return i.id = z.H.Id.UUID(), i.formId = e.id, i.fieldFills.push(...jt.CreateMany(e.getFields(), i.id)), i;
5876
5876
  }
5877
5877
  addFieldFill(e) {
5878
5878
  this.fieldFills.push(e);
@@ -5931,7 +5931,7 @@ const Bo = class Ho {
5931
5931
  }
5932
5932
  };
5933
5933
  Xh([
5934
- O.H.Classes.GetClassConstructor(jt)
5934
+ z.H.Classes.GetClassConstructor(jt)
5935
5935
  ], Bo.prototype, "fieldFills");
5936
5936
  let qo = Bo;
5937
5937
  const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -6091,13 +6091,13 @@ const pf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6091
6091
  Menu: bs,
6092
6092
  SubMenu: sn
6093
6093
  }, Symbol.toStringTag, { value: "Module" }));
6094
- let vf = class extends O.H.BaseStore {
6094
+ let vf = class extends z.H.BaseStore {
6095
6095
  constructor() {
6096
6096
  super(bs, "menus");
6097
6097
  }
6098
6098
  };
6099
6099
  const yf = new vf();
6100
- let wf = class extends O.H.BaseStore {
6100
+ let wf = class extends z.H.BaseStore {
6101
6101
  constructor() {
6102
6102
  super(sn, "sub-menus");
6103
6103
  }
@@ -6400,43 +6400,43 @@ const Ef = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6400
6400
  PageSectionDocument: an,
6401
6401
  PageSideMenu: bt
6402
6402
  }, Symbol.toStringTag, { value: "Module" }));
6403
- let Tf = class extends O.H.BaseStore {
6403
+ let Tf = class extends z.H.BaseStore {
6404
6404
  constructor() {
6405
6405
  super(rn, "custom-sections");
6406
6406
  }
6407
6407
  };
6408
6408
  const zf = new Tf();
6409
- let Of = class extends O.H.BaseStore {
6409
+ let Of = class extends z.H.BaseStore {
6410
6410
  constructor() {
6411
6411
  super(Ss, "page-documents");
6412
6412
  }
6413
6413
  };
6414
6414
  const Ff = new Of();
6415
- let Df = class extends O.H.BaseStore {
6415
+ let Df = class extends z.H.BaseStore {
6416
6416
  constructor() {
6417
6417
  super(on, "page-images");
6418
6418
  }
6419
6419
  };
6420
6420
  const Lf = new Df();
6421
- let Bf = class extends O.H.BaseStore {
6421
+ let Bf = class extends z.H.BaseStore {
6422
6422
  constructor() {
6423
6423
  super(an, "page-section-documents");
6424
6424
  }
6425
6425
  };
6426
6426
  const Hf = new Bf();
6427
- let qf = class extends O.H.BaseStore {
6427
+ let qf = class extends z.H.BaseStore {
6428
6428
  constructor() {
6429
6429
  super(Jt, "page-sections");
6430
6430
  }
6431
6431
  };
6432
6432
  const Nf = new qf();
6433
- let Uf = class extends O.H.BaseStore {
6433
+ let Uf = class extends z.H.BaseStore {
6434
6434
  constructor() {
6435
6435
  super(bt, "page-side-menus");
6436
6436
  }
6437
6437
  };
6438
6438
  const jf = new Uf();
6439
- let Wf = class extends O.H.BaseStore {
6439
+ let Wf = class extends z.H.BaseStore {
6440
6440
  constructor() {
6441
6441
  super(Qt, "pages");
6442
6442
  }
@@ -6460,11 +6460,11 @@ class un {
6460
6460
  a(this, "id");
6461
6461
  a(this, "name", "");
6462
6462
  a(this, "label", "");
6463
- O.H.Classes.BuildClass(this, e);
6463
+ z.H.Classes.BuildClass(this, e);
6464
6464
  }
6465
6465
  static Create(e, i) {
6466
6466
  const n = new un();
6467
- return n.id = O.H.Id.UUID(), n.name = e, n.label = i, n;
6467
+ return n.id = z.H.Id.UUID(), n.name = e, n.label = i, n;
6468
6468
  }
6469
6469
  }
6470
6470
  const Zf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -6521,7 +6521,7 @@ const Kf = "p-button", em = /* @__PURE__ */ $({
6521
6521
  const i = t, n = e, s = () => {
6522
6522
  n("click");
6523
6523
  }, r = he(() => ne.JoinSnake(Kf, i.skin)), o = he(() => ne.JoinSnake(r.value, i.type)), u = he(() => ne.JoinSnake(r.value, i.size)), l = he(() => [r.value, o.value, u.value]);
6524
- return (c, d) => (g(), w("button", kt(c.$attrs, {
6524
+ return (c, d) => (g(), w("button", Mt(c.$attrs, {
6525
6525
  style: {
6526
6526
  margin: t.margin,
6527
6527
  padding: t.padding,
@@ -6940,7 +6940,7 @@ const An = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
6940
6940
  f("div", Sm, [
6941
6941
  P(i.$slots, "default", {}, void 0, !0)
6942
6942
  ]),
6943
- Xe(f("input", kt({ ref: "input" }, i.$attrs, {
6943
+ Xe(f("input", Mt({ ref: "input" }, i.$attrs, {
6944
6944
  "onUpdate:modelValue": n[0] || (n[0] = (s) => e.value = s),
6945
6945
  class: "text-field__input",
6946
6946
  style: { color: t.color },
@@ -7053,7 +7053,7 @@ const An = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
7053
7053
  R(F)
7054
7054
  ], 2)
7055
7055
  ]),
7056
- Xe(f("input", kt(M.$attrs, {
7056
+ Xe(f("input", Mt(M.$attrs, {
7057
7057
  "onUpdate:modelValue": S[0] || (S[0] = (Y) => Ve(u) ? u.value = Y : null),
7058
7058
  class: "input-field",
7059
7059
  type: "number",
@@ -7471,7 +7471,7 @@ const An = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
7471
7471
  f("div", Um, [
7472
7472
  R(d, { margin: "2px 2px 0 0" })
7473
7473
  ]),
7474
- Xe(f("select", kt(l.$attrs, {
7474
+ Xe(f("select", Mt(l.$attrs, {
7475
7475
  "onUpdate:modelValue": c[0] || (c[0] = (h) => i.value = h),
7476
7476
  class: "text-field__input",
7477
7477
  onChange: o
@@ -7561,7 +7561,7 @@ const An = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
7561
7561
  fontSize: { type: String, required: !1, default: "var(--font-size-default)" }
7562
7562
  },
7563
7563
  setup(t) {
7564
- return (e, i) => (g(), w("table", kt(e.$attrs, {
7564
+ return (e, i) => (g(), w("table", Mt(e.$attrs, {
7565
7565
  style: { width: t.width, margin: t.margin },
7566
7566
  class: "p-table"
7567
7567
  }), [
@@ -7611,7 +7611,7 @@ const An = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
7611
7611
  f("div", Jm, [
7612
7612
  P(s.$slots, "default", {}, void 0, !0)
7613
7613
  ]),
7614
- Xe(f("textarea", kt({ ref: "textarea" }, s.$attrs, {
7614
+ Xe(f("textarea", Mt({ ref: "textarea" }, s.$attrs, {
7615
7615
  "onUpdate:modelValue": r[0] || (r[0] = (o) => e.value = o),
7616
7616
  class: "text-field__input",
7617
7617
  style: p(n),
@@ -8225,7 +8225,7 @@ const ca = /* @__PURE__ */ A(wg, [["render", Sg], ["__scopeId", "data-v-d28c6f33
8225
8225
  emits: ["load"],
8226
8226
  setup(t, { emit: e }) {
8227
8227
  const i = e, n = T(void 0), s = async (o) => {
8228
- O.FTSP.Get().replaceF(o, n.value), n.value = o, O.FTSP.Get().p.drop();
8228
+ z.FTSP.Get().replaceF(o, n.value), n.value = o, z.FTSP.Get().p.drop();
8229
8229
  }, r = async (o) => {
8230
8230
  await s(o), i("load");
8231
8231
  };
@@ -8862,7 +8862,7 @@ const xa = /* @__PURE__ */ A(Xg, [["render", Yg], ["__scopeId", "data-v-0f1f2f84
8862
8862
  },
8863
8863
  emits: ["cancel", "save"],
8864
8864
  setup(t, { emit: e }) {
8865
- const i = t, n = (m) => m ? "active" : "neutral", s = (m) => m ? "not-active" : "neutral", r = O.Paginator, o = T(!1), u = T(!1);
8865
+ const i = t, n = (m) => m ? "active" : "neutral", s = (m) => m ? "not-active" : "neutral", r = z.Paginator, o = T(!1), u = T(!1);
8866
8866
  r.count = i.store.Count;
8867
8867
  const l = async (m) => {
8868
8868
  if (m !== r.curPage && (m < 1 && (m = 1), m > r.pagesCount() && (m = r.pagesCount()), !i.showConfirm))
@@ -9019,7 +9019,7 @@ const xa = /* @__PURE__ */ A(Xg, [["render", Yg], ["__scopeId", "data-v-0f1f2f84
9019
9019
  return;
9020
9020
  r.value.activated = !0, o.searchObjects = [], o.query = d, o.key = i.keyValue;
9021
9021
  const h = o.searchGroups.find((m) => m.key === i.keyValue);
9022
- return h && (o.searchGroup = h), o.searchObjects;
9022
+ return h && (o.searchGroup = h), await z.S.Search.Search(o), o.searchObjects;
9023
9023
  }, l = async (d) => {
9024
9024
  n("select", d), s.value = "";
9025
9025
  }, c = (d) => {
@@ -9048,7 +9048,7 @@ const xa = /* @__PURE__ */ A(Xg, [["render", Yg], ["__scopeId", "data-v-0f1f2f84
9048
9048
  }, 8, ["modelValue", "placeholder", "trigger-on-focus", "suggestions"]);
9049
9049
  };
9050
9050
  }
9051
- }), ka = /* @__PURE__ */ A(i1, [["__scopeId", "data-v-ed43b642"]]), n1 = { class: "mainblock-body" }, s1 = { class: "mainblock-footer" }, r1 = /* @__PURE__ */ $({
9051
+ }), ka = /* @__PURE__ */ A(i1, [["__scopeId", "data-v-1ca1fb50"]]), n1 = { class: "mainblock-body" }, s1 = { class: "mainblock-footer" }, r1 = /* @__PURE__ */ $({
9052
9052
  __name: "ResearcheContainer",
9053
9053
  props: {
9054
9054
  background: {
@@ -9330,10 +9330,10 @@ const xa = /* @__PURE__ */ A(Xg, [["render", Yg], ["__scopeId", "data-v-0f1f2f84
9330
9330
  setup(t, { emit: e }) {
9331
9331
  const i = T(!1), n = e, s = T();
9332
9332
  ot(() => {
9333
- i.value = !0, s.value = St.GetDefault();
9333
+ i.value = !0, s.value = At.GetDefault();
9334
9334
  });
9335
9335
  const r = async (u) => {
9336
- s.value = u ?? St.GetDefault(), n("load");
9336
+ s.value = u ?? At.GetDefault(), n("load");
9337
9337
  }, o = async (u) => {
9338
9338
  await r(u);
9339
9339
  };
@@ -9351,7 +9351,7 @@ const xa = /* @__PURE__ */ A(Xg, [["render", Yg], ["__scopeId", "data-v-0f1f2f84
9351
9351
  onClear: l[1] || (l[1] = (h) => o())
9352
9352
  }, {
9353
9353
  default: X(() => [
9354
- (g(!0), w(G, null, Ee(p(St).Get(), (h, m) => (g(), w("option", {
9354
+ (g(!0), w(G, null, Ee(p(At).Get(), (h, m) => (g(), w("option", {
9355
9355
  key: m,
9356
9356
  label: h.label,
9357
9357
  value: h
@@ -9373,10 +9373,10 @@ const xa = /* @__PURE__ */ A(Xg, [["render", Yg], ["__scopeId", "data-v-0f1f2f84
9373
9373
  setup(t, { emit: e }) {
9374
9374
  const i = e, n = T();
9375
9375
  ot(() => {
9376
- n.value = St.GetDefault();
9376
+ n.value = At.GetDefault();
9377
9377
  });
9378
9378
  const s = async (o) => {
9379
- o || (n.value = St.GetDefault()), i("load");
9379
+ o || (n.value = At.GetDefault()), z.F.FTSP.Get().setSortModel(n.value), z.F.FTSP.Get().p.drop(), i("load");
9380
9380
  }, r = async (o) => {
9381
9381
  await s(o);
9382
9382
  };
@@ -9392,7 +9392,7 @@ const xa = /* @__PURE__ */ A(Xg, [["render", Yg], ["__scopeId", "data-v-0f1f2f84
9392
9392
  onChange: r
9393
9393
  }, {
9394
9394
  default: X(() => [
9395
- (g(!0), w(G, null, Ee(p(St).Get(), (d, h) => (g(), w("option", {
9395
+ (g(!0), w(G, null, Ee(p(At).Get(), (d, h) => (g(), w("option", {
9396
9396
  key: h,
9397
9397
  label: d.label,
9398
9398
  value: d
@@ -9402,7 +9402,7 @@ const xa = /* @__PURE__ */ A(Xg, [["render", Yg], ["__scopeId", "data-v-0f1f2f84
9402
9402
  }, 8, ["modelValue", "clearable"]);
9403
9403
  };
9404
9404
  }
9405
- }), Ea = /* @__PURE__ */ A(b1, [["__scopeId", "data-v-36c9226a"]]), S1 = { class: "switch-container" }, C1 = { class: "line" }, x1 = { class: "line" }, M1 = /* @__PURE__ */ $({
9405
+ }), Ea = /* @__PURE__ */ A(b1, [["__scopeId", "data-v-9fda9c5a"]]), S1 = { class: "switch-container" }, C1 = { class: "line" }, x1 = { class: "line" }, M1 = /* @__PURE__ */ $({
9406
9406
  __name: "Switch3Pos",
9407
9407
  props: {
9408
9408
  firstModel: {
@@ -10725,14 +10725,14 @@ const mv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10725
10725
  },
10726
10726
  emits: ["submit"],
10727
10727
  setup(t, { emit: e }) {
10728
- const i = e, n = he(() => O.Auth.Form.GetButtons()), s = ou("fields"), r = async (u) => {
10728
+ const i = e, n = he(() => z.Auth.Form.GetButtons()), s = ou("fields"), r = async (u) => {
10729
10729
  if (!u.isSubmit) {
10730
- O.Auth.Form.SetChunk(u.GetChunk()), o();
10730
+ z.Auth.Form.SetChunk(u.GetChunk()), o();
10731
10731
  return;
10732
10732
  }
10733
- const l = O.Auth.Form.Validate();
10733
+ const l = z.Auth.Form.Validate();
10734
10734
  if (l.length > 0) {
10735
- O.UI.Notify.Error(l.join("<br/>"));
10735
+ z.UI.Notify.Error(l.join("<br/>"));
10736
10736
  return;
10737
10737
  }
10738
10738
  i("submit");
@@ -10745,16 +10745,16 @@ const mv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10745
10745
  return Zt(async () => {
10746
10746
  await o();
10747
10747
  }), is(() => {
10748
- O.Auth.Form.Reset();
10748
+ z.Auth.Form.Reset();
10749
10749
  }), (u, l) => (g(), w("div", {
10750
10750
  class: "auth-card",
10751
10751
  style: I({ maxWidth: t.width, margin: t.margin, padding: t.padding, background: t.background })
10752
10752
  }, [
10753
10753
  R(ks, {
10754
- string: ("PF" in u ? u.PF : p(O)).Auth.Form.GetTitle(),
10754
+ string: ("PF" in u ? u.PF : p(z)).Auth.Form.GetTitle(),
10755
10755
  "font-size": "18px"
10756
10756
  }, null, 8, ["string"]),
10757
- (g(!0), w(G, null, Ee(("PF" in u ? u.PF : p(O)).Auth.Form.GetFields(), (c) => (g(), N(xs, {
10757
+ (g(!0), w(G, null, Ee(("PF" in u ? u.PF : p(z)).Auth.Form.GetFields(), (c) => (g(), N(xs, {
10758
10758
  id: c.id,
10759
10759
  key: c.id,
10760
10760
  ref_for: !0,
@@ -10770,8 +10770,8 @@ const mv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10770
10770
  (g(!0), w(G, null, Ee(p(n), (c, d) => (g(), N(cn, {
10771
10771
  id: c.id,
10772
10772
  key: c.GetChunk(),
10773
- disabled: ("PF" in u ? u.PF : p(O)).Auth.Form.IsBlock,
10774
- type: d === 0 ? ("PF" in u ? u.PF : p(O)).T.Statuses.Success : ("PF" in u ? u.PF : p(O)).T.Statuses.Primary,
10773
+ disabled: ("PF" in u ? u.PF : p(z)).Auth.Form.IsBlock,
10774
+ type: d === 0 ? ("PF" in u ? u.PF : p(z)).T.Statuses.Success : ("PF" in u ? u.PF : p(z)).T.Statuses.Primary,
10775
10775
  skin: "base",
10776
10776
  text: c.text,
10777
10777
  margin: "10px 0 0 0",
@@ -12042,7 +12042,7 @@ Ml.render = function(t, e, i, n, s, r) {
12042
12042
  var kl = { components: { Preview: Ml }, inheritAttrs: !1 };
12043
12043
  kl.render = function(t, e, i, n, s, r) {
12044
12044
  var o = L("preview");
12045
- return g(), N(o, kt(t.$attrs, { fill: !0 }), null, 16);
12045
+ return g(), N(o, Mt(t.$attrs, { fill: !0 }), null, 16);
12046
12046
  };
12047
12047
  var Fn = Qe("vue-rectangle-stencil"), Il = { name: "RectangleStencil", components: { StencilPreview: kl, BoundingBox: bl, DraggableArea: Sl }, props: { image: { type: Object }, coordinates: { type: Object }, stencilCoordinates: { type: Object }, handlers: { type: Object }, handlersComponent: { type: [Object, String], default: function() {
12048
12048
  return Es;
@@ -12511,7 +12511,7 @@ var e0 = ["transitions"], at = Qe("vue-advanced-cropper"), Rl = { name: "Cropper
12511
12511
  Rl.render = function(t, e, i, n, s, r) {
12512
12512
  return g(), N("div", { ref: "cropper", class: r.classes.cropper }, [R("div", { ref: "stretcher", class: r.classes.stretcher }, null, 2), R("div", { class: r.classes.boundaries, style: r.boundariesStyle }, [(g(), N(ai(i.backgroundWrapperComponent), { class: r.classes.cropperWrapper, "wheel-resize": r.settings.resizeImage.wheel, "touch-resize": r.settings.resizeImage.touch, "touch-move": r.settings.moveImage.touch, "mouse-move": r.settings.moveImage.mouse, onMove: r.onManipulateImage, onResize: r.onManipulateImage }, { default: X(function() {
12513
12513
  return [R("div", { class: r.classes.background, style: r.boundariesStyle }, null, 6), R("div", { class: r.classes.imageWrapper }, [R("img", { ref: "image", crossorigin: s.imageAttributes.crossOrigin, src: s.imageAttributes.src, class: r.classes.image, style: r.imageStyle, onMousedown: e[1] || (e[1] = Fe(function() {
12514
- }, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), R("div", { class: r.classes.foreground, style: r.boundariesStyle }, null, 6), Xe((g(), N(ai(i.stencilComponent), kt({ ref: "stencil", image: r.image, coordinates: s.coordinates, "stencil-coordinates": r.stencilCoordinates, transitions: r.transitionsOptions }, i.stencilProps, { onResize: r.onResize, onResizeEnd: r.onResizeEnd, onMove: r.onMove, onMoveEnd: r.onMoveEnd }), null, 16, ["image", "coordinates", "stencil-coordinates", "transitions", "onResize", "onResizeEnd", "onMove", "onMoveEnd"])), [[ts, s.imageLoaded]]), i.canvas ? (g(), N("canvas", t0, null, 512)) : J("", !0), i.canvas ? (g(), N("canvas", i0, null, 512)) : J("", !0)];
12514
+ }, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), R("div", { class: r.classes.foreground, style: r.boundariesStyle }, null, 6), Xe((g(), N(ai(i.stencilComponent), Mt({ ref: "stencil", image: r.image, coordinates: s.coordinates, "stencil-coordinates": r.stencilCoordinates, transitions: r.transitionsOptions }, i.stencilProps, { onResize: r.onResize, onResizeEnd: r.onResizeEnd, onMove: r.onMove, onMoveEnd: r.onMoveEnd }), null, 16, ["image", "coordinates", "stencil-coordinates", "transitions", "onResize", "onResizeEnd", "onMove", "onMoveEnd"])), [[ts, s.imageLoaded]]), i.canvas ? (g(), N("canvas", t0, null, 512)) : J("", !0), i.canvas ? (g(), N("canvas", i0, null, 512)) : J("", !0)];
12515
12515
  }), _: 1 }, 8, ["class", "wheel-resize", "touch-resize", "touch-move", "mouse-move", "onMove", "onResize"]))], 6)], 2);
12516
12516
  };
12517
12517
  const n0 = {
@@ -12923,12 +12923,12 @@ export {
12923
12923
  Js as AuthButtonRegister,
12924
12924
  bn as AuthButtonRestore,
12925
12925
  Re as AuthChunks,
12926
- Ct as AuthFieldsIds,
12926
+ St as AuthFieldsIds,
12927
12927
  mu as AuthFormSettings,
12928
12928
  mi as AuthMethods,
12929
12929
  Sn as EmailField,
12930
12930
  lv as LoginField,
12931
- O as PF,
12931
+ z as PF,
12932
12932
  av as PFM,
12933
12933
  Cn as PasswordField,
12934
12934
  fu as PasswordRepeatField,