@topjoao/top-design-system 0.1.6 → 0.1.7

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.
@@ -10,18 +10,18 @@ import V from "primevue/inputnumber";
10
10
  import ne from "primevue/drawer";
11
11
  import re from "primevue/menu";
12
12
  import H from "primevue/autocomplete";
13
- import ie from "primevue/tab";
14
- import U from "primevue/tablist";
15
- import W from "primevue/tabpanel";
16
- import G from "primevue/tabpanels";
17
- import ae from "primevue/tabs";
18
- import oe from "primevue/accordion";
19
- import K from "primevue/accordioncontent";
20
- import q from "primevue/accordionheader";
21
- import se from "primevue/accordionpanel";
22
- import ce from "primevue/toast";
13
+ import U from "primevue/tab";
14
+ import W from "primevue/tablist";
15
+ import G from "primevue/tabpanel";
16
+ import K from "primevue/tabpanels";
17
+ import q from "primevue/tabs";
18
+ import ie from "primevue/accordion";
19
+ import J from "primevue/accordioncontent";
20
+ import Y from "primevue/accordionheader";
21
+ import ae from "primevue/accordionpanel";
22
+ import oe from "primevue/toast";
23
23
  //#region src/components/TopButton.vue?vue&type=script&setup=true&lang.ts
24
- var J = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px] bg-transparent" }, le = /* @__PURE__ */ u({
24
+ var X = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px] bg-transparent" }, se = /* @__PURE__ */ u({
25
25
  __name: "TopButton",
26
26
  props: {
27
27
  tooltip: { default: "" },
@@ -58,7 +58,7 @@ var J = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
58
58
  let e = c.unstyled ? "" : u.value === "secondary" ? "rounded-[10px] border px-3 py-2 font-bold dark:!border-zinc-500 dark:!bg-zinc-700 dark:!text-zinc-100 dark:hover:!bg-zinc-600" : c.outlined ? u.value === "primary" ? "shrink-0 rounded-[10px] border-primary-800 px-3 py-2 text-primary-800 hover:bg-primary-50 dark:border-primary-200 dark:bg-transparent dark:text-primary-100 dark:hover:bg-primary-900" : "shrink-0 rounded-[10px] border px-3 py-2 font-bold" : u.value === "primary" ? "rounded-[10px] !border-primary-900 bg-primary-900 px-3 py-2 font-bold text-white hover:!border-primary-800 hover:bg-primary-800 dark:!text-white" : "rounded-[10px] border px-3 py-2 font-bold";
59
59
  return I("top-button__control text-xs", e, c.class);
60
60
  });
61
- return (t, n) => (b(), a("span", J, [M((b(), r(O(P), {
61
+ return (t, n) => (b(), a("span", X, [M((b(), r(O(P), {
62
62
  type: e.type,
63
63
  label: e.label,
64
64
  disabled: e.disabled || e.loading,
@@ -93,7 +93,7 @@ var J = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
93
93
  { top: !0 }
94
94
  ]])]));
95
95
  }
96
- }), ue = {
96
+ }), ce = {
97
97
  primary: {
98
98
  50: "#EEF9FF",
99
99
  100: "#DFF4FF",
@@ -159,7 +159,7 @@ var J = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
159
159
  900: "#5D0803",
160
160
  950: "#450501"
161
161
  }
162
- }, de = ["aria-label", "disabled"], fe = { class: "flex flex-col items-center gap-2 pt-2" }, pe = { class: "text-base font-bold text-secondary-900 dark:text-zinc-100" }, me = { class: "text-sm leading-5 text-secondary-700 dark:text-zinc-300" }, Y = { class: "mt-2 flex w-full items-center justify-center gap-3" }, he = /* @__PURE__ */ u({
162
+ }, le = ["aria-label", "disabled"], ue = { class: "flex flex-col items-center gap-2 pt-2" }, de = { class: "text-base font-bold text-secondary-900 dark:text-zinc-100" }, fe = { class: "text-sm leading-5 text-secondary-700 dark:text-zinc-300" }, Z = { class: "mt-2 flex w-full items-center justify-center gap-3" }, pe = /* @__PURE__ */ u({
163
163
  __name: "TopConfirmDialog",
164
164
  props: {
165
165
  modelValue: {
@@ -191,8 +191,8 @@ var J = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
191
191
  !e && i.loading || a("update:modelValue", e);
192
192
  }
193
193
  }), u = n(() => ({
194
- "--top-confirm-dialog-accent": i.severity === "danger" ? ue.danger[600] : ue.primary[800],
195
- "--top-confirm-dialog-accent-hover": i.severity === "danger" ? ue.danger[700] : ue.primary[700]
194
+ "--top-confirm-dialog-accent": i.severity === "danger" ? ce.danger[600] : ce.primary[800],
195
+ "--top-confirm-dialog-accent-hover": i.severity === "danger" ? ce.danger[700] : ce.primary[700]
196
196
  })), d = n(() => ["px-3 py-2 text-sm", i.severity === "danger" ? "!border-red-600 !bg-red-600 hover:!border-red-700 hover:!bg-red-700" : ""].filter(Boolean).join(" "));
197
197
  function f() {
198
198
  i.loading || a("confirm");
@@ -237,19 +237,19 @@ var J = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
237
237
  }, [...n[2] ||= [o("i", {
238
238
  class: "pi pi-times text-lg",
239
239
  "aria-hidden": "true"
240
- }, null, -1)]], 8, de),
241
- o("div", fe, [o("i", {
240
+ }, null, -1)]], 8, le),
241
+ o("div", ue, [o("i", {
242
242
  class: h([e.icon, "top-confirm-dialog__icon text-[40px]"]),
243
243
  "aria-hidden": "true"
244
- }, null, 2), o("p", pe, D(e.title), 1)]),
245
- o("div", me, [w(t.$slots, "message", {}, () => [w(t.$slots, "default", {}, () => [c(D(e.message), 1)])])]),
246
- o("div", Y, [l(le, {
244
+ }, null, 2), o("p", de, D(e.title), 1)]),
245
+ o("div", fe, [w(t.$slots, "message", {}, () => [w(t.$slots, "default", {}, () => [c(D(e.message), 1)])])]),
246
+ o("div", Z, [l(se, {
247
247
  label: e.cancelText,
248
248
  secondary: "",
249
249
  disabled: e.loading,
250
250
  class: "px-3 py-2 text-sm",
251
251
  onClick: p
252
- }, null, 8, ["label", "disabled"]), l(le, {
252
+ }, null, 8, ["label", "disabled"]), l(se, {
253
253
  label: e.loading ? e.loadingText : e.confirmText,
254
254
  loading: e.loading,
255
255
  class: h(d.value),
@@ -267,11 +267,11 @@ var J = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
267
267
  "aria-label"
268
268
  ]));
269
269
  }
270
- }), ge = { class: "top-date-picker top-solutions-component flex w-full flex-col gap-1" }, _e = ["for"], ve = {
270
+ }), me = { class: "top-date-picker top-solutions-component flex w-full flex-col gap-1" }, he = ["for"], ge = {
271
271
  key: 0,
272
272
  "aria-hidden": "true",
273
273
  class: "text-red-600 dark:text-red-400"
274
- }, ye = ["id"], be = /* @__PURE__ */ u({
274
+ }, _e = ["id"], ve = /* @__PURE__ */ u({
275
275
  inheritAttrs: !1,
276
276
  __name: "TopDatePicker",
277
277
  props: {
@@ -362,12 +362,12 @@ var J = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
362
362
  }
363
363
  o("input", e);
364
364
  }
365
- return (t, n) => (b(), a("div", ge, [
365
+ return (t, n) => (b(), a("div", me, [
366
366
  e.label ? (b(), a("label", {
367
367
  key: 0,
368
368
  for: h.value,
369
369
  class: "top-field-label text-xs font-bold"
370
- }, [c(D(e.label) + " ", 1), e.required ? (b(), a("span", ve, "*")) : i("", !0)], 8, _e)) : i("", !0),
370
+ }, [c(D(e.label) + " ", 1), e.required ? (b(), a("span", ge, "*")) : i("", !0)], 8, he)) : i("", !0),
371
371
  l(O(R), p(T.value, {
372
372
  "model-value": e.modelValue,
373
373
  "input-id": h.value,
@@ -429,10 +429,10 @@ var J = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
429
429
  id: _.value,
430
430
  class: "text-[11px] text-red-600 dark:text-red-400",
431
431
  role: "alert"
432
- }, D(e.error), 9, ye)) : i("", !0)
432
+ }, D(e.error), 9, _e)) : i("", !0)
433
433
  ]));
434
434
  }
435
- }), xe = [["path", {
435
+ }), ye = [["path", {
436
436
  d: "M17.4776 9.01106C17.485 9.01102 17.4925 9.01101 17.5 9.01101C19.9853 9.01101 22 11.0294 22 13.5193C22 15.8398 20.25 17.7508 18 18M17.4776 9.01106C17.4924 8.84606 17.5 8.67896 17.5 8.51009C17.5 5.46695 15.0376 3 12 3C9.12324 3 6.76233 5.21267 6.52042 8.03192M17.4776 9.01106C17.3753 10.1476 16.9286 11.1846 16.2428 12.0165M6.52042 8.03192C3.98398 8.27373 2 10.4139 2 13.0183C2 15.4417 3.71776 17.4632 6 17.9273M6.52042 8.03192C6.67826 8.01687 6.83823 8.00917 7 8.00917C8.12582 8.00917 9.16474 8.38194 10.0005 9.01101",
437
437
  stroke: "currentColor",
438
438
  strokeLinecap: "round",
@@ -446,7 +446,7 @@ var J = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
446
446
  strokeLinejoin: "round",
447
447
  strokeWidth: "1.5",
448
448
  key: "1"
449
- }]], Se = [["path", {
449
+ }]], be = [["path", {
450
450
  d: "M12.8924 2.80982L21.4876 9.59547C21.8112 9.85095 22 10.2405 22 10.6528C22 11.3969 21.3969 12 20.6528 12H20V15.5C20 18.3284 20 19.7426 19.1213 20.6213C18.2426 21.5 16.8284 21.5 14 21.5H10C7.17157 21.5 5.75736 21.5 4.87868 20.6213C4 19.7426 4 18.3284 4 15.5V12H3.34716C2.60315 12 2 11.3969 2 10.6528C2 10.2405 2.1888 9.85095 2.5124 9.59547L11.1076 2.80982C11.3617 2.60915 11.6761 2.5 12 2.5C12.3239 2.5 12.6383 2.60915 12.8924 2.80982Z",
451
451
  stroke: "currentColor",
452
452
  strokeLinecap: "round",
@@ -460,7 +460,7 @@ var J = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
460
460
  strokeLinejoin: "round",
461
461
  strokeWidth: "1.5",
462
462
  key: "1"
463
- }]], Ce = u({
463
+ }]], xe = u({
464
464
  name: "HugeiconsIcon",
465
465
  inheritAttrs: !1,
466
466
  props: {
@@ -518,16 +518,16 @@ var J = { class: "top-button top-solutions-component h-fit w-fit rounded-[12px]
518
518
  currentIcon: n(() => e.altIcon && e.showAlt ? e.altIcon : e.icon)
519
519
  };
520
520
  }
521
- }), we = (e, t) => {
521
+ }), Se = (e, t) => {
522
522
  let n = e.__vccOpts || e;
523
523
  for (let [e, r] of t) n[e] = r;
524
524
  return n;
525
- }, Te = [
525
+ }, Ce = [
526
526
  "width",
527
527
  "height",
528
528
  "color"
529
529
  ];
530
- function Ee(t, n, i, o, s, c) {
530
+ function we(t, n, i, o, s, c) {
531
531
  return b(), a("svg", p({
532
532
  width: t.computedSize,
533
533
  height: t.computedSize,
@@ -538,30 +538,30 @@ function Ee(t, n, i, o, s, c) {
538
538
  }, t.$attrs), [(b(!0), a(e, null, C(t.currentIcon, (e, n) => (b(), r(E(e[0]), p({
539
539
  key: n,
540
540
  ref_for: !0
541
- }, t.transformAttrs(e[1], t.calculatedStrokeWidth)), null, 16))), 128))], 16, Te);
541
+ }, t.transformAttrs(e[1], t.calculatedStrokeWidth)), null, 16))), 128))], 16, Ce);
542
542
  }
