@xy-planning-network/trees 0.13.7-dev-1 → 0.13.7-dev-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/trees.es.js CHANGED
@@ -323,22 +323,22 @@ function hr(t, n, e) {
323
323
  const r = e.metaTokens, o = e.visitor || u, a = e.dots, s = e.indexes, i = (e.Blob || typeof Blob < "u" && Blob) && k.isSpecCompliantForm(n);
324
324
  if (!k.isFunction(o))
325
325
  throw new TypeError("visitor must be a function");
326
- function c(f) {
327
- if (f === null) return "";
328
- if (k.isDate(f))
329
- return f.toISOString();
330
- if (k.isBoolean(f))
331
- return f.toString();
332
- if (!i && k.isBlob(f))
326
+ function c(p) {
327
+ if (p === null) return "";
328
+ if (k.isDate(p))
329
+ return p.toISOString();
330
+ if (k.isBoolean(p))
331
+ return p.toString();
332
+ if (!i && k.isBlob(p))
333
333
  throw new G("Blob is not supported. Use a Buffer instead.");
334
- return k.isArrayBuffer(f) || k.isTypedArray(f) ? i && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
334
+ return k.isArrayBuffer(p) || k.isTypedArray(p) ? i && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
335
335
  }
336
- function u(f, y, w) {
337
- let D = f;
338
- if (f && !w && typeof f == "object") {
336
+ function u(p, y, w) {
337
+ let D = p;
338
+ if (p && !w && typeof p == "object") {
339
339
  if (k.endsWith(y, "{}"))
340
- y = r ? y : y.slice(0, -2), f = JSON.stringify(f);
341
- else if (k.isArray(f) && Yl(f) || (k.isFileList(f) || k.endsWith(y, "[]")) && (D = k.toArray(f)))
340
+ y = r ? y : y.slice(0, -2), p = JSON.stringify(p);
341
+ else if (k.isArray(p) && Yl(p) || (k.isFileList(p) || k.endsWith(y, "[]")) && (D = k.toArray(p)))
342
342
  return y = ts(y), D.forEach(function(T, W) {
343
343
  !(k.isUndefined(T) || T === null) && n.append(
344
344
  // eslint-disable-next-line no-nested-ternary
@@ -347,24 +347,24 @@ function hr(t, n, e) {
347
347
  );
348
348
  }), !1;
349
349
  }
350
- return Gr(f) ? !0 : (n.append(qo(w, y, a), c(f)), !1);
350
+ return Gr(p) ? !0 : (n.append(qo(w, y, a), c(p)), !1);
351
351
  }
352
- const d = [], p = Object.assign(zl, {
352
+ const d = [], f = Object.assign(zl, {
353
353
  defaultVisitor: u,
354
354
  convertValue: c,
355
355
  isVisitable: Gr
356
356
  });
357
- function g(f, y) {
358
- if (!k.isUndefined(f)) {
359
- if (d.indexOf(f) !== -1)
357
+ function g(p, y) {
358
+ if (!k.isUndefined(p)) {
359
+ if (d.indexOf(p) !== -1)
360
360
  throw Error("Circular reference detected in " + y.join("."));
361
- d.push(f), k.forEach(f, function(D, M) {
361
+ d.push(p), k.forEach(p, function(D, M) {
362
362
  (!(k.isUndefined(D) || D === null) && o.call(
363
363
  n,
364
364
  D,
365
365
  k.isString(M) ? M.trim() : M,
366
366
  y,
367
- p
367
+ f
368
368
  )) === !0 && g(D, y ? y.concat(M) : [M]);
369
369
  }), d.pop();
370
370
  }
@@ -850,13 +850,13 @@ function mu(t, n) {
850
850
  return n = n !== void 0 ? n : 1e3, function(i) {
851
851
  const c = Date.now(), u = r[a];
852
852
  s || (s = c), e[o] = i, r[o] = c;
853
- let d = a, p = 0;
853
+ let d = a, f = 0;
854
854
  for (; d !== o; )
855
- p += e[d++], d = d % t;
855
+ f += e[d++], d = d % t;
856
856
  if (o = (o + 1) % t, o === a && (a = (a + 1) % t), c - s < n)
857
857
  return;
858
858
  const g = u && c - u;
859
- return g ? Math.round(p * 1e3 / g) : void 0;
859
+ return g ? Math.round(f * 1e3 / g) : void 0;
860
860
  };
861
861
  }
862
862
  function hu(t, n) {
@@ -941,14 +941,14 @@ const Jo = (t) => t instanceof We ? { ...t } : t;
941
941
  function qt(t, n) {
942
942
  n = n || {};
943
943
  const e = {};
944
- function r(c, u, d, p) {
945
- return k.isPlainObject(c) && k.isPlainObject(u) ? k.merge.call({ caseless: p }, c, u) : k.isPlainObject(u) ? k.merge({}, u) : k.isArray(u) ? u.slice() : u;
944
+ function r(c, u, d, f) {
945
+ return k.isPlainObject(c) && k.isPlainObject(u) ? k.merge.call({ caseless: f }, c, u) : k.isPlainObject(u) ? k.merge({}, u) : k.isArray(u) ? u.slice() : u;
946
946
  }
947
- function o(c, u, d, p) {
947
+ function o(c, u, d, f) {
948
948
  if (k.isUndefined(u)) {
949
949
  if (!k.isUndefined(c))
950
- return r(void 0, c, d, p);
951
- } else return r(c, u, d, p);
950
+ return r(void 0, c, d, f);
951
+ } else return r(c, u, d, f);
952
952
  }
953
953
  function a(c, u) {
954
954
  if (!k.isUndefined(u))
@@ -998,8 +998,8 @@ function qt(t, n) {
998
998
  headers: (c, u, d) => o(Jo(c), Jo(u), d, !0)
999
999
  };
1000
1000
  return k.forEach(Object.keys({ ...t, ...n }), function(u) {
1001
- const d = i[u] || o, p = d(t[u], n[u], u);
1002
- k.isUndefined(p) && d !== l || (e[u] = p);
1001
+ const d = i[u] || o, f = d(t[u], n[u], u);
1002
+ k.isUndefined(f) && d !== l || (e[u] = f);
1003
1003
  }), e;
1004
1004
  }
1005
1005
  const us = (t) => {
@@ -1028,9 +1028,9 @@ const us = (t) => {
1028
1028
  const o = us(t);
1029
1029
  let a = o.data;
1030
1030
  const s = We.from(o.headers).normalize();
1031
- let { responseType: l, onUploadProgress: i, onDownloadProgress: c } = o, u, d, p, g, f;
1031
+ let { responseType: l, onUploadProgress: i, onDownloadProgress: c } = o, u, d, f, g, p;
1032
1032
  function y() {
1033
- g && g(), f && f(), o.cancelToken && o.cancelToken.unsubscribe(u), o.signal && o.signal.removeEventListener("abort", u);
1033
+ g && g(), p && p(), o.cancelToken && o.cancelToken.unsubscribe(u), o.signal && o.signal.removeEventListener("abort", u);
1034
1034
  }
1035
1035
  let w = new XMLHttpRequest();
1036
1036
  w.open(o.method.toUpperCase(), o.url, !0), w.timeout = o.timeout;
@@ -1071,7 +1071,7 @@ const us = (t) => {
1071
1071
  )), w = null;
1072
1072
  }, a === void 0 && s.setContentType(null), "setRequestHeader" in w && k.forEach(s.toJSON(), function(W, z) {
1073
1073
  w.setRequestHeader(z, W);
1074
- }), k.isUndefined(o.withCredentials) || (w.withCredentials = !!o.withCredentials), l && l !== "json" && (w.responseType = o.responseType), c && ([p, f] = Zn(c, !0), w.addEventListener("progress", p)), i && w.upload && ([d, g] = Zn(i), w.upload.addEventListener("progress", d), w.upload.addEventListener("loadend", g)), (o.cancelToken || o.signal) && (u = (T) => {
1074
+ }), k.isUndefined(o.withCredentials) || (w.withCredentials = !!o.withCredentials), l && l !== "json" && (w.responseType = o.responseType), c && ([f, p] = Zn(c, !0), w.addEventListener("progress", f)), i && w.upload && ([d, g] = Zn(i), w.upload.addEventListener("progress", d), w.upload.addEventListener("loadend", g)), (o.cancelToken || o.signal) && (u = (T) => {
1075
1075
  w && (r(!T || T.type ? new sn(null, t, w) : T), w.abort(), w = null);
1076
1076
  }, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
1077
1077
  const M = pu(o.url);
@@ -1147,8 +1147,8 @@ const us = (t) => {
1147
1147
  }
1148
1148
  let d = u.byteLength;
1149
1149
  if (e) {
1150
- let p = a += d;
1151
- e(p);
1150
+ let f = a += d;
1151
+ e(f);
1152
1152
  }
1153
1153
  i.enqueue(new Uint8Array(u));
1154
1154
  } catch (c) {
@@ -1180,46 +1180,46 @@ const us = (t) => {
1180
1180
  const { fetch: n, Request: e, Response: r } = t, o = n ? jn(n) : typeof fetch == "function", a = jn(e), s = jn(r);
1181
1181
  if (!o)
1182
1182
  return !1;
1183
- const l = o && jn(Qo), i = o && (typeof ea == "function" ? /* @__PURE__ */ ((f) => (y) => f.encode(y))(new ea()) : async (f) => new Uint8Array(await new e(f).arrayBuffer())), c = a && l && ta(() => {
1184
- let f = !1;
1183
+ const l = o && jn(Qo), i = o && (typeof ea == "function" ? /* @__PURE__ */ ((p) => (y) => p.encode(y))(new ea()) : async (p) => new Uint8Array(await new e(p).arrayBuffer())), c = a && l && ta(() => {
1184
+ let p = !1;
1185
1185
  const y = new e(Re.origin, {
1186
1186
  body: new Qo(),
1187
1187
  method: "POST",
1188
1188
  get duplex() {
1189
- return f = !0, "half";
1189
+ return p = !0, "half";
1190
1190
  }
1191
1191
  }).headers.has("Content-Type");
1192
- return f && !y;
1192
+ return p && !y;
1193
1193
  }), u = s && l && ta(() => k.isReadableStream(new r("").body)), d = {
1194
- stream: u && ((f) => f.body)
1194
+ stream: u && ((p) => p.body)
1195
1195
  };
1196
- o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((f) => {
1197
- !d[f] && (d[f] = (y, w) => {
1198
- let D = y && y[f];
1196
+ o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((p) => {
1197
+ !d[p] && (d[p] = (y, w) => {
1198
+ let D = y && y[p];
1199
1199
  if (D)
1200
1200
  return D.call(y);
1201
- throw new G(`Response type '${f}' is not supported`, G.ERR_NOT_SUPPORT, w);
1201
+ throw new G(`Response type '${p}' is not supported`, G.ERR_NOT_SUPPORT, w);
1202
1202
  });
1203
1203
  });
1204
- const p = async (f) => {
1205
- if (f == null)
1204
+ const f = async (p) => {
1205
+ if (p == null)
1206
1206
  return 0;
1207
- if (k.isBlob(f))
1208
- return f.size;
1209
- if (k.isSpecCompliantForm(f))
1207
+ if (k.isBlob(p))
1208
+ return p.size;
1209
+ if (k.isSpecCompliantForm(p))
1210
1210
  return (await new e(Re.origin, {
1211
1211
  method: "POST",
1212
- body: f
1212
+ body: p
1213
1213
  }).arrayBuffer()).byteLength;
1214
- if (k.isArrayBufferView(f) || k.isArrayBuffer(f))
1215
- return f.byteLength;
1216
- if (k.isURLSearchParams(f) && (f = f + ""), k.isString(f))
1217
- return (await i(f)).byteLength;
1218
- }, g = async (f, y) => {
1219
- const w = k.toFiniteNumber(f.getContentLength());
1220
- return w ?? p(y);
1214
+ if (k.isArrayBufferView(p) || k.isArrayBuffer(p))
1215
+ return p.byteLength;
1216
+ if (k.isURLSearchParams(p) && (p = p + ""), k.isString(p))
1217
+ return (await i(p)).byteLength;
1218
+ }, g = async (p, y) => {
1219
+ const w = k.toFiniteNumber(p.getContentLength());
1220
+ return w ?? f(y);
1221
1221
  };
1222
- return async (f) => {
1222
+ return async (p) => {
1223
1223
  let {
1224
1224
  url: y,
1225
1225
  method: w,
@@ -1233,7 +1233,7 @@ const us = (t) => {
1233
1233
  headers: Pe,
1234
1234
  withCredentials: J = "same-origin",
1235
1235
  fetchOptions: ee
1236
- } = us(f), ue = n || fetch;
1236
+ } = us(p), ue = n || fetch;
1237
1237
  V = V ? (V + "").toLowerCase() : "text";
1238
1238
  let ce = Cu([M, T && T.toAbortSignal()], W), ve = null;
1239
1239
  const Ge = ce && ce.unsubscribe && (() => {
@@ -1285,24 +1285,24 @@ const us = (t) => {
1285
1285
  );
1286
1286
  }
1287
1287
  V = V || "text";
1288
- let re = await d[k.findKey(d, V) || "text"](Se, f);
1288
+ let re = await d[k.findKey(d, V) || "text"](Se, p);
1289
1289
  return !Nt && Ge && Ge(), await new Promise((Ve, ot) => {
1290
1290
  is(Ve, ot, {
1291
1291
  data: re,
1292
1292
  headers: We.from(Se.headers),
1293
1293
  status: Se.status,
1294
1294
  statusText: Se.statusText,
1295
- config: f,
1295
+ config: p,
1296
1296
  request: ve
1297
1297
  });
1298
1298
  });
1299
1299
  } catch (q) {
1300
1300
  throw Ge && Ge(), q && q.name === "TypeError" && /Load failed|fetch/i.test(q.message) ? Object.assign(
1301
- new G("Network Error", G.ERR_NETWORK, f, ve),
1301
+ new G("Network Error", G.ERR_NETWORK, p, ve),
1302
1302
  {
1303
1303
  cause: q.cause || q
1304
1304
  }
1305
- ) : G.from(q, q && q.code, f, ve);
1305
+ ) : G.from(q, q && q.code, p, ve);
1306
1306
  }
1307
1307
  };
1308
1308
  }, $u = /* @__PURE__ */ new Map(), cs = (t) => {
@@ -1490,8 +1490,8 @@ let Ut = class {
1490
1490
  );
1491
1491
  a && k.forEach(
1492
1492
  ["delete", "get", "head", "post", "put", "patch", "common"],
1493
- (f) => {
1494
- delete a[f];
1493
+ (p) => {
1494
+ delete a[p];
1495
1495
  }
1496
1496
  ), e.headers = We.concat(s, a);
1497
1497
  const l = [];
@@ -1503,19 +1503,19 @@ let Ut = class {
1503
1503
  this.interceptors.response.forEach(function(y) {
1504
1504
  c.push(y.fulfilled, y.rejected);
1505
1505
  });
1506
- let u, d = 0, p;
1506
+ let u, d = 0, f;
1507
1507
  if (!i) {
1508
- const f = [ra.bind(this), void 0];
1509
- for (f.unshift(...l), f.push(...c), p = f.length, u = Promise.resolve(e); d < p; )
1510
- u = u.then(f[d++], f[d++]);
1508
+ const p = [ra.bind(this), void 0];
1509
+ for (p.unshift(...l), p.push(...c), f = p.length, u = Promise.resolve(e); d < f; )
1510
+ u = u.then(p[d++], p[d++]);
1511
1511
  return u;
1512
1512
  }
1513
- p = l.length;
1513
+ f = l.length;
1514
1514
  let g = e;
1515
- for (; d < p; ) {
1516
- const f = l[d++], y = l[d++];
1515
+ for (; d < f; ) {
1516
+ const p = l[d++], y = l[d++];
1517
1517
  try {
1518
- g = f(g);
1518
+ g = p(g);
1519
1519
  } catch (w) {
1520
1520
  y.call(this, w);
1521
1521
  break;
@@ -1523,10 +1523,10 @@ let Ut = class {
1523
1523
  }
1524
1524
  try {
1525
1525
  u = ra.call(this, g);
1526
- } catch (f) {
1527
- return Promise.reject(f);
1526
+ } catch (p) {
1527
+ return Promise.reject(p);
1528
1528
  }
1529
- for (d = 0, p = c.length; d < p; )
1529
+ for (d = 0, f = c.length; d < f; )
1530
1530
  u = u.then(c[d++], c[d++]);
1531
1531
  return u;
1532
1532
  }
@@ -1894,12 +1894,12 @@ const ht = {
1894
1894
  labelledby: t.label ? `${o.value}-label` : void 0,
1895
1895
  describedby: t.help ? `${o.value}-help` : void 0,
1896
1896
  errormessage: e.value ? `${o.value}-error` : void 0
1897
- })), c = (p) => {
1898
- p.type === "invalid" && (e.value = p.target.validationMessage);
1899
- }, u = (p) => {
1897
+ })), c = (f) => {
1898
+ f.type === "invalid" && (e.value = f.target.validationMessage);
1899
+ }, u = (f) => {
1900
1900
  if (!e.value)
1901
1901
  return;
1902
- const g = p.target;
1902
+ const g = f.target;
1903
1903
  g.checkValidity() ? e.value = "" : e.value = g.validationMessage;
1904
1904
  }, d = Xn(u, 350);
1905
1905
  return {
@@ -1922,7 +1922,14 @@ const ht = {
1922
1922
  return "";
1923
1923
  const n = new Date(t);
1924
1924
  return n.setMinutes(n.getMinutes() - n.getTimezoneOffset()), n.toISOString().slice(0, 16);
1925
- }, ys = (t) => !("url" in t) || typeof t.url != "string", O0 = (t) => "url" in t && typeof t.url == "string", R0 = (t, n) => {
1925
+ };
1926
+ function O0(t, n = 100) {
1927
+ let e;
1928
+ return (...r) => {
1929
+ e || (t.apply(r), e = !0, setTimeout(() => e = !1, n));
1930
+ };
1931
+ }
1932
+ const ys = (t) => !("url" in t) || typeof t.url != "string", R0 = (t) => "url" in t && typeof t.url == "string", I0 = (t, n) => {
1926
1933
  var c;
1927
1934
  const e = A(t), r = {
1928
1935
  initial: ((c = e == null ? void 0 : e.value[0]) == null ? void 0 : c.value) || "",
@@ -1931,18 +1938,18 @@ const ht = {
1931
1938
  return i && a(i) && (o.value = i), nt(o, (u) => {
1932
1939
  const d = new URLSearchParams(window.location.search);
1933
1940
  d.set(r.paramName, u.toString());
1934
- const p = d.toString() !== "" ? `?${d.toString()}` : "";
1941
+ const f = d.toString() !== "" ? `?${d.toString()}` : "";
1935
1942
  window.history.replaceState(
1936
1943
  { tab: u },
1937
1944
  document.title,
1938
- `${window.location.pathname}${p}`
1945
+ `${window.location.pathname}${f}`
1939
1946
  );
1940
1947
  }), {
1941
1948
  activeTab: o,
1942
1949
  isActiveTab: s,
1943
1950
  tabs: e
1944
1951
  };
1945
- }, I0 = (t) => {
1952
+ }, L0 = (t) => {
1946
1953
  const n = A(t);
1947
1954
  return nt(
1948
1955
  n,
@@ -1971,14 +1978,7 @@ const ht = {
1971
1978
  },
1972
1979
  { deep: !0 }
1973
1980
  ), n;
1974
- };
1975
- function L0(t, n = 100) {
1976
- let e;
1977
- return (...r) => {
1978
- e || (t.apply(r), e = !0, setTimeout(() => e = !1, n));
1979
- };
1980
- }
1981
- const Vu = {
1981
+ }, Vu = {
1982
1982
  key: 0,
1983
1983
  class: "flex items-center space-x-2"
1984
1984
  }, Hu = { class: "isolate inline-flex rounded-md shadow-sm" }, Uu = ["disabled", "onClick"], qu = { class: "relative inline-flex items-center gap-x-1.5" }, Wu = ["href", "target", "onClick"], Yu = { class: "relative inline-flex items-center gap-x-1.5" }, er = /* @__PURE__ */ I({
@@ -2144,8 +2144,8 @@ function Vn(t) {
2144
2144
  var n = t.props, e = t.attrs, r = t.slots, o = t.slot, a = t.name, s = Ku(n, ["unmount", "static"]), l = s.as, i = vt(s, ["as"]), c = r.default == null ? void 0 : r.default(o);
2145
2145
  if (l === "template") {
2146
2146
  if (Object.keys(i).length > 0 || Object.keys(e).length > 0) {
2147
- var u = c ?? [], d = u[0], p = u.slice(1);
2148
- if (!Gu(d) || p.length > 0)
2147
+ var u = c ?? [], d = u[0], f = u.slice(1);
2148
+ if (!Gu(d) || f.length > 0)
2149
2149
  throw new Error(['Passing props on "template"!', "", "The current component <" + a + ' /> is rendering a "template".', "However we need to passthrough the following props:", Object.keys(i).concat(Object.keys(e)).map(function(g) {
2150
2150
  return " - " + g;
2151
2151
  }).join(`
@@ -2418,7 +2418,7 @@ function nc(t, n, e) {
2418
2418
  mn(l);
2419
2419
  else {
2420
2420
  for (var c = !1, u = xt(t.value), d; !(d = u()).done; ) {
2421
- var p = d.value, g = ct(p, ae.First);
2421
+ var f = d.value, g = ct(f, ae.First);
2422
2422
  if (g === et.Success) {
2423
2423
  c = !0;
2424
2424
  break;
@@ -2488,8 +2488,8 @@ function rc(t, n) {
2488
2488
  if (zt.delete(r), zt.size > 0)
2489
2489
  document.querySelectorAll(da).forEach(function(u) {
2490
2490
  if (u instanceof HTMLElement && !$t.has(u)) {
2491
- for (var d = xt(zt), p; !(p = d()).done; ) {
2492
- var g = p.value;
2491
+ for (var d = xt(zt), f; !(f = d()).done; ) {
2492
+ var g = f.value;
2493
2493
  if (u.contains(g)) return;
2494
2494
  }
2495
2495
  $t.set(u, {
@@ -2542,8 +2542,8 @@ var _s = /* @__PURE__ */ I({
2542
2542
  },
2543
2543
  render: function() {
2544
2544
  var n = this.context, e = n.name, r = e === void 0 ? "Description" : e, o = n.slot, a = o === void 0 ? A({}) : o, s = n.props, l = s === void 0 ? {} : s, i = this.$props, c = ie({}, Object.entries(l).reduce(function(u, d) {
2545
- var p, g = d[0], f = d[1];
2546
- return Object.assign(u, (p = {}, p[g] = h(f), p));
2545
+ var f, g = d[0], p = d[1];
2546
+ return Object.assign(u, (f = {}, f[g] = h(p), f));
2547
2547
  }, {}), {
2548
2548
  id: this.id
2549
2549
  });
@@ -2681,7 +2681,7 @@ var Hn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", yr = /* @__PURE__ */ I({
2681
2681
  Va(function() {
2682
2682
  d.value = i.value === Fe.Open;
2683
2683
  });
2684
- var p = "headlessui-dialog-" + Ie(), g = P(function() {
2684
+ var f = "headlessui-dialog-" + Ie(), g = P(function() {
2685
2685
  return {
2686
2686
  initialFocus: n.initialFocus
2687
2687
  };
@@ -2694,7 +2694,7 @@ var Hn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", yr = /* @__PURE__ */ I({
2694
2694
  o.value.delete(M);
2695
2695
  }, T));
2696
2696
  });
2697
- var f = vr({
2697
+ var p = vr({
2698
2698
  name: "DialogDescription",
2699
2699
  slot: P(function() {
2700
2700
  return {
@@ -2741,13 +2741,13 @@ var Hn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", yr = /* @__PURE__ */ I({
2741
2741
  }
2742
2742
  }
2743
2743
  }), {
2744
- id: p,
2744
+ id: f,
2745
2745
  el: u,
2746
2746
  dialogRef: u,
2747
2747
  containers: o,
2748
2748
  dialogState: i,
2749
2749
  titleId: y,
2750
- describedby: f,
2750
+ describedby: p,
2751
2751
  visible: c,
2752
2752
  open: s,
2753
2753
  handleClick: function(M) {
@@ -2873,16 +2873,16 @@ var ic = /* @__PURE__ */ I({
2873
2873
  panel: i,
2874
2874
  button: c,
2875
2875
  toggleDisclosure: function() {
2876
- var p;
2877
- l.value = ze(l.value, (p = {}, p[$e.Open] = $e.Closed, p[$e.Closed] = $e.Open, p));
2876
+ var f;
2877
+ l.value = ze(l.value, (f = {}, f[$e.Open] = $e.Closed, f[$e.Closed] = $e.Open, f));
2878
2878
  },
2879
2879
  closeDisclosure: function() {
2880
2880
  l.value !== $e.Closed && (l.value = $e.Closed);
2881
2881
  },
2882
- close: function(p) {
2882
+ close: function(f) {
2883
2883
  u.closeDisclosure();
2884
2884
  var g = function() {
2885
- return p ? p instanceof HTMLElement ? p : p.value instanceof HTMLElement ? L(p) : L(u.button) : L(u.button);
2885
+ return f ? f instanceof HTMLElement ? f : f.value instanceof HTMLElement ? L(f) : L(u.button) : L(u.button);
2886
2886
  }();
2887
2887
  g == null || g.focus();
2888
2888
  }
@@ -2891,13 +2891,13 @@ var ic = /* @__PURE__ */ I({
2891
2891
  var d;
2892
2892
  return ze(l.value, (d = {}, d[$e.Open] = ke.Open, d[$e.Closed] = ke.Closed, d));
2893
2893
  })), function() {
2894
- var d = vt(n, ["defaultOpen"]), p = {
2894
+ var d = vt(n, ["defaultOpen"]), f = {
2895
2895
  open: l.value === $e.Open,
2896
2896
  close: u.close
2897
2897
  };
2898
2898
  return me({
2899
2899
  props: d,
2900
- slot: p,
2900
+ slot: f,
2901
2901
  slots: r,
2902
2902
  attrs: o,
2903
2903
  name: "Disclosure"
@@ -3136,10 +3136,10 @@ var vo = /* @__PURE__ */ I({
3136
3136
  openMenu: function() {
3137
3137
  return a.value = Oe.Open;
3138
3138
  },
3139
- goToItem: function(g, f) {
3139
+ goToItem: function(g, p) {
3140
3140
  var y = dc(g === Ce.Specific ? {
3141
3141
  focus: Ce.Specific,
3142
- id: f
3142
+ id: p
3143
3143
  } : {
3144
3144
  focus: g
3145
3145
  }, {
@@ -3160,44 +3160,44 @@ var vo = /* @__PURE__ */ I({
3160
3160
  },
3161
3161
  search: function(g) {
3162
3162
  c.value += g.toLowerCase();
3163
- var f = i.value.findIndex(function(y) {
3163
+ var p = i.value.findIndex(function(y) {
3164
3164
  return y.dataRef.textValue.startsWith(c.value) && !y.dataRef.disabled;
3165
3165
  });
3166
- f === -1 || f === u.value || (u.value = f);
3166
+ p === -1 || p === u.value || (u.value = p);
3167
3167
  },
3168
3168
  clearSearch: function() {
3169
3169
  c.value = "";
3170
3170
  },
3171
- registerItem: function(g, f) {
3171
+ registerItem: function(g, p) {
3172
3172
  i.value.push({
3173
3173
  id: g,
3174
- dataRef: f
3174
+ dataRef: p
3175
3175
  });
3176
3176
  },
3177
3177
  unregisterItem: function(g) {
3178
- var f = i.value.slice(), y = u.value !== null ? f[u.value] : null, w = f.findIndex(function(D) {
3178
+ var p = i.value.slice(), y = u.value !== null ? p[u.value] : null, w = p.findIndex(function(D) {
3179
3179
  return D.id === g;
3180
3180
  });
3181
- w !== -1 && f.splice(w, 1), i.value = f, u.value = function() {
3182
- return w === u.value || y === null ? null : f.indexOf(y);
3181
+ w !== -1 && p.splice(w, 1), i.value = p, u.value = function() {
3182
+ return w === u.value || y === null ? null : p.indexOf(y);
3183
3183
  }();
3184
3184
  }
3185
3185
  };
3186
- return Ct("mousedown", function(p) {
3187
- var g, f, y, w = p.target, D = document.activeElement;
3188
- a.value === Oe.Open && ((g = L(s)) != null && g.contains(w) || ((f = L(l)) != null && f.contains(w) || d.closeMenu(), !(D !== document.body && (D != null && D.contains(w))) && (p.defaultPrevented || (y = L(s)) == null || y.focus({
3186
+ return Ct("mousedown", function(f) {
3187
+ var g, p, y, w = f.target, D = document.activeElement;
3188
+ a.value === Oe.Open && ((g = L(s)) != null && g.contains(w) || ((p = L(l)) != null && p.contains(w) || d.closeMenu(), !(D !== document.body && (D != null && D.contains(w))) && (f.defaultPrevented || (y = L(s)) == null || y.focus({
3189
3189
  preventScroll: !0
3190
3190
  }))));
3191
3191
  }), Me(As, d), br(P(function() {
3192
- var p;
3193
- return ze(a.value, (p = {}, p[Oe.Open] = ke.Open, p[Oe.Closed] = ke.Closed, p));
3192
+ var f;
3193
+ return ze(a.value, (f = {}, f[Oe.Open] = ke.Open, f[Oe.Closed] = ke.Closed, f));
3194
3194
  })), function() {
3195
- var p = {
3195
+ var f = {
3196
3196
  open: a.value === Oe.Open
3197
3197
  };
3198
3198
  return me({
3199
3199
  props: n,
3200
- slot: p,
3200
+ slot: f,
3201
3201
  slots: r,
3202
3202
  attrs: o,
3203
3203
  name: "Menu"
@@ -3438,7 +3438,7 @@ var vo = /* @__PURE__ */ I({
3438
3438
  textValue: ""
3439
3439
  });
3440
3440
  Ue(function() {
3441
- var g, f, y = (g = document.getElementById(s)) == null || (f = g.textContent) == null ? void 0 : f.toLowerCase().trim();
3441
+ var g, p, y = (g = document.getElementById(s)) == null || (p = g.textContent) == null ? void 0 : p.toLowerCase().trim();
3442
3442
  y !== void 0 && (i.value.textValue = y);
3443
3443
  }), Ue(function() {
3444
3444
  return a.registerItem(s, i);
@@ -3455,8 +3455,8 @@ var vo = /* @__PURE__ */ I({
3455
3455
  function c(g) {
3456
3456
  if (n.disabled) return g.preventDefault();
3457
3457
  a.closeMenu(), Pt(function() {
3458
- var f;
3459
- return (f = L(a.buttonRef)) == null ? void 0 : f.focus({
3458
+ var p;
3459
+ return (p = L(a.buttonRef)) == null ? void 0 : p.focus({
3460
3460
  preventScroll: !0
3461
3461
  });
3462
3462
  });
@@ -3468,11 +3468,11 @@ var vo = /* @__PURE__ */ I({
3468
3468
  function d() {
3469
3469
  n.disabled || l.value || a.goToItem(Ce.Specific, s);
3470
3470
  }
3471
- function p() {
3471
+ function f() {
3472
3472
  n.disabled || l.value && a.goToItem(Ce.Nothing);
3473
3473
  }
3474
3474
  return function() {
3475
- var g = n.disabled, f = {
3475
+ var g = n.disabled, p = {
3476
3476
  active: l.value,
3477
3477
  disabled: g
3478
3478
  }, y = {
@@ -3484,12 +3484,12 @@ var vo = /* @__PURE__ */ I({
3484
3484
  onFocus: u,
3485
3485
  onPointermove: d,
3486
3486
  onMousemove: d,
3487
- onPointerleave: p,
3488
- onMouseleave: p
3487
+ onPointerleave: f,
3488
+ onMouseleave: f
3489
3489
  };
3490
3490
  return me({
3491
3491
  props: ie({}, n, y),
3492
- slot: f,
3492
+ slot: p,
3493
3493
  attrs: o,
3494
3494
  slots: r,
3495
3495
  name: "MenuItem"
@@ -3557,15 +3557,15 @@ var Ls = /* @__PURE__ */ I({
3557
3557
  close: function() {
3558
3558
  u.closePopover();
3559
3559
  }
3560
- }, p = Rs(), g = p == null ? void 0 : p.registerPopover;
3561
- function f() {
3560
+ }, f = Rs(), g = f == null ? void 0 : f.registerPopover;
3561
+ function p() {
3562
3562
  var y, w, D;
3563
- return (y = p == null ? void 0 : p.isFocusWithinPopoverGroup()) != null ? y : ((w = L(i)) == null ? void 0 : w.contains(document.activeElement)) || ((D = L(c)) == null ? void 0 : D.contains(document.activeElement));
3563
+ return (y = f == null ? void 0 : f.isFocusWithinPopoverGroup()) != null ? y : ((w = L(i)) == null ? void 0 : w.contains(document.activeElement)) || ((D = L(c)) == null ? void 0 : D.contains(document.activeElement));
3564
3564
  }
3565
3565
  return Ee(function() {
3566
3566
  return g == null ? void 0 : g(d);
3567
3567
  }), Ct("focus", function() {
3568
- l.value === oe.Open && (f() || i && c && u.closePopover());
3568
+ l.value === oe.Open && (p() || i && c && u.closePopover());
3569
3569
  }, !0), Ct("mousedown", function(y) {
3570
3570
  var w, D, M = y.target;
3571
3571
  if (l.value === oe.Open && !((w = L(i)) != null && w.contains(M)) && !((D = L(c)) != null && D.contains(M)) && (u.closePopover(), !tc(M, Jt.Loose))) {
@@ -3643,13 +3643,13 @@ var Ls = /* @__PURE__ */ I({
3643
3643
  };
3644
3644
  }), d),
3645
3645
  handleKeyDown: function(g) {
3646
- var f, y;
3646
+ var p, y;
3647
3647
  if (i) {
3648
3648
  if (o.popoverState.value === oe.Closed) return;
3649
3649
  switch (g.key) {
3650
3650
  case K.Space:
3651
3651
  case K.Enter:
3652
- g.preventDefault(), g.stopPropagation(), o.closePopover(), (f = L(o.button)) == null || f.focus();
3652
+ g.preventDefault(), g.stopPropagation(), o.closePopover(), (p = L(o.button)) == null || p.focus();
3653
3653
  break;
3654
3654
  }
3655
3655
  } else
@@ -3677,11 +3677,11 @@ var Ls = /* @__PURE__ */ I({
3677
3677
  }
3678
3678
  },
3679
3679
  handleKeyUp: function(g) {
3680
- var f, y;
3680
+ var p, y;
3681
3681
  if (!i && (g.key === K.Space && g.preventDefault(), o.popoverState.value === oe.Open && o.panel && o.button))
3682
3682
  switch (g.key) {
3683
3683
  case K.Tab:
3684
- if (!u.value || (f = L(o.button)) != null && f.contains(u.value) || (y = L(o.panel)) != null && y.contains(u.value)) return;
3684
+ if (!u.value || (p = L(o.button)) != null && p.contains(u.value) || (y = L(o.panel)) != null && y.contains(u.value)) return;
3685
3685
  var w = nr(), D = w.indexOf(u.value), M = w.indexOf(L(o.button));
3686
3686
  if (M > D) return;
3687
3687
  g.preventDefault(), g.stopPropagation(), ct(L(o.panel), ae.Last);
@@ -3694,8 +3694,8 @@ var Ls = /* @__PURE__ */ I({
3694
3694
  var g;
3695
3695
  o.closePopover(), (g = L(o.button)) == null || g.focus();
3696
3696
  } else {
3697
- var f;
3698
- o.popoverState.value === oe.Closed && (s == null || s(o.buttonId)), (f = L(o.button)) == null || f.focus(), o.togglePopover();
3697
+ var p;
3698
+ o.popoverState.value === oe.Closed && (s == null || s(o.buttonId)), (p = L(o.button)) == null || p.focus(), o.togglePopover();
3699
3699
  }
3700
3700
  }
3701
3701
  };
@@ -3759,11 +3759,11 @@ var Ls = /* @__PURE__ */ I({
3759
3759
  return (c = L(r.button)) == null ? void 0 : c.focus();
3760
3760
  } else if (i === et.Overflow) {
3761
3761
  if (!L(r.button)) return;
3762
- var u = nr(), d = u.indexOf(L(r.button)), p = u.splice(d + 1).filter(function(g) {
3763
- var f;
3764
- return !((f = L(r.panel)) != null && f.contains(g));
3762
+ var u = nr(), d = u.indexOf(L(r.button)), f = u.splice(d + 1).filter(function(g) {
3763
+ var p;
3764
+ return !((p = L(r.panel)) != null && p.contains(g));
3765
3765
  });
3766
- ct(p, ae.First) === et.Error && ct(document.body, ae.First);
3766
+ ct(f, ae.First) === et.Error && ct(document.body, ae.First);
3767
3767
  }
3768
3768
  }
3769
3769
  }), Ct("focus", function() {
@@ -3827,14 +3827,14 @@ var Bs = /* @__PURE__ */ I({
3827
3827
  }
3828
3828
  },
3829
3829
  render: function() {
3830
- var n = this.context, e = n.name, r = e === void 0 ? "Label" : e, o = n.slot, a = o === void 0 ? {} : o, s = n.props, l = s === void 0 ? {} : s, i = this.$props, c = i.passive, u = vt(i, ["passive"]), d = ie({}, Object.entries(l).reduce(function(g, f) {
3831
- var y, w = f[0], D = f[1];
3830
+ var n = this.context, e = n.name, r = e === void 0 ? "Label" : e, o = n.slot, a = o === void 0 ? {} : o, s = n.props, l = s === void 0 ? {} : s, i = this.$props, c = i.passive, u = vt(i, ["passive"]), d = ie({}, Object.entries(l).reduce(function(g, p) {
3831
+ var y, w = p[0], D = p[1];
3832
3832
  return Object.assign(g, (y = {}, y[w] = h(D), y));
3833
3833
  }, {}), {
3834
3834
  id: this.id
3835
- }), p = ie({}, u, d);
3836
- return c && delete p.onClick, me({
3837
- props: p,
3835
+ }), f = ie({}, u, d);
3836
+ return c && delete f.onClick, me({
3837
+ props: f,
3838
3838
  slot: a,
3839
3839
  attrs: this.$attrs,
3840
3840
  slots: this.$slots,
@@ -3910,25 +3910,25 @@ var vc = /* @__PURE__ */ I({
3910
3910
  return n.disabled;
3911
3911
  }),
3912
3912
  firstOption: P(function() {
3913
- return a.value.find(function(p) {
3914
- return !p.propsRef.disabled;
3913
+ return a.value.find(function(f) {
3914
+ return !f.propsRef.disabled;
3915
3915
  });
3916
3916
  }),
3917
3917
  containsCheckedOption: P(function() {
3918
- return a.value.some(function(p) {
3919
- return Vt(p.propsRef.value) === Vt(n.modelValue);
3918
+ return a.value.some(function(f) {
3919
+ return Vt(f.propsRef.value) === Vt(n.modelValue);
3920
3920
  });
3921
3921
  }),
3922
3922
  change: function(g) {
3923
- var f;
3923
+ var p;
3924
3924
  if (n.disabled || i.value === g) return !1;
3925
- var y = (f = a.value.find(function(w) {
3925
+ var y = (p = a.value.find(function(w) {
3926
3926
  return Vt(w.propsRef.value) === Vt(g);
3927
- })) == null ? void 0 : f.propsRef;
3927
+ })) == null ? void 0 : p.propsRef;
3928
3928
  return y != null && y.disabled ? !1 : (r("update:modelValue", g), !0);
3929
3929
  },
3930
3930
  registerOption: function(g) {
3931
- var f, y = Array.from((f = o.value) == null ? void 0 : f.querySelectorAll('[id^="headlessui-radiogroup-option-"]')).reduce(function(w, D, M) {
3931
+ var p, y = Array.from((p = o.value) == null ? void 0 : p.querySelectorAll('[id^="headlessui-radiogroup-option-"]')).reduce(function(w, D, M) {
3932
3932
  var T;
3933
3933
  return Object.assign(w, (T = {}, T[D.id] = M, T));
3934
3934
  }, {});
@@ -3937,10 +3937,10 @@ var vc = /* @__PURE__ */ I({
3937
3937
  });
3938
3938
  },
3939
3939
  unregisterOption: function(g) {
3940
- var f = a.value.findIndex(function(y) {
3940
+ var p = a.value.findIndex(function(y) {
3941
3941
  return y.id === g;
3942
3942
  });
3943
- f !== -1 && a.value.splice(f, 1);
3943
+ p !== -1 && a.value.splice(p, 1);
3944
3944
  }
3945
3945
  };
3946
3946
  Me(js, c), Ps({
@@ -3954,20 +3954,20 @@ var vc = /* @__PURE__ */ I({
3954
3954
  g.setAttribute("role", "none");
3955
3955
  }
3956
3956
  });
3957
- function u(p) {
3958
- if (o.value && o.value.contains(p.target)) {
3957
+ function u(f) {
3958
+ if (o.value && o.value.contains(f.target)) {
3959
3959
  var g = a.value.filter(function(T) {
3960
3960
  return T.propsRef.disabled === !1;
3961
3961
  }).map(function(T) {
3962
3962
  return T.element;
3963
3963
  });
3964
- switch (p.key) {
3964
+ switch (f.key) {
3965
3965
  case K.ArrowLeft:
3966
3966
  case K.ArrowUp:
3967
3967
  {
3968
- p.preventDefault(), p.stopPropagation();
3969
- var f = ct(g, ae.Previous | ae.WrapAround);
3970
- if (f === et.Success) {
3968
+ f.preventDefault(), f.stopPropagation();
3969
+ var p = ct(g, ae.Previous | ae.WrapAround);
3970
+ if (p === et.Success) {
3971
3971
  var y = a.value.find(function(T) {
3972
3972
  return T.element === document.activeElement;
3973
3973
  });
@@ -3978,7 +3978,7 @@ var vc = /* @__PURE__ */ I({
3978
3978
  case K.ArrowRight:
3979
3979
  case K.ArrowDown:
3980
3980
  {
3981
- p.preventDefault(), p.stopPropagation();
3981
+ f.preventDefault(), f.stopPropagation();
3982
3982
  var w = ct(g, ae.Next | ae.WrapAround);
3983
3983
  if (w === et.Success) {
3984
3984
  var D = a.value.find(function(T) {
@@ -3990,7 +3990,7 @@ var vc = /* @__PURE__ */ I({
3990
3990
  break;
3991
3991
  case K.Space:
3992
3992
  {
3993
- p.preventDefault(), p.stopPropagation();
3993
+ f.preventDefault(), f.stopPropagation();
3994
3994
  var M = a.value.find(function(T) {
3995
3995
  return T.element === document.activeElement;
3996
3996
  });
@@ -4075,8 +4075,8 @@ var bc = /* @__PURE__ */ I({
4075
4075
  return e.unregisterOption(r);
4076
4076
  });
4077
4077
  var c = P(function() {
4078
- var p;
4079
- return ((p = e.firstOption.value) == null ? void 0 : p.id) === r;
4078
+ var f;
4079
+ return ((f = e.firstOption.value) == null ? void 0 : f.id) === r;
4080
4080
  }), u = P(function() {
4081
4081
  return e.disabled.value || n.disabled;
4082
4082
  }), d = P(function() {
@@ -4287,10 +4287,10 @@ function kc(t, n) {
4287
4287
  var r = getComputedStyle(t), o = r.transitionDuration, a = r.transitionDelay, s = [o, a].map(function(c) {
4288
4288
  var u = c.split(",").filter(Boolean).map(function(g) {
4289
4289
  return g.includes("ms") ? parseFloat(g) : parseFloat(g) * 1e3;
4290
- }).sort(function(g, f) {
4291
- return f - g;
4292
- }), d = u[0], p = d === void 0 ? 0 : d;
4293
- return p;
4290
+ }).sort(function(g, p) {
4291
+ return p - g;
4292
+ }), d = u[0], f = d === void 0 ? 0 : d;
4293
+ return f;
4294
4294
  }), l = s[0], i = s[1];
4295
4295
  return l !== 0 ? e.setTimeout(function() {
4296
4296
  return n(At.Finished);
@@ -4479,27 +4479,27 @@ var Ws = Ye.RenderStrategy, kt = /* @__PURE__ */ I({
4479
4479
  };
4480
4480
  var o = A(null), a = A(fe.Visible), s = P(function() {
4481
4481
  return n.unmount ? Qe.Unmount : Qe.Hidden;
4482
- }), l = _c(), i = l.show, c = l.appear, u = Sc(), d = u.register, p = u.unregister, g = {
4482
+ }), l = _c(), i = l.show, c = l.appear, u = Sc(), d = u.register, f = u.unregister, g = {
4483
4483
  value: !0
4484
- }, f = Ie(), y = {
4484
+ }, p = Ie(), y = {
4485
4485
  value: !1
4486
4486
  }, w = qs(function() {
4487
- y.value || (a.value = fe.Hidden, p(f), r("afterLeave"));
4487
+ y.value || (a.value = fe.Hidden, f(p), r("afterLeave"));
4488
4488
  });
4489
4489
  Ue(function() {
4490
- var J = d(f);
4490
+ var J = d(p);
4491
4491
  Dt(J);
4492
4492
  }), Ee(function() {
4493
4493
  var J;
4494
- if (s.value === Qe.Hidden && f) {
4494
+ if (s.value === Qe.Hidden && p) {
4495
4495
  if (i && a.value !== fe.Visible) {
4496
4496
  a.value = fe.Visible;
4497
4497
  return;
4498
4498
  }
4499
4499
  ze(a.value, (J = {}, J[fe.Hidden] = function() {
4500
- return p(f);
4500
+ return f(p);
4501
4501
  }, J[fe.Visible] = function() {
4502
- return d(f);
4502
+ return d(p);
4503
4503
  }, J));
4504
4504
  }
4505
4505
  });
@@ -4518,7 +4518,7 @@ var Ws = Ye.RenderStrategy, kt = /* @__PURE__ */ I({
4518
4518
  !ue || !(ue instanceof HTMLElement) || ee || (y.value = !0, i.value && r("beforeEnter"), i.value || r("beforeLeave"), J(i.value ? ga(ue, D, M, T, W, function(ce) {
4519
4519
  y.value = !1, ce === At.Finished && r("afterEnter");
4520
4520
  }) : ga(ue, z, Q, V, W, function(ce) {
4521
- y.value = !1, ce === At.Finished && (Cr(w) || (a.value = fe.Hidden, p(f), r("afterLeave")));
4521
+ y.value = !1, ce === At.Finished && (Cr(w) || (a.value = fe.Hidden, f(p), r("afterLeave")));
4522
4522
  })));
4523
4523
  }
4524
4524
  return Ue(function() {
@@ -4828,12 +4828,12 @@ function va(t, n, e) {
4828
4828
  }
4829
4829
  const Ic = async (t, n, e) => {
4830
4830
  const { placement: r = "bottom", strategy: o = "absolute", middleware: a = [], platform: s } = e, l = a.filter(Boolean), i = await (s.isRTL == null ? void 0 : s.isRTL(n));
4831
- let c = await s.getElementRects({ reference: t, floating: n, strategy: o }), { x: u, y: d } = va(c, r, i), p = r, g = {}, f = 0;
4831
+ let c = await s.getElementRects({ reference: t, floating: n, strategy: o }), { x: u, y: d } = va(c, r, i), f = r, g = {}, p = 0;
4832
4832
  for (let y = 0; y < l.length; y++) {
4833
- const { name: w, fn: D } = l[y], { x: M, y: T, data: W, reset: z } = await D({ x: u, y: d, initialPlacement: r, placement: p, strategy: o, middlewareData: g, rects: c, platform: s, elements: { reference: t, floating: n } });
4834
- u = M ?? u, d = T ?? d, g = { ...g, [w]: { ...g[w], ...W } }, z && f <= 50 && (f++, typeof z == "object" && (z.placement && (p = z.placement), z.rects && (c = z.rects === !0 ? await s.getElementRects({ reference: t, floating: n, strategy: o }) : z.rects), { x: u, y: d } = va(c, p, i)), y = -1);
4833
+ const { name: w, fn: D } = l[y], { x: M, y: T, data: W, reset: z } = await D({ x: u, y: d, initialPlacement: r, placement: f, strategy: o, middlewareData: g, rects: c, platform: s, elements: { reference: t, floating: n } });
4834
+ u = M ?? u, d = T ?? d, g = { ...g, [w]: { ...g[w], ...W } }, z && p <= 50 && (p++, typeof z == "object" && (z.placement && (f = z.placement), z.rects && (c = z.rects === !0 ? await s.getElementRects({ reference: t, floating: n, strategy: o }) : z.rects), { x: u, y: d } = va(c, f, i)), y = -1);
4835
4835
  }
4836
- return { x: u, y: d, placement: p, strategy: o, middlewareData: g };
4836
+ return { x: u, y: d, placement: f, strategy: o, middlewareData: g };
4837
4837
  };
4838
4838
  function kr(t, n) {
4839
4839
  return typeof t == "function" ? t(n) : t;
@@ -4849,8 +4849,8 @@ function rr(t) {
4849
4849
  async function Gs(t, n) {
4850
4850
  var e;
4851
4851
  n === void 0 && (n = {});
4852
- const { x: r, y: o, platform: a, rects: s, elements: l, strategy: i } = t, { boundary: c = "clippingAncestors", rootBoundary: u = "viewport", elementContext: d = "floating", altBoundary: p = !1, padding: g = 0 } = kr(n, t), f = Lc(g), y = l[p ? d === "floating" ? "reference" : "floating" : d], w = rr(await a.getClippingRect({ element: (e = await (a.isElement == null ? void 0 : a.isElement(y))) == null || e ? y : y.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(l.floating)), boundary: c, rootBoundary: u, strategy: i })), D = d === "floating" ? { ...s.floating, x: r, y: o } : s.reference, M = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(l.floating)), T = await (a.isElement == null ? void 0 : a.isElement(M)) && await (a.getScale == null ? void 0 : a.getScale(M)) || { x: 1, y: 1 }, W = rr(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: D, offsetParent: M, strategy: i }) : D);
4853
- return { top: (w.top - W.top + f.top) / T.y, bottom: (W.bottom - w.bottom + f.bottom) / T.y, left: (w.left - W.left + f.left) / T.x, right: (W.right - w.right + f.right) / T.x };
4852
+ const { x: r, y: o, platform: a, rects: s, elements: l, strategy: i } = t, { boundary: c = "clippingAncestors", rootBoundary: u = "viewport", elementContext: d = "floating", altBoundary: f = !1, padding: g = 0 } = kr(n, t), p = Lc(g), y = l[f ? d === "floating" ? "reference" : "floating" : d], w = rr(await a.getClippingRect({ element: (e = await (a.isElement == null ? void 0 : a.isElement(y))) == null || e ? y : y.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(l.floating)), boundary: c, rootBoundary: u, strategy: i })), D = d === "floating" ? { ...s.floating, x: r, y: o } : s.reference, M = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(l.floating)), T = await (a.isElement == null ? void 0 : a.isElement(M)) && await (a.getScale == null ? void 0 : a.getScale(M)) || { x: 1, y: 1 }, W = rr(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: D, offsetParent: M, strategy: i }) : D);
4853
+ return { top: (w.top - W.top + p.top) / T.y, bottom: (W.bottom - w.bottom + p.bottom) / T.y, left: (w.left - W.left + p.left) / T.x, right: (W.right - w.right + p.right) / T.x };
4854
4854
  }
4855
4855
  const Nc = Math.min, Fc = Math.max;
4856
4856
  function ba(t, n, e) {
@@ -4873,9 +4873,9 @@ function Uc(t) {
4873
4873
  const Js = function(t) {
4874
4874
  return t === void 0 && (t = {}), { name: "autoPlacement", options: t, async fn(n) {
4875
4875
  var e, r, o;
4876
- const { rects: a, middlewareData: s, placement: l, platform: i, elements: c } = n, { crossAxis: u = !1, alignment: d, allowedPlacements: p = ya, autoAlignment: g = !0, ...f } = kr(t, n), y = d !== void 0 || p === ya ? function(ee, ue, ce) {
4876
+ const { rects: a, middlewareData: s, placement: l, platform: i, elements: c } = n, { crossAxis: u = !1, alignment: d, allowedPlacements: f = ya, autoAlignment: g = !0, ...p } = kr(t, n), y = d !== void 0 || f === ya ? function(ee, ue, ce) {
4877
4877
  return (ee ? [...ce.filter((ve) => Tt(ve) === ee), ...ce.filter((ve) => Tt(ve) !== ee)] : ce.filter((ve) => rn(ve) === ve)).filter((ve) => !ee || Tt(ve) === ee || !!ue && Uc(ve) !== ve);
4878
- }(d || null, g, p) : p, w = await Gs(n, f), D = ((e = s.autoPlacement) == null ? void 0 : e.index) || 0, M = y[D];
4878
+ }(d || null, g, f) : f, w = await Gs(n, p), D = ((e = s.autoPlacement) == null ? void 0 : e.index) || 0, M = y[D];
4879
4879
  if (M == null) return {};
4880
4880
  const { main: T, cross: W } = Vc(M, a, await (i.isRTL == null ? void 0 : i.isRTL(c.floating)));
4881
4881
  if (l !== M) return { reset: { placement: y[0] } };
@@ -4890,9 +4890,9 @@ const Js = function(t) {
4890
4890
  }, qc = function(t) {
4891
4891
  return { name: "offset", options: t, async fn(n) {
4892
4892
  const { x: e, y: r } = n, o = await async function(a, s) {
4893
- const { placement: l, platform: i, elements: c } = a, u = await (i.isRTL == null ? void 0 : i.isRTL(c.floating)), d = rn(l), p = Tt(l), g = Dr(l) === "x", f = ["left", "top"].includes(d) ? -1 : 1, y = u && g ? -1 : 1, w = kr(s, a);
4893
+ const { placement: l, platform: i, elements: c } = a, u = await (i.isRTL == null ? void 0 : i.isRTL(c.floating)), d = rn(l), f = Tt(l), g = Dr(l) === "x", p = ["left", "top"].includes(d) ? -1 : 1, y = u && g ? -1 : 1, w = kr(s, a);
4894
4894
  let { mainAxis: D, crossAxis: M, alignmentAxis: T } = typeof w == "number" ? { mainAxis: w, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...w };
4895
- return p && typeof T == "number" && (M = p === "end" ? -1 * T : T), g ? { x: M * y, y: D * f } : { x: D * f, y: M * y };
4895
+ return f && typeof T == "number" && (M = f === "end" ? -1 * T : T), g ? { x: M * y, y: D * p } : { x: D * p, y: M * y };
4896
4896
  }(n, t);
4897
4897
  return { x: e + o.x, y: r + o.y, data: o };
4898
4898
  } };
@@ -4905,17 +4905,17 @@ const Yc = function(t) {
4905
4905
  const { x: e, y: r, placement: o } = n, { mainAxis: a = !0, crossAxis: s = !1, limiter: l = { fn: (w) => {
4906
4906
  let { x: D, y: M } = w;
4907
4907
  return { x: D, y: M };
4908
- } }, ...i } = kr(t, n), c = { x: e, y: r }, u = await Gs(n, i), d = Dr(rn(o)), p = Wc(d);
4909
- let g = c[d], f = c[p];
4908
+ } }, ...i } = kr(t, n), c = { x: e, y: r }, u = await Gs(n, i), d = Dr(rn(o)), f = Wc(d);
4909
+ let g = c[d], p = c[f];
4910
4910
  if (a) {
4911
4911
  const w = d === "y" ? "bottom" : "right";
4912
4912
  g = ba(g + u[d === "y" ? "top" : "left"], g, g - u[w]);
4913
4913
  }
4914
4914
  if (s) {
4915
- const w = p === "y" ? "bottom" : "right";
4916
- f = ba(f + u[p === "y" ? "top" : "left"], f, f - u[w]);
4915
+ const w = f === "y" ? "bottom" : "right";
4916
+ p = ba(p + u[f === "y" ? "top" : "left"], p, p - u[w]);
4917
4917
  }
4918
- const y = l.fn({ ...n, [d]: g, [p]: f });
4918
+ const y = l.fn({ ...n, [d]: g, [f]: p });
4919
4919
  return { ...y, data: { x: y.x - e, y: y.y - r } };
4920
4920
  } };
4921
4921
  };
@@ -4991,11 +4991,11 @@ function Wt(t, n, e, r) {
4991
4991
  const l = ti(a, e, r);
4992
4992
  let i = (o.left + l.x) / s.x, c = (o.top + l.y) / s.y, u = o.width / s.x, d = o.height / s.y;
4993
4993
  if (a) {
4994
- const p = it(a), g = r && tt(r) ? it(r) : r;
4995
- let f = p.frameElement;
4996
- for (; f && r && g !== p; ) {
4997
- const y = Xt(f), w = f.getBoundingClientRect(), D = getComputedStyle(f);
4998
- w.x += (f.clientLeft + parseFloat(D.paddingLeft)) * y.x, w.y += (f.clientTop + parseFloat(D.paddingTop)) * y.y, i *= y.x, c *= y.y, u *= y.x, d *= y.y, i += w.x, c += w.y, f = it(f).frameElement;
4994
+ const f = it(a), g = r && tt(r) ? it(r) : r;
4995
+ let p = f.frameElement;
4996
+ for (; p && r && g !== f; ) {
4997
+ const y = Xt(p), w = p.getBoundingClientRect(), D = getComputedStyle(p);
4998
+ w.x += (p.clientLeft + parseFloat(D.paddingLeft)) * y.x, w.y += (p.clientTop + parseFloat(D.paddingTop)) * y.y, i *= y.x, c *= y.y, u *= y.x, d *= y.y, i += w.x, c += w.y, p = it(p).frameElement;
4999
4999
  }
5000
5000
  }
5001
5001
  return rr({ width: u, height: d, x: i, y: c });
@@ -5028,13 +5028,13 @@ function ka(t, n, e) {
5028
5028
  let r;
5029
5029
  if (n === "viewport") r = function(o, a) {
5030
5030
  const s = it(o), l = Ot(o), i = s.visualViewport;
5031
- let c = l.clientWidth, u = l.clientHeight, d = 0, p = 0;
5031
+ let c = l.clientWidth, u = l.clientHeight, d = 0, f = 0;
5032
5032
  if (i) {
5033
5033
  c = i.width, u = i.height;
5034
5034
  const g = ko();
5035
- (!g || g && a === "fixed") && (d = i.offsetLeft, p = i.offsetTop);
5035
+ (!g || g && a === "fixed") && (d = i.offsetLeft, f = i.offsetTop);
5036
5036
  }
5037
- return { width: c, height: u, x: d, y: p };
5037
+ return { width: c, height: u, x: d, y: f };
5038
5038
  }(t, e);
5039
5039
  else if (n === "document") r = function(o) {
5040
5040
  const a = Ot(o), s = _r(o), l = o.ownerDocument.body, i = gn(a.scrollWidth, a.clientWidth, l.scrollWidth, l.clientWidth), c = gn(a.scrollHeight, a.clientHeight, l.scrollHeight, l.clientHeight);
@@ -5088,14 +5088,14 @@ const Gc = { getClippingRect: function(t) {
5088
5088
  const a = e === "clippingAncestors" ? function(c, u) {
5089
5089
  const d = u.get(c);
5090
5090
  if (d) return d;
5091
- let p = vn(c).filter((w) => tt(w) && It(w) !== "body"), g = null;
5092
- const f = dt(c).position === "fixed";
5093
- let y = f ? on(c) : c;
5091
+ let f = vn(c).filter((w) => tt(w) && It(w) !== "body"), g = null;
5092
+ const p = dt(c).position === "fixed";
5093
+ let y = p ? on(c) : c;
5094
5094
  for (; tt(y) && !Er(y); ) {
5095
5095
  const w = dt(y), D = no(y);
5096
- D || w.position !== "fixed" || (g = null), (f ? !D && !g : !D && w.position === "static" && g && ["absolute", "fixed"].includes(g.position) || kn(y) && !D && oi(c, y)) ? p = p.filter((M) => M !== y) : g = w, y = on(y);
5096
+ D || w.position !== "fixed" || (g = null), (p ? !D && !g : !D && w.position === "static" && g && ["absolute", "fixed"].includes(g.position) || kn(y) && !D && oi(c, y)) ? f = f.filter((M) => M !== y) : g = w, y = on(y);
5097
5097
  }
5098
- return u.set(c, p), p;
5098
+ return u.set(c, f), f;
5099
5099
  }(n, this._c) : [].concat(e), s = [...a, r], l = s[0], i = s.reduce((c, u) => {
5100
5100
  const d = ka(n, u, o);
5101
5101
  return c.top = gn(d.top, c.top), c.right = Ca(d.right, c.right), c.bottom = Ca(d.bottom, c.bottom), c.left = gn(d.left, c.left), c;
@@ -5122,23 +5122,23 @@ const Gc = { getClippingRect: function(t) {
5122
5122
  function ai(t, n, e, r) {
5123
5123
  r === void 0 && (r = {});
5124
5124
  const { ancestorScroll: o = !0, ancestorResize: a = !0, elementResize: s = !0, animationFrame: l = !1 } = r, i = o || a ? [...tt(t) ? vn(t) : t.contextElement ? vn(t.contextElement) : [], ...vn(n)] : [];
5125
- i.forEach((p) => {
5126
- const g = !tt(p) && p.toString().includes("V");
5127
- !o || l && !g || p.addEventListener("scroll", e, { passive: !0 }), a && p.addEventListener("resize", e);
5125
+ i.forEach((f) => {
5126
+ const g = !tt(f) && f.toString().includes("V");
5127
+ !o || l && !g || f.addEventListener("scroll", e, { passive: !0 }), a && f.addEventListener("resize", e);
5128
5128
  });
5129
5129
  let c, u = null;
5130
5130
  s && (u = new ResizeObserver(() => {
5131
5131
  e();
5132
5132
  }), tt(t) && !l && u.observe(t), tt(t) || !t.contextElement || l || u.observe(t.contextElement), u.observe(n));
5133
5133
  let d = l ? Wt(t) : null;
5134
- return l && function p() {
5134
+ return l && function f() {
5135
5135
  const g = Wt(t);
5136
- !d || g.x === d.x && g.y === d.y && g.width === d.width && g.height === d.height || e(), d = g, c = requestAnimationFrame(p);
5136
+ !d || g.x === d.x && g.y === d.y && g.width === d.width && g.height === d.height || e(), d = g, c = requestAnimationFrame(f);
5137
5137
  }(), e(), () => {
5138
- var p;
5138
+ var f;
5139
5139
  i.forEach((g) => {
5140
5140
  o && g.removeEventListener("scroll", e), a && g.removeEventListener("resize", e);
5141
- }), (p = u) == null || p.disconnect(), u = null, l && cancelAnimationFrame(c);
5141
+ }), (f = u) == null || f.disconnect(), u = null, l && cancelAnimationFrame(c);
5142
5142
  };
5143
5143
  }
5144
5144
  const Jc = (t, n, e) => {
@@ -5170,7 +5170,7 @@ function ii(t, n, e) {
5170
5170
  }), i = P(() => {
5171
5171
  var V;
5172
5172
  return (V = h(e.transform)) != null ? V : !0;
5173
- }), c = P(() => Sa(t.value)), u = P(() => Sa(n.value)), d = A(0), p = A(0), g = A(l.value), f = A(s.value), y = Ha({}), w = A(!1), D = P(() => {
5173
+ }), c = P(() => Sa(t.value)), u = P(() => Sa(n.value)), d = A(0), f = A(0), g = A(l.value), p = A(s.value), y = Ha({}), w = A(!1), D = P(() => {
5174
5174
  const V = {
5175
5175
  position: g.value,
5176
5176
  left: "0",
@@ -5178,7 +5178,7 @@ function ii(t, n, e) {
5178
5178
  };
5179
5179
  if (!u.value)
5180
5180
  return V;
5181
- const Pe = $a(u.value, d.value), J = $a(u.value, p.value);
5181
+ const Pe = $a(u.value, d.value), J = $a(u.value, f.value);
5182
5182
  return i.value ? {
5183
5183
  ...V,
5184
5184
  transform: "translate(" + Pe + "px, " + J + "px)",
@@ -5198,7 +5198,7 @@ function ii(t, n, e) {
5198
5198
  placement: s.value,
5199
5199
  strategy: l.value
5200
5200
  }).then((V) => {
5201
- d.value = V.x, p.value = V.y, g.value = V.strategy, f.value = V.placement, y.value = V.middlewareData, w.value = !0;
5201
+ d.value = V.x, f.value = V.y, g.value = V.strategy, p.value = V.placement, y.value = V.middlewareData, w.value = !0;
5202
5202
  });
5203
5203
  }
5204
5204
  function W() {
@@ -5225,9 +5225,9 @@ function ii(t, n, e) {
5225
5225
  flush: "sync"
5226
5226
  }), Xi() && Zi(W), {
5227
5227
  x: Yt(d),
5228
- y: Yt(p),
5228
+ y: Yt(f),
5229
5229
  strategy: Yt(g),
5230
- placement: Yt(f),
5230
+ placement: Yt(p),
5231
5231
  middlewareData: Yt(y),
5232
5232
  isPositioned: Yt(w),
5233
5233
  floatingStyles: D,
@@ -5306,7 +5306,7 @@ const Xc = { class: "py-1" }, Zc = ["disabled", "onClick"], Qc = { class: "relat
5306
5306
  as: "div"
5307
5307
  }, {
5308
5308
  default: F(({
5309
- active: p,
5309
+ active: f,
5310
5310
  disabled: g
5311
5311
  }) => [
5312
5312
  u.kind === "button" ? (x(), E("button", {
@@ -5314,11 +5314,11 @@ const Xc = { class: "py-1" }, Zc = ["disabled", "onClick"], Qc = { class: "relat
5314
5314
  type: "button",
5315
5315
  disabled: g,
5316
5316
  class: R([
5317
- p ? "bg-gray-100 text-gray-900" : "text-gray-700",
5317
+ f ? "bg-gray-100 text-gray-900" : "text-gray-700",
5318
5318
  g ? "opacity-50 cursor-not-allowed" : "",
5319
5319
  "block w-full text-left px-4 py-2 text-sm font-semibold"
5320
5320
  ]),
5321
- onClick: (f) => u.onClick(f)
5321
+ onClick: (p) => u.onClick(p)
5322
5322
  }, [
5323
5323
  v("span", Qc, [
5324
5324
  u.icon ? (x(), B(Be(u.icon), {
@@ -5331,7 +5331,7 @@ const Xc = { class: "py-1" }, Zc = ["disabled", "onClick"], Qc = { class: "relat
5331
5331
  ], 10, Zc)) : (x(), E("a", Te({
5332
5332
  key: 1,
5333
5333
  class: [
5334
- p ? "bg-gray-100 text-gray-900" : "text-gray-700",
5334
+ f ? "bg-gray-100 text-gray-900" : "text-gray-700",
5335
5335
  g ? "opacity-50 cursor-not-allowed pointer-events-none" : "",
5336
5336
  "block w-full text-left px-4 py-2 text-sm font-semibold"
5337
5337
  ],
@@ -5339,7 +5339,7 @@ const Xc = { class: "py-1" }, Zc = ["disabled", "onClick"], Qc = { class: "relat
5339
5339
  target: u.openInTab ? "_blank" : void 0,
5340
5340
  ref_for: !0
5341
5341
  }, u.attrs, {
5342
- onClick: (f) => g ? f.preventDefault() : u.onClick(f)
5342
+ onClick: (p) => g ? p.preventDefault() : u.onClick(p)
5343
5343
  }), [
5344
5344
  v("span", td, [
5345
5345
  u.icon ? (x(), B(Be(u.icon), {
@@ -5864,18 +5864,18 @@ const qr = () => {
5864
5864
  l = t.parseDate(e, c);
5865
5865
  else {
5866
5866
  l = !t || !t.noCalendar ? new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1, 0, 0, 0, 0) : new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0));
5867
- let d, p = [];
5868
- for (let g = 0, f = 0, y = ""; g < c.length; g++) {
5867
+ let d, f = [];
5868
+ for (let g = 0, p = 0, y = ""; g < c.length; g++) {
5869
5869
  const w = c[g], D = w === "\\", M = c[g - 1] === "\\" || D;
5870
5870
  if (ro[w] && !M) {
5871
5871
  y += ro[w];
5872
5872
  const T = new RegExp(y).exec(e);
5873
- T && (d = !0) && p[w !== "Y" ? "push" : "unshift"]({
5873
+ T && (d = !0) && f[w !== "Y" ? "push" : "unshift"]({
5874
5874
  fn: md[w],
5875
- val: T[++f]
5875
+ val: T[++p]
5876
5876
  });
5877
5877
  } else D || (y += ".");
5878
- p.forEach(({ fn: T, val: W }) => l = T(l, W, s) || l);
5878
+ f.forEach(({ fn: T, val: W }) => l = T(l, W, s) || l);
5879
5879
  }
5880
5880
  l = d ? l : void 0;
5881
5881
  }
@@ -5917,7 +5917,7 @@ function bd(t, n) {
5917
5917
  config: Object.assign(Object.assign({}, Zt), xe.defaultConfig),
5918
5918
  l10n: En
5919
5919
  };
5920
- e.parseDate = oo({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = f, e._setHoursFromDate = d, e._positionCalendar = Ln, e.changeMonth = re, e.changeYear = Rn, e.clear = Ve, e.close = ot, e._createElement = ne, e.destroy = Et, e.isEnabled = Ft, e.jumpToDate = D, e.open = Si, e.redraw = Lo, e.set = Pi, e.setDate = Ai, e.toggle = Li;
5920
+ e.parseDate = oo({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = p, e._setHoursFromDate = d, e._positionCalendar = Ln, e.changeMonth = re, e.changeYear = Rn, e.clear = Ve, e.close = ot, e._createElement = ne, e.destroy = Et, e.isEnabled = Ft, e.jumpToDate = D, e.open = Si, e.redraw = Lo, e.set = Pi, e.setDate = Ai, e.toggle = Li;
5921
5921
  function r() {
5922
5922
  e.utils = {
5923
5923
  getDaysInMonth(m = e.currentMonth, b = e.currentYear) {
@@ -5977,24 +5977,24 @@ function bd(t, n) {
5977
5977
  const $ = e.config.minTime !== void 0 ? e.config.minTime : e.config.minDate;
5978
5978
  m = Math.max(m, $.getHours()), m === $.getHours() && b < $.getMinutes() && (b = $.getMinutes()), b === $.getMinutes() && (C = Math.max(C, $.getSeconds()));
5979
5979
  }
5980
- p(m, b, C);
5980
+ f(m, b, C);
5981
5981
  }
5982
5982
  function d(m) {
5983
5983
  const b = m || e.latestSelectedDateObj;
5984
- b && p(b.getHours(), b.getMinutes(), b.getSeconds());
5984
+ b && f(b.getHours(), b.getMinutes(), b.getSeconds());
5985
5985
  }
5986
- function p(m, b, C) {
5986
+ function f(m, b, C) {
5987
5987
  e.latestSelectedDateObj !== void 0 && e.latestSelectedDateObj.setHours(m % 24, b, C || 0, 0), !(!e.hourElement || !e.minuteElement || e.isMobile) && (e.hourElement.value = He(e.config.time_24hr ? m : (12 + m) % 12 + 12 * st(m % 12 === 0)), e.minuteElement.value = He(b), e.amPM !== void 0 && (e.amPM.textContent = e.l10n.amPM[st(m >= 12)]), e.secondElement !== void 0 && (e.secondElement.value = He(C)));
5988
5988
  }
5989
5989
  function g(m) {
5990
5990
  const b = Je(m), C = parseInt(b.value) + (m.delta || 0);
5991
5991
  (C / 1e3 > 1 || m.key === "Enter" && !/[^\d]/.test(C.toString())) && Rn(C);
5992
5992
  }
5993
- function f(m, b, C, S) {
5993
+ function p(m, b, C, S) {
5994
5994
  if (b instanceof Array)
5995
- return b.forEach((O) => f(m, O, C, S));
5995
+ return b.forEach((O) => p(m, O, C, S));
5996
5996
  if (m instanceof Array)
5997
- return m.forEach((O) => f(O, b, C, S));
5997
+ return m.forEach((O) => p(O, b, C, S));
5998
5998
  m.addEventListener(b, C, S), e._handlers.push({
5999
5999
  remove: () => m.removeEventListener(b, C)
6000
6000
  });
@@ -6004,21 +6004,21 @@ function bd(t, n) {
6004
6004
  }
6005
6005
  function w() {
6006
6006
  if (e.config.wrap && ["open", "close", "toggle", "clear"].forEach((b) => {
6007
- Array.prototype.forEach.call(e.element.querySelectorAll(`[data-${b}]`), (C) => f(C, "click", e[b]));
6007
+ Array.prototype.forEach.call(e.element.querySelectorAll(`[data-${b}]`), (C) => p(C, "click", e[b]));
6008
6008
  }), e.isMobile) {
6009
6009
  Ii();
6010
6010
  return;
6011
6011
  }
6012
6012
  const m = Ta(_i, 50);
6013
- if (e._debouncedChange = Ta(y, vd), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && f(e.daysContainer, "mouseover", (b) => {
6013
+ if (e._debouncedChange = Ta(y, vd), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && p(e.daysContainer, "mouseover", (b) => {
6014
6014
  e.config.mode === "range" && Mr(Je(b));
6015
- }), f(window.document.body, "keydown", Ei), !e.config.inline && !e.config.static && f(window, "resize", m), window.ontouchstart !== void 0 ? f(window.document, "touchstart", _t) : f(window.document, "mousedown", _t), f(window.document, "focus", _t, { capture: !0 }), e.config.clickOpens === !0 && (f(e._input, "focus", e.open), f(e._input, "click", e.open)), e.daysContainer !== void 0 && (f(e.monthNav, "click", Fi), f(e.monthNav, ["keyup", "increment"], g), f(e.daysContainer, "click", No)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
6015
+ }), p(window.document.body, "keydown", Ei), !e.config.inline && !e.config.static && p(window, "resize", m), window.ontouchstart !== void 0 ? p(window.document, "touchstart", _t) : p(window.document, "mousedown", _t), p(window.document, "focus", _t, { capture: !0 }), e.config.clickOpens === !0 && (p(e._input, "focus", e.open), p(e._input, "click", e.open)), e.daysContainer !== void 0 && (p(e.monthNav, "click", Fi), p(e.monthNav, ["keyup", "increment"], g), p(e.daysContainer, "click", No)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
6016
6016
  const b = (C) => Je(C).select();
6017
- f(e.timeContainer, ["increment"], l), f(e.timeContainer, "blur", l, { capture: !0 }), f(e.timeContainer, "click", M), f([e.hourElement, e.minuteElement], ["focus", "click"], b), e.secondElement !== void 0 && f(e.secondElement, "focus", () => e.secondElement && e.secondElement.select()), e.amPM !== void 0 && f(e.amPM, "click", (C) => {
6017
+ p(e.timeContainer, ["increment"], l), p(e.timeContainer, "blur", l, { capture: !0 }), p(e.timeContainer, "click", M), p([e.hourElement, e.minuteElement], ["focus", "click"], b), e.secondElement !== void 0 && p(e.secondElement, "focus", () => e.secondElement && e.secondElement.select()), e.amPM !== void 0 && p(e.amPM, "click", (C) => {
6018
6018
  l(C), y();
6019
6019
  });
6020
6020
  }
6021
- e.config.allowInput && f(e._input, "blur", ki);
6021
+ e.config.allowInput && p(e._input, "blur", ki);
6022
6022
  }
6023
6023
  function D(m, b) {
6024
6024
  const C = m !== void 0 ? e.parseDate(m) : e.latestSelectedDateObj || (e.config.minDate && e.config.minDate > e.now ? e.config.minDate : e.config.maxDate && e.config.maxDate < e.now ? e.config.maxDate : e.now), S = e.currentYear, O = e.currentMonth;
@@ -6128,7 +6128,7 @@ function bd(t, n) {
6128
6128
  function ve() {
6129
6129
  const m = ne("div", "flatpickr-month"), b = window.document.createDocumentFragment();
6130
6130
  let C;
6131
- e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? C = ne("span", "cur-month") : (e.monthsDropdownContainer = ne("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), f(e.monthsDropdownContainer, "change", (H) => {
6131
+ e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? C = ne("span", "cur-month") : (e.monthsDropdownContainer = ne("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), p(e.monthsDropdownContainer, "change", (H) => {
6132
6132
  const j = Je(H), X = parseInt(j.value, 10);
6133
6133
  e.changeMonth(X - e.currentMonth), he("onMonthChange");
6134
6134
  }), ce(), C = e.monthsDropdownContainer);
@@ -6221,7 +6221,7 @@ function bd(t, n) {
6221
6221
  function Ve(m = !0, b = !0) {
6222
6222
  if (e.input.value = "", e.altInput !== void 0 && (e.altInput.value = ""), e.mobileInput !== void 0 && (e.mobileInput.value = ""), e.selectedDates = [], e.latestSelectedDateObj = void 0, b === !0 && (e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth()), e.config.enableTime === !0) {
6223
6223
  const { hours: C, minutes: S, seconds: O } = Wr(e.config);
6224
- p(C, S, O);
6224
+ f(C, S, O);
6225
6225
  }
6226
6226
  e.redraw(), m && he("onChange");
6227
6227
  }
@@ -6585,7 +6585,7 @@ function bd(t, n) {
6585
6585
  maxDate: [D],
6586
6586
  clickOpens: [
6587
6587
  () => {
6588
- e.config.clickOpens === !0 ? (f(e._input, "focus", e.open), f(e._input, "click", e.open)) : (e._input.removeEventListener("focus", e.open), e._input.removeEventListener("click", e.open));
6588
+ e.config.clickOpens === !0 ? (p(e._input, "focus", e.open), p(e._input, "click", e.open)) : (e._input.removeEventListener("focus", e.open), e._input.removeEventListener("click", e.open));
6589
6589
  }
6590
6590
  ]
6591
6591
  };
@@ -6651,7 +6651,7 @@ function bd(t, n) {
6651
6651
  e.input.parentNode && e.input.parentNode.insertBefore(e.mobileInput, e.input.nextSibling);
6652
6652
  } catch {
6653
6653
  }
6654
- f(e.mobileInput, "change", (b) => {
6654
+ p(e.mobileInput, "change", (b) => {
6655
6655
  e.setDate(Je(b).value, !1, e.mobileFormatStr), he("onChange"), he("onClose");
6656
6656
  });
6657
6657
  }
@@ -6787,8 +6787,8 @@ const yd = {
6787
6787
  ...pe,
6788
6788
  default: { maxDate: 0, minDate: 0 }
6789
6789
  });
6790
- function r(f) {
6791
- return (f == null ? void 0 : f.maxDate) !== void 0 && (f == null ? void 0 : f.minDate) !== void 0 && (f == null ? void 0 : f.minDate) != 0 && (f == null ? void 0 : f.maxDate) != 0;
6790
+ function r(p) {
6791
+ return (p == null ? void 0 : p.maxDate) !== void 0 && (p == null ? void 0 : p.minDate) !== void 0 && (p == null ? void 0 : p.minDate) != 0 && (p == null ? void 0 : p.maxDate) != 0;
6792
6792
  }
6793
6793
  const o = nt(e, () => {
6794
6794
  if (r(e.value)) {
@@ -6799,14 +6799,14 @@ const yd = {
6799
6799
  return;
6800
6800
  }
6801
6801
  g == null || g.clear();
6802
- }), { aria: a, errorState: s, inputID: l, isRequired: i, onInvalid: c, validate: u } = gt(n), d = (f) => {
6803
- o.pause(), e.value = f, o.resume();
6804
- }, p = Rt("wrapper");
6802
+ }), { aria: a, errorState: s, inputID: l, isRequired: i, onInvalid: c, validate: u } = gt(n), d = (p) => {
6803
+ o.pause(), e.value = p, o.resume();
6804
+ }, f = Rt("wrapper");
6805
6805
  let g = null;
6806
6806
  return Ue(() => {
6807
- const f = {
6807
+ const p = {
6808
6808
  allowInput: !n.maxRange,
6809
- appendTo: p.value || void 0,
6809
+ appendTo: f.value || void 0,
6810
6810
  dateFormat: "m-d-Y",
6811
6811
  mode: "range",
6812
6812
  maxDate: n.maxDate,
@@ -6824,23 +6824,23 @@ const yd = {
6824
6824
  },
6825
6825
  static: !0
6826
6826
  };
6827
- r(e.value) && (f.defaultDate = [
6827
+ r(e.value) && (p.defaultDate = [
6828
6828
  e.value.minDate * 1e3,
6829
6829
  e.value.maxDate * 1e3
6830
- ]), n.maxRange && (f.onChange = (y, w, D) => {
6830
+ ]), n.maxRange && (p.onChange = (y, w, D) => {
6831
6831
  if (y.length === 1) {
6832
6832
  var M = new Date(y[0].getTime()), T = new Date(y[0].getTime());
6833
6833
  M.setDate(M.getDate() + n.maxRange), T.setDate(T.getDate() - n.maxRange);
6834
6834
  const W = /* @__PURE__ */ new Date();
6835
6835
  M > W && (M = W), D.set("minDate", T), D.set("maxDate", M);
6836
6836
  }
6837
- }), g = xe(`#${l.value}`, f);
6838
- }), (f, y) => (x(), E("div", yd, [
6837
+ }), g = xe(`#${l.value}`, p);
6838
+ }), (p, y) => (x(), E("div", yd, [
6839
6839
  _(Ke, {
6840
6840
  id: h(a).labelledby,
6841
6841
  class: "mb-2",
6842
6842
  for: h(l),
6843
- label: f.label,
6843
+ label: p.label,
6844
6844
  required: h(i)
6845
6845
  }, null, 8, ["id", "for", "label", "required"]),
6846
6846
  v("input", Te({
@@ -6853,8 +6853,8 @@ const yd = {
6853
6853
  "disabled:cursor-not-allowed disabled:bg-gray-50 disabled:text-gray-700 disabled:ring-gray-200",
6854
6854
  h(s) ? "text-red-900 ring-red-700 placeholder:text-red-300 focus:ring-red-700" : "text-gray-900 ring-gray-300 placeholder:text-gray-400 focus:ring-xy-blue-500"
6855
6855
  ],
6856
- placeholder: f.placeholder
6857
- }, f.$attrs, {
6856
+ placeholder: p.placeholder
6857
+ }, p.$attrs, {
6858
6858
  type: "text",
6859
6859
  onInput: y[0] || (y[0] = //@ts-ignore
6860
6860
  (...w) => h(u) && h(u)(...w)),
@@ -6864,7 +6864,7 @@ const yd = {
6864
6864
  _(Le, {
6865
6865
  id: h(a).describedby,
6866
6866
  class: "mt-1",
6867
- text: f.help
6867
+ text: p.help
6868
6868
  }, null, 8, ["id", "text"]),
6869
6869
  _(lt, {
6870
6870
  id: h(a).errormessage,
@@ -6985,7 +6985,7 @@ function Pn(t, n = "GET", e = {}) {
6985
6985
  let c = 0, u;
6986
6986
  const d = () => {
6987
6987
  u !== void 0 && u.abort();
6988
- }, p = (g = {}, f = {}) => {
6988
+ }, f = (g = {}, p = {}) => {
6989
6989
  c++;
6990
6990
  const y = c;
6991
6991
  u = new AbortController(), i.value = !1, s.value = !1, l.value = !0;
@@ -6996,7 +6996,7 @@ function Pn(t, n = "GET", e = {}) {
6996
6996
  signal: u.signal,
6997
6997
  url: t
6998
6998
  };
6999
- return Kt(w, { ...e, ...f }).then(
6999
+ return Kt(w, { ...e, ...p }).then(
7000
7000
  (D) => (r.value = D, o.value = void 0, i.value = !1, D),
7001
7001
  (D) => {
7002
7002
  throw o.value = D, Nu(D) && (i.value = !0), D;
@@ -7005,7 +7005,7 @@ function Pn(t, n = "GET", e = {}) {
7005
7005
  y == c && (s.value = !0, l.value = !1), a.value = !0;
7006
7006
  });
7007
7007
  };
7008
- return e != null && e.immediate && e.immediate === !0 && p(), {
7008
+ return e != null && e.immediate && e.immediate === !0 && f(), {
7009
7009
  result: r,
7010
7010
  error: o,
7011
7011
  isFinished: s,
@@ -7013,7 +7013,7 @@ function Pn(t, n = "GET", e = {}) {
7013
7013
  isAborted: i,
7014
7014
  hasFetched: a,
7015
7015
  abort: d,
7016
- execute: p
7016
+ execute: f
7017
7017
  };
7018
7018
  }
7019
7019
  function N0(t, n = {}) {
@@ -7045,31 +7045,31 @@ function _d(t = {}) {
7045
7045
  removeDelay: 1e4,
7046
7046
  email: ""
7047
7047
  };
7048
- const r = (p) => {
7048
+ const r = (f) => {
7049
7049
  e = {
7050
7050
  ...e,
7051
- ...p
7051
+ ...f
7052
7052
  };
7053
- }, o = (p) => {
7054
- n.value.delete(p);
7055
- }, a = (p) => {
7053
+ }, o = (f) => {
7054
+ n.value.delete(f);
7055
+ }, a = (f) => {
7056
7056
  const g = Ed.CreateIdAttribute();
7057
- return n.value.set(g, p), (p.persistent === void 0 || !p.persistent) && setTimeout(() => o(g), e.removeDelay), g;
7058
- }, s = (p) => a(p), l = (p, g = !1) => a({ message: p, persistent: g, type: "error" }), i = (p, g = !1) => a({
7059
- message: p,
7057
+ return n.value.set(g, f), (f.persistent === void 0 || !f.persistent) && setTimeout(() => o(g), e.removeDelay), g;
7058
+ }, s = (f) => a(f), l = (f, g = !1) => a({ message: f, persistent: g, type: "error" }), i = (f, g = !1) => a({
7059
+ message: f,
7060
7060
  persistent: g,
7061
7061
  type: "info"
7062
- }), c = (p, g = !1) => a({
7063
- message: p,
7062
+ }), c = (f, g = !1) => a({
7063
+ message: f,
7064
7064
  persistent: g,
7065
7065
  type: "success"
7066
- }), u = (p, g = !1) => a({
7067
- message: p,
7066
+ }), u = (f, g = !1) => a({
7067
+ message: f,
7068
7068
  persistent: g,
7069
7069
  type: "warning"
7070
- }), d = (p = "", g = !1) => {
7071
- const f = p || e.email, y = f ? `Whoops! Something went wrong, please reach out to
7072
- <a class="underline text-xy-blue" href="mailto:${f}">${f}</a>
7070
+ }), d = (f = "", g = !1) => {
7071
+ const p = f || e.email, y = p ? `Whoops! Something went wrong, please reach out to
7072
+ <a class="underline text-xy-blue" href="mailto:${p}">${p}</a>
7073
7073
  if the issue persists.` : "Whoops! Something went wrong.";
7074
7074
  return a({
7075
7075
  message: y,
@@ -7237,7 +7237,7 @@ const di = {
7237
7237
  totalItems: 0,
7238
7238
  totalPages: 0
7239
7239
  }), s = A(e.defaultSort), l = A(e.defaultSortDir), i = () => {
7240
- const f = {
7240
+ const p = {
7241
7241
  maxDate: r.value.maxDate || null,
7242
7242
  minDate: r.value.minDate || null,
7243
7243
  page: a.value.page,
@@ -7246,7 +7246,7 @@ const di = {
7246
7246
  sort: s.value,
7247
7247
  sortDir: l.value
7248
7248
  };
7249
- bs.get(e.url, {}, f).then(
7249
+ bs.get(e.url, {}, p).then(
7250
7250
  (y) => {
7251
7251
  a.value = {
7252
7252
  page: y.data.page,
@@ -7267,10 +7267,10 @@ const di = {
7267
7267
  };
7268
7268
  return nt([l, r], () => {
7269
7269
  i();
7270
- }), n(g), i(), (f, y) => (x(), E("div", {
7270
+ }), n(g), i(), (p, y) => (x(), E("div", {
7271
7271
  class: R({ "mt-4 space-y-2": u.value })
7272
7272
  }, [
7273
- f.disableDate ? N("", !0) : (x(), E("div", Od, [
7273
+ p.disableDate ? N("", !0) : (x(), E("div", Od, [
7274
7274
  _(ci, {
7275
7275
  "date-range": r.value,
7276
7276
  "sort-dir": l.value,
@@ -7280,17 +7280,17 @@ const di = {
7280
7280
  ])),
7281
7281
  c.value ? (x(), E("div", {
7282
7282
  key: 1,
7283
- class: R(["overflow-hidden", { "shadow sm:rounded-md border": !f.borderless }])
7283
+ class: R(["overflow-hidden", { "shadow sm:rounded-md border": !p.borderless }])
7284
7284
  }, [
7285
7285
  v("ul", null, [
7286
7286
  (x(!0), E(te, null, se(o.value, (w, D) => (x(), E("li", {
7287
7287
  key: D,
7288
7288
  class: R({ "border-t border-gray-200": D > 0 })
7289
7289
  }, [
7290
- be(f.$slots, "default", { item: w })
7290
+ be(p.$slots, "default", { item: w })
7291
7291
  ], 2))), 128))
7292
7292
  ])
7293
- ], 2)) : be(f.$slots, "empty", { key: 2 }, () => [
7293
+ ], 2)) : be(p.$slots, "empty", { key: 2 }, () => [
7294
7294
  y[4] || (y[4] = le(" No items were found! "))
7295
7295
  ]),
7296
7296
  d.value ? (x(), B(fi, {
@@ -8480,19 +8480,21 @@ const op = /* @__PURE__ */ ep(tp, [["render", rp]]), ap = { class: "absolute ins
8480
8480
  alignment: d
8481
8481
  };
8482
8482
  })), c = P(() => a.value.map((u, d) => ({
8483
- actions: s.value.actions.map((p) => ({
8484
- ...p,
8485
- disabled: typeof p.disabled == "function" ? p.disabled.apply(void 0, [u, d]) : p.disabled,
8486
- onClick: (g) => p.onClick(u, d, r, g),
8487
- show: typeof p.show == "function" ? p.show.apply(void 0, [u, d]) : p.show
8483
+ actions: s.value.actions.map((f) => ({
8484
+ ...f,
8485
+ disabled: typeof f.disabled == "function" ? f.disabled.apply(void 0, [u, d]) : f.disabled,
8486
+ onClick: (g) => f.onClick ? f.onClick(u, d, r, g) : () => {
8487
+ },
8488
+ show: typeof f.show == "function" ? f.show.apply(void 0, [u, d]) : f.show,
8489
+ url: typeof f.url == "function" ? f.url.apply(void 0, [u, d]) : f.url ?? ""
8488
8490
  })),
8489
8491
  rowData: u,
8490
- cells: i.value.map((p) => {
8491
- const g = typeof p.render == "function" ? p.render.apply(void 0, [u, d]) : u[p.render], f = (p == null ? void 0 : p.classNames) || "";
8492
+ cells: i.value.map((f) => {
8493
+ const g = typeof f.render == "function" ? f.render.apply(void 0, [u, d]) : u[f.render], p = (f == null ? void 0 : f.classNames) || "";
8492
8494
  return {
8493
- ...p,
8495
+ ...f,
8494
8496
  isComponent: ol(g),
8495
- classNames: typeof f == "function" ? f.apply(void 0, [u, d]) : f,
8497
+ classNames: typeof p == "function" ? p.apply(void 0, [u, d]) : p,
8496
8498
  val: g
8497
8499
  };
8498
8500
  })
@@ -8737,9 +8739,9 @@ const op = /* @__PURE__ */ ep(tp, [["render", rp]]), ap = { class: "absolute ins
8737
8739
  }, o = () => {
8738
8740
  u.value.page = 1, r();
8739
8741
  }, a = () => {
8740
- if (f.value.maxRange) {
8742
+ if (p.value.maxRange) {
8741
8743
  const q = /* @__PURE__ */ new Date(), Y = q.setDate(
8742
- q.getDate() - f.value.maxRange
8744
+ q.getDate() - p.value.maxRange
8743
8745
  ), Se = /* @__PURE__ */ new Date();
8744
8746
  c.value = {
8745
8747
  minDate: Math.floor(Y / 1e3),
@@ -8758,11 +8760,11 @@ const op = /* @__PURE__ */ ep(tp, [["render", rp]]), ap = { class: "absolute ins
8758
8760
  perPage: ((Lt = e.tableOptions) == null ? void 0 : Lt.perPage) || 10,
8759
8761
  totalItems: 0,
8760
8762
  totalPages: 0
8761
- }), d = A(""), p = (q) => {
8763
+ }), d = A(""), f = (q) => {
8762
8764
  q && (u.value.page = 1, c.value = q, r());
8763
8765
  }, g = (q) => {
8764
8766
  l.value == q ? i.value = i.value === "desc" ? "asc" : "desc" : (l.value = q, i.value = "desc"), r();
8765
- }, f = P(() => typeof e.tableOptions.dateSearch == "object" ? e.tableOptions.dateSearch : {}), y = P(() => !!Ge.value.length), w = () => {
8767
+ }, p = P(() => typeof e.tableOptions.dateSearch == "object" ? e.tableOptions.dateSearch : {}), y = P(() => !!Ge.value.length), w = () => {
8766
8768
  D.value = [];
8767
8769
  }, D = De(t, "selected"), M = P(() => s.value.filter((q) => D.value.includes(q == null ? void 0 : q.id))), T = P(() => D.value.filter((q) => Q.value.includes(q))), W = P(() => e.tableBulkActions.actions.filter((q) => q.show ?? !0).map((q) => ({
8768
8770
  ...q,
@@ -8873,7 +8875,7 @@ const op = /* @__PURE__ */ ep(tp, [["render", rp]]), ap = { class: "absolute ins
8873
8875
  id: "table-date-range",
8874
8876
  modelValue: c.value,
8875
8877
  "onUpdate:modelValue": Y[2] || (Y[2] = (re) => c.value = re)
8876
- }, { ...f.value }, { "onUpdate:modelValue": p }), null, 16, ["modelValue"])
8878
+ }, { ...p.value }, { "onUpdate:modelValue": f }), null, 16, ["modelValue"])
8877
8879
  ])
8878
8880
  ])
8879
8881
  ])) : N("", !0)
@@ -9053,10 +9055,10 @@ const op = /* @__PURE__ */ ep(tp, [["render", rp]]), ap = { class: "absolute ins
9053
9055
  }, 250), i = Xn(() => {
9054
9056
  r.value >= e.value.totalPages || (r.value = r.value + 1);
9055
9057
  }, 250), c = P(() => {
9056
- const { page: u, perPage: d, totalItems: p } = e.value;
9058
+ const { page: u, perPage: d, totalItems: f } = e.value;
9057
9059
  return {
9058
- start: p > 0 ? (u - 1) * d + 1 : 0,
9059
- end: Math.min(u * d, p)
9060
+ start: f > 0 ? (u - 1) * d + 1 : 0,
9061
+ end: Math.min(u * d, f)
9060
9062
  };
9061
9063
  });
9062
9064
  return (u, d) => (x(), E("div", zm, [
@@ -9075,7 +9077,7 @@ const op = /* @__PURE__ */ ep(tp, [["render", rp]]), ap = { class: "absolute ins
9075
9077
  class: "xy-btn-neutral",
9076
9078
  disabled: r.value <= 1,
9077
9079
  type: "button",
9078
- onClick: d[0] || (d[0] = Ze((p) => r.value--, ["prevent"]))
9080
+ onClick: d[0] || (d[0] = Ze((f) => r.value--, ["prevent"]))
9079
9081
  }, d[7] || (d[7] = [
9080
9082
  le(" ← "),
9081
9083
  v("span", { class: "sr-only" }, "Previous", -1)
@@ -9101,7 +9103,7 @@ const op = /* @__PURE__ */ ep(tp, [["render", rp]]), ap = { class: "absolute ins
9101
9103
  class: "xy-btn-neutral",
9102
9104
  disabled: r.value >= e.value.totalPages,
9103
9105
  type: "button",
9104
- onClick: d[1] || (d[1] = Ze((p) => r.value++, ["prevent"]))
9106
+ onClick: d[1] || (d[1] = Ze((f) => r.value++, ["prevent"]))
9105
9107
  }, d[9] || (d[9] = [
9106
9108
  v("span", { class: "sr-only" }, "Next", -1),
9107
9109
  le(" → ")
@@ -9110,7 +9112,7 @@ const op = /* @__PURE__ */ ep(tp, [["render", rp]]), ap = { class: "absolute ins
9110
9112
  v("div", ah, [
9111
9113
  _(h(So), {
9112
9114
  modelValue: o.value,
9113
- "onUpdate:modelValue": d[2] || (d[2] = (p) => o.value = p),
9115
+ "onUpdate:modelValue": d[2] || (d[2] = (f) => o.value = f),
9114
9116
  options: a.value
9115
9117
  }, null, 8, ["modelValue", "options"])
9116
9118
  ])
@@ -9435,7 +9437,7 @@ const op = /* @__PURE__ */ ep(tp, [["render", rp]]), ap = { class: "absolute ins
9435
9437
  return {};
9436
9438
  }
9437
9439
  });
9438
- return (d, p) => (x(), E("div", null, [
9440
+ return (d, f) => (x(), E("div", null, [
9439
9441
  _(Ke, {
9440
9442
  id: `${h(s)}-label`,
9441
9443
  class: "mb-2",
@@ -9446,7 +9448,7 @@ const op = /* @__PURE__ */ ep(tp, [["render", rp]]), ap = { class: "absolute ins
9446
9448
  rt(v("input", Te({
9447
9449
  id: h(s),
9448
9450
  ref: "input",
9449
- "onUpdate:modelValue": p[0] || (p[0] = (g) => r.value = g),
9451
+ "onUpdate:modelValue": f[0] || (f[0] = (g) => r.value = g),
9450
9452
  "aria-labelledby": d.label ? `${h(s)}-label` : void 0,
9451
9453
  "aria-describedby": d.help ? `${h(s)}-help` : void 0,
9452
9454
  "aria-errormessage": h(a) ? `${h(s)}-error` : void 0,
@@ -9458,9 +9460,9 @@ const op = /* @__PURE__ */ ep(tp, [["render", rp]]), ap = { class: "absolute ins
9458
9460
  placeholder: d.placeholder,
9459
9461
  type: d.type
9460
9462
  }, { ...u.value, ...d.$attrs }, {
9461
- onInput: p[1] || (p[1] = //@ts-ignore
9463
+ onInput: f[1] || (f[1] = //@ts-ignore
9462
9464
  (...g) => h(c) && h(c)(...g)),
9463
- onInvalid: p[2] || (p[2] = //@ts-ignore
9465
+ onInvalid: f[2] || (f[2] = //@ts-ignore
9464
9466
  (...g) => h(i) && h(i)(...g))
9465
9467
  }), null, 16, $h), [
9466
9468
  [
@@ -9509,7 +9511,7 @@ const op = /* @__PURE__ */ ep(tp, [["render", rp]]), ap = { class: "absolute ins
9509
9511
  v("div", Ph, [
9510
9512
  rt(v("input", Te({
9511
9513
  id: h(o),
9512
- "onUpdate:modelValue": d[0] || (d[0] = (p) => e.value = p),
9514
+ "onUpdate:modelValue": d[0] || (d[0] = (f) => e.value = f),
9513
9515
  "aria-labelledby": h(r).labelledby,
9514
9516
  "aria-describedby": h(r).describedby,
9515
9517
  "aria-errormessage": h(r).errormessage,
@@ -9523,9 +9525,9 @@ const op = /* @__PURE__ */ ep(tp, [["render", rp]]), ap = { class: "absolute ins
9523
9525
  type: "checkbox"
9524
9526
  }, u.$attrs, {
9525
9527
  onChange: d[1] || (d[1] = //@ts-ignore
9526
- (...p) => h(i) && h(i)(...p)),
9528
+ (...f) => h(i) && h(i)(...f)),
9527
9529
  onInvalid: d[2] || (d[2] = //@ts-ignore
9528
- (...p) => h(c) && h(c)(...p))
9530
+ (...f) => h(c) && h(c)(...f))
9529
9531
  }), null, 16, Ah), [
9530
9532
  [uo, e.value]
9531
9533
  ])
@@ -9676,14 +9678,14 @@ const op = /* @__PURE__ */ ep(tp, [["render", rp]]), ap = { class: "absolute ins
9676
9678
  // a mutation occurs which is consistent with other input components.
9677
9679
  get: (g) => Array.isArray(g) ? g : []
9678
9680
  }), { aria: r, inputID: o, isDisabled: a, errorState: s, validate: l } = gt(n), i = P(() => n.min || null), c = P(() => n.max || null), u = P(() => {
9679
- var f;
9680
- const g = ((f = e.value) == null ? void 0 : f.length) || 0;
9681
+ var p;
9682
+ const g = ((p = e.value) == null ? void 0 : p.length) || 0;
9681
9683
  return i.value !== null && g < i.value ? `Please select at least ${i.value} of these options.` : c.value !== null && g > c.value ? `Please limit your selection to ${c.value} of these options.` : i.value !== null && c.value !== null && (g < i.value || g > c.value) ? `Please select between ${i.value} and ${c.value} of these options.` : "";
9682
- }), d = Rt("errorInput"), p = () => {
9684
+ }), d = Rt("errorInput"), f = () => {
9683
9685
  var g;
9684
9686
  s.value || (s.value = u.value, (g = d.value) == null || g.setCustomValidity(u.value));
9685
9687
  };
9686
- return (g, f) => (x(), E("fieldset", {
9688
+ return (g, p) => (x(), E("fieldset", {
9687
9689
  class: "relative space-y-6",
9688
9690
  "aria-labelledby": h(r).labelledby,
9689
9691
  "aria-describedby": h(r).describedby,
@@ -9723,7 +9725,7 @@ const op = /* @__PURE__ */ ep(tp, [["render", rp]]), ap = { class: "absolute ins
9723
9725
  v("div", Vh, [
9724
9726
  rt(v("input", Te({
9725
9727
  id: `${h(o)}-${w}`,
9726
- "onUpdate:modelValue": f[0] || (f[0] = (D) => e.value = D),
9728
+ "onUpdate:modelValue": p[0] || (p[0] = (D) => e.value = D),
9727
9729
  "aria-labelledby": `${h(o)}-${w}-label`,
9728
9730
  "aria-describedby": y.help ? `${h(o)}-${w}-help` : void 0,
9729
9731
  disabled: y.disabled,
@@ -9737,7 +9739,7 @@ const op = /* @__PURE__ */ ep(tp, [["render", rp]]), ap = { class: "absolute ins
9737
9739
  value: y.value,
9738
9740
  ref_for: !0
9739
9741
  }, g.$attrs, {
9740
- onChange: f[1] || (f[1] = //@ts-ignore
9742
+ onChange: p[1] || (p[1] = //@ts-ignore
9741
9743
  (...D) => h(l) && h(l)(...D))
9742
9744
  }), null, 16, Hh), [
9743
9745
  [uo, e.value]
@@ -9767,7 +9769,7 @@ const op = /* @__PURE__ */ ep(tp, [["render", rp]]), ap = { class: "absolute ins
9767
9769
  class: "sr-only top-1 left-1",
9768
9770
  "aria-hidden": "",
9769
9771
  type: "checkbox",
9770
- onInvalid: p
9772
+ onInvalid: f
9771
9773
  }, null, 544)) : N("", !0)
9772
9774
  ], 8, Fh));
9773
9775
  }
@@ -9890,8 +9892,8 @@ function gi(t, n) {
9890
9892
  function Qh(t, n, e) {
9891
9893
  let r = null, o = null;
9892
9894
  const a = Array.from(t.value).reduce((l, i, c) => {
9893
- const u = Oa(n, l, i, e), d = l + u, p = n[d.length] || "";
9894
- return r === null && c >= t.selection[0] && (r = d.length), o === null && c >= t.selection[1] && (o = d.length), Sr(p) ? d + p : i.match(p) ? d + i : d;
9895
+ const u = Oa(n, l, i, e), d = l + u, f = n[d.length] || "";
9896
+ return r === null && c >= t.selection[0] && (r = d.length), o === null && c >= t.selection[1] && (o = d.length), Sr(f) ? d + f : i.match(f) ? d + i : d;
9895
9897
  }, ""), s = Oa(n, a, "", e);
9896
9898
  return {
9897
9899
  value: gi(a + s, n) ? a + s : a,
@@ -9944,13 +9946,13 @@ class so {
9944
9946
  const { value: o, maskOptions: a } = this, s = this.getMaskExpression({
9945
9947
  value: o.slice(0, n) + r + o.slice(e),
9946
9948
  selection: [n + r.length, n + r.length]
9947
- }), l = { value: o, selection: [n, e] }, i = Ra(l, s), [c, u] = Zh(i, r, a.overwriteMode).selection, d = i.value.slice(0, c) + r, p = d.length, g = Yn({
9949
+ }), l = { value: o, selection: [n, e] }, i = Ra(l, s), [c, u] = Zh(i, r, a.overwriteMode).selection, d = i.value.slice(0, c) + r, f = d.length, g = Yn({
9948
9950
  value: d + i.value.slice(u),
9949
- selection: [p, p]
9951
+ selection: [f, f]
9950
9952
  }, s, l);
9951
9953
  if (o.slice(0, n) === Yn({
9952
9954
  value: d,
9953
- selection: [p, p]
9955
+ selection: [f, f]
9954
9956
  }, s, l).value || Xh(this, g))
9955
9957
  throw new Error("Invalid mask value");
9956
9958
  this.value = g.value, this.selection = g.selection;
@@ -10181,11 +10183,11 @@ class ug extends Gh {
10181
10183
  data: ""
10182
10184
  }, r ? "deleteForward" : "deleteBackward"), c = new so(i, this.options), [u, d] = i.selection;
10183
10185
  c.deleteCharacters([u, d]);
10184
- const p = this.postprocessor(c, a);
10185
- if (!(a.value.slice(0, s) + a.value.slice(l) === p.value && !o && !this.element.isContentEditable)) {
10186
- if (Jh(a, i, c, p))
10186
+ const f = this.postprocessor(c, a);
10187
+ if (!(a.value.slice(0, s) + a.value.slice(l) === f.value && !o && !this.element.isContentEditable)) {
10188
+ if (Jh(a, i, c, f))
10187
10189
  return n.preventDefault(), this.updateSelectionRange(r ? [d, d] : [u, u]);
10188
- this.upcomingElementState = p;
10190
+ this.upcomingElementState = f;
10189
10191
  }
10190
10192
  }
10191
10193
  handleInsert(n, e) {
@@ -10198,10 +10200,10 @@ class ug extends Gh {
10198
10200
  } catch {
10199
10201
  return n.preventDefault();
10200
10202
  }
10201
- const [u, d] = l.selection, p = s.value.slice(0, u) + e + s.value.slice(d), g = this.postprocessor(c, s);
10203
+ const [u, d] = l.selection, f = s.value.slice(0, u) + e + s.value.slice(d), g = this.postprocessor(c, s);
10202
10204
  if (g.value.length > o)
10203
10205
  return n.preventDefault();
10204
- (p !== g.value || a.isContentEditable) && (this.upcomingElementState = g, r.overwriteMode === "replace" && p.length > o && this.dispatchInputEvent({ inputType: "insertText", data: e }));
10206
+ (f !== g.value || a.isContentEditable) && (this.upcomingElementState = g, r.overwriteMode === "replace" && f.length > o && this.dispatchInputEvent({ inputType: "insertText", data: e }));
10205
10207
  }
10206
10208
  handleEnter(n) {
10207
10209
  (this.isTextArea || this.element.isContentEditable) && this.handleInsert(n, `
@@ -10285,8 +10287,8 @@ function yg(t) {
10285
10287
  return {
10286
10288
  selection: r,
10287
10289
  value: Array.from(t).reverse().reduce((i, c, u) => {
10288
- const d = i.length - 1 - u, p = l[d] === c && s;
10289
- return i[d] !== c || p ? i.slice(0, d + 1) + c + i.slice(d + 1) : i;
10290
+ const d = i.length - 1 - u, f = l[d] === c && s;
10291
+ return i[d] !== c || f ? i.slice(0, d + 1) + c + i.slice(d + 1) : i;
10290
10292
  }, e)
10291
10293
  };
10292
10294
  } : un;
@@ -10322,8 +10324,8 @@ function xg({ prefix: t, postfix: n }) {
10322
10324
  };
10323
10325
  }
10324
10326
  function xi({ decimalSeparator: t, isNegativeAllowed: n, precision: e, thousandSeparator: r, prefix: o, postfix: a, decimalPseudoSeparators: s = [], pseudoMinuses: l = [], minusSign: i }) {
10325
- const c = Fa(o), u = String.raw`\d`, d = n ? `[${i}${l.map((w) => `\\${w}`).join("")}]?` : "", p = r ? `[${u}${je(r).replaceAll(/\s/g, String.raw`\s`)}]*` : `[${u}]*`, g = Number.isFinite(e) ? e : "", f = e > 0 ? `([${je(t)}${s.map(je).join("")}]${u}{0,${g}})?` : "", y = Fa(a);
10326
- return new RegExp(`^${c}${d}${p}${f}${y}$`);
10327
+ const c = Fa(o), u = String.raw`\d`, d = n ? `[${i}${l.map((w) => `\\${w}`).join("")}]?` : "", f = r ? `[${u}${je(r).replaceAll(/\s/g, String.raw`\s`)}]*` : `[${u}]*`, g = Number.isFinite(e) ? e : "", p = e > 0 ? `([${je(t)}${s.map(je).join("")}]${u}{0,${g}})?` : "", y = Fa(a);
10328
+ return new RegExp(`^${c}${d}${f}${p}${y}$`);
10327
10329
  }
10328
10330
  function Fa(t) {
10329
10331
  return t ? `${t.split("").map((n) => `${je(n)}?`).join("")}` : "";
@@ -10369,11 +10371,11 @@ function Eg({ prefix: t, postfix: n, decimalSeparator: e, minusSign: r }) {
10369
10371
  const [s] = a, { cleanValue: l, extractedPrefix: i, extractedPostfix: c } = bt(o, {
10370
10372
  prefix: t,
10371
10373
  postfix: n
10372
- }), { minus: u, integerPart: d, decimalPart: p } = Ci(l, {
10374
+ }), { minus: u, integerPart: d, decimalPart: f } = Ci(l, {
10373
10375
  decimalSeparator: e,
10374
10376
  minusSign: r
10375
- }), g = !d && !p && !!e && l.includes(e);
10376
- return !d && !Number(p) && s === (u + i).length || g ? {
10377
+ }), g = !d && !f && !!e && l.includes(e);
10378
+ return !d && !Number(f) && s === (u + i).length || g ? {
10377
10379
  selection: a,
10378
10380
  value: i + u + c
10379
10381
  } : { value: o, selection: a };
@@ -10396,13 +10398,13 @@ function _g({ decimalSeparator: t, decimalPseudoSeparators: n, pseudoMinuses: e,
10396
10398
  if (!s)
10397
10399
  return { elementState: i, data: c };
10398
10400
  s = !1;
10399
- const { value: u, selection: d } = i, [p, g] = d, { extractedPrefix: f, cleanValue: y, extractedPostfix: w } = bt(u, {
10401
+ const { value: u, selection: d } = i, [f, g] = d, { extractedPrefix: p, cleanValue: y, extractedPostfix: w } = bt(u, {
10400
10402
  prefix: r,
10401
10403
  postfix: o
10402
10404
  }), D = $r({
10403
10405
  selection: [
10404
- Math.max(p - f.length, 0),
10405
- lr(g - f.length, 0, y.length)
10406
+ Math.max(f - p.length, 0),
10407
+ lr(g - p.length, 0, y.length)
10406
10408
  ],
10407
10409
  value: y
10408
10410
  }, {
@@ -10411,10 +10413,10 @@ function _g({ decimalSeparator: t, decimalPseudoSeparators: n, pseudoMinuses: e,
10411
10413
  return {
10412
10414
  elementState: {
10413
10415
  selection: [
10414
- M + f.length,
10415
- T + f.length
10416
+ M + p.length,
10417
+ T + p.length
10416
10418
  ],
10417
- value: f + D.value + w
10419
+ value: p + D.value + w
10418
10420
  },
10419
10421
  data: c
10420
10422
  };
@@ -10437,15 +10439,15 @@ function Sg({ decimalSeparator: t, thousandSeparator: n, prefix: e, postfix: r }
10437
10439
  return i.length - o(i).length + (c ? 1 : 0);
10438
10440
  };
10439
10441
  return ({ value: s, selection: l }) => {
10440
- const [i, c] = l, { cleanValue: u, extractedPrefix: d, extractedPostfix: p } = bt(s, {
10442
+ const [i, c] = l, { cleanValue: u, extractedPrefix: d, extractedPostfix: f } = bt(s, {
10441
10443
  prefix: e,
10442
10444
  postfix: r
10443
- }), g = !!t && u.includes(t), [f = "", y = ""] = t ? u.split(t) : [u], w = o(f);
10444
- if (f === w)
10445
+ }), g = !!t && u.includes(t), [p = "", y = ""] = t ? u.split(t) : [u], w = o(p);
10446
+ if (p === w)
10445
10447
  return { value: s, selection: l };
10446
10448
  const D = i - a(s, i), M = c - a(s, c);
10447
10449
  return {
10448
- value: d + w + (g ? t : "") + y + p,
10450
+ value: d + w + (g ? t : "") + y + f,
10449
10451
  selection: [Math.max(D, 0), Math.max(M, 0)]
10450
10452
  };
10451
10453
  };
@@ -10480,8 +10482,8 @@ function $g({ min: t, max: n, decimalSeparator: e, minusSign: r }) {
10480
10482
  }
10481
10483
  function Tg({ decimalSeparator: t, thousandSeparator: n, decimalZeroPadding: e }) {
10482
10484
  return ({ elementState: r, data: o }, a) => {
10483
- const { value: s, selection: l } = r, [i, c] = l, u = s.slice(i, c), d = e ? [t, n] : [n], p = e && i > s.indexOf(t) && !!u.match(/^0+$/gi);
10484
- return a !== "deleteBackward" && a !== "deleteForward" || !d.includes(u) && !p ? {
10485
+ const { value: s, selection: l } = r, [i, c] = l, u = s.slice(i, c), d = e ? [t, n] : [n], f = e && i > s.indexOf(t) && !!u.match(/^0+$/gi);
10486
+ return a !== "deleteBackward" && a !== "deleteForward" || !d.includes(u) && !f ? {
10485
10487
  elementState: r,
10486
10488
  data: o
10487
10489
  } : {
@@ -10499,8 +10501,8 @@ function Mg({ decimalSeparator: t, precision: n, prefix: e, postfix: r }) {
10499
10501
  const { value: l, selection: i } = a, { cleanValue: c, extractedPrefix: u } = bt(l, {
10500
10502
  prefix: e,
10501
10503
  postfix: r
10502
- }), [d, p] = i, g = lr(d - u.length, 0, c.length), f = lr(p - u.length, 0, c.length);
10503
- if (n <= 0 || c.slice(0, g).includes(t) || c.slice(f).includes(t) || !s.match(o))
10504
+ }), [d, f] = i, g = lr(d - u.length, 0, c.length), p = lr(f - u.length, 0, c.length);
10505
+ if (n <= 0 || c.slice(0, g).includes(t) || c.slice(p).includes(t) || !s.match(o))
10504
10506
  return { elementState: a, data: s };
10505
10507
  const y = /\d+/.exec(c.slice(0, g));
10506
10508
  return {
@@ -10541,20 +10543,20 @@ function Ag({ thousandSeparator: t, decimalSeparator: n, prefix: e, postfix: r,
10541
10543
  return ({ value: s, selection: l }) => {
10542
10544
  const [i, c] = l;
10543
10545
  let [u, d] = l;
10544
- const { cleanValue: p, extractedPostfix: g, extractedPrefix: f } = bt(s, {
10546
+ const { cleanValue: f, extractedPostfix: g, extractedPrefix: p } = bt(s, {
10545
10547
  prefix: e,
10546
10548
  postfix: r
10547
- }), { minus: y, integerPart: w, decimalPart: D } = Ci(p, {
10549
+ }), { minus: y, integerPart: w, decimalPart: D } = Ci(f, {
10548
10550
  decimalSeparator: n,
10549
10551
  minusSign: o
10550
- }), M = n && p.includes(n), T = p.length - (y + w + (M ? n + D : "")).length;
10552
+ }), M = n && f.includes(n), T = f.length - (y + w + (M ? n + D : "")).length;
10551
10553
  T > 0 && i && i <= T && (u -= T), T > 0 && c && c <= T && (d -= T);
10552
10554
  const W = Array.from(w).reduceRight((z, Q, V) => {
10553
10555
  const J = !(!V && Q === t) && !!z.length && (z.length + 1) % 4 === 0, ee = Q === t || a(Q, t);
10554
10556
  return J && ee ? t + z : !J && ee ? (V && V <= i && u--, V && V <= c && d--, z) : J ? (V < i && u++, V < c && d++, Q + t + z) : Q + z;
10555
10557
  }, "");
10556
10558
  return {
10557
- value: f + y + W + (M ? n : "") + D + g,
10559
+ value: p + y + W + (M ? n : "") + D + g,
10558
10560
  selection: [u, d]
10559
10561
  };
10560
10562
  };
@@ -10567,14 +10569,14 @@ function Og({ precision: t, decimalSeparator: n, prefix: e, postfix: r }) {
10567
10569
  const { value: l, selection: i } = a, { cleanValue: c, extractedPrefix: u, extractedPostfix: d } = bt(l, {
10568
10570
  prefix: e,
10569
10571
  postfix: r
10570
- }), [p, g] = i, f = u + c.replace(o, "") + d;
10572
+ }), [f, g] = i, p = u + c.replace(o, "") + d;
10571
10573
  return {
10572
10574
  elementState: {
10573
10575
  selection: [
10574
- Math.min(p, f.length),
10575
- Math.min(g, f.length)
10576
+ Math.min(f, p.length),
10577
+ Math.min(g, p.length)
10576
10578
  ],
10577
- value: f
10579
+ value: p
10578
10580
  },
10579
10581
  data: s.replace(o, "")
10580
10582
  };
@@ -10615,15 +10617,15 @@ function Ng({ max: t = Number.MAX_SAFE_INTEGER, min: n = Number.MIN_SAFE_INTEGER
10615
10617
  bi,
10616
10618
  yi,
10617
10619
  lo
10618
- ].filter((f) => f !== r && f !== o && f !== c), d = Dg({
10620
+ ].filter((p) => p !== r && p !== o && p !== c), d = Dg({
10619
10621
  decimalSeparator: o,
10620
10622
  thousandSeparator: r,
10621
10623
  decimalPseudoSeparators: a
10622
- }), p = l.endsWith(o) && e > 0 ? `${l}${pg}` : l, g = _g({
10624
+ }), f = l.endsWith(o) && e > 0 ? `${l}${pg}` : l, g = _g({
10623
10625
  decimalSeparator: o,
10624
10626
  decimalPseudoSeparators: d,
10625
10627
  pseudoMinuses: u,
10626
- prefix: p,
10628
+ prefix: f,
10627
10629
  postfix: i,
10628
10630
  minusSign: c
10629
10631
  });
@@ -10631,30 +10633,30 @@ function Ng({ max: t = Number.MAX_SAFE_INTEGER, min: n = Number.MIN_SAFE_INTEGER
10631
10633
  decimalSeparator: o,
10632
10634
  precision: e,
10633
10635
  thousandSeparator: r,
10634
- prefix: p,
10636
+ prefix: f,
10635
10637
  postfix: i,
10636
10638
  isNegativeAllowed: n < 0,
10637
10639
  minusSign: c
10638
10640
  }), preprocessors: [
10639
10641
  bg(),
10640
10642
  g,
10641
- xg({ prefix: p, postfix: i }),
10643
+ xg({ prefix: f, postfix: i }),
10642
10644
  Ba({
10643
10645
  validCharacter: c,
10644
10646
  pseudoCharacters: u,
10645
- prefix: p,
10647
+ prefix: f,
10646
10648
  postfix: i
10647
10649
  }),
10648
10650
  Ba({
10649
10651
  validCharacter: o,
10650
10652
  pseudoCharacters: d,
10651
- prefix: p,
10653
+ prefix: f,
10652
10654
  postfix: i
10653
10655
  }),
10654
10656
  Mg({
10655
10657
  decimalSeparator: o,
10656
10658
  precision: e,
10657
- prefix: p,
10659
+ prefix: f,
10658
10660
  postfix: i
10659
10661
  }),
10660
10662
  Tg({
@@ -10665,22 +10667,22 @@ function Ng({ max: t = Number.MAX_SAFE_INTEGER, min: n = Number.MIN_SAFE_INTEGER
10665
10667
  Og({
10666
10668
  precision: e,
10667
10669
  decimalSeparator: o,
10668
- prefix: p,
10670
+ prefix: f,
10669
10671
  postfix: i
10670
10672
  }),
10671
10673
  Pg({
10672
10674
  decimalSeparator: o,
10673
- prefix: p,
10675
+ prefix: f,
10674
10676
  postfix: i
10675
10677
  })
10676
10678
  ], postprocessors: [
10677
10679
  $g({ decimalSeparator: o, min: n, max: t, minusSign: c }),
10678
- wg(p),
10680
+ wg(f),
10679
10681
  yg(i),
10680
10682
  Ag({
10681
10683
  decimalSeparator: o,
10682
10684
  thousandSeparator: r,
10683
- prefix: p,
10685
+ prefix: f,
10684
10686
  postfix: i,
10685
10687
  minusSign: c
10686
10688
  }),
@@ -10688,11 +10690,11 @@ function Ng({ max: t = Number.MAX_SAFE_INTEGER, min: n = Number.MIN_SAFE_INTEGER
10688
10690
  decimalSeparator: o,
10689
10691
  decimalZeroPadding: s,
10690
10692
  precision: e,
10691
- prefix: p,
10693
+ prefix: f,
10692
10694
  postfix: i
10693
10695
  }),
10694
10696
  Eg({
10695
- prefix: p,
10697
+ prefix: f,
10696
10698
  postfix: i,
10697
10699
  decimalSeparator: o,
10698
10700
  minusSign: c
@@ -10701,16 +10703,16 @@ function Ng({ max: t = Number.MAX_SAFE_INTEGER, min: n = Number.MIN_SAFE_INTEGER
10701
10703
  Rg({
10702
10704
  decimalSeparator: o,
10703
10705
  thousandSeparator: r,
10704
- prefix: p,
10706
+ prefix: f,
10705
10707
  postfix: i
10706
10708
  }),
10707
10709
  Lg({
10708
10710
  decimalSeparator: o,
10709
- prefix: p,
10711
+ prefix: f,
10710
10712
  postfix: i
10711
10713
  }),
10712
10714
  Ig({ min: n, max: t, decimalSeparator: o })
10713
- ], overwriteMode: s ? ({ value: f, selection: [y] }) => y <= f.indexOf(o) ? "shift" : "replace" : "shift" });
10715
+ ], overwriteMode: s ? ({ value: p, selection: [y] }) => y <= p.indexOf(o) ? "shift" : "replace" : "shift" });
10714
10716
  }
10715
10717
  const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "placeholder"], Bg = ["value", "name", "min", "max", "required"], Di = /* @__PURE__ */ I({
10716
10718
  inheritAttrs: !1,
@@ -10737,7 +10739,7 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10737
10739
  emits: ["update:modelValue"],
10738
10740
  setup(t, { expose: n }) {
10739
10741
  const e = t, r = P(() => {
10740
- const f = {
10742
+ const p = {
10741
10743
  decimalSeparator: ".",
10742
10744
  thousandSeparator: ",",
10743
10745
  min: e.min,
@@ -10747,26 +10749,26 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10747
10749
  };
10748
10750
  switch (e.type) {
10749
10751
  case "money":
10750
- f.decimalZeroPadding = !0, f.precision = 2, f.prefix = "$";
10752
+ p.decimalZeroPadding = !0, p.precision = 2, p.prefix = "$";
10751
10753
  break;
10752
10754
  case "raw-number":
10753
- f.thousandSeparator = "";
10755
+ p.thousandSeparator = "";
10754
10756
  break;
10755
10757
  }
10756
- return Ng(f);
10758
+ return Ng(p);
10757
10759
  }), o = De(t, "modelValue", pe), a = P({
10758
10760
  get: () => {
10759
10761
  if (o.value === null || o.value === void 0)
10760
10762
  return "";
10761
- let f = o.value;
10762
- return e.type === "money" && (f = f / 100), $r(f.toString(), r.value);
10763
+ let p = o.value;
10764
+ return e.type === "money" && (p = p / 100), $r(p.toString(), r.value);
10763
10765
  },
10764
- set: (f) => {
10765
- if (f === "") {
10766
+ set: (p) => {
10767
+ if (p === "") {
10766
10768
  o.value = null;
10767
10769
  return;
10768
10770
  }
10769
- let y = Tr(f);
10771
+ let y = Tr(p);
10770
10772
  if (isNaN(y)) {
10771
10773
  o.value = null;
10772
10774
  return;
@@ -10783,37 +10785,37 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10783
10785
  isRequired: c,
10784
10786
  nameAttr: u,
10785
10787
  onInvalid: d,
10786
- inputValidation: p
10788
+ inputValidation: f
10787
10789
  } = gt(e), g = P(() => {
10788
- const f = cr(), { name: y, ...w } = f;
10790
+ const p = cr(), { name: y, ...w } = p;
10789
10791
  return w;
10790
10792
  });
10791
- return n({ input: s }), (f, y) => (x(), E("div", null, [
10793
+ return n({ input: s }), (p, y) => (x(), E("div", null, [
10792
10794
  _(Ke, {
10793
10795
  id: `${h(i)}-label`,
10794
10796
  class: "mb-2",
10795
10797
  for: h(i),
10796
- label: f.label,
10798
+ label: p.label,
10797
10799
  required: h(c)
10798
10800
  }, null, 8, ["id", "for", "label", "required"]),
10799
10801
  rt(v("input", Te({
10800
10802
  id: h(i),
10801
10803
  ref: "input",
10802
10804
  "onUpdate:modelValue": y[0] || (y[0] = (w) => a.value = w),
10803
- "aria-labelledby": f.label ? `${h(i)}-label` : void 0,
10804
- "aria-describedby": f.help ? `${h(i)}-help` : void 0,
10805
+ "aria-labelledby": p.label ? `${h(i)}-label` : void 0,
10806
+ "aria-describedby": p.help ? `${h(i)}-help` : void 0,
10805
10807
  "aria-errormessage": h(l) ? `${h(i)}-error` : void 0,
10806
10808
  class: [
10807
10809
  "block w-full rounded-md border-0 py-2 shadow-sm ring-1 ring-inset focus:ring-2 sm:text-sm sm:leading-6",
10808
10810
  "disabled:cursor-not-allowed disabled:bg-gray-50 disabled:text-gray-700 disabled:ring-gray-200",
10809
10811
  h(l) ? "text-red-900 ring-red-700 placeholder:text-red-300 focus:ring-red-700" : "text-gray-900 ring-gray-300 placeholder:text-gray-400 focus:ring-xy-blue-500"
10810
10812
  ],
10811
- placeholder: f.placeholder,
10813
+ placeholder: p.placeholder,
10812
10814
  type: "text",
10813
10815
  inputmode: "decimal"
10814
10816
  }, { ...g.value }, {
10815
10817
  onInput: y[1] || (y[1] = //@ts-ignore
10816
- (...w) => h(p) && h(p)(...w))
10818
+ (...w) => h(f) && h(f)(...w))
10817
10819
  }), null, 16, Fg), [
10818
10820
  [co, a.value],
10819
10821
  [h(cg), r.value]
@@ -10821,7 +10823,7 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10821
10823
  _(Le, {
10822
10824
  id: `${h(i)}-help`,
10823
10825
  class: "mt-1",
10824
- text: f.help
10826
+ text: p.help
10825
10827
  }, null, 8, ["id", "text"]),
10826
10828
  _(lt, {
10827
10829
  id: `${h(i)}-error`,
@@ -10833,8 +10835,8 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10833
10835
  class: "sr-only",
10834
10836
  "aria-hidden": "true",
10835
10837
  name: h(u),
10836
- min: f.min,
10837
- max: f.max,
10838
+ min: p.min,
10839
+ max: p.max,
10838
10840
  required: h(c),
10839
10841
  tabindex: "-1",
10840
10842
  type: "number",
@@ -10901,15 +10903,15 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10901
10903
  "sm:grid-cols-3": u.columns === 3
10902
10904
  }])
10903
10905
  }, [
10904
- (x(!0), E(te, null, se(u.options, (p, g) => (x(), E("div", {
10905
- key: p.value,
10906
+ (x(!0), E(te, null, se(u.options, (f, g) => (x(), E("div", {
10907
+ key: f.value,
10906
10908
  class: "flex items-start"
10907
10909
  }, [
10908
10910
  v("div", Ug, [
10909
10911
  rt(v("input", Te({
10910
10912
  id: `${h(a)}-${g}`,
10911
- "onUpdate:modelValue": d[0] || (d[0] = (f) => e.value = f),
10912
- "aria-describedby": p.help ? `${h(a)}-${g}-help` : void 0,
10913
+ "onUpdate:modelValue": d[0] || (d[0] = (p) => e.value = p),
10914
+ "aria-describedby": f.help ? `${h(a)}-${g}-help` : void 0,
10913
10915
  "aria-labelledby": `${h(a)}-${g}-label`,
10914
10916
  class: [
10915
10917
  "h-4 w-4 cursor-pointer text-xy-blue",
@@ -10917,16 +10919,16 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10917
10919
  "checked:disabled:bg-xy-blue checked:disabled:border-xy-blue checked:disabled:opacity-50",
10918
10920
  h(o) ? "border-red-700 focus:ring-red-700" : "border-gray-300 focus:ring-xy-blue-500"
10919
10921
  ],
10920
- disabled: p.disabled,
10922
+ disabled: f.disabled,
10921
10923
  name: h(a),
10922
10924
  type: "radio",
10923
- value: p.value,
10925
+ value: f.value,
10924
10926
  ref_for: !0
10925
10927
  }, u.$attrs, {
10926
10928
  onChange: d[1] || (d[1] = //@ts-ignore
10927
- (...f) => h(c) && h(c)(...f)),
10929
+ (...p) => h(c) && h(c)(...p)),
10928
10930
  onInvalid: d[2] || (d[2] = //@ts-ignore
10929
- (...f) => h(i) && h(i)(...f))
10931
+ (...p) => h(i) && h(i)(...p))
10930
10932
  }), null, 16, qg), [
10931
10933
  [zr, e.value]
10932
10934
  ])
@@ -10935,14 +10937,14 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10935
10937
  _(Ke, {
10936
10938
  id: `${h(a)}-${g}-label`,
10937
10939
  for: `${h(a)}-${g}`,
10938
- label: p.label,
10940
+ label: f.label,
10939
10941
  class: R(
10940
- h(s) || p.disabled ? "cursor-not-allowed" : "cursor-pointer"
10942
+ h(s) || f.disabled ? "cursor-not-allowed" : "cursor-pointer"
10941
10943
  )
10942
10944
  }, null, 8, ["id", "for", "label", "class"]),
10943
10945
  _(Le, {
10944
10946
  id: `${h(a)}-${g}-help`,
10945
- text: p.help
10947
+ text: f.help
10946
10948
  }, null, 8, ["id", "text"])
10947
10949
  ])
10948
10950
  ]))), 128))
@@ -10975,7 +10977,7 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10975
10977
  return (u, d) => (x(), B(h(vc), {
10976
10978
  modelValue: e.value,
10977
10979
  "onUpdate:modelValue": [
10978
- d[1] || (d[1] = (p) => e.value = p),
10980
+ d[1] || (d[1] = (f) => e.value = f),
10979
10981
  c
10980
10982
  ],
10981
10983
  class: "space-y-6",
@@ -11019,22 +11021,22 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
11019
11021
  "sm:grid-cols-3": u.columns === 3
11020
11022
  }])
11021
11023
  }, [
11022
- (x(!0), E(te, null, se(u.options, (p) => (x(), B(h(bc), {
11023
- key: p.value,
11024
+ (x(!0), E(te, null, se(u.options, (f) => (x(), B(h(bc), {
11025
+ key: f.value,
11024
11026
  as: "template",
11025
- disabled: h(o) || p.disabled,
11026
- value: p.value
11027
+ disabled: h(o) || f.disabled,
11028
+ value: f.value
11027
11029
  }, {
11028
11030
  default: F(({
11029
11031
  active: g,
11030
- checked: f,
11032
+ checked: p,
11031
11033
  disabled: y
11032
11034
  }) => [
11033
11035
  v("div", {
11034
11036
  class: R(["relative border rounded-lg shadow-sm p-4 flex focus:outline-none", [
11035
11037
  y ? "cursor-not-allowed bg-gray-50 border-gray-200 opacity-90" : "cursor-pointer bg-white border-gray-300",
11036
11038
  h(l) && !y ? "border-red-700" : "",
11037
- f ? "border-transparent" : "",
11039
+ p ? "border-transparent" : "",
11038
11040
  g ? "border-xy-blue ring-2 ring-xy-blue-500" : ""
11039
11041
  ]])
11040
11042
  }, [
@@ -11045,12 +11047,12 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
11045
11047
  _(Ke, {
11046
11048
  tag: "div",
11047
11049
  class: "mt-auto mb-auto",
11048
- label: p.label
11050
+ label: f.label
11049
11051
  }, null, 8, ["label"])
11050
11052
  ]),
11051
11053
  _: 2
11052
11054
  }, 1024),
11053
- p.help ? (x(), B(h(jr), {
11055
+ f.help ? (x(), B(h(jr), {
11054
11056
  key: 0,
11055
11057
  as: "div"
11056
11058
  }, {
@@ -11058,12 +11060,12 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
11058
11060
  _(Le, {
11059
11061
  tag: "div",
11060
11062
  class: "mt-auto",
11061
- text: p.help
11063
+ text: f.help
11062
11064
  }, null, 8, ["text"])
11063
11065
  ]),
11064
11066
  _: 2
11065
11067
  }, 1024)) : N("", !0),
11066
- p.sublabel || u.$slots.sublabel ? (x(), E("div", Jg, [
11068
+ f.sublabel || u.$slots.sublabel ? (x(), E("div", Jg, [
11067
11069
  _(h(jr), {
11068
11070
  as: "div",
11069
11071
  class: "text-sm/5 font-medium mt-4 text-gray-800"
@@ -11071,11 +11073,11 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
11071
11073
  default: F(() => [
11072
11074
  be(u.$slots, "sublabel", {
11073
11075
  active: g,
11074
- checked: f,
11076
+ checked: p,
11075
11077
  disabled: y,
11076
- option: p
11078
+ option: f
11077
11079
  }, () => [
11078
- le(U(p.sublabel), 1)
11080
+ le(U(f.sublabel), 1)
11079
11081
  ])
11080
11082
  ]),
11081
11083
  _: 2
@@ -11084,13 +11086,13 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
11084
11086
  ])
11085
11087
  ]),
11086
11088
  _(h(Ys), {
11087
- class: R([f ? "" : "invisible", "h-5 w-5 text-xy-blue"]),
11089
+ class: R([p ? "" : "invisible", "h-5 w-5 text-xy-blue"]),
11088
11090
  "aria-hidden": "true"
11089
11091
  }, null, 8, ["class"]),
11090
11092
  v("div", {
11091
11093
  class: R([
11092
11094
  g ? "border" : "border-2",
11093
- f ? "border-xy-blue" : "border-transparent",
11095
+ p ? "border-xy-blue" : "border-transparent",
11094
11096
  "absolute -inset-px rounded-lg pointer-events-none"
11095
11097
  ]),
11096
11098
  "aria-hidden": "true"
@@ -11098,12 +11100,12 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
11098
11100
  v("input", {
11099
11101
  class: "sr-only top-1 left-1",
11100
11102
  "aria-hidden": "true",
11101
- checked: f,
11103
+ checked: p,
11102
11104
  name: h(s),
11103
11105
  required: h(a),
11104
11106
  tabindex: "-1",
11105
11107
  type: "radio",
11106
- value: p.value,
11108
+ value: f.value,
11107
11109
  onInvalid: d[0] || (d[0] = //@ts-ignore
11108
11110
  (...w) => h(i) && h(i)(...w))
11109
11111
  }, null, 40, Xg)
@@ -11235,7 +11237,7 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
11235
11237
  }, [
11236
11238
  rt(v("input", Te({
11237
11239
  id: `${h(s)}-true`,
11238
- "onUpdate:modelValue": d[0] || (d[0] = (p) => e.value = p),
11240
+ "onUpdate:modelValue": d[0] || (d[0] = (f) => e.value = f),
11239
11241
  type: "radio",
11240
11242
  class: [
11241
11243
  "h-4 w-4 text-xy-blue cursor-pointer",
@@ -11247,9 +11249,9 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
11247
11249
  value: !0
11248
11250
  }, u.$attrs, {
11249
11251
  onChange: d[1] || (d[1] = //@ts-ignore
11250
- (...p) => h(c) && h(c)(...p)),
11252
+ (...f) => h(c) && h(c)(...f)),
11251
11253
  onInvalid: d[2] || (d[2] = //@ts-ignore
11252
- (...p) => h(i) && h(i)(...p))
11254
+ (...f) => h(i) && h(i)(...f))
11253
11255
  }), null, 16, o0), [
11254
11256
  [zr, e.value]
11255
11257
  ]),
@@ -11265,7 +11267,7 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
11265
11267
  }, [
11266
11268
  rt(v("input", Te({
11267
11269
  id: `${h(s)}-false`,
11268
- "onUpdate:modelValue": d[3] || (d[3] = (p) => e.value = p),
11270
+ "onUpdate:modelValue": d[3] || (d[3] = (f) => e.value = f),
11269
11271
  type: "radio",
11270
11272
  class: [
11271
11273
  "h-4 w-4 text-xy-blue cursor-pointer",
@@ -11277,9 +11279,9 @@ const Fg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
11277
11279
  value: !1
11278
11280
  }, u.$attrs, {
11279
11281
  onChange: d[4] || (d[4] = //@ts-ignore
11280
- (...p) => h(c) && h(c)(...p)),
11282
+ (...f) => h(c) && h(c)(...f)),
11281
11283
  onInvalid: d[5] || (d[5] = //@ts-ignore
11282
- (...p) => h(i) && h(i)(...p))
11284
+ (...f) => h(i) && h(i)(...f))
11283
11285
  }), null, 16, s0), [
11284
11286
  [zr, e.value]
11285
11287
  ]),
@@ -11392,7 +11394,7 @@ export {
11392
11394
  H0 as default,
11393
11395
  Fu as emailPattern,
11394
11396
  ys as isActionItemButton,
11395
- O0 as isActionItemLink,
11397
+ R0 as isActionItemLink,
11396
11398
  Nu as isHttpCancel,
11397
11399
  Lu as isHttpError,
11398
11400
  sa as looseToNumber,
@@ -11400,7 +11402,7 @@ export {
11400
11402
  Bu as phonePattern,
11401
11403
  T0 as setBaseAPIDefaults,
11402
11404
  P0 as textInputTypes,
11403
- L0 as throttleFn,
11405
+ O0 as throttleFn,
11404
11406
  ju as urlPattern,
11405
11407
  di as useAppFlasher,
11406
11408
  Gt as useAppFlashes,
@@ -11414,6 +11416,6 @@ export {
11414
11416
  _d as useFlashes,
11415
11417
  gt as useInputField,
11416
11418
  Ru as useSpinnerDisplay,
11417
- R0 as useTabHistory,
11418
- I0 as useUrlSearchParams
11419
+ I0 as useTabHistory,
11420
+ L0 as useUrlSearchParams
11419
11421
  };