@opens/widget-ui 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { ref as H, shallowRef as _o, computed as f, toValue as ct, reactive as Xi, watch as ce, nextTick as Ne, defineComponent as Y, createElementBlock as C, openBlock as p, normalizeClass as Z, unref as R, renderSlot as ae, useSlots as nt, createBlock as E, withCtx as c, createElementVNode as N, createCommentVNode as L, withKeys as Cn, createTextVNode as T, onMounted as ks, onBeforeUnmount as Pt, normalizeStyle as ye, Fragment as se, renderList as le, resolveDynamicComponent as An, Comment as Fs, Text as Us, createVNode as y, isRef as So, toDisplayString as F, onUnmounted as ea, Teleport as ta, withModifiers as Ie, toRaw as na, withDirectives as Vs, vModelText as sa, vShow as oa, Transition as Eo, mergeProps as Ts, pushScopeId as ia, popScopeId as aa, normalizeProps as ra, guardReactiveProps as la, resolveComponent as bt, createApp as ua, h as ca, withScopeId as da } from "vue";
2
- function pa() {
1
+ import { ref as H, shallowRef as _o, computed as f, toValue as ct, reactive as Ji, watch as ce, nextTick as Ne, defineComponent as Y, createElementBlock as C, openBlock as p, normalizeClass as Z, unref as D, renderSlot as ae, useSlots as nt, createBlock as E, withCtx as c, createElementVNode as N, createCommentVNode as R, withKeys as Cn, createTextVNode as T, onMounted as ks, onBeforeUnmount as Pt, normalizeStyle as ye, Fragment as se, renderList as le, resolveDynamicComponent as An, Comment as Fs, Text as Us, createVNode as y, isRef as So, toDisplayString as F, onUnmounted as Xi, Teleport as ea, withModifiers as Ie, toRaw as ta, withDirectives as Vs, vModelText as na, vShow as sa, Transition as Eo, mergeProps as Ts, pushScopeId as oa, popScopeId as ia, normalizeProps as aa, guardReactiveProps as ra, resolveComponent as bt, createApp as la, h as ua, withScopeId as ca } from "vue";
2
+ function da() {
3
3
  return {
4
4
  maskPhone: (s) => {
5
5
  if (!s) return "";
@@ -19,17 +19,17 @@ function pa() {
19
19
  maskCpf: (s) => s.replace(/\D/g, "").slice(0, 11).replace(/^(\d{3})(\d)/, "$1.$2").replace(/^(\d{3})\.(\d{3})(\d)/, "$1.$2.$3").replace(/^(\d{3})\.(\d{3})\.(\d{3})(\d)/, "$1.$2.$3-$4")
20
20
  };
21
21
  }
22
- function fa() {
22
+ function pa() {
23
23
  return {};
24
24
  }
25
25
  const Cs = (e) => e.from === "system" || e.from === "operator" || e.from === "contact" ? e.from : e.provider ? e.provider === "opens" ? "operator" : "contact" : "system", $n = (e) => {
26
26
  const t = e.attachments?.data;
27
27
  return Array.isArray(t) ? t : [];
28
- }, Me = (e) => $n(e)[0], Po = (e) => typeof e.caption == "string" ? e.caption.trim() : "", ha = (e) => e.messageBody?.trim() ?? "", ma = (e) => {
28
+ }, Me = (e) => $n(e)[0], Po = (e) => typeof e.caption == "string" ? e.caption.trim() : "", fa = (e) => e.messageBody?.trim() ?? "", ha = (e) => {
29
29
  if (!e) return "";
30
30
  const t = e instanceof Date ? e : new Date(e);
31
31
  return Number.isNaN(t.getTime()) ? "" : t.toLocaleTimeString("pt-BR", { hour: "2-digit", minute: "2-digit" });
32
- }, Do = (e) => e.type === "document" && e.filename.toLowerCase().endsWith(".pdf"), ga = (e, t) => {
32
+ }, Do = (e) => e.type === "document" && e.filename.toLowerCase().endsWith(".pdf"), ma = (e, t) => {
33
33
  const n = t.metadata && typeof t.metadata == "object" ? t.metadata : null, o = e.selectedValue || (typeof n?.selectedValue == "string" ? n.selectedValue : void 0), s = e.selectedOption || (typeof n?.selectedOption == "string" ? n.selectedOption : void 0), i = e.selectedAt || (typeof n?.selectedAt == "string" ? n.selectedAt : void 0);
34
34
  return { selectedValue: o, selectedOption: s, selectedAt: i };
35
35
  }, Vt = (e) => {
@@ -38,7 +38,7 @@ const Cs = (e) => e.from === "system" || e.from === "operator" || e.from === "co
38
38
  try {
39
39
  const n = typeof t == "string" ? JSON.parse(t) : t;
40
40
  if (!n || !Array.isArray(n.menu)) return null;
41
- const { selectedValue: o, selectedOption: s, selectedAt: i } = ga(n, e), r = !!(o || s) || e.canBeInteractedWith === !1;
41
+ const { selectedValue: o, selectedOption: s, selectedAt: i } = ma(n, e), r = !!(o || s) || e.canBeInteractedWith === !1;
42
42
  return {
43
43
  description: n.description || "",
44
44
  selectedOption: s,
@@ -56,11 +56,11 @@ const Cs = (e) => e.from === "system" || e.from === "operator" || e.from === "co
56
56
  } catch {
57
57
  return null;
58
58
  }
59
- }, wa = (e, t) => {
59
+ }, ga = (e, t) => {
60
60
  if (!e || !t) return !1;
61
61
  const n = new Date(e), o = new Date(t);
62
62
  return Number.isNaN(n.getTime()) || Number.isNaN(o.getTime()) ? !1 : Math.floor(n.getTime() / 6e4) === Math.floor(o.getTime() / 6e4);
63
- }, va = (e) => !!(e && e.messageType === "image" && !Po(e)), ya = (e = []) => {
63
+ }, wa = (e) => !!(e && e.messageType === "image" && !Po(e)), va = (e = []) => {
64
64
  if (!e.length) return [];
65
65
  const t = [];
66
66
  let n = [];
@@ -86,7 +86,7 @@ const Cs = (e) => e.from === "system" || e.from === "operator" || e.from === "co
86
86
  }
87
87
  };
88
88
  for (const s of e) {
89
- if (!va(s)) {
89
+ if (!wa(s)) {
90
90
  o(), t.push(s);
91
91
  continue;
92
92
  }
@@ -95,21 +95,21 @@ const Cs = (e) => e.from === "system" || e.from === "operator" || e.from === "co
95
95
  continue;
96
96
  }
97
97
  const i = n[n.length - 1];
98
- if (i.from === s.from && wa(i.createdAt, s.createdAt)) {
98
+ if (i.from === s.from && ga(i.createdAt, s.createdAt)) {
99
99
  n.push(s);
100
100
  continue;
101
101
  }
102
102
  o(), n.push(s);
103
103
  }
104
104
  return o(), t;
105
- }, ba = (e) => e?.data?.length ? {
105
+ }, ya = (e) => e?.data?.length ? {
106
106
  data: e.data.map((t) => ({ ...t }))
107
- } : null, xa = (e) => e?.map((t) => ns(t)), ns = (e) => ({
107
+ } : null, ba = (e) => e?.map((t) => ns(t)), ns = (e) => ({
108
108
  ...e,
109
109
  from: Cs(e),
110
110
  caption: e.caption ?? null,
111
- attachments: ba(e.attachments),
112
- ...e.messages ? { messages: xa(e.messages) } : {}
111
+ attachments: ya(e.attachments),
112
+ ...e.messages ? { messages: ba(e.messages) } : {}
113
113
  });
114
114
  class xt {
115
115
  payload;
@@ -138,7 +138,7 @@ class xt {
138
138
  return Me(this.payload);
139
139
  }
140
140
  }
141
- const ka = [
141
+ const xa = [
142
142
  "canBeInteractedWith",
143
143
  "recipientId",
144
144
  "chatRoomId",
@@ -147,9 +147,9 @@ const ka = [
147
147
  "provider",
148
148
  "metadata",
149
149
  "id"
150
- ], Ta = (e) => {
150
+ ], ka = (e) => {
151
151
  const t = {};
152
- for (const n of ka)
152
+ for (const n of xa)
153
153
  e[n] !== void 0 && (t[n] = e[n]);
154
154
  return t;
155
155
  }, Ws = (e, t = "") => typeof e == "string" ? e : e == null ? t : String(e);
@@ -167,7 +167,7 @@ class Ro {
167
167
  const n = typeof t.caption == "string" || t.caption === null ? t.caption : t.caption === void 0 ? void 0 : null;
168
168
  return this.payload = {
169
169
  ...this.payload,
170
- ...Ta(t),
170
+ ...ka(t),
171
171
  messageType: Ws(t.messageType, "text") || "text",
172
172
  messageBody: Ws(t.messageBody),
173
173
  ...n !== void 0 ? { caption: n } : {}
@@ -185,8 +185,8 @@ class Ro {
185
185
  });
186
186
  }
187
187
  }
188
- const zn = H([]), jn = H([]), Ca = H(""), Aa = _o([]), $a = _o(null), _a = H(!1), Sa = H(!1), Ea = H(!1), Pa = H(!1), Da = H(!1), Lt = (e) => xt.fromJSON(e).toJSON();
189
- function Ra() {
188
+ const zn = H([]), jn = H([]), Ta = H(""), Ca = _o([]), Aa = _o(null), $a = H(!1), _a = H(!1), Sa = H(!1), Ea = H(!1), Pa = H(!1), Lt = (e) => xt.fromJSON(e).toJSON();
189
+ function Da() {
190
190
  const e = (i) => {
191
191
  zn.value.push(Lt(i));
192
192
  }, t = (i) => {
@@ -194,15 +194,15 @@ function Ra() {
194
194
  };
195
195
  return {
196
196
  unreadMessagesCount: f(() => jn.value.length),
197
- isSendingMessage: _a,
198
- isErrorLoading: Sa,
199
- attachments: Aa,
200
- isFinished: Ea,
201
- isLoading: Pa,
197
+ isSendingMessage: $a,
198
+ isErrorLoading: _a,
199
+ attachments: Ca,
200
+ isFinished: Sa,
201
+ isLoading: Ea,
202
202
  messages: zn,
203
- isTyping: Da,
204
- audio: $a,
205
- text: Ca,
203
+ isTyping: Pa,
204
+ audio: Aa,
205
+ text: Ta,
206
206
  setUnreadMessages: (i) => {
207
207
  jn.value = i.map(Lt);
208
208
  },
@@ -213,8 +213,8 @@ function Ra() {
213
213
  addMessage: e
214
214
  };
215
215
  }
216
- function La() {
217
- const e = Ra(), t = fa();
216
+ function Ra() {
217
+ const e = Da(), t = pa();
218
218
  return {
219
219
  chat: e,
220
220
  voice: t
@@ -240,7 +240,7 @@ const Fn = H(!1), lt = H([]), Un = H(void 0), De = H(void 0), Vn = H(void 0), ss
240
240
  }), i = f(() => !De.value || !s.value ? [] : t(De.value, s.value.id)), a = f(() => {
241
241
  const v = s.value?.settings?.header;
242
242
  return Lo(v) ? v : ss.value;
243
- }), r = f(() => Vn.value?.configurations.general.language ?? "pt-BR"), l = La();
243
+ }), r = f(() => Vn.value?.configurations.general.language ?? "pt-BR"), l = Ra();
244
244
  return {
245
245
  currentRuleId: Un,
246
246
  currentHeader: a,
@@ -279,15 +279,15 @@ const Fn = H(!1), lt = H([]), Un = H(void 0), De = H(void 0), Vn = H(void 0), ss
279
279
  popHistory: () => lt.value.pop(),
280
280
  ...l
281
281
  };
282
- }, Je = (e) => e === "name", Gs = (e) => !!e?.trim(), Ba = (e) => {
282
+ }, Je = (e) => e === "name", Gs = (e) => !!e?.trim(), La = (e) => {
283
283
  const t = e.filter((o) => Je(o.name)), n = e.filter((o) => !Je(o.name));
284
284
  return [...t, ...n];
285
285
  };
286
- function Oa(e, t) {
287
- const { maskPhone: n, maskCpf: o } = pa(), { history: s } = st(), i = H(0), a = H("forward"), r = H(null), l = f(() => {
286
+ function Ba(e, t) {
287
+ const { maskPhone: n, maskCpf: o } = da(), { history: s } = st(), i = H(0), a = H("forward"), r = H(null), l = f(() => {
288
288
  const B = ct(e), W = B.settings?.form && B.settings.form.fields || [];
289
- return Ba(W);
290
- }), u = Xi(Object.fromEntries(l.value.map((B) => [B.name, ""]))), m = f(() => l.value[i.value]), d = f(() => i.value >= l.value.length - 1), h = f(() => s.value.length > 0 || i.value > 0), g = f(() => a.value === "back" ? "step-back" : "step-forward");
289
+ return La(W);
290
+ }), u = Ji(Object.fromEntries(l.value.map((B) => [B.name, ""]))), m = f(() => l.value[i.value]), d = f(() => i.value >= l.value.length - 1), h = f(() => s.value.length > 0 || i.value > 0), g = f(() => a.value === "back" ? "step-back" : "step-forward");
291
291
  ce(i, async () => {
292
292
  await Ne();
293
293
  const B = r.value;
@@ -363,7 +363,7 @@ function Bo(e) {
363
363
  width: o
364
364
  };
365
365
  }
366
- function Ia(e, t) {
366
+ function Oa(e, t) {
367
367
  const n = f(() => ({
368
368
  "!wu-font-plus": t.plus,
369
369
  "!wu-font-inter": t.inter,
@@ -409,7 +409,7 @@ function Ia(e, t) {
409
409
  }));
410
410
  return { fontClass: n, colorClass: o, weightClass: s, sizeClass: i };
411
411
  }
412
- const Na = /* @__PURE__ */ Y({
412
+ const Ia = /* @__PURE__ */ Y({
413
413
  __name: "app-text",
414
414
  props: {
415
415
  extraSmall: { type: Boolean },
@@ -437,9 +437,9 @@ const Na = /* @__PURE__ */ Y({
437
437
  white: { type: Boolean }
438
438
  },
439
439
  setup(e) {
440
- const t = e, { fontClass: n, colorClass: o, weightClass: s, sizeClass: i } = Ia("text", t);
440
+ const t = e, { fontClass: n, colorClass: o, weightClass: s, sizeClass: i } = Oa("text", t);
441
441
  return (a, r) => (p(), C("p", {
442
- class: Z(["wu-font-primary wu-text-sm wu-font-normal wu-text-gray-900 dark:wu-text-neutral-100", [R(n), R(o), R(s), R(i)]])
442
+ class: Z(["wu-font-primary wu-text-sm wu-font-normal wu-text-gray-900 dark:wu-text-neutral-100", [D(n), D(o), D(s), D(i)]])
443
443
  }, [
444
444
  ae(a.$slots, "default", {}, void 0, !0)
445
445
  ], 2));
@@ -449,7 +449,7 @@ const Na = /* @__PURE__ */ Y({
449
449
  for (const [o, s] of t)
450
450
  n[o] = s;
451
451
  return n;
452
- }, U = /* @__PURE__ */ ot(Na, [["__scopeId", "data-v-5fc0fe9d"]]), J = /* @__PURE__ */ Y({
452
+ }, U = /* @__PURE__ */ ot(Ia, [["__scopeId", "data-v-5fc0fe9d"]]), J = /* @__PURE__ */ Y({
453
453
  __name: "app-group",
454
454
  props: {
455
455
  fit: { type: Boolean },
@@ -500,10 +500,10 @@ const Na = /* @__PURE__ */ Y({
500
500
  ae(g.$slots, "default")
501
501
  ], 2));
502
502
  }
503
- }), Ma = {
503
+ }), Na = {
504
504
  class: "wu-flex wu-flex-col wu-items-stretch wu-w-full wu-cursor-text wu-gap-1",
505
505
  "data-testid": "app-form-text-input"
506
- }, Ha = ["value", "type", "placeholder", "disabled", "maxlength", "aria-invalid"], Oo = /* @__PURE__ */ Y({
506
+ }, Ma = ["value", "type", "placeholder", "disabled", "maxlength", "aria-invalid"], Oo = /* @__PURE__ */ Y({
507
507
  __name: "app-form-text-input",
508
508
  props: {
509
509
  modelValue: { default: "" },
@@ -552,12 +552,12 @@ const Na = /* @__PURE__ */ Y({
552
552
  focus: l,
553
553
  content: r
554
554
  }), (x, A) => (p(), E(J, {
555
- class: Z([R(m), w.value]),
555
+ class: Z([D(m), w.value]),
556
556
  col: "",
557
557
  "gap-none": ""
558
558
  }, {
559
559
  default: c(() => [
560
- N("label", Ma, [
560
+ N("label", Na, [
561
561
  a("default") ? (p(), E(U, {
562
562
  key: 0,
563
563
  small: "",
@@ -568,7 +568,7 @@ const Na = /* @__PURE__ */ Y({
568
568
  ae(x.$slots, "default")
569
569
  ]),
570
570
  _: 3
571
- }, 8, ["class"])) : L("", !0),
571
+ }, 8, ["class"])) : R("", !0),
572
572
  N("input", {
573
573
  class: Z(["wu-w-full wu-bg-transparent wu-border-0 wu-outline-none wu-p-0 wu-m-0 wu-appearance-none wu-font-primary wu-text-2xl wu-leading-tight wu-caret-gray-900 dark:wu-caret-white", [h.value]]),
574
574
  value: r.value,
@@ -581,20 +581,20 @@ const Na = /* @__PURE__ */ Y({
581
581
  onFocus: A[0] || (A[0] = (v) => l.value = !0),
582
582
  onBlur: A[1] || (A[1] = (v) => l.value = !1),
583
583
  onKeyup: A[2] || (A[2] = Cn((v) => s("keyup-enter"), ["enter"]))
584
- }, null, 42, Ha)
584
+ }, null, 42, Ma)
585
585
  ]),
586
586
  a("feedback") ? (p(), C("div", {
587
587
  key: 0,
588
588
  class: Z(["wu-mt-1", [g.value]])
589
589
  }, [
590
590
  ae(x.$slots, "feedback")
591
- ], 2)) : L("", !0)
591
+ ], 2)) : R("", !0)
592
592
  ]),
593
593
  _: 3
594
594
  }, 8, ["class"]));
595
595
  }
596
596
  });
597
- function za(e) {
597
+ function Ha(e) {
598
598
  const t = f(() => e.fit ? "wu-h-auto wu-min-h-0" : e.small ? "!wu-h-8 !wu-min-h-[2rem]" : ""), n = f(() => "!wu-text-xs"), o = f(() => e.fit ? "wu-px-3 wu-py-2" : e.small ? "wu-px-[0.625rem]" : "wu-p-[0.9rem]"), s = f(() => e.fluid ? "!wu-w-full" : e.fit ? "wu-w-fit wu-max-w-full" : "wu-w-fit");
599
599
  return {
600
600
  height: t,
@@ -624,7 +624,7 @@ const z = /* @__PURE__ */ Y({
624
624
  ae(i.$slots, "default")
625
625
  ], 2));
626
626
  }
627
- }), ja = ["disabled"], Fa = { class: "wu-flex wu-items-center wu-justify-center wu-gap-2" }, te = /* @__PURE__ */ Y({
627
+ }), za = ["disabled"], ja = { class: "wu-flex wu-items-center wu-justify-center wu-gap-2" }, te = /* @__PURE__ */ Y({
628
628
  __name: "app-button",
629
629
  props: {
630
630
  small: Boolean,
@@ -649,15 +649,15 @@ const z = /* @__PURE__ */ Y({
649
649
  function o(w) {
650
650
  return !!n.value[w];
651
651
  }
652
- const { height: s, textSize: i, padding: a, width: r } = za(t), l = f(() => t.soft ? "wu-bg-primary-50 !wu-text-primary-400" : t.alert ? "wu-bg-red-500 !wu-text-white" : t.warning ? "wu-bg-amber-500 !wu-text-white" : t.success ? "wu-bg-green-500 !wu-text-white" : t.outline ? "wu-bg-transparent !wu-border-gray-200 hover:!wu-bg-gray-100 hover:!wu-border-gray-300 dark:!wu-border-neutral-600 dark:hover:!wu-bg-neutral-700 dark:hover:!wu-border-neutral-500 dark:!wu-text-neutral-100" : t.ghost ? "wu-bg-transparent !wu-text-gray-700 hover:!wu-bg-gray-100 dark:!wu-text-neutral-200 dark:hover:!wu-bg-neutral-700" : t.link ? "wu-bg-transparent !wu-text-blue-600 hover:wu-underline" : "wu-bg-primary-500 !wu-text-[var(--wu-primary-fg)]"), u = f(() => t.block ? "wu-rounded-none" : t.round ? "wu-rounded-full" : "wu-rounded-lg"), m = f(() => t.icon && t.small ? "!wu-w-8 !wu-h-8 wu-p-0" : t.icon ? "!wu-w-11 !wu-h-11 wu-p-0" : a.value), d = f(() => t.icon ? "wu-justify-center" : t.fit ? "wu-justify-start wu-text-left" : "wu-justify-between"), h = f(() => t.fit ? "wu-leading-snug [overflow-wrap:anywhere]" : ""), g = f(() => t.disabled || t.loading ? "wu-opacity-50 wu-pointer-events-none" : "");
652
+ const { height: s, textSize: i, padding: a, width: r } = Ha(t), l = f(() => t.soft ? "wu-bg-primary-50 !wu-text-primary-400" : t.alert ? "wu-bg-red-500 !wu-text-white" : t.warning ? "wu-bg-amber-500 !wu-text-white" : t.success ? "wu-bg-green-500 !wu-text-white" : t.outline ? "wu-bg-transparent !wu-border-gray-200 hover:!wu-bg-gray-100 hover:!wu-border-gray-300 dark:!wu-border-neutral-600 dark:hover:!wu-bg-neutral-700 dark:hover:!wu-border-neutral-500 dark:!wu-text-neutral-100" : t.ghost ? "wu-bg-transparent !wu-text-gray-700 hover:!wu-bg-gray-100 dark:!wu-text-neutral-200 dark:hover:!wu-bg-neutral-700" : t.link ? "wu-bg-transparent !wu-text-blue-600 hover:wu-underline" : "wu-bg-primary-500 !wu-text-[var(--wu-primary-fg)]"), u = f(() => t.block ? "wu-rounded-none" : t.round ? "wu-rounded-full" : "wu-rounded-lg"), m = f(() => t.icon && t.small ? "!wu-w-8 !wu-h-8 wu-p-0" : t.icon ? "!wu-w-11 !wu-h-11 wu-p-0" : a.value), d = f(() => t.icon ? "wu-justify-center" : t.fit ? "wu-justify-start wu-text-left" : "wu-justify-between"), h = f(() => t.fit ? "wu-leading-snug [overflow-wrap:anywhere]" : ""), g = f(() => t.disabled || t.loading ? "wu-opacity-50 wu-pointer-events-none" : "");
653
653
  return (w, b) => (p(), C("button", {
654
- class: Z(["wu-inline-flex wu-items-center wu-gap-2 wu-cursor-pointer wu-transition-all wu-border wu-border-transparent disabled:wu-opacity-50 disabled:wu-pointer-events-none hover:wu-opacity-80 focus:wu-outline-hidden focus:wu-opacity-80", [R(i), l.value, u.value, R(r), R(s), g.value, m.value, d.value, h.value]]),
654
+ class: Z(["wu-inline-flex wu-items-center wu-gap-2 wu-cursor-pointer wu-transition-all wu-border wu-border-transparent disabled:wu-opacity-50 disabled:wu-pointer-events-none hover:wu-opacity-80 focus:wu-outline-hidden focus:wu-opacity-80", [D(i), l.value, u.value, D(r), D(s), g.value, m.value, d.value, h.value]]),
655
655
  type: "button",
656
656
  disabled: e.disabled || e.loading,
657
657
  "data-testid": "app-button",
658
658
  onClick: b[0] || (b[0] = (x) => w.$emit("click", x))
659
659
  }, [
660
- N("div", Fa, [
660
+ N("div", ja, [
661
661
  e.loading ? (p(), E(z, {
662
662
  key: 0,
663
663
  class: "wu-animate-spin wu-flex wu-items-center wu-justify-center",
@@ -676,7 +676,7 @@ const z = /* @__PURE__ */ Y({
676
676
  ae(w.$slots, "icon")
677
677
  ]),
678
678
  _: 3
679
- })) : L("", !0),
679
+ })) : R("", !0),
680
680
  !e.loading && o("default") ? (p(), E(U, {
681
681
  key: 2,
682
682
  class: "!wu-text-inherit",
@@ -686,7 +686,7 @@ const z = /* @__PURE__ */ Y({
686
686
  ae(w.$slots, "default")
687
687
  ]),
688
688
  _: 3
689
- })) : L("", !0)
689
+ })) : R("", !0)
690
690
  ]),
691
691
  !e.loading && o("trailing") ? (p(), E(z, {
692
692
  key: 0,
@@ -696,10 +696,10 @@ const z = /* @__PURE__ */ Y({
696
696
  ae(w.$slots, "trailing")
697
697
  ]),
698
698
  _: 3
699
- })) : L("", !0)
700
- ], 10, ja));
699
+ })) : R("", !0)
700
+ ], 10, za));
701
701
  }
702
- }), Ua = ["aria-hidden"], Va = /* @__PURE__ */ Y({
702
+ }), Fa = ["aria-hidden"], Ua = /* @__PURE__ */ Y({
703
703
  __name: "app-carousel",
704
704
  props: {
705
705
  modelValue: { default: 0 },
@@ -786,11 +786,11 @@ const z = /* @__PURE__ */ Y({
786
786
  "data-testid": "app-carousel-slide"
787
787
  }, [
788
788
  (p(), E(An(M)))
789
- ], 10, Ua))), 128))
789
+ ], 10, Fa))), 128))
790
790
  ], 6)
