bt-core-app 1.4.478 → 1.4.480

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 (2) hide show
  1. package/dist/bt-core-app.js +231 -231
  2. package/package.json +1 -1
@@ -6165,15 +6165,15 @@ var kg = { exports: {} };
6165
6165
  var De = re.forages[Te];
6166
6166
  De !== X && ne.push(De._initReady().catch(be));
6167
6167
  }
6168
- var Le = re.forages.slice(0);
6168
+ var Ae = re.forages.slice(0);
6169
6169
  return f.all(ne).then(function() {
6170
6170
  return U.db = re.db, E(U);
6171
6171
  }).then(function(Ie) {
6172
6172
  return U.db = Ie, L(U, X._defaultConfig.version) ? I(U) : Ie;
6173
6173
  }).then(function(Ie) {
6174
6174
  U.db = re.db = Ie, X._dbInfo = U;
6175
- for (var Ye = 0; Ye < Le.length; Ye++) {
6176
- var st = Le[Ye];
6175
+ for (var Ye = 0; Ye < Ae.length; Ye++) {
6176
+ var st = Ae[Ye];
6177
6177
  st !== X && (st._dbInfo.db = U.db, st._dbInfo.version = U.version);
6178
6178
  }
6179
6179
  });
@@ -6187,12 +6187,12 @@ var kg = { exports: {} };
6187
6187
  if (be)
6188
6188
  return ne(be);
6189
6189
  try {
6190
- var De = Te.objectStore(U._dbInfo.storeName), Le = De.get(z);
6191
- Le.onsuccess = function() {
6192
- var Ie = Le.result;
6190
+ var De = Te.objectStore(U._dbInfo.storeName), Ae = De.get(z);
6191
+ Ae.onsuccess = function() {
6192
+ var Ie = Ae.result;
6193
6193
  Ie === void 0 && (Ie = null), j(Ie) && (Ie = P(Ie)), re(Ie);
6194
- }, Le.onerror = function() {
6195
- ne(Le.error);
6194
+ }, Ae.onerror = function() {
6195
+ ne(Ae.error);
6196
6196
  };
6197
6197
  } catch (Ie) {
6198
6198
  ne(Ie);
@@ -6209,9 +6209,9 @@ var kg = { exports: {} };
6209
6209
  if (be)
6210
6210
  return ne(be);
6211
6211
  try {
6212
- var De = Te.objectStore(U._dbInfo.storeName), Le = De.openCursor(), Ie = 1;
6213
- Le.onsuccess = function() {
6214
- var Ye = Le.result;
6212
+ var De = Te.objectStore(U._dbInfo.storeName), Ae = De.openCursor(), Ie = 1;
6213
+ Ae.onsuccess = function() {
6214
+ var Ye = Ae.result;
6215
6215
  if (Ye) {
6216
6216
  var st = Ye.value;
6217
6217
  j(st) && (st = P(st));
@@ -6219,8 +6219,8 @@ var kg = { exports: {} };
6219
6219
  kt !== void 0 ? re(kt) : Ye.continue();
6220
6220
  } else
6221
6221
  re();
6222
- }, Le.onerror = function() {
6223
- ne(Le.error);
6222
+ }, Ae.onerror = function() {
6223
+ ne(Ae.error);
6224
6224
  };
6225
6225
  } catch (Ye) {
6226
6226
  ne(Ye);
@@ -6240,9 +6240,9 @@ var kg = { exports: {} };
6240
6240
  return De ? X : Y(X);
6241
6241
  }) : X;
6242
6242
  }).then(function(De) {
6243
- K(ae._dbInfo, S, function(Le, Ie) {
6244
- if (Le)
6245
- return be(Le);
6243
+ K(ae._dbInfo, S, function(Ae, Ie) {
6244
+ if (Ae)
6245
+ return be(Ae);
6246
6246
  try {
6247
6247
  var Ye = Ie.objectStore(ae._dbInfo.storeName);
6248
6248
  De === null && (De = void 0);
@@ -6270,13 +6270,13 @@ var kg = { exports: {} };
6270
6270
  if (be)
6271
6271
  return ne(be);
6272
6272
  try {
6273
- var De = Te.objectStore(U._dbInfo.storeName), Le = De.delete(z);
6273
+ var De = Te.objectStore(U._dbInfo.storeName), Ae = De.delete(z);
6274
6274
  Te.oncomplete = function() {
6275
6275
  re();
6276
6276
  }, Te.onerror = function() {
6277
- ne(Le.error);
6277
+ ne(Ae.error);
6278
6278
  }, Te.onabort = function() {
6279
- var Ie = Le.error ? Le.error : Le.transaction.error;
6279
+ var Ie = Ae.error ? Ae.error : Ae.transaction.error;
6280
6280
  ne(Ie);
6281
6281
  };
6282
6282
  } catch (Ie) {
@@ -6298,11 +6298,11 @@ var kg = { exports: {} };
6298
6298
  be.oncomplete = function() {
6299
6299
  ae();
6300
6300
  }, be.onabort = be.onerror = function() {
6301
- var Le = De.error ? De.error : De.transaction.error;
6302
- re(Le);
6301
+ var Ae = De.error ? De.error : De.transaction.error;
6302
+ re(Ae);
6303
6303
  };
6304
- } catch (Le) {
6305
- re(Le);
6304
+ } catch (Ae) {
6305
+ re(Ae);
6306
6306
  }
6307
6307
  });
6308
6308
  }).catch(re);
@@ -6322,8 +6322,8 @@ var kg = { exports: {} };
6322
6322
  }, De.onerror = function() {
6323
6323
  re(De.error);
6324
6324
  };
6325
- } catch (Le) {
6326
- re(Le);
6325
+ } catch (Ae) {
6326
+ re(Ae);
6327
6327
  }
6328
6328
  });
6329
6329
  }).catch(re);
@@ -6341,14 +6341,14 @@ var kg = { exports: {} };
6341
6341
  if (be)
6342
6342
  return ne(be);
