@linktr.ee/messaging-react 3.6.2-rc-1783311170 → 3.6.2-rc-1783311731
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/{Card-DUoHKAuh.js → Card-0wf8lj5n.js} +2 -2
- package/dist/{Card-DUoHKAuh.js.map → Card-0wf8lj5n.js.map} +1 -1
- package/dist/{Card-CK1jw1VU.cjs → Card-4UyBK3XO.cjs} +2 -2
- package/dist/{Card-CK1jw1VU.cjs.map → Card-4UyBK3XO.cjs.map} +1 -1
- package/dist/{Card-DQtg7wWP.cjs → Card-6b4Ws9rn.cjs} +2 -2
- package/dist/{Card-DQtg7wWP.cjs.map → Card-6b4Ws9rn.cjs.map} +1 -1
- package/dist/{Card-CSwQT3wz.cjs → Card-DsQhJjj0.cjs} +2 -2
- package/dist/{Card-CSwQT3wz.cjs.map → Card-DsQhJjj0.cjs.map} +1 -1
- package/dist/{Card-DnEyeR_d.js → Card-RZ6C_IkE.js} +3 -3
- package/dist/{Card-DnEyeR_d.js.map → Card-RZ6C_IkE.js.map} +1 -1
- package/dist/{Card-CJh6R76n.js → Card-iGNcxybY.js} +2 -2
- package/dist/{Card-CJh6R76n.js.map → Card-iGNcxybY.js.map} +1 -1
- package/dist/{LockedThumbnail-C_F2Sw-9.js → LockedThumbnail-Do9udNMm.js} +2 -2
- package/dist/{LockedThumbnail-C_F2Sw-9.js.map → LockedThumbnail-Do9udNMm.js.map} +1 -1
- package/dist/{LockedThumbnail-BZLpmTpY.cjs → LockedThumbnail-N0pNOO3D.cjs} +2 -2
- package/dist/{LockedThumbnail-BZLpmTpY.cjs.map → LockedThumbnail-N0pNOO3D.cjs.map} +1 -1
- package/dist/index-B3ZJaqJY.cjs +2 -0
- package/dist/index-B3ZJaqJY.cjs.map +1 -0
- package/dist/{index-DcEVHNS3.js → index-wFe1UO9t.js} +160 -158
- package/dist/index-wFe1UO9t.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/src/components/CustomMessage/SentMessageDeliveryStatus.test.tsx +36 -12
- package/src/components/CustomMessage/SentMessageDeliveryStatus.tsx +46 -27
- package/src/components/CustomMessage/index.tsx +0 -7
- package/dist/index-DcEVHNS3.js.map +0 -1
- package/dist/index-LP0PQJxl.cjs +0 -2
- package/dist/index-LP0PQJxl.cjs.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as s, jsxs as m, Fragment as ee } from "react/jsx-runtime";
|
|
2
|
-
import U, { createContext as rt, useContext as Ie, useCallback as J, useState as B, useRef as G, useEffect as K, useId as Gs, useMemo as
|
|
2
|
+
import U, { createContext as rt, useContext as Ie, useCallback as J, useState as B, useRef as G, useEffect as K, useId as Gs, useMemo as se, Suspense as it } from "react";
|
|
3
3
|
import { StreamChatService as Hs } from "@linktr.ee/messaging-core";
|
|
4
4
|
import { StreamChat as Ys, LinkPreviewsManager as Yt } from "stream-chat";
|
|
5
|
-
import { Chat as qs, useChannelStateContext as
|
|
6
|
-
import { StarIcon as Ee, DotsThreeIcon as Mn, SpinnerGapIcon as ze, SignOutIcon as Rn, ProhibitInsetIcon as Xt, FlagIcon as ls, ArrowLeftIcon as et, CurrencyDollarIcon as
|
|
5
|
+
import { Chat as qs, useChannelStateContext as le, useChatContext as oe, DateSeparator as Ws, MessageStatus as Xs, useMessageContext as _e, areMessageUIPropsEqual as Ks, useMessageReminder as Js, useComponentContext as is, Attachment as Zs, EditMessageModal as Qs, MessageBlocked as en, MessageBouncePrompt as tn, MessageDeleted as sn, MessageIsThreadReplyInChannelButtonIndicator as nn, MessageRepliesCountButton as an, ReminderNotification as rn, StreamedMessageText as ln, messageHasAttachments as on, messageHasReactions as cn, isDateSeparatorMessage as dn, isMessageBlocked as un, isMessageBounced as mn, MessageBounceModal as hn, MessageText as qt, MessageErrorIcon as Wt, Poll as fn, useMessageComposer as gn, useStateStore as pn, MessageInput as bn, useMessageInputContext as vn, useMessageComposerHasSendableData as xn, AttachmentPreviewList as wn, QuotedMessagePreview as _n, TextareaComposer as Nn, MessageTimestamp as Ye, AIStates as qe, useTypingContext as yn, useAIState as kn, Channel as Cn, WithComponents as Sn, Window as En, MessageList as In, ChannelList as Tn, InfiniteScroll as An } from "stream-chat-react";
|
|
6
|
+
import { StarIcon as Ee, DotsThreeIcon as Mn, SpinnerGapIcon as ze, SignOutIcon as Rn, ProhibitInsetIcon as Xt, FlagIcon as ls, ArrowLeftIcon as et, CurrencyDollarIcon as Dn, CaretRightIcon as ve, SparkleIcon as xe, FileIcon as os, ImageIcon as Ln, SpeakerHighIcon as zn, VideoCameraIcon as cs, FileMdIcon as Pn, FileTextIcon as Fn, FileZipIcon as On, FilePptIcon as $n, FileCsvIcon as jn, FileXlsIcon as Bn, FileDocIcon as Un, FilePdfIcon as Vn, CircleNotchIcon as Ce, PlayIcon as tt, PauseIcon as Gn, LinkIcon as Hn, DownloadSimpleIcon as Se, XIcon as Be, CaretLeftIcon as Yn, GiftIcon as qn, ThumbsUpIcon as Wn, ThumbsDownIcon as Xn, ChecksIcon as Kn, PencilSimpleIcon as Jn, TrashSimpleIcon as Zn, ArrowUpIcon as Qn, ProhibitIcon as ea } from "@phosphor-icons/react";
|
|
7
7
|
import k from "classnames";
|
|
8
8
|
import { MessageActions as ta, DefaultDropdownActionButton as ds } from "stream-chat-react/experimental";
|
|
9
9
|
const us = rt({
|
|
@@ -62,12 +62,12 @@ const us = rt({
|
|
|
62
62
|
serviceConfig: n,
|
|
63
63
|
capabilities: r
|
|
64
64
|
};
|
|
65
|
-
const
|
|
66
|
-
a && ((A =
|
|
67
|
-
const
|
|
65
|
+
const L = G(null);
|
|
66
|
+
a && ((A = L.current) == null ? void 0 : A.apiKey) !== a && (L.current = { apiKey: a, client: new Ys(a) });
|
|
67
|
+
const D = a ? ((E = L.current) == null ? void 0 : E.client) ?? null : null;
|
|
68
68
|
K(() => {
|
|
69
69
|
const C = M.current, I = N.current;
|
|
70
|
-
if (!a || !
|
|
70
|
+
if (!a || !D || !I) {
|
|
71
71
|
l("⚠️ SERVICE INIT SKIPPED", {
|
|
72
72
|
renderCount: C,
|
|
73
73
|
reason: "Missing apiKey, client, or serviceConfig"
|
|
@@ -82,13 +82,13 @@ const us = rt({
|
|
|
82
82
|
...I,
|
|
83
83
|
apiKey: a,
|
|
84
84
|
debug: S.current,
|
|
85
|
-
client:
|
|
85
|
+
client: D
|
|
86
86
|
});
|
|
87
87
|
x.current = $, d($), l("✅ SERVICE SET", {
|
|
88
88
|
renderCount: C,
|
|
89
89
|
serviceInstance: !!$
|
|
90
90
|
});
|
|
91
|
-
}, [a,
|
|
91
|
+
}, [a, D]);
|
|
92
92
|
const O = G(null);
|
|
93
93
|
K(() => {
|
|
94
94
|
var I, $;
|
|
@@ -137,12 +137,12 @@ const us = rt({
|
|
|
137
137
|
}
|
|
138
138
|
})();
|
|
139
139
|
}, [o, t, l, h]), K(() => {
|
|
140
|
-
const C =
|
|
140
|
+
const C = D;
|
|
141
141
|
return () => {
|
|
142
142
|
var I;
|
|
143
143
|
C && (O.current = null, (I = x.current) == null || I.disconnectUser().catch(console.error));
|
|
144
144
|
};
|
|
145
|
-
}, [
|
|
145
|
+
}, [D]);
|
|
146
146
|
const z = J(async () => {
|
|
147
147
|
if (l("🔄 REFRESH CONNECTION CALLED", {
|
|
148
148
|
hasService: !!o,
|
|
@@ -194,12 +194,12 @@ const us = rt({
|
|
|
194
194
|
]);
|
|
195
195
|
return l("🔄 RENDER END", {
|
|
196
196
|
renderCount: M.current,
|
|
197
|
-
willRenderChat: !!
|
|
197
|
+
willRenderChat: !!D,
|
|
198
198
|
contextValueReady: !!y
|
|
199
|
-
}), /* @__PURE__ */ s(us.Provider, { value: y, children:
|
|
199
|
+
}), /* @__PURE__ */ s(us.Provider, { value: y, children: D ? /* @__PURE__ */ s(
|
|
200
200
|
qs,
|
|
201
201
|
{
|
|
202
|
-
client:
|
|
202
|
+
client: D,
|
|
203
203
|
customClasses: {
|
|
204
204
|
channelList: "str-chat__channel-list str-chat__channel-list-react bg-transparent lg:border-r-2 border-r-0 border-[#0000000A]"
|
|
205
205
|
},
|
|
@@ -303,7 +303,7 @@ function oa(e) {
|
|
|
303
303
|
function ca(e) {
|
|
304
304
|
return ms(e).bgColor;
|
|
305
305
|
}
|
|
306
|
-
const
|
|
306
|
+
const ne = ({
|
|
307
307
|
id: e,
|
|
308
308
|
image: t,
|
|
309
309
|
size: n = 40,
|
|
@@ -390,7 +390,7 @@ const se = ({
|
|
|
390
390
|
logLabel: p = "useChannelModerationActions"
|
|
391
391
|
}) => {
|
|
392
392
|
var A;
|
|
393
|
-
const { service: h, debug: g } = lt(), c = (A = t == null ? void 0 : t.user) == null ? void 0 : A.id, v = !!(a && n && h && c), [w, b] = B(!1), [f, x] = B(null), [N, S] = B(!1), [T, M] = B(!1),
|
|
393
|
+
const { service: h, debug: g } = lt(), c = (A = t == null ? void 0 : t.user) == null ? void 0 : A.id, v = !!(a && n && h && c), [w, b] = B(!1), [f, x] = B(null), [N, S] = B(!1), [T, M] = B(!1), L = v && ((f == null ? void 0 : f.participantId) !== c || (f == null ? void 0 : f.service) !== h);
|
|
394
394
|
return K(() => {
|
|
395
395
|
if (!v || !h || !c) {
|
|
396
396
|
b(!1), x(null);
|
|
@@ -416,7 +416,7 @@ const se = ({
|
|
|
416
416
|
};
|
|
417
417
|
}, [v, h, c, p]), {
|
|
418
418
|
isParticipantBlocked: w,
|
|
419
|
-
isCheckingBlockedStatus:
|
|
419
|
+
isCheckingBlockedStatus: L,
|
|
420
420
|
isLeaving: N,
|
|
421
421
|
isUpdatingBlockStatus: T,
|
|
422
422
|
handleLeaveConversation: async () => {
|
|
@@ -501,8 +501,8 @@ const se = ({
|
|
|
501
501
|
isUpdatingBlockStatus: S,
|
|
502
502
|
handleLeaveConversation: T,
|
|
503
503
|
handleBlockUser: M,
|
|
504
|
-
handleUnblockUser:
|
|
505
|
-
handleReportUser:
|
|
504
|
+
handleUnblockUser: L,
|
|
505
|
+
handleReportUser: D
|
|
506
506
|
} = ua({
|
|
507
507
|
channel: e,
|
|
508
508
|
participant: t,
|
|
@@ -574,7 +574,7 @@ const se = ({
|
|
|
574
574
|
) : f ? /* @__PURE__ */ m(
|
|
575
575
|
Ne,
|
|
576
576
|
{
|
|
577
|
-
onClick:
|
|
577
|
+
onClick: L,
|
|
578
578
|
disabled: S,
|
|
579
579
|
"aria-busy": S,
|
|
580
580
|
children: [
|
|
@@ -594,7 +594,7 @@ const se = ({
|
|
|
594
594
|
]
|
|
595
595
|
}
|
|
596
596
|
) }),
|
|
597
|
-
r && /* @__PURE__ */ s("li", { children: /* @__PURE__ */ m(Ne, { variant: "danger", onClick:
|
|
597
|
+
r && /* @__PURE__ */ s("li", { children: /* @__PURE__ */ m(Ne, { variant: "danger", onClick: D, children: [
|
|
598
598
|
/* @__PURE__ */ s(ls, { className: "h-5 w-5" }),
|
|
599
599
|
/* @__PURE__ */ s("span", { children: "Report" })
|
|
600
600
|
] }) }),
|
|
@@ -624,8 +624,8 @@ const se = ({
|
|
|
624
624
|
showChannelInfo: v = !0,
|
|
625
625
|
onParticipantNameClick: w
|
|
626
626
|
}) => {
|
|
627
|
-
var
|
|
628
|
-
const { channel: b } =
|
|
627
|
+
var D, O, z;
|
|
628
|
+
const { channel: b } = le(), { client: f } = oe(), x = U.useMemo(
|
|
629
629
|
() => {
|
|
630
630
|
var y;
|
|
631
631
|
return Ue(
|
|
@@ -634,8 +634,8 @@ const se = ({
|
|
|
634
634
|
b.type
|
|
635
635
|
);
|
|
636
636
|
},
|
|
637
|
-
[(
|
|
638
|
-
), N = ct(x == null ? void 0 : x.user), S = (O = x == null ? void 0 : x.user) == null ? void 0 : O.image, T = ot(b), M = ga(x),
|
|
637
|
+
[(D = b.state) == null ? void 0 : D.members, f == null ? void 0 : f.userID, b.type]
|
|
638
|
+
), N = ct(x == null ? void 0 : x.user), S = (O = x == null ? void 0 : x.user) == null ? void 0 : O.image, T = ot(b), M = ga(x), L = async () => {
|
|
639
639
|
try {
|
|
640
640
|
T ? await b.unpin() : await b.pin();
|
|
641
641
|
} catch (y) {
|
|
@@ -669,7 +669,7 @@ const se = ({
|
|
|
669
669
|
className: "group flex min-w-0 max-w-full appearance-none flex-col items-center border-0 bg-transparent px-2 focus-ring focus-visible:outline-none",
|
|
670
670
|
children: [
|
|
671
671
|
/* @__PURE__ */ s(
|
|
672
|
-
|
|
672
|
+
ne,
|
|
673
673
|
{
|
|
674
674
|
id: ((z = x == null ? void 0 : x.user) == null ? void 0 : z.id) || b.id || "unknown",
|
|
675
675
|
name: N,
|
|
@@ -689,7 +689,7 @@ const se = ({
|
|
|
689
689
|
{
|
|
690
690
|
"aria-label": "Paid customer",
|
|
691
691
|
className: "flex size-4 shrink-0 items-center justify-center rounded-full bg-[#34C759] text-white",
|
|
692
|
-
children: /* @__PURE__ */ s(
|
|
692
|
+
children: /* @__PURE__ */ s(Dn, { className: "size-2.5", weight: "bold" })
|
|
693
693
|
}
|
|
694
694
|
),
|
|
695
695
|
n && T && /* @__PURE__ */ s(
|
|
@@ -723,7 +723,7 @@ const se = ({
|
|
|
723
723
|
"button",
|
|
724
724
|
{
|
|
725
725
|
className: We,
|
|
726
|
-
onClick:
|
|
726
|
+
onClick: L,
|
|
727
727
|
type: "button",
|
|
728
728
|
"aria-pressed": T,
|
|
729
729
|
"aria-label": T ? "Unstar conversation" : "Star conversation",
|
|
@@ -763,7 +763,7 @@ function va(e) {
|
|
|
763
763
|
return e != null && e.length ? e.some((t) => t.type === at) ? "down" : e.some((t) => t.type === nt) ? "up" : null : null;
|
|
764
764
|
}
|
|
765
765
|
function xa(e) {
|
|
766
|
-
const { channel: t } =
|
|
766
|
+
const { channel: t } = le(), { client: n } = oe("useMessageVote"), a = se(
|
|
767
767
|
() => va(e.own_reactions),
|
|
768
768
|
[e.own_reactions]
|
|
769
769
|
), r = J(async () => {
|
|
@@ -800,7 +800,7 @@ function hs({
|
|
|
800
800
|
const n = e == null ? void 0 : e.text, a = wa(t);
|
|
801
801
|
return a ? ((r = e == null ? void 0 : e.i18n) == null ? void 0 : r[`${a}_text`]) ?? n : n;
|
|
802
802
|
}
|
|
803
|
-
const _a = U.lazy(() => import("./Card-
|
|
803
|
+
const _a = U.lazy(() => import("./Card-iGNcxybY.js")), Na = U.lazy(() => import("./Card-0wf8lj5n.js")), ya = U.lazy(() => import("./Card-RZ6C_IkE.js")), dt = () => /* @__PURE__ */ s(
|
|
804
804
|
"div",
|
|
805
805
|
{
|
|
806
806
|
className: "w-[280px] min-h-[200px] animate-pulse rounded-md bg-black/[0.06] shadow-[0_0_0_1px_rgba(0,0,0,0.04),0_1px_2px_rgba(0,0,0,0.04),0_8px_32px_rgba(0,0,0,0.1)]",
|
|
@@ -816,7 +816,7 @@ const _a = U.lazy(() => import("./Card-CJh6R76n.js")), Na = U.lazy(() => import(
|
|
|
816
816
|
[/plain|rtf/, "text"],
|
|
817
817
|
[/markdown/, "markdown"]
|
|
818
818
|
];
|
|
819
|
-
function
|
|
819
|
+
function ce(e) {
|
|
820
820
|
return e.startsWith("video/") ? "video" : e.startsWith("audio/") ? "audio" : e.startsWith("image/") ? "image" : "document";
|
|
821
821
|
}
|
|
822
822
|
function ps(e) {
|
|
@@ -828,7 +828,7 @@ function ps(e) {
|
|
|
828
828
|
const Ia = {
|
|
829
829
|
video: cs,
|
|
830
830
|
audio: zn,
|
|
831
|
-
image:
|
|
831
|
+
image: Ln,
|
|
832
832
|
document: os
|
|
833
833
|
}, Ta = {
|
|
834
834
|
pdf: Vn,
|
|
@@ -842,7 +842,7 @@ const Ia = {
|
|
|
842
842
|
generic: os
|
|
843
843
|
};
|
|
844
844
|
function Aa(e) {
|
|
845
|
-
const t =
|
|
845
|
+
const t = ce(e);
|
|
846
846
|
return t !== "document" ? Ia[t] : Ta[ps(e)];
|
|
847
847
|
}
|
|
848
848
|
function we(e, t) {
|
|
@@ -863,8 +863,8 @@ const Ma = (e) => {
|
|
|
863
863
|
muted: d = !1,
|
|
864
864
|
onContainerClick: u
|
|
865
865
|
}) => {
|
|
866
|
-
const p =
|
|
867
|
-
|
|
866
|
+
const p = ce(t), h = G(null), g = G(null), c = G(null), v = G(r), [w, b] = B(a), [f, x] = B(0), [N, S] = B(!1), [T, M] = B(!1), [L, D] = B(!1), [O, z] = B(!1), [y, A] = B(!0), [E, C] = B(null), I = J(() => {
|
|
867
|
+
D(!1), b(!0);
|
|
868
868
|
}, []), $ = J((_) => {
|
|
869
869
|
const R = g.current;
|
|
870
870
|
if (!R) return 0;
|
|
@@ -898,7 +898,7 @@ const Ma = (e) => {
|
|
|
898
898
|
}, [w, N]), K(() => {
|
|
899
899
|
const _ = h.current;
|
|
900
900
|
_ && (w ? _.play().catch((R) => {
|
|
901
|
-
b(!1),
|
|
901
|
+
b(!1), D(!0);
|
|
902
902
|
}) : _.pause());
|
|
903
903
|
}, [w]), K(() => {
|
|
904
904
|
if (!N) return;
|
|
@@ -922,7 +922,7 @@ const Ma = (e) => {
|
|
|
922
922
|
u(_);
|
|
923
923
|
return;
|
|
924
924
|
}
|
|
925
|
-
|
|
925
|
+
L || l && b((R) => !R);
|
|
926
926
|
},
|
|
927
927
|
onKeyDown: (_) => {
|
|
928
928
|
if (!(_.key !== "Enter" && _.key !== " ")) {
|
|
@@ -930,7 +930,7 @@ const Ma = (e) => {
|
|
|
930
930
|
u(_);
|
|
931
931
|
return;
|
|
932
932
|
}
|
|
933
|
-
|
|
933
|
+
L || l && b((R) => !R);
|
|
934
934
|
}
|
|
935
935
|
},
|
|
936
936
|
children: [
|
|
@@ -959,7 +959,7 @@ const Ma = (e) => {
|
|
|
959
959
|
z(!1), A(!1);
|
|
960
960
|
},
|
|
961
961
|
onWaiting: () => z(!0),
|
|
962
|
-
onPlay: () =>
|
|
962
|
+
onPlay: () => D(!1),
|
|
963
963
|
onEnded: () => {
|
|
964
964
|
i || (b(!1), x(0));
|
|
965
965
|
},
|
|
@@ -979,7 +979,7 @@ const Ma = (e) => {
|
|
|
979
979
|
z(!1), A(!1);
|
|
980
980
|
},
|
|
981
981
|
onWaiting: () => z(!0),
|
|
982
|
-
onPlay: () =>
|
|
982
|
+
onPlay: () => D(!1),
|
|
983
983
|
onLoadedMetadata: () => {
|
|
984
984
|
const _ = h.current;
|
|
985
985
|
_ instanceof HTMLVideoElement && _.videoWidth && _.videoHeight && C(_.videoWidth / _.videoHeight);
|
|
@@ -990,14 +990,14 @@ const Ma = (e) => {
|
|
|
990
990
|
children: /* @__PURE__ */ s("track", { kind: "captions" })
|
|
991
991
|
}
|
|
992
992
|
) }),
|
|
993
|
-
O && !
|
|
993
|
+
O && !L && /* @__PURE__ */ s("div", { className: "absolute inset-0 z-10 flex items-center justify-center", children: /* @__PURE__ */ s(
|
|
994
994
|
Ce,
|
|
995
995
|
{
|
|
996
996
|
className: "size-8 animate-spin text-white/80",
|
|
997
997
|
weight: "bold"
|
|
998
998
|
}
|
|
999
999
|
) }),
|
|
1000
|
-
|
|
1000
|
+
L && !l && /* @__PURE__ */ s(
|
|
1001
1001
|
"div",
|
|
1002
1002
|
{
|
|
1003
1003
|
className: "absolute inset-0 z-30 flex cursor-pointer items-center justify-center bg-black/35",
|
|
@@ -1099,7 +1099,7 @@ const Ma = (e) => {
|
|
|
1099
1099
|
]
|
|
1100
1100
|
}
|
|
1101
1101
|
);
|
|
1102
|
-
}, Qt = (e) => e === "dark" ? "size-12 text-white/20" : "size-12 text-black/20",
|
|
1102
|
+
}, Qt = (e) => e === "dark" ? "size-12 text-white/20" : "size-12 text-black/20", Da = (e) => e === "dark" ? "aspect-video overflow-hidden bg-white/10" : "aspect-video overflow-hidden bg-black/5", bs = ({
|
|
1103
1103
|
mimeType: e,
|
|
1104
1104
|
sourceUrl: t,
|
|
1105
1105
|
thumbnailUrl: n,
|
|
@@ -1108,7 +1108,7 @@ const Ma = (e) => {
|
|
|
1108
1108
|
mediaPlayerProps: i,
|
|
1109
1109
|
containedImage: l = !1
|
|
1110
1110
|
}) => {
|
|
1111
|
-
const o =
|
|
1111
|
+
const o = ce(e), [d, u] = B(!1);
|
|
1112
1112
|
return t && (o === "video" || o === "audio") ? /* @__PURE__ */ s(
|
|
1113
1113
|
Ra,
|
|
1114
1114
|
{
|
|
@@ -1161,7 +1161,7 @@ const Ma = (e) => {
|
|
|
1161
1161
|
weight: "regular"
|
|
1162
1162
|
})
|
|
1163
1163
|
}
|
|
1164
|
-
) : n ? /* @__PURE__ */ s("div", { className: `relative ${
|
|
1164
|
+
) : n ? /* @__PURE__ */ s("div", { className: `relative ${Da(r)}`, children: /* @__PURE__ */ s(
|
|
1165
1165
|
"img",
|
|
1166
1166
|
{
|
|
1167
1167
|
src: n,
|
|
@@ -1251,7 +1251,7 @@ function xs(e) {
|
|
|
1251
1251
|
function ut(e) {
|
|
1252
1252
|
return `w-[280px] select-none overflow-hidden rounded-[24px] ${e ? "bg-[#121110]" : "bg-[#F3F3F1]"} shadow-[0_0_0_1px_rgba(0,0,0,0.04),0_4px_8px_rgba(0,0,0,0.06)]`;
|
|
1253
1253
|
}
|
|
1254
|
-
function
|
|
1254
|
+
function La(e) {
|
|
1255
1255
|
return e ? "bg-white/10" : "bg-black/5";
|
|
1256
1256
|
}
|
|
1257
1257
|
function za(e) {
|
|
@@ -1278,7 +1278,7 @@ const mt = ({ attachment: e, isMyMessage: t }) => {
|
|
|
1278
1278
|
) : /* @__PURE__ */ s(
|
|
1279
1279
|
"div",
|
|
1280
1280
|
{
|
|
1281
|
-
className: `aspect-video w-full rounded-[20px] ${
|
|
1281
|
+
className: `aspect-video w-full rounded-[20px] ${La(t)} flex items-center justify-center`,
|
|
1282
1282
|
children: /* @__PURE__ */ s(Hn, { className: `size-12 ${Oa(t)}` })
|
|
1283
1283
|
}
|
|
1284
1284
|
) }),
|
|
@@ -1392,7 +1392,7 @@ const _s = ({
|
|
|
1392
1392
|
fileSize: a,
|
|
1393
1393
|
thumbnailUrl: r
|
|
1394
1394
|
}) => {
|
|
1395
|
-
const i =
|
|
1395
|
+
const i = ce(t), l = a !== void 0 ? xs(a) : void 0;
|
|
1396
1396
|
return /* @__PURE__ */ s(
|
|
1397
1397
|
vs,
|
|
1398
1398
|
{
|
|
@@ -1421,7 +1421,7 @@ const _s = ({
|
|
|
1421
1421
|
const n = ht(e), a = ft(e);
|
|
1422
1422
|
return !n && !a ? null : /* @__PURE__ */ m("div", { className: t ? "str-chat__message str-chat__message-simple str-chat__message--me str-chat__message-simple--me" : "str-chat__message str-chat__message-simple str-chat__message--other", "data-dd-privacy": "mask", children: [
|
|
1423
1423
|
!t && e.user && /* @__PURE__ */ s(
|
|
1424
|
-
|
|
1424
|
+
ne,
|
|
1425
1425
|
{
|
|
1426
1426
|
className: "str-chat__avatar str-chat__message-sender-avatar",
|
|
1427
1427
|
id: e.user.id,
|
|
@@ -1641,7 +1641,7 @@ function ar(e, t) {
|
|
|
1641
1641
|
}
|
|
1642
1642
|
}
|
|
1643
1643
|
if (!e) return;
|
|
1644
|
-
if (
|
|
1644
|
+
if (ce(e) === "document") {
|
|
1645
1645
|
const r = ps(e), i = nr[r];
|
|
1646
1646
|
if (i) return i;
|
|
1647
1647
|
if (e === "application/octet-stream") return;
|
|
@@ -2072,7 +2072,7 @@ const cr = ({
|
|
|
2072
2072
|
length: t.length,
|
|
2073
2073
|
initialIndex: n,
|
|
2074
2074
|
open: e
|
|
2075
|
-
}), o = t[r], d =
|
|
2075
|
+
}), o = t[r], d = se(
|
|
2076
2076
|
() => (o == null ? void 0 : o.filename) ?? (o ? re(o.src) : "image"),
|
|
2077
2077
|
[o]
|
|
2078
2078
|
);
|
|
@@ -2309,10 +2309,10 @@ const cr = ({
|
|
|
2309
2309
|
length: t.length,
|
|
2310
2310
|
initialIndex: n,
|
|
2311
2311
|
open: e
|
|
2312
|
-
}), o = t[r], d =
|
|
2312
|
+
}), o = t[r], d = se(
|
|
2313
2313
|
() => (o == null ? void 0 : o.filename) ?? (o ? re(o.src) : "document"),
|
|
2314
2314
|
[o]
|
|
2315
|
-
), u =
|
|
2315
|
+
), u = se(
|
|
2316
2316
|
() => o ? kr(o.src) : void 0,
|
|
2317
2317
|
[o]
|
|
2318
2318
|
);
|
|
@@ -2455,7 +2455,7 @@ const cr = ({
|
|
|
2455
2455
|
length: t.length,
|
|
2456
2456
|
initialIndex: n,
|
|
2457
2457
|
open: e
|
|
2458
|
-
}), o = t[r], d =
|
|
2458
|
+
}), o = t[r], d = se(
|
|
2459
2459
|
() => (o == null ? void 0 : o.filename) ?? (o ? re(o.src) : "video"),
|
|
2460
2460
|
[o]
|
|
2461
2461
|
);
|
|
@@ -2521,7 +2521,7 @@ const cr = ({
|
|
|
2521
2521
|
] }), Rr = (e, t, n) => ({
|
|
2522
2522
|
ariaLabel: `Play video ${t + 1} of ${n}`,
|
|
2523
2523
|
content: /* @__PURE__ */ s(Ms, { item: e, index: t })
|
|
2524
|
-
}),
|
|
2524
|
+
}), Dr = ({
|
|
2525
2525
|
src: e,
|
|
2526
2526
|
poster: t,
|
|
2527
2527
|
mimeType: n,
|
|
@@ -2533,7 +2533,7 @@ const cr = ({
|
|
|
2533
2533
|
mimeType: n.mimeType,
|
|
2534
2534
|
preload: n.preload,
|
|
2535
2535
|
filename: t && e.length === 1 ? t : t ? `${t} (${a + 1})` : void 0
|
|
2536
|
-
})),
|
|
2536
|
+
})), Lr = ({ src: e, poster: t, mimeType: n, filename: a, preload: r, onClick: i, onDismiss: l }) => {
|
|
2537
2537
|
const { viewerOpen: o, viewerIndex: d, handleActivate: u, closeViewer: p } = Re(
|
|
2538
2538
|
i
|
|
2539
2539
|
);
|
|
@@ -2562,7 +2562,7 @@ const cr = ({
|
|
|
2562
2562
|
}
|
|
2563
2563
|
)
|
|
2564
2564
|
] });
|
|
2565
|
-
},
|
|
2565
|
+
}, Ds = ({
|
|
2566
2566
|
state: e,
|
|
2567
2567
|
src: t,
|
|
2568
2568
|
poster: n,
|
|
@@ -2574,7 +2574,7 @@ const cr = ({
|
|
|
2574
2574
|
preload: d,
|
|
2575
2575
|
onClick: u
|
|
2576
2576
|
}) => {
|
|
2577
|
-
const p =
|
|
2577
|
+
const p = Dr({ src: t, poster: n, mimeType: a, preload: d, items: i }), h = Me(e), { viewerOpen: g, viewerIndex: c, handleActivate: v, closeViewer: w } = Re(
|
|
2578
2578
|
u
|
|
2579
2579
|
);
|
|
2580
2580
|
if (p.length === 0)
|
|
@@ -2610,7 +2610,7 @@ const cr = ({
|
|
|
2610
2610
|
]
|
|
2611
2611
|
}
|
|
2612
2612
|
);
|
|
2613
|
-
}, zr = (e) => /* @__PURE__ */ s(
|
|
2613
|
+
}, zr = (e) => /* @__PURE__ */ s(Lr, { ...e }), Pr = (e) => /* @__PURE__ */ s(Ds, { ...e, state: "sent" }), Fr = (e) => /* @__PURE__ */ s(Ds, { ...e, state: "received" }), Or = {
|
|
2614
2614
|
Composer: zr,
|
|
2615
2615
|
Sent: Pr,
|
|
2616
2616
|
Received: Fr
|
|
@@ -2624,9 +2624,9 @@ const cr = ({
|
|
|
2624
2624
|
isUnlocking: () => !1
|
|
2625
2625
|
}, jr = {
|
|
2626
2626
|
LockedAttachment: $r
|
|
2627
|
-
},
|
|
2627
|
+
}, Ls = rt({}), ml = Ls.Provider;
|
|
2628
2628
|
function Br(e) {
|
|
2629
|
-
return Ie(
|
|
2629
|
+
return Ie(Ls)[e] ?? jr[e];
|
|
2630
2630
|
}
|
|
2631
2631
|
const Ur = ({ size: e = 15 }) => /* @__PURE__ */ s(
|
|
2632
2632
|
"svg",
|
|
@@ -2725,10 +2725,15 @@ const Ur = ({ size: e = 15 }) => /* @__PURE__ */ s(
|
|
|
2725
2725
|
}
|
|
2726
2726
|
)
|
|
2727
2727
|
] }), Je = () => {
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2728
|
+
var i;
|
|
2729
|
+
const { message: e } = _e("SentMessageDeliveryStatus"), { messages: t } = le("SentMessageDeliveryStatus"), { client: n } = oe("SentMessageDeliveryStatus"), a = (i = n.user) == null ? void 0 : i.id, r = se(() => {
|
|
2730
|
+
var l;
|
|
2731
|
+
if (!(!a || !t)) {
|
|
2732
|
+
for (let o = t.length - 1; o >= 0; o -= 1)
|
|
2733
|
+
if (((l = t[o].user) == null ? void 0 : l.id) === a) return t[o].id;
|
|
2734
|
+
}
|
|
2735
|
+
}, [t, a]);
|
|
2736
|
+
return e.id !== r ? null : /* @__PURE__ */ m(ee, { children: [
|
|
2732
2737
|
/* @__PURE__ */ s(Kn, { weight: "bold", "aria-hidden": "true" }),
|
|
2733
2738
|
/* @__PURE__ */ s("span", { "data-testid": "sent-message-delivery-status", children: "Delivered" })
|
|
2734
2739
|
] });
|
|
@@ -2899,9 +2904,9 @@ const Zr = {
|
|
|
2899
2904
|
}, ri = {
|
|
2900
2905
|
dark: "size-16 text-white/25",
|
|
2901
2906
|
light: "size-16 text-black/25"
|
|
2902
|
-
}, Ve = (e, t) => !!t && !!e &&
|
|
2907
|
+
}, Ve = (e, t) => !!t && !!e && ce(e) === "audio", yt = (e, t) => {
|
|
2903
2908
|
if (!t || !e) return !1;
|
|
2904
|
-
const n =
|
|
2909
|
+
const n = ce(e);
|
|
2905
2910
|
return n === "video" || n === "audio";
|
|
2906
2911
|
}, kt = "bg-[#F2F3F4]", $e = ({
|
|
2907
2912
|
variant: e,
|
|
@@ -2912,7 +2917,7 @@ const Zr = {
|
|
|
2912
2917
|
topLeft: i,
|
|
2913
2918
|
topRight: l
|
|
2914
2919
|
}) => {
|
|
2915
|
-
const o =
|
|
2920
|
+
const o = ce(r), d = !!n && o === "video";
|
|
2916
2921
|
return Ve(r, n) ? /* @__PURE__ */ s("div", { className: "p-3", children: /* @__PURE__ */ s(
|
|
2917
2922
|
"audio",
|
|
2918
2923
|
{
|
|
@@ -3394,7 +3399,7 @@ const xi = ({
|
|
|
3394
3399
|
v(b, `media-${f}`);
|
|
3395
3400
|
}), /* @__PURE__ */ s(ee, { children: g });
|
|
3396
3401
|
}, wi = (e) => {
|
|
3397
|
-
var At, Mt, Rt,
|
|
3402
|
+
var At, Mt, Rt, Dt, Lt, zt, Pt, Ft, Ot, $t, jt, Bt, Ut, Vt;
|
|
3398
3403
|
const {
|
|
3399
3404
|
additionalMessageInputProps: t,
|
|
3400
3405
|
chatbotVotingEnabled: n,
|
|
@@ -3412,7 +3417,7 @@ const xi = ({
|
|
|
3412
3417
|
renderText: v,
|
|
3413
3418
|
threadList: w,
|
|
3414
3419
|
viewerLanguage: b
|
|
3415
|
-
} = e, { client: f } =
|
|
3420
|
+
} = e, { client: f } = oe("CustomMessage"), { channel: x } = le("CustomMessage"), { isUnlocking: N, onUnlockClick: S, onFetchSource: T, onDownloadClick: M } = Br("LockedAttachment"), [L, D] = B(!1), O = Js(c.id), { selected: z, voteUp: y, voteDown: A } = xa(c), {
|
|
3416
3421
|
Attachment: E = Zs,
|
|
3417
3422
|
EditMessageModal: C = Qs,
|
|
3418
3423
|
MessageActions: I,
|
|
@@ -3424,24 +3429,24 @@ const xi = ({
|
|
|
3424
3429
|
ReminderNotification: X = rn,
|
|
3425
3430
|
StreamedMessageText: _ = ln,
|
|
3426
3431
|
PinIndicator: R
|
|
3427
|
-
} = is("CustomMessage"), H = on(c), q = cn(c), Y =
|
|
3432
|
+
} = is("CustomMessage"), H = on(c), q = cn(c), Y = se(
|
|
3428
3433
|
() => h == null ? void 0 : h(c),
|
|
3429
3434
|
[h, c]
|
|
3430
|
-
), j =
|
|
3431
|
-
const
|
|
3435
|
+
), j = se(() => {
|
|
3436
|
+
const me = c.attachments ?? [], pe = c.shared_location ? [c.shared_location, ...me] : me;
|
|
3432
3437
|
if (!Fe(c)) return pe;
|
|
3433
3438
|
const Gt = pe.filter((Ht) => !("type" in Ht) || !ws(Ht));
|
|
3434
3439
|
return Gt.length === pe.length ? pe : Gt;
|
|
3435
|
-
}, [c]), W =
|
|
3440
|
+
}, [c]), W = se(
|
|
3436
3441
|
() => Fs(j),
|
|
3437
3442
|
[j]
|
|
3438
|
-
), Z =
|
|
3439
|
-
const
|
|
3440
|
-
return
|
|
3441
|
-
}, [c, b]),
|
|
3442
|
-
(
|
|
3443
|
+
), Z = se(() => {
|
|
3444
|
+
const me = hs({ message: c, viewerLanguage: b });
|
|
3445
|
+
return me === c.text ? c : { ...c, text: me };
|
|
3446
|
+
}, [c, b]), de = W.length > 0, De = W.reduce(
|
|
3447
|
+
(me, pe) => me + pe.attachments.length,
|
|
3443
3448
|
0
|
|
3444
|
-
) === ((j == null ? void 0 : j.length) ?? 0),
|
|
3449
|
+
) === ((j == null ? void 0 : j.length) ?? 0), Le = Xa(
|
|
3445
3450
|
{
|
|
3446
3451
|
endOfGroup: r,
|
|
3447
3452
|
firstOfGroup: i,
|
|
@@ -3454,9 +3459,9 @@ const xi = ({
|
|
|
3454
3459
|
return /* @__PURE__ */ s(V, { message: c });
|
|
3455
3460
|
if (un(c))
|
|
3456
3461
|
return /* @__PURE__ */ s($, {});
|
|
3457
|
-
const
|
|
3462
|
+
const ae = !w && !!c.reply_count, ue = !w && c.show_in_channel && c.parent_id, ie = c.status === "failed" && ((At = c.error) == null ? void 0 : At.status) !== 403, St = mn(c);
|
|
3458
3463
|
let he;
|
|
3459
|
-
ie ? he = () => u(c) : St && (he = () =>
|
|
3464
|
+
ie ? he = () => u(c) : St && (he = () => D(!0));
|
|
3460
3465
|
const fe = g(), Us = k(
|
|
3461
3466
|
"str-chat__message str-chat__message-simple",
|
|
3462
3467
|
`str-chat__message--${c.type}`,
|
|
@@ -3469,12 +3474,12 @@ const xi = ({
|
|
|
3469
3474
|
"str-chat__message--pinned pinned-message": c.pinned,
|
|
3470
3475
|
"str-chat__message--with-reactions": q,
|
|
3471
3476
|
"str-chat__message-send-can-be-retried": (c == null ? void 0 : c.status) === "failed" && ((Mt = c == null ? void 0 : c.error) == null ? void 0 : Mt.status) !== 403,
|
|
3472
|
-
"str-chat__message-with-thread-link":
|
|
3477
|
+
"str-chat__message-with-thread-link": ae || ue,
|
|
3473
3478
|
"str-chat__virtual-message__wrapper--end": r,
|
|
3474
3479
|
"str-chat__virtual-message__wrapper--first": i,
|
|
3475
3480
|
"str-chat__virtual-message__wrapper--group": l
|
|
3476
3481
|
}
|
|
3477
|
-
), Ge = c.poll_id && f.polls.fromState(c.poll_id), Et = Yr(c), ge = Fe(c), It = Hr(c), He = !!(j != null && j.length && !c.quoted_message), Tt = ge && fe && He, Vs =
|
|
3482
|
+
), Ge = c.poll_id && f.polls.fromState(c.poll_id), Et = Yr(c), ge = Fe(c), It = Hr(c), He = !!(j != null && j.length && !c.quoted_message), Tt = ge && fe && He, Vs = de && De && !c.quoted_message && !Ge && !Y && !ge;
|
|
3478
3483
|
return /* @__PURE__ */ m(ee, { children: [
|
|
3479
3484
|
a && /* @__PURE__ */ s(
|
|
3480
3485
|
C,
|
|
@@ -3482,12 +3487,12 @@ const xi = ({
|
|
|
3482
3487
|
additionalMessageInputProps: t
|
|
3483
3488
|
}
|
|
3484
3489
|
),
|
|
3485
|
-
|
|
3490
|
+
L && /* @__PURE__ */ s(
|
|
3486
3491
|
hn,
|
|
3487
3492
|
{
|
|
3488
3493
|
MessageBouncePrompt: F,
|
|
3489
|
-
onClose: () =>
|
|
3490
|
-
open:
|
|
3494
|
+
onClose: () => D(!1),
|
|
3495
|
+
open: L
|
|
3491
3496
|
}
|
|
3492
3497
|
),
|
|
3493
3498
|
/* @__PURE__ */ m(
|
|
@@ -3500,7 +3505,7 @@ const xi = ({
|
|
|
3500
3505
|
R && /* @__PURE__ */ s(R, {}),
|
|
3501
3506
|
!!O && /* @__PURE__ */ s(X, { reminder: O }),
|
|
3502
3507
|
c.user && /* @__PURE__ */ s(
|
|
3503
|
-
|
|
3508
|
+
ne,
|
|
3504
3509
|
{
|
|
3505
3510
|
className: "str-chat__avatar str-chat__message-sender-avatar",
|
|
3506
3511
|
id: c.user.id,
|
|
@@ -3535,8 +3540,8 @@ const xi = ({
|
|
|
3535
3540
|
Zt.Sent,
|
|
3536
3541
|
{
|
|
3537
3542
|
title: (Rt = c.metadata) == null ? void 0 : Rt.attachment_title,
|
|
3538
|
-
mimeType: (
|
|
3539
|
-
thumbnailUrl: (
|
|
3543
|
+
mimeType: (Dt = c.metadata) == null ? void 0 : Dt.attachment_mime_type,
|
|
3544
|
+
thumbnailUrl: (Lt = c.metadata) == null ? void 0 : Lt.attachment_thumbnail,
|
|
3540
3545
|
amountText: (zt = c.metadata) == null ? void 0 : zt.amount_text,
|
|
3541
3546
|
detail: (Pt = c.metadata) == null ? void 0 : Pt.attachment_detail,
|
|
3542
3547
|
paymentStatus: (Ft = c.metadata) == null ? void 0 : Ft.payment_status,
|
|
@@ -3586,7 +3591,7 @@ const xi = ({
|
|
|
3586
3591
|
/* @__PURE__ */ s(
|
|
3587
3592
|
xi,
|
|
3588
3593
|
{
|
|
3589
|
-
groupPosition:
|
|
3594
|
+
groupPosition: Le,
|
|
3590
3595
|
isMyMessage: fe,
|
|
3591
3596
|
message: {
|
|
3592
3597
|
attachments: j,
|
|
@@ -3650,14 +3655,14 @@ const xi = ({
|
|
|
3650
3655
|
)
|
|
3651
3656
|
] }),
|
|
3652
3657
|
/* @__PURE__ */ s(Xr, {}),
|
|
3653
|
-
|
|
3658
|
+
ae && /* @__PURE__ */ s(
|
|
3654
3659
|
te,
|
|
3655
3660
|
{
|
|
3656
3661
|
onClick: d,
|
|
3657
3662
|
reply_count: c.reply_count
|
|
3658
3663
|
}
|
|
3659
3664
|
),
|
|
3660
|
-
|
|
3665
|
+
ue && /* @__PURE__ */ s(Q, {})
|
|
3661
3666
|
]
|
|
3662
3667
|
},
|
|
3663
3668
|
c.id
|
|
@@ -3665,10 +3670,7 @@ const xi = ({
|
|
|
3665
3670
|
] });
|
|
3666
3671
|
}, _i = U.memo(
|
|
3667
3672
|
wi,
|
|
3668
|
-
(e, t) =>
|
|
3669
|
-
var n, a;
|
|
3670
|
-
return e.chatbotVotingEnabled !== t.chatbotVotingEnabled || e.viewerLanguage !== t.viewerLanguage || ((n = e.lastOwnMessage) == null ? void 0 : n.id) !== ((a = t.lastOwnMessage) == null ? void 0 : a.id) ? !1 : Ks(e, t);
|
|
3671
|
-
}
|
|
3673
|
+
(e, t) => e.chatbotVotingEnabled !== t.chatbotVotingEnabled || e.viewerLanguage !== t.viewerLanguage ? !1 : Ks(e, t)
|
|
3672
3674
|
), Ni = (e) => {
|
|
3673
3675
|
const t = _e("CustomMessage");
|
|
3674
3676
|
return /* @__PURE__ */ s(_i, { ...t, ...e });
|
|
@@ -3840,7 +3842,7 @@ const xi = ({
|
|
|
3840
3842
|
composerInput: r
|
|
3841
3843
|
}) => {
|
|
3842
3844
|
var o;
|
|
3843
|
-
const { channel: i } =
|
|
3845
|
+
const { channel: i } = le(), l = ((o = i == null ? void 0 : i.data) == null ? void 0 : o.frozen) === !0;
|
|
3844
3846
|
return n ? /* @__PURE__ */ m(ee, { children: [
|
|
3845
3847
|
/* @__PURE__ */ s("div", { className: "messaging-composer-locked-panel flex w-full flex-col items-center justify-center gap-3 px-6 py-4", children: a ? /* @__PURE__ */ s("p", { className: "max-w-[345px] text-center text-xs font-normal leading-[1.3] tracking-[0.12px] text-black/40", children: a }) : null }),
|
|
3846
3848
|
t == null ? void 0 : t()
|
|
@@ -3862,14 +3864,14 @@ const xi = ({
|
|
|
3862
3864
|
}, Ri = [
|
|
3863
3865
|
"SYSTEM_DM_AGENT_PAUSED",
|
|
3864
3866
|
"SYSTEM_DM_AGENT_RESUMED"
|
|
3865
|
-
],
|
|
3867
|
+
], Di = {
|
|
3866
3868
|
SYSTEM_DM_AGENT_PAUSED: "DM Agent has left the conversation",
|
|
3867
3869
|
SYSTEM_DM_AGENT_RESUMED: "DM Agent has rejoined the conversation"
|
|
3868
|
-
},
|
|
3870
|
+
}, Li = [
|
|
3869
3871
|
"SYSTEM_AGE_SAFETY_BLOCKED"
|
|
3870
3872
|
], zi = {
|
|
3871
3873
|
SYSTEM_AGE_SAFETY_BLOCKED: "This user isn’t able to reply because they don’t meet our age safety guidelines."
|
|
3872
|
-
}, Ze = "age safety guidelines.", Pi = "https://linktr.ee/s/about/contact", as = (e) => Ri.includes(e), Fi = (e) =>
|
|
3874
|
+
}, Ze = "age safety guidelines.", Pi = "https://linktr.ee/s/about/contact", as = (e) => Ri.includes(e), Fi = (e) => Li.includes(e), Oi = (e) => {
|
|
3873
3875
|
var a;
|
|
3874
3876
|
const t = (a = e.metadata) == null ? void 0 : a.custom_type;
|
|
3875
3877
|
if (as(t))
|
|
@@ -3913,7 +3915,7 @@ const xi = ({
|
|
|
3913
3915
|
e.message
|
|
3914
3916
|
);
|
|
3915
3917
|
if ((n == null ? void 0 : n.kind) === "dm-agent") {
|
|
3916
|
-
const i = ((a = e.message.text) == null ? void 0 : a.trim()) ||
|
|
3918
|
+
const i = ((a = e.message.text) == null ? void 0 : a.trim()) || Di[n.type];
|
|
3917
3919
|
return /* @__PURE__ */ m("div", { className: "str-chat__message--system", "data-testid": "message-system", children: [
|
|
3918
3920
|
/* @__PURE__ */ m(
|
|
3919
3921
|
"div",
|
|
@@ -3989,7 +3991,7 @@ const xi = ({
|
|
|
3989
3991
|
qe.ExternalSources
|
|
3990
3992
|
]), Ui = ({ threadList: e }) => {
|
|
3991
3993
|
var v, w;
|
|
3992
|
-
const { channel: t, channelConfig: n, thread: a } =
|
|
3994
|
+
const { channel: t, channelConfig: n, thread: a } = le(), { client: r } = oe(), { typing: i = {} } = yn(), { aiState: l } = kn(t), o = Ie(Os);
|
|
3993
3995
|
if (!e && o && Bi.has(l)) {
|
|
3994
3996
|
const b = Vi(t, (v = r.user) == null ? void 0 : v.id);
|
|
3995
3997
|
return /* @__PURE__ */ s(
|
|
@@ -4042,7 +4044,7 @@ const xi = ({
|
|
|
4042
4044
|
},
|
|
4043
4045
|
children: /* @__PURE__ */ m("div", { className: "str-chat__message str-chat__message-simple str-chat__message--regular str-chat__message--received str-chat__message--other str-chat__message--has-text", children: [
|
|
4044
4046
|
/* @__PURE__ */ s(
|
|
4045
|
-
|
|
4047
|
+
ne,
|
|
4046
4048
|
{
|
|
4047
4049
|
className: "str-chat__avatar str-chat__message-sender-avatar",
|
|
4048
4050
|
id: e,
|
|
@@ -4148,7 +4150,7 @@ const be = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
|
|
|
4148
4150
|
renderHeaderTitleBadges: b
|
|
4149
4151
|
}) => {
|
|
4150
4152
|
var A, E, C, I, $, F;
|
|
4151
|
-
const { channel: f } =
|
|
4153
|
+
const { channel: f } = le(), { client: x } = oe(), N = U.useMemo(
|
|
4152
4154
|
() => {
|
|
4153
4155
|
var V;
|
|
4154
4156
|
return Ue(
|
|
@@ -4158,12 +4160,12 @@ const be = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
|
|
|
4158
4160
|
);
|
|
4159
4161
|
},
|
|
4160
4162
|
[(A = f.state) == null ? void 0 : A.members, x == null ? void 0 : x.userID, f.type]
|
|
4161
|
-
), S = ct(N == null ? void 0 : N.user), T = (E = N == null ? void 0 : N.user) == null ? void 0 : E.image, M = ot(f),
|
|
4163
|
+
), S = ct(N == null ? void 0 : N.user), T = (E = N == null ? void 0 : N.user) == null ? void 0 : E.image, M = ot(f), L = b == null ? void 0 : b({
|
|
4162
4164
|
channel: f,
|
|
4163
4165
|
participant: N
|
|
4164
|
-
}),
|
|
4166
|
+
}), D = "flex max-w-full flex-col items-center gap-1 rounded-[12px] px-1 py-0.5 text-center text-xs font-medium text-black/90", O = "flex min-w-0 max-w-full items-center gap-4 rounded-[12px] px-1 py-0.5 text-left text-black/90", z = /* @__PURE__ */ m(ee, { children: [
|
|
4165
4167
|
/* @__PURE__ */ s("span", { className: "min-w-0 truncate", children: S }),
|
|
4166
|
-
|
|
4168
|
+
L && /* @__PURE__ */ s("span", { className: "shrink-0", children: L })
|
|
4167
4169
|
] }), y = async () => {
|
|
4168
4170
|
try {
|
|
4169
4171
|
M ? await f.unpin() : await f.pin();
|
|
@@ -4202,12 +4204,12 @@ const be = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
|
|
|
4202
4204
|
onClick: w,
|
|
4203
4205
|
"aria-label": `View details for ${S}`,
|
|
4204
4206
|
className: k(
|
|
4205
|
-
|
|
4207
|
+
D,
|
|
4206
4208
|
"appearance-none border-0 bg-transparent transition-opacity hover:opacity-70 focus-ring focus-visible:outline-none"
|
|
4207
4209
|
),
|
|
4208
4210
|
children: [
|
|
4209
4211
|
/* @__PURE__ */ s(
|
|
4210
|
-
|
|
4212
|
+
ne,
|
|
4211
4213
|
{
|
|
4212
4214
|
id: ((C = N == null ? void 0 : N.user) == null ? void 0 : C.id) || f.id || "unknown",
|
|
4213
4215
|
name: S,
|
|
@@ -4227,9 +4229,9 @@ const be = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
|
|
|
4227
4229
|
] })
|
|
4228
4230
|
]
|
|
4229
4231
|
}
|
|
4230
|
-
) : /* @__PURE__ */ m("div", { className:
|
|
4232
|
+
) : /* @__PURE__ */ m("div", { className: D, children: [
|
|
4231
4233
|
/* @__PURE__ */ s(
|
|
4232
|
-
|
|
4234
|
+
ne,
|
|
4233
4235
|
{
|
|
4234
4236
|
id: ((I = N == null ? void 0 : N.user) == null ? void 0 : I.id) || f.id || "unknown",
|
|
4235
4237
|
name: S,
|
|
@@ -4322,7 +4324,7 @@ const be = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
|
|
|
4322
4324
|
),
|
|
4323
4325
|
children: [
|
|
4324
4326
|
/* @__PURE__ */ s(
|
|
4325
|
-
|
|
4327
|
+
ne,
|
|
4326
4328
|
{
|
|
4327
4329
|
id: (($ = N == null ? void 0 : N.user) == null ? void 0 : $.id) || f.id || "unknown",
|
|
4328
4330
|
name: S,
|
|
@@ -4346,7 +4348,7 @@ const be = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
|
|
|
4346
4348
|
}
|
|
4347
4349
|
) : /* @__PURE__ */ m("div", { className: O, children: [
|
|
4348
4350
|
/* @__PURE__ */ s(
|
|
4349
|
-
|
|
4351
|
+
ne,
|
|
4350
4352
|
{
|
|
4351
4353
|
id: ((F = N == null ? void 0 : N.user) == null ? void 0 : F.id) || f.id || "unknown",
|
|
4352
4354
|
name: S,
|
|
@@ -4438,13 +4440,13 @@ const be = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
|
|
|
4438
4440
|
renderChannelActions: S,
|
|
4439
4441
|
renderMessage: T,
|
|
4440
4442
|
dmAgentEnabled: M = !1,
|
|
4441
|
-
viewerLanguage:
|
|
4442
|
-
showChannelInfo:
|
|
4443
|
+
viewerLanguage: L,
|
|
4444
|
+
showChannelInfo: D = !0,
|
|
4443
4445
|
onParticipantNameClick: O,
|
|
4444
4446
|
composerInput: z
|
|
4445
4447
|
}) => {
|
|
4446
4448
|
var _, R, H, q;
|
|
4447
|
-
const { channel: y } =
|
|
4449
|
+
const { channel: y } = le(), { client: A } = oe(), E = U.useMemo(
|
|
4448
4450
|
() => {
|
|
4449
4451
|
var Y;
|
|
4450
4452
|
return Ue(
|
|
@@ -4458,8 +4460,8 @@ const be = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
|
|
|
4458
4460
|
var W;
|
|
4459
4461
|
const Y = A == null ? void 0 : A.userID;
|
|
4460
4462
|
return Y ? Object.values(((W = y.state) == null ? void 0 : W.members) || {}).find((Z) => {
|
|
4461
|
-
var
|
|
4462
|
-
return ((
|
|
4463
|
+
var de;
|
|
4464
|
+
return ((de = Z.user) == null ? void 0 : de.id) === Y;
|
|
4463
4465
|
}) : void 0;
|
|
4464
4466
|
}, [A == null ? void 0 : A.userID, (R = y.state) == null ? void 0 : R.members]), I = ((H = C == null ? void 0 : C.user) == null ? void 0 : H.is_account) ?? (C == null ? void 0 : C.is_account), $ = ((q = E == null ? void 0 : E.user) == null ? void 0 : q.is_account) ?? (E == null ? void 0 : E.is_account), F = M && I === !1 && $ === !0, V = y.state.messages.some(
|
|
4465
4467
|
(Y) => Y.type !== "deleted"
|
|
@@ -4468,7 +4470,7 @@ const be = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
|
|
|
4468
4470
|
{
|
|
4469
4471
|
onBack: e,
|
|
4470
4472
|
showBackButton: t,
|
|
4471
|
-
showChannelInfo:
|
|
4473
|
+
showChannelInfo: D,
|
|
4472
4474
|
showStarButton: w,
|
|
4473
4475
|
dmAgentEnabled: F,
|
|
4474
4476
|
onLeaveConversation: i,
|
|
@@ -4490,12 +4492,12 @@ const be = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
|
|
|
4490
4492
|
{
|
|
4491
4493
|
...Y,
|
|
4492
4494
|
chatbotVotingEnabled: b,
|
|
4493
|
-
viewerLanguage:
|
|
4495
|
+
viewerLanguage: L
|
|
4494
4496
|
}
|
|
4495
4497
|
);
|
|
4496
4498
|
return !T || !j ? W : T(W, j);
|
|
4497
4499
|
},
|
|
4498
|
-
[b, T,
|
|
4500
|
+
[b, T, L]
|
|
4499
4501
|
);
|
|
4500
4502
|
return /* @__PURE__ */ s(ee, { children: /* @__PURE__ */ s(
|
|
4501
4503
|
Sn,
|
|
@@ -4511,7 +4513,7 @@ const be = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
|
|
|
4511
4513
|
{
|
|
4512
4514
|
onBack: e,
|
|
4513
4515
|
showBackButton: t,
|
|
4514
|
-
showChannelInfo:
|
|
4516
|
+
showChannelInfo: D,
|
|
4515
4517
|
showStarButton: w,
|
|
4516
4518
|
dmAgentEnabled: F,
|
|
4517
4519
|
onLeaveConversation: i,
|
|
@@ -4593,8 +4595,8 @@ const be = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
|
|
|
4593
4595
|
onMessageSent: S,
|
|
4594
4596
|
showStarButton: T = !1,
|
|
4595
4597
|
chatbotVotingEnabled: M = !1,
|
|
4596
|
-
renderChannelBanner:
|
|
4597
|
-
renderHeaderTitleBadges:
|
|
4598
|
+
renderChannelBanner: L,
|
|
4599
|
+
renderHeaderTitleBadges: D,
|
|
4598
4600
|
customChannelActions: O,
|
|
4599
4601
|
renderChannelActions: z,
|
|
4600
4602
|
renderMessage: y,
|
|
@@ -4633,7 +4635,7 @@ const be = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
|
|
|
4633
4635
|
const _ = (R) => {
|
|
4634
4636
|
const H = R.target, q = H == null ? void 0 : H.closest("a[href]"), Y = q == null ? void 0 : q.getAttribute("href");
|
|
4635
4637
|
if (!Y) return;
|
|
4636
|
-
const j = q == null ? void 0 : q.closest("[data-message-id]"), W = j == null ? void 0 : j.getAttribute("data-message-id"), Z = W ? e.state.messages.find((
|
|
4638
|
+
const j = q == null ? void 0 : q.closest("[data-message-id]"), W = j == null ? void 0 : j.getAttribute("data-message-id"), Z = W ? e.state.messages.find((de) => de.id === W) : void 0;
|
|
4637
4639
|
A(Y, Z);
|
|
4638
4640
|
};
|
|
4639
4641
|
return X.addEventListener("click", _), () => X.removeEventListener("click", _);
|
|
@@ -4679,8 +4681,8 @@ const be = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
|
|
|
4679
4681
|
showStarButton: T,
|
|
4680
4682
|
dmAgentEnabled: x,
|
|
4681
4683
|
chatbotVotingEnabled: M,
|
|
4682
|
-
renderChannelBanner:
|
|
4683
|
-
renderHeaderTitleBadges:
|
|
4684
|
+
renderChannelBanner: L,
|
|
4685
|
+
renderHeaderTitleBadges: D,
|
|
4684
4686
|
customChannelActions: O,
|
|
4685
4687
|
renderChannelActions: z,
|
|
4686
4688
|
renderMessage: y,
|
|
@@ -4738,8 +4740,8 @@ const fl = ({
|
|
|
4738
4740
|
composerInput: M
|
|
4739
4741
|
}) => {
|
|
4740
4742
|
const {
|
|
4741
|
-
client:
|
|
4742
|
-
isConnected:
|
|
4743
|
+
client: L,
|
|
4744
|
+
isConnected: D,
|
|
4743
4745
|
isLoading: O,
|
|
4744
4746
|
error: z,
|
|
4745
4747
|
refreshConnection: y,
|
|
@@ -4753,8 +4755,8 @@ const fl = ({
|
|
|
4753
4755
|
K(() => {
|
|
4754
4756
|
H.current = C;
|
|
4755
4757
|
}, [C]), K(() => {
|
|
4756
|
-
if (!
|
|
4757
|
-
const j =
|
|
4758
|
+
if (!L || !D) return;
|
|
4759
|
+
const j = L.userID;
|
|
4758
4760
|
if (!j) return;
|
|
4759
4761
|
const W = `${j}::${i}`;
|
|
4760
4762
|
if (R.current === W) return;
|
|
@@ -4763,13 +4765,13 @@ const fl = ({
|
|
|
4763
4765
|
R.current === W && (R.current = null);
|
|
4764
4766
|
};
|
|
4765
4767
|
(async () => {
|
|
4766
|
-
var
|
|
4768
|
+
var De, Le;
|
|
4767
4769
|
try {
|
|
4768
4770
|
E && console.log(
|
|
4769
4771
|
"[MessagingShell] Loading initial conversation with:",
|
|
4770
4772
|
i
|
|
4771
4773
|
);
|
|
4772
|
-
const
|
|
4774
|
+
const ae = await L.queryChannels(
|
|
4773
4775
|
{
|
|
4774
4776
|
type: "messaging",
|
|
4775
4777
|
members: { $eq: [j, i] }
|
|
@@ -4777,15 +4779,15 @@ const fl = ({
|
|
|
4777
4779
|
{},
|
|
4778
4780
|
{ limit: 1 }
|
|
4779
4781
|
);
|
|
4780
|
-
if (
|
|
4781
|
-
I(
|
|
4782
|
+
if (ae.length > 0) {
|
|
4783
|
+
I(ae[0]), F(null), (De = _.current) == null || De.call(_, ae[0]), E && console.log(
|
|
4782
4784
|
"[MessagingShell] Initial conversation loaded:",
|
|
4783
|
-
|
|
4785
|
+
ae[0].id
|
|
4784
4786
|
);
|
|
4785
4787
|
return;
|
|
4786
4788
|
}
|
|
4787
|
-
const
|
|
4788
|
-
if (!
|
|
4789
|
+
const ue = X.current;
|
|
4790
|
+
if (!ue || !A) {
|
|
4789
4791
|
Z(), F("No conversation found with this account"), E && console.log(
|
|
4790
4792
|
"[MessagingShell] No conversation found for:",
|
|
4791
4793
|
i
|
|
@@ -4794,11 +4796,11 @@ const fl = ({
|
|
|
4794
4796
|
}
|
|
4795
4797
|
try {
|
|
4796
4798
|
const ie = await A.startChannelWithParticipant({
|
|
4797
|
-
id:
|
|
4798
|
-
name:
|
|
4799
|
-
phone:
|
|
4799
|
+
id: ue.id,
|
|
4800
|
+
name: ue.name,
|
|
4801
|
+
phone: ue.phone
|
|
4800
4802
|
});
|
|
4801
|
-
I(ie), F(null), (
|
|
4803
|
+
I(ie), F(null), (Le = _.current) == null || Le.call(_, ie), E && console.log(
|
|
4802
4804
|
"[MessagingShell] Channel created and loaded:",
|
|
4803
4805
|
ie.id
|
|
4804
4806
|
);
|
|
@@ -4808,21 +4810,21 @@ const fl = ({
|
|
|
4808
4810
|
ie
|
|
4809
4811
|
), Z(), F("Failed to create conversation");
|
|
4810
4812
|
}
|
|
4811
|
-
} catch (
|
|
4813
|
+
} catch (ae) {
|
|
4812
4814
|
console.error(
|
|
4813
4815
|
"[MessagingShell] Failed to load initial conversation:",
|
|
4814
|
-
|
|
4816
|
+
ae
|
|
4815
4817
|
), Z(), H.current || F("Failed to load conversation");
|
|
4816
4818
|
}
|
|
4817
4819
|
})();
|
|
4818
|
-
}, [i,
|
|
4820
|
+
}, [i, L, D, A, E]);
|
|
4819
4821
|
const q = G(r);
|
|
4820
4822
|
q.current = r;
|
|
4821
4823
|
const Y = J(() => {
|
|
4822
4824
|
var j;
|
|
4823
4825
|
I(null), Q(!0), (j = q.current) == null || j.call(q);
|
|
4824
4826
|
}, []);
|
|
4825
|
-
return O ? /* @__PURE__ */ s(je, {}) : z ? /* @__PURE__ */ s(ke, { message: z, onBack: y }) : !
|
|
4827
|
+
return O ? /* @__PURE__ */ s(je, {}) : z ? /* @__PURE__ */ s(ke, { message: z, onBack: y }) : !D || !L ? /* @__PURE__ */ s(
|
|
4826
4828
|
ke,
|
|
4827
4829
|
{
|
|
4828
4830
|
message: "Not connected to messaging service",
|
|
@@ -4894,7 +4896,7 @@ const js = U.createContext({
|
|
|
4894
4896
|
});
|
|
4895
4897
|
}, Bs = U.memo(
|
|
4896
4898
|
(e) => {
|
|
4897
|
-
var
|
|
4899
|
+
var D, O, z;
|
|
4898
4900
|
const { channel: t, unread: n } = e, {
|
|
4899
4901
|
selectedChannel: a,
|
|
4900
4902
|
onChannelSelect: r,
|
|
@@ -4902,7 +4904,7 @@ const js = U.createContext({
|
|
|
4902
4904
|
channelPreview: l,
|
|
4903
4905
|
renderMessagePreview: o,
|
|
4904
4906
|
viewerLanguage: d
|
|
4905
|
-
} = Ki(), { client: u } =
|
|
4907
|
+
} = Ki(), { client: u } = oe(), p = (a == null ? void 0 : a.id) === (t == null ? void 0 : t.id), h = ot(t);
|
|
4906
4908
|
if (l)
|
|
4907
4909
|
return /* @__PURE__ */ s(
|
|
4908
4910
|
l,
|
|
@@ -4920,7 +4922,7 @@ const js = U.createContext({
|
|
|
4920
4922
|
const A = y.key === "Enter" || y.key === " ", E = y.repeat;
|
|
4921
4923
|
!A || E || (y.preventDefault(), g());
|
|
4922
4924
|
}, v = Ue(
|
|
4923
|
-
(
|
|
4925
|
+
(D = t == null ? void 0 : t.state) == null ? void 0 : D.members,
|
|
4924
4926
|
u == null ? void 0 : u.userID,
|
|
4925
4927
|
t == null ? void 0 : t.type
|
|
4926
4928
|
), w = ct(v == null ? void 0 : v.user), b = (O = v == null ? void 0 : v.user) == null ? void 0 : O.image, f = (() => {
|
|
@@ -4943,12 +4945,12 @@ const js = U.createContext({
|
|
|
4943
4945
|
if (y) return y;
|
|
4944
4946
|
const I = (Q = f == null ? void 0 : f.attachments) == null ? void 0 : Q[0];
|
|
4945
4947
|
return I ? I.og_scrape_url ? I.og_scrape_url : I.type === "image" ? "📷 Sent an image" : I.type === "video" ? "🎥 Sent a video" : I.type === "audio" ? "🎵 Sent audio" : I.type === "file" ? "📎 Sent a file" : "📎 Sent an attachment" : "No messages yet";
|
|
4946
|
-
})(), S = f != null && f.created_at ? Zi(new Date(f.created_at)) : "", T = f ? Fe(f) : !1, M = o ? o(f, N) : `${T ? "✨ " : ""}${N}`,
|
|
4948
|
+
})(), S = f != null && f.created_at ? Zi(new Date(f.created_at)) : "", T = f ? Fe(f) : !1, M = o ? o(f, N) : `${T ? "✨ " : ""}${N}`, L = n ?? 0;
|
|
4947
4949
|
return i && console.log("📺 [ChannelList] 📋 CHANNEL PREVIEW RENDER", {
|
|
4948
4950
|
channelId: t == null ? void 0 : t.id,
|
|
4949
4951
|
isSelected: p,
|
|
4950
4952
|
participantName: w,
|
|
4951
|
-
unreadCount:
|
|
4953
|
+
unreadCount: L,
|
|
4952
4954
|
hasTimestamp: !!S
|
|
4953
4955
|
}), /* @__PURE__ */ s(
|
|
4954
4956
|
"div",
|
|
@@ -4967,7 +4969,7 @@ const js = U.createContext({
|
|
|
4967
4969
|
"data-dd-privacy": "mask",
|
|
4968
4970
|
children: /* @__PURE__ */ m("div", { className: "flex items-start gap-4", children: [
|
|
4969
4971
|
/* @__PURE__ */ s(
|
|
4970
|
-
|
|
4972
|
+
ne,
|
|
4971
4973
|
{
|
|
4972
4974
|
id: ((z = v == null ? void 0 : v.user) == null ? void 0 : z.id) || t.id || "unknown",
|
|
4973
4975
|
name: w,
|
|
@@ -4994,7 +4996,7 @@ const js = U.createContext({
|
|
|
4994
4996
|
] }),
|
|
4995
4997
|
/* @__PURE__ */ m("div", { className: "flex items-center justify-between gap-2 min-w-0", children: [
|
|
4996
4998
|
/* @__PURE__ */ s("p", { className: "text-sm text-[#717070] flex-1 line-clamp-1", children: M }),
|
|
4997
|
-
|
|
4999
|
+
L > 0 && /* @__PURE__ */ s("span", { className: "bg-[#7f22fe] text-white text-[10px] rounded-full h-4 flex items-center justify-center p-1 min-w-4 text-center flex-shrink-0", children: L > 99 ? "99+" : L })
|
|
4998
5000
|
] })
|
|
4999
5001
|
] })
|
|
5000
5002
|
] })
|
|
@@ -5111,7 +5113,7 @@ const tl = ({
|
|
|
5111
5113
|
const o = e.filter((d) => d.enabled).sort((d, u) => (d.order ?? 0) - (u.order ?? 0));
|
|
5112
5114
|
return o.length === 0 ? null : /* @__PURE__ */ s("div", { className: r, children: /* @__PURE__ */ m("div", { className: "flex gap-3 items-end", children: [
|
|
5113
5115
|
(i || l) && /* @__PURE__ */ s("div", { className: "flex-none", children: /* @__PURE__ */ s(
|
|
5114
|
-
|
|
5116
|
+
ne,
|
|
5115
5117
|
{
|
|
5116
5118
|
id: l || "account",
|
|
5117
5119
|
name: l || "Account",
|
|
@@ -5152,12 +5154,12 @@ export {
|
|
|
5152
5154
|
es as L,
|
|
5153
5155
|
ul as M,
|
|
5154
5156
|
Ne as a,
|
|
5155
|
-
|
|
5157
|
+
ne as b,
|
|
5156
5158
|
el as c,
|
|
5157
5159
|
$s as d,
|
|
5158
5160
|
ml as e,
|
|
5159
5161
|
tl as f,
|
|
5160
|
-
|
|
5162
|
+
ce as g,
|
|
5161
5163
|
Zt as h,
|
|
5162
5164
|
ye as i,
|
|
5163
5165
|
qr as j,
|
|
@@ -5178,4 +5180,4 @@ export {
|
|
|
5178
5180
|
ft as y,
|
|
5179
5181
|
ct as z
|
|
5180
5182
|
};
|
|
5181
|
-
//# sourceMappingURL=index-
|
|
5183
|
+
//# sourceMappingURL=index-wFe1UO9t.js.map
|