791
791
  ], 6));
792
792
  }
793
- }), As = /* @__PURE__ */ ot(Va, [["__scopeId", "data-v-96f06600"]]), Wa = { class: "wu-flex wu-flex-col wu-w-full wu-h-full" }, qa = { class: "wu-relative wu-flex wu-items-center wu-w-full wu-shrink-0" }, Ga = { class: "wu-flex wu-shrink-0 wu-items-center wu-w-fit wu-justify-center wu-px-6 wu-py-4" }, Ka = { class: "wu-absolute wu-inset-0 wu-flex wu-items-center wu-justify-center wu-pointer-events-none" }, Qa = { class: "wu-flex wu-items-center wu-gap-1.5" }, Io = /* @__PURE__ */ Y({
793
+ }), As = /* @__PURE__ */ ot(Ua, [["__scopeId", "data-v-96f06600"]]), Va = { class: "wu-flex wu-flex-col wu-w-full wu-h-full" }, Wa = { class: "wu-relative wu-flex wu-items-center wu-w-full wu-shrink-0" }, qa = { class: "wu-flex wu-shrink-0 wu-items-center wu-w-fit wu-justify-center wu-px-6 wu-py-4" }, Ga = { class: "wu-absolute wu-inset-0 wu-flex wu-items-center wu-justify-center wu-pointer-events-none" }, Ka = { class: "wu-flex wu-items-center wu-gap-1.5" }, Io = /* @__PURE__ */ Y({
794
794
  __name: "app-identification-page",
795
795
  props: {
796
796
  rule: {},
@@ -811,14 +811,14 @@ const z = /* @__PURE__ */ Y({
811
811
  fieldType: g,
812
812
  fieldMask: w,
813
813
  goBack: b
814
- } = Oa(() => n.rule, o);
815
- return (x, A) => (p(), C("div", Wa, [
816
- N("div", qa, [
817
- N("div", Ga, [
814
+ } = Ba(() => n.rule, o);
815
+ return (x, A) => (p(), C("div", Va, [
816
+ N("div", Wa, [
817
+ N("div", qa, [
818
818
  N("div", {
819
- class: Z(["wu-flex wu-items-center wu-w-fit wu-justify-center wu-cursor-pointer wu-group", { "wu-invisible wu-pointer-events-none": !R(a) }]),
819
+ class: Z(["wu-flex wu-items-center wu-w-fit wu-justify-center wu-cursor-pointer wu-group", { "wu-invisible wu-pointer-events-none": !D(a) }]),
820
820
  onClick: A[0] || (A[0] = //@ts-ignore
821
- (...v) => R(b) && R(b)(...v))
821
+ (...v) => D(b) && D(b)(...v))
822
822
  }, [
823
823
  y(z, {
824
824
  class: "wu-transition-colors group-hover:!wu-text-gray-700 dark:group-hover:!wu-text-neutral-200",
@@ -843,10 +843,10 @@ const z = /* @__PURE__ */ Y({
843
843
  })
844
844
  ], 2)
845
845
  ]),
846
- N("div", Ka, [
847
- N("div", Qa, [
848
- (p(!0), C(se, null, le(R(r), (v, k) => (p(), C("div", {
849
- class: Z(["wu-h-1 wu-w-6 wu-rounded-full wu-transition-colors", k <= R(s) ? "wu-bg-gray-900 dark:wu-bg-white" : "wu-bg-gray-200 dark:wu-bg-neutral-600"]),
846
+ N("div", Ga, [
847
+ N("div", Ka, [
848
+ (p(!0), C(se, null, le(D(r), (v, k) => (p(), C("div", {
849
+ class: Z(["wu-h-1 wu-w-6 wu-rounded-full wu-transition-colors", k <= D(s) ? "wu-bg-gray-900 dark:wu-bg-white" : "wu-bg-gray-200 dark:wu-bg-neutral-600"]),
850
850
  key: k
851
851
  }, null, 2))), 128))
852
852
  ])
@@ -859,13 +859,13 @@ const z = /* @__PURE__ */ Y({
859
859
  }, [
860
860
  y(As, {
861
861
  class: "wu-w-full wu-h-full",
862
- modelValue: R(s),
862
+ modelValue: D(s),
863
863
  "onUpdate:modelValue": A[1] || (A[1] = (v) => So(s) ? s.value = v : null),
864
864
  vertical: "",
865
865
  fill: ""
866
866
  }, {
867
867
  default: c(() => [
868
- (p(!0), C(se, null, le(R(r), (v, k) => (p(), E(J, {
868
+ (p(!0), C(se, null, le(D(r), (v, k) => (p(), E(J, {
869
869
  class: "wu-w-full wu-gap-8",
870
870
  key: v.name,
871
871
  col: "",
@@ -878,28 +878,28 @@ const z = /* @__PURE__ */ Y({
878
878
  "gap-sm": ""
879
879
  }, {
880
880
  default: c(() => [
881
- R(d)(k).title ? (p(), E(U, {
881
+ D(d)(k).title ? (p(), E(U, {
882
882
  key: 0,
883
883
  class: "wu-text-left",
884
884
  "extra-large": "",
885
885
  semibold: ""
886
886
  }, {
887
887
  default: c(() => [
888
- T(F(R(d)(k).title), 1)
888
+ T(F(D(d)(k).title), 1)
889
889
  ]),
890
890
  _: 2
891
- }, 1024)) : L("", !0),
892
- R(d)(k).subtitle ? (p(), E(U, {
891
+ }, 1024)) : R("", !0),
892
+ D(d)(k).subtitle ? (p(), E(U, {
893
893
  key: 1,
894
894
  class: "wu-text-left",
895
895
  small: "",
896
896
  gray: ""
897
897
  }, {
898
898
  default: c(() => [
899
- T(F(R(d)(k).subtitle), 1)
899
+ T(F(D(d)(k).subtitle), 1)
900
900
  ]),
901
901
  _: 2
902
- }, 1024)) : L("", !0),
902
+ }, 1024)) : R("", !0),
903
903
  y(U, {
904
904
  class: "wu-opacity-50 wu-absolute -wu-top-2 wu-right-0",
905
905
  gray: "",
@@ -921,12 +921,12 @@ const z = /* @__PURE__ */ Y({
921
921
  }, {
922
922
  default: c(() => [
923
923
  y(Oo, {
924
- modelValue: R(l)[v.name],
925
- "onUpdate:modelValue": (_) => R(l)[v.name] = _,
926
- "mask-function": R(w)(v.name),
927
- placeholder: R(h)(v),
928
- type: R(g)(v.name),
929
- onKeyupEnter: R(u),
924
+ modelValue: D(l)[v.name],
925
+ "onUpdate:modelValue": (_) => D(l)[v.name] = _,
926
+ "mask-function": D(w)(v.name),
927
+ placeholder: D(h)(v),
928
+ type: D(g)(v.name),
929
+ onKeyupEnter: D(u),
930
930
  fluid: ""
931
931
  }, {
932
932
  default: c(() => [
@@ -936,14 +936,14 @@ const z = /* @__PURE__ */ Y({
936
936
  }, 1032, ["modelValue", "onUpdate:modelValue", "mask-function", "placeholder", "type", "onKeyupEnter"]),
937
937
  y(te, {
938
938
  fluid: "",
939
- disabled: !R(m)(k),
940
- onClick: R(u)
939
+ disabled: !D(m)(k),
940
+ onClick: D(u)
941
941
  }, {
942
942
  trailing: c(() => [...A[4] || (A[4] = [
943
943
  T("arrow_forward", -1)
944
944
  ])]),
945
945
  default: c(() => [
946
- T(F(k >= R(r).length - 1 ? "Finalizar" : "Continuar"), 1)
946
+ T(F(k >= D(r).length - 1 ? "Finalizar" : "Continuar"), 1)
947
947
  ]),
948
948
  _: 2
949
949
  }, 1032, ["disabled", "onClick"])
@@ -959,7 +959,7 @@ const z = /* @__PURE__ */ Y({
959
959
  ], 512)
960
960
  ]));
961
961
  }
962
- }), Za = ["disabled"], Ya = ["src"], No = /* @__PURE__ */ Y({
962
+ }), Qa = ["disabled"], Za = ["src"], No = /* @__PURE__ */ Y({
963
963
  __name: "app-widget-anchor",
964
964
  props: {
965
965
  small: Boolean,
@@ -1004,7 +1004,7 @@ const z = /* @__PURE__ */ Y({
1004
1004
  src: e.logo,
1005
1005
  alt: "",
1006
1006
  "data-testid": "app-anchor-logo"
1007
- }, null, 10, Ya)) : L("", !0),
1007
+ }, null, 10, Za)) : R("", !0),
1008
1008
  n.value ? (p(), E(U, {
1009
1009
  key: 2,
1010
1010
  class: "!wu-text-inherit wu-whitespace-nowrap",
@@ -1015,10 +1015,10 @@ const z = /* @__PURE__ */ Y({
1015
1015
  T(F(e.label), 1)
1016
1016
  ]),
1017
1017
  _: 1
1018
- }, 8, ["small"])) : L("", !0)
1019
- ], 10, Za));
1018
+ }, 8, ["small"])) : R("", !0)
1019
+ ], 10, Qa));
1020
1020
  }
1021
- }), Ja = "widgets", Xa = {
1021
+ }), Ya = "widgets", Ja = {
1022
1022
  "widget-identification-screen": "assignment",
1023
1023
  "widget-base-screen": "desktop_windows",
1024
1024
  "widget-article-screen": "description",
@@ -1026,21 +1026,21 @@ const z = /* @__PURE__ */ Y({
1026
1026
  }, Ks = {
1027
1027
  chat: "chat",
1028
1028
  voice: "phone_in_talk"
1029
- }, er = (e) => {
1029
+ }, Xa = (e) => {
1030
1030
  if (e.action === "widget-service-screen") {
1031
1031
  const t = e.settings?.behavior;
1032
1032
  if (t && t in Ks) return Ks[t];
1033
1033
  }
1034
- return Xa[e.action] ?? Ja;
1035
- }, tr = {
1034
+ return Ja[e.action] ?? Ya;
1035
+ }, er = {
1036
1036
  key: 0,
1037
1037
  class: "wu-flex wu-flex-col wu-items-center wu-gap-2",
1038
1038
  "data-testid": "app-edge"
1039
- }, nr = ["src"], sr = {
1039
+ }, tr = ["src"], nr = {
1040
1040
  key: 1,
1041
1041
  class: "wu-w-full wu-max-w-[25rem]",
1042
1042
  "data-testid": "app-edge"
1043
- }, or = ["src"], kt = /* @__PURE__ */ Y({
1043
+ }, sr = ["src"], kt = /* @__PURE__ */ Y({
1044
1044
  __name: "app-edge",
1045
1045
  props: {
1046
1046
  edge: {},
@@ -1048,8 +1048,8 @@ const z = /* @__PURE__ */ Y({
1048
1048
  },
1049
1049
  emits: ["click"],
1050
1050
  setup(e, { emit: t }) {
1051
- const n = e, o = t, s = f(() => n.edge.settings?.header?.logo), i = f(() => er(n.edge));
1052
- return (a, r) => e.icon ? (p(), C("div", tr, [
1051
+ const n = e, o = t, s = f(() => n.edge.settings?.header?.logo), i = f(() => Xa(n.edge));
1052
+ return (a, r) => e.icon ? (p(), C("div", er, [
1053
1053
  y(te, {
1054
1054
  outline: "",
1055
1055
  icon: "",
@@ -1061,7 +1061,7 @@ const z = /* @__PURE__ */ Y({
1061
1061
  class: "wu-w-5 wu-h-5 wu-object-contain",
1062
1062
  src: s.value,
1063
1063
  alt: ""
1064
- }, null, 8, nr)) : (p(), C(se, { key: 1 }, [
1064
+ }, null, 8, tr)) : (p(), C(se, { key: 1 }, [
1065
1065
  T(F(i.value), 1)
1066
1066
  ], 64))
1067
1067
  ]),
@@ -1076,7 +1076,7 @@ const z = /* @__PURE__ */ Y({
1076
1076
  ]),
1077
1077
  _: 1
1078
1078
  })
1079
- ])) : (p(), C("div", sr, [
1079
+ ])) : (p(), C("div", nr, [
1080
1080
  y(te, {
1081
1081
  class: "hover:wu-translate-x-1",
1082
1082
  outline: "",
@@ -1089,7 +1089,7 @@ const z = /* @__PURE__ */ Y({
1089
1089
  class: "wu-w-4 wu-h-4 wu-object-contain",
1090
1090
  src: s.value,
1091
1091
  alt: ""
1092
- }, null, 8, or)) : (p(), C(se, { key: 1 }, [
1092
+ }, null, 8, sr)) : (p(), C(se, { key: 1 }, [
1093
1093
  T(F(i.value), 1)
1094
1094
  ], 64))
1095
1095
  ]),
@@ -1103,13 +1103,13 @@ const z = /* @__PURE__ */ Y({
1103
1103
  })
1104
1104
  ]));
1105
1105
  }
1106
- }), ir = { class: "wu-flex wu-flex-col wu-w-full wu-gap-8" }, ar = {
1106
+ }), or = { class: "wu-flex wu-flex-col wu-w-full wu-gap-8" }, ir = {
1107
1107
  key: 0,
1108
1108
  class: "wu-flex wu-items-center wu-w-fit wu-justify-center wu-h-0"
1109
- }, rr = ["innerHTML"], lr = {
1109
+ }, ar = ["innerHTML"], rr = {
1110
1110
  key: 2,
1111
1111
  class: "wu-flex wu-flex-col wu-items-center wu-justify-start wu-gap-2 wu-px-6 wu-w-full"
1112
- }, ur = /* @__PURE__ */ Y({
1112
+ }, lr = /* @__PURE__ */ Y({
1113
1113
  __name: "app-article-page",
1114
1114
  props: {
1115
1115
  rule: {},
@@ -1122,15 +1122,15 @@ const z = /* @__PURE__ */ Y({
1122
1122
  const w = i.value;
1123
1123
  return g[w] ?? g["pt-BR"] ?? Object.values(g).find(Boolean) ?? "";
1124
1124
  }, h = f(() => d(m.value?.content));
1125
- return (g, w) => (p(), C("div", ir, [
1126
- a.value ? L("", !0) : (p(), C("div", ar)),
1125
+ return (g, w) => (p(), C("div", or, [
1126
+ a.value ? R("", !0) : (p(), C("div", ir)),
1127
1127
  h.value ? (p(), C("div", {
1128
1128
  key: 1,
1129
1129
  class: "wu-px-6 wu-w-full wu-article-content wu-font-primary wu-text-neutral wu-overflow-x-auto dark:wu-text-neutral-200",
1130
1130
  "data-testid": "app-article-content",
1131
1131
  innerHTML: h.value
1132
- }, null, 8, rr)) : L("", !0),
1133
- r.value.length ? (p(), C("div", lr, [
1132
+ }, null, 8, ar)) : R("", !0),
1133
+ r.value.length ? (p(), C("div", rr, [
1134
1134
  (p(!0), C(se, null, le(l.value, (b) => (p(), E(kt, {
1135
1135
  key: b.id,
1136
1136
  edge: b,
@@ -1146,13 +1146,13 @@ const z = /* @__PURE__ */ Y({
1146
1146
  icon: "",
1147
1147
  onClick: w[1] || (w[1] = (x) => o("edge-click", x))
1148
1148
  }, null, 8, ["edge"]))), 128))
1149
- ], 2)) : L("", !0)
1150
- ])) : L("", !0),
1149
+ ], 2)) : R("", !0)
1150
+ ])) : R("", !0),
1151
1151
  w[2] || (w[2] = N("div", { class: "wu-flex wu-items-center wu-w-fit wu-justify-center wu-h-0" }, null, -1))
1152
1152
  ]));
1153
1153
  }
1154
- }), Mo = /* @__PURE__ */ ot(ur, [["__scopeId", "data-v-54b98051"]]), cr = 120, dr = () => typeof MediaRecorder > "u" ? "audio/webm" : MediaRecorder.isTypeSupported("audio/webm;codecs=opus") ? "audio/webm;codecs=opus" : MediaRecorder.isTypeSupported("audio/webm") ? "audio/webm" : MediaRecorder.isTypeSupported("audio/mp4") ? "audio/mp4" : "audio/webm", pr = (e) => e.includes("mp4") ? "m4a" : "webm", Qs = (e) => e.toString().padStart(2, "0");
1155
- function fr() {
1154
+ }), Mo = /* @__PURE__ */ ot(lr, [["__scopeId", "data-v-54b98051"]]), ur = 120, cr = () => typeof MediaRecorder > "u" ? "audio/webm" : MediaRecorder.isTypeSupported("audio/webm;codecs=opus") ? "audio/webm;codecs=opus" : MediaRecorder.isTypeSupported("audio/webm") ? "audio/webm" : MediaRecorder.isTypeSupported("audio/mp4") ? "audio/mp4" : "audio/webm", dr = (e) => e.includes("mp4") ? "m4a" : "webm", Qs = (e) => e.toString().padStart(2, "0");
1155
+ function pr() {
1156
1156
  const e = H(!1), t = H(0), n = H(null);
1157
1157
  let o = null, s = null, i = [], a = null, r = "audio/webm", l = !1, u = null;
1158
1158
  const m = f(() => {
@@ -1167,18 +1167,18 @@ function fr() {
1167
1167
  }, w = () => {
1168
1168
  if (!i.length) return null;
1169
1169
  const v = r.split(";")[0] || "audio/webm", k = new Blob(i, { type: v });
1170
- return new File([k], `recording.${pr(v)}`, { type: v });
1170
+ return new File([k], `recording.${dr(v)}`, { type: v });
1171
1171
  }, b = async () => {
1172
1172
  if (n.value = null, typeof navigator > "u" || !navigator.mediaDevices?.getUserMedia)
1173
1173
  return n.value = "Gravação de áudio não é suportada neste navegador", !1;
1174
1174
  try {
1175
- return s = await navigator.mediaDevices.getUserMedia({ audio: !0 }), r = dr(), i = [], o = new MediaRecorder(s, { mimeType: r }), o.ondataavailable = (v) => {
1175
+ return s = await navigator.mediaDevices.getUserMedia({ audio: !0 }), r = cr(), i = [], o = new MediaRecorder(s, { mimeType: r }), o.ondataavailable = (v) => {
1176
1176
  v.data.size > 0 && i.push(v.data);
1177
1177
  }, o.onstop = () => {
1178
1178
  const v = l ? null : w(), k = u;
1179
1179
  u = null, l = !1, g(), k?.(v);
1180
1180
  }, o.start(), e.value = !0, t.value = 0, a = setInterval(() => {
1181
- t.value += 1, t.value >= cr && x();
1181
+ t.value += 1, t.value >= ur && x();
1182
1182
  }, 1e3), !0;
1183
1183
  } catch {
1184
1184
  return g(), n.value = "Não foi possível acessar o microfone", !1;
@@ -1188,7 +1188,7 @@ function fr() {
1188
1188
  })), A = async () => {
1189
1189
  l = !0, i = [], await x();
1190
1190
  };
1191
- return ea(() => {
1191
+ return Xi(() => {
1192
1192
  A();
1193
1193
  }), {
1194
1194
  formattedDuration: m,
@@ -1200,7 +1200,7 @@ function fr() {
1200
1200
  stop: x
1201
1201
  };
1202
1202
  }
1203
- const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @__PURE__ */ Y({
1203
+ const fr = ["src", "alt"], hr = ["src"], mr = ["src"], gr = ["title"], _n = /* @__PURE__ */ Y({
1204
1204
  __name: "app-media-preview",
1205
1205
  props: {
1206
1206
  open: { type: Boolean },
@@ -1226,7 +1226,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1226
1226
  }
1227
1227
  ), Pt(() => {
1228
1228
  window.removeEventListener("keydown", d);
1229
- }), (h, g) => (p(), E(ta, { to: "body" }, [
1229
+ }), (h, g) => (p(), E(ea, { to: "body" }, [
1230
1230
  e.open && e.items.length ? (p(), C("div", {
1231
1231
  key: 0,
1232
1232
  class: "wu-fixed wu-inset-0 wu-flex wu-items-center wu-justify-center wu-overflow-hidden wu-bg-black wu-bg-opacity-90 wu-z-[100000]",
@@ -1259,7 +1259,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1259
1259
  ])]),
1260
1260
  _: 1
1261
1261
  })
1262
- ])) : L("", !0),
1262
+ ])) : R("", !0),
1263
1263
  r.value && a.value ? (p(), C("button", {
1264
1264
  key: 1,
1265
1265
  class: "wu-absolute wu-right-4 wu-z-10 wu-flex wu-items-center wu-justify-center wu-w-10 wu-h-10 wu-rounded-full wu-bg-black wu-bg-opacity-50 wu-border-0 wu-cursor-pointer",
@@ -1273,7 +1273,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1273
1273
  ])]),
1274
1274
  _: 1
1275
1275
  })
1276
- ])) : L("", !0),
1276
+ ])) : R("", !0),
1277
1277
  N("div", {
1278
1278
  class: "wu-w-full wu-h-full wu-flex wu-items-center wu-justify-center",
1279
1279
  onClick: g[1] || (g[1] = Ie(() => {
@@ -1294,37 +1294,37 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1294
1294
  class: "wu-rounded wu-object-contain wu-w-full wu-max-h-[80vh]",
1295
1295
  src: w.src,
1296
1296
  alt: w.filename || "Imagem"
1297
- }, null, 8, hr)) : w.type === "video" ? (p(), C("video", {
1297
+ }, null, 8, fr)) : w.type === "video" ? (p(), C("video", {
1298
1298
  key: 1,
1299
1299
  class: "wu-rounded wu-object-contain wu-w-full wu-max-h-[80vh]",
1300
1300
  src: w.src,
1301
1301
  controls: ""
1302
- }, null, 8, mr)) : w.type === "pdf" ? (p(), C("iframe", {
1302
+ }, null, 8, hr)) : w.type === "pdf" ? (p(), C("iframe", {
1303
1303
  key: 2,
1304
1304
  class: "wu-bg-white wu-rounded wu-w-full wu-h-[85vh]",
1305
1305
  src: w.src,
1306
1306
  frameborder: "0"
1307
- }, null, 8, gr)) : L("", !0),
1307
+ }, null, 8, mr)) : R("", !0),
1308
1308
  w.filename ? (p(), C("p", {
1309
1309
  key: 3,
1310
1310
  class: "wu-text-white wu-text-xs wu-opacity-75 wu-truncate wu-max-w-full",
1311
1311
  title: w.filename
1312
- }, F(w.filename), 9, wr)) : L("", !0)
1312
+ }, F(w.filename), 9, gr)) : R("", !0)
1313
1313
  ]))), 128))
1314
1314
  ]),
1315
1315
  _: 1
1316
1316
  }, 8, ["modelValue"])
1317
1317
  ])
1318
- ])) : L("", !0)
1318
+ ])) : R("", !0)
1319
1319
  ]));
1320
1320
  }
1321
- }), vr = ["onClick"], yr = ["src", "alt"], br = {
1321
+ }), wr = ["onClick"], vr = ["src", "alt"], yr = {
1322
1322
  key: 1,
1323
1323
  class: "wu-flex wu-items-center wu-justify-center wu-w-full wu-h-full"
1324
- }, xr = {
1324
+ }, br = {
1325
1325
  key: 2,
1326
1326
  class: "wu-absolute wu-inset-0 wu-flex wu-items-center wu-justify-center wu-bg-black wu-bg-opacity-50"
1327
- }, kr = { class: "wu-text-white wu-text-lg wu-font-semibold" }, Tr = /* @__PURE__ */ Y({
1327
+ }, xr = { class: "wu-text-white wu-text-lg wu-font-semibold" }, kr = /* @__PURE__ */ Y({
1328
1328
  __name: "app-message-grouped-images",
1329
1329
  props: {
1330
1330
  message: {}
@@ -1357,8 +1357,8 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1357
1357
  key: 0,
1358
1358
  class: "wu-w-full wu-h-full wu-object-cover",
1359
1359
  src: i(h),
1360
- alt: R(Me)(h)?.filename || "Imagem"
1361
- }, null, 8, yr)) : (p(), C("div", br, [
1360
+ alt: D(Me)(h)?.filename || "Imagem"
1361
+ }, null, 8, vr)) : (p(), C("div", yr, [
1362
1362
  y(z, {
1363
1363
  gray: "",
1364
1364
  large: ""
@@ -1369,10 +1369,10 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1369
1369
  _: 1
1370
1370
  })
1371
1371
  ])),
1372
- g === o.value.length - 1 && s.value > 0 ? (p(), C("div", xr, [
1373
- N("span", kr, F(`+${s.value}`), 1)
1374
- ])) : L("", !0)
1375
- ], 8, vr))), 128)),
1372
+ g === o.value.length - 1 && s.value > 0 ? (p(), C("div", br, [
1373
+ N("span", xr, F(`+${s.value}`), 1)
1374
+ ])) : R("", !0)
1375
+ ], 8, wr))), 128)),
1376
1376
  y(_n, {
1377
1377
  open: a.value,
1378
1378
  items: l.value,
@@ -1382,7 +1382,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1382
1382
  }, null, 8, ["open", "items", "index"])
1383
1383
  ], 2));
1384
1384
  }