6343
6343
  try {
6344
- var De = Te.objectStore(U._dbInfo.storeName), Le = !1, Ie = De.openKeyCursor();
6344
+ var De = Te.objectStore(U._dbInfo.storeName), Ae = !1, Ie = De.openKeyCursor();
6345
6345
  Ie.onsuccess = function() {
6346
6346
  var Ye = Ie.result;
6347
6347
  if (!Ye) {
6348
6348
  re(null);
6349
6349
  return;
6350
6350
  }
6351
- z === 0 || Le ? re(Ye.key) : (Le = !0, Ye.advance(z));
6351
+ z === 0 || Ae ? re(Ye.key) : (Ae = !0, Ye.advance(z));
6352
6352
  }, Ie.onerror = function() {
6353
6353
  ne(Ie.error);
6354
6354
  };
@@ -6367,14 +6367,14 @@ var kg = { exports: {} };
6367
6367
  if (ne)
6368
6368
  return re(ne);
6369
6369
  try {
6370
- var Te = be.objectStore(X._dbInfo.storeName), De = Te.openKeyCursor(), Le = [];
6370
+ var Te = be.objectStore(X._dbInfo.storeName), De = Te.openKeyCursor(), Ae = [];
6371
6371
  De.onsuccess = function() {
6372
6372
  var Ie = De.result;
6373
6373
  if (!Ie) {
6374
- ae(Le);
6374
+ ae(Ae);
6375
6375
  return;
6376
6376
  }
6377
- Le.push(Ie.key), Ie.continue();
6377
+ Ae.push(Ie.key), Ie.continue();
6378
6378
  }, De.onerror = function() {
6379
6379
  re(De.error);
6380
6380
  };
@@ -6395,17 +6395,17 @@ var kg = { exports: {} };
6395
6395
  re = f.reject("Invalid arguments");
6396
6396
  else {
6397
6397
  var ne = z.name === U.name && ae._dbInfo.db, be = ne ? f.resolve(ae._dbInfo.db) : E(z).then(function(Te) {
6398
- var De = k[z.name], Le = De.forages;
6398
+ var De = k[z.name], Ae = De.forages;
6399
6399
  De.db = Te;
6400
- for (var Ie = 0; Ie < Le.length; Ie++)
6401
- Le[Ie]._dbInfo.db = Te;
6400
+ for (var Ie = 0; Ie < Ae.length; Ie++)
6401
+ Ae[Ie]._dbInfo.db = Te;
6402
6402
  return Te;
6403
6403
  });
6404
6404
  z.storeName ? re = be.then(function(Te) {
6405
6405
  if (Te.objectStoreNames.contains(z.storeName)) {
6406
6406
  var De = Te.version + 1;
6407
6407
  D(z);
6408
- var Le = k[z.name], Ie = Le.forages;
6408
+ var Ae = k[z.name], Ie = Ae.forages;
6409
6409
  Te.close();
6410
6410
  for (var Ye = 0; Ye < Ie.length; Ye++) {
6411
6411
  var st = Ie[Ye];
@@ -6425,7 +6425,7 @@ var kg = { exports: {} };
6425
6425
  };
6426
6426
  });
6427
6427
  return kt.then(function(Ct) {
6428
- Le.db = Ct;
6428
+ Ae.db = Ct;
6429
6429
  for (var ln = 0; ln < Ie.length; ln++) {
6430
6430
  var Xt = Ie[ln];
6431
6431
  Xt._dbInfo.db = Ct, V(Xt._dbInfo);
@@ -6437,10 +6437,10 @@ var kg = { exports: {} };
6437
6437
  }
6438
6438
  }) : re = be.then(function(Te) {
6439
6439
  D(z);
6440
- var De = k[z.name], Le = De.forages;
6440
+ var De = k[z.name], Ae = De.forages;
6441
6441
  Te.close();
6442
- for (var Ie = 0; Ie < Le.length; Ie++) {
6443
- var Ye = Le[Ie];
6442
+ for (var Ie = 0; Ie < Ae.length; Ie++) {
6443
+ var Ye = Ae[Ie];
6444
6444
  Ye._dbInfo.db = null;
6445
6445
  }
6446
6446
  var st = new f(function(kt, Ct) {
@@ -6457,8 +6457,8 @@ var kg = { exports: {} };
6457
6457
  });
6458
6458
  return st.then(function(kt) {
6459
6459
  De.db = kt;
6460
- for (var Ct = 0; Ct < Le.length; Ct++) {
6461
- var ln = Le[Ct];
6460
+ for (var Ct = 0; Ct < Ae.length; Ct++) {
6461
+ var ln = Ae[Ct];
6462
6462
  V(ln._dbInfo);
6463
6463
  }
6464
6464
  }).catch(function(kt) {
@@ -6486,14 +6486,14 @@ var kg = { exports: {} };
6486
6486
  function ye() {
6487
6487
  return typeof openDatabase == "function";
6488
6488
  }
6489
- var me = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", ve = "~~local_forage_type~", Je = /^~~local_forage_type~([^~]+)~/, se = "__lfsc__:", ke = se.length, Re = "arbf", Qe = "blob", jt = "si08", We = "ui08", fn = "uic8", an = "si16", Va = "si32", Pt = "ur16", Pa = "ui32", al = "fl32", bn = "fl64", yl = ke + Re.length, pl = Object.prototype.toString;
6489
+ var me = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", ve = "~~local_forage_type~", Je = /^~~local_forage_type~([^~]+)~/, se = "__lfsc__:", ke = se.length, Re = "arbf", Qe = "blob", jt = "si08", We = "ui08", fn = "uic8", an = "si16", Va = "si32", Ft = "ur16", Pa = "ui32", al = "fl32", bn = "fl64", yl = ke + Re.length, pl = Object.prototype.toString;
6490
6490
  function ll(z) {
6491
6491
  var X = z.length * 0.75, U = z.length, ae, re = 0, ne, be, Te, De;
6492
6492
  z[z.length - 1] === "=" && (X--, z[z.length - 2] === "=" && X--);
6493
- var Le = new ArrayBuffer(X), Ie = new Uint8Array(Le);
6493
+ var Ae = new ArrayBuffer(X), Ie = new Uint8Array(Ae);
6494
6494
  for (ae = 0; ae < U; ae += 4)
6495
6495
  ne = me.indexOf(z[ae]), be = me.indexOf(z[ae + 1]), Te = me.indexOf(z[ae + 2]), De = me.indexOf(z[ae + 3]), Ie[re++] = ne << 2 | be >> 4, Ie[re++] = (be & 15) << 4 | Te >> 2, Ie[re++] = (Te & 3) << 6 | De & 63;
6496
- return Le;
6496
+ return Ae;
6497
6497
  }
6498
6498
  function $a(z) {
6499
6499
  var X = new Uint8Array(z), U = "", ae;
@@ -6505,7 +6505,7 @@ var kg = { exports: {} };
6505
6505
  var U = "";
6506
6506
  if (z && (U = pl.call(z)), z && (U === "[object ArrayBuffer]" || z.buffer && pl.call(z.buffer) === "[object ArrayBuffer]")) {
6507
6507
  var ae, re = se;
6508
- z instanceof ArrayBuffer ? (ae = z, re += Re) : (ae = z.buffer, U === "[object Int8Array]" ? re += jt : U === "[object Uint8Array]" ? re += We : U === "[object Uint8ClampedArray]" ? re += fn : U === "[object Int16Array]" ? re += an : U === "[object Uint16Array]" ? re += Pt : U === "[object Int32Array]" ? re += Va : U === "[object Uint32Array]" ? re += Pa : U === "[object Float32Array]" ? re += al : U === "[object Float64Array]" ? re += bn : X(new Error("Failed to get type for BinaryArray"))), X(re + $a(ae));
6508
+ z instanceof ArrayBuffer ? (ae = z, re += Re) : (ae = z.buffer, U === "[object Int8Array]" ? re += jt : U === "[object Uint8Array]" ? re += We : U === "[object Uint8ClampedArray]" ? re += fn : U === "[object Int16Array]" ? re += an : U === "[object Uint16Array]" ? re += Ft : U === "[object Int32Array]" ? re += Va : U === "[object Uint32Array]" ? re += Pa : U === "[object Float32Array]" ? re += al : U === "[object Float64Array]" ? re += bn : X(new Error("Failed to get type for BinaryArray"))), X(re + $a(ae));
6509
6509
  } else if (U === "[object Blob]") {
6510
6510
  var ne = new FileReader();
6511
6511
  ne.onload = function() {
@@ -6541,7 +6541,7 @@ var kg = { exports: {} };
6541
6541
  return new Uint8ClampedArray(ne);
6542
6542
  case an:
6543
6543
  return new Int16Array(ne);
6544
- case Pt:
6544
+ case Ft:
6545
6545
  return new Uint16Array(ne);
6546
6546
  case Va:
6547
6547
  return new Int32Array(ne);
@@ -6580,8 +6580,8 @@ var kg = { exports: {} };
6580
6580
  U.db.transaction(function(Te) {
6581
6581
  le(Te, U, function() {
6582
6582
  X._dbInfo = U, ne();
6583
- }, function(De, Le) {
6584
- be(Le);
6583
+ }, function(De, Ae) {
6584
+ be(Ae);
6585
6585
  });
6586
6586
  }, be);
6587
6587
  });
@@ -6589,38 +6589,38 @@ var kg = { exports: {} };
6589
6589
  }
6590
6590
  function pe(z, X, U, ae, re, ne) {
6591
6591
  z.executeSql(U, ae, re, function(be, Te) {
6592
- Te.code === Te.SYNTAX_ERR ? be.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?", [X.storeName], function(De, Le) {
6593
- Le.rows.length ? ne(De, Te) : le(De, X, function() {
6592
+ Te.code === Te.SYNTAX_ERR ? be.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?", [X.storeName], function(De, Ae) {
6593
+ Ae.rows.length ? ne(De, Te) : le(De, X, function() {
6594
6594
  De.executeSql(U, ae, re, ne);
6595
6595
  }, ne);
6596
6596
  }, ne) : ne(be, Te);
6597
6597
  }, ne);
6598
6598
  }
6599
- function Ae(z, X) {
6599
+ function Le(z, X) {
6600
6600
  var U = this;
6601
6601
  z = m(z);
6602
6602
  var ae = new f(function(re, ne) {
6603
6603
  U.ready().then(function() {
6604
6604
  var be = U._dbInfo;
6605
6605
  be.db.transaction(function(Te) {
6606
- pe(Te, be, "SELECT * FROM " + be.storeName + " WHERE key = ? LIMIT 1", [z], function(De, Le) {
6607
- var Ie = Le.rows.length ? Le.rows.item(0).value : null;
6606
+ pe(Te, be, "SELECT * FROM " + be.storeName + " WHERE key = ? LIMIT 1", [z], function(De, Ae) {
6607
+ var Ie = Ae.rows.length ? Ae.rows.item(0).value : null;
6608
6608
  Ie && (Ie = be.serializer.deserialize(Ie)), re(Ie);
6609
- }, function(De, Le) {
6610
- ne(Le);
6609
+ }, function(De, Ae) {
6610
+ ne(Ae);
6611
6611
  });
6612
6612
  });
6613
6613
  }).catch(ne);
6614
6614
  });
6615
6615
  return v(ae, X), ae;
6616
6616
  }
6617
- function $t(z, X) {
6617
+ function Pt(z, X) {
6618
6618
  var U = this, ae = new f(function(re, ne) {
6619
6619
  U.ready().then(function() {
6620
6620
  var be = U._dbInfo;
6621
6621
  be.db.transaction(function(Te) {
6622
- pe(Te, be, "SELECT * FROM " + be.storeName, [], function(De, Le) {
6623
- for (var Ie = Le.rows, Ye = Ie.length, st = 0; st < Ye; st++) {
6622
+ pe(Te, be, "SELECT * FROM " + be.storeName, [], function(De, Ae) {
6623
+ for (var Ie = Ae.rows, Ye = Ie.length, st = 0; st < Ye; st++) {
6624
6624
  var kt = Ie.item(st), Ct = kt.value;
6625
6625
  if (Ct && (Ct = be.serializer.deserialize(Ct)), Ct = z(Ct, kt.key, st + 1), Ct !== void 0) {
6626
6626
  re(Ct);
@@ -6628,8 +6628,8 @@ var kg = { exports: {} };
6628
6628
  }
6629
6629
  }
6630
6630
  re();
6631
- }, function(De, Le) {
6632
- ne(Le);
6631
+ }, function(De, Ae) {
6632
+ ne(Ae);
6633
6633
  });
6634
6634
  });
6635
6635
  }).catch(ne);
@@ -6642,10 +6642,10 @@ var kg = { exports: {} };
6642
6642
  var ne = new f(function(be, Te) {
6643
6643
  re.ready().then(function() {
6644
6644
  X === void 0 && (X = null);
6645
- var De = X, Le = re._dbInfo;
6646
- Le.serializer.serialize(X, function(Ie, Ye) {
6647
- Ye ? Te(Ye) : Le.db.transaction(function(st) {
6648
- pe(st, Le, "INSERT OR REPLACE INTO " + Le.storeName + " (key, value) VALUES (?, ?)", [z, Ie], function() {
6645
+ var De = X, Ae = re._dbInfo;
6646
+ Ae.serializer.serialize(X, function(Ie, Ye) {
6647
+ Ye ? Te(Ye) : Ae.db.transaction(function(st) {
6648
+ pe(st, Ae, "INSERT OR REPLACE INTO " + Ae.storeName + " (key, value) VALUES (?, ?)", [z, Ie], function() {
6649
6649
  be(De);
6650
6650
  }, function(kt, Ct) {
6651
6651
  Te(Ct);
@@ -6676,8 +6676,8 @@ var kg = { exports: {} };
6676
6676
  be.db.transaction(function(Te) {
6677
6677
  pe(Te, be, "DELETE FROM " + be.storeName + " WHERE key = ?", [z], function() {
6678
6678
  re();
6679
- }, function(De, Le) {
6680
- ne(Le);
6679
+ }, function(De, Ae) {
6680
+ ne(Ae);
6681
6681
  });
6682
6682
  });
6683
6683
  }).catch(ne);
@@ -6705,8 +6705,8 @@ var kg = { exports: {} };
6705
6705
  var ne = X._dbInfo;
6706
6706
  ne.db.transaction(function(be) {
6707
6707
  pe(be, ne, "SELECT COUNT(key) as c FROM " + ne.storeName, [], function(Te, De) {
6708
- var Le = De.rows.item(0).c;
6709
- ae(Le);
6708
+ var Ae = De.rows.item(0).c;
6709
+ ae(Ae);
6710
6710
  }, function(Te, De) {
6711
6711
  re(De);
6712
6712
  });
@@ -6720,11 +6720,11 @@ var kg = { exports: {} };
6720
6720
  U.ready().then(function() {
6721
6721
  var be = U._dbInfo;
6722
6722
  be.db.transaction(function(Te) {
6723
- pe(Te, be, "SELECT key FROM " + be.storeName + " WHERE id = ? LIMIT 1", [z + 1], function(De, Le) {
6724
- var Ie = Le.rows.length ? Le.rows.item(0).key : null;
6723
+ pe(Te, be, "SELECT key FROM " + be.storeName + " WHERE id = ? LIMIT 1", [z + 1], function(De, Ae) {
6724
+ var Ie = Ae.rows.length ? Ae.rows.item(0).key : null;
6725
6725
  re(Ie);
6726
- }, function(De, Le) {
6727
- ne(Le);
6726
+ }, function(De, Ae) {
6727
+ ne(Ae);
6728
6728
  });
6729
6729
  });
6730
6730
  }).catch(ne);
@@ -6737,9 +6737,9 @@ var kg = { exports: {} };
6737
6737
  var ne = X._dbInfo;
6738
6738
  ne.db.transaction(function(be) {
6739
6739
  pe(be, ne, "SELECT key FROM " + ne.storeName, [], function(Te, De) {
6740
- for (var Le = [], Ie = 0; Ie < De.rows.length; Ie++)
6741
- Le.push(De.rows.item(Ie).key);
6742
- ae(Le);
6740
+ for (var Ae = [], Ie = 0; Ie < De.rows.length; Ie++)
6741
+ Ae.push(De.rows.item(Ie).key);
6742
+ ae(Ae);
6743
6743
  }, function(Te, De) {
6744
6744
  re(De);
6745
6745
  });
@@ -6780,7 +6780,7 @@ var kg = { exports: {} };
6780
6780
  }).then(function(ne) {
6781
6781
  return new f(function(be, Te) {
6782
6782
  ne.db.transaction(function(De) {
6783
- function Le(kt) {
6783
+ function Ae(kt) {
6784
6784
  return new f(function(Ct, ln) {
6785
6785
  De.executeSql("DROP TABLE IF EXISTS " + kt, [], function() {
6786
6786
  Ct();
@@ -6790,7 +6790,7 @@ var kg = { exports: {} };
6790
6790
  });
6791
6791
  }
6792
6792
  for (var Ie = [], Ye = 0, st = ne.storeNames.length; Ye < st; Ye++)
6793
- Ie.push(Le(ne.storeNames[Ye]));
6793
+ Ie.push(Ae(ne.storeNames[Ye]));
6794
6794
  f.all(Ie).then(function() {
6795
6795
  be();
6796
6796
  }).catch(function(kt) {
@@ -6806,8 +6806,8 @@ var kg = { exports: {} };
6806
6806
  _driver: "webSQLStorage",
6807
6807
  _initStorage: fe,
6808
6808
  _support: ye(),
6809
- iterate: $t,
6810
- getItem: Ae,
6809
+ iterate: Pt,
6810
+ getItem: Le,
6811
6811
  setItem: En,
6812
6812
  removeItem: kr,
6813
6813
  clear: jl,
@@ -6866,8 +6866,8 @@ var kg = { exports: {} };
6866
6866
  }
6867
6867
  function n0(z, X) {
6868
6868
  var U = this, ae = U.ready().then(function() {
6869
- for (var re = U._dbInfo, ne = re.keyPrefix, be = ne.length, Te = localStorage.length, De = 1, Le = 0; Le < Te; Le++) {
6870
- var Ie = localStorage.key(Le);
6869
+ for (var re = U._dbInfo, ne = re.keyPrefix, be = ne.length, Te = localStorage.length, De = 1, Ae = 0; Ae < Te; Ae++) {
6870
+ var Ie = localStorage.key(Ae);
6871
6871
  if (Ie.indexOf(ne) === 0) {
6872
6872
  var Ye = localStorage.getItem(Ie);
6873
6873
  if (Ye && (Ye = re.serializer.deserialize(Ye)), Ye = z(Ye, Ie.substring(be), De++), Ye !== void 0)
@@ -6922,12 +6922,12 @@ var kg = { exports: {} };
6922
6922
  var ne = X;
6923
6923
  return new f(function(be, Te) {
6924
6924
  var De = ae._dbInfo;
6925
- De.serializer.serialize(X, function(Le, Ie) {
6925
+ De.serializer.serialize(X, function(Ae, Ie) {
6926
6926
  if (Ie)
6927
6927
  Te(Ie);
6928
6928
  else
6929
6929
  try {
6930
- localStorage.setItem(De.keyPrefix + z, Le), be(ne);
6930
+ localStorage.setItem(De.keyPrefix + z, Ae), be(ne);
6931
6931
  } catch (Ye) {
6932
6932
  (Ye.name === "QuotaExceededError" || Ye.name === "NS_ERROR_DOM_QUOTA_REACHED") && Te(Ye), Te(Ye);
6933
6933
  }
@@ -7032,15 +7032,15 @@ var kg = { exports: {} };
7032
7032
  }, z.prototype.defineDriver = function(U, ae, re) {
7033
7033
  var ne = new f(function(be, Te) {
7034
7034
  try {
7035
- var De = U._driver, Le = new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");
7035
+ var De = U._driver, Ae = new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");
7036
7036
  if (!U._driver) {
7037
- Te(Le);
7037
+ Te(Ae);
7038
7038
  return;
7039
7039
  }
7040
7040
  for (var Ie = au.concat("_initStorage"), Ye = 0, st = Ie.length; Ye < st; Ye++) {
7041
7041
  var kt = Ie[Ye], Ct = !d0(xo, kt);
7042
7042
  if ((Ct || U[kt]) && typeof U[kt] != "function") {
7043
- Te(Le);
7043
+ Te(Ae);
7044
7044
  return;
7045
7045
  }
7046
7046
  }
@@ -7088,7 +7088,7 @@ var kg = { exports: {} };
7088
7088
  function De(Ye) {
7089
7089
  return ne._extend(Ye), Te(), ne._ready = ne._initStorage(ne._config), ne._ready;
7090
7090
  }
7091
- function Le(Ye) {
7091
+ function Ae(Ye) {
7092
7092
  return function() {
7093
7093
  var st = 0;
7094
7094
  function kt() {
@@ -7109,7 +7109,7 @@ var kg = { exports: {} };
7109
7109
  return this._driverSet = Ie.then(function() {
7110
7110
  var Ye = be[0];
7111
7111
  return ne._dbInfo = null, ne._ready = null, ne.getDriver(Ye).then(function(st) {
7112
- ne._driver = st._driver, Te(), ne._wrapLibraryMethodsWithReady(), ne._initDriver = Le(be);
7112
+ ne._driver = st._driver, Te(), ne._wrapLibraryMethodsWithReady(), ne._initDriver = Ae(be);
7113
7113
  });
7114
7114
  }).catch(function() {
7115
7115
  Te();
@@ -8134,7 +8134,7 @@ function fd(e) {
8134
8134
  d.nav ?? (d.nav = e == null ? void 0 : e.nav), d.proxyID ?? (d.proxyID = e == null ? void 0 : e.proxyID), d.refresh ?? (d.refresh = e == null ? void 0 : e.refresh), d.storeKey ?? (d.storeKey = e == null ? void 0 : e.storeKey), d.throwError ?? (d.throwError = e == null ? void 0 : e.throwError), d.url ?? (d.url = e == null ? void 0 : e.url), d.confirmationMsg ?? (d.confirmationMsg = d.requireConfirmation === !0 ? "Are you sure you want to delete this item?" : void 0);
8135
8135
  let k = (d == null ? void 0 : d.store) ?? (e == null ? void 0 : e.store);
8136
8136
  const C = (e == null ? void 0 : e.items) ?? [];
8137
- return k == null && d.nav != null && (k = Al({ nav: d.nav })), k != null ? (d.deleteStrat ?? (d.deleteStrat = ((x = o(d.nav)) == null ? void 0 : x.deleteStrat) ?? void 0), d.deleteStrat == "soft" ? (d.additionalUrl ?? (d.additionalUrl = "/delete"), console.log(d), d.onDeleteAsync ?? (d.onDeleteAsync = () => k().patch(d))) : d.onDeleteAsync ?? (d.onDeleteAsync = () => k().deleteItem(d))) : d.onDeleteAsync ?? (d.onDeleteAsync = () => {
8137
+ return k == null && d.nav != null && (k = Al({ nav: d.nav })), k != null ? (d.deleteStrat ?? (d.deleteStrat = ((x = o(d.nav)) == null ? void 0 : x.deleteStrat) ?? void 0), d.deleteStrat == "soft" ? (d.additionalUrl ?? (d.additionalUrl = "/delete"), d.onDeleteAsync ?? (d.onDeleteAsync = () => k().patch(d))) : d.onDeleteAsync ?? (d.onDeleteAsync = () => k().deleteItem(d))) : d.onDeleteAsync ?? (d.onDeleteAsync = () => {
8138
8138
  var w;
8139
8139
  const S = d.id ?? ((w = d.data) == null ? void 0 : w.id);
8140
8140
  if (S == null)
@@ -12235,7 +12235,7 @@ const K2 = (e) => {
12235
12235
  };
12236
12236
  })
12237
12237
  };
12238
- }, Yi = Symbol.for("vuetify:theme"), Ft = Se({
12238
+ }, Yi = Symbol.for("vuetify:theme"), Nt = Se({
12239
12239
  theme: String
12240
12240
  }, "theme");
12241
12241
  function Gm() {
@@ -13380,7 +13380,7 @@ const vS = [null, "prominent", "default", "comfortable", "compact"], hS = Se({
13380
13380
  ...Dt({
13381
13381
  tag: "header"
13382
13382
  }),
13383
- ...Ft()
13383
+ ...Nt()
13384
13384
  }, "VToolbar"), cs = Fe()({
13385
13385
  name: "VToolbar",
13386
13386
  props: hS(),
@@ -13562,7 +13562,7 @@ const Ty = Se({
13562
13562
  ...va(),
13563
13563
  ...In(),
13564
13564
  ...Dt(),
13565
- ...Ft(),
13565
+ ...Nt(),
13566
13566
  ...nl()
13567
13567
  }, "VBtnGroup"), Qm = Fe()({
13568
13568
  name: "VBtnGroup",
@@ -13822,7 +13822,7 @@ const kS = Se({
13822
13822
  ...Dt({
13823
13823
  tag: "i"
13824
13824
  }),
13825
- ...Ft()
13825
+ ...Nt()
13826
13826
  }, "VIcon"), it = Fe()({
13827
13827
  name: "VIcon",
13828
13828
  props: kS(),
@@ -13909,7 +13909,7 @@ const SS = Se({
13909
13909
  ...Dt({
13910
13910
  tag: "div"
13911
13911
  }),
13912
- ...Ft()
13912
+ ...Nt()
13913
13913
  }, "VProgressCircular"), Rl = Fe()({
13914
13914
  name: "VProgressCircular",
13915
13915
  props: SS(),
@@ -14063,7 +14063,7 @@ const CS = Se({
14063
14063
  }),
14064
14064
  ...In(),
14065
14065
  ...Dt(),
14066
- ...Ft()
14066
+ ...Nt()
14067
14067
  }, "VProgressLinear"), TS = Fe()({
14068
14068
  name: "VProgressLinear",
14069
14069
  props: CS(),
@@ -14504,7 +14504,7 @@ const gi = {
14504
14504
  ...Dt({
14505
14505
  tag: "button"
14506
14506
  }),
14507
- ...Ft(),
14507
+ ...Nt(),
14508
14508
  ...nl({
14509
14509
  variant: "elevated"
14510
14510
  })
@@ -14688,7 +14688,7 @@ const gi = {
14688
14688
  ...zs(),
14689
14689
  ...In(),
14690
14690
  ...Dt(),
14691
- ...Ft(),
14691
+ ...Nt(),
14692
14692
  ...nl({
14693
14693
  variant: "flat"
14694
14694
  })
@@ -14827,7 +14827,7 @@ const gi = {
14827
14827
  ...In(),
14828
14828
  ...hi(),
14829
14829
  ...Dt(),
14830
- ...Ft(),
14830
+ ...Nt(),
14831
14831
  ...nl({
14832
14832
  variant: "flat"
14833
14833
  })
@@ -14887,7 +14887,7 @@ const gi = {
14887
14887
  text: String,
14888
14888
  onClick: Ca(),
14889
14889
  ...et(),
14890
- ...Ft()
14890
+ ...Nt()
14891
14891
  }, "VLabel"), Rd = Fe()({
14892
14892
  name: "VLabel",
14893
14893
  props: HS(),
@@ -14939,7 +14939,7 @@ const gi = {
14939
14939
  },
14940
14940
  ...et(),
14941
14941
  ...aa(),
14942
- ...Ft()
14942
+ ...Nt()
14943
14943
  }, "SelectionControlGroup"), OS = Se({
14944
14944
  ...Ry({
14945
14945
  defaultsTarget: "VSelectionControl"
@@ -15524,7 +15524,7 @@ const pi = Se({
15524
15524
  ...et(),
15525
15525
  ...aa(),
15526
15526
  ...rk(Qa(), ["maxWidth", "minWidth", "width"]),
15527
- ...Ft(),
15527
+ ...Nt(),
15528
15528
  ...GS()
15529
15529
  }, "VInput"), Za = Fe()({
15530
15530
  name: "VInput",
@@ -15980,7 +15980,7 @@ const tC = Symbol.for("vuetify:v-slide-group"), Yy = Se({
15980
15980
  selectedClass: "v-chip--selected"
15981
15981
  }),
15982
15982
  ...Dt(),
15983
- ...Ft(),
15983
+ ...Nt(),
15984
15984
  ...nl({
15985
15985
  variant: "tonal"
15986
15986
  })
@@ -16082,7 +16082,7 @@ const aC = Se({
16082
16082
  ...Dt({
16083
16083
  tag: "span"
16084
16084
  }),
16085
- ...Ft(),
16085
+ ...Nt(),
16086
16086
  ...nl({
16087
16087
  variant: "tonal"
16088
16088
  })
@@ -16929,7 +16929,7 @@ const Ud = (e) => {
16929
16929
  ...In(),
16930
16930
  ...Ws(),
16931
16931
  ...Dt(),
16932
- ...Ft(),
16932
+ ...Nt(),
16933
16933
  ...nl({
16934
16934
  variant: "text"
16935
16935
  })
@@ -17167,7 +17167,7 @@ const Ud = (e) => {
17167
17167
  thickness: [Number, String],
17168
17168
  vertical: Boolean,
17169
17169
  ...et(),
17170
- ...Ft()
17170
+ ...Nt()
17171
17171
  }, "VDivider"), sr = Fe()({
17172
17172
  name: "VDivider",
17173
17173
  props: bC(),
@@ -17425,7 +17425,7 @@ const CC = Se({
17425
17425
  ...tp(),
17426
17426
  ...In(),
17427
17427
  ...Dt(),
17428
- ...Ft(),
17428
+ ...Nt(),
17429
17429
  ...nl({
17430
17430
  variant: "text"
17431
17431
  })
@@ -18298,7 +18298,7 @@ const Gd = Se({
18298
18298
  ...sp(),
18299
18299
  ..._C(),
18300
18300
  ...EC(),
18301
- ...Ft(),
18301
+ ...Nt(),
18302
18302
  ...fi()
18303
18303
  }, "VOverlay"), ma = Fe()({
18304
18304
  name: "VOverlay",
@@ -18771,7 +18771,7 @@ const qC = Se({
18771
18771
  ...et(),
18772
18772
  ...Nd(),
18773
18773
  ...In(),
18774
- ...Ft()
18774
+ ...Nt()
18775
18775
  }, "VField"), Kd = Fe()({
18776
18776
  name: "VField",
18777
18777
  inheritAttrs: !1,
@@ -20167,7 +20167,7 @@ const fT = Se({
20167
20167
  ...In(),
20168
20168
  ...Ws(),
20169
20169
  ...Dt(),
20170
- ...Ft(),
20170
+ ...Nt(),
20171
20171
  ...nl({
20172
20172
  variant: "elevated"
20173
20173
  })
@@ -20390,7 +20390,7 @@ const gp = {
20390
20390
  },
20391
20391
  ...et(),
20392
20392
  ...Dt(),
20393
- ...Ft()
20393
+ ...Nt()
20394
20394
  }, "VWindow"), DT = Fe()({
20395
20395
  name: "VWindow",
20396
20396
  directives: {
@@ -21974,7 +21974,7 @@ const w_ = Aa({
21974
21974
  ...zs(),
21975
21975
  ...In(),
21976
21976
  ...Dt(),
21977
- ...Ft()
21977
+ ...Nt()
21978
21978
  }, "VSheet"), fv = Fe()({
21979
21979
  name: "VSheet",
21980
21980
  props: wp(),
@@ -22617,7 +22617,7 @@ const M_ = Se({
22617
22617
  ...Dt({
22618
22618
  tag: "nav"
22619
22619
  }),
22620
- ...Ft(),
22620
+ ...Nt(),
22621
22621
  ...nl({
22622
22622
  variant: "text"
22623
22623
  })
@@ -22837,7 +22837,7 @@ const M_ = Se({
22837
22837
  ...et(),
22838
22838
  ...aa(),
22839
22839
  ...Dt(),
22840
- ...Ft()
22840
+ ...Nt()
22841
22841
  }, "VTable"), L_ = Fe()({
22842
22842
  name: "VTable",
22843
22843
  props: A_(),
@@ -23398,7 +23398,7 @@ const X_ = ["start", "end", "left", "right", "top", "bottom"], J_ = Se({
23398
23398
  ...Dt({
23399
23399
  tag: "nav"
23400
23400
  }),
23401
- ...Ft()
23401
+ ...Nt()
23402
23402
  }, "VNavigationDrawer"), Q_ = Fe()({
23403
23403
  name: "VNavigationDrawer",
23404
23404
  props: J_(),
@@ -23982,8 +23982,8 @@ function Ji(e, t, n) {
23982
23982
  }), J = T(() => e.errorMsg ?? P.value), ie = O(), q = T(() => ie.value ?? e.loadingMsg ?? j.value), oe = T(() => q.value != null), Me = Pe(!1), de = Pe(e.startShowingSearch == !0), He = O(0), H = T(() => {
23983
23983
  let he, Z = [];
23984
23984
  d.value.forEach((fe) => {
23985
- const pe = y.value[fe], Ae = m.find(($t) => $t.name == pe);
23986
- Ae != null ? he = he != null ? `${he}ANDALSO${Ae.filterFunction()}` : Ae.filterFunction() : Z.push(pe);
23985
+ const pe = y.value[fe], Le = m.find((Pt) => Pt.name == pe);
23986
+ Le != null ? he = he != null ? `${he}ANDALSO${Le.filterFunction()}` : Le.filterFunction() : Z.push(pe);
23987
23987
  });
23988
23988
  const le = {};
23989
23989
  return St(Z) && (le.filterBy = Z.toString()), he != null && (le.query = he), le;
@@ -24028,34 +24028,34 @@ function Ji(e, t, n) {
24028
24028
  } = { ...e };
24029
24029
  if (Z == null)
24030
24030
  return;
24031
- const pe = (Ae, $t) => {
24032
- if (!(Ae == null || !Array.isArray(Ae)))
24033
- if ($t != null) {
24034
- let Rt = Ae.findIndex((En) => r(En) == $t);
24035
- Rt > -1 && Ae.splice(Rt, 1);
24031
+ const pe = (Le, Pt) => {
24032
+ if (!(Le == null || !Array.isArray(Le)))
24033
+ if (Pt != null) {
24034
+ let Rt = Le.findIndex((En) => r(En) == Pt);
24035
+ Rt > -1 && Le.splice(Rt, 1);
24036
24036
  } else {
24037
- let Rt = Ae.findIndex((En) => En === he);
24038
- Rt == -1 && (Rt = Ae.findIndex((En) => En == he)), Rt > -1 && Ae.splice(Rt, 1);
24037
+ let Rt = Le.findIndex((En) => En === he);
24038
+ Rt == -1 && (Rt = Le.findIndex((En) => En == he)), Rt > -1 && Le.splice(Rt, 1);
24039
24039
  }
24040
24040
  };
24041
- e.localOnly == !0 || c == null ? h != "soft" ? (pe(E.value, Z), pe(e.items, Z)) : pe(I.value, Z) : (console.log("deleting"), G({
24041
+ e.localOnly == !0 || c == null ? h != "soft" ? (pe(E.value, Z), pe(e.items, Z)) : A.value || pe(I.value, Z) : G({
24042
24042
  additionalUrl: le,
24043
24043
  data: he,
24044
24044
  nav: c,
24045
24045
  onCanDeleteAsync: e.onCanDeleteAsync,
24046
24046
  onDeleteAsync: fe,
24047
- onDeleteSuccessAsync: async (Ae) => (console.log("succ"), h != "soft" ? (pe(E.value, Z), pe(e.items, Z)) : (console.log("deleted"), console.log(Ae), Je(he, Ae), pe(I.value, Z)), e.onDeleteSuccessAsync != null ? e.onDeleteSuccessAsync(he) : Promise.resolve(void 0)),
24047
+ onDeleteSuccessAsync: async (Le) => (h != "soft" ? (pe(E.value, Z), pe(e.items, Z)) : (Je(he, Le), A.value || pe(I.value, Z)), e.onDeleteSuccessAsync != null ? e.onDeleteSuccessAsync(he) : Promise.resolve(void 0)),
24048
24048
  proxyID: w.value,
24049
24049
  storeKey: u
24050
24050
  // ...(useBladeSrc ? bladeData.value : {}),
24051
24051
  // requireConfirmation: true
24052
- })), t && t("deleted", he);
24052
+ }), t && t("deleted", he);
24053
24053
  }
24054
24054
  function fn(he) {
24055
24055
  const {
24056
24056
  additionalUrl: Z,
24057
24057
  onRestoreAsync: le,
24058
- onRestoreSuccessAsync: fe = (pe) => (console.log("restored"), console.log(pe), Je(he, pe), Pt(), pe)
24058
+ onRestoreSuccessAsync: fe = (pe) => (Je(he, pe), pe)
24059
24059
  } = { ...e };
24060
24060
  return te({
24061
24061
  additionalUrl: Z,
@@ -24074,8 +24074,8 @@ function Ji(e, t, n) {
24074
24074
  additionalUrl: le,
24075
24075
  onCanSaveAsync: fe,
24076
24076
  onGetSaveAsync: pe,
24077
- onSaveAsync: Ae,
24078
- onSaveSuccessAsync: $t
24077
+ onSaveAsync: Le,
24078
+ onSaveSuccessAsync: Pt
24079
24079
  } = { ...e };
24080
24080
  return R({
24081
24081
  additionalUrl: le,
@@ -24083,8 +24083,8 @@ function Ji(e, t, n) {
24083
24083
  nav: c,
24084
24084
  onCanSaveAsync: fe,
24085
24085
  onGetSaveAsync: pe,
24086
- onSaveAsync: Ae,
24087
- onSaveSuccessAsync: $t,
24086
+ onSaveAsync: Le,
24087
+ onSaveSuccessAsync: Pt,
24088
24088
  proxyID: w.value,
24089
24089
  storeKey: u
24090
24090
  });
@@ -24094,7 +24094,7 @@ function Ji(e, t, n) {
24094
24094
  a.exportToCSV(se.value, I.value);
24095
24095
  }, { loadingMsg: "Exporting to CSV" });
24096
24096
  }
24097
- function Pt() {
24097
+ function Ft() {
24098
24098
  if (E.value == null || !Array.isArray(E.value)) {
24099
24099
  I.value = [];
24100
24100
  return;
@@ -24131,7 +24131,7 @@ function Ji(e, t, n) {
24131
24131
  let le = e.onGetSuccessAsync != null ? await e.onGetSuccessAsync(Z) : Z;
24132
24132
  if (ie.value = void 0, le == null || !Array.isArray(le.data))
24133
24133
  return;
24134
- E.value = (le == null ? void 0 : le.data) ?? [], al(E.value, E.value.length), Pt(), e.onFinished && e.onFinished(), t && t("fetched", E.value);
24134
+ E.value = (le == null ? void 0 : le.data) ?? [], al(E.value, E.value.length), Ft(), e.onFinished && e.onFinished(), t && t("fetched", E.value);
24135
24135
  return;
24136
24136
  }
24137
24137
  if (e.isSingle === !0) {
@@ -24176,7 +24176,7 @@ function Ji(e, t, n) {
24176
24176
  });
24177
24177
  E.value = (le == null ? void 0 : le.data) ?? [], k.value = [...d.value];
24178
24178
  }
24179
- Pt(), e.onFinished && e.onFinished(), t && t("fetched", E.value);
24179
+ Ft(), e.onFinished && e.onFinished(), t && t("fetched", E.value);
24180
24180
  }
24181
24181
  function yl(he, Z) {
24182
24182
  var fe;
@@ -24193,9 +24193,9 @@ function Ji(e, t, n) {
24193
24193
  de.value = !de.value, D.value = void 0, bn();
24194
24194
  }
24195
24195
  return Pa(), gh([D], () => {
24196
- Pt();
24196
+ Ft();
24197
24197
  }, { debounce: 500, maxWait: 500 }), xe(A, async () => {
24198
- f == "whole-last-updated" ? Pt() : await bn();
24198
+ f == "whole-last-updated" ? Ft() : await bn();
24199
24199
  }), xe(x, async () => {
24200
24200
  await bn();
24201
24201
  }), xe([J, () => e.errorMsg], ([he, Z]) => {
@@ -24203,9 +24203,9 @@ function Ji(e, t, n) {
24203
24203
  }), xe(() => e.refreshToggle, () => {
24204
24204
  bn({ deepRefresh: !0 });
24205
24205
  }), xe(() => e.filterToggle, () => {
24206
- Pt();
24206
+ Ft();
24207
24207
  }), Ku([E], () => {
24208
- Pt();
24208
+ Ft();
24209
24209
  }), Ku([() => e.items], () => {
24210
24210
  bn();
24211
24211
  }), n != null && n.isNotSetup || yt(async () => {
@@ -31239,8 +31239,8 @@ const MA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31239
31239
  ), I = T(
31240
31240
  () => (Z) => c.value[Z] ? c.value[Z].year : 0
31241
31241
  ), L = (Z) => !g.value.keepViewOnOffsetClick || Z ? !0 : !i.value, Y = (Z, le, fe, pe = !1) => {
31242
- var Ae, $t;
31243
- L(pe) && (c.value[Z] || (c.value[Z] = { month: 0, year: 0 }), c.value[Z].month = Dv(le) ? (Ae = c.value[Z]) == null ? void 0 : Ae.month : le, c.value[Z].year = Dv(fe) ? ($t = c.value[Z]) == null ? void 0 : $t.year : fe);
31242
+ var Le, Pt;
31243
+ L(pe) && (c.value[Z] || (c.value[Z] = { month: 0, year: 0 }), c.value[Z].month = Dv(le) ? (Le = c.value[Z]) == null ? void 0 : Le.month : le, c.value[Z].year = Dv(fe) ? (Pt = c.value[Z]) == null ? void 0 : Pt.year : fe);
31244
31244
  }, P = () => {
31245
31245
  e.autoApply && t("select-date");
31246
31246
  };
@@ -31260,8 +31260,8 @@ const MA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31260
31260
  }, K = () => Array.isArray(s.value) && m.value.enabled ? ut(s.value[0]) === ut(s.value[1] ?? s.value[0]) : !1, B = (Z = /* @__PURE__ */ new Date(), le = !1) => {
31261
31261
  if ((!v.value.count || !v.value.static || le) && Y(0, ut(Z), nt(Z)), v.value.count && (!v.value.solo || !s.value || K()))
31262
31262
  for (let fe = 1; fe < v.value.count; fe++) {
31263
- const pe = At(Ce(), { month: E.value(fe - 1), year: I.value(fe - 1) }), Ae = Vp(pe, { months: 1 });
31264
- c.value[fe] = { month: ut(Ae), year: nt(Ae) };
31263
+ const pe = At(Ce(), { month: E.value(fe - 1), year: I.value(fe - 1) }), Le = Vp(pe, { months: 1 });
31264
+ c.value[fe] = { month: ut(Le), year: nt(Le) };
31265
31265
  }
31266
31266
  }, te = (Z, le) => {
31267
31267
  B(Z), D("hours", ml(Z)), D("minutes", Ol(Z)), D("seconds", ti(Z)), v.value.count && le && de();
@@ -31275,9 +31275,9 @@ const MA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31275
31275
  return 1;
31276
31276
  }, J = (Z, le) => {
31277
31277
  Z[1] && m.value.showLastInRange ? B(Z[R(Z)], le) : B(Z[0], le);
31278
- const fe = (pe, Ae) => [
31278
+ const fe = (pe, Le) => [
31279
31279
  pe(Z[0]),
31280
- Z[1] ? pe(Z[1]) : u[Ae][1]
31280
+ Z[1] ? pe(Z[1]) : u[Le][1]
31281
31281
  ];
31282
31282
  D("hours", fe(ml, "hours")), D("minutes", fe(Ol, "minutes")), D("seconds", fe(ti, "seconds"));
31283
31283
  }, ie = (Z, le) => {
@@ -31306,8 +31306,8 @@ const MA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31306
31306
  if (Array.isArray(s.value) && s.value.length === 2) {
31307
31307
  const Z = Ce(
31308
31308
  Ce(s.value[1] ? s.value[1] : Ta(s.value[0], 1))
31309
- ), [le, fe] = [ut(s.value[0]), nt(s.value[0])], [pe, Ae] = [ut(s.value[1]), nt(s.value[1])];
31310
- (le !== pe || le === pe && fe !== Ae) && v.value.solo && Y(1, ut(Z), nt(Z));
31309
+ ), [le, fe] = [ut(s.value[0]), nt(s.value[0])], [pe, Le] = [ut(s.value[1]), nt(s.value[1])];
31310
+ (le !== pe || le === pe && fe !== Le) && v.value.solo && Y(1, ut(Z), nt(Z));
31311
31311
  } else
31312
31312
  s.value && !Array.isArray(s.value) && (Y(0, ut(s.value), nt(s.value)), B(Ce()));
31313
31313
  }, He = () => {
@@ -31315,8 +31315,8 @@ const MA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31315
31315
  }, H = (Z, le) => {
31316
31316
  if (e.monthChangeOnScroll) {
31317
31317
  const fe = (/* @__PURE__ */ new Date()).getTime() - r.value.getTime(), pe = Math.abs(Z.deltaY);
31318
- let Ae = 500;
31319
- pe > 1 && (Ae = 100), pe > 100 && (Ae = 0), fe > Ae && (r.value = /* @__PURE__ */ new Date(), oe(e.monthChangeOnScroll !== "inverse" ? -Z.deltaY : Z.deltaY, le));
31318
+ let Le = 500;
31319
+ pe > 1 && (Le = 100), pe > 100 && (Le = 0), fe > Le && (r.value = /* @__PURE__ */ new Date(), oe(e.monthChangeOnScroll !== "inverse" ? -Z.deltaY : Z.deltaY, le));
31320
31320
  }
31321
31321
  }, ce = (Z, le, fe = !1) => {
31322
31322
  e.monthChangeOnArrows && e.vertical === fe && ye(Z, le);
@@ -31340,8 +31340,8 @@ const MA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31340
31340
  }
31341
31341
  }, Je = (Z, le, fe, pe) => {
31342
31342
  if (e.sixWeeks && Z.length < 6) {
31343
- const Ae = 6 - Z.length, $t = (le.getDay() + 7 - pe) % 7, Rt = 6 - (fe.getDay() + 7 - pe) % 7, [En, kr] = ve($t, Rt);
31344
- for (let jl = 1; jl <= Ae; jl++)
31343
+ const Le = 6 - Z.length, Pt = (le.getDay() + 7 - pe) % 7, Rt = 6 - (fe.getDay() + 7 - pe) % 7, [En, kr] = ve(Pt, Rt);
31344
+ for (let jl = 1; jl <= Le; jl++)
31345
31345
  if (kr ? !!(jl % 2) == En : En) {
31346
31346
  const Ba = Z[0].days[0], xi = se(ba(Ba.value, -7), ut(le));
31347
31347
  Z.unshift({ days: xi });
@@ -31353,29 +31353,29 @@ const MA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31353
31353
  return Z;
31354
31354
  }, se = (Z, le) => {
31355
31355
  const fe = Ce(Z), pe = [];
31356
- for (let Ae = 0; Ae < 7; Ae++) {
31357
- const $t = ba(fe, Ae), Rt = ut($t) !== le;
31356
+ for (let Le = 0; Le < 7; Le++) {
31357
+ const Pt = ba(fe, Le), Rt = ut(Pt) !== le;
31358
31358
  pe.push({
31359
- text: e.hideOffsetDates && Rt ? "" : $t.getDate(),
31360
- value: $t,
31359
+ text: e.hideOffsetDates && Rt ? "" : Pt.getDate(),
31360
+ value: Pt,
31361
31361
  current: !Rt,
31362
31362
  classData: {}
31363
31363
  });
31364
31364
  }
31365
31365
  return pe;
31366
31366
  }, ke = (Z, le) => {
31367
- const fe = [], pe = new Date(le, Z), Ae = new Date(le, Z + 1, 0), $t = e.weekStart, Rt = Da(pe, { weekStartsOn: $t }), En = (kr) => {
31367
+ const fe = [], pe = new Date(le, Z), Le = new Date(le, Z + 1, 0), Pt = e.weekStart, Rt = Da(pe, { weekStartsOn: Pt }), En = (kr) => {
31368
31368
  const jl = se(kr, Z);
31369
31369
  if (fe.push({ days: jl }), !fe[fe.length - 1].days.some(
31370
- (Ba) => ft(Bn(Ba.value), Bn(Ae))
31370
+ (Ba) => ft(Bn(Ba.value), Bn(Le))
31371
31371
  )) {
31372
31372
  const Ba = ba(kr, 7);
31373
31373
  En(Ba);
31374
31374
  }
31375
31375
  };
31376
- return En(Rt), Je(fe, pe, Ae, $t);
31376
+ return En(Rt), Je(fe, pe, Le, Pt);
31377
31377
  }, Re = (Z) => {
31378
- const le = Nl(Ce(Z.value), u.hours, u.minutes, Pt());
31378
+ const le = Nl(Ce(Z.value), u.hours, u.minutes, Ft());
31379
31379
  t("date-update", le), k.value.enabled ? wf(le, s, k.value.limit) : s.value = le, a(), ot().then(() => {
31380
31380
  G();
31381
31381
  });
@@ -31391,10 +31391,10 @@ const MA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31391
31391
  const le = ut(Ce(Z)), fe = nt(Ce(Z));
31392
31392
  if (Y(0, le, fe), v.value.count > 0)
31393
31393
  for (let pe = 1; pe < v.value.count; pe++) {
31394
- const Ae = IA(
31394
+ const Le = IA(
31395
31395
  At(Ce(Z), { year: E.value(pe - 1), month: I.value(pe - 1) })
31396
31396
  );
31397
- Y(pe, Ae.month, Ae.year);
31397
+ Y(pe, Le.month, Le.year);
31398
31398
  }
31399
31399
  }, an = (Z) => {
31400
31400
  if (Qe(Z.value) || !p(Z.value, s.value, m.value.fixedStart ? 0 : 1))
@@ -31406,12 +31406,12 @@ const MA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31406
31406
  if (m.value.fixedStart || m.value.fixedEnd)
31407
31407
  return an(Z);
31408
31408
  l.value[0] ? p(Ce(Z.value), s.value) && !Qe(Z.value) ? Gt(Ce(Z.value), Ce(l.value[0])) ? (l.value.unshift(Ce(Z.value)), t("range-end", l.value[0])) : (l.value[1] = Ce(Z.value), t("range-end", l.value[1])) : (e.autoApply && t("auto-apply-invalid", Z.value), t("invalid-date", Z.value)) : (l.value[0] = Ce(Z.value), t("range-start", l.value[0]));
31409
- }, Pt = (Z = !0) => e.enableSeconds ? Array.isArray(u.seconds) ? Z ? u.seconds[0] : u.seconds[1] : u.seconds : 0, Pa = (Z) => {
31409
+ }, Ft = (Z = !0) => e.enableSeconds ? Array.isArray(u.seconds) ? Z ? u.seconds[0] : u.seconds[1] : u.seconds : 0, Pa = (Z) => {
31410
31410
  l.value[Z] = Nl(
31411
31411
  l.value[Z],
31412
31412
  u.hours[Z],
31413
31413
  u.minutes[Z],
31414
- Pt(Z !== 1)
31414
+ Ft(Z !== 1)
31415
31415
  );
31416
31416
  }, al = () => {
31417
31417
  var Z, le;
@@ -32984,48 +32984,48 @@ const sL = ({
32984
32984
  var fe, pe;
32985
32985
  return (pe = (fe = f.value) == null ? void 0 : fe.$el) == null ? void 0 : pe.getBoundingClientRect();
32986
32986
  }, me = () => {
32987
- i.value && (V.value.closeOnScroll ? Pt() : W());
32987
+ i.value && (V.value.closeOnScroll ? Ft() : W());
32988
32988
  }, ve = () => {
32989
32989
  var fe;
32990
32990
  i.value && W();
32991
32991
  const pe = (fe = u.value) == null ? void 0 : fe.$el.getBoundingClientRect().width;
32992
32992
  y.value = document.body.offsetWidth <= pe;
32993
32993
  }, Je = (fe) => {
32994
- fe.key === "Tab" && !D.value.enabled && !l.teleport && V.value.tabOutClosesMenu && (h.value.contains(document.activeElement) || Pt()), g.value = fe.shiftKey;
32994
+ fe.key === "Tab" && !D.value.enabled && !l.teleport && V.value.tabOutClosesMenu && (h.value.contains(document.activeElement) || Ft()), g.value = fe.shiftKey;
32995
32995
  }, se = (fe) => {
32996
32996
  g.value = fe.shiftKey;
32997
32997
  }, ke = () => {
32998
32998
  !l.disabled && !l.readonly && (B(Pv, l), W(!1), i.value = !0, i.value && a("open"), i.value || Va(), J(l.modelValue));
32999
32999
  }, Re = () => {
33000
33000
  var fe;
33001
- te.value = "", Va(), (fe = f.value) == null || fe.setParsedDate(null), a("update:model-value", null), a("update:model-timezone-value", null), a("cleared"), V.value.closeOnClearValue && Pt();
33001
+ te.value = "", Va(), (fe = f.value) == null || fe.setParsedDate(null), a("update:model-value", null), a("update:model-timezone-value", null), a("cleared"), V.value.closeOnClearValue && Ft();
33002
33002
  }, Qe = () => {
33003
33003
  const fe = R.value;
33004
33004
  return !fe || !Array.isArray(fe) && S(fe) ? !0 : Array.isArray(fe) ? F.value.enabled || fe.length === 2 && S(fe[0]) && S(fe[1]) ? !0 : A.value.partialRange && !l.timePicker ? S(fe[0]) : !1 : !1;
33005
33005
  }, jt = () => {
33006
- oe() && Qe() ? (ie(), Pt()) : a("invalid-select", R.value);
33006
+ oe() && Qe() ? (ie(), Ft()) : a("invalid-select", R.value);
33007
33007
  }, We = (fe) => {
33008
- fn(), ie(), V.value.closeOnAutoApply && !fe && Pt();
33008
+ fn(), ie(), V.value.closeOnAutoApply && !fe && Ft();
33009
33009
  }, fn = () => {
33010
33010
  f.value && _.value.enabled && f.value.setParsedDate(R.value);
33011
33011
  }, an = (fe = !1) => {
33012
33012
  l.autoApply && p(R.value) && Qe() && (A.value.enabled && Array.isArray(R.value) ? (A.value.partialRange || R.value.length === 2) && We(fe) : We(fe));
33013
33013
  }, Va = () => {
33014
33014
  _.value.enabled || (R.value = null);
33015
- }, Pt = () => {
33015
+ }, Ft = () => {
33016
33016
  D.value.enabled || (i.value && (i.value = !1, G.value = !1, k(!1), C(!1), x(), a("closed"), te.value && J(o.value)), Va(), a("blur"));
33017
- }, Pa = (fe, pe, Ae = !1) => {
33017
+ }, Pa = (fe, pe, Le = !1) => {
33018
33018
  if (!fe) {
33019
33019
  R.value = null;
33020
33020
  return;
33021
33021
  }
33022
- const $t = Array.isArray(fe) ? !fe.some((En) => !S(En)) : S(fe), Rt = p(fe);
33023
- $t && Rt && (d.value = !0, R.value = fe, pe && (m.value = Ae, jt(), a("text-submit")), ot().then(() => {
33022
+ const Pt = Array.isArray(fe) ? !fe.some((En) => !S(En)) : S(fe), Rt = p(fe);
33023
+ Pt && Rt && (d.value = !0, R.value = fe, pe && (m.value = Le, jt(), a("text-submit")), ot().then(() => {
33024
33024
  d.value = !1;
33025
33025
  }));
33026
33026
  }, al = () => {
33027
33027
  l.autoApply && p(R.value) && ie(), fn();
33028
- }, bn = () => i.value ? Pt() : ke(), yl = (fe) => {
33028
+ }, bn = () => i.value ? Ft() : ke(), yl = (fe) => {
33029
33029
  R.value = fe;
33030
33030
  }, pl = () => {
33031
33031
  _.value.enabled && (v.value = !0, q()), a("focus");
@@ -33043,14 +33043,14 @@ const sL = ({
33043
33043
  }, bl = (fe) => {
33044
33044
  J(fe ?? l.modelValue);
33045
33045
  }, he = (fe, pe) => {
33046
- var Ae;
33047
- (Ae = u.value) == null || Ae.switchView(fe, pe);
33048
- }, Z = (fe) => V.value.onClickOutside ? V.value.onClickOutside(fe) : Pt(), le = (fe = 0) => {
33046
+ var Le;
33047
+ (Le = u.value) == null || Le.switchView(fe, pe);
33048
+ }, Z = (fe) => V.value.onClickOutside ? V.value.onClickOutside(fe) : Ft(), le = (fe = 0) => {
33049
33049
  var pe;
33050
33050
  (pe = u.value) == null || pe.handleFlow(fe);
33051
33051
  };
33052
33052
  return wL(c, f, () => Z(Qe)), t({
33053
- closeMenu: Pt,
33053
+ closeMenu: Ft,
33054
33054
  selectDate: jt,
33055
33055
  clearValue: Re,
33056
33056
  openMenu: ke,
@@ -33074,7 +33074,7 @@ const sL = ({
33074
33074
  ref_key: "inputRef",
33075
33075
  ref: f,
33076
33076
  "input-value": M(te),
33077
- "onUpdate:inputValue": pe[0] || (pe[0] = (Ae) => ul(te) ? te.value = Ae : null),
33077
+ "onUpdate:inputValue": pe[0] || (pe[0] = (Le) => ul(te) ? te.value = Le : null),
33078
33078
  "is-menu-open": i.value
33079
33079
  }, fe.$props, {
33080
33080
  onClear: Re,
@@ -33083,15 +33083,15 @@ const sL = ({
33083
33083
  onSetEmptyDate: M(ie),
33084
33084
  onSelectDate: jt,
33085
33085
  onToggle: bn,
33086
- onClose: Pt,
33086
+ onClose: Ft,
33087
33087
  onFocus: pl,
33088
33088
  onBlur: ll,
33089
- onRealBlur: pe[1] || (pe[1] = (Ae) => v.value = !1)
33089
+ onRealBlur: pe[1] || (pe[1] = (Le) => v.value = !1)
33090
33090
  }), gn({ _: 2 }, [
33091
- tt(M(Y), (Ae, $t) => ({
33092
- name: Ae,
33091
+ tt(M(Y), (Le, Pt) => ({
33092
+ name: Le,
33093
33093
  fn: N((Rt) => [
33094
- ge(fe.$slots, Ae, Vt(en(Rt)))
33094
+ ge(fe.$slots, Le, Vt(en(Rt)))
33095
33095
  ])
33096
33096
  }))
33097
33097
  ]), 1040, ["input-value", "is-menu-open", "onSetEmptyDate"]),
@@ -33115,38 +33115,38 @@ const sL = ({
33115
33115
  ref: u
33116
33116
  }, fe.$props, {
33117
33117
  "internal-model-value": M(R),
33118
- "onUpdate:internalModelValue": pe[2] || (pe[2] = (Ae) => ul(R) ? R.value = Ae : null),
33118
+ "onUpdate:internalModelValue": pe[2] || (pe[2] = (Le) => ul(R) ? R.value = Le : null),
33119
33119
  class: { [de.value]: !0, "dp--menu-wrapper": fe.teleport },
33120
33120
  "open-on-top": M(P),
33121
33121
  "no-overlay-focus": ce.value,
33122
33122
  collapse: y.value,
33123
33123
  "get-input-rect": ye,
33124
33124
  "is-text-input-date": d.value,
33125
- onClosePicker: Pt,
33125
+ onClosePicker: Ft,
33126
33126
  onSelectDate: jt,
33127
33127
  onAutoApply: an,
33128
33128
  onTimeUpdate: al,
33129
- onFlowStep: pe[3] || (pe[3] = (Ae) => fe.$emit("flow-step", Ae)),
33130
- onUpdateMonthYear: pe[4] || (pe[4] = (Ae) => fe.$emit("update-month-year", Ae)),
33131
- onInvalidSelect: pe[5] || (pe[5] = (Ae) => fe.$emit("invalid-select", M(R))),
33132
- onAutoApplyInvalid: pe[6] || (pe[6] = (Ae) => fe.$emit("invalid-select", Ae)),
33133
- onInvalidFixedRange: pe[7] || (pe[7] = (Ae) => fe.$emit("invalid-fixed-range", Ae)),
33129
+ onFlowStep: pe[3] || (pe[3] = (Le) => fe.$emit("flow-step", Le)),
33130
+ onUpdateMonthYear: pe[4] || (pe[4] = (Le) => fe.$emit("update-month-year", Le)),
33131
+ onInvalidSelect: pe[5] || (pe[5] = (Le) => fe.$emit("invalid-select", M(R))),
33132
+ onAutoApplyInvalid: pe[6] || (pe[6] = (Le) => fe.$emit("invalid-select", Le)),
33133
+ onInvalidFixedRange: pe[7] || (pe[7] = (Le) => fe.$emit("invalid-fixed-range", Le)),
33134
33134
  onRecalculatePosition: M(W),
33135
- onTooltipOpen: pe[8] || (pe[8] = (Ae) => fe.$emit("tooltip-open", Ae)),
33136
- onTooltipClose: pe[9] || (pe[9] = (Ae) => fe.$emit("tooltip-close", Ae)),
33137
- onTimePickerOpen: pe[10] || (pe[10] = (Ae) => fe.$emit("time-picker-open", Ae)),
33138
- onTimePickerClose: pe[11] || (pe[11] = (Ae) => fe.$emit("time-picker-close", Ae)),
33139
- onAmPmChange: pe[12] || (pe[12] = (Ae) => fe.$emit("am-pm-change", Ae)),
33140
- onRangeStart: pe[13] || (pe[13] = (Ae) => fe.$emit("range-start", Ae)),
33141
- onRangeEnd: pe[14] || (pe[14] = (Ae) => fe.$emit("range-end", Ae)),
33142
- onDateUpdate: pe[15] || (pe[15] = (Ae) => fe.$emit("date-update", Ae)),
33143
- onInvalidDate: pe[16] || (pe[16] = (Ae) => fe.$emit("invalid-date", Ae)),
33144
- onOverlayToggle: pe[17] || (pe[17] = (Ae) => fe.$emit("overlay-toggle", Ae))
33135
+ onTooltipOpen: pe[8] || (pe[8] = (Le) => fe.$emit("tooltip-open", Le)),
33136
+ onTooltipClose: pe[9] || (pe[9] = (Le) => fe.$emit("tooltip-close", Le)),
33137
+ onTimePickerOpen: pe[10] || (pe[10] = (Le) => fe.$emit("time-picker-open", Le)),
33138
+ onTimePickerClose: pe[11] || (pe[11] = (Le) => fe.$emit("time-picker-close", Le)),
33139
+ onAmPmChange: pe[12] || (pe[12] = (Le) => fe.$emit("am-pm-change", Le)),
33140
+ onRangeStart: pe[13] || (pe[13] = (Le) => fe.$emit("range-start", Le)),
33141
+ onRangeEnd: pe[14] || (pe[14] = (Le) => fe.$emit("range-end", Le)),
33142
+ onDateUpdate: pe[15] || (pe[15] = (Le) => fe.$emit("date-update", Le)),
33143
+ onInvalidDate: pe[16] || (pe[16] = (Le) => fe.$emit("invalid-date", Le)),
33144
+ onOverlayToggle: pe[17] || (pe[17] = (Le) => fe.$emit("overlay-toggle", Le))
33145
33145
  }), gn({ _: 2 }, [
33146
- tt(M(L), (Ae, $t) => ({
33147
- name: Ae,
33146
+ tt(M(L), (Le, Pt) => ({
33147
+ name: Le,
33148
33148
  fn: N((Rt) => [
33149
- ge(fe.$slots, Ae, Vt(en({ ...Rt })))
33149
+ ge(fe.$slots, Le, Vt(en({ ...Rt })))
33150
33150
  ])
33151
33151
  }))
33152
33152
  ]), 1040, ["internal-model-value", "class", "open-on-top", "no-overlay-focus", "collapse", "is-text-input-date", "onRecalculatePosition"])
@@ -33919,7 +33919,7 @@ function HV(e, t, n, a) {
33919
33919
  } else
33920
33920
  return r.login(window.location.pathname), { name: n };
33921
33921
  }
33922
- else if (v(), l.updateNavigationChange(e, t), r.tryLogin() && Ls((h = t.name) == null ? void 0 : h.toString()))
33922
+ else if (v(), l.updateNavigationChange(e, t), e.meta.path == "/" && r.tryLogin() && Ls((h = t.name) == null ? void 0 : h.toString()))
33923
33923
  return { name: a };
33924
33924
  }
33925
33925
  function OV(e) {
@@ -36817,7 +36817,7 @@ function L1(e) {
36817
36817
  var t = p5(e, "string");
36818
36818
  return typeof t == "symbol" ? t : String(t);
36819
36819
  }
36820
- var eu = typeof window < "u" && typeof window.document < "u", Ka = eu ? window : {}, Sf = eu && Ka.document.documentElement ? "ontouchstart" in Ka.document.documentElement : !1, Cf = eu ? "PointerEvent" in Ka : !1, Bt = "cropper", Tf = "all", I1 = "crop", E1 = "move", V1 = "zoom", Xl = "e", Jl = "w", $r = "s", Cl = "n", Li = "ne", Ii = "nw", Ei = "se", Vi = "sw", Oc = "".concat(Bt, "-crop"), Uv = "".concat(Bt, "-disabled"), zn = "".concat(Bt, "-hidden"), Yv = "".concat(Bt, "-hide"), b5 = "".concat(Bt, "-invisible"), Ss = "".concat(Bt, "-modal"), Wc = "".concat(Bt, "-move"), no = "".concat(Bt, "Action"), Ho = "".concat(Bt, "Preview"), _f = "crop", P1 = "move", $1 = "none", Uc = "crop", Yc = "cropend", jc = "cropmove", qc = "cropstart", jv = "dblclick", w5 = Sf ? "touchstart" : "mousedown", x5 = Sf ? "touchmove" : "mousemove", k5 = Sf ? "touchend touchcancel" : "mouseup", qv = Cf ? "pointerdown" : w5, Gv = Cf ? "pointermove" : x5, Zv = Cf ? "pointerup pointercancel" : k5, Kv = "ready", Xv = "resize", Jv = "wheel", Gc = "zoom", Qv = "image/jpeg", S5 = /^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/, C5 = /^data:/, T5 = /^data:image\/jpeg;base64,/, _5 = /^img|canvas$/i, B1 = 200, N1 = 100, eh = {
36820
+ var eu = typeof window < "u" && typeof window.document < "u", Ka = eu ? window : {}, Sf = eu && Ka.document.documentElement ? "ontouchstart" in Ka.document.documentElement : !1, Cf = eu ? "PointerEvent" in Ka : !1, $t = "cropper", Tf = "all", I1 = "crop", E1 = "move", V1 = "zoom", Xl = "e", Jl = "w", $r = "s", Cl = "n", Li = "ne", Ii = "nw", Ei = "se", Vi = "sw", Oc = "".concat($t, "-crop"), Uv = "".concat($t, "-disabled"), zn = "".concat($t, "-hidden"), Yv = "".concat($t, "-hide"), b5 = "".concat($t, "-invisible"), Ss = "".concat($t, "-modal"), Wc = "".concat($t, "-move"), no = "".concat($t, "Action"), Ho = "".concat($t, "Preview"), _f = "crop", P1 = "move", $1 = "none", Uc = "crop", Yc = "cropend", jc = "cropmove", qc = "cropstart", jv = "dblclick", w5 = Sf ? "touchstart" : "mousedown", x5 = Sf ? "touchmove" : "mousemove", k5 = Sf ? "touchend touchcancel" : "mouseup", qv = Cf ? "pointerdown" : w5, Gv = Cf ? "pointermove" : x5, Zv = Cf ? "pointerup pointercancel" : k5, Kv = "ready", Xv = "resize", Jv = "wheel", Gc = "zoom", Qv = "image/jpeg", S5 = /^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/, C5 = /^data:/, T5 = /^data:image\/jpeg;base64,/, _5 = /^img|canvas$/i, B1 = 200, N1 = 100, eh = {
36821
36821
  // Define the view mode of the cropper
36822
36822
  viewMode: 0,
36823
36823
  // 0, 1, 2, 3
@@ -36926,7 +36926,7 @@ function sn(e, t) {
36926
36926
  t.call(e, e[n], n, e);
36927
36927
  })), e;
36928
36928
  }
36929
- var Nt = Object.assign || function(e) {
36929
+ var Bt = Object.assign || function(e) {
36930
36930
  for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
36931
36931
  n[a - 1] = arguments[a];
36932
36932
  return vr(e) && n.length > 0 && n.forEach(function(l) {
@@ -37289,7 +37289,7 @@ var q5 = {
37289
37289
  width: o,
37290
37290
  height: s
37291
37291
  };
37292
- this.canvasData = c, this.limited = n === 1 || n === 2, this.limitCanvas(!0, !0), c.width = Math.min(Math.max(c.width, c.minWidth), c.maxWidth), c.height = Math.min(Math.max(c.height, c.minHeight), c.maxHeight), c.left = (e.width - c.width) / 2, c.top = (e.height - c.height) / 2, c.oldLeft = c.left, c.oldTop = c.top, this.initialCanvasData = Nt({}, c);
37292
+ this.canvasData = c, this.limited = n === 1 || n === 2, this.limitCanvas(!0, !0), c.width = Math.min(Math.max(c.width, c.minWidth), c.maxWidth), c.height = Math.min(Math.max(c.height, c.minHeight), c.maxHeight), c.left = (e.width - c.width) / 2, c.top = (e.height - c.height) / 2, c.oldLeft = c.left, c.oldTop = c.top, this.initialCanvasData = Bt({}, c);
37293
37293
  },
37294
37294
  limitCanvas: function(e, t) {
37295
37295
  var n = this.options, a = this.containerData, l = this.canvasData, r = this.cropBoxData, i = n.viewMode, o = l.aspectRatio, s = this.cropped && r;
@@ -37320,7 +37320,7 @@ var q5 = {
37320
37320
  }), r = l.width, i = l.height, o = n.width * (r / n.naturalWidth), s = n.height * (i / n.naturalHeight);
37321
37321
  n.left -= (o - n.width) / 2, n.top -= (s - n.height) / 2, n.width = o, n.height = s, n.aspectRatio = r / i, n.naturalWidth = r, n.naturalHeight = i, this.limitCanvas(!0, !1);
37322
37322
  }
37323
- (n.width > n.maxWidth || n.width < n.minWidth) && (n.left = n.oldLeft), (n.height > n.maxHeight || n.height < n.minHeight) && (n.top = n.oldTop), n.width = Math.min(Math.max(n.width, n.minWidth), n.maxWidth), n.height = Math.min(Math.max(n.height, n.minHeight), n.maxHeight), this.limitCanvas(!1, !0), n.left = Math.min(Math.max(n.left, n.minLeft), n.maxLeft), n.top = Math.min(Math.max(n.top, n.minTop), n.maxTop), n.oldLeft = n.left, n.oldTop = n.top, Pl(this.canvas, Nt({
37323
+ (n.width > n.maxWidth || n.width < n.minWidth) && (n.left = n.oldLeft), (n.height > n.maxHeight || n.height < n.minHeight) && (n.top = n.oldTop), n.width = Math.min(Math.max(n.width, n.minWidth), n.maxWidth), n.height = Math.min(Math.max(n.height, n.minHeight), n.maxHeight), this.limitCanvas(!1, !0), n.left = Math.min(Math.max(n.left, n.minLeft), n.maxLeft), n.top = Math.min(Math.max(n.top, n.minTop), n.maxTop), n.oldLeft = n.left, n.oldTop = n.top, Pl(this.canvas, Bt({
37324
37324
  width: n.width,
37325
37325
  height: n.height
37326
37326
  }, Hi({
@@ -37330,15 +37330,15 @@ var q5 = {
37330
37330
  },
37331
37331
  renderImage: function(e) {
37332
37332
  var t = this.canvasData, n = this.imageData, a = n.naturalWidth * (t.width / t.naturalWidth), l = n.naturalHeight * (t.height / t.naturalHeight);
37333
- Nt(n, {
37333
+ Bt(n, {
37334
37334
  width: a,
37335
37335
  height: l,
37336
37336
  left: (t.width - a) / 2,
37337
37337
  top: (t.height - l) / 2
37338
- }), Pl(this.image, Nt({
37338
+ }), Pl(this.image, Bt({
37339
37339
  width: n.width,
37340
37340
  height: n.height
37341
- }, Hi(Nt({
37341
+ }, Hi(Bt({
37342
37342
  translateX: n.left,
37343
37343
  translateY: n.top
37344
37344
  }, n)))), e && this.output();
@@ -37348,7 +37348,7 @@ var q5 = {
37348
37348
  width: t.width,
37349
37349
  height: t.height
37350
37350
  };
37351
- n && (t.height * n > t.width ? l.height = l.width / n : l.width = l.height * n), this.cropBoxData = l, this.limitCropBox(!0, !0), l.width = Math.min(Math.max(l.width, l.minWidth), l.maxWidth), l.height = Math.min(Math.max(l.height, l.minHeight), l.maxHeight), l.width = Math.max(l.minWidth, l.width * a), l.height = Math.max(l.minHeight, l.height * a), l.left = t.left + (t.width - l.width) / 2, l.top = t.top + (t.height - l.height) / 2, l.oldLeft = l.left, l.oldTop = l.top, this.initialCropBoxData = Nt({}, l);
37351
+ n && (t.height * n > t.width ? l.height = l.width / n : l.width = l.height * n), this.cropBoxData = l, this.limitCropBox(!0, !0), l.width = Math.min(Math.max(l.width, l.minWidth), l.maxWidth), l.height = Math.min(Math.max(l.height, l.minHeight), l.maxHeight), l.width = Math.max(l.minWidth, l.width * a), l.height = Math.max(l.minHeight, l.height * a), l.left = t.left + (t.width - l.width) / 2, l.top = t.top + (t.height - l.height) / 2, l.oldLeft = l.left, l.oldTop = l.top, this.initialCropBoxData = Bt({}, l);
37352
37352
  },
37353
37353
  limitCropBox: function(e, t) {
37354
37354
  var n = this.options, a = this.containerData, l = this.canvasData, r = this.cropBoxData, i = this.limited, o = n.aspectRatio;
@@ -37360,7 +37360,7 @@ var q5 = {
37360
37360
  },
37361
37361
  renderCropBox: function() {
37362
37362
  var e = this.options, t = this.containerData, n = this.cropBoxData;
37363
- (n.width > n.maxWidth || n.width < n.minWidth) && (n.left = n.oldLeft), (n.height > n.maxHeight || n.height < n.minHeight) && (n.top = n.oldTop), n.width = Math.min(Math.max(n.width, n.minWidth), n.maxWidth), n.height = Math.min(Math.max(n.height, n.minHeight), n.maxHeight), this.limitCropBox(!1, !0), n.left = Math.min(Math.max(n.left, n.minLeft), n.maxLeft), n.top = Math.min(Math.max(n.top, n.minTop), n.maxTop), n.oldLeft = n.left, n.oldTop = n.top, e.movable && e.cropBoxMovable && ao(this.face, no, n.width >= t.width && n.height >= t.height ? E1 : Tf), Pl(this.cropBox, Nt({
37363
+ (n.width > n.maxWidth || n.width < n.minWidth) && (n.left = n.oldLeft), (n.height > n.maxHeight || n.height < n.minHeight) && (n.top = n.oldTop), n.width = Math.min(Math.max(n.width, n.minWidth), n.maxWidth), n.height = Math.min(Math.max(n.height, n.minHeight), n.maxHeight), this.limitCropBox(!1, !0), n.left = Math.min(Math.max(n.left, n.minLeft), n.maxLeft), n.top = Math.min(Math.max(n.top, n.minTop), n.maxTop), n.oldLeft = n.left, n.oldTop = n.top, e.movable && e.cropBoxMovable && ao(this.face, no, n.width >= t.width && n.height >= t.height ? E1 : Tf), Pl(this.cropBox, Bt({
37364
37364
  width: n.width,
37365
37365
  height: n.height
37366
37366
  }, Hi({
@@ -37397,10 +37397,10 @@ var q5 = {
37397
37397
  },
37398
37398
  preview: function() {
37399
37399
  var e = this.imageData, t = this.canvasData, n = this.cropBoxData, a = n.width, l = n.height, r = e.width, i = e.height, o = n.left - t.left - e.left, s = n.top - t.top - e.top;
37400
- !this.cropped || this.disabled || (Pl(this.viewBoxImage, Nt({
37400
+ !this.cropped || this.disabled || (Pl(this.viewBoxImage, Bt({
37401
37401
  width: r,
37402
37402
  height: i
37403
- }, Hi(Nt({
37403
+ }, Hi(Bt({
37404
37404
  translateX: -o,
37405
37405
  translateY: -s
37406
37406
  }, e)))), sn(this.previews, function(c) {
@@ -37408,10 +37408,10 @@ var q5 = {
37408
37408
  a && (g = f / a, m = l * g), l && m > v && (g = v / l, h = a * g, m = v), Pl(c, {
37409
37409
  width: h,
37410
37410
  height: m
37411
- }), Pl(c.getElementsByTagName("img")[0], Nt({
37411
+ }), Pl(c.getElementsByTagName("img")[0], Bt({
37412
37412
  width: r * g,
37413
37413
  height: i * g
37414
- }, Hi(Nt({
37414
+ }, Hi(Bt({
37415
37415
  translateX: -o * g,
37416
37416
  translateY: -s * g
37417
37417
  }, e))));
@@ -37476,8 +37476,8 @@ var q5 = {
37476
37476
  originalEvent: e,
37477
37477
  action: t
37478
37478
  }) !== !1 && (e.changedTouches ? sn(e.changedTouches, function(a) {
37479
- Nt(n[a.identifier] || {}, Oo(a, !0));
37480
- }) : Nt(n[e.pointerId || 0] || {}, Oo(e, !0)), this.change(e));
37479
+ Bt(n[a.identifier] || {}, Oo(a, !0));
37480
+ }) : Bt(n[e.pointerId || 0] || {}, Oo(e, !0)), this.change(e));
37481
37481
  }
37482
37482
  },
37483
37483
  cropEnd: function(e) {
@@ -37615,11 +37615,11 @@ var q5 = {
37615
37615
  },
37616
37616
  // Reset the image and crop box to their initial states
37617
37617
  reset: function() {
37618
- return this.ready && !this.disabled && (this.imageData = Nt({}, this.initialImageData), this.canvasData = Nt({}, this.initialCanvasData), this.cropBoxData = Nt({}, this.initialCropBoxData), this.renderCanvas(), this.cropped && this.renderCropBox()), this;
37618
+ return this.ready && !this.disabled && (this.imageData = Bt({}, this.initialImageData), this.canvasData = Bt({}, this.initialCanvasData), this.cropBoxData = Bt({}, this.initialCropBoxData), this.renderCanvas(), this.cropped && this.renderCropBox()), this;
37619
37619
  },
37620
37620
  // Clear the crop box
37621
37621
  clear: function() {
37622
- return this.cropped && !this.disabled && (Nt(this.cropBoxData, {
37622
+ return this.cropped && !this.disabled && (Bt(this.cropBoxData, {
37623
37623
  left: 0,
37624
37624
  top: 0,
37625
37625
  width: 0,
@@ -37652,7 +37652,7 @@ var q5 = {
37652
37652
  */
37653
37653
  destroy: function() {
37654
37654
  var e = this.element;
37655
- return e[Bt] ? (e[Bt] = void 0, this.isImg && this.replaced && (e.src = this.originalUrl), this.uncreate(), this) : this;
37655
+ return e[$t] ? (e[$t] = void 0, this.isImg && this.replaced && (e.src = this.originalUrl), this.uncreate(), this) : this;
37656
37656
  },
37657
37657
  /**
37658
37658
  * Move the canvas with relative offsets
@@ -37807,14 +37807,14 @@ var q5 = {
37807
37807
  * @returns {Object} The result container data.
37808
37808
  */
37809
37809
  getContainerData: function() {
37810
- return this.ready ? Nt({}, this.containerData) : {};
37810
+ return this.ready ? Bt({}, this.containerData) : {};
37811
37811
  },
37812
37812
  /**
37813
37813
  * Get the image position and size data.
37814
37814
  * @returns {Object} The result image data.
37815
37815
  */
37816
37816
  getImageData: function() {
37817
- return this.sized ? Nt({}, this.imageData) : {};
37817
+ return this.sized ? Bt({}, this.imageData) : {};
37818
37818
  },
37819
37819
  /**
37820
37820
  * Get the canvas position and size data.
@@ -37927,14 +37927,14 @@ var q5 = {
37927
37927
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
37928
37928
  if (d5(this, e), !t || !_5.test(t.tagName))
37929
37929
  throw new Error("The first argument is required and must be an <img> or <canvas> element.");
37930
- this.element = t, this.options = Nt({}, eh, Wr(n) && n), this.cropped = !1, this.disabled = !1, this.pointers = {}, this.ready = !1, this.reloading = !1, this.replaced = !1, this.sized = !1, this.sizing = !1, this.init();
37930
+ this.element = t, this.options = Bt({}, eh, Wr(n) && n), this.cropped = !1, this.disabled = !1, this.pointers = {}, this.ready = !1, this.reloading = !1, this.replaced = !1, this.sized = !1, this.sizing = !1, this.init();
37931
37931
  }
37932
37932
  return f5(e, [{
37933
37933
  key: "init",
37934
37934
  value: function() {
37935
37935
  var t = this.element, n = t.tagName.toLowerCase(), a;
37936
- if (!t[Bt]) {
37937
- if (t[Bt] = this, n === "img") {
37936
+ if (!t[$t]) {
37937
+ if (t[$t] = this, n === "img") {
37938
37938
  if (this.isImg = !0, a = t.getAttribute("src") || "", this.originalUrl = a, !a)
37939
37939
  return;
37940
37940
  a = t.src;
@@ -37993,11 +37993,11 @@ var q5 = {
37993
37993
  var t = this, n = this.image;
37994
37994
  n.onload = null, n.onerror = null, this.sizing = !0;
37995
37995
  var a = Ka.navigator && /(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(Ka.navigator.userAgent), l = function(o, s) {
37996
- Nt(t.imageData, {
37996
+ Bt(t.imageData, {
37997
37997
  naturalWidth: o,
37998
37998
  naturalHeight: s,
37999
37999
  aspectRatio: o / s
38000
- }), t.initialImageData = Nt({}, t.imageData), t.sizing = !1, t.sized = !0, t.build();
38000
+ }), t.initialImageData = Bt({}, t.imageData), t.sizing = !1, t.sized = !0, t.build();
38001
38001
  };
38002
38002
  if (n.naturalWidth && !a) {
38003
38003
  l(n.naturalWidth, n.naturalHeight);
@@ -38020,8 +38020,8 @@ var q5 = {
38020
38020
  if (!(!this.sized || this.ready)) {
38021
38021
  var t = this.element, n = this.options, a = this.image, l = t.parentNode, r = document.createElement("div");
38022
38022
  r.innerHTML = M5;
38023
- var i = r.querySelector(".".concat(Bt, "-container")), o = i.querySelector(".".concat(Bt, "-canvas")), s = i.querySelector(".".concat(Bt, "-drag-box")), c = i.querySelector(".".concat(Bt, "-crop-box")), u = c.querySelector(".".concat(Bt, "-face"));
38024
- this.container = l, this.cropper = i, this.canvas = o, this.dragBox = s, this.cropBox = c, this.viewBox = i.querySelector(".".concat(Bt, "-view-box")), this.face = u, o.appendChild(a), vn(t, zn), l.insertBefore(i, t.nextSibling), Ya(a, Yv), this.initPreview(), this.bind(), n.initialAspectRatio = Math.max(0, n.initialAspectRatio) || NaN, n.aspectRatio = Math.max(0, n.aspectRatio) || NaN, n.viewMode = Math.max(0, Math.min(3, Math.round(n.viewMode))) || 0, vn(c, zn), n.guides || vn(c.getElementsByClassName("".concat(Bt, "-dashed")), zn), n.center || vn(c.getElementsByClassName("".concat(Bt, "-center")), zn), n.background && vn(i, "".concat(Bt, "-bg")), n.highlight || vn(u, b5), n.cropBoxMovable && (vn(u, Wc), ao(u, no, Tf)), n.cropBoxResizable || (vn(c.getElementsByClassName("".concat(Bt, "-line")), zn), vn(c.getElementsByClassName("".concat(Bt, "-point")), zn)), this.render(), this.ready = !0, this.setDragMode(n.dragMode), n.autoCrop && this.crop(), this.setData(n.data), Rn(n.ready) && ia(t, Kv, n.ready, {
38023
+ var i = r.querySelector(".".concat($t, "-container")), o = i.querySelector(".".concat($t, "-canvas")), s = i.querySelector(".".concat($t, "-drag-box")), c = i.querySelector(".".concat($t, "-crop-box")), u = c.querySelector(".".concat($t, "-face"));
38024
+ this.container = l, this.cropper = i, this.canvas = o, this.dragBox = s, this.cropBox = c, this.viewBox = i.querySelector(".".concat($t, "-view-box")), this.face = u, o.appendChild(a), vn(t, zn), l.insertBefore(i, t.nextSibling), Ya(a, Yv), this.initPreview(), this.bind(), n.initialAspectRatio = Math.max(0, n.initialAspectRatio) || NaN, n.aspectRatio = Math.max(0, n.aspectRatio) || NaN, n.viewMode = Math.max(0, Math.min(3, Math.round(n.viewMode))) || 0, vn(c, zn), n.guides || vn(c.getElementsByClassName("".concat($t, "-dashed")), zn), n.center || vn(c.getElementsByClassName("".concat($t, "-center")), zn), n.background && vn(i, "".concat($t, "-bg")), n.highlight || vn(u, b5), n.cropBoxMovable && (vn(u, Wc), ao(u, no, Tf)), n.cropBoxResizable || (vn(c.getElementsByClassName("".concat($t, "-line")), zn), vn(c.getElementsByClassName("".concat($t, "-point")), zn)), this.render(), this.ready = !0, this.setDragMode(n.dragMode), n.autoCrop && this.crop(), this.setData(n.data), Rn(n.ready) && ia(t, Kv, n.ready, {
38025
38025
  once: !0
38026
38026
  }), Kr(t, Kv);
38027
38027
  }
@@ -38056,11 +38056,11 @@ var q5 = {
38056
38056
  }, {
38057
38057
  key: "setDefaults",
38058
38058
  value: function(t) {
38059
- Nt(eh, Wr(t) && t);
38059
+ Bt(eh, Wr(t) && t);
38060
38060
  }
38061
38061
  }]), e;
38062
38062
  }();
38063
- Nt(W1.prototype, q5, G5, Z5, K5, X5, J5);
38063
+ Bt(W1.prototype, q5, G5, Z5, K5, X5, J5);
38064
38064
  function eE(e) {
38065
38065
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
38066
38066
  }