543
- var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasan/Desktop/Projects/Hugeicons/hugeicons-monorepo/packages/vue/src/components/HugeiconsIcon.vue"]]), Oe = { class: "top-file-upload top-solutions-component flex w-full flex-col gap-1" }, ke = ["for"], Ae = {
543
+ var Te = /* @__PURE__ */ Se(xe, [["render", we], ["__file", "/Users/mahmudulhasan/Desktop/Projects/Hugeicons/hugeicons-monorepo/packages/vue/src/components/HugeiconsIcon.vue"]]), Ee = { class: "top-file-upload top-solutions-component flex w-full flex-col gap-1" }, De = ["for"], Oe = {
544
544
  key: 0,
545
545
  "aria-hidden": "true",
546
546
  class: "text-red-600 dark:text-red-400"
547
- }, je = { class: "flex min-h-[130px] w-full flex-col items-center justify-center gap-3" }, Me = {
547
+ }, ke = { class: "flex min-h-[130px] w-full flex-col items-center justify-center gap-3" }, Ae = {
548
548
  class: "top-file-upload__empty-icon",
549
549
  "aria-hidden": "true"
550
- }, Ne = {
550
+ }, je = {
551
551
  key: 0,
552
552
  "aria-label": "Carregando...",
553
553
  class: "pi pi-spin pi-spinner text-5xl"
554
- }, X = { class: "m-0 text-center text-xs text-secondary-600 dark:text-zinc-300" }, Pe = {
554
+ }, Me = { class: "m-0 text-center text-xs text-secondary-600 dark:text-zinc-300" }, Ne = {
555
555
  key: 1,
556
556
  class: "flex w-full flex-col gap-2"
557
- }, Fe = ["src", "alt"], Ie = {
557
+ }, Pe = ["src", "alt"], Fe = {
558
558
  key: 1,
559
559
  class: "flex size-12 shrink-0 items-center justify-center rounded-lg bg-primary-50 text-primary-800 dark:bg-primary-950 dark:text-primary-200"
560
- }, Le = { class: "min-w-0 flex-1" }, Re = { class: "m-0 truncate text-xs font-bold text-secondary-900 dark:text-zinc-100" }, ze = { class: "text-[11px] text-secondary-500 dark:text-zinc-400" }, Be = [
560
+ }, Ie = { class: "min-w-0 flex-1" }, Le = { class: "m-0 truncate text-xs font-bold text-secondary-900 dark:text-zinc-100" }, Re = { class: "text-[11px] text-secondary-500 dark:text-zinc-400" }, ze = [
561
561
  "aria-label",
562
562
  "disabled",
563
563
  "onClick"
564
- ], Ve = ["id"], He = /* @__PURE__ */ u({
564
+ ], Be = ["id"], Ve = /* @__PURE__ */ u({
565
565
  inheritAttrs: !1,
566
566
  __name: "TopFileUpload",
567
567
  props: {
@@ -651,12 +651,12 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
651
651
  function H() {
652
652
  g.value && (g.value.files = [..._.value]);
653
653
  }
654
- function ie(e, t) {
655
- _.value = e, x.value = [], q(), m(H);
654
+ function U(e, t) {
655
+ _.value = e, x.value = [], Y(), m(H);
656
656
  let n = re(e);
657
657
  f("update:modelValue", n), f("change", n), t === "select" && f("select", [...e]), t === "clear" && f("clear");
658
658
  }
659
- function U(e) {
659
+ function W(e) {
660
660
  let { errors: t, validFiles: n } = V(ne(e)), r = d.multiple ? [..._.value, ...n.filter((e) => !_.value.some((t) => L(t, e)))] : n.slice(-1);
661
661
  if (d.maxFiles && r.length > d.maxFiles) {
662
662
  let e = r.slice(d.maxFiles);
@@ -666,57 +666,57 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
666
666
  message: `O limite máximo é de ${d.maxFiles} arquivo(s).`
667
667
  }))), r = r.slice(0, d.maxFiles);
668
668
  }
669
- if (t.length ? (x.value = t, f("error", t)) : x.value = [], H(), n.length && !W(r, _.value)) {
670
- _.value = r, q(), m(H);
669
+ if (t.length ? (x.value = t, f("error", t)) : x.value = [], H(), n.length && !G(r, _.value)) {
670
+ _.value = r, Y(), m(H);
671
671
  let e = re(r);
672
672
  f("update:modelValue", e), f("change", e), f("select", [...r]);
673
673
  }
674
674
  }
675
- function W(e, t) {
675
+ function G(e, t) {
676
676
  return e.length === t.length && e.every((e, n) => L(e, t[n]));
677
677
  }
678
- function G() {
678
+ function K() {
679
679
  N.value || g.value?.choose();
680
680
  }
681
- function ae(e, t) {
681
+ function q(e, t) {
682
682
  if (N.value) return;
683
683
  let n = _.value[t];
684
684
  if (!n) return;
685
685
  e(t);
686
686
  let r = _.value.filter((e, n) => n !== t);
687
- ie(r, "remove"), f("remove", n, t), r.length || f("clear");
687
+ U(r, "remove"), f("remove", n, t), r.length || f("clear");
688
688
  }
689
- function oe() {
690
- N.value || !_.value.length || ie([], "clear");
689
+ function ie() {
690
+ N.value || !_.value.length || U([], "clear");
691
691
  }
692
- function K(e) {
692
+ function J(e) {
693
693
  if (!e.type.startsWith("image/") || typeof URL.createObjectURL != "function") return "";
694
694
  let t = T.get(e);
695
695
  if (t) return t;
696
696
  let n = URL.createObjectURL(e);
697
697
  return T.set(e, n), n;
698
698
  }
699
- function q() {
699
+ function Y() {
700
700
  for (let [e, t] of T) _.value.includes(e) || (URL.revokeObjectURL(t), T.delete(e));
701
701
  }
702
702
  return A(() => d.modelValue, (e) => {
703
703
  let t = I(e);
704
- W(t, _.value) || (_.value = t, x.value = [], q(), m(H));
704
+ G(t, _.value) || (_.value = t, x.value = [], Y(), m(H));
705
705
  }), A(() => d.multiple, () => {
706
706
  let e = I(d.modelValue);
707
- _.value = e, q(), m(H);
707
+ _.value = e, Y(), m(H);
708
708
  }), y(H), v(() => {
709
709
  for (let e of T.values()) URL.revokeObjectURL(e);
710
710
  T.clear();
711
711
  }), s({
712
- choose: G,
713
- clear: oe
714
- }), (n, s) => (b(), a("div", Oe, [
712
+ choose: K,
713
+ clear: ie
714
+ }), (n, s) => (b(), a("div", Ee, [
715
715
  t.label ? (b(), a("label", {
716
716
  key: 0,
717
717
  for: E.value,
718
718
  class: "text-xs font-bold text-secondary-800 dark:text-zinc-200"
719
- }, [c(D(t.label) + " ", 1), t.required ? (b(), a("span", Ae, "*")) : i("", !0)], 8, ke)) : i("", !0),
719
+ }, [c(D(t.label) + " ", 1), t.required ? (b(), a("span", Oe, "*")) : i("", !0)], 8, De)) : i("", !0),
720
720
  l(O(z), {
721
721
  ref_key: "fileUploadRef",
722
722
  ref: g,
@@ -737,37 +737,37 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
737
737
  N.value ? "cursor-not-allowed opacity-60" : ""
738
738
  ].join(" ") }
739
739
  },
740
- onSelect: U
740
+ onSelect: W
741
741
  }, {
742
- content: j(({ removeFileCallback: c }) => [o("div", je, [_.value.length ? (b(), a("div", Pe, [(b(!0), a(e, null, C(_.value, (e, r) => (b(), a("div", {
742
+ content: j(({ removeFileCallback: c }) => [o("div", ke, [_.value.length ? (b(), a("div", Ne, [(b(!0), a(e, null, C(_.value, (e, r) => (b(), a("div", {
743
743
  key: `${e.name}-${e.size}-${e.lastModified}`,
744
744
  class: "flex min-w-0 items-center gap-3 rounded-[10px] border border-secondary-300 bg-white p-3 dark:border-zinc-600 dark:bg-zinc-900"
745
745
  }, [
746
746
  w(n.$slots, "preview", {
747
747
  file: e,
748
748
  index: r,
749
- url: K(e)
750
- }, () => [K(e) ? (b(), a("img", {
749
+ url: J(e)
750
+ }, () => [J(e) ? (b(), a("img", {
751
751
  key: 0,
752
- src: K(e),
752
+ src: J(e),
753
753
  alt: `Pré-visualização de ${e.name}`,
754
754
  class: "size-12 shrink-0 rounded-lg object-cover"
755
- }, null, 8, Fe)) : (b(), a("span", Ie, [...s[0] ||= [o("i", {
755
+ }, null, 8, Pe)) : (b(), a("span", Fe, [...s[0] ||= [o("i", {
756
756
  class: "pi pi-file text-2xl",
757
757
  "aria-hidden": "true"
758
758
  }, null, -1)]]))]),
759
- o("div", Le, [o("p", Re, D(e.name), 1), o("span", ze, D(B(e.size)), 1)]),
759
+ o("div", Ie, [o("p", Le, D(e.name), 1), o("span", Re, D(B(e.size)), 1)]),
760
760
  o("button", {
761
761
  type: "button",
762
762
  class: "flex size-8 shrink-0 items-center justify-center rounded-full border-0 bg-transparent p-0 text-red-600 transition-colors hover:bg-red-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-red-500 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 dark:text-red-400 dark:hover:bg-red-950/40 dark:focus-visible:ring-offset-zinc-900",
763
763
  "aria-label": `${t.removeLabel}: ${e.name}`,
764
764
  disabled: N.value,
765
- onClick: (e) => ae(c, r)
765
+ onClick: (e) => q(c, r)
766
766
  }, [...s[1] ||= [o("i", {
767
767
  class: "pi pi-times",
768
768
  "aria-hidden": "true"
769
- }, null, -1)]], 8, Be)
770
- ]))), 128)), t.multiple && (!t.maxFiles || _.value.length < t.maxFiles) ? (b(), r(le, {
769
+ }, null, -1)]], 8, ze)
770
+ ]))), 128)), t.multiple && (!t.maxFiles || _.value.length < t.maxFiles) ? (b(), r(se, {
771
771
  key: 0,
772
772
  label: t.selectLabel,
773
773
  icon: "pi pi-plus-circle",
@@ -775,30 +775,30 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
775
775
  disabled: t.disabled,
776
776
  loading: t.loading,
777
777
  class: "mt-1 px-3 py-2",
778
- onClick: G
778
+ onClick: K
779
779
  }, null, 8, [
780
780
  "label",
781
781
  "disabled",
782
782
  "loading"
783
783
  ])) : i("", !0)])) : w(n.$slots, "empty", {
784
- choose: G,
784
+ choose: K,
785
785
  disabled: N.value
786
786
  }, () => [
787
- o("span", Me, [t.loading ? (b(), a("i", Ne)) : (b(), r(O(De), {
787
+ o("span", Ae, [t.loading ? (b(), a("i", je)) : (b(), r(O(Te), {
788
788
  key: 1,
789
- icon: O(xe),
789
+ icon: O(ye),
790
790
  size: 72,
791
791
  "stroke-width": 1.5,
792
792
  class: "text-primary-800 dark:text-primary-300"
793
793
  }, null, 8, ["icon"]))]),
794
- o("p", X, D(t.placeholder), 1),
795
- l(le, {
794
+ o("p", Me, D(t.placeholder), 1),
795
+ l(se, {
796
796
  label: t.selectLabel,
797
797
  icon: "pi pi-plus-circle",
798
798
  disabled: t.disabled,
799
799
  loading: t.loading,
800
800
  class: "px-3 py-2",
801
- onClick: G
801
+ onClick: K
802
802
  }, null, 8, [
803
803
  "label",
804
804
  "disabled",
@@ -817,14 +817,14 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
817
817
  id: te.value,
818
818
  class: "text-[11px] text-red-600 dark:text-red-400",
819
819
  role: "alert"
820
- }, D(M.value), 9, Ve)) : i("", !0)
820
+ }, D(M.value), 9, Be)) : i("", !0)
821
821
  ]));
822
822
  }
823
- }), Ue = { class: "top-input-text top-solutions-component flex w-full flex-col gap-1" }, We = ["for"], Ge = {
823
+ }), He = { class: "top-input-text top-solutions-component flex w-full flex-col gap-1" }, Ue = ["for"], We = {
824
824
  key: 0,
825
825
  "aria-hidden": "true",
826
826
  class: "text-red-600 dark:text-red-400"
827
- }, Ke = ["id"], Z = /* @__PURE__ */ u({
827
+ }, Ge = ["id"], Q = /* @__PURE__ */ u({
828
828
  inheritAttrs: !1,
829
829
  __name: "TopInputText",
830
830
  props: {
@@ -858,12 +858,12 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
858
858
  function g(e) {
859
859
  o("update:modelValue", e ?? "");
860
860
  }
861
- return (t, n) => (b(), a("div", Ue, [
861
+ return (t, n) => (b(), a("div", He, [
862
862
  e.label ? (b(), a("label", {
863
863
  key: 0,
864
864
  for: d.value,
865
865
  class: "top-field-label text-xs font-bold"
866
- }, [c(D(e.label) + " ", 1), e.required ? (b(), a("span", Ge, "*")) : i("", !0)], 8, We)) : i("", !0),
866
+ }, [c(D(e.label) + " ", 1), e.required ? (b(), a("span", We, "*")) : i("", !0)], 8, Ue)) : i("", !0),
867
867
  l(O(B), p(t.$attrs, {
868
868
  id: d.value,
869
869
  "model-value": e.modelValue,
@@ -894,14 +894,14 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
894
894
  id: f.value,
895
895
  class: "text-[11px] text-red-600 dark:text-red-400",
896
896
  role: "alert"
897
- }, D(e.error), 9, Ke)) : i("", !0)
897
+ }, D(e.error), 9, Ge)) : i("", !0)
898
898
  ]));
899
899
  }
900
- }), Q = { class: "top-input-number top-solutions-component flex w-full flex-col gap-1" }, qe = ["for"], Je = {
900
+ }), $ = { class: "top-input-number top-solutions-component flex w-full flex-col gap-1" }, Ke = ["for"], qe = {
901
901
  key: 0,
902
902
  "aria-hidden": "true",
903
903
  class: "text-red-600 dark:text-red-400"
904
- }, Ye = ["id"], Xe = /* @__PURE__ */ u({
904
+ }, Je = ["id"], Ye = /* @__PURE__ */ u({
905
905
  inheritAttrs: !1,
906
906
  __name: "TopInputNumber",
907
907
  props: {
@@ -1037,12 +1037,12 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1037
1037
  value: t instanceof HTMLInputElement ? t.value : ""
1038
1038
  });
1039
1039
  }
1040
- return (t, n) => (b(), a("div", Q, [
1040
+ return (t, n) => (b(), a("div", $, [
1041
1041
  e.label ? (b(), a("label", {
1042
1042
  key: 0,
1043
1043
  for: _.value,
1044
1044
  class: "top-field-label text-xs font-bold"
1045
- }, [c(D(e.label) + " ", 1), e.required ? (b(), a("span", Je, "*")) : i("", !0)], 8, qe)) : i("", !0),
1045
+ }, [c(D(e.label) + " ", 1), e.required ? (b(), a("span", qe, "*")) : i("", !0)], 8, Ke)) : i("", !0),
1046
1046
  T.value ? (b(), r(O(B), p({ key: 1 }, M.value, {
1047
1047
  id: _.value,
1048
1048
  "model-value": R(e.modelValue),
@@ -1114,18 +1114,18 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1114
1114
  id: v.value,
1115
1115
  class: "text-[11px] text-red-600 dark:text-red-400",
1116
1116
  role: "alert"
1117
- }, D(e.error), 9, Ye)) : i("", !0)
1117
+ }, D(e.error), 9, Je)) : i("", !0)
1118
1118
  ]));
1119
1119
  }
1120
- }), Ze = [
1120
+ }), Xe = [
1121
1121
  "disabled",
1122
1122
  "aria-expanded",
1123
1123
  "onClick"
1124
- ], Qe = { class: "top-nav-bar__mobile-item-label" }, $e = {
1124
+ ], Ze = { class: "top-nav-bar__mobile-item-label" }, Qe = {
1125
1125
  key: 1,
1126
1126
  class: "top-nav-bar__mobile-count",
1127
1127
  "aria-hidden": "true"
1128
- }, et = /* @__PURE__ */ u({
1128
+ }, $e = /* @__PURE__ */ u({
1129
1129
  name: "TopNavMobileTree",
1130
1130
  __name: "TopNavMobileTree",
1131
1131
  props: {
@@ -1198,14 +1198,14 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1198
1198
  class: h(e.icon),
1199
1199
  "aria-hidden": "true"
1200
1200
  }, null, 2)) : i("", !0),
1201
- o("span", Qe, D(e.label), 1),
1202
- p(e).length ? (b(), a("span", $e, D(p(e).length), 1)) : i("", !0),
1201
+ o("span", Ze, D(e.label), 1),
1202
+ p(e).length ? (b(), a("span", Qe, D(p(e).length), 1)) : i("", !0),
1203
1203
  p(e).length ? (b(), a("i", {
1204
1204
  key: 2,
1205
1205
  class: h(["pi pi-chevron-down top-nav-bar__mobile-chevron", { "top-nav-bar__mobile-chevron--open": g(e) }]),
1206
1206
  "aria-hidden": "true"
1207
1207
  }, null, 2)) : i("", !0)
1208
- ], 10, Ze), l(t, { name: "top-nav-bar-menu-expand" }, {
1208
+ ], 10, Xe), l(t, { name: "top-nav-bar-menu-expand" }, {
1209
1209
  default: j(() => [p(e).length && g(e) ? (b(), r(u, {
1210
1210
  key: 0,
1211
1211
  items: p(e),
@@ -1223,178 +1223,178 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1223
1223
  }, 1024)], 2))), 128))], 6);
1224
1224
  };
1225
1225
  }
1226
- }), tt = ["aria-expanded"], nt = { class: "top-nav-bar__brand" }, rt = {
1226
+ }), et = ["aria-expanded"], tt = { class: "top-nav-bar__brand" }, nt = {
1227
1227
  key: 1,
1228
1228
  class: "top-nav-bar__brand-context-divider",
1229
1229
  "aria-hidden": "true"
1230
- }, it = {
1230
+ }, rt = {
1231
1231
  key: 2,
1232
1232
  class: "top-nav-bar__context"
1233
- }, at = {
1233
+ }, it = {
1234
1234
  key: 0,
1235
1235
  class: "top-nav-bar__client"
1236
- }, ot = ["src"], st = {
1236
+ }, at = ["src"], ot = {
1237
1237
  key: 1,
1238
1238
  class: "top-nav-bar__client-logo"
1239
- }, ct = {
1239
+ }, st = {
1240
1240
  key: 2,
1241
1241
  class: "top-nav-bar__client-details"
1242
- }, lt = { class: "top-nav-bar__client-name" }, ut = {
1242
+ }, ct = { class: "top-nav-bar__client-name" }, lt = {
1243
1243
  key: 0,
1244
1244
  class: "top-nav-bar__client-subtitle"
1245
- }, dt = { class: "top-nav-bar__desktop-tools" }, ft = {
1245
+ }, ut = { class: "top-nav-bar__desktop-tools" }, dt = {
1246
1246
  key: 0,
1247
1247
  class: "top-nav-bar__search-shell",
1248
1248
  "data-top-nav-search": ""
1249
- }, pt = ["value", "placeholder"], mt = ["aria-label"], ht = {
1249
+ }, ft = ["value", "placeholder"], pt = ["aria-label"], mt = {
1250
1250
  key: 1,
1251
1251
  class: "top-nav-bar__search-results",
1252
1252
  role: "menu"
1253
- }, gt = { class: "top-nav-bar__search-results-scroll" }, _t = ["disabled", "onClick"], vt = {
1253
+ }, ht = { class: "top-nav-bar__search-results-scroll" }, gt = ["disabled", "onClick"], _t = {
1254
1254
  key: 0,
1255
1255
  class: "top-nav-bar__empty"
1256
- }, yt = {
1256
+ }, vt = {
1257
1257
  key: 1,
1258
1258
  class: "top-nav-bar__quick-actions",
1259
1259
  "data-top-nav-actions": ""
1260
- }, bt = [
1260
+ }, yt = [
1261
1261
  "disabled",
1262
1262
  "aria-label",
1263
1263
  "aria-pressed",
1264
1264
  "title",
1265
1265
  "onClick"
1266
- ], xt = ["aria-expanded"], St = {
1266
+ ], bt = ["aria-expanded"], xt = {
1267
1267
  key: 0,
1268
1268
  class: "top-nav-bar__popover-layer top-nav-bar__actions-layer"
1269
- }, Ct = {
1269
+ }, St = {
1270
1270
  class: "top-nav-bar__small-panel",
1271
1271
  role: "menu"
1272
- }, wt = ["disabled", "onClick"], Tt = {
1272
+ }, Ct = ["disabled", "onClick"], wt = {
1273
1273
  key: 2,
1274
1274
  class: "top-nav-bar__custom-actions"
1275
- }, Et = ["aria-haspopup", "aria-expanded"], Dt = ["src"], Ot = {
1275
+ }, Tt = ["aria-haspopup", "aria-expanded"], Et = ["src"], Dt = {
1276
1276
  key: 1,
1277
1277
  class: "top-nav-bar__user-avatar"
1278
- }, kt = {
1278
+ }, Ot = {
1279
1279
  key: 2,
1280
1280
  class: "top-nav-bar__user-details"
1281
- }, At = { class: "top-nav-bar__user-name" }, jt = {
1281
+ }, kt = { class: "top-nav-bar__user-name" }, At = {
1282
1282
  key: 0,
1283
1283
  class: "top-nav-bar__user-subtitle"
1284
- }, Mt = {
1284
+ }, jt = {
1285
1285
  key: 0,
1286
1286
  class: "pi pi-chevron-down top-nav-bar__chevron",
1287
1287
  "aria-hidden": "true"
1288
- }, Nt = {
1288
+ }, Mt = {
1289
1289
  key: 0,
1290
1290
  class: "top-nav-bar__popover-layer top-nav-bar__user-layer"
1291
- }, Pt = {
1291
+ }, Nt = {
1292
1292
  class: "top-nav-bar__small-panel top-nav-bar__user-dropdown",
1293
1293
  role: "menu"
1294
- }, Ft = {
1294
+ }, Pt = {
1295
1295
  key: 0,
1296
1296
  class: "top-nav-bar__user-separator",
1297
1297
  role: "separator"
1298
- }, It = ["disabled", "onClick"], Lt = {
1298
+ }, Ft = ["disabled", "onClick"], It = {
1299
1299
  class: "top-nav-bar__breadcrumbs",
1300
1300
  "aria-label": "Breadcrumb"
1301
- }, Rt = {
1301
+ }, Lt = {
1302
1302
  key: 0,
1303
1303
  class: "top-nav-bar__separator top-nav-bar__desktop-navigation-separator",
1304
1304
  "aria-hidden": "true"
1305
- }, zt = ["aria-expanded"], Bt = {
1305
+ }, Rt = ["aria-expanded"], zt = {
1306
1306
  key: 0,
1307
1307
  class: "top-nav-bar__menu-layer"
1308
- }, Vt = {
1308
+ }, Bt = {
1309
1309
  class: "top-nav-bar__menu-panel",
1310
1310
  role: "menu"
1311
- }, Ht = { class: "top-nav-bar__section-list" }, Ut = [
1311
+ }, Vt = { class: "top-nav-bar__section-list" }, Ht = [
1312
1312
  "aria-haspopup",
1313
1313
  "aria-expanded",
1314
1314
  "onMouseenter",
1315
1315
  "onClick"
1316
- ], Wt = { class: "top-nav-bar__menu-label" }, Gt = {
1316
+ ], Ut = { class: "top-nav-bar__menu-label" }, Wt = {
1317
1317
  key: 1,
1318
1318
  class: "top-nav-bar__item-count"
1319
- }, Kt = {
1319
+ }, Gt = {
1320
1320
  key: 2,
1321
1321
  class: "pi pi-chevron-right top-nav-bar__menu-arrow",
1322
1322
  "aria-hidden": "true"
1323
- }, qt = {
1323
+ }, Kt = {
1324
1324
  key: 0,
1325
1325
  class: "top-nav-bar__submenu-region"
1326
- }, Jt = [
1326
+ }, qt = [
1327
1327
  "disabled",
1328
1328
  "aria-haspopup",
1329
1329
  "aria-expanded",
1330
1330
  "onMouseenter",
1331
1331
  "onClick"
1332
- ], Yt = { class: "top-nav-bar__menu-label" }, Xt = {
1332
+ ], Jt = { class: "top-nav-bar__menu-label" }, Yt = {
1333
1333
  key: 1,
1334
1334
  class: "pi pi-chevron-right top-nav-bar__menu-arrow",
1335
1335
  "aria-hidden": "true"
1336
- }, Zt = ["onMouseenter"], Qt = {
1336
+ }, Xt = ["onMouseenter"], Zt = {
1337
1337
  key: 0,
1338
1338
  class: "top-nav-bar__crumb top-nav-bar__crumb--static"
1339
- }, $t = ["aria-expanded", "onClick"], en = {
1339
+ }, Qt = ["aria-expanded", "onClick"], $t = {
1340
1340
  key: 2,
1341
1341
  class: "top-nav-bar__menu-layer"
1342
- }, tn = {
1342
+ }, en = {
1343
1343
  class: "top-nav-bar__menu-panel top-nav-bar__breadcrumb-panel",
1344
1344
  role: "menu"
1345
- }, nn = [
1345
+ }, tn = [
1346
1346
  "disabled",
1347
1347
  "onMouseenter",
1348
1348
  "onClick"
1349
- ], rn = { class: "top-nav-bar__menu-label" }, an = {
1349
+ ], nn = { class: "top-nav-bar__menu-label" }, rn = {
1350
1350
  key: 1,
1351
1351
  class: "pi pi-chevron-right top-nav-bar__menu-arrow",
1352
1352
  "aria-hidden": "true"
1353
- }, on = ["onClick"], sn = ["title"], cn = { class: "top-nav-bar__current-label" }, ln = ["aria-label", "aria-pressed"], un = { class: "top-nav-bar__breadcrumb-actions" }, dn = ["aria-expanded"], fn = {
1353
+ }, an = ["onClick"], on = ["title"], sn = { class: "top-nav-bar__current-label" }, cn = ["aria-label", "aria-pressed"], ln = { class: "top-nav-bar__breadcrumb-actions" }, un = ["aria-expanded"], dn = {
1354
1354
  key: 0,
1355
1355
  class: "top-nav-bar__popover-layer top-nav-bar__favorites-layer"
1356
- }, pn = {
1356
+ }, fn = {
1357
1357
  class: "top-nav-bar__small-panel top-nav-bar__favorites-panel",
1358
1358
  role: "menu"
1359
- }, mn = ["disabled", "onClick"], hn = { class: "top-nav-bar__favorites-title" }, gn = {
1359
+ }, pn = ["disabled", "onClick"], mn = { class: "top-nav-bar__favorites-title" }, hn = {
1360
1360
  key: 0,
1361
1361
  class: "top-nav-bar__favorites-separator"
1362
- }, _n = {
1362
+ }, gn = {
1363
1363
  key: 0,
1364
1364
  class: "top-nav-bar__favorites-row top-nav-bar__desktop-only"
1365
- }, vn = { class: "top-nav-bar__favorites-title" }, yn = { class: "top-nav-bar__favorites-list" }, bn = {
1365
+ }, _n = { class: "top-nav-bar__favorites-title" }, vn = { class: "top-nav-bar__favorites-list" }, yn = {
1366
1366
  key: 0,
1367
1367
  class: "top-nav-bar__favorites-separator",
1368
1368
  "aria-hidden": "true"
1369
- }, xn = ["disabled", "onClick"], Sn = { class: "top-nav-bar__mobile-menu" }, Cn = { class: "top-nav-bar__mobile-menu-header" }, wn = { class: "top-nav-bar__drawer-brand" }, Tn = ["onClick"], En = {
1369
+ }, bn = ["disabled", "onClick"], xn = { class: "top-nav-bar__mobile-menu" }, Sn = { class: "top-nav-bar__mobile-menu-header" }, Cn = { class: "top-nav-bar__drawer-brand" }, wn = ["onClick"], Tn = {
1370
1370
  key: 0,
1371
1371
  class: "top-nav-bar__drawer-tools"
1372
- }, Dn = { class: "top-nav-bar__drawer-search" }, On = ["value", "placeholder"], kn = ["disabled", "onClick"], An = { class: "top-nav-bar__mobile-menu-scroll" }, jn = { class: "top-nav-bar__mobile-menu-track" }, Mn = {
1372
+ }, En = { class: "top-nav-bar__drawer-search" }, Dn = ["value", "placeholder"], On = ["disabled", "onClick"], kn = { class: "top-nav-bar__mobile-menu-scroll" }, An = { class: "top-nav-bar__mobile-menu-track" }, jn = {
1373
1373
  key: 0,
1374
1374
  class: "top-nav-bar__mobile-favorites"
1375
- }, Nn = ["aria-expanded"], Pn = { class: "top-nav-bar__mobile-item-label" }, Fn = { class: "top-nav-bar__mobile-count" }, In = {
1375
+ }, Mn = ["aria-expanded"], Nn = { class: "top-nav-bar__mobile-item-label" }, Pn = { class: "top-nav-bar__mobile-count" }, Fn = {
1376
1376
  key: 1,
1377
1377
  class: "top-nav-bar__drawer-empty"
1378
- }, Ln = {
1378
+ }, In = {
1379
1379
  key: 1,
1380
1380
  class: "top-nav-bar__mobile-footer"
1381
- }, Rn = ["aria-haspopup", "aria-expanded"], zn = ["src"], Bn = {
1381
+ }, Ln = ["aria-haspopup", "aria-expanded"], Rn = ["src"], zn = {
1382
1382
  key: 1,
1383
1383
  class: "top-nav-bar__user-avatar"
1384
- }, Vn = {
1384
+ }, Bn = {
1385
1385
  key: 2,
1386
1386
  class: "top-nav-bar__user-details"
1387
- }, Hn = { class: "top-nav-bar__user-name" }, Un = {
1387
+ }, Vn = { class: "top-nav-bar__user-name" }, Hn = {
1388
1388
  key: 0,
1389
1389
  class: "top-nav-bar__drawer-user-context"
1390
- }, Wn = { class: "top-nav-bar__drawer-user-client" }, Gn = {
1390
+ }, Un = { class: "top-nav-bar__drawer-user-client" }, Wn = {
1391
1391
  key: 0,
1392
1392
  class: "top-nav-bar__drawer-user-client-subtitle"
1393
- }, Kn = {
1393
+ }, Gn = {
1394
1394
  key: 3,
1395
1395
  class: "pi pi-chevron-down top-nav-bar__mobile-chevron",
1396
1396
  "aria-hidden": "true"
1397
- }, qn = 120, Jn = 24, Yn = /* @__PURE__ */ u({
1397
+ }, Kn = 120, qn = 24, Jn = /* @__PURE__ */ u({
1398
1398
  __name: "TopNavBar",
1399
1399
  props: {
1400
1400
  sections: { default: () => [] },
@@ -1461,15 +1461,15 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1461
1461
  "user-click"
1462
1462
  ],
1463
1463
  setup(s, { expose: u, emit: d }) {
1464
- let f = s, p = d, g = te(), x = S(null), T = S(null), E = S(null), ee = S(null), k = S(null), M = S(null), P = S(f.mobileOpen ?? !1), F = S(!1), I = S(null), L = S([]), R = S(null), z = S([]), B = S(!1), V = S(!1), H = S(!1), ie = S(null), U = S(!1), W = S(!1), G = S(!1), ae = S(!0), oe = S(!1), K = S(f.searchValue ?? ""), q = S(!1), se = S(!1), ce = S(!1), J = S({
1464
+ let f = s, p = d, g = te(), x = S(null), T = S(null), E = S(null), ee = S(null), k = S(null), M = S(null), P = S(f.mobileOpen ?? !1), F = S(!1), I = S(null), L = S([]), R = S(null), z = S([]), B = S(!1), V = S(!1), H = S(!1), U = S(null), W = S(!1), G = S(!1), K = S(!1), q = S(!0), ie = S(!1), J = S(f.searchValue ?? ""), Y = S(!1), ae = S(!1), oe = S(!1), X = S({
1465
1465
  collapseActions: !1,
1466
1466
  searchIconOnly: !1,
1467
1467
  hideUserName: !1,
1468
1468
  hideContextDetails: !1
1469
- }), le, ue, de, fe, pe = 0;
1470
- function me(e) {
1469
+ }), se, ce, le, ue, de = 0;
1470
+ function fe(e) {
1471
1471
  return (e.children ?? []).filter(Boolean).map((e) => {
1472
- let t = me(e);
1472
+ let t = fe(e);
1473
1473
  if (!t.length) {
1474
1474
  let { children: t, ...n } = e;
1475
1475
  return n;
@@ -1480,63 +1480,63 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1480
1480
  };
1481
1481
  });
1482
1482
  }
1483
- let Y = n(() => f.sections.map((e) => e.children === void 0 ? e : {
1483
+ let Z = n(() => f.sections.map((e) => e.children === void 0 ? e : {
1484
1484
  ...e,
1485
- children: me(e)
1485
+ children: fe(e)
1486
1486
  }).filter((e) => e.children === void 0 || e.children.length > 0));
1487
- function he(e, t = []) {
1487
+ function pe(e, t = []) {
1488
1488
  return e.forEach((e) => {
1489
1489
  let n = e.children ?? [];
1490
- n.length ? he(n, t) : t.push(e);
1490
+ n.length ? pe(n, t) : t.push(e);
1491
1491
  }), t;
1492
1492
  }
1493
- let ge = n(() => he(Y.value));
1494
- function _e(e) {
1493
+ let me = n(() => pe(Z.value));
1494
+ function he(e) {
1495
1495
  return e.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLocaleLowerCase("pt-BR");
1496
1496
  }
1497
- let ve = n(() => {
1497
+ let ge = n(() => {
1498
1498
  if (f.searchResults !== void 0) return f.searchResults;
1499
- let e = _e(K.value.trim());
1500
- return e ? ge.value.filter((t) => _e(t.label).includes(e)) : ge.value;
1499
+ let e = he(J.value.trim());
1500
+ return e ? me.value.filter((t) => he(t.label).includes(e)) : me.value;
1501
1501
  });
1502
- function ye(e, t) {
1502
+ function _e(e, t) {
1503
1503
  return t ? e.flatMap((e) => {
1504
- let n = _e(e.label).includes(t), r = ye(e.children ?? [], t);
1504
+ let n = he(e.label).includes(t), r = _e(e.children ?? [], t);
1505
1505
  return !n && !r.length ? [] : [{
1506
1506
  ...e,
1507
1507
  children: n ? e.children : r
1508
1508
  }];
1509
1509
  }) : e;
1510
1510
  }
1511
- let be = n(() => ye(Y.value, _e(K.value.trim())));
1512
- function xe(e, t, n = []) {
1511
+ let ve = n(() => _e(Z.value, he(J.value.trim())));
1512
+ function ye(e, t, n = []) {
1513
1513
  for (let r of e) {
1514
1514
  let e = [...n, r];
1515
1515
  if (r.id === t) return e;
1516
- let i = xe(r.children ?? [], t, e);
1516
+ let i = ye(r.children ?? [], t, e);
1517
1517
  if (i) return i;
1518
1518
  }
1519
1519
  return null;
1520
1520
  }
1521
- function Ce(e, t) {
1521
+ function xe(e, t) {
1522
1522
  for (let n of e) {
1523
1523
  if (n.id === t) return n;
1524
- let e = Ce(n.children ?? [], t);
1524
+ let e = xe(n.children ?? [], t);
1525
1525
  if (e) return e;
1526
1526
  }
1527
1527
  return null;
1528
1528
  }
1529
- let we = n(() => {
1529
+ let Se = n(() => {
1530
1530
  if (!f.activeItemId) return null;
1531
- for (let e of Y.value) {
1531
+ for (let e of Z.value) {
1532
1532
  if (e.id === f.activeItemId) return [e];
1533
- let t = xe(e.children ?? [], f.activeItemId);
1533
+ let t = ye(e.children ?? [], f.activeItemId);
1534
1534
  if (t) return [e, ...t];
1535
1535
  }
1536
1536
  return null;
1537
- }), Te = n(() => {
1537
+ }), Ce = n(() => {
1538
1538
  if (f.breadcrumbs.length) return f.breadcrumbs;
1539
- let e = we.value;
1539
+ let e = Se.value;
1540
1540
  if (!e?.length) return [];
1541
1541
  let t = e.length - 1;
1542
1542
  return e.map((e, n) => ({
@@ -1547,11 +1547,11 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1547
1547
  menuId: n > 0 && e.children?.length ? e.id : void 0
1548
1548
  }));
1549
1549
  });
1550
- function Ee(e) {
1551
- return e.menuId ? Ce(Y.value, e.menuId) : e.sectionId ? Y.value.find((t) => t.id === e.sectionId) ?? null : null;
1550
+ function we(e) {
1551
+ return e.menuId ? xe(Z.value, e.menuId) : e.sectionId ? Z.value.find((t) => t.id === e.sectionId) ?? null : null;
1552
1552
  }
1553
- let Oe = n(() => Y.value.find((e) => e.id === I.value) ?? null);
1554
- function ke(e, t) {
1553
+ let Ee = n(() => Z.value.find((e) => e.id === I.value) ?? null);
1554
+ function De(e, t) {
1555
1555
  let n = [], r = e, i = 0;
1556
1556
  for (; r.length;) {
1557
1557
  n.push(r);
@@ -1563,13 +1563,13 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1563
1563
  }
1564
1564
  return n;
1565
1565
  }
1566
- let Ae = n(() => Oe.value ? ke(Oe.value.children ?? [], L.value) : []);
1567
- function je(e, t = 10) {
1566
+ let Oe = n(() => Ee.value ? De(Ee.value.children ?? [], L.value) : []);
1567
+ function ke(e, t = 10) {
1568
1568
  let n = [];
1569
1569
  for (let r = 0; r < e.length; r += t) n.push(e.slice(r, r + t));
1570
1570
  return n;
1571
1571
  }
1572
- let Me = n(() => {
1572
+ let Ae = n(() => {
1573
1573
  let e = [];
1574
1574
  return f.showAia && e.push({
1575
1575
  id: "__aia",
@@ -1585,7 +1585,7 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1585
1585
  ...t,
1586
1586
  kind: "action"
1587
1587
  })), e;
1588
- }), Ne = n(() => {
1588
+ }), je = n(() => {
1589
1589
  let e = [];
1590
1590
  return f.userMenuItems.forEach((t) => {
1591
1591
  if (t.separator) {
@@ -1594,139 +1594,139 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1594
1594
  }
1595
1595
  e.push(t);
1596
1596
  }), e.at(-1)?.separator && e.pop(), e;
1597
- }), X = n(() => !!g["user-menu"] || Ne.value.some((e) => !e.separator)), Pe = n(() => !!f.user || !!g.user), Fe = n(() => !!(f.client || g.context || g.scope || g.client || g["context-compact"])), Ie = n(() => f.favoriteItems.filter(Boolean)), Le = n(() => G.value || !ae.value), Re = n(() => Ie.value.length > 0 && !Le.value), ze = n(() => Y.value.length > 0 || f.searchable || Me.value.length > 0 || Pe.value || !!(g["drawer-menu"] || g["drawer-actions"] || g["drawer-footer"])), Be = n(() => f.user ? f.user.initials ? f.user.initials : f.user.name.split(/\s+/).filter(Boolean).slice(0, 2).map((e) => e[0]?.toLocaleUpperCase("pt-BR")).join("") : ""), Ve = n(() => Ne.value.map((e) => e.separator ? { separator: !0 } : {
1597
+ }), Me = n(() => !!g["user-menu"] || je.value.some((e) => !e.separator)), Ne = n(() => !!f.user || !!g.user), Pe = n(() => !!(f.client || g.context || g.scope || g.client || g["context-compact"])), Fe = n(() => f.favoriteItems.filter(Boolean)), Ie = n(() => K.value || !q.value), Le = n(() => Fe.value.length > 0 && !Ie.value), Re = n(() => Z.value.length > 0 || f.searchable || Ae.value.length > 0 || Ne.value || !!(g["drawer-menu"] || g["drawer-actions"] || g["drawer-footer"])), ze = n(() => f.user ? f.user.initials ? f.user.initials : f.user.name.split(/\s+/).filter(Boolean).slice(0, 2).map((e) => e[0]?.toLocaleUpperCase("pt-BR")).join("") : ""), Be = n(() => je.value.map((e) => e.separator ? { separator: !0 } : {
1598
1598
  label: e.label,
1599
1599
  icon: e.icon,
1600
1600
  disabled: e.disabled,
1601
- command: () => Je(e)
1602
- })), He = n(() => {
1601
+ command: () => qe(e)
1602
+ })), Ve = n(() => {
1603
1603
  let e = f.appearance, t = f.spacing, n = {}, r = (e, t) => {
1604
1604
  t !== void 0 && t !== "" && (n[e] = t);
1605
1605
  };
1606
1606
  return r("--top-nav-bg", e.colors?.navigation), r("--top-nav-breadcrumb-bg", e.surfaces?.breadcrumb ?? e.colors?.navigation), r("--top-nav-drawer-bg", e.surfaces?.drawer ?? e.colors?.navigation), r("--top-nav-drawer-footer-bg", e.surfaces?.drawerFooter), r("--top-nav-fg", e.colors?.text), r("--top-nav-muted-fg", e.colors?.mutedText), r("--top-nav-accent", e.colors?.accent), r("--top-nav-menu-bg", e.surfaces?.menu), r("--top-nav-menu-fg", e.colors?.menuText), r("--top-nav-menu-hover", e.surfaces?.menuHover), r("--top-nav-menu-explored", e.surfaces?.menuExplored), r("--top-nav-border", e.colors?.border), r("--top-nav-menu-border", e.borders?.menu), r("--top-nav-menu-outline", e.borders?.menuOutline), r("--top-nav-radius", e.shape?.radius), r("--top-nav-drawer-radius", e.shape?.drawerRadius), r("--top-nav-shadow", e.shape?.shadow), r("--top-nav-mobile-active-bg", e.surfaces?.mobileActive), r("--top-nav-mobile-active-fg", e.colors?.mobileActiveText), r("--top-nav-mobile-divider", e.borders?.mobileDivider), r("--top-nav-favorites-bg", e.surfaces?.favorites), r("--top-nav-favorites-fg", e.colors?.favoritesText), r("--top-nav-favorites-border", e.borders?.favorites), r("--top-nav-favorites-shadow", e.shape?.favoritesShadow), r("--top-nav-focus-ring", e.focus?.onDark), r("--top-nav-focus-ring-light", e.focus?.onLight), r("--top-nav-current-bg", e.surfaces?.currentPage), r("--top-nav-current-border", e.borders?.currentPage), r("--top-nav-header-padding", t.headerPadding), r("--top-nav-breadcrumb-padding", t.breadcrumbPadding), n;
1607
- }), Ue = n(() => f.client ? f.client.initials ? f.client.initials : f.client.name.split(/\s+/).filter(Boolean).slice(0, 2).map((e) => e[0]?.toLocaleUpperCase("pt-BR")).join("") : "");
1608
- function We() {
1607
+ }), He = n(() => f.client ? f.client.initials ? f.client.initials : f.client.name.split(/\s+/).filter(Boolean).slice(0, 2).map((e) => e[0]?.toLocaleUpperCase("pt-BR")).join("") : "");
1608
+ function Ue() {
1609
1609
  let e = Math.max(0, window.scrollY);
1610
- if (!G.value && e >= qn) {
1611
- G.value = !0;
1610
+ if (!K.value && e >= Kn) {
1611
+ K.value = !0;
1612
1612
  return;
1613
1613
  }
1614
- G.value && e <= Jn && (G.value = !1);
1614
+ K.value && e <= qn && (K.value = !1);
1615
1615
  }
1616
- function Ge() {
1616
+ function We() {
1617
1617
  let e = E.value, t = ee.value;
1618
- !e || !t || (ae.value = t.scrollWidth <= e.clientWidth + 1);
1618
+ !e || !t || (q.value = t.scrollWidth <= e.clientWidth + 1);
1619
1619
  }
1620
- function Ke() {
1621
- fe = window.requestAnimationFrame(() => {
1622
- fe = window.requestAnimationFrame(() => {
1623
- oe.value = !0;
1620
+ function Ge() {
1621
+ ue = window.requestAnimationFrame(() => {
1622
+ ue = window.requestAnimationFrame(() => {
1623
+ ie.value = !0;
1624
1624
  });
1625
1625
  });
1626
1626
  }
1627
- function Z() {
1627
+ function Q() {
1628
1628
  return typeof window < "u" && window.matchMedia?.("(hover: hover) and (pointer: fine)").matches;
1629
1629
  }
1630
- function Q(e) {
1631
- e.disabled || (p("navigate", e), P.value = !1, ir());
1630
+ function $(e) {
1631
+ e.disabled || (p("navigate", e), P.value = !1, rr());
1632
1632
  }
1633
- function qe(e, t = !1) {
1633
+ function Ke(e, t = !1) {
1634
1634
  e.disabled || (e.kind === "aia" ? p("toggle-aia") : e.kind === "support" ? p("open-support") : p("action", e), B.value = !1, t && (P.value = !1));
1635
1635
  }
1636
- function Je(e, t = !1) {
1636
+ function qe(e, t = !1) {
1637
1637
  e.disabled || e.separator || (p("user-action", e), V.value = !1, H.value = !1, t && (P.value = !1));
1638
1638
  }
1639
- function Ye(e) {
1640
- if (!X.value) {
1639
+ function Je(e) {
1640
+ if (!Me.value) {
1641
1641
  p("user-click", f.user);
1642
1642
  return;
1643
1643
  }
1644
- ie.value?.toggle(e);
1644
+ U.value?.toggle(e);
1645
+ }
1646
+ function Ye(e) {
1647
+ J.value = e, p("update:searchValue", e), p("search", e);
1645
1648
  }
1646
- function Xe(e) {
1647
- K.value = e, p("update:searchValue", e), p("search", e);
1649
+ function Xe() {
1650
+ Ye(""), m(() => P.value ? M.value?.focus() : k.value?.focus());
1648
1651
  }
1649
1652
  function Ze() {
1650
- Xe(""), m(() => P.value ? M.value?.focus() : k.value?.focus());
1653
+ Q() && (F.value = !0);
1651
1654
  }
1652
1655
  function Qe() {
1653
- Z() && (F.value = !0);
1656
+ !Q() || window.innerWidth < 1024 || (F.value = !1, I.value = null, L.value = []);
1654
1657
  }
1655
- function $e() {
1656
- !Z() || window.innerWidth < 1024 || (F.value = !1, I.value = null, L.value = []);
1657
- }
1658
- function Yn() {
1659
- if (Z()) {
1658
+ function Jn() {
1659
+ if (Q()) {
1660
1660
  F.value = !0;
1661
1661
  return;
1662
1662
  }
1663
1663
  F.value = !F.value, F.value || (I.value = null, L.value = []);
1664
1664
  }
1665
- function Xn(e) {
1666
- Z() && (I.value = e, L.value = []);
1665
+ function Yn(e) {
1666
+ Q() && (I.value = e, L.value = []);
1667
1667
  }
1668
- function Zn(e) {
1669
- if (Z()) {
1668
+ function Xn(e) {
1669
+ if (Q()) {
1670
1670
  I.value = e, L.value = [];
1671
1671
  return;
1672
1672
  }
1673
1673
  let t = I.value === e;
1674
1674
  I.value = t ? null : e, L.value = [];
1675
1675
  }
1676
- function Qn(e, t, n, r) {
1677
- if (r && !Z()) return;
1676
+ function Zn(e, t, n, r) {
1677
+ if (r && !Q()) return;
1678
1678
  let i = e.value[n];
1679
1679
  if (!t.children?.length) {
1680
- e.value = e.value.slice(0, n), r || Q(t);
1680
+ e.value = e.value.slice(0, n), r || $(t);
1681
1681
  return;
1682
1682
  }
1683
- if (!r && Z()) {
1683
+ if (!r && Q()) {
1684
1684
  e.value = [...e.value.slice(0, n), t.id];
1685
1685
  return;
1686
1686
  }
1687
1687
  e.value = i === t.id && !r ? e.value.slice(0, n) : [...e.value.slice(0, n), t.id];
1688
1688
  }
1689
- function $n(e, t, n) {
1690
- Qn(L, e, t, n);
1689
+ function Qn(e, t, n) {
1690
+ Zn(L, e, t, n);
1691
1691
  }
1692
- function er(e, t, n) {
1693
- Qn(z, e, t, n);
1692
+ function $n(e, t, n) {
1693
+ Zn(z, e, t, n);
1694
1694
  }
1695
- function tr(e) {
1696
- Z() && (R.value = e, z.value = []);
1695
+ function er(e) {
1696
+ Q() && (R.value = e, z.value = []);
1697
1697
  }
1698
- function nr() {
1699
- !Z() || window.innerWidth < 1024 || (R.value = null, z.value = []);
1698
+ function tr() {
1699
+ !Q() || window.innerWidth < 1024 || (R.value = null, z.value = []);
1700
1700
  }
1701
- function rr(e) {
1702
- if (Z()) {
1701
+ function nr(e) {
1702
+ if (Q()) {
1703
1703
  R.value = e;
1704
1704
  return;
1705
1705
  }
1706
1706
  R.value = R.value === e ? null : e, z.value = [];
1707
1707
  }
1708
- function ir() {
1709
- F.value = !1, I.value = null, L.value = [], R.value = null, z.value = [], B.value = !1, V.value = !1, U.value = !1, q.value = !1;
1708
+ function rr() {
1709
+ F.value = !1, I.value = null, L.value = [], R.value = null, z.value = [], B.value = !1, V.value = !1, W.value = !1, Y.value = !1;
1710
1710
  }
1711
- async function ar() {
1711
+ async function ir() {
1712
1712
  if (typeof window < "u" && window.innerWidth < 1024) {
1713
1713
  P.value = !0, await m(), M.value?.focus();
1714
1714
  return;
1715
1715
  }
1716
- se.value = !0, q.value = !0, await m(), k.value?.focus(), $();
1716
+ ae.value = !0, Y.value = !0, await m(), k.value?.focus(), cr();
1717
1717
  }
1718
- function or() {
1718
+ function ar() {
1719
1719
  window.setTimeout(() => {
1720
- q.value = !1, J.value.searchIconOnly && !K.value.trim() && (se.value = !1, $());
1720
+ Y.value = !1, X.value.searchIconOnly && !J.value.trim() && (ae.value = !1, cr());
1721
1721
  }, 150);
1722
1722
  }
1723
- function sr() {
1723
+ function or() {
1724
1724
  return Math.round(window.visualViewport?.width ?? window.innerWidth);
1725
1725
  }
1726
- async function cr() {
1726
+ async function sr() {
1727
1727
  if (typeof window > "u" || !T.value) return;
1728
- let e = ++pe, t = sr();
1729
- ce.value = t < 1024;
1728
+ let e = ++de, t = or();
1729
+ oe.value = t < 1024;
1730
1730
  let n = {
1731
1731
  collapseActions: !1,
1732
1732
  searchIconOnly: !1,
@@ -1734,15 +1734,15 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1734
1734
  hideContextDetails: !1
1735
1735
  };
1736
1736
  if (t < 1024) {
1737
- J.value = n, se.value = !1;
1737
+ X.value = n, ae.value = !1;
1738
1738
  return;
1739
1739
  }
1740
- if (J.value = {
1740
+ if (X.value = {
1741
1741
  collapseActions: t < 1440,
1742
1742
  searchIconOnly: t < 1320,
1743
1743
  hideUserName: t < 1180,
1744
1744
  hideContextDetails: !1
1745
- }, await m(), e === pe) for (let t of [
1745
+ }, await m(), e === de) for (let t of [
1746
1746
  "collapseActions",
1747
1747
  "searchIconOnly",
1748
1748
  "hideUserName",
@@ -1750,78 +1750,78 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1750
1750
  ]) {
1751
1751
  let n = T.value;
1752
1752
  if (!n || n.scrollWidth <= n.clientWidth + 1) break;
1753
- if (J.value = {
1754
- ...J.value,
1753
+ if (X.value = {
1754
+ ...X.value,
1755
1755
  [t]: !0
1756
- }, await m(), e !== pe) return;
1756
+ }, await m(), e !== de) return;
1757
1757
  }
1758
1758
  }
1759
- function $() {
1760
- typeof window > "u" || (de !== void 0 && window.cancelAnimationFrame(de), de = window.requestAnimationFrame(() => {
1761
- de = void 0, cr();
1759
+ function cr() {
1760
+ typeof window > "u" || (le !== void 0 && window.cancelAnimationFrame(le), le = window.requestAnimationFrame(() => {
1761
+ le = void 0, sr();
1762
1762
  }));
1763
1763
  }
1764
1764
  function lr(e) {
1765
1765
  let t = e.target;
1766
1766
  if (t instanceof Element && !t.closest(".top-nav-bar__mobile-menu")) {
1767
1767
  if (!x.value?.contains(t)) {
1768
- ir();
1768
+ rr();
1769
1769
  return;
1770
1770
  }
1771
- t.closest("[data-top-nav-navigation]") || (F.value = !1, I.value = null, L.value = []), t.closest("[data-top-nav-breadcrumb]") || (R.value = null, z.value = []), t.closest("[data-top-nav-actions]") || (B.value = !1), t.closest("[data-top-nav-user]") || (V.value = !1), t.closest("[data-top-nav-favorites]") || (U.value = !1), t.closest("[data-top-nav-search]") || (q.value = !1);
1771
+ t.closest("[data-top-nav-navigation]") || (F.value = !1, I.value = null, L.value = []), t.closest("[data-top-nav-breadcrumb]") || (R.value = null, z.value = []), t.closest("[data-top-nav-actions]") || (B.value = !1), t.closest("[data-top-nav-user]") || (V.value = !1), t.closest("[data-top-nav-favorites]") || (W.value = !1), t.closest("[data-top-nav-search]") || (Y.value = !1);
1772
1772
  }
1773
1773
  }
1774
1774
  function ur(e) {
1775
1775
  if ((e.ctrlKey || e.metaKey) && e.key.toLocaleLowerCase() === "k" && f.searchable) {
1776
- e.preventDefault(), ar();
1776
+ e.preventDefault(), ir();
1777
1777
  return;
1778
1778
  }
1779
1779
  if (e.key === "Escape") {
1780
1780
  if (H.value) {
1781
- ie.value?.hide();
1781
+ U.value?.hide();
1782
1782
  return;
1783
1783
  }
1784
- P.value &&= !1, ir(), J.value.searchIconOnly && !K.value.trim() && (se.value = !1);
1784
+ P.value &&= !1, rr(), X.value.searchIconOnly && !J.value.trim() && (ae.value = !1);
1785
1785
  }
1786
1786
  }
1787
1787
  function dr() {
1788
- if (!X.value) {
1788
+ if (!Me.value) {
1789
1789
  p("user-click", f.user);
1790
1790
  return;
1791
1791
  }
1792
- if (Z()) {
1792
+ if (Q()) {
1793
1793
  V.value = !0;
1794
1794
  return;
1795
1795
  }
1796
1796
  V.value = !V.value;
1797
1797
  }
1798
1798
  function fr() {
1799
- if (Z()) {
1800
- U.value = !0;
1799
+ if (Q()) {
1800
+ W.value = !0;
1801
1801
  return;
1802
1802
  }
1803
- U.value = !U.value;
1803
+ W.value = !W.value;
1804
1804
  }
1805
1805
  return A(() => f.searchValue, (e) => {
1806
- e !== void 0 && e !== K.value && (K.value = e);
1806
+ e !== void 0 && e !== J.value && (J.value = e);
1807
1807
  }), A(() => f.mobileOpen, (e) => {
1808
1808
  e !== void 0 && e !== P.value && (P.value = e);
1809
1809
  }), A(P, (e) => p("update:mobileOpen", e)), A([
1810
- Y,
1810
+ Z,
1811
1811
  () => f.user,
1812
- Me
1813
- ], () => m($), { deep: !0 }), A(Ie, () => m(Ge), { deep: !0 }), y(() => {
1814
- document.addEventListener("keydown", ur), document.addEventListener("pointerdown", lr), window.addEventListener("resize", $), window.visualViewport?.addEventListener("resize", $), window.addEventListener("resize", Ge), window.addEventListener("scroll", We, { passive: !0 }), typeof ResizeObserver < "u" && (le = new ResizeObserver($), T.value && le.observe(T.value), ue = new ResizeObserver(Ge), E.value && ue.observe(E.value)), $(), m(() => {
1815
- Ge(), We(), Ke();
1812
+ Ae
1813
+ ], () => m(cr), { deep: !0 }), A(Fe, () => m(We), { deep: !0 }), y(() => {
1814
+ document.addEventListener("keydown", ur), document.addEventListener("pointerdown", lr), window.addEventListener("resize", cr), window.visualViewport?.addEventListener("resize", cr), window.addEventListener("resize", We), window.addEventListener("scroll", Ue, { passive: !0 }), typeof ResizeObserver < "u" && (se = new ResizeObserver(cr), T.value && se.observe(T.value), ce = new ResizeObserver(We), E.value && ce.observe(E.value)), cr(), m(() => {
1815
+ We(), Ue(), Ge();
1816
1816
  });
1817
1817
  }), v(() => {
1818
- document.removeEventListener("keydown", ur), document.removeEventListener("pointerdown", lr), window.removeEventListener("resize", $), window.visualViewport?.removeEventListener("resize", $), window.removeEventListener("resize", Ge), window.removeEventListener("scroll", We), le?.disconnect(), ue?.disconnect(), de !== void 0 && window.cancelAnimationFrame(de), fe !== void 0 && window.cancelAnimationFrame(fe);
1818
+ document.removeEventListener("keydown", ur), document.removeEventListener("pointerdown", lr), window.removeEventListener("resize", cr), window.visualViewport?.removeEventListener("resize", cr), window.removeEventListener("resize", We), window.removeEventListener("scroll", Ue), se?.disconnect(), ce?.disconnect(), le !== void 0 && window.cancelAnimationFrame(le), ue !== void 0 && window.cancelAnimationFrame(ue);
1819
1819
  }), u({
1820
- close: ir,
1820
+ close: rr,
1821
1821
  closeDrawer: () => {
1822
1822
  P.value = !1;
1823
1823
  },
1824
- focusSearch: ar,
1824
+ focusSearch: ir,
1825
1825
  openDrawer: () => {
1826
1826
  P.value = !0;
1827
1827
  }
@@ -1829,15 +1829,15 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1829
1829
  ref_key: "rootRef",
1830
1830
  ref: x,
1831
1831
  class: "top-nav-bar top-solutions-component",
1832
- style: _(He.value),
1832
+ style: _(Ve.value),
1833
1833
  "aria-label": "Navegação principal"
1834
1834
  }, [
1835
1835
  o("header", {
1836
1836
  ref_key: "headerRef",
1837
1837
  ref: T,
1838
- class: h(["top-nav-bar__header", { "top-nav-bar__header--context-compact": J.value.hideContextDetails }])
1838
+ class: h(["top-nav-bar__header", { "top-nav-bar__header--context-compact": X.value.hideContextDetails }])
1839
1839
  }, [
1840
- ze.value ? (b(), a("button", {
1840
+ Re.value ? (b(), a("button", {
1841
1841
  key: 0,
1842
1842
  class: "top-nav-bar__mobile-trigger top-nav-bar__square-button",
1843
1843
  type: "button",
@@ -1847,45 +1847,45 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1847
1847
  }, [...u[19] ||= [o("i", {
1848
1848
  class: "pi pi-bars",
1849
1849
  "aria-hidden": "true"
1850
- }, null, -1)]], 8, tt)) : i("", !0),
1851
- o("div", nt, [w(n.$slots, "brand", { compact: J.value.hideContextDetails })]),
1852
- Fe.value ? (b(), a("div", rt)) : i("", !0),
1853
- Fe.value ? (b(), a("div", it, [J.value.hideContextDetails && n.$slots["context-compact"] ? w(n.$slots, "context-compact", {
1850
+ }, null, -1)]], 8, et)) : i("", !0),
1851
+ o("div", tt, [w(n.$slots, "brand", { compact: X.value.hideContextDetails })]),
1852
+ Pe.value ? (b(), a("div", nt)) : i("", !0),
1853
+ Pe.value ? (b(), a("div", rt, [X.value.hideContextDetails && n.$slots["context-compact"] ? w(n.$slots, "context-compact", {
1854
1854
  client: s.client,
1855
1855
  compact: !0
1856
1856
  }, void 0, void 0, 0) : n.$slots.context ? w(n.$slots, "context", {
1857
1857
  client: s.client,
1858
- compact: J.value.hideContextDetails
1858
+ compact: X.value.hideContextDetails
1859
1859
  }, void 0, void 0, 1) : n.$slots.scope ? w(n.$slots, "scope", {
1860
1860
  client: s.client,
1861
- compact: J.value.hideContextDetails
1861
+ compact: X.value.hideContextDetails
1862
1862
  }, void 0, void 0, 2) : w(n.$slots, "client", {
1863
1863
  client: s.client,
1864
- compact: J.value.hideContextDetails
1865
- }, () => [s.client ? (b(), a("div", at, [s.client.logoUrl ? (b(), a("img", {
1864
+ compact: X.value.hideContextDetails
1865
+ }, () => [s.client ? (b(), a("div", it, [s.client.logoUrl ? (b(), a("img", {
1866
1866
  key: 0,
1867
1867
  src: s.client.logoUrl,
1868
1868
  alt: "",
1869
1869
  class: "top-nav-bar__client-logo"
1870
- }, null, 8, ot)) : (b(), a("span", st, D(Ue.value), 1)), J.value.hideContextDetails ? i("", !0) : (b(), a("span", ct, [o("span", lt, D(s.client.name), 1), s.client.subtitle ? (b(), a("span", ut, D(s.client.subtitle), 1)) : i("", !0)]))])) : i("", !0)], void 0, 3)])) : i("", !0),
1870
+ }, null, 8, at)) : (b(), a("span", ot, D(He.value), 1)), X.value.hideContextDetails ? i("", !0) : (b(), a("span", st, [o("span", ct, D(s.client.name), 1), s.client.subtitle ? (b(), a("span", lt, D(s.client.subtitle), 1)) : i("", !0)]))])) : i("", !0)], void 0, 3)])) : i("", !0),
1871
1871
  u[24] ||= o("div", {
1872
1872
  class: "top-nav-bar__spacer",
1873
1873
  "aria-hidden": "true"
1874
1874
  }, null, -1),
1875
- o("div", dt, [
1876
- s.searchable ? (b(), a("div", ft, [J.value.searchIconOnly && !se.value ? (b(), a("button", {
1875
+ o("div", ut, [
1876
+ s.searchable ? (b(), a("div", dt, [X.value.searchIconOnly && !ae.value ? (b(), a("button", {
1877
1877
  key: 0,
1878
1878
  class: "top-nav-bar__square-button",
1879
1879
  type: "button",
1880
1880
  "aria-label": "Pesquisar no menu",
1881
1881
  title: "Pesquisar no menu (Ctrl+K)",
1882
- onClick: ar
1882
+ onClick: ir
1883
1883
  }, [...u[20] ||= [o("i", {
1884
1884
  class: "pi pi-search",
1885
1885
  "aria-hidden": "true"
1886
1886
  }, null, -1)]])) : (b(), a("div", {
1887
1887
  key: 1,
1888
- class: h(["top-nav-bar__search", { "top-nav-bar__search--expanded": se.value }])
1888
+ class: h(["top-nav-bar__search", { "top-nav-bar__search--expanded": ae.value }])
1889
1889
  }, [
1890
1890
  u[22] ||= o("i", {
1891
1891
  class: "pi pi-search",
@@ -1894,44 +1894,44 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1894
1894
  o("input", {
1895
1895
  ref_key: "searchInputRef",
1896
1896
  ref: k,
1897
- value: K.value,
1897
+ value: J.value,
1898
1898
  type: "text",
1899
1899
  role: "searchbox",
1900
1900
  placeholder: s.searchPlaceholder,
1901
1901
  "aria-label": "Pesquisar no menu",
1902
- onFocus: u[1] ||= (e) => q.value = !0,
1903
- onBlur: or,
1904
- onInput: u[2] ||= (e) => Xe(e.target.value)
1905
- }, null, 40, pt),
1906
- K.value || J.value.searchIconOnly && se.value ? (b(), a("button", {
1902
+ onFocus: u[1] ||= (e) => Y.value = !0,
1903
+ onBlur: ar,
1904
+ onInput: u[2] ||= (e) => Ye(e.target.value)
1905
+ }, null, 40, ft),
1906
+ J.value || X.value.searchIconOnly && ae.value ? (b(), a("button", {
1907
1907
  key: 0,
1908
1908
  class: "top-nav-bar__search-clear",
1909
1909
  type: "button",
1910
- "aria-label": K.value ? "Limpar pesquisa" : "Fechar pesquisa",
1910
+ "aria-label": J.value ? "Limpar pesquisa" : "Fechar pesquisa",
1911
1911
  onMousedown: u[3] ||= N(() => {}, ["prevent"]),
1912
- onClick: u[4] ||= (e) => K.value ? Ze() : se.value = !1
1912
+ onClick: u[4] ||= (e) => J.value ? Xe() : ae.value = !1
1913
1913
  }, [...u[21] ||= [o("i", {
1914
1914
  class: "pi pi-times",
1915
1915
  "aria-hidden": "true"
1916
- }, null, -1)]], 40, mt)) : i("", !0),
1917
- q.value ? (b(), a("div", ht, [o("div", gt, [w(n.$slots, "search-results", {
1918
- items: ve.value,
1919
- select: Q
1920
- }, () => [(b(!0), a(e, null, C(ve.value, (e) => (b(), a("button", {
1916
+ }, null, -1)]], 40, pt)) : i("", !0),
1917
+ Y.value ? (b(), a("div", mt, [o("div", ht, [w(n.$slots, "search-results", {
1918
+ items: ge.value,
1919
+ select: $
1920
+ }, () => [(b(!0), a(e, null, C(ge.value, (e) => (b(), a("button", {
1921
1921
  key: e.id,
1922
1922
  class: "top-nav-bar__menu-item",
1923
1923
  type: "button",
1924
1924
  role: "menuitem",
1925
1925
  disabled: e.disabled,
1926
1926
  onMousedown: u[5] ||= N(() => {}, ["prevent"]),
1927
- onClick: (t) => Q(e)
1927
+ onClick: (t) => $(e)
1928
1928
  }, [e.icon ? (b(), a("i", {
1929
1929
  key: 0,
1930
1930
  class: h(e.icon),
1931
1931
  "aria-hidden": "true"
1932
- }, null, 2)) : i("", !0), o("span", null, D(e.label), 1)], 40, _t))), 128)), ve.value.length ? i("", !0) : (b(), a("span", vt, "Nenhum item encontrado."))])])])) : i("", !0)
1932
+ }, null, 2)) : i("", !0), o("span", null, D(e.label), 1)], 40, gt))), 128)), ge.value.length ? i("", !0) : (b(), a("span", _t, "Nenhum item encontrado."))])])])) : i("", !0)
1933
1933
  ], 2))])) : i("", !0),
1934
- Me.value.length ? (b(), a("div", yt, [J.value.collapseActions ? (b(), a(e, { key: 1 }, [o("button", {
1934
+ Ae.value.length ? (b(), a("div", vt, [X.value.collapseActions ? (b(), a(e, { key: 1 }, [o("button", {
1935
1935
  class: "top-nav-bar__square-button",
1936
1936
  type: "button",
1937
1937
  "aria-label": "Mais ações",
@@ -1940,17 +1940,17 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1940
1940
  }, [...u[23] ||= [o("i", {
1941
1941
  class: "pi pi-ellipsis-h",
1942
1942
  "aria-hidden": "true"
1943
- }, null, -1)]], 8, xt), B.value ? (b(), a("div", St, [o("div", Ct, [(b(!0), a(e, null, C(Me.value, (e) => (b(), a("button", {
1943
+ }, null, -1)]], 8, bt), B.value ? (b(), a("div", xt, [o("div", St, [(b(!0), a(e, null, C(Ae.value, (e) => (b(), a("button", {
1944
1944
  key: e.id,
1945
1945
  class: "top-nav-bar__menu-item",
1946
1946
  type: "button",
1947
1947
  role: "menuitem",
1948
1948
  disabled: e.disabled,
1949
- onClick: (t) => qe(e)
1949
+ onClick: (t) => Ke(e)
1950
1950
  }, [o("i", {
1951
1951
  class: h(e.icon),
1952
1952
  "aria-hidden": "true"
1953
- }, null, 2), o("span", null, D(e.label), 1)], 8, wt))), 128))])])) : i("", !0)], 64)) : (b(!0), a(e, { key: 0 }, C(Me.value, (e) => (b(), a("button", {
1953
+ }, null, 2), o("span", null, D(e.label), 1)], 8, Ct))), 128))])])) : i("", !0)], 64)) : (b(!0), a(e, { key: 0 }, C(Ae.value, (e) => (b(), a("button", {
1954
1954
  key: e.id,
1955
1955
  class: h(["top-nav-bar__square-button", { "top-nav-bar__square-button--active": e.kind === "aia" && s.aiaActive }]),
1956
1956
  type: "button",
@@ -1958,7 +1958,7 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1958
1958
  "aria-label": e.label,
1959
1959
  "aria-pressed": e.kind === "aia" ? s.aiaActive : void 0,
1960
1960
  title: e.label,
1961
- onClick: (t) => qe(e)
1961
+ onClick: (t) => Ke(e)
1962
1962
  }, [e.kind === "aia" ? w(n.$slots, "aia-icon", {}, () => [o("i", {
1963
1963
  class: h(e.icon),
1964
1964
  "aria-hidden": "true"
@@ -1969,67 +1969,67 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
1969
1969
  key: 2,
1970
1970
  class: h(e.icon),
1971
1971
  "aria-hidden": "true"
1972
- }, null, 2))], 10, bt))), 128))])) : i("", !0),
1973
- n.$slots.actions ? (b(), a("div", Tt, [w(n.$slots, "actions", {
1974
- compact: J.value.collapseActions,
1975
- close: ir
1972
+ }, null, 2))], 10, yt))), 128))])) : i("", !0),
1973
+ n.$slots.actions ? (b(), a("div", wt, [w(n.$slots, "actions", {
1974
+ compact: X.value.collapseActions,
1975
+ close: rr
1976
1976
  })])) : i("", !0),
1977
- Pe.value ? (b(), a("div", {
1977
+ Ne.value ? (b(), a("div", {
1978
1978
  key: 3,
1979
1979
  class: "top-nav-bar__user-menu",
1980
1980
  "data-top-nav-user": "",
1981
- onMouseenter: u[7] ||= (e) => X.value && Z() && (V.value = !0),
1982
- onMouseleave: u[8] ||= (e) => Z() && (V.value = !1)
1981
+ onMouseenter: u[7] ||= (e) => Me.value && Q() && (V.value = !0),
1982
+ onMouseleave: u[8] ||= (e) => Q() && (V.value = !1)
1983
1983
  }, [o("button", {
1984
1984
  class: "top-nav-bar__user-trigger",
1985
1985
  type: "button",
1986
- "aria-haspopup": X.value ? "menu" : void 0,
1987
- "aria-expanded": X.value ? V.value : void 0,
1986
+ "aria-haspopup": Me.value ? "menu" : void 0,
1987
+ "aria-expanded": Me.value ? V.value : void 0,
1988
1988
  onClick: dr
1989
1989
  }, [w(n.$slots, "user", {
1990
1990
  user: s.user,
1991
- compact: J.value.hideUserName
1991
+ compact: X.value.hideUserName
1992
1992
  }, () => [s.user?.avatarUrl ? (b(), a("img", {
1993
1993
  key: 0,
1994
1994
  src: s.user.avatarUrl,
1995
1995
  alt: "",
1996
1996
  class: "top-nav-bar__user-avatar"
1997
- }, null, 8, Dt)) : (b(), a("span", Ot, D(Be.value), 1)), s.user && !J.value.hideUserName ? (b(), a("span", kt, [o("span", At, D(s.user.name), 1), s.user.subtitle ? (b(), a("span", jt, D(s.user.subtitle), 1)) : i("", !0)])) : i("", !0)]), X.value ? (b(), a("i", Mt)) : i("", !0)], 8, Et), X.value && V.value ? (b(), a("div", Nt, [o("div", Pt, [w(n.$slots, "user-menu", {
1998
- items: Ne.value,
1999
- select: Je
2000
- }, () => [(b(!0), a(e, null, C(Ne.value, (t) => (b(), a(e, { key: t.id }, [t.separator ? (b(), a("div", Ft)) : (b(), a("button", {
1997
+ }, null, 8, Et)) : (b(), a("span", Dt, D(ze.value), 1)), s.user && !X.value.hideUserName ? (b(), a("span", Ot, [o("span", kt, D(s.user.name), 1), s.user.subtitle ? (b(), a("span", At, D(s.user.subtitle), 1)) : i("", !0)])) : i("", !0)]), Me.value ? (b(), a("i", jt)) : i("", !0)], 8, Tt), Me.value && V.value ? (b(), a("div", Mt, [o("div", Nt, [w(n.$slots, "user-menu", {
1998
+ items: je.value,
1999
+ select: qe
2000
+ }, () => [(b(!0), a(e, null, C(je.value, (t) => (b(), a(e, { key: t.id }, [t.separator ? (b(), a("div", Pt)) : (b(), a("button", {
2001
2001
  key: 1,
2002
2002
  class: "top-nav-bar__menu-item",
2003
2003
  type: "button",
2004
2004
  role: "menuitem",
2005
2005
  disabled: t.disabled,
2006
- onClick: (e) => Je(t)
2006
+ onClick: (e) => qe(t)
2007
2007
  }, [t.icon ? (b(), a("i", {
2008
2008
  key: 0,
2009
2009
  class: h(t.icon),
2010
2010
  "aria-hidden": "true"
2011
- }, null, 2)) : i("", !0), o("span", null, D(t.label), 1)], 8, It))], 64))), 128))])])])) : i("", !0)], 32)) : i("", !0)
2011
+ }, null, 2)) : i("", !0), o("span", null, D(t.label), 1)], 8, Ft))], 64))), 128))])])])) : i("", !0)], 32)) : i("", !0)
2012
2012
  ])
2013
2013
  ], 2),
2014
- o("div", Lt, [
2014
+ o("div", It, [
2015
2015
  o("button", {
2016
2016
  class: "top-nav-bar__crumb",
2017
2017
  type: "button",
2018
- onClick: u[9] ||= (e) => Q(s.homeItem)
2019
- }, [l(O(De), { icon: O(Se) }, null, 8, ["icon"]), o("span", null, D(s.homeItem.label), 1)]),
2020
- Y.value.length ? (b(), a("span", Rt, "/")) : i("", !0),
2021
- Y.value.length ? (b(), a("div", {
2018
+ onClick: u[9] ||= (e) => $(s.homeItem)
2019
+ }, [l(O(Te), { icon: O(be) }, null, 8, ["icon"]), o("span", null, D(s.homeItem.label), 1)]),
2020
+ Z.value.length ? (b(), a("span", Lt, "/")) : i("", !0),
2021
+ Z.value.length ? (b(), a("div", {
2022
2022
  key: 1,
2023
2023
  class: "top-nav-bar__dropdown top-nav-bar__desktop-navigation",
2024
2024
  "data-top-nav-navigation": "",
2025
- onMouseenter: Qe,
2026
- onMouseleave: $e
2025
+ onMouseenter: Ze,
2026
+ onMouseleave: Qe
2027
2027
  }, [o("button", {
2028
2028
  class: "top-nav-bar__crumb",
2029
2029
  type: "button",
2030
2030
  "aria-haspopup": "menu",
2031
2031
  "aria-expanded": F.value,
2032
- onClick: Yn
2032
+ onClick: Jn
2033
2033
  }, [
2034
2034
  u[25] ||= o("i", {
2035
2035
  class: "pi pi-bars",
@@ -2040,29 +2040,29 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2040
2040
  class: "pi pi-chevron-down top-nav-bar__chevron",
2041
2041
  "aria-hidden": "true"
2042
2042
  }, null, -1)
2043
- ], 8, zt), F.value ? (b(), a("div", Bt, [o("div", Vt, [o("div", Ht, [(b(!0), a(e, null, C(Y.value, (e) => (b(), a("button", {
2043
+ ], 8, Rt), F.value ? (b(), a("div", zt, [o("div", Bt, [o("div", Vt, [(b(!0), a(e, null, C(Z.value, (e) => (b(), a("button", {
2044
2044
  key: e.id,
2045
2045
  class: h(["top-nav-bar__menu-item", { "top-nav-bar__menu-item--explored": e.children?.length && I.value === e.id }]),
2046
2046
  type: "button",
2047
2047
  role: "menuitem",
2048
2048
  "aria-haspopup": e.children?.length ? "menu" : void 0,
2049
2049
  "aria-expanded": e.children?.length ? I.value === e.id : void 0,
2050
- onMouseenter: (t) => e.children?.length ? Xn(e.id) : void 0,
2051
- onClick: (t) => e.children?.length ? Zn(e.id) : Q(e)
2050
+ onMouseenter: (t) => e.children?.length ? Yn(e.id) : void 0,
2051
+ onClick: (t) => e.children?.length ? Xn(e.id) : $(e)
2052
2052
  }, [
2053
2053
  e.icon ? (b(), a("i", {
2054
2054
  key: 0,
2055
2055
  class: h(e.icon),
2056
2056
  "aria-hidden": "true"
2057
2057
  }, null, 2)) : i("", !0),
2058
- o("span", Wt, D(e.label), 1),
2059
- e.children?.length ? (b(), a("span", Gt, D(e.children.length), 1)) : i("", !0),
2060
- e.children?.length ? (b(), a("i", Kt)) : i("", !0)
2061
- ], 42, Ut))), 128))]), Oe.value ? (b(), a("div", qt, [(b(!0), a(e, null, C(Ae.value, (t, n) => (b(), a("div", {
2058
+ o("span", Ut, D(e.label), 1),
2059
+ e.children?.length ? (b(), a("span", Wt, D(e.children.length), 1)) : i("", !0),
2060
+ e.children?.length ? (b(), a("i", Gt)) : i("", !0)
2061
+ ], 42, Ht))), 128))]), Ee.value ? (b(), a("div", Kt, [(b(!0), a(e, null, C(Oe.value, (t, n) => (b(), a("div", {
2062
2062
  key: `navigation-level-${n}`,
2063
2063
  class: h(["top-nav-bar__cascade-level", { "top-nav-bar__section-items": n === 0 }]),
2064
2064
  role: "menu"
2065
- }, [(b(!0), a(e, null, C(je(t), (t, r) => (b(), a("div", {
2065
+ }, [(b(!0), a(e, null, C(ke(t), (t, r) => (b(), a("div", {
2066
2066
  key: `navigation-${n}-${r}`,
2067
2067
  class: "top-nav-bar__menu-column"
2068
2068
  }, [(b(!0), a(e, null, C(t, (e) => (b(), a("button", {
@@ -2073,40 +2073,40 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2073
2073
  disabled: e.disabled,
2074
2074
  "aria-haspopup": e.children?.length ? "menu" : void 0,
2075
2075
  "aria-expanded": e.children?.length ? L.value[n] === e.id : void 0,
2076
- onMouseenter: (t) => $n(e, n, !0),
2077
- onClick: (t) => $n(e, n, !1)
2076
+ onMouseenter: (t) => Qn(e, n, !0),
2077
+ onClick: (t) => Qn(e, n, !1)
2078
2078
  }, [
2079
2079
  e.icon ? (b(), a("i", {
2080
2080
  key: 0,
2081
2081
  class: h(e.icon),
2082
2082
  "aria-hidden": "true"
2083
2083
  }, null, 2)) : i("", !0),
2084
- o("span", Yt, D(e.label), 1),
2085
- e.children?.length ? (b(), a("i", Xt)) : i("", !0)
2086
- ], 42, Jt))), 128))]))), 128))], 2))), 128))])) : i("", !0)])])) : i("", !0)], 32)) : i("", !0),
2087
- (b(!0), a(e, null, C(Te.value, (t, n) => (b(), a(e, { key: t.id }, [o("span", {
2088
- class: h(["top-nav-bar__separator", { "top-nav-bar__separator--current": !t.to && n === Te.value.length - 1 }]),
2084
+ o("span", Jt, D(e.label), 1),
2085
+ e.children?.length ? (b(), a("i", Yt)) : i("", !0)
2086
+ ], 42, qt))), 128))]))), 128))], 2))), 128))])) : i("", !0)])])) : i("", !0)], 32)) : i("", !0),
2087
+ (b(!0), a(e, null, C(Ce.value, (t, n) => (b(), a(e, { key: t.id }, [o("span", {
2088
+ class: h(["top-nav-bar__separator", { "top-nav-bar__separator--current": !t.to && n === Ce.value.length - 1 }]),
2089
2089
  "aria-hidden": "true"
2090
- }, "/", 2), Ee(t)?.children?.length ? (b(), a("div", {
2090
+ }, "/", 2), we(t)?.children?.length ? (b(), a("div", {
2091
2091
  key: 0,
2092
2092
  class: "top-nav-bar__dropdown top-nav-bar__breadcrumb-dropdown",
2093
2093
  "data-top-nav-breadcrumb": "",
2094
- onMouseenter: (e) => !ce.value && tr(t.id),
2095
- onMouseleave: u[10] ||= (e) => !ce.value && nr()
2096
- }, [ce.value ? (b(), a("span", Qt, D(t.label), 1)) : (b(), a("button", {
2094
+ onMouseenter: (e) => !oe.value && er(t.id),
2095
+ onMouseleave: u[10] ||= (e) => !oe.value && tr()
2096
+ }, [oe.value ? (b(), a("span", Zt, D(t.label), 1)) : (b(), a("button", {
2097
2097
  key: 1,
2098
2098
  class: "top-nav-bar__crumb",
2099
2099
  type: "button",
2100
2100
  "aria-haspopup": "menu",
2101
2101
  "aria-expanded": R.value === t.id,
2102
- onClick: (e) => rr(t.id)
2102
+ onClick: (e) => nr(t.id)
2103
2103
  }, [o("span", null, D(t.label), 1), u[27] ||= o("i", {
2104
2104
  class: "pi pi-chevron-down top-nav-bar__chevron",
2105
2105
  "aria-hidden": "true"
2106
- }, null, -1)], 8, $t)), !ce.value && R.value === t.id ? (b(), a("div", en, [o("div", tn, [(b(!0), a(e, null, C(ke(Ee(t)?.children ?? [], z.value), (n, r) => (b(), a("div", {
2106
+ }, null, -1)], 8, Qt)), !oe.value && R.value === t.id ? (b(), a("div", $t, [o("div", en, [(b(!0), a(e, null, C(De(we(t)?.children ?? [], z.value), (n, r) => (b(), a("div", {
2107
2107
  key: `breadcrumb-${t.id}-${r}`,
2108
2108
  class: h(["top-nav-bar__cascade-level", { "top-nav-bar__breadcrumb-main-items": r === 0 }])
2109
- }, [(b(!0), a(e, null, C(je(n), (n, s) => (b(), a("div", {
2109
+ }, [(b(!0), a(e, null, C(ke(n), (n, s) => (b(), a("div", {
2110
2110
  key: `breadcrumb-${t.id}-${r}-${s}`,
2111
2111
  class: "top-nav-bar__menu-column"
2112
2112
  }, [(b(!0), a(e, null, C(n, (e) => (b(), a("button", {
@@ -2115,26 +2115,26 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2115
2115
  type: "button",
2116
2116
  role: "menuitem",
2117
2117
  disabled: e.disabled,
2118
- onMouseenter: (t) => er(e, r, !0),
2119
- onClick: (t) => er(e, r, !1)
2118
+ onMouseenter: (t) => $n(e, r, !0),
2119
+ onClick: (t) => $n(e, r, !1)
2120
2120
  }, [
2121
2121
  e.icon ? (b(), a("i", {
2122
2122
  key: 0,
2123
2123
  class: h(e.icon),
2124
2124
  "aria-hidden": "true"
2125
2125
  }, null, 2)) : i("", !0),
2126
- o("span", rn, D(e.label), 1),
2127
- e.children?.length ? (b(), a("i", an)) : i("", !0)
2128
- ], 42, nn))), 128))]))), 128))], 2))), 128))])])) : i("", !0)], 40, Zt)) : t.to ? (b(), a("button", {
2126
+ o("span", nn, D(e.label), 1),
2127
+ e.children?.length ? (b(), a("i", rn)) : i("", !0)
2128
+ ], 42, tn))), 128))]))), 128))], 2))), 128))])])) : i("", !0)], 40, Xt)) : t.to ? (b(), a("button", {
2129
2129
  key: 1,
2130
2130
  class: "top-nav-bar__crumb",
2131
2131
  type: "button",
2132
- onClick: (e) => Q(t)
2133
- }, D(t.label), 9, on)) : (b(), a("span", {
2132
+ onClick: (e) => $(t)
2133
+ }, D(t.label), 9, an)) : (b(), a("span", {
2134
2134
  key: 2,
2135
2135
  class: "top-nav-bar__current",
2136
2136
  title: t.label
2137
- }, [o("span", cn, D(t.label), 1), s.showFavoriteToggle ? (b(), a("button", {
2137
+ }, [o("span", sn, D(t.label), 1), s.showFavoriteToggle ? (b(), a("button", {
2138
2138
  key: 0,
2139
2139
  class: "top-nav-bar__favorite-toggle",
2140
2140
  type: "button",
@@ -2144,22 +2144,22 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2144
2144
  }, [o("i", {
2145
2145
  class: h(s.favoriteActive ? "pi pi-star-fill" : "pi pi-star"),
2146
2146
  "aria-hidden": "true"
2147
- }, null, 2)], 8, ln)) : i("", !0)], 8, sn))], 64))), 128)),
2148
- o("div", un, [l(t, {
2147
+ }, null, 2)], 8, cn)) : i("", !0)], 8, on))], 64))), 128)),
2148
+ o("div", ln, [l(t, {
2149
2149
  name: "top-nav-bar-favorites-trigger",
2150
- css: oe.value
2150
+ css: ie.value
2151
2151
  }, {
2152
- default: j(() => [Le.value && Ie.value.length ? (b(), a("div", {
2152
+ default: j(() => [Ie.value && Fe.value.length ? (b(), a("div", {
2153
2153
  key: 0,
2154
2154
  class: "top-nav-bar__favorites-menu top-nav-bar__desktop-only",
2155
2155
  "data-top-nav-favorites": "",
2156
- onMouseenter: u[12] ||= (e) => Z() && (U.value = !0),
2157
- onMouseleave: u[13] ||= (e) => Z() && (U.value = !1)
2156
+ onMouseenter: u[12] ||= (e) => Q() && (W.value = !0),
2157
+ onMouseleave: u[13] ||= (e) => Q() && (W.value = !1)
2158
2158
  }, [o("button", {
2159
2159
  class: "top-nav-bar__crumb",
2160
2160
  type: "button",
2161
2161
  "aria-haspopup": "menu",
2162
- "aria-expanded": U.value,
2162
+ "aria-expanded": W.value,
2163
2163
  onClick: fr
2164
2164
  }, [
2165
2165
  u[28] ||= o("i", {
@@ -2171,18 +2171,18 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2171
2171
  class: "pi pi-chevron-down top-nav-bar__chevron",
2172
2172
  "aria-hidden": "true"
2173
2173
  }, null, -1)
2174
- ], 8, dn), U.value ? (b(), a("div", fn, [o("div", pn, [(b(!0), a(e, null, C(Ie.value, (e) => (b(), a("button", {
2174
+ ], 8, un), W.value ? (b(), a("div", dn, [o("div", fn, [(b(!0), a(e, null, C(Fe.value, (e) => (b(), a("button", {
2175
2175
  key: e.id,
2176
2176
  class: "top-nav-bar__menu-item",
2177
2177
  type: "button",
2178
2178
  role: "menuitem",
2179
2179
  disabled: e.disabled,
2180
- onClick: (t) => Q(e)
2180
+ onClick: (t) => $(e)
2181
2181
  }, [e.icon ? (b(), a("i", {
2182
2182
  key: 0,
2183
2183
  class: h(e.icon),
2184
2184
  "aria-hidden": "true"
2185
- }, null, 2)) : i("", !0), o("span", null, D(e.label), 1)], 8, mn))), 128))])])) : i("", !0)], 32)) : i("", !0)]),
2185
+ }, null, 2)) : i("", !0), o("span", null, D(e.label), 1)], 8, pn))), 128))])])) : i("", !0)], 32)) : i("", !0)]),
2186
2186
  _: 1
2187
2187
  }, 8, ["css"]), w(n.$slots, "breadcrumb-actions")])
2188
2188
  ]),
@@ -2195,34 +2195,34 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2195
2195
  ref_key: "favoritesMeasureContentRef",
2196
2196
  ref: ee,
2197
2197
  class: "top-nav-bar__favorites-measure-content"
2198
- }, [o("span", hn, [u[30] ||= o("i", {
2198
+ }, [o("span", mn, [u[30] ||= o("i", {
2199
2199
  class: "pi pi-star-fill top-nav-bar__favorites-icon",
2200
2200
  "aria-hidden": "true"
2201
- }, null, -1), o("span", null, D(s.favoriteLabel), 1)]), (b(!0), a(e, null, C(Ie.value, (e, t) => (b(), a("span", {
2201
+ }, null, -1), o("span", null, D(s.favoriteLabel), 1)]), (b(!0), a(e, null, C(Fe.value, (e, t) => (b(), a("span", {
2202
2202
  key: `measure-${e.id}`,
2203
2203
  class: "top-nav-bar__favorites-measure-item"
2204
- }, [t > 0 ? (b(), a("span", gn, "|")) : i("", !0), o("span", null, [e.icon ? (b(), a("i", {
2204
+ }, [t > 0 ? (b(), a("span", hn, "|")) : i("", !0), o("span", null, [e.icon ? (b(), a("i", {
2205
2205
  key: 0,
2206
2206
  class: h(e.icon),
2207
2207
  "aria-hidden": "true"
2208
2208
  }, null, 2)) : i("", !0), c(" " + D(e.label), 1)])]))), 128))], 512)], 512),
2209
2209
  l(t, {
2210
2210
  name: "top-nav-bar-favorites-row",
2211
- css: oe.value
2211
+ css: ie.value
2212
2212
  }, {
2213
- default: j(() => [Re.value ? (b(), a("div", _n, [o("span", vn, [u[31] ||= o("i", {
2213
+ default: j(() => [Le.value ? (b(), a("div", gn, [o("span", _n, [u[31] ||= o("i", {
2214
2214
  class: "pi pi-star-fill top-nav-bar__favorites-icon",
2215
2215
  "aria-hidden": "true"
2216
- }, null, -1), o("span", null, D(s.favoriteLabel), 1)]), o("div", yn, [(b(!0), a(e, null, C(Ie.value, (t, n) => (b(), a(e, { key: `row-${t.id}` }, [n > 0 ? (b(), a("span", bn, "|")) : i("", !0), o("button", {
2216
+ }, null, -1), o("span", null, D(s.favoriteLabel), 1)]), o("div", vn, [(b(!0), a(e, null, C(Fe.value, (t, n) => (b(), a(e, { key: `row-${t.id}` }, [n > 0 ? (b(), a("span", yn, "|")) : i("", !0), o("button", {
2217
2217
  class: "top-nav-bar__favorites-row-item",
2218
2218
  type: "button",
2219
2219
  disabled: t.disabled,
2220
- onClick: (e) => Q(t)
2220
+ onClick: (e) => $(t)
2221
2221
  }, [t.icon ? (b(), a("i", {
2222
2222
  key: 0,
2223
2223
  class: h(t.icon),
2224
2224
  "aria-hidden": "true"
2225
- }, null, 2)) : i("", !0), o("span", null, D(t.label), 1)], 8, xn)], 64))), 128))])])) : i("", !0)]),
2225
+ }, null, 2)) : i("", !0), o("span", null, D(t.label), 1)], 8, bn)], 64))), 128))])])) : i("", !0)]),
2226
2226
  _: 1
2227
2227
  }, 8, ["css"]),
2228
2228
  l(O(ne), {
@@ -2230,10 +2230,10 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2230
2230
  "onUpdate:visible": u[16] ||= (e) => P.value = e,
2231
2231
  position: "left",
2232
2232
  class: "top-nav-bar__mobile-drawer",
2233
- style: _([He.value, { width: "var(--top-nav-drawer-width, min(22rem, calc(100vw - 1.5rem)))" }])
2233
+ style: _([Ve.value, { width: "var(--top-nav-drawer-width, min(22rem, calc(100vw - 1.5rem)))" }])
2234
2234
  }, {
2235
- container: j(({ closeCallback: d }) => [o("div", Sn, [
2236
- o("header", Cn, [w(n.$slots, "drawer-header", { close: d }, () => [o("div", wn, [w(n.$slots, "drawer-brand", {}, () => [w(n.$slots, "brand", { compact: !1 })])]), o("button", {
2235
+ container: j(({ closeCallback: d }) => [o("div", xn, [
2236
+ o("header", Sn, [w(n.$slots, "drawer-header", { close: d }, () => [o("div", Cn, [w(n.$slots, "drawer-brand", {}, () => [w(n.$slots, "brand", { compact: !1 })])]), o("button", {
2237
2237
  class: "top-nav-bar__drawer-close top-nav-bar__square-button",
2238
2238
  type: "button",
2239
2239
  "aria-label": "Fechar navegação",
@@ -2241,12 +2241,12 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2241
2241
  }, [...u[32] ||= [o("i", {
2242
2242
  class: "pi pi-times",
2243
2243
  "aria-hidden": "true"
2244
- }, null, -1)]], 8, Tn)])]),
2245
- s.searchable || Me.value.length || n.$slots["drawer-actions"] ? (b(), a("div", En, [s.searchable ? w(n.$slots, "drawer-search", {
2246
- query: K.value,
2247
- update: Xe,
2248
- clear: Ze
2249
- }, () => [o("div", Dn, [
2244
+ }, null, -1)]], 8, wn)])]),
2245
+ s.searchable || Ae.value.length || n.$slots["drawer-actions"] ? (b(), a("div", Tn, [s.searchable ? w(n.$slots, "drawer-search", {
2246
+ query: J.value,
2247
+ update: Ye,
2248
+ clear: Xe
2249
+ }, () => [o("div", En, [
2250
2250
  u[34] ||= o("i", {
2251
2251
  class: "pi pi-search",
2252
2252
  "aria-hidden": "true"
@@ -2254,83 +2254,83 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2254
2254
  o("input", {
2255
2255
  ref_key: "mobileSearchInputRef",
2256
2256
  ref: M,
2257
- value: K.value,
2257
+ value: J.value,
2258
2258
  type: "text",
2259
2259
  role: "searchbox",
2260
2260
  placeholder: s.searchPlaceholder,
2261
2261
  "aria-label": "Pesquisar no menu",
2262
- onInput: u[14] ||= (e) => Xe(e.target.value)
2263
- }, null, 40, On),
2264
- K.value ? (b(), a("button", {
2262
+ onInput: u[14] ||= (e) => Ye(e.target.value)
2263
+ }, null, 40, Dn),
2264
+ J.value ? (b(), a("button", {
2265
2265
  key: 0,
2266
2266
  class: "top-nav-bar__search-clear",
2267
2267
  type: "button",
2268
2268
  "aria-label": "Limpar pesquisa",
2269
- onClick: Ze
2269
+ onClick: Xe
2270
2270
  }, [...u[33] ||= [o("i", {
2271
2271
  class: "pi pi-times",
2272
2272
  "aria-hidden": "true"
2273
2273
  }, null, -1)]])) : i("", !0)
2274
2274
  ])], void 0, 0) : i("", !0), w(n.$slots, "drawer-actions", {
2275
- actions: Me.value,
2276
- select: (e) => qe(e, !0),
2275
+ actions: Ae.value,
2276
+ select: (e) => Ke(e, !0),
2277
2277
  close: d
2278
- }, () => [(b(!0), a(e, null, C(Me.value, (e) => (b(), a("button", {
2278
+ }, () => [(b(!0), a(e, null, C(Ae.value, (e) => (b(), a("button", {
2279
2279
  key: `drawer-${e.id}`,
2280
2280
  class: h(["top-nav-bar__drawer-action", { "top-nav-bar__drawer-action--active": e.kind === "aia" && s.aiaActive }]),
2281
2281
  type: "button",
2282
2282
  disabled: e.disabled,
2283
- onClick: (t) => qe(e, !0)
2283
+ onClick: (t) => Ke(e, !0)
2284
2284
  }, [o("i", {
2285
2285
  class: h(e.icon),
2286
2286
  "aria-hidden": "true"
2287
- }, null, 2), o("span", null, D(e.label), 1)], 10, kn))), 128))])])) : i("", !0),
2288
- o("div", An, [
2287
+ }, null, 2), o("span", null, D(e.label), 1)], 10, On))), 128))])])) : i("", !0),
2288
+ o("div", kn, [
2289
2289
  w(n.$slots, "drawer-before-menu", { close: d }),
2290
- o("div", jn, [Ie.value.length ? (b(), a("section", Mn, [o("button", {
2290
+ o("div", An, [Fe.value.length ? (b(), a("section", jn, [o("button", {
2291
2291
  class: "top-nav-bar__mobile-item",
2292
2292
  type: "button",
2293
- "aria-expanded": W.value,
2294
- onClick: u[15] ||= (e) => W.value = !W.value
2293
+ "aria-expanded": G.value,
2294
+ onClick: u[15] ||= (e) => G.value = !G.value
2295
2295
  }, [
2296
2296
  u[35] ||= o("i", {
2297
2297
  class: "pi pi-star-fill top-nav-bar__accent",
2298
2298
  "aria-hidden": "true"
2299
2299
  }, null, -1),
2300
- o("span", Pn, D(s.favoriteLabel), 1),
2301
- o("span", Fn, D(Ie.value.length), 1),
2300
+ o("span", Nn, D(s.favoriteLabel), 1),
2301
+ o("span", Pn, D(Fe.value.length), 1),
2302
2302
  o("i", {
2303
- class: h(["pi pi-chevron-down top-nav-bar__mobile-chevron", { "top-nav-bar__mobile-chevron--open": W.value }]),
2303
+ class: h(["pi pi-chevron-down top-nav-bar__mobile-chevron", { "top-nav-bar__mobile-chevron--open": G.value }]),
2304
2304
  "aria-hidden": "true"
2305
2305
  }, null, 2)
2306
- ], 8, Nn), l(t, { name: "top-nav-bar-menu-expand" }, {
2307
- default: j(() => [W.value ? (b(), r(et, {
2306
+ ], 8, Mn), l(t, { name: "top-nav-bar-menu-expand" }, {
2307
+ default: j(() => [G.value ? (b(), r($e, {
2308
2308
  key: 0,
2309
- items: Ie.value,
2309
+ items: Fe.value,
2310
2310
  "active-item-id": s.activeItemId,
2311
2311
  level: 1,
2312
- onSelect: Q
2312
+ onSelect: $
2313
2313
  }, null, 8, ["items", "active-item-id"])) : i("", !0)]),
2314
2314
  _: 1
2315
2315
  })])) : i("", !0), w(n.$slots, "drawer-menu", {
2316
- sections: be.value,
2317
- select: Q,
2316
+ sections: ve.value,
2317
+ select: $,
2318
2318
  close: d
2319
- }, () => [be.value.length ? (b(), r(et, {
2319
+ }, () => [ve.value.length ? (b(), r($e, {
2320
2320
  key: 0,
2321
- items: be.value,
2321
+ items: ve.value,
2322
2322
  "active-item-id": s.activeItemId,
2323
- "force-open": !!K.value.trim(),
2323
+ "force-open": !!J.value.trim(),
2324
2324
  "show-section-dividers": "",
2325
- onSelect: Q
2325
+ onSelect: $
2326
2326
  }, null, 8, [
2327
2327
  "items",
2328
2328
  "active-item-id",
2329
2329
  "force-open"
2330
- ])) : (b(), a("div", In, "Nenhum menu encontrado."))])]),
2330
+ ])) : (b(), a("div", Fn, "Nenhum menu encontrado."))])]),
2331
2331
  w(n.$slots, "drawer-after-menu", { close: d })
2332
2332
  ]),
2333
- Pe.value || n.$slots["drawer-footer"] ? (b(), a("footer", Ln, [Pe.value ? w(n.$slots, "drawer-user", {
2333
+ Ne.value || n.$slots["drawer-footer"] ? (b(), a("footer", In, [Ne.value ? w(n.$slots, "drawer-user", {
2334
2334
  user: s.user,
2335
2335
  client: s.client,
2336
2336
  open: H.value,
@@ -2338,30 +2338,30 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2338
2338
  }, () => [o("button", {
2339
2339
  class: "top-nav-bar__drawer-user",
2340
2340
  type: "button",
2341
- "aria-haspopup": X.value ? "menu" : void 0,
2342
- "aria-expanded": X.value ? H.value : void 0,
2343
- onClick: Ye
2341
+ "aria-haspopup": Me.value ? "menu" : void 0,
2342
+ "aria-expanded": Me.value ? H.value : void 0,
2343
+ onClick: Je
2344
2344
  }, [
2345
2345
  s.user?.avatarUrl ? (b(), a("img", {
2346
2346
  key: 0,
2347
2347
  src: s.user.avatarUrl,
2348
2348
  alt: "",
2349
2349
  class: "top-nav-bar__user-avatar"
2350
- }, null, 8, zn)) : (b(), a("span", Bn, D(Be.value), 1)),
2351
- s.user ? (b(), a("span", Vn, [o("span", Hn, D(s.user.name), 1), s.client ? (b(), a("span", Un, [o("span", Wn, [u[36] ||= o("i", {
2350
+ }, null, 8, Rn)) : (b(), a("span", zn, D(ze.value), 1)),
2351
+ s.user ? (b(), a("span", Bn, [o("span", Vn, D(s.user.name), 1), s.client ? (b(), a("span", Hn, [o("span", Un, [u[36] ||= o("i", {
2352
2352
  class: "pi pi-building",
2353
2353
  "aria-hidden": "true"
2354
- }, null, -1), c(D(s.client.name), 1)]), s.client.subtitle ? (b(), a("span", Gn, D(s.client.subtitle), 1)) : i("", !0)])) : i("", !0)])) : i("", !0),
2355
- X.value ? (b(), a("i", Kn)) : i("", !0)
2356
- ], 8, Rn)], void 0, 0) : i("", !0), w(n.$slots, "drawer-footer", { close: d })])) : i("", !0)
2354
+ }, null, -1), c(D(s.client.name), 1)]), s.client.subtitle ? (b(), a("span", Wn, D(s.client.subtitle), 1)) : i("", !0)])) : i("", !0)])) : i("", !0),
2355
+ Me.value ? (b(), a("i", Gn)) : i("", !0)
2356
+ ], 8, Ln)], void 0, 0) : i("", !0), w(n.$slots, "drawer-footer", { close: d })])) : i("", !0)
2357
2357
  ])]),
2358
2358
  _: 3
2359
2359
  }, 8, ["visible", "style"]),
2360
2360
  l(O(re), {
2361
2361
  ref_key: "drawerUserMenuRef",
2362
- ref: ie,
2362
+ ref: U,
2363
2363
  class: "top-nav-bar__drawer-user-popup",
2364
- model: Ve.value,
2364
+ model: Be.value,
2365
2365
  popup: !0,
2366
2366
  "append-to": "body",
2367
2367
  "base-z-index": 10001,
@@ -2370,32 +2370,32 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2370
2370
  }, null, 8, ["model"])
2371
2371
  ], 4));
2372
2372
  }
2373
- }), Xn = { class: "top-field-icon pointer-events-none absolute left-3 top-1/2 z-10 -translate-y-1/2" }, Zn = {
2373
+ }), Yn = { class: "top-field-icon pointer-events-none absolute left-3 top-1/2 z-10 -translate-y-1/2" }, Xn = {
2374
2374
  key: 0,
2375
2375
  class: "pi pi-spin pi-spinner"
2376
- }, Qn = {
2376
+ }, Zn = {
2377
2377
  key: 1,
2378
2378
  class: "pi pi-search"
2379
- }, $n = {
2379
+ }, Qn = {
2380
2380
  key: 1,
2381
2381
  class: "flex items-center gap-1 !text-sm"
2382
- }, er = { class: "flex items-center gap-2 rounded-[9px] bg-primary-500 px-2 py-1 text-white" }, tr = ["onClick"], nr = { class: "line-clamp-1 max-w-[300px] overflow-hidden text-ellipsis" }, rr = {
2382
+ }, $n = { class: "flex items-center gap-2 rounded-[9px] bg-primary-500 px-2 py-1 text-white" }, er = ["onClick"], tr = { class: "line-clamp-1 max-w-[300px] overflow-hidden text-ellipsis" }, nr = {
2383
2383
  key: 1,
2384
2384
  class: "flex min-h-[100px] flex-col items-center justify-center gap-2 py-2"
2385
- }, ir = {
2385
+ }, rr = {
2386
2386
  key: 0,
2387
2387
  class: "text-xs font-medium text-primary-600"
2388
- }, ar = {
2388
+ }, ir = {
2389
2389
  key: 2,
2390
2390
  class: "text-xs text-secondary-500"
2391
- }, or = { key: 1 }, sr = {
2391
+ }, ar = { key: 1 }, or = {
2392
2392
  key: 1,
2393
2393
  class: "flex items-center gap-2 font-semibold"
2394
- }, cr = {
2394
+ }, sr = {
2395
2395
  key: 1,
2396
2396
  class: "flex w-full min-w-0 items-start gap-2 overflow-hidden px-2 py-3 text-sm",
2397
2397
  style: { "white-space": "normal" }
2398
- }, $ = ["title"], lr = {
2398
+ }, cr = ["title"], lr = {
2399
2399
  key: 0,
2400
2400
  class: "top-select-option-prefix whitespace-nowrap font-bold text-primary-800 dark:text-primary-100"
2401
2401
  }, ur = {
@@ -2480,21 +2480,21 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2480
2480
  }), B = n(() => {
2481
2481
  let { class: e, ...t } = T;
2482
2482
  return t;
2483
- }), V = n(() => I("top-field-control w-full h-auto text-xs", f.multiple ? "border-0 py-1 !shadow-none outline-none ring-0 rounded-[10px] pl-9 min-h-[40px]" : "border rounded-[10px] !pl-9 min-h-[36px]", T.class));
2484
- function ne(e, t) {
2483
+ }), V = n(() => f.multiple ? "w-full border-0 bg-transparent p-0 text-xs !shadow-none outline-none ring-0 rounded-none" : I("top-field-control w-full h-auto border rounded-[10px] !pl-9 min-h-[36px] text-xs", T.class)), ne = n(() => I("top-field-control w-full h-auto border bg-[var(--top-field-background)] !rounded-l-[10px] !rounded-r-none pl-9 min-h-[40px] text-xs", T.class));
2484
+ function re(e, t) {
2485
2485
  return e == null ? "" : String(typeof e == "object" ? e[t] ?? "" : e);
2486
2486
  }
2487
- function re(e) {
2488
- return e == null ? "" : typeof f.optionLabel == "function" ? f.optionLabel(e) : ne(e, f.optionLabel);
2487
+ function U(e) {
2488
+ return e == null ? "" : typeof f.optionLabel == "function" ? f.optionLabel(e) : re(e, f.optionLabel);
2489
2489
  }
2490
- function ie(e) {
2491
- return f.optionPrefix ? ne(e, f.optionPrefix) : "";
2490
+ function W(e) {
2491
+ return f.optionPrefix ? re(e, f.optionPrefix) : "";
2492
2492
  }
2493
- function U(e, t = f.showSelectedPrefix) {
2494
- let n = re(e), r = ie(e);
2493
+ function G(e, t = f.showSelectedPrefix) {
2494
+ let n = U(e), r = W(e);
2495
2495
  return t && r ? `${r} - ${n}` : n;
2496
2496
  }
2497
- function W(e) {
2497
+ function K(e) {
2498
2498
  let t = k.value;
2499
2499
  if (!t) return [{
2500
2500
  text: e,
@@ -2506,37 +2506,37 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2506
2506
  highlighted: e.toLowerCase() === t.toLowerCase()
2507
2507
  }));
2508
2508
  }
2509
- function G() {
2509
+ function q() {
2510
2510
  P.value?.hide?.();
2511
2511
  }
2512
- function ae() {
2512
+ function ie() {
2513
2513
  typeof window > "u" || window.dispatchEvent(new CustomEvent("top-select:close-others", { detail: { instanceId: L } }));
2514
2514
  }
2515
- function oe(e) {
2516
- e.detail?.instanceId !== L && G();
2515
+ function J(e) {
2516
+ e.detail?.instanceId !== L && q();
2517
2517
  }
2518
- function K() {
2518
+ function Y() {
2519
2519
  if (f.disabled || R) {
2520
- G();
2520
+ q();
2521
2521
  return;
2522
2522
  }
2523
- N.value = !0, ae();
2523
+ N.value = !0, ie();
2524
2524
  }
2525
- function q() {
2526
- f.closeOnSelect && (N.value = !1, G(), m(G), R && clearTimeout(R), R = setTimeout(() => {
2527
- G(), R = null;
2525
+ function ae() {
2526
+ f.closeOnSelect && (N.value = !1, q(), m(q), R && clearTimeout(R), R = setTimeout(() => {
2527
+ q(), R = null;
2528
2528
  }, 200));
2529
2529
  }
2530
- return r({ hideDropdown: G }), y(() => window.addEventListener("top-select:close-others", oe)), v(() => {
2531
- window.removeEventListener("top-select:close-others", oe), R && clearTimeout(R);
2530
+ return r({ hideDropdown: q }), y(() => window.addEventListener("top-select:close-others", J)), v(() => {
2531
+ window.removeEventListener("top-select:close-others", J), R && clearTimeout(R);
2532
2532
  }), A(() => f.disabled, (e) => {
2533
- e && (N.value = !1, G());
2533
+ e && (N.value = !1, q());
2534
2534
  }), A(() => f.options, () => {
2535
- N.value || G();
2535
+ N.value || q();
2536
2536
  }), (n, r) => (b(), a("div", {
2537
2537
  class: h(["top-select top-solutions-component relative w-full", { "pointer-events-none": t.disabled }]),
2538
- onFocusin: K
2539
- }, [o("span", Xn, [w(n.$slots, "icon", { loading: t.loading }, () => [t.loading ? (b(), a("i", Zn)) : (b(), a("i", Qn))])]), l(O(E), p({
2538
+ onFocusin: Y
2539
+ }, [o("span", Yn, [w(n.$slots, "icon", { loading: t.loading }, () => [t.loading ? (b(), a("i", Xn)) : (b(), a("i", Zn))])]), l(O(E), p({
2540
2540
  ref_key: "autocompleteRef",
2541
2541
  ref: P
2542
2542
  }, B.value, {
@@ -2546,7 +2546,7 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2546
2546
  "option-group-children": t.optionGroupChildren ?? void 0,
2547
2547
  suggestions: t.options,
2548
2548
  "data-key": t.optionKey,
2549
- "option-label": (e) => U(e),
2549
+ "option-label": (e) => G(e),
2550
2550
  placeholder: t.placeholder,
2551
2551
  multiple: t.multiple,
2552
2552
  "min-length": t.minQueryLength,
@@ -2571,7 +2571,7 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2571
2571
  root: { class: ["w-full text-xs", t.multiple ? "h-auto" : "h-[40px]"].join(" ") },
2572
2572
  pcInputText: { root: { class: V.value } },
2573
2573
  input: { class: V.value },
2574
- inputMultiple: { class: V.value },
2574
+ inputMultiple: { class: ne.value },
2575
2575
  inputChip: { class: "py-0" },
2576
2576
  token: { class: "bg-primary-100 text-primary-900 rounded-md gap-2 px-2 my-1 dark:bg-primary-900 dark:text-primary-100" },
2577
2577
  removeTokenIcon: { class: "text-primary-900 w-3 h-3 cursor-pointer dark:text-primary-100" },
@@ -2593,45 +2593,45 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2593
2593
  k.value = "", _("clear");
2594
2594
  },
2595
2595
  onItemSelect: r[2] ||= (e) => {
2596
- k.value = "", _("select", e), q();
2596
+ k.value = "", _("select", e), ae();
2597
2597
  },
2598
2598
  onComplete: r[3] ||= (e) => {
2599
2599
  if (t.disabled) {
2600
- G();
2600
+ q();
2601
2601
  return;
2602
2602
  }
2603
- k.value = e.query ?? "", ae(), _("search", {
2603
+ k.value = e.query ?? "", ie(), _("search", {
2604
2604
  ...e,
2605
2605
  query: k.value
2606
2606
  });
2607
2607
  },
2608
2608
  onChange: r[4] ||= (e) => _("change", e)
2609
2609
  }), s({
2610
- chip: j((e) => [O(x).chip ? w(n.$slots, "chip", g(d(e)), void 0, void 0, 0) : (b(), a("div", $n, [o("div", er, [o("i", {
2610
+ chip: j((e) => [O(x).chip ? w(n.$slots, "chip", g(d(e)), void 0, void 0, 0) : (b(), a("div", Qn, [o("div", $n, [o("i", {
2611
2611
  class: "pi pi-times-circle shrink-0 cursor-pointer rounded-full hover:bg-primary-800",
2612
2612
  onClick: (t) => e.removeCallback(t)
2613
- }, null, 8, tr), M((b(), a("span", nr, [c(D(U(e.value)), 1)])), [[
2613
+ }, null, 8, er), M((b(), a("span", tr, [c(D(G(e.value)), 1)])), [[
2614
2614
  O(F),
2615
- U(e.value),
2615
+ G(e.value),
2616
2616
  void 0,
2617
2617
  { top: !0 }
2618
2618
  ]])])]))]),
2619
- empty: j(() => [O(x).empty ? w(n.$slots, "empty", {}, void 0, void 0, 0) : t.loading ? (b(), a("div", rr, [r[5] ||= o("span", { class: "pi pi-spin pi-spinner text-2xl text-primary-600" }, null, -1), t.showLoadingMessage ? (b(), a("span", ir, D(t.loadingMessage), 1)) : i("", !0)])) : (b(), a("span", ar, D(t.emptyMessage), 1))]),
2620
- "selected-item": j((e) => [O(x)["selected-item"] ? w(n.$slots, "selected-item", g(d(e)), void 0, void 0, 0) : e.item ? (b(), a("span", or, D(U(e.item)), 1)) : i("", !0)]),
2621
- optiongroup: j((e) => [O(x)["option-group"] ? w(n.$slots, "option-group", g(d(e)), void 0, void 0, 0) : (b(), a("div", sr, [e.option.icon ? (b(), a("i", {
2619
+ empty: j(() => [O(x).empty ? w(n.$slots, "empty", {}, void 0, void 0, 0) : t.loading ? (b(), a("div", nr, [r[5] ||= o("span", { class: "pi pi-spin pi-spinner text-2xl text-primary-600" }, null, -1), t.showLoadingMessage ? (b(), a("span", rr, D(t.loadingMessage), 1)) : i("", !0)])) : (b(), a("span", ir, D(t.emptyMessage), 1))]),
2620
+ "selected-item": j((e) => [O(x)["selected-item"] ? w(n.$slots, "selected-item", g(d(e)), void 0, void 0, 0) : e.item ? (b(), a("span", ar, D(G(e.item)), 1)) : i("", !0)]),
2621
+ optiongroup: j((e) => [O(x)["option-group"] ? w(n.$slots, "option-group", g(d(e)), void 0, void 0, 0) : (b(), a("div", or, [e.option.icon ? (b(), a("i", {
2622
2622
  key: 0,
2623
2623
  class: h(e.option.icon)
2624
2624
  }, null, 2)) : i("", !0), o("span", null, D(e.option[t.optionGroupLabel ?? "label"]), 1)]))]),
2625
2625
  option: j((s) => [O(x).option ? w(n.$slots, "option", p(s, {
2626
- label: re(s.option),
2627
- prefix: ie(s.option),
2626
+ label: U(s.option),
2627
+ prefix: W(s.option),
2628
2628
  query: k.value
2629
- }), void 0, void 0, 0) : M((b(), a("div", cr, [o("span", {
2629
+ }), void 0, void 0, 0) : M((b(), a("div", sr, [o("span", {
2630
2630
  class: "top-select-option-label line-clamp-2 min-w-0 flex-1 text-secondary-700 dark:text-zinc-200",
2631
- title: re(s.option)
2632
- }, [t.showOptionPrefix && ie(s.option) ? (b(), a("span", lr, [(b(!0), a(e, null, C(W(ie(s.option)), (t, n) => (b(), a(e, { key: n }, [t.highlighted ? (b(), a("mark", ur, D(t.text), 1)) : (b(), a(e, { key: 1 }, [c(D(t.text), 1)], 64))], 64))), 128)), r[6] ||= o("span", { class: "font-bold text-secondary-500 dark:text-zinc-400" }, "\xA0-\xA0", -1)])) : i("", !0), (b(!0), a(e, null, C(W(re(s.option)), (t, n) => (b(), a(e, { key: n }, [t.highlighted ? (b(), a("mark", dr, D(t.text), 1)) : (b(), a(e, { key: 1 }, [c(D(t.text), 1)], 64))], 64))), 128))], 8, $)])), [[
2631
+ title: U(s.option)
2632
+ }, [t.showOptionPrefix && W(s.option) ? (b(), a("span", lr, [(b(!0), a(e, null, C(K(W(s.option)), (t, n) => (b(), a(e, { key: n }, [t.highlighted ? (b(), a("mark", ur, D(t.text), 1)) : (b(), a(e, { key: 1 }, [c(D(t.text), 1)], 64))], 64))), 128)), r[6] ||= o("span", { class: "font-bold text-secondary-500 dark:text-zinc-400" }, "\xA0-\xA0", -1)])) : i("", !0), (b(!0), a(e, null, C(K(U(s.option)), (t, n) => (b(), a(e, { key: n }, [t.highlighted ? (b(), a("mark", dr, D(t.text), 1)) : (b(), a(e, { key: 1 }, [c(D(t.text), 1)], 64))], 64))), 128))], 8, cr)])), [[
2633
2633
  O(F),
2634
- t.showTooltip ? re(s.option) : null,
2634
+ t.showTooltip ? U(s.option) : null,
2635
2635
  void 0,
2636
2636
  { top: !0 }
2637
2637
  ]])]),
@@ -2679,15 +2679,15 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2679
2679
  function o(e) {
2680
2680
  return String(e.value);
2681
2681
  }
2682
- return (n, s) => (b(), r(O(ae), p(n.$attrs, {
2682
+ return (n, s) => (b(), r(O(q), p(n.$attrs, {
2683
2683
  class: "top-tabs top-solutions-component w-full min-w-0",
2684
2684
  value: t.modelValue,
2685
2685
  lazy: t.lazy,
2686
2686
  scrollable: t.scrollable,
2687
2687
  "onUpdate:value": s[0] ||= (e) => i("update:modelValue", e)
2688
2688
  }), {
2689
- default: j(() => [l(O(U), null, {
2690
- default: j(() => [(b(!0), a(e, null, C(t.tabs, (e) => (b(), r(O(ie), {
2689
+ default: j(() => [l(O(W), null, {
2690
+ default: j(() => [(b(!0), a(e, null, C(t.tabs, (e) => (b(), r(O(U), {
2691
2691
  key: e.value,
2692
2692
  value: e.value,
2693
2693
  disabled: e.disabled
@@ -2696,8 +2696,8 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
2696
2696
  _: 2
2697
2697
  }, 1032, ["value", "disabled"]))), 128))]),
2698
2698
  _: 1
2699
- }), l(O(G), null, {
2700
- default: j(() => [(b(!0), a(e, null, C(t.tabs, (e) => (b(), r(O(W), {
2699
+ }), l(O(K), null, {
2700
+ default: j(() => [(b(!0), a(e, null, C(t.tabs, (e) => (b(), r(O(G), {
2701
2701
  key: e.value,
2702
2702
  value: e.value
2703
2703
  }, {
@@ -2780,7 +2780,7 @@ var hr = Symbol("top-accordion-context"), gr = /* @__PURE__ */ u({
2780
2780
  ref_key: "rootRef",
2781
2781
  ref: u,
2782
2782
  class: "top-accordion top-solutions-component"
2783
- }, [l(O(oe), p(t.$attrs, {
2783
+ }, [l(O(ie), p(t.$attrs, {
2784
2784
  value: d.value,
2785
2785
  multiple: e.multiple,
2786
2786
  "expand-icon": "pi pi-chevron-down",
@@ -2880,12 +2880,12 @@ var hr = Symbol("top-accordion-context"), gr = /* @__PURE__ */ u({
2880
2880
  return (t, n) => (b(), a("div", {
2881
2881
  id: y.value,
2882
2882
  class: "top-accordion-panel-anchor"
2883
- }, [l(O(se), p(t.$attrs, {
2883
+ }, [l(O(ae), p(t.$attrs, {
2884
2884
  value: e.value,
2885
2885
  disabled: m.value,
2886
2886
  class: "top-accordion-panel"
2887
2887
  }), {
2888
- default: j(() => [l(O(q), {
2888
+ default: j(() => [l(O(Y), {
2889
2889
  class: h(["top-accordion-panel__header", e.headerClass]),
2890
2890
  style: _(e.headerStyle)
2891
2891
  }, {
@@ -2910,7 +2910,7 @@ var hr = Symbol("top-accordion-context"), gr = /* @__PURE__ */ u({
2910
2910
  visible: !v.value
2911
2911
  }, null, 8, ["items", "visible"])], void 0, 1)])]),
2912
2912
  _: 3
2913
- }, 8, ["class", "style"]), l(O(K), null, {
2913
+ }, 8, ["class", "style"]), l(O(J), null, {
2914
2914
  default: j(() => [o("div", {
2915
2915
  class: h(["top-accordion-panel__content", e.contentClass]),
2916
2916
  style: _(e.contentStyle)
@@ -3046,7 +3046,7 @@ var hr = Symbol("top-accordion-context"), gr = /* @__PURE__ */ u({
3046
3046
  function d(e, t) {
3047
3047
  return `top-toast__${t}--${e.severity ?? "info"}`;
3048
3048
  }
3049
- return (f, p) => (b(), r(O(ce), {
3049
+ return (f, p) => (b(), r(O(oe), {
3050
3050
  position: "top-right",
3051
3051
  "base-z-index": e.baseZIndex
3052
3052
  }, {
@@ -3077,6 +3077,6 @@ var hr = Symbol("top-accordion-context"), gr = /* @__PURE__ */ u({
3077
3077
  }
3078
3078
  });
3079
3079
  //#endregion
3080
- export { gr as a, Yn as c, He as d, be as f, le as h, yr as i, Xe as l, ue as m, Pr as n, pr as o, he as p, Dr as r, fr as s, zr as t, Z as u };
3080
+ export { gr as a, Jn as c, Ve as d, ve as f, se as h, yr as i, Ye as l, ce as m, Pr as n, pr as o, pe as p, Dr as r, fr as s, zr as t, Q as u };
3081
3081
 
3082
- //# sourceMappingURL=TopToast-BYigZ3kA.js.map
3082
+ //# sourceMappingURL=TopToast-Cqe-vLPE.js.map