1385
- }), Cr = ["disabled"], Sn = /* @__PURE__ */ Y({
1385
+ }), Tr = ["disabled"], Sn = /* @__PURE__ */ Y({
1386
1386
  __name: "app-audio-player",
1387
1387
  props: {
1388
1388
  src: {},
@@ -1398,7 +1398,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1398
1398
  }, w = () => {
1399
1399
  if (g(), t.src) return t.src;
1400
1400
  if (t.file)
1401
- return r.value = URL.createObjectURL(na(t.file)), r.value;
1401
+ return r.value = URL.createObjectURL(ta(t.file)), r.value;
1402
1402
  }, b = () => {
1403
1403
  i.value = n.value?.duration || 0;
1404
1404
  }, x = () => {
@@ -1477,7 +1477,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1477
1477
  class: "wu-absolute wu-w-2 wu-h-2 wu-rounded-full wu-bg-primary-600 wu-shrink-0 wu-transition-all -wu-translate-x-1/2 -wu-translate-y-1/2 wu-top-1/2",
1478
1478
  style: ye({ left: `${m.value}%` })
1479
1479
  }, null, 4)
1480
- ], 8, Cr),
1480
+ ], 8, Tr),
1481
1481
  y(U, {
1482
1482
  "extra-small": "",
1483
1483
  gray: ""
@@ -1506,19 +1506,19 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1506
1506
  _: 1
1507
1507
  }));
1508
1508
  }
1509
- }), Ar = {
1509
+ }), Cr = {
1510
1510
  class: "wu-flex wu-flex-col wu-gap-2 wu-min-w-[12rem]",
1511
1511
  "data-testid": "app-message-attachments"
1512
- }, $r = ["innerHTML"], _r = ["onClick"], Sr = ["src", "alt"], Er = ["src"], Pr = {
1512
+ }, Ar = ["innerHTML"], $r = ["onClick"], _r = ["src", "alt"], Sr = ["src"], Er = {
1513
1513
  key: 2,
1514
1514
  class: "wu-flex wu-items-center wu-justify-center wu-w-full wu-h-full"
1515
- }, Dr = {
1515
+ }, Pr = {
1516
1516
  key: 3,
1517
1517
  class: "wu-absolute wu-inset-0 wu-flex wu-items-center wu-justify-center wu-bg-black wu-bg-opacity-50"
1518
- }, Rr = { class: "wu-text-white wu-text-lg wu-font-semibold" }, Lr = {
1518
+ }, Dr = { class: "wu-text-white wu-text-lg wu-font-semibold" }, Rr = {
1519
1519
  key: 0,
1520
1520
  class: "wu-flex-1 wu-min-w-0"
1521
- }, Br = /* @__PURE__ */ Y({
1521
+ }, Lr = /* @__PURE__ */ Y({
1522
1522
  __name: "app-message-attachments",
1523
1523
  props: {
1524
1524
  message: {}
@@ -1529,7 +1529,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1529
1529
  () => s.value.filter((k) => k.type === "image" || k.type === "video")
1530
1530
  ), a = f(
1531
1531
  () => s.value.filter((k) => k.type !== "image" && k.type !== "video")
1532
- ), r = f(() => i.value.slice(0, 4)), l = f(() => Math.max(0, i.value.length - 4)), u = f(() => ha(n.message)), m = f(() => Po(n.message)), d = f(() => !!(r.value.length || a.value.length)), h = H(!1), g = H(0), w = H([]), b = (k) => {
1532
+ ), r = f(() => i.value.slice(0, 4)), l = f(() => Math.max(0, i.value.length - 4)), u = f(() => fa(n.message)), m = f(() => Po(n.message)), d = f(() => !!(r.value.length || a.value.length)), h = H(!1), g = H(0), w = H([]), b = (k) => {
1533
1533
  w.value = i.value.filter((_) => _.link).map((_) => ({
1534
1534
  src: _.link,
1535
1535
  type: _.type === "video" ? "video" : "image",
@@ -1552,7 +1552,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1552
1552
  attachment: k
1553
1553
  });
1554
1554
  };
1555
- return (k, _) => (p(), C("div", Ar, [
1555
+ return (k, _) => (p(), C("div", Cr, [
1556
1556
  u.value ? (p(), E(U, {
1557
1557
  key: 0,
1558
1558
  class: "wu-whitespace-pre-wrap",
@@ -1562,10 +1562,10 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1562
1562
  medium: ""
1563
1563
  }, {
1564
1564
  default: c(() => [
1565
- N("span", { innerHTML: u.value }, null, 8, $r)
1565
+ N("span", { innerHTML: u.value }, null, 8, Ar)
1566
1566
  ]),
1567
1567
  _: 1
1568
- })) : L("", !0),
1568
+ })) : R("", !0),
1569
1569
  r.value.length ? (p(), C("div", {
1570
1570
  key: 1,
1571
1571
  class: Z(["wu-grid wu-gap-1 wu-rounded wu-overflow-hidden", r.value.length === 1 ? "wu-grid-cols-1" : "wu-grid-cols-2"])
@@ -1580,12 +1580,12 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1580
1580
  class: "wu-w-full wu-h-full wu-object-cover",
1581
1581
  src: P.link,
1582
1582
  alt: P.filename
1583
- }, null, 8, Sr)) : P.type === "video" && P.link ? (p(), C("video", {
1583
+ }, null, 8, _r)) : P.type === "video" && P.link ? (p(), C("video", {
1584
1584
  key: 1,
1585
1585
  class: "wu-w-full wu-h-full wu-object-cover",
1586
1586
  src: P.link,
1587
1587
  preload: "metadata"
1588
- }, null, 8, Er)) : (p(), C("div", Pr, [
1588
+ }, null, 8, Sr)) : (p(), C("div", Er, [
1589
1589
  y(z, {
1590
1590
  gray: "",
1591
1591
  large: ""
@@ -1596,9 +1596,9 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1596
1596
  _: 2
1597
1597
  }, 1024)
1598
1598
  ])),
1599
- j === r.value.length - 1 && l.value > 0 ? (p(), C("div", Dr, [
1600
- N("span", Rr, F(`+${l.value}`), 1)
1601
- ])) : L("", !0),
1599
+ j === r.value.length - 1 && l.value > 0 ? (p(), C("div", Pr, [
1600
+ N("span", Dr, F(`+${l.value}`), 1)
1601
+ ])) : R("", !0),
1602
1602
  y(te, {
1603
1603
  class: "wu-absolute wu-bottom-1 wu-right-1 !wu-bg-black/55 hover:!wu-bg-black/75 !wu-text-white !wu-border-0",
1604
1604
  onClick: Ie((V) => v(P), ["stop"]),
@@ -1617,8 +1617,8 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1617
1617
  ]),
1618
1618
  _: 1
1619
1619
  }, 8, ["onClick"])
1620
- ], 8, _r))), 128))
1621
- ], 2)) : L("", !0),
1620
+ ], 8, $r))), 128))
1621
+ ], 2)) : R("", !0),
1622
1622
  (p(!0), C(se, null, le(a.value, (P) => (p(), E(J, {
1623
1623
  class: "wu-items-center wu-bg-white dark:wu-bg-neutral-800",
1624
1624
  key: P.id,
@@ -1646,7 +1646,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1646
1646
  ]),
1647
1647
  _: 2
1648
1648
  }, 1024),
1649
- P.type === "audio" && P.link ? (p(), C("div", Lr, [
1649
+ P.type === "audio" && P.link ? (p(), C("div", Rr, [
1650
1650
  y(Sn, {
1651
1651
  src: P.link
1652
1652
  }, null, 8, ["src"])
@@ -1663,7 +1663,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1663
1663
  ]),
1664
1664
  _: 2
1665
1665
  }, 1032, ["title"])),
1666
- R(Do)(P) ? (p(), E(te, {
1666
+ D(Do)(P) ? (p(), E(te, {
1667
1667
  key: 2,
1668
1668
  onClick: (j) => x(P),
1669
1669
  ghost: "",
@@ -1679,7 +1679,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1679
1679
  })
1680
1680
  ]),
1681
1681
  _: 1
1682
- }, 8, ["onClick"])) : L("", !0),
1682
+ }, 8, ["onClick"])) : R("", !0),
1683
1683
  y(te, {
1684
1684
  onClick: (j) => v(P),
1685
1685
  ghost: "",
@@ -1711,7 +1711,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1711
1711
  T(F(m.value), 1)
1712
1712
  ]),
1713
1713
  _: 1
1714
- })) : L("", !0),
1714
+ })) : R("", !0),
1715
1715
  y(_n, {
1716
1716
  open: h.value,
1717
1717
  items: w.value,
@@ -1721,7 +1721,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1721
1721
  }, null, 8, ["open", "items", "index"])
1722
1722
  ]));
1723
1723
  }
1724
- }), Or = { class: "wu-w-full wu-px-3 wu-py-2 wu-bg-primary-500" }, Ir = ["disabled", "onClick"], Nr = /* @__PURE__ */ Y({
1724
+ }), Br = { class: "wu-w-full wu-px-3 wu-py-2 wu-bg-primary-500" }, Or = ["disabled", "onClick"], Ir = /* @__PURE__ */ Y({
1725
1725
  __name: "app-message-interactive",
1726
1726
  props: {
1727
1727
  message: {}
@@ -1762,7 +1762,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1762
1762
  "data-testid": "app-message-interactive"
1763
1763
  }, {
1764
1764
  default: c(() => [
1765
- N("div", Or, [
1765
+ N("div", Br, [
1766
1766
  y(U, {
1767
1767
  class: "!wu-text-[var(--wu-primary-fg)]",
1768
1768
  small: "",
@@ -1806,7 +1806,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1806
1806
  T(F(u.description), 1)
1807
1807
  ]),
1808
1808
  _: 2
1809
- }, 1024)) : L("", !0)
1809
+ }, 1024)) : R("", !0)
1810
1810
  ]),
1811
1811
  _: 2
1812
1812
  }, 1024),
@@ -1819,15 +1819,15 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1819
1819
  ]),
1820
1820
  _: 2
1821
1821
  }, 1032, ["class"])
1822
- ], 8, Ir))), 128))
1822
+ ], 8, Or))), 128))
1823
1823
  ]),
1824
1824
  _: 1
1825
- })) : L("", !0);
1825
+ })) : R("", !0);
1826
1826
  }
1827
- }), Mr = {
1827
+ }), Nr = {
1828
1828
  class: "wu-flex wu-flex-col wu-gap-2 wu-min-w-[14rem]",
1829
1829
  "data-testid": "app-message-document"
1830
- }, Hr = /* @__PURE__ */ Y({
1830
+ }, Mr = /* @__PURE__ */ Y({
1831
1831
  __name: "app-message-document",
1832
1832
  props: {
1833
1833
  message: {}
@@ -1847,7 +1847,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1847
1847
  attachment: s.value
1848
1848
  });
1849
1849
  };
1850
- return (m, d) => (p(), C("div", Mr, [
1850
+ return (m, d) => (p(), C("div", Nr, [
1851
1851
  y(J, {
1852
1852
  class: "wu-items-center wu-bg-white dark:wu-bg-neutral-800",
1853
1853
  "padding-sm": "",
@@ -1902,7 +1902,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1902
1902
  })
1903
1903
  ]),
1904
1904
  _: 1
1905
- })) : L("", !0),
1905
+ })) : R("", !0),
1906
1906
  y(te, {
1907
1907
  onClick: u,
1908
1908
  ghost: "",
@@ -1933,7 +1933,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1933
1933
  T(F(e.message.caption), 1)
1934
1934
  ]),
1935
1935
  _: 1
1936
- })) : L("", !0),
1936
+ })) : R("", !0),
1937
1937
  y(_n, {
1938
1938
  open: r.value,
1939
1939
  items: l.value,
@@ -1942,7 +1942,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1942
1942
  }, null, 8, ["open", "items"])
1943
1943
  ]));
1944
1944
  }
1945
- }), zr = { class: "wu-w-full wu-px-3 wu-py-2 wu-bg-primary-500" }, jr = ["disabled", "onClick"], Fr = /* @__PURE__ */ Y({
1945
+ }), Hr = { class: "wu-w-full wu-px-3 wu-py-2 wu-bg-primary-500" }, zr = ["disabled", "onClick"], jr = /* @__PURE__ */ Y({
1946
1946
  __name: "app-message-survey",
1947
1947
  props: {
1948
1948
  message: {}
@@ -1980,7 +1980,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
1980
1980
  "data-testid": "app-message-survey"
1981
1981
  }, {
1982
1982
  default: c(() => [
1983
- N("div", zr, [
1983
+ N("div", Hr, [
1984
1984
  y(U, {
1985
1985
  class: "!wu-text-[var(--wu-primary-fg)]",
1986
1986
  small: "",
@@ -2018,7 +2018,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
2018
2018
  ]),
2019
2019
  _: 2
2020
2020
  }, 1032, ["class"])
2021
- ], 8, jr))), 128)) : (p(), E(J, {
2021
+ ], 8, zr))), 128)) : (p(), E(J, {
2022
2022
  key: 1,
2023
2023
  class: "wu-items-center wu-justify-center wu-px-3 wu-py-3 wu-border-t wu-border-gray-100 dark:wu-border-neutral-700",
2024
2024
  "gap-sm": ""
@@ -2044,7 +2044,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
2044
2044
  }))
2045
2045
  ]),
2046
2046
  _: 1
2047
- })) : L("", !0);
2047
+ })) : R("", !0);
2048
2048
  }
2049
2049
  }), os = /* @__PURE__ */ Y({
2050
2050
  __name: "app-message-audio",
@@ -2104,13 +2104,13 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
2104
2104
  _: 1
2105
2105
  }));
2106
2106
  }
