pdap-design-system 3.1.0-beta.18 → 3.1.0-beta.19

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as E, openBlock as y, createBlock as F, Transition as ut, withCtx as Y, createElementBlock as w, createElementVNode as N, toDisplayString as D, createCommentVNode as A, reactive as Je, normalizeClass as X, renderSlot as P, unref as L, ref as S, onErrorCaptured as tr, resolveDynamicComponent as nr, createTextVNode as R, inject as ie, resolveComponent as ea, Fragment as $e, renderList as qe, getCurrentInstance as ar, onBeforeMount as ta, watch as ee, isRef as It, onBeforeUnmount as Xt, computed as x, isReactive as rr, isReadonly as sr, provide as Tt, nextTick as We, mergeProps as J, h as na, normalizeProps as or, createVNode as le, watchEffect as _t, withModifiers as Oe, useSlots as et, withDirectives as Ge, withKeys as ct, vShow as Zt, pushScopeId as ir, popScopeId as lr, onMounted as aa, toHandlers as ur, TransitionGroup as cr } from "vue";
1
+ import { defineComponent as E, openBlock as v, createBlock as F, Transition as ut, withCtx as Y, createElementBlock as w, createElementVNode as N, toDisplayString as D, createCommentVNode as A, reactive as Je, normalizeClass as X, renderSlot as P, unref as L, ref as S, onErrorCaptured as tr, resolveDynamicComponent as nr, createTextVNode as R, inject as ie, resolveComponent as ea, Fragment as Ce, renderList as qe, getCurrentInstance as ar, onBeforeMount as ta, watch as ee, isRef as It, onBeforeUnmount as Xt, computed as x, isReactive as rr, isReadonly as sr, provide as Tt, nextTick as We, mergeProps as J, h as na, normalizeProps as or, createVNode as le, watchEffect as _t, withModifiers as he, useSlots as et, withDirectives as Ge, withKeys as ct, vShow as Zt, pushScopeId as ir, popScopeId as lr, onMounted as aa, toHandlers as ur, TransitionGroup as cr } from "vue";
2
2
  import { RouterLink as ft, useRouter as fr, useRoute as dr } from "vue-router";
