@opens/widget-ui 1.7.0 → 1.7.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.
- package/dist/pages/app-article-page.vue.d.ts.map +1 -0
- package/dist/pages/app-service-page.vue.d.ts.map +1 -0
- package/dist/utils/resolve-widget-language.d.ts +2 -1
- package/dist/yunique_widget_ui.cjs.js +4 -4
- package/dist/yunique_widget_ui.es.js +222 -215
- package/dist/yunique_widget_ui.umd.js +9 -9
- package/package.json +1 -1
- package/dist/app-article-page.vue.d.ts.map +0 -1
- package/dist/app-service-page.vue.d.ts.map +0 -1
- /package/dist/{app-article-page.vue.d.ts → pages/app-article-page.vue.d.ts} +0 -0
- /package/dist/{app-service-page.vue.d.ts → pages/app-service-page.vue.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as H, shallowRef as Fi, computed as f, toValue as ft, reactive as
|
|
1
|
+
import { ref as H, shallowRef as Fi, computed as f, toValue as ft, reactive as ga, watch as pe, nextTick as Fe, defineComponent as K, createElementBlock as T, openBlock as d, normalizeClass as V, unref as B, renderSlot as le, useSlots as rt, createBlock as N, withCtx as c, createElementVNode as R, createCommentVNode as z, withKeys as kn, createTextVNode as L, onMounted as ko, onBeforeUnmount as zt, normalizeStyle as ke, Fragment as se, renderList as ue, resolveDynamicComponent as Sn, Comment as Zo, Text as Vo, createVNode as y, isRef as Ui, toDisplayString as W, onUnmounted as fa, Teleport as ma, withModifiers as He, toRaw as ha, withDirectives as Jo, vModelText as wa, vShow as ya, Transition as Wi, mergeProps as So, pushScopeId as va, popScopeId as ba, normalizeProps as xa, guardReactiveProps as Ma, resolveComponent as It, createApp as Aa, h as Ia, withScopeId as Ta } from "vue";
|
|
2
2
|
const he = (e, t) => e == null ? "" : typeof e == "string" ? e : e[t] ?? e["pt-BR"] ?? Object.values(e).find((n) => !!n) ?? "";
|
|
3
|
-
function
|
|
3
|
+
function La() {
|
|
4
4
|
return {
|
|
5
5
|
maskPhone: (o) => {
|
|
6
6
|
if (!o) return "";
|
|
@@ -20,18 +20,25 @@ function Ta() {
|
|
|
20
20
|
maskCpf: (o) => o.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")
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
-
const Yi = ["en-US", "es-ES", "pt-BR"],
|
|
23
|
+
const Yi = ["en-US", "es-ES", "pt-BR"], Gi = (e, t) => {
|
|
24
|
+
const n = e.toLowerCase(), i = t.find((s) => s.toLowerCase() === n);
|
|
25
|
+
if (i) return i;
|
|
26
|
+
const o = n.split("-")[0];
|
|
27
|
+
return t.find((s) => {
|
|
28
|
+
const a = s.toLowerCase();
|
|
29
|
+
return a === o || a.startsWith(`${o}-`);
|
|
30
|
+
});
|
|
31
|
+
}, ka = (e) => {
|
|
32
|
+
if (!e?.length) return ["pt-BR"];
|
|
33
|
+
const t = e.map((n) => Gi(n, Yi)).filter((n) => !!n);
|
|
34
|
+
return t.length ? [...new Set(t)] : ["pt-BR"];
|
|
35
|
+
}, Sa = (e) => typeof navigator < "u" && navigator.language ? navigator.language : "pt-BR", Ca = (e, t) => {
|
|
24
36
|
const n = ka(e);
|
|
25
37
|
if (n.length === 1) return n[0];
|
|
26
|
-
const i = Sa()
|
|
27
|
-
if (
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
return l === s || l.startsWith(`${s}-`);
|
|
31
|
-
});
|
|
32
|
-
if (a) return a;
|
|
33
|
-
for (const r of Yi)
|
|
34
|
-
if (n.includes(r)) return r;
|
|
38
|
+
const i = Gi(Sa(), n);
|
|
39
|
+
if (i) return i;
|
|
40
|
+
for (const o of Yi)
|
|
41
|
+
if (n.includes(o)) return o;
|
|
35
42
|
return n[0] ?? "pt-BR";
|
|
36
43
|
};
|
|
37
44
|
function Ea() {
|
|
@@ -40,11 +47,11 @@ function Ea() {
|
|
|
40
47
|
const Co = (e) => e.from === "system" || e.from === "operator" || e.from === "contact" ? e.from : e.provider ? e.provider === "opens" ? "operator" : "contact" : "system", Cn = (e) => {
|
|
41
48
|
const t = e.attachments?.data;
|
|
42
49
|
return Array.isArray(t) ? t : [];
|
|
43
|
-
}, Ue = (e) => Cn(e)[0],
|
|
50
|
+
}, Ue = (e) => Cn(e)[0], Qi = (e) => typeof e.caption == "string" ? e.caption.trim() : "", Da = (e) => e.messageBody?.trim() ?? "", Na = (e) => {
|
|
44
51
|
if (!e) return "";
|
|
45
52
|
const t = e instanceof Date ? e : new Date(e);
|
|
46
53
|
return Number.isNaN(t.getTime()) ? "" : t.toLocaleTimeString("pt-BR", { hour: "2-digit", minute: "2-digit" });
|
|
47
|
-
},
|
|
54
|
+
}, Zi = (e) => e.type === "document" && e.filename.toLowerCase().endsWith(".pdf"), ja = (e, t) => {
|
|
48
55
|
const n = t.metadata && typeof t.metadata == "object" ? t.metadata : null, i = e.selectedValue || (typeof n?.selectedValue == "string" ? n.selectedValue : void 0), o = e.selectedOption || (typeof n?.selectedOption == "string" ? n.selectedOption : void 0), s = e.selectedAt || (typeof n?.selectedAt == "string" ? n.selectedAt : void 0);
|
|
49
56
|
return { selectedValue: i, selectedOption: o, selectedAt: s };
|
|
50
57
|
}, Qt = (e) => {
|
|
@@ -75,7 +82,7 @@ const Co = (e) => e.from === "system" || e.from === "operator" || e.from === "co
|
|
|
75
82
|
if (!e || !t) return !1;
|
|
76
83
|
const n = new Date(e), i = new Date(t);
|
|
77
84
|
return Number.isNaN(n.getTime()) || Number.isNaN(i.getTime()) ? !1 : Math.floor(n.getTime() / 6e4) === Math.floor(i.getTime() / 6e4);
|
|
78
|
-
}, _a = (e) => !!(e && e.messageType === "image" && !
|
|
85
|
+
}, _a = (e) => !!(e && e.messageType === "image" && !Qi(e)), $a = (e = []) => {
|
|
79
86
|
if (!e.length) return [];
|
|
80
87
|
const t = [];
|
|
81
88
|
let n = [];
|
|
@@ -168,7 +175,7 @@ const Pa = [
|
|
|
168
175
|
e[n] !== void 0 && (t[n] = e[n]);
|
|
169
176
|
return t;
|
|
170
177
|
}, qo = (e, t = "") => typeof e == "string" ? e : e == null ? t : String(e);
|
|
171
|
-
class
|
|
178
|
+
class Vi {
|
|
172
179
|
payload = {
|
|
173
180
|
messageType: "text",
|
|
174
181
|
messageBody: ""
|
|
@@ -176,7 +183,7 @@ class Zi {
|
|
|
176
183
|
constructor() {
|
|
177
184
|
}
|
|
178
185
|
static create() {
|
|
179
|
-
return new
|
|
186
|
+
return new Vi();
|
|
180
187
|
}
|
|
181
188
|
withRaw(t) {
|
|
182
189
|
const n = typeof t.caption == "string" || t.caption === null ? t.caption : t.caption === void 0 ? void 0 : null;
|
|
@@ -235,8 +242,8 @@ function Ja() {
|
|
|
235
242
|
voice: t
|
|
236
243
|
};
|
|
237
244
|
}
|
|
238
|
-
const Yn = H(!1), pt = H([]), Gn = H(void 0), $e = H(void 0), Qn = H(void 0), ao = H(void 0),
|
|
239
|
-
!e || !
|
|
245
|
+
const Yn = H(!1), pt = H([]), Gn = H(void 0), $e = H(void 0), Qn = H(void 0), ao = H(void 0), Ji = (e) => !!(e?.logo?.trim() || he(e?.title, "pt-BR").trim() || he(e?.subtitle, "pt-BR").trim()), Ko = (e) => {
|
|
246
|
+
!e || !Ji(e) || (ao.value = { ...e });
|
|
240
247
|
}, Ke = () => {
|
|
241
248
|
const e = (v) => {
|
|
242
249
|
const A = new Set(
|
|
@@ -254,7 +261,7 @@ const Yn = H(!1), pt = H([]), Gn = H(void 0), $e = H(void 0), Qn = H(void 0), ao
|
|
|
254
261
|
return v && n.value.get(v) || i.value;
|
|
255
262
|
}), s = f(() => !$e.value || !o.value ? [] : t($e.value, o.value.id)), a = f(() => {
|
|
256
263
|
const v = o.value?.settings?.header;
|
|
257
|
-
return
|
|
264
|
+
return Ji(v) ? v : ao.value;
|
|
258
265
|
}), r = f(() => {
|
|
259
266
|
const v = Qn.value?.configurations.general;
|
|
260
267
|
return Array.isArray(v?.languages) && v.languages.length > 0 ? [...v.languages] : v?.language ? [v.language] : ["pt-BR"];
|
|
@@ -303,10 +310,10 @@ const Yn = H(!1), pt = H([]), Gn = H(void 0), $e = H(void 0), Qn = H(void 0), ao
|
|
|
303
310
|
return [...t, ...n];
|
|
304
311
|
};
|
|
305
312
|
function Ka(e, t) {
|
|
306
|
-
const { maskPhone: n, maskCpf: i } =
|
|
313
|
+
const { maskPhone: n, maskCpf: i } = La(), { history: o, language: s } = Ke(), a = H(0), r = H("forward"), l = H(null), u = f(() => {
|
|
307
314
|
const j = ft(e), U = j.settings?.form && j.settings.form.fields || [];
|
|
308
315
|
return qa(U);
|
|
309
|
-
}), g =
|
|
316
|
+
}), g = ga(Object.fromEntries(u.value.map((j) => [j.name, ""]))), p = f(() => u.value[a.value]), h = f(() => a.value >= u.value.length - 1), m = f(() => o.value.length > 0 || a.value > 0), w = f(() => r.value === "back" ? "step-back" : "step-forward");
|
|
310
317
|
pe(a, async () => {
|
|
311
318
|
await Fe();
|
|
312
319
|
const j = l.value;
|
|
@@ -376,7 +383,7 @@ function Ka(e, t) {
|
|
|
376
383
|
}
|
|
377
384
|
};
|
|
378
385
|
}
|
|
379
|
-
function
|
|
386
|
+
function qi(e) {
|
|
380
387
|
const t = f(() => e.small ? "!wu-h-8 !wu-min-h-[2rem]" : "!wu-h-12 !wu-min-h-[3rem]"), n = f(() => "!wu-text-xs"), i = f(() => e.fluid ? "!wu-w-full" : "wu-w-fit");
|
|
381
388
|
return {
|
|
382
389
|
height: t,
|
|
@@ -524,7 +531,7 @@ const er = /* @__PURE__ */ K({
|
|
|
524
531
|
}), tr = {
|
|
525
532
|
class: "wu-flex wu-flex-col wu-items-stretch wu-w-full wu-cursor-text wu-gap-1",
|
|
526
533
|
"data-testid": "app-form-text-input"
|
|
527
|
-
}, nr = ["value", "type", "placeholder", "disabled", "maxlength", "aria-invalid"],
|
|
534
|
+
}, nr = ["value", "type", "placeholder", "disabled", "maxlength", "aria-invalid"], Ki = /* @__PURE__ */ K({
|
|
528
535
|
__name: "app-form-text-input",
|
|
529
536
|
props: {
|
|
530
537
|
modelValue: { default: "" },
|
|
@@ -564,7 +571,7 @@ const er = /* @__PURE__ */ K({
|
|
|
564
571
|
},
|
|
565
572
|
{ immediate: !0 }
|
|
566
573
|
);
|
|
567
|
-
const { width: g } =
|
|
574
|
+
const { width: g } = qi(i), p = f(() => i.invalid ? "wu-text-red-500" : i.valid ? "wu-text-green-500" : ""), h = f(() => i.invalid ? "wu-text-red-600 placeholder:wu-text-red-300 placeholder:wu-font-medium" : i.valid ? "wu-text-green-700 placeholder:wu-font-medium" : "wu-text-gray-900 placeholder:wu-text-gray-400 placeholder:wu-font-medium dark:wu-text-neutral-100 dark:placeholder:wu-text-neutral-500"), m = f(() => i.invalid ? "wu-text-red-500" : i.valid ? "wu-text-green-500" : "wu-text-gray-500"), w = f(() => i.disabled ? "wu-opacity-50 wu-pointer-events-none" : "");
|
|
568
575
|
function b(x) {
|
|
569
576
|
const M = x.target.value;
|
|
570
577
|
r.value = i.maskFunction ? u(M) : M, o("update:modelValue", r.value);
|
|
@@ -811,7 +818,7 @@ const F = /* @__PURE__ */ K({
|
|
|
811
818
|
], 6)
|
|
812
819
|
], 6));
|
|
813
820
|
}
|
|
814
|
-
}), Eo = /* @__PURE__ */ lt(rr, [["__scopeId", "data-v-96f06600"]]), lr = { class: "wu-flex wu-flex-col wu-w-full wu-h-full" }, ur = { class: "wu-relative wu-flex wu-items-center wu-w-full wu-shrink-0" }, cr = { class: "wu-flex wu-shrink-0 wu-items-center wu-w-fit wu-justify-center wu-px-6 wu-py-4" }, dr = { class: "wu-absolute wu-inset-0 wu-flex wu-items-center wu-justify-center wu-pointer-events-none" }, pr = { class: "wu-flex wu-items-center wu-gap-1.5" },
|
|
821
|
+
}), Eo = /* @__PURE__ */ lt(rr, [["__scopeId", "data-v-96f06600"]]), lr = { class: "wu-flex wu-flex-col wu-w-full wu-h-full" }, ur = { class: "wu-relative wu-flex wu-items-center wu-w-full wu-shrink-0" }, cr = { class: "wu-flex wu-shrink-0 wu-items-center wu-w-fit wu-justify-center wu-px-6 wu-py-4" }, dr = { class: "wu-absolute wu-inset-0 wu-flex wu-items-center wu-justify-center wu-pointer-events-none" }, pr = { class: "wu-flex wu-items-center wu-gap-1.5" }, Xi = /* @__PURE__ */ K({
|
|
815
822
|
__name: "app-identification-page",
|
|
816
823
|
props: {
|
|
817
824
|
rule: {},
|
|
@@ -941,7 +948,7 @@ const F = /* @__PURE__ */ K({
|
|
|
941
948
|
"gap-md": ""
|
|
942
949
|
}, {
|
|
943
950
|
default: c(() => [
|
|
944
|
-
y(
|
|
951
|
+
y(Ki, {
|
|
945
952
|
modelValue: B(l)[M.name],
|
|
946
953
|
"onUpdate:modelValue": (A) => B(l)[M.name] = A,
|
|
947
954
|
"mask-function": B(w)(M.name),
|
|
@@ -980,7 +987,7 @@ const F = /* @__PURE__ */ K({
|
|
|
980
987
|
], 512)
|
|
981
988
|
]));
|
|
982
989
|
}
|
|
983
|
-
}), gr = ["disabled"], fr = ["src"],
|
|
990
|
+
}), gr = ["disabled"], fr = ["src"], es = /* @__PURE__ */ K({
|
|
984
991
|
__name: "app-widget-anchor",
|
|
985
992
|
props: {
|
|
986
993
|
small: Boolean,
|
|
@@ -1175,7 +1182,7 @@ const F = /* @__PURE__ */ K({
|
|
|
1175
1182
|
m[2] || (m[2] = R("div", { class: "wu-flex wu-items-center wu-w-fit wu-justify-center wu-h-0" }, null, -1))
|
|
1176
1183
|
]));
|
|
1177
1184
|
}
|
|
1178
|
-
}),
|
|
1185
|
+
}), ts = /* @__PURE__ */ lt(Lr, [["__scopeId", "data-v-e558a3fb"]]), kr = 120, Sr = () => 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", Cr = (e) => e.includes("mp4") ? "m4a" : "webm", ni = (e) => e.toString().padStart(2, "0");
|
|
1179
1186
|
function Er() {
|
|
1180
1187
|
const e = H(!1), t = H(0), n = H(null);
|
|
1181
1188
|
let i = null, o = null, s = [], a = null, r = "audio/webm", l = !1, u = null;
|
|
@@ -1212,7 +1219,7 @@ function Er() {
|
|
|
1212
1219
|
})), I = async () => {
|
|
1213
1220
|
l = !0, s = [], await x();
|
|
1214
1221
|
};
|
|
1215
|
-
return
|
|
1222
|
+
return fa(() => {
|
|
1216
1223
|
I();
|
|
1217
1224
|
}), {
|
|
1218
1225
|
formattedDuration: g,
|
|
@@ -1250,7 +1257,7 @@ const Dr = ["src", "alt"], Nr = ["src"], jr = ["src"], zr = ["title"], En = /* @
|
|
|
1250
1257
|
}
|
|
1251
1258
|
), zt(() => {
|
|
1252
1259
|
window.removeEventListener("keydown", p);
|
|
1253
|
-
}), (h, m) => (d(), N(
|
|
1260
|
+
}), (h, m) => (d(), N(ma, { to: "body" }, [
|
|
1254
1261
|
e.open && e.items.length ? (d(), T("div", {
|
|
1255
1262
|
key: 0,
|
|
1256
1263
|
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]",
|
|
@@ -1422,7 +1429,7 @@ const Dr = ["src", "alt"], Nr = ["src"], jr = ["src"], zr = ["title"], En = /* @
|
|
|
1422
1429
|
}, w = () => {
|
|
1423
1430
|
if (m(), t.src) return t.src;
|
|
1424
1431
|
if (t.file)
|
|
1425
|
-
return r.value = URL.createObjectURL(
|
|
1432
|
+
return r.value = URL.createObjectURL(ha(t.file)), r.value;
|
|
1426
1433
|
}, b = () => {
|
|
1427
1434
|
s.value = n.value?.duration || 0;
|
|
1428
1435
|
}, x = () => {
|
|
@@ -1553,7 +1560,7 @@ const Dr = ["src", "alt"], Nr = ["src"], jr = ["src"], zr = ["title"], En = /* @
|
|
|
1553
1560
|
() => o.value.filter((v) => v.type === "image" || v.type === "video")
|
|
1554
1561
|
), a = f(
|
|
1555
1562
|
() => o.value.filter((v) => v.type !== "image" && v.type !== "video")
|
|
1556
|
-
), r = f(() => s.value.slice(0, 4)), l = f(() => Math.max(0, s.value.length - 4)), u = f(() => Da(n.message)), g = f(() =>
|
|
1563
|
+
), r = f(() => s.value.slice(0, 4)), l = f(() => Math.max(0, s.value.length - 4)), u = f(() => Da(n.message)), g = f(() => Qi(n.message)), p = f(() => !!(r.value.length || a.value.length)), h = H(!1), m = H(0), w = H([]), b = (v) => {
|
|
1557
1564
|
w.value = s.value.filter((A) => A.link).map((A) => ({
|
|
1558
1565
|
src: A.link,
|
|
1559
1566
|
type: A.type === "video" ? "video" : "image",
|
|
@@ -1687,7 +1694,7 @@ const Dr = ["src", "alt"], Nr = ["src"], jr = ["src"], zr = ["title"], En = /* @
|
|
|
1687
1694
|
]),
|
|
1688
1695
|
_: 2
|
|
1689
1696
|
}, 1032, ["title"])),
|
|
1690
|
-
B(
|
|
1697
|
+
B(Zi)(k) ? (d(), N(te, {
|
|
1691
1698
|
key: 2,
|
|
1692
1699
|
onClick: (C) => x(k),
|
|
1693
1700
|
ghost: "",
|
|
@@ -1858,7 +1865,7 @@ const Dr = ["src", "alt"], Nr = ["src"], jr = ["src"], zr = ["title"], En = /* @
|
|
|
1858
1865
|
},
|
|
1859
1866
|
emits: ["chat-service-message-action"],
|
|
1860
1867
|
setup(e, { emit: t }) {
|
|
1861
|
-
const n = e, i = t, o = f(() => Ue(n.message)), s = f(() => o.value?.filename || n.message.messageBody || "Documento"), a = f(() => !!(o.value?.link &&
|
|
1868
|
+
const n = e, i = t, o = f(() => Ue(n.message)), s = f(() => o.value?.filename || n.message.messageBody || "Documento"), a = f(() => !!(o.value?.link && Zi(o.value))), r = H(!1), l = f(() => !a.value || !o.value?.link ? [] : [
|
|
1862
1869
|
{
|
|
1863
1870
|
src: o.value.link,
|
|
1864
1871
|
type: "pdf",
|
|
@@ -2363,12 +2370,12 @@ const Dr = ["src", "alt"], Nr = ["src"], jr = ["src"], zr = ["title"], En = /* @
|
|
|
2363
2370
|
])
|
|
2364
2371
|
], 8, hl)) : z("", !0);
|
|
2365
2372
|
}
|
|
2366
|
-
}), xl = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos6kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12b0cam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", Ml = "ελ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", lo = "numeric", uo = "ascii", co = "alpha", mt = "asciinumeric", gt = "alphanumeric", po = "domain",
|
|
2373
|
+
}), xl = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos6kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12b0cam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", Ml = "ελ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", lo = "numeric", uo = "ascii", co = "alpha", mt = "asciinumeric", gt = "alphanumeric", po = "domain", ns = "emoji", Al = "scheme", Il = "slashscheme", Zn = "whitespace";
|
|
2367
2374
|
function Tl(e, t) {
|
|
2368
2375
|
return e in t || (t[e] = []), t[e];
|
|
2369
2376
|
}
|
|
2370
2377
|
function Je(e, t, n) {
|
|
2371
|
-
t[lo] && (t[mt] = !0, t[gt] = !0), t[uo] && (t[mt] = !0, t[co] = !0), t[mt] && (t[gt] = !0), t[co] && (t[gt] = !0), t[gt] && (t[po] = !0), t[
|
|
2378
|
+
t[lo] && (t[mt] = !0, t[gt] = !0), t[uo] && (t[mt] = !0, t[co] = !0), t[mt] && (t[gt] = !0), t[co] && (t[gt] = !0), t[gt] && (t[po] = !0), t[ns] && (t[po] = !0);
|
|
2372
2379
|
for (const i in t) {
|
|
2373
2380
|
const o = Tl(i, n);
|
|
2374
2381
|
o.indexOf(e) < 0 && o.push(e);
|
|
@@ -2504,13 +2511,13 @@ me.prototype = {
|
|
|
2504
2511
|
return o.j[e] = a, a;
|
|
2505
2512
|
}
|
|
2506
2513
|
};
|
|
2507
|
-
const Z = (e, t, n, i, o) => e.ta(t, n, i, o), re = (e, t, n, i, o) => e.tr(t, n, i, o), oi = (e, t, n, i, o) => e.ts(t, n, i, o), S = (e, t, n, i, o) => e.tt(t, n, i, o), je = "WORD", go = "UWORD",
|
|
2508
|
-
var
|
|
2514
|
+
const Z = (e, t, n, i, o) => e.ta(t, n, i, o), re = (e, t, n, i, o) => e.tr(t, n, i, o), oi = (e, t, n, i, o) => e.ts(t, n, i, o), S = (e, t, n, i, o) => e.tt(t, n, i, o), je = "WORD", go = "UWORD", os = "ASCIINUMERICAL", is = "ALPHANUMERICAL", kt = "LOCALHOST", fo = "TLD", mo = "UTLD", Ut = "SCHEME", tt = "SLASH_SCHEME", Do = "NUM", ho = "WS", No = "NL", ht = "OPENBRACE", wt = "CLOSEBRACE", Zt = "OPENBRACKET", Vt = "CLOSEBRACKET", Jt = "OPENPAREN", qt = "CLOSEPAREN", Kt = "OPENANGLEBRACKET", Xt = "CLOSEANGLEBRACKET", en = "FULLWIDTHLEFTPAREN", tn = "FULLWIDTHRIGHTPAREN", nn = "LEFTCORNERBRACKET", on = "RIGHTCORNERBRACKET", sn = "LEFTWHITECORNERBRACKET", an = "RIGHTWHITECORNERBRACKET", rn = "FULLWIDTHLESSTHAN", ln = "FULLWIDTHGREATERTHAN", un = "AMPERSAND", cn = "APOSTROPHE", dn = "ASTERISK", Re = "AT", pn = "BACKSLASH", gn = "BACKTICK", fn = "CARET", qe = "COLON", jo = "COMMA", mn = "DOLLAR", Te = "DOT", hn = "EQUALS", zo = "EXCLAMATION", be = "HYPHEN", yt = "PERCENT", wn = "PIPE", yn = "PLUS", it = "POUND", Ve = "QUERY", _o = "QUOTE", ss = "FULLWIDTHMIDDLEDOT", $o = "SEMI", Le = "SLASH", vt = "TILDE", vn = "UNDERSCORE", as = "EMOJI", bn = "SYM";
|
|
2515
|
+
var rs = /* @__PURE__ */ Object.freeze({
|
|
2509
2516
|
__proto__: null,
|
|
2510
|
-
ALPHANUMERICAL:
|
|
2517
|
+
ALPHANUMERICAL: is,
|
|
2511
2518
|
AMPERSAND: un,
|
|
2512
2519
|
APOSTROPHE: cn,
|
|
2513
|
-
ASCIINUMERICAL:
|
|
2520
|
+
ASCIINUMERICAL: os,
|
|
2514
2521
|
ASTERISK: dn,
|
|
2515
2522
|
AT: Re,
|
|
2516
2523
|
BACKSLASH: pn,
|
|
@@ -2524,13 +2531,13 @@ var as = /* @__PURE__ */ Object.freeze({
|
|
|
2524
2531
|
COMMA: jo,
|
|
2525
2532
|
DOLLAR: mn,
|
|
2526
2533
|
DOT: Te,
|
|
2527
|
-
EMOJI:
|
|
2534
|
+
EMOJI: as,
|
|
2528
2535
|
EQUALS: hn,
|
|
2529
2536
|
EXCLAMATION: zo,
|
|
2530
2537
|
FULLWIDTHGREATERTHAN: ln,
|
|
2531
2538
|
FULLWIDTHLEFTPAREN: en,
|
|
2532
2539
|
FULLWIDTHLESSTHAN: rn,
|
|
2533
|
-
FULLWIDTHMIDDLEDOT:
|
|
2540
|
+
FULLWIDTHMIDDLEDOT: ss,
|
|
2534
2541
|
FULLWIDTHRIGHTPAREN: tn,
|
|
2535
2542
|
HYPHEN: be,
|
|
2536
2543
|
LEFTCORNERBRACKET: nn,
|
|
@@ -2576,14 +2583,14 @@ function Cl(e = []) {
|
|
|
2576
2583
|
const t = {};
|
|
2577
2584
|
me.groups = t;
|
|
2578
2585
|
const n = new me();
|
|
2579
|
-
Bt == null && (Bt = si(xl)), Pt == null && (Pt = si(Ml)), S(n, "'", cn), S(n, "{", ht), S(n, "}", wt), S(n, "[", Zt), S(n, "]", Vt), S(n, "(", Jt), S(n, ")", qt), S(n, "<", Kt), S(n, ">", Xt), S(n, "(", en), S(n, ")", tn), S(n, "「", nn), S(n, "」", on), S(n, "『", sn), S(n, "』", an), S(n, "<", rn), S(n, ">", ln), S(n, "&", un), S(n, "*", dn), S(n, "@", Re), S(n, "`", gn), S(n, "^", fn), S(n, ":", qe), S(n, ",", jo), S(n, "$", mn), S(n, ".", Te), S(n, "=", hn), S(n, "!", zo), S(n, "-", be), S(n, "%", yt), S(n, "|", wn), S(n, "+", yn), S(n, "#", it), S(n, "?", Ve), S(n, '"', _o), S(n, "/", Le), S(n, ";", $o), S(n, "~", vt), S(n, "_", vn), S(n, "\\", pn), S(n, "・",
|
|
2586
|
+
Bt == null && (Bt = si(xl)), Pt == null && (Pt = si(Ml)), S(n, "'", cn), S(n, "{", ht), S(n, "}", wt), S(n, "[", Zt), S(n, "]", Vt), S(n, "(", Jt), S(n, ")", qt), S(n, "<", Kt), S(n, ">", Xt), S(n, "(", en), S(n, ")", tn), S(n, "「", nn), S(n, "」", on), S(n, "『", sn), S(n, "』", an), S(n, "<", rn), S(n, ">", ln), S(n, "&", un), S(n, "*", dn), S(n, "@", Re), S(n, "`", gn), S(n, "^", fn), S(n, ":", qe), S(n, ",", jo), S(n, "$", mn), S(n, ".", Te), S(n, "=", hn), S(n, "!", zo), S(n, "-", be), S(n, "%", yt), S(n, "|", wn), S(n, "+", yn), S(n, "#", it), S(n, "?", Ve), S(n, '"', _o), S(n, "/", Le), S(n, ";", $o), S(n, "~", vt), S(n, "_", vn), S(n, "\\", pn), S(n, "・", ss);
|
|
2580
2587
|
const i = re(n, Ne, Do, {
|
|
2581
2588
|
[lo]: !0
|
|
2582
2589
|
});
|
|
2583
2590
|
re(i, Ne, i);
|
|
2584
|
-
const o = re(i, De,
|
|
2591
|
+
const o = re(i, De, os, {
|
|
2585
2592
|
[mt]: !0
|
|
2586
|
-
}), s = re(i, nt,
|
|
2593
|
+
}), s = re(i, nt, is, {
|
|
2587
2594
|
[gt]: !0
|
|
2588
2595
|
}), a = re(n, De, je, {
|
|
2589
2596
|
[uo]: !0
|
|
@@ -2601,8 +2608,8 @@ function Cl(e = []) {
|
|
|
2601
2608
|
[Zn]: !0
|
|
2602
2609
|
});
|
|
2603
2610
|
S(n, qn, g), S(u, Jn, l), S(u, qn, g), re(u, Vn, g), S(g, ii), S(g, Jn), re(g, Vn, g), S(g, qn, g);
|
|
2604
|
-
const p = re(n, Wt,
|
|
2605
|
-
[
|
|
2611
|
+
const p = re(n, Wt, as, {
|
|
2612
|
+
[ns]: !0
|
|
2606
2613
|
});
|
|
2607
2614
|
S(p, "#"), re(p, Wt, p), S(p, kl, p);
|
|
2608
2615
|
const h = S(p, Sl);
|
|
@@ -2639,10 +2646,10 @@ function Cl(e = []) {
|
|
|
2639
2646
|
start: n,
|
|
2640
2647
|
tokens: Object.assign({
|
|
2641
2648
|
groups: t
|
|
2642
|
-
},
|
|
2649
|
+
}, rs)
|
|
2643
2650
|
};
|
|
2644
2651
|
}
|
|
2645
|
-
function
|
|
2652
|
+
function ls(e, t) {
|
|
2646
2653
|
const n = El(t.replace(/[A-Z]/g, (r) => r.toLowerCase())), i = n.length, o = [];
|
|
2647
2654
|
let s = 0, a = 0;
|
|
2648
2655
|
for (; a < i; ) {
|
|
@@ -2806,10 +2813,10 @@ Oo.prototype = {
|
|
|
2806
2813
|
function ai(e) {
|
|
2807
2814
|
return e;
|
|
2808
2815
|
}
|
|
2809
|
-
function
|
|
2816
|
+
function us(e, t) {
|
|
2810
2817
|
this.t = "token", this.v = e, this.tk = t;
|
|
2811
2818
|
}
|
|
2812
|
-
|
|
2819
|
+
us.prototype = {
|
|
2813
2820
|
isLink: !1,
|
|
2814
2821
|
/**
|
|
2815
2822
|
* Return the string this token represents.
|
|
@@ -2914,7 +2921,7 @@ ls.prototype = {
|
|
|
2914
2921
|
}
|
|
2915
2922
|
};
|
|
2916
2923
|
function Nn(e, t) {
|
|
2917
|
-
class n extends
|
|
2924
|
+
class n extends us {
|
|
2918
2925
|
constructor(o, s) {
|
|
2919
2926
|
super(o, s), this.t = e;
|
|
2920
2927
|
}
|
|
@@ -3006,7 +3013,7 @@ function jl({
|
|
|
3006
3013
|
}
|
|
3007
3014
|
return S(o, kt, I), S(o, No, Nl), {
|
|
3008
3015
|
start: o,
|
|
3009
|
-
tokens:
|
|
3016
|
+
tokens: rs
|
|
3010
3017
|
};
|
|
3011
3018
|
}
|
|
3012
3019
|
function zl(e, t, n) {
|
|
@@ -3059,10 +3066,10 @@ function _l() {
|
|
|
3059
3066
|
});
|
|
3060
3067
|
return fe.initialized = !0, fe;
|
|
3061
3068
|
}
|
|
3062
|
-
function
|
|
3063
|
-
return fe.initialized || _l(), zl(fe.parser.start, e,
|
|
3069
|
+
function cs(e) {
|
|
3070
|
+
return fe.initialized || _l(), zl(fe.parser.start, e, ls(fe.scanner.start, e));
|
|
3064
3071
|
}
|
|
3065
|
-
|
|
3072
|
+
cs.scan = ls;
|
|
3066
3073
|
var $l = {
|
|
3067
3074
|
// We don't need the complete named character reference because linkifyHtml
|
|
3068
3075
|
// does not modify the escape sequences. We do need so that
|
|
@@ -3691,7 +3698,7 @@ function Ql(e, t) {
|
|
|
3691
3698
|
var n = new Gl(new Rl($l), t);
|
|
3692
3699
|
return n.tokenize(e);
|
|
3693
3700
|
}
|
|
3694
|
-
const
|
|
3701
|
+
const ds = "LinkifyResult", xn = "StartTag", ps = "EndTag", wo = "Chars", Zl = "Comment", Vl = "Doctype";
|
|
3695
3702
|
function Jl(e, t = {}) {
|
|
3696
3703
|
const n = Ql(e), i = [], o = [], s = new Oo(t, Xl);
|
|
3697
3704
|
for (let a = 0; a < n.length; a++) {
|
|
@@ -3713,7 +3720,7 @@ function Jl(e, t = {}) {
|
|
|
3713
3720
|
for (let a = 0; a < i.length; a++) {
|
|
3714
3721
|
const r = i[a];
|
|
3715
3722
|
switch (r.type) {
|
|
3716
|
-
case
|
|
3723
|
+
case ds:
|
|
3717
3724
|
o.push(r.rendered);
|
|
3718
3725
|
break;
|
|
3719
3726
|
case xn: {
|
|
@@ -3721,7 +3728,7 @@ function Jl(e, t = {}) {
|
|
|
3721
3728
|
r.attributes.length > 0 && (l += " " + tu(r.attributes).join(" ")), r.selfClosing && (l += " /"), l += ">", o.push(l);
|
|
3722
3729
|
break;
|
|
3723
3730
|
}
|
|
3724
|
-
case
|
|
3731
|
+
case ps:
|
|
3725
3732
|
o.push(`</${r.tagName}>`);
|
|
3726
3733
|
break;
|
|
3727
3734
|
case wo:
|
|
@@ -3740,7 +3747,7 @@ function Jl(e, t = {}) {
|
|
|
3740
3747
|
return o.join("");
|
|
3741
3748
|
}
|
|
3742
3749
|
function ql(e, t) {
|
|
3743
|
-
const n =
|
|
3750
|
+
const n = cs(e), i = [];
|
|
3744
3751
|
for (let o = 0; o < n.length; o++) {
|
|
3745
3752
|
const s = n[o];
|
|
3746
3753
|
s.t === "nl" && t.get("nl2br") ? i.push({
|
|
@@ -3752,7 +3759,7 @@ function ql(e, t) {
|
|
|
3752
3759
|
type: wo,
|
|
3753
3760
|
chars: s.toString()
|
|
3754
3761
|
}) : i.push({
|
|
3755
|
-
type:
|
|
3762
|
+
type: ds,
|
|
3756
3763
|
rendered: t.render(s)
|
|
3757
3764
|
});
|
|
3758
3765
|
}
|
|
@@ -3762,7 +3769,7 @@ function Kl(e, t, n, i) {
|
|
|
3762
3769
|
let o = 1;
|
|
3763
3770
|
for (; n < t.length && o > 0; ) {
|
|
3764
3771
|
let s = t[n];
|
|
3765
|
-
s.type === xn && s.tagName.toUpperCase() === e ? o++ : s.type ===
|
|
3772
|
+
s.type === xn && s.tagName.toUpperCase() === e ? o++ : s.type === ps && s.tagName.toUpperCase() === e && o--, i.push(s), n++;
|
|
3766
3773
|
}
|
|
3767
3774
|
return i;
|
|
3768
3775
|
}
|
|
@@ -3776,14 +3783,14 @@ function Xl({
|
|
|
3776
3783
|
function yo(e) {
|
|
3777
3784
|
return e.replace(/</g, "<").replace(/>/g, ">");
|
|
3778
3785
|
}
|
|
3779
|
-
function
|
|
3786
|
+
function gs(e) {
|
|
3780
3787
|
return e.replace(/"/g, """);
|
|
3781
3788
|
}
|
|
3782
3789
|
function eu(e) {
|
|
3783
3790
|
const t = [];
|
|
3784
3791
|
for (const n in e) {
|
|
3785
3792
|
const i = e[n] + "";
|
|
3786
|
-
t.push(`${n}="${
|
|
3793
|
+
t.push(`${n}="${gs(i)}"`);
|
|
3787
3794
|
}
|
|
3788
3795
|
return t.join(" ");
|
|
3789
3796
|
}
|
|
@@ -3791,7 +3798,7 @@ function tu(e) {
|
|
|
3791
3798
|
const t = [];
|
|
3792
3799
|
for (let n = 0; n < e.length; n++) {
|
|
3793
3800
|
const i = e[n][0], o = e[n][1] + "";
|
|
3794
|
-
t.push(`${i}="${
|
|
3801
|
+
t.push(`${i}="${gs(o)}"`);
|
|
3795
3802
|
}
|
|
3796
3803
|
return t;
|
|
3797
3804
|
}
|
|
@@ -3909,7 +3916,7 @@ const ou = {
|
|
|
3909
3916
|
], 2)
|
|
3910
3917
|
], 2));
|
|
3911
3918
|
}
|
|
3912
|
-
}),
|
|
3919
|
+
}), fs = /* @__PURE__ */ K({
|
|
3913
3920
|
__name: "app-skeleton",
|
|
3914
3921
|
props: {
|
|
3915
3922
|
round: Boolean,
|
|
@@ -3949,7 +3956,7 @@ const ou = {
|
|
|
3949
3956
|
])
|
|
3950
3957
|
], 2));
|
|
3951
3958
|
}
|
|
3952
|
-
}),
|
|
3959
|
+
}), ms = /* @__PURE__ */ lt(pu, [["__scopeId", "data-v-b0aad068"]]), hs = /* @__PURE__ */ K({
|
|
3953
3960
|
__name: "app-empty",
|
|
3954
3961
|
props: {
|
|
3955
3962
|
error: {
|
|
@@ -4043,9 +4050,9 @@ const ou = {
|
|
|
4043
4050
|
const ut = f(() => {
|
|
4044
4051
|
const O = n.rule.settings?.features?.quickReplies ?? [], D = a.value;
|
|
4045
4052
|
return O.map((G) => he(G, D)).filter(Boolean);
|
|
4046
|
-
}),
|
|
4053
|
+
}), Gs = f(
|
|
4047
4054
|
() => ut.value.length > 0 && h.value.length === 0 && !g.value
|
|
4048
|
-
), Fo = f(() => r.value || X.value || E.value),
|
|
4055
|
+
), Fo = f(() => r.value || X.value || E.value), Qs = () => {
|
|
4049
4056
|
const O = C.value;
|
|
4050
4057
|
if (!O) return;
|
|
4051
4058
|
const D = O.scrollHeight - O.scrollTop - O.clientHeight;
|
|
@@ -4055,21 +4062,21 @@ const ou = {
|
|
|
4055
4062
|
D && (D.scrollTo({ top: D.scrollHeight, behavior: O ? "smooth" : "auto" }), _.value = !1);
|
|
4056
4063
|
}, _t = (O = !0) => {
|
|
4057
4064
|
_.value || ct(O);
|
|
4058
|
-
},
|
|
4065
|
+
}, Zs = () => {
|
|
4059
4066
|
ne.value || Q.value?.click();
|
|
4060
4067
|
}, Bn = (O) => {
|
|
4061
4068
|
O && URL.revokeObjectURL(O);
|
|
4062
|
-
},
|
|
4069
|
+
}, Vs = () => {
|
|
4063
4070
|
u.value.forEach((O) => Bn(O.previewUrl)), u.value = [];
|
|
4064
4071
|
}, Pn = () => {
|
|
4065
4072
|
Bn(w.value?.previewUrl), w.value = null;
|
|
4066
|
-
},
|
|
4073
|
+
}, Js = (O) => O.type.startsWith("image/") ? "image" : "document", Rn = (O) => {
|
|
4067
4074
|
if (!O.length) return;
|
|
4068
4075
|
const { validFiles: D, errors: G } = ui(O);
|
|
4069
4076
|
ce.value = G, D.length && (Pn(), u.value = [
|
|
4070
4077
|
...u.value,
|
|
4071
4078
|
...D.map((de) => {
|
|
4072
|
-
const $t =
|
|
4079
|
+
const $t = Js(de);
|
|
4073
4080
|
return {
|
|
4074
4081
|
file: de,
|
|
4075
4082
|
type: $t,
|
|
@@ -4077,16 +4084,16 @@ const ou = {
|
|
|
4077
4084
|
};
|
|
4078
4085
|
})
|
|
4079
4086
|
]);
|
|
4080
|
-
},
|
|
4087
|
+
}, qs = (O) => {
|
|
4081
4088
|
const { validFiles: D, errors: G } = ui([O]);
|
|
4082
|
-
ce.value = G, D.length && (
|
|
4089
|
+
ce.value = G, D.length && (Vs(), Pn(), b.value = "", w.value = {
|
|
4083
4090
|
file: D[0],
|
|
4084
4091
|
previewUrl: URL.createObjectURL(D[0])
|
|
4085
4092
|
});
|
|
4086
|
-
},
|
|
4093
|
+
}, Ks = (O) => {
|
|
4087
4094
|
const D = O.target, G = Array.from(D.files ?? []);
|
|
4088
4095
|
Rn(G), D.value = "";
|
|
4089
|
-
},
|
|
4096
|
+
}, Xs = (O) => {
|
|
4090
4097
|
if (!O) return [];
|
|
4091
4098
|
const D = Array.from(O.items ?? []).filter((G) => G.kind === "file").map((G) => G.getAsFile()).filter((G) => !!G);
|
|
4092
4099
|
return D.length ? D : Array.from(O.files ?? []);
|
|
@@ -4099,33 +4106,33 @@ const ou = {
|
|
|
4099
4106
|
Fn(), _e = setTimeout(() => {
|
|
4100
4107
|
ie.value = !1;
|
|
4101
4108
|
}, 300);
|
|
4102
|
-
},
|
|
4109
|
+
}, ea = (O) => {
|
|
4103
4110
|
if (!ae.value) return;
|
|
4104
|
-
const D =
|
|
4111
|
+
const D = Xs(O.clipboardData);
|
|
4105
4112
|
D.length && (O.preventDefault(), Rn(D));
|
|
4106
|
-
}, ea = (O) => {
|
|
4107
|
-
!ae.value || !Hn(O) || (O.preventDefault(), O.dataTransfer && (O.dataTransfer.dropEffect = "copy"), ie.value = !0, Uo());
|
|
4108
4113
|
}, ta = (O) => {
|
|
4109
|
-
!ae.value || !Hn(O) || Uo();
|
|
4114
|
+
!ae.value || !Hn(O) || (O.preventDefault(), O.dataTransfer && (O.dataTransfer.dropEffect = "copy"), ie.value = !0, Uo());
|
|
4110
4115
|
}, na = (O) => {
|
|
4116
|
+
!ae.value || !Hn(O) || Uo();
|
|
4117
|
+
}, oa = (O) => {
|
|
4111
4118
|
if (!ae.value || !Hn(O)) return;
|
|
4112
4119
|
O.preventDefault(), Fn(), ie.value = !1;
|
|
4113
4120
|
const D = Array.from(O.dataTransfer?.files ?? []);
|
|
4114
4121
|
D.length && Rn(D);
|
|
4115
|
-
},
|
|
4122
|
+
}, ia = (O) => {
|
|
4116
4123
|
Bn(u.value[O]?.previewUrl), u.value = u.value.filter((D, G) => G !== O);
|
|
4117
|
-
},
|
|
4124
|
+
}, sa = () => {
|
|
4118
4125
|
Pn();
|
|
4119
|
-
}, sa = async () => {
|
|
4120
|
-
oe.value || !await M() || (b.value = "", E.value = !0);
|
|
4121
4126
|
}, aa = async () => {
|
|
4122
|
-
await
|
|
4127
|
+
oe.value || !await M() || (b.value = "", E.value = !0);
|
|
4123
4128
|
}, ra = async () => {
|
|
4129
|
+
await A(), E.value = !1;
|
|
4130
|
+
}, la = async () => {
|
|
4124
4131
|
const O = await v();
|
|
4125
|
-
E.value = !1, O &&
|
|
4132
|
+
E.value = !1, O && qs(O);
|
|
4126
4133
|
}, dt = (O) => i("chat-service-action", O), Wo = f(() => j.value && !E.value && !r.value), Yo = () => {
|
|
4127
4134
|
Wo.value && (ce.value = [], ct(), dt({ action: "send-message" }));
|
|
4128
|
-
},
|
|
4135
|
+
}, ua = (O) => {
|
|
4129
4136
|
Fo.value || !O.trim() || (b.value = O, ct(), dt({ action: "send-message" }));
|
|
4130
4137
|
};
|
|
4131
4138
|
pe(
|
|
@@ -4151,13 +4158,13 @@ const ou = {
|
|
|
4151
4158
|
}), zt(() => {
|
|
4152
4159
|
Fn(), et?.disconnect(), et = null;
|
|
4153
4160
|
});
|
|
4154
|
-
const Qo = (O) => O.from === "contact" ? "contact" : "operator",
|
|
4161
|
+
const Qo = (O) => O.from === "contact" ? "contact" : "operator", ca = (O, D, G) => D[G - 1] ? Qo(D[G - 1]) === Qo(O) ? "wu-mt-1" : "wu-mt-4" : "wu-mt-0", da = (O) => Na(O.createdAt) || "12:58", pa = (O) => i("chat-service-message-action", O);
|
|
4155
4162
|
return (O, D) => (d(), T("div", {
|
|
4156
4163
|
class: "wu-relative wu-flex wu-flex-col wu-items-center wu-h-full wu-w-full wu-overflow-hidden",
|
|
4157
4164
|
"data-testid": "app-chat-service",
|
|
4158
|
-
onDragover:
|
|
4159
|
-
onDragleave:
|
|
4160
|
-
onDrop:
|
|
4165
|
+
onDragover: ta,
|
|
4166
|
+
onDragleave: na,
|
|
4167
|
+
onDrop: oa
|
|
4161
4168
|
}, [
|
|
4162
4169
|
ie.value ? (d(), T("div", gu, [
|
|
4163
4170
|
y(F, {
|
|
@@ -4185,7 +4192,7 @@ const ou = {
|
|
|
4185
4192
|
ref_key: "messagesList",
|
|
4186
4193
|
ref: C,
|
|
4187
4194
|
"data-testid": "app-service-messages",
|
|
4188
|
-
onScroll:
|
|
4195
|
+
onScroll: Qs
|
|
4189
4196
|
}, [
|
|
4190
4197
|
R("div", {
|
|
4191
4198
|
class: "wu-w-full wu-flex wu-flex-col",
|
|
@@ -4199,13 +4206,13 @@ const ou = {
|
|
|
4199
4206
|
secondary: de % 2 === 1
|
|
4200
4207
|
}, {
|
|
4201
4208
|
default: c(() => [
|
|
4202
|
-
y(
|
|
4209
|
+
y(fs, {
|
|
4203
4210
|
class: "wu-h-4 wu-w-32",
|
|
4204
4211
|
block: ""
|
|
4205
4212
|
})
|
|
4206
4213
|
]),
|
|
4207
4214
|
_: 1
|
|
4208
|
-
}, 8, ["primary", "secondary"])), 64)) : B(l) ? (d(), N(
|
|
4215
|
+
}, 8, ["primary", "secondary"])), 64)) : B(l) ? (d(), N(hs, {
|
|
4209
4216
|
key: 2,
|
|
4210
4217
|
class: "wu-h-full",
|
|
4211
4218
|
onRefetch: D[0] || (D[0] = (G) => dt({ action: "retry-loading" })),
|
|
@@ -4220,12 +4227,12 @@ const ou = {
|
|
|
4220
4227
|
key: G.id ?? de,
|
|
4221
4228
|
primary: G.from !== "contact",
|
|
4222
4229
|
secondary: G.from === "contact",
|
|
4223
|
-
class: V([
|
|
4230
|
+
class: V([ca(G, $.value, de)])
|
|
4224
4231
|
}, {
|
|
4225
4232
|
default: c(() => [
|
|
4226
4233
|
(d(), N(Sn(B(au)(G)), {
|
|
4227
4234
|
message: G,
|
|
4228
|
-
onChatServiceMessageAction:
|
|
4235
|
+
onChatServiceMessageAction: pa
|
|
4229
4236
|
}, null, 40, ["message"]))
|
|
4230
4237
|
]),
|
|
4231
4238
|
trailing: c(() => [
|
|
@@ -4235,7 +4242,7 @@ const ou = {
|
|
|
4235
4242
|
medium: ""
|
|
4236
4243
|
}, {
|
|
4237
4244
|
default: c(() => [
|
|
4238
|
-
L(W(
|
|
4245
|
+
L(W(da(G)), 1)
|
|
4239
4246
|
]),
|
|
4240
4247
|
_: 2
|
|
4241
4248
|
}, 1024)
|
|
@@ -4248,7 +4255,7 @@ const ou = {
|
|
|
4248
4255
|
primary: ""
|
|
4249
4256
|
}, {
|
|
4250
4257
|
default: c(() => [
|
|
4251
|
-
y(
|
|
4258
|
+
y(ms, { small: "" })
|
|
4252
4259
|
]),
|
|
4253
4260
|
_: 1
|
|
4254
4261
|
})) : z("", !0),
|
|
@@ -4326,7 +4333,7 @@ const ou = {
|
|
|
4326
4333
|
_: 1
|
|
4327
4334
|
})) : z("", !0)
|
|
4328
4335
|
]),
|
|
4329
|
-
!B(p) && !B(l) &&
|
|
4336
|
+
!B(p) && !B(l) && Gs.value ? (d(), N(q, {
|
|
4330
4337
|
key: 1,
|
|
4331
4338
|
class: "wu-items-end wu-w-full",
|
|
4332
4339
|
"data-testid": "app-chat-quick-replies",
|
|
@@ -4337,7 +4344,7 @@ const ou = {
|
|
|
4337
4344
|
default: c(() => [
|
|
4338
4345
|
(d(!0), T(se, null, ue(ut.value, (G, de) => (d(), N(te, {
|
|
4339
4346
|
key: de,
|
|
4340
|
-
onClick: ($t) =>
|
|
4347
|
+
onClick: ($t) => ua(G),
|
|
4341
4348
|
disabled: Fo.value,
|
|
4342
4349
|
outline: "",
|
|
4343
4350
|
round: "",
|
|
@@ -4364,7 +4371,7 @@ const ou = {
|
|
|
4364
4371
|
default: c(() => [
|
|
4365
4372
|
y(te, {
|
|
4366
4373
|
"data-testid": "app-chat-audio-cancel",
|
|
4367
|
-
onClick:
|
|
4374
|
+
onClick: ra,
|
|
4368
4375
|
ghost: "",
|
|
4369
4376
|
small: "",
|
|
4370
4377
|
icon: ""
|
|
@@ -4411,7 +4418,7 @@ const ou = {
|
|
|
4411
4418
|
}),
|
|
4412
4419
|
y(te, {
|
|
4413
4420
|
"data-testid": "app-chat-audio-stop",
|
|
4414
|
-
onClick:
|
|
4421
|
+
onClick: la,
|
|
4415
4422
|
disabled: !B(x),
|
|
4416
4423
|
small: "",
|
|
4417
4424
|
icon: "",
|
|
@@ -4449,7 +4456,7 @@ const ou = {
|
|
|
4449
4456
|
}, null, 8, ["src"]),
|
|
4450
4457
|
y(te, {
|
|
4451
4458
|
"data-testid": "app-chat-audio-discard",
|
|
4452
|
-
onClick:
|
|
4459
|
+
onClick: sa,
|
|
4453
4460
|
disabled: B(r),
|
|
4454
4461
|
ghost: "",
|
|
4455
4462
|
small: "",
|
|
@@ -4542,7 +4549,7 @@ const ou = {
|
|
|
4542
4549
|
}, 1024),
|
|
4543
4550
|
y(te, {
|
|
4544
4551
|
"data-testid": "app-chat-attachment-discard",
|
|
4545
|
-
onClick: ($t) =>
|
|
4552
|
+
onClick: ($t) => ia(de),
|
|
4546
4553
|
disabled: B(r),
|
|
4547
4554
|
ghost: "",
|
|
4548
4555
|
small: "",
|
|
@@ -4587,11 +4594,11 @@ const ou = {
|
|
|
4587
4594
|
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",
|
|
4588
4595
|
"onUpdate:modelValue": D[4] || (D[4] = (G) => Ui(b) ? b.value = G : null),
|
|
4589
4596
|
onKeydown: kn(He(Yo, ["exact", "prevent"]), ["enter"]),
|
|
4590
|
-
onPaste:
|
|
4597
|
+
onPaste: ea,
|
|
4591
4598
|
placeholder: "Escreva uma mensagem...",
|
|
4592
4599
|
disabled: B(r)
|
|
4593
4600
|
}, null, 40, bu), [
|
|
4594
|
-
[
|
|
4601
|
+
[wa, B(b)]
|
|
4595
4602
|
])
|
|
4596
4603
|
], 64)),
|
|
4597
4604
|
Jo(R("input", {
|
|
@@ -4600,15 +4607,15 @@ const ou = {
|
|
|
4600
4607
|
type: "file",
|
|
4601
4608
|
multiple: "",
|
|
4602
4609
|
"data-testid": "app-chat-file-input",
|
|
4603
|
-
onChange:
|
|
4610
|
+
onChange: Ks
|
|
4604
4611
|
}, null, 544), [
|
|
4605
|
-
[
|
|
4612
|
+
[ya, !1]
|
|
4606
4613
|
]),
|
|
4607
4614
|
R("div", xu, [
|
|
4608
4615
|
U.value ? (d(), N(te, {
|
|
4609
4616
|
key: 0,
|
|
4610
4617
|
"data-testid": "app-chat-attach-file",
|
|
4611
|
-
onClick:
|
|
4618
|
+
onClick: Zs,
|
|
4612
4619
|
disabled: ne.value,
|
|
4613
4620
|
ghost: "",
|
|
4614
4621
|
small: "",
|
|
@@ -4631,7 +4638,7 @@ const ou = {
|
|
|
4631
4638
|
U.value ? (d(), N(te, {
|
|
4632
4639
|
key: 1,
|
|
4633
4640
|
"data-testid": "app-chat-record-audio",
|
|
4634
|
-
onClick:
|
|
4641
|
+
onClick: aa,
|
|
4635
4642
|
disabled: oe.value,
|
|
4636
4643
|
ghost: "",
|
|
4637
4644
|
small: "",
|
|
@@ -4801,7 +4808,7 @@ const ou = {
|
|
|
4801
4808
|
})
|
|
4802
4809
|
]));
|
|
4803
4810
|
}
|
|
4804
|
-
}),
|
|
4811
|
+
}), ws = /* @__PURE__ */ K({
|
|
4805
4812
|
__name: "app-service-page",
|
|
4806
4813
|
props: {
|
|
4807
4814
|
rule: {},
|
|
@@ -4862,7 +4869,7 @@ const ou = {
|
|
|
4862
4869
|
normalizeHex: n,
|
|
4863
4870
|
parseHex: t
|
|
4864
4871
|
};
|
|
4865
|
-
}, Su = () => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-color-scheme: dark)").matches,
|
|
4872
|
+
}, Su = () => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-color-scheme: dark)").matches, ys = (e) => {
|
|
4866
4873
|
const { isLightHex: t, isNearWhiteHex: n, isTooDarkForDarkCanvas: i, mixWithWhite: o, normalizeHex: s, parseHex: a } = ku(), r = "#374151", l = 0.45, u = 0.72, g = (A, k) => A === "dark" ? "dark" : A === "light" ? "light" : k ? "dark" : "light", p = (A, k) => n(A) ? k === "light" ? r : A : k === "dark" && i(A) ? o(A, l) : A, h = (A, k, C) => C === "dark" && i(A) ? o(A, u) : k, m = (A) => {
|
|
4867
4874
|
const k = a(A) ?? { r: 109, g: 53, b: 149 }, C = t(A), P = `color-mix(in srgb, ${A} 22%, white)`, _ = `color-mix(in srgb, ${A} 22%, black)`;
|
|
4868
4875
|
return {
|
|
@@ -4928,7 +4935,7 @@ const ou = {
|
|
|
4928
4935
|
}, Du = ["src"], Nu = {
|
|
4929
4936
|
key: 1,
|
|
4930
4937
|
class: "wu-flex wu-flex-col wu-items-center wu-justify-start wu-gap-2 wu-px-6 wu-w-full"
|
|
4931
|
-
},
|
|
4938
|
+
}, vs = /* @__PURE__ */ K({
|
|
4932
4939
|
__name: "app-screen-page",
|
|
4933
4940
|
props: {
|
|
4934
4941
|
rule: {},
|
|
@@ -5052,7 +5059,7 @@ const ou = {
|
|
|
5052
5059
|
},
|
|
5053
5060
|
emits: ["chat-service-action", "edge-click", "chat-service-message-action", "submit", "close", "back"],
|
|
5054
5061
|
setup(e, { emit: t }) {
|
|
5055
|
-
const n = e, i = t, { history: o, currentRule: s, currentHeader: a, edges: r, language: l, setWorkflow: u, setConfig: g } = Ke(), { appearanceStyle: p, themeClass: h } =
|
|
5062
|
+
const n = e, i = t, { history: o, currentRule: s, currentHeader: a, edges: r, language: l, setWorkflow: u, setConfig: g } = Ke(), { appearanceStyle: p, themeClass: h } = ys(() => n.config.configurations.appearance);
|
|
5056
5063
|
u(n.workflow), g(n.config), pe(
|
|
5057
5064
|
() => n.workflow,
|
|
5058
5065
|
(k) => u(k)
|
|
@@ -5065,10 +5072,10 @@ const ou = {
|
|
|
5065
5072
|
), I = f(
|
|
5066
5073
|
() => he(a.value?.subtitle, l.value)
|
|
5067
5074
|
), M = {
|
|
5068
|
-
"widget-identification-screen":
|
|
5069
|
-
"widget-article-screen":
|
|
5070
|
-
"widget-service-screen":
|
|
5071
|
-
"widget-base-screen":
|
|
5075
|
+
"widget-identification-screen": Xi,
|
|
5076
|
+
"widget-article-screen": ts,
|
|
5077
|
+
"widget-service-screen": ws,
|
|
5078
|
+
"widget-base-screen": vs
|
|
5072
5079
|
}, v = f(() => {
|
|
5073
5080
|
const k = s.value?.action;
|
|
5074
5081
|
return k && k in M ? M[k] : void 0;
|
|
@@ -5204,7 +5211,7 @@ const ou = {
|
|
|
5204
5211
|
])
|
|
5205
5212
|
], 6));
|
|
5206
5213
|
}
|
|
5207
|
-
}),
|
|
5214
|
+
}), bs = /* @__PURE__ */ lt(Wu, [["__scopeId", "data-v-19999fa9"]]), Yu = { class: "wu-flex wu-h-full wu-pl-3 wu-gap-2 wu-z-10 wu-pointer-events-none" }, Gu = { class: "wu-h-full wu-flex wu-items-center wu-justify-center" }, Qu = ["value", "type", "disabled", "maxlength"], Zu = { class: "wu-absolute wu-right-2 wu-z-10 wu-flex wu-items-center wu-gap-1 wu-text-gray-500" }, Vu = /* @__PURE__ */ K({
|
|
5208
5215
|
__name: "app-text-input",
|
|
5209
5216
|
props: {
|
|
5210
5217
|
modelValue: { default: "" },
|
|
@@ -5251,7 +5258,7 @@ const ou = {
|
|
|
5251
5258
|
function p() {
|
|
5252
5259
|
return !(l.value || r.value);
|
|
5253
5260
|
}
|
|
5254
|
-
const { height: h, textSize: m, width: w } =
|
|
5261
|
+
const { height: h, textSize: m, width: w } = qi(i), b = f(() => i.invalid ? "wu-border-red-500 focus-within:wu-border-red-500" : i.valid ? "wu-border-green-500 focus-within:wu-border-green-500" : "wu-border-gray-200 focus-within:!wu-border-primary/40 hover:wu-border-gray-300"), x = f(() => i.invalid ? "wu-text-red-500" : i.valid ? "wu-text-green-500" : "wu-text-gray-500"), I = f(() => i.small && p() ? "wu-translate-y-[7px]" : i.small && !p() ? "wu-translate-y-0" : p() ? "wu-translate-y-[11px]" : "wu-translate-y-0"), M = f(() => a("icon") || i.loading ? "wu-pl-[34px]" : "wu-pl-3"), v = f(() => i.block ? "wu-rounded-none" : i.round ? "wu-rounded-full" : "wu-rounded-lg"), A = f(() => i.disabled || i.loading ? "wu-opacity-50 wu-pointer-events-none" : "");
|
|
5255
5262
|
function k(C) {
|
|
5256
5263
|
const _ = C.target.value;
|
|
5257
5264
|
r.value = i.maskFunction ? g(_) : _, o("update:modelValue", r.value);
|
|
@@ -5416,7 +5423,7 @@ const ou = {
|
|
|
5416
5423
|
},
|
|
5417
5424
|
emits: ["chat-service-message-action", "chat-service-action", "edge-click", "submit", "close", "back", "open"],
|
|
5418
5425
|
setup(e, { emit: t }) {
|
|
5419
|
-
const n = e, i = t, { isOpen: o, config: s, chat: a, language: r, open: l, close: u, setWorkflow: g, setConfig: p } = Ke(), { getOffset: h, getPosition: m } = Ju(), { appearanceStyle: w, themeClass: b } =
|
|
5426
|
+
const n = e, i = t, { isOpen: o, config: s, chat: a, language: r, open: l, close: u, setWorkflow: g, setConfig: p } = Ke(), { getOffset: h, getPosition: m } = Ju(), { appearanceStyle: w, themeClass: b } = ys(() => n.config.configurations.appearance), x = f(() => n.config.configurations.notifications?.enabled ?? !0), I = f(() => x.value && a.unreadMessagesCount.value > 0), M = n.config.configurations.general.defaultBehavior === "active", v = H(!M);
|
|
5420
5427
|
M ? l() : u();
|
|
5421
5428
|
const A = f(() => n.config.configurations.anchor), k = f(() => {
|
|
5422
5429
|
if (!(o.value && n.fullscreen))
|
|
@@ -5464,7 +5471,7 @@ const ou = {
|
|
|
5464
5471
|
onAfterLeave: Q
|
|
5465
5472
|
}, {
|
|
5466
5473
|
default: c(() => [
|
|
5467
|
-
B(o) ? (d(), N(
|
|
5474
|
+
B(o) ? (d(), N(bs, So({ key: 0 }, P.value, {
|
|
5468
5475
|
onClose: $,
|
|
5469
5476
|
onBack: j[0] || (j[0] = (U) => i("back")),
|
|
5470
5477
|
onSubmit: j[1] || (j[1] = (U) => i("submit", U)),
|
|
@@ -5476,7 +5483,7 @@ const ou = {
|
|
|
5476
5483
|
_: 1
|
|
5477
5484
|
}),
|
|
5478
5485
|
v.value ? (d(), T("div", qu, [
|
|
5479
|
-
y(
|
|
5486
|
+
y(es, {
|
|
5480
5487
|
small: _.value.small,
|
|
5481
5488
|
large: _.value.large,
|
|
5482
5489
|
logo: _.value.logo,
|
|
@@ -5527,7 +5534,7 @@ function Ee(e) {
|
|
|
5527
5534
|
function Ae(e) {
|
|
5528
5535
|
return e.split("-")[1];
|
|
5529
5536
|
}
|
|
5530
|
-
function
|
|
5537
|
+
function xs(e) {
|
|
5531
5538
|
return e === "x" ? "y" : "x";
|
|
5532
5539
|
}
|
|
5533
5540
|
function Bo(e) {
|
|
@@ -5538,9 +5545,9 @@ function ze(e) {
|
|
|
5538
5545
|
return oc.has(Ee(e)) ? "y" : "x";
|
|
5539
5546
|
}
|
|
5540
5547
|
function Po(e) {
|
|
5541
|
-
return
|
|
5548
|
+
return xs(ze(e));
|
|
5542
5549
|
}
|
|
5543
|
-
function
|
|
5550
|
+
function Ms(e, t, n) {
|
|
5544
5551
|
n === void 0 && (n = !1);
|
|
5545
5552
|
const i = Ae(e), o = Po(e), s = Bo(o);
|
|
5546
5553
|
let a = o === "x" ? i === (n ? "end" : "start") ? "right" : "left" : i === "start" ? "bottom" : "top";
|
|
@@ -5583,7 +5590,7 @@ function uc(e) {
|
|
|
5583
5590
|
...e
|
|
5584
5591
|
};
|
|
5585
5592
|
}
|
|
5586
|
-
function
|
|
5593
|
+
function As(e) {
|
|
5587
5594
|
return typeof e != "number" ? uc(e) : {
|
|
5588
5595
|
top: e,
|
|
5589
5596
|
right: e,
|
|
@@ -5734,7 +5741,7 @@ async function jn(e, t) {
|
|
|
5734
5741
|
elementContext: p = "floating",
|
|
5735
5742
|
altBoundary: h = !1,
|
|
5736
5743
|
padding: m = 0
|
|
5737
|
-
} = Xe(t, e), w =
|
|
5744
|
+
} = Xe(t, e), w = As(m), x = r[h ? p === "floating" ? "reference" : "floating" : p], I = bt(await s.getClippingRect({
|
|
5738
5745
|
element: (n = await (s.isElement == null ? void 0 : s.isElement(x))) == null || n ? x : x.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(r.floating)),
|
|
5739
5746
|
boundary: u,
|
|
5740
5747
|
rootBoundary: g,
|
|
@@ -5781,7 +5788,7 @@ const dc = (e) => ({
|
|
|
5781
5788
|
} = Xe(e, t) || {};
|
|
5782
5789
|
if (u == null)
|
|
5783
5790
|
return {};
|
|
5784
|
-
const p =
|
|
5791
|
+
const p = As(g), h = {
|
|
5785
5792
|
x: n,
|
|
5786
5793
|
y: i
|
|
5787
5794
|
}, m = Po(o), w = Bo(m), b = await a.getDimensions(u), x = m === "y", I = x ? "top" : "left", M = x ? "bottom" : "right", v = x ? "clientHeight" : "clientWidth", A = s.reference[w] + s.reference[m] - h[m] - s.floating[w], k = h[m] - s.reference[m], C = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(u));
|
|
@@ -5825,7 +5832,7 @@ const gc = function(e) {
|
|
|
5825
5832
|
} = Xe(e, t), b = p !== void 0 || h === pi ? pc(p || null, m, h) : h, x = await jn(t, w), I = ((n = a.autoPlacement) == null ? void 0 : n.index) || 0, M = b[I];
|
|
5826
5833
|
if (M == null)
|
|
5827
5834
|
return {};
|
|
5828
|
-
const v =
|
|
5835
|
+
const v = Ms(M, s, await (l.isRTL == null ? void 0 : l.isRTL(u.floating)));
|
|
5829
5836
|
if (r !== M)
|
|
5830
5837
|
return {
|
|
5831
5838
|
reset: {
|
|
@@ -5901,7 +5908,7 @@ const gc = function(e) {
|
|
|
5901
5908
|
const P = [r, ...k], _ = await jn(t, x), E = [];
|
|
5902
5909
|
let $ = ((i = s.flip) == null ? void 0 : i.overflows) || [];
|
|
5903
5910
|
if (g && E.push(_[I]), p) {
|
|
5904
|
-
const U =
|
|
5911
|
+
const U = Ms(o, a, A);
|
|
5905
5912
|
E.push(_[U[0]], _[U[1]]);
|
|
5906
5913
|
}
|
|
5907
5914
|
if ($ = [...$, {
|
|
@@ -6031,7 +6038,7 @@ const wc = function(e) {
|
|
|
6031
6038
|
} = Xe(e, t), u = {
|
|
6032
6039
|
x: n,
|
|
6033
6040
|
y: i
|
|
6034
|
-
}, g = await jn(t, l), p = ze(Ee(o)), h =
|
|
6041
|
+
}, g = await jn(t, l), p = ze(Ee(o)), h = xs(p);
|
|
6035
6042
|
let m = u[h], w = u[p];
|
|
6036
6043
|
if (s) {
|
|
6037
6044
|
const x = h === "y" ? "top" : "left", I = h === "y" ? "bottom" : "right", M = m + g[x], v = m - g[I];
|
|
@@ -6108,17 +6115,17 @@ function Se(e) {
|
|
|
6108
6115
|
return xe(e).getComputedStyle(e);
|
|
6109
6116
|
}
|
|
6110
6117
|
const hi = Math.min, xt = Math.max, In = Math.round;
|
|
6111
|
-
function
|
|
6118
|
+
function Is(e) {
|
|
6112
6119
|
const t = Se(e);
|
|
6113
6120
|
let n = parseFloat(t.width), i = parseFloat(t.height);
|
|
6114
6121
|
const o = e.offsetWidth, s = e.offsetHeight, a = In(n) !== o || In(i) !== s;
|
|
6115
6122
|
return a && (n = o, i = s), { width: n, height: i, fallback: a };
|
|
6116
6123
|
}
|
|
6117
6124
|
function Ge(e) {
|
|
6118
|
-
return
|
|
6125
|
+
return Ls(e) ? (e.nodeName || "").toLowerCase() : "";
|
|
6119
6126
|
}
|
|
6120
6127
|
let Ht;
|
|
6121
|
-
function
|
|
6128
|
+
function Ts() {
|
|
6122
6129
|
if (Ht) return Ht;
|
|
6123
6130
|
const e = navigator.userAgentData;
|
|
6124
6131
|
return e && Array.isArray(e.brands) ? (Ht = e.brands.map(((t) => t.brand + "/" + t.version)).join(" "), Ht) : navigator.userAgent;
|
|
@@ -6129,7 +6136,7 @@ function Ce(e) {
|
|
|
6129
6136
|
function We(e) {
|
|
6130
6137
|
return e instanceof xe(e).Element;
|
|
6131
6138
|
}
|
|
6132
|
-
function
|
|
6139
|
+
function Ls(e) {
|
|
6133
6140
|
return e instanceof xe(e).Node;
|
|
6134
6141
|
}
|
|
6135
6142
|
function wi(e) {
|
|
@@ -6143,36 +6150,36 @@ function bc(e) {
|
|
|
6143
6150
|
return ["table", "td", "th"].includes(Ge(e));
|
|
6144
6151
|
}
|
|
6145
6152
|
function xo(e) {
|
|
6146
|
-
const t = /firefox/i.test(
|
|
6153
|
+
const t = /firefox/i.test(Ts()), n = Se(e), i = n.backdropFilter || n.WebkitBackdropFilter;
|
|
6147
6154
|
return n.transform !== "none" || n.perspective !== "none" || !!i && i !== "none" || t && n.willChange === "filter" || t && !!n.filter && n.filter !== "none" || ["transform", "perspective"].some(((o) => n.willChange.includes(o))) || ["paint", "layout", "strict", "content"].some(((o) => {
|
|
6148
6155
|
const s = n.contain;
|
|
6149
6156
|
return s != null && s.includes(o);
|
|
6150
6157
|
}));
|
|
6151
6158
|
}
|
|
6152
|
-
function
|
|
6153
|
-
return !/^((?!chrome|android).)*safari/i.test(
|
|
6159
|
+
function ks() {
|
|
6160
|
+
return !/^((?!chrome|android).)*safari/i.test(Ts());
|
|
6154
6161
|
}
|
|
6155
6162
|
function Ro(e) {
|
|
6156
6163
|
return ["html", "body", "#document"].includes(Ge(e));
|
|
6157
6164
|
}
|
|
6158
|
-
function
|
|
6165
|
+
function Ss(e) {
|
|
6159
6166
|
return We(e) ? e : e.contextElement;
|
|
6160
6167
|
}
|
|
6161
|
-
const
|
|
6168
|
+
const Cs = { x: 1, y: 1 };
|
|
6162
6169
|
function st(e) {
|
|
6163
|
-
const t =
|
|
6164
|
-
if (!Ce(t)) return
|
|
6165
|
-
const n = t.getBoundingClientRect(), { width: i, height: o, fallback: s } =
|
|
6170
|
+
const t = Ss(e);
|
|
6171
|
+
if (!Ce(t)) return Cs;
|
|
6172
|
+
const n = t.getBoundingClientRect(), { width: i, height: o, fallback: s } = Is(t);
|
|
6166
6173
|
let a = (s ? In(n.width) : n.width) / i, r = (s ? In(n.height) : n.height) / o;
|
|
6167
6174
|
return a && Number.isFinite(a) || (a = 1), r && Number.isFinite(r) || (r = 1), { x: a, y: r };
|
|
6168
6175
|
}
|
|
6169
6176
|
function Et(e, t, n, i) {
|
|
6170
6177
|
var o, s;
|
|
6171
6178
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
6172
|
-
const a = e.getBoundingClientRect(), r =
|
|
6173
|
-
let l =
|
|
6179
|
+
const a = e.getBoundingClientRect(), r = Ss(e);
|
|
6180
|
+
let l = Cs;
|
|
6174
6181
|
t && (i ? We(i) && (l = st(i)) : l = st(e));
|
|
6175
|
-
const u = r ? xe(r) : window, g = !
|
|
6182
|
+
const u = r ? xe(r) : window, g = !ks() && n;
|
|
6176
6183
|
let p = (a.left + (g && ((o = u.visualViewport) == null ? void 0 : o.offsetLeft) || 0)) / l.x, h = (a.top + (g && ((s = u.visualViewport) == null ? void 0 : s.offsetTop) || 0)) / l.y, m = a.width / l.x, w = a.height / l.y;
|
|
6177
6184
|
if (r) {
|
|
6178
6185
|
const b = xe(r), x = i && We(i) ? xe(i) : i;
|
|
@@ -6185,12 +6192,12 @@ function Et(e, t, n, i) {
|
|
|
6185
6192
|
return { width: m, height: w, top: h, right: p + m, bottom: h + w, left: p, x: p, y: h };
|
|
6186
6193
|
}
|
|
6187
6194
|
function Ye(e) {
|
|
6188
|
-
return ((
|
|
6195
|
+
return ((Ls(e) ? e.ownerDocument : e.document) || window.document).documentElement;
|
|
6189
6196
|
}
|
|
6190
6197
|
function _n(e) {
|
|
6191
6198
|
return We(e) ? { scrollLeft: e.scrollLeft, scrollTop: e.scrollTop } : { scrollLeft: e.pageXOffset, scrollTop: e.pageYOffset };
|
|
6192
6199
|
}
|
|
6193
|
-
function
|
|
6200
|
+
function Es(e) {
|
|
6194
6201
|
return Et(Ye(e)).left + _n(e).scrollLeft;
|
|
6195
6202
|
}
|
|
6196
6203
|
function Dt(e) {
|
|
@@ -6198,14 +6205,14 @@ function Dt(e) {
|
|
|
6198
6205
|
const t = e.assignedSlot || e.parentNode || wi(e) && e.host || Ye(e);
|
|
6199
6206
|
return wi(t) ? t.host : t;
|
|
6200
6207
|
}
|
|
6201
|
-
function
|
|
6208
|
+
function Ds(e) {
|
|
6202
6209
|
const t = Dt(e);
|
|
6203
|
-
return Ro(t) ? t.ownerDocument.body : Ce(t) && zn(t) ? t :
|
|
6210
|
+
return Ro(t) ? t.ownerDocument.body : Ce(t) && zn(t) ? t : Ds(t);
|
|
6204
6211
|
}
|
|
6205
6212
|
function Tn(e, t) {
|
|
6206
6213
|
var n;
|
|
6207
6214
|
t === void 0 && (t = []);
|
|
6208
|
-
const i =
|
|
6215
|
+
const i = Ds(e), o = i === ((n = e.ownerDocument) == null ? void 0 : n.body), s = xe(i);
|
|
6209
6216
|
return o ? t.concat(s, s.visualViewport || [], zn(i) ? i : []) : t.concat(i, Tn(i));
|
|
6210
6217
|
}
|
|
6211
6218
|
function yi(e, t, n) {
|
|
@@ -6214,7 +6221,7 @@ function yi(e, t, n) {
|
|
|
6214
6221
|
let l = a.clientWidth, u = a.clientHeight, g = 0, p = 0;
|
|
6215
6222
|
if (r) {
|
|
6216
6223
|
l = r.width, u = r.height;
|
|
6217
|
-
const h =
|
|
6224
|
+
const h = ks();
|
|
6218
6225
|
(h || !h && o === "fixed") && (g = r.offsetLeft, p = r.offsetTop);
|
|
6219
6226
|
}
|
|
6220
6227
|
return { width: l, height: u, x: g, y: p };
|
|
@@ -6223,7 +6230,7 @@ function yi(e, t, n) {
|
|
|
6223
6230
|
return { width: i.clientWidth * l.x, height: i.clientHeight * l.y, x: r * l.x, y: a * l.y };
|
|
6224
6231
|
})(t, n)) : bt((function(i) {
|
|
6225
6232
|
const o = Ye(i), s = _n(i), a = i.ownerDocument.body, r = xt(o.scrollWidth, o.clientWidth, a.scrollWidth, a.clientWidth), l = xt(o.scrollHeight, o.clientHeight, a.scrollHeight, a.clientHeight);
|
|
6226
|
-
let u = -s.scrollLeft +
|
|
6233
|
+
let u = -s.scrollLeft + Es(i);
|
|
6227
6234
|
const g = -s.scrollTop;
|
|
6228
6235
|
return Se(a).direction === "rtl" && (u += xt(o.clientWidth, a.clientWidth) - r), { width: r, height: l, x: u, y: g };
|
|
6229
6236
|
})(Ye(e)));
|
|
@@ -6251,7 +6258,7 @@ function xc(e, t, n) {
|
|
|
6251
6258
|
if (i || !i && n !== "fixed") if ((Ge(t) !== "body" || zn(o)) && (a = _n(t)), Ce(t)) {
|
|
6252
6259
|
const l = Et(t, !0);
|
|
6253
6260
|
r.x = l.x + t.clientLeft, r.y = l.y + t.clientTop;
|
|
6254
|
-
} else o && (r.x =
|
|
6261
|
+
} else o && (r.x = Es(o));
|
|
6255
6262
|
return { x: s.left + a.scrollLeft - r.x, y: s.top + a.scrollTop - r.y, width: s.width, height: s.height };
|
|
6256
6263
|
}
|
|
6257
6264
|
const Mc = { getClippingRect: function(e) {
|
|
@@ -6284,7 +6291,7 @@ const Mc = { getClippingRect: function(e) {
|
|
|
6284
6291
|
}
|
|
6285
6292
|
return { width: t.width * r.x, height: t.height * r.y, x: t.x * r.x - a.scrollLeft * r.x + l.x, y: t.y * r.y - a.scrollTop * r.y + l.y };
|
|
6286
6293
|
}, isElement: We, getDimensions: function(e) {
|
|
6287
|
-
return Ce(e) ?
|
|
6294
|
+
return Ce(e) ? Is(e) : e.getBoundingClientRect();
|
|
6288
6295
|
}, getOffsetParent: bi, getDocumentElement: Ye, getScale: st, async getElementRects(e) {
|
|
6289
6296
|
let { reference: t, floating: n, strategy: i } = e;
|
|
6290
6297
|
const o = this.getOffsetParent || bi, s = this.getDimensions;
|
|
@@ -6293,9 +6300,9 @@ const Mc = { getClippingRect: function(e) {
|
|
|
6293
6300
|
const i = /* @__PURE__ */ new Map(), o = { platform: Mc, ...n }, s = { ...o.platform, _c: i };
|
|
6294
6301
|
return cc(e, t, { ...o, platform: s });
|
|
6295
6302
|
};
|
|
6296
|
-
function
|
|
6303
|
+
function Ns(e, t) {
|
|
6297
6304
|
for (const n in t)
|
|
6298
|
-
Object.prototype.hasOwnProperty.call(t, n) && (typeof t[n] == "object" && e[n] ?
|
|
6305
|
+
Object.prototype.hasOwnProperty.call(t, n) && (typeof t[n] == "object" && e[n] ? Ns(e[n], t[n]) : e[n] = t[n]);
|
|
6299
6306
|
}
|
|
6300
6307
|
const Ie = {
|
|
6301
6308
|
// Disable popper components
|
|
@@ -6412,9 +6419,9 @@ if (typeof window < "u") {
|
|
|
6412
6419
|
} catch {
|
|
6413
6420
|
}
|
|
6414
6421
|
}
|
|
6415
|
-
let
|
|
6416
|
-
typeof window < "u" && typeof navigator < "u" && (
|
|
6417
|
-
const
|
|
6422
|
+
let js = !1;
|
|
6423
|
+
typeof window < "u" && typeof navigator < "u" && (js = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream);
|
|
6424
|
+
const zs = ["auto", "top", "bottom", "left", "right"].reduce((e, t) => e.concat([
|
|
6418
6425
|
t,
|
|
6419
6426
|
`${t}-start`,
|
|
6420
6427
|
`${t}-end`
|
|
@@ -6455,7 +6462,7 @@ function ee(e) {
|
|
|
6455
6462
|
return Nt(t.theme, e);
|
|
6456
6463
|
};
|
|
6457
6464
|
}
|
|
6458
|
-
const eo = "__floating-vue__popper",
|
|
6465
|
+
const eo = "__floating-vue__popper", _s = () => K({
|
|
6459
6466
|
name: "VPopper",
|
|
6460
6467
|
provide() {
|
|
6461
6468
|
return {
|
|
@@ -6507,7 +6514,7 @@ const eo = "__floating-vue__popper", zs = () => K({
|
|
|
6507
6514
|
placement: {
|
|
6508
6515
|
type: String,
|
|
6509
6516
|
default: ee("placement"),
|
|
6510
|
-
validator: (e) =>
|
|
6517
|
+
validator: (e) => zs.includes(e)
|
|
6511
6518
|
},
|
|
6512
6519
|
delay: {
|
|
6513
6520
|
type: [String, Number, Object],
|
|
@@ -7023,7 +7030,7 @@ const eo = "__floating-vue__popper", zs = () => K({
|
|
|
7023
7030
|
}
|
|
7024
7031
|
});
|
|
7025
7032
|
if (typeof document < "u" && typeof window < "u") {
|
|
7026
|
-
if (
|
|
7033
|
+
if (js) {
|
|
7027
7034
|
const e = at ? {
|
|
7028
7035
|
passive: !0,
|
|
7029
7036
|
capture: !0
|
|
@@ -7035,7 +7042,7 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
7035
7042
|
}
|
|
7036
7043
|
function ki(e, t) {
|
|
7037
7044
|
if (Ie.autoHideOnMousedown)
|
|
7038
|
-
|
|
7045
|
+
$s(e, t);
|
|
7039
7046
|
else
|
|
7040
7047
|
for (let n = 0; n < Me.length; n++) {
|
|
7041
7048
|
const i = Me[n];
|
|
@@ -7046,9 +7053,9 @@ function ki(e, t) {
|
|
|
7046
7053
|
}
|
|
7047
7054
|
}
|
|
7048
7055
|
function Si(e, t) {
|
|
7049
|
-
Ie.autoHideOnMousedown ||
|
|
7056
|
+
Ie.autoHideOnMousedown || $s(e, t);
|
|
7050
7057
|
}
|
|
7051
|
-
function
|
|
7058
|
+
function $s(e, t) {
|
|
7052
7059
|
const n = {};
|
|
7053
7060
|
for (let i = Me.length - 1; i >= 0; i--) {
|
|
7054
7061
|
const o = Me[i];
|
|
@@ -7096,7 +7103,7 @@ function Ft(e, t, n, i, o, s, a, r) {
|
|
|
7096
7103
|
return l >= 0 && l <= 1 && u >= 0 && u <= 1;
|
|
7097
7104
|
}
|
|
7098
7105
|
const kc = {
|
|
7099
|
-
extends:
|
|
7106
|
+
extends: _s()
|
|
7100
7107
|
}, $n = (e, t) => {
|
|
7101
7108
|
const n = e.__vccOpts || e;
|
|
7102
7109
|
for (const [i, o] of t)
|
|
@@ -7110,7 +7117,7 @@ function Sc(e, t, n, i, o, s) {
|
|
|
7110
7117
|
"v-popper--shown": e.slotData.isShown
|
|
7111
7118
|
}])
|
|
7112
7119
|
}, [
|
|
7113
|
-
le(e.$slots, "default",
|
|
7120
|
+
le(e.$slots, "default", xa(Ma(e.slotData)))
|
|
7114
7121
|
], 2);
|
|
7115
7122
|
}
|
|
7116
7123
|
const Cc = /* @__PURE__ */ $n(kc, [["render", Sc]]);
|
|
@@ -7177,18 +7184,18 @@ var On = {
|
|
|
7177
7184
|
}
|
|
7178
7185
|
}
|
|
7179
7186
|
};
|
|
7180
|
-
const Dc = /* @__PURE__ */
|
|
7181
|
-
|
|
7187
|
+
const Dc = /* @__PURE__ */ Ta("data-v-b329ee4c");
|
|
7188
|
+
va("data-v-b329ee4c");
|
|
7182
7189
|
const Nc = {
|
|
7183
7190
|
class: "resize-observer",
|
|
7184
7191
|
tabindex: "-1"
|
|
7185
7192
|
};
|
|
7186
|
-
|
|
7193
|
+
ba();
|
|
7187
7194
|
const jc = /* @__PURE__ */ Dc((e, t, n, i, o, s) => (d(), N("div", Nc)));
|
|
7188
7195
|
On.render = jc;
|
|
7189
7196
|
On.__scopeId = "data-v-b329ee4c";
|
|
7190
7197
|
On.__file = "src/components/ResizeObserver.vue";
|
|
7191
|
-
const
|
|
7198
|
+
const Os = (e = "theme") => ({
|
|
7192
7199
|
computed: {
|
|
7193
7200
|
themeClass() {
|
|
7194
7201
|
return Ic(this[e]);
|
|
@@ -7200,7 +7207,7 @@ const $s = (e = "theme") => ({
|
|
|
7200
7207
|
ResizeObserver: On
|
|
7201
7208
|
},
|
|
7202
7209
|
mixins: [
|
|
7203
|
-
|
|
7210
|
+
Os()
|
|
7204
7211
|
],
|
|
7205
7212
|
props: {
|
|
7206
7213
|
popperId: String,
|
|
@@ -7290,7 +7297,7 @@ function Rc(e, t, n, i, o, s) {
|
|
|
7290
7297
|
], 4)
|
|
7291
7298
|
], 46, _c);
|
|
7292
7299
|
}
|
|
7293
|
-
const
|
|
7300
|
+
const Bs = /* @__PURE__ */ $n(zc, [["render", Rc]]), Ps = {
|
|
7294
7301
|
methods: {
|
|
7295
7302
|
show(...e) {
|
|
7296
7303
|
return this.$refs.popper.show(...e);
|
|
@@ -7313,11 +7320,11 @@ const Hc = K({
|
|
|
7313
7320
|
name: "VPopperWrapper",
|
|
7314
7321
|
components: {
|
|
7315
7322
|
Popper: Cc,
|
|
7316
|
-
PopperContent:
|
|
7323
|
+
PopperContent: Bs
|
|
7317
7324
|
},
|
|
7318
7325
|
mixins: [
|
|
7319
|
-
|
|
7320
|
-
|
|
7326
|
+
Ps,
|
|
7327
|
+
Os("finalTheme")
|
|
7321
7328
|
],
|
|
7322
7329
|
props: {
|
|
7323
7330
|
theme: {
|
|
@@ -7583,11 +7590,11 @@ const Ho = /* @__PURE__ */ $n(Hc, [["render", Fc]]), Uc = {
|
|
|
7583
7590
|
}, Gc = K({
|
|
7584
7591
|
name: "VTooltipDirective",
|
|
7585
7592
|
components: {
|
|
7586
|
-
Popper:
|
|
7587
|
-
PopperContent:
|
|
7593
|
+
Popper: _s(),
|
|
7594
|
+
PopperContent: Bs
|
|
7588
7595
|
},
|
|
7589
7596
|
mixins: [
|
|
7590
|
-
|
|
7597
|
+
Ps
|
|
7591
7598
|
],
|
|
7592
7599
|
inheritAttrs: !1,
|
|
7593
7600
|
props: {
|
|
@@ -7714,15 +7721,15 @@ function Vc(e, t, n, i, o, s) {
|
|
|
7714
7721
|
_: 1
|
|
7715
7722
|
}, 16, ["theme", "target-nodes", "popper-node", "onApplyShow", "onApplyHide"]);
|
|
7716
7723
|
}
|
|
7717
|
-
const Jc = /* @__PURE__ */ $n(Gc, [["render", Vc]]),
|
|
7724
|
+
const Jc = /* @__PURE__ */ $n(Gc, [["render", Vc]]), Rs = "v-popper--has-tooltip";
|
|
7718
7725
|
function qc(e, t) {
|
|
7719
7726
|
let n = e.placement;
|
|
7720
7727
|
if (!n && t)
|
|
7721
|
-
for (const i of
|
|
7728
|
+
for (const i of zs)
|
|
7722
7729
|
t[i] && (n = i);
|
|
7723
7730
|
return n || (n = Nt(e.theme || "tooltip", "placement")), n;
|
|
7724
7731
|
}
|
|
7725
|
-
function
|
|
7732
|
+
function Hs(e, t, n) {
|
|
7726
7733
|
let i;
|
|
7727
7734
|
const o = typeof t;
|
|
7728
7735
|
return o === "string" ? i = { content: t } : t && o === "object" ? i = t : i = { content: !1 }, i.placement = qc(i, n), i.targetNodes = () => [e], i.referenceNode = () => e, i;
|
|
@@ -7731,7 +7738,7 @@ let to, jt, Kc = 0;
|
|
|
7731
7738
|
function Xc() {
|
|
7732
7739
|
if (to)
|
|
7733
7740
|
return;
|
|
7734
|
-
jt = H([]), to =
|
|
7741
|
+
jt = H([]), to = Aa({
|
|
7735
7742
|
name: "VTooltipDirectiveApp",
|
|
7736
7743
|
setup() {
|
|
7737
7744
|
return {
|
|
@@ -7739,7 +7746,7 @@ function Xc() {
|
|
|
7739
7746
|
};
|
|
7740
7747
|
},
|
|
7741
7748
|
render() {
|
|
7742
|
-
return this.directives.map((t) =>
|
|
7749
|
+
return this.directives.map((t) => Ia(Jc, {
|
|
7743
7750
|
...t.options,
|
|
7744
7751
|
shown: t.shown || t.options.shown,
|
|
7745
7752
|
key: t.id
|
|
@@ -7754,12 +7761,12 @@ function Xc() {
|
|
|
7754
7761
|
}
|
|
7755
7762
|
function ed(e, t, n) {
|
|
7756
7763
|
Xc();
|
|
7757
|
-
const i = H(
|
|
7764
|
+
const i = H(Hs(e, t, n)), o = H(!1), s = {
|
|
7758
7765
|
id: Kc++,
|
|
7759
7766
|
options: i,
|
|
7760
7767
|
shown: o
|
|
7761
7768
|
};
|
|
7762
|
-
return jt.value.push(s), e.classList && e.classList.add(
|
|
7769
|
+
return jt.value.push(s), e.classList && e.classList.add(Rs), e.$_popper = {
|
|
7763
7770
|
options: i,
|
|
7764
7771
|
item: s,
|
|
7765
7772
|
show() {
|
|
@@ -7770,17 +7777,17 @@ function ed(e, t, n) {
|
|
|
7770
7777
|
}
|
|
7771
7778
|
};
|
|
7772
7779
|
}
|
|
7773
|
-
function
|
|
7780
|
+
function Fs(e) {
|
|
7774
7781
|
if (e.$_popper) {
|
|
7775
7782
|
const t = jt.value.indexOf(e.$_popper.item);
|
|
7776
7783
|
t !== -1 && jt.value.splice(t, 1), delete e.$_popper, delete e.$_popperOldShown, delete e.$_popperMountTarget;
|
|
7777
7784
|
}
|
|
7778
|
-
e.classList && e.classList.remove(
|
|
7785
|
+
e.classList && e.classList.remove(Rs);
|
|
7779
7786
|
}
|
|
7780
7787
|
function Ei(e, { value: t, modifiers: n }) {
|
|
7781
|
-
const i =
|
|
7788
|
+
const i = Hs(e, t, n);
|
|
7782
7789
|
if (!i.content || Nt(i.theme || "tooltip", "disabled"))
|
|
7783
|
-
|
|
7790
|
+
Fs(e);
|
|
7784
7791
|
else {
|
|
7785
7792
|
let o;
|
|
7786
7793
|
e.$_popper ? (o = e.$_popper, o.options.value = i) : o = ed(e, t, n), typeof t.shown < "u" && t.shown !== e.$_popperOldShown && (e.$_popperOldShown = t.shown, t.shown ? o.show() : o.hide());
|
|
@@ -7790,37 +7797,37 @@ const td = {
|
|
|
7790
7797
|
beforeMount: Ei,
|
|
7791
7798
|
updated: Ei,
|
|
7792
7799
|
beforeUnmount(e) {
|
|
7793
|
-
|
|
7800
|
+
Fs(e);
|
|
7794
7801
|
}
|
|
7795
7802
|
};
|
|
7796
7803
|
function Di(e) {
|
|
7797
|
-
e.addEventListener("mousedown", Ln), e.addEventListener("click", Ln), e.addEventListener("touchstart",
|
|
7804
|
+
e.addEventListener("mousedown", Ln), e.addEventListener("click", Ln), e.addEventListener("touchstart", Us, at ? {
|
|
7798
7805
|
passive: !0
|
|
7799
7806
|
} : !1);
|
|
7800
7807
|
}
|
|
7801
7808
|
function Ni(e) {
|
|
7802
|
-
e.removeEventListener("mousedown", Ln), e.removeEventListener("click", Ln), e.removeEventListener("touchstart",
|
|
7809
|
+
e.removeEventListener("mousedown", Ln), e.removeEventListener("click", Ln), e.removeEventListener("touchstart", Us), e.removeEventListener("touchend", Ws), e.removeEventListener("touchcancel", Ys);
|
|
7803
7810
|
}
|
|
7804
7811
|
function Ln(e) {
|
|
7805
7812
|
const t = e.currentTarget;
|
|
7806
7813
|
e.closePopover = !t.$_vclosepopover_touch, e.closeAllPopover = t.$_closePopoverModifiers && !!t.$_closePopoverModifiers.all;
|
|
7807
7814
|
}
|
|
7808
|
-
function
|
|
7815
|
+
function Us(e) {
|
|
7809
7816
|
if (e.changedTouches.length === 1) {
|
|
7810
7817
|
const t = e.currentTarget;
|
|
7811
7818
|
t.$_vclosepopover_touch = !0;
|
|
7812
7819
|
const n = e.changedTouches[0];
|
|
7813
|
-
t.$_vclosepopover_touchPoint = n, t.addEventListener("touchend",
|
|
7820
|
+
t.$_vclosepopover_touchPoint = n, t.addEventListener("touchend", Ws), t.addEventListener("touchcancel", Ys);
|
|
7814
7821
|
}
|
|
7815
7822
|
}
|
|
7816
|
-
function
|
|
7823
|
+
function Ws(e) {
|
|
7817
7824
|
const t = e.currentTarget;
|
|
7818
7825
|
if (t.$_vclosepopover_touch = !1, e.changedTouches.length === 1) {
|
|
7819
7826
|
const n = e.changedTouches[0], i = t.$_vclosepopover_touchPoint;
|
|
7820
7827
|
e.closePopover = Math.abs(n.screenY - i.screenY) < 20 && Math.abs(n.screenX - i.screenX) < 20, e.closeAllPopover = t.$_closePopoverModifiers && !!t.$_closePopoverModifiers.all;
|
|
7821
7828
|
}
|
|
7822
7829
|
}
|
|
7823
|
-
function
|
|
7830
|
+
function Ys(e) {
|
|
7824
7831
|
const t = e.currentTarget;
|
|
7825
7832
|
t.$_vclosepopover_touch = !1;
|
|
7826
7833
|
}
|
|
@@ -7836,7 +7843,7 @@ const nd = {
|
|
|
7836
7843
|
}
|
|
7837
7844
|
};
|
|
7838
7845
|
function od(e, t = {}) {
|
|
7839
|
-
e.$_vTooltipInstalled || (e.$_vTooltipInstalled = !0,
|
|
7846
|
+
e.$_vTooltipInstalled || (e.$_vTooltipInstalled = !0, Ns(Ie, t), e.directive("tooltip", td), e.directive("close-popper", nd), e.component("VTooltip", Yc), e.component("VDropdown", Uc), e.component("VMenu", Wc));
|
|
7840
7847
|
}
|
|
7841
7848
|
const id = {
|
|
7842
7849
|
// eslint-disable-next-line no-undef
|
|
@@ -8565,31 +8572,31 @@ const id = {
|
|
|
8565
8572
|
}
|
|
8566
8573
|
}, hd = {
|
|
8567
8574
|
install: (e) => {
|
|
8568
|
-
e.use(id), e.component("AppIdentificationPage",
|
|
8575
|
+
e.use(id), e.component("AppIdentificationPage", Xi), e.component("AppFormTextInput", Ki), e.component("AppWidgetAnchor", es), e.component("AppArticlePage", ts), e.component("AppServicePage", ws), e.component("AppScreenPage", vs), e.component("AppWidgetView", bs), e.component("AppTextInput", Vu), e.component("AppCarousel", Eo), e.component("AppAudioPlayer", Dn), e.component("AppSkeleton", fs), e.component("AppTyping", ms), e.component("AppMessage", Yt), e.component("AppWidget", Xu), e.component("AppButton", te), e.component("AppEmpty", hs), e.component("AppGroup", q), e.component("AppEdge", Lt), e.component("AppIcon", F), e.component("AppText", Y);
|
|
8569
8576
|
}
|
|
8570
8577
|
};
|
|
8571
8578
|
export {
|
|
8572
|
-
|
|
8579
|
+
ts as AppArticlePage,
|
|
8573
8580
|
Dn as AppAudioPlayer,
|
|
8574
8581
|
te as AppButton,
|
|
8575
8582
|
Eo as AppCarousel,
|
|
8576
8583
|
Lt as AppEdge,
|
|
8577
|
-
|
|
8578
|
-
|
|
8584
|
+
hs as AppEmpty,
|
|
8585
|
+
Ki as AppFormTextInput,
|
|
8579
8586
|
q as AppGroup,
|
|
8580
8587
|
F as AppIcon,
|
|
8581
|
-
|
|
8588
|
+
Xi as AppIdentificationPage,
|
|
8582
8589
|
Yt as AppMessage,
|
|
8583
|
-
|
|
8584
|
-
|
|
8585
|
-
|
|
8590
|
+
vs as AppScreenPage,
|
|
8591
|
+
ws as AppServicePage,
|
|
8592
|
+
fs as AppSkeleton,
|
|
8586
8593
|
Y as AppText,
|
|
8587
8594
|
Vu as AppTextInput,
|
|
8588
|
-
|
|
8595
|
+
ms as AppTyping,
|
|
8589
8596
|
Xu as AppWidget,
|
|
8590
|
-
|
|
8591
|
-
|
|
8592
|
-
|
|
8597
|
+
es as AppWidgetAnchor,
|
|
8598
|
+
bs as AppWidgetView,
|
|
8599
|
+
Vi as ServiceChatMessageBuilder,
|
|
8593
8600
|
Tt as ServiceChatMessageVO,
|
|
8594
8601
|
hd as default,
|
|
8595
8602
|
pd as demoArticleRule,
|