2107
- }), Ur = {
2107
+ }), Fr = {
2108
2108
  class: "wu-flex wu-flex-col wu-gap-2 wu-min-w-[10rem]",
2109
2109
  "data-testid": "app-message-image"
2110
- }, Vr = { class: "wu-relative wu-rounded wu-overflow-hidden wu-bg-gray-100 dark:wu-bg-neutral-800" }, Wr = ["src", "alt"], qr = {
2110
+ }, Ur = { class: "wu-relative wu-rounded wu-overflow-hidden wu-bg-gray-100 dark:wu-bg-neutral-800" }, Vr = ["src", "alt"], Wr = {
2111
2111
  key: 1,
2112
2112
  class: "wu-flex wu-items-center wu-justify-center wu-h-32"
2113
- }, Gr = /* @__PURE__ */ Y({
2113
+ }, qr = /* @__PURE__ */ Y({
2114
2114
  __name: "app-message-image",
2115
2115
  props: {
2116
2116
  message: {}
@@ -2130,15 +2130,15 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
2130
2130
  attachment: s.value
2131
2131
  });
2132
2132
  };
2133
- return (u, m) => (p(), C("div", Ur, [
2134
- N("div", Vr, [
2133
+ return (u, m) => (p(), C("div", Fr, [
2134
+ N("div", Ur, [
2135
2135
  i.value ? (p(), C("img", {
2136
2136
  key: 0,
2137
2137
  class: "wu-w-full wu-max-h-64 wu-object-cover wu-cursor-pointer",
2138
2138
  src: i.value,
2139
2139
  alt: s.value?.filename || e.message.caption || "Imagem",
2140
2140
  onClick: m[0] || (m[0] = (d) => a.value = !0)
2141
- }, null, 8, Wr)) : (p(), C("div", qr, [
2141
+ }, null, 8, Vr)) : (p(), C("div", Wr, [
2142
2142
  y(z, {
2143
2143
  gray: "",
2144
2144
  large: ""
@@ -2178,7 +2178,7 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
2178
2178
  T(F(e.message.caption), 1)
2179
2179
  ]),
2180
2180
  _: 1
2181
- })) : L("", !0),
2181
+ })) : R("", !0),
2182
2182
  y(_n, {
2183
2183
  open: a.value,
2184
2184
  items: r.value,
@@ -2187,13 +2187,13 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
2187
2187
  }, null, 8, ["open", "items"])
2188
2188
  ]));
2189
2189
  }
2190
- }), Kr = {
2190
+ }), Gr = {
2191
2191
  class: "wu-flex wu-flex-col wu-gap-2 wu-min-w-[12rem]",
2192
2192
  "data-testid": "app-message-video"
2193
- }, Qr = { class: "wu-relative wu-rounded wu-overflow-hidden wu-bg-black" }, Zr = ["src"], Yr = {
2193
+ }, Kr = { class: "wu-relative wu-rounded wu-overflow-hidden wu-bg-black" }, Qr = ["src"], Zr = {
2194
2194
  key: 1,
2195
2195
  class: "wu-flex wu-items-center wu-justify-center wu-h-32"
2196
- }, Jr = /* @__PURE__ */ Y({
2196
+ }, Yr = /* @__PURE__ */ Y({
2197
2197
  __name: "app-message-video",
2198
2198
  props: {
2199
2199
  message: {}
@@ -2207,15 +2207,15 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
2207
2207
  attachment: s.value
2208
2208
  });
2209
2209
  };
2210
- return (r, l) => (p(), C("div", Kr, [
2211
- N("div", Qr, [
2210
+ return (r, l) => (p(), C("div", Gr, [
2211
+ N("div", Kr, [
2212
2212
  i.value ? (p(), C("video", {
2213
2213
  key: 0,
2214
2214
  class: "wu-w-full wu-max-h-64",
2215
2215
  src: i.value,
2216
2216
  controls: "",
2217
2217
  preload: "metadata"
2218
- }, null, 8, Zr)) : (p(), C("div", Yr, [
2218
+ }, null, 8, Qr)) : (p(), C("div", Zr, [
2219
2219
  y(z, {
2220
2220
  gray: "",
2221
2221
  large: ""
@@ -2255,16 +2255,16 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
2255
2255
  T(F(e.message.caption), 1)
2256
2256
  ]),
2257
2257
  _: 1
2258
- })) : L("", !0)
2258
+ })) : R("", !0)
2259
2259
  ]));
2260
2260
  }
2261
- }), Xr = ["href"], el = ["src", "alt"], tl = { class: "wu-flex wu-min-w-0 wu-flex-1 wu-flex-col wu-items-start wu-overflow-hidden wu-pr-4 wu-gap-0.5" }, nl = { class: "wu-truncate" }, sl = /* @__PURE__ */ Y({
2261
+ }), Jr = ["href"], Xr = ["src", "alt"], el = { class: "wu-flex wu-min-w-0 wu-flex-1 wu-flex-col wu-items-start wu-overflow-hidden wu-pr-4 wu-gap-0.5" }, tl = { class: "wu-truncate" }, nl = /* @__PURE__ */ Y({
2262
2262
  __name: "app-message-link-preview",
2263
2263
  props: {
2264
2264
  preview: {}
2265
2265
  },
2266
2266
  setup(e) {
2267
- const t = e, n = H(!1), o = f(() => t.preview.url || "#"), s = f(() => "https://framerusercontent.com/images/5Jn1wJYDonE4Cr5svOQUgPctJXw.png"), i = f(() => !n.value && !!t.preview.title);
2267
+ const t = e, n = H(!1), o = f(() => t.preview.url || "#"), s = f(() => t.preview.images?.[0] || t.preview.favicons?.[0] || ""), i = f(() => !n.value && !!t.preview.title);
2268
2268
  return (a, r) => i.value ? (p(), C("a", {
2269
2269
  key: 0,
2270
2270
  class: "wu-relative wu-flex wu-items-center wu-gap-2 wu-rounded-lg wu-border wu-border-gray-200 wu-bg-white wu-p-2 wu-no-underline dark:wu-border-neutral-700 dark:wu-bg-neutral-800",
@@ -2294,16 +2294,16 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
2294
2294
  class: "wu-h-12 wu-w-12 wu-shrink-0 wu-rounded wu-object-cover",
2295
2295
  src: s.value,
2296
2296
  alt: e.preview.title || "Link preview"
2297
- }, null, 8, el)) : L("", !0),
2298
- N("div", tl, [
2297
+ }, null, 8, Xr)) : R("", !0),
2298
+ N("div", el, [
2299
2299
  y(U, {
2300
2300
  class: "wu-line-clamp-1 wu-leading-3",
2301
2301
  semibold: "",
2302
2302
  "extra-small": ""
2303
2303
  }, {
2304
- default: c(() => [...r[2] || (r[2] = [
2305
- T("Nex: Sistema de gestão para loja. Crie sua conta grátis!", -1)
2306
- ])]),
2304
+ default: c(() => [
2305
+ T(F(e.preview.title), 1)
2306
+ ]),
2307
2307
  _: 1
2308
2308
  }),
2309
2309
  e.preview.description ? (p(), E(U, {
@@ -2312,11 +2312,11 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
2312
2312
  gray: "",
2313
2313
  "extra-small": ""
2314
2314
  }, {
2315
- default: c(() => [...r[3] || (r[3] = [
2316
- T("Gerencie sua loja com facilidade pelo Nex. Acesse o sistema de qualquer lugar e tenha controle total do negócio: PDV, Estoque, Caixa e mais! Teste por 14 dias.", -1)
2317
- ])]),
2315
+ default: c(() => [
2316
+ T(F(e.preview.description), 1)
2317
+ ]),
2318
2318
  _: 1
2319
- })) : L("", !0),
2319
+ })) : R("", !0),
2320
2320
  y(U, {
2321
2321
  class: "wu-flex wu-max-w-full wu-items-center wu-gap-1 wu-truncate",
2322
2322
  gray: "",
@@ -2327,30 +2327,30 @@ const hr = ["src", "alt"], mr = ["src"], gr = ["src"], wr = ["title"], _n = /* @
2327
2327
  gray: "",
2328
2328
  small: ""
2329
2329
  }, {
2330
- default: c(() => [...r[4] || (r[4] = [
2330
+ default: c(() => [...r[2] || (r[2] = [
2331
2331
  T("link", -1)
2332
2332
  ])]),
2333
2333
  _: 1
2334
2334
  }),
2335
- N("span", nl, F(e.preview.url), 1)
2335
+ N("span", tl, F(e.preview.url), 1)
2336
2336
  ]),
2337
2337
  _: 1
2338
2338
  })
2339
2339
  ])
2340
- ], 8, Xr)) : L("", !0);
2340
+ ], 8, Jr)) : R("", !0);
2341
2341
  }
2342
- }), ol = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos6kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12b0cam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", il = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", is = "numeric", as = "ascii", rs = "alpha", dt = "asciinumeric", ut = "alphanumeric", ls = "domain", Ho = "emoji", al = "scheme", rl = "slashscheme", Wn = "whitespace";
2343
- function ll(e, t) {
2342
+ }), sl = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos6kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12b0cam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", ol = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", is = "numeric", as = "ascii", rs = "alpha", dt = "asciinumeric", ut = "alphanumeric", ls = "domain", Ho = "emoji", il = "scheme", al = "slashscheme", Wn = "whitespace";
2343
+ function rl(e, t) {
2344
2344
  return e in t || (t[e] = []), t[e];
2345
2345
  }
2346
2346
  function qe(e, t, n) {
2347
2347
  t[is] && (t[dt] = !0, t[ut] = !0), t[as] && (t[dt] = !0, t[rs] = !0), t[dt] && (t[ut] = !0), t[rs] && (t[ut] = !0), t[ut] && (t[ls] = !0), t[Ho] && (t[ls] = !0);
2348
2348
  for (const o in t) {
2349
- const s = ll(o, n);
2349
+ const s = rl(o, n);
2350
2350
  s.indexOf(e) < 0 && s.push(e);
2351
2351
  }
2352
2352
  }
2353
- function ul(e, t) {
2353
+ function ll(e, t) {
2354
2354
  const n = {};
2355
2355
  for (const o in t)
2356
2356
  t[o].indexOf(e) >= 0 && (n[o] = !0);
@@ -2472,7 +2472,7 @@ fe.prototype = {
2472
2472
  if (r ? (a = new fe(), Object.assign(a.j, r.j), a.jr.push.apply(a.jr, r.jr), a.jd = r.jd, a.t = r.t) : a = new fe(), i) {
2473
2473
  if (o)
2474
2474
  if (a.t && typeof a.t == "string") {
2475
- const l = Object.assign(ul(a.t, o), n);
2475
+ const l = Object.assign(ll(a.t, o), n);
2476
2476
  qe(i, l, o);
2477
2477
  } else n && qe(i, n, o);
2478
2478
  a.t = i;
@@ -2546,13 +2546,13 @@ try {
2546
2546
  } catch {
2547
2547
  }
2548
2548
  const Se = /\d/, qn = /\s/, Ys = "\r", Gn = `
2549
- `, cl = "️", dl = "‍", Kn = "";
2549
+ `, ul = "️", cl = "‍", Kn = "";
2550
2550
  let Bt = null, Ot = null;
2551
- function pl(e = []) {
2551
+ function dl(e = []) {
2552
2552
  const t = {};
2553
2553
  fe.groups = t;
2554
2554
  const n = new fe();
2555
- Bt == null && (Bt = Js(ol)), Ot == null && (Ot = Js(il)), $(n, "'", rn), $(n, "{", pt), $(n, "}", ft), $(n, "[", Wt), $(n, "]", qt), $(n, "(", Gt), $(n, ")", Kt), $(n, "<", Qt), $(n, ">", Zt), $(n, "(", Yt), $(n, ")", Jt), $(n, "「", Xt), $(n, "」", en), $(n, "『", tn), $(n, "』", nn), $(n, "<", sn), $(n, ">", on), $(n, "&", an), $(n, "*", ln), $(n, "@", Oe), $(n, "`", cn), $(n, "^", dn), $(n, ":", Ge), $(n, ",", Ss), $(n, "$", pn), $(n, ".", ke), $(n, "=", fn), $(n, "!", Es), $(n, "-", me), $(n, "%", ht), $(n, "|", hn), $(n, "+", mn), $(n, "#", Xe), $(n, "?", We), $(n, '"', Ps), $(n, "/", Te), $(n, ";", Ds), $(n, "~", mt), $(n, "_", gn), $(n, "\\", un), $(n, "・", Fo);
2555
+ Bt == null && (Bt = Js(sl)), Ot == null && (Ot = Js(ol)), $(n, "'", rn), $(n, "{", pt), $(n, "}", ft), $(n, "[", Wt), $(n, "]", qt), $(n, "(", Gt), $(n, ")", Kt), $(n, "<", Qt), $(n, ">", Zt), $(n, "(", Yt), $(n, ")", Jt), $(n, "「", Xt), $(n, "」", en), $(n, "『", tn), $(n, "』", nn), $(n, "<", sn), $(n, ">", on), $(n, "&", an), $(n, "*", ln), $(n, "@", Oe), $(n, "`", cn), $(n, "^", dn), $(n, ":", Ge), $(n, ",", Ss), $(n, "$", pn), $(n, ".", ke), $(n, "=", fn), $(n, "!", Es), $(n, "-", me), $(n, "%", ht), $(n, "|", hn), $(n, "+", mn), $(n, "#", Xe), $(n, "?", We), $(n, '"', Ps), $(n, "/", Te), $(n, ";", Ds), $(n, "~", mt), $(n, "_", gn), $(n, "\\", un), $(n, "・", Fo);
2556
2556
  const o = ie(n, Se, $s, {
2557
2557
  [is]: !0
2558
2558
  });
@@ -2580,8 +2580,8 @@ function pl(e = []) {
2580
2580
  const d = ie(n, zt, Uo, {
2581
2581
  [Ho]: !0
2582
2582
  });
2583
- $(d, "#"), ie(d, zt, d), $(d, cl, d);
2584
- const h = $(d, dl);
2583
+ $(d, "#"), ie(d, zt, d), $(d, ul, d);
2584
+ const h = $(d, cl);
2585
2585
  $(h, "#"), ie(h, zt, d);
2586
2586
  const g = [[_e, a], [Se, s]], w = [[_e, null], [Ye, r], [Se, i]];
2587
2587
  for (let b = 0; b < Bt.length; b++)
@@ -2603,9 +2603,9 @@ function pl(e = []) {
2603
2603
  }, t), e = e.sort((b, x) => b[0] > x[0] ? 1 : -1);
2604
2604
  for (let b = 0; b < e.length; b++) {
2605
2605
  const x = e[b][0], v = e[b][1] ? {
2606
- [al]: !0
2606
+ [il]: !0
2607
2607
  } : {
2608
- [rl]: !0
2608
+ [al]: !0
2609
2609
  };
2610
2610
  x.indexOf("-") >= 0 ? v[ls] = !0 : _e.test(x) ? Se.test(x) ? v[dt] = !0 : v[as] = !0 : v[is] = !0, Zs(n, x, x, v);
2611
2611
  }
@@ -2619,7 +2619,7 @@ function pl(e = []) {
2619
2619
  };
2620
2620
  }
2621
2621
  function Wo(e, t) {
2622
- const n = fl(t.replace(/[A-Z]/g, (r) => r.toLowerCase())), o = n.length, s = [];
2622
+ const n = pl(t.replace(/[A-Z]/g, (r) => r.toLowerCase())), o = n.length, s = [];
2623
2623
  let i = 0, a = 0;
2624
2624
  for (; a < o; ) {
2625
2625
  let r = e, l = null, u = 0, m = null, d = -1, h = -1;
@@ -2638,7 +2638,7 @@ function Wo(e, t) {
2638
2638
  }
2639
2639
  return s;
2640
2640
  }
2641
- function fl(e) {
2641
+ function pl(e) {
2642
2642
  const t = [], n = e.length;
2643
2643
  let o = 0;
2644
2644
  for (; o < n; ) {
@@ -2899,12 +2899,12 @@ function En(e, t) {
2899
2899
  n.prototype[o] = t[o];
2900
2900
  return n.t = e, n;
2901
2901
  }
2902
- const hl = En("email", {
2902
+ const fl = En("email", {
2903
2903
  isLink: !0,
2904
2904
  toHref() {
2905
2905
  return "mailto:" + this.toString();
2906
2906
  }
2907
- }), eo = En("text"), ml = En("nl"), It = En("url", {
2907
+ }), eo = En("text"), hl = En("nl"), It = En("url", {
2908
2908
  isLink: !0,
2909
2909
  /**
2910
2910
  Lowercases relevant parts of the domain and adds the protocol if
@@ -2925,7 +2925,7 @@ const hl = En("email", {
2925
2925
  return e.length >= 2 && e[0].t !== Tt && e[1].t === Ge;
2926
2926
  }
2927
2927
  }), he = (e) => new fe(e);
2928
- function gl({
2928
+ function ml({
2929
2929
  groups: e
2930
2930
  }) {
2931
2931
  const t = e.domain.concat([an, ln, Oe, un, cn, dn, pn, fn, me, $s, ht, hn, mn, Xe, Te, wn, mt, gn]), n = [rn, Ge, Ss, ke, Es, ht, We, Ps, Ds, Qt, Zt, pt, ft, qt, Wt, Gt, Kt, Yt, Jt, Xt, en, tn, nn, sn, on], o = [an, rn, ln, un, cn, dn, pn, fn, me, pt, ft, ht, hn, mn, Xe, We, Te, wn, mt, gn], s = he(), i = $(s, mt);
@@ -2940,7 +2940,7 @@ function gl({
2940
2940
  Q(u, e.domain, d), Q(d, e.domain, d);
2941
2941
  const h = $(d, ke);
2942
2942
  Q(h, e.domain, d);
2943
- const g = he(hl);
2943
+ const g = he(fl);
2944
2944
  Q(h, e.tld, g), Q(h, e.utld, g), $(u, Tt, g);
2945
2945
  const w = $(d, me);
2946
2946
  $(w, me, w), Q(w, e.domain, d), Q(g, e.domain, d), $(g, ke, h), $(g, me, w);
@@ -2980,12 +2980,12 @@ function gl({
2980
2980
  const ne = he();
2981
2981
  Q(q, n, ne), $(q, W, _), Q(X, t, X), Q(X, n, ne), Q(ne, t, X), Q(ne, n, ne), $(X, W, _), $(ne, W, _);
2982
2982
  }
2983
- return $(s, Tt, A), $(s, _s, ml), {
2983
+ return $(s, Tt, A), $(s, _s, hl), {
2984
2984
  start: s,
2985
2985
  tokens: Vo
2986
2986
  };
2987
2987
  }
2988
- function wl(e, t, n) {
2988
+ function gl(e, t, n) {
2989
2989
  let o = n.length, s = 0, i = [], a = [];
2990
2990
  const r = [];
2991
2991
  for (; s < o; ) {
@@ -3021,13 +3021,13 @@ const pe = {
3021
3021
  customSchemes: [],
3022
3022
  initialized: !1
3023
3023
  };
3024
- function vl() {
3025
- pe.scanner = pl(pe.customSchemes);
3024
+ function wl() {
3025
+ pe.scanner = dl(pe.customSchemes);
3026
3026
  for (let e = 0; e < pe.tokenQueue.length; e++)
3027
3027
  pe.tokenQueue[e][1]({
3028
3028
  scanner: pe.scanner
3029
3029
  });
3030
- pe.parser = gl(pe.scanner.tokens);
3030
+ pe.parser = ml(pe.scanner.tokens);
3031
3031
  for (let e = 0; e < pe.pluginQueue.length; e++)
3032
3032
  pe.pluginQueue[e][1]({
3033
3033
  scanner: pe.scanner,
@@ -3036,10 +3036,10 @@ function vl() {
3036
3036
  return pe.initialized = !0, pe;
3037
3037
  }
3038
3038
  function Go(e) {
3039
- return pe.initialized || vl(), wl(pe.parser.start, e, Wo(pe.scanner.start, e));
3039
+ return pe.initialized || wl(), gl(pe.parser.start, e, Wo(pe.scanner.start, e));
3040
3040
  }
3041
3041
  Go.scan = Wo;
3042
- var yl = {
3042
+ var vl = {
3043
3043
  // We don't need the complete named character reference because linkifyHtml
3044
3044
  // does not modify the escape sequences. We do need &nbsp; so that
3045
3045
  // whitespace is parsed properly. Other types of whitespace should already
@@ -3049,7 +3049,7 @@ var yl = {
3049
3049
  lt: "<",
3050
3050
  nbsp: " ",
3051
3051
  quot: '"'
3052
- }, bl = /^#[xX]([A-Fa-f0-9]+)$/, xl = /^#([0-9]+)$/, kl = /^([A-Za-z0-9]+)$/, Tl = (
3052
+ }, yl = /^#[xX]([A-Fa-f0-9]+)$/, bl = /^#([0-9]+)$/, xl = /^([A-Za-z0-9]+)$/, kl = (
3053
3053
  /** @class */
3054
3054
  (function() {
3055
3055
  function e(t) {
@@ -3057,28 +3057,28 @@ var yl = {
3057
3057
  }
3058
3058
  return e.prototype.parse = function(t) {
3059
3059
  if (t) {
3060
- var n = t.match(bl);
3060
+ var n = t.match(yl);
3061
3061
  if (n)
3062
3062
  return String.fromCharCode(parseInt(n[1], 16));
3063
- if (n = t.match(xl), n)
3063
+ if (n = t.match(bl), n)
3064
3064
  return String.fromCharCode(parseInt(n[1], 10));
3065
- if (n = t.match(kl), n)
3065
+ if (n = t.match(xl), n)
3066
3066
  return this.named[n[1]] || "&" + n[1] + ";";
3067
3067
  }
3068
3068
  }, e;
3069
3069
  })()
3070
- ), Cl = /[\t\n\f ]/, Al = /[A-Za-z]/, $l = /\r\n?/g;
3070
+ ), Tl = /[\t\n\f ]/, Cl = /[A-Za-z]/, Al = /\r\n?/g;
3071
3071
  function de(e) {
3072
- return Cl.test(e);
3072
+ return Tl.test(e);
3073
3073
  }
3074
3074
  function to(e) {
3075
- return Al.test(e);
3075
+ return Cl.test(e);
3076
3076
  }
3077
- function _l(e) {
3078
- return e.replace($l, `
3077
+ function $l(e) {
3078
+ return e.replace(Al, `
3079
3079
  `);
3080
3080
  }
3081
- var Sl = (
3081
+ var _l = (
3082
3082
  /** @class */
3083
3083
  (function() {
3084
3084
  function e(t, n, o) {
@@ -3493,7 +3493,7 @@ var Sl = (
3493
3493
  }, e.prototype.tokenize = function(t) {
3494
3494
  this.reset(), this.tokenizePart(t), this.tokenizeEOF();
3495
3495
  }, e.prototype.tokenizePart = function(t) {
3496
- for (this.input += _l(t); this.index < this.input.length; ) {
3496
+ for (this.input += $l(t); this.index < this.input.length; ) {
3497
3497
  var n = this.states[this.state];
3498
3498
  if (n !== void 0)
3499
3499
  n.call(this);
@@ -3532,11 +3532,11 @@ var Sl = (
3532
3532
  return t === "title" && this.input.substring(this.index, this.index + 8) !== "</title>" || t === "style" && this.input.substring(this.index, this.index + 8) !== "</style>" || t === "script" && this.input.substring(this.index, this.index + 9) !== "<\/script>";
3533
3533
  }, e;
3534
3534
  })()
3535
- ), El = (
3535
+ ), Sl = (
3536
3536
  /** @class */
3537
3537
  (function() {
3538
3538
  function e(t, n) {
3539
- n === void 0 && (n = {}), this.options = n, this.token = null, this.startLine = 1, this.startColumn = 0, this.tokens = [], this.tokenizer = new Sl(this, t, n.mode), this._currentAttribute = void 0;
3539
+ n === void 0 && (n = {}), this.options = n, this.token = null, this.startLine = 1, this.startColumn = 0, this.tokens = [], this.tokenizer = new _l(this, t, n.mode), this._currentAttribute = void 0;
3540
3540
  }
3541
3541
  return e.prototype.tokenize = function(t) {
3542
3542
  return this.tokens = [], this.tokenizer.tokenize(t), this.tokens;
@@ -3663,26 +3663,26 @@ var Sl = (
3663
3663
  }, e;
3664
3664
  })()
3665
3665
  );
3666
- function Pl(e, t) {
3667
- var n = new El(new Tl(yl), t);
3666
+ function El(e, t) {
3667
+ var n = new Sl(new kl(vl), t);
3668
3668
  return n.tokenize(e);
3669
3669
  }
3670
- const Ko = "LinkifyResult", vn = "StartTag", Qo = "EndTag", fs = "Chars", Dl = "Comment", Rl = "Doctype";
3671
- function Ll(e, t = {}) {
3672
- const n = Pl(e), o = [], s = [], i = new Rs(t, Il);
3670
+ const Ko = "LinkifyResult", vn = "StartTag", Qo = "EndTag", fs = "Chars", Pl = "Comment", Dl = "Doctype";
3671
+ function Rl(e, t = {}) {
3672
+ const n = El(e), o = [], s = [], i = new Rs(t, Ol);
3673
3673
  for (let a = 0; a < n.length; a++) {
3674
3674
  const r = n[a];
3675
3675
  if (r.type === vn) {
3676
3676
  o.push(r);
3677
3677
  const l = r.tagName.toUpperCase();
3678
- if (!(l === "A" || i.ignoreTags.indexOf(l) >= 0 || i.isIgnoredClass(Hl(r.attributes, "class"))) || r.selfClosing)
3678
+ if (!(l === "A" || i.ignoreTags.indexOf(l) >= 0 || i.isIgnoredClass(Ml(r.attributes, "class"))) || r.selfClosing)
3679
3679
  continue;
3680
3680
  let m = o.length;
3681
- Ol(l, n, ++a, o), a += o.length - m - 1;
3681
+ Bl(l, n, ++a, o), a += o.length - m - 1;
3682
3682
  } else if (r.type !== fs)
3683
3683
  o.push(r);
3684
3684
  else {
3685
- const l = Bl(r.chars, i);
3685
+ const l = Ll(r.chars, i);
3686
3686
  o.push.apply(o, l);
3687
3687
  }
3688
3688
  }
@@ -3694,7 +3694,7 @@ function Ll(e, t = {}) {
3694
3694
  break;
3695
3695
  case vn: {
3696
3696
  let l = "<" + r.tagName;
3697
- r.attributes.length > 0 && (l += " " + Ml(r.attributes).join(" ")), r.selfClosing && (l += " /"), l += ">", s.push(l);
3697
+ r.attributes.length > 0 && (l += " " + Nl(r.attributes).join(" ")), r.selfClosing && (l += " /"), l += ">", s.push(l);
3698
3698
  break;
3699
3699
  }
3700
3700
  case Qo:
@@ -3703,10 +3703,10 @@ function Ll(e, t = {}) {
3703
3703
  case fs:
3704
3704
  s.push(hs(r.chars));
3705
3705
  break;
3706
- case Dl:
3706
+ case Pl:
3707
3707
  s.push(`<!--${hs(r.chars)}-->`);
3708
3708
  break;
3709
- case Rl: {
3709
+ case Dl: {
3710
3710
  let l = `<!DOCTYPE ${r.name}`;
3711
3711
  r.publicIdentifier && (l += ` PUBLIC "${r.publicIdentifier}"`), r.systemIdentifier && (l += ` "${r.systemIdentifier}"`), l += ">", s.push(l);
3712
3712
  break;
@@ -3715,7 +3715,7 @@ function Ll(e, t = {}) {
3715
3715
  }
3716
3716
  return s.join("");
3717
3717
  }
3718
- function Bl(e, t) {
3718
+ function Ll(e, t) {
3719
3719
  const n = Go(e), o = [];
3720
3720
  for (let s = 0; s < n.length; s++) {
3721
3721
  const i = n[s];
@@ -3734,7 +3734,7 @@ function Bl(e, t) {
3734
3734
  }
3735
3735
  return o;
3736
3736
  }
3737
- function Ol(e, t, n, o) {
3737
+ function Bl(e, t, n, o) {
3738
3738
  let s = 1;
3739
3739
  for (; n < t.length && s > 0; ) {
3740
3740
  let i = t[n];
@@ -3742,12 +3742,12 @@ function Ol(e, t, n, o) {
3742
3742
  }
3743
3743
  return o;
3744
3744
  }
3745
- function Il({
3745
+ function Ol({
3746
3746
  tagName: e,
3747
3747
  attributes: t,
3748
3748
  content: n
3749
3749
  }) {
3750
- return `<${e} ${Nl(t)}>${hs(n)}</${e}>`;
3750
+ return `<${e} ${Il(t)}>${hs(n)}</${e}>`;
3751
3751
  }
3752
3752
  function hs(e) {
3753
3753
  return e.replace(/</g, "&lt;").replace(/>/g, "&gt;");
@@ -3755,7 +3755,7 @@ function hs(e) {
3755
3755
  function Zo(e) {
3756
3756
  return e.replace(/"/g, "&quot;");
3757
3757
  }
3758
- function Nl(e) {
3758
+ function Il(e) {
3759
3759
  const t = [];
3760
3760
  for (const n in e) {
3761
3761
  const o = e[n] + "";
@@ -3763,7 +3763,7 @@ function Nl(e) {
3763
3763
  }
3764
3764
  return t.join(" ");
3765
3765
  }
3766
- function Ml(e) {
3766
+ function Nl(e) {
3767
3767
  const t = [];
3768
3768
  for (let n = 0; n < e.length; n++) {
3769
3769
  const o = e[n][0], s = e[n][1] + "";
@@ -3771,16 +3771,16 @@ function Ml(e) {
3771
3771
  }
3772
3772
  return t;
3773
3773
  }
3774
- function Hl(e, t) {
3774
+ function Ml(e, t) {
3775
3775
  for (let n = 0; n < e.length; n++)
3776
3776
  if (e[n][0].toLowerCase() === t)
3777
3777
  return e[n][1];
3778
3778
  return null;
3779
3779
  }
3780
- const zl = {
3780
+ const Hl = {
3781
3781
  class: "wu-flex wu-flex-col wu-gap-2",
3782
3782
  "data-testid": "app-message-text"
3783
- }, jl = ["innerHTML"], ms = /* @__PURE__ */ Y({
3783
+ }, zl = ["innerHTML"], ms = /* @__PURE__ */ Y({
3784
3784
  __name: "app-message-text",
3785
3785
  props: {
3786
3786
  message: {}
@@ -3791,18 +3791,18 @@ const zl = {
3791
3791
  return !s?.title || Cs(t.message) === "contact" ? null : s;
3792
3792
  }), o = f(() => {
3793
3793
  const s = t.message.messageBody || "";
3794
- return /<a\s/i.test(s) ? s : Ll(s, {
3794
+ return /<a\s/i.test(s) ? s : Rl(s, {
3795
3795
  defaultProtocol: "https",
3796
3796
  target: "_blank",
3797
3797
  rel: "noopener noreferrer",
3798
3798
  className: "wu-underline"
3799
3799
  });
3800
3800
  });
3801
- return (s, i) => (p(), C("div", zl, [
3802
- n.value ? (p(), E(sl, {
3801
+ return (s, i) => (p(), C("div", Hl, [
3802
+ n.value ? (p(), E(nl, {
3803
3803
  key: 0,
3804
3804
  preview: n.value
3805
- }, null, 8, ["preview"])) : L("", !0),
3805
+ }, null, 8, ["preview"])) : R("", !0),
3806
3806
  y(U, {
3807
3807
  class: "wu-whitespace-pre-wrap",
3808
3808
  gray: "",
@@ -3810,27 +3810,27 @@ const zl = {
3810
3810
  medium: ""
3811
3811
  }, {
3812
3812
  default: c(() => [
3813
- N("span", { innerHTML: o.value }, null, 8, jl)
3813
+ N("span", { innerHTML: o.value }, null, 8, zl)
3814
3814
  ]),
3815
3815
  _: 1
3816
3816
  })
3817
3817
  ]));
3818
3818
  }
3819
- }), Fl = {
3820
- _grouped_images: Tr,
3821
- interactive: Nr,
3822
- document: Hr,
3819
+ }), jl = {
3820
+ _grouped_images: kr,
3821
+ interactive: Ir,
3822
+ document: Mr,
3823
3823
  automatic: ms,
3824
- survey: Fr,
3824
+ survey: jr,
3825
3825
  audio: os,
3826
- video: Jr,
3826
+ video: Yr,
3827
3827
  voice: os,
3828
- image: Gr,
3828
+ image: qr,
3829
3829
  text: ms
3830
- }, Ul = (e) => {
3830
+ }, Fl = (e) => {
3831
3831
  const t = e.messageType;
3832
- return t === "audio" || t === "voice" ? os : $n(e).length > 0 ? Br : Fl[t] ?? ms;
3833
- }, Vl = {
3832
+ return t === "audio" || t === "voice" ? os : $n(e).length > 0 ? Lr : jl[t] ?? ms;
3833
+ }, Ul = {
3834
3834
  key: 0,
3835
3835
  class: "wu-w-full wu-flex wu-justify-end wu-h-2",
3836
3836
  "data-testid": "app-message-trailing"
@@ -3856,9 +3856,9 @@ const zl = {
3856
3856
  "data-testid": "app-message-bubble"
3857
3857
  }, [
3858
3858
  ae(l.$slots, "default"),
3859
- o("trailing") ? (p(), C("div", Vl, [
3859
+ o("trailing") ? (p(), C("div", Ul, [
3860
3860
  ae(l.$slots, "trailing")
3861
- ])) : L("", !0)
3861
+ ])) : R("", !0)
3862
3862
  ], 2)
3863
3863
  ], 2));
3864
3864
  }
@@ -3875,10 +3875,10 @@ const zl = {
3875
3875
  class: Z(["wu-animate-pulse wu-bg-gray-200 dark:wu-bg-neutral-700", [o.value, n.value]])
3876
3876
  }, null, 2));
3877
3877
  }
3878
- }), Wl = {
3878
+ }), Vl = {
3879
3879
  class: "wu-typing__dots",
3880
3880
  "aria-hidden": "true"
3881
- }, ql = /* @__PURE__ */ Y({
3881
+ }, Wl = /* @__PURE__ */ Y({
3882
3882
  __name: "app-typing",
3883
3883
  props: {
3884
3884
  small: Boolean
@@ -3892,7 +3892,7 @@ const zl = {
3892
3892
  "aria-label": "Digitando",
3893
3893
  "data-testid": "app-typing"
3894
3894
  }, [
3895
- N("div", Wl, [
3895
+ N("div", Vl, [
3896
3896
  (p(), C(se, null, le(3, (a) => N("span", {
3897
3897
  key: a,
3898
3898
  class: Z(o.value),
@@ -3902,7 +3902,7 @@ const zl = {
3902
3902
  ])
3903
3903
  ], 2));
3904
3904
  }
3905
- }), Jo = /* @__PURE__ */ ot(ql, [["__scopeId", "data-v-b0aad068"]]), Xo = /* @__PURE__ */ Y({
3905
+ }), Jo = /* @__PURE__ */ ot(Wl, [["__scopeId", "data-v-b0aad068"]]), Xo = /* @__PURE__ */ Y({
3906
3906
  __name: "app-empty",
3907
3907
  props: {
3908
3908
  error: {
@@ -3964,26 +3964,26 @@ const zl = {
3964
3964
  a[4] || (a[4] = T("Tentar novamente", -1))
3965
3965
  ]),
3966
3966
  _: 1
3967
- })) : L("", !0)
3967
+ })) : R("", !0)
3968
3968
  ]),
3969
3969
  _: 3
3970
3970
  }));
3971
3971
  }
3972
- }), Gl = {
3972
+ }), ql = {
3973
3973
  key: 0,
3974
3974
  class: "wu-absolute wu-inset-0 wu-z-10 wu-flex wu-flex-col wu-items-center wu-justify-center wu-gap-2 wu-border-2 wu-border-dashed wu-border-primary wu-bg-white wu-bg-opacity-90 dark:wu-bg-neutral-900 dark:wu-bg-opacity-90",
3975
3975
  "data-testid": "app-chat-drag-overlay"
3976
- }, Kl = { class: "wu-relative wu-flex wu-flex-col wu-flex-1 wu-min-h-0 wu-w-full" }, Ql = {
3976
+ }, Gl = { class: "wu-relative wu-flex wu-flex-col wu-flex-1 wu-min-h-0 wu-w-full" }, Kl = {
3977
3977
  key: 0,
3978
3978
  class: "wu-w-full wu-min-h-4",
3979
3979
  "data-testid": "app-chat-top-spacer"
3980
- }, Zl = {
3980
+ }, Ql = {
3981
3981
  key: 2,
3982
3982
  class: "wu-w-full wu-shrink-0 wu-border-t wu-border-gray-200 wu-flex wu-flex-col dark:wu-border-neutral-700"
3983
- }, Yl = { class: "wu-relative wu-flex wu-items-center wu-justify-center wu-w-8 wu-h-8 wu-rounded-full wu-bg-red-500 wu-bg-opacity-10" }, Jl = {
3983
+ }, Zl = { class: "wu-relative wu-flex wu-items-center wu-justify-center wu-w-8 wu-h-8 wu-rounded-full wu-bg-red-500 wu-bg-opacity-10" }, Yl = {
3984
3984
  key: 0,
3985
3985
  class: "wu-absolute wu-inset-0 wu-rounded-full wu-bg-red-500 wu-bg-opacity-20 wu-animate-ping"
3986
- }, Xl = ["src", "alt"], eu = ["onKeydown", "disabled"], tu = { class: "wu-flex wu-items-center wu-gap-2 wu-w-full wu-justify-end wu-px-6 wu-py-2" }, nu = 100, su = /* @__PURE__ */ Y({
3986
+ }, Jl = ["src", "alt"], Xl = ["onKeydown", "disabled"], eu = { class: "wu-flex wu-items-center wu-gap-2 wu-w-full wu-justify-end wu-px-6 wu-py-2" }, tu = 100, nu = /* @__PURE__ */ Y({
3987
3987
  __name: "app-chat-service",
3988
3988
  props: {
3989
3989
  rule: {},
@@ -3991,33 +3991,33 @@ const zl = {
3991
3991
  },
3992
3992
  emits: ["chat-service-action", "chat-service-message-action"],
3993
3993
  setup(e, { emit: t }) {
3994
- const n = e, o = t, { history: s, chat: i, language: a } = st(), { isSendingMessage: r, isErrorLoading: l, attachments: u, isFinished: m, isLoading: d, messages: h, isTyping: g, audio: w, text: b } = i, { isRecording: x, formattedDuration: A, start: v, stop: k, cancel: _ } = fr(), P = f(() => s.value.length > 0), j = H(null), V = H(null), I = H(!1), O = H(!1), M = f(() => ya(h.value)), G = H(null), B = f(() => !!(u.value.length || w.value)), W = f(() => !!(B.value || b.value.trim())), q = f(() => !!n.rule.settings?.features?.sendAttachment), X = f(() => r.value || !!w.value || O.value), ne = f(() => r.value || B.value || O.value), re = f(() => q.value && !X.value), oe = H(!1);
3994
+ const n = e, o = t, { history: s, chat: i, language: a } = st(), { isSendingMessage: r, isErrorLoading: l, attachments: u, isFinished: m, isLoading: d, messages: h, isTyping: g, audio: w, text: b } = i, { isRecording: x, formattedDuration: A, start: v, stop: k, cancel: _ } = pr(), P = f(() => s.value.length > 0), j = H(null), V = H(null), I = H(!1), O = H(!1), M = f(() => va(h.value)), G = H(null), B = f(() => !!(u.value.length || w.value)), W = f(() => !!(B.value || b.value.trim())), q = f(() => !!n.rule.settings?.features?.sendAttachment), X = f(() => r.value || !!w.value || O.value), ne = f(() => r.value || B.value || O.value), re = f(() => q.value && !X.value), oe = H(!1);
3995
3995
  let ue = null;
3996
- const Dt = f(() => (n.rule.settings?.features?.quickReplies ?? []).map((S) => S[a.value] ?? S["pt-BR"] ?? Object.values(S)[0] ?? "").filter(Boolean)), Pi = f(() => h.value.filter((D) => D.from === "contact")), Di = f(
3997
- () => Dt.value.length > 0 && Pi.value.length === 0 && !m.value
3998
- ), Ns = f(() => r.value || B.value || O.value), Ri = () => {
3999
- const D = j.value;
4000
- if (!D) return;
4001
- const S = D.scrollHeight - D.scrollTop - D.clientHeight;
4002
- I.value = S > nu;
4003
- }, at = (D = !0) => {
3996
+ const Dt = f(() => (n.rule.settings?.features?.quickReplies ?? []).map((S) => S[a.value] ?? S["pt-BR"] ?? Object.values(S)[0] ?? "").filter(Boolean)), Pi = f(
3997
+ () => Dt.value.length > 0 && h.value.length === 0 && !m.value
3998
+ ), Ns = f(() => r.value || B.value || O.value), Di = () => {
3999
+ const L = j.value;
4000
+ if (!L) return;
4001
+ const S = L.scrollHeight - L.scrollTop - L.clientHeight;
4002
+ I.value = S > tu;
4003
+ }, at = (L = !0) => {
4004
4004
  const S = j.value;
4005
- S && (S.scrollTo({ top: S.scrollHeight, behavior: D ? "smooth" : "auto" }), I.value = !1);
4006
- }, Rt = (D = !0) => {
4007
- I.value || at(D);
4008
- }, Li = () => {
4005
+ S && (S.scrollTo({ top: S.scrollHeight, behavior: L ? "smooth" : "auto" }), I.value = !1);
4006
+ }, Rt = (L = !0) => {
4007
+ I.value || at(L);
4008
+ }, Ri = () => {
4009
4009
  X.value || G.value?.click();
4010
- }, On = (D) => {
4011
- D && URL.revokeObjectURL(D);
4012
- }, Bi = () => {
4013
- u.value.forEach((D) => On(D.previewUrl)), u.value = [];
4010
+ }, On = (L) => {
4011
+ L && URL.revokeObjectURL(L);
4012
+ }, Li = () => {
4013
+ u.value.forEach((L) => On(L.previewUrl)), u.value = [];
4014
4014
  }, In = () => {
4015
4015
  On(w.value?.previewUrl), w.value = null;
4016
- }, Oi = (D) => D.type.startsWith("image/") ? "image" : "document", Nn = (D) => {
4017
- D.length && (In(), u.value = [
4016
+ }, Bi = (L) => L.type.startsWith("image/") ? "image" : "document", Nn = (L) => {
4017
+ L.length && (In(), u.value = [
4018
4018
  ...u.value,
4019
- ...D.map((S) => {
4020
- const K = Oi(S);
4019
+ ...L.map((S) => {
4020
+ const K = Bi(S);
4021
4021
  return {
4022
4022
  file: S,
4023
4023
  type: K,
@@ -4025,20 +4025,20 @@ const zl = {
4025
4025
  };
4026
4026
  })
4027
4027
  ]);
4028
- }, Ii = (D) => {
4029
- Bi(), In(), b.value = "", w.value = {
4030
- file: D,
4031
- previewUrl: URL.createObjectURL(D)
4028
+ }, Oi = (L) => {
4029
+ Li(), In(), b.value = "", w.value = {
4030
+ file: L,
4031
+ previewUrl: URL.createObjectURL(L)
4032
4032
  };
4033
- }, Ni = (D) => {
4034
- const S = D.target, K = Array.from(S.files ?? []);
4033
+ }, Ii = (L) => {
4034
+ const S = L.target, K = Array.from(S.files ?? []);
4035
4035
  Nn(K), S.value = "";
4036
- }, Mi = (D) => {
4037
- if (!D) return [];
4038
- const S = Array.from(D.items ?? []).filter((K) => K.kind === "file").map((K) => K.getAsFile()).filter((K) => !!K);
4039
- return S.length ? S : Array.from(D.files ?? []);
4040
- }, Mn = (D) => {
4041
- const S = D.dataTransfer?.types;
4036
+ }, Ni = (L) => {
4037
+ if (!L) return [];
4038
+ const S = Array.from(L.items ?? []).filter((K) => K.kind === "file").map((K) => K.getAsFile()).filter((K) => !!K);
4039
+ return S.length ? S : Array.from(L.files ?? []);
4040
+ }, Mn = (L) => {
4041
+ const S = L.dataTransfer?.types;
4042
4042
  return S ? Array.from(S).includes("Files") : !1;
4043
4043
  }, Hn = () => {
4044
4044
  ue && (clearTimeout(ue), ue = null);
@@ -4046,67 +4046,67 @@ const zl = {
4046
4046
  Hn(), ue = setTimeout(() => {
4047
4047
  oe.value = !1;
4048
4048
  }, 300);
4049
- }, Hi = (D) => {
4049
+ }, Mi = (L) => {
4050
4050
  if (!re.value) return;
4051
- const S = Mi(D.clipboardData);
4052
- S.length && (D.preventDefault(), Nn(S));
4053
- }, zi = (D) => {
4054
- !re.value || !Mn(D) || (D.preventDefault(), D.dataTransfer && (D.dataTransfer.dropEffect = "copy"), oe.value = !0, Ms());
4055
- }, ji = (D) => {
4056
- !re.value || !Mn(D) || Ms();
4057
- }, Fi = (D) => {
4058
- if (!re.value || !Mn(D)) return;
4059
- D.preventDefault(), Hn(), oe.value = !1;
4060
- const S = Array.from(D.dataTransfer?.files ?? []);
4051
+ const S = Ni(L.clipboardData);
4052
+ S.length && (L.preventDefault(), Nn(S));
4053
+ }, Hi = (L) => {
4054
+ !re.value || !Mn(L) || (L.preventDefault(), L.dataTransfer && (L.dataTransfer.dropEffect = "copy"), oe.value = !0, Ms());
4055
+ }, zi = (L) => {
4056
+ !re.value || !Mn(L) || Ms();
4057
+ }, ji = (L) => {
4058
+ if (!re.value || !Mn(L)) return;
4059
+ L.preventDefault(), Hn(), oe.value = !1;
4060
+ const S = Array.from(L.dataTransfer?.files ?? []);
4061
4061
  S.length && Nn(S);
4062
- }, Ui = (D) => {
4063
- On(u.value[D]?.previewUrl), u.value = u.value.filter((S, K) => K !== D);
4064
- }, Vi = () => {
4062
+ }, Fi = (L) => {
4063
+ On(u.value[L]?.previewUrl), u.value = u.value.filter((S, K) => K !== L);
4064
+ }, Ui = () => {
4065
4065
  In();
4066
- }, Wi = async () => {
4066
+ }, Vi = async () => {
4067
4067
  ne.value || !await v() || (b.value = "", O.value = !0);
4068
- }, qi = async () => {
4068
+ }, Wi = async () => {
4069
4069
  await _(), O.value = !1;
4070
- }, Gi = async () => {
4071
- const D = await k();
4072
- O.value = !1, D && Ii(D);
4073
- }, rt = (D) => o("chat-service-action", D), Hs = () => {
4070
+ }, qi = async () => {
4071
+ const L = await k();
4072
+ O.value = !1, L && Oi(L);
4073
+ }, rt = (L) => o("chat-service-action", L), Hs = () => {
4074
4074
  at(), rt({ action: "send-message" });
4075
- }, Ki = (D) => {
4076
- Ns.value || !D.trim() || (b.value = D, at(), rt({ action: "send-message" }));
4075
+ }, Gi = (L) => {
4076
+ Ns.value || !L.trim() || (b.value = L, at(), rt({ action: "send-message" }));
4077
4077
  };
4078
4078
  ce(
4079
4079
  () => M.value.length,
4080
4080
  async () => {
4081
4081
  await Ne(), Rt();
4082
4082
  }
4083
- ), ce(g, (D) => {
4084
- D && Rt();
4083
+ ), ce(g, (L) => {
4084
+ L && Rt();
4085
4085
  });
4086
4086
  let Qe = null;
4087
4087
  const zs = () => {
4088
4088
  Qe?.disconnect(), Qe = null;
4089
- const D = V.value;
4090
- !D || typeof ResizeObserver > "u" || (Qe = new ResizeObserver(() => {
4089
+ const L = V.value;
4090
+ !L || typeof ResizeObserver > "u" || (Qe = new ResizeObserver(() => {
4091
4091
  Rt(!1);
4092
- }), Qe.observe(D));
4092
+ }), Qe.observe(L));
4093
4093
  };
4094
- ce(d, async (D) => {
4095
- D || (await Ne(), zs(), Rt(!1));
4094
+ ce(d, async (L) => {
4095
+ L || (await Ne(), zs(), Rt(!1));
4096
4096
  }), ks(async () => {
4097
4097
  at(!1), await Ne(), zs();
4098
4098
  }), Pt(() => {
4099
4099
  Hn(), Qe?.disconnect(), Qe = null;
4100
4100
  });
4101
- const js = (D) => D.from === "contact" ? "contact" : "operator", Qi = (D, S, K) => S[K - 1] ? js(S[K - 1]) === js(D) ? "wu-mt-1" : "wu-mt-4" : "wu-mt-0", Zi = (D) => ma(D.createdAt) || "12:58", Yi = (D) => o("chat-service-message-action", D);
4102
- return (D, S) => (p(), C("div", {
4101
+ const js = (L) => L.from === "contact" ? "contact" : "operator", Ki = (L, S, K) => S[K - 1] ? js(S[K - 1]) === js(L) ? "wu-mt-1" : "wu-mt-4" : "wu-mt-0", Qi = (L) => ha(L.createdAt) || "12:58", Zi = (L) => o("chat-service-message-action", L);
4102
+ return (L, S) => (p(), C("div", {
4103
4103
  class: "wu-relative wu-flex wu-flex-col wu-items-center wu-h-full wu-w-full wu-overflow-hidden",
4104
4104
  "data-testid": "app-chat-service",
4105
- onDragover: zi,
4106
- onDragleave: ji,
4107
- onDrop: Fi
4105
+ onDragover: Hi,
4106
+ onDragleave: zi,
4107
+ onDrop: ji
4108
4108
  }, [
4109
- oe.value ? (p(), C("div", Gl, [
4109
+ oe.value ? (p(), C("div", ql, [
4110
4110
  y(z, {
4111
4111
  class: "wu-text-primary",
4112
4112
  large: ""
@@ -4125,22 +4125,22 @@ const zl = {
4125
4125
  ])]),
4126
4126
  _: 1
4127
4127
  })
4128
- ])) : L("", !0),
4129
- N("div", Kl, [
4128
+ ])) : R("", !0),
4129
+ N("div", Gl, [
4130
4130
  N("div", {
4131
4131
  class: "wu-flex wu-flex-col wu-flex-1 wu-min-h-0 wu-w-full wu-px-6 wu-overflow-y-auto",
4132
4132
  ref_key: "messagesList",
4133
4133
  ref: j,
4134
4134
  "data-testid": "app-service-messages",
4135
- onScroll: Ri
4135
+ onScroll: Di
4136
4136
  }, [
4137
4137
  N("div", {
4138
4138
  class: "wu-w-full wu-flex wu-flex-col",
4139
4139
  ref_key: "messagesContent",
4140
4140
  ref: V
4141
4141
  }, [
4142
- P.value ? L("", !0) : (p(), C("div", Ql)),
4143
- R(d) ? (p(), C(se, { key: 1 }, le(10, (K, we) => y(jt, {
4142
+ P.value ? R("", !0) : (p(), C("div", Kl)),
4143
+ D(d) ? (p(), C(se, { key: 1 }, le(10, (K, we) => y(jt, {
4144
4144
  key: we,
4145
4145
  primary: we % 2 === 0,
4146
4146
  secondary: we % 2 === 1
@@ -4152,7 +4152,7 @@ const zl = {
4152
4152
  })
4153
4153
  ]),
4154
4154
  _: 1
4155
- }, 8, ["primary", "secondary"])), 64)) : R(l) ? (p(), E(Xo, {
4155
+ }, 8, ["primary", "secondary"])), 64)) : D(l) ? (p(), E(Xo, {
4156
4156
  key: 2,
4157
4157
  class: "wu-h-full",
4158
4158
  onRefetch: S[0] || (S[0] = (K) => rt({ action: "retry-loading" })),
@@ -4167,12 +4167,12 @@ const zl = {
4167
4167
  key: K.id ?? we,
4168
4168
  primary: K.from !== "contact",
4169
4169
  secondary: K.from === "contact",
4170
- class: Z([Qi(K, M.value, we)])
4170
+ class: Z([Ki(K, M.value, we)])
4171
4171
  }, {
4172
4172
  default: c(() => [
4173
- (p(), E(An(R(Ul)(K)), {
4173
+ (p(), E(An(D(Fl)(K)), {
4174
4174
  message: K,
4175
- onChatServiceMessageAction: Yi
4175
+ onChatServiceMessageAction: Zi
4176
4176
  }, null, 40, ["message"]))
4177
4177
  ]),
4178
4178
  trailing: c(() => [
@@ -4182,14 +4182,14 @@ const zl = {
4182
4182
  medium: ""
4183
4183
  }, {
4184
4184
  default: c(() => [
4185
- T(F(Zi(K)), 1)
4185
+ T(F(Qi(K)), 1)
4186
4186
  ]),
4187
4187
  _: 2
4188
4188
  }, 1024)
4189
4189
  ]),
4190
4190
  _: 2
4191
4191
  }, 1032, ["primary", "secondary", "class"]))), 128)),
4192
- R(g) ? (p(), E(jt, {
4192
+ D(g) ? (p(), E(jt, {
4193
4193
  key: 0,
4194
4194
  class: "wu-mt-1",
4195
4195
  primary: ""
@@ -4198,8 +4198,8 @@ const zl = {
4198
4198
  y(Jo, { small: "" })
4199
4199
  ]),
4200
4200
  _: 1
4201
- })) : L("", !0),
4202
- R(m) ? (p(), E(J, {
4201
+ })) : R("", !0),
4202
+ D(m) ? (p(), E(J, {
4203
4203
  key: 1,
4204
4204
  class: "wu-mt-4",
4205
4205
  "gap-sm": ""
@@ -4244,7 +4244,7 @@ const zl = {
4244
4244
  })
4245
4245
  ]),
4246
4246
  _: 1
4247
- })) : L("", !0)
4247
+ })) : R("", !0)
4248
4248
  ], 64)),
4249
4249
  S[12] || (S[12] = N("div", { class: "wu-w-full wu-min-h-4" }, null, -1))
4250
4250
  ], 512)
@@ -4271,9 +4271,9 @@ const zl = {
4271
4271
  })
4272
4272
  ]),
4273
4273
  _: 1
4274
- })) : L("", !0)
4274
+ })) : R("", !0)
4275
4275
  ]),
4276
- !R(d) && !R(l) && Di.value ? (p(), E(J, {
4276
+ !D(d) && !D(l) && Pi.value ? (p(), E(J, {
4277
4277
  key: 1,
4278
4278
  class: "wu-items-end wu-w-full",
4279
4279
  "data-testid": "app-chat-quick-replies",
@@ -4284,7 +4284,7 @@ const zl = {
4284
4284
  default: c(() => [
4285
4285
  (p(!0), C(se, null, le(Dt.value, (K, we) => (p(), E(te, {
4286
4286
  key: we,
4287
- onClick: (Ji) => Ki(K),
4287
+ onClick: (Yi) => Gi(K),
4288
4288
  disabled: Ns.value,
4289
4289
  outline: "",
4290
4290
  round: "",
@@ -4300,8 +4300,8 @@ const zl = {
4300
4300
  }, 1032, ["onClick", "disabled"]))), 128))
4301
4301
  ]),
4302
4302
  _: 1
4303
- })) : L("", !0),
4304
- !R(d) && !R(l) && e.rule.settings?.features?.sendMessage ? (p(), C("div", Zl, [
4303
+ })) : R("", !0),
4304
+ !D(d) && !D(l) && e.rule.settings?.features?.sendMessage ? (p(), C("div", Ql, [
4305
4305
  O.value ? (p(), E(J, {
4306
4306
  key: 0,
4307
4307
  "data-testid": "app-chat-audio-recording",
@@ -4311,7 +4311,7 @@ const zl = {
4311
4311
  default: c(() => [
4312
4312
  y(te, {
4313
4313
  "data-testid": "app-chat-audio-cancel",
4314
- onClick: qi,
4314
+ onClick: Wi,
4315
4315
  ghost: "",
4316
4316
  small: "",
4317
4317
  icon: ""
@@ -4331,8 +4331,8 @@ const zl = {
4331
4331
  "gap-sm": ""
4332
4332
  }, {
4333
4333
  default: c(() => [
4334
- N("div", Yl, [
4335
- R(x) ? (p(), C("div", Jl)) : L("", !0),
4334
+ N("div", Zl, [
4335
+ D(x) ? (p(), C("div", Yl)) : R("", !0),
4336
4336
  y(z, {
4337
4337
  class: "wu-text-red-500",
4338
4338
  large: ""
@@ -4349,7 +4349,7 @@ const zl = {
4349
4349
  gray: ""
4350
4350
  }, {
4351
4351
  default: c(() => [
4352
- T(F(R(A)), 1)
4352
+ T(F(D(A)), 1)
4353
4353
  ]),
4354
4354
  _: 1
4355
4355
  })
@@ -4358,8 +4358,8 @@ const zl = {
4358
4358
  }),
4359
4359
  y(te, {
4360
4360
  "data-testid": "app-chat-audio-stop",
4361
- onClick: Gi,
4362
- disabled: !R(x),
4361
+ onClick: qi,
4362
+ disabled: !D(x),
4363
4363
  small: "",
4364
4364
  icon: "",
4365
4365
  success: ""
@@ -4376,7 +4376,7 @@ const zl = {
4376
4376
  }, 8, ["disabled"])
4377
4377
  ]),
4378
4378
  _: 1
4379
- })) : R(w) ? (p(), E(J, {
4379
+ })) : D(w) ? (p(), E(J, {
4380
4380
  key: 1,
4381
4381
  "data-testid": "app-chat-audio-preview",
4382
4382
  "padding-md": ""
@@ -4392,12 +4392,12 @@ const zl = {
4392
4392
  default: c(() => [
4393
4393
  y(Sn, {
4394
4394
  class: "wu-flex-1",
4395
- src: R(w).previewUrl
4395
+ src: D(w).previewUrl
4396
4396
  }, null, 8, ["src"]),
4397
4397
  y(te, {
4398
4398
  "data-testid": "app-chat-audio-discard",
4399
- onClick: Vi,
4400
- disabled: R(r),
4399
+ onClick: Ui,
4400
+ disabled: D(r),
4401
4401
  ghost: "",
4402
4402
  small: "",
4403
4403
  icon: ""
@@ -4418,13 +4418,13 @@ const zl = {
4418
4418
  ]),
4419
4419
  _: 1
4420
4420
  })) : (p(), C(se, { key: 2 }, [
4421
- R(u).length ? (p(), E(J, {
4421
+ D(u).length ? (p(), E(J, {
4422
4422
  key: 0,
4423
4423
  class: "wu-px-6 wu-pt-6 wu-overflow-x-auto invisible-scrollbar",
4424
4424
  "data-testid": "app-chat-attachment-preview"
4425
4425
  }, {
4426
4426
  default: c(() => [
4427
- (p(!0), C(se, null, le(R(u), (K, we) => (p(), E(J, {
4427
+ (p(!0), C(se, null, le(D(u), (K, we) => (p(), E(J, {
4428
4428
  class: "wu-items-center",
4429
4429
  key: we,
4430
4430
  "padding-sm": "",
@@ -4438,7 +4438,7 @@ const zl = {
4438
4438
  class: "wu-w-10 wu-h-10 wu-rounded wu-object-cover",
4439
4439
  src: K.previewUrl,
4440
4440
  alt: K.file.name
4441
- }, null, 8, Xl)) : (p(), E(J, {
4441
+ }, null, 8, Jl)) : (p(), E(J, {
4442
4442
  key: 1,
4443
4443
  class: "wu-w-7 wu-h-7 wu-bg-gray-200",
4444
4444
  center: "",
@@ -4489,8 +4489,8 @@ const zl = {
4489
4489
  }, 1024),
4490
4490
  y(te, {
4491
4491
  "data-testid": "app-chat-attachment-discard",
4492
- onClick: (Ji) => Ui(we),
4493
- disabled: R(r),
4492
+ onClick: (Yi) => Fi(we),
4493
+ disabled: D(r),
4494
4494
  ghost: "",
4495
4495
  small: "",
4496
4496
  icon: ""
@@ -4510,16 +4510,16 @@ const zl = {
4510
4510
  }, 1024))), 128))
4511
4511
  ]),
4512
4512
  _: 1
4513
- })) : L("", !0),
4513
+ })) : R("", !0),
4514
4514
  Vs(N("textarea", {
4515
4515
  class: "wu-w-full wu-p-6 wu-resize-none wu-font-primary wu-text-xs wu-bg-transparent wu-text-gray-900 placeholder:wu-text-neutral placeholder:wu-text-xs placeholder:wu-font-normal focus:wu-outline-none dark:wu-text-neutral-100 [&:disabled]:wu-opacity-50",
4516
4516
  "onUpdate:modelValue": S[4] || (S[4] = (K) => So(b) ? b.value = K : null),
4517
4517
  onKeydown: Cn(Ie(Hs, ["exact", "prevent"]), ["enter"]),
4518
- onPaste: Hi,
4518
+ onPaste: Mi,
4519
4519
  placeholder: "Escreva uma mensagem...",
4520
- disabled: R(r)
4521
- }, null, 40, eu), [
4522
- [sa, R(b)]
4520
+ disabled: D(r)
4521
+ }, null, 40, Xl), [
4522
+ [na, D(b)]
4523
4523
  ])
4524
4524
  ], 64)),
4525
4525
  Vs(N("input", {
@@ -4528,15 +4528,15 @@ const zl = {
4528
4528
  type: "file",
4529
4529
  multiple: "",
4530
4530
  "data-testid": "app-chat-file-input",
4531
- onChange: Ni
4531
+ onChange: Ii
4532
4532
  }, null, 544), [
4533
- [oa, !1]
4533
+ [sa, !1]
4534
4534
  ]),
4535
- N("div", tu, [
4535
+ N("div", eu, [
4536
4536
  q.value ? (p(), E(te, {
4537
4537
  key: 0,
4538
4538
  "data-testid": "app-chat-attach-file",
4539
- onClick: Li,
4539
+ onClick: Ri,
4540
4540
  disabled: X.value,
4541
4541
  ghost: "",
4542
4542
  small: "",
@@ -4555,11 +4555,11 @@ const zl = {
4555
4555
  })
4556
4556
  ]),
4557
4557
  _: 1
4558
- }, 8, ["disabled"])) : L("", !0),
4558
+ }, 8, ["disabled"])) : R("", !0),
4559
4559
  q.value ? (p(), E(te, {
4560
4560
  key: 1,
4561
4561
  "data-testid": "app-chat-record-audio",
4562
- onClick: Wi,
4562
+ onClick: Vi,
4563
4563
  disabled: ne.value,
4564
4564
  ghost: "",
4565
4565
  small: "",
@@ -4577,10 +4577,10 @@ const zl = {
4577
4577
  })
4578
4578
  ]),
4579
4579
  _: 1
4580
- }, 8, ["disabled"])) : L("", !0),
4580
+ }, 8, ["disabled"])) : R("", !0),
4581
4581
  y(te, {
4582
4582
  onClick: Hs,
4583
- loading: R(r),
4583
+ loading: D(r),
4584
4584
  disabled: !W.value || O.value,
4585
4585
  small: "",
4586
4586
  icon: ""
@@ -4600,13 +4600,13 @@ const zl = {
4600
4600
  _: 1
4601
4601
  }, 8, ["loading", "disabled"])
4602
4602
  ])
4603
- ])) : L("", !0)
4603
+ ])) : R("", !0)
4604
4604
  ], 32));
4605
4605
  }
4606
- }), ou = {
4606
+ }), su = {
4607
4607
  class: "wu-flex wu-flex-col wu-items-center wu-justify-center wu-h-full wu-w-full wu-px-6",
4608
4608
  "data-testid": "app-voice-service"
4609
- }, iu = { class: "wu-flex wu-items-center wu-justify-center wu-rounded-full wu-bg-gray-100 wu-w-20 wu-h-20 dark:wu-bg-neutral-700" }, au = /* @__PURE__ */ Y({
4609
+ }, ou = { class: "wu-flex wu-items-center wu-justify-center wu-rounded-full wu-bg-gray-100 wu-w-20 wu-h-20 dark:wu-bg-neutral-700" }, iu = /* @__PURE__ */ Y({
4610
4610
  __name: "app-voice-service",
4611
4611
  props: {
4612
4612
  rule: {},
@@ -4614,7 +4614,7 @@ const zl = {
4614
4614
  },
4615
4615
  setup(e) {
4616
4616
  const t = e, n = f(() => t.rule.name || "Ligação");
4617
- return (o, s) => (p(), C("div", ou, [
4617
+ return (o, s) => (p(), C("div", su, [
4618
4618
  y(J, {
4619
4619
  class: "wu-w-full",
4620
4620
  col: "",
@@ -4628,7 +4628,7 @@ const zl = {
4628
4628
  "gap-base": ""
4629
4629
  }, {
4630
4630
  default: c(() => [
4631
- N("div", iu, [
4631
+ N("div", ou, [
4632
4632
  y(z, {
4633
4633
  "extra-large": "",
4634
4634
  gray: ""
@@ -4737,7 +4737,7 @@ const zl = {
4737
4737
  },
4738
4738
  emits: ["chat-service-action", "chat-service-message-action"],
4739
4739
  setup(e, { emit: t }) {
4740
- const n = e, o = t, s = f(() => n.rule.settings?.behavior === "voice" ? au : su);
4740
+ const n = e, o = t, s = f(() => n.rule.settings?.behavior === "voice" ? iu : nu);
4741
4741
  return (i, a) => (p(), E(An(s.value), {
4742
4742
  rule: e.rule,
4743
4743
  edges: e.edges,
@@ -4745,7 +4745,7 @@ const zl = {
4745
4745
  onChatServiceMessageAction: a[1] || (a[1] = (r) => o("chat-service-message-action", r))
4746
4746
  }, null, 40, ["rule", "edges"]));
4747
4747
  }
4748
- }), ru = (e) => {
4748
+ }), au = (e) => {
4749
4749
  const t = (n) => n.toString(16).padStart(2, "0");
4750
4750
  return `#${t(e.r)}${t(e.g)}${t(e.b)}`;
4751
4751
  }, ti = () => {
@@ -4764,11 +4764,11 @@ const zl = {
4764
4764
  },
4765
4765
  normalizeHex: (s) => {
4766
4766
  const i = t(s) ?? t(e);
4767
- return i ? ru(i) : e.toLowerCase();
4767
+ return i ? au(i) : e.toLowerCase();
4768
4768
  },
4769
4769
  parseHex: t
4770
4770
  };
4771
- }, lu = () => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-color-scheme: dark)").matches, ni = (e) => {
4771
+ }, ru = () => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-color-scheme: dark)").matches, ni = (e) => {
4772
4772
  const { isLightHex: t, normalizeHex: n, parseHex: o } = ti(), s = (d, h) => d === "dark" ? "dark" : d === "light" ? "light" : h ? "dark" : "light", i = (d) => {
4773
4773
  const h = n(d), g = o(h) ?? { r: 109, g: 53, b: 149 }, w = t(h);
4774
4774
  return {
@@ -4788,7 +4788,7 @@ const zl = {
4788
4788
  "--wu-primary-900": `color-mix(in srgb, ${h} 22%, black)`
4789
4789
  };
4790
4790
  }, a = (d) => {
4791
- const h = H(lu()), g = f(() => s(ct(d), h.value)), w = f(() => g.value === "dark"), b = f(() => w.value ? "wu-dark" : "");
4791
+ const h = H(ru()), g = f(() => s(ct(d), h.value)), w = f(() => g.value === "dark"), b = f(() => w.value ? "wu-dark" : "");
4792
4792
  return ks(() => {
4793
4793
  if (typeof window > "u" || typeof window.matchMedia != "function") return;
4794
4794
  const x = window.matchMedia("(prefers-color-scheme: dark)");
@@ -4803,10 +4803,10 @@ const zl = {
4803
4803
  colorScheme: u.value
4804
4804
  }));
4805
4805
  return { isDark: r, themeClass: l, resolvedTheme: u, appearanceStyle: m };
4806
- }, uu = { class: "wu-flex wu-flex-col wu-w-full wu-gap-8" }, cu = {
4806
+ }, lu = { class: "wu-flex wu-flex-col wu-w-full wu-gap-8" }, uu = {
4807
4807
  key: 0,
4808
4808
  class: "wu-flex wu-items-center wu-w-fit wu-justify-center wu-h-0"
4809
- }, du = ["src"], pu = {
4809
+ }, cu = ["src"], du = {
4810
4810
  key: 1,
4811
4811
  class: "wu-flex wu-flex-col wu-items-center wu-justify-start wu-gap-2 wu-px-6 wu-w-full"
4812
4812
  }, si = /* @__PURE__ */ Y({
@@ -4818,8 +4818,8 @@ const zl = {
4818
4818
  emits: ["edge-click"],
4819
4819
  setup(e, { emit: t }) {
4820
4820
  const n = e, o = t, { history: s } = st(), i = f(() => s.value.length > 0), a = f(() => n.edges ?? []), r = f(() => n.rule.settings?.body), l = f(() => a.value.slice(0, 3)), u = f(() => a.value.slice(3));
4821
- return (m, d) => (p(), C("div", uu, [
4822
- i.value ? L("", !0) : (p(), C("div", cu)),
4821
+ return (m, d) => (p(), C("div", lu, [
4822
+ i.value ? R("", !0) : (p(), C("div", uu)),
4823
4823
  y(J, {
4824
4824
  class: "wu-px-6 wu-w-full",
4825
4825
  col: "",
@@ -4832,7 +4832,7 @@ const zl = {
4832
4832
  class: "wu-w-10 wu-h-10 wu-object-contain",
4833
4833
  src: r.value.logo,
4834
4834
  alt: ""
4835
- }, null, 8, du)) : L("", !0),
4835
+ }, null, 8, cu)) : R("", !0),
4836
4836
  r.value?.eyebrow ? (p(), E(U, {
4837
4837
  key: 1,
4838
4838
  class: "wu-text-center wu-uppercase wu-tracking-widest wu-leading-none",
@@ -4844,7 +4844,7 @@ const zl = {
4844
4844
  T(F(r.value.eyebrow), 1)
4845
4845
  ]),
4846
4846
  _: 1
4847
- })) : L("", !0),
4847
+ })) : R("", !0),
4848
4848
  r.value?.title ? (p(), E(U, {
4849
4849
  key: 2,
4850
4850
  class: "wu-text-center",
@@ -4855,7 +4855,7 @@ const zl = {
4855
4855
  T(F(r.value.title), 1)
4856
4856
  ]),
4857
4857
  _: 1
4858
- })) : L("", !0),
4858
+ })) : R("", !0),
4859
4859
  r.value?.subtitle ? (p(), E(U, {
4860
4860
  key: 3,
4861
4861
  class: "wu-w-64 wu-text-center",
@@ -4866,8 +4866,8 @@ const zl = {
4866
4866
  T(F(r.value.subtitle), 1)
4867
4867
  ]),
4868
4868
  _: 1
4869
- })) : L("", !0),
4870
- R(s).length > 0 ? (p(), E(J, {
4869
+ })) : R("", !0),
4870
+ D(s).length > 0 ? (p(), E(J, {
4871
4871
  key: 4,
4872
4872
  class: "wu-rounded-full wu-px-2 wu-h-6 wu-bg-primary-500",
4873
4873
  "padding-sm": "",
@@ -4896,11 +4896,11 @@ const zl = {
4896
4896
  })
4897
4897
  ]),
4898
4898
  _: 1
4899
- })) : L("", !0)
4899
+ })) : R("", !0)
4900
4900
  ]),