3
3
  const pr = {
4
4
  key: 0,
@@ -24,10 +24,10 @@ const vr = {
24
24
  show: { type: Boolean, default: !1 }
25
25
  },
26
26
  setup(e) {
27
- return (t, n) => (y(), F(ut, { appear: "" }, {
27
+ return (t, n) => (v(), F(ut, { appear: "" }, {
28
28
  default: Y(() => [
29
- t.show ? (y(), w("div", pr, [
30
- (y(), w("svg", {
29
+ t.show ? (v(), w("div", pr, [
30
+ (v(), w("svg", {
31
31
  "aria-label": "loading",
32
32
  width: t.size,
33
33
  height: t.size,
@@ -47,13 +47,13 @@ const vr = {
47
47
  fill: t.color
48
48
  }, null, 8, hr)
49
49
  ], 8, mr)),
50
- (y(), F(ut, {
50
+ (v(), F(ut, {
51
51
  key: t.text,
52
52
  appear: "",
53
53
  mode: "out-in"
54
54
  }, {
55
55
  default: Y(() => [
56
- t.text && t.show ? (y(), w("p", yr, D(t.text), 1)) : A("", !0)
56
+ t.text && t.show ? (v(), w("p", yr, D(t.text), 1)) : A("", !0)
57
57
  ]),
58
58
  _: 1
59
59
  }))
@@ -82,11 +82,11 @@ const tt = (e, t) => {
82
82
  [`pdap-button-${t.intent}`]: !!t.intent,
83
83
  "pdap-button-loading": t.isLoading
84
84
  });
85
- return (a, r) => (y(), w("button", {
85
+ return (a, r) => (v(), w("button", {
86
86
  class: X(n)
87
87
  }, [
88
88
  a.isLoading ? A("", !0) : P(a.$slots, "default", { key: 0 }, void 0, !0),
89
- a.isLoading ? (y(), F(L(Mr), {
89
+ a.isLoading ? (v(), F(L(Mr), {
90
90
  key: 1,
91
91
  show: a.isLoading
92
92
  }, null, 8, ["show"])) : A("", !0)
@@ -118,7 +118,7 @@ const ra = /* @__PURE__ */ tt(wr, [["__scopeId", "data-v-e5e2692a"]]), jr = /* @
118
118
  }
119
119
  return tr((i, u, l) => {
120
120
  o(i, u, l);
121
- }), (i, u) => r.value ? (y(), F(nr(i.component), {
121
+ }), (i, u) => r.value ? (v(), F(nr(i.component), {
122
122
  key: 1,
123
123
  class: "pdap-flex-container-center h-[full]",
124
124
  "v-bind": i.params
@@ -180,21 +180,21 @@ const ra = /* @__PURE__ */ tt(wr, [["__scopeId", "data-v-e5e2692a"]]), jr = /* @
180
180
  ]), a = t.logoImageAnchorPath.startsWith("/");
181
181
  return (r, s) => {
182
182
  const o = ea("router-link");
183
- return y(), w("footer", Cr, [
183
+ return v(), w("footer", Cr, [
184
184
  N("div", Sr, [
185
185
  N("ul", Ir, [
186
- (y(!0), w($e, null, qe(L(n), (i) => (y(), w("li", {
186
+ (v(!0), w(Ce, null, qe(L(n), (i) => (v(), w("li", {
187
187
  key: i.text,
188
188
  class: "pdap-footer-link-container"
189
189
  }, [
190
- i.href ? (y(), w("a", {
190
+ i.href ? (v(), w("a", {
191
191
  key: 0,
192
192
  class: "pdap-footer-social-link",
193
193
  href: i.href,
194
194
  target: "_blank",
195
195
  referrerpolicy: "no-referrer"
196
196
  }, D(i.text), 9, Tr)) : A("", !0),
197
- i.path ? (y(), F(o, {
197
+ i.path ? (v(), F(o, {
198
198
  key: 1,
199
199
  "active-class": "pdap-footer-social-link-current",
200
200
  "exact-active-class": "pdap-footer-social-link-current-exact",
@@ -215,7 +215,7 @@ const ra = /* @__PURE__ */ tt(wr, [["__scopeId", "data-v-e5e2692a"]]), jr = /* @
215
215
  Or,
216
216
  N("div", Er, [
217
217
  Ar,
218
- L(a) ? (y(), F(o, {
218
+ L(a) ? (v(), F(o, {
219
219
  key: 1,
220
220
  to: r.logoImageAnchorPath,
221
221
  class: "pdap-footer-logo"
@@ -229,7 +229,7 @@ const ra = /* @__PURE__ */ tt(wr, [["__scopeId", "data-v-e5e2692a"]]), jr = /* @
229
229
  }, null, 8, Pr)
230
230
  ]),
231
231
  _: 1
232
- }, 8, ["to"])) : (y(), w("a", {
232
+ }, 8, ["to"])) : (v(), w("a", {
233
233
  key: 0,
234
234
  href: r.logoImageAnchorPath,
235
235
  class: "pdap-footer-logo"
@@ -319,30 +319,30 @@ function Ur(e, t, n, a, r, s, o) {
319
319
  let {
320
320
  $lazy: i,
321
321
  $rewardEarly: u
322
- } = r, l = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : [], c = arguments.length > 8 ? arguments[8] : void 0, d = arguments.length > 9 ? arguments[9] : void 0, m = arguments.length > 10 ? arguments[10] : void 0;
323
- const v = S(!!a.value), f = S(0);
322
+ } = r, l = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : [], c = arguments.length > 8 ? arguments[8] : void 0, d = arguments.length > 9 ? arguments[9] : void 0, g = arguments.length > 10 ? arguments[10] : void 0;
323
+ const h = S(!!a.value), f = S(0);
324
324
  n.value = !1;
325
- const g = ee([t, a].concat(l, m), () => {
325
+ const m = ee([t, a].concat(l, g), () => {
326
326
  if (i && !a.value || u && !d.value && !n.value)
327
327
  return;
328
- let h;
328
+ let y;
329
329
  try {
330
- h = oa(e, t, c, o);
330
+ y = oa(e, t, c, o);
331
331
  } catch (p) {
332
- h = Promise.reject(p);
332
+ y = Promise.reject(p);
333
333
  }
334
- f.value++, n.value = !!f.value, v.value = !1, Promise.resolve(h).then((p) => {
335
- f.value--, n.value = !!f.value, s.value = p, v.value = ia(p);
334
+ f.value++, n.value = !!f.value, h.value = !1, Promise.resolve(y).then((p) => {
335
+ f.value--, n.value = !!f.value, s.value = p, h.value = ia(p);
336
336
  }).catch((p) => {
337
- f.value--, n.value = !!f.value, s.value = p, v.value = !0;
337
+ f.value--, n.value = !!f.value, s.value = p, h.value = !0;
338
338
  });
339
339
  }, {
340
340
  immediate: !0,
341
341
  deep: typeof t == "object"
342
342
  });
343
343
  return {
344
- $invalid: v,
345
- $unwatch: g
344
+ $invalid: h,
345
+ $unwatch: m
346
346
  };
347
347
  }
348
348
  function Qr(e, t, n, a, r, s, o, i) {
@@ -353,14 +353,14 @@ function Qr(e, t, n, a, r, s, o, i) {
353
353
  const c = () => ({}), d = x(() => {
354
354
  if (u && !n.value || l && !i.value)
355
355
  return !1;
356
- let m = !0;
356
+ let g = !0;
357
357
  try {
358
- const v = oa(e, t, o, s);
359
- r.value = v, m = ia(v);
360
- } catch (v) {
361
- r.value = v;
358
+ const h = oa(e, t, o, s);
359
+ r.value = h, g = ia(h);
360
+ } catch (h) {
361
+ r.value = h;
362
362
  }
363
- return m;
363
+ return g;
364
364
  });
365
365
  return {
366
366
  $unwatch: c,
@@ -368,32 +368,32 @@ function Qr(e, t, n, a, r, s, o, i) {
368
368
  };
369
369
  }
370
370
  function Vr(e, t, n, a, r, s, o, i, u, l, c) {
371
- const d = S(!1), m = e.$params || {}, v = S(null);
372
- let f, g;
371
+ const d = S(!1), g = e.$params || {}, h = S(null);
372
+ let f, m;
373
373
  e.$async ? {
374
374
  $invalid: f,
375
- $unwatch: g
376
- } = Ur(e.$validator, t, d, n, a, v, r, e.$watchTargets, u, l, c) : {
375
+ $unwatch: m
376
+ } = Ur(e.$validator, t, d, n, a, h, r, e.$watchTargets, u, l, c) : {
377
377
  $invalid: f,
378
- $unwatch: g
379
- } = Qr(e.$validator, t, n, a, v, r, u, l);
380
- const h = e.$message;
378
+ $unwatch: m
379
+ } = Qr(e.$validator, t, n, a, h, r, u, l);
380
+ const y = e.$message;
381
381
  return {
382
- $message: dt(h) ? x(() => h(hn({
382
+ $message: dt(y) ? x(() => y(hn({
383
383
  $pending: d,
384
384
  $invalid: f,
385
- $params: hn(m),
385
+ $params: hn(g),
386
386
  $model: t,
387
- $response: v,
387
+ $response: h,
388
388
  $validator: s,
389
389
  $propertyPath: i,
390
390
  $property: o
391
- }))) : h || "",
392
- $params: m,
391
+ }))) : y || "",
392
+ $params: g,
393
393
  $pending: d,
394
394
  $invalid: f,
395
- $response: v,
396
- $unwatch: g
395
+ $response: h,
396
+ $unwatch: m
397
397
  };
398
398
  }
399
399
  function Br() {
@@ -429,7 +429,7 @@ function Br() {
429
429
  }
430
430
  const Wr = "__root";
431
431
  function Gr(e, t, n, a, r, s, o, i, u) {
432
- const l = Object.keys(e), c = a.get(r, e), d = S(!1), m = S(!1), v = S(0);
432
+ const l = Object.keys(e), c = a.get(r, e), d = S(!1), g = S(!1), h = S(0);
433
433
  if (c) {
434
434
  if (!c.$partial)
435
435
  return c;
@@ -447,36 +447,36 @@ function Gr(e, t, n, a, r, s, o, i, u) {
447
447
  $commit: () => {
448
448
  }
449
449
  };
450
- return l.length ? (l.forEach((g) => {
451
- f[g] = Vr(e[g], t, f.$dirty, s, o, g, n, r, u, m, v);
452
- }), f.$externalResults = x(() => i.value ? [].concat(i.value).map((g, h) => ({
450
+ return l.length ? (l.forEach((m) => {
451
+ f[m] = Vr(e[m], t, f.$dirty, s, o, m, n, r, u, g, h);
452
+ }), f.$externalResults = x(() => i.value ? [].concat(i.value).map((m, y) => ({
453
453
  $propertyPath: r,
454
454
  $property: n,
455
455
  $validator: "$externalResults",
456
- $uid: `${r}-externalResult-${h}`,
457
- $message: g,
456
+ $uid: `${r}-externalResult-${y}`,
457
+ $message: m,
458
458
  $params: {},
459
459
  $response: null,
460
460
  $pending: !1
461
461
  })) : []), f.$invalid = x(() => {
462
- const g = l.some((h) => L(f[h].$invalid));
463
- return m.value = g, !!f.$externalResults.value.length || g;
464
- }), f.$pending = x(() => l.some((g) => L(f[g].$pending))), f.$error = x(() => f.$dirty.value ? f.$pending.value || f.$invalid.value : !1), f.$silentErrors = x(() => l.filter((g) => L(f[g].$invalid)).map((g) => {
465
- const h = f[g];
462
+ const m = l.some((y) => L(f[y].$invalid));
463
+ return g.value = m, !!f.$externalResults.value.length || m;
464
+ }), f.$pending = x(() => l.some((m) => L(f[m].$pending))), f.$error = x(() => f.$dirty.value ? f.$pending.value || f.$invalid.value : !1), f.$silentErrors = x(() => l.filter((m) => L(f[m].$invalid)).map((m) => {
465
+ const y = f[m];
466
466
  return Je({
467
467
  $propertyPath: r,
468
468
  $property: n,
469
- $validator: g,
470
- $uid: `${r}-${g}`,
471
- $message: h.$message,
472
- $params: h.$params,
473
- $response: h.$response,
474
- $pending: h.$pending
469
+ $validator: m,
470
+ $uid: `${r}-${m}`,
471
+ $message: y.$message,
472
+ $params: y.$params,
473
+ $response: y.$response,
474
+ $pending: y.$pending
475
475
  });
476
- }).concat(f.$externalResults.value)), f.$errors = x(() => f.$dirty.value ? f.$silentErrors.value : []), f.$unwatch = () => l.forEach((g) => {
477
- f[g].$unwatch();
476
+ }).concat(f.$externalResults.value)), f.$errors = x(() => f.$dirty.value ? f.$silentErrors.value : []), f.$unwatch = () => l.forEach((m) => {
477
+ f[m].$unwatch();
478
478
  }), f.$commit = () => {
479
- m.value = !0, v.value = Date.now();
479
+ g.value = !0, h.value = Date.now();
480
480
  }, a.set(r, e, f), f) : (c && a.set(r, e, f), f);
481
481
  }
482
482
  function Hr(e, t, n, a, r, s, o) {
@@ -493,7 +493,7 @@ function Hr(e, t, n, a, r, s, o) {
493
493
  }), u), {}) : {};
494
494
  }
495
495
  function Xr(e, t, n) {
496
- const a = x(() => [t, n].filter((f) => f).reduce((f, g) => f.concat(Object.values(L(g))), [])), r = x({
496
+ const a = x(() => [t, n].filter((f) => f).reduce((f, m) => f.concat(Object.values(L(m))), [])), r = x({
497
497
  get() {
498
498
  return e.$dirty.value || (a.value.length ? a.value.every((f) => f.$dirty) : !1);
499
499
  },
@@ -501,20 +501,20 @@ function Xr(e, t, n) {
501
501
  e.$dirty.value = f;
502
502
  }
503
503
  }), s = x(() => {
504
- const f = L(e.$silentErrors) || [], g = a.value.filter((h) => (L(h).$silentErrors || []).length).reduce((h, p) => h.concat(...p.$silentErrors), []);
505
- return f.concat(g);
504
+ const f = L(e.$silentErrors) || [], m = a.value.filter((y) => (L(y).$silentErrors || []).length).reduce((y, p) => y.concat(...p.$silentErrors), []);
505
+ return f.concat(m);
506
506
  }), o = x(() => {
507
- const f = L(e.$errors) || [], g = a.value.filter((h) => (L(h).$errors || []).length).reduce((h, p) => h.concat(...p.$errors), []);
508
- return f.concat(g);
507
+ const f = L(e.$errors) || [], m = a.value.filter((y) => (L(y).$errors || []).length).reduce((y, p) => y.concat(...p.$errors), []);
508
+ return f.concat(m);
509
509
  }), i = x(() => a.value.some((f) => f.$invalid) || L(e.$invalid) || !1), u = x(() => a.value.some((f) => L(f.$pending)) || L(e.$pending) || !1), l = x(() => a.value.some((f) => f.$dirty) || a.value.some((f) => f.$anyDirty) || r.value), c = x(() => r.value ? u.value || i.value : !1), d = () => {
510
510
  e.$touch(), a.value.forEach((f) => {
511
511
  f.$touch();
512
512
  });
513
- }, m = () => {
513
+ }, g = () => {
514
514
  e.$commit(), a.value.forEach((f) => {
515
515
  f.$commit();
516
516
  });
517
- }, v = () => {
517
+ }, h = () => {
518
518
  e.$reset(), a.value.forEach((f) => {
519
519
  f.$reset();
520
520
  });
@@ -527,9 +527,9 @@ function Xr(e, t, n) {
527
527
  $error: c,
528
528
  $pending: u,
529
529
  $touch: d,
530
- $reset: v,
530
+ $reset: h,
531
531
  $silentErrors: s,
532
- $commit: m
532
+ $commit: g
533
533
  };
534
534
  }
535
535
  function Dt(e) {
@@ -546,19 +546,19 @@ function Dt(e) {
546
546
  } = e;
547
547
  const c = r ? `${r}.${a}` : a, {
548
548
  rules: d,
549
- nestedValidators: m,
550
- config: v,
549
+ nestedValidators: g,
550
+ config: h,
551
551
  validationGroups: f
552
- } = Br(t), g = me(me({}, i), v), h = a ? x(() => {
552
+ } = Br(t), m = me(me({}, i), h), y = a ? x(() => {
553
553
  const k = L(n);
554
554
  return k ? L(k[a]) : void 0;
555
555
  }) : n, p = me({}, L(l) || {}), M = x(() => {
556
556
  const k = L(l);
557
557
  return a ? k ? L(k[a]) : void 0 : k;
558
- }), $ = Gr(d, h, a, o, c, g, u, M, n), C = Hr(m, h, c, o, g, u, M), _ = {};
558
+ }), $ = Gr(d, y, a, o, c, m, u, M, n), C = Hr(g, y, c, o, m, u, M), _ = {};
559
559
  f && Object.entries(f).forEach((k) => {
560
- let [be, de] = k;
561
- _[be] = {
560
+ let [we, de] = k;
561
+ _[we] = {
562
562
  $invalid: jt(de, C, "$invalid"),
563
563
  $error: jt(de, C, "$error"),
564
564
  $pending: jt(de, C, "$pending"),
@@ -572,20 +572,20 @@ function Dt(e) {
572
572
  $invalid: Q,
573
573
  $anyDirty: H,
574
574
  $error: q,
575
- $pending: Te,
575
+ $pending: _e,
576
576
  $touch: re,
577
577
  $reset: Xa,
578
578
  $silentErrors: Za,
579
579
  $commit: mn
580
580
  } = Xr($, C, s), Ka = a ? x({
581
- get: () => L(h),
581
+ get: () => L(y),
582
582
  set: (k) => {
583
583
  j.value = !0;
584
- const be = L(n), de = L(l);
585
- de && (de[a] = p[a]), It(be[a]) ? be[a].value = k : be[a] = k;
584
+ const we = L(n), de = L(l);
585
+ de && (de[a] = p[a]), It(we[a]) ? we[a].value = k : we[a] = k;
586
586
  }
587
587
  }) : null;
588
- a && g.$autoDirty && ee(h, () => {
588
+ a && m.$autoDirty && ee(y, () => {
589
589
  j.value || re();
590
590
  const k = L(l);
591
591
  k && (k[a] = p[a]);
@@ -593,11 +593,11 @@ function Dt(e) {
593
593
  flush: "sync"
594
594
  });
595
595
  async function Ja() {
596
- return re(), g.$rewardEarly && (mn(), await We()), await We(), new Promise((k) => {
597
- if (!Te.value)
596
+ return re(), m.$rewardEarly && (mn(), await We()), await We(), new Promise((k) => {
597
+ if (!_e.value)
598
598
  return k(!Q.value);
599
- const be = ee(Te, () => {
600
- k(!Q.value), be();
599
+ const we = ee(_e, () => {
600
+ k(!Q.value), we();
601
601
  });
602
602
  });
603
603
  }
@@ -616,7 +616,7 @@ function Dt(e) {
616
616
  $errors: I,
617
617
  $invalid: Q,
618
618
  $anyDirty: H,
619
- $pending: Te,
619
+ $pending: _e,
620
620
  $touch: re,
621
621
  $reset: Xa,
622
622
  $path: c || Wr,
@@ -670,11 +670,11 @@ function Kr(e) {
670
670
  const a = {}, r = S([]), s = x(() => r.value.reduce((c, d) => (c[d] = L(a[d]), c), {}));
671
671
  function o(c, d) {
672
672
  let {
673
- $registerAs: m,
674
- $scope: v,
673
+ $registerAs: g,
674
+ $scope: h,
675
675
  $stopPropagation: f
676
676
  } = d;
677
- f || t === st.COLLECT_NONE || v === st.COLLECT_NONE || t !== st.COLLECT_ALL && t !== v || (a[m] = c, r.value.push(m));
677
+ f || t === st.COLLECT_NONE || h === st.COLLECT_NONE || t !== st.COLLECT_ALL && t !== h || (a[g] = c, r.value.push(g));
678
678
  }
679
679
  n.__vuelidateInjectInstances = [].concat(n.__vuelidateInjectInstances || [], o);
680
680
  function i(c) {
@@ -711,10 +711,10 @@ function ua(e, t) {
711
711
  } = a;
712
712
  const l = u || ((n = ar()) === null || n === void 0 ? void 0 : n.proxy), c = l ? l.$options : {};
713
713
  r || (Mn += 1, r = `_vuelidate_${Mn}`);
714
- const d = S({}), m = new Zr(), {
715
- childResults: v,
714
+ const d = S({}), g = new Zr(), {
715
+ childResults: h,
716
716
  sendValidationResultsToParent: f,
717
- removeValidationResultsFromParent: g
717
+ removeValidationResultsFromParent: m
718
718
  } = l ? Kr({
719
719
  $scope: s,
720
720
  instance: l
@@ -722,14 +722,14 @@ function ua(e, t) {
722
722
  childResults: S({})
723
723
  };
724
724
  if (!e && c.validations) {
725
- const h = c.validations;
725
+ const y = c.validations;
726
726
  t = S({}), ta(() => {
727
- t.value = l, ee(() => dt(h) ? h.call(t.value, new la(t.value)) : h, (p) => {
727
+ t.value = l, ee(() => dt(y) ? y.call(t.value, new la(t.value)) : y, (p) => {
728
728
  d.value = Dt({
729
729
  validations: p,
730
730
  state: t,
731
- childResults: v,
732
- resultsCache: m,
731
+ childResults: h,
732
+ resultsCache: g,
733
733
  globalConfig: a,
734
734
  instance: l,
735
735
  externalResults: i || l.vuelidateExternalResults
@@ -739,13 +739,13 @@ function ua(e, t) {
739
739
  });
740
740
  }), a = c.validationsConfig || a;
741
741
  } else {
742
- const h = It(e) || Fr(e) ? e : Je(e || {});
743
- ee(h, (p) => {
742
+ const y = It(e) || Fr(e) ? e : Je(e || {});
743
+ ee(y, (p) => {
744
744
  d.value = Dt({
745
745
  validations: p,
746
746
  state: t,
747
- childResults: v,
748
- resultsCache: m,
747
+ childResults: h,
748
+ resultsCache: g,
749
749
  globalConfig: a,
750
750
  instance: l ?? {},
751
751
  externalResults: i
@@ -754,11 +754,11 @@ function ua(e, t) {
754
754
  immediate: !0
755
755
  });
756
756
  }
757
- return l && (f.forEach((h) => h(d, {
757
+ return l && (f.forEach((y) => y(d, {
758
758
  $registerAs: r,
759
759
  $scope: s,
760
760
  $stopPropagation: o
761
- })), Xt(() => g.forEach((h) => h(r)))), x(() => me(me({}, L(d.value)), v.value));
761
+ })), Xt(() => m.forEach((y) => y(r)))), x(() => me(me({}, L(d.value)), h.value));
762
762
  }
763
763
  var oe = /* @__PURE__ */ ((e) => (e.CHECKBOX = "checkbox", e.TEXT = "text", e.PASSWORD = "password", e))(oe || {});
764
764
  const Jr = ["id", "type", "name", "placeholder", "value"], qr = /* @__PURE__ */ E({
@@ -777,7 +777,7 @@ const Jr = ["id", "type", "name", "placeholder", "value"], qr = /* @__PURE__ */
777
777
  const n = t, a = (r) => {
778
778
  n("input", r);
779
779
  };
780
- return (r, s) => (y(), w("input", J({
780
+ return (r, s) => (v(), w("input", J({
781
781
  id: r.id,
782
782
  type: r.type,
783
783
  name: r.name,
@@ -802,7 +802,7 @@ const Jr = ["id", "type", "name", "placeholder", "value"], qr = /* @__PURE__ */
802
802
  const n = t, a = (r) => {
803
803
  n("input", r);
804
804
  };
805
- return (r, s) => (y(), w("input", J({
805
+ return (r, s) => (v(), w("input", J({
806
806
  id: r.id,
807
807
  name: r.name,
808
808
  checked: r.value === "true",
@@ -823,8 +823,8 @@ try {
823
823
  }
824
824
  const {
825
825
  userAgent: wn = ""
826
- } = Kt.navigator || {}, he = Kt, T = ca, jn = fa, rt = da;
827
- he.document;
826
+ } = Kt.navigator || {}, ye = Kt, T = ca, jn = fa, rt = da;
827
+ ye.document;
828
828
  const fe = !!T.documentElement && !!T.head && typeof T.addEventListener == "function" && typeof T.createElement == "function", pa = ~wn.indexOf("MSIE") || ~wn.indexOf("Trident/");
829
829
  var O = "classic", ma = "duotone", V = "sharp", B = "sharp-duotone", ns = [O, ma, V, B], as = {
830
830
  classic: {
@@ -1025,7 +1025,7 @@ var O = "classic", ma = "duotone", V = "sharp", B = "sharp-duotone", ns = [O, ma
1025
1025
  "kit-duotone": "fakd"
1026
1026
  }
1027
1027
  };
1028
- const ue = "___FONT_AWESOME___", Ot = 16, ya = "fa", va = "svg-inline--fa", Ce = "data-fa-i2svg", Et = "data-fa-pseudo-element", Ls = "data-fa-pseudo-element-pending", Jt = "data-prefix", qt = "data-icon", $n = "fontawesome-i2svg", Ms = "async", bs = ["HTML", "HEAD", "STYLE", "SCRIPT"], La = (() => {
1028
+ const ue = "___FONT_AWESOME___", Ot = 16, ya = "fa", va = "svg-inline--fa", Se = "data-fa-i2svg", Et = "data-fa-pseudo-element", Ls = "data-fa-pseudo-element-pending", Jt = "data-prefix", qt = "data-icon", $n = "fontawesome-i2svg", Ms = "async", bs = ["HTML", "HEAD", "STYLE", "SCRIPT"], La = (() => {
1029
1029
  try {
1030
1030
  return process.env.NODE_ENV === "production";
1031
1031
  } catch {
@@ -1047,7 +1047,7 @@ ba[O] = {
1047
1047
  ...xn.kit,
1048
1048
  ...xn["kit-duotone"]
1049
1049
  };
1050
- const xe = nt(ba), At = {
1050
+ const Ne = nt(ba), At = {
1051
1051
  ...ds
1052
1052
  };
1053
1053
  At[O] = {
@@ -1062,7 +1062,7 @@ kt[O] = {
1062
1062
  ...kt[O],
1063
1063
  ...vs.kit
1064
1064
  };
1065
- const Ne = nt(kt), zt = {
1065
+ const $e = nt(kt), zt = {
1066
1066
  ...us
1067
1067
  };
1068
1068
  zt[O] = {
@@ -1077,7 +1077,7 @@ const $s = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-m
1077
1077
  Object.keys(He[O]).map(Ee.add.bind(Ee));
1078
1078
  Object.keys(He[V]).map(Ee.add.bind(Ee));
1079
1079
  Object.keys(He[B]).map(Ee.add.bind(Ee));
1080
- const Cs = [...rs, ...gs], Qe = he.FontAwesomeConfig || {};
1080
+ const Cs = [...rs, ...gs], Qe = ye.FontAwesomeConfig || {};
1081
1081
  function Ss(e) {
1082
1082
  var t = T.querySelector("script[" + e + "]");
1083
1083
  if (t)
@@ -1133,7 +1133,7 @@ Object.defineProperty(b, "familyPrefix", {
1133
1133
  return Ae.cssPrefix;
1134
1134
  }
1135
1135
  });
1136
- he.FontAwesomeConfig = b;
1136
+ ye.FontAwesomeConfig = b;
1137
1137
  const Ve = [];
1138
1138
  function Ts(e) {
1139
1139
  return Ve.push(e), () => {
@@ -1803,7 +1803,7 @@ var zs = {
1803
1803
  };
1804
1804
  }
1805
1805
  };
1806
- const ce = he || {};
1806
+ const ce = ye || {};
1807
1807
  ce[ue] || (ce[ue] = {});
1808
1808
  ce[ue].styles || (ce[ue].styles = {});
1809
1809
  ce[ue].hooks || (ce[ue].hooks = {});
@@ -1883,18 +1883,18 @@ function Rt(e, t) {
1883
1883
  }, e === "fas" && Rt("fa", t);
1884
1884
  }
1885
1885
  const {
1886
- styles: je,
1886
+ styles: xe,
1887
1887
  shims: Us
1888
1888
  } = ne, Qs = {
1889
- [O]: Object.values(Ne[O]),
1890
- [V]: Object.values(Ne[V]),
1891
- [B]: Object.values(Ne[B])
1889
+ [O]: Object.values($e[O]),
1890
+ [V]: Object.values($e[V]),
1891
+ [B]: Object.values($e[B])
1892
1892
  };
1893
1893
  let nn = null, Sa = {}, Ia = {}, Ta = {}, _a = {}, Da = {};
1894
1894
  const Vs = {
1895
- [O]: Object.keys(xe[O]),
1896
- [V]: Object.keys(xe[V]),
1897
- [B]: Object.keys(xe[B])
1895
+ [O]: Object.keys(Ne[O]),
1896
+ [V]: Object.keys(Ne[V]),
1897
+ [B]: Object.keys(Ne[B])
1898
1898
  };
1899
1899
  function Bs(e) {
1900
1900
  return ~Cs.indexOf(e);
@@ -1904,7 +1904,7 @@ function Ws(e, t) {
1904
1904
  return a === e && r !== "" && !Bs(r) ? r : null;
1905
1905
  }
1906
1906
  const Oa = () => {
1907
- const e = (a) => $t(je, (r, s, o) => (r[o] = $t(s, a, {}), r), {});
1907
+ const e = (a) => $t(xe, (r, s, o) => (r[o] = $t(s, a, {}), r), {});
1908
1908
  Sa = e((a, r, s) => (r[3] && (a[r[3]] = s), r[2] && r[2].filter((i) => typeof i == "number").forEach((i) => {
1909
1909
  a[i.toString(16)] = s;
1910
1910
  }), a)), Ia = e((a, r, s) => (a[s] = s, r[2] && r[2].filter((i) => typeof i == "string").forEach((i) => {
@@ -1915,7 +1915,7 @@ const Oa = () => {
1915
1915
  a[i] = s;
1916
1916
  }), a;
1917
1917
  });
1918
- const t = "far" in je || b.autoFetchSvg, n = $t(Us, (a, r) => {
1918
+ const t = "far" in xe || b.autoFetchSvg, n = $t(Us, (a, r) => {
1919
1919
  const s = r[0];
1920
1920
  let o = r[1];
1921
1921
  const i = r[2];
@@ -1965,7 +1965,7 @@ function Hs(e) {
1965
1965
  iconName: null
1966
1966
  };
1967
1967
  }
1968
- function ye() {
1968
+ function ve() {
1969
1969
  return nn;
1970
1970
  }
1971
1971
  const rn = () => ({
@@ -1977,13 +1977,13 @@ function Lt(e) {
1977
1977
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1978
1978
  const {
1979
1979
  family: n = O
1980
- } = t, a = xe[n][e], r = He[n][e] || He[n][a], s = e in ne.styles ? e : null;
1980
+ } = t, a = Ne[n][e], r = He[n][e] || He[n][a], s = e in ne.styles ? e : null;
1981
1981
  return r || s || null;
1982
1982
  }
1983
1983
  const Xs = {
1984
- [O]: Object.keys(Ne[O]),
1985
- [V]: Object.keys(Ne[V]),
1986
- [B]: Object.keys(Ne[B])
1984
+ [O]: Object.keys($e[O]),
1985
+ [V]: Object.keys($e[V]),
1986
+ [B]: Object.keys($e[B])
1987
1987
  };
1988
1988
  function Mt(e) {
1989
1989
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
@@ -2001,15 +2001,15 @@ function Mt(e) {
2001
2001
  });
2002
2002
  const i = e.reduce((u, l) => {
2003
2003
  const c = Ws(b.cssPrefix, l);
2004
- if (je[l] ? (l = Qs[s].includes(l) ? ws[s][l] : l, r = l, u.prefix = l) : Vs[s].indexOf(l) > -1 ? (r = l, u.prefix = Lt(l, {
2004
+ if (xe[l] ? (l = Qs[s].includes(l) ? ws[s][l] : l, r = l, u.prefix = l) : Vs[s].indexOf(l) > -1 ? (r = l, u.prefix = Lt(l, {
2005
2005
  family: s
2006
2006
  })) : c ? u.iconName = c : l !== b.replacementClass && !o.some((d) => l === a[d]) && u.rest.push(l), !n && u.prefix && u.iconName) {
2007
- const d = r === "fa" ? Ea(u.iconName) : {}, m = ge(u.prefix, u.iconName);
2008
- d.prefix && (r = null), u.iconName = d.iconName || m || u.iconName, u.prefix = d.prefix || u.prefix, u.prefix === "far" && !je.far && je.fas && !b.autoFetchSvg && (u.prefix = "fas");
2007
+ const d = r === "fa" ? Ea(u.iconName) : {}, g = ge(u.prefix, u.iconName);
2008
+ d.prefix && (r = null), u.iconName = d.iconName || g || u.iconName, u.prefix = d.prefix || u.prefix, u.prefix === "far" && !xe.far && xe.fas && !b.autoFetchSvg && (u.prefix = "fas");
2009
2009
  }
2010
2010
  return u;
2011
2011
  }, rn());
2012
- return (e.includes("fa-brands") || e.includes("fab")) && (i.prefix = "fab"), (e.includes("fa-duotone") || e.includes("fad")) && (i.prefix = "fad"), !i.prefix && s === V && (je.fass || b.autoFetchSvg) && (i.prefix = "fass", i.iconName = ge(i.prefix, i.iconName) || i.iconName), !i.prefix && s === B && (je.fasds || b.autoFetchSvg) && (i.prefix = "fasds", i.iconName = ge(i.prefix, i.iconName) || i.iconName), (i.prefix === "fa" || r === "fa") && (i.prefix = ye() || "fas"), i;
2012
+ return (e.includes("fa-brands") || e.includes("fab")) && (i.prefix = "fab"), (e.includes("fa-duotone") || e.includes("fad")) && (i.prefix = "fad"), !i.prefix && s === V && (xe.fass || b.autoFetchSvg) && (i.prefix = "fass", i.iconName = ge(i.prefix, i.iconName) || i.iconName), !i.prefix && s === B && (xe.fasds || b.autoFetchSvg) && (i.prefix = "fasds", i.iconName = ge(i.prefix, i.iconName) || i.iconName), (i.prefix === "fa" || r === "fa") && (i.prefix = ve() || "fas"), i;
2013
2013
  }
2014
2014
  class Zs {
2015
2015
  constructor() {
@@ -2024,7 +2024,7 @@ class Zs {
2024
2024
  ...this.definitions[s] || {},
2025
2025
  ...r[s]
2026
2026
  }, Rt(s, r[s]);
2027
- const o = Ne[O][s];
2027
+ const o = $e[O][s];
2028
2028
  o && Rt(o, r[s]), Oa();
2029
2029
  });
2030
2030
  }
@@ -2047,14 +2047,14 @@ class Zs {
2047
2047
  }), t;
2048
2048
  }
2049
2049
  }
2050
- let Tn = [], _e = {};
2051
- const De = {}, Ks = Object.keys(De);
2050
+ let Tn = [], De = {};
2051
+ const Oe = {}, Ks = Object.keys(Oe);
2052
2052
  function Js(e, t) {
2053
2053
  let {
2054
2054
  mixoutsTo: n
2055
2055
  } = t;
2056
- return Tn = e, _e = {}, Object.keys(De).forEach((a) => {
2057
- Ks.indexOf(a) === -1 && delete De[a];
2056
+ return Tn = e, De = {}, Object.keys(Oe).forEach((a) => {
2057
+ Ks.indexOf(a) === -1 && delete Oe[a];
2058
2058
  }), Tn.forEach((a) => {
2059
2059
  const r = a.mixout ? a.mixout() : {};
2060
2060
  if (Object.keys(r).forEach((s) => {
@@ -2064,45 +2064,45 @@ function Js(e, t) {
2064
2064
  }), a.hooks) {
2065
2065
  const s = a.hooks();
2066
2066
  Object.keys(s).forEach((o) => {
2067
- _e[o] || (_e[o] = []), _e[o].push(s[o]);
2067
+ De[o] || (De[o] = []), De[o].push(s[o]);
2068
2068
  });
2069
2069
  }
2070
- a.provides && a.provides(De);
2070
+ a.provides && a.provides(Oe);
2071
2071
  }), n;
2072
2072
  }
2073
2073
  function Yt(e, t) {
2074
2074
  for (var n = arguments.length, a = new Array(n > 2 ? n - 2 : 0), r = 2; r < n; r++)
2075
2075
  a[r - 2] = arguments[r];
2076
- return (_e[e] || []).forEach((o) => {
2076
+ return (De[e] || []).forEach((o) => {
2077
2077
  t = o.apply(null, [t, ...a]);
2078
2078
  }), t;
2079
2079
  }
2080
- function Se(e) {
2080
+ function Ie(e) {
2081
2081
  for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
2082
2082
  n[a - 1] = arguments[a];
2083
- (_e[e] || []).forEach((s) => {
2083
+ (De[e] || []).forEach((s) => {
2084
2084
  s.apply(null, n);
2085
2085
  });
2086
2086
  }
2087
- function ve() {
2087
+ function Le() {
2088
2088
  const e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
2089
- return De[e] ? De[e].apply(null, t) : void 0;
2089
+ return Oe[e] ? Oe[e].apply(null, t) : void 0;
2090
2090
  }
2091
2091
  function Ft(e) {
2092
2092
  e.prefix === "fa" && (e.prefix = "fas");
2093
2093
  let {
2094
2094
  iconName: t
2095
2095
  } = e;
2096
- const n = e.prefix || ye();
2096
+ const n = e.prefix || ve();
2097
2097
  if (t)
2098
2098
  return t = ge(n, t) || t, Sn(Aa.definitions, n, t) || Sn(ne.styles, n, t);
2099
2099
  }
2100
2100
  const Aa = new Zs(), qs = () => {
2101
- b.autoReplaceSvg = !1, b.observeMutations = !1, Se("noAuto");
2101
+ b.autoReplaceSvg = !1, b.observeMutations = !1, Ie("noAuto");
2102
2102
  }, eo = {
2103
2103
  i2svg: function() {
2104
2104
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2105
- return fe ? (Se("beforeI2svg", e), ve("pseudoElements2svg", e), ve("i2svg", e)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
2105
+ return fe ? (Ie("beforeI2svg", e), Le("pseudoElements2svg", e), Le("i2svg", e)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
2106
2106
  },
2107
2107
  watch: function() {
2108
2108
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -2112,7 +2112,7 @@ const Aa = new Zs(), qs = () => {
2112
2112
  b.autoReplaceSvg === !1 && (b.autoReplaceSvg = !0), b.observeMutations = !0, Ps(() => {
2113
2113
  no({
2114
2114
  autoReplaceSvgRoot: t
2115
- }), Se("watch", e);
2115
+ }), Ie("watch", e);
2116
2116
  });
2117
2117
  }
2118
2118
  }, to = {
@@ -2136,12 +2136,12 @@ const Aa = new Zs(), qs = () => {
2136
2136
  skipLookups: !0
2137
2137
  });
2138
2138
  return {
2139
- prefix: t.prefix || ye(),
2139
+ prefix: t.prefix || ve(),
2140
2140
  iconName: ge(t.prefix, t.iconName) || t.iconName
2141
2141
  };
2142
2142
  }
2143
2143
  if (typeof e == "string") {
2144
- const t = ye();
2144
+ const t = ve();
2145
2145
  return {
2146
2146
  prefix: t,
2147
2147
  iconName: ge(t, e) || e
@@ -2249,33 +2249,33 @@ function sn(e) {
2249
2249
  extra: c,
2250
2250
  watchable: d = !1
2251
2251
  } = e, {
2252
- width: m,
2253
- height: v
2254
- } = n.found ? n : t, f = a === "fak", g = [b.replacementClass, r ? "".concat(b.cssPrefix, "-").concat(r) : ""].filter((_) => c.classes.indexOf(_) === -1).filter((_) => _ !== "" || !!_).concat(c.classes).join(" ");
2255
- let h = {
2252
+ width: g,
2253
+ height: h
2254
+ } = n.found ? n : t, f = a === "fak", m = [b.replacementClass, r ? "".concat(b.cssPrefix, "-").concat(r) : ""].filter((_) => c.classes.indexOf(_) === -1).filter((_) => _ !== "" || !!_).concat(c.classes).join(" ");
2255
+ let y = {
2256
2256
  children: [],
2257
2257
  attributes: {
2258
2258
  ...c.attributes,
2259
2259
  "data-prefix": a,
2260
2260
  "data-icon": r,
2261
- class: g,
2261
+ class: m,
2262
2262
  role: c.attributes.role || "img",
2263
2263
  xmlns: "http://www.w3.org/2000/svg",
2264
- viewBox: "0 0 ".concat(m, " ").concat(v)
2264
+ viewBox: "0 0 ".concat(g, " ").concat(h)
2265
2265
  }
2266
2266
  };
2267
2267
  const p = f && !~c.classes.indexOf("fa-fw") ? {
2268
- width: "".concat(m / v * 16 * 0.0625, "em")
2268
+ width: "".concat(g / h * 16 * 0.0625, "em")
2269
2269
  } : {};
2270
- d && (h.attributes[Ce] = ""), i && (h.children.push({
2270
+ d && (y.attributes[Se] = ""), i && (y.children.push({
2271
2271
  tag: "title",
2272
2272
  attributes: {
2273
- id: h.attributes["aria-labelledby"] || "title-".concat(l || Xe())
2273
+ id: y.attributes["aria-labelledby"] || "title-".concat(l || Xe())
2274
2274
  },
2275
2275
  children: [i]
2276
- }), delete h.attributes.title);
2276
+ }), delete y.attributes.title);
2277
2277
  const M = {
2278
- ...h,
2278
+ ...y,
2279
2279
  prefix: a,
2280
2280
  iconName: r,
2281
2281
  main: t,
@@ -2290,10 +2290,10 @@ function sn(e) {
2290
2290
  }, {
2291
2291
  children: $,
2292
2292
  attributes: C
2293
- } = n.found && t.found ? ve("generateAbstractMask", M) || {
2293
+ } = n.found && t.found ? Le("generateAbstractMask", M) || {
2294
2294
  children: [],
2295
2295
  attributes: {}
2296
- } : ve("generateAbstractIcon", M) || {
2296
+ } : Le("generateAbstractIcon", M) || {
2297
2297
  children: [],
2298
2298
  attributes: {}
2299
2299
  };
@@ -2315,7 +2315,7 @@ function _n(e) {
2315
2315
  } : {},
2316
2316
  class: o.classes.join(" ")
2317
2317
  };
2318
- i && (u[Ce] = "");
2318
+ i && (u[Se] = "");
2319
2319
  const l = {
2320
2320
  ...o.styles
2321
2321
  };
@@ -2415,7 +2415,7 @@ function io(e, t) {
2415
2415
  }
2416
2416
  function Qt(e, t) {
2417
2417
  let n = t;
2418
- return t === "fa" && b.styleDefault !== null && (t = ye()), new Promise((a, r) => {
2418
+ return t === "fa" && b.styleDefault !== null && (t = ve()), new Promise((a, r) => {
2419
2419
  if (n === "fa") {
2420
2420
  const s = Ea(e) || {};
2421
2421
  e = s.iconName || e, t = s.prefix || t;
@@ -2426,7 +2426,7 @@ function Qt(e, t) {
2426
2426
  }
2427
2427
  io(e, t), a({
2428
2428
  ...oo,
2429
- icon: b.showMissingIcons && e ? ve("missingIconAbstract") || {} : {}
2429
+ icon: b.showMissingIcons && e ? Le("missingIconAbstract") || {} : {}
2430
2430
  });
2431
2431
  });
2432
2432
  }
@@ -2444,7 +2444,7 @@ var on = {
2444
2444
  const ot = () => {
2445
2445
  };
2446
2446
  function On(e) {
2447
- return typeof (e.getAttribute ? e.getAttribute(Ce) : null) == "string";
2447
+ return typeof (e.getAttribute ? e.getAttribute(Se) : null) == "string";
2448
2448
  }
2449
2449
  function uo(e) {
2450
2450
  const t = e.getAttribute ? e.getAttribute(Jt) : null, n = e.getAttribute ? e.getAttribute(qt) : null;
@@ -2488,7 +2488,7 @@ const it = {
2488
2488
  if (t.parentNode)
2489
2489
  if (e[1].forEach((n) => {
2490
2490
  t.parentNode.insertBefore(za(n), t);
2491
- }), t.getAttribute(Ce) === null && b.keepOriginalSource) {
2491
+ }), t.getAttribute(Se) === null && b.keepOriginalSource) {
2492
2492
  let n = T.createComment(go(t));
2493
2493
  t.parentNode.replaceChild(n, t);
2494
2494
  } else
@@ -2508,7 +2508,7 @@ const it = {
2508
2508
  }
2509
2509
  const r = n.map((s) => at(s)).join(`
2510
2510
  `);
2511
- t.setAttribute(Ce, ""), t.innerHTML = r;
2511
+ t.setAttribute(Se, ""), t.innerHTML = r;
2512
2512
  }
2513
2513
  };
2514
2514
  function En(e) {
@@ -2520,7 +2520,7 @@ function Pa(e, t) {
2520
2520
  n();
2521
2521
  else {
2522
2522
  let a = En;
2523
- b.mutateApproach === Ms && (a = he.requestAnimationFrame || En), a(() => {
2523
+ b.mutateApproach === Ms && (a = ye.requestAnimationFrame || En), a(() => {
2524
2524
  const r = fo(), s = on.begin("mutate");
2525
2525
  e.map(r), s(), n();
2526
2526
  });
@@ -2546,7 +2546,7 @@ function An(e) {
2546
2546
  mt = new jn((s) => {
2547
2547
  if (ln)
2548
2548
  return;
2549
- const o = ye();
2549
+ const o = ve();
2550
2550
  ze(s).forEach((i) => {
2551
2551
  if (i.type === "childList" && i.addedNodes.length > 0 && !On(i.addedNodes[0]) && (b.searchPseudoElements && a(i.target), t(i.target)), i.type === "attributes" && i.target.parentNode && b.searchPseudoElements && a(i.target.parentNode), i.type === "attributes" && On(i.target) && ~$s.indexOf(i.attributeName))
2552
2552
  if (i.attributeName === "class" && uo(i.target)) {
@@ -2579,7 +2579,7 @@ function yo(e) {
2579
2579
  function vo(e) {
2580
2580
  const t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), a = e.innerText !== void 0 ? e.innerText.trim() : "";
2581
2581
  let r = Mt(en(e));
2582
- return r.prefix || (r.prefix = ye()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = Gs(r.prefix, e.innerText) || an(r.prefix, Pt(e.innerText))), !r.iconName && b.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
2582
+ return r.prefix || (r.prefix = ve()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = Gs(r.prefix, e.innerText) || an(r.prefix, Pt(e.innerText))), !r.iconName && b.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
2583
2583
  }
2584
2584
  function Lo(e) {
2585
2585
  const t = ze(e.attributes).reduce((r, s) => (r.name !== "class" && r.name !== "style" && (r[s.name] = s.value), r), {}), n = e.getAttribute("title"), a = e.getAttribute("data-fa-title-id");
@@ -2644,15 +2644,15 @@ function Ya(e) {
2644
2644
  const t = b.autoReplaceSvg === "nest" ? kn(e, {
2645
2645
  styleParser: !1
2646
2646
  }) : kn(e);
2647
- return ~t.extra.classes.indexOf(wa) ? ve("generateLayersText", e, t) : ve("generateSvgReplacementMutation", e, t);
2647
+ return ~t.extra.classes.indexOf(wa) ? Le("generateLayersText", e, t) : Le("generateSvgReplacementMutation", e, t);
2648
2648
  }
2649
2649
  let ae = /* @__PURE__ */ new Set();
2650
2650
  Ma.map((e) => {
2651
2651
  ae.add("fa-".concat(e));
2652
2652
  });
2653
- Object.keys(xe[O]).map(ae.add.bind(ae));
2654
- Object.keys(xe[V]).map(ae.add.bind(ae));
2655
- Object.keys(xe[B]).map(ae.add.bind(ae));
2653
+ Object.keys(Ne[O]).map(ae.add.bind(ae));
2654
+ Object.keys(Ne[V]).map(ae.add.bind(ae));
2655
+ Object.keys(Ne[B]).map(ae.add.bind(ae));
2656
2656
  ae = [...ae];
2657
2657
  function zn(e) {
2658
2658
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
@@ -2660,7 +2660,7 @@ function zn(e) {
2660
2660
  return Promise.resolve();
2661
2661
  const n = T.documentElement.classList, a = (c) => n.add("".concat($n, "-").concat(c)), r = (c) => n.remove("".concat($n, "-").concat(c)), s = b.autoFetchSvg ? ae : Ma.map((c) => "fa-".concat(c)).concat(Object.keys(bo));
2662
2662
  s.includes("fa") || s.push("fa");
2663
- const o = [".".concat(wa, ":not([").concat(Ce, "])")].concat(s.map((c) => ".".concat(c, ":not([").concat(Ce, "])"))).join(", ");
2663
+ const o = [".".concat(wa, ":not([").concat(Se, "])")].concat(s.map((c) => ".".concat(c, ":not([").concat(Se, "])"))).join(", ");
2664
2664
  if (o.length === 0)
2665
2665
  return Promise.resolve();
2666
2666
  let i = [];
@@ -2674,20 +2674,20 @@ function zn(e) {
2674
2674
  return Promise.resolve();
2675
2675
  const u = on.begin("onTree"), l = i.reduce((c, d) => {
2676
2676
  try {
2677
- const m = Ya(d);
2678
- m && c.push(m);
2679
- } catch (m) {
2680
- La || m.name === "MissingIcon" && console.error(m);
2677
+ const g = Ya(d);
2678
+ g && c.push(g);
2679
+ } catch (g) {
2680
+ La || g.name === "MissingIcon" && console.error(g);
2681
2681
  }
2682
2682
  return c;
2683
2683
  }, []);
2684
2684
  return new Promise((c, d) => {
2685
- Promise.all(l).then((m) => {
2686
- Pa(m, () => {
2685
+ Promise.all(l).then((g) => {
2686
+ Pa(g, () => {
2687
2687
  a("active"), a("complete"), r("pending"), typeof t == "function" && t(), u(), c();
2688
2688
  });
2689
- }).catch((m) => {
2690
- u(), d(m);
2689
+ }).catch((g) => {
2690
+ u(), d(g);
2691
2691
  });
2692
2692
  });
2693
2693
  }
@@ -2727,18 +2727,18 @@ const xo = function(e) {
2727
2727
  return;
2728
2728
  const {
2729
2729
  prefix: d,
2730
- iconName: m,
2731
- icon: v
2730
+ iconName: g,
2731
+ icon: h
2732
2732
  } = e;
2733
2733
  return bt({
2734
2734
  type: "icon",
2735
2735
  ...e
2736
- }, () => (Se("beforeDOMElementCreation", {
2736
+ }, () => (Ie("beforeDOMElementCreation", {
2737
2737
  iconDefinition: e,
2738
2738
  params: t
2739
2739
  }), b.autoA11y && (o ? l["aria-labelledby"] = "".concat(b.replacementClass, "-title-").concat(i || Xe()) : (l["aria-hidden"] = "true", l.focusable = "false")), sn({
2740
2740
  icons: {
2741
- main: Ut(v),
2741
+ main: Ut(h),
2742
2742
  mask: r ? Ut(r.icon) : {
2743
2743
  found: !1,
2744
2744
  width: null,
@@ -2747,7 +2747,7 @@ const xo = function(e) {
2747
2747
  }
2748
2748
  },
2749
2749
  prefix: d,
2750
- iconName: m,
2750
+ iconName: g,
2751
2751
  transform: {
2752
2752
  ...te,
2753
2753
  ...n
@@ -2796,18 +2796,18 @@ var No = {
2796
2796
  maskId: c,
2797
2797
  extra: d
2798
2798
  } = n;
2799
- return new Promise((m, v) => {
2799
+ return new Promise((g, h) => {
2800
2800
  Promise.all([Qt(a, o), l.iconName ? Qt(l.iconName, l.prefix) : Promise.resolve({
2801
2801
  found: !1,
2802
2802
  width: 512,
2803
2803
  height: 512,
2804
2804
  icon: {}
2805
2805
  })]).then((f) => {
2806
- let [g, h] = f;
2807
- m([t, sn({
2806
+ let [m, y] = f;
2807
+ g([t, sn({
2808
2808
  icons: {
2809
- main: g,
2810
- mask: h
2809
+ main: m,
2810
+ mask: y
2811
2811
  },
2812
2812
  prefix: o,
2813
2813
  iconName: a,
@@ -2819,7 +2819,7 @@ var No = {
2819
2819
  extra: d,
2820
2820
  watchable: !0
2821
2821
  })]);
2822
- }).catch(v);
2822
+ }).catch(h);
2823
2823
  });
2824
2824
  }, e.generateAbstractIcon = function(t) {
2825
2825
  let {
@@ -2832,7 +2832,7 @@ var No = {
2832
2832
  const i = vt(o);
2833
2833
  i.length > 0 && (a.style = i);
2834
2834
  let u;
2835
- return tn(s) && (u = ve("generateAbstractTransformGrouping", {
2835
+ return tn(s) && (u = Le("generateAbstractTransformGrouping", {
2836
2836
  main: r,
2837
2837
  transform: s,
2838
2838
  containerWidth: r.width,
@@ -2854,7 +2854,7 @@ var No = {
2854
2854
  return bt({
2855
2855
  type: "layer"
2856
2856
  }, () => {
2857
- Se("beforeDOMElementCreation", {
2857
+ Ie("beforeDOMElementCreation", {
2858
2858
  assembler: e,
2859
2859
  params: t
2860
2860
  });
@@ -2888,7 +2888,7 @@ var No = {
2888
2888
  return bt({
2889
2889
  type: "counter",
2890
2890
  content: e
2891
- }, () => (Se("beforeDOMElementCreation", {
2891
+ }, () => (Ie("beforeDOMElementCreation", {
2892
2892
  content: e,
2893
2893
  params: t
2894
2894
  }), so({
@@ -2918,7 +2918,7 @@ var No = {
2918
2918
  return bt({
2919
2919
  type: "text",
2920
2920
  content: e
2921
- }, () => (Se("beforeDOMElementCreation", {
2921
+ }, () => (Ie("beforeDOMElementCreation", {
2922
2922
  content: e,
2923
2923
  params: t
2924
2924
  }), _n({
@@ -2989,34 +2989,34 @@ function Yn(e, t) {
2989
2989
  return new Promise((a, r) => {
2990
2990
  if (e.getAttribute(n) !== null)
2991
2991
  return a();
2992
- const o = ze(e.children).filter((m) => m.getAttribute(Et) === t)[0], i = he.getComputedStyle(e, t), u = i.getPropertyValue("font-family"), l = u.match(xs), c = i.getPropertyValue("font-weight"), d = i.getPropertyValue("content");
2992
+ const o = ze(e.children).filter((g) => g.getAttribute(Et) === t)[0], i = ye.getComputedStyle(e, t), u = i.getPropertyValue("font-family"), l = u.match(xs), c = i.getPropertyValue("font-weight"), d = i.getPropertyValue("content");
2993
2993
  if (o && !l)
2994
2994
  return e.removeChild(o), a();
2995
2995
  if (l && d !== "none" && d !== "") {
2996
- const m = i.getPropertyValue("content");
2997
- let v = Do(u, c);
2996
+ const g = i.getPropertyValue("content");
2997
+ let h = Do(u, c);
2998
2998
  const {
2999
2999
  value: f,
3000
- isSecondary: g
3001
- } = _o(m), h = l[0].startsWith("FontAwesome");
3002
- let p = an(v, f), M = p;
3003
- if (h) {
3000
+ isSecondary: m
3001
+ } = _o(g), y = l[0].startsWith("FontAwesome");
3002
+ let p = an(h, f), M = p;
3003
+ if (y) {
3004
3004
  const $ = Hs(f);
3005
- $.iconName && $.prefix && (p = $.iconName, v = $.prefix);
3005
+ $.iconName && $.prefix && (p = $.iconName, h = $.prefix);
3006
3006
  }
3007
- if (p && !g && (!o || o.getAttribute(Jt) !== v || o.getAttribute(qt) !== M)) {
3007
+ if (p && !m && (!o || o.getAttribute(Jt) !== h || o.getAttribute(qt) !== M)) {
3008
3008
  e.setAttribute(n, M), o && e.removeChild(o);
3009
3009
  const $ = Mo(), {
3010
3010
  extra: C
3011
3011
  } = $;
3012
- C.attributes[Et] = t, Qt(p, v).then((_) => {
3012
+ C.attributes[Et] = t, Qt(p, h).then((_) => {
3013
3013
  const j = sn({
3014
3014
  ...$,
3015
3015
  icons: {
3016
3016
  main: _,
3017
3017
  mask: rn()
3018
3018
  },
3019
- prefix: v,
3019
+ prefix: h,
3020
3020
  iconName: M,
3021
3021
  extra: C,
3022
3022
  watchable: !0
@@ -3168,7 +3168,7 @@ var zo = {
3168
3168
  transform: "".concat(i, " ").concat(u, " ").concat(l)
3169
3169
  }, d = {
3170
3170
  transform: "translate(".concat(s / 2 * -1, " -256)")
3171
- }, m = {
3171
+ }, g = {
3172
3172
  outer: o,
3173
3173
  inner: c,
3174
3174
  path: d
@@ -3176,19 +3176,19 @@ var zo = {
3176
3176
  return {
3177
3177
  tag: "g",
3178
3178
  attributes: {
3179
- ...m.outer
3179
+ ...g.outer
3180
3180
  },
3181
3181
  children: [{
3182
3182
  tag: "g",
3183
3183
  attributes: {
3184
- ...m.inner
3184
+ ...g.inner
3185
3185
  },
3186
3186
  children: [{
3187
3187
  tag: n.icon.tag,
3188
3188
  children: n.icon.children,
3189
3189
  attributes: {
3190
3190
  ...n.icon.attributes,
3191
- ...m.path
3191
+ ...g.path
3192
3192
  }
3193
3193
  }]
3194
3194
  }]
@@ -3214,7 +3214,7 @@ var Ro = {
3214
3214
  return {
3215
3215
  parseNodeAttributes(e, t) {
3216
3216
  const n = t.getAttribute("data-fa-mask"), a = n ? Mt(n.split(" ").map((r) => r.trim())) : rn();
3217
- return a.prefix || (a.prefix = ye()), e.mask = a, e.maskId = t.getAttribute("data-fa-mask-id"), e;
3217
+ return a.prefix || (a.prefix = ve()), e.mask = a, e.maskId = t.getAttribute("data-fa-mask-id"), e;
3218
3218
  }
3219
3219
  };
3220
3220
  },
@@ -3234,11 +3234,11 @@ var Ro = {
3234
3234
  } = r, {
3235
3235
  width: c,
3236
3236
  icon: d
3237
- } = s, m = Es({
3237
+ } = s, g = Es({
3238
3238
  transform: i,
3239
3239
  containerWidth: c,
3240
3240
  iconWidth: u
3241
- }), v = {
3241
+ }), h = {
3242
3242
  tag: "rect",
3243
3243
  attributes: {
3244
3244
  ...St,
@@ -3246,25 +3246,25 @@ var Ro = {
3246
3246
  }
3247
3247
  }, f = l.children ? {
3248
3248
  children: l.children.map(Vn)
3249
- } : {}, g = {
3249
+ } : {}, m = {
3250
3250
  tag: "g",
3251
3251
  attributes: {
3252
- ...m.inner
3252
+ ...g.inner
3253
3253
  },
3254
3254
  children: [Vn({
3255
3255
  tag: l.tag,
3256
3256
  attributes: {
3257
3257
  ...l.attributes,
3258
- ...m.path
3258
+ ...g.path
3259
3259
  },
3260
3260
  ...f
3261
3261
  })]
3262
- }, h = {
3262
+ }, y = {
3263
3263
  tag: "g",
3264
3264
  attributes: {
3265
- ...m.outer
3265
+ ...g.outer
3266
3266
  },
3267
- children: [g]
3267
+ children: [m]
3268
3268
  }, p = "mask-".concat(o || Xe()), M = "clip-".concat(o || Xe()), $ = {
3269
3269
  tag: "mask",
3270
3270
  attributes: {
@@ -3273,7 +3273,7 @@ var Ro = {
3273
3273
  maskUnits: "userSpaceOnUse",
3274
3274
  maskContentUnits: "userSpaceOnUse"
3275
3275
  },
3276
- children: [v, h]
3276
+ children: [h, y]
3277
3277
  }, C = {
3278
3278
  tag: "defs",
3279
3279
  children: [{
@@ -3301,7 +3301,7 @@ var Ro = {
3301
3301
  }, Yo = {
3302
3302
  provides(e) {
3303
3303
  let t = !1;
3304
- he.matchMedia && (t = he.matchMedia("(prefers-reduced-motion: reduce)").matches), e.missingIconAbstract = function() {
3304
+ ye.matchMedia && (t = ye.matchMedia("(prefers-reduced-motion: reduce)").matches), e.missingIconAbstract = function() {
3305
3305
  const n = [], a = {
3306
3306
  fill: "currentColor"
3307
3307
  }, r = {
@@ -3515,7 +3515,7 @@ var qo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
3515
3515
  (function(e) {
3516
3516
  (function(t) {
3517
3517
  var n = function(p, M, $) {
3518
- if (!l(M) || d(M) || m(M) || v(M) || u(M))
3518
+ if (!l(M) || d(M) || g(M) || h(M) || u(M))
3519
3519
  return M;
3520
3520
  var C, _ = 0, j = 0;
3521
3521
  if (c(M))
@@ -3548,36 +3548,36 @@ var qo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
3548
3548
  return i.call(p) == "[object Array]";
3549
3549
  }, d = function(p) {
3550
3550
  return i.call(p) == "[object Date]";
3551
- }, m = function(p) {
3551
+ }, g = function(p) {
3552
3552
  return i.call(p) == "[object RegExp]";
3553
- }, v = function(p) {
3553
+ }, h = function(p) {
3554
3554
  return i.call(p) == "[object Boolean]";
3555
3555
  }, f = function(p) {
3556
3556
  return p = p - 0, p === p;
3557
- }, g = function(p, M) {
3557
+ }, m = function(p, M) {
3558
3558
  var $ = M && "process" in M ? M.process : M;
3559
3559
  return typeof $ != "function" ? p : function(C, _) {
3560
3560
  return $(C, p, _);
3561
3561
  };
3562
- }, h = {
3562
+ }, y = {
3563
3563
  camelize: r,
3564
3564
  decamelize: o,
3565
3565
  pascalize: s,
3566
3566
  depascalize: o,
3567
3567
  camelizeKeys: function(p, M) {
3568
- return n(g(r, M), p);
3568
+ return n(m(r, M), p);
3569
3569
  },
3570
3570
  decamelizeKeys: function(p, M) {
3571
- return n(g(o, M), p, M);
3571
+ return n(m(o, M), p, M);
3572
3572
  },
3573
3573
  pascalizeKeys: function(p, M) {
3574
- return n(g(s, M), p);
3574
+ return n(m(s, M), p);
3575
3575
  },
3576
3576
  depascalizeKeys: function() {
3577
3577
  return this.decamelizeKeys.apply(this, arguments);
3578
3578
  }
3579
3579
  };
3580
- e.exports ? e.exports = h : t.humps = h;
3580
+ e.exports ? e.exports = y : t.humps = y;
3581
3581
  })(qo);
3582
3582
  })(Ua);
3583
3583
  var ei = Ua.exports, ti = ["class", "style"];
@@ -3908,7 +3908,7 @@ const oi = {
3908
3908
  prefix: "fas",
3909
3909
  iconName: "building-shield",
3910
3910
  icon: [576, 512, [], "e4d8", "M0 48C0 21.5 21.5 0 48 0L336 0c26.5 0 48 21.5 48 48l0 159-42.4 17L304 224l-32 0c-8.8 0-16 7.2-16 16l0 32 0 24.2 0 7.8c0 .9 .1 1.7 .2 2.6c2.3 58.1 24.1 144.8 98.7 201.5c-5.8 2.5-12.2 3.9-18.9 3.9l-96 0 0-80c0-26.5-21.5-48-48-48s-48 21.5-48 48l0 80-96 0c-26.5 0-48-21.5-48-48L0 48zM80 224c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm80 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zM64 112l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16L80 96c-8.8 0-16 7.2-16 16zM176 96c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm80 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zM423.1 225.7c5.7-2.3 12.1-2.3 17.8 0l120 48C570 277.4 576 286.2 576 296c0 63.3-25.9 168.8-134.8 214.2c-5.9 2.5-12.6 2.5-18.5 0C313.9 464.8 288 359.3 288 296c0-9.8 6-18.6 15.1-22.3l120-48zM527.4 312L432 273.8l0 187.8c68.2-33 91.5-99 95.4-149.7z"]
3911
- }, we = {
3911
+ }, je = {
3912
3912
  prefix: "fas",
3913
3913
  iconName: "person-military-pointing",
3914
3914
  icon: [576, 512, [], "e54a", "M246.9 14.1C234 15.2 224 26 224 39c0 13.8 11.2 25 25 25l151 0c8.8 0 16-7.2 16-16l0-30.6C416 8 408 .7 398.7 1.4L246.9 14.1zM240 112c0 44.2 35.8 80 80 80s80-35.8 80-80c0-5.5-.6-10.8-1.6-16L241.6 96c-1 5.2-1.6 10.5-1.6 16zM72 224c-22.1 0-40 17.9-40 40s17.9 40 40 40l152 0 0 89.4L386.8 230.5c-13.3-4.3-27.3-6.5-41.6-6.5L240 224 72 224zm345.7 20.9L246.6 416 416 416l0-46.3 53.6 90.6c11.2 19 35.8 25.3 54.8 14.1s25.3-35.8 14.1-54.8L462.3 290.8c-11.2-18.9-26.6-34.5-44.6-45.9zM224 448l0 32c0 17.7 14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-32-192 0z"]
@@ -3949,14 +3949,14 @@ const oi = {
3949
3949
  /***************************************************
3950
3950
  ************* Info about officers ***************
3951
3951
  **************************************************/
3952
- ["Info about officers", we],
3952
+ ["Info about officers", je],
3953
3953
  // Top level
3954
- ["Complaints & Misconduct", we],
3955
- ["Complaints and Misconduct", we],
3956
- ["Daily Activity Logs", we],
3957
- ["Training & Hiring Info", we],
3958
- ["Training and Hiring Info", we],
3959
- ["Personnel Records", we],
3954
+ ["Complaints & Misconduct", je],
3955
+ ["Complaints and Misconduct", je],
3956
+ ["Daily Activity Logs", je],
3957
+ ["Training & Hiring Info", je],
3958
+ ["Training and Hiring Info", je],
3959
+ ["Personnel Records", je],
3960
3960
  /***************************************************
3961
3961
  ************* Info about agencies ***************
3962
3962
  **************************************************/
@@ -3999,7 +3999,7 @@ const oi = {
3999
3999
  );
4000
4000
  return t({
4001
4001
  recordTypesToIcons: n
4002
- }), (a, r) => n.value.has(a.recordType) ? (y(), F(L(Va), {
4002
+ }), (a, r) => n.value.has(a.recordType) ? (v(), F(L(Va), {
4003
4003
  key: 0,
4004
4004
  icon: n.value.get(a.recordType) ?? []
4005
4005
  /* Fallback array is a never case, since TS doesn't infer the typeguard from `v-if` */
@@ -4021,7 +4021,7 @@ const oi = {
4021
4021
  const t = e, n = x(() => `pdap-${t.name}-input-error`);
4022
4022
  return (a, r) => {
4023
4023
  var s;
4024
- return y(), w("div", {
4024
+ return v(), w("div", {
4025
4025
  class: X({
4026
4026
  "pdap-input": !0,
4027
4027
  [`pdap-input-${a.type}`]: !0,
@@ -4029,11 +4029,11 @@ const oi = {
4029
4029
  "pdap-input-error": Number((s = a.error) == null ? void 0 : s.length) >= 1
4030
4030
  })
4031
4031
  }, [
4032
- a.type === L(oe).CHECKBOX ? (y(), F(ts, J({
4032
+ a.type === L(oe).CHECKBOX ? (v(), F(ts, J({
4033
4033
  key: 0,
4034
4034
  class: "pdap-input-checkbox"
4035
- }, { ...a.$attrs, ...t }), null, 16)) : (y(), F(qr, or(J({ key: 1 }, { ...a.$attrs, ...a.$props })), null, 16)),
4036
- a.error ? (y(), w("div", {
4035
+ }, { ...a.$attrs, ...t }), null, 16)) : (v(), F(qr, or(J({ key: 1 }, { ...a.$attrs, ...a.$props })), null, 16)),
4036
+ a.error ? (v(), w("div", {
4037
4037
  key: 2,
4038
4038
  id: n.value,
4039
4039
  class: "pdap-input-error-message"
@@ -4093,10 +4093,10 @@ function wt(e) {
4093
4093
  function mi(e) {
4094
4094
  return yt(e) && Ze(e.then);
4095
4095
  }
4096
- function Le(e) {
4096
+ function Me(e) {
4097
4097
  return typeof e == "object" ? e.$valid : e;
4098
4098
  }
4099
- function Ie(e) {
4099
+ function Te(e) {
4100
4100
  return e.$validator || e;
4101
4101
  }
4102
4102
  function cn(e, t) {
@@ -4130,33 +4130,33 @@ function hi(e) {
4130
4130
  a[r - 1] = arguments[r];
4131
4131
  return L(t).reduce((s, o, i) => {
4132
4132
  const u = Object.entries(o).reduce((l, c) => {
4133
- let [d, m] = c;
4134
- const v = e[d] || {}, f = Object.entries(v).reduce((g, h) => {
4135
- let [p, M] = h;
4136
- const C = Ie(M).call(this, m, o, i, ...a), _ = Le(C);
4137
- if (g.$data[p] = C, g.$data.$invalid = !_ || !!g.$data.$invalid, g.$data.$error = g.$data.$invalid, !_) {
4133
+ let [d, g] = c;
4134
+ const h = e[d] || {}, f = Object.entries(h).reduce((m, y) => {
4135
+ let [p, M] = y;
4136
+ const C = Te(M).call(this, g, o, i, ...a), _ = Me(C);
4137
+ if (m.$data[p] = C, m.$data.$invalid = !_ || !!m.$data.$invalid, m.$data.$error = m.$data.$invalid, !_) {
4138
4138
  let j = M.$message || "";
4139
4139
  const I = M.$params || {};
4140
4140
  typeof j == "function" && (j = j({
4141
4141
  $pending: !1,
4142
4142
  $invalid: !_,
4143
4143
  $params: I,
4144
- $model: m,
4144
+ $model: g,
4145
4145
  $response: C
4146
- })), g.$errors.push({
4146
+ })), m.$errors.push({
4147
4147
  $property: d,
4148
4148
  $message: j,
4149
4149
  $params: I,
4150
4150
  $response: C,
4151
- $model: m,
4151
+ $model: g,
4152
4152
  $pending: !1,
4153
4153
  $validator: p
4154
4154
  });
4155
4155
  }
4156
4156
  return {
4157
- $valid: g.$valid && _,
4158
- $data: g.$data,
4159
- $errors: g.$errors
4157
+ $valid: m.$valid && _,
4158
+ $data: m.$data,
4159
+ $errors: m.$errors
4160
4160
  };
4161
4161
  }, {
4162
4162
  $valid: !0,
@@ -4208,7 +4208,7 @@ const G = (e) => {
4208
4208
  }
4209
4209
  return !!String(e).length;
4210
4210
  }, fn = (e) => (e = L(e), Array.isArray(e) ? e.length : typeof e == "object" ? Object.keys(e).length : String(e).length);
4211
- function Me() {
4211
+ function be() {
4212
4212
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
4213
4213
  t[n] = arguments[n];
4214
4214
  return (a) => (a = L(a), !G(a) || t.every((r) => (r.lastIndex = 0, r.test(a))));
@@ -4218,27 +4218,27 @@ var Pe = /* @__PURE__ */ Object.freeze({
4218
4218
  forEach: hi,
4219
4219
  len: fn,
4220
4220
  normalizeValidatorObject: wt,
4221
- regex: Me,
4221
+ regex: be,
4222
4222
  req: G,
4223
4223
  unwrap: L,
4224
- unwrapNormalizedValidator: Ie,
4225
- unwrapValidatorResponse: Le,
4224
+ unwrapNormalizedValidator: Te,
4225
+ unwrapValidatorResponse: Me,
4226
4226
  withAsync: gi,
4227
4227
  withMessage: Ke,
4228
4228
  withParams: cn
4229
- }), yi = Me(/^[a-zA-Z]*$/), vi = {
4229
+ }), yi = be(/^[a-zA-Z]*$/), vi = {
4230
4230
  $validator: yi,
4231
4231
  $message: "The value is not alphabetical",
4232
4232
  $params: {
4233
4233
  type: "alpha"
4234
4234
  }
4235
- }, Li = Me(/^[a-zA-Z0-9]*$/), Mi = {
4235
+ }, Li = be(/^[a-zA-Z0-9]*$/), Mi = {
4236
4236
  $validator: Li,
4237
4237
  $message: "The value must be alpha-numeric",
4238
4238
  $params: {
4239
4239
  type: "alphaNum"
4240
4240
  }
4241
- }, bi = Me(/^\d*(\.\d+)?$/), wi = {
4241
+ }, bi = be(/^\d*(\.\d+)?$/), wi = {
4242
4242
  $validator: bi,
4243
4243
  $message: "Value must be numeric",
4244
4244
  $params: {
@@ -4265,7 +4265,7 @@ function xi(e, t) {
4265
4265
  };
4266
4266
  }
4267
4267
  const Ni = /^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;
4268
- var $i = Me(Ni), dn = {
4268
+ var $i = be(Ni), dn = {
4269
4269
  $validator: $i,
4270
4270
  $message: "Value is not a valid email address",
4271
4271
  $params: {
@@ -4414,7 +4414,7 @@ function Qi(e) {
4414
4414
  };
4415
4415
  }
4416
4416
  const Vi = /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;
4417
- var Bi = Me(Vi), Wi = {
4417
+ var Bi = be(Vi), Wi = {
4418
4418
  $validator: Bi,
4419
4419
  $message: "The value is not a valid URL address",
4420
4420
  $params: {
@@ -4425,7 +4425,7 @@ function Gi(e) {
4425
4425
  return function() {
4426
4426
  for (var t = arguments.length, n = new Array(t), a = 0; a < t; a++)
4427
4427
  n[a] = arguments[a];
4428
- return e.reduce((r, s) => Le(r) ? r : Ie(s).apply(this, n), !1);
4428
+ return e.reduce((r, s) => Me(r) ? r : Te(s).apply(this, n), !1);
4429
4429
  };
4430
4430
  }
4431
4431
  function Hi(e) {
@@ -4434,7 +4434,7 @@ function Hi(e) {
4434
4434
  n[a] = arguments[a];
4435
4435
  return e.reduce(async (r, s) => {
4436
4436
  const o = await r;
4437
- return Le(o) ? o : Ie(s).apply(this, n);
4437
+ return Me(o) ? o : Te(s).apply(this, n);
4438
4438
  }, Promise.resolve(!1));
4439
4439
  };
4440
4440
  }
@@ -4458,7 +4458,7 @@ function Ki(e) {
4458
4458
  return function() {
4459
4459
  for (var t = arguments.length, n = new Array(t), a = 0; a < t; a++)
4460
4460
  n[a] = arguments[a];
4461
- return e.reduce((r, s) => Le(r) ? Ie(s).apply(this, n) : r, !0);
4461
+ return e.reduce((r, s) => Me(r) ? Te(s).apply(this, n) : r, !0);
4462
4462
  };
4463
4463
  }
4464
4464
  function Ji(e) {
@@ -4467,7 +4467,7 @@ function Ji(e) {
4467
4467
  n[a] = arguments[a];
4468
4468
  return e.reduce(async (r, s) => {
4469
4469
  const o = await r;
4470
- return Le(o) ? Ie(s).apply(this, n) : o;
4470
+ return Me(o) ? Te(s).apply(this, n) : o;
4471
4471
  }, Promise.resolve(!0));
4472
4472
  };
4473
4473
  }
@@ -4491,8 +4491,8 @@ function tl(e) {
4491
4491
  return function(t, n) {
4492
4492
  if (!G(t))
4493
4493
  return !0;
4494
- const a = Ie(e).call(this, t, n);
4495
- return mi(a) ? a.then((r) => !Le(r)) : !Le(a);
4494
+ const a = Te(e).call(this, t, n);
4495
+ return mi(a) ? a.then((r) => !Me(r)) : !Me(a);
4496
4496
  };
4497
4497
  }
4498
4498
  function nl(e) {
@@ -4537,13 +4537,13 @@ var ol = (e) => ({
4537
4537
  max: e,
4538
4538
  type: "maxValue"
4539
4539
  }
4540
- }), il = Me(/(^[0-9]*$)|(^-[0-9]+$)/), ll = {
4540
+ }), il = be(/(^[0-9]*$)|(^-[0-9]+$)/), ll = {
4541
4541
  $validator: il,
4542
4542
  $message: "Value is not an integer",
4543
4543
  $params: {
4544
4544
  type: "integer"
4545
4545
  }
4546
- }, ul = Me(/^[-]?\d*(\.\d+)?$/), cl = {
4546
+ }, ul = be(/^[-]?\d*(\.\d+)?$/), cl = {
4547
4547
  $validator: ul,
4548
4548
  $message: "Value must be decimal",
4549
4549
  $params: {
@@ -4698,26 +4698,26 @@ const Ml = ["id", "name", "onSubmit"], bl = {
4698
4698
  setup(e, { expose: t, emit: n }) {
4699
4699
  const a = e, r = n;
4700
4700
  t({
4701
- setValues: m
4701
+ setValues: g
4702
4702
  });
4703
4703
  const s = x(
4704
4704
  () => a.schema.map((f) => {
4705
- const g = { ...f };
4706
- return delete g.validators, g;
4705
+ const m = { ...f };
4706
+ return delete m.validators, m;
4707
4707
  })
4708
4708
  ), o = S(
4709
- s.value.reduce((f, g) => {
4710
- switch (g.type) {
4709
+ s.value.reduce((f, m) => {
4710
+ switch (m.type) {
4711
4711
  case oe.CHECKBOX:
4712
- return { ...f, [g.name]: String(g.defaultChecked) };
4712
+ return { ...f, [m.name]: String(m.defaultChecked) };
4713
4713
  case oe.TEXT:
4714
4714
  case oe.PASSWORD:
4715
4715
  default:
4716
- return { ...f, [g.name]: g.value };
4716
+ return { ...f, [m.name]: m.value };
4717
4717
  }
4718
4718
  }, {})
4719
- ), i = a.schema.reduce((f, g) => {
4720
- const h = Object.entries(g.validators ?? {}).reduce(
4719
+ ), i = a.schema.reduce((f, m) => {
4720
+ const y = Object.entries(m.validators ?? {}).reduce(
4721
4721
  (p, [M, $]) => ({
4722
4722
  ...p,
4723
4723
  ...Ga(M, $)
@@ -4726,8 +4726,8 @@ const Ml = ["id", "name", "onSubmit"], bl = {
4726
4726
  );
4727
4727
  return {
4728
4728
  ...f,
4729
- [g.name]: {
4730
- ...h
4729
+ [m.name]: {
4730
+ ...y
4731
4731
  }
4732
4732
  };
4733
4733
  }, {}), u = ua(i, o, { $autoDirty: !1, $lazy: !0 }), l = S(a.error);
@@ -4736,40 +4736,40 @@ const Ml = ["id", "name", "onSubmit"], bl = {
4736
4736
  }), _t(() => {
4737
4737
  a.resetOn && a.resetOn !== "submit" && d();
4738
4738
  });
4739
- function c(f, g) {
4740
- const h = g.target, p = (() => {
4739
+ function c(f, m) {
4740
+ const y = m.target, p = (() => {
4741
4741
  switch (f.type) {
4742
4742
  case oe.CHECKBOX:
4743
- return h.checked ? "true" : "false";
4743
+ return y.checked ? "true" : "false";
4744
4744
  default:
4745
- return h.value;
4745
+ return y.value;
4746
4746
  }
4747
4747
  })();
4748
- o.value[f.name] = p, r("change", o.value, g);
4748
+ o.value[f.name] = p, r("change", o.value, m);
4749
4749
  }
4750
4750
  function d() {
4751
- u.value.$reset(), o.value = Object.entries(o).reduce((f, [g]) => ({ ...f, [g]: "" }), {});
4751
+ u.value.$reset(), o.value = Object.entries(o).reduce((f, [m]) => ({ ...f, [m]: "" }), {});
4752
4752
  }
4753
- function m(f) {
4753
+ function g(f) {
4754
4754
  o.value = f;
4755
4755
  }
4756
- async function v(f) {
4756
+ async function h(f) {
4757
4757
  await u.value.$validate() && (r("submit", { ...o.value }, f), a.resetOn === "submit" && d());
4758
4758
  }
4759
- return (f, g) => (y(), w("form", {
4759
+ return (f, m) => (v(), w("form", {
4760
4760
  id: f.id,
4761
4761
  name: f.name,
4762
4762
  class: "pdap-form",
4763
- onSubmit: Oe(v, ["prevent"])
4763
+ onSubmit: he(h, ["prevent"])
4764
4764
  }, [
4765
- typeof l.value == "string" ? (y(), w("div", bl, D(l.value), 1)) : A("", !0),
4766
- (y(!0), w($e, null, qe(s.value, (h) => {
4765
+ typeof l.value == "string" ? (v(), w("div", bl, D(l.value), 1)) : A("", !0),
4766
+ (v(!0), w(Ce, null, qe(s.value, (y) => {
4767
4767
  var p, M, $, C;
4768
- return y(), F(di, J(h, {
4769
- key: h.name,
4770
- error: (p = L(u)[h.name]) != null && p.$error ? (C = ($ = (M = L(u)[h.name]) == null ? void 0 : M.$errors) == null ? void 0 : $[0]) == null ? void 0 : C.$message : "",
4771
- value: o.value[h.name],
4772
- onInput: (_) => c(h, _)
4768
+ return v(), F(di, J(y, {
4769
+ key: y.name,
4770
+ error: (p = L(u)[y.name]) != null && p.$error ? (C = ($ = (M = L(u)[y.name]) == null ? void 0 : M.$errors) == null ? void 0 : $[0]) == null ? void 0 : C.$message : "",
4771
+ value: o.value[y.name],
4772
+ onInput: (_) => c(y, _)
4773
4773
  }), null, 16, ["error", "value", "onInput"]);
4774
4774
  }), 128)),
4775
4775
  P(f.$slots, "default")
@@ -4790,7 +4790,7 @@ function xl(e) {
4790
4790
  };
4791
4791
  }, {});
4792
4792
  }
4793
- const Re = Symbol(), Nl = ["id", "name", "onSubmit"], $l = {
4793
+ const Re = Symbol(), Nl = ["id", "name", "onSubmit", "onInput", "onChange"], $l = {
4794
4794
  key: 1,
4795
4795
  class: "pdap-form-error-message"
4796
4796
  }, ku = /* @__PURE__ */ E({
@@ -4814,33 +4814,37 @@ const Re = Symbol(), Nl = ["id", "name", "onSubmit"], $l = {
4814
4814
  setValues: l,
4815
4815
  v$: u
4816
4816
  });
4817
- function l(m) {
4818
- o.value = { ...o.value, ...m };
4817
+ function l(h) {
4818
+ o.value = { ...o.value, ...h };
4819
4819
  }
4820
4820
  function c() {
4821
- u.value.$reset(), o.value = Object.entries(o.value).reduce((m, [v]) => {
4822
- var f;
4821
+ u.value.$reset(), o.value = Object.entries(o.value).reduce((h, [f]) => {
4822
+ var m;
4823
4823
  return {
4824
- ...m,
4825
- [v]: typeof o.value[v] == "string" ? "" : !!((f = a.defaultValues) != null && f[v])
4824
+ ...h,
4825
+ [f]: typeof o.value[f] == "string" ? "" : !!((m = a.defaultValues) != null && m[f])
4826
4826
  };
4827
4827
  }, {});
4828
4828
  }
4829
- async function d(m) {
4830
- const v = await u.value.$validate();
4831
- v || r("error", u), v && (r("submit", { ...o.value }, m), c());
4829
+ function d(h) {
4830
+ r("change", o.value, h);
4831
+ }
4832
+ async function g(h) {
4833
+ const f = await u.value.$validate();
4834
+ f || r("error", u), f && (r("submit", { ...o.value }, h), c());
4832
4835
  }
4833
4836
  return _t(() => {
4834
4837
  a.error ? s.value = a.error : s.value && u.value.$errors.length === 0 ? s.value = null : !s.value && u.value.$errors.length > 0 && (s.value = "Please update this form to correct the errors");
4835
- }), (m, v) => (y(), w("form", {
4836
- id: m.id,
4837
- name: m.name,
4838
+ }), (h, f) => (v(), w("form", {
4839
+ id: h.id,
4840
+ name: h.name,
4838
4841
  class: "pdap-form",
4839
- onSubmit: Oe(d, ["prevent"]),
4840
- onChange: v[0] || (v[0] = (f) => r("change", o.value, f))
4842
+ onSubmit: he(g, ["prevent"]),
4843
+ onInput: he(d, ["prevent"]),
4844
+ onChange: he(d, ["prevent"])
4841
4845
  }, [
4842
- m.$slots.error ? P(m.$slots, "error", { key: 0 }) : typeof s.value == "string" ? (y(), w("div", $l, D(s.value), 1)) : A("", !0),
4843
- P(m.$slots, "default")
4846
+ h.$slots.error ? P(h.$slots, "error", { key: 0 }) : typeof s.value == "string" ? (v(), w("div", $l, D(s.value), 1)) : A("", !0),
4847
+ P(h.$slots, "default")
4844
4848
  ], 40, Nl));
4845
4849
  }
4846
4850
  });
@@ -4865,20 +4869,20 @@ const Cl = {
4865
4869
  "All form inputs must have a label, passed as a slot or a prop"
4866
4870
  );
4867
4871
  const { values: r, setValues: s, v$: o } = ie(Re), i = x(() => {
4868
- var l, c, d, m;
4869
- return (l = o.value[n]) != null && l.$error ? (m = (d = (c = o.value[n]) == null ? void 0 : c.$errors) == null ? void 0 : d[0]) == null ? void 0 : m.$message : "";
4872
+ var l, c, d, g;
4873
+ return (l = o.value[n]) != null && l.$error ? (g = (d = (c = o.value[n]) == null ? void 0 : c.$errors) == null ? void 0 : d[0]) == null ? void 0 : g.$message : "";
4870
4874
  });
4871
4875
  function u(l) {
4872
4876
  s({ [n]: l.target.checked });
4873
4877
  }
4874
4878
  return (l, c) => {
4875
4879
  var d;
4876
- return y(), w("div", {
4880
+ return v(), w("div", {
4877
4881
  class: X(["pdap-input pdap-input-checkbox", { "pdap-input-error": i.value }])
4878
4882
  }, [
4879
- l.$slots.error && i.value ? (y(), w("div", Cl, [
4883
+ l.$slots.error && i.value ? (v(), w("div", Cl, [
4880
4884
  P(l.$slots, "error")
4881
- ])) : i.value ? (y(), w("div", Sl, D(i.value), 1)) : A("", !0),
4885
+ ])) : i.value ? (v(), w("div", Sl, D(i.value), 1)) : A("", !0),
4882
4886
  N("input", J({
4883
4887
  id: l.id,
4884
4888
  name: l.name,
@@ -4888,12 +4892,12 @@ const Cl = {
4888
4892
  type: "checkbox",
4889
4893
  onInput: u
4890
4894
  }), null, 16, Il),
4891
- l.$slots.label ? (y(), w("label", {
4895
+ l.$slots.label ? (v(), w("label", {
4892
4896
  key: 2,
4893
4897
  for: l.id
4894
4898
  }, [
4895
4899
  P(l.$slots, "label")
4896
- ], 8, Tl)) : l.label ? (y(), w("label", {
4900
+ ], 8, Tl)) : l.label ? (v(), w("label", {
4897
4901
  key: 3,
4898
4902
  for: l.id
4899
4903
  }, D(l.label), 9, _l)) : A("", !0)
@@ -4921,8 +4925,8 @@ const Cl = {
4921
4925
  "All form inputs must have a label, passed as a slot or a prop"
4922
4926
  );
4923
4927
  const { values: r, setValues: s, v$: o } = ie(Re), i = x(() => {
4924
- var d, m, v, f;
4925
- return (d = o.value[n]) != null && d.$error ? (f = (v = (m = o.value[n]) == null ? void 0 : m.$errors) == null ? void 0 : v[0]) == null ? void 0 : f.$message : "";
4928
+ var d, g, h, f;
4929
+ return (d = o.value[n]) != null && d.$error ? (f = (h = (g = o.value[n]) == null ? void 0 : g.$errors) == null ? void 0 : h[0]) == null ? void 0 : f.$message : "";
4926
4930
  }), u = S(!0);
4927
4931
  function l(d) {
4928
4932
  s({ [n]: d.target.value });
@@ -4930,29 +4934,29 @@ const Cl = {
4930
4934
  function c() {
4931
4935
  u.value = !u.value;
4932
4936
  }
4933
- return (d, m) => {
4934
- var v;
4935
- return y(), w("div", {
4937
+ return (d, g) => {
4938
+ var h;
4939
+ return v(), w("div", {
4936
4940
  class: X(["pdap-input pdap-input-password", { "pdap-input-error": i.value }])
4937
4941
  }, [
4938
- d.$slots.label ? (y(), w("label", {
4942
+ d.$slots.label ? (v(), w("label", {
4939
4943
  key: 0,
4940
4944
  for: d.id
4941
4945
  }, [
4942
4946
  P(d.$slots, "label")
4943
- ], 8, Dl)) : d.label ? (y(), w("label", {
4947
+ ], 8, Dl)) : d.label ? (v(), w("label", {
4944
4948
  key: 1,
4945
4949
  for: d.id
4946
4950
  }, D(d.label), 9, Ol)) : A("", !0),
4947
- d.$slots.error && i.value ? (y(), w("div", El, [
4951
+ d.$slots.error && i.value ? (v(), w("div", El, [
4948
4952
  P(d.$slots, "error")
4949
- ])) : i.value ? (y(), w("div", Al, D(i.value), 1)) : A("", !0),
4953
+ ])) : i.value ? (v(), w("div", Al, D(i.value), 1)) : A("", !0),
4950
4954
  N("div", kl, [
4951
4955
  N("input", J({
4952
4956
  id: d.id,
4953
4957
  name: d.name,
4954
4958
  placeholder: d.placeholder ?? "Password",
4955
- value: (v = L(r)) == null ? void 0 : v[d.name]
4959
+ value: (h = L(r)) == null ? void 0 : h[d.name]
4956
4960
  }, d.$attrs, {
4957
4961
  type: u.value ? "password" : "text",
4958
4962
  onInput: l
@@ -4993,29 +4997,29 @@ const Rl = ["for"], Yl = ["for"], Fl = {
4993
4997
  "All form inputs must have a label, passed as a slot or a prop"
4994
4998
  );
4995
4999
  const { values: r, setValues: s, v$: o } = ie(Re), i = x(() => {
4996
- var l, c, d, m;
4997
- return (l = o.value[n]) != null && l.$error ? (m = (d = (c = o.value[n]) == null ? void 0 : c.$errors) == null ? void 0 : d[0]) == null ? void 0 : m.$message : "";
5000
+ var l, c, d, g;
5001
+ return (l = o.value[n]) != null && l.$error ? (g = (d = (c = o.value[n]) == null ? void 0 : c.$errors) == null ? void 0 : d[0]) == null ? void 0 : g.$message : "";
4998
5002
  });
4999
5003
  function u(l) {
5000
5004
  s({ [n]: l.target.value });
5001
5005
  }
5002
5006
  return (l, c) => {
5003
5007
  var d;
5004
- return y(), w("div", {
5008
+ return v(), w("div", {
5005
5009
  class: X(["pdap-input", { "pdap-input-error": i.value }])
5006
5010
  }, [
5007
- l.$slots.label ? (y(), w("label", {
5011
+ l.$slots.label ? (v(), w("label", {
5008
5012
  key: 0,
5009
5013
  for: l.id
5010
5014
  }, [
5011
5015
  P(l.$slots, "label")
5012
- ], 8, Rl)) : l.label ? (y(), w("label", {
5016
+ ], 8, Rl)) : l.label ? (v(), w("label", {
5013
5017
  key: 1,
5014
5018
  for: l.id
5015
5019
  }, D(l.label), 9, Yl)) : A("", !0),
5016
- l.$slots.error && i.value ? (y(), w("div", Fl, [
5020
+ l.$slots.error && i.value ? (v(), w("div", Fl, [
5017
5021
  P(l.$slots, "error")
5018
- ])) : i.value ? (y(), w("div", Ul, D(i.value), 1)) : A("", !0),
5022
+ ])) : i.value ? (v(), w("div", Ul, D(i.value), 1)) : A("", !0),
5019
5023
  N("input", J({
5020
5024
  id: l.id,
5021
5025
  name: l.name,
@@ -5059,26 +5063,26 @@ const Rl = ["for"], Yl = ["for"], Fl = {
5059
5063
  throw new Error(
5060
5064
  "All form inputs must have a label, passed as a slot or a prop"
5061
5065
  );
5062
- const { setValues: o, values: i, v$: u } = ie(Re), l = S(!1), c = S(null), d = S(-1), m = S(/* @__PURE__ */ new Map()), v = S(), f = x(() => new Map(
5066
+ const { setValues: o, values: i, v$: u } = ie(Re), l = S(!1), c = S(null), d = S(-1), g = S(/* @__PURE__ */ new Map()), h = S(), f = x(() => new Map(
5063
5067
  n.map(({ value: j }, I) => [I, `${t}-option-${j}`])
5064
- )), g = x(() => {
5068
+ )), m = x(() => {
5065
5069
  var j, I, Q, H;
5066
5070
  return (j = u.value[t]) != null && j.$error ? (H = (Q = (I = u.value[t]) == null ? void 0 : I.$errors) == null ? void 0 : Q[0]) == null ? void 0 : H.$message : "";
5067
5071
  });
5068
- function h() {
5072
+ function y() {
5069
5073
  l.value = !l.value;
5070
5074
  }
5071
5075
  function p() {
5072
- l.value && (l.value = !1, v.value.focus(), d.value = -1);
5076
+ l.value && (l.value = !1, h.value.focus(), d.value = -1);
5073
5077
  }
5074
5078
  function M(j) {
5075
5079
  c.value = j, p();
5076
5080
  }
5077
5081
  function $(j, I) {
5078
- j && m.value.set(I, j);
5082
+ j && g.value.set(I, j);
5079
5083
  }
5080
5084
  function C(j) {
5081
- const I = m.value.get(j);
5085
+ const I = g.value.get(j);
5082
5086
  I && We(() => {
5083
5087
  I.focus();
5084
5088
  });
@@ -5096,7 +5100,7 @@ const Rl = ["for"], Yl = ["for"], Fl = {
5096
5100
  return;
5097
5101
  }
5098
5102
  if (!l.value) {
5099
- ["ArrowDown", "ArrowUp", "Enter"].includes(j.key) && (j.preventDefault(), h());
5103
+ ["ArrowDown", "ArrowUp", "Enter"].includes(j.key) && (j.preventDefault(), y());
5100
5104
  return;
5101
5105
  }
5102
5106
  switch (j.preventDefault(), j.key) {
@@ -5113,7 +5117,7 @@ const Rl = ["for"], Yl = ["for"], Fl = {
5113
5117
  d.value = d.value - 1;
5114
5118
  break;
5115
5119
  case "Enter":
5116
- d.value >= 0 ? M(n[d.value]) : h();
5120
+ d.value >= 0 ? M(n[d.value]) : y();
5117
5121
  break;
5118
5122
  case "Escape":
5119
5123
  p();
@@ -5158,27 +5162,27 @@ const Rl = ["for"], Yl = ["for"], Fl = {
5158
5162
  }
5159
5163
  ), (j, I) => {
5160
5164
  var Q;
5161
- return y(), w("div", {
5162
- class: X(["pdap-input", { "pdap-input-error": g.value }])
5165
+ return v(), w("div", {
5166
+ class: X(["pdap-input", { "pdap-input-error": m.value }])
5163
5167
  }, [
5164
- j.$slots.label ? (y(), w("label", {
5168
+ j.$slots.label ? (v(), w("label", {
5165
5169
  key: 0,
5166
5170
  id: `${t}-${a}-label`,
5167
5171
  for: a
5168
5172
  }, [
5169
5173
  P(j.$slots, "label")
5170
- ], 8, Vl)) : r ? (y(), w("label", {
5174
+ ], 8, Vl)) : r ? (v(), w("label", {
5171
5175
  key: 1,
5172
5176
  id: `${t}-${a}-label`,
5173
5177
  for: a
5174
5178
  }, D(r), 8, Bl)) : A("", !0),
5175
- j.$slots.error && g.value ? (y(), w("div", Wl, [
5179
+ j.$slots.error && m.value ? (v(), w("div", Wl, [
5176
5180
  P(j.$slots, "error")
5177
- ])) : g.value ? (y(), w("div", Gl, D(g.value), 1)) : A("", !0),
5178
- Ge((y(), w("div", J({
5181
+ ])) : m.value ? (v(), w("div", Gl, D(m.value), 1)) : A("", !0),
5182
+ Ge((v(), w("div", J({
5179
5183
  id: a,
5180
5184
  ref_key: "selectRef",
5181
- ref: v,
5185
+ ref: h,
5182
5186
  "aria-controls": "listbox",
5183
5187
  "aria-expanded": l.value,
5184
5188
  "aria-labelledby": `${t}-${a}-label`,
@@ -5186,7 +5190,7 @@ const Rl = ["for"], Yl = ["for"], Fl = {
5186
5190
  role: "combobox",
5187
5191
  tabindex: 0
5188
5192
  }, j.$attrs, {
5189
- onClick: h,
5193
+ onClick: y,
5190
5194
  onKeydown: _
5191
5195
  }), [
5192
5196
  N("div", {
@@ -5202,8 +5206,8 @@ const Rl = ["for"], Yl = ["for"], Fl = {
5202
5206
  tabindex: -1,
5203
5207
  "aria-activedescendant": f.value.get(d.value) ?? ((Q = c.value) == null ? void 0 : Q.label)
5204
5208
  }, [
5205
- (y(), w($e, null, qe(n, (H, q) => {
5206
- var Te;
5209
+ (v(), w(Ce, null, qe(n, (H, q) => {
5210
+ var _e;
5207
5211
  return N("li", {
5208
5212
  id: f.value.get(q),
5209
5213
  key: H.value + "_select-option",
@@ -5211,10 +5215,10 @@ const Rl = ["for"], Yl = ["for"], Fl = {
5211
5215
  ref: (re) => $(re, q),
5212
5216
  class: X(["pdap-custom-select-option", { selected: d.value === q }]),
5213
5217
  role: "option",
5214
- "aria-selected": H.value === ((Te = c.value) == null ? void 0 : Te.value),
5218
+ "aria-selected": H.value === ((_e = c.value) == null ? void 0 : _e.value),
5215
5219
  tabindex: "0",
5216
- onClick: Oe((re) => M(H), ["stop"]),
5217
- onKeydown: ct(Oe((re) => M(H), ["stop"]), ["enter"]),
5220
+ onClick: he((re) => M(H), ["stop"]),
5221
+ onKeydown: ct(he((re) => M(H), ["stop"]), ["enter"]),
5218
5222
  onFocus: (re) => d.value = q,
5219
5223
  onMouseenter: (re) => d.value = q,
5220
5224
  onMouseleave: void 0,
@@ -5252,27 +5256,27 @@ const Kl = ["for"], Jl = ["for"], ql = {
5252
5256
  "All form inputs must have a label, passed as a slot or a prop"
5253
5257
  );
5254
5258
  const { values: r, setValues: s, v$: o } = ie(Re), i = x(() => {
5255
- var c, d, m, v;
5256
- return (c = o.value[n]) != null && c.$error ? (v = (m = (d = o.value[n]) == null ? void 0 : d.$errors) == null ? void 0 : m[0]) == null ? void 0 : v.$message : "";
5259
+ var c, d, g, h;
5260
+ return (c = o.value[n]) != null && c.$error ? (h = (g = (d = o.value[n]) == null ? void 0 : d.$errors) == null ? void 0 : g[0]) == null ? void 0 : h.$message : "";
5257
5261
  }), u = x(() => r.value[n] ?? "");
5258
5262
  function l(c) {
5259
5263
  s({ [n]: c.target.value });
5260
5264
  }
5261
- return (c, d) => (y(), w("div", {
5265
+ return (c, d) => (v(), w("div", {
5262
5266
  class: X(["pdap-input", { "pdap-input-error": i.value }])
5263
5267
  }, [
5264
- c.$slots.label ? (y(), w("label", {
5268
+ c.$slots.label ? (v(), w("label", {
5265
5269
  key: 0,
5266
5270
  for: c.id
5267
5271
  }, [
5268
5272
  P(c.$slots, "label")
5269
- ], 8, Kl)) : t ? (y(), w("label", {
5273
+ ], 8, Kl)) : t ? (v(), w("label", {
5270
5274
  key: 1,
5271
5275
  for: c.id
5272
5276
  }, D(t), 8, Jl)) : A("", !0),
5273
- c.$slots.error && i.value ? (y(), w("div", ql, [
5277
+ c.$slots.error && i.value ? (v(), w("div", ql, [
5274
5278
  P(c.$slots, "error")
5275
- ])) : i.value ? (y(), w("div", eu, D(i.value), 1)) : A("", !0),
5279
+ ])) : i.value ? (v(), w("div", eu, D(i.value), 1)) : A("", !0),
5276
5280
  N("textarea", J({
5277
5281
  id: c.id,
5278
5282
  name: n,
@@ -5320,7 +5324,7 @@ const Kl = ["for"], Jl = ["for"], ql = {
5320
5324
  const s = document.querySelector("body");
5321
5325
  !n.isExpanded && n.isMobile ? (n.isExpanded = !0, s != null && s.classList.contains("lock-scroll") || (o = document.querySelector("body")) == null || o.classList.add("lock-scroll")) : n.isExpanded && n.isMobile && (n.isExpanded = !1, (i = document.querySelector("body")) == null || i.classList.remove("lock-scroll")), await We();
5322
5326
  }
5323
- return (s, o) => (y(), w($e, null, [
5327
+ return (s, o) => (v(), w(Ce, null, [
5324
5328
  N("div", {
5325
5329
  "aria-label": n.isExpanded ? "close navigation menu" : "open navigation menu",
5326
5330
  "aria-expanded": n.isMobile && n.isExpanded,
@@ -5338,11 +5342,11 @@ const Kl = ["for"], Jl = ["for"], ql = {
5338
5342
  "aria-hidden": !(n.isMobile && n.isExpanded),
5339
5343
  class: "pdap-nav"
5340
5344
  }, [
5341
- (y(!0), w($e, null, qe(L(t), (i) => (y(), w("li", {
5345
+ (v(!0), w(Ce, null, qe(L(t), (i) => (v(), w("li", {
5342
5346
  key: i.text,
5343
5347
  class: "pdap-nav-link-container"
5344
5348
  }, [
5345
- i.href ? (y(), w("a", {
5349
+ i.href ? (v(), w("a", {
5346
5350
  key: 0,
5347
5351
  class: "pdap-nav-link",
5348
5352
  href: i.href,
@@ -5350,7 +5354,7 @@ const Kl = ["for"], Jl = ["for"], ql = {
5350
5354
  referrerpolicy: "no-referrer",
5351
5355
  onClick: r
5352
5356
  }, D(i.text), 9, iu)) : A("", !0),
5353
- i.path ? (y(), F(L(ft), {
5357
+ i.path ? (v(), F(L(ft), {
5354
5358
  key: 1,
5355
5359
  "active-class": "pdap-nav-link-current",
5356
5360
  "exact-active-class": "pdap-nav-link-current-exact",
@@ -5395,12 +5399,12 @@ const cu = /* @__PURE__ */ tt(uu, [["__scopeId", "data-v-3158c5fc"]]), fu = "dat
5395
5399
  `${n.value.clientHeight}px`
5396
5400
  ));
5397
5401
  }
5398
- return (s, o) => (y(), w("header", {
5402
+ return (s, o) => (v(), w("header", {
5399
5403
  ref_key: "el",
5400
5404
  ref: n,
5401
5405
  class: "pdap-header"
5402
5406
  }, [
5403
- L(a) ? (y(), F(L(ft), {
5407
+ L(a) ? (v(), F(L(ft), {
5404
5408
  key: 1,
5405
5409
  to: s.logoImageAnchorPath,
5406
5410
  class: "logo"
@@ -5414,7 +5418,7 @@ const cu = /* @__PURE__ */ tt(uu, [["__scopeId", "data-v-3158c5fc"]]), fu = "dat
5414
5418
  }, null, 8, mu)
5415
5419
  ]),
5416
5420
  _: 1
5417
- }, 8, ["to"])) : (y(), w("a", {
5421
+ }, 8, ["to"])) : (v(), w("a", {
5418
5422
  key: 0,
5419
5423
  href: s.logoImageAnchorPath,
5420
5424
  class: "logo"
@@ -5475,7 +5479,7 @@ const hu = /* @__PURE__ */ N("div", { class: "pdap-flex-container" }, [
5475
5479
  `${n.baseUrlForRedirect}/search/${c}/${l}`
5476
5480
  );
5477
5481
  }
5478
- return (u, l) => (y(), w($e, null, [
5482
+ return (u, l) => (v(), w(Ce, null, [
5479
5483
  hu,
5480
5484
  N("div", yu, [
5481
5485
  le(jl, {
@@ -5502,7 +5506,7 @@ const hu = /* @__PURE__ */ N("div", { class: "pdap-flex-container" }, [
5502
5506
  }, 8, ["error"]),
5503
5507
  N("p", vu, [
5504
5508
  R(" For example, you could search for "),
5505
- L(s) ? (y(), F(L(ft), {
5509
+ L(s) ? (v(), F(L(ft), {
5506
5510
  key: 0,
5507
5511
  to: "/search/stops/pittsburgh"
5508
5512
  }, {
@@ -5510,14 +5514,14 @@ const hu = /* @__PURE__ */ N("div", { class: "pdap-flex-container" }, [
5510
5514
  R(" stops in Pittsburgh ")
5511
5515
  ]),
5512
5516
  _: 1
5513
- })) : (y(), w("a", {
5517
+ })) : (v(), w("a", {
5514
5518
  key: 1,
5515
5519
  target: "_blank",
5516
5520
  rel: "noreferrer",
5517
5521
  href: `${n.baseUrlForRedirect}/search/stops/pittsburgh`
5518
5522
  }, " stops in Pittsburgh ", 8, Lu)),
5519
5523
  R(" or "),
5520
- L(s) ? (y(), F(L(ft), {
5524
+ L(s) ? (v(), F(L(ft), {
5521
5525
  key: 2,
5522
5526
  to: "/search/complaints/all"
5523
5527
  }, {
@@ -5525,7 +5529,7 @@ const hu = /* @__PURE__ */ N("div", { class: "pdap-flex-container" }, [
5525
5529
  R(" complaints everywhere ")
5526
5530
  ]),
5527
5531
  _: 1
5528
- })) : (y(), w("a", {
5532
+ })) : (v(), w("a", {
5529
5533
  key: 3,
5530
5534
  target: "_blank",
5531
5535
  rel: "noreferrer",
@@ -5546,7 +5550,7 @@ const wu = ["alt", "src"], ju = {
5546
5550
  imgSrc: {}
5547
5551
  },
5548
5552
  setup(e) {
5549
- return (t, n) => (y(), w("img", {
5553
+ return (t, n) => (v(), w("img", {
5550
5554
  class: "pdap-tile-icon",
5551
5555
  alt: t.imgAltText,
5552
5556
  src: t.imgSrc
@@ -5581,19 +5585,19 @@ const xu = ["onKeydown"], Nu = ["id", "aria-hidden"], $u = {
5581
5585
  function d() {
5582
5586
  o.value = !1, a("update:open", !1);
5583
5587
  }
5584
- function m() {
5588
+ function g() {
5585
5589
  var p, M;
5586
5590
  if (!r.value)
5587
5591
  return;
5588
5592
  r.value.style.display = "flex", r.value.style.setProperty("max-height", "max-content");
5589
5593
  const f = r.value.scrollHeight;
5590
5594
  r.value.style.display = "none", r.value.style.removeProperty("max-height");
5591
- const g = document == null ? void 0 : document.querySelector(":root"), h = (p = g == null ? void 0 : g.style) == null ? void 0 : p.getPropertyValue(
5595
+ const m = document == null ? void 0 : document.querySelector(":root"), y = (p = m == null ? void 0 : m.style) == null ? void 0 : p.getPropertyValue(
5592
5596
  "--dropdown-content-max-height"
5593
5597
  );
5594
- Number((M = h == null ? void 0 : h.match(/\d+/)) == null ? void 0 : M.join("")) >= f || r.value && g && g.style.setProperty("--dropdown-content-max-height", `${f + 16}px`);
5598
+ Number((M = y == null ? void 0 : y.match(/\d+/)) == null ? void 0 : M.join("")) >= f || r.value && m && m.style.setProperty("--dropdown-content-max-height", `${f + 16}px`);
5595
5599
  }
5596
- const v = {
5600
+ const h = {
5597
5601
  mouseenter: i.value ? c : void 0,
5598
5602
  focus: i.value ? c : void 0,
5599
5603
  focusin: i.value ? c : void 0,
@@ -5602,14 +5606,14 @@ const xu = ["onKeydown"], Nu = ["id", "aria-hidden"], $u = {
5602
5606
  blur: i.value ? d : void 0
5603
5607
  };
5604
5608
  return aa(() => {
5605
- m();
5606
- }), (f, g) => Ge((y(), w("div", J({
5609
+ g();
5610
+ }), (f, m) => Ge((v(), w("div", J({
5607
5611
  ref_key: "dropdownRef",
5608
5612
  ref: s,
5609
5613
  class: "pdap-dropdown",
5610
5614
  role: "presentation",
5611
5615
  onKeydown: ct(d, ["escape"])
5612
- }, ur(v, !0)), [
5616
+ }, ur(h, !0)), [
5613
5617
  le(L(ra), {
5614
5618
  "aria-controls": f.dropdownId,
5615
5619
  "aria-expanded": o.value,
@@ -5622,8 +5626,8 @@ const xu = ["onKeydown"], Nu = ["id", "aria-hidden"], $u = {
5622
5626
  "cursor-not-allowed": f.disabled
5623
5627
  }),
5624
5628
  "data-test": "dropdown-trigger",
5625
- onClick: Oe(u, ["prevent", "stop"]),
5626
- onKeydown: ct(Oe(u, ["prevent", "stop"]), ["enter", "space"])
5629
+ onClick: he(u, ["prevent", "stop"]),
5630
+ onKeydown: ct(he(u, ["prevent", "stop"]), ["enter", "space"])
5627
5631
  }, {
5628
5632
  default: Y(() => [
5629
5633
  P(f.$slots, "trigger")
@@ -5676,17 +5680,17 @@ const Su = { "aria-label": "Breadcrumb" }, Iu = { key: 1 }, Tu = {
5676
5680
  const t = dr(), n = x(() => Cu(t));
5677
5681
  return (a, r) => {
5678
5682
  const s = ea("router-link");
5679
- return y(), w("nav", Su, [
5683
+ return v(), w("nav", Su, [
5680
5684
  le(cr, {
5681
5685
  class: "pdap-breadcrumbs",
5682
5686
  tag: "ul"
5683
5687
  }, {
5684
5688
  default: Y(() => [
5685
- (y(!0), w($e, null, qe(n.value, (o) => (y(), w("li", {
5689
+ (v(!0), w(Ce, null, qe(n.value, (o) => (v(), w("li", {
5686
5690
  key: o.text,
5687
5691
  class: X({ "is-active": o.active })
5688
5692
  }, [
5689
- o.active ? (y(), w("span", Iu, D(o.text), 1)) : (y(), F(s, {
5693
+ o.active ? (v(), w("span", Iu, D(o.text), 1)) : (v(), F(s, {
5690
5694
  key: 0,
5691
5695
  to: o.path
5692
5696
  }, {