vi-grid-builder 2.3.36 → 2.3.38

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.
@@ -1,4 +1,4 @@
1
- import { openBlock as _, createElementBlock as O, mergeProps as Pe, toDisplayString as ce, createElementVNode as L, defineComponent as Ue, computed as k, watch as bt, h as Ye, reactive as sn, createVNode as R, toRaw as Fe, nextTick as zs, resolveComponent as ne, normalizeClass as Ne, createBlock as ee, createCommentVNode as Y, renderSlot as te, ref as V, Fragment as Re, createTextVNode as Kc, normalizeStyle as Qc, isVNode as Bs, createApp as Zc, onMounted as Eo, onUnmounted as Ao, shallowRef as Jc, getCurrentScope as eu, onScopeDispose as tu, shallowReadonly as Vt, unref as nu, watchEffect as oa, cloneVNode as au, withModifiers as za, renderList as vt, withCtx as It, resolveDynamicComponent as ia } from "vue";
1
+ import { openBlock as _, createElementBlock as O, mergeProps as Pe, toDisplayString as ce, createElementVNode as L, defineComponent as Ue, computed as k, watch as bt, h as Ye, reactive as ln, createVNode as R, toRaw as Fe, nextTick as zs, resolveComponent as J, normalizeClass as Ne, createBlock as te, createCommentVNode as Y, renderSlot as ne, ref as V, Fragment as Re, createTextVNode as Kc, normalizeStyle as Qc, isVNode as Bs, createApp as Zc, onMounted as Eo, onUnmounted as Ao, shallowRef as Jc, getCurrentScope as eu, onScopeDispose as tu, shallowReadonly as Ut, unref as nu, watchEffect as oa, cloneVNode as au, withModifiers as za, renderList as vt, withCtx as It, resolveDynamicComponent as ia } from "vue";
2
2
  const be = (e, t) => {
3
3
  const n = e.__vccOpts || e;
4
4
  for (const [a, r] of t)
@@ -443,27 +443,27 @@ const el = {
443
443
  showMissingIcons: !0
444
444
  };
445
445
  xn.familyPrefix && (xn.cssPrefix = xn.familyPrefix);
446
- const tn = b(b({}, el), xn);
447
- tn.autoReplaceSvg || (tn.observeMutations = !1);
446
+ const nn = b(b({}, el), xn);
447
+ nn.autoReplaceSvg || (nn.observeMutations = !1);
448
448
  const E = {};
449
449
  Object.keys(el).forEach((e) => {
450
450
  Object.defineProperty(E, e, {
451
451
  enumerable: !0,
452
452
  set: function(t) {
453
- tn[e] = t, Sn.forEach((n) => n(E));
453
+ nn[e] = t, Sn.forEach((n) => n(E));
454
454
  },
455
455
  get: function() {
456
- return tn[e];
456
+ return nn[e];
457
457
  }
458
458
  });
459
459
  });
460
460
  Object.defineProperty(E, "familyPrefix", {
461
461
  enumerable: !0,
462
462
  set: function(e) {
463
- tn.cssPrefix = e, Sn.forEach((t) => t(E));
463
+ nn.cssPrefix = e, Sn.forEach((t) => t(E));
464
464
  },
465
465
  get: function() {
466
- return tn.cssPrefix;
466
+ return nn.cssPrefix;
467
467
  }
468
468
  });
469
469
  wt.FontAwesomeConfig = E;
@@ -501,14 +501,14 @@ function Mn() {
501
501
  t += Ju[Math.random() * 62 | 0];
502
502
  return t;
503
503
  }
504
- function ln(e) {
504
+ function cn(e) {
505
505
  const t = [];
506
506
  for (let n = (e || []).length >>> 0; n--; )
507
507
  t[n] = e[n];
508
508
  return t;
509
509
  }
510
510
  function Mo(e) {
511
- return e.classList ? ln(e.classList) : (e.getAttribute("class") || "").split(" ").filter((t) => t);
511
+ return e.classList ? cn(e.classList) : (e.getAttribute("class") || "").split(" ").filter((t) => t);
512
512
  }
513
513
  function tl(e) {
514
514
  return "".concat(e).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
@@ -1406,14 +1406,14 @@ class xf {
1406
1406
  }), t;
1407
1407
  }
1408
1408
  }