4901
4901
  _: 1
4902
4902
  }),
4903
- a.value.length ? (p(), C("div", pu, [
4903
+ a.value.length ? (p(), C("div", du, [
4904
4904
  (p(!0), C(se, null, le(l.value, (h) => (p(), E(kt, {
4905
4905
  key: h.id,
4906
4906
  edge: h,
@@ -4916,14 +4916,14 @@ const zl = {
4916
4916
  icon: "",
4917
4917
  onClick: d[1] || (d[1] = (g) => o("edge-click", g))
4918
4918
  }, null, 8, ["edge"]))), 128))
4919
- ], 2)) : L("", !0)
4920
- ])) : L("", !0)
4919
+ ], 2)) : R("", !0)
4920
+ ])) : R("", !0)
4921
4921
  ]));
4922
4922
  }
4923
- }), fu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAVCAYAAAAnzezqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAVtSURBVHgBpVVriFVVFF6Pvc+5c+/MOM2Yo2hq41tDU1EsC50pU9NySqZUDCQiCwWZSKJQGOpHZjhpomOGNkE4pBQUgUIPGAz9Of0oGS0tCpWY0dIf93nO3q1zzzn3Xh+J1oHLPfusvb/v299ea22EO3hmz35RN2XGNyimOrZYr8g0aFZ1RH49k63VbIcogrsI4S6Wb4qhToGRmHwjk5IYypoLiu0hzjrbNn77xiW8FeHS+vdrdQOtR7ZPC8FkhbZOQIDRgIxByU/A5V/GaC2zEMQxLMatxJGL8wwU1wbvEtNk+zGTncc3p7b4+LhhS1SKPhKAdbJwlPwSjGAFFFWJPCQKCYq7sxQQczAHICQ3VkUilGxXYhCtb1Aupm9wYMm9eychwy6FfrMAOEVSARRgGy40AZiNCEMhoQj5FokruWGBKubEDgQiojW/lgTMH3qgpro21y7A7RIcwmWykm2lXcuuigICkBCsTH7NEUFkfXhU5aMxESakVUD+6PiuxcpmdxBioyz+XianZdJ98j+FA9sE/FoBEAriCBgt8o3Hcq2oIqEBSVRLRfFFoWepdWzXWGXsIUDyQJn5Z/Xgyiqb3TCiALOE/G3F5jryEJhjG9HEZ2orRNhYqPyCHCjFCMPNBGMi/Epl2bwpZZNOg7d8qOGWqVj/k9WWLpE9nshnn0ClR8uiuUR2IBLys9j6kOxifAR0kcA/KmBSntDCYB1xpldio8SdExJvkflN8p6Rbz0iplHGj4gDuRzmO3HZhL0DAH6PsXZLyrEXZEIqVihkrxL6fRppTiNU7x5M/F3nopkIKvej67v7RNSElI8LTcIsVWDPofLqFeBWhYMLyW0Yw8ZPkZs/5xrdJyY847KtId+m2cFJhGZE66Ft70hP8V1GHFRUGMaoErGlQfmIkHuUhq/JGhiAS1UJ4DNSt0ll3BccNh0IOMO6djKBeUx8/XPIwIgtucaLrTXpBiw45oi4NC2ZqRruJ7wT5OSvWJ/nogsrRLhHycttQf6RWHFaiKbAVTgvifdLOZHk3BT1SiebGJxllatHir3JwB1AM7lKq8tgC1cdyF9R5B9z0esr3H1xpVidhLqgZ9haweGcylTLZlLaqD0OQX+ygGvBy7/05P796UCAOEB7FHoHsZ6/YJNbRqS3S4LVSLJ+nvTtcd+Fb0RETzVnTuXA3cWE9yvM7/Wsv9BRNAvBP02Mm4DgiuRKL7HfJPkdlR2AZyCoin5A/ztFtMu45ljrJ52b4/JXR05t6F47fedy2fk+1k5nUtFWT9usk4epvvK/lDqdIVb2ZD13dEL5n0nh73ZJr0A0r8lxDWfG88yFNcqolAh/Oej7iJnpijQFx+kmaLpGmCkDR1xa7fxR3V/Z+EqNaN3M9553yWwVu8YU7SdLHOcCweua/F4RclJihkulCRgdmYlqn+JykzuhWO86KlsKy/Lwko+3P1spgOKX7r72g57NLZIS+kAI0kylboYaTZNCfCDIBWmtFDSeiDyub1Jxb6C4xmNxIU4gRHJmx/Wt/6a34eYH3xoHpFdLpm+SnQ2N22h4sQgYhgTXdb+wQVV8q2xg0tQ+XdT97qrbEhA/Hcs7kphxnhMHXhGQCSIg6v8QVkkwrrA7uqyKIsN2W7wJAwHS17w5zd07f7sjASUhHR1UcxIXCFg7sV0sgnTZARNdMCAiDKqKS6d8kZmNzQc799wM+7YExE9bWxu3ZKctEGvbmf1FQuaWGxdAOQHLF5EIPqN0et7DXV1//W8BlU/XUx3Dqtlbr8msF7KRlW6UckaaHLC3qvnDnT/8G85/FhA/h9s6HFKZVulya6SC5Ao30l3xdym7o5C2B5p7dgzeav0/0mtgehRo/YYAAAAASUVORK5CYII=", hu = { class: "wu-flex wu-flex-col wu-h-full wu-w-full wu-bg-white wu-overflow-hidden dark:wu-bg-neutral-800" }, mu = { class: "wu-w-full wu-shrink-0 wu-border-b wu-flex wu-items-center wu-px-4 wu-justify-between wu-gap-2 wu-bg-primary wu-h-[4.4rem] wu-text-[var(--wu-primary-fg)] wu-border-[var(--wu-primary-border)]" }, gu = { class: "wu-flex wu-items-center wu-gap-3 wu-min-w-0 wu-flex-1" }, wu = ["src"], vu = { class: "wu-flex wu-flex-col wu-justify-center wu-min-w-0 wu-overflow-hidden" }, yu = { class: "wu-flex wu-flex-col wu-w-full wu-flex-1 wu-min-h-0" }, bu = {
4923
+ }), pu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAVCAYAAAAnzezqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAVtSURBVHgBpVVriFVVFF6Pvc+5c+/MOM2Yo2hq41tDU1EsC50pU9NySqZUDCQiCwWZSKJQGOpHZjhpomOGNkE4pBQUgUIPGAz9Of0oGS0tCpWY0dIf93nO3q1zzzn3Xh+J1oHLPfusvb/v299ea22EO3hmz35RN2XGNyimOrZYr8g0aFZ1RH49k63VbIcogrsI4S6Wb4qhToGRmHwjk5IYypoLiu0hzjrbNn77xiW8FeHS+vdrdQOtR7ZPC8FkhbZOQIDRgIxByU/A5V/GaC2zEMQxLMatxJGL8wwU1wbvEtNk+zGTncc3p7b4+LhhS1SKPhKAdbJwlPwSjGAFFFWJPCQKCYq7sxQQczAHICQ3VkUilGxXYhCtb1Aupm9wYMm9eychwy6FfrMAOEVSARRgGy40AZiNCEMhoQj5FokruWGBKubEDgQiojW/lgTMH3qgpro21y7A7RIcwmWykm2lXcuuigICkBCsTH7NEUFkfXhU5aMxESakVUD+6PiuxcpmdxBioyz+XianZdJ98j+FA9sE/FoBEAriCBgt8o3Hcq2oIqEBSVRLRfFFoWepdWzXWGXsIUDyQJn5Z/Xgyiqb3TCiALOE/G3F5jryEJhjG9HEZ2orRNhYqPyCHCjFCMPNBGMi/Epl2bwpZZNOg7d8qOGWqVj/k9WWLpE9nshnn0ClR8uiuUR2IBLys9j6kOxifAR0kcA/KmBSntDCYB1xpldio8SdExJvkflN8p6Rbz0iplHGj4gDuRzmO3HZhL0DAH6PsXZLyrEXZEIqVihkrxL6fRppTiNU7x5M/F3nopkIKvej67v7RNSElI8LTcIsVWDPofLqFeBWhYMLyW0Yw8ZPkZs/5xrdJyY847KtId+m2cFJhGZE66Ft70hP8V1GHFRUGMaoErGlQfmIkHuUhq/JGhiAS1UJ4DNSt0ll3BccNh0IOMO6djKBeUx8/XPIwIgtucaLrTXpBiw45oi4NC2ZqRruJ7wT5OSvWJ/nogsrRLhHycttQf6RWHFaiKbAVTgvifdLOZHk3BT1SiebGJxllatHir3JwB1AM7lKq8tgC1cdyF9R5B9z0esr3H1xpVidhLqgZ9haweGcylTLZlLaqD0OQX+ygGvBy7/05P796UCAOEB7FHoHsZ6/YJNbRqS3S4LVSLJ+nvTtcd+Fb0RETzVnTuXA3cWE9yvM7/Wsv9BRNAvBP02Mm4DgiuRKL7HfJPkdlR2AZyCoin5A/ztFtMu45ljrJ52b4/JXR05t6F47fedy2fk+1k5nUtFWT9usk4epvvK/lDqdIVb2ZD13dEL5n0nh73ZJr0A0r8lxDWfG88yFNcqolAh/Oej7iJnpijQFx+kmaLpGmCkDR1xa7fxR3V/Z+EqNaN3M9553yWwVu8YU7SdLHOcCweua/F4RclJihkulCRgdmYlqn+JykzuhWO86KlsKy/Lwko+3P1spgOKX7r72g57NLZIS+kAI0kylboYaTZNCfCDIBWmtFDSeiDyub1Jxb6C4xmNxIU4gRHJmx/Wt/6a34eYH3xoHpFdLpm+SnQ2N22h4sQgYhgTXdb+wQVV8q2xg0tQ+XdT97qrbEhA/Hcs7kphxnhMHXhGQCSIg6v8QVkkwrrA7uqyKIsN2W7wJAwHS17w5zd07f7sjASUhHR1UcxIXCFg7sV0sgnTZARNdMCAiDKqKS6d8kZmNzQc799wM+7YExE9bWxu3ZKctEGvbmf1FQuaWGxdAOQHLF5EIPqN0et7DXV1//W8BlU/XUx3Dqtlbr8msF7KRlW6UckaaHLC3qvnDnT/8G85/FhA/h9s6HFKZVulya6SC5Ao30l3xdym7o5C2B5p7dgzeav0/0mtgehRo/YYAAAAASUVORK5CYII=", fu = { class: "wu-flex wu-flex-col wu-h-full wu-w-full wu-bg-white wu-overflow-hidden dark:wu-bg-neutral-800" }, hu = { class: "wu-w-full wu-shrink-0 wu-border-b wu-flex wu-items-center wu-px-4 wu-justify-between wu-gap-2 wu-bg-primary wu-h-[4.4rem] wu-text-[var(--wu-primary-fg)] wu-border-[var(--wu-primary-border)]" }, mu = { class: "wu-flex wu-items-center wu-gap-3 wu-min-w-0 wu-flex-1" }, gu = ["src"], wu = { class: "wu-flex wu-flex-col wu-justify-center wu-min-w-0 wu-overflow-hidden" }, vu = { class: "wu-flex wu-flex-col wu-w-full wu-flex-1 wu-min-h-0" }, yu = {
4924
4924
  key: 0,
