bt-core-app 1.4.190 → 1.4.192

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3275,7 +3275,7 @@ function J1(e) {
3275
3275
  return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
3276
3276
  }
3277
3277
  function X1(e, t) {
3278
- const n = On(t), a = On(t, "{2}"), r = On(t, "{3}"), l = On(t, "{4}"), i = On(t, "{6}"), s = On(t, "{1,2}"), u = On(t, "{1,3}"), d = On(t, "{1,6}"), v = On(t, "{1,9}"), f = On(t, "{2,4}"), h = On(t, "{4,6}"), c = (g) => ({ regex: RegExp(J1(g.val)), deser: ([w]) => w, literal: !0 }), y = ((g) => {
3278
+ const n = On(t), a = On(t, "{2}"), r = On(t, "{3}"), l = On(t, "{4}"), i = On(t, "{6}"), s = On(t, "{1,2}"), u = On(t, "{1,3}"), d = On(t, "{1,6}"), v = On(t, "{1,9}"), f = On(t, "{2,4}"), h = On(t, "{4,6}"), c = (g) => ({ regex: RegExp(J1(g.val)), deser: ([p]) => p, literal: !0 }), y = ((g) => {
3279
3279
  if (e.literal)
3280
3280
  return c(g);
3281
3281
  switch (g.val) {
@@ -3929,20 +3929,20 @@ class He {
3929
3929
  if (h && v)
3930
3930
  throw new Nr("Can't mix ordinal dates with month/day");
3931
3931
  const y = o || l.weekday && !c;
3932
- let g, w, x = fi(u, d);
3933
- y ? (g = u0, w = s0, x = Ei(x, i, s)) : v ? (g = c0, w = o0, x = Es(x)) : (g = gv, w = yv);
3932
+ let g, p, x = fi(u, d);
3933
+ y ? (g = u0, p = s0, x = Ei(x, i, s)) : v ? (g = c0, p = o0, x = Es(x)) : (g = gv, p = yv);
3934
3934
  let C = !1;
3935
3935
  for (const _ of g) {
3936
3936
  const P = l[_];
3937
- je(P) ? C ? l[_] = w[_] : l[_] = x[_] : C = !0;
3937
+ je(P) ? C ? l[_] = p[_] : l[_] = x[_] : C = !0;
3938
3938
  }
3939
3939
  const T = y ? Bg(l, i, s) : v ? Rg(l) : Yf(l), M = T || Wf(l);
3940
3940
  if (M)
3941
3941
  return He.invalid(M);
3942
- const b = y ? Cc(l, i, s) : v ? xc(l) : l, [m, p] = Mi(b, d, a), E = new He({
3942
+ const b = y ? Cc(l, i, s) : v ? xc(l) : l, [m, w] = Mi(b, d, a), E = new He({
3943
3943
  ts: m,
3944
3944
  zone: a,
3945
- o: p,
3945
+ o: w,
3946
3946
  loc: r
3947
3947
  });
3948
3948
  return l.weekday && c && t.weekday !== E.weekday ? He.invalid(
@@ -5610,9 +5610,9 @@ var pv = { exports: {} };
5610
5610
  var h, c = [];
5611
5611
  function o() {
5612
5612
  h = !0;
5613
- for (var g, w, x = c.length; x; ) {
5614
- for (w = c, c = [], g = -1; ++g < x; )
5615
- w[g]();
5613
+ for (var g, p, x = c.length; x; ) {
5614
+ for (p = c, c = [], g = -1; ++g < x; )
5615
+ p[g]();
5616
5616
  x = c.length;
5617
5617
  }
5618
5618
  h = !1;
@@ -5640,8 +5640,8 @@ var pv = { exports: {} };
5640
5640
  return this;
5641
5641
  var m = new this.constructor(i);
5642
5642
  if (this.state !== v) {
5643
- var p = this.state === d ? M : b;
5644
- c(m, p, this.outcome);
5643
+ var w = this.state === d ? M : b;
5644
+ c(m, w, this.outcome);
5645
5645
  } else
5646
5646
  this.queue.push(new h(m, M, b));
5647
5647
  return m;
@@ -5660,22 +5660,22 @@ var pv = { exports: {} };
5660
5660
  };
5661
5661
  function c(M, b, m) {
5662
5662
  l(function() {
5663
- var p;
5663
+ var w;
5664
5664
  try {
5665
- p = b(m);
5665
+ w = b(m);
5666
5666
  } catch (E) {
5667
5667
  return s.reject(M, E);
5668
5668
  }
5669
- p === M ? s.reject(M, new TypeError("Cannot resolve promise with itself")) : s.resolve(M, p);
5669
+ w === M ? s.reject(M, new TypeError("Cannot resolve promise with itself")) : s.resolve(M, w);
5670
5670
  });
5671
5671
  }
5672
5672
  s.resolve = function(M, b) {
5673
5673
  var m = g(o, b);
5674
5674
  if (m.status === "error")
5675
5675
  return s.reject(M, m.value);
5676
- var p = m.value;
5677
- if (p)
5678
- y(M, p);
5676
+ var w = m.value;
5677
+ if (w)
5678
+ y(M, w);
5679
5679
  else {
5680
5680
  M.state = d, M.outcome = b;
5681
5681
  for (var E = -1, _ = M.queue.length; ++E < _; )
@@ -5684,7 +5684,7 @@ var pv = { exports: {} };
5684
5684
  return M;
5685
5685
  }, s.reject = function(M, b) {
5686
5686
  M.state = u, M.outcome = b;
5687
- for (var m = -1, p = M.queue.length; ++m < p; )
5687
+ for (var m = -1, w = M.queue.length; ++m < w; )
5688
5688
  M.queue[m].callRejected(b);
5689
5689
  return M;
5690
5690
  };
@@ -5697,29 +5697,29 @@ var pv = { exports: {} };
5697
5697
  }
5698
5698
  function y(M, b) {
5699
5699
  var m = !1;
5700
- function p(V) {
5700
+ function w(V) {
5701
5701
  m || (m = !0, s.reject(M, V));
5702
5702
  }
5703
5703
  function E(V) {
5704
5704
  m || (m = !0, s.resolve(M, V));
5705
5705
  }
5706
5706
  function _() {
5707
- b(E, p);
5707
+ b(E, w);
5708
5708
  }
5709
5709
  var P = g(_);
5710
- P.status === "error" && p(P.value);
5710
+ P.status === "error" && w(P.value);
5711
5711
  }
5712
5712
  function g(M, b) {
5713
5713
  var m = {};
5714
5714
  try {
5715
5715
  m.value = M(b), m.status = "success";
5716
- } catch (p) {
5717
- m.status = "error", m.value = p;
5716
+ } catch (w) {
5717
+ m.status = "error", m.value = w;
5718
5718
  }
5719
5719
  return m;
5720
5720
  }
5721
- f.resolve = w;
5722
- function w(M) {
5721
+ f.resolve = p;
5722
+ function p(M) {
5723
5723
  return M instanceof this ? M : s.resolve(new this(i), M);
5724
5724
  }
5725
5725
  f.reject = x;
@@ -5732,7 +5732,7 @@ var pv = { exports: {} };
5732
5732
  var b = this;
5733
5733
  if (Object.prototype.toString.call(M) !== "[object Array]")
5734
5734
  return this.reject(new TypeError("must be an array"));
5735
- var m = M.length, p = !1;
5735
+ var m = M.length, w = !1;
5736
5736
  if (!m)
5737
5737
  return this.resolve([]);
5738
5738
  for (var E = new Array(m), _ = 0, P = -1, V = new this(i); ++P < m; )
@@ -5740,10 +5740,10 @@ var pv = { exports: {} };
5740
5740
  return V;
5741
5741
  function z(G, R) {
5742
5742
  b.resolve(G).then(N, function(K) {
5743
- p || (p = !0, s.reject(V, K));
5743
+ w || (w = !0, s.reject(V, K));
5744
5744
  });
5745
5745
  function N(K) {
5746
- E[R] = K, ++_ === m && !p && (p = !0, s.resolve(V, E));
5746
+ E[R] = K, ++_ === m && !w && (w = !0, s.resolve(V, E));
5747
5747
  }
5748
5748
  }
5749
5749
  }
@@ -5752,7 +5752,7 @@ var pv = { exports: {} };
5752
5752
  var b = this;
5753
5753
  if (Object.prototype.toString.call(M) !== "[object Array]")
5754
5754
  return this.reject(new TypeError("must be an array"));
5755
- var m = M.length, p = !1;
5755
+ var m = M.length, w = !1;
5756
5756
  if (!m)
5757
5757
  return this.resolve([]);
5758
5758
  for (var E = -1, _ = new this(i); ++E < m; )
@@ -5760,9 +5760,9 @@ var pv = { exports: {} };
5760
5760
  return _;
5761
5761
  function P(V) {
5762
5762
  b.resolve(V).then(function(z) {
5763
- p || (p = !0, s.resolve(_, z));
5763
+ w || (w = !0, s.resolve(_, z));
5764
5764
  }, function(z) {
5765
- p || (p = !0, s.reject(_, z));
5765
+ w || (w = !0, s.reject(_, z));
5766
5766
  });
5767
5767
  }
5768
5768
  }
@@ -5842,7 +5842,7 @@ var pv = { exports: {} };
5842
5842
  if (arguments.length && typeof arguments[arguments.length - 1] == "function")
5843
5843
  return arguments[arguments.length - 1];
5844
5844
  }
5845
- var g = "local-forage-detect-blob-support", w = void 0, x = {}, C = Object.prototype.toString, T = "readonly", M = "readwrite";
5845
+ var g = "local-forage-detect-blob-support", p = void 0, x = {}, C = Object.prototype.toString, T = "readonly", M = "readwrite";
5846
5846
  function b($) {
5847
5847
  for (var q = $.length, H = new ArrayBuffer(q), X = new Uint8Array(H), ne = 0; ne < q; ne++)
5848
5848
  X[ne] = $.charCodeAt(ne);
@@ -5861,9 +5861,9 @@ var pv = { exports: {} };
5861
5861
  return !1;
5862
5862
  });
5863
5863
  }
5864
- function p($) {
5865
- return typeof w == "boolean" ? f.resolve(w) : m($).then(function(q) {
5866
- return w = q, w;
5864
+ function w($) {
5865
+ return typeof p == "boolean" ? f.resolve(p) : m($).then(function(q) {
5866
+ return p = q, p;
5867
5867
  });
5868
5868
  }
5869
5869
  function E($) {
@@ -6095,7 +6095,7 @@ var pv = { exports: {} };
6095
6095
  var ne = new f(function(J, ue) {
6096
6096
  var ye;
6097
6097
  X.ready().then(function() {
6098
- return ye = X._dbInfo, C.call(q) === "[object Blob]" ? p(ye.db).then(function(pe) {
6098
+ return ye = X._dbInfo, C.call(q) === "[object Blob]" ? w(ye.db).then(function(pe) {
6099
6099
  return pe ? q : N(q);
6100
6100
  }) : q;
6101
6101
  }).then(function(pe) {
@@ -7104,10 +7104,10 @@ function V0(e) {
7104
7104
  var c;
7105
7105
  const t = He.utc().toSeconds() / 86400, n = W({}), a = W({}), r = e.storageMode == "local-cache", l = e.buildUrl ?? ((c = e.api) == null ? void 0 : c.buildUrl) ?? E0;
7106
7106
  function i(o) {
7107
- var w, x;
7107
+ var p, x;
7108
7108
  let y = "";
7109
7109
  const g = o.params ?? {};
7110
- return g != null && (y = Object.entries(g).sort(pr.firstBy((C) => C[0])).map((C) => `${C[0]}=${JSON.stringify(C[1])}`).join("&")), `${e.storeName ?? "base"}_${((w = e.auth) == null ? void 0 : w.credentials.value.userID) ?? "no-user-id"}_${o.id ?? ((x = o.data) == null ? void 0 : x.id) ?? "no-item-id"}_${y ?? "no-params"}`;
7110
+ return g != null && (y = Object.entries(g).sort(pr.firstBy((C) => C[0])).map((C) => `${C[0]}=${JSON.stringify(C[1])}`).join("&")), `${e.storeName ?? "base"}_${((p = e.auth) == null ? void 0 : p.credentials.value.userID) ?? "no-user-id"}_${o.id ?? ((x = o.data) == null ? void 0 : x.id) ?? "no-item-id"}_${y ?? "no-params"}`;
7111
7111
  }
7112
7112
  async function s(o) {
7113
7113
  o.additionalUrl ?? (o.additionalUrl = "/getAll"), l(o);
@@ -7115,15 +7115,15 @@ function V0(e) {
7115
7115
  if (!g && n.value[y] !== void 0)
7116
7116
  return n.value[y];
7117
7117
  if (!g && r == !0) {
7118
- const w = await gn().getItem(y);
7119
- if (w != null && (e.api == null || parseFloat(w.meta.storedOn) > t - 7))
7120
- return n.value[y] = w, w;
7118
+ const p = await gn().getItem(y);
7119
+ if (p != null && (e.api == null || parseFloat(p.meta.storedOn) > t - 7))
7120
+ return n.value[y] = p, p;
7121
7121
  }
7122
7122
  if (e.api == null)
7123
7123
  return n.value[y];
7124
7124
  try {
7125
- let w = a.value[y];
7126
- w == null && (w = new Promise(async (C, T) => {
7125
+ let p = a.value[y];
7126
+ p == null && (p = new Promise(async (C, T) => {
7127
7127
  var M;
7128
7128
  try {
7129
7129
  const b = await ((M = e.api) == null ? void 0 : M.getAll(o)), m = {
@@ -7138,26 +7138,26 @@ function V0(e) {
7138
7138
  } finally {
7139
7139
  delete a.value[y];
7140
7140
  }
7141
- }), a.value[y] = w);
7142
- const x = await w;
7141
+ }), a.value[y] = p);
7142
+ const x = await p;
7143
7143
  return n.value[y] = x, {
7144
7144
  data: x == null ? void 0 : x.data,
7145
7145
  filters: x == null ? void 0 : x.filters,
7146
7146
  count: x == null ? void 0 : x.count
7147
7147
  };
7148
- } catch (w) {
7149
- throw w;
7148
+ } catch (p) {
7149
+ throw p;
7150
7150
  }
7151
7151
  }
7152
7152
  async function u(o) {
7153
- var w;
7153
+ var p;
7154
7154
  o.additionalUrl ?? (o.additionalUrl = "/get"), l(o);
7155
7155
  const y = i(o), g = o.refresh;
7156
7156
  if (!g && n.value[y] !== void 0)
7157
7157
  return n.value[y];
7158
7158
  if (!g && r == !0) {
7159
7159
  const x = await gn().getItem(y);
7160
- if (x != null && (e.api == null || parseFloat(((w = x.meta) == null ? void 0 : w.storedOn) ?? "0") > t - 7))
7160
+ if (x != null && (e.api == null || parseFloat(((p = x.meta) == null ? void 0 : p.storedOn) ?? "0") > t - 7))
7161
7161
  return n.value[y] = x, { data: x.data };
7162
7162
  }
7163
7163
  if (e.api == null)
@@ -7168,11 +7168,11 @@ function V0(e) {
7168
7168
  var b;
7169
7169
  try {
7170
7170
  let m = await ((b = e.api) == null ? void 0 : b.get(o));
7171
- const p = {
7171
+ const w = {
7172
7172
  meta: { storedOn: t.toString() },
7173
7173
  data: m == null ? void 0 : m.data
7174
7174
  };
7175
- r == !0 && await gn().setItem(y, p), T(p);
7175
+ r == !0 && await gn().setItem(y, w), T(w);
7176
7176
  } catch (m) {
7177
7177
  M(m);
7178
7178
  } finally {
@@ -7186,7 +7186,7 @@ function V0(e) {
7186
7186
  }
7187
7187
  }
7188
7188
  async function d(o) {
7189
- var w;
7189
+ var p;
7190
7190
  o.additionalUrl ?? (o.additionalUrl = "/patch"), l(o);
7191
7191
  const y = i(o);
7192
7192
  let g;
@@ -7202,7 +7202,7 @@ function V0(e) {
7202
7202
  if (g != null) {
7203
7203
  let x = {
7204
7204
  meta: { storedOn: t.toString() },
7205
- data: { ...(w = n.value[y]) == null ? void 0 : w.data, ...g }
7205
+ data: { ...(p = n.value[y]) == null ? void 0 : p.data, ...g }
7206
7206
  };
7207
7207
  return n.value[y] = x, r == !0 && await gn().setItem(y, x), g.id != null && g.rowVersion != null && Object.entries(n.value).forEach((T) => {
7208
7208
  const M = T[1].data;
@@ -7222,24 +7222,24 @@ function V0(e) {
7222
7222
  let g;
7223
7223
  if (e.api != null)
7224
7224
  try {
7225
- let w = await e.api.post(o);
7226
- g = w == null ? void 0 : w.data;
7227
- } catch (w) {
7228
- throw w;
7225
+ let p = await e.api.post(o);
7226
+ g = p == null ? void 0 : p.data;
7227
+ } catch (p) {
7228
+ throw p;
7229
7229
  }
7230
7230
  else
7231
7231
  g = o.data;
7232
7232
  if (g != null) {
7233
- let w = {
7233
+ let p = {
7234
7234
  meta: { storedOn: t.toString() },
7235
7235
  data: g
7236
7236
  };
7237
- return r == !0 && await gn().setItem(y, w), n.value[y] = w, w.data;
7237
+ return r == !0 && await gn().setItem(y, p), n.value[y] = p, p.data;
7238
7238
  }
7239
7239
  return g;
7240
7240
  }
7241
7241
  async function f(o) {
7242
- var w;
7242
+ var p;
7243
7243
  o.additionalUrl ?? (o.additionalUrl = "/delete"), l(o);
7244
7244
  const y = i(o);
7245
7245
  if (e.api != null)
@@ -7251,7 +7251,7 @@ function V0(e) {
7251
7251
  throw x;
7252
7252
  }
7253
7253
  delete n.value[y];
7254
- const g = ((w = o.data) == null ? void 0 : w.id) ?? o.id;
7254
+ const g = ((p = o.data) == null ? void 0 : p.id) ?? o.id;
7255
7255
  g != null && Object.entries(n.value).forEach((C) => {
7256
7256
  const T = C[1].data;
7257
7257
  if (T != null)
@@ -7290,40 +7290,40 @@ function Wc(e) {
7290
7290
  return bf(e.storeName, () => {
7291
7291
  const t = W(), n = W(0), a = He.utc().toSeconds() / 3600, r = W(), l = W({ storedOn: a.toString() }), i = W({}), s = e.storageMode == "local-cache";
7292
7292
  function u() {
7293
- var w;
7294
- return `${e.storeName}_${((w = e.auth) == null ? void 0 : w.credentials.value.userID) ?? "no-user-id"}`;
7293
+ var p;
7294
+ return `${e.storeName}_${((p = e.auth) == null ? void 0 : p.credentials.value.userID) ?? "no-user-id"}`;
7295
7295
  }
7296
7296
  async function d() {
7297
7297
  if (s == !0) {
7298
- const w = {
7298
+ const p = {
7299
7299
  meta: st(l),
7300
7300
  data: st(t) ?? [],
7301
7301
  count: st(n) ?? 0,
7302
7302
  filters: []
7303
7303
  };
7304
7304
  try {
7305
- await gn().setItem(u(), JSON.parse(JSON.stringify(w)));
7305
+ await gn().setItem(u(), JSON.parse(JSON.stringify(p)));
7306
7306
  } catch (x) {
7307
7307
  console.log("sav err"), console.log(x);
7308
7308
  }
7309
7309
  }
7310
7310
  }
7311
- function v(w) {
7311
+ function v(p) {
7312
7312
  const x = u();
7313
7313
  return i.value[x] || (i.value[x] = new Promise(async (C, T) => {
7314
7314
  var M;
7315
7315
  try {
7316
7316
  let b = await ((M = e.api) == null ? void 0 : M.getAll({
7317
7317
  additionalUrl: "/getAll",
7318
- nav: w.nav,
7318
+ nav: p.nav,
7319
7319
  params: {
7320
7320
  lastUpdate: l.value.lastUpdate ?? g0()
7321
7321
  }
7322
7322
  }));
7323
7323
  b == null ? T(b) : (t.value ?? (t.value = []), b.data.forEach((m) => {
7324
7324
  var E, _;
7325
- const p = t.value.findIndex((P) => P.id == m.id);
7326
- p >= 0 ? (E = t.value) == null || E.splice(p, 1, m) : (_ = t.value) == null || _.push(m);
7325
+ const w = t.value.findIndex((P) => P.id == m.id);
7326
+ w >= 0 ? (E = t.value) == null || E.splice(w, 1, m) : (_ = t.value) == null || _.push(m);
7327
7327
  }), n.value = t.value.length, l.value = {
7328
7328
  lastUpdate: He.utc().toString(),
7329
7329
  storedOn: a.toString()
@@ -7335,9 +7335,9 @@ function Wc(e) {
7335
7335
  }
7336
7336
  })), i.value[x];
7337
7337
  }
7338
- async function f(w) {
7338
+ async function f(p) {
7339
7339
  var T, M, b, m;
7340
- const x = u(), C = w.refresh;
7340
+ const x = u(), C = p.refresh;
7341
7341
  if (!C && t.value != null)
7342
7342
  return {
7343
7343
  count: (T = t.value) == null ? void 0 : T.length,
@@ -7345,9 +7345,9 @@ function Wc(e) {
7345
7345
  filters: []
7346
7346
  };
7347
7347
  if (!C && s == !0) {
7348
- const p = await gn().getItem(x);
7349
- if (p != null && parseFloat(p.meta.storedOn) > a - 7)
7350
- return t.value = p.data, n.value = p.data.length, r.value = p.filters ?? [], l.value = p.meta, {
7348
+ const w = await gn().getItem(x);
7349
+ if (w != null && parseFloat(w.meta.storedOn) > a - 7)
7350
+ return t.value = w.data, n.value = w.data.length, r.value = w.filters ?? [], l.value = w.meta, {
7351
7351
  count: (M = t.value) == null ? void 0 : M.length,
7352
7352
  data: t.value ?? [],
7353
7353
  filters: []
@@ -7361,22 +7361,22 @@ function Wc(e) {
7361
7361
  };
7362
7362
  t.value ?? (t.value = []);
7363
7363
  try {
7364
- return await v(w), {
7364
+ return await v(p), {
7365
7365
  count: (m = t.value) == null ? void 0 : m.length,
7366
7366
  data: t.value ?? [],
7367
7367
  filters: r.value
7368
7368
  };
7369
- } catch (p) {
7370
- let E = p;
7369
+ } catch (w) {
7370
+ let E = w;
7371
7371
  throw new Error(E.message ?? "Problem");
7372
7372
  }
7373
7373
  }
7374
- async function h(w) {
7375
- var M, b, m, p;
7376
- const x = u(), C = w.id ?? ((M = w.data) == null ? void 0 : M.id);
7374
+ async function h(p) {
7375
+ var M, b, m, w;
7376
+ const x = u(), C = p.id ?? ((M = p.data) == null ? void 0 : M.id);
7377
7377
  if (C == null)
7378
7378
  throw new Error("no id provided");
7379
- let T = w.refresh;
7379
+ let T = p.refresh;
7380
7380
  if (!T && t.value != null) {
7381
7381
  const E = t.value.find((_) => _.id == C);
7382
7382
  if (E != null)
@@ -7386,92 +7386,92 @@ function Wc(e) {
7386
7386
  const E = await gn().getItem(x);
7387
7387
  if (E != null && parseFloat(E.meta.storedOn) > a - 12) {
7388
7388
  t.value = E.data, n.value = E.data.length, r.value = E.filters ?? [], l.value = E.meta;
7389
- let _ = (b = t.value) == null ? void 0 : b.find((P) => P.id == w.id);
7389
+ let _ = (b = t.value) == null ? void 0 : b.find((P) => P.id == p.id);
7390
7390
  if (_ != null)
7391
7391
  return { data: _ };
7392
7392
  }
7393
7393
  }
7394
7394
  if (e.api == null)
7395
7395
  return {
7396
- data: (m = t.value) == null ? void 0 : m.find((E) => E.id == w.id)
7396
+ data: (m = t.value) == null ? void 0 : m.find((E) => E.id == p.id)
7397
7397
  };
7398
7398
  t.value ?? (t.value = []);
7399
7399
  try {
7400
- return await v(w), { data: (p = t.value) == null ? void 0 : p.find((E) => E.id == w.id) };
7400
+ return await v(p), { data: (w = t.value) == null ? void 0 : w.find((E) => E.id == p.id) };
7401
7401
  } catch (E) {
7402
7402
  let _ = E;
7403
7403
  throw new Error(_.message ?? "Problem");
7404
7404
  }
7405
7405
  }
7406
- async function c(w) {
7406
+ async function c(p) {
7407
7407
  var C, T, M;
7408
- w.additionalUrl ?? (w.additionalUrl = "/patch");
7408
+ p.additionalUrl ?? (p.additionalUrl = "/patch");
7409
7409
  let x;
7410
7410
  if (e.api != null)
7411
7411
  try {
7412
- let b = await e.api.patch(w);
7413
- x = { ...w.data, ...b == null ? void 0 : b.data };
7412
+ let b = await e.api.patch(p);
7413
+ x = { ...p.data, ...b == null ? void 0 : b.data };
7414
7414
  } catch (b) {
7415
7415
  let m = b;
7416
7416
  throw new Error(m.message ?? "Patch Problem");
7417
7417
  }
7418
7418
  else
7419
- x = w.data;
7419
+ x = p.data;
7420
7420
  if (x != null) {
7421
7421
  let b = (C = t.value) == null ? void 0 : C.findIndex((m) => m.id == x.id);
7422
7422
  b != null && b >= 0 && (t.value ?? (t.value = []), (T = t.value) == null || T.splice(b, 1, x), await d());
7423
7423
  }
7424
- return (M = t.value) == null ? void 0 : M.find((b) => b.id == (w.id ?? w.data.id));
7424
+ return (M = t.value) == null ? void 0 : M.find((b) => b.id == (p.id ?? p.data.id));
7425
7425
  }
7426
- async function o(w) {
7426
+ async function o(p) {
7427
7427
  var C, T;
7428
- w.additionalUrl ?? (w.additionalUrl = "/post");
7428
+ p.additionalUrl ?? (p.additionalUrl = "/post");
7429
7429
  let x;
7430
7430
  if (e.api != null)
7431
7431
  try {
7432
- let M = await e.api.post(w);
7432
+ let M = await e.api.post(p);
7433
7433
  x = M == null ? void 0 : M.data;
7434
7434
  } catch (M) {
7435
7435
  let b = M;
7436
7436
  throw new Error(b.message ?? "Patch Problem");
7437
7437
  }
7438
7438
  else
7439
- x = w.data;
7440
- return x != null && (t.value ?? (t.value = []), (C = t.value) == null || C.unshift(x), n.value += 1, await d()), (T = t.value) == null ? void 0 : T.find((M) => M.id == (w.id ?? w.data.id));
7439
+ x = p.data;
7440
+ return x != null && (t.value ?? (t.value = []), (C = t.value) == null || C.unshift(x), n.value += 1, await d()), (T = t.value) == null ? void 0 : T.find((M) => M.id == (p.id ?? p.data.id));
7441
7441
  }
7442
- async function y(w) {
7442
+ async function y(p) {
7443
7443
  var C, T;
7444
- if (w.additionalUrl ?? (w.additionalUrl = "/delete"), e.api != null)
7444
+ if (p.additionalUrl ?? (p.additionalUrl = "/delete"), e.api != null)
7445
7445
  try {
7446
- let M = await e.api.deleteItem(w);
7446
+ let M = await e.api.deleteItem(p);
7447
7447
  if (M != null)
7448
7448
  return M;
7449
7449
  } catch (M) {
7450
7450
  let b = M;
7451
7451
  throw new Error(b.message ?? "Patch Problem");
7452
7452
  }
7453
- const x = w.id ?? w.data.id;
7453
+ const x = p.id ?? p.data.id;
7454
7454
  if (x != null) {
7455
7455
  let M = (C = t.value) == null ? void 0 : C.findIndex((b) => b.id == x);
7456
7456
  M != null && M >= 0 && (t.value ?? (t.value = []), (T = t.value) == null || T.splice(M, 1), await d());
7457
7457
  }
7458
7458
  }
7459
- async function g(w) {
7459
+ async function g(p) {
7460
7460
  var x;
7461
- if (w.additionalUrl ?? (w.additionalUrl = `/patch/restore?id=${w.data.id}`), e.api != null)
7461
+ if (p.additionalUrl ?? (p.additionalUrl = `/patch/restore?id=${p.data.id}`), e.api != null)
7462
7462
  try {
7463
- await e.api.patch(w);
7463
+ await e.api.patch(p);
7464
7464
  } catch (C) {
7465
7465
  let T = C;
7466
7466
  throw new Error(T.message ?? "Patch Problem");
7467
7467
  }
7468
7468
  try {
7469
- w.additionalUrl = "/getAll", await v(w);
7469
+ p.additionalUrl = "/getAll", await v(p);
7470
7470
  } catch (C) {
7471
7471
  let T = C;
7472
7472
  throw new Error(T.message ?? "Problem");
7473
7473
  }
7474
- return (x = t.value) == null ? void 0 : x.find((C) => C.id == (w.id ?? w.data.id));
7474
+ return (x = t.value) == null ? void 0 : x.find((C) => C.id == (p.id ?? p.data.id));
7475
7475
  }
7476
7476
  return {
7477
7477
  deleteItem: y,
@@ -7516,13 +7516,13 @@ function P0(e) {
7516
7516
  }
7517
7517
  async function u(c) {
7518
7518
  const o = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, y = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, g = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
7519
- let w = c.finalUrl, x = c.headers;
7520
- if (w == null && (w = a(c)), c.overrideHeaders !== !0 && (x = t(c)), r != null && r.isDemoing.value)
7521
- return console.log(`DEMO: Get from ${w}`), r.get(c);
7522
- console.log(`Get from ${w}`);
7519
+ let p = c.finalUrl, x = c.headers;
7520
+ if (p == null && (p = a(c)), c.overrideHeaders !== !0 && (x = t(c)), r != null && r.isDemoing.value)
7521
+ return console.log(`DEMO: Get from ${p}`), r.get(c);
7522
+ console.log(`Get from ${p}`);
7523
7523
  let C;
7524
7524
  try {
7525
- if (C = await fetch(w, {
7525
+ if (C = await fetch(p, {
7526
7526
  method: "GET",
7527
7527
  mode: "cors",
7528
7528
  cache: "no-cache",
@@ -7551,13 +7551,13 @@ function P0(e) {
7551
7551
  }
7552
7552
  async function d(c) {
7553
7553
  const o = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, y = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, g = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
7554
- let w = c.finalUrl, x = c.headers;
7555
- if (w == null && (w = a(c)), c.overrideHeaders !== !0 && (x = t(c)), r != null && r.isDemoing.value)
7556
- return console.log(`DEMO: Get all from ${w}`), r.getAll(c);
7557
- console.log(`Get all from ${w}`);
7554
+ let p = c.finalUrl, x = c.headers;
7555
+ if (p == null && (p = a(c)), c.overrideHeaders !== !0 && (x = t(c)), r != null && r.isDemoing.value)
7556
+ return console.log(`DEMO: Get all from ${p}`), r.getAll(c);
7557
+ console.log(`Get all from ${p}`);
7558
7558
  let C;
7559
7559
  try {
7560
- if (C = await fetch(w, {
7560
+ if (C = await fetch(p, {
7561
7561
  method: "GET",
7562
7562
  mode: "cors",
7563
7563
  cache: "no-cache",
@@ -7586,13 +7586,13 @@ function P0(e) {
7586
7586
  }
7587
7587
  async function v(c) {
7588
7588
  const o = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, y = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, g = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
7589
- let w = c.finalUrl, x = c.headers;
7590
- if (w == null && (w = a(c)), c.overrideHeaders !== !0 && (x = t(c)), r != null && r.isDemoing.value)
7591
- return console.log(`DEMO: Post to ${w}`), r.post(c);
7592
- console.log(`Post to ${w}`);
7589
+ let p = c.finalUrl, x = c.headers;
7590
+ if (p == null && (p = a(c)), c.overrideHeaders !== !0 && (x = t(c)), r != null && r.isDemoing.value)
7591
+ return console.log(`DEMO: Post to ${p}`), r.post(c);
7592
+ console.log(`Post to ${p}`);
7593
7593
  let C;
7594
7594
  try {
7595
- if (C = await fetch(w, {
7595
+ if (C = await fetch(p, {
7596
7596
  method: "POST",
7597
7597
  mode: "cors",
7598
7598
  cache: "no-cache",
@@ -7622,13 +7622,13 @@ function P0(e) {
7622
7622
  }
7623
7623
  async function f(c) {
7624
7624
  const o = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, y = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, g = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
7625
- let w = c.finalUrl, x = c.headers;
7626
- if (w == null && (w = a(c)), c.overrideHeaders !== !0 && (x = t(c)), r != null && r.isDemoing.value)
7627
- return console.log(`DEMO: Patch to ${w}`), r.patch(c);
7628
- console.log(`Patch to ${w}`);
7625
+ let p = c.finalUrl, x = c.headers;
7626
+ if (p == null && (p = a(c)), c.overrideHeaders !== !0 && (x = t(c)), r != null && r.isDemoing.value)
7627
+ return console.log(`DEMO: Patch to ${p}`), r.patch(c);
7628
+ console.log(`Patch to ${p}`);
7629
7629
  let C;
7630
7630
  try {
7631
- if (C = await fetch(w, {
7631
+ if (C = await fetch(p, {
7632
7632
  method: "PATCH",
7633
7633
  mode: "cors",
7634
7634
  cache: "no-cache",
@@ -7662,26 +7662,26 @@ function P0(e) {
7662
7662
  if (y == null && (y = a(c)), c.overrideHeaders !== !0 && (g = t(c)), r != null && r.isDemoing.value)
7663
7663
  return console.log(`DEMO: Delete ${y}`), r.deleteItem(c);
7664
7664
  console.log(`Delete ${y}`);
7665
- let w;
7665
+ let p;
7666
7666
  try {
7667
- if (w = await fetch(y, {
7667
+ if (p = await fetch(y, {
7668
7668
  method: "DELETE",
7669
7669
  mode: "cors",
7670
7670
  cache: "no-cache",
7671
7671
  headers: g,
7672
7672
  body: JSON.stringify(c.data)
7673
- }), w.status == 401)
7673
+ }), p.status == 401)
7674
7674
  throw {
7675
- code: w.status,
7675
+ code: p.status,
7676
7676
  name: "Unauthorized",
7677
- message: w.statusText
7677
+ message: p.statusText
7678
7678
  };
7679
- return w.status == 200 ? void 0 : w.statusText;
7679
+ return p.status == 200 ? void 0 : p.statusText;
7680
7680
  } catch (x) {
7681
- const C = `${(w == null ? void 0 : w.status) ?? ""} ${(w == null ? void 0 : w.statusText) ?? ""} ${x.message}`;
7681
+ const C = `${(p == null ? void 0 : p.status) ?? ""} ${(p == null ? void 0 : p.statusText) ?? ""} ${x.message}`;
7682
7682
  if (!o)
7683
7683
  return C;
7684
- throw x.code == 401 ? x : new Error(`${w.status} ${w.statusText} ${x.message}`);
7684
+ throw x.code == 401 ? x : new Error(`${p.status} ${p.statusText} ${x.message}`);
7685
7685
  }
7686
7686
  }
7687
7687
  return wo = {
@@ -7703,14 +7703,14 @@ function Cv(e) {
7703
7703
  const g = (e == null ? void 0 : e.items) ?? [];
7704
7704
  return y == null && o.nav != null && (y = fr({ nav: o.nav })), y != null ? o.onDeleteAsync ?? (o.onDeleteAsync = () => y().deleteItem(o)) : o.onDeleteAsync ?? (o.onDeleteAsync = () => {
7705
7705
  var C;
7706
- const w = o.id ?? ((C = o.data) == null ? void 0 : C.id);
7707
- if (w == null)
7706
+ const p = o.id ?? ((C = o.data) == null ? void 0 : C.id);
7707
+ if (p == null)
7708
7708
  return Promise.resolve("No id found in delete action");
7709
- const x = g.findIndex((T) => T.id == w);
7709
+ const x = g.findIndex((T) => T.id == p);
7710
7710
  return x >= 0 && g.splice(x, 1), Promise.resolve(void 0);
7711
7711
  }), l(async () => {
7712
- let w;
7713
- o.onCanDeleteAsync != null && (w = await o.onCanDeleteAsync(o.data)), w == null && o.onDeleteAsync != null && (w = await o.onDeleteAsync(o.data)), w == null && o.onDeleteSuccessAsync != null && await o.onDeleteSuccessAsync(o.data), i(w);
7712
+ let p;
7713
+ o.onCanDeleteAsync != null && (p = await o.onCanDeleteAsync(o.data)), p == null && o.onDeleteAsync != null && (p = await o.onDeleteAsync(o.data)), p == null && o.onDeleteSuccessAsync != null && await o.onDeleteSuccessAsync(o.data), i(p);
7714
7714
  }, {
7715
7715
  ...e,
7716
7716
  ...o,
@@ -7728,11 +7728,11 @@ function Cv(e) {
7728
7728
  const g = (e == null ? void 0 : e.items) ?? [];
7729
7729
  return y == null && o.nav != null && (y = fr({ nav: o.nav })), y != null ? o.onGetAsync ?? (o.onGetAsync = async () => (await y().get(o)).data) : o.onGetAsync ?? (o.onGetAsync = () => {
7730
7730
  var x;
7731
- const w = o.id ?? ((x = o.data) == null ? void 0 : x.id);
7732
- return w == null ? Promise.resolve(void 0) : Promise.resolve(g.find((C) => C.id == w));
7731
+ const p = o.id ?? ((x = o.data) == null ? void 0 : x.id);
7732
+ return p == null ? Promise.resolve(void 0) : Promise.resolve(g.find((C) => C.id == p));
7733
7733
  }), l(async () => {
7734
- let w;
7735
- return o.onGetAsync != null && (w = await o.onGetAsync(o)), o.onGetSuccessAsync != null && (w = await o.onGetSuccessAsync(w, o)), w;
7734
+ let p;
7735
+ return o.onGetAsync != null && (p = await o.onGetAsync(o)), o.onGetSuccessAsync != null && (p = await o.onGetSuccessAsync(p, o)), p;
7736
7736
  }, {
7737
7737
  ...e,
7738
7738
  ...o,
@@ -7749,8 +7749,8 @@ function Cv(e) {
7749
7749
  let y = (o == null ? void 0 : o.store) ?? (e == null ? void 0 : e.store);
7750
7750
  const g = (e == null ? void 0 : e.items) ?? [];
7751
7751
  return y == null && o.nav != null && (y = fr({ nav: o.nav })), y != null ? o.onGetAsync ?? (o.onGetAsync = () => y().getAll(o)) : o.onGetAsync ?? (o.onGetAsync = () => Promise.resolve(g)), l(async () => {
7752
- let w;
7753
- return o.onGetAsync != null && (w = await o.onGetAsync(o)), o.onGetSuccessAsync != null && (w = await o.onGetSuccessAsync(w, o)), w;
7752
+ let p;
7753
+ return o.onGetAsync != null && (p = await o.onGetAsync(o)), o.onGetSuccessAsync != null && (p = await o.onGetSuccessAsync(p, o)), p;
7754
7754
  }, {
7755
7755
  ...e,
7756
7756
  ...o,
@@ -7766,8 +7766,8 @@ function Cv(e) {
7766
7766
  o.nav ?? (o.nav = e == null ? void 0 : e.nav), o.proxyID ?? (o.proxyID = e == null ? void 0 : e.proxyID), o.refresh ?? (o.refresh = e == null ? void 0 : e.refresh), o.throwError ?? (o.throwError = e == null ? void 0 : e.throwError), o.url ?? (o.url = e == null ? void 0 : e.url), o.confirmationMsg ?? (o.confirmationMsg = o.requireConfirmation === !0 ? "Are you sure you want to restore this item?" : void 0);
7767
7767
  let y = (o == null ? void 0 : o.store) ?? (e == null ? void 0 : e.store);
7768
7768
  return y == null && o.nav != null && (y = fr({ nav: o.nav })), y != null && (o.onRestoreAsync ?? (o.onRestoreAsync = () => y().restore(o))), l(async () => {
7769
- let g, w;
7770
- return o.onCanRestoreAsync != null && (g = await o.onCanRestoreAsync(o.data)), g == null && o.onRestoreAsync != null && (w = await o.onRestoreAsync(o.data)), w != null && o.onRestoreSuccessAsync != null && await o.onRestoreSuccessAsync(w), i(g), w;
7769
+ let g, p;
7770
+ return o.onCanRestoreAsync != null && (g = await o.onCanRestoreAsync(o.data)), g == null && o.onRestoreAsync != null && (p = await o.onRestoreAsync(o.data)), p != null && o.onRestoreSuccessAsync != null && await o.onRestoreSuccessAsync(p), i(g), p;
7771
7771
  }, {
7772
7772
  ...e,
7773
7773
  ...o,
@@ -7783,23 +7783,23 @@ function Cv(e) {
7783
7783
  o.nav ?? (o.nav = e == null ? void 0 : e.nav), o.proxyID ?? (o.proxyID = e == null ? void 0 : e.proxyID), o.refresh ?? (o.refresh = e == null ? void 0 : e.refresh), o.throwError ?? (o.throwError = e == null ? void 0 : e.throwError), o.url ?? (o.url = e == null ? void 0 : e.url), o.confirmationMsg ?? (o.confirmationMsg = o.requireConfirmation === !0 ? "Are you sure you want to save this item?" : void 0);
7784
7784
  let y = (o == null ? void 0 : o.store) ?? (e == null ? void 0 : e.store);
7785
7785
  const g = (e == null ? void 0 : e.items) ?? [];
7786
- return o.onGetSaveAsync ?? (o.onGetSaveAsync = (w) => w), o.onCanSaveAsync ?? (o.onCanSaveAsync = () => Promise.resolve(void 0)), y == null && o.nav != null && (y = fr({ nav: o.nav })), y != null ? o.onSaveAsync ?? (o.onSaveAsync = async () => {
7787
- var w;
7788
- return o.mode ?? (o.mode = ((w = o.data) == null ? void 0 : w.id) == null ? "new" : "edit"), o.mode == "new" ? await y().post(o) : await y().patch(o);
7789
- }) : o.onSaveAsync ?? (o.onSaveAsync = (w) => {
7790
- const x = g.findIndex((C) => C.id == w.id);
7791
- return x >= 0 ? g.splice(x, 1, w) : g.push(w), Promise.resolve(w);
7786
+ return o.onGetSaveAsync ?? (o.onGetSaveAsync = (p) => p), o.onCanSaveAsync ?? (o.onCanSaveAsync = () => Promise.resolve(void 0)), y == null && o.nav != null && (y = fr({ nav: o.nav })), y != null ? o.onSaveAsync ?? (o.onSaveAsync = async () => {
7787
+ var p;
7788
+ return o.mode ?? (o.mode = ((p = o.data) == null ? void 0 : p.id) == null ? "new" : "edit"), o.mode == "new" ? await y().post(o) : await y().patch(o);
7789
+ }) : o.onSaveAsync ?? (o.onSaveAsync = (p) => {
7790
+ const x = g.findIndex((C) => C.id == p.id);
7791
+ return x >= 0 ? g.splice(x, 1, p) : g.push(p), Promise.resolve(p);
7792
7792
  }), l(async () => {
7793
- let w;
7794
- if (o.onGetSaveAsync != null && (w = await o.onGetSaveAsync(o.data)), w == null)
7793
+ let p;
7794
+ if (o.onGetSaveAsync != null && (p = await o.onGetSaveAsync(o.data)), p == null)
7795
7795
  return;
7796
7796
  if (o.onCanSaveAsync != null) {
7797
- let C = await o.onCanSaveAsync(w);
7797
+ let C = await o.onCanSaveAsync(p);
7798
7798
  if (i(C), C != null)
7799
7799
  return;
7800
7800
  }
7801
7801
  let x;
7802
- return o.onSaveAsync != null && (x = await o.onSaveAsync(w), x = x.data != null ? x.data : x), o.onSaveSuccessAsync != null && (x = await o.onSaveSuccessAsync(x)), x;
7802
+ return o.onSaveAsync != null && (x = await o.onSaveAsync(p), x = x.data != null ? x.data : x), o.onSaveSuccessAsync != null && (x = await o.onSaveSuccessAsync(x)), x;
7803
7803
  }, {
7804
7804
  ...e,
7805
7805
  ...o,
@@ -7849,29 +7849,29 @@ function L0(e) {
7849
7849
  function l(m) {
7850
7850
  if (m == null)
7851
7851
  return !0;
7852
- var p = e.getAuthItem != null ? e.getAuthItem(m) : null;
7853
- if (p == null)
7852
+ var w = e.getAuthItem != null ? e.getAuthItem(m) : null;
7853
+ if (w == null)
7854
7854
  return !1;
7855
- if (p.requiresAuth === !1)
7855
+ if (w.requiresAuth === !1)
7856
7856
  return !0;
7857
7857
  const E = st(r);
7858
- if (E.isSuspended && p.ignoreSuspension !== !0)
7858
+ if (E.isSuspended && w.ignoreSuspension !== !0)
7859
7859
  return !1;
7860
7860
  if (E.isGlobalAdmin)
7861
7861
  return !0;
7862
- if (p.permissions != null) {
7863
- for (var _ = 0; _ < p.permissions.length; _++)
7864
- if (!i(p.permissions[_]))
7862
+ if (w.permissions != null) {
7863
+ for (var _ = 0; _ < w.permissions.length; _++)
7864
+ if (!i(w.permissions[_]))
7865
7865
  return !1;
7866
7866
  }
7867
7867
  return !0;
7868
7868
  }
7869
7869
  function i(m) {
7870
- const p = st(r);
7871
- if (p.userPermissions != null)
7872
- for (var E = 0; E < p.userPermissions.length; E++) {
7873
- var _ = p.userPermissions[E].split(".");
7874
- if (p.userPermissions[E] == "everything.edit" || m == _[0] && _.length > 1 && _[1] == "edit")
7870
+ const w = st(r);
7871
+ if (w.userPermissions != null)
7872
+ for (var E = 0; E < w.userPermissions.length; E++) {
7873
+ var _ = w.userPermissions[E].split(".");
7874
+ if (w.userPermissions[E] == "everything.edit" || m == _[0] && _.length > 1 && _[1] == "edit")
7875
7875
  return !0;
7876
7876
  }
7877
7877
  return !1;
@@ -7879,53 +7879,53 @@ function L0(e) {
7879
7879
  function s(m) {
7880
7880
  if (m == null)
7881
7881
  return !0;
7882
- var p = e.getAuthItem != null ? e.getAuthItem(m) : null;
7883
- if (p == null)
7882
+ var w = e.getAuthItem != null ? e.getAuthItem(m) : null;
7883
+ if (w == null)
7884
7884
  return !1;
7885
- if (p.requiresAuth === !1)
7885
+ if (w.requiresAuth === !1)
7886
7886
  return !0;
7887
7887
  const E = st(r);
7888
- if (E.isSuspended && p.ignoreSuspension !== !0)
7888
+ if (E.isSuspended && w.ignoreSuspension !== !0)
7889
7889
  return !1;
7890
7890
  if (E.isGlobalAdmin)
7891
7891
  return !0;
7892
- if (p.permissions != null) {
7893
- for (var _ = 0; _ < p.permissions.length; _++)
7894
- if (!u(p.permissions[_]))
7892
+ if (w.permissions != null) {
7893
+ for (var _ = 0; _ < w.permissions.length; _++)
7894
+ if (!u(w.permissions[_]))
7895
7895
  return !1;
7896
7896
  }
7897
7897
  return !0;
7898
7898
  }
7899
7899
  function u(m) {
7900
- const p = st(r);
7901
- if (p.userPermissions != null)
7902
- for (var E = 0; E < p.userPermissions.length; E++) {
7903
- var _ = p.userPermissions[E].split(".");
7904
- if (m == _[0] || m == "everything" || p.userPermissions[E] == "everything.view" || p.userPermissions[E] == "everything.edit")
7900
+ const w = st(r);
7901
+ if (w.userPermissions != null)
7902
+ for (var E = 0; E < w.userPermissions.length; E++) {
7903
+ var _ = w.userPermissions[E].split(".");
7904
+ if (m == _[0] || m == "everything" || w.userPermissions[E] == "everything.view" || w.userPermissions[E] == "everything.edit")
7905
7905
  return !0;
7906
7906
  }
7907
7907
  return !1;
7908
7908
  }
7909
- function d(m, p, E) {
7909
+ function d(m, w, E) {
7910
7910
  let _ = !0;
7911
- return st(r).isGlobalAdmin ? !0 : (p != null && p.length > 0 && p.forEach((V) => {
7911
+ return st(r).isGlobalAdmin ? !0 : (w != null && w.length > 0 && w.forEach((V) => {
7912
7912
  E == "edit" ? i(V) || (_ = !1) : u(V) || (_ = !1);
7913
7913
  }), m != null && m.length > 0 && (m.some((V) => c(V)) || (_ = !1)), _);
7914
7914
  }
7915
- function v(m, p = !1) {
7915
+ function v(m, w = !1) {
7916
7916
  var E = e.getAuthItem != null ? e.getAuthItem(m) : null;
7917
7917
  let _ = !1;
7918
7918
  if (E == null)
7919
7919
  return !1;
7920
7920
  let P = E.subscriptions ?? [], V = E.permissions ?? [], z = d(P, V, "view");
7921
- return z || !p || !sn(E.children) ? z : ((E == null ? void 0 : E.children) != null && E.children.forEach((G) => {
7921
+ return z || !w || !sn(E.children) ? z : ((E == null ? void 0 : E.children) != null && E.children.forEach((G) => {
7922
7922
  v(G, !0) && (_ = !0);
7923
7923
  }), _);
7924
7924
  }
7925
7925
  function f(m) {
7926
- return e.getAuthorizeUrl ?? (e.getAuthorizeUrl = (p, E) => {
7926
+ return e.getAuthorizeUrl ?? (e.getAuthorizeUrl = (w, E) => {
7927
7927
  const _ = Ea(Yc(), `authorize?response_type=code&client_id=${e.oauthClientID}&redirect_uri=${window.location.origin}/authentication&state=${E}`);
7928
- return p ? `${_}&redirect_path=${p}` : _;
7928
+ return w ? `${_}&redirect_path=${w}` : _;
7929
7929
  }), e.getAuthorizeUrl != null ? e.getAuthorizeUrl(m, n.value) ?? "" : "";
7930
7930
  }
7931
7931
  function h(m) {
@@ -7933,12 +7933,12 @@ function L0(e) {
7933
7933
  return m == null ? 0 : ((E = (e.subscriptionOptions ?? []).find((_) => _.code == m)) == null ? void 0 : E.value) ?? 0;
7934
7934
  }
7935
7935
  function c(m) {
7936
- const p = st(r);
7937
- if (p.subscriptionCode == null)
7936
+ const w = st(r);
7937
+ if (w.subscriptionCode == null)
7938
7938
  return !1;
7939
- if (p.subscriptionCode == m)
7939
+ if (w.subscriptionCode == m)
7940
7940
  return !0;
7941
- const E = h(m), _ = h(p.subscriptionCode);
7941
+ const E = h(m), _ = h(w.subscriptionCode);
7942
7942
  return E <= _;
7943
7943
  }
7944
7944
  function o(m) {
@@ -7949,16 +7949,16 @@ function L0(e) {
7949
7949
  );
7950
7950
  return JSON.parse(_);
7951
7951
  }
7952
- function y(m, p) {
7953
- r.value = void 0, T(), m != null && p != null && p.currentRoute.value.path != m && p.push({ path: m });
7952
+ function y(m, w) {
7953
+ r.value = void 0, T(), m != null && w != null && w.currentRoute.value.path != m && w.push({ path: m });
7954
7954
  }
7955
7955
  function g(m) {
7956
7956
  var E;
7957
7957
  st(r).isLoggedIn || ((E = e.demo) == null || E.endDemo(), b() && (y(), window.location.href = f(m)));
7958
7958
  }
7959
- async function w(m, p) {
7959
+ async function p(m, w) {
7960
7960
  return e.getToken ?? (e.getToken = async () => {
7961
- let E = m, _ = p, P = e.oauthGrantType ?? "authorization_token", V = e.oauthClientID ?? "";
7961
+ let E = m, _ = w, P = e.oauthGrantType ?? "authorization_token", V = e.oauthClientID ?? "";
7962
7962
  if (E == null || _ == null)
7963
7963
  throw new Error("Code and State required in OAuth token process");
7964
7964
  if (_ != n.value)
@@ -7972,18 +7972,18 @@ function L0(e) {
7972
7972
  data: G
7973
7973
  });
7974
7974
  x(N.access_token);
7975
- }), await e.getToken(m, p);
7975
+ }), await e.getToken(m, w);
7976
7976
  }
7977
7977
  function x(m) {
7978
7978
  if (m != null && (e.demo == null || !e.demo.isDemoing.value)) {
7979
- const p = o(m);
7980
- C(p, m), e.processTokenPayload != null && e.processTokenPayload(r, p);
7979
+ const w = o(m);
7980
+ C(w, m), e.processTokenPayload != null && e.processTokenPayload(r, w);
7981
7981
  }
7982
7982
  }
7983
- function C(m, p) {
7983
+ function C(m, w) {
7984
7984
  var _;
7985
7985
  const E = r.value;
7986
- E.expiresOn = m.ExpiresOn, E.isGlobalAdmin = m.IsGlobalAdmin == "True", E.isLoggedIn = !0, E.permissions = m.Permissions, E.subscriptionCode = m.Subscription, E.timeZone ?? (E.timeZone = e.defaultTimeZone ?? Bs), E.token = p, E.userID = m.UserLoginID, E.userPermissions = m.Permissions != null && m.Permissions.length > 0 ? ((_ = m.Permissions) == null ? void 0 : _.split(",")) ?? [] : [];
7986
+ E.expiresOn = m.ExpiresOn, E.isGlobalAdmin = m.IsGlobalAdmin == "True", E.isLoggedIn = !0, E.permissions = m.Permissions, E.subscriptionCode = m.Subscription, E.timeZone ?? (E.timeZone = e.defaultTimeZone ?? Bs), E.token = w, E.userID = m.UserLoginID, E.userPermissions = m.Permissions != null && m.Permissions.length > 0 ? ((_ = m.Permissions) == null ? void 0 : _.split(",")) ?? [] : [];
7987
7987
  }
7988
7988
  function T() {
7989
7989
  var m;
@@ -7997,8 +7997,8 @@ function L0(e) {
7997
7997
  const m = st(r);
7998
7998
  if (m == null || m.expiresOn == null)
7999
7999
  return !0;
8000
- const p = He.fromFormat(m.expiresOn, t), E = He.utc();
8001
- return p <= E;
8000
+ const w = He.fromFormat(m.expiresOn, t), E = He.utc();
8001
+ return w <= E;
8002
8002
  }
8003
8003
  return T(), So = {
8004
8004
  authState: n,
@@ -8010,7 +8010,7 @@ function L0(e) {
8010
8010
  doShow: d,
8011
8011
  doShowByNav: v,
8012
8012
  getAuthorizeUrl: f,
8013
- getToken: w,
8013
+ getToken: p,
8014
8014
  isLoggedIn: k(() => r.value.isLoggedIn === !0),
8015
8015
  login: g,
8016
8016
  logout: y,
@@ -8035,8 +8035,8 @@ function $0(e, t, n = {}) {
8035
8035
  const M = st(e);
8036
8036
  if (!M)
8037
8037
  return;
8038
- const b = M.$el, p = T.type === "touchstart" && T.touches.length > 0 ? T.touches[0] : T;
8039
- d = { x: p.clientX, y: p.clientY }, u = {
8038
+ const b = M.$el, w = T.type === "touchstart" && T.touches.length > 0 ? T.touches[0] : T;
8039
+ d = { x: w.clientX, y: w.clientY }, u = {
8040
8040
  x: b.offsetLeft,
8041
8041
  y: b.offsetTop
8042
8042
  }, s = {
@@ -8049,8 +8049,8 @@ function $0(e, t, n = {}) {
8049
8049
  if (!d || !st(e))
8050
8050
  return;
8051
8051
  const m = T.type === "touchmove" && T.touches.length > 0 ? T.touches[0] : T;
8052
- let p = m.clientX - d.x, E = m.clientY - d.y;
8053
- (l === "x" || l === "both") && (s.x = u.x + p), (l === "y" || l === "both") && (s.y = u.y + E), (_ = n.onMove) == null || _.call(n, s, T), c(T), w(s);
8052
+ let w = m.clientX - d.x, E = m.clientY - d.y;
8053
+ (l === "x" || l === "both") && (s.x = u.x + w), (l === "y" || l === "both") && (s.y = u.y + E), (_ = n.onMove) == null || _.call(n, s, T), c(T), p(s);
8054
8054
  }
8055
8055
  function g(T) {
8056
8056
  var M;
@@ -8058,7 +8058,7 @@ function $0(e, t, n = {}) {
8058
8058
  b();
8059
8059
  }), f.length = 0, (M = n.onEnd) == null || M.call(n, s, T), c(T);
8060
8060
  }
8061
- function w(T) {
8061
+ function p(T) {
8062
8062
  const M = st(e);
8063
8063
  if (!M)
8064
8064
  return;
@@ -8094,17 +8094,17 @@ function $0(e, t, n = {}) {
8094
8094
  const N0 = ["t", "r", "b", "l", "tr", "br", "bl", "tl"];
8095
8095
  function B0(e, t = {}) {
8096
8096
  let n, a = t.handleWidth ?? 12, r = t.handleZIndex ?? 100, l = t.minWidth ?? 0, i = t.maxWidth ?? Number.MAX_SAFE_INTEGER, s = t.minHeight ?? 0, u = t.maxHeight ?? Number.MAX_SAFE_INTEGER, d = t.preventDefault ?? !1, v = t.stopPropagation ?? !1, f, h = [];
8097
- const c = W(!1), o = W(!1), y = W(!1), g = W(!1), w = W(!1);
8097
+ const c = W(!1), o = W(!1), y = W(!1), g = W(!1), p = W(!1);
8098
8098
  let x = [], C = [];
8099
8099
  const T = W(!1), M = W({ x: 0, y: 0 });
8100
8100
  let b = {
8101
8101
  position: "absolute"
8102
8102
  }, m = {};
8103
- function p(F) {
8103
+ function w(F) {
8104
8104
  ra(d) && F.preventDefault(), ra(v) && F.stopPropagation();
8105
8105
  }
8106
8106
  function E(F, B) {
8107
- h = B.map(P), h.forEach((L) => F.$el.appendChild(L)), o.value = B.some((L) => L.includes("l")), y.value = B.some((L) => L.includes("r")), g.value = B.some((L) => L.includes("t")), w.value = B.some((L) => L.includes("b"));
8107
+ h = B.map(P), h.forEach((L) => F.$el.appendChild(L)), o.value = B.some((L) => L.includes("l")), y.value = B.some((L) => L.includes("r")), g.value = B.some((L) => L.includes("t")), p.value = B.some((L) => L.includes("b"));
8108
8108
  }
8109
8109
  function _(F) {
8110
8110
  h.forEach((B) => F.$el.removeChild(B));
@@ -8124,12 +8124,12 @@ function B0(e, t = {}) {
8124
8124
  if (M.value.x = I.clientX, M.value.y = I.clientY, b = {
8125
8125
  left: o.value ? L.offsetLeft : void 0,
8126
8126
  top: g.value ? L.offsetTop : void 0,
8127
- height: w.value ? parseInt(window.getComputedStyle(L).getPropertyValue("height")) : void 0,
8127
+ height: p.value ? parseInt(window.getComputedStyle(L).getPropertyValue("height")) : void 0,
8128
8128
  width: y.value ? parseInt(window.getComputedStyle(L).getPropertyValue("width")) : void 0
8129
8129
  }, m = ou(b), ((te = t.onStart) == null ? void 0 : te.call(t, M.value, F)) === !1)
8130
8130
  return;
8131
8131
  let U = F.target;
8132
- document.documentElement.style.cursor = R(U.dataset.handle), f = U.dataset.handle, C.push(yn("mousemove", z)), C.push(yn("mouseup", G)), C.push(yn("touchmove", z)), C.push(yn("touchend", G)), p(F);
8132
+ document.documentElement.style.cursor = R(U.dataset.handle), f = U.dataset.handle, C.push(yn("mousemove", z)), C.push(yn("mouseup", G)), C.push(yn("touchmove", z)), C.push(yn("touchend", G)), w(F);
8133
8133
  }
8134
8134
  function z(F) {
8135
8135
  const B = ra(e);
@@ -8154,7 +8154,7 @@ function B0(e, t = {}) {
8154
8154
  const Pe = Math.min(i, Math.max(l, (be.width ?? 0) + U));
8155
8155
  m.width = Pe;
8156
8156
  }
8157
- L.dispatchEvent(new CustomEvent("resize")), p(F), K(m);
8157
+ L.dispatchEvent(new CustomEvent("resize")), w(F), K(m);
8158
8158
  }
8159
8159
  function G() {
8160
8160
  document.documentElement.style.cursor = "", f = null, C.forEach((F) => {
@@ -8433,12 +8433,12 @@ function O0() {
8433
8433
  })) : i = Object.keys(n[0]).map((g) => ({ header: m0(g) ?? "", value: g })), i = i.filter((g) => g.header.length > 0);
8434
8434
  var s = [];
8435
8435
  for (let g = 0; g < n.length; g++) {
8436
- const w = n[g];
8436
+ const p = n[g];
8437
8437
  var u = {}, d = [];
8438
8438
  for (let x = 0; x < i.length; x++) {
8439
8439
  const C = i[x];
8440
8440
  var v = null;
8441
- typeof C.value == "function" ? v = C.value(w) : typeof C.value == "string" && (v = va(w, C.value)), C.itemText != null ? u[C.header] = va(v, C.itemText) : u[C.header] = v;
8441
+ typeof C.value == "function" ? v = C.value(p) : typeof C.value == "string" && (v = va(p, C.value)), C.itemText != null ? u[C.header] = va(v, C.itemText) : u[C.header] = v;
8442
8442
  }
8443
8443
  s.push(u), sn(d) && d.forEach((x) => {
8444
8444
  s.push(x);
@@ -8446,11 +8446,11 @@ function O0() {
8446
8446
  }
8447
8447
  var f = [];
8448
8448
  if (f.push(i.map((g) => g.header).toString()), s.forEach((g) => {
8449
- let w = [];
8449
+ let p = [];
8450
8450
  i.forEach(function(x) {
8451
8451
  var C = g[x.header];
8452
- w.push(C ?? "");
8453
- }), f.push(w.join(","));
8452
+ p.push(C ?? "");
8453
+ }), f.push(p.join(","));
8454
8454
  }), l == "array")
8455
8455
  return f;
8456
8456
  var h = f.join(`
@@ -8549,12 +8549,12 @@ function W0(e) {
8549
8549
  });
8550
8550
  }
8551
8551
  function s(f) {
8552
- var y, g, w;
8552
+ var y, g, p;
8553
8553
  if (n == null)
8554
8554
  throw new Error("no demo data available for this api");
8555
8555
  const h = f.id ?? ((y = f.data) == null ? void 0 : y.id), c = l(f);
8556
8556
  let o;
8557
- return c != null && (c.data ?? (c.data = []), c.getAction != null ? o = c.getAction(c.data, h) : h != null ? o = (g = c.data) == null ? void 0 : g.find((x) => x.id == h) : c.path != null && ((w = c.data) == null ? void 0 : w.length) == 1 && (o = c.data[0])), o == null ? Promise.resolve(void 0) : new Promise((x) => {
8557
+ return c != null && (c.data ?? (c.data = []), c.getAction != null ? o = c.getAction(c.data, h) : h != null ? o = (g = c.data) == null ? void 0 : g.find((x) => x.id == h) : c.path != null && ((p = c.data) == null ? void 0 : p.length) == 1 && (o = c.data[0])), o == null ? Promise.resolve(void 0) : new Promise((x) => {
8558
8558
  setTimeout(() => {
8559
8559
  x({
8560
8560
  data: o
@@ -8601,7 +8601,7 @@ function W0(e) {
8601
8601
  if (h.data ?? (h.data = []), h.patchAction != null)
8602
8602
  c = h.patchAction(h.data, f.data);
8603
8603
  else if (f.data.id != null) {
8604
- const g = (o = h.data) == null ? void 0 : o.findIndex((w) => w.id == f.data.id);
8604
+ const g = (o = h.data) == null ? void 0 : o.findIndex((p) => p.id == f.data.id);
8605
8605
  g != null && g > -1 && ((y = h.data) == null || y.splice(g, 1, f.data)), c = f.data;
8606
8606
  }
8607
8607
  }
@@ -9409,9 +9409,9 @@ function Eb() {
9409
9409
  return (u = n.value) == null ? void 0 : u[e._as ?? t];
9410
9410
  }), l = new Proxy(e, {
9411
9411
  get(u, d) {
9412
- var f, h, c, o, y, g, w;
9412
+ var f, h, c, o, y, g, p;
9413
9413
  const v = Reflect.get(u, d);
9414
- return d === "class" || d === "style" ? [(f = r.value) == null ? void 0 : f[d], v].filter((x) => x != null) : typeof d == "string" && !Ib(a.vnode, d) ? ((h = r.value) == null ? void 0 : h[d]) !== void 0 ? (c = r.value) == null ? void 0 : c[d] : ((y = (o = n.value) == null ? void 0 : o.global) == null ? void 0 : y[d]) !== void 0 ? (w = (g = n.value) == null ? void 0 : g.global) == null ? void 0 : w[d] : v : v;
9414
+ return d === "class" || d === "style" ? [(f = r.value) == null ? void 0 : f[d], v].filter((x) => x != null) : typeof d == "string" && !Ib(a.vnode, d) ? ((h = r.value) == null ? void 0 : h[d]) !== void 0 ? (c = r.value) == null ? void 0 : c[d] : ((y = (o = n.value) == null ? void 0 : o.global) == null ? void 0 : y[d]) !== void 0 ? (p = (g = n.value) == null ? void 0 : g.global) == null ? void 0 : p[d] : v : v;
9415
9415
  }
9416
9416
  }), i = Ve();
9417
9417
  An(() => {
@@ -10634,7 +10634,7 @@ function Ew(e, t) {
10634
10634
  u(), l.value = pd();
10635
10635
  }
10636
10636
  return An(() => {
10637
- const v = s.value < n.sm, f = s.value < n.md && !v, h = s.value < n.lg && !(f || v), c = s.value < n.xl && !(h || f || v), o = s.value < n.xxl && !(c || h || f || v), y = s.value >= n.xxl, g = v ? "xs" : f ? "sm" : h ? "md" : c ? "lg" : o ? "xl" : "xxl", w = typeof a == "number" ? a : n[a], x = s.value < w;
10637
+ const v = s.value < n.sm, f = s.value < n.md && !v, h = s.value < n.lg && !(f || v), c = s.value < n.xl && !(h || f || v), o = s.value < n.xxl && !(c || h || f || v), y = s.value >= n.xxl, g = v ? "xs" : f ? "sm" : h ? "md" : c ? "lg" : o ? "xl" : "xxl", p = typeof a == "number" ? a : n[a], x = s.value < p;
10638
10638
  i.xs = v, i.sm = f, i.md = h, i.lg = c, i.xl = o, i.xxl = y, i.smAndUp = !v, i.mdAndUp = !(v || f), i.lgAndUp = !(v || f || h), i.xlAndUp = !(v || f || h || c), i.smAndDown = !(h || c || o || y), i.mdAndDown = !(c || o || y), i.lgAndDown = !(o || y), i.xlAndDown = !y, i.name = g, i.height = r.value, i.width = s.value, i.mobile = x, i.mobileBreakpoint = a, i.platform = l.value, i.thresholds = n;
10639
10639
  }), kt && window.addEventListener("resize", u, {
10640
10640
  passive: !0
@@ -10734,10 +10734,10 @@ async function Sd(e, t, n, a) {
10734
10734
  return Promise.resolve(v);
10735
10735
  const h = performance.now();
10736
10736
  return new Promise((c) => requestAnimationFrame(function o(y) {
10737
- const w = (y - h) / l.duration, x = Math.floor(f + (v - f) * d(ma(w, 0, 1)));
10738
- if (u[r] = x, w >= 1 && Math.abs(x - u[r]) < 10)
10737
+ const p = (y - h) / l.duration, x = Math.floor(f + (v - f) * d(ma(p, 0, 1)));
10738
+ if (u[r] = x, p >= 1 && Math.abs(x - u[r]) < 10)
10739
10739
  return c(v);
10740
- if (w > 2)
10740
+ if (p > 2)
10741
10741
  return Da("Scroll target is not reachable"), c(u[r]);
10742
10742
  requestAnimationFrame(o);
10743
10743
  }));
@@ -11065,9 +11065,9 @@ function zw(e) {
11065
11065
  const y = c.colors[o];
11066
11066
  if (y)
11067
11067
  for (const g of ["lighten", "darken"]) {
11068
- const w = g === "lighten" ? Mb : Ab;
11068
+ const p = g === "lighten" ? Mb : Ab;
11069
11069
  for (const x of Br(t.variations[g], 1))
11070
- c.colors[`${o}-${g}-${x}`] = Cb(w(ca(y), x));
11070
+ c.colors[`${o}-${g}-${x}`] = Cb(p(ca(y), x));
11071
11071
  }
11072
11072
  }
11073
11073
  for (const o of Object.keys(c.colors)) {
@@ -11264,8 +11264,8 @@ function Gw() {
11264
11264
  mount: g
11265
11265
  } = y;
11266
11266
  y.mount = function() {
11267
- const w = g(...arguments);
11268
- return vt(() => u.update()), y.mount = g, w;
11267
+ const p = g(...arguments);
11268
+ return vt(() => u.update()), y.mount = g, p;
11269
11269
  };
11270
11270
  }
11271
11271
  En.reset(), y.mixin({
@@ -11558,7 +11558,7 @@ function Td(e) {
11558
11558
  return t && [...t];
11559
11559
  }
11560
11560
  function Md(e, t) {
11561
- const n = Lv(e), a = mu(t), [r, l] = getComputedStyle(t).transformOrigin.split(" ").map((w) => parseFloat(w)), [i, s] = getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");
11561
+ const n = Lv(e), a = mu(t), [r, l] = getComputedStyle(t).transformOrigin.split(" ").map((p) => parseFloat(p)), [i, s] = getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");
11562
11562
  let u = n.left + n.width / 2;
11563
11563
  i === "left" || s === "left" ? u -= n.width / 2 : (i === "right" || s === "right") && (u += n.width / 2);
11564
11564
  let d = n.top + n.height / 2;
@@ -11882,7 +11882,7 @@ const ap = {
11882
11882
  var G;
11883
11883
  if (!s.isUnmounted)
11884
11884
  if ((G = d.value) != null && G.complete) {
11885
- if (d.value.naturalWidth || w(), v.value === "error")
11885
+ if (d.value.naturalWidth || p(), v.value === "error")
11886
11886
  return;
11887
11887
  o.value || T(d.value, null), v.value === "loading" && g();
11888
11888
  } else
@@ -11895,7 +11895,7 @@ const ap = {
11895
11895
  var V;
11896
11896
  s.isUnmounted || (x(), T(d.value), v.value = "loaded", n("load", ((V = d.value) == null ? void 0 : V.currentSrc) || c.value.src));
11897
11897
  }
11898
- function w() {
11898
+ function p() {
11899
11899
  var V;
11900
11900
  s.isUnmounted || (v.value = "error", n("error", ((V = d.value) == null ? void 0 : V.currentSrc) || c.value.src));
11901
11901
  }
@@ -11941,7 +11941,7 @@ const ap = {
11941
11941
  sizes: e.sizes,
11942
11942
  ref: d,
11943
11943
  onLoad: g,
11944
- onError: w
11944
+ onError: p
11945
11945
  }, null), z = (G = a.sources) == null ? void 0 : G.call(a);
11946
11946
  return S(Ua, {
11947
11947
  transition: e.transition,
@@ -11965,7 +11965,7 @@ const ap = {
11965
11965
  referrerpolicy: e.referrerpolicy,
11966
11966
  draggable: e.draggable
11967
11967
  }, null)]
11968
- }), p = () => a.placeholder ? S(Ua, {
11968
+ }), w = () => a.placeholder ? S(Ua, {
11969
11969
  transition: e.transition,
11970
11970
  appear: !0
11971
11971
  }, {
@@ -12008,7 +12008,7 @@ const ap = {
12008
12008
  "aria-label": e.alt,
12009
12009
  role: e.alt ? "img" : void 0
12010
12010
  }), {
12011
- additional: () => S(xe, null, [S(b, null, null), S(m, null, null), S(_, null, null), S(p, null, null), S(E, null, null)]),
12011
+ additional: () => S(xe, null, [S(b, null, null), S(m, null, null), S(_, null, null), S(w, null, null), S(E, null, null)]),
12012
12012
  default: a.default
12013
12013
  }), [[tr("intersect"), {
12014
12014
  handler: y,
@@ -12117,8 +12117,8 @@ const lp = [null, "prominent", "default", "comfortable", "compact"], ip = ke({
12117
12117
  variant: "text"
12118
12118
  }
12119
12119
  }), qe(() => {
12120
- var w;
12121
- const o = !!(e.title || n.title), y = !!(n.image || e.image), g = (w = n.extension) == null ? void 0 : w.call(n);
12120
+ var p;
12121
+ const o = !!(e.title || n.title), y = !!(n.image || e.image), g = (p = n.extension) == null ? void 0 : p.call(n);
12122
12122
  return v.value = !!(e.extended || g), S(e.tag, {
12123
12123
  class: ["v-toolbar", {
12124
12124
  "v-toolbar--absolute": e.absolute,
@@ -12370,8 +12370,8 @@ function xu(e, t) {
12370
12370
  return e.multiple ? c : c[0];
12371
12371
  }), l = Kt("useGroup");
12372
12372
  function i(h, c) {
12373
- const o = h, y = Symbol.for(`${t.description}:id`), w = kl(y, l == null ? void 0 : l.vnode).indexOf(c);
12374
- A(o.value) == null && (o.value = w, o.useIndexAsValue = !0), w > -1 ? a.splice(w, 0, o) : a.push(o);
12373
+ const o = h, y = Symbol.for(`${t.description}:id`), p = kl(y, l == null ? void 0 : l.vnode).indexOf(c);
12374
+ A(o.value) == null && (o.value = p, o.useIndexAsValue = !0), p > -1 ? a.splice(p, 0, o) : a.push(o);
12375
12375
  }
12376
12376
  function s(h) {
12377
12377
  if (n)
@@ -12396,8 +12396,8 @@ function xu(e, t) {
12396
12396
  const o = a.find((y) => y.id === h);
12397
12397
  if (!(c && (o != null && o.disabled)))
12398
12398
  if (e.multiple) {
12399
- const y = r.value.slice(), g = y.findIndex((x) => x === h), w = ~g;
12400
- if (c = c ?? !w, w && e.mandatory && y.length <= 1 || !w && e.max != null && y.length + 1 > e.max)
12399
+ const y = r.value.slice(), g = y.findIndex((x) => x === h), p = ~g;
12400
+ if (c = c ?? !p, p && e.mandatory && y.length <= 1 || !p && e.max != null && y.length + 1 > e.max)
12401
12401
  return;
12402
12402
  g < 0 && c ? y.push(h) : g >= 0 && !c && y.splice(g, 1), r.value = y;
12403
12403
  } else {
@@ -12409,7 +12409,7 @@ function xu(e, t) {
12409
12409
  }
12410
12410
  function v(h) {
12411
12411
  if (e.multiple && Da('This method is not supported when using "multiple" prop'), r.value.length) {
12412
- const c = r.value[0], o = a.findIndex((w) => w.id === c);
12412
+ const c = r.value[0], o = a.findIndex((p) => p.id === c);
12413
12413
  let y = (o + h) % a.length, g = a[y];
12414
12414
  for (; g.disabled && y !== o; )
12415
12415
  y = (y + h) % a.length, g = a[y];
@@ -12643,7 +12643,7 @@ const mp = ke({
12643
12643
  } = vm(), {
12644
12644
  resizeRef: y,
12645
12645
  contentRect: g
12646
- } = qr(), w = k(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), x = k(() => Number(e.width)), C = k(() => u.value ? Number(e.size) : g.value ? g.value.width : Math.max(x.value, 32)), T = k(() => a / (1 - x.value / C.value) * 2), M = k(() => x.value / C.value * T.value), b = k(() => Ge((100 - w.value) / 100 * r));
12646
+ } = qr(), p = k(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), x = k(() => Number(e.width)), C = k(() => u.value ? Number(e.size) : g.value ? g.value.width : Math.max(x.value, 32)), T = k(() => a / (1 - x.value / C.value) * 2), M = k(() => x.value / C.value * T.value), b = k(() => Ge((100 - p.value) / 100 * r));
12647
12647
  return An(() => {
12648
12648
  c.value = l.value, y.value = l.value;
12649
12649
  }), qe(() => S(e.tag, {
@@ -12657,7 +12657,7 @@ const mp = ke({
12657
12657
  role: "progressbar",
12658
12658
  "aria-valuemin": "0",
12659
12659
  "aria-valuemax": "100",
12660
- "aria-valuenow": e.indeterminate ? void 0 : w.value
12660
+ "aria-valuenow": e.indeterminate ? void 0 : p.value
12661
12661
  }, {
12662
12662
  default: () => [S("svg", {
12663
12663
  style: {
@@ -12687,7 +12687,7 @@ const mp = ke({
12687
12687
  }, null)]), n.default && S("div", {
12688
12688
  class: "v-progress-circular__content"
12689
12689
  }, [n.default({
12690
- value: w.value
12690
+ value: p.value
12691
12691
  })])]
12692
12692
  })), {};
12693
12693
  }
@@ -12805,21 +12805,21 @@ const hp = ke({
12805
12805
  } = jn(e, "color"), {
12806
12806
  roundedClasses: g
12807
12807
  } = Pn(e), {
12808
- intersectionRef: w,
12808
+ intersectionRef: p,
12809
12809
  isIntersecting: x
12810
- } = vm(), C = k(() => parseFloat(e.max)), T = k(() => parseFloat(e.height)), M = k(() => ma(parseFloat(e.bufferValue) / C.value * 100, 0, 100)), b = k(() => ma(parseFloat(a.value) / C.value * 100, 0, 100)), m = k(() => r.value !== e.reverse), p = k(() => e.indeterminate ? "fade-transition" : "slide-x-transition");
12810
+ } = vm(), C = k(() => parseFloat(e.max)), T = k(() => parseFloat(e.height)), M = k(() => ma(parseFloat(e.bufferValue) / C.value * 100, 0, 100)), b = k(() => ma(parseFloat(a.value) / C.value * 100, 0, 100)), m = k(() => r.value !== e.reverse), w = k(() => e.indeterminate ? "fade-transition" : "slide-x-transition");
12811
12811
  function E(_) {
12812
- if (!w.value)
12812
+ if (!p.value)
12813
12813
  return;
12814
12814
  const {
12815
12815
  left: P,
12816
12816
  right: V,
12817
12817
  width: z
12818
- } = w.value.getBoundingClientRect(), G = m.value ? z - _.clientX + (V - z) : _.clientX - P;
12818
+ } = p.value.getBoundingClientRect(), G = m.value ? z - _.clientX + (V - z) : _.clientX - P;
12819
12819
  a.value = Math.round(G / z * C.value);
12820
12820
  }
12821
12821
  return qe(() => S(e.tag, {
12822
- ref: w,
12822
+ ref: p,
12823
12823
  class: ["v-progress-linear", {
12824
12824
  "v-progress-linear--absolute": e.absolute,
12825
12825
  "v-progress-linear--active": e.active && x.value,
@@ -12867,7 +12867,7 @@ const hp = ke({
12867
12867
  width: Ge(M.value, "%")
12868
12868
  }]
12869
12869
  }, null), S(pn, {
12870
- name: p.value
12870
+ name: w.value
12871
12871
  }, {
12872
12872
  default: () => [e.indeterminate ? S("div", {
12873
12873
  class: "v-progress-linear__indeterminate"
@@ -13249,7 +13249,7 @@ const Xl = {
13249
13249
  } = Pn(e), {
13250
13250
  sizeClasses: c,
13251
13251
  sizeStyles: o
13252
- } = Jl(e), y = cm(e, e.symbol, !1), g = hs(e, n), w = k(() => {
13252
+ } = Jl(e), y = cm(e, e.symbol, !1), g = hs(e, n), p = k(() => {
13253
13253
  var _;
13254
13254
  return e.active !== void 0 ? e.active : g.isLink.value ? (_ = g.isActive) == null ? void 0 : _.value : y == null ? void 0 : y.isSelected.value;
13255
13255
  }), x = k(() => {
@@ -13262,7 +13262,7 @@ const Xl = {
13262
13262
  colorClasses: C,
13263
13263
  colorStyles: T,
13264
13264
  variantClasses: M
13265
- } = ul(x), b = k(() => (y == null ? void 0 : y.disabled.value) || e.disabled), m = k(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), p = k(() => {
13265
+ } = ul(x), b = k(() => (y == null ? void 0 : y.disabled.value) || e.disabled), m = k(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), w = k(() => {
13266
13266
  if (!(e.value === void 0 || typeof e.value == "symbol"))
13267
13267
  return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value;
13268
13268
  });
@@ -13275,7 +13275,7 @@ const Xl = {
13275
13275
  return tn(S(_, {
13276
13276
  type: _ === "a" ? void 0 : "button",
13277
13277
  class: ["v-btn", y == null ? void 0 : y.selectedClass.value, {
13278
- "v-btn--active": w.value,
13278
+ "v-btn--active": p.value,
13279
13279
  "v-btn--block": e.block,
13280
13280
  "v-btn--disabled": b.value,
13281
13281
  "v-btn--elevated": m.value,
@@ -13292,7 +13292,7 @@ const Xl = {
13292
13292
  href: g.href.value,
13293
13293
  tabindex: e.loading || e.readonly ? -1 : void 0,
13294
13294
  onClick: E,
13295
- value: p.value
13295
+ value: w.value
13296
13296
  }, {
13297
13297
  default: () => {
13298
13298
  var G;
@@ -13438,7 +13438,7 @@ const Xl = {
13438
13438
  } = Du(e), {
13439
13439
  roundedClasses: g
13440
13440
  } = Pn(e), {
13441
- textColorClasses: w,
13441
+ textColorClasses: p,
13442
13442
  textColorStyles: x
13443
13443
  } = Qn(Le(e, "borderColor")), {
13444
13444
  t: C
@@ -13461,10 +13461,10 @@ const Xl = {
13461
13461
  role: "alert"
13462
13462
  }, {
13463
13463
  default: () => {
13464
- var p, E;
13464
+ var w, E;
13465
13465
  return [ol(!1, "v-alert"), e.border && S("div", {
13466
13466
  key: "border",
13467
- class: ["v-alert__border", w.value],
13467
+ class: ["v-alert__border", p.value],
13468
13468
  style: x.value
13469
13469
  }, null), M && S("div", {
13470
13470
  key: "prepend",
@@ -13493,7 +13493,7 @@ const Xl = {
13493
13493
  var _;
13494
13494
  return [((_ = a.title) == null ? void 0 : _.call(a)) ?? e.title];
13495
13495
  }
13496
- }), ((p = a.text) == null ? void 0 : p.call(a)) ?? e.text, (E = a.default) == null ? void 0 : E.call(a)]), a.append && S("div", {
13496
+ }), ((w = a.text) == null ? void 0 : w.call(a)) ?? e.text, (E = a.default) == null ? void 0 : E.call(a)]), a.append && S("div", {
13497
13497
  key: "append",
13498
13498
  class: "v-alert__append"
13499
13499
  }, [a.append()]), m && S("div", {
@@ -13776,7 +13776,7 @@ const Ui = Fe()({
13776
13776
  backgroundColorClasses: v,
13777
13777
  backgroundColorStyles: f,
13778
13778
  trueValue: h
13779
- } = Lp(e), c = En(), o = Ve(!1), y = Ve(!1), g = W(), w = k(() => e.id || `input-${c}`), x = k(() => !e.disabled && !e.readonly);
13779
+ } = Lp(e), c = En(), o = Ve(!1), y = Ve(!1), g = W(), p = k(() => e.id || `input-${c}`), x = k(() => !e.disabled && !e.readonly);
13780
13780
  r == null || r.onForceUpdate(() => {
13781
13781
  g.value && (g.value.checked = s.value);
13782
13782
  });
@@ -13797,13 +13797,13 @@ const Ui = Fe()({
13797
13797
  const m = a.label ? a.label({
13798
13798
  label: e.label,
13799
13799
  props: {
13800
- for: w.value
13800
+ for: p.value
13801
13801
  }
13802
- }) : e.label, [p, E] = Gl(n), _ = S("input", ge({
13802
+ }) : e.label, [w, E] = Gl(n), _ = S("input", ge({
13803
13803
  ref: g,
13804
13804
  checked: s.value,
13805
13805
  disabled: !!e.disabled,
13806
- id: w.value,
13806
+ id: p.value,
13807
13807
  onBlur: T,
13808
13808
  onFocus: C,
13809
13809
  onInput: b,
@@ -13823,7 +13823,7 @@ const Ui = Fe()({
13823
13823
  "v-selection-control--focus-visible": y.value,
13824
13824
  "v-selection-control--inline": e.inline
13825
13825
  }, l.value, e.class]
13826
- }, p, {
13826
+ }, w, {
13827
13827
  style: e.style
13828
13828
  }), [S("div", {
13829
13829
  class: ["v-selection-control__wrapper", u.value],
@@ -13844,13 +13844,13 @@ const Ui = Fe()({
13844
13844
  props: {
13845
13845
  onFocus: C,
13846
13846
  onBlur: T,
13847
- id: w.value
13847
+ id: p.value
13848
13848
  }
13849
13849
  })) ?? S(xe, null, [i.value && S(ft, {
13850
13850
  key: "icon",
13851
13851
  icon: i.value
13852
13852
  }, null), _])]), [[tr("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), m && S(Cm, {
13853
- for: w.value,
13853
+ for: p.value,
13854
13854
  onClick: M
13855
13855
  }, {
13856
13856
  default: () => [m]
@@ -14139,19 +14139,19 @@ function Hp(e) {
14139
14139
  [`${t}--dirty`]: u.value,
14140
14140
  [`${t}--disabled`]: d.value,
14141
14141
  [`${t}--readonly`]: v.value
14142
- })), g = Kt("validation"), w = k(() => e.name ?? A(n));
14142
+ })), g = Kt("validation"), p = k(() => e.name ?? A(n));
14143
14143
  mf(() => {
14144
14144
  l == null || l.register({
14145
- id: w.value,
14145
+ id: p.value,
14146
14146
  vm: g,
14147
14147
  validate: T,
14148
14148
  reset: x,
14149
14149
  resetValidation: C
14150
14150
  });
14151
14151
  }), In(() => {
14152
- l == null || l.unregister(w.value);
14152
+ l == null || l.unregister(p.value);
14153
14153
  }), At(async () => {
14154
- h.value.lazy || await T(!0), l == null || l.update(w.value, c.value, f.value);
14154
+ h.value.lazy || await T(!0), l == null || l.update(p.value, c.value, f.value);
14155
14155
  }), Gn(() => h.value.input, () => {
14156
14156
  De(r, () => {
14157
14157
  if (r.value != null)
@@ -14167,7 +14167,7 @@ function Hp(e) {
14167
14167
  M || T();
14168
14168
  });
14169
14169
  }), De([c, f], () => {
14170
- l == null || l.update(w.value, c.value, f.value);
14170
+ l == null || l.update(p.value, c.value, f.value);
14171
14171
  });
14172
14172
  async function x() {
14173
14173
  a.value = null, await vt(), await C();
@@ -14264,20 +14264,20 @@ const ei = ke({
14264
14264
  isDirty: o,
14265
14265
  isDisabled: y,
14266
14266
  isReadonly: g,
14267
- isPristine: w,
14267
+ isPristine: p,
14268
14268
  isValid: x,
14269
14269
  isValidating: C,
14270
14270
  reset: T,
14271
14271
  resetValidation: M,
14272
14272
  validate: b,
14273
14273
  validationClasses: m
14274
- } = Hp(e, "v-input", f), p = k(() => ({
14274
+ } = Hp(e, "v-input", f), w = k(() => ({
14275
14275
  id: f,
14276
14276
  messagesId: h,
14277
14277
  isDirty: o,
14278
14278
  isDisabled: y,
14279
14279
  isReadonly: g,
14280
- isPristine: w,
14280
+ isPristine: p,
14281
14281
  isValid: x,
14282
14282
  isValidating: C,
14283
14283
  reset: T,
@@ -14285,7 +14285,7 @@ const ei = ke({
14285
14285
  validate: b
14286
14286
  })), E = k(() => {
14287
14287
  var _;
14288
- return (_ = e.errorMessages) != null && _.length || !w.value && c.value.length ? c.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages;
14288
+ return (_ = e.errorMessages) != null && _.length || !p.value && c.value.length ? c.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages;
14289
14289
  });
14290
14290
  return qe(() => {
14291
14291
  var G, R, N, K;
@@ -14299,18 +14299,18 @@ const ei = ke({
14299
14299
  }, [_ && S("div", {
14300
14300
  key: "prepend",
14301
14301
  class: "v-input__prepend"
14302
- }, [(G = a.prepend) == null ? void 0 : G.call(a, p.value), e.prependIcon && S(d, {
14302
+ }, [(G = a.prepend) == null ? void 0 : G.call(a, w.value), e.prependIcon && S(d, {
14303
14303
  key: "prepend-icon",
14304
14304
  name: "prepend"
14305
14305
  }, null)]), a.default && S("div", {
14306
14306
  class: "v-input__control"
14307
- }, [(R = a.default) == null ? void 0 : R.call(a, p.value)]), P && S("div", {
14307
+ }, [(R = a.default) == null ? void 0 : R.call(a, w.value)]), P && S("div", {
14308
14308
  key: "append",
14309
14309
  class: "v-input__append"
14310
14310
  }, [e.appendIcon && S(d, {
14311
14311
  key: "append-icon",
14312
14312
  name: "append"
14313
- }, null), (N = a.append) == null ? void 0 : N.call(a, p.value)]), z && S("div", {
14313
+ }, null), (N = a.append) == null ? void 0 : N.call(a, w.value)]), z && S("div", {
14314
14314
  class: "v-input__details"
14315
14315
  }, [S(Np, {
14316
14316
  id: h.value,
@@ -14318,7 +14318,7 @@ const ei = ke({
14318
14318
  messages: E.value
14319
14319
  }, {
14320
14320
  message: a.message
14321
- }), (K = a.details) == null ? void 0 : K.call(a, p.value)])]);
14321
+ }), (K = a.details) == null ? void 0 : K.call(a, w.value)])]);
14322
14322
  }), {
14323
14323
  reset: T,
14324
14324
  resetValidation: M,
@@ -14364,14 +14364,14 @@ const ei = ke({
14364
14364
  let {
14365
14365
  id: y,
14366
14366
  messagesId: g,
14367
- isDisabled: w,
14367
+ isDisabled: p,
14368
14368
  isReadonly: x,
14369
14369
  isValid: C
14370
14370
  } = o;
14371
14371
  return S(qi, ge(c, {
14372
14372
  id: y.value,
14373
14373
  "aria-describedby": g.value,
14374
- disabled: w.value,
14374
+ disabled: p.value,
14375
14375
  readonly: x.value
14376
14376
  }, f, {
14377
14377
  error: C.value === !1,
@@ -14481,7 +14481,7 @@ const qp = Symbol.for("vuetify:v-slide-group"), Vm = ke({
14481
14481
  } = qr(), {
14482
14482
  resizeRef: o,
14483
14483
  contentRect: y
14484
- } = qr(), g = Lw(), w = k(() => ({
14484
+ } = qr(), g = Lw(), p = k(() => ({
14485
14485
  container: h.el,
14486
14486
  duration: 200,
14487
14487
  easing: "easeOutQuart"
@@ -14528,7 +14528,7 @@ const qp = Symbol.for("vuetify:v-slide-group"), Vm = ke({
14528
14528
  } = h.el;
14529
14529
  F = I - U - F;
14530
14530
  }
14531
- f.value ? g.horizontal(F, w.value) : g(F, w.value);
14531
+ f.value ? g.horizontal(F, p.value) : g(F, p.value);
14532
14532
  }
14533
14533
  }
14534
14534
  function m(F) {
@@ -14538,7 +14538,7 @@ const qp = Symbol.for("vuetify:v-slide-group"), Vm = ke({
14538
14538
  } = F.target;
14539
14539
  u.value = f.value ? L : B;
14540
14540
  }
14541
- function p(F) {
14541
+ function w(F) {
14542
14542
  if (T.value = !0, !(!s.value || !o.el)) {
14543
14543
  for (const B of F.composedPath())
14544
14544
  for (const L of o.el.children)
@@ -14653,7 +14653,7 @@ const qp = Symbol.for("vuetify:v-slide-group"), Vm = ke({
14653
14653
  }, [S("div", {
14654
14654
  ref: o,
14655
14655
  class: "v-slide-group__content",
14656
- onFocusin: p,
14656
+ onFocusin: w,
14657
14657
  onFocusout: E,
14658
14658
  onKeydown: z
14659
14659
  }, [(B = n.default) == null ? void 0 : B.call(n, N.value)])]), K.value && S("div", {
@@ -14831,21 +14831,21 @@ const Zp = ke({
14831
14831
  sizeClasses: c
14832
14832
  } = Jl(e), {
14833
14833
  themeClasses: o
14834
- } = Jt(e), y = xt(e, "modelValue"), g = cm(e, Pm, !1), w = hs(e, n), x = k(() => e.link !== !1 && w.isLink.value), C = k(() => !e.disabled && e.link !== !1 && (!!g || e.link || w.isClickable.value)), T = k(() => ({
14834
+ } = Jt(e), y = xt(e, "modelValue"), g = cm(e, Pm, !1), p = hs(e, n), x = k(() => e.link !== !1 && p.isLink.value), C = k(() => !e.disabled && e.link !== !1 && (!!g || e.link || p.isClickable.value)), T = k(() => ({
14835
14835
  "aria-label": l(e.closeLabel),
14836
14836
  onClick(m) {
14837
14837
  m.preventDefault(), m.stopPropagation(), y.value = !1, a("click:close", m);
14838
14838
  }
14839
14839
  }));
14840
14840
  function M(m) {
14841
- var p;
14842
- a("click", m), C.value && ((p = w.navigate) == null || p.call(w, m), g == null || g.toggle());
14841
+ var w;
14842
+ a("click", m), C.value && ((w = p.navigate) == null || w.call(p, m), g == null || g.toggle());
14843
14843
  }
14844
14844
  function b(m) {
14845
14845
  (m.key === "Enter" || m.key === " ") && (m.preventDefault(), M(m));
14846
14846
  }
14847
14847
  return () => {
14848
- const m = w.isLink.value ? "a" : e.tag, p = !!(e.appendIcon || e.appendAvatar), E = !!(p || r.append), _ = !!(r.close || e.closable), P = !!(r.filter || e.filter) && g, V = !!(e.prependIcon || e.prependAvatar), z = !!(V || r.prepend), G = !g || g.isSelected.value;
14848
+ const m = p.isLink.value ? "a" : e.tag, w = !!(e.appendIcon || e.appendAvatar), E = !!(w || r.append), _ = !!(r.close || e.closable), P = !!(r.filter || e.filter) && g, V = !!(e.prependIcon || e.prependAvatar), z = !!(V || r.prepend), G = !g || g.isSelected.value;
14849
14849
  return y.value && tn(S(m, {
14850
14850
  class: ["v-chip", {
14851
14851
  "v-chip--disabled": e.disabled,
@@ -14857,7 +14857,7 @@ const Zp = ke({
14857
14857
  style: [G ? u.value : void 0, e.style],
14858
14858
  disabled: e.disabled || void 0,
14859
14859
  draggable: e.draggable,
14860
- href: w.href.value,
14860
+ href: p.href.value,
14861
14861
  tabindex: C.value ? 0 : void 0,
14862
14862
  onClick: M,
14863
14863
  onKeydown: C.value && !x.value && b
@@ -14920,7 +14920,7 @@ const Zp = ke({
14920
14920
  class: "v-chip__append"
14921
14921
  }, [r.append ? S(It, {
14922
14922
  key: "append-defaults",
14923
- disabled: !p,
14923
+ disabled: !w,
14924
14924
  defaults: {
14925
14925
  VAvatar: {
14926
14926
  end: !0,
@@ -15667,11 +15667,11 @@ const Eu = (e) => {
15667
15667
  root: c,
15668
15668
  parent: o,
15669
15669
  openOnSelect: y
15670
- } = Om(i, !1), g = Nm(), w = k(() => {
15670
+ } = Om(i, !1), g = Nm(), p = k(() => {
15671
15671
  var F;
15672
15672
  return e.active !== !1 && (e.active || ((F = l.isActive) == null ? void 0 : F.value) || (c.activatable.value ? u.value : v.value));
15673
15673
  }), x = k(() => e.link !== !1 && l.isLink.value), C = k(() => !e.disabled && e.link !== !1 && (e.link || l.isClickable.value || !!g && (c.selectable.value || c.activatable.value || e.value != null))), T = k(() => e.rounded || e.nav), M = k(() => e.color ?? e.activeColor), b = k(() => ({
15674
- color: w.value ? M.value ?? e.baseColor : e.baseColor,
15674
+ color: p.value ? M.value ?? e.baseColor : e.baseColor,
15675
15675
  variant: e.variant
15676
15676
  }));
15677
15677
  De(() => {
@@ -15685,7 +15685,7 @@ const Eu = (e) => {
15685
15685
  const {
15686
15686
  themeClasses: m
15687
15687
  } = Jt(e), {
15688
- borderClasses: p
15688
+ borderClasses: w
15689
15689
  } = ar(e), {
15690
15690
  colorClasses: E,
15691
15691
  colorStyles: _,
@@ -15699,7 +15699,7 @@ const Eu = (e) => {
15699
15699
  } = Na(e), {
15700
15700
  roundedClasses: R
15701
15701
  } = Pn(T), N = k(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), K = k(() => ({
15702
- isActive: w.value,
15702
+ isActive: p.value,
15703
15703
  select: d,
15704
15704
  isSelected: v.value,
15705
15705
  isIndeterminate: f.value
@@ -15715,14 +15715,14 @@ const Eu = (e) => {
15715
15715
  const F = x.value ? "a" : e.tag, B = a.title || e.title != null, L = a.subtitle || e.subtitle != null, D = !!(e.appendAvatar || e.appendIcon), I = !!(D || a.append), U = !!(e.prependAvatar || e.prependIcon), te = !!(U || a.prepend);
15716
15716
  return g == null || g.updateHasPrepend(te), e.activeColor && mb("active-color", ["color", "base-color"]), tn(S(F, {
15717
15717
  class: ["v-list-item", {
15718
- "v-list-item--active": w.value,
15718
+ "v-list-item--active": p.value,
15719
15719
  "v-list-item--disabled": e.disabled,
15720
15720
  "v-list-item--link": C.value,
15721
15721
  "v-list-item--nav": e.nav,
15722
15722
  "v-list-item--prepend": !te && (g == null ? void 0 : g.hasPrepend.value),
15723
15723
  "v-list-item--slim": e.slim,
15724
- [`${e.activeClass}`]: e.activeClass && w.value
15725
- }, m.value, p.value, E.value, V.value, G.value, N.value, R.value, P.value, e.class],
15724
+ [`${e.activeClass}`]: e.activeClass && p.value
15725
+ }, m.value, w.value, E.value, V.value, G.value, N.value, R.value, P.value, e.class],
15726
15726
  style: [_.value, z.value, e.style],
15727
15727
  href: l.href.value,
15728
15728
  tabindex: C.value ? g ? -2 : 0 : void 0,
@@ -15731,7 +15731,7 @@ const Eu = (e) => {
15731
15731
  }, {
15732
15732
  default: () => {
15733
15733
  var be;
15734
- return [ol(C.value || w.value, "v-list-item"), te && S("div", {
15734
+ return [ol(C.value || p.value, "v-list-item"), te && S("div", {
15735
15735
  key: "prepend",
15736
15736
  class: "v-list-item__prepend"
15737
15737
  }, [a.prepend ? S(It, {
@@ -16175,10 +16175,10 @@ const hS = ke({
16175
16175
  open: c,
16176
16176
  parents: o,
16177
16177
  select: y
16178
- } = aS(e), g = k(() => e.lines ? `v-list--${e.lines}-line` : void 0), w = Le(e, "activeColor"), x = Le(e, "baseColor"), C = Le(e, "color");
16178
+ } = aS(e), g = k(() => e.lines ? `v-list--${e.lines}-line` : void 0), p = Le(e, "activeColor"), x = Le(e, "baseColor"), C = Le(e, "color");
16179
16179
  $m(), ga({
16180
16180
  VListGroup: {
16181
- activeColor: w,
16181
+ activeColor: p,
16182
16182
  baseColor: x,
16183
16183
  color: C,
16184
16184
  expandIcon: Le(e, "expandIcon"),
@@ -16186,7 +16186,7 @@ const hS = ke({
16186
16186
  },
16187
16187
  VListItem: {
16188
16188
  activeClass: Le(e, "activeClass"),
16189
- activeColor: w,
16189
+ activeColor: p,
16190
16190
  baseColor: x,
16191
16191
  color: C,
16192
16192
  density: Le(e, "density"),
@@ -16204,7 +16204,7 @@ const hS = ke({
16204
16204
  function m(V) {
16205
16205
  T.value = !1;
16206
16206
  }
16207
- function p(V) {
16207
+ function w(V) {
16208
16208
  var z;
16209
16209
  !T.value && !(V.relatedTarget && ((z = M.value) != null && z.contains(V.relatedTarget))) && P();
16210
16210
  }
@@ -16244,7 +16244,7 @@ const hS = ke({
16244
16244
  "aria-activedescendant": void 0,
16245
16245
  onFocusin: b,
16246
16246
  onFocusout: m,
16247
- onFocus: p,
16247
+ onFocus: w,
16248
16248
  onKeydown: E,
16249
16249
  onMousedown: _
16250
16250
  }, {
@@ -16380,8 +16380,8 @@ function SS(e, t, n) {
16380
16380
  f && c();
16381
16381
  });
16382
16382
  De([e.target, e.contentEl], (o, y) => {
16383
- let [g, w] = o, [x, C] = y;
16384
- x && !Array.isArray(x) && h.unobserve(x), g && !Array.isArray(g) && h.observe(g), C && h.unobserve(C), w && h.observe(w);
16383
+ let [g, p] = o, [x, C] = y;
16384
+ x && !Array.isArray(x) && h.unobserve(x), g && !Array.isArray(g) && h.observe(g), C && h.unobserve(C), p && h.observe(p);
16385
16385
  }, {
16386
16386
  immediate: !0
16387
16387
  }), fn(() => {
@@ -16390,7 +16390,7 @@ function SS(e, t, n) {
16390
16390
  function c() {
16391
16391
  if (f = !1, requestAnimationFrame(() => f = !0), !e.target.value || !e.contentEl.value)
16392
16392
  return;
16393
- const o = Lv(e.target.value), y = pS(e.contentEl.value, e.isRtl.value), g = Oi(e.contentEl.value), w = 12;
16393
+ const o = Lv(e.target.value), y = pS(e.contentEl.value, e.isRtl.value), g = Oi(e.contentEl.value), p = 12;
16394
16394
  g.length || (g.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (y.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), y.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0)));
16395
16395
  const x = g.reduce((P, V) => {
16396
16396
  const z = V.getBoundingClientRect(), G = new gr({
@@ -16406,7 +16406,7 @@ function SS(e, t, n) {
16406
16406
  height: Math.min(P.bottom, G.bottom) - Math.max(P.top, G.top)
16407
16407
  }) : G;
16408
16408
  }, void 0);
16409
- x.x += w, x.y += w, x.width -= w * 2, x.height -= w * 2;
16409
+ x.x += p, x.y += p, x.width -= p * 2, x.height -= p * 2;
16410
16410
  let C = {
16411
16411
  anchor: r.value,
16412
16412
  origin: l.value
@@ -16455,7 +16455,7 @@ function SS(e, t, n) {
16455
16455
  const m = {
16456
16456
  x: 0,
16457
16457
  y: 0
16458
- }, p = {
16458
+ }, w = {
16459
16459
  x: !1,
16460
16460
  y: !1
16461
16461
  };
@@ -16475,7 +16475,7 @@ function SS(e, t, n) {
16475
16475
  const G = ed(C.anchor), R = z.x.before || z.x.after, N = z.y.before || z.y.after;
16476
16476
  let K = !1;
16477
16477
  if (["x", "y"].forEach((Z) => {
16478
- if (Z === "x" && R && !p.x || Z === "y" && N && !p.y) {
16478
+ if (Z === "x" && R && !w.x || Z === "y" && N && !w.y) {
16479
16479
  const Q = {
16480
16480
  anchor: {
16481
16481
  ...C.anchor
@@ -16488,7 +16488,7 @@ function SS(e, t, n) {
16488
16488
  const {
16489
16489
  overflows: B
16490
16490
  } = T(Q);
16491
- (B[Z].before <= z[Z].before && B[Z].after <= z[Z].after || B[Z].before + B[Z].after < (z[Z].before + z[Z].after) / 2) && (C = Q, K = p[Z] = !0);
16491
+ (B[Z].before <= z[Z].before && B[Z].after <= z[Z].after || B[Z].before + B[Z].after < (z[Z].before + z[Z].after) / 2) && (C = Q, K = w[Z] = !0);
16492
16492
  }
16493
16493
  }), K)
16494
16494
  continue;
@@ -16693,8 +16693,8 @@ function _S(e, t) {
16693
16693
  m.stopPropagation(), l.value = m.currentTarget || m.target, n.value || (c.value = [m.clientX, m.clientY]), n.value = !n.value;
16694
16694
  },
16695
16695
  onMouseenter: (m) => {
16696
- var p;
16697
- (p = m.sourceCapabilities) != null && p.firesTouchEvents || (i = !0, l.value = m.currentTarget || m.target, f());
16696
+ var w;
16697
+ (w = m.sourceCapabilities) != null && w.firesTouchEvents || (i = !0, l.value = m.currentTarget || m.target, f());
16698
16698
  },
16699
16699
  onMouseleave: (m) => {
16700
16700
  i = !1, h();
@@ -16719,13 +16719,13 @@ function _S(e, t) {
16719
16719
  }, m.onFocusout = () => {
16720
16720
  s = !1, h();
16721
16721
  }), e.closeOnContentClick) {
16722
- const p = Ne(Oo, null);
16722
+ const w = Ne(Oo, null);
16723
16723
  m.onClick = () => {
16724
- n.value = !1, p == null || p.closeParents();
16724
+ n.value = !1, w == null || w.closeParents();
16725
16725
  };
16726
16726
  }
16727
16727
  return m;
16728
- }), w = k(() => {
16728
+ }), p = k(() => {
16729
16729
  const m = {};
16730
16730
  return e.openOnHover && (m.onMouseenter = () => {
16731
16731
  u && (i = !0, u = !1, f());
@@ -16770,7 +16770,7 @@ function _S(e, t) {
16770
16770
  targetRef: C,
16771
16771
  activatorEvents: y,
16772
16772
  contentEvents: g,
16773
- scrimEvents: w
16773
+ scrimEvents: p
16774
16774
  };
16775
16775
  }
16776
16776
  function IS(e, t, n) {
@@ -17051,14 +17051,14 @@ const nh = ke({
17051
17051
  localTop: y,
17052
17052
  stackStyles: g
17053
17053
  } = LS(i, Le(e, "zIndex"), e._disableGlobalStack), {
17054
- activatorEl: w,
17054
+ activatorEl: p,
17055
17055
  activatorRef: x,
17056
17056
  target: C,
17057
17057
  targetEl: T,
17058
17058
  targetRef: M,
17059
17059
  activatorEvents: b,
17060
17060
  contentEvents: m,
17061
- scrimEvents: p
17061
+ scrimEvents: w
17062
17062
  } = _S(e, {
17063
17063
  isActive: i,
17064
17064
  isTop: y
@@ -17102,7 +17102,7 @@ const nh = ke({
17102
17102
  });
17103
17103
  function Q(U) {
17104
17104
  var te, be;
17105
- U.key === "Escape" && o.value && (e.persistent ? L() : (i.value = !1, (te = G.value) != null && te.contains(document.activeElement) && ((be = w.value) == null || be.focus())));
17105
+ U.key === "Escape" && o.value && (e.persistent ? L() : (i.value = !1, (te = G.value) != null && te.contains(document.activeElement) && ((be = p.value) == null || be.focus())));
17106
17106
  }
17107
17107
  const F = mm();
17108
17108
  Gn(() => e.closeOnBack, () => {
@@ -17162,7 +17162,7 @@ const nh = ke({
17162
17162
  color: c,
17163
17163
  modelValue: i.value && !!e.scrim,
17164
17164
  ref: z
17165
- }, p.value), null), S(Ua, {
17165
+ }, w.value), null), S(Ua, {
17166
17166
  appear: !0,
17167
17167
  persisted: !0,
17168
17168
  transition: e.transition,
@@ -17181,13 +17181,13 @@ const nh = ke({
17181
17181
  })]), [[fa, i.value], [tr("click-outside"), {
17182
17182
  handler: K,
17183
17183
  closeConditional: Z,
17184
- include: () => [w.value]
17184
+ include: () => [p.value]
17185
17185
  }]])];
17186
17186
  }
17187
17187
  })])]
17188
17188
  })]);
17189
17189
  }), {
17190
- activatorEl: w,
17190
+ activatorEl: p,
17191
17191
  scrimEl: z,
17192
17192
  target: C,
17193
17193
  animateClick: L,
@@ -17315,11 +17315,11 @@ const HS = ke({
17315
17315
  });
17316
17316
  async function v(y) {
17317
17317
  var x, C, T;
17318
- const g = y.relatedTarget, w = y.target;
17319
- await vt(), a.value && g !== w && ((x = s.value) != null && x.contentEl) && // We're the topmost menu
17318
+ const g = y.relatedTarget, p = y.target;
17319
+ await vt(), a.value && g !== p && ((x = s.value) != null && x.contentEl) && // We're the topmost menu
17320
17320
  ((C = s.value) != null && C.globalTop) && // It isn't the document or the menu body
17321
- ![document, s.value.contentEl].includes(w) && // It isn't inside the menu body
17322
- !s.value.contentEl.contains(w) && ((T = Ni(s.value.contentEl)[0]) == null || T.focus());
17321
+ ![document, s.value.contentEl].includes(p) && // It isn't inside the menu body
17322
+ !s.value.contentEl.contains(p) && ((T = Ni(s.value.contentEl)[0]) == null || T.focus());
17323
17323
  }
17324
17324
  De(a, (y) => {
17325
17325
  y ? (u == null || u.register(), document.addEventListener("focusin", v, {
@@ -17330,20 +17330,20 @@ const HS = ke({
17330
17330
  u == null || u.closeParents(y);
17331
17331
  }
17332
17332
  function h(y) {
17333
- var g, w, x;
17333
+ var g, p, x;
17334
17334
  if (!e.disabled)
17335
17335
  if (y.key === "Tab" || y.key === "Enter" && !e.closeOnContentClick) {
17336
17336
  if (y.key === "Enter" && y.target instanceof HTMLTextAreaElement)
17337
17337
  return;
17338
- y.key === "Enter" && y.preventDefault(), Vv(Ni((g = s.value) == null ? void 0 : g.contentEl, !1), y.shiftKey ? "prev" : "next", (T) => T.tabIndex >= 0) || (a.value = !1, (x = (w = s.value) == null ? void 0 : w.activatorEl) == null || x.focus());
17338
+ y.key === "Enter" && y.preventDefault(), Vv(Ni((g = s.value) == null ? void 0 : g.contentEl, !1), y.shiftKey ? "prev" : "next", (T) => T.tabIndex >= 0) || (a.value = !1, (x = (p = s.value) == null ? void 0 : p.activatorEl) == null || x.focus());
17339
17339
  } else
17340
17340
  ["Enter", " "].includes(y.key) && e.closeOnContentClick && (a.value = !1, u == null || u.closeParents());
17341
17341
  }
17342
17342
  function c(y) {
17343
- var w;
17343
+ var p;
17344
17344
  if (e.disabled)
17345
17345
  return;
17346
- const g = (w = s.value) == null ? void 0 : w.contentEl;
17346
+ const g = (p = s.value) == null ? void 0 : p.contentEl;
17347
17347
  g && a.value ? y.key === "ArrowDown" ? (y.preventDefault(), Bi(g, "next")) : y.key === "ArrowUp" && (y.preventDefault(), Bi(g, "prev")) : ["ArrowDown", "ArrowUp"].includes(y.key) && (a.value = !0, y.preventDefault(), setTimeout(() => setTimeout(() => c(y))));
17348
17348
  }
17349
17349
  const o = k(() => ge({
@@ -17369,14 +17369,14 @@ const HS = ke({
17369
17369
  }, r), {
17370
17370
  activator: n.activator,
17371
17371
  default: function() {
17372
- for (var g = arguments.length, w = new Array(g), x = 0; x < g; x++)
17373
- w[x] = arguments[x];
17372
+ for (var g = arguments.length, p = new Array(g), x = 0; x < g; x++)
17373
+ p[x] = arguments[x];
17374
17374
  return S(It, {
17375
17375
  root: "VMenu"
17376
17376
  }, {
17377
17377
  default: () => {
17378
17378
  var C;
17379
- return [(C = n.default) == null ? void 0 : C.call(n, ...w)];
17379
+ return [(C = n.default) == null ? void 0 : C.call(n, ...p)];
17380
17380
  }
17381
17381
  });
17382
17382
  }
@@ -17514,9 +17514,9 @@ const HS = ke({
17514
17514
  roundedClasses: h
17515
17515
  } = Pn(e), {
17516
17516
  rtlClasses: c
17517
- } = Sa(), o = k(() => e.dirty || e.active), y = k(() => !e.singleLine && !!(e.label || r.label)), g = En(), w = k(() => e.id || `input-${g}`), x = k(() => `${w.value}-messages`), C = W(), T = W(), M = W(), b = k(() => ["plain", "underlined"].includes(e.variant)), {
17517
+ } = Sa(), o = k(() => e.dirty || e.active), y = k(() => !e.singleLine && !!(e.label || r.label)), g = En(), p = k(() => e.id || `input-${g}`), x = k(() => `${p.value}-messages`), C = W(), T = W(), M = W(), b = k(() => ["plain", "underlined"].includes(e.variant)), {
17518
17518
  backgroundColorClasses: m,
17519
- backgroundColorStyles: p
17519
+ backgroundColorStyles: w
17520
17520
  } = jn(Le(e, "bgColor")), {
17521
17521
  textColorClasses: E,
17522
17522
  textColorStyles: _
@@ -17564,7 +17564,7 @@ const HS = ke({
17564
17564
  ...P.value,
17565
17565
  label: e.label,
17566
17566
  props: {
17567
- for: w.value
17567
+ for: p.value
17568
17568
  }
17569
17569
  }) : e.label;
17570
17570
  return S("div", ge({
@@ -17584,7 +17584,7 @@ const HS = ke({
17584
17584
  "v-field--no-label": !Z(),
17585
17585
  [`v-field--variant-${e.variant}`]: !0
17586
17586
  }, l.value, m.value, s.value, i.value, h.value, c.value, e.class],
17587
- style: [p.value, e.style],
17587
+ style: [w.value, e.style],
17588
17588
  onClick: V
17589
17589
  }, n), [S("div", {
17590
17590
  class: "v-field__overlay"
@@ -17608,19 +17608,19 @@ const HS = ke({
17608
17608
  ref: T,
17609
17609
  class: [E.value],
17610
17610
  floating: !0,
17611
- for: w.value,
17611
+ for: p.value,
17612
17612
  style: _.value
17613
17613
  }, {
17614
17614
  default: () => [Z()]
17615
17615
  }), S(Si, {
17616
17616
  ref: C,
17617
- for: w.value
17617
+ for: p.value
17618
17618
  }, {
17619
17619
  default: () => [Z()]
17620
17620
  }), (F = r.default) == null ? void 0 : F.call(r, {
17621
17621
  ...P.value,
17622
17622
  props: {
17623
- id: w.value,
17623
+ id: p.value,
17624
17624
  class: "v-field__input",
17625
17625
  "aria-describedby": x.value
17626
17626
  },
@@ -17672,7 +17672,7 @@ const HS = ke({
17672
17672
  }, [S(Si, {
17673
17673
  ref: T,
17674
17674
  floating: !0,
17675
- for: w.value
17675
+ for: p.value
17676
17676
  }, {
17677
17677
  default: () => [Z()]
17678
17678
  })]), S("div", {
@@ -17680,7 +17680,7 @@ const HS = ke({
17680
17680
  }, null)]), b.value && y.value && S(Si, {
17681
17681
  ref: T,
17682
17682
  floating: !0,
17683
- for: w.value
17683
+ for: p.value
17684
17684
  }, {
17685
17685
  default: () => [Z()]
17686
17686
  })])]);
@@ -17740,29 +17740,29 @@ const WS = ["color", "file", "time", "date", "datetime-local", "week", "month"],
17740
17740
  return e.counter;
17741
17741
  }), f = k(() => ["plain", "underlined"].includes(e.variant));
17742
17742
  function h(b, m) {
17743
- var p, E;
17744
- !e.autofocus || !b || (E = (p = m[0].target) == null ? void 0 : p.focus) == null || E.call(p);
17743
+ var w, E;
17744
+ !e.autofocus || !b || (E = (w = m[0].target) == null ? void 0 : w.focus) == null || E.call(w);
17745
17745
  }
17746
17746
  const c = W(), o = W(), y = W(), g = k(() => WS.includes(e.type) || e.persistentPlaceholder || i.value || e.active);
17747
- function w() {
17747
+ function p() {
17748
17748
  var b;
17749
17749
  y.value !== document.activeElement && ((b = y.value) == null || b.focus()), i.value || s();
17750
17750
  }
17751
17751
  function x(b) {
17752
- a("mousedown:control", b), b.target !== y.value && (w(), b.preventDefault());
17752
+ a("mousedown:control", b), b.target !== y.value && (p(), b.preventDefault());
17753
17753
  }
17754
17754
  function C(b) {
17755
- w(), a("click:control", b);
17755
+ p(), a("click:control", b);
17756
17756
  }
17757
17757
  function T(b) {
17758
- b.stopPropagation(), w(), vt(() => {
17758
+ b.stopPropagation(), p(), vt(() => {
17759
17759
  l.value = null, Ev(e["onClick:clear"], b);
17760
17760
  });
17761
17761
  }
17762
17762
  function M(b) {
17763
- var p;
17763
+ var w;
17764
17764
  const m = b.target;
17765
- if (l.value = m.value, (p = e.modelModifiers) != null && p.trim && ["text", "search", "password", "tel", "url"].includes(e.type)) {
17765
+ if (l.value = m.value, (w = e.modelModifiers) != null && w.trim && ["text", "search", "password", "tel", "url"].includes(e.type)) {
17766
17766
  const E = [m.selectionStart, m.selectionEnd];
17767
17767
  vt(() => {
17768
17768
  m.selectionStart = E[0], m.selectionEnd = E[1];
@@ -17770,7 +17770,7 @@ const WS = ["color", "file", "time", "date", "datetime-local", "week", "month"],
17770
17770
  }
17771
17771
  }
17772
17772
  return qe(() => {
17773
- const b = !!(r.counter || e.counter !== !1 && e.counter != null), m = !!(b || r.details), [p, E] = Gl(n), {
17773
+ const b = !!(r.counter || e.counter !== !1 && e.counter != null), m = !!(b || r.details), [w, E] = Gl(n), {
17774
17774
  modelValue: _,
17775
17775
  ...P
17776
17776
  } = Ka.filterProps(e), V = rh(e);
@@ -17784,7 +17784,7 @@ const WS = ["color", "file", "time", "date", "datetime-local", "week", "month"],
17784
17784
  "v-input--plain-underlined": f.value
17785
17785
  }, e.class],
17786
17786
  style: e.style
17787
- }, p, P, {
17787
+ }, w, P, {
17788
17788
  centerAffix: !f.value,
17789
17789
  focused: i.value
17790
17790
  }), {
@@ -17832,7 +17832,7 @@ const WS = ["color", "file", "time", "date", "datetime-local", "week", "month"],
17832
17832
  placeholder: e.placeholder,
17833
17833
  size: 1,
17834
17834
  type: e.type,
17835
- onFocus: w,
17835
+ onFocus: p,
17836
17836
  onBlur: u
17837
17837
  }, B, E), null), [[tr("intersect"), {
17838
17838
  handler: h
@@ -17940,7 +17940,7 @@ function KS(e, t) {
17940
17940
  }), g = Array.from({
17941
17941
  length: t.value.length
17942
17942
  });
17943
- const w = Ve(0);
17943
+ const p = Ve(0);
17944
17944
  let x = -1;
17945
17945
  function C(Q) {
17946
17946
  return y[Q] || a.value;
@@ -17951,8 +17951,8 @@ function KS(e, t) {
17951
17951
  const F = t.value.length;
17952
17952
  for (let B = 1; B <= F - 1; B++)
17953
17953
  g[B] = (g[B - 1] || 0) + C(B - 1);
17954
- w.value = Math.max(w.value, performance.now() - Q);
17955
- }, w), M = De(o, (Q) => {
17954
+ p.value = Math.max(p.value, performance.now() - Q);
17955
+ }, p), M = De(o, (Q) => {
17956
17956
  Q && (M(), v = d.value.offsetTop, T.immediate(), R(), ~x && vt(() => {
17957
17957
  kt && window.requestAnimationFrame(() => {
17958
17958
  K(x), x = -1;
@@ -17969,7 +17969,7 @@ function KS(e, t) {
17969
17969
  function m(Q) {
17970
17970
  return Q = ma(Q, 0, t.value.length - 1), g[Q] || 0;
17971
17971
  }
17972
- function p(Q) {
17972
+ function w(Q) {
17973
17973
  return JS(g, Q);
17974
17974
  }
17975
17975
  let E = 0, _ = 0, P = 0;
@@ -17994,7 +17994,7 @@ function KS(e, t) {
17994
17994
  function N() {
17995
17995
  if (!u.value || !c.value)
17996
17996
  return;
17997
- const Q = E - v, F = Math.sign(_), B = Math.max(0, Q - Js), L = ma(p(B), 0, t.value.length), D = Q + c.value + Js, I = ma(p(D) + 1, L + 1, t.value.length);
17997
+ const Q = E - v, F = Math.sign(_), B = Math.max(0, Q - Js), L = ma(w(B), 0, t.value.length), D = Q + c.value + Js, I = ma(w(D) + 1, L + 1, t.value.length);
17998
17998
  if (
17999
17999
  // Only update the side we're scrolling towards,
18000
18000
  // the other side will be updated incidentally
@@ -18077,11 +18077,11 @@ const XS = ke({
18077
18077
  } = KS(e, Le(e, "items"));
18078
18078
  return Gn(() => e.renderless, () => {
18079
18079
  function o() {
18080
- var w, x;
18080
+ var p, x;
18081
18081
  const g = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1) ? "addEventListener" : "removeEventListener";
18082
18082
  l.value === document.documentElement ? (document[g]("scroll", s, {
18083
18083
  passive: !0
18084
- }), document[g]("scrollend", u)) : ((w = l.value) == null || w[g]("scroll", s, {
18084
+ }), document[g]("scrollend", u)) : ((p = l.value) == null || p[g]("scroll", s, {
18085
18085
  passive: !0
18086
18086
  }), (x = l.value) == null || x[g]("scrollend", u));
18087
18087
  }
@@ -18095,8 +18095,8 @@ const XS = ke({
18095
18095
  "onUpdate:height": (g) => d(y.index, g)
18096
18096
  }, {
18097
18097
  default: (g) => {
18098
- var w;
18099
- return (w = n.default) == null ? void 0 : w.call(n, {
18098
+ var p;
18099
+ return (p = n.default) == null ? void 0 : p.call(n, {
18100
18100
  item: y.raw,
18101
18101
  index: y.index,
18102
18102
  ...g
@@ -18259,7 +18259,7 @@ const ih = ke({
18259
18259
  } = Gm(e), h = xt(e, "modelValue", [], (Z) => v(Z === null ? [null] : wn(Z)), (Z) => {
18260
18260
  const Q = f(Z);
18261
18261
  return e.multiple ? Q : Q[0] ?? null;
18262
- }), c = k(() => typeof e.counterValue == "function" ? e.counterValue(h.value) : typeof e.counterValue == "number" ? e.counterValue : h.value.length), o = Iu(), y = k(() => h.value.map((Z) => Z.value)), g = Ve(!1), w = k(() => u.value ? e.closeText : e.openText);
18262
+ }), c = k(() => typeof e.counterValue == "function" ? e.counterValue(h.value) : typeof e.counterValue == "number" ? e.counterValue : h.value.length), o = Iu(), y = k(() => h.value.map((Z) => Z.value)), g = Ve(!1), p = k(() => u.value ? e.closeText : e.openText);
18263
18263
  let x = "", C;
18264
18264
  const T = k(() => e.hideSelected ? d.value.filter((Z) => !h.value.some((Q) => e.valueComparator(Q, Z))) : d.value), M = k(() => e.hideNoData && !T.value.length || e.readonly || (o == null ? void 0 : o.isReadonly.value)), b = k(() => {
18265
18265
  var Z;
@@ -18272,7 +18272,7 @@ const ih = ke({
18272
18272
  }
18273
18273
  };
18274
18274
  }), m = W(), {
18275
- onListScroll: p,
18275
+ onListScroll: w,
18276
18276
  onListKeydown: E
18277
18277
  } = lh(m, r);
18278
18278
  function _(Z) {
@@ -18378,8 +18378,8 @@ const ih = ke({
18378
18378
  "onMousedown:control": P,
18379
18379
  onBlur: G,
18380
18380
  onKeydown: V,
18381
- "aria-label": a(w.value),
18382
- title: a(w.value)
18381
+ "aria-label": a(p.value),
18382
+ title: a(p.value)
18383
18383
  }), {
18384
18384
  ...n,
18385
18385
  default: () => S(xe, null, [S(xn, ge({
@@ -18403,7 +18403,7 @@ const ih = ke({
18403
18403
  onMousedown: (D) => D.preventDefault(),
18404
18404
  onKeydown: E,
18405
18405
  onFocusin: N,
18406
- onScrollPassive: p,
18406
+ onScrollPassive: w,
18407
18407
  tabindex: "-1",
18408
18408
  "aria-live": "polite",
18409
18409
  color: e.itemColor ?? e.color
@@ -18543,10 +18543,10 @@ function ak(e, t, n) {
18543
18543
  if (t && !(n != null && n.noFilter)) {
18544
18544
  if (typeof d == "object") {
18545
18545
  const g = l || Object.keys(v);
18546
- for (const w of g) {
18547
- const x = ia(v, w), C = (s = n == null ? void 0 : n.customKeyFilter) == null ? void 0 : s[w];
18546
+ for (const p of g) {
18547
+ const x = ia(v, p), C = (s = n == null ? void 0 : n.customKeyFilter) == null ? void 0 : s[p];
18548
18548
  if (c = C ? C(x, t, d) : r(x, t, d), c !== -1 && c !== !1)
18549
- C ? f[w] = c : h[w] = c;
18549
+ C ? f[p] = c : h[p] = c;
18550
18550
  else if ((n == null ? void 0 : n.filterMode) === "every")
18551
18551
  continue e;
18552
18552
  }
@@ -18584,8 +18584,8 @@ function rk(e, t, n, a) {
18584
18584
  index: y,
18585
18585
  matches: g
18586
18586
  } = o;
18587
- const w = f[y];
18588
- h.push(w), c.set(w.value, g);
18587
+ const p = f[y];
18588
+ h.push(p), c.set(p.value, g);
18589
18589
  }), r.value = h, l.value = c;
18590
18590
  });
18591
18591
  function s(u) {
@@ -18810,9 +18810,9 @@ const sh = Fe()({
18810
18810
  positionClasses: o
18811
18811
  } = Du(e), {
18812
18812
  roundedClasses: y
18813
- } = Pn(e), g = hs(e, n), w = k(() => e.link !== !1 && g.isLink.value), x = k(() => !e.disabled && e.link !== !1 && (e.link || g.isClickable.value));
18813
+ } = Pn(e), g = hs(e, n), p = k(() => e.link !== !1 && g.isLink.value), x = k(() => !e.disabled && e.link !== !1 && (e.link || g.isClickable.value));
18814
18814
  return qe(() => {
18815
- const C = w.value ? "a" : e.tag, T = !!(a.title || e.title != null), M = !!(a.subtitle || e.subtitle != null), b = T || M, m = !!(a.append || e.appendAvatar || e.appendIcon), p = !!(a.prepend || e.prependAvatar || e.prependIcon), E = !!(a.image || e.image), _ = b || p || m, P = !!(a.text || e.text != null);
18815
+ const C = p.value ? "a" : e.tag, T = !!(a.title || e.title != null), M = !!(a.subtitle || e.subtitle != null), b = T || M, m = !!(a.append || e.appendAvatar || e.appendIcon), w = !!(a.prepend || e.prependAvatar || e.prependIcon), E = !!(a.image || e.image), _ = b || w || m, P = !!(a.text || e.text != null);
18816
18816
  return tn(S(C, {
18817
18817
  class: ["v-card", {
18818
18818
  "v-card--disabled": e.disabled,
@@ -18943,7 +18943,7 @@ const vk = ke({
18943
18943
  var Y;
18944
18944
  return (Y = l.value) == null ? void 0 : Y.color;
18945
18945
  }), g = k(() => h.value ? e.closeText : e.openText), {
18946
- items: w,
18946
+ items: p,
18947
18947
  transformIn: x,
18948
18948
  transformOut: C
18949
18949
  } = Gm(e), {
@@ -18952,7 +18952,7 @@ const vk = ke({
18952
18952
  } = Qn(y), b = xt(e, "modelValue", [], (Y) => x(wn(Y)), (Y) => {
18953
18953
  const le = C(Y);
18954
18954
  return e.multiple ? le : le[0] ?? null;
18955
- }), m = Iu(), p = k(() => !!(e.chips || a.chip)), E = k(() => p.value || !!a.selection), _ = Ve(!e.multiple && !E.value ? ((Be = b.value[0]) == null ? void 0 : Be.title) ?? "" : ""), P = k({
18955
+ }), m = Iu(), w = k(() => !!(e.chips || a.chip)), E = k(() => w.value || !!a.selection), _ = Ve(!e.multiple && !E.value ? ((Be = b.value[0]) == null ? void 0 : Be.title) ?? "" : ""), P = k({
18956
18956
  get: () => _.value,
18957
18957
  set: (Y) => {
18958
18958
  var le;
@@ -18974,7 +18974,7 @@ const vk = ke({
18974
18974
  const {
18975
18975
  filteredItems: z,
18976
18976
  getMatches: G
18977
- } = rk(e, w, () => s.value ? "" : P.value), R = k(() => e.hideSelected ? z.value.filter((Y) => !b.value.some((le) => le.value === Y.value)) : z.value), N = k(() => b.value.map((Y) => Y.value)), K = k(() => {
18977
+ } = rk(e, p, () => s.value ? "" : P.value), R = k(() => e.hideSelected ? z.value.filter((Y) => !b.value.some((le) => le.value === Y.value)) : z.value), N = k(() => b.value.map((Y) => Y.value)), K = k(() => {
18978
18978
  var le;
18979
18979
  return (e.autoSelectFirst === !0 || e.autoSelectFirst === "exact" && P.value === ((le = R.value[0]) == null ? void 0 : le.title)) && R.value.length > 0 && !s.value && !u.value;
18980
18980
  }), Z = k(() => e.hideNoData && !R.value.length || e.readonly || (m == null ? void 0 : m.isReadonly.value)), Q = W(), {
@@ -19209,7 +19209,7 @@ const vk = ke({
19209
19209
  },
19210
19210
  modelValue: !0,
19211
19211
  "onUpdate:modelValue": void 0
19212
- }, rt = p.value ? !!a.chip : !!a.selection, Pt = rt ? vu(p.value ? a.chip({
19212
+ }, rt = w.value ? !!a.chip : !!a.selection, Pt = rt ? vu(w.value ? a.chip({
19213
19213
  item: we,
19214
19214
  index: Ce,
19215
19215
  props: gt
@@ -19222,7 +19222,7 @@ const vk = ke({
19222
19222
  key: we.value,
19223
19223
  class: ["v-combobox__selection", Ce === c.value && ["v-combobox__selection--selected", T.value]],
19224
19224
  style: Ce === c.value ? M.value : {}
19225
- }, [p.value ? a.chip ? S(It, {
19225
+ }, [w.value ? a.chip ? S(It, {
19226
19226
  key: "chip-defaults",
19227
19227
  defaults: {
19228
19228
  VChip: {
@@ -19391,23 +19391,23 @@ const yk = ke({
19391
19391
  });
19392
19392
  const {
19393
19393
  resizeRef: f
19394
- } = qr((p) => {
19395
- if (!p.length)
19394
+ } = qr((w) => {
19395
+ if (!w.length)
19396
19396
  return;
19397
19397
  const {
19398
19398
  target: E,
19399
19399
  contentRect: _
19400
- } = p[0], P = E.querySelector(".v-pagination__list > *");
19400
+ } = w[0], P = E.querySelector(".v-pagination__list > *");
19401
19401
  if (!P)
19402
19402
  return;
19403
19403
  const V = _.width, z = P.offsetWidth + parseFloat(getComputedStyle(P).marginRight) * 2;
19404
19404
  v.value = y(V, z);
19405
19405
  }), h = k(() => parseInt(e.length, 10)), c = k(() => parseInt(e.start, 10)), o = k(() => e.totalVisible != null ? parseInt(e.totalVisible, 10) : v.value >= 0 ? v.value : y(d.value, 58));
19406
- function y(p, E) {
19406
+ function y(w, E) {
19407
19407
  const _ = e.showFirstLastPage ? 5 : 3;
19408
19408
  return Math.max(0, Math.floor(
19409
19409
  // Round to two decimal places to avoid floating point errors
19410
- +((p - E * _) / E).toFixed(2)
19410
+ +((w - E * _) / E).toFixed(2)
19411
19411
  ));
19412
19412
  }
19413
19413
  const g = k(() => {
@@ -19419,10 +19419,10 @@ const yk = ke({
19419
19419
  return [r.value];
19420
19420
  if (h.value <= o.value)
19421
19421
  return Br(h.value, c.value);
19422
- const p = o.value % 2 === 0, E = p ? o.value / 2 : Math.floor(o.value / 2), _ = p ? E : E + 1, P = h.value - E;
19422
+ const w = o.value % 2 === 0, E = w ? o.value / 2 : Math.floor(o.value / 2), _ = w ? E : E + 1, P = h.value - E;
19423
19423
  if (_ - r.value >= 0)
19424
19424
  return [...Br(Math.max(1, o.value - 1), c.value), e.ellipsis, h.value];
19425
- if (r.value - P >= (p ? 1 : 0)) {
19425
+ if (r.value - P >= (w ? 1 : 0)) {
19426
19426
  const V = o.value - 1, z = h.value - V + c.value;
19427
19427
  return [c.value, e.ellipsis, ...Br(V, z)];
19428
19428
  } else {
@@ -19430,8 +19430,8 @@ const yk = ke({
19430
19430
  return [c.value, e.ellipsis, ...Br(V, z), e.ellipsis, h.value];
19431
19431
  }
19432
19432
  });
19433
- function w(p, E, _) {
19434
- p.preventDefault(), r.value = E, _ && a(_, E);
19433
+ function p(w, E, _) {
19434
+ w.preventDefault(), r.value = E, _ && a(_, E);
19435
19435
  }
19436
19436
  const {
19437
19437
  refs: x,
@@ -19448,13 +19448,13 @@ const yk = ke({
19448
19448
  elevation: Le(e, "elevation")
19449
19449
  }
19450
19450
  });
19451
- const T = k(() => g.value.map((p, E) => {
19451
+ const T = k(() => g.value.map((w, E) => {
19452
19452
  const _ = (P) => C(P, E);
19453
- if (typeof p == "string")
19453
+ if (typeof w == "string")
19454
19454
  return {
19455
19455
  isActive: !1,
19456
19456
  key: `ellipsis-${E}`,
19457
- page: p,
19457
+ page: w,
19458
19458
  props: {
19459
19459
  ref: _,
19460
19460
  ellipsis: !0,
@@ -19463,11 +19463,11 @@ const yk = ke({
19463
19463
  }
19464
19464
  };
19465
19465
  {
19466
- const P = p === r.value;
19466
+ const P = w === r.value;
19467
19467
  return {
19468
19468
  isActive: P,
19469
- key: p,
19470
- page: i(p),
19469
+ key: w,
19470
+ page: i(w),
19471
19471
  props: {
19472
19472
  ref: _,
19473
19473
  ellipsis: !1,
@@ -19475,38 +19475,38 @@ const yk = ke({
19475
19475
  disabled: !!e.disabled || +e.length < 2,
19476
19476
  color: P ? e.activeColor : e.color,
19477
19477
  "aria-current": P,
19478
- "aria-label": l(P ? e.currentPageAriaLabel : e.pageAriaLabel, p),
19479
- onClick: (V) => w(V, p)
19478
+ "aria-label": l(P ? e.currentPageAriaLabel : e.pageAriaLabel, w),
19479
+ onClick: (V) => p(V, w)
19480
19480
  }
19481
19481
  };
19482
19482
  }
19483
19483
  })), M = k(() => {
19484
- const p = !!e.disabled || r.value <= c.value, E = !!e.disabled || r.value >= c.value + h.value - 1;
19484
+ const w = !!e.disabled || r.value <= c.value, E = !!e.disabled || r.value >= c.value + h.value - 1;
19485
19485
  return {
19486
19486
  first: e.showFirstLastPage ? {
19487
19487
  icon: s.value ? e.lastIcon : e.firstIcon,
19488
- onClick: (_) => w(_, c.value, "first"),
19489
- disabled: p,
19488
+ onClick: (_) => p(_, c.value, "first"),
19489
+ disabled: w,
19490
19490
  "aria-label": l(e.firstAriaLabel),
19491
- "aria-disabled": p
19491
+ "aria-disabled": w
19492
19492
  } : void 0,
19493
19493
  prev: {
19494
19494
  icon: s.value ? e.nextIcon : e.prevIcon,
19495
- onClick: (_) => w(_, r.value - 1, "prev"),
19496
- disabled: p,
19495
+ onClick: (_) => p(_, r.value - 1, "prev"),
19496
+ disabled: w,
19497
19497
  "aria-label": l(e.previousAriaLabel),
19498
- "aria-disabled": p
19498
+ "aria-disabled": w
19499
19499
  },
19500
19500
  next: {
19501
19501
  icon: s.value ? e.prevIcon : e.nextIcon,
19502
- onClick: (_) => w(_, r.value + 1, "next"),
19502
+ onClick: (_) => p(_, r.value + 1, "next"),
19503
19503
  disabled: E,
19504
19504
  "aria-label": l(e.nextAriaLabel),
19505
19505
  "aria-disabled": E
19506
19506
  },
19507
19507
  last: e.showFirstLastPage ? {
19508
19508
  icon: s.value ? e.firstIcon : e.lastIcon,
19509
- onClick: (_) => w(_, c.value + h.value - 1, "last"),
19509
+ onClick: (_) => p(_, c.value + h.value - 1, "last"),
19510
19510
  disabled: E,
19511
19511
  "aria-label": l(e.lastAriaLabel),
19512
19512
  "aria-disabled": E
@@ -19515,11 +19515,11 @@ const yk = ke({
19515
19515
  });
19516
19516
  function b() {
19517
19517
  var E;
19518
- const p = r.value - c.value;
19519
- (E = x.value[p]) == null || E.$el.focus();
19518
+ const w = r.value - c.value;
19519
+ (E = x.value[w]) == null || E.$el.focus();
19520
19520
  }
19521
- function m(p) {
19522
- p.key === Zc.left && !e.disabled && r.value > +e.start ? (r.value = r.value - 1, vt(b)) : p.key === Zc.right && !e.disabled && r.value < c.value + h.value - 1 && (r.value = r.value + 1, vt(b));
19521
+ function m(w) {
19522
+ w.key === Zc.left && !e.disabled && r.value > +e.start ? (r.value = r.value - 1, vt(b)) : w.key === Zc.right && !e.disabled && r.value < c.value + h.value - 1 && (r.value = r.value + 1, vt(b));
19523
19523
  }
19524
19524
  return qe(() => S(e.tag, {
19525
19525
  ref: f,
@@ -19544,16 +19544,16 @@ const yk = ke({
19544
19544
  "data-test": "v-pagination-prev"
19545
19545
  }, [n.prev ? n.prev(M.value.prev) : S(Qe, ge({
19546
19546
  _as: "VPaginationBtn"
19547
- }, M.value.prev), null)]), T.value.map((p, E) => S("li", {
19548
- key: p.key,
19547
+ }, M.value.prev), null)]), T.value.map((w, E) => S("li", {
19548
+ key: w.key,
19549
19549
  class: ["v-pagination__item", {
19550
- "v-pagination__item--is-active": p.isActive
19550
+ "v-pagination__item--is-active": w.isActive
19551
19551
  }],
19552
19552
  "data-test": "v-pagination-item"
19553
- }, [n.item ? n.item(p) : S(Qe, ge({
19553
+ }, [n.item ? n.item(w) : S(Qe, ge({
19554
19554
  _as: "VPaginationBtn"
19555
- }, p.props), {
19556
- default: () => [p.page]
19555
+ }, w.props), {
19556
+ default: () => [w.page]
19557
19557
  })])), S("li", {
19558
19558
  key: "next",
19559
19559
  class: "v-pagination__next",
@@ -19971,39 +19971,39 @@ function Nk(e) {
19971
19971
  function g(b, m) {
19972
19972
  return (i.value === "left" ? b : i.value === "right" ? document.documentElement.clientWidth - b : i.value === "top" ? b : i.value === "bottom" ? document.documentElement.clientHeight - b : Vr()) - (m ? r.value : 0);
19973
19973
  }
19974
- function w(b) {
19974
+ function p(b) {
19975
19975
  let m = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
19976
- const p = i.value === "left" ? (b - o.value) / r.value : i.value === "right" ? (document.documentElement.clientWidth - b - o.value) / r.value : i.value === "top" ? (b - o.value) / r.value : i.value === "bottom" ? (document.documentElement.clientHeight - b - o.value) / r.value : Vr();
19977
- return m ? Math.max(0, Math.min(1, p)) : p;
19976
+ const w = i.value === "left" ? (b - o.value) / r.value : i.value === "right" ? (document.documentElement.clientWidth - b - o.value) / r.value : i.value === "top" ? (b - o.value) / r.value : i.value === "bottom" ? (document.documentElement.clientHeight - b - o.value) / r.value : Vr();
19977
+ return m ? Math.max(0, Math.min(1, w)) : w;
19978
19978
  }
19979
19979
  function x(b) {
19980
19980
  if (l.value)
19981
19981
  return;
19982
- const m = b.changedTouches[0].clientX, p = b.changedTouches[0].clientY, E = 25, _ = i.value === "left" ? m < E : i.value === "right" ? m > document.documentElement.clientWidth - E : i.value === "top" ? p < E : i.value === "bottom" ? p > document.documentElement.clientHeight - E : Vr(), P = n.value && (i.value === "left" ? m < r.value : i.value === "right" ? m > document.documentElement.clientWidth - r.value : i.value === "top" ? p < r.value : i.value === "bottom" ? p > document.documentElement.clientHeight - r.value : Vr());
19983
- (_ || P || n.value && a.value) && (y = [m, p], o.value = g(s.value ? m : p, n.value), c.value = w(s.value ? m : p), f = o.value > -20 && o.value < 80, d(b), u(b));
19982
+ const m = b.changedTouches[0].clientX, w = b.changedTouches[0].clientY, E = 25, _ = i.value === "left" ? m < E : i.value === "right" ? m > document.documentElement.clientWidth - E : i.value === "top" ? w < E : i.value === "bottom" ? w > document.documentElement.clientHeight - E : Vr(), P = n.value && (i.value === "left" ? m < r.value : i.value === "right" ? m > document.documentElement.clientWidth - r.value : i.value === "top" ? w < r.value : i.value === "bottom" ? w > document.documentElement.clientHeight - r.value : Vr());
19983
+ (_ || P || n.value && a.value) && (y = [m, w], o.value = g(s.value ? m : w, n.value), c.value = p(s.value ? m : w), f = o.value > -20 && o.value < 80, d(b), u(b));
19984
19984
  }
19985
19985
  function C(b) {
19986
- const m = b.changedTouches[0].clientX, p = b.changedTouches[0].clientY;
19986
+ const m = b.changedTouches[0].clientX, w = b.changedTouches[0].clientY;
19987
19987
  if (f) {
19988
19988
  if (!b.cancelable) {
19989
19989
  f = !1;
19990
19990
  return;
19991
19991
  }
19992
- const _ = Math.abs(m - y[0]), P = Math.abs(p - y[1]);
19992
+ const _ = Math.abs(m - y[0]), P = Math.abs(w - y[1]);
19993
19993
  (s.value ? _ > P && _ > 3 : P > _ && P > 3) ? (h.value = !0, f = !1) : (s.value ? P : _) > 3 && (f = !1);
19994
19994
  }
19995
19995
  if (!h.value)
19996
19996
  return;
19997
19997
  b.preventDefault(), u(b);
19998
- const E = w(s.value ? m : p, !1);
19999
- c.value = Math.max(0, Math.min(1, E)), E > 1 ? o.value = g(s.value ? m : p, !0) : E < 0 && (o.value = g(s.value ? m : p, !1));
19998
+ const E = p(s.value ? m : w, !1);
19999
+ c.value = Math.max(0, Math.min(1, E)), E > 1 ? o.value = g(s.value ? m : w, !0) : E < 0 && (o.value = g(s.value ? m : w, !1));
20000
20000
  }
20001
20001
  function T(b) {
20002
20002
  if (f = !1, !h.value)
20003
20003
  return;
20004
20004
  u(b), h.value = !1;
20005
- const m = v(b.changedTouches[0].identifier), p = Math.abs(m.x), E = Math.abs(m.y);
20006
- (s.value ? p > E && p > 400 : E > p && E > 3) ? n.value = m.direction === ({
20005
+ const m = v(b.changedTouches[0].identifier), w = Math.abs(m.x), E = Math.abs(m.y);
20006
+ (s.value ? w > E && w > 400 : E > w && E > 3) ? n.value = m.direction === ({
20007
20007
  left: "right",
20008
20008
  right: "left",
20009
20009
  top: "down",
@@ -20015,8 +20015,8 @@ function Nk(e) {
20015
20015
  transition: "none"
20016
20016
  } : void 0);
20017
20017
  return Gn(h, () => {
20018
- var p, E;
20019
- const b = ((p = t.value) == null ? void 0 : p.style.transform) ?? null, m = ((E = t.value) == null ? void 0 : E.style.transition) ?? null;
20018
+ var w, E;
20019
+ const b = ((w = t.value) == null ? void 0 : w.style.transform) ?? null, m = ((E = t.value) == null ? void 0 : E.style.transition) ?? null;
20020
20020
  An(() => {
20021
20021
  var _, P, V, z;
20022
20022
  (P = t.value) == null || P.style.setProperty("transform", ((_ = M.value) == null ? void 0 : _.transform) || "none"), (z = t.value) == null || z.style.setProperty("transition", ((V = M.value) == null ? void 0 : V.transition) || null);
@@ -20115,13 +20115,13 @@ const Bk = ["start", "end", "left", "right", "top", "bottom"], Rk = ke({
20115
20115
  } = Pn(e), o = mm(), y = xt(e, "modelValue", null, (L) => !!L), {
20116
20116
  ssrBootStyles: g
20117
20117
  } = sm(), {
20118
- scopeId: w
20118
+ scopeId: p
20119
20119
  } = Pu(), x = W(), C = Ve(!1), {
20120
20120
  runOpenDelay: T,
20121
20121
  runCloseDelay: M
20122
20122
  } = Xm(e, (L) => {
20123
20123
  C.value = L;
20124
- }), b = k(() => e.rail && e.expandOnHover && C.value ? Number(e.width) : Number(e.rail ? e.railWidth : e.width)), m = k(() => _o(e.location, l.value)), p = k(() => e.persistent), E = k(() => !e.permanent && (h.value || e.temporary)), _ = k(() => e.sticky && !E.value && m.value !== "bottom");
20124
+ }), b = k(() => e.rail && e.expandOnHover && C.value ? Number(e.width) : Number(e.rail ? e.railWidth : e.width)), m = k(() => _o(e.location, l.value)), w = k(() => e.persistent), E = k(() => !e.permanent && (h.value || e.temporary)), _ = k(() => e.sticky && !E.value && m.value !== "bottom");
20125
20125
  Gn(() => e.expandOnHover && e.rail != null, () => {
20126
20126
  De(C, (L) => a("update:rail", !L));
20127
20127
  }), Gn(() => !e.disableResizeWatcher, () => {
@@ -20190,14 +20190,14 @@ const Bk = ["start", "end", "left", "right", "top", "bottom"], Rk = ke({
20190
20190
  "v-navigation-drawer--is-hovering": C.value,
20191
20191
  "v-navigation-drawer--rail": e.rail,
20192
20192
  "v-navigation-drawer--temporary": E.value,
20193
- "v-navigation-drawer--persistent": p.value,
20193
+ "v-navigation-drawer--persistent": w.value,
20194
20194
  "v-navigation-drawer--active": y.value,
20195
20195
  "v-navigation-drawer--sticky": _.value
20196
20196
  }, i.value, u.value, s.value, f.value, v.value, c.value, e.class],
20197
20197
  style: [d.value, R.value, g.value, Q.value, e.style, ["top", "bottom"].includes(m.value) ? {
20198
20198
  height: "auto"
20199
20199
  } : {}]
20200
- }, w, n), {
20200
+ }, p, n), {
20201
20201
  default: () => {
20202
20202
  var D, I, U;
20203
20203
  return [L && S("div", {
@@ -20235,9 +20235,9 @@ const Bk = ["start", "end", "left", "right", "top", "bottom"], Rk = ke({
20235
20235
  class: ["v-navigation-drawer__scrim", F.backgroundColorClasses.value],
20236
20236
  style: [B.value, F.backgroundColorStyles.value],
20237
20237
  onClick: () => {
20238
- p.value || (y.value = !1);
20238
+ w.value || (y.value = !1);
20239
20239
  }
20240
- }, w), null)]
20240
+ }, p), null)]
20241
20241
  })]);
20242
20242
  }), K.then(() => ({
20243
20243
  isStuck: Z
@@ -20277,12 +20277,12 @@ const Bk = ["start", "end", "left", "right", "top", "bottom"], Rk = ke({
20277
20277
  function y() {
20278
20278
  r.value && (r.value = !1);
20279
20279
  }
20280
- function g(w) {
20280
+ function g(p) {
20281
20281
  var x, C;
20282
- w.stopPropagation(), w.preventDefault(), (C = (x = v.value) == null ? void 0 : x.input) == null || C.click();
20282
+ p.stopPropagation(), p.preventDefault(), (C = (x = v.value) == null ? void 0 : x.input) == null || C.click();
20283
20283
  }
20284
20284
  return qe(() => {
20285
- const [w, x] = Gl(n), C = Ka.filterProps(e), T = Ui.filterProps(e);
20285
+ const [p, x] = Gl(n), C = Ka.filterProps(e), T = Ui.filterProps(e);
20286
20286
  return S(Ka, ge({
20287
20287
  class: ["v-switch", {
20288
20288
  "v-switch--flat": e.flat
@@ -20291,7 +20291,7 @@ const Bk = ["start", "end", "left", "right", "top", "bottom"], Rk = ke({
20291
20291
  }, {
20292
20292
  "v-switch--indeterminate": r.value
20293
20293
  }, i.value, e.class]
20294
- }, w, C, {
20294
+ }, p, C, {
20295
20295
  modelValue: l.value,
20296
20296
  "onUpdate:modelValue": (M) => l.value = M,
20297
20297
  id: o.value,
@@ -20303,7 +20303,7 @@ const Bk = ["start", "end", "left", "right", "top", "bottom"], Rk = ke({
20303
20303
  let {
20304
20304
  id: b,
20305
20305
  messagesId: m,
20306
- isDisabled: p,
20306
+ isDisabled: w,
20307
20307
  isReadonly: E,
20308
20308
  isValid: _
20309
20309
  } = M;
@@ -20320,7 +20320,7 @@ const Bk = ["start", "end", "left", "right", "top", "bottom"], Rk = ke({
20320
20320
  "aria-describedby": m.value,
20321
20321
  type: "checkbox",
20322
20322
  "aria-checked": r.value ? "mixed" : void 0,
20323
- disabled: p.value,
20323
+ disabled: w.value,
20324
20324
  readonly: E.value,
20325
20325
  onFocus: u,
20326
20326
  onBlur: d
@@ -20449,18 +20449,18 @@ const Bk = ["start", "end", "left", "right", "top", "bottom"], Rk = ke({
20449
20449
  !e.autofocus || !P || (G = (z = V[0].target) == null ? void 0 : z.focus) == null || G.call(z);
20450
20450
  }
20451
20451
  const h = W(), c = W(), o = Ve(""), y = W(), g = k(() => e.persistentPlaceholder || i.value || e.active);
20452
- function w() {
20452
+ function p() {
20453
20453
  var P;
20454
20454
  y.value !== document.activeElement && ((P = y.value) == null || P.focus()), i.value || s();
20455
20455
  }
20456
20456
  function x(P) {
20457
- w(), a("click:control", P);
20457
+ p(), a("click:control", P);
20458
20458
  }
20459
20459
  function C(P) {
20460
20460
  a("mousedown:control", P);
20461
20461
  }
20462
20462
  function T(P) {
20463
- P.stopPropagation(), w(), vt(() => {
20463
+ P.stopPropagation(), p(), vt(() => {
20464
20464
  l.value = "", Ev(e["onClick:clear"], P);
20465
20465
  });
20466
20466
  }
@@ -20474,7 +20474,7 @@ const Bk = ["start", "end", "left", "right", "top", "bottom"], Rk = ke({
20474
20474
  });
20475
20475
  }
20476
20476
  }
20477
- const b = W(), m = W(+e.rows), p = k(() => ["plain", "underlined"].includes(e.variant));
20477
+ const b = W(), m = W(+e.rows), w = k(() => ["plain", "underlined"].includes(e.variant));
20478
20478
  An(() => {
20479
20479
  e.autoGrow || (m.value = +e.rows);
20480
20480
  });
@@ -20508,11 +20508,11 @@ const Bk = ["start", "end", "left", "right", "top", "bottom"], Rk = ke({
20508
20508
  "v-text-field--suffixed": e.suffix,
20509
20509
  "v-textarea--auto-grow": e.autoGrow,
20510
20510
  "v-textarea--no-resize": e.noResize || e.autoGrow,
20511
- "v-input--plain-underlined": p.value
20511
+ "v-input--plain-underlined": w.value
20512
20512
  }, e.class],
20513
20513
  style: e.style
20514
20514
  }, z, N, {
20515
- centerAffix: m.value === 1 && !p.value,
20515
+ centerAffix: m.value === 1 && !w.value,
20516
20516
  focused: i.value
20517
20517
  }), {
20518
20518
  ...r,
@@ -20537,7 +20537,7 @@ const Bk = ["start", "end", "left", "right", "top", "bottom"], Rk = ke({
20537
20537
  }, K, {
20538
20538
  id: Q.value,
20539
20539
  active: g.value || B.value,
20540
- centerAffix: m.value === 1 && !p.value,
20540
+ centerAffix: m.value === 1 && !w.value,
20541
20541
  dirty: B.value || e.dirty,
20542
20542
  disabled: F.value,
20543
20543
  focused: i.value,
@@ -20564,7 +20564,7 @@ const Bk = ["start", "end", "left", "right", "top", "bottom"], Rk = ke({
20564
20564
  placeholder: e.placeholder,
20565
20565
  rows: e.rows,
20566
20566
  name: e.name,
20567
- onFocus: w,
20567
+ onFocus: p,
20568
20568
  onBlur: u
20569
20569
  }, te, G), null), [[tr("intersect"), {
20570
20570
  handler: f
@@ -20642,20 +20642,20 @@ function Wk(e) {
20642
20642
  ...m
20643
20643
  }));
20644
20644
  function h(m) {
20645
- var p;
20646
- return (p = g(m)) == null ? void 0 : p.archiveName;
20645
+ var w;
20646
+ return (w = g(m)) == null ? void 0 : w.archiveName;
20647
20647
  }
20648
20648
  function c(m) {
20649
- var p;
20650
- return ((p = g(m)) == null ? void 0 : p.cacheExpiryHours) ?? t;
20649
+ var w;
20650
+ return ((w = g(m)) == null ? void 0 : w.cacheExpiryHours) ?? t;
20651
20651
  }
20652
20652
  function o(m) {
20653
- var p;
20654
- return (p = g(m)) == null ? void 0 : p.displayName;
20653
+ var w;
20654
+ return (w = g(m)) == null ? void 0 : w.displayName;
20655
20655
  }
20656
20656
  function y(m) {
20657
- var p;
20658
- return (p = g(m)) == null ? void 0 : p.icon;
20657
+ var w;
20658
+ return (w = g(m)) == null ? void 0 : w.icon;
20659
20659
  }
20660
20660
  function g(m) {
20661
20661
  return m == null ? null : typeof m != "string" ? m : wv(f, (E) => E.children).find((E) => {
@@ -20663,38 +20663,38 @@ function Wk(e) {
20663
20663
  return E.name == m || E.singleName == m || ((_ = E.aliases) == null ? void 0 : _.some((P) => P == m));
20664
20664
  }) ?? null;
20665
20665
  }
20666
- function w(m) {
20667
- const p = g(m);
20668
- if (p == null)
20666
+ function p(m) {
20667
+ const w = g(m);
20668
+ if (w == null)
20669
20669
  return;
20670
- let E = A0(p.microservice ?? "default") ?? "";
20671
- return p.path != null && (E = Ea(E, p.path)), E != null && E.endsWith("/") && (E = E.slice(0, E.length - 1)), E;
20670
+ let E = A0(w.microservice ?? "default") ?? "";
20671
+ return w.path != null && (E = Ea(E, w.path)), E != null && E.endsWith("/") && (E = E.slice(0, E.length - 1)), E;
20672
20672
  }
20673
20673
  function x(m) {
20674
- const p = g(m);
20675
- if ((p == null ? void 0 : p.singleName) != null)
20676
- return p.singleName;
20677
- const E = p == null ? void 0 : p.displayName;
20674
+ const w = g(m);
20675
+ if ((w == null ? void 0 : w.singleName) != null)
20676
+ return w.singleName;
20677
+ const E = w == null ? void 0 : w.displayName;
20678
20678
  if (E != null)
20679
20679
  return T0(E);
20680
20680
  }
20681
20681
  function C(m) {
20682
- const p = g(m);
20683
- return (p == null ? void 0 : p.name) ?? (p == null ? void 0 : p.singleName);
20682
+ const w = g(m);
20683
+ return (w == null ? void 0 : w.name) ?? (w == null ? void 0 : w.singleName);
20684
20684
  }
20685
20685
  function T() {
20686
20686
  let m = i.value ?? e.getDefaultBackgroundID();
20687
- m != null && d.some((p) => p == m) && (m = void 0), i.value = m, l.value = e.getBackgroundURL(i.value, s.value);
20687
+ m != null && d.some((w) => w == m) && (m = void 0), i.value = m, l.value = e.getBackgroundURL(i.value, s.value);
20688
20688
  }
20689
20689
  function M(m) {
20690
- if (m == null || v.some((p) => p == m))
20690
+ if (m == null || v.some((w) => w == m))
20691
20691
  i.value = m, T();
20692
- else if (d.some((p) => p == m))
20692
+ else if (d.some((w) => w == m))
20693
20693
  i.value = void 0, T();
20694
20694
  else {
20695
- const p = e.getBackgroundURL != null ? e.getBackgroundURL(m) : void 0;
20696
- p != null && v0(
20697
- p,
20695
+ const w = e.getBackgroundURL != null ? e.getBackgroundURL(m) : void 0;
20696
+ w != null && v0(
20697
+ w,
20698
20698
  () => {
20699
20699
  v.push(m), i.value = m, T();
20700
20700
  },
@@ -20704,8 +20704,8 @@ function Wk(e) {
20704
20704
  );
20705
20705
  }
20706
20706
  }
20707
- function b(m, p) {
20708
- p != null && m.name == p.name && (p.params.id == "new" || p.query.id == "new") && n.pop(), m != null && (m.params == null || m.params.navIgnore != "true") && n.push(m);
20707
+ function b(m, w) {
20708
+ w != null && m.name == w.name && (w.params.id == "new" || w.query.id == "new") && n.pop(), m != null && (m.params == null || m.params.navIgnore != "true") && n.push(m);
20709
20709
  const E = m.meta.nav ?? m.name, _ = g(E), P = m.meta.background ?? (_ == null ? void 0 : _.background);
20710
20710
  P != s.value && (s.value = P, i.value == null && T()), r.value = m.meta.hideNavigation !== "true" && (_ == null ? void 0 : _.hideNavigation) !== !0, a.value = m.meta.hideAppBar !== "true" && (_ == null ? void 0 : _.hideAppBar) !== !0;
20711
20711
  }
@@ -20722,7 +20722,7 @@ function Wk(e) {
20722
20722
  findIcon: y,
20723
20723
  findItem: g,
20724
20724
  findStoreName: C,
20725
- findPath: w,
20725
+ findPath: p,
20726
20726
  findSingleDisplay: x,
20727
20727
  navHistory: n,
20728
20728
  updateBackgroundID: M,
@@ -20748,8 +20748,8 @@ function Ou(e, t, n) {
20748
20748
  ...e.defaultFilters ?? [],
20749
20749
  ...o.value
20750
20750
  ]).value), g = W((e.defaultFilters ?? []).map((ce) => y.value.indexOf(ce)));
20751
- let w = W([...g.value]);
20752
- const x = k(() => fc(w, g).value.length > 0 || fc(g, w).value.length > 0), C = W(T());
20751
+ let p = W([...g.value]);
20752
+ const x = k(() => fc(p, g).value.length > 0 || fc(g, p).value.length > 0), C = W(T());
20753
20753
  function T() {
20754
20754
  var ce;
20755
20755
  if (u) {
@@ -20768,11 +20768,11 @@ function Ou(e, t, n) {
20768
20768
  var We;
20769
20769
  let ce = e.proxyID;
20770
20770
  return ce == null && u && (ce = s.bladeData.data[M]), ce == null && d && (ce = (We = i == null ? void 0 : i.query) == null ? void 0 : We[M]), ce;
20771
- }), m = W(E()), p = e.searchKey ?? "search";
20771
+ }), m = e.searchKey ?? "search", w = W(E());
20772
20772
  function E() {
20773
20773
  var We;
20774
20774
  let ce;
20775
- return ce == null && u && (ce = s.bladeData.data[p]), ce == null && d && (ce = (We = i == null ? void 0 : i.query) == null ? void 0 : We[p]), ce;
20775
+ return ce == null && u && (ce = s.bladeData.data[m]), ce == null && d && (ce = (We = i == null ? void 0 : i.query) == null ? void 0 : We[m]), ce;
20776
20776
  }
20777
20777
  const _ = W(st(e.startShowingInactive) ?? !1), P = k(() => [
20778
20778
  ...e.searchProps ?? [],
@@ -20804,7 +20804,7 @@ function Ou(e, t, n) {
20804
20804
  }), Be = k(() => {
20805
20805
  var We;
20806
20806
  let ce = e.params != null ? { ...e.params } : {};
20807
- return e.useServerPagination && e.itemsPerPage != null && (ce.includeCount = !0, ce.takeAmount = e.itemsPerPage, ce.takeFrom = (C.value - 1) * e.itemsPerPage), ae.value != null && (ce = { ...ce, ...ae.value }), _.value && (ce.includeInactive = !0), sn(e.selectProps) && (ce.properties = (We = e.selectProps) == null ? void 0 : We.toString()), m.value != null && (ce.searchString = m.value), ce;
20807
+ return e.useServerPagination && e.itemsPerPage != null && (ce.includeCount = !0, ce.takeAmount = e.itemsPerPage, ce.takeFrom = (C.value - 1) * e.itemsPerPage), ae.value != null && (ce = { ...ce, ...ae.value }), _.value && (ce.includeInactive = !0), sn(e.selectProps) && (ce.properties = (We = e.selectProps) == null ? void 0 : We.toString()), w.value != null && (ce.searchString = w.value), ce;
20808
20808
  }), Y = k(() => (ce) => e.onCanDelete != null ? e.onCanDelete(ce) : !(ce != null && ce.isInactive === !0)), le = k(() => (ce) => _.value ? e.onCanRestore != null ? e.onCanRestore(ce) : (ce == null ? void 0 : ce.isInactive) === !0 : !1), Me = k(() => G.value.filter((ce) => !ce.hide)), we = k(() => {
20809
20809
  let ce = new Array();
20810
20810
  return Me.value.filter((Je) => Je.sublevel != null).forEach((Je) => {
@@ -20879,9 +20879,9 @@ function Ou(e, t, n) {
20879
20879
  }
20880
20880
  function ln() {
20881
20881
  let ce = st(V);
20882
- if (ce = e.onFilter ? e.onFilter(ce) : ce, m.value != null && m.value.length > 0) {
20882
+ if (ce = e.onFilter ? e.onFilter(ce) : ce, w.value != null && w.value.length > 0) {
20883
20883
  let We = [...P.value];
20884
- e.itemText && We.push(e.itemText), sn(We) && (ce = ce.filter((Je) => C0(Je, m.value, We)));
20884
+ e.itemText && We.push(e.itemText), sn(We) && (ce = ce.filter((Je) => C0(Je, w.value, We)));
20885
20885
  }
20886
20886
  z.value = ce;
20887
20887
  }
@@ -20890,7 +20890,7 @@ function Ou(e, t, n) {
20890
20890
  e.headers != null && (G.value = [...e.headers], ce || G.value.push({ title: "Actions", value: "itemActions", align: "end" }));
20891
20891
  }
20892
20892
  async function Gt(ce) {
20893
- if (te.value = !1, (ce == null ? void 0 : ce.resetSearch) === !0 && (be.value = e.showSearch ?? !1, m.value = void 0), e.items != null) {
20893
+ if (te.value = !1, (ce == null ? void 0 : ce.resetSearch) === !0 && (be.value = e.showSearch ?? !1, w.value = void 0), e.items != null) {
20894
20894
  V.value = e.onGetSuccessAsync != null ? await e.onGetSuccessAsync(e.items) : e.items, e.onFinished && e.onFinished();
20895
20895
  return;
20896
20896
  }
@@ -20917,7 +20917,7 @@ function Ou(e, t, n) {
20917
20917
  return o.value = (ee == null ? void 0 : ee.filters) ?? [], f != "whole-last-updated" && e.useServerPagination === !0 && e.itemsPerPage && ee.count && (Pe.value = Math.ceil(ee.count / e.itemsPerPage)), e.onGetSuccessAsync != null && (Ie = await e.onGetSuccessAsync(Ie, ve)), Ie;
20918
20918
  }
20919
20919
  });
20920
- V.value = Je, w.value = [...g.value];
20920
+ V.value = Je, p.value = [...g.value];
20921
20921
  }
20922
20922
  ln();
20923
20923
  }
@@ -20932,9 +20932,9 @@ function Ou(e, t, n) {
20932
20932
  })), t != null && (t("select", R), t("confirm", R));
20933
20933
  }
20934
20934
  function Ba() {
20935
- be.value ? (be.value = e.showSearch ?? !1, m.value = void 0, Gt()) : be.value = e.showSearch ?? !0;
20935
+ be.value ? (be.value = e.showSearch ?? !1, w.value = void 0, Gt()) : be.value = e.showSearch ?? !0;
20936
20936
  }
20937
- return kn(), sg([m], () => {
20937
+ return kn(), sg([w], () => {
20938
20938
  ln();
20939
20939
  }, { debounce: 500, maxWait: 500 }), De([_, C], async () => {
20940
20940
  await Gt();
@@ -20965,7 +20965,7 @@ function Ou(e, t, n) {
20965
20965
  loadingMsg: I,
20966
20966
  refresh: Gt,
20967
20967
  restoreItem: Pt,
20968
- searchString: m,
20968
+ searchString: w,
20969
20969
  selectedFilters: g,
20970
20970
  selectItem: Nt,
20971
20971
  showError: te,
@@ -21053,7 +21053,7 @@ function Uk(e) {
21053
21053
  function g(_, P) {
21054
21054
  return n(_, "ccc dd LLL yyyy", P);
21055
21055
  }
21056
- function w(_, P) {
21056
+ function p(_, P) {
21057
21057
  return n(_, "ccc dd LLL yyyy hh:mm a", P);
21058
21058
  }
21059
21059
  function x(_) {
@@ -21078,7 +21078,7 @@ function Uk(e) {
21078
21078
  function m(_) {
21079
21079
  return _ == null ? "" : typeof _ == "number" ? e.dates.tzDate().startOf("day").plus({ minutes: _ }).toFormat("T") : typeof _ == "string" ? e.dates.tzString(_, "t") : "unknown";
21080
21080
  }
21081
- const p = {
21081
+ const w = {
21082
21082
  toCompanyNameAndLocationLine: a,
21083
21083
  toCurrency: r,
21084
21084
  toDayDate: l,
@@ -21093,7 +21093,7 @@ function Uk(e) {
21093
21093
  toLocationLine: o,
21094
21094
  toLocationLineNoCommas: y,
21095
21095
  toLongDate: g,
21096
- toLongDateAndTime: w,
21096
+ toLongDateAndTime: p,
21097
21097
  toPercent: x,
21098
21098
  toPrettyCSV: C,
21099
21099
  toShortDate: T,
@@ -21105,14 +21105,14 @@ function Uk(e) {
21105
21105
  function E(_) {
21106
21106
  if (_ != null) {
21107
21107
  let P = _;
21108
- if (P != null && p[P] != null)
21109
- return p[P];
21108
+ if (P != null && w[P] != null)
21109
+ return w[P];
21110
21110
  }
21111
21111
  return (P) => P;
21112
21112
  }
21113
21113
  return Ki = {
21114
21114
  findFilter: E,
21115
- ...p
21115
+ ...w
21116
21116
  }, Ki;
21117
21117
  }
21118
21118
  function qk() {
@@ -21234,8 +21234,8 @@ const Zk = {
21234
21234
  storeMode: {},
21235
21235
  storageMode: {},
21236
21236
  useServerPagination: { type: Boolean, default: !0 },
21237
- useBladeSrc: { type: Boolean },
21238
- useRouteSrc: { type: Boolean },
21237
+ useBladeSrc: { type: Boolean, default: void 0 },
21238
+ useRouteSrc: { type: Boolean, default: void 0 },
21239
21239
  variant: { default: "page" }
21240
21240
  },
21241
21241
  emits: ["update:selected", "change", "deleted", "input", "select", "confirm", "mouse-over-item"],
@@ -21245,7 +21245,7 @@ const Zk = {
21245
21245
  onError: (m) => {
21246
21246
  m.code == 401 && (d.logout(), d.login(location.pathname));
21247
21247
  }
21248
- }), { focused: f } = og(r, { initialValue: a.showSearch }), h = k(() => s.canAdd ?? a.canAdd), c = k(() => s.hideColumns ?? a.hideColumns), o = k(() => s.hideFilters ?? a.hideFilters), y = k(() => s.hideRefresh ?? a.hideRefresh), g = k(() => s.hideSubToolbarSettings ?? a.hideSubtoolbarSettings), w = k(() => {
21248
+ }), { focused: f } = og(r, { initialValue: a.showSearch }), h = k(() => s.canAdd ?? a.canAdd), c = k(() => s.hideColumns ?? a.hideColumns), o = k(() => s.hideFilters ?? a.hideFilters), y = k(() => s.hideRefresh ?? a.hideRefresh), g = k(() => s.hideSubToolbarSettings ?? a.hideSubtoolbarSettings), p = k(() => {
21249
21249
  var m;
21250
21250
  return a.label ?? (a.variant == "page" ? (m = i == null ? void 0 : i.meta) == null ? void 0 : m.displayName : void 0) ?? u(a.nav ?? a.bladeName ?? "");
21251
21251
  }), x = k(() => a.variant == "inline" && (a.canSearchServer || sn(a.searchProps))), C = k(() => a.useServerPagination && v.totalPages.value > 1), T = k(() => {
@@ -21260,19 +21260,19 @@ const Zk = {
21260
21260
  }), M = W([]), b = k({
21261
21261
  get() {
21262
21262
  const m = a.selected ?? M.value;
21263
- let p = a.returnCSV ? m.split(",") : m;
21264
- a.selectSingle && !Array.isArray(p) && (p = [p]), a.returnIndex && a.returnCSV && (p = p.map((_) => Number.parseInt(_)));
21263
+ let w = a.returnCSV ? m.split(",") : m;
21264
+ a.selectSingle && !Array.isArray(w) && (w = [w]), a.returnIndex && a.returnCSV && (w = w.map((_) => Number.parseInt(_)));
21265
21265
  let E = [];
21266
- return a.returnIndex ? p : (sn(p) && v.filteredItems.value.forEach((_, P) => {
21267
- p.some((V) => V == l(_, a.itemValue)) && E.push(P);
21266
+ return a.returnIndex ? w : (sn(w) && v.filteredItems.value.forEach((_, P) => {
21267
+ w.some((V) => V == l(_, a.itemValue)) && E.push(P);
21268
21268
  }), a.selectSingle ? sn(E) ? [E[0]] : [-1] : E);
21269
21269
  },
21270
21270
  set(m) {
21271
21271
  if (m == null)
21272
21272
  n("update:selected", m), M.value = [];
21273
21273
  else {
21274
- let p = m;
21275
- a.returnIndex ? p = m : p = m.map((E) => l(v.filteredItems.value[E], a.itemValue)), a.selectSingle ? (p = sn(p) ? p[0] : void 0, M.value = p != null ? [p] : []) : M.value = p, a.returnCSV && p != null && (p = p.toString()), n("update:selected", p), M.value = p;
21274
+ let w = m;
21275
+ a.returnIndex ? w = m : w = m.map((E) => l(v.filteredItems.value[E], a.itemValue)), a.selectSingle ? (w = sn(w) ? w[0] : void 0, M.value = w != null ? [w] : []) : M.value = w, a.returnCSV && w != null && (w = w.toString()), n("update:selected", w), M.value = w;
21276
21276
  }
21277
21277
  }
21278
21278
  });
@@ -21280,7 +21280,7 @@ const Zk = {
21280
21280
  f.value = !0;
21281
21281
  }), At(() => {
21282
21282
  x.value && (f.value = !0);
21283
- }), (m, p) => {
21283
+ }), (m, w) => {
21284
21284
  const E = Yr("bt-header-option"), _ = Yr("bt-blade");
21285
21285
  return O(), se(_, {
21286
21286
  bladeBasic: "",
@@ -21289,7 +21289,7 @@ const Zk = {
21289
21289
  errorMsg: A(v).errorMsg.value,
21290
21290
  hideSubtoolbar: m.hideSubtoolbar,
21291
21291
  hideToolbar: m.hideToolbar,
21292
- label: w.value,
21292
+ label: p.value,
21293
21293
  loadingMsg: A(v).loadingMsg.value,
21294
21294
  preset: m.preset,
21295
21295
  variant: m.variant
@@ -21299,7 +21299,7 @@ const Zk = {
21299
21299
  y.value ? re("", !0) : (O(), se(Qe, {
21300
21300
  key: 0,
21301
21301
  icon: "$refresh",
21302
- onClick: p[0] || (p[0] = (P) => A(v).refresh({ deepRefresh: !0 })),
21302
+ onClick: w[0] || (w[0] = (P) => A(v).refresh({ deepRefresh: !0 })),
21303
21303
  size: m.size,
21304
21304
  title: "Refresh",
21305
21305
  variant: "text"
@@ -21307,7 +21307,7 @@ const Zk = {
21307
21307
  h.value ? (O(), se(Qe, {
21308
21308
  key: 1,
21309
21309
  icon: "$plus",
21310
- onClick: p[1] || (p[1] = (P) => A(v).add(m.variant)),
21310
+ onClick: w[1] || (w[1] = (P) => A(v).add(m.variant)),
21311
21311
  size: m.size,
21312
21312
  disabled: !A(d).canEdit(m.nav),
21313
21313
  title: "Add",
@@ -21372,7 +21372,7 @@ const Zk = {
21372
21372
  density: m.density,
21373
21373
  "prepend-icon": "$eraser",
21374
21374
  subtitle: A(v).showInactive.value ? "Hide Inactive" : "Show Inactive",
21375
- onClick: p[2] || (p[2] = (P) => A(v).showInactive.value = !A(v).showInactive.value)
21375
+ onClick: w[2] || (w[2] = (P) => A(v).showInactive.value = !A(v).showInactive.value)
21376
21376
  }, null, 8, ["density", "subtitle"])) : re("", !0),
21377
21377
  m.canExportCSV ? (O(), se(Tt, {
21378
21378
  key: 3,
@@ -21411,7 +21411,7 @@ const Zk = {
21411
21411
  placeholder: "Find",
21412
21412
  variant: "solo",
21413
21413
  modelValue: A(v).searchString.value,
21414
- "onUpdate:modelValue": p[3] || (p[3] = (P) => A(v).searchString.value = P)
21414
+ "onUpdate:modelValue": w[3] || (w[3] = (P) => A(v).searchString.value = P)
21415
21415
  }, null, 8, ["onClick", "onKeyup", "density", "modelValue"])) : re("", !0)
21416
21416
  ]),
21417
21417
  _: 1
@@ -21444,7 +21444,7 @@ const Zk = {
21444
21444
  "open-strategy": "multiple",
21445
21445
  "select-strategy": "classic",
21446
21446
  selected: A(v).selectedFilters.value,
21447
- "onUpdate:selected": p[5] || (p[5] = (P) => A(v).selectedFilters.value = P)
21447
+ "onUpdate:selected": w[5] || (w[5] = (P) => A(v).selectedFilters.value = P)
21448
21448
  }, {
21449
21449
  default: j(() => [
21450
21450
  (O(!0), ie(xe, null, et(A(v).filters.value, (P, V) => (O(), se(Tt, {
@@ -21475,7 +21475,7 @@ const Zk = {
21475
21475
  A(v).filtersChanged.value ? (O(), se(Qe, {
21476
21476
  key: 0,
21477
21477
  block: "",
21478
- onClick: p[4] || (p[4] = () => A(v).refresh({ resetSearch: !0 })),
21478
+ onClick: w[4] || (w[4] = () => A(v).refresh({ resetSearch: !0 })),
21479
21479
  size: m.size
21480
21480
  }, {
21481
21481
  default: j(() => [
@@ -21531,7 +21531,7 @@ const Zk = {
21531
21531
  placeholder: "Find",
21532
21532
  variant: "solo",
21533
21533
  modelValue: A(v).searchString.value,
21534
- "onUpdate:modelValue": p[6] || (p[6] = (V) => A(v).searchString.value = V)
21534
+ "onUpdate:modelValue": w[6] || (w[6] = (V) => A(v).searchString.value = V)
21535
21535
  }, null, 8, ["onClick", "onKeyup", "density", "modelValue"])) : re("", !0)
21536
21536
  ]),
21537
21537
  _: 1
@@ -21549,7 +21549,7 @@ const Zk = {
21549
21549
  "select-strategy": m.selectSingle ? "single-independent" : "independent",
21550
21550
  style: vn(T.value),
21551
21551
  selected: b.value,
21552
- "onUpdate:selected": p[7] || (p[7] = (V) => b.value = V)
21552
+ "onUpdate:selected": w[7] || (w[7] = (V) => b.value = V)
21553
21553
  }, {
21554
21554
  default: j(() => [
21555
21555
  S(sa, {
@@ -21808,7 +21808,7 @@ const Zk = {
21808
21808
  C.value ? (O(), ie("div", Jk, [
21809
21809
  S(gk, {
21810
21810
  modelValue: A(v).currentPage.value,
21811
- "onUpdate:modelValue": p[8] || (p[8] = (V) => A(v).currentPage.value = V),
21811
+ "onUpdate:modelValue": w[8] || (w[8] = (V) => A(v).currentPage.value = V),
21812
21812
  length: A(v).totalPages.value
21813
21813
  }, null, 8, ["modelValue", "length"])
21814
21814
  ])) : re("", !0)
@@ -21822,7 +21822,7 @@ const Zk = {
21822
21822
  for (const [a, r] of t)
21823
21823
  n[a] = r;
21824
21824
  return n;
21825
- }, wh = /* @__PURE__ */ Qk(Xk, [["__scopeId", "data-v-0b355030"]]);
21825
+ }, wh = /* @__PURE__ */ Qk(Xk, [["__scopeId", "data-v-33708312"]]);
21826
21826
  function Oe(e) {
21827
21827
  const t = Object.prototype.toString.call(e);
21828
21828
  return e instanceof Date || typeof e == "object" && t === "[object Date]" ? new e.constructor(+e) : typeof e == "number" || t === "[object Number]" || typeof e == "string" || t === "[object String]" ? new Date(e) : /* @__PURE__ */ new Date(NaN);
@@ -23074,8 +23074,8 @@ function j2(e, t, n) {
23074
23074
  }
23075
23075
  const K2 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, J2 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, X2 = /^'([^]*?)'?$/, Q2 = /''/g, eC = /[a-zA-Z]/;
23076
23076
  function ha(e, t, n) {
23077
- var v, f, h, c, o, y, g, w;
23078
- const a = Cr(), r = (n == null ? void 0 : n.locale) ?? a.locale ?? Dh, l = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((f = (v = n == null ? void 0 : n.locale) == null ? void 0 : v.options) == null ? void 0 : f.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((c = (h = a.locale) == null ? void 0 : h.options) == null ? void 0 : c.firstWeekContainsDate) ?? 1, i = (n == null ? void 0 : n.weekStartsOn) ?? ((y = (o = n == null ? void 0 : n.locale) == null ? void 0 : o.options) == null ? void 0 : y.weekStartsOn) ?? a.weekStartsOn ?? ((w = (g = a.locale) == null ? void 0 : g.options) == null ? void 0 : w.weekStartsOn) ?? 0, s = Oe(e);
23077
+ var v, f, h, c, o, y, g, p;
23078
+ const a = Cr(), r = (n == null ? void 0 : n.locale) ?? a.locale ?? Dh, l = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((f = (v = n == null ? void 0 : n.locale) == null ? void 0 : v.options) == null ? void 0 : f.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((c = (h = a.locale) == null ? void 0 : h.options) == null ? void 0 : c.firstWeekContainsDate) ?? 1, i = (n == null ? void 0 : n.weekStartsOn) ?? ((y = (o = n == null ? void 0 : n.locale) == null ? void 0 : o.options) == null ? void 0 : y.weekStartsOn) ?? a.weekStartsOn ?? ((p = (g = a.locale) == null ? void 0 : g.options) == null ? void 0 : p.weekStartsOn) ?? 0, s = Oe(e);
23079
23079
  if (!xl(s))
23080
23080
  throw new RangeError("Invalid time value");
23081
23081
  let u = t.match(J2).map((x) => {
@@ -24623,8 +24623,8 @@ const qC = {
24623
24623
  T: new UC()
24624
24624
  }, GC = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, ZC = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, jC = /^'([^]*?)'?$/, KC = /''/g, JC = /\S/, XC = /[a-zA-Z]/;
24625
24625
  function Uo(e, t, n, a) {
24626
- var y, g, w, x, C, T, M, b;
24627
- const r = rC(), l = (a == null ? void 0 : a.locale) ?? r.locale ?? Dh, i = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((g = (y = a == null ? void 0 : a.locale) == null ? void 0 : y.options) == null ? void 0 : g.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((x = (w = r.locale) == null ? void 0 : w.options) == null ? void 0 : x.firstWeekContainsDate) ?? 1, s = (a == null ? void 0 : a.weekStartsOn) ?? ((T = (C = a == null ? void 0 : a.locale) == null ? void 0 : C.options) == null ? void 0 : T.weekStartsOn) ?? r.weekStartsOn ?? ((b = (M = r.locale) == null ? void 0 : M.options) == null ? void 0 : b.weekStartsOn) ?? 0;
24626
+ var y, g, p, x, C, T, M, b;
24627
+ const r = rC(), l = (a == null ? void 0 : a.locale) ?? r.locale ?? Dh, i = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((g = (y = a == null ? void 0 : a.locale) == null ? void 0 : y.options) == null ? void 0 : g.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((x = (p = r.locale) == null ? void 0 : p.options) == null ? void 0 : x.firstWeekContainsDate) ?? 1, s = (a == null ? void 0 : a.weekStartsOn) ?? ((T = (C = a == null ? void 0 : a.locale) == null ? void 0 : C.options) == null ? void 0 : T.weekStartsOn) ?? r.weekStartsOn ?? ((b = (M = r.locale) == null ? void 0 : M.options) == null ? void 0 : b.weekStartsOn) ?? 0;
24628
24628
  if (t === "")
24629
24629
  return e === "" ? Oe(n) : ht(n, NaN);
24630
24630
  const u = {
@@ -24632,21 +24632,21 @@ function Uo(e, t, n, a) {
24632
24632
  weekStartsOn: s,
24633
24633
  locale: l
24634
24634
  }, d = [new uC()], v = t.match(ZC).map((m) => {
24635
- const p = m[0];
24636
- if (p in Yo) {
24637
- const E = Yo[p];
24635
+ const w = m[0];
24636
+ if (w in Yo) {
24637
+ const E = Yo[w];
24638
24638
  return E(m, l.formatLong);
24639
24639
  }
24640
24640
  return m;
24641
24641
  }).join("").match(GC), f = [];
24642
24642
  for (let m of v) {
24643
24643
  !(a != null && a.useAdditionalWeekYearTokens) && Eh(m) && Wo(m, t, e), !(a != null && a.useAdditionalDayOfYearTokens) && Ih(m) && Wo(m, t, e);
24644
- const p = m[0], E = qC[p];
24644
+ const w = m[0], E = qC[w];
24645
24645
  if (E) {
24646
24646
  const { incompatibleTokens: _ } = E;
24647
24647
  if (Array.isArray(_)) {
24648
24648
  const V = f.find(
24649
- (z) => _.includes(z.token) || z.token === p
24649
+ (z) => _.includes(z.token) || z.token === w
24650
24650
  );
24651
24651
  if (V)
24652
24652
  throw new RangeError(
@@ -24656,7 +24656,7 @@ function Uo(e, t, n, a) {
24656
24656
  throw new RangeError(
24657
24657
  `The format string mustn't contain \`${m}\` and any other token at the same time`
24658
24658
  );
24659
- f.push({ token: p, fullToken: m });
24659
+ f.push({ token: w, fullToken: m });
24660
24660
  const P = E.run(
24661
24661
  e,
24662
24662
  m,
@@ -24667,11 +24667,11 @@ function Uo(e, t, n, a) {
24667
24667
  return ht(n, NaN);
24668
24668
  d.push(P.setter), e = P.rest;
24669
24669
  } else {
24670
- if (p.match(XC))
24670
+ if (w.match(XC))
24671
24671
  throw new RangeError(
24672
- "Format string contains an unescaped latin alphabet character `" + p + "`"
24672
+ "Format string contains an unescaped latin alphabet character `" + w + "`"
24673
24673
  );
24674
- if (m === "''" ? m = "'" : p === "'" && (m = QC(m)), e.indexOf(m) === 0)
24674
+ if (m === "''" ? m = "'" : w === "'" && (m = QC(m)), e.indexOf(m) === 0)
24675
24675
  e = e.slice(m.length);
24676
24676
  else
24677
24677
  return ht(n, NaN);
@@ -24679,8 +24679,8 @@ function Uo(e, t, n, a) {
24679
24679
  }
24680
24680
  if (e.length > 0 && JC.test(e))
24681
24681
  return ht(n, NaN);
24682
- const h = d.map((m) => m.priority).sort((m, p) => p - m).filter((m, p, E) => E.indexOf(m) === p).map(
24683
- (m) => d.filter((p) => p.priority === m).sort((p, E) => E.subPriority - p.subPriority)
24682
+ const h = d.map((m) => m.priority).sort((m, w) => w - m).filter((m, w, E) => E.indexOf(m) === w).map(
24683
+ (m) => d.filter((w) => w.priority === m).sort((w, E) => E.subPriority - w.subPriority)
24684
24684
  ).map((m) => m[0]);
24685
24685
  let c = Oe(n);
24686
24686
  if (isNaN(c.getTime()))
@@ -24689,8 +24689,8 @@ function Uo(e, t, n, a) {
24689
24689
  for (const m of h) {
24690
24690
  if (!m.validate(c, u))
24691
24691
  return ht(n, NaN);
24692
- const p = m.set(c, o, u);
24693
- Array.isArray(p) ? (c = p[0], Object.assign(o, p[1])) : c = p;
24692
+ const w = m.set(c, o, u);
24693
+ Array.isArray(w) ? (c = w[0], Object.assign(o, w[1])) : c = w;
24694
24694
  }
24695
24695
  return ht(n, c);
24696
24696
  }
@@ -25375,7 +25375,7 @@ const ux = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
25375
25375
  return e.format ? e.format : e.monthPicker ? "MM/yyyy" : e.timePicker ? t() : e.weekPicker ? `${((M = g.value) == null ? void 0 : M.type) === "iso" ? "RR" : "ww"}-yyyy` : e.yearPicker ? "yyyy" : e.quarterPicker ? "QQQ/yyyy" : e.enableTimePicker ? `MM/dd/yyyy, ${t()}` : "MM/dd/yyyy";
25376
25376
  }, a = (M) => Zh(M, e.enableSeconds), r = () => T.value.enabled ? e.startTime && Array.isArray(e.startTime) ? [a(e.startTime[0]), a(e.startTime[1])] : null : e.startTime && !Array.isArray(e.startTime) ? a(e.startTime) : null, l = k(() => Sx(e.multiCalendars)), i = k(() => r()), s = k(() => px(e.ariaLabels)), u = k(() => Tx(e.filters)), d = k(() => Cx(e.transitions)), v = k(() => Mx(e.actionRow)), f = k(
25377
25377
  () => kx(e.previewFormat, e.format, n())
25378
- ), h = k(() => xx(e.textInput)), c = k(() => Ax(e.inline)), o = k(() => Dx(e.config)), y = k(() => _x(e.highlight)), g = k(() => Ix(e.weekNumbers)), w = k(() => Vx(e.timezone, e.emitTimezone)), x = k(() => $x(e.multiDates, e.multiDatesLimit)), C = k(
25378
+ ), h = k(() => xx(e.textInput)), c = k(() => Ax(e.inline)), o = k(() => Dx(e.config)), y = k(() => _x(e.highlight)), g = k(() => Ix(e.weekNumbers)), p = k(() => Vx(e.timezone, e.emitTimezone)), x = k(() => $x(e.multiDates, e.multiDatesLimit)), C = k(
25379
25379
  () => Lx(
25380
25380
  e.minDate,
25381
25381
  e.maxDate,
@@ -25383,7 +25383,7 @@ const ux = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
25383
25383
  e.allowedDates,
25384
25384
  y.value,
25385
25385
  e.markers,
25386
- w.value
25386
+ p.value
25387
25387
  )
25388
25388
  ), T = k(
25389
25389
  () => Ex(e.range, {
@@ -25414,7 +25414,7 @@ const ux = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
25414
25414
  defaultedWeekNumbers: g,
25415
25415
  defaultedRange: T,
25416
25416
  propDates: C,
25417
- defaultedTz: w,
25417
+ defaultedTz: p,
25418
25418
  defaultedMultiDates: x,
25419
25419
  getDefaultPattern: n,
25420
25420
  getDefaultStartTime: r
@@ -25448,33 +25448,33 @@ const ux = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
25448
25448
  hours: Jn(I),
25449
25449
  minutes: ya(I),
25450
25450
  seconds: t.enableSeconds ? jr(I) : 0
25451
- } : null, y = (I) => t.modelType ? Q(I) : { month: ot(I), year: nt(I) }, g = (I) => Array.isArray(I) ? s.value.enabled ? I.map((U) => w(U, da(me(), U))) : ki(
25451
+ } : null, y = (I) => t.modelType ? Q(I) : { month: ot(I), year: nt(I) }, g = (I) => Array.isArray(I) ? s.value.enabled ? I.map((U) => p(U, da(me(), U))) : ki(
25452
25452
  () => [
25453
25453
  da(me(), I[0]),
25454
25454
  I[1] ? da(me(), I[1]) : Lr(l.value.partialRange)
25455
25455
  ],
25456
25456
  l.value.enabled
25457
- ) : da(me(), +I), w = (I, U) => (typeof I == "string" || typeof I == "number") && t.modelType ? Z(I) : U, x = (I) => Array.isArray(I) ? [
25458
- w(
25457
+ ) : da(me(), +I), p = (I, U) => (typeof I == "string" || typeof I == "number") && t.modelType ? Z(I) : U, x = (I) => Array.isArray(I) ? [
25458
+ p(
25459
25459
  I[0],
25460
25460
  Za(null, +I[0].hours, +I[0].minutes, I[0].seconds)
25461
25461
  ),
25462
- w(
25462
+ p(
25463
25463
  I[1],
25464
25464
  Za(null, +I[1].hours, +I[1].minutes, I[1].seconds)
25465
25465
  )
25466
- ] : w(I, Za(null, I.hours, I.minutes, I.seconds)), C = (I) => {
25466
+ ] : p(I, Za(null, I.hours, I.minutes, I.seconds)), C = (I) => {
25467
25467
  const U = Dt(me(), { date: 1 });
25468
- return Array.isArray(I) ? s.value.enabled ? I.map((te) => w(te, Aa(U, +te.month, +te.year))) : ki(
25468
+ return Array.isArray(I) ? s.value.enabled ? I.map((te) => p(te, Aa(U, +te.month, +te.year))) : ki(
25469
25469
  () => [
25470
- w(I[0], Aa(U, +I[0].month, +I[0].year)),
25471
- w(
25470
+ p(I[0], Aa(U, +I[0].month, +I[0].year)),
25471
+ p(
25472
25472
  I[1],
25473
25473
  I[1] ? Aa(U, +I[1].month, +I[1].year) : Lr(l.value.partialRange)
25474
25474
  )
25475
25475
  ],
25476
25476
  l.value.enabled
25477
- ) : w(I, Aa(U, +I.month, +I.year));
25477
+ ) : p(I, Aa(U, +I.month, +I.year));
25478
25478
  }, T = (I) => {
25479
25479
  if (Array.isArray(I))
25480
25480
  return I.map((U) => Z(U));
@@ -25496,13 +25496,13 @@ const ux = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
25496
25496
  l.value.enabled
25497
25497
  ) : Z(I), m = () => {
25498
25498
  Array.isArray(a.value) && l.value.enabled && a.value.length === 1 && a.value.push(Lr(l.value.partialRange));
25499
- }, p = () => {
25499
+ }, w = () => {
25500
25500
  const I = a.value;
25501
25501
  return [
25502
25502
  Q(I[0]),
25503
25503
  I[1] ? Q(I[1]) : Lr(l.value.partialRange)
25504
25504
  ];
25505
- }, E = () => a.value[1] ? p() : Q(nn(a.value[0])), _ = () => (a.value || []).map((I) => Q(I)), P = () => (m(), t.modelAuto ? E() : s.value.enabled ? _() : Array.isArray(a.value) ? ki(() => p(), l.value.enabled) : Q(nn(a.value))), V = (I) => !I || Array.isArray(I) && !I.length ? null : t.timePicker ? x(nn(I)) : t.monthPicker ? C(nn(I)) : t.yearPicker ? g(nn(I)) : s.value.enabled ? T(nn(I)) : t.weekPicker ? M(nn(I)) : b(nn(I)), z = (I) => {
25505
+ }, E = () => a.value[1] ? w() : Q(nn(a.value[0])), _ = () => (a.value || []).map((I) => Q(I)), P = () => (m(), t.modelAuto ? E() : s.value.enabled ? _() : Array.isArray(a.value) ? ki(() => w(), l.value.enabled) : Q(nn(a.value))), V = (I) => !I || Array.isArray(I) && !I.length ? null : t.timePicker ? x(nn(I)) : t.monthPicker ? C(nn(I)) : t.yearPicker ? g(nn(I)) : s.value.enabled ? T(nn(I)) : t.weekPicker ? M(nn(I)) : b(nn(I)), z = (I) => {
25506
25506
  const U = V(I);
25507
25507
  qo(nn(U)) ? (a.value = nn(U), K()) : (a.value = null, d.value = "");
25508
25508
  }, G = () => {
@@ -25596,7 +25596,7 @@ const Rx = ({
25596
25596
  v.value.left = `${R}px`;
25597
25597
  }, g = (R, N) => {
25598
25598
  i.position === $r.left && y(R), i.position === $r.right && o(R, N), i.position === $r.center && (v.value.left = `${R + N / 2 - u.value.width / 2}px`);
25599
- }, w = (R) => {
25599
+ }, p = (R) => {
25600
25600
  const { width: N, height: K } = R.getBoundingClientRect(), { top: Z, left: Q } = i.altPosition ? i.altPosition(R) : c(R);
25601
25601
  return { top: +Z, left: +Q, width: N, height: K };
25602
25602
  }, x = () => {
@@ -25618,16 +25618,16 @@ const Rx = ({
25618
25618
  return P();
25619
25619
  }
25620
25620
  }, M = ({ inputEl: R, left: N, width: K }) => {
25621
- window.screen.width > 768 && !d.value && g(N, K), p(R);
25621
+ window.screen.width > 768 && !d.value && g(N, K), w(R);
25622
25622
  }, b = (R) => {
25623
- const { top: N, left: K, height: Z, width: Q } = w(R);
25623
+ const { top: N, left: K, height: Z, width: Q } = p(R);
25624
25624
  v.value.top = `${Z + N + +i.offset}px`, f.value = !1, d.value || (v.value.left = `${K + Q / 2 - u.value.width / 2}px`), M({ inputEl: R, left: K, width: Q });
25625
25625
  }, m = (R) => {
25626
- const { top: N, left: K, width: Z } = w(R);
25626
+ const { top: N, left: K, width: Z } = p(R);
25627
25627
  v.value.top = `${N - +i.offset - u.value.height}px`, f.value = !0, M({ inputEl: R, left: K, width: Z });
25628
- }, p = (R) => {
25628
+ }, w = (R) => {
25629
25629
  if (i.autoPosition) {
25630
- const { left: N, width: K } = w(R), { left: Z, right: Q } = u.value;
25630
+ const { left: N, width: K } = p(R), { left: Z, right: Q } = u.value;
25631
25631
  if (!d.value) {
25632
25632
  if (Math.abs(Z) !== Math.abs(Q)) {
25633
25633
  if (Z <= 0)
@@ -25783,7 +25783,7 @@ const Rx = ({
25783
25783
  }, y = (D) => {
25784
25784
  const I = Array.isArray(e.value) ? e.value[0] : null;
25785
25785
  return D ? !Rt(d.value ?? null, I) : !0;
25786
- }, g = (D, I = !0) => (s.value.enabled || t.weekPicker) && Array.isArray(e.value) && e.value.length === 2 ? t.hideOffsetDates && !D.current ? !1 : ut(me(D.value), e.value[I ? 0 : 1]) : s.value.enabled ? o(D, I) && y(I) || ut(D.value, Array.isArray(e.value) ? e.value[0] : null) && c(I) : !1, w = (D, I, U) => Array.isArray(e.value) && e.value[0] && e.value.length === 1 ? D ? !1 : U ? Wt(e.value[0], I.value) : Rt(e.value[0], I.value) : !1, x = (D) => !e.value || t.hideOffsetDates && !D.current ? !1 : s.value.enabled ? t.modelAuto && Array.isArray(e.value) ? ut(D.value, e.value[0] ? e.value[0] : v.value) : !1 : a.value.enabled && Array.isArray(e.value) ? e.value.some((I) => ut(I, D.value)) : ut(D.value, e.value ? e.value : v.value), C = (D) => {
25786
+ }, g = (D, I = !0) => (s.value.enabled || t.weekPicker) && Array.isArray(e.value) && e.value.length === 2 ? t.hideOffsetDates && !D.current ? !1 : ut(me(D.value), e.value[I ? 0 : 1]) : s.value.enabled ? o(D, I) && y(I) || ut(D.value, Array.isArray(e.value) ? e.value[0] : null) && c(I) : !1, p = (D, I, U) => Array.isArray(e.value) && e.value[0] && e.value.length === 1 ? D ? !1 : U ? Wt(e.value[0], I.value) : Rt(e.value[0], I.value) : !1, x = (D) => !e.value || t.hideOffsetDates && !D.current ? !1 : s.value.enabled ? t.modelAuto && Array.isArray(e.value) ? ut(D.value, e.value[0] ? e.value[0] : v.value) : !1 : a.value.enabled && Array.isArray(e.value) ? e.value.some((I) => ut(I, D.value)) : ut(D.value, e.value ? e.value : v.value), C = (D) => {
25787
25787
  if (s.value.autoRange || t.weekPicker) {
25788
25788
  if (d.value) {
25789
25789
  if (t.hideOffsetDates && !D.current)
@@ -25817,7 +25817,7 @@ const Rx = ({
25817
25817
  return !1;
25818
25818
  }
25819
25819
  return !1;
25820
- }, b = (D) => bs(e.value, d.value, D.value), m = () => t.modelAuto && Array.isArray(t.internalModelValue) ? !!t.internalModelValue[0] : !1, p = () => t.modelAuto ? zh(t.internalModelValue) : !0, E = (D) => {
25820
+ }, b = (D) => bs(e.value, d.value, D.value), m = () => t.modelAuto && Array.isArray(t.internalModelValue) ? !!t.internalModelValue[0] : !1, w = () => t.modelAuto ? zh(t.internalModelValue) : !0, E = (D) => {
25821
25821
  if (t.weekPicker)
25822
25822
  return !1;
25823
25823
  const I = s.value.enabled ? !g(D) && !g(D, !1) : !0;
@@ -25828,7 +25828,7 @@ const Rx = ({
25828
25828
  }, z = (D) => {
25829
25829
  var I;
25830
25830
  return typeof r.value == "function" ? r.value(D.value) : (I = r.value.weekdays) == null ? void 0 : I.includes(D.value.getDay());
25831
- }, G = (D) => (s.value.enabled || t.weekPicker) && (!(n.value.count > 0) || D.current) && p() && !(!D.current && t.hideOffsetDates) && !x(D) ? b(D) : !1, R = (D) => {
25831
+ }, G = (D) => (s.value.enabled || t.weekPicker) && (!(n.value.count > 0) || D.current) && w() && !(!D.current && t.hideOffsetDates) && !x(D) ? b(D) : !1, R = (D) => {
25832
25832
  const { isRangeStart: I, isRangeEnd: U } = Q(D), te = s.value.enabled ? I || U : !1;
25833
25833
  return {
25834
25834
  dp__cell_offset: !D.current,
@@ -25871,7 +25871,7 @@ const Rx = ({
25871
25871
  ...B(D)
25872
25872
  };
25873
25873
  }, Q = (D) => {
25874
- const I = n.value.count > 0 ? D.current && g(D) && p() : g(D) && p(), U = n.value.count > 0 ? D.current && g(D, !1) && p() : g(D, !1) && p();
25874
+ const I = n.value.count > 0 ? D.current && g(D) && w() : g(D) && w(), U = n.value.count > 0 ? D.current && g(D, !1) && w() : g(D, !1) && w();
25875
25875
  return { isRangeStart: I, isRangeEnd: U };
25876
25876
  }, F = (D) => {
25877
25877
  const { isRangeStart: I, isRangeEnd: U } = Q(D);
@@ -25880,8 +25880,8 @@ const Rx = ({
25880
25880
  dp__range_end: U,
25881
25881
  dp__range_between: G(D),
25882
25882
  dp__date_hover: E(D),
25883
- dp__date_hover_start: w(E(D), D, !0),
25884
- dp__date_hover_end: w(E(D), D, !1)
25883
+ dp__date_hover_start: p(E(D), D, !0),
25884
+ dp__date_hover_end: p(E(D), D, !1)
25885
25885
  };
25886
25886
  }, B = (D) => ({
25887
25887
  ...F(D),
@@ -25926,7 +25926,7 @@ const Rx = ({
25926
25926
  return Z <= +n.value.maxRange;
25927
25927
  }
25928
25928
  return !0;
25929
- }, w = () => !e.enableTimePicker || e.monthPicker || e.yearPicker || e.ignoreTimeValidation, x = (V) => Array.isArray(V) ? [V[0] ? ao(V[0]) : null, V[1] ? ao(V[1]) : null] : ao(V), C = (V, z, G) => V.find(
25929
+ }, p = () => !e.enableTimePicker || e.monthPicker || e.yearPicker || e.ignoreTimeValidation, x = (V) => Array.isArray(V) ? [V[0] ? ao(V[0]) : null, V[1] ? ao(V[1]) : null] : ao(V), C = (V, z, G) => V.find(
25930
25930
  (R) => +R.hours === Jn(z) && R.minutes === "*" ? !0 : +R.minutes === ya(z) && +R.hours === Jn(z)
25931
25931
  ) && G, T = (V, z, G) => {
25932
25932
  const [R, N] = V, [K, Z] = z;
@@ -25937,9 +25937,9 @@ const Rx = ({
25937
25937
  }, b = (V, z) => {
25938
25938
  const G = Array.isArray(z) ? [br(z[0]), z[1] ? br(z[1]) : void 0] : br(z), R = !e.disabledTimes(G);
25939
25939
  return V && R;
25940
- }, m = (V, z) => e.disabledTimes ? Array.isArray(e.disabledTimes) ? M(z, V) : b(z, V) : z, p = (V) => {
25940
+ }, m = (V, z) => e.disabledTimes ? Array.isArray(e.disabledTimes) ? M(z, V) : b(z, V) : z, w = (V) => {
25941
25941
  let z = !0;
25942
- if (!V || w())
25942
+ if (!V || p())
25943
25943
  return !0;
25944
25944
  const G = !a.value.minDate && !a.value.maxDate ? x(V) : V;
25945
25945
  return (e.maxTime || a.value.maxDate) && (z = nf(
@@ -25973,14 +25973,14 @@ const Rx = ({
25973
25973
  z = Rt(G, R) || ut(G, R);
25974
25974
  }
25975
25975
  return z;
25976
- }, _ = k(() => (V) => !e.enableTimePicker || e.ignoreTimeValidation ? !0 : p(V)), P = k(() => (V) => e.monthPicker ? Array.isArray(V) && (n.value.enabled || r.value.enabled) ? !V.filter((z) => !E(z)).length : E(V) : !0);
25976
+ }, _ = k(() => (V) => !e.enableTimePicker || e.ignoreTimeValidation ? !0 : w(V)), P = k(() => (V) => e.monthPicker ? Array.isArray(V) && (n.value.enabled || r.value.enabled) ? !V.filter((z) => !E(z)).length : E(V) : !0);
25977
25977
  return {
25978
25978
  isDisabled: h,
25979
25979
  validateDate: i,
25980
25980
  validateMonthYearInRange: v,
25981
25981
  isDateRangeAllowed: c,
25982
25982
  checkMinMaxRange: g,
25983
- isValidTime: p,
25983
+ isValidTime: w,
25984
25984
  isTimeValid: _,
25985
25985
  isMonthValid: P
25986
25986
  };
@@ -26192,7 +26192,7 @@ const Rx = ({
26192
26192
  defaultedMultiDates: v,
26193
26193
  getDefaultPattern: f,
26194
26194
  getDefaultStartTime: h
26195
- } = $t(r), { checkMinMaxRange: c } = lr(r), o = W(), y = W(null), g = W(!1), w = W(!1), x = k(
26195
+ } = $t(r), { checkMinMaxRange: c } = lr(r), o = W(), y = W(null), g = W(!1), p = W(!1), x = k(
26196
26196
  () => ({
26197
26197
  dp__pointer: !r.disabled && !r.readonly && !l.value.enabled,
26198
26198
  dp__disabled: r.disabled,
@@ -26214,7 +26214,7 @@ const Rx = ({
26214
26214
  l.value.format ?? f(),
26215
26215
  K ?? Zh({}, r.enableSeconds),
26216
26216
  r.inputValue,
26217
- w.value,
26217
+ p.value,
26218
26218
  r.formatLocale
26219
26219
  );
26220
26220
  }, M = (N) => {
@@ -26224,7 +26224,7 @@ const Rx = ({
26224
26224
  c(B, L, 0) && (o.value = F ? L : null);
26225
26225
  }
26226
26226
  }, b = () => {
26227
- w.value = !0;
26227
+ p.value = !0;
26228
26228
  }, m = (N) => {
26229
26229
  if (d.value.enabled)
26230
26230
  M(N);
@@ -26233,10 +26233,10 @@ const Rx = ({
26233
26233
  o.value = K.map((Z) => T(Z.trim())).filter((Z) => Z);
26234
26234
  } else
26235
26235
  o.value = T(N);
26236
- }, p = (N) => {
26236
+ }, w = (N) => {
26237
26237
  var K;
26238
26238
  const Z = typeof N == "string" ? N : (K = N.target) == null ? void 0 : K.value;
26239
- Z !== "" ? (l.value.openMenu && !r.isMenuOpen && a("open"), m(Z), a("set-input-date", o.value)) : C(), w.value = !1, a("update:input-value", Z);
26239
+ Z !== "" ? (l.value.openMenu && !r.isMenuOpen && a("open"), m(Z), a("set-input-date", o.value)) : C(), p.value = !1, a("update:input-value", Z);
26240
26240
  }, E = (N) => {
26241
26241
  l.value.enabled ? (m(N.target.value), l.value.enterSubmit && qo(o.value) && r.inputValue !== "" ? (a("set-input-date", o.value, !0), o.value = null) : l.value.enterSubmit && r.inputValue === "" && (o.value = null, a("clear"))) : V(N);
26242
26242
  }, _ = (N) => {
@@ -26276,7 +26276,7 @@ const Rx = ({
26276
26276
  key: 0,
26277
26277
  value: e.inputValue,
26278
26278
  isMenuOpen: e.isMenuOpen,
26279
- onInput: p,
26279
+ onInput: w,
26280
26280
  onEnter: E,
26281
26281
  onTab: _,
26282
26282
  onClear: G,
@@ -26304,7 +26304,7 @@ const Rx = ({
26304
26304
  "aria-label": (Z = A(i)) == null ? void 0 : Z.input,
26305
26305
  "aria-disabled": N.disabled || void 0,
26306
26306
  "aria-invalid": N.state === !1 ? !0 : void 0,
26307
- onInput: p,
26307
+ onInput: w,
26308
26308
  onKeydown: [
26309
26309
  Ze(E, ["enter"]),
26310
26310
  Ze(_, ["tab"]),
@@ -26364,21 +26364,21 @@ const Rx = ({
26364
26364
  defaultedRange: d,
26365
26365
  defaultedMultiDates: v,
26366
26366
  getDefaultPattern: f
26367
- } = $t(a), { isTimeValid: h, isMonthValid: c } = lr(a), { buildMatrix: o } = rr(), y = W(null), g = W(null), w = W(!1), x = W({}), C = W(null), T = W(null);
26367
+ } = $t(a), { isTimeValid: h, isMonthValid: c } = lr(a), { buildMatrix: o } = rr(), y = W(null), g = W(null), p = W(!1), x = W({}), C = W(null), T = W(null);
26368
26368
  At(() => {
26369
26369
  a.arrowNavigation && o([Qt(y), Qt(g)], "actionRow"), M(), window.addEventListener("resize", M);
26370
26370
  }), ns(() => {
26371
26371
  window.removeEventListener("resize", M);
26372
26372
  });
26373
26373
  const M = () => {
26374
- w.value = !1, setTimeout(() => {
26374
+ p.value = !1, setTimeout(() => {
26375
26375
  var R, N;
26376
26376
  const K = (R = C.value) == null ? void 0 : R.getBoundingClientRect(), Z = (N = T.value) == null ? void 0 : N.getBoundingClientRect();
26377
- K && Z && (x.value.maxWidth = `${Z.width - K.width - 20}px`), w.value = !0;
26377
+ K && Z && (x.value.maxWidth = `${Z.width - K.width - 20}px`), p.value = !0;
26378
26378
  }, 0);
26379
26379
  }, b = k(() => d.value.enabled && !d.value.partialRange && a.internalModelValue ? a.internalModelValue.length === 2 : !0), m = k(
26380
26380
  () => !h.value(a.internalModelValue) || !c.value(a.internalModelValue) || !b.value
26381
- ), p = () => {
26381
+ ), w = () => {
26382
26382
  const R = l.value;
26383
26383
  return a.timePicker || a.monthPicker, R(nn(a.internalModelValue));
26384
26384
  }, E = () => {
@@ -26391,7 +26391,7 @@ const Rx = ({
26391
26391
  s.value.rangeSeparator,
26392
26392
  a.modelAuto,
26393
26393
  f()
26394
- ), P = k(() => !a.internalModelValue || !a.menuMount ? "" : typeof l.value == "string" ? Array.isArray(a.internalModelValue) ? a.internalModelValue.length === 2 && a.internalModelValue[1] ? E() : v.value.enabled ? a.internalModelValue.map((R) => `${_(R)}`) : a.modelAuto ? `${_(a.internalModelValue[0])}` : `${_(a.internalModelValue[0])} -` : _(a.internalModelValue) : p()), V = () => v.value.enabled ? "; " : " - ", z = k(
26394
+ ), P = k(() => !a.internalModelValue || !a.menuMount ? "" : typeof l.value == "string" ? Array.isArray(a.internalModelValue) ? a.internalModelValue.length === 2 && a.internalModelValue[1] ? E() : v.value.enabled ? a.internalModelValue.map((R) => `${_(R)}`) : a.modelAuto ? `${_(a.internalModelValue[0])}` : `${_(a.internalModelValue[0])} -` : _(a.internalModelValue) : w()), V = () => v.value.enabled ? "; " : " - ", z = k(
26395
26395
  () => Array.isArray(P.value) ? P.value.join(V()) : P.value
26396
26396
  ), G = () => {
26397
26397
  h.value(a.internalModelValue) && c.value(a.internalModelValue) && b.value ? n("select-date") : n("invalid-select");
@@ -26413,11 +26413,11 @@ const Rx = ({
26413
26413
  title: z.value,
26414
26414
  style: vn(x.value)
26415
26415
  }, [
26416
- R.$slots["action-preview"] && w.value ? de(R.$slots, "action-preview", {
26416
+ R.$slots["action-preview"] && p.value ? de(R.$slots, "action-preview", {
26417
26417
  key: 0,
26418
26418
  value: R.internalModelValue
26419
26419
  }) : re("", !0),
26420
- !R.$slots["action-preview"] && w.value ? (O(), ie(xe, { key: 1 }, [
26420
+ !R.$slots["action-preview"] && p.value ? (O(), ie(xe, { key: 1 }, [
26421
26421
  Xe(ze(z.value), 1)
26422
26422
  ], 64)) : re("", !0)
26423
26423
  ], 12, Gx)) : re("", !0),
@@ -26496,7 +26496,7 @@ const Rx = ({
26496
26496
  setup(e, { expose: t, emit: n }) {
26497
26497
  const { setSelectionGrid: a, buildMultiLevelMatrix: r, setMonthPicker: l } = rr(), i = n, s = e, { defaultedAriaLabels: u, defaultedTextInput: d, defaultedConfig: v } = $t(
26498
26498
  s
26499
- ), { hideNavigationButtons: f } = ws(), h = W(!1), c = W(null), o = W(null), y = W([]), g = W(), w = W(null), x = W(0), C = W(null);
26499
+ ), { hideNavigationButtons: f } = ws(), h = W(!1), c = W(null), o = W(null), y = W([]), g = W(), p = W(null), x = W(0), C = W(null);
26500
26500
  yf(() => {
26501
26501
  c.value = null;
26502
26502
  }), At(() => {
@@ -26517,7 +26517,7 @@ const Rx = ({
26517
26517
  })
26518
26518
  ), m = k(
26519
26519
  () => s.useRelative ? { height: `${s.height}px`, width: "260px" } : void 0
26520
- ), p = k(() => ({
26520
+ ), w = k(() => ({
26521
26521
  dp__overlay_col: !0
26522
26522
  })), E = k(
26523
26523
  () => ({
@@ -26542,7 +26542,7 @@ const Rx = ({
26542
26542
  );
26543
26543
  const P = (F = !0) => {
26544
26544
  vt().then(() => {
26545
- const B = Qt(c), L = Qt(o), D = Qt(w), I = Qt(C), U = D ? D.getBoundingClientRect().height : 0;
26545
+ const B = Qt(c), L = Qt(o), D = Qt(p), I = Qt(C), U = D ? D.getBoundingClientRect().height : 0;
26546
26546
  L && (L.getBoundingClientRect().height ? x.value = L.getBoundingClientRect().height - U : x.value = v.value.modeHeight - U), B && I && F && (I.scrollTop = B.offsetTop - I.offsetTop - (x.value / 2 - B.getBoundingClientRect().height) - U);
26547
26547
  });
26548
26548
  }, V = (F) => {
@@ -26555,7 +26555,7 @@ const Rx = ({
26555
26555
  F && ((B.active || B.value === s.focusValue) && (c.value = F), s.arrowNavigation && (Array.isArray(y.value[L]) ? y.value[L][D] = F : y.value[L] = [F], N()));
26556
26556
  }, N = () => {
26557
26557
  var F, B;
26558
- const L = (F = s.headerRefs) != null && F.length ? [s.headerRefs].concat(y.value) : y.value.concat([s.skipButtonRef ? [] : [w.value]]);
26558
+ const L = (F = s.headerRefs) != null && F.length ? [s.headerRefs].concat(y.value) : y.value.concat([s.skipButtonRef ? [] : [p.value]]);
26559
26559
  r(nn(L), (B = s.headerRefs) != null && B.length ? "monthPicker" : "selectionGrid");
26560
26560
  }, K = (F) => {
26561
26561
  s.arrowNavigation || Ga(F, v.value, !0);
@@ -26607,7 +26607,7 @@ const Rx = ({
26607
26607
  ref_for: !0,
26608
26608
  ref: (be) => R(be, U, I, te),
26609
26609
  role: "gridcell",
26610
- class: at(p.value),
26610
+ class: at(w.value),
26611
26611
  "aria-selected": U.active || void 0,
26612
26612
  "aria-disabled": U.disabled || void 0,
26613
26613
  tabindex: "0",
@@ -26635,7 +26635,7 @@ const Rx = ({
26635
26635
  F.$slots["button-icon"] ? tn((O(), ie("button", {
26636
26636
  key: 0,
26637
26637
  ref_key: "toggleButton",
26638
- ref: w,
26638
+ ref: p,
26639
26639
  type: "button",
26640
26640
  "aria-label": (L = A(u)) == null ? void 0 : L.toggleOverlay,
26641
26641
  class: at(E.value),
@@ -26738,12 +26738,12 @@ const Rx = ({
26738
26738
  n("handle-year", y);
26739
26739
  };
26740
26740
  return (y, g) => {
26741
- var w, x, C;
26741
+ var p, x, C;
26742
26742
  return O(), ie("div", tT, [
26743
26743
  A(l)(A(s), e.instance) ? (O(), se(Tl, {
26744
26744
  key: 0,
26745
26745
  ref: "mpPrevIconRef",
26746
- "aria-label": (w = A(u)) == null ? void 0 : w.prevYear,
26746
+ "aria-label": (p = A(u)) == null ? void 0 : p.prevYear,
26747
26747
  disabled: e.isDisabled(!1),
26748
26748
  onActivate: g[0] || (g[0] = (T) => o(!1))
26749
26749
  }, {
@@ -26852,12 +26852,12 @@ const Rx = ({
26852
26852
  emit: d
26853
26853
  }) => {
26854
26854
  const v = k(() => tc(l.yearRange, l.locale, l.reverseYears)), f = W([!1]), h = k(() => (b, m) => {
26855
- const p = Dt(Un(/* @__PURE__ */ new Date()), {
26855
+ const w = Dt(Un(/* @__PURE__ */ new Date()), {
26856
26856
  month: u.value(b),
26857
26857
  year: s.value(b)
26858
26858
  });
26859
26859
  return jh(
26860
- p,
26860
+ w,
26861
26861
  n.value.maxDate,
26862
26862
  n.value.minDate,
26863
26863
  l.preventMinMaxNavigation,
@@ -26885,31 +26885,31 @@ const Rx = ({
26885
26885
  At(() => {
26886
26886
  g(), e.value.count && c();
26887
26887
  });
26888
- const w = (b, m) => {
26888
+ const p = (b, m) => {
26889
26889
  a.value[m].year = b, e.value.count && !e.value.solo && o(m);
26890
26890
  }, x = k(() => (b) => Jr(v.value, (m) => {
26891
- var p;
26891
+ var w;
26892
26892
  const E = s.value(b) === m.value, _ = Fl(
26893
26893
  m.value,
26894
26894
  Xr(n.value.minDate),
26895
26895
  Xr(n.value.maxDate)
26896
- ) || ((p = i.value.years) == null ? void 0 : p.includes(s.value(b))), P = rc(t.value, m.value);
26896
+ ) || ((w = i.value.years) == null ? void 0 : w.includes(s.value(b))), P = rc(t.value, m.value);
26897
26897
  return { active: E, disabled: _, highlighted: P };
26898
26898
  })), C = (b, m) => {
26899
- w(b, m), M(m);
26899
+ p(b, m), M(m);
26900
26900
  }, T = (b, m = !1) => {
26901
26901
  if (!h.value(b, m)) {
26902
- const p = m ? s.value(b) + 1 : s.value(b) - 1;
26903
- w(p, b);
26902
+ const w = m ? s.value(b) + 1 : s.value(b) - 1;
26903
+ p(w, b);
26904
26904
  }
26905
- }, M = (b, m = !1, p) => {
26906
- m || d("reset-flow"), p !== void 0 ? f.value[b] = p : f.value[b] = !f.value[b], f.value || d("overlay-closed");
26905
+ }, M = (b, m = !1, w) => {
26906
+ m || d("reset-flow"), w !== void 0 ? f.value[b] = w : f.value[b] = !f.value[b], f.value || d("overlay-closed");
26907
26907
  };
26908
26908
  return {
26909
26909
  isDisabled: h,
26910
26910
  groupedYears: x,
26911
26911
  showYearPicker: f,
26912
- selectYear: w,
26912
+ selectYear: p,
26913
26913
  toggleYearPicker: M,
26914
26914
  handleYearSelect: C,
26915
26915
  handleYear: T
@@ -26926,13 +26926,13 @@ const Rx = ({
26926
26926
  defaultedTz: d,
26927
26927
  defaultedFilters: v,
26928
26928
  defaultedMultiDates: f
26929
- } = $t(e), { modelValue: h, year: c, month: o, calendars: y } = ri(e, t), g = k(() => Oh(e.formatLocale, e.locale, e.monthNameFormat)), w = W(null), { checkMinMaxRange: x } = lr(e), {
26929
+ } = $t(e), { modelValue: h, year: c, month: o, calendars: y } = ri(e, t), g = k(() => Oh(e.formatLocale, e.locale, e.monthNameFormat)), p = W(null), { checkMinMaxRange: x } = lr(e), {
26930
26930
  selectYear: C,
26931
26931
  groupedYears: T,
26932
26932
  showYearPicker: M,
26933
26933
  toggleYearPicker: b,
26934
26934
  handleYearSelect: m,
26935
- handleYear: p,
26935
+ handleYear: w,
26936
26936
  isDisabled: E
26937
26937
  } = ay({
26938
26938
  modelValue: h,
@@ -26961,7 +26961,7 @@ const Rx = ({
26961
26961
  const U = P();
26962
26962
  if (Array.isArray(h.value) && Array.isArray(U)) {
26963
26963
  const te = z(D, I, 0) || z(D, I, 1), be = Aa(Un(me()), D, c.value(I));
26964
- return bs(h.value, w.value, be) && !te;
26964
+ return bs(h.value, p.value, be) && !te;
26965
26965
  }
26966
26966
  return !1;
26967
26967
  }
@@ -27012,13 +27012,13 @@ const Rx = ({
27012
27012
  }), t("auto-apply");
27013
27013
  },
27014
27014
  setHoverDate: (D, I) => {
27015
- w.value = N(D, I);
27015
+ p.value = N(D, I);
27016
27016
  },
27017
27017
  selectMonth: F,
27018
27018
  selectYear: B,
27019
27019
  toggleYearPicker: b,
27020
27020
  handleYearSelect: m,
27021
- handleYear: p,
27021
+ handleYear: w,
27022
27022
  getModelMonthYear: P
27023
27023
  };
27024
27024
  }, rT = /* @__PURE__ */ tt({
@@ -27057,7 +27057,7 @@ const Rx = ({
27057
27057
  modelValue: o,
27058
27058
  presetDate: y,
27059
27059
  setHoverDate: g,
27060
- selectMonth: w,
27060
+ selectMonth: p,
27061
27061
  selectYear: x,
27062
27062
  toggleYearPicker: C,
27063
27063
  handleYearSelect: T,
@@ -27068,10 +27068,10 @@ const Rx = ({
27068
27068
  modelValue: o,
27069
27069
  year: d,
27070
27070
  getModelMonthYear: b,
27071
- selectMonth: w,
27071
+ selectMonth: p,
27072
27072
  selectYear: x,
27073
27073
  handleYear: M
27074
- }), presetDate: y, toggleYearPicker: (m) => C(0, m) }), (m, p) => (O(), se(Ss, {
27074
+ }), presetDate: y, toggleYearPicker: (m) => C(0, m) }), (m, w) => (O(), se(Ss, {
27075
27075
  "multi-calendars": A(f).count,
27076
27076
  collapse: m.collapse,
27077
27077
  stretch: ""
@@ -27081,7 +27081,7 @@ const Rx = ({
27081
27081
  year: A(d),
27082
27082
  months: A(s)(E),
27083
27083
  years: A(u)(E),
27084
- selectMonth: A(w),
27084
+ selectMonth: A(p),
27085
27085
  selectYear: A(x),
27086
27086
  instance: E
27087
27087
  }))) : (O(), se(li, {
@@ -27095,7 +27095,7 @@ const Rx = ({
27095
27095
  "no-overlay-focus": !!(m.noOverlayFocus || m.textInput),
27096
27096
  "use-relative": "",
27097
27097
  type: "month",
27098
- onSelected: (_) => A(w)(_, E),
27098
+ onSelected: (_) => A(p)(_, E),
27099
27099
  onHoverValue: (_) => A(g)(_, E)
27100
27100
  }, {
27101
27101
  header: j(() => [
@@ -27133,8 +27133,8 @@ const Rx = ({
27133
27133
  o.value,
27134
27134
  Xr(u.value.minDate),
27135
27135
  Xr(u.value.maxDate)
27136
- ) || i.value.years.includes(o.value), w = f(o.value) && !y, x = rc(r.value, o.value);
27137
- return { active: y, disabled: g, isBetween: w, highlighted: x };
27136
+ ) || i.value.years.includes(o.value), p = f(o.value) && !y, x = rc(r.value, o.value);
27137
+ return { active: y, disabled: g, isBetween: p, highlighted: x };
27138
27138
  })), c = (o) => da(Un(/* @__PURE__ */ new Date()), o);
27139
27139
  return {
27140
27140
  groupedYears: h,
@@ -27237,7 +27237,7 @@ const Rx = ({
27237
27237
  hours: !1,
27238
27238
  minutes: !1,
27239
27239
  seconds: !1
27240
- }), y = W("AM"), g = W(null), w = W([]);
27240
+ }), y = W("AM"), g = W(null), p = W([]);
27241
27241
  At(() => {
27242
27242
  a("mounted");
27243
27243
  });
@@ -27254,7 +27254,7 @@ const Rx = ({
27254
27254
  return !r.validateTime(ae, Y);
27255
27255
  }
27256
27256
  return !1;
27257
- }, m = k(() => (ae) => !Q(+r[ae] + +r[`${ae}Increment`], ae) || b(ae, !0)), p = k(() => (ae) => !Q(+r[ae] - +r[`${ae}Increment`], ae) || b(ae, !1)), E = (ae, oe) => ph(Dt(me(), ae), oe), _ = (ae, oe) => tx(Dt(me(), ae), oe), P = k(
27257
+ }, m = k(() => (ae) => !Q(+r[ae] + +r[`${ae}Increment`], ae) || b(ae, !0)), w = k(() => (ae) => !Q(+r[ae] - +r[`${ae}Increment`], ae) || b(ae, !1)), E = (ae, oe) => ph(Dt(me(), ae), oe), _ = (ae, oe) => tx(Dt(me(), ae), oe), P = k(
27258
27258
  () => ({
27259
27259
  dp__time_col: !0,
27260
27260
  dp__time_col_block: !r.timePickerInline,
@@ -27307,8 +27307,8 @@ const Rx = ({
27307
27307
  o[ae] = !0;
27308
27308
  }, be = (ae, oe, Be) => {
27309
27309
  if (ae && r.arrowNavigation) {
27310
- Array.isArray(w.value[oe]) ? w.value[oe][Be] = ae : w.value[oe] = [ae];
27311
- const Y = w.value.reduce(
27310
+ Array.isArray(p.value[oe]) ? p.value[oe][Be] = ae : p.value[oe] = [ae];
27311
+ const Y = p.value.reduce(
27312
27312
  (le, Me) => Me.map((we, Ce) => [...le[Ce] || [], Me[Ce]]),
27313
27313
  []
27314
27314
  );
@@ -27392,7 +27392,7 @@ const Rx = ({
27392
27392
  dp__inc_dec_button: !ae.timePickerInline,
27393
27393
  dp__inc_dec_button_inline: ae.timePickerInline,
27394
27394
  dp__tp_inline_btn_bottom: ae.timePickerInline,
27395
- dp__inc_dec_button_disabled: p.value(Y.type)
27395
+ dp__inc_dec_button_disabled: w.value(Y.type)
27396
27396
  }),
27397
27397
  "aria-label": (Ce = A(s)) == null ? void 0 : Ce.decrementValue(Y.type),
27398
27398
  tabindex: "0",
@@ -27505,7 +27505,7 @@ const Rx = ({
27505
27505
  "am-pm-change"
27506
27506
  ],
27507
27507
  setup(e, { expose: t, emit: n }) {
27508
- const a = n, r = e, { buildMatrix: l, setTimePicker: i } = rr(), s = Sr(), { defaultedTransitions: u, defaultedAriaLabels: d, defaultedTextInput: v, defaultedConfig: f, defaultedRange: h } = $t(r), { transitionName: c, showTransition: o } = ai(u), { hideNavigationButtons: y } = ws(), g = W(null), w = W(null), x = W([]), C = W(null);
27508
+ const a = n, r = e, { buildMatrix: l, setTimePicker: i } = rr(), s = Sr(), { defaultedTransitions: u, defaultedAriaLabels: d, defaultedTextInput: v, defaultedConfig: f, defaultedRange: h } = $t(r), { transitionName: c, showTransition: o } = ai(u), { hideNavigationButtons: y } = ws(), g = W(null), p = W(null), x = W([]), C = W(null);
27509
27509
  At(() => {
27510
27510
  a("mount"), !r.timePicker && r.arrowNavigation ? l([Qt(g.value)], "time") : i(!0, r.timePicker);
27511
27511
  });
@@ -27521,7 +27521,7 @@ const Rx = ({
27521
27521
  else
27522
27522
  N.push(b(0));
27523
27523
  return N;
27524
- }), p = (N, K = !1, Z = "") => {
27524
+ }), w = (N, K = !1, Z = "") => {
27525
27525
  K || a("reset-flow"), M.value = N, a(N ? "overlay-opened" : "overlay-closed"), r.arrowNavigation && i(N), vt(() => {
27526
27526
  Z !== "" && x.value[0] && x.value[0].openChildCmp(Z);
27527
27527
  });
@@ -27541,7 +27541,7 @@ const Rx = ({
27541
27541
  N && N.focus({ preventScroll: !0 });
27542
27542
  }
27543
27543
  };
27544
- return t({ toggleTimePicker: p }), (N, K) => {
27544
+ return t({ toggleTimePicker: w }), (N, K) => {
27545
27545
  var Z;
27546
27546
  return O(), ie("div", bT, [
27547
27547
  !N.timePicker && !N.timePickerInline ? tn((O(), ie("button", {
@@ -27553,10 +27553,10 @@ const Rx = ({
27553
27553
  "aria-label": (Z = A(d)) == null ? void 0 : Z.openTimePicker,
27554
27554
  tabindex: N.noOverlayFocus ? void 0 : 0,
27555
27555
  onKeydown: [
27556
- K[0] || (K[0] = Ze((Q) => p(!0), ["enter"])),
27557
- K[1] || (K[1] = Ze((Q) => p(!0), ["space"]))
27556
+ K[0] || (K[0] = Ze((Q) => w(!0), ["enter"])),
27557
+ K[1] || (K[1] = Ze((Q) => w(!0), ["space"]))
27558
27558
  ],
27559
- onClick: K[2] || (K[2] = (Q) => p(!0))
27559
+ onClick: K[2] || (K[2] = (Q) => w(!0))
27560
27560
  }, [
27561
27561
  N.$slots["clock-icon"] ? de(N.$slots, "clock-icon", { key: 0 }) : re("", !0),
27562
27562
  N.$slots["clock-icon"] ? re("", !0) : (O(), se(A(Xu), { key: 1 }))
@@ -27607,7 +27607,7 @@ const Rx = ({
27607
27607
  hours: F.hours,
27608
27608
  minutes: F.minutes,
27609
27609
  seconds: F.seconds,
27610
- closeTimePickerBtn: w.value,
27610
+ closeTimePickerBtn: p.value,
27611
27611
  disabledTimesConfig: e.disabledTimesConfig,
27612
27612
  disabled: B === 0 ? N.fixedStart : N.fixedEnd
27613
27613
  }, {
@@ -27635,16 +27635,16 @@ const Rx = ({
27635
27635
  !N.timePicker && !N.timePickerInline ? tn((O(), ie("button", {
27636
27636
  key: 2,
27637
27637
  ref_key: "closeTimePickerBtn",
27638
- ref: w,
27638
+ ref: p,
27639
27639
  type: "button",
27640
27640
  class: at(E.value),
27641
27641
  "aria-label": (Q = A(d)) == null ? void 0 : Q.closeTimePicker,
27642
27642
  tabindex: "0",
27643
27643
  onKeydown: [
27644
- K[4] || (K[4] = Ze((F) => p(!1), ["enter"])),
27645
- K[5] || (K[5] = Ze((F) => p(!1), ["space"]))
27644
+ K[4] || (K[4] = Ze((F) => w(!1), ["enter"])),
27645
+ K[5] || (K[5] = Ze((F) => w(!1), ["space"]))
27646
27646
  ],
27647
- onClick: K[6] || (K[6] = (F) => p(!1))
27647
+ onClick: K[6] || (K[6] = (F) => w(!1))
27648
27648
  }, [
27649
27649
  N.$slots["calendar-icon"] ? de(N.$slots, "calendar-icon", { key: 0 }) : re("", !0),
27650
27650
  N.$slots["calendar-icon"] ? re("", !0) : (O(), se(A(fl), { key: 1 }))
@@ -27668,12 +27668,12 @@ const Rx = ({
27668
27668
  Object.keys(t).map((b) => b === C ? [b, T] : [b, t[b]].slice())
27669
27669
  );
27670
27670
  if (d.value && !r.value.disableTimeRangeValidation) {
27671
- const b = (p) => n.value ? Za(
27672
- n.value[p],
27673
- M.hours[p],
27674
- M.minutes[p],
27675
- M.seconds[p]
27676
- ) : null, m = (p) => Zu(n.value[p], 0);
27671
+ const b = (w) => n.value ? Za(
27672
+ n.value[w],
27673
+ M.hours[w],
27674
+ M.minutes[w],
27675
+ M.seconds[w]
27676
+ ) : null, m = (w) => Zu(n.value[w], 0);
27677
27677
  return !(ut(b(0), b(1)) && (Bl(b(0), m(1)) || Rl(b(1), m(0))));
27678
27678
  }
27679
27679
  return !0;
@@ -27692,7 +27692,7 @@ const Rx = ({
27692
27692
  const T = Array.isArray(C), M = T ? [+C[0].hours, +C[1].hours] : +C.hours, b = T ? [+C[0].minutes, +C[1].minutes] : +C.minutes, m = T ? [+C[0].seconds, +C[1].seconds] : +C.seconds;
27693
27693
  u("hours", M), u("minutes", b), e.enableSeconds && u("seconds", m);
27694
27694
  }
27695
- }, w = (C, T) => {
27695
+ }, p = (C, T) => {
27696
27696
  const M = {
27697
27697
  hours: Array.isArray(t.hours) ? t.hours[C] : t.hours,
27698
27698
  disabledArr: []
@@ -27701,11 +27701,11 @@ const Rx = ({
27701
27701
  }, x = k(() => (C, T) => {
27702
27702
  var M;
27703
27703
  if (Array.isArray(e.disabledTimes)) {
27704
- const { disabledArr: b, hours: m } = w(C, T), p = b.filter((E) => +E.hours === m);
27705
- return ((M = p[0]) == null ? void 0 : M.minutes) === "*" ? { hours: [m], minutes: void 0, seconds: void 0 } : {
27704
+ const { disabledArr: b, hours: m } = p(C, T), w = b.filter((E) => +E.hours === m);
27705
+ return ((M = w[0]) == null ? void 0 : M.minutes) === "*" ? { hours: [m], minutes: void 0, seconds: void 0 } : {
27706
27706
  hours: [],
27707
- minutes: (p == null ? void 0 : p.map((E) => +E.minutes)) ?? [],
27708
- seconds: (p == null ? void 0 : p.map((E) => E.seconds ? +E.seconds : void 0)) ?? []
27707
+ minutes: (w == null ? void 0 : w.map((E) => +E.minutes)) ?? [],
27708
+ seconds: (w == null ? void 0 : w.map((E) => E.seconds ? +E.seconds : void 0)) ?? []
27709
27709
  };
27710
27710
  }
27711
27711
  return { hours: [], minutes: [], seconds: [] };
@@ -27744,7 +27744,7 @@ const Rx = ({
27744
27744
  n.value = s(c());
27745
27745
  }, y = (C) => Array.isArray(C) ? [br(me(C[0])), br(me(C[1]))] : [br(C ?? me())], g = (C, T, M) => {
27746
27746
  u("hours", C), u("minutes", T), u("seconds", e.enableSeconds ? M : 0);
27747
- }, w = () => {
27747
+ }, p = () => {
27748
27748
  const [C, T] = y(n.value);
27749
27749
  return l.value.enabled ? g(
27750
27750
  [C.hours, T.hours],
@@ -27754,7 +27754,7 @@ const Rx = ({
27754
27754
  };
27755
27755
  At(() => {
27756
27756
  if (!e.shadow)
27757
- return d(r.value), n.value ? w() : o();
27757
+ return d(r.value), n.value ? p() : o();
27758
27758
  });
27759
27759
  const x = () => {
27760
27760
  Array.isArray(n.value) ? n.value = n.value.map((C, T) => C && s(C, T)) : n.value = s(n.value), t("time-update");
@@ -27834,7 +27834,7 @@ const Rx = ({
27834
27834
  defaultedConfig: d,
27835
27835
  defaultedHighlight: v,
27836
27836
  propDates: f
27837
- } = $t(r), { transitionName: h, showTransition: c } = ai(l), { buildMatrix: o } = rr(), { handleMonthYearChange: y, isDisabled: g, updateMonthYear: w } = Bx(r, a), { showLeftIcon: x, showRightIcon: C } = ws(), T = W(!1), M = W(!1), b = W([null, null, null, null]);
27837
+ } = $t(r), { transitionName: h, showTransition: c } = ai(l), { buildMatrix: o } = rr(), { handleMonthYearChange: y, isDisabled: g, updateMonthYear: p } = Bx(r, a), { showLeftIcon: x, showRightIcon: C } = ws(), T = W(!1), M = W(!1), b = W([null, null, null, null]);
27838
27838
  At(() => {
27839
27839
  a("mount");
27840
27840
  });
@@ -27844,12 +27844,12 @@ const Rx = ({
27844
27844
  const D = B === Yn.month ? Yn.year : Yn.month;
27845
27845
  a("update-month-year", { [B]: L, [D]: r[D] }), B === Yn.month ? R(!0) : N(!0);
27846
27846
  }
27847
- }), p = k(m(Yn.month)), E = k(m(Yn.year)), _ = k(() => (B) => ({
27847
+ }), w = k(m(Yn.month)), E = k(m(Yn.year)), _ = k(() => (B) => ({
27848
27848
  month: r.month,
27849
27849
  year: r.year,
27850
27850
  items: B === Yn.month ? r.months : r.years,
27851
27851
  instance: r.instance,
27852
- updateMonthYear: w,
27852
+ updateMonthYear: p,
27853
27853
  toggle: B === Yn.month ? R : N
27854
27854
  })), P = k(() => r.months.find((L) => L.value === r.month) || { text: "", value: 0 }), V = k(() => Jr(r.months, (B) => {
27855
27855
  const L = r.month === B.value, D = Fl(
@@ -27882,8 +27882,8 @@ const Rx = ({
27882
27882
  type: Yn.month,
27883
27883
  index: 1,
27884
27884
  toggle: R,
27885
- modelValue: p.value,
27886
- updateModelValue: (D) => p.value = D,
27885
+ modelValue: w.value,
27886
+ updateModelValue: (D) => w.value = D,
27887
27887
  text: P.value.text,
27888
27888
  showSelectionGrid: T.value,
27889
27889
  items: V.value,
@@ -27909,7 +27909,7 @@ const Rx = ({
27909
27909
  }), (B, L) => {
27910
27910
  var D, I, U;
27911
27911
  return O(), ie("div", xT, [
27912
- B.$slots["month-year"] ? de(B.$slots, "month-year", Vt(ge({ key: 0 }, { month: e.month, year: e.year, months: e.months, years: e.years, updateMonthYear: A(w), handleMonthYearChange: A(y), instance: e.instance }))) : (O(), ie(xe, { key: 1 }, [
27912
+ B.$slots["month-year"] ? de(B.$slots, "month-year", Vt(ge({ key: 0 }, { month: e.month, year: e.year, months: e.months, years: e.years, updateMonthYear: A(p), handleMonthYearChange: A(y), instance: e.instance }))) : (O(), ie(xe, { key: 1 }, [
27913
27913
  A(x)(A(s), e.instance) && !B.vertical ? (O(), se(Tl, {
27914
27914
  key: 0,
27915
27915
  "aria-label": (D = A(i)) == null ? void 0 : D.prevMonth,
@@ -28088,14 +28088,14 @@ const Rx = ({
28088
28088
  bottom: "",
28089
28089
  left: "",
28090
28090
  transform: ""
28091
- }), o = W([]), y = W(null), g = W(!0), w = W(""), x = W({ startX: 0, endX: 0, startY: 0, endY: 0 }), C = W([]), T = W({ left: "50%" }), M = W(!1), b = k(() => r.calendar ? r.calendar(r.mappedDates) : r.mappedDates), m = k(() => r.dayNames ? Array.isArray(r.dayNames) ? r.dayNames : r.dayNames(r.locale, +r.weekStart) : ax(r.formatLocale, r.locale, +r.weekStart));
28091
+ }), o = W([]), y = W(null), g = W(!0), p = W(""), x = W({ startX: 0, endX: 0, startY: 0, endY: 0 }), C = W([]), T = W({ left: "50%" }), M = W(!1), b = k(() => r.calendar ? r.calendar(r.mappedDates) : r.mappedDates), m = k(() => r.dayNames ? Array.isArray(r.dayNames) ? r.dayNames : r.dayNames(r.locale, +r.weekStart) : ax(r.formatLocale, r.locale, +r.weekStart));
28092
28092
  At(() => {
28093
28093
  a("mount", { cmp: "calendar", refs: o }), s.value.noSwipe || y.value && (y.value.addEventListener("touchstart", Q, { passive: !1 }), y.value.addEventListener("touchend", F, { passive: !1 }), y.value.addEventListener("touchmove", B, { passive: !1 })), r.monthChangeOnScroll && y.value && y.value.addEventListener("wheel", I, { passive: !1 });
28094
28094
  });
28095
- const p = (oe) => oe ? r.vertical ? "vNext" : "next" : r.vertical ? "vPrevious" : "previous", E = (oe, Be) => {
28095
+ const w = (oe) => oe ? r.vertical ? "vNext" : "next" : r.vertical ? "vPrevious" : "previous", E = (oe, Be) => {
28096
28096
  if (r.transitions) {
28097
28097
  const Y = _n(Aa(me(), r.month, r.year));
28098
- w.value = Wt(_n(Aa(me(), oe, Be)), Y) ? i.value[p(!0)] : i.value[p(!1)], g.value = !1, vt(() => {
28098
+ p.value = Wt(_n(Aa(me(), oe, Be)), Y) ? i.value[w(!0)] : i.value[w(!1)], g.value = !1, vt(() => {
28099
28099
  g.value = !0;
28100
28100
  });
28101
28101
  }
@@ -28193,7 +28193,7 @@ const Rx = ({
28193
28193
  ]),
28194
28194
  ET,
28195
28195
  S(pn, {
28196
- name: w.value,
28196
+ name: p.value,
28197
28197
  css: !!oe.transitions
28198
28198
  }, {
28199
28199
  default: j(() => {
@@ -28310,7 +28310,7 @@ const Rx = ({
28310
28310
  };
28311
28311
  }
28312
28312
  }), lf = (e) => Array.isArray(e), BT = (e, t, n, a) => {
28313
- const r = W([]), l = W(/* @__PURE__ */ new Date()), { modelValue: i, calendars: s, time: u } = ri(e, t), { defaultedMultiCalendars: d, defaultedStartTime: v, defaultedRange: f, defaultedTz: h, propDates: c, defaultedMultiDates: o } = $t(e), { validateMonthYearInRange: y, isDisabled: g, isDateRangeAllowed: w, checkMinMaxRange: x } = lr(e), { updateTimeValues: C, getSetDateTime: T, setTime: M, assignStartTime: b, validateTime: m, disabledTimesConfig: p } = ly(e, u, i, a), E = k(
28313
+ const r = W([]), l = W(/* @__PURE__ */ new Date()), { modelValue: i, calendars: s, time: u } = ri(e, t), { defaultedMultiCalendars: d, defaultedStartTime: v, defaultedRange: f, defaultedTz: h, propDates: c, defaultedMultiDates: o } = $t(e), { validateMonthYearInRange: y, isDisabled: g, isDateRangeAllowed: p, checkMinMaxRange: x } = lr(e), { updateTimeValues: C, getSetDateTime: T, setTime: M, assignStartTime: b, validateTime: m, disabledTimesConfig: w } = ly(e, u, i, a), E = k(
28314
28314
  () => (ee) => s.value[ee] ? s.value[ee].month : 0
28315
28315
  ), _ = k(
28316
28316
  () => (ee) => s.value[ee] ? s.value[ee].year : 0
@@ -28468,7 +28468,7 @@ const Rx = ({
28468
28468
  me(ee.value),
28469
28469
  Wn(me(ee.value), +f.value.autoRange)
28470
28470
  ];
28471
- w(Ie) ? (ve && rt(ee.value), r.value = Ie) : t("invalid-date", ee.value);
28471
+ p(Ie) ? (ve && rt(ee.value), r.value = Ie) : t("invalid-date", ee.value);
28472
28472
  }, rt = (ee) => {
28473
28473
  const ve = ot(me(ee)), Ie = nt(me(ee));
28474
28474
  if (P(0, ve, Ie), d.value.count > 0)
@@ -28537,7 +28537,7 @@ const Rx = ({
28537
28537
  month: E,
28538
28538
  year: _,
28539
28539
  time: u,
28540
- disabledTimesConfig: p,
28540
+ disabledTimesConfig: w,
28541
28541
  validateTime: m,
28542
28542
  getCalendarDays: Me,
28543
28543
  getMarker: oe,
@@ -28594,12 +28594,12 @@ const Rx = ({
28594
28594
  handleArrow: o,
28595
28595
  handleScroll: y,
28596
28596
  handleSwipe: g,
28597
- selectDate: w,
28597
+ selectDate: p,
28598
28598
  updateMonthYear: x,
28599
28599
  presetDate: C,
28600
28600
  selectCurrentDate: T,
28601
28601
  updateTime: M
28602
- } = BT(r, a, Q, F), b = Sr(), { setHoverDate: m, getDayClassData: p, clearHoverDate: E } = Ox(u, r), { defaultedMultiCalendars: _ } = $t(r), P = W([]), V = W([]), z = W(null), G = Tn(b, "calendar"), R = Tn(b, "monthYear"), N = Tn(b, "timePicker"), K = (L) => {
28602
+ } = BT(r, a, Q, F), b = Sr(), { setHoverDate: m, getDayClassData: w, clearHoverDate: E } = Ox(u, r), { defaultedMultiCalendars: _ } = $t(r), P = W([]), V = W([]), z = W(null), G = Tn(b, "calendar"), R = Tn(b, "monthYear"), N = Tn(b, "timePicker"), K = (L) => {
28603
28603
  r.shadow || a("mount", L);
28604
28604
  };
28605
28605
  De(
@@ -28613,7 +28613,7 @@ const Rx = ({
28613
28613
  );
28614
28614
  const Z = k(() => (L) => h(i.value(L), s.value(L)).map((D) => ({
28615
28615
  ...D,
28616
- days: D.days.map((I) => (I.marker = c(I), I.classData = p(I), I))
28616
+ days: D.days.map((I) => (I.marker = c(I), I.classData = w(I), I))
28617
28617
  })));
28618
28618
  function Q(L) {
28619
28619
  var D;
@@ -28623,7 +28623,7 @@ const Rx = ({
28623
28623
  a("update-flow-step");
28624
28624
  }
28625
28625
  const B = (L, D = !1) => {
28626
- w(L, D), r.spaceConfirm && a("select-date");
28626
+ p(L, D), r.spaceConfirm && a("select-date");
28627
28627
  };
28628
28628
  return t({
28629
28629
  clearHoverDate: E,
@@ -28650,7 +28650,7 @@ const Rx = ({
28650
28650
  time: d,
28651
28651
  updateTime: M,
28652
28652
  updateMonthYear: x,
28653
- selectDate: w,
28653
+ selectDate: p,
28654
28654
  presetDate: C
28655
28655
  })
28656
28656
  }), (L, D) => (O(), ie(xe, null, [
@@ -28691,7 +28691,7 @@ const Rx = ({
28691
28691
  year: A(s)(I),
28692
28692
  instance: I
28693
28693
  }, L.$props, {
28694
- onSelectDate: (te) => A(w)(te, I !== 1),
28694
+ onSelectDate: (te) => A(p)(te, I !== 1),
28695
28695
  onHandleSpace: (te) => B(te, I !== 1),
28696
28696
  onSetHoverDate: D[3] || (D[3] = (te) => A(m)(te)),
28697
28697
  onHandleScroll: (te) => A(y)(te, I),
@@ -28751,7 +28751,7 @@ const Rx = ({
28751
28751
  propDates: s,
28752
28752
  defaultedFilters: u,
28753
28753
  defaultedMultiDates: d
28754
- } = $t(e), { modelValue: v, year: f, month: h, calendars: c } = ri(e, t), { isDisabled: o } = lr(e), { selectYear: y, groupedYears: g, showYearPicker: w, isDisabled: x, toggleYearPicker: C, handleYearSelect: T, handleYear: M } = ay({
28754
+ } = $t(e), { modelValue: v, year: f, month: h, calendars: c } = ri(e, t), { isDisabled: o } = lr(e), { selectYear: y, groupedYears: g, showYearPicker: p, isDisabled: x, toggleYearPicker: C, handleYearSelect: T, handleYear: M } = ay({
28755
28755
  modelValue: v,
28756
28756
  multiCalendars: a,
28757
28757
  highlight: l,
@@ -28762,7 +28762,7 @@ const Rx = ({
28762
28762
  filters: u,
28763
28763
  props: e,
28764
28764
  emit: t
28765
- }), b = (R, N) => [R, N].map((K) => ha(K, "MMMM", { locale: e.formatLocale })).join("-"), m = k(() => (R) => v.value ? Array.isArray(v.value) ? v.value.some((N) => Jd(R, N)) : Jd(v.value, R) : !1), p = (R) => {
28765
+ }), b = (R, N) => [R, N].map((K) => ha(K, "MMMM", { locale: e.formatLocale })).join("-"), m = k(() => (R) => v.value ? Array.isArray(v.value) ? v.value.some((N) => Jd(R, N)) : Jd(v.value, R) : !1), w = (R) => {
28766
28766
  if (i.value.enabled) {
28767
28767
  if (Array.isArray(v.value)) {
28768
28768
  const N = ut(R, v.value[0]) || ut(R, v.value[1]);
@@ -28777,7 +28777,7 @@ const Rx = ({
28777
28777
  start: Ah(N),
28778
28778
  end: u2(N)
28779
28779
  }).map((K) => {
28780
- const Z = mr(K), Q = qd(K), F = o(K), B = p(Z), L = _(Z);
28780
+ const Z = mr(K), Q = qd(K), F = o(K), B = w(Z), L = _(Z);
28781
28781
  return {
28782
28782
  text: b(Z, Q),
28783
28783
  value: Z,
@@ -28801,7 +28801,7 @@ const Rx = ({
28801
28801
  year: f,
28802
28802
  isDisabled: x,
28803
28803
  quarters: P,
28804
- showYearPicker: w,
28804
+ showYearPicker: p,
28805
28805
  modelValue: v,
28806
28806
  setHoverDate: (R) => {
28807
28807
  n.value = R;
@@ -28843,7 +28843,7 @@ const Rx = ({
28843
28843
  showYearPicker: o,
28844
28844
  setHoverDate: y,
28845
28845
  selectQuarter: g,
28846
- toggleYearPicker: w,
28846
+ toggleYearPicker: p,
28847
28847
  handleYearSelect: x,
28848
28848
  handleYear: C
28849
28849
  } = HT(r, a);
@@ -28872,9 +28872,9 @@ const Rx = ({
28872
28872
  "is-disabled": (m) => A(f)(b, m),
28873
28873
  onHandleYear: (m) => A(C)(b, m),
28874
28874
  onYearSelect: (m) => A(x)(m, b),
28875
- onToggleYearPicker: (m) => A(w)(b, m == null ? void 0 : m.flow, m == null ? void 0 : m.show)
28875
+ onToggleYearPicker: (m) => A(p)(b, m == null ? void 0 : m.flow, m == null ? void 0 : m.show)
28876
28876
  }), hn({ _: 2 }, [
28877
- et(A(i), (m, p) => ({
28877
+ et(A(i), (m, w) => ({
28878
28878
  name: m,
28879
28879
  fn: j((E) => [
28880
28880
  de(T.$slots, m, Vt(en(E)))
@@ -28883,7 +28883,7 @@ const Rx = ({
28883
28883
  ]), 1040, ["items", "instance", "show-year-picker", "year", "is-disabled", "onHandleYear", "onYearSelect", "onToggleYearPicker"])
28884
28884
  ]),
28885
28885
  Ye("div", OT, [
28886
- (O(!0), ie(xe, null, et(A(h)(b), (m, p) => (O(), ie("div", { key: p }, [
28886
+ (O(!0), ie(xe, null, et(A(h)(b), (m, w) => (O(), ie("div", { key: w }, [
28887
28887
  Ye("button", {
28888
28888
  type: "button",
28889
28889
  class: at(["dp--qr-btn", {
@@ -28965,15 +28965,15 @@ const Rx = ({
28965
28965
  const { openOnTop: Y, ...le } = r;
28966
28966
  return {
28967
28967
  ...le,
28968
- flowStep: p.value,
28968
+ flowStep: w.value,
28969
28969
  collapse: r.collapse,
28970
28970
  noOverlayFocus: r.noOverlayFocus,
28971
28971
  menuWrapRef: l.value
28972
28972
  };
28973
- }), { setMenuFocused: s, setShiftKey: u, control: d } = Xh(), v = Sr(), { defaultedTextInput: f, defaultedInline: h, defaultedConfig: c } = $t(r), o = W(null), y = W(0), g = W(null), w = W(!1), x = W(null);
28973
+ }), { setMenuFocused: s, setShiftKey: u, control: d } = Xh(), v = Sr(), { defaultedTextInput: f, defaultedInline: h, defaultedConfig: c } = $t(r), o = W(null), y = W(0), g = W(null), p = W(!1), x = W(null);
28974
28974
  At(() => {
28975
28975
  if (!r.shadow) {
28976
- w.value = !0, C(), window.addEventListener("resize", C);
28976
+ p.value = !0, C(), window.addEventListener("resize", C);
28977
28977
  const Y = Qt(l);
28978
28978
  if (Y && !f.value.enabled && !h.value.enabled && (s(!0), z()), Y) {
28979
28979
  const le = (Me) => {
@@ -28988,7 +28988,7 @@ const Rx = ({
28988
28988
  const C = () => {
28989
28989
  const Y = Qt(g);
28990
28990
  Y && (y.value = Y.getBoundingClientRect().width);
28991
- }, { arrowRight: T, arrowLeft: M, arrowDown: b, arrowUp: m } = rr(), { flowStep: p, updateFlowStep: E, childMount: _, resetFlow: P } = zx(r, a, x), V = k(() => r.monthPicker ? rT : r.yearPicker ? iT : r.timePicker ? CT : r.quarterPicker ? YT : FT), z = () => {
28991
+ }, { arrowRight: T, arrowLeft: M, arrowDown: b, arrowUp: m } = rr(), { flowStep: w, updateFlowStep: E, childMount: _, resetFlow: P } = zx(r, a, x), V = k(() => r.monthPicker ? rT : r.yearPicker ? iT : r.timePicker ? CT : r.quarterPicker ? YT : FT), z = () => {
28992
28992
  const Y = Qt(l);
28993
28993
  Y && Y.focus({ preventScroll: !0 });
28994
28994
  }, G = k(() => {
@@ -29124,7 +29124,7 @@ const Rx = ({
29124
29124
  ref_key: "dynCmpRef",
29125
29125
  ref: x
29126
29126
  }, i.value, {
29127
- "flow-step": A(p),
29127
+ "flow-step": A(w),
29128
29128
  onMount: A(_),
29129
29129
  onUpdateFlowStep: A(E),
29130
29130
  onResetFlow: A(P),
@@ -29167,7 +29167,7 @@ const Rx = ({
29167
29167
  ], 6),
29168
29168
  !Y.autoApply || A(c).keepActionRow ? (O(), se(jx, ge({
29169
29169
  key: 2,
29170
- "menu-mount": w.value
29170
+ "menu-mount": p.value
29171
29171
  }, i.value, {
29172
29172
  "calendar-width": y.value,
29173
29173
  onClosePicker: le[15] || (le[15] = (he) => Y.$emit("close-picker")),
@@ -29242,23 +29242,23 @@ const Rx = ({
29242
29242
  "invalid-date"
29243
29243
  ],
29244
29244
  setup(e, { expose: t, emit: n }) {
29245
- const a = n, r = e, l = Sr(), i = W(!1), s = Le(r, "modelValue"), u = Le(r, "timezone"), d = W(null), v = W(null), f = W(null), h = W(!1), c = W(null), o = W(!1), y = W(!1), g = W(!1), { setMenuFocused: w, setShiftKey: x } = Xh(), { clearArrowNav: C } = rr(), { validateDate: T, isValidTime: M } = lr(r), {
29245
+ const a = n, r = e, l = Sr(), i = W(!1), s = Le(r, "modelValue"), u = Le(r, "timezone"), d = W(null), v = W(null), f = W(null), h = W(!1), c = W(null), o = W(!1), y = W(!1), g = W(!1), { setMenuFocused: p, setShiftKey: x } = Xh(), { clearArrowNav: C } = rr(), { validateDate: T, isValidTime: M } = lr(r), {
29246
29246
  defaultedTransitions: b,
29247
29247
  defaultedTextInput: m,
29248
- defaultedInline: p,
29248
+ defaultedInline: w,
29249
29249
  defaultedConfig: E,
29250
29250
  defaultedRange: _,
29251
29251
  defaultedMultiDates: P
29252
29252
  } = $t(r), { menuTransition: V, showTransition: z } = ai(b);
29253
29253
  At(() => {
29254
29254
  I(r.modelValue), vt().then(() => {
29255
- if (!p.value.enabled) {
29255
+ if (!w.value.enabled) {
29256
29256
  const fe = F(c.value);
29257
29257
  fe == null || fe.addEventListener("scroll", le), window == null || window.addEventListener("resize", Me);
29258
29258
  }
29259
- }), p.value.enabled && (i.value = !0), window == null || window.addEventListener("keyup", we), window == null || window.addEventListener("keydown", Ce);
29259
+ }), w.value.enabled && (i.value = !0), window == null || window.addEventListener("keyup", we), window == null || window.addEventListener("keydown", Ce);
29260
29260
  }), ns(() => {
29261
- if (!p.value.enabled) {
29261
+ if (!w.value.enabled) {
29262
29262
  const fe = F(c.value);
29263
29263
  fe == null || fe.removeEventListener("scroll", le), window == null || window.removeEventListener("resize", Me);
29264
29264
  }
@@ -29277,7 +29277,7 @@ const Rx = ({
29277
29277
  menuRefInner: v,
29278
29278
  inputRef: f,
29279
29279
  pickerWrapperRef: c,
29280
- inline: p,
29280
+ inline: w,
29281
29281
  emit: a,
29282
29282
  props: r,
29283
29283
  slots: l
@@ -29293,14 +29293,14 @@ const Rx = ({
29293
29293
  dp__main: !0,
29294
29294
  dp__theme_dark: r.dark,
29295
29295
  dp__theme_light: !r.dark,
29296
- dp__flex_display: p.value.enabled,
29296
+ dp__flex_display: w.value.enabled,
29297
29297
  "dp--flex-display-collapsed": g.value,
29298
- dp__flex_display_with_input: p.value.input
29298
+ dp__flex_display_with_input: w.value.input
29299
29299
  })
29300
29300
  ), ae = k(() => r.dark ? "dp__theme_dark" : "dp__theme_light"), oe = k(() => ({
29301
29301
  to: typeof r.teleport == "boolean" ? "body" : r.teleport,
29302
- disabled: !r.teleport || p.value.enabled
29303
- })), Be = k(() => ({ class: "dp__outer_menu_wrap" })), Y = k(() => p.value.enabled && (r.timePicker || r.monthPicker || r.yearPicker || r.quarterPicker)), le = () => {
29302
+ disabled: !r.teleport || w.value.enabled
29303
+ })), Be = k(() => ({ class: "dp__outer_menu_wrap" })), Y = k(() => w.value.enabled && (r.timePicker || r.monthPicker || r.yearPicker || r.quarterPicker)), le = () => {
29304
29304
  i.value && (E.value.closeOnScroll ? Nt() : Q());
29305
29305
  }, Me = () => {
29306
29306
  var fe;
@@ -29308,7 +29308,7 @@ const Rx = ({
29308
29308
  const Ee = (fe = v.value) == null ? void 0 : fe.$el.getBoundingClientRect().width;
29309
29309
  g.value = document.body.offsetWidth <= Ee;
29310
29310
  }, we = (fe) => {
29311
- fe.key === "Tab" && !p.value.enabled && !r.teleport && E.value.tabOutClosesMenu && (c.value.contains(document.activeElement) || Nt()), y.value = fe.shiftKey;
29311
+ fe.key === "Tab" && !w.value.enabled && !r.teleport && E.value.tabOutClosesMenu && (c.value.contains(document.activeElement) || Nt()), y.value = fe.shiftKey;
29312
29312
  }, Ce = (fe) => {
29313
29313
  y.value = fe.shiftKey;
29314
29314
  }, he = () => {
@@ -29330,7 +29330,7 @@ const Rx = ({
29330
29330
  }, Gt = () => {
29331
29331
  m.value.enabled || (D.value = null);
29332
29332
  }, Nt = () => {
29333
- p.value.enabled || (i.value && (i.value = !1, Z.value = !1, w(!1), x(!1), C(), a("closed"), L.value && I(s.value)), Gt(), a("blur"));
29333
+ w.value.enabled || (i.value && (i.value = !1, Z.value = !1, p(!1), x(!1), C(), a("closed"), L.value && I(s.value)), Gt(), a("blur"));
29334
29334
  }, Ba = (fe, Ee, Re = !1) => {
29335
29335
  if (!fe) {
29336
29336
  D.value = null;
@@ -29410,7 +29410,7 @@ const Rx = ({
29410
29410
  default: j(() => [
29411
29411
  S(pn, {
29412
29412
  name: A(V)(A(N)),
29413
- css: A(z) && !A(p).enabled
29413
+ css: A(z) && !A(w).enabled
29414
29414
  }, {
29415
29415
  default: j(() => [
29416
29416
  i.value ? (O(), ie("div", ge({
@@ -29418,8 +29418,8 @@ const Rx = ({
29418
29418
  ref_key: "dpWrapMenuRef",
29419
29419
  ref: d
29420
29420
  }, Be.value, {
29421
- class: { "dp--menu-wrapper": !A(p).enabled },
29422
- style: A(p).enabled ? void 0 : A(K)
29421
+ class: { "dp--menu-wrapper": !A(w).enabled },
29422
+ style: A(w).enabled ? void 0 : A(K)
29423
29423
  }), [
29424
29424
  S(sf, ge({
29425
29425
  ref_key: "dpMenuRef",
@@ -29760,7 +29760,7 @@ function oy(e, t) {
29760
29760
  var D;
29761
29761
  let L = e.proxyID;
29762
29762
  return L == null && n && (L = v.bladeData.data[i]), L == null && a && (L = (D = d == null ? void 0 : d.query) == null ? void 0 : D[i]), L;
29763
- }), h = W(void 0), { actionErrorMsg: c, actionLoadingMsg: o, deleteItem: y, getItem: g, getAllItems: w, restoreItem: x, saveItem: C } = Cv({
29763
+ }), h = W(void 0), { actionErrorMsg: c, actionLoadingMsg: o, deleteItem: y, getItem: g, getAllItems: p, restoreItem: x, saveItem: C } = Cv({
29764
29764
  nav: s,
29765
29765
  onError: e.onError ?? (t == null ? void 0 : t.onError),
29766
29766
  proxyID: f.value,
@@ -29773,21 +29773,21 @@ function oy(e, t) {
29773
29773
  var D;
29774
29774
  let L = e.itemID;
29775
29775
  return L == null && n && (L = v.bladeData.data.id), L == null && a && (L = (D = d == null ? void 0 : d.query) == null ? void 0 : D.id), L;
29776
- }), p = W(m.value == "new" ? "new" : e.startEditing ? "edit" : "view"), E = Ve(!1), _ = k(() => {
29776
+ }), w = W(m.value == "new" ? "new" : e.startEditing ? "edit" : "view"), E = Ve(!1), _ = k(() => {
29777
29777
  let L = e.params != null ? { ...e.params } : {};
29778
29778
  return e.includeDetails != null && (L.includeDetails = e.includeDetails), L;
29779
29779
  }), P = k(() => {
29780
- if (p.value == "new")
29780
+ if (w.value == "new")
29781
29781
  return !1;
29782
29782
  const L = st(h);
29783
29783
  return e.onCanDelete != null ? e.onCanDelete(L) : (L == null ? void 0 : L.isInactive) !== !0;
29784
29784
  }), V = k(() => {
29785
- if (p.value == "new")
29785
+ if (w.value == "new")
29786
29786
  return !1;
29787
29787
  const L = st(h);
29788
29788
  return e.onCanEdit != null ? e.onCanEdit(L) : !0;
29789
29789
  }), z = k(() => {
29790
- if (p.value == "new")
29790
+ if (w.value == "new")
29791
29791
  return !1;
29792
29792
  const L = st(h);
29793
29793
  return e.onCanRestore != null ? e.onCanRestore(L) : (L == null ? void 0 : L.isInactive) === !0;
@@ -29858,7 +29858,7 @@ function oy(e, t) {
29858
29858
  console.log("c"), D.id === "new" ? (console.log("cc"), h.value = e.onGetNew ? e.onGetNew(D) : {}) : s != null && (console.log("aa"), console.log(s), h.value = await g(D));
29859
29859
  else if (s != null) {
29860
29860
  console.log("d");
29861
- const I = await w(D);
29861
+ const I = await p(D);
29862
29862
  h.value = I.data;
29863
29863
  }
29864
29864
  }
@@ -29870,7 +29870,7 @@ function oy(e, t) {
29870
29870
  onCanSaveAsync: U,
29871
29871
  onGetSaveAsync: te,
29872
29872
  onSaveAsync: be,
29873
- onSaveSuccessAsync: Pe = (ae) => ((D == null ? void 0 : D.navBack) === !0 ? u() : (L.rowVersion != null && ae.rowVersion != null && (L.rowVersion = ae.rowVersion), N(), p.value = "view"), Promise.resolve(void 0))
29873
+ onSaveSuccessAsync: Pe = (ae) => ((D == null ? void 0 : D.navBack) === !0 ? u() : (L.rowVersion != null && ae.rowVersion != null && (L.rowVersion = ae.rowVersion), N(), w.value = "view"), Promise.resolve(void 0))
29874
29874
  } = { ...e };
29875
29875
  C({
29876
29876
  additionalUrl: I,
@@ -29883,12 +29883,12 @@ function oy(e, t) {
29883
29883
  proxyID: f.value,
29884
29884
  // ...params.getOptions(),
29885
29885
  // ...(useBladeSrc ? bladeData.value : {}),
29886
- mode: p.value
29886
+ mode: w.value
29887
29887
  });
29888
29888
  }
29889
29889
  function B() {
29890
- const L = st(p);
29891
- !L || L == "view" ? p.value = "edit" : L == "edit" && (p.value = "view");
29890
+ const L = st(w);
29891
+ !L || L == "view" ? w.value = "edit" : L == "edit" && (w.value = "view");
29892
29892
  }
29893
29893
  return De(T, (L) => {
29894
29894
  E.value = L != null;
@@ -29903,14 +29903,14 @@ function oy(e, t) {
29903
29903
  errorMsg: T,
29904
29904
  isChanged: R,
29905
29905
  isDeletable: P,
29906
- isEditing: k(() => p.value == "new" || p.value == "edit"),
29906
+ isEditing: k(() => w.value == "new" || w.value == "edit"),
29907
29907
  isEditable: V,
29908
29908
  isLoading: b,
29909
- isNew: k(() => p.value == "new"),
29909
+ isNew: k(() => w.value == "new"),
29910
29910
  isRestorable: z,
29911
29911
  isSaveable: G,
29912
29912
  loadingMsg: M,
29913
- mode: p,
29913
+ mode: w,
29914
29914
  refresh: Q,
29915
29915
  restoreItem: Z,
29916
29916
  saveItem: F,
@@ -30100,8 +30100,8 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
30100
30100
  trackChanges: { type: Boolean, default: !0 },
30101
30101
  trackIgnoreProps: {},
30102
30102
  trackProps: {},
30103
- useBladeSrc: { type: Boolean },
30104
- useRouteSrc: { type: Boolean },
30103
+ useBladeSrc: { type: Boolean, default: void 0 },
30104
+ useRouteSrc: { type: Boolean, default: void 0 },
30105
30105
  variant: { default: "page" }
30106
30106
  },
30107
30107
  setup(e) {
@@ -30113,8 +30113,8 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
30113
30113
  g && await i.saveItem(i.asyncItem.value, { navBack: y });
30114
30114
  }
30115
30115
  return (y, g) => {
30116
- const w = Yr("bt-blade");
30117
- return O(), se(w, {
30116
+ const p = Yr("bt-blade");
30117
+ return O(), se(p, {
30118
30118
  bladeBasic: "",
30119
30119
  bladeName: y.bladeName,
30120
30120
  density: y.density,
@@ -30312,7 +30312,7 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
30312
30312
  const d = k(() => n.loadingMsg != null), v = k(() => (a.hideBladeControls ?? n.hideBladeControls) || s.variant.value != "blade" && s.variant.value != "page"), f = k(() => (a.hideNavigation ?? n.hideNavigation) || s.variant.value == "inline"), h = k(() => (a.hideSubtoolbar ?? n.hideSubtoolbar) || s.variant.value == "inline"), c = k(() => (a.hideToolbar ?? n.hideToolbar) || s.variant.value == "inline"), o = k(() => (a.hideToolbarSettings ?? n.hideToolbarSettings) || s.variant.value == "inline"), y = W(!1);
30313
30313
  return De(() => n.errorMsg, (g) => {
30314
30314
  y.value = g != null;
30315
- }), (g, w) => (O(), se(sa, null, {
30315
+ }), (g, p) => (O(), se(sa, null, {
30316
30316
  default: j(() => [
30317
30317
  g.variant != "blade" || A(u).bladeData.show ? (O(), se(Zi, {
30318
30318
  key: 0,
@@ -30340,7 +30340,7 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
30340
30340
  key: "1",
30341
30341
  size: g.size,
30342
30342
  title: "Back",
30343
- onClick: w[0] || (w[0] = () => A(i)())
30343
+ onClick: p[0] || (p[0] = () => A(i)())
30344
30344
  }, null, 8, ["size"]))
30345
30345
  ]),
30346
30346
  _: 1
@@ -30361,20 +30361,20 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
30361
30361
  key: "5",
30362
30362
  size: g.size,
30363
30363
  title: "Undock",
30364
- onClick: w[1] || (w[1] = (x) => A(s).variant.value = "freestyle")
30364
+ onClick: p[1] || (p[1] = (x) => A(s).variant.value = "freestyle")
30365
30365
  }, null, 8, ["size"])) : v.value ? re("", !0) : (O(), se(Qe, {
30366
30366
  icon: "$window-maximize",
30367
30367
  key: "6",
30368
30368
  size: g.size,
30369
30369
  title: "Maximize",
30370
- onClick: w[2] || (w[2] = (x) => A(s).variant.value = "page")
30370
+ onClick: p[2] || (p[2] = (x) => A(s).variant.value = "page")
30371
30371
  }, null, 8, ["size"])),
30372
30372
  !v.value && g.variant == "blade" ? (O(), se(Qe, {
30373
30373
  icon: "$close",
30374
30374
  key: "6.1",
30375
30375
  size: g.size,
30376
30376
  title: "Close",
30377
- onClick: w[3] || (w[3] = () => A(u).closeBlade({ bladeName: g.bladeName }))
30377
+ onClick: p[3] || (p[3] = () => A(u).closeBlade({ bladeName: g.bladeName }))
30378
30378
  }, null, 8, ["size"])) : re("", !0),
30379
30379
  o.value ? re("", !0) : (O(), se(xn, {
30380
30380
  "close-on-content-click": !1,
@@ -30432,7 +30432,7 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
30432
30432
  title: "Error",
30433
30433
  color: "red-lighten-1",
30434
30434
  modelValue: y.value,
30435
- "onUpdate:modelValue": w[4] || (w[4] = (x) => y.value = x)
30435
+ "onUpdate:modelValue": p[4] || (p[4] = (x) => y.value = x)
30436
30436
  }, {
30437
30437
  default: j(() => [
30438
30438
  Xe(ze(g.errorMsg), 1)
@@ -30449,7 +30449,7 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
30449
30449
  ]),
30450
30450
  S($l, {
30451
30451
  modelValue: d.value,
30452
- "onUpdate:modelValue": w[5] || (w[5] = (x) => d.value = x),
30452
+ "onUpdate:modelValue": p[5] || (p[5] = (x) => d.value = x),
30453
30453
  class: "align-center justify-center text-center overlay",
30454
30454
  contained: "",
30455
30455
  persistent: ""
@@ -30712,15 +30712,15 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
30712
30712
  get() {
30713
30713
  return n.modelValue;
30714
30714
  },
30715
- set(w) {
30716
- a("update:modelValue", w);
30715
+ set(p) {
30716
+ a("update:modelValue", p);
30717
30717
  }
30718
30718
  }), s = k(() => n.modelValue ? r(n.modelValue, n.format) : void 0), u = W(), d = Ne("isEditing", () => W(!1), !0), v = k(() => n.isEditing ?? d.value), f = Ne("isMobile", () => W(!1), !0), h = Ne("fieldVariant", "underlined"), c = Ne("fieldEditVariant", "outlined"), o = k(() => n.isMobile ?? f.value ? !1 : n.lg), y = k(() => n.isMobile ?? f.value ? !1 : n.md), g = k(() => n.isMobile ?? f.value ? !1 : n.sm);
30719
- return n.dateFrom != null ? u.value = n.dateFrom : n.fromNow && (u.value = r()), (w, x) => (O(), se(an, {
30719
+ return n.dateFrom != null ? u.value = n.dateFrom : n.fromNow && (u.value = r()), (p, x) => (O(), se(an, {
30720
30720
  lg: o.value,
30721
30721
  md: y.value,
30722
30722
  sm: g.value,
30723
- cols: w.cols
30723
+ cols: p.cols
30724
30724
  }, {
30725
30725
  default: j(() => [
30726
30726
  v.value ? (O(), se(xn, {
@@ -30729,8 +30729,8 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
30729
30729
  }, {
30730
30730
  activator: j(({ props: C }) => [
30731
30731
  S(ba, ge(C, {
30732
- "hide-details": !w.dateRules,
30733
- label: w.label,
30732
+ "hide-details": !p.dateRules,
30733
+ label: p.label,
30734
30734
  readonly: "",
30735
30735
  variant: v.value ? A(c) : A(h),
30736
30736
  modelValue: s.value,
@@ -30741,13 +30741,13 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
30741
30741
  S(A(Cs), ge({
30742
30742
  "auto-apply": "",
30743
30743
  dark: "",
30744
- "enable-time-picker": w.useTime,
30744
+ "enable-time-picker": p.useTime,
30745
30745
  inline: "",
30746
30746
  "is-24": !1,
30747
- "time-picker-inline": w.useTime,
30747
+ "time-picker-inline": p.useTime,
30748
30748
  timezone: A(l).timeZone.value,
30749
30749
  utc: ""
30750
- }, w.$attrs, {
30750
+ }, p.$attrs, {
30751
30751
  modelValue: i.value,
30752
30752
  "onUpdate:modelValue": x[1] || (x[1] = (C) => i.value = C)
30753
30753
  }), null, 16, ["enable-time-picker", "time-picker-inline", "timezone", "modelValue"])
@@ -30761,7 +30761,7 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
30761
30761
  default: j(() => [
30762
30762
  S(Ja, null, {
30763
30763
  default: j(() => [
30764
- Xe(ze(w.label), 1)
30764
+ Xe(ze(p.label), 1)
30765
30765
  ]),
30766
30766
  _: 1
30767
30767
  }),
@@ -31192,7 +31192,7 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
31192
31192
  set(b) {
31193
31193
  r("update:trigger", b == null || b < 0 ? null : u.value[b].value ?? u.value[b].text);
31194
31194
  }
31195
- }), g = Ne("isEditing", () => W(!1), !0), w = k(() => n.isEditing ?? g.value), x = Ne("isMobile", () => W(!1), !0), C = k(() => n.isMobile ?? x.value ? !1 : n.lg), T = k(() => n.isMobile ?? x.value ? !1 : n.md), M = k(() => n.isMobile ?? x.value ? !1 : n.sm);
31195
+ }), g = Ne("isEditing", () => W(!1), !0), p = k(() => n.isEditing ?? g.value), x = Ne("isMobile", () => W(!1), !0), C = k(() => n.isMobile ?? x.value ? !1 : n.lg), T = k(() => n.isMobile ?? x.value ? !1 : n.md), M = k(() => n.isMobile ?? x.value ? !1 : n.sm);
31196
31196
  return (b, m) => (O(), se(an, {
31197
31197
  lg: C.value,
31198
31198
  md: T.value,
@@ -31207,9 +31207,9 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
31207
31207
  S(an, null, {
31208
31208
  default: j(() => [
31209
31209
  b.useAutomation || b.useAutomationDaily || b.useAutomationLarge ? (O(), se(xn, { key: 0 }, {
31210
- activator: j(({ props: p }) => [
31211
- S(Qe, ge(p, {
31212
- disabled: !w.value,
31210
+ activator: j(({ props: w }) => [
31211
+ S(Qe, ge(w, {
31212
+ disabled: !p.value,
31213
31213
  size: A(a),
31214
31214
  "append-icon": "$menu-down",
31215
31215
  title: "Automation"
@@ -31227,7 +31227,7 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
31227
31227
  "return-object": "",
31228
31228
  "select-strategy": "single-independent",
31229
31229
  selected: d.value,
31230
- "onUpdate:selected": m[0] || (m[0] = (p) => d.value = p)
31230
+ "onUpdate:selected": m[0] || (m[0] = (w) => d.value = w)
31231
31231
  }, null, 8, ["items", "selected"])
31232
31232
  ]),
31233
31233
  _: 1
@@ -31238,9 +31238,9 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
31238
31238
  S(an, null, {
31239
31239
  default: j(() => [
31240
31240
  b.useGuideList ? (O(), se(xn, { key: 0 }, {
31241
- activator: j(({ props: p }) => [
31242
- S(Qe, ge(p, {
31243
- disabled: !w.value,
31241
+ activator: j(({ props: w }) => [
31242
+ S(Qe, ge(w, {
31243
+ disabled: !p.value,
31244
31244
  size: A(a),
31245
31245
  "append-icon": "$menu-down",
31246
31246
  title: "Guide"
@@ -31258,7 +31258,7 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
31258
31258
  "return-object": "",
31259
31259
  "select-strategy": "single-independent",
31260
31260
  selected: h.value,
31261
- "onUpdate:selected": m[1] || (m[1] = (p) => h.value = p)
31261
+ "onUpdate:selected": m[1] || (m[1] = (w) => h.value = w)
31262
31262
  }, null, 8, ["items", "selected"])
31263
31263
  ]),
31264
31264
  _: 1
@@ -31270,17 +31270,17 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
31270
31270
  default: j(() => [
31271
31271
  b.useGuide ? (O(), se(Us, ge({ key: 0 }, b.$attrs, {
31272
31272
  modelValue: c.value,
31273
- "onUpdate:modelValue": m[2] || (m[2] = (p) => c.value = p),
31273
+ "onUpdate:modelValue": m[2] || (m[2] = (w) => c.value = w),
31274
31274
  color: "primary",
31275
- disabled: !w.value,
31275
+ disabled: !p.value,
31276
31276
  title: "Guide"
31277
31277
  }), {
31278
31278
  default: j(() => [
31279
- (O(!0), ie(xe, null, et(A(s), (p, E) => (O(), se(Qe, {
31279
+ (O(!0), ie(xe, null, et(A(s), (w, E) => (O(), se(Qe, {
31280
31280
  key: E,
31281
- icon: p.icon,
31281
+ icon: w.icon,
31282
31282
  size: A(a),
31283
- text: p.text
31283
+ text: w.text
31284
31284
  }, null, 8, ["icon", "size", "text"]))), 128))
31285
31285
  ]),
31286
31286
  _: 1
@@ -31291,9 +31291,9 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
31291
31291
  S(an, null, {
31292
31292
  default: j(() => [
31293
31293
  b.useTriggerList ? (O(), se(xn, { key: 0 }, {
31294
- activator: j(({ props: p }) => [
31295
- S(Qe, ge(p, {
31296
- disabled: !w.value,
31294
+ activator: j(({ props: w }) => [
31295
+ S(Qe, ge(w, {
31296
+ disabled: !p.value,
31297
31297
  "append-icon": "$menu-down",
31298
31298
  title: "Trigger"
31299
31299
  }), {
@@ -31310,7 +31310,7 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
31310
31310
  "return-object": "",
31311
31311
  "select-strategy": "single-independent",
31312
31312
  selected: o.value,
31313
- "onUpdate:selected": m[3] || (m[3] = (p) => o.value = p)
31313
+ "onUpdate:selected": m[3] || (m[3] = (w) => o.value = w)
31314
31314
  }, null, 8, ["items", "selected"])
31315
31315
  ]),
31316
31316
  _: 1
@@ -31322,17 +31322,17 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
31322
31322
  default: j(() => [
31323
31323
  b.useTrigger ? (O(), se(Us, ge({ key: 0 }, b.$attrs, {
31324
31324
  modelValue: y.value,
31325
- "onUpdate:modelValue": m[4] || (m[4] = (p) => y.value = p),
31325
+ "onUpdate:modelValue": m[4] || (m[4] = (w) => y.value = w),
31326
31326
  color: "primary",
31327
- disabled: !w.value,
31327
+ disabled: !p.value,
31328
31328
  title: "Trigger"
31329
31329
  }), {
31330
31330
  default: j(() => [
31331
- (O(!0), ie(xe, null, et(A(u), (p, E) => (O(), se(Qe, {
31331
+ (O(!0), ie(xe, null, et(A(u), (w, E) => (O(), se(Qe, {
31332
31332
  key: E,
31333
- icon: p.icon,
31333
+ icon: w.icon,
31334
31334
  size: A(a),
31335
- text: p.text
31335
+ text: w.text
31336
31336
  }, null, 8, ["icon", "size", "text"]))), 128))
31337
31337
  ]),
31338
31338
  _: 1
@@ -31343,9 +31343,9 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
31343
31343
  S(an, null, {
31344
31344
  default: j(() => [
31345
31345
  b.useCustomList ? (O(), se(xn, { key: 0 }, {
31346
- activator: j(({ props: p }) => [
31347
- S(Qe, ge(p, {
31348
- disabled: !w.value,
31346
+ activator: j(({ props: w }) => [
31347
+ S(Qe, ge(w, {
31348
+ disabled: !p.value,
31349
31349
  "append-icon": "$menu-down"
31350
31350
  }), {
31351
31351
  default: j(() => [
@@ -31361,7 +31361,7 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
31361
31361
  "return-object": "",
31362
31362
  "select-strategy": "single-independent",
31363
31363
  selected: v.value,
31364
- "onUpdate:selected": m[5] || (m[5] = (p) => v.value = p)
31364
+ "onUpdate:selected": m[5] || (m[5] = (w) => v.value = w)
31365
31365
  }, null, 8, ["items", "selected"])
31366
31366
  ]),
31367
31367
  _: 1
@@ -31373,16 +31373,16 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
31373
31373
  default: j(() => [
31374
31374
  b.useCustom ? (O(), se(Us, ge({ key: 0 }, b.$attrs, {
31375
31375
  modelValue: f.value,
31376
- "onUpdate:modelValue": m[6] || (m[6] = (p) => f.value = p),
31376
+ "onUpdate:modelValue": m[6] || (m[6] = (w) => f.value = w),
31377
31377
  color: "primary",
31378
- disabled: !w.value
31378
+ disabled: !p.value
31379
31379
  }), {
31380
31380
  default: j(() => [
31381
- (O(!0), ie(xe, null, et(A(i), (p, E) => (O(), se(Qe, {
31381
+ (O(!0), ie(xe, null, et(A(i), (w, E) => (O(), se(Qe, {
31382
31382
  key: E,
31383
- icon: p.icon,
31383
+ icon: w.icon,
31384
31384
  size: A(a),
31385
- text: p.text
31385
+ text: w.text
31386
31386
  }, null, 8, ["icon", "size", "text"]))), 128))
31387
31387
  ]),
31388
31388
  _: 1
@@ -31723,10 +31723,10 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
31723
31723
  T != null && a.itemValue != null && (M = T[a.itemValue]), n("update:modelValue", M), n("change", M);
31724
31724
  }
31725
31725
  }
31726
- const y = k(() => a.modelValue != null ? u.asyncItems.value.find((T) => T.id == a.modelValue) : null), g = Ne("isMobile", () => W(!1), !0), w = k(() => a.isMobile ?? g.value ? !1 : a.lg), x = k(() => a.isMobile ?? g.value ? !1 : a.md), C = k(() => a.isMobile ?? g.value ? !1 : a.sm);
31726
+ const y = k(() => a.modelValue != null ? u.asyncItems.value.find((T) => T.id == a.modelValue) : null), g = Ne("isMobile", () => W(!1), !0), p = k(() => a.isMobile ?? g.value ? !1 : a.lg), x = k(() => a.isMobile ?? g.value ? !1 : a.md), C = k(() => a.isMobile ?? g.value ? !1 : a.sm);
31727
31727
  return (T, M) => (O(), se(an, {
31728
31728
  class: at(T.colClass),
31729
- lg: w.value,
31729
+ lg: p.value,
31730
31730
  md: x.value,
31731
31731
  sm: C.value,
31732
31732
  cols: T.cols
@@ -31865,7 +31865,7 @@ const PM = { key: 0 }, LM = /* @__PURE__ */ tt({
31865
31865
  active: h.value(b),
31866
31866
  key: `${b.id ?? m}-list-item`,
31867
31867
  value: b,
31868
- onClick: (p) => o(b)
31868
+ onClick: (w) => o(b)
31869
31869
  }, {
31870
31870
  default: j(() => [
31871
31871
  de(T.$slots, "default", {