hx-live-client-plus 1.0.72 → 1.0.73

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.
@@ -907,8 +907,8 @@ For more detail, please visit: ${r}
907
907
  offsetY: 0
908
908
  };
909
909
  const s = (u) => {
910
- const c = u.clientX, d = u.clientY, { offsetX: v, offsetY: g } = r, y = i.value.getBoundingClientRect(), p = y.left, h = y.top, f = y.width, b = y.height, _ = document.documentElement.clientWidth, E = document.documentElement.clientHeight, S = -p + v, D = -h + g, w = _ - p - f + v, I = E - h - b + g, k = (U) => {
911
- let N = v + U.clientX - c, J = g + U.clientY - d;
910
+ const c = u.clientX, d = u.clientY, { offsetX: v, offsetY: g } = r, y = i.value.getBoundingClientRect(), p = y.left, h = y.top, f = y.width, b = y.height, _ = document.documentElement.clientWidth, E = document.documentElement.clientHeight, S = -p + v, D = -h + g, w = _ - p - f + v, I = E - h - b + g, k = (B) => {
911
+ let N = v + B.clientX - c, J = g + B.clientY - d;
912
912
  n != null && n.value || (N = Math.min(Math.max(N, S), w), J = Math.min(Math.max(J, D), I)), r = {
913
913
  offsetX: N,
914
914
  offsetY: J
@@ -1693,13 +1693,13 @@ const N8 = xs({
1693
1693
  }), R = Ve(() => {
1694
1694
  var Re;
1695
1695
  return (Re = c == null ? void 0 : c.statusIcon) != null ? Re : !1;
1696
- }), U = Ve(() => (d == null ? void 0 : d.validateState) || ""), N = Ve(() => U.value && YE[U.value]), J = Ve(() => E.value ? WE : VE), se = Ve(() => [
1696
+ }), B = Ve(() => (d == null ? void 0 : d.validateState) || ""), N = Ve(() => B.value && YE[B.value]), J = Ve(() => E.value ? WE : VE), se = Ve(() => [
1697
1697
  r.style
1698
1698
  ]), X = Ve(() => [
1699
1699
  n.inputStyle,
1700
1700
  D.value,
1701
1701
  { resize: n.resize }
1702
- ]), F = Ve(() => h_(n.modelValue) ? "" : String(n.modelValue)), L = Ve(() => n.clearable && !y.value && !n.readonly && !!F.value && (k.value || _.value)), H = Ve(() => n.showPassword && !y.value && !n.readonly && !!F.value && (!!F.value || k.value)), q = Ve(() => n.showWordLimit && !!n.maxlength && (n.type === "text" || n.type === "textarea") && !y.value && !n.readonly && !n.showPassword), V = Ve(() => F.value.length), G = Ve(() => !!q.value && V.value > Number(n.maxlength)), ue = Ve(() => !!s.suffix || !!n.suffixIcon || L.value || n.showPassword || q.value || !!U.value && R.value), [we, _e] = v8(f);
1702
+ ]), F = Ve(() => h_(n.modelValue) ? "" : String(n.modelValue)), L = Ve(() => n.clearable && !y.value && !n.readonly && !!F.value && (k.value || _.value)), H = Ve(() => n.showPassword && !y.value && !n.readonly && !!F.value && (!!F.value || k.value)), q = Ve(() => n.showWordLimit && !!n.maxlength && (n.type === "text" || n.type === "textarea") && !y.value && !n.readonly && !n.showPassword), V = Ve(() => F.value.length), G = Ve(() => !!q.value && V.value > Number(n.maxlength)), ue = Ve(() => !!s.suffix || !!n.suffixIcon || L.value || n.showPassword || q.value || !!B.value && R.value), [we, _e] = v8(f);
1703
1703
  i_(b, (Re) => {
1704
1704
  if (Se(), !q.value || n.resize !== "both")
1705
1705
  return;
@@ -1911,12 +1911,12 @@ const N8 = xs({
1911
1911
  class: et(De(p).e("count-inner"))
1912
1912
  }, Ye(De(V)) + " / " + Ye(Re.maxlength), 3)
1913
1913
  ], 2)) : We("v-if", !0),
1914
- De(U) && De(N) && De(R) ? (ee(), ft(De(Xr), {
1914
+ De(B) && De(N) && De(R) ? (ee(), ft(De(Xr), {
1915
1915
  key: 4,
1916
1916
  class: et([
1917
1917
  De(p).e("icon"),
1918
1918
  De(p).e("validateIcon"),
1919
- De(p).is("loading", De(U) === "validating")
1919
+ De(p).is("loading", De(B) === "validating")
1920
1920
  ])
1921
1921
  }, {
1922
1922
  default: Me(() => [
@@ -3069,8 +3069,8 @@ function I5() {
3069
3069
  if (I(se)) return se.clone();
3070
3070
  var F = typeof X == "object" ? X : {};
3071
3071
  return F.date = se, F.args = arguments, new N(F);
3072
- }, U = E;
3073
- U.l = k, U.i = I, U.w = function(se, X) {
3072
+ }, B = E;
3073
+ B.l = k, B.i = I, B.w = function(se, X) {
3074
3074
  return R(se, { locale: X.$L, utc: X.$u, x: X.$x, $offset: X.$offset });
3075
3075
  };
3076
3076
  var N = function() {
@@ -3082,7 +3082,7 @@ function I5() {
3082
3082
  this.$d = function(L) {
3083
3083
  var H = L.date, q = L.utc;
3084
3084
  if (H === null) return /* @__PURE__ */ new Date(NaN);
3085
- if (U.u(H)) return /* @__PURE__ */ new Date();
3085
+ if (B.u(H)) return /* @__PURE__ */ new Date();
3086
3086
  if (H instanceof Date) return new Date(H);
3087
3087
  if (typeof H == "string" && !/Z$/i.test(H)) {
3088
3088
  var V = H.match(h);
@@ -3097,7 +3097,7 @@ function I5() {
3097
3097
  var F = this.$d;
3098
3098
  this.$y = F.getFullYear(), this.$M = F.getMonth(), this.$D = F.getDate(), this.$W = F.getDay(), this.$H = F.getHours(), this.$m = F.getMinutes(), this.$s = F.getSeconds(), this.$ms = F.getMilliseconds();
3099
3099
  }, X.$utils = function() {
3100
- return U;
3100
+ return B;
3101
3101
  }, X.isValid = function() {
3102
3102
  return this.$d.toString() !== p;
3103
3103
  }, X.isSame = function(F, L) {
@@ -3108,17 +3108,17 @@ function I5() {
3108
3108
  }, X.isBefore = function(F, L) {
3109
3109
  return this.endOf(L) < R(F);
3110
3110
  }, X.$g = function(F, L, H) {
3111
- return U.u(F) ? this[L] : this.set(H, F);
3111
+ return B.u(F) ? this[L] : this.set(H, F);
3112
3112
  }, X.unix = function() {
3113
3113
  return Math.floor(this.valueOf() / 1e3);
3114
3114
  }, X.valueOf = function() {
3115
3115
  return this.$d.getTime();
3116
3116
  }, X.startOf = function(F, L) {
3117
- var H = this, q = !!U.u(L) || L, V = U.p(F), G = function(tt, Fe) {
3118
- var st = U.w(H.$u ? Date.UTC(H.$y, Fe, tt) : new Date(H.$y, Fe, tt), H);
3117
+ var H = this, q = !!B.u(L) || L, V = B.p(F), G = function(tt, Fe) {
3118
+ var st = B.w(H.$u ? Date.UTC(H.$y, Fe, tt) : new Date(H.$y, Fe, tt), H);
3119
3119
  return q ? st : st.endOf(u);
3120
3120
  }, ue = function(tt, Fe) {
3121
- return U.w(H.toDate()[tt].apply(H.toDate("s"), (q ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Fe)), H);
3121
+ return B.w(H.toDate()[tt].apply(H.toDate("s"), (q ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Fe)), H);
3122
3122
  }, we = this.$W, _e = this.$M, ne = this.$D, Te = "set" + (this.$u ? "UTC" : "");
3123
3123
  switch (V) {
3124
3124
  case g:
@@ -3143,7 +3143,7 @@ function I5() {
3143
3143
  }, X.endOf = function(F) {
3144
3144
  return this.startOf(F, !1);
3145
3145
  }, X.$set = function(F, L) {
3146
- var H, q = U.p(F), V = "set" + (this.$u ? "UTC" : ""), G = (H = {}, H[u] = V + "Date", H[y] = V + "Date", H[d] = V + "Month", H[g] = V + "FullYear", H[l] = V + "Hours", H[o] = V + "Minutes", H[a] = V + "Seconds", H[s] = V + "Milliseconds", H)[q], ue = q === u ? this.$D + (L - this.$W) : L;
3146
+ var H, q = B.p(F), V = "set" + (this.$u ? "UTC" : ""), G = (H = {}, H[u] = V + "Date", H[y] = V + "Date", H[d] = V + "Month", H[g] = V + "FullYear", H[l] = V + "Hours", H[o] = V + "Minutes", H[a] = V + "Seconds", H[s] = V + "Milliseconds", H)[q], ue = q === u ? this.$D + (L - this.$W) : L;
3147
3147
  if (q === d || q === g) {
3148
3148
  var we = this.clone().set(y, 1);
3149
3149
  we.$d[G](ue), we.init(), this.$d = we.set(y, Math.min(this.$D, we.daysInMonth())).$d;
@@ -3152,29 +3152,29 @@ function I5() {
3152
3152
  }, X.set = function(F, L) {
3153
3153
  return this.clone().$set(F, L);
3154
3154
  }, X.get = function(F) {
3155
- return this[U.p(F)]();
3155
+ return this[B.p(F)]();
3156
3156
  }, X.add = function(F, L) {
3157
3157
  var H, q = this;
3158
3158
  F = Number(F);
3159
- var V = U.p(L), G = function(_e) {
3159
+ var V = B.p(L), G = function(_e) {
3160
3160
  var ne = R(q);
3161
- return U.w(ne.date(ne.date() + Math.round(_e * F)), q);
3161
+ return B.w(ne.date(ne.date() + Math.round(_e * F)), q);
3162
3162
  };
3163
3163
  if (V === d) return this.set(d, this.$M + F);
3164
3164
  if (V === g) return this.set(g, this.$y + F);
3165
3165
  if (V === u) return G(1);
3166
3166
  if (V === c) return G(7);
3167
3167
  var ue = (H = {}, H[o] = n, H[l] = r, H[a] = t, H)[V] || 1, we = this.$d.getTime() + F * ue;
3168
- return U.w(we, this);
3168
+ return B.w(we, this);
3169
3169
  }, X.subtract = function(F, L) {
3170
3170
  return this.add(-1 * F, L);
3171
3171
  }, X.format = function(F) {
3172
3172
  var L = this, H = this.$locale();
3173
3173
  if (!this.isValid()) return H.invalidDate || p;
3174
- var q = F || "YYYY-MM-DDTHH:mm:ssZ", V = U.z(this), G = this.$H, ue = this.$m, we = this.$M, _e = H.weekdays, ne = H.months, Te = H.meridiem, Se = function(Fe, st, Ne, Ke) {
3174
+ var q = F || "YYYY-MM-DDTHH:mm:ssZ", V = B.z(this), G = this.$H, ue = this.$m, we = this.$M, _e = H.weekdays, ne = H.months, Te = H.meridiem, Se = function(Fe, st, Ne, Ke) {
3175
3175
  return Fe && (Fe[st] || Fe(L, q)) || Ne[st].slice(0, Ke);
3176
3176
  }, He = function(Fe) {
3177
- return U.s(G % 12 || 12, Fe, "0");
3177
+ return B.s(G % 12 || 12, Fe, "0");
3178
3178
  }, tt = Te || function(Fe, st, Ne) {
3179
3179
  var Ke = Fe < 12 ? "AM" : "PM";
3180
3180
  return Ne ? Ke.toLowerCase() : Ke;
@@ -3185,11 +3185,11 @@ function I5() {
3185
3185
  case "YY":
3186
3186
  return String(L.$y).slice(-2);
3187
3187
  case "YYYY":
3188
- return U.s(L.$y, 4, "0");
3188
+ return B.s(L.$y, 4, "0");
3189
3189
  case "M":
3190
3190
  return we + 1;
3191
3191
  case "MM":
3192
- return U.s(we + 1, 2, "0");
3192
+ return B.s(we + 1, 2, "0");
3193
3193
  case "MMM":
3194
3194
  return Se(H.monthsShort, we, ne, 3);
3195
3195
  case "MMMM":
@@ -3197,7 +3197,7 @@ function I5() {
3197
3197
  case "D":
3198
3198
  return L.$D;
3199
3199
  case "DD":
3200
- return U.s(L.$D, 2, "0");
3200
+ return B.s(L.$D, 2, "0");
3201
3201
  case "d":
3202
3202
  return String(L.$W);
3203
3203
  case "dd":
@@ -3209,7 +3209,7 @@ function I5() {
3209
3209
  case "H":
3210
3210
  return String(G);
3211
3211
  case "HH":
3212
- return U.s(G, 2, "0");
3212
+ return B.s(G, 2, "0");
3213
3213
  case "h":
3214
3214
  return He(1);
3215
3215
  case "hh":
@@ -3221,13 +3221,13 @@ function I5() {
3221
3221
  case "m":
3222
3222
  return String(ue);
3223
3223
  case "mm":
3224
- return U.s(ue, 2, "0");
3224
+ return B.s(ue, 2, "0");
3225
3225
  case "s":
3226
3226
  return String(L.$s);
3227
3227
  case "ss":
3228
- return U.s(L.$s, 2, "0");
3228
+ return B.s(L.$s, 2, "0");
3229
3229
  case "SSS":
3230
- return U.s(L.$ms, 3, "0");
3230
+ return B.s(L.$ms, 3, "0");
3231
3231
  case "Z":
3232
3232
  return V;
3233
3233
  }
@@ -3237,8 +3237,8 @@ function I5() {
3237
3237
  }, X.utcOffset = function() {
3238
3238
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
3239
3239
  }, X.diff = function(F, L, H) {
3240
- var q, V = this, G = U.p(L), ue = R(F), we = (ue.utcOffset() - this.utcOffset()) * n, _e = this - ue, ne = function() {
3241
- return U.m(V, ue);
3240
+ var q, V = this, G = B.p(L), ue = R(F), we = (ue.utcOffset() - this.utcOffset()) * n, _e = this - ue, ne = function() {
3241
+ return B.m(V, ue);
3242
3242
  };
3243
3243
  switch (G) {
3244
3244
  case g:
@@ -3268,7 +3268,7 @@ function I5() {
3268
3268
  default:
3269
3269
  q = _e;
3270
3270
  }
3271
- return H ? q : U.a(q);
3271
+ return H ? q : B.a(q);
3272
3272
  }, X.daysInMonth = function() {
3273
3273
  return this.endOf(d).$D;
3274
3274
  }, X.$locale = function() {
@@ -3278,7 +3278,7 @@ function I5() {
3278
3278
  var H = this.clone(), q = k(F, L, !0);
3279
3279
  return q && (H.$L = q), H;
3280
3280
  }, X.clone = function() {
3281
- return U.w(this.$d, this);
3281
+ return B.w(this.$d, this);
3282
3282
  }, X.toDate = function() {
3283
3283
  return new Date(this.valueOf());
3284
3284
  }, X.toJSON = function() {
@@ -3784,11 +3784,11 @@ const Yi = JE(zo, "$message"), J5 = pn({
3784
3784
  }));
3785
3785
  }
3786
3786
  const I = () => {
3787
- i.closeOnClickModal && U(u.distinguishCancelAndClose ? "close" : "cancel");
3787
+ i.closeOnClickModal && B(u.distinguishCancelAndClose ? "close" : "cancel");
3788
3788
  }, k = P_(I), R = (F) => {
3789
3789
  if (u.inputType !== "textarea")
3790
- return F.preventDefault(), U("confirm");
3791
- }, U = (F) => {
3790
+ return F.preventDefault(), B("confirm");
3791
+ }, B = (F) => {
3792
3792
  var L;
3793
3793
  i.boxType === "prompt" && F === "confirm" && !N() || (u.action = F, u.beforeClose ? (L = u.beforeClose) == null || L.call(u, F, u, w) : w());
3794
3794
  }, N = () => {
@@ -3810,7 +3810,7 @@ const Yi = JE(zo, "$message"), J5 = pn({
3810
3810
  const F = b.value.$refs;
3811
3811
  return F.input || F.textarea;
3812
3812
  }, se = () => {
3813
- U("close");
3813
+ B("close");
3814
3814
  }, X = () => {
3815
3815
  i.closeOnPressEscape && se();
3816
3816
  };
@@ -3836,7 +3836,7 @@ const Yi = JE(zo, "$message"), J5 = pn({
3836
3836
  onCloseRequested: X,
3837
3837
  handleWrapperClick: I,
3838
3838
  handleInputEnter: R,
3839
- handleAction: U,
3839
+ handleAction: B,
3840
3840
  t: a
3841
3841
  };
3842
3842
  }
@@ -6343,7 +6343,7 @@ function sA() {
6343
6343
  }
6344
6344
  var D = g.xhr || null;
6345
6345
  D || (g.cors || g.useXDR ? D = new u.XDomainRequest() : D = new u.XMLHttpRequest());
6346
- var w, I, k = D.url = g.uri || g.url, R = D.method = g.method || "GET", U = g.body || g.data, N = D.headers = g.headers || {}, J = !!g.sync, se = !1, X, F = {
6346
+ var w, I, k = D.url = g.uri || g.url, R = D.method = g.method || "GET", B = g.body || g.data, N = D.headers = g.headers || {}, J = !!g.sync, se = !1, X, F = {
6347
6347
  body: void 0,
6348
6348
  headers: {},
6349
6349
  statusCode: 0,
@@ -6351,7 +6351,7 @@ function sA() {
6351
6351
  url: k,
6352
6352
  rawRequest: D
6353
6353
  };
6354
- if ("json" in g && g.json !== !1 && (se = !0, N.accept || N.Accept || (N.Accept = "application/json"), R !== "GET" && R !== "HEAD" && (N["content-type"] || N["Content-Type"] || (N["Content-Type"] = "application/json"), U = JSON.stringify(g.json === !0 ? U : g.json))), D.onreadystatechange = b, D.onload = S, D.onerror = E, D.onprogress = function() {
6354
+ if ("json" in g && g.json !== !1 && (se = !0, N.accept || N.Accept || (N.Accept = "application/json"), R !== "GET" && R !== "HEAD" && (N["content-type"] || N["Content-Type"] || (N["Content-Type"] = "application/json"), B = JSON.stringify(g.json === !0 ? B : g.json))), D.onreadystatechange = b, D.onload = S, D.onerror = E, D.onprogress = function() {
6355
6355
  }, D.onabort = function() {
6356
6356
  I = !0, clearTimeout(g.retryTimeout);
6357
6357
  }, D.ontimeout = E, D.open(R, k, !J, g.username, g.password), J || (D.withCredentials = !!g.withCredentials), !J && g.timeout > 0 && (X = setTimeout(function() {
@@ -6365,7 +6365,7 @@ function sA() {
6365
6365
  N.hasOwnProperty(w) && D.setRequestHeader(w, N[w]);
6366
6366
  else if (g.headers && !o(g.headers))
6367
6367
  throw new Error("Headers cannot be set on an XDomainRequest object");
6368
- return "responseType" in g && (D.responseType = g.responseType), "beforeSend" in g && typeof g.beforeSend == "function" && g.beforeSend(D), D.send(U || null), D;
6368
+ return "responseType" in g && (D.responseType = g.responseType), "beforeSend" in g && typeof g.beforeSend == "function" && g.beforeSend(D), D.send(B || null), D;
6369
6369
  }
6370
6370
  function d(g) {
6371
6371
  try {
@@ -6414,8 +6414,8 @@ function oA() {
6414
6414
  function R(N, J, se, X) {
6415
6415
  return (N | 0) * 3600 + (J | 0) * 60 + (se | 0) + (X | 0) / 1e3;
6416
6416
  }
6417
- var U = k.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);
6418
- return U ? U[3] ? R(U[1], U[2], U[3].replace(":", ""), U[4]) : U[1] > 59 ? R(U[1], U[2], 0, U[4]) : R(0, U[1], U[2], U[4]) : null;
6417
+ var B = k.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);
6418
+ return B ? B[3] ? R(B[1], B[2], B[3].replace(":", ""), B[4]) : B[1] > 59 ? R(B[1], B[2], 0, B[4]) : R(0, B[1], B[2], B[4]) : null;
6419
6419
  }
6420
6420
  function r() {
6421
6421
  this.values = e(null);
@@ -6430,17 +6430,17 @@ function oA() {
6430
6430
  // a number of possible default values as properties where 'defaultKey' is
6431
6431
  // the key of the property that will be chosen; otherwise it's assumed to be
6432
6432
  // a single value.
6433
- get: function(k, R, U) {
6434
- return U ? this.has(k) ? this.values[k] : R[U] : this.has(k) ? this.values[k] : R;
6433
+ get: function(k, R, B) {
6434
+ return B ? this.has(k) ? this.values[k] : R[B] : this.has(k) ? this.values[k] : R;
6435
6435
  },
6436
6436
  // Check whether we have a value for a key.
6437
6437
  has: function(k) {
6438
6438
  return k in this.values;
6439
6439
  },
6440
6440
  // Accept a setting if its one of the given alternatives.
6441
- alt: function(k, R, U) {
6442
- for (var N = 0; N < U.length; ++N)
6443
- if (R === U[N]) {
6441
+ alt: function(k, R, B) {
6442
+ for (var N = 0; N < B.length; ++N)
6443
+ if (R === B[N]) {
6444
6444
  this.set(k, R);
6445
6445
  break;
6446
6446
  }
@@ -6454,18 +6454,18 @@ function oA() {
6454
6454
  return R.match(/^([\d]{1,3})(\.[\d]*)?%$/) && (R = parseFloat(R), R >= 0 && R <= 100) ? (this.set(k, R), !0) : !1;
6455
6455
  }
6456
6456
  };
6457
- function s(k, R, U, N) {
6457
+ function s(k, R, B, N) {
6458
6458
  var J = N ? k.split(N) : [k];
6459
6459
  for (var se in J)
6460
6460
  if (typeof J[se] == "string") {
6461
- var X = J[se].split(U);
6461
+ var X = J[se].split(B);
6462
6462
  if (X.length === 2) {
6463
6463
  var F = X[0].trim(), L = X[1].trim();
6464
6464
  R(F, L);
6465
6465
  }
6466
6466
  }
6467
6467
  }
6468
- function a(k, R, U) {
6468
+ function a(k, R, B) {
6469
6469
  var N = k;
6470
6470
  function J() {
6471
6471
  var F = n(k);
@@ -6481,9 +6481,9 @@ function oA() {
6481
6481
  s(F, function(q, V) {
6482
6482
  switch (q) {
6483
6483
  case "region":
6484
- for (var G = U.length - 1; G >= 0; G--)
6485
- if (U[G].id === V) {
6486
- H.set(q, U[G].region);
6484
+ for (var G = B.length - 1; G >= 0; G--)
6485
+ if (B[G].id === V) {
6486
+ H.set(q, B[G].region);
6487
6487
  break;
6488
6488
  }
6489
6489
  break;
@@ -6571,7 +6571,7 @@ function oA() {
6571
6571
  rt: "ruby"
6572
6572
  };
6573
6573
  function v(k, R) {
6574
- function U() {
6574
+ function B() {
6575
6575
  if (!R)
6576
6576
  return null;
6577
6577
  function we(ne) {
@@ -6593,7 +6593,7 @@ function oA() {
6593
6593
  var Te = k.document.createElement(ne), Se = c[we];
6594
6594
  return Se && _e && (Te[Se] = _e.trim()), Te;
6595
6595
  }
6596
- for (var X = k.document.createElement("div"), F = X, L, H = []; (L = U()) !== null; ) {
6596
+ for (var X = k.document.createElement("div"), F = X, L, H = []; (L = B()) !== null; ) {
6597
6597
  if (L[0] === "<") {
6598
6598
  if (L[1] === "/") {
6599
6599
  H.length && H[H.length - 1] === L.substr(2).replace(">", "") && (H.pop(), F = F.parentNode);
@@ -6733,14 +6733,14 @@ function oA() {
6733
6733
  ];
6734
6734
  function y(k) {
6735
6735
  for (var R = 0; R < g.length; R++) {
6736
- var U = g[R];
6737
- if (k >= U[0] && k <= U[1])
6736
+ var B = g[R];
6737
+ if (k >= B[0] && k <= B[1])
6738
6738
  return !0;
6739
6739
  }
6740
6740
  return !1;
6741
6741
  }
6742
6742
  function p(k) {
6743
- var R = [], U = "", N;
6743
+ var R = [], B = "", N;
6744
6744
  if (!k || !k.childNodes)
6745
6745
  return "ltr";
6746
6746
  function J(F, L) {
@@ -6760,9 +6760,9 @@ function oA() {
6760
6760
  if (L.childNodes)
6761
6761
  return J(F, L), se(F);
6762
6762
  }
6763
- for (J(R, k); U = se(R); )
6764
- for (var X = 0; X < U.length; X++)
6765
- if (N = U.charCodeAt(X), y(N))
6763
+ for (J(R, k); B = se(R); )
6764
+ for (var X = 0; X < B.length; X++)
6765
+ if (N = B.charCodeAt(X), y(N))
6766
6766
  return "rtl";
6767
6767
  return "ltr";
6768
6768
  }
@@ -6771,20 +6771,20 @@ function oA() {
6771
6771
  return k.line;
6772
6772
  if (!k.track || !k.track.textTrackList || !k.track.textTrackList.mediaElement)
6773
6773
  return -1;
6774
- for (var R = k.track, U = R.textTrackList, N = 0, J = 0; J < U.length && U[J] !== R; J++)
6775
- U[J].mode === "showing" && N++;
6774
+ for (var R = k.track, B = R.textTrackList, N = 0, J = 0; J < B.length && B[J] !== R; J++)
6775
+ B[J].mode === "showing" && N++;
6776
6776
  return ++N * -1;
6777
6777
  }
6778
6778
  function f() {
6779
6779
  }
6780
6780
  f.prototype.applyStyles = function(k, R) {
6781
6781
  R = R || this.div;
6782
- for (var U in k)
6783
- k.hasOwnProperty(U) && (R.style[U] = k[U]);
6782
+ for (var B in k)
6783
+ k.hasOwnProperty(B) && (R.style[B] = k[B]);
6784
6784
  }, f.prototype.formatStyle = function(k, R) {
6785
6785
  return k === 0 ? 0 : k + R;
6786
6786
  };
6787
- function b(k, R, U) {
6787
+ function b(k, R, B) {
6788
6788
  f.call(this), this.cue = R, this.cueDiv = v(k, R.text);
6789
6789
  var N = {
6790
6790
  color: "rgba(255, 255, 255, 1)",
@@ -6803,7 +6803,7 @@ function oA() {
6803
6803
  writingMode: R.vertical === "" ? "horizontal-tb" : R.vertical === "lr" ? "vertical-lr" : "vertical-rl",
6804
6804
  unicodeBidi: "plaintext",
6805
6805
  textAlign: R.align === "middle" ? "center" : R.align,
6806
- font: U.font,
6806
+ font: B.font,
6807
6807
  whiteSpace: "pre-line",
6808
6808
  position: "absolute"
6809
6809
  }, this.applyStyles(N), this.div.appendChild(this.cueDiv);
@@ -6840,13 +6840,13 @@ function oA() {
6840
6840
  }
6841
6841
  b.prototype = e(f.prototype), b.prototype.constructor = b;
6842
6842
  function _(k) {
6843
- var R, U, N, J;
6843
+ var R, B, N, J;
6844
6844
  if (k.div) {
6845
- U = k.div.offsetHeight, N = k.div.offsetWidth, J = k.div.offsetTop;
6845
+ B = k.div.offsetHeight, N = k.div.offsetWidth, J = k.div.offsetTop;
6846
6846
  var se = (se = k.div.childNodes) && (se = se[0]) && se.getClientRects && se.getClientRects();
6847
6847
  k = k.div.getBoundingClientRect(), R = se ? Math.max(se[0] && se[0].height || 0, k.height / se.length) : 0;
6848
6848
  }
6849
- this.left = k.left, this.right = k.right, this.top = k.top || J, this.height = k.height || U, this.bottom = k.bottom || J + (k.height || U), this.width = k.width || N, this.lineHeight = R !== void 0 ? R : k.lineHeight;
6849
+ this.left = k.left, this.right = k.right, this.top = k.top || J, this.height = k.height || B, this.bottom = k.bottom || J + (k.height || B), this.width = k.width || N, this.lineHeight = R !== void 0 ? R : k.lineHeight;
6850
6850
  }
6851
6851
  _.prototype.move = function(k, R) {
6852
6852
  switch (R = R !== void 0 ? R : this.lineHeight, k) {
@@ -6884,7 +6884,7 @@ function oA() {
6884
6884
  return this.bottom > k.bottom;
6885
6885
  }
6886
6886
  }, _.prototype.intersectPercentage = function(k) {
6887
- var R = Math.max(0, Math.min(this.right, k.right) - Math.max(this.left, k.left)), U = Math.max(0, Math.min(this.bottom, k.bottom) - Math.max(this.top, k.top)), N = R * U;
6887
+ var R = Math.max(0, Math.min(this.right, k.right) - Math.max(this.left, k.left)), B = Math.max(0, Math.min(this.bottom, k.bottom) - Math.max(this.top, k.top)), N = R * B;
6888
6888
  return N / (this.height * this.width);
6889
6889
  }, _.prototype.toCSSCompatValues = function(k) {
6890
6890
  return {
@@ -6896,7 +6896,7 @@ function oA() {
6896
6896
  width: this.width
6897
6897
  };
6898
6898
  }, _.getSimpleBoxPosition = function(k) {
6899
- var R = k.div ? k.div.offsetHeight : k.tagName ? k.offsetHeight : 0, U = k.div ? k.div.offsetWidth : k.tagName ? k.offsetWidth : 0, N = k.div ? k.div.offsetTop : k.tagName ? k.offsetTop : 0;
6899
+ var R = k.div ? k.div.offsetHeight : k.tagName ? k.offsetHeight : 0, B = k.div ? k.div.offsetWidth : k.tagName ? k.offsetWidth : 0, N = k.div ? k.div.offsetTop : k.tagName ? k.offsetTop : 0;
6900
6900
  k = k.div ? k.div.getBoundingClientRect() : k.tagName ? k.getBoundingClientRect() : k;
6901
6901
  var J = {
6902
6902
  left: k.left,
@@ -6904,18 +6904,18 @@ function oA() {
6904
6904
  top: k.top || N,
6905
6905
  height: k.height || R,
6906
6906
  bottom: k.bottom || N + (k.height || R),
6907
- width: k.width || U
6907
+ width: k.width || B
6908
6908
  };
6909
6909
  return J;
6910
6910
  };
6911
- function E(k, R, U, N) {
6911
+ function E(k, R, B, N) {
6912
6912
  function J(ne, Te) {
6913
6913
  for (var Se, He = new _(ne), tt = 1, Fe = 0; Fe < Te.length; Fe++) {
6914
- for (; ne.overlapsOppositeAxis(U, Te[Fe]) || ne.within(U) && ne.overlapsAny(N); )
6914
+ for (; ne.overlapsOppositeAxis(B, Te[Fe]) || ne.within(B) && ne.overlapsAny(N); )
6915
6915
  ne.move(Te[Fe]);
6916
- if (ne.within(U))
6916
+ if (ne.within(B))
6917
6917
  return ne;
6918
- var st = ne.intersectPercentage(U);
6918
+ var st = ne.intersectPercentage(B);
6919
6919
  tt > st && (Se = new _(ne), tt = st), ne = new _(He);
6920
6920
  }
6921
6921
  return Se || He;
@@ -6934,10 +6934,10 @@ function oA() {
6934
6934
  L = ["-x", "+x"], H = "width";
6935
6935
  break;
6936
6936
  }
6937
- var q = se.lineHeight, V = q * Math.round(F), G = U[H] + q, ue = L[0];
6938
- Math.abs(V) > G && (V = V < 0 ? -1 : 1, V *= Math.ceil(G / q) * q), F < 0 && (V += X.vertical === "" ? U.height : U.width, L = L.reverse()), se.move(ue, V);
6937
+ var q = se.lineHeight, V = q * Math.round(F), G = B[H] + q, ue = L[0];
6938
+ Math.abs(V) > G && (V = V < 0 ? -1 : 1, V *= Math.ceil(G / q) * q), F < 0 && (V += X.vertical === "" ? B.height : B.width, L = L.reverse()), se.move(ue, V);
6939
6939
  } else {
6940
- var we = se.lineHeight / U.height * 100;
6940
+ var we = se.lineHeight / B.height * 100;
6941
6941
  switch (X.lineAlign) {
6942
6942
  case "center":
6943
6943
  F -= we / 2;
@@ -6966,7 +6966,7 @@ function oA() {
6966
6966
  L = ["+y", "-x", "+x", "-y"], se = new _(R);
6967
6967
  }
6968
6968
  var _e = J(se, L);
6969
- R.move(_e.toCSSCompatValues(U));
6969
+ R.move(_e.toCSSCompatValues(B));
6970
6970
  }
6971
6971
  function S() {
6972
6972
  }
@@ -6984,13 +6984,13 @@ function oA() {
6984
6984
  return !k || !R ? null : v(k, R);
6985
6985
  };
6986
6986
  var D = 0.05, w = "sans-serif", I = "1.5%";
6987
- return S.processCues = function(k, R, U) {
6988
- if (!k || !R || !U)
6987
+ return S.processCues = function(k, R, B) {
6988
+ if (!k || !R || !B)
6989
6989
  return null;
6990
- for (; U.firstChild; )
6991
- U.removeChild(U.firstChild);
6990
+ for (; B.firstChild; )
6991
+ B.removeChild(B.firstChild);
6992
6992
  var N = k.document.createElement("div");
6993
- N.style.position = "absolute", N.style.left = "0", N.style.right = "0", N.style.top = "0", N.style.bottom = "0", N.style.margin = I, U.appendChild(N);
6993
+ N.style.position = "absolute", N.style.left = "0", N.style.right = "0", N.style.top = "0", N.style.bottom = "0", N.style.margin = I, B.appendChild(N);
6994
6994
  function J(q) {
6995
6995
  for (var V = 0; V < q.length; V++)
6996
6996
  if (q[V].hasBeenReset || !q[V].displayState)
@@ -7009,8 +7009,8 @@ function oA() {
7009
7009
  for (var q, V, G = 0; G < R.length; G++)
7010
7010
  V = R[G], q = new b(k, V, H), N.appendChild(q.div), E(k, q, F, X), V.displayState = q.div, X.push(_.getSimpleBoxPosition(q));
7011
7011
  })();
7012
- }, S.Parser = function(k, R, U) {
7013
- U || (U = R, R = {}), R || (R = {}), this.window = k, this.vttjs = R, this.state = "INITIAL", this.buffer = "", this.decoder = U || new TextDecoder("utf8"), this.regionList = [];
7012
+ }, S.Parser = function(k, R, B) {
7013
+ B || (B = R, R = {}), R || (R = {}), this.window = k, this.vttjs = R, this.state = "INITIAL", this.buffer = "", this.decoder = B || new TextDecoder("utf8"), this.regionList = [];
7014
7014
  }, S.Parser.prototype = {
7015
7015
  // If the error is a ParsingError then report it to the consumer if
7016
7016
  // possible. If it's not a ParsingError then throw it like normal.
@@ -7023,7 +7023,7 @@ function oA() {
7023
7023
  parse: function(k) {
7024
7024
  var R = this;
7025
7025
  k && (R.buffer += R.decoder.decode(k, { stream: !0 }));
7026
- function U() {
7026
+ function B() {
7027
7027
  for (var q = R.buffer, V = 0; V < q.length && q[V] !== "\r" && q[V] !== `
7028
7028
  `; )
7029
7029
  ++V;
@@ -7102,7 +7102,7 @@ function oA() {
7102
7102
  if (R.state === "INITIAL") {
7103
7103
  if (!/\r\n|\n/.test(R.buffer))
7104
7104
  return this;
7105
- X = U();
7105
+ X = B();
7106
7106
  var F = X.match(/^WEBVTT([ \t].*)?$/);
7107
7107
  if (!F || !F[0])
7108
7108
  throw new t(t.Errors.BadSignature);
@@ -7111,7 +7111,7 @@ function oA() {
7111
7111
  for (var L = !1; R.buffer; ) {
7112
7112
  if (!/\r\n|\n/.test(R.buffer))
7113
7113
  return this;
7114
- switch (L ? L = !1 : X = U(), R.state) {
7114
+ switch (L ? L = !1 : X = B(), R.state) {
7115
7115
  case "HEADER":
7116
7116
  /:/.test(X) ? se(X) : X || (R.state = "ID");
7117
7117
  continue;
@@ -8706,7 +8706,7 @@ function IT() {
8706
8706
  w.WRONG_DOCUMENT_ERR = (I[4] = "Wrong document", 4), w.INVALID_CHARACTER_ERR = (I[5] = "Invalid character", 5), w.NO_DATA_ALLOWED_ERR = (I[6] = "No data allowed", 6), w.NO_MODIFICATION_ALLOWED_ERR = (I[7] = "No modification allowed", 7);
8707
8707
  var R = w.NOT_FOUND_ERR = (I[8] = "Not found", 8);
8708
8708
  w.NOT_SUPPORTED_ERR = (I[9] = "Not supported", 9);
8709
- var U = w.INUSE_ATTRIBUTE_ERR = (I[10] = "Attribute in use", 10);
8709
+ var B = w.INUSE_ATTRIBUTE_ERR = (I[10] = "Attribute in use", 10);
8710
8710
  w.INVALID_STATE_ERR = (I[11] = "Invalid state", 11), w.SYNTAX_ERR = (I[12] = "Syntax error", 12), w.INVALID_MODIFICATION_ERR = (I[13] = "Invalid modification", 13), w.NAMESPACE_ERR = (I[14] = "Invalid namespace", 14), w.INVALID_ACCESS_ERR = (I[15] = "Invalid access", 15);
8711
8711
  function N($, z) {
8712
8712
  if (z instanceof Error)
@@ -8812,7 +8812,7 @@ function IT() {
8812
8812
  setNamedItem: function($) {
8813
8813
  var z = $.ownerElement;
8814
8814
  if (z && z != this._ownerElement)
8815
- throw new N(U);
8815
+ throw new N(B);
8816
8816
  var oe = this.getNamedItem($.nodeName);
8817
8817
  return H(this._ownerElement, this, $, oe), oe;
8818
8818
  },
@@ -8820,7 +8820,7 @@ function IT() {
8820
8820
  setNamedItemNS: function($) {
8821
8821
  var z = $.ownerElement, oe;
8822
8822
  if (z && z != this._ownerElement)
8823
- throw new N(U);
8823
+ throw new N(B);
8824
8824
  return oe = this.getNamedItemNS($.namespaceURI, $.localName), H(this._ownerElement, this, $, oe), oe;
8825
8825
  },
8826
8826
  /* returns Node */
@@ -9418,9 +9418,9 @@ function IT() {
9418
9418
  function Gt() {
9419
9419
  }
9420
9420
  Gt.prototype.nodeType = D, u(Gt, G);
9421
- function Ue() {
9421
+ function Be() {
9422
9422
  }
9423
- Ue.prototype.nodeType = h, u(Ue, G);
9423
+ Be.prototype.nodeType = h, u(Be, G);
9424
9424
  function pt() {
9425
9425
  }
9426
9426
  pt.prototype.nodeType = p, u(pt, G);
@@ -9476,20 +9476,20 @@ function IT() {
9476
9476
  oe = t.isHTML($.namespaceURI) || oe;
9477
9477
  var mt = Hn;
9478
9478
  if (!oe && !$.prefix && $.namespaceURI) {
9479
- for (var Le, Kn = 0; Kn < Tt.length; Kn++)
9479
+ for (var Ue, Kn = 0; Kn < Tt.length; Kn++)
9480
9480
  if (Tt.item(Kn).name === "xmlns") {
9481
- Le = Tt.item(Kn).value;
9481
+ Ue = Tt.item(Kn).value;
9482
9482
  break;
9483
9483
  }
9484
- if (!Le)
9484
+ if (!Ue)
9485
9485
  for (var Jn = Je.length - 1; Jn >= 0; Jn--) {
9486
9486
  var In = Je[Jn];
9487
9487
  if (In.prefix === "" && In.namespace === $.namespaceURI) {
9488
- Le = In.namespace;
9488
+ Ue = In.namespace;
9489
9489
  break;
9490
9490
  }
9491
9491
  }
9492
- if (Le !== $.namespaceURI)
9492
+ if (Ue !== $.namespaceURI)
9493
9493
  for (var Jn = Je.length - 1; Jn >= 0; Jn--) {
9494
9494
  var In = Je[Jn];
9495
9495
  if (In.namespace === $.namespaceURI) {
@@ -9594,8 +9594,8 @@ function IT() {
9594
9594
  case d:
9595
9595
  var Wt = z.attributes, Hn = be.attributes = new F(), mt = Wt.length;
9596
9596
  Hn._ownerElement = be;
9597
- for (var Le = 0; Le < mt; Le++)
9598
- be.setAttributeNode(os($, Wt.item(Le), !0));
9597
+ for (var Ue = 0; Ue < mt; Ue++)
9598
+ be.setAttributeNode(os($, Wt.item(Ue), !0));
9599
9599
  break;
9600
9600
  case v:
9601
9601
  oe = !0;
@@ -11802,18 +11802,18 @@ function MA() {
11802
11802
  function g() {
11803
11803
  }
11804
11804
  g.prototype = {
11805
- parse: function(k, R, U) {
11805
+ parse: function(k, R, B) {
11806
11806
  var N = this.domBuilder;
11807
11807
  N.startDocument(), E(R, R = {}), y(
11808
11808
  k,
11809
11809
  R,
11810
- U,
11810
+ B,
11811
11811
  N,
11812
11812
  this.errorHandler
11813
11813
  ), N.endDocument();
11814
11814
  }
11815
11815
  };
11816
- function y(k, R, U, N, J) {
11816
+ function y(k, R, B, N, J) {
11817
11817
  function se(ot) {
11818
11818
  if (ot > 65535) {
11819
11819
  ot -= 65536;
@@ -11824,7 +11824,7 @@ function MA() {
11824
11824
  }
11825
11825
  function X(ot) {
11826
11826
  var yt = ot.slice(1, -1);
11827
- return Object.hasOwnProperty.call(U, yt) ? U[yt] : yt.charAt(0) === "#" ? se(parseInt(yt.substr(1).replace("x", "0x"))) : (J.error("entity not found:" + ot), ot);
11827
+ return Object.hasOwnProperty.call(B, yt) ? B[yt] : yt.charAt(0) === "#" ? se(parseInt(yt.substr(1).replace("x", "0x"))) : (J.error("entity not found:" + ot), ot);
11828
11828
  }
11829
11829
  function F(ot) {
11830
11830
  if (ot > _e) {
@@ -11871,7 +11871,7 @@ function MA() {
11871
11871
  default:
11872
11872
  G && L(ne);
11873
11873
  var ce = new w(), le = ue[ue.length - 1].currentNSMap, de = h(k, ne, ce, le, X, J), $e = ce.length;
11874
- if (!ce.closed && _(k, de, ce.tagName, we) && (ce.closed = !0, U.nbsp || J.warning("unclosed xml attribute")), G && $e) {
11874
+ if (!ce.closed && _(k, de, ce.tagName, we) && (ce.closed = !0, B.nbsp || J.warning("unclosed xml attribute")), G && $e) {
11875
11875
  for (var Ie = p(G, {}), vt = 0; vt < $e; vt++) {
11876
11876
  var Xe = ce[vt];
11877
11877
  L(Xe.offset), Xe.locator = p(G, {});
@@ -11892,9 +11892,9 @@ function MA() {
11892
11892
  function p(k, R) {
11893
11893
  return R.lineNumber = k.lineNumber, R.columnNumber = k.columnNumber, R;
11894
11894
  }
11895
- function h(k, R, U, N, J, se) {
11895
+ function h(k, R, B, N, J, se) {
11896
11896
  function X(G, ue, we) {
11897
- U.attributeNames.hasOwnProperty(G) && se.fatalError("Attribute " + G + " redefined"), U.addValue(
11897
+ B.attributeNames.hasOwnProperty(G) && se.fatalError("Attribute " + G + " redefined"), B.addValue(
11898
11898
  G,
11899
11899
  // @see https://www.w3.org/TR/xml/#AVNormalize
11900
11900
  // since the xmldom sax parser does not "interpret" DTD the following is not implemented:
@@ -11930,16 +11930,16 @@ function MA() {
11930
11930
  case "/":
11931
11931
  switch (q) {
11932
11932
  case r:
11933
- U.setTagName(k.slice(R, H));
11933
+ B.setTagName(k.slice(R, H));
11934
11934
  case u:
11935
11935
  case c:
11936
11936
  case d:
11937
- q = d, U.closed = !0;
11937
+ q = d, B.closed = !0;
11938
11938
  case l:
11939
11939
  case s:
11940
11940
  break;
11941
11941
  case a:
11942
- U.closed = !0;
11942
+ B.closed = !0;
11943
11943
  break;
11944
11944
  //case S_EQ:
11945
11945
  default:
@@ -11947,11 +11947,11 @@ function MA() {
11947
11947
  }
11948
11948
  break;
11949
11949
  case "":
11950
- return se.error("unexpected end of input"), q == r && U.setTagName(k.slice(R, H)), H;
11950
+ return se.error("unexpected end of input"), q == r && B.setTagName(k.slice(R, H)), H;
11951
11951
  case ">":
11952
11952
  switch (q) {
11953
11953
  case r:
11954
- U.setTagName(k.slice(R, H));
11954
+ B.setTagName(k.slice(R, H));
11955
11955
  case u:
11956
11956
  case c:
11957
11957
  case d:
@@ -11960,7 +11960,7 @@ function MA() {
11960
11960
  case l:
11961
11961
  //Compatible state
11962
11962
  case s:
11963
- L = k.slice(R, H), L.slice(-1) === "/" && (U.closed = !0, L = L.slice(0, -1));
11963
+ L = k.slice(R, H), L.slice(-1) === "/" && (B.closed = !0, L = L.slice(0, -1));
11964
11964
  case a:
11965
11965
  q === a && (L = F), q == l ? (se.warning('attribute "' + L + '" missed quot(")!'), X(F, L, R)) : ((!i.isHTML(N[""]) || !L.match(/^(?:disabled|checked|selected)$/i)) && se.warning('attribute "' + L + '" missed value!! "' + L + '" instead!!'), X(L, L, R));
11966
11966
  break;
@@ -11975,7 +11975,7 @@ function MA() {
11975
11975
  if (V <= " ")
11976
11976
  switch (q) {
11977
11977
  case r:
11978
- U.setTagName(k.slice(R, H)), q = c;
11978
+ B.setTagName(k.slice(R, H)), q = c;
11979
11979
  break;
11980
11980
  case s:
11981
11981
  F = k.slice(R, H), q = a;
@@ -11993,7 +11993,7 @@ function MA() {
11993
11993
  //case S_ATTR:void();break;
11994
11994
  //case S_ATTR_NOQUOT_VALUE:void();break;
11995
11995
  case a:
11996
- U.tagName, (!i.isHTML(N[""]) || !F.match(/^(?:disabled|checked|selected)$/i)) && se.warning('attribute "' + F + '" missed value!! "' + F + '" instead2!!'), X(F, F, R), R = H, q = s;
11996
+ B.tagName, (!i.isHTML(N[""]) || !F.match(/^(?:disabled|checked|selected)$/i)) && se.warning('attribute "' + F + '" missed value!! "' + F + '" instead2!!'), X(F, F, R), R = H, q = s;
11997
11997
  break;
11998
11998
  case u:
11999
11999
  se.warning('attribute space is required"' + F + '"!!');
@@ -12010,75 +12010,75 @@ function MA() {
12010
12010
  H++;
12011
12011
  }
12012
12012
  }
12013
- function f(k, R, U) {
12013
+ function f(k, R, B) {
12014
12014
  for (var N = k.tagName, J = null, V = k.length; V--; ) {
12015
12015
  var se = k[V], X = se.qName, F = se.value, G = X.indexOf(":");
12016
12016
  if (G > 0)
12017
12017
  var L = se.prefix = X.slice(0, G), H = X.slice(G + 1), q = L === "xmlns" && H;
12018
12018
  else
12019
12019
  H = X, L = null, q = X === "xmlns" && "";
12020
- se.localName = H, q !== !1 && (J == null && (J = {}, E(U, U = {})), U[q] = J[q] = F, se.uri = i.XMLNS, R.startPrefixMapping(q, F));
12020
+ se.localName = H, q !== !1 && (J == null && (J = {}, E(B, B = {})), B[q] = J[q] = F, se.uri = i.XMLNS, R.startPrefixMapping(q, F));
12021
12021
  }
12022
12022
  for (var V = k.length; V--; ) {
12023
12023
  se = k[V];
12024
12024
  var L = se.prefix;
12025
- L && (L === "xml" && (se.uri = i.XML), L !== "xmlns" && (se.uri = U[L || ""]));
12025
+ L && (L === "xml" && (se.uri = i.XML), L !== "xmlns" && (se.uri = B[L || ""]));
12026
12026
  }
12027
12027
  var G = N.indexOf(":");
12028
12028
  G > 0 ? (L = k.prefix = N.slice(0, G), H = k.localName = N.slice(G + 1)) : (L = null, H = k.localName = N);
12029
- var ue = k.uri = U[L || ""];
12029
+ var ue = k.uri = B[L || ""];
12030
12030
  if (R.startElement(ue, H, N, k), k.closed) {
12031
12031
  if (R.endElement(ue, H, N), J)
12032
12032
  for (L in J)
12033
12033
  Object.prototype.hasOwnProperty.call(J, L) && R.endPrefixMapping(L);
12034
12034
  } else
12035
- return k.currentNSMap = U, k.localNSMap = J, !0;
12035
+ return k.currentNSMap = B, k.localNSMap = J, !0;
12036
12036
  }
12037
- function b(k, R, U, N, J) {
12038
- if (/^(?:script|textarea)$/i.test(U)) {
12039
- var se = k.indexOf("</" + U + ">", R), X = k.substring(R + 1, se);
12037
+ function b(k, R, B, N, J) {
12038
+ if (/^(?:script|textarea)$/i.test(B)) {
12039
+ var se = k.indexOf("</" + B + ">", R), X = k.substring(R + 1, se);
12040
12040
  if (/[&<]/.test(X))
12041
- return /^script$/i.test(U) ? (J.characters(X, 0, X.length), se) : (X = X.replace(/&#?\w+;/g, N), J.characters(X, 0, X.length), se);
12041
+ return /^script$/i.test(B) ? (J.characters(X, 0, X.length), se) : (X = X.replace(/&#?\w+;/g, N), J.characters(X, 0, X.length), se);
12042
12042
  }
12043
12043
  return R + 1;
12044
12044
  }
12045
- function _(k, R, U, N) {
12046
- var J = N[U];
12047
- return J == null && (J = k.lastIndexOf("</" + U + ">"), J < R && (J = k.lastIndexOf("</" + U)), N[U] = J), J < R;
12045
+ function _(k, R, B, N) {
12046
+ var J = N[B];
12047
+ return J == null && (J = k.lastIndexOf("</" + B + ">"), J < R && (J = k.lastIndexOf("</" + B)), N[B] = J), J < R;
12048
12048
  }
12049
12049
  function E(k, R) {
12050
- for (var U in k)
12051
- Object.prototype.hasOwnProperty.call(k, U) && (R[U] = k[U]);
12050
+ for (var B in k)
12051
+ Object.prototype.hasOwnProperty.call(k, B) && (R[B] = k[B]);
12052
12052
  }
12053
- function S(k, R, U, N) {
12053
+ function S(k, R, B, N) {
12054
12054
  var J = k.charAt(R + 2);
12055
12055
  switch (J) {
12056
12056
  case "-":
12057
12057
  if (k.charAt(R + 3) === "-") {
12058
12058
  var se = k.indexOf("-->", R + 4);
12059
- return se > R ? (U.comment(k, R + 4, se - R - 4), se + 3) : (N.error("Unclosed comment"), -1);
12059
+ return se > R ? (B.comment(k, R + 4, se - R - 4), se + 3) : (N.error("Unclosed comment"), -1);
12060
12060
  } else
12061
12061
  return -1;
12062
12062
  default:
12063
12063
  if (k.substr(R + 3, 6) == "CDATA[") {
12064
12064
  var se = k.indexOf("]]>", R + 9);
12065
- return U.startCDATA(), U.characters(k, R + 9, se - R - 9), U.endCDATA(), se + 3;
12065
+ return B.startCDATA(), B.characters(k, R + 9, se - R - 9), B.endCDATA(), se + 3;
12066
12066
  }
12067
12067
  var X = I(k, R), F = X.length;
12068
12068
  if (F > 1 && /!doctype/i.test(X[0][0])) {
12069
12069
  var L = X[1][0], H = !1, q = !1;
12070
12070
  F > 3 && (/^public$/i.test(X[2][0]) ? (H = X[3][0], q = F > 4 && X[4][0]) : /^system$/i.test(X[2][0]) && (q = X[3][0]));
12071
12071
  var V = X[F - 1];
12072
- return U.startDTD(L, H, q), U.endDTD(), V.index + V[0].length;
12072
+ return B.startDTD(L, H, q), B.endDTD(), V.index + V[0].length;
12073
12073
  }
12074
12074
  }
12075
12075
  return -1;
12076
12076
  }
12077
- function D(k, R, U) {
12077
+ function D(k, R, B) {
12078
12078
  var N = k.indexOf("?>", R);
12079
12079
  if (N) {
12080
12080
  var J = k.substring(R, N).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);
12081
- return J ? (J[0].length, U.processingInstruction(J[1], J[2]), N + 2) : -1;
12081
+ return J ? (J[0].length, B.processingInstruction(J[1], J[2]), N + 2) : -1;
12082
12082
  }
12083
12083
  return -1;
12084
12084
  }
@@ -12091,10 +12091,10 @@ function MA() {
12091
12091
  throw new Error("invalid tagName:" + k);
12092
12092
  this.tagName = k;
12093
12093
  },
12094
- addValue: function(k, R, U) {
12094
+ addValue: function(k, R, B) {
12095
12095
  if (!n.test(k))
12096
12096
  throw new Error("invalid attribute:" + k);
12097
- this.attributeNames[k] = this.length, this[this.length++] = { qName: k, value: R, offset: U };
12097
+ this.attributeNames[k] = this.length, this[this.length++] = { qName: k, value: R, offset: B };
12098
12098
  },
12099
12099
  length: 0,
12100
12100
  getLocalName: function(k) {
@@ -12124,9 +12124,9 @@ function MA() {
12124
12124
  // getType:function(i){},
12125
12125
  };
12126
12126
  function I(k, R) {
12127
- var U, N = [], J = /'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;
12128
- for (J.lastIndex = R, J.exec(k); U = J.exec(k); )
12129
- if (N.push(U), U[1]) return N;
12127
+ var B, N = [], J = /'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;
12128
+ for (J.lastIndex = R, J.exec(k); B = J.exec(k); )
12129
+ if (N.push(B), B[1]) return N;
12130
12130
  }
12131
12131
  return Ec.XMLReader = g, Ec.ParseError = v, Ec;
12132
12132
  }
@@ -30623,7 +30623,7 @@ browserWorkerPolyFill(self);
30623
30623
  }, s = {
30624
30624
  getUint64: r,
30625
30625
  MAX_UINT32: n
30626
- }, a = s.MAX_UINT32, o, l, u, c, d, v, g, y, p, h, f, b, _, E, S, D, w, I, k, R, U, N, J, se, X, F, L, H, q, V, G, ue, we, _e, ne, Te;
30626
+ }, a = s.MAX_UINT32, o, l, u, c, d, v, g, y, p, h, f, b, _, E, S, D, w, I, k, R, B, N, J, se, X, F, L, H, q, V, G, ue, we, _e, ne, Te;
30627
30627
  (function() {
30628
30628
  var m;
30629
30629
  if (J = {
@@ -30986,7 +30986,7 @@ browserWorkerPolyFill(self);
30986
30986
  return o.apply(null, [J.moov, f(4294967295)].concat(x).concat(h(m)));
30987
30987
  }, h = function(m) {
30988
30988
  for (var T = m.length, x = []; T--; )
30989
- x[T] = U(m[T]);
30989
+ x[T] = B(m[T]);
30990
30990
  return o.apply(null, [J.mvex].concat(x));
30991
30991
  }, f = function(m) {
30992
30992
  var T = new Uint8Array([
@@ -31468,7 +31468,7 @@ browserWorkerPolyFill(self);
31468
31468
  ])), M = 92, m.type === "audio" ? (C = N(m, M), o(J.traf, T, x, C)) : (A = w(m), C = N(m, A.length + M), o(J.traf, T, x, C, A));
31469
31469
  }, b = function(m) {
31470
31470
  return m.duration = m.duration || 4294967295, o(J.trak, _(m), E(m));
31471
- }, U = function(m) {
31471
+ }, B = function(m) {
31472
31472
  var T = new Uint8Array([
31473
31473
  0,
31474
31474
  // version 0
@@ -31633,7 +31633,7 @@ browserWorkerPolyFill(self);
31633
31633
  yt = ot(m);
31634
31634
  }
31635
31635
  return yt;
31636
- }, at = 9e4, qe, Ut, en, Gt, Ue, pt, Mt;
31636
+ }, at = 9e4, qe, Ut, en, Gt, Be, pt, Mt;
31637
31637
  qe = function(m) {
31638
31638
  return m * at;
31639
31639
  }, Ut = function(m, T) {
@@ -31642,7 +31642,7 @@ browserWorkerPolyFill(self);
31642
31642
  return m / at;
31643
31643
  }, Gt = function(m, T) {
31644
31644
  return m / T;
31645
- }, Ue = function(m, T) {
31645
+ }, Be = function(m, T) {
31646
31646
  return qe(Gt(m, T));
31647
31647
  }, pt = function(m, T) {
31648
31648
  return Ut(en(m), T);
@@ -31655,7 +31655,7 @@ browserWorkerPolyFill(self);
31655
31655
  secondsToAudioTs: Ut,
31656
31656
  videoTsToSeconds: en,
31657
31657
  audioTsToSeconds: Gt,
31658
- audioTsToVideoTs: Ue,
31658
+ audioTsToVideoTs: Be,
31659
31659
  videoTsToAudioTs: pt,
31660
31660
  metadataTsToSeconds: Mt
31661
31661
  }, Tn = Re, Dt = nt, Pn = function(m) {
@@ -31730,7 +31730,7 @@ browserWorkerPolyFill(self);
31730
31730
  return x;
31731
31731
  }, mt = function(m) {
31732
31732
  return m.payload[0] !== 181 || (m.payload[1] << 8 | m.payload[2]) !== 49 || String.fromCharCode(m.payload[3], m.payload[4], m.payload[5], m.payload[6]) !== "GA94" || m.payload[7] !== 3 ? null : m.payload.subarray(8, m.payload.length - 1);
31733
- }, Le = function(m, T) {
31733
+ }, Ue = function(m, T) {
31734
31734
  var x = [], C, A, M, K;
31735
31735
  if (!(T[0] & 64))
31736
31736
  return x;
@@ -31753,7 +31753,7 @@ browserWorkerPolyFill(self);
31753
31753
  }, Jn = {
31754
31754
  parseSei: Hn,
31755
31755
  parseUserData: mt,
31756
- parseCaptionPackets: Le,
31756
+ parseCaptionPackets: Ue,
31757
31757
  discardEmulationPreventionBytes: Kn,
31758
31758
  USER_DATA_REGISTERED_ITU_T_T35: Tt
31759
31759
  }, In = t, Pi = Jn, Lt = function(m) {
@@ -33377,10 +33377,10 @@ browserWorkerPolyFill(self);
33377
33377
  }, O = {
33378
33378
  toUnsigned: Sf,
33379
33379
  toHexString: Cf
33380
- }, B = function(m) {
33380
+ }, U = function(m) {
33381
33381
  var T = "";
33382
33382
  return T += String.fromCharCode(m[0]), T += String.fromCharCode(m[1]), T += String.fromCharCode(m[2]), T += String.fromCharCode(m[3]), T;
33383
- }, W = B, Z = O.toUnsigned, ae = W, me = function(m, T) {
33383
+ }, W = U, Z = O.toUnsigned, ae = W, me = function(m, T) {
33384
33384
  var x = [], C, A, M, K, Y;
33385
33385
  if (!T.length)
33386
33386
  return null;
@@ -35087,13 +35087,13 @@ const Lo = function(i) {
35087
35087
  uri: n.key.resolvedUri,
35088
35088
  responseType: "arraybuffer",
35089
35089
  requestType: "segment-key"
35090
- }), R = p1(n, I, _, f), U = {
35090
+ }), R = p1(n, I, _, f), B = {
35091
35091
  uri: n.key.resolvedUri
35092
35092
  };
35093
35093
  f({
35094
35094
  type: "segmentkeyloadstart",
35095
35095
  segment: n,
35096
- keyInfo: U
35096
+ keyInfo: B
35097
35097
  });
35098
35098
  const N = i(k, R);
35099
35099
  b.push(N);
@@ -35129,8 +35129,8 @@ const Lo = function(i) {
35129
35129
  type: "segmentloadstart",
35130
35130
  segment: n
35131
35131
  });
35132
- const U = i(k, R);
35133
- b.push(U);
35132
+ const B = i(k, R);
35133
+ b.push(B);
35134
35134
  }
35135
35135
  const E = Jt(e, {
35136
35136
  uri: n.part && n.part.resolvedUri || n.resolvedUri,
@@ -38475,11 +38475,11 @@ const gM = RS(NS(function() {
38475
38475
  const p = [[[], [], [], [], []], [[], [], [], [], []]], h = p[0], f = p[1], b = h[4], _ = f[4];
38476
38476
  let E, S, D;
38477
38477
  const w = [], I = [];
38478
- let k, R, U, N, J, se;
38478
+ let k, R, B, N, J, se;
38479
38479
  for (E = 0; E < 256; E++)
38480
38480
  I[(w[E] = E << 1 ^ (E >> 7) * 283) ^ E] = E;
38481
38481
  for (S = D = 0; !b[S]; S ^= k || 1, D = I[D] || 1)
38482
- for (N = D ^ D << 1 ^ D << 2 ^ D << 3 ^ D << 4, N = N >> 8 ^ N & 255 ^ 99, b[S] = N, _[N] = S, U = w[R = w[k = w[S]]], se = U * 16843009 ^ R * 65537 ^ k * 257 ^ S * 16843008, J = w[N] * 257 ^ N * 16843008, E = 0; E < 4; E++)
38482
+ for (N = D ^ D << 1 ^ D << 2 ^ D << 3 ^ D << 4, N = N >> 8 ^ N & 255 ^ 99, b[S] = N, _[N] = S, B = w[R = w[k = w[S]]], se = B * 16843009 ^ R * 65537 ^ k * 257 ^ S * 16843008, J = w[N] * 257 ^ N * 16843008, E = 0; E < 4; E++)
38483
38483
  h[E][S] = J = J << 24 ^ J >>> 8, f[E][N] = se = se << 24 ^ se >>> 8;
38484
38484
  for (E = 0; E < 5; E++)
38485
38485
  h[E] = h[E].slice(0), f[E] = f[E].slice(0);
@@ -38515,14 +38515,14 @@ const gM = RS(NS(function() {
38515
38515
  */
38516
38516
  decrypt(h, f, b, _, E, S) {
38517
38517
  const D = this._key[1];
38518
- let w = h ^ D[0], I = _ ^ D[1], k = b ^ D[2], R = f ^ D[3], U, N, J;
38518
+ let w = h ^ D[0], I = _ ^ D[1], k = b ^ D[2], R = f ^ D[3], B, N, J;
38519
38519
  const se = D.length / 4 - 2;
38520
38520
  let X, F = 4;
38521
38521
  const L = this._tables[1], H = L[0], q = L[1], V = L[2], G = L[3], ue = L[4];
38522
38522
  for (X = 0; X < se; X++)
38523
- U = H[w >>> 24] ^ q[I >> 16 & 255] ^ V[k >> 8 & 255] ^ G[R & 255] ^ D[F], N = H[I >>> 24] ^ q[k >> 16 & 255] ^ V[R >> 8 & 255] ^ G[w & 255] ^ D[F + 1], J = H[k >>> 24] ^ q[R >> 16 & 255] ^ V[w >> 8 & 255] ^ G[I & 255] ^ D[F + 2], R = H[R >>> 24] ^ q[w >> 16 & 255] ^ V[I >> 8 & 255] ^ G[k & 255] ^ D[F + 3], F += 4, w = U, I = N, k = J;
38523
+ B = H[w >>> 24] ^ q[I >> 16 & 255] ^ V[k >> 8 & 255] ^ G[R & 255] ^ D[F], N = H[I >>> 24] ^ q[k >> 16 & 255] ^ V[R >> 8 & 255] ^ G[w & 255] ^ D[F + 1], J = H[k >>> 24] ^ q[R >> 16 & 255] ^ V[w >> 8 & 255] ^ G[I & 255] ^ D[F + 2], R = H[R >>> 24] ^ q[w >> 16 & 255] ^ V[I >> 8 & 255] ^ G[k & 255] ^ D[F + 3], F += 4, w = B, I = N, k = J;
38524
38524
  for (X = 0; X < 4; X++)
38525
- E[(3 & -X) + S] = ue[w >>> 24] << 24 ^ ue[I >> 16 & 255] << 16 ^ ue[k >> 8 & 255] << 8 ^ ue[R & 255] ^ D[F++], U = w, w = I, I = k, k = R, R = U;
38525
+ E[(3 & -X) + S] = ue[w >>> 24] << 24 ^ ue[I >> 16 & 255] << 16 ^ ue[k >> 8 & 255] << 8 ^ ue[R & 255] ^ D[F++], B = w, w = I, I = k, k = R, R = B;
38526
38526
  }
38527
38527
  }
38528
38528
  class s extends i {
@@ -38550,9 +38550,9 @@ const gM = RS(NS(function() {
38550
38550
  return p << 24 | (p & 65280) << 8 | (p & 16711680) >> 8 | p >>> 24;
38551
38551
  }, o = function(p, h, f) {
38552
38552
  const b = new Int32Array(p.buffer, p.byteOffset, p.byteLength >> 2), _ = new r(Array.prototype.slice.call(h)), E = new Uint8Array(p.byteLength), S = new Int32Array(E.buffer);
38553
- let D, w, I, k, R, U, N, J, se;
38553
+ let D, w, I, k, R, B, N, J, se;
38554
38554
  for (D = f[0], w = f[1], I = f[2], k = f[3], se = 0; se < b.length; se += 4)
38555
- R = a(b[se]), U = a(b[se + 1]), N = a(b[se + 2]), J = a(b[se + 3]), _.decrypt(R, U, N, J, S, se), S[se] = a(S[se] ^ D), S[se + 1] = a(S[se + 1] ^ w), S[se + 2] = a(S[se + 2] ^ I), S[se + 3] = a(S[se + 3] ^ k), D = R, w = U, I = N, k = J;
38555
+ R = a(b[se]), B = a(b[se + 1]), N = a(b[se + 2]), J = a(b[se + 3]), _.decrypt(R, B, N, J, S, se), S[se] = a(S[se] ^ D), S[se + 1] = a(S[se + 1] ^ w), S[se + 2] = a(S[se + 2] ^ I), S[se + 3] = a(S[se + 3] ^ k), D = R, w = B, I = N, k = J;
38556
38556
  return E;
38557
38557
  };
38558
38558
  class l {
@@ -42039,7 +42039,7 @@ const Vu = new e9(), t9 = (i) => Vu.init(i), n9 = () => Vu.stopScreenPolling(),
42039
42039
  let n = null, r = null, s = null;
42040
42040
  const a = i, o = e, l = Q(), u = Q(""), c = Q(""), d = Q(""), v = Q(null), g = Q([]);
42041
42041
  Q([]);
42042
- const y = Q([]), p = Q(!1), h = Q(!1), f = Q(!1), b = Q(!1), _ = Q(!0), E = Q(!1), S = Q(!1), D = Q(0), w = Q(!0), I = Q(!1), k = Q(3), R = Ve(() => y.value.length), U = Ve(() => e_(D.value)), N = {
42042
+ const y = Q([]), p = Q(!1), h = Q(!1), f = Q(!1), b = Q(!1), _ = Q(!0), E = Q(!1), S = Q(!1), D = Q(0), w = Q(!0), I = Q(!1), k = Q(3), R = Ve(() => y.value.length), B = Ve(() => e_(D.value)), N = {
42043
42043
  mounted: (ce, le) => {
42044
42044
  le.value && (ce.style.cursor = "move", ce.onmousedown = (de) => {
42045
42045
  de.stopPropagation(), de.preventDefault();
@@ -42047,8 +42047,8 @@ const Vu = new e9(), t9 = (i) => Vu.init(i), n9 = () => Vu.stopScreenPolling(),
42047
42047
  let Xe = p3($e, "transform"), ot = Xe.match(Ie) || Xe.match(vt), yt = de.clientX, Re = de.clientY, at = ot[1], qe = ot[2], Ut = yt - at, en = Re - qe;
42048
42048
  ce.onmousemove = function(Gt) {
42049
42049
  Gt.stopPropagation(), Gt.preventDefault();
42050
- let Ue = Gt.clientX - Ut, pt = Gt.clientY - en;
42051
- $e.style.transform = `translate(${Ue}px, ${pt}px)`;
42050
+ let Be = Gt.clientX - Ut, pt = Gt.clientY - en;
42051
+ $e.style.transform = `translate(${Be}px, ${pt}px)`;
42052
42052
  }, ce.onmouseup = function(Gt) {
42053
42053
  ce.onmousemove = null, ce.onmouseup = null;
42054
42054
  }, window.onmouseup = function(Gt) {
@@ -42287,13 +42287,13 @@ const Vu = new e9(), t9 = (i) => Vu.init(i), n9 = () => Vu.stopScreenPolling(),
42287
42287
  }, qe = () => {
42288
42288
  if (!_.value)
42289
42289
  return;
42290
- let Ut = document.querySelector("#point-meeting-contain .layout-blur"), en = document.querySelector("#point-meeting-contain .layout-normal"), Gt = Ut.firstElementChild, Ue = document.getElementById(`participant-${ce.identity}`);
42290
+ let Ut = document.querySelector("#point-meeting-contain .layout-blur"), en = document.querySelector("#point-meeting-contain .layout-normal"), Gt = Ut.firstElementChild, Be = document.getElementById(`participant-${ce.identity}`);
42291
42291
  if (Gt) {
42292
42292
  if (Gt.id === `participant-${ce.identity}`)
42293
42293
  return;
42294
- en.insertBefore(Gt, en.firstChild ?? null), Ue && Ut.appendChild(Ue);
42294
+ en.insertBefore(Gt, en.firstChild ?? null), Be && Ut.appendChild(Be);
42295
42295
  } else
42296
- Ut.appendChild(Ue);
42296
+ Ut.appendChild(Be);
42297
42297
  };
42298
42298
  de && (de.onclick = qe), ce.isScreenShareEnabled || ce.isCameraEnabled ? (ot && (de.removeChild(ot), ot = null), Xe || (Xe = document.createElement("div"), Xe.className = "describe", Xe.id = `describe-${ce.identity}`, Xe.innerHTML = `
42299
42299
  <div class="describe-left">
@@ -42397,7 +42397,7 @@ const Vu = new e9(), t9 = (i) => Vu.init(i), n9 = () => Vu.stopScreenPolling(),
42397
42397
  Fi((ee(), he("div", P9, [
42398
42398
  P("div", I9, [
42399
42399
  O9,
42400
- P("span", null, Ye(U.value), 1)
42400
+ P("span", null, Ye(B.value), 1)
42401
42401
  ]),
42402
42402
  P("div", { class: "top-group" }, [
42403
42403
  P("div", {
@@ -43016,7 +43016,7 @@ const oR = "/assets/img/multi/tree_slide.png", lR = "/assets/img/multi/tree_expa
43016
43016
  At.emit("getinvitTions");
43017
43017
  }, k = () => {
43018
43018
  At.emit("groupAddOpen");
43019
- }, R = (ne, Te) => ne ? o.value === 2 ? Te.name.includes(ne) : Te.label.includes(ne) : !0, U = (ne, Te) => {
43019
+ }, R = (ne, Te) => ne ? o.value === 2 ? Te.name.includes(ne) : Te.label.includes(ne) : !0, B = (ne, Te) => {
43020
43020
  let Se;
43021
43021
  if (Te !== void 0 ? Se = Te : (ne == null ? void 0 : ne.type) === "SITE_TYPE_IP" || (ne == null ? void 0 : ne.type) === "SITE_TYPE_SIP" ? Se = 2 : (ne == null || ne.classify, Se = 0), (ne == null ? void 0 : ne.classify) === "人员")
43022
43022
  return {
@@ -43057,13 +43057,13 @@ const oR = "/assets/img/multi/tree_slide.png", lR = "/assets/img/multi/tree_expa
43057
43057
  )), f.value = f.value.filter(
43058
43058
  (He) => He.sourceTab !== o.value
43059
43059
  ), Se.forEach((He) => {
43060
- const tt = U(He, o.value);
43060
+ const tt = B(He, o.value);
43061
43061
  D(tt);
43062
43062
  });
43063
43063
  }, J = async () => {
43064
43064
  await _t();
43065
43065
  let ne = c.value.getCheckedNodes(!0, !1).filter((Te) => Te.label.includes(l.value) && !Te.children);
43066
- y.value = ne.map((Te) => U(Te));
43066
+ y.value = ne.map((Te) => B(Te));
43067
43067
  }, se = () => new Promise((ne, Te) => {
43068
43068
  _T(
43069
43069
  {},
@@ -43130,7 +43130,7 @@ const oR = "/assets/img/multi/tree_slide.png", lR = "/assets/img/multi/tree_expa
43130
43130
  baseUrl: r.baseUrl,
43131
43131
  token: r.token
43132
43132
  }).then(async (Se) => {
43133
- Se.data.code == 0 ? (t.message("success", "添加到常用分组成功"), await X(), await _t(), c.value.setCheckedKeys(E.value, !1), y.value = c.value.getCheckedNodes(!0, !1).map((He) => U(He))) : Te.userList.length <= 0 && t.message(
43133
+ Se.data.code == 0 ? (t.message("success", "添加到常用分组成功"), await X(), await _t(), c.value.setCheckedKeys(E.value, !1), y.value = c.value.getCheckedNodes(!0, !1).map((He) => B(He))) : Te.userList.length <= 0 && t.message(
43134
43134
  "error",
43135
43135
  "添加到常用分组失败,请先勾选要添加的用户"
43136
43136
  );
@@ -43151,17 +43151,17 @@ const oR = "/assets/img/multi/tree_slide.png", lR = "/assets/img/multi/tree_expa
43151
43151
  baseUrl: r.baseUrl,
43152
43152
  token: r.token
43153
43153
  }).then(async (Se) => {
43154
- Se.data.code == 0 && (t.message("success", "分组更新成功"), await X(), await _t(), c.value.setCheckedKeys(E.value, !1), y.value = c.value.getCheckedNodes(!0, !1).map((He) => U(He)));
43154
+ Se.data.code == 0 && (t.message("success", "分组更新成功"), await X(), await _t(), c.value.setCheckedKeys(E.value, !1), y.value = c.value.getCheckedNodes(!0, !1).map((He) => B(He)));
43155
43155
  });
43156
43156
  }, G = (ne) => {
43157
43157
  qD(ne.id, {
43158
43158
  baseUrl: r.baseUrl,
43159
43159
  token: r.token
43160
43160
  }).then(async (Te) => {
43161
- Te.data.code === 0 && (t.message("success", "删除分组成功"), await X(), await _t(), c.value.setCheckedKeys(E.value, !1), y.value = c.value.getCheckedNodes(!0, !1).map((Se) => U(Se)));
43161
+ Te.data.code === 0 && (t.message("success", "删除分组成功"), await X(), await _t(), c.value.setCheckedKeys(E.value, !1), y.value = c.value.getCheckedNodes(!0, !1).map((Se) => B(Se)));
43162
43162
  });
43163
43163
  }, ue = (ne) => {
43164
- w(ne.userId), o.value === 0 ? (u.value.setCheckedKeys(E.value, !1), g.value = u.value.getCheckedNodes(!0, !1).map((Te) => U(Te))) : o.value === 2 ? d.value.setCheckedKeys(E.value, !1) : (c.value.setCheckedKeys(E.value, !1), y.value = c.value.getCheckedNodes(!0, !1).map((Te) => U(Te)));
43164
+ w(ne.userId), o.value === 0 ? (u.value.setCheckedKeys(E.value, !1), g.value = u.value.getCheckedNodes(!0, !1).map((Te) => B(Te))) : o.value === 2 ? d.value.setCheckedKeys(E.value, !1) : (c.value.setCheckedKeys(E.value, !1), y.value = c.value.getCheckedNodes(!0, !1).map((Te) => B(Te)));
43165
43165
  }, we = () => {
43166
43166
  f.value = [], a.value = !1;
43167
43167
  }, _e = () => {
@@ -43177,12 +43177,12 @@ const oR = "/assets/img/multi/tree_slide.png", lR = "/assets/img/multi/tree_expa
43177
43177
  ), St(
43178
43178
  () => a.value,
43179
43179
  async (ne) => {
43180
- ne && (await se(), await X(), await F(), await _t(), o.value === 0 ? (u.value.setCheckedKeys(E.value, !0), g.value = u.value.getCheckedNodes(!0, !1).map((Te) => U(Te))) : o.value === 2 ? d.value.setCheckedKeys(E.value, !0) : (c.value.setCheckedKeys(E.value, !0), y.value = c.value.getCheckedNodes(!0, !1).map((Te) => U(Te))));
43180
+ ne && (await se(), await X(), await F(), await _t(), o.value === 0 ? (u.value.setCheckedKeys(E.value, !0), g.value = u.value.getCheckedNodes(!0, !1).map((Te) => B(Te))) : o.value === 2 ? d.value.setCheckedKeys(E.value, !0) : (c.value.setCheckedKeys(E.value, !0), y.value = c.value.getCheckedNodes(!0, !1).map((Te) => B(Te))));
43181
43181
  }
43182
43182
  ), St(
43183
43183
  () => o.value,
43184
43184
  async (ne) => {
43185
- await _t(), ne === 0 ? (_.value > 0 ? (u.value.setCheckedKeys(E.value, !1), g.value = u.value.getCheckedNodes(!0, !1).map((Te) => U(Te))) : (v.arr = v.arr, g.value = []), u.value.filter(l.value)) : ne === 2 ? ((!v.meetingArr || v.meetingArr.length === 0) && await F(), await _t(), _.value > 0 && d.value.setCheckedKeys(E.value, !1), d.value.filter(l.value)) : (_.value > 0 ? (c.value.setCheckedKeys(E.value, !1), y.value = c.value.getCheckedNodes(!0, !1).map((Te) => U(Te))) : (v.usualArr = v.usualArr, y.value = []), c.value.filter(l.value));
43185
+ await _t(), ne === 0 ? (_.value > 0 ? (u.value.setCheckedKeys(E.value, !1), g.value = u.value.getCheckedNodes(!0, !1).map((Te) => B(Te))) : (v.arr = v.arr, g.value = []), u.value.filter(l.value)) : ne === 2 ? ((!v.meetingArr || v.meetingArr.length === 0) && await F(), await _t(), _.value > 0 && d.value.setCheckedKeys(E.value, !1), d.value.filter(l.value)) : (_.value > 0 ? (c.value.setCheckedKeys(E.value, !1), y.value = c.value.getCheckedNodes(!0, !1).map((Te) => B(Te))) : (v.usualArr = v.usualArr, y.value = []), c.value.filter(l.value));
43186
43186
  }
43187
43187
  ), St(
43188
43188
  () => g.value,
@@ -43823,7 +43823,7 @@ const oR = "/assets/img/multi/tree_slide.png", lR = "/assets/img/multi/tree_expa
43823
43823
  }
43824
43824
  }), Pr(() => {
43825
43825
  }), (S, D) => {
43826
- const w = lt("el-input"), I = lt("el-form-item"), k = lt("el-date-picker"), R = lt("el-time-select"), U = lt("el-option"), N = lt("el-select"), J = lt("el-checkbox"), se = lt("el-form");
43826
+ const w = lt("el-input"), I = lt("el-form-item"), k = lt("el-date-picker"), R = lt("el-time-select"), B = lt("el-option"), N = lt("el-select"), J = lt("el-checkbox"), se = lt("el-form");
43827
43827
  return ee(), he("div", {
43828
43828
  class: "mask",
43829
43829
  onClick: D[14] || (D[14] = Bi((X) => t("close"), ["self"]))
@@ -43976,7 +43976,7 @@ const oR = "/assets/img/multi/tree_slide.png", lR = "/assets/img/multi/tree_expa
43976
43976
  placeholder: "请选择"
43977
43977
  }, {
43978
43978
  default: Me(() => [
43979
- (ee(!0), he(wt, null, Ht(l.value, (X) => (ee(), ft(U, {
43979
+ (ee(!0), he(wt, null, Ht(l.value, (X) => (ee(), ft(B, {
43980
43980
  key: X.value,
43981
43981
  label: X.label,
43982
43982
  value: X.value
@@ -44012,7 +44012,7 @@ const oR = "/assets/img/multi/tree_slide.png", lR = "/assets/img/multi/tree_expa
44012
44012
  style: { width: "68px", "margin-right": "10px" }
44013
44013
  }, {
44014
44014
  default: Me(() => [
44015
- (ee(!0), he(wt, null, Ht(c.value, (L) => (ee(), ft(U, {
44015
+ (ee(!0), he(wt, null, Ht(c.value, (L) => (ee(), ft(B, {
44016
44016
  key: L.value,
44017
44017
  label: L.label,
44018
44018
  value: L.value
@@ -44198,7 +44198,7 @@ function j() {
44198
44198
  for (H.method = V, H.arg = G; ; ) {
44199
44199
  var ue = H.delegate;
44200
44200
  if (ue) {
44201
- var we = U(ue, H);
44201
+ var we = B(ue, H);
44202
44202
  if (we) {
44203
44203
  if (we === h) continue;
44204
44204
  return we;
@@ -44219,9 +44219,9 @@ function j() {
44219
44219
  }
44220
44220
  };
44221
44221
  }
44222
- function U(F, L) {
44222
+ function B(F, L) {
44223
44223
  var H = L.method, q = F.iterator[H];
44224
- if (q === i) return L.delegate = null, H === "throw" && F.iterator.return && (L.method = "return", L.arg = i, U(F, L), L.method === "throw") || H !== "return" && (L.method = "throw", L.arg = new TypeError("The iterator does not provide a '" + H + "' method")), h;
44224
+ if (q === i) return L.delegate = null, H === "throw" && F.iterator.return && (L.method = "return", L.arg = i, B(F, L), L.method === "throw") || H !== "return" && (L.method = "throw", L.arg = new TypeError("The iterator does not provide a '" + H + "' method")), h;
44225
44225
  var V = d(q, F.iterator, L.arg);
44226
44226
  if (V.type === "throw") return L.method = "throw", L.arg = V.arg, L.delegate = null, h;
44227
44227
  var G = V.arg;
@@ -44761,7 +44761,7 @@ function rL() {
44761
44761
  if (128 & i) throw new Error("invalid varint");
44762
44762
  return this.assertBounds(), e >>> 0;
44763
44763
  }
44764
- var Be, Js, Fn, hn = function() {
44764
+ var Le, Js, Fn, hn = function() {
44765
44765
  var i = new DataView(new ArrayBuffer(8));
44766
44766
  if (typeof BigInt == "function" && typeof i.getBigInt64 == "function" && typeof i.getBigUint64 == "function" && typeof i.setBigInt64 == "function" && typeof i.setBigUint64 == "function" && ((typeof process > "u" ? "undefined" : ht(process)) != "object" || ht(process.env) != "object" || process.env.BUF_BIGINT_DISABLE !== "1")) {
44767
44767
  var e = BigInt("-9223372036854775808"), t = BigInt("9223372036854775807"), n = BigInt("0"), r = BigInt("18446744073709551615");
@@ -44809,37 +44809,37 @@ var Be, Js, Fn, hn = function() {
44809
44809
  }();
44810
44810
  function Ls(i, e, t) {
44811
44811
  if (e === t) return !0;
44812
- if (i == Be.BYTES) {
44812
+ if (i == Le.BYTES) {
44813
44813
  if (!(e instanceof Uint8Array && t instanceof Uint8Array) || e.length !== t.length) return !1;
44814
44814
  for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
44815
44815
  return !0;
44816
44816
  }
44817
44817
  switch (i) {
44818
- case Be.UINT64:
44819
- case Be.FIXED64:
44820
- case Be.INT64:
44821
- case Be.SFIXED64:
44822
- case Be.SINT64:
44818
+ case Le.UINT64:
44819
+ case Le.FIXED64:
44820
+ case Le.INT64:
44821
+ case Le.SFIXED64:
44822
+ case Le.SINT64:
44823
44823
  return e == t;
44824
44824
  }
44825
44825
  return !1;
44826
44826
  }
44827
44827
  function tl(i, e) {
44828
44828
  switch (i) {
44829
- case Be.BOOL:
44829
+ case Le.BOOL:
44830
44830
  return !1;
44831
- case Be.UINT64:
44832
- case Be.FIXED64:
44833
- case Be.INT64:
44834
- case Be.SFIXED64:
44835
- case Be.SINT64:
44831
+ case Le.UINT64:
44832
+ case Le.FIXED64:
44833
+ case Le.INT64:
44834
+ case Le.SFIXED64:
44835
+ case Le.SINT64:
44836
44836
  return e == 0 ? hn.zero : "0";
44837
- case Be.DOUBLE:
44838
- case Be.FLOAT:
44837
+ case Le.DOUBLE:
44838
+ case Le.FLOAT:
44839
44839
  return 0;
44840
- case Be.BYTES:
44840
+ case Le.BYTES:
44841
44841
  return new Uint8Array(0);
44842
- case Be.STRING:
44842
+ case Le.STRING:
44843
44843
  return "";
44844
44844
  default:
44845
44845
  return 0;
@@ -44847,11 +44847,11 @@ function tl(i, e) {
44847
44847
  }
44848
44848
  function TC(i, e) {
44849
44849
  switch (i) {
44850
- case Be.BOOL:
44850
+ case Le.BOOL:
44851
44851
  return e === !1;
44852
- case Be.STRING:
44852
+ case Le.STRING:
44853
44853
  return e === "";
44854
- case Be.BYTES:
44854
+ case Le.BYTES:
44855
44855
  return e instanceof Uint8Array && !e.byteLength;
44856
44856
  default:
44857
44857
  return e == 0;
@@ -44859,7 +44859,7 @@ function TC(i, e) {
44859
44859
  }
44860
44860
  (function(i) {
44861
44861
  i[i.DOUBLE = 1] = "DOUBLE", i[i.FLOAT = 2] = "FLOAT", i[i.INT64 = 3] = "INT64", i[i.UINT64 = 4] = "UINT64", i[i.INT32 = 5] = "INT32", i[i.FIXED64 = 6] = "FIXED64", i[i.FIXED32 = 7] = "FIXED32", i[i.BOOL = 8] = "BOOL", i[i.STRING = 9] = "STRING", i[i.BYTES = 12] = "BYTES", i[i.UINT32 = 13] = "UINT32", i[i.SFIXED32 = 15] = "SFIXED32", i[i.SFIXED64 = 16] = "SFIXED64", i[i.SINT32 = 17] = "SINT32", i[i.SINT64 = 18] = "SINT64";
44862
- })(Be || (Be = {})), function(i) {
44862
+ })(Le || (Le = {})), function(i) {
44863
44863
  i[i.BIGINT = 0] = "BIGINT", i[i.STRING = 1] = "STRING";
44864
44864
  }(Js || (Js = {})), function(i) {
44865
44865
  i[i.Varint = 0] = "Varint", i[i.Bit64 = 1] = "Bit64", i[i.LengthDelimited = 2] = "LengthDelimited", i[i.StartGroup = 3] = "StartGroup", i[i.EndGroup = 4] = "EndGroup", i[i.Bit32 = 5] = "Bit32";
@@ -45173,7 +45173,7 @@ function Oa(i, e) {
45173
45173
  function wC(i, e) {
45174
45174
  return Oa(e) || !i.fieldWrapper ? e : i.fieldWrapper.wrapField(e);
45175
45175
  }
45176
- Be.DOUBLE, Be.FLOAT, Be.INT64, Be.UINT64, Be.INT32, Be.UINT32, Be.BOOL, Be.STRING, Be.BYTES;
45176
+ Le.DOUBLE, Le.FLOAT, Le.INT64, Le.UINT64, Le.INT32, Le.UINT32, Le.BOOL, Le.STRING, Le.BYTES;
45177
45177
  var U1 = { ignoreUnknownFields: !1 }, F1 = { emitDefaultValues: !1, enumAsInteger: !1, useProtoFieldName: !1, prettySpaces: 0 };
45178
45178
  function uL(i) {
45179
45179
  return i ? Object.assign(Object.assign({}, U1), i) : U1;
@@ -45214,15 +45214,15 @@ function j1(i, e, t, n, r) {
45214
45214
  case "scalar":
45215
45215
  try {
45216
45216
  o.push(lu(t.T, u, t.L, !0));
45217
- } catch (U) {
45217
+ } catch (B) {
45218
45218
  var d = "cannot decode field ".concat(r.typeName, ".").concat(t.name, " from JSON: ").concat(zr(u));
45219
- throw U instanceof Error && U.message.length > 0 && (d += ": ".concat(U.message)), new Error(d);
45219
+ throw B instanceof Error && B.message.length > 0 && (d += ": ".concat(B.message)), new Error(d);
45220
45220
  }
45221
45221
  break;
45222
45222
  }
45223
45223
  }
45224
- } catch (U) {
45225
- l.e(U);
45224
+ } catch (B) {
45225
+ l.e(B);
45226
45226
  } finally {
45227
45227
  l.f();
45228
45228
  }
@@ -45235,9 +45235,9 @@ function j1(i, e, t, n, r) {
45235
45235
  var b = void 0;
45236
45236
  try {
45237
45237
  b = dL(t.K, h);
45238
- } catch (U) {
45238
+ } catch (B) {
45239
45239
  var _ = "cannot decode map key for field ".concat(r.typeName, ".").concat(t.name, " from JSON: ").concat(zr(e));
45240
- throw U instanceof Error && U.message.length > 0 && (_ += ": ".concat(U.message)), new Error(_);
45240
+ throw B instanceof Error && B.message.length > 0 && (_ += ": ".concat(B.message)), new Error(_);
45241
45241
  }
45242
45242
  switch (t.V.kind) {
45243
45243
  case "message":
@@ -45250,9 +45250,9 @@ function j1(i, e, t, n, r) {
45250
45250
  case "scalar":
45251
45251
  try {
45252
45252
  v[b] = lu(t.V.T, f, Js.BIGINT, !0);
45253
- } catch (U) {
45253
+ } catch (B) {
45254
45254
  var S = "cannot decode map value for field ".concat(r.typeName, ".").concat(t.name, " from JSON: ").concat(zr(e));
45255
- throw U instanceof Error && U.message.length > 0 && (S += ": ".concat(U.message)), new Error(S);
45255
+ throw B instanceof Error && B.message.length > 0 && (S += ": ".concat(B.message)), new Error(S);
45256
45256
  }
45257
45257
  break;
45258
45258
  }
@@ -45288,15 +45288,15 @@ function j1(i, e, t, n, r) {
45288
45288
  i[s] = k;
45289
45289
  break;
45290
45290
  }
45291
- } catch (U) {
45291
+ } catch (B) {
45292
45292
  var R = "cannot decode field ".concat(r.typeName, ".").concat(t.name, " from JSON: ").concat(zr(e));
45293
- throw U instanceof Error && U.message.length > 0 && (R += ": ".concat(U.message)), new Error(R);
45293
+ throw B instanceof Error && B.message.length > 0 && (R += ": ".concat(B.message)), new Error(R);
45294
45294
  }
45295
45295
  break;
45296
45296
  }
45297
45297
  }
45298
45298
  function dL(i, e) {
45299
- if (i === Be.BOOL) switch (e) {
45299
+ if (i === Le.BOOL) switch (e) {
45300
45300
  case "true":
45301
45301
  e = !0;
45302
45302
  break;
@@ -45309,38 +45309,38 @@ function dL(i, e) {
45309
45309
  function lu(i, e, t, n) {
45310
45310
  if (e === null) return n ? tl(i, t) : Jd;
45311
45311
  switch (i) {
45312
- case Be.DOUBLE:
45313
- case Be.FLOAT:
45312
+ case Le.DOUBLE:
45313
+ case Le.FLOAT:
45314
45314
  if (e === "NaN") return Number.NaN;
45315
45315
  if (e === "Infinity") return Number.POSITIVE_INFINITY;
45316
45316
  if (e === "-Infinity") return Number.NEGATIVE_INFINITY;
45317
45317
  if (e === "" || typeof e == "string" && e.trim().length !== e.length || typeof e != "string" && typeof e != "number") break;
45318
45318
  var r = Number(e);
45319
45319
  if (Number.isNaN(r) || !Number.isFinite(r)) break;
45320
- return i == Be.FLOAT && mC(r), r;
45321
- case Be.INT32:
45322
- case Be.FIXED32:
45323
- case Be.SFIXED32:
45324
- case Be.SINT32:
45325
- case Be.UINT32:
45320
+ return i == Le.FLOAT && mC(r), r;
45321
+ case Le.INT32:
45322
+ case Le.FIXED32:
45323
+ case Le.SFIXED32:
45324
+ case Le.SINT32:
45325
+ case Le.UINT32:
45326
45326
  var s;
45327
45327
  if (typeof e == "number" ? s = e : typeof e == "string" && e.length > 0 && e.trim().length === e.length && (s = Number(e)), s === void 0) break;
45328
- return i == Be.UINT32 || i == Be.FIXED32 ? Om(s) : nd(s), s;
45329
- case Be.INT64:
45330
- case Be.SFIXED64:
45331
- case Be.SINT64:
45328
+ return i == Le.UINT32 || i == Le.FIXED32 ? Om(s) : nd(s), s;
45329
+ case Le.INT64:
45330
+ case Le.SFIXED64:
45331
+ case Le.SINT64:
45332
45332
  if (typeof e != "number" && typeof e != "string") break;
45333
45333
  var a = hn.parse(e);
45334
45334
  return t ? a.toString() : a;
45335
- case Be.FIXED64:
45336
- case Be.UINT64:
45335
+ case Le.FIXED64:
45336
+ case Le.UINT64:
45337
45337
  if (typeof e != "number" && typeof e != "string") break;
45338
45338
  var o = hn.uParse(e);
45339
45339
  return t ? o.toString() : o;
45340
- case Be.BOOL:
45340
+ case Le.BOOL:
45341
45341
  if (typeof e != "boolean") break;
45342
45342
  return e;
45343
- case Be.STRING:
45343
+ case Le.STRING:
45344
45344
  if (typeof e != "string") break;
45345
45345
  try {
45346
45346
  encodeURIComponent(e);
@@ -45348,7 +45348,7 @@ function lu(i, e, t, n) {
45348
45348
  throw new Error("invalid UTF8");
45349
45349
  }
45350
45350
  return e;
45351
- case Be.BYTES:
45351
+ case Le.BYTES:
45352
45352
  if (e === "") return new Uint8Array(0);
45353
45353
  if (typeof e != "string") break;
45354
45354
  return SC.dec(e);
@@ -45453,26 +45453,26 @@ function xp(i, e, t) {
45453
45453
  }
45454
45454
  function sd(i, e) {
45455
45455
  switch (i) {
45456
- case Be.INT32:
45457
- case Be.SFIXED32:
45458
- case Be.SINT32:
45459
- case Be.FIXED32:
45460
- case Be.UINT32:
45456
+ case Le.INT32:
45457
+ case Le.SFIXED32:
45458
+ case Le.SINT32:
45459
+ case Le.FIXED32:
45460
+ case Le.UINT32:
45461
45461
  return Nn(typeof e == "number"), e;
45462
- case Be.FLOAT:
45463
- case Be.DOUBLE:
45462
+ case Le.FLOAT:
45463
+ case Le.DOUBLE:
45464
45464
  return Nn(typeof e == "number"), Number.isNaN(e) ? "NaN" : e === Number.POSITIVE_INFINITY ? "Infinity" : e === Number.NEGATIVE_INFINITY ? "-Infinity" : e;
45465
- case Be.STRING:
45465
+ case Le.STRING:
45466
45466
  return Nn(typeof e == "string"), e;
45467
- case Be.BOOL:
45467
+ case Le.BOOL:
45468
45468
  return Nn(typeof e == "boolean"), e;
45469
- case Be.UINT64:
45470
- case Be.FIXED64:
45471
- case Be.INT64:
45472
- case Be.SFIXED64:
45473
- case Be.SINT64:
45469
+ case Le.UINT64:
45470
+ case Le.FIXED64:
45471
+ case Le.INT64:
45472
+ case Le.SFIXED64:
45473
+ case Le.SINT64:
45474
45474
  return Nn(typeof e == "bigint" || typeof e == "string" || typeof e == "number"), e.toString();
45475
- case Be.BYTES:
45475
+ case Le.BYTES:
45476
45476
  return Nn(e instanceof Uint8Array), SC.enc(e);
45477
45477
  }
45478
45478
  }
@@ -45492,10 +45492,10 @@ function q1(i, e, t, n, r) {
45492
45492
  switch (t.oneof && ((i = i[t.oneof.localName]).case != a && delete i.value, i.case = a, a = "value"), t.kind) {
45493
45493
  case "scalar":
45494
45494
  case "enum":
45495
- var o = t.kind == "enum" ? Be.INT32 : t.T, l = ad;
45495
+ var o = t.kind == "enum" ? Le.INT32 : t.T, l = ad;
45496
45496
  if (t.kind == "scalar" && t.L > 0 && (l = mL), s) {
45497
45497
  var u = i[a];
45498
- if (n == Fn.LengthDelimited && o != Be.STRING && o != Be.BYTES) for (var c = e.uint32() + e.pos; e.pos < c; ) u.push(l(e, o));
45498
+ if (n == Fn.LengthDelimited && o != Le.STRING && o != Le.BYTES) for (var c = e.uint32() + e.pos; e.pos < c; ) u.push(l(e, o));
45499
45499
  else u.push(l(e, o));
45500
45500
  } else i[a] = l(e, o);
45501
45501
  break;
@@ -45551,35 +45551,35 @@ function mL(i, e) {
45551
45551
  }
45552
45552
  function ad(i, e) {
45553
45553
  switch (e) {
45554
- case Be.STRING:
45554
+ case Le.STRING:
45555
45555
  return i.string();
45556
- case Be.BOOL:
45556
+ case Le.BOOL:
45557
45557
  return i.bool();
45558
- case Be.DOUBLE:
45558
+ case Le.DOUBLE:
45559
45559
  return i.double();
45560
- case Be.FLOAT:
45560
+ case Le.FLOAT:
45561
45561
  return i.float();
45562
- case Be.INT32:
45562
+ case Le.INT32:
45563
45563
  return i.int32();
45564
- case Be.INT64:
45564
+ case Le.INT64:
45565
45565
  return i.int64();
45566
- case Be.UINT64:
45566
+ case Le.UINT64:
45567
45567
  return i.uint64();
45568
- case Be.FIXED64:
45568
+ case Le.FIXED64:
45569
45569
  return i.fixed64();
45570
- case Be.BYTES:
45570
+ case Le.BYTES:
45571
45571
  return i.bytes();
45572
- case Be.FIXED32:
45572
+ case Le.FIXED32:
45573
45573
  return i.fixed32();
45574
- case Be.SFIXED32:
45574
+ case Le.SFIXED32:
45575
45575
  return i.sfixed32();
45576
- case Be.SFIXED64:
45576
+ case Le.SFIXED64:
45577
45577
  return i.sfixed64();
45578
- case Be.SINT64:
45578
+ case Le.SINT64:
45579
45579
  return i.sint64();
45580
- case Be.UINT32:
45580
+ case Le.UINT32:
45581
45581
  return i.uint32();
45582
- case Be.SINT32:
45582
+ case Le.SINT32:
45583
45583
  return i.sint32();
45584
45584
  }
45585
45585
  }
@@ -45589,7 +45589,7 @@ function z1(i, e, t, n) {
45589
45589
  switch (i.kind) {
45590
45590
  case "scalar":
45591
45591
  case "enum":
45592
- var s = i.kind == "enum" ? Be.INT32 : i.T;
45592
+ var s = i.kind == "enum" ? Le.INT32 : i.T;
45593
45593
  if (r) if (Nn(Array.isArray(e)), i.packed) (function(y, p, h, f) {
45594
45594
  if (f.length) {
45595
45595
  y.tag(h, Fn.LengthDelimited).fork();
@@ -45639,14 +45639,14 @@ function gL(i, e, t, n, r) {
45639
45639
  i.tag(t.no, Fn.LengthDelimited), i.fork();
45640
45640
  var s = n;
45641
45641
  switch (t.K) {
45642
- case Be.INT32:
45643
- case Be.FIXED32:
45644
- case Be.UINT32:
45645
- case Be.SFIXED32:
45646
- case Be.SINT32:
45642
+ case Le.INT32:
45643
+ case Le.FIXED32:
45644
+ case Le.UINT32:
45645
+ case Le.SFIXED32:
45646
+ case Le.SINT32:
45647
45647
  s = Number.parseInt(n);
45648
45648
  break;
45649
- case Be.BOOL:
45649
+ case Le.BOOL:
45650
45650
  Nn(n == "true" || n == "false"), s = n == "true";
45651
45651
  break;
45652
45652
  }
@@ -45655,7 +45655,7 @@ function gL(i, e, t, n, r) {
45655
45655
  uu(i, t.V.T, 2, r);
45656
45656
  break;
45657
45657
  case "enum":
45658
- uu(i, Be.INT32, 2, r);
45658
+ uu(i, Le.INT32, 2, r);
45659
45659
  break;
45660
45660
  case "message":
45661
45661
  Nn(r !== void 0), i.tag(2, Fn.LengthDelimited).bytes(r.toBinary(e));
@@ -45675,22 +45675,22 @@ function uu(i, e, t, n) {
45675
45675
  function EC(i) {
45676
45676
  var e = Fn.Varint;
45677
45677
  switch (i) {
45678
- case Be.BYTES:
45679
- case Be.STRING:
45678
+ case Le.BYTES:
45679
+ case Le.STRING:
45680
45680
  e = Fn.LengthDelimited;
45681
45681
  break;
45682
- case Be.DOUBLE:
45683
- case Be.FIXED64:
45684
- case Be.SFIXED64:
45682
+ case Le.DOUBLE:
45683
+ case Le.FIXED64:
45684
+ case Le.SFIXED64:
45685
45685
  e = Fn.Bit64;
45686
45686
  break;
45687
- case Be.FIXED32:
45688
- case Be.SFIXED32:
45689
- case Be.FLOAT:
45687
+ case Le.FIXED32:
45688
+ case Le.SFIXED32:
45689
+ case Le.FLOAT:
45690
45690
  e = Fn.Bit32;
45691
45691
  break;
45692
45692
  }
45693
- return [e, Be[i].toLowerCase()];
45693
+ return [e, Le[i].toLowerCase()];
45694
45694
  }
45695
45695
  function Lc(i) {
45696
45696
  if (i === void 0) return i;
@@ -45821,7 +45821,7 @@ var bL = /* @__PURE__ */ new Set(["constructor", "toString", "toJSON", "valueOf"
45821
45821
  try {
45822
45822
  for (g.s(); !(d = g.n()).done; ) {
45823
45823
  var y = d.value, p = y;
45824
- if (p.localName = DC(y.name, y.oneof !== void 0), p.jsonName = (r = y.jsonName) !== null && r !== void 0 ? r : yL(y.name), p.repeated = (s = y.repeated) !== null && s !== void 0 && s, y.kind == "scalar" && (p.L = (a = y.L) !== null && a !== void 0 ? a : Js.BIGINT), p.delimited = (o = y.delimited) !== null && o !== void 0 && o, p.req = (l = y.req) !== null && l !== void 0 && l, p.opt = (u = y.opt) !== null && u !== void 0 && u, y.packed === void 0 && (p.packed = y.kind == "enum" || y.kind == "scalar" && y.T != Be.BYTES && y.T != Be.STRING), y.oneof !== void 0) {
45824
+ if (p.localName = DC(y.name, y.oneof !== void 0), p.jsonName = (r = y.jsonName) !== null && r !== void 0 ? r : yL(y.name), p.repeated = (s = y.repeated) !== null && s !== void 0 && s, y.kind == "scalar" && (p.L = (a = y.L) !== null && a !== void 0 ? a : Js.BIGINT), p.delimited = (o = y.delimited) !== null && o !== void 0 && o, p.req = (l = y.req) !== null && l !== void 0 && l, p.opt = (u = y.opt) !== null && u !== void 0 && u, y.packed === void 0 && (p.packed = y.kind == "enum" || y.kind == "scalar" && y.T != Le.BYTES && y.T != Le.STRING), y.oneof !== void 0) {
45825
45825
  var h = typeof y.oneof == "string" ? y.oneof : y.oneof.name;
45826
45826
  c && c.name == h || (c = new SL(h)), p.oneof = c, c.addField(p);
45827
45827
  }
@@ -45998,18 +45998,18 @@ var bL = /* @__PURE__ */ new Set(["constructor", "toString", "toJSON", "valueOf"
45998
45998
  var u = l[a].case;
45999
45999
  if (u === void 0) return 0;
46000
46000
  var c = s.findField(u), d = l[a].value;
46001
- c && c.kind == "message" && !Oa(d, c.T) ? d = new c.T(d) : c && c.kind === "scalar" && c.T === Be.BYTES && (d = Gl(d)), o[a] = { case: u, value: d };
46001
+ c && c.kind == "message" && !Oa(d, c.T) ? d = new c.T(d) : c && c.kind === "scalar" && c.T === Le.BYTES && (d = Gl(d)), o[a] = { case: u, value: d };
46002
46002
  break;
46003
46003
  case "scalar":
46004
46004
  case "enum":
46005
46005
  var v = l[a];
46006
- s.T === Be.BYTES && (v = s.repeated ? v.map(Gl) : Gl(v)), o[a] = v;
46006
+ s.T === Le.BYTES && (v = s.repeated ? v.map(Gl) : Gl(v)), o[a] = v;
46007
46007
  break;
46008
46008
  case "map":
46009
46009
  switch (s.V.kind) {
46010
46010
  case "scalar":
46011
46011
  case "enum":
46012
- if (s.V.T === Be.BYTES) for (var g = 0, y = Object.entries(l[a]); g < y.length; g++) {
46012
+ if (s.V.T === Le.BYTES) for (var g = 0, y = Object.entries(l[a]); g < y.length; g++) {
46013
46013
  var p = Qt(y[g], 2), h = p[0], f = p[1];
46014
46014
  o[a][h] = Gl(f);
46015
46015
  }
@@ -46058,7 +46058,7 @@ var bL = /* @__PURE__ */ new Set(["constructor", "toString", "toJSON", "valueOf"
46058
46058
  });
46059
46059
  case "enum":
46060
46060
  return r.every(function(c, d) {
46061
- return Ls(Be.INT32, c, s[d]);
46061
+ return Ls(Le.INT32, c, s[d]);
46062
46062
  });
46063
46063
  }
46064
46064
  throw new Error("repeated cannot contain ".concat(n.kind));
@@ -46067,7 +46067,7 @@ var bL = /* @__PURE__ */ new Set(["constructor", "toString", "toJSON", "valueOf"
46067
46067
  case "message":
46068
46068
  return n.T.equals(r, s);
46069
46069
  case "enum":
46070
- return Ls(Be.INT32, r, s);
46070
+ return Ls(Le.INT32, r, s);
46071
46071
  case "scalar":
46072
46072
  return Ls(n.T, r, s);
46073
46073
  case "oneof":
@@ -46078,7 +46078,7 @@ var bL = /* @__PURE__ */ new Set(["constructor", "toString", "toJSON", "valueOf"
46078
46078
  case "message":
46079
46079
  return a.T.equals(r.value, s.value);
46080
46080
  case "enum":
46081
- return Ls(Be.INT32, r.value, s.value);
46081
+ return Ls(Le.INT32, r.value, s.value);
46082
46082
  case "scalar":
46083
46083
  return Ls(a.T, r.value, s.value);
46084
46084
  }
@@ -46093,7 +46093,7 @@ var bL = /* @__PURE__ */ new Set(["constructor", "toString", "toJSON", "valueOf"
46093
46093
  });
46094
46094
  case "enum":
46095
46095
  return o.every(function(c) {
46096
- return Ls(Be.INT32, r[c], s[c]);
46096
+ return Ls(Le.INT32, r[c], s[c]);
46097
46097
  });
46098
46098
  case "scalar":
46099
46099
  var u = n.V.T;
@@ -50848,8 +50848,8 @@ function ng(i, e, t, n) {
50848
50848
  if (J) return GB;
50849
50849
  var F = se > X ? se / X : X / se;
50850
50850
  return Math.abs(F - 16 / 9) < Math.abs(F - 4 / 3) ? qB : zB;
50851
- }(E, S, D), k = I[0].encoding, R = Math.max(S, D), U = 0; U < I.length; U += 1) {
50852
- var N = I[U];
50851
+ }(E, S, D), k = I[0].encoding, R = Math.max(S, D), B = 0; B < I.length; B += 1) {
50852
+ var N = I[B];
50853
50853
  if (k = N.encoding, N.width >= R) break;
50854
50854
  }
50855
50855
  if (w) switch (w) {
@@ -53897,7 +53897,7 @@ var qx = function(i) {
53897
53897
  });
53898
53898
  } }, { key: "publish", value: function(t, n, r) {
53899
53899
  return ge(this, void 0, void 0, j().mark(function s() {
53900
- var a, o, l, u, c, d, v, g, y, p, h, f, b, _, E, S, D, w, I, k, R, U = this;
53900
+ var a, o, l, u, c, d, v, g, y, p, h, f, b, _, E, S, D, w, I, k, R, B = this;
53901
53901
  return j().wrap(function(N) {
53902
53902
  for (; ; ) switch (N.prev = N.next) {
53903
53903
  case 0:
@@ -53928,7 +53928,7 @@ var qx = function(i) {
53928
53928
  throw new Yn("cannot publish track when not connected");
53929
53929
  case 39:
53930
53930
  if (S = function() {
53931
- return ge(U, void 0, void 0, j().mark(function J() {
53931
+ return ge(B, void 0, void 0, j().mark(function J() {
53932
53932
  var se, X, F, L, H, q, V;
53933
53933
  return j().wrap(function(G) {
53934
53934
  for (; ; ) switch (G.prev = G.next) {
@@ -53999,7 +53999,7 @@ var qx = function(i) {
53999
53999
  }), I && t.kind === je.Kind.Video && (k = fd(I)) !== h && (this.log.debug("falling back to server selected codec", Object.assign(Object.assign(Object.assign({}, this.logContext), cn(t)), { codec: k })), n.videoCodec = k, b = ng(t.source === je.Source.ScreenShare, f.width, f.height, n)), N.next = 54, S();
54000
54000
  case 54:
54001
54001
  return (R = new th(t.kind, D, t, { loggerName: this.roomOptions.loggerName, loggerContextCb: function() {
54002
- return U.logContext;
54002
+ return B.logContext;
54003
54003
  } })).options = n, t.sid = D.sid, this.log.debug("publishing ".concat(t.kind, " with encodings"), Object.assign(Object.assign({}, this.logContext), { encodings: b, trackInfo: D })), t instanceof mi ? t.startMonitor(this.engine.client) : t instanceof ai && t.startMonitor(), this.addTrackPublication(R), this.emit(rt.LocalTrackPublished, R), N.abrupt("return", R);
54004
54004
  case 62:
54005
54005
  case "end":
@@ -55914,8 +55914,8 @@ function ba() {
55914
55914
  var h = y + p, f = g[h];
55915
55915
  g[h] = 16711935 & (f << 8 | f >>> 24) | 4278255360 & (f << 24 | f >>> 8);
55916
55916
  }
55917
- var b = this._hash.words, _ = g[y + 0], E = g[y + 1], S = g[y + 2], D = g[y + 3], w = g[y + 4], I = g[y + 5], k = g[y + 6], R = g[y + 7], U = g[y + 8], N = g[y + 9], J = g[y + 10], se = g[y + 11], X = g[y + 12], F = g[y + 13], L = g[y + 14], H = g[y + 15], q = b[0], V = b[1], G = b[2], ue = b[3];
55918
- q = u(q, V, G, ue, _, 7, o[0]), ue = u(ue, q, V, G, E, 12, o[1]), G = u(G, ue, q, V, S, 17, o[2]), V = u(V, G, ue, q, D, 22, o[3]), q = u(q, V, G, ue, w, 7, o[4]), ue = u(ue, q, V, G, I, 12, o[5]), G = u(G, ue, q, V, k, 17, o[6]), V = u(V, G, ue, q, R, 22, o[7]), q = u(q, V, G, ue, U, 7, o[8]), ue = u(ue, q, V, G, N, 12, o[9]), G = u(G, ue, q, V, J, 17, o[10]), V = u(V, G, ue, q, se, 22, o[11]), q = u(q, V, G, ue, X, 7, o[12]), ue = u(ue, q, V, G, F, 12, o[13]), G = u(G, ue, q, V, L, 17, o[14]), q = c(q, V = u(V, G, ue, q, H, 22, o[15]), G, ue, E, 5, o[16]), ue = c(ue, q, V, G, k, 9, o[17]), G = c(G, ue, q, V, se, 14, o[18]), V = c(V, G, ue, q, _, 20, o[19]), q = c(q, V, G, ue, I, 5, o[20]), ue = c(ue, q, V, G, J, 9, o[21]), G = c(G, ue, q, V, H, 14, o[22]), V = c(V, G, ue, q, w, 20, o[23]), q = c(q, V, G, ue, N, 5, o[24]), ue = c(ue, q, V, G, L, 9, o[25]), G = c(G, ue, q, V, D, 14, o[26]), V = c(V, G, ue, q, U, 20, o[27]), q = c(q, V, G, ue, F, 5, o[28]), ue = c(ue, q, V, G, S, 9, o[29]), G = c(G, ue, q, V, R, 14, o[30]), q = d(q, V = c(V, G, ue, q, X, 20, o[31]), G, ue, I, 4, o[32]), ue = d(ue, q, V, G, U, 11, o[33]), G = d(G, ue, q, V, se, 16, o[34]), V = d(V, G, ue, q, L, 23, o[35]), q = d(q, V, G, ue, E, 4, o[36]), ue = d(ue, q, V, G, w, 11, o[37]), G = d(G, ue, q, V, R, 16, o[38]), V = d(V, G, ue, q, J, 23, o[39]), q = d(q, V, G, ue, F, 4, o[40]), ue = d(ue, q, V, G, _, 11, o[41]), G = d(G, ue, q, V, D, 16, o[42]), V = d(V, G, ue, q, k, 23, o[43]), q = d(q, V, G, ue, N, 4, o[44]), ue = d(ue, q, V, G, X, 11, o[45]), G = d(G, ue, q, V, H, 16, o[46]), q = v(q, V = d(V, G, ue, q, S, 23, o[47]), G, ue, _, 6, o[48]), ue = v(ue, q, V, G, R, 10, o[49]), G = v(G, ue, q, V, L, 15, o[50]), V = v(V, G, ue, q, I, 21, o[51]), q = v(q, V, G, ue, X, 6, o[52]), ue = v(ue, q, V, G, D, 10, o[53]), G = v(G, ue, q, V, J, 15, o[54]), V = v(V, G, ue, q, E, 21, o[55]), q = v(q, V, G, ue, U, 6, o[56]), ue = v(ue, q, V, G, H, 10, o[57]), G = v(G, ue, q, V, k, 15, o[58]), V = v(V, G, ue, q, F, 21, o[59]), q = v(q, V, G, ue, w, 6, o[60]), ue = v(ue, q, V, G, se, 10, o[61]), G = v(G, ue, q, V, S, 15, o[62]), V = v(V, G, ue, q, N, 21, o[63]), b[0] = b[0] + q | 0, b[1] = b[1] + V | 0, b[2] = b[2] + G | 0, b[3] = b[3] + ue | 0;
55917
+ var b = this._hash.words, _ = g[y + 0], E = g[y + 1], S = g[y + 2], D = g[y + 3], w = g[y + 4], I = g[y + 5], k = g[y + 6], R = g[y + 7], B = g[y + 8], N = g[y + 9], J = g[y + 10], se = g[y + 11], X = g[y + 12], F = g[y + 13], L = g[y + 14], H = g[y + 15], q = b[0], V = b[1], G = b[2], ue = b[3];
55918
+ q = u(q, V, G, ue, _, 7, o[0]), ue = u(ue, q, V, G, E, 12, o[1]), G = u(G, ue, q, V, S, 17, o[2]), V = u(V, G, ue, q, D, 22, o[3]), q = u(q, V, G, ue, w, 7, o[4]), ue = u(ue, q, V, G, I, 12, o[5]), G = u(G, ue, q, V, k, 17, o[6]), V = u(V, G, ue, q, R, 22, o[7]), q = u(q, V, G, ue, B, 7, o[8]), ue = u(ue, q, V, G, N, 12, o[9]), G = u(G, ue, q, V, J, 17, o[10]), V = u(V, G, ue, q, se, 22, o[11]), q = u(q, V, G, ue, X, 7, o[12]), ue = u(ue, q, V, G, F, 12, o[13]), G = u(G, ue, q, V, L, 17, o[14]), q = c(q, V = u(V, G, ue, q, H, 22, o[15]), G, ue, E, 5, o[16]), ue = c(ue, q, V, G, k, 9, o[17]), G = c(G, ue, q, V, se, 14, o[18]), V = c(V, G, ue, q, _, 20, o[19]), q = c(q, V, G, ue, I, 5, o[20]), ue = c(ue, q, V, G, J, 9, o[21]), G = c(G, ue, q, V, H, 14, o[22]), V = c(V, G, ue, q, w, 20, o[23]), q = c(q, V, G, ue, N, 5, o[24]), ue = c(ue, q, V, G, L, 9, o[25]), G = c(G, ue, q, V, D, 14, o[26]), V = c(V, G, ue, q, B, 20, o[27]), q = c(q, V, G, ue, F, 5, o[28]), ue = c(ue, q, V, G, S, 9, o[29]), G = c(G, ue, q, V, R, 14, o[30]), q = d(q, V = c(V, G, ue, q, X, 20, o[31]), G, ue, I, 4, o[32]), ue = d(ue, q, V, G, B, 11, o[33]), G = d(G, ue, q, V, se, 16, o[34]), V = d(V, G, ue, q, L, 23, o[35]), q = d(q, V, G, ue, E, 4, o[36]), ue = d(ue, q, V, G, w, 11, o[37]), G = d(G, ue, q, V, R, 16, o[38]), V = d(V, G, ue, q, J, 23, o[39]), q = d(q, V, G, ue, F, 4, o[40]), ue = d(ue, q, V, G, _, 11, o[41]), G = d(G, ue, q, V, D, 16, o[42]), V = d(V, G, ue, q, k, 23, o[43]), q = d(q, V, G, ue, N, 4, o[44]), ue = d(ue, q, V, G, X, 11, o[45]), G = d(G, ue, q, V, H, 16, o[46]), q = v(q, V = d(V, G, ue, q, S, 23, o[47]), G, ue, _, 6, o[48]), ue = v(ue, q, V, G, R, 10, o[49]), G = v(G, ue, q, V, L, 15, o[50]), V = v(V, G, ue, q, I, 21, o[51]), q = v(q, V, G, ue, X, 6, o[52]), ue = v(ue, q, V, G, D, 10, o[53]), G = v(G, ue, q, V, J, 15, o[54]), V = v(V, G, ue, q, E, 21, o[55]), q = v(q, V, G, ue, B, 6, o[56]), ue = v(ue, q, V, G, H, 10, o[57]), G = v(G, ue, q, V, k, 15, o[58]), V = v(V, G, ue, q, F, 21, o[59]), q = v(q, V, G, ue, w, 6, o[60]), ue = v(ue, q, V, G, se, 10, o[61]), G = v(G, ue, q, V, S, 15, o[62]), V = v(V, G, ue, q, N, 21, o[63]), b[0] = b[0] + q | 0, b[1] = b[1] + V | 0, b[2] = b[2] + G | 0, b[3] = b[3] + ue | 0;
55919
55919
  }, _doFinalize: function() {
55920
55920
  var g = this._data, y = g.words, p = 8 * this._nDataBytes, h = 8 * g.sigBytes;
55921
55921
  y[h >>> 5] |= 128 << 24 - h % 32;
@@ -56000,8 +56000,8 @@ function Fp() {
56000
56000
  var w = u[D - 15], I = (w << 25 | w >>> 7) ^ (w << 14 | w >>> 18) ^ w >>> 3, k = u[D - 2], R = (k << 15 | k >>> 17) ^ (k << 13 | k >>> 19) ^ k >>> 10;
56001
56001
  u[D] = I + u[D - 7] + R + u[D - 16];
56002
56002
  }
56003
- var U = y & p ^ y & h ^ p & h, N = (y << 30 | y >>> 2) ^ (y << 19 | y >>> 13) ^ (y << 10 | y >>> 22), J = S + ((b << 26 | b >>> 6) ^ (b << 21 | b >>> 11) ^ (b << 7 | b >>> 25)) + (b & _ ^ ~b & E) + l[D] + u[D];
56004
- S = E, E = _, _ = b, b = f + J | 0, f = h, h = p, p = y, y = J + (N + U) | 0;
56003
+ var B = y & p ^ y & h ^ p & h, N = (y << 30 | y >>> 2) ^ (y << 19 | y >>> 13) ^ (y << 10 | y >>> 22), J = S + ((b << 26 | b >>> 6) ^ (b << 21 | b >>> 11) ^ (b << 7 | b >>> 25)) + (b & _ ^ ~b & E) + l[D] + u[D];
56004
+ S = E, E = _, _ = b, b = f + J | 0, f = h, h = p, p = y, y = J + (N + B) | 0;
56005
56005
  }
56006
56006
  g[0] = g[0] + y | 0, g[1] = g[1] + p | 0, g[2] = g[2] + h | 0, g[3] = g[3] + f | 0, g[4] = g[4] + b | 0, g[5] = g[5] + _ | 0, g[6] = g[6] + E | 0, g[7] = g[7] + S | 0;
56007
56007
  }, _doFinalize: function() {
@@ -56030,17 +56030,17 @@ function a2() {
56030
56030
  var c = a.SHA512 = t.extend({ _doReset: function() {
56031
56031
  this._hash = new s.init([new r.init(1779033703, 4089235720), new r.init(3144134277, 2227873595), new r.init(1013904242, 4271175723), new r.init(2773480762, 1595750129), new r.init(1359893119, 2917565137), new r.init(2600822924, 725511199), new r.init(528734635, 4215389547), new r.init(1541459225, 327033209)]);
56032
56032
  }, _doProcessBlock: function(d, v) {
56033
- for (var g = this._hash.words, y = g[0], p = g[1], h = g[2], f = g[3], b = g[4], _ = g[5], E = g[6], S = g[7], D = y.high, w = y.low, I = p.high, k = p.low, R = h.high, U = h.low, N = f.high, J = f.low, se = b.high, X = b.low, F = _.high, L = _.low, H = E.high, q = E.low, V = S.high, G = S.low, ue = D, we = w, _e = I, ne = k, Te = R, Se = U, He = N, tt = J, Fe = se, st = X, Ne = F, Ke = L, ce = H, le = q, de = V, $e = G, Ie = 0; 80 > Ie; Ie++) {
56033
+ for (var g = this._hash.words, y = g[0], p = g[1], h = g[2], f = g[3], b = g[4], _ = g[5], E = g[6], S = g[7], D = y.high, w = y.low, I = p.high, k = p.low, R = h.high, B = h.low, N = f.high, J = f.low, se = b.high, X = b.low, F = _.high, L = _.low, H = E.high, q = E.low, V = S.high, G = S.low, ue = D, we = w, _e = I, ne = k, Te = R, Se = B, He = N, tt = J, Fe = se, st = X, Ne = F, Ke = L, ce = H, le = q, de = V, $e = G, Ie = 0; 80 > Ie; Ie++) {
56034
56034
  var vt, Xe, ot = u[Ie];
56035
56035
  if (16 > Ie) Xe = ot.high = 0 | d[v + 2 * Ie], vt = ot.low = 0 | d[v + 2 * Ie + 1];
56036
56036
  else {
56037
- var yt = u[Ie - 15], Re = yt.high, at = yt.low, qe = (Re >>> 1 | at << 31) ^ (Re >>> 8 | at << 24) ^ Re >>> 7, Ut = (at >>> 1 | Re << 31) ^ (at >>> 8 | Re << 24) ^ (at >>> 7 | Re << 25), en = u[Ie - 2], Gt = en.high, Ue = en.low, pt = (Gt >>> 19 | Ue << 13) ^ (Gt << 3 | Ue >>> 29) ^ Gt >>> 6, Mt = (Ue >>> 19 | Gt << 13) ^ (Ue << 3 | Gt >>> 29) ^ (Ue >>> 6 | Gt << 26), nt = u[Ie - 7], Tn = nt.high, Dt = nt.low, Pn = u[Ie - 16], kn = Pn.high, di = Pn.low;
56037
+ var yt = u[Ie - 15], Re = yt.high, at = yt.low, qe = (Re >>> 1 | at << 31) ^ (Re >>> 8 | at << 24) ^ Re >>> 7, Ut = (at >>> 1 | Re << 31) ^ (at >>> 8 | Re << 24) ^ (at >>> 7 | Re << 25), en = u[Ie - 2], Gt = en.high, Be = en.low, pt = (Gt >>> 19 | Be << 13) ^ (Gt << 3 | Be >>> 29) ^ Gt >>> 6, Mt = (Be >>> 19 | Gt << 13) ^ (Be << 3 | Gt >>> 29) ^ (Be >>> 6 | Gt << 26), nt = u[Ie - 7], Tn = nt.high, Dt = nt.low, Pn = u[Ie - 16], kn = Pn.high, di = Pn.low;
56038
56038
  Xe = (Xe = (Xe = qe + Tn + (Ut >>> 0 > (vt = Ut + Dt) >>> 0 ? 1 : 0)) + pt + (Mt >>> 0 > (vt += Mt) >>> 0 ? 1 : 0)) + kn + (di >>> 0 > (vt += di) >>> 0 ? 1 : 0), ot.high = Xe, ot.low = vt;
56039
56039
  }
56040
- var Wn, os = Fe & Ne ^ ~Fe & ce, Mr = st & Ke ^ ~st & le, $ = ue & _e ^ ue & Te ^ _e & Te, z = we & ne ^ we & Se ^ ne & Se, oe = (ue >>> 28 | we << 4) ^ (ue << 30 | we >>> 2) ^ (ue << 25 | we >>> 7), be = (we >>> 28 | ue << 4) ^ (we << 30 | ue >>> 2) ^ (we << 25 | ue >>> 7), Je = (Fe >>> 14 | st << 18) ^ (Fe >>> 18 | st << 14) ^ (Fe << 23 | st >>> 9), Tt = (st >>> 14 | Fe << 18) ^ (st >>> 18 | Fe << 14) ^ (st << 23 | Fe >>> 9), Wt = l[Ie], Hn = Wt.high, mt = Wt.low, Le = de + Je + ($e >>> 0 > (Wn = $e + Tt) >>> 0 ? 1 : 0), Kn = be + z;
56041
- de = ce, $e = le, ce = Ne, le = Ke, Ne = Fe, Ke = st, Fe = He + (Le = (Le = (Le = Le + os + (Mr >>> 0 > (Wn += Mr) >>> 0 ? 1 : 0)) + Hn + (mt >>> 0 > (Wn += mt) >>> 0 ? 1 : 0)) + Xe + (vt >>> 0 > (Wn += vt) >>> 0 ? 1 : 0)) + (tt >>> 0 > (st = tt + Wn | 0) >>> 0 ? 1 : 0) | 0, He = Te, tt = Se, Te = _e, Se = ne, _e = ue, ne = we, ue = Le + (oe + $ + (be >>> 0 > Kn >>> 0 ? 1 : 0)) + (Wn >>> 0 > (we = Wn + Kn | 0) >>> 0 ? 1 : 0) | 0;
56040
+ var Wn, os = Fe & Ne ^ ~Fe & ce, Mr = st & Ke ^ ~st & le, $ = ue & _e ^ ue & Te ^ _e & Te, z = we & ne ^ we & Se ^ ne & Se, oe = (ue >>> 28 | we << 4) ^ (ue << 30 | we >>> 2) ^ (ue << 25 | we >>> 7), be = (we >>> 28 | ue << 4) ^ (we << 30 | ue >>> 2) ^ (we << 25 | ue >>> 7), Je = (Fe >>> 14 | st << 18) ^ (Fe >>> 18 | st << 14) ^ (Fe << 23 | st >>> 9), Tt = (st >>> 14 | Fe << 18) ^ (st >>> 18 | Fe << 14) ^ (st << 23 | Fe >>> 9), Wt = l[Ie], Hn = Wt.high, mt = Wt.low, Ue = de + Je + ($e >>> 0 > (Wn = $e + Tt) >>> 0 ? 1 : 0), Kn = be + z;
56041
+ de = ce, $e = le, ce = Ne, le = Ke, Ne = Fe, Ke = st, Fe = He + (Ue = (Ue = (Ue = Ue + os + (Mr >>> 0 > (Wn += Mr) >>> 0 ? 1 : 0)) + Hn + (mt >>> 0 > (Wn += mt) >>> 0 ? 1 : 0)) + Xe + (vt >>> 0 > (Wn += vt) >>> 0 ? 1 : 0)) + (tt >>> 0 > (st = tt + Wn | 0) >>> 0 ? 1 : 0) | 0, He = Te, tt = Se, Te = _e, Se = ne, _e = ue, ne = we, ue = Ue + (oe + $ + (be >>> 0 > Kn >>> 0 ? 1 : 0)) + (Wn >>> 0 > (we = Wn + Kn | 0) >>> 0 ? 1 : 0) | 0;
56042
56042
  }
56043
- w = y.low = w + we, y.high = D + ue + (we >>> 0 > w >>> 0 ? 1 : 0), k = p.low = k + ne, p.high = I + _e + (ne >>> 0 > k >>> 0 ? 1 : 0), U = h.low = U + Se, h.high = R + Te + (Se >>> 0 > U >>> 0 ? 1 : 0), J = f.low = J + tt, f.high = N + He + (tt >>> 0 > J >>> 0 ? 1 : 0), X = b.low = X + st, b.high = se + Fe + (st >>> 0 > X >>> 0 ? 1 : 0), L = _.low = L + Ke, _.high = F + Ne + (Ke >>> 0 > L >>> 0 ? 1 : 0), q = E.low = q + le, E.high = H + ce + (le >>> 0 > q >>> 0 ? 1 : 0), G = S.low = G + $e, S.high = V + de + ($e >>> 0 > G >>> 0 ? 1 : 0);
56043
+ w = y.low = w + we, y.high = D + ue + (we >>> 0 > w >>> 0 ? 1 : 0), k = p.low = k + ne, p.high = I + _e + (ne >>> 0 > k >>> 0 ? 1 : 0), B = h.low = B + Se, h.high = R + Te + (Se >>> 0 > B >>> 0 ? 1 : 0), J = f.low = J + tt, f.high = N + He + (tt >>> 0 > J >>> 0 ? 1 : 0), X = b.low = X + st, b.high = se + Fe + (st >>> 0 > X >>> 0 ? 1 : 0), L = _.low = L + Ke, _.high = F + Ne + (Ke >>> 0 > L >>> 0 ? 1 : 0), q = E.low = q + le, E.high = H + ce + (le >>> 0 > q >>> 0 ? 1 : 0), G = S.low = G + $e, S.high = V + de + ($e >>> 0 > G >>> 0 ? 1 : 0);
56044
56044
  }, _doFinalize: function() {
56045
56045
  var d = this._data, v = d.words, g = 8 * this._nDataBytes, y = 8 * d.sigBytes;
56046
56046
  return v[y >>> 5] |= 128 << 24 - y % 32, v[30 + (y + 128 >>> 10 << 5)] = Math.floor(g / 4294967296), v[31 + (y + 128 >>> 10 << 5)] = g, d.sigBytes = 4 * v.length, this._process(), this._hash.toX32();
@@ -56094,7 +56094,7 @@ function aU() {
56094
56094
  k.high = D, k.low = w;
56095
56095
  }
56096
56096
  for (S = 0; 5 > S; S++) {
56097
- var R = d[(S + 4) % 5], U = d[(S + 1) % 5], N = U.high, J = U.low;
56097
+ var R = d[(S + 4) % 5], B = d[(S + 1) % 5], N = B.high, J = B.low;
56098
56098
  for (D = R.high ^ (N << 1 | J >>> 31), w = R.low ^ (J << 1 | N >>> 31), I = 0; 5 > I; I++) (G = p[S + 5 * I]).high ^= D, G.low ^= w;
56099
56099
  }
56100
56100
  for (var se = 1; 25 > se; se++) {
@@ -56213,7 +56213,7 @@ function Zn() {
56213
56213
  function S(D, w, I) {
56214
56214
  var k, R = this._iv;
56215
56215
  R ? (k = R, this._iv = e) : k = this._prevBlock;
56216
- for (var U = 0; I > U; U++) D[w + U] ^= k[U];
56216
+ for (var B = 0; I > B; B++) D[w + B] ^= k[B];
56217
56217
  }
56218
56218
  return E.Encryptor = E.extend({ processBlock: function(D, w) {
56219
56219
  var I = this._cipher, k = I.blockSize;
@@ -56224,8 +56224,8 @@ function Zn() {
56224
56224
  } }), E;
56225
56225
  }(), y = (t.pad = {}).Pkcs7 = { pad: function(E, S) {
56226
56226
  for (var D = 4 * S, w = D - E.sigBytes % D, I = w << 24 | w << 16 | w << 8 | w, k = [], R = 0; w > R; R += 4) k.push(I);
56227
- var U = s.create(k, w);
56228
- E.concat(U);
56227
+ var B = s.create(k, w);
56228
+ E.concat(B);
56229
56229
  }, unpad: function(E) {
56230
56230
  var S = 255 & E.words[E.sigBytes - 1 >>> 2];
56231
56231
  E.sigBytes -= S;
@@ -56476,15 +56476,15 @@ Wx.exports = /* @__PURE__ */ function(i) {
56476
56476
  var w = S + D, I = E[w];
56477
56477
  E[w] = 16711935 & (I << 8 | I >>> 24) | 4278255360 & (I << 24 | I >>> 8);
56478
56478
  }
56479
- var k, R, U, N, J, se, X, F, L, H, q, V = this._hash.words, G = d.words, ue = v.words, we = o.words, _e = l.words, ne = u.words, Te = c.words;
56480
- for (se = k = V[0], X = R = V[1], F = U = V[2], L = N = V[3], H = J = V[4], D = 0; 80 > D; D += 1) q = k + E[S + we[D]] | 0, q += 16 > D ? y(R, U, N) + G[0] : 32 > D ? p(R, U, N) + G[1] : 48 > D ? h(R, U, N) + G[2] : 64 > D ? f(R, U, N) + G[3] : b(R, U, N) + G[4], q = (q = _(q |= 0, ne[D])) + J | 0, k = J, J = N, N = _(U, 10), U = R, R = q, q = se + E[S + _e[D]] | 0, q += 16 > D ? b(X, F, L) + ue[0] : 32 > D ? f(X, F, L) + ue[1] : 48 > D ? h(X, F, L) + ue[2] : 64 > D ? p(X, F, L) + ue[3] : y(X, F, L) + ue[4], q = (q = _(q |= 0, Te[D])) + H | 0, se = H, H = L, L = _(F, 10), F = X, X = q;
56481
- q = V[1] + U + L | 0, V[1] = V[2] + N + H | 0, V[2] = V[3] + J + se | 0, V[3] = V[4] + k + X | 0, V[4] = V[0] + R + F | 0, V[0] = q;
56479
+ var k, R, B, N, J, se, X, F, L, H, q, V = this._hash.words, G = d.words, ue = v.words, we = o.words, _e = l.words, ne = u.words, Te = c.words;
56480
+ for (se = k = V[0], X = R = V[1], F = B = V[2], L = N = V[3], H = J = V[4], D = 0; 80 > D; D += 1) q = k + E[S + we[D]] | 0, q += 16 > D ? y(R, B, N) + G[0] : 32 > D ? p(R, B, N) + G[1] : 48 > D ? h(R, B, N) + G[2] : 64 > D ? f(R, B, N) + G[3] : b(R, B, N) + G[4], q = (q = _(q |= 0, ne[D])) + J | 0, k = J, J = N, N = _(B, 10), B = R, R = q, q = se + E[S + _e[D]] | 0, q += 16 > D ? b(X, F, L) + ue[0] : 32 > D ? f(X, F, L) + ue[1] : 48 > D ? h(X, F, L) + ue[2] : 64 > D ? p(X, F, L) + ue[3] : y(X, F, L) + ue[4], q = (q = _(q |= 0, Te[D])) + H | 0, se = H, H = L, L = _(F, 10), F = X, X = q;
56481
+ q = V[1] + B + L | 0, V[1] = V[2] + N + H | 0, V[2] = V[3] + J + se | 0, V[3] = V[4] + k + X | 0, V[4] = V[0] + R + F | 0, V[0] = q;
56482
56482
  }, _doFinalize: function() {
56483
56483
  var E = this._data, S = E.words, D = 8 * this._nDataBytes, w = 8 * E.sigBytes;
56484
56484
  S[w >>> 5] |= 128 << 24 - w % 32, S[14 + (w + 64 >>> 9 << 4)] = 16711935 & (D << 8 | D >>> 24) | 4278255360 & (D << 24 | D >>> 8), E.sigBytes = 4 * (S.length + 1), this._process();
56485
56485
  for (var I = this._hash, k = I.words, R = 0; 5 > R; R++) {
56486
- var U = k[R];
56487
- k[R] = 16711935 & (U << 8 | U >>> 24) | 4278255360 & (U << 24 | U >>> 8);
56486
+ var B = k[R];
56487
+ k[R] = 16711935 & (B << 8 | B >>> 24) | 4278255360 & (B << 24 | B >>> 8);
56488
56488
  }
56489
56489
  return I;
56490
56490
  }, clone: function() {
@@ -56609,11 +56609,11 @@ Wx.exports = /* @__PURE__ */ function(i) {
56609
56609
  var b = h[f + 1];
56610
56610
  h[f + 1] = h[f + 3], h[f + 3] = b, this._doCryptBlock(h, f, this._invKeySchedule, c, d, v, g, s), b = h[f + 1], h[f + 1] = h[f + 3], h[f + 3] = b;
56611
56611
  }, _doCryptBlock: function(h, f, b, _, E, S, D, w) {
56612
- for (var I = this._nRounds, k = h[f] ^ b[0], R = h[f + 1] ^ b[1], U = h[f + 2] ^ b[2], N = h[f + 3] ^ b[3], J = 4, se = 1; I > se; se++) {
56613
- var X = _[k >>> 24] ^ E[R >>> 16 & 255] ^ S[U >>> 8 & 255] ^ D[255 & N] ^ b[J++], F = _[R >>> 24] ^ E[U >>> 16 & 255] ^ S[N >>> 8 & 255] ^ D[255 & k] ^ b[J++], L = _[U >>> 24] ^ E[N >>> 16 & 255] ^ S[k >>> 8 & 255] ^ D[255 & R] ^ b[J++], H = _[N >>> 24] ^ E[k >>> 16 & 255] ^ S[R >>> 8 & 255] ^ D[255 & U] ^ b[J++];
56614
- k = X, R = F, U = L, N = H;
56612
+ for (var I = this._nRounds, k = h[f] ^ b[0], R = h[f + 1] ^ b[1], B = h[f + 2] ^ b[2], N = h[f + 3] ^ b[3], J = 4, se = 1; I > se; se++) {
56613
+ var X = _[k >>> 24] ^ E[R >>> 16 & 255] ^ S[B >>> 8 & 255] ^ D[255 & N] ^ b[J++], F = _[R >>> 24] ^ E[B >>> 16 & 255] ^ S[N >>> 8 & 255] ^ D[255 & k] ^ b[J++], L = _[B >>> 24] ^ E[N >>> 16 & 255] ^ S[k >>> 8 & 255] ^ D[255 & R] ^ b[J++], H = _[N >>> 24] ^ E[k >>> 16 & 255] ^ S[R >>> 8 & 255] ^ D[255 & B] ^ b[J++];
56614
+ k = X, R = F, B = L, N = H;
56615
56615
  }
56616
- X = (w[k >>> 24] << 24 | w[R >>> 16 & 255] << 16 | w[U >>> 8 & 255] << 8 | w[255 & N]) ^ b[J++], F = (w[R >>> 24] << 24 | w[U >>> 16 & 255] << 16 | w[N >>> 8 & 255] << 8 | w[255 & k]) ^ b[J++], L = (w[U >>> 24] << 24 | w[N >>> 16 & 255] << 16 | w[k >>> 8 & 255] << 8 | w[255 & R]) ^ b[J++], H = (w[N >>> 24] << 24 | w[k >>> 16 & 255] << 16 | w[R >>> 8 & 255] << 8 | w[255 & U]) ^ b[J++], h[f] = X, h[f + 1] = F, h[f + 2] = L, h[f + 3] = H;
56616
+ X = (w[k >>> 24] << 24 | w[R >>> 16 & 255] << 16 | w[B >>> 8 & 255] << 8 | w[255 & N]) ^ b[J++], F = (w[R >>> 24] << 24 | w[B >>> 16 & 255] << 16 | w[N >>> 8 & 255] << 8 | w[255 & k]) ^ b[J++], L = (w[B >>> 24] << 24 | w[N >>> 16 & 255] << 16 | w[k >>> 8 & 255] << 8 | w[255 & R]) ^ b[J++], H = (w[N >>> 24] << 24 | w[k >>> 16 & 255] << 16 | w[R >>> 8 & 255] << 8 | w[255 & B]) ^ b[J++], h[f] = X, h[f + 1] = F, h[f + 2] = L, h[f + 3] = H;
56617
56617
  }, keySize: 8 });
56618
56618
  e.AES = t._createHelper(p);
56619
56619
  }(), i.AES;
@@ -56788,8 +56788,8 @@ var fa = /* @__PURE__ */ new WeakMap(), mU = function() {
56788
56788
  function e() {
56789
56789
  var h, f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, b = f.userId, _ = f.org, E = f.roomName, S = E === void 0 ? "" : E, D = f.roomMode, w = D === void 0 ? "auto" : D, I = f.baseUrl;
56790
56790
  It(this, e), br(Ct(h = on(this, e)), Jx), br(Ct(h), Yx), br(Ct(h), pd), br(Ct(h), z2), br(Ct(h), q2), br(Ct(h), Xx), br(Ct(h), Hr), br(Ct(h), H2), br(Ct(h), zc), br(Ct(h), V2), gs(Ct(h), Hc, { writable: !0, value: "" }), gs(Ct(h), qc, { writable: !0, value: "" }), gs(Ct(h), rh, { writable: !0, value: null }), gs(Ct(h), sr, { writable: !0, value: "devkey" }), gs(Ct(h), ag, { writable: !0, value: "hongxinlkclient&BBX5Y8PtsACxFEEApUPs" }), h.userId = b, h.org = _, h.roomName = S, h.roomNum, h.room = null, h.roomMode = w, h.baseUrl = I, h.encoder = new TextEncoder(), h.decoder = new TextDecoder(), h.wshead = h.baseUrl.split("//")[0] == "http:" ? "ws://" : "wss://";
56791
- var k = xn(Ct(h), Hr, ds).call(Ct(h)), R = k.timestamp, U = k.signature;
56792
- return h.websocketUrl = "".concat(h.wshead).concat(h.baseUrl.split("//")[1], "/socket?org=").concat(h.org, "&identity=").concat(h.userId, "&apikey=").concat(Xt(Ct(h), sr), "&timestamp=").concat(R, "&signature=").concat(U), h.socket = new fU(h.websocketUrl, Xt(Ct(h), sr), Xt(Ct(h), ag)), h.socket.addOpenHandler("SocketOpen", function() {
56791
+ var k = xn(Ct(h), Hr, ds).call(Ct(h)), R = k.timestamp, B = k.signature;
56792
+ return h.websocketUrl = "".concat(h.wshead).concat(h.baseUrl.split("//")[1], "/socket?org=").concat(h.org, "&identity=").concat(h.userId, "&apikey=").concat(Xt(Ct(h), sr), "&timestamp=").concat(R, "&signature=").concat(B), h.socket = new fU(h.websocketUrl, Xt(Ct(h), sr), Xt(Ct(h), ag)), h.socket.addOpenHandler("SocketOpen", function() {
56793
56793
  h.emit("socketOpen");
56794
56794
  }), h.socket.connect(), xn(Ct(h), V2, gU).call(Ct(h)), h;
56795
56795
  }
@@ -56811,11 +56811,11 @@ var fa = /* @__PURE__ */ new WeakMap(), mU = function() {
56811
56811
  }
56812
56812
  this.emit("errorPush", { type: "screenShot", message: "DOM元素不存在" });
56813
56813
  } }, { key: "uploadScreenShot", value: (p = si(j().mark(function h(f) {
56814
- var b, _, E, S, D, w, I, k, R, U = arguments;
56814
+ var b, _, E, S, D, w, I, k, R, B = arguments;
56815
56815
  return j().wrap(function(N) {
56816
56816
  for (; ; ) switch (N.prev = N.next) {
56817
56817
  case 0:
56818
- return b = U.length > 1 && U[1] !== void 0 ? U[1] : {}, E = this.screenShot(f, b), (S = E.indexOf(",")) > -1 && (_ = E.substring(S + 1)), D = xn(this, Hr, ds).call(this), w = D.timestamp, I = D.signature, N.next = 7, fetch(this.baseUrl + "/api/FileFind/upload/image/sample", ml({ method: "POST", headers: { "Content-Type": "application/json;charset=utf-8" }, body: JSON.stringify({ base64: _, org: this.org, owner: this.userId }) }, "headers", { apikey: Xt(this, sr), timestamp: w, signature: I }));
56818
+ return b = B.length > 1 && B[1] !== void 0 ? B[1] : {}, E = this.screenShot(f, b), (S = E.indexOf(",")) > -1 && (_ = E.substring(S + 1)), D = xn(this, Hr, ds).call(this), w = D.timestamp, I = D.signature, N.next = 7, fetch(this.baseUrl + "/api/FileFind/upload/image/sample", ml({ method: "POST", headers: { "Content-Type": "application/json;charset=utf-8" }, body: JSON.stringify({ base64: _, org: this.org, owner: this.userId }) }, "headers", { apikey: Xt(this, sr), timestamp: w, signature: I }));
56819
56819
  case 7:
56820
56820
  return k = N.sent, N.prev = 8, N.next = 11, k.json();
56821
56821
  case 11:
@@ -56905,7 +56905,7 @@ var fa = /* @__PURE__ */ new WeakMap(), mU = function() {
56905
56905
  });
56906
56906
  });
56907
56907
  } }, { key: "createRoom", value: (y = si(j().mark(function h() {
56908
- var f, b, _, E, S, D, w, I, k, R, U;
56908
+ var f, b, _, E, S, D, w, I, k, R, B;
56909
56909
  return j().wrap(function(N) {
56910
56910
  for (; ; ) switch (N.prev = N.next) {
56911
56911
  case 0:
@@ -56937,7 +56937,7 @@ var fa = /* @__PURE__ */ new WeakMap(), mU = function() {
56937
56937
  }
56938
56938
  return _ = f.data, I = xn(this, Hr, ds).call(this), k = I.timestamp, R = I.signature, N.next = 23, fetch(this.baseUrl + "/api/v1/createDispatcher", { method: "POST", body: JSON.stringify({ org: this.org, room: _, called: _ }), headers: { apikey: Xt(this, sr), timestamp: k, signature: R } });
56939
56939
  case 23:
56940
- return U = N.sent, N.next = 26, U.json();
56940
+ return B = N.sent, N.next = 26, B.json();
56941
56941
  case 26:
56942
56942
  if ((b = N.sent).code != 200) {
56943
56943
  N.next = 32;
@@ -56967,11 +56967,11 @@ var fa = /* @__PURE__ */ new WeakMap(), mU = function() {
56967
56967
  })), function() {
56968
56968
  return y.apply(this, arguments);
56969
56969
  }) }, { key: "joinRoom", value: (g = si(j().mark(function h() {
56970
- var f, b, _, E, S, D, w, I, k, R, U, N, J, se, X, F, L, H, q, V, G, ue, we, _e, ne, Te, Se, He, tt, Fe, st, Ne, Ke = this, ce = arguments;
56970
+ var f, b, _, E, S, D, w, I, k, R, B, N, J, se, X, F, L, H, q, V, G, ue, we, _e, ne, Te, Se, He, tt, Fe, st, Ne, Ke = this, ce = arguments;
56971
56971
  return j().wrap(function(le) {
56972
56972
  for (; ; ) switch (le.prev = le.next) {
56973
56973
  case 0:
56974
- if (S = (E = ce.length > 0 && ce[0] !== void 0 ? ce[0] : {}).audioDeviceId, D = S === void 0 ? "" : S, w = E.videoDeviceId, I = w === void 0 ? "" : w, k = E.outputDeviceId, R = k === void 0 ? "" : k, U = E.facingMode, N = U === void 0 ? "user" : U, J = E.autoGainControl, se = E.echoCancellation, X = E.noiseSuppression, F = E.roomNum, L = E.cameraStatus, H = L === void 0 || L, q = E.microphoneStatus, V = q === void 0 || q, G = E.origin, ue = G === void 0 ? "0" : G, we = E.videoCodec, F) {
56974
+ if (S = (E = ce.length > 0 && ce[0] !== void 0 ? ce[0] : {}).audioDeviceId, D = S === void 0 ? "" : S, w = E.videoDeviceId, I = w === void 0 ? "" : w, k = E.outputDeviceId, R = k === void 0 ? "" : k, B = E.facingMode, N = B === void 0 ? "user" : B, J = E.autoGainControl, se = E.echoCancellation, X = E.noiseSuppression, F = E.roomNum, L = E.cameraStatus, H = L === void 0 || L, q = E.microphoneStatus, V = q === void 0 || q, G = E.origin, ue = G === void 0 ? "0" : G, we = E.videoCodec, F) {
56975
56975
  le.next = 4;
56976
56976
  break;
56977
56977
  }
@@ -57029,8 +57029,8 @@ var fa = /* @__PURE__ */ new WeakMap(), mU = function() {
57029
57029
  fetch(_.baseUrl + "/api/v1/makeCall", { method: "POST", body: JSON.stringify(D), headers: { apikey: Xt(_, sr), timestamp: I, signature: k } }).then(function(R) {
57030
57030
  return R.json();
57031
57031
  }).then(function(R) {
57032
- var U;
57033
- R.code == 200 ? (_.emit("makeCallSuccess"), E()) : (_.emit("errorPush", { type: "makeCall", message: (U = R.msg) !== null && U !== void 0 ? U : "呼出失败" }), S());
57032
+ var B;
57033
+ R.code == 200 ? (_.emit("makeCallSuccess"), E()) : (_.emit("errorPush", { type: "makeCall", message: (B = R.msg) !== null && B !== void 0 ? B : "呼出失败" }), S());
57034
57034
  }).catch(function(R) {
57035
57035
  _.emit("errorPush", { type: "makeCall", message: R }), S();
57036
57036
  });
@@ -57382,11 +57382,11 @@ var fa = /* @__PURE__ */ new WeakMap(), mU = function() {
57382
57382
  return this.emit("errorPush", { type: "changeParticipantMicrophoneStatus", message: "trackId不存在" }), k.abrupt("return");
57383
57383
  case 18:
57384
57384
  b ? (D = { cmd: "Mute", data: { org: this.org, room: this.roomNum, input: "1", identity: f, trackId: S } }, this.socket.addMessageHandler("Mute", function(R) {
57385
- var U, N, J = JSON.parse(R);
57386
- J.cmd === "Mute" && ((J == null ? void 0 : J.data.code) == "200" || I.emit("errorPush", { type: "changeParticipantMicrophoneStatus", message: (U = (N = J.data) === null || N === void 0 ? void 0 : N.msg) !== null && U !== void 0 ? U : "关闭指定参与者麦克风失败" }));
57385
+ var B, N, J = JSON.parse(R);
57386
+ J.cmd === "Mute" && ((J == null ? void 0 : J.data.code) == "200" || I.emit("errorPush", { type: "changeParticipantMicrophoneStatus", message: (B = (N = J.data) === null || N === void 0 ? void 0 : N.msg) !== null && B !== void 0 ? B : "关闭指定参与者麦克风失败" }));
57387
57387
  }), this.socket.send(D)) : (w = { cmd: "UnMute", data: { org: this.org, room: this.roomNum, input: "1", identity: f, trackId: S } }, this.socket.addMessageHandler("UnMute", function(R) {
57388
- var U, N, J, se = JSON.parse(R);
57389
- se.cmd === "UnMute" && ((se == null ? void 0 : se.data.code) == "200" || (U = se.data) !== null && U !== void 0 && U.msg && I.emit("errorPush", { type: "changeParticipantMicrophoneStatus", message: (N = (J = se.data) === null || J === void 0 ? void 0 : J.msg) !== null && N !== void 0 ? N : "请求开启指定参与者麦克风失败" }));
57388
+ var B, N, J, se = JSON.parse(R);
57389
+ se.cmd === "UnMute" && ((se == null ? void 0 : se.data.code) == "200" || (B = se.data) !== null && B !== void 0 && B.msg && I.emit("errorPush", { type: "changeParticipantMicrophoneStatus", message: (N = (J = se.data) === null || J === void 0 ? void 0 : J.msg) !== null && N !== void 0 ? N : "请求开启指定参与者麦克风失败" }));
57390
57390
  }), this.socket.send(w));
57391
57391
  case 19:
57392
57392
  case "end":
@@ -57428,11 +57428,11 @@ var fa = /* @__PURE__ */ new WeakMap(), mU = function() {
57428
57428
  return this.emit("errorPush", { type: "changeParticipantCameraStatus", message: "trackId不存在" }), k.abrupt("return");
57429
57429
  case 18:
57430
57430
  b ? (D = { cmd: "Mute", data: { org: this.org, room: this.roomNum, identity: f, trackId: S, input: "2" } }, this.socket.addMessageHandler("Mute", function(R) {
57431
- var U, N, J = JSON.parse(R);
57432
- J.cmd === "Mute" && ((J == null ? void 0 : J.data.code) == "200" || I.emit("errorPush", { type: "changeParticipantCameraStatus", message: (U = (N = J.data) === null || N === void 0 ? void 0 : N.msg) !== null && U !== void 0 ? U : "关闭指定参与者摄像头失败" }));
57431
+ var B, N, J = JSON.parse(R);
57432
+ J.cmd === "Mute" && ((J == null ? void 0 : J.data.code) == "200" || I.emit("errorPush", { type: "changeParticipantCameraStatus", message: (B = (N = J.data) === null || N === void 0 ? void 0 : N.msg) !== null && B !== void 0 ? B : "关闭指定参与者摄像头失败" }));
57433
57433
  }), this.socket.send(D)) : (w = { cmd: "UnMute", data: { org: this.org, room: this.roomNum, identity: f, trackId: S, input: "2" } }, this.socket.addMessageHandler("UnMute", function(R) {
57434
- var U, N, J, se = JSON.parse(R);
57435
- se.cmd === "UnMute" && ((se == null ? void 0 : se.data.code) == "200" || (U = se.data) !== null && U !== void 0 && U.msg && I.emit("errorPush", { type: "changeParticipantCameraStatus", message: (N = (J = se.data) === null || J === void 0 ? void 0 : J.msg) !== null && N !== void 0 ? N : "请求打开指定参与者摄像头失败" }));
57434
+ var B, N, J, se = JSON.parse(R);
57435
+ se.cmd === "UnMute" && ((se == null ? void 0 : se.data.code) == "200" || (B = se.data) !== null && B !== void 0 && B.msg && I.emit("errorPush", { type: "changeParticipantCameraStatus", message: (N = (J = se.data) === null || J === void 0 ? void 0 : J.msg) !== null && N !== void 0 ? N : "请求打开指定参与者摄像头失败" }));
57436
57436
  }), this.socket.send(w));
57437
57437
  case 19:
57438
57438
  case "end":
@@ -57455,13 +57455,13 @@ var fa = /* @__PURE__ */ new WeakMap(), mU = function() {
57455
57455
  var f = arguments.length > 1 && arguments[1] !== void 0 && arguments[1];
57456
57456
  this.roomMode === "auto" ? this.renderToVideo(h, f) : this.roomMode === "audio" && this.renderToAudio(h, f);
57457
57457
  } }, { key: "renderToVideo", value: function(h, f) {
57458
- var b = {}, _ = h.name, E = h.identity, S = h.audioLevel, D = h.isSpeaking, w = h.metadata, I = h.sid, k = h.isCameraEnabled, R = h.isLocal, U = h.isMicrophoneEnabled, N = h.isScreenShareEnabled, J = h.connectionQuality;
57459
- b.remove = f, b.name = _ || E, b.roomMode = this.roomMode, b.identity = E, b.audioLevel = S, b.isSpeaking = D, b.metadata = w, b.sid = I, b.isCameraEnabled = k, b.isLocal = R, b.isMicrophoneEnabled = U, b.isScreenShareEnabled = N, b.connectionQuality = J;
57458
+ var b = {}, _ = h.name, E = h.identity, S = h.audioLevel, D = h.isSpeaking, w = h.metadata, I = h.sid, k = h.isCameraEnabled, R = h.isLocal, B = h.isMicrophoneEnabled, N = h.isScreenShareEnabled, J = h.connectionQuality;
57459
+ b.remove = f, b.name = _ || E, b.roomMode = this.roomMode, b.identity = E, b.audioLevel = S, b.isSpeaking = D, b.metadata = w, b.sid = I, b.isCameraEnabled = k, b.isLocal = R, b.isMicrophoneEnabled = B, b.isScreenShareEnabled = N, b.connectionQuality = J;
57460
57460
  var se = h.getTrackPublication(je.Source.Camera), X = h.getTrackPublication(je.Source.Microphone);
57461
57461
  N && (se = h.getTrackPublication(je.Source.ScreenShare), X = h.getTrackPublication(je.Source.ScreenShareAudio)), b.videoTrack = se ? se.videoTrack : void 0, b.audioTrack = X ? X.audioTrack : void 0, this.emit("videoCallRender", b);
57462
57462
  } }, { key: "renderToAudio", value: function(h, f) {
57463
- var b = {}, _ = h.name, E = h.identity, S = h.audioLevel, D = h.isSpeaking, w = h.metadata, I = h.sid, k = h.isLocal, R = h.isMicrophoneEnabled, U = h.connectionQuality;
57464
- b.remove = f, b.name = _ || E, b.roomMode = this.roomMode, b.identity = E, b.audioLevel = S, b.isSpeaking = D, b.metadata = w, b.sid = I, b.isLocal = k, b.isMicrophoneEnabled = R, b.connectionQuality = U;
57463
+ var b = {}, _ = h.name, E = h.identity, S = h.audioLevel, D = h.isSpeaking, w = h.metadata, I = h.sid, k = h.isLocal, R = h.isMicrophoneEnabled, B = h.connectionQuality;
57464
+ b.remove = f, b.name = _ || E, b.roomMode = this.roomMode, b.identity = E, b.audioLevel = S, b.isSpeaking = D, b.metadata = w, b.sid = I, b.isLocal = k, b.isMicrophoneEnabled = R, b.connectionQuality = B;
57465
57465
  var N = h.getTrackPublication(je.Source.Microphone);
57466
57466
  b.audioTrack = N ? N.audioTrack : void 0, this.emit("audioCallRender", b);
57467
57467
  } }, { key: "updateVideoSize", value: function(h, f) {
@@ -58053,7 +58053,7 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
58053
58053
  { value: 10, label: "10秒" },
58054
58054
  { value: 15, label: "15秒" },
58055
58055
  { value: "custom", label: "自定义" }
58056
- ], U = async () => {
58056
+ ], B = async () => {
58057
58057
  var le, de, $e;
58058
58058
  try {
58059
58059
  const {
@@ -58195,7 +58195,7 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
58195
58195
  };
58196
58196
  return At.on("getDeviceSetter", async (le) => {
58197
58197
  var Ie, vt, Xe;
58198
- o.value = !0, l.value = le.type, await U(), N();
58198
+ o.value = !0, l.value = le.type, await B(), N();
58199
58199
  const de = window.liveClient || {}, $e = (le == null ? void 0 : le.tempActive) || (de == null ? void 0 : de.activeDevice) || {};
58200
58200
  if (u.value = ($e == null ? void 0 : $e.audioOutputDevice) || ((Ie = de == null ? void 0 : de.activeDevice) == null ? void 0 : Ie.audioOutputDevice) || u.value || "default", v.value = ($e == null ? void 0 : $e.audioInputDevice) || ((vt = de == null ? void 0 : de.activeDevice) == null ? void 0 : vt.audioInputDevice) || v.value || "default", h.value = ($e == null ? void 0 : $e.videoDevice) || ((Xe = de == null ? void 0 : de.activeDevice) == null ? void 0 : Xe.videoInputDevice) || h.value || "default", h.value)
58201
58201
  try {
@@ -58640,7 +58640,7 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
58640
58640
  let L = document.querySelector("#video-ele");
58641
58641
  L && (L.pause(), L.srcObject = null, L.src = ""), I();
58642
58642
  }
58643
- async function U() {
58643
+ async function B() {
58644
58644
  u.value = "user";
58645
58645
  const L = {
58646
58646
  audio: l.value,
@@ -58707,7 +58707,7 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
58707
58707
  L && (g.value ? L.style.transform = "rotateY(180deg)" : L.style.transform = "rotateY(0deg)");
58708
58708
  }
58709
58709
  sn(async () => {
58710
- await S(), await U(), r.dialogType === "join" && (a.value = r.tempRoomNum), s.value = r.meetingTitle;
58710
+ await S(), await B(), r.dialogType === "join" && (a.value = r.tempRoomNum), s.value = r.meetingTitle;
58711
58711
  }), Pr(() => {
58712
58712
  R();
58713
58713
  });
@@ -59202,7 +59202,7 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
59202
59202
  setTimeout(() => {
59203
59203
  h.value = !1;
59204
59204
  }, 1e3);
59205
- }, U = () => {
59205
+ }, B = () => {
59206
59206
  S.value && S.value.dispose(), l.value = !1, setTimeout(() => {
59207
59207
  u.value = "";
59208
59208
  }, 100);
@@ -59474,7 +59474,7 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
59474
59474
  P("div", Pj, [
59475
59475
  ye(de, {
59476
59476
  class: "el-dialog__close",
59477
- onClick: U,
59477
+ onClick: B,
59478
59478
  style: { "font-size": "20px" }
59479
59479
  }, {
59480
59480
  default: Me(() => [
@@ -59498,7 +59498,7 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
59498
59498
  "hide-snapshot-button": !0,
59499
59499
  live: !1,
59500
59500
  hasvideo: !0,
59501
- onCloseVideo: U,
59501
+ onCloseVideo: B,
59502
59502
  onPlay: J,
59503
59503
  onPause: se,
59504
59504
  onEnded: X,
@@ -59683,7 +59683,7 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
59683
59683
  fontSize: 14,
59684
59684
  color: "#ffffff",
59685
59685
  gap: 300
59686
- }), U = Ve(() => g.value.length), N = Ve(() => g.value.length > 0 ? g.value.map((Ue) => Ue.userId) : []), J = Ve(() => Mi().format("MM月DD日")), se = Ve(() => y.value.length), X = Ve(() => ({
59686
+ }), B = Ve(() => g.value.length), N = Ve(() => g.value.length > 0 ? g.value.map((Be) => Be.userId) : []), J = Ve(() => Mi().format("MM月DD日")), se = Ve(() => y.value.length), X = Ve(() => ({
59687
59687
  position: "absolute",
59688
59688
  top: 0,
59689
59689
  left: 0,
@@ -59695,16 +59695,16 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
59695
59695
  }));
59696
59696
  St(
59697
59697
  () => c.value,
59698
- async (Ue) => {
59699
- await _t(), l.value.filter(Ue);
59698
+ async (Be) => {
59699
+ await _t(), l.value.filter(Be);
59700
59700
  }
59701
59701
  ), St(
59702
59702
  () => v.value,
59703
- (Ue, pt) => {
59704
- Ue.length > 0 && Ue.forEach((Mt) => {
59703
+ (Be, pt) => {
59704
+ Be.length > 0 && Be.forEach((Mt) => {
59705
59705
  q(Mt);
59706
59706
  }), pt.forEach((Mt) => {
59707
- Ue.length > 0 ? Ue.findIndex((Tn) => Tn.userId === Mt.userId) < 0 && V(Mt.mobile) : (l.value.setChecked(Mt.userId, !1, !1), V(Mt.mobile));
59707
+ Be.length > 0 ? Be.findIndex((Tn) => Tn.userId === Mt.userId) < 0 && V(Mt.mobile) : (l.value.setChecked(Mt.userId, !1, !1), V(Mt.mobile));
59708
59708
  });
59709
59709
  },
59710
59710
  {
@@ -59714,13 +59714,13 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
59714
59714
  function F() {
59715
59715
  o.value = !0;
59716
59716
  }
59717
- function L(Ue) {
59717
+ function L(Be) {
59718
59718
  return new Promise((pt, Mt) => {
59719
59719
  _T(
59720
59720
  {},
59721
59721
  {
59722
59722
  baseUrl: s.baseUrl,
59723
- token: Ue || s.token
59723
+ token: Be || s.token
59724
59724
  }
59725
59725
  ).then((nt) => {
59726
59726
  var Tn, Dt;
@@ -59728,31 +59728,31 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
59728
59728
  });
59729
59729
  });
59730
59730
  }
59731
- function H(Ue) {
59732
- return U.value > 0 ? g.value.findIndex((Mt) => Mt.mobile === Ue) : -1;
59731
+ function H(Be) {
59732
+ return B.value > 0 ? g.value.findIndex((Mt) => Mt.mobile === Be) : -1;
59733
59733
  }
59734
- function q(Ue) {
59735
- if (U.value <= 0)
59736
- g.value.push(Ue);
59734
+ function q(Be) {
59735
+ if (B.value <= 0)
59736
+ g.value.push(Be);
59737
59737
  else {
59738
- if (H(Ue.mobile) !== -1)
59738
+ if (H(Be.mobile) !== -1)
59739
59739
  return;
59740
- g.value.push(Ue);
59740
+ g.value.push(Be);
59741
59741
  }
59742
59742
  }
59743
- function V(Ue) {
59744
- if (U.value > 0) {
59745
- const pt = H(Ue);
59743
+ function V(Be) {
59744
+ if (B.value > 0) {
59745
+ const pt = H(Be);
59746
59746
  pt !== -1 && g.value.splice(pt, 1);
59747
59747
  }
59748
59748
  }
59749
59749
  function G() {
59750
59750
  At.emit("getaddressBookUserForAddressBook");
59751
59751
  }
59752
- async function ue(Ue) {
59753
- v.value = Ue, await _t(), l.value.setCheckedKeys(N.value, !1);
59752
+ async function ue(Be) {
59753
+ v.value = Be, await _t(), l.value.setCheckedKeys(N.value, !1);
59754
59754
  }
59755
- async function we(Ue) {
59755
+ async function we(Be) {
59756
59756
  var pt;
59757
59757
  document.fullscreenElement || document.msFullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement ? document.exitFullscreen ? document.exitFullscreen() : document.mozCancelFullScreen ? document.mozCancelFullScreen() : document.webkitCancelFullScreen ? document.webkitCancelFullScreen() : document.msExitFullscreen && document.msExitFullscreen() : (await _t(), (pt = u.value) != null && pt.requestFullscreen && u.value.requestFullscreen());
59758
59758
  }
@@ -59762,37 +59762,37 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
59762
59762
  function ne() {
59763
59763
  D.value = !1;
59764
59764
  }
59765
- function Te(Ue, pt) {
59766
- return Ue ? pt.label.includes(Ue) : !0;
59765
+ function Te(Be, pt) {
59766
+ return Be ? pt.label.includes(Be) : !0;
59767
59767
  }
59768
59768
  async function Se() {
59769
59769
  await _t();
59770
- const Ue = l.value.getCheckedNodes(!0, !1);
59771
- v.value = Ue.filter((pt) => !pt.children).map((pt) => He(pt));
59770
+ const Be = l.value.getCheckedNodes(!0, !1);
59771
+ v.value = Be.filter((pt) => !pt.children).map((pt) => He(pt));
59772
59772
  }
59773
- function He(Ue) {
59774
- if (Ue != null && Ue.classify && Ue.classify === "设备") {
59773
+ function He(Be) {
59774
+ if (Be != null && Be.classify && Be.classify === "设备") {
59775
59775
  const pt = {
59776
- userId: Ue.id,
59777
- userName: Ue.label,
59778
- mobile: Ue.equipmentCode,
59779
- ...Ue
59776
+ userId: Be.id,
59777
+ userName: Be.label,
59778
+ mobile: Be.equipmentCode,
59779
+ ...Be
59780
59780
  };
59781
- return pt.mobile = Ue.equipmentCode, pt;
59781
+ return pt.mobile = Be.equipmentCode, pt;
59782
59782
  } else
59783
59783
  return {
59784
- userId: Ue.id,
59785
- userName: Ue.label,
59786
- mobile: Ue.phone,
59787
- ...Ue
59784
+ userId: Be.id,
59785
+ userName: Be.label,
59786
+ mobile: Be.phone,
59787
+ ...Be
59788
59788
  };
59789
59789
  }
59790
- function tt(Ue) {
59790
+ function tt(Be) {
59791
59791
  UD(
59792
59792
  {},
59793
59793
  {
59794
59794
  baseUrl: s.baseUrl,
59795
- token: Ue || s.token
59795
+ token: Be || s.token
59796
59796
  }
59797
59797
  ).then((pt) => {
59798
59798
  var Mt;
@@ -59822,39 +59822,39 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
59822
59822
  }))) : y.value = [];
59823
59823
  });
59824
59824
  }
59825
- function Fe(Ue) {
59826
- h.value = Ue, f.value = "edit", b.value = !0;
59825
+ function Fe(Be) {
59826
+ h.value = Be, f.value = "edit", b.value = !0;
59827
59827
  }
59828
- function st(Ue) {
59829
- h.value = Ue, f.value = "detail", b.value = !0;
59828
+ function st(Be) {
59829
+ h.value = Be, f.value = "detail", b.value = !0;
59830
59830
  }
59831
- function Ne(Ue) {
59831
+ function Ne(Be) {
59832
59832
  const pt = {
59833
- identity: Ue.owner,
59834
- room: Ue.roomNum,
59835
- org: Ue.org
59833
+ identity: Be.owner,
59834
+ room: Be.roomNum,
59835
+ org: Be.org
59836
59836
  };
59837
59837
  J0(pt, {
59838
59838
  baseUrl: window.liveClient.baseUrl,
59839
59839
  token: s.token
59840
59840
  }).then((Mt) => {
59841
- (Mt == null ? void 0 : Mt.data.code) === 200 ? (nm(Ue.roomNum, {
59841
+ (Mt == null ? void 0 : Mt.data.code) === 200 ? (nm(Be.roomNum, {
59842
59842
  baseUrl: s.baseUrl,
59843
59843
  token: s.token
59844
59844
  }), r.message("success", "成功取消会议"), tt()) : r.message("error", "取消会议失败");
59845
59845
  });
59846
59846
  }
59847
- function Ke(Ue) {
59847
+ function Ke(Be) {
59848
59848
  const pt = {
59849
- identity: Ue.owner,
59850
- room: Ue.roomNum,
59851
- org: Ue.org
59849
+ identity: Be.owner,
59850
+ room: Be.roomNum,
59851
+ org: Be.org
59852
59852
  };
59853
59853
  J0(pt, {
59854
59854
  baseUrl: window.liveClient.baseUrl,
59855
59855
  token: s.token
59856
59856
  }).then((Mt) => {
59857
- (Mt == null ? void 0 : Mt.data.code) === 200 ? (nm(Ue.roomNum, {
59857
+ (Mt == null ? void 0 : Mt.data.code) === 200 ? (nm(Be.roomNum, {
59858
59858
  baseUrl: s.baseUrl,
59859
59859
  token: s.token
59860
59860
  }), tt()) : r.message("error", "结束会议失败");
@@ -59871,16 +59871,16 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
59871
59871
  inviteList: g.value
59872
59872
  }), _e();
59873
59873
  }
59874
- function le(Ue) {
59874
+ function le(Be) {
59875
59875
  const pt = {
59876
- ...Ue,
59876
+ ...Be,
59877
59877
  inviteList: g.value
59878
59878
  };
59879
59879
  a("launchMeeting", pt), _e();
59880
59880
  }
59881
- function de(Ue) {
59881
+ function de(Be) {
59882
59882
  const pt = {
59883
- ...Ue,
59883
+ ...Be,
59884
59884
  inviteList: []
59885
59885
  };
59886
59886
  a("joinMeeting", pt), _e();
@@ -59891,8 +59891,8 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
59891
59891
  function Ie() {
59892
59892
  $e();
59893
59893
  }
59894
- function vt(Ue) {
59895
- g.value = Array.isArray(Ue) ? Ue : [], v.value = Array.isArray(Ue) ? Ue : [];
59894
+ function vt(Be) {
59895
+ g.value = Array.isArray(Be) ? Be : [], v.value = Array.isArray(Be) ? Be : [];
59896
59896
  }
59897
59897
  function Xe() {
59898
59898
  w.value = "launch", D.value = !0;
@@ -59903,17 +59903,17 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
59903
59903
  function yt() {
59904
59904
  f.value = "add", b.value = !0;
59905
59905
  }
59906
- function Re(Ue) {
59907
- S.value = Ue.roomNum, w.value = "join", D.value = !0;
59906
+ function Re(Be) {
59907
+ S.value = Be.roomNum, w.value = "join", D.value = !0;
59908
59908
  }
59909
- function at(Ue, pt) {
59909
+ function at(Be, pt) {
59910
59910
  var Mt;
59911
- _.value ? ((Mt = p.value) == null ? void 0 : Mt.roomNum) === Ue.roomNum ? _.value = !1 : (_.value = !1, p.value = Ue, E.left = pt.target.offsetLeft - 60 + "px", E.top = pt.target.offsetTop + 24 + "px", _.value = !0) : (p.value = Ue, E.left = pt.target.offsetLeft - 60 + "px", E.top = pt.target.offsetTop + 24 + "px", _.value = !0);
59911
+ _.value ? ((Mt = p.value) == null ? void 0 : Mt.roomNum) === Be.roomNum ? _.value = !1 : (_.value = !1, p.value = Be, E.left = pt.target.offsetLeft - 60 + "px", E.top = pt.target.offsetTop + 24 + "px", _.value = !0) : (p.value = Be, E.left = pt.target.offsetLeft - 60 + "px", E.top = pt.target.offsetTop + 24 + "px", _.value = !0);
59912
59912
  }
59913
- const qe = (Ue) => ({
59913
+ const qe = (Be) => ({
59914
59914
  position: "absolute",
59915
- left: `${Ue.x}px`,
59916
- top: `${Ue.y}px`,
59915
+ left: `${Be.x}px`,
59916
+ top: `${Be.y}px`,
59917
59917
  color: R.color,
59918
59918
  fontSize: `${R.fontSize}px`,
59919
59919
  opacity: R.opacity,
@@ -59925,7 +59925,7 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
59925
59925
  letterSpacing: "1px",
59926
59926
  lineHeight: "1.2"
59927
59927
  }), Ut = () => {
59928
- const Ue = R.systemName;
59928
+ const Be = R.systemName;
59929
59929
  let pt = "admin";
59930
59930
  try {
59931
59931
  const nt = localStorage.getItem("rhtxUser");
@@ -59935,7 +59935,7 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
59935
59935
  }
59936
59936
  const Mt = (/* @__PURE__ */ new Date()).toLocaleDateString();
59937
59937
  return {
59938
- systemName: Ue,
59938
+ systemName: Be,
59939
59939
  loginAccount: pt,
59940
59940
  date: Mt
59941
59941
  };
@@ -59944,12 +59944,12 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
59944
59944
  I.value = !1;
59945
59945
  return;
59946
59946
  }
59947
- const Ue = Ut(), pt = [], Mt = window.innerWidth, nt = window.innerHeight, Tn = Math.ceil(Mt / R.gap) + 1, Dt = Math.ceil(nt / R.gap) + 1;
59947
+ const Be = Ut(), pt = [], Mt = window.innerWidth, nt = window.innerHeight, Tn = Math.ceil(Mt / R.gap) + 1, Dt = Math.ceil(nt / R.gap) + 1;
59948
59948
  for (let Pn = 0; Pn < Dt; Pn++)
59949
59949
  for (let kn = 0; kn < Tn; kn++) {
59950
59950
  const di = kn * R.gap, Wn = Pn * R.gap;
59951
59951
  di < Mt && Wn < nt && pt.push({
59952
- ...Ue,
59952
+ ...Be,
59953
59953
  x: di,
59954
59954
  y: Wn
59955
59955
  });
@@ -59967,7 +59967,7 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
59967
59967
  }), e({
59968
59968
  getUserAndOrgTreeData: L,
59969
59969
  getPreviewMeetingList: tt
59970
- }), (Ue, pt) => {
59970
+ }), (Be, pt) => {
59971
59971
  const Mt = lt("el-input"), nt = lt("el-tree"), Tn = lt("el-dialog");
59972
59972
  return ee(), he("div", {
59973
59973
  class: "live-address-book",
@@ -60054,7 +60054,7 @@ const Vi = (i) => (gn("data-v-13a1faf7"), i = i(), vn(), i), HU = { class: "addr
60054
60054
  P("div", v$, [
60055
60055
  P("div", y$, [
60056
60056
  b$,
60057
- P("div", _$, Ye(U.value), 1),
60057
+ P("div", _$, Ye(B.value), 1),
60058
60058
  P("div", {
60059
60059
  class: "chosen-title-icon",
60060
60060
  onClick: G
@@ -60515,69 +60515,69 @@ const nw = "/assets/img/meeting/share.png", nV = "/assets/img/meeting/chat.png",
60515
60515
  setup(i, { emit: e }) {
60516
60516
  const t = i, n = e, r = Q("joined"), s = Q(""), a = Q(""), o = Q([]), l = Q([]), u = Ve(() => t.participants.length), c = Ve(() => t.tempInvitedList.length), d = Ve(() => {
60517
60517
  if (t.participants.length === 0) return !1;
60518
- const U = t.participants.filter(
60518
+ const B = t.participants.filter(
60519
60519
  (N) => !g(N.identity)
60520
60520
  );
60521
- return U.length === 0 ? !1 : U.every((N) => !N.isMicrophoneEnabled);
60521
+ return B.length === 0 ? !1 : B.every((N) => !N.isMicrophoneEnabled);
60522
60522
  }), v = Ve(() => {
60523
60523
  if (t.participants.length === 0) return !1;
60524
- const U = t.participants.filter(
60524
+ const B = t.participants.filter(
60525
60525
  (N) => !g(N.identity)
60526
60526
  );
60527
- return U.length === 0 ? !1 : U.every((N) => !N.isCameraEnabled);
60527
+ return B.length === 0 ? !1 : B.every((N) => !N.isCameraEnabled);
60528
60528
  });
60529
- function g(U) {
60530
- return t.meetingHost.ownerId === U;
60529
+ function g(B) {
60530
+ return t.meetingHost.ownerId === B;
60531
60531
  }
60532
- function y(U) {
60532
+ function y(B) {
60533
60533
  if (u.value > 0) {
60534
- let N = t.participants.findIndex((J) => J.name === U);
60534
+ let N = t.participants.findIndex((J) => J.name === B);
60535
60535
  return N >= 0 ? N : -1;
60536
60536
  } else
60537
60537
  return -1;
60538
60538
  }
60539
- const p = (U, N) => {
60539
+ const p = (B, N) => {
60540
60540
  n("participantCameraSwitch", {
60541
- identity: U,
60541
+ identity: B,
60542
60542
  isMute: N
60543
60543
  // 传递当前状态,true=关闭,false=开启
60544
60544
  });
60545
- }, h = (U, N) => {
60545
+ }, h = (B, N) => {
60546
60546
  n("participantMicrophoneSwitch", {
60547
- identity: U,
60547
+ identity: B,
60548
60548
  isMute: N
60549
60549
  // 传递当前状态,true=关闭,false=开启
60550
60550
  });
60551
- }, f = (U, N) => {
60551
+ }, f = (B, N) => {
60552
60552
  n("openMoreDialog", {
60553
- identity: U,
60553
+ identity: B,
60554
60554
  clientX: N.clientX,
60555
60555
  clientY: N.clientY
60556
60556
  });
60557
- }, b = (U) => {
60558
- U.target.className.includes("icon-btn-option") || U.target.className.includes("more-icon") || n("closeMoreDialog");
60557
+ }, b = (B) => {
60558
+ B.target.className.includes("icon-btn-option") || B.target.className.includes("more-icon") || n("closeMoreDialog");
60559
60559
  }, _ = () => {
60560
60560
  window.addEventListener("click", b);
60561
60561
  }, E = () => {
60562
60562
  window.removeEventListener("click", b);
60563
- }, S = (U, N) => {
60564
- }, D = (U) => {
60563
+ }, S = (B, N) => {
60564
+ }, D = (B) => {
60565
60565
  c.value > 0 ? u.value > 0 ? (o.value = [], t.tempInvitedList.forEach((N) => {
60566
- y(N.userName) < 0 && N.userName.includes(U) && o.value.push(N);
60567
- })) : o.value = t.tempInvitedList.filter((N) => N.userName.includes(U)) : o.value = [];
60568
- }, w = (U) => {
60569
- !U || U.trim() === "" ? l.value = [...t.participants] : l.value = t.participants.filter((N) => N.name && N.name.toLowerCase().includes(U.toLowerCase()));
60570
- }, I = (U) => {
60571
- n("removeUnjoinItem", U);
60572
- }, k = (U) => {
60573
- n("appendMemberInvite", U);
60566
+ y(N.userName) < 0 && N.userName.includes(B) && o.value.push(N);
60567
+ })) : o.value = t.tempInvitedList.filter((N) => N.userName.includes(B)) : o.value = [];
60568
+ }, w = (B) => {
60569
+ !B || B.trim() === "" ? l.value = [...t.participants] : l.value = t.participants.filter((N) => N.name && N.name.toLowerCase().includes(B.toLowerCase()));
60570
+ }, I = (B) => {
60571
+ n("removeUnjoinItem", B);
60572
+ }, k = (B) => {
60573
+ n("appendMemberInvite", B);
60574
60574
  }, R = () => {
60575
60575
  n("close");
60576
60576
  };
60577
60577
  return St(
60578
60578
  () => s.value,
60579
- (U) => {
60580
- w(U);
60579
+ (B) => {
60580
+ w(B);
60581
60581
  }
60582
60582
  ), St(
60583
60583
  () => t.participants,
@@ -60587,29 +60587,29 @@ const nw = "/assets/img/meeting/share.png", nV = "/assets/img/meeting/chat.png",
60587
60587
  { deep: !0 }
60588
60588
  ), St(
60589
60589
  () => t.meetingHost.ownerId,
60590
- (U) => {
60590
+ (B) => {
60591
60591
  w(s.value);
60592
60592
  }
60593
60593
  ), St(
60594
60594
  () => u.value,
60595
- (U) => {
60595
+ (B) => {
60596
60596
  D(a.value);
60597
60597
  }
60598
60598
  ), St(
60599
60599
  () => c.value,
60600
- (U) => {
60600
+ (B) => {
60601
60601
  D(a.value);
60602
60602
  }
60603
60603
  ), St(
60604
60604
  () => a.value,
60605
- (U) => {
60606
- D(U);
60605
+ (B) => {
60606
+ D(B);
60607
60607
  }
60608
60608
  ), sn(() => {
60609
60609
  D(a.value), w(s.value), _();
60610
60610
  }), Pr(() => {
60611
60611
  E();
60612
- }), (U, N) => {
60612
+ }), (B, N) => {
60613
60613
  const J = lt("el-input"), se = lt("el-tab-pane"), X = lt("el-tabs");
60614
60614
  return ee(), he("div", LV, [
60615
60615
  P("div", BV, [
@@ -61906,7 +61906,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
61906
61906
  ys.startPolling();
61907
61907
  }, Qq = () => {
61908
61908
  ys.stopPolling();
61909
- }, An = (i) => (gn("data-v-613b5c1e"), i = i(), vn(), i), Zq = {
61909
+ }, An = (i) => (gn("data-v-9ddc6fe6"), i = i(), vn(), i), Zq = {
61910
61910
  class: /* @__PURE__ */ et(["meeting-room-top-bar"])
61911
61911
  }, ez = { class: "bar-group" }, tz = /* @__PURE__ */ An(() => /* @__PURE__ */ P("div", { class: "meeting-theme" }, [
61912
61912
  /* @__PURE__ */ P("div", { class: "meeting-theme-logo" }),
@@ -62087,9 +62087,9 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62087
62087
  audioInputDevice: "",
62088
62088
  audioOutputDevice: "",
62089
62089
  videoDevice: ""
62090
- }), k = Q([]), R = Q(""), U = Q(""), N = Q("grid"), J = Q("normal"), se = Q(["grid", "rightSide"]), X = Q(["宫格", "右侧边栏"]), F = Q(0), L = Q(!1), H = Q(!1), q = Q(!1), V = Q(!1), G = Q(!1), ue = Q(!1), we = Q(!1), _e = Q(!1), ne = Q(!1), Te = Q(!1), Se = Q(!1), He = Q(!1), tt = Q(null), Fe = Q([]), st = Q([]), Ne = Q(null), Ke = Q(null), ce = Q(!1), le = Q({}), de = Q(!1), $e = Q(!1), Ie = Q(!1), vt = Q(!1), Xe = Q(""), ot = Q(!1), yt = Q(3);
62090
+ }), k = Q([]), R = Q(""), B = Q(""), N = Q("grid"), J = Q("normal"), se = Q(["grid", "rightSide"]), X = Q(["宫格", "右侧边栏"]), F = Q(0), L = Q(!1), H = Q(!1), q = Q(!1), V = Q(!1), G = Q(!1), ue = Q(!1), we = Q(!1), _e = Q(!1), ne = Q(!1), Te = Q(!1), Se = Q(!1), He = Q(!1), tt = Q(null), Fe = Q([]), st = Q([]), Ne = Q(null), Ke = Q(null), ce = Q(!1), le = Q({}), de = Q(!1), $e = Q(!1), Ie = Q(!1), vt = Q(!1), Xe = Q(""), ot = Q(!1), yt = Q(3);
62091
62091
  Q("测试短信");
62092
- const Re = Q(!1), at = Q(!1), qe = Q(!1), Ut = Q(!1), en = Q({}), Gt = Q(!1), Ue = Q(!1), pt = Q({}), Mt = Q(null), nt = Q(!1), Tn = Q(""), Dt = Q(!0), Pn = Q(!1), kn = Q(null), di = Q(), Wn = Q();
62092
+ const Re = Q(!1), at = Q(!1), qe = Q(!1), Ut = Q(!1), en = Q({}), Gt = Q(!1), Be = Q(!1), pt = Q({}), Mt = Q(null), nt = Q(!1), Tn = Q(""), Dt = Q(!0), Pn = Q(!1), kn = Q(null), di = Q(), Wn = Q();
62093
62093
  Q(0);
62094
62094
  const {
62095
62095
  createInterceptionObserver: os,
@@ -62099,8 +62099,8 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62099
62099
  } = Kq();
62100
62100
  Xq();
62101
62101
  const oe = (O) => {
62102
- O.forEach((B) => {
62103
- const W = B.target.getAttribute("data-identity");
62102
+ O.forEach((U) => {
62103
+ const W = U.target.getAttribute("data-identity");
62104
62104
  if (!W)
62105
62105
  return;
62106
62106
  const Z = document.getElementById(`video-${W}`), ae = v.value.findIndex(
@@ -62117,7 +62117,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62117
62117
  );
62118
62118
  if (pe !== -1) {
62119
62119
  const ut = v.value[pe];
62120
- B.isIntersecting ? (ut.isInViewport = !0, ut.videoTrack && Z && !Z.src && !Z.currentSrc && requestAnimationFrame(() => {
62120
+ U.isIntersecting ? (ut.isInViewport = !0, ut.videoTrack && Z && !Z.src && !Z.currentSrc && requestAnimationFrame(() => {
62121
62121
  ut.videoTrack.attach(Z);
62122
62122
  })) : (ut.isInViewport = !1, ut.videoTrack && requestAnimationFrame(() => {
62123
62123
  ut.videoTrack.detach();
@@ -62127,7 +62127,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62127
62127
  return;
62128
62128
  }
62129
62129
  const me = v.value[ae];
62130
- B.isIntersecting ? (me.isInViewport = !0, me.videoTrack && Z && !Z.src && !Z.currentSrc && requestAnimationFrame(() => {
62130
+ U.isIntersecting ? (me.isInViewport = !0, me.videoTrack && Z && !Z.src && !Z.currentSrc && requestAnimationFrame(() => {
62131
62131
  me.videoTrack.attach(Z);
62132
62132
  })) : (me.isInViewport = !1, me.videoTrack && requestAnimationFrame(() => {
62133
62133
  me.videoTrack.detach();
@@ -62144,8 +62144,8 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62144
62144
  );
62145
62145
  });
62146
62146
  }, Tt = () => {
62147
- document.querySelectorAll('[id^="participant-"]').forEach((B) => {
62148
- const W = B.getAttribute("data-identity"), Z = B.getBoundingClientRect();
62147
+ document.querySelectorAll('[id^="participant-"]').forEach((U) => {
62148
+ const W = U.getAttribute("data-identity"), Z = U.getBoundingClientRect();
62149
62149
  if (Z.top >= 0 && Z.left >= 0 && Z.bottom <= window.innerHeight && Z.right <= window.innerWidth && N.value === "grid") {
62150
62150
  const me = document.getElementById(`video-${W}`), Ae = v.value.find(
62151
62151
  (pe) => pe.identity === W
@@ -62154,15 +62154,15 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62154
62154
  }
62155
62155
  });
62156
62156
  }, Wt = () => {
62157
- const O = document.querySelectorAll('[id^="participant-"]'), B = Array.from(O).map(
62157
+ const O = document.querySelectorAll('[id^="participant-"]'), U = Array.from(O).map(
62158
62158
  (Ae) => {
62159
62159
  const pe = Ae.getAttribute("data-identity"), ut = Ae.getBoundingClientRect();
62160
62160
  return { identity: pe, rect: ut, element: Ae };
62161
62161
  }
62162
62162
  );
62163
- B.sort((Ae, pe) => Ae.rect.top - pe.rect.top);
62163
+ U.sort((Ae, pe) => Ae.rect.top - pe.rect.top);
62164
62164
  const W = 3, Z = W, ae = W * 2;
62165
- B.slice(
62165
+ U.slice(
62166
62166
  Z,
62167
62167
  ae
62168
62168
  ).forEach((Ae) => {
@@ -62176,20 +62176,20 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62176
62176
  });
62177
62177
  }, Hn = () => {
62178
62178
  v.value.forEach((O) => {
62179
- const B = document.getElementById(
62179
+ const U = document.getElementById(
62180
62180
  `participant-${O.identity}`
62181
62181
  ), W = document.getElementById(
62182
62182
  `video-${O.identity}`
62183
62183
  );
62184
- if (B && W) {
62185
- const Z = B.getBoundingClientRect();
62184
+ if (U && W) {
62185
+ const Z = U.getBoundingClientRect();
62186
62186
  Z.top >= 0 && Z.left >= 0 && Z.bottom <= window.innerHeight && Z.right <= window.innerWidth && O.videoTrack && !W.src && !W.currentSrc && (O.videoTrack.detach(), setTimeout(() => {
62187
62187
  O.videoTrack.attach(W);
62188
62188
  }, 50));
62189
62189
  }
62190
62190
  });
62191
62191
  }, mt = new ri();
62192
- let Le = null, Kn = null, Jn = null, In = null;
62192
+ let Ue = null, Kn = null, Jn = null, In = null;
62193
62193
  const Pi = Ve(() => e_(F.value)), Lt = Ve(() => v.value.length);
62194
62194
  At.on("voiceMotivationChange", (O) => {
62195
62195
  $e.value = !!O;
@@ -62198,20 +62198,20 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62198
62198
  }), At.on("autoPollingToggle", (O) => {
62199
62199
  if (vt.value = !!O, O) {
62200
62200
  try {
62201
- const B = localStorage.getItem("hx_device_setter_settings");
62202
- if (B) {
62203
- const W = JSON.parse(B);
62201
+ const U = localStorage.getItem("hx_device_setter_settings");
62202
+ if (U) {
62203
+ const W = JSON.parse(U);
62204
62204
  W && typeof W.pollingIntervalMs == "number" && W.pollingIntervalMs > 0 && A1(W.pollingIntervalMs);
62205
62205
  }
62206
- } catch (B) {
62207
- console.warn("读取轮询间隔设置失败", B);
62206
+ } catch (U) {
62207
+ console.warn("读取轮询间隔设置失败", U);
62208
62208
  }
62209
62209
  Mc(!0);
62210
62210
  } else {
62211
62211
  try {
62212
62212
  Mc(!1);
62213
- } catch (B) {
62214
- console.error("setPollingEnabled error:", B);
62213
+ } catch (U) {
62214
+ console.error("setPollingEnabled error:", U);
62215
62215
  }
62216
62216
  At.emit("updateVisibleParticipants", {
62217
62217
  participants: (v.value || []).slice(0, 16),
@@ -62223,27 +62223,27 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62223
62223
  }), At.on("pollingIntervalChange", (O) => {
62224
62224
  try {
62225
62225
  A1(O), zl();
62226
- } catch (B) {
62227
- console.warn("设置轮询间隔失败", B);
62226
+ } catch (U) {
62227
+ console.warn("设置轮询间隔失败", U);
62228
62228
  }
62229
62229
  });
62230
- const hi = Ve(() => c.value.length), nr = Ve(() => d.value.length), Sn = Ve(() => Lt.value > 0 ? v.value.findIndex((B) => B.isScreenShareEnabled) : -1), Ii = Ve(() => J.value === "pointTurn" ? "point-turn" : N.value === "grid" ? Lt.value <= 1 ? "grid1" : Lt.value <= 2 ? "grid2" : Lt.value <= 4 ? "grid3" : Lt.value <= 6 ? "grid4" : "grid5" : N.value);
62230
+ const hi = Ve(() => c.value.length), nr = Ve(() => d.value.length), Sn = Ve(() => Lt.value > 0 ? v.value.findIndex((U) => U.isScreenShareEnabled) : -1), Ii = Ve(() => J.value === "pointTurn" ? "point-turn" : N.value === "grid" ? Lt.value <= 1 ? "grid1" : Lt.value <= 2 ? "grid2" : Lt.value <= 4 ? "grid3" : Lt.value <= 6 ? "grid4" : "grid5" : N.value);
62231
62231
  function Hi(O) {
62232
62232
  var me;
62233
62233
  if (N.value !== "rightSide") return;
62234
- const B = document.querySelector("#room .layout-rightside");
62235
- if (!B) return;
62234
+ const U = document.querySelector("#room .layout-rightside");
62235
+ if (!U) return;
62236
62236
  const W = 5, Z = [...O];
62237
62237
  let ae = 0;
62238
62238
  for (let Ae = 0; Ae < Z.length && ae < W; Ae++) {
62239
62239
  const pe = (me = Z[Ae]) == null ? void 0 : me.identity;
62240
62240
  if (!pe) continue;
62241
62241
  const ut = document.getElementById(`participant-${pe}`);
62242
- ut && B.contains(ut) && (B.appendChild(ut), ae++);
62242
+ ut && U.contains(ut) && (U.appendChild(ut), ae++);
62243
62243
  }
62244
62244
  }
62245
62245
  const Kt = async (O) => {
62246
- var B, W;
62246
+ var U, W;
62247
62247
  try {
62248
62248
  const Z = {
62249
62249
  display: O,
@@ -62254,12 +62254,12 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62254
62254
  baseUrl: n.meetingUrl,
62255
62255
  token: n.token
62256
62256
  });
62257
- ((B = ae == null ? void 0 : ae.data) == null ? void 0 : B.code) === 0 || (ae == null ? void 0 : ae.status) === 200 ? (kn.value = O, mt.message("success", "分发画面成功")) : mt.message("error", ((W = ae == null ? void 0 : ae.data) == null ? void 0 : W.msg) || "分发画面失败");
62257
+ ((U = ae == null ? void 0 : ae.data) == null ? void 0 : U.code) === 0 || (ae == null ? void 0 : ae.status) === 200 ? (kn.value = O, mt.message("success", "分发画面成功")) : mt.message("error", ((W = ae == null ? void 0 : ae.data) == null ? void 0 : W.msg) || "分发画面失败");
62258
62258
  } catch (Z) {
62259
62259
  console.error("分发画面失败", Z), mt.message("error", "分发画面失败,请稍后重试");
62260
62260
  }
62261
62261
  }, Yh = async (O) => {
62262
- var B, W;
62262
+ var U, W;
62263
62263
  try {
62264
62264
  const Z = {
62265
62265
  display: " ",
@@ -62270,7 +62270,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62270
62270
  baseUrl: n.meetingUrl,
62271
62271
  token: n.token
62272
62272
  });
62273
- ((B = ae == null ? void 0 : ae.data) == null ? void 0 : B.code) === 0 || (ae == null ? void 0 : ae.status) === 200 ? (kn.value = null, mt.message("success", "取消分发画面成功")) : mt.message("error", ((W = ae == null ? void 0 : ae.data) == null ? void 0 : W.msg) || "取消分发画面失败");
62273
+ ((U = ae == null ? void 0 : ae.data) == null ? void 0 : U.code) === 0 || (ae == null ? void 0 : ae.status) === 200 ? (kn.value = null, mt.message("success", "取消分发画面成功")) : mt.message("error", ((W = ae == null ? void 0 : ae.data) == null ? void 0 : W.msg) || "取消分发画面失败");
62274
62274
  } catch (Z) {
62275
62275
  console.error("取消分发画面失败", Z), mt.message("error", "取消分发画面失败,请稍后重试");
62276
62276
  }
@@ -62279,10 +62279,10 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62279
62279
  N.value = O, Ke.value === h.value && pa("switchLayout", {
62280
62280
  layout: O,
62281
62281
  focusedParticipant: Ne.value
62282
- }).then((B) => {
62283
- B.success ? console.log("布局同步发送成功") : console.error("布局同步发送失败:", B.error);
62284
- }).catch((B) => {
62285
- console.error("布局同步发送异常:", B);
62282
+ }).then((U) => {
62283
+ U.success ? console.log("布局同步发送成功") : console.error("布局同步发送失败:", U.error);
62284
+ }).catch((U) => {
62285
+ console.error("布局同步发送异常:", U);
62286
62286
  }), O === "grid" ? _t(() => {
62287
62287
  document.querySelectorAll('[id^="participant-"]').forEach((W, Z) => {
62288
62288
  W.getAttribute("data-identity"), W.hasAttribute("data-observer-set") || (Mr(W), W.setAttribute("data-observer-set", "true"));
@@ -62301,9 +62301,9 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62301
62301
  });
62302
62302
  }
62303
62303
  function ta(O) {
62304
- const B = document.getElementById("room");
62305
- if (!B) return;
62306
- B.style.position = "relative", B.querySelectorAll('[id^="participant-"]').forEach((ae) => {
62304
+ const U = document.getElementById("room");
62305
+ if (!U) return;
62306
+ U.style.position = "relative", U.querySelectorAll('[id^="participant-"]').forEach((ae) => {
62307
62307
  ae.style.display = "none";
62308
62308
  });
62309
62309
  const Z = document.getElementById(`participant-${O}`);
@@ -62335,8 +62335,8 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62335
62335
  }
62336
62336
  function un(O) {
62337
62337
  if (Lt.value > 0) {
62338
- let B = v.value.findIndex((W) => W.identity === O);
62339
- return B >= 0 ? B : -1;
62338
+ let U = v.value.findIndex((W) => W.identity === O);
62339
+ return U >= 0 ? U : -1;
62340
62340
  } else
62341
62341
  return -1;
62342
62342
  }
@@ -62354,8 +62354,8 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62354
62354
  if (Lt.value <= 0)
62355
62355
  v.value.push(O);
62356
62356
  else {
62357
- const B = un(O.identity);
62358
- B !== -1 ? v.value.splice(B, 1, O) : v.value.push(O);
62357
+ const U = un(O.identity);
62358
+ U !== -1 ? v.value.splice(U, 1, O) : v.value.push(O);
62359
62359
  }
62360
62360
  }
62361
62361
  function Qh(O) {
@@ -62363,14 +62363,14 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62363
62363
  }
62364
62364
  function Zh(O) {
62365
62365
  if (Lt.value > 0) {
62366
- let B = un(O);
62367
- B !== -1 && v.value.splice(B, 1);
62366
+ let U = un(O);
62367
+ U !== -1 && v.value.splice(U, 1);
62368
62368
  }
62369
62369
  }
62370
62370
  function Xa() {
62371
62371
  g.value = [], v.value.forEach((O) => {
62372
62372
  if (O.name.includes(y.value)) {
62373
- const B = {
62373
+ const U = {
62374
62374
  identity: O == null ? void 0 : O.identity,
62375
62375
  name: O.name,
62376
62376
  audioLevel: O.audioLevel,
@@ -62382,18 +62382,18 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62382
62382
  sid: O.sid,
62383
62383
  metadata: O.metadata
62384
62384
  };
62385
- if (B.identity && !a.value[B.identity])
62385
+ if (U.identity && !a.value[U.identity])
62386
62386
  try {
62387
- _j(l.value, [B], {
62387
+ _j(l.value, [U], {
62388
62388
  baseUrl: n.baseUrl,
62389
62389
  token: n.token
62390
62390
  });
62391
62391
  } catch (W) {
62392
62392
  console.warn("addConferenceMeetingByRoomName 调用异常", W);
62393
62393
  } finally {
62394
- a.value[B.identity] = !0;
62394
+ a.value[U.identity] = !0;
62395
62395
  }
62396
- g.value.push(B);
62396
+ g.value.push(U);
62397
62397
  }
62398
62398
  });
62399
62399
  }
@@ -62402,8 +62402,8 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62402
62402
  }
62403
62403
  function vl(O) {
62404
62404
  if (hi.value > 0) {
62405
- let B = bl(O);
62406
- B !== -1 && c.value.splice(B, 1);
62405
+ let U = bl(O);
62406
+ U !== -1 && c.value.splice(U, 1);
62407
62407
  }
62408
62408
  }
62409
62409
  function yl(O) {
@@ -62414,8 +62414,8 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62414
62414
  }
62415
62415
  function ef(O) {
62416
62416
  if (nr.value > 0) {
62417
- const B = d.value.findIndex((W) => W.mobile === O);
62418
- B !== -1 && d.value.splice(B, 1);
62417
+ const U = d.value.findIndex((W) => W.mobile === O);
62418
+ U !== -1 && d.value.splice(U, 1);
62419
62419
  }
62420
62420
  }
62421
62421
  function Wu(O) {
@@ -62426,14 +62426,14 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62426
62426
  }
62427
62427
  function ws(O) {
62428
62428
  if (Lt.value > 0) {
62429
- const B = v.value.findIndex((W) => W.identity === O);
62430
- return B > -1 ? v.value[B] : null;
62429
+ const U = v.value.findIndex((W) => W.identity === O);
62430
+ return U > -1 ? v.value[U] : null;
62431
62431
  } else
62432
62432
  return null;
62433
62433
  }
62434
62434
  function _l() {
62435
62435
  if (Lt.value > 0) {
62436
- const O = v.value.findIndex((B) => B.isLocal);
62436
+ const O = v.value.findIndex((U) => U.isLocal);
62437
62437
  return O > -1 ? v.value[O] : null;
62438
62438
  } else
62439
62439
  return null;
@@ -62450,7 +62450,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62450
62450
  function ra(O) {
62451
62451
  var W;
62452
62452
  ef(O.mobile), vl(O.mobile);
62453
- const B = c.value.map((Z) => (Z == null ? void 0 : Z.classify) === "人员" ? {
62453
+ const U = c.value.map((Z) => (Z == null ? void 0 : Z.classify) === "人员" ? {
62454
62454
  roomName: l.value,
62455
62455
  roomAlias: o.value,
62456
62456
  userId: Z.userId,
@@ -62474,7 +62474,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62474
62474
  equipmentType: Z == null ? void 0 : Z.equipmentType
62475
62475
  })
62476
62476
  });
62477
- n.joinType === "launch" && B.findIndex((ae) => ae.userId === n.userData.userId) < 0 && B.push({
62477
+ n.joinType === "launch" && U.findIndex((ae) => ae.userId === n.userData.userId) < 0 && U.push({
62478
62478
  roomName: l.value,
62479
62479
  roomAlias: o.value,
62480
62480
  userId: n.userData.userId,
@@ -62484,7 +62484,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62484
62484
  classify: "人员",
62485
62485
  phone: n.userData.mobile
62486
62486
  })
62487
- }), Fl(B, {
62487
+ }), Fl(U, {
62488
62488
  baseUrl: n.baseUrl,
62489
62489
  token: n.token
62490
62490
  }).then((Z) => {
@@ -62495,11 +62495,11 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62495
62495
  ce.value = !1;
62496
62496
  }, Rr = async () => {
62497
62497
  try {
62498
- const { audioDevices: O, videoDevices: B, outputDevices: W } = await Mv.getDeviceList();
62498
+ const { audioDevices: O, videoDevices: U, outputDevices: W } = await Mv.getDeviceList();
62499
62499
  E.value = O.map((Z) => ({
62500
62500
  label: Z.label,
62501
62501
  value: Z.deviceId
62502
- })), S.value = B.map((Z) => ({
62502
+ })), S.value = U.map((Z) => ({
62503
62503
  label: Z.label,
62504
62504
  value: Z.deviceId
62505
62505
  })), D.value = W.map((Z) => ({
@@ -62518,14 +62518,14 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62518
62518
  O == null || O.detach(), O == null || O.stop();
62519
62519
  });
62520
62520
  }, nf = () => {
62521
- Le && Fe.value.length > 0 && Fe.value.forEach((O) => {
62522
- Le.off(O);
62521
+ Ue && Fe.value.length > 0 && Fe.value.forEach((O) => {
62522
+ Ue.off(O);
62523
62523
  });
62524
62524
  }, Oi = () => {
62525
62525
  qe.value = !0, r("multiMeetingClose");
62526
62526
  }, ls = async () => {
62527
- if (Le) {
62528
- await Le.leaveRoom();
62527
+ if (Ue) {
62528
+ await Ue.leaveRoom();
62529
62529
  try {
62530
62530
  at.value && l.value && await nm(l.value, {
62531
62531
  baseUrl: n.baseUrl,
@@ -62561,17 +62561,17 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62561
62561
  }, qi = () => {
62562
62562
  Lt.value <= 1 && Xn(h.value) ? Ja() : Gt.value = !0;
62563
62563
  }, sf = (O) => {
62564
- Le.setParticipantToHost(O.ownerId, O.ownerName).then(() => {
62564
+ Ue.setParticipantToHost(O.ownerId, O.ownerName).then(() => {
62565
62565
  console.log(`成功指派 ${O.ownerName} 为主持人`);
62566
- }).catch((B) => {
62567
- console.error(`指派 ${O.ownerName} 失败`, B);
62566
+ }).catch((U) => {
62567
+ console.error(`指派 ${O.ownerName} 失败`, U);
62568
62568
  });
62569
62569
  }, Qa = () => {
62570
- var B;
62571
- if (!Le || !(Le != null && Le.room))
62570
+ var U;
62571
+ if (!Ue || !(Ue != null && Ue.room))
62572
62572
  return;
62573
62573
  let O = null;
62574
- switch ((B = Le.room) == null ? void 0 : B.localParticipant.connectionQuality) {
62574
+ switch ((U = Ue.room) == null ? void 0 : U.localParticipant.connectionQuality) {
62575
62575
  case "excellent":
62576
62576
  case "good":
62577
62577
  O = "良好";
@@ -62595,14 +62595,14 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62595
62595
  audioDeviceId: w.audioInputDevice,
62596
62596
  videoDeviceId: w.videoDevice,
62597
62597
  outputDeviceId: w.audioOutputDevice
62598
- }, B = null;
62598
+ }, U = null;
62599
62599
  try {
62600
- B = await Le.joinRoom(O), w && B && (!w.audioInputDevice && B.audioInputDevice && (w.audioInputDevice = B.audioInputDevice), !w.audioOutputDevice && B.audioOutputDevice && (w.audioOutputDevice = B.audioOutputDevice), !w.videoDevice && B.videoInputDevice && (w.videoDevice = B.videoInputDevice));
62600
+ U = await Ue.joinRoom(O), w && U && (!w.audioInputDevice && U.audioInputDevice && (w.audioInputDevice = U.audioInputDevice), !w.audioOutputDevice && U.audioOutputDevice && (w.audioOutputDevice = U.audioOutputDevice), !w.videoDevice && U.videoInputDevice && (w.videoDevice = U.videoInputDevice));
62601
62601
  } catch (W) {
62602
62602
  console.error("加入会议失败", W);
62603
62603
  }
62604
62604
  }, Za = async (O) => {
62605
- var B;
62605
+ var U;
62606
62606
  try {
62607
62607
  await TT(l.value, O, {
62608
62608
  baseUrl: n.baseUrl,
@@ -62611,7 +62611,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62611
62611
  const W = await Z0(l.value, {
62612
62612
  baseUrl: n.baseUrl,
62613
62613
  token: n.token
62614
- }), Z = (B = W == null ? void 0 : W.data) == null ? void 0 : B.msg;
62614
+ }), Z = (U = W == null ? void 0 : W.data) == null ? void 0 : U.msg;
62615
62615
  Z && await Vf(
62616
62616
  {
62617
62617
  dnis: Z,
@@ -62632,10 +62632,10 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62632
62632
  }, Nr = async (O) => {
62633
62633
  if (!O || O.length === 0)
62634
62634
  return;
62635
- const B = O.filter((me) => me.proxy), W = O.filter((me) => !me.proxy), Z = W.map((me) => me && me.uri ? KD(l.value, [me], {
62635
+ const U = O.filter((me) => me.proxy), W = O.filter((me) => !me.proxy), Z = W.map((me) => me && me.uri ? KD(l.value, [me], {
62636
62636
  baseUrl: n.baseUrl,
62637
62637
  token: n.token
62638
- }) : Le.makeCall(
62638
+ }) : Ue.makeCall(
62639
62639
  me.userName,
62640
62640
  me.mobile,
62641
62641
  Number(me.equipmentType)
@@ -62694,7 +62694,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62694
62694
  try {
62695
62695
  const [me, Ae] = await Promise.all([
62696
62696
  Promise.allSettled(Z),
62697
- ae(B, 8)
62697
+ ae(U, 8)
62698
62698
  // 同时处理8个带proxy的设备
62699
62699
  ]), pe = me.filter(
62700
62700
  (Ze) => Ze.status === "rejected"
@@ -62725,38 +62725,38 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62725
62725
  token: n.token
62726
62726
  }
62727
62727
  ).then((O) => {
62728
- O.data.code === 0 ? O.data.data.length > 0 ? (c.value = O.data.data.filter((B) => JSON.parse(B.metadata).phone !== n.userData.mobile).map((B) => {
62729
- const W = JSON.parse(B.metadata);
62728
+ O.data.code === 0 ? O.data.data.length > 0 ? (c.value = O.data.data.filter((U) => JSON.parse(U.metadata).phone !== n.userData.mobile).map((U) => {
62729
+ const W = JSON.parse(U.metadata);
62730
62730
  return W.classify === "人员" ? {
62731
62731
  classify: W.classify,
62732
- userName: B.userName,
62733
- userId: B.userId,
62732
+ userName: U.userName,
62733
+ userId: U.userId,
62734
62734
  mobile: W.phone,
62735
- officeName: B.officeName,
62736
- id: B.userId,
62737
- label: B.userName,
62735
+ officeName: U.officeName,
62736
+ id: U.userId,
62737
+ label: U.userName,
62738
62738
  phone: W.phone
62739
62739
  } : {
62740
62740
  classify: W.classify,
62741
- userName: B.userName,
62742
- userId: B.userId,
62741
+ userName: U.userName,
62742
+ userId: U.userId,
62743
62743
  mobile: W.equipmentCode,
62744
- officeName: B.officeName,
62744
+ officeName: U.officeName,
62745
62745
  phone: W.phone,
62746
62746
  equipmentCode: W.equipmentCode,
62747
62747
  equipmentPassword: W.equipmentPassword,
62748
62748
  equipmentType: W.equipmentType,
62749
- id: B.userId,
62750
- label: B.userName
62749
+ id: U.userId,
62750
+ label: U.userName
62751
62751
  };
62752
62752
  }), d.value = c.value) : (c.value = [], d.value = []) : (c.value = [], d.value = []);
62753
62753
  });
62754
62754
  }, Xu = (O) => {
62755
62755
  if (O && (O != null && O.identity)) {
62756
- const B = document.getElementById(
62756
+ const U = document.getElementById(
62757
62757
  `participant-${O.identity}`
62758
62758
  );
62759
- if (B)
62759
+ if (U)
62760
62760
  if (J.value === "pointTurn") {
62761
62761
  if (!(O.identity === Ke.value || O.identity === Ne.value)) {
62762
62762
  const W = document.querySelector("#room .point-turn-top"), Z = document.querySelector(
@@ -62766,19 +62766,19 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62766
62766
  );
62767
62767
  if (!W || !Z || !ae)
62768
62768
  return;
62769
- if (B.parentElement)
62770
- if (B.parentElement.className === "point-turn-top") {
62771
- if (B.id === W.firstElementChild.id)
62769
+ if (U.parentElement)
62770
+ if (U.parentElement.className === "point-turn-top") {
62771
+ if (U.id === W.firstElementChild.id)
62772
62772
  return;
62773
62773
  W.insertBefore(
62774
- B,
62774
+ U,
62775
62775
  W.firstChild ?? null
62776
62776
  );
62777
- } else B.parentElement.className === "point-turn-bottom" ? document.querySelectorAll(".point-turn-top .participant").length >= 5 && (ae.insertBefore(
62777
+ } else U.parentElement.className === "point-turn-bottom" ? document.querySelectorAll(".point-turn-top .participant").length >= 5 && (ae.insertBefore(
62778
62778
  W.lastElementChild,
62779
62779
  ae.firstChild ?? null
62780
62780
  ), W.insertBefore(
62781
- B,
62781
+ U,
62782
62782
  W.firstChild ?? null
62783
62783
  ), Z.insertBefore(
62784
62784
  ae.firstChild,
@@ -62790,16 +62790,16 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62790
62790
  W.lastElementChild,
62791
62791
  Z.firstChild ?? null
62792
62792
  ), W.insertBefore(
62793
- B,
62793
+ U,
62794
62794
  W.firstChild ?? null
62795
62795
  ));
62796
62796
  }
62797
62797
  } else {
62798
62798
  const W = document.getElementById("room");
62799
62799
  if (N.value === "grid") {
62800
- if (B.id === W.firstElementChild.id)
62800
+ if (U.id === W.firstElementChild.id)
62801
62801
  return;
62802
- W.insertBefore(B, W.firstChild ?? null);
62802
+ W.insertBefore(U, W.firstChild ?? null);
62803
62803
  } else if (N.value === "rightSide") {
62804
62804
  const Z = document.querySelector(
62805
62805
  "#room .layout-rightside"
@@ -62809,10 +62809,10 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62809
62809
  if (!ae || !Z)
62810
62810
  return;
62811
62811
  if (O.identity !== Ne.value) {
62812
- if (B.id === ae.firstElementChild.id || B.id === Z.firstElementChild.id)
62812
+ if (U.id === ae.firstElementChild.id || U.id === Z.firstElementChild.id)
62813
62813
  return;
62814
62814
  Z.insertBefore(
62815
- B,
62815
+ U,
62816
62816
  Z.firstElementChild ?? null
62817
62817
  );
62818
62818
  }
@@ -62821,8 +62821,8 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62821
62821
  } else
62822
62822
  return;
62823
62823
  }, Sl = (O) => {
62824
- let B = document.createElement("div");
62825
- return B.id = `participant-${O.identity}`, B.className = O.isLocal ? "participant local" : "participant", B.setAttribute("data-identity", O.identity), B.setAttribute("data-is-in-viewport", "false"), O.isScreenShareEnabled ? B.innerHTML = `
62824
+ let U = document.createElement("div");
62825
+ return U.id = `participant-${O.identity}`, U.className = O.isLocal ? "participant local" : "participant", U.setAttribute("data-identity", O.identity), U.setAttribute("data-is-in-viewport", "false"), O.isScreenShareEnabled ? U.innerHTML = `
62826
62826
  <video id="video-${O.identity}" class="p-video" autoplay webkit-playsinline playsinline x5-video-player-type="h5"></video>
62827
62827
  <div id="rotate-${O.identity}" class="rotate-icon"><img id="rotate-img-${O.identity}" src="/assets/flip/1-0.png" /></div>
62828
62828
  <div id="screenshare-${O.identity}" class="screen-share-suspension">
@@ -62837,7 +62837,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62837
62837
  <div id="microphone-${O.identity}" class="microphone"></div>
62838
62838
  </div>
62839
62839
  </div>
62840
- ` : O.isCameraEnabled ? B.innerHTML = `
62840
+ ` : O.isCameraEnabled ? U.innerHTML = `
62841
62841
  <video id="video-${O.identity}" class="p-video" autoplay webkit-playsinline playsinline x5-video-player-type="h5"></video>
62842
62842
  <div id="rotate-${O.identity}" class="rotate-icon"><img id="rotate-img-${O.identity}" src="/assets/flip/1-0.png" /></div>
62843
62843
  <div id="signal-${O.identity}" class="signal-icon signal-icon-good"></div>
@@ -62851,7 +62851,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62851
62851
  <div id="microphone-${O.identity}" class="microphone"></div>
62852
62852
  </div>
62853
62853
  </div>
62854
- ` : B.innerHTML = `
62854
+ ` : U.innerHTML = `
62855
62855
  <video id="video-${O.identity}" class="p-video" autoplay webkit-playsinline playsinline x5-video-player-type="h5"></video>
62856
62856
  <div id="rotate-${O.identity}" class="rotate-icon"><img id="rotate-img-${O.identity}" src="/assets/flip/1-0.png" /></div>
62857
62857
  <div id="board-${O.identity}" class="board">
@@ -62868,12 +62868,12 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62868
62868
  <div id="microphone-${O.identity}" class="microphone"></div>
62869
62869
  </div>
62870
62870
  </div>
62871
- `, B;
62871
+ `, U;
62872
62872
  };
62873
62873
  function af(O) {
62874
- const B = document.getElementById(`rotate-${O}`), W = document.getElementById(`rotate-img-${O}`);
62875
- if (!B || !W) return;
62876
- B.dataset.stateIndex || (B.dataset.stateIndex = "1");
62874
+ const U = document.getElementById(`rotate-${O}`), W = document.getElementById(`rotate-img-${O}`);
62875
+ if (!U || !W) return;
62876
+ U.dataset.stateIndex || (U.dataset.stateIndex = "1");
62877
62877
  const Z = [
62878
62878
  "/assets/flip/1-0.png",
62879
62879
  "/assets/flip/2-0-90.png",
@@ -62887,26 +62887,26 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62887
62887
  ], me = (pe, ut) => {
62888
62888
  W && (W.src = ut ? ae[pe - 1] : Z[pe - 1]);
62889
62889
  };
62890
- me(Number(B.dataset.stateIndex), !1);
62890
+ me(Number(U.dataset.stateIndex), !1);
62891
62891
  const Ae = () => {
62892
- const pe = Number(B.dataset.stateIndex || "1");
62892
+ const pe = Number(U.dataset.stateIndex || "1");
62893
62893
  me(pe, !0);
62894
62894
  const ut = document.getElementById(`video-${O}`);
62895
62895
  if (ut) {
62896
62896
  const Ze = (parseInt(ut.getAttribute("data-rotation") || "0") + 90) % 360;
62897
62897
  ut.style.willChange = "transform", ut.style.transformOrigin = "center center", ut.style.transform = `rotate(${Ze}deg)`, ut.setAttribute("data-rotation", Ze.toString());
62898
62898
  const gt = Ze === 0 ? 1 : Ze === 90 ? 2 : Ze === 180 ? 3 : 4;
62899
- B.dataset.stateIndex = String(gt), setTimeout(() => me(gt, !1), 120);
62899
+ U.dataset.stateIndex = String(gt), setTimeout(() => me(gt, !1), 120);
62900
62900
  }
62901
62901
  };
62902
- B.onclick = Ae, B.onmousedown = () => {
62903
- }, B.onmouseup = null, B.onmouseleave = null, B.ontouchstart = (pe) => {
62902
+ U.onclick = Ae, U.onmousedown = () => {
62903
+ }, U.onmouseup = null, U.onmouseleave = null, U.ontouchstart = (pe) => {
62904
62904
  pe.preventDefault();
62905
- }, B.ontouchend = (pe) => {
62905
+ }, U.ontouchend = (pe) => {
62906
62906
  pe.preventDefault(), Ae();
62907
62907
  };
62908
62908
  }
62909
- const of = (O, B, W) => {
62909
+ const of = (O, U, W) => {
62910
62910
  if (J.value === "pointTurn") {
62911
62911
  let Z = document.querySelector("#room .point-turn-top"), ae = document.querySelector("#room .point-turn-center"), me = document.querySelector("#room .point-turn-bottom"), Ae = document.querySelector("#room .point-turn-other");
62912
62912
  if (Z || (Z = document.createElement("div"), Z.className = "point-turn-top", O.insertBefore(Z, O.firstChild ?? null)), ae || (ae = document.createElement("div"), ae.className = "point-turn-center", O.appendChild(ae)), me || (me = document.createElement("div"), me.className = "point-turn-bottom", O.appendChild(me)), Ae || (Ae = document.createElement("div"), Ae.className = "point-turn-other", O.appendChild(Ae)), Ke.value === W.identity)
@@ -62915,32 +62915,32 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62915
62915
  ".point-turn-center .participant"
62916
62916
  );
62917
62917
  pe.length > 0 ? pe.length === 1 ? ae.insertBefore(
62918
- B,
62918
+ U,
62919
62919
  ae.firstChild ?? null
62920
62920
  ) : pe[0].id ? (document.querySelectorAll(".point-turn-top .participant").length >= 5 ? document.querySelectorAll(".point-turn-bottom .participant").length >= 5 ? Ae.appendChild(pe[0]) : me.appendChild(pe[0]) : Z.appendChild(pe[0]), ae.insertBefore(
62921
- B,
62921
+ U,
62922
62922
  ae.firstChild ?? null
62923
62923
  )) : (ae.removeChild(pe[0]), ae.insertBefore(
62924
- B,
62924
+ U,
62925
62925
  ae.firstChild ?? null
62926
62926
  )) : ae.insertBefore(
62927
- B,
62927
+ U,
62928
62928
  ae.firstChild ?? null
62929
62929
  );
62930
62930
  } else
62931
- ae.appendChild(B);
62931
+ ae.appendChild(U);
62932
62932
  else if (Ne.value === W.identity)
62933
62933
  if (ae.hasChildNodes()) {
62934
62934
  let pe = document.querySelectorAll(
62935
62935
  ".point-turn-center .participant"
62936
62936
  );
62937
- pe.length > 0 ? pe.length === 1 ? ae.appendChild(B) : pe[1].id ? (document.querySelectorAll(".point-turn-top .participant").length >= 5 ? document.querySelectorAll(".point-turn-bottom .participant").length >= 5 ? Ae.appendChild(pe[1]) : me.appendChild(pe[1]) : Z.appendChild(pe[1]), ae.appendChild(B)) : (ae.removeChild(pe[1]), ae.appendChild(B)) : ae.appendChild(B);
62937
+ pe.length > 0 ? pe.length === 1 ? ae.appendChild(U) : pe[1].id ? (document.querySelectorAll(".point-turn-top .participant").length >= 5 ? document.querySelectorAll(".point-turn-bottom .participant").length >= 5 ? Ae.appendChild(pe[1]) : me.appendChild(pe[1]) : Z.appendChild(pe[1]), ae.appendChild(U)) : (ae.removeChild(pe[1]), ae.appendChild(U)) : ae.appendChild(U);
62938
62938
  } else
62939
- ae.appendChild(B);
62939
+ ae.appendChild(U);
62940
62940
  else
62941
- document.querySelectorAll(".point-turn-top .participant").length >= 5 ? document.querySelectorAll(".point-turn-bottom .participant").length >= 5 ? Ae.appendChild(B) : me.appendChild(B) : Z.appendChild(B);
62941
+ document.querySelectorAll(".point-turn-top .participant").length >= 5 ? document.querySelectorAll(".point-turn-bottom .participant").length >= 5 ? Ae.appendChild(U) : me.appendChild(U) : Z.appendChild(U);
62942
62942
  } else if (N.value === "grid")
62943
- W.isLocal ? O.insertBefore(B, O.firstChild ?? null) : O.appendChild(B);
62943
+ W.isLocal ? O.insertBefore(U, O.firstChild ?? null) : O.appendChild(U);
62944
62944
  else if (N.value === "rightSide") {
62945
62945
  let Z = document.querySelector(
62946
62946
  "#room .layout-rightside"
@@ -62948,53 +62948,53 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
62948
62948
  ae || (ae = document.createElement("div"), ae.className = "layout-leftside", O.insertBefore(ae, O.firstChild ?? null)), Z || (Z = document.createElement("div"), Z.className = "layout-rightside", O.appendChild(Z)), Ne.value && Ne.value === W.identity ? ae.hasChildNodes() && (Z.insertBefore(
62949
62949
  ae.firstChild,
62950
62950
  Z.firstChild ?? null
62951
- ), ae.appendChild(B)) : W.isLocal ? (ae.hasChildNodes() && Z.insertBefore(
62951
+ ), ae.appendChild(U)) : W.isLocal ? (ae.hasChildNodes() && Z.insertBefore(
62952
62952
  ae.firstChild,
62953
62953
  Z.firstChild ?? null
62954
- ), ae.appendChild(B)) : Z.appendChild(B);
62954
+ ), ae.appendChild(U)) : Z.appendChild(U);
62955
62955
  }
62956
62956
  return O;
62957
62957
  }, eo = (O) => {
62958
62958
  N.value = O, Ke.value === h.value && pa("switchLayout", {
62959
62959
  layout: O,
62960
62960
  focusedParticipant: Ne.value
62961
- }).then((B) => {
62962
- B.success ? console.log("布局同步发送成功") : console.error("布局同步发送失败:", B.error);
62963
- }).catch((B) => {
62964
- console.error("布局同步发送异常:", B);
62961
+ }).then((U) => {
62962
+ U.success ? console.log("布局同步发送成功") : console.error("布局同步发送失败:", U.error);
62963
+ }).catch((U) => {
62964
+ console.error("布局同步发送异常:", U);
62965
62965
  });
62966
62966
  }, to = (O) => {
62967
62967
  O.isLocal && (h.value = O.identity, f.value = O.name, Te.value = O.isCameraEnabled, ne.value = O.isMicrophoneEnabled, Se.value = O.isScreenShareEnabled), !Ke.value && Xn(O.identity) && !O.remove && (Ke.value = O.identity);
62968
- let B = document.getElementById("room");
62969
- if (!B) {
62968
+ let U = document.getElementById("room");
62969
+ if (!U) {
62970
62970
  mt.message("error", "会议容器不存在");
62971
62971
  return;
62972
62972
  }
62973
62973
  let W = document.getElementById(`participant-${O.identity}`);
62974
62974
  if (!W && !O.remove && (O.audioTrack || O.videoTrack)) {
62975
- if (W = Sl(O), B = of(B, W, O), na(O), d.value.length > 0) {
62975
+ if (W = Sl(O), U = of(U, W, O), na(O), d.value.length > 0) {
62976
62976
  const Nt = d.value.findIndex((On) => On.classify !== "人员" && "sip_" + On.mobile === O.identity);
62977
- Nt !== -1 && Le.updateParticipantName(
62977
+ Nt !== -1 && Ue.updateParticipantName(
62978
62978
  O.identity,
62979
62979
  d.value[Nt].userName
62980
62980
  );
62981
62981
  }
62982
62982
  if (c.value.length > 0) {
62983
62983
  const Nt = c.value.findIndex((On) => On.mobile == O.identity);
62984
- Nt !== -1 && Le.updateParticipantName(
62984
+ Nt !== -1 && Ue.updateParticipantName(
62985
62985
  O.identity,
62986
62986
  c.value[Nt].userName
62987
62987
  );
62988
62988
  }
62989
62989
  c.value.forEach((Nt) => {
62990
- Nt.mobile == O.identity && Nt.type == "监控/监控1" && Le.changeParticipantMicrophoneStatus(O.identity, !0);
62990
+ Nt.mobile == O.identity && Nt.type == "监控/监控1" && Ue.changeParticipantMicrophoneStatus(O.identity, !0);
62991
62991
  });
62992
62992
  }
62993
62993
  let Z = document.getElementById(`video-${O.identity}`);
62994
62994
  af(O.identity);
62995
62995
  let ae = document.getElementById(`board-${O.identity}`), me = document.getElementById(`microphone-${O.identity}`), Ae = document.getElementById(`signal-${O.identity}`), pe = document.getElementById(`more-${O.identity}`);
62996
62996
  const ut = async () => {
62997
- Le.changeParticipantMicrophoneStatus(O.identity, !0);
62997
+ Ue.changeParticipantMicrophoneStatus(O.identity, !0);
62998
62998
  try {
62999
62999
  const Nt = {
63000
63000
  owner: "administrators",
@@ -63012,7 +63012,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63012
63012
  console.error("muteParticipant (unableMicrophone) error:", Nt);
63013
63013
  }
63014
63014
  }, Ce = async () => {
63015
- Le.changeParticipantMicrophoneStatus(O.identity, !1);
63015
+ Ue.changeParticipantMicrophoneStatus(O.identity, !1);
63016
63016
  try {
63017
63017
  const Nt = {
63018
63018
  owner: "administrators",
@@ -63117,36 +63117,36 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63117
63117
  `本地摄像头状态变化: ${Te.value} -> ${O.isCameraEnabled}`
63118
63118
  ), ne.value !== O.isMicrophoneEnabled && console.log(
63119
63119
  `本地麦克风状态变化: ${ne.value} -> ${O.isMicrophoneEnabled}`
63120
- )), J.value === "normal" && Sn === -1 && nt.value && (eo(Tn.value), nt.value = !1), Lt.value >= 1 && (JSON.parse(Le.room.metadata), Dt.value && (Jn && (clearInterval(Jn), Jn = null), Jn = setInterval(() => {
63120
+ )), J.value === "normal" && Sn === -1 && nt.value && (eo(Tn.value), nt.value = !1), Lt.value >= 1 && (JSON.parse(Ue.room.metadata), Dt.value && (Jn && (clearInterval(Jn), Jn = null), Jn = setInterval(() => {
63121
63121
  F.value++, Dt.value = !1;
63122
63122
  }, 1e3)));
63123
63123
  }, Yu = () => {
63124
- if (!Le) {
63124
+ if (!Ue) {
63125
63125
  mt.message("error", "liveClient初始化失败");
63126
63126
  return;
63127
63127
  }
63128
- Le._eventsInitialized || (Le.on("errorPush", (O) => {
63128
+ Ue._eventsInitialized || (Ue.on("errorPush", (O) => {
63129
63129
  Cn("errorPush"), console.error("出错位置" + O.type + ":", O.message), mt.message("error", O.message);
63130
- }), Le.on("socketOpen", () => {
63130
+ }), Ue.on("socketOpen", () => {
63131
63131
  Cn("socketOpen"), mt.message("success", "链接建立成功");
63132
- }), Le.on("roomCreatedSuccess", async (O) => {
63132
+ }), Ue.on("roomCreatedSuccess", async (O) => {
63133
63133
  Cn("roomCreatedSuccess"), mt.message("success", "会议房间创建成功"), l.value = O, ys.meetingStore && (ys.meetingStore.meetingNum = O), await Es();
63134
63134
  try {
63135
63135
  await K2(), X2();
63136
- } catch (B) {
63137
- console.error("会议房间创建后,布局同步初始化失败:", B);
63136
+ } catch (U) {
63137
+ console.error("会议房间创建后,布局同步初始化失败:", U);
63138
63138
  }
63139
- }), Le.on("roomCreatedFail", (O) => {
63139
+ }), Ue.on("roomCreatedFail", (O) => {
63140
63140
  Cn("roomCreatedFail"), mt.message("error", "会议房间创建失败");
63141
- }), Le.on("joinRoomError", (O) => {
63141
+ }), Ue.on("joinRoomError", (O) => {
63142
63142
  Cn("joinRoomError"), console.error("加入房间失败", O), Re.value = !1, mt.message("error", "加入房间失败");
63143
- }), Le.on("roomConnected", async (O) => {
63144
- var B, W, Z, ae;
63145
- if (Cn("roomConnected"), Le.room) {
63146
- const me = JSON.parse(Le.room.metadata);
63143
+ }), Ue.on("roomConnected", async (O) => {
63144
+ var U, W, Z, ae;
63145
+ if (Cn("roomConnected"), Ue.room) {
63146
+ const me = JSON.parse(Ue.room.metadata);
63147
63147
  o.value = me.roomAlias, u.value = me.creator ?? "暂无", p.value = me.owner, me.display && me.display.trim() !== "" && !Xn(h.value) && (kn.value = me.display, ta(me.display));
63148
63148
  }
63149
- (B = n.userData) != null && B.username && Le.updateParticipantName(
63149
+ (U = n.userData) != null && U.username && Ue.updateParticipantName(
63150
63150
  n.userData.mobile,
63151
63151
  n.userData.username
63152
63152
  ), Kn = setInterval(() => {
@@ -63259,10 +63259,10 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63259
63259
  } else
63260
63260
  kl();
63261
63261
  Re.value = !0;
63262
- }), Le.on("setHostSuccess", async (O) => {
63262
+ }), Ue.on("setHostSuccess", async (O) => {
63263
63263
  if (Cn("setHostSuccess"), Qh(O), Ke.value !== p.value.ownerId) {
63264
63264
  await _t(), c3(Ke), Ke.value = p.value.ownerId;
63265
- let B = document.getElementById(
63265
+ let U = document.getElementById(
63266
63266
  `participant-${Ke.value}`
63267
63267
  );
63268
63268
  if (J.value === "pointTurn") {
@@ -63279,27 +63279,27 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63279
63279
  if (Ke.value === Ne.value)
63280
63280
  if (Ce[0].id) {
63281
63281
  document.querySelectorAll(".point-turn-top .participant").length >= 5 ? document.querySelectorAll(".point-turn-bottom .participant").length >= 5 ? me.appendChild(Ce[0]) : ae.appendChild(Ce[0]) : W.appendChild(Ce[0]), Z.insertBefore(
63282
- B,
63282
+ U,
63283
63283
  Z.firstElementChild ?? null
63284
63284
  );
63285
63285
  let Ze = document.createElement("div");
63286
63286
  Ze.className = "participant", Ze.innerHTML = ma, Z.appendChild(Ze);
63287
63287
  } else
63288
63288
  Z.insertBefore(
63289
- B,
63289
+ U,
63290
63290
  Z.firstElementChild ?? null
63291
63291
  );
63292
63292
  else
63293
63293
  Ce[0].id ? (document.querySelectorAll(".point-turn-top .participant").length >= 5 ? document.querySelectorAll(".point-turn-bottom .participant").length >= 5 ? me.appendChild(Ce[0]) : ae.appendChild(Ce[0]) : W.appendChild(Ce[0]), Z.insertBefore(
63294
- B,
63294
+ U,
63295
63295
  Z.firstElementChild ?? null
63296
63296
  )) : (Z.removeChild(Ce[0]), Z.insertBefore(
63297
- B,
63297
+ U,
63298
63298
  Z.firstElementChild ?? null
63299
63299
  ));
63300
63300
  } else {
63301
63301
  Z.insertBefore(
63302
- B,
63302
+ U,
63303
63303
  Z.firstElementChild ?? null
63304
63304
  );
63305
63305
  let Ce = document.createElement("div");
@@ -63308,44 +63308,44 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63308
63308
  Ae < 5 ? pe > 0 ? W.appendChild(ae.firstElementChild) : ut > 0 && W.appendChild(me.firstChild) : pe < 5 && ut > 0 && ae.appendChild(me.firstChild);
63309
63309
  }
63310
63310
  }
63311
- }), Le.on("roomMetadataChanged", (O) => {
63312
- const B = JSON.parse(O);
63313
- Xn(h.value) || (B.display && B.display.trim() !== "" && B.display !== kn.value ? (kn.value = B.display, ta(B.display)) : (!B.display || B.display.trim() === "") && kn.value && (kn.value = null, Jh()));
63314
- }), Le.on("roomDisconnected", () => {
63315
- if (Cn("roomDisconnected"), mt.message("info", "房间链接已断开"), Re.value = !1, Ku(), tf(), Le) {
63316
- Le._eventsInitialized = !1;
63311
+ }), Ue.on("roomMetadataChanged", (O) => {
63312
+ const U = JSON.parse(O);
63313
+ Xn(h.value) || (U.display && U.display.trim() !== "" && U.display !== kn.value ? (kn.value = U.display, ta(U.display)) : (!U.display || U.display.trim() === "") && kn.value && (kn.value = null, Jh()));
63314
+ }), Ue.on("roomDisconnected", () => {
63315
+ if (Cn("roomDisconnected"), mt.message("info", "房间链接已断开"), Re.value = !1, Ku(), tf(), Ue) {
63316
+ Ue._eventsInitialized = !1;
63317
63317
  try {
63318
- Le.removeAllListeners();
63318
+ Ue.removeAllListeners();
63319
63319
  } catch (O) {
63320
63320
  console.warn("清理liveClient事件监听器失败:", O);
63321
63321
  }
63322
63322
  }
63323
- at.value ? Le.deleteRoom(n.userData.mobile).then(() => {
63323
+ at.value ? Ue.deleteRoom(n.userData.mobile).then(() => {
63324
63324
  Oi();
63325
63325
  }).catch((O) => {
63326
63326
  Oi();
63327
63327
  }) : Oi();
63328
- }), Le.on("localCameraChange", (O) => {
63328
+ }), Ue.on("localCameraChange", (O) => {
63329
63329
  Cn("localCameraChange"), Te.value = O, Te.value ? mt.message("success", "摄像头已开启") : mt.message("success", "摄像头已关闭");
63330
- }), Le.on("localMicrophoneChange", (O) => {
63330
+ }), Ue.on("localMicrophoneChange", (O) => {
63331
63331
  Cn("localMicrophoneChange"), ne.value = O, ne.value ? mt.message("success", "麦克风已开启") : mt.message("success", "麦克风已关闭");
63332
- }), Le.on("localScreenShareChange", (O) => {
63332
+ }), Ue.on("localScreenShareChange", (O) => {
63333
63333
  Cn("localScreenShareChange"), Se.value = O, Se.value ? mt.message("success", "屏幕共享已开启") : mt.message("success", "屏幕共享已关闭");
63334
- }), Le.on("startRecording", (O) => {
63334
+ }), Ue.on("startRecording", (O) => {
63335
63335
  Cn("startRecording"), He.value = !0, tt.value = O, mt.message("success", "开始录制");
63336
- }), Le.on("stopRecording", (O) => {
63336
+ }), Ue.on("stopRecording", (O) => {
63337
63337
  Cn("stopRecording"), He.value = !1, mt.message("success", "结束录制");
63338
- }), Le.on("requestDeviceOpen", (O) => {
63338
+ }), Ue.on("requestDeviceOpen", (O) => {
63339
63339
  Cn("requestDeviceOpen"), O.input == "1" ? mt.message("info", "房主请求您开启麦克风") : O.input == "2" && mt.message("info", "房主请求您开启摄像头");
63340
- }), Le.on("mediaDeviceChange", async (O) => {
63340
+ }), Ue.on("mediaDeviceChange", async (O) => {
63341
63341
  Cn("mediaDeviceChange");
63342
- const B = !ue.value && !we.value, W = I.audioInputDevice || I.audioOutputDevice || I.videoDevice;
63342
+ const U = !ue.value && !we.value, W = I.audioInputDevice || I.audioOutputDevice || I.videoDevice;
63343
63343
  let Z = !1;
63344
- if ((O.kind === "audioinput" && I.audioInputDevice && O.deviceId !== I.audioInputDevice || O.kind === "audiooutput" && I.audioOutputDevice && O.deviceId !== I.audioOutputDevice || O.kind === "videoinput" && I.videoDevice && O.deviceId !== I.videoDevice) && (Z = !0), B && W || Z) {
63344
+ if ((O.kind === "audioinput" && I.audioInputDevice && O.deviceId !== I.audioInputDevice || O.kind === "audiooutput" && I.audioOutputDevice && O.deviceId !== I.audioOutputDevice || O.kind === "videoinput" && I.videoDevice && O.deviceId !== I.videoDevice) && (Z = !0), U && W || Z) {
63345
63345
  setTimeout(async () => {
63346
63346
  if (I.audioInputDevice && O.kind === "audioinput")
63347
63347
  try {
63348
- await Le.changeAudioDevice(
63348
+ await Ue.changeAudioDevice(
63349
63349
  I.audioInputDevice
63350
63350
  ), w.audioInputDevice = I.audioInputDevice;
63351
63351
  } catch (ae) {
@@ -63353,7 +63353,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63353
63353
  }
63354
63354
  if (I.audioOutputDevice && O.kind === "audiooutput")
63355
63355
  try {
63356
- await Le.changeOutputDevice(
63356
+ await Ue.changeOutputDevice(
63357
63357
  I.audioOutputDevice
63358
63358
  ), w.audioOutputDevice = I.audioOutputDevice;
63359
63359
  } catch (ae) {
@@ -63361,7 +63361,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63361
63361
  }
63362
63362
  if (I.videoDevice && O.kind === "videoinput")
63363
63363
  try {
63364
- await Le.changeVideoDevice(I.videoDevice), w.videoDevice = I.videoDevice;
63364
+ await Ue.changeVideoDevice(I.videoDevice), w.videoDevice = I.videoDevice;
63365
63365
  } catch (ae) {
63366
63366
  console.error("摄像头设备恢复失败:", ae);
63367
63367
  }
@@ -63369,31 +63369,31 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63369
63369
  return;
63370
63370
  }
63371
63371
  if (O.kind == "audioinput") {
63372
- if (I.audioInputDevice && B && O.deviceId !== I.audioInputDevice)
63372
+ if (I.audioInputDevice && U && O.deviceId !== I.audioInputDevice)
63373
63373
  return;
63374
63374
  w.audioInputDevice !== O.deviceId ? (w.audioInputDevice = O.deviceId, mt.message("success", "设备切换成功"), await Rr()) : console.log("麦克风设备未变更,跳过更新");
63375
63375
  } else if (O.kind == "videoinput") {
63376
- if (I.videoDevice && B && O.deviceId !== I.videoDevice)
63376
+ if (I.videoDevice && U && O.deviceId !== I.videoDevice)
63377
63377
  return;
63378
63378
  w.videoDevice !== O.deviceId ? (w.videoDevice = O.deviceId, mt.message("success", "设备切换成功"), await Rr()) : console.log("摄像头设备未变更,跳过更新");
63379
63379
  } else {
63380
- if (I.audioOutputDevice && B && O.deviceId !== I.audioOutputDevice)
63380
+ if (I.audioOutputDevice && U && O.deviceId !== I.audioOutputDevice)
63381
63381
  return;
63382
63382
  w.audioOutputDevice !== O.deviceId ? (w.audioOutputDevice = O.deviceId, mt.message("success", "设备切换成功"), await Rr()) : console.log("扬声器设备未变更,跳过更新");
63383
63383
  }
63384
- }), Le.on("sendTextFailed", (O) => {
63384
+ }), Ue.on("sendTextFailed", (O) => {
63385
63385
  Cn("sendTextFailed"), mt.message("error", "e");
63386
- }), Le.on("sendTextSuccess", async (O) => {
63386
+ }), Ue.on("sendTextSuccess", async (O) => {
63387
63387
  Cn("sendTextSuccess"), await _t(), Wn.value && Wn.value.clearInputContent(), Mt.value && Mt.value.clearInput();
63388
- }), Le.on("messageReceived", (O) => {
63388
+ }), Ue.on("messageReceived", (O) => {
63389
63389
  Cn("sendTextSuccess"), O.timestamp = Mi().format("HH:mm"), Ya(O);
63390
- }), Le.on("videoCallRender", (O) => {
63390
+ }), Ue.on("videoCallRender", (O) => {
63391
63391
  Cn("videoCallRender"), to(O);
63392
- }), Le.on("activeSpeakerChange", (O) => {
63392
+ }), Ue.on("activeSpeakerChange", (O) => {
63393
63393
  if (Cn("activeSpeakerChange"), O.length > 0) {
63394
- let B = 0, W = -1;
63394
+ let U = 0, W = -1;
63395
63395
  if (O.forEach((Z, ae) => {
63396
- Z.audioLevel > B && (B = Z.audioLevel, W = ae);
63396
+ Z.audioLevel > U && (U = Z.audioLevel, W = ae);
63397
63397
  }), W >= 0) {
63398
63398
  const Z = O[W];
63399
63399
  Xu(Z);
@@ -63411,25 +63411,25 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63411
63411
  }
63412
63412
  }
63413
63413
  }
63414
- }), Le.on("makeCallSuccess", () => {
63415
- Cn("makeCallSuccess"), mt.message("success", "外呼邀请发送成功"), Ue.value = !1;
63416
- }), Le._eventsInitialized = !0);
63414
+ }), Ue.on("makeCallSuccess", () => {
63415
+ Cn("makeCallSuccess"), mt.message("success", "外呼邀请发送成功"), Be.value = !1;
63416
+ }), Ue._eventsInitialized = !0);
63417
63417
  }, Ju = () => {
63418
- if (!(Le && Le._eventsInitialized)) {
63419
- if (Le && !Le._eventsInitialized)
63418
+ if (!(Ue && Ue._eventsInitialized)) {
63419
+ if (Ue && !Ue._eventsInitialized)
63420
63420
  try {
63421
- Le.removeAllListeners();
63421
+ Ue.removeAllListeners();
63422
63422
  } catch (O) {
63423
63423
  console.warn("清理异常liveClient失败:", O);
63424
63424
  }
63425
- Le = window.liveClient, Yu();
63425
+ Ue = window.liveClient, Yu();
63426
63426
  }
63427
63427
  }, Qu = async () => {
63428
- Le && await Le.createRoom();
63428
+ Ue && await Ue.createRoom();
63429
63429
  }, lf = async () => {
63430
- await Le.startRecord();
63430
+ await Ue.startRecord();
63431
63431
  }, Zu = async () => {
63432
- await Le.stopRecord();
63432
+ await Ue.stopRecord();
63433
63433
  }, uf = () => {
63434
63434
  At.emit("getaddressBookUserForMeeting", {
63435
63435
  isInner: !0,
@@ -63450,18 +63450,18 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63450
63450
  fromUser: n.userData.username
63451
63451
  });
63452
63452
  else
63453
- for (let B = 0; B < O.length; B++) {
63453
+ for (let U = 0; U < O.length; U++) {
63454
63454
  if (n.defaultInviteWay === "mini")
63455
63455
  try {
63456
63456
  const W = await ho(
63457
- O[B].userName,
63458
- O[B].mobile
63457
+ O[U].userName,
63458
+ O[U].mobile
63459
63459
  ), Z = await $f(
63460
63460
  [
63461
63461
  {
63462
63462
  roomName: o.value,
63463
- userName: O[B].userName,
63464
- phone: O[B].mobile,
63463
+ userName: O[U].userName,
63464
+ phone: O[U].mobile,
63465
63465
  message: W.messageTemplate
63466
63466
  }
63467
63467
  ],
@@ -63474,19 +63474,19 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63474
63474
  console.error("发送语音播报失败", W);
63475
63475
  }
63476
63476
  else
63477
- ir(O[B].mobile);
63478
- B > 0 && (B + 1) % 10 === 0 && await El(500);
63477
+ ir(O[U].mobile);
63478
+ U > 0 && (U + 1) % 10 === 0 && await El(500);
63479
63479
  }
63480
- O.forEach((B) => {
63481
- Ka(B);
63480
+ O.forEach((U) => {
63481
+ Ka(U);
63482
63482
  });
63483
63483
  }, ec = async () => {
63484
63484
  var O;
63485
63485
  try {
63486
- const B = await Z0(l.value, {
63486
+ const U = await Z0(l.value, {
63487
63487
  baseUrl: n.baseUrl,
63488
63488
  token: n.token
63489
- }), W = (O = B == null ? void 0 : B.data) == null ? void 0 : O.msg;
63489
+ }), W = (O = U == null ? void 0 : U.data) == null ? void 0 : O.msg;
63490
63490
  W && Vf(
63491
63491
  {
63492
63492
  dnis: W,
@@ -63501,17 +63501,17 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63501
63501
  token: n.token
63502
63502
  }
63503
63503
  );
63504
- } catch (B) {
63505
- console.error("getScheduleConfCode error", B);
63504
+ } catch (U) {
63505
+ console.error("getScheduleConfCode error", U);
63506
63506
  }
63507
63507
  }, cf = async (O) => {
63508
63508
  var Ae;
63509
63509
  c.value = O;
63510
- let B = [], W = -1;
63510
+ let U = [], W = -1;
63511
63511
  c.value.forEach((pe) => {
63512
- nr.value > 0 ? (W = d.value.findIndex((ut) => ut.mobile === pe.mobile), W < 0 && B.push(pe)) : B.push(pe);
63512
+ nr.value > 0 ? (W = d.value.findIndex((ut) => ut.mobile === pe.mobile), W < 0 && U.push(pe)) : U.push(pe);
63513
63513
  });
63514
- const Z = B.filter((pe) => (pe == null ? void 0 : pe.classify) === "人员"), ae = B.filter((pe) => pe && pe.uri), me = B.filter(
63514
+ const Z = U.filter((pe) => (pe == null ? void 0 : pe.classify) === "人员"), ae = U.filter((pe) => pe && pe.uri), me = U.filter(
63515
63515
  (pe) => (pe == null ? void 0 : pe.classify) !== "人员" && !(pe != null && pe.uri)
63516
63516
  );
63517
63517
  if (Z.length > 0 && Ds(Z), Nr(me), ae.length > 0 && await Za(ae), hi.value > 0) {
@@ -63563,17 +63563,17 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63563
63563
  }
63564
63564
  }, df = (O) => {
63565
63565
  Ds([O]);
63566
- }, io = async (O, B) => {
63567
- if (!B) {
63566
+ }, io = async (O, U) => {
63567
+ if (!U) {
63568
63568
  mt("error", "设备id不存在");
63569
63569
  return;
63570
63570
  }
63571
63571
  if (O == "audioinput")
63572
- await Le.changeAudioDevice(B);
63572
+ await Ue.changeAudioDevice(U);
63573
63573
  else if (O == "audiooutput")
63574
- await Le.changeOutputDevice(B);
63574
+ await Ue.changeOutputDevice(U);
63575
63575
  else if (O == "videoinput")
63576
- await Le.changeVideoDevice(B);
63576
+ await Ue.changeVideoDevice(U);
63577
63577
  else
63578
63578
  return;
63579
63579
  }, tc = async (O) => {
@@ -63587,13 +63587,13 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63587
63587
  }, pf = (O) => {
63588
63588
  J.value = O, _e.value = !1, Ke.value === h.value && pa("switchMode", {
63589
63589
  roomMode: O
63590
- }).then((B) => {
63591
- B.success ? console.log("模式切换同步发送成功") : console.error("模式切换同步发送失败:", B.error);
63592
- }).catch((B) => {
63593
- console.error("模式切换同步发送异常:", B);
63590
+ }).then((U) => {
63591
+ U.success ? console.log("模式切换同步发送成功") : console.error("模式切换同步发送失败:", U.error);
63592
+ }).catch((U) => {
63593
+ console.error("模式切换同步发送异常:", U);
63594
63594
  });
63595
63595
  }, mf = async () => {
63596
- await Le.changeCameraStatus();
63596
+ await Ue.changeCameraStatus();
63597
63597
  try {
63598
63598
  const O = {
63599
63599
  owner: "administrators",
@@ -63613,7 +63613,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63613
63613
  console.error("调用muteParticipant接口失败:", O);
63614
63614
  }
63615
63615
  }, gf = async () => {
63616
- await Le.changeMicrophoneStatus(), await new Promise((O) => setTimeout(O, 100));
63616
+ await Ue.changeMicrophoneStatus(), await new Promise((O) => setTimeout(O, 100));
63617
63617
  try {
63618
63618
  const O = {
63619
63619
  owner: "administrators",
@@ -63624,7 +63624,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63624
63624
  // 音频是1
63625
63625
  cmd: !ne.value
63626
63626
  // 静音是true 取消静音是false
63627
- }, B = await To(O, {
63627
+ }, U = await To(O, {
63628
63628
  baseUrl: n.meetingUrl,
63629
63629
  token: n.token
63630
63630
  });
@@ -63637,30 +63637,18 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63637
63637
  mt.message("error", "您的浏览器不支持屏幕共享功能,请使用Chrome、Firefox、Edge等现代浏览器");
63638
63638
  return;
63639
63639
  }
63640
- if (Le && Le.room && Le.room.localParticipant) {
63641
- const O = Le.room.localParticipant, B = O.isScreenShareEnabled;
63642
- await O.setScreenShareEnabled(!B, {
63643
- audio: !0,
63644
- selfBrowserSurface: "include",
63645
- // 允许共享当前浏览器窗口
63646
- surfaceSwitching: "include",
63647
- // 允许切换共享源
63648
- preferCurrentTab: !0
63649
- // 优先共享当前标签页
63650
- }), Le.emit("localScreenShareChange", O.isScreenShareEnabled);
63651
- } else
63652
- await Le.changeScreenShareStatus();
63640
+ await Ue.changeScreenShareStatus();
63653
63641
  } catch (O) {
63654
- console.error("屏幕共享失败:", O), O.name === "NotAllowedError" ? mt.message("error", "屏幕共享权限被拒绝,请在浏览器设置中允许屏幕共享") : O.name === "NotFoundError" ? mt.message("error", "未找到可共享的屏幕,请检查您的显示器设置") : O.name === "NotSupportedError" ? mt.message("error", "您的浏览器不支持屏幕共享功能") : O.message && O.message.includes("getDisplayMedia not supported") ? mt.message("error", "您的浏览器不支持屏幕共享API,请升级浏览器或使用其他浏览器") : mt.message("error", `屏幕共享失败: ${O.message || "未知错误"}`);
63642
+ console.error("屏幕共享失败:", O), O.name === "NotAllowedError" ? mt.message("warning", "屏幕共享权限被拒绝,请在浏览器设置中允许屏幕共享") : O.name === "NotFoundError" ? mt.message("error", "未找到可共享的屏幕,请检查您的显示器设置") : O.name === "NotSupportedError" ? mt.message("error", "您的浏览器不支持屏幕共享功能") : O.message && O.message.includes("getDisplayMedia not supported") ? mt.message("error", "您的浏览器不支持屏幕共享API,请升级浏览器或使用其他浏览器") : mt.message("error", `屏幕共享失败: ${O.message || "未知错误"}`);
63655
63643
  }
63656
63644
  }, rc = (O) => {
63657
- Le.sendMessage(O, f.value);
63645
+ Ue.sendMessage(O, f.value);
63658
63646
  }, Cl = () => {
63659
63647
  v.value = [], Te.value = n.tempCameraStatus, ne.value = n.tempMicroStatus, n.tempActiveDevice && (n.tempActiveDevice.audioInputDevice && (w.audioInputDevice = n.tempActiveDevice.audioInputDevice, I.audioInputDevice = n.tempActiveDevice.audioInputDevice), n.tempActiveDevice.audioOutputDevice && (w.audioOutputDevice = n.tempActiveDevice.audioOutputDevice, I.audioOutputDevice = n.tempActiveDevice.audioOutputDevice), n.tempActiveDevice.videoDevice && (w.videoDevice = n.tempActiveDevice.videoDevice, I.videoDevice = n.tempActiveDevice.videoDevice));
63660
63648
  }, xl = async (O) => {
63661
- if (Le) {
63662
- const B = !O.isMute, W = O.isMute;
63663
- Le.changeParticipantCameraStatus(O.identity, W);
63649
+ if (Ue) {
63650
+ const U = !O.isMute, W = O.isMute;
63651
+ Ue.changeParticipantCameraStatus(O.identity, W);
63664
63652
  try {
63665
63653
  const Z = {
63666
63654
  owner: "administrators",
@@ -63679,15 +63667,15 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63679
63667
  const ae = v.value.findIndex(
63680
63668
  (me) => me.identity === O.identity
63681
63669
  );
63682
- ae !== -1 && (v.value[ae].isCameraEnabled = B);
63670
+ ae !== -1 && (v.value[ae].isCameraEnabled = U);
63683
63671
  } catch (Z) {
63684
63672
  console.error("调用muteParticipant接口失败:", Z);
63685
63673
  }
63686
63674
  }
63687
63675
  }, ro = async (O) => {
63688
- if (Le) {
63689
- const B = !O.isMute, W = O.isMute;
63690
- Le.changeParticipantMicrophoneStatus(O.identity, W);
63676
+ if (Ue) {
63677
+ const U = !O.isMute, W = O.isMute;
63678
+ Ue.changeParticipantMicrophoneStatus(O.identity, W);
63691
63679
  try {
63692
63680
  const Z = {
63693
63681
  owner: "administrators",
@@ -63706,7 +63694,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63706
63694
  const ae = v.value.findIndex(
63707
63695
  (me) => me.identity === O.identity
63708
63696
  );
63709
- ae !== -1 && (v.value[ae].isMicrophoneEnabled = B);
63697
+ ae !== -1 && (v.value[ae].isMicrophoneEnabled = U);
63710
63698
  } catch (Z) {
63711
63699
  console.error("调用muteParticipant接口失败:", Z);
63712
63700
  }
@@ -63739,9 +63727,9 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63739
63727
  isMute: !1
63740
63728
  });
63741
63729
  });
63742
- }, sc = async (O, B = !1) => {
63730
+ }, sc = async (O, U = !1) => {
63743
63731
  if (J.value === "pointTurn") {
63744
- if (Ke.value && Ke.value === O && !B) {
63732
+ if (Ke.value && Ke.value === O && !U) {
63745
63733
  mt.message("info", "当前与会者已被设置为主持人,暂无法设为焦点");
63746
63734
  return;
63747
63735
  }
@@ -63818,29 +63806,29 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63818
63806
  );
63819
63807
  if (Ke.value === h.value && pa("setFocus", {
63820
63808
  focusedParticipant: null
63821
- }).then((B) => {
63822
- B.success ? console.log("取消聚焦同步发送成功") : console.error("取消聚焦同步发送失败:", B.error);
63823
- }).catch((B) => {
63824
- console.error("取消聚焦同步发送异常:", B);
63809
+ }).then((U) => {
63810
+ U.success ? console.log("取消聚焦同步发送成功") : console.error("取消聚焦同步发送失败:", U.error);
63811
+ }).catch((U) => {
63812
+ console.error("取消聚焦同步发送异常:", U);
63825
63813
  }), J.value === "pointTurn") {
63826
63814
  if (O) {
63827
- const B = document.querySelector("#room .point-turn-top"), W = document.querySelector(
63815
+ const U = document.querySelector("#room .point-turn-top"), W = document.querySelector(
63828
63816
  "#room .point-turn-center"
63829
63817
  ), Z = document.querySelector(
63830
63818
  "#room .point-turn-bottom"
63831
63819
  ), ae = document.querySelector("#room .point-turn-other");
63832
- B.children.length >= 5 ? Z.children.length >= 5 ? ae.appendChild(O) : Z.appendChild(O) : B.appendChild(O);
63820
+ U.children.length >= 5 ? Z.children.length >= 5 ? ae.appendChild(O) : Z.appendChild(O) : U.appendChild(O);
63833
63821
  const me = document.createElement("div");
63834
63822
  me.className = "participant", me.innerHTML = ma, W.appendChild(me);
63835
63823
  }
63836
63824
  } else if (N.value === "rightSide") {
63837
- const B = document.querySelector(
63825
+ const U = document.querySelector(
63838
63826
  "#room .layout-rightside"
63839
63827
  ), W = document.querySelector("#room .layout-leftside");
63840
63828
  if (O) {
63841
63829
  let Z = null;
63842
63830
  for (; Z = W.firstChild; )
63843
- Z && B && B.appendChild(Z);
63831
+ Z && U && U.appendChild(Z);
63844
63832
  }
63845
63833
  if (Ke.value) {
63846
63834
  const Z = document.getElementById(
@@ -63854,53 +63842,53 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63854
63842
  }
63855
63843
  Ne.value = null;
63856
63844
  }, ao = (O) => {
63857
- Le && Le.changeParticipantMicrophoneStatus(O, !0);
63845
+ Ue && Ue.changeParticipantMicrophoneStatus(O, !0);
63858
63846
  }, aa = (O) => {
63859
- Le && Le.changeParticipantCameraStatus(O, !0);
63847
+ Ue && Ue.changeParticipantCameraStatus(O, !0);
63860
63848
  }, oa = (O) => {
63861
- var B;
63862
- Xn(O) || Le.setParticipantToHost(O, (B = ws(O)) == null ? void 0 : B.name);
63849
+ var U;
63850
+ Xn(O) || Ue.setParticipantToHost(O, (U = ws(O)) == null ? void 0 : U.name);
63863
63851
  }, oo = async (O) => {
63864
- Le && await Le.setParticipantDeafness(O);
63852
+ Ue && await Ue.setParticipantDeafness(O);
63865
63853
  }, zi = async (O) => {
63866
- Le && await Le.cancelParticipantDeafness(O);
63854
+ Ue && await Ue.cancelParticipantDeafness(O);
63867
63855
  }, pr = (O) => {
63868
63856
  At.emit("updateName", {
63869
63857
  identity: O
63870
63858
  });
63871
63859
  }, lo = async (O) => {
63872
- Le && await Le.updateParticipantName(O.identity, O.name);
63860
+ Ue && await Ue.updateParticipantName(O.identity, O.name);
63873
63861
  }, oc = async (O) => {
63874
- if (Le) {
63875
- await Le.moveoutParticipant(O);
63862
+ if (Ue) {
63863
+ await Ue.moveoutParticipant(O);
63876
63864
  try {
63877
- const B = ws(O);
63878
- if (B && (B.uri || B.metadata && /"equipmentCode"|"equipmentType"/i.test(B.metadata)) && l.value) {
63879
- const Z = B.uri ? { uri: B.uri } : {};
63865
+ const U = ws(O);
63866
+ if (U && (U.uri || U.metadata && /"equipmentCode"|"equipmentType"/i.test(U.metadata)) && l.value) {
63867
+ const Z = U.uri ? { uri: U.uri } : {};
63880
63868
  await WD(l.value, Z, {
63881
63869
  baseUrl: n.baseUrl,
63882
63870
  token: n.token
63883
63871
  });
63884
63872
  }
63885
- } catch (B) {
63886
- console.error("disconnectSites error", B);
63873
+ } catch (U) {
63874
+ console.error("disconnectSites error", U);
63887
63875
  }
63888
63876
  }
63889
63877
  }, _f = async () => {
63890
63878
  document.fullscreenElement || document.msFullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement ? document.exitFullscreen ? document.exitFullscreen() : document.mozCancelFullScreen ? document.mozCancelFullScreen() : document.webkitCancelFullScreen ? document.webkitCancelFullScreen() : document.msExitFullscreen && document.msExitFullscreen() : (await _t(), s.value.requestFullscreen && s.value.requestFullscreen());
63891
- }, lc = (O = 3, B) => {
63879
+ }, lc = (O = 3, U) => {
63892
63880
  yt.value = O, ot.value = !0, In && clearInterval(In), In = setInterval(() => {
63893
63881
  yt.value > 0 && yt.value--;
63894
63882
  }, 1e3);
63895
63883
  }, Tf = () => {
63896
63884
  In && clearInterval(In), ot.value = !0;
63897
- }, mr = (O, B) => {
63885
+ }, mr = (O, U) => {
63898
63886
  if (!O) return !1;
63899
63887
  const W = O.className;
63900
- return W ? typeof W == "string" ? W.split(/\s+/).includes(B) : typeof W.contains == "function" ? W.contains(B) : typeof W.baseVal == "string" ? W.baseVal.split(/\s+/).includes(B) : !1 : !1;
63888
+ return W ? typeof W == "string" ? W.split(/\s+/).includes(U) : typeof W.contains == "function" ? W.contains(U) : typeof W.baseVal == "string" ? W.baseVal.split(/\s+/).includes(U) : !1 : !1;
63901
63889
  }, wl = (O) => {
63902
- const B = O && O.target;
63903
- mr(B, "meeting-name") || (q.value = !1), mr(B, "exit-btn") || mr(B, "close-meeting-icon") || (Ut.value = !1), mr(B, "member-item") || mr(B, "appoint-dialog") || mr(B, "member-list") || mr(B, "control-list-item") || (Gt.value = !1), mr(B, "icon-btn-option") || mr(B, "more-icon") || (ce.value = !1);
63890
+ const U = O && O.target;
63891
+ mr(U, "meeting-name") || (q.value = !1), mr(U, "exit-btn") || mr(U, "close-meeting-icon") || (Ut.value = !1), mr(U, "member-item") || mr(U, "appoint-dialog") || mr(U, "member-list") || mr(U, "control-list-item") || (Gt.value = !1), mr(U, "icon-btn-option") || mr(U, "more-icon") || (ce.value = !1);
63904
63892
  }, uc = (O) => {
63905
63893
  qe.value || O.preventDefault();
63906
63894
  }, uo = () => {
@@ -63908,18 +63896,18 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63908
63896
  }, la = () => {
63909
63897
  window.removeEventListener("click", wl), document.removeEventListener("fullscreenchange", dc);
63910
63898
  }, co = (O) => {
63911
- Ue.value ? Ue.value = !1 : (Ue.value = !0, pt.value = {
63899
+ Be.value ? Be.value = !1 : (Be.value = !0, pt.value = {
63912
63900
  bottom: O.target.offsetTop + 50 + "px",
63913
63901
  left: O.target.clientLeft - 122 + "px"
63914
63902
  });
63915
63903
  };
63916
63904
  function ir(O) {
63917
- const B = Le || window.liveClient;
63918
- if (!B || typeof B.makeCall != "function") {
63905
+ const U = Ue || window.liveClient;
63906
+ if (!U || typeof U.makeCall != "function") {
63919
63907
  console.error("liveClient 未就绪,无法发起外呼"), mt.message("error", "外呼服务未就绪,请稍后再试");
63920
63908
  return;
63921
63909
  }
63922
- B.makeCall(O, "0" + O);
63910
+ U.makeCall(O, "0" + O);
63923
63911
  let W = [
63924
63912
  {
63925
63913
  roomName: l.value,
@@ -63950,13 +63938,13 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63950
63938
  });
63951
63939
  else
63952
63940
  try {
63953
- const B = await ho(O, O), W = await $f(
63941
+ const U = await ho(O, O), W = await $f(
63954
63942
  [
63955
63943
  {
63956
63944
  roomName: o.value,
63957
63945
  userName: O,
63958
63946
  phone: O,
63959
- message: B.messageTemplate
63947
+ message: U.messageTemplate
63960
63948
  }
63961
63949
  ],
63962
63950
  {
@@ -63964,17 +63952,17 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63964
63952
  token: n.token
63965
63953
  }
63966
63954
  );
63967
- mt.message("success", "成功发送短信链接与语音播报"), Ue.value = !1;
63968
- } catch (B) {
63969
- console.error("发送语音播报失败", B);
63955
+ mt.message("success", "成功发送短信链接与语音播报"), Be.value = !1;
63956
+ } catch (U) {
63957
+ console.error("发送语音播报失败", U);
63970
63958
  }
63971
63959
  };
63972
- function ho(O, B) {
63960
+ function ho(O, U) {
63973
63961
  return new Promise((W, Z) => {
63974
63962
  zD(
63975
63963
  {
63976
63964
  path: n.miniPagePath,
63977
- query: `roomNum=${l.value}&tenantId=${n.org}&userName=${O}&mobile=${B}&joinType=join&cameraStatus=true&microphoneStatus=true}`
63965
+ query: `roomNum=${l.value}&tenantId=${n.org}&userName=${O}&mobile=${U}&joinType=join&cameraStatus=true&microphoneStatus=true}`
63978
63966
  },
63979
63967
  {
63980
63968
  baseUrl: n.baseUrl,
@@ -63995,16 +63983,16 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
63995
63983
  });
63996
63984
  }
63997
63985
  function El(O) {
63998
- return new Promise((B) => setTimeout(B, O));
63986
+ return new Promise((U) => setTimeout(U, O));
63999
63987
  }
64000
63988
  function cc(O) {
64001
63989
  var Z;
64002
- let B = [], W = -1;
63990
+ let U = [], W = -1;
64003
63991
  if (O && O.length > 0) {
64004
63992
  O.forEach((Ae) => {
64005
- nr.value > 0 ? (W = d.value.findIndex((pe) => pe.mobile === Ae.mobile), W < 0 && B.push(Ae)) : B.push(Ae), yl(Ae);
63993
+ nr.value > 0 ? (W = d.value.findIndex((pe) => pe.mobile === Ae.mobile), W < 0 && U.push(Ae)) : U.push(Ae), yl(Ae);
64006
63994
  });
64007
- const ae = B.filter((Ae) => (Ae == null ? void 0 : Ae.classify) === "人员"), me = B.filter((Ae) => (Ae == null ? void 0 : Ae.classify) !== "人员");
63995
+ const ae = U.filter((Ae) => (Ae == null ? void 0 : Ae.classify) === "人员"), me = U.filter((Ae) => (Ae == null ? void 0 : Ae.classify) !== "人员");
64008
63996
  if (ae.length > 0 && Ds(ae), Nr(me), hi.value > 0) {
64009
63997
  const Ae = c.value.map((pe) => (pe == null ? void 0 : pe.classify) === "人员" ? {
64010
63998
  roomName: l.value,
@@ -64059,16 +64047,16 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64059
64047
  }
64060
64048
  ), St(
64061
64049
  () => Lt.value,
64062
- (O, B) => {
64063
- O !== B && zl();
64050
+ (O, U) => {
64051
+ O !== U && zl();
64064
64052
  }
64065
64053
  ), St(
64066
64054
  () => N.value,
64067
- async (O, B) => {
64055
+ async (O, U) => {
64068
64056
  if (await _t(), J.value == "normal") {
64069
64057
  let W = document.getElementById("room");
64070
64058
  if (W) {
64071
- if (B === "grid" && O === "rightSide") {
64059
+ if (U === "grid" && O === "rightSide") {
64072
64060
  let Z = document.querySelector(
64073
64061
  "#room .layout-rightside"
64074
64062
  ), ae = document.querySelector(
@@ -64134,7 +64122,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64134
64122
  W.firstChild ?? null
64135
64123
  ), W.appendChild(Z);
64136
64124
  }
64137
- if (B === "rightSide" && O === "grid") {
64125
+ if (U === "rightSide" && O === "grid") {
64138
64126
  let Z = document.querySelector(
64139
64127
  "#room .layout-rightside"
64140
64128
  ), ae = document.querySelector(
@@ -64165,8 +64153,8 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64165
64153
  }
64166
64154
  ), St(
64167
64155
  () => J.value,
64168
- async (O, B) => {
64169
- console.log("currentRoomMode watch 被触发:", { oldMode: B, newMode: O }), await _t();
64156
+ async (O, U) => {
64157
+ console.log("currentRoomMode watch 被触发:", { oldMode: U, newMode: O }), await _t();
64170
64158
  let W = document.getElementById("room");
64171
64159
  if (O === "pointTurn") {
64172
64160
  let Z = document.createElement("div");
@@ -64304,13 +64292,13 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64304
64292
  }, 300);
64305
64293
  let O = null;
64306
64294
  try {
64307
- const B = localStorage.getItem("hx_device_setter_settings");
64308
- if (B) {
64309
- const W = JSON.parse(B);
64295
+ const U = localStorage.getItem("hx_device_setter_settings");
64296
+ if (U) {
64297
+ const W = JSON.parse(U);
64310
64298
  W && typeof W.pollingIntervalMs == "number" && W.pollingIntervalMs > 0 && (O = W.pollingIntervalMs);
64311
64299
  }
64312
- } catch (B) {
64313
- console.warn("读取本地轮询设置失败", B);
64300
+ } catch (U) {
64301
+ console.warn("读取本地轮询设置失败", U);
64314
64302
  }
64315
64303
  t9({
64316
64304
  getParticipants: () => v.value,
@@ -64321,14 +64309,14 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64321
64309
  getHostIdentity: () => Ke.value
64322
64310
  }), ys.init(
64323
64311
  {
64324
- setCurrentLayout: (B) => {
64325
- N.value = B;
64312
+ setCurrentLayout: (U) => {
64313
+ N.value = U;
64326
64314
  },
64327
- setCurrentRoomMode: (B) => {
64328
- console.log("setCurrentRoomMode 被调用:", B), console.log("当前模式值:", J.value), J.value = B, console.log("设置后模式值:", J.value);
64315
+ setCurrentRoomMode: (U) => {
64316
+ console.log("setCurrentRoomMode 被调用:", U), console.log("当前模式值:", J.value), J.value = U, console.log("设置后模式值:", J.value);
64329
64317
  },
64330
- setFocusedParticipant: (B) => {
64331
- Ne.value = B;
64318
+ setFocusedParticipant: (U) => {
64319
+ Ne.value = U;
64332
64320
  },
64333
64321
  get currentLayout() {
64334
64322
  return N.value;
@@ -64350,9 +64338,9 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64350
64338
  ac
64351
64339
  );
64352
64340
  try {
64353
- const B = localStorage.getItem("hx_device_setter_settings");
64354
- if (B) {
64355
- const W = JSON.parse(B);
64341
+ const U = localStorage.getItem("hx_device_setter_settings");
64342
+ if (U) {
64343
+ const W = JSON.parse(U);
64356
64344
  if (W && typeof W.isAutoPolling == "boolean")
64357
64345
  try {
64358
64346
  Mc(W.isAutoPolling);
@@ -64360,33 +64348,33 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64360
64348
  console.warn("同步本地轮询开关到 manager 失败", Z);
64361
64349
  }
64362
64350
  }
64363
- } catch (B) {
64364
- console.warn("读取本地轮询设置失败", B);
64351
+ } catch (U) {
64352
+ console.warn("读取本地轮询设置失败", U);
64365
64353
  }
64366
- if (window.liveClient || await new Promise((B) => {
64354
+ if (window.liveClient || await new Promise((U) => {
64367
64355
  const W = () => {
64368
- window.removeEventListener("liveClientReady", W), B();
64356
+ window.removeEventListener("liveClientReady", W), U();
64369
64357
  };
64370
64358
  window.addEventListener("liveClientReady", W, { once: !0 }), setTimeout(() => {
64371
- window.removeEventListener("liveClientReady", W), B();
64359
+ window.removeEventListener("liveClientReady", W), U();
64372
64360
  }, 3e3);
64373
64361
  }), n.joinType === "launch")
64374
- Ju(), Le.roomName = n.tempMeetingName, await Qu();
64362
+ Ju(), Ue.roomName = n.tempMeetingName, await Qu();
64375
64363
  else {
64376
64364
  Ju(), l.value = n.tempMeetingNum, ys.meetingStore && (ys.meetingStore.meetingNum = n.tempMeetingNum), await Es();
64377
64365
  try {
64378
64366
  await K2(), X2();
64379
- } catch (B) {
64380
- console.error("加入会议后,布局同步初始化失败:", B);
64367
+ } catch (U) {
64368
+ console.error("加入会议后,布局同步初始化失败:", U);
64381
64369
  }
64382
64370
  }
64383
- lc(5), uo(), At.on("getmeetingMembers", Cf), At.on("startVideoCall", Sf), At.on("updateVisibleParticipants", (B) => {
64384
- B && Array.isArray(B.participants) && N.value === "rightSide" && Hi(B.participants);
64385
- }), At.on("pointTurnPolling", (B) => {
64386
- if (!B || !Array.isArray(B.participants) || J.value !== "pointTurn") return;
64371
+ lc(5), uo(), At.on("getmeetingMembers", Cf), At.on("startVideoCall", Sf), At.on("updateVisibleParticipants", (U) => {
64372
+ U && Array.isArray(U.participants) && N.value === "rightSide" && Hi(U.participants);
64373
+ }), At.on("pointTurnPolling", (U) => {
64374
+ if (!U || !Array.isArray(U.participants) || J.value !== "pointTurn") return;
64387
64375
  const W = document.querySelector("#room .point-turn-top"), Z = document.querySelector("#room .point-turn-bottom"), ae = document.querySelector("#room .point-turn-center");
64388
64376
  if (!W || !Z || !ae) return;
64389
- const me = B.participants.filter((Ze) => !!(Ze && Ze.identity)), Ae = 5, pe = 5, ut = me.slice(0, Ae), Ce = me.slice(Ae, Ae + pe);
64377
+ const me = U.participants.filter((Ze) => !!(Ze && Ze.identity)), Ae = 5, pe = 5, ut = me.slice(0, Ae), Ce = me.slice(Ae, Ae + pe);
64390
64378
  ut.forEach((Ze) => {
64391
64379
  const gt = document.getElementById(`participant-${Ze.identity}`);
64392
64380
  gt && gt !== ae.firstChild && gt !== ae.lastChild && W.appendChild(gt);
@@ -64396,7 +64384,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64396
64384
  });
64397
64385
  }), zl();
64398
64386
  }), Pr(() => {
64399
- nf(), la(), Le = null, n9(), Qq(), z();
64387
+ nf(), la(), Ue = null, n9(), Qq(), z();
64400
64388
  }), e({
64401
64389
  appendInvite: cc
64402
64390
  });
@@ -64405,7 +64393,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64405
64393
  }, Cf = () => {
64406
64394
  console.log("Getting meeting members...");
64407
64395
  };
64408
- return (O, B) => (ee(), he("div", {
64396
+ return (O, U) => (ee(), he("div", {
64409
64397
  class: "meeting-room",
64410
64398
  ref_key: "rootElm",
64411
64399
  ref: s
@@ -64415,7 +64403,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64415
64403
  tz,
64416
64404
  P("div", {
64417
64405
  class: "meeting-name",
64418
- onClick: B[0] || (B[0] = Bi((W) => q.value = !q.value, ["stop"]))
64406
+ onClick: U[0] || (U[0] = Bi((W) => q.value = !q.value, ["stop"]))
64419
64407
  }, [
64420
64408
  P("span", nz, Ye(o.value), 1),
64421
64409
  iz,
@@ -64424,21 +64412,21 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64424
64412
  meetingName: o.value,
64425
64413
  meetingNum: l.value,
64426
64414
  meetingH5Link: R.value,
64427
- meetingWXLink: U.value,
64415
+ meetingWXLink: B.value,
64428
64416
  meetingCreator: u.value
64429
64417
  }, null, 8, ["meetingName", "meetingNum", "meetingH5Link", "meetingWXLink", "meetingCreator"])) : We("", !0)
64430
64418
  ]),
64431
64419
  P("div", {
64432
64420
  class: "meeting-signal",
64433
- onMouseenterCapture: B[3] || (B[3] = (W) => V.value = !0),
64434
- onMouseleave: B[4] || (B[4] = (W) => V.value = !1)
64421
+ onMouseenterCapture: U[3] || (U[3] = (W) => V.value = !0),
64422
+ onMouseleave: U[4] || (U[4] = (W) => V.value = !1)
64435
64423
  }, [
64436
64424
  V.value ? (ee(), ft(DV, {
64437
64425
  key: 0,
64438
64426
  meetingQuality: b.value,
64439
64427
  meetingTTL: _.value,
64440
- onMouseenter: B[1] || (B[1] = (W) => V.value = !0),
64441
- onMouseleave: B[2] || (B[2] = (W) => V.value = !1)
64428
+ onMouseenter: U[1] || (U[1] = (W) => V.value = !0),
64429
+ onMouseleave: U[2] || (U[2] = (W) => V.value = !1)
64442
64430
  }, null, 8, ["meetingQuality", "meetingTTL"])) : We("", !0)
64443
64431
  ], 32)
64444
64432
  ]),
@@ -64449,8 +64437,8 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64449
64437
  P("div", az, [
64450
64438
  P("div", {
64451
64439
  class: et(["btn", G.value ? "layout-active" : "layout"]),
64452
- onMouseenterCapture: B[7] || (B[7] = (W) => G.value = !0),
64453
- onMouseleave: B[8] || (B[8] = (W) => G.value = !1)
64440
+ onMouseenterCapture: U[7] || (U[7] = (W) => G.value = !0),
64441
+ onMouseleave: U[8] || (U[8] = (W) => G.value = !1)
64454
64442
  }, [
64455
64443
  G.value ? (ee(), ft(NV, {
64456
64444
  key: 0,
@@ -64459,17 +64447,17 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64459
64447
  layoutLabels: X.value,
64460
64448
  currentRoomMode: J.value,
64461
64449
  onSetLayout: Wa,
64462
- onMouseenter: B[5] || (B[5] = (W) => G.value = !0),
64463
- onMouseleave: B[6] || (B[6] = (W) => G.value = !1)
64450
+ onMouseenter: U[5] || (U[5] = (W) => G.value = !0),
64451
+ onMouseleave: U[6] || (U[6] = (W) => G.value = !1)
64464
64452
  }, null, 8, ["currentLayout", "layoutList", "layoutLabels", "currentRoomMode"])) : We("", !0)
64465
64453
  ], 34),
64466
64454
  P("div", {
64467
64455
  class: "btn full-screen",
64468
- onClick: B[9] || (B[9] = (W) => _f())
64456
+ onClick: U[9] || (U[9] = (W) => _f())
64469
64457
  }),
64470
64458
  P("div", {
64471
64459
  class: "btn close-meeting-icon",
64472
- onClick: B[10] || (B[10] = (W) => Re.value ? Tl(W) : Oi())
64460
+ onClick: U[10] || (U[10] = (W) => Re.value ? Tl(W) : Oi())
64473
64461
  })
64474
64462
  ])
64475
64463
  ]),
@@ -64483,7 +64471,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64483
64471
  P("div", {
64484
64472
  class: et(["meeting", Ii.value]),
64485
64473
  id: "room",
64486
- onMousemove: B[11] || (B[11] = (W) => lc(5))
64474
+ onMousemove: U[11] || (U[11] = (W) => lc(5))
64487
64475
  }, null, 34),
64488
64476
  ye($q, {
64489
64477
  "message-list": k.value,
@@ -64509,7 +64497,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64509
64497
  }, null, 2),
64510
64498
  P("div", {
64511
64499
  class: "custom-select-right",
64512
- onClick: B[12] || (B[12] = (W) => ue.value = !ue.value)
64500
+ onClick: U[12] || (U[12] = (W) => ue.value = !ue.value)
64513
64501
  }, dz),
64514
64502
  ue.value ? (ee(), ft(mu, {
64515
64503
  key: 0,
@@ -64531,7 +64519,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64531
64519
  }, null, 2),
64532
64520
  P("div", {
64533
64521
  class: "custom-select-right",
64534
- onClick: B[13] || (B[13] = (W) => we.value = !we.value)
64522
+ onClick: U[13] || (U[13] = (W) => we.value = !we.value)
64535
64523
  }, pz),
64536
64524
  we.value ? (ee(), ft(mu, {
64537
64525
  key: 0,
@@ -64548,7 +64536,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64548
64536
  yz,
64549
64537
  P("div", {
64550
64538
  class: "custom-select-right",
64551
- onClick: B[14] || (B[14] = (W) => _e.value = !_e.value)
64539
+ onClick: U[14] || (U[14] = (W) => _e.value = !_e.value)
64552
64540
  }, _z),
64553
64541
  _e.value ? (ee(), ft(mu, {
64554
64542
  key: 0,
@@ -64568,7 +64556,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64568
64556
  }, Sz)),
64569
64557
  P("div", {
64570
64558
  class: "t-btn",
64571
- onClick: B[15] || (B[15] = (W) => H.value = !H.value)
64559
+ onClick: U[15] || (U[15] = (W) => H.value = !H.value)
64572
64560
  }, Az),
64573
64561
  He.value ? (ee(), he("div", {
64574
64562
  key: 4,
@@ -64581,7 +64569,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64581
64569
  }, Oz)),
64582
64570
  P("div", {
64583
64571
  class: "t-btn",
64584
- onClick: B[16] || (B[16] = (W) => L.value = !L.value)
64572
+ onClick: U[16] || (U[16] = (W) => L.value = !L.value)
64585
64573
  }, Uz),
64586
64574
  i.meetingVideo ? (ee(), he("div", {
64587
64575
  key: 5,
@@ -64595,13 +64583,13 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64595
64583
  u.value === h.value ? (ee(), he("div", {
64596
64584
  key: 6,
64597
64585
  class: "t-btn t-btn-qtm",
64598
- onClick: B[18] || (B[18] = Bi((W) => co(W), ["self"]))
64586
+ onClick: U[18] || (U[18] = Bi((W) => co(W), ["self"]))
64599
64587
  }, [
64600
- Ue.value ? (ee(), ft(Mq, {
64588
+ Be.value ? (ee(), ft(Mq, {
64601
64589
  key: 0,
64602
64590
  position: pt.value,
64603
64591
  defaultCallingMethod: i.defaultCallingMethod,
64604
- onCloseCallBoard: B[17] || (B[17] = (W) => Ue.value = !1),
64592
+ onCloseCallBoard: U[17] || (U[17] = (W) => Be.value = !1),
64605
64593
  onPhoneCall: ir,
64606
64594
  onMiniCall: kf
64607
64595
  }, null, 8, ["position", "defaultCallingMethod"])) : We("", !0)
@@ -64623,7 +64611,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64623
64611
  ]),
64624
64612
  P("div", {
64625
64613
  class: "exit-btn",
64626
- onClick: B[19] || (B[19] = (W) => Re.value ? rf(W) : Oi())
64614
+ onClick: U[19] || (U[19] = (W) => Re.value ? rf(W) : Oi())
64627
64615
  }, " 结束会议 ")
64628
64616
  ], 34),
64629
64617
  Gt.value ? (ee(), ft(yq, {
@@ -64631,7 +64619,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64631
64619
  participants: v.value,
64632
64620
  meetingHost: p.value,
64633
64621
  onAppointHost: sf,
64634
- onCloseDialog: B[20] || (B[20] = (W) => Gt.value = !1)
64622
+ onCloseDialog: U[20] || (U[20] = (W) => Gt.value = !1)
64635
64623
  }, null, 8, ["participants", "meetingHost"])) : We("", !0)
64636
64624
  ], 2),
64637
64625
  P("div", qz, [
@@ -64647,7 +64635,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64647
64635
  meetingNum: l.value,
64648
64636
  meetingName: o.value,
64649
64637
  meetingHost: p.value,
64650
- onClose: B[21] || (B[21] = (W) => {
64638
+ onClose: U[21] || (U[21] = (W) => {
64651
64639
  L.value = !1, ce.value = !1;
64652
64640
  }),
64653
64641
  onCloseMoreDialog: sa,
@@ -64670,7 +64658,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64670
64658
  messageList: k.value,
64671
64659
  fileUploadUrl: i.fileUploadUrl,
64672
64660
  imgUrl: i.imgUrl,
64673
- onClose: B[22] || (B[22] = (W) => H.value = !1),
64661
+ onClose: U[22] || (U[22] = (W) => H.value = !1),
64674
64662
  onMessageSend: rc
64675
64663
  }, null, 8, ["localIdentity", "messageList", "fileUploadUrl", "imgUrl"])) : We("", !0)
64676
64664
  ])
@@ -64680,7 +64668,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64680
64668
  position: en.value,
64681
64669
  onCancelMeeting: Ja,
64682
64670
  onLeaveMeeting: qi,
64683
- onOptionClose: B[23] || (B[23] = (W) => Ut.value = !1)
64671
+ onOptionClose: U[23] || (U[23] = (W) => Ut.value = !1)
64684
64672
  }, null, 8, ["position"])) : We("", !0),
64685
64673
  ce.value ? (ee(), ft(Tq, {
64686
64674
  key: 1,
@@ -64691,7 +64679,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64691
64679
  meetingHost: p.value,
64692
64680
  participants: v.value,
64693
64681
  currentDisplayIdentity: kn.value,
64694
- onClose: B[24] || (B[24] = (W) => ce.value = !1),
64682
+ onClose: U[24] || (U[24] = (W) => ce.value = !1),
64695
64683
  onSetToBlur: sc,
64696
64684
  onRemoveFromBlur: ac,
64697
64685
  onCloseMicro: ao,
@@ -64714,7 +64702,7 @@ const ys = new Jq(), pa = async (i, e = {}) => ys.sendLayoutSync(i, e), K2 = asy
64714
64702
  ye(Wq, { onUpdateNameConfirm: lo })
64715
64703
  ], 512));
64716
64704
  }
64717
- }, Ou = /* @__PURE__ */ an(zz, [["__scopeId", "data-v-613b5c1e"]]), lg = {
64705
+ }, Ou = /* @__PURE__ */ an(zz, [["__scopeId", "data-v-9ddc6fe6"]]), lg = {
64718
64706
  __name: "LiveMulti",
64719
64707
  props: {
64720
64708
  isEnterDialogShow: {
@@ -65226,7 +65214,7 @@ const Gz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
65226
65214
  }
65227
65215
  }
65228
65216
  const _ = () => {
65229
- R(), N.value = "", J.value = [], f.value = [], S.value = "", U.value = "edit", h.value = !1, r("dialogClose");
65217
+ R(), N.value = "", J.value = [], f.value = [], S.value = "", B.value = "edit", h.value = !1, r("dialogClose");
65230
65218
  }, E = async () => {
65231
65219
  if (y.value)
65232
65220
  try {
@@ -65287,7 +65275,7 @@ const Gz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
65287
65275
  );
65288
65276
  if (le.ok) {
65289
65277
  const de = await le.json();
65290
- de.data && (typeof de.data == "string" && de.data || typeof de.data == "object" && Object.keys(de.data).length > 0) ? (N.value = de.data, o.message("success", de.msg)) : o.message("warning", de.msg), U.value = "success";
65278
+ de.data && (typeof de.data == "string" && de.data || typeof de.data == "object" && Object.keys(de.data).length > 0) ? (N.value = de.data, o.message("success", de.msg)) : o.message("warning", de.msg), B.value = "success";
65291
65279
  } else
65292
65280
  o.message("error", "查询合成任务状态失败");
65293
65281
  } catch {
@@ -65323,7 +65311,7 @@ const Gz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
65323
65311
  $e.code == 200 ? (S.value = $e.data, g.value = p.value, o.message("success", $e.msg || "合成任务已提交"), await D()) : o.message("error", $e.msg || "音频合成失败");
65324
65312
  } else
65325
65313
  o.message("error", "音频合成失败");
65326
- U.value = "success";
65314
+ B.value = "success";
65327
65315
  } catch (de) {
65328
65316
  console.error("视频合成失败:", de), o.message("error", "音频合成接口异常");
65329
65317
  } finally {
@@ -65341,7 +65329,7 @@ const Gz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
65341
65329
  function R() {
65342
65330
  c.title = "", p.value = "", c.callNum = 1, c.speechRate = "1", c.deadlineTime = "";
65343
65331
  }
65344
- const U = Q("edit"), N = Q(""), J = Q([]);
65332
+ const B = Q("edit"), N = Q(""), J = Q([]);
65345
65333
  function se() {
65346
65334
  At.emit("getaddressBookUserForVoiceBroadcast");
65347
65335
  }
@@ -65430,7 +65418,7 @@ const Gz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
65430
65418
  );
65431
65419
  if (le.ok) {
65432
65420
  const de = await le.json(), { code: $e, msg: Ie } = de;
65433
- $e == 200 ? (o.message("success", Ie), r("taskCreated", { code: $e, msg: Ie }), R(), N.value = "", J.value = [], f.value = [], S.value = "", U.value = "edit", _()) : o.message("error", Ie || "下发失败");
65421
+ $e == 200 ? (o.message("success", Ie), r("taskCreated", { code: $e, msg: Ie }), R(), N.value = "", J.value = [], f.value = [], S.value = "", B.value = "edit", _()) : o.message("error", Ie || "下发失败");
65434
65422
  } else
65435
65423
  o.message("error", "下发失败");
65436
65424
  } catch {
@@ -65558,7 +65546,7 @@ const Gz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
65558
65546
  default: Me(() => [
65559
65547
  Fi((ee(), he("div", Yz, [
65560
65548
  P("div", Jz, [
65561
- U.value === "edit" ? (ee(), he(wt, { key: 0 }, [
65549
+ B.value === "edit" ? (ee(), he(wt, { key: 0 }, [
65562
65550
  ye(Xe, {
65563
65551
  ref_key: "mainFormRef",
65564
65552
  ref: l,
@@ -65670,7 +65658,7 @@ const Gz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
65670
65658
  onClick: w
65671
65659
  }, "开始合成")
65672
65660
  ])
65673
- ], 64)) : U.value === "success" ? (ee(), he(wt, { key: 1 }, [
65661
+ ], 64)) : B.value === "success" ? (ee(), he(wt, { key: 1 }, [
65674
65662
  ye(Xe, {
65675
65663
  ref_key: "mainFormRef",
65676
65664
  ref: l,
@@ -65796,7 +65784,7 @@ const Gz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
65796
65784
  P("div", EG, [
65797
65785
  P("div", {
65798
65786
  class: "btn btn-back",
65799
- onClick: de[7] || (de[7] = (qe) => U.value = "edit")
65787
+ onClick: de[7] || (de[7] = (qe) => B.value = "edit")
65800
65788
  }, " 返回上一步 "),
65801
65789
  P("div", {
65802
65790
  class: "btn btn-cancel",