4925
4925
  class: "wu-flex wu-shrink-0 wu-items-center wu-w-fit wu-justify-center wu-px-6 wu-py-4"
4926
- }, xu = { class: "wu-flex wu-flex-col wu-w-full wu-flex-1 wu-min-h-0 wu-overflow-y-auto wu-gap-8" }, ku = { class: "wu-h-7 wu-w-full wu-shrink-0 wu-border-t wu-border-gray-200 wu-flex wu-items-center wu-justify-center wu-p-2 wu-gap-1 wu-bg-white dark:wu-border-neutral-700 dark:wu-bg-neutral-800" }, Tu = ["src"], Cu = /* @__PURE__ */ Y({
4926
+ }, bu = { class: "wu-flex wu-flex-col wu-w-full wu-flex-1 wu-min-h-0 wu-overflow-y-auto wu-gap-8" }, xu = { class: "wu-h-7 wu-w-full wu-shrink-0 wu-border-t wu-border-gray-200 wu-flex wu-items-center wu-justify-center wu-p-2 wu-gap-1 wu-bg-white dark:wu-border-neutral-700 dark:wu-bg-neutral-800" }, ku = ["src"], Tu = /* @__PURE__ */ Y({
4927
4927
  inheritAttrs: !1,
4928
4928
  __name: "app-widget-view",
4929
4929
  props: {
@@ -4951,40 +4951,40 @@ const zl = {
4951
4951
  return v && v in b ? b[v] : void 0;
4952
4952
  }), A = f(() => n.fullscreen ? "wu-w-full wu-h-[100dvh] wu-max-h-full" : "wu-w-[24.4rem] wu-h-[38rem] widget-shadow wu-rounded-2xl");
4953
4953
  return (v, k) => (p(), C("div", {
4954
- class: Z(["yunique wu-overflow-hidden wu-relative", [A.value, R(d)]]),
4954
+ class: Z(["yunique wu-overflow-hidden wu-relative", [A.value, D(d)]]),
4955
4955
  "data-testid": "app-widget-view",
4956
- style: ye(R(m))
4956
+ style: ye(D(m))
4957
4957
  }, [
4958
- N("div", hu, [
4959
- N("div", mu, [
4960
- N("div", gu, [
4961
- R(a)?.logo ? (p(), C("img", {
4958
+ N("div", fu, [
4959
+ N("div", hu, [
4960
+ N("div", mu, [
4961
+ D(a)?.logo ? (p(), C("img", {
4962
4962
  key: 0,
4963
4963
  class: "wu-w-9 wu-h-9 wu-object-contain wu-rounded-lg wu-shrink-0",
4964
- src: R(a).logo,
4964
+ src: D(a).logo,
4965
4965
  alt: ""
4966
- }, null, 8, wu)) : L("", !0),
4967
- N("div", vu, [
4968
- R(a)?.title ? (p(), E(U, {
4966
+ }, null, 8, gu)) : R("", !0),
4967
+ N("div", wu, [
4968
+ D(a)?.title ? (p(), E(U, {
4969
4969
  key: 0,
4970
4970
  class: "wu-w-full wu-truncate !wu-text-inherit",
4971
4971
  bold: ""
4972
4972
  }, {
4973
4973
  default: c(() => [
4974
- T(F(R(a).title), 1)
4974
+ T(F(D(a).title), 1)
4975
4975
  ]),
4976
4976
  _: 1
4977
- })) : L("", !0),
4978
- R(a)?.subtitle ? (p(), E(U, {
4977
+ })) : R("", !0),
4978
+ D(a)?.subtitle ? (p(), E(U, {
4979
4979
  key: 1,
4980
4980
  class: "wu-w-full wu-truncate !wu-text-inherit wu-opacity-75",
4981
4981
  "extra-small": ""
4982
4982
  }, {
4983
4983
  default: c(() => [
4984
- T(F(R(a).subtitle), 1)
4984
+ T(F(D(a).subtitle), 1)
4985
4985
  ]),
4986
4986
  _: 1
4987
- })) : L("", !0)
4987
+ })) : R("", !0)
4988
4988
  ])
4989
4989
  ]),
4990
4990
  w.value ? (p(), E(te, {
@@ -5004,9 +5004,9 @@ const zl = {
5004
5004
  })
5005
5005
  ]),
5006
5006
  _: 1
5007
- })) : L("", !0)
5007
+ })) : R("", !0)
5008
5008
  ]),
5009
- N("div", yu, [
5009
+ N("div", vu, [
5010
5010
  y(Eo, {
5011
5011
  name: "page-transition",
5012
5012
  mode: "out-in"
@@ -5014,9 +5014,9 @@ const zl = {
5014
5014
  default: c(() => [
5015
5015
  (p(), C("div", {
5016
5016
  class: "wu-flex wu-flex-col wu-w-full wu-h-full wu-min-h-0",
5017
- key: R(i)?.id
5017
+ key: D(i)?.id
5018
5018
  }, [
5019
- g.value ? (p(), C("div", bu, [
5019
+ g.value ? (p(), C("div", yu, [
5020
5020
  N("div", {
5021
5021
  class: "wu-flex wu-items-center wu-w-fit wu-justify-center wu-cursor-pointer wu-group",
5022
5022
  onClick: k[1] || (k[1] = (_) => o("back"))
@@ -5043,30 +5043,30 @@ const zl = {
5043
5043
  _: 1
5044
5044
  })
5045
5045
  ])
5046
- ])) : L("", !0),
5047
- N("div", xu, [
5048
- x.value && R(i) ? (p(), E(An(x.value), {
5046
+ ])) : R("", !0),
5047
+ N("div", bu, [
5048
+ x.value && D(i) ? (p(), E(An(x.value), {
5049
5049
  key: 0,
5050
- rule: R(i),
5051
- edges: R(r),
5050
+ rule: D(i),
5051
+ edges: D(r),
5052
5052
  onSubmit: k[2] || (k[2] = (_) => o("submit", _)),
5053
5053
  onBack: k[3] || (k[3] = (_) => o("back")),
5054
5054
  onEdgeClick: k[4] || (k[4] = (_) => o("edge-click", _)),
5055
5055
  onChatServiceAction: k[5] || (k[5] = (_) => o("chat-service-action", _)),
5056
5056
  onChatServiceMessageAction: k[6] || (k[6] = (_) => o("chat-service-message-action", _))
5057
- }, null, 40, ["rule", "edges"])) : L("", !0)
5057
+ }, null, 40, ["rule", "edges"])) : R("", !0)
5058
5058
  ])
5059
5059
  ]))
5060
5060
  ]),
5061
5061
  _: 1
5062
5062
  })
5063
5063
  ]),
5064
- N("div", ku, [
5064
+ N("div", xu, [
5065
5065
  N("img", {
5066
5066
  class: "wu-w-3 wu-h-2",
5067
- src: R(fu),
5067
+ src: D(pu),
5068
5068
  alt: "Opens"
5069
- }, null, 8, Tu),
5069
+ }, null, 8, ku),
5070
5070
  y(U, {
5071
5071
  class: "!wu-text-xxs",
5072
5072
  gray: ""
@@ -5081,7 +5081,7 @@ const zl = {
5081
5081
  ])
5082
5082
  ], 6));
5083
5083
  }
5084
- }), oi = /* @__PURE__ */ ot(Cu, [["__scopeId", "data-v-700b6585"]]), Au = { class: "wu-flex wu-h-full wu-pl-3 wu-gap-2 wu-z-10 wu-pointer-events-none" }, $u = { class: "wu-h-full wu-flex wu-items-center wu-justify-center" }, _u = ["value", "type", "disabled", "maxlength"], Su = { class: "wu-absolute wu-right-2 wu-z-10 wu-flex wu-items-center wu-gap-1 wu-text-gray-500" }, Eu = /* @__PURE__ */ Y({
5084
+ }), oi = /* @__PURE__ */ ot(Tu, [["__scopeId", "data-v-700b6585"]]), Cu = { class: "wu-flex wu-h-full wu-pl-3 wu-gap-2 wu-z-10 wu-pointer-events-none" }, Au = { class: "wu-h-full wu-flex wu-items-center wu-justify-center" }, $u = ["value", "type", "disabled", "maxlength"], _u = { class: "wu-absolute wu-right-2 wu-z-10 wu-flex wu-items-center wu-gap-1 wu-text-gray-500" }, Su = /* @__PURE__ */ Y({
5085
5085
  __name: "app-text-input",
5086
5086
  props: {
5087
5087
  modelValue: { default: "" },
@@ -5137,7 +5137,7 @@ const zl = {
5137
5137
  focus: l,
5138
5138
  content: r
5139
5139
  }), (j, V) => (p(), E(J, {
5140
- class: Z([R(w)]),
5140
+ class: Z([D(w)]),
5141
5141
  col: "",
5142
5142
  "gap-none": ""
5143
5143
  }, {
@@ -5156,13 +5156,13 @@ const zl = {
5156
5156
  ae(j.$slots, "label")
5157
5157
  ]),
5158
5158
  _: 3
5159
- })) : L("", !0),
5159
+ })) : R("", !0),
5160
5160
  N("label", {
5161
- class: Z(["wu-relative wu-flex wu-flex-col wu-justify-center wu-items-start wu-border wu-cursor-text wu-transition-colors wu-w-full wu-bg-transparent", [k.value, _.value, R(h), b.value]]),
5161
+ class: Z(["wu-relative wu-flex wu-flex-col wu-justify-center wu-items-start wu-border wu-cursor-text wu-transition-colors wu-w-full wu-bg-transparent", [k.value, _.value, D(h), b.value]]),
5162
5162
  "data-testid": "app-text-input"
5163
5163
  }, [
5164
- N("div", Au, [
5165
- N("div", $u, [
5164
+ N("div", Cu, [
5165
+ N("div", Au, [
5166
5166
  !e.loading && a("icon") ? (p(), E(z, {
5167
5167
  key: 0,
5168
5168
  small: ""
@@ -5171,7 +5171,7 @@ const zl = {
5171
5171
  ae(j.$slots, "icon")
5172
5172
  ]),
5173
5173
  _: 3
5174
- })) : L("", !0),
5174
+ })) : R("", !0),
5175
5175
  e.loading ? (p(), E(z, {
5176
5176
  key: 1,
5177
5177
  class: "wu-animate-spin",
@@ -5182,7 +5182,7 @@ const zl = {
5182
5182
  T("progress_activity", -1)
5183
5183
  ])]),
5184
5184
  _: 1
5185
- })) : L("", !0)
5185
+ })) : R("", !0)
5186
5186
  ]),
5187
5187
  y(U, {
5188
5188
  class: Z(["wu-py-1 wu-transition", [A.value]]),
@@ -5197,7 +5197,7 @@ const zl = {
5197
5197
  }, 8, ["class"])
5198
5198
  ]),
5199
5199
  N("input", {
5200
- class: Z(["wu-absolute wu-inset-0 wu-w-full wu-h-full wu-outline-none wu-appearance-none wu-bg-transparent wu-pt-3 wu-pr-3 wu-text-gray-700 wu-font-primary wu-z-0", [R(g), v.value, k.value]]),
5200
+ class: Z(["wu-absolute wu-inset-0 wu-w-full wu-h-full wu-outline-none wu-appearance-none wu-bg-transparent wu-pt-3 wu-pr-3 wu-text-gray-700 wu-font-primary wu-z-0", [D(g), v.value, k.value]]),
5201
5201
  value: r.value,
5202
5202
  type: e.passwordToggle && u.value ? "text" : e.type,
5203
5203
  disabled: e.disabled || e.loading,
@@ -5206,8 +5206,8 @@ const zl = {
5206
5206
  onFocus: V[0] || (V[0] = (I) => l.value = !0),
5207
5207
  onBlur: V[1] || (V[1] = (I) => l.value = !1),
5208
5208
  onKeyup: V[2] || (V[2] = Cn((I) => s("keyup-enter"), ["enter"]))
5209
- }, null, 42, _u),
5210
- N("div", Su, [
5209
+ }, null, 42, $u),
5210
+ N("div", _u, [
5211
5211
  e.maxLength ? (p(), E(U, {
5212
5212
  key: 0,
5213
5213
  small: ""
@@ -5216,7 +5216,7 @@ const zl = {
5216
5216
  T(F(`${r.value.length} / ${e.maxLength}`), 1)
5217
5217
  ]),
5218
5218
  _: 1
5219
- })) : L("", !0),
5219
+ })) : R("", !0),
5220
5220
  e.type === "password" && e.passwordToggle ? (p(), C("button", {
5221
5221
  key: 1,
5222
5222
  class: "wu-bg-transparent wu-border-0 wu-p-0 wu-cursor-pointer wu-flex wu-items-center",
@@ -5233,7 +5233,7 @@ const zl = {
5233
5233
  ]),
5234
5234
  _: 1
5235
5235
  })
5236
- ])) : L("", !0),
5236
+ ])) : R("", !0),
5237
5237
  ae(j.$slots, "suffix")
