sprof 0.0.51 → 0.0.52

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
@@ -791,12 +791,12 @@ var Fs;
791
791
  if (I.length <= 0)
792
792
  return W;
793
793
  for (var pe = new y(), he = [], Q = 0, z = I; Q < z.length; Q++) {
794
- var L = z[Q], D = pe.has(L);
795
- D || (pe.add(L), he.push(L));
794
+ var D = z[Q], B = pe.has(D);
795
+ B || (pe.add(D), he.push(D));
796
796
  }
797
- for (var B = 0, te = W; B < te.length; B++) {
798
- var L = te[B], D = pe.has(L);
799
- D || (pe.add(L), he.push(L));
797
+ for (var q = 0, te = W; q < te.length; q++) {
798
+ var D = te[q], B = pe.has(D);
799
+ B || (pe.add(D), he.push(D));
800
800
  }
801
801
  return he;
802
802
  }
@@ -959,36 +959,36 @@ var Fs;
959
959
  var C, I, F, W = new v(), pe = {
960
960
  registerProvider: he,
961
961
  getProvider: z,
962
- setProvider: D
962
+ setProvider: B
963
963
  };
964
964
  return pe;
965
- function he(B) {
965
+ function he(q) {
966
966
  if (!Object.isExtensible(pe))
967
967
  throw new Error("Cannot add provider to a frozen registry.");
968
968
  switch (!0) {
969
- case w === B:
969
+ case w === q:
970
970
  break;
971
971
  case _(C):
972
- C = B;
972
+ C = q;
973
973
  break;
974
- case C === B:
974
+ case C === q:
975
975
  break;
976
976
  case _(I):
977
- I = B;
977
+ I = q;
978
978
  break;
979
- case I === B:
979
+ case I === q:
980
980
  break;
981
981
  default:
982
- F === void 0 && (F = new y()), F.add(B);
982
+ F === void 0 && (F = new y()), F.add(q);
983
983
  break;
984
984
  }
985
985
  }
986
- function Q(B, te) {
986
+ function Q(q, te) {
987
987
  if (!_(C)) {
988
- if (C.isProviderFor(B, te))
988
+ if (C.isProviderFor(q, te))
989
989
  return C;
990
990
  if (!_(I)) {
991
- if (I.isProviderFor(B, te))
991
+ if (I.isProviderFor(q, te))
992
992
  return C;
993
993
  if (!_(F))
994
994
  for (var oe = Rs(F); ; ) {
@@ -996,32 +996,32 @@ var Fs;
996
996
  if (!le)
997
997
  return;
998
998
  var Ge = As(le);
999
- if (Ge.isProviderFor(B, te))
999
+ if (Ge.isProviderFor(q, te))
1000
1000
  return Es(oe), Ge;
1001
1001
  }
1002
1002
  }
1003
1003
  }
1004
- if (!_(w) && w.isProviderFor(B, te))
1004
+ if (!_(w) && w.isProviderFor(q, te))
1005
1005
  return w;
1006
1006
  }
1007
- function z(B, te) {
1008
- var oe = W.get(B), le;
1009
- return _(oe) || (le = oe.get(te)), _(le) && (le = Q(B, te), _(le) || (_(oe) && (oe = new g(), W.set(B, oe)), oe.set(te, le))), le;
1007
+ function z(q, te) {
1008
+ var oe = W.get(q), le;
1009
+ return _(oe) || (le = oe.get(te)), _(le) && (le = Q(q, te), _(le) || (_(oe) && (oe = new g(), W.set(q, oe)), oe.set(te, le))), le;
1010
1010
  }
1011
- function L(B) {
1012
- if (_(B))
1011
+ function D(q) {
1012
+ if (_(q))
1013
1013
  throw new TypeError();
1014
- return C === B || I === B || !_(F) && F.has(B);
1014
+ return C === q || I === q || !_(F) && F.has(q);
1015
1015
  }
1016
- function D(B, te, oe) {
1017
- if (!L(oe))
1016
+ function B(q, te, oe) {
1017
+ if (!D(oe))
1018
1018
  throw new Error("Metadata provider not registered.");
1019
- var le = z(B, te);
1019
+ var le = z(q, te);
1020
1020
  if (le !== oe) {
1021
1021
  if (!_(le))
1022
1022
  return !1;
1023
- var Ge = W.get(B);
1024
- _(Ge) && (Ge = new g(), W.set(B, Ge)), Ge.set(te, oe);
1023
+ var Ge = W.get(q);
1024
+ _(Ge) && (Ge = new g(), W.set(q, Ge)), Ge.set(te, oe);
1025
1025
  }
1026
1026
  return !0;
1027
1027
  }
@@ -1037,9 +1037,9 @@ var Fs;
1037
1037
  }
1038
1038
  function pa(w) {
1039
1039
  var C = new v(), I = {
1040
- isProviderFor: function(L, D) {
1041
- var B = C.get(L);
1042
- return _(B) ? !1 : B.has(D);
1040
+ isProviderFor: function(D, B) {
1041
+ var q = C.get(D);
1042
+ return _(q) ? !1 : q.has(B);
1043
1043
  },
1044
1044
  OrdinaryDefineOwnMetadata: he,
1045
1045
  OrdinaryHasOwnMetadata: W,
@@ -1048,66 +1048,66 @@ var Fs;
1048
1048
  OrdinaryDeleteMetadata: z
1049
1049
  };
1050
1050
  return b.registerProvider(I), I;
1051
- function F(L, D, B) {
1052
- var te = C.get(L), oe = !1;
1051
+ function F(D, B, q) {
1052
+ var te = C.get(D), oe = !1;
1053
1053
  if (_(te)) {
1054
- if (!B)
1054
+ if (!q)
1055
1055
  return;
1056
- te = new g(), C.set(L, te), oe = !0;
1056
+ te = new g(), C.set(D, te), oe = !0;
1057
1057
  }
1058
- var le = te.get(D);
1058
+ var le = te.get(B);
1059
1059
  if (_(le)) {
1060
- if (!B)
1060
+ if (!q)
1061
1061
  return;
1062
- if (le = new g(), te.set(D, le), !w.setProvider(L, D, I))
1063
- throw te.delete(D), oe && C.delete(L), new Error("Wrong provider for target.");
1062
+ if (le = new g(), te.set(B, le), !w.setProvider(D, B, I))
1063
+ throw te.delete(B), oe && C.delete(D), new Error("Wrong provider for target.");
1064
1064
  }
1065
1065
  return le;
1066
1066
  }
1067
- function W(L, D, B) {
1067
+ function W(D, B, q) {
1068
1068
  var te = F(
1069
- D,
1070
1069
  B,
1070
+ q,
1071
1071
  /*Create*/
1072
1072
  !1
1073
1073
  );
1074
- return _(te) ? !1 : xs(te.has(L));
1074
+ return _(te) ? !1 : xs(te.has(D));
1075
1075
  }
1076
- function pe(L, D, B) {
1076
+ function pe(D, B, q) {
1077
1077
  var te = F(
1078
- D,
1079
1078
  B,
1079
+ q,
1080
1080
  /*Create*/
1081
1081
  !1
1082
1082
  );
1083
1083
  if (!_(te))
1084
- return te.get(L);
1084
+ return te.get(D);
1085
1085
  }
1086
- function he(L, D, B, te) {
1086
+ function he(D, B, q, te) {
1087
1087
  var oe = F(
1088
- B,
1088
+ q,
1089
1089
  te,
1090
1090
  /*Create*/
1091
1091
  !0
1092
1092
  );
1093
- oe.set(L, D);
1093
+ oe.set(D, B);
1094
1094
  }
1095
- function Q(L, D) {
1096
- var B = [], te = F(
1097
- L,
1095
+ function Q(D, B) {
1096
+ var q = [], te = F(
1098
1097
  D,
1098
+ B,
1099
1099
  /*Create*/
1100
1100
  !1
1101
1101
  );
1102
1102
  if (_(te))
1103
- return B;
1103
+ return q;
1104
1104
  for (var oe = te.keys(), le = Rs(oe), Ge = 0; ; ) {
1105
1105
  var Ps = $s(le);
1106
1106
  if (!Ps)
1107
- return B.length = Ge, B;
1107
+ return q.length = Ge, q;
1108
1108
  var Sa = As(Ps);
1109
1109
  try {
1110
- B[Ge] = Sa;
1110
+ q[Ge] = Sa;
1111
1111
  } catch (Ca) {
1112
1112
  try {
1113
1113
  Es(le);
@@ -1118,27 +1118,27 @@ var Fs;
1118
1118
  Ge++;
1119
1119
  }
1120
1120
  }
1121
- function z(L, D, B) {
1121
+ function z(D, B, q) {
1122
1122
  var te = F(
1123
- D,
1124
1123
  B,
1124
+ q,
1125
1125
  /*Create*/
1126
1126
  !1
1127
1127
  );
1128
- if (_(te) || !te.delete(L))
1128
+ if (_(te) || !te.delete(D))
1129
1129
  return !1;
1130
1130
  if (te.size === 0) {
1131
- var oe = C.get(D);
1132
- _(oe) || (oe.delete(B), oe.size === 0 && C.delete(oe));
1131
+ var oe = C.get(B);
1132
+ _(oe) || (oe.delete(q), oe.size === 0 && C.delete(oe));
1133
1133
  }
1134
1134
  return !0;
1135
1135
  }
1136
1136
  }
1137
1137
  function va(w) {
1138
1138
  var C = w.defineMetadata, I = w.hasOwnMetadata, F = w.getOwnMetadata, W = w.getOwnMetadataKeys, pe = w.deleteMetadata, he = new v(), Q = {
1139
- isProviderFor: function(z, L) {
1140
- var D = he.get(z);
1141
- return !_(D) && D.has(L) ? !0 : W(z, L).length ? (_(D) && (D = new y(), he.set(z, D)), D.add(L), !0) : !1;
1139
+ isProviderFor: function(z, D) {
1140
+ var B = he.get(z);
1141
+ return !_(B) && B.has(D) ? !0 : W(z, D).length ? (_(B) && (B = new y(), he.set(z, B)), B.add(D), !0) : !1;
1142
1142
  },
1143
1143
  OrdinaryDefineOwnMetadata: C,
1144
1144
  OrdinaryHasOwnMetadata: I,
@@ -1162,8 +1162,8 @@ var Fs;
1162
1162
  var w = {}, C = [], I = (
1163
1163
  /** @class */
1164
1164
  function() {
1165
- function Q(z, L, D) {
1166
- this._index = 0, this._keys = z, this._values = L, this._selector = D;
1165
+ function Q(z, D, B) {
1166
+ this._index = 0, this._keys = z, this._values = D, this._selector = B;
1167
1167
  }
1168
1168
  return Q.prototype["@@iterator"] = function() {
1169
1169
  return this;
@@ -1172,8 +1172,8 @@ var Fs;
1172
1172
  }, Q.prototype.next = function() {
1173
1173
  var z = this._index;
1174
1174
  if (z >= 0 && z < this._keys.length) {
1175
- var L = this._selector(this._keys[z], this._values[z]);
1176
- return z + 1 >= this._keys.length ? (this._index = -1, this._keys = C, this._values = C) : this._index++, { value: L, done: !1 };
1175
+ var D = this._selector(this._keys[z], this._values[z]);
1176
+ return z + 1 >= this._keys.length ? (this._index = -1, this._keys = C, this._values = C) : this._index++, { value: D, done: !1 };
1177
1177
  }
1178
1178
  return { value: void 0, done: !0 };
1179
1179
  }, Q.prototype.throw = function(z) {
@@ -1201,28 +1201,28 @@ var Fs;
1201
1201
  !1
1202
1202
  ) >= 0;
1203
1203
  }, Q.prototype.get = function(z) {
1204
- var L = this._find(
1204
+ var D = this._find(
1205
1205
  z,
1206
1206
  /*insert*/
1207
1207
  !1
1208
1208
  );
1209
- return L >= 0 ? this._values[L] : void 0;
1210
- }, Q.prototype.set = function(z, L) {
1211
- var D = this._find(
1209
+ return D >= 0 ? this._values[D] : void 0;
1210
+ }, Q.prototype.set = function(z, D) {
1211
+ var B = this._find(
1212
1212
  z,
1213
1213
  /*insert*/
1214
1214
  !0
1215
1215
  );
1216
- return this._values[D] = L, this;
1216
+ return this._values[B] = D, this;
1217
1217
  }, Q.prototype.delete = function(z) {
1218
- var L = this._find(
1218
+ var D = this._find(
1219
1219
  z,
1220
1220
  /*insert*/
1221
1221
  !1
1222
1222
  );
1223
- if (L >= 0) {
1224
- for (var D = this._keys.length, B = L + 1; B < D; B++)
1225
- this._keys[B - 1] = this._keys[B], this._values[B - 1] = this._values[B];
1223
+ if (D >= 0) {
1224
+ for (var B = this._keys.length, q = D + 1; q < B; q++)
1225
+ this._keys[q - 1] = this._keys[q], this._values[q - 1] = this._values[q];
1226
1226
  return this._keys.length--, this._values.length--, rn(z, this._cacheKey) && (this._cacheKey = w, this._cacheIndex = -2), !0;
1227
1227
  }
1228
1228
  return !1;
@@ -1238,16 +1238,16 @@ var Fs;
1238
1238
  return this.entries();
1239
1239
  }, Q.prototype[o] = function() {
1240
1240
  return this.entries();
1241
- }, Q.prototype._find = function(z, L) {
1241
+ }, Q.prototype._find = function(z, D) {
1242
1242
  if (!rn(this._cacheKey, z)) {
1243
1243
  this._cacheIndex = -1;
1244
- for (var D = 0; D < this._keys.length; D++)
1245
- if (rn(this._keys[D], z)) {
1246
- this._cacheIndex = D;
1244
+ for (var B = 0; B < this._keys.length; B++)
1245
+ if (rn(this._keys[B], z)) {
1246
+ this._cacheIndex = B;
1247
1247
  break;
1248
1248
  }
1249
1249
  }
1250
- return this._cacheIndex < 0 && L && (this._cacheIndex = this._keys.length, this._keys.push(z), this._values.push(void 0)), this._cacheIndex;
1250
+ return this._cacheIndex < 0 && D && (this._cacheIndex = this._keys.length, this._keys.push(z), this._values.push(void 0)), this._cacheIndex;
1251
1251
  }, Q;
1252
1252
  }()
1253
1253
  );
@@ -1306,34 +1306,34 @@ var Fs;
1306
1306
  function z() {
1307
1307
  this._key = F();
1308
1308
  }
1309
- return z.prototype.has = function(L) {
1310
- var D = W(
1311
- L,
1309
+ return z.prototype.has = function(D) {
1310
+ var B = W(
1311
+ D,
1312
1312
  /*create*/
1313
1313
  !1
1314
1314
  );
1315
- return D !== void 0 ? d.has(D, this._key) : !1;
1316
- }, z.prototype.get = function(L) {
1317
- var D = W(
1318
- L,
1315
+ return B !== void 0 ? d.has(B, this._key) : !1;
1316
+ }, z.prototype.get = function(D) {
1317
+ var B = W(
1318
+ D,
1319
1319
  /*create*/
1320
1320
  !1
1321
1321
  );
1322
- return D !== void 0 ? d.get(D, this._key) : void 0;
1323
- }, z.prototype.set = function(L, D) {
1324
- var B = W(
1325
- L,
1322
+ return B !== void 0 ? d.get(B, this._key) : void 0;
1323
+ }, z.prototype.set = function(D, B) {
1324
+ var q = W(
1325
+ D,
1326
1326
  /*create*/
1327
1327
  !0
1328
1328
  );
1329
- return B[this._key] = D, this;
1330
- }, z.prototype.delete = function(L) {
1331
- var D = W(
1332
- L,
1329
+ return q[this._key] = B, this;
1330
+ }, z.prototype.delete = function(D) {
1331
+ var B = W(
1332
+ D,
1333
1333
  /*create*/
1334
1334
  !1
1335
1335
  );
1336
- return D !== void 0 ? delete D[this._key] : !1;
1336
+ return B !== void 0 ? delete B[this._key] : !1;
1337
1337
  }, z.prototype.clear = function() {
1338
1338
  this._key = F();
1339
1339
  }, z;
@@ -1346,34 +1346,34 @@ var Fs;
1346
1346
  while (d.has(C, z));
1347
1347
  return C[z] = !0, z;
1348
1348
  }
1349
- function W(z, L) {
1349
+ function W(z, D) {
1350
1350
  if (!n.call(z, I)) {
1351
- if (!L)
1351
+ if (!D)
1352
1352
  return;
1353
1353
  Object.defineProperty(z, I, { value: d.create() });
1354
1354
  }
1355
1355
  return z[I];
1356
1356
  }
1357
- function pe(z, L) {
1358
- for (var D = 0; D < L; ++D)
1359
- z[D] = Math.random() * 255 | 0;
1357
+ function pe(z, D) {
1358
+ for (var B = 0; B < D; ++B)
1359
+ z[B] = Math.random() * 255 | 0;
1360
1360
  return z;
1361
1361
  }
1362
1362
  function he(z) {
1363
1363
  if (typeof Uint8Array == "function") {
1364
- var L = new Uint8Array(z);
1365
- return typeof crypto < "u" ? crypto.getRandomValues(L) : typeof msCrypto < "u" ? msCrypto.getRandomValues(L) : pe(L, z), L;
1364
+ var D = new Uint8Array(z);
1365
+ return typeof crypto < "u" ? crypto.getRandomValues(D) : typeof msCrypto < "u" ? msCrypto.getRandomValues(D) : pe(D, z), D;
1366
1366
  }
1367
1367
  return pe(new Array(z), z);
1368
1368
  }
1369
1369
  function Q() {
1370
1370
  var z = he(w);
1371
1371
  z[6] = z[6] & 79 | 64, z[8] = z[8] & 191 | 128;
1372
- for (var L = "", D = 0; D < w; ++D) {
1373
- var B = z[D];
1374
- (D === 4 || D === 6 || D === 8) && (L += "-"), B < 16 && (L += "0"), L += B.toString(16).toLowerCase();
1372
+ for (var D = "", B = 0; B < w; ++B) {
1373
+ var q = z[B];
1374
+ (B === 4 || B === 6 || B === 8) && (D += "-"), q < 16 && (D += "0"), D += q.toString(16).toLowerCase();
1375
1375
  }
1376
- return L;
1376
+ return D;
1377
1377
  }
1378
1378
  }
1379
1379
  function an(w) {
@@ -1405,7 +1405,7 @@ function $e(t, e, i) {
1405
1405
  return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, sl(n);
1406
1406
  }
1407
1407
  var it;
1408
- let q = (it = class {
1408
+ let L = (it = class {
1409
1409
  static BuildClass(e, i) {
1410
1410
  i && Object.keys(i).forEach((n) => {
1411
1411
  const s = i[n];
@@ -1470,11 +1470,11 @@ class gt {
1470
1470
  a(this, "address");
1471
1471
  a(this, "description");
1472
1472
  a(this, "contactId");
1473
- q.BuildClass(this, e);
1473
+ L.BuildClass(this, e);
1474
1474
  }
1475
1475
  static Create() {
1476
1476
  const e = new gt();
1477
- return e.id = q.CreateUUID(), e;
1477
+ return e.id = L.CreateUUID(), e;
1478
1478
  }
1479
1479
  }
1480
1480
  class jn {
@@ -1497,7 +1497,7 @@ class De {
1497
1497
  a(this, "id");
1498
1498
  a(this, "originalName", "");
1499
1499
  a(this, "fileSystemPath", "");
1500
- q.BuildClass(this, e);
1500
+ L.BuildClass(this, e);
1501
1501
  }
1502
1502
  getFileUrl() {
1503
1503
  const e = this.url ? this.url : `${jn.StaticUrl}/${this.fileSystemPath}`;
@@ -1508,10 +1508,10 @@ class De {
1508
1508
  }
1509
1509
  static CreatePreviewFile(e, i) {
1510
1510
  const n = new De();
1511
- return n.id = i ?? q.CreateUUID(), n.originalName = e.name, n.file = e.blob, n.fileSystemPath = q.CreateUUID(), n;
1511
+ return n.id = i ?? L.CreateUUID(), n.originalName = e.name, n.file = e.blob, n.fileSystemPath = L.CreateUUID(), n;
1512
1512
  }
1513
1513
  uploadNewFile(e) {
1514
- this.id || (this.id = q.CreateUUID()), this.originalName = e.name, this.file = e.blob, this.fileSystemPath = q.CreateUUID();
1514
+ this.id || (this.id = L.CreateUUID()), this.originalName = e.name, this.file = e.blob, this.fileSystemPath = L.CreateUUID();
1515
1515
  }
1516
1516
  setFile(e) {
1517
1517
  this.file = e, this.url = e.src;
@@ -1656,7 +1656,7 @@ class Cr {
1656
1656
  a(this, "postIndex", "");
1657
1657
  a(this, "address", "");
1658
1658
  a(this, "editNameMode", !1);
1659
- q.BuildClass(this, e);
1659
+ L.BuildClass(this, e);
1660
1660
  }
1661
1661
  setEditNameMode(e) {
1662
1662
  this.editNameMode = e;
@@ -1856,11 +1856,11 @@ class zt {
1856
1856
  a(this, "number");
1857
1857
  a(this, "description");
1858
1858
  a(this, "contactId");
1859
- q.BuildClass(this, e);
1859
+ L.BuildClass(this, e);
1860
1860
  }
1861
1861
  static Create() {
1862
1862
  const e = new zt();
1863
- return e.id = q.CreateUUID(), e;
1863
+ return e.id = L.CreateUUID(), e;
1864
1864
  }
1865
1865
  }
1866
1866
  class xn {
@@ -1868,7 +1868,7 @@ class xn {
1868
1868
  a(this, "id");
1869
1869
  a(this, "address");
1870
1870
  a(this, "description");
1871
- q.BuildClass(this, e);
1871
+ L.BuildClass(this, e);
1872
1872
  }
1873
1873
  }
1874
1874
  class kr {
@@ -1876,7 +1876,7 @@ class kr {
1876
1876
  a(this, "id");
1877
1877
  a(this, "address");
1878
1878
  a(this, "description");
1879
- q.BuildClass(this, e);
1879
+ L.BuildClass(this, e);
1880
1880
  }
1881
1881
  }
1882
1882
  var gl = Object.defineProperty, Di = (t, e, i, n) => {
@@ -1895,7 +1895,7 @@ const oi = class Ir {
1895
1895
  a(this, "postAddresses", [new xn()]);
1896
1896
  a(this, "phones", []);
1897
1897
  a(this, "websites", []);
1898
- q.BuildClass(this, e);
1898
+ L.BuildClass(this, e);
1899
1899
  }
1900
1900
  addEmail() {
1901
1901
  const e = gt.Create();
@@ -1907,13 +1907,13 @@ const oi = class Ir {
1907
1907
  }
1908
1908
  static Create() {
1909
1909
  const e = new Ir();
1910
- return e.id = q.CreateUUID(), e;
1910
+ return e.id = L.CreateUUID(), e;
1911
1911
  }
1912
1912
  removeEmail(e) {
1913
- q.RemoveFromClassById(e, this.emails);
1913
+ L.RemoveFromClassById(e, this.emails);
1914
1914
  }
1915
1915
  removePhone(e) {
1916
- q.RemoveFromClassById(e, this.phones);
1916
+ L.RemoveFromClassById(e, this.phones);
1917
1917
  }
1918
1918
  addPostAddress() {
1919
1919
  this.postAddresses.push(new xn());
@@ -1941,16 +1941,16 @@ const oi = class Ir {
1941
1941
  }
1942
1942
  };
1943
1943
  Di([
1944
- q.GetClassConstructor(gt)
1944
+ L.GetClassConstructor(gt)
1945
1945
  ], oi.prototype, "emails");
1946
1946
  Di([
1947
- q.GetClassConstructor(xn)
1947
+ L.GetClassConstructor(xn)
1948
1948
  ], oi.prototype, "postAddresses");
1949
1949
  Di([
1950
- q.GetClassConstructor(zt)
1950
+ L.GetClassConstructor(zt)
1951
1951
  ], oi.prototype, "phones");
1952
1952
  Di([
1953
- q.GetClassConstructor(kr)
1953
+ L.GetClassConstructor(kr)
1954
1954
  ], oi.prototype, "websites");
1955
1955
  let Vn = oi;
1956
1956
  var ue = /* @__PURE__ */ ((t) => (t.Date = "date", t.String = "string", t.Boolean = "boolean", t.Number = "number", t.Set = "set", t.Join = "join", t))(ue || {}), Me = /* @__PURE__ */ ((t) => (t.Eq = "=", t.Ne = "!=", t.Gt = ">", t.Lt = "<", t.Btw = "between", t.In = "in", t.Like = "like", t.Null = "is null", t.NotNull = "is not null", t))(Me || {});
@@ -2025,7 +2025,7 @@ const Rr = class Et {
2025
2025
  a(this, "joinTablePk", "");
2026
2026
  a(this, "joinTableId", "");
2027
2027
  a(this, "joinTableIdCol", "");
2028
- q.BuildClass(this, e);
2028
+ L.BuildClass(this, e);
2029
2029
  }
2030
2030
  eq(e) {
2031
2031
  if (!e)
@@ -2120,7 +2120,7 @@ const Rr = class Et {
2120
2120
  }
2121
2121
  };
2122
2122
  vl([
2123
- q.GetClassConstructor(String)
2123
+ L.GetClassConstructor(String)
2124
2124
  ], Rr.prototype, "set");
2125
2125
  let _n = Rr;
2126
2126
  class yl {
@@ -2150,7 +2150,7 @@ class Ai {
2150
2150
  a(this, "append", !1);
2151
2151
  a(this, "allLoaded", !1);
2152
2152
  a(this, "version", "");
2153
- q.BuildClass(this, e);
2153
+ L.BuildClass(this, e);
2154
2154
  }
2155
2155
  setLoadMore(e, i, n) {
2156
2156
  this.cursor.value = e, this.cursor.initial = !1, this.cursor.operation = Me.Gt, this.cursor.column = i, this.cursor.tableName = n, this.cursorMode = !0;
@@ -2179,7 +2179,7 @@ class Ai {
2179
2179
  return this.offset / this.limit + 1;
2180
2180
  }
2181
2181
  drop() {
2182
- this.offset = 0, this.limit = 25, q.BuildClass(this);
2182
+ this.offset = 0, this.limit = 25, L.BuildClass(this);
2183
2183
  }
2184
2184
  }
2185
2185
  class Hi {
@@ -2202,7 +2202,7 @@ class Bi {
2202
2202
  a(this, "label", "");
2203
2203
  a(this, "default", !1);
2204
2204
  a(this, "selected", !1);
2205
- q.BuildClass(this, e);
2205
+ L.BuildClass(this, e);
2206
2206
  }
2207
2207
  static Create(e, i, n = lt.Asc, s, r) {
2208
2208
  const o = new Bi();
@@ -2238,7 +2238,7 @@ const ai = (Ve = class {
2238
2238
  a(this, "s", []);
2239
2239
  a(this, "p", new Ai());
2240
2240
  a(this, "t", new Hi());
2241
- q.BuildClass(this, e);
2241
+ L.BuildClass(this, e);
2242
2242
  }
2243
2243
  static Get() {
2244
2244
  return this.instance || (this.instance = new Ve()), this.instance;
@@ -2277,7 +2277,7 @@ const ai = (Ve = class {
2277
2277
  }
2278
2278
  removeF(e) {
2279
2279
  const i = this.f.findIndex((n) => n.eq(e));
2280
- q.RemoveFromClassByIndex(i, this.f);
2280
+ L.RemoveFromClassByIndex(i, this.f);
2281
2281
  }
2282
2282
  reset() {
2283
2283
  this.f = [], this.s = [], this.p = new Ai();
@@ -2287,16 +2287,16 @@ const ai = (Ve = class {
2287
2287
  }
2288
2288
  }, a(Ve, "instance"), Ve);
2289
2289
  qi([
2290
- q.GetClassConstructor(_n)
2290
+ L.GetClassConstructor(_n)
2291
2291
  ], ai.prototype, "f");
2292
2292
  qi([
2293
- q.GetClassConstructor(Bi)
2293
+ L.GetClassConstructor(Bi)
2294
2294
  ], ai.prototype, "s");
2295
2295
  qi([
2296
- q.GetClassConstructor(Ai)
2296
+ L.GetClassConstructor(Ai)
2297
2297
  ], ai.prototype, "p");
2298
2298
  qi([
2299
- q.GetClassConstructor(Hi)
2299
+ L.GetClassConstructor(Hi)
2300
2300
  ], ai.prototype, "t");
2301
2301
  let Ar = ai;
2302
2302
  var $r = /* @__PURE__ */ ((t) => (t.simple = "simple", t.oneToMany = "oneToMany", t.manyToMany = "manyToMany", t))($r || {}), ke = /* @__PURE__ */ ((t) => (t.String = "string", t.Text = "text", t.Number = "number", t.Date = "date", t.DateTime = "dateTime", t.Radio = "radio", t.Set = "set", t.Boolean = "boolean", t.Files = "files", t.File = "file", t.MatrixRadio = "matrixRadio", t.MatrixSet = "matrixSet", t))(ke || {});
@@ -2305,7 +2305,7 @@ class Zn {
2305
2305
  a(this, "id");
2306
2306
  a(this, "name", ke.String);
2307
2307
  a(this, "valueRelation", $r.simple);
2308
- q.BuildClass(this, e);
2308
+ L.BuildClass(this, e);
2309
2309
  }
2310
2310
  isString() {
2311
2311
  return this.name === "string";
@@ -4334,7 +4334,7 @@ class ts {
4334
4334
  constructor(e) {
4335
4335
  a(this, "code", 400);
4336
4336
  a(this, "err", "");
4337
- q.BuildClass(this, e);
4337
+ L.BuildClass(this, e);
4338
4338
  }
4339
4339
  getErr() {
4340
4340
  return this.capitalizedErr();
@@ -5083,7 +5083,7 @@ class we {
5083
5083
  this.ResetItem(), this.ClearItems(), this.count.value = 0;
5084
5084
  }
5085
5085
  ResetItem() {
5086
- q.BuildClass(this.item, new this.classConstructor());
5086
+ L.BuildClass(this.item, new this.classConstructor());
5087
5087
  }
5088
5088
  ClearItems() {
5089
5089
  this.items.splice(0, this.items.length);
@@ -5104,7 +5104,7 @@ class we {
5104
5104
  class Ic {
5105
5105
  constructor(e) {
5106
5106
  a(this, "name", "");
5107
- q.BuildClass(this, e);
5107
+ L.BuildClass(this, e);
5108
5108
  }
5109
5109
  cache() {
5110
5110
  }
@@ -5462,7 +5462,7 @@ class Fi {
5462
5462
  a(this, "createdOn", /* @__PURE__ */ new Date());
5463
5463
  a(this, "chatId");
5464
5464
  a(this, "type", "message");
5465
- q.BuildClass(this, e);
5465
+ L.BuildClass(this, e);
5466
5466
  }
5467
5467
  static Create(e, i, n, s) {
5468
5468
  const r = new Fi();
@@ -5518,7 +5518,7 @@ const Qc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5518
5518
  Button: yt,
5519
5519
  Cache: Ic,
5520
5520
  CarouselSwipe: Rc,
5521
- Classes: q,
5521
+ Classes: L,
5522
5522
  Color: $c,
5523
5523
  Contact: Vn,
5524
5524
  CreateSortModels: Er,
@@ -5635,7 +5635,7 @@ class Vi {
5635
5635
  a(this, "ratio", 0);
5636
5636
  a(this, "src", "");
5637
5637
  a(this, "store", "");
5638
- q.BuildClass(this, e);
5638
+ L.BuildClass(this, e);
5639
5639
  }
5640
5640
  static CreateCropper(e, i, n) {
5641
5641
  const s = new Vi();
@@ -5674,11 +5674,11 @@ class ns {
5674
5674
  a(this, "id");
5675
5675
  a(this, "ftsp");
5676
5676
  a(this, "name", "");
5677
- q.BuildClass(this, e);
5677
+ L.BuildClass(this, e);
5678
5678
  }
5679
5679
  static Create(e) {
5680
5680
  const i = new ns();
5681
- return i.id = q.CreateUUID(), i.ftsp = JSON.stringify(e), i;
5681
+ return i.id = L.CreateUUID(), i.ftsp = JSON.stringify(e), i;
5682
5682
  }
5683
5683
  }
5684
5684
  let fd = class extends we {
@@ -5721,7 +5721,7 @@ class vd {
5721
5721
  a(this, "documentType", new It());
5722
5722
  a(this, "documentTypeId");
5723
5723
  a(this, "order", 0);
5724
- q.BuildClass(this, e);
5724
+ L.BuildClass(this, e);
5725
5725
  }
5726
5726
  getFileInfos() {
5727
5727
  const e = [];
@@ -5753,7 +5753,7 @@ class It {
5753
5753
  a(this, "pageId");
5754
5754
  a(this, "text", "");
5755
5755
  a(this, "documents", []);
5756
- Classes.BuildClass(this, e), this.documents = this.pageSectionDocuments, this.text = this.description.replace("<p>undefined</p>", "");
5756
+ L.BuildClass(this, e), this.documents = this.pageSectionDocuments, this.text = this.description.replace("<p>undefined</p>", "");
5757
5757
  }
5758
5758
  addDocument() {
5759
5759
  const e = new ho();
@@ -5784,10 +5784,10 @@ class It {
5784
5784
  }
5785
5785
  }
5786
5786
  fo([
5787
- Classes.GetClassConstructor(ho)
5787
+ L.GetClassConstructor(ho)
5788
5788
  ], It.prototype, "pageSectionDocuments");
5789
5789
  fo([
5790
- Classes.GetClassConstructor(vd)
5790
+ L.GetClassConstructor(vd)
5791
5791
  ], It.prototype, "pageSectionImages");
5792
5792
  class wd {
5793
5793
  constructor(e) {
@@ -5795,7 +5795,7 @@ class wd {
5795
5795
  a(this, "document", new It());
5796
5796
  a(this, "documentId");
5797
5797
  a(this, "pageId");
5798
- Classes.BuildClass(this, e);
5798
+ L.BuildClass(this, e);
5799
5799
  }
5800
5800
  static GetFileInfos(e) {
5801
5801
  const i = [];
@@ -5817,11 +5817,11 @@ class mo {
5817
5817
  a(this, "fileInfoId");
5818
5818
  a(this, "fileInfo");
5819
5819
  a(this, "description");
5820
- Classes.BuildClass(this, e);
5820
+ L.BuildClass(this, e);
5821
5821
  }
5822
5822
  }
5823
5823
  Sd([
5824
- Classes.GetClassConstructor(De)
5824
+ L.GetClassConstructor(De)
5825
5825
  ], mo.prototype, "fileInfo");
5826
5826
  var Cd = Object.defineProperty, xd = (t, e, i, n) => {
5827
5827
  for (var s = void 0, r = t.length - 1, o; r >= 0; r--)
@@ -5843,7 +5843,7 @@ class Tt {
5843
5843
  a(this, "selected", !1);
5844
5844
  a(this, "sections", []);
5845
5845
  a(this, "text", "");
5846
- q.BuildClass(this, e), this.sections = this.pageSections, this.text = this.description.replace("<p>undefined</p>", "");
5846
+ L.BuildClass(this, e), this.sections = this.pageSections, this.text = this.description.replace("<p>undefined</p>", "");
5847
5847
  }
5848
5848
  getFileInfos() {
5849
5849
  const e = [];
@@ -5853,7 +5853,7 @@ class Tt {
5853
5853
  }
5854
5854
  addPageSection() {
5855
5855
  const e = new It();
5856
- e.order = this.pageSections.length + 1, e.name = `Новой раздел ${e.order}`, e.id = q.CreateUUID(), this.pageSections.push(e);
5856
+ e.order = this.pageSections.length + 1, e.name = `Новой раздел ${e.order}`, e.id = L.CreateUUID(), this.pageSections.push(e);
5857
5857
  }
5858
5858
  infoExists(e) {
5859
5859
  const i = ae.SearchIn(this.name, e), n = ae.SearchIn(this.description, e), s = this.getPageSections(e).length > 0;
@@ -5867,7 +5867,7 @@ class Tt {
5867
5867
  }
5868
5868
  }
5869
5869
  xd([
5870
- q.GetClassConstructor(It)
5870
+ L.GetClassConstructor(It)
5871
5871
  ], Tt.prototype, "pageSections");
5872
5872
  var go = /* @__PURE__ */ ((t) => (t.User = "USER", t.Admin = "ADMIN", t))(go || {});
5873
5873
  class Md {
@@ -5876,7 +5876,7 @@ class Md {
5876
5876
  a(this, "name", go.User);
5877
5877
  a(this, "label", "");
5878
5878
  a(this, "startPage", "");
5879
- q.BuildClass(this, e);
5879
+ L.BuildClass(this, e);
5880
5880
  }
5881
5881
  }
5882
5882
  var kd = Object.defineProperty, _i = (t, e, i, n) => {
@@ -5914,7 +5914,7 @@ class Vt {
5914
5914
  //
5915
5915
  a(this, "filterStr", "");
5916
5916
  a(this, "activeMenuId", "");
5917
- Classes.BuildClass(this, e), this.menus = this.pageSideMenus;
5917
+ L.BuildClass(this, e), this.menus = this.pageSideMenus;
5918
5918
  }
5919
5919
  getActiveMenu() {
5920
5920
  const e = this.pageSideMenus.find((i) => i.id === this.activeMenuId);
@@ -5976,16 +5976,16 @@ class Vt {
5976
5976
  }
5977
5977
  }
5978
5978
  _i([
5979
- Classes.GetClassConstructor(mo)
5979
+ L.GetClassConstructor(mo)
5980
5980
  ], Vt.prototype, "pageImages");
5981
5981
  _i([
5982
- Classes.GetClassConstructor(Tt)
5982
+ L.GetClassConstructor(Tt)
5983
5983
  ], Vt.prototype, "pageSideMenus");
5984
5984
  _i([
5985
- Classes.GetClassConstructor(It)
5985
+ L.GetClassConstructor(It)
5986
5986
  ], Vt.prototype, "pageSections");
5987
5987
  _i([
5988
- Classes.GetClassConstructor(wd)
5988
+ L.GetClassConstructor(wd)
5989
5989
  ], Vt.prototype, "pageDocuments");
5990
5990
  class po {
5991
5991
  constructor(e) {
@@ -6005,7 +6005,7 @@ class po {
6005
6005
  a(this, "icon", new De());
6006
6006
  a(this, "iconName", "");
6007
6007
  a(this, "svgCode", "");
6008
- q.BuildClass(this, e);
6008
+ L.BuildClass(this, e);
6009
6009
  }
6010
6010
  getLink() {
6011
6011
  return this.isLink() && !this.isPageLink() ? this.link : !this.isLink() && this.isPageLink() ? this.page.getLink() : "";
@@ -6044,7 +6044,7 @@ class vo {
6044
6044
  a(this, "subMenusForDelete", []);
6045
6045
  a(this, "iconId");
6046
6046
  a(this, "icon", new De());
6047
- q.BuildClass(this, e);
6047
+ L.BuildClass(this, e);
6048
6048
  }
6049
6049
  getLink() {
6050
6050
  return this.isLink() && !this.isPageLink() ? this.link : !this.isLink() && this.isPageLink() ? this.page.getLink() : "";
@@ -6089,7 +6089,7 @@ class vo {
6089
6089
  }
6090
6090
  }
6091
6091
  Rd([
6092
- q.GetClassConstructor(po)
6092
+ L.GetClassConstructor(po)
6093
6093
  ], vo.prototype, "subMenus");
6094
6094
  let Ad = class extends M.H.BaseStore {
6095
6095
  constructor() {
@@ -6107,7 +6107,7 @@ class Td {
6107
6107
  constructor(e) {
6108
6108
  a(this, "id");
6109
6109
  a(this, "nameRus", "");
6110
- q.BuildClass(this, e);
6110
+ L.BuildClass(this, e);
6111
6111
  }
6112
6112
  }
6113
6113
  var Fd = Object.defineProperty, Od = (t, e, i, n) => {
@@ -6120,11 +6120,11 @@ class yo {
6120
6120
  a(this, "id");
6121
6121
  a(this, "nameRus", "");
6122
6122
  a(this, "fields", []);
6123
- q.BuildClass(this, e);
6123
+ L.BuildClass(this, e);
6124
6124
  }
6125
6125
  }
6126
6126
  Od([
6127
- q.GetClassConstructor(Td)
6127
+ L.GetClassConstructor(Td)
6128
6128
  ], yo.prototype, "fields");
6129
6129
  let zd = class extends we {
6130
6130
  constructor() {
@@ -6142,7 +6142,7 @@ class wo {
6142
6142
  a(this, "route", "");
6143
6143
  // searchGroup: SearchGroup = new SearchGroup();
6144
6144
  a(this, "searchElementMetas", []);
6145
- q.BuildClass(this, e);
6145
+ L.BuildClass(this, e);
6146
6146
  }
6147
6147
  }
6148
6148
  class Dd {
@@ -6150,7 +6150,7 @@ class Dd {
6150
6150
  a(this, "id");
6151
6151
  a(this, "name", "");
6152
6152
  a(this, "label", "");
6153
- q.BuildClass(this, e);
6153
+ L.BuildClass(this, e);
6154
6154
  }
6155
6155
  }
6156
6156
  var Hd = Object.defineProperty, bo = (t, e, i, n) => {
@@ -6173,14 +6173,14 @@ class Ft {
6173
6173
  a(this, "valueColumn", "");
6174
6174
  a(this, "options", []);
6175
6175
  a(this, "searchGroupMetaColumns", []);
6176
- q.BuildClass(this, e);
6176
+ L.BuildClass(this, e);
6177
6177
  }
6178
6178
  }
6179
6179
  bo([
6180
- q.GetClassConstructor(wo)
6180
+ L.GetClassConstructor(wo)
6181
6181
  ], Ft.prototype, "options");
6182
6182
  bo([
6183
- q.GetClassConstructor(Dd)
6183
+ L.GetClassConstructor(Dd)
6184
6184
  ], Ft.prototype, "searchGroupMetaColumns");
6185
6185
  class mn {
6186
6186
  constructor(e) {
@@ -6264,11 +6264,11 @@ class ss {
6264
6264
  a(this, "login", "");
6265
6265
  a(this, "email", "");
6266
6266
  a(this, "password", "");
6267
- q.BuildClass(this, e);
6267
+ L.BuildClass(this, e);
6268
6268
  }
6269
6269
  static Create() {
6270
6270
  const e = new ss();
6271
- return e.id = q.CreateUUID(), e;
6271
+ return e.id = L.CreateUUID(), e;
6272
6272
  }
6273
6273
  }
6274
6274
  let Nd = class extends we {