@bcc-code/vue-bcc-chat-ui 5.2.7 → 5.2.8
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
CHANGED
|
@@ -3,7 +3,7 @@ var KS = (e) => {
|
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
5
|
var qBe = (e, t, r) => t in e ? JBe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
6
|
-
var
|
|
6
|
+
var xn = (e, t, r) => qBe(e, typeof t != "symbol" ? t + "" : t, r), sm = (e, t, r) => t.has(e) || KS("Cannot " + r);
|
|
7
7
|
var xr = (e, t, r) => (sm(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Li = (e, t, r) => t.has(e) ? KS("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), $a = (e, t, r, n) => (sm(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), hr = (e, t, r) => (sm(e, t, "access private method"), r);
|
|
8
8
|
import * as WS from "vue";
|
|
9
9
|
import { defineComponent as Tt, ref as Z, onBeforeMount as Rr, watch as Or, inject as tn, onMounted as An, onUpdated as J2, onBeforeUnmount as Lr, nextTick as oo, computed as Ut, reactive as q2, onUnmounted as Pr, onBeforeUpdate as Ci, getCurrentInstance as Cu, createElementBlock as j, createCommentVNode as je, openBlock as k, createElementVNode as Ee, normalizeStyle as ut, toDisplayString as Fn, withDirectives as ul, vShow as Eh, createBlock as ct, resolveDynamicComponent as Lt, mergeProps as bt, toHandlers as Dt, withCtx as gt, Fragment as ht, renderList as Mt, renderSlot as di, createTextVNode as ba, resolveComponent as fn, createVNode as cn, createSlots as D2, normalizeClass as ea, normalizeProps as U2, KeepAlive as ZBe, triggerRef as XBe, unref as en, h as kr, watchEffect as ao, provide as zo, Teleport as eGe, cloneVNode as tGe, shallowRef as nGe, useSlots as j_, withModifiers as F_, Transition as rGe, vModelText as QS, capitalize as oGe, useAttrs as aGe } from "vue";
|
|
@@ -3538,7 +3538,7 @@ function nE() {
|
|
|
3538
3538
|
}
|
|
3539
3539
|
};
|
|
3540
3540
|
Object.defineProperty(n, "__esModule", { value: !0 }), n.CometChat = void 0;
|
|
3541
|
-
var l = a(35), u = a(0), d = a(2), h = a(6), C = a(3), E = a(15), m = a(19), S = a(7), A = a(17), T = a(11), y = a(12), p = a(1), D = a(9), w = a(16), L = a(27), O = a(28), P = a(25), $ = a(38), J = a(10), re = a(24), le = a(49), Q = a(50), he = a(51), ue = a(52), Ce = a(54), se = a(55), te = a(30), ce = a(31), ee = a(43), ve = a(21), Ie = a(41), Oe = a(57), Me = a(58), Se = a(59), Pe = a(42), Qe = a(29), et = a(20), ke = a(60), rt = a(61), $t = a(62), Ft = a(44), $e = a(4), Ze = a(73), Rt = a(36), _t = a(39), Nt = a(33), Ve = a(22), ze = a(37), st = a(23), Pt = a(45), Bt = a(74), hn = a(75), an = a(18), gn = a(46), Cn = a(32), Nn = a(76),
|
|
3541
|
+
var l = a(35), u = a(0), d = a(2), h = a(6), C = a(3), E = a(15), m = a(19), S = a(7), A = a(17), T = a(11), y = a(12), p = a(1), D = a(9), w = a(16), L = a(27), O = a(28), P = a(25), $ = a(38), J = a(10), re = a(24), le = a(49), Q = a(50), he = a(51), ue = a(52), Ce = a(54), se = a(55), te = a(30), ce = a(31), ee = a(43), ve = a(21), Ie = a(41), Oe = a(57), Me = a(58), Se = a(59), Pe = a(42), Qe = a(29), et = a(20), ke = a(60), rt = a(61), $t = a(62), Ft = a(44), $e = a(4), Ze = a(73), Rt = a(36), _t = a(39), Nt = a(33), Ve = a(22), ze = a(37), st = a(23), Pt = a(45), Bt = a(74), hn = a(75), an = a(18), gn = a(46), Cn = a(32), Nn = a(76), Dn = a(77), Zt = $t.WSConnectionHelper.getInstance(), Vt = Ft.ListenerHandlers.getInstance(), ge = function() {
|
|
3542
3542
|
function _(b) {
|
|
3543
3543
|
try {
|
|
3544
3544
|
_.appId = b, _.localStorage = E.LocalStorage.getInstance(), _.keyStore = L.KeyStore.getInstance();
|
|
@@ -3626,7 +3626,7 @@ function nE() {
|
|
|
3626
3626
|
return b === void 0 && (b = ""), new Promise(function(V, W) {
|
|
3627
3627
|
try {
|
|
3628
3628
|
typeof b == "object" && (b.hasOwnProperty("appId") && (b = b.appId), b.hasOwnProperty("appSettings") && (z = b.appSettings)), u.isFalsy(z) ? z = new Me.AppSettingsBuilder().setRegion(Me.AppSettings.REGION_EU).build() : z.getRegion() == Me.AppSettings.REGION_PRIVATE && (z.region = b), K.appSettings = z, u.isFalsy(b) ? W(new d.CometChatException(J.INIT_ERROR.NO_APP_ID)) : (window.addEventListener && (window.addEventListener("storage", _.onStorageEvent, !1), window.addEventListener("beforeunload", _.beforeUnload, !1)), K.initialzed = !0, _.appId = b, _.getInstance(b), E.LocalStorage.getInstance().get(p.SESSION_STORE.SESSION_ID).then(function(ne) {
|
|
3629
|
-
ne == null || ne == null ? (_.sessionId = p.APPINFO.platform + "-" + p.APPINFO.sdkVersionWithUnderScore + "-" +
|
|
3629
|
+
ne == null || ne == null ? (_.sessionId = p.APPINFO.platform + "-" + p.APPINFO.sdkVersionWithUnderScore + "-" + Dn() + "-" + (/* @__PURE__ */ new Date()).getTime(), _.addDataToSessionStorage(p.SESSION_STORE.SESSION_ID, _.getSessionId()), E.LocalStorage.getInstance().remove(p.SESSION_STORE.SESSION_ID)) : (_.sessionId = ne.toLocaleString(), E.LocalStorage.getInstance().remove(p.SESSION_STORE.SESSION_ID), _.addDataToSessionStorage(p.SESSION_STORE.SESSION_ID, _.getSessionId())), E.LocalStorage.getInstance().get(p.LOCAL_STORE.KEY_APP_ID).then(function(de) {
|
|
3630
3630
|
if (de == null || de == null) _.appId = b, _.getInstance(b), E.LocalStorage.getInstance().set(p.LOCAL_STORE.KEY_APP_ID, b), V(!0);
|
|
3631
3631
|
else {
|
|
3632
3632
|
var pe = de.toLocaleString();
|
|
@@ -3646,7 +3646,7 @@ function nE() {
|
|
|
3646
3646
|
}
|
|
3647
3647
|
L.KeyStore.getInstance().get(p.LOCAL_STORE.KEY_DEVICE_ID).then(function(_e) {
|
|
3648
3648
|
if (_e == null) {
|
|
3649
|
-
var De =
|
|
3649
|
+
var De = Dn(), Be = (/* @__PURE__ */ new Date()).getTime(), dt = b + "_" + De + "_" + Be;
|
|
3650
3650
|
L.KeyStore.getInstance().set(p.LOCAL_STORE.KEY_DEVICE_ID, dt);
|
|
3651
3651
|
}
|
|
3652
3652
|
});
|
|
@@ -3676,7 +3676,7 @@ function nE() {
|
|
|
3676
3676
|
u.getAppSettings().then(function(de) {
|
|
3677
3677
|
var pe = "", _e = ne, De = p.APPINFO.platform, Be = p.APPINFO.sdkVersion, dt = de[p.APP_SETTINGS.KEYS.CHAT_API_VERSION];
|
|
3678
3678
|
if (navigator && (pe = navigator.userAgent), _e == null) {
|
|
3679
|
-
var tt =
|
|
3679
|
+
var tt = Dn(), qe = (/* @__PURE__ */ new Date()).getTime();
|
|
3680
3680
|
_e = K.appId + "_" + tt + "_" + qe, _.keyStore.set(p.LOCAL_STORE.KEY_DEVICE_ID, _e);
|
|
3681
3681
|
}
|
|
3682
3682
|
var pt = { platform: De, deviceId: _e, appInfo: { version: Be, apiVersion: dt, userAgent: pe, pushNotification: { fcmDeviceToken: b, settings: z } } };
|
|
@@ -4347,7 +4347,7 @@ function nE() {
|
|
|
4347
4347
|
var W = "", ne = "", de = p.APPINFO.platform, pe = p.APPINFO.sdkVersion, _e = p.APPINFO.apiVersion;
|
|
4348
4348
|
_.keyStore.get(p.LOCAL_STORE.KEY_DEVICE_ID).then(function(De) {
|
|
4349
4349
|
if (ne = De, navigator && (W = navigator.userAgent), ne == null) {
|
|
4350
|
-
var Be =
|
|
4350
|
+
var Be = Dn(), dt = (/* @__PURE__ */ new Date()).getTime();
|
|
4351
4351
|
ne = b.appId + "_" + Be + "_" + dt, _.keyStore.set(p.LOCAL_STORE.KEY_DEVICE_ID, ne);
|
|
4352
4352
|
}
|
|
4353
4353
|
var tt = { version: pe, apiVersion: _e, userAgent: W };
|
|
@@ -4841,7 +4841,7 @@ function nE() {
|
|
|
4841
4841
|
}, _.startCall = function(b, z, K) {
|
|
4842
4842
|
var V = this;
|
|
4843
4843
|
try {
|
|
4844
|
-
var W, ne, de, pe, _e, De, Be, dt, tt, qe, pt = this.getActiveCall(), at = !1, nn = !0, On = !0, Ye = !0, Le = !0, Yt = !0, Ht = !0,
|
|
4844
|
+
var W, ne, de, pe, _e, De, Be, dt, tt, qe, pt = this.getActiveCall(), at = !1, nn = !0, On = !0, Ye = !0, Le = !0, Yt = !0, Ht = !0, Rn = !1, Un = !1, Qn = p.CallConstants.CALL_MODE.DEFAULT, sr = !1, Jn = !1, Cr = !1, Ge = !0, f = !0, R = {}, F = this.user;
|
|
4845
4845
|
pe = new ke.VirtualBackgroundBuilder().build(), _e = new ke.MainVideoContainerSetting(), u.getAppSettings().then(function(H) {
|
|
4846
4846
|
if (dt = H[p.APP_SETTINGS.KEYS.WEBRTC_HOST], R[p.APP_SETTINGS.KEYS.ANALYTICS_HOST] = H[p.APP_SETTINGS.KEYS.ANALYTICS_HOST], R[p.APP_SETTINGS.KEYS.ANALYTICS_VERSION] = H[p.APP_SETTINGS.KEYS.ANALYTICS_VERSION], R[p.APP_SETTINGS.KEYS.ANALYTICS_PING_DISABLED] = H[p.APP_SETTINGS.KEYS.ANALYTICS_PING_DISABLED], R[p.APP_SETTINGS.KEYS.ANALYTICS_USE_SSL] = H[p.APP_SETTINGS.KEYS.ANALYTICS_USE_SSL], De = H[p.APP_SETTINGS.KEYS.REGION], u.isFalsy(K) || $.CallController.getInstance().setCallListner(K), u.isFalsy(V.appSettings)) $.CallController.getInstance().getCallListner() && $.CallController.getInstance().getCallListner()._eventListener.onError(new d.CometChatException(p.CALL_ERROR.NOT_INITIALIZED));
|
|
4847
4847
|
else if (De) if (F) if ((qe = new rt.RTCUser(F.getUid())).setName(F.getName()), qe.setAvatar(F.getAvatar()), qe.setResource(_.getSessionId()), _.appId) if (Be = _.appId, typeof b == "string") {
|
|
@@ -4856,7 +4856,7 @@ function nE() {
|
|
|
4856
4856
|
Ge = !!at;
|
|
4857
4857
|
var ae = { uid: F.getUid(), sessionId: ne };
|
|
4858
4858
|
_.getJWT(ae).then(function(fe) {
|
|
4859
|
-
fe.hasOwnProperty("token") ? (qe.setJWT(fe.token), W = new ke.CallSettingsBuilder().setSessionID(ne).enableDefaultLayout(nn).setIsAudioOnlyCall(at).setUser(qe).setRegion(De).setAppId(Be).setDomain(dt).showEndCallButton(Le).showMuteAudioButton(Ye).showPauseVideoButton(On).showScreenShareButton(Yt).showModeButton(Ht).setMode(Qn).setAnalyticsSettings(R).startWithAudioMuted(
|
|
4859
|
+
fe.hasOwnProperty("token") ? (qe.setJWT(fe.token), W = new ke.CallSettingsBuilder().setSessionID(ne).enableDefaultLayout(nn).setIsAudioOnlyCall(at).setUser(qe).setRegion(De).setAppId(Be).setDomain(dt).showEndCallButton(Le).showMuteAudioButton(Ye).showPauseVideoButton(On).showScreenShareButton(Yt).showModeButton(Ht).setMode(Qn).setAnalyticsSettings(R).startWithAudioMuted(Rn).startWithVideoMuted(Un).showRecordingButton(sr).startRecordingOnCallStart(Jn).forceLegacyUI(Cr).showSwitchToVideoCallButton(Ge).setVirtualBackground(pe).showVirtualBackgroundSetting(f).setMainVideoContainerSetting(_e).build(), $.CallController.getInstance().startCall(W, z)) : $.CallController.getInstance().getCallListner() && $.CallController.getInstance().getCallListner()._eventListener.onError(new d.CometChatException(p.CALL_ERROR.JWT_NOT_FOUND));
|
|
4860
4860
|
}, function(fe) {
|
|
4861
4861
|
$.CallController.getInstance().getCallListner() && $.CallController.getInstance().getCallListner()._eventListener.onError(new d.CometChatException(fe));
|
|
4862
4862
|
});
|
|
@@ -4869,8 +4869,8 @@ function nE() {
|
|
|
4869
4869
|
ne = ("v1." + De + "." + _.getAppId() + "." + b.getSessionId()).toLowerCase();
|
|
4870
4870
|
}
|
|
4871
4871
|
if (!ne) return void ($.CallController.getInstance().getCallListner() && $.CallController.getInstance().getCallListner()._eventListener.onError(new d.CometChatException(p.CALL_ERROR.SESSION_ID_REQUIRED)));
|
|
4872
|
-
nn = b.isDefaultLayoutEnabled(), On = b.isPauseVideoButtonEnabled(), Ye = b.isMuteAudioButtonEnabled(), Le = b.isEndCallButtonEnabled(), Yt = b.isScreenShareButtonEnabled(), Qn = b.getMode(), tt = b.getLocalizedStringObject(), de = b.getCustomCSS(), Ht = b.isModeButtonEnabled(),
|
|
4873
|
-
fe.hasOwnProperty("token") ? (qe.setJWT(fe.token), W = new ke.CallSettingsBuilder().setSessionID(ne).enableDefaultLayout(nn).setIsAudioOnlyCall(at).setUser(qe).setRegion(De).setAppId(Be).setDomain(dt).showEndCallButton(Le).showMuteAudioButton(Ye).showPauseVideoButton(On).showScreenShareButton(Yt).showModeButton(Ht).setMode(Qn).setLocalizedStringObject(tt).setCustomCSS(de).setAnalyticsSettings(R).startWithAudioMuted(
|
|
4872
|
+
nn = b.isDefaultLayoutEnabled(), On = b.isPauseVideoButtonEnabled(), Ye = b.isMuteAudioButtonEnabled(), Le = b.isEndCallButtonEnabled(), Yt = b.isScreenShareButtonEnabled(), Qn = b.getMode(), tt = b.getLocalizedStringObject(), de = b.getCustomCSS(), Ht = b.isModeButtonEnabled(), Rn = b.getStartWithAudioMuted(), Un = b.getStartWithVideoMuted(), sr = b.isRecordingButtonEnabled(), Jn = b.shouldStartRecordingOnCallStart(), Cr = b.shouldUseLegacyUI(), Ge = !!at && b.isAudioToVideoButtonEnabled(), pe = b.getVirtualBackground(), f = b.isVirtualBackgroundSettingEnabled(), _e = b.getMainVideoContainerSetting(), ae = { uid: F.getUid(), sessionId: ne }, _.getJWT(ae).then(function(fe) {
|
|
4873
|
+
fe.hasOwnProperty("token") ? (qe.setJWT(fe.token), W = new ke.CallSettingsBuilder().setSessionID(ne).enableDefaultLayout(nn).setIsAudioOnlyCall(at).setUser(qe).setRegion(De).setAppId(Be).setDomain(dt).showEndCallButton(Le).showMuteAudioButton(Ye).showPauseVideoButton(On).showScreenShareButton(Yt).showModeButton(Ht).setMode(Qn).setLocalizedStringObject(tt).setCustomCSS(de).setAnalyticsSettings(R).startWithAudioMuted(Rn).startWithVideoMuted(Un).showRecordingButton(sr).startRecordingOnCallStart(Jn).forceLegacyUI(Cr).showSwitchToVideoCallButton(Ge).setVirtualBackground(pe).showVirtualBackgroundSetting(f).setMainVideoContainerSetting(_e).build(), $.CallController.getInstance().startCall(W, z)) : $.CallController.getInstance().getCallListner() && $.CallController.getInstance().getCallListner()._eventListener.onError(new d.CometChatException(p.CALL_ERROR.JWT_NOT_FOUND));
|
|
4874
4874
|
}, function(fe) {
|
|
4875
4875
|
$.CallController.getInstance().getCallListner() && $.CallController.getInstance().getCallListner()._eventListener.onError(new d.CometChatException(fe));
|
|
4876
4876
|
});
|
|
@@ -5043,7 +5043,7 @@ function nE() {
|
|
|
5043
5043
|
var W = {}, ne = "", de = "", pe = p.APPINFO.platform, _e = p.APPINFO.sdkVersion, De = p.APPINFO.apiVersion;
|
|
5044
5044
|
navigator && (de = navigator.userAgent), _.keyStore.get(p.LOCAL_STORE.KEY_DEVICE_ID).then(function(Be) {
|
|
5045
5045
|
if ((ne = Be) == null) {
|
|
5046
|
-
var dt =
|
|
5046
|
+
var dt = Dn(), tt = (/* @__PURE__ */ new Date()).getTime();
|
|
5047
5047
|
ne = z.appId + "_" + dt + "_" + tt, _.keyStore.set(p.LOCAL_STORE.KEY_DEVICE_ID, ne);
|
|
5048
5048
|
}
|
|
5049
5049
|
W = { platform: pe, deviceId: ne, appInfo: { version: _e, apiVersion: De, userAgent: de } }, h.makeApiCall("authToken", { uid: b }, W).then(function(qe) {
|
|
@@ -7002,7 +7002,7 @@ function nE() {
|
|
|
7002
7002
|
});
|
|
7003
7003
|
};
|
|
7004
7004
|
}
|
|
7005
|
-
function
|
|
7005
|
+
function Dn() {
|
|
7006
7006
|
for (var ge = 1; ge < arguments.length; ge++) {
|
|
7007
7007
|
var _ = arguments[ge];
|
|
7008
7008
|
if (_) for (var b in _) _.hasOwnProperty(b) && (ze(_[b]) ? arguments[0][b] = _[b].slice() : arguments[0][b] = _[b]);
|
|
@@ -7017,7 +7017,7 @@ function nE() {
|
|
|
7017
7017
|
var z = Bt[b], K = z._driver;
|
|
7018
7018
|
this[b] = K, st[K] || this.defineDriver(z);
|
|
7019
7019
|
}
|
|
7020
|
-
this._defaultConfig =
|
|
7020
|
+
this._defaultConfig = Dn({}, Cn), this._config = Dn({}, this._defaultConfig, _), this._driverSet = null, this._initDriver = null, this._ready = !1, this._dbInfo = null, this._wrapLibraryMethodsWithReady(), this.setDriver(this._config.driver).catch(function() {
|
|
7021
7021
|
});
|
|
7022
7022
|
}
|
|
7023
7023
|
return ge.prototype.config = function(_) {
|
|
@@ -7109,7 +7109,7 @@ function nE() {
|
|
|
7109
7109
|
}, ge.prototype.supports = function(_) {
|
|
7110
7110
|
return !!Pt[_];
|
|
7111
7111
|
}, ge.prototype._extend = function(_) {
|
|
7112
|
-
|
|
7112
|
+
Dn(this, _);
|
|
7113
7113
|
}, ge.prototype._getSupportedDrivers = function(_) {
|
|
7114
7114
|
for (var b = [], z = 0, K = _.length; z < K; z++) {
|
|
7115
7115
|
var V = _[z];
|
|
@@ -12600,7 +12600,7 @@ function mM() {
|
|
|
12600
12600
|
const Bt = "user-content-";
|
|
12601
12601
|
let hn = !0, an = !1, gn = {}, Cn = null;
|
|
12602
12602
|
const Nn = Wn({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
12603
|
-
let
|
|
12603
|
+
let Dn = null;
|
|
12604
12604
|
const Zt = Wn({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
12605
12605
|
let Vt = null;
|
|
12606
12606
|
const ge = Wn({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), _ = "http://www.w3.org/1998/Math/MathML", b = "http://www.w3.org/2000/svg", z = "http://www.w3.org/1999/xhtml";
|
|
@@ -12617,7 +12617,7 @@ function mM() {
|
|
|
12617
12617
|
let B = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
12618
12618
|
if (!(qe && qe === B)) {
|
|
12619
12619
|
if ((!B || typeof B != "object") && (B = {}), B = ol(B), De = // eslint-disable-next-line unicorn/prefer-includes
|
|
12620
|
-
Be.indexOf(B.PARSER_MEDIA_TYPE) === -1 ? dt : B.PARSER_MEDIA_TYPE, tt = De === "application/xhtml+xml" ? Cm : R2, ve = ca(B, "ALLOWED_TAGS") ? Wn({}, B.ALLOWED_TAGS, tt) : Ie, Oe = ca(B, "ALLOWED_ATTR") ? Wn({}, B.ALLOWED_ATTR, tt) : Me, W = ca(B, "ALLOWED_NAMESPACES") ? Wn({}, B.ALLOWED_NAMESPACES, Cm) : ne, Vt = ca(B, "ADD_URI_SAFE_ATTR") ? Wn(ol(ge), B.ADD_URI_SAFE_ATTR, tt) : ge,
|
|
12620
|
+
Be.indexOf(B.PARSER_MEDIA_TYPE) === -1 ? dt : B.PARSER_MEDIA_TYPE, tt = De === "application/xhtml+xml" ? Cm : R2, ve = ca(B, "ALLOWED_TAGS") ? Wn({}, B.ALLOWED_TAGS, tt) : Ie, Oe = ca(B, "ALLOWED_ATTR") ? Wn({}, B.ALLOWED_ATTR, tt) : Me, W = ca(B, "ALLOWED_NAMESPACES") ? Wn({}, B.ALLOWED_NAMESPACES, Cm) : ne, Vt = ca(B, "ADD_URI_SAFE_ATTR") ? Wn(ol(ge), B.ADD_URI_SAFE_ATTR, tt) : ge, Dn = ca(B, "ADD_DATA_URI_TAGS") ? Wn(ol(Zt), B.ADD_DATA_URI_TAGS, tt) : Zt, Cn = ca(B, "FORBID_CONTENTS") ? Wn({}, B.FORBID_CONTENTS, tt) : Nn, Pe = ca(B, "FORBID_TAGS") ? Wn({}, B.FORBID_TAGS, tt) : {}, Qe = ca(B, "FORBID_ATTR") ? Wn({}, B.FORBID_ATTR, tt) : {}, gn = ca(B, "USE_PROFILES") ? B.USE_PROFILES : !1, et = B.ALLOW_ARIA_ATTR !== !1, ke = B.ALLOW_DATA_ATTR !== !1, rt = B.ALLOW_UNKNOWN_PROTOCOLS || !1, $t = B.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ft = B.SAFE_FOR_TEMPLATES || !1, $e = B.SAFE_FOR_XML !== !1, Ze = B.WHOLE_DOCUMENT || !1, Nt = B.RETURN_DOM || !1, Ve = B.RETURN_DOM_FRAGMENT || !1, ze = B.RETURN_TRUSTED_TYPE || !1, _t = B.FORCE_BODY || !1, st = B.SANITIZE_DOM !== !1, Pt = B.SANITIZE_NAMED_PROPS || !1, hn = B.KEEP_CONTENT !== !1, an = B.IN_PLACE || !1, ee = B.ALLOWED_URI_REGEXP || pM, K = B.NAMESPACE || z, de = B.MATHML_TEXT_INTEGRATION_POINTS || de, pe = B.HTML_INTEGRATION_POINTS || pe, Se = B.CUSTOM_ELEMENT_HANDLING || {}, B.CUSTOM_ELEMENT_HANDLING && at(B.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Se.tagNameCheck = B.CUSTOM_ELEMENT_HANDLING.tagNameCheck), B.CUSTOM_ELEMENT_HANDLING && at(B.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Se.attributeNameCheck = B.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), B.CUSTOM_ELEMENT_HANDLING && typeof B.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Se.allowCustomizedBuiltInElements = B.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ft && (ke = !1), Ve && (Nt = !0), gn && (ve = Wn({}, SA), Oe = [], gn.html === !0 && (Wn(ve, vA), Wn(Oe, AA)), gn.svg === !0 && (Wn(ve, mm), Wn(Oe, Am), Wn(Oe, f2)), gn.svgFilters === !0 && (Wn(ve, vm), Wn(Oe, Am), Wn(Oe, f2)), gn.mathMl === !0 && (Wn(ve, Sm), Wn(Oe, fA), Wn(Oe, f2))), B.ADD_TAGS && (ve === Ie && (ve = ol(ve)), Wn(ve, B.ADD_TAGS, tt)), B.ADD_ATTR && (Oe === Me && (Oe = ol(Oe)), Wn(Oe, B.ADD_ATTR, tt)), B.ADD_URI_SAFE_ATTR && Wn(Vt, B.ADD_URI_SAFE_ATTR, tt), B.FORBID_CONTENTS && (Cn === Nn && (Cn = ol(Cn)), Wn(Cn, B.FORBID_CONTENTS, tt)), hn && (ve["#text"] = !0), Ze && Wn(ve, ["html", "head", "body"]), ve.table && (Wn(ve, ["tbody"]), delete Pe.tbody), B.TRUSTED_TYPES_POLICY) {
|
|
12621
12621
|
if (typeof B.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
12622
12622
|
throw pc('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
12623
12623
|
if (typeof B.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -12667,7 +12667,7 @@ function mM() {
|
|
|
12667
12667
|
ae.setAttribute(B, "");
|
|
12668
12668
|
} catch {
|
|
12669
12669
|
}
|
|
12670
|
-
},
|
|
12670
|
+
}, Rn = function(B) {
|
|
12671
12671
|
let ae = null, fe = null;
|
|
12672
12672
|
if (_t)
|
|
12673
12673
|
B = "<remove></remove>" + B;
|
|
@@ -12755,7 +12755,7 @@ function mM() {
|
|
|
12755
12755
|
) return !1;
|
|
12756
12756
|
} else if (!Vt[ae]) {
|
|
12757
12757
|
if (!go(ee, Ec(fe, te, ""))) {
|
|
12758
|
-
if (!((ae === "src" || ae === "xlink:href" || ae === "href") && B !== "script" && qje(fe, "data:") === 0 &&
|
|
12758
|
+
if (!((ae === "src" || ae === "xlink:href" || ae === "href") && B !== "script" && qje(fe, "data:") === 0 && Dn[B])) {
|
|
12759
12759
|
if (!(rt && !go(se, Ec(fe, te, "")))) {
|
|
12760
12760
|
if (fe)
|
|
12761
12761
|
return !1;
|
|
@@ -12788,9 +12788,9 @@ function mM() {
|
|
|
12788
12788
|
name: kt,
|
|
12789
12789
|
namespaceURI: Kt,
|
|
12790
12790
|
value: ln
|
|
12791
|
-
} = Ct,
|
|
12791
|
+
} = Ct, wn = tt(kt);
|
|
12792
12792
|
let un = kt === "value" ? ln : Zje(ln);
|
|
12793
|
-
if (fe.attrName =
|
|
12793
|
+
if (fe.attrName = wn, fe.attrValue = un, fe.keepAttr = !0, fe.forceKeepAttr = void 0, Jn(re.uponSanitizeAttribute, B, fe), un = fe.attrValue, Pt && (wn === "id" || wn === "name") && (Ht(kt, B), un = Bt + un), $e && go(/((--!?|])>)|<\/(style|title)/i, un)) {
|
|
12794
12794
|
Ht(kt, B);
|
|
12795
12795
|
continue;
|
|
12796
12796
|
}
|
|
@@ -12804,9 +12804,9 @@ function mM() {
|
|
|
12804
12804
|
un = Ec(un, rr, " ");
|
|
12805
12805
|
});
|
|
12806
12806
|
const $n = tt(B.nodeName);
|
|
12807
|
-
if (Ge($n,
|
|
12807
|
+
if (Ge($n, wn, un)) {
|
|
12808
12808
|
if (D && typeof E == "object" && typeof E.getAttributeType == "function" && !Kt)
|
|
12809
|
-
switch (E.getAttributeType($n,
|
|
12809
|
+
switch (E.getAttributeType($n, wn)) {
|
|
12810
12810
|
case "TrustedHTML": {
|
|
12811
12811
|
un = D.createHTML(un);
|
|
12812
12812
|
break;
|
|
@@ -12847,12 +12847,12 @@ function mM() {
|
|
|
12847
12847
|
throw pc("root node is forbidden and cannot be sanitized in-place");
|
|
12848
12848
|
}
|
|
12849
12849
|
} else if (H instanceof s)
|
|
12850
|
-
ae =
|
|
12850
|
+
ae = Rn("<!---->"), fe = ae.ownerDocument.importNode(H, !0), fe.nodeType === mc.element && fe.nodeName === "BODY" || fe.nodeName === "HTML" ? ae = fe : ae.appendChild(fe);
|
|
12851
12851
|
else {
|
|
12852
12852
|
if (!Nt && !Ft && !Ze && // eslint-disable-next-line unicorn/prefer-includes
|
|
12853
12853
|
H.indexOf("<") === -1)
|
|
12854
12854
|
return D && ze ? D.createHTML(H) : H;
|
|
12855
|
-
if (ae =
|
|
12855
|
+
if (ae = Rn(H), !ae)
|
|
12856
12856
|
return Nt ? null : ze ? w : "";
|
|
12857
12857
|
}
|
|
12858
12858
|
ae && _t && Yt(ae.firstChild);
|
|
@@ -19083,9 +19083,9 @@ function bze() {
|
|
|
19083
19083
|
Object.defineProperty(e, "audit", { enumerable: !0, get: function() {
|
|
19084
19084
|
return Nn.audit;
|
|
19085
19085
|
} });
|
|
19086
|
-
var
|
|
19086
|
+
var Dn = /* @__PURE__ */ t7e();
|
|
19087
19087
|
Object.defineProperty(e, "auditTime", { enumerable: !0, get: function() {
|
|
19088
|
-
return
|
|
19088
|
+
return Dn.auditTime;
|
|
19089
19089
|
} });
|
|
19090
19090
|
var Zt = /* @__PURE__ */ n7e();
|
|
19091
19091
|
Object.defineProperty(e, "buffer", { enumerable: !0, get: function() {
|
|
@@ -19191,9 +19191,9 @@ function bze() {
|
|
|
19191
19191
|
Object.defineProperty(e, "endWith", { enumerable: !0, get: function() {
|
|
19192
19192
|
return Ht.endWith;
|
|
19193
19193
|
} });
|
|
19194
|
-
var
|
|
19194
|
+
var Rn = /* @__PURE__ */ y7e();
|
|
19195
19195
|
Object.defineProperty(e, "every", { enumerable: !0, get: function() {
|
|
19196
|
-
return
|
|
19196
|
+
return Rn.every;
|
|
19197
19197
|
} });
|
|
19198
19198
|
var Un = /* @__PURE__ */ _7e();
|
|
19199
19199
|
Object.defineProperty(e, "exhaust", { enumerable: !0, get: function() {
|
|
@@ -19267,9 +19267,9 @@ function bze() {
|
|
|
19267
19267
|
Object.defineProperty(e, "mergeAll", { enumerable: !0, get: function() {
|
|
19268
19268
|
return ln.mergeAll;
|
|
19269
19269
|
} });
|
|
19270
|
-
var
|
|
19270
|
+
var wn = /* @__PURE__ */ k7e();
|
|
19271
19271
|
Object.defineProperty(e, "flatMap", { enumerable: !0, get: function() {
|
|
19272
|
-
return
|
|
19272
|
+
return wn.flatMap;
|
|
19273
19273
|
} });
|
|
19274
19274
|
var un = /* @__PURE__ */ Qi();
|
|
19275
19275
|
Object.defineProperty(e, "mergeMap", { enumerable: !0, get: function() {
|
|
@@ -19323,9 +19323,9 @@ function bze() {
|
|
|
19323
19323
|
Object.defineProperty(e, "publishReplay", { enumerable: !0, get: function() {
|
|
19324
19324
|
return gr.publishReplay;
|
|
19325
19325
|
} });
|
|
19326
|
-
var
|
|
19326
|
+
var Ln = /* @__PURE__ */ K7e();
|
|
19327
19327
|
Object.defineProperty(e, "raceWith", { enumerable: !0, get: function() {
|
|
19328
|
-
return
|
|
19328
|
+
return Ln.raceWith;
|
|
19329
19329
|
} });
|
|
19330
19330
|
var yr = /* @__PURE__ */ zh();
|
|
19331
19331
|
Object.defineProperty(e, "reduce", { enumerable: !0, get: function() {
|
|
@@ -19644,7 +19644,7 @@ function hS() {
|
|
|
19644
19644
|
MENTIONS_LIMIT: 10,
|
|
19645
19645
|
MENTIONS_HOVER_TIMEOUT: 500
|
|
19646
19646
|
});
|
|
19647
|
-
var i = "معلومات", o = "تتفاعل", s = "تحرير", l = "أرسل رسالة بشكل خاص", u = "ترجم", d = "مستخدمون", h = "الدردشات", C = "هل ترغب في حذف هذه المحادثة؟ سيتم حذف هذه المحادثة من جميع أجهزتك.", E = "المجموعات", m = "مشترك", S = "إدارة الصوت", A = "موضوع", T = "حدد الموقع", y = "عنصر قائمة المحادثة", p = "عنصر البيانات", D = "مؤشر الحالة", w = "عدد الشارات", L = "استلام الرسائل", O = "رسالة", P = "معلومات الاستلام", $ = "لا يوجد مستلم", J = "لا يوجد مستلمون", re = "محادثات مع رسائل", le = "محادثات", Q = "قائمة المحادثة", he = "الرسائل", ue = "رأس الرسالة", Ce = "قائمة الرسائل", se = "ملحن الرسائل", te = "المستخدمون الذين لديهم رسائل", ce = "قائمة المستخدمين", ee = "قائمة المجموعات", ve = "مجموعات تحتوي على رسائل", Ie = "مجموعة جديدة", Oe = "كلمة المرور", Me = "استمر", Se = "لم يتم تحديد أي محادثات", Pe = "لم يتم تحديد أي مستخدم", Qe = "لم يتم تحديد أي مجموعات", et = "حدد اليوم", ke = "حدد الوقت", rt = "لم يتم تحديد أي مكالمات", $t = "حدد مجموعة لبدء المراسلة", Ft = "حدد مستخدمًا لبدء المراسلة", $e = "لا يمكن أن تكون كلمة مرور المجموعة فارغة", Ze = "لا يمكن ترك اسم المجموعة فارغاً", Rt = "لا يمكن أن يكون نوع المجموعة فارغًا", _t = "حذف المحادثة؟", Nt = "إضافة إلى الدردشة", Ve = "المزيد", ze = "نسخة", st = "التسجيل الصوتي", Pt = "📷 صورة", Bt = "📁 ملف", hn = "📹 فيديو", an = "🎵 الصوت", gn = "لديك رسالة", Cn = "حدد التاريخ", Nn = "منطقة زمنية",
|
|
19647
|
+
var i = "معلومات", o = "تتفاعل", s = "تحرير", l = "أرسل رسالة بشكل خاص", u = "ترجم", d = "مستخدمون", h = "الدردشات", C = "هل ترغب في حذف هذه المحادثة؟ سيتم حذف هذه المحادثة من جميع أجهزتك.", E = "المجموعات", m = "مشترك", S = "إدارة الصوت", A = "موضوع", T = "حدد الموقع", y = "عنصر قائمة المحادثة", p = "عنصر البيانات", D = "مؤشر الحالة", w = "عدد الشارات", L = "استلام الرسائل", O = "رسالة", P = "معلومات الاستلام", $ = "لا يوجد مستلم", J = "لا يوجد مستلمون", re = "محادثات مع رسائل", le = "محادثات", Q = "قائمة المحادثة", he = "الرسائل", ue = "رأس الرسالة", Ce = "قائمة الرسائل", se = "ملحن الرسائل", te = "المستخدمون الذين لديهم رسائل", ce = "قائمة المستخدمين", ee = "قائمة المجموعات", ve = "مجموعات تحتوي على رسائل", Ie = "مجموعة جديدة", Oe = "كلمة المرور", Me = "استمر", Se = "لم يتم تحديد أي محادثات", Pe = "لم يتم تحديد أي مستخدم", Qe = "لم يتم تحديد أي مجموعات", et = "حدد اليوم", ke = "حدد الوقت", rt = "لم يتم تحديد أي مكالمات", $t = "حدد مجموعة لبدء المراسلة", Ft = "حدد مستخدمًا لبدء المراسلة", $e = "لا يمكن أن تكون كلمة مرور المجموعة فارغة", Ze = "لا يمكن ترك اسم المجموعة فارغاً", Rt = "لا يمكن أن يكون نوع المجموعة فارغًا", _t = "حذف المحادثة؟", Nt = "إضافة إلى الدردشة", Ve = "المزيد", ze = "نسخة", st = "التسجيل الصوتي", Pt = "📷 صورة", Bt = "📁 ملف", hn = "📹 فيديو", an = "🎵 الصوت", gn = "لديك رسالة", Cn = "حدد التاريخ", Nn = "منطقة زمنية", Dn = "تمت جدولة اجتماعك.", Zt = "حدث خطأ ما. يرجى المحاولة مرة أخرى.", Vt = "لم تعد الفترة الزمنية متاحة. يرجى اختيار آخر.", ge = "احجز فتحة جديدة", _ = "لا توجد فترة زمنية متاحة لهذا التاريخ. يرجى تجربة تاريخ آخر.", b = "يرجى تجربة تاريخ مختلف.", z = "لا توجد فترات زمنية متاحة", K = "جدول", V = "المزيد من المرات", W = "مكالمة صوتية فائتة", ne = "اجتمع مع", de = "جدولة الاجتماعات", pe = "مكالمة فيديو فائتة", _e = "📊 استطلاع", De = "💟 ملصق", Be = "📃 مستند", dt = "📝 سبورة بيضاء", tt = "عبر الإنترنت", qe = "المسؤول", pt = "مشرف", at = "مقدم", nn = "مشارك", On = "الجمهور", Ye = "خاص", Le = "محمي بكلمة مرور", Yt = "الخصوصية والأمان", Ht = "التفضيلات", Rn = "الأعضاء", Un = "عضو", Qn = "اليوم", sr = "يوم أمس", Jn = "الأحد", Cr = "الإثنين", Ge = "الثلاثاء", f = "الأربعاء", R = "الخميس", F = "الجمعة", H = "يوم السبت", B = "الكتابة...", ae = "يقوم بالكتابة...", fe = "أغلق", Fe = "أدخل اسم المجموعة", Ct = "إضافة أعضاء", kt = "أرسل رسالة", Kt = "إلغاء حظر المستخدم", ln = "حظر المستخدم", wn = "الحذف والخروج", un = "اترك المجموعة", $n = "إنشاء مجموعة", rr = "وسائل الإعلام المشتركة", er = "ملف مشترك", me = "مكالمة فيديو", Ne = "مكالمة صوتية", xe = "جاري التحميل...", He = "الرد", nt = "الردود", ft = "منظمة العفو الدولية", qt = "الردود الذكية", Pn = "بداية المحادثة", gr = "إطلاق", Ln = "شارك مستندًا تعاونيًا", yr = "قام بمشاركة لوحة بيضاء تعاونية", Ar = "لقد قمت بإنشاء لوحة بيضاء تعاونية جديدة", Vn = "لقد أنشأت مستندًا تعاونيًا جديدًا", mn = "صور", Ke = "مقاطع فيديو", At = "مستند", It = "⚠️ لقد حذفت هذه الرسالة", Gt = "⚠️ تم حذف هذه الرسالة", bn = "تم حذف الرسالة", In = "شاهد على يوتيوب", Yn = "ابحث", lr = "لم يتم العثور على أي مستخدم", zr = "خطأ", ur = "لم يتم العثور على أي مجموعات", Ho = "لم يتم العثور على محادثات", Ko = "لا يمكن تحميل الدردشات", vo = "رسالة وسائل الإعلام", Wo = "مكالمة صوتية واردة", Ra = "مكالمة فيديو واردة", La = "تراجع", wa = "اقبل", Je = "تم بدء المكالمة", mt = "مكالمة صوتية صادرة", Ot = "مكالمة فيديو صادرة", Xt = "تم رفض المكالمة", Tn = "مكالمة مرفوضة", En = "تم قبول المكالمة", yn = "مكالمة صادرة", tr = "مكالمة واردة", Br = "مكالمة فائتة", vi = "انضم", qi = "تركت المكالمة", Zi = "مكالمة صوتية لم يتم الرد عليها", Si = "مكالمة فيديو لم يتم الرد عليها", Xi = "تم إنهاء المكالمة", xa = "تم إلغاء المكالمة", es = "اتصل مشغول", ts = "جاري الاتصال...", ns = "أضِف", rs = "لم يتم العثور على أعضاء محظورين", Ai = "الأعضاء المحظورون", ka = "الاسم", fi = "النطاق", os = "إلغاء الحظر", No = "حدد نوع المجموعة", $r = "أدخل كلمة مرور المجموعة", _r = "ابتكر", So = "إنشاء استطلاع", Tu = "سؤال", Ca = "أدخل سؤالك", _l = "خيارات", Vr = "أدخل الخيار الخاص بك", Qo = "إضافة خيار جديد", zt = "عرض الأعضاء", io = "التفاصيل", to = "الإشعارات", U = "أخرى", Ae = "مساعدة", ye = "الإبلاغ عن مشكلة", Xe = "أعضاء المجموعة", yt = "حظر", Qt = "ركلة", vn = "اختر الرمز التعبيري الخاص بك", ir = "مجموعة خاصة", Er = "مجموعة محمية", mr = "زيارة", ma = "أرفق", nr = "افتح لوح المعلومات", Ua = "أرفق ملف", as = "توليد الردود", Ml = "أرفق مقطع فيديو", bl = "أرفق الصوت", Ur = "أرفق صورة", yu = "التعاون باستخدام مستند", Ol = "التعاون باستخدام لوحة بيضاء", Pa = "اقترح الرد", Nl = "توليد كاسحات الجليد", is = "رمز تعبيري", ss = "لم يتم العثور على ردود", _u = "أدخل رسالتك هنا", Dl = "لم يتم العثور على أية رسائل", Rl = "خيط", _E = "وثيقة تعاونية", ME = "السبورة التعاونية", bE = "إضافة رد فعل", OE = "لم يتم العثور على ملصقات", Ll = "الرد على الموضوع", aa = "الرد في الموضوع", Jh = "عرض", NE = "حذف رسالة", Mu = "تحرير رسالة", bu = "مالك", Ou = "تغيير النطاق", DE = "ملصق", Nu = "آخر عمل نشط", RE = "مكالمة صوتية", ls = "عرض التفاصيل", LE = "التصويت", qh = "تصويت", wE = "لا يوجد تصويت", xE = "رد فعل", kE = "أضاف", UE = "هل تريد بالتأكيد مشاهدة محتوى غير آمن؟", PE = "الرد على رسالة", wl = "غير محظور", BE = "صنع", GE = "لم يتم الرد على المكالمة", jE = "مكالمة صوتية فائتة", FE = "أدخل كلمة المرور الخاصة بك", zE = "افتح المستند لتحرير المحتوى معًا", cr = "مستندات", Du = "لم يتم العثور على أية سجلات", no = "رد فعل مباشر", $E = "الابتسامات والأشخاص", va = "افتح السبورة البيضاء للرسم معًا", Zh = "الحيوانات والطبيعة", Xh = "الطعام والشراب", eg = "افتح المستند", tg = "نشاط", ng = "السفر والأماكن", rg = "الكائنات", og = "الرموز", ag = "أعلام", Mr = "أُرسلت", Do = "شوهد", ig = "تم التوصيل", sg = "اقرأ", Ao = "معلومات الرسالة", Ru = "ترجمة رسالة", lg = "رسالة مترجمة", ug = "يسار", Lu = "ركل", xl = "محظور", cg = "رسائل جديدة", wu = "رسالة جديدة", dg = "اقفز", hg = "حدد مصدر الفيديو", VE = "حدد مصدر إدخال الصوت", YE = "حدد مصدر إخراج الصوت", gg = "قام ببدء مكالمة جماعية", Eg = "لقد بدأت مكالمة جماعية", _n = "تجاهل", Ba = "في مكالمة أخرى", kl = "إنشاء", HE = "أفاتار", KE = "مكالمة مستمرة", pg = "أنت بالفعل في مكالمة مستمرة", Cg = "تغيير الحجم", WE = "إعدادات", mg = "الإجراءات", QE = "عرض الملف الشخصي", Ii = "أرسل رسالة بشكل خاص", xu = "حذف", fo = "هل تريد بالتأكيد الحذف؟", JE = "إلغاء", Nr = "هل أنت متأكد أنك تريد مغادرة المجموعة؟", Sa = "أنت مالك المجموعة؛ يرجى نقل الملكية إلى أحد الأعضاء قبل مغادرة المجموعة", Ga = "إضافة...", ku = "نقل", Uu = "نقل الملكية", us = "نقل", Ti = "نعم", Ul = "لا", Pl = "الإجابة", vg = "إضافة إجابة أخرى", cs = "قم بتعيين الإجابات", Pu = "حاول مرة أخرى", Sg = "الرجاء إدخال اسم صالح للمجموعة والمحاولة مرة أخرى", Bl = "يرجى إدخال كلمة مرور صالحة للمجموعة والمحاولة مرة أخرى", Ag = "الرجاء إدخال نوع صالح للمجموعة والمحاولة مرة أخرى", Gl = "يرجى إدخال كلمة المرور الصحيحة والمحاولة مرة أخرى", ds = "الرجاء إدخال السؤال المطلوب قبل إنشاء استطلاع", jl = "يرجى إدخال الإجابة المطلوبة قبل إنشاء استطلاع", qE = "اللغة المحددة للترجمة مشابهة للغة الرسالة الأصلية", fg = "أجازة", ZE = "انقر لبدء المحادثة", Ig = "📍 الموقع", Tg = "موقع مشترك", yg = "في موضوع", XE = "مكالمات", _g = "تفاصيل المكالمة", Mg = "غير متصل", ep = "استطلاعات", tp = "أنت", np = "الخصوصية", bg = "المستخدمون المحظورون", rp = "لا توجد صور", op = "لا توجد مقاطع فيديو", ap = "لا توجد مستندات", ip = "انضم", sp = "إزالة", Og = "بلوك", lp = "تغيير الدور", Yr = "دردشة جديدة", Ng = "شكرًا لك على ملء النموذج.", yi = "التاريخ", _i = "مكالمة صوتية ملغاة", Mi = "مكالمة فيديو ملغاة", Dg = "مكالمة صوتية مرفوضة", Rg = "مكالمة فيديو مرفوضة", up = "مكالمة ملغاة", Bu = "مكالمة لم يتم الرد عليها", Lg = "التسجيل", Gu = "المشاركين", cp = "سجل المكالمات", dp = "لم يتم العثور على مكالمات", hp = "مكالمة صوتية مستمرة", gp = "مكالمة فيديو مستمرة", Ep = "تفاصيل المكالمة", pp = "نموذج", wg = "بطاقة", Cp = "توليد الملخص", bi = "ملخص المحادثة", mp = "قم بإنشاء ملخص", Oi = "كيف يمكنني مساعدتك في هذه المحادثة؟ من فضلك اسألني سؤالاً وسأنصحك 🙂", hs = "اسأل", gs = "اسأل روبوتات الذكاء الاصطناعي", vp = "بوت الذكاء الاصطناعي", Sp = "يمكنك ذكر ما يصل إلى 10 مرات في المرة الواحدة.", Ap = "جميع", fp = "انقر للإزالة", ju = "أخرى", Ip = "رجل", Tp = {
|
|
19648
19648
|
INFO: i,
|
|
19649
19649
|
REACT: o,
|
|
19650
19650
|
EDIT: s,
|
|
@@ -19704,7 +19704,7 @@ function hS() {
|
|
|
19704
19704
|
CUSTOM_MESSAGE: gn,
|
|
19705
19705
|
SELECT_A_DATE: Cn,
|
|
19706
19706
|
TIME_ZONE: Nn,
|
|
19707
|
-
MEETING_SCHEDULED:
|
|
19707
|
+
MEETING_SCHEDULED: Dn,
|
|
19708
19708
|
SOMETHING_WRONG: Zt,
|
|
19709
19709
|
MEETING_SLOT_BOOK: Vt,
|
|
19710
19710
|
MEETING_BOOK_NEW_SLOT: ge,
|
|
@@ -19731,7 +19731,7 @@ function hS() {
|
|
|
19731
19731
|
PASSWORD_PROTECTED: Le,
|
|
19732
19732
|
PRIVACY_AND_SECURITY: Yt,
|
|
19733
19733
|
PREFERENCES: Ht,
|
|
19734
|
-
MEMBERS:
|
|
19734
|
+
MEMBERS: Rn,
|
|
19735
19735
|
MEMBER: Un,
|
|
19736
19736
|
TODAY: Qn,
|
|
19737
19737
|
YESTERDAY: sr,
|
|
@@ -19750,7 +19750,7 @@ function hS() {
|
|
|
19750
19750
|
SEND_MESSAGE: kt,
|
|
19751
19751
|
UNBLOCK_USER: Kt,
|
|
19752
19752
|
BLOCK_USER: ln,
|
|
19753
|
-
DELETE_AND_EXIT:
|
|
19753
|
+
DELETE_AND_EXIT: wn,
|
|
19754
19754
|
LEAVE_GROUP: un,
|
|
19755
19755
|
CREATE_GROUP: $n,
|
|
19756
19756
|
SHARED_MEDIA: rr,
|
|
@@ -19764,7 +19764,7 @@ function hS() {
|
|
|
19764
19764
|
SMART_REPLIES: qt,
|
|
19765
19765
|
CONVERSATION_STARTER: Pn,
|
|
19766
19766
|
LAUNCH: gr,
|
|
19767
|
-
SHARED_COLLABORATIVE_DOCUMENT:
|
|
19767
|
+
SHARED_COLLABORATIVE_DOCUMENT: Ln,
|
|
19768
19768
|
SHARED_COLLABORATIVE_WHITEBOARD: yr,
|
|
19769
19769
|
CREATED_WHITEBOARD: Ar,
|
|
19770
19770
|
CREATED_DOCUMENT: Vn,
|
|
@@ -27540,8 +27540,8 @@ function bb() {
|
|
|
27540
27540
|
}, this.toolTipWrapperStyle = () => {
|
|
27541
27541
|
var f, R, F, H, B, ae;
|
|
27542
27542
|
const fe = this.tipPositionMapping[this.placement];
|
|
27543
|
-
let Fe = this.x ? this.x : 0, Ct = this.y ? this.y : 0, kt = parseInt((f = this.popoverStyle) === null || f === void 0 ? void 0 : f.width), Kt = parseInt((R = this.popoverStyle) === null || R === void 0 ? void 0 : R.height), ln = window.innerWidth,
|
|
27544
|
-
fe === "x" ? un = 100 * Fe / ln : un = 100 * Ct /
|
|
27543
|
+
let Fe = this.x ? this.x : 0, Ct = this.y ? this.y : 0, kt = parseInt((f = this.popoverStyle) === null || f === void 0 ? void 0 : f.width), Kt = parseInt((R = this.popoverStyle) === null || R === void 0 ? void 0 : R.height), ln = window.innerWidth, wn = window.innerHeight, un = 0;
|
|
27544
|
+
fe === "x" ? un = 100 * Fe / ln : un = 100 * Ct / wn;
|
|
27545
27545
|
let $n = {};
|
|
27546
27546
|
fe === "x" ? $n = {
|
|
27547
27547
|
left: `${Fe - kt * (un / 100)}px`
|
|
@@ -28833,7 +28833,7 @@ ${this.showSubMenu ? t.html`
|
|
|
28833
28833
|
detail: { id: f }
|
|
28834
28834
|
})), this.activeButtonId = f, this.requestUpdate("activeButtonId");
|
|
28835
28835
|
}, this.getButtonStyle = (f) => {
|
|
28836
|
-
var R, F, H, B, ae, fe, Fe, Ct, kt, Kt, ln,
|
|
28836
|
+
var R, F, H, B, ae, fe, Fe, Ct, kt, Kt, ln, wn;
|
|
28837
28837
|
return this.btnStyle = {
|
|
28838
28838
|
buttonTextFont: f && this.activeButtonId == f ? (R = this.buttonGroupStyle) === null || R === void 0 ? void 0 : R.activeButtonTextFont : (F = this.buttonGroupStyle) === null || F === void 0 ? void 0 : F.buttonTextFont,
|
|
28839
28839
|
buttonTextColor: f && this.activeButtonId == f ? (H = this.buttonGroupStyle) === null || H === void 0 ? void 0 : H.activeButtonTextColor : (B = this.buttonGroupStyle) === null || B === void 0 ? void 0 : B.buttonTextColor,
|
|
@@ -28844,7 +28844,7 @@ ${this.showSubMenu ? t.html`
|
|
|
28844
28844
|
display: "flex",
|
|
28845
28845
|
justifyContent: "center",
|
|
28846
28846
|
alignItems: "center",
|
|
28847
|
-
boxShadow: f && this.activeButtonId == f ? (
|
|
28847
|
+
boxShadow: f && this.activeButtonId == f ? (wn = this.buttonGroupStyle) === null || wn === void 0 ? void 0 : wn.activeButtonBoxShadow : "none",
|
|
28848
28848
|
height: "100%",
|
|
28849
28849
|
width: "100%"
|
|
28850
28850
|
};
|
|
@@ -38717,7 +38717,7 @@ i{
|
|
|
38717
38717
|
], e.CometChatChangeScope.prototype, "options", void 0), e.CometChatChangeScope = o([
|
|
38718
38718
|
r.customElement("cometchat-change-scope")
|
|
38719
38719
|
], e.CometChatChangeScope);
|
|
38720
|
-
class
|
|
38720
|
+
class Dn extends l {
|
|
38721
38721
|
constructor(f) {
|
|
38722
38722
|
super({}), this.titleTextFont = "700 22px Inter", this.titleTextColor = "#141414", this.activeTextFont = "400 15px Inter", this.activeTextColor = "#141414", this.activeTextBackground = "#efefef", this.arrowIconTint = "grey", this.textFont = "400 15px Inter", this.textColor = "#141414", this.optionBackground = "white", this.optionBorder = "none", this.optionBorderRadius = "0", this.hoverTextFont = "400 15px Inter", this.hoverTextColor = "#141414", this.hoverTextBackground = "#efefef", this.buttonTextFont = "600 15px Inter", this.buttonTextColor = "white", this.buttonBackground = "#3399FF", this.closeIconTint = "#3399FF", this.border = "", this.borderRadius = "8px", this.height = "200px", this.width = "280px", Object.assign(this, f);
|
|
38723
38723
|
}
|
|
@@ -39490,7 +39490,7 @@ i{
|
|
|
39490
39490
|
};
|
|
39491
39491
|
}
|
|
39492
39492
|
render() {
|
|
39493
|
-
var f, R, F, H, B, ae, fe, Fe, Ct, kt, Kt, ln,
|
|
39493
|
+
var f, R, F, H, B, ae, fe, Fe, Ct, kt, Kt, ln, wn;
|
|
39494
39494
|
return this.buttonGroupStyle = {
|
|
39495
39495
|
height: "100%",
|
|
39496
39496
|
width: "100%",
|
|
@@ -39509,7 +39509,7 @@ i{
|
|
|
39509
39509
|
buttonBorder: (Kt = this.createGroupStyle) === null || Kt === void 0 ? void 0 : Kt.groupTypeBorderRadius,
|
|
39510
39510
|
activeButtonBoxShadow: (ln = this.createGroupStyle) === null || ln === void 0 ? void 0 : ln.activeGroupTypeBoxShadow,
|
|
39511
39511
|
buttonBorderRadius: "4px",
|
|
39512
|
-
boxShadow: (
|
|
39512
|
+
boxShadow: (wn = this.createGroupStyle) === null || wn === void 0 ? void 0 : wn.groupTypeBoxShadow
|
|
39513
39513
|
}, t.html`
|
|
39514
39514
|
<div class="cc__creategroup__wrapper" style=${n.styleMap(this.wrapperStyle())}>
|
|
39515
39515
|
${this.hideCloseButton ? t.nothing : t.html` <span class="cc__creategroup__close">
|
|
@@ -40141,7 +40141,7 @@ ${this.hideSeparator ? t.nothing : t.html`
|
|
|
40141
40141
|
}
|
|
40142
40142
|
buttonStyles() {
|
|
40143
40143
|
var f, R, F, H, B, ae, fe, Fe, Ct, kt, Kt;
|
|
40144
|
-
let ln = !(!((f = this.buttonStyle) === null || f === void 0) && f.flexDirection) || !((R = this.buttonStyle) === null || R === void 0) && R.flexDirection && (!((F = this.buttonStyle) === null || F === void 0) && F.padding) && (((H = this.buttonStyle) === null || H === void 0 ? void 0 : H.flexDirection) != "column" || ((B = this.buttonStyle) === null || B === void 0 ? void 0 : B.flexDirection) != "column-reverse") ? (ae = this.buttonStyle) === null || ae === void 0 ? void 0 : ae.padding : "0px",
|
|
40144
|
+
let ln = !(!((f = this.buttonStyle) === null || f === void 0) && f.flexDirection) || !((R = this.buttonStyle) === null || R === void 0) && R.flexDirection && (!((F = this.buttonStyle) === null || F === void 0) && F.padding) && (((H = this.buttonStyle) === null || H === void 0 ? void 0 : H.flexDirection) != "column" || ((B = this.buttonStyle) === null || B === void 0 ? void 0 : B.flexDirection) != "column-reverse") ? (ae = this.buttonStyle) === null || ae === void 0 ? void 0 : ae.padding : "0px", wn = this.iconURL && this.iconURL != "" && this.text && this.text != "" ? {} : { justifyContent: "center" };
|
|
40145
40145
|
return {
|
|
40146
40146
|
display: "flex",
|
|
40147
40147
|
flexDirection: this.alignment,
|
|
@@ -40152,7 +40152,7 @@ ${this.hideSeparator ? t.nothing : t.html`
|
|
|
40152
40152
|
background: (Kt = this.buttonStyle) === null || Kt === void 0 ? void 0 : Kt.background,
|
|
40153
40153
|
...this.buttonStyle,
|
|
40154
40154
|
padding: ln,
|
|
40155
|
-
...
|
|
40155
|
+
...wn
|
|
40156
40156
|
};
|
|
40157
40157
|
}
|
|
40158
40158
|
}, e.CometChatIconButton.styles = [
|
|
@@ -40527,7 +40527,7 @@ ${this.showSubMenu ? t.html`
|
|
|
40527
40527
|
}
|
|
40528
40528
|
};
|
|
40529
40529
|
function Fe(Ne) {
|
|
40530
|
-
ae = Ne.sampleRate, fe = Ne.numChannels,
|
|
40530
|
+
ae = Ne.sampleRate, fe = Ne.numChannels, wn();
|
|
40531
40531
|
}
|
|
40532
40532
|
function Ct(Ne) {
|
|
40533
40533
|
for (var xe = 0; xe < fe; xe++)
|
|
@@ -40550,9 +40550,9 @@ ${this.showSubMenu ? t.html`
|
|
|
40550
40550
|
this.postMessage({ command: "getBuffer", data: Ne });
|
|
40551
40551
|
}
|
|
40552
40552
|
function ln() {
|
|
40553
|
-
H = 0, B = [],
|
|
40553
|
+
H = 0, B = [], wn();
|
|
40554
40554
|
}
|
|
40555
|
-
function
|
|
40555
|
+
function wn() {
|
|
40556
40556
|
for (let Ne = 0; Ne < fe; Ne++)
|
|
40557
40557
|
B[Ne] = [];
|
|
40558
40558
|
}
|
|
@@ -41399,7 +41399,7 @@ ${this.showSubMenu ? t.html`
|
|
|
41399
41399
|
], e.CometChatQuickView.prototype, "quickViewStyle", void 0), e.CometChatQuickView = o([
|
|
41400
41400
|
r.customElement("cometchat-quick-view")
|
|
41401
41401
|
], e.CometChatQuickView);
|
|
41402
|
-
class
|
|
41402
|
+
class Rn extends l {
|
|
41403
41403
|
constructor(f) {
|
|
41404
41404
|
super({}), this.titleFont = "", this.titleColor = "", this.subtitleFont = "", this.subtitleColor = "", this.closeIconTint = "", this.leadingBarTint = "", this.leadingBarWidth = "", Object.assign(this, f);
|
|
41405
41405
|
}
|
|
@@ -41473,12 +41473,12 @@ ${this.showSubMenu ? t.html`
|
|
|
41473
41473
|
}
|
|
41474
41474
|
optionStyle(f, R) {
|
|
41475
41475
|
var F;
|
|
41476
|
-
const { textFont: H, textColor: B, optionBackground: ae, hoverTextFont: fe, hoverTextColor: Fe, hoverTextBackground: Ct, activeTextBackground: kt, activeTextColor: Kt, activeTextFont: ln, optionBorder:
|
|
41476
|
+
const { textFont: H, textColor: B, optionBackground: ae, hoverTextFont: fe, hoverTextColor: Fe, hoverTextBackground: Ct, activeTextBackground: kt, activeTextColor: Kt, activeTextFont: ln, optionBorder: wn, optionBorderRadius: un } = this.selectStyle, $n = this.options.length > 2 ? "0 0 100%" : "0 0 50%";
|
|
41477
41477
|
let rr = un;
|
|
41478
41478
|
(R % 2 != 0 || R == 0) && R + 1 < ((F = this.options) === null || F === void 0 ? void 0 : F.length) && (rr = `${un} 0 0 ${un}`);
|
|
41479
41479
|
const er = {
|
|
41480
41480
|
flex: $n,
|
|
41481
|
-
border:
|
|
41481
|
+
border: wn,
|
|
41482
41482
|
borderRadius: rr,
|
|
41483
41483
|
width: "100%"
|
|
41484
41484
|
};
|
|
@@ -42058,7 +42058,7 @@ ${this.showSubMenu ? t.html`
|
|
|
42058
42058
|
super({}), this.placeholderTextFont = "", this.placeholderTextColor = "", this.textFont = "", this.textColor = "", this.dividerColor = "#efefef", this.inputBorder = "none", this.inputBorderRadius = "0", this.inputBackground = "transparent", this.maxHeight = "100px", this.inputPadding = "", Object.assign(this, f);
|
|
42059
42059
|
}
|
|
42060
42060
|
}
|
|
42061
|
-
e.ActionSheetStyle = z, e.AvatarStyle = s, e.BackdropStyle = Ht, e.BadgeStyle = u, e.BaseStyle = l, e.ButtonGroupStyle = Oe, e.CallscreenStyle = Ye, e.CardStyle = ne, e.ChangeScopeStyle =
|
|
42061
|
+
e.ActionSheetStyle = z, e.AvatarStyle = s, e.BackdropStyle = Ht, e.BadgeStyle = u, e.BaseStyle = l, e.ButtonGroupStyle = Oe, e.CallscreenStyle = Ye, e.CardStyle = ne, e.ChangeScopeStyle = Dn, e.CheckboxStyle = Me, e.CometChatActionItem = b, e.CometChatEmoji = Pt, e.ConfirmDialogStyle = Ie, e.ContextMenuStyle = _e, e.CreateGroupStyle = W, e.DateStyle = T, e.DocumentBubbleStyle = de, e.DropdownStyle = gn, e.EmojiKeyboardStyle = Bt, e.Emojis = ze, e.FileBubbleStyle = ke, e.FullScreenViewerStyle = pe, e.IconStyle = y, e.ImageBubbleStyle = Qe, e.InputStyle = Q, e.JoinGroupStyle = V, e.LabelStyle = le, e.ListItemStyle = ve, e.LoaderStyle = ee, e.MediaRecorderStyle = On, e.MenuListStyle = te, e.MessageInputStyle = hn, e.ModalStyle = Ce, e.PanelStyle = Qn, e.PopoverStyle = re, e.PreviewStyle = Vt, e.QuickViewStyle = Rn, e.RadioButtonStyle = rt, e.ReceiptStyle = A, e.SearchInputStyle = ue, e.SingleSelectStyle = Un, e.TextBubbleStyle = Se, e.TextInputStyle = Cr, e.debounce = D, e.decodeHTML = $, e.getClosestScrollableAncestor = L, e.isElementVisibleWithScrollableAncestor = O, e.isMobileDevice = P, e.isScrollable = w, e.layoutType = _, e.sanitizeHtml = p;
|
|
42062
42062
|
}(zm)), zm;
|
|
42063
42063
|
}
|
|
42064
42064
|
var Hy;
|
|
@@ -42929,7 +42929,7 @@ function t$e() {
|
|
|
42929
42929
|
this.subtitleView = null, this.disableUsersPresence = !1, this.protectedGroupIcon = Ft, this.passwordGroupIcon = void 0, this.privateGroupIcon = $t, this.avatarStyle = {}, this.statusIndicatorStyle = {}, this.messageHeaderStyle = {}, this.listItemStyle = {}, this.backButtonIconURL = st, this.hideBackButton = !0, Object.assign(this, c);
|
|
42930
42930
|
}
|
|
42931
42931
|
}
|
|
42932
|
-
class
|
|
42932
|
+
class Dn {
|
|
42933
42933
|
constructor(c) {
|
|
42934
42934
|
this.joinGroupStyle = {}, this.joinClick = null, this.messageHeaderConfiguration = new Nn({}), Object.assign(this, c);
|
|
42935
42935
|
}
|
|
@@ -43201,7 +43201,7 @@ function t$e() {
|
|
|
43201
43201
|
this.SmartRepliesStyle = {}, Object.assign(this, c);
|
|
43202
43202
|
}
|
|
43203
43203
|
}
|
|
43204
|
-
class
|
|
43204
|
+
class Rn extends D {
|
|
43205
43205
|
constructor(c) {
|
|
43206
43206
|
super({}), this.replyTextFont = "400 13px Inter, sans-serif", this.replyTextColor = "#bcbcbc", this.replyBackground = "white", this.boxShadow = "RGBA(20, 20, 20, 0.04) 0 0 0 2px", this.closeIconTint = "#bcbcbc", Object.assign(this, c);
|
|
43207
43207
|
}
|
|
@@ -44639,7 +44639,7 @@ input {
|
|
|
44639
44639
|
], e.ImageModeration.prototype, "unsafeIconURL", void 0), e.ImageModeration = Le([
|
|
44640
44640
|
a.customElement("image-moderation")
|
|
44641
44641
|
], e.ImageModeration);
|
|
44642
|
-
class
|
|
44642
|
+
class wn {
|
|
44643
44643
|
constructor(c) {
|
|
44644
44644
|
this.imageModerationStyle = {}, this.unsafeIconURL = ln, Object.assign(this, c);
|
|
44645
44645
|
}
|
|
@@ -45063,7 +45063,7 @@ input {
|
|
|
45063
45063
|
super({}), this.barPadding = "", this.reactionBoxShadow = "", this.reactionBorderRadius = "", this.reactionBorder = "", this.reactionBackground = "", this.activeReactionBorder = "", this.activeReactionBackground = "", this.reactionEmojiFont = "", this.reactionCountTextFont = "", this.reactionCountTextColor = "", this.activeReactionCountTextFont = "", this.activeReactionCountTextColor = "", this.baseReactionBackground = "", this.width = "", this.height = "", Object.assign(this, c);
|
|
45064
45064
|
}
|
|
45065
45065
|
}
|
|
45066
|
-
class
|
|
45066
|
+
class Ln {
|
|
45067
45067
|
//---------- Message Events ----------
|
|
45068
45068
|
///[onMessageSent] is used to inform the listeners
|
|
45069
45069
|
///when the logged-in user is sending a message
|
|
@@ -55100,24 +55100,24 @@ input {
|
|
|
55100
55100
|
a.property({ type: er })
|
|
55101
55101
|
], e.CometChatReactionInfo.prototype, "reactionInfoStyle", void 0), e.CometChatReactionInfo = Le([
|
|
55102
55102
|
a.customElement("cometchat-reaction-info")
|
|
55103
|
-
], e.CometChatReactionInfo), e.AIAssistBotConfiguration = BC, e.AIAssistBotStyle = kC, e.AIBaseConfiguration = ql, e.AIBaseStyle = ms, e.AIBotMessageBubbleStyle = UC, e.AIConversationStarterConfiguration = bC, e.AIConversationStarterStyle = OC, e.AIConversationSummaryConfiguration = NC, e.AIConversationSummaryStyle = DC, e.AIExtensionDataSource = xC, e.AIOptionsStyle = wC, e.AISenderMessageBubbleStyle = PC, e.AISmartRepliesConfiguration = RC, e.AISmartRepliesStyle = LC, e.AddMembersConfiguration = Pt, e.AddMembersStyle = te, e.BannedMembersConfiguration = an, e.BannedMembersStyle = ce, e.BaseStyle = D, e.CalendarStyle = MC, e.CallButtonsConfiguration = Yn, e.CallButtonsStyle = It, e.CallLogDetailsConfiguration = qi, e.CallLogDetailsStyle = Wo, e.CallLogHistoryConfiguration = yn, e.CallLogHistoryStyle = ur, e.CallLogParticipantsConfiguration = tr, e.CallLogParticipantsStyle = Ho, e.CallLogRecordingsConfiguration = vi, e.CallLogRecordingsStyle = Ko, e.CallLogsConfiguration = En, e.CallLogsStyle = vo, e.CallScreenConfiguration = In, e.CallingConfiguration = lr, e.CallingDetailsUtils = mn, e.CallingExtensionDataSource = On, e.CardBubbleStyle = fi, e.CollaborativeDocumentConfiguration = R, e.CollaborativeDocumentConstants = F, e.CollaborativeDocumentStyle = f, e.CollaborativeWhiteboardConfiguration = B, e.CollaborativeWhiteboardConstants = ae, e.CollaborativeWhiteboardStyle = H, e.CometChatMentionsFormatter = FC, e.CometChatSoundManager = l, e.CometChatTextFormatter = nc, e.CometChatUIKitCalls = Zi, e.CometChatUIKitHelper =
|
|
55103
|
+
], e.CometChatReactionInfo), e.AIAssistBotConfiguration = BC, e.AIAssistBotStyle = kC, e.AIBaseConfiguration = ql, e.AIBaseStyle = ms, e.AIBotMessageBubbleStyle = UC, e.AIConversationStarterConfiguration = bC, e.AIConversationStarterStyle = OC, e.AIConversationSummaryConfiguration = NC, e.AIConversationSummaryStyle = DC, e.AIExtensionDataSource = xC, e.AIOptionsStyle = wC, e.AISenderMessageBubbleStyle = PC, e.AISmartRepliesConfiguration = RC, e.AISmartRepliesStyle = LC, e.AddMembersConfiguration = Pt, e.AddMembersStyle = te, e.BannedMembersConfiguration = an, e.BannedMembersStyle = ce, e.BaseStyle = D, e.CalendarStyle = MC, e.CallButtonsConfiguration = Yn, e.CallButtonsStyle = It, e.CallLogDetailsConfiguration = qi, e.CallLogDetailsStyle = Wo, e.CallLogHistoryConfiguration = yn, e.CallLogHistoryStyle = ur, e.CallLogParticipantsConfiguration = tr, e.CallLogParticipantsStyle = Ho, e.CallLogRecordingsConfiguration = vi, e.CallLogRecordingsStyle = Ko, e.CallLogsConfiguration = En, e.CallLogsStyle = vo, e.CallScreenConfiguration = In, e.CallingConfiguration = lr, e.CallingDetailsUtils = mn, e.CallingExtensionDataSource = On, e.CardBubbleStyle = fi, e.CollaborativeDocumentConfiguration = R, e.CollaborativeDocumentConstants = F, e.CollaborativeDocumentStyle = f, e.CollaborativeWhiteboardConfiguration = B, e.CollaborativeWhiteboardConstants = ae, e.CollaborativeWhiteboardStyle = H, e.CometChatMentionsFormatter = FC, e.CometChatSoundManager = l, e.CometChatTextFormatter = nc, e.CometChatUIKitCalls = Zi, e.CometChatUIKitHelper = Ln, e.CometChatUIKitLoginListener = fa, e.CometChatUIKitSharedSettings = d, e.CometChatUIKitUtility = u, e.CometChatUrlsFormatter = zC, e.ContactsConfiguration = Ze, e.ContactsStyle = w, e.ConversationUtils = E, e.ConversationsConfiguration = Ve, e.ConversationsStyle = J, e.CreateGroupConfiguration = ze, e.CreatePollStyle = fe, e.DetailsConfiguration = Cn, e.DetailsStyle = ve, e.DetailsUtils = m, e.ExtensionsDataSource = nn, e.ExtensionsId = at, e.FormBubbleStyle = Si, e.GroupMemberUtils = A, e.GroupMembersConfiguration = hn, e.GroupMembersStyle = se, e.GroupsConfiguration = $e, e.GroupsStyle = re, e.ImageModerationConfiguration = wn, e.ImageModerationConstants = Kt, e.ImageModerationStyle = un, e.IncomingCallStyle = zr, e.InteractiveMessageUtils = h, e.JoinGroupConfiguration = Dn, e.LinkPreviewConstants = rr, e.LinkPreviewStyle = kt, e.ListStyle = O, e.MessageBubbleConfiguration = pt, e.MessageComposerConfiguration = W, e.MessageComposerStyle = le, e.MessageHeaderConfiguration = Nn, e.MessageHeaderStyle = Q, e.MessageInformationConfiguration = et, e.MessageInformationStyle = Oe, e.MessageListConfiguration = Be, e.MessageListStyle = he, e.MessageReceiptUtils = y, e.MessageTranslationConfiguration = Ge, e.MessageTranslationConstants = Jn, e.MessageTranslationStyle = Cr, e.MessagesConfiguration = tt, e.MessagesStyle = ue, e.OptionsStyle = Ie, e.OutgoingCallConfiguration = At, e.OutgoingCallStyle = Ke, e.PollsBubbleStyle = Ct, e.PollsConstants = Ye, e.ReactionInfoConfiguration = de, e.ReactionInfoStyle = er, e.ReactionListConfiguration = pe, e.ReactionListStyle = l2, e.ReactionsConfiguration = _e, e.ReactionsStyle = gr, e.SchedulerBubbleStyle = No, e.SchedulerMessageUtils = qn, e.SmartRepliesConfiguration = Ht, e.SmartRepliesConstants = Yt, e.SmartRepliesStyle = Rn, e.StickersConfiguration = Qn, e.StickersConstants = Un, e.StickersStyle = sr, e.StorageUtils = Vn, e.TabItemStyle = L, e.ThreadedMessagesConfiguration = dt, e.ThreadedMessagesStyle = ee, e.ThumbnailGenerationConstants = $n, e.TimeSlotStyle = _C, e.TransferOwnershipConfiguration = gn, e.TransferOwnershipStyle = P, e.UIKitSettings = yr, e.UIKitSettingsBuilder = Ar, e.UrlFormatterStyle = $C, e.UserMemberWrapperConfiguration = ge, e.UserMentionStyle = jC, e.UsersConfiguration = rt, e.UsersStyle = Ce, e.WithDetailsStyle = Ra, e.WithMessagesStyle = $;
|
|
55104
55104
|
}(xm)), xm;
|
|
55105
55105
|
}
|
|
55106
55106
|
var oe = t$e();
|
|
55107
55107
|
class Ob extends oe.BaseStyle {
|
|
55108
55108
|
constructor(r, n) {
|
|
55109
55109
|
super({});
|
|
55110
|
-
|
|
55111
|
-
|
|
55112
|
-
|
|
55113
|
-
|
|
55114
|
-
|
|
55115
|
-
|
|
55116
|
-
|
|
55117
|
-
|
|
55118
|
-
|
|
55119
|
-
|
|
55120
|
-
|
|
55110
|
+
xn(this, "titleFont");
|
|
55111
|
+
xn(this, "titleColor");
|
|
55112
|
+
xn(this, "subtitleFont");
|
|
55113
|
+
xn(this, "subtitleColor");
|
|
55114
|
+
xn(this, "closeButtonIconTint");
|
|
55115
|
+
xn(this, "barLeftPosition");
|
|
55116
|
+
xn(this, "barWidth");
|
|
55117
|
+
xn(this, "barBackground");
|
|
55118
|
+
xn(this, "barOpacity");
|
|
55119
|
+
xn(this, "previewWrapperPadding");
|
|
55120
|
+
xn(this, "previewWrapperOpacity");
|
|
55121
55121
|
this.border = `1px solid ${n.palette.getAccent200()}`, this.borderRadius = "12px", this.background = n.palette.getBackground(), this.titleFont = g.fontHelper(n.typography.subtitle1), this.titleColor = n.palette.getAccent(), this.subtitleFont = g.fontHelper(n.typography.subtitle2), this.subtitleColor = n.palette.getAccent600(), this.closeButtonIconTint = n.palette.getAccent500(), this.barLeftPosition = "3px", this.barWidth = "3px", this.barBackground = n.palette.getAccent(), this.barOpacity = "0.5", Object.assign(this, r);
|
|
55122
55122
|
}
|
|
55123
55123
|
}
|
|
@@ -62670,7 +62670,7 @@ const HYe = /* @__PURE__ */ pn(AYe, [["render", YYe], ["__scopeId", "data-v-ba08
|
|
|
62670
62670
|
const hn = () => {
|
|
62671
62671
|
Le();
|
|
62672
62672
|
}, an = () => {
|
|
62673
|
-
|
|
62673
|
+
Rn();
|
|
62674
62674
|
}, gn = (me) => w.value;
|
|
62675
62675
|
async function Cn() {
|
|
62676
62676
|
try {
|
|
@@ -62684,7 +62684,7 @@ const HYe = /* @__PURE__ */ pn(AYe, [["render", YYe], ["__scopeId", "data-v-ba08
|
|
|
62684
62684
|
(Ne) => Ne.getLastMessage() && Ne.getLastMessage().getId() == (me == null ? void 0 : me.getId())
|
|
62685
62685
|
) >= 0 && nn(me);
|
|
62686
62686
|
}
|
|
62687
|
-
function
|
|
62687
|
+
function Dn(me) {
|
|
62688
62688
|
let Ne = r.value.findIndex(
|
|
62689
62689
|
(xe) => xe.getConversationType() == g.CometChatUIKitConstants.MessageReceiverType.user && xe.getConversationWith().getUid() == me.getUid()
|
|
62690
62690
|
);
|
|
@@ -62739,13 +62739,13 @@ const HYe = /* @__PURE__ */ pn(AYe, [["render", YYe], ["__scopeId", "data-v-ba08
|
|
|
62739
62739
|
), ee.value = g.CometChatUserEvents.ccUserBlocked.subscribe(
|
|
62740
62740
|
(me) => {
|
|
62741
62741
|
var Ne;
|
|
62742
|
-
let xe =
|
|
62742
|
+
let xe = Dn(me);
|
|
62743
62743
|
xe && !((Ne = l == null ? void 0 : l.value) != null && Ne.isIncludeBlockedUsers()) && Qn(xe);
|
|
62744
62744
|
}
|
|
62745
62745
|
), ve.value = g.CometChatUserEvents.ccUserUnblocked.subscribe(
|
|
62746
62746
|
(me) => {
|
|
62747
62747
|
var Ne;
|
|
62748
|
-
|
|
62748
|
+
Dn(me) && !((Ne = l == null ? void 0 : l.value) != null && Ne.isIncludeBlockedUsers()) && _e(me);
|
|
62749
62749
|
}
|
|
62750
62750
|
), Q.value = g.CometChatMessageEvents.ccMessageEdited.subscribe(
|
|
62751
62751
|
(me) => {
|
|
@@ -62947,8 +62947,8 @@ const HYe = /* @__PURE__ */ pn(AYe, [["render", YYe], ["__scopeId", "data-v-ba08
|
|
|
62947
62947
|
);
|
|
62948
62948
|
}
|
|
62949
62949
|
function ge() {
|
|
62950
|
-
var me, Ne, xe, He, nt, ft, qt, Pn, gr,
|
|
62951
|
-
(me = J.value) == null || me.unsubscribe(), (Ne = re.value) == null || Ne.unsubscribe(), (xe = Ie.value) == null || xe.unsubscribe(), (He = Q.value) == null || He.unsubscribe(), (nt = he.value) == null || nt.unsubscribe(), (ft = ue.value) == null || ft.unsubscribe(), (qt = Ce.value) == null || qt.unsubscribe(), (Pn = se.value) == null || Pn.unsubscribe(), (gr = te.value) == null || gr.unsubscribe(), (
|
|
62950
|
+
var me, Ne, xe, He, nt, ft, qt, Pn, gr, Ln, yr, Ar;
|
|
62951
|
+
(me = J.value) == null || me.unsubscribe(), (Ne = re.value) == null || Ne.unsubscribe(), (xe = Ie.value) == null || xe.unsubscribe(), (He = Q.value) == null || He.unsubscribe(), (nt = he.value) == null || nt.unsubscribe(), (ft = ue.value) == null || ft.unsubscribe(), (qt = Ce.value) == null || qt.unsubscribe(), (Pn = se.value) == null || Pn.unsubscribe(), (gr = te.value) == null || gr.unsubscribe(), (Ln = ee.value) == null || Ln.unsubscribe(), (yr = ve.value) == null || yr.unsubscribe(), (Ar = ce.value) == null || Ar.unsubscribe(), Me == null || Me.unsubscribe(), Se == null || Se.unsubscribe(), Pe == null || Pe.unsubscribe(), Qe == null || Qe.unsubscribe(), et == null || et.unsubscribe(), ke == null || ke.unsubscribe(), rt == null || rt.unsubscribe(), $t == null || $t.unsubscribe(), Ft == null || Ft.unsubscribe(), Ze == null || Ze.unsubscribe(), $e == null || $e.unsubscribe(), Rt == null || Rt.unsubscribe(), _t == null || _t.unsubscribe(), Nt == null || Nt.unsubscribe(), Ve == null || Ve.unsubscribe();
|
|
62952
62952
|
}
|
|
62953
62953
|
function _(me) {
|
|
62954
62954
|
try {
|
|
@@ -63293,7 +63293,7 @@ const HYe = /* @__PURE__ */ pn(AYe, [["render", YYe], ["__scopeId", "data-v-ba08
|
|
|
63293
63293
|
var Ne;
|
|
63294
63294
|
return e.selectionMode == g.SelectionMode.none || !e.selectionMode ? (me == null ? void 0 : me.getConversationId()) == ((Ne = e.activeConversation) == null ? void 0 : Ne.getConversationId()) : !1;
|
|
63295
63295
|
}
|
|
63296
|
-
function
|
|
63296
|
+
function Rn() {
|
|
63297
63297
|
if (n.value) {
|
|
63298
63298
|
e.activeConversation && e.activeConversation.getConversationId() == n.value.getConversationId() && (S.value = null);
|
|
63299
63299
|
let me, Ne = n.value.getConversationType();
|
|
@@ -63540,7 +63540,7 @@ const HYe = /* @__PURE__ */ pn(AYe, [["render", YYe], ["__scopeId", "data-v-ba08
|
|
|
63540
63540
|
border: me.border || "none",
|
|
63541
63541
|
borderRadius: me.borderRadius || "0"
|
|
63542
63542
|
});
|
|
63543
|
-
}),
|
|
63543
|
+
}), wn = (me) => {
|
|
63544
63544
|
var Ne, xe, He, nt, ft, qt, Pn;
|
|
63545
63545
|
let gr;
|
|
63546
63546
|
return me.getConversationType() == "group" ? gr = (Ne = me == null ? void 0 : me.conversationWith) == null ? void 0 : Ne.guid : me.getConversationType() == "user" && (gr = (xe = me == null ? void 0 : me.conversationWith) == null ? void 0 : xe.uid), a.value.get(gr) && (((He = a.value.get(gr)) == null ? void 0 : He.getReceiverType()) == g.CometChatUIKitConstants.MessageReceiverType.user && ((nt = a.value.get(gr)) == null ? void 0 : nt.getSender().getUid()) == ((ft = me.conversationWith) == null ? void 0 : ft.uid) || ((qt = a.value.get(gr)) == null ? void 0 : qt.getReceiverId()) == ((Pn = me.conversationWith) == null ? void 0 : Pn.guid)) ? {
|
|
@@ -63556,7 +63556,7 @@ const HYe = /* @__PURE__ */ pn(AYe, [["render", YYe], ["__scopeId", "data-v-ba08
|
|
|
63556
63556
|
}), $n = (me) => oe.MessageReceiptUtils.getReceiptStatus(
|
|
63557
63557
|
me.getLastMessage()
|
|
63558
63558
|
), rr = (me) => {
|
|
63559
|
-
var Ne, xe, He, nt, ft, qt, Pn, gr,
|
|
63559
|
+
var Ne, xe, He, nt, ft, qt, Pn, gr, Ln, yr;
|
|
63560
63560
|
let Ar = me.getLastMessage(), Vn = lt.getDataSource().getLastConversationMessage(
|
|
63561
63561
|
me,
|
|
63562
63562
|
s,
|
|
@@ -63573,7 +63573,7 @@ const HYe = /* @__PURE__ */ pn(AYe, [["render", YYe], ["__scopeId", "data-v-ba08
|
|
|
63573
63573
|
if (((qt = me == null ? void 0 : me.conversationWith) == null ? void 0 : qt.uid) == ((Pn = a.value.get(mn)) == null ? void 0 : Pn.getSender().getUid()) && ((gr = a.value.get(mn)) == null ? void 0 : gr.getReceiverType()) !== g.CometChatUIKitConstants.MessageReceiverType.group)
|
|
63574
63574
|
return Vn = g.localize("IS_TYPING"), Vn;
|
|
63575
63575
|
}
|
|
63576
|
-
let Ke = ((
|
|
63576
|
+
let Ke = ((Ln = me == null ? void 0 : me.getLastMessage()) == null ? void 0 : Ln.getType()) == g.CometChatUIKitConstants.MessageTypes.audio ? "📞 " : "📹 ";
|
|
63577
63577
|
return Ar && !(Ar != null && Ar.getDeletedAt()) && (Ar == null ? void 0 : Ar.getType()) == "meeting" || ((yr = me == null ? void 0 : me.getLastMessage()) == null ? void 0 : yr.getCategory()) == g.CometChatUIKitConstants.MessageCategory.call ? Ke + Vn : Vn;
|
|
63578
63578
|
};
|
|
63579
63579
|
function er() {
|
|
@@ -63605,7 +63605,7 @@ const HYe = /* @__PURE__ */ pn(AYe, [["render", YYe], ["__scopeId", "data-v-ba08
|
|
|
63605
63605
|
setStatusIndicatorStyle: gn,
|
|
63606
63606
|
checkStatusType: Cr,
|
|
63607
63607
|
itemThreadIndicatorStyle: un,
|
|
63608
|
-
subtitleStyle:
|
|
63608
|
+
subtitleStyle: wn,
|
|
63609
63609
|
threadText: h,
|
|
63610
63610
|
isReceiptDisable: K,
|
|
63611
63611
|
getMessageReceipt: $n,
|
|
@@ -66247,7 +66247,7 @@ const xJe = /* @__PURE__ */ pn(NQe, [["render", wJe], ["__scopeId", "data-v-57bb
|
|
|
66247
66247
|
textFormatters: e.textFormatters,
|
|
66248
66248
|
theme: n.value
|
|
66249
66249
|
}
|
|
66250
|
-
), rt, $t, Ft, $e, Ze, Rt, _t, Nt, Ve, ze, st, Pt, Bt, hn, an, gn, Cn, Nn,
|
|
66250
|
+
), rt, $t, Ft, $e, Ze, Rt, _t, Nt, Ve, ze, st, Pt, Bt, hn, an, gn, Cn, Nn, Dn, Zt, Vt, ge, _, b, z, K, V, W, ne, de, pe, _e = g.TimestampAlignment, De = g.MessageBubbleAlignment.left, Be = !1, dt = Z(!0);
|
|
66251
66251
|
ke.forEach((U) => {
|
|
66252
66252
|
et[U.category + "_" + U.type] = U;
|
|
66253
66253
|
}), Rr(() => {
|
|
@@ -66366,71 +66366,71 @@ const xJe = /* @__PURE__ */ pn(NQe, [["render", wJe], ["__scopeId", "data-v-57bb
|
|
|
66366
66366
|
}
|
|
66367
66367
|
}
|
|
66368
66368
|
), Cn = g.CometChatMessageEvents.onTextMessageReceived.subscribe(async (U) => {
|
|
66369
|
-
(!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) && await
|
|
66369
|
+
(!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) && await Ln(
|
|
66370
66370
|
g.CometChatUIKitConstants.messages.TEXT_MESSAGE_RECEIVED,
|
|
66371
66371
|
U
|
|
66372
66372
|
);
|
|
66373
66373
|
}), Nn = g.CometChatMessageEvents.onCustomMessageReceived.subscribe(async (U) => {
|
|
66374
|
-
(!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) && await
|
|
66374
|
+
(!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) && await Ln(
|
|
66375
66375
|
g.CometChatUIKitConstants.messages.CUSTOM_MESSAGE_RECEIVED,
|
|
66376
66376
|
U
|
|
66377
66377
|
);
|
|
66378
66378
|
}), Zt = g.CometChatMessageEvents.onFormMessageReceived.subscribe(async (U) => {
|
|
66379
|
-
U = g.FormMessage.fromJSON(U), (!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) && await
|
|
66379
|
+
U = g.FormMessage.fromJSON(U), (!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) && await Ln(
|
|
66380
66380
|
g.CometChatUIKitConstants.messages.INTERACTIVE_MESSAGE_RECEIVED,
|
|
66381
66381
|
U
|
|
66382
66382
|
);
|
|
66383
66383
|
}), Vt = g.CometChatMessageEvents.onCardMessageReceived.subscribe(async (U) => {
|
|
66384
|
-
U = g.CardMessage.fromJSON(U), (!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) && await
|
|
66384
|
+
U = g.CardMessage.fromJSON(U), (!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) && await Ln(
|
|
66385
66385
|
g.CometChatUIKitConstants.messages.INTERACTIVE_MESSAGE_RECEIVED,
|
|
66386
66386
|
U
|
|
66387
66387
|
);
|
|
66388
66388
|
}), ge = g.CometChatMessageEvents.onSchedulerMessageReceived.subscribe(async (U) => {
|
|
66389
|
-
U = g.SchedulerMessage.fromJSON(U), (!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) && await
|
|
66389
|
+
U = g.SchedulerMessage.fromJSON(U), (!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) && await Ln(
|
|
66390
66390
|
g.CometChatUIKitConstants.messages.INTERACTIVE_MESSAGE_RECEIVED,
|
|
66391
66391
|
U
|
|
66392
66392
|
);
|
|
66393
66393
|
}), _ = g.CometChatMessageEvents.onCustomInteractiveMessageReceived.subscribe(async (U) => {
|
|
66394
|
-
U = g.CustomInteractiveMessage.fromJSON(U), (!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) && await
|
|
66394
|
+
U = g.CustomInteractiveMessage.fromJSON(U), (!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) && await Ln(
|
|
66395
66395
|
g.CometChatUIKitConstants.messages.INTERACTIVE_MESSAGE_RECEIVED,
|
|
66396
66396
|
U
|
|
66397
66397
|
);
|
|
66398
|
-
}),
|
|
66399
|
-
(!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) &&
|
|
66398
|
+
}), Dn = g.CometChatMessageEvents.onMediaMessageReceived.subscribe((U) => {
|
|
66399
|
+
(!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) && Ln(
|
|
66400
66400
|
g.CometChatUIKitConstants.messages.MEDIA_MESSAGE_RECEIVED,
|
|
66401
66401
|
U
|
|
66402
66402
|
);
|
|
66403
66403
|
}), b = g.CometChatMessageEvents.onMessagesDelivered.subscribe((U) => {
|
|
66404
66404
|
const Ae = En(Number(U.getMessageId()));
|
|
66405
|
-
(!e.parentMessageId || Ae && (Ae == null ? void 0 : Ae.getParentMessageId()) == e.parentMessageId) && U.getReceiverType() === g.CometChatUIKitConstants.MessageReceiverType.user &&
|
|
66405
|
+
(!e.parentMessageId || Ae && (Ae == null ? void 0 : Ae.getParentMessageId()) == e.parentMessageId) && U.getReceiverType() === g.CometChatUIKitConstants.MessageReceiverType.user && Ln(
|
|
66406
66406
|
g.CometChatUIKitConstants.messages.MESSAGE_DELIVERED,
|
|
66407
66407
|
U
|
|
66408
66408
|
);
|
|
66409
66409
|
}), z = g.CometChatMessageEvents.onMessagesRead.subscribe((U) => {
|
|
66410
66410
|
const Ae = En(Number(U.getMessageId()));
|
|
66411
|
-
(!e.parentMessageId || (Ae && (Ae == null ? void 0 : Ae.getParentMessageId())) == e.parentMessageId) && U.getReceiverType() == g.CometChatUIKitConstants.MessageReceiverType.user &&
|
|
66411
|
+
(!e.parentMessageId || (Ae && (Ae == null ? void 0 : Ae.getParentMessageId())) == e.parentMessageId) && U.getReceiverType() == g.CometChatUIKitConstants.MessageReceiverType.user && Ln(
|
|
66412
66412
|
g.CometChatUIKitConstants.messages.MESSAGE_READ,
|
|
66413
66413
|
U
|
|
66414
66414
|
);
|
|
66415
66415
|
}), ve = g.CometChatMessageEvents.onMessagesReadByAll.subscribe((U) => {
|
|
66416
66416
|
const Ae = En(Number(U.getMessageId()));
|
|
66417
|
-
(!e.parentMessageId || (Ae && (Ae == null ? void 0 : Ae.getParentMessageId())) == e.parentMessageId) && U.getReceiverType() === g.CometChatUIKitConstants.MessageReceiverType.group &&
|
|
66417
|
+
(!e.parentMessageId || (Ae && (Ae == null ? void 0 : Ae.getParentMessageId())) == e.parentMessageId) && U.getReceiverType() === g.CometChatUIKitConstants.MessageReceiverType.group && Ln(
|
|
66418
66418
|
g.CometChatUIKitConstants.messages.MESSAGE_READ,
|
|
66419
66419
|
U
|
|
66420
66420
|
);
|
|
66421
66421
|
}), Ie = g.CometChatMessageEvents.onMessagesDeliveredToAll.subscribe((U) => {
|
|
66422
66422
|
const Ae = En(Number(U.getMessageId()));
|
|
66423
|
-
(!e.parentMessageId || (Ae && (Ae == null ? void 0 : Ae.getParentMessageId())) == e.parentMessageId) && U.getReceiverType() === g.CometChatUIKitConstants.MessageReceiverType.group &&
|
|
66423
|
+
(!e.parentMessageId || (Ae && (Ae == null ? void 0 : Ae.getParentMessageId())) == e.parentMessageId) && U.getReceiverType() === g.CometChatUIKitConstants.MessageReceiverType.group && Ln(
|
|
66424
66424
|
g.CometChatUIKitConstants.messages.MESSAGE_DELIVERED,
|
|
66425
66425
|
U
|
|
66426
66426
|
);
|
|
66427
66427
|
}), K = g.CometChatMessageEvents.onMessageDeleted.subscribe((U) => {
|
|
66428
|
-
(!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) &&
|
|
66428
|
+
(!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) && Ln(
|
|
66429
66429
|
g.CometChatUIKitConstants.messages.MESSAGE_DELETED,
|
|
66430
66430
|
U
|
|
66431
66431
|
);
|
|
66432
66432
|
}), V = g.CometChatMessageEvents.onMessageEdited.subscribe((U) => {
|
|
66433
|
-
(!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) &&
|
|
66433
|
+
(!e.parentMessageId || U.getParentMessageId() == e.parentMessageId) && Ln(
|
|
66434
66434
|
g.CometChatUIKitConstants.messages.MESSAGE_EDITED,
|
|
66435
66435
|
U
|
|
66436
66436
|
);
|
|
@@ -66448,17 +66448,17 @@ const xJe = /* @__PURE__ */ pn(NQe, [["render", wJe], ["__scopeId", "data-v-57bb
|
|
|
66448
66448
|
return;
|
|
66449
66449
|
}
|
|
66450
66450
|
}), ne = g.CometChatMessageEvents.onInteractionGoalCompleted.subscribe((U) => {
|
|
66451
|
-
m.getUid() === U.getSender().getUid() &&
|
|
66451
|
+
m.getUid() === U.getSender().getUid() && Ln(
|
|
66452
66452
|
g.CometChatUIKitConstants.messages.INTERACTION_GOAL_COMPLETED,
|
|
66453
66453
|
U
|
|
66454
66454
|
);
|
|
66455
66455
|
}), e.disableReactions || (de = g.CometChatMessageEvents.onMessageReactionAdded.subscribe((U) => {
|
|
66456
|
-
|
|
66456
|
+
Ln(
|
|
66457
66457
|
g.CometChatUIKitConstants.messages.MESSAGE_REACTION_ADDED,
|
|
66458
66458
|
U
|
|
66459
66459
|
);
|
|
66460
66460
|
}), pe = g.CometChatMessageEvents.onMessageReactionRemoved.subscribe((U) => {
|
|
66461
|
-
|
|
66461
|
+
Ln(
|
|
66462
66462
|
g.CometChatUIKitConstants.messages.MESSAGE_REACTION_REMOVED,
|
|
66463
66463
|
U
|
|
66464
66464
|
);
|
|
@@ -66485,7 +66485,7 @@ const xJe = /* @__PURE__ */ pn(NQe, [["render", wJe], ["__scopeId", "data-v-57bb
|
|
|
66485
66485
|
);
|
|
66486
66486
|
Xe > -1 && ye.splice(Xe, 1, Ae), E.value = ye, vo();
|
|
66487
66487
|
}, Ye = () => {
|
|
66488
|
-
Ft == null || Ft.unsubscribe(), $e == null || $e.unsubscribe(), Ze == null || Ze.unsubscribe(), _t == null || _t.unsubscribe(), rt == null || rt.unsubscribe(), $t == null || $t.unsubscribe(), Rt == null || Rt.unsubscribe(), Pt == null || Pt.unsubscribe(), gn == null || gn.unsubscribe(), Bt == null || Bt.unsubscribe(), hn == null || hn.unsubscribe(), an == null || an.unsubscribe(), Nt == null || Nt.unsubscribe(), Ve == null || Ve.unsubscribe(), ze == null || ze.unsubscribe(), st == null || st.unsubscribe(), Cn == null || Cn.unsubscribe(),
|
|
66488
|
+
Ft == null || Ft.unsubscribe(), $e == null || $e.unsubscribe(), Ze == null || Ze.unsubscribe(), _t == null || _t.unsubscribe(), rt == null || rt.unsubscribe(), $t == null || $t.unsubscribe(), Rt == null || Rt.unsubscribe(), Pt == null || Pt.unsubscribe(), gn == null || gn.unsubscribe(), Bt == null || Bt.unsubscribe(), hn == null || hn.unsubscribe(), an == null || an.unsubscribe(), Nt == null || Nt.unsubscribe(), Ve == null || Ve.unsubscribe(), ze == null || ze.unsubscribe(), st == null || st.unsubscribe(), Cn == null || Cn.unsubscribe(), Dn == null || Dn.unsubscribe(), Nn == null || Nn.unsubscribe(), Zt == null || Zt.unsubscribe(), Vt == null || Vt.unsubscribe(), ge == null || ge.unsubscribe(), _ == null || _.unsubscribe(), b == null || b.unsubscribe(), z == null || z.unsubscribe(), V == null || V.unsubscribe(), K == null || K.unsubscribe(), W == null || W.unsubscribe(), ne == null || ne.unsubscribe(), de == null || de.unsubscribe(), pe == null || pe.unsubscribe(), ve == null || ve.unsubscribe(), Ie == null || Ie.unsubscribe();
|
|
66489
66489
|
}, Le = () => m;
|
|
66490
66490
|
An(async () => {
|
|
66491
66491
|
It(), Gt(), bn();
|
|
@@ -66557,7 +66557,7 @@ const xJe = /* @__PURE__ */ pn(NQe, [["render", wJe], ["__scopeId", "data-v-57bb
|
|
|
66557
66557
|
text="${e.errorStateText}"
|
|
66558
66558
|
></cometchat-label>
|
|
66559
66559
|
</div>`
|
|
66560
|
-
},
|
|
66560
|
+
}, Rn = () => e.emptyStateView ? e.emptyStateView : {
|
|
66561
66561
|
html: ` <div class='cc-messagelist__emptyview'>
|
|
66562
66562
|
<cometchat-label
|
|
66563
66563
|
labelStyle='${JSON.stringify(
|
|
@@ -66833,7 +66833,7 @@ const xJe = /* @__PURE__ */ pn(NQe, [["render", wJe], ["__scopeId", "data-v-57bb
|
|
|
66833
66833
|
<div
|
|
66834
66834
|
style="position:relative; display: flex; justify-content: flex-end; "
|
|
66835
66835
|
>
|
|
66836
|
-
<div style="${
|
|
66836
|
+
<div style="${wn(U)}">
|
|
66837
66837
|
${H(U) ? H(U) : ""}
|
|
66838
66838
|
${B(U) ? B(U) : ""}
|
|
66839
66839
|
</div>
|
|
@@ -66847,7 +66847,7 @@ const xJe = /* @__PURE__ */ pn(NQe, [["render", wJe], ["__scopeId", "data-v-57bb
|
|
|
66847
66847
|
g.CometChatUIKitConstants.MessageTypes.image,
|
|
66848
66848
|
g.CometChatUIKitConstants.MessageTypes.video
|
|
66849
66849
|
].includes(Ae);
|
|
66850
|
-
},
|
|
66850
|
+
}, wn = (U) => {
|
|
66851
66851
|
const Ae = _r(U);
|
|
66852
66852
|
return ln(U) ? `
|
|
66853
66853
|
display: flex;
|
|
@@ -67011,7 +67011,7 @@ const xJe = /* @__PURE__ */ pn(NQe, [["render", wJe], ["__scopeId", "data-v-57bb
|
|
|
67011
67011
|
}, gr = (U, Ae) => {
|
|
67012
67012
|
let ye, Xe;
|
|
67013
67013
|
return ye = new Date(U * 1e3), Xe = new Date(Ae * 1e3), ye.getDate() !== Xe.getDate() || ye.getMonth() !== Xe.getMonth() || ye.getFullYear() !== Xe.getFullYear();
|
|
67014
|
-
},
|
|
67014
|
+
}, Ln = async (U = null, Ae = null, ye = null, Xe = null) => {
|
|
67015
67015
|
try {
|
|
67016
67016
|
switch (U) {
|
|
67017
67017
|
case g.CometChatUIKitConstants.messages.TEXT_MESSAGE_RECEIVED:
|
|
@@ -67149,7 +67149,7 @@ const xJe = /* @__PURE__ */ pn(NQe, [["render", wJe], ["__scopeId", "data-v-57bb
|
|
|
67149
67149
|
D,
|
|
67150
67150
|
new X.CometChat.GroupListener({
|
|
67151
67151
|
onGroupMemberScopeChanged: (U, Ae, ye, Xe, yt) => {
|
|
67152
|
-
|
|
67152
|
+
Ln(
|
|
67153
67153
|
g.CometChatUIKitConstants.groupMemberAction.SCOPE_CHANGE,
|
|
67154
67154
|
U,
|
|
67155
67155
|
yt,
|
|
@@ -67157,7 +67157,7 @@ const xJe = /* @__PURE__ */ pn(NQe, [["render", wJe], ["__scopeId", "data-v-57bb
|
|
|
67157
67157
|
);
|
|
67158
67158
|
},
|
|
67159
67159
|
onGroupMemberKicked: (U, Ae, ye, Xe) => {
|
|
67160
|
-
|
|
67160
|
+
Ln(
|
|
67161
67161
|
g.CometChatUIKitConstants.groupMemberAction.KICKED,
|
|
67162
67162
|
U,
|
|
67163
67163
|
Xe,
|
|
@@ -67168,7 +67168,7 @@ const xJe = /* @__PURE__ */ pn(NQe, [["render", wJe], ["__scopeId", "data-v-57bb
|
|
|
67168
67168
|
);
|
|
67169
67169
|
},
|
|
67170
67170
|
onGroupMemberBanned: (U, Ae, ye, Xe) => {
|
|
67171
|
-
|
|
67171
|
+
Ln(
|
|
67172
67172
|
g.CometChatUIKitConstants.groupMemberAction.BANNED,
|
|
67173
67173
|
U,
|
|
67174
67174
|
Xe,
|
|
@@ -67178,7 +67178,7 @@ const xJe = /* @__PURE__ */ pn(NQe, [["render", wJe], ["__scopeId", "data-v-57bb
|
|
|
67178
67178
|
);
|
|
67179
67179
|
},
|
|
67180
67180
|
onGroupMemberUnbanned: (U, Ae, ye, Xe) => {
|
|
67181
|
-
|
|
67181
|
+
Ln(
|
|
67182
67182
|
g.CometChatUIKitConstants.groupMemberAction.UNBANNED,
|
|
67183
67183
|
U,
|
|
67184
67184
|
Xe,
|
|
@@ -67186,7 +67186,7 @@ const xJe = /* @__PURE__ */ pn(NQe, [["render", wJe], ["__scopeId", "data-v-57bb
|
|
|
67186
67186
|
);
|
|
67187
67187
|
},
|
|
67188
67188
|
onMemberAddedToGroup: (U, Ae, ye, Xe) => {
|
|
67189
|
-
|
|
67189
|
+
Ln(
|
|
67190
67190
|
g.CometChatUIKitConstants.groupMemberAction.ADDED,
|
|
67191
67191
|
U,
|
|
67192
67192
|
Xe,
|
|
@@ -67197,7 +67197,7 @@ const xJe = /* @__PURE__ */ pn(NQe, [["render", wJe], ["__scopeId", "data-v-57bb
|
|
|
67197
67197
|
);
|
|
67198
67198
|
},
|
|
67199
67199
|
onGroupMemberLeft: (U, Ae, ye) => {
|
|
67200
|
-
|
|
67200
|
+
Ln(
|
|
67201
67201
|
g.CometChatUIKitConstants.groupMemberAction.LEFT,
|
|
67202
67202
|
U,
|
|
67203
67203
|
ye,
|
|
@@ -67207,7 +67207,7 @@ const xJe = /* @__PURE__ */ pn(NQe, [["render", wJe], ["__scopeId", "data-v-57bb
|
|
|
67207
67207
|
);
|
|
67208
67208
|
},
|
|
67209
67209
|
onGroupMemberJoined: (U, Ae, ye) => {
|
|
67210
|
-
|
|
67210
|
+
Ln(
|
|
67211
67211
|
g.CometChatUIKitConstants.groupMemberAction.JOINED,
|
|
67212
67212
|
U,
|
|
67213
67213
|
ye,
|
|
@@ -67783,7 +67783,7 @@ const xJe = /* @__PURE__ */ pn(NQe, [["render", wJe], ["__scopeId", "data-v-57bb
|
|
|
67783
67783
|
getBubbleWrapper: Tn,
|
|
67784
67784
|
topCallback: os,
|
|
67785
67785
|
bottomCallback: fi,
|
|
67786
|
-
getEmptyHtml:
|
|
67786
|
+
getEmptyHtml: Rn,
|
|
67787
67787
|
getLoaderHtml: Yt,
|
|
67788
67788
|
getErrorHtml: Ht,
|
|
67789
67789
|
getMessageBubbleDate: Pn,
|
|
@@ -70013,7 +70013,7 @@ const lXe = /* @__PURE__ */ pn(oXe, [["render", sXe]]), uXe = Tt({
|
|
|
70013
70013
|
}
|
|
70014
70014
|
return !0;
|
|
70015
70015
|
};
|
|
70016
|
-
let
|
|
70016
|
+
let Dn = {
|
|
70017
70017
|
"image/*": Bt.bind(this),
|
|
70018
70018
|
"video/*": gn.bind(this),
|
|
70019
70019
|
"audio/*": Nn.bind(this),
|
|
@@ -70198,7 +70198,7 @@ const lXe = /* @__PURE__ */ pn(oXe, [["render", sXe]]), uXe = Tt({
|
|
|
70198
70198
|
e.onError && e.onError(Xt);
|
|
70199
70199
|
}
|
|
70200
70200
|
return !0;
|
|
70201
|
-
},
|
|
70201
|
+
}, Rn = () => {
|
|
70202
70202
|
var Je, mt;
|
|
70203
70203
|
let Ot = (Je = ne == null ? void 0 : ne.value) == null ? void 0 : Je.trim();
|
|
70204
70204
|
if (m.value && ((mt = A.value) == null ? void 0 : mt.getText()) === ne.value)
|
|
@@ -70347,14 +70347,14 @@ const lXe = /* @__PURE__ */ pn(oXe, [["render", sXe]]), uXe = Tt({
|
|
|
70347
70347
|
e.onError(mt);
|
|
70348
70348
|
}
|
|
70349
70349
|
}, Cr = (Je) => {
|
|
70350
|
-
(
|
|
70350
|
+
(Dn[se.value.accept] || hn.bind(this))(Je), se.value.value = "";
|
|
70351
70351
|
}, Ge = () => {
|
|
70352
70352
|
e.customSoundForMessage ? oe.CometChatSoundManager.play(
|
|
70353
70353
|
oe.CometChatSoundManager.Sound.outgoingMessage,
|
|
70354
70354
|
e.customSoundForMessage
|
|
70355
70355
|
) : oe.CometChatSoundManager.play(oe.CometChatSoundManager.Sound.outgoingMessage);
|
|
70356
70356
|
}, f = (Je) => {
|
|
70357
|
-
ne.value = Je.detail.value,
|
|
70357
|
+
ne.value = Je.detail.value, Rn() && (S.value = !1, a.value = !1, he.value = !1, Qn());
|
|
70358
70358
|
}, R = () => {
|
|
70359
70359
|
d = g.CometChatMessageEvents.ccMessageEdited.subscribe(
|
|
70360
70360
|
(Je) => {
|
|
@@ -70538,7 +70538,7 @@ const lXe = /* @__PURE__ */ pn(oXe, [["render", sXe]]), uXe = Tt({
|
|
|
70538
70538
|
var mt;
|
|
70539
70539
|
let Ot = (mt = Je == null ? void 0 : Je.detail) == null ? void 0 : mt.action;
|
|
70540
70540
|
ve.value && (Ie.value.click(), ve.value = !ve.value), Ot.onClick && Ot.onClick();
|
|
70541
|
-
},
|
|
70541
|
+
}, wn = (Je) => {
|
|
70542
70542
|
var mt;
|
|
70543
70543
|
let Ot = (mt = Je == null ? void 0 : Je.detail) == null ? void 0 : mt.action;
|
|
70544
70544
|
if (Ot instanceof g.CometChatMessageComposerAction)
|
|
@@ -70567,7 +70567,7 @@ const lXe = /* @__PURE__ */ pn(oXe, [["render", sXe]]), uXe = Tt({
|
|
|
70567
70567
|
}, me = () => {
|
|
70568
70568
|
re.value && (ee.value.click(), re.value = !re.value);
|
|
70569
70569
|
}, Ne = (Je) => {
|
|
70570
|
-
ne.value = Je,
|
|
70570
|
+
ne.value = Je, Rn() && (S.value = !1, Qn());
|
|
70571
70571
|
}, xe = () => {
|
|
70572
70572
|
try {
|
|
70573
70573
|
const { receiverId: Je, receiverType: mt } = Yt();
|
|
@@ -70596,7 +70596,7 @@ const lXe = /* @__PURE__ */ pn(oXe, [["render", sXe]]), uXe = Tt({
|
|
|
70596
70596
|
borderRadius: "0",
|
|
70597
70597
|
buttonIconTint: Xt ? ke.sendIconTint : r.value.palette.getAccent200(),
|
|
70598
70598
|
background: "transparent"
|
|
70599
|
-
}, S.value = !0, e.onTextChange && e.onTextChange(Xt), ne.value = Xt, Xt ?
|
|
70599
|
+
}, S.value = !0, e.onTextChange && e.onTextChange(Xt), ne.value = Xt, Xt ? Ln() : S.value = !1;
|
|
70600
70600
|
}, nt = () => w, ft = () => L, qt = () => P, Pn = (Je) => {
|
|
70601
70601
|
var mt;
|
|
70602
70602
|
const Ot = (mt = Je == null ? void 0 : Je.detail) == null ? void 0 : mt.file;
|
|
@@ -70614,7 +70614,7 @@ const lXe = /* @__PURE__ */ pn(oXe, [["render", sXe]]), uXe = Tt({
|
|
|
70614
70614
|
const Je = /* @__PURE__ */ new Date(), mt = "audio-recording-yyyyMMddHHmmss", Ot = Je.getFullYear().toString(), Xt = (Je.getMonth() + 1).toString().padStart(2, "0"), Tn = Je.getDate().toString().padStart(2, "0"), En = Je.getHours().toString().padStart(2, "0"), yn = Je.getMinutes().toString().padStart(2, "0"), tr = Je.getSeconds().toString().padStart(2, "0");
|
|
70615
70615
|
return mt.replace("yyyyMMdd", `${Ot}${Xt}${Tn}`).replace("HHmmss", `${En}${yn}${tr}`);
|
|
70616
70616
|
}
|
|
70617
|
-
const
|
|
70617
|
+
const Ln = (Je = null, mt = "") => {
|
|
70618
70618
|
if (!e.disableTypingEvents)
|
|
70619
70619
|
try {
|
|
70620
70620
|
let Ot = Je || 500;
|
|
@@ -70788,7 +70788,7 @@ const lXe = /* @__PURE__ */ pn(oXe, [["render", sXe]]), uXe = Tt({
|
|
|
70788
70788
|
showAIButton: J,
|
|
70789
70789
|
openAIOptions: Kt,
|
|
70790
70790
|
AIOptions: y,
|
|
70791
|
-
handleAIOptionClick:
|
|
70791
|
+
handleAIOptionClick: wn,
|
|
70792
70792
|
aiCardView: p,
|
|
70793
70793
|
getAiActionSheetStyle: At,
|
|
70794
70794
|
getAiOptionPopoverStyle: Gt,
|
|
@@ -72522,8 +72522,8 @@ const Xet = /* @__PURE__ */ pn(Ket, [["render", Zet], ["__scopeId", "data-v-dc10
|
|
|
72522
72522
|
}), e.user ? (ke.value = e.user, rt.value = null) : (ke.value = null, rt.value = e.group), Pt(), pe(), ve.online = e.detailsStyle.onlineStatusColor || T.value.palette.getSuccess(), Ve(), _t(), Vt();
|
|
72523
72523
|
}), Ci(() => {
|
|
72524
72524
|
var Ye, Le, Yt, Ht;
|
|
72525
|
-
!ke.value && (Ye = e.user) != null && Ye.getUid() || ke.value && e.user && ke.value.getUid() != ((Le = e.user) == null ? void 0 : Le.getUid()) ? (Ze = !0, ke.value = e.user, rt.value = null) : (!rt.value && (Yt = e.group) != null && Yt.getGuid() || rt.value && e.group) && rt.value.getGuid() != ((Ht = e.group) == null ? void 0 : Ht.getGuid()) && (Ze = !0, rt.value = e.group, ke.value = null), Ze && (O.value ? pe() : X.CometChat.getLoggedinUser().then((
|
|
72526
|
-
|
|
72525
|
+
!ke.value && (Ye = e.user) != null && Ye.getUid() || ke.value && e.user && ke.value.getUid() != ((Le = e.user) == null ? void 0 : Le.getUid()) ? (Ze = !0, ke.value = e.user, rt.value = null) : (!rt.value && (Yt = e.group) != null && Yt.getGuid() || rt.value && e.group) && rt.value.getGuid() != ((Ht = e.group) == null ? void 0 : Ht.getGuid()) && (Ze = !0, rt.value = e.group, ke.value = null), Ze && (O.value ? pe() : X.CometChat.getLoggedinUser().then((Rn) => {
|
|
72526
|
+
Rn && (O.value = Rn, pe());
|
|
72527
72527
|
})), Vt(), Ze = !1;
|
|
72528
72528
|
});
|
|
72529
72529
|
const _t = () => {
|
|
@@ -72580,21 +72580,21 @@ const Xet = /* @__PURE__ */ pn(Ket, [["render", Zet], ["__scopeId", "data-v-dc10
|
|
|
72580
72580
|
), X.CometChat.addGroupListener(
|
|
72581
72581
|
Pe,
|
|
72582
72582
|
new X.CometChat.GroupListener({
|
|
72583
|
-
onGroupMemberScopeChanged: (Ye, Le, Yt, Ht,
|
|
72583
|
+
onGroupMemberScopeChanged: (Ye, Le, Yt, Ht, Rn) => {
|
|
72584
72584
|
var Un;
|
|
72585
|
-
(
|
|
72585
|
+
(Rn == null ? void 0 : Rn.getGuid()) === ((Un = rt.value) == null ? void 0 : Un.getGuid()) && (rt.value = oe.CometChatUIKitUtility.clone(Rn));
|
|
72586
72586
|
},
|
|
72587
72587
|
onGroupMemberKicked: (Ye, Le, Yt, Ht) => {
|
|
72588
|
-
var
|
|
72589
|
-
(Ht == null ? void 0 : Ht.getGuid()) === ((
|
|
72588
|
+
var Rn;
|
|
72589
|
+
(Ht == null ? void 0 : Ht.getGuid()) === ((Rn = rt.value) == null ? void 0 : Rn.getGuid()) && (rt.value = Ht);
|
|
72590
72590
|
},
|
|
72591
72591
|
onMemberAddedToGroup: (Ye, Le, Yt, Ht) => {
|
|
72592
|
-
var
|
|
72593
|
-
(Ht == null ? void 0 : Ht.getGuid()) === ((
|
|
72592
|
+
var Rn;
|
|
72593
|
+
(Ht == null ? void 0 : Ht.getGuid()) === ((Rn = rt.value) == null ? void 0 : Rn.getGuid()) && (rt.value = oe.CometChatUIKitUtility.clone(Ht));
|
|
72594
72594
|
},
|
|
72595
72595
|
onGroupMemberBanned(Ye, Le, Yt, Ht) {
|
|
72596
|
-
var
|
|
72597
|
-
(Ht == null ? void 0 : Ht.getGuid()) === ((
|
|
72596
|
+
var Rn;
|
|
72597
|
+
(Ht == null ? void 0 : Ht.getGuid()) === ((Rn = rt.value) == null ? void 0 : Rn.getGuid()) && (rt.value = Ht);
|
|
72598
72598
|
},
|
|
72599
72599
|
onGroupMemberLeft: (Ye, Le, Yt) => {
|
|
72600
72600
|
var Ht;
|
|
@@ -72680,7 +72680,7 @@ const Xet = /* @__PURE__ */ pn(Ket, [["render", Zet], ["__scopeId", "data-v-dc10
|
|
|
72680
72680
|
subtitleTextFont: g.fontHelper(T.value.typography.subtitle2),
|
|
72681
72681
|
subtitleTextColor: T.value.palette.getAccent600()
|
|
72682
72682
|
}), ...e.detailsStyle });
|
|
72683
|
-
},
|
|
72683
|
+
}, Dn = () => {
|
|
72684
72684
|
let Ye = {
|
|
72685
72685
|
width: "100%",
|
|
72686
72686
|
height: "100%",
|
|
@@ -72890,7 +72890,7 @@ const Xet = /* @__PURE__ */ pn(Ket, [["render", Zet], ["__scopeId", "data-v-dc10
|
|
|
72890
72890
|
};
|
|
72891
72891
|
return {
|
|
72892
72892
|
getButtonStyle: W,
|
|
72893
|
-
wrapperStyle:
|
|
72893
|
+
wrapperStyle: Dn,
|
|
72894
72894
|
checkStatusType: _,
|
|
72895
72895
|
checkGroupType: z,
|
|
72896
72896
|
getTitleStyle: K,
|
|
@@ -72960,8 +72960,8 @@ const Xet = /* @__PURE__ */ pn(Ket, [["render", Zet], ["__scopeId", "data-v-dc10
|
|
|
72960
72960
|
class: "cc-details__view"
|
|
72961
72961
|
}, Ntt = ["backdropStyle"], Dtt = ["messageText", "cancelButtonText", "confirmButtonText", "confirmDialogStyle"], Rtt = ["backdropStyle"];
|
|
72962
72962
|
function Ltt(e, t, r, n, a, i) {
|
|
72963
|
-
var o, s, l, u, d, h, C, E, m, S, A, T, y, p, D, w, L, O, P, $, J, re, le, Q, he, ue, Ce, se, te, ce, ee, ve, Ie, Oe, Me, Se, Pe, Qe, et, ke, rt, $t, Ft, $e, Ze, Rt, _t, Nt, Ve, ze, st, Pt, Bt, hn, an, gn, Cn, Nn,
|
|
72964
|
-
const gr = fn("CometChatAddMembers"),
|
|
72963
|
+
var o, s, l, u, d, h, C, E, m, S, A, T, y, p, D, w, L, O, P, $, J, re, le, Q, he, ue, Ce, se, te, ce, ee, ve, Ie, Oe, Me, Se, Pe, Qe, et, ke, rt, $t, Ft, $e, Ze, Rt, _t, Nt, Ve, ze, st, Pt, Bt, hn, an, gn, Cn, Nn, Dn, Zt, Vt, ge, _, b, z, K, V, W, ne, de, pe, _e, De, Be, dt, tt, qe, pt, at, nn, On, Ye, Le, Yt, Ht, Rn, Un, Qn, sr, Jn, Cr, Ge, f, R, F, H, B, ae, fe, Fe, Ct, kt, Kt, ln, wn, un, $n, rr, er, me, Ne, xe, He, nt, ft, qt, Pn;
|
|
72964
|
+
const gr = fn("CometChatAddMembers"), Ln = fn("CometChatBannedMembers"), yr = fn("CometChatGroupMembers"), Ar = fn("CometChatTransferOwnership");
|
|
72965
72965
|
return k(), j(ht, null, [
|
|
72966
72966
|
e.user || e.group ? (k(), j("div", {
|
|
72967
72967
|
key: 0,
|
|
@@ -73115,7 +73115,7 @@ function Ltt(e, t, r, n, a, i) {
|
|
|
73115
73115
|
}, null, 8, ["group", "selectionMode", "onClose", "onBack", "backButtonIconURL", "showBackButton", "titleAlignment", "hideSearch", "searchIconURL", "showSectionHeader", "sectionHeaderField", "loadingIconURL", "loadingStateView", "emptyStateView", "errorStateView", "hideError", "disableUsersPresence", "hideSeparator", "onError", "menus", "options", "onSelect", "usersRequestBuilder", "searchRequestBuilder", "listItemView", "subtitleView", "onAddMembersButtonClick", "closeButtonIconURL", "listItemStyle", "statusIndicatorStyle", "avatarStyle", "addMembersStyle"])
|
|
73116
73116
|
])) : je("", !0),
|
|
73117
73117
|
e.openBannedMembersPage ? (k(), j("div", btt, [
|
|
73118
|
-
cn(
|
|
73118
|
+
cn(Ln, {
|
|
73119
73119
|
group: e.currentGroup,
|
|
73120
73120
|
onClose: e.onClose ?? ((et = e.addMembersConfiguration) == null ? void 0 : et.onClose) ?? void 0,
|
|
73121
73121
|
onBack: ((ke = e.bannedMembersConfiguration) == null ? void 0 : ke.onBack) || e.bannedMembers,
|
|
@@ -73137,7 +73137,7 @@ function Ltt(e, t, r, n, a, i) {
|
|
|
73137
73137
|
onError: ((gn = e.bannedMembersConfiguration) == null ? void 0 : gn.onError) ?? void 0,
|
|
73138
73138
|
onSelect: (Cn = e.bannedMembersConfiguration) == null ? void 0 : Cn.onSelect,
|
|
73139
73139
|
emptyStateView: (Nn = e.bannedMembersConfiguration) == null ? void 0 : Nn.emptyStateView,
|
|
73140
|
-
errorStateView: (
|
|
73140
|
+
errorStateView: (Dn = e.bannedMembersConfiguration) == null ? void 0 : Dn.errorStateView,
|
|
73141
73141
|
loadingStateView: (Zt = e.bannedMembersConfiguration) == null ? void 0 : Zt.loadingStateView,
|
|
73142
73142
|
loadingIconURL: (Vt = e.bannedMembersConfiguration) == null ? void 0 : Vt.loadingIconURL,
|
|
73143
73143
|
hideError: (ge = e.bannedMembersConfiguration) == null ? void 0 : ge.hideError,
|
|
@@ -73170,7 +73170,7 @@ function Ltt(e, t, r, n, a, i) {
|
|
|
73170
73170
|
hideSearch: (Le = e.groupMembersConfiguration) == null ? void 0 : Le.hideSearch,
|
|
73171
73171
|
onError: ((Yt = e.groupMembersConfiguration) == null ? void 0 : Yt.onError) ?? void 0,
|
|
73172
73172
|
onSelect: (Ht = e.groupMembersConfiguration) == null ? void 0 : Ht.onSelect,
|
|
73173
|
-
emptyStateView: (
|
|
73173
|
+
emptyStateView: (Rn = e.groupMembersConfiguration) == null ? void 0 : Rn.emptyStateView,
|
|
73174
73174
|
errorStateView: (Un = e.groupMembersConfiguration) == null ? void 0 : Un.errorStateView,
|
|
73175
73175
|
loadingIconURL: (Qn = e.groupMembersConfiguration) == null ? void 0 : Qn.loadingIconURL,
|
|
73176
73176
|
loadingStateView: (sr = e.groupMembersConfiguration) == null ? void 0 : sr.loadingStateView,
|
|
@@ -73211,7 +73211,7 @@ function Ltt(e, t, r, n, a, i) {
|
|
|
73211
73211
|
onError: (kt = e.transferOwnershipConfiguration) == null ? void 0 : kt.onError,
|
|
73212
73212
|
hideSearch: (Kt = e.transferOwnershipConfiguration) == null ? void 0 : Kt.hideSearch,
|
|
73213
73213
|
searchIconURL: (ln = e.transferOwnershipConfiguration) == null ? void 0 : ln.searchIconURL,
|
|
73214
|
-
hideSeparator: (
|
|
73214
|
+
hideSeparator: (wn = e.transferOwnershipConfiguration) == null ? void 0 : wn.hideSeparator,
|
|
73215
73215
|
closeButtonIconURL: (un = e.transferOwnershipConfiguration) == null ? void 0 : un.closeButtonIconURL,
|
|
73216
73216
|
disableUsersPresence: ($n = e.transferOwnershipConfiguration) == null ? void 0 : $n.disableUsersPresence,
|
|
73217
73217
|
listItemView: (rr = e.transferOwnershipConfiguration) == null ? void 0 : rr.listItemView,
|
|
@@ -73797,7 +73797,7 @@ const Qtt = /* @__PURE__ */ pn(Vtt, [["render", Wtt]]), Jtt = Tt({
|
|
|
73797
73797
|
class: "cc-messages-wrapper__details"
|
|
73798
73798
|
};
|
|
73799
73799
|
function ant(e, t, r, n, a, i) {
|
|
73800
|
-
var o, s, l, u, d, h, C, E, m, S, A, T, y, p, D, w, L, O, P, $, J, re, le, Q, he, ue, Ce, se, te, ce, ee, ve, Ie, Oe, Me, Se, Pe, Qe, et, ke, rt, $t, Ft, $e, Ze, Rt, _t, Nt, Ve, ze, st, Pt, Bt, hn, an, gn, Cn, Nn,
|
|
73800
|
+
var o, s, l, u, d, h, C, E, m, S, A, T, y, p, D, w, L, O, P, $, J, re, le, Q, he, ue, Ce, se, te, ce, ee, ve, Ie, Oe, Me, Se, Pe, Qe, et, ke, rt, $t, Ft, $e, Ze, Rt, _t, Nt, Ve, ze, st, Pt, Bt, hn, an, gn, Cn, Nn, Dn, Zt, Vt, ge, _, b, z, K, V, W, ne, de, pe, _e, De, Be, dt, tt, qe, pt;
|
|
73801
73801
|
const at = fn("DynamicRenderer"), nn = fn("CometChatMessageHeader"), On = fn("CometChatMessageList"), Ye = fn("CometChatMessageComposer"), Le = fn("CometChatThreadedMessages"), Yt = fn("CometChatDetails");
|
|
73802
73802
|
return k(), j("div", qtt, [
|
|
73803
73803
|
e.showPanelView && e.getPanelComponentView() ? (k(), ct(at, {
|
|
@@ -73911,7 +73911,7 @@ function ant(e, t, r, n, a, i) {
|
|
|
73911
73911
|
voiceRecordingStartIconURL: (gn = e.messageComposerConfiguration) == null ? void 0 : gn.voiceRecordingStartIconURL,
|
|
73912
73912
|
voiceRecordingCloseIconURL: (Cn = e.messageComposerConfiguration) == null ? void 0 : Cn.voiceRecordingCloseIconURL,
|
|
73913
73913
|
voiceRecordingStopIconURL: (Nn = e.messageComposerConfiguration) == null ? void 0 : Nn.voiceRecordingStopIconURL,
|
|
73914
|
-
voiceRecordingSubmitIconURL: (
|
|
73914
|
+
voiceRecordingSubmitIconURL: (Dn = e.messageComposerConfiguration) == null ? void 0 : Dn.voiceRecordingSubmitIconURL,
|
|
73915
73915
|
userMemberWrapperConfiguration: (Zt = e.messageComposerConfiguration) == null ? void 0 : Zt.userMemberWrapperConfiguration,
|
|
73916
73916
|
textFormatters: (Vt = e.messageComposerConfiguration) == null ? void 0 : Vt.textFormatters,
|
|
73917
73917
|
disableMentions: (ge = e.messageComposerConfiguration) == null ? void 0 : ge.disableMentions,
|
|
@@ -74959,7 +74959,7 @@ const Bnt = /* @__PURE__ */ pn(ynt, [["render", Pnt], ["__scopeId", "data-v-6172
|
|
|
74959
74959
|
hideError: (P = e.usersConfiguration) == null ? void 0 : P.hideError,
|
|
74960
74960
|
listItemStyle: ($ = e.usersConfiguration) == null ? void 0 : $.listItemStyle,
|
|
74961
74961
|
options: (J = e.usersConfiguration) != null && J.options ? (re = e.usersConfiguration) == null ? void 0 : re.options : void 0,
|
|
74962
|
-
usersStyle: (le = e.usersConfiguration) != null && le.usersStyle && Object.keys((Q = e.usersConfiguration) == null ? void 0 : Q.usersStyle).length ? (he = e.usersConfiguration) == null ? void 0 : he.usersStyle :
|
|
74962
|
+
usersStyle: (le = e.usersConfiguration) != null && le.usersStyle && Object.keys((Q = e.usersConfiguration) == null ? void 0 : Q.usersStyle).length ? (he = e.usersConfiguration) == null ? void 0 : he.usersStyle : Dn()
|
|
74963
74963
|
}
|
|
74964
74964
|
},
|
|
74965
74965
|
style: st,
|
|
@@ -74995,7 +74995,7 @@ const Bnt = /* @__PURE__ */ pn(ynt, [["render", Pnt], ["__scopeId", "data-v-6172
|
|
|
74995
74995
|
},
|
|
74996
74996
|
style: st
|
|
74997
74997
|
});
|
|
74998
|
-
function
|
|
74998
|
+
function Dn() {
|
|
74999
74999
|
return new oe.UsersStyle({
|
|
75000
75000
|
border: "none",
|
|
75001
75001
|
titleTextFont: g.fontHelper(Ze.value.typography.title1),
|
|
@@ -78233,7 +78233,7 @@ class pat {
|
|
|
78233
78233
|
}
|
|
78234
78234
|
Bi = new WeakMap(), ci = new WeakMap(), gl = new WeakMap(), uu = new WeakMap(), Fo = new WeakSet(), Ch = function(t, r, n) {
|
|
78235
78235
|
const a = structuredClone(n) ?? {};
|
|
78236
|
-
a.chatVersion = "5.2.
|
|
78236
|
+
a.chatVersion = "5.2.8";
|
|
78237
78237
|
const i = {
|
|
78238
78238
|
logUid: window.crypto.randomUUID(),
|
|
78239
78239
|
correlationUid: xr(this, gl),
|
|
@@ -79658,22 +79658,8 @@ var zn, Iv, al, Tv, mh, yv, k2, _v, Mv, bv, Ov;
|
|
|
79658
79658
|
class Eit {
|
|
79659
79659
|
constructor(t = "cometchat") {
|
|
79660
79660
|
Li(this, zn);
|
|
79661
|
-
|
|
79662
|
-
|
|
79663
|
-
Dn(this, "fuseMessages");
|
|
79664
|
-
this.storePrefix = t, this.fuseConversations = new vl(hr(this, zn, mh).call(this), {
|
|
79665
|
-
keys: ["conversationWith.name"],
|
|
79666
|
-
shouldSort: !0,
|
|
79667
|
-
includeScore: !0,
|
|
79668
|
-
threshold: 0.4,
|
|
79669
|
-
findAllMatches: !0
|
|
79670
|
-
}), this.fuseMessages = new vl(hr(this, zn, al).call(this), {
|
|
79671
|
-
keys: ["data.text"],
|
|
79672
|
-
shouldSort: !0,
|
|
79673
|
-
includeScore: !0,
|
|
79674
|
-
threshold: 0.3,
|
|
79675
|
-
findAllMatches: !0
|
|
79676
|
-
});
|
|
79661
|
+
xn(this, "storePrefix");
|
|
79662
|
+
this.storePrefix = t;
|
|
79677
79663
|
}
|
|
79678
79664
|
getGroupMessages(t, r) {
|
|
79679
79665
|
const a = hr(this, zn, al).call(this).filter((i) => !(i.receiver != t || i.parentId));
|
|
@@ -79721,7 +79707,9 @@ class Eit {
|
|
|
79721
79707
|
hr(this, zn, yv).call(this, r);
|
|
79722
79708
|
}
|
|
79723
79709
|
purgeConversations(t) {
|
|
79724
|
-
const r = new Set(t), n = hr(this, zn, mh).call(this).filter(
|
|
79710
|
+
const r = new Set(t), n = hr(this, zn, mh).call(this).filter(
|
|
79711
|
+
(a) => r.has(a.conversationId)
|
|
79712
|
+
);
|
|
79725
79713
|
hr(this, zn, yv).call(this, n);
|
|
79726
79714
|
}
|
|
79727
79715
|
getGroup(t) {
|
|
@@ -79735,6 +79723,25 @@ class Eit {
|
|
|
79735
79723
|
const r = new Set(t), n = hr(this, zn, k2).call(this).filter((a) => !a || !a.guid ? !1 : r.has(a.guid));
|
|
79736
79724
|
hr(this, zn, _v).call(this, n);
|
|
79737
79725
|
}
|
|
79726
|
+
getFuseConversations() {
|
|
79727
|
+
return new vl(hr(this, zn, mh).call(this), {
|
|
79728
|
+
keys: ["conversationWith.name"],
|
|
79729
|
+
shouldSort: !0,
|
|
79730
|
+
includeScore: !0,
|
|
79731
|
+
threshold: 0.4
|
|
79732
|
+
});
|
|
79733
|
+
}
|
|
79734
|
+
getFuseMessages() {
|
|
79735
|
+
const t = hr(this, zn, al).call(this).filter(
|
|
79736
|
+
(r) => r.category === "message" && r.parentId === void 0
|
|
79737
|
+
);
|
|
79738
|
+
return new vl(t, {
|
|
79739
|
+
keys: ["data.text"],
|
|
79740
|
+
shouldSort: !0,
|
|
79741
|
+
includeScore: !0,
|
|
79742
|
+
threshold: 0.3
|
|
79743
|
+
});
|
|
79744
|
+
}
|
|
79738
79745
|
}
|
|
79739
79746
|
zn = new WeakSet(), Iv = function(t, r) {
|
|
79740
79747
|
const a = t.filter((o) => {
|
|
@@ -79751,7 +79758,10 @@ zn = new WeakSet(), Iv = function(t, r) {
|
|
|
79751
79758
|
const t = localStorage.getItem(xr(this, zn, Mv));
|
|
79752
79759
|
return t == null ? [] : JSON.parse(t);
|
|
79753
79760
|
}, Tv = function(t) {
|
|
79754
|
-
localStorage.setItem(
|
|
79761
|
+
localStorage.setItem(
|
|
79762
|
+
xr(this, zn, Mv),
|
|
79763
|
+
JSON.stringify(t == null ? void 0 : t.slice(-1e3))
|
|
79764
|
+
);
|
|
79755
79765
|
}, mh = function() {
|
|
79756
79766
|
const t = localStorage.getItem(xr(this, zn, bv));
|
|
79757
79767
|
return t == null ? [] : JSON.parse(t);
|
|
@@ -79764,7 +79774,10 @@ zn = new WeakSet(), Iv = function(t, r) {
|
|
|
79764
79774
|
const t = localStorage.getItem(xr(this, zn, Ov));
|
|
79765
79775
|
return t == null ? [] : JSON.parse(t);
|
|
79766
79776
|
}, _v = function(t) {
|
|
79767
|
-
localStorage.setItem(
|
|
79777
|
+
localStorage.setItem(
|
|
79778
|
+
xr(this, zn, Ov),
|
|
79779
|
+
JSON.stringify(t == null ? void 0 : t.slice(-500))
|
|
79780
|
+
);
|
|
79768
79781
|
}, Mv = function() {
|
|
79769
79782
|
return `${this.storePrefix}:messages`;
|
|
79770
79783
|
}, bv = function() {
|
|
@@ -80006,9 +80019,9 @@ function Rit(e, t = 25) {
|
|
|
80006
80019
|
conversations: [],
|
|
80007
80020
|
messages: []
|
|
80008
80021
|
};
|
|
80009
|
-
return jo.
|
|
80022
|
+
return jo.getFuseConversations().search(e, { limit: t }).forEach((n) => {
|
|
80010
80023
|
r.conversations.push(n.item);
|
|
80011
|
-
}), jo.
|
|
80024
|
+
}), jo.getFuseMessages().search(e, { limit: t }).forEach((n) => {
|
|
80012
80025
|
r.messages.push(n.item);
|
|
80013
80026
|
}), r;
|
|
80014
80027
|
}
|
|
@@ -80710,7 +80723,7 @@ function qit() {
|
|
|
80710
80723
|
dispose: sr,
|
|
80711
80724
|
moveBy: Un,
|
|
80712
80725
|
moveTo: tt,
|
|
80713
|
-
smoothMoveTo:
|
|
80726
|
+
smoothMoveTo: Rn,
|
|
80714
80727
|
centerOn: Ht,
|
|
80715
80728
|
zoomTo: Pn,
|
|
80716
80729
|
zoomAbs: Yt,
|
|
@@ -80731,8 +80744,8 @@ function qit() {
|
|
|
80731
80744
|
setZoomSpeed: Be
|
|
80732
80745
|
};
|
|
80733
80746
|
r(gn);
|
|
80734
|
-
var Cn = typeof P.initialX == "number" ? P.initialX : Q.x, Nn = typeof P.initialY == "number" ? P.initialY : Q.y,
|
|
80735
|
-
return (Cn != Q.x || Nn != Q.y ||
|
|
80747
|
+
var Cn = typeof P.initialX == "number" ? P.initialX : Q.x, Nn = typeof P.initialY == "number" ? P.initialY : Q.y, Dn = typeof P.initialZoom == "number" ? P.initialZoom : Q.scale;
|
|
80748
|
+
return (Cn != Q.x || Nn != Q.y || Dn != Q.scale) && Yt(Cn, Nn, Dn), gn;
|
|
80736
80749
|
function Zt() {
|
|
80737
80750
|
Cr(), an = !0;
|
|
80738
80751
|
}
|
|
@@ -80883,7 +80896,7 @@ function qit() {
|
|
|
80883
80896
|
var It = Ke.getBoundingClientRect(), Gt = It.left + It.width / 2, bn = It.top + It.height / 2, In = At.getBoundingClientRect(), Yn = In.width / 2 - Gt, lr = In.height / 2 - bn;
|
|
80884
80897
|
Un(Yn, lr, !0);
|
|
80885
80898
|
}
|
|
80886
|
-
function
|
|
80899
|
+
function Rn(Ke, At) {
|
|
80887
80900
|
Un(Ke - Q.x, At - Q.y, !0);
|
|
80888
80901
|
}
|
|
80889
80902
|
function Un(Ke, At, It) {
|
|
@@ -80924,7 +80937,7 @@ function qit() {
|
|
|
80924
80937
|
Un(lr, zr);
|
|
80925
80938
|
}
|
|
80926
80939
|
if (Gt) {
|
|
80927
|
-
var ur =
|
|
80940
|
+
var ur = Ln(Gt * 100), In = Me ? qt() : F();
|
|
80928
80941
|
Pn(In.x, In.y, ur);
|
|
80929
80942
|
}
|
|
80930
80943
|
}
|
|
@@ -80939,7 +80952,7 @@ function qit() {
|
|
|
80939
80952
|
function H(Ke) {
|
|
80940
80953
|
if (B(Ke), kt(), Ke.touches.length === 1)
|
|
80941
80954
|
return fe(Ke, Ke.touches[0]);
|
|
80942
|
-
Ke.touches.length === 2 && (ze =
|
|
80955
|
+
Ke.touches.length === 2 && (ze = wn(Ke.touches[0], Ke.touches[1]), hn = !0, Fe());
|
|
80943
80956
|
}
|
|
80944
80957
|
function B(Ke) {
|
|
80945
80958
|
P.onTouch && !P.onTouch(Ke) || (Ke.stopPropagation(), Ke.preventDefault());
|
|
@@ -80964,7 +80977,7 @@ function qit() {
|
|
|
80964
80977
|
bn !== 0 && In !== 0 && yr(), Rt = Gt.x, _t = Gt.y, Un(bn, In);
|
|
80965
80978
|
} else if (Ke.touches.length === 2) {
|
|
80966
80979
|
hn = !0;
|
|
80967
|
-
var Yn = Ke.touches[0], lr = Ke.touches[1], zr =
|
|
80980
|
+
var Yn = Ke.touches[0], lr = Ke.touches[1], zr = wn(Yn, lr), ur = 1 + (zr / ze - 1) * ue, Ho = He(Yn), Ko = He(lr);
|
|
80968
80981
|
if (Rt = (Ho.x + Ko.x) / 2, _t = (Ho.y + Ko.y) / 2, Me) {
|
|
80969
80982
|
var It = qt();
|
|
80970
80983
|
Rt = It.x, _t = It.y;
|
|
@@ -81000,7 +81013,7 @@ function qit() {
|
|
|
81000
81013
|
Qe = Gt, Ar(), Ne();
|
|
81001
81014
|
}
|
|
81002
81015
|
}
|
|
81003
|
-
function
|
|
81016
|
+
function wn(Ke, At) {
|
|
81004
81017
|
var It = Ke.clientX - At.clientX, Gt = Ke.clientY - At.clientY;
|
|
81005
81018
|
return Math.sqrt(It * It + Gt * Gt);
|
|
81006
81019
|
}
|
|
@@ -81043,7 +81056,7 @@ function qit() {
|
|
|
81043
81056
|
st.cancel();
|
|
81044
81057
|
var At = Ke.deltaY;
|
|
81045
81058
|
Ke.deltaMode > 0 && (At *= 100);
|
|
81046
|
-
var It =
|
|
81059
|
+
var It = Ln(At);
|
|
81047
81060
|
if (It !== 1) {
|
|
81048
81061
|
var Gt = Me ? qt() : He(Ke);
|
|
81049
81062
|
Pn(Gt.x, Gt.y, It), Ke.preventDefault();
|
|
@@ -81084,7 +81097,7 @@ function qit() {
|
|
|
81084
81097
|
function gr() {
|
|
81085
81098
|
Bt && (Bt.cancel(), Bt = null);
|
|
81086
81099
|
}
|
|
81087
|
-
function
|
|
81100
|
+
function Ln(Ke) {
|
|
81088
81101
|
var At = Math.sign(Ke), It = Math.min(0.25, Math.abs(Oe * Ke / 128));
|
|
81089
81102
|
return 1 - At * It;
|
|
81090
81103
|
}
|
|
@@ -82032,18 +82045,18 @@ const mst = (e) => {
|
|
|
82032
82045
|
}), Ast = /* @__PURE__ */ pa(Sst, [["__scopeId", "data-v-9e6b21b8"]]);
|
|
82033
82046
|
class fst {
|
|
82034
82047
|
constructor() {
|
|
82035
|
-
|
|
82036
|
-
|
|
82037
|
-
|
|
82038
|
-
|
|
82039
|
-
|
|
82048
|
+
xn(this, "chatUid");
|
|
82049
|
+
xn(this, "type");
|
|
82050
|
+
xn(this, "text");
|
|
82051
|
+
xn(this, "mediaUrl");
|
|
82052
|
+
xn(this, "metadata");
|
|
82040
82053
|
}
|
|
82041
82054
|
}
|
|
82042
82055
|
var O1 = /* @__PURE__ */ ((e) => (e.MessageTypeText = "Text", e.MessageTypeMedia = "Media", e))(O1 || {});
|
|
82043
82056
|
class N1 {
|
|
82044
82057
|
constructor() {
|
|
82045
|
-
|
|
82046
|
-
|
|
82058
|
+
xn(this, "scheduleDate");
|
|
82059
|
+
xn(this, "file");
|
|
82047
82060
|
}
|
|
82048
82061
|
}
|
|
82049
82062
|
async function Ist(e, t, r, n) {
|
|
@@ -85837,8 +85850,8 @@ const Zlt = { class: "flex h-[100dvh] w-[100dvw] items-center justify-center ove
|
|
|
85837
85850
|
class yut extends Fr {
|
|
85838
85851
|
constructor(r, { configuration: n }) {
|
|
85839
85852
|
super(r);
|
|
85840
|
-
|
|
85841
|
-
|
|
85853
|
+
xn(this, "configuration");
|
|
85854
|
+
xn(this, "newDataSource");
|
|
85842
85855
|
this.newDataSource = r, this.configuration = n;
|
|
85843
85856
|
}
|
|
85844
85857
|
getBccReplyOption(r) {
|
|
@@ -85869,9 +85882,9 @@ class yut extends Fr {
|
|
|
85869
85882
|
}
|
|
85870
85883
|
class _ut {
|
|
85871
85884
|
constructor(t) {
|
|
85872
|
-
|
|
85873
|
-
|
|
85874
|
-
|
|
85885
|
+
xn(this, "style");
|
|
85886
|
+
xn(this, "optionIconURL");
|
|
85887
|
+
xn(this, "optionStyle");
|
|
85875
85888
|
this.style = t.style, this.optionIconURL = t.optionIconURL, this.optionStyle = t.optionStyle;
|
|
85876
85889
|
}
|
|
85877
85890
|
getReplyPreviewStyle() {
|
|
@@ -85890,7 +85903,7 @@ function Mut(e) {
|
|
|
85890
85903
|
class but extends Oo {
|
|
85891
85904
|
constructor({ configuration: r } = { configuration: new _ut({}) }) {
|
|
85892
85905
|
super();
|
|
85893
|
-
|
|
85906
|
+
xn(this, "configuration");
|
|
85894
85907
|
this.configuration = r;
|
|
85895
85908
|
}
|
|
85896
85909
|
enable() {
|
|
@@ -85913,8 +85926,8 @@ class Out extends Fr {
|
|
|
85913
85926
|
constructor(r) {
|
|
85914
85927
|
var n;
|
|
85915
85928
|
super(r);
|
|
85916
|
-
|
|
85917
|
-
|
|
85929
|
+
xn(this, "newDataSource");
|
|
85930
|
+
xn(this, "mainDataSource");
|
|
85918
85931
|
for (this.newDataSource = r, this.mainDataSource = lt.getDataSource(); (n = this.mainDataSource) != null && n.dataSource; ) this.mainDataSource = this.mainDataSource.dataSource;
|
|
85919
85932
|
}
|
|
85920
85933
|
getMessageOptions(r, n, a, i) {
|
|
@@ -85999,9 +86012,9 @@ class Nut extends Oo {
|
|
|
85999
86012
|
class Dut extends Fr {
|
|
86000
86013
|
constructor(r) {
|
|
86001
86014
|
super(r);
|
|
86002
|
-
|
|
86003
|
-
|
|
86004
|
-
|
|
86015
|
+
xn(this, "newDataSource");
|
|
86016
|
+
xn(this, "captionedAttachmentInput");
|
|
86017
|
+
xn(this, "chatInstance");
|
|
86005
86018
|
this.newDataSource = r, this.captionedAttachmentInput = document.createElement("input"), this.captionedAttachmentInput.style.display = "none", this.captionedAttachmentInput.type = "file", this.captionedAttachmentInput.accept = "image/*", this.captionedAttachmentInput.addEventListener("change", (n) => this.changeHandler(n));
|
|
86006
86019
|
}
|
|
86007
86020
|
getCaptionedImageAttachmentAction(r) {
|
|
@@ -86077,8 +86090,8 @@ const Fv = "reschedule", Lut = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cD
|
|
|
86077
86090
|
class wut extends Fr {
|
|
86078
86091
|
constructor(r, { configuration: n }) {
|
|
86079
86092
|
super(r);
|
|
86080
|
-
|
|
86081
|
-
|
|
86093
|
+
xn(this, "configuration");
|
|
86094
|
+
xn(this, "newDataSource");
|
|
86082
86095
|
this.newDataSource = r, this.configuration = n;
|
|
86083
86096
|
}
|
|
86084
86097
|
getRescheduleOption(r) {
|
|
@@ -86110,8 +86123,8 @@ class wut extends Fr {
|
|
|
86110
86123
|
}
|
|
86111
86124
|
class xut {
|
|
86112
86125
|
constructor(t) {
|
|
86113
|
-
|
|
86114
|
-
|
|
86126
|
+
xn(this, "optionIconURL");
|
|
86127
|
+
xn(this, "optionStyle");
|
|
86115
86128
|
this.optionIconURL = t.optionIconURL, this.optionStyle = t.optionStyle;
|
|
86116
86129
|
}
|
|
86117
86130
|
getOptionIconURL() {
|
|
@@ -86124,7 +86137,7 @@ class xut {
|
|
|
86124
86137
|
class kut extends Oo {
|
|
86125
86138
|
constructor({ configuration: r } = { configuration: new xut({}) }) {
|
|
86126
86139
|
super();
|
|
86127
|
-
|
|
86140
|
+
xn(this, "configuration");
|
|
86128
86141
|
this.configuration = r;
|
|
86129
86142
|
}
|
|
86130
86143
|
enable() {
|
|
@@ -86517,11 +86530,11 @@ const rct = /* @__PURE__ */ Tt({
|
|
|
86517
86530
|
}), oct = /* @__PURE__ */ pa(rct, [["__scopeId", "data-v-854aed21"]]);
|
|
86518
86531
|
class rl {
|
|
86519
86532
|
constructor() {
|
|
86520
|
-
|
|
86521
|
-
|
|
86522
|
-
|
|
86523
|
-
|
|
86524
|
-
|
|
86533
|
+
xn(this, "html");
|
|
86534
|
+
xn(this, "componentName");
|
|
86535
|
+
xn(this, "props");
|
|
86536
|
+
xn(this, "slots");
|
|
86537
|
+
xn(this, "listeners");
|
|
86525
86538
|
}
|
|
86526
86539
|
}
|
|
86527
86540
|
const act = Tt({
|