5238
5238
  ])
5239
5239
  ], 2)
@@ -5245,12 +5245,12 @@ const zl = {
5245
5245
  class: Z(["wu-mt-1", [x.value]])
5246
5246
  }, [
5247
5247
  ae(j.$slots, "feedback")
5248
- ], 2)) : L("", !0)
5248
+ ], 2)) : R("", !0)
5249
5249
  ]),
5250
5250
  _: 3
5251
5251
  }, 8, ["class"]));
5252
5252
  }
5253
- }), Pu = () => {
5253
+ }), Eu = () => {
5254
5254
  const { isLightHex: e, normalizeHex: t } = ti();
5255
5255
  return {
5256
5256
  getOffset: (i, a) => {
@@ -5287,10 +5287,10 @@ const zl = {
5287
5287
  };
5288
5288
  }
5289
5289
  };
5290
- }, Du = {
5290
+ }, Pu = {
5291
5291
  key: 0,
5292
5292
  class: "wu-flex wu-relative"
5293
- }, Ru = /* @__PURE__ */ Y({
5293
+ }, Du = /* @__PURE__ */ Y({
5294
5294
  __name: "app-widget",
5295
5295
  props: {
5296
5296
  workflow: {},
@@ -5299,7 +5299,7 @@ const zl = {
5299
5299
  },
5300
5300
  emits: ["chat-service-message-action", "chat-service-action", "edge-click", "submit", "close", "back", "open"],
5301
5301
  setup(e, { emit: t }) {
5302
- const n = e, o = t, { isOpen: s, config: i, chat: a, open: r, close: l, setWorkflow: u, setConfig: m } = st(), { getOffset: d, getPosition: h, getTone: g } = Pu(), { appearanceStyle: w, themeClass: b } = ni(() => n.config.configurations.appearance), x = f(() => n.config.configurations.notifications?.enabled ?? !0), A = f(() => x.value && a.unreadMessagesCount.value > 0), v = n.config.configurations.general.defaultBehavior === "active", k = H(!v);
5302
+ const n = e, o = t, { isOpen: s, config: i, chat: a, open: r, close: l, setWorkflow: u, setConfig: m } = st(), { getOffset: d, getPosition: h, getTone: g } = Eu(), { appearanceStyle: w, themeClass: b } = ni(() => n.config.configurations.appearance), x = f(() => n.config.configurations.notifications?.enabled ?? !0), A = f(() => x.value && a.unreadMessagesCount.value > 0), v = n.config.configurations.general.defaultBehavior === "active", k = H(!v);
5303
5303
  v ? r() : l();
5304
5304
  const _ = f(() => n.config.configurations.anchor), P = f(() => n.config.configurations.appearance), j = f(() => {
5305
5305
  if (!(s.value && n.fullscreen))
@@ -5336,27 +5336,27 @@ const zl = {
5336
5336
  ), ce(s, (W) => {
5337
5337
  W && (k.value = !1);
5338
5338
  }), (W, q) => (p(), C("div", {
5339
- class: Z(["wu-fixed yunique wu-z-[99999]", [R(b), R(s) && e.fullscreen ? "wu-inset-0 wu-overflow-hidden" : ""]]),
5339
+ class: Z(["wu-fixed yunique wu-z-[99999]", [D(b), D(s) && e.fullscreen ? "wu-inset-0 wu-overflow-hidden" : ""]]),
5340
5340
  "data-testid": "app-widget",
5341
- style: ye([{ "--widget-origin": V.value }, j.value, R(w)])
5341
+ style: ye([{ "--widget-origin": V.value }, j.value, D(w)])
5342
5342
  }, [
5343
5343
  y(Eo, {
5344
5344
  name: "widget",
5345
5345
  onAfterLeave: B
5346
5346
  }, {
5347
5347
  default: c(() => [
5348
- R(s) ? (p(), E(oi, Ts({ key: 0 }, I.value, {
5348
+ D(s) ? (p(), E(oi, Ts({ key: 0 }, I.value, {
5349
5349
  onClose: G,
5350
5350
  onBack: q[0] || (q[0] = (X) => o("back")),
5351
5351
  onSubmit: q[1] || (q[1] = (X) => o("submit", X)),
5352
5352
  onEdgeClick: q[2] || (q[2] = (X) => o("edge-click", X)),
5353
5353
  onChatServiceAction: q[3] || (q[3] = (X) => o("chat-service-action", X)),
5354
5354
  onChatServiceMessageAction: q[4] || (q[4] = (X) => o("chat-service-message-action", X))
5355
- }), null, 16)) : L("", !0)
5355
+ }), null, 16)) : R("", !0)
5356
5356
  ]),
5357
5357
  _: 1
5358
5358
  }),
5359
- k.value ? (p(), C("div", Du, [
5359
+ k.value ? (p(), C("div", Pu, [
5360
5360
  y(No, {
5361
5361
  style: ye(O.value.style),
5362
5362
  small: O.value.small,
@@ -5378,22 +5378,22 @@ const zl = {
5378
5378
  white: ""
5379
5379
  }, {
5380
5380
  default: c(() => [
5381
- T(F(R(a).unreadMessagesCount > 9 ? "9+" : R(a).unreadMessagesCount), 1)
5381
+ T(F(D(a).unreadMessagesCount > 9 ? "9+" : D(a).unreadMessagesCount), 1)
5382
5382
  ]),
5383
5383
  _: 1
5384
5384
  })
5385
5385
  ]),
5386
5386
  _: 1
5387
- })) : L("", !0)
5388
- ])) : L("", !0)
5387
+ })) : R("", !0)
5388
+ ])) : R("", !0)
5389
5389
  ], 6));
5390
5390
  }
5391
- }), Lu = /* @__PURE__ */ ot(Ru, [["__scopeId", "data-v-877709ba"]]), Bu = ["top", "right", "bottom", "left"], no = ["start", "end"], so = /* @__PURE__ */ Bu.reduce((e, t) => e.concat(t, t + "-" + no[0], t + "-" + no[1]), []), At = Math.min, Ve = Math.max, Ou = {
5391
+ }), Ru = /* @__PURE__ */ ot(Du, [["__scopeId", "data-v-877709ba"]]), Lu = ["top", "right", "bottom", "left"], no = ["start", "end"], so = /* @__PURE__ */ Lu.reduce((e, t) => e.concat(t, t + "-" + no[0], t + "-" + no[1]), []), At = Math.min, Ve = Math.max, Bu = {
5392
5392
  left: "right",
5393
5393
  right: "left",
5394
5394
  bottom: "top",
5395
5395
  top: "bottom"
5396
- }, Iu = {
5396
+ }, Ou = {
5397
5397
  start: "end",
5398
5398
  end: "start"
5399
5399
  };