1409
- let _i = [], Gt = {};
1410
- const Kt = {}, Sf = Object.keys(Kt);
1409
+ let _i = [], Ht = {};
1410
+ const Qt = {}, Sf = Object.keys(Qt);
1411
1411
  function _f(e, t) {
1412
1412
  let {
1413
1413
  mixoutsTo: n
1414
1414
  } = t;
1415
- return _i = e, Gt = {}, Object.keys(Kt).forEach((a) => {
1416
- Sf.indexOf(a) === -1 && delete Kt[a];
1415
+ return _i = e, Ht = {}, Object.keys(Qt).forEach((a) => {
1416
+ Sf.indexOf(a) === -1 && delete Qt[a];
1417
1417
  }), _i.forEach((a) => {
1418
1418
  const r = a.mixout ? a.mixout() : {};
1419
1419
  if (Object.keys(r).forEach((o) => {
@@ -1423,29 +1423,29 @@ function _f(e, t) {
1423
1423
  }), a.hooks) {
1424
1424
  const o = a.hooks();
1425
1425
  Object.keys(o).forEach((i) => {
1426
- Gt[i] || (Gt[i] = []), Gt[i].push(o[i]);
1426
+ Ht[i] || (Ht[i] = []), Ht[i].push(o[i]);
1427
1427
  });
1428
1428
  }
1429
- a.provides && a.provides(Kt);
1429
+ a.provides && a.provides(Qt);
1430
1430
  }), n;
1431
1431
  }
1432
1432
  function Br(e, t) {
1433
1433
  for (var n = arguments.length, a = new Array(n > 2 ? n - 2 : 0), r = 2; r < n; r++)
1434
1434
  a[r - 2] = arguments[r];
1435
- return (Gt[e] || []).forEach((o) => {
1435
+ return (Ht[e] || []).forEach((o) => {
1436
1436
  t = o.apply(null, [t, ...a]);
1437
1437
  }), t;
1438
1438
  }
1439
1439
  function Rt(e) {
1440
1440
  for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
1441
1441
  n[a - 1] = arguments[a];
1442
- (Gt[e] || []).forEach((r) => {
1442
+ (Ht[e] || []).forEach((r) => {
1443
1443
  r.apply(null, n);
1444
1444
  });
1445
1445
  }
1446
1446
  function St() {
1447
1447
  const e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
1448
- return Kt[e] ? Kt[e].apply(null, t) : void 0;
1448
+ return Qt[e] ? Qt[e].apply(null, t) : void 0;
1449
1449
  }
1450
1450
  function Vr(e) {
1451
1451
  e.prefix === "fa" && (e.prefix = "fas");
@@ -1606,7 +1606,7 @@ function jo(e) {
1606
1606
  extra: u,
1607
1607
  watchable: f = !1
1608
1608
  } = e, {
1609
- width: d,
1609
+ width: m,
1610
1610
  height: h
1611
1611
  } = n.found ? n : t, p = Eu.includes(a), v = [E.replacementClass, r ? "".concat(E.cssPrefix, "-").concat(r) : ""].filter((P) => u.classes.indexOf(P) === -1).filter((P) => P !== "" || !!P).concat(u.classes).join(" ");
1612
1612
  let y = {
@@ -1617,11 +1617,11 @@ function jo(e) {
1617
1617
  class: v,
1618
1618
  role: u.attributes.role || "img",
1619
1619
  xmlns: "http://www.w3.org/2000/svg",
1620
- viewBox: "0 0 ".concat(d, " ").concat(h)
1620
+ viewBox: "0 0 ".concat(m, " ").concat(h)
1621
1621
  })
1622
1622
  };
1623
1623
  const g = p && !~u.classes.indexOf("fa-fw") ? {
1624
- width: "".concat(d / h * 16 * 0.0625, "em")
1624
+ width: "".concat(m / h * 16 * 0.0625, "em")
1625
1625
  } : {};
1626
1626
  f && (y.attributes[Ft] = ""), s && (y.children.push({
1627
1627
  tag: "title",
@@ -1630,7 +1630,7 @@ function jo(e) {
1630
1630
  },
1631
1631
  children: [s]
1632
1632
  }), delete y.attributes.title);
1633
- const m = b(b({}, y), {}, {
1633
+ const d = b(b({}, y), {}, {
1634
1634
  prefix: a,
1635
1635
  iconName: r,
1636
1636
  main: t,
@@ -1642,14 +1642,14 @@ function jo(e) {
1642
1642
  }), {
1643
1643
  children: x,
1644
1644
  attributes: C
1645
- } = n.found && t.found ? St("generateAbstractMask", m) || {
1645
+ } = n.found && t.found ? St("generateAbstractMask", d) || {
1646
1646
  children: [],
1647
1647
  attributes: {}
1648
- } : St("generateAbstractIcon", m) || {
1648
+ } : St("generateAbstractIcon", d) || {
1649
1649
  children: [],
1650
1650
  attributes: {}
1651
1651
  };
1652
- return m.children = x, m.attributes = C, i ? Af(m) : Ef(m);
1652
+ return d.children = x, d.attributes = C, i ? Af(d) : Ef(d);
1653
1653
  }
1654
1654
  function Ci(e) {
1655
1655
  const {
@@ -1892,7 +1892,7 @@ function Ei(e) {
1892
1892
  if (Bo)
1893
1893
  return;
1894
1894
  const i = xt();
1895
- ln(o).forEach((s) => {
1895
+ cn(o).forEach((s) => {
1896
1896
  if (s.type === "childList" && s.addedNodes.length > 0 && !Oi(s.addedNodes[0]) && (E.searchPseudoElements && a(s.target), t(s.target)), s.type === "attributes" && s.target.parentNode && E.searchPseudoElements && a(s.target.parentNode), s.type === "attributes" && Oi(s.target) && ~Hu.indexOf(s.attributeName))
1897
1897
  if (s.attributeName === "class" && Mf(s.target)) {
1898
1898
  const {
@@ -1927,7 +1927,7 @@ function Uf(e) {
1927
1927
  return r.prefix || (r.prefix = xt()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = mf(r.prefix, e.innerText) || Ro(r.prefix, ol(e.innerText))), !r.iconName && E.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
1928
1928
  }
1929
1929
  function Wf(e) {
1930
- const t = ln(e.attributes).reduce((r, o) => (r.name !== "class" && r.name !== "style" && (r[o.name] = o.value), r), {}), n = e.getAttribute("title"), a = e.getAttribute("data-fa-title-id");
1930
+ const t = cn(e.attributes).reduce((r, o) => (r.name !== "class" && r.name !== "style" && (r[o.name] = o.value), r), {}), n = e.getAttribute("title"), a = e.getAttribute("data-fa-title-id");
1931
1931
  return E.autoA11y && (n ? t["aria-labelledby"] = "".concat(E.replacementClass, "-title-").concat(a || Mn()) : (t["aria-hidden"] = "true", t.focusable = "false")), t;
1932
1932
  }
1933
1933
  function Yf() {
@@ -2004,7 +2004,7 @@ function Ti(e) {
2004
2004
  return Promise.resolve();
2005
2005
  let s = [];
2006
2006
  try {
2007
- s = ln(e.querySelectorAll(i));
2007
+ s = cn(e.querySelectorAll(i));
2008
2008
  } catch {
2009
2009
  }
2010
2010
  if (s.length > 0)
@@ -2013,20 +2013,20 @@ function Ti(e) {
2013
2013
  return Promise.resolve();
2014
2014
  const l = zo.begin("onTree"), c = s.reduce((u, f) => {
2015
2015
  try {
2016
- const d = wl(f);
2017
- d && u.push(d);
2018
- } catch (d) {
2019
- Qs || d.name === "MissingIcon" && console.error(d);
2016
+ const m = wl(f);
2017
+ m && u.push(m);
2018
+ } catch (m) {
2019
+ Qs || m.name === "MissingIcon" && console.error(m);
2020
2020
  }
2021
2021
  return u;
2022
2022
  }, []);
2023
2023
  return new Promise((u, f) => {
2024
- Promise.all(c).then((d) => {
2025
- yl(d, () => {
2024
+ Promise.all(c).then((m) => {
2025
+ yl(m, () => {
2026
2026
  a("active"), a("complete"), r("pending"), typeof t == "function" && t(), l(), u();
2027
2027
  });
2028
- }).catch((d) => {
2029
- l(), f(d);
2028
+ }).catch((m) => {
2029
+ l(), f(m);
2030
2030
  });
2031
2031
  });
2032
2032
  }
@@ -2065,7 +2065,7 @@ const Xf = function(e) {
2065
2065
  return;
2066
2066
  const {
2067
2067
  prefix: f,
2068
- iconName: d,
2068
+ iconName: m,
2069
2069
  icon: h
2070
2070
  } = e;
2071
2071
  return Ya(b({
@@ -2084,7 +2084,7 @@ const Xf = function(e) {
2084
2084
  }
2085
2085
  },
2086
2086
  prefix: f,
2087
- iconName: d,
2087
+ iconName: m,
2088
2088
  transform: b(b({}, $e), n),
2089
2089
  symbol: a,
2090
2090
  title: i,
@@ -2130,7 +2130,7 @@ var Kf = {
2130
2130
  maskId: u,
2131
2131
  extra: f
2132
2132
  } = n;
2133
- return new Promise((d, h) => {
2133
+ return new Promise((m, h) => {
2134
2134
  Promise.all([Wr(a, i), c.iconName ? Wr(c.iconName, c.prefix) : Promise.resolve({
2135
2135
  found: !1,
2136
2136
  width: 512,
@@ -2138,7 +2138,7 @@ var Kf = {
2138
2138
  icon: {}
2139
2139
  })]).then((p) => {
2140
2140
  let [v, y] = p;
2141
- d([t, jo({
2141
+ m([t, jo({
2142
2142
  icons: {
2143
2143
  main: v,
2144
2144
  mask: y
@@ -2317,33 +2317,33 @@ function Ii(e, t) {
2317
2317
  return new Promise((a, r) => {
2318
2318
  if (e.getAttribute(n) !== null)
2319
2319
  return a();
2320
- const o = ln(e.children).filter((f) => f.getAttribute(Lr) === t)[0], i = wt.getComputedStyle(e, t), s = i.getPropertyValue("font-family"), l = s.match($u), c = i.getPropertyValue("font-weight"), u = i.getPropertyValue("content");
2320
+ const o = cn(e.children).filter((f) => f.getAttribute(Lr) === t)[0], i = wt.getComputedStyle(e, t), s = i.getPropertyValue("font-family"), l = s.match($u), c = i.getPropertyValue("font-weight"), u = i.getPropertyValue("content");
2321
2321
  if (o && !l)
2322
2322
  return e.removeChild(o), a();
2323
2323
  if (l && u !== "none" && u !== "") {
2324
2324
  const f = i.getPropertyValue("content");
2325
- let d = ad(s, c);
2325
+ let m = ad(s, c);
2326
2326
  const {
2327
2327
  value: h,
2328
2328
  isSecondary: p
2329
2329
  } = nd(f), v = l[0].startsWith("FontAwesome");
2330
- let y = Ro(d, h), g = y;
2330
+ let y = Ro(m, h), g = y;
2331
2331
  if (v) {
2332
- const m = gf(h);
2333
- m.iconName && m.prefix && (y = m.iconName, d = m.prefix);
2332
+ const d = gf(h);
2333
+ d.iconName && d.prefix && (y = d.iconName, m = d.prefix);
2334
2334
  }
2335
- if (y && !p && (!o || o.getAttribute(Do) !== d || o.getAttribute(No) !== g)) {
2335
+ if (y && !p && (!o || o.getAttribute(Do) !== m || o.getAttribute(No) !== g)) {
2336
2336
  e.setAttribute(n, g), o && e.removeChild(o);
2337
- const m = Yf(), {
2337
+ const d = Yf(), {
2338
2338
  extra: x
2339
- } = m;
2340
- x.attributes[Lr] = t, Wr(y, d).then((C) => {
2341
- const P = jo(b(b({}, m), {}, {
2339
+ } = d;
2340
+ x.attributes[Lr] = t, Wr(y, m).then((C) => {
2341
+ const P = jo(b(b({}, d), {}, {
2342
2342
  icons: {
2343
2343
  main: C,
2344
2344
  mask: gl()
2345
2345
  },
2346
- prefix: d,
2346
+ prefix: m,
2347
2347
  iconName: g,
2348
2348
  extra: x,
2349
2349
  watchable: !0
@@ -2366,7 +2366,7 @@ function od(e) {
2366
2366
  function Mi(e) {
2367
2367
  if (lt)
2368
2368
  return new Promise((t, n) => {
2369
- const a = ln(e.querySelectorAll("*")).filter(od).map(rd), r = zo.begin("searchPseudoElements");
2369
+ const a = cn(e.querySelectorAll("*")).filter(od).map(rd), r = zo.begin("searchPseudoElements");
2370
2370
  bl(), Promise.all(a).then(() => {
2371
2371
  r(), $r(), t();
2372
2372
  }).catch(() => {
@@ -2495,21 +2495,21 @@ var ld = {
2495
2495
  transform: "".concat(s, " ").concat(l, " ").concat(c)
2496
2496
  }, f = {
2497
2497
  transform: "translate(".concat(o / 2 * -1, " -256)")
2498
- }, d = {
2498
+ }, m = {
2499
2499
  outer: i,
2500
2500
  inner: u,
2501
2501
  path: f
2502
2502
  };
2503
2503
  return {
2504
2504
  tag: "g",
2505
- attributes: b({}, d.outer),
2505
+ attributes: b({}, m.outer),
2506
2506
  children: [{
2507
2507
  tag: "g",
2508
- attributes: b({}, d.inner),
2508
+ attributes: b({}, m.inner),
2509
2509
  children: [{
2510
2510
  tag: n.icon.tag,
2511
2511
  children: n.icon.children,
2512
- attributes: b(b({}, n.icon.attributes), d.path)
2512
+ attributes: b(b({}, n.icon.attributes), m.path)
2513
2513
  }]
2514
2514
  }]
2515
2515
  };
@@ -2554,7 +2554,7 @@ var ud = {
2554
2554
  } = r, {
2555
2555
  width: u,
2556
2556
  icon: f
2557
- } = o, d = tf({
2557
+ } = o, m = tf({
2558
2558
  transform: s,
2559
2559
  containerWidth: u,
2560
2560
  iconWidth: l
@@ -2567,16 +2567,16 @@ var ud = {
2567
2567
  children: c.children.map(Ri)
2568
2568
  } : {}, v = {
2569
2569
  tag: "g",
2570
- attributes: b({}, d.inner),
2570
+ attributes: b({}, m.inner),
2571
2571
  children: [Ri(b({
2572
2572
  tag: c.tag,
2573
- attributes: b(b({}, c.attributes), d.path)
2573
+ attributes: b(b({}, c.attributes), m.path)
2574
2574
  }, p))]
2575
2575
  }, y = {
2576
2576
  tag: "g",
2577
- attributes: b({}, d.outer),
2577
+ attributes: b({}, m.outer),
2578
2578
  children: [v]
2579
- }, g = "mask-".concat(i || Mn()), m = "clip-".concat(i || Mn()), x = {
2579
+ }, g = "mask-".concat(i || Mn()), d = "clip-".concat(i || Mn()), x = {
2580
2580
  tag: "mask",
2581
2581
  attributes: b(b({}, fr), {}, {
2582
2582
  id: g,
@@ -2589,7 +2589,7 @@ var ud = {
2589
2589
  children: [{
2590
2590
  tag: "clipPath",
2591
2591
  attributes: {
2592
- id: m
2592
+ id: d
2593
2593
  },
2594
2594
  children: cd(f)
2595
2595
  }, x]
@@ -2598,7 +2598,7 @@ var ud = {
2598
2598
  tag: "rect",
2599
2599
  attributes: b({
2600
2600
  fill: "currentColor",
2601
- "clip-path": "url(#".concat(m, ")"),
2601
+ "clip-path": "url(#".concat(d, ")"),
2602
2602
  mask: "url(#".concat(g, ")")
2603
2603
  }, fr)
2604
2604
  }), {
@@ -2813,32 +2813,32 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2813
2813
  var kd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Sl = { exports: {} };
2814
2814
  (function(e) {
2815
2815
  (function(t) {
2816
- var n = function(g, m, x) {
2817
- if (!c(m) || f(m) || d(m) || h(m) || l(m))
2818
- return m;
2816
+ var n = function(g, d, x) {
2817
+ if (!c(d) || f(d) || m(d) || h(d) || l(d))
2818
+ return d;
2819
2819
  var C, P = 0, I = 0;
2820
- if (u(m))
2821
- for (C = [], I = m.length; P < I; P++)
2822
- C.push(n(g, m[P], x));
2820
+ if (u(d))
2821
+ for (C = [], I = d.length; P < I; P++)
2822
+ C.push(n(g, d[P], x));
2823
2823
  else {
2824
2824
  C = {};
2825
- for (var T in m)
2826
- Object.prototype.hasOwnProperty.call(m, T) && (C[g(T, x)] = n(g, m[T], x));
2825
+ for (var T in d)
2826
+ Object.prototype.hasOwnProperty.call(d, T) && (C[g(T, x)] = n(g, d[T], x));
2827
2827
  }
2828
2828
  return C;
2829
- }, a = function(g, m) {
2830
- m = m || {};
2831
- var x = m.separator || "_", C = m.split || /(?=[A-Z])/;
2829
+ }, a = function(g, d) {
2830
+ d = d || {};
2831
+ var x = d.separator || "_", C = d.split || /(?=[A-Z])/;
2832
2832
  return g.split(C).join(x);
2833
2833
  }, r = function(g) {
2834
- return p(g) ? g : (g = g.replace(/[\-_\s]+(.)?/g, function(m, x) {
2834
+ return p(g) ? g : (g = g.replace(/[\-_\s]+(.)?/g, function(d, x) {
2835
2835
  return x ? x.toUpperCase() : "";
2836
2836
  }), g.substr(0, 1).toLowerCase() + g.substr(1));
2837
2837
  }, o = function(g) {
2838
- var m = r(g);
2839
- return m.substr(0, 1).toUpperCase() + m.substr(1);
2840
- }, i = function(g, m) {
2841
- return a(g, m).toLowerCase();
2838
+ var d = r(g);
2839
+ return d.substr(0, 1).toUpperCase() + d.substr(1);
2840
+ }, i = function(g, d) {
2841
+ return a(g, d).toLowerCase();
2842
2842
  }, s = Object.prototype.toString, l = function(g) {
2843
2843
  return typeof g == "function";
2844
2844
  }, c = function(g) {
@@ -2847,14 +2847,14 @@ var kd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2847
2847
  return s.call(g) == "[object Array]";
2848
2848
  }, f = function(g) {
2849
2849
  return s.call(g) == "[object Date]";
2850
- }, d = function(g) {
2850
+ }, m = function(g) {
2851
2851
  return s.call(g) == "[object RegExp]";
2852
2852
  }, h = function(g) {
2853
2853
  return s.call(g) == "[object Boolean]";
2854
2854
  }, p = function(g) {
2855
2855
  return g = g - 0, g === g;
2856
- }, v = function(g, m) {
2857
- var x = m && "process" in m ? m.process : m;
2856
+ }, v = function(g, d) {
2857
+ var x = d && "process" in d ? d.process : d;
2858
2858
  return typeof x != "function" ? g : function(C, P) {
2859
2859
  return x(C, g, P);
2860
2860
  };
@@ -2863,14 +2863,14 @@ var kd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2863
2863
  decamelize: i,
2864
2864
  pascalize: o,
2865
2865
  depascalize: i,
2866
- camelizeKeys: function(g, m) {
2867
- return n(v(r, m), g);
2866
+ camelizeKeys: function(g, d) {
2867
+ return n(v(r, d), g);
2868
2868
  },
2869
- decamelizeKeys: function(g, m) {
2870
- return n(v(i, m), g, m);
2869
+ decamelizeKeys: function(g, d) {
2870
+ return n(v(i, d), g, d);
2871
2871
  },
2872
- pascalizeKeys: function(g, m) {
2873
- return n(v(o, m), g);
2872
+ pascalizeKeys: function(g, d) {
2873
+ return n(v(o, d), g);
2874
2874
  },
2875
2875
  depascalizeKeys: function() {
2876
2876
  return this.decamelizeKeys.apply(this, arguments);
@@ -3187,7 +3187,7 @@ Ue({
3187
3187
  };
3188
3188
  }
3189
3189
  });
3190
- const cn = (e, t) => {
3190
+ const un = (e, t) => {
3191
3191
  const n = e.__vccOpts || e;
3192
3192
  for (const [a, r] of t)
3193
3193
  n[a] = r;
@@ -3263,20 +3263,20 @@ const cn = (e, t) => {
3263
3263
  class: "loader"
3264
3264
  }, zd = ["innerHTML"];
3265
3265
  function Bd(e, t, n, a, r, o) {
3266
- const i = ne("font-awesome-icon");
3266
+ const i = J("font-awesome-icon");
3267
3267
  return n.link ? (_(), O("a", {
3268
3268
  key: 0,
3269
3269
  href: n.link,
3270
3270
  target: "_blank",
3271
3271
  class: Ne(["vi-button", [{ "icon-right": n.iconRight }, { "is-disabled": n.isDisabled }, { "is-loading": n.isLoading }, o.buttonSize, o.buttonMode]])
3272
3272
  }, [
3273
- n.isLoading ? (_(), O("div", Md)) : o.icon ? (_(), ee(i, {
3273
+ n.isLoading ? (_(), O("div", Md)) : o.icon ? (_(), te(i, {
3274
3274
  key: 1,
3275
3275
  icon: ["fas", o.icon],
3276
3276
  class: "vi-button-icon"
3277
3277
  }, null, 8, ["icon"])) : Y("", !0),
3278
3278
  L("div", Ld, [
3279
- !n.isLoading && !o.icon ? te(e.$slots, "icon", { key: 0 }) : Y("", !0)
3279
+ !n.isLoading && !o.icon ? ne(e.$slots, "icon", { key: 0 }) : Y("", !0)
3280
3280
  ]),
3281
3281
  L("span", {
3282
3282
  class: "typestyle-b1 m-typestyle-b2",
@@ -3288,7 +3288,7 @@ function Bd(e, t, n, a, r, o) {
3288
3288
  type: n.type,
3289
3289
  onClick: t[0] || (t[0] = (s) => e.$emit("click", s))
3290
3290
  }, [
3291
- n.isLoading ? (_(), O("span", jd)) : o.icon ? (_(), ee(i, {
3291
+ n.isLoading ? (_(), O("span", jd)) : o.icon ? (_(), te(i, {
3292
3292
  key: 1,
3293
3293
  icon: ["fas", o.icon],
3294
3294
  class: "vi-button-icon"
@@ -3299,7 +3299,7 @@ function Bd(e, t, n, a, r, o) {
3299
3299
  }, null, 8, zd)
3300
3300
  ], 10, Rd));
3301
3301
  }
3302
- const $a = /* @__PURE__ */ cn(Nd, [["render", Bd]]), Vd = {
3302
+ const $a = /* @__PURE__ */ un(Nd, [["render", Bd]]), Vd = {
3303
3303
  name: "ViMainHeader",
3304
3304
  components: { ViButton: $a },
3305
3305
  props: {
@@ -3317,17 +3317,17 @@ const $a = /* @__PURE__ */ cn(Nd, [["render", Bd]]), Vd = {
3317
3317
  }
3318
3318
  }, Ud = { class: "vi-main-header" }, Wd = { class: "header-title" };
3319
3319
  function Yd(e, t, n, a, r, o) {
3320
- const i = ne("vi-button");
3320
+ const i = J("vi-button");
3321
3321
  return _(), O("div", Ud, [
3322
3322
  L("h3", Wd, ce(n.headerTitle), 1),
3323
- n.buttonLabel && n.showButton ? (_(), ee(i, {
3323
+ n.buttonLabel && n.showButton ? (_(), te(i, {
3324
3324
  key: 0,
3325
3325
  "button-label": n.buttonLabel,
3326
3326
  onClick: t[0] || (t[0] = (s) => e.$emit("buttonClick"))
3327
3327
  }, null, 8, ["button-label"])) : Y("", !0)
3328
3328
  ]);
3329
3329
  }
3330
- const $d = /* @__PURE__ */ cn(Vd, [["render", Yd]]), Gd = {
3330
+ const $d = /* @__PURE__ */ un(Vd, [["render", Yd]]), Gd = {
3331
3331
  name: "ViPage",
3332
3332
  props: {
3333
3333
  fullWidth: {
@@ -3346,14 +3346,14 @@ const $d = /* @__PURE__ */ cn(Vd, [["render", Yd]]), Gd = {
3346
3346
  function Kd(e, t, n, a, r, o) {
3347
3347
  return _(), O("div", Hd, [
3348
3348
  n.hideHeader ? Y("", !0) : (_(), O("div", qd, [
3349
- te(e.$slots, "header")
3349
+ ne(e.$slots, "header")
3350
3350
  ])),
3351
3351
  L("div", Xd, [
3352
- te(e.$slots, "content")
3352
+ ne(e.$slots, "content")
3353
3353
  ])
3354
3354
  ]);
3355
3355
  }
3356
- const Qd = /* @__PURE__ */ cn(Gd, [["render", Kd]]), Zd = {
3356
+ const Qd = /* @__PURE__ */ un(Gd, [["render", Kd]]), Zd = {
3357
3357
  name: "ViConfirmationDialog",
3358
3358
  components: { ViButton: $a },
3359
3359
  props: {
@@ -3431,24 +3431,24 @@ const Qd = /* @__PURE__ */ cn(Gd, [["render", Kd]]), Zd = {
3431
3431
  class: "vi-dialog vi-confirmation-dialog"
3432
3432
  }, em = { class: "dialog-label" }, tm = { class: "extra-content" }, nm = { class: "dialog-actions" };
3433
3433
  function am(e, t, n, a, r, o) {
3434
- const i = ne("vi-button");
3434
+ const i = J("vi-button");
3435
3435
  return n.modelValue ? (_(), O("div", Jd, [
3436
3436
  L("div", {
3437
3437
  class: Ne(["dialog-container", [o.dialogEnterAnimationPosition, o.dialogSize]])
3438
3438
  }, [
3439
3439
  L("div", em, ce(n.label), 1),
3440
3440
  L("div", tm, [
3441
- te(e.$slots, "default")
3441
+ ne(e.$slots, "default")
3442
3442
  ]),
3443
3443
  L("div", nm, [
3444
- n.hideConfirmButton ? Y("", !0) : (_(), ee(i, {
3444
+ n.hideConfirmButton ? Y("", !0) : (_(), te(i, {
3445
3445
  key: 0,
3446
3446
  label: n.confirmButtonLabel,
3447
3447
  "is-loading": e.isLoading,
3448
3448
  "is-disabled": e.isLoading,
3449
3449
  onClick: o.confirm
3450
3450
  }, null, 8, ["label", "is-loading", "is-disabled", "onClick"])),
3451
- n.hideCancelButton ? Y("", !0) : (_(), ee(i, {
3451
+ n.hideCancelButton ? Y("", !0) : (_(), te(i, {
3452
3452
  key: 1,
3453
3453
  label: n.cancelButtonLabel,
3454
3454
  "is-outlined": !0,
@@ -3459,7 +3459,7 @@ function am(e, t, n, a, r, o) {
3459
3459
  ], 2)
3460
3460
  ])) : Y("", !0);
3461
3461
  }
3462
- const rm = /* @__PURE__ */ cn(Zd, [["render", am]]), om = {
3462
+ const rm = /* @__PURE__ */ un(Zd, [["render", am]]), om = {
3463
3463
  name: "ViDialog",
3464
3464
  components: { FontAwesomeIcon: Cl },
3465
3465
  props: {
@@ -3500,7 +3500,7 @@ const rm = /* @__PURE__ */ cn(Zd, [["render", am]]), om = {
3500
3500
  class: "vi-dialog"
3501
3501
  }, sm = { class: "dialog-header-container" }, lm = ["innerHTML"], cm = { class: "dialog-content" };
3502
3502
  function um(e, t, n, a, r, o) {
3503
- const i = ne("font-awesome-icon");
3503
+ const i = J("font-awesome-icon");
3504
3504
  return n.modelValue ? (_(), O("div", im, [
3505
3505
  L("div", {
3506
3506
  class: Ne(["dialog-container", [o.dialogEnterAnimationPosition, o.dialogSize]])
@@ -3518,12 +3518,12 @@ function um(e, t, n, a, r, o) {
3518
3518
  ])
3519
3519
  ]),
3520
3520
  L("div", cm, [
3521
- te(e.$slots, "default")
3521
+ ne(e.$slots, "default")
3522
3522
  ])
3523
3523
  ], 2)
3524
3524
  ])) : Y("", !0);
3525
3525
  }
3526
- const fm = /* @__PURE__ */ cn(om, [["render", um]]), Bi = Math.min, Cn = Math.max, _a = Math.round, Xe = (e) => ({
3526
+ const fm = /* @__PURE__ */ un(om, [["render", um]]), Bi = Math.min, Cn = Math.max, _a = Math.round, Xe = (e) => ({
3527
3527
  x: e,
3528
3528
  y: e
3529
3529
  }), dm = {
@@ -3550,11 +3550,11 @@ function gm(e) {
3550
3550
  function Ol(e) {
3551
3551
  return e === "y" ? "height" : "width";
3552
3552
  }
3553
- function Ht(e) {
3553
+ function qt(e) {
3554
3554
  return ["top", "bottom"].includes(Fn(e)) ? "y" : "x";
3555
3555
  }
3556
3556
  function Pl(e) {
3557
- return gm(Ht(e));
3557
+ return gm(qt(e));
3558
3558
  }
3559
3559
  function hm(e, t, n) {
3560
3560
  n === void 0 && (n = !1);
@@ -3630,7 +3630,7 @@ function Vi(e, t, n) {
3630
3630
  reference: a,
3631
3631
  floating: r
3632
3632
  } = e;
3633
- const o = Ht(t), i = Pl(t), s = Ol(i), l = Fn(t), c = o === "y", u = a.x + a.width / 2 - r.width / 2, f = a.y + a.height / 2 - r.height / 2, d = a[s] / 2 - r[s] / 2;
3633
+ const o = qt(t), i = Pl(t), s = Ol(i), l = Fn(t), c = o === "y", u = a.x + a.width / 2 - r.width / 2, f = a.y + a.height / 2 - r.height / 2, m = a[s] / 2 - r[s] / 2;
3634
3634
  let h;
3635
3635
  switch (l) {
3636
3636
  case "top":
@@ -3665,10 +3665,10 @@ function Vi(e, t, n) {
3665
3665
  }
3666
3666
  switch (Uo(t)) {
3667
3667
  case "start":
3668
- h[i] -= d * (n && c ? -1 : 1);
3668
+ h[i] -= m * (n && c ? -1 : 1);
3669
3669
  break;
3670
3670
  case "end":
3671
- h[i] += d * (n && c ? -1 : 1);
3671
+ h[i] += m * (n && c ? -1 : 1);
3672
3672
  break;
3673
3673
  }
3674
3674
  return h;
@@ -3687,13 +3687,13 @@ const xm = async (e, t, n) => {
3687
3687
  }), {
3688
3688
  x: u,
3689
3689
  y: f
3690
- } = Vi(c, a, l), d = a, h = {}, p = 0;
3690
+ } = Vi(c, a, l), m = a, h = {}, p = 0;
3691
3691
  for (let v = 0; v < s.length; v++) {
3692
3692
  const {
3693
3693
  name: y,
3694
3694
  fn: g
3695
3695
  } = s[v], {
3696
- x: m,
3696
+ x: d,
3697
3697
  y: x,
3698
3698
  data: C,
3699
3699
  reset: P
@@ -3701,7 +3701,7 @@ const xm = async (e, t, n) => {
3701
3701
  x: u,
3702
3702
  y: f,
3703
3703
  initialPlacement: a,
3704
- placement: d,
3704
+ placement: m,
3705
3705
  strategy: r,
3706
3706
  middlewareData: h,
3707
3707
  rects: c,
@@ -3711,25 +3711,25 @@ const xm = async (e, t, n) => {
3711
3711
  floating: t
3712
3712
  }
3713
3713
  });
3714
- u = m ?? u, f = x ?? f, h = {
3714
+ u = d ?? u, f = x ?? f, h = {
3715
3715
  ...h,
3716
3716
  [y]: {
3717
3717
  ...h[y],
3718
3718
  ...C
3719
3719
  }
3720
- }, P && p <= 50 && (p++, typeof P == "object" && (P.placement && (d = P.placement), P.rects && (c = P.rects === !0 ? await i.getElementRects({
3720
+ }, P && p <= 50 && (p++, typeof P == "object" && (P.placement && (m = P.placement), P.rects && (c = P.rects === !0 ? await i.getElementRects({
3721
3721
  reference: e,
3722
3722
  floating: t,
3723
3723
  strategy: r
3724
3724
  }) : P.rects), {
3725
3725
  x: u,
3726
3726
  y: f
3727
- } = Vi(c, d, l)), v = -1);
3727
+ } = Vi(c, m, l)), v = -1);
3728
3728
  }
3729
3729
  return {
3730
3730
  x: u,
3731
3731
  y: f,
3732
- placement: d,
3732
+ placement: m,
3733
3733
  strategy: r,
3734
3734
  middlewareData: h
3735
3735
  };
@@ -3748,9 +3748,9 @@ async function Sm(e, t) {
3748
3748
  boundary: c = "clippingAncestors",
3749
3749
  rootBoundary: u = "viewport",
3750
3750
  elementContext: f = "floating",
3751
- altBoundary: d = !1,
3751
+ altBoundary: m = !1,
3752
3752
  padding: h = 0
3753
- } = kl(t, e), p = wm(h), v = s[d ? f === "floating" ? "reference" : "floating" : f], y = ka(await o.getClippingRect({
3753
+ } = kl(t, e), p = wm(h), v = s[m ? f === "floating" ? "reference" : "floating" : f], y = ka(await o.getClippingRect({
3754
3754
  element: (n = await (o.isElement == null ? void 0 : o.isElement(v))) == null || n ? v : v.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(s.floating)),
3755
3755
  boundary: c,
3756
3756
  rootBoundary: u,
@@ -3760,7 +3760,7 @@ async function Sm(e, t) {
3760
3760
  y: r,
3761
3761
  width: i.floating.width,
3762
3762
  height: i.floating.height
3763
- } : i.reference, m = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(s.floating)), x = await (o.isElement == null ? void 0 : o.isElement(m)) ? await (o.getScale == null ? void 0 : o.getScale(m)) || {
3763
+ } : i.reference, d = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(s.floating)), x = await (o.isElement == null ? void 0 : o.isElement(d)) ? await (o.getScale == null ? void 0 : o.getScale(d)) || {
3764
3764
  x: 1,
3765
3765
  y: 1
3766
3766
  } : {
@@ -3769,7 +3769,7 @@ async function Sm(e, t) {
3769
3769
  }, C = ka(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
3770
3770
  elements: s,
3771
3771
  rect: g,
3772
- offsetParent: m,
3772
+ offsetParent: d,
3773
3773
  strategy: l
3774
3774
  }) : g);
3775
3775
  return {
@@ -3795,7 +3795,7 @@ const _m = function(e) {
3795
3795
  } = t, {
3796
3796
  mainAxis: u = !0,
3797
3797
  crossAxis: f = !0,
3798
- fallbackPlacements: d,
3798
+ fallbackPlacements: m,
3799
3799
  fallbackStrategy: h = "bestFit",
3800
3800
  fallbackAxisSideDirection: p = "none",
3801
3801
  flipAlignment: v = !0,
@@ -3803,8 +3803,8 @@ const _m = function(e) {
3803
3803
  } = kl(e, t);
3804
3804
  if ((n = o.arrow) != null && n.alignmentOffset)
3805
3805
  return {};
3806
- const g = Fn(r), m = Ht(s), x = Fn(s) === s, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), P = d || (x || !v ? [Ca(s)] : pm(s)), I = p !== "none";
3807
- !d && I && P.push(...ym(s, v, p, C));
3806
+ const g = Fn(r), d = qt(s), x = Fn(s) === s, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), P = m || (x || !v ? [Ca(s)] : pm(s)), I = p !== "none";
3807
+ !m && I && P.push(...ym(s, v, p, C));
3808
3808
  const T = [s, ...P], U = await Sm(t, y), W = [];
3809
3809
  let re = ((a = o.flip) == null ? void 0 : a.overflows) || [];
3810
3810
  if (u && W.push(U[g]), f) {
@@ -3817,9 +3817,9 @@ const _m = function(e) {
3817
3817
  }], !W.every((oe) => oe <= 0)) {
3818
3818
  var pe, Te;
3819
3819
  const oe = (((pe = o.flip) == null ? void 0 : pe.index) || 0) + 1, G = T[oe];
3820
- if (G && (!(f === "alignment" && m !== Ht(G)) || // We leave the current main axis only if every placement on that axis
3820
+ if (G && (!(f === "alignment" && d !== qt(G)) || // We leave the current main axis only if every placement on that axis
3821
3821
  // overflows the main axis.
3822
- re.every((J) => J.overflows[0] > 0 && Ht(J.placement) === m)))
3822
+ re.every((ee) => ee.overflows[0] > 0 && qt(ee.placement) === d)))
3823
3823
  return {
3824
3824
  data: {
3825
3825
  index: oe,
@@ -3829,21 +3829,21 @@ const _m = function(e) {
3829
3829
  placement: G
3830
3830
  }
3831
3831
  };
3832
- let H = (Te = re.filter((J) => J.overflows[0] <= 0).sort((J, fe) => J.overflows[1] - fe.overflows[1])[0]) == null ? void 0 : Te.placement;
3832
+ let H = (Te = re.filter((ee) => ee.overflows[0] <= 0).sort((ee, fe) => ee.overflows[1] - fe.overflows[1])[0]) == null ? void 0 : Te.placement;
3833
3833
  if (!H)
3834
3834
  switch (h) {
3835
3835
  case "bestFit": {
3836
3836
  var ue;
3837
- const J = (ue = re.filter((fe) => {
3837
+ const ee = (ue = re.filter((fe) => {
3838
3838
  if (I) {
3839
- const Ie = Ht(fe.placement);
3840
- return Ie === m || // Create a bias to the `y` side axis due to horizontal
3839
+ const Ie = qt(fe.placement);
3840
+ return Ie === d || // Create a bias to the `y` side axis due to horizontal
3841
3841
  // reading directions favoring greater width.
3842
3842
  Ie === "y";
3843
3843
  }
3844
3844
  return !0;
3845
3845
  }).map((fe) => [fe.placement, fe.overflows.filter((Ie) => Ie > 0).reduce((Ie, ir) => Ie + ir, 0)]).sort((fe, Ie) => fe[1] - Ie[1])[0]) == null ? void 0 : ue[0];
3846
- J && (H = J);
3846
+ ee && (H = ee);
3847
3847
  break;
3848
3848
  }
3849
3849
  case "initialPlacement":
@@ -3914,7 +3914,7 @@ function Yo(e) {
3914
3914
  }
3915
3915
  function km(e) {
3916
3916
  let t = _t(e);
3917
- for (; Ze(t) && !nn(t); ) {
3917
+ for (; Ze(t) && !an(t); ) {
3918
3918
  if (Yo(t))
3919
3919
  return t;
3920
3920
  if (Ha(t))
@@ -3926,7 +3926,7 @@ function km(e) {
3926
3926
  function $o() {
3927
3927
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
3928
3928
  }
3929
- function nn(e) {
3929
+ function an(e) {
3930
3930
  return ["html", "body", "#document"].includes(Bt(e));
3931
3931
  }
3932
3932
  function Ve(e) {
@@ -3955,7 +3955,7 @@ function _t(e) {
3955
3955
  }
3956
3956
  function El(e) {
3957
3957
  const t = _t(e);
3958
- return nn(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Ze(t) && Wn(t) ? t : El(t);
3958
+ return an(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Ze(t) && Wn(t) ? t : El(t);
3959
3959
  }
3960
3960
  function Al(e, t, n) {
3961
3961
  var a;
@@ -3979,7 +3979,7 @@ function Tl(e) {
3979
3979
  function Dl(e) {
3980
3980
  return Be(e) ? e : e.contextElement;
3981
3981
  }
3982
- function Qt(e) {
3982
+ function Zt(e) {
3983
3983
  const t = Dl(e);
3984
3984
  if (!Ze(t))
3985
3985
  return Xe(1);
@@ -4009,14 +4009,14 @@ function Rn(e, t, n, a) {
4009
4009
  t === void 0 && (t = !1), n === void 0 && (n = !1);
4010
4010
  const r = e.getBoundingClientRect(), o = Dl(e);
4011
4011
  let i = Xe(1);
4012
- t && (a ? Be(a) && (i = Qt(a)) : i = Qt(e));
4012
+ t && (a ? Be(a) && (i = Zt(a)) : i = Zt(e));
4013
4013
  const s = Pm(o, n, a) ? Nl(o) : Xe(0);
4014
4014
  let l = (r.left + s.x) / i.x, c = (r.top + s.y) / i.y, u = r.width / i.x, f = r.height / i.y;
4015
4015
  if (o) {
4016
- const d = Oe(o), h = a && Be(a) ? Oe(a) : a;
4017
- let p = d, v = Kr(p);
4016
+ const m = Oe(o), h = a && Be(a) ? Oe(a) : a;
4017
+ let p = m, v = Kr(p);
4018
4018
  for (; v && a && h !== p; ) {
4019
- const y = Qt(v), g = v.getBoundingClientRect(), m = Ve(v), x = g.left + (v.clientLeft + parseFloat(m.paddingLeft)) * y.x, C = g.top + (v.clientTop + parseFloat(m.paddingTop)) * y.y;
4019
+ const y = Zt(v), g = v.getBoundingClientRect(), d = Ve(v), x = g.left + (v.clientLeft + parseFloat(d.paddingLeft)) * y.x, C = g.top + (v.clientTop + parseFloat(d.paddingTop)) * y.y;
4020
4020
  l *= y.x, c *= y.y, u *= y.x, f *= y.y, l += x, c += C, p = Oe(v), v = Kr(p);
4021
4021
  }
4022
4022
  }
@@ -4059,14 +4059,14 @@ function Em(e) {
4059
4059
  const u = Xe(0), f = Ze(a);
4060
4060
  if ((f || !f && !o) && ((Bt(a) !== "body" || Wn(i)) && (l = qa(a)), Ze(a))) {
4061
4061
  const h = Rn(a);
4062
- c = Qt(a), u.x = h.x + a.clientLeft, u.y = h.y + a.clientTop;
4062
+ c = Zt(a), u.x = h.x + a.clientLeft, u.y = h.y + a.clientTop;
4063
4063
  }
4064
- const d = i && !f && !o ? Il(i, l, !0) : Xe(0);
4064
+ const m = i && !f && !o ? Il(i, l, !0) : Xe(0);
4065
4065
  return {
4066
4066
  width: n.width * c.x,
4067
4067
  height: n.height * c.y,
4068
- x: n.x * c.x - l.scrollLeft * c.x + u.x + d.x,
4069
- y: n.y * c.y - l.scrollTop * c.y + u.y + d.y
4068
+ x: n.x * c.x - l.scrollLeft * c.x + u.x + m.x,
4069
+ y: n.y * c.y - l.scrollTop * c.y + u.y + m.y
4070
4070
  };
4071
4071
  }
4072
4072
  function Am(e) {
@@ -4099,7 +4099,7 @@ function Dm(e, t) {
4099
4099
  };
4100
4100
  }
4101
4101
  function Nm(e, t) {
4102
- const n = Rn(e, !0, t === "fixed"), a = n.top + e.clientTop, r = n.left + e.clientLeft, o = Ze(e) ? Qt(e) : Xe(1), i = e.clientWidth * o.x, s = e.clientHeight * o.y, l = r * o.x, c = a * o.y;
4102
+ const n = Rn(e, !0, t === "fixed"), a = n.top + e.clientTop, r = n.left + e.clientLeft, o = Ze(e) ? Zt(e) : Xe(1), i = e.clientWidth * o.x, s = e.clientHeight * o.y, l = r * o.x, c = a * o.y;
4103
4103
  return {
4104
4104
  width: i,
4105
4105
  height: s,
@@ -4128,7 +4128,7 @@ function Wi(e, t, n) {
4128
4128
  }
4129
4129
  function Ml(e, t) {
4130
4130
  const n = _t(e);
4131
- return n === t || !Be(n) || nn(n) ? !1 : Ve(n).position === "fixed" || Ml(n, t);
4131
+ return n === t || !Be(n) || an(n) ? !1 : Ve(n).position === "fixed" || Ml(n, t);
4132
4132
  }
4133
4133
  function Im(e, t) {
4134
4134
  const n = t.get(e);
@@ -4137,7 +4137,7 @@ function Im(e, t) {
4137
4137
  let a = Al(e, []).filter((s) => Be(s) && Bt(s) !== "body"), r = null;
4138
4138
  const o = Ve(e).position === "fixed";
4139
4139
  let i = o ? _t(e) : e;
4140
- for (; Be(i) && !nn(i); ) {
4140
+ for (; Be(i) && !an(i); ) {
4141
4141
  const s = Ve(i), l = Yo(i);
4142
4142
  !l && s.position === "fixed" && (r = null), (o ? !l && !r : !l && s.position === "static" && r && ["absolute", "fixed"].includes(r.position) || Wn(i) && !l && Ml(e, i)) ? a = a.filter((c) => c !== i) : r = s, i = _t(i);
4143
4143
  }
@@ -4188,10 +4188,10 @@ function Fm(e, t, n) {
4188
4188
  } else
4189
4189
  r && c();
4190
4190
  o && !a && r && c();
4191
- const u = r && !a && !o ? Il(r, s) : Xe(0), f = i.left + s.scrollLeft - l.x - u.x, d = i.top + s.scrollTop - l.y - u.y;
4191
+ const u = r && !a && !o ? Il(r, s) : Xe(0), f = i.left + s.scrollLeft - l.x - u.x, m = i.top + s.scrollTop - l.y - u.y;
4192
4192
  return {
4193
4193
  x: f,
4194
- y: d,
4194
+ y: m,
4195
4195
  width: i.width,
4196
4196
  height: i.height
4197
4197
  };
@@ -4213,7 +4213,7 @@ function Ll(e, t) {
4213
4213
  return n;
4214
4214
  if (!Ze(e)) {
4215
4215
  let r = _t(e);
4216
- for (; r && !nn(r); ) {
4216
+ for (; r && !an(r); ) {
4217
4217
  if (Be(r) && !dr(r))
4218
4218
  return r;
4219
4219
  r = _t(r);
@@ -4223,7 +4223,7 @@ function Ll(e, t) {
4223
4223
  let a = Yi(e, t);
4224
4224
  for (; a && Cm(a) && dr(a); )
4225
4225
  a = Yi(a, t);
4226
- return a && nn(a) && dr(a) && !Yo(a) ? n : a || km(e) || n;
4226
+ return a && an(a) && dr(a) && !Yo(a) ? n : a || km(e) || n;
4227
4227
  }
4228
4228
  const Rm = async function(e) {
4229
4229
  const t = this.getOffsetParent || Ll, n = this.getDimensions, a = await n(e.floating);
@@ -4248,7 +4248,7 @@ const zm = {
4248
4248
  getElementRects: Rm,
4249
4249
  getClientRects: Am,
4250
4250
  getDimensions: Lm,
4251
- getScale: Qt,
4251
+ getScale: Zt,
4252
4252
  isElement: Be,
4253
4253
  isRTL: jm
4254
4254
  }, Bm = _m, Vm = (e, t, n) => {
@@ -4298,7 +4298,7 @@ function Wm(e, t, n) {
4298
4298
  }), l = k(() => {
4299
4299
  var T;
4300
4300
  return (T = dn(n.transform)) != null ? T : !0;
4301
- }), c = k(() => $i(e.value)), u = k(() => $i(t.value)), f = V(0), d = V(0), h = V(s.value), p = V(i.value), v = Jc({}), y = V(!1), g = k(() => {
4301
+ }), c = k(() => $i(e.value)), u = k(() => $i(t.value)), f = V(0), m = V(0), h = V(s.value), p = V(i.value), v = Jc({}), y = V(!1), g = k(() => {
4302
4302
  const T = {
4303
4303
  position: h.value,
4304
4304
  left: "0",
@@ -4306,7 +4306,7 @@ function Wm(e, t, n) {
4306
4306
  };
4307
4307
  if (!u.value)
4308
4308
  return T;
4309
- const U = Gi(u.value, f.value), W = Gi(u.value, d.value);
4309
+ const U = Gi(u.value, f.value), W = Gi(u.value, m.value);
4310
4310
  return l.value ? {
4311
4311
  ...T,
4312
4312
  transform: "translate(" + U + "px, " + W + "px)",
@@ -4319,7 +4319,7 @@ function Wm(e, t, n) {
4319
4319
  top: W + "px"
4320
4320
  };
4321
4321
  });
4322
- let m;
4322
+ let d;
4323
4323
  function x() {
4324
4324
  if (c.value == null || u.value == null)
4325
4325
  return;
@@ -4329,11 +4329,11 @@ function Wm(e, t, n) {
4329
4329
  placement: i.value,
4330
4330
  strategy: s.value
4331
4331
  }).then((U) => {
4332
- f.value = U.x, d.value = U.y, h.value = U.strategy, p.value = U.placement, v.value = U.middlewareData, y.value = T !== !1;
4332
+ f.value = U.x, m.value = U.y, h.value = U.strategy, p.value = U.placement, v.value = U.middlewareData, y.value = T !== !1;
4333
4333
  });
4334
4334
  }
4335
4335
  function C() {
4336
- typeof m == "function" && (m(), m = void 0);
4336
+ typeof d == "function" && (d(), d = void 0);
4337
4337
  }
4338
4338
  function P() {
4339
4339
  if (C(), a === void 0) {
@@ -4341,7 +4341,7 @@ function Wm(e, t, n) {
4341
4341
  return;
4342
4342
  }
4343
4343
  if (c.value != null && u.value != null) {
4344
- m = a(c.value, u.value, x);
4344
+ d = a(c.value, u.value, x);
4345
4345
  return;
4346
4346
  }
4347
4347
  }
@@ -4355,12 +4355,12 @@ function Wm(e, t, n) {
4355
4355
  }), bt(r, I, {
4356
4356
  flush: "sync"
4357
4357
  }), eu() && tu(C), {
4358
- x: Vt(f),
4359
- y: Vt(d),
4360
- strategy: Vt(h),
4361
- placement: Vt(p),
4362
- middlewareData: Vt(v),
4363
- isPositioned: Vt(y),
4358
+ x: Ut(f),
4359
+ y: Ut(m),
4360
+ strategy: Ut(h),
4361
+ placement: Ut(p),
4362
+ middlewareData: Ut(v),
4363
+ isPositioned: Ut(y),
4364
4364
  floatingStyles: g,
4365
4365
  update: x
4366
4366
  };
@@ -4432,7 +4432,7 @@ const Ym = {
4432
4432
  }), s = V(!1), l = k(() => {
4433
4433
  var p;
4434
4434
  return !e.truncate || !c.value || e.truncate >= ((p = e.text) == null ? void 0 : p.trim().length) ? e.text : e.text.trim().slice(0, e.truncate) + "…";
4435
- }), c = k(() => e.text && typeof e.text == "string" && e.text.length > 0), u = k(() => !c.value || !e.truncate ? !1 : e.text.trim().length > e.truncate), f = k(() => e.showOnlyIfOverflowed ? !u.value : !1), d = k(() => e.customColor ? e.customColor : {
4435
+ }), c = k(() => e.text && typeof e.text == "string" && e.text.length > 0), u = k(() => !c.value || !e.truncate ? !1 : e.text.trim().length > e.truncate), f = k(() => e.showOnlyIfOverflowed ? !u.value : !1), m = k(() => e.customColor ? e.customColor : {
4436
4436
  primary: "var(--vi-common-primary-color)",
4437
4437
  secondary: "var(--vi-common-secondary-color)",
4438
4438
  "primary-light": "var(--vi-common-primary-color-light)",
@@ -4447,7 +4447,7 @@ const Ym = {
4447
4447
  open: s,
4448
4448
  truncatedText: l,
4449
4449
  hideAlwaysTooltip: f,
4450
- backgroundColor: d,
4450
+ backgroundColor: m,
4451
4451
  textColor: h
4452
4452
  };
4453
4453
  }
@@ -4463,7 +4463,7 @@ function Gm(e, t, n, a, r, o) {
4463
4463
  onFocus: t[3] || (t[3] = (i) => n.trigger === "focus" && (a.open = !0)),
4464
4464
  onBlur: t[4] || (t[4] = (i) => n.trigger === "focus" && (a.open = !1))
4465
4465
  }, [
4466
- te(e.$slots, "text", { text: a.truncatedText }, () => [
4466
+ ne(e.$slots, "text", { text: a.truncatedText }, () => [
4467
4467
  Kc(ce(a.truncatedText), 1)
4468
4468
  ], !0)
4469
4469
  ], 544),
@@ -4473,18 +4473,18 @@ function Gm(e, t, n, a, r, o) {
4473
4473
  ref: "floating",
4474
4474
  style: Qc({ ...a.floatingStyles, "background-color": a.backgroundColor, color: a.textColor })
4475
4475
  }, [
4476
- n.text ? (_(), O("span", $m, ce(n.text), 1)) : te(e.$slots, "content", { key: 1 }, void 0, !0)
4476
+ n.text ? (_(), O("span", $m, ce(n.text), 1)) : ne(e.$slots, "content", { key: 1 }, void 0, !0)
4477
4477
  ], 4)) : Y("", !0)
4478
4478
  ], 64);
4479
4479
  }
4480
- const Xa = /* @__PURE__ */ cn(Ym, [["render", Gm], ["__scopeId", "data-v-33022d05"]]), Yn = {
4480
+ const Xa = /* @__PURE__ */ un(Ym, [["render", Gm], ["__scopeId", "data-v-33022d05"]]), Yn = {
4481
4481
  TOP_LEFT: "top-left",
4482
4482
  TOP_RIGHT: "top-right",
4483
4483
  TOP_CENTER: "top-center",
4484
4484
  BOTTOM_LEFT: "bottom-left",
4485
4485
  BOTTOM_RIGHT: "bottom-right",
4486
4486
  BOTTOM_CENTER: "bottom-center"
4487
- }, an = {
4487
+ }, rn = {
4488
4488
  LIGHT: "light",
4489
4489
  DARK: "dark",
4490
4490
  COLORED: "colored",
@@ -4579,7 +4579,7 @@ function ng(e, t, n = !1) {
4579
4579
  "".concat(z.CSS_NAMESPACE, "__toast-container--").concat(e),
4580
4580
  n ? "".concat(z.CSS_NAMESPACE, "__toast-container--rtl") : null
4581
4581
  ].filter(Boolean).join(" ");
4582
- return Zt(t) ? t({
4582
+ return Jt(t) ? t({
4583
4583
  position: e,
4584
4584
  rtl: n,
4585
4585
  defaultClassName: a
@@ -4587,18 +4587,18 @@ function ng(e, t, n = !1) {
4587
4587
  }
4588
4588
  function ag(e) {
4589
4589
  var t;
4590
- const { position: n, containerClassName: a, rtl: r = !1, style: o = {} } = e, i = z.CSS_NAMESPACE, s = tg(n), l = document.querySelector(".".concat(i)), c = document.querySelector(".".concat(s)), u = !!c && !((t = c.className) != null && t.includes(Ka)), f = l || document.createElement("div"), d = document.createElement("div");
4591
- d.className = ng(
4590
+ const { position: n, containerClassName: a, rtl: r = !1, style: o = {} } = e, i = z.CSS_NAMESPACE, s = tg(n), l = document.querySelector(".".concat(i)), c = document.querySelector(".".concat(s)), u = !!c && !((t = c.className) != null && t.includes(Ka)), f = l || document.createElement("div"), m = document.createElement("div");
4591
+ m.className = ng(
4592
4592
  n,
4593
4593
  a,
4594
4594
  r
4595
- ), d.dataset.testid = "".concat(z.CSS_NAMESPACE, "__toast-container--").concat(n), d.id = Jm(e);
4595
+ ), m.dataset.testid = "".concat(z.CSS_NAMESPACE, "__toast-container--").concat(n), m.id = Jm(e);
4596
4596
  for (const h in o)
4597
4597
  if (Object.prototype.hasOwnProperty.call(o, h)) {
4598
4598
  const p = o[h];
4599
- d.style[h] = p;
4599
+ m.style[h] = p;
4600
4600
  }
4601
- return l || (f.className = z.CSS_NAMESPACE, document.body.appendChild(f)), u || f.appendChild(d), d;
4601
+ return l || (f.className = z.CSS_NAMESPACE, document.body.appendChild(f)), u || f.appendChild(m), m;
4602
4602
  }
4603
4603
  function Zr(e) {
4604
4604
  var t, n, a;
@@ -4609,7 +4609,7 @@ function Zr(e) {
4609
4609
  } catch {
4610
4610
  }
4611
4611
  }
4612
- const jn = sn({});
4612
+ const jn = ln({});
4613
4613
  function rg(e, t) {
4614
4614
  const n = document.getElementById(String(t));
4615
4615
  n && (jn[n.id] = e);
@@ -4668,7 +4668,7 @@ function ug() {
4668
4668
  ca(e == null ? void 0 : e.toastContent, e == null ? void 0 : e.toastProps);
4669
4669
  }
4670
4670
  }
4671
- const le = sn({}), Je = sn({
4671
+ const le = ln({}), Je = ln({
4672
4672
  items: []
4673
4673
  });
4674
4674
  function $n() {
@@ -4770,7 +4770,7 @@ const Ke = {
4770
4770
  }
4771
4771
  }
4772
4772
  }
4773
- }, Vl = sn({}), Oa = sn({});
4773
+ }, Vl = ln({}), Oa = ln({});
4774
4774
  function Ul() {
4775
4775
  return Math.random().toString(36).substring(2, 9);
4776
4776
  }
@@ -4780,7 +4780,7 @@ function dg(e) {
4780
4780
  function to(e) {
4781
4781
  return typeof e == "string";
4782
4782
  }
4783
- function Zt(e) {
4783
+ function Jt(e) {
4784
4784
  return typeof e == "function";
4785
4785
  }
4786
4786
  function Qa(...e) {
@@ -4902,7 +4902,7 @@ const Wl = {
4902
4902
  theme: {
4903
4903
  type: String,
4904
4904
  required: !1,
4905
- default: an.AUTO
4905
+ default: rn.AUTO
4906
4906
  },
4907
4907
  content: {
4908
4908
  type: [String, Object, Function],
@@ -4989,7 +4989,7 @@ const Wl = {
4989
4989
  theme: {
4990
4990
  type: String,
4991
4991
  required: !1,
4992
- default: an.AUTO
4992
+ default: rn.AUTO
4993
4993
  },
4994
4994
  hide: {
4995
4995
  type: Boolean,
@@ -5062,12 +5062,12 @@ const Wl = {
5062
5062
  theme: {
5063
5063
  type: String,
5064
5064
  required: !1,
5065
- default: an.AUTO
5065
+ default: rn.AUTO
5066
5066
  },
5067
5067
  type: {
5068
5068
  type: String,
5069
5069
  required: !1,
5070
- default: an.LIGHT
5070
+ default: rn.LIGHT
5071
5071
  },
5072
5072
  ariaLabel: {
5073
5073
  type: String,
@@ -5152,7 +5152,7 @@ function kg({
5152
5152
  theme: e,
5153
5153
  type: t
5154
5154
  };
5155
- return n ? r = no.spinner() : a === !1 ? r = void 0 : ua(a) ? r = Fe(a) : Zt(a) ? r = a(o) : Bs(a) ? r = au(a, o) : to(a) || dg(a) ? r = a : Cg(t) && (r = no[t](o)), r;
5155
+ return n ? r = no.spinner() : a === !1 ? r = void 0 : ua(a) ? r = Fe(a) : Jt(a) ? r = a(o) : Bs(a) ? r = au(a, o) : to(a) || dg(a) ? r = a : Cg(t) && (r = no[t](o)), r;
5156
5156
  }
5157
5157
  const Og = () => {
5158
5158
  };
@@ -5165,7 +5165,7 @@ function Pg(e, t, n = z.COLLAPSE_DURATION) {
5165
5165
  });
5166
5166
  }
5167
5167
  function Eg(e) {
5168
- const t = V(!1), n = V(!1), a = V(!1), r = V(fa.Enter), o = sn({
5168
+ const t = V(!1), n = V(!1), a = V(!1), r = V(fa.Enter), o = ln({
5169
5169
  ...e,
5170
5170
  appendPosition: e.appendPosition || !1,
5171
5171
  collapse: typeof e.collapse > "u" ? !0 : e.collapse,
@@ -5175,34 +5175,34 @@ function Eg(e) {
5175
5175
  onMouseleave: v
5176
5176
  } : {});
5177
5177
  function u() {
5178
- const m = s.value.split(" ");
5179
- d().addEventListener(
5178
+ const d = s.value.split(" ");
5179
+ m().addEventListener(
5180
5180
  Qr.ENTRANCE_ANIMATION_END,
5181
5181
  v,
5182
5182
  { once: !0 }
5183
5183
  );
5184
5184
  const x = (P) => {
5185
- const I = d();
5186
- P.target === I && (I.dispatchEvent(new Event(Qr.ENTRANCE_ANIMATION_END)), I.removeEventListener("animationend", x), I.removeEventListener("animationcancel", x), r.value === fa.Enter && P.type !== "animationcancel" && I.classList.remove(...m));
5185
+ const I = m();
5186
+ P.target === I && (I.dispatchEvent(new Event(Qr.ENTRANCE_ANIMATION_END)), I.removeEventListener("animationend", x), I.removeEventListener("animationcancel", x), r.value === fa.Enter && P.type !== "animationcancel" && I.classList.remove(...d));
5187
5187
  }, C = () => {
5188
- const P = d();
5189
- P.classList.add(...m), P.addEventListener("animationend", x), P.addEventListener("animationcancel", x);
5188
+ const P = m();
5189
+ P.classList.add(...d), P.addEventListener("animationend", x), P.addEventListener("animationcancel", x);
5190
5190
  };
5191
5191
  e.pauseOnFocusLoss && h(), C();
5192
5192
  }
5193
5193
  function f() {
5194
- if (!d())
5194
+ if (!m())
5195
5195
  return;
5196
- const m = () => {
5197
- const C = d();
5198
- C.removeEventListener("animationend", m), o.collapse ? Pg(C, i, o.collapseDuration) : i();
5196
+ const d = () => {
5197
+ const C = m();
5198
+ C.removeEventListener("animationend", d), o.collapse ? Pg(C, i, o.collapseDuration) : i();
5199
5199
  }, x = () => {
5200
- const C = d();
5201
- r.value = fa.Exit, C && (C.className += " ".concat(l.value), C.addEventListener("animationend", m));
5200
+ const C = m();
5201
+ r.value = fa.Exit, C && (C.className += " ".concat(l.value), C.addEventListener("animationend", d));
5202
5202
  };
5203
- n.value || (a.value ? m() : setTimeout(x));
5203
+ n.value || (a.value ? d() : setTimeout(x));
5204
5204
  }
5205
- function d() {
5205
+ function m() {
5206
5206
  return e.toastRef.value;
5207
5207
  }
5208
5208
  function h() {
@@ -5217,12 +5217,12 @@ function Eg(e) {
5217
5217
  function y() {
5218
5218
  t.value = !1;
5219
5219
  }
5220
- function g(m) {
5221
- m && (m.stopPropagation(), m.preventDefault()), n.value = !1;
5220
+ function g(d) {
5221
+ d && (d.stopPropagation(), d.preventDefault()), n.value = !1;
5222
5222
  }
5223
5223
  return oa(f), oa(() => {
5224
- const m = $n();
5225
- n.value = m.findIndex((x) => x.toastId === o.toastId) > -1;
5224
+ const d = $n();
5225
+ n.value = d.findIndex((x) => x.toastId === o.toastId) > -1;
5226
5226
  }), oa(() => {
5227
5227
  e.isLoading !== void 0 && (e.loading.value ? y() : v());
5228
5228
  }), Eo(u), Ao(() => {
@@ -5273,7 +5273,7 @@ const Ag = /* @__PURE__ */ Ue({
5273
5273
  }, [ua(r.value) ? Ye(Fe(r.value), {
5274
5274
  theme: e.theme,
5275
5275
  type: e.type
5276
- }) : Zt(r.value) ? r.value({
5276
+ }) : Jt(r.value) ? r.value({
5277
5277
  theme: e.theme,
5278
5278
  type: e.type
5279
5279
  }) : r.value]), R("div", {
@@ -5282,7 +5282,7 @@ const Ag = /* @__PURE__ */ Ue({
5282
5282
  toastProps: Fe(e),
5283
5283
  closeToast: l,
5284
5284
  data: e.data
5285
- }) : Zt(e.content) ? e.content({
5285
+ }) : Jt(e.content) ? e.content({
5286
5286
  toastProps: Fe(e),
5287
5287
  closeToast: l,
5288
5288
  data: e.data
@@ -5297,7 +5297,7 @@ const Ag = /* @__PURE__ */ Ue({
5297
5297
  closeToast: l,
5298
5298
  type: e.type,
5299
5299
  theme: e.theme
5300
- }) : Zt(e.closeButton) ? e.closeButton({
5300
+ }) : Jt(e.closeButton) ? e.closeButton({
5301
5301
  closeToast: l,
5302
5302
  type: e.type,
5303
5303
  theme: e.theme
@@ -5405,7 +5405,7 @@ $.loading = (e, t) => Et(e, ye.DEFAULT, Qa(t, {
5405
5405
  draggable: !1
5406
5406
  }));
5407
5407
  $.dark = (e, t) => Et(e, ye.DEFAULT, Qa(t, {
5408
- theme: an.DARK
5408
+ theme: rn.DARK
5409
5409
  }));
5410
5410
  $.remove = (e) => {
5411
5411
  e ? Ke.dismiss(e) : Ke.clear();
@@ -5484,15 +5484,15 @@ function Ig(e, {
5484
5484
  ...g,
5485
5485
  isLoading: !1
5486
5486
  }), v;
5487
- }, d = Zt(e) ? e() : e;
5488
- return d.then((h) => {
5487
+ }, m = Jt(e) ? e() : e;
5488
+ return m.then((h) => {
5489
5489
  f("success", a, h);
5490
5490
  }).catch((h) => {
5491
5491
  f("error", n, h);
5492
- }), d;
5492
+ }), m;
5493
5493
  }
5494
5494
  $.POSITION = Yn;
5495
- $.THEME = an;
5495
+ $.THEME = rn;
5496
5496
  $.TYPE = ye;
5497
5497
  $.TRANSITIONS = Hm;
5498
5498
  const Gl = {
@@ -5587,7 +5587,7 @@ const Wg = {
5587
5587
  }
5588
5588
  }, Yg = ["value", "placeholder"];
5589
5589
  function $g(e, t, n, a, r, o) {
5590
- const i = ne("vi-tooltip");
5590
+ const i = J("vi-tooltip");
5591
5591
  return o.isEditable ? (_(), O("div", Pe({
5592
5592
  key: 1,
5593
5593
  class: "vi-grid-text editable"
@@ -5707,13 +5707,13 @@ function Aa(e, t) {
5707
5707
  var u = Ja(), f = Ct((n = (a = (r = (o = t == null ? void 0 : t.weekStartsOn) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (s = i.options) === null || s === void 0 ? void 0 : s.weekStartsOn) !== null && r !== void 0 ? r : u.weekStartsOn) !== null && a !== void 0 ? a : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && n !== void 0 ? n : 0);
5708
5708
  if (!(f >= 0 && f <= 6))
5709
5709
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
5710
- var d = tt(e), h = d.getUTCDay(), p = (h < f ? 7 : 0) + h - f;
5711
- return d.setUTCDate(d.getUTCDate() - p), d.setUTCHours(0, 0, 0, 0), d;
5710
+ var m = tt(e), h = m.getUTCDay(), p = (h < f ? 7 : 0) + h - f;
5711
+ return m.setUTCDate(m.getUTCDate() - p), m.setUTCHours(0, 0, 0, 0), m;
5712
5712
  }
5713
5713
  function Kl(e, t) {
5714
5714
  var n, a, r, o, i, s, l, c;
5715
5715
  he(1, arguments);
5716
- var u = tt(e), f = u.getUTCFullYear(), d = Ja(), h = Ct((n = (a = (r = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (s = i.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && r !== void 0 ? r : d.firstWeekContainsDate) !== null && a !== void 0 ? a : (l = d.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && n !== void 0 ? n : 1);
5716
+ var u = tt(e), f = u.getUTCFullYear(), m = Ja(), h = Ct((n = (a = (r = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (s = i.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && r !== void 0 ? r : m.firstWeekContainsDate) !== null && a !== void 0 ? a : (l = m.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && n !== void 0 ? n : 1);
5717
5717
  if (!(h >= 1 && h <= 7))
5718
5718
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
5719
5719
  var p = /* @__PURE__ */ new Date(0);
@@ -5726,8 +5726,8 @@ function Kl(e, t) {
5726
5726
  function rh(e, t) {
5727
5727
  var n, a, r, o, i, s, l, c;
5728
5728
  he(1, arguments);
5729
- var u = Ja(), f = Ct((n = (a = (r = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (s = i.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && r !== void 0 ? r : u.firstWeekContainsDate) !== null && a !== void 0 ? a : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && n !== void 0 ? n : 1), d = Kl(e, t), h = /* @__PURE__ */ new Date(0);
5730
- h.setUTCFullYear(d, 0, f), h.setUTCHours(0, 0, 0, 0);
5729
+ var u = Ja(), f = Ct((n = (a = (r = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (s = i.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && r !== void 0 ? r : u.firstWeekContainsDate) !== null && a !== void 0 ? a : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && n !== void 0 ? n : 1), m = Kl(e, t), h = /* @__PURE__ */ new Date(0);
5730
+ h.setUTCFullYear(m, 0, f), h.setUTCHours(0, 0, 0, 0);
5731
5731
  var p = Aa(h, t);
5732
5732
  return p;
5733
5733
  }
@@ -5796,7 +5796,7 @@ var sh = {
5796
5796
  }
5797
5797
  };
5798
5798
  const mt = sh;
5799
- var Ut = {
5799
+ var Wt = {
5800
5800
  am: "am",
5801
5801
  pm: "pm",
5802
5802
  midnight: "midnight",
@@ -6177,7 +6177,7 @@ var Ut = {
6177
6177
  // AM, PM, midnight, noon
6178
6178
  b: function(t, n, a) {
6179
6179
  var r = t.getUTCHours(), o;
6180
- switch (r === 12 ? o = Ut.noon : r === 0 ? o = Ut.midnight : o = r / 12 >= 1 ? "pm" : "am", n) {
6180
+ switch (r === 12 ? o = Wt.noon : r === 0 ? o = Wt.midnight : o = r / 12 >= 1 ? "pm" : "am", n) {
6181
6181
  case "b":
6182
6182
  case "bb":
6183
6183
  return a.dayPeriod(o, {
@@ -6205,7 +6205,7 @@ var Ut = {
6205
6205
  // in the morning, in the afternoon, in the evening, at night
6206
6206
  B: function(t, n, a) {
6207
6207
  var r = t.getUTCHours(), o;
6208
- switch (r >= 17 ? o = Ut.evening : r >= 12 ? o = Ut.afternoon : r >= 4 ? o = Ut.morning : o = Ut.night, n) {
6208
+ switch (r >= 17 ? o = Wt.evening : r >= 12 ? o = Wt.afternoon : r >= 4 ? o = Wt.morning : o = Wt.night, n) {
6209
6209
  case "B":
6210
6210
  case "BB":
6211
6211
  case "BBB":
@@ -6843,12 +6843,12 @@ var ep = {
6843
6843
  const tp = ep;
6844
6844
  var np = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, ap = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, rp = /^'([^]*?)'?$/, op = /''/g, ip = /[a-zA-Z]/;
6845
6845
  function sp(e, t, n) {
6846
- var a, r, o, i, s, l, c, u, f, d, h, p, v, y, g, m, x, C;
6846
+ var a, r, o, i, s, l, c, u, f, m, h, p, v, y, g, d, x, C;
6847
6847
  he(2, arguments);
6848
- var P = String(t), I = Ja(), T = (a = (r = n == null ? void 0 : n.locale) !== null && r !== void 0 ? r : I.locale) !== null && a !== void 0 ? a : tp, U = Ct((o = (i = (s = (l = n == null ? void 0 : n.firstWeekContainsDate) !== null && l !== void 0 ? l : n == null || (c = n.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && s !== void 0 ? s : I.firstWeekContainsDate) !== null && i !== void 0 ? i : (f = I.locale) === null || f === void 0 || (d = f.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
6848
+ var P = String(t), I = Ja(), T = (a = (r = n == null ? void 0 : n.locale) !== null && r !== void 0 ? r : I.locale) !== null && a !== void 0 ? a : tp, U = Ct((o = (i = (s = (l = n == null ? void 0 : n.firstWeekContainsDate) !== null && l !== void 0 ? l : n == null || (c = n.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && s !== void 0 ? s : I.firstWeekContainsDate) !== null && i !== void 0 ? i : (f = I.locale) === null || f === void 0 || (m = f.options) === null || m === void 0 ? void 0 : m.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
6849
6849
  if (!(U >= 1 && U <= 7))
6850
6850
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
6851
- var W = Ct((h = (p = (v = (y = n == null ? void 0 : n.weekStartsOn) !== null && y !== void 0 ? y : n == null || (g = n.locale) === null || g === void 0 || (m = g.options) === null || m === void 0 ? void 0 : m.weekStartsOn) !== null && v !== void 0 ? v : I.weekStartsOn) !== null && p !== void 0 ? p : (x = I.locale) === null || x === void 0 || (C = x.options) === null || C === void 0 ? void 0 : C.weekStartsOn) !== null && h !== void 0 ? h : 0);
6851
+ var W = Ct((h = (p = (v = (y = n == null ? void 0 : n.weekStartsOn) !== null && y !== void 0 ? y : n == null || (g = n.locale) === null || g === void 0 || (d = g.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && v !== void 0 ? v : I.weekStartsOn) !== null && p !== void 0 ? p : (x = I.locale) === null || x === void 0 || (C = x.options) === null || C === void 0 ? void 0 : C.weekStartsOn) !== null && h !== void 0 ? h : 0);
6852
6852
  if (!(W >= 0 && W <= 6))
6853
6853
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
6854
6854
  if (!T.localize)
@@ -6866,8 +6866,8 @@ function sp(e, t, n) {
6866
6866
  }, oe = P.match(ap).map(function(G) {
6867
6867
  var H = G[0];
6868
6868
  if (H === "p" || H === "P") {
6869
- var J = dh[H];
6870
- return J(G, T.formatLong);
6869
+ var ee = dh[H];
6870
+ return ee(G, T.formatLong);
6871
6871
  }
6872
6872
  return G;
6873
6873
  }).join("").match(np).map(function(G) {
@@ -6876,9 +6876,9 @@ function sp(e, t, n) {
6876
6876
  var H = G[0];
6877
6877
  if (H === "'")
6878
6878
  return lp(G);
6879
- var J = ch[H];
6880
- if (J)
6881
- return !(n != null && n.useAdditionalWeekYearTokens) && ph(G) && Qi(G, t, String(e)), !(n != null && n.useAdditionalDayOfYearTokens) && hh(G) && Qi(G, t, String(e)), J(Te, G, T.localize, ue);
6879
+ var ee = ch[H];
6880
+ if (ee)
6881
+ return !(n != null && n.useAdditionalWeekYearTokens) && ph(G) && Qi(G, t, String(e)), !(n != null && n.useAdditionalDayOfYearTokens) && hh(G) && Qi(G, t, String(e)), ee(Te, G, T.localize, ue);
6882
6882
  if (H.match(ip))
6883
6883
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + H + "`");
6884
6884
  return G;
@@ -7445,27 +7445,27 @@ const dc = {
7445
7445
  showMissingIcons: !0
7446
7446
  };
7447
7447
  On.familyPrefix && (On.cssPrefix = On.familyPrefix);
7448
- const rn = w(w({}, dc), On);
7449
- rn.autoReplaceSvg || (rn.observeMutations = !1);
7448
+ const on = w(w({}, dc), On);
7449
+ on.autoReplaceSvg || (on.observeMutations = !1);
7450
7450
  const A = {};
7451
7451
  Object.keys(dc).forEach((e) => {
7452
7452
  Object.defineProperty(A, e, {
7453
7453
  enumerable: !0,
7454
7454
  set: function(t) {
7455
- rn[e] = t, Pn.forEach((n) => n(A));
7455
+ on[e] = t, Pn.forEach((n) => n(A));
7456
7456
  },
7457
7457
  get: function() {
7458
- return rn[e];
7458
+ return on[e];
7459
7459
  }
7460
7460
  });
7461
7461
  });
7462
7462
  Object.defineProperty(A, "familyPrefix", {
7463
7463
  enumerable: !0,
7464
7464
  set: function(e) {
7465
- rn.cssPrefix = e, Pn.forEach((t) => t(A));
7465
+ on.cssPrefix = e, Pn.forEach((t) => t(A));
7466
7466
  },
7467
7467
  get: function() {
7468
- return rn.cssPrefix;
7468
+ return on.cssPrefix;
7469
7469
  }
7470
7470
  });
7471
7471
  kt.FontAwesomeConfig = A;
@@ -7503,14 +7503,14 @@ function zn() {
7503
7503
  t += hv[Math.random() * 62 | 0];
7504
7504
  return t;
7505
7505
  }
7506
- function un(e) {
7506
+ function fn(e) {
7507
7507
  const t = [];
7508
7508
  for (let n = (e || []).length >>> 0; n--; )
7509
7509
  t[n] = e[n];
7510
7510
  return t;
7511
7511
  }
7512
7512
  function Zo(e) {
7513
- return e.classList ? un(e.classList) : (e.getAttribute("class") || "").split(" ").filter((t) => t);
7513
+ return e.classList ? fn(e.classList) : (e.getAttribute("class") || "").split(" ").filter((t) => t);
7514
7514
  }
7515
7515
  function mc(e) {
7516
7516
  return "".concat(e).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
@@ -8373,9 +8373,9 @@ function Fv(e) {
8373
8373
  styles: o = {},
8374
8374
  config: i = {}
8375
8375
  } = e, s = n === er, l = t.includes("fa-duotone") || t.includes("fad"), c = i.familyDefault === "duotone", u = a.prefix === "fad" || a.prefix === "fa-duotone";
8376
- if (!s && (l || c || u) && (a.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (a.prefix = "fab"), !a.prefix && Mv.includes(n) && (Object.keys(o).find((d) => Lv.includes(d)) || i.autoFetchSvg)) {
8377
- const d = zp.get(n).defaultShortPrefixId;
8378
- a.prefix = d, a.iconName = Lt(a.prefix, a.iconName) || a.iconName;
8376
+ if (!s && (l || c || u) && (a.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (a.prefix = "fab"), !a.prefix && Mv.includes(n) && (Object.keys(o).find((m) => Lv.includes(m)) || i.autoFetchSvg)) {
8377
+ const m = zp.get(n).defaultShortPrefixId;
8378
+ a.prefix = m, a.iconName = Lt(a.prefix, a.iconName) || a.iconName;
8379
8379
  }
8380
8380
  return (a.prefix === "fa" || r === "fa") && (a.prefix = Ot() || "fas"), a;
8381
8381
  }
@@ -8412,14 +8412,14 @@ class Rv {
8412
8412
  }), t;
8413
8413
  }
8414
8414
  }
8415
- let us = [], qt = {};
8416
- const Jt = {}, jv = Object.keys(Jt);
8415
+ let us = [], Xt = {};
8416
+ const en = {}, jv = Object.keys(en);
8417
8417
  function zv(e, t) {
8418
8418
  let {
8419
8419
  mixoutsTo: n
8420
8420
  } = t;
8421
- return us = e, qt = {}, Object.keys(Jt).forEach((a) => {
8422
- jv.indexOf(a) === -1 && delete Jt[a];
8421
+ return us = e, Xt = {}, Object.keys(en).forEach((a) => {
8422
+ jv.indexOf(a) === -1 && delete en[a];
8423
8423
  }), us.forEach((a) => {
8424
8424
  const r = a.mixout ? a.mixout() : {};
8425
8425
  if (Object.keys(r).forEach((o) => {
@@ -8429,29 +8429,29 @@ function zv(e, t) {
8429
8429
  }), a.hooks) {
8430
8430
  const o = a.hooks();
8431
8431
  Object.keys(o).forEach((i) => {
8432
- qt[i] || (qt[i] = []), qt[i].push(o[i]);
8432
+ Xt[i] || (Xt[i] = []), Xt[i].push(o[i]);
8433
8433
  });
8434
8434
  }
8435
- a.provides && a.provides(Jt);
8435
+ a.provides && a.provides(en);
8436
8436
  }), n;
8437
8437
  }
8438
8438
  function mo(e, t) {
8439
8439
  for (var n = arguments.length, a = new Array(n > 2 ? n - 2 : 0), r = 2; r < n; r++)
8440
8440
  a[r - 2] = arguments[r];
8441
- return (qt[e] || []).forEach((i) => {
8441
+ return (Xt[e] || []).forEach((i) => {
8442
8442
  t = i.apply(null, [t, ...a]);
8443
8443
  }), t;
8444
8444
  }
8445
8445
  function zt(e) {
8446
8446
  for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
8447
8447
  n[a - 1] = arguments[a];
8448
- (qt[e] || []).forEach((o) => {
8448
+ (Xt[e] || []).forEach((o) => {
8449
8449
  o.apply(null, n);
8450
8450
  });
8451
8451
  }
8452
8452
  function Pt() {
8453
8453
  const e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
8454
- return Jt[e] ? Jt[e].apply(null, t) : void 0;
8454
+ return en[e] ? en[e].apply(null, t) : void 0;
8455
8455
  }
8456
8456
  function go(e) {
8457
8457
  e.prefix === "fa" && (e.prefix = "fas");
@@ -8612,7 +8612,7 @@ function ni(e) {
8612
8612
  extra: u,
8613
8613
  watchable: f = !1
8614
8614
  } = e, {
8615
- width: d,
8615
+ width: m,
8616
8616
  height: h
8617
8617
  } = n.found ? n : t, p = Yp.includes(a), v = [A.replacementClass, r ? "".concat(A.cssPrefix, "-").concat(r) : ""].filter((P) => u.classes.indexOf(P) === -1).filter((P) => P !== "" || !!P).concat(u.classes).join(" ");
8618
8618
  let y = {
@@ -8623,11 +8623,11 @@ function ni(e) {
8623
8623
  class: v,
8624
8624
  role: u.attributes.role || "img",
8625
8625
  xmlns: "http://www.w3.org/2000/svg",
8626
- viewBox: "0 0 ".concat(d, " ").concat(h)
8626
+ viewBox: "0 0 ".concat(m, " ").concat(h)
8627
8627
  })
8628
8628
  };
8629
8629
  const g = p && !~u.classes.indexOf("fa-fw") ? {
8630
- width: "".concat(d / h * 16 * 0.0625, "em")
8630
+ width: "".concat(m / h * 16 * 0.0625, "em")
8631
8631
  } : {};
8632
8632
  f && (y.attributes[jt] = ""), s && (y.children.push({
8633
8633
  tag: "title",
@@ -8636,7 +8636,7 @@ function ni(e) {
8636
8636
  },
8637
8637
  children: [s]
8638
8638
  }), delete y.attributes.title);
8639
- const m = w(w({}, y), {}, {
8639
+ const d = w(w({}, y), {}, {
8640
8640
  prefix: a,
8641
8641
  iconName: r,
8642
8642
  main: t,
@@ -8648,14 +8648,14 @@ function ni(e) {
8648
8648
  }), {
8649
8649
  children: x,
8650
8650
  attributes: C
8651
- } = n.found && t.found ? Pt("generateAbstractMask", m) || {
8651
+ } = n.found && t.found ? Pt("generateAbstractMask", d) || {
8652
8652
  children: [],
8653
8653
  attributes: {}
8654
- } : Pt("generateAbstractIcon", m) || {
8654
+ } : Pt("generateAbstractIcon", d) || {
8655
8655
  children: [],
8656
8656
  attributes: {}
8657
8657
  };
8658
- return m.children = x, m.attributes = C, i ? $v(m) : Yv(m);
8658
+ return d.children = x, d.attributes = C, i ? $v(d) : Yv(d);
8659
8659
  }
8660
8660
  function fs(e) {
8661
8661
  const {
@@ -8898,7 +8898,7 @@ function hs(e) {
8898
8898
  if (ri)
8899
8899
  return;
8900
8900
  const i = Ot();
8901
- un(o).forEach((s) => {
8901
+ fn(o).forEach((s) => {
8902
8902
  if (s.type === "childList" && s.addedNodes.length > 0 && !ms(s.addedNodes[0]) && (A.searchPseudoElements && a(s.target), t(s.target)), s.type === "attributes" && s.target.parentNode && A.searchPseudoElements && a(s.target.parentNode), s.type === "attributes" && ms(s.target) && ~cv.indexOf(s.attributeName))
8903
8903
  if (s.attributeName === "class" && Kv(s.target)) {
8904
8904
  const {
@@ -8933,7 +8933,7 @@ function r1(e) {
8933
8933
  return r.prefix || (r.prefix = Ot()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = Av(r.prefix, e.innerText) || ti(r.prefix, uo(e.innerText))), !r.iconName && A.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
8934
8934
  }
8935
8935
  function o1(e) {
8936
- const t = un(e.attributes).reduce((r, o) => (r.name !== "class" && r.name !== "style" && (r[o.name] = o.value), r), {}), n = e.getAttribute("title"), a = e.getAttribute("data-fa-title-id");
8936
+ const t = fn(e.attributes).reduce((r, o) => (r.name !== "class" && r.name !== "style" && (r[o.name] = o.value), r), {}), n = e.getAttribute("title"), a = e.getAttribute("data-fa-title-id");
8937
8937
  return A.autoA11y && (n ? t["aria-labelledby"] = "".concat(A.replacementClass, "-title-").concat(a || zn()) : (t["aria-hidden"] = "true", t.focusable = "false")), t;
8938
8938
  }
8939
8939
  function i1() {
@@ -9010,7 +9010,7 @@ function vs(e) {
9010
9010
  return Promise.resolve();
9011
9011
  let s = [];
9012
9012
  try {
9013
- s = un(e.querySelectorAll(i));
9013
+ s = fn(e.querySelectorAll(i));
9014
9014
  } catch {
9015
9015
  }
9016
9016
  if (s.length > 0)
@@ -9019,20 +9019,20 @@ function vs(e) {
9019
9019
  return Promise.resolve();
9020
9020
  const l = ai.begin("onTree"), c = s.reduce((u, f) => {
9021
9021
  try {
9022
- const d = Dc(f);
9023
- d && u.push(d);
9024
- } catch (d) {
9025
- cc || d.name === "MissingIcon" && console.error(d);
9022
+ const m = Dc(f);
9023
+ m && u.push(m);
9024
+ } catch (m) {
9025
+ cc || m.name === "MissingIcon" && console.error(m);
9026
9026
  }
9027
9027
  return u;
9028
9028
  }, []);
9029
9029
  return new Promise((u, f) => {
9030
- Promise.all(c).then((d) => {
9031
- Ac(d, () => {
9030
+ Promise.all(c).then((m) => {
9031
+ Ac(m, () => {
9032
9032
  a("active"), a("complete"), r("pending"), typeof t == "function" && t(), l(), u();
9033
9033
  });
9034
- }).catch((d) => {
9035
- l(), f(d);
9034
+ }).catch((m) => {
9035
+ l(), f(m);
9036
9036
  });
9037
9037
  });
9038
9038
  }
@@ -9071,7 +9071,7 @@ const f1 = function(e) {
9071
9071
  return;
9072
9072
  const {
9073
9073
  prefix: f,
9074
- iconName: d,
9074
+ iconName: m,
9075
9075
  icon: h
9076
9076
  } = e;
9077
9077
  return rr(w({
@@ -9090,7 +9090,7 @@ const f1 = function(e) {
9090
9090
  }
9091
9091
  },
9092
9092
  prefix: f,
9093
- iconName: d,
9093
+ iconName: m,
9094
9094
  transform: w(w({}, He), n),
9095
9095
  symbol: a,
9096
9096
  title: i,
@@ -9136,7 +9136,7 @@ var d1 = {
9136
9136
  maskId: u,
9137
9137
  extra: f
9138
9138
  } = n;
9139
- return new Promise((d, h) => {
9139
+ return new Promise((m, h) => {
9140
9140
  Promise.all([po(a, i), c.iconName ? po(c.iconName, c.prefix) : Promise.resolve({
9141
9141
  found: !1,
9142
9142
  width: 512,
@@ -9144,7 +9144,7 @@ var d1 = {
9144
9144
  icon: {}
9145
9145
  })]).then((p) => {
9146
9146
  let [v, y] = p;
9147
- d([t, ni({
9147
+ m([t, ni({
9148
9148
  icons: {
9149
9149
  main: v,
9150
9150
  mask: y
@@ -9323,23 +9323,23 @@ function ws(e, t) {
9323
9323
  return new Promise((a, r) => {
9324
9324
  if (e.getAttribute(n) !== null)
9325
9325
  return a();
9326
- const i = un(e.children).filter((d) => d.getAttribute(io) === t)[0], s = kt.getComputedStyle(e, t), l = s.getPropertyValue("font-family"), c = l.match(sv), u = s.getPropertyValue("font-weight"), f = s.getPropertyValue("content");
9326
+ const i = fn(e.children).filter((m) => m.getAttribute(io) === t)[0], s = kt.getComputedStyle(e, t), l = s.getPropertyValue("font-family"), c = l.match(sv), u = s.getPropertyValue("font-weight"), f = s.getPropertyValue("content");
9327
9327
  if (i && !c)
9328
9328
  return e.removeChild(i), a();
9329
9329
  if (c && f !== "none" && f !== "") {
9330
- const d = s.getPropertyValue("content");
9330
+ const m = s.getPropertyValue("content");
9331
9331
  let h = b1(l, u);
9332
9332
  const {
9333
9333
  value: p,
9334
9334
  isSecondary: v
9335
- } = y1(d), y = c[0].startsWith("FontAwesome");
9336
- let g = ti(h, p), m = g;
9335
+ } = y1(m), y = c[0].startsWith("FontAwesome");
9336
+ let g = ti(h, p), d = g;
9337
9337
  if (y) {
9338
9338
  const x = Tv(p);
9339
9339
  x.iconName && x.prefix && (g = x.iconName, h = x.prefix);
9340
9340
  }
9341
- if (g && !v && (!i || i.getAttribute(Xo) !== h || i.getAttribute(Ko) !== m)) {
9342
- e.setAttribute(n, m), i && e.removeChild(i);
9341
+ if (g && !v && (!i || i.getAttribute(Xo) !== h || i.getAttribute(Ko) !== d)) {
9342
+ e.setAttribute(n, d), i && e.removeChild(i);
9343
9343
  const x = i1(), {
9344
9344
  extra: C
9345
9345
  } = x;
@@ -9350,7 +9350,7 @@ function ws(e, t) {
9350
9350
  mask: kc()
9351
9351
  },
9352
9352
  prefix: h,
9353
- iconName: m,
9353
+ iconName: d,
9354
9354
  extra: C,
9355
9355
  watchable: !0
9356
9356
  })), T = X.createElementNS("http://www.w3.org/2000/svg", "svg");
@@ -9372,7 +9372,7 @@ function x1(e) {
9372
9372
  function xs(e) {
9373
9373
  if (ut)
9374
9374
  return new Promise((t, n) => {
9375
- const a = un(e.querySelectorAll("*")).filter(x1).map(w1), r = ai.begin("searchPseudoElements");
9375
+ const a = fn(e.querySelectorAll("*")).filter(x1).map(w1), r = ai.begin("searchPseudoElements");
9376
9376
  Tc(), Promise.all(a).then(() => {
9377
9377
  r(), yo(), t();
9378
9378
  }).catch(() => {
@@ -9501,21 +9501,21 @@ var C1 = {
9501
9501
  transform: "".concat(s, " ").concat(l, " ").concat(c)
9502
9502
  }, f = {
9503
9503
  transform: "translate(".concat(o / 2 * -1, " -256)")
9504
- }, d = {
9504
+ }, m = {
9505
9505
  outer: i,
9506
9506
  inner: u,
9507
9507
  path: f
9508
9508
  };
9509
9509
  return {
9510
9510
  tag: "g",
9511
- attributes: w({}, d.outer),
9511
+ attributes: w({}, m.outer),
9512
9512
  children: [{
9513
9513
  tag: "g",
9514
- attributes: w({}, d.inner),
9514
+ attributes: w({}, m.inner),
9515
9515
  children: [{
9516
9516
  tag: n.icon.tag,
9517
9517
  children: n.icon.children,
9518
- attributes: w(w({}, n.icon.attributes), d.path)
9518
+ attributes: w(w({}, n.icon.attributes), m.path)
9519
9519
  }]
9520
9520
  }]
9521
9521
  };
@@ -9560,7 +9560,7 @@ var O1 = {
9560
9560
  } = r, {
9561
9561
  width: u,
9562
9562
  icon: f
9563
- } = o, d = vv({
9563
+ } = o, m = vv({
9564
9564
  transform: s,
9565
9565
  containerWidth: u,
9566
9566
  iconWidth: l
@@ -9573,16 +9573,16 @@ var O1 = {
9573
9573
  children: c.children.map(Cs)
9574
9574
  } : {}, v = {
9575
9575
  tag: "g",
9576
- attributes: w({}, d.inner),
9576
+ attributes: w({}, m.inner),
9577
9577
  children: [Cs(w({
9578
9578
  tag: c.tag,
9579
- attributes: w(w({}, c.attributes), d.path)
9579
+ attributes: w(w({}, c.attributes), m.path)
9580
9580
  }, p))]
9581
9581
  }, y = {
9582
9582
  tag: "g",
9583
- attributes: w({}, d.outer),
9583
+ attributes: w({}, m.outer),
9584
9584
  children: [v]
9585
- }, g = "mask-".concat(i || zn()), m = "clip-".concat(i || zn()), x = {
9585
+ }, g = "mask-".concat(i || zn()), d = "clip-".concat(i || zn()), x = {
9586
9586
  tag: "mask",
9587
9587
  attributes: w(w({}, wr), {}, {
9588
9588
  id: g,
@@ -9595,7 +9595,7 @@ var O1 = {
9595
9595
  children: [{
9596
9596
  tag: "clipPath",
9597
9597
  attributes: {
9598
- id: m
9598
+ id: d
9599
9599
  },
9600
9600
  children: k1(f)
9601
9601
  }, x]
@@ -9604,7 +9604,7 @@ var O1 = {
9604
9604
  tag: "rect",
9605
9605
  attributes: w({
9606
9606
  fill: "currentColor",
9607
- "clip-path": "url(#".concat(m, ")"),
9607
+ "clip-path": "url(#".concat(d, ")"),
9608
9608
  mask: "url(#".concat(g, ")")
9609
9609
  }, wr)
9610
9610
  }), {
@@ -9819,32 +9819,32 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9819
9819
  var B1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Mc = { exports: {} };
9820
9820
  (function(e) {
9821
9821
  (function(t) {
9822
- var n = function(g, m, x) {
9823
- if (!c(m) || f(m) || d(m) || h(m) || l(m))
9824
- return m;
9822
+ var n = function(g, d, x) {
9823
+ if (!c(d) || f(d) || m(d) || h(d) || l(d))
9824
+ return d;
9825
9825
  var C, P = 0, I = 0;
9826
- if (u(m))
9827
- for (C = [], I = m.length; P < I; P++)
9828
- C.push(n(g, m[P], x));
9826
+ if (u(d))
9827
+ for (C = [], I = d.length; P < I; P++)
9828
+ C.push(n(g, d[P], x));
9829
9829
  else {
9830
9830
  C = {};
9831
- for (var T in m)
9832
- Object.prototype.hasOwnProperty.call(m, T) && (C[g(T, x)] = n(g, m[T], x));
9831
+ for (var T in d)
9832
+ Object.prototype.hasOwnProperty.call(d, T) && (C[g(T, x)] = n(g, d[T], x));
9833
9833
  }
9834
9834
  return C;
9835
- }, a = function(g, m) {
9836
- m = m || {};
9837
- var x = m.separator || "_", C = m.split || /(?=[A-Z])/;
9835
+ }, a = function(g, d) {
9836
+ d = d || {};
9837
+ var x = d.separator || "_", C = d.split || /(?=[A-Z])/;
9838
9838
  return g.split(C).join(x);
9839
9839
  }, r = function(g) {
9840
- return p(g) ? g : (g = g.replace(/[\-_\s]+(.)?/g, function(m, x) {
9840
+ return p(g) ? g : (g = g.replace(/[\-_\s]+(.)?/g, function(d, x) {
9841
9841
  return x ? x.toUpperCase() : "";
9842
9842
  }), g.substr(0, 1).toLowerCase() + g.substr(1));
9843
9843
  }, o = function(g) {
9844
- var m = r(g);
9845
- return m.substr(0, 1).toUpperCase() + m.substr(1);
9846
- }, i = function(g, m) {
9847
- return a(g, m).toLowerCase();
9844
+ var d = r(g);
9845
+ return d.substr(0, 1).toUpperCase() + d.substr(1);
9846
+ }, i = function(g, d) {
9847
+ return a(g, d).toLowerCase();
9848
9848
  }, s = Object.prototype.toString, l = function(g) {
9849
9849
  return typeof g == "function";
9850
9850
  }, c = function(g) {
@@ -9853,14 +9853,14 @@ var B1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
9853
9853
  return s.call(g) == "[object Array]";
9854
9854
  }, f = function(g) {
9855
9855
  return s.call(g) == "[object Date]";
9856
- }, d = function(g) {
9856
+ }, m = function(g) {
9857
9857
  return s.call(g) == "[object RegExp]";
9858
9858
  }, h = function(g) {
9859
9859
  return s.call(g) == "[object Boolean]";
9860
9860
  }, p = function(g) {
9861
9861
  return g = g - 0, g === g;
9862
- }, v = function(g, m) {
9863
- var x = m && "process" in m ? m.process : m;
9862
+ }, v = function(g, d) {
9863
+ var x = d && "process" in d ? d.process : d;
9864
9864
  return typeof x != "function" ? g : function(C, P) {
9865
9865
  return x(C, g, P);
9866
9866
  };
@@ -9869,14 +9869,14 @@ var B1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
9869
9869
  decamelize: i,
9870
9870
  pascalize: o,
9871
9871
  depascalize: i,
9872
- camelizeKeys: function(g, m) {
9873
- return n(v(r, m), g);
9872
+ camelizeKeys: function(g, d) {
9873
+ return n(v(r, d), g);
9874
9874
  },
9875
- decamelizeKeys: function(g, m) {
9876
- return n(v(i, m), g, m);
9875
+ decamelizeKeys: function(g, d) {
9876
+ return n(v(i, d), g, d);
9877
9877
  },
9878
- pascalizeKeys: function(g, m) {
9879
- return n(v(o, m), g);
9878
+ pascalizeKeys: function(g, d) {
9879
+ return n(v(o, d), g);
9880
9880
  },
9881
9881
  depascalizeKeys: function() {
9882
9882
  return this.decamelizeKeys.apply(this, arguments);
@@ -9984,7 +9984,7 @@ function Os(e) {
9984
9984
  iconName: e
9985
9985
  };
9986
9986
  }
9987
- var fn = Ue({
9987
+ var Vt = Ue({
9988
9988
  name: "FontAwesomeIcon",
9989
9989
  props: {
9990
9990
  border: {
@@ -10195,7 +10195,7 @@ Ue({
10195
10195
  });
10196
10196
  const H1 = {
10197
10197
  name: "ViGridKebabMenu",
10198
- components: { FontAwesomeIcon: fn },
10198
+ components: { FontAwesomeIcon: Vt },
10199
10199
  props: {
10200
10200
  actions: {
10201
10201
  type: Array
@@ -10229,7 +10229,7 @@ const H1 = {
10229
10229
  class: "actions-menu"
10230
10230
  }, X1 = ["onClick"];
10231
10231
  function K1(e, t, n, a, r, o) {
10232
- const i = ne("font-awesome-icon");
10232
+ const i = J("font-awesome-icon");
10233
10233
  return _(), O("div", {
10234
10234
  class: "vi-grid-kebab-menu",
10235
10235
  ref: "kebabMenu",
@@ -10257,9 +10257,9 @@ const Z1 = {
10257
10257
  }
10258
10258
  }, J1 = { class: "vi-grid-builder-actions" };
10259
10259
  function e0(e, t, n, a, r, o) {
10260
- const i = ne("vi-button");
10260
+ const i = J("vi-button");
10261
10261
  return _(), O("div", J1, [
10262
- (_(!0), O(Re, null, vt(n.actions, (s, l) => (_(), ee(i, {
10262
+ (_(!0), O(Re, null, vt(n.actions, (s, l) => (_(), te(i, {
10263
10263
  key: l,
10264
10264
  label: s.name,
10265
10265
  mode: s.mode,
@@ -10320,9 +10320,9 @@ const a0 = {
10320
10320
  ref: "gridActions"
10321
10321
  };
10322
10322
  function o0(e, t, n, a, r, o) {
10323
- const i = ne("vi-grid-kebab-menu"), s = ne("vi-grid-simple-actions");
10323
+ const i = J("vi-grid-kebab-menu"), s = J("vi-grid-simple-actions");
10324
10324
  return _(), O("div", r0, [
10325
- n.kebab ? (_(), ee(i, {
10325
+ n.kebab ? (_(), te(i, {
10326
10326
  key: 0,
10327
10327
  actions: a.visibleActions,
10328
10328
  "row-key": n.rowKey,
@@ -10330,7 +10330,7 @@ function o0(e, t, n, a, r, o) {
10330
10330
  "show-menu": n.row[n.rowKey] === n.rowMenuOpened,
10331
10331
  onActionClicked: a.onActionClicked,
10332
10332
  onToggleMenu: t[0] || (t[0] = (l) => a.toggleRowMenu(n.row))
10333
- }, null, 8, ["actions", "row-key", "row", "show-menu", "onActionClicked"])) : (_(), ee(s, {
10333
+ }, null, 8, ["actions", "row-key", "row", "show-menu", "onActionClicked"])) : (_(), te(s, {
10334
10334
  key: 1,
10335
10335
  actions: a.visibleActions,
10336
10336
  "row-key": n.rowKey,
@@ -10363,7 +10363,7 @@ const s0 = {
10363
10363
  }
10364
10364
  }, l0 = { class: "vi-grid-link" }, c0 = ["href"], u0 = { key: 1 };
10365
10365
  function f0(e, t, n, a, r, o) {
10366
- const i = ne("vi-tooltip");
10366
+ const i = J("vi-tooltip");
10367
10367
  return _(), O("div", l0, [
10368
10368
  R(i, {
10369
10369
  text: n.value,
@@ -10442,7 +10442,7 @@ const v0 = {
10442
10442
  }, y0 = { class: "vi-grid-field" };
10443
10443
  function b0(e, t, n, a, r, o) {
10444
10444
  return _(), O("div", y0, [
10445
- (_(), ee(ia(o.fieldComponent), Pe({
10445
+ (_(), te(ia(o.fieldComponent), Pe({
10446
10446
  ...n.field,
10447
10447
  ...e.$attrs
10448
10448
  }, {
@@ -10573,7 +10573,7 @@ function T0(e) {
10573
10573
  } : {
10574
10574
  sortBy: r.value,
10575
10575
  descending: n.value === "descending"
10576
- }, l = (p, v, y) => y === "ascending" ? p.sort((g, m) => Number(g[v]) - Number(m[v])) : y === "descending" ? p.sort((g, m) => Number(m[v]) - Number(g[v])) : p, c = (p, v, y) => y === "ascending" ? p.sort((g, m) => g[v].toString().localeCompare(m[v].toString())) : y === "descending" ? p.sort((g, m) => m[v].toString().localeCompare(g[v].toString())) : p, u = function(p, v, y, g) {
10576
+ }, l = (p, v, y) => y === "ascending" ? p.sort((g, d) => Number(g[v]) - Number(d[v])) : y === "descending" ? p.sort((g, d) => Number(d[v]) - Number(g[v])) : p, c = (p, v, y) => y === "ascending" ? p.sort((g, d) => g[v].toString().localeCompare(d[v].toString())) : y === "descending" ? p.sort((g, d) => d[v].toString().localeCompare(g[v].toString())) : p, u = function(p, v, y, g) {
10577
10577
  return g ? y === "number" ? l(p, v, g) : c(p, v, g) : p;
10578
10578
  }, f = (p) => {
10579
10579
  t.value = Array.isArray(p.sortBy);
@@ -10581,13 +10581,13 @@ function T0(e) {
10581
10581
  if (!v)
10582
10582
  r.value = null, a.value = null, n.value = null;
10583
10583
  else {
10584
- let g = e.columns.find((m) => m.name === v);
10584
+ let g = e.columns.find((d) => d.name === v);
10585
10585
  g ? i(g.name, g.type, y ? "descending" : "ascending") : i(v, "text", y ? "descending" : "ascending");
10586
10586
  }
10587
- }, d = (p) => r.value !== p.name ? "unsorted" : n.value, h = k(() => e.serverMode ? e.rows ?? [] : u([...e.rows ?? []], r.value, a.value, n.value));
10587
+ }, m = (p) => r.value !== p.name ? "unsorted" : n.value, h = k(() => e.serverMode ? e.rows ?? [] : u([...e.rows ?? []], r.value, a.value, n.value));
10588
10588
  return {
10589
10589
  setSortFieldsFromPagination: f,
10590
- getSortableState: d,
10590
+ getSortableState: m,
10591
10591
  setSortFields: i,
10592
10592
  formatSortFields: s,
10593
10593
  clientSort: u,
@@ -10626,7 +10626,7 @@ function D0(e, t, n) {
10626
10626
  };
10627
10627
  }
10628
10628
  const N0 = {
10629
- components: { FontAwesomeIcon: fn },
10629
+ components: { FontAwesomeIcon: Vt },
10630
10630
  props: {
10631
10631
  align: {
10632
10632
  type: String,
@@ -10645,7 +10645,7 @@ function M0(e, t, n, a, r, o) {
10645
10645
  L("div", {
10646
10646
  class: Ne(["vi-header-cell-content", n.align])
10647
10647
  }, [
10648
- te(e.$slots, "default")
10648
+ ne(e.$slots, "default")
10649
10649
  ], 2)
10650
10650
  ], 8, I0);
10651
10651
  }
@@ -10678,7 +10678,7 @@ function L0(e, t, n) {
10678
10678
  };
10679
10679
  }
10680
10680
  const F0 = {
10681
- components: { ViGridHeadCell: Fc, FontAwesomeIcon: fn, ViTooltip: Xa },
10681
+ components: { ViGridHeadCell: Fc, FontAwesomeIcon: Vt, ViTooltip: Xa },
10682
10682
  inject: ["ViGridTooltipSettings"],
10683
10683
  props: {
10684
10684
  column: {
@@ -10703,13 +10703,13 @@ const F0 = {
10703
10703
  class: "sort-button"
10704
10704
  };
10705
10705
  function j0(e, t, n, a, r, o) {
10706
- const i = ne("vi-tooltip"), s = ne("font-awesome-icon"), l = ne("vi-grid-head-cell");
10707
- return _(), ee(l, {
10706
+ const i = J("vi-tooltip"), s = J("font-awesome-icon"), l = J("vi-grid-head-cell");
10707
+ return _(), te(l, {
10708
10708
  class: Ne([n.sortableState, "vi-grid-header-column-cell"]),
10709
10709
  align: n.column.align ?? n.align
10710
10710
  }, {
10711
10711
  default: It(() => [
10712
- te(e.$slots, "default", {}, () => [
10712
+ ne(e.$slots, "default", {}, () => [
10713
10713
  R(i, {
10714
10714
  text: n.column.label,
10715
10715
  truncate: o.truncateLimit,
@@ -10720,11 +10720,11 @@ function j0(e, t, n, a, r, o) {
10720
10720
  }, null, 8, ["text", "truncate", "color", "custom-color", "text-custom-color"])
10721
10721
  ], !0),
10722
10722
  n.column.sortable ? (_(), O("div", R0, [
10723
- n.sortableState === "descending" ? (_(), ee(s, {
10723
+ n.sortableState === "descending" ? (_(), te(s, {
10724
10724
  key: 0,
10725
10725
  icon: ["fas", "chevron-down"],
10726
10726
  onClick: t[0] || (t[0] = (c) => e.$emit("sort", n.column))
10727
- })) : (_(), ee(s, {
10727
+ })) : (_(), te(s, {
10728
10728
  key: 1,
10729
10729
  icon: ["fas", "chevron-up"],
10730
10730
  onClick: t[1] || (t[1] = (c) => e.$emit("sort", n.column))
@@ -10898,7 +10898,7 @@ function D(e, t, n) {
10898
10898
  !(t in a) && t.indexOf("webkit") === -1 && (t = "-webkit-" + t), a[t] = n + (typeof n == "string" ? "" : "px");
10899
10899
  }
10900
10900
  }
10901
- function en(e, t) {
10901
+ function tn(e, t) {
10902
10902
  var n = "";
10903
10903
  if (typeof e == "string")
10904
10904
  n = e;
@@ -10930,13 +10930,13 @@ function ie(e, t, n, a, r) {
10930
10930
  if (e !== window && e.parentNode && e !== Qe() ? (o = e.getBoundingClientRect(), i = o.top, s = o.left, l = o.bottom, c = o.right, u = o.height, f = o.width) : (i = 0, s = 0, l = window.innerHeight, c = window.innerWidth, u = window.innerHeight, f = window.innerWidth), (t || n) && e !== window && (r = r || e.parentNode, !ft))
10931
10931
  do
10932
10932
  if (r && r.getBoundingClientRect && (D(r, "transform") !== "none" || n && D(r, "position") !== "static")) {
10933
- var d = r.getBoundingClientRect();
10934
- i -= d.top + parseInt(D(r, "border-top-width")), s -= d.left + parseInt(D(r, "border-left-width")), l = i + o.height, c = s + o.width;
10933
+ var m = r.getBoundingClientRect();
10934
+ i -= m.top + parseInt(D(r, "border-top-width")), s -= m.left + parseInt(D(r, "border-left-width")), l = i + o.height, c = s + o.width;
10935
10935
  break;
10936
10936
  }
10937
10937
  while (r = r.parentNode);
10938
10938
  if (a && e !== window) {
10939
- var h = en(r || e), p = h && h.a, v = h && h.d;
10939
+ var h = tn(r || e), p = h && h.a, v = h && h.d;
10940
10940
  h && (i /= v, s /= p, f /= p, u /= v, l = i + u, c = s + f);
10941
10941
  }
10942
10942
  return {
@@ -10960,7 +10960,7 @@ function Ts(e, t, n) {
10960
10960
  }
10961
10961
  return !1;
10962
10962
  }
10963
- function on(e, t, n, a) {
10963
+ function sn(e, t, n, a) {
10964
10964
  for (var r = 0, o = 0, i = e.children; o < i.length; ) {
10965
10965
  if (i[o].style.display !== "none" && i[o] !== N.ghost && (a || i[o] !== N.dragged) && We(i[o], n.draggable, e, !1)) {
10966
10966
  if (r === t)
@@ -10988,7 +10988,7 @@ function Ds(e) {
10988
10988
  var t = 0, n = 0, a = Qe();
10989
10989
  if (e)
10990
10990
  do {
10991
- var r = en(e), o = r.a, i = r.d;
10991
+ var r = tn(e), o = r.a, i = r.d;
10992
10992
  t += e.scrollLeft * o, n += e.scrollTop * i;
10993
10993
  } while (e !== a && (e = e.parentNode));
10994
10994
  return [t, n];
@@ -11065,7 +11065,7 @@ function K0() {
11065
11065
  });
11066
11066
  var o = et({}, e[e.length - 1].rect);
11067
11067
  if (r.thisAnimationDuration) {
11068
- var i = en(r, !0);
11068
+ var i = tn(r, !0);
11069
11069
  i && (o.top -= i.f, o.left -= i.e);
11070
11070
  }
11071
11071
  r.fromRect = o;
@@ -11089,9 +11089,9 @@ function K0() {
11089
11089
  }
11090
11090
  var o = !1, i = 0;
11091
11091
  e.forEach(function(s) {
11092
- var l = 0, c = s.target, u = c.fromRect, f = ie(c), d = c.prevFromRect, h = c.prevToRect, p = s.rect, v = en(c, !0);
11093
- v && (f.top -= v.f, f.left -= v.e), c.toRect = f, c.thisAnimationDuration && xr(d, f) && !xr(u, f) && // Make sure animatingRect is on line between toRect & fromRect
11094
- (p.top - f.top) / (p.left - f.left) === (u.top - f.top) / (u.left - f.left) && (l = Z0(p, d, h, r.options)), xr(f, u) || (c.prevFromRect = u, c.prevToRect = f, l || (l = r.options.animation), r.animate(c, p, f, l)), l && (o = !0, i = Math.max(i, l), clearTimeout(c.animationResetTimer), c.animationResetTimer = setTimeout(function() {
11092
+ var l = 0, c = s.target, u = c.fromRect, f = ie(c), m = c.prevFromRect, h = c.prevToRect, p = s.rect, v = tn(c, !0);
11093
+ v && (f.top -= v.f, f.left -= v.e), c.toRect = f, c.thisAnimationDuration && xr(m, f) && !xr(u, f) && // Make sure animatingRect is on line between toRect & fromRect
11094
+ (p.top - f.top) / (p.left - f.left) === (u.top - f.top) / (u.left - f.left) && (l = Z0(p, m, h, r.options)), xr(f, u) || (c.prevFromRect = u, c.prevToRect = f, l || (l = r.options.animation), r.animate(c, p, f, l)), l && (o = !0, i = Math.max(i, l), clearTimeout(c.animationResetTimer), c.animationResetTimer = setTimeout(function() {
11095
11095
  c.animationTime = 0, c.prevFromRect = null, c.fromRect = null, c.prevToRect = null, c.thisAnimationDuration = null;
11096
11096
  }, l), c.thisAnimationDuration = l);
11097
11097
  }), clearTimeout(t), o ? t = setTimeout(function() {
@@ -11101,7 +11101,7 @@ function K0() {
11101
11101
  animate: function(a, r, o, i) {
11102
11102
  if (i) {
11103
11103
  D(a, "transition", ""), D(a, "transform", "");
11104
- var s = en(this.el), l = s && s.a, c = s && s.d, u = (r.left - o.left) / (l || 1), f = (r.top - o.top) / (c || 1);
11104
+ var s = tn(this.el), l = s && s.a, c = s && s.d, u = (r.left - o.left) / (l || 1), f = (r.top - o.top) / (c || 1);
11105
11105
  a.animatingX = !!u, a.animatingY = !!f, D(a, "transform", "translate3d(" + u + "px," + f + "px,0)"), this.forRepaintDummy = Q0(a), D(a, "transition", "transform " + i + "ms" + (this.options.easing ? " " + this.options.easing : "")), D(a, "transform", "translate3d(0,0,0)"), typeof a.animated == "number" && clearTimeout(a.animated), a.animated = setTimeout(function() {
11106
11106
  D(a, "transition", ""), D(a, "transform", ""), a.animated = !1, a.animatingX = !1, a.animatingY = !1;
11107
11107
  }, i);
@@ -11115,16 +11115,16 @@ function Q0(e) {
11115
11115
  function Z0(e, t, n, a) {
11116
11116
  return Math.sqrt(Math.pow(t.top - e.top, 2) + Math.pow(t.left - e.left, 2)) / Math.sqrt(Math.pow(t.top - n.top, 2) + Math.pow(t.left - n.left, 2)) * a.animation;
11117
11117
  }
11118
- var Wt = [], Sr = {
11118
+ var Yt = [], Sr = {
11119
11119
  initializeByDefault: !0
11120
11120
  }, Xn = {
11121
11121
  mount: function(t) {
11122
11122
  for (var n in Sr)
11123
11123
  Sr.hasOwnProperty(n) && !(n in t) && (t[n] = Sr[n]);
11124
- Wt.forEach(function(a) {
11124
+ Yt.forEach(function(a) {
11125
11125
  if (a.pluginName === t.pluginName)
11126
11126
  throw "Sortable: Cannot mount plugin ".concat(t.pluginName, " more than once");
11127
- }), Wt.push(t);
11127
+ }), Yt.push(t);
11128
11128
  },
11129
11129
  pluginEvent: function(t, n, a) {
11130
11130
  var r = this;
@@ -11132,7 +11132,7 @@ var Wt = [], Sr = {
11132
11132
  r.eventCanceled = !0;
11133
11133
  };
11134
11134
  var o = t + "Global";
11135
- Wt.forEach(function(i) {
11135
+ Yt.forEach(function(i) {
11136
11136
  n[i.pluginName] && (n[i.pluginName][o] && n[i.pluginName][o](et({
11137
11137
  sortable: n
11138
11138
  }, a)), n.options[i.pluginName] && n[i.pluginName][t] && n[i.pluginName][t](et({
@@ -11141,7 +11141,7 @@ var Wt = [], Sr = {
11141
11141
  });
11142
11142
  },
11143
11143
  initializePlugins: function(t, n, a, r) {
11144
- Wt.forEach(function(s) {
11144
+ Yt.forEach(function(s) {
11145
11145
  var l = s.pluginName;
11146
11146
  if (!(!t.options[l] && !s.initializeByDefault)) {
11147
11147
  var c = new s(t, n, t.options);
@@ -11156,28 +11156,28 @@ var Wt = [], Sr = {
11156
11156
  },
11157
11157
  getEventProperties: function(t, n) {
11158
11158
  var a = {};
11159
- return Wt.forEach(function(r) {
11159
+ return Yt.forEach(function(r) {
11160
11160
  typeof r.eventProperties == "function" && st(a, r.eventProperties.call(n[r.pluginName], t));
11161
11161
  }), a;
11162
11162
  },
11163
11163
  modifyOption: function(t, n, a) {
11164
11164
  var r;
11165
- return Wt.forEach(function(o) {
11165
+ return Yt.forEach(function(o) {
11166
11166
  t[o.pluginName] && o.optionListeners && typeof o.optionListeners[n] == "function" && (r = o.optionListeners[n].call(t[o.pluginName], a));
11167
11167
  }), r;
11168
11168
  }
11169
11169
  };
11170
11170
  function J0(e) {
11171
- var t = e.sortable, n = e.rootEl, a = e.name, r = e.targetEl, o = e.cloneEl, i = e.toEl, s = e.fromEl, l = e.oldIndex, c = e.newIndex, u = e.oldDraggableIndex, f = e.newDraggableIndex, d = e.originalEvent, h = e.putSortable, p = e.extraEventProperties;
11171
+ var t = e.sortable, n = e.rootEl, a = e.name, r = e.targetEl, o = e.cloneEl, i = e.toEl, s = e.fromEl, l = e.oldIndex, c = e.newIndex, u = e.oldDraggableIndex, f = e.newDraggableIndex, m = e.originalEvent, h = e.putSortable, p = e.extraEventProperties;
11172
11172
  if (t = t || n && n[ke], !!t) {
11173
11173
  var v, y = t.options, g = "on" + a.charAt(0).toUpperCase() + a.substr(1);
11174
11174
  window.CustomEvent && !ft && !qn ? v = new CustomEvent(a, {
11175
11175
  bubbles: !0,
11176
11176
  cancelable: !0
11177
- }) : (v = document.createEvent("Event"), v.initEvent(a, !0, !0)), v.to = i || n, v.from = s || n, v.item = r || n, v.clone = o, v.oldIndex = l, v.newIndex = c, v.oldDraggableIndex = u, v.newDraggableIndex = f, v.originalEvent = d, v.pullMode = h ? h.lastPutMode : void 0;
11178
- var m = et(et({}, p), Xn.getEventProperties(a, t));
11179
- for (var x in m)
11180
- v[x] = m[x];
11177
+ }) : (v = document.createEvent("Event"), v.initEvent(a, !0, !0)), v.to = i || n, v.from = s || n, v.item = r || n, v.clone = o, v.oldIndex = l, v.newIndex = c, v.oldDraggableIndex = u, v.newDraggableIndex = f, v.originalEvent = m, v.pullMode = h ? h.lastPutMode : void 0;
11178
+ var d = et(et({}, p), Xn.getEventProperties(a, t));
11179
+ for (var x in d)
11180
+ v[x] = d[x];
11181
11181
  n && n.dispatchEvent(v), y[g] && y[g].call(t, v);
11182
11182
  }
11183
11183
  }
@@ -11196,7 +11196,7 @@ var ey = ["evt"], we = function(t, n) {
11196
11196
  putSortable: se,
11197
11197
  activeSortable: N.active,
11198
11198
  originalEvent: r,
11199
- oldIndex: Xt,
11199
+ oldIndex: Kt,
11200
11200
  oldDraggableIndex: Dn,
11201
11201
  newIndex: Ce,
11202
11202
  newDraggableIndex: ht,
@@ -11223,13 +11223,13 @@ function ve(e) {
11223
11223
  cloneEl: Z,
11224
11224
  targetEl: S,
11225
11225
  rootEl: K,
11226
- oldIndex: Xt,
11226
+ oldIndex: Kt,
11227
11227
  oldDraggableIndex: Dn,
11228
11228
  newIndex: Ce,
11229
11229
  newDraggableIndex: ht
11230
11230
  }, e));
11231
11231
  }
11232
- var S, Q, M, K, Nt, ha, Z, pt, Xt, Ce, Dn, ht, ta, se, $t = !1, La = !1, Fa = [], At, Le, _r, Cr, Ns, Is, yn, Yt, Nn, In = !1, na = !1, pa, de, kr = [], So = !1, Ra = [], or = typeof document < "u", aa = Rc, Ms = qn || ft ? "cssFloat" : "float", ty = or && !$0 && !Rc && "draggable" in document.createElement("div"), Wc = function() {
11232
+ var S, Q, M, K, Nt, ha, Z, pt, Kt, Ce, Dn, ht, ta, se, Gt = !1, La = !1, Fa = [], At, Le, _r, Cr, Ns, Is, yn, $t, Nn, In = !1, na = !1, pa, de, kr = [], So = !1, Ra = [], or = typeof document < "u", aa = Rc, Ms = qn || ft ? "cssFloat" : "float", ty = or && !$0 && !Rc && "draggable" in document.createElement("div"), Wc = function() {
11233
11233
  if (or) {
11234
11234
  if (ft)
11235
11235
  return !1;
@@ -11237,7 +11237,7 @@ var S, Q, M, K, Nt, ha, Z, pt, Xt, Ce, Dn, ht, ta, se, $t = !1, La = !1, Fa = []
11237
11237
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
11238
11238
  }
11239
11239
  }(), Yc = function(t, n) {
11240
- var a = D(t), r = parseInt(a.width) - parseInt(a.paddingLeft) - parseInt(a.paddingRight) - parseInt(a.borderLeftWidth) - parseInt(a.borderRightWidth), o = on(t, 0, n), i = on(t, 1, n), s = o && D(o), l = i && D(i), c = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + ie(o).width, u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + ie(i).width;
11240
+ var a = D(t), r = parseInt(a.width) - parseInt(a.paddingLeft) - parseInt(a.paddingRight) - parseInt(a.borderLeftWidth) - parseInt(a.borderRightWidth), o = sn(t, 0, n), i = sn(t, 1, n), s = o && D(o), l = i && D(i), c = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + ie(o).width, u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + ie(i).width;
11241
11241
  if (a.display === "flex")
11242
11242
  return a.flexDirection === "column" || a.flexDirection === "column-reverse" ? "vertical" : "horizontal";
11243
11243
  if (a.display === "grid")
@@ -11272,8 +11272,8 @@ var S, Q, M, K, Nt, ha, Z, pt, Xt, Ce, Dn, ht, ta, se, $t = !1, La = !1, Fa = []
11272
11272
  return o;
11273
11273
  if (typeof o == "function")
11274
11274
  return n(o(s, l, c, u), i)(s, l, c, u);
11275
- var d = (i ? s : l).options.group.name;
11276
- return o === !0 || typeof o == "string" && o === d || o.join && o.indexOf(d) > -1;
11275
+ var m = (i ? s : l).options.group.name;
11276
+ return o === !0 || typeof o == "string" && o === m || o.join && o.indexOf(m) > -1;
11277
11277
  };
11278
11278
  }
11279
11279
  var a = {}, r = t.group;
@@ -11364,7 +11364,7 @@ N.prototype = /** @lends Sortable.prototype */
11364
11364
  {
11365
11365
  constructor: N,
11366
11366
  _isOutsideThisEl: function(t) {
11367
- !this.el.contains(t) && t !== this.el && (Yt = null);
11367
+ !this.el.contains(t) && t !== this.el && ($t = null);
11368
11368
  },
11369
11369
  _getDirection: function(t, n) {
11370
11370
  return typeof this.options.direction == "function" ? this.options.direction.call(this, t, n, S) : this.options.direction;
@@ -11373,7 +11373,7 @@ N.prototype = /** @lends Sortable.prototype */
11373
11373
  if (t.cancelable) {
11374
11374
  var n = this, a = this.el, r = this.options, o = r.preventOnFilter, i = t.type, s = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, l = (s || t).target, c = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || l, u = r.filter;
11375
11375
  if (dy(a), !S && !(/mousedown|pointerdown/.test(i) && t.button !== 0 || r.disabled) && !c.isContentEditable && !(!this.nativeDraggable && An && l && l.tagName.toUpperCase() === "SELECT") && (l = We(l, r.draggable, a, !1), !(l && l.animated) && ha !== l)) {
11376
- if (Xt = De(l), Dn = De(l, r.draggable), typeof u == "function") {
11376
+ if (Kt = De(l), Dn = De(l, r.draggable), typeof u == "function") {
11377
11377
  if (u.call(this, t, l, this)) {
11378
11378
  ve({
11379
11379
  sortable: n,
@@ -11462,7 +11462,7 @@ N.prototype = /** @lends Sortable.prototype */
11462
11462
  }
11463
11463
  },
11464
11464
  _dragStarted: function(t, n) {
11465
- if ($t = !1, K && S) {
11465
+ if (Gt = !1, K && S) {
11466
11466
  we("dragStarted", this, {
11467
11467
  evt: n
11468
11468
  }), this.nativeDraggable && j(document, "dragover", ry);
@@ -11499,8 +11499,8 @@ N.prototype = /** @lends Sortable.prototype */
11499
11499
  },
11500
11500
  _onTouchMove: function(t) {
11501
11501
  if (At) {
11502
- var n = this.options, a = n.fallbackTolerance, r = n.fallbackOffset, o = t.touches ? t.touches[0] : t, i = M && en(M, !0), s = M && i && i.a, l = M && i && i.d, c = aa && de && Ds(de), u = (o.clientX - At.clientX + r.x) / (s || 1) + (c ? c[0] - kr[0] : 0) / (s || 1), f = (o.clientY - At.clientY + r.y) / (l || 1) + (c ? c[1] - kr[1] : 0) / (l || 1);
11503
- if (!N.active && !$t) {
11502
+ var n = this.options, a = n.fallbackTolerance, r = n.fallbackOffset, o = t.touches ? t.touches[0] : t, i = M && tn(M, !0), s = M && i && i.a, l = M && i && i.d, c = aa && de && Ds(de), u = (o.clientX - At.clientX + r.x) / (s || 1) + (c ? c[0] - kr[0] : 0) / (s || 1), f = (o.clientY - At.clientY + r.y) / (l || 1) + (c ? c[1] - kr[1] : 0) / (l || 1);
11503
+ if (!N.active && !Gt) {
11504
11504
  if (a && Math.max(Math.abs(o.clientX - this._lastX), Math.abs(o.clientY - this._lastY)) < a)
11505
11505
  return;
11506
11506
  this._onDragStart(t, !0);
@@ -11514,8 +11514,8 @@ N.prototype = /** @lends Sortable.prototype */
11514
11514
  e: u,
11515
11515
  f
11516
11516
  };
11517
- var d = "matrix(".concat(i.a, ",").concat(i.b, ",").concat(i.c, ",").concat(i.d, ",").concat(i.e, ",").concat(i.f, ")");
11518
- D(M, "webkitTransform", d), D(M, "mozTransform", d), D(M, "msTransform", d), D(M, "transform", d), _r = u, Cr = f, Le = o;
11517
+ var m = "matrix(".concat(i.a, ",").concat(i.b, ",").concat(i.c, ",").concat(i.d, ",").concat(i.e, ",").concat(i.f, ")");
11518
+ D(M, "webkitTransform", m), D(M, "mozTransform", m), D(M, "msTransform", m), D(M, "transform", m), _r = u, Cr = f, Le = o;
11519
11519
  }
11520
11520
  t.cancelable && t.preventDefault();
11521
11521
  }
@@ -11544,11 +11544,11 @@ N.prototype = /** @lends Sortable.prototype */
11544
11544
  sortable: a,
11545
11545
  name: "clone"
11546
11546
  }));
11547
- }), !n && _e(S, o.dragClass, !0), n ? (La = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (F(document, "mouseup", a._onDrop), F(document, "touchend", a._onDrop), F(document, "touchcancel", a._onDrop), r && (r.effectAllowed = "move", o.setData && o.setData.call(a, r, S)), j(document, "drop", a), D(S, "transform", "translateZ(0)")), $t = !0, a._dragStartId = va(a._dragStarted.bind(a, n, t)), j(document, "selectstart", a), yn = !0, An && D(document.body, "user-select", "none");
11547
+ }), !n && _e(S, o.dragClass, !0), n ? (La = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (F(document, "mouseup", a._onDrop), F(document, "touchend", a._onDrop), F(document, "touchcancel", a._onDrop), r && (r.effectAllowed = "move", o.setData && o.setData.call(a, r, S)), j(document, "drop", a), D(S, "transform", "translateZ(0)")), Gt = !0, a._dragStartId = va(a._dragStarted.bind(a, n, t)), j(document, "selectstart", a), yn = !0, An && D(document.body, "user-select", "none");
11548
11548
  },
11549
11549
  // Returns true - if no further action is needed (either inserted or another condition)
11550
11550
  _onDragOver: function(t) {
11551
- var n = this.el, a = t.target, r, o, i, s = this.options, l = s.group, c = N.active, u = ta === l, f = s.sort, d = se || c, h, p = this, v = !1;
11551
+ var n = this.el, a = t.target, r, o, i, s = this.options, l = s.group, c = N.active, u = ta === l, f = s.sort, m = se || c, h, p = this, v = !1;
11552
11552
  if (So)
11553
11553
  return;
11554
11554
  function y(fe, Ie) {
@@ -11560,9 +11560,9 @@ N.prototype = /** @lends Sortable.prototype */
11560
11560
  dragRect: r,
11561
11561
  targetRect: o,
11562
11562
  canSort: f,
11563
- fromSortable: d,
11563
+ fromSortable: m,
11564
11564
  target: a,
11565
- completed: m,
11565
+ completed: d,
11566
11566
  onMove: function(Me, ui) {
11567
11567
  return ra(K, n, S, r, Me, ie(Me), t, ui);
11568
11568
  },
@@ -11570,14 +11570,14 @@ N.prototype = /** @lends Sortable.prototype */
11570
11570
  }, Ie));
11571
11571
  }
11572
11572
  function g() {
11573
- y("dragOverAnimationCapture"), p.captureAnimationState(), p !== d && d.captureAnimationState();
11573
+ y("dragOverAnimationCapture"), p.captureAnimationState(), p !== m && m.captureAnimationState();
11574
11574
  }
11575
- function m(fe) {
11575
+ function d(fe) {
11576
11576
  return y("dragOverCompleted", {
11577
11577
  insertion: fe
11578
- }), fe && (u ? c._hideClone() : c._showClone(p), p !== d && (_e(S, se ? se.options.ghostClass : c.options.ghostClass, !1), _e(S, s.ghostClass, !0)), se !== p && p !== N.active ? se = p : p === N.active && se && (se = null), d === p && (p._ignoreWhileAnimating = a), p.animateAll(function() {
11578
+ }), fe && (u ? c._hideClone() : c._showClone(p), p !== m && (_e(S, se ? se.options.ghostClass : c.options.ghostClass, !1), _e(S, s.ghostClass, !0)), se !== p && p !== N.active ? se = p : p === N.active && se && (se = null), m === p && (p._ignoreWhileAnimating = a), p.animateAll(function() {
11579
11579
  y("dragOverAnimationComplete"), p._ignoreWhileAnimating = null;
11580
- }), p !== d && (d.animateAll(), d._ignoreWhileAnimating = null)), (a === S && !S.animated || a === n && !a.animated) && (Yt = null), !s.dragoverBubble && !t.rootEl && a !== document && (S.parentNode[ke]._isOutsideThisEl(t.target), !fe && Tt(t)), !s.dragoverBubble && t.stopPropagation && t.stopPropagation(), v = !0;
11580
+ }), p !== m && (m.animateAll(), m._ignoreWhileAnimating = null)), (a === S && !S.animated || a === n && !a.animated) && ($t = null), !s.dragoverBubble && !t.rootEl && a !== document && (S.parentNode[ke]._isOutsideThisEl(t.target), !fe && Tt(t)), !s.dragoverBubble && t.stopPropagation && t.stopPropagation(), v = !0;
11581
11581
  }
11582
11582
  function x() {
11583
11583
  Ce = De(S), ht = De(S, s.draggable), ve({
@@ -11592,28 +11592,28 @@ N.prototype = /** @lends Sortable.prototype */
11592
11592
  if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), a = We(a, s.draggable, n, !0), y("dragOver"), N.eventCanceled)
11593
11593
  return v;
11594
11594
  if (S.contains(t.target) || a.animated && a.animatingX && a.animatingY || p._ignoreWhileAnimating === a)
11595
- return m(!1);
11595
+ return d(!1);
11596
11596
  if (La = !1, c && !s.disabled && (u ? f || (i = Q !== K) : se === this || (this.lastPutMode = ta.checkPull(this, c, S, t)) && l.checkPut(this, c, S, t))) {
11597
11597
  if (h = this._getDirection(t, a) === "vertical", r = ie(S), y("dragOverValid"), N.eventCanceled)
11598
11598
  return v;
11599
11599
  if (i)
11600
- return Q = K, g(), this._hideClone(), y("revert"), N.eventCanceled || (Nt ? K.insertBefore(S, Nt) : K.appendChild(S)), m(!0);
11600
+ return Q = K, g(), this._hideClone(), y("revert"), N.eventCanceled || (Nt ? K.insertBefore(S, Nt) : K.appendChild(S)), d(!0);
11601
11601
  var C = si(n, s.draggable);
11602
11602
  if (!C || ly(t, h, this) && !C.animated) {
11603
11603
  if (C === S)
11604
- return m(!1);
11604
+ return d(!1);
11605
11605
  if (C && n === t.target && (a = C), a && (o = ie(a)), ra(K, n, S, r, a, o, t, !!a) !== !1)
11606
- return g(), n.appendChild(S), Q = n, x(), m(!0);
11606
+ return g(), n.appendChild(S), Q = n, x(), d(!0);
11607
11607
  } else if (C && sy(t, h, this)) {
11608
- var P = on(n, 0, s, !0);
11608
+ var P = sn(n, 0, s, !0);
11609
11609
  if (P === S)
11610
- return m(!1);
11610
+ return d(!1);
11611
11611
  if (a = P, o = ie(a), ra(K, n, S, r, a, o, t, !1) !== !1)
11612
- return g(), n.insertBefore(S, P), Q = n, x(), m(!0);
11612
+ return g(), n.insertBefore(S, P), Q = n, x(), d(!0);
11613
11613
  } else if (a.parentNode === n) {
11614
11614
  o = ie(a);
11615
11615
  var I = 0, T, U = S.parentNode !== n, W = !ny(S.animated && S.toRect || r, a.animated && a.toRect || o, h), re = h ? "top" : "left", pe = Ts(a, "top", "top") || Ts(S, "top", "top"), Te = pe ? pe.scrollTop : void 0;
11616
- Yt !== a && (T = o[re], In = !1, na = !W && s.invertSwap || U), I = cy(t, a, o, h, W ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, na, Yt === a);
11616
+ $t !== a && (T = o[re], In = !1, na = !W && s.invertSwap || U), I = cy(t, a, o, h, W ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, na, $t === a);
11617
11617
  var ue;
11618
11618
  if (I !== 0) {
11619
11619
  var oe = De(S);
@@ -11622,16 +11622,16 @@ N.prototype = /** @lends Sortable.prototype */
11622
11622
  while (ue && (D(ue, "display") === "none" || ue === M));
11623
11623
  }
11624
11624
  if (I === 0 || ue === a)
11625
- return m(!1);
11626
- Yt = a, Nn = I;
11625
+ return d(!1);
11626
+ $t = a, Nn = I;
11627
11627
  var G = a.nextElementSibling, H = !1;
11628
11628
  H = I === 1;
11629
- var J = ra(K, n, S, r, a, o, t, H);
11630
- if (J !== !1)
11631
- return (J === 1 || J === -1) && (H = J === 1), So = !0, setTimeout(iy, 30), g(), H && !G ? n.appendChild(S) : a.parentNode.insertBefore(S, H ? G : a), pe && Vc(pe, 0, Te - pe.scrollTop), Q = S.parentNode, T !== void 0 && !na && (pa = Math.abs(T - ie(a)[re])), x(), m(!0);
11629
+ var ee = ra(K, n, S, r, a, o, t, H);
11630
+ if (ee !== !1)
11631
+ return (ee === 1 || ee === -1) && (H = ee === 1), So = !0, setTimeout(iy, 30), g(), H && !G ? n.appendChild(S) : a.parentNode.insertBefore(S, H ? G : a), pe && Vc(pe, 0, Te - pe.scrollTop), Q = S.parentNode, T !== void 0 && !na && (pa = Math.abs(T - ie(a)[re])), x(), d(!0);
11632
11632
  }
11633
11633
  if (n.contains(S))
11634
- return m(!1);
11634
+ return d(!1);
11635
11635
  }
11636
11636
  return !1;
11637
11637
  },
@@ -11651,7 +11651,7 @@ N.prototype = /** @lends Sortable.prototype */
11651
11651
  this._nulling();
11652
11652
  return;
11653
11653
  }
11654
- $t = !1, na = !1, In = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), _o(this.cloneId), _o(this._dragStartId), this.nativeDraggable && (F(document, "drop", this), F(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), An && D(document.body, "user-select", ""), D(S, "transform", ""), t && (yn && (t.cancelable && t.preventDefault(), !a.dropBubble && t.stopPropagation()), M && M.parentNode && M.parentNode.removeChild(M), (K === Q || se && se.lastPutMode !== "clone") && Z && Z.parentNode && Z.parentNode.removeChild(Z), S && (this.nativeDraggable && F(S, "dragend", this), Or(S), S.style["will-change"] = "", yn && !$t && _e(S, se ? se.options.ghostClass : this.options.ghostClass, !1), _e(S, this.options.chosenClass, !1), ve({
11654
+ Gt = !1, na = !1, In = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), _o(this.cloneId), _o(this._dragStartId), this.nativeDraggable && (F(document, "drop", this), F(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), An && D(document.body, "user-select", ""), D(S, "transform", ""), t && (yn && (t.cancelable && t.preventDefault(), !a.dropBubble && t.stopPropagation()), M && M.parentNode && M.parentNode.removeChild(M), (K === Q || se && se.lastPutMode !== "clone") && Z && Z.parentNode && Z.parentNode.removeChild(Z), S && (this.nativeDraggable && F(S, "dragend", this), Or(S), S.style["will-change"] = "", yn && !Gt && _e(S, se ? se.options.ghostClass : this.options.ghostClass, !1), _e(S, this.options.chosenClass, !1), ve({
11655
11655
  sortable: this,
11656
11656
  name: "unchoose",
11657
11657
  toEl: Q,
@@ -11680,7 +11680,7 @@ N.prototype = /** @lends Sortable.prototype */
11680
11680
  name: "sort",
11681
11681
  toEl: Q,
11682
11682
  originalEvent: t
11683
- })), se && se.save()) : Ce !== Xt && Ce >= 0 && (ve({
11683
+ })), se && se.save()) : Ce !== Kt && Ce >= 0 && (ve({
11684
11684
  sortable: this,
11685
11685
  name: "update",
11686
11686
  toEl: Q,
@@ -11690,7 +11690,7 @@ N.prototype = /** @lends Sortable.prototype */
11690
11690
  name: "sort",
11691
11691
  toEl: Q,
11692
11692
  originalEvent: t
11693
- })), N.active && ((Ce == null || Ce === -1) && (Ce = Xt, ht = Dn), ve({
11693
+ })), N.active && ((Ce == null || Ce === -1) && (Ce = Kt, ht = Dn), ve({
11694
11694
  sortable: this,
11695
11695
  name: "end",
11696
11696
  toEl: Q,
@@ -11698,7 +11698,7 @@ N.prototype = /** @lends Sortable.prototype */
11698
11698
  }), this.save()))), this._nulling();
11699
11699
  },
11700
11700
  _nulling: function() {
11701
- we("nulling", this), K = S = Q = M = Nt = Z = ha = pt = At = Le = yn = Ce = ht = Xt = Dn = Yt = Nn = se = ta = N.dragged = N.ghost = N.clone = N.active = null, Ra.forEach(function(t) {
11701
+ we("nulling", this), K = S = Q = M = Nt = Z = ha = pt = At = Le = yn = Ce = ht = Kt = Dn = $t = Nn = se = ta = N.dragged = N.ghost = N.clone = N.active = null, Ra.forEach(function(t) {
11702
11702
  t.checked = !0;
11703
11703
  }), Ra.length = _r = Cr = 0;
11704
11704
  },
@@ -11814,7 +11814,7 @@ function iy() {
11814
11814
  So = !1;
11815
11815
  }
11816
11816
  function sy(e, t, n) {
11817
- var a = ie(on(n.el, 0, n.options, !0)), r = 10;
11817
+ var a = ie(sn(n.el, 0, n.options, !0)), r = 10;
11818
11818
  return t ? e.clientX < a.left - r || e.clientY < a.top && e.clientX < a.right : e.clientY < a.top - r || e.clientY < a.bottom && e.clientX < a.left;
11819
11819
  }
11820
11820
  function ly(e, t, n) {
@@ -11822,17 +11822,17 @@ function ly(e, t, n) {
11822
11822
  return t ? e.clientX > a.right + r || e.clientX <= a.right && e.clientY > a.bottom && e.clientX >= a.left : e.clientX > a.right && e.clientY > a.top || e.clientX <= a.right && e.clientY > a.bottom + r;
11823
11823
  }
11824
11824
  function cy(e, t, n, a, r, o, i, s) {
11825
- var l = a ? e.clientY : e.clientX, c = a ? n.height : n.width, u = a ? n.top : n.left, f = a ? n.bottom : n.right, d = !1;
11825
+ var l = a ? e.clientY : e.clientX, c = a ? n.height : n.width, u = a ? n.top : n.left, f = a ? n.bottom : n.right, m = !1;
11826
11826
  if (!i) {
11827
11827
  if (s && pa < c * r) {
11828
11828
  if (!In && (Nn === 1 ? l > u + c * o / 2 : l < f - c * o / 2) && (In = !0), In)
11829
- d = !0;
11829
+ m = !0;
11830
11830
  else if (Nn === 1 ? l < u + pa : l > f - pa)
11831
11831
  return -Nn;
11832
11832
  } else if (l > u + c * (1 - r) / 2 && l < f - c * (1 - r) / 2)
11833
11833
  return uy(t);
11834
11834
  }
11835
- return d = d || i, d && (l < u + c * o / 2 || l > f - c * o / 2) ? l > u + c / 2 ? 1 : -1 : 0;
11835
+ return m = m || i, m && (l < u + c * o / 2 || l > f - c * o / 2) ? l > u + c / 2 ? 1 : -1 : 0;
11836
11836
  }
11837
11837
  function uy(e) {
11838
11838
  return De(S) < De(e) ? 1 : -1;
@@ -11856,7 +11856,7 @@ function _o(e) {
11856
11856
  return clearTimeout(e);
11857
11857
  }
11858
11858
  or && j(document, "touchmove", function(e) {
11859
- (N.active || $t) && e.cancelable && e.preventDefault();
11859
+ (N.active || Gt) && e.cancelable && e.preventDefault();
11860
11860
  });
11861
11861
  N.utils = {
11862
11862
  on: j,
@@ -11875,7 +11875,7 @@ N.utils = {
11875
11875
  nextTick: va,
11876
11876
  cancelNextTick: _o,
11877
11877
  detectDirection: Yc,
11878
- getChild: on
11878
+ getChild: sn
11879
11879
  };
11880
11880
  N.get = function(e) {
11881
11881
  return e[ke];
@@ -11958,11 +11958,11 @@ var Ar = Bc(function(e, t, n, a) {
11958
11958
  if (t.scroll) {
11959
11959
  var r = (e.touches ? e.touches[0] : e).clientX, o = (e.touches ? e.touches[0] : e).clientY, i = t.scrollSensitivity, s = t.scrollSpeed, l = Qe(), c = !1, u;
11960
11960
  Co !== n && (Co = n, ya(), bn = t.scroll, u = t.scrollFn, bn === !0 && (bn = yt(n, !0)));
11961
- var f = 0, d = bn;
11961
+ var f = 0, m = bn;
11962
11962
  do {
11963
- var h = d, p = ie(h), v = p.top, y = p.bottom, g = p.left, m = p.right, x = p.width, C = p.height, P = void 0, I = void 0, T = h.scrollWidth, U = h.scrollHeight, W = D(h), re = h.scrollLeft, pe = h.scrollTop;
11963
+ var h = m, p = ie(h), v = p.top, y = p.bottom, g = p.left, d = p.right, x = p.width, C = p.height, P = void 0, I = void 0, T = h.scrollWidth, U = h.scrollHeight, W = D(h), re = h.scrollLeft, pe = h.scrollTop;
11964
11964
  h === l ? (P = x < T && (W.overflowX === "auto" || W.overflowX === "scroll" || W.overflowX === "visible"), I = C < U && (W.overflowY === "auto" || W.overflowY === "scroll" || W.overflowY === "visible")) : (P = x < T && (W.overflowX === "auto" || W.overflowX === "scroll"), I = C < U && (W.overflowY === "auto" || W.overflowY === "scroll"));
11965
- var Te = P && (Math.abs(m - r) <= i && re + x < T) - (Math.abs(g - r) <= i && !!re), ue = I && (Math.abs(y - o) <= i && pe + C < U) - (Math.abs(v - o) <= i && !!pe);
11965
+ var Te = P && (Math.abs(d - r) <= i && re + x < T) - (Math.abs(g - r) <= i && !!re), ue = I && (Math.abs(y - o) <= i && pe + C < U) - (Math.abs(v - o) <= i && !!pe);
11966
11966
  if (!ae[f])
11967
11967
  for (var oe = 0; oe <= f; oe++)
11968
11968
  ae[oe] || (ae[oe] = {});
@@ -11973,7 +11973,7 @@ var Ar = Bc(function(e, t, n, a) {
11973
11973
  }).bind({
11974
11974
  layer: f
11975
11975
  }), 24))), f++;
11976
- } while (t.bubbleScroll && d !== l && (d = yt(d, !1)));
11976
+ } while (t.bubbleScroll && m !== l && (m = yt(m, !1)));
11977
11977
  ko = c;
11978
11978
  }
11979
11979
  }, 30), qc = function(t) {
@@ -11999,7 +11999,7 @@ li.prototype = {
11999
11999
  onSpill: function(t) {
12000
12000
  var n = t.dragEl, a = t.putSortable;
12001
12001
  this.sortable.captureAnimationState(), a && a.captureAnimationState();
12002
- var r = on(this.sortable.el, this.startIndex, this.options);
12002
+ var r = sn(this.sortable.el, this.startIndex, this.options);
12003
12003
  r ? this.sortable.el.insertBefore(n, r) : this.sortable.el.appendChild(n), this.sortable.animateAll(), a && a.animateAll();
12004
12004
  },
12005
12005
  drop: qc
@@ -12174,7 +12174,7 @@ const ky = {
12174
12174
  },
12175
12175
  methods: {
12176
12176
  getTag() {
12177
- return this.component ? ne(this.component) : this.tag;
12177
+ return this.component ? J(this.component) : this.tag;
12178
12178
  },
12179
12179
  updateOptions(e) {
12180
12180
  for (var t in e) {
@@ -12313,7 +12313,7 @@ const ky = {
12313
12313
  const Py = {
12314
12314
  name: "ViGridBuilder",
12315
12315
  inheritAttrs: !1,
12316
- components: { ViGridHeadColumnCell: z0, ViGridHeadCell: Fc, ViGridCheckbox: k0, ViGridField: w0, draggable: Oy },
12316
+ components: { ViGridHeadColumnCell: z0, ViGridHeadCell: Fc, ViGridCheckbox: k0, ViGridField: w0, draggable: Oy, FontAwesomeIcon: Vt },
12317
12317
  props: {
12318
12318
  rows: {
12319
12319
  type: Array
@@ -12408,33 +12408,33 @@ const Py = {
12408
12408
  },
12409
12409
  setup(e, { emit: t }) {
12410
12410
  let n = V(null), a = V(null), r = V(null), o = V(null), i = V([]), s = V([]);
12411
- const { isFetchingData: l, fetchData: c, search: u } = B0(e), { visibleColumns: f, totalColumns: d } = O0(e), {
12411
+ const { isFetchingData: l, fetchData: c, search: u } = B0(e), { visibleColumns: f, totalColumns: m } = O0(e), {
12412
12412
  setSortFieldsFromPagination: h,
12413
12413
  getSortableState: p,
12414
12414
  setSortFields: v,
12415
12415
  sortField: y,
12416
12416
  sortDirection: g,
12417
- formatSortFields: m,
12417
+ formatSortFields: d,
12418
12418
  sortedRows: x
12419
12419
  } = T0(e);
12420
12420
  h(e.pagination);
12421
12421
  const C = () => c({
12422
12422
  pagination: {
12423
12423
  ...e.pagination,
12424
- ...m()
12424
+ ...d()
12425
12425
  }
12426
12426
  }), P = () => c(
12427
12427
  {
12428
12428
  pagination: {
12429
12429
  ...e.pagination,
12430
12430
  page: 1,
12431
- ...m()
12431
+ ...d()
12432
12432
  }
12433
12433
  }
12434
12434
  ), { localPagination: I, onPaginationChange: T } = D0(e, t, ({ pagination: Me }) => c({
12435
12435
  pagination: {
12436
12436
  ...Me,
12437
- ...m()
12437
+ ...d()
12438
12438
  }
12439
12439
  }));
12440
12440
  bt([y, g], (...Me) => {
@@ -12442,7 +12442,7 @@ const Py = {
12442
12442
  pagination: {
12443
12443
  ...e.pagination,
12444
12444
  page: 1,
12445
- ...m()
12445
+ ...d()
12446
12446
  }
12447
12447
  }) : I.value = {
12448
12448
  ...I.value,
@@ -12470,7 +12470,7 @@ const Py = {
12470
12470
  bt(W, (Me, ui) => {
12471
12471
  s.value = Me;
12472
12472
  }, { immediate: !0 });
12473
- const J = k(() => e.loading || l.value);
12473
+ const ee = k(() => e.loading || l.value);
12474
12474
  e.serverMode && e.fetchOnInit && C();
12475
12475
  const { settings: fe } = E0(e);
12476
12476
  return {
@@ -12480,14 +12480,14 @@ const Py = {
12480
12480
  totalRows: re,
12481
12481
  currentVisibleRows: U,
12482
12482
  visibleColumns: f,
12483
- totalColumns: d,
12483
+ totalColumns: m,
12484
12484
  selectedRows: Te,
12485
12485
  toggleMasterSelect: ue,
12486
12486
  areAllRowsSelected: G,
12487
12487
  toggleRowSelect: oe,
12488
12488
  setSortFields: v,
12489
12489
  fetchData: c,
12490
- isDataLoading: J,
12490
+ isDataLoading: ee,
12491
12491
  onRowClicked: pe,
12492
12492
  isRowSelected: H,
12493
12493
  getSortableState: p,
@@ -12503,7 +12503,7 @@ const Py = {
12503
12503
  i.value = [...U.value];
12504
12504
  },
12505
12505
  onDragChange: (Me) => {
12506
- a.value = Me.moved || null, r.value = Me.removed || null, o.value = Me.added || null, t("reorder", {
12506
+ a.value = Me.moved || null, r.value = Me.removed || null, o.value = Me.added || null, console.log("drag chnages"), t("reorder", {
12507
12507
  newList: s.value,
12508
12508
  oldList: i.value,
12509
12509
  moved: a.value,
@@ -12565,10 +12565,10 @@ const Py = {
12565
12565
  class: "vi-cell vi-select-cell"
12566
12566
  }, Yy = ["colspan"], $y = { class: "vi-body-row vi-table-row vi-footer-row" }, Gy = ["colspan"];
12567
12567
  function Hy(e, t, n, a, r, o) {
12568
- const i = ne("vi-grid-head-cell"), s = ne("vi-grid-checkbox"), l = ne("vi-grid-head-column-cell"), c = ne("vi-grid-field"), u = ne("vi-pagination"), f = ne("draggable");
12568
+ const i = J("vi-grid-head-cell"), s = J("vi-grid-checkbox"), l = J("vi-grid-head-column-cell"), c = J("font-awesome-icon"), u = J("vi-grid-field"), f = J("vi-pagination"), m = J("draggable");
12569
12569
  return _(), O("div", Ey, [
12570
12570
  e.$slots.top ? (_(), O("div", Ay, [
12571
- te(e.$slots, "top")
12571
+ ne(e.$slots, "top")
12572
12572
  ])) : Y("", !0),
12573
12573
  L("div", {
12574
12574
  class: Ne(["vi-table-container", { loading: a.isDataLoading }])
@@ -12579,20 +12579,20 @@ function Hy(e, t, n, a, r, o) {
12579
12579
  L("colgroup", null, [
12580
12580
  n.enableDraggable ? (_(), O("col", Ty)) : Y("", !0),
12581
12581
  n.selectable ? (_(), O("col", Dy)) : Y("", !0),
12582
- (_(!0), O(Re, null, vt(a.visibleColumns, (d, h) => (_(), O("col", {
12583
- class: Ne({ "first-column": h === 0, "last-column": h === a.visibleColumns.length - 1, ["column-" + h]: !0, [d.type]: !0, ["column-" + d.name]: !0 })
12582
+ (_(!0), O(Re, null, vt(a.visibleColumns, (h, p) => (_(), O("col", {
12583
+ class: Ne({ "first-column": p === 0, "last-column": p === a.visibleColumns.length - 1, ["column-" + p]: !0, [h.type]: !0, ["column-" + h.name]: !0 })
12584
12584
  }, null, 2))), 256))
12585
12585
  ]),
12586
12586
  L("thead", Ny, [
12587
12587
  n.title ? (_(), O("tr", Iy, [
12588
- n.title ? (_(), ee(i, {
12588
+ n.title ? (_(), te(i, {
12589
12589
  key: 0,
12590
12590
  colspan: a.visibleColumns.length,
12591
12591
  align: "left",
12592
12592
  class: "vi-title-cell"
12593
12593
  }, {
12594
12594
  default: It(() => [
12595
- te(e.$slots, "title", { title: n.title }, () => [
12595
+ ne(e.$slots, "title", { title: n.title }, () => [
12596
12596
  L("span", null, ce(n.title), 1)
12597
12597
  ])
12598
12598
  ]),
@@ -12600,12 +12600,12 @@ function Hy(e, t, n, a, r, o) {
12600
12600
  }, 8, ["colspan"])) : Y("", !0)
12601
12601
  ])) : Y("", !0),
12602
12602
  L("tr", My, [
12603
- n.enableDraggable ? (_(), ee(i, {
12603
+ n.enableDraggable ? (_(), te(i, {
12604
12604
  key: 0,
12605
12605
  class: "vi-select-cell",
12606
12606
  align: a.settings.align
12607
12607
  }, null, 8, ["align"])) : Y("", !0),
12608
- n.selectable ? (_(), ee(i, {
12608
+ n.selectable ? (_(), te(i, {
12609
12609
  key: 1,
12610
12610
  class: "vi-select-cell",
12611
12611
  align: a.settings.align
@@ -12614,20 +12614,20 @@ function Hy(e, t, n, a, r, o) {
12614
12614
  R(s, {
12615
12615
  name: "masterSelect",
12616
12616
  value: a.areAllRowsSelected,
12617
- onCheckboxClicked: t[0] || (t[0] = (d) => a.toggleMasterSelect(d.value))
12617
+ onCheckboxClicked: t[0] || (t[0] = (h) => a.toggleMasterSelect(h.value))
12618
12618
  }, null, 8, ["value"])
12619
12619
  ]),
12620
12620
  _: 1
12621
12621
  }, 8, ["align"])) : Y("", !0),
12622
- (_(!0), O(Re, null, vt(a.visibleColumns, (d) => (_(), ee(l, {
12623
- key: d.name,
12624
- column: d,
12622
+ (_(!0), O(Re, null, vt(a.visibleColumns, (h) => (_(), te(l, {
12623
+ key: h.name,
12624
+ column: h,
12625
12625
  align: a.settings.align,
12626
- "sortable-state": a.getSortableState(d),
12626
+ "sortable-state": a.getSortableState(h),
12627
12627
  onSort: a.setSortFields
12628
12628
  }, {
12629
12629
  default: It(() => [
12630
- te(e.$slots, `vi-header-cell-${d.name}`, { column: d })
12630
+ ne(e.$slots, `vi-header-cell-${h.name}`, { column: h })
12631
12631
  ]),
12632
12632
  _: 2
12633
12633
  }, 1032, ["column", "align", "sortable-state", "onSort"]))), 128))
@@ -12638,8 +12638,8 @@ function Hy(e, t, n, a, r, o) {
12638
12638
  class: "vi-loading-cell"
12639
12639
  }, {
12640
12640
  default: It(() => [
12641
- te(e.$slots, "loading", {}, () => [
12642
- a.settings.defaultSlots.loading ? (_(), ee(ia(a.settings.defaultSlots.loading), { key: 0 })) : (_(), O("div", Fy, t[3] || (t[3] = [
12641
+ ne(e.$slots, "loading", {}, () => [
12642
+ a.settings.defaultSlots.loading ? (_(), te(ia(a.settings.defaultSlots.loading), { key: 0 })) : (_(), O("div", Fy, t[3] || (t[3] = [
12643
12643
  L("div", { class: "loading-bar" }, null, -1)
12644
12644
  ])))
12645
12645
  ])
@@ -12654,69 +12654,69 @@ function Hy(e, t, n, a, r, o) {
12654
12654
  class: "vi-body-cell vi-cell",
12655
12655
  colspan: a.totalColumns
12656
12656
  }, [
12657
- te(e.$slots, "empty-data", {}, () => [
12658
- a.settings.defaultSlots.noRows ? (_(), ee(ia(a.settings.defaultSlots.noRows), { key: 0 })) : (_(), O("span", By, ce(a.settings.noDataLabel), 1))
12657
+ ne(e.$slots, "empty-data", {}, () => [
12658
+ a.settings.defaultSlots.noRows ? (_(), te(ia(a.settings.defaultSlots.noRows), { key: 0 })) : (_(), O("span", By, ce(a.settings.noDataLabel), 1))
12659
12659
  ])
12660
12660
  ], 8, zy)
12661
12661
  ])
12662
- ])) : (_(), ee(f, {
12662
+ ])) : (_(), te(m, {
12663
12663
  key: 1,
12664
12664
  class: "vi-table-body",
12665
12665
  modelValue: a.dragList,
12666
- "onUpdate:modelValue": t[2] || (t[2] = (d) => a.dragList = d),
12666
+ "onUpdate:modelValue": t[2] || (t[2] = (h) => a.dragList = h),
12667
12667
  tag: "tbody",
12668
12668
  disabled: !n.enableDraggable,
12669
12669
  "item-key": n.rowKey,
12670
- handle: ".drag-handle",
12670
+ handle: ".vi-drag-handle-cell",
12671
12671
  onStart: a.onDragStart,
12672
12672
  onChange: a.onDragChange
12673
12673
  }, {
12674
12674
  default: It(() => [
12675
- (_(!0), O(Re, null, vt(a.dragList, (d) => (_(), O("tr", {
12676
- key: d[n.rowKey],
12677
- class: Ne([{ clickable: n.clickableRow && !d.isExtraRow, selected: a.isRowSelected(d) }, "vi-body-row vi-table-row"]),
12678
- onClick: (h) => a.onRowClicked(d)
12675
+ (_(!0), O(Re, null, vt(a.dragList, (h) => (_(), O("tr", {
12676
+ key: h[n.rowKey],
12677
+ class: Ne([{ clickable: n.clickableRow && !h.isExtraRow, selected: a.isRowSelected(h) }, "vi-body-row vi-table-row"]),
12678
+ onClick: (p) => a.onRowClicked(h)
12679
12679
  }, [
12680
- d.isExtraRow ? (_(), O("td", {
12680
+ h.isExtraRow ? (_(), O("td", {
12681
12681
  key: 1,
12682
12682
  colspan: a.totalColumns,
12683
12683
  class: "vi-body-cell vi-cell vi-row-details-cell"
12684
12684
  }, [
12685
- te(e.$slots, "row-details", { row: d })
12685
+ ne(e.$slots, "row-details", { row: h })
12686
12686
  ], 8, Yy)) : (_(), O(Re, { key: 0 }, [
12687
- n.enableDraggable ? (_(), O("td", Uy, t[4] || (t[4] = [
12688
- L("span", {
12689
- class: "drag-handle",
12690
- title: "Drag to reorder"
12691
- }, "☰", -1)
12692
- ]))) : Y("", !0),
12687
+ n.enableDraggable ? (_(), O("td", Uy, [
12688
+ R(c, {
12689
+ icon: ["fa", "arrows-up-down-left-right"],
12690
+ class: "drag-handle"
12691
+ })
12692
+ ])) : Y("", !0),
12693
12693
  n.selectable ? (_(), O("td", Wy, [
12694
12694
  L("div", {
12695
12695
  class: Ne(["vi-grid-field", a.settings.align])
12696
12696
  }, [
12697
12697
  R(s, {
12698
- row: d,
12698
+ row: h,
12699
12699
  name: n.rowKey,
12700
- value: a.selectedRows.includes(d[n.rowKey]),
12701
- onCheckboxClicked: (h) => a.toggleRowSelect(d, h.value)
12700
+ value: a.selectedRows.includes(h[n.rowKey]),
12701
+ onCheckboxClicked: (p) => a.toggleRowSelect(h, p.value)
12702
12702
  }, null, 8, ["row", "name", "value", "onCheckboxClicked"])
12703
12703
  ], 2)
12704
12704
  ])) : Y("", !0),
12705
- (_(!0), O(Re, null, vt(a.visibleColumns, (h) => (_(), O("td", {
12706
- key: h.name,
12705
+ (_(!0), O(Re, null, vt(a.visibleColumns, (p) => (_(), O("td", {
12706
+ key: p.name,
12707
12707
  class: "vi-body-cell vi-cell"
12708
12708
  }, [
12709
- R(c, Pe({
12709
+ R(u, Pe({
12710
12710
  "row-menu-opened": a.rowMenuOpened,
12711
- "onUpdate:rowMenuOpened": t[1] || (t[1] = (p) => a.rowMenuOpened = p),
12712
- class: h.align ?? a.settings.align,
12713
- field: h,
12714
- "field-value": h.transform ? h.transform(d) : d[h.name],
12715
- "row-value": d,
12711
+ "onUpdate:rowMenuOpened": t[1] || (t[1] = (v) => a.rowMenuOpened = v),
12712
+ class: p.align ?? a.settings.align,
12713
+ field: p,
12714
+ "field-value": p.transform ? p.transform(h) : h[p.name],
12715
+ "row-value": h,
12716
12716
  "row-key": n.rowKey
12717
12717
  }, { ref_for: !0 }, e.$attrs, {
12718
- onActionClicked: (p) => e.$emit(p.action, p.row),
12719
- onCheckboxClicked: (p) => a.toggleRowSelect(d, p.value)
12718
+ onActionClicked: (v) => e.$emit(v.action, v.row),
12719
+ onCheckboxClicked: (v) => a.toggleRowSelect(h, v.value)
12720
12720
  }), null, 16, ["row-menu-opened", "class", "field", "field-value", "row-value", "row-key", "onActionClicked", "onCheckboxClicked"])
12721
12721
  ]))), 128))
12722
12722
  ], 64))
@@ -12726,14 +12726,14 @@ function Hy(e, t, n, a, r, o) {
12726
12726
  colspan: a.totalColumns,
12727
12727
  class: "vi-body-cell vi-cell vi-footer-cell"
12728
12728
  }, [
12729
- te(e.$slots, "footer", {
12729
+ ne(e.$slots, "footer", {
12730
12730
  pagination: { ...n.pagination, totalRows: a.totalRows }
12731
12731
  }, () => [
12732
- a.settings.defaultSlots.footer ? (_(), ee(ia(a.settings.defaultSlots.footer), {
12732
+ a.settings.defaultSlots.footer ? (_(), te(ia(a.settings.defaultSlots.footer), {
12733
12733
  key: 0,
12734
12734
  pagination: { ...n.pagination, totalRows: a.totalRows }
12735
12735
  }, null, 8, ["pagination"])) : Y("", !0),
12736
- a.settings.disablePagination ? Y("", !0) : (_(), ee(u, {
12736
+ a.settings.disablePagination ? Y("", !0) : (_(), te(f, {
12737
12737
  key: 1,
12738
12738
  "rows-per-page": a.localPagination.rowsPerPage ?? a.settings.rowsPerPage,
12739
12739
  "current-page": a.localPagination.page,
@@ -12751,7 +12751,7 @@ function Hy(e, t, n, a, r, o) {
12751
12751
  }, 8, ["modelValue", "disabled", "item-key", "onStart", "onChange"]))
12752
12752
  ], 2)
12753
12753
  ], 2),
12754
- te(e.$slots, "bottom")
12754
+ ne(e.$slots, "bottom")
12755
12755
  ]);
12756
12756
  }
12757
12757
  const qy = /* @__PURE__ */ be(Py, [["render", Hy]]), js = {
@@ -12764,7 +12764,7 @@ const qy = /* @__PURE__ */ be(Py, [["render", Hy]]), js = {
12764
12764
  };
12765
12765
  const Xy = {
12766
12766
  name: "ViPagination",
12767
- components: { FontAwesomeIcon: fn },
12767
+ components: { FontAwesomeIcon: Vt },
12768
12768
  // inject: ['ViPaginationSettings'],
12769
12769
  props: {
12770
12770
  rowsPerPage: {
@@ -12870,10 +12870,10 @@ const Xy = {
12870
12870
  class: "page-numbers-container"
12871
12871
  }, rb = ["onClick"], ob = { class: "page-actions" };
12872
12872
  function ib(e, t, n, a, r, o) {
12873
- const i = ne("font-awesome-icon");
12873
+ const i = J("font-awesome-icon");
12874
12874
  return _(), O("div", Ky, [
12875
12875
  L("div", Qy, [
12876
- te(e.$slots, "rows-per-page", {
12876
+ ne(e.$slots, "rows-per-page", {
12877
12877
  rowsPerPage: o.rowsOnPage,
12878
12878
  rowsPerPageUpdate: o.rowsPerPageChange
12879
12879
  }, () => [
@@ -12889,7 +12889,7 @@ function ib(e, t, n, a, r, o) {
12889
12889
  ], 40, Zy)
12890
12890
  ])
12891
12891
  ]),
12892
- te(e.$slots, "visible-rows-info", {
12892
+ ne(e.$slots, "visible-rows-info", {
12893
12893
  totalRows: n.totalRows,
12894
12894
  firstVisibleRow: o.firstVisibleRow,
12895
12895
  lastVisibleRow: o.lastVisibleRow
@@ -12897,7 +12897,7 @@ function ib(e, t, n, a, r, o) {
12897
12897
  n.totalRows > 0 ? (_(), O("div", eb, " Showing " + ce(o.firstVisibleRow) + " - " + ce(o.lastVisibleRow) + " of " + ce(n.totalRows), 1)) : Y("", !0)
12898
12898
  ]),
12899
12899
  L("div", tb, [
12900
- te(e.$slots, "navigation-prev", {}, () => [
12900
+ ne(e.$slots, "navigation-prev", {}, () => [
12901
12901
  L("div", nb, [
12902
12902
  L("div", {
12903
12903
  onClick: t[1] || (t[1] = (s) => o.pageChange(1)),
@@ -12923,7 +12923,7 @@ function ib(e, t, n, a, r, o) {
12923
12923
  onClick: (l) => o.pageChange(s)
12924
12924
  }, ce(s), 11, rb))), 128))
12925
12925
  ])),
12926
- te(e.$slots, "navigation-next", {}, () => [
12926
+ ne(e.$slots, "navigation-next", {}, () => [
12927
12927
  L("div", ob, [
12928
12928
  L("div", {
12929
12929
  onClick: t[3] || (t[3] = (s) => o.pageChange(n.currentPage + 1)),
@@ -12972,24 +12972,28 @@ const lb = {
12972
12972
  iconName: "chevron-down",
12973
12973
  icon: [512, 512, [], "f078", "M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]
12974
12974
  }, gb = {
12975
+ prefix: "fas",
12976
+ iconName: "arrows-up-down-left-right",
12977
+ icon: [512, 512, ["arrows"], "f047", "M278.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l9.4-9.4L224 224l-114.7 0 9.4-9.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-9.4-9.4L224 288l0 114.7-9.4-9.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-9.4 9.4L288 288l114.7 0-9.4 9.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l9.4 9.4L288 224l0-114.7 9.4 9.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-64-64z"]
12978
+ }, hb = {
12975
12979
  prefix: "fas",
12976
12980
  iconName: "angles-left",
12977
12981
  icon: [512, 512, [171, "angle-double-left"], "f100", "M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256 438.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z"]
12978
- }, hb = {
12982
+ }, pb = {
12979
12983
  prefix: "fas",
12980
12984
  iconName: "angle-left",
12981
12985
  icon: [320, 512, [8249], "f104", "M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]
12982
- }, pb = {
12986
+ }, vb = {
12983
12987
  install(e, t = {}, n = {}) {
12984
- if (Ic.add(cb, hb, ub, gb), n)
12988
+ if (Ic.add(cb, pb, ub, hb), n)
12985
12989
  for (const [a, r] of Object.entries(n))
12986
12990
  document.documentElement.style.setProperty(`--vi-pagination-${a}`, r);
12987
- e.component("FontAwesomeIcon", fn), e.component("ViPagination", sb);
12991
+ e.component("FontAwesomeIcon", Vt), e.component("ViPagination", sb);
12988
12992
  }
12989
- }, yb = {
12993
+ }, bb = {
12990
12994
  install(e, t) {
12991
12995
  const { fieldComponents: n, dateFormats: a, dateMode: r, style: o, toastify: i, tooltipSettings: s, ...l } = t;
12992
- if (Ic.add(mb, lb, db), e.use(Ug, {
12996
+ if (Ic.add(mb, lb, db, gb), e.use(Ug, {
12993
12997
  style: {},
12994
12998
  toastify: {
12995
12999
  autoClose: 2e3,
@@ -13011,11 +13015,11 @@ const lb = {
13011
13015
  }), o)
13012
13016
  for (const [c, u] of Object.entries(o))
13013
13017
  document.documentElement.style.setProperty(`--vi-grid-${c}`, u);
13014
- e.use(pb, {}, o), e.component("FontAwesomeIcon", fn), ii.value = l, n && Object.keys(n).forEach((c) => {
13018
+ e.use(vb, {}, o), e.component("FontAwesomeIcon", Vt), ii.value = l, n && Object.keys(n).forEach((c) => {
13015
13019
  e.component(`ViGrid${c}`, n[c]);
13016
13020
  }), e.component("ViGridBuilder", qy);
13017
13021
  }
13018
13022
  };
13019
13023
  export {
13020
- yb as default
13024
+ bb as default
13021
13025
  };