@illinois-grad/grad-vue 3.0.11 → 3.0.13

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.
@@ -3219,8 +3219,8 @@ function ys(e, t, n) {
3219
3219
  return i.def = r, i;
3220
3220
  }
3221
3221
  var bs = typeof HTMLElement < "u" ? HTMLElement : class {}, xs = class e extends bs {
3222
- constructor(e, t = {}, n = Fs) {
3223
- super(), this._def = e, this._props = t, this._createApp = n, this._isVueCE = !0, this._instance = null, this._app = null, this._nonce = this._def.nonce, this._connected = !1, this._resolved = !1, this._patching = !1, this._dirty = !1, this._numberProps = null, this._styleChildren = /* @__PURE__ */ new WeakSet(), this._ob = null, this.shadowRoot && n !== Fs ? this._root = this.shadowRoot : e.shadowRoot === !1 ? this._root = this : (this.attachShadow(s({}, e.shadowRootOptions, { mode: "open" })), this._root = this.shadowRoot);
3222
+ constructor(e, t = {}, n = zs) {
3223
+ super(), this._def = e, this._props = t, this._createApp = n, this._isVueCE = !0, this._instance = null, this._app = null, this._nonce = this._def.nonce, this._connected = !1, this._resolved = !1, this._patching = !1, this._dirty = !1, this._numberProps = null, this._styleChildren = /* @__PURE__ */ new WeakSet(), this._ob = null, this.shadowRoot && n !== zs ? this._root = this.shadowRoot : e.shadowRoot === !1 ? this._root = this : (this.attachShadow(s({}, e.shadowRootOptions, { mode: "open" })), this._root = this.shadowRoot);
3224
3224
  }
3225
3225
  connectedCallback() {
3226
3226
  if (!this.isConnected) return;
@@ -3298,7 +3298,7 @@ var bs = typeof HTMLElement < "u" ? HTMLElement : class {}, xs = class e extends
3298
3298
  }
3299
3299
  _update() {
3300
3300
  let e = this._createVNode();
3301
- this._app && (e.appContext = this._app._context), Ps(e, this._root);
3301
+ this._app && (e.appContext = this._app._context), Rs(e, this._root);
3302
3302
  }
3303
3303
  _createVNode() {
3304
3304
  let e = {};
@@ -3376,11 +3376,41 @@ var bs = typeof HTMLElement < "u" ? HTMLElement : class {}, xs = class e extends
3376
3376
  }, Ss = (e) => {
3377
3377
  let t = e.props["onUpdate:modelValue"] || !1;
3378
3378
  return d(t) ? (e) => ae(t, e) : t;
3379
- }, Cs = /* @__PURE__ */ Symbol("_assign"), ws = {
3379
+ };
3380
+ function Cs(e) {
3381
+ e.target.composing = !0;
3382
+ }
3383
+ function ws(e) {
3384
+ let t = e.target;
3385
+ t.composing && (t.composing = !1, t.dispatchEvent(new Event("input")));
3386
+ }
3387
+ var Ts = /* @__PURE__ */ Symbol("_assign");
3388
+ function Es(e, t, n) {
3389
+ return t && (e = e.trim()), n && (e = se(e)), e;
3390
+ }
3391
+ var Ds = {
3392
+ created(e, { modifiers: { lazy: t, trim: n, number: r } }, i) {
3393
+ e[Ts] = Ss(i);
3394
+ let a = r || i.props && i.props.type === "number";
3395
+ is(e, t ? "change" : "input", (t) => {
3396
+ t.target.composing || e[Ts](Es(e.value, n, a));
3397
+ }), (n || a) && is(e, "change", () => {
3398
+ e.value = Es(e.value, n, a);
3399
+ }), t || (is(e, "compositionstart", Cs), is(e, "compositionend", ws), is(e, "change", ws));
3400
+ },
3401
+ mounted(e, { value: t }) {
3402
+ e.value = t ?? "";
3403
+ },
3404
+ beforeUpdate(e, { value: t, oldValue: n, modifiers: { lazy: r, trim: i, number: a } }, o) {
3405
+ if (e[Ts] = Ss(o), e.composing) return;
3406
+ let s = (a || e.type === "number") && !/^0\d/.test(e.value) ? se(e.value) : e.value, c = t ?? "";
3407
+ s !== c && (document.activeElement === e && e.type !== "range" && (r && t === n || i && e.value.trim() === c) || (e.value = c));
3408
+ }
3409
+ }, Os = {
3380
3410
  deep: !0,
3381
3411
  created(e, t, n) {
3382
- e[Cs] = Ss(n), is(e, "change", () => {
3383
- let t = e._modelValue, n = Es(e), r = e.checked, i = e[Cs];
3412
+ e[Ts] = Ss(n), is(e, "change", () => {
3413
+ let t = e._modelValue, n = As(e), r = e.checked, i = e[Ts];
3384
3414
  if (d(t)) {
3385
3415
  let e = Se(t, n), a = e !== -1;
3386
3416
  if (r && !a) i(t.concat(n));
@@ -3391,38 +3421,38 @@ var bs = typeof HTMLElement < "u" ? HTMLElement : class {}, xs = class e extends
3391
3421
  } else if (p(t)) {
3392
3422
  let e = new Set(t);
3393
3423
  r ? e.add(n) : e.delete(n), i(e);
3394
- } else i(Ds(e, r));
3424
+ } else i(js(e, r));
3395
3425
  });
3396
3426
  },
3397
- mounted: Ts,
3427
+ mounted: ks,
3398
3428
  beforeUpdate(e, t, n) {
3399
- e[Cs] = Ss(n), Ts(e, t, n);
3429
+ e[Ts] = Ss(n), ks(e, t, n);
3400
3430
  }
3401
3431
  };
3402
- function Ts(e, { value: t, oldValue: n }, r) {
3432
+ function ks(e, { value: t, oldValue: n }, r) {
3403
3433
  e._modelValue = t;
3404
3434
  let i;
3405
3435
  if (d(t)) i = Se(t, r.props.value) > -1;
3406
3436
  else if (p(t)) i = t.has(r.props.value);
3407
3437
  else {
3408
3438
  if (t === n) return;
3409
- i = xe(t, Ds(e, !0));
3439
+ i = xe(t, js(e, !0));
3410
3440
  }
3411
3441
  e.checked !== i && (e.checked = i);
3412
3442
  }
3413
- function Es(e) {
3443
+ function As(e) {
3414
3444
  return "_value" in e ? e._value : e.value;
3415
3445
  }
3416
- function Ds(e, t) {
3446
+ function js(e, t) {
3417
3447
  let n = t ? "_trueValue" : "_falseValue";
3418
3448
  return n in e ? e[n] : t;
3419
3449
  }
3420
- var Os = [
3450
+ var Ms = [
3421
3451
  "ctrl",
3422
3452
  "shift",
3423
3453
  "alt",
3424
3454
  "meta"
3425
- ], ks = {
3455
+ ], Ns = {
3426
3456
  stop: (e) => e.stopPropagation(),
3427
3457
  prevent: (e) => e.preventDefault(),
3428
3458
  self: (e) => e.target !== e.currentTarget,
@@ -3433,65 +3463,65 @@ var Os = [
3433
3463
  left: (e) => "button" in e && e.button !== 0,
3434
3464
  middle: (e) => "button" in e && e.button !== 1,
3435
3465
  right: (e) => "button" in e && e.button !== 2,
3436
- exact: (e, t) => Os.some((n) => e[`${n}Key`] && !t.includes(n))
3437
- }, As = (e, t) => {
3466
+ exact: (e, t) => Ms.some((n) => e[`${n}Key`] && !t.includes(n))
3467
+ }, Ps = (e, t) => {
3438
3468
  if (!e) return e;
3439
3469
  let n = e._withMods ||= {}, r = t.join(".");
3440
3470
  return n[r] || (n[r] = ((n, ...r) => {
3441
3471
  for (let e = 0; e < t.length; e++) {
3442
- let r = ks[t[e]];
3472
+ let r = Ns[t[e]];
3443
3473
  if (r && r(n, t)) return;
3444
3474
  }
3445
3475
  return e(n, ...r);
3446
3476
  }));
3447
- }, js = /* @__PURE__ */ s({ patchProp: gs }, xo), Ms;
3448
- function Ns() {
3449
- return Ms ||= ua(js);
3450
- }
3451
- var Ps = ((...e) => {
3452
- Ns().render(...e);
3453
- }), Fs = ((...e) => {
3454
- let t = Ns().createApp(...e), { mount: n } = t;
3477
+ }, Fs = /* @__PURE__ */ s({ patchProp: gs }, xo), Is;
3478
+ function Ls() {
3479
+ return Is ||= ua(Fs);
3480
+ }
3481
+ var Rs = ((...e) => {
3482
+ Ls().render(...e);
3483
+ }), zs = ((...e) => {
3484
+ let t = Ls().createApp(...e), { mount: n } = t;
3455
3485
  return t.mount = (e) => {
3456
- let r = Ls(e);
3486
+ let r = Vs(e);
3457
3487
  if (!r) return;
3458
3488
  let i = t._component;
3459
3489
  !h(i) && !i.render && !i.template && (i.template = r.innerHTML), r.nodeType === 1 && (r.textContent = "");
3460
- let a = n(r, !1, Is(r));
3490
+ let a = n(r, !1, Bs(r));
3461
3491
  return r instanceof Element && (r.removeAttribute("v-cloak"), r.setAttribute("data-v-app", "")), a;
3462
3492
  }, t;
3463
3493
  });
3464
- function Is(e) {
3494
+ function Bs(e) {
3465
3495
  if (e instanceof SVGElement) return "svg";
3466
3496
  if (typeof MathMLElement == "function" && e instanceof MathMLElement) return "mathml";
3467
3497
  }
3468
- function Ls(e) {
3498
+ function Vs(e) {
3469
3499
  return g(e) ? document.querySelector(e) : e;
3470
3500
  }
3471
3501
  //#endregion
3472
3502
  //#region src/compose/useOverlayStack.ts
3473
- var Rs = 100, zs = 200, Bs = 102, Vs = /* @__PURE__ */ N([]), Hs = /* @__PURE__ */ N([]), Us = /* @__PURE__ */ N([]);
3474
- function Ws() {
3475
- if (!(typeof document > "u")) if (Us.value.length > 0) {
3503
+ var Hs = 100, Us = 200, Ws = 102, Gs = /* @__PURE__ */ N([]), Ks = /* @__PURE__ */ N([]), qs = /* @__PURE__ */ N([]);
3504
+ function Js() {
3505
+ if (!(typeof document > "u")) if (qs.value.length > 0) {
3476
3506
  let e = window.innerWidth - document.documentElement.clientWidth;
3477
3507
  document.body.classList.add("g-scroll-lock"), document.body.style.paddingRight = `${e}px`, document.body.style.setProperty("--g-scrollbar-width", `${e}px`);
3478
3508
  } else document.body.style.paddingRight = "0", document.body.classList.remove("g-scroll-lock"), document.body.style.removeProperty("--g-scrollbar-width");
3479
3509
  }
3480
- function Gs(e, t = !1, n = !1) {
3510
+ function Ys(e, t = !1, n = !1) {
3481
3511
  if (typeof document > "u") return {};
3482
- let r = t ? Hs : Vs;
3512
+ let r = t ? Ks : Gs;
3483
3513
  function i() {
3484
- r.value.push(e), n && !Us.value.includes(e) && (Us.value.push(e), Ws());
3514
+ r.value.push(e), n && !qs.value.includes(e) && (qs.value.push(e), Js());
3485
3515
  }
3486
3516
  function a() {
3487
3517
  let t = r.value.lastIndexOf(e);
3488
3518
  t !== -1 && r.value.splice(t, 1);
3489
- let n = Us.value.lastIndexOf(e);
3490
- n !== -1 && (Us.value.splice(n, 1), Ws());
3519
+ let n = qs.value.lastIndexOf(e);
3520
+ n !== -1 && (qs.value.splice(n, 1), Js());
3491
3521
  }
3492
- let o = Q(() => !t && Hs.value.length > 0 ? !1 : r.value.length > 0 && r.value[r.value.length - 1] === e), s = Q(() => {
3522
+ let o = Q(() => !t && Ks.value.length > 0 ? !1 : r.value.length > 0 && r.value[r.value.length - 1] === e), s = Q(() => {
3493
3523
  let n = r.value.indexOf(e);
3494
- return n === -1 ? 0 : (t ? zs : Rs) + n;
3524
+ return n === -1 ? 0 : (t ? Us : Hs) + n;
3495
3525
  });
3496
3526
  return Jr(a), {
3497
3527
  push: i,
@@ -3500,42 +3530,42 @@ function Gs(e, t = !1, n = !1) {
3500
3530
  zIndex: s
3501
3531
  };
3502
3532
  }
3503
- function Ks() {
3533
+ function Xs() {
3504
3534
  return typeof document > "u" ? {} : {
3505
- hasModal: Q(() => Hs.value.length > 0),
3506
- hasOverlay: Q(() => Vs.value.length > 0 || Hs.value.length > 0),
3507
- hasScrollLock: Q(() => Us.value.length > 0)
3535
+ hasModal: Q(() => Ks.value.length > 0),
3536
+ hasOverlay: Q(() => Gs.value.length > 0 || Ks.value.length > 0),
3537
+ hasScrollLock: Q(() => qs.value.length > 0)
3508
3538
  };
3509
3539
  }
3510
- function qs() {
3540
+ function Zs() {
3511
3541
  let e = 0;
3512
- return Vs.value.forEach((t, n) => {
3513
- e = Math.max(e, Rs + n);
3514
- }), Hs.value.forEach((t, n) => {
3515
- e = Math.max(e, zs + n);
3516
- }), e > 0 ? e + 1 : Bs;
3542
+ return Gs.value.forEach((t, n) => {
3543
+ e = Math.max(e, Hs + n);
3544
+ }), Ks.value.forEach((t, n) => {
3545
+ e = Math.max(e, Us + n);
3546
+ }), e > 0 ? e + 1 : Ws;
3517
3547
  }
3518
3548
  //#endregion
3519
3549
  //#region ../../node_modules/@vueuse/shared/dist/index.js
3520
- function Js(e, t) {
3550
+ function Qs(e, t) {
3521
3551
  return Oe() ? (ke(e, t), !0) : !1;
3522
3552
  }
3523
- var Ys = /* @__PURE__ */ new WeakMap(), Xs = (...e) => {
3553
+ var $s = /* @__PURE__ */ new WeakMap(), ec = (...e) => {
3524
3554
  let t = e[0], n = qa()?.proxy ?? Oe();
3525
3555
  if (n == null && !Jn()) throw Error("injectLocal must be called in setup");
3526
- return n && Ys.has(n) && t in Ys.get(n) ? Ys.get(n)[t] : qn(...e);
3527
- }, Zs = typeof window < "u" && typeof document < "u";
3556
+ return n && $s.has(n) && t in $s.get(n) ? $s.get(n)[t] : qn(...e);
3557
+ }, tc = typeof window < "u" && typeof document < "u";
3528
3558
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
3529
- var Qs = (e) => e != null, $s = Object.prototype.toString, ec = (e) => $s.call(e) === "[object Object]", tc = () => {};
3530
- function nc(...e) {
3559
+ var nc = (e) => e != null, rc = Object.prototype.toString, ic = (e) => rc.call(e) === "[object Object]", ac = () => {};
3560
+ function oc(...e) {
3531
3561
  if (e.length !== 1) return /* @__PURE__ */ fn(...e);
3532
3562
  let t = e[0];
3533
3563
  return typeof t == "function" ? /* @__PURE__ */ Wt(ln(() => ({
3534
3564
  get: t,
3535
- set: tc
3565
+ set: ac
3536
3566
  }))) : /* @__PURE__ */ N(t);
3537
3567
  }
3538
- function rc(e, t) {
3568
+ function sc(e, t) {
3539
3569
  function n(...n) {
3540
3570
  return new Promise((r, i) => {
3541
3571
  Promise.resolve(e(() => t.apply(this, n), {
@@ -3547,10 +3577,10 @@ function rc(e, t) {
3547
3577
  }
3548
3578
  return n;
3549
3579
  }
3550
- var ic = (e) => e();
3551
- function ac(e, t = {}) {
3552
- let n, r, i = tc, a = (e) => {
3553
- clearTimeout(e), i(), i = tc;
3580
+ var cc = (e) => e();
3581
+ function lc(e, t = {}) {
3582
+ let n, r, i = ac, a = (e) => {
3583
+ clearTimeout(e), i(), i = ac;
3554
3584
  }, o;
3555
3585
  return (s) => {
3556
3586
  let c = an(e), l = an(t.maxWait);
@@ -3563,8 +3593,8 @@ function ac(e, t = {}) {
3563
3593
  });
3564
3594
  };
3565
3595
  }
3566
- function oc(e = ic, t = {}) {
3567
- let { initialState: n = "active" } = t, r = nc(n === "active");
3596
+ function uc(e = cc, t = {}) {
3597
+ let { initialState: n = "active" } = t, r = oc(n === "active");
3568
3598
  function i() {
3569
3599
  r.value = !1;
3570
3600
  }
@@ -3580,7 +3610,7 @@ function oc(e = ic, t = {}) {
3580
3610
  }
3581
3611
  };
3582
3612
  }
3583
- function sc(e) {
3613
+ function dc(e) {
3584
3614
  let t;
3585
3615
  function n() {
3586
3616
  return t ||= e(), t;
@@ -3590,26 +3620,26 @@ function sc(e) {
3590
3620
  t = void 0, e && await e;
3591
3621
  }, n;
3592
3622
  }
3593
- function cc(e) {
3623
+ function fc(e) {
3594
3624
  return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
3595
3625
  }
3596
- function lc(e) {
3626
+ function pc(e) {
3597
3627
  return Array.isArray(e) ? e : [e];
3598
3628
  }
3599
- function uc(e) {
3629
+ function mc(e) {
3600
3630
  return e || qa();
3601
3631
  }
3602
- function dc(e, t = 200, n = {}) {
3603
- return rc(ac(t, n), e);
3632
+ function hc(e, t = 200, n = {}) {
3633
+ return sc(lc(t, n), e);
3604
3634
  }
3605
- function fc(e, t, n = {}) {
3606
- let { eventFilter: r = ic, ...i } = n;
3607
- return L(e, rc(r, t), i);
3635
+ function gc(e, t, n = {}) {
3636
+ let { eventFilter: r = cc, ...i } = n;
3637
+ return L(e, sc(r, t), i);
3608
3638
  }
3609
- function pc(e, t, n = {}) {
3610
- let { eventFilter: r, initialState: i = "active", ...a } = n, { eventFilter: o, pause: s, resume: c, isActive: l } = oc(r, { initialState: i });
3639
+ function _c(e, t, n = {}) {
3640
+ let { eventFilter: r, initialState: i = "active", ...a } = n, { eventFilter: o, pause: s, resume: c, isActive: l } = uc(r, { initialState: i });
3611
3641
  return {
3612
- stop: fc(e, t, {
3642
+ stop: gc(e, t, {
3613
3643
  ...a,
3614
3644
  eventFilter: o
3615
3645
  }),
@@ -3618,10 +3648,10 @@ function pc(e, t, n = {}) {
3618
3648
  isActive: l
3619
3649
  };
3620
3650
  }
3621
- function mc(e, t = !0, n) {
3622
- uc(n) ? Gr(e, n) : t ? e() : F(e);
3651
+ function vc(e, t = !0, n) {
3652
+ mc(n) ? Gr(e, n) : t ? e() : F(e);
3623
3653
  }
3624
- function hc(e, t, n = {}) {
3654
+ function yc(e, t, n = {}) {
3625
3655
  let { immediate: r = !0, immediateCallback: i = !1 } = n, a = /* @__PURE__ */ tn(!1), o;
3626
3656
  function s() {
3627
3657
  o &&= (clearTimeout(o), void 0);
@@ -3634,13 +3664,13 @@ function hc(e, t, n = {}) {
3634
3664
  a.value = !1, o = void 0, e(...n);
3635
3665
  }, an(t));
3636
3666
  }
3637
- return r && (a.value = !0, Zs && l()), Js(c), {
3667
+ return r && (a.value = !0, tc && l()), Qs(c), {
3638
3668
  isPending: /* @__PURE__ */ Gt(a),
3639
3669
  start: l,
3640
3670
  stop: c
3641
3671
  };
3642
3672
  }
3643
- function gc(e, t, n) {
3673
+ function bc(e, t, n) {
3644
3674
  return L(e, t, {
3645
3675
  ...n,
3646
3676
  immediate: !0
@@ -3648,48 +3678,48 @@ function gc(e, t, n) {
3648
3678
  }
3649
3679
  //#endregion
3650
3680
  //#region ../../node_modules/@vueuse/core/dist/index.js
3651
- var _c = Zs ? window : void 0;
3652
- Zs && window.document;
3653
- var vc = Zs ? window.navigator : void 0;
3654
- Zs && window.location;
3655
- function yc(e) {
3681
+ var xc = tc ? window : void 0;
3682
+ tc && window.document;
3683
+ var Sc = tc ? window.navigator : void 0;
3684
+ tc && window.location;
3685
+ function Cc(e) {
3656
3686
  let t = an(e);
3657
3687
  return t?.$el ?? t;
3658
3688
  }
3659
- function bc(...e) {
3689
+ function wc(...e) {
3660
3690
  let t = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), n = Q(() => {
3661
- let t = lc(an(e[0])).filter((e) => e != null);
3691
+ let t = pc(an(e[0])).filter((e) => e != null);
3662
3692
  return t.every((e) => typeof e != "string") ? t : void 0;
3663
3693
  });
3664
- return gc(() => [
3665
- n.value?.map((e) => yc(e)) ?? [_c].filter((e) => e != null),
3666
- lc(an(n.value ? e[1] : e[0])),
3667
- lc(P(n.value ? e[2] : e[1])),
3694
+ return bc(() => [
3695
+ n.value?.map((e) => Cc(e)) ?? [xc].filter((e) => e != null),
3696
+ pc(an(n.value ? e[1] : e[0])),
3697
+ pc(P(n.value ? e[2] : e[1])),
3668
3698
  an(n.value ? e[3] : e[2])
3669
3699
  ], ([e, n, r, i], a, o) => {
3670
3700
  if (!e?.length || !n?.length || !r?.length) return;
3671
- let s = ec(i) ? { ...i } : i, c = e.flatMap((e) => n.flatMap((n) => r.map((r) => t(e, n, r, s))));
3701
+ let s = ic(i) ? { ...i } : i, c = e.flatMap((e) => n.flatMap((n) => r.map((r) => t(e, n, r, s))));
3672
3702
  o(() => {
3673
3703
  c.forEach((e) => e());
3674
3704
  });
3675
3705
  }, { flush: "post" });
3676
3706
  }
3677
- function xc() {
3707
+ function Tc() {
3678
3708
  let e = /* @__PURE__ */ tn(!1), t = qa();
3679
3709
  return t && Gr(() => {
3680
3710
  e.value = !0;
3681
3711
  }, t), e;
3682
3712
  }
3683
3713
  /* @__NO_SIDE_EFFECTS__ */
3684
- function Sc(e) {
3685
- let t = xc();
3714
+ function Ec(e) {
3715
+ let t = Tc();
3686
3716
  return Q(() => (t.value, !!e()));
3687
3717
  }
3688
- function Cc(e, t, n = {}) {
3689
- let { window: r = _c, ...i } = n, a, o = /* @__PURE__ */ Sc(() => r && "MutationObserver" in r), s = () => {
3718
+ function Dc(e, t, n = {}) {
3719
+ let { window: r = xc, ...i } = n, a, o = /* @__PURE__ */ Ec(() => r && "MutationObserver" in r), s = () => {
3690
3720
  a &&= (a.disconnect(), void 0);
3691
3721
  }, c = L(Q(() => {
3692
- let t = lc(an(e)).map(yc).filter(Qs);
3722
+ let t = pc(an(e)).map(Cc).filter(nc);
3693
3723
  return new Set(t);
3694
3724
  }), (e) => {
3695
3725
  s(), o.value && e.size && (a = new MutationObserver(t), e.forEach((e) => a.observe(e, i)));
@@ -3699,21 +3729,21 @@ function Cc(e, t, n = {}) {
3699
3729
  }), l = () => a?.takeRecords(), u = () => {
3700
3730
  c(), s();
3701
3731
  };
3702
- return Js(u), {
3732
+ return Qs(u), {
3703
3733
  isSupported: o,
3704
3734
  stop: u,
3705
3735
  takeRecords: l
3706
3736
  };
3707
3737
  }
3708
- function wc(e, t, n = {}) {
3709
- let { window: r = _c, document: i = r?.document, flush: a = "sync" } = n;
3710
- if (!r || !i) return tc;
3738
+ function Oc(e, t, n = {}) {
3739
+ let { window: r = xc, document: i = r?.document, flush: a = "sync" } = n;
3740
+ if (!r || !i) return ac;
3711
3741
  let o, s = (e) => {
3712
3742
  o?.(), o = e;
3713
3743
  }, c = Zn(() => {
3714
- let n = yc(e);
3744
+ let n = Cc(e);
3715
3745
  if (n) {
3716
- let { stop: e } = Cc(i, (e) => {
3746
+ let { stop: e } = Dc(i, (e) => {
3717
3747
  e.map((e) => [...e.removedNodes]).flat().some((e) => e === n || e.contains(n)) && t(e);
3718
3748
  }, {
3719
3749
  window: r,
@@ -3725,10 +3755,10 @@ function wc(e, t, n = {}) {
3725
3755
  }, { flush: a }), l = () => {
3726
3756
  c(), s();
3727
3757
  };
3728
- return Js(l), l;
3758
+ return Qs(l), l;
3729
3759
  }
3730
- function Tc(e = {}) {
3731
- let { window: t = _c, deep: n = !0, triggerOnRemoval: r = !1 } = e, i = e.document ?? t?.document, a = () => {
3760
+ function kc(e = {}) {
3761
+ let { window: t = xc, deep: n = !0, triggerOnRemoval: r = !1 } = e, i = e.document ?? t?.document, a = () => {
3732
3762
  let e = i?.activeElement;
3733
3763
  if (n) for (var t; e?.shadowRoot;) e = e == null || (t = e.shadowRoot) == null ? void 0 : t.activeElement;
3734
3764
  return e;
@@ -3740,39 +3770,39 @@ function Tc(e = {}) {
3740
3770
  capture: !0,
3741
3771
  passive: !0
3742
3772
  };
3743
- bc(t, "blur", (e) => {
3773
+ wc(t, "blur", (e) => {
3744
3774
  e.relatedTarget === null && s();
3745
- }, e), bc(t, "focus", s, e);
3775
+ }, e), wc(t, "focus", s, e);
3746
3776
  }
3747
- return r && wc(o, s, { document: i }), s(), o;
3777
+ return r && Oc(o, s, { document: i }), s(), o;
3748
3778
  }
3749
- var Ec = Symbol("vueuse-ssr-width");
3779
+ var Ac = Symbol("vueuse-ssr-width");
3750
3780
  /* @__NO_SIDE_EFFECTS__ */
3751
- function Dc() {
3752
- let e = Jn() ? Xs(Ec, null) : null;
3781
+ function jc() {
3782
+ let e = Jn() ? ec(Ac, null) : null;
3753
3783
  return typeof e == "number" ? e : void 0;
3754
3784
  }
3755
- function Oc(e, t = {}) {
3756
- let { window: n = _c, ssrWidth: r = /* @__PURE__ */ Dc() } = t, i = /* @__PURE__ */ Sc(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), a = /* @__PURE__ */ tn(typeof r == "number"), o = /* @__PURE__ */ tn(), s = /* @__PURE__ */ tn(!1);
3785
+ function Mc(e, t = {}) {
3786
+ let { window: n = xc, ssrWidth: r = /* @__PURE__ */ jc() } = t, i = /* @__PURE__ */ Ec(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), a = /* @__PURE__ */ tn(typeof r == "number"), o = /* @__PURE__ */ tn(), s = /* @__PURE__ */ tn(!1);
3757
3787
  return Zn(() => {
3758
3788
  if (a.value) {
3759
3789
  a.value = !i.value, s.value = an(e).split(",").some((e) => {
3760
3790
  let t = e.includes("not all"), n = e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), i = e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), a = !!(n || i);
3761
- return n && a && (a = r >= cc(n[1])), i && a && (a = r <= cc(i[1])), t ? !a : a;
3791
+ return n && a && (a = r >= fc(n[1])), i && a && (a = r <= fc(i[1])), t ? !a : a;
3762
3792
  });
3763
3793
  return;
3764
3794
  }
3765
3795
  i.value && (o.value = n.matchMedia(an(e)), s.value = o.value.matches);
3766
- }), bc(o, "change", (e) => {
3796
+ }), wc(o, "change", (e) => {
3767
3797
  s.value = e.matches;
3768
3798
  }, { passive: !0 }), Q(() => s.value);
3769
3799
  }
3770
- function kc(e, t = {}) {
3771
- let { controls: n = !1, navigator: r = vc } = t, i = /* @__PURE__ */ Sc(() => r && "permissions" in r), a = /* @__PURE__ */ tn(), o = typeof e == "string" ? { name: e } : e, s = /* @__PURE__ */ tn(), c = () => {
3800
+ function Nc(e, t = {}) {
3801
+ let { controls: n = !1, navigator: r = Sc } = t, i = /* @__PURE__ */ Ec(() => r && "permissions" in r), a = /* @__PURE__ */ tn(), o = typeof e == "string" ? { name: e } : e, s = /* @__PURE__ */ tn(), c = () => {
3772
3802
  s.value = a.value?.state ?? "prompt";
3773
3803
  };
3774
- bc(a, "change", c, { passive: !0 });
3775
- let l = sc(async () => {
3804
+ wc(a, "change", c, { passive: !0 });
3805
+ let l = dc(async () => {
3776
3806
  if (i.value) {
3777
3807
  if (!a.value) try {
3778
3808
  a.value = await r.permissions.query(o);
@@ -3790,8 +3820,8 @@ function kc(e, t = {}) {
3790
3820
  query: l
3791
3821
  } : s;
3792
3822
  }
3793
- function Ac(e = {}) {
3794
- let { navigator: t = vc, read: n = !1, source: r, copiedDuring: i = 1500, legacy: a = !1 } = e, o = /* @__PURE__ */ Sc(() => t && "clipboard" in t), s = kc("clipboard-read"), c = kc("clipboard-write"), l = Q(() => o.value || a), u = /* @__PURE__ */ tn(""), d = /* @__PURE__ */ tn(!1), f = hc(() => d.value = !1, i, { immediate: !1 });
3823
+ function Pc(e = {}) {
3824
+ let { navigator: t = Sc, read: n = !1, source: r, copiedDuring: i = 1500, legacy: a = !1 } = e, o = /* @__PURE__ */ Ec(() => t && "clipboard" in t), s = Nc("clipboard-read"), c = Nc("clipboard-write"), l = Q(() => o.value || a), u = /* @__PURE__ */ tn(""), d = /* @__PURE__ */ tn(!1), f = yc(() => d.value = !1, i, { immediate: !1 });
3795
3825
  async function p() {
3796
3826
  let e = !(o.value && _(s.value));
3797
3827
  if (!e) try {
@@ -3801,7 +3831,7 @@ function Ac(e = {}) {
3801
3831
  }
3802
3832
  e && (u.value = g());
3803
3833
  }
3804
- l.value && n && bc(["copy", "cut"], p, { passive: !0 });
3834
+ l.value && n && wc(["copy", "cut"], p, { passive: !0 });
3805
3835
  async function m(e = an(r)) {
3806
3836
  if (l.value && e != null) {
3807
3837
  let n = !(o.value && _(c.value));
@@ -3831,17 +3861,17 @@ function Ac(e = {}) {
3831
3861
  copy: m
3832
3862
  };
3833
3863
  }
3834
- var jc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Mc = "__vueuse_ssr_handlers__", Nc = /* @__PURE__ */ Pc();
3835
- function Pc() {
3836
- return Mc in jc || (jc[Mc] = jc[Mc] || {}), jc[Mc];
3864
+ var Fc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ic = "__vueuse_ssr_handlers__", Lc = /* @__PURE__ */ Rc();
3865
+ function Rc() {
3866
+ return Ic in Fc || (Fc[Ic] = Fc[Ic] || {}), Fc[Ic];
3837
3867
  }
3838
- function Fc(e, t) {
3839
- return Nc[e] || t;
3868
+ function zc(e, t) {
3869
+ return Lc[e] || t;
3840
3870
  }
3841
- function Ic(e) {
3871
+ function Bc(e) {
3842
3872
  return e == null ? "any" : e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof Date ? "date" : typeof e == "boolean" ? "boolean" : typeof e == "string" ? "string" : typeof e == "object" ? "object" : Number.isNaN(e) ? "any" : "number";
3843
3873
  }
3844
- var Lc = {
3874
+ var Vc = {
3845
3875
  boolean: {
3846
3876
  read: (e) => e === "true",
3847
3877
  write: (e) => String(e)
@@ -3874,29 +3904,29 @@ var Lc = {
3874
3904
  read: (e) => new Date(e),
3875
3905
  write: (e) => e.toISOString()
3876
3906
  }
3877
- }, Rc = "vueuse-storage";
3878
- function zc(e, t, n, r = {}) {
3879
- let { flush: i = "pre", deep: a = !0, listenToStorageChanges: o = !0, writeDefaults: s = !0, mergeDefaults: c = !1, shallow: l, window: u = _c, eventFilter: d, onError: f = (e) => {
3907
+ }, Hc = "vueuse-storage";
3908
+ function Uc(e, t, n, r = {}) {
3909
+ let { flush: i = "pre", deep: a = !0, listenToStorageChanges: o = !0, writeDefaults: s = !0, mergeDefaults: c = !1, shallow: l, window: u = xc, eventFilter: d, onError: f = (e) => {
3880
3910
  console.error(e);
3881
3911
  }, initOnMounted: p } = r, m = (l ? tn : N)(typeof t == "function" ? t() : t), h = Q(() => an(e));
3882
3912
  if (!n) try {
3883
- n = Fc("getDefaultStorage", () => _c?.localStorage)();
3913
+ n = zc("getDefaultStorage", () => xc?.localStorage)();
3884
3914
  } catch (e) {
3885
3915
  f(e);
3886
3916
  }
3887
3917
  if (!n) return m;
3888
- let g = an(t), _ = Ic(g), v = r.serializer ?? Lc[_], { pause: y, resume: b } = pc(m, (e) => C(e), {
3918
+ let g = an(t), _ = Bc(g), v = r.serializer ?? Vc[_], { pause: y, resume: b } = _c(m, (e) => C(e), {
3889
3919
  flush: i,
3890
3920
  deep: a,
3891
3921
  eventFilter: d
3892
3922
  });
3893
3923
  L(h, () => T(), { flush: i });
3894
3924
  let x = !1;
3895
- u && o && (n instanceof Storage ? bc(u, "storage", (e) => {
3925
+ u && o && (n instanceof Storage ? wc(u, "storage", (e) => {
3896
3926
  p && !x || T(e);
3897
- }, { passive: !0 }) : bc(u, Rc, (e) => {
3927
+ }, { passive: !0 }) : wc(u, Hc, (e) => {
3898
3928
  p && !x || E(e);
3899
- })), p ? mc(() => {
3929
+ })), p ? vc(() => {
3900
3930
  x = !0, T();
3901
3931
  }) : T();
3902
3932
  function S(e, t) {
@@ -3907,7 +3937,7 @@ function zc(e, t, n, r = {}) {
3907
3937
  newValue: t,
3908
3938
  storageArea: n
3909
3939
  };
3910
- u.dispatchEvent(n instanceof Storage ? new StorageEvent("storage", r) : new CustomEvent(Rc, { detail: r }));
3940
+ u.dispatchEvent(n instanceof Storage ? new StorageEvent("storage", r) : new CustomEvent(Hc, { detail: r }));
3911
3941
  }
3912
3942
  }
3913
3943
  function C(e) {
@@ -3958,12 +3988,12 @@ function zc(e, t, n, r = {}) {
3958
3988
  }
3959
3989
  return m;
3960
3990
  }
3961
- function Bc(e, t, n = {}) {
3962
- let { window: r = _c, ...i } = n, a, o = /* @__PURE__ */ Sc(() => r && "ResizeObserver" in r), s = () => {
3991
+ function Wc(e, t, n = {}) {
3992
+ let { window: r = xc, ...i } = n, a, o = /* @__PURE__ */ Ec(() => r && "ResizeObserver" in r), s = () => {
3963
3993
  a &&= (a.disconnect(), void 0);
3964
3994
  }, c = L(Q(() => {
3965
3995
  let t = an(e);
3966
- return Array.isArray(t) ? t.map((e) => yc(e)) : [yc(t)];
3996
+ return Array.isArray(t) ? t.map((e) => Cc(e)) : [Cc(t)];
3967
3997
  }), (e) => {
3968
3998
  if (s(), o.value && r) {
3969
3999
  a = new ResizeObserver(t);
@@ -3975,28 +4005,28 @@ function Bc(e, t, n = {}) {
3975
4005
  }), l = () => {
3976
4006
  s(), c();
3977
4007
  };
3978
- return Js(l), {
4008
+ return Qs(l), {
3979
4009
  isSupported: o,
3980
4010
  stop: l
3981
4011
  };
3982
4012
  }
3983
- var Vc = "focusin", Hc = "focusout", Uc = ":focus-within";
3984
- function Wc(e, t = {}) {
3985
- let { window: n = _c } = t, r = Q(() => yc(e)), i = /* @__PURE__ */ tn(!1), a = Q(() => i.value), o = Tc(t);
4013
+ var Gc = "focusin", Kc = "focusout", qc = ":focus-within";
4014
+ function Jc(e, t = {}) {
4015
+ let { window: n = xc } = t, r = Q(() => Cc(e)), i = /* @__PURE__ */ tn(!1), a = Q(() => i.value), o = kc(t);
3986
4016
  if (!n || !o.value) return { focused: a };
3987
4017
  let s = { passive: !0 };
3988
- return bc(r, Vc, () => i.value = !0, s), bc(r, Hc, () => {
4018
+ return wc(r, Gc, () => i.value = !0, s), wc(r, Kc, () => {
3989
4019
  var e, t;
3990
- return i.value = ((e = r.value) == null || (t = e.matches) == null ? void 0 : t.call(e, Uc)) ?? !1;
4020
+ return i.value = ((e = r.value) == null || (t = e.matches) == null ? void 0 : t.call(e, qc)) ?? !1;
3991
4021
  }, s), { focused: a };
3992
4022
  }
3993
- function Gc(e, t, n = {}) {
3994
- let { window: r = _c } = n;
3995
- return zc(e, t, r?.sessionStorage, n);
4023
+ function Yc(e, t, n = {}) {
4024
+ let { window: r = xc } = n;
4025
+ return Uc(e, t, r?.sessionStorage, n);
3996
4026
  }
3997
4027
  //#endregion
3998
4028
  //#region ../../node_modules/tabbable/dist/index.esm.js
3999
- var Kc = [
4029
+ var Xc = [
4000
4030
  "input:not([inert]):not([inert] *)",
4001
4031
  "select:not([inert]):not([inert] *)",
4002
4032
  "textarea:not([inert]):not([inert] *)",
@@ -4008,35 +4038,35 @@ var Kc = [
4008
4038
  "[contenteditable]:not([contenteditable=\"false\"]):not([inert]):not([inert] *)",
4009
4039
  "details>summary:first-of-type:not([inert]):not([inert] *)",
4010
4040
  "details:not([inert]):not([inert] *)"
4011
- ], qc = /* #__PURE__ */ Kc.join(","), Jc = typeof Element > "u", Yc = Jc ? function() {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Xc = !Jc && Element.prototype.getRootNode ? function(e) {
4041
+ ], Zc = /* #__PURE__ */ Xc.join(","), Qc = typeof Element > "u", $c = Qc ? function() {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, el = !Qc && Element.prototype.getRootNode ? function(e) {
4012
4042
  return e?.getRootNode?.call(e);
4013
4043
  } : function(e) {
4014
4044
  return e?.ownerDocument;
4015
- }, Zc = function(e, t) {
4045
+ }, tl = function(e, t) {
4016
4046
  t === void 0 && (t = !0);
4017
4047
  var n = e?.getAttribute?.call(e, "inert");
4018
- return n === "" || n === "true" || t && e && (typeof e.closest == "function" ? e.closest("[inert]") : Zc(e.parentNode));
4019
- }, Qc = function(e) {
4048
+ return n === "" || n === "true" || t && e && (typeof e.closest == "function" ? e.closest("[inert]") : tl(e.parentNode));
4049
+ }, nl = function(e) {
4020
4050
  var t = e?.getAttribute?.call(e, "contenteditable");
4021
4051
  return t === "" || t === "true";
4022
- }, $c = function(e, t, n) {
4023
- if (Zc(e)) return [];
4024
- var r = Array.prototype.slice.apply(e.querySelectorAll(qc));
4025
- return t && Yc.call(e, qc) && r.unshift(e), r = r.filter(n), r;
4026
- }, el = function(e, t, n) {
4052
+ }, rl = function(e, t, n) {
4053
+ if (tl(e)) return [];
4054
+ var r = Array.prototype.slice.apply(e.querySelectorAll(Zc));
4055
+ return t && $c.call(e, Zc) && r.unshift(e), r = r.filter(n), r;
4056
+ }, il = function(e, t, n) {
4027
4057
  for (var r = [], i = Array.from(e); i.length;) {
4028
4058
  var a = i.shift();
4029
- if (!Zc(a, !1)) if (a.tagName === "SLOT") {
4030
- var o = a.assignedElements(), s = el(o.length ? o : a.children, !0, n);
4059
+ if (!tl(a, !1)) if (a.tagName === "SLOT") {
4060
+ var o = a.assignedElements(), s = il(o.length ? o : a.children, !0, n);
4031
4061
  n.flatten ? r.push.apply(r, s) : r.push({
4032
4062
  scopeParent: a,
4033
4063
  candidates: s
4034
4064
  });
4035
4065
  } else {
4036
- Yc.call(a, qc) && n.filter(a) && (t || !e.includes(a)) && r.push(a);
4037
- var c = a.shadowRoot || typeof n.getShadowRoot == "function" && n.getShadowRoot(a), l = !Zc(c, !1) && (!n.shadowRootFilter || n.shadowRootFilter(a));
4066
+ $c.call(a, Zc) && n.filter(a) && (t || !e.includes(a)) && r.push(a);
4067
+ var c = a.shadowRoot || typeof n.getShadowRoot == "function" && n.getShadowRoot(a), l = !tl(c, !1) && (!n.shadowRootFilter || n.shadowRootFilter(a));
4038
4068
  if (c && l) {
4039
- var u = el(c === !0 ? a.children : c.children, !0, n);
4069
+ var u = il(c === !0 ? a.children : c.children, !0, n);
4040
4070
  n.flatten ? r.push.apply(r, u) : r.push({
4041
4071
  scopeParent: a,
4042
4072
  candidates: u
@@ -4045,29 +4075,29 @@ var Kc = [
4045
4075
  }
4046
4076
  }
4047
4077
  return r;
4048
- }, tl = function(e) {
4078
+ }, al = function(e) {
4049
4079
  return !isNaN(parseInt(e.getAttribute("tabindex"), 10));
4050
- }, nl = function(e) {
4080
+ }, ol = function(e) {
4051
4081
  if (!e) throw Error("No node provided");
4052
- return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || Qc(e)) && !tl(e) ? 0 : e.tabIndex;
4053
- }, rl = function(e, t) {
4054
- var n = nl(e);
4055
- return n < 0 && t && !tl(e) ? 0 : n;
4056
- }, il = function(e, t) {
4082
+ return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || nl(e)) && !al(e) ? 0 : e.tabIndex;
4083
+ }, sl = function(e, t) {
4084
+ var n = ol(e);
4085
+ return n < 0 && t && !al(e) ? 0 : n;
4086
+ }, cl = function(e, t) {
4057
4087
  return e.tabIndex === t.tabIndex ? e.documentOrder - t.documentOrder : e.tabIndex - t.tabIndex;
4058
- }, al = function(e) {
4088
+ }, ll = function(e) {
4059
4089
  return e.tagName === "INPUT";
4060
- }, ol = function(e) {
4061
- return al(e) && e.type === "hidden";
4062
- }, sl = function(e) {
4090
+ }, ul = function(e) {
4091
+ return ll(e) && e.type === "hidden";
4092
+ }, dl = function(e) {
4063
4093
  return e.tagName === "DETAILS" && Array.prototype.slice.apply(e.children).some(function(e) {
4064
4094
  return e.tagName === "SUMMARY";
4065
4095
  });
4066
- }, cl = function(e, t) {
4096
+ }, fl = function(e, t) {
4067
4097
  for (var n = 0; n < e.length; n++) if (e[n].checked && e[n].form === t) return e[n];
4068
- }, ll = function(e) {
4098
+ }, pl = function(e) {
4069
4099
  if (!e.name) return !0;
4070
- var t = e.form || Xc(e), n = function(e) {
4100
+ var t = e.form || el(e), n = function(e) {
4071
4101
  return t.querySelectorAll("input[type=\"radio\"][name=\"" + e + "\"]");
4072
4102
  }, r;
4073
4103
  if (typeof window < "u" && window.CSS !== void 0 && typeof window.CSS.escape == "function") r = n(window.CSS.escape(e.name));
@@ -4076,26 +4106,26 @@ var Kc = [
4076
4106
  } catch (e) {
4077
4107
  return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", e.message), !1;
4078
4108
  }
4079
- var i = cl(r, e.form);
4109
+ var i = fl(r, e.form);
4080
4110
  return !i || i === e;
4081
- }, ul = function(e) {
4082
- return al(e) && e.type === "radio";
4083
- }, dl = function(e) {
4084
- return ul(e) && !ll(e);
4085
- }, fl = function(e) {
4086
- var t = e && Xc(e), n = t?.host, r = !1;
4111
+ }, ml = function(e) {
4112
+ return ll(e) && e.type === "radio";
4113
+ }, hl = function(e) {
4114
+ return ml(e) && !pl(e);
4115
+ }, gl = function(e) {
4116
+ var t = e && el(e), n = t?.host, r = !1;
4087
4117
  if (t && t !== e) {
4088
4118
  var i, a, o;
4089
4119
  for (r = !!((i = n) != null && (a = i.ownerDocument) != null && a.contains(n) || e != null && (o = e.ownerDocument) != null && o.contains(e)); !r && n;) {
4090
4120
  var s, c;
4091
- t = Xc(n), n = t?.host, r = !!((s = n) != null && (c = s.ownerDocument) != null && c.contains(n));
4121
+ t = el(n), n = t?.host, r = !!((s = n) != null && (c = s.ownerDocument) != null && c.contains(n));
4092
4122
  }
4093
4123
  }
4094
4124
  return r;
4095
- }, pl = function(e) {
4125
+ }, _l = function(e) {
4096
4126
  var t = e.getBoundingClientRect(), n = t.width, r = t.height;
4097
4127
  return n === 0 && r === 0;
4098
- }, ml = function(e, t) {
4128
+ }, vl = function(e, t) {
4099
4129
  var n = t.displayCheck, r = t.getShadowRoot;
4100
4130
  if (n === "full-native" && "checkVisibility" in e) return !e.checkVisibility({
4101
4131
  checkOpacity: !1,
@@ -4105,44 +4135,44 @@ var Kc = [
4105
4135
  checkVisibilityCSS: !0
4106
4136
  });
4107
4137
  if (getComputedStyle(e).visibility === "hidden") return !0;
4108
- var i = Yc.call(e, "details>summary:first-of-type") ? e.parentElement : e;
4109
- if (Yc.call(i, "details:not([open]) *")) return !0;
4138
+ var i = $c.call(e, "details>summary:first-of-type") ? e.parentElement : e;
4139
+ if ($c.call(i, "details:not([open]) *")) return !0;
4110
4140
  if (!n || n === "full" || n === "full-native" || n === "legacy-full") {
4111
4141
  if (typeof r == "function") {
4112
4142
  for (var a = e; e;) {
4113
- var o = e.parentElement, s = Xc(e);
4114
- if (o && !o.shadowRoot && r(o) === !0) return pl(e);
4143
+ var o = e.parentElement, s = el(e);
4144
+ if (o && !o.shadowRoot && r(o) === !0) return _l(e);
4115
4145
  e = e.assignedSlot ? e.assignedSlot : !o && s !== e.ownerDocument ? s.host : o;
4116
4146
  }
4117
4147
  e = a;
4118
4148
  }
4119
- if (fl(e)) return !e.getClientRects().length;
4149
+ if (gl(e)) return !e.getClientRects().length;
4120
4150
  if (n !== "legacy-full") return !0;
4121
- } else if (n === "non-zero-area") return pl(e);
4151
+ } else if (n === "non-zero-area") return _l(e);
4122
4152
  return !1;
4123
- }, hl = function(e) {
4153
+ }, yl = function(e) {
4124
4154
  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName)) for (var t = e.parentElement; t;) {
4125
4155
  if (t.tagName === "FIELDSET" && t.disabled) {
4126
4156
  for (var n = 0; n < t.children.length; n++) {
4127
4157
  var r = t.children.item(n);
4128
- if (r.tagName === "LEGEND") return Yc.call(t, "fieldset[disabled] *") ? !0 : !r.contains(e);
4158
+ if (r.tagName === "LEGEND") return $c.call(t, "fieldset[disabled] *") ? !0 : !r.contains(e);
4129
4159
  }
4130
4160
  return !0;
4131
4161
  }
4132
4162
  t = t.parentElement;
4133
4163
  }
4134
4164
  return !1;
4135
- }, gl = function(e, t) {
4136
- return !(t.disabled || ol(t) || ml(t, e) || sl(t) || hl(t));
4137
- }, _l = function(e, t) {
4138
- return !(dl(t) || nl(t) < 0 || !gl(e, t));
4139
- }, vl = function(e) {
4165
+ }, bl = function(e, t) {
4166
+ return !(t.disabled || ul(t) || vl(t, e) || dl(t) || yl(t));
4167
+ }, xl = function(e, t) {
4168
+ return !(hl(t) || ol(t) < 0 || !bl(e, t));
4169
+ }, Sl = function(e) {
4140
4170
  var t = parseInt(e.getAttribute("tabindex"), 10);
4141
4171
  return !!(isNaN(t) || t >= 0);
4142
- }, yl = function(e) {
4172
+ }, Cl = function(e) {
4143
4173
  var t = [], n = [];
4144
4174
  return e.forEach(function(e, r) {
4145
- var i = !!e.scopeParent, a = i ? e.scopeParent : e, o = rl(a, i), s = i ? yl(e.candidates) : a;
4175
+ var i = !!e.scopeParent, a = i ? e.scopeParent : e, o = sl(a, i), s = i ? Cl(e.candidates) : a;
4146
4176
  o === 0 ? i ? t.push.apply(t, s) : t.push(a) : n.push({
4147
4177
  documentOrder: r,
4148
4178
  tabIndex: o,
@@ -4150,43 +4180,43 @@ var Kc = [
4150
4180
  isScope: i,
4151
4181
  content: s
4152
4182
  });
4153
- }), n.sort(il).reduce(function(e, t) {
4183
+ }), n.sort(cl).reduce(function(e, t) {
4154
4184
  return t.isScope ? e.push.apply(e, t.content) : e.push(t.content), e;
4155
4185
  }, []).concat(t);
4156
- }, bl = function(e, t) {
4157
- return t ||= {}, yl(t.getShadowRoot ? el([e], t.includeContainer, {
4158
- filter: _l.bind(null, t),
4186
+ }, wl = function(e, t) {
4187
+ return t ||= {}, Cl(t.getShadowRoot ? il([e], t.includeContainer, {
4188
+ filter: xl.bind(null, t),
4159
4189
  flatten: !1,
4160
4190
  getShadowRoot: t.getShadowRoot,
4161
- shadowRootFilter: vl
4162
- }) : $c(e, t.includeContainer, _l.bind(null, t)));
4163
- }, xl = function(e, t) {
4164
- return t ||= {}, t.getShadowRoot ? el([e], t.includeContainer, {
4165
- filter: gl.bind(null, t),
4191
+ shadowRootFilter: Sl
4192
+ }) : rl(e, t.includeContainer, xl.bind(null, t)));
4193
+ }, Tl = function(e, t) {
4194
+ return t ||= {}, t.getShadowRoot ? il([e], t.includeContainer, {
4195
+ filter: bl.bind(null, t),
4166
4196
  flatten: !0,
4167
4197
  getShadowRoot: t.getShadowRoot
4168
- }) : $c(e, t.includeContainer, gl.bind(null, t));
4169
- }, Sl = function(e, t) {
4198
+ }) : rl(e, t.includeContainer, bl.bind(null, t));
4199
+ }, El = function(e, t) {
4170
4200
  if (t ||= {}, !e) throw Error("No node provided");
4171
- return Yc.call(e, qc) === !1 ? !1 : _l(t, e);
4172
- }, Cl = /* #__PURE__ */ Kc.concat("iframe:not([inert]):not([inert] *)").join(","), wl = function(e, t) {
4201
+ return $c.call(e, Zc) === !1 ? !1 : xl(t, e);
4202
+ }, Dl = /* #__PURE__ */ Xc.concat("iframe:not([inert]):not([inert] *)").join(","), Ol = function(e, t) {
4173
4203
  if (t ||= {}, !e) throw Error("No node provided");
4174
- return Yc.call(e, Cl) === !1 ? !1 : gl(t, e);
4204
+ return $c.call(e, Dl) === !1 ? !1 : bl(t, e);
4175
4205
  };
4176
4206
  //#endregion
4177
4207
  //#region ../../node_modules/focus-trap/dist/focus-trap.esm.js
4178
- function Tl(e, t) {
4208
+ function kl(e, t) {
4179
4209
  (t == null || t > e.length) && (t = e.length);
4180
4210
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
4181
4211
  return r;
4182
4212
  }
4183
- function El(e) {
4184
- if (Array.isArray(e)) return Tl(e);
4213
+ function Al(e) {
4214
+ if (Array.isArray(e)) return kl(e);
4185
4215
  }
4186
- function Dl(e, t) {
4216
+ function jl(e, t) {
4187
4217
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
4188
4218
  if (!n) {
4189
- if (Array.isArray(e) || (n = Il(e)) || t) {
4219
+ if (Array.isArray(e) || (n = Bl(e)) || t) {
4190
4220
  n && (e = n);
4191
4221
  var r = 0, i = function() {};
4192
4222
  return {
@@ -4226,21 +4256,21 @@ function Dl(e, t) {
4226
4256
  }
4227
4257
  };
4228
4258
  }
4229
- function Ol(e, t, n) {
4230
- return (t = Fl(t)) in e ? Object.defineProperty(e, t, {
4259
+ function Ml(e, t, n) {
4260
+ return (t = zl(t)) in e ? Object.defineProperty(e, t, {
4231
4261
  value: n,
4232
4262
  enumerable: !0,
4233
4263
  configurable: !0,
4234
4264
  writable: !0
4235
4265
  }) : e[t] = n, e;
4236
4266
  }
4237
- function kl(e) {
4267
+ function Nl(e) {
4238
4268
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
4239
4269
  }
4240
- function Al() {
4270
+ function Pl() {
4241
4271
  throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
4242
4272
  }
4243
- function jl(e, t) {
4273
+ function Fl(e, t) {
4244
4274
  var n = Object.keys(e);
4245
4275
  if (Object.getOwnPropertySymbols) {
4246
4276
  var r = Object.getOwnPropertySymbols(e);
@@ -4250,21 +4280,21 @@ function jl(e, t) {
4250
4280
  }
4251
4281
  return n;
4252
4282
  }
4253
- function Ml(e) {
4283
+ function Il(e) {
4254
4284
  for (var t = 1; t < arguments.length; t++) {
4255
4285
  var n = arguments[t] == null ? {} : arguments[t];
4256
- t % 2 ? jl(Object(n), !0).forEach(function(t) {
4257
- Ol(e, t, n[t]);
4258
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jl(Object(n)).forEach(function(t) {
4286
+ t % 2 ? Fl(Object(n), !0).forEach(function(t) {
4287
+ Ml(e, t, n[t]);
4288
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Fl(Object(n)).forEach(function(t) {
4259
4289
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
4260
4290
  });
4261
4291
  }
4262
4292
  return e;
4263
4293
  }
4264
- function Nl(e) {
4265
- return El(e) || kl(e) || Il(e) || Al();
4294
+ function Ll(e) {
4295
+ return Al(e) || Nl(e) || Bl(e) || Pl();
4266
4296
  }
4267
- function Pl(e, t) {
4297
+ function Rl(e, t) {
4268
4298
  if (typeof e != "object" || !e) return e;
4269
4299
  var n = e[Symbol.toPrimitive];
4270
4300
  if (n !== void 0) {
@@ -4274,62 +4304,62 @@ function Pl(e, t) {
4274
4304
  }
4275
4305
  return (t === "string" ? String : Number)(e);
4276
4306
  }
4277
- function Fl(e) {
4278
- var t = Pl(e, "string");
4307
+ function zl(e) {
4308
+ var t = Rl(e, "string");
4279
4309
  return typeof t == "symbol" ? t : t + "";
4280
4310
  }
4281
- function Il(e, t) {
4311
+ function Bl(e, t) {
4282
4312
  if (e) {
4283
- if (typeof e == "string") return Tl(e, t);
4313
+ if (typeof e == "string") return kl(e, t);
4284
4314
  var n = {}.toString.call(e).slice(8, -1);
4285
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Tl(e, t) : void 0;
4315
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? kl(e, t) : void 0;
4286
4316
  }
4287
4317
  }
4288
- var Ll = {
4318
+ var Vl = {
4289
4319
  getActiveTrap: function(e) {
4290
4320
  return e?.length > 0 ? e[e.length - 1] : null;
4291
4321
  },
4292
4322
  activateTrap: function(e, t) {
4293
- t !== Ll.getActiveTrap(e) && Ll.pauseTrap(e);
4323
+ t !== Vl.getActiveTrap(e) && Vl.pauseTrap(e);
4294
4324
  var n = e.indexOf(t);
4295
4325
  n === -1 || e.splice(n, 1), e.push(t);
4296
4326
  },
4297
4327
  deactivateTrap: function(e, t) {
4298
4328
  var n = e.indexOf(t);
4299
- n !== -1 && e.splice(n, 1), Ll.unpauseTrap(e);
4329
+ n !== -1 && e.splice(n, 1), Vl.unpauseTrap(e);
4300
4330
  },
4301
4331
  pauseTrap: function(e) {
4302
- Ll.getActiveTrap(e)?._setPausedState(!0);
4332
+ Vl.getActiveTrap(e)?._setPausedState(!0);
4303
4333
  },
4304
4334
  unpauseTrap: function(e) {
4305
- var t = Ll.getActiveTrap(e);
4335
+ var t = Vl.getActiveTrap(e);
4306
4336
  t && !t._isManuallyPaused() && t._setPausedState(!1);
4307
4337
  }
4308
- }, Rl = function(e) {
4338
+ }, Hl = function(e) {
4309
4339
  return e.tagName && e.tagName.toLowerCase() === "input" && typeof e.select == "function";
4310
- }, zl = function(e) {
4340
+ }, Ul = function(e) {
4311
4341
  return e?.key === "Escape" || e?.key === "Esc" || e?.keyCode === 27;
4312
- }, Bl = function(e) {
4342
+ }, Wl = function(e) {
4313
4343
  return e?.key === "Tab" || e?.keyCode === 9;
4314
- }, Vl = function(e) {
4315
- return Bl(e) && !e.shiftKey;
4316
- }, Hl = function(e) {
4317
- return Bl(e) && e.shiftKey;
4318
- }, Ul = function(e) {
4344
+ }, Gl = function(e) {
4345
+ return Wl(e) && !e.shiftKey;
4346
+ }, Kl = function(e) {
4347
+ return Wl(e) && e.shiftKey;
4348
+ }, ql = function(e) {
4319
4349
  return setTimeout(e, 0);
4320
- }, Wl = function(e) {
4350
+ }, Jl = function(e) {
4321
4351
  var t = [...arguments].slice(1);
4322
4352
  return typeof e == "function" ? e.apply(void 0, t) : e;
4323
- }, Gl = function(e) {
4353
+ }, Yl = function(e) {
4324
4354
  return e.target.shadowRoot && typeof e.composedPath == "function" ? e.composedPath()[0] : e.target;
4325
- }, Kl = [], ql = function(e, t) {
4326
- var n = t?.document || document, r = t?.trapStack || Kl, i = Ml({
4355
+ }, Xl = [], Zl = function(e, t) {
4356
+ var n = t?.document || document, r = t?.trapStack || Xl, i = Il({
4327
4357
  returnFocusOnDeactivate: !0,
4328
4358
  escapeDeactivates: !0,
4329
4359
  delayInitialFocus: !0,
4330
4360
  isolateSubtrees: !1,
4331
- isKeyForward: Vl,
4332
- isKeyBackward: Hl
4361
+ isKeyForward: Gl,
4362
+ isKeyBackward: Kl
4333
4363
  }, t), a = {
4334
4364
  containers: [],
4335
4365
  containerGroups: [],
@@ -4355,7 +4385,7 @@ var Ll = {
4355
4385
  });
4356
4386
  }, l = function(e) {
4357
4387
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = t.hasFallback, a = r === void 0 ? !1 : r, o = t.params, s = o === void 0 ? [] : o, c = i[e];
4358
- if (typeof c == "function" && (c = c.apply(void 0, Nl(s))), c === !0 && (c = void 0), !c) {
4388
+ if (typeof c == "function" && (c = c.apply(void 0, Ll(s))), c === !0 && (c = void 0), !c) {
4359
4389
  if (c === void 0 || c === !1) return c;
4360
4390
  throw Error(`\`${e}\` was specified but was not a node, or did not return a node`);
4361
4391
  }
@@ -4372,7 +4402,7 @@ var Ll = {
4372
4402
  }, u = function() {
4373
4403
  var e = l("initialFocus", { hasFallback: !0 });
4374
4404
  if (e === !1) return !1;
4375
- if (e === void 0 || e && !wl(e, i.tabbableOptions)) if (c(n.activeElement) >= 0) e = n.activeElement;
4405
+ if (e === void 0 || e && !Ol(e, i.tabbableOptions)) if (c(n.activeElement) >= 0) e = n.activeElement;
4376
4406
  else {
4377
4407
  var t = a.tabbableGroups[0];
4378
4408
  e = t && t.firstTabbableNode || l("fallbackFocus");
@@ -4382,17 +4412,17 @@ var Ll = {
4382
4412
  return e;
4383
4413
  }, d = function() {
4384
4414
  if (a.containerGroups = a.containers.map(function(e) {
4385
- var t = bl(e, i.tabbableOptions), n = xl(e, i.tabbableOptions), r = t.length > 0 ? t[0] : void 0, a = t.length > 0 ? t[t.length - 1] : void 0, o = n.find(function(e) {
4386
- return Sl(e);
4415
+ var t = wl(e, i.tabbableOptions), n = Tl(e, i.tabbableOptions), r = t.length > 0 ? t[0] : void 0, a = t.length > 0 ? t[t.length - 1] : void 0, o = n.find(function(e) {
4416
+ return El(e);
4387
4417
  }), s = n.slice().reverse().find(function(e) {
4388
- return Sl(e);
4418
+ return El(e);
4389
4419
  });
4390
4420
  return {
4391
4421
  container: e,
4392
4422
  tabbableNodes: t,
4393
4423
  focusableNodes: n,
4394
4424
  posTabIndexesFound: !!t.find(function(e) {
4395
- return nl(e) > 0;
4425
+ return ol(e) > 0;
4396
4426
  }),
4397
4427
  firstTabbableNode: r,
4398
4428
  lastTabbableNode: a,
@@ -4401,9 +4431,9 @@ var Ll = {
4401
4431
  nextTabbableNode: function(e) {
4402
4432
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, i = t.indexOf(e);
4403
4433
  return i < 0 ? r ? n.slice(n.indexOf(e) + 1).find(function(e) {
4404
- return Sl(e);
4434
+ return El(e);
4405
4435
  }) : n.slice(0, n.indexOf(e)).reverse().find(function(e) {
4406
- return Sl(e);
4436
+ return El(e);
4407
4437
  }) : t[i + (r ? 1 : -1)];
4408
4438
  }
4409
4439
  };
@@ -4422,14 +4452,14 @@ var Ll = {
4422
4452
  p(u());
4423
4453
  return;
4424
4454
  }
4425
- e.focus({ preventScroll: !!i.preventScroll }), a.mostRecentlyFocusedNode = e, Rl(e) && e.select();
4455
+ e.focus({ preventScroll: !!i.preventScroll }), a.mostRecentlyFocusedNode = e, Hl(e) && e.select();
4426
4456
  }
4427
4457
  }, m = function(e) {
4428
4458
  var t = l("setReturnFocus", { params: [e] });
4429
4459
  return t || (t === !1 ? !1 : e);
4430
4460
  }, h = function(e) {
4431
4461
  var t = e.target, n = e.event, r = e.isBackward, o = r === void 0 ? !1 : r;
4432
- t ||= Gl(n), d();
4462
+ t ||= Yl(n), d();
4433
4463
  var s = null;
4434
4464
  if (a.tabbableGroups.length > 0) {
4435
4465
  var u = c(t, n), f = u >= 0 ? a.containerGroups[u] : void 0;
@@ -4439,37 +4469,37 @@ var Ll = {
4439
4469
  var n = e.firstTabbableNode;
4440
4470
  return t === n;
4441
4471
  });
4442
- if (p < 0 && (f.container === t || wl(t, i.tabbableOptions) && !Sl(t, i.tabbableOptions) && !f.nextTabbableNode(t, !1)) && (p = u), p >= 0) {
4472
+ if (p < 0 && (f.container === t || Ol(t, i.tabbableOptions) && !El(t, i.tabbableOptions) && !f.nextTabbableNode(t, !1)) && (p = u), p >= 0) {
4443
4473
  var m = p === 0 ? a.tabbableGroups.length - 1 : p - 1, h = a.tabbableGroups[m];
4444
- s = nl(t) >= 0 ? h.lastTabbableNode : h.lastDomTabbableNode;
4445
- } else Bl(n) || (s = f.nextTabbableNode(t, !1));
4474
+ s = ol(t) >= 0 ? h.lastTabbableNode : h.lastDomTabbableNode;
4475
+ } else Wl(n) || (s = f.nextTabbableNode(t, !1));
4446
4476
  } else {
4447
4477
  var g = a.tabbableGroups.findIndex(function(e) {
4448
4478
  var n = e.lastTabbableNode;
4449
4479
  return t === n;
4450
4480
  });
4451
- if (g < 0 && (f.container === t || wl(t, i.tabbableOptions) && !Sl(t, i.tabbableOptions) && !f.nextTabbableNode(t)) && (g = u), g >= 0) {
4481
+ if (g < 0 && (f.container === t || Ol(t, i.tabbableOptions) && !El(t, i.tabbableOptions) && !f.nextTabbableNode(t)) && (g = u), g >= 0) {
4452
4482
  var _ = g === a.tabbableGroups.length - 1 ? 0 : g + 1, v = a.tabbableGroups[_];
4453
- s = nl(t) >= 0 ? v.firstTabbableNode : v.firstDomTabbableNode;
4454
- } else Bl(n) || (s = f.nextTabbableNode(t));
4483
+ s = ol(t) >= 0 ? v.firstTabbableNode : v.firstDomTabbableNode;
4484
+ } else Wl(n) || (s = f.nextTabbableNode(t));
4455
4485
  }
4456
4486
  } else s = l("fallbackFocus");
4457
4487
  return s;
4458
4488
  }, g = function(e) {
4459
- if (!(c(Gl(e), e) >= 0)) {
4460
- if (Wl(i.clickOutsideDeactivates, e)) {
4489
+ if (!(c(Yl(e), e) >= 0)) {
4490
+ if (Jl(i.clickOutsideDeactivates, e)) {
4461
4491
  o.deactivate({ returnFocus: i.returnFocusOnDeactivate });
4462
4492
  return;
4463
4493
  }
4464
- Wl(i.allowOutsideClick, e) || e.preventDefault();
4494
+ Jl(i.allowOutsideClick, e) || e.preventDefault();
4465
4495
  }
4466
4496
  }, _ = function(e) {
4467
- var t = Gl(e), n = c(t, e) >= 0;
4497
+ var t = Yl(e), n = c(t, e) >= 0;
4468
4498
  if (n || t instanceof Document) n && (a.mostRecentlyFocusedNode = t);
4469
4499
  else {
4470
4500
  e.stopImmediatePropagation();
4471
4501
  var r, o = !0;
4472
- if (a.mostRecentlyFocusedNode) if (nl(a.mostRecentlyFocusedNode) > 0) {
4502
+ if (a.mostRecentlyFocusedNode) if (ol(a.mostRecentlyFocusedNode) > 0) {
4473
4503
  var s = c(a.mostRecentlyFocusedNode), l = a.containerGroups[s].tabbableNodes;
4474
4504
  if (l.length > 0) {
4475
4505
  var d = l.findIndex(function(e) {
@@ -4479,7 +4509,7 @@ var Ll = {
4479
4509
  }
4480
4510
  } else a.containerGroups.some(function(e) {
4481
4511
  return e.tabbableNodes.some(function(e) {
4482
- return nl(e) > 0;
4512
+ return ol(e) > 0;
4483
4513
  });
4484
4514
  }) || (o = !1);
4485
4515
  else o = !1;
@@ -4496,15 +4526,15 @@ var Ll = {
4496
4526
  event: e,
4497
4527
  isBackward: t
4498
4528
  });
4499
- n && (Bl(e) && e.preventDefault(), p(n));
4529
+ n && (Wl(e) && e.preventDefault(), p(n));
4500
4530
  }, y = function(e) {
4501
4531
  (i.isKeyForward(e) || i.isKeyBackward(e)) && v(e, i.isKeyBackward(e));
4502
4532
  }, b = function(e) {
4503
- zl(e) && Wl(i.escapeDeactivates, e) !== !1 && (e.preventDefault(), o.deactivate());
4533
+ Ul(e) && Jl(i.escapeDeactivates, e) !== !1 && (e.preventDefault(), o.deactivate());
4504
4534
  }, x = function(e) {
4505
- c(Gl(e), e) >= 0 || Wl(i.clickOutsideDeactivates, e) || Wl(i.allowOutsideClick, e) || (e.preventDefault(), e.stopImmediatePropagation());
4535
+ c(Yl(e), e) >= 0 || Jl(i.clickOutsideDeactivates, e) || Jl(i.allowOutsideClick, e) || (e.preventDefault(), e.stopImmediatePropagation());
4506
4536
  }, S = function() {
4507
- if (a.active) return Ll.activateTrap(r, o), a.delayInitialFocusTimer = i.delayInitialFocus ? Ul(function() {
4537
+ if (a.active) return Vl.activateTrap(r, o), a.delayInitialFocusTimer = i.delayInitialFocus ? ql(function() {
4508
4538
  p(u());
4509
4539
  }) : p(u()), n.addEventListener("focusin", _, !0), n.addEventListener("mousedown", g, {
4510
4540
  capture: !0,
@@ -4521,7 +4551,7 @@ var Ll = {
4521
4551
  }), n.addEventListener("keydown", b), o;
4522
4552
  }, C = function(e) {
4523
4553
  a.active && !a.paused && o._setSubtreeIsolation(!1), a.adjacentElements.clear(), a.alreadySilent.clear();
4524
- var t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = Dl(e), i;
4554
+ var t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = jl(e), i;
4525
4555
  try {
4526
4556
  for (r.s(); !(i = r.n()).done;) {
4527
4557
  var s = i.value;
@@ -4530,7 +4560,7 @@ var Ll = {
4530
4560
  t.add(l);
4531
4561
  var u = l.parentElement, d = [];
4532
4562
  u ? d = u.children : !u && c && (d = l.getRootNode().children, u = l.getRootNode().host, c = typeof ShadowRoot < "u" && u.getRootNode() instanceof ShadowRoot);
4533
- var f = Dl(d), p;
4563
+ var f = jl(d), p;
4534
4564
  try {
4535
4565
  for (f.s(); !(p = f.n()).done;) {
4536
4566
  var m = p.value;
@@ -4577,7 +4607,7 @@ var Ll = {
4577
4607
  },
4578
4608
  activate: function(e) {
4579
4609
  if (a.active) return this;
4580
- var t = s(e, "onActivate"), c = s(e, "onPostActivate"), l = s(e, "checkCanFocusTrap"), u = Ll.getActiveTrap(r), p = !1;
4610
+ var t = s(e, "onActivate"), c = s(e, "onPostActivate"), l = s(e, "checkCanFocusTrap"), u = Vl.getActiveTrap(r), p = !1;
4581
4611
  if (u && !u.paused) {
4582
4612
  var m;
4583
4613
  (m = u._setSubtreeIsolation) == null || m.call(u, !1), p = !0;
@@ -4590,7 +4620,7 @@ var Ll = {
4590
4620
  if (l) return l(a.containers.concat()).then(h, h), this;
4591
4621
  h();
4592
4622
  } catch (e) {
4593
- if (u === Ll.getActiveTrap(r) && p) {
4623
+ if (u === Vl.getActiveTrap(r) && p) {
4594
4624
  var g;
4595
4625
  (g = u._setSubtreeIsolation) == null || g.call(u, !0);
4596
4626
  }
@@ -4600,16 +4630,16 @@ var Ll = {
4600
4630
  },
4601
4631
  deactivate: function(e) {
4602
4632
  if (!a.active) return this;
4603
- var t = Ml({
4633
+ var t = Il({
4604
4634
  onDeactivate: i.onDeactivate,
4605
4635
  onPostDeactivate: i.onPostDeactivate,
4606
4636
  checkCanReturnFocus: i.checkCanReturnFocus
4607
4637
  }, e);
4608
- clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, a.paused || o._setSubtreeIsolation(!1), a.alreadySilent.clear(), w(), a.active = !1, a.paused = !1, E(), Ll.deactivateTrap(r, o);
4638
+ clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, a.paused || o._setSubtreeIsolation(!1), a.alreadySilent.clear(), w(), a.active = !1, a.paused = !1, E(), Vl.deactivateTrap(r, o);
4609
4639
  var n = s(t, "onDeactivate"), c = s(t, "onPostDeactivate"), l = s(t, "checkCanReturnFocus"), u = s(t, "returnFocus", "returnFocusOnDeactivate");
4610
4640
  n?.();
4611
4641
  var d = function() {
4612
- Ul(function() {
4642
+ ql(function() {
4613
4643
  u && p(m(a.nodeFocusedBeforeActivation)), c?.();
4614
4644
  });
4615
4645
  };
@@ -4665,13 +4695,13 @@ var Ll = {
4665
4695
  };
4666
4696
  //#endregion
4667
4697
  //#region ../../node_modules/@vueuse/integrations/dist/useFocusTrap-lXZ_YG-8.js
4668
- function Jl(e, t = {}) {
4698
+ function Ql(e, t = {}) {
4669
4699
  let n, { immediate: r, ...i } = t, a = /* @__PURE__ */ tn(!1), o = /* @__PURE__ */ tn(!1), s = (e) => n && n.activate(e), c = (e) => n && n.deactivate(e);
4670
- return L(Q(() => lc(an(e)).map((e) => {
4700
+ return L(Q(() => pc(an(e)).map((e) => {
4671
4701
  let t = an(e);
4672
- return typeof t == "string" ? t : yc(t);
4673
- }).filter(Qs)), (e) => {
4674
- if (e.length) if (!n) n = ql(e, {
4702
+ return typeof t == "string" ? t : Cc(t);
4703
+ }).filter(nc)), (e) => {
4704
+ if (e.length) if (!n) n = Zl(e, {
4675
4705
  ...i,
4676
4706
  onActivate() {
4677
4707
  a.value = !0, t.onActivate && t.onActivate();
@@ -4684,7 +4714,7 @@ function Jl(e, t = {}) {
4684
4714
  let t = n?.active;
4685
4715
  n?.updateContainerElements(e), !t && r && s();
4686
4716
  }
4687
- }, { flush: "post" }), Js(() => c()), {
4717
+ }, { flush: "post" }), Qs(() => c()), {
4688
4718
  hasFocus: a,
4689
4719
  isPaused: o,
4690
4720
  activate: s,
@@ -4699,7 +4729,7 @@ function Jl(e, t = {}) {
4699
4729
  }
4700
4730
  //#endregion
4701
4731
  //#region src/compose/useOverlayFocus.ts
4702
- var Yl = [
4732
+ var $l = [
4703
4733
  "a[href]",
4704
4734
  "button:not([disabled])",
4705
4735
  "input:not([disabled])",
@@ -4708,8 +4738,8 @@ var Yl = [
4708
4738
  "[tabindex]:not([tabindex='-1'])",
4709
4739
  "[contenteditable='true']"
4710
4740
  ].join(",");
4711
- function Xl(e, t, n = !1) {
4712
- let r = /* @__PURE__ */ N(!1), i = () => !!e.value?.querySelector(Yl), { activate: a, deactivate: o, pause: s, unpause: c } = Jl(e, {
4741
+ function eu(e, t, n = !1) {
4742
+ let r = /* @__PURE__ */ N(!1), i = () => !!e.value?.querySelector($l), { activate: a, deactivate: o, pause: s, unpause: c } = Ql(e, {
4713
4743
  immediate: !1,
4714
4744
  clickOutsideDeactivates: n,
4715
4745
  initialFocus: () => {
@@ -4753,7 +4783,7 @@ function Xl(e, t, n = !1) {
4753
4783
  }
4754
4784
  //#endregion
4755
4785
  //#region src/compose/useOverlayEscape.ts
4756
- function Zl(e, t, n, r, i) {
4786
+ function tu(e, t, n, r, i) {
4757
4787
  function a(i) {
4758
4788
  if (!(!n.value || !t.value)) {
4759
4789
  for (let t of e) if (t.value?.contains(i.target)) return;
@@ -4773,10 +4803,10 @@ function Zl(e, t, n, r, i) {
4773
4803
  }
4774
4804
  //#endregion
4775
4805
  //#region src/compose/useCustomElementAttrs.ts
4776
- function Ql() {
4806
+ function nu() {
4777
4807
  return globalThis.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ === !0;
4778
4808
  }
4779
- function $l(e = {}) {
4809
+ function ru(e = {}) {
4780
4810
  let t = di(), n = globalThis.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ === !0, r = e.omitInCustomElement ?? [];
4781
4811
  return {
4782
4812
  attrs: t,
@@ -4791,7 +4821,7 @@ function $l(e = {}) {
4791
4821
  }
4792
4822
  //#endregion
4793
4823
  //#region src/components/GButton.vue?vue&type=script&setup=true&lang.ts
4794
- var eu = { class: "g-btn--icon" }, tu = { class: "g-btn--label" }, nu = /*@__PURE__*/ R({
4824
+ var iu = { class: "g-btn--icon" }, au = { class: "g-btn--label" }, ou = /*@__PURE__*/ R({
4795
4825
  inheritAttrs: !1,
4796
4826
  __name: "GButton",
4797
4827
  props: {
@@ -4840,7 +4870,7 @@ var eu = { class: "g-btn--icon" }, tu = { class: "g-btn--label" }, nu = /*@__PUR
4840
4870
  "mouseleave"
4841
4871
  ],
4842
4872
  setup(e) {
4843
- let t = e, n = ui(), { forwardedAttrs: r } = $l({ omitInCustomElement: ["id"] }), i = Q(() => [
4873
+ let t = e, n = ui(), { forwardedAttrs: r } = ru({ omitInCustomElement: ["id"] }), i = Q(() => [
4844
4874
  "g-btn",
4845
4875
  `g-btn--${t.size}`,
4846
4876
  `g-btn--${t.theme}`,
@@ -4868,11 +4898,11 @@ var eu = { class: "g-btn--icon" }, tu = { class: "g-btn--label" }, nu = /*@__PUR
4868
4898
  onMouseenter: o[7] ||= (e) => a.$emit("mouseenter", e),
4869
4899
  onMouseleave: o[8] ||= (e) => a.$emit("mouseleave", e)
4870
4900
  }), {
4871
- default: I(() => [e.icon || n.icon ? (G(), K(W, { key: 0 }, [J("span", eu, [n.icon ? V(a.$slots, "icon", { key: 0 }) : (G(), K("span", {
4901
+ default: I(() => [e.icon || n.icon ? (G(), K(W, { key: 0 }, [J("span", iu, [n.icon ? V(a.$slots, "icon", { key: 0 }) : (G(), K("span", {
4872
4902
  key: 1,
4873
4903
  class: k(e.icon + " g-btn--icon-span"),
4874
4904
  "aria-hidden": "true"
4875
- }, null, 2))]), J("span", tu, [V(a.$slots, "default")])], 64)) : V(a.$slots, "default", { key: 1 })]),
4905
+ }, null, 2))]), J("span", au, [V(a.$slots, "default")])], 64)) : V(a.$slots, "default", { key: 1 })]),
4876
4906
  _: 3
4877
4907
  }, 16, [
4878
4908
  "to",
@@ -4884,11 +4914,11 @@ var eu = { class: "g-btn--icon" }, tu = { class: "g-btn--label" }, nu = /*@__PUR
4884
4914
  let n = e.__vccOpts || e;
4885
4915
  for (let [e, r] of t) n[e] = r;
4886
4916
  return n;
4887
- }, ru = /*#__PURE__*/ $(nu, [["styles", [""]]]), iu = [
4917
+ }, su = /*#__PURE__*/ $(ou, [["styles", [""]]]), cu = [
4888
4918
  "id",
4889
4919
  "aria-labelledby",
4890
4920
  "aria-describedby"
4891
- ], au = { class: "g-alertdialog-inner" }, ou = ["id"], su = ["id"], cu = { class: "g-alertdialog-actions" }, lu = /*#__PURE__*/ $(/* @__PURE__ */ R({
4921
+ ], lu = { class: "g-alertdialog-inner" }, uu = ["id"], du = ["id"], fu = { class: "g-alertdialog-actions" }, pu = /*#__PURE__*/ $(/* @__PURE__ */ R({
4892
4922
  __name: "GAlertDialog",
4893
4923
  props: {
4894
4924
  label: {
@@ -4906,11 +4936,11 @@ var eu = { class: "g-btn--icon" }, tu = { class: "g-btn--label" }, nu = /*@__PUR
4906
4936
  },
4907
4937
  emits: ["cancel", "confirm"],
4908
4938
  setup(e, { emit: t }) {
4909
- let n = e, r = t, i = /* @__PURE__ */ N(null), a = /* @__PURE__ */ N(!0), o = z(), { pop: s, push: c, isTop: l, zIndex: u } = Gs(o, !0, !0), { deactivate: d, activate: f } = Xl(i, l);
4939
+ let n = e, r = t, i = /* @__PURE__ */ N(null), a = /* @__PURE__ */ N(!0), o = z(), { pop: s, push: c, isTop: l, zIndex: u } = Ys(o, !0, !0), { deactivate: d, activate: f } = eu(i, l);
4910
4940
  function p() {
4911
4941
  r("cancel");
4912
4942
  }
4913
- return Zl([i], l, a, p, s), Gr(() => {
4943
+ return tu([i], l, a, p, s), Gr(() => {
4914
4944
  c(), f();
4915
4945
  }), Wr(() => {
4916
4946
  s(), d();
@@ -4928,39 +4958,39 @@ var eu = { class: "g-btn--icon" }, tu = { class: "g-btn--label" }, nu = /*@__PUR
4928
4958
  ref_key: "dialog",
4929
4959
  ref: i,
4930
4960
  style: de({ zIndex: P(u) })
4931
- }, [J("div", au, [
4961
+ }, [J("div", lu, [
4932
4962
  J("h2", {
4933
4963
  id: "alertdialog-label-" + P(o),
4934
4964
  class: "g-alertdialog-label"
4935
- }, A(n.label), 9, ou),
4965
+ }, A(n.label), 9, uu),
4936
4966
  J("div", {
4937
4967
  id: "alertdialog-description-" + P(o),
4938
4968
  class: "g-alertdialog-content"
4939
- }, [V(e.$slots, "default")], 8, su),
4940
- J("div", cu, [Y(ru, {
4969
+ }, [V(e.$slots, "default")], 8, du),
4970
+ J("div", fu, [Y(su, {
4941
4971
  outlined: "",
4942
4972
  onClick: t[0] ||= (e) => r("cancel")
4943
4973
  }, {
4944
4974
  default: I(() => [...t[2] ||= [X("Cancel", -1)]]),
4945
4975
  _: 1
4946
- }), Y(ru, {
4976
+ }), Y(su, {
4947
4977
  theme: n.buttonColor,
4948
4978
  onClick: t[1] ||= (e) => r("confirm")
4949
4979
  }, {
4950
4980
  default: I(() => [X(A(n.buttonText), 1)]),
4951
4981
  _: 1
4952
4982
  }, 8, ["theme"])])
4953
- ])], 12, iu)]),
4983
+ ])], 12, cu)]),
4954
4984
  _: 3
4955
4985
  })]));
4956
4986
  }
4957
- }), [["styles", [""]]]), uu = { class: /*@__PURE__*/ k({ "g-app-header": !0 }) }, du = { class: "g-app-header__brand" }, fu = {
4987
+ }), [["styles", [""]]]), mu = { class: /*@__PURE__*/ k({ "g-app-header": !0 }) }, hu = { class: "g-app-header__brand" }, gu = {
4958
4988
  class: "g-app-header__brand-text",
4959
4989
  href: "/"
4960
- }, pu = {
4990
+ }, _u = {
4961
4991
  key: 0,
4962
4992
  class: "g-app-header__block-i-container"
4963
- }, mu = { class: "g-app-header__title" }, hu = { class: "g-app-header__app-controls-wrap" }, gu = /*#__PURE__*/ $(/* @__PURE__ */ R({
4993
+ }, vu = { class: "g-app-header__title" }, yu = { class: "g-app-header__app-controls-wrap" }, bu = /*#__PURE__*/ $(/* @__PURE__ */ R({
4964
4994
  __name: "GAppHeader",
4965
4995
  props: {
4966
4996
  illinois: {
@@ -4973,10 +5003,10 @@ var eu = { class: "g-btn--icon" }, tu = { class: "g-btn--label" }, nu = /*@__PUR
4973
5003
  }
4974
5004
  },
4975
5005
  setup(e) {
4976
- return (t, n) => (G(), K("header", uu, [
5006
+ return (t, n) => (G(), K("header", mu, [
4977
5007
  n[1] ||= J("div", { class: "g-app-header__background" }, [J("div", { class: "g-app-header__background-pattern" }), J("div", { class: "g-app-header__background-gradient" })], -1),
4978
- J("div", du, [V(t.$slots, "left", {}, () => [J("a", fu, A(e.brand), 1)])]),
4979
- e.illinois ? (G(), K("div", pu, [...n[0] ||= [J("svg", {
5008
+ J("div", hu, [V(t.$slots, "left", {}, () => [J("a", gu, A(e.brand), 1)])]),
5009
+ e.illinois ? (G(), K("div", _u, [...n[0] ||= [J("svg", {
4980
5010
  class: "g-app-header__block-i",
4981
5011
  role: "img",
4982
5012
  width: "55",
@@ -4993,14 +5023,14 @@ var eu = { class: "g-btn--icon" }, tu = { class: "g-btn--label" }, nu = /*@__PUR
4993
5023
  d: "M42.1 18.1h9V3H3v15h9c1.7 0 3 1.3 3 3v36.1c0 1.7-1.3 3-3 3H3v15h48.1v-15h-9c-1.7 0-3-1.3-3-3v-36c0-1.7 1.4-3 3-3z"
4994
5024
  })
4995
5025
  ], -1)]])) : V(t.$slots, "icon", { key: 1 }),
4996
- J("div", mu, [V(t.$slots, "title")]),
4997
- J("div", hu, [V(t.$slots, "app-controls", { class: "g-app-header__app-controls" })])
5026
+ J("div", vu, [V(t.$slots, "title")]),
5027
+ J("div", yu, [V(t.$slots, "app-controls", { class: "g-app-header__app-controls" })])
4998
5028
  ]));
4999
5029
  }
5000
5030
  }), [["styles", [""]]]);
5001
5031
  //#endregion
5002
5032
  //#region src/compose/useForm.ts
5003
- function _u() {
5033
+ function xu() {
5004
5034
  let e = /* @__PURE__ */ Ut({}), t = /* @__PURE__ */ N(!1), n = Q(() => {
5005
5035
  let t = {};
5006
5036
  return Object.entries(e).forEach(([e, n]) => {
@@ -5042,18 +5072,18 @@ function _u() {
5042
5072
  }
5043
5073
  //#endregion
5044
5074
  //#region src/compose/useWebComponentForm.ts
5045
- function vu() {
5075
+ function Su() {
5046
5076
  let e = globalThis;
5047
5077
  return e.__GRAD_VUE_WC_FORMS__ ||= /* @__PURE__ */ new Map(), e.__GRAD_VUE_WC_FORMS__;
5048
5078
  }
5049
- function yu(e = "default") {
5050
- let t = vu(), n = e || "default";
5051
- return t.has(n) || t.set(n, _u()), t.get(n);
5079
+ function Cu(e = "default") {
5080
+ let t = Su(), n = e || "default";
5081
+ return t.has(n) || t.set(n, xu()), t.get(n);
5052
5082
  }
5053
5083
  //#endregion
5054
5084
  //#region src/compose/useFormField.ts
5055
- function bu(e) {
5056
- let t = di(), n = typeof t["form-key"] == "string" ? t["form-key"] : void 0, r = e.formKey ?? n ?? "default", i = qn("form", null) ?? (Ql() ? yu(r) : null), a = Q(() => {
5085
+ function wu(e) {
5086
+ let t = di(), n = typeof t["form-key"] == "string" ? t["form-key"] : void 0, r = e.formKey ?? n ?? "default", i = qn("form", null) ?? (nu() ? Cu(r) : null), a = Q(() => {
5057
5087
  let t = [];
5058
5088
  return e.errors && t.push(...e.errors.value.filter(Boolean)), t;
5059
5089
  }), o = Q(() => a.value.length > 0), s = e.name;
@@ -5072,7 +5102,7 @@ function bu(e) {
5072
5102
  }
5073
5103
  //#endregion
5074
5104
  //#region src/components/form/GFormErrorMessages.vue?vue&type=script&setup=true&lang.ts
5075
- var xu = ["id"], Su = /*#__PURE__*/ $(/* @__PURE__ */ R({
5105
+ var Tu = ["id"], Eu = /*#__PURE__*/ $(/* @__PURE__ */ R({
5076
5106
  __name: "GFormErrorMessages",
5077
5107
  props: {
5078
5108
  errors: { type: Array },
@@ -5089,28 +5119,29 @@ var xu = ["id"], Su = /*#__PURE__*/ $(/* @__PURE__ */ R({
5089
5119
  class: "g-form-error-message"
5090
5120
  }, [n[0] ||= J("svg", {
5091
5121
  class: "g-form-error-icon",
5122
+ role: "none",
5092
5123
  xmlns: "http://www.w3.org/2000/svg",
5093
5124
  viewBox: "0 0 640 640"
5094
5125
  }, [J("path", {
5095
5126
  fill: "currentColor",
5096
5127
  d: "M320 64C334.7 64 348.2 72.1 355.2 85L571.2 485C577.9 497.4 577.6 512.4 570.4 524.5C563.2 536.6 550.1 544 536 544L104 544C89.9 544 76.8 536.6 69.6 524.5C62.4 512.4 62.1 497.4 68.8 485L284.8 85C291.8 72.1 305.3 64 320 64zM320 416C302.3 416 288 430.3 288 448C288 465.7 302.3 480 320 480C337.7 480 352 465.7 352 448C352 430.3 337.7 416 320 416zM320 224C301.8 224 287.3 239.5 288.6 257.7L296 361.7C296.9 374.2 307.4 384 319.9 384C332.5 384 342.9 374.3 343.8 361.7L351.2 257.7C352.5 239.5 338.1 224 319.8 224z"
5097
- })], -1), X(" " + A(e), 1)]))), 128))], 8, xu)) : Z("", !0);
5128
+ })], -1), X(" " + A(e), 1)]))), 128))], 8, Tu)) : Z("", !0);
5098
5129
  }
5099
- }), [["styles", [""]]]), Cu = {
5130
+ }), [["styles", [""]]]), Du = {
5100
5131
  key: 0,
5101
5132
  class: "g-checkbox-group__legend"
5102
- }, wu = {
5133
+ }, Ou = {
5103
5134
  key: 0,
5104
5135
  class: "g-checkbox-group__required",
5105
5136
  "aria-hidden": "true"
5106
- }, Tu = {
5137
+ }, ku = {
5107
5138
  key: 1,
5108
5139
  class: "g-checkbox-group__label"
5109
- }, Eu = {
5140
+ }, Au = {
5110
5141
  key: 0,
5111
5142
  class: "g-checkbox-group__required",
5112
5143
  "aria-hidden": "true"
5113
- }, Du = ["id"], Ou = { class: "g-checkbox-group__options" }, ku = ["for"], Au = [
5144
+ }, ju = ["id"], Mu = { class: "g-checkbox-group__options" }, Nu = ["for"], Pu = [
5114
5145
  "id",
5115
5146
  "type",
5116
5147
  "name",
@@ -5119,7 +5150,7 @@ var xu = ["id"], Su = /*#__PURE__*/ $(/* @__PURE__ */ R({
5119
5150
  "disabled",
5120
5151
  "required",
5121
5152
  "onChange"
5122
- ], ju = { class: "g-checkbox-group__label-text" }, Mu = ["id"], Nu = /*#__PURE__*/ $(/* @__PURE__ */ R({
5153
+ ], Fu = { class: "g-checkbox-group__label-text" }, Iu = ["id"], Lu = /*#__PURE__*/ $(/* @__PURE__ */ R({
5123
5154
  __name: "GCheckboxGroup",
5124
5155
  props: /*@__PURE__*/ H({
5125
5156
  label: {
@@ -5157,7 +5188,7 @@ var xu = ["id"], Su = /*#__PURE__*/ $(/* @__PURE__ */ R({
5157
5188
  }),
5158
5189
  emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
5159
5190
  setup(e, { emit: t }) {
5160
- let n = e, r = U(e, "modelValue"), i = z(), { displayErrors: a, hasErrors: o } = bu({
5191
+ let n = e, r = U(e, "modelValue"), i = z(), { displayErrors: a, hasErrors: o } = wu({
5161
5192
  name: n.name,
5162
5193
  value: r,
5163
5194
  errors: /* @__PURE__ */ fn(n, "errors"),
@@ -5189,20 +5220,19 @@ var xu = ["id"], Su = /*#__PURE__*/ $(/* @__PURE__ */ R({
5189
5220
  let r = [];
5190
5221
  return !n.radio && n.instructions && r.push(f.value), e.hint && r.push(h(t)), n.radio ? { "aria-describedby": r.length ? r.join(" ") : void 0 } : {
5191
5222
  "aria-describedby": r.length ? r.join(" ") : void 0,
5192
- "aria-required": n.required && n.options.length > 1 ? "true" : void 0,
5193
5223
  "aria-invalid": o.value ? "true" : "false",
5194
5224
  "aria-errormessage": o.value ? d.value : void 0
5195
5225
  };
5196
5226
  }
5197
5227
  return (t, n) => (G(), q(ni(p.value ? "fieldset" : "div"), Va({ class: ["g-checkbox-group", { "g-checkbox-group--error": P(o) }] }, m.value), {
5198
5228
  default: I(() => [
5199
- p.value && e.label ? (G(), K("legend", Cu, [X(A(e.label), 1), e.required ? (G(), K("span", wu, "\xA0*")) : Z("", !0)])) : !p.value && e.label ? (G(), K("div", Tu, [X(A(e.label), 1), e.required ? (G(), K("span", Eu, "\xA0*")) : Z("", !0)])) : Z("", !0),
5229
+ p.value && e.label ? (G(), K("legend", Du, [X(A(e.label), 1), e.required ? (G(), K("span", Ou, "\xA0*")) : Z("", !0)])) : !p.value && e.label ? (G(), K("div", ku, [X(A(e.label), 1), e.required ? (G(), K("span", Au, "\xA0*")) : Z("", !0)])) : Z("", !0),
5200
5230
  e.instructions ? (G(), K("div", {
5201
5231
  key: 2,
5202
5232
  id: f.value,
5203
5233
  class: "g-checkbox-group__instructions"
5204
- }, A(e.instructions), 9, Du)) : Z("", !0),
5205
- J("div", Ou, [(G(!0), K(W, null, B(e.options, (t, n) => (G(), K("div", {
5234
+ }, A(e.instructions), 9, ju)) : Z("", !0),
5235
+ J("div", Mu, [(G(!0), K(W, null, B(e.options, (t, n) => (G(), K("div", {
5206
5236
  key: t.value,
5207
5237
  class: k(["g-checkbox-group__option-wrapper", { "g-checkbox-group__option-wrapper--disabled": t.disabled }])
5208
5238
  }, [J("label", {
@@ -5217,12 +5247,12 @@ var xu = ["id"], Su = /*#__PURE__*/ $(/* @__PURE__ */ R({
5217
5247
  disabled: t.disabled,
5218
5248
  required: e.required && (e.radio && n === 0 || !e.radio && e.options.length === 1),
5219
5249
  class: "g-checkbox-group__input"
5220
- }, { ref_for: !0 }, _(t, n), { onChange: (e) => l(t.value, e.target.checked) }), null, 16, Au), J("span", ju, A(t.label), 1)], 10, ku), t.hint ? (G(), K("div", {
5250
+ }, { ref_for: !0 }, _(t, n), { onChange: (e) => l(t.value, e.target.checked) }), null, 16, Pu), J("span", Fu, A(t.label), 1)], 10, Nu), t.hint ? (G(), K("div", {
5221
5251
  key: 0,
5222
5252
  id: h(n),
5223
5253
  class: "g-checkbox-group__hint"
5224
- }, A(t.hint), 9, Mu)) : Z("", !0)], 2))), 128))]),
5225
- Y(Su, {
5254
+ }, A(t.hint), 9, Iu)) : Z("", !0)], 2))), 128))]),
5255
+ Y(Eu, {
5226
5256
  errors: P(a),
5227
5257
  id: d.value
5228
5258
  }, null, 8, ["errors", "id"])
@@ -5233,7 +5263,7 @@ var xu = ["id"], Su = /*#__PURE__*/ $(/* @__PURE__ */ R({
5233
5263
  }), [["styles", [""]]]);
5234
5264
  //#endregion
5235
5265
  //#region src/compose/popoverPosition.ts
5236
- function Pu(e, t, n, r) {
5266
+ function Ru(e, t, n, r) {
5237
5267
  let i = r?.gap ?? 8, a = r?.margin ?? 16, o = r?.preferAbove ?? !1, s = !1, c = !1, l;
5238
5268
  o ? e.top - t.height - i > n.top + a ? (l = e.top - t.height - i, s = !0) : e.bottom + t.height + i <= n.bottom - a ? l = e.bottom + i : (l = n.top + a, c = !0) : e.bottom + t.height + i > n.bottom - a && e.top - t.height - i > n.top + a ? (l = e.top - t.height - i, s = !0) : e.bottom + t.height + i > n.bottom - a && e.top - t.height - i <= n.top + a ? (l = n.top + a, c = !0) : l = e.bottom + i;
5239
5269
  let u = e.left + (e.width - t.width) / 2;
@@ -5249,51 +5279,51 @@ function Pu(e, t, n, r) {
5249
5279
  }
5250
5280
  //#endregion
5251
5281
  //#region src/compose/tooltipDom.ts
5252
- var Fu = 1;
5253
- function Iu(e = "v-gtooltip") {
5254
- return `${e}-${++Fu}`;
5282
+ var zu = 1;
5283
+ function Bu(e = "v-gtooltip") {
5284
+ return `${e}-${++zu}`;
5255
5285
  }
5256
- function Lu(e, t = "v-gtooltip") {
5286
+ function Vu(e, t = "v-gtooltip") {
5257
5287
  let n = e.getAttribute("aria-describedby");
5258
5288
  if (n) return n;
5259
- let r = Iu(t);
5289
+ let r = Bu(t);
5260
5290
  return e.setAttribute("aria-describedby", r), r;
5261
5291
  }
5262
- function Ru(e, t) {
5292
+ function Hu(e, t) {
5263
5293
  let n = document.createElement("div");
5264
5294
  return n.className = "v-gtooltip", n.textContent = e, n.setAttribute("role", "tooltip"), n.setAttribute("id", t), n;
5265
5295
  }
5266
- function zu(e) {
5296
+ function Uu(e) {
5267
5297
  (document.getElementById("modal-root") ?? document.body).appendChild(e);
5268
5298
  }
5269
- function Bu(e, t) {
5270
- let n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), { top: i, left: a, placedAbove: o } = Pu(n, r, new DOMRect(0, 0, window.innerWidth, window.innerHeight), {
5299
+ function Wu(e, t) {
5300
+ let n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), { top: i, left: a, placedAbove: o } = Ru(n, r, new DOMRect(0, 0, window.innerWidth, window.innerHeight), {
5271
5301
  gap: 8,
5272
5302
  margin: 8,
5273
5303
  preferAbove: !0
5274
5304
  }), s = (n.left + n.width / 2 - a) / r.width * 100;
5275
- t.style.setProperty("--v-gtooltip-arrow-x", `${s}%`), t.classList.remove("v-gtooltip-bottom"), o || t.classList.add("v-gtooltip-bottom"), t.style.left = `${a}px`, t.style.top = `${i}px`, t.style.zIndex = `${qs()}`, t.style.opacity = "1";
5305
+ t.style.setProperty("--v-gtooltip-arrow-x", `${s}%`), t.classList.remove("v-gtooltip-bottom"), o || t.classList.add("v-gtooltip-bottom"), t.style.left = `${a}px`, t.style.top = `${i}px`, t.style.zIndex = `${Zs()}`, t.style.visibility = "visible", t.style.opacity = "1";
5276
5306
  }
5277
- function Vu(e) {
5278
- e.style.opacity = "0";
5307
+ function Gu(e) {
5308
+ e.style.opacity = "0", e.style.visibility = "hidden";
5279
5309
  }
5280
5310
  //#endregion
5281
5311
  //#region src/directives/v-gtooltip.ts
5282
- var Hu = {
5312
+ var Ku = {
5283
5313
  mounted(e, t) {
5284
- let n = /* @__PURE__ */ N(null), r = /* @__PURE__ */ N(!1), i = /* @__PURE__ */ N(!1), a = /* @__PURE__ */ N(t.value), o = null, s = !1, c = Lu(e), l = () => {
5285
- n.value || (n.value = Ru(a.value, c), zu(n.value), o = new ResizeObserver(() => {
5286
- n.value && (r.value || i.value) && Bu(e, n.value);
5314
+ let n = /* @__PURE__ */ N(null), r = /* @__PURE__ */ N(!1), i = /* @__PURE__ */ N(!1), a = /* @__PURE__ */ N(t.value), o = null, s = !1, c = Vu(e), l = () => {
5315
+ n.value || (n.value = Hu(a.value, c), Uu(n.value), o = new ResizeObserver(() => {
5316
+ n.value && (r.value || i.value) && Wu(e, n.value);
5287
5317
  }), o.observe(n.value));
5288
5318
  };
5289
5319
  Zn(() => {
5290
5320
  n.value && (n.value.textContent = a.value);
5291
5321
  });
5292
5322
  let u = () => {
5293
- n.value && (r.value || i.value) && Bu(e, n.value);
5323
+ n.value && (r.value || i.value) && Wu(e, n.value);
5294
5324
  };
5295
5325
  Zn(() => {
5296
- r.value || i.value ? (l(), n.value && Bu(e, n.value), s ||= (window.addEventListener("scroll", u, { capture: !0 }), !0)) : (s &&= (window.removeEventListener("scroll", u, { capture: !0 }), !1), n.value && (Vu(n.value), setTimeout(() => {
5326
+ r.value || i.value ? (l(), n.value && Wu(e, n.value), s ||= (window.addEventListener("scroll", u, { capture: !0 }), !0)) : (s &&= (window.removeEventListener("scroll", u, { capture: !0 }), !1), n.value && (Gu(n.value), setTimeout(() => {
5297
5327
  e.dispatchEvent(new CustomEvent("tooltip-hide"));
5298
5328
  }, 150)));
5299
5329
  });
@@ -5331,7 +5361,7 @@ var Hu = {
5331
5361
  let t = e._v_gtooltip;
5332
5362
  t && t.tooltip && t.tooltip.value && (t.resizeObserver && t.resizeObserver.disconnect(), t.tooltip.value.remove(), t.tooltip.value = null), t && t.onScroll && window.removeEventListener("scroll", t.onScroll, { capture: !0 }), e.removeEventListener("mouseenter", t.onMouseEnter), e.removeEventListener("mouseleave", t.onMouseLeave), e.removeEventListener("focus", t.onFocus), e.removeEventListener("blur", t.onBlur), e.removeEventListener("keydown", t.onKeyDown), e.removeAttribute("aria-describedby");
5333
5363
  }
5334
- }, Uu = { class: "g-clipboard-text" }, Wu = /*#__PURE__*/ $(/* @__PURE__ */ R({
5364
+ }, qu = { class: "g-clipboard-text" }, Ju = /*#__PURE__*/ $(/* @__PURE__ */ R({
5335
5365
  __name: "GClipboard",
5336
5366
  props: {
5337
5367
  text: { type: String },
@@ -5339,12 +5369,12 @@ var Hu = {
5339
5369
  copyLabel: { type: String }
5340
5370
  },
5341
5371
  setup(e) {
5342
- let t = e, n = Hu, { text: r, copy: i, copied: a, isSupported: o } = Ac({ source: t.text }), s = /* @__PURE__ */ N(t.copyLabel ?? "Copy to clipboard"), c = () => {
5372
+ let t = e, n = Ku, { text: r, copy: i, copied: a, isSupported: o } = Pc({ source: t.text }), s = /* @__PURE__ */ N(t.copyLabel ?? "Copy to clipboard"), c = () => {
5343
5373
  o.value ? (i(), s.value = "Copied") : s.value = "Copy not supported";
5344
5374
  }, l = () => {
5345
5375
  s.value = t.copyLabel ?? "Copy to clipboard";
5346
5376
  };
5347
- return (r, i) => (G(), K("div", Uu, [e.hideText ? Z("", !0) : (G(), K(W, { key: 0 }, [X(A(t.text), 1)], 64)), Wn((G(), K("button", {
5377
+ return (r, i) => (G(), K("div", qu, [e.hideText ? Z("", !0) : (G(), K(W, { key: 0 }, [X(A(t.text), 1)], 64)), Wn((G(), K("button", {
5348
5378
  type: "button",
5349
5379
  "aria-label": "Copy",
5350
5380
  onClick: c,
@@ -5355,29 +5385,29 @@ var Hu = {
5355
5385
  xmlns: "http://www.w3.org/2000/svg",
5356
5386
  viewBox: "0 0 640 640",
5357
5387
  height: "1.125rem",
5358
- role: "none presentation"
5388
+ role: "none"
5359
5389
  }, [J("path", {
5360
5390
  fill: "currentColor",
5361
5391
  d: "M480 400L288 400C279.2 400 272 392.8 272 384L272 128C272 119.2 279.2 112 288 112L421.5 112C425.7 112 429.8 113.7 432.8 116.7L491.3 175.2C494.3 178.2 496 182.3 496 186.5L496 384C496 392.8 488.8 400 480 400zM288 448L480 448C515.3 448 544 419.3 544 384L544 186.5C544 169.5 537.3 153.2 525.3 141.2L466.7 82.7C454.7 70.7 438.5 64 421.5 64L288 64C252.7 64 224 92.7 224 128L224 384C224 419.3 252.7 448 288 448zM160 192C124.7 192 96 220.7 96 256L96 512C96 547.3 124.7 576 160 576L352 576C387.3 576 416 547.3 416 512L416 496L368 496L368 512C368 520.8 360.8 528 352 528L160 528C151.2 528 144 520.8 144 512L144 256C144 247.2 151.2 240 160 240L176 240L176 192L160 192z"
5362
5392
  })], -1)]], 32)), [[P(n), s.value]])]));
5363
5393
  }
5364
- }), [["styles", [""]]]), Gu = ["for"], Ku = {
5394
+ }), [["styles", [""]]]), Yu = ["for"], Xu = {
5365
5395
  key: 0,
5366
5396
  class: "g-text-input-required",
5367
5397
  "aria-hidden": "true"
5368
- }, qu = ["id"], Ju = {
5398
+ }, Zu = ["id"], Qu = {
5369
5399
  key: 0,
5370
5400
  class: "g-text-input-prefix"
5371
- }, Yu = [
5401
+ }, $u = [
5372
5402
  "value",
5373
5403
  "placeholder",
5374
5404
  "disabled",
5375
5405
  "required",
5376
5406
  "aria-invalid"
5377
- ], Xu = {
5407
+ ], ed = {
5378
5408
  key: 1,
5379
5409
  class: "g-text-input-suffix"
5380
- }, Zu = /*#__PURE__*/ $(/* @__PURE__ */ R({
5410
+ }, td = /*#__PURE__*/ $(/* @__PURE__ */ R({
5381
5411
  inheritAttrs: !1,
5382
5412
  __name: "GTextInput",
5383
5413
  props: /*@__PURE__*/ H({
@@ -5431,7 +5461,7 @@ var Hu = {
5431
5461
  }),
5432
5462
  emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
5433
5463
  setup(e, { emit: t }) {
5434
- let n = e, r = U(e, "modelValue"), i = z(), { attrs: a, isCustomElement: o, forwardedAttrs: s } = $l({ omitInCustomElement: ["id"] }), c = Q(() => o ? i : a.id || i), { displayErrors: l, hasErrors: u } = bu({
5464
+ let n = e, r = U(e, "modelValue"), i = z(), { attrs: a, isCustomElement: o, forwardedAttrs: s } = ru({ omitInCustomElement: ["id"] }), c = Q(() => o ? i : a.id || i), { displayErrors: l, hasErrors: u } = wu({
5435
5465
  name: n.name,
5436
5466
  value: r,
5437
5467
  errors: /* @__PURE__ */ fn(n, "errors"),
@@ -5468,14 +5498,14 @@ var Hu = {
5468
5498
  key: 0,
5469
5499
  for: c.value,
5470
5500
  class: "g-text-input-label"
5471
- }, [X(A(n.label), 1), n.required ? (G(), K("span", Ku, " *")) : Z("", !0)], 8, Gu)) : Z("", !0),
5501
+ }, [X(A(n.label), 1), n.required ? (G(), K("span", Xu, " *")) : Z("", !0)], 8, Yu)) : Z("", !0),
5472
5502
  t.$slots.instructions || e.instructions ? (G(), K("div", {
5473
5503
  key: 1,
5474
5504
  id: "instructions-" + P(i),
5475
5505
  class: "g-text-input-instructions"
5476
- }, [V(t.$slots, "instructions", {}, () => [X(A(e.instructions), 1)])], 8, qu)) : Z("", !0),
5506
+ }, [V(t.$slots, "instructions", {}, () => [X(A(e.instructions), 1)])], 8, Zu)) : Z("", !0),
5477
5507
  J("div", { class: k([{ "g-text-input-field-wrapper": !0 }, `g-text-input-field-wrapper--${e.name || "nameless"}`]) }, [
5478
- n.prefix ? (G(), K("span", Ju, A(n.prefix), 1)) : Z("", !0),
5508
+ n.prefix ? (G(), K("span", Qu, A(n.prefix), 1)) : Z("", !0),
5479
5509
  J("input", Va({
5480
5510
  value: r.value,
5481
5511
  placeholder: n.placeholder,
@@ -5492,16 +5522,16 @@ var Hu = {
5492
5522
  id: c.value,
5493
5523
  "aria-describedby": t.$slots.instructions || e.instructions ? "instructions-" + P(i) : void 0,
5494
5524
  "aria-errormessage": P(u) ? "error-message-" + P(i) : void 0
5495
- }, { "aria-invalid": P(u) ? "true" : "false" }), null, 16, Yu),
5496
- n.suffix ? (G(), K("span", Xu, A(n.suffix), 1)) : Z("", !0)
5525
+ }, { "aria-invalid": P(u) ? "true" : "false" }), null, 16, $u),
5526
+ n.suffix ? (G(), K("span", ed, A(n.suffix), 1)) : Z("", !0)
5497
5527
  ], 2),
5498
- Y(Su, {
5528
+ Y(Eu, {
5499
5529
  errors: P(l),
5500
5530
  id: "error-message-" + P(i)
5501
5531
  }, null, 8, ["errors", "id"])
5502
5532
  ], 2));
5503
5533
  }
5504
- }), [["styles", [""]]]), Qu = /*#__PURE__*/ $(/* @__PURE__ */ R({
5534
+ }), [["styles", [""]]]), nd = /*#__PURE__*/ $(/* @__PURE__ */ R({
5505
5535
  __name: "GCurrencyInput",
5506
5536
  props: /*@__PURE__*/ H({
5507
5537
  label: {
@@ -5543,7 +5573,7 @@ var Hu = {
5543
5573
  emits: ["update:modelValue"],
5544
5574
  setup(e) {
5545
5575
  let t = e, n = U(e, "modelValue");
5546
- return (e, r) => (G(), q(Zu, Va({
5576
+ return (e, r) => (G(), q(td, Va({
5547
5577
  modelValue: n.value,
5548
5578
  "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
5549
5579
  name: t.name,
@@ -5570,7 +5600,7 @@ var Hu = {
5570
5600
  "form-key"
5571
5601
  ]));
5572
5602
  }
5573
- }), [["styles", [""]]]), $u = /*#__PURE__*/ $(/* @__PURE__ */ R({
5603
+ }), [["styles", [""]]]), rd = /*#__PURE__*/ $(/* @__PURE__ */ R({
5574
5604
  __name: "GDateInput",
5575
5605
  props: /*@__PURE__*/ H({
5576
5606
  label: {
@@ -5612,7 +5642,7 @@ var Hu = {
5612
5642
  emits: ["update:modelValue"],
5613
5643
  setup(e) {
5614
5644
  let t = e, n = U(e, "modelValue");
5615
- return (e, r) => (G(), q(Zu, Va({
5645
+ return (e, r) => (G(), q(td, Va({
5616
5646
  modelValue: n.value,
5617
5647
  "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
5618
5648
  name: t.name,
@@ -5636,21 +5666,21 @@ var Hu = {
5636
5666
  "form-key"
5637
5667
  ]));
5638
5668
  }
5639
- }), [["styles", [""]]]), ed = { class: "g-date-range-input" }, td = {
5669
+ }), [["styles", [""]]]), id = { class: "g-date-range-input" }, ad = {
5640
5670
  key: 0,
5641
5671
  class: "g-date-range-input__label"
5642
- }, nd = {
5672
+ }, od = {
5643
5673
  key: 0,
5644
5674
  class: "g-date-range-input__required",
5645
5675
  "aria-hidden": "true"
5646
- }, rd = {
5676
+ }, sd = {
5647
5677
  key: 1,
5648
5678
  class: "g-date-range-input__instructions"
5649
- }, id = { class: "g-date-range-input__fields" }, ad = {
5679
+ }, cd = { class: "g-date-range-input__fields" }, ld = {
5650
5680
  key: 2,
5651
5681
  class: "g-date-range-input__errors",
5652
5682
  role: "alert"
5653
- }, od = /*#__PURE__*/ $(/* @__PURE__ */ R({
5683
+ }, ud = /*#__PURE__*/ $(/* @__PURE__ */ R({
5654
5684
  __name: "GDateRangeInput",
5655
5685
  props: /*@__PURE__*/ H({
5656
5686
  label: {
@@ -5698,7 +5728,7 @@ var Hu = {
5698
5728
  }),
5699
5729
  emits: ["update:modelValue"],
5700
5730
  setup(e) {
5701
- let t = e, n = U(e, "modelValue"), r = /* @__PURE__ */ N(n.value.start || null), i = /* @__PURE__ */ N(n.value.end || null), { displayErrors: a } = bu({
5731
+ let t = e, n = U(e, "modelValue"), r = /* @__PURE__ */ N(n.value.start || null), i = /* @__PURE__ */ N(n.value.end || null), { displayErrors: a } = wu({
5702
5732
  name: t.name,
5703
5733
  value: n,
5704
5734
  errors: /* @__PURE__ */ fn(t, "errors"),
@@ -5711,10 +5741,10 @@ var Hu = {
5711
5741
  };
5712
5742
  }), L(n, (e) => {
5713
5743
  e.start !== r.value && (r.value = e.start), e.end !== i.value && (i.value = e.end);
5714
- }, { deep: !0 }), (e, n) => (G(), K("div", ed, [
5715
- t.label ? (G(), K("div", td, [X(A(t.label), 1), t.required ? (G(), K("span", nd, " *")) : Z("", !0)])) : Z("", !0),
5716
- t.instructions ? (G(), K("div", rd, A(t.instructions), 1)) : Z("", !0),
5717
- J("div", id, [Y($u, {
5744
+ }, { deep: !0 }), (e, n) => (G(), K("div", id, [
5745
+ t.label ? (G(), K("div", ad, [X(A(t.label), 1), t.required ? (G(), K("span", od, " *")) : Z("", !0)])) : Z("", !0),
5746
+ t.instructions ? (G(), K("div", sd, A(t.instructions), 1)) : Z("", !0),
5747
+ J("div", cd, [Y(rd, {
5718
5748
  modelValue: r.value,
5719
5749
  "onUpdate:modelValue": n[0] ||= (e) => r.value = e,
5720
5750
  label: t.startLabel,
@@ -5726,7 +5756,7 @@ var Hu = {
5726
5756
  "label",
5727
5757
  "disabled",
5728
5758
  "required"
5729
- ]), Y($u, {
5759
+ ]), Y(rd, {
5730
5760
  modelValue: i.value,
5731
5761
  "onUpdate:modelValue": n[1] ||= (e) => i.value = e,
5732
5762
  label: t.endLabel,
@@ -5739,13 +5769,13 @@ var Hu = {
5739
5769
  "disabled",
5740
5770
  "required"
5741
5771
  ])]),
5742
- P(a).length > 0 ? (G(), K("div", ad, [(G(!0), K(W, null, B(P(a), (e, t) => (G(), K("div", {
5772
+ P(a).length > 0 ? (G(), K("div", ld, [(G(!0), K(W, null, B(P(a), (e, t) => (G(), K("div", {
5743
5773
  key: t,
5744
5774
  class: "g-date-range-input__error"
5745
5775
  }, A(e), 1))), 128))])) : Z("", !0)
5746
5776
  ]));
5747
5777
  }
5748
- }), [["styles", [""]]]), sd = /*#__PURE__*/ $(/* @__PURE__ */ R({
5778
+ }), [["styles", [""]]]), dd = /*#__PURE__*/ $(/* @__PURE__ */ R({
5749
5779
  __name: "GDetailList",
5750
5780
  props: { variant: {
5751
5781
  default: "grid",
@@ -5755,13 +5785,13 @@ var Hu = {
5755
5785
  let t = e;
5756
5786
  return (e, n) => (G(), K("dl", { class: k(["g-detail-list", `g-detail-list--${t.variant}`]) }, [V(e.$slots, "default")], 2));
5757
5787
  }
5758
- }), [["styles", [""]]]), cd = { class: "g-detail-list-item" }, ld = { class: "g-detail-list-item__label" }, ud = { class: "g-detail-list-item__value" }, dd = /*#__PURE__*/ $(/* @__PURE__ */ R({
5788
+ }), [["styles", [""]]]), fd = { class: "g-detail-list-item" }, pd = { class: "g-detail-list-item__label" }, md = { class: "g-detail-list-item__value" }, hd = /*#__PURE__*/ $(/* @__PURE__ */ R({
5759
5789
  __name: "GDetailListItem",
5760
5790
  props: { label: { type: String } },
5761
5791
  setup(e) {
5762
- return (t, n) => (G(), K("div", cd, [J("dt", ld, [V(t.$slots, "label", {}, () => [X(A(e.label), 1)])]), J("dd", ud, [V(t.$slots, "default")])]));
5792
+ return (t, n) => (G(), K("div", fd, [J("dt", pd, [V(t.$slots, "label", {}, () => [X(A(e.label), 1)])]), J("dd", md, [V(t.$slots, "default")])]));
5763
5793
  }
5764
- }), [["styles", [""]]]), fd = /*#__PURE__*/ $(/* @__PURE__ */ R({
5794
+ }), [["styles", [""]]]), gd = /*#__PURE__*/ $(/* @__PURE__ */ R({
5765
5795
  __name: "GEmailInput",
5766
5796
  props: /*@__PURE__*/ H({
5767
5797
  label: {
@@ -5799,7 +5829,7 @@ var Hu = {
5799
5829
  emits: ["update:modelValue"],
5800
5830
  setup(e) {
5801
5831
  let t = U(e, "modelValue");
5802
- return (n, r) => (G(), q(Zu, Va({
5832
+ return (n, r) => (G(), q(td, Va({
5803
5833
  modelValue: t.value,
5804
5834
  "onUpdate:modelValue": r[0] ||= (e) => t.value = e,
5805
5835
  name: e.name,
@@ -5821,13 +5851,13 @@ var Hu = {
5821
5851
  "instructions"
5822
5852
  ]));
5823
5853
  }
5824
- }), [["styles", [""]]]), pd = ["for"], md = {
5854
+ }), [["styles", [""]]]), _d = ["for"], vd = {
5825
5855
  key: 0,
5826
5856
  class: "g-file-input-required"
5827
- }, hd = {
5857
+ }, yd = {
5828
5858
  key: 0,
5829
5859
  class: "g-file-input-box-header"
5830
- }, gd = ["id"], _d = [
5860
+ }, bd = ["id"], xd = [
5831
5861
  "id",
5832
5862
  "disabled",
5833
5863
  "required",
@@ -5836,11 +5866,11 @@ var Hu = {
5836
5866
  "aria-invalid",
5837
5867
  "aria-describedby",
5838
5868
  "aria-errormessage"
5839
- ], vd = {
5869
+ ], Sd = {
5840
5870
  key: 1,
5841
5871
  class: "g-file-input-pills",
5842
5872
  "aria-label": "Selected files"
5843
- }, yd = /*#__PURE__*/ $(/* @__PURE__ */ R({
5873
+ }, Cd = /*#__PURE__*/ $(/* @__PURE__ */ R({
5844
5874
  inheritAttrs: !1,
5845
5875
  __name: "GFileInput",
5846
5876
  props: /*@__PURE__*/ H({
@@ -5876,7 +5906,7 @@ var Hu = {
5876
5906
  }),
5877
5907
  emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
5878
5908
  setup(e, { emit: t }) {
5879
- let n = e, r = U(e, "modelValue"), i = z(), { displayErrors: a } = bu({
5909
+ let n = e, r = U(e, "modelValue"), i = z(), { displayErrors: a } = wu({
5880
5910
  name: n.name,
5881
5911
  value: r,
5882
5912
  errors: /* @__PURE__ */ fn(n, "errors"),
@@ -5903,12 +5933,12 @@ var Hu = {
5903
5933
  key: 0,
5904
5934
  for: P(i),
5905
5935
  class: "g-file-input-label"
5906
- }, [X(A(e.label) + " ", 1), e.required ? (G(), K("span", md, "*")) : Z("", !0)], 8, pd)) : Z("", !0),
5936
+ }, [X(A(e.label) + " ", 1), e.required ? (G(), K("span", vd, "*")) : Z("", !0)], 8, _d)) : Z("", !0),
5907
5937
  J("div", { class: k(["g-file-input-box", { "g-file-input-box--disabled": e.disabled }]) }, [
5908
- e.instructions ? (G(), K("div", hd, [J("span", {
5938
+ e.instructions ? (G(), K("div", yd, [J("span", {
5909
5939
  id: "instructions-" + P(i),
5910
5940
  class: "g-file-input-instructions"
5911
- }, A(e.instructions), 9, gd)])) : Z("", !0),
5941
+ }, A(e.instructions), 9, bd)])) : Z("", !0),
5912
5942
  J("input", {
5913
5943
  id: P(i),
5914
5944
  type: "file",
@@ -5921,24 +5951,24 @@ var Hu = {
5921
5951
  "aria-describedby": e.instructions ? "instructions-" + P(i) : void 0,
5922
5952
  "aria-errormessage": d.value ? "error-message-" + P(i) : void 0,
5923
5953
  onChange: l
5924
- }, null, 40, _d),
5925
- e.multiple && f.value.length > 0 ? (G(), K("ul", vd, [(G(!0), K(W, null, B(f.value, (e) => (G(), K("li", {
5954
+ }, null, 40, xd),
5955
+ e.multiple && f.value.length > 0 ? (G(), K("ul", Sd, [(G(!0), K(W, null, B(f.value, (e) => (G(), K("li", {
5926
5956
  key: e,
5927
5957
  class: "g-file-input-pill"
5928
5958
  }, [n[0] ||= J("svg", {
5929
5959
  class: "g-file-input-pill-icon",
5930
- role: "none presentation",
5960
+ role: "none",
5931
5961
  xmlns: "http://www.w3.org/2000/svg",
5932
5962
  viewBox: "0 0 640 640"
5933
5963
  }, [J("path", { d: "M192 64C156.7 64 128 92.7 128 128L128 512C128 547.3 156.7 576 192 576L448 576C483.3 576 512 547.3 512 512L512 234.5C512 217.5 505.3 201.2 493.3 189.2L386.7 82.7C374.7 70.7 358.5 64 341.5 64L192 64zM453.5 240L360 240C346.7 240 336 229.3 336 216L336 122.5L453.5 240z" })], -1), X(" " + A(e), 1)]))), 128))])) : Z("", !0)
5934
5964
  ], 2),
5935
- Y(Su, {
5965
+ Y(Eu, {
5936
5966
  errors: u.value,
5937
5967
  id: "error-message-" + P(i)
5938
5968
  }, null, 8, ["errors", "id"])
5939
5969
  ], 2));
5940
5970
  }
5941
- }), [["styles", [""]]]), bd = ["action", "method"], xd = /*#__PURE__*/ $(/* @__PURE__ */ R({
5971
+ }), [["styles", [""]]]), wd = ["action", "method"], Td = /*#__PURE__*/ $(/* @__PURE__ */ R({
5942
5972
  __name: "GForm",
5943
5973
  props: /*@__PURE__*/ H({
5944
5974
  action: {
@@ -5959,7 +5989,7 @@ var Hu = {
5959
5989
  }),
5960
5990
  emits: /*@__PURE__*/ H(["submit"], ["update:modelValue"]),
5961
5991
  setup(e, { emit: t }) {
5962
- let n = e, r = U(e, "modelValue"), i = t, a = qn("form", null), o = a ?? (Ql() ? yu(n.formKey) : _u());
5992
+ let n = e, r = U(e, "modelValue"), i = t, a = qn("form", null), o = a ?? (nu() ? Cu(n.formKey) : xu());
5963
5993
  a || Kn("form", o), L(() => o.values.value, (e) => {
5964
5994
  r.value = { ...e };
5965
5995
  }, { deep: !0 }), L(() => r.value, (e) => {
@@ -5987,27 +6017,27 @@ var Hu = {
5987
6017
  hasErrors: P(o).hasErrors.value,
5988
6018
  values: P(o).values.value,
5989
6019
  errors: P(o).errors.value
5990
- })], 40, bd));
6020
+ })], 40, wd));
5991
6021
  }
5992
6022
  }), [["styles", [""]]]);
5993
6023
  //#endregion
5994
6024
  //#region src/compose/useWebComponentSidebar.ts
5995
- function Sd(e) {
6025
+ function Ed(e) {
5996
6026
  return e.replace(/[^a-zA-Z0-9_-]/g, "-");
5997
6027
  }
5998
- function Cd() {
6028
+ function Dd() {
5999
6029
  let e = globalThis;
6000
6030
  return e.__GRAD_VUE_WC_SIDEBAR_CHANNELS__ ||= /* @__PURE__ */ new Map(), e.__GRAD_VUE_WC_SIDEBAR_CHANNELS__;
6001
6031
  }
6002
- function wd(e = "default", t) {
6003
- let n = Cd(), r = e || "default", i = typeof t == "string" ? t : t?.value, a = i && i.trim() ? i : "(max-width: 800px)";
6032
+ function Od(e = "default", t) {
6033
+ let n = Dd(), r = e || "default", i = typeof t == "string" ? t : t?.value, a = i && i.trim() ? i : "(max-width: 800px)";
6004
6034
  if (!n.has(r)) {
6005
- let e = Sd(r), t = /* @__PURE__ */ N(a);
6035
+ let e = Ed(r), t = /* @__PURE__ */ N(a);
6006
6036
  n.set(r, {
6007
6037
  id: `g-wc-sidebar-${e}`,
6008
6038
  open: /* @__PURE__ */ N(!1),
6009
6039
  breakpoint: t,
6010
- isCollapsible: Oc(t, { ssrWidth: 1e3 }),
6040
+ isCollapsible: Mc(t, { ssrWidth: 1e3 }),
6011
6041
  toggle: () => void 0
6012
6042
  });
6013
6043
  }
@@ -6039,15 +6069,15 @@ function wd(e = "default", t) {
6039
6069
  }
6040
6070
  //#endregion
6041
6071
  //#region src/components/GHamburgerMenu.vue?vue&type=script&setup=true&lang.ts
6042
- var Td = [
6072
+ var kd = [
6043
6073
  "id",
6044
6074
  "aria-expanded",
6045
6075
  "aria-label",
6046
6076
  "aria-controls"
6047
- ], Ed = {
6077
+ ], Ad = {
6048
6078
  key: 0,
6049
6079
  class: "g-hamburger-label"
6050
- }, Dd = /*#__PURE__*/ $(/* @__PURE__ */ R({
6080
+ }, jd = /*#__PURE__*/ $(/* @__PURE__ */ R({
6051
6081
  __name: "GHamburgerMenu",
6052
6082
  props: {
6053
6083
  label: {
@@ -6066,7 +6096,7 @@ var Td = [
6066
6096
  },
6067
6097
  emits: ["toggle"],
6068
6098
  setup(e, { emit: t }) {
6069
- let n = e, r = qn("sidebar") ?? (Ql() ? wd(n.sidebarKey, /* @__PURE__ */ fn(n, "mediaQuery")) : void 0), i = t;
6099
+ let n = e, r = qn("sidebar") ?? (nu() ? Od(n.sidebarKey, /* @__PURE__ */ fn(n, "mediaQuery")) : void 0), i = t;
6070
6100
  function a() {
6071
6101
  i("toggle"), r?.toggle();
6072
6102
  }
@@ -6089,17 +6119,17 @@ var Td = [
6089
6119
  xmlns: "http://www.w3.org/2000/svg",
6090
6120
  viewBox: "0 0 51.26 51.26",
6091
6121
  role: "none"
6092
- }, [J("g", { fill: "currentColor" }, [J("path", { d: "M11.6 16.52h28.06a3.24 3.24 0 1 0 0-6.48H11.6a3.24 3.24 0 0 0 0 6.48ZM39.66 22.07H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48ZM39.66 34.1H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48Z" })])], -1), e.labelVisible ? (G(), K("span", Ed, A(e.label), 1)) : Z("", !0)], 42, Td));
6122
+ }, [J("g", { fill: "currentColor" }, [J("path", { d: "M11.6 16.52h28.06a3.24 3.24 0 1 0 0-6.48H11.6a3.24 3.24 0 0 0 0 6.48ZM39.66 22.07H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48ZM39.66 34.1H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48Z" })])], -1), e.labelVisible ? (G(), K("span", Ad, A(e.label), 1)) : Z("", !0)], 42, kd));
6093
6123
  }
6094
- }), [["styles", [""]]]), Od = { class: "g-history-scroller-wrapper" }, kd = {
6124
+ }), [["styles", [""]]]), Md = { class: "g-history-scroller-wrapper" }, Nd = {
6095
6125
  key: 0,
6096
6126
  class: "g-history-shadow g-history-shadow--top",
6097
6127
  "aria-hidden": "true"
6098
- }, Ad = {
6128
+ }, Pd = {
6099
6129
  key: 1,
6100
6130
  class: "g-history-shadow g-history-shadow--bottom",
6101
6131
  "aria-hidden": "true"
6102
- }, jd = ["role", "aria-label"], Md = /*#__PURE__*/ $(/* @__PURE__ */ R({
6132
+ }, Fd = ["role", "aria-label"], Id = /*#__PURE__*/ $(/* @__PURE__ */ R({
6103
6133
  __name: "GHistoryScroller",
6104
6134
  props: {
6105
6135
  label: { type: String },
@@ -6126,17 +6156,17 @@ var Td = [
6126
6156
  }
6127
6157
  Gr(() => {
6128
6158
  F(o);
6129
- }), Bc(n, () => {
6159
+ }), Wc(n, () => {
6130
6160
  i.value && o();
6131
- }), Bc(r, () => {
6161
+ }), Wc(r, () => {
6132
6162
  i.value && o();
6133
6163
  }), L(() => t.entries, async () => {
6134
6164
  i.value && (await F(), o());
6135
6165
  });
6136
6166
  let c = Q(() => [...t.entries].reverse());
6137
- return (t, l) => (G(), K("div", Od, [
6138
- a.value ? Z("", !0) : (G(), K("div", kd)),
6139
- i.value ? Z("", !0) : (G(), K("div", Ad)),
6167
+ return (t, l) => (G(), K("div", Md, [
6168
+ a.value ? Z("", !0) : (G(), K("div", Nd)),
6169
+ i.value ? Z("", !0) : (G(), K("div", Pd)),
6140
6170
  J("div", {
6141
6171
  ref_key: "scrollerRef",
6142
6172
  ref: n,
@@ -6144,7 +6174,7 @@ var Td = [
6144
6174
  role: e.label ? "log" : void 0,
6145
6175
  "aria-label": e.label,
6146
6176
  onScroll: s
6147
- }, [Y(ru, {
6177
+ }, [Y(su, {
6148
6178
  class: k(["g-scroll-to-bottom-btn", { "scroll-to-bottom-btn--hidden": i.value }]),
6149
6179
  size: "small",
6150
6180
  type: "button",
@@ -6171,10 +6201,10 @@ var Td = [
6171
6201
  key: e.id,
6172
6202
  class: "g-history-entry",
6173
6203
  tabindex: "-1"
6174
- }, [V(t.$slots, "default", { entry: e })]))), 128))], 512)], 40, jd)
6204
+ }, [V(t.$slots, "default", { entry: e })]))), 128))], 512)], 40, Fd)
6175
6205
  ]));
6176
6206
  }
6177
- }), [["styles", [""]]]), Nd = ["id"], Pd = { class: "g-modal-inner" }, Fd = { class: "g-modal-header" }, Id = ["id"], Ld = ["id"], Rd = /*#__PURE__*/ $(/* @__PURE__ */ R({
6207
+ }), [["styles", [""]]]), Ld = ["id"], Rd = { class: "g-modal-inner" }, zd = { class: "g-modal-header" }, Bd = ["id"], Vd = ["id"], Hd = /*#__PURE__*/ $(/* @__PURE__ */ R({
6178
6208
  __name: "GModal",
6179
6209
  props: {
6180
6210
  label: { type: String },
@@ -6194,11 +6224,11 @@ var Td = [
6194
6224
  },
6195
6225
  emits: ["close"],
6196
6226
  setup(e, { emit: t }) {
6197
- let n = e, r = t, i = jr("dialog"), a = /* @__PURE__ */ N(!0), o = z(), { pop: s, push: c, isTop: l, zIndex: u } = Gs(o, !0, !0), { deactivate: d, activate: f } = Xl(i, l);
6227
+ let n = e, r = t, i = jr("dialog"), a = /* @__PURE__ */ N(!0), o = z(), { pop: s, push: c, isTop: l, zIndex: u } = Ys(o, !0, !0), { deactivate: d, activate: f } = eu(i, l);
6198
6228
  function p() {
6199
6229
  r("close");
6200
6230
  }
6201
- Zl([i], l, a, p, s), Gr(() => {
6231
+ tu([i], l, a, p, s), Gr(() => {
6202
6232
  c(), f();
6203
6233
  }), Wr(() => {
6204
6234
  s(), d();
@@ -6224,12 +6254,12 @@ var Td = [
6224
6254
  ref_key: "dialog",
6225
6255
  ref: i,
6226
6256
  style: { zIndex: P(u) }
6227
- }), [J("div", Pd, [J("div", Fd, [e.hiddenLabel ? Z("", !0) : (G(), K("h2", {
6257
+ }), [J("div", Rd, [J("div", zd, [e.hiddenLabel ? Z("", !0) : (G(), K("h2", {
6228
6258
  key: 0,
6229
6259
  id: "modal-label-" + P(o),
6230
6260
  class: "g-modal-label",
6231
6261
  tabindex: "-1"
6232
- }, A(e.label), 9, Id)), J("button", {
6262
+ }, A(e.label), 9, Bd)), J("button", {
6233
6263
  class: "g-modal-close",
6234
6264
  onClick: p,
6235
6265
  "aria-label": "Close"
@@ -6244,21 +6274,21 @@ var Td = [
6244
6274
  })], -1)]])]), J("div", {
6245
6275
  id: "modal-description-" + P(o),
6246
6276
  class: "g-modal-content"
6247
- }, [V(t.$slots, "default")], 8, Ld)])], 16, Nd)]),
6277
+ }, [V(t.$slots, "default")], 8, Vd)])], 16, Ld)]),
6248
6278
  _: 3
6249
6279
  })]));
6250
6280
  }
6251
6281
  }), [["styles", [""]]]);
6252
6282
  //#endregion
6253
6283
  //#region src/compose/useSelectDropdown.ts
6254
- function zd(e) {
6284
+ function Ud(e) {
6255
6285
  return e.map((e) => typeof e == "string" ? {
6256
6286
  label: e,
6257
6287
  value: e
6258
6288
  } : e);
6259
6289
  }
6260
- function Bd({ open: e, anchorRef: t, listboxRef: n, baseId: r, activeIndex: i }) {
6261
- let { push: a, pop: o, isTop: s } = Gs(r), c = /* @__PURE__ */ N("below"), l = /* @__PURE__ */ N(null), u = Q(() => {
6290
+ function Wd({ open: e, anchorRef: t, listboxRef: n, baseId: r, activeIndex: i }) {
6291
+ let { push: a, pop: o, isTop: s } = Ys(r), c = /* @__PURE__ */ N("below"), l = /* @__PURE__ */ N(null), u = Q(() => {
6262
6292
  let e = {};
6263
6293
  return l.value !== null && (e.maxHeight = `${l.value}px`), c.value === "above" ? (e.top = "auto", e.bottom = "100%") : (e.top = "100%", e.bottom = "auto"), e;
6264
6294
  });
@@ -6301,15 +6331,15 @@ function Bd({ open: e, anchorRef: t, listboxRef: n, baseId: r, activeIndex: i })
6301
6331
  }
6302
6332
  //#endregion
6303
6333
  //#region src/components/GMultiSelect.vue?vue&type=script&setup=true&lang.ts
6304
- var Vd = ["id", "for"], Hd = {
6334
+ var Gd = ["id", "for"], Kd = {
6305
6335
  key: 0,
6306
6336
  class: "g-multiselect-required",
6307
6337
  "aria-hidden": "true"
6308
- }, Ud = ["id"], Wd = ["aria-labelledby"], Gd = { class: "g-multiselect-chip-label" }, Kd = [
6338
+ }, qd = ["id"], Jd = ["aria-labelledby"], Yd = { class: "g-multiselect-chip-label" }, Xd = [
6309
6339
  "aria-label",
6310
6340
  "disabled",
6311
6341
  "onClick"
6312
- ], qd = [
6342
+ ], Zd = [
6313
6343
  "id",
6314
6344
  "value",
6315
6345
  "placeholder",
@@ -6319,23 +6349,23 @@ var Vd = ["id", "for"], Hd = {
6319
6349
  "aria-activedescendant",
6320
6350
  "aria-describedby",
6321
6351
  "aria-required"
6322
- ], Jd = ["id"], Yd = [
6352
+ ], Qd = ["id"], $d = [
6323
6353
  "id",
6324
6354
  "aria-selected",
6325
6355
  "onClick"
6326
- ], Xd = {
6356
+ ], ef = {
6327
6357
  class: "g-multiselect-option-check",
6328
6358
  "aria-hidden": "true"
6329
- }, Zd = {
6359
+ }, tf = {
6330
6360
  key: 0,
6331
6361
  xmlns: "http://www.w3.org/2000/svg",
6332
6362
  viewBox: "0 0 640 640",
6333
6363
  width: "1.25em"
6334
- }, Qd = {
6364
+ }, nf = {
6335
6365
  key: 1,
6336
6366
  "aria-live": "polite",
6337
6367
  class: "g-multiselect-option g-multiselect-no-results"
6338
- }, $d = /*#__PURE__*/ $(/* @__PURE__ */ R({
6368
+ }, rf = /*#__PURE__*/ $(/* @__PURE__ */ R({
6339
6369
  __name: "GMultiSelect",
6340
6370
  props: /*@__PURE__*/ H({
6341
6371
  options: { type: Array },
@@ -6366,18 +6396,18 @@ var Vd = ["id", "for"], Hd = {
6366
6396
  }),
6367
6397
  emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
6368
6398
  setup(e, { emit: t }) {
6369
- let n = e, r = t, i = U(e, "modelValue"), a = z(), o = /* @__PURE__ */ N(null), s = /* @__PURE__ */ N(null), c = /* @__PURE__ */ N(null), l = /* @__PURE__ */ N(!1), u = /* @__PURE__ */ N(0), d = /* @__PURE__ */ N(""), f = /* @__PURE__ */ N(!1), { displayErrors: p, hasErrors: m } = bu({
6399
+ let n = e, r = t, i = U(e, "modelValue"), a = z(), o = /* @__PURE__ */ N(null), s = /* @__PURE__ */ N(null), c = /* @__PURE__ */ N(null), l = /* @__PURE__ */ N(!1), u = /* @__PURE__ */ N(0), d = /* @__PURE__ */ N(""), f = /* @__PURE__ */ N(!1), { displayErrors: p, hasErrors: m } = wu({
6370
6400
  name: n.name,
6371
6401
  value: i,
6372
6402
  errors: /* @__PURE__ */ fn(n, "errors"),
6373
6403
  formKey: n.formKey
6374
- }), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } = Bd({
6404
+ }), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } = Wd({
6375
6405
  open: l,
6376
6406
  anchorRef: s,
6377
6407
  listboxRef: c,
6378
6408
  baseId: a,
6379
6409
  activeIndex: u
6380
- }), y = Q(() => zd(n.options)), b = Q(() => {
6410
+ }), y = Q(() => Ud(n.options)), b = Q(() => {
6381
6411
  if (!d.value) return y.value;
6382
6412
  let e = d.value.toLowerCase();
6383
6413
  return y.value.filter((t) => t.label.toLowerCase().includes(e));
@@ -6472,40 +6502,41 @@ var Vd = ["id", "for"], Hd = {
6472
6502
  id: oe.value,
6473
6503
  for: ae.value,
6474
6504
  class: "g-multiselect-label"
6475
- }, [X(A(e.label), 1), e.required ? (G(), K("span", Hd, " *")) : Z("", !0)], 8, Vd)),
6505
+ }, [X(A(e.label), 1), e.required ? (G(), K("span", Kd, " *")) : Z("", !0)], 8, Gd)),
6476
6506
  e.instructions ? (G(), K("div", {
6477
6507
  key: 1,
6478
6508
  id: se.value,
6479
6509
  class: "g-multiselect-instructions"
6480
- }, A(e.instructions), 9, Ud)) : Z("", !0),
6510
+ }, A(e.instructions), 9, qd)) : Z("", !0),
6481
6511
  J("div", {
6482
6512
  ref_key: "controlRef",
6483
6513
  ref: s,
6484
6514
  class: k(["g-multiselect-control", { "g-multiselect-control--disabled": e.disabled }]),
6485
6515
  onClick: ee
6486
6516
  }, [
6487
- J("ul", {
6517
+ i.value.length ? (G(), K("ul", {
6518
+ key: 0,
6488
6519
  class: "g-multiselect-chips",
6489
6520
  "aria-labelledby": oe.value
6490
6521
  }, [(G(!0), K(W, null, B(i.value, (t) => (G(), K("li", {
6491
6522
  key: t,
6492
6523
  class: "g-multiselect-chip"
6493
- }, [J("span", Gd, A(S(t)), 1), J("button", {
6524
+ }, [J("span", Yd, A(S(t)), 1), J("button", {
6494
6525
  type: "button",
6495
6526
  class: "g-multiselect-chip-remove",
6496
6527
  "aria-label": `Remove ${S(t)}`,
6497
6528
  disabled: e.disabled,
6498
6529
  onMousedown: re,
6499
- onClick: As((e) => E(t), ["stop"])
6530
+ onClick: Ps((e) => E(t), ["stop"])
6500
6531
  }, [...n[0] ||= [J("svg", {
6501
6532
  xmlns: "http://www.w3.org/2000/svg",
6502
6533
  viewBox: "0 0 51.26 51.26",
6503
6534
  width: "1em",
6504
- role: "none presentation"
6535
+ role: "none"
6505
6536
  }, [J("path", {
6506
6537
  fill: "currentColor",
6507
6538
  d: "m37.84 32.94-7.63-7.63 7.63-7.63a3.24 3.24 0 0 0-4.58-4.58l-7.63 7.63L18 13.1a3.24 3.24 0 0 0-4.58 4.58L21 25.31l-7.62 7.63A3.24 3.24 0 1 0 18 37.52l7.63-7.63 7.63 7.63a3.24 3.24 0 0 0 4.58-4.58Z"
6508
- })], -1)]], 40, Kd)]))), 128))], 8, Wd),
6539
+ })], -1)]], 40, Xd)]))), 128))], 8, Jd)) : Z("", !0),
6509
6540
  J("input", Va({
6510
6541
  ref_key: "inputRef",
6511
6542
  ref: o,
@@ -6529,7 +6560,7 @@ var Vd = ["id", "for"], Hd = {
6529
6560
  onKeydown: ie,
6530
6561
  onFocus: te,
6531
6562
  onBlur: O
6532
- }), null, 16, qd),
6563
+ }), null, 16, Zd),
6533
6564
  n[2] ||= J("svg", {
6534
6565
  class: "g-multiselect-caret",
6535
6566
  xmlns: "http://www.w3.org/2000/svg",
@@ -6561,27 +6592,35 @@ var Vd = ["id", "for"], Hd = {
6561
6592
  "aria-selected": x(e.value) ? "true" : "false",
6562
6593
  onMousedown: ne,
6563
6594
  onClick: (e) => T(t)
6564
- }, [J("span", Xd, [x(e.value) ? (G(), K("svg", Zd, [...n[1] ||= [J("path", { d: "M530.8 134.1C545.1 144.5 548.3 164.5 537.9 178.8L281.9 530.8C276.4 538.4 267.9 543.1 258.5 543.9C249.1 544.7 240 541.2 233.4 534.6L105.4 406.6C92.9 394.1 92.9 373.8 105.4 361.3C117.9 348.8 138.2 348.8 150.7 361.3L252.2 462.8L486.2 141.1C496.6 126.8 516.6 123.6 530.9 134z" }, null, -1)]])) : Z("", !0)]), X(" " + A(e.label), 1)], 42, Yd))), 128)) : (G(), K("div", Qd, " No results found. "))], 16, Jd), [[Go, l.value]])
6595
+ }, [J("span", ef, [x(e.value) ? (G(), K("svg", tf, [...n[1] ||= [J("path", { d: "M530.8 134.1C545.1 144.5 548.3 164.5 537.9 178.8L281.9 530.8C276.4 538.4 267.9 543.1 258.5 543.9C249.1 544.7 240 541.2 233.4 534.6L105.4 406.6C92.9 394.1 92.9 373.8 105.4 361.3C117.9 348.8 138.2 348.8 150.7 361.3L252.2 462.8L486.2 141.1C496.6 126.8 516.6 123.6 530.9 134z" }, null, -1)]])) : Z("", !0)]), X(" " + A(e.label), 1)], 42, $d))), 128)) : (G(), K("div", nf, " No results found. "))], 16, Qd), [[Go, l.value]])
6565
6596
  ], 2),
6566
- Y(Su, {
6597
+ Y(Eu, {
6567
6598
  errors: P(p),
6568
6599
  id: ce.value
6569
6600
  }, null, 8, ["errors", "id"])
6570
6601
  ], 2));
6571
6602
  }
6572
- }), [["styles", [""]]]), ef = {
6603
+ }), [["styles", [""]]]), af = {
6573
6604
  key: 0,
6574
6605
  class: "g-scroll-lock-overlay"
6575
- }, tf = /*#__PURE__*/ $(/* @__PURE__ */ R({
6606
+ }, of = /*#__PURE__*/ $(/* @__PURE__ */ R({
6576
6607
  __name: "GOverlay",
6577
6608
  setup(e) {
6578
- let { hasScrollLock: t } = Ks();
6609
+ let { hasScrollLock: t } = Xs();
6579
6610
  return (e, n) => (G(), q(Do, { name: "g-fade" }, {
6580
- default: I(() => [P(t) ? (G(), K("div", ef)) : Z("", !0)]),
6611
+ default: I(() => [P(t) ? (G(), K("div", af)) : Z("", !0)]),
6581
6612
  _: 1
6582
6613
  }));
6583
6614
  }
6584
- }), [["styles", [""]]]), nf = { class: "g-popover-wrap" }, rf = ["id"], af = ["aria-labelledby", "aria-label"], of = /*#__PURE__*/ $(/* @__PURE__ */ R({
6615
+ }), [["styles", [""]]]), sf = /* @__PURE__ */ R({
6616
+ __name: "GClientOnly",
6617
+ setup(e) {
6618
+ let t = /* @__PURE__ */ N(nu());
6619
+ return Gr(() => {
6620
+ t.value = !0;
6621
+ }), (e, n) => t.value ? V(e.$slots, "default", { key: 0 }) : V(e.$slots, "fallback", { key: 1 });
6622
+ }
6623
+ }), cf = { class: "g-popover-wrap" }, lf = ["id"], uf = ["aria-labelledby", "aria-label"], df = /*#__PURE__*/ $(/* @__PURE__ */ R({
6585
6624
  __name: "GPopover",
6586
6625
  props: {
6587
6626
  minimal: {
@@ -6603,8 +6642,8 @@ var Vd = ["id", "for"], Hd = {
6603
6642
  L(/* @__PURE__ */ fn(r, "modelValue"), (e) => {
6604
6643
  a.value = e;
6605
6644
  });
6606
- let o = ui(), s = Q(() => !!o.trigger), c = jr("triggerRef"), l = jr("popoverRef"), { isCustomElement: u } = $l(), d = u, f = z(), { push: p, pop: m, isTop: h, zIndex: g } = Gs(f, !0), { activate: _, deactivate: v } = Xl(l, h, !0);
6607
- Zl([l, c], h, a, b, m), L(a, (e) => {
6645
+ let o = ui(), s = Q(() => !!o.trigger), c = jr("triggerRef"), l = jr("popoverRef"), { isCustomElement: u } = ru(), d = u, f = z(), { push: p, pop: m, isTop: h, zIndex: g } = Ys(f, !0), { activate: _, deactivate: v } = eu(l, h, !0);
6646
+ tu([l, c], h, a, b, m), L(a, (e) => {
6608
6647
  e ? (F(() => {
6609
6648
  F(() => _());
6610
6649
  }), p(), i("show")) : (v(), m(), i("hide"));
@@ -6639,7 +6678,7 @@ var Vd = ["id", "for"], Hd = {
6639
6678
  }, T.value = !1, w.value = !1, C.value = { left: "50%" };
6640
6679
  return;
6641
6680
  }
6642
- let { top: i, left: a, xOffset: o, placedAbove: s, overlay: c } = Pu(n.getBoundingClientRect(), e, t, { gap: r.minimal ? 0 : 8 });
6681
+ let { top: i, left: a, xOffset: o, placedAbove: s, overlay: c } = Ru(n.getBoundingClientRect(), e, t, { gap: r.minimal ? 0 : 8 });
6643
6682
  S.value = {
6644
6683
  top: i,
6645
6684
  left: a
@@ -6659,66 +6698,69 @@ var Vd = ["id", "for"], Hd = {
6659
6698
  show: y,
6660
6699
  hide: b,
6661
6700
  toggle: x
6662
- }), (t, n) => (G(), K("div", nf, [s.value ? (G(), K("div", {
6701
+ }), (t, n) => (G(), K("div", cf, [s.value ? (G(), K("div", {
6663
6702
  key: 0,
6664
6703
  ref_key: "triggerRef",
6665
6704
  ref: c,
6666
6705
  class: "g-popover-trigger",
6667
6706
  id: `${P(f)}-trigger`
6668
- }, [V(t.$slots, "trigger", { toggle: x })], 8, rf)) : Z("", !0), (G(), q(fr, {
6669
- to: "#modal-root",
6670
- disabled: P(d)
6671
- }, [Y(Do, {
6672
- name: "g-popover-expand",
6673
- appear: ""
6674
- }, {
6675
- default: I(() => [P(u) || a.value ? Wn((G(), K("div", {
6676
- key: 0,
6677
- ref_key: "popoverRef",
6678
- ref: l,
6679
- class: k({
6680
- "g-popover": !0,
6681
- "g-popover-above": w.value,
6682
- "g-popover-below": !w.value,
6683
- "g-popover-minimal": e.minimal
6684
- }),
6685
- role: "dialog",
6686
- "aria-modal": "true",
6687
- "aria-labelledby": s.value ? `${P(f)}-trigger` : void 0,
6688
- "aria-label": s.value ? void 0 : "Popover",
6689
- style: de({
6690
- top: S.value.top + "px",
6691
- left: S.value.left + "px",
6692
- zIndex: P(g)
6693
- })
6694
- }, [
6695
- !T.value && !e.minimal ? (G(), K("div", {
6707
+ }, [V(t.$slots, "trigger", { toggle: x })], 8, lf)) : Z("", !0), Y(sf, null, {
6708
+ default: I(() => [(G(), q(fr, {
6709
+ to: "#modal-root",
6710
+ disabled: P(d)
6711
+ }, [Y(Do, {
6712
+ name: "g-popover-expand",
6713
+ appear: ""
6714
+ }, {
6715
+ default: I(() => [P(u) || a.value ? Wn((G(), K("div", {
6696
6716
  key: 0,
6697
- class: k(["g-popover-arrow", { "g-popover-arrow-above": w.value }]),
6698
- style: de(C.value),
6699
- "aria-hidden": "true"
6700
- }, null, 6)) : Z("", !0),
6701
- V(t.$slots, "default"),
6702
- e.minimal ? Z("", !0) : (G(), K("button", {
6703
- key: 1,
6704
- class: "g-popover-close",
6705
- type: "button",
6706
- "aria-label": "Close popover",
6707
- onClick: b
6708
- }, [...n[0] ||= [J("svg", {
6709
- class: "g-popover-close-icon",
6710
- xmlns: "http://www.w3.org/2000/svg",
6711
- viewBox: "0 0 51.26 51.26",
6712
- "aria-hidden": "true"
6713
- }, [J("path", {
6714
- fill: "currentColor",
6715
- d: "m37.84 32.94-7.63-7.63 7.63-7.63a3.24 3.24 0 0 0-4.58-4.58l-7.63 7.63L18 13.1a3.24 3.24 0 0 0-4.58 4.58L21 25.31l-7.62 7.63A3.24 3.24 0 1 0 18 37.52l7.63-7.63 7.63 7.63a3.24 3.24 0 0 0 4.58-4.58Z"
6716
- })], -1)]]))
6717
- ], 14, af)), [[Go, a.value]]) : Z("", !0)]),
6717
+ ref_key: "popoverRef",
6718
+ ref: l,
6719
+ class: k({
6720
+ "g-popover": !0,
6721
+ "g-popover-above": w.value,
6722
+ "g-popover-below": !w.value,
6723
+ "g-popover-minimal": e.minimal
6724
+ }),
6725
+ role: "dialog",
6726
+ "aria-modal": "true",
6727
+ "aria-labelledby": s.value ? `${P(f)}-trigger` : void 0,
6728
+ "aria-label": s.value ? void 0 : "Popover",
6729
+ style: de({
6730
+ top: S.value.top + "px",
6731
+ left: S.value.left + "px",
6732
+ zIndex: P(g)
6733
+ })
6734
+ }, [
6735
+ !T.value && !e.minimal ? (G(), K("div", {
6736
+ key: 0,
6737
+ class: k(["g-popover-arrow", { "g-popover-arrow-above": w.value }]),
6738
+ style: de(C.value),
6739
+ "aria-hidden": "true"
6740
+ }, null, 6)) : Z("", !0),
6741
+ V(t.$slots, "default"),
6742
+ e.minimal ? Z("", !0) : (G(), K("button", {
6743
+ key: 1,
6744
+ class: "g-popover-close",
6745
+ type: "button",
6746
+ "aria-label": "Close popover",
6747
+ onClick: b
6748
+ }, [...n[0] ||= [J("svg", {
6749
+ class: "g-popover-close-icon",
6750
+ xmlns: "http://www.w3.org/2000/svg",
6751
+ viewBox: "0 0 51.26 51.26",
6752
+ "aria-hidden": "true"
6753
+ }, [J("path", {
6754
+ fill: "currentColor",
6755
+ d: "m37.84 32.94-7.63-7.63 7.63-7.63a3.24 3.24 0 0 0-4.58-4.58l-7.63 7.63L18 13.1a3.24 3.24 0 0 0-4.58 4.58L21 25.31l-7.62 7.63A3.24 3.24 0 1 0 18 37.52l7.63-7.63 7.63 7.63a3.24 3.24 0 0 0 4.58-4.58Z"
6756
+ })], -1)]]))
6757
+ ], 14, uf)), [[Go, a.value]]) : Z("", !0)]),
6758
+ _: 3
6759
+ })], 8, ["disabled"]))]),
6718
6760
  _: 3
6719
- })], 8, ["disabled"]))]));
6761
+ })]));
6720
6762
  }
6721
- }), [["styles", [""]]]), sf = /*#__PURE__*/ $(/* @__PURE__ */ R({
6763
+ }), [["styles", [""]]]), ff = /*#__PURE__*/ $(/* @__PURE__ */ R({
6722
6764
  __name: "GTooltip",
6723
6765
  props: { text: { type: String } },
6724
6766
  emits: ["tooltip-hide"],
@@ -6733,12 +6775,12 @@ var Vd = ["id", "for"], Hd = {
6733
6775
  return t instanceof HTMLElement ? t : null;
6734
6776
  }
6735
6777
  function v() {
6736
- g && (h || (h = o.value ? Iu("g-tooltip") : Lu(g, "g-tooltip"), o.value && g.setAttribute("aria-describedby", h)), l.value || (l.value = Ru(r.text, h), zu(l.value), f = new ResizeObserver(() => {
6737
- l.value && (u.value || d.value) && g && Bu(g, l.value);
6778
+ g && (h || (h = o.value ? Bu("g-tooltip") : Vu(g, "g-tooltip"), o.value && g.setAttribute("aria-describedby", h)), l.value || (l.value = Hu(r.text, h), Uu(l.value), f = new ResizeObserver(() => {
6779
+ l.value && (u.value || d.value) && g && Wu(g, l.value);
6738
6780
  }), f.observe(l.value)));
6739
6781
  }
6740
6782
  function y() {
6741
- l.value && (u.value || d.value) && g && Bu(g, l.value);
6783
+ l.value && (u.value || d.value) && g && Wu(g, l.value);
6742
6784
  }
6743
6785
  function b() {
6744
6786
  u.value = !0;
@@ -6784,10 +6826,10 @@ var Vd = ["id", "for"], Hd = {
6784
6826
  l.value && (l.value.textContent = e);
6785
6827
  }), L(() => u.value || d.value, (e) => {
6786
6828
  if (e) {
6787
- v(), l.value && g && Bu(g, l.value), p ||= (window.addEventListener("scroll", y, { capture: !0 }), !0);
6829
+ v(), l.value && g && Wu(g, l.value), p ||= (window.addEventListener("scroll", y, { capture: !0 }), !0);
6788
6830
  return;
6789
6831
  }
6790
- p &&= (window.removeEventListener("scroll", y, { capture: !0 }), !1), l.value && (Vu(l.value), m && clearTimeout(m), m = window.setTimeout(() => {
6832
+ p &&= (window.removeEventListener("scroll", y, { capture: !0 }), !1), l.value && (Gu(l.value), m && clearTimeout(m), m = window.setTimeout(() => {
6791
6833
  i("tooltip-hide");
6792
6834
  }, 150));
6793
6835
  }), Jr(() => {
@@ -6807,21 +6849,21 @@ var Vd = ["id", "for"], Hd = {
6807
6849
  class: "g-tooltip-trigger"
6808
6850
  }, [V(e.$slots, "trigger")], 512)) : Z("", !0)], 512));
6809
6851
  }
6810
- }), [["styles", [""]]]), cf = ["width", "height"], lf = [
6852
+ }), [["styles", [""]]]), pf = ["width", "height"], mf = [
6811
6853
  "cx",
6812
6854
  "cy",
6813
6855
  "r"
6814
- ], uf = [
6856
+ ], hf = [
6815
6857
  "cx",
6816
6858
  "cy",
6817
6859
  "r",
6818
6860
  "stroke-dasharray",
6819
6861
  "stroke-dashoffset"
6820
- ], df = [
6862
+ ], gf = [
6821
6863
  "cx",
6822
6864
  "cy",
6823
6865
  "r"
6824
- ], ff = /*#__PURE__*/ $(/* @__PURE__ */ R({
6866
+ ], _f = /*#__PURE__*/ $(/* @__PURE__ */ R({
6825
6867
  __name: "GProgress",
6826
6868
  props: {
6827
6869
  label: {
@@ -6871,7 +6913,7 @@ var Vd = ["id", "for"], Hd = {
6871
6913
  r: r.value,
6872
6914
  "stroke-width": 4,
6873
6915
  fill: "none"
6874
- }, null, 8, lf), n.value ? (G(), K("circle", {
6916
+ }, null, 8, mf), n.value ? (G(), K("circle", {
6875
6917
  key: 0,
6876
6918
  class: "g-progress__value",
6877
6919
  cx: r.value + 4 / 2,
@@ -6885,7 +6927,7 @@ var Vd = ["id", "for"], Hd = {
6885
6927
  transform: "rotate(-90deg)",
6886
6928
  "transform-origin": "center"
6887
6929
  }
6888
- }, null, 8, uf)) : (G(), K("circle", {
6930
+ }, null, 8, hf)) : (G(), K("circle", {
6889
6931
  key: 1,
6890
6932
  class: "g-progress__spinner",
6891
6933
  cx: r.value + 4 / 2,
@@ -6893,29 +6935,29 @@ var Vd = ["id", "for"], Hd = {
6893
6935
  r: r.value,
6894
6936
  "stroke-width": 4,
6895
6937
  fill: "none"
6896
- }, null, 8, df))], 10, cf))], 16));
6938
+ }, null, 8, gf))], 10, pf))], 16));
6897
6939
  }
6898
- }), [["styles", [""]]]), pf = ["aria-label"], mf = [
6940
+ }), [["styles", [""]]]), vf = ["aria-label"], yf = [
6899
6941
  "placeholder",
6900
6942
  "value",
6901
6943
  "aria-expanded",
6902
6944
  "aria-controls",
6903
6945
  "aria-activedescendant"
6904
- ], hf = {
6946
+ ], bf = {
6905
6947
  key: 0,
6906
6948
  class: "g-search-dropdown"
6907
- }, gf = {
6949
+ }, xf = {
6908
6950
  "aria-live": "polite",
6909
6951
  class: "g-search-result-count"
6910
- }, _f = ["id"], vf = ["aria-label"], yf = { class: "g-search-group-label" }, bf = [
6952
+ }, Sf = ["id"], Cf = ["aria-label"], wf = { class: "g-search-group-label" }, Tf = [
6911
6953
  "id",
6912
6954
  "onMousedown",
6913
6955
  "aria-selected"
6914
- ], xf = [
6956
+ ], Ef = [
6915
6957
  "id",
6916
6958
  "onMousedown",
6917
6959
  "aria-selected"
6918
- ], Sf = /*#__PURE__*/ $(/* @__PURE__ */ R({
6960
+ ], Df = /*#__PURE__*/ $(/* @__PURE__ */ R({
6919
6961
  __name: "GSearch",
6920
6962
  props: /*@__PURE__*/ H({
6921
6963
  results: { type: Array },
@@ -6949,7 +6991,7 @@ var Vd = ["id", "for"], Hd = {
6949
6991
  e && e.scrollIntoView({ block: "nearest" });
6950
6992
  });
6951
6993
  }
6952
- let { focused: p } = Wc(a);
6994
+ let { focused: p } = Jc(a);
6953
6995
  function m(e) {
6954
6996
  let t = e.altKey;
6955
6997
  if (e.key === "ArrowDown") {
@@ -6973,7 +7015,7 @@ var Vd = ["id", "for"], Hd = {
6973
7015
  function h(e) {
6974
7016
  i("select", e), n.value = "", s.value = !0, c.value = -1;
6975
7017
  }
6976
- let g = Q(() => !!r.loading), _ = Q(() => p.value && !s.value), v = dc(() => {
7018
+ let g = Q(() => !!r.loading), _ = Q(() => p.value && !s.value), v = hc(() => {
6977
7019
  i("submit", n.value);
6978
7020
  }, 300);
6979
7021
  L(() => n.value, (e) => {
@@ -6986,7 +7028,7 @@ var Vd = ["id", "for"], Hd = {
6986
7028
  "aria-label": r.label
6987
7029
  }, [J("form", {
6988
7030
  class: "g-search-form",
6989
- onSubmit: t[0] ||= As((e) => h(null), ["prevent"])
7031
+ onSubmit: t[0] ||= Ps((e) => h(null), ["prevent"])
6990
7032
  }, [J("input", {
6991
7033
  ref_key: "inputRef",
6992
7034
  ref: a,
@@ -7002,12 +7044,12 @@ var Vd = ["id", "for"], Hd = {
7002
7044
  "aria-autocomplete": "list",
7003
7045
  "aria-controls": `${P(y)}-list`,
7004
7046
  "aria-activedescendant": c.value >= 0 ? "g-search-option-" + l.value[c.value].id : void 0
7005
- }, null, 40, mf), J("button", {
7047
+ }, null, 40, yf), J("button", {
7006
7048
  type: "submit",
7007
7049
  class: "g-search-submit",
7008
7050
  "aria-label": "Submit search",
7009
7051
  onKeydown: m
7010
- }, [g.value ? (G(), q(ff, {
7052
+ }, [g.value ? (G(), q(_f, {
7011
7053
  key: 0,
7012
7054
  size: "tiny"
7013
7055
  })) : Z("", !0), t[1] ||= J("svg", {
@@ -7018,7 +7060,7 @@ var Vd = ["id", "for"], Hd = {
7018
7060
  }, [J("path", {
7019
7061
  fill: "currentColor",
7020
7062
  d: "M30 9.76A14.05 14.05 0 1 0 28.3 31l11.3 13a3.34 3.34 0 0 0 4.72-4.72L31.44 27.86A14.05 14.05 0 0 0 30 9.76ZM27.27 27a10.26 10.26 0 1 1 0-14.5 10.25 10.25 0 0 1 0 14.5Z"
7021
- })], -1)], 32)], 32), _.value ? (G(), K("div", hf, [J("div", gf, [g.value ? Z("", !0) : (G(), K(W, { key: 0 }, [X(A(u.value) + " result" + A(u.value === 1 ? "" : "s"), 1)], 64))]), J("div", {
7063
+ })], -1)], 32)], 32), _.value ? (G(), K("div", bf, [J("div", xf, [g.value ? Z("", !0) : (G(), K(W, { key: 0 }, [X(A(u.value) + " result" + A(u.value === 1 ? "" : "s"), 1)], 64))]), J("div", {
7022
7064
  role: "listbox",
7023
7065
  id: `${P(y)}-list`,
7024
7066
  ref_key: "listboxRef",
@@ -7029,27 +7071,27 @@ var Vd = ["id", "for"], Hd = {
7029
7071
  class: "g-search-group",
7030
7072
  role: "group",
7031
7073
  "aria-label": t.label
7032
- }, [V(e.$slots, "group", { group: t }, () => [J("div", yf, A(t.label), 1)]), (G(!0), K(W, null, B(t.items, (t, n) => (G(), K("div", {
7074
+ }, [V(e.$slots, "group", { group: t }, () => [J("div", wf, A(t.label), 1)]), (G(!0), K(W, null, B(t.items, (t, n) => (G(), K("div", {
7033
7075
  key: t.id,
7034
7076
  id: "g-search-option-" + t.id,
7035
7077
  class: k(["g-search-option", { "g-search-option-active": l.value[c.value] && l.value[c.value].id === t.id }]),
7036
7078
  role: "option",
7037
- onMousedown: As((e) => h(t), ["prevent"]),
7079
+ onMousedown: Ps((e) => h(t), ["prevent"]),
7038
7080
  "aria-selected": l.value[c.value] && l.value[c.value].id === t.id
7039
- }, [V(e.$slots, "option", { option: t }, () => [X(A(t.title), 1)])], 42, bf))), 128))], 8, vf))), 128)) : u.value > 0 ? (G(!0), K(W, { key: 1 }, B(l.value, (t, n) => (G(), K("div", {
7081
+ }, [V(e.$slots, "option", { option: t }, () => [X(A(t.title), 1)])], 42, Tf))), 128))], 8, Cf))), 128)) : u.value > 0 ? (G(!0), K(W, { key: 1 }, B(l.value, (t, n) => (G(), K("div", {
7040
7082
  key: t.id,
7041
7083
  id: "g-search-option-" + t.id,
7042
7084
  class: k(["g-search-option", { "g-search-option-active": c.value === n }]),
7043
7085
  role: "option",
7044
- onMousedown: As((e) => h(t), ["prevent"]),
7086
+ onMousedown: Ps((e) => h(t), ["prevent"]),
7045
7087
  "aria-selected": c.value === n
7046
- }, [V(e.$slots, "option", { option: t }, () => [X(A(t.title), 1)])], 42, xf))), 128)) : Z("", !0)], 8, _f)])) : Z("", !0)], 8, pf));
7088
+ }, [V(e.$slots, "option", { option: t }, () => [X(A(t.title), 1)])], 42, Ef))), 128)) : Z("", !0)], 8, Sf)])) : Z("", !0)], 8, vf));
7047
7089
  }
7048
- }), [["styles", [""]]]), Cf = ["id"], wf = {
7090
+ }), [["styles", [""]]]), Of = ["id"], kf = {
7049
7091
  key: 0,
7050
7092
  class: "g-select-required",
7051
7093
  "aria-hidden": "true"
7052
- }, Tf = { class: "g-select-input-wrap" }, Ef = ["id"], Df = [
7094
+ }, Af = { class: "g-select-input-wrap" }, jf = ["id"], Mf = [
7053
7095
  "value",
7054
7096
  "placeholder",
7055
7097
  "disabled",
@@ -7057,21 +7099,21 @@ var Vd = ["id", "for"], Hd = {
7057
7099
  "aria-expanded",
7058
7100
  "aria-required",
7059
7101
  "aria-activedescendant"
7060
- ], Of = [
7102
+ ], Nf = [
7061
7103
  "id",
7062
7104
  "aria-controls",
7063
7105
  "aria-expanded",
7064
7106
  "aria-required",
7065
7107
  "aria-activedescendant"
7066
- ], kf = ["id"], Af = [
7108
+ ], Pf = ["id"], Ff = [
7067
7109
  "id",
7068
7110
  "aria-selected",
7069
7111
  "onClick"
7070
- ], jf = {
7112
+ ], If = {
7071
7113
  key: 1,
7072
7114
  "aria-live": "polite",
7073
7115
  class: "g-select-combo-option g-select-option g-select-no-results"
7074
- }, Mf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7116
+ }, Lf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7075
7117
  __name: "GSelect",
7076
7118
  props: /*@__PURE__*/ H({
7077
7119
  options: { type: Array },
@@ -7107,18 +7149,18 @@ var Vd = ["id", "for"], Hd = {
7107
7149
  }),
7108
7150
  emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
7109
7151
  setup(e, { emit: t }) {
7110
- let n = e, r = t, i = U(e, "modelValue"), a = z(), o = /* @__PURE__ */ N(null), s = /* @__PURE__ */ N(null), c = /* @__PURE__ */ N(null), l = /* @__PURE__ */ N(!1), u = /* @__PURE__ */ N(0), d = /* @__PURE__ */ N(!1), f = /* @__PURE__ */ N(!1), { displayErrors: p, hasErrors: m } = bu({
7152
+ let n = e, r = t, i = U(e, "modelValue"), a = z(), o = /* @__PURE__ */ N(null), s = /* @__PURE__ */ N(null), c = /* @__PURE__ */ N(null), l = /* @__PURE__ */ N(!1), u = /* @__PURE__ */ N(0), d = /* @__PURE__ */ N(!1), f = /* @__PURE__ */ N(!1), { displayErrors: p, hasErrors: m } = wu({
7111
7153
  name: n.name,
7112
7154
  value: i,
7113
7155
  errors: /* @__PURE__ */ fn(n, "errors"),
7114
7156
  formKey: n.formKey
7115
- }), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } = Bd({
7157
+ }), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } = Wd({
7116
7158
  open: l,
7117
7159
  anchorRef: o,
7118
7160
  listboxRef: s,
7119
7161
  baseId: a,
7120
7162
  activeIndex: u
7121
- }), y = Q(() => zd(n.options)), b = /* @__PURE__ */ N(""), x = Q(() => {
7163
+ }), y = Q(() => Ud(n.options)), b = /* @__PURE__ */ N(""), x = Q(() => {
7122
7164
  if (!n.searchable || !l.value || !b.value) return y.value;
7123
7165
  let e = b.value.toLowerCase();
7124
7166
  return y.value.filter((t) => t.label.toLowerCase().includes(e));
@@ -7226,8 +7268,8 @@ var Vd = ["id", "for"], Hd = {
7226
7268
  key: 0,
7227
7269
  id: P(a) + "-label",
7228
7270
  class: "g-select-combo-label g-select-label"
7229
- }, [X(A(n.label), 1), n.required ? (G(), K("span", wf, " *")) : Z("", !0)], 8, Cf)),
7230
- J("div", Tf, [n.searchable ? (G(), K("div", {
7271
+ }, [X(A(n.label), 1), n.required ? (G(), K("span", kf, " *")) : Z("", !0)], 8, Of)),
7272
+ J("div", Af, [n.searchable ? (G(), K("div", {
7231
7273
  key: 0,
7232
7274
  class: "g-select-combo-input g-select-control",
7233
7275
  id: P(a)
@@ -7254,7 +7296,7 @@ var Vd = ["id", "for"], Hd = {
7254
7296
  }, e.hiddenLabel ? { "aria-label": n.label } : { "aria-labelledby": P(a) + "-label" }, {
7255
7297
  role: "combobox",
7256
7298
  autocomplete: "off"
7257
- }), null, 16, Df),
7299
+ }), null, 16, Mf),
7258
7300
  ie.value ? (G(), K("button", {
7259
7301
  key: 0,
7260
7302
  type: "button",
@@ -7280,7 +7322,7 @@ var Vd = ["id", "for"], Hd = {
7280
7322
  fill: "currentColor",
7281
7323
  d: "M38.75 24.13a1.36 1.36 0 0 1 0 2.36l-12.44 7.18-12.43 7.18a1.36 1.36 0 0 1-2.05-1.18V11a1.36 1.36 0 0 1 2.05-1.18L26.31 17Z"
7282
7324
  })], -1)
7283
- ], 8, Ef)) : (G(), K("div", Va({
7325
+ ], 8, jf)) : (G(), K("div", Va({
7284
7326
  key: 1,
7285
7327
  ref_key: "comboRef",
7286
7328
  ref: o,
@@ -7304,7 +7346,7 @@ var Vd = ["id", "for"], Hd = {
7304
7346
  key: 0,
7305
7347
  type: "button",
7306
7348
  class: "g-select-clear-btn",
7307
- onClick: As(ae, ["stop"])
7349
+ onClick: Ps(ae, ["stop"])
7308
7350
  }, [...r[2] ||= [J("svg", {
7309
7351
  role: "img",
7310
7352
  "aria-label": "Clear Selection",
@@ -7325,7 +7367,7 @@ var Vd = ["id", "for"], Hd = {
7325
7367
  fill: "currentColor",
7326
7368
  d: "M38.75 24.13a1.36 1.36 0 0 1 0 2.36l-12.44 7.18-12.43 7.18a1.36 1.36 0 0 1-2.05-1.18V11a1.36 1.36 0 0 1 2.05-1.18L26.31 17Z"
7327
7369
  })], -1)
7328
- ], 16, Of)), Wn(J("div", Va({
7370
+ ], 16, Nf)), Wn(J("div", Va({
7329
7371
  ref_key: "listboxRef",
7330
7372
  ref: s,
7331
7373
  class: ["g-select-combo-menu g-select-list", { "g-select-combo-menu--above": P(h) === "above" }],
@@ -7347,18 +7389,18 @@ var Vd = ["id", "for"], Hd = {
7347
7389
  option: e,
7348
7390
  selected: e.value === i.value,
7349
7391
  index: n
7350
- }, () => [X(A(e.label), 1)])], 42, Af))), 128)) : (G(), K("div", jf, " No results found. "))], 16, kf), [[Go, l.value]])]),
7351
- Y(Su, {
7392
+ }, () => [X(A(e.label), 1)])], 42, Ff))), 128)) : (G(), K("div", If, " No results found. "))], 16, Pf), [[Go, l.value]])]),
7393
+ Y(Eu, {
7352
7394
  errors: P(p),
7353
7395
  id: "error-message-" + P(a)
7354
7396
  }, null, 8, ["errors", "id"])
7355
7397
  ], 2));
7356
7398
  }
7357
- }), [["styles", [""]]]), Nf = ["disabled"], Pf = { class: "g-select-btn-legend" }, Ff = {
7399
+ }), [["styles", [""]]]), Rf = ["disabled"], zf = { class: "g-select-btn-legend" }, Bf = {
7358
7400
  key: 0,
7359
7401
  class: "g-select-btn-required",
7360
7402
  "aria-hidden": "true"
7361
- }, If = { class: "g-select-btn-row" }, Lf = [
7403
+ }, Vf = { class: "g-select-btn-row" }, Hf = [
7362
7404
  "id",
7363
7405
  "name",
7364
7406
  "value",
@@ -7366,7 +7408,7 @@ var Vd = ["id", "for"], Hd = {
7366
7408
  "disabled",
7367
7409
  "required",
7368
7410
  "onChange"
7369
- ], Rf = ["for"], zf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7411
+ ], Uf = ["for"], Wf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7370
7412
  __name: "GSelectButton",
7371
7413
  props: /*@__PURE__*/ H({
7372
7414
  options: { type: Array },
@@ -7401,7 +7443,7 @@ var Vd = ["id", "for"], Hd = {
7401
7443
  }),
7402
7444
  emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
7403
7445
  setup(e, { emit: t }) {
7404
- let n = e, r = t, i = U(e, "modelValue"), a = z(), { displayErrors: o, hasErrors: s } = bu({
7446
+ let n = e, r = t, i = U(e, "modelValue"), a = z(), { displayErrors: o, hasErrors: s } = wu({
7405
7447
  name: n.name,
7406
7448
  value: i,
7407
7449
  errors: /* @__PURE__ */ fn(n, "errors"),
@@ -7420,7 +7462,7 @@ var Vd = ["id", "for"], Hd = {
7420
7462
  return (e, t) => (G(), K("fieldset", {
7421
7463
  class: k(l.value),
7422
7464
  disabled: n.disabled
7423
- }, [J("legend", Pf, [X(A(n.label), 1), n.required ? (G(), K("span", Ff, " *")) : Z("", !0)]), J("div", { class: k(["g-select-btn-wrapper", { "g-select-btn-has-error": P(s) }]) }, [J("div", If, [(G(!0), K(W, null, B(c.value, (e, t) => (G(), K(W, { key: e.value }, [J("input", {
7465
+ }, [J("legend", zf, [X(A(n.label), 1), n.required ? (G(), K("span", Bf, " *")) : Z("", !0)]), J("div", { class: k(["g-select-btn-wrapper", { "g-select-btn-has-error": P(s) }]) }, [J("div", Vf, [(G(!0), K(W, null, B(c.value, (e, t) => (G(), K(W, { key: e.value }, [J("input", {
7424
7466
  class: "g-select-btn-radio",
7425
7467
  type: "radio",
7426
7468
  id: `${P(a)}-${e.value}`,
@@ -7430,19 +7472,19 @@ var Vd = ["id", "for"], Hd = {
7430
7472
  disabled: n.disabled,
7431
7473
  required: n.required && t === 0,
7432
7474
  onChange: (t) => d(e.value)
7433
- }, null, 40, Lf), J("label", {
7475
+ }, null, 40, Hf), J("label", {
7434
7476
  for: `${P(a)}-${e.value}`,
7435
7477
  class: k(u(e.value === i.value))
7436
- }, A(e.label), 11, Rf)], 64))), 128))]), Y(Su, {
7478
+ }, A(e.label), 11, Uf)], 64))), 128))]), Y(Eu, {
7437
7479
  errors: P(o),
7438
7480
  id: "error-message-" + P(a)
7439
- }, null, 8, ["errors", "id"])], 2)], 10, Nf));
7481
+ }, null, 8, ["errors", "id"])], 2)], 10, Rf));
7440
7482
  }
7441
7483
  }), [["styles", [""]]]);
7442
7484
  //#endregion
7443
7485
  //#region src/compose/useScrollRestore.ts
7444
- function Bf(e, t) {
7445
- let n = t ? Gc(`${t}:scroll`, 0, { writeDefaults: !1 }) : null, r = /* @__PURE__ */ N(!!(n?.value && n.value > 0)), i = null, a = null, o = null, s = !1;
7486
+ function Gf(e, t) {
7487
+ let n = t ? Yc(`${t}:scroll`, 0, { writeDefaults: !1 }) : null, r = /* @__PURE__ */ N(!!(n?.value && n.value > 0)), i = null, a = null, o = null, s = !1;
7446
7488
  function c(e) {
7447
7489
  let t = window.getComputedStyle(e);
7448
7490
  return t.overflowY === "auto" || t.overflowY === "scroll";
@@ -7524,7 +7566,7 @@ function Bf(e, t) {
7524
7566
  }
7525
7567
  //#endregion
7526
7568
  //#region src/components/GSidebar.vue?vue&type=script&setup=true&lang.ts
7527
- var Vf = ["id"], Hf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7569
+ var Kf = ["id"], qf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7528
7570
  __name: "GSidebar",
7529
7571
  props: {
7530
7572
  backgroundColor: {
@@ -7559,7 +7601,7 @@ var Vf = ["id"], Hf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7559
7601
  storageKey: { type: String }
7560
7602
  },
7561
7603
  setup(e) {
7562
- let t = e, n = qn("sidebar", () => void 0, !0) ?? (Ql() ? wd(t.sidebarKey, /* @__PURE__ */ fn(t, "mediaQuery")) : void 0), r = Q(() => t.backgroundImage ? t.backgroundImage : t.theme === "light" ? "none" : "url('https://gradcdn.blob.core.windows.net/public/sidebar-bg2.jpg')"), i = Q(() => t.backgroundColor ? t.backgroundColor : t.theme === "light" ? "#f9f9f9" : "#030913"), a = Q(() => t.topOffsetVar ? `var(${t.topOffsetVar})` : t.topOffset ? t.topOffset : "var(--g-toolbar-height)"), o = z(), { isPendingScrollRestore: s } = Bf(jr("sidebar-ref"), t.storageKey);
7604
+ let t = e, n = qn("sidebar", () => void 0, !0) ?? (nu() ? Od(t.sidebarKey, /* @__PURE__ */ fn(t, "mediaQuery")) : void 0), r = Q(() => t.backgroundImage ? t.backgroundImage : t.theme === "light" ? "none" : "url('https://gradcdn.blob.core.windows.net/public/sidebar-bg2.jpg')"), i = Q(() => t.backgroundColor ? t.backgroundColor : t.theme === "light" ? "#f9f9f9" : "#030913"), a = Q(() => t.topOffsetVar ? `var(${t.topOffsetVar})` : t.topOffset ? t.topOffset : "var(--g-toolbar-height)"), o = z(), { isPendingScrollRestore: s } = Gf(jr("sidebar-ref"), t.storageKey);
7563
7605
  function c(e) {
7564
7606
  e.key === "Escape" && n?.isCollapsible?.value && n?.open?.value && (n.open.value = !1, document.getElementById(`${n.id}-hamburger`)?.focus());
7565
7607
  }
@@ -7580,13 +7622,13 @@ var Vf = ["id"], Hf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7580
7622
  width: "var(--g-sidebar-width)"
7581
7623
  }),
7582
7624
  onKeydown: c
7583
- }, [V(t.$slots, "default")], 46, Vf));
7625
+ }, [V(t.$slots, "default")], 46, Kf));
7584
7626
  }
7585
- }), [["styles", [""]]]), Uf = ["id"], Wf = { class: "g-sidebar-menu__list" }, Gf = [
7627
+ }), [["styles", [""]]]), Jf = ["id"], Yf = { class: "g-sidebar-menu__list" }, Xf = [
7586
7628
  "href",
7587
7629
  "aria-current",
7588
7630
  "onClick"
7589
- ], Kf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7631
+ ], Zf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7590
7632
  __name: "GSidebarMenu",
7591
7633
  props: /*@__PURE__*/ H({
7592
7634
  heading: { type: String },
@@ -7640,13 +7682,13 @@ var Vf = ["id"], Hf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7640
7682
  key: 0,
7641
7683
  id: P(c),
7642
7684
  class: "g-sidebar-menu__title"
7643
- }, A(e.heading), 9, Uf)) : Z("", !0),
7685
+ }, A(e.heading), 9, Jf)) : Z("", !0),
7644
7686
  a[0] ||= J("div", { class: "g-sidebar-menu__divider" }, null, -1),
7645
7687
  J("div", {
7646
7688
  class: "g-sidebar-menu__content",
7647
7689
  ref_key: "content",
7648
7690
  ref: i
7649
- }, [J("ul", Wf, [(G(!0), K(W, null, B(e.items, (e) => (G(), K("li", {
7691
+ }, [J("ul", Yf, [(G(!0), K(W, null, B(e.items, (e) => (G(), K("li", {
7650
7692
  key: e.href || e.to,
7651
7693
  class: "g-sidebar-menu__item",
7652
7694
  ref_for: !0,
@@ -7664,10 +7706,10 @@ var Vf = ["id"], Hf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7664
7706
  href: e.href || e.to || "#",
7665
7707
  "aria-current": r.value === (e.href || "") ? "location" : void 0,
7666
7708
  onClick: (t) => s(t, e)
7667
- }, A(e.label), 11, Gf))]))), 128))])], 512)
7709
+ }, A(e.label), 11, Xf))]))), 128))])], 512)
7668
7710
  ], 16));
7669
7711
  }
7670
- }), [["styles", [""]]]), qf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7712
+ }), [["styles", [""]]]), Qf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7671
7713
  __name: "GSubmitButton",
7672
7714
  props: {
7673
7715
  disabled: {
@@ -7688,8 +7730,8 @@ var Vf = ["id"], Hf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7688
7730
  }
7689
7731
  },
7690
7732
  setup(e) {
7691
- let t = e, n = di(), r = typeof n["form-key"] == "string" ? n["form-key"] : void 0, i = t.formKey || r || "default", a = qn("form", null) ?? (Ql() ? yu(i) : null), o = Q(() => t.disabled || (a?.isSubmitting.value ?? !1)), s = Q(() => a?.isSubmitting.value ?? !1);
7692
- return (e, n) => (G(), q(ru, {
7733
+ let t = e, n = di(), r = typeof n["form-key"] == "string" ? n["form-key"] : void 0, i = t.formKey || r || "default", a = qn("form", null) ?? (nu() ? Cu(i) : null), o = Q(() => t.disabled || (a?.isSubmitting.value ?? !1)), s = Q(() => a?.isSubmitting.value ?? !1);
7734
+ return (e, n) => (G(), q(su, {
7693
7735
  type: "submit",
7694
7736
  disabled: o.value,
7695
7737
  variant: t.variant,
@@ -7699,44 +7741,45 @@ var Vf = ["id"], Hf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7699
7741
  _: 3
7700
7742
  }, 8, ["disabled", "variant"]));
7701
7743
  }
7702
- }), [["styles", [""]]]), Jf = {
7744
+ }), [["styles", [""]]]), $f = {
7703
7745
  ref: "tableBodyRef",
7704
7746
  class: "efficient-table-body"
7705
- }, Yf = ["aria-rowindex"], Xf = {
7747
+ }, ep = ["aria-rowindex"], tp = {
7706
7748
  key: 0,
7707
7749
  class: "table-group-checkbox"
7708
- }, Zf = ["colspan"], Qf = [
7750
+ }, np = ["colspan"], rp = [
7709
7751
  "aria-rowindex",
7710
7752
  "onMousedown",
7711
7753
  "onClick"
7712
- ], $f = [
7754
+ ], ip = [
7713
7755
  "checked",
7714
7756
  "onClick",
7715
7757
  "aria-label",
7716
7758
  "name"
7717
- ], ep = ["id"], tp = {
7759
+ ], ap = ["id"], op = {
7718
7760
  key: 0,
7719
7761
  class: "editable-cell"
7720
- }, np = {
7762
+ }, sp = {
7721
7763
  key: 0,
7722
7764
  class: "cell-prefix"
7723
- }, rp = [
7765
+ }, cp = [
7724
7766
  "value",
7725
7767
  "onChange",
7726
7768
  "aria-labelledby",
7727
7769
  "aria-invalid",
7770
+ "aria-errormessage",
7728
7771
  "name"
7729
- ], ip = ["value"], ap = [
7772
+ ], lp = ["value"], up = [
7730
7773
  "value",
7731
7774
  "onInput",
7732
7775
  "aria-labelledby",
7733
7776
  "aria-invalid",
7734
7777
  "aria-errormessage",
7735
7778
  "name"
7736
- ], op = {
7779
+ ], dp = {
7737
7780
  key: 3,
7738
7781
  class: "cell-suffix"
7739
- }, sp = ["id"], cp = /*#__PURE__*/ $(/* @__PURE__ */ R({
7782
+ }, fp = ["id"], pp = /*#__PURE__*/ $(/* @__PURE__ */ R({
7740
7783
  __name: "GTableBody",
7741
7784
  props: {
7742
7785
  data: { type: Array },
@@ -7805,13 +7848,13 @@ var Vf = ["id"], Hf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7805
7848
  function m(e, t) {
7806
7849
  if (n.changeTracker) return n.changeTracker.getError(e.key, t.key);
7807
7850
  }
7808
- return (t, n) => (G(), K("tbody", Jf, [(G(!0), K(W, null, B(e.data, (t, r) => (G(), K(W, { key: t.key }, [e.groupBy && (r === 0 || t[e.groupBy] !== e.data[r - 1][e.groupBy]) ? (G(), K("tr", {
7851
+ return (t, n) => (G(), K("tbody", $f, [(G(!0), K(W, null, B(e.data, (t, r) => (G(), K(W, { key: t.key }, [e.groupBy && (r === 0 || t[e.groupBy] !== e.data[r - 1][e.groupBy]) ? (G(), K("tr", {
7809
7852
  key: 0,
7810
7853
  "aria-rowindex": e.startIndex + r + 2
7811
- }, [e.bulkSelectionEnabled ? (G(), K("td", Xf)) : Z("", !0), J("td", {
7854
+ }, [e.bulkSelectionEnabled ? (G(), K("td", tp)) : Z("", !0), J("td", {
7812
7855
  colspan: e.columns.length,
7813
7856
  class: "table-group-row"
7814
- }, [e.groupRender ? (G(), q(ni(e.groupRender(t[e.groupBy], t)), { key: 0 })) : (G(), K(W, { key: 1 }, [X(A(t[e.groupBy]), 1)], 64))], 8, Zf)], 8, Yf)) : Z("", !0), J("tr", {
7857
+ }, [e.groupRender ? (G(), q(ni(e.groupRender(t[e.groupBy], t)), { key: 0 })) : (G(), K(W, { key: 1 }, [X(A(t[e.groupBy]), 1)], 64))], 8, np)], 8, ep)) : Z("", !0), J("tr", {
7815
7858
  class: k([
7816
7859
  "efficient-table-row",
7817
7860
  {
@@ -7826,7 +7869,7 @@ var Vf = ["id"], Hf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7826
7869
  }, [e.bulkSelectionEnabled ? (G(), K("td", {
7827
7870
  key: 0,
7828
7871
  class: "td-checkbox",
7829
- onClick: n[0] ||= As(() => {}, ["stop"])
7872
+ onClick: n[0] ||= Ps(() => {}, ["stop"])
7830
7873
  }, [J("input", {
7831
7874
  type: "checkbox",
7832
7875
  checked: o(t.key),
@@ -7834,7 +7877,7 @@ var Vf = ["id"], Hf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7834
7877
  "aria-label": `Select row ${t.key}`,
7835
7878
  name: `row-${t.key}-checkbox`,
7836
7879
  class: "g-bulk-select-checkbox"
7837
- }, null, 8, $f)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (n) => (G(), K("td", {
7880
+ }, null, 8, ip)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (n) => (G(), K("td", {
7838
7881
  key: n.key,
7839
7882
  id: d(n) ? `${e.tableId}-td-${t.key}-${String(n.key)}` : void 0,
7840
7883
  class: k([
@@ -7843,20 +7886,21 @@ var Vf = ["id"], Hf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7843
7886
  p(t, n) ? "g-cell-error" : "",
7844
7887
  typeof n.tdClass == "function" ? n.tdClass(t) : n.tdClass
7845
7888
  ])
7846
- }, [n.editable ? (G(), K("div", tp, [
7847
- n.editable.prefix ? (G(), K("span", np, A(n.editable.prefix), 1)) : Z("", !0),
7889
+ }, [n.editable ? (G(), K("div", op, [
7890
+ n.editable.prefix ? (G(), K("span", sp, A(n.editable.prefix), 1)) : Z("", !0),
7848
7891
  n.editable.type === "select" ? (G(), K("select", {
7849
7892
  key: 1,
7850
7893
  value: t[n.key],
7851
7894
  onChange: (e) => c(e, t, n),
7852
7895
  "aria-labelledby": l(t, n),
7853
7896
  "aria-invalid": p(t, n),
7897
+ "aria-errormessage": p(t, n) ? `${e.tableId}-error-${t.key}-${String(n.key)}` : void 0,
7854
7898
  name: `row-${t.key}-${String(n.key)}-select`,
7855
7899
  class: "editable-input editable-select"
7856
7900
  }, [(G(!0), K(W, null, B(n.editable.options, (e) => (G(), K("option", {
7857
7901
  key: e.value,
7858
7902
  value: e.value
7859
- }, A(e.label), 9, ip))), 128))], 40, rp)) : (G(), K("input", Va({
7903
+ }, A(e.label), 9, lp))), 128))], 40, cp)) : (G(), K("input", Va({
7860
7904
  key: 2,
7861
7905
  value: t[n.key]
7862
7906
  }, { ref_for: !0 }, n.editable.inputAttributes, {
@@ -7870,29 +7914,29 @@ var Vf = ["id"], Hf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7870
7914
  paddingLeft: n.editable.prefix ? "1.5rem" : void 0,
7871
7915
  paddingRight: n.editable.suffix ? "2rem" : void 0
7872
7916
  }
7873
- }), null, 16, ap)),
7874
- n.editable.suffix ? (G(), K("span", op, A(n.editable.suffix), 1)) : Z("", !0)
7917
+ }), null, 16, up)),
7918
+ n.editable.suffix ? (G(), K("span", dp, A(n.editable.suffix), 1)) : Z("", !0)
7875
7919
  ])) : n.display ? (G(), q(ni(n.display(t)), { key: 1 })) : (G(), K(W, { key: 2 }, [X(A(t[n.key]), 1)], 64)), p(t, n) ? (G(), K("div", {
7876
7920
  key: 3,
7877
7921
  role: "alert",
7878
7922
  class: "g-cell-error-message",
7879
7923
  id: `${e.tableId}-error-${t.key}-${String(n.key)}`
7880
- }, A(m(t, n)), 9, sp)) : Z("", !0)], 10, ep))), 128))], 42, Qf)], 64))), 128))], 512));
7924
+ }, A(m(t, n)), 9, fp)) : Z("", !0)], 10, ap))), 128))], 42, rp)], 64))), 128))], 512));
7881
7925
  }
7882
7926
  }), [["styles", [""]]]);
7883
7927
  //#endregion
7884
7928
  //#region src/compose/useFiltering.ts
7885
- function lp(e) {
7929
+ function mp(e) {
7886
7930
  if (!(Array.isArray(e) && e.length === 0) && !(e === null || e === !1 || e === "")) return e;
7887
7931
  }
7888
- function up(e) {
7932
+ function hp(e) {
7889
7933
  let t = {};
7890
7934
  return Object.keys(e).forEach((n) => {
7891
7935
  let r = e[n];
7892
7936
  r != null && r !== "" && r !== !1 && (Array.isArray(r) ? r.length > 0 && (t[n] = r.map((e) => String(e))) : t[n] = String(r));
7893
7937
  }), t;
7894
7938
  }
7895
- function dp(e, t = {}) {
7939
+ function gp(e, t = {}) {
7896
7940
  let n = /* @__PURE__ */ Ht(Object.fromEntries(Object.entries(e).map(([e, t]) => [e, t]))), r = t.syncWith;
7897
7941
  if (r) {
7898
7942
  if (r.value) {
@@ -7905,13 +7949,13 @@ function dp(e, t = {}) {
7905
7949
  });
7906
7950
  }
7907
7951
  L(n, (e) => {
7908
- r.value = up(e);
7952
+ r.value = hp(e);
7909
7953
  }, { deep: !0 });
7910
7954
  }
7911
7955
  return {
7912
7956
  filters: n,
7913
7957
  isFiltered: Q(() => {
7914
- for (let t of Object.keys(e)) if (lp(n[t])) return !0;
7958
+ for (let t of Object.keys(e)) if (mp(n[t])) return !0;
7915
7959
  return !1;
7916
7960
  }),
7917
7961
  clearFilters: () => {
@@ -7921,48 +7965,56 @@ function dp(e, t = {}) {
7921
7965
  },
7922
7966
  filteredColumns: Q(() => {
7923
7967
  let t = {};
7924
- for (let r of Object.keys(e)) t[r] = !!lp(n[r]);
7968
+ for (let r of Object.keys(e)) t[r] = !!mp(n[r]);
7925
7969
  return t;
7926
7970
  })
7927
7971
  };
7928
7972
  }
7929
7973
  //#endregion
7930
7974
  //#region src/components/GTable.vue?vue&type=script&setup=true&lang.ts
7931
- var fp = { class: "g-table-outer-wrap" }, pp = {
7975
+ var _p = { class: "g-table-outer-wrap" }, vp = {
7932
7976
  key: 0,
7933
7977
  class: "g-table-controls"
7934
- }, mp = { class: "g-clear-filters-wrap" }, hp = {
7978
+ }, yp = { class: "g-clear-filters-wrap" }, bp = {
7935
7979
  key: 0,
7936
7980
  class: "pagination"
7937
- }, gp = { class: "g-result-count" }, _p = ["aria-label", "aria-rowcount"], vp = { class: "g-table-head" }, yp = { "aria-rowindex": "1" }, bp = {
7981
+ }, xp = { class: "g-result-count" }, Sp = ["aria-label", "aria-rowcount"], Cp = { class: "g-table-head" }, wp = { "aria-rowindex": "1" }, Tp = {
7938
7982
  key: 0,
7939
7983
  scope: "col",
7940
7984
  class: "g-th g-th-checkbox"
7941
- }, xp = [
7985
+ }, Ep = [
7942
7986
  "checked",
7943
7987
  "indeterminate",
7944
7988
  "aria-label"
7945
- ], Sp = ["id", "aria-sort"], Cp = { class: "th-inner" }, wp = ["onClick"], Tp = {
7989
+ ], Dp = ["id", "aria-sort"], Op = { class: "th-inner" }, kp = ["onClick"], Ap = {
7946
7990
  key: 0,
7947
7991
  class: "sort-indicator"
7948
- }, Ep = ["aria-label"], Dp = {
7992
+ }, jp = ["aria-label"], Mp = {
7949
7993
  key: 1,
7950
7994
  class: "g-column-head"
7951
- }, Op = ["onClick", "aria-label"], kp = { key: 1 }, Ap = { class: "g-filter-toggle" }, jp = [
7995
+ }, Np = ["onClick", "aria-label"], Pp = {
7996
+ key: 1,
7997
+ class: "g-filter-search",
7998
+ role: "search"
7999
+ }, Fp = [
8000
+ "onUpdate:modelValue",
8001
+ "placeholder",
8002
+ "aria-label"
8003
+ ], Ip = { key: 2 }, Lp = { class: "g-filter-toggle" }, Rp = [
7952
8004
  "onUpdate:modelValue",
7953
8005
  "id",
7954
8006
  "aria-describedby"
7955
- ], Mp = ["for"], Np = ["id"], Pp = {
7956
- key: 3,
8007
+ ], zp = ["for"], Bp = ["id"], Vp = {
8008
+ key: 4,
7957
8009
  class: "g-multi-select"
7958
- }, Fp = [
8010
+ }, Hp = [
7959
8011
  "onUpdate:modelValue",
7960
8012
  "id",
7961
8013
  "value"
7962
- ], Ip = ["for"], Lp = {
8014
+ ], Up = ["for"], Wp = {
7963
8015
  key: 1,
7964
8016
  class: "g-bulk-actions-toolbar"
7965
- }, Rp = { class: "g-selected-count" }, zp = { class: "g-bulk-actions" }, Bp = /*#__PURE__*/ $(/* @__PURE__ */ R({
8017
+ }, Gp = { class: "g-selected-count" }, Kp = { class: "g-bulk-actions" }, qp = /*#__PURE__*/ $(/* @__PURE__ */ R({
7966
8018
  __name: "GTable",
7967
8019
  props: /*@__PURE__*/ H({
7968
8020
  label: { type: String },
@@ -8014,7 +8066,7 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8014
8066
  e.sortable && (n.value === e.key ? r.value === 1 ? r.value = -1 : r.value === -1 && (n.value = void 0, r.value = 1) : (n.value = e.key, r.value = 1));
8015
8067
  }
8016
8068
  let l = o.filtering;
8017
- l ||= dp({});
8069
+ l ||= gp({});
8018
8070
  let { filters: u, filteredColumns: d, isFiltered: f, clearFilters: p } = l, m = Q(() => o.data.map((e) => e.key)), h = Q(() => a.value.filter((e) => m.value.includes(e))), g = Q(() => !o.bulkSelectionEnabled || o.data.length === 0 ? !1 : h.value.length === m.value.length), _ = Q(() => !o.bulkSelectionEnabled || o.data.length === 0 ? !1 : h.value.length > 0 && h.value.length < m.value.length), v = /* @__PURE__ */ N(null);
8019
8071
  function y() {
8020
8072
  if (g.value) a.value = a.value.filter((e) => !m.value.includes(e));
@@ -8060,9 +8112,9 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8060
8112
  let e = i.value[t.key];
8061
8113
  i.value[t.key] = e ? [e] : [];
8062
8114
  }
8063
- }, { immediate: !0 }), (t, s) => (G(), K("div", fp, [
8064
- ee.value ? (G(), K("div", pp, [
8065
- J("div", mp, [P(f) ? (G(), q(ru, {
8115
+ }, { immediate: !0 }), (t, s) => (G(), K("div", _p, [
8116
+ ee.value ? (G(), K("div", vp, [
8117
+ J("div", yp, [P(f) ? (G(), q(su, {
8066
8118
  key: 0,
8067
8119
  outlined: "",
8068
8120
  size: "small",
@@ -8080,22 +8132,22 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8080
8132
  })], -1), J("span", { class: "g-clear-filters-text" }, " Clear Filters ", -1)]]),
8081
8133
  _: 1
8082
8134
  }, 8, ["onClick"])) : Z("", !0)]),
8083
- E.value ? (G(), K("div", hp, [V(t.$slots, "pagination")])) : Z("", !0),
8084
- J("span", gp, A(o.resultCount || e.data.length) + " results", 1)
8135
+ E.value ? (G(), K("div", bp, [V(t.$slots, "pagination")])) : Z("", !0),
8136
+ J("span", xp, A(o.resultCount || e.data.length) + " results", 1)
8085
8137
  ])) : Z("", !0),
8086
8138
  J("table", {
8087
8139
  class: "g-table",
8088
8140
  ref: "tableRef",
8089
8141
  "aria-label": e.label,
8090
8142
  "aria-rowcount": o.resultCount || e.data.length
8091
- }, [J("thead", vp, [J("tr", yp, [e.bulkSelectionEnabled ? (G(), K("th", bp, [J("input", {
8143
+ }, [J("thead", Cp, [J("tr", wp, [e.bulkSelectionEnabled ? (G(), K("th", Tp, [J("input", {
8092
8144
  type: "checkbox",
8093
8145
  checked: g.value,
8094
8146
  indeterminate: _.value,
8095
8147
  onChange: y,
8096
8148
  "aria-label": g.value ? "Deselect all rows" : "Select all rows",
8097
8149
  class: "g-bulk-select-checkbox"
8098
- }, null, 40, xp)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (e) => (G(), K("th", {
8150
+ }, null, 40, Ep)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (e) => (G(), K("th", {
8099
8151
  key: e.key,
8100
8152
  id: `${P(w)}-th-${String(e.key)}`,
8101
8153
  "aria-sort": n.value === e.key ? r.value === 1 ? "ascending" : "descending" : "none",
@@ -8105,12 +8157,12 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8105
8157
  { filtered: P(d)[e.key] }
8106
8158
  ]),
8107
8159
  scope: "col"
8108
- }, [J("div", Cp, [e.sortable ? (G(), K("button", {
8160
+ }, [J("div", Op, [e.sortable ? (G(), K("button", {
8109
8161
  key: 0,
8110
8162
  type: "button",
8111
8163
  class: "g-column-head",
8112
8164
  onClick: (t) => c(e)
8113
- }, [X(A(e.label) + " ", 1), n.value === e.key ? (G(), K("span", Tp, [(G(), K("svg", {
8165
+ }, [X(A(e.label) + " ", 1), n.value === e.key ? (G(), K("span", Ap, [(G(), K("svg", {
8114
8166
  xmlns: "http://www.w3.org/2000/svg",
8115
8167
  viewBox: "0 0 640 640",
8116
8168
  height: "1.5em",
@@ -8120,9 +8172,9 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8120
8172
  }, [...s[1] ||= [J("path", {
8121
8173
  fill: "currentColor",
8122
8174
  d: "M300.3 199.2C312.9 188.9 331.4 189.7 343.1 201.4L471.1 329.4C480.3 338.6 483 352.3 478 364.3C473 376.3 461.4 384 448.5 384L192.5 384C179.6 384 167.9 376.2 162.9 364.2C157.9 352.2 160.7 338.5 169.9 329.4L297.9 201.4L300.3 199.2z"
8123
- }, null, -1)]], 12, Ep))])) : Z("", !0)], 8, wp)) : (G(), K("span", Dp, A(e.label), 1)), e.filter ? (G(), q(of, { key: 2 }, {
8175
+ }, null, -1)]], 12, jp))])) : Z("", !0)], 8, kp)) : (G(), K("span", Mp, A(e.label), 1)), e.filter ? (G(), q(df, { key: 2 }, {
8124
8176
  trigger: I(({ toggle: t }) => [J("button", {
8125
- onClick: As(t, ["stop"]),
8177
+ onClick: Ps(t, ["stop"]),
8126
8178
  "aria-label": P(d)[e.key] ? "Column Filtered" : "Filter Column",
8127
8179
  class: k(["g-filter-btn", { "g-active": P(d)[e.key] }]),
8128
8180
  type: "button"
@@ -8134,8 +8186,8 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8134
8186
  }, [J("path", {
8135
8187
  fill: "currentColor",
8136
8188
  d: "M96 128C83.1 128 71.4 135.8 66.4 147.8C61.4 159.8 64.2 173.5 73.4 182.6L256 365.3L256 480C256 488.5 259.4 496.6 265.4 502.6L329.4 566.6C338.6 575.8 352.3 578.5 364.3 573.5C376.3 568.5 384 556.9 384 544L384 365.3L566.6 182.7C575.8 173.5 578.5 159.8 573.5 147.8C568.5 135.8 556.9 128 544 128L96 128z"
8137
- })], -1)]], 10, Op)]),
8138
- default: I(() => [e.filter.type === "select" ? (G(), q(Mf, {
8189
+ })], -1)]], 10, Np)]),
8190
+ default: I(() => [e.filter.type === "select" ? (G(), q(Lf, {
8139
8191
  key: 0,
8140
8192
  modelValue: i.value[e.key],
8141
8193
  "onUpdate:modelValue": (t) => i.value[e.key] = t,
@@ -8148,21 +8200,37 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8148
8200
  "modelValue",
8149
8201
  "onUpdate:modelValue",
8150
8202
  "options"
8151
- ])) : e.filter.type === "toggle" ? (G(), K("div", kp, [J("div", Ap, [
8203
+ ])) : e.filter.type === "search" ? (G(), K("div", Pp, [s[3] ||= J("span", {
8204
+ class: "g-filter-search-icon",
8205
+ "aria-hidden": "true"
8206
+ }, [J("svg", {
8207
+ xmlns: "http://www.w3.org/2000/svg",
8208
+ viewBox: "0 0 51.26 51.26",
8209
+ height: "1em"
8210
+ }, [J("path", {
8211
+ fill: "currentColor",
8212
+ d: "M30 9.76A14.05 14.05 0 1 0 28.3 31l11.3 13a3.34 3.34 0 0 0 4.72-4.72L31.44 27.86A14.05 14.05 0 0 0 30 9.76ZM27.27 27a10.26 10.26 0 1 1 0-14.5 10.25 10.25 0 0 1 0 14.5Z"
8213
+ })])], -1), Wn(J("input", {
8214
+ type: "search",
8215
+ class: "g-filter-search-input",
8216
+ "onUpdate:modelValue": (t) => i.value[e.key] = t,
8217
+ placeholder: e.filter.placeholder,
8218
+ "aria-label": `Search ${e.label}`
8219
+ }, null, 8, Fp), [[Ds, i.value[e.key]]])])) : e.filter.type === "toggle" ? (G(), K("div", Ip, [J("div", Lp, [
8152
8220
  Wn(J("input", {
8153
8221
  type: "checkbox",
8154
8222
  "onUpdate:modelValue": (t) => i.value[e.key] = t,
8155
8223
  id: `${P(w)}-filter-${String(e.key)}`,
8156
8224
  "aria-describedby": e.filter.description ? `${P(w)}-filter-description-${String(e.key)}` : void 0
8157
- }, null, 8, jp), [[ws, i.value[e.key]]]),
8158
- J("label", { for: `${P(w)}-filter-${String(e.key)}` }, A(e.filter.label), 9, Mp),
8225
+ }, null, 8, Rp), [[Os, i.value[e.key]]]),
8226
+ J("label", { for: `${P(w)}-filter-${String(e.key)}` }, A(e.filter.label), 9, zp),
8159
8227
  e.filter.description ? (G(), K("span", {
8160
8228
  key: 0,
8161
8229
  class: "g-filter-description",
8162
8230
  id: `${P(w)}-filter-description-${String(e.key)}`
8163
- }, A(e.filter.description), 9, Np)) : Z("", !0)
8164
- ])])) : e.filter.type === "multi-select" && e.filter.searchable ? (G(), q($d, {
8165
- key: 2,
8231
+ }, A(e.filter.description), 9, Bp)) : Z("", !0)
8232
+ ])])) : e.filter.type === "multi-select" && e.filter.searchable ? (G(), q(rf, {
8233
+ key: 3,
8166
8234
  modelValue: i.value[e.key],
8167
8235
  "onUpdate:modelValue": (t) => i.value[e.key] = t,
8168
8236
  options: e.filter.options,
@@ -8174,28 +8242,28 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8174
8242
  "onUpdate:modelValue",
8175
8243
  "options",
8176
8244
  "placeholder"
8177
- ])) : e.filter.type === "multi-select" ? (G(), K("fieldset", Pp, [
8178
- s[4] ||= J("legend", { class: "g-multi-select-legend" }, " Include values ", -1),
8245
+ ])) : e.filter.type === "multi-select" ? (G(), K("fieldset", Vp, [
8246
+ s[5] ||= J("legend", { class: "g-multi-select-legend" }, " Include values ", -1),
8179
8247
  (G(!0), K(W, null, B(e.filter.options, (t) => (G(), K("div", { key: t.value }, [Wn(J("input", {
8180
8248
  type: "checkbox",
8181
8249
  "onUpdate:modelValue": (t) => i.value[e.key] = t,
8182
8250
  id: `filter-${String(e.key)}-${t.value}`,
8183
8251
  value: t.value,
8184
8252
  name: "filter-multiselect"
8185
- }, null, 8, Fp), [[ws, i.value[e.key]]]), J("label", { for: `filter-${String(e.key)}-${t.value}` }, A(t.label), 9, Ip)]))), 128)),
8186
- i.value[e.key] && i.value[e.key].length ? (G(), q(ru, {
8253
+ }, null, 8, Hp), [[Os, i.value[e.key]]]), J("label", { for: `filter-${String(e.key)}-${t.value}` }, A(t.label), 9, Up)]))), 128)),
8254
+ i.value[e.key] && i.value[e.key].length ? (G(), q(su, {
8187
8255
  key: 0,
8188
8256
  class: "clear-multiselect-btn",
8189
8257
  theme: "accent",
8190
8258
  size: "small",
8191
8259
  onClick: (t) => i.value[e.key] = []
8192
8260
  }, {
8193
- default: I(() => [...s[3] ||= [X(" Clear ", -1)]]),
8261
+ default: I(() => [...s[4] ||= [X(" Clear ", -1)]]),
8194
8262
  _: 1
8195
8263
  }, 8, ["onClick"])) : Z("", !0)
8196
8264
  ])) : Z("", !0)]),
8197
8265
  _: 2
8198
- }, 1024)) : Z("", !0)])], 10, Sp))), 128))])]), Y(cp, {
8266
+ }, 1024)) : Z("", !0)])], 10, Dp))), 128))])]), Y(pp, {
8199
8267
  data: e.data,
8200
8268
  columns: e.columns,
8201
8269
  "group-by": e.groupBy,
@@ -8222,8 +8290,8 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8222
8290
  "selected-rows",
8223
8291
  "table-id",
8224
8292
  "change-tracker"
8225
- ])], 8, _p),
8226
- e.bulkSelectionEnabled && a.value.length > 0 ? (G(), K("div", Lp, [J("span", Rp, A(a.value.length) + " row" + A(a.value.length === 1 ? "" : "s") + " selected", 1), J("ul", zp, [(G(!0), K(W, null, B(e.bulkActions, (e) => (G(), K("li", { key: e.id }, [Y(ru, {
8293
+ ])], 8, Sp),
8294
+ e.bulkSelectionEnabled && a.value.length > 0 ? (G(), K("div", Wp, [J("span", Gp, A(a.value.length) + " row" + A(a.value.length === 1 ? "" : "s") + " selected", 1), J("ul", Kp, [(G(!0), K(W, null, B(e.bulkActions, (e) => (G(), K("li", { key: e.id }, [Y(su, {
8227
8295
  theme: e.theme || "accent",
8228
8296
  onClick: (t) => S(e.id),
8229
8297
  size: "small"
@@ -8233,10 +8301,10 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8233
8301
  }, 1032, ["theme", "onClick"])]))), 128))])])) : Z("", !0)
8234
8302
  ]));
8235
8303
  }
8236
- }), [["styles", [""]]]), Vp = {
8304
+ }), [["styles", [""]]]), Jp = {
8237
8305
  class: "g-pagination",
8238
8306
  "aria-label": "Pagination"
8239
- }, Hp = ["disabled"], Up = ["disabled"], Wp = { class: "page-range" }, Gp = ["disabled"], Kp = ["disabled"], qp = ["value"], Jp = ["value"], Yp = /*#__PURE__*/ $(/* @__PURE__ */ R({
8307
+ }, Yp = ["disabled"], Xp = ["disabled"], Zp = { class: "page-range" }, Qp = ["disabled"], $p = ["disabled"], em = ["value"], tm = ["value"], nm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8240
8308
  __name: "GTablePagination",
8241
8309
  props: /*@__PURE__*/ H({
8242
8310
  start: { type: Number },
@@ -8258,7 +8326,7 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8258
8326
  function d(e) {
8259
8327
  i.value = parseInt(e.target.value, 10);
8260
8328
  }
8261
- return (e, r) => (G(), K("nav", Vp, [
8329
+ return (e, r) => (G(), K("nav", Jp, [
8262
8330
  J("button", {
8263
8331
  class: "first-page g-pagination-button",
8264
8332
  disabled: l.value === 1,
@@ -8283,7 +8351,7 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8283
8351
  }),
8284
8352
  J("path", { d: "M11 7l-5 5l5 5" }),
8285
8353
  J("path", { d: "M17 7l-5 5l5 5" })
8286
- ], -1)]], 8, Hp),
8354
+ ], -1)]], 8, Yp),
8287
8355
  J("button", {
8288
8356
  class: "prev-page g-pagination-button",
8289
8357
  disabled: l.value === 1,
@@ -8304,8 +8372,8 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8304
8372
  stroke: "none",
8305
8373
  d: "M0 0h24v24H0z",
8306
8374
  fill: "none"
8307
- }), J("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8, Up),
8308
- J("span", Wp, A(s.value) + " to " + A(c.value), 1),
8375
+ }), J("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8, Xp),
8376
+ J("span", Zp, A(s.value) + " to " + A(c.value), 1),
8309
8377
  J("button", {
8310
8378
  class: "next-page g-pagination-button",
8311
8379
  disabled: l.value === n.value,
@@ -8326,7 +8394,7 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8326
8394
  stroke: "none",
8327
8395
  d: "M0 0h24v24H0z",
8328
8396
  fill: "none"
8329
- }), J("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8, Gp),
8397
+ }), J("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8, Qp),
8330
8398
  J("button", {
8331
8399
  class: "last-page g-pagination-button",
8332
8400
  disabled: l.value === n.value,
@@ -8351,7 +8419,7 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8351
8419
  }),
8352
8420
  J("path", { d: "M7 7l5 5l-5 5" }),
8353
8421
  J("path", { d: "M13 7l5 5l-5 5" })
8354
- ], -1)]], 8, Kp),
8422
+ ], -1)]], 8, $p),
8355
8423
  J("select", {
8356
8424
  id: "page-size-select",
8357
8425
  class: "page-size-select",
@@ -8365,14 +8433,14 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8365
8433
  ], (e) => (G(), K("option", {
8366
8434
  key: e,
8367
8435
  value: e
8368
- }, A(e), 9, Jp))), 128))], 40, qp),
8436
+ }, A(e), 9, tm))), 128))], 40, em),
8369
8437
  r[8] ||= J("label", {
8370
8438
  class: "page-size-label",
8371
8439
  for: "page-size-select"
8372
8440
  }, "per page", -1)
8373
8441
  ]));
8374
8442
  }
8375
- }), [["styles", [""]]]), Xp = { class: "popover-content" }, Zp = { class: "year-dropdown" }, Qp = { class: "month-selector" }, $p = /*#__PURE__*/ $(/* @__PURE__ */ R({
8443
+ }), [["styles", [""]]]), rm = { class: "popover-content" }, im = { class: "year-dropdown" }, am = { class: "month-selector" }, om = /*#__PURE__*/ $(/* @__PURE__ */ R({
8376
8444
  __name: "GTermSelectorControl",
8377
8445
  props: /*@__PURE__*/ H({
8378
8446
  termYears: {
@@ -8405,7 +8473,7 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8405
8473
  emits: ["update:modelValue"],
8406
8474
  setup(e) {
8407
8475
  let t = U(e, "modelValue");
8408
- return (n, r) => (G(), K("div", Xp, [J("div", Zp, [Y(Mf, {
8476
+ return (n, r) => (G(), K("div", rm, [J("div", im, [Y(Lf, {
8409
8477
  modelValue: t.value.year,
8410
8478
  "onUpdate:modelValue": r[0] ||= (e) => t.value.year = e,
8411
8479
  options: e.termYears,
@@ -8414,7 +8482,7 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8414
8482
  "modelValue",
8415
8483
  "options",
8416
8484
  "label"
8417
- ])]), J("div", Qp, [Y(zf, {
8485
+ ])]), J("div", am, [Y(Wf, {
8418
8486
  modelValue: t.value.name,
8419
8487
  "onUpdate:modelValue": r[1] ||= (e) => t.value.name = e,
8420
8488
  options: e.termNames,
@@ -8426,10 +8494,10 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8426
8494
  "label"
8427
8495
  ])])]));
8428
8496
  }
8429
- }), [["styles", [""]]]), em = { class: "g-term-selector" }, tm = { class: "g-term-label" }, nm = {
8497
+ }), [["styles", [""]]]), sm = { class: "g-term-selector" }, cm = { class: "g-term-label" }, lm = {
8430
8498
  class: "g-popover-title",
8431
8499
  tabindex: "-1"
8432
- }, rm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8500
+ }, um = /*#__PURE__*/ $(/* @__PURE__ */ R({
8433
8501
  __name: "GTermSelector",
8434
8502
  props: /*@__PURE__*/ H({
8435
8503
  heading: {
@@ -8460,8 +8528,8 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8460
8528
  emits: ["update:modelValue"],
8461
8529
  setup(e) {
8462
8530
  let t = U(e, "modelValue");
8463
- return (n, r) => (G(), K("div", em, [Y(of, null, {
8464
- trigger: I(({ toggle: e }) => [Y(ru, {
8531
+ return (n, r) => (G(), K("div", sm, [Y(df, null, {
8532
+ trigger: I(({ toggle: e }) => [Y(su, {
8465
8533
  class: "g-term-selector-button",
8466
8534
  theme: "none",
8467
8535
  outlined: "",
@@ -8469,28 +8537,28 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8469
8537
  }, {
8470
8538
  default: I(() => [
8471
8539
  r[0] ||= J("span", { class: "g-calendar-icon" }, [J("svg", {
8472
- role: "none presentation",
8540
+ role: "none",
8473
8541
  xmlns: "http://www.w3.org/2000/svg",
8474
8542
  viewBox: "0 0 640 640"
8475
8543
  }, [J("path", { d: "M224 64C206.3 64 192 78.3 192 96L192 128L160 128C124.7 128 96 156.7 96 192L96 240L544 240L544 192C544 156.7 515.3 128 480 128L448 128L448 96C448 78.3 433.7 64 416 64C398.3 64 384 78.3 384 96L384 128L256 128L256 96C256 78.3 241.7 64 224 64zM96 288L96 480C96 515.3 124.7 544 160 544L480 544C515.3 544 544 515.3 544 480L544 288L96 288z" })])], -1),
8476
- J("span", tm, A(t.value?.name) + " " + A(t.value?.year), 1),
8544
+ J("span", cm, A(t.value?.name) + " " + A(t.value?.year), 1),
8477
8545
  r[1] ||= J("span", { class: "g-caret" }, [J("svg", {
8478
- role: "none presentation",
8546
+ role: "none",
8479
8547
  xmlns: "http://www.w3.org/2000/svg",
8480
8548
  viewBox: "0 0 640 640"
8481
8549
  }, [J("path", { d: "M300.3 440.8C312.9 451 331.4 450.3 343.1 438.6L471.1 310.6C480.3 301.4 483 287.7 478 275.7C473 263.7 461.4 256 448.5 256L192.5 256C179.6 256 167.9 263.8 162.9 275.8C157.9 287.8 160.7 301.5 169.9 310.6L297.9 438.6L300.3 440.8z" })])], -1)
8482
8550
  ]),
8483
8551
  _: 1
8484
8552
  }, 8, ["onClick"])]),
8485
- default: I(() => [J("h2", nm, A(e.heading), 1), Y($p, ge(Ia(n.$props)), null, 16)]),
8553
+ default: I(() => [J("h2", lm, A(e.heading), 1), Y(om, ge(Ia(n.$props)), null, 16)]),
8486
8554
  _: 1
8487
8555
  })]));
8488
8556
  }
8489
- }), [["styles", [""]]]), im = ["for"], am = {
8557
+ }), [["styles", [""]]]), dm = ["for"], fm = {
8490
8558
  key: 0,
8491
8559
  class: "g-textarea-required",
8492
8560
  "aria-hidden": "true"
8493
- }, om = ["id"], sm = [
8561
+ }, pm = ["id"], mm = [
8494
8562
  "value",
8495
8563
  "placeholder",
8496
8564
  "disabled",
@@ -8499,11 +8567,11 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8499
8567
  "rows",
8500
8568
  "maxlength",
8501
8569
  "aria-invalid"
8502
- ], cm = {
8570
+ ], hm = {
8503
8571
  key: 2,
8504
8572
  class: "g-textarea-char-count",
8505
8573
  "aria-live": "polite"
8506
- }, lm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8574
+ }, gm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8507
8575
  inheritAttrs: !1,
8508
8576
  __name: "GTextarea",
8509
8577
  props: /*@__PURE__*/ H({
@@ -8561,7 +8629,7 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8561
8629
  }),
8562
8630
  emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
8563
8631
  setup(e, { emit: t }) {
8564
- let n = e, r = U(e, "modelValue"), i = z(), { attrs: a, isCustomElement: o, forwardedAttrs: s } = $l({ omitInCustomElement: ["id"] }), c = Q(() => o ? i : a.id || i), { displayErrors: l, hasErrors: u } = bu({
8632
+ let n = e, r = U(e, "modelValue"), i = z(), { attrs: a, isCustomElement: o, forwardedAttrs: s } = ru({ omitInCustomElement: ["id"] }), c = Q(() => o ? i : a.id || i), { displayErrors: l, hasErrors: u } = wu({
8565
8633
  name: n.name,
8566
8634
  value: r,
8567
8635
  errors: /* @__PURE__ */ fn(n, "errors"),
@@ -8600,12 +8668,12 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8600
8668
  key: 0,
8601
8669
  for: c.value,
8602
8670
  class: "g-textarea-label"
8603
- }, [X(A(n.label), 1), n.required ? (G(), K("span", am, " *")) : Z("", !0)], 8, im)) : Z("", !0),
8671
+ }, [X(A(n.label), 1), n.required ? (G(), K("span", fm, " *")) : Z("", !0)], 8, dm)) : Z("", !0),
8604
8672
  t.$slots.instructions || e.instructions ? (G(), K("div", {
8605
8673
  key: 1,
8606
8674
  id: "instructions-" + P(i),
8607
8675
  class: "g-textarea-instructions"
8608
- }, [V(t.$slots, "instructions", {}, () => [X(A(e.instructions), 1)])], 8, om)) : Z("", !0),
8676
+ }, [V(t.$slots, "instructions", {}, () => [X(A(e.instructions), 1)])], 8, pm)) : Z("", !0),
8609
8677
  J("textarea", Va({
8610
8678
  ref: "textareaEl",
8611
8679
  value: r.value ?? "",
@@ -8626,36 +8694,36 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8626
8694
  onInput: h,
8627
8695
  onBlur: g,
8628
8696
  onPaste: _
8629
- }), null, 16, sm),
8630
- n.maxlength === void 0 ? Z("", !0) : (G(), K("div", cm, A((r.value ?? "").length) + " / " + A(n.maxlength), 1)),
8631
- Y(Su, {
8697
+ }), null, 16, mm),
8698
+ n.maxlength === void 0 ? Z("", !0) : (G(), K("div", hm, A((r.value ?? "").length) + " / " + A(n.maxlength), 1)),
8699
+ Y(Eu, {
8632
8700
  errors: P(l),
8633
8701
  id: "error-message-" + P(i)
8634
8702
  }, null, 8, ["errors", "id"])
8635
8703
  ], 2));
8636
8704
  }
8637
- }), [["styles", [""]]]), um = { class: "g-three-way-toggle-wrapper" }, dm = { class: "g-three-way-toggle-control" }, fm = ["id"], pm = [
8705
+ }), [["styles", [""]]]), _m = { class: "g-three-way-toggle-wrapper" }, vm = { class: "g-three-way-toggle-control" }, ym = ["id"], bm = [
8638
8706
  "aria-labelledby",
8639
8707
  "aria-describedby",
8640
8708
  "disabled",
8641
8709
  "aria-invalid",
8642
8710
  "aria-errormessage"
8643
- ], mm = { key: 0 }, hm = { key: 1 }, gm = { key: 2 }, _m = ["for"], vm = [
8711
+ ], xm = { key: 0 }, Sm = { key: 1 }, Cm = { key: 2 }, wm = ["for"], Tm = [
8644
8712
  "id",
8645
8713
  "name",
8646
8714
  "checked",
8647
8715
  "disabled"
8648
- ], ym = ["for"], bm = [
8716
+ ], Em = ["for"], Dm = [
8649
8717
  "id",
8650
8718
  "name",
8651
8719
  "checked",
8652
8720
  "disabled"
8653
- ], xm = ["for"], Sm = [
8721
+ ], Om = ["for"], km = [
8654
8722
  "id",
8655
8723
  "name",
8656
8724
  "checked",
8657
8725
  "disabled"
8658
- ], Cm = ["id"], wm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8726
+ ], Am = ["id"], jm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8659
8727
  __name: "GThreeWayToggle",
8660
8728
  props: /*@__PURE__*/ H({
8661
8729
  label: { type: String },
@@ -8689,10 +8757,10 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8689
8757
  function m(e) {
8690
8758
  n.disabled || (e.key === "n" || e.key === "N" ? (a(!1), e.preventDefault()) : (e.key === "y" || e.key === "Y") && (a(!0), e.preventDefault()));
8691
8759
  }
8692
- return (t, n) => (G(), K("div", um, [J("div", dm, [J("span", {
8760
+ return (t, n) => (G(), K("div", _m, [J("div", vm, [J("span", {
8693
8761
  class: "g-label",
8694
8762
  id: P(c)
8695
- }, [V(t.$slots, "label", {}, () => [X(A(e.label), 1)])], 8, fm), J("fieldset", {
8763
+ }, [V(t.$slots, "label", {}, () => [X(A(e.label), 1)])], 8, ym), J("fieldset", {
8696
8764
  class: k(["g-three-way-toggle", { "g-has-error": e.error }]),
8697
8765
  role: "radiogroup",
8698
8766
  "aria-labelledby": P(c),
@@ -8704,7 +8772,7 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8704
8772
  J("span", {
8705
8773
  class: k(["g-toggle-thumb", p.value]),
8706
8774
  "aria-hidden": "true"
8707
- }, [r.value === !1 ? (G(), K("span", mm, "NO")) : r.value === !0 ? (G(), K("span", hm, "YES")) : (G(), K("span", gm))], 2),
8775
+ }, [r.value === !1 ? (G(), K("span", xm, "NO")) : r.value === !0 ? (G(), K("span", Sm, "YES")) : (G(), K("span", Cm))], 2),
8708
8776
  J("label", {
8709
8777
  for: P(u),
8710
8778
  class: "g-toggle-option g-left",
@@ -8718,7 +8786,7 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8718
8786
  value: "false",
8719
8787
  disabled: e.disabled,
8720
8788
  onChange: n[0] ||= (e) => o(!1)
8721
- }, null, 40, vm), n[5] ||= J("span", { class: "ilw-sr-only" }, "No", -1)], 40, _m),
8789
+ }, null, 40, Tm), n[5] ||= J("span", { class: "ilw-sr-only" }, "No", -1)], 40, wm),
8722
8790
  J("label", {
8723
8791
  for: P(d),
8724
8792
  class: "g-toggle-option g-center",
@@ -8730,7 +8798,7 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8730
8798
  checked: r.value === null,
8731
8799
  disabled: e.disabled,
8732
8800
  onChange: n[2] ||= (e) => o(null)
8733
- }, null, 40, bm), n[6] ||= J("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, ym),
8801
+ }, null, 40, Dm), n[6] ||= J("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, Em),
8734
8802
  J("label", {
8735
8803
  for: P(f),
8736
8804
  class: "g-toggle-option g-right",
@@ -8744,22 +8812,22 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8744
8812
  checked: r.value === !0,
8745
8813
  disabled: e.disabled,
8746
8814
  onChange: n[3] ||= (e) => o(!0)
8747
- }, null, 40, Sm), n[7] ||= J("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, xm)
8748
- ], 2)], 10, pm)]), e.error ? (G(), K("div", {
8815
+ }, null, 40, km), n[7] ||= J("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, Om)
8816
+ ], 2)], 10, bm)]), e.error ? (G(), K("div", {
8749
8817
  key: 0,
8750
8818
  id: `${P(c)}-error`,
8751
8819
  class: "g-form-error",
8752
8820
  role: "alert",
8753
8821
  "aria-atomic": "true"
8754
- }, A(e.error), 9, Cm)) : Z("", !0)]));
8822
+ }, A(e.error), 9, Am)) : Z("", !0)]));
8755
8823
  }
8756
- }), [["styles", [""]]]), Tm = { class: "g-tree-menu__divider" }, Em = {
8824
+ }), [["styles", [""]]]), Mm = { class: "g-tree-menu__divider" }, Nm = {
8757
8825
  key: 0,
8758
8826
  class: "g-tree-menu__divider-line"
8759
- }, Dm = {
8827
+ }, Pm = {
8760
8828
  key: 1,
8761
8829
  class: "g-tree-menu__expand-all-wrapper"
8762
- }, Om = { class: "g-tree-menu__content" }, km = /*#__PURE__*/ $(/* @__PURE__ */ R({
8830
+ }, Fm = { class: "g-tree-menu__content" }, Im = /*#__PURE__*/ $(/* @__PURE__ */ R({
8763
8831
  __name: "GTreeMenu",
8764
8832
  props: {
8765
8833
  heading: { type: String },
@@ -8787,7 +8855,7 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8787
8855
  },
8788
8856
  setup(e) {
8789
8857
  let t = e, n = z();
8790
- Kn("g-tree-menu-list-type", t.listType), Kn("g-tree-menu-expanded-storage", t.storageKey ? Gc(t.storageKey, {}) : null);
8858
+ Kn("g-tree-menu-list-type", t.listType), Kn("g-tree-menu-expanded-storage", t.storageKey ? Yc(t.storageKey, {}) : null);
8791
8859
  let r = /* @__PURE__ */ Ht(/* @__PURE__ */ new Map());
8792
8860
  Kn("g-tree-menu-expandable-items", r);
8793
8861
  let i = /* @__PURE__ */ N({
@@ -8878,7 +8946,7 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8878
8946
  default: I(() => [X(A(e.heading), 1)]),
8879
8947
  _: 1
8880
8948
  }, 8, ["id"])) : Z("", !0),
8881
- J("div", Tm, [e.smallHeading ? Z("", !0) : (G(), K("div", Em)), e.showExpandAll ? (G(), K("div", Dm, [J("button", {
8949
+ J("div", Mm, [e.smallHeading ? Z("", !0) : (G(), K("div", Nm)), e.showExpandAll ? (G(), K("div", Pm, [J("button", {
8882
8950
  class: "g-tree-menu__expand-all-btn",
8883
8951
  onClick: o
8884
8952
  }, [(G(), K("svg", {
@@ -8891,17 +8959,17 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8891
8959
  "stroke-linecap": "round",
8892
8960
  "stroke-linejoin": "round"
8893
8961
  }, [...i[0] ||= [J("polyline", { points: "7 8 12 13 17 8" }, null, -1), J("polyline", { points: "7 13 12 18 17 13" }, null, -1)]], 2)), X(" " + A(a.value ? "Collapse all" : "Expand all"), 1)])])) : Z("", !0)]),
8894
- J("div", Om, [V(r.$slots, "default")])
8962
+ J("div", Fm, [V(r.$slots, "default")])
8895
8963
  ], 16));
8896
8964
  }
8897
- }), [["styles", [""]]]), Am = /*#__PURE__*/ $(/* @__PURE__ */ R({
8965
+ }), [["styles", [""]]]), Lm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8898
8966
  name: "GTreeMenuList",
8899
8967
  props: { listType: {
8900
8968
  default: void 0,
8901
8969
  type: String
8902
8970
  } },
8903
8971
  setup(e) {
8904
- let t = e, n = qn("g-tree-menu-list-type", "ul"), r = Q(() => t.listType ?? n ?? "ul"), i = Ql(), a = qa();
8972
+ let t = e, n = qn("g-tree-menu-list-type", "ul"), r = Q(() => t.listType ?? n ?? "ul"), i = nu(), a = qa();
8905
8973
  return Gr(() => {
8906
8974
  if (!i) return;
8907
8975
  let e = a?.ce;
@@ -8914,16 +8982,13 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8914
8982
  _: 3
8915
8983
  }, 8, ["role"]));
8916
8984
  }
8917
- }), [["styles", [""]]]), jm = {
8985
+ }), [["styles", [""]]]), Rm = {
8918
8986
  key: 0,
8919
8987
  class: "g-tree-menu__row"
8920
- }, Mm = { class: "g-tree-menu__row-content-text" }, Nm = {
8988
+ }, zm = { class: "g-tree-menu__row-content-text" }, Bm = {
8921
8989
  key: 1,
8922
8990
  class: "g-tree-menu__row g-tree-menu__row--leaf"
8923
- }, Pm = {
8924
- class: "g-tree-menu__row-content",
8925
- "data-tree-primary": ""
8926
- }, Fm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8991
+ }, Vm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8927
8992
  name: "GTreeMenuItem",
8928
8993
  inheritAttrs: !1,
8929
8994
  props: {
@@ -8981,7 +9046,7 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8981
9046
  function S(e) {
8982
9047
  (e.key === "Enter" || e.key === " ") && (m(), e.preventDefault());
8983
9048
  }
8984
- let C = Ql(), w = a?.ce;
9049
+ let C = nu(), w = a?.ce;
8985
9050
  Gr(() => {
8986
9051
  C && w && w.setAttribute("role", "listitem");
8987
9052
  });
@@ -8995,12 +9060,12 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
8995
9060
  class: "g-tree-menu__item",
8996
9061
  "data-tree-expandable": c.value ? "true" : void 0
8997
9062
  }), {
8998
- default: I(() => [c.value ? (G(), K("div", jm, [J("div", {
9063
+ default: I(() => [c.value ? (G(), K("div", Rm, [J("div", {
8999
9064
  class: "g-tree-menu__toggle-btn",
9000
9065
  onClick: m
9001
9066
  }, [(G(), K("svg", {
9002
9067
  class: k(["g-tree-menu__chevron", { "g-tree-menu__chevron--expanded": d.value }]),
9003
- role: "none presentation",
9068
+ role: "none",
9004
9069
  viewBox: "0 0 24 24",
9005
9070
  fill: "none",
9006
9071
  stroke: "currentColor",
@@ -9014,7 +9079,12 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
9014
9079
  "data-tree-primary": "",
9015
9080
  onClick: x,
9016
9081
  onKeydown: S
9017
- }, [J("span", Mm, [V(e.$slots, "default")])], 544)])) : (G(), K("div", Nm, [t[1] ||= J("span", { class: "g-tree-menu__spacer" }, null, -1), J("span", Pm, [V(e.$slots, "default")])])), c.value && d.value ? (G(), q(Am, {
9082
+ }, [J("span", zm, [V(e.$slots, "default")])], 544)])) : (G(), K("div", Bm, [t[1] ||= J("span", { class: "g-tree-menu__spacer" }, null, -1), J("span", {
9083
+ class: "g-tree-menu__row-content",
9084
+ ref_key: "contentRef",
9085
+ ref: f,
9086
+ "data-tree-primary": ""
9087
+ }, [V(e.$slots, "default")], 512)])), c.value && d.value ? (G(), q(Lm, {
9018
9088
  key: 2,
9019
9089
  id: P(o) + "-children"
9020
9090
  }, {
@@ -9024,11 +9094,11 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
9024
9094
  _: 3
9025
9095
  }, 16, ["role", "data-tree-expandable"]));
9026
9096
  }
9027
- }), [["styles", [""]]]), Im = { class: "g-user-menu" }, Lm = [
9097
+ }), [["styles", [""]]]), Hm = { class: "g-user-menu" }, Um = [
9028
9098
  "aria-label",
9029
9099
  "aria-expanded",
9030
9100
  "onClick"
9031
- ], Rm = { class: "g-user-menu__popover" }, zm = { class: "g-user-menu__list" }, Bm = /*#__PURE__*/ $(/* @__PURE__ */ R({
9101
+ ], Wm = { class: "g-user-menu__popover" }, Gm = { class: "g-user-menu__list" }, Km = /*#__PURE__*/ $(/* @__PURE__ */ R({
9032
9102
  __name: "GUserMenu",
9033
9103
  props: {
9034
9104
  initials: { type: String },
@@ -9046,7 +9116,7 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
9046
9116
  let t = `${z()}-email`, n = /* @__PURE__ */ N(!1), r = jr("emailHeading");
9047
9117
  qa()?.appContext?.components?.RouterLink;
9048
9118
  let i = ui();
9049
- return (a, o) => (G(), K("div", Im, [Y(of, {
9119
+ return (a, o) => (G(), K("div", Hm, [Y(df, {
9050
9120
  modelValue: n.value,
9051
9121
  "onUpdate:modelValue": o[0] ||= (e) => n.value = e,
9052
9122
  minimal: ""
@@ -9058,8 +9128,8 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
9058
9128
  "aria-expanded": n.value,
9059
9129
  "aria-haspopup": "menu",
9060
9130
  onClick: t
9061
- }, A(e.initials), 13, Lm)]),
9062
- default: I(() => [J("div", Rm, [J("h2", {
9131
+ }, A(e.initials), 13, Um)]),
9132
+ default: I(() => [J("div", Wm, [J("h2", {
9063
9133
  id: t,
9064
9134
  ref_key: "emailHeading",
9065
9135
  ref: r,
@@ -9068,61 +9138,61 @@ var fp = { class: "g-table-outer-wrap" }, pp = {
9068
9138
  }, A(e.email), 513), J("nav", {
9069
9139
  class: "g-user-menu__nav",
9070
9140
  "aria-labelledby": t
9071
- }, [J("ul", zm, [(G(!0), K(W, null, B(i.default(), (e, t) => (G(), K("li", { key: t }, [(G(), q(ni(e)))]))), 128))])])])]),
9141
+ }, [J("ul", Gm, [(G(!0), K(W, null, B(i.default(), (e, t) => (G(), K("li", { key: t }, [(G(), q(ni(e)))]))), 128))])])])]),
9072
9142
  _: 1
9073
9143
  }, 8, ["modelValue"])]));
9074
9144
  }
9075
- }), [["styles", [""]]]), Vm = globalThis;
9076
- Vm.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ = !0;
9077
- var Hm = {
9145
+ }), [["styles", [""]]]), qm = globalThis;
9146
+ qm.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ = !0;
9147
+ var Jm = {
9078
9148
  shadowRoot: !1,
9079
9149
  configureApp(e) {
9080
- let t = (Vm.__GRAD_VUE_WC_APP_ID__ ?? 0) + 1;
9081
- Vm.__GRAD_VUE_WC_APP_ID__ = t, e.config.idPrefix = `g-wc-${t}-`;
9082
- }
9083
- }, Um = [
9084
- ["g-alert-dialog", lu],
9085
- ["g-app-header", gu],
9086
- ["g-button", ru],
9087
- ["g-checkbox-group", Nu],
9088
- ["g-clipboard", Wu],
9089
- ["g-currency-input", Qu],
9090
- ["g-date-input", $u],
9091
- ["g-date-range-input", od],
9092
- ["g-detail-list", sd],
9093
- ["g-detail-list-item", dd],
9094
- ["g-email-input", fd],
9095
- ["g-file-input", yd],
9096
- ["g-form", xd],
9097
- ["g-hamburger-menu", Dd],
9098
- ["g-history-scroller", Md],
9099
- ["g-modal", Rd],
9100
- ["g-multi-select", $d],
9101
- ["g-overlay", tf],
9102
- ["g-popover", of],
9103
- ["g-tooltip", sf],
9104
- ["g-progress", ff],
9105
- ["g-search", Sf],
9106
- ["g-select", Mf],
9107
- ["g-select-button", zf],
9108
- ["g-sidebar", Hf],
9109
- ["g-sidebar-menu", Kf],
9110
- ["g-submit-button", qf],
9111
- ["g-table", Bp],
9112
- ["g-table-body", cp],
9113
- ["g-table-pagination", Yp],
9114
- ["g-term-selector", rm],
9115
- ["g-term-selector-control", $p],
9116
- ["g-text-input", Zu],
9117
- ["g-textarea", lm],
9118
- ["g-three-way-toggle", wm],
9119
- ["g-tree-menu", km],
9120
- ["g-tree-menu-list", Am],
9121
- ["g-tree-menu-item", Fm],
9122
- ["g-user-menu", Bm]
9150
+ let t = (qm.__GRAD_VUE_WC_APP_ID__ ?? 0) + 1;
9151
+ qm.__GRAD_VUE_WC_APP_ID__ = t, e.config.idPrefix = `g-wc-${t}-`;
9152
+ }
9153
+ }, Ym = [
9154
+ ["g-alert-dialog", pu],
9155
+ ["g-app-header", bu],
9156
+ ["g-button", su],
9157
+ ["g-checkbox-group", Lu],
9158
+ ["g-clipboard", Ju],
9159
+ ["g-currency-input", nd],
9160
+ ["g-date-input", rd],
9161
+ ["g-date-range-input", ud],
9162
+ ["g-detail-list", dd],
9163
+ ["g-detail-list-item", hd],
9164
+ ["g-email-input", gd],
9165
+ ["g-file-input", Cd],
9166
+ ["g-form", Td],
9167
+ ["g-hamburger-menu", jd],
9168
+ ["g-history-scroller", Id],
9169
+ ["g-modal", Hd],
9170
+ ["g-multi-select", rf],
9171
+ ["g-overlay", of],
9172
+ ["g-popover", df],
9173
+ ["g-tooltip", ff],
9174
+ ["g-progress", _f],
9175
+ ["g-search", Df],
9176
+ ["g-select", Lf],
9177
+ ["g-select-button", Wf],
9178
+ ["g-sidebar", qf],
9179
+ ["g-sidebar-menu", Zf],
9180
+ ["g-submit-button", Qf],
9181
+ ["g-table", qp],
9182
+ ["g-table-body", pp],
9183
+ ["g-table-pagination", nm],
9184
+ ["g-term-selector", um],
9185
+ ["g-term-selector-control", om],
9186
+ ["g-text-input", td],
9187
+ ["g-textarea", gm],
9188
+ ["g-three-way-toggle", jm],
9189
+ ["g-tree-menu", Im],
9190
+ ["g-tree-menu-list", Lm],
9191
+ ["g-tree-menu-item", Vm],
9192
+ ["g-user-menu", Km]
9123
9193
  ];
9124
- for (let [e, t] of Um) {
9125
- let n = /* @__PURE__ */ ys(t, Hm);
9194
+ for (let [e, t] of Ym) {
9195
+ let n = /* @__PURE__ */ ys(t, Jm);
9126
9196
  customElements.define(e, n);
9127
9197
  }
9128
9198
  //#endregion