@@ -5415,9 +5415,9 @@ function ii(e) {
5415
5415
  function Ls(e) {
5416
5416
  return e === "y" ? "height" : "width";
5417
5417
  }
5418
- const Nu = /* @__PURE__ */ new Set(["top", "bottom"]);
5418
+ const Iu = /* @__PURE__ */ new Set(["top", "bottom"]);
5419
5419
  function Pe(e) {
5420
- return Nu.has($e(e)) ? "y" : "x";
5420
+ return Iu.has($e(e)) ? "y" : "x";
5421
5421
  }
5422
5422
  function Bs(e) {
5423
5423
  return ii(Pe(e));
@@ -5428,35 +5428,35 @@ function ai(e, t, n) {
5428
5428
  let a = s === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
5429
5429
  return t.reference[i] > t.floating[i] && (a = bn(a)), [a, bn(a)];
5430
5430
  }
5431
- function Mu(e) {
5431
+ function Nu(e) {
5432
5432
  const t = bn(e);
5433
5433
  return [yn(e), t, yn(t)];
5434
5434
  }
5435
5435
  function yn(e) {
5436
- return e.replace(/start|end/g, (t) => Iu[t]);
5436
+ return e.replace(/start|end/g, (t) => Ou[t]);
5437
5437
  }
5438
- const oo = ["left", "right"], io = ["right", "left"], Hu = ["top", "bottom"], zu = ["bottom", "top"];
5439
- function ju(e, t, n) {
5438
+ const oo = ["left", "right"], io = ["right", "left"], Mu = ["top", "bottom"], Hu = ["bottom", "top"];
5439
+ function zu(e, t, n) {
5440
5440
  switch (e) {
5441
5441
  case "top":
5442
5442
  case "bottom":
5443
5443
  return n ? t ? io : oo : t ? oo : io;
5444
5444
  case "left":
5445
5445
  case "right":
5446
- return t ? Hu : zu;
5446
+ return t ? Mu : Hu;
5447
5447
  default:
5448
5448
  return [];
5449
5449
  }
5450
5450
  }
5451
- function Fu(e, t, n, o) {
5451
+ function ju(e, t, n, o) {
5452
5452
  const s = be(e);
5453
- let i = ju($e(e), n === "start", o);
5453
+ let i = zu($e(e), n === "start", o);
5454
5454
  return s && (i = i.map((a) => a + "-" + s), t && (i = i.concat(i.map(yn)))), i;
5455
5455
  }
5456
5456
  function bn(e) {
5457
- return e.replace(/left|right|bottom|top/g, (t) => Ou[t]);
5457
+ return e.replace(/left|right|bottom|top/g, (t) => Bu[t]);
5458
5458
  }
5459
- function Uu(e) {
5459
+ function Fu(e) {
5460
5460
  return {
5461
5461
  top: 0,
5462
5462
  right: 0,
@@ -5466,7 +5466,7 @@ function Uu(e) {
5466
5466
  };
5467
5467
  }
5468
5468
  function ri(e) {
5469
- return typeof e != "number" ? Uu(e) : {
5469
+ return typeof e != "number" ? Fu(e) : {
5470
5470
  top: e,
5471
5471
  right: e,
5472
5472
  bottom: e,
@@ -5539,7 +5539,7 @@ function ao(e, t, n) {
5539
5539
  }
5540
5540
  return g;
5541
5541
  }
5542
- const Vu = async (e, t, n) => {
5542
+ const Uu = async (e, t, n) => {
5543
5543
  const {
5544
5544
  placement: o = "bottom",
5545
5545
  strategy: s = "absolute",
@@ -5645,7 +5645,7 @@ async function Pn(e, t) {
5645
5645
  right: (P.right - A.right + w.right) / _.x
5646
5646
  };
5647
5647
  }
5648
- const Wu = (e) => ({
5648
+ const Vu = (e) => ({
5649
5649
  name: "arrow",
5650
5650
  options: e,
5651
5651
  async fn(t) {
@@ -5683,10 +5683,10 @@ const Wu = (e) => ({
5683
5683
  };
5684
5684
  }
5685
5685
  });
5686
- function qu(e, t, n) {
5686
+ function Wu(e, t, n) {
5687
5687
  return (e ? [...n.filter((s) => be(s) === e), ...n.filter((s) => be(s) !== e)] : n.filter((s) => $e(s) === s)).filter((s) => e ? be(s) === e || (t ? yn(s) !== s : !1) : !0);
5688
5688
  }
5689
- const Gu = function(e) {
5689
+ const qu = function(e) {
5690
5690
  return e === void 0 && (e = {}), {
5691
5691
  name: "autoPlacement",
5692
5692
  options: e,
@@ -5704,7 +5704,7 @@ const Gu = function(e) {
5704
5704
  allowedPlacements: h = so,
5705
5705
  autoAlignment: g = !0,
5706
5706
  ...w
5707
- } = Ke(e, t), b = d !== void 0 || h === so ? qu(d || null, g, h) : h, x = await Pn(t, w), A = ((n = a.autoPlacement) == null ? void 0 : n.index) || 0, v = b[A];
5707
+ } = Ke(e, t), b = d !== void 0 || h === so ? Wu(d || null, g, h) : h, x = await Pn(t, w), A = ((n = a.autoPlacement) == null ? void 0 : n.index) || 0, v = b[A];
5708
5708
  if (v == null)
5709
5709
  return {};
5710
5710
  const k = ai(v, i, await (l.isRTL == null ? void 0 : l.isRTL(u.floating)));
@@ -5754,7 +5754,7 @@ const Gu = function(e) {
5754
5754
  } : {};
5755
5755
  }
5756
5756
  };
5757
- }, Ku = function(e) {
5757
+ }, Gu = function(e) {
5758
5758
  return e === void 0 && (e = {}), {
5759
5759
  name: "flip",
5760
5760
  options: e,
@@ -5778,8 +5778,8 @@ const Gu = function(e) {
5778
5778
  } = Ke(e, t);
5779
5779
  if ((n = i.arrow) != null && n.alignmentOffset)
5780
5780
  return {};
5781
- const A = $e(s), v = Pe(r), k = $e(r) === r, _ = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), P = h || (k || !b ? [bn(r)] : Mu(r)), j = w !== "none";
5782
- !h && j && P.push(...Fu(r, b, w, _));
5781
+ const A = $e(s), v = Pe(r), k = $e(r) === r, _ = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), P = h || (k || !b ? [bn(r)] : Nu(r)), j = w !== "none";
5782
+ !h && j && P.push(...ju(r, b, w, _));
5783
5783
  const V = [r, ...P], I = await Pn(t, x), O = [];
5784
5784
  let M = ((o = i.flip) == null ? void 0 : o.overflows) || [];
5785
5785
  if (m && O.push(I[A]), d) {
@@ -5835,13 +5835,13 @@ const Gu = function(e) {
5835
5835
  return {};
5836
5836
  }
5837
5837
  };
5838
- }, Qu = /* @__PURE__ */ new Set(["left", "top"]);
5839
- async function Zu(e, t) {
5838
+ }, Ku = /* @__PURE__ */ new Set(["left", "top"]);
5839
+ async function Qu(e, t) {
5840
5840
  const {
5841
5841
  placement: n,
5842
5842
  platform: o,
5843
5843
  elements: s
5844
- } = e, i = await (o.isRTL == null ? void 0 : o.isRTL(s.floating)), a = $e(n), r = be(n), l = Pe(n) === "y", u = Qu.has(a) ? -1 : 1, m = i && l ? -1 : 1, d = Ke(t, e);
5844
+ } = e, i = await (o.isRTL == null ? void 0 : o.isRTL(s.floating)), a = $e(n), r = be(n), l = Pe(n) === "y", u = Ku.has(a) ? -1 : 1, m = i && l ? -1 : 1, d = Ke(t, e);
5845
5845
  let {
5846
5846
  mainAxis: h,
5847
5847
  crossAxis: g,
@@ -5863,7 +5863,7 @@ async function Zu(e, t) {
5863
5863
  y: g * m
5864
5864
  };
5865
5865
  }
5866
- const Yu = function(e) {
5866
+ const Zu = function(e) {
5867
5867
  return e === void 0 && (e = 0), {
5868
5868
  name: "offset",
5869
5869
  options: e,
@@ -5874,7 +5874,7 @@ const Yu = function(e) {
5874
5874
  y: i,
5875
5875
  placement: a,
5876
5876
  middlewareData: r
5877
- } = t, l = await Zu(t, e);
5877
+ } = t, l = await Qu(t, e);
5878
5878
  return a === ((n = r.offset) == null ? void 0 : n.placement) && (o = r.arrow) != null && o.alignmentOffset ? {} : {
5879
5879
  x: s + l.x,
5880
5880
  y: i + l.y,
@@ -5885,7 +5885,7 @@ const Yu = function(e) {
5885
5885
  };
5886
5886
  }
5887
5887
  };
5888
- }, Ju = function(e) {
5888
+ }, Yu = function(e) {
5889
5889
  return e === void 0 && (e = {}), {
5890
5890
  name: "shift",
5891
5891
  options: e,
@@ -5941,7 +5941,7 @@ const Yu = function(e) {
5941
5941
  };
5942
5942
  }
5943
5943
  };
5944
- }, Xu = function(e) {
5944
+ }, Ju = function(e) {
5945
5945
  return e === void 0 && (e = {}), {
5946
5946
  name: "size",
5947
5947
  options: e,
@@ -6021,7 +6021,7 @@ function Dn(e) {
6021
6021
  const { overflow: t, overflowX: n, overflowY: o, display: s } = Ce(e);
6022
6022
  return /auto|scroll|overlay|hidden|clip/.test(t + o + n) && !["inline", "contents"].includes(s);
6023
6023
  }
6024
- function ec(e) {
6024
+ function Xu(e) {
6025
6025
  return ["table", "td", "th"].includes(je(e));
6026
6026
  }
6027
6027
  function ws(e) {
@@ -6116,7 +6116,7 @@ function co(e) {
6116
6116
  function po(e) {
6117
6117
  const t = ge(e);
6118
6118
  let n = co(e);
6119
- for (; n && ec(n) && Ce(n).position === "static"; ) n = co(n);
6119
+ for (; n && Xu(n) && Ce(n).position === "static"; ) n = co(n);
6120
6120
  return n && (je(n) === "html" || je(n) === "body" && Ce(n).position === "static" && !ws(n)) ? t : n || (function(o) {
6121
6121
  let s = _t(o);
6122
6122
  for (; Ae(s) && !Os(s); ) {
@@ -6126,7 +6126,7 @@ function po(e) {
6126
6126
  return null;
6127
6127
  })(e) || t;
6128
6128
  }
6129
- function tc(e, t, n) {
6129
+ function ec(e, t, n) {
6130
6130
  const o = Ae(t), s = ze(t), i = $t(e, !0, n === "fixed", t);
6131
6131
  let a = { scrollLeft: 0, scrollTop: 0 };
6132
6132
  const r = { x: 0, y: 0 };
@@ -6136,7 +6136,7 @@ function tc(e, t, n) {
6136
6136
  } else s && (r.x = hi(s));
6137
6137
  return { x: i.left + a.scrollLeft - r.x, y: i.top + a.scrollTop - r.y, width: i.width, height: i.height };
6138
6138
  }
6139
- const nc = { getClippingRect: function(e) {
6139
+ const tc = { getClippingRect: function(e) {
6140
6140
  let { element: t, boundary: n, rootBoundary: o, strategy: s } = e;
6141
6141
  const i = n === "clippingAncestors" ? (function(u, m) {
6142
6142
  const d = m.get(u);
@@ -6170,10 +6170,10 @@ const nc = { getClippingRect: function(e) {
6170
6170
  }, getOffsetParent: po, getDocumentElement: ze, getScale: et, async getElementRects(e) {
6171
6171
  let { reference: t, floating: n, strategy: o } = e;
6172
6172
  const s = this.getOffsetParent || po, i = this.getDimensions;
6173
- return { reference: tc(t, await s(n), o), floating: { x: 0, y: 0, ...await i(n) } };
6174
- }, getClientRects: (e) => Array.from(e.getClientRects()), isRTL: (e) => Ce(e).direction === "rtl" }, sc = (e, t, n) => {
6175
- const o = /* @__PURE__ */ new Map(), s = { platform: nc, ...n }, i = { ...s.platform, _c: o };
6176
- return Vu(e, t, { ...s, platform: i });
6173
+ return { reference: ec(t, await s(n), o), floating: { x: 0, y: 0, ...await i(n) } };
6174
+ }, getClientRects: (e) => Array.from(e.getClientRects()), isRTL: (e) => Ce(e).direction === "rtl" }, nc = (e, t, n) => {
6175
+ const o = /* @__PURE__ */ new Map(), s = { platform: tc, ...n }, i = { ...s.platform, _c: o };
6176
+ return Uu(e, t, { ...s, platform: i });
6177
6177
  };
6178
6178
  function gi(e, t) {
6179
6179
  for (const n in t)
@@ -6265,7 +6265,7 @@ function St(e, t) {
6265
6265
  while (n);
6266
6266
  return o;
6267
6267
  }
6268
- function oc(e) {
6268
+ function sc(e) {
6269
6269
  const t = [e];
6270
6270
  let n = xe.themes[e] || {};
6271
6271
  do
@@ -6683,21 +6683,21 @@ const Yn = "__floating-vue__popper", yi = () => Y({
6683
6683
  strategy: this.strategy,
6684
6684
  middleware: []
6685
6685
  };
6686
- (this.distance || this.skidding) && e.middleware.push(Yu({
6686
+ (this.distance || this.skidding) && e.middleware.push(Zu({
6687
6687
  mainAxis: this.distance,
6688
6688
  crossAxis: this.skidding
6689
6689
  }));
6690
6690
  const t = this.placement.startsWith("auto");
6691
- if (t ? e.middleware.push(Gu({
6691
+ if (t ? e.middleware.push(qu({
6692
6692
  alignment: this.placement.split("-")[1] ?? ""
6693
- })) : e.placement = this.placement, this.preventOverflow && (this.shift && e.middleware.push(Ju({
6693
+ })) : e.placement = this.placement, this.preventOverflow && (this.shift && e.middleware.push(Yu({
6694
6694
  padding: this.overflowPadding,
6695
6695
  boundary: this.boundary,
6696
6696
  crossAxis: this.shiftCrossAxis
6697
- })), !t && this.flip && e.middleware.push(Ku({
6697
+ })), !t && this.flip && e.middleware.push(Gu({
6698
6698
  padding: this.overflowPadding,
6699
6699
  boundary: this.boundary
6700
- }))), e.middleware.push(Wu({
6700
+ }))), e.middleware.push(Vu({
6701
6701
  element: this.$_arrowNode,
6702
6702
  padding: this.arrowPadding
6703
6703
  })), this.arrowOverflow && e.middleware.push({
@@ -6731,14 +6731,14 @@ const Yn = "__floating-vue__popper", yi = () => Y({
6731
6731
  }
6732
6732
  });
6733
6733
  }
6734
- (this.autoMaxSize || this.autoBoundaryMaxSize) && (this.$_innerNode.style.maxWidth = null, this.$_innerNode.style.maxHeight = null, e.middleware.push(Xu({
6734
+ (this.autoMaxSize || this.autoBoundaryMaxSize) && (this.$_innerNode.style.maxWidth = null, this.$_innerNode.style.maxHeight = null, e.middleware.push(Ju({
6735
6735
  boundary: this.boundary,
6736
6736
  padding: this.overflowPadding,
6737
6737
  apply: ({ availableWidth: o, availableHeight: s }) => {
6738
6738
  this.$_innerNode.style.maxWidth = o != null ? `${o}px` : null, this.$_innerNode.style.maxHeight = s != null ? `${s}px` : null;
6739
6739
  }
6740
6740
  })));
6741
- const n = await sc(this.$_referenceNode, this.$_popperNode, e);
6741
+ const n = await nc(this.$_referenceNode, this.$_popperNode, e);
6742
6742
  Object.assign(this.result, {
6743
6743
  x: n.x,
6744
6744
  y: n.y,
@@ -6913,7 +6913,7 @@ if (typeof document < "u" && typeof window < "u") {
6913
6913
  document.addEventListener("touchstart", (t) => yo(t, !0), e), document.addEventListener("touchend", (t) => bo(t, !0), e);
6914
6914
  } else
6915
6915
  window.addEventListener("mousedown", (e) => yo(e, !1), !0), window.addEventListener("click", (e) => bo(e, !1), !0);
6916
- window.addEventListener("resize", ac);
6916
+ window.addEventListener("resize", ic);
6917
6917
  }
6918
6918
  function yo(e, t) {
6919
6919
  if (xe.autoHideOnMousedown)
@@ -6954,16 +6954,16 @@ function bi(e, t) {
6954
6954
  }
6955
6955
  }
6956
6956
  function xo(e, t, n) {
6957
- return n.closeAllPopover || n.closePopover && t || ic(e, n) && !t;
6957
+ return n.closeAllPopover || n.closePopover && t || oc(e, n) && !t;
6958
6958
  }
6959
- function ic(e, t) {
6959
+ function oc(e, t) {
6960
6960
  if (typeof e.autoHide == "function") {
6961
6961
  const n = e.autoHide(t);
6962
6962
  return e.lastAutoHide = n, n;
6963
6963
  }
6964
6964
  return e.autoHide;
6965
6965
  }
6966
- function ac() {
6966
+ function ic() {
6967
6967
  for (let e = 0; e < ve.length; e++)
6968
6968
  ve[e].$_computePosition();
6969
6969
  }
@@ -6977,7 +6977,7 @@ function Mt(e, t, n, o, s, i, a, r) {
6977
6977
  const l = ((a - s) * (t - i) - (r - i) * (e - s)) / ((r - i) * (n - e) - (a - s) * (o - t)), u = ((n - e) * (t - i) - (o - t) * (e - s)) / ((r - i) * (n - e) - (a - s) * (o - t));
6978
6978
  return l >= 0 && l <= 1 && u >= 0 && u <= 1;
6979
6979
  }
6980
- const rc = {
6980
+ const ac = {
6981
6981
  extends: yi()
6982
6982
  }, Ln = (e, t) => {
6983
6983
  const n = e.__vccOpts || e;
@@ -6985,18 +6985,18 @@ const rc = {
6985
6985
  n[o] = s;
6986
6986
  return n;
6987
6987
  };
6988
- function lc(e, t, n, o, s, i) {
6988
+ function rc(e, t, n, o, s, i) {
6989
6989
  return p(), C("div", {
6990
6990
  ref: "reference",
6991
6991
  class: Z(["v-popper", {
6992
6992
  "v-popper--shown": e.slotData.isShown
6993
6993
  }])
6994
6994
  }, [
6995
- ae(e.$slots, "default", ra(la(e.slotData)))
6995
+ ae(e.$slots, "default", aa(ra(e.slotData)))
6996
6996
  ], 2);
6997
6997
  }
6998
- const uc = /* @__PURE__ */ Ln(rc, [["render", lc]]);
6999
- function cc() {
6998
+ const lc = /* @__PURE__ */ Ln(ac, [["render", rc]]);
6999
+ function uc() {
7000
7000
  var e = window.navigator.userAgent, t = e.indexOf("MSIE ");
7001
7001
  if (t > 0)
7002
7002
  return parseInt(e.substring(t + 5, e.indexOf(".", t)), 10);
@@ -7010,7 +7010,7 @@ function cc() {
7010
7010
  }
7011
7011
  let Ft;
7012
7012
  function ys() {
7013
- ys.init || (ys.init = !0, Ft = cc() !== -1);
7013
+ ys.init || (ys.init = !0, Ft = uc() !== -1);
7014
7014
  }
7015
7015
  var Bn = {
7016
7016
  name: "ResizeObserver",
@@ -7059,24 +7059,24 @@ var Bn = {
7059
7059
  }
7060
7060
  }
7061
7061
  };
7062
- const dc = /* @__PURE__ */ da("data-v-b329ee4c");
7063
- ia("data-v-b329ee4c");
7064
- const pc = {
7062
+ const cc = /* @__PURE__ */ ca("data-v-b329ee4c");
7063
+ oa("data-v-b329ee4c");
7064
+ const dc = {
7065
7065
  class: "resize-observer",
7066
7066
  tabindex: "-1"
7067
7067
  };
7068
- aa();
7069
- const fc = /* @__PURE__ */ dc((e, t, n, o, s, i) => (p(), E("div", pc)));
7070
- Bn.render = fc;
7068
+ ia();
7069
+ const pc = /* @__PURE__ */ cc((e, t, n, o, s, i) => (p(), E("div", dc)));
7070
+ Bn.render = pc;
7071
7071
  Bn.__scopeId = "data-v-b329ee4c";
7072
7072
  Bn.__file = "src/components/ResizeObserver.vue";
7073
7073
  const xi = (e = "theme") => ({
7074
7074
  computed: {
7075
7075
  themeClass() {
7076
- return oc(this[e]);
7076
+ return sc(this[e]);
7077
7077
  }
7078
7078
  }
7079
- }), hc = Y({
7079
+ }), fc = Y({
7080
7080
  name: "VPopperContent",
7081
7081
  components: {
7082
7082
  ResizeObserver: Bn
@@ -7104,14 +7104,14 @@ const xi = (e = "theme") => ({
7104
7104
  return e != null && !isNaN(e) ? `${e}px` : null;
7105
7105
  }
7106
7106
  }
7107
- }), mc = ["id", "aria-hidden", "tabindex", "data-popper-placement"], gc = {
7107
+ }), hc = ["id", "aria-hidden", "tabindex", "data-popper-placement"], mc = {
7108
7108
  ref: "inner",
7109
7109
  class: "v-popper__inner"
7110
- }, wc = /* @__PURE__ */ N("div", { class: "v-popper__arrow-outer" }, null, -1), vc = /* @__PURE__ */ N("div", { class: "v-popper__arrow-inner" }, null, -1), yc = [
7111
- wc,
7112
- vc
7110
+ }, gc = /* @__PURE__ */ N("div", { class: "v-popper__arrow-outer" }, null, -1), wc = /* @__PURE__ */ N("div", { class: "v-popper__arrow-inner" }, null, -1), vc = [
7111
+ gc,
7112
+ wc
7113
7113
  ];
7114
- function bc(e, t, n, o, s, i) {
7114
+ function yc(e, t, n, o, s, i) {
7115
7115
  const a = bt("ResizeObserver");
7116
7116
  return p(), C("div", {
7117
7117
  id: e.popperId,
@@ -7150,7 +7150,7 @@ function bc(e, t, n, o, s, i) {
7150
7150
  transformOrigin: e.result.transformOrigin
7151
7151
  } : void 0)
7152
7152
  }, [
7153
- N("div", gc, [
7153
+ N("div", mc, [
7154
7154
  e.mounted ? (p(), C(se, { key: 0 }, [
7155
7155
  N("div", null, [
7156
7156
  ae(e.$slots, "default")
@@ -7158,8 +7158,8 @@ function bc(e, t, n, o, s, i) {
7158
7158
  e.handleResize ? (p(), E(a, {
7159
7159
  key: 0,
7160
7160
  onNotify: t[1] || (t[1] = (r) => e.$emit("resize", r))
7161
- })) : L("", !0)
7162
- ], 64)) : L("", !0)
7161
+ })) : R("", !0)
7162
+ ], 64)) : R("", !0)
7163
7163
  ], 512),
7164
7164
  N("div", {
7165
7165
  ref: "arrow",
@@ -7168,11 +7168,11 @@ function bc(e, t, n, o, s, i) {
7168
7168
  left: e.toPx(e.result.arrow.x),
7169
7169
  top: e.toPx(e.result.arrow.y)
7170
7170
  } : void 0)
7171
- }, yc, 4)
7171
+ }, vc, 4)
7172
7172
  ], 4)
7173
- ], 46, mc);
7173
+ ], 46, hc);
7174
7174
  }
7175
- const ki = /* @__PURE__ */ Ln(hc, [["render", bc]]), Ti = {
7175
+ const ki = /* @__PURE__ */ Ln(fc, [["render", yc]]), Ti = {
7176
7176
  methods: {
7177
7177
  show(...e) {
7178
7178
  return this.$refs.popper.show(...e);
@@ -7191,10 +7191,10 @@ const ki = /* @__PURE__ */ Ln(hc, [["render", bc]]), Ti = {
7191
7191
  let bs = function() {
7192
7192
  };
7193
7193
  typeof window < "u" && (bs = window.Element);
7194
- const xc = Y({
7194
+ const bc = Y({
7195
7195
  name: "VPopperWrapper",
7196
7196
  components: {
7197
- Popper: uc,
7197
+ Popper: lc,
7198
7198
  PopperContent: ki
7199
7199
  },
7200
7200
  mixins: [
@@ -7387,7 +7387,7 @@ const xc = Y({
7387
7387
  }
7388
7388
  }
7389
7389
  });
7390
- function kc(e, t, n, o, s, i) {
7390
+ function xc(e, t, n, o, s, i) {
7391
7391
  const a = bt("PopperContent"), r = bt("Popper");
7392
7392
  return p(), E(r, Ts({ ref: "popper" }, e.$props, {
7393
7393
  theme: e.finalTheme,
@@ -7450,19 +7450,19 @@ function kc(e, t, n, o, s, i) {
7450
7450
  _: 3
7451
7451
  }, 16, ["theme", "target-nodes", "popper-node", "class"]);
7452
7452
  }
7453
- const Is = /* @__PURE__ */ Ln(xc, [["render", kc]]), Tc = {
7453
+ const Is = /* @__PURE__ */ Ln(bc, [["render", xc]]), kc = {
7454
7454
  ...Is,
7455
7455
  name: "VDropdown",
7456
7456
  vPopperTheme: "dropdown"
7457
- }, Cc = {
7457
+ }, Tc = {
7458
7458
  ...Is,
7459
7459
  name: "VMenu",
7460
7460
  vPopperTheme: "menu"
7461
- }, Ac = {
7461
+ }, Cc = {
7462
7462
  ...Is,
7463
7463
  name: "VTooltip",
7464
7464
  vPopperTheme: "tooltip"
7465
- }, $c = Y({
7465
+ }, Ac = Y({
7466
7466
  name: "VTooltipDirective",
7467
7467
  components: {
7468
7468
  Popper: yi(),
@@ -7542,8 +7542,8 @@ const Is = /* @__PURE__ */ Ln(xc, [["render", kc]]), Tc = {
7542
7542
  this.$_isShown = !1;
7543
7543
  }
7544
7544
  }
7545
- }), _c = ["innerHTML"], Sc = ["textContent"];
7546
- function Ec(e, t, n, o, s, i) {
7545
+ }), $c = ["innerHTML"], _c = ["textContent"];
7546
+ function Sc(e, t, n, o, s, i) {
7547
7547
  const a = bt("PopperContent"), r = bt("Popper");
7548
7548
  return p(), E(r, Ts({ ref: "popper" }, e.$attrs, {
7549
7549
  theme: e.theme,
@@ -7585,10 +7585,10 @@ function Ec(e, t, n, o, s, i) {
7585
7585
  e.html ? (p(), C("div", {
7586
7586
  key: 0,
7587
7587
  innerHTML: e.finalContent
7588
- }, null, 8, _c)) : (p(), C("div", {
7588
+ }, null, 8, $c)) : (p(), C("div", {
7589
7589
  key: 1,
7590
7590
  textContent: F(e.finalContent)
7591
- }, null, 8, Sc))
7591
+ }, null, 8, _c))
7592
7592
  ]),
7593
7593
  _: 2
7594
7594
  }, 1032, ["class", "popper-id", "theme", "shown", "mounted", "skip-transition", "auto-hide", "handle-resize", "classes", "result", "onHide", "onResize"])
@@ -7596,8 +7596,8 @@ function Ec(e, t, n, o, s, i) {
7596
7596
  _: 1
7597
7597
  }, 16, ["theme", "target-nodes", "popper-node", "onApplyShow", "onApplyHide"]);
7598
7598
  }
7599
- const Pc = /* @__PURE__ */ Ln($c, [["render", Ec]]), Ci = "v-popper--has-tooltip";
7600
- function Dc(e, t) {
7599
+ const Ec = /* @__PURE__ */ Ln(Ac, [["render", Sc]]), Ci = "v-popper--has-tooltip";
7600
+ function Pc(e, t) {
7601
7601
  let n = e.placement;
7602
7602
  if (!n && t)
7603
7603
  for (const o of vi)
@@ -7607,13 +7607,13 @@ function Dc(e, t) {
7607
7607
  function Ai(e, t, n) {
7608
7608
  let o;
7609
7609
  const s = typeof t;
7610
- return s === "string" ? o = { content: t } : t && s === "object" ? o = t : o = { content: !1 }, o.placement = Dc(o, n), o.targetNodes = () => [e], o.referenceNode = () => e, o;
7610
+ return s === "string" ? o = { content: t } : t && s === "object" ? o = t : o = { content: !1 }, o.placement = Pc(o, n), o.targetNodes = () => [e], o.referenceNode = () => e, o;
7611
7611
  }
7612
- let Jn, Et, Rc = 0;
7613
- function Lc() {
7612
+ let Jn, Et, Dc = 0;
7613
+ function Rc() {
7614
7614
  if (Jn)
7615
7615
  return;
7616
- Et = H([]), Jn = ua({
7616
+ Et = H([]), Jn = la({
7617
7617
  name: "VTooltipDirectiveApp",
7618
7618
  setup() {
7619
7619
  return {
@@ -7621,7 +7621,7 @@ function Lc() {
7621
7621
  };
7622
7622
  },
7623
7623
  render() {
7624
- return this.directives.map((t) => ca(Pc, {
7624
+ return this.directives.map((t) => ua(Ec, {
7625
7625
  ...t.options,
7626
7626
  shown: t.shown || t.options.shown,
7627
7627
  key: t.id
@@ -7634,10 +7634,10 @@ function Lc() {
7634
7634
  const e = document.createElement("div");
7635
7635
  document.body.appendChild(e), Jn.mount(e);
7636
7636
  }
7637
- function Bc(e, t, n) {
7638
- Lc();
7637
+ function Lc(e, t, n) {
7638
+ Rc();
7639
7639
  const o = H(Ai(e, t, n)), s = H(!1), i = {
7640
- id: Rc++,
7640
+ id: Dc++,
7641
7641
  options: o,
7642
7642
  shown: s
7643
7643
  };
@@ -7665,10 +7665,10 @@ function ko(e, { value: t, modifiers: n }) {
7665
7665
  $i(e);
7666
7666
  else {
7667
7667
  let s;
7668
- e.$_popper ? (s = e.$_popper, s.options.value = o) : s = Bc(e, t, n), typeof t.shown < "u" && t.shown !== e.$_popperOldShown && (e.$_popperOldShown = t.shown, t.shown ? s.show() : s.hide());
7668
+ e.$_popper ? (s = e.$_popper, s.options.value = o) : s = Lc(e, t, n), typeof t.shown < "u" && t.shown !== e.$_popperOldShown && (e.$_popperOldShown = t.shown, t.shown ? s.show() : s.hide());
7669
7669
  }
7670
7670
  }
7671
- const Oc = {
7671
+ const Bc = {
7672
7672
  beforeMount: ko,
7673
7673
  updated: ko,
7674
7674
  beforeUnmount(e) {
@@ -7706,7 +7706,7 @@ function Ei(e) {
7706
7706
  const t = e.currentTarget;
7707
7707
  t.$_vclosepopover_touch = !1;
7708
7708
  }
7709
- const Ic = {
7709
+ const Oc = {
7710
7710
  beforeMount(e, { value: t, modifiers: n }) {
7711
7711
  e.$_closePopoverModifiers = n, (typeof t > "u" || t) && To(e);
7712
7712
  },
@@ -7717,17 +7717,17 @@ const Ic = {
7717
7717
  Co(e);
7718
7718
  }
7719
7719
  };
7720
- function Nc(e, t = {}) {
7721
- e.$_vTooltipInstalled || (e.$_vTooltipInstalled = !0, gi(xe, t), e.directive("tooltip", Oc), e.directive("close-popper", Ic), e.component("VTooltip", Ac), e.component("VDropdown", Tc), e.component("VMenu", Cc));
7720
+ function Ic(e, t = {}) {
7721
+ e.$_vTooltipInstalled || (e.$_vTooltipInstalled = !0, gi(xe, t), e.directive("tooltip", Bc), e.directive("close-popper", Oc), e.component("VTooltip", Cc), e.component("VDropdown", kc), e.component("VMenu", Tc));
7722
7722
  }
7723
- const Mc = {
7723
+ const Nc = {
7724
7724
  // eslint-disable-next-line no-undef
7725
7725
  version: "5.2.2",
7726
- install: Nc,
7726
+ install: Ic,
7727
7727
  options: xe
7728
- }, Hc = "c3fd21c9-c91a-4c66-baa5-c3e050c2cc74", Ao = "2026-10-30T16:35:31.633Z", zc = "da3cbfd7-4cdc-481b-a30e-314a9ce96b92", jc = "https://svgl.app/library/slack.svg", it = (e) => ({
7728
+ }, Mc = "c3fd21c9-c91a-4c66-baa5-c3e050c2cc74", Ao = "2026-10-30T16:35:31.633Z", Hc = "da3cbfd7-4cdc-481b-a30e-314a9ce96b92", zc = "https://svgl.app/library/slack.svg", it = (e) => ({
7729
7729
  id: e.id,
7730
- companyId: Hc,
7730
+ companyId: Mc,
7731
7731
  name: e.name,
7732
7732
  action: e.action,
7733
7733
  message: null,
@@ -7764,7 +7764,7 @@ const Mc = {
7764
7764
  subtitle: "Escolha uma das opções"
7765
7765
  },
7766
7766
  header: {
7767
- logo: jc,
7767
+ logo: zc,
7768
7768
  title: "Slack",
7769
7769
  subtitle: "Retire todas suas dúvidas no nosso Widget"
7770
7770
  }
@@ -8722,8 +8722,8 @@ const Mc = {
8722
8722
  }
8723
8723
  }
8724
8724
  }
8725
- }), Fc = {
8726
- id: zc,
8725
+ }), jc = {
8726
+ id: Hc,
8727
8727
  rules: [Xn, es, ts, $o, Ut, xs],
8728
8728
  edges: {
8729
8729
  [xs.id]: [
@@ -8738,7 +8738,7 @@ const Mc = {
8738
8738
  ],
8739
8739
  [ts.id]: [Ue("27af113a-047e-4410-8d90-2f024c7a7fc5", $o.id)]
8740
8740
  }
8741
- }, Vc = Ut, Wc = xs, qc = (e) => Fc.rules.find((t) => t.id === e), Gc = {
8741
+ }, Uc = Ut, Vc = xs, Wc = (e) => jc.rules.find((t) => t.id === e), qc = {
8742
8742
  configurations: {
8743
8743
  alias: "Slack Suporte",
8744
8744
  general: {
@@ -8761,9 +8761,9 @@ const Mc = {
8761
8761
  }
8762
8762
  }
8763
8763
  }
8764
- }, Kc = {
8764
+ }, Gc = {
8765
8765
  install: (e) => {
8766
- e.use(Mc), e.component("AppIdentificationPage", Io), e.component("AppFormTextInput", Oo), e.component("AppWidgetAnchor", No), e.component("AppArticlePage", Mo), e.component("AppServicePage", ei), e.component("AppScreenPage", si), e.component("AppWidgetView", oi), e.component("AppTextInput", Eu), e.component("AppCarousel", As), e.component("AppAudioPlayer", Sn), e.component("AppSkeleton", Yo), e.component("AppTyping", Jo), e.component("AppMessage", jt), e.component("AppWidget", Lu), e.component("AppButton", te), e.component("AppEmpty", Xo), e.component("AppGroup", J), e.component("AppEdge", kt), e.component("AppIcon", z), e.component("AppText", U);
8766
+ e.use(Nc), e.component("AppIdentificationPage", Io), e.component("AppFormTextInput", Oo), e.component("AppWidgetAnchor", No), e.component("AppArticlePage", Mo), e.component("AppServicePage", ei), e.component("AppScreenPage", si), e.component("AppWidgetView", oi), e.component("AppTextInput", Su), e.component("AppCarousel", As), e.component("AppAudioPlayer", Sn), e.component("AppSkeleton", Yo), e.component("AppTyping", Jo), e.component("AppMessage", jt), e.component("AppWidget", Ru), e.component("AppButton", te), e.component("AppEmpty", Xo), e.component("AppGroup", J), e.component("AppEdge", kt), e.component("AppIcon", z), e.component("AppText", U);
8767
8767
  }
8768
8768
  };
8769
8769
  export {
@@ -8782,22 +8782,22 @@ export {
8782
8782
  ei as AppServicePage,
8783
8783
  Yo as AppSkeleton,
8784
8784
  U as AppText,
8785
- Eu as AppTextInput,
8785
+ Su as AppTextInput,
8786
8786
  Jo as AppTyping,
8787
- Lu as AppWidget,
8787
+ Ru as AppWidget,
8788
8788
  No as AppWidgetAnchor,
8789
8789
  oi as AppWidgetView,
8790
8790
  Ro as ServiceChatMessageBuilder,
8791
8791
  xt as ServiceChatMessageVO,
8792
- Kc as default,
8793
- Vc as demoArticleRule,
8794
- Wc as demoRootRule,
8795
- Gc as demoWidgetConfig,
8796
- Fc as demoWorkflow,
8797
- qc as findDemoRuleById,
8792
+ Gc as default,
8793
+ Uc as demoArticleRule,
8794
+ Vc as demoRootRule,
8795
+ qc as demoWidgetConfig,
8796
+ jc as demoWorkflow,
8797
+ Wc as findDemoRuleById,
8798
8798
  Cs as resolveMessageFrom,
8799
8799
  st as useAppWidget,
8800
- Ra as useChatService,
8801
- La as useServicePage,
8802
- fa as useVoiceService
8800
+ Da as useChatService,
8801
+ Ra as useServicePage,
8802
+ pa as useVoiceService
8803
8803
  };