@bcc-code/vue-bcc-chat-ui 7.4.2 → 7.4.3
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/vue-bcc-chat-ui.js +892 -887
- package/dist/vue-bcc-chat-ui.js.map +1 -1
- package/package.json +1 -1
package/dist/vue-bcc-chat-ui.js
CHANGED
|
@@ -3,16 +3,16 @@ import { t as n } from "./definitions-D2uFt784.js";
|
|
|
3
3
|
import { Fragment as r, Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createSlots as u, createTextVNode as d, createVNode as f, defineComponent as p, guardReactiveProps as m, inject as h, isRef as g, mergeModels as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as S, onMounted as C, onUnmounted as w, openBlock as T, provide as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as A, shallowRef as j, toDisplayString as M, toValue as N, unref as P, useModel as F, useTemplateRef as ee, vModelText as I, vShow as L, watch as R, withCtx as z, withDirectives as te, withKeys as ne, withModifiers as B } from "vue";
|
|
4
4
|
import { BccAvatar as re, BccButton as V, BccComponentLibrary as H, BccDialog as U, BccImage as ie, BccInput as ae, BccInputText as W, BccMenu as oe, BccMessage as G, BccProgressSpinner as se, BccTag as ce, useToast as le } from "@bcc-code/component-library-vue";
|
|
5
5
|
import { CometChat as K } from "@cometchat/chat-sdk-javascript";
|
|
6
|
-
import { AddIcon as ue, AddReactionIcon as de, ArrowBackIcon as fe, AttachFileIcon as pe, BarChartIcon as me, CalendarAddOnIcon as he, CheckIcon as ge, CloseIcon as _e, CodeBlocksIcon as ve, ContentCopyIcon as ye, DeleteIcon as be, DescriptionIcon as xe, DoneAllIcon as Se, DownloadIcon as Ce, EditCalendarIcon as we, EditIcon as Te, ErrorIcon as
|
|
6
|
+
import { AddIcon as ue, AddReactionIcon as de, ArrowBackIcon as fe, AttachFileIcon as pe, BarChartIcon as me, CalendarAddOnIcon as he, CheckIcon as ge, CloseIcon as _e, CodeBlocksIcon as ve, ContentCopyIcon as ye, DeleteIcon as be, DescriptionIcon as xe, DoneAllIcon as Se, DownloadIcon as Ce, EditCalendarIcon as we, EditIcon as Te, ErrorIcon as Ee, FilePresentIcon as q, FolderZipIcon as De, ForumIcon as Oe, ForwardIcon as ke, ImageIcon as Ae, KeepFillIcon as je, KeepIcon as Me, KeepOffIcon as Ne, KeyboardArrowDownIcon as Pe, KeyboardArrowUpIcon as Fe, LinkIcon as Ie, ListIcon as Le, MicIcon as Re, OpenInNewIcon as ze, PauseFillIcon as Be, PendingIcon as Ve, PictureAsPdfIcon as He, PlayArrowFillIcon as Ue, ReadMoreIcon as We, ReplyIcon as Ge, ScheduleIcon as Ke, SendIcon as qe, TableChartIcon as Je, TextSnippetIcon as Ye, TranslateIcon as J, VideocamIcon as Xe, WhereToVoteIcon as Ze } from "@bcc-code/icons-vue";
|
|
7
7
|
//#region \0rolldown/runtime.js
|
|
8
|
-
var
|
|
8
|
+
var Qe = Object.defineProperty, $e = (e, t) => {
|
|
9
9
|
let n = {};
|
|
10
|
-
for (var r in e)
|
|
10
|
+
for (var r in e) Qe(n, r, {
|
|
11
11
|
get: e[r],
|
|
12
12
|
enumerable: !0
|
|
13
13
|
});
|
|
14
|
-
return t ||
|
|
15
|
-
},
|
|
14
|
+
return t || Qe(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
15
|
+
}, et = {
|
|
16
16
|
prod: {
|
|
17
17
|
region: "eu",
|
|
18
18
|
appId: "2520339d45a9d557",
|
|
@@ -23,62 +23,62 @@ var $e = Object.defineProperty, et = (e, t) => {
|
|
|
23
23
|
appId: "24847302853e129f",
|
|
24
24
|
chatApiBaseUrl: "https://chat.api.sandbox.bcc.no"
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
function
|
|
28
|
-
|
|
26
|
+
}, tt = null;
|
|
27
|
+
function nt(e) {
|
|
28
|
+
tt = e;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
if (!
|
|
32
|
-
return tt
|
|
30
|
+
function rt() {
|
|
31
|
+
if (!tt) throw Error("Environment has not been set yet. Call setCurrentEnvironment(...) first.");
|
|
32
|
+
return et[tt];
|
|
33
33
|
}
|
|
34
34
|
//#endregion
|
|
35
35
|
//#region src/chat/accessToken.ts
|
|
36
|
-
var
|
|
37
|
-
function
|
|
38
|
-
return `${
|
|
36
|
+
var it = ":loginAccessToken", at = ":token", ot = void 0;
|
|
37
|
+
function st(e) {
|
|
38
|
+
return `${rt().appId}${e}`;
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
return
|
|
40
|
+
function ct() {
|
|
41
|
+
return ot === void 0 && (ot = localStorage.getItem(st(it))), ot;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
|
|
45
|
-
let t =
|
|
43
|
+
function lt(e) {
|
|
44
|
+
ot = e;
|
|
45
|
+
let t = st(it);
|
|
46
46
|
if (e) {
|
|
47
47
|
localStorage.setItem(t, e);
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
50
50
|
localStorage.removeItem(t);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
let e =
|
|
52
|
+
function ut() {
|
|
53
|
+
let e = st(at), t = localStorage.getItem(e);
|
|
54
54
|
return t ? JSON.parse(t) : null;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
return
|
|
56
|
+
function dt() {
|
|
57
|
+
return ut();
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
localStorage.setItem(
|
|
59
|
+
function ft(e) {
|
|
60
|
+
localStorage.setItem(st(at), JSON.stringify(e));
|
|
61
61
|
}
|
|
62
|
-
function
|
|
63
|
-
localStorage.removeItem(
|
|
62
|
+
function pt() {
|
|
63
|
+
localStorage.removeItem(st(at));
|
|
64
64
|
}
|
|
65
65
|
//#endregion
|
|
66
66
|
//#region src/chat/avatar.ts
|
|
67
|
-
function
|
|
68
|
-
let t =
|
|
67
|
+
function mt(e) {
|
|
68
|
+
let t = gt(e);
|
|
69
69
|
if (!t) return;
|
|
70
70
|
let n = t.trim();
|
|
71
71
|
if (n) {
|
|
72
72
|
try {
|
|
73
|
-
if (
|
|
73
|
+
if (_t(new URL(n))) return `${rt().chatApiBaseUrl}/file-proxy?uri=${encodeURIComponent(n)}`;
|
|
74
74
|
} catch {}
|
|
75
75
|
return n;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
function
|
|
79
|
-
return
|
|
78
|
+
function ht(e) {
|
|
79
|
+
return mt(e) ?? e;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function gt(e) {
|
|
82
82
|
if (typeof e == "string") return e;
|
|
83
83
|
if (!e || typeof e != "object") return;
|
|
84
84
|
let t = e, n = [
|
|
@@ -96,15 +96,15 @@ function _t(e) {
|
|
|
96
96
|
t.avatar,
|
|
97
97
|
t.image
|
|
98
98
|
].find((e) => e && typeof e == "object");
|
|
99
|
-
if (r) return
|
|
99
|
+
if (r) return gt(r);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
102
|
-
let { appId: t, region: n } =
|
|
101
|
+
function _t(e) {
|
|
102
|
+
let { appId: t, region: n } = rt(), r = `data-${n}.cometchat.io`, i = `/${t}/`;
|
|
103
103
|
return e.hostname.toLowerCase() === r.toLowerCase() && e.pathname.startsWith(i);
|
|
104
104
|
}
|
|
105
105
|
//#endregion
|
|
106
106
|
//#region src/chat/localization.ts
|
|
107
|
-
var
|
|
107
|
+
var vt = {
|
|
108
108
|
en: {
|
|
109
109
|
addOption: "Add option",
|
|
110
110
|
addScheduleTime: "Add another time",
|
|
@@ -427,68 +427,68 @@ var yt = {
|
|
|
427
427
|
you: "Du",
|
|
428
428
|
youSentAMessage: "Du sendte en melding"
|
|
429
429
|
}
|
|
430
|
-
},
|
|
431
|
-
function
|
|
430
|
+
}, yt = D("en");
|
|
431
|
+
function bt(e) {
|
|
432
432
|
return e === "nb" || e === "no" ? "nb" : "en";
|
|
433
433
|
}
|
|
434
|
-
function
|
|
435
|
-
return
|
|
434
|
+
function xt(e) {
|
|
435
|
+
return bt(e) === "nb" ? "nb-NO" : "en-US";
|
|
436
436
|
}
|
|
437
|
-
function
|
|
437
|
+
function St() {
|
|
438
438
|
return "h23";
|
|
439
439
|
}
|
|
440
|
-
var
|
|
441
|
-
function
|
|
442
|
-
let n = `${e}|${JSON.stringify(t)}`, r =
|
|
443
|
-
return r || (r = new Intl.DateTimeFormat(e, t),
|
|
440
|
+
var Ct = /* @__PURE__ */ new Map();
|
|
441
|
+
function wt(e, t) {
|
|
442
|
+
let n = `${e}|${JSON.stringify(t)}`, r = Ct.get(n);
|
|
443
|
+
return r || (r = new Intl.DateTimeFormat(e, t), Ct.set(n, r)), r;
|
|
444
444
|
}
|
|
445
|
-
function
|
|
446
|
-
|
|
445
|
+
function Tt(e) {
|
|
446
|
+
yt.value = e;
|
|
447
447
|
}
|
|
448
|
-
function
|
|
449
|
-
let r =
|
|
448
|
+
function Et(e, t, n) {
|
|
449
|
+
let r = vt[bt(n ?? yt.value)][e] ?? vt.en[e];
|
|
450
450
|
return typeof r == "function" ? r(t ?? {}) : r;
|
|
451
451
|
}
|
|
452
|
-
function
|
|
453
|
-
let t = a(() => N(e) ??
|
|
452
|
+
function Y(e) {
|
|
453
|
+
let t = a(() => N(e) ?? yt.value);
|
|
454
454
|
return {
|
|
455
|
-
locale: a(() =>
|
|
456
|
-
t: (e, n) =>
|
|
455
|
+
locale: a(() => xt(t.value)),
|
|
456
|
+
t: (e, n) => Et(e, n, t.value)
|
|
457
457
|
};
|
|
458
458
|
}
|
|
459
|
-
var
|
|
459
|
+
var Dt = ["action"];
|
|
460
|
+
function Ot(e) {
|
|
461
|
+
return !!e && !e.isDeleted && e.deliveryState === "sent" && !Dt.includes(e.kind);
|
|
462
|
+
}
|
|
460
463
|
function kt(e) {
|
|
461
|
-
return !!e
|
|
464
|
+
return !!e?.pinnedAt;
|
|
462
465
|
}
|
|
463
466
|
function At(e) {
|
|
464
|
-
return
|
|
467
|
+
return kt(e) && e?.pinnedBy === "app_system";
|
|
465
468
|
}
|
|
466
469
|
function jt(e) {
|
|
467
|
-
return At(e) && e?.pinnedBy === "app_system";
|
|
468
|
-
}
|
|
469
|
-
function Mt(e) {
|
|
470
470
|
return [...e].sort((e, t) => {
|
|
471
471
|
let n = (t.pinnedAt?.getTime() ?? 0) - (e.pinnedAt?.getTime() ?? 0);
|
|
472
472
|
return n === 0 ? t.sentAt.getTime() - e.sentAt.getTime() : n;
|
|
473
473
|
});
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function Mt(e, t) {
|
|
476
476
|
let n = e.filter((e) => e.id !== t.id);
|
|
477
|
-
return
|
|
477
|
+
return kt(t) ? jt([t, ...n]) : jt(n);
|
|
478
478
|
}
|
|
479
|
-
function
|
|
479
|
+
function Nt(e, t) {
|
|
480
480
|
return e.filter((e) => e.id !== t);
|
|
481
481
|
}
|
|
482
|
-
function
|
|
482
|
+
function Pt(e, t) {
|
|
483
483
|
return e.some((e) => e.id === t);
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function Ft(e, t) {
|
|
486
486
|
return typeof t != "number" || t <= 0 ? !1 : e.length >= t;
|
|
487
487
|
}
|
|
488
488
|
//#endregion
|
|
489
489
|
//#region src/chat/timeout.ts
|
|
490
|
-
var
|
|
491
|
-
function
|
|
490
|
+
var It = 2e4, Lt = 3e4;
|
|
491
|
+
function X(e, t) {
|
|
492
492
|
return new Promise((n, r) => {
|
|
493
493
|
let i = setTimeout(() => r(/* @__PURE__ */ Error(`Timed out after ${t}ms`)), t);
|
|
494
494
|
Promise.resolve(e).then((e) => {
|
|
@@ -500,8 +500,8 @@ function Y(e, t) {
|
|
|
500
500
|
}
|
|
501
501
|
//#endregion
|
|
502
502
|
//#region src/composables/usePinnedMessages.ts
|
|
503
|
-
var
|
|
504
|
-
function
|
|
503
|
+
var Rt = 100;
|
|
504
|
+
function zt({ activeConversation: e, activeConversationId: t, conversations: n, currentUser: r, offlineMode: i, error: a, getOfflineStore: o, normalizeAndTrackMessage: s, findMessageInState: c, replaceMessageInState: l, persistCurrentCollections: u, getErrorMessage: d }) {
|
|
505
505
|
let f = D([]), p = D(!1), m = D(!1), h = D(null);
|
|
506
506
|
function g(e) {
|
|
507
507
|
let t = o();
|
|
@@ -509,10 +509,10 @@ function Bt({ activeConversation: e, activeConversationId: t, conversations: n,
|
|
|
509
509
|
f.value = [];
|
|
510
510
|
return;
|
|
511
511
|
}
|
|
512
|
-
f.value =
|
|
512
|
+
f.value = jt(t.getPinnedMessages(e));
|
|
513
513
|
}
|
|
514
514
|
function _(e) {
|
|
515
|
-
return
|
|
515
|
+
return Pt(f.value, e);
|
|
516
516
|
}
|
|
517
517
|
function v(e) {
|
|
518
518
|
o()?.setPinnedMessages(e, f.value);
|
|
@@ -541,9 +541,9 @@ function Bt({ activeConversation: e, activeConversationId: t, conversations: n,
|
|
|
541
541
|
if (f.value.length === 0 && g(n.id), !i.value && m.value) {
|
|
542
542
|
p.value = !0;
|
|
543
543
|
try {
|
|
544
|
-
let e = (await
|
|
544
|
+
let e = (await X(E(n).fetchPrevious(), It)).map((e) => s(e, r.value?.uid)).filter((e) => kt(e) && !e.isDeleted);
|
|
545
545
|
if (t.value && t.value !== n.id) return;
|
|
546
|
-
f.value =
|
|
546
|
+
f.value = jt(e), v(n.id);
|
|
547
547
|
} catch (e) {
|
|
548
548
|
console.warn("Unable to load pinned messages.", e);
|
|
549
549
|
} finally {
|
|
@@ -552,7 +552,7 @@ function Bt({ activeConversation: e, activeConversationId: t, conversations: n,
|
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
async function S(e) {
|
|
555
|
-
if (a.value = null,
|
|
555
|
+
if (a.value = null, Ot(e)) try {
|
|
556
556
|
T(s(await K.pinMessage(e.id), r.value?.uid));
|
|
557
557
|
} catch (e) {
|
|
558
558
|
throw a.value = A(e, "Unable to pin the message."), e;
|
|
@@ -567,7 +567,7 @@ function Bt({ activeConversation: e, activeConversationId: t, conversations: n,
|
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
569
|
async function w(e) {
|
|
570
|
-
if (_(e.id) ||
|
|
570
|
+
if (_(e.id) || kt(e)) {
|
|
571
571
|
await C(e.id);
|
|
572
572
|
return;
|
|
573
573
|
}
|
|
@@ -575,7 +575,7 @@ function Bt({ activeConversation: e, activeConversationId: t, conversations: n,
|
|
|
575
575
|
}
|
|
576
576
|
function T(e) {
|
|
577
577
|
if (e.conversationId && t.value && e.conversationId !== t.value) return;
|
|
578
|
-
f.value =
|
|
578
|
+
f.value = Mt(f.value, e);
|
|
579
579
|
let n = e.conversationId || t.value;
|
|
580
580
|
n && v(n);
|
|
581
581
|
let r = c(e.id, e.parentMessageId);
|
|
@@ -586,12 +586,12 @@ function Bt({ activeConversation: e, activeConversationId: t, conversations: n,
|
|
|
586
586
|
}), u());
|
|
587
587
|
}
|
|
588
588
|
function E(e) {
|
|
589
|
-
let t = new K.MessagesRequestBuilder().setLimit(
|
|
589
|
+
let t = new K.MessagesRequestBuilder().setLimit(Rt).setPinned(!0);
|
|
590
590
|
return e.type === "group" ? t.setGUID(e.targetId) : t.setUID(e.targetId), t.build();
|
|
591
591
|
}
|
|
592
592
|
function O(e) {
|
|
593
593
|
if (_(e.id)) {
|
|
594
|
-
f.value =
|
|
594
|
+
f.value = Nt(f.value, e.id);
|
|
595
595
|
let n = e.conversationId || t.value;
|
|
596
596
|
n && v(n);
|
|
597
597
|
}
|
|
@@ -601,7 +601,7 @@ function Bt({ activeConversation: e, activeConversationId: t, conversations: n,
|
|
|
601
601
|
}
|
|
602
602
|
function A(e, t) {
|
|
603
603
|
let n = e && typeof e == "object" ? e.code : void 0;
|
|
604
|
-
return n === K.PIN_SAVE_ERROR_CODES.ACTION_NOT_ALLOWED ?
|
|
604
|
+
return n === K.PIN_SAVE_ERROR_CODES.ACTION_NOT_ALLOWED ? Et("pinNotAllowed") : typeof n == "string" && n.includes("LIMIT") ? Et("pinLimitReached") : d(e, t);
|
|
605
605
|
}
|
|
606
606
|
return {
|
|
607
607
|
pinnedMessages: f,
|
|
@@ -622,103 +622,103 @@ function Bt({ activeConversation: e, activeConversationId: t, conversations: n,
|
|
|
622
622
|
}
|
|
623
623
|
//#endregion
|
|
624
624
|
//#region src/chat/cacheScope.ts
|
|
625
|
-
var
|
|
626
|
-
function
|
|
627
|
-
return `${
|
|
625
|
+
var Bt = ":chatCacheScope", Vt = ":chatCacheOwner", Ht, Ut;
|
|
626
|
+
function Wt(e) {
|
|
627
|
+
return `${rt().appId}${e}`;
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function Gt() {
|
|
630
630
|
return typeof crypto < "u" && typeof crypto.randomUUID == "function" ? crypto.randomUUID() : `${Date.now()}-${Math.random().toString(36).slice(2)}`;
|
|
631
631
|
}
|
|
632
|
-
function
|
|
633
|
-
return
|
|
632
|
+
function Kt() {
|
|
633
|
+
return Ht === void 0 && (Ht = localStorage.getItem(Wt(Bt))), Ht;
|
|
634
634
|
}
|
|
635
|
-
function
|
|
636
|
-
return
|
|
635
|
+
function qt() {
|
|
636
|
+
return Ut === void 0 && (Ut = localStorage.getItem(Wt(Vt))), Ut;
|
|
637
637
|
}
|
|
638
|
-
function
|
|
639
|
-
let t =
|
|
638
|
+
function Jt(e) {
|
|
639
|
+
let t = Kt(), n = qt();
|
|
640
640
|
if (t && n === e) return t;
|
|
641
|
-
let r =
|
|
642
|
-
return
|
|
641
|
+
let r = Gt();
|
|
642
|
+
return Ht = r, Ut = e, localStorage.setItem(Wt(Bt), r), localStorage.setItem(Wt(Vt), e), r;
|
|
643
643
|
}
|
|
644
644
|
//#endregion
|
|
645
645
|
//#region src/chat/dates.ts
|
|
646
|
-
var
|
|
647
|
-
function
|
|
648
|
-
if (e && Number.isFinite(e)) return new Date(e >=
|
|
646
|
+
var Yt = 1e11;
|
|
647
|
+
function Xt(e) {
|
|
648
|
+
if (e && Number.isFinite(e)) return new Date(e >= Yt ? e : e * 1e3);
|
|
649
649
|
}
|
|
650
650
|
//#endregion
|
|
651
651
|
//#region src/chat/mentions.ts
|
|
652
|
-
var
|
|
653
|
-
function
|
|
652
|
+
var Zt = /<@uid:([^>]+)>/g, Qt = /<@uid:([^&]+)>/g, $t = "mention:", en = "", tn = "data-mention-uid", nn = "composer-mention", rn = "message-mention";
|
|
653
|
+
function an(e) {
|
|
654
654
|
return {
|
|
655
655
|
uid: e.uid,
|
|
656
656
|
displayName: e.displayName,
|
|
657
657
|
avatar: e.avatar
|
|
658
658
|
};
|
|
659
659
|
}
|
|
660
|
-
function
|
|
660
|
+
function on(e) {
|
|
661
661
|
let t = {};
|
|
662
662
|
for (let n of e) t[n.uid] = n.displayName;
|
|
663
663
|
return t;
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function sn(e, t, n = 8) {
|
|
666
666
|
let r = t.trim().toLowerCase(), i = e.filter((e) => e.displayName.trim().length > 0);
|
|
667
667
|
return r ? i.filter((e) => {
|
|
668
668
|
let t = e.displayName.toLowerCase(), n = e.uid.toLowerCase();
|
|
669
669
|
return t.includes(r) || n.includes(r);
|
|
670
670
|
}).slice(0, n) : i.slice(0, n);
|
|
671
671
|
}
|
|
672
|
-
function
|
|
672
|
+
function cn(e) {
|
|
673
673
|
return `<@uid:${e}>`;
|
|
674
674
|
}
|
|
675
|
+
function ln(e) {
|
|
676
|
+
return e.replace(Qt, (e, t) => cn(t));
|
|
677
|
+
}
|
|
675
678
|
function un(e) {
|
|
676
|
-
return
|
|
679
|
+
return Zt.lastIndex = 0, Qt.lastIndex = 0, Zt.test(e) || Qt.test(e);
|
|
677
680
|
}
|
|
678
681
|
function dn(e) {
|
|
679
|
-
return Qt.lastIndex = 0, $t.lastIndex = 0, Qt.test(e) || $t.test(e);
|
|
680
|
-
}
|
|
681
|
-
function fn(e) {
|
|
682
682
|
let t = [];
|
|
683
683
|
return {
|
|
684
|
-
shielded:
|
|
684
|
+
shielded: ln(e).replace(Zt, (e) => `${$t}${t.push(e) - 1}${en}`),
|
|
685
685
|
tokens: t
|
|
686
686
|
};
|
|
687
687
|
}
|
|
688
|
-
function
|
|
689
|
-
let n = RegExp(`${
|
|
688
|
+
function fn(e, t) {
|
|
689
|
+
let n = RegExp(`${$t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}(\\d+)${en.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}`, "g");
|
|
690
690
|
return e.replace(n, (e, n) => t[Number(n)] ?? "");
|
|
691
691
|
}
|
|
692
|
-
function
|
|
693
|
-
return e.replace(
|
|
692
|
+
function pn(e, t, n = rn) {
|
|
693
|
+
return e.replace(Zt, (e, r) => {
|
|
694
694
|
let i = t(r).trim() || r;
|
|
695
|
-
return `<span class="${n}" ${
|
|
695
|
+
return `<span class="${n}" ${tn}="${Cn(r)}">@${wn(i)}</span>`;
|
|
696
696
|
});
|
|
697
697
|
}
|
|
698
|
-
function
|
|
699
|
-
return
|
|
698
|
+
function mn(e, t = {}) {
|
|
699
|
+
return pn(e, (e) => t[e] ?? e, nn);
|
|
700
700
|
}
|
|
701
|
-
function
|
|
702
|
-
return
|
|
701
|
+
function hn(e, t = {}) {
|
|
702
|
+
return pn(e, (e) => t[e] ?? e, rn);
|
|
703
703
|
}
|
|
704
|
-
function
|
|
704
|
+
function gn(e) {
|
|
705
705
|
if (!e) return "";
|
|
706
706
|
let t = new DOMParser().parseFromString(`<div>${e}</div>`, "text/html"), n = t.body.firstElementChild;
|
|
707
707
|
if (!n) return e;
|
|
708
|
-
for (let e of [...n.querySelectorAll(`span[${
|
|
709
|
-
let n = e.getAttribute(
|
|
710
|
-
n && e.replaceWith(t.createTextNode(
|
|
708
|
+
for (let e of [...n.querySelectorAll(`span[${tn}]`)]) {
|
|
709
|
+
let n = e.getAttribute(tn);
|
|
710
|
+
n && e.replaceWith(t.createTextNode(cn(n)));
|
|
711
711
|
}
|
|
712
|
-
return
|
|
712
|
+
return _n(n.innerHTML);
|
|
713
713
|
}
|
|
714
|
-
function
|
|
714
|
+
function _n(e) {
|
|
715
715
|
return e.replace(/<@uid:([^&]+)>/g, "<@uid:$1>");
|
|
716
716
|
}
|
|
717
|
-
var
|
|
718
|
-
function
|
|
717
|
+
var vn = /@([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/gi;
|
|
718
|
+
function yn(e, t, n = "member") {
|
|
719
719
|
return t[e]?.trim() || n;
|
|
720
720
|
}
|
|
721
|
-
function
|
|
721
|
+
function bn(e) {
|
|
722
722
|
let t = {};
|
|
723
723
|
for (let n of e?.getMentionedUsers?.() ?? []) {
|
|
724
724
|
let e = n.getUid?.(), r = n.getName?.()?.trim();
|
|
@@ -726,31 +726,31 @@ function xn(e) {
|
|
|
726
726
|
}
|
|
727
727
|
return t;
|
|
728
728
|
}
|
|
729
|
-
function
|
|
729
|
+
function xn(...e) {
|
|
730
730
|
let t = {};
|
|
731
731
|
for (let n of e) Object.assign(t, n);
|
|
732
732
|
return t;
|
|
733
733
|
}
|
|
734
|
-
function
|
|
735
|
-
return
|
|
734
|
+
function Sn(e, t = {}) {
|
|
735
|
+
return ln(e).replace(Zt, (e, n) => `@${yn(n, t)}`).replace(vn, (e, n) => `@${yn(n, t)}`);
|
|
736
736
|
}
|
|
737
|
-
function
|
|
737
|
+
function Cn(e) {
|
|
738
738
|
return e.replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<");
|
|
739
739
|
}
|
|
740
|
-
function
|
|
740
|
+
function wn(e) {
|
|
741
741
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">");
|
|
742
742
|
}
|
|
743
743
|
//#endregion
|
|
744
744
|
//#region node_modules/.pnpm/dompurify@3.4.15/node_modules/dompurify/dist/purify.es.mjs
|
|
745
|
-
function
|
|
745
|
+
function Tn(e, t) {
|
|
746
746
|
(t == null || t > e.length) && (t = e.length);
|
|
747
747
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
748
748
|
return r;
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function En(e) {
|
|
751
751
|
if (Array.isArray(e)) return e;
|
|
752
752
|
}
|
|
753
|
-
function
|
|
753
|
+
function Dn(e, t) {
|
|
754
754
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
755
755
|
if (n != null) {
|
|
756
756
|
var r, i, a, o, s = [], c = !0, l = !1;
|
|
@@ -768,113 +768,113 @@ function On(e, t) {
|
|
|
768
768
|
return s;
|
|
769
769
|
}
|
|
770
770
|
}
|
|
771
|
-
function
|
|
771
|
+
function On() {
|
|
772
772
|
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
773
773
|
}
|
|
774
|
-
function
|
|
775
|
-
return
|
|
774
|
+
function kn(e, t) {
|
|
775
|
+
return En(e) || Dn(e, t) || An(e, t) || On();
|
|
776
776
|
}
|
|
777
|
-
function
|
|
777
|
+
function An(e, t) {
|
|
778
778
|
if (e) {
|
|
779
|
-
if (typeof e == "string") return
|
|
779
|
+
if (typeof e == "string") return Tn(e, t);
|
|
780
780
|
var n = {}.toString.call(e).slice(8, -1);
|
|
781
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
781
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Tn(e, t) : void 0;
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
|
-
var
|
|
785
|
-
|
|
784
|
+
var jn = Object.entries, Mn = Object.setPrototypeOf, Nn = Object.isFrozen, Pn = Object.getPrototypeOf, Fn = Object.getOwnPropertyDescriptor, In = Object.freeze, Ln = Object.seal, Rn = Object.create, zn = typeof Reflect < "u" && Reflect, Bn = zn.apply, Vn = zn.construct;
|
|
785
|
+
In ||= function(e) {
|
|
786
786
|
return e;
|
|
787
|
-
},
|
|
787
|
+
}, Ln ||= function(e) {
|
|
788
788
|
return e;
|
|
789
|
-
},
|
|
789
|
+
}, Bn ||= function(e, t) {
|
|
790
790
|
var n = [...arguments].slice(2);
|
|
791
791
|
return e.apply(t, n);
|
|
792
|
-
},
|
|
792
|
+
}, Vn ||= function(e) {
|
|
793
793
|
return new e(...[...arguments].slice(1));
|
|
794
794
|
};
|
|
795
|
-
var
|
|
796
|
-
function
|
|
795
|
+
var Hn = cr(Array.prototype.forEach), Un = cr(Array.prototype.lastIndexOf), Wn = cr(Array.prototype.pop), Gn = cr(Array.prototype.push), Kn = cr(Array.prototype.splice), qn = Array.isArray, Jn = cr(String.prototype.toLowerCase), Yn = cr(String.prototype.toString), Xn = cr(String.prototype.match), Zn = cr(String.prototype.replace), Qn = cr(String.prototype.indexOf), $n = cr(String.prototype.trim), er = cr(Number.prototype.toString), tr = cr(Boolean.prototype.toString), nr = typeof BigInt > "u" ? null : cr(BigInt.prototype.toString), rr = typeof Symbol > "u" ? null : cr(Symbol.prototype.toString), ir = cr(Object.prototype.hasOwnProperty), ar = cr(Object.prototype.toString), or = cr(RegExp.prototype.test), sr = lr(TypeError);
|
|
796
|
+
function cr(e) {
|
|
797
797
|
return function(t) {
|
|
798
798
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
799
799
|
var n = [...arguments].slice(1);
|
|
800
|
-
return
|
|
800
|
+
return Bn(e, t, n);
|
|
801
801
|
};
|
|
802
802
|
}
|
|
803
|
-
function
|
|
803
|
+
function lr(e) {
|
|
804
804
|
return function() {
|
|
805
|
-
return
|
|
805
|
+
return Vn(e, [...arguments]);
|
|
806
806
|
};
|
|
807
807
|
}
|
|
808
|
-
function
|
|
809
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
810
|
-
if (
|
|
808
|
+
function Z(e, t) {
|
|
809
|
+
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Jn;
|
|
810
|
+
if (Mn && Mn(e, null), !qn(t)) return e;
|
|
811
811
|
let r = t.length;
|
|
812
812
|
for (; r--;) {
|
|
813
813
|
let i = t[r];
|
|
814
814
|
if (typeof i == "string") {
|
|
815
815
|
let e = n(i);
|
|
816
|
-
e !== i && (
|
|
816
|
+
e !== i && (Nn(t) || (t[r] = e), i = e);
|
|
817
817
|
}
|
|
818
818
|
e[i] = !0;
|
|
819
819
|
}
|
|
820
820
|
return e;
|
|
821
821
|
}
|
|
822
|
-
function
|
|
823
|
-
for (let t = 0; t < e.length; t++)
|
|
822
|
+
function ur(e) {
|
|
823
|
+
for (let t = 0; t < e.length; t++) ir(e, t) || (e[t] = null);
|
|
824
824
|
return e;
|
|
825
825
|
}
|
|
826
|
-
function
|
|
827
|
-
let t =
|
|
828
|
-
for (let r of
|
|
829
|
-
var n =
|
|
826
|
+
function dr(e) {
|
|
827
|
+
let t = Rn(null);
|
|
828
|
+
for (let r of jn(e)) {
|
|
829
|
+
var n = kn(r, 2);
|
|
830
830
|
let i = n[0], a = n[1];
|
|
831
|
-
|
|
831
|
+
ir(e, i) && (t[i] = qn(a) ? ur(a) : a && typeof a == "object" && a.constructor === Object ? dr(a) : a);
|
|
832
832
|
}
|
|
833
833
|
return t;
|
|
834
834
|
}
|
|
835
|
-
function
|
|
835
|
+
function fr(e) {
|
|
836
836
|
switch (typeof e) {
|
|
837
837
|
case "string": return e;
|
|
838
|
-
case "number": return
|
|
839
|
-
case "boolean": return
|
|
840
|
-
case "bigint": return
|
|
841
|
-
case "symbol": return
|
|
842
|
-
case "undefined": return
|
|
838
|
+
case "number": return er(e);
|
|
839
|
+
case "boolean": return tr(e);
|
|
840
|
+
case "bigint": return nr ? nr(e) : "0";
|
|
841
|
+
case "symbol": return rr ? rr(e) : "Symbol()";
|
|
842
|
+
case "undefined": return ar(e);
|
|
843
843
|
case "function":
|
|
844
844
|
case "object": {
|
|
845
|
-
if (e === null) return
|
|
846
|
-
let t = e, n =
|
|
845
|
+
if (e === null) return ar(e);
|
|
846
|
+
let t = e, n = pr(t, "toString");
|
|
847
847
|
if (typeof n == "function") {
|
|
848
848
|
let e = n(t);
|
|
849
|
-
return typeof e == "string" ? e :
|
|
849
|
+
return typeof e == "string" ? e : ar(e);
|
|
850
850
|
}
|
|
851
|
-
return
|
|
851
|
+
return ar(e);
|
|
852
852
|
}
|
|
853
|
-
default: return
|
|
853
|
+
default: return ar(e);
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
|
-
function
|
|
856
|
+
function pr(e, t) {
|
|
857
857
|
for (; e !== null;) {
|
|
858
|
-
let n =
|
|
858
|
+
let n = Fn(e, t);
|
|
859
859
|
if (n) {
|
|
860
|
-
if (n.get) return
|
|
861
|
-
if (typeof n.value == "function") return
|
|
860
|
+
if (n.get) return cr(n.get);
|
|
861
|
+
if (typeof n.value == "function") return cr(n.value);
|
|
862
862
|
}
|
|
863
|
-
e =
|
|
863
|
+
e = Pn(e);
|
|
864
864
|
}
|
|
865
865
|
function n() {
|
|
866
866
|
return null;
|
|
867
867
|
}
|
|
868
868
|
return n;
|
|
869
869
|
}
|
|
870
|
-
function
|
|
870
|
+
function mr(e) {
|
|
871
871
|
try {
|
|
872
|
-
return
|
|
872
|
+
return or(e, ""), !0;
|
|
873
873
|
} catch {
|
|
874
874
|
return !1;
|
|
875
875
|
}
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var hr = In(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), gr = In(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), _r = In([
|
|
878
878
|
"feBlend",
|
|
879
879
|
"feColorMatrix",
|
|
880
880
|
"feComponentTransfer",
|
|
@@ -900,7 +900,7 @@ var gr = Ln(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
900
900
|
"feSpotLight",
|
|
901
901
|
"feTile",
|
|
902
902
|
"feTurbulence"
|
|
903
|
-
]),
|
|
903
|
+
]), vr = In([
|
|
904
904
|
"animate",
|
|
905
905
|
"color-profile",
|
|
906
906
|
"cursor",
|
|
@@ -923,7 +923,7 @@ var gr = Ln(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
923
923
|
"solidcolor",
|
|
924
924
|
"unknown",
|
|
925
925
|
"use"
|
|
926
|
-
]),
|
|
926
|
+
]), yr = In(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), br = In([
|
|
927
927
|
"maction",
|
|
928
928
|
"maligngroup",
|
|
929
929
|
"malignmark",
|
|
@@ -939,13 +939,13 @@ var gr = Ln(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
939
939
|
"annotation-xml",
|
|
940
940
|
"mprescripts",
|
|
941
941
|
"none"
|
|
942
|
-
]),
|
|
942
|
+
]), xr = In(["#text"]), Sr = In(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns".split(".")), Cr = In(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.pointer-events.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), wr = In(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), Tr = In([
|
|
943
943
|
"xlink:href",
|
|
944
944
|
"xml:id",
|
|
945
945
|
"xlink:title",
|
|
946
946
|
"xml:space",
|
|
947
947
|
"xmlns:xlink"
|
|
948
|
-
]),
|
|
948
|
+
]), Er = Ln(/{{[\w\W]*|^[\w\W]*}}/g), Dr = Ln(/<%[\w\W]*|^[\w\W]*%>/g), Or = Ln(/\${[\w\W]*/g), kr = Ln(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ar = Ln(/^aria-[\-\w]+$/), jr = Ln(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Mr = Ln(/^(?:\w+script|data):/i), Nr = Ln(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Pr = Ln(/^html$/i), Fr = Ln(/^[a-z][.\w]*(-[.\w]+)+$/i), Ir = Ln(/<[/\w!]/g), Lr = Ln(/<[/\w]/g), Rr = Ln(/<\/no(script|embed|frames)/i), zr = Ln(/\/>/i), Br = {
|
|
949
949
|
element: 1,
|
|
950
950
|
attribute: 2,
|
|
951
951
|
text: 3,
|
|
@@ -958,7 +958,7 @@ var gr = Ln(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
958
958
|
documentType: 10,
|
|
959
959
|
documentFragment: 11,
|
|
960
960
|
notation: 12
|
|
961
|
-
},
|
|
961
|
+
}, Vr = [
|
|
962
962
|
"style",
|
|
963
963
|
"script",
|
|
964
964
|
"xmp",
|
|
@@ -967,14 +967,14 @@ var gr = Ln(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
967
967
|
"noframes",
|
|
968
968
|
"plaintext",
|
|
969
969
|
"noscript"
|
|
970
|
-
],
|
|
970
|
+
], Hr = In(Z({}, Vr)), Ur = function() {
|
|
971
971
|
let e = {};
|
|
972
|
-
return
|
|
973
|
-
e[t] =
|
|
974
|
-
}),
|
|
975
|
-
}(),
|
|
972
|
+
return Hn(Vr, (t) => {
|
|
973
|
+
e[t] = Ln(RegExp("</" + t + "(?=[\\t\\n\\f\\r />])", "i"));
|
|
974
|
+
}), In(e);
|
|
975
|
+
}(), Wr = function() {
|
|
976
976
|
return typeof window > "u" ? null : window;
|
|
977
|
-
},
|
|
977
|
+
}, Gr = function(e, t) {
|
|
978
978
|
if (typeof e != "object" || typeof e.createPolicy != "function") return null;
|
|
979
979
|
let n = null, r = "data-tt-policy-suffix";
|
|
980
980
|
t && t.hasAttribute(r) && (n = t.getAttribute(r));
|
|
@@ -991,7 +991,7 @@ var gr = Ln(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
991
991
|
} catch {
|
|
992
992
|
return console.warn("TrustedTypes policy " + i + " could not be created."), null;
|
|
993
993
|
}
|
|
994
|
-
},
|
|
994
|
+
}, Kr = function() {
|
|
995
995
|
return {
|
|
996
996
|
afterSanitizeAttributes: [],
|
|
997
997
|
afterSanitizeElements: [],
|
|
@@ -1003,20 +1003,20 @@ var gr = Ln(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
1003
1003
|
uponSanitizeElement: [],
|
|
1004
1004
|
uponSanitizeShadowNode: []
|
|
1005
1005
|
};
|
|
1006
|
-
},
|
|
1007
|
-
return
|
|
1008
|
-
},
|
|
1009
|
-
let r =
|
|
1010
|
-
return r && typeof r == "object" ?
|
|
1006
|
+
}, qr = function(e, t, n, r) {
|
|
1007
|
+
return ir(e, t) && qn(e[t]) ? Z(r.base ? dr(r.base) : {}, e[t], r.transform) : n;
|
|
1008
|
+
}, Jr = function(e, t, n) {
|
|
1009
|
+
let r = ir(e, t) ? e[t] : void 0;
|
|
1010
|
+
return r && typeof r == "object" ? dr(r) : n();
|
|
1011
1011
|
};
|
|
1012
|
-
function
|
|
1013
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
1014
|
-
if (t.version = "3.4.15", t.removed = [], !e || !e.document || e.document.nodeType !==
|
|
1012
|
+
function Yr() {
|
|
1013
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Wr(), t = (e) => Yr(e);
|
|
1014
|
+
if (t.version = "3.4.15", t.removed = [], !e || !e.document || e.document.nodeType !== Br.document || !e.Element) return t.isSupported = !1, t;
|
|
1015
1015
|
let n = e.document, r = n, i = r.currentScript;
|
|
1016
1016
|
e.DocumentFragment;
|
|
1017
1017
|
let a = e.HTMLTemplateElement, o = e.Node, s = e.Element, c = e.NodeFilter;
|
|
1018
1018
|
e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
|
|
1019
|
-
let l = e.DOMParser, u = e.trustedTypes, d = s.prototype, f =
|
|
1019
|
+
let l = e.DOMParser, u = e.trustedTypes, d = s.prototype, f = pr(d, "cloneNode"), p = pr(d, "remove"), m = pr(d, "removeAttributeNode"), h = pr(d, "nextSibling"), g = pr(d, "childNodes"), _ = pr(d, "parentNode"), v = pr(d, "shadowRoot"), y = pr(d, "attributes"), b = o && o.prototype ? pr(o.prototype, "nodeType") : null, x = o && o.prototype ? pr(o.prototype, "nodeName") : null, S = o && o.prototype ? pr(o.prototype, "ownerDocument") : null, C = function(e) {
|
|
1020
1020
|
return b ? b(e) : e.nodeType;
|
|
1021
1021
|
}, w = function(e) {
|
|
1022
1022
|
return x ? x(e) : e.nodeName;
|
|
@@ -1026,7 +1026,7 @@ function Xr() {
|
|
|
1026
1026
|
e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
|
|
1027
1027
|
}
|
|
1028
1028
|
let T, E = "", D, O = !1, k = 0, A = function() {
|
|
1029
|
-
if (k > 0) throw
|
|
1029
|
+
if (k > 0) throw sr("A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the \"DOMPurify and Trusted Types\" section of the README.");
|
|
1030
1030
|
}, j = function(e) {
|
|
1031
1031
|
A(), k++;
|
|
1032
1032
|
try {
|
|
@@ -1042,21 +1042,21 @@ function Xr() {
|
|
|
1042
1042
|
k--;
|
|
1043
1043
|
}
|
|
1044
1044
|
}, N = function() {
|
|
1045
|
-
return O ||= (D =
|
|
1046
|
-
}, P = n, F = P.implementation, ee = P.createNodeIterator, I = P.createDocumentFragment, L = P.getElementsByTagName, R = r.importNode, z =
|
|
1047
|
-
t.isSupported = typeof
|
|
1048
|
-
let te =
|
|
1045
|
+
return O ||= (D = Gr(u, i), !0), D;
|
|
1046
|
+
}, P = n, F = P.implementation, ee = P.createNodeIterator, I = P.createDocumentFragment, L = P.getElementsByTagName, R = r.importNode, z = Kr();
|
|
1047
|
+
t.isSupported = typeof jn == "function" && typeof _ == "function" && F && F.createHTMLDocument !== void 0;
|
|
1048
|
+
let te = Er, ne = Dr, B = Or, re = kr, V = Ar, H = Mr, U = Nr, ie = Fr, ae = jr, W = null, oe = Z({}, [
|
|
1049
|
+
...hr,
|
|
1049
1050
|
...gr,
|
|
1050
1051
|
..._r,
|
|
1051
|
-
...
|
|
1052
|
-
...
|
|
1053
|
-
|
|
1054
|
-
|
|
1052
|
+
...yr,
|
|
1053
|
+
...xr
|
|
1054
|
+
]), G = null, se = Z({}, [
|
|
1055
|
+
...Sr,
|
|
1055
1056
|
...Cr,
|
|
1056
1057
|
...wr,
|
|
1057
|
-
...Tr
|
|
1058
|
-
|
|
1059
|
-
]), ce = Object.seal(zn(null, {
|
|
1058
|
+
...Tr
|
|
1059
|
+
]), ce = Object.seal(Rn(null, {
|
|
1060
1060
|
tagNameCheck: {
|
|
1061
1061
|
writable: !0,
|
|
1062
1062
|
configurable: !1,
|
|
@@ -1075,7 +1075,7 @@ function Xr() {
|
|
|
1075
1075
|
enumerable: !0,
|
|
1076
1076
|
value: !1
|
|
1077
1077
|
}
|
|
1078
|
-
})), le = null, K = null, ue = Object.seal(
|
|
1078
|
+
})), le = null, K = null, ue = Object.seal(Rn(null, {
|
|
1079
1079
|
tagCheck: {
|
|
1080
1080
|
writable: !0,
|
|
1081
1081
|
configurable: !1,
|
|
@@ -1088,14 +1088,14 @@ function Xr() {
|
|
|
1088
1088
|
enumerable: !0,
|
|
1089
1089
|
value: null
|
|
1090
1090
|
}
|
|
1091
|
-
})), de = !0, fe = !0, pe = !1, me = !0, he = !1, ge = !0, _e = !1, ve = !1, ye = null, be = null, xe = !1, Se = !1, Ce = !1, we = !1, Te = !0,
|
|
1091
|
+
})), de = !0, fe = !0, pe = !1, me = !0, he = !1, ge = !0, _e = !1, ve = !1, ye = null, be = null, xe = !1, Se = !1, Ce = !1, we = !1, Te = !0, Ee = !1, q = "user-content-", De = !0, Oe = !1, ke = {}, Ae = null, je = Z({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), Me = null, Ne = Z({}, [
|
|
1092
1092
|
"audio",
|
|
1093
1093
|
"video",
|
|
1094
1094
|
"img",
|
|
1095
1095
|
"source",
|
|
1096
1096
|
"image",
|
|
1097
1097
|
"track"
|
|
1098
|
-
]), Pe = null, Fe =
|
|
1098
|
+
]), Pe = null, Fe = Z({}, [
|
|
1099
1099
|
"alt",
|
|
1100
1100
|
"class",
|
|
1101
1101
|
"for",
|
|
@@ -1110,42 +1110,42 @@ function Xr() {
|
|
|
1110
1110
|
"value",
|
|
1111
1111
|
"style",
|
|
1112
1112
|
"xmlns"
|
|
1113
|
-
]), Ie = "http://www.w3.org/1998/Math/MathML", Le = "http://www.w3.org/2000/svg", Re = "http://www.w3.org/1999/xhtml", ze = Re, Be = !1, Ve = null, He =
|
|
1113
|
+
]), Ie = "http://www.w3.org/1998/Math/MathML", Le = "http://www.w3.org/2000/svg", Re = "http://www.w3.org/1999/xhtml", ze = Re, Be = !1, Ve = null, He = Z({}, [
|
|
1114
1114
|
Ie,
|
|
1115
1115
|
Le,
|
|
1116
1116
|
Re
|
|
1117
|
-
],
|
|
1117
|
+
], Yn), Ue = In([
|
|
1118
1118
|
"mi",
|
|
1119
1119
|
"mo",
|
|
1120
1120
|
"mn",
|
|
1121
1121
|
"ms",
|
|
1122
1122
|
"mtext"
|
|
1123
|
-
]), We =
|
|
1123
|
+
]), We = Z({}, Ue), Ge = In(["annotation-xml"]), Ke = Z({}, Ge), qe = Z({}, [
|
|
1124
1124
|
"title",
|
|
1125
1125
|
"style",
|
|
1126
1126
|
"font",
|
|
1127
1127
|
"a",
|
|
1128
1128
|
"script"
|
|
1129
|
-
]), Je = null, Ye = ["application/xhtml+xml", "text/html"],
|
|
1129
|
+
]), Je = null, Ye = ["application/xhtml+xml", "text/html"], J = null, Xe = null, Ze = n.createElement("form"), Qe = function(e) {
|
|
1130
1130
|
return e instanceof RegExp || e instanceof Function;
|
|
1131
|
-
},
|
|
1131
|
+
}, $e = function() {
|
|
1132
1132
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1133
|
-
if (
|
|
1134
|
-
(!e || typeof e != "object") && (e = {}), e =
|
|
1135
|
-
transform:
|
|
1133
|
+
if (Xe && Xe === e) return;
|
|
1134
|
+
(!e || typeof e != "object") && (e = {}), e = dr(e), Je = Ye.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, J = Je === "application/xhtml+xml" ? Yn : Jn, W = qr(e, "ALLOWED_TAGS", oe, { transform: J }), G = qr(e, "ALLOWED_ATTR", se, { transform: J }), Ve = qr(e, "ALLOWED_NAMESPACES", He, { transform: Yn }), Pe = qr(e, "ADD_URI_SAFE_ATTR", Fe, {
|
|
1135
|
+
transform: J,
|
|
1136
1136
|
base: Fe
|
|
1137
|
-
}), Me =
|
|
1138
|
-
transform:
|
|
1137
|
+
}), Me = qr(e, "ADD_DATA_URI_TAGS", Ne, {
|
|
1138
|
+
transform: J,
|
|
1139
1139
|
base: Ne
|
|
1140
|
-
}), Ae =
|
|
1141
|
-
let t =
|
|
1142
|
-
if (ce =
|
|
1140
|
+
}), Ae = qr(e, "FORBID_CONTENTS", je, { transform: J }), le = qr(e, "FORBID_TAGS", dr({}), { transform: J }), K = qr(e, "FORBID_ATTR", dr({}), { transform: J }), ke = ir(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? dr(e.USE_PROFILES) : e.USE_PROFILES : !1, de = e.ALLOW_ARIA_ATTR !== !1, fe = e.ALLOW_DATA_ATTR !== !1, pe = e.ALLOW_UNKNOWN_PROTOCOLS || !1, me = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, he = e.SAFE_FOR_TEMPLATES || !1, ge = e.SAFE_FOR_XML !== !1, _e = e.WHOLE_DOCUMENT || !1, Se = e.RETURN_DOM || !1, Ce = e.RETURN_DOM_FRAGMENT || !1, we = e.RETURN_TRUSTED_TYPE || !1, xe = e.FORCE_BODY || !1, Te = e.SANITIZE_DOM !== !1, Ee = e.SANITIZE_NAMED_PROPS || !1, De = e.KEEP_CONTENT !== !1, Oe = e.IN_PLACE || !1, ae = mr(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : jr, ze = typeof e.NAMESPACE == "string" ? e.NAMESPACE : Re, We = Jr(e, "MATHML_TEXT_INTEGRATION_POINTS", () => Z({}, Ue)), Ke = Jr(e, "HTML_INTEGRATION_POINTS", () => Z({}, Ge));
|
|
1141
|
+
let t = Jr(e, "CUSTOM_ELEMENT_HANDLING", () => Rn(null));
|
|
1142
|
+
if (ce = Rn(null), ir(t, "tagNameCheck") && Qe(t.tagNameCheck) && (ce.tagNameCheck = t.tagNameCheck), ir(t, "attributeNameCheck") && Qe(t.attributeNameCheck) && (ce.attributeNameCheck = t.attributeNameCheck), ir(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (ce.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), Ln(ce), he && (fe = !1), Ce && (Se = !0), ke && (W = Z({}, xr), G = Rn(null), ke.html === !0 && (Z(W, hr), Z(G, Sr)), ke.svg === !0 && (Z(W, gr), Z(G, Cr), Z(G, Tr)), ke.svgFilters === !0 && (Z(W, _r), Z(G, Cr), Z(G, Tr)), ke.mathMl === !0 && (Z(W, yr), Z(G, wr), Z(G, Tr))), ue.tagCheck = null, ue.attributeCheck = null, ir(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? ue.tagCheck = e.ADD_TAGS : qn(e.ADD_TAGS) && (W === oe && (W = dr(W)), Z(W, e.ADD_TAGS, J))), ir(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? ue.attributeCheck = e.ADD_ATTR : qn(e.ADD_ATTR) && (G === se && (G = dr(G)), Z(G, e.ADD_ATTR, J))), ir(e, "ADD_FORBID_CONTENTS") && qn(e.ADD_FORBID_CONTENTS) && (Ae === je && (Ae = dr(Ae)), Z(Ae, e.ADD_FORBID_CONTENTS, J)), De && (W["#text"] = !0), _e && Z(W, [
|
|
1143
1143
|
"html",
|
|
1144
1144
|
"head",
|
|
1145
1145
|
"body"
|
|
1146
|
-
]), W.table && (
|
|
1147
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw
|
|
1148
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw
|
|
1146
|
+
]), W.table && (Z(W, ["tbody"]), delete le.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
1147
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw sr("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
|
|
1148
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw sr("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
|
|
1149
1149
|
let t = T;
|
|
1150
1150
|
T = e.TRUSTED_TYPES_POLICY;
|
|
1151
1151
|
try {
|
|
@@ -1154,33 +1154,33 @@ function Xr() {
|
|
|
1154
1154
|
throw T = t, e;
|
|
1155
1155
|
}
|
|
1156
1156
|
} else e.TRUSTED_TYPES_POLICY === null ? (T = void 0, E = "") : (T === void 0 && (T = N()), T && typeof E == "string" && (E = j("")));
|
|
1157
|
-
|
|
1158
|
-
},
|
|
1157
|
+
In && In(e), Xe = e;
|
|
1158
|
+
}, et = Z({}, [
|
|
1159
|
+
...gr,
|
|
1159
1160
|
..._r,
|
|
1160
|
-
...vr
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1161
|
+
...vr
|
|
1162
|
+
]), tt = Z({}, [...yr, ...br]), nt = function(e, t, n) {
|
|
1163
|
+
return t.namespaceURI === Re ? e === "svg" : t.namespaceURI === Ie ? e === "svg" && (n === "annotation-xml" || We[n]) : !!et[e];
|
|
1164
|
+
}, rt = function(e, t, n) {
|
|
1165
|
+
return t.namespaceURI === Re ? e === "math" : t.namespaceURI === Le ? e === "math" && Ke[n] : !!tt[e];
|
|
1164
1166
|
}, it = function(e, t, n) {
|
|
1165
|
-
return t.namespaceURI ===
|
|
1166
|
-
}, at = function(e
|
|
1167
|
-
return t.namespaceURI === Le && !Ke[n] || t.namespaceURI === Ie && !We[n] ? !1 : !nt[e] && (qe[e] || !tt[e]);
|
|
1168
|
-
}, ot = function(e) {
|
|
1167
|
+
return t.namespaceURI === Le && !Ke[n] || t.namespaceURI === Ie && !We[n] ? !1 : !tt[e] && (qe[e] || !et[e]);
|
|
1168
|
+
}, at = function(e) {
|
|
1169
1169
|
let t = _(e);
|
|
1170
1170
|
(!t || !t.tagName) && (t = {
|
|
1171
1171
|
namespaceURI: ze,
|
|
1172
1172
|
tagName: "template"
|
|
1173
1173
|
});
|
|
1174
|
-
let n =
|
|
1175
|
-
return Ve[e.namespaceURI] ? e.namespaceURI === Le ?
|
|
1176
|
-
},
|
|
1177
|
-
|
|
1174
|
+
let n = Jn(e.tagName), r = Jn(t.tagName);
|
|
1175
|
+
return Ve[e.namespaceURI] ? e.namespaceURI === Le ? nt(n, t, r) : e.namespaceURI === Ie ? rt(n, t, r) : e.namespaceURI === Re ? it(n, t, r) : !!(Je === "application/xhtml+xml" && Ve[e.namespaceURI]) : !1;
|
|
1176
|
+
}, ot = function(e) {
|
|
1177
|
+
Gn(t.removed, { element: e });
|
|
1178
1178
|
try {
|
|
1179
1179
|
_(e).removeChild(e);
|
|
1180
1180
|
} catch {
|
|
1181
|
-
if (p(e), !_(e)) throw
|
|
1181
|
+
if (p(e), !_(e)) throw sr("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
|
|
1182
1182
|
}
|
|
1183
|
-
},
|
|
1183
|
+
}, st = function(e, t, n) {
|
|
1184
1184
|
try {
|
|
1185
1185
|
m(e, t);
|
|
1186
1186
|
} catch {
|
|
@@ -1188,14 +1188,14 @@ function Xr() {
|
|
|
1188
1188
|
e.removeAttribute(n);
|
|
1189
1189
|
} catch {}
|
|
1190
1190
|
}
|
|
1191
|
-
},
|
|
1192
|
-
|
|
1191
|
+
}, ct = function(e) {
|
|
1192
|
+
dt(e);
|
|
1193
1193
|
let t = g(e);
|
|
1194
1194
|
if (t) {
|
|
1195
1195
|
let e = [];
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
}),
|
|
1196
|
+
Hn(t, (t) => {
|
|
1197
|
+
Gn(e, t);
|
|
1198
|
+
}), Hn(e, (e) => {
|
|
1199
1199
|
try {
|
|
1200
1200
|
p(e);
|
|
1201
1201
|
} catch {}
|
|
@@ -1204,15 +1204,15 @@ function Xr() {
|
|
|
1204
1204
|
let n = y(e);
|
|
1205
1205
|
if (n) for (let t = n.length - 1; t >= 0; --t) {
|
|
1206
1206
|
let r = n[t], i = r && r.name;
|
|
1207
|
-
typeof i == "string" &&
|
|
1207
|
+
typeof i == "string" && st(e, r, i);
|
|
1208
1208
|
}
|
|
1209
|
-
},
|
|
1209
|
+
}, lt = function(e, n, r) {
|
|
1210
1210
|
if (!r) try {
|
|
1211
1211
|
r = n.getAttributeNode(e);
|
|
1212
1212
|
} catch {
|
|
1213
1213
|
r = null;
|
|
1214
1214
|
}
|
|
1215
|
-
|
|
1215
|
+
Gn(t.removed, {
|
|
1216
1216
|
attribute: r || null,
|
|
1217
1217
|
from: n
|
|
1218
1218
|
});
|
|
@@ -1225,53 +1225,53 @@ function Xr() {
|
|
|
1225
1225
|
}
|
|
1226
1226
|
if (e === "is") {
|
|
1227
1227
|
if (Se || Ce) try {
|
|
1228
|
-
|
|
1228
|
+
ot(n);
|
|
1229
1229
|
} catch {}
|
|
1230
1230
|
else try {
|
|
1231
1231
|
n.setAttribute(e, "");
|
|
1232
1232
|
} catch {}
|
|
1233
1233
|
}
|
|
1234
|
-
},
|
|
1234
|
+
}, ut = function(e) {
|
|
1235
1235
|
let t = y(e);
|
|
1236
1236
|
if (t) for (let n = t.length - 1; n >= 0; --n) {
|
|
1237
1237
|
let r = t[n], i = r && r.name;
|
|
1238
|
-
typeof i != "string" || G[
|
|
1238
|
+
typeof i != "string" || G[J(i)] || st(e, r, i);
|
|
1239
1239
|
}
|
|
1240
|
-
},
|
|
1240
|
+
}, dt = function(e) {
|
|
1241
1241
|
let t = [e];
|
|
1242
1242
|
for (; t.length > 0;) {
|
|
1243
1243
|
let e = t.pop();
|
|
1244
|
-
C(e) ===
|
|
1244
|
+
C(e) === Br.element && ut(e);
|
|
1245
1245
|
let n = g(e);
|
|
1246
1246
|
if (n) for (let e = n.length - 1; e >= 0; --e) t.push(n[e]);
|
|
1247
1247
|
}
|
|
1248
|
-
},
|
|
1248
|
+
}, ft = function(e, t) {
|
|
1249
1249
|
return ge ? e === "patchsrc" || e === "for" && t !== "label" && t !== "output" : !1;
|
|
1250
|
-
},
|
|
1250
|
+
}, pt = function(e) {
|
|
1251
1251
|
if (!ge) return;
|
|
1252
1252
|
let t = [e];
|
|
1253
1253
|
for (; t.length > 0;) {
|
|
1254
1254
|
let e = t.pop(), n = C(e);
|
|
1255
|
-
if (n ===
|
|
1255
|
+
if (n === Br.processingInstruction || n === Br.comment && or(Lr, e.data)) {
|
|
1256
1256
|
try {
|
|
1257
1257
|
p(e);
|
|
1258
1258
|
} catch {}
|
|
1259
1259
|
continue;
|
|
1260
1260
|
}
|
|
1261
|
-
if (n ===
|
|
1262
|
-
let t = e, n =
|
|
1261
|
+
if (n === Br.element) {
|
|
1262
|
+
let t = e, n = J(w(e));
|
|
1263
1263
|
try {
|
|
1264
|
-
t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") &&
|
|
1264
|
+
t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") && ft("for", n) && t.removeAttribute("for");
|
|
1265
1265
|
} catch {}
|
|
1266
1266
|
}
|
|
1267
1267
|
let r = g(e);
|
|
1268
1268
|
if (r) for (let e = r.length - 1; e >= 0; --e) t.push(r[e]);
|
|
1269
1269
|
}
|
|
1270
|
-
},
|
|
1270
|
+
}, mt = function(e) {
|
|
1271
1271
|
let t = null, r = null;
|
|
1272
1272
|
if (xe) e = "<remove></remove>" + e;
|
|
1273
1273
|
else {
|
|
1274
|
-
let t =
|
|
1274
|
+
let t = Xn(e, /^[\r\n\t ]+/);
|
|
1275
1275
|
r = t && t[0];
|
|
1276
1276
|
}
|
|
1277
1277
|
Je === "application/xhtml+xml" && ze === Re && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
@@ -1287,30 +1287,30 @@ function Xr() {
|
|
|
1287
1287
|
}
|
|
1288
1288
|
let a = t.body || t.documentElement;
|
|
1289
1289
|
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), ze === Re ? L.call(t, _e ? "html" : "body")[0] : _e ? t.documentElement : a;
|
|
1290
|
-
},
|
|
1290
|
+
}, ht = function(e) {
|
|
1291
1291
|
let t = S ? S(e) : e.ownerDocument;
|
|
1292
1292
|
return ee.call(t || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
|
|
1293
|
+
}, gt = function(e) {
|
|
1294
|
+
return e = Zn(e, te, " "), e = Zn(e, ne, " "), e = Zn(e, B, " "), e;
|
|
1293
1295
|
}, _t = function(e) {
|
|
1294
|
-
return e = Qn(e, te, " "), e = Qn(e, ne, " "), e = Qn(e, B, " "), e;
|
|
1295
|
-
}, vt = function(e) {
|
|
1296
1296
|
e.normalize();
|
|
1297
1297
|
let t = S ? S(e) : e.ownerDocument, n = ee.call(t || e, e, c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION, null), r = n.nextNode();
|
|
1298
|
-
for (; r;) r.data =
|
|
1298
|
+
for (; r;) r.data = gt(r.data), r = n.nextNode();
|
|
1299
1299
|
let i = e.querySelectorAll?.call(e, "template");
|
|
1300
|
-
i &&
|
|
1301
|
-
|
|
1300
|
+
i && Hn(i, (e) => {
|
|
1301
|
+
yt(e.content) && _t(e.content);
|
|
1302
1302
|
});
|
|
1303
|
-
},
|
|
1303
|
+
}, vt = function(e) {
|
|
1304
1304
|
let t = x ? x(e) : null;
|
|
1305
|
-
return typeof t != "string" ||
|
|
1306
|
-
},
|
|
1305
|
+
return typeof t != "string" || J(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== y(e) || typeof e.removeAttribute != "function" || typeof e.removeAttributeNode != "function" || typeof e.getAttributeNode != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== b(e) || e.childNodes !== g(e);
|
|
1306
|
+
}, yt = function(e) {
|
|
1307
1307
|
if (!b || typeof e != "object" || !e) return !1;
|
|
1308
1308
|
try {
|
|
1309
|
-
return b(e) ===
|
|
1309
|
+
return b(e) === Br.documentFragment;
|
|
1310
1310
|
} catch {
|
|
1311
1311
|
return !1;
|
|
1312
1312
|
}
|
|
1313
|
-
},
|
|
1313
|
+
}, bt = function(e) {
|
|
1314
1314
|
if (!b || typeof e != "object" || !e) return !1;
|
|
1315
1315
|
try {
|
|
1316
1316
|
return typeof b(e) == "number";
|
|
@@ -1318,17 +1318,17 @@ function Xr() {
|
|
|
1318
1318
|
return !1;
|
|
1319
1319
|
}
|
|
1320
1320
|
};
|
|
1321
|
-
function
|
|
1322
|
-
e.length !== 0 &&
|
|
1323
|
-
e.call(t, n, r,
|
|
1321
|
+
function xt(e, n, r) {
|
|
1322
|
+
e.length !== 0 && Hn(e, (e) => {
|
|
1323
|
+
e.call(t, n, r, Xe);
|
|
1324
1324
|
});
|
|
1325
1325
|
}
|
|
1326
|
-
let
|
|
1327
|
-
return !!(ge && e.hasChildNodes() && !
|
|
1328
|
-
},
|
|
1329
|
-
return e instanceof RegExp ?
|
|
1330
|
-
},
|
|
1331
|
-
if (!le[t] &&
|
|
1326
|
+
let St = function(e, t) {
|
|
1327
|
+
return !!(ge && e.hasChildNodes() && !bt(e.firstElementChild) && or(Ir, e.textContent) && or(Ir, e.innerHTML) || ge && e.namespaceURI === Re && Hr[t] && (bt(e.firstElementChild) || typeof e.textContent == "string" && or(Ur[t], e.textContent)) || e.nodeType === Br.processingInstruction || ge && e.nodeType === Br.comment && or(Lr, e.data));
|
|
1328
|
+
}, Ct = function(e, t) {
|
|
1329
|
+
return e instanceof RegExp ? or(e, t) : e instanceof Function && !!e(t, ...[...arguments].slice(2));
|
|
1330
|
+
}, wt = function(e, t, n) {
|
|
1331
|
+
if (!le[t] && kt(t) && Ct(ce.tagNameCheck, t)) return !1;
|
|
1332
1332
|
if (De && !Ae[t]) {
|
|
1333
1333
|
let t = _(e), r = g(e);
|
|
1334
1334
|
if (r && t) {
|
|
@@ -1339,35 +1339,35 @@ function Xr() {
|
|
|
1339
1339
|
}
|
|
1340
1340
|
}
|
|
1341
1341
|
}
|
|
1342
|
-
return
|
|
1343
|
-
},
|
|
1344
|
-
return e.length === 0 ? t : t === n || t === r ?
|
|
1345
|
-
},
|
|
1346
|
-
return e === t || _(e) !== null ? !1 : (Oe &&
|
|
1347
|
-
},
|
|
1348
|
-
if (
|
|
1349
|
-
if (
|
|
1350
|
-
let r =
|
|
1351
|
-
if (W =
|
|
1342
|
+
return ot(e), !0;
|
|
1343
|
+
}, Tt = function(e, t, n, r) {
|
|
1344
|
+
return e.length === 0 ? t : t === n || t === r ? dr(t) : t;
|
|
1345
|
+
}, Et = function(e, t) {
|
|
1346
|
+
return e === t || _(e) !== null ? !1 : (Oe && dt(e), !0);
|
|
1347
|
+
}, Y = function(e, n) {
|
|
1348
|
+
if (xt(z.beforeSanitizeElements, e, null), Et(e, n)) return !0;
|
|
1349
|
+
if (vt(e)) return ot(e), !0;
|
|
1350
|
+
let r = J(w(e));
|
|
1351
|
+
if (W = Tt(z.uponSanitizeElement, W, oe, ye), xt(z.uponSanitizeElement, e, {
|
|
1352
1352
|
tagName: r,
|
|
1353
1353
|
allowedTags: W
|
|
1354
|
-
}),
|
|
1355
|
-
if (
|
|
1354
|
+
}), Et(e, n)) return !0;
|
|
1355
|
+
if (St(e, r)) return ot(e), !0;
|
|
1356
1356
|
if (le[r] || !(ue.tagCheck instanceof Function && ue.tagCheck(r)) && !W[r]) {
|
|
1357
|
-
let t =
|
|
1358
|
-
return t === !1 &&
|
|
1357
|
+
let t = wt(e, r, n);
|
|
1358
|
+
return t === !1 && xt(z.afterSanitizeElements, e, null), t;
|
|
1359
1359
|
}
|
|
1360
|
-
if (C(e) ===
|
|
1361
|
-
if (he && e.nodeType ===
|
|
1362
|
-
let n =
|
|
1363
|
-
e.textContent !== n && (
|
|
1360
|
+
if (C(e) === Br.element && !at(e) || (r === "noscript" || r === "noembed" || r === "noframes") && or(Rr, e.innerHTML)) return ot(e), !0;
|
|
1361
|
+
if (he && e.nodeType === Br.text) {
|
|
1362
|
+
let n = gt(e.textContent);
|
|
1363
|
+
e.textContent !== n && (Gn(t.removed, { element: e.cloneNode() }), e.textContent = n);
|
|
1364
1364
|
}
|
|
1365
|
-
return
|
|
1366
|
-
},
|
|
1367
|
-
if (K[t] ||
|
|
1365
|
+
return xt(z.afterSanitizeElements, e, null), !1;
|
|
1366
|
+
}, Dt = function(e, t, r) {
|
|
1367
|
+
if (K[t] || ft(t, e) || Te && (t === "id" || t === "name") && (r in n || r in Ze)) return !1;
|
|
1368
1368
|
let i = G[t] || ue.attributeCheck instanceof Function && ue.attributeCheck(t, e);
|
|
1369
|
-
return fe &&
|
|
1370
|
-
},
|
|
1369
|
+
return fe && or(re, t) || de && or(V, t) ? !0 : i ? Pe[t] || or(ae, Zn(r, U, "")) || (t === "src" || t === "xlink:href" || t === "href") && e !== "script" && Qn(r, "data:") === 0 && Me[e] || pe && !or(H, Zn(r, U, "")) ? !0 : !r : kt(e) && Ct(ce.tagNameCheck, e) && Ct(ce.attributeNameCheck, t, e) || t === "is" && ce.allowCustomizedBuiltInElements && Ct(ce.tagNameCheck, r);
|
|
1370
|
+
}, Ot = Z({}, [
|
|
1371
1371
|
"annotation-xml",
|
|
1372
1372
|
"color-profile",
|
|
1373
1373
|
"font-face",
|
|
@@ -1376,67 +1376,67 @@ function Xr() {
|
|
|
1376
1376
|
"font-face-src",
|
|
1377
1377
|
"font-face-uri",
|
|
1378
1378
|
"missing-glyph"
|
|
1379
|
-
]),
|
|
1380
|
-
return !
|
|
1381
|
-
},
|
|
1379
|
+
]), kt = function(e) {
|
|
1380
|
+
return !Ot[Jn(e)] && or(ie, e);
|
|
1381
|
+
}, At = function(e, t, n, r) {
|
|
1382
1382
|
if (T && typeof u == "object" && typeof u.getAttributeType == "function" && !n) switch (u.getAttributeType(e, t)) {
|
|
1383
1383
|
case "TrustedHTML": return j(r);
|
|
1384
1384
|
case "TrustedScriptURL": return M(r);
|
|
1385
1385
|
}
|
|
1386
1386
|
return r;
|
|
1387
|
-
},
|
|
1387
|
+
}, jt = function(e, t, n, r) {
|
|
1388
1388
|
try {
|
|
1389
|
-
return n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r), !
|
|
1389
|
+
return n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r), !vt(e) || (ot(e), !1);
|
|
1390
1390
|
} catch {
|
|
1391
|
-
return
|
|
1391
|
+
return lt(t, e), !1;
|
|
1392
1392
|
}
|
|
1393
|
-
},
|
|
1394
|
-
|
|
1393
|
+
}, Mt = function(e) {
|
|
1394
|
+
xt(z.beforeSanitizeAttributes, e, null);
|
|
1395
1395
|
let n = e.attributes;
|
|
1396
|
-
if (!n ||
|
|
1397
|
-
G =
|
|
1396
|
+
if (!n || vt(e)) return;
|
|
1397
|
+
G = Tt(z.uponSanitizeAttribute, G, se, be);
|
|
1398
1398
|
let r = {
|
|
1399
1399
|
attrName: "",
|
|
1400
1400
|
attrValue: "",
|
|
1401
1401
|
keepAttr: !0,
|
|
1402
1402
|
allowedAttributes: G,
|
|
1403
1403
|
forceKeepAttr: void 0
|
|
1404
|
-
}, i = n.length, a =
|
|
1404
|
+
}, i = n.length, a = J(e.nodeName);
|
|
1405
1405
|
for (; i--;) {
|
|
1406
|
-
let o = n[i], s = o.name, c = o.namespaceURI, l = o.value, u =
|
|
1407
|
-
if (r.attrName = u, r.attrValue = f, r.keepAttr = !0, r.forceKeepAttr = void 0,
|
|
1408
|
-
|
|
1406
|
+
let o = n[i], s = o.name, c = o.namespaceURI, l = o.value, u = J(s), d = l, f = s === "value" ? d : $n(d), p = !1;
|
|
1407
|
+
if (r.attrName = u, r.attrValue = f, r.keepAttr = !0, r.forceKeepAttr = void 0, xt(z.uponSanitizeAttribute, e, r), f = r.attrValue, Ee && (u === "id" || u === "name") && Qn(f, q) !== 0 && (lt(s, e, o), f = q + f, p = !0), ge && or(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, f)) {
|
|
1408
|
+
lt(s, e, o);
|
|
1409
1409
|
continue;
|
|
1410
1410
|
}
|
|
1411
|
-
if (u === "attributename" &&
|
|
1412
|
-
|
|
1411
|
+
if (u === "attributename" && Xn(f, "href")) {
|
|
1412
|
+
lt(s, e, o);
|
|
1413
1413
|
continue;
|
|
1414
1414
|
}
|
|
1415
1415
|
if (!r.forceKeepAttr) {
|
|
1416
1416
|
if (!r.keepAttr) {
|
|
1417
|
-
|
|
1417
|
+
lt(s, e, o);
|
|
1418
1418
|
continue;
|
|
1419
1419
|
}
|
|
1420
|
-
if (!me &&
|
|
1421
|
-
|
|
1420
|
+
if (!me && or(zr, f)) {
|
|
1421
|
+
lt(s, e, o);
|
|
1422
1422
|
continue;
|
|
1423
1423
|
}
|
|
1424
|
-
if (he && (f =
|
|
1425
|
-
|
|
1424
|
+
if (he && (f = gt(f)), !Dt(a, u, f)) {
|
|
1425
|
+
lt(s, e, o);
|
|
1426
1426
|
continue;
|
|
1427
1427
|
}
|
|
1428
|
-
f =
|
|
1428
|
+
f = At(a, u, c, f), f !== d && jt(e, s, c, f) && p && Wn(t.removed);
|
|
1429
1429
|
}
|
|
1430
1430
|
}
|
|
1431
|
-
|
|
1432
|
-
},
|
|
1433
|
-
let t = null, n =
|
|
1434
|
-
for (
|
|
1431
|
+
xt(z.afterSanitizeAttributes, e, null);
|
|
1432
|
+
}, Nt = function(e) {
|
|
1433
|
+
let t = null, n = ht(e);
|
|
1434
|
+
for (xt(z.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if (xt(z.uponSanitizeShadowNode, t, null), Y(t, e), Mt(t), yt(t.content) && Nt(t.content), C(t) === Br.element) {
|
|
1435
1435
|
let e = v(t);
|
|
1436
|
-
|
|
1436
|
+
yt(e) && (Pt(e), Nt(e));
|
|
1437
1437
|
}
|
|
1438
|
-
|
|
1439
|
-
},
|
|
1438
|
+
xt(z.afterSanitizeShadowDOM, e, null);
|
|
1439
|
+
}, Pt = function(e) {
|
|
1440
1440
|
let t = [{
|
|
1441
1441
|
node: e,
|
|
1442
1442
|
shadow: null
|
|
@@ -1444,19 +1444,19 @@ function Xr() {
|
|
|
1444
1444
|
for (; t.length > 0;) {
|
|
1445
1445
|
let e = t.pop();
|
|
1446
1446
|
if (e.shadow) {
|
|
1447
|
-
|
|
1447
|
+
Nt(e.shadow);
|
|
1448
1448
|
continue;
|
|
1449
1449
|
}
|
|
1450
|
-
let n = e.node, r = C(n) ===
|
|
1450
|
+
let n = e.node, r = C(n) === Br.element, i = g(n);
|
|
1451
1451
|
if (i) for (let e = i.length - 1; e >= 0; --e) t.push({
|
|
1452
1452
|
node: i[e],
|
|
1453
1453
|
shadow: null
|
|
1454
1454
|
});
|
|
1455
1455
|
if (r) {
|
|
1456
1456
|
let e = x ? x(n) : null;
|
|
1457
|
-
if (typeof e == "string" &&
|
|
1457
|
+
if (typeof e == "string" && J(e) === "template") {
|
|
1458
1458
|
let e = n.content;
|
|
1459
|
-
|
|
1459
|
+
yt(e) && t.push({
|
|
1460
1460
|
node: e,
|
|
1461
1461
|
shadow: null
|
|
1462
1462
|
});
|
|
@@ -1464,7 +1464,7 @@ function Xr() {
|
|
|
1464
1464
|
}
|
|
1465
1465
|
if (r) {
|
|
1466
1466
|
let e = v(n);
|
|
1467
|
-
|
|
1467
|
+
yt(e) && t.push({
|
|
1468
1468
|
node: null,
|
|
1469
1469
|
shadow: e
|
|
1470
1470
|
}, {
|
|
@@ -1476,78 +1476,78 @@ function Xr() {
|
|
|
1476
1476
|
};
|
|
1477
1477
|
return t.sanitize = function(e) {
|
|
1478
1478
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
|
|
1479
|
-
if (Be = !e, Be && (e = "<!-->"), typeof e != "string" && !
|
|
1479
|
+
if (Be = !e, Be && (e = "<!-->"), typeof e != "string" && !bt(e) && (e = fr(e), typeof e != "string")) throw sr("dirty is not a string, aborting");
|
|
1480
1480
|
if (!t.isSupported) return e;
|
|
1481
|
-
ve ? (W = ye, G = be) :
|
|
1482
|
-
let c = Oe && typeof e != "string" &&
|
|
1481
|
+
ve ? (W = ye, G = be) : $e(n), (z.uponSanitizeElement.length > 0 || z.uponSanitizeAttribute.length > 0) && (W = dr(W)), z.uponSanitizeAttribute.length > 0 && (G = dr(G)), t.removed = [];
|
|
1482
|
+
let c = Oe && typeof e != "string" && bt(e);
|
|
1483
1483
|
if (c) {
|
|
1484
|
-
|
|
1484
|
+
pt(e);
|
|
1485
1485
|
let t = w(e);
|
|
1486
1486
|
if (typeof t == "string") {
|
|
1487
|
-
let n =
|
|
1488
|
-
if (!W[n] || le[n]) throw
|
|
1487
|
+
let n = J(t);
|
|
1488
|
+
if (!W[n] || le[n]) throw ct(e), sr("root node is forbidden and cannot be sanitized in-place");
|
|
1489
1489
|
}
|
|
1490
|
-
if (
|
|
1490
|
+
if (vt(e)) throw ct(e), sr("root node is clobbered and cannot be sanitized in-place");
|
|
1491
1491
|
try {
|
|
1492
|
-
|
|
1492
|
+
Pt(e);
|
|
1493
1493
|
} catch (t) {
|
|
1494
|
-
throw
|
|
1494
|
+
throw ct(e), t;
|
|
1495
1495
|
}
|
|
1496
|
-
} else if (
|
|
1496
|
+
} else if (bt(e)) i = mt("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === Br.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Pt(i);
|
|
1497
1497
|
else {
|
|
1498
1498
|
if (!Se && !he && !_e && e.indexOf("<") === -1) return T && we ? j(e) : e;
|
|
1499
|
-
if (i =
|
|
1499
|
+
if (i = mt(e), !i) return Se ? null : we ? E : "";
|
|
1500
1500
|
}
|
|
1501
|
-
i && xe &&
|
|
1501
|
+
i && xe && ot(i.firstChild);
|
|
1502
1502
|
let l = c ? e : i;
|
|
1503
1503
|
try {
|
|
1504
|
-
let e =
|
|
1505
|
-
for (; o = e.nextNode();)
|
|
1504
|
+
let e = ht(l);
|
|
1505
|
+
for (; o = e.nextNode();) Y(o, l), Mt(o), yt(o.content) && Nt(o.content);
|
|
1506
1506
|
} catch (n) {
|
|
1507
|
-
throw c && (
|
|
1508
|
-
e.element &&
|
|
1507
|
+
throw c && (ct(e), Hn(t.removed, (e) => {
|
|
1508
|
+
e.element && dt(e.element);
|
|
1509
1509
|
})), n;
|
|
1510
1510
|
}
|
|
1511
|
-
if (c) return
|
|
1512
|
-
e.element &&
|
|
1513
|
-
}), he &&
|
|
1511
|
+
if (c) return Hn(t.removed, (e) => {
|
|
1512
|
+
e.element && dt(e.element);
|
|
1513
|
+
}), he && _t(e), e;
|
|
1514
1514
|
if (Se) {
|
|
1515
|
-
if (he &&
|
|
1515
|
+
if (he && _t(i), Ce) for (s = I.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
|
|
1516
1516
|
else s = i;
|
|
1517
1517
|
return (G.shadowroot || G.shadowrootmode) && (s = R.call(r, s, !0)), s;
|
|
1518
1518
|
}
|
|
1519
1519
|
let u = _e ? i.outerHTML : i.innerHTML;
|
|
1520
|
-
return _e && W["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name &&
|
|
1520
|
+
return _e && W["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && or(Pr, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), he && (u = gt(u)), T && we ? j(u) : u;
|
|
1521
1521
|
}, t.setConfig = function() {
|
|
1522
1522
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1523
|
-
|
|
1523
|
+
$e(e), ve = !0, ye = W, be = G;
|
|
1524
1524
|
}, t.clearConfig = function() {
|
|
1525
|
-
|
|
1525
|
+
Xe = null, ve = !1, ye = null, be = null, T = D, E = "";
|
|
1526
1526
|
}, t.isValidAttribute = function(e, t, n) {
|
|
1527
|
-
|
|
1528
|
-
let r =
|
|
1529
|
-
return
|
|
1527
|
+
Xe || $e({});
|
|
1528
|
+
let r = J(e), i = J(t);
|
|
1529
|
+
return Dt(r, i, n);
|
|
1530
1530
|
}, t.addHook = function(e, t) {
|
|
1531
|
-
typeof t == "function" &&
|
|
1531
|
+
typeof t == "function" && ir(z, e) && Gn(z[e], t);
|
|
1532
1532
|
}, t.removeHook = function(e, t) {
|
|
1533
|
-
if (
|
|
1533
|
+
if (ir(z, e)) {
|
|
1534
1534
|
if (t !== void 0) {
|
|
1535
|
-
let n =
|
|
1536
|
-
return n === -1 ? void 0 :
|
|
1535
|
+
let n = Un(z[e], t);
|
|
1536
|
+
return n === -1 ? void 0 : Kn(z[e], n, 1)[0];
|
|
1537
1537
|
}
|
|
1538
|
-
return
|
|
1538
|
+
return Wn(z[e]);
|
|
1539
1539
|
}
|
|
1540
1540
|
}, t.removeHooks = function(e) {
|
|
1541
|
-
|
|
1541
|
+
ir(z, e) && (z[e] = []);
|
|
1542
1542
|
}, t.removeAllHooks = function() {
|
|
1543
|
-
z =
|
|
1543
|
+
z = Kr();
|
|
1544
1544
|
}, t;
|
|
1545
1545
|
}
|
|
1546
|
-
var
|
|
1547
|
-
function
|
|
1548
|
-
let t =
|
|
1546
|
+
var Xr = Yr(), Zr = {};
|
|
1547
|
+
function Qr(e) {
|
|
1548
|
+
let t = Zr[e];
|
|
1549
1549
|
if (t) return t;
|
|
1550
|
-
t =
|
|
1550
|
+
t = Zr[e] = [];
|
|
1551
1551
|
for (let e = 0; e < 128; e++) {
|
|
1552
1552
|
let n = String.fromCharCode(e);
|
|
1553
1553
|
t.push(n);
|
|
@@ -1558,9 +1558,9 @@ function $r(e) {
|
|
|
1558
1558
|
}
|
|
1559
1559
|
return t;
|
|
1560
1560
|
}
|
|
1561
|
-
function
|
|
1562
|
-
typeof t != "string" && (t =
|
|
1563
|
-
let n =
|
|
1561
|
+
function $r(e, t) {
|
|
1562
|
+
typeof t != "string" && (t = $r.defaultChars);
|
|
1563
|
+
let n = Qr(t);
|
|
1564
1564
|
return e.replace(/(%[a-f0-9]{2})+/gi, function(e) {
|
|
1565
1565
|
let t = "";
|
|
1566
1566
|
for (let r = 0, i = e.length; r < i; r += 3) {
|
|
@@ -1598,14 +1598,14 @@ function ei(e, t) {
|
|
|
1598
1598
|
return t;
|
|
1599
1599
|
});
|
|
1600
1600
|
}
|
|
1601
|
-
|
|
1601
|
+
$r.defaultChars = ";/?:@&=+$,#", $r.componentChars = "";
|
|
1602
1602
|
//#endregion
|
|
1603
1603
|
//#region node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/encode.mjs
|
|
1604
|
-
var
|
|
1605
|
-
function
|
|
1606
|
-
let t =
|
|
1604
|
+
var ei = {};
|
|
1605
|
+
function ti(e) {
|
|
1606
|
+
let t = ei[e];
|
|
1607
1607
|
if (t) return t;
|
|
1608
|
-
t =
|
|
1608
|
+
t = ei[e] = [];
|
|
1609
1609
|
for (let e = 0; e < 128; e++) {
|
|
1610
1610
|
let n = String.fromCharCode(e);
|
|
1611
1611
|
/^[0-9a-z]$/i.test(n) ? t.push(n) : t.push("%" + ("0" + e.toString(16).toUpperCase()).slice(-2));
|
|
@@ -1613,9 +1613,9 @@ function ni(e) {
|
|
|
1613
1613
|
for (let n = 0; n < e.length; n++) t[e.charCodeAt(n)] = e[n];
|
|
1614
1614
|
return t;
|
|
1615
1615
|
}
|
|
1616
|
-
function
|
|
1617
|
-
typeof t != "string" && (n = t, t =
|
|
1618
|
-
let r =
|
|
1616
|
+
function ni(e, t, n) {
|
|
1617
|
+
typeof t != "string" && (n = t, t = ni.defaultChars), n === void 0 && (n = !0);
|
|
1618
|
+
let r = ti(t), i = "";
|
|
1619
1619
|
for (let t = 0, a = e.length; t < a; t++) {
|
|
1620
1620
|
let o = e.charCodeAt(t);
|
|
1621
1621
|
if (n && o === 37 && t + 2 < a && /^[0-9a-f]{2}$/i.test(e.slice(t + 1, t + 3))) {
|
|
@@ -1641,19 +1641,19 @@ function ri(e, t, n) {
|
|
|
1641
1641
|
}
|
|
1642
1642
|
return i;
|
|
1643
1643
|
}
|
|
1644
|
-
|
|
1644
|
+
ni.defaultChars = ";/?:@&=+$,-_.!~*'()#", ni.componentChars = "-_.!~*'()";
|
|
1645
1645
|
//#endregion
|
|
1646
1646
|
//#region node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/format.mjs
|
|
1647
|
-
function
|
|
1647
|
+
function ri(e) {
|
|
1648
1648
|
let t = "";
|
|
1649
1649
|
return t += e.protocol || "", t += e.slashes ? "//" : "", t += e.auth ? e.auth + "@" : "", e.hostname && e.hostname.indexOf(":") !== -1 ? t += "[" + e.hostname + "]" : t += e.hostname || "", t += e.port ? ":" + e.port : "", t += e.pathname || "", t += e.search || "", t += e.hash || "", t;
|
|
1650
1650
|
}
|
|
1651
1651
|
//#endregion
|
|
1652
1652
|
//#region node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/parse.mjs
|
|
1653
|
-
function
|
|
1653
|
+
function ii() {
|
|
1654
1654
|
this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
|
|
1655
1655
|
}
|
|
1656
|
-
var
|
|
1656
|
+
var ai = /^([a-z0-9.+-]+:)/i, oi = /:[0-9]*$/, si = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, ci = [
|
|
1657
1657
|
"%",
|
|
1658
1658
|
"/",
|
|
1659
1659
|
"?",
|
|
@@ -1674,14 +1674,14 @@ var oi = /^([a-z0-9.+-]+:)/i, si = /:[0-9]*$/, ci = /^(\/\/?(?!\/)[^\?\s]*)(\?[^
|
|
|
1674
1674
|
"\r",
|
|
1675
1675
|
"\n",
|
|
1676
1676
|
" "
|
|
1677
|
-
],
|
|
1677
|
+
], li = [
|
|
1678
1678
|
"/",
|
|
1679
1679
|
"?",
|
|
1680
1680
|
"#"
|
|
1681
|
-
],
|
|
1681
|
+
], ui = 255, di = /^[+a-z0-9A-Z_-]{0,63}$/, fi = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, pi = {
|
|
1682
1682
|
javascript: !0,
|
|
1683
1683
|
"javascript:": !0
|
|
1684
|
-
},
|
|
1684
|
+
}, mi = {
|
|
1685
1685
|
http: !0,
|
|
1686
1686
|
https: !0,
|
|
1687
1687
|
ftp: !0,
|
|
@@ -1693,24 +1693,24 @@ var oi = /^([a-z0-9.+-]+:)/i, si = /:[0-9]*$/, ci = /^(\/\/?(?!\/)[^\?\s]*)(\?[^
|
|
|
1693
1693
|
"gopher:": !0,
|
|
1694
1694
|
"file:": !0
|
|
1695
1695
|
};
|
|
1696
|
-
function
|
|
1697
|
-
if (e && e instanceof
|
|
1698
|
-
let n = new
|
|
1696
|
+
function hi(e, t) {
|
|
1697
|
+
if (e && e instanceof ii) return e;
|
|
1698
|
+
let n = new ii();
|
|
1699
1699
|
return n.parse(e, t), n;
|
|
1700
1700
|
}
|
|
1701
|
-
|
|
1701
|
+
ii.prototype.parse = function(e, t) {
|
|
1702
1702
|
let n, r, i, a = e;
|
|
1703
1703
|
if (a = a.trim(), !t && e.split("#").length === 1) {
|
|
1704
|
-
let e =
|
|
1704
|
+
let e = si.exec(a);
|
|
1705
1705
|
if (e) return this.pathname = e[1], e[2] && (this.search = e[2]), this;
|
|
1706
1706
|
}
|
|
1707
|
-
let o =
|
|
1708
|
-
if (o && (o = o[0], n = o.toLowerCase(), this.protocol = o, a = a.substr(o.length)), (t || o || a.match(/^\/\/[^@\/]+@[^@\/]+/)) && (i = a.substr(0, 2) === "//", i && !(o &&
|
|
1707
|
+
let o = ai.exec(a);
|
|
1708
|
+
if (o && (o = o[0], n = o.toLowerCase(), this.protocol = o, a = a.substr(o.length)), (t || o || a.match(/^\/\/[^@\/]+@[^@\/]+/)) && (i = a.substr(0, 2) === "//", i && !(o && pi[o]) && (a = a.substr(2), this.slashes = !0)), !pi[o] && (i || o && !mi[o])) {
|
|
1709
1709
|
let e = -1;
|
|
1710
|
-
for (let t = 0; t <
|
|
1710
|
+
for (let t = 0; t < li.length; t++) r = a.indexOf(li[t]), r !== -1 && (e === -1 || r < e) && (e = r);
|
|
1711
1711
|
let t, n;
|
|
1712
1712
|
n = e === -1 ? a.lastIndexOf("@") : a.lastIndexOf("@", e), n !== -1 && (t = a.slice(0, n), a = a.slice(n + 1), this.auth = t), e = -1;
|
|
1713
|
-
for (let t = 0; t <
|
|
1713
|
+
for (let t = 0; t < ci.length; t++) r = a.indexOf(ci[t]), r !== -1 && (e === -1 || r < e) && (e = r);
|
|
1714
1714
|
e === -1 && (e = a.length), a[e - 1] === ":" && e--;
|
|
1715
1715
|
let i = a.slice(0, e);
|
|
1716
1716
|
a = a.slice(e), this.parseHost(i), this.hostname = this.hostname || "";
|
|
@@ -1719,42 +1719,42 @@ ai.prototype.parse = function(e, t) {
|
|
|
1719
1719
|
let e = this.hostname.split(/\./);
|
|
1720
1720
|
for (let t = 0, n = e.length; t < n; t++) {
|
|
1721
1721
|
let n = e[t];
|
|
1722
|
-
if (n && !n.match(
|
|
1722
|
+
if (n && !n.match(di)) {
|
|
1723
1723
|
let r = "";
|
|
1724
1724
|
for (let e = 0, t = n.length; e < t; e++) n.charCodeAt(e) > 127 ? r += "x" : r += n[e];
|
|
1725
|
-
if (!r.match(
|
|
1726
|
-
let r = e.slice(0, t), i = e.slice(t + 1), o = n.match(
|
|
1725
|
+
if (!r.match(di)) {
|
|
1726
|
+
let r = e.slice(0, t), i = e.slice(t + 1), o = n.match(fi);
|
|
1727
1727
|
o && (r.push(o[1]), i.unshift(o[2])), i.length && (a = i.join(".") + a), this.hostname = r.join(".");
|
|
1728
1728
|
break;
|
|
1729
1729
|
}
|
|
1730
1730
|
}
|
|
1731
1731
|
}
|
|
1732
1732
|
}
|
|
1733
|
-
this.hostname.length >
|
|
1733
|
+
this.hostname.length > ui && (this.hostname = ""), o && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
|
|
1734
1734
|
}
|
|
1735
1735
|
let s = a.indexOf("#");
|
|
1736
1736
|
s !== -1 && (this.hash = a.substr(s), a = a.slice(0, s));
|
|
1737
1737
|
let c = a.indexOf("?");
|
|
1738
|
-
return c !== -1 && (this.search = a.substr(c), a = a.slice(0, c)), a && (this.pathname = a),
|
|
1739
|
-
},
|
|
1740
|
-
let t =
|
|
1738
|
+
return c !== -1 && (this.search = a.substr(c), a = a.slice(0, c)), a && (this.pathname = a), mi[n] && this.hostname && !this.pathname && (this.pathname = ""), this;
|
|
1739
|
+
}, ii.prototype.parseHost = function(e) {
|
|
1740
|
+
let t = oi.exec(e);
|
|
1741
1741
|
t && (t = t[0], t !== ":" && (this.port = t.substr(1)), e = e.substr(0, e.length - t.length)), e && (this.hostname = e);
|
|
1742
1742
|
};
|
|
1743
1743
|
//#endregion
|
|
1744
1744
|
//#region node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/index.mjs
|
|
1745
|
-
var
|
|
1746
|
-
decode: () =>
|
|
1747
|
-
encode: () =>
|
|
1748
|
-
format: () =>
|
|
1749
|
-
parse: () =>
|
|
1750
|
-
}),
|
|
1751
|
-
Any: () =>
|
|
1752
|
-
Cc: () =>
|
|
1753
|
-
Cf: () =>
|
|
1754
|
-
P: () =>
|
|
1755
|
-
S: () =>
|
|
1756
|
-
Z: () =>
|
|
1757
|
-
}), Ti = new Uint16Array("ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻\"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌".split("").map((e) => e.charCodeAt(0))), Ei = new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e) => e.charCodeAt(0))), Di = /* @__PURE__ */ new Map([
|
|
1745
|
+
var gi = /* @__PURE__ */ $e({
|
|
1746
|
+
decode: () => $r,
|
|
1747
|
+
encode: () => ni,
|
|
1748
|
+
format: () => ri,
|
|
1749
|
+
parse: () => hi
|
|
1750
|
+
}), _i = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, vi = /[\0-\x1F\x7F-\x9F]/, yi = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/, bi = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, xi = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/, Si = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, Ci = /* @__PURE__ */ $e({
|
|
1751
|
+
Any: () => _i,
|
|
1752
|
+
Cc: () => vi,
|
|
1753
|
+
Cf: () => yi,
|
|
1754
|
+
P: () => bi,
|
|
1755
|
+
S: () => xi,
|
|
1756
|
+
Z: () => Si
|
|
1757
|
+
}), wi = new Uint16Array("ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻\"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌".split("").map((e) => e.charCodeAt(0))), Ti = new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e) => e.charCodeAt(0))), Ei = /* @__PURE__ */ new Map([
|
|
1758
1758
|
[0, 65533],
|
|
1759
1759
|
[128, 8364],
|
|
1760
1760
|
[130, 8218],
|
|
@@ -1783,61 +1783,61 @@ var _i = /* @__PURE__ */ et({
|
|
|
1783
1783
|
[156, 339],
|
|
1784
1784
|
[158, 382],
|
|
1785
1785
|
[159, 376]
|
|
1786
|
-
]),
|
|
1786
|
+
]), Di = String.fromCodePoint ?? function(e) {
|
|
1787
1787
|
let t = "";
|
|
1788
1788
|
return e > 65535 && (e -= 65536, t += String.fromCharCode(e >>> 10 & 1023 | 55296), e = 56320 | e & 1023), t += String.fromCharCode(e), t;
|
|
1789
1789
|
};
|
|
1790
|
-
function
|
|
1791
|
-
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 :
|
|
1790
|
+
function Oi(e) {
|
|
1791
|
+
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : Ei.get(e) ?? e;
|
|
1792
1792
|
}
|
|
1793
1793
|
//#endregion
|
|
1794
1794
|
//#region node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.js
|
|
1795
|
-
var
|
|
1795
|
+
var ki;
|
|
1796
1796
|
(function(e) {
|
|
1797
1797
|
e[e.NUM = 35] = "NUM", e[e.SEMI = 59] = "SEMI", e[e.EQUALS = 61] = "EQUALS", e[e.ZERO = 48] = "ZERO", e[e.NINE = 57] = "NINE", e[e.LOWER_A = 97] = "LOWER_A", e[e.LOWER_F = 102] = "LOWER_F", e[e.LOWER_X = 120] = "LOWER_X", e[e.LOWER_Z = 122] = "LOWER_Z", e[e.UPPER_A = 65] = "UPPER_A", e[e.UPPER_F = 70] = "UPPER_F", e[e.UPPER_Z = 90] = "UPPER_Z";
|
|
1798
|
-
})(
|
|
1799
|
-
var
|
|
1798
|
+
})(ki ||= {});
|
|
1799
|
+
var Ai = 32, ji;
|
|
1800
1800
|
(function(e) {
|
|
1801
1801
|
e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
1802
|
-
})(
|
|
1802
|
+
})(ji ||= {});
|
|
1803
|
+
function Mi(e) {
|
|
1804
|
+
return e >= ki.ZERO && e <= ki.NINE;
|
|
1805
|
+
}
|
|
1803
1806
|
function Ni(e) {
|
|
1804
|
-
return e >=
|
|
1807
|
+
return e >= ki.UPPER_A && e <= ki.UPPER_F || e >= ki.LOWER_A && e <= ki.LOWER_F;
|
|
1805
1808
|
}
|
|
1806
1809
|
function Pi(e) {
|
|
1807
|
-
return e >=
|
|
1810
|
+
return e >= ki.UPPER_A && e <= ki.UPPER_Z || e >= ki.LOWER_A && e <= ki.LOWER_Z || Mi(e);
|
|
1808
1811
|
}
|
|
1809
1812
|
function Fi(e) {
|
|
1810
|
-
return e
|
|
1811
|
-
}
|
|
1812
|
-
function Ii(e) {
|
|
1813
|
-
return e === Ai.EQUALS || Fi(e);
|
|
1813
|
+
return e === ki.EQUALS || Pi(e);
|
|
1814
1814
|
}
|
|
1815
|
-
var
|
|
1815
|
+
var Ii;
|
|
1816
1816
|
(function(e) {
|
|
1817
1817
|
e[e.EntityStart = 0] = "EntityStart", e[e.NumericStart = 1] = "NumericStart", e[e.NumericDecimal = 2] = "NumericDecimal", e[e.NumericHex = 3] = "NumericHex", e[e.NamedEntity = 4] = "NamedEntity";
|
|
1818
|
-
})(
|
|
1819
|
-
var
|
|
1818
|
+
})(Ii ||= {});
|
|
1819
|
+
var Li;
|
|
1820
1820
|
(function(e) {
|
|
1821
1821
|
e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
|
|
1822
|
-
})(
|
|
1823
|
-
var
|
|
1822
|
+
})(Li ||= {});
|
|
1823
|
+
var Ri = class {
|
|
1824
1824
|
constructor(e, t, n) {
|
|
1825
|
-
this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state =
|
|
1825
|
+
this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state = Ii.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = Li.Strict;
|
|
1826
1826
|
}
|
|
1827
1827
|
startEntity(e) {
|
|
1828
|
-
this.decodeMode = e, this.state =
|
|
1828
|
+
this.decodeMode = e, this.state = Ii.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
|
|
1829
1829
|
}
|
|
1830
1830
|
write(e, t) {
|
|
1831
1831
|
switch (this.state) {
|
|
1832
|
-
case
|
|
1833
|
-
case
|
|
1834
|
-
case
|
|
1835
|
-
case
|
|
1836
|
-
case
|
|
1832
|
+
case Ii.EntityStart: return e.charCodeAt(t) === ki.NUM ? (this.state = Ii.NumericStart, this.consumed += 1, this.stateNumericStart(e, t + 1)) : (this.state = Ii.NamedEntity, this.stateNamedEntity(e, t));
|
|
1833
|
+
case Ii.NumericStart: return this.stateNumericStart(e, t);
|
|
1834
|
+
case Ii.NumericDecimal: return this.stateNumericDecimal(e, t);
|
|
1835
|
+
case Ii.NumericHex: return this.stateNumericHex(e, t);
|
|
1836
|
+
case Ii.NamedEntity: return this.stateNamedEntity(e, t);
|
|
1837
1837
|
}
|
|
1838
1838
|
}
|
|
1839
1839
|
stateNumericStart(e, t) {
|
|
1840
|
-
return t >= e.length ? -1 : (e.charCodeAt(t) |
|
|
1840
|
+
return t >= e.length ? -1 : (e.charCodeAt(t) | Ai) === ki.LOWER_X ? (this.state = Ii.NumericHex, this.consumed += 1, this.stateNumericHex(e, t + 1)) : (this.state = Ii.NumericDecimal, this.stateNumericDecimal(e, t));
|
|
1841
1841
|
}
|
|
1842
1842
|
addToNumericResult(e, t, n, r) {
|
|
1843
1843
|
if (t !== n) {
|
|
@@ -1849,7 +1849,7 @@ var zi = class {
|
|
|
1849
1849
|
let n = t;
|
|
1850
1850
|
for (; t < e.length;) {
|
|
1851
1851
|
let r = e.charCodeAt(t);
|
|
1852
|
-
if (
|
|
1852
|
+
if (Mi(r) || Ni(r)) t += 1;
|
|
1853
1853
|
else return this.addToNumericResult(e, n, t, 16), this.emitNumericEntity(r, 3);
|
|
1854
1854
|
}
|
|
1855
1855
|
return this.addToNumericResult(e, n, t, 16), -1;
|
|
@@ -1858,7 +1858,7 @@ var zi = class {
|
|
|
1858
1858
|
let n = t;
|
|
1859
1859
|
for (; t < e.length;) {
|
|
1860
1860
|
let r = e.charCodeAt(t);
|
|
1861
|
-
if (
|
|
1861
|
+
if (Mi(r)) t += 1;
|
|
1862
1862
|
else return this.addToNumericResult(e, n, t, 10), this.emitNumericEntity(r, 2);
|
|
1863
1863
|
}
|
|
1864
1864
|
return this.addToNumericResult(e, n, t, 10), -1;
|
|
@@ -1866,44 +1866,44 @@ var zi = class {
|
|
|
1866
1866
|
emitNumericEntity(e, t) {
|
|
1867
1867
|
var n;
|
|
1868
1868
|
if (this.consumed <= t) return (n = this.errors) == null || n.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
1869
|
-
if (e ===
|
|
1870
|
-
else if (this.decodeMode ===
|
|
1871
|
-
return this.emitCodePoint(
|
|
1869
|
+
if (e === ki.SEMI) this.consumed += 1;
|
|
1870
|
+
else if (this.decodeMode === Li.Strict) return 0;
|
|
1871
|
+
return this.emitCodePoint(Oi(this.result), this.consumed), this.errors && (e !== ki.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
1872
1872
|
}
|
|
1873
1873
|
stateNamedEntity(e, t) {
|
|
1874
|
-
let { decodeTree: n } = this, r = n[this.treeIndex], i = (r &
|
|
1874
|
+
let { decodeTree: n } = this, r = n[this.treeIndex], i = (r & ji.VALUE_LENGTH) >> 14;
|
|
1875
1875
|
for (; t < e.length; t++, this.excess++) {
|
|
1876
1876
|
let a = e.charCodeAt(t);
|
|
1877
|
-
if (this.treeIndex =
|
|
1878
|
-
if (r = n[this.treeIndex], i = (r &
|
|
1879
|
-
if (a ===
|
|
1880
|
-
this.decodeMode !==
|
|
1877
|
+
if (this.treeIndex = Bi(n, r, this.treeIndex + Math.max(1, i), a), this.treeIndex < 0) return this.result === 0 || this.decodeMode === Li.Attribute && (i === 0 || Fi(a)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
1878
|
+
if (r = n[this.treeIndex], i = (r & ji.VALUE_LENGTH) >> 14, i !== 0) {
|
|
1879
|
+
if (a === ki.SEMI) return this.emitNamedEntityData(this.treeIndex, i, this.consumed + this.excess);
|
|
1880
|
+
this.decodeMode !== Li.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
1881
1881
|
}
|
|
1882
1882
|
}
|
|
1883
1883
|
return -1;
|
|
1884
1884
|
}
|
|
1885
1885
|
emitNotTerminatedNamedEntity() {
|
|
1886
1886
|
var e;
|
|
1887
|
-
let { result: t, decodeTree: n } = this, r = (n[t] &
|
|
1887
|
+
let { result: t, decodeTree: n } = this, r = (n[t] & ji.VALUE_LENGTH) >> 14;
|
|
1888
1888
|
return this.emitNamedEntityData(t, r, this.consumed), (e = this.errors) == null || e.missingSemicolonAfterCharacterReference(), this.consumed;
|
|
1889
1889
|
}
|
|
1890
1890
|
emitNamedEntityData(e, t, n) {
|
|
1891
1891
|
let { decodeTree: r } = this;
|
|
1892
|
-
return this.emitCodePoint(t === 1 ? r[e] & ~
|
|
1892
|
+
return this.emitCodePoint(t === 1 ? r[e] & ~ji.VALUE_LENGTH : r[e + 1], n), t === 3 && this.emitCodePoint(r[e + 2], n), n;
|
|
1893
1893
|
}
|
|
1894
1894
|
end() {
|
|
1895
1895
|
var e;
|
|
1896
1896
|
switch (this.state) {
|
|
1897
|
-
case
|
|
1898
|
-
case
|
|
1899
|
-
case
|
|
1900
|
-
case
|
|
1901
|
-
case
|
|
1897
|
+
case Ii.NamedEntity: return this.result !== 0 && (this.decodeMode !== Li.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
1898
|
+
case Ii.NumericDecimal: return this.emitNumericEntity(0, 2);
|
|
1899
|
+
case Ii.NumericHex: return this.emitNumericEntity(0, 3);
|
|
1900
|
+
case Ii.NumericStart: return (e = this.errors) == null || e.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
1901
|
+
case Ii.EntityStart: return 0;
|
|
1902
1902
|
}
|
|
1903
1903
|
}
|
|
1904
1904
|
};
|
|
1905
|
-
function
|
|
1906
|
-
let t = "", n = new
|
|
1905
|
+
function zi(e) {
|
|
1906
|
+
let t = "", n = new Ri(e, (e) => t += Di(e));
|
|
1907
1907
|
return function(e, r) {
|
|
1908
1908
|
let i = 0, a = 0;
|
|
1909
1909
|
for (; (a = e.indexOf("&", a)) >= 0;) {
|
|
@@ -1919,8 +1919,8 @@ function Bi(e) {
|
|
|
1919
1919
|
return t = "", o;
|
|
1920
1920
|
};
|
|
1921
1921
|
}
|
|
1922
|
-
function
|
|
1923
|
-
let i = (t &
|
|
1922
|
+
function Bi(e, t, n, r) {
|
|
1923
|
+
let i = (t & ji.BRANCH_LENGTH) >> 7, a = t & ji.JUMP_TABLE;
|
|
1924
1924
|
if (i === 0) return a !== 0 && r === a ? n : -1;
|
|
1925
1925
|
if (a) {
|
|
1926
1926
|
let t = r - a;
|
|
@@ -1935,47 +1935,47 @@ function Vi(e, t, n, r) {
|
|
|
1935
1935
|
}
|
|
1936
1936
|
return -1;
|
|
1937
1937
|
}
|
|
1938
|
-
var
|
|
1939
|
-
|
|
1940
|
-
function
|
|
1941
|
-
return
|
|
1938
|
+
var Vi = zi(wi);
|
|
1939
|
+
zi(Ti);
|
|
1940
|
+
function Hi(e, t = Li.Legacy) {
|
|
1941
|
+
return Vi(e, t);
|
|
1942
1942
|
}
|
|
1943
|
-
function
|
|
1944
|
-
return
|
|
1943
|
+
function Ui(e) {
|
|
1944
|
+
return Vi(e, Li.Strict);
|
|
1945
1945
|
}
|
|
1946
1946
|
//#endregion
|
|
1947
1947
|
//#region node_modules/.pnpm/markdown-it@14.3.1/node_modules/markdown-it/lib/common/utils.mjs
|
|
1948
|
-
var
|
|
1949
|
-
arrayReplaceAt: () =>
|
|
1948
|
+
var Wi = /* @__PURE__ */ $e({
|
|
1949
|
+
arrayReplaceAt: () => Xi,
|
|
1950
1950
|
asciiTrim: () => ya,
|
|
1951
|
-
assign: () =>
|
|
1952
|
-
escapeHtml: () =>
|
|
1953
|
-
escapeRE: () =>
|
|
1954
|
-
fromCodePoint: () =>
|
|
1955
|
-
has: () =>
|
|
1951
|
+
assign: () => Yi,
|
|
1952
|
+
escapeHtml: () => la,
|
|
1953
|
+
escapeRE: () => da,
|
|
1954
|
+
fromCodePoint: () => Qi,
|
|
1955
|
+
has: () => Ji,
|
|
1956
1956
|
isMdAsciiPunct: () => ga,
|
|
1957
1957
|
isPunctChar: () => ma,
|
|
1958
1958
|
isPunctCharCode: () => ha,
|
|
1959
|
-
isSpace: () =>
|
|
1960
|
-
isString: () =>
|
|
1961
|
-
isValidEntityCode: () =>
|
|
1959
|
+
isSpace: () => fa,
|
|
1960
|
+
isString: () => Ki,
|
|
1961
|
+
isValidEntityCode: () => Zi,
|
|
1962
1962
|
isWhiteSpace: () => pa,
|
|
1963
1963
|
lib: () => ba,
|
|
1964
1964
|
normalizeReference: () => _a,
|
|
1965
|
-
unescapeAll: () =>
|
|
1966
|
-
unescapeMd: () =>
|
|
1965
|
+
unescapeAll: () => ia,
|
|
1966
|
+
unescapeMd: () => ra
|
|
1967
1967
|
});
|
|
1968
|
-
function
|
|
1968
|
+
function Gi(e) {
|
|
1969
1969
|
return Object.prototype.toString.call(e);
|
|
1970
1970
|
}
|
|
1971
|
-
function
|
|
1972
|
-
return
|
|
1971
|
+
function Ki(e) {
|
|
1972
|
+
return Gi(e) === "[object String]";
|
|
1973
1973
|
}
|
|
1974
|
-
var
|
|
1975
|
-
function
|
|
1976
|
-
return
|
|
1974
|
+
var qi = Object.prototype.hasOwnProperty;
|
|
1975
|
+
function Ji(e, t) {
|
|
1976
|
+
return qi.call(e, t);
|
|
1977
1977
|
}
|
|
1978
|
-
function
|
|
1978
|
+
function Yi(e) {
|
|
1979
1979
|
return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
|
|
1980
1980
|
if (t) {
|
|
1981
1981
|
if (typeof t != "object") throw TypeError(t + "must be object");
|
|
@@ -1985,13 +1985,13 @@ function Xi(e) {
|
|
|
1985
1985
|
}
|
|
1986
1986
|
}), e;
|
|
1987
1987
|
}
|
|
1988
|
-
function
|
|
1988
|
+
function Xi(e, t, n) {
|
|
1989
1989
|
return [].concat(e.slice(0, t), n, e.slice(t + 1));
|
|
1990
1990
|
}
|
|
1991
|
-
function
|
|
1991
|
+
function Zi(e) {
|
|
1992
1992
|
return !(e >= 55296 && e <= 57343 || e >= 64976 && e <= 65007 || (e & 65535) == 65535 || (e & 65535) == 65534 || e >= 0 && e <= 8 || e === 11 || e >= 14 && e <= 31 || e >= 127 && e <= 159 || e > 1114111);
|
|
1993
1993
|
}
|
|
1994
|
-
function
|
|
1994
|
+
function Qi(e) {
|
|
1995
1995
|
if (e > 65535) {
|
|
1996
1996
|
e -= 65536;
|
|
1997
1997
|
let t = 55296 + (e >> 10), n = 56320 + (e & 1023);
|
|
@@ -1999,40 +1999,40 @@ function $i(e) {
|
|
|
1999
1999
|
}
|
|
2000
2000
|
return String.fromCharCode(e);
|
|
2001
2001
|
}
|
|
2002
|
-
var
|
|
2003
|
-
function
|
|
2004
|
-
if (t.charCodeAt(0) === 35 &&
|
|
2002
|
+
var $i = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, ea = RegExp($i.source + "|&([a-z#][a-z0-9]{1,31});", "gi"), ta = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
|
|
2003
|
+
function na(e, t) {
|
|
2004
|
+
if (t.charCodeAt(0) === 35 && ta.test(t)) {
|
|
2005
2005
|
let n = t[1].toLowerCase() === "x" ? parseInt(t.slice(2), 16) : parseInt(t.slice(1), 10);
|
|
2006
|
-
return
|
|
2006
|
+
return Zi(n) ? Qi(n) : e;
|
|
2007
2007
|
}
|
|
2008
|
-
let n =
|
|
2008
|
+
let n = Hi(e);
|
|
2009
2009
|
return n === e ? e : n;
|
|
2010
2010
|
}
|
|
2011
|
-
function
|
|
2012
|
-
return e.indexOf("\\") < 0 ? e : e.replace(
|
|
2011
|
+
function ra(e) {
|
|
2012
|
+
return e.indexOf("\\") < 0 ? e : e.replace($i, "$1");
|
|
2013
2013
|
}
|
|
2014
|
-
function
|
|
2015
|
-
return e.indexOf("\\") < 0 && e.indexOf("&") < 0 ? e : e.replace(
|
|
2016
|
-
return t ||
|
|
2014
|
+
function ia(e) {
|
|
2015
|
+
return e.indexOf("\\") < 0 && e.indexOf("&") < 0 ? e : e.replace(ea, function(e, t, n) {
|
|
2016
|
+
return t || na(e, n);
|
|
2017
2017
|
});
|
|
2018
2018
|
}
|
|
2019
|
-
var
|
|
2019
|
+
var aa = /[&<>"]/, oa = /[&<>"]/g, sa = {
|
|
2020
2020
|
"&": "&",
|
|
2021
2021
|
"<": "<",
|
|
2022
2022
|
">": ">",
|
|
2023
2023
|
"\"": """
|
|
2024
2024
|
};
|
|
2025
|
+
function ca(e) {
|
|
2026
|
+
return sa[e];
|
|
2027
|
+
}
|
|
2025
2028
|
function la(e) {
|
|
2026
|
-
return ca
|
|
2029
|
+
return aa.test(e) ? e.replace(oa, ca) : e;
|
|
2027
2030
|
}
|
|
2028
|
-
|
|
2029
|
-
|
|
2031
|
+
var ua = /[.?*+^$[\]\\(){}|-]/g;
|
|
2032
|
+
function da(e) {
|
|
2033
|
+
return e.replace(ua, "\\$&");
|
|
2030
2034
|
}
|
|
2031
|
-
var da = /[.?*+^$[\]\\(){}|-]/g;
|
|
2032
2035
|
function fa(e) {
|
|
2033
|
-
return e.replace(da, "\\$&");
|
|
2034
|
-
}
|
|
2035
|
-
function Z(e) {
|
|
2036
2036
|
switch (e) {
|
|
2037
2037
|
case 9:
|
|
2038
2038
|
case 32: return !0;
|
|
@@ -2057,10 +2057,10 @@ function pa(e) {
|
|
|
2057
2057
|
return !1;
|
|
2058
2058
|
}
|
|
2059
2059
|
function ma(e) {
|
|
2060
|
-
return
|
|
2060
|
+
return bi.test(e) || xi.test(e);
|
|
2061
2061
|
}
|
|
2062
2062
|
function ha(e) {
|
|
2063
|
-
return ma(
|
|
2063
|
+
return ma(Qi(e));
|
|
2064
2064
|
}
|
|
2065
2065
|
function ga(e) {
|
|
2066
2066
|
switch (e) {
|
|
@@ -2113,8 +2113,8 @@ function ya(e) {
|
|
|
2113
2113
|
return e.slice(t, n + 1);
|
|
2114
2114
|
}
|
|
2115
2115
|
var ba = {
|
|
2116
|
-
mdurl:
|
|
2117
|
-
ucmicro:
|
|
2116
|
+
mdurl: gi,
|
|
2117
|
+
ucmicro: Ci
|
|
2118
2118
|
};
|
|
2119
2119
|
//#endregion
|
|
2120
2120
|
//#region node_modules/.pnpm/markdown-it@14.3.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs
|
|
@@ -2144,7 +2144,7 @@ function Sa(e, t, n) {
|
|
|
2144
2144
|
if (e.charCodeAt(i) === 60) {
|
|
2145
2145
|
for (i++; i < n;) {
|
|
2146
2146
|
if (r = e.charCodeAt(i), r === 10 || r === 60) return a;
|
|
2147
|
-
if (r === 62) return a.pos = i + 1, a.str =
|
|
2147
|
+
if (r === 62) return a.pos = i + 1, a.str = ia(e.slice(t + 1, i)), a.ok = !0, a;
|
|
2148
2148
|
if (r === 92 && i + 1 < n) {
|
|
2149
2149
|
i += 2;
|
|
2150
2150
|
continue;
|
|
@@ -2170,7 +2170,7 @@ function Sa(e, t, n) {
|
|
|
2170
2170
|
}
|
|
2171
2171
|
i++;
|
|
2172
2172
|
}
|
|
2173
|
-
return t === i || o !== 0 ? a : (a.str =
|
|
2173
|
+
return t === i || o !== 0 ? a : (a.str = ia(e.slice(t, i)), a.pos = i, a.ok = !0, a);
|
|
2174
2174
|
}
|
|
2175
2175
|
//#endregion
|
|
2176
2176
|
//#region node_modules/.pnpm/markdown-it@14.3.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs
|
|
@@ -2190,33 +2190,33 @@ function Ca(e, t, n, r) {
|
|
|
2190
2190
|
t++, a++, r === 40 && (r = 41), o.marker = r;
|
|
2191
2191
|
}
|
|
2192
2192
|
for (; a < n;) {
|
|
2193
|
-
if (i = e.charCodeAt(a), i === o.marker) return o.pos = a + 1, o.str +=
|
|
2193
|
+
if (i = e.charCodeAt(a), i === o.marker) return o.pos = a + 1, o.str += ia(e.slice(t, a)), o.ok = !0, o;
|
|
2194
2194
|
if (i === 40 && o.marker === 41) return o;
|
|
2195
2195
|
i === 92 && a + 1 < n && a++, a++;
|
|
2196
2196
|
}
|
|
2197
|
-
return o.can_continue = !0, o.str +=
|
|
2197
|
+
return o.can_continue = !0, o.str += ia(e.slice(t, a)), o;
|
|
2198
2198
|
}
|
|
2199
2199
|
//#endregion
|
|
2200
2200
|
//#region node_modules/.pnpm/markdown-it@14.3.1/node_modules/markdown-it/lib/helpers/index.mjs
|
|
2201
|
-
var wa = /* @__PURE__ */
|
|
2201
|
+
var wa = /* @__PURE__ */ $e({
|
|
2202
2202
|
parseLinkDestination: () => Sa,
|
|
2203
2203
|
parseLinkLabel: () => xa,
|
|
2204
2204
|
parseLinkTitle: () => Ca
|
|
2205
2205
|
}), Ta = {};
|
|
2206
2206
|
Ta.code_inline = function(e, t, n, r, i) {
|
|
2207
2207
|
let a = e[t];
|
|
2208
|
-
return "<code" + i.renderAttrs(a) + ">" +
|
|
2208
|
+
return "<code" + i.renderAttrs(a) + ">" + la(a.content) + "</code>";
|
|
2209
2209
|
}, Ta.code_block = function(e, t, n, r, i) {
|
|
2210
2210
|
let a = e[t];
|
|
2211
|
-
return "<pre" + i.renderAttrs(a) + "><code>" +
|
|
2211
|
+
return "<pre" + i.renderAttrs(a) + "><code>" + la(e[t].content) + "</code></pre>\n";
|
|
2212
2212
|
}, Ta.fence = function(e, t, n, r, i) {
|
|
2213
|
-
let a = e[t], o = a.info ?
|
|
2213
|
+
let a = e[t], o = a.info ? ia(a.info).trim() : "", s = "", c = "";
|
|
2214
2214
|
if (o) {
|
|
2215
2215
|
let e = o.split(/(\s+)/g);
|
|
2216
2216
|
s = e[0], c = e.slice(2).join("");
|
|
2217
2217
|
}
|
|
2218
2218
|
let l;
|
|
2219
|
-
if (l = n.highlight && n.highlight(a.content, s, c) ||
|
|
2219
|
+
if (l = n.highlight && n.highlight(a.content, s, c) || la(a.content), l.indexOf("<pre") === 0) return l + "\n";
|
|
2220
2220
|
if (o) {
|
|
2221
2221
|
let e = a.attrIndex("class"), t = a.attrs ? a.attrs.slice() : [];
|
|
2222
2222
|
e < 0 ? t.push(["class", n.langPrefix + s]) : (t[e] = t[e].slice(), t[e][1] += " " + n.langPrefix + s);
|
|
@@ -2232,19 +2232,19 @@ Ta.code_inline = function(e, t, n, r, i) {
|
|
|
2232
2232
|
}, Ta.softbreak = function(e, t, n) {
|
|
2233
2233
|
return n.breaks ? n.xhtmlOut ? "<br />\n" : "<br>\n" : "\n";
|
|
2234
2234
|
}, Ta.text = function(e, t) {
|
|
2235
|
-
return
|
|
2235
|
+
return la(e[t].content);
|
|
2236
2236
|
}, Ta.html_block = function(e, t) {
|
|
2237
2237
|
return e[t].content;
|
|
2238
2238
|
}, Ta.html_inline = function(e, t) {
|
|
2239
2239
|
return e[t].content;
|
|
2240
2240
|
};
|
|
2241
2241
|
function Ea() {
|
|
2242
|
-
this.rules =
|
|
2242
|
+
this.rules = Yi({}, Ta);
|
|
2243
2243
|
}
|
|
2244
2244
|
Ea.prototype.renderAttrs = function(e) {
|
|
2245
2245
|
let t, n, r;
|
|
2246
2246
|
if (!e.attrs) return "";
|
|
2247
|
-
for (r = "", t = 0, n = e.attrs.length; t < n; t++) r += " " +
|
|
2247
|
+
for (r = "", t = 0, n = e.attrs.length; t < n; t++) r += " " + la(e.attrs[t][0]) + "=\"" + la(e.attrs[t][1]) + "\"";
|
|
2248
2248
|
return r;
|
|
2249
2249
|
}, Ea.prototype.renderToken = function(e, t, n) {
|
|
2250
2250
|
let r = e[t], i = "";
|
|
@@ -2621,7 +2621,7 @@ function no(e, t, n, r) {
|
|
|
2621
2621
|
for (let e = 0, t = 0, n = 0, r = 0, a = i.length, o = !1; t < a; t++) {
|
|
2622
2622
|
let s = i.charCodeAt(t);
|
|
2623
2623
|
if (!o) {
|
|
2624
|
-
if (
|
|
2624
|
+
if (fa(s)) {
|
|
2625
2625
|
n++, s === 9 ? r += 4 - r % 4 : r++;
|
|
2626
2626
|
continue;
|
|
2627
2627
|
}
|
|
@@ -2640,11 +2640,11 @@ no.prototype.push = function(e, t, n) {
|
|
|
2640
2640
|
for (let t = this.lineMax; e < t && !(this.bMarks[e] + this.tShift[e] < this.eMarks[e]); e++);
|
|
2641
2641
|
return e;
|
|
2642
2642
|
}, no.prototype.skipSpaces = function(e) {
|
|
2643
|
-
for (let t = this.src.length; e < t &&
|
|
2643
|
+
for (let t = this.src.length; e < t && fa(this.src.charCodeAt(e)); e++);
|
|
2644
2644
|
return e;
|
|
2645
2645
|
}, no.prototype.skipSpacesBack = function(e, t) {
|
|
2646
2646
|
if (e <= t) return e;
|
|
2647
|
-
for (; e > t;) if (!
|
|
2647
|
+
for (; e > t;) if (!fa(this.src.charCodeAt(--e))) return e + 1;
|
|
2648
2648
|
return e;
|
|
2649
2649
|
}, no.prototype.skipChars = function(e, t) {
|
|
2650
2650
|
for (let n = this.src.length; e < n && this.src.charCodeAt(e) === t; e++);
|
|
@@ -2660,7 +2660,7 @@ no.prototype.push = function(e, t, n) {
|
|
|
2660
2660
|
let e = 0, s = this.bMarks[o], c = s, l;
|
|
2661
2661
|
for (l = o + 1 < t || r ? this.eMarks[o] + 1 : this.eMarks[o]; c < l && e < n;) {
|
|
2662
2662
|
let t = this.src.charCodeAt(c);
|
|
2663
|
-
if (
|
|
2663
|
+
if (fa(t)) t === 9 ? e += 4 - (e + this.bsCount[o]) % 4 : e++;
|
|
2664
2664
|
else if (c - s < this.tShift[o]) e++;
|
|
2665
2665
|
else break;
|
|
2666
2666
|
c++;
|
|
@@ -2690,10 +2690,10 @@ function oo(e, t, n, r) {
|
|
|
2690
2690
|
let o = e.src.charCodeAt(a++);
|
|
2691
2691
|
if (o !== 124 && o !== 45 && o !== 58 || a >= e.eMarks[i]) return !1;
|
|
2692
2692
|
let s = e.src.charCodeAt(a++);
|
|
2693
|
-
if (s !== 124 && s !== 45 && s !== 58 && !
|
|
2693
|
+
if (s !== 124 && s !== 45 && s !== 58 && !fa(s) || o === 45 && fa(s)) return !1;
|
|
2694
2694
|
for (; a < e.eMarks[i];) {
|
|
2695
2695
|
let t = e.src.charCodeAt(a);
|
|
2696
|
-
if (t !== 124 && t !== 45 && t !== 58 && !
|
|
2696
|
+
if (t !== 124 && t !== 45 && t !== 58 && !fa(t)) return !1;
|
|
2697
2697
|
a++;
|
|
2698
2698
|
}
|
|
2699
2699
|
let c = io(e, t + 1), l = c.split("|"), u = [];
|
|
@@ -2811,7 +2811,7 @@ function lo(e, t, n, r) {
|
|
|
2811
2811
|
let o = t;
|
|
2812
2812
|
for (s.push(e.bMarks[m]), e.bMarks[m] = i; i < a;) {
|
|
2813
2813
|
let t = e.src.charCodeAt(i);
|
|
2814
|
-
if (
|
|
2814
|
+
if (fa(t)) t === 9 ? o += 4 - (o + e.bsCount[m] + +!!r) % 4 : o++;
|
|
2815
2815
|
else break;
|
|
2816
2816
|
i++;
|
|
2817
2817
|
}
|
|
@@ -2851,7 +2851,7 @@ function uo(e, t, n, r) {
|
|
|
2851
2851
|
let s = 1;
|
|
2852
2852
|
for (; a < i;) {
|
|
2853
2853
|
let t = e.src.charCodeAt(a++);
|
|
2854
|
-
if (t !== o && !
|
|
2854
|
+
if (t !== o && !fa(t)) return !1;
|
|
2855
2855
|
t === o && s++;
|
|
2856
2856
|
}
|
|
2857
2857
|
if (s < 3) return !1;
|
|
@@ -2864,7 +2864,7 @@ function uo(e, t, n, r) {
|
|
|
2864
2864
|
//#region node_modules/.pnpm/markdown-it@14.3.1/node_modules/markdown-it/lib/rules_block/list.mjs
|
|
2865
2865
|
function fo(e, t) {
|
|
2866
2866
|
let n = e.eMarks[t], r = e.bMarks[t] + e.tShift[t], i = e.src.charCodeAt(r++);
|
|
2867
|
-
return i !== 42 && i !== 45 && i !== 43 || r < n && !
|
|
2867
|
+
return i !== 42 && i !== 45 && i !== 43 || r < n && !fa(e.src.charCodeAt(r)) ? -1 : r;
|
|
2868
2868
|
}
|
|
2869
2869
|
function po(e, t) {
|
|
2870
2870
|
let n = e.bMarks[t] + e.tShift[t], r = e.eMarks[t], i = n;
|
|
@@ -2880,7 +2880,7 @@ function po(e, t) {
|
|
|
2880
2880
|
if (a === 41 || a === 46) break;
|
|
2881
2881
|
return -1;
|
|
2882
2882
|
}
|
|
2883
|
-
return i < r && (a = e.src.charCodeAt(i), !
|
|
2883
|
+
return i < r && (a = e.src.charCodeAt(i), !fa(a)) ? -1 : i;
|
|
2884
2884
|
}
|
|
2885
2885
|
function mo(e, t) {
|
|
2886
2886
|
let n = e.level + 2;
|
|
@@ -2981,7 +2981,7 @@ function go(e, t, n, r) {
|
|
|
2981
2981
|
if (e === 10) {
|
|
2982
2982
|
let e = s(o);
|
|
2983
2983
|
e !== null && (c += e, a = c.length, o++);
|
|
2984
|
-
} else if (!
|
|
2984
|
+
} else if (!fa(e)) break;
|
|
2985
2985
|
}
|
|
2986
2986
|
let u = e.md.helpers.parseLinkDestination(c, i, a);
|
|
2987
2987
|
if (!u.ok) return !1;
|
|
@@ -2994,7 +2994,7 @@ function go(e, t, n, r) {
|
|
|
2994
2994
|
if (e === 10) {
|
|
2995
2995
|
let e = s(o);
|
|
2996
2996
|
e !== null && (c += e, a = c.length, o++);
|
|
2997
|
-
} else if (!
|
|
2997
|
+
} else if (!fa(e)) break;
|
|
2998
2998
|
}
|
|
2999
2999
|
let h = e.md.helpers.parseLinkTitle(c, i, a);
|
|
3000
3000
|
for (; h.can_continue;) {
|
|
@@ -3003,8 +3003,8 @@ function go(e, t, n, r) {
|
|
|
3003
3003
|
c += t, i = a, a = c.length, o++, h = e.md.helpers.parseLinkTitle(c, i, a, h);
|
|
3004
3004
|
}
|
|
3005
3005
|
let g;
|
|
3006
|
-
for (i < a && m !== i && h.ok ? (g = h.str, i = h.pos) : (g = "", i = f, o = p); i < a &&
|
|
3007
|
-
if (i < a && c.charCodeAt(i) !== 10 && g) for (g = "", i = f, o = p; i < a &&
|
|
3006
|
+
for (i < a && m !== i && h.ok ? (g = h.str, i = h.pos) : (g = "", i = f, o = p); i < a && fa(c.charCodeAt(i));) i++;
|
|
3007
|
+
if (i < a && c.charCodeAt(i) !== 10 && g) for (g = "", i = f, o = p; i < a && fa(c.charCodeAt(i));) i++;
|
|
3008
3008
|
if (i < a && c.charCodeAt(i) !== 10) return !1;
|
|
3009
3009
|
let _ = _a(c.slice(1, l));
|
|
3010
3010
|
return _ ?
|
|
@@ -3080,11 +3080,11 @@ function wo(e, t, n, r) {
|
|
|
3080
3080
|
if (o !== 35 || i >= a) return !1;
|
|
3081
3081
|
let s = 1;
|
|
3082
3082
|
for (o = e.src.charCodeAt(++i); o === 35 && i < a && s <= 6;) s++, o = e.src.charCodeAt(++i);
|
|
3083
|
-
if (s > 6 || i < a && !
|
|
3083
|
+
if (s > 6 || i < a && !fa(o)) return !1;
|
|
3084
3084
|
if (r) return !0;
|
|
3085
3085
|
a = e.skipSpacesBack(a, i);
|
|
3086
3086
|
let c = e.skipCharsBack(a, 35, i);
|
|
3087
|
-
c > i &&
|
|
3087
|
+
c > i && fa(e.src.charCodeAt(c - 1)) && (a = c), e.line = t + 1;
|
|
3088
3088
|
let l = e.push("heading_open", "h" + String(s), 1);
|
|
3089
3089
|
l.markup = "########".slice(0, s), l.map = [t, e.line];
|
|
3090
3090
|
let u = e.push("inline", "", 0);
|
|
@@ -3360,7 +3360,7 @@ function Fo(e, t) {
|
|
|
3360
3360
|
} else e.pending = e.pending.slice(0, -1), e.push("softbreak", "br", 0);
|
|
3361
3361
|
} else e.push("softbreak", "br", 0);
|
|
3362
3362
|
}
|
|
3363
|
-
for (n++; n < i &&
|
|
3363
|
+
for (n++; n < i && fa(e.src.charCodeAt(n));) n++;
|
|
3364
3364
|
return e.pos = n, !0;
|
|
3365
3365
|
}
|
|
3366
3366
|
//#endregion
|
|
@@ -3375,7 +3375,7 @@ function Lo(e, t) {
|
|
|
3375
3375
|
if (e.src.charCodeAt(n) !== 92 || (n++, n >= r)) return !1;
|
|
3376
3376
|
let i = e.src.charCodeAt(n);
|
|
3377
3377
|
if (i === 10) {
|
|
3378
|
-
for (t || e.push("hardbreak", "br", 0), n++; n < r && (i = e.src.charCodeAt(n),
|
|
3378
|
+
for (t || e.push("hardbreak", "br", 0), n++; n < r && (i = e.src.charCodeAt(n), fa(i));) n++;
|
|
3379
3379
|
return e.pos = n, !0;
|
|
3380
3380
|
}
|
|
3381
3381
|
if (i === 32) {
|
|
@@ -3513,11 +3513,11 @@ function qo(e, t) {
|
|
|
3513
3513
|
if (p < 0) return !1;
|
|
3514
3514
|
let m = p + 1;
|
|
3515
3515
|
if (m < d && e.src.charCodeAt(m) === 40) {
|
|
3516
|
-
for (l = !1, m++; m < d && (n = e.src.charCodeAt(m),
|
|
3516
|
+
for (l = !1, m++; m < d && (n = e.src.charCodeAt(m), fa(n) || n === 10); m++);
|
|
3517
3517
|
if (m >= d) return !1;
|
|
3518
3518
|
if (c = m, i = e.md.helpers.parseLinkDestination(e.src, m, e.posMax), i.ok) {
|
|
3519
|
-
for (o = e.md.normalizeLink(i.str), e.md.validateLink(o) ? m = i.pos : o = "", c = m; m < d && (n = e.src.charCodeAt(m),
|
|
3520
|
-
if (i = e.md.helpers.parseLinkTitle(e.src, m, e.posMax), m < d && c !== m && i.ok) for (s = i.str, m = i.pos; m < d && (n = e.src.charCodeAt(m),
|
|
3519
|
+
for (o = e.md.normalizeLink(i.str), e.md.validateLink(o) ? m = i.pos : o = "", c = m; m < d && (n = e.src.charCodeAt(m), fa(n) || n === 10); m++);
|
|
3520
|
+
if (i = e.md.helpers.parseLinkTitle(e.src, m, e.posMax), m < d && c !== m && i.ok) for (s = i.str, m = i.pos; m < d && (n = e.src.charCodeAt(m), fa(n) || n === 10); m++);
|
|
3521
3521
|
}
|
|
3522
3522
|
(m >= d || e.src.charCodeAt(m) !== 41) && (l = !0), m++;
|
|
3523
3523
|
}
|
|
@@ -3541,10 +3541,10 @@ function Jo(e, t) {
|
|
|
3541
3541
|
let p = e.pos + 2, m = e.md.helpers.parseLinkLabel(e, e.pos + 1, !1);
|
|
3542
3542
|
if (m < 0) return !1;
|
|
3543
3543
|
if (a = m + 1, a < f && e.src.charCodeAt(a) === 40) {
|
|
3544
|
-
for (a++; a < f && (n = e.src.charCodeAt(a),
|
|
3544
|
+
for (a++; a < f && (n = e.src.charCodeAt(a), fa(n) || n === 10); a++);
|
|
3545
3545
|
if (a >= f) return !1;
|
|
3546
|
-
for (l = a, s = e.md.helpers.parseLinkDestination(e.src, a, e.posMax), s.ok && (u = e.md.normalizeLink(s.str), e.md.validateLink(u) ? a = s.pos : u = ""), l = a; a < f && (n = e.src.charCodeAt(a),
|
|
3547
|
-
if (s = e.md.helpers.parseLinkTitle(e.src, a, e.posMax), a < f && l !== a && s.ok) for (c = s.str, a = s.pos; a < f && (n = e.src.charCodeAt(a),
|
|
3546
|
+
for (l = a, s = e.md.helpers.parseLinkDestination(e.src, a, e.posMax), s.ok && (u = e.md.normalizeLink(s.str), e.md.validateLink(u) ? a = s.pos : u = ""), l = a; a < f && (n = e.src.charCodeAt(a), fa(n) || n === 10); a++);
|
|
3547
|
+
if (s = e.md.helpers.parseLinkTitle(e.src, a, e.posMax), a < f && l !== a && s.ok) for (c = s.str, a = s.pos; a < f && (n = e.src.charCodeAt(a), fa(n) || n === 10); a++);
|
|
3548
3548
|
else c = "";
|
|
3549
3549
|
if (a >= f || e.src.charCodeAt(a) !== 41) return e.pos = d, !1;
|
|
3550
3550
|
a++;
|
|
@@ -3641,14 +3641,14 @@ function is(e, t) {
|
|
|
3641
3641
|
if (r) {
|
|
3642
3642
|
if (!t) {
|
|
3643
3643
|
let t = r[1][0].toLowerCase() === "x" ? parseInt(r[1].slice(1), 16) : parseInt(r[1], 10), n = e.push("text_special", "", 0);
|
|
3644
|
-
n.content =
|
|
3644
|
+
n.content = Zi(t) ? Qi(t) : Qi(65533), n.markup = r[0], n.info = "entity";
|
|
3645
3645
|
}
|
|
3646
3646
|
return e.pos += r[0].length, !0;
|
|
3647
3647
|
}
|
|
3648
3648
|
} else {
|
|
3649
3649
|
let r = e.src.slice(n).match(rs);
|
|
3650
3650
|
if (r) {
|
|
3651
|
-
let n =
|
|
3651
|
+
let n = Ui(r[0]);
|
|
3652
3652
|
if (n !== r[0]) {
|
|
3653
3653
|
if (!t) {
|
|
3654
3654
|
let t = e.push("text_special", "", 0);
|
|
@@ -3772,7 +3772,7 @@ us.prototype.skipToken = function(e) {
|
|
|
3772
3772
|
//#region node_modules/.pnpm/linkify-it@5.0.2/node_modules/linkify-it/lib/re.mjs
|
|
3773
3773
|
function ds(e) {
|
|
3774
3774
|
let t = {};
|
|
3775
|
-
e ||= {}, t.src_Any =
|
|
3775
|
+
e ||= {}, t.src_Any = _i.source, t.src_Cc = vi.source, t.src_Z = Si.source, t.src_P = bi.source, t.src_ZPCc = [
|
|
3776
3776
|
t.src_Z,
|
|
3777
3777
|
t.src_P,
|
|
3778
3778
|
t.src_Cc
|
|
@@ -4168,28 +4168,28 @@ var oc = [
|
|
|
4168
4168
|
"mailto:"
|
|
4169
4169
|
];
|
|
4170
4170
|
function sc(e) {
|
|
4171
|
-
let t =
|
|
4171
|
+
let t = hi(e, !0);
|
|
4172
4172
|
if (t.hostname && (!t.protocol || oc.indexOf(t.protocol) >= 0)) try {
|
|
4173
4173
|
t.hostname = tc.toASCII(t.hostname);
|
|
4174
4174
|
} catch {}
|
|
4175
|
-
return ri(
|
|
4175
|
+
return ni(ri(t));
|
|
4176
4176
|
}
|
|
4177
4177
|
function cc(e) {
|
|
4178
|
-
let t =
|
|
4178
|
+
let t = hi(e, !0);
|
|
4179
4179
|
if (t.hostname && (!t.protocol || oc.indexOf(t.protocol) >= 0)) try {
|
|
4180
4180
|
t.hostname = tc.toUnicode(t.hostname);
|
|
4181
4181
|
} catch {}
|
|
4182
|
-
return
|
|
4182
|
+
return $r(ri(t), $r.defaultChars + "%");
|
|
4183
4183
|
}
|
|
4184
4184
|
function lc(e, t) {
|
|
4185
4185
|
if (!(this instanceof lc)) return new lc(e, t);
|
|
4186
|
-
t ||
|
|
4186
|
+
t || Ki(e) || (t = e || {}, e = "default"), this.inline = new us(), this.block = new Oo(), this.core = new to(), this.renderer = new Ea(), this.linkify = new Os(), this.validateLink = ac, this.normalizeLink = sc, this.normalizeLinkText = cc, this.utils = Wi, this.helpers = Yi({}, wa), this.options = {}, this.configure(e), t && this.set(t);
|
|
4187
4187
|
}
|
|
4188
4188
|
lc.prototype.set = function(e) {
|
|
4189
|
-
return
|
|
4189
|
+
return Yi(this.options, e), this;
|
|
4190
4190
|
}, lc.prototype.configure = function(e) {
|
|
4191
4191
|
let t = this;
|
|
4192
|
-
if (
|
|
4192
|
+
if (Ki(e)) {
|
|
4193
4193
|
let t = e;
|
|
4194
4194
|
if (e = nc[t], !e) throw Error("Wrong `markdown-it` preset \"" + t + "\", check name");
|
|
4195
4195
|
}
|
|
@@ -4266,7 +4266,7 @@ var uc = new lc({
|
|
|
4266
4266
|
"href",
|
|
4267
4267
|
"target",
|
|
4268
4268
|
"rel",
|
|
4269
|
-
|
|
4269
|
+
tn,
|
|
4270
4270
|
"class"
|
|
4271
4271
|
], pc = [
|
|
4272
4272
|
"br",
|
|
@@ -4280,8 +4280,8 @@ var uc = new lc({
|
|
|
4280
4280
|
], mc = /<(?:\/)?(?:div|p|li|h[1-6]|blockquote|pre)[^>]*>/gi, hc = /<\/(?:div|p|li|h[1-6]|blockquote|pre)>/gi, gc = /<(?:div|p|li|h[1-6]|blockquote|pre)[^>]*>/gi, _c = /(<(?:div|p|li|h[1-6]|blockquote|pre)[^>]*>)\s*<br\s*\/?>\s*(?=<\/(?:div|p|li|h[1-6]|blockquote|pre)>)/gi, vc = / /gi, yc = /https?:\/\/[^\s<>()]+[^\s<>().,!?;:]/i, bc = /(^|[\s([{"'`])((?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z]{2,}(?:\/[^\s<]*)?)/gi, xc = /[),.!?;:]+$/;
|
|
4281
4281
|
function Sc(e) {
|
|
4282
4282
|
if (!e) return "";
|
|
4283
|
-
let { shielded: t, tokens: n } =
|
|
4284
|
-
return
|
|
4283
|
+
let { shielded: t, tokens: n } = dn(e), r = t.replace(/\r\n?/g, "\n").replace(_c, "$1").replace(gc, "<br>").replace(hc, "").replace(vc, " ");
|
|
4284
|
+
return fn(Xr.sanitize(r, {
|
|
4285
4285
|
ALLOWED_TAGS: pc,
|
|
4286
4286
|
ALLOWED_ATTR: fc,
|
|
4287
4287
|
ALLOW_DATA_ATTR: !1
|
|
@@ -4289,24 +4289,24 @@ function Sc(e) {
|
|
|
4289
4289
|
}
|
|
4290
4290
|
function Cc(e, t) {
|
|
4291
4291
|
if (!e) return "";
|
|
4292
|
-
let n =
|
|
4292
|
+
let n = Sn(ln(e), t ?? {}).replace(/<br\s*\/?>/gi, "\n").replace(mc, (e) => e.startsWith("</") ? "\n" : "");
|
|
4293
4293
|
return (new DOMParser().parseFromString(`<div>${n}</div>`, "text/html").body.textContent ?? "").replace(/\u00a0/g, " ").trim();
|
|
4294
4294
|
}
|
|
4295
4295
|
var wc = 500, Tc = /* @__PURE__ */ new Map(), Ec = /* @__PURE__ */ new WeakMap(), Dc = {};
|
|
4296
4296
|
function Oc(e, t) {
|
|
4297
4297
|
if (!e) return "";
|
|
4298
4298
|
let n = t?.mentionNameByUid ?? Dc, r = Tc;
|
|
4299
|
-
|
|
4299
|
+
un(e) && (r = Ec.get(n) ?? /* @__PURE__ */ new Map(), Ec.set(n, r));
|
|
4300
4300
|
let i = r.get(e);
|
|
4301
4301
|
if (i !== void 0) return r.delete(e), r.set(e, i), i;
|
|
4302
4302
|
let a = kc(e, n);
|
|
4303
4303
|
return r.set(e, a), r.size > wc && r.delete(r.keys().next().value), a;
|
|
4304
4304
|
}
|
|
4305
4305
|
function kc(e, t) {
|
|
4306
|
-
let n =
|
|
4306
|
+
let n = ln(e), r = Sc(un(n) ? hn(n, t) : n);
|
|
4307
4307
|
if (!r) return "";
|
|
4308
4308
|
let i = uc.render(Lc(r));
|
|
4309
|
-
return
|
|
4309
|
+
return Xr.sanitize(i, {
|
|
4310
4310
|
ALLOWED_TAGS: dc,
|
|
4311
4311
|
ALLOWED_ATTR: fc,
|
|
4312
4312
|
ALLOW_DATA_ATTR: !1
|
|
@@ -4344,7 +4344,7 @@ function Fc(e) {
|
|
|
4344
4344
|
return e.replace(/\n{2,}/g, (e) => "\n" + "<br>".repeat(e.length - 1));
|
|
4345
4345
|
}
|
|
4346
4346
|
function Ic(e, t) {
|
|
4347
|
-
return e.replace(
|
|
4347
|
+
return e.replace(Zt, (e, n) => `<span class="${rn}">@${(t ?? []).find((e) => e.getUid?.() === n)?.getName?.() ?? n}</span>`);
|
|
4348
4348
|
}
|
|
4349
4349
|
function Lc(e) {
|
|
4350
4350
|
let t = new DOMParser().parseFromString(`<div>${e}</div>`, "text/html"), n = t.body.firstElementChild;
|
|
@@ -4387,23 +4387,23 @@ function Bc(e) {
|
|
|
4387
4387
|
function Vc(e, t) {
|
|
4388
4388
|
if (!e) return t;
|
|
4389
4389
|
switch (e.kind) {
|
|
4390
|
-
case "image": return
|
|
4391
|
-
case "video": return
|
|
4392
|
-
case "audio": return
|
|
4390
|
+
case "image": return Et("photo");
|
|
4391
|
+
case "video": return Et("video");
|
|
4392
|
+
case "audio": return Et("audio");
|
|
4393
4393
|
case "file": return e.name || t;
|
|
4394
4394
|
default: return t;
|
|
4395
4395
|
}
|
|
4396
4396
|
}
|
|
4397
|
-
function Hc(e, t =
|
|
4397
|
+
function Hc(e, t = Et("attachment")) {
|
|
4398
4398
|
return Vc(e[0], t);
|
|
4399
4399
|
}
|
|
4400
4400
|
function Uc(e, t) {
|
|
4401
|
-
let n =
|
|
4402
|
-
return n ?
|
|
4401
|
+
let n = ln(e ?? "");
|
|
4402
|
+
return n ? un(n) && t ? Sc(mn(n, t)) : Sc(n) : "";
|
|
4403
4403
|
}
|
|
4404
4404
|
function Wc(e) {
|
|
4405
4405
|
let t = Sc(e);
|
|
4406
|
-
return t ?
|
|
4406
|
+
return t ? gn(t) : "";
|
|
4407
4407
|
}
|
|
4408
4408
|
function Gc(e) {
|
|
4409
4409
|
return Cc(e).length > 0;
|
|
@@ -4411,16 +4411,16 @@ function Gc(e) {
|
|
|
4411
4411
|
function Kc(e, t) {
|
|
4412
4412
|
return Cc(e, t);
|
|
4413
4413
|
}
|
|
4414
|
-
function qc(e, t =
|
|
4414
|
+
function qc(e, t = Et("message"), n) {
|
|
4415
4415
|
if (e.kind === "poll" && e.poll) return e.poll.question;
|
|
4416
4416
|
let r = Kc(e.text, n);
|
|
4417
4417
|
return e.attachments.length > 0 ? r || Hc(e.attachments, t) : r || t;
|
|
4418
4418
|
}
|
|
4419
4419
|
function Jc(e, t = {}) {
|
|
4420
|
-
return
|
|
4420
|
+
return Sn(e, t);
|
|
4421
4421
|
}
|
|
4422
4422
|
function Yc(e) {
|
|
4423
|
-
return e.source?.getText?.() ||
|
|
4423
|
+
return e.source?.getText?.() || ln(e.text);
|
|
4424
4424
|
}
|
|
4425
4425
|
function Xc(e, t = !1, n = !0) {
|
|
4426
4426
|
if (!e) return "";
|
|
@@ -4460,9 +4460,9 @@ function $c(e) {
|
|
|
4460
4460
|
return Qc(e).join("\n").trim();
|
|
4461
4461
|
}
|
|
4462
4462
|
function el(e) {
|
|
4463
|
-
if (e.kind === "poll" && e.poll) return
|
|
4464
|
-
let t =
|
|
4465
|
-
return qc(e, e.attachments.length > 0 ?
|
|
4463
|
+
if (e.kind === "poll" && e.poll) return Et("pollPrefix", { question: e.poll.question });
|
|
4464
|
+
let t = bn(e.source);
|
|
4465
|
+
return qc(e, e.attachments.length > 0 ? Et("sentAnAttachment") : Et("youSentAMessage"), t);
|
|
4466
4466
|
}
|
|
4467
4467
|
//#endregion
|
|
4468
4468
|
//#region src/chat/offlineStore.ts
|
|
@@ -4872,10 +4872,10 @@ function Al(e, t) {
|
|
|
4872
4872
|
return {
|
|
4873
4873
|
uid: e.getUid(),
|
|
4874
4874
|
displayName: e.getName(),
|
|
4875
|
-
avatar:
|
|
4875
|
+
avatar: mt(e.getAvatar?.()) ?? "",
|
|
4876
4876
|
role: t ?? e.getScope?.() ?? "",
|
|
4877
4877
|
status: jl(e.getStatus?.()),
|
|
4878
|
-
lastSeen:
|
|
4878
|
+
lastSeen: Xt(e.getLastActiveAt?.())
|
|
4879
4879
|
};
|
|
4880
4880
|
}
|
|
4881
4881
|
function jl(e) {
|
|
@@ -4893,9 +4893,9 @@ function Fl() {
|
|
|
4893
4893
|
if (!r || !Ll(t, n, r)) return e(t, n);
|
|
4894
4894
|
let i = zl(r);
|
|
4895
4895
|
if (!i || !await Bl(i)) return e(t, n);
|
|
4896
|
-
let a =
|
|
4896
|
+
let a = ct();
|
|
4897
4897
|
if (!a) return e(t, n);
|
|
4898
|
-
let o = new URL(`/chats/messages/${encodeURIComponent(i)}`,
|
|
4898
|
+
let o = new URL(`/chats/messages/${encodeURIComponent(i)}`, rt().chatApiBaseUrl);
|
|
4899
4899
|
return o.search = r.search, e(o.toString(), {
|
|
4900
4900
|
...n,
|
|
4901
4901
|
headers: {
|
|
@@ -4977,7 +4977,7 @@ function Jl(e) {
|
|
|
4977
4977
|
//#region src/chat/client.ts
|
|
4978
4978
|
var Yl = null, Xl = null, Zl = null, Ql = null, $l = null;
|
|
4979
4979
|
function eu({ environment: e }) {
|
|
4980
|
-
|
|
4980
|
+
nt(e);
|
|
4981
4981
|
let t = D(!1), n = D(!1), r = D(!1), i = D(!1), o = D(!1), s = D(!1), c = D(!1), l = D(!1), u = D(!1), d = D(!1), f = D(!1), p = D(!1), m = D(typeof navigator < "u" && !navigator.onLine), h = D(!1), g = D(!1), _ = D(null), v = D(null), y = D([]), b = D([]), x = D([]), S = D([]), C = D(!1), w = D(!1), T = D(null), E = D(null), O = D(null), k = D(null), A = D([]), j = D({}), M = a(() => A.value.length), N = D(/* @__PURE__ */ new Map()), P = D(null), F = D(null), ee = D("video"), I = D("idle"), L = D(null), R = !0, z = a(() => {
|
|
4982
4982
|
let [e] = N.value.values();
|
|
4983
4983
|
return e ?? null;
|
|
@@ -4989,10 +4989,10 @@ function eu({ environment: e }) {
|
|
|
4989
4989
|
let e = ne();
|
|
4990
4990
|
if (e !== m.value) {
|
|
4991
4991
|
if (m.value = e, e) {
|
|
4992
|
-
p.value = !1,
|
|
4992
|
+
p.value = !1, ut();
|
|
4993
4993
|
return;
|
|
4994
4994
|
}
|
|
4995
|
-
|
|
4995
|
+
Te = !0, Ee || ft(!0);
|
|
4996
4996
|
}
|
|
4997
4997
|
}
|
|
4998
4998
|
function re(e) {
|
|
@@ -5002,7 +5002,7 @@ function eu({ environment: e }) {
|
|
|
5002
5002
|
n && (j.value = n);
|
|
5003
5003
|
}
|
|
5004
5004
|
function V(e) {
|
|
5005
|
-
re(Object.entries(
|
|
5005
|
+
re(Object.entries(bn(e)).map(([e, t]) => ({
|
|
5006
5006
|
uid: e,
|
|
5007
5007
|
displayName: t
|
|
5008
5008
|
})));
|
|
@@ -5020,7 +5020,7 @@ function eu({ environment: e }) {
|
|
|
5020
5020
|
}
|
|
5021
5021
|
}, de = () => {
|
|
5022
5022
|
I.value !== "idle" && Cr("timed-out");
|
|
5023
|
-
}, fe = null, pe = null, me = null, he = null, ge = null, _e = !1, ve = 0, ye = 0, be = 0, xe = /* @__PURE__ */ new Map(),
|
|
5023
|
+
}, fe = null, pe = null, me = null, he = null, ge = null, _e = !1, ve = 0, ye = 0, be = 0, xe = 0, Se = /* @__PURE__ */ new Map(), Ce = null, we = 0, Te = !1, Ee = !1, q = null, { pinnedMessages: De, loadingPinnedMessages: Oe, pinningEnabled: ke, pinnedMessagesLimit: Ae, restorePinnedMessages: je, refreshPinningCapabilities: Me, fetchPinnedMessages: Ne, pinMessage: Pe, unpinMessage: Fe, togglePinnedMessage: Ie, isMessagePinned: Le, applyPinnedMessage: Re, removeLocalPinnedMessage: ze, resetPinnedMessages: Be } = zt({
|
|
5024
5024
|
activeConversation: U,
|
|
5025
5025
|
activeConversationId: T,
|
|
5026
5026
|
conversations: y,
|
|
@@ -5033,22 +5033,22 @@ function eu({ environment: e }) {
|
|
|
5033
5033
|
replaceMessageInState: Kn,
|
|
5034
5034
|
persistCurrentCollections: Xn,
|
|
5035
5035
|
getErrorMessage: Q
|
|
5036
|
-
}),
|
|
5037
|
-
async function
|
|
5036
|
+
}), Ve = /* @__PURE__ */ new Map(), He = /* @__PURE__ */ new Set(), Ue = null, We = null, Ge = 0, Ke = null, qe = null, Je = 0, Ye = 0;
|
|
5037
|
+
async function J() {
|
|
5038
5038
|
if (await tu(e), Fl(), t.value) {
|
|
5039
5039
|
await Tn();
|
|
5040
5040
|
return;
|
|
5041
5041
|
}
|
|
5042
|
-
|
|
5042
|
+
it(), En(), t.value = !0, await Tn(), v.value && (Jt(v.value.uid), et(), _t(), Me(), !m.value && !Ee && ht());
|
|
5043
5043
|
}
|
|
5044
5044
|
async function Xe(e) {
|
|
5045
5045
|
_.value = null, n.value = !0;
|
|
5046
5046
|
try {
|
|
5047
|
-
await
|
|
5048
|
-
let t =
|
|
5049
|
-
n && t !== e && await
|
|
5050
|
-
let r = await
|
|
5051
|
-
n && n.getUid() !== i.getUid() && await $e(), v.value = fu(i),
|
|
5047
|
+
await J();
|
|
5048
|
+
let t = ct(), n = await X(K.getLoggedinUser(), It);
|
|
5049
|
+
n && t !== e && await X(K.logout(), It), lt(e);
|
|
5050
|
+
let r = await X(au(e), It), i = await X(K.login(r), Lt);
|
|
5051
|
+
n && n.getUid() !== i.getUid() && await $e(), v.value = fu(i), Jt(v.value.uid), g.value = !0, m.value = typeof navigator < "u" && !navigator.onLine, et(), _t(), Me(), Ee || await ht(), await xt(), pr();
|
|
5052
5052
|
} catch (e) {
|
|
5053
5053
|
throw zn(), _.value = Q(e, "Unable to sign in to chat."), e;
|
|
5054
5054
|
} finally {
|
|
@@ -5058,59 +5058,59 @@ function eu({ environment: e }) {
|
|
|
5058
5058
|
async function Ze() {
|
|
5059
5059
|
_.value = null;
|
|
5060
5060
|
try {
|
|
5061
|
-
|
|
5061
|
+
lt(null), pt(), await X(K.getLoggedinUser(), 2e4) && (await X(K.logout(), It), await $e());
|
|
5062
5062
|
} finally {
|
|
5063
5063
|
zn();
|
|
5064
5064
|
}
|
|
5065
5065
|
}
|
|
5066
5066
|
async function Qe() {
|
|
5067
|
-
let t = await
|
|
5067
|
+
let t = await X(ru(e), Lt), n = ct();
|
|
5068
5068
|
if (!n) throw Error("Not signed in to chat.");
|
|
5069
|
-
let r = await
|
|
5069
|
+
let r = await X(au(n), It), i = le.catch(() => void 0).then(() => X(t.loginWithAuthToken(r), Lt));
|
|
5070
5070
|
return le = i, await i, t;
|
|
5071
5071
|
}
|
|
5072
5072
|
async function $e() {
|
|
5073
5073
|
if ($l || nu()) try {
|
|
5074
|
-
let t = await
|
|
5075
|
-
t.isUserLoggedIn() && await
|
|
5074
|
+
let t = await X(ru(e), Lt);
|
|
5075
|
+
t.isUserLoggedIn() && await X(t.logout(), It);
|
|
5076
5076
|
} catch (e) {
|
|
5077
5077
|
console.warn("Unable to sign out of the calls SDK.", e);
|
|
5078
5078
|
}
|
|
5079
5079
|
}
|
|
5080
5080
|
function et() {
|
|
5081
|
-
let e =
|
|
5081
|
+
let e = Kt();
|
|
5082
5082
|
if (!e) {
|
|
5083
5083
|
q = null, A.value = [];
|
|
5084
5084
|
return;
|
|
5085
5085
|
}
|
|
5086
|
-
let t = `bcc-chat:${
|
|
5086
|
+
let t = `bcc-chat:${rt().appId}:${e}`;
|
|
5087
5087
|
tt(t), q = new fl(t), A.value = q.getQueue();
|
|
5088
5088
|
}
|
|
5089
5089
|
function tt(e) {
|
|
5090
5090
|
if (typeof window > "u") return;
|
|
5091
|
-
let t = `bcc-chat:${
|
|
5091
|
+
let t = `bcc-chat:${rt().appId}:`, n = [], r = `${e}:`, i = (n) => n.startsWith(t) && n !== e && !n.startsWith(r);
|
|
5092
5092
|
for (let e = 0; e < window.localStorage.length; e += 1) {
|
|
5093
5093
|
let t = window.localStorage.key(e);
|
|
5094
5094
|
t && i(t) && n.push(t);
|
|
5095
5095
|
}
|
|
5096
5096
|
n.forEach((e) => window.localStorage.removeItem(e)), dl(i);
|
|
5097
5097
|
}
|
|
5098
|
-
function
|
|
5098
|
+
function it() {
|
|
5099
5099
|
G || typeof window > "u" || (window.addEventListener("online", B), window.addEventListener("offline", B), window.addEventListener("focus", ot), window.addEventListener("pagehide", ul), document.addEventListener("visibilitychange", at), G = !0, B());
|
|
5100
5100
|
}
|
|
5101
5101
|
function at() {
|
|
5102
5102
|
if (document.visibilityState === "hidden") {
|
|
5103
|
-
|
|
5103
|
+
Ce ??= Date.now(), ul(), B();
|
|
5104
5104
|
return;
|
|
5105
5105
|
}
|
|
5106
5106
|
ot();
|
|
5107
5107
|
}
|
|
5108
5108
|
function ot() {
|
|
5109
5109
|
B();
|
|
5110
|
-
let e =
|
|
5111
|
-
if (
|
|
5110
|
+
let e = Ce === null ? 0 : Date.now() - Ce;
|
|
5111
|
+
if (Ce = null, !(m.value || Ee || !g.value)) {
|
|
5112
5112
|
if (st()) {
|
|
5113
|
-
|
|
5113
|
+
Te = !0, ht();
|
|
5114
5114
|
return;
|
|
5115
5115
|
}
|
|
5116
5116
|
e >= gu && gt();
|
|
@@ -5119,36 +5119,36 @@ function eu({ environment: e }) {
|
|
|
5119
5119
|
function st() {
|
|
5120
5120
|
return K.getConnectionStatus() === K.CONNECTION_STATUS.DISCONNECTED;
|
|
5121
5121
|
}
|
|
5122
|
-
function
|
|
5122
|
+
function ut() {
|
|
5123
5123
|
fe !== null && (clearTimeout(fe), fe = null);
|
|
5124
5124
|
}
|
|
5125
5125
|
function dt() {
|
|
5126
|
-
return !!
|
|
5126
|
+
return !!ct();
|
|
5127
5127
|
}
|
|
5128
5128
|
function ft(e = !1) {
|
|
5129
|
-
if (fe !== null || pe || m.value ||
|
|
5130
|
-
let t = e ? 0 : Math.min(3e4, 1e3 * 2 ** Math.min(
|
|
5129
|
+
if (fe !== null || pe || m.value || Ee || !g.value && !dt()) return;
|
|
5130
|
+
let t = e ? 0 : Math.min(3e4, 1e3 * 2 ** Math.min(we, 4));
|
|
5131
5131
|
fe = setTimeout(() => {
|
|
5132
|
-
fe = null,
|
|
5132
|
+
fe = null, ht();
|
|
5133
5133
|
}, t);
|
|
5134
5134
|
}
|
|
5135
|
-
async function
|
|
5136
|
-
if (B(), !(m.value ||
|
|
5137
|
-
|
|
5135
|
+
async function ht() {
|
|
5136
|
+
if (B(), !(m.value || Ee || !g.value && !dt())) return pe || (pe = (async () => {
|
|
5137
|
+
ut();
|
|
5138
5138
|
let e = !1;
|
|
5139
5139
|
try {
|
|
5140
|
-
let e = await
|
|
5140
|
+
let e = await X(K.getLoggedinUser(), It);
|
|
5141
5141
|
if (!e) {
|
|
5142
|
-
let t =
|
|
5142
|
+
let t = ct();
|
|
5143
5143
|
if (!t) return;
|
|
5144
|
-
let n = await
|
|
5145
|
-
e = await
|
|
5144
|
+
let n = await X(au(t), It);
|
|
5145
|
+
e = await X(K.login(n), Lt);
|
|
5146
5146
|
}
|
|
5147
5147
|
v.value = fu(e), g.value = !0, et();
|
|
5148
5148
|
let t = K.connect;
|
|
5149
|
-
typeof t == "function" && (await
|
|
5149
|
+
typeof t == "function" && (await X(t.call(K), Lt), p.value = !0), we = 0, Te && await gt();
|
|
5150
5150
|
} catch (t) {
|
|
5151
|
-
p.value = !1,
|
|
5151
|
+
p.value = !1, we += 1, ar(t) || (_.value = Q(t, "Unable to reconnect to chat.")), e = !0;
|
|
5152
5152
|
} finally {
|
|
5153
5153
|
pe = null;
|
|
5154
5154
|
}
|
|
@@ -5156,8 +5156,8 @@ function eu({ environment: e }) {
|
|
|
5156
5156
|
})(), pe);
|
|
5157
5157
|
}
|
|
5158
5158
|
async function gt() {
|
|
5159
|
-
return me || m.value ||
|
|
5160
|
-
|
|
5159
|
+
return me || m.value || Ee || !g.value && !dt() || (me = (async () => {
|
|
5160
|
+
Te = !1, _.value = null;
|
|
5161
5161
|
try {
|
|
5162
5162
|
await xt(), pr(), nn();
|
|
5163
5163
|
} finally {
|
|
@@ -5176,15 +5176,15 @@ function eu({ environment: e }) {
|
|
|
5176
5176
|
return b.value = t, t.length > 0;
|
|
5177
5177
|
}
|
|
5178
5178
|
async function yt() {
|
|
5179
|
-
|
|
5179
|
+
Ee = !1, Te = !0, await ht();
|
|
5180
5180
|
}
|
|
5181
5181
|
async function bt() {
|
|
5182
|
-
|
|
5182
|
+
Ee = !0, Te = !1, ut();
|
|
5183
5183
|
let e = K.disconnect;
|
|
5184
5184
|
typeof e == "function" && await e.call(K), p.value = !1;
|
|
5185
5185
|
}
|
|
5186
5186
|
async function xt() {
|
|
5187
|
-
if (await
|
|
5187
|
+
if (await J(), B(), r.value = !0, _.value = null, m.value) {
|
|
5188
5188
|
let e = q?.getConversations() ?? [];
|
|
5189
5189
|
y.value = wu(e), U.value && await hn(), r.value = !1;
|
|
5190
5190
|
return;
|
|
@@ -5192,13 +5192,13 @@ function eu({ environment: e }) {
|
|
|
5192
5192
|
try {
|
|
5193
5193
|
let e = new K.ConversationsRequestBuilder().setLimit(50).withTags(!0).build(), t = [], n = [];
|
|
5194
5194
|
do
|
|
5195
|
-
n = await
|
|
5195
|
+
n = await X(e.fetchNext(), It), t.push(...n.map((e) => ou(e, v.value?.uid)));
|
|
5196
5196
|
while (n.length === 50);
|
|
5197
5197
|
let r = new Set(t.filter((e) => e.type === "user").map((e) => e.targetId));
|
|
5198
5198
|
for (let e of y.value) {
|
|
5199
5199
|
if (e.type !== "user" || !r.has(e.targetId)) continue;
|
|
5200
5200
|
let n = t.find((t) => t.type === "user" && t.targetId === e.targetId);
|
|
5201
|
-
n && n.id !== e.id && (
|
|
5201
|
+
n && n.id !== e.id && (Dt(e.id, n.id), T.value === e.id && (T.value = n.id));
|
|
5202
5202
|
}
|
|
5203
5203
|
t.push(...y.value.filter((e) => e.type === "user" && !r.has(e.targetId) && e.id === St(e.targetId)));
|
|
5204
5204
|
let i = new Map(y.value.map((e) => [e.id, e]));
|
|
@@ -5223,12 +5223,12 @@ function eu({ environment: e }) {
|
|
|
5223
5223
|
}
|
|
5224
5224
|
function Ct(e) {
|
|
5225
5225
|
let t = y.value.find((t) => t.type === "user" && t.targetId === e.targetId && t.id !== e.id);
|
|
5226
|
-
t &&
|
|
5226
|
+
t && Dt(t.id, e.id), y.value = wu([e, ...y.value.filter((t) => t.id !== e.id && (t.type !== "user" || t.targetId !== e.targetId))]), q?.setConversations(y.value);
|
|
5227
5227
|
}
|
|
5228
5228
|
async function wt(e) {
|
|
5229
5229
|
let t = e?.trim();
|
|
5230
5230
|
if (!t) throw Error("A user uid is required to start a direct message.");
|
|
5231
|
-
if (await
|
|
5231
|
+
if (await J(), !g.value) throw Error("Sign in before starting a direct message.");
|
|
5232
5232
|
if (t === v.value?.uid) throw Error("Cannot start a direct message with yourself.");
|
|
5233
5233
|
let n = y.value.find((e) => e.type === "user" && e.targetId === t);
|
|
5234
5234
|
if (m.value) {
|
|
@@ -5256,14 +5256,14 @@ function eu({ environment: e }) {
|
|
|
5256
5256
|
type: "user",
|
|
5257
5257
|
title: String(e?.getName?.() ?? t),
|
|
5258
5258
|
subtitle: "No messages yet",
|
|
5259
|
-
avatar:
|
|
5259
|
+
avatar: mt(e?.getAvatar?.()),
|
|
5260
5260
|
unreadCount: 0,
|
|
5261
5261
|
hasJoined: !0,
|
|
5262
5262
|
tags: [],
|
|
5263
5263
|
source: { getConversationWith: () => e }
|
|
5264
5264
|
};
|
|
5265
5265
|
}
|
|
5266
|
-
function
|
|
5266
|
+
function Y(e, t) {
|
|
5267
5267
|
if (e.getReceiverType?.() !== K.RECEIVER_TYPE.USER) return null;
|
|
5268
5268
|
let n = v.value?.uid, r = e.getSender?.()?.getUid?.(), i = r && r !== n ? r : e.getReceiverId?.();
|
|
5269
5269
|
if (!i) return null;
|
|
@@ -5273,9 +5273,9 @@ function eu({ environment: e }) {
|
|
|
5273
5273
|
...a,
|
|
5274
5274
|
id: t
|
|
5275
5275
|
};
|
|
5276
|
-
return y.value = y.value.map((e) => e.id === a.id ? o : e),
|
|
5276
|
+
return y.value = y.value.map((e) => e.id === a.id ? o : e), Dt(a.id, t), T.value === a.id && (T.value = t), o;
|
|
5277
5277
|
}
|
|
5278
|
-
function
|
|
5278
|
+
function Dt(e, t) {
|
|
5279
5279
|
e !== t && (q?.renameConversation(e, t), A.value = A.value.map((n) => n.conversationId === e ? {
|
|
5280
5280
|
...n,
|
|
5281
5281
|
conversationId: t
|
|
@@ -5285,7 +5285,7 @@ function eu({ environment: e }) {
|
|
|
5285
5285
|
} : n));
|
|
5286
5286
|
}
|
|
5287
5287
|
async function Ot(e) {
|
|
5288
|
-
T.value = e, E.value = null, x.value = [],
|
|
5288
|
+
T.value = e, E.value = null, x.value = [], We = null, w.value = !1, O.value = null, k.value = null, U.value?.targetId !== Ke && (Ke = null, Ye = 0, Qt()), vt(e), je(e), await hn(), Ne(e ?? void 0);
|
|
5289
5289
|
}
|
|
5290
5290
|
function kt(e) {
|
|
5291
5291
|
e && (k.value = null), O.value = e;
|
|
@@ -5294,10 +5294,10 @@ function eu({ environment: e }) {
|
|
|
5294
5294
|
e && (O.value = null), k.value = e;
|
|
5295
5295
|
}
|
|
5296
5296
|
async function jt(e) {
|
|
5297
|
-
E.value = e,
|
|
5297
|
+
E.value = e, We = null, w.value = !1, O.value = null, k.value = null, await vn(e.id);
|
|
5298
5298
|
}
|
|
5299
5299
|
function Mt() {
|
|
5300
|
-
E.value = null, x.value = [],
|
|
5300
|
+
E.value = null, x.value = [], We = null, w.value = !1, O.value = null, k.value = null;
|
|
5301
5301
|
}
|
|
5302
5302
|
async function Nt(e, t) {
|
|
5303
5303
|
if (u.value) return;
|
|
@@ -5316,7 +5316,7 @@ function eu({ environment: e }) {
|
|
|
5316
5316
|
or(n, r, o, i, a), O.value = null;
|
|
5317
5317
|
return;
|
|
5318
5318
|
}
|
|
5319
|
-
|
|
5319
|
+
ur(tr({
|
|
5320
5320
|
conversation: n,
|
|
5321
5321
|
kind: "text",
|
|
5322
5322
|
text: r,
|
|
@@ -5368,7 +5368,7 @@ function eu({ environment: e }) {
|
|
|
5368
5368
|
await lr(n, e, a, r, i), O.value = null;
|
|
5369
5369
|
return;
|
|
5370
5370
|
}
|
|
5371
|
-
|
|
5371
|
+
ur(tr({
|
|
5372
5372
|
conversation: n,
|
|
5373
5373
|
kind: o,
|
|
5374
5374
|
text: e.caption?.trim() ?? "",
|
|
@@ -5397,7 +5397,7 @@ function eu({ environment: e }) {
|
|
|
5397
5397
|
u.value = !1;
|
|
5398
5398
|
}
|
|
5399
5399
|
}
|
|
5400
|
-
async function
|
|
5400
|
+
async function Rt(e, t) {
|
|
5401
5401
|
if (u.value) return;
|
|
5402
5402
|
let n = U.value;
|
|
5403
5403
|
if (!n) return;
|
|
@@ -5413,7 +5413,7 @@ function eu({ environment: e }) {
|
|
|
5413
5413
|
}, s, a, o), O.value = null;
|
|
5414
5414
|
return;
|
|
5415
5415
|
}
|
|
5416
|
-
|
|
5416
|
+
ur(tr({
|
|
5417
5417
|
conversation: n,
|
|
5418
5418
|
kind: "poll",
|
|
5419
5419
|
text: `Poll: ${r}`,
|
|
@@ -5448,7 +5448,7 @@ function eu({ environment: e }) {
|
|
|
5448
5448
|
u.value = !1;
|
|
5449
5449
|
}
|
|
5450
5450
|
}
|
|
5451
|
-
async function
|
|
5451
|
+
async function Bt(e, t) {
|
|
5452
5452
|
if (u.value || m.value || ![
|
|
5453
5453
|
"text",
|
|
5454
5454
|
"image",
|
|
@@ -5568,50 +5568,50 @@ function eu({ environment: e }) {
|
|
|
5568
5568
|
}
|
|
5569
5569
|
}
|
|
5570
5570
|
}
|
|
5571
|
-
function
|
|
5572
|
-
return
|
|
5571
|
+
function qt(e) {
|
|
5572
|
+
return Yt(e);
|
|
5573
5573
|
}
|
|
5574
|
-
async function
|
|
5575
|
-
let n = t?.silent ?? !1, r = e ?? U.value?.targetId, i = v.value?.uid, a = ++
|
|
5574
|
+
async function Yt(e, t) {
|
|
5575
|
+
let n = t?.silent ?? !1, r = e ?? U.value?.targetId, i = v.value?.uid, a = ++Ge;
|
|
5576
5576
|
if (Qt(), !r || !i) {
|
|
5577
|
-
a ===
|
|
5577
|
+
a === Ge && (S.value = [], Ke = null);
|
|
5578
5578
|
return;
|
|
5579
5579
|
}
|
|
5580
5580
|
if (m.value) return;
|
|
5581
|
-
let o = n ? null : ++
|
|
5581
|
+
let o = n ? null : ++Je;
|
|
5582
5582
|
n || (l.value = !0, _.value = null);
|
|
5583
5583
|
try {
|
|
5584
5584
|
let e = new K.MessagesRequestBuilder().setLimit(50).setGUID(i).withTags(!0).setTags([r]).build(), t = [], n = [];
|
|
5585
5585
|
do
|
|
5586
|
-
n = await
|
|
5586
|
+
n = await X(e.fetchPrevious(), It), t.push(...n.map((e) => H(e, v.value?.uid)));
|
|
5587
5587
|
while (n.length === 50);
|
|
5588
5588
|
let o = t.filter((e) => !(e.isDeleted || !e.scheduled?.scheduleDate || r && e.scheduled.originalChatUid && e.scheduled.originalChatUid !== r)).sort((e, t) => (e.scheduled?.scheduleDate?.getTime() ?? e.sentAt.getTime()) - (t.scheduled?.scheduleDate?.getTime() ?? t.sentAt.getTime()));
|
|
5589
|
-
if (!
|
|
5590
|
-
S.value = o,
|
|
5589
|
+
if (!Zt(a, i)) return;
|
|
5590
|
+
S.value = o, Ke = r, Ye = 0, $t();
|
|
5591
5591
|
} catch (e) {
|
|
5592
|
-
if (!
|
|
5592
|
+
if (!Zt(a, i)) return;
|
|
5593
5593
|
if (Lu(e)) {
|
|
5594
|
-
S.value = [],
|
|
5594
|
+
S.value = [], Ke = r;
|
|
5595
5595
|
return;
|
|
5596
5596
|
}
|
|
5597
5597
|
if (en(r), n) {
|
|
5598
5598
|
console.warn("Unable to refresh scheduled messages.", e);
|
|
5599
5599
|
return;
|
|
5600
5600
|
}
|
|
5601
|
-
throw _.value = Q(e,
|
|
5601
|
+
throw _.value = Q(e, Et("loadScheduledMessagesError")), e;
|
|
5602
5602
|
} finally {
|
|
5603
|
-
o ===
|
|
5603
|
+
o === Je && (l.value = !1);
|
|
5604
5604
|
}
|
|
5605
5605
|
}
|
|
5606
|
-
function
|
|
5607
|
-
return e ===
|
|
5606
|
+
function Zt(e, t) {
|
|
5607
|
+
return e === Ge && v.value?.uid === t;
|
|
5608
5608
|
}
|
|
5609
5609
|
function Qt() {
|
|
5610
|
-
|
|
5610
|
+
qe !== null && (clearTimeout(qe), qe = null);
|
|
5611
5611
|
}
|
|
5612
5612
|
function $t() {
|
|
5613
5613
|
Qt();
|
|
5614
|
-
let e =
|
|
5614
|
+
let e = Ke, t = S.value.reduce((e, t) => {
|
|
5615
5615
|
let n = t.scheduled?.scheduleDate?.getTime();
|
|
5616
5616
|
return n === void 0 || Number.isNaN(n) ? e : e === null ? n : Math.min(e, n);
|
|
5617
5617
|
}, null);
|
|
@@ -5620,17 +5620,17 @@ function eu({ environment: e }) {
|
|
|
5620
5620
|
tn(e, n > 0 ? Math.min(n, bu) : vu);
|
|
5621
5621
|
}
|
|
5622
5622
|
function en(e) {
|
|
5623
|
-
if (
|
|
5624
|
-
let t = Math.min(vu * 2 **
|
|
5625
|
-
|
|
5623
|
+
if (Ke !== e || S.value.length === 0) return;
|
|
5624
|
+
let t = Math.min(vu * 2 ** Ye, yu);
|
|
5625
|
+
Ye += 1, tn(e, t);
|
|
5626
5626
|
}
|
|
5627
5627
|
function tn(e, t) {
|
|
5628
|
-
Qt(),
|
|
5629
|
-
|
|
5628
|
+
Qt(), qe = setTimeout(() => {
|
|
5629
|
+
qe = null, Ke === e && Yt(e, { silent: !0 });
|
|
5630
5630
|
}, t);
|
|
5631
5631
|
}
|
|
5632
5632
|
function nn() {
|
|
5633
|
-
|
|
5633
|
+
Ke && Yt(Ke, { silent: !0 });
|
|
5634
5634
|
}
|
|
5635
5635
|
function rn(e) {
|
|
5636
5636
|
S.value.some((t) => t.id === e) && (S.value = S.value.filter((t) => t.id !== e), $t());
|
|
@@ -5666,13 +5666,13 @@ function eu({ environment: e }) {
|
|
|
5666
5666
|
}
|
|
5667
5667
|
}
|
|
5668
5668
|
let a = i.filter((e) => !e.success).length;
|
|
5669
|
-
return i.length > a && await
|
|
5669
|
+
return i.length > a && await qt(n.targetId).catch(() => void 0), _.value = a === 0 ? null : i.length > 1 ? `${a} of ${i.length} send times could not be scheduled. Check the schedule dialog to retry them.` : i[0]?.error ?? "Unable to schedule the message.", d.value = !1, { occurrences: i };
|
|
5670
5670
|
}
|
|
5671
5671
|
async function on(e) {
|
|
5672
5672
|
if (_.value = null, !e.scheduled) return;
|
|
5673
5673
|
let t = e.scheduled.originalChatUid;
|
|
5674
5674
|
try {
|
|
5675
|
-
await K.deleteMessage(String(e.id)), S.value = S.value.filter((t) => t.id !== e.id), await
|
|
5675
|
+
await K.deleteMessage(String(e.id)), S.value = S.value.filter((t) => t.id !== e.id), await qt(t);
|
|
5676
5676
|
} catch (e) {
|
|
5677
5677
|
throw _.value = Q(e, "Unable to remove the scheduled message."), e;
|
|
5678
5678
|
}
|
|
@@ -5692,7 +5692,7 @@ function eu({ environment: e }) {
|
|
|
5692
5692
|
let i = e.source?.getAttachment?.()?.getFileUrl?.() ?? e.source?.getAttachment?.()?.getUrl?.() ?? e.attachments[0]?.url ?? "";
|
|
5693
5693
|
t = new K.MediaMessage(n, i, e.source?.getType?.() ?? e.type ?? e.kind, K.RECEIVER_TYPE.GROUP), t.setCaption(r);
|
|
5694
5694
|
}
|
|
5695
|
-
Object.keys(i).length > 0 && t.setMetadata(i), t.setId(Number(e.id)), await K.editMessage(t), await
|
|
5695
|
+
Object.keys(i).length > 0 && t.setMetadata(i), t.setId(Number(e.id)), await K.editMessage(t), await qt(e.scheduled.originalChatUid);
|
|
5696
5696
|
} catch (e) {
|
|
5697
5697
|
throw _.value = Q(e, "Unable to edit the scheduled message."), e;
|
|
5698
5698
|
} finally {
|
|
@@ -5702,7 +5702,7 @@ function eu({ environment: e }) {
|
|
|
5702
5702
|
async function cn(e) {
|
|
5703
5703
|
d.value = !0, _.value = null;
|
|
5704
5704
|
try {
|
|
5705
|
-
let t = Bu(), n = await fetch(`${
|
|
5705
|
+
let t = Bu(), n = await fetch(`${rt().chatApiBaseUrl}/chats/rescheduleMessage`, {
|
|
5706
5706
|
method: "POST",
|
|
5707
5707
|
headers: {
|
|
5708
5708
|
"Content-Type": "application/json",
|
|
@@ -5716,7 +5716,7 @@ function eu({ environment: e }) {
|
|
|
5716
5716
|
})
|
|
5717
5717
|
});
|
|
5718
5718
|
if (!n.ok) throw Error(`Reschedule failed with status ${n.status}.`);
|
|
5719
|
-
await
|
|
5719
|
+
await qt(e.originalChatUid);
|
|
5720
5720
|
} catch (e) {
|
|
5721
5721
|
throw _.value = Q(e, "Unable to reschedule the message."), e;
|
|
5722
5722
|
} finally {
|
|
@@ -5756,7 +5756,7 @@ function eu({ environment: e }) {
|
|
|
5756
5756
|
}
|
|
5757
5757
|
async function fn(e) {
|
|
5758
5758
|
try {
|
|
5759
|
-
return await
|
|
5759
|
+
return await X(e.fetchPrevious(), It);
|
|
5760
5760
|
} catch (e) {
|
|
5761
5761
|
if (e && typeof e == "object" && "code" in e && e.code === "ERR_GROUP_NOT_JOINED") return [];
|
|
5762
5762
|
throw e;
|
|
@@ -5773,48 +5773,53 @@ function eu({ environment: e }) {
|
|
|
5773
5773
|
async function mn(e) {
|
|
5774
5774
|
let t = U.value;
|
|
5775
5775
|
if (!t) return b.value = [], C.value = !1, !1;
|
|
5776
|
+
let n = () => U.value?.id !== t.id;
|
|
5776
5777
|
if (m.value) return !1;
|
|
5777
|
-
if ((e?.reset ||
|
|
5778
|
+
if ((e?.reset || Ue?.conversationId !== t.id) && (Ue = {
|
|
5778
5779
|
conversationId: t.id,
|
|
5779
5780
|
request: ln(t)
|
|
5780
|
-
}, C.value = !0), !
|
|
5781
|
-
let
|
|
5782
|
-
e?.reset &&
|
|
5781
|
+
}, C.value = !0), !Ue) return console.warn("No active messages request available for the conversation:", t.id), !1;
|
|
5782
|
+
let r = await fn(Ue.request);
|
|
5783
|
+
if (n() || e?.reset && r.length === 0 && !m.value && !Ee && t.lastMessageAt && (Te = !0, await ht(), n() || (Ue = {
|
|
5783
5784
|
conversationId: t.id,
|
|
5784
5785
|
request: ln(t)
|
|
5785
|
-
},
|
|
5786
|
-
let
|
|
5787
|
-
|
|
5788
|
-
let
|
|
5789
|
-
|
|
5786
|
+
}, r = await fn(Ue.request), n()))) return !1;
|
|
5787
|
+
let i = await Promise.all(r.map((e) => H(e, v.value?.uid)).filter(Nu).sort(Tu).map(dn));
|
|
5788
|
+
if (n()) return !1;
|
|
5789
|
+
let a = Ou(i, b.value);
|
|
5790
|
+
b.value = e?.reset ? ju(b.value.filter((e) => e.conversationId === t.id && Mu(e)), a) : ju(b.value, a), C.value = r.length === 50, q?.setMessages(t.id, b.value);
|
|
5791
|
+
let o = r[r.length - 1];
|
|
5792
|
+
return o && Fn(o).then(() => Pn(o)), r.length > 0;
|
|
5790
5793
|
}
|
|
5791
5794
|
async function hn() {
|
|
5792
5795
|
B();
|
|
5793
|
-
let e = U.value;
|
|
5794
|
-
if (!
|
|
5795
|
-
console.warn("No active conversation to refresh messages for."), b.value = [], C.value = !1,
|
|
5796
|
+
let e = ++ye, t = U.value;
|
|
5797
|
+
if (!t) {
|
|
5798
|
+
console.warn("No active conversation to refresh messages for."), b.value = [], C.value = !1, Ue = null, i.value = !1;
|
|
5796
5799
|
return;
|
|
5797
5800
|
}
|
|
5798
|
-
let
|
|
5801
|
+
let n = vt(t.id);
|
|
5799
5802
|
if (i.value = !0, m.value) {
|
|
5800
|
-
C.value = !1,
|
|
5803
|
+
C.value = !1, Ue = null, i.value = !1;
|
|
5801
5804
|
return;
|
|
5802
5805
|
}
|
|
5803
5806
|
try {
|
|
5804
|
-
await pn({ reset: !0 }),
|
|
5805
|
-
|
|
5807
|
+
if (await pn({ reset: !0 }), U.value?.id !== t.id) return;
|
|
5808
|
+
y.value = y.value.map((e) => e.id === t.id ? {
|
|
5809
|
+
...e,
|
|
5806
5810
|
lastMessage: b.value.at(-1) ?? null,
|
|
5807
5811
|
unreadCount: 0
|
|
5808
|
-
} :
|
|
5809
|
-
} catch (
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5812
|
+
} : e), q?.setConversations(y.value);
|
|
5813
|
+
} catch (r) {
|
|
5814
|
+
if (e !== ye) return;
|
|
5815
|
+
let i = q?.getMessages(t.id) ?? [];
|
|
5816
|
+
if (i.length > 0) {
|
|
5817
|
+
n || (b.value = i.sort(Tu));
|
|
5813
5818
|
return;
|
|
5814
5819
|
}
|
|
5815
|
-
throw _.value = Q(
|
|
5820
|
+
throw _.value = Q(r, "Unable to load messages."), r;
|
|
5816
5821
|
} finally {
|
|
5817
|
-
i.value = !1;
|
|
5822
|
+
e === ye && (i.value = !1);
|
|
5818
5823
|
}
|
|
5819
5824
|
}
|
|
5820
5825
|
async function gn(e) {
|
|
@@ -5828,18 +5833,18 @@ function eu({ environment: e }) {
|
|
|
5828
5833
|
async function _n(e) {
|
|
5829
5834
|
let t = E.value?.id;
|
|
5830
5835
|
if (!t) return x.value = [], w.value = !1, !1;
|
|
5831
|
-
if ((e?.reset ||
|
|
5836
|
+
if ((e?.reset || We?.parentMessageId !== t) && (We = {
|
|
5832
5837
|
parentMessageId: t,
|
|
5833
5838
|
request: un(t)
|
|
5834
|
-
}, w.value = !0), !
|
|
5835
|
-
let n = await
|
|
5839
|
+
}, w.value = !0), !We) return !1;
|
|
5840
|
+
let n = await X(We.request.fetchPrevious(), It), r = Ou(await Promise.all(n.map((e) => H(e, v.value?.uid)).filter(Nu).sort(Tu).map(dn)), x.value);
|
|
5836
5841
|
x.value = e?.reset ? ju(x.value.filter((e) => e.parentMessageId === t && Mu(e)), r) : ju(x.value, r), w.value = n.length === 50, q?.setThreadMessages(t, x.value);
|
|
5837
5842
|
let i = n[n.length - 1];
|
|
5838
5843
|
return i && Fn(i).then(() => Pn(i)), n.length > 0;
|
|
5839
5844
|
}
|
|
5840
5845
|
async function vn(e) {
|
|
5841
5846
|
if (o.value = !0, m.value) {
|
|
5842
|
-
x.value = (q?.getThreadMessages(e) ?? []).sort(Tu), w.value = !1,
|
|
5847
|
+
x.value = (q?.getThreadMessages(e) ?? []).sort(Tu), w.value = !1, We = null, o.value = !1;
|
|
5843
5848
|
return;
|
|
5844
5849
|
}
|
|
5845
5850
|
try {
|
|
@@ -5857,14 +5862,14 @@ function eu({ environment: e }) {
|
|
|
5857
5862
|
}
|
|
5858
5863
|
function yn() {
|
|
5859
5864
|
let e = U.value;
|
|
5860
|
-
if (!e || m.value || b.value.length <= 200 || i.value || s.value || ve > 0 ||
|
|
5865
|
+
if (!e || m.value || b.value.length <= 200 || i.value || s.value || ve > 0 || be > 0) return;
|
|
5861
5866
|
let t = b.value.length - 100, n = b.value.filter((e, n) => n >= t || e.deliveryState !== "sent"), r = n.find((e) => e.deliveryState === "sent");
|
|
5862
|
-
r && (b.value = n,
|
|
5867
|
+
r && (b.value = n, Ue = {
|
|
5863
5868
|
conversationId: e.id,
|
|
5864
5869
|
request: ln(e, r.id)
|
|
5865
5870
|
}, C.value = !0);
|
|
5866
5871
|
}
|
|
5867
|
-
async function
|
|
5872
|
+
async function xn() {
|
|
5868
5873
|
if (i.value || s.value || !C.value) return !1;
|
|
5869
5874
|
s.value = !0, _.value = null;
|
|
5870
5875
|
try {
|
|
@@ -5891,11 +5896,11 @@ function eu({ environment: e }) {
|
|
|
5891
5896
|
if (!t) return !1;
|
|
5892
5897
|
let n = () => b.value.some((e) => e.id === t) || x.value.some((e) => e.id === t) || E.value?.id === t;
|
|
5893
5898
|
if (n()) return !0;
|
|
5894
|
-
|
|
5899
|
+
be += 1;
|
|
5895
5900
|
try {
|
|
5896
5901
|
return await wn(n);
|
|
5897
5902
|
} finally {
|
|
5898
|
-
--
|
|
5903
|
+
--be;
|
|
5899
5904
|
}
|
|
5900
5905
|
}
|
|
5901
5906
|
async function wn(e) {
|
|
@@ -5908,16 +5913,16 @@ function eu({ environment: e }) {
|
|
|
5908
5913
|
}
|
|
5909
5914
|
for (; C.value && U.value && t < 20;) {
|
|
5910
5915
|
t += 1;
|
|
5911
|
-
let n = await
|
|
5916
|
+
let n = await xn();
|
|
5912
5917
|
if (e()) return !0;
|
|
5913
5918
|
if (!n) break;
|
|
5914
5919
|
}
|
|
5915
5920
|
return e();
|
|
5916
5921
|
}
|
|
5917
5922
|
async function Tn() {
|
|
5918
|
-
let e = await
|
|
5923
|
+
let e = await X(K.getLoggedinUser(), It);
|
|
5919
5924
|
if (!e) try {
|
|
5920
|
-
e = await
|
|
5925
|
+
e = await X(K.getLoggedInUser(), It);
|
|
5921
5926
|
} catch (e) {
|
|
5922
5927
|
if (e && typeof e == "object" && "code" in e && e.code === "USER_NOT_LOGED_IN") return;
|
|
5923
5928
|
console.error("Error fetching logged in user:", e);
|
|
@@ -5927,14 +5932,14 @@ function eu({ environment: e }) {
|
|
|
5927
5932
|
function En() {
|
|
5928
5933
|
oe ||= (K.addConnectionListener(ie, new K.ConnectionListener({
|
|
5929
5934
|
onConnected: () => {
|
|
5930
|
-
if (p.value = !0,
|
|
5935
|
+
if (p.value = !0, we = 0, ut(), Te) {
|
|
5931
5936
|
gt();
|
|
5932
5937
|
return;
|
|
5933
5938
|
}
|
|
5934
5939
|
pr();
|
|
5935
5940
|
},
|
|
5936
5941
|
onDisconnected: () => {
|
|
5937
|
-
p.value = !1, !m.value && !
|
|
5942
|
+
p.value = !1, !m.value && !Ee && (g.value || dt()) && (Te = !0, ft(!0));
|
|
5938
5943
|
}
|
|
5939
5944
|
})), K.addMessageListener(ae, new K.MessageListener({
|
|
5940
5945
|
onTextMessageReceived: (e) => {
|
|
@@ -5961,10 +5966,10 @@ function eu({ environment: e }) {
|
|
|
5961
5966
|
rn(t.id), t.parentMessageId ? Zn(t) : (Zn(t), Qn(t)), Xn();
|
|
5962
5967
|
},
|
|
5963
5968
|
onMessagePinned: (e) => {
|
|
5964
|
-
|
|
5969
|
+
Re(H(e, v.value?.uid));
|
|
5965
5970
|
},
|
|
5966
5971
|
onMessageUnpinned: (e) => {
|
|
5967
|
-
|
|
5972
|
+
Re(H(e, v.value?.uid));
|
|
5968
5973
|
},
|
|
5969
5974
|
onMessageReactionAdded: (e) => {
|
|
5970
5975
|
Vn(e);
|
|
@@ -6025,13 +6030,13 @@ function eu({ environment: e }) {
|
|
|
6025
6030
|
});
|
|
6026
6031
|
}
|
|
6027
6032
|
async function kn(e) {
|
|
6028
|
-
let t = ++
|
|
6033
|
+
let t = ++xe, n = e.filter((e) => e.type !== "user"), r = /* @__PURE__ */ new Map(), i = 0;
|
|
6029
6034
|
if (await Promise.all(Array.from({ length: Math.min(hu, n.length) }, async () => {
|
|
6030
|
-
for (; i < n.length && t ===
|
|
6035
|
+
for (; i < n.length && t === xe;) {
|
|
6031
6036
|
let e = n[i++];
|
|
6032
6037
|
r.set(e.targetId, await An(e.targetId));
|
|
6033
6038
|
}
|
|
6034
|
-
})), t !==
|
|
6039
|
+
})), t !== xe) return;
|
|
6035
6040
|
let a = !1, o = y.value.map((e) => {
|
|
6036
6041
|
if (e.type === "user" || !r.has(e.targetId)) return e;
|
|
6037
6042
|
let t = r.get(e.targetId), n = t ? new Date(t) : null;
|
|
@@ -6049,15 +6054,15 @@ function eu({ environment: e }) {
|
|
|
6049
6054
|
try {
|
|
6050
6055
|
let n = v.value?.uid;
|
|
6051
6056
|
if (!n || e === n) return t?.mutedUntil ?? null;
|
|
6052
|
-
let r =
|
|
6057
|
+
let r = ct();
|
|
6053
6058
|
if (!r) return t?.mutedUntil ?? null;
|
|
6054
|
-
let i = await
|
|
6059
|
+
let i = await X(fetch(`${rt().chatApiBaseUrl}/chats/${e}/settings/${n}`, {
|
|
6055
6060
|
method: "GET",
|
|
6056
6061
|
headers: {
|
|
6057
6062
|
"Content-Type": "application/json",
|
|
6058
6063
|
Authorization: `Bearer ${r}`
|
|
6059
6064
|
}
|
|
6060
|
-
}),
|
|
6065
|
+
}), It);
|
|
6061
6066
|
if (!i.ok) return t?.mutedUntil ?? null;
|
|
6062
6067
|
let a = await i.json();
|
|
6063
6068
|
return q?.storeParticipantSettings({
|
|
@@ -6072,7 +6077,7 @@ function eu({ environment: e }) {
|
|
|
6072
6077
|
function jn(e) {
|
|
6073
6078
|
let t = H(e, v.value?.uid);
|
|
6074
6079
|
if (!Nu(t) || t.isDeleted) return;
|
|
6075
|
-
let n = e.getConversationId(), r = y.value.find((e) => e.id === n) ??
|
|
6080
|
+
let n = e.getConversationId(), r = y.value.find((e) => e.id === n) ?? Y(e, n);
|
|
6076
6081
|
if (!r) {
|
|
6077
6082
|
xt();
|
|
6078
6083
|
return;
|
|
@@ -6080,7 +6085,7 @@ function eu({ environment: e }) {
|
|
|
6080
6085
|
let i = {
|
|
6081
6086
|
...r,
|
|
6082
6087
|
subtitle: el(t),
|
|
6083
|
-
lastMessageAt:
|
|
6088
|
+
lastMessageAt: Xt(e.getSentAt?.()) ?? /* @__PURE__ */ new Date(0),
|
|
6084
6089
|
unreadCount: n === T.value ? 0 : r.unreadCount + 1,
|
|
6085
6090
|
lastMessage: t
|
|
6086
6091
|
};
|
|
@@ -6096,7 +6101,7 @@ function eu({ environment: e }) {
|
|
|
6096
6101
|
if (m.value) return;
|
|
6097
6102
|
let t = e.getSender?.()?.getUid?.();
|
|
6098
6103
|
if (t && t !== v.value?.uid && !e.getReadByMeAt?.()) try {
|
|
6099
|
-
await
|
|
6104
|
+
await X(K.markAsRead(e), It);
|
|
6100
6105
|
} catch (e) {
|
|
6101
6106
|
console.warn("Unable to mark the message as read.", e);
|
|
6102
6107
|
}
|
|
@@ -6105,13 +6110,13 @@ function eu({ environment: e }) {
|
|
|
6105
6110
|
if (m.value) return;
|
|
6106
6111
|
let t = e.getSender?.()?.getUid?.();
|
|
6107
6112
|
if (t && t !== v.value?.uid && !e.getDeliveredToMeAt?.()) try {
|
|
6108
|
-
await
|
|
6113
|
+
await X(K.markAsDelivered(e), It);
|
|
6109
6114
|
} catch (e) {
|
|
6110
6115
|
console.warn("Unable to mark the message as delivered.", e);
|
|
6111
6116
|
}
|
|
6112
6117
|
}
|
|
6113
6118
|
async function In(e) {
|
|
6114
|
-
return m.value ? [] : cu(await
|
|
6119
|
+
return m.value ? [] : cu(await X(K.getMessageReceipts(String(e.id)), It));
|
|
6115
6120
|
}
|
|
6116
6121
|
async function Ln(e) {
|
|
6117
6122
|
if (m.value) return [];
|
|
@@ -6122,12 +6127,12 @@ function eu({ environment: e }) {
|
|
|
6122
6127
|
}
|
|
6123
6128
|
}
|
|
6124
6129
|
async function Rn(e) {
|
|
6125
|
-
let t = new K.ReactionsRequestBuilder().setMessageId(Number(e)).setLimit(20).build(), n = [], r = await
|
|
6126
|
-
for (; r.length > 0 && (n.push(...r), !(r.length < 20));) r = await
|
|
6130
|
+
let t = new K.ReactionsRequestBuilder().setMessageId(Number(e)).setLimit(20).build(), n = [], r = await X(t.fetchNext(), mu);
|
|
6131
|
+
for (; r.length > 0 && (n.push(...r), !(r.length < 20));) r = await X(t.fetchNext(), mu);
|
|
6127
6132
|
return n;
|
|
6128
6133
|
}
|
|
6129
6134
|
function zn() {
|
|
6130
|
-
n.value = !1, r.value = !1, i.value = !1, o.value = !1, s.value = !1, c.value = !1, l.value = !1, u.value = !1, d.value = !1, f.value = !1, p.value = !1,
|
|
6135
|
+
n.value = !1, r.value = !1, i.value = !1, o.value = !1, s.value = !1, c.value = !1, l.value = !1, u.value = !1, d.value = !1, f.value = !1, p.value = !1, ut(), we = 0, Te = !1, Ee = !1, g.value = !1, v.value = null, y.value = [], b.value = [], x.value = [], S.value = [], Ke = null, Ye = 0, xe += 1, Ge += 1, Je += 1, Qt(), Be(), E.value = null, O.value = null, k.value = null, A.value = [], T.value = null, C.value = !1, w.value = !1, Ue = null, We = null, He.clear(), N.value = /* @__PURE__ */ new Map(), Cr(), K.removeCallListener(W), se?.(), se = null, ce?.(), ce = null;
|
|
6131
6136
|
}
|
|
6132
6137
|
function Bn(e, t) {
|
|
6133
6138
|
let n = Number(e?.getMessageId?.()), r = e?.getSender?.()?.getUid?.(), i = e?.getReceiverType?.() === "group" ? e.getReceiver?.() : r;
|
|
@@ -6138,7 +6143,7 @@ function eu({ environment: e }) {
|
|
|
6138
6143
|
if (r && r === v.value?.uid) return;
|
|
6139
6144
|
let a = U.value;
|
|
6140
6145
|
if (!a || a.targetId !== i) return;
|
|
6141
|
-
let o =
|
|
6146
|
+
let o = Xt(t === "read" ? e.getReadAt?.() : e.getDeliveredAt?.()) ?? Xt(Number(e.getTimestamp?.())) ?? /* @__PURE__ */ new Date(), s = !1, c = b.value.map((e) => {
|
|
6142
6147
|
let r = Number(e.id);
|
|
6143
6148
|
if (!e.isOwn || e.deliveryState !== "sent" || e.conversationId !== a.id || !Number.isFinite(r) || r > n) return e;
|
|
6144
6149
|
let i = Du(e.receipts, {
|
|
@@ -6165,13 +6170,13 @@ function eu({ environment: e }) {
|
|
|
6165
6170
|
return x.value.find((t) => t.id === e) ?? (E.value?.id === e ? E.value : null) ?? b.value.find((t) => t.id === e) ?? null;
|
|
6166
6171
|
}
|
|
6167
6172
|
async function Un(e) {
|
|
6168
|
-
let t =
|
|
6173
|
+
let t = Se.get(e);
|
|
6169
6174
|
if (t) {
|
|
6170
6175
|
t.again = !0;
|
|
6171
6176
|
return;
|
|
6172
6177
|
}
|
|
6173
6178
|
let n = { again: !1 };
|
|
6174
|
-
|
|
6179
|
+
Se.set(e, n);
|
|
6175
6180
|
try {
|
|
6176
6181
|
do {
|
|
6177
6182
|
n.again = !1;
|
|
@@ -6186,7 +6191,7 @@ function eu({ environment: e }) {
|
|
|
6186
6191
|
} catch (e) {
|
|
6187
6192
|
console.warn("Unable to refresh message reactions.", e);
|
|
6188
6193
|
} finally {
|
|
6189
|
-
|
|
6194
|
+
Se.delete(e);
|
|
6190
6195
|
}
|
|
6191
6196
|
}
|
|
6192
6197
|
async function Wn(e) {
|
|
@@ -6195,7 +6200,7 @@ function eu({ environment: e }) {
|
|
|
6195
6200
|
let e = _e;
|
|
6196
6201
|
return ge = null, _e = !1, Wn({ includeThread: e });
|
|
6197
6202
|
}), ge;
|
|
6198
|
-
he =
|
|
6203
|
+
he = X((async () => {
|
|
6199
6204
|
U.value && await hn(), t && E.value && await vn(E.value.id);
|
|
6200
6205
|
})(), xu);
|
|
6201
6206
|
try {
|
|
@@ -6251,10 +6256,10 @@ function eu({ environment: e }) {
|
|
|
6251
6256
|
T.value && q?.setMessages(T.value, b.value), E.value && q?.setThreadMessages(E.value.id, x.value);
|
|
6252
6257
|
}
|
|
6253
6258
|
function Zn(e) {
|
|
6254
|
-
if (
|
|
6259
|
+
if (ze(e), e.parentMessageId ? (x.value = x.value.filter((t) => t.id !== e.id), q?.setThreadMessages(e.parentMessageId, x.value)) : (b.value = b.value.filter((t) => t.id !== e.id), T.value && q?.setMessages(T.value, b.value)), e.muid) {
|
|
6255
6260
|
A.value = A.value.filter((t) => t.muid !== e.muid);
|
|
6256
6261
|
let t = q?.getQueue().filter((t) => t.muid === e.muid) ?? [];
|
|
6257
|
-
for (let e of t) q?.dequeue(e.id),
|
|
6262
|
+
for (let e of t) q?.dequeue(e.id), Ve.delete(e.id), e.kind === "attachment" && q?.deleteQueuedAttachment(e.id);
|
|
6258
6263
|
}
|
|
6259
6264
|
e.parentMessageId || $n(e.conversationId);
|
|
6260
6265
|
}
|
|
@@ -6374,7 +6379,7 @@ function eu({ environment: e }) {
|
|
|
6374
6379
|
muid: i,
|
|
6375
6380
|
deliveryState: "queued"
|
|
6376
6381
|
});
|
|
6377
|
-
|
|
6382
|
+
Z(a, {
|
|
6378
6383
|
id: a.id,
|
|
6379
6384
|
muid: i,
|
|
6380
6385
|
conversationId: e.id,
|
|
@@ -6399,7 +6404,7 @@ function eu({ environment: e }) {
|
|
|
6399
6404
|
muid: i,
|
|
6400
6405
|
deliveryState: "queued"
|
|
6401
6406
|
});
|
|
6402
|
-
|
|
6407
|
+
Z(a, {
|
|
6403
6408
|
id: a.id,
|
|
6404
6409
|
muid: i,
|
|
6405
6410
|
conversationId: e.id,
|
|
@@ -6453,21 +6458,21 @@ function eu({ environment: e }) {
|
|
|
6453
6458
|
parentMessageId: r,
|
|
6454
6459
|
createdAt: o.sentAt.toISOString()
|
|
6455
6460
|
};
|
|
6456
|
-
|
|
6461
|
+
Ve.set(s.id, t.file);
|
|
6457
6462
|
try {
|
|
6458
6463
|
await q?.storeQueuedAttachment(s.id, t.file);
|
|
6459
6464
|
} catch {}
|
|
6460
|
-
|
|
6465
|
+
Z(o, s);
|
|
6461
6466
|
}
|
|
6462
|
-
function
|
|
6467
|
+
function Z(e, t) {
|
|
6463
6468
|
try {
|
|
6464
6469
|
q?.enqueue(t);
|
|
6465
6470
|
} catch (e) {
|
|
6466
|
-
throw dr("failed", t.muid), t.kind === "attachment" && (
|
|
6471
|
+
throw dr("failed", t.muid), t.kind === "attachment" && (Ve.delete(t.id), q?.deleteQueuedAttachment(t.id)), _.value = Q(e, "Unable to save the message for sending later."), e;
|
|
6467
6472
|
}
|
|
6468
|
-
A.value = [...A.value, t],
|
|
6473
|
+
A.value = [...A.value, t], ur(e);
|
|
6469
6474
|
}
|
|
6470
|
-
function
|
|
6475
|
+
function ur(e) {
|
|
6471
6476
|
e.parentMessageId ? (E.value?.id === e.parentMessageId && (x.value = Eu(x.value, e)), Yn(e.parentMessageId)) : b.value = Eu(b.value, e), er(e), Xn();
|
|
6472
6477
|
}
|
|
6473
6478
|
function dr(e, t) {
|
|
@@ -6493,14 +6498,14 @@ function eu({ environment: e }) {
|
|
|
6493
6498
|
if (!(f.value || A.value.length === 0 || !g.value || m.value)) {
|
|
6494
6499
|
f.value = !0;
|
|
6495
6500
|
try {
|
|
6496
|
-
let e = [...A.value].filter((e) => !
|
|
6497
|
-
for (let t of e) if (!
|
|
6498
|
-
|
|
6501
|
+
let e = [...A.value].filter((e) => !He.has(e.id)).sort((e, t) => e.createdAt.localeCompare(t.createdAt));
|
|
6502
|
+
for (let t of e) if (!He.has(t.id)) {
|
|
6503
|
+
He.add(t.id);
|
|
6499
6504
|
try {
|
|
6500
6505
|
let e = await mr(t);
|
|
6501
|
-
A.value = A.value.filter((e) => e.id !== t.id), q?.dequeue(t.id),
|
|
6506
|
+
A.value = A.value.filter((e) => e.id !== t.id), q?.dequeue(t.id), Ve.delete(t.id), t.kind === "attachment" && await q?.deleteQueuedAttachment(t.id), fr(t.muid), e ? Gn(H(e, v.value?.uid)) : await Wn();
|
|
6502
6507
|
} finally {
|
|
6503
|
-
|
|
6508
|
+
He.delete(t.id);
|
|
6504
6509
|
}
|
|
6505
6510
|
}
|
|
6506
6511
|
} catch (e) {
|
|
@@ -6524,7 +6529,7 @@ function eu({ environment: e }) {
|
|
|
6524
6529
|
return r?.message ?? r?.custom_message ?? r?.data?.message ?? null;
|
|
6525
6530
|
}
|
|
6526
6531
|
if (e.kind === "attachment" && e.attachment) {
|
|
6527
|
-
let n =
|
|
6532
|
+
let n = Ve.get(e.id) ?? await q?.getQueuedAttachment(e.id) ?? null;
|
|
6528
6533
|
if (!n) throw Error(`Queued attachment ${e.attachment.name} is no longer available for upload.`);
|
|
6529
6534
|
let r = new K.MediaMessage(e.targetId, n, e.attachment.kind, t);
|
|
6530
6535
|
return r.setMuid?.(e.muid), e.metadata && Object.keys(e.metadata).length > 0 && r.setMetadata?.(e.metadata), e.parentMessageId && r.setParentMessageId?.(Number(e.parentMessageId)), e.attachment.caption && r.setCaption?.(e.attachment.caption), K.sendMediaMessage(r);
|
|
@@ -6546,7 +6551,7 @@ function eu({ environment: e }) {
|
|
|
6546
6551
|
ee.value = r, I.value = "connecting", R = !1, ru(e);
|
|
6547
6552
|
let a = () => I.value !== "connecting" || F.value !== null, o;
|
|
6548
6553
|
try {
|
|
6549
|
-
o = await
|
|
6554
|
+
o = await X(iu(t), It);
|
|
6550
6555
|
} catch (e) {
|
|
6551
6556
|
if (a()) return;
|
|
6552
6557
|
throw console.error("Failed to get call session:", e), Cr("failed"), e;
|
|
@@ -6649,10 +6654,10 @@ function eu({ environment: e }) {
|
|
|
6649
6654
|
messages: b,
|
|
6650
6655
|
threadMessages: x,
|
|
6651
6656
|
scheduledMessages: S,
|
|
6652
|
-
pinnedMessages:
|
|
6653
|
-
loadingPinnedMessages:
|
|
6654
|
-
pinningEnabled:
|
|
6655
|
-
pinnedMessagesLimit:
|
|
6657
|
+
pinnedMessages: De,
|
|
6658
|
+
loadingPinnedMessages: Oe,
|
|
6659
|
+
pinningEnabled: ke,
|
|
6660
|
+
pinnedMessagesLimit: Ae,
|
|
6656
6661
|
hasOlderMessages: C,
|
|
6657
6662
|
hasOlderThreadMessages: w,
|
|
6658
6663
|
pendingQueueCount: M,
|
|
@@ -6661,7 +6666,7 @@ function eu({ environment: e }) {
|
|
|
6661
6666
|
activeThreadParentMessage: E,
|
|
6662
6667
|
replyToMessage: O,
|
|
6663
6668
|
editingMessage: k,
|
|
6664
|
-
init:
|
|
6669
|
+
init: J,
|
|
6665
6670
|
connectRealtime: yt,
|
|
6666
6671
|
disconnectRealtime: bt,
|
|
6667
6672
|
login: Xe,
|
|
@@ -6671,10 +6676,10 @@ function eu({ environment: e }) {
|
|
|
6671
6676
|
initiateDirectMessage: wt,
|
|
6672
6677
|
sendTextMessage: Nt,
|
|
6673
6678
|
sendAttachmentMessage: Ft,
|
|
6674
|
-
sendPollMessage:
|
|
6675
|
-
forwardMessage:
|
|
6676
|
-
fetchScheduledMessages:
|
|
6677
|
-
loadOlderMessages:
|
|
6679
|
+
sendPollMessage: Rt,
|
|
6680
|
+
forwardMessage: Bt,
|
|
6681
|
+
fetchScheduledMessages: qt,
|
|
6682
|
+
loadOlderMessages: xn,
|
|
6678
6683
|
loadOlderThreadMessages: Sn,
|
|
6679
6684
|
ensureMessageLoaded: Cn,
|
|
6680
6685
|
trimOlderMessages: yn,
|
|
@@ -6692,11 +6697,11 @@ function eu({ environment: e }) {
|
|
|
6692
6697
|
deleteMessage: Wt,
|
|
6693
6698
|
votePoll: Vt,
|
|
6694
6699
|
toggleReaction: Ut,
|
|
6695
|
-
fetchPinnedMessages:
|
|
6696
|
-
pinMessage:
|
|
6697
|
-
unpinMessage:
|
|
6698
|
-
togglePinnedMessage:
|
|
6699
|
-
isMessagePinned:
|
|
6700
|
+
fetchPinnedMessages: Ne,
|
|
6701
|
+
pinMessage: Pe,
|
|
6702
|
+
unpinMessage: Fe,
|
|
6703
|
+
togglePinnedMessage: Ie,
|
|
6704
|
+
isMessagePinned: Le,
|
|
6700
6705
|
translateMessage: Gt,
|
|
6701
6706
|
mentionDisplayNamesByUid: j,
|
|
6702
6707
|
rememberMentionDisplayNames: re,
|
|
@@ -6717,14 +6722,14 @@ function eu({ environment: e }) {
|
|
|
6717
6722
|
};
|
|
6718
6723
|
}
|
|
6719
6724
|
async function tu(e) {
|
|
6720
|
-
return
|
|
6721
|
-
let t =
|
|
6725
|
+
return nt(e), Yl === e && Xl || (Xl = (async () => {
|
|
6726
|
+
let t = rt(), n = new K.AppSettingsBuilder().subscribePresenceForAllUsers().setRegion(t.region).autoEstablishSocketConnection(!0).setStorageMode(K.StorageMode.SESSION).build();
|
|
6722
6727
|
await K.init(t.appId, n), Yl = e;
|
|
6723
6728
|
})()), Xl;
|
|
6724
6729
|
}
|
|
6725
6730
|
function nu() {
|
|
6726
6731
|
try {
|
|
6727
|
-
return localStorage.getItem(`${
|
|
6732
|
+
return localStorage.getItem(`${rt().appId}:common_store/user`) !== null;
|
|
6728
6733
|
} catch {
|
|
6729
6734
|
return !0;
|
|
6730
6735
|
}
|
|
@@ -6732,7 +6737,7 @@ function nu() {
|
|
|
6732
6737
|
function ru(e) {
|
|
6733
6738
|
if (Zl === e && Ql) return Ql;
|
|
6734
6739
|
let t = (async () => {
|
|
6735
|
-
let { CometChatCalls: e } = await import("@cometchat/calls-sdk-javascript"), t =
|
|
6740
|
+
let { CometChatCalls: e } = await import("@cometchat/calls-sdk-javascript"), t = rt(), n = await e.init({
|
|
6736
6741
|
appId: t.appId,
|
|
6737
6742
|
region: t.region
|
|
6738
6743
|
});
|
|
@@ -6744,9 +6749,9 @@ function ru(e) {
|
|
|
6744
6749
|
}), t;
|
|
6745
6750
|
}
|
|
6746
6751
|
async function iu(e) {
|
|
6747
|
-
let t =
|
|
6752
|
+
let t = ct();
|
|
6748
6753
|
if (!t) throw Error("Not logged in.");
|
|
6749
|
-
let n = await fetch(`${
|
|
6754
|
+
let n = await fetch(`${rt().chatApiBaseUrl}/chats/${e}/call`, {
|
|
6750
6755
|
method: "POST",
|
|
6751
6756
|
headers: { Authorization: `Bearer ${t}` }
|
|
6752
6757
|
});
|
|
@@ -6756,16 +6761,16 @@ async function iu(e) {
|
|
|
6756
6761
|
async function au(e) {
|
|
6757
6762
|
let t = JSON.parse(atob(e.split(".")[1]));
|
|
6758
6763
|
if (!t.sub) throw Error("Cannot read JWT subject from access token.");
|
|
6759
|
-
let n =
|
|
6764
|
+
let n = ut();
|
|
6760
6765
|
if (n && n.sub === t.sub && n.token) return n.token;
|
|
6761
|
-
let r = await fetch(`${
|
|
6766
|
+
let r = await fetch(`${rt().chatApiBaseUrl}/chats/token`, {
|
|
6762
6767
|
method: "POST",
|
|
6763
6768
|
headers: new Headers([["Authorization", `Bearer ${e}`]])
|
|
6764
6769
|
});
|
|
6765
|
-
if (r.status === 401) throw
|
|
6770
|
+
if (r.status === 401) throw lt(null), pt(), Error("Unauthorized while fetching CometChat token.");
|
|
6766
6771
|
if (!r.ok) throw Error(`Token exchange failed with status ${r.status}.`);
|
|
6767
6772
|
let i = await r.json();
|
|
6768
|
-
return
|
|
6773
|
+
return ft({
|
|
6769
6774
|
sub: t.sub,
|
|
6770
6775
|
token: i.token
|
|
6771
6776
|
}), i.token;
|
|
@@ -6776,8 +6781,8 @@ function ou(e, t) {
|
|
|
6776
6781
|
id: e.getConversationId(),
|
|
6777
6782
|
targetId: o,
|
|
6778
6783
|
type: r,
|
|
6779
|
-
title:
|
|
6780
|
-
subtitle:
|
|
6784
|
+
title: Et("scheduledMessages"),
|
|
6785
|
+
subtitle: Et("hiddenHelperConversation"),
|
|
6781
6786
|
hasJoined: !0,
|
|
6782
6787
|
unreadCount: 0,
|
|
6783
6788
|
tags: [],
|
|
@@ -6790,10 +6795,10 @@ function ou(e, t) {
|
|
|
6790
6795
|
type: r,
|
|
6791
6796
|
title: n.getName() ?? o,
|
|
6792
6797
|
subtitle: l && Nu(l) && !l.isDeleted ? Iu(l) : "No messages yet",
|
|
6793
|
-
avatar: i ?
|
|
6798
|
+
avatar: i ? mt(i.getAvatar()) : void 0,
|
|
6794
6799
|
unreadCount: Number.isFinite(u) ? u : 0,
|
|
6795
6800
|
hasJoined: a?.getHasJoined() ?? !0,
|
|
6796
|
-
lastMessageAt: s && !l?.isDeleted ?
|
|
6801
|
+
lastMessageAt: s && !l?.isDeleted ? Xt(s.getSentAt?.()) ?? /* @__PURE__ */ new Date(0) : void 0,
|
|
6797
6802
|
tags: (e.getTags() ?? []).map((e) => String(e)),
|
|
6798
6803
|
memberCount: a ? Math.max((a.getMembersCount() ?? 1) - 1, 0) : void 0,
|
|
6799
6804
|
source: e
|
|
@@ -6810,7 +6815,7 @@ function su(e, t) {
|
|
|
6810
6815
|
senderAvatar: Yu(e, n),
|
|
6811
6816
|
text: Cu(e, t),
|
|
6812
6817
|
kind: a,
|
|
6813
|
-
sentAt:
|
|
6818
|
+
sentAt: Xt(e.getSentAt?.()) ?? /* @__PURE__ */ new Date(0),
|
|
6814
6819
|
category: e.getCategory?.() ?? "message",
|
|
6815
6820
|
type: e.getType?.() ?? "text",
|
|
6816
6821
|
isOwn: r === t,
|
|
@@ -6827,7 +6832,7 @@ function su(e, t) {
|
|
|
6827
6832
|
reactions: yd(e),
|
|
6828
6833
|
receipts: pu(e),
|
|
6829
6834
|
deliveryState: "sent",
|
|
6830
|
-
pinnedAt:
|
|
6835
|
+
pinnedAt: Xt(e.getPinnedAt?.()),
|
|
6831
6836
|
pinnedBy: e.getPinnedBy?.() ?? void 0,
|
|
6832
6837
|
metadata: l,
|
|
6833
6838
|
source: e
|
|
@@ -6842,7 +6847,7 @@ function cu(e) {
|
|
|
6842
6847
|
function lu(e) {
|
|
6843
6848
|
let t = e?.getSender?.();
|
|
6844
6849
|
if (!t?.getUid?.()) return null;
|
|
6845
|
-
let n =
|
|
6850
|
+
let n = Xt(e.getReadAt?.()), r = Xt(e.getDeliveredAt?.()), i = n ? "read" : r ? "delivered" : null;
|
|
6846
6851
|
return i ? {
|
|
6847
6852
|
kind: i,
|
|
6848
6853
|
user: fu(t),
|
|
@@ -6857,24 +6862,24 @@ function du(e) {
|
|
|
6857
6862
|
return t?.getUid?.() ? {
|
|
6858
6863
|
emoji: e.getReaction(),
|
|
6859
6864
|
user: fu(t),
|
|
6860
|
-
reactedAt:
|
|
6865
|
+
reactedAt: Xt(e.getReactedAt?.())
|
|
6861
6866
|
} : null;
|
|
6862
6867
|
}
|
|
6863
6868
|
function fu(e) {
|
|
6864
6869
|
return {
|
|
6865
6870
|
uid: e.getUid(),
|
|
6866
6871
|
name: e.getName?.() ?? e.getUid(),
|
|
6867
|
-
avatar:
|
|
6872
|
+
avatar: mt(e.getAvatar?.()),
|
|
6868
6873
|
status: jl(e.getStatus?.()),
|
|
6869
|
-
lastSeen:
|
|
6874
|
+
lastSeen: Xt(e.getLastActiveAt?.())
|
|
6870
6875
|
};
|
|
6871
6876
|
}
|
|
6872
6877
|
function pu(e) {
|
|
6873
6878
|
return {
|
|
6874
|
-
deliveredAt:
|
|
6875
|
-
deliveredToMeAt:
|
|
6876
|
-
readAt:
|
|
6877
|
-
readByMeAt:
|
|
6879
|
+
deliveredAt: Xt(e.getDeliveredAt?.()),
|
|
6880
|
+
deliveredToMeAt: Xt(e.getDeliveredToMeAt?.()),
|
|
6881
|
+
readAt: Xt(e.getReadAt?.()),
|
|
6882
|
+
readByMeAt: Xt(e.getReadByMeAt?.())
|
|
6878
6883
|
};
|
|
6879
6884
|
}
|
|
6880
6885
|
var mu = 8e3, hu = 6, gu = 3e4, _u = 5e3, vu = 6e4, yu = 9e5, bu = 36e5, xu = 6e4;
|
|
@@ -6891,7 +6896,7 @@ function Su(e, t) {
|
|
|
6891
6896
|
let t = ad(e, nd(e))[0];
|
|
6892
6897
|
return e.getCaption?.()?.trim?.() || Hc(t ? [t] : [], "Sent an attachment");
|
|
6893
6898
|
}
|
|
6894
|
-
return e.getSender?.()?.getUid?.() === t ?
|
|
6899
|
+
return e.getSender?.()?.getUid?.() === t ? Et("youSentAMessage") : Et("unsupportedMessageType");
|
|
6895
6900
|
}
|
|
6896
6901
|
function Cu(e, t) {
|
|
6897
6902
|
if (e.getDeletedAt?.()) return "Message removed";
|
|
@@ -6908,10 +6913,10 @@ function Cu(e, t) {
|
|
|
6908
6913
|
let n = ad(e, nd(e))[0];
|
|
6909
6914
|
return Hc(n ? [n] : [], "Sent an attachment");
|
|
6910
6915
|
}
|
|
6911
|
-
return e.getSender?.()?.getUid?.() === t ?
|
|
6916
|
+
return e.getSender?.()?.getUid?.() === t ? Et("youSentAMessage") : Et("unsupportedMessageType");
|
|
6912
6917
|
}
|
|
6913
6918
|
function wu(e) {
|
|
6914
|
-
return [...e].filter((e) => e.title !==
|
|
6919
|
+
return [...e].filter((e) => e.title !== Et("scheduledMessages")).sort((e, t) => {
|
|
6915
6920
|
let n = e.lastMessageAt?.getTime() ?? 0;
|
|
6916
6921
|
return (t.lastMessageAt?.getTime() ?? 0) - n;
|
|
6917
6922
|
});
|
|
@@ -7011,14 +7016,14 @@ function zu(e) {
|
|
|
7011
7016
|
return e.type === "group" ? K.RECEIVER_TYPE.GROUP : K.RECEIVER_TYPE.USER;
|
|
7012
7017
|
}
|
|
7013
7018
|
function Bu() {
|
|
7014
|
-
let e =
|
|
7019
|
+
let e = ct();
|
|
7015
7020
|
if (!e) throw Error("Missing access token.");
|
|
7016
7021
|
return e;
|
|
7017
7022
|
}
|
|
7018
7023
|
async function Vu(e, t, n) {
|
|
7019
7024
|
let r = t.text?.trim();
|
|
7020
7025
|
if (!r) return;
|
|
7021
|
-
let i = Bu(), a = await fetch(`${
|
|
7026
|
+
let i = Bu(), a = await fetch(`${rt().chatApiBaseUrl}/chats/scheduledMessages`, {
|
|
7022
7027
|
method: "POST",
|
|
7023
7028
|
headers: {
|
|
7024
7029
|
"Content-Type": "application/json",
|
|
@@ -7038,9 +7043,9 @@ async function Vu(e, t, n) {
|
|
|
7038
7043
|
}
|
|
7039
7044
|
async function Hu(e, t, n) {
|
|
7040
7045
|
if (!t.file) return;
|
|
7041
|
-
let r = Bu(), i =
|
|
7046
|
+
let r = Bu(), i = ut()?.token;
|
|
7042
7047
|
if (!i) throw Error("Missing CometChat auth token.");
|
|
7043
|
-
let a = Wu(t.file), o = t.caption?.trim() ?? "", s = Gu(e, t.file, a, o, t.scheduleDate, n), c = await fetch(`${
|
|
7048
|
+
let a = Wu(t.file), o = t.caption?.trim() ?? "", s = Gu(e, t.file, a, o, t.scheduleDate, n), c = await fetch(`${rt().chatApiBaseUrl}/chats/scheduledMediaMessages`, {
|
|
7044
7049
|
method: "POST",
|
|
7045
7050
|
headers: {
|
|
7046
7051
|
Accept: "multipart/form-data",
|
|
@@ -7094,11 +7099,11 @@ function Ju(e, t) {
|
|
|
7094
7099
|
return typeof n == "string" && n.trim() ? n.trim() : e?.getName?.() ?? "System";
|
|
7095
7100
|
}
|
|
7096
7101
|
function Yu(e, t) {
|
|
7097
|
-
return
|
|
7102
|
+
return mt(Zu(t)) || (Xu(e, "sender") ?? void 0);
|
|
7098
7103
|
}
|
|
7099
7104
|
function Xu(e, t) {
|
|
7100
7105
|
let n = vd(e)?.entities?.[t]?.entity;
|
|
7101
|
-
return
|
|
7106
|
+
return mt(Zu(n));
|
|
7102
7107
|
}
|
|
7103
7108
|
function Zu(e) {
|
|
7104
7109
|
if (!e || typeof e != "object") return e;
|
|
@@ -7293,7 +7298,7 @@ function dd(e) {
|
|
|
7293
7298
|
return !e || typeof e != "object" ? [] : Object.entries(e).map(([e, t]) => ({
|
|
7294
7299
|
uid: e,
|
|
7295
7300
|
name: String(t?.name ?? e),
|
|
7296
|
-
avatar:
|
|
7301
|
+
avatar: mt(t?.avatar)
|
|
7297
7302
|
}));
|
|
7298
7303
|
}
|
|
7299
7304
|
function fd(e) {
|
|
@@ -7407,7 +7412,7 @@ async function Cd(e) {
|
|
|
7407
7412
|
let t = new K.GroupMembersRequestBuilder(e).setLimit(50).build(), n = !0, r = [];
|
|
7408
7413
|
try {
|
|
7409
7414
|
for (; n;) {
|
|
7410
|
-
let e = await
|
|
7415
|
+
let e = await X(t.fetchNext(), It);
|
|
7411
7416
|
if (!e?.length) break;
|
|
7412
7417
|
r.push(...e.map((e) => Al(e))), n = e.length === 50;
|
|
7413
7418
|
}
|
|
@@ -7418,7 +7423,7 @@ async function Cd(e) {
|
|
|
7418
7423
|
}
|
|
7419
7424
|
async function wd(e) {
|
|
7420
7425
|
await Pd("failed to get muted setting. User not logged in");
|
|
7421
|
-
let t = await Fd(`${
|
|
7426
|
+
let t = await Fd(`${rt().chatApiBaseUrl}/chats/${e}/settings/${(await K.getLoggedinUser())?.getUid?.()}`, { method: "GET" });
|
|
7422
7427
|
return jd()?.storeParticipantSettings({
|
|
7423
7428
|
chatUid: e,
|
|
7424
7429
|
mutedUntil: t.mutedUntil,
|
|
@@ -7427,7 +7432,7 @@ async function wd(e) {
|
|
|
7427
7432
|
}
|
|
7428
7433
|
async function Td(e, t) {
|
|
7429
7434
|
await Pd("failed to mute chat. User not logged in");
|
|
7430
|
-
let n = await Fd(`${
|
|
7435
|
+
let n = await Fd(`${rt().chatApiBaseUrl}/chats/${e}/settings/${(await K.getLoggedinUser())?.getUid?.()}`, {
|
|
7431
7436
|
method: "PATCH",
|
|
7432
7437
|
body: JSON.stringify({ mutedUntil: t })
|
|
7433
7438
|
});
|
|
@@ -7438,10 +7443,10 @@ async function Td(e, t) {
|
|
|
7438
7443
|
}), n.mutedUntil;
|
|
7439
7444
|
}
|
|
7440
7445
|
async function Ed() {
|
|
7441
|
-
return await Pd("failed to get muted all setting. User not logged in"), Fd(`${
|
|
7446
|
+
return await Pd("failed to get muted all setting. User not logged in"), Fd(`${rt().chatApiBaseUrl}/person/settings`, { method: "GET" });
|
|
7442
7447
|
}
|
|
7443
7448
|
async function Dd(e) {
|
|
7444
|
-
return await Pd("failed to update person settings. User not logged in"), Fd(`${
|
|
7449
|
+
return await Pd("failed to update person settings. User not logged in"), Fd(`${rt().chatApiBaseUrl}/person/settings`, {
|
|
7445
7450
|
method: "PATCH",
|
|
7446
7451
|
body: JSON.stringify(e)
|
|
7447
7452
|
});
|
|
@@ -7466,8 +7471,8 @@ function jd() {
|
|
|
7466
7471
|
return e ? new fl(e) : null;
|
|
7467
7472
|
}
|
|
7468
7473
|
function Md() {
|
|
7469
|
-
let e =
|
|
7470
|
-
return e ? `bcc-chat:${
|
|
7474
|
+
let e = Kt();
|
|
7475
|
+
return e ? `bcc-chat:${rt().appId}:${e}` : null;
|
|
7471
7476
|
}
|
|
7472
7477
|
function Nd() {
|
|
7473
7478
|
return K.__bccCompatLoggedInUser ?? null;
|
|
@@ -7478,7 +7483,7 @@ async function Pd(e) {
|
|
|
7478
7483
|
return t;
|
|
7479
7484
|
}
|
|
7480
7485
|
async function Fd(e, t) {
|
|
7481
|
-
let n =
|
|
7486
|
+
let n = ct();
|
|
7482
7487
|
if (!n) throw Error("Missing access token.");
|
|
7483
7488
|
let r = await fetch(e, {
|
|
7484
7489
|
...t,
|
|
@@ -7542,7 +7547,7 @@ function Qd(e) {
|
|
|
7542
7547
|
if ($.value && !e && !Hd.value) return $.value;
|
|
7543
7548
|
let t = e ?? Hd.value;
|
|
7544
7549
|
if (!t) throw Error("Environment has not been set yet. Call app.use(chat, { environment: ... }) first.");
|
|
7545
|
-
return (!$.value || Hd.value !== t) && (Hd.value = t,
|
|
7550
|
+
return (!$.value || Hd.value !== t) && (Hd.value = t, nt(t), $.value = eu({ environment: t })), $.value;
|
|
7546
7551
|
}
|
|
7547
7552
|
var $d = a(() => $.value?.currentUser.value?.uid);
|
|
7548
7553
|
function ef(e) {
|
|
@@ -7565,7 +7570,7 @@ function tf(e) {
|
|
|
7565
7570
|
}
|
|
7566
7571
|
async function nf(e) {
|
|
7567
7572
|
try {
|
|
7568
|
-
let t = await
|
|
7573
|
+
let t = await X(K.getMessageReceipts(e), It);
|
|
7569
7574
|
qd.value = {
|
|
7570
7575
|
...qd.value,
|
|
7571
7576
|
[e]: ef(t)
|
|
@@ -7581,9 +7586,9 @@ async function rf(e, t) {
|
|
|
7581
7586
|
type: n?.type ?? r?.getType?.() ?? "text",
|
|
7582
7587
|
senderUid: i,
|
|
7583
7588
|
senderName: n?.senderName ?? r?.getSender?.()?.getName?.() ?? "System",
|
|
7584
|
-
sentAt: n?.sentAt ??
|
|
7589
|
+
sentAt: n?.sentAt ?? Xt(r?.getSentAt?.()) ?? /* @__PURE__ */ new Date(0),
|
|
7585
7590
|
sentByCurrentUser: o,
|
|
7586
|
-
readAt:
|
|
7591
|
+
readAt: Xt(r?.getReadAt?.()),
|
|
7587
7592
|
messageReceipts: o ? qd.value[a] : void 0
|
|
7588
7593
|
};
|
|
7589
7594
|
}
|
|
@@ -7624,17 +7629,17 @@ R([() => $.value?.conversations.value, () => $d.value], async () => {
|
|
|
7624
7629
|
qd.value = {}, Jd.clear();
|
|
7625
7630
|
});
|
|
7626
7631
|
async function mf(e, t) {
|
|
7627
|
-
Gd.value = t.loggerCallback,
|
|
7632
|
+
Gd.value = t.loggerCallback, Tt(t.language ?? "en"), Zd(t.themeMode), e.use(H);
|
|
7628
7633
|
let n = e.config.globalProperties.$primevue;
|
|
7629
7634
|
n && (n.config.ripple = !0, n.config.inputVariant = "filled"), e.provide("theme", { theme: Rd });
|
|
7630
7635
|
let r = Qd(t.environment);
|
|
7631
7636
|
Xd(Bd.INFO, "Initializing chat", {
|
|
7632
7637
|
environment: t.environment,
|
|
7633
|
-
language:
|
|
7638
|
+
language: yt.value,
|
|
7634
7639
|
themeMode: t.themeMode
|
|
7635
7640
|
}), await r.init(), Vd.value = !0, Yd?.(), g(t.accessToken) ? Yd = R(t.accessToken, async (e) => {
|
|
7636
7641
|
e ? await hf(e) : await gf();
|
|
7637
|
-
}, { immediate: !0 }) : t.accessToken && await hf(t.accessToken), Xd(Bd.INFO, "Chat initialized", { environment:
|
|
7642
|
+
}, { immediate: !0 }) : t.accessToken && await hf(t.accessToken), Xd(Bd.INFO, "Chat initialized", { environment: rt().appId });
|
|
7638
7643
|
}
|
|
7639
7644
|
async function hf(e) {
|
|
7640
7645
|
if (!e) return gf();
|
|
@@ -7659,7 +7664,7 @@ async function yf() {
|
|
|
7659
7664
|
Kd.clear(), $.value && (await $.value.disconnectRealtime(), $.value.closeThread());
|
|
7660
7665
|
}
|
|
7661
7666
|
function bf(e) {
|
|
7662
|
-
|
|
7667
|
+
Tt(e);
|
|
7663
7668
|
}
|
|
7664
7669
|
function xf(e) {
|
|
7665
7670
|
Zd(e);
|
|
@@ -7756,7 +7761,7 @@ var Lf = /* @__PURE__ */ new Map(), Rf = {
|
|
|
7756
7761
|
login: hf,
|
|
7757
7762
|
logout: gf,
|
|
7758
7763
|
setCurrentEnvironment: Cf,
|
|
7759
|
-
getCurrentEnvironment:
|
|
7764
|
+
getCurrentEnvironment: rt,
|
|
7760
7765
|
setThemeMode: xf,
|
|
7761
7766
|
setLanguage: bf,
|
|
7762
7767
|
getGroup: wf,
|
|
@@ -7769,7 +7774,7 @@ var Lf = /* @__PURE__ */ new Map(), Rf = {
|
|
|
7769
7774
|
searchChat: (e, t = 25) => Sd(e, t, $.value?.currentUser.value?.uid),
|
|
7770
7775
|
getSenderDisplayName: xd,
|
|
7771
7776
|
getMessageTextPreview: Xc,
|
|
7772
|
-
proxyImage:
|
|
7777
|
+
proxyImage: ht,
|
|
7773
7778
|
getMutedUntil: Af,
|
|
7774
7779
|
muteChat: kf,
|
|
7775
7780
|
getMyChatSettings: Ed,
|
|
@@ -7777,7 +7782,7 @@ var Lf = /* @__PURE__ */ new Map(), Rf = {
|
|
|
7777
7782
|
setMuteAll: Od,
|
|
7778
7783
|
toggleMuteAll: kd,
|
|
7779
7784
|
toMarkdownHtml: Ac,
|
|
7780
|
-
retrieveCcToken:
|
|
7785
|
+
retrieveCcToken: dt,
|
|
7781
7786
|
scrollToMessageId: Wd,
|
|
7782
7787
|
scrollToMessage: If,
|
|
7783
7788
|
pinnedMessages: jf,
|
|
@@ -7790,7 +7795,7 @@ var Lf = /* @__PURE__ */ new Map(), Rf = {
|
|
|
7790
7795
|
onlineStatus: cf.onlineStatus,
|
|
7791
7796
|
theme: Rd,
|
|
7792
7797
|
themeMode: Ud,
|
|
7793
|
-
language:
|
|
7798
|
+
language: yt,
|
|
7794
7799
|
calls: Rf
|
|
7795
7800
|
};
|
|
7796
7801
|
//#endregion
|
|
@@ -7841,7 +7846,7 @@ function Zf(e) {
|
|
|
7841
7846
|
uid: t.targetId,
|
|
7842
7847
|
displayName: t.title,
|
|
7843
7848
|
avatar: t.avatar
|
|
7844
|
-
}] : a.filter((e) => e.uid !== i).map(
|
|
7849
|
+
}] : a.filter((e) => e.uid !== i).map(an) : [];
|
|
7845
7850
|
});
|
|
7846
7851
|
return {
|
|
7847
7852
|
client: t,
|
|
@@ -7856,7 +7861,7 @@ function Zf(e) {
|
|
|
7856
7861
|
isChannel: d,
|
|
7857
7862
|
mentionCandidates: f,
|
|
7858
7863
|
mentionNameByUid: a((e) => {
|
|
7859
|
-
let n =
|
|
7864
|
+
let n = xn(on(f.value), t.value?.mentionDisplayNamesByUid.value ?? {});
|
|
7860
7865
|
return e && tp(e, n) ? e : n;
|
|
7861
7866
|
})
|
|
7862
7867
|
};
|
|
@@ -7883,7 +7888,7 @@ function np(e) {
|
|
|
7883
7888
|
}), s = a(() => !!(t.value && (r.value && i.value || t.value.loadingMessages.value))), c = a(() => t.value?.hasOlderMessages.value ?? !1), l = a(() => t.value?.loadingOlderMessages.value ?? !1), u = a(() => {
|
|
7884
7889
|
let n = t.value?.threadMessages.value ?? [];
|
|
7885
7890
|
return e.getHideDeletedMessages() ? n.filter((e) => !e.isDeleted) : n;
|
|
7886
|
-
}), d = a(() => t.value?.loadingThreadMessages.value ?? !1), f = a(() => t.value?.activeThreadParentMessage.value ?? null), p = a(() => t.value?.hasOlderThreadMessages.value ?? !1), m = a(() => t.value?.loadingOlderThreadMessages.value ?? !1), h = a(() => t.value?.pinnedMessages.value ?? []), g = a(() =>
|
|
7891
|
+
}), d = a(() => t.value?.loadingThreadMessages.value ?? !1), f = a(() => t.value?.activeThreadParentMessage.value ?? null), p = a(() => t.value?.hasOlderThreadMessages.value ?? !1), m = a(() => t.value?.loadingOlderThreadMessages.value ?? !1), h = a(() => t.value?.pinnedMessages.value ?? []), g = a(() => Ft(h.value, t.value?.pinnedMessagesLimit.value)), _ = a(() => new Set(h.value.map((e) => e.id)));
|
|
7887
7892
|
function v(e) {
|
|
7888
7893
|
return _.value.has(e);
|
|
7889
7894
|
}
|
|
@@ -8182,7 +8187,7 @@ function mp(e) {
|
|
|
8182
8187
|
try {
|
|
8183
8188
|
await n.forwardMessage(r, e), m?.add({
|
|
8184
8189
|
severity: "success",
|
|
8185
|
-
summary: i ?
|
|
8190
|
+
summary: i ? Et("forwardedToConversation", { title: i }) : Et("forward"),
|
|
8186
8191
|
life: 3e3
|
|
8187
8192
|
});
|
|
8188
8193
|
} finally {
|
|
@@ -8376,7 +8381,7 @@ function wp(e) {
|
|
|
8376
8381
|
return;
|
|
8377
8382
|
}
|
|
8378
8383
|
try {
|
|
8379
|
-
let o = await
|
|
8384
|
+
let o = await X(new K.GroupMembersRequestBuilder(n).setLimit(50).build().fetchNext(), It);
|
|
8380
8385
|
if (r !== i) return;
|
|
8381
8386
|
a = n, t.value = (o ?? []).map((e) => Al(e)), e.onMembersChanged(t.value);
|
|
8382
8387
|
} catch {
|
|
@@ -8522,7 +8527,7 @@ function jp(e) {
|
|
|
8522
8527
|
triggerChar: "@",
|
|
8523
8528
|
enabled: e.enabled,
|
|
8524
8529
|
maxSuggestions: e.maxSuggestions ?? 8,
|
|
8525
|
-
getCandidates: (t) =>
|
|
8530
|
+
getCandidates: (t) => sn(e.getMentionCandidates(), t, e.maxSuggestions ?? 8).map((e) => ({
|
|
8526
8531
|
id: e.uid,
|
|
8527
8532
|
label: e.displayName,
|
|
8528
8533
|
avatar: e.avatar
|
|
@@ -8694,7 +8699,7 @@ function Rp(e, t, n) {
|
|
|
8694
8699
|
}, { deep: !0 });
|
|
8695
8700
|
function b(e) {
|
|
8696
8701
|
let t = Sc(e);
|
|
8697
|
-
return t.includes("<@uid:") ? Sc(
|
|
8702
|
+
return t.includes("<@uid:") ? Sc(mn(t, n.getMentionNameByUid?.() ?? {})) : t;
|
|
8698
8703
|
}
|
|
8699
8704
|
R(() => n.getModelValue(), (e) => {
|
|
8700
8705
|
let n = t.value, r = b(e);
|
|
@@ -8908,7 +8913,7 @@ var zp = ["data-testid", "onClick"], Bp = { class: "composer-actions-menu__icon"
|
|
|
8908
8913
|
__name: "ComposerActionsPopover",
|
|
8909
8914
|
emits: ["pickFile", "openPoll"],
|
|
8910
8915
|
setup(e, { expose: t, emit: n }) {
|
|
8911
|
-
let i = n, a = D(!1), s = D(null), { t: u } =
|
|
8916
|
+
let i = n, a = D(!1), s = D(null), { t: u } = Y(), d = typeof navigator < "u" && (/iPad|iPhone|iPod/.test(navigator.userAgent) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1), f = [
|
|
8912
8917
|
{
|
|
8913
8918
|
kind: "image",
|
|
8914
8919
|
label: "attachImage",
|
|
@@ -8918,7 +8923,7 @@ var zp = ["data-testid", "onClick"], Bp = { class: "composer-actions-menu__icon"
|
|
|
8918
8923
|
{
|
|
8919
8924
|
kind: "video",
|
|
8920
8925
|
label: "attachVideo",
|
|
8921
|
-
icon:
|
|
8926
|
+
icon: Xe,
|
|
8922
8927
|
testId: "composer-attach-video"
|
|
8923
8928
|
},
|
|
8924
8929
|
{
|
|
@@ -8989,7 +8994,7 @@ var zp = ["data-testid", "onClick"], Bp = { class: "composer-actions-menu__icon"
|
|
|
8989
8994
|
},
|
|
8990
8995
|
emits: ["cancel"],
|
|
8991
8996
|
setup(e, { emit: t }) {
|
|
8992
|
-
let n = e, r = t, { t: i } =
|
|
8997
|
+
let n = e, r = t, { t: i } = Y(), o = ep(), s = a(() => qc(n.message, i("message"), o.mentionNameByUid.value));
|
|
8993
8998
|
return (t, n) => (T(), c("div", Gp, [l("div", Kp, [
|
|
8994
8999
|
l("p", { class: y(["body-sm font-semibold uppercase", e.variant === "editing" ? "text-information" : "text-success"]) }, M(e.variant === "editing" ? P(i)("editingInContext", { context: e.contextLabel }) : P(i)("replyingInContext", { context: e.contextLabel })), 3),
|
|
8995
9000
|
l("p", qp, M(e.message.senderName), 1),
|
|
@@ -9013,7 +9018,7 @@ var zp = ["data-testid", "onClick"], Bp = { class: "composer-actions-menu__icon"
|
|
|
9013
9018
|
},
|
|
9014
9019
|
emits: ["format", "link"],
|
|
9015
9020
|
setup(e, { emit: t }) {
|
|
9016
|
-
let n = t, { t: r } =
|
|
9021
|
+
let n = t, { t: r } = Y();
|
|
9017
9022
|
return (t, a) => (T(), o(i, { to: "body" }, [e.visible ? (T(), c("div", {
|
|
9018
9023
|
key: 0,
|
|
9019
9024
|
class: y(["format-menu", e.position.placement === "below" ? "format-menu--below" : "format-menu--above"]),
|
|
@@ -9085,7 +9090,7 @@ var zp = ["data-testid", "onClick"], Bp = { class: "composer-actions-menu__icon"
|
|
|
9085
9090
|
"cancel"
|
|
9086
9091
|
],
|
|
9087
9092
|
setup(e, { emit: t }) {
|
|
9088
|
-
let n = 0, r = e, i = t, { t: u } =
|
|
9093
|
+
let n = 0, r = e, i = t, { t: u } = Y(), d = `composer-link-url-${++n}`, p = D(""), m = D(!1), h = a(() => Mc(p.value)), g = a(() => m.value && !h.value), _ = a(() => !r.disabled && !!h.value);
|
|
9089
9094
|
R(() => r.visible, async (e) => {
|
|
9090
9095
|
e && (p.value = r.initialUrl ?? "", m.value = !1, await v(), document.querySelector(`[data-link-dialog-id="${d}"]`)?.focus());
|
|
9091
9096
|
}), R(() => r.initialUrl, (e) => {
|
|
@@ -9153,7 +9158,7 @@ var zp = ["data-testid", "onClick"], Bp = { class: "composer-actions-menu__icon"
|
|
|
9153
9158
|
},
|
|
9154
9159
|
emits: ["update:visible", "send"],
|
|
9155
9160
|
setup(e, { expose: t, emit: n }) {
|
|
9156
|
-
let i = e, s = n, { t: u } =
|
|
9161
|
+
let i = e, s = n, { t: u } = Y(), d = D(""), p = D(["", ""]), m = a(() => {
|
|
9157
9162
|
let e = d.value.trim(), t = p.value.map((e) => e.trim()).filter(Boolean);
|
|
9158
9163
|
return !!e && t.length >= 2;
|
|
9159
9164
|
});
|
|
@@ -9326,7 +9331,7 @@ var bm = { class: "w-full space-y-6" }, xm = { class: "w-full space-y-2" }, Sm =
|
|
|
9326
9331
|
},
|
|
9327
9332
|
emits: ["update:visible", "schedule"],
|
|
9328
9333
|
setup(e, { expose: t, emit: n }) {
|
|
9329
|
-
let i = e, u = n, { t: d } =
|
|
9334
|
+
let i = e, u = n, { t: d } = Y(), { occurrences: p, canRemoveOccurrences: m, hasDuplicateOccurrences: h, isValid: g, addOccurrence: _, removeOccurrence: v, reset: y, statusFor: b, pendingSubmitDates: x, isRetry: S, beginSubmission: C, applyResult: w } = ym(), E = a(() => g.value && i.canSchedule && !i.submitting && x.value.length > 0);
|
|
9330
9335
|
function D() {
|
|
9331
9336
|
if (!E.value) return;
|
|
9332
9337
|
let e = C();
|
|
@@ -9403,7 +9408,7 @@ var bm = { class: "w-full space-y-6" }, xm = { class: "w-full space-y-2" }, Sm =
|
|
|
9403
9408
|
key: 0,
|
|
9404
9409
|
class: "text-success size-5 shrink-0",
|
|
9405
9410
|
"aria-label": P(d)("scheduleTimeSucceeded")
|
|
9406
|
-
}, null, 8, ["aria-label"])) : P(b)(t)?.success === !1 ? (T(), o(P(
|
|
9411
|
+
}, null, 8, ["aria-label"])) : P(b)(t)?.success === !1 ? (T(), o(P(Ee), {
|
|
9407
9412
|
key: 1,
|
|
9408
9413
|
class: "text-danger size-5 shrink-0",
|
|
9409
9414
|
"aria-label": P(d)("scheduleTimeFailed")
|
|
@@ -9537,11 +9542,11 @@ var bm = { class: "w-full space-y-6" }, xm = { class: "w-full space-y-2" }, Sm =
|
|
|
9537
9542
|
video: "video/*",
|
|
9538
9543
|
audio: "audio/*",
|
|
9539
9544
|
file: "*/*"
|
|
9540
|
-
}, i = e, u = n, d = D(null), p = D(null), m = D(null), h = D("file"), _ = D(!1), b = D(!1), x = D(!1), S = D(""), C = D(""), w = D(!1), { t: E } =
|
|
9545
|
+
}, i = e, u = n, d = D(null), p = D(null), m = D(null), h = D("file"), _ = D(!1), b = D(!1), x = D(!1), S = D(""), C = D(""), w = D(!1), { t: E } = Y(), { isTouchUI: O } = Ap(), k = null, A = D(null), j = D(null), { applyLink: N, applyFormat: F, cancelLink: ee, editorKey: I, formatMenuPosition: L, focusEditor: z, handleContextMenu: te, handleInput: ne, handleKeydown: re, handlePaste: H, hideFormatMenu: U, requestLink: ie, resetEditor: ae, showFormatMenu: W, triggerCandidates: oe, triggerMenuPosition: G, highlightedTriggerIndex: se, showTriggerMenu: le, selectTriggerCandidate: K } = Rp(A, j, {
|
|
9541
9546
|
getModelValue: () => i.modelValue,
|
|
9542
9547
|
updateModelValue: (e) => u("update:modelValue", e),
|
|
9543
9548
|
submit: () => Ae(),
|
|
9544
|
-
requestLink:
|
|
9549
|
+
requestLink: Ee,
|
|
9545
9550
|
getMentionCandidates: () => i.mentionCandidates ?? [],
|
|
9546
9551
|
getMentionNameByUid: () => i.mentionNameByUid ?? {},
|
|
9547
9552
|
mentionsEnabled: () => i.mentionsEnabled ?? (i.mentionCandidates?.length ?? 0) > 0,
|
|
@@ -9588,10 +9593,10 @@ var bm = { class: "w-full space-y-6" }, xm = { class: "w-full space-y-2" }, Sm =
|
|
|
9588
9593
|
}
|
|
9589
9594
|
H(e);
|
|
9590
9595
|
}
|
|
9591
|
-
function
|
|
9596
|
+
function Ee(e) {
|
|
9592
9597
|
C.value = e.text, S.value = e.href ?? "", x.value = !0;
|
|
9593
9598
|
}
|
|
9594
|
-
function
|
|
9599
|
+
function q(e) {
|
|
9595
9600
|
N(e) && (x.value = !1);
|
|
9596
9601
|
}
|
|
9597
9602
|
function De() {
|
|
@@ -9818,7 +9823,7 @@ var bm = { class: "w-full space-y-6" }, xm = { class: "w-full space-y-2" }, Sm =
|
|
|
9818
9823
|
disabled: e.disabled,
|
|
9819
9824
|
"initial-url": S.value,
|
|
9820
9825
|
"selected-text": C.value,
|
|
9821
|
-
onApply:
|
|
9826
|
+
onApply: q,
|
|
9822
9827
|
onCancel: De
|
|
9823
9828
|
}, null, 8, [
|
|
9824
9829
|
"visible",
|
|
@@ -9853,7 +9858,7 @@ var bm = { class: "w-full space-y-6" }, xm = { class: "w-full space-y-2" }, Sm =
|
|
|
9853
9858
|
__name: "ConversationComposer",
|
|
9854
9859
|
props: { target: {} },
|
|
9855
9860
|
setup(e, { expose: t }) {
|
|
9856
|
-
let n = e, { t: r } =
|
|
9861
|
+
let n = e, { t: r } = Y(), i = ep(), l = ap(), u = up(), d = _p(), f = Sp(), p = a(() => n.target === "thread"), m = a({
|
|
9857
9862
|
get: () => p.value ? u.threadDraft.value : u.draft.value,
|
|
9858
9863
|
set: (e) => {
|
|
9859
9864
|
p.value ? u.threadDraft.value = e : u.draft.value = e;
|
|
@@ -9984,7 +9989,7 @@ function Ym(e) {
|
|
|
9984
9989
|
].includes(e.kind) && !e.isDeleted;
|
|
9985
9990
|
}
|
|
9986
9991
|
function g(t) {
|
|
9987
|
-
return !e.canPin() || !
|
|
9992
|
+
return !e.canPin() || !Ot(t) ? !1 : _(t) || e.pinLimitReached?.() !== !0;
|
|
9988
9993
|
}
|
|
9989
9994
|
function _(t) {
|
|
9990
9995
|
return e.isPinned(t);
|
|
@@ -10276,7 +10281,7 @@ function Ym(e) {
|
|
|
10276
10281
|
{
|
|
10277
10282
|
key: "translate",
|
|
10278
10283
|
label: e.t("translate"),
|
|
10279
|
-
icon:
|
|
10284
|
+
icon: J,
|
|
10280
10285
|
visible: l(t),
|
|
10281
10286
|
command: () => L(t)
|
|
10282
10287
|
}
|
|
@@ -10554,7 +10559,7 @@ var ah = { class: "fullscreen-dialog__header min-w-0 flex-1" }, oh = { class: "h
|
|
|
10554
10559
|
props: { attachment: {} },
|
|
10555
10560
|
emits: ["close"],
|
|
10556
10561
|
setup(e, { emit: t }) {
|
|
10557
|
-
let n = e, i = t, u = D(null), d = D(null), f = a(() => !!n.attachment?.url), p = a(() => n.attachment?.kind === "image"), m = a(() => n.attachment?.kind === "video"), { t: h } =
|
|
10562
|
+
let n = e, i = t, u = D(null), d = D(null), f = a(() => !!n.attachment?.url), p = a(() => n.attachment?.kind === "image"), m = a(() => n.attachment?.kind === "video"), { t: h } = Y(), { scale: g, translateX: _, translateY: v, isDragging: b, resetTransform: S, handlePointerDown: C, handlePointerMove: w, handlePointerUp: E, handlePointerCancel: O, handleWheel: k, handleDoubleClick: j } = ih({
|
|
10558
10563
|
viewportRef: u,
|
|
10559
10564
|
imageRef: d,
|
|
10560
10565
|
isImage: () => p.value
|
|
@@ -10691,7 +10696,7 @@ var wh = {
|
|
|
10691
10696
|
props: { attachment: {} },
|
|
10692
10697
|
emits: ["close"],
|
|
10693
10698
|
setup(e, { emit: t }) {
|
|
10694
|
-
let n = e, r = t, { t: i } =
|
|
10699
|
+
let n = e, r = t, { t: i } = Y(), a = D(null), { isPlaying: o, currentTime: u, duration: d, togglePlay: p, startSeek: m, seek: h, endSeek: g } = Ch({ audioRef: a });
|
|
10695
10700
|
R(() => n.attachment?.url, () => {
|
|
10696
10701
|
let e = a.value;
|
|
10697
10702
|
e && (e.load(), e.play());
|
|
@@ -10765,11 +10770,11 @@ var wh = {
|
|
|
10765
10770
|
__name: "MessageDateSeparator",
|
|
10766
10771
|
props: { date: {} },
|
|
10767
10772
|
setup(e) {
|
|
10768
|
-
let t = e, { locale: n, t: r } =
|
|
10773
|
+
let t = e, { locale: n, t: r } = Y(), i = a(() => {
|
|
10769
10774
|
let e = /* @__PURE__ */ new Date(), i = t.date, a = new Date(e.getFullYear(), e.getMonth(), e.getDate()), o = new Date(a);
|
|
10770
10775
|
o.setDate(o.getDate() - 1);
|
|
10771
10776
|
let s = new Date(a);
|
|
10772
|
-
return s.setDate(s.getDate() - 6), i >= a ? r("today") : i >= o ? r("yesterday") : i >= s ?
|
|
10777
|
+
return s.setDate(s.getDate() - 6), i >= a ? r("today") : i >= o ? r("yesterday") : i >= s ? wt(n.value, { weekday: "long" }).format(i) : wt(n.value, {
|
|
10773
10778
|
day: "numeric",
|
|
10774
10779
|
month: "short",
|
|
10775
10780
|
year: "numeric"
|
|
@@ -10813,7 +10818,7 @@ var wh = {
|
|
|
10813
10818
|
isOwn: { type: Boolean }
|
|
10814
10819
|
},
|
|
10815
10820
|
setup(e) {
|
|
10816
|
-
let t = e, n = D(null), r = D(!1), { t: i } =
|
|
10821
|
+
let t = e, n = D(null), r = D(!1), { t: i } = Y(), o = a(() => {
|
|
10817
10822
|
try {
|
|
10818
10823
|
return new URL(t.url).hostname.replace(/^www\./, "");
|
|
10819
10824
|
} catch {
|
|
@@ -10926,7 +10931,7 @@ var wh = {
|
|
|
10926
10931
|
props: { message: {} },
|
|
10927
10932
|
emits: ["openMedia"],
|
|
10928
10933
|
setup(e, { emit: t }) {
|
|
10929
|
-
let n = t, { t: i } =
|
|
10934
|
+
let n = t, { t: i } = Y();
|
|
10930
10935
|
function a(e) {
|
|
10931
10936
|
return !e || Number.isNaN(e) ? "" : e < 1048576 ? `${Math.round(e / 1024)} KB` : `${(e / 1048576).toFixed(1)} MB`;
|
|
10932
10937
|
}
|
|
@@ -10949,7 +10954,7 @@ var wh = {
|
|
|
10949
10954
|
"ppt",
|
|
10950
10955
|
"pptx",
|
|
10951
10956
|
"odp"
|
|
10952
|
-
].includes(t) ?
|
|
10957
|
+
].includes(t) ? q : [
|
|
10953
10958
|
"txt",
|
|
10954
10959
|
"md",
|
|
10955
10960
|
"json",
|
|
@@ -11032,11 +11037,11 @@ var wh = {
|
|
|
11032
11037
|
__name: "MessageDeliveryStatus",
|
|
11033
11038
|
props: { message: {} },
|
|
11034
11039
|
setup(e) {
|
|
11035
|
-
let t = e, { locale: n, t: r } =
|
|
11040
|
+
let t = e, { locale: n, t: r } = Y();
|
|
11036
11041
|
function i(e) {
|
|
11037
|
-
return
|
|
11042
|
+
return wt(n.value, {
|
|
11038
11043
|
timeStyle: "short",
|
|
11039
|
-
hourCycle:
|
|
11044
|
+
hourCycle: St()
|
|
11040
11045
|
}).format(e);
|
|
11041
11046
|
}
|
|
11042
11047
|
let u = a(() => {
|
|
@@ -11067,7 +11072,7 @@ var wh = {
|
|
|
11067
11072
|
case "failed": return {
|
|
11068
11073
|
state: "failed",
|
|
11069
11074
|
label: r("failed"),
|
|
11070
|
-
icon:
|
|
11075
|
+
icon: Ee,
|
|
11071
11076
|
class: "text-danger"
|
|
11072
11077
|
};
|
|
11073
11078
|
default: return {
|
|
@@ -11100,16 +11105,16 @@ var wh = {
|
|
|
11100
11105
|
__name: "MessageForwardedLabel",
|
|
11101
11106
|
props: { message: {} },
|
|
11102
11107
|
setup(e) {
|
|
11103
|
-
let { t } =
|
|
11108
|
+
let { t } = Y();
|
|
11104
11109
|
return (n, r) => e.message.forwardedFrom ? (T(), c("p", yg, M(P(t)("forwardedFrom", { name: e.message.forwardedFrom.senderName })), 1)) : s("", !0);
|
|
11105
11110
|
}
|
|
11106
11111
|
}), [["__scopeId", "data-v-2227d78f"]]), xg = { class: "mb-1 flex items-start justify-between gap-2" }, Sg = { class: "body-sm text-subtlest truncate font-medium!" }, Cg = /* @__PURE__ */ p({
|
|
11107
11112
|
__name: "MessageItemHeader",
|
|
11108
11113
|
props: { message: {} },
|
|
11109
11114
|
setup(e) {
|
|
11110
|
-
let t = e, { locale: n, t: r } =
|
|
11115
|
+
let t = e, { locale: n, t: r } = Y();
|
|
11111
11116
|
function i(e) {
|
|
11112
|
-
return e ?
|
|
11117
|
+
return e ? wt(n.value, {
|
|
11113
11118
|
month: "short",
|
|
11114
11119
|
day: "numeric",
|
|
11115
11120
|
hour: "2-digit",
|
|
@@ -11158,7 +11163,7 @@ var wh = {
|
|
|
11158
11163
|
},
|
|
11159
11164
|
emits: ["toggleReaction", "openThread"],
|
|
11160
11165
|
setup(e, { emit: t }) {
|
|
11161
|
-
let n = e, r = t, { t: i } =
|
|
11166
|
+
let n = e, r = t, { t: i } = Y(), u = a(() => i("threadReplies", { count: n.message.replyCount })), d = a(() => n.canOpenThread !== !1 && n.message.replyCount > 0);
|
|
11162
11167
|
return (t, n) => (T(), c("div", Eg, [f(Tg, {
|
|
11163
11168
|
message: e.message,
|
|
11164
11169
|
disabled: e.canReact === !1,
|
|
@@ -11179,7 +11184,7 @@ var wh = {
|
|
|
11179
11184
|
}), Ag = { class: "pinned-label body-sm text-subtle mb-1 flex items-center gap-1 font-medium" }, jg = /* @__PURE__ */ p({
|
|
11180
11185
|
__name: "MessagePinnedLabel",
|
|
11181
11186
|
setup(e) {
|
|
11182
|
-
let { t } =
|
|
11187
|
+
let { t } = Y();
|
|
11183
11188
|
return (e, n) => (T(), c("p", Ag, [f(P(je), {
|
|
11184
11189
|
class: "pinned-label__icon size-3.5 shrink-0",
|
|
11185
11190
|
"aria-hidden": "true"
|
|
@@ -11197,7 +11202,7 @@ var wh = {
|
|
|
11197
11202
|
},
|
|
11198
11203
|
emits: ["vote"],
|
|
11199
11204
|
setup(e, { emit: t }) {
|
|
11200
|
-
let n = e, i = t, { t: a } =
|
|
11205
|
+
let n = e, i = t, { t: a } = Y();
|
|
11201
11206
|
function o(e) {
|
|
11202
11207
|
let t = n.currentUserId;
|
|
11203
11208
|
return !t || !n.message.poll ? !1 : n.message.poll.options.some((n) => n.id === e && n.voters.some((e) => e.uid === t));
|
|
@@ -11569,7 +11574,7 @@ var wh = {
|
|
|
11569
11574
|
emoji: e,
|
|
11570
11575
|
reactedBy: t
|
|
11571
11576
|
}));
|
|
11572
|
-
}), { locale: _, t: y } =
|
|
11577
|
+
}), { locale: _, t: y } = Y(), b = n, C = D(null), w = D(!1), E = D("actions"), k = D({
|
|
11573
11578
|
left: 0,
|
|
11574
11579
|
top: 0
|
|
11575
11580
|
}), A = null, j = null;
|
|
@@ -11611,10 +11616,10 @@ var wh = {
|
|
|
11611
11616
|
E.value = "actions", await v(), await F();
|
|
11612
11617
|
}
|
|
11613
11618
|
function ne(e) {
|
|
11614
|
-
return e ?
|
|
11619
|
+
return e ? wt(_.value, {
|
|
11615
11620
|
dateStyle: "medium",
|
|
11616
11621
|
timeStyle: "short",
|
|
11617
|
-
hourCycle:
|
|
11622
|
+
hourCycle: St()
|
|
11618
11623
|
}).format(e) : "";
|
|
11619
11624
|
}
|
|
11620
11625
|
function B(e) {
|
|
@@ -11692,7 +11697,7 @@ var wh = {
|
|
|
11692
11697
|
type: "button",
|
|
11693
11698
|
class: "message-receipt-summary",
|
|
11694
11699
|
onClick: R
|
|
11695
|
-
}, [l("span", u_, [f(P(
|
|
11700
|
+
}, [l("span", u_, [f(P(Ze), {
|
|
11696
11701
|
class: "text-success size-4",
|
|
11697
11702
|
"aria-hidden": "true"
|
|
11698
11703
|
})]), l("span", d_, M(e.pollVotersSummaryAction.label), 1)])) : s("", !0),
|
|
@@ -11803,7 +11808,7 @@ var wh = {
|
|
|
11803
11808
|
parentMessage: {}
|
|
11804
11809
|
},
|
|
11805
11810
|
setup(e) {
|
|
11806
|
-
let { t } =
|
|
11811
|
+
let { t } = Y();
|
|
11807
11812
|
return (n, i) => (T(), c("header", I_, [e.conversation ? (T(), c("div", L_, [f(Ih, {
|
|
11808
11813
|
image: e.conversation.avatar,
|
|
11809
11814
|
name: e.conversation.title,
|
|
@@ -11822,7 +11827,7 @@ var wh = {
|
|
|
11822
11827
|
}, q_ = ["title"], J_ = { class: "pinned-bar__text min-w-0" }, Y_ = { class: "pinned-bar__headline body-sm text-subtle block truncate font-semibold" }, X_ = { class: "pinned-bar__preview body-md text-default block truncate" }, Z_ = { class: "pinned-bar__sender font-medium" }, Q_ = { class: "pinned-bar__actions flex shrink-0 items-center gap-1" }, $_ = /*#__PURE__*/ Up(/* @__PURE__ */ p({
|
|
11823
11828
|
__name: "PinnedMessagesBar",
|
|
11824
11829
|
setup(e) {
|
|
11825
|
-
let { t } =
|
|
11830
|
+
let { t } = Y(), n = ep(), r = ap(), i = Sp(), u = a(() => r.pinnedMessages.value), d = a(() => u.value[0] ?? null), p = a(() => u.value.length > 1), m = a(() => p.value ? t("pinnedMessagesCount", { count: u.value.length }) : t("pinnedMessage")), h = a(() => d.value ? qc(d.value, t("attachment"), n.mentionNameByUid.value) : "");
|
|
11826
11831
|
function g() {
|
|
11827
11832
|
d.value && i.emit("message:openReference", d.value.id);
|
|
11828
11833
|
}
|
|
@@ -11889,7 +11894,7 @@ var wh = {
|
|
|
11889
11894
|
},
|
|
11890
11895
|
emits: ["anchorclick"],
|
|
11891
11896
|
setup(e) {
|
|
11892
|
-
let t = e, { t: n } =
|
|
11897
|
+
let t = e, { t: n } = Y(), i = ep(), u = _p(), d = ap(), p = Sp(), m = a(() => t.target === "thread"), h = a(() => m.value ? d.threadMessages.value : t.hideGroupActions ? d.messages.value.filter((e) => e.kind !== "action") : d.messages.value), g = a(() => m.value ? d.loadingThreadMessages.value : d.loadingMessages.value), _ = a(() => m.value ? d.activeThreadParentMessage.value : null), v = a(() => !m.value && i.canOpenThread.value), b = a(() => !i.client.value?.offlineMode.value && (m.value ? d.hasOlderThreadMessages.value : d.hasOlderMessages.value)), x = a(() => m.value ? d.loadingOlderThreadMessages.value : d.loadingOlderMessages.value), S = a(() => !m.value && d.pinnedMessages.value.length > 0), C = a(() => m.value ? !0 : d.showDefaultEmptyState.value), w = a(() => {
|
|
11893
11898
|
let e = i.conversation.value;
|
|
11894
11899
|
return e ? _.value ? n("thread") : e.title : "";
|
|
11895
11900
|
}), E = a(() => {
|
|
@@ -12099,7 +12104,7 @@ var wh = {
|
|
|
12099
12104
|
},
|
|
12100
12105
|
emits: ["close", "select"],
|
|
12101
12106
|
setup(e, { emit: t }) {
|
|
12102
|
-
let n = e, i = t, { t: u } =
|
|
12107
|
+
let n = e, i = t, { t: u } = Y(), d = D("");
|
|
12103
12108
|
R(() => n.open, (e) => {
|
|
12104
12109
|
e || (d.value = "");
|
|
12105
12110
|
});
|
|
@@ -12204,12 +12209,12 @@ var wh = {
|
|
|
12204
12209
|
},
|
|
12205
12210
|
emits: ["close"],
|
|
12206
12211
|
setup(e, { emit: t }) {
|
|
12207
|
-
let n = e, r = t, { locale: i, t: l } =
|
|
12212
|
+
let n = e, r = t, { locale: i, t: l } = Y(), u = a(() => p(n.receipts.filter((e) => e.kind === "read")));
|
|
12208
12213
|
function d(e) {
|
|
12209
|
-
return e ?
|
|
12214
|
+
return e ? wt(i.value, {
|
|
12210
12215
|
dateStyle: "medium",
|
|
12211
12216
|
timeStyle: "short",
|
|
12212
|
-
hourCycle:
|
|
12217
|
+
hourCycle: St()
|
|
12213
12218
|
}).format(e) : l("notYet");
|
|
12214
12219
|
}
|
|
12215
12220
|
function p(e) {
|
|
@@ -12265,19 +12270,19 @@ var wh = {
|
|
|
12265
12270
|
"unpin"
|
|
12266
12271
|
],
|
|
12267
12272
|
setup(e, { emit: t }) {
|
|
12268
|
-
let n = e, i = t, { locale: a, t: u } =
|
|
12273
|
+
let n = e, i = t, { locale: a, t: u } = Y();
|
|
12269
12274
|
function d(e) {
|
|
12270
|
-
return e ?
|
|
12275
|
+
return e ? wt(a.value, {
|
|
12271
12276
|
dateStyle: "medium",
|
|
12272
12277
|
timeStyle: "short",
|
|
12273
|
-
hourCycle:
|
|
12278
|
+
hourCycle: St()
|
|
12274
12279
|
}).format(e) : "";
|
|
12275
12280
|
}
|
|
12276
12281
|
function p(e) {
|
|
12277
12282
|
return qc(e, u("attachment"), n.mentionNameByUid);
|
|
12278
12283
|
}
|
|
12279
12284
|
function m(e) {
|
|
12280
|
-
if (
|
|
12285
|
+
if (At(e)) return u("pinnedLabel");
|
|
12281
12286
|
let t = e.pinnedBy ? n.mentionNameByUid?.[e.pinnedBy] : void 0;
|
|
12282
12287
|
return t ? u("pinnedBy", { name: t }) : u("pinnedLabel");
|
|
12283
12288
|
}
|
|
@@ -12296,7 +12301,7 @@ var wh = {
|
|
|
12296
12301
|
class: "border-default rounded-lg border px-4 py-3",
|
|
12297
12302
|
"data-testid": "pinned-message-row"
|
|
12298
12303
|
}, [l("div", Fv, [
|
|
12299
|
-
l("div", Iv, [l("p", Lv, M(t.senderName), 1), P(
|
|
12304
|
+
l("div", Iv, [l("p", Lv, M(t.senderName), 1), P(At)(t) ? (T(), o(P(ce), {
|
|
12300
12305
|
key: 0,
|
|
12301
12306
|
text: P(u)("pinnedLabel"),
|
|
12302
12307
|
context: "info",
|
|
@@ -12378,15 +12383,15 @@ var wh = {
|
|
|
12378
12383
|
"editText"
|
|
12379
12384
|
],
|
|
12380
12385
|
setup(e, { emit: t }) {
|
|
12381
|
-
let n = e, i = t, u = D(null), d = D(null), p = D(!1), m = D(""), h = D(""), g = D(""), { locale: _, t: v } =
|
|
12386
|
+
let n = e, i = t, u = D(null), d = D(null), p = D(!1), m = D(""), h = D(""), g = D(""), { locale: _, t: v } = Y(), y = a(() => n.messages.filter((e) => !e.isDeleted && !!e.scheduled?.scheduleDate)), b = a(() => /^([01]\d|2[0-3]):([0-5]\d)$/.test(h.value));
|
|
12382
12387
|
R(() => n.open, (e) => {
|
|
12383
12388
|
e || (u.value = null, d.value = null, p.value = !1, m.value = "", h.value = "", g.value = "");
|
|
12384
12389
|
});
|
|
12385
12390
|
function x(e) {
|
|
12386
|
-
return e ?
|
|
12391
|
+
return e ? wt(_.value, {
|
|
12387
12392
|
dateStyle: "medium",
|
|
12388
12393
|
timeStyle: "short",
|
|
12389
|
-
hourCycle:
|
|
12394
|
+
hourCycle: St()
|
|
12390
12395
|
}).format(e) : v("unscheduled");
|
|
12391
12396
|
}
|
|
12392
12397
|
function S(e) {
|
|
@@ -12656,7 +12661,7 @@ var wh = {
|
|
|
12656
12661
|
});
|
|
12657
12662
|
return n;
|
|
12658
12663
|
}
|
|
12659
|
-
let o = e, l = n, { t: p } =
|
|
12664
|
+
let o = e, l = n, { t: p } = Y(), h = D(null), g = D(!1), _ = D(!1), x = D(!1), C = a(() => o.client ?? $.value ?? null), w = a(() => !!o.chatUid), E = a(() => {
|
|
12660
12665
|
let e = C.value;
|
|
12661
12666
|
return e ? o.chatUid ? e.conversations.value.find((e) => e.targetId === o.chatUid || e.id === o.chatUid) ?? null : e.activeConversation.value : null;
|
|
12662
12667
|
}), { groupMembers: O, fetchGroupMembers: A, clearGroupMembers: j } = wp({
|