aliyun-rtc-sdk 7.0.0 → 7.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,21 @@
1
1
  var yn = Object.defineProperty, Rn = Object.defineProperties;
2
2
  var An = Object.getOwnPropertyDescriptors;
3
- var li = Object.getOwnPropertySymbols, _n = Object.getPrototypeOf, Lr = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable, En = Reflect.get;
3
+ var li = Object.getOwnPropertySymbols, _n = Object.getPrototypeOf, Dr = Object.prototype.hasOwnProperty, Nr = Object.prototype.propertyIsEnumerable, En = Reflect.get;
4
4
  var Pi = (r, a, e) => a in r ? yn(r, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[a] = e, J = (r, a) => {
5
5
  for (var e in a || (a = {}))
6
- Lr.call(a, e) && Pi(r, e, a[e]);
6
+ Dr.call(a, e) && Pi(r, e, a[e]);
7
7
  if (li)
8
8
  for (var e of li(a))
9
- Dr.call(a, e) && Pi(r, e, a[e]);
9
+ Nr.call(a, e) && Pi(r, e, a[e]);
10
10
  return r;
11
11
  }, dt = (r, a) => Rn(r, An(a));
12
12
  var Mt = (r, a) => {
13
13
  var e = {};
14
14
  for (var t in r)
15
- Lr.call(r, t) && a.indexOf(t) < 0 && (e[t] = r[t]);
15
+ Dr.call(r, t) && a.indexOf(t) < 0 && (e[t] = r[t]);
16
16
  if (r != null && li)
17
17
  for (var t of li(r))
18
- a.indexOf(t) < 0 && Dr.call(r, t) && (e[t] = r[t]);
18
+ a.indexOf(t) < 0 && Nr.call(r, t) && (e[t] = r[t]);
19
19
  return e;
20
20
  };
21
21
  var g = (r, a, e) => (Pi(r, typeof a != "symbol" ? a + "" : a, e), e);
@@ -36,15 +36,15 @@ var T = (r, a, e) => new Promise((t, i) => {
36
36
  }, o = (c) => c.done ? t(c.value) : Promise.resolve(c.value).then(s, n);
37
37
  o((e = e.apply(r, a)).next());
38
38
  });
39
- import { AliRTS as oe, EConnectStatus as Nr, EDatachannelStatus as Vr } from "aliyun-rts-sdk";
39
+ import { AliRTS as oe, EConnectStatus as Vr, EDatachannelStatus as Or } from "aliyun-rts-sdk";
40
40
  import Ce from "eventemitter3";
41
- var Or, xr, In = Object.defineProperty, Lt = (r, a, e) => (((t, i, s) => {
41
+ var xr, Ur, In = Object.defineProperty, Lt = (r, a, e) => (((t, i, s) => {
42
42
  i in t ? In(t, i, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[i] = s;
43
43
  })(r, typeof a != "symbol" ? a + "" : a, e), e), Li = { exports: {} }, Di = { exports: {} };
44
44
  function He() {
45
- if (xr)
46
- return Or;
47
- xr = 1, Date.now = Date.now || function() {
45
+ if (Ur)
46
+ return xr;
47
+ Ur = 1, Date.now = Date.now || function() {
48
48
  return (/* @__PURE__ */ new Date()).getTime();
49
49
  };
50
50
  var r = Date.now(), a = function() {
@@ -381,19 +381,19 @@ function He() {
381
381
  }
382
382
  return n;
383
383
  } };
384
- return Or = e;
384
+ return xr = e;
385
385
  }
386
- var Ur, Br, Hr, Fr, Ni = { exports: {} }, Vi = { exports: {} };
386
+ var Br, Hr, Fr, jr, Ni = { exports: {} }, Vi = { exports: {} };
387
387
  function Tn() {
388
- if (Hr)
388
+ if (Fr)
389
389
  return Vi.exports;
390
- Hr = 1;
390
+ Fr = 1;
391
391
  var r = He(), a = function() {
392
- if (Br)
393
- return Ur;
394
- Br = 1;
392
+ if (Hr)
393
+ return Br;
394
+ Hr = 1;
395
395
  var s = He();
396
- return Ur = function(n, o, c) {
396
+ return Br = function(n, o, c) {
397
397
  typeof n == "object" && (n = s.serialize(n));
398
398
  var h = o + n + (c ? "&post_res=" : "");
399
399
  window && window.navigator && typeof window.navigator.sendBeacon == "function" ? window.navigator.sendBeacon(h, c || "&post_res=") : s.warn("[arms] navigator.sendBeacon not surported");
@@ -538,11 +538,11 @@ function Tn() {
538
538
  }), o ? this._lg("custom", c, n || 1) : this;
539
539
  } }, Vi.exports = i, Vi.exports;
540
540
  }
541
- var jr, Oi = { exports: {} }, zr, xi, Kr, Ui = { exports: {} };
541
+ var zr, Oi = { exports: {} }, Kr, xi, Wr, Ui = { exports: {} };
542
542
  function wn() {
543
- if (Kr)
543
+ if (Wr)
544
544
  return xi;
545
- Kr = 1;
545
+ Wr = 1;
546
546
  var r = He();
547
547
  return xi = function(a, e) {
548
548
  var t = [], i = null, s = e && e.location && e.location.href, n = void 0, o = null, c = function(u, f, l) {
@@ -680,18 +680,18 @@ function wn() {
680
680
  } });
681
681
  }, xi;
682
682
  }
683
- var Wr, $r, Jr, Bi, Gr, qr, Xr, Hi, Yr, Qr, Zr, es, ts, Fi, is, rs, ss, as = {};
684
- function Zi() {
685
- return Wr || (Wr = 1, as.TIMING_KEYS = ["startTime", "fetchStart", "domainLookupStart", "domainLookupEnd", "connectStart", "connectEnd", "requestStart", "responseStart", "responseEnd", "", "domInteractive", "", "domContentLoadedEventEnd", "", "loadEventStart", "", "msFirstPaint", "secureConnectionStart", "redirectStart", "redirectEnd"]), as;
683
+ var $r, Jr, Gr, Bi, qr, Xr, Yr, Hi, Qr, Zr, es, ts, is, Fi, rs, ss, as, ns = {};
684
+ function er() {
685
+ return $r || ($r = 1, ns.TIMING_KEYS = ["startTime", "fetchStart", "domainLookupStart", "domainLookupEnd", "connectStart", "connectEnd", "requestStart", "responseStart", "responseEnd", "", "domInteractive", "", "domContentLoadedEventEnd", "", "loadEventStart", "", "msFirstPaint", "secureConnectionStart", "redirectStart", "redirectEnd"]), ns;
686
686
  }
687
687
  function Cn() {
688
- return Xr || (Xr = 1, qr = function(r, a, e) {
688
+ return Yr || (Yr = 1, Xr = function(r, a, e) {
689
689
  var t = He(), i = function() {
690
- if (Jr)
691
- return $r;
692
- Jr = 1;
693
- var m = He(), p = Zi().TIMING_KEYS;
694
- return $r = function() {
690
+ if (Gr)
691
+ return Jr;
692
+ Gr = 1;
693
+ var m = He(), p = er().TIMING_KEYS;
694
+ return Jr = function() {
695
695
  var S = m.win || {}, R = S.performance;
696
696
  if (!R || typeof R != "object" || typeof R.getEntriesByType != "function")
697
697
  return null;
@@ -709,10 +709,10 @@ function Cn() {
709
709
  }), _.res = JSON.stringify(v), _;
710
710
  };
711
711
  }(), s = function() {
712
- if (Gr)
712
+ if (qr)
713
713
  return Bi;
714
- Gr = 1;
715
- var m = He(), p = Zi().TIMING_KEYS;
714
+ qr = 1;
715
+ var m = He(), p = er().TIMING_KEYS;
716
716
  return Bi = function() {
717
717
  var S = m.win || {}, R = S.performance;
718
718
  if (!R || typeof R != "object")
@@ -861,12 +861,12 @@ function Cn() {
861
861
  }, !1, !0).on(a, "unhandledrejection", function(m) {
862
862
  n && n.errorHandler(m);
863
863
  }), r;
864
- }), qr;
864
+ }), Xr;
865
865
  }
866
866
  function kn() {
867
- if (Yr)
867
+ if (Qr)
868
868
  return Hi;
869
- Yr = 1;
869
+ Qr = 1;
870
870
  var r = He();
871
871
  return Hi = function(a, e, t) {
872
872
  function i(d, u, f) {
@@ -930,13 +930,13 @@ function kn() {
930
930
  }, Hi;
931
931
  }
932
932
  function Pn() {
933
- if (rs)
933
+ if (ss)
934
934
  return Di.exports;
935
- rs = 1;
935
+ ss = 1;
936
936
  var r = He(), a = function() {
937
- if (Fr)
937
+ if (jr)
938
938
  return Ni.exports;
939
- Fr = 1;
939
+ jr = 1;
940
940
  var c = He(), h = Tn(), d = ["api", "success", "time", "code", "msg", "trace", "traceId", "begin", "pv_id", "sid", "seq", "domain", "flag", "apiSnapshot", "tag", "c1", "c2", "c3"], u = function(l) {
941
941
  var b = (l.key || "default").split("::");
942
942
  return b.length > 1 ? c.ext(l, { group: b[0], key: b[1] }) : c.ext(l, { group: "default_group", key: b[0] });
@@ -1049,9 +1049,9 @@ function Pn() {
1049
1049
  }
1050
1050
  } }), f._super = h, f._root = h, h.Reporter = f, Ni.exports = f, Ni.exports;
1051
1051
  }(), e = function() {
1052
- if (jr)
1052
+ if (zr)
1053
1053
  return Oi.exports;
1054
- jr = 1;
1054
+ zr = 1;
1055
1055
  var c = He(), h = typeof window == "object" ? window : {}, d = h.__oFetch_ || h.fetch;
1056
1056
  return d = typeof d == "function" ? d : void 0, Oi.exports = function(u, f) {
1057
1057
  var l = -1;
@@ -1067,9 +1067,9 @@ function Pn() {
1067
1067
  }
1068
1068
  }, Oi.exports;
1069
1069
  }(), t = function() {
1070
- if (zr)
1070
+ if (Kr)
1071
1071
  return Ui.exports;
1072
- zr = 1;
1072
+ Kr = 1;
1073
1073
  var c = He(), h = typeof window == "object" ? window : {}, d = h.__oXMLHttpRequest_ || h.XMLHttpRequest;
1074
1074
  return d = typeof d == "function" ? d : void 0, Ui.exports = function(u, f) {
1075
1075
  try {
@@ -1157,7 +1157,7 @@ function Pn() {
1157
1157
  c = r.ext({ pid: this._conf.pid }, c);
1158
1158
  var h = this.__proto__.constructor(c);
1159
1159
  return c.page && h.sendPV(), h;
1160
- } }), wn()(o, i), Cn()(o, i, s), kn()(o, i, s), (Zr || (Zr = 1, Qr = function(c, h) {
1160
+ } }), wn()(o, i), Cn()(o, i, s), kn()(o, i, s), (es || (es = 1, Zr = function(c, h) {
1161
1161
  var d = He(), u = null, f = d.getCurDomain(), l = function(R, _, y, v, E, A, I, C, V, P, K, G, q) {
1162
1162
  var W = d.J(E) || null, j = d.safetyCall(_, [W, v], null);
1163
1163
  if (!j)
@@ -1350,7 +1350,7 @@ function Pn() {
1350
1350
  }, initHook: function() {
1351
1351
  return this.hasInitHook || (this.getConfig("disableHook") || this.addHook(), this.hasInitHook = !0), this;
1352
1352
  } }), c;
1353
- }), Qr)(o, i), (ts || (ts = 1, es = function(c, h) {
1353
+ }), Zr)(o, i), (is || (is = 1, ts = function(c, h) {
1354
1354
  var d = He(), u = h.history || {}, f = h.document, l = function(m, p) {
1355
1355
  var S;
1356
1356
  h.CustomEvent ? S = new CustomEvent(m, { detail: p }) : ((S = f.createEvent("HTMLEvents")).initEvent(m, !1, !0), S.detail = p), h.dispatchEvent(S);
@@ -1372,11 +1372,11 @@ function Pn() {
1372
1372
  d.ext(c.prototype, { hackHistoryState: function() {
1373
1373
  return this.hasHackedHistoryState || (b("pushState"), b("replaceState"), this.hasHackedHistoryState = !0), this;
1374
1374
  } });
1375
- }), es)(o, i), function() {
1376
- if (is)
1375
+ }), ts)(o, i), function() {
1376
+ if (rs)
1377
1377
  return Fi;
1378
- is = 1;
1379
- var c = He(), h = Zi().TIMING_KEYS;
1378
+ rs = 1;
1379
+ var c = He(), h = er().TIMING_KEYS;
1380
1380
  return Fi = function(d, u) {
1381
1381
  function f(m, p, S) {
1382
1382
  if (m instanceof u.PerformanceResourceTiming && m.initiatorType) {
@@ -1463,7 +1463,7 @@ function Pn() {
1463
1463
  }
1464
1464
  var Mn = { getArmsLogger: function() {
1465
1465
  return function() {
1466
- if (ss)
1466
+ if (as)
1467
1467
  return Li.exports;
1468
1468
  function r(s, n) {
1469
1469
  var o = a[t] = new e(s);
@@ -1471,7 +1471,7 @@ var Mn = { getArmsLogger: function() {
1471
1471
  var c = o._conf;
1472
1472
  return c.autoSendPv !== !1 && o.sendPV(), c && c.useFmp || o.sendPerformance(), c && c.sendResource && o.sendResources(), a[i] = !0, o;
1473
1473
  }
1474
- ss = 1;
1474
+ as = 1;
1475
1475
  var a = window, e = a.BrowserLogger = Pn(), t = He().key, i = "__hasInitBlSdk";
1476
1476
  return e.singleton = function(s, n) {
1477
1477
  return a[i] ? a[t] : r(s, n);
@@ -1487,8 +1487,8 @@ var Mn = { getArmsLogger: function() {
1487
1487
  }()), Li.exports = e, Li.exports;
1488
1488
  }();
1489
1489
  } };
1490
- const ns = "https://arms-retcode.aliyuncs.com/r.png?", os = "https://arms-retcode-sg.aliyuncs.com/r.png?", cs = "https://retcode-us-west-1.arms.aliyuncs.com/r.png?", hs = "e1iftji1w7@7ec1cef2cc88733", ds = "e1iftji1w7@10a06d1ec260adc", ls = "e1iftji1w7@10a06d1ec260adc", ji = { cn: { reportUrl: ns, pid: hs }, "cn-hangzhou": { reportUrl: ns, pid: hs }, sg: { reportUrl: os, pid: ds }, "ap-southeast-1": { reportUrl: os, pid: ds }, usw: { reportUrl: cs, pid: ls }, "us-west-1": { reportUrl: cs, pid: ls } }, Ln = (r) => !!Object.isExtensible(r) && ((a) => Object.prototype.toString.call(a).slice(8, -1))(r) === "Object";
1491
- function us(r, a) {
1490
+ const os = "https://arms-retcode.aliyuncs.com/r.png?", cs = "https://arms-retcode-sg.aliyuncs.com/r.png?", hs = "https://retcode-us-west-1.arms.aliyuncs.com/r.png?", ds = "e1iftji1w7@7ec1cef2cc88733", ls = "e1iftji1w7@10a06d1ec260adc", us = "e1iftji1w7@10a06d1ec260adc", ji = { cn: { reportUrl: os, pid: ds }, "cn-hangzhou": { reportUrl: os, pid: ds }, sg: { reportUrl: cs, pid: ls }, "ap-southeast-1": { reportUrl: cs, pid: ls }, usw: { reportUrl: hs, pid: us }, "us-west-1": { reportUrl: hs, pid: us } }, Ln = (r) => !!Object.isExtensible(r) && ((a) => Object.prototype.toString.call(a).slice(8, -1))(r) === "Object";
1491
+ function ps(r, a) {
1492
1492
  if (typeof r != "string")
1493
1493
  return !1;
1494
1494
  const e = r.indexOf(a);
@@ -1545,19 +1545,19 @@ function lt(r, a, e) {
1545
1545
  return Object.defineProperty(t, "__v_skip", { configurable: !0, enumerable: !1, writable: !1, value: !0 }), new Proxy(t, { get: c.MediaboxWrapperObjectGetter, set: c.MediaboxWrapperObjectSetter });
1546
1546
  }(r, a + 1, e) : r;
1547
1547
  }
1548
- function ps(r) {
1548
+ function gs(r) {
1549
1549
  return typeof r == "string" && (r.indexOf("g.alicdn.com/apsara-media-") > -1 || r.indexOf("g.alicdn.com/thor-server") > -1 || r.indexOf("MediaboxWrapper") > -1);
1550
1550
  }
1551
- class gs extends Error {
1551
+ class ms extends Error {
1552
1552
  constructor(a) {
1553
1553
  super(a), this.name = "MQTError";
1554
1554
  }
1555
1555
  }
1556
1556
  let Dn = 1;
1557
- class ur {
1557
+ class pr {
1558
1558
  constructor(a) {
1559
1559
  var e, t;
1560
- Lt(this, "armsLogger"), Lt(this, "isReady", !1), Lt(this, "isDestroyed", !1), Lt(this, "options"), Lt(this, "queue", []), Lt(this, "marker"), Lt(this, "helper", { MediaboxWrapperQueue: (i) => new gs(i), MediaboxWrapperInitiative: (i) => new gs(i) }), this.options = dt(J({}, a), { region: a.deferRegionSet ? void 0 : (e = a.region) != null ? e : "cn", env: (t = a.env) != null ? t : "prod" }), this.marker = `-${Dn++}-`, this.initArmsLogger();
1560
+ Lt(this, "armsLogger"), Lt(this, "isReady", !1), Lt(this, "isDestroyed", !1), Lt(this, "options"), Lt(this, "queue", []), Lt(this, "marker"), Lt(this, "helper", { MediaboxWrapperQueue: (i) => new ms(i), MediaboxWrapperInitiative: (i) => new ms(i) }), this.options = dt(J({}, a), { region: a.deferRegionSet ? void 0 : (e = a.region) != null ? e : "cn", env: (t = a.env) != null ? t : "prod" }), this.marker = `-${Dn++}-`, this.initArmsLogger();
1561
1561
  }
1562
1562
  static get version() {
1563
1563
  return "0.23.0";
@@ -1575,10 +1575,10 @@ class ur {
1575
1575
  const s = Mn.getArmsLogger();
1576
1576
  this.armsLogger = s.createExtraInstance({ enableInstanceAutoSend: !0, pid: ji[e].pid, tag: this.options.businessName, release: `${this.options.businessName}_${this.options.version}`, imgUrl: ji[e].reportUrl, behavior: !0, sample: 1, disableHook: !0, environment: t, beforeReport: (n) => {
1577
1577
  var c;
1578
- if (this.isDestroyed || us(n.stack, this.marker) || n.t !== "pv" && n.t !== "error")
1578
+ if (this.isDestroyed || ps(n.stack, this.marker) || n.t !== "pv" && n.t !== "error")
1579
1579
  return !1;
1580
- if (n.c1 = (c = this.options.cid) != null ? c : window.location.host, n.c2 = ur.version, this.options.customData && (n.c3 = new URLSearchParams(this.options.customData).toString()), n.t === "error") {
1581
- if (typeof (o = n.file) == "string" && (o.indexOf("g.alicdn.com/apsara-media-") > -1 || o.indexOf("g.alicdn.com/thor-server") > -1) || ps(n.stack)) {
1580
+ if (n.c1 = (c = this.options.cid) != null ? c : window.location.host, n.c2 = pr.version, this.options.customData && (n.c3 = new URLSearchParams(this.options.customData).toString()), n.t === "error") {
1581
+ if (typeof (o = n.file) == "string" && (o.indexOf("g.alicdn.com/apsara-media-") > -1 || o.indexOf("g.alicdn.com/thor-server") > -1) || gs(n.stack)) {
1582
1582
  let h = n;
1583
1583
  return this.options.beforeSend && (h = this.options.beforeSend(n)), this.isReady ? h : (h && this.queue.push(h), !1);
1584
1584
  }
@@ -1591,10 +1591,10 @@ class ur {
1591
1591
  wrap(a) {
1592
1592
  return this.options.disabled || typeof Proxy > "u" ? a : lt(a, 0, (e) => {
1593
1593
  var t;
1594
- e instanceof Error && typeof e.stack == "string" && ps(e.stack) && ((t = this.armsLogger) == null || t.error(e), e.stack = function(i, s) {
1594
+ e instanceof Error && typeof e.stack == "string" && gs(e.stack) && ((t = this.armsLogger) == null || t.error(e), e.stack = function(i, s) {
1595
1595
  if (typeof i != "string")
1596
1596
  return s;
1597
- if (us(i, s))
1597
+ if (ps(i, s))
1598
1598
  return i;
1599
1599
  const n = i.indexOf(`
1600
1600
  `);
@@ -1627,10 +1627,10 @@ function Vn() {
1627
1627
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1628
1628
  return zi(Nn);
1629
1629
  }
1630
- const ms = { randomUUID: typeof crypto != "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto) };
1630
+ const fs = { randomUUID: typeof crypto != "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto) };
1631
1631
  function it(r, a, e) {
1632
- if (ms.randomUUID && !a && !r)
1633
- return ms.randomUUID();
1632
+ if (fs.randomUUID && !a && !r)
1633
+ return fs.randomUUID();
1634
1634
  var t = (r = r || {}).random || (r.rng || Vn)();
1635
1635
  if (t[6] = 15 & t[6] | 64, t[8] = 63 & t[8] | 128, a) {
1636
1636
  e = e || 0;
@@ -1642,8 +1642,8 @@ function it(r, a, e) {
1642
1642
  return (Le[s[n + 0]] + Le[s[n + 1]] + Le[s[n + 2]] + Le[s[n + 3]] + "-" + Le[s[n + 4]] + Le[s[n + 5]] + "-" + Le[s[n + 6]] + Le[s[n + 7]] + "-" + Le[s[n + 8]] + Le[s[n + 9]] + "-" + Le[s[n + 10]] + Le[s[n + 11]] + Le[s[n + 12]] + Le[s[n + 13]] + Le[s[n + 14]] + Le[s[n + 15]]).toLowerCase();
1643
1643
  }(t);
1644
1644
  }
1645
- var ge = ((r) => (r.PullStreamStats = "remoteStat", r.RtsSubscribeExceeds = "rtsSubscribeExceeds", r.UserJoined = "userJoined", r.UserLeft = "userLeft", r.Bye = "bye", r.MuteAudio = "muteAudio", r.UnmuteAudio = "unmuteAudio", r.MuteVideo = "muteVideo", r.UnmuteVideo = "unmuteVideo", r.MuteScreen = "muteScreen", r.UnmuteScreen = "unmuteScreen", r.Error = "error", r))(ge || {}), Fe = ((r) => (r.Local = "local-device-status-change", r.Remote = "remote-device-status-change", r))(Fe || {}), k = ((r) => (r.Audio = "sophon_audio", r.VideoLarge = "sophon_video_camera_large", r.VideoSmall = "sophon_video_camera_small", r.Screen = "sophon_video_screen_share", r.Data = "sophon_data", r))(k || {}), er = ((r) => (r.Audio = "rts audio", r.VideoLarge = "rts video", r))(er || {}), vt = ((r) => (r.Add = "add", r.Delete = "delete", r.Replace = "replace", r.Stop = "stop", r.UnPublish = "unpublish", r))(vt || {}), qt = ((r) => (r[r.Camera = 0] = "Camera", r[r.Screen = 1] = "Screen", r[r.Image = 2] = "Image", r))(qt || {}), bi = ((r) => (r[r.Microphone = 0] = "Microphone", r[r.Screen = 1] = "Screen", r[r.Mixed = 2] = "Mixed", r))(bi || {}), ne = ((r) => (r.InRoom = "inRoom", r.Join = "join", r.Publish = "publish", r.User = "user", r.Resume = "resume", r.Retry = "retry", r.Reconnect = "reconnect", r))(ne || {}), ct = ((r) => (r[r.MANUAL = 0] = "MANUAL", r[r.JOIN_CHANNEL = 1] = "JOIN_CHANNEL", r[r.ROLE_CHANGE = 2] = "ROLE_CHANGE", r[r.RECONNECT = 3] = "RECONNECT", r))(ct || {}), vi = ((r) => (r.prod = "rs.rtn.aliyuncs.com", r.pre = "prs.rtn.aliyuncs.com", r))(vi || {});
1646
- const Ii = "7.0.0";
1645
+ var ge = ((r) => (r.PullStreamStats = "remoteStat", r.RtsSubscribeExceeds = "rtsSubscribeExceeds", r.UserJoined = "userJoined", r.UserLeft = "userLeft", r.Bye = "bye", r.MuteAudio = "muteAudio", r.UnmuteAudio = "unmuteAudio", r.MuteVideo = "muteVideo", r.UnmuteVideo = "unmuteVideo", r.MuteScreen = "muteScreen", r.UnmuteScreen = "unmuteScreen", r.Error = "error", r))(ge || {}), Fe = ((r) => (r.Local = "local-device-status-change", r.Remote = "remote-device-status-change", r))(Fe || {}), k = ((r) => (r.Audio = "sophon_audio", r.VideoLarge = "sophon_video_camera_large", r.VideoSmall = "sophon_video_camera_small", r.Screen = "sophon_video_screen_share", r.Data = "sophon_data", r))(k || {}), tr = ((r) => (r.Audio = "rts audio", r.VideoLarge = "rts video", r))(tr || {}), vt = ((r) => (r.Add = "add", r.Delete = "delete", r.Replace = "replace", r.Stop = "stop", r.UnPublish = "unpublish", r))(vt || {}), qt = ((r) => (r[r.Camera = 0] = "Camera", r[r.Screen = 1] = "Screen", r[r.Image = 2] = "Image", r))(qt || {}), bi = ((r) => (r[r.Microphone = 0] = "Microphone", r[r.Screen = 1] = "Screen", r[r.Mixed = 2] = "Mixed", r))(bi || {}), ne = ((r) => (r.InRoom = "inRoom", r.Join = "join", r.Publish = "publish", r.User = "user", r.Resume = "resume", r.Retry = "retry", r.Reconnect = "reconnect", r))(ne || {}), ct = ((r) => (r[r.MANUAL = 0] = "MANUAL", r[r.JOIN_CHANNEL = 1] = "JOIN_CHANNEL", r[r.ROLE_CHANGE = 2] = "ROLE_CHANGE", r[r.RECONNECT = 3] = "RECONNECT", r))(ct || {}), vi = ((r) => (r.prod = "rs.rtn.aliyuncs.com", r.pre = "prs.rtn.aliyuncs.com", r))(vi || {});
1646
+ const Ii = "7.1.0-beta.1";
1647
1647
  class $e {
1648
1648
  static getVersionNumber() {
1649
1649
  let a = Ii.split("."), e = "";
@@ -1711,13 +1711,13 @@ class $e {
1711
1711
  return e;
1712
1712
  }
1713
1713
  }
1714
- function fs(r, a, e) {
1714
+ function Ss(r, a, e) {
1715
1715
  Object.defineProperty(r, a, { writable: !0, enumerable: !0, configurable: !0, value: e });
1716
1716
  }
1717
1717
  function Fa(r, a, e, t) {
1718
1718
  t ? t(() => {
1719
- fs(r, a, e);
1720
- }) : fs(r, a, e);
1719
+ Ss(r, a, e);
1720
+ }) : Ss(r, a, e);
1721
1721
  }
1722
1722
  Array(32);
1723
1723
  class On {
@@ -1779,17 +1779,17 @@ class On {
1779
1779
  return this.opt;
1780
1780
  }
1781
1781
  }
1782
- function Ss(r, a) {
1782
+ function bs(r, a) {
1783
1783
  const e = new window.XMLHttpRequest();
1784
1784
  e.open("POST", `${r}?APIVersion=0.6.0`, !0), e.send(a);
1785
1785
  }
1786
1786
  function xn(r, a) {
1787
1787
  try {
1788
1788
  if (a.length >= 32768)
1789
- return void Ss(r, a);
1789
+ return void bs(r, a);
1790
1790
  (function(e, t) {
1791
1791
  return !(!navigator || !navigator.sendBeacon) && navigator.sendBeacon(`${e}?APIVersion=0.6.0`, t);
1792
- })(r, a) || Ss(r, a);
1792
+ })(r, a) || bs(r, a);
1793
1793
  } catch (e) {
1794
1794
  window && window.console && typeof window.console.error == "function" && (console.error(`Failed to log to ali log service because of this exception:
1795
1795
  ` + e), console.error("Failed log data:", r));
@@ -1826,7 +1826,7 @@ function Un(r, a, e) {
1826
1826
  });
1827
1827
  var t, i, s;
1828
1828
  }
1829
- class pr extends On {
1829
+ class gr extends On {
1830
1830
  constructor(a) {
1831
1831
  super(Object.assign({}, a, { installUnloadHook: (e) => {
1832
1832
  window.addEventListener("beforeunload", () => {
@@ -1842,7 +1842,7 @@ class pr extends On {
1842
1842
  }, this.overwriteTransString(a);
1843
1843
  }
1844
1844
  }
1845
- Fa(window, "SLS_Tracker", pr);
1845
+ Fa(window, "SLS_Tracker", gr);
1846
1846
  var Wi = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1847
1847
  function Bn(r) {
1848
1848
  return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
@@ -1865,11 +1865,11 @@ function Hn(r) {
1865
1865
  } });
1866
1866
  }), e;
1867
1867
  }
1868
- var ja = { exports: {} }, bs = { exports: {} };
1868
+ var ja = { exports: {} }, vs = { exports: {} };
1869
1869
  const Fn = Hn(Object.freeze(Object.defineProperty({ __proto__: null, default: {} }, Symbol.toStringTag, { value: "Module" })));
1870
- var vs;
1870
+ var ys;
1871
1871
  function te() {
1872
- return vs || (vs = 1, bs.exports = function() {
1872
+ return ys || (ys = 1, vs.exports = function() {
1873
1873
  var r = r || function(a, e) {
1874
1874
  var t;
1875
1875
  if (typeof window != "undefined" && window.crypto && (t = window.crypto), typeof self != "undefined" && self.crypto && (t = self.crypto), typeof globalThis != "undefined" && globalThis.crypto && (t = globalThis.crypto), !t && typeof window != "undefined" && window.msCrypto && (t = window.msCrypto), !t && Wi !== void 0 && Wi.crypto && (t = Wi.crypto), !t)
@@ -2003,11 +2003,11 @@ function te() {
2003
2003
  return n;
2004
2004
  }(Math);
2005
2005
  return r;
2006
- }()), bs.exports;
2006
+ }()), vs.exports;
2007
2007
  }
2008
- var ys, Rs = { exports: {} };
2008
+ var Rs, As = { exports: {} };
2009
2009
  function yi() {
2010
- return ys || (ys = 1, Rs.exports = function(r) {
2010
+ return Rs || (Rs = 1, As.exports = function(r) {
2011
2011
  return t = (e = r).lib, i = t.Base, s = t.WordArray, (n = e.x64 = {}).Word = i.extend({ init: function(o, c) {
2012
2012
  this.high = o, this.low = c;
2013
2013
  } }), n.WordArray = i.extend({ init: function(o, c) {
@@ -2024,11 +2024,11 @@ function yi() {
2024
2024
  return o;
2025
2025
  } }), r;
2026
2026
  var a, e, t, i, s, n;
2027
- }(te())), Rs.exports;
2027
+ }(te())), As.exports;
2028
2028
  }
2029
- var As, _s = { exports: {} };
2029
+ var _s, Es = { exports: {} };
2030
2030
  function jn() {
2031
- return As || (As = 1, _s.exports = function(r) {
2031
+ return _s || (_s = 1, Es.exports = function(r) {
2032
2032
  return function() {
2033
2033
  if (typeof ArrayBuffer == "function") {
2034
2034
  var a = r.lib.WordArray, e = a.init, t = a.init = function(i) {
@@ -2042,11 +2042,11 @@ function jn() {
2042
2042
  t.prototype = a;
2043
2043
  }
2044
2044
  }(), r.lib.WordArray;
2045
- }(te())), _s.exports;
2045
+ }(te())), Es.exports;
2046
2046
  }
2047
- var Es, Is = { exports: {} };
2047
+ var Is, Ts = { exports: {} };
2048
2048
  function zn() {
2049
- return Es || (Es = 1, Is.exports = function(r) {
2049
+ return Is || (Is = 1, Ts.exports = function(r) {
2050
2050
  return function() {
2051
2051
  var a = r, e = a.lib.WordArray, t = a.enc;
2052
2052
  function i(s) {
@@ -2074,11 +2074,11 @@ function zn() {
2074
2074
  return e.create(o, 2 * n);
2075
2075
  } };
2076
2076
  }(), r.enc.Utf16;
2077
- }(te())), Is.exports;
2077
+ }(te())), Ts.exports;
2078
2078
  }
2079
- var Ts, ws = { exports: {} };
2079
+ var ws, Cs = { exports: {} };
2080
2080
  function Ot() {
2081
- return Ts || (Ts = 1, ws.exports = function(r) {
2081
+ return ws || (ws = 1, Cs.exports = function(r) {
2082
2082
  return function() {
2083
2083
  var a = r, e = a.lib.WordArray;
2084
2084
  function t(i, s, n) {
@@ -2115,11 +2115,11 @@ function Ot() {
2115
2115
  return t(i, s, o);
2116
2116
  }, _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=" };
2117
2117
  }(), r.enc.Base64;
2118
- }(te())), ws.exports;
2118
+ }(te())), Cs.exports;
2119
2119
  }
2120
- var Cs, ks = { exports: {} };
2120
+ var ks, Ps = { exports: {} };
2121
2121
  function Kn() {
2122
- return Cs || (Cs = 1, ks.exports = function(r) {
2122
+ return ks || (ks = 1, Ps.exports = function(r) {
2123
2123
  return function() {
2124
2124
  var a = r, e = a.lib.WordArray;
2125
2125
  function t(i, s, n) {
@@ -2158,11 +2158,11 @@ function Kn() {
2158
2158
  return t(i, n, c);
2159
2159
  }, _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", _safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_" };
2160
2160
  }(), r.enc.Base64url;
2161
- }(te())), ks.exports;
2161
+ }(te())), Ps.exports;
2162
2162
  }
2163
- var Ps, Ms = { exports: {} };
2163
+ var Ms, Ls = { exports: {} };
2164
2164
  function xt() {
2165
- return Ps || (Ps = 1, Ms.exports = function(r) {
2165
+ return Ms || (Ms = 1, Ls.exports = function(r) {
2166
2166
  return function(a) {
2167
2167
  var e = r, t = e.lib, i = t.WordArray, s = t.Hasher, n = e.algo, o = [];
2168
2168
  (function() {
@@ -2210,11 +2210,11 @@ function xt() {
2210
2210
  }
2211
2211
  e.MD5 = s._createHelper(c), e.HmacMD5 = s._createHmacHelper(c);
2212
2212
  }(Math), r.MD5;
2213
- }(te())), Ms.exports;
2213
+ }(te())), Ls.exports;
2214
2214
  }
2215
- var Ls, Ds = { exports: {} };
2215
+ var Ds, Ns = { exports: {} };
2216
2216
  function za() {
2217
- return Ls || (Ls = 1, Ds.exports = function(r) {
2217
+ return Ds || (Ds = 1, Ns.exports = function(r) {
2218
2218
  return e = (a = r).lib, t = e.WordArray, i = e.Hasher, s = a.algo, n = [], o = s.SHA1 = i.extend({ _doReset: function() {
2219
2219
  this._hash = new t.init([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
2220
2220
  }, _doProcessBlock: function(c, h) {
@@ -2237,11 +2237,11 @@ function za() {
2237
2237
  return c._hash = this._hash.clone(), c;
2238
2238
  } }), a.SHA1 = i._createHelper(o), a.HmacSHA1 = i._createHmacHelper(o), r.SHA1;
2239
2239
  var a, e, t, i, s, n, o;
2240
- }(te())), Ds.exports;
2240
+ }(te())), Ns.exports;
2241
2241
  }
2242
- var Ns, Vs = { exports: {} };
2242
+ var Vs, Os = { exports: {} };
2243
2243
  function $i() {
2244
- return Ns || (Ns = 1, Vs.exports = function(r) {
2244
+ return Vs || (Vs = 1, Os.exports = function(r) {
2245
2245
  return function(a) {
2246
2246
  var e = r, t = e.lib, i = t.WordArray, s = t.Hasher, n = e.algo, o = [], c = [];
2247
2247
  (function() {
@@ -2280,11 +2280,11 @@ function $i() {
2280
2280
  } });
2281
2281
  e.SHA256 = s._createHelper(d), e.HmacSHA256 = s._createHmacHelper(d);
2282
2282
  }(Math), r.SHA256;
2283
- }(te())), Vs.exports;
2283
+ }(te())), Os.exports;
2284
2284
  }
2285
- var Os, Wn = { exports: {} }, xs, Us = { exports: {} };
2286
- function Bs() {
2287
- return xs || (xs = 1, Us.exports = function(r) {
2285
+ var xs, Wn = { exports: {} }, Us, Bs = { exports: {} };
2286
+ function Hs() {
2287
+ return Us || (Us = 1, Bs.exports = function(r) {
2288
2288
  return function() {
2289
2289
  var a = r, e = a.lib.Hasher, t = a.x64, i = t.Word, s = t.WordArray, n = a.algo;
2290
2290
  function o() {
@@ -2303,11 +2303,11 @@ function Bs() {
2303
2303
  if (Ne < 16)
2304
2304
  Xe = st.high = 0 | u[f + 2 * Ne], Oe = st.low = 0 | u[f + 2 * Ne + 1];
2305
2305
  else {
2306
- var wt = h[Ne - 15], ht = wt.high, St = wt.low, Ct = (ht >>> 1 | St << 31) ^ (ht >>> 8 | St << 24) ^ ht >>> 7, kt = (St >>> 1 | ht << 31) ^ (St >>> 8 | ht << 24) ^ (St >>> 7 | ht << 25), zt = h[Ne - 2], xe = zt.high, nt = zt.low, Kt = (xe >>> 19 | nt << 13) ^ (xe << 3 | nt >>> 29) ^ xe >>> 6, Ye = (nt >>> 19 | xe << 13) ^ (nt << 3 | xe >>> 29) ^ (nt >>> 6 | xe << 26), bt = h[Ne - 7], hi = bt.high, di = bt.low, Ir = h[Ne - 16], un = Ir.high, Tr = Ir.low;
2307
- Xe = (Xe = (Xe = Ct + hi + ((Oe = kt + di) >>> 0 < kt >>> 0 ? 1 : 0)) + Kt + ((Oe += Ye) >>> 0 < Ye >>> 0 ? 1 : 0)) + un + ((Oe += Tr) >>> 0 < Tr >>> 0 ? 1 : 0), st.high = Xe, st.low = Oe;
2306
+ var wt = h[Ne - 15], ht = wt.high, St = wt.low, Ct = (ht >>> 1 | St << 31) ^ (ht >>> 8 | St << 24) ^ ht >>> 7, kt = (St >>> 1 | ht << 31) ^ (St >>> 8 | ht << 24) ^ (St >>> 7 | ht << 25), zt = h[Ne - 2], xe = zt.high, nt = zt.low, Kt = (xe >>> 19 | nt << 13) ^ (xe << 3 | nt >>> 29) ^ xe >>> 6, Ye = (nt >>> 19 | xe << 13) ^ (nt << 3 | xe >>> 29) ^ (nt >>> 6 | xe << 26), bt = h[Ne - 7], hi = bt.high, di = bt.low, Tr = h[Ne - 16], un = Tr.high, wr = Tr.low;
2307
+ Xe = (Xe = (Xe = Ct + hi + ((Oe = kt + di) >>> 0 < kt >>> 0 ? 1 : 0)) + Kt + ((Oe += Ye) >>> 0 < Ye >>> 0 ? 1 : 0)) + un + ((Oe += wr) >>> 0 < wr >>> 0 ? 1 : 0), st.high = Xe, st.low = Oe;
2308
2308
  }
2309
- var Pt, pn = he & je ^ ~he & ye, wr = de & ie ^ ~de & Pe, gn = D & ce ^ D & $ ^ ce & $, mn = se & Se ^ se & ue ^ Se & ue, fn = (D >>> 28 | se << 4) ^ (D << 30 | se >>> 2) ^ (D << 25 | se >>> 7), Cr = (se >>> 28 | D << 4) ^ (se << 30 | D >>> 2) ^ (se << 25 | D >>> 7), Sn = (he >>> 14 | de << 18) ^ (he >>> 18 | de << 14) ^ (he << 23 | de >>> 9), bn = (de >>> 14 | he << 18) ^ (de >>> 18 | he << 14) ^ (de << 23 | he >>> 9), kr = c[Ne], vn = kr.high, Pr = kr.low, Qt = ft + Sn + ((Pt = rt + bn) >>> 0 < rt >>> 0 ? 1 : 0), Mr = Cr + mn;
2310
- ft = ye, rt = Pe, ye = je, Pe = ie, je = he, ie = de, he = ke + (Qt = (Qt = (Qt = Qt + pn + ((Pt += wr) >>> 0 < wr >>> 0 ? 1 : 0)) + vn + ((Pt += Pr) >>> 0 < Pr >>> 0 ? 1 : 0)) + Xe + ((Pt += Oe) >>> 0 < Oe >>> 0 ? 1 : 0)) + ((de = be + Pt | 0) >>> 0 < be >>> 0 ? 1 : 0) | 0, ke = $, be = ue, $ = ce, ue = Se, ce = D, Se = se, D = Qt + (fn + gn + (Mr >>> 0 < Cr >>> 0 ? 1 : 0)) + ((se = Pt + Mr | 0) >>> 0 < Pt >>> 0 ? 1 : 0) | 0;
2309
+ var Pt, pn = he & je ^ ~he & ye, Cr = de & ie ^ ~de & Pe, gn = D & ce ^ D & $ ^ ce & $, mn = se & Se ^ se & ue ^ Se & ue, fn = (D >>> 28 | se << 4) ^ (D << 30 | se >>> 2) ^ (D << 25 | se >>> 7), kr = (se >>> 28 | D << 4) ^ (se << 30 | D >>> 2) ^ (se << 25 | D >>> 7), Sn = (he >>> 14 | de << 18) ^ (he >>> 18 | de << 14) ^ (he << 23 | de >>> 9), bn = (de >>> 14 | he << 18) ^ (de >>> 18 | he << 14) ^ (de << 23 | he >>> 9), Pr = c[Ne], vn = Pr.high, Mr = Pr.low, Qt = ft + Sn + ((Pt = rt + bn) >>> 0 < rt >>> 0 ? 1 : 0), Lr = kr + mn;
2310
+ ft = ye, rt = Pe, ye = je, Pe = ie, je = he, ie = de, he = ke + (Qt = (Qt = (Qt = Qt + pn + ((Pt += Cr) >>> 0 < Cr >>> 0 ? 1 : 0)) + vn + ((Pt += Mr) >>> 0 < Mr >>> 0 ? 1 : 0)) + Xe + ((Pt += Oe) >>> 0 < Oe >>> 0 ? 1 : 0)) + ((de = be + Pt | 0) >>> 0 < be >>> 0 ? 1 : 0) | 0, ke = $, be = ue, $ = ce, ue = Se, ce = D, Se = se, D = Qt + (fn + gn + (Lr >>> 0 < kr >>> 0 ? 1 : 0)) + ((se = Pt + Lr | 0) >>> 0 < Pt >>> 0 ? 1 : 0) | 0;
2311
2311
  }
2312
2312
  A = b.low = A + se, b.high = E + D + (A >>> 0 < se >>> 0 ? 1 : 0), C = m.low = C + Se, m.high = I + ce + (C >>> 0 < Se >>> 0 ? 1 : 0), P = p.low = P + ue, p.high = V + $ + (P >>> 0 < ue >>> 0 ? 1 : 0), G = S.low = G + be, S.high = K + ke + (G >>> 0 < be >>> 0 ? 1 : 0), W = R.low = W + de, R.high = q + he + (W >>> 0 < de >>> 0 ? 1 : 0), X = _.low = X + ie, _.high = j + je + (X >>> 0 < ie >>> 0 ? 1 : 0), L = y.low = L + Pe, y.high = Q + ye + (L >>> 0 < Pe >>> 0 ? 1 : 0), M = v.low = M + rt, v.high = N + ft + (M >>> 0 < rt >>> 0 ? 1 : 0);
2313
2313
  }, _doFinalize: function() {
@@ -2319,11 +2319,11 @@ function Bs() {
2319
2319
  }, blockSize: 32 });
2320
2320
  a.SHA512 = e._createHelper(d), a.HmacSHA512 = e._createHmacHelper(d);
2321
2321
  }(), r.SHA512;
2322
- }(te(), yi())), Us.exports;
2322
+ }(te(), yi())), Bs.exports;
2323
2323
  }
2324
- var Hs, $n = { exports: {} }, Fs, js = { exports: {} };
2324
+ var Fs, $n = { exports: {} }, js, zs = { exports: {} };
2325
2325
  function Jn() {
2326
- return Fs || (Fs = 1, js.exports = function(r) {
2326
+ return js || (js = 1, zs.exports = function(r) {
2327
2327
  return function(a) {
2328
2328
  var e = r, t = e.lib, i = t.WordArray, s = t.Hasher, n = e.x64.Word, o = e.algo, c = [], h = [], d = [];
2329
2329
  (function() {
@@ -2405,11 +2405,11 @@ function Jn() {
2405
2405
  } });
2406
2406
  e.SHA3 = s._createHelper(f), e.HmacSHA3 = s._createHmacHelper(f);
2407
2407
  }(Math), r.SHA3;
2408
- }(te(), yi())), js.exports;
2408
+ }(te(), yi())), zs.exports;
2409
2409
  }
2410
- var zs, Gn = { exports: {} }, Ks, Ws = { exports: {} };
2411
- function tr() {
2412
- return Ks || (Ks = 1, Ws.exports = function(r) {
2410
+ var Ks, Gn = { exports: {} }, Ws, $s = { exports: {} };
2411
+ function ir() {
2412
+ return Ws || (Ws = 1, $s.exports = function(r) {
2413
2413
  var a, e, t;
2414
2414
  e = (a = r).lib.Base, t = a.enc.Utf8, a.algo.HMAC = e.extend({ init: function(i, s) {
2415
2415
  i = this._hasher = new i.init(), typeof s == "string" && (s = t.parse(s));
@@ -2427,11 +2427,11 @@ function tr() {
2427
2427
  var s = this._hasher, n = s.finalize(i);
2428
2428
  return s.reset(), s.finalize(this._oKey.clone().concat(n));
2429
2429
  } });
2430
- }(te())), Ws.exports;
2430
+ }(te())), $s.exports;
2431
2431
  }
2432
- var $s, qn = { exports: {} }, Js, Gs = { exports: {} };
2432
+ var Js, qn = { exports: {} }, Gs, qs = { exports: {} };
2433
2433
  function Rt() {
2434
- return Js || (Js = 1, Gs.exports = function(r) {
2434
+ return Gs || (Gs = 1, qs.exports = function(r) {
2435
2435
  return e = (a = r).lib, t = e.Base, i = e.WordArray, s = a.algo, n = s.MD5, o = s.EvpKDF = t.extend({ cfg: t.extend({ keySize: 4, hasher: n, iterations: 1 }), init: function(c) {
2436
2436
  this.cfg = this.cfg.extend(c);
2437
2437
  }, compute: function(c, h) {
@@ -2446,11 +2446,11 @@ function Rt() {
2446
2446
  return o.create(d).compute(c, h);
2447
2447
  }, r.EvpKDF;
2448
2448
  var a, e, t, i, s, n, o;
2449
- }(te(), za(), tr())), Gs.exports;
2449
+ }(te(), za(), ir())), qs.exports;
2450
2450
  }
2451
- var qs, Xs = { exports: {} };
2451
+ var Xs, Ys = { exports: {} };
2452
2452
  function we() {
2453
- return qs || (qs = 1, Xs.exports = function(r) {
2453
+ return Xs || (Xs = 1, Ys.exports = function(r) {
2454
2454
  r.lib.Cipher || function(a) {
2455
2455
  var e = r, t = e.lib, i = t.Base, s = t.WordArray, n = t.BufferedBlockAlgorithm, o = e.enc;
2456
2456
  o.Utf8;
@@ -2558,11 +2558,11 @@ function we() {
2558
2558
  return A.iv = I.iv, S.decrypt.call(this, y, v, I.key, A);
2559
2559
  } });
2560
2560
  }();
2561
- }(te(), Rt())), Xs.exports;
2561
+ }(te(), Rt())), Ys.exports;
2562
2562
  }
2563
- var Ys, Qs = { exports: {} };
2563
+ var Qs, Zs = { exports: {} };
2564
2564
  function Xn() {
2565
- return Ys || (Ys = 1, Qs.exports = function(r) {
2565
+ return Qs || (Qs = 1, Zs.exports = function(r) {
2566
2566
  return r.mode.CFB = function() {
2567
2567
  var a = r.lib.BlockCipherMode.extend();
2568
2568
  function e(t, i, s, n) {
@@ -2579,11 +2579,11 @@ function Xn() {
2579
2579
  e.call(this, t, i, n, s), this._prevBlock = o;
2580
2580
  } }), a;
2581
2581
  }(), r.mode.CFB;
2582
- }(te(), we())), Qs.exports;
2582
+ }(te(), we())), Zs.exports;
2583
2583
  }
2584
- var Zs, ea = { exports: {} };
2584
+ var ea, ta = { exports: {} };
2585
2585
  function Yn() {
2586
- return Zs || (Zs = 1, ea.exports = function(r) {
2586
+ return ea || (ea = 1, ta.exports = function(r) {
2587
2587
  return r.mode.CTR = (a = r.lib.BlockCipherMode.extend(), e = a.Encryptor = a.extend({ processBlock: function(t, i) {
2588
2588
  var s = this._cipher, n = s.blockSize, o = this._iv, c = this._counter;
2589
2589
  o && (c = this._counter = o.slice(0), this._iv = void 0);
@@ -2593,11 +2593,11 @@ function Yn() {
2593
2593
  t[i + d] ^= h[d];
2594
2594
  } }), a.Decryptor = e, a), r.mode.CTR;
2595
2595
  var a, e;
2596
- }(te(), we())), ea.exports;
2596
+ }(te(), we())), ta.exports;
2597
2597
  }
2598
- var ta, ia = { exports: {} };
2598
+ var ia, ra = { exports: {} };
2599
2599
  function Qn() {
2600
- return ta || (ta = 1, ia.exports = function(r) {
2600
+ return ia || (ia = 1, ra.exports = function(r) {
2601
2601
  return r.mode.CTRGladman = function() {
2602
2602
  var a = r.lib.BlockCipherMode.extend();
2603
2603
  function e(s) {
@@ -2622,11 +2622,11 @@ function Qn() {
2622
2622
  } });
2623
2623
  return a.Decryptor = i, a;
2624
2624
  }(), r.mode.CTRGladman;
2625
- }(te(), we())), ia.exports;
2625
+ }(te(), we())), ra.exports;
2626
2626
  }
2627
- var ra, sa = { exports: {} };
2627
+ var sa, aa = { exports: {} };
2628
2628
  function Zn() {
2629
- return ra || (ra = 1, sa.exports = function(r) {
2629
+ return sa || (sa = 1, aa.exports = function(r) {
2630
2630
  return r.mode.OFB = (a = r.lib.BlockCipherMode.extend(), e = a.Encryptor = a.extend({ processBlock: function(t, i) {
2631
2631
  var s = this._cipher, n = s.blockSize, o = this._iv, c = this._keystream;
2632
2632
  o && (c = this._keystream = o.slice(0), this._iv = void 0), s.encryptBlock(c, 0);
@@ -2634,11 +2634,11 @@ function Zn() {
2634
2634
  t[i + h] ^= c[h];
2635
2635
  } }), a.Decryptor = e, a), r.mode.OFB;
2636
2636
  var a, e;
2637
- }(te(), we())), sa.exports;
2637
+ }(te(), we())), aa.exports;
2638
2638
  }
2639
- var aa, eo = { exports: {} }, na, to = { exports: {} }, oa, io = { exports: {} }, ca, ro = { exports: {} }, ha, so = { exports: {} }, da, ao = { exports: {} }, la, no = { exports: {} }, ua, oo = { exports: {} }, pa, ga = { exports: {} };
2639
+ var na, eo = { exports: {} }, oa, to = { exports: {} }, ca, io = { exports: {} }, ha, ro = { exports: {} }, da, so = { exports: {} }, la, ao = { exports: {} }, ua, no = { exports: {} }, pa, oo = { exports: {} }, ga, ma = { exports: {} };
2640
2640
  function co() {
2641
- return pa || (pa = 1, ga.exports = function(r) {
2641
+ return ga || (ga = 1, ma.exports = function(r) {
2642
2642
  return function() {
2643
2643
  var a = r, e = a.lib, t = e.WordArray, i = e.BlockCipher, s = a.algo, n = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36, 63, 55, 47, 39, 31, 23, 15, 7, 62, 54, 46, 38, 30, 22, 14, 6, 61, 53, 45, 37, 29, 21, 13, 5, 28, 20, 12, 4], o = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 37, 47, 55, 30, 40, 51, 45, 33, 48, 44, 49, 39, 56, 34, 53, 46, 42, 50, 36, 29, 32], c = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], h = [{ 0: 8421888, 268435456: 32768, 536870912: 8421378, 805306368: 2, 1073741824: 512, 1342177280: 8421890, 1610612736: 8389122, 1879048192: 8388608, 2147483648: 514, 2415919104: 8389120, 2684354560: 33280, 2952790016: 8421376, 3221225472: 32770, 3489660928: 8388610, 3758096384: 0, 4026531840: 33282, 134217728: 0, 402653184: 8421890, 671088640: 33282, 939524096: 32768, 1207959552: 8421888, 1476395008: 512, 1744830464: 8421378, 2013265920: 2, 2281701376: 8389120, 2550136832: 33280, 2818572288: 8421376, 3087007744: 8389122, 3355443200: 8388610, 3623878656: 32770, 3892314112: 514, 4160749568: 8388608, 1: 32768, 268435457: 2, 536870913: 8421888, 805306369: 8388608, 1073741825: 8421378, 1342177281: 33280, 1610612737: 512, 1879048193: 8389122, 2147483649: 8421890, 2415919105: 8421376, 2684354561: 8388610, 2952790017: 33282, 3221225473: 514, 3489660929: 8389120, 3758096385: 32770, 4026531841: 0, 134217729: 8421890, 402653185: 8421376, 671088641: 8388608, 939524097: 512, 1207959553: 32768, 1476395009: 8388610, 1744830465: 2, 2013265921: 33282, 2281701377: 32770, 2550136833: 8389122, 2818572289: 514, 3087007745: 8421888, 3355443201: 8389120, 3623878657: 0, 3892314113: 33280, 4160749569: 8421378 }, { 0: 1074282512, 16777216: 16384, 33554432: 524288, 50331648: 1074266128, 67108864: 1073741840, 83886080: 1074282496, 100663296: 1073758208, 117440512: 16, 134217728: 540672, 150994944: 1073758224, 167772160: 1073741824, 184549376: 540688, 201326592: 524304, 218103808: 0, 234881024: 16400, 251658240: 1074266112, 8388608: 1073758208, 25165824: 540688, 41943040: 16, 58720256: 1073758224, 75497472: 1074282512, 92274688: 1073741824, 109051904: 524288, 125829120: 1074266128, 142606336: 524304, 159383552: 0, 176160768: 16384, 192937984: 1074266112, 209715200: 1073741840, 226492416: 540672, 243269632: 1074282496, 260046848: 16400, 268435456: 0, 285212672: 1074266128, 301989888: 1073758224, 318767104: 1074282496, 335544320: 1074266112, 352321536: 16, 369098752: 540688, 385875968: 16384, 402653184: 16400, 419430400: 524288, 436207616: 524304, 452984832: 1073741840, 469762048: 540672, 486539264: 1073758208, 503316480: 1073741824, 520093696: 1074282512, 276824064: 540688, 293601280: 524288, 310378496: 1074266112, 327155712: 16384, 343932928: 1073758208, 360710144: 1074282512, 377487360: 16, 394264576: 1073741824, 411041792: 1074282496, 427819008: 1073741840, 444596224: 1073758224, 461373440: 524304, 478150656: 0, 494927872: 16400, 511705088: 1074266128, 528482304: 540672 }, { 0: 260, 1048576: 0, 2097152: 67109120, 3145728: 65796, 4194304: 65540, 5242880: 67108868, 6291456: 67174660, 7340032: 67174400, 8388608: 67108864, 9437184: 67174656, 10485760: 65792, 11534336: 67174404, 12582912: 67109124, 13631488: 65536, 14680064: 4, 15728640: 256, 524288: 67174656, 1572864: 67174404, 2621440: 0, 3670016: 67109120, 4718592: 67108868, 5767168: 65536, 6815744: 65540, 7864320: 260, 8912896: 4, 9961472: 256, 11010048: 67174400, 12058624: 65796, 13107200: 65792, 14155776: 67109124, 15204352: 67174660, 16252928: 67108864, 16777216: 67174656, 17825792: 65540, 18874368: 65536, 19922944: 67109120, 20971520: 256, 22020096: 67174660, 23068672: 67108868, 24117248: 0, 25165824: 67109124, 26214400: 67108864, 27262976: 4, 28311552: 65792, 29360128: 67174400, 30408704: 260, 31457280: 65796, 32505856: 67174404, 17301504: 67108864, 18350080: 260, 19398656: 67174656, 20447232: 0, 21495808: 65540, 22544384: 67109120, 23592960: 256, 24641536: 67174404, 25690112: 65536, 26738688: 67174660, 27787264: 65796, 28835840: 67108868, 29884416: 67109124, 30932992: 67174400, 31981568: 4, 33030144: 65792 }, { 0: 2151682048, 65536: 2147487808, 131072: 4198464, 196608: 2151677952, 262144: 0, 327680: 4198400, 393216: 2147483712, 458752: 4194368, 524288: 2147483648, 589824: 4194304, 655360: 64, 720896: 2147487744, 786432: 2151678016, 851968: 4160, 917504: 4096, 983040: 2151682112, 32768: 2147487808, 98304: 64, 163840: 2151678016, 229376: 2147487744, 294912: 4198400, 360448: 2151682112, 425984: 0, 491520: 2151677952, 557056: 4096, 622592: 2151682048, 688128: 4194304, 753664: 4160, 819200: 2147483648, 884736: 4194368, 950272: 4198464, 1015808: 2147483712, 1048576: 4194368, 1114112: 4198400, 1179648: 2147483712, 1245184: 0, 1310720: 4160, 1376256: 2151678016, 1441792: 2151682048, 1507328: 2147487808, 1572864: 2151682112, 1638400: 2147483648, 1703936: 2151677952, 1769472: 4198464, 1835008: 2147487744, 1900544: 4194304, 1966080: 64, 2031616: 4096, 1081344: 2151677952, 1146880: 2151682112, 1212416: 0, 1277952: 4198400, 1343488: 4194368, 1409024: 2147483648, 1474560: 2147487808, 1540096: 64, 1605632: 2147483712, 1671168: 4096, 1736704: 2147487744, 1802240: 2151678016, 1867776: 4160, 1933312: 2151682048, 1998848: 4194304, 2064384: 4198464 }, { 0: 128, 4096: 17039360, 8192: 262144, 12288: 536870912, 16384: 537133184, 20480: 16777344, 24576: 553648256, 28672: 262272, 32768: 16777216, 36864: 537133056, 40960: 536871040, 45056: 553910400, 49152: 553910272, 53248: 0, 57344: 17039488, 61440: 553648128, 2048: 17039488, 6144: 553648256, 10240: 128, 14336: 17039360, 18432: 262144, 22528: 537133184, 26624: 553910272, 30720: 536870912, 34816: 537133056, 38912: 0, 43008: 553910400, 47104: 16777344, 51200: 536871040, 55296: 553648128, 59392: 16777216, 63488: 262272, 65536: 262144, 69632: 128, 73728: 536870912, 77824: 553648256, 81920: 16777344, 86016: 553910272, 90112: 537133184, 94208: 16777216, 98304: 553910400, 102400: 553648128, 106496: 17039360, 110592: 537133056, 114688: 262272, 118784: 536871040, 122880: 0, 126976: 17039488, 67584: 553648256, 71680: 16777216, 75776: 17039360, 79872: 537133184, 83968: 536870912, 88064: 17039488, 92160: 128, 96256: 553910272, 100352: 262272, 104448: 553910400, 108544: 0, 112640: 553648128, 116736: 16777344, 120832: 262144, 124928: 537133056, 129024: 536871040 }, { 0: 268435464, 256: 8192, 512: 270532608, 768: 270540808, 1024: 268443648, 1280: 2097152, 1536: 2097160, 1792: 268435456, 2048: 0, 2304: 268443656, 2560: 2105344, 2816: 8, 3072: 270532616, 3328: 2105352, 3584: 8200, 3840: 270540800, 128: 270532608, 384: 270540808, 640: 8, 896: 2097152, 1152: 2105352, 1408: 268435464, 1664: 268443648, 1920: 8200, 2176: 2097160, 2432: 8192, 2688: 268443656, 2944: 270532616, 3200: 0, 3456: 270540800, 3712: 2105344, 3968: 268435456, 4096: 268443648, 4352: 270532616, 4608: 270540808, 4864: 8200, 5120: 2097152, 5376: 268435456, 5632: 268435464, 5888: 2105344, 6144: 2105352, 6400: 0, 6656: 8, 6912: 270532608, 7168: 8192, 7424: 268443656, 7680: 270540800, 7936: 2097160, 4224: 8, 4480: 2105344, 4736: 2097152, 4992: 268435464, 5248: 268443648, 5504: 8200, 5760: 270540808, 6016: 270532608, 6272: 270540800, 6528: 270532616, 6784: 8192, 7040: 2105352, 7296: 2097160, 7552: 0, 7808: 268435456, 8064: 268443656 }, { 0: 1048576, 16: 33555457, 32: 1024, 48: 1049601, 64: 34604033, 80: 0, 96: 1, 112: 34603009, 128: 33555456, 144: 1048577, 160: 33554433, 176: 34604032, 192: 34603008, 208: 1025, 224: 1049600, 240: 33554432, 8: 34603009, 24: 0, 40: 33555457, 56: 34604032, 72: 1048576, 88: 33554433, 104: 33554432, 120: 1025, 136: 1049601, 152: 33555456, 168: 34603008, 184: 1048577, 200: 1024, 216: 34604033, 232: 1, 248: 1049600, 256: 33554432, 272: 1048576, 288: 33555457, 304: 34603009, 320: 1048577, 336: 33555456, 352: 34604032, 368: 1049601, 384: 1025, 400: 34604033, 416: 1049600, 432: 1, 448: 0, 464: 34603008, 480: 33554433, 496: 1024, 264: 1049600, 280: 33555457, 296: 34603009, 312: 1, 328: 33554432, 344: 1048576, 360: 1025, 376: 34604032, 392: 33554433, 408: 34603008, 424: 0, 440: 34604033, 456: 1049601, 472: 1024, 488: 33555456, 504: 1048577 }, { 0: 134219808, 1: 131072, 2: 134217728, 3: 32, 4: 131104, 5: 134350880, 6: 134350848, 7: 2048, 8: 134348800, 9: 134219776, 10: 133120, 11: 134348832, 12: 2080, 13: 0, 14: 134217760, 15: 133152, 2147483648: 2048, 2147483649: 134350880, 2147483650: 134219808, 2147483651: 134217728, 2147483652: 134348800, 2147483653: 133120, 2147483654: 133152, 2147483655: 32, 2147483656: 134217760, 2147483657: 2080, 2147483658: 131104, 2147483659: 134350848, 2147483660: 0, 2147483661: 134348832, 2147483662: 134219776, 2147483663: 131072, 16: 133152, 17: 134350848, 18: 32, 19: 2048, 20: 134219776, 21: 134217760, 22: 134348832, 23: 131072, 24: 0, 25: 131104, 26: 134348800, 27: 134219808, 28: 134350880, 29: 133120, 30: 2080, 31: 134217728, 2147483664: 131072, 2147483665: 2048, 2147483666: 134348832, 2147483667: 133152, 2147483668: 32, 2147483669: 134348800, 2147483670: 134217728, 2147483671: 134219808, 2147483672: 134350880, 2147483673: 134217760, 2147483674: 134219776, 2147483675: 0, 2147483676: 133120, 2147483677: 2080, 2147483678: 131104, 2147483679: 134350848 }], d = [4160749569, 528482304, 33030144, 2064384, 129024, 8064, 504, 2147483679], u = s.DES = i.extend({ _doReset: function() {
2644
2644
  for (var m = this._key.words, p = [], S = 0; S < 56; S++) {
@@ -2692,11 +2692,11 @@ function co() {
2692
2692
  }, keySize: 6, ivSize: 2, blockSize: 2 });
2693
2693
  a.TripleDES = i._createHelper(b);
2694
2694
  }(), r.TripleDES;
2695
- }(te(), Ot(), xt(), Rt(), we())), ga.exports;
2695
+ }(te(), Ot(), xt(), Rt(), we())), ma.exports;
2696
2696
  }
2697
- var ma, ho = { exports: {} }, fa, lo = { exports: {} }, Sa, uo = { exports: {} }, ba, va = { exports: {} };
2697
+ var fa, ho = { exports: {} }, Sa, lo = { exports: {} }, ba, uo = { exports: {} }, va, ya = { exports: {} };
2698
2698
  function po() {
2699
- return ba || (ba = 1, va.exports = function(r) {
2699
+ return va || (va = 1, ya.exports = function(r) {
2700
2700
  return function() {
2701
2701
  var a = r, e = a.lib.BlockCipher, t = a.algo;
2702
2702
  const i = 16, s = [608135816, 2242054355, 320440878, 57701188, 2752067618, 698298832, 137296536, 3964562569, 1160258022, 953160567, 3193202383, 887688300, 3232508343, 3380367581, 1065670069, 3041331479, 2450970073, 2306472731], n = [[3509652390, 2564797868, 805139163, 3491422135, 3101798381, 1780907670, 3128725573, 4046225305, 614570311, 3012652279, 134345442, 2240740374, 1667834072, 1901547113, 2757295779, 4103290238, 227898511, 1921955416, 1904987480, 2182433518, 2069144605, 3260701109, 2620446009, 720527379, 3318853667, 677414384, 3393288472, 3101374703, 2390351024, 1614419982, 1822297739, 2954791486, 3608508353, 3174124327, 2024746970, 1432378464, 3864339955, 2857741204, 1464375394, 1676153920, 1439316330, 715854006, 3033291828, 289532110, 2706671279, 2087905683, 3018724369, 1668267050, 732546397, 1947742710, 3462151702, 2609353502, 2950085171, 1814351708, 2050118529, 680887927, 999245976, 1800124847, 3300911131, 1713906067, 1641548236, 4213287313, 1216130144, 1575780402, 4018429277, 3917837745, 3693486850, 3949271944, 596196993, 3549867205, 258830323, 2213823033, 772490370, 2760122372, 1774776394, 2652871518, 566650946, 4142492826, 1728879713, 2882767088, 1783734482, 3629395816, 2517608232, 2874225571, 1861159788, 326777828, 3124490320, 2130389656, 2716951837, 967770486, 1724537150, 2185432712, 2364442137, 1164943284, 2105845187, 998989502, 3765401048, 2244026483, 1075463327, 1455516326, 1322494562, 910128902, 469688178, 1117454909, 936433444, 3490320968, 3675253459, 1240580251, 122909385, 2157517691, 634681816, 4142456567, 3825094682, 3061402683, 2540495037, 79693498, 3249098678, 1084186820, 1583128258, 426386531, 1761308591, 1047286709, 322548459, 995290223, 1845252383, 2603652396, 3431023940, 2942221577, 3202600964, 3727903485, 1712269319, 422464435, 3234572375, 1170764815, 3523960633, 3117677531, 1434042557, 442511882, 3600875718, 1076654713, 1738483198, 4213154764, 2393238008, 3677496056, 1014306527, 4251020053, 793779912, 2902807211, 842905082, 4246964064, 1395751752, 1040244610, 2656851899, 3396308128, 445077038, 3742853595, 3577915638, 679411651, 2892444358, 2354009459, 1767581616, 3150600392, 3791627101, 3102740896, 284835224, 4246832056, 1258075500, 768725851, 2589189241, 3069724005, 3532540348, 1274779536, 3789419226, 2764799539, 1660621633, 3471099624, 4011903706, 913787905, 3497959166, 737222580, 2514213453, 2928710040, 3937242737, 1804850592, 3499020752, 2949064160, 2386320175, 2390070455, 2415321851, 4061277028, 2290661394, 2416832540, 1336762016, 1754252060, 3520065937, 3014181293, 791618072, 3188594551, 3933548030, 2332172193, 3852520463, 3043980520, 413987798, 3465142937, 3030929376, 4245938359, 2093235073, 3534596313, 375366246, 2157278981, 2479649556, 555357303, 3870105701, 2008414854, 3344188149, 4221384143, 3956125452, 2067696032, 3594591187, 2921233993, 2428461, 544322398, 577241275, 1471733935, 610547355, 4027169054, 1432588573, 1507829418, 2025931657, 3646575487, 545086370, 48609733, 2200306550, 1653985193, 298326376, 1316178497, 3007786442, 2064951626, 458293330, 2589141269, 3591329599, 3164325604, 727753846, 2179363840, 146436021, 1461446943, 4069977195, 705550613, 3059967265, 3887724982, 4281599278, 3313849956, 1404054877, 2845806497, 146425753, 1854211946], [1266315497, 3048417604, 3681880366, 3289982499, 290971e4, 1235738493, 2632868024, 2414719590, 3970600049, 1771706367, 1449415276, 3266420449, 422970021, 1963543593, 2690192192, 3826793022, 1062508698, 1531092325, 1804592342, 2583117782, 2714934279, 4024971509, 1294809318, 4028980673, 1289560198, 2221992742, 1669523910, 35572830, 157838143, 1052438473, 1016535060, 1802137761, 1753167236, 1386275462, 3080475397, 2857371447, 1040679964, 2145300060, 2390574316, 1461121720, 2956646967, 4031777805, 4028374788, 33600511, 2920084762, 1018524850, 629373528, 3691585981, 3515945977, 2091462646, 2486323059, 586499841, 988145025, 935516892, 3367335476, 2599673255, 2839830854, 265290510, 3972581182, 2759138881, 3795373465, 1005194799, 847297441, 406762289, 1314163512, 1332590856, 1866599683, 4127851711, 750260880, 613907577, 1450815602, 3165620655, 3734664991, 3650291728, 3012275730, 3704569646, 1427272223, 778793252, 1343938022, 2676280711, 2052605720, 1946737175, 3164576444, 3914038668, 3967478842, 3682934266, 1661551462, 3294938066, 4011595847, 840292616, 3712170807, 616741398, 312560963, 711312465, 1351876610, 322626781, 1910503582, 271666773, 2175563734, 1594956187, 70604529, 3617834859, 1007753275, 1495573769, 4069517037, 2549218298, 2663038764, 504708206, 2263041392, 3941167025, 2249088522, 1514023603, 1998579484, 1312622330, 694541497, 2582060303, 2151582166, 1382467621, 776784248, 2618340202, 3323268794, 2497899128, 2784771155, 503983604, 4076293799, 907881277, 423175695, 432175456, 1378068232, 4145222326, 3954048622, 3938656102, 3820766613, 2793130115, 2977904593, 26017576, 3274890735, 3194772133, 1700274565, 1756076034, 4006520079, 3677328699, 720338349, 1533947780, 354530856, 688349552, 3973924725, 1637815568, 332179504, 3949051286, 53804574, 2852348879, 3044236432, 1282449977, 3583942155, 3416972820, 4006381244, 1617046695, 2628476075, 3002303598, 1686838959, 431878346, 2686675385, 1700445008, 1080580658, 1009431731, 832498133, 3223435511, 2605976345, 2271191193, 2516031870, 1648197032, 4164389018, 2548247927, 300782431, 375919233, 238389289, 3353747414, 2531188641, 2019080857, 1475708069, 455242339, 2609103871, 448939670, 3451063019, 1395535956, 2413381860, 1841049896, 1491858159, 885456874, 4264095073, 4001119347, 1565136089, 3898914787, 1108368660, 540939232, 1173283510, 2745871338, 3681308437, 4207628240, 3343053890, 4016749493, 1699691293, 1103962373, 3625875870, 2256883143, 3830138730, 1031889488, 3479347698, 1535977030, 4236805024, 3251091107, 2132092099, 1774941330, 1199868427, 1452454533, 157007616, 2904115357, 342012276, 595725824, 1480756522, 206960106, 497939518, 591360097, 863170706, 2375253569, 3596610801, 1814182875, 2094937945, 3421402208, 1082520231, 3463918190, 2785509508, 435703966, 3908032597, 1641649973, 2842273706, 3305899714, 1510255612, 2148256476, 2655287854, 3276092548, 4258621189, 236887753, 3681803219, 274041037, 1734335097, 3815195456, 3317970021, 1899903192, 1026095262, 4050517792, 356393447, 2410691914, 3873677099, 3682840055], [3913112168, 2491498743, 4132185628, 2489919796, 1091903735, 1979897079, 3170134830, 3567386728, 3557303409, 857797738, 1136121015, 1342202287, 507115054, 2535736646, 337727348, 3213592640, 1301675037, 2528481711, 1895095763, 1721773893, 3216771564, 62756741, 2142006736, 835421444, 2531993523, 1442658625, 3659876326, 2882144922, 676362277, 1392781812, 170690266, 3921047035, 1759253602, 3611846912, 1745797284, 664899054, 1329594018, 3901205900, 3045908486, 2062866102, 2865634940, 3543621612, 3464012697, 1080764994, 553557557, 3656615353, 3996768171, 991055499, 499776247, 1265440854, 648242737, 3940784050, 980351604, 3713745714, 1749149687, 3396870395, 4211799374, 3640570775, 1161844396, 3125318951, 1431517754, 545492359, 4268468663, 3499529547, 1437099964, 2702547544, 3433638243, 2581715763, 2787789398, 1060185593, 1593081372, 2418618748, 4260947970, 69676912, 2159744348, 86519011, 2512459080, 3838209314, 1220612927, 3339683548, 133810670, 1090789135, 1078426020, 1569222167, 845107691, 3583754449, 4072456591, 1091646820, 628848692, 1613405280, 3757631651, 526609435, 236106946, 48312990, 2942717905, 3402727701, 1797494240, 859738849, 992217954, 4005476642, 2243076622, 3870952857, 3732016268, 765654824, 3490871365, 2511836413, 1685915746, 3888969200, 1414112111, 2273134842, 3281911079, 4080962846, 172450625, 2569994100, 980381355, 4109958455, 2819808352, 2716589560, 2568741196, 3681446669, 3329971472, 1835478071, 660984891, 3704678404, 4045999559, 3422617507, 3040415634, 1762651403, 1719377915, 3470491036, 2693910283, 3642056355, 3138596744, 1364962596, 2073328063, 1983633131, 926494387, 3423689081, 2150032023, 4096667949, 1749200295, 3328846651, 309677260, 2016342300, 1779581495, 3079819751, 111262694, 1274766160, 443224088, 298511866, 1025883608, 3806446537, 1145181785, 168956806, 3641502830, 3584813610, 1689216846, 3666258015, 3200248200, 1692713982, 2646376535, 4042768518, 1618508792, 1610833997, 3523052358, 4130873264, 2001055236, 3610705100, 2202168115, 4028541809, 2961195399, 1006657119, 2006996926, 3186142756, 1430667929, 3210227297, 1314452623, 4074634658, 4101304120, 2273951170, 1399257539, 3367210612, 3027628629, 1190975929, 2062231137, 2333990788, 2221543033, 2438960610, 1181637006, 548689776, 2362791313, 3372408396, 3104550113, 3145860560, 296247880, 1970579870, 3078560182, 3769228297, 1714227617, 3291629107, 3898220290, 166772364, 1251581989, 493813264, 448347421, 195405023, 2709975567, 677966185, 3703036547, 1463355134, 2715995803, 1338867538, 1343315457, 2802222074, 2684532164, 233230375, 2599980071, 2000651841, 3277868038, 1638401717, 4028070440, 3237316320, 6314154, 819756386, 300326615, 590932579, 1405279636, 3267499572, 3150704214, 2428286686, 3959192993, 3461946742, 1862657033, 1266418056, 963775037, 2089974820, 2263052895, 1917689273, 448879540, 3550394620, 3981727096, 150775221, 3627908307, 1303187396, 508620638, 2975983352, 2726630617, 1817252668, 1876281319, 1457606340, 908771278, 3720792119, 3617206836, 2455994898, 1729034894, 1080033504], [976866871, 3556439503, 2881648439, 1522871579, 1555064734, 1336096578, 3548522304, 2579274686, 3574697629, 3205460757, 3593280638, 3338716283, 3079412587, 564236357, 2993598910, 1781952180, 1464380207, 3163844217, 3332601554, 1699332808, 1393555694, 1183702653, 3581086237, 1288719814, 691649499, 2847557200, 2895455976, 3193889540, 2717570544, 1781354906, 1676643554, 2592534050, 3230253752, 1126444790, 2770207658, 2633158820, 2210423226, 2615765581, 2414155088, 3127139286, 673620729, 2805611233, 1269405062, 4015350505, 3341807571, 4149409754, 1057255273, 2012875353, 2162469141, 2276492801, 2601117357, 993977747, 3918593370, 2654263191, 753973209, 36408145, 2530585658, 25011837, 3520020182, 2088578344, 530523599, 2918365339, 1524020338, 1518925132, 3760827505, 3759777254, 1202760957, 3985898139, 3906192525, 674977740, 4174734889, 2031300136, 2019492241, 3983892565, 4153806404, 3822280332, 352677332, 2297720250, 60907813, 90501309, 3286998549, 1016092578, 2535922412, 2839152426, 457141659, 509813237, 4120667899, 652014361, 1966332200, 2975202805, 55981186, 2327461051, 676427537, 3255491064, 2882294119, 3433927263, 1307055953, 942726286, 933058658, 2468411793, 3933900994, 4215176142, 1361170020, 2001714738, 2830558078, 3274259782, 1222529897, 1679025792, 2729314320, 3714953764, 1770335741, 151462246, 3013232138, 1682292957, 1483529935, 471910574, 1539241949, 458788160, 3436315007, 1807016891, 3718408830, 978976581, 1043663428, 3165965781, 1927990952, 4200891579, 2372276910, 3208408903, 3533431907, 1412390302, 2931980059, 4132332400, 1947078029, 3881505623, 4168226417, 2941484381, 1077988104, 1320477388, 886195818, 18198404, 3786409e3, 2509781533, 112762804, 3463356488, 1866414978, 891333506, 18488651, 661792760, 1628790961, 3885187036, 3141171499, 876946877, 2693282273, 1372485963, 791857591, 2686433993, 3759982718, 3167212022, 3472953795, 2716379847, 445679433, 3561995674, 3504004811, 3574258232, 54117162, 3331405415, 2381918588, 3769707343, 4154350007, 1140177722, 4074052095, 668550556, 3214352940, 367459370, 261225585, 2610173221, 4209349473, 3468074219, 3265815641, 314222801, 3066103646, 3808782860, 282218597, 3406013506, 3773591054, 379116347, 1285071038, 846784868, 2669647154, 3771962079, 3550491691, 2305946142, 453669953, 1268987020, 3317592352, 3279303384, 3744833421, 2610507566, 3859509063, 266596637, 3847019092, 517658769, 3462560207, 3443424879, 370717030, 4247526661, 2224018117, 4143653529, 4112773975, 2788324899, 2477274417, 1456262402, 2901442914, 1517677493, 1846949527, 2295493580, 3734397586, 2176403920, 1280348187, 1908823572, 3871786941, 846861322, 1172426758, 3287448474, 3383383037, 1655181056, 3139813346, 901632758, 1897031941, 2986607138, 3066810236, 3447102507, 1393639104, 373351379, 950779232, 625454576, 3124240540, 4148612726, 2007998917, 544563296, 2244738638, 2330496472, 2058025392, 1291430526, 424198748, 50039436, 29584100, 3605783033, 2429876329, 2791104160, 1057563949, 3255363231, 3075367218, 3463963227, 1469046755, 985887462]];
@@ -2748,11 +2748,11 @@ function po() {
2748
2748
  }, blockSize: 2, keySize: 4, ivSize: 2 });
2749
2749
  a.Blowfish = e._createHelper(f);
2750
2750
  }(), r.Blowfish;
2751
- }(te(), Ot(), xt(), Rt(), we())), va.exports;
2751
+ }(te(), Ot(), xt(), Rt(), we())), ya.exports;
2752
2752
  }
2753
2753
  ja.exports = function(r) {
2754
2754
  return r;
2755
- }(te(), yi(), jn(), zn(), Ot(), Kn(), xt(), za(), $i(), Os || (Os = 1, Wn.exports = function(r) {
2755
+ }(te(), yi(), jn(), zn(), Ot(), Kn(), xt(), za(), $i(), xs || (xs = 1, Wn.exports = function(r) {
2756
2756
  return e = (a = r).lib.WordArray, t = a.algo, i = t.SHA256, s = t.SHA224 = i.extend({ _doReset: function() {
2757
2757
  this._hash = new e.init([3238371032, 914150663, 812702999, 4144912697, 4290775857, 1750603025, 1694076839, 3204075428]);
2758
2758
  }, _doFinalize: function() {
@@ -2760,7 +2760,7 @@ ja.exports = function(r) {
2760
2760
  return n.sigBytes -= 4, n;
2761
2761
  } }), a.SHA224 = i._createHelper(s), a.HmacSHA224 = i._createHmacHelper(s), r.SHA224;
2762
2762
  var a, e, t, i, s;
2763
- }(te(), $i())), Bs(), Hs || (Hs = 1, $n.exports = function(r) {
2763
+ }(te(), $i())), Hs(), Fs || (Fs = 1, $n.exports = function(r) {
2764
2764
  return e = (a = r).x64, t = e.Word, i = e.WordArray, s = a.algo, n = s.SHA512, o = s.SHA384 = n.extend({ _doReset: function() {
2765
2765
  this._hash = new i.init([new t.init(3418070365, 3238371032), new t.init(1654270250, 914150663), new t.init(2438529370, 812702999), new t.init(355462360, 4144912697), new t.init(1731405415, 4290775857), new t.init(2394180231, 1750603025), new t.init(3675008525, 1694076839), new t.init(1203062813, 3204075428)]);
2766
2766
  }, _doFinalize: function() {
@@ -2768,7 +2768,7 @@ ja.exports = function(r) {
2768
2768
  return c.sigBytes -= 16, c;
2769
2769
  } }), a.SHA384 = n._createHelper(o), a.HmacSHA384 = n._createHmacHelper(o), r.SHA384;
2770
2770
  var a, e, t, i, s, n, o;
2771
- }(te(), yi(), Bs())), Jn(), zs || (zs = 1, Gn.exports = function(r) {
2771
+ }(te(), yi(), Hs())), Jn(), Ks || (Ks = 1, Gn.exports = function(r) {
2772
2772
  return function() {
2773
2773
  var a = r, e = a.lib, t = e.WordArray, i = e.Hasher, s = a.algo, n = t.create([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13]), o = t.create([5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11]), c = t.create([11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6]), h = t.create([8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11]), d = t.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), u = t.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), f = s.RIPEMD160 = i.extend({ _doReset: function() {
2774
2774
  this._hash = t.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
@@ -2813,7 +2813,7 @@ ja.exports = function(r) {
2813
2813
  }
2814
2814
  a.RIPEMD160 = i._createHelper(f), a.HmacRIPEMD160 = i._createHmacHelper(f);
2815
2815
  }(), r.RIPEMD160;
2816
- }(te())), tr(), $s || ($s = 1, qn.exports = function(r) {
2816
+ }(te())), ir(), Js || (Js = 1, qn.exports = function(r) {
2817
2817
  return t = (e = (a = r).lib).Base, i = e.WordArray, n = (s = a.algo).SHA256, o = s.HMAC, c = s.PBKDF2 = t.extend({ cfg: t.extend({ keySize: 4, hasher: n, iterations: 25e4 }), init: function(h) {
2818
2818
  this.cfg = this.cfg.extend(h);
2819
2819
  }, compute: function(h, d) {
@@ -2832,14 +2832,14 @@ ja.exports = function(r) {
2832
2832
  return c.create(u).compute(h, d);
2833
2833
  }, r.PBKDF2;
2834
2834
  var a, e, t, i, s, n, o, c;
2835
- }(te(), $i(), tr())), Rt(), we(), Xn(), Yn(), Qn(), Zn(), aa || (aa = 1, eo.exports = function(r) {
2835
+ }(te(), $i(), ir())), Rt(), we(), Xn(), Yn(), Qn(), Zn(), na || (na = 1, eo.exports = function(r) {
2836
2836
  return r.mode.ECB = ((a = r.lib.BlockCipherMode.extend()).Encryptor = a.extend({ processBlock: function(e, t) {
2837
2837
  this._cipher.encryptBlock(e, t);
2838
2838
  } }), a.Decryptor = a.extend({ processBlock: function(e, t) {
2839
2839
  this._cipher.decryptBlock(e, t);
2840
2840
  } }), a), r.mode.ECB;
2841
2841
  var a;
2842
- }(te(), we())), na || (na = 1, to.exports = function(r) {
2842
+ }(te(), we())), oa || (oa = 1, to.exports = function(r) {
2843
2843
  return r.pad.AnsiX923 = { pad: function(a, e) {
2844
2844
  var t = a.sigBytes, i = 4 * e, s = i - t % i, n = t + s - 1;
2845
2845
  a.clamp(), a.words[n >>> 2] |= s << 24 - n % 4 * 8, a.sigBytes += s;
@@ -2847,7 +2847,7 @@ ja.exports = function(r) {
2847
2847
  var e = 255 & a.words[a.sigBytes - 1 >>> 2];
2848
2848
  a.sigBytes -= e;
2849
2849
  } }, r.pad.Ansix923;
2850
- }(te(), we())), oa || (oa = 1, io.exports = function(r) {
2850
+ }(te(), we())), ca || (ca = 1, io.exports = function(r) {
2851
2851
  return r.pad.Iso10126 = { pad: function(a, e) {
2852
2852
  var t = 4 * e, i = t - a.sigBytes % t;
2853
2853
  a.concat(r.lib.WordArray.random(i - 1)).concat(r.lib.WordArray.create([i << 24], 1));
@@ -2855,13 +2855,13 @@ ja.exports = function(r) {
2855
2855
  var e = 255 & a.words[a.sigBytes - 1 >>> 2];
2856
2856
  a.sigBytes -= e;
2857
2857
  } }, r.pad.Iso10126;
2858
- }(te(), we())), ca || (ca = 1, ro.exports = function(r) {
2858
+ }(te(), we())), ha || (ha = 1, ro.exports = function(r) {
2859
2859
  return r.pad.Iso97971 = { pad: function(a, e) {
2860
2860
  a.concat(r.lib.WordArray.create([2147483648], 1)), r.pad.ZeroPadding.pad(a, e);
2861
2861
  }, unpad: function(a) {
2862
2862
  r.pad.ZeroPadding.unpad(a), a.sigBytes--;
2863
2863
  } }, r.pad.Iso97971;
2864
- }(te(), we())), ha || (ha = 1, so.exports = function(r) {
2864
+ }(te(), we())), da || (da = 1, so.exports = function(r) {
2865
2865
  return r.pad.ZeroPadding = { pad: function(a, e) {
2866
2866
  var t = 4 * e;
2867
2867
  a.clamp(), a.sigBytes += t - (a.sigBytes % t || t);
@@ -2873,11 +2873,11 @@ ja.exports = function(r) {
2873
2873
  break;
2874
2874
  }
2875
2875
  } }, r.pad.ZeroPadding;
2876
- }(te(), we())), da || (da = 1, ao.exports = function(r) {
2876
+ }(te(), we())), la || (la = 1, ao.exports = function(r) {
2877
2877
  return r.pad.NoPadding = { pad: function() {
2878
2878
  }, unpad: function() {
2879
2879
  } }, r.pad.NoPadding;
2880
- }(te(), we())), la || (la = 1, no.exports = function(r) {
2880
+ }(te(), we())), ua || (ua = 1, no.exports = function(r) {
2881
2881
  return e = (a = r).lib.CipherParams, t = a.enc.Hex, a.format.Hex = { stringify: function(i) {
2882
2882
  return i.ciphertext.toString(t);
2883
2883
  }, parse: function(i) {
@@ -2885,7 +2885,7 @@ ja.exports = function(r) {
2885
2885
  return e.create({ ciphertext: s });
2886
2886
  } }, r.format.Hex;
2887
2887
  var a, e, t;
2888
- }(te(), we())), ua || (ua = 1, oo.exports = function(r) {
2888
+ }(te(), we())), pa || (pa = 1, oo.exports = function(r) {
2889
2889
  return function() {
2890
2890
  var a = r, e = a.lib.BlockCipher, t = a.algo, i = [], s = [], n = [], o = [], c = [], h = [], d = [], u = [], f = [], l = [];
2891
2891
  (function() {
@@ -2925,7 +2925,7 @@ ja.exports = function(r) {
2925
2925
  }, keySize: 8 });
2926
2926
  a.AES = e._createHelper(m);
2927
2927
  }(), r.AES;
2928
- }(te(), Ot(), xt(), Rt(), we())), co(), ma || (ma = 1, ho.exports = function(r) {
2928
+ }(te(), Ot(), xt(), Rt(), we())), co(), fa || (fa = 1, ho.exports = function(r) {
2929
2929
  return function() {
2930
2930
  var a = r, e = a.lib.StreamCipher, t = a.algo, i = t.RC4 = e.extend({ _doReset: function() {
2931
2931
  for (var o = this._key, c = o.words, h = o.sigBytes, d = this._S = [], u = 0; u < 256; u++)
@@ -2957,7 +2957,7 @@ ja.exports = function(r) {
2957
2957
  } });
2958
2958
  a.RC4Drop = e._createHelper(n);
2959
2959
  }(), r.RC4;
2960
- }(te(), Ot(), xt(), Rt(), we())), fa || (fa = 1, lo.exports = function(r) {
2960
+ }(te(), Ot(), xt(), Rt(), we())), Sa || (Sa = 1, lo.exports = function(r) {
2961
2961
  return function() {
2962
2962
  var a = r, e = a.lib.StreamCipher, t = a.algo, i = [], s = [], n = [], o = t.Rabbit = e.extend({ _doReset: function() {
2963
2963
  for (var h = this._key.words, d = this.cfg.iv, u = 0; u < 4; u++)
@@ -2989,7 +2989,7 @@ ja.exports = function(r) {
2989
2989
  }
2990
2990
  a.Rabbit = e._createHelper(o);
2991
2991
  }(), r.Rabbit;
2992
- }(te(), Ot(), xt(), Rt(), we())), Sa || (Sa = 1, uo.exports = function(r) {
2992
+ }(te(), Ot(), xt(), Rt(), we())), ba || (ba = 1, uo.exports = function(r) {
2993
2993
  return function() {
2994
2994
  var a = r, e = a.lib.StreamCipher, t = a.algo, i = [], s = [], n = [], o = t.RabbitLegacy = e.extend({ _doReset: function() {
2995
2995
  var h = this._key.words, d = this.cfg.iv, u = this._X = [h[0], h[3] << 16 | h[2] >>> 16, h[1], h[0] << 16 | h[3] >>> 16, h[2], h[1] << 16 | h[0] >>> 16, h[3], h[2] << 16 | h[1] >>> 16], f = this._C = [h[2] << 16 | h[2] >>> 16, 4294901760 & h[0] | 65535 & h[1], h[3] << 16 | h[3] >>> 16, 4294901760 & h[1] | 65535 & h[2], h[0] << 16 | h[0] >>> 16, 4294901760 & h[2] | 65535 & h[3], h[1] << 16 | h[1] >>> 16, 4294901760 & h[3] | 65535 & h[0]];
@@ -3053,7 +3053,7 @@ function go(r) {
3053
3053
  });
3054
3054
  var a, e, t;
3055
3055
  }
3056
- function gr(r) {
3056
+ function mr(r) {
3057
3057
  return { transString: function(a) {
3058
3058
  let e = {}, t = 0, i = !1;
3059
3059
  for (let s in a)
@@ -3108,12 +3108,12 @@ function gr(r) {
3108
3108
  var t, i, s;
3109
3109
  } };
3110
3110
  }
3111
- typeof window != "undefined" && Fa(window, "stsPlugin", gr);
3111
+ typeof window != "undefined" && Fa(window, "stsPlugin", mr);
3112
3112
  var mo = /d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g, fo = /\b(?:[A-Z]{1,3}[A-Z][TC])(?:[-+]\d{4})?|((?:Australian )?(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time)\b/g, So = /[^-+\dA-Z]/g;
3113
- function mr(r, a, e, t) {
3113
+ function fr(r, a, e, t) {
3114
3114
  if (arguments.length !== 1 || typeof r != "string" || /\d/.test(r) || (a = r, r = void 0), (r = r || r === 0 ? r : /* @__PURE__ */ new Date()) instanceof Date || (r = new Date(r)), isNaN(r))
3115
3115
  throw TypeError("Invalid date");
3116
- var i = (a = String(ya[a] || a || ya.default)).slice(0, 4);
3116
+ var i = (a = String(Ra[a] || a || Ra.default)).slice(0, 4);
3117
3117
  i !== "UTC:" && i !== "GMT:" || (a = a.slice(4), e = !0, i === "GMT:" && (t = !0));
3118
3118
  var s = function() {
3119
3119
  return e ? "getUTC" : "get";
@@ -3144,11 +3144,11 @@ function mr(r, a, e, t) {
3144
3144
  }, ddd: function() {
3145
3145
  return ze.dayNames[o()];
3146
3146
  }, DDD: function() {
3147
- return Ra({ y: h(), m: c(), d: n(), _: s(), dayName: ze.dayNames[o()], short: !0 });
3147
+ return Aa({ y: h(), m: c(), d: n(), _: s(), dayName: ze.dayNames[o()], short: !0 });
3148
3148
  }, dddd: function() {
3149
3149
  return ze.dayNames[o() + 7];
3150
3150
  }, DDDD: function() {
3151
- return Ra({ y: h(), m: c(), d: n(), _: s(), dayName: ze.dayNames[o() + 7] });
3151
+ return Aa({ y: h(), m: c(), d: n(), _: s(), dayName: ze.dayNames[o() + 7] });
3152
3152
  }, m: function() {
3153
3153
  return c() + 1;
3154
3154
  }, mm: function() {
@@ -3208,10 +3208,10 @@ function mr(r, a, e, t) {
3208
3208
  return S in p ? p[S]() : S.slice(1, S.length - 1);
3209
3209
  });
3210
3210
  }
3211
- var ya = { default: "ddd mmm dd yyyy HH:MM:ss", shortDate: "m/d/yy", paddedShortDate: "mm/dd/yyyy", mediumDate: "mmm d, yyyy", longDate: "mmmm d, yyyy", fullDate: "dddd, mmmm d, yyyy", shortTime: "h:MM TT", mediumTime: "h:MM:ss TT", longTime: "h:MM:ss TT Z", isoDate: "yyyy-mm-dd", isoTime: "HH:MM:ss", isoDateTime: "yyyy-mm-dd'T'HH:MM:sso", isoUtcDateTime: "UTC:yyyy-mm-dd'T'HH:MM:ss'Z'", expiresHeaderFormat: "ddd, dd mmm yyyy HH:MM:ss Z" }, ze = { dayNames: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], timeNames: ["a", "p", "am", "pm", "A", "P", "AM", "PM"] }, Je = function(r) {
3211
+ var Ra = { default: "ddd mmm dd yyyy HH:MM:ss", shortDate: "m/d/yy", paddedShortDate: "mm/dd/yyyy", mediumDate: "mmm d, yyyy", longDate: "mmmm d, yyyy", fullDate: "dddd, mmmm d, yyyy", shortTime: "h:MM TT", mediumTime: "h:MM:ss TT", longTime: "h:MM:ss TT Z", isoDate: "yyyy-mm-dd", isoTime: "HH:MM:ss", isoDateTime: "yyyy-mm-dd'T'HH:MM:sso", isoUtcDateTime: "UTC:yyyy-mm-dd'T'HH:MM:ss'Z'", expiresHeaderFormat: "ddd, dd mmm yyyy HH:MM:ss Z" }, ze = { dayNames: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], timeNames: ["a", "p", "am", "pm", "A", "P", "AM", "PM"] }, Je = function(r) {
3212
3212
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 2;
3213
3213
  return String(r).padStart(a, "0");
3214
- }, Ra = function(r) {
3214
+ }, Aa = function(r) {
3215
3215
  var a = r.y, e = r.m, t = r.d, i = r._, s = r.dayName, n = r.short, o = n !== void 0 && n, c = /* @__PURE__ */ new Date(), h = /* @__PURE__ */ new Date();
3216
3216
  h.setDate(h[i + "Date"]() - 1);
3217
3217
  var d = /* @__PURE__ */ new Date();
@@ -3231,12 +3231,12 @@ var ya = { default: "ddd mmm dd yyyy HH:MM:ss", shortDate: "m/d/yy", paddedShort
3231
3231
  }, yo = function(r) {
3232
3232
  return (String(r).match(fo) || [""]).pop().replace(So, "").replace(/GMT\+0000/g, "UTC");
3233
3233
  };
3234
- const { BrowserUtil: Ro } = oe, Ao = "EdgeHTML", Aa = "Blink", _o = "Trident", Eo = "Gecko", Io = "WebKit", ui = (r, a) => {
3234
+ const { BrowserUtil: Ro } = oe, Ao = "EdgeHTML", _a = "Blink", _o = "Trident", Eo = "Gecko", Io = "WebKit", ui = (r, a) => {
3235
3235
  const e = a.match(r);
3236
3236
  return e && e.length > 0 && e[1] || "";
3237
3237
  }, To = [{ test: [/\sedg\//i, [/edg([ea]|ios)/i]], describe(r) {
3238
3238
  if (/\sedg\//i.test(r))
3239
- return { name: Aa };
3239
+ return { name: _a };
3240
3240
  const a = ui(/edge\/(\d+(\.?_?\d+)+)/i, r);
3241
3241
  return { name: Ao, version: a };
3242
3242
  } }, { test: [/trident/i], describe(r) {
@@ -3248,12 +3248,12 @@ const { BrowserUtil: Ro } = oe, Ao = "EdgeHTML", Aa = "Blink", _o = "Trident", E
3248
3248
  }, describe(r) {
3249
3249
  const a = { name: Eo }, e = ui(/gecko\/(\d+(\.?_?\d+)+)/i, r);
3250
3250
  return e && (a.version = e), a;
3251
- } }, { test: [/(apple)?webkit\/537\.36/i], describe: () => ({ name: Aa }) }, { test: [/(apple)?webkit/i], describe(r) {
3251
+ } }, { test: [/(apple)?webkit\/537\.36/i], describe: () => ({ name: _a }) }, { test: [/(apple)?webkit/i], describe(r) {
3252
3252
  const a = { name: Io }, e = ui(/webkit\/(\d+(\.?_?\d+)+)/i, r);
3253
3253
  return e && (a.version = e), a;
3254
- } }], fr = (r, a) => r.find((e) => typeof e.test == "function" ? e.test(a) : Array.isArray(e.test) ? e.test.some((t) => typeof t == "string" ? a.indexOf(t) > -1 : t instanceof RegExp && t.test(a)) : void 0), wo = () => {
3254
+ } }], Sr = (r, a) => r.find((e) => typeof e.test == "function" ? e.test(a) : Array.isArray(e.test) ? e.test.some((t) => typeof t == "string" ? a.indexOf(t) > -1 : t instanceof RegExp && t.test(a)) : void 0), wo = () => {
3255
3255
  try {
3256
- const r = navigator.userAgent || "", a = fr(To, r);
3256
+ const r = navigator.userAgent || "", a = Sr(To, r);
3257
3257
  if (a) {
3258
3258
  const e = a.describe(r);
3259
3259
  return `${e.name}/${e.version || Ro.browserVersion}`;
@@ -3264,7 +3264,7 @@ const { BrowserUtil: Ro } = oe, Ao = "EdgeHTML", Aa = "Blink", _o = "Trident", E
3264
3264
  }, Co = [{ test: ["wow64", "win64", "x64"], describe: () => "amd64" }, { test: ["i686", "x86"], describe: () => "x86" }, { test: ["aarch64", "arm64"], describe: () => "arm64" }, { test: ["arm"], describe: () => "arm" }], Ka = () => {
3265
3265
  let r = "unknown";
3266
3266
  try {
3267
- const a = navigator.userAgent || "", e = fr(Co, a);
3267
+ const a = navigator.userAgent || "", e = Sr(Co, a);
3268
3268
  if (!e)
3269
3269
  return r;
3270
3270
  r = e.describe(a);
@@ -3274,19 +3274,19 @@ const { BrowserUtil: Ro } = oe, Ao = "EdgeHTML", Aa = "Blink", _o = "Trident", E
3274
3274
  }, ko = [{ test: [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], describe: () => "Samsung" }, { test: [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i, /\((ipad);[-\w\),; ]+apple/i, /(macintosh);/i], describe: () => "Apple" }, { test: [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], describe: () => "Huawei" }, { test: [/(?:honor)([-\w ]+)[;\)]/i], describe: () => "Honor" }, { test: [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], describe: () => "Xiaomi" }, { test: [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], describe: () => "Oppo" }, { test: [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], describe: () => "Vivo" }, { test: [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], describe: () => "Realme" }, { test: [/(pixel c)\b/i, /droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], describe: () => "Google" }, { test: [/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], describe: () => "ZTE" }, { test: [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], describe: () => "Meizu" }], Po = () => {
3275
3275
  let r = "Unknown";
3276
3276
  try {
3277
- const a = navigator.userAgent || "", e = fr(ko, a);
3277
+ const a = navigator.userAgent || "", e = Sr(ko, a);
3278
3278
  if (!e)
3279
3279
  return r;
3280
3280
  r = e.describe(a);
3281
3281
  } catch (a) {
3282
3282
  }
3283
3283
  return r;
3284
- }, { BrowserUtil: _a, SystenUtil: Ea } = oe, Mo = Ka(), pi = 6e5, gi = { host: "cn-hangzhou.log.aliyuncs.com", project: "alivc-aio", logstore: "logger", time: 10, count: 10 };
3284
+ }, { BrowserUtil: Ea, SystenUtil: Ia } = oe, Mo = Ka(), pi = 6e5, gi = { host: "cn-hangzhou.log.aliyuncs.com", project: "alivc-aio", logstore: "logger", time: 10, count: 10 };
3285
3285
  function Ji() {
3286
- return mr(/* @__PURE__ */ new Date(), "HH:MM:ss.l");
3286
+ return fr(/* @__PURE__ */ new Date(), "HH:MM:ss.l");
3287
3287
  }
3288
- function Ia() {
3289
- return mr(/* @__PURE__ */ new Date(), "isoDate");
3288
+ function Ta() {
3289
+ return fr(/* @__PURE__ */ new Date(), "isoDate");
3290
3290
  }
3291
3291
  var Wa = ((r) => (r[r.DEBUG = 0] = "DEBUG", r[r.INFO = 1] = "INFO", r[r.API = 2] = "API", r[r.WARNING = 3] = "WARNING", r[r.ERROR = 4] = "ERROR", r[r.NONE = 5] = "NONE", r))(Wa || {});
3292
3292
  class Lo {
@@ -3307,7 +3307,7 @@ class Lo {
3307
3307
  g(this, "sendLogBeforeUnload", (a) => T(this, null, function* () {
3308
3308
  if (!this.slsPlugin)
3309
3309
  return;
3310
- this.logSequence += 1, a.unshift(this.getLogParams(710203, { log: `[${Ia()} ${Ji()}] [INF] beforeunload`, stat_log_seq: this.logSequence }));
3310
+ this.logSequence += 1, a.unshift(this.getLogParams(710203, { log: `[${Ta()} ${Ji()}] [INF] beforeunload`, stat_log_seq: this.logSequence }));
3311
3311
  const e = `https://${gi.project}.${gi.host}/logstores/${gi.logstore}`, t = { __logs__: a.map((n) => this.slsPlugin.transString(n)) }, { data: i, header: s } = yield this.slsPlugin.process(e, JSON.stringify(t));
3312
3312
  fetch(e, { keepalive: !0, method: "POST", headers: s, body: i });
3313
3313
  }));
@@ -3377,7 +3377,7 @@ class Lo {
3377
3377
  });
3378
3378
  }
3379
3379
  requestSTSToken() {
3380
- const a = Date.now(), e = `${this.clientId}|woMMssV6jmyol9fr|${a}`, t = { Action: "AssumeSlsRoleV2", AuthInfo: ii.MD5(e).toString(ii.enc.Hex), ClientId: this.clientId, BusinessType: "logger", AppVersion: "1.0", Version: "2017-03-14", AuthTimestamp: `${a}`, TerminalType: "web", DeviceModel: "", Format: "JSON", SignatureMethod: "HMAC-SHA1", SignatureVersion: "1.0", Timestamp: mr(a, "isoUtcDateTime") }, i = new URLSearchParams(t).toString();
3380
+ const a = Date.now(), e = `${this.clientId}|woMMssV6jmyol9fr|${a}`, t = { Action: "AssumeSlsRoleV2", AuthInfo: ii.MD5(e).toString(ii.enc.Hex), ClientId: this.clientId, BusinessType: "logger", AppVersion: "1.0", Version: "2017-03-14", AuthTimestamp: `${a}`, TerminalType: "web", DeviceModel: "", Format: "JSON", SignatureMethod: "HMAC-SHA1", SignatureVersion: "1.0", Timestamp: fr(a, "isoUtcDateTime") }, i = new URLSearchParams(t).toString();
3381
3381
  return fetch(`https://slsrole.alicdn.com/?${i}`).then((s) => s.json()).then((s) => JSON.parse(window.atob(s.SlsAuthResult)));
3382
3382
  }
3383
3383
  createTracker(a) {
@@ -3387,7 +3387,7 @@ class Lo {
3387
3387
  e.accessKeyId = s.AccessKeyId, e.accessKeySecret = s.AccessKeySecret, e.securityToken = s.SecurityToken;
3388
3388
  }).catch(() => {
3389
3389
  });
3390
- } }, t = new pr(gi), i = gr(e);
3390
+ } }, t = new gr(gi), i = mr(e);
3391
3391
  t.useStsPlugin(i), this.slsPlugin = i, this.tracker = t, this.reportStartAndCache();
3392
3392
  }
3393
3393
  }
@@ -3413,7 +3413,7 @@ class Lo {
3413
3413
  a ? this.sendLogBeforeUnload(t) : (this.tracker.sendBatchLogsImmediate(t), this.endReported = !0), this.reset();
3414
3414
  }
3415
3415
  getLogParams(a, e) {
3416
- return J({ appid: `${window.location.host}`, appid_list: this.appId, appver: "", b_sesid: this.bSesid, biz_type: "rtc", cpu_info: Mo, db: _a.browserName, dm: _a.browserVersion, install_uuid: this.clientId, logger_v: "0.0.1", os: Ea.systemName, osv: Ea.systemVersion, p_sesid: this.bSesid, sdk_version: Ii, sdkname: "AliRTCSdk", stm: Date.now(), tar_pf: "web", traceid: this.sessionId, event_id: a }, e || {});
3416
+ return J({ appid: `${window.location.host}`, appid_list: this.appId, appver: "", b_sesid: this.bSesid, biz_type: "rtc", cpu_info: Mo, db: Ea.browserName, dm: Ea.browserVersion, install_uuid: this.clientId, logger_v: "0.0.1", os: Ia.systemName, osv: Ia.systemVersion, p_sesid: this.bSesid, sdk_version: Ii, sdkname: "AliRTCSdk", stm: Date.now(), tar_pf: "web", traceid: this.sessionId, event_id: a }, e || {});
3417
3417
  }
3418
3418
  sendLog(a) {
3419
3419
  if (!this.tracker || !this.sessionId)
@@ -3423,7 +3423,7 @@ class Lo {
3423
3423
  this.tracker.send(e);
3424
3424
  }
3425
3425
  addLog(a) {
3426
- const e = Ji(), t = `[${Ia()} ${e}] ${a}`;
3426
+ const e = Ji(), t = `[${Ta()} ${e}] ${a}`;
3427
3427
  this.sessionId && this.tracker ? this.sendLog(t) : (this.logCache.push(t), this.logCache.length >= 200 && this.logCache.shift());
3428
3428
  }
3429
3429
  }
@@ -3546,7 +3546,7 @@ var Ri = ((r) => (r[r.LiveTranscodingSingle = 0] = "LiveTranscodingSingle", r[r.
3546
3546
  const ri = { 0: "camera", 1: "shareScreen" };
3547
3547
  var Ja = ((r) => (r[r.LiveTranscoding_Profile_1IN_1080P = 0] = "LiveTranscoding_Profile_1IN_1080P", r[r.LiveTranscoding_Profile_1IN_720P = 1] = "LiveTranscoding_Profile_1IN_720P", r[r.LiveTranscoding_Profile_1IN_360P = 2] = "LiveTranscoding_Profile_1IN_360P", r[r.LiveTranscoding_Profile_2IN_1080P = 3] = "LiveTranscoding_Profile_2IN_1080P", r[r.LiveTranscoding_Profile_2IN_720P = 4] = "LiveTranscoding_Profile_2IN_720P", r[r.LiveTranscoding_Profile_2IN_360P = 5] = "LiveTranscoding_Profile_2IN_360P", r[r.LiveTranscoding_Profile_4IN_1080P = 6] = "LiveTranscoding_Profile_4IN_1080P", r[r.LiveTranscoding_Profile_4IN_720P = 7] = "LiveTranscoding_Profile_4IN_720P", r[r.LiveTranscoding_Profile_4IN_360P = 8] = "LiveTranscoding_Profile_4IN_360P", r[r.LiveTranscoding_Profile_9IN_1080P = 9] = "LiveTranscoding_Profile_9IN_1080P", r[r.LiveTranscoding_Profile_9IN_720P = 10] = "LiveTranscoding_Profile_9IN_720P", r[r.LiveTranscoding_Profile_9IN_360P = 11] = "LiveTranscoding_Profile_9IN_360P", r[r.LiveTranscoding_Profile_12IN_1080P = 12] = "LiveTranscoding_Profile_12IN_1080P", r[r.LiveTranscoding_Profile_12IN_720P = 13] = "LiveTranscoding_Profile_12IN_720P", r[r.LiveTranscoding_Profile_12IN_360P = 14] = "LiveTranscoding_Profile_12IN_360P", r[r.LiveTranscoding_Profile_16IN_1080P = 15] = "LiveTranscoding_Profile_16IN_1080P", r[r.LiveTranscoding_Profile_16IN_720P = 16] = "LiveTranscoding_Profile_16IN_720P", r[r.LiveTranscoding_Profile_16IN_360P = 17] = "LiveTranscoding_Profile_16IN_360P", r[r.LiveTranscoding_Profile_Mixed = 9999] = "LiveTranscoding_Profile_Mixed", r))(Ja || {});
3548
3548
  const Vo = { 0: "1IN_1080P", 1: "1IN_720P", 2: "1IN_360P", 3: "2IN_1080P", 4: "2IN_720P", 5: "2IN_360P", 6: "4IN_1080P", 7: "4IN_720P", 8: "4IN_360P", 9: "9IN_1080P", 10: "9IN_720P", 11: "9IN_360P", 12: "12IN_1080P", 13: "12IN_720P", 14: "12IN_360P", 15: "16IN_1080P", 16: "16IN_720P", 17: "16IN_360P", 9999: "Mixed_Audio" };
3549
- var Sr = ((r) => (r[r.LiveTranscoding_HZ_48000 = 48e3] = "LiveTranscoding_HZ_48000", r[r.LiveTranscoding_HZ_44100 = 44100] = "LiveTranscoding_HZ_44100", r[r.LiveTranscoding_HZ_32000 = 32e3] = "LiveTranscoding_HZ_32000", r[r.LiveTranscoding_HZ_16000 = 16e3] = "LiveTranscoding_HZ_16000", r[r.LiveTranscoding_HZ_8000 = 8e3] = "LiveTranscoding_HZ_8000", r))(Sr || {}), Ai = ((r) => (r[r.LiveTranscodingNoBody = 0] = "LiveTranscodingNoBody", r[r.LiveTranscodingBody = 1] = "LiveTranscodingBody", r))(Ai || {}), wi = ((r) => (r[r.NOTO_SERIF_CJKSC_REGULAR = 0] = "NOTO_SERIF_CJKSC_REGULAR", r[r.ALIBABA_PUHUITI_REGULAR = 1] = "ALIBABA_PUHUITI_REGULAR", r[r.ALIBABA_PUHUITI_BOLD = 2] = "ALIBABA_PUHUITI_BOLD", r[r.ALIBABA_PUHUITI_Heavy = 3] = "ALIBABA_PUHUITI_Heavy", r[r.ALIBABA_PUHUITI_LIGHT = 4] = "ALIBABA_PUHUITI_LIGHT", r[r.ALIBABA_PUHUITI_MEDIUM = 5] = "ALIBABA_PUHUITI_MEDIUM", r))(wi || {}), Ga = ((r) => (r[r.LiveTranscodingOrigin = 0] = "LiveTranscodingOrigin", r[r.LiveTranscodingCrop = 1] = "LiveTranscodingCrop", r[r.LiveTranscodingFill = 2] = "LiveTranscodingFill", r))(Ga || {}), br = ((r) => (r[r.LiveTranscodingNormal = 0] = "LiveTranscodingNormal", r[r.LiveTranscodingVirtualBackground = 1] = "LiveTranscodingVirtualBackground", r))(br || {}), qa = ((r) => (r[r.LiveTranscodingState_IDLE = 0] = "LiveTranscodingState_IDLE", r[r.LiveTranscodingState_CONNNECT = 1] = "LiveTranscodingState_CONNNECT", r[r.LiveTranscodingState_RUNNING = 2] = "LiveTranscodingState_RUNNING", r[r.LiveTranscodingState_RECOVERING = 3] = "LiveTranscodingState_RECOVERING", r[r.LiveTranscodingState_FAILURE = 4] = "LiveTranscodingState_FAILURE", r[r.LiveTranscodingState_END = 5] = "LiveTranscodingState_END", r))(qa || {}), ut = ((r) => (r[r.LiveTranscodingErrorPublishOk = 0] = "LiveTranscodingErrorPublishOk", r[r.LiveTranscodingErrorStreamNotFound = 17825793] = "LiveTranscodingErrorStreamNotFound", r[r.LiveTranscodingErrorStreamAlreadyExist = 17825794] = "LiveTranscodingErrorStreamAlreadyExist", r[r.LiveTranscodingErrorInvalidParam = 17825795] = "LiveTranscodingErrorInvalidParam", r[r.LiveTranscodingErrorInternalError = 17825796] = "LiveTranscodingErrorInternalError", r[r.LiveTranscodingErrorRtmpServerError = 17825797] = "LiveTranscodingErrorRtmpServerError", r[r.LiveTranscodingErrorRtmpStreamUrlError = 17825798] = "LiveTranscodingErrorRtmpStreamUrlError", r[r.LiveTranscodingErrorPublishTimeout = 17825799] = "LiveTranscodingErrorPublishTimeout", r[r.LiveTranscodingErrorNotAuthorized = 17825800] = "LiveTranscodingErrorNotAuthorized", r))(ut || {}), Xa = ((r) => (r[r.TrascodingPublishTaskStatusStart = 0] = "TrascodingPublishTaskStatusStart", r[r.TrascodingPublishTaskStatusUpdate = 1] = "TrascodingPublishTaskStatusUpdate", r[r.TrascodingPublishTaskStatusStop = 2] = "TrascodingPublishTaskStatusStop", r))(Xa || {}), We = ((r) => (r[r.MPU_TASK_TRANSACTION_START = 0] = "MPU_TASK_TRANSACTION_START", r[r.MPU_TASK_TRANSACTION_UPDATE = 1] = "MPU_TASK_TRANSACTION_UPDATE", r[r.MPU_TASK_TRANSACTION_STOP = 2] = "MPU_TASK_TRANSACTION_STOP", r[r.MPU_TASK_TRANSACTION_LIST = 3] = "MPU_TASK_TRANSACTION_LIST", r[r.MPU_TASK_TRANSACTION_POLLING = 4] = "MPU_TASK_TRANSACTION_POLLING", r[r.MPU_TASK_TRANSACTION_ACKNOWLEDGE = 5] = "MPU_TASK_TRANSACTION_ACKNOWLEDGE", r[r.MPU_TASK_TRANSACTION_END = 6] = "MPU_TASK_TRANSACTION_END", r))(We || {});
3549
+ var br = ((r) => (r[r.LiveTranscoding_HZ_48000 = 48e3] = "LiveTranscoding_HZ_48000", r[r.LiveTranscoding_HZ_44100 = 44100] = "LiveTranscoding_HZ_44100", r[r.LiveTranscoding_HZ_32000 = 32e3] = "LiveTranscoding_HZ_32000", r[r.LiveTranscoding_HZ_16000 = 16e3] = "LiveTranscoding_HZ_16000", r[r.LiveTranscoding_HZ_8000 = 8e3] = "LiveTranscoding_HZ_8000", r))(br || {}), Ai = ((r) => (r[r.LiveTranscodingNoBody = 0] = "LiveTranscodingNoBody", r[r.LiveTranscodingBody = 1] = "LiveTranscodingBody", r))(Ai || {}), wi = ((r) => (r[r.NOTO_SERIF_CJKSC_REGULAR = 0] = "NOTO_SERIF_CJKSC_REGULAR", r[r.ALIBABA_PUHUITI_REGULAR = 1] = "ALIBABA_PUHUITI_REGULAR", r[r.ALIBABA_PUHUITI_BOLD = 2] = "ALIBABA_PUHUITI_BOLD", r[r.ALIBABA_PUHUITI_Heavy = 3] = "ALIBABA_PUHUITI_Heavy", r[r.ALIBABA_PUHUITI_LIGHT = 4] = "ALIBABA_PUHUITI_LIGHT", r[r.ALIBABA_PUHUITI_MEDIUM = 5] = "ALIBABA_PUHUITI_MEDIUM", r))(wi || {}), Ga = ((r) => (r[r.LiveTranscodingOrigin = 0] = "LiveTranscodingOrigin", r[r.LiveTranscodingCrop = 1] = "LiveTranscodingCrop", r[r.LiveTranscodingFill = 2] = "LiveTranscodingFill", r))(Ga || {}), vr = ((r) => (r[r.LiveTranscodingNormal = 0] = "LiveTranscodingNormal", r[r.LiveTranscodingVirtualBackground = 1] = "LiveTranscodingVirtualBackground", r))(vr || {}), qa = ((r) => (r[r.LiveTranscodingState_IDLE = 0] = "LiveTranscodingState_IDLE", r[r.LiveTranscodingState_CONNNECT = 1] = "LiveTranscodingState_CONNNECT", r[r.LiveTranscodingState_RUNNING = 2] = "LiveTranscodingState_RUNNING", r[r.LiveTranscodingState_RECOVERING = 3] = "LiveTranscodingState_RECOVERING", r[r.LiveTranscodingState_FAILURE = 4] = "LiveTranscodingState_FAILURE", r[r.LiveTranscodingState_END = 5] = "LiveTranscodingState_END", r))(qa || {}), ut = ((r) => (r[r.LiveTranscodingErrorPublishOk = 0] = "LiveTranscodingErrorPublishOk", r[r.LiveTranscodingErrorStreamNotFound = 17825793] = "LiveTranscodingErrorStreamNotFound", r[r.LiveTranscodingErrorStreamAlreadyExist = 17825794] = "LiveTranscodingErrorStreamAlreadyExist", r[r.LiveTranscodingErrorInvalidParam = 17825795] = "LiveTranscodingErrorInvalidParam", r[r.LiveTranscodingErrorInternalError = 17825796] = "LiveTranscodingErrorInternalError", r[r.LiveTranscodingErrorRtmpServerError = 17825797] = "LiveTranscodingErrorRtmpServerError", r[r.LiveTranscodingErrorRtmpStreamUrlError = 17825798] = "LiveTranscodingErrorRtmpStreamUrlError", r[r.LiveTranscodingErrorPublishTimeout = 17825799] = "LiveTranscodingErrorPublishTimeout", r[r.LiveTranscodingErrorNotAuthorized = 17825800] = "LiveTranscodingErrorNotAuthorized", r))(ut || {}), Xa = ((r) => (r[r.TrascodingPublishTaskStatusStart = 0] = "TrascodingPublishTaskStatusStart", r[r.TrascodingPublishTaskStatusUpdate = 1] = "TrascodingPublishTaskStatusUpdate", r[r.TrascodingPublishTaskStatusStop = 2] = "TrascodingPublishTaskStatusStop", r))(Xa || {}), We = ((r) => (r[r.MPU_TASK_TRANSACTION_START = 0] = "MPU_TASK_TRANSACTION_START", r[r.MPU_TASK_TRANSACTION_UPDATE = 1] = "MPU_TASK_TRANSACTION_UPDATE", r[r.MPU_TASK_TRANSACTION_STOP = 2] = "MPU_TASK_TRANSACTION_STOP", r[r.MPU_TASK_TRANSACTION_LIST = 3] = "MPU_TASK_TRANSACTION_LIST", r[r.MPU_TASK_TRANSACTION_POLLING = 4] = "MPU_TASK_TRANSACTION_POLLING", r[r.MPU_TASK_TRANSACTION_ACKNOWLEDGE = 5] = "MPU_TASK_TRANSACTION_ACKNOWLEDGE", r[r.MPU_TASK_TRANSACTION_END = 6] = "MPU_TASK_TRANSACTION_END", r))(We || {});
3550
3550
  const Oo = { 0: "/libra/v1/sdk/start-task", 1: "/libra/v1/sdk/update-task", 2: "/libra/v1/sdk/stop-task", 3: "/libra/v1/sdk/list-task", 4: "/libra/v1/sdk/polling", 5: "/libra/v1/sdk/acknowledge", 6: "/" };
3551
3551
  class Ya {
3552
3552
  constructor(a, e, t, i, s, n, o, c) {
@@ -3555,19 +3555,19 @@ class Ya {
3555
3555
  g(this, "videoFramerate", 20);
3556
3556
  g(this, "videoBitrate", 2e3);
3557
3557
  g(this, "videoGop", 30);
3558
- g(this, "audioSamplerate", Sr.LiveTranscoding_HZ_44100);
3558
+ g(this, "audioSamplerate", br.LiveTranscoding_HZ_44100);
3559
3559
  g(this, "audioBitrate", 500);
3560
3560
  g(this, "audioChannels", 1);
3561
3561
  this.videoWidth = a, this.videoHeight = e, t && (this.videoFramerate = t), i && (this.videoBitrate = i), s && (this.videoGop = s), n && (this.audioSamplerate = n), o && (this.audioBitrate = o), c && (this.audioChannels = c);
3562
3562
  }
3563
3563
  }
3564
- const vr = (r) => ((16711680 & r) >> 16) + (65280 & r) + ((255 & r) << 16), tt = (r = 0, a) => {
3564
+ const yr = (r) => ((16711680 & r) >> 16) + (65280 & r) + ((255 & r) << 16), tt = (r = 0, a) => {
3565
3565
  if (a == 0)
3566
3566
  return 0;
3567
3567
  let e = r / a;
3568
3568
  return e < 0 && (e = 0), e > 1 && (e = 1), e;
3569
3569
  };
3570
- class ir {
3570
+ class rr {
3571
3571
  constructor(a, e, t) {
3572
3572
  g(this, "mixMode", Ri.LiveTranscodingSingle);
3573
3573
  g(this, "singleParam");
@@ -3598,14 +3598,14 @@ class ir {
3598
3598
  b > 0 && (u[l.toLowerCase()] = b);
3599
3599
  }), u.lowbitratehighquality = 0, n.encodeparam = u, n.backgrounds = o.backgrounds.map((l) => l.toJson(h, d)), n.watermarks = o.watermarks.map((l) => l.toJson(h, d)), n.clockwidgets = o.clockWidgets.map((l) => l.toJson(h, d));
3600
3600
  const f = o.users.map((l) => l.userId);
3601
- n.subspecusers = [...new Set(f)], n.layouts = [{ audiomixcount: o.users.length, panes: o.users.map((l, b) => l.toJson(b, h, d, o.mediaProcessMode)) }], n.layoutids = ["0"], n.cropmode = o.cropMode, n.backgroundcolor = vr(o.backgroundColor), n.taskmode = o.mediaProcessMode;
3601
+ n.subspecusers = [...new Set(f)], n.layouts = [{ audiomixcount: o.users.length, panes: o.users.map((l, b) => l.toJson(b, h, d, o.mediaProcessMode)) }], n.layoutids = ["0"], n.cropmode = o.cropMode, n.backgroundcolor = yr(o.backgroundColor), n.taskmode = o.mediaProcessMode;
3602
3602
  }
3603
3603
  }
3604
3604
  }
3605
3605
  return n;
3606
3606
  }
3607
3607
  }
3608
- var mt = ((r) => (r.pre = "pre", r.prod = "prod", r))(mt || {}), At = ((r) => (r.AliRtcSdkCommunication = "communication", r.AliRtcSdkInteractiveLive = "interactive_live", r.AliRtcSdkInteractiveWithLowLatencyLive = "cdn_live", r))(At || {}), Vt = ((r) => (r.AliRtcSdkInteractive = "interactive", r.AliRtcSdkLive = "live", r))(Vt || {}), pt = ((r) => (r[r.AliEngineLocalDeviceTypeUnknown = 0] = "AliEngineLocalDeviceTypeUnknown", r[r.AliEngineLocalDeviceTypeMic = 1] = "AliEngineLocalDeviceTypeMic", r[r.AliEngineLocalDeviceTypeSpeaker = 2] = "AliEngineLocalDeviceTypeSpeaker", r[r.AliEngineLocalDeviceTypeAudioDevice = 3] = "AliEngineLocalDeviceTypeAudioDevice", r[r.AliEngineLocalDeviceTypeCamera = 4] = "AliEngineLocalDeviceTypeCamera", r[r.AliEngineLocalDeviceTypeDisplay = 5] = "AliEngineLocalDeviceTypeDisplay", r[r.AliEngineLocalDeviceTypeVideoDevice = 6] = "AliEngineLocalDeviceTypeVideoDevice", r))(pt || {}), Ee = ((r) => (r[r.AliEngineLocalDeviceExceptionTypeUnknown = 0] = "AliEngineLocalDeviceExceptionTypeUnknown", r[r.AliEngineLocalDeviceExceptionTypeMicOpenFail = 1] = "AliEngineLocalDeviceExceptionTypeMicOpenFail", r[r.AliEngineLocalDeviceExceptionTypeMicInterrupt = 2] = "AliEngineLocalDeviceExceptionTypeMicInterrupt", r[r.AliEngineLocalDeviceExceptionTypeMicAuthFail = 3] = "AliEngineLocalDeviceExceptionTypeMicAuthFail", r[r.AliEngineLocalDeviceExceptionTypeMicNotAvailable = 4] = "AliEngineLocalDeviceExceptionTypeMicNotAvailable", r[r.AliEngineLocalDeviceExceptionTypeSpeakerOpenFail = 5] = "AliEngineLocalDeviceExceptionTypeSpeakerOpenFail", r[r.AliEngineLocalDeviceExceptionTypeSpeakerInterrupt = 6] = "AliEngineLocalDeviceExceptionTypeSpeakerInterrupt", r[r.AliEngineLocalDeviceExceptionTypeSpeakerNotAvailable = 7] = "AliEngineLocalDeviceExceptionTypeSpeakerNotAvailable", r[r.AliEngineLocalDeviceExceptionTypeAudioDeviceException = 8] = "AliEngineLocalDeviceExceptionTypeAudioDeviceException", r[r.AliEngineLocalDeviceExceptionTypeCameraOpenFail = 9] = "AliEngineLocalDeviceExceptionTypeCameraOpenFail", r[r.AliEngineLocalDeviceExceptionTypeCameraInterrupt = 10] = "AliEngineLocalDeviceExceptionTypeCameraInterrupt", r[r.AliEngineLocalDeviceExceptionTypeCameraAuthFail = 11] = "AliEngineLocalDeviceExceptionTypeCameraAuthFail", r[r.AliEngineLocalDeviceExceptionTypeDisplayException = 12] = "AliEngineLocalDeviceExceptionTypeDisplayException", r[r.AliEngineLocalDeviceExceptionTypeVideoDeviceException = 13] = "AliEngineLocalDeviceExceptionTypeVideoDeviceException", r))(Ee || {}), re = ((r) => (r[r.AliRtcConnectionStatusInit = 0] = "AliRtcConnectionStatusInit", r[r.AliRtcConnectionStatusDisconnected = 1] = "AliRtcConnectionStatusDisconnected", r[r.AliRtcConnectionStatusConnecting = 2] = "AliRtcConnectionStatusConnecting", r[r.AliRtcConnectionStatusConnected = 3] = "AliRtcConnectionStatusConnected", r[r.AliRtcConnectionStatusReconnecting = 4] = "AliRtcConnectionStatusReconnecting", r[r.AliRtcConnectionStatusFailed = 5] = "AliRtcConnectionStatusFailed", r))(re || {}), $t = ((r) => (r[r.AliRtcConnectionChangedDummyReason = 0] = "AliRtcConnectionChangedDummyReason", r[r.AliRtcConnectionMediaPathChanged = 1] = "AliRtcConnectionMediaPathChanged", r[r.AliRtcConnectionSignalingHeartbeatTimeout = 2] = "AliRtcConnectionSignalingHeartbeatTimeout", r[r.AliRtcConnectionSignalingHeartbeatAlive = 3] = "AliRtcConnectionSignalingHeartbeatAlive", r[r.AliRtcConnectionSignalingHttpDnsResolved = 4] = "AliRtcConnectionSignalingHttpDnsResolved", r[r.AliRtcConnectionSignalingHttpDnsFailure = 5] = "AliRtcConnectionSignalingHttpDnsFailure", r[r.AliRtcConnectionSignalingGslbFailure = 6] = "AliRtcConnectionSignalingGslbFailure", r[r.AliRtcConnectionSignalingGslbSuccess = 7] = "AliRtcConnectionSignalingGslbSuccess", r[r.AliRtcConnectionSignalingJoinRoomFailure = 8] = "AliRtcConnectionSignalingJoinRoomFailure", r[r.AliRtcConnectionSignalingJoinRoomSuccess = 9] = "AliRtcConnectionSignalingJoinRoomSuccess", r[r.AliRtcConnectionSignalingLeaveRoom = 10] = "AliRtcConnectionSignalingLeaveRoom", r[r.AliRtcConnectionSignalingConnecting = 11] = "AliRtcConnectionSignalingConnecting", r[r.AliRtcConnectionChangedNetworkInterrupted = 12] = "AliRtcConnectionChangedNetworkInterrupted", r))($t || {}), yr = ((r) => (r[r.AliRtcUserOfflineQuit = 0] = "AliRtcUserOfflineQuit", r[r.AliRtcUserOfflineDropped = 1] = "AliRtcUserOfflineDropped", r[r.AliRtcUserOfflineBecomeAudience = 2] = "AliRtcUserOfflineBecomeAudience", r))(yr || {}), Yt = ((r) => (r[r.AliRtcAudioTrackNo = 0] = "AliRtcAudioTrackNo", r[r.AliRtcAudioTrackMic = 1] = "AliRtcAudioTrackMic", r[r.AliRtcAudioTrackDual = 2] = "AliRtcAudioTrackDual", r))(Yt || {}), ee = ((r) => (r[r.AliRtcVideoTrackNo = 0] = "AliRtcVideoTrackNo", r[r.AliRtcVideoTrackCamera = 1] = "AliRtcVideoTrackCamera", r[r.AliRtcVideoTrackScreen = 2] = "AliRtcVideoTrackScreen", r[r.AliRtcVideoTrackBoth = 3] = "AliRtcVideoTrackBoth", r))(ee || {}), Y = ((r) => (r[r.AliRtcStatePublishIdle = 0] = "AliRtcStatePublishIdle", r[r.AliRtcStateNoPublish = 1] = "AliRtcStateNoPublish", r[r.AliRtcStatePublishing = 2] = "AliRtcStatePublishing", r[r.AliRtcStatePublished = 3] = "AliRtcStatePublished", r))(Y || {}), ae = ((r) => (r[r.AliRtcStateSubscribeIdle = 0] = "AliRtcStateSubscribeIdle", r[r.AliRtcStateNoSubscribe = 1] = "AliRtcStateNoSubscribe", r[r.AliRtcStateSubscribing = 2] = "AliRtcStateSubscribing", r[r.AliRtcStateSubscribed = 3] = "AliRtcStateSubscribed", r))(ae || {}), De = ((r) => (r[r.AliRtcVideoStreamTypeNone = 0] = "AliRtcVideoStreamTypeNone", r[r.AliRtcVideoStreamTypeHigh = 1] = "AliRtcVideoStreamTypeHigh", r[r.AliRtcVideoStreamTypeLow = 2] = "AliRtcVideoStreamTypeLow", r))(De || {}), oi = ((r) => (r[r.CAMERA_INVALID = -1] = "CAMERA_INVALID", r[r.CAMERA_REAR = 0] = "CAMERA_REAR", r[r.CAMERA_FRONT = 1] = "CAMERA_FRONT", r))(oi || {});
3608
+ var mt = ((r) => (r.pre = "pre", r.prod = "prod", r))(mt || {}), At = ((r) => (r.AliRtcSdkCommunication = "communication", r.AliRtcSdkInteractiveLive = "interactive_live", r.AliRtcSdkInteractiveWithLowLatencyLive = "cdn_live", r))(At || {}), Vt = ((r) => (r.AliRtcSdkInteractive = "interactive", r.AliRtcSdkLive = "live", r))(Vt || {}), pt = ((r) => (r[r.AliEngineLocalDeviceTypeUnknown = 0] = "AliEngineLocalDeviceTypeUnknown", r[r.AliEngineLocalDeviceTypeMic = 1] = "AliEngineLocalDeviceTypeMic", r[r.AliEngineLocalDeviceTypeSpeaker = 2] = "AliEngineLocalDeviceTypeSpeaker", r[r.AliEngineLocalDeviceTypeAudioDevice = 3] = "AliEngineLocalDeviceTypeAudioDevice", r[r.AliEngineLocalDeviceTypeCamera = 4] = "AliEngineLocalDeviceTypeCamera", r[r.AliEngineLocalDeviceTypeDisplay = 5] = "AliEngineLocalDeviceTypeDisplay", r[r.AliEngineLocalDeviceTypeVideoDevice = 6] = "AliEngineLocalDeviceTypeVideoDevice", r))(pt || {}), Ee = ((r) => (r[r.AliEngineLocalDeviceExceptionTypeUnknown = 0] = "AliEngineLocalDeviceExceptionTypeUnknown", r[r.AliEngineLocalDeviceExceptionTypeMicOpenFail = 1] = "AliEngineLocalDeviceExceptionTypeMicOpenFail", r[r.AliEngineLocalDeviceExceptionTypeMicInterrupt = 2] = "AliEngineLocalDeviceExceptionTypeMicInterrupt", r[r.AliEngineLocalDeviceExceptionTypeMicAuthFail = 3] = "AliEngineLocalDeviceExceptionTypeMicAuthFail", r[r.AliEngineLocalDeviceExceptionTypeMicNotAvailable = 4] = "AliEngineLocalDeviceExceptionTypeMicNotAvailable", r[r.AliEngineLocalDeviceExceptionTypeSpeakerOpenFail = 5] = "AliEngineLocalDeviceExceptionTypeSpeakerOpenFail", r[r.AliEngineLocalDeviceExceptionTypeSpeakerInterrupt = 6] = "AliEngineLocalDeviceExceptionTypeSpeakerInterrupt", r[r.AliEngineLocalDeviceExceptionTypeSpeakerNotAvailable = 7] = "AliEngineLocalDeviceExceptionTypeSpeakerNotAvailable", r[r.AliEngineLocalDeviceExceptionTypeAudioDeviceException = 8] = "AliEngineLocalDeviceExceptionTypeAudioDeviceException", r[r.AliEngineLocalDeviceExceptionTypeCameraOpenFail = 9] = "AliEngineLocalDeviceExceptionTypeCameraOpenFail", r[r.AliEngineLocalDeviceExceptionTypeCameraInterrupt = 10] = "AliEngineLocalDeviceExceptionTypeCameraInterrupt", r[r.AliEngineLocalDeviceExceptionTypeCameraAuthFail = 11] = "AliEngineLocalDeviceExceptionTypeCameraAuthFail", r[r.AliEngineLocalDeviceExceptionTypeDisplayException = 12] = "AliEngineLocalDeviceExceptionTypeDisplayException", r[r.AliEngineLocalDeviceExceptionTypeVideoDeviceException = 13] = "AliEngineLocalDeviceExceptionTypeVideoDeviceException", r))(Ee || {}), re = ((r) => (r[r.AliRtcConnectionStatusInit = 0] = "AliRtcConnectionStatusInit", r[r.AliRtcConnectionStatusDisconnected = 1] = "AliRtcConnectionStatusDisconnected", r[r.AliRtcConnectionStatusConnecting = 2] = "AliRtcConnectionStatusConnecting", r[r.AliRtcConnectionStatusConnected = 3] = "AliRtcConnectionStatusConnected", r[r.AliRtcConnectionStatusReconnecting = 4] = "AliRtcConnectionStatusReconnecting", r[r.AliRtcConnectionStatusFailed = 5] = "AliRtcConnectionStatusFailed", r))(re || {}), $t = ((r) => (r[r.AliRtcConnectionChangedDummyReason = 0] = "AliRtcConnectionChangedDummyReason", r[r.AliRtcConnectionMediaPathChanged = 1] = "AliRtcConnectionMediaPathChanged", r[r.AliRtcConnectionSignalingHeartbeatTimeout = 2] = "AliRtcConnectionSignalingHeartbeatTimeout", r[r.AliRtcConnectionSignalingHeartbeatAlive = 3] = "AliRtcConnectionSignalingHeartbeatAlive", r[r.AliRtcConnectionSignalingHttpDnsResolved = 4] = "AliRtcConnectionSignalingHttpDnsResolved", r[r.AliRtcConnectionSignalingHttpDnsFailure = 5] = "AliRtcConnectionSignalingHttpDnsFailure", r[r.AliRtcConnectionSignalingGslbFailure = 6] = "AliRtcConnectionSignalingGslbFailure", r[r.AliRtcConnectionSignalingGslbSuccess = 7] = "AliRtcConnectionSignalingGslbSuccess", r[r.AliRtcConnectionSignalingJoinRoomFailure = 8] = "AliRtcConnectionSignalingJoinRoomFailure", r[r.AliRtcConnectionSignalingJoinRoomSuccess = 9] = "AliRtcConnectionSignalingJoinRoomSuccess", r[r.AliRtcConnectionSignalingLeaveRoom = 10] = "AliRtcConnectionSignalingLeaveRoom", r[r.AliRtcConnectionSignalingConnecting = 11] = "AliRtcConnectionSignalingConnecting", r[r.AliRtcConnectionChangedNetworkInterrupted = 12] = "AliRtcConnectionChangedNetworkInterrupted", r))($t || {}), Rr = ((r) => (r[r.AliRtcUserOfflineQuit = 0] = "AliRtcUserOfflineQuit", r[r.AliRtcUserOfflineDropped = 1] = "AliRtcUserOfflineDropped", r[r.AliRtcUserOfflineBecomeAudience = 2] = "AliRtcUserOfflineBecomeAudience", r))(Rr || {}), Yt = ((r) => (r[r.AliRtcAudioTrackNo = 0] = "AliRtcAudioTrackNo", r[r.AliRtcAudioTrackMic = 1] = "AliRtcAudioTrackMic", r[r.AliRtcAudioTrackDual = 2] = "AliRtcAudioTrackDual", r))(Yt || {}), ee = ((r) => (r[r.AliRtcVideoTrackNo = 0] = "AliRtcVideoTrackNo", r[r.AliRtcVideoTrackCamera = 1] = "AliRtcVideoTrackCamera", r[r.AliRtcVideoTrackScreen = 2] = "AliRtcVideoTrackScreen", r[r.AliRtcVideoTrackBoth = 3] = "AliRtcVideoTrackBoth", r))(ee || {}), Y = ((r) => (r[r.AliRtcStatePublishIdle = 0] = "AliRtcStatePublishIdle", r[r.AliRtcStateNoPublish = 1] = "AliRtcStateNoPublish", r[r.AliRtcStatePublishing = 2] = "AliRtcStatePublishing", r[r.AliRtcStatePublished = 3] = "AliRtcStatePublished", r))(Y || {}), ae = ((r) => (r[r.AliRtcStateSubscribeIdle = 0] = "AliRtcStateSubscribeIdle", r[r.AliRtcStateNoSubscribe = 1] = "AliRtcStateNoSubscribe", r[r.AliRtcStateSubscribing = 2] = "AliRtcStateSubscribing", r[r.AliRtcStateSubscribed = 3] = "AliRtcStateSubscribed", r))(ae || {}), De = ((r) => (r[r.AliRtcVideoStreamTypeNone = 0] = "AliRtcVideoStreamTypeNone", r[r.AliRtcVideoStreamTypeHigh = 1] = "AliRtcVideoStreamTypeHigh", r[r.AliRtcVideoStreamTypeLow = 2] = "AliRtcVideoStreamTypeLow", r))(De || {}), oi = ((r) => (r[r.CAMERA_INVALID = -1] = "CAMERA_INVALID", r[r.CAMERA_REAR = 0] = "CAMERA_REAR", r[r.CAMERA_FRONT = 1] = "CAMERA_FRONT", r))(oi || {});
3609
3609
  const Jt = class Jt extends Ce {
3610
3610
  constructor(e) {
3611
3611
  super();
@@ -3672,7 +3672,7 @@ const Jt = class Jt extends Ce {
3672
3672
  }
3673
3673
  };
3674
3674
  g(Jt, "logName", "Socket");
3675
- let rr = Jt;
3675
+ let sr = Jt;
3676
3676
  var Ae = ((r) => (r.KEEPALIVE = "keepalive", r.JOINCHANNEL = "joinchannel", r.NOTIFYJOIN = "notifyjoin", r.NOTIFYSTATUS = "notifystatus", r.STATUSREPORT = "statusreport", r.LEAVECHANNEL = "leavechannel", r.NOTIFYLEAVE = "notifyleave", r.NOTIFYPUBLISH = "notifypublish", r.BYE = "bye", r.RECONNECT = "reconnect", r.PUBLISH = "publish", r.REFRESHURL = "refreshurl", r.UNSUBSCRIBE = "unsubscribe", r.ROLEUPDATE = "roleupdate", r))(Ae || {});
3677
3677
  class xo {
3678
3678
  constructor(a, e) {
@@ -3774,7 +3774,7 @@ const Ge = class Ge extends Ce {
3774
3774
  g(this, "aliveChecker", 0);
3775
3775
  g(this, "reconnectData");
3776
3776
  g(this, "joinChannelExtraData");
3777
- this.authInfo = e, this.userName = t, this.packageCreater = new xo(e, t), this.channelProfile = i, this.clientRole = s, this.slsReporter = n, this.wsClient = new rr(o), this.wsClient.on("onOpen", this.onOpen.bind(this)), this.wsClient.on("onMessage", this.onMessage.bind(this)), this.wsClient.on("onError", this.onError.bind(this)), this.wsClient.on("onClose", this.onClose.bind(this)), this.wsClient.on("onConnectFail", this.onConnectFail.bind(this)), this.wsClient.on("onAuthInvalid", this.onAuthInvalid.bind(this)), this.wsClient.on("onNetworkError", this.onNetworkError.bind(this)), this.wsClient.on("onReconnectStart", this.onReconnectStart.bind(this)), this.wsClient.on("onReconnectFail", this.onReconnectFail.bind(this));
3777
+ this.authInfo = e, this.userName = t, this.packageCreater = new xo(e, t), this.channelProfile = i, this.clientRole = s, this.slsReporter = n, this.wsClient = new sr(o), this.wsClient.on("onOpen", this.onOpen.bind(this)), this.wsClient.on("onMessage", this.onMessage.bind(this)), this.wsClient.on("onError", this.onError.bind(this)), this.wsClient.on("onClose", this.onClose.bind(this)), this.wsClient.on("onConnectFail", this.onConnectFail.bind(this)), this.wsClient.on("onAuthInvalid", this.onAuthInvalid.bind(this)), this.wsClient.on("onNetworkError", this.onNetworkError.bind(this)), this.wsClient.on("onReconnectStart", this.onReconnectStart.bind(this)), this.wsClient.on("onReconnectFail", this.onReconnectFail.bind(this));
3778
3778
  }
3779
3779
  get retryCount() {
3780
3780
  return this.wsClient.connectRetryCount;
@@ -3809,7 +3809,7 @@ const Ge = class Ge extends Ce {
3809
3809
  let s = this.packageCreater.createPublishPackage();
3810
3810
  s.data.users = [], s.data.l1ip = t, i.subscribe.signal = this.wsClient.connectUrl;
3811
3811
  const { tracks: n, resume: o } = i;
3812
- let c = "7.0.0";
3812
+ let c = "7.1.0-beta.1";
3813
3813
  c && (c = c.split("-")[0]), n.forEach((d) => {
3814
3814
  const { codec: u, ssrc: f } = d;
3815
3815
  d.userdata = JSON.stringify({ sdk_version: c, codec: u }), d.ssrc = `${f}`, o && (d.attr = { reason: "reconnect" });
@@ -3981,7 +3981,7 @@ const Ge = class Ge extends Ce {
3981
3981
  }
3982
3982
  };
3983
3983
  g(Ge, "logName", "RSMessageCenter");
3984
- let sr = Ge;
3984
+ let ar = Ge;
3985
3985
  const w = (r, a) => (e, t, i) => {
3986
3986
  const s = i.value;
3987
3987
  return i.value = function(...n) {
@@ -4051,7 +4051,7 @@ const Si = (Ue = class extends Ce {
4051
4051
  return T(this, null, function* () {
4052
4052
  return new Promise((n, o) => {
4053
4053
  const c = {};
4054
- this.authInfo = e, this.userName = t, this.messageCenter = new sr(e, t, this.channelProfile, this.clientRole, this.slsReporter, i), this.initMessageCenter(), this.messageCenter.once("onJoinChannelResult", (d) => {
4054
+ this.authInfo = e, this.userName = t, this.messageCenter = new ar(e, t, this.channelProfile, this.clientRole, this.slsReporter, i), this.initMessageCenter(), this.messageCenter.once("onJoinChannelResult", (d) => {
4055
4055
  var u, f, l;
4056
4056
  if (x.info(`[${Ue.logName}]`, "join result: ", d), c.taskretrynum = ((u = this.messageCenter) == null ? void 0 : u.retryCount) || 0, d.code == 200) {
4057
4057
  (f = this.messageCenter) == null || f.sendPkgCache(), (l = this.messageCenter) == null || l.startKeepAlive();
@@ -4194,9 +4194,9 @@ const Fo = 6e5, si = class si extends Ce {
4194
4194
  }
4195
4195
  };
4196
4196
  g(si, "logName", "StsManager");
4197
- let ar = si;
4197
+ let nr = si;
4198
4198
  var jo = Object.defineProperty, zo = Object.getOwnPropertyDescriptor;
4199
- class Rr extends Ce {
4199
+ class Ar extends Ce {
4200
4200
  constructor(e, t, i, s = mt.prod) {
4201
4201
  super();
4202
4202
  g(this, "signaling");
@@ -4208,7 +4208,7 @@ class Rr extends Ce {
4208
4208
  g(this, "maxConnectRetryCount");
4209
4209
  g(this, "stsManager");
4210
4210
  g(this, "slsReporter");
4211
- this.channelProfile = e, this.clientRole = t, this.env = s, this.slsReporter = i, this.stsManager = new ar(i, s);
4211
+ this.channelProfile = e, this.clientRole = t, this.env = s, this.slsReporter = i, this.stsManager = new nr(i, s);
4212
4212
  }
4213
4213
  reset() {
4214
4214
  var e;
@@ -4331,14 +4331,14 @@ class Rr extends Ce {
4331
4331
  this.emit("onUnknownMessage", e);
4332
4332
  }
4333
4333
  }
4334
- g(Rr, "logName", "SignalingManager");
4334
+ g(Ar, "logName", "SignalingManager");
4335
4335
  function Gt() {
4336
4336
  }
4337
4337
  ((r, a, e, t) => {
4338
4338
  for (var i, s = t > 1 ? void 0 : t ? zo(a, e) : a, n = r.length - 1; n >= 0; n--)
4339
4339
  (i = r[n]) && (s = (t ? i(a, e, s) : i(s)) || s);
4340
4340
  t && s && jo(a, e, s);
4341
- })([w(U)], Rr.prototype, "publish", 1);
4341
+ })([w(U)], Ar.prototype, "publish", 1);
4342
4342
  const Ut = class Ut {
4343
4343
  static getInstance() {
4344
4344
  var a;
@@ -4451,11 +4451,11 @@ class Za {
4451
4451
  return { micOpen: !!(1 & e), micInterrupted: !!(2 & e), cameraOpen: !!(4 & e), screenShare: !!(128 & e), audioDisable: !!(8 & e), videoDisable: !!(16 & e), screenDisable: !!(256 & e), backgroundMode: !!(32 & e), accompanyPlaying: !!(64 & e) };
4452
4452
  }
4453
4453
  }
4454
- const en = "customVideoProfile", tn = "customScreenProfile", nr = { width: 1280, height: 720, frameRate: 30, maxBitrate: 2e3 }, Ta = { width: 1920, height: 1080, frameRate: 30, maxBitrate: 2600 };
4454
+ const en = "customVideoProfile", tn = "customScreenProfile", or = { width: 1280, height: 720, frameRate: 30, maxBitrate: 2e3 }, wa = { width: 1920, height: 1080, frameRate: 30, maxBitrate: 2600 };
4455
4455
  var ti = ((r) => (r[r.ERROR_DEVICE_UNKNOWNERROR = 1e4] = "ERROR_DEVICE_UNKNOWNERROR", r[r.ERROR_DEVICE_AUDIODEVICE_NOTFOUND = 10001] = "ERROR_DEVICE_AUDIODEVICE_NOTFOUND", r[r.ERROR_DEVICE_AUDIODEVICE_NOTALLOWED = 10002] = "ERROR_DEVICE_AUDIODEVICE_NOTALLOWED", r[r.ERROR_DEVICE_AUDIODEVICE_NOTREADABLE = 10003] = "ERROR_DEVICE_AUDIODEVICE_NOTREADABLE", r[r.ERROR_DEVICE_VIDEODEVICE_NOTFOUND = 10004] = "ERROR_DEVICE_VIDEODEVICE_NOTFOUND", r[r.ERROR_DEVICE_VIDEODEVICE_NOTALLOWED = 10005] = "ERROR_DEVICE_VIDEODEVICE_NOTALLOWED", r[r.ERROR_DEVICE_VIDEODEVICE_NOTREADABLE = 10006] = "ERROR_DEVICE_VIDEODEVICE_NOTREADABLE", r[r.ERROR_SCREENSHARE_NOTSUPPORT = 10010] = "ERROR_SCREENSHARE_NOTSUPPORT", r[r.ERROR_SCREENSHARE_NOTALLOWED = 10011] = "ERROR_SCREENSHARE_NOTALLOWED", r[r.ERROR_SCREENSHARE_ENDED = 10012] = "ERROR_SCREENSHARE_ENDED", r[r.ERROR_SCREENSHARE_NOPERMISSION = 10013] = "ERROR_SCREENSHARE_NOPERMISSION", r[r.ERROR_SCREENSHARE_SAFARI_INVALIDACCESS = 10014] = "ERROR_SCREENSHARE_SAFARI_INVALIDACCESS", r[r.ERROR_SCREENSHARE_UNKNOWNERRO = 10019] = "ERROR_SCREENSHARE_UNKNOWNERRO", r[r.ERROR_DEVICE_NOTSUPPORT = 2e4] = "ERROR_DEVICE_NOTSUPPORT", r))(ti || {});
4456
4456
  const Wo = { 1e4: Ee.AliEngineLocalDeviceExceptionTypeUnknown, 2e4: Ee.AliEngineLocalDeviceExceptionTypeUnknown, 10001: Ee.AliEngineLocalDeviceExceptionTypeMicNotAvailable, 10002: Ee.AliEngineLocalDeviceExceptionTypeMicAuthFail, 10003: Ee.AliEngineLocalDeviceExceptionTypeMicOpenFail, 10005: Ee.AliEngineLocalDeviceExceptionTypeCameraAuthFail, 10004: Ee.AliEngineLocalDeviceExceptionTypeVideoDeviceException, 10006: Ee.AliEngineLocalDeviceExceptionTypeCameraOpenFail, 10010: Ee.AliEngineLocalDeviceExceptionTypeDisplayException, 10011: Ee.AliEngineLocalDeviceExceptionTypeDisplayException, 10012: Ee.AliEngineLocalDeviceExceptionTypeDisplayException, 10013: Ee.AliEngineLocalDeviceExceptionTypeDisplayException, 10014: Ee.AliEngineLocalDeviceExceptionTypeDisplayException, 10019: Ee.AliEngineLocalDeviceExceptionTypeDisplayException };
4457
4457
  var qe = ((r) => (r.CREATE_ENGINE = "create_engine", r.JOIN = "join", r.WANT_INSERT_PUB_TASK = "wantInsertPubTask", r.INSERT_PUB_TASK = "InsertPubTask", r.HANDLE_PUB_TASK = "HandlePubTask", r.RECV_NOTIFY_PUBLISH = "RecvNotifyPublish", r.INSERT_SUB_TASK = "InsertSubTask", r.HANDLE_SUB_TASK = "HandleSubTask", r.FIRST_REMOTE = "first_remote", r))(qe || {}), et = ((r) => (r.START = "start", r.SEND_SIG = "send_sig", r.RECV_RST = "recv_rst", r.END = "end", r.RECEIVED = "received", r.DECODED = "decoded", r.PLAYED = "played", r))(et || {});
4458
- function wa(r) {
4458
+ function Ca(r) {
4459
4459
  var a;
4460
4460
  if (((a = r == null ? void 0 : r.nodeName) == null ? void 0 : a.toLowerCase()) === "video")
4461
4461
  return r.setAttribute("playsinline", ""), r;
@@ -4470,19 +4470,19 @@ function wa(r) {
4470
4470
  }
4471
4471
  throw new O(B.ERR_INVALID_ARGUMENTS, "element id should be string");
4472
4472
  }
4473
- function or(r) {
4473
+ function cr(r) {
4474
4474
  var e;
4475
4475
  const a = [];
4476
4476
  if (Array.isArray(r))
4477
4477
  r.forEach((t) => {
4478
4478
  try {
4479
- a.push(wa(t));
4479
+ a.push(Ca(t));
4480
4480
  } catch (i) {
4481
4481
  }
4482
4482
  });
4483
4483
  else if (typeof r == "string" || ((e = r == null ? void 0 : r.nodeName) == null ? void 0 : e.toLowerCase()) === "video")
4484
4484
  try {
4485
- a.push(wa(r));
4485
+ a.push(Ca(r));
4486
4486
  } catch (t) {
4487
4487
  }
4488
4488
  return a;
@@ -4490,7 +4490,7 @@ function or(r) {
4490
4490
  function _t(r) {
4491
4491
  return new Promise((a) => setTimeout(a, r));
4492
4492
  }
4493
- function Ca(r, a, e = 1e3, t = (i) => !0) {
4493
+ function ka(r, a, e = 1e3, t = (i) => !0) {
4494
4494
  return T(this, null, function* () {
4495
4495
  let i = 0;
4496
4496
  for (; i < a; )
@@ -4503,7 +4503,7 @@ function Ca(r, a, e = 1e3, t = (i) => !0) {
4503
4503
  }
4504
4504
  });
4505
4505
  }
4506
- function ka(r, a) {
4506
+ function qi(r, a) {
4507
4507
  let e = a;
4508
4508
  return typeof window.__ali_prefer_media_server == "string" && window.__ali_prefer_media_server !== "" && (e = window.__ali_prefer_media_server), e ? `${r}&ali_prefer_media_server=${e}` : r;
4509
4509
  }
@@ -4658,7 +4658,7 @@ class ki {
4658
4658
  return a.byteLength - 4 >= t.payloadLength && (i = a.slice(4, 4 + t.payloadLength)), new ki(t, i);
4659
4659
  }
4660
4660
  }
4661
- const qi = (r) => {
4661
+ const Xi = (r) => {
4662
4662
  const a = r.byteLength, e = new DataView(r);
4663
4663
  let t = 0;
4664
4664
  for (let i = 0; i < a; i++)
@@ -4688,7 +4688,7 @@ class Ft {
4688
4688
  if (!e)
4689
4689
  return;
4690
4690
  const t = mi.parse(e), i = t[2], s = t[3], n = t[4], o = t[5];
4691
- return o.byteLength !== 0 ? new Ft(o, qi(i), qi(n), qi(s)) : void 0;
4691
+ return o.byteLength !== 0 ? new Ft(o, Xi(i), Xi(n), Xi(s)) : void 0;
4692
4692
  }
4693
4693
  }
4694
4694
  var $o = Object.defineProperty, Jo = Object.getOwnPropertyDescriptor, fe = (r, a, e, t) => {
@@ -4764,6 +4764,9 @@ const me = (gt = class extends Qa {
4764
4764
  set url(e) {
4765
4765
  this._url = e, this.rtsManager.updateAuth(e);
4766
4766
  }
4767
+ set preferredPubL1Ip(e) {
4768
+ this.rtsManager.preferredPubL1Ip = e;
4769
+ }
4767
4770
  get joined() {
4768
4771
  return !!this.uid;
4769
4772
  }
@@ -5081,7 +5084,7 @@ const me = (gt = class extends Qa {
5081
5084
  const e = yield this.rtsManager.publishAddDataChannel(this.url);
5082
5085
  e ? (this.updateDataChannel(e), this.dataPubState.setState(Y.AliRtcStatePublished)) : (this.dataPubState.setState(Y.AliRtcStateNoPublish), this.emit("publishDataError", new O(B.ERR_INNER, "publishDataError")));
5083
5086
  } catch (e) {
5084
- this.dataPubState.setState(Y.AliRtcStateNoPublish);
5087
+ x.error("[LocalUser]", "publishDataChannel error", e), this.dataPubState.setState(Y.AliRtcStateNoPublish);
5085
5088
  }
5086
5089
  }
5087
5090
  });
@@ -5119,7 +5122,7 @@ const me = (gt = class extends Qa {
5119
5122
  return T(this, null, function* () {
5120
5123
  var n, o, c, h, d, u;
5121
5124
  if (!this.rtsManager.isConnecting && !this.rtsManager.isConnected)
5122
- return;
5125
+ return void (yield this.startPublish());
5123
5126
  yield this.publishPromise;
5124
5127
  const t = this.streamManager.publishStreams;
5125
5128
  let i;
@@ -5524,7 +5527,7 @@ class Ei extends Ce {
5524
5527
  l && (h = l);
5525
5528
  }
5526
5529
  var u;
5527
- (u = c.msid) === k.Audio || u === er.Audio ? (t = c.ssrc, this.audioInfo.msid = c.msid, this.audioInfo.codec = h, (d || this.audioInfo.ssrc !== t) && (this.audioInfo.subscribeState = Z.NotSubscribe)) : ((l) => l === k.VideoSmall)(c.msid) ? (s = c.ssrc, this.videoSmallInfo.msid = c.msid, this.videoSmallInfo.codec = h, (d || this.videoSmallInfo.ssrc !== s) && (this.videoSmallInfo.subscribeState = Z.NotSubscribe)) : ((l) => l === k.VideoLarge || l === er.VideoLarge)(c.msid) ? (i = c.ssrc, this.videoLargeInfo.msid = c.msid, this.videoLargeInfo.codec = h, (d || this.videoLargeInfo.ssrc !== i) && (this.videoLargeInfo.subscribeState = Z.NotSubscribe)) : ((l) => l === k.Screen)(c.msid) ? (n = c.ssrc, this.screenInfo.msid = c.msid, this.screenInfo.codec = h, (d || this.screenInfo.ssrc !== n) && (this.screenInfo.subscribeState = Z.NotSubscribe)) : ((l) => l === k.Data)(c.msid) && (o = c.ssrc, this.dataInfo.msid = c.msid, this.dataInfo.codec = h, (d || this.dataInfo.ssrc !== o) && (this.dataInfo.subscribeState = Z.NotSubscribe));
5530
+ (u = c.msid) === k.Audio || u === tr.Audio ? (t = c.ssrc, this.audioInfo.msid = c.msid, this.audioInfo.codec = h, (d || this.audioInfo.ssrc !== t) && (this.audioInfo.subscribeState = Z.NotSubscribe)) : ((l) => l === k.VideoSmall)(c.msid) ? (s = c.ssrc, this.videoSmallInfo.msid = c.msid, this.videoSmallInfo.codec = h, (d || this.videoSmallInfo.ssrc !== s) && (this.videoSmallInfo.subscribeState = Z.NotSubscribe)) : ((l) => l === k.VideoLarge || l === tr.VideoLarge)(c.msid) ? (i = c.ssrc, this.videoLargeInfo.msid = c.msid, this.videoLargeInfo.codec = h, (d || this.videoLargeInfo.ssrc !== i) && (this.videoLargeInfo.subscribeState = Z.NotSubscribe)) : ((l) => l === k.Screen)(c.msid) ? (n = c.ssrc, this.screenInfo.msid = c.msid, this.screenInfo.codec = h, (d || this.screenInfo.ssrc !== n) && (this.screenInfo.subscribeState = Z.NotSubscribe)) : ((l) => l === k.Data)(c.msid) && (o = c.ssrc, this.dataInfo.msid = c.msid, this.dataInfo.codec = h, (d || this.dataInfo.ssrc !== o) && (this.dataInfo.subscribeState = Z.NotSubscribe));
5528
5531
  }), this.updateRemoteTrackSsrc(t, i, s, n, o)) : this.updateRemoteTrackSsrc(t, i, s, n, o), {};
5529
5532
  }
5530
5533
  updateRemoteTrackSsrc(e, t, i, s, n) {
@@ -5838,7 +5841,7 @@ const Te = (Be = class extends Qa {
5838
5841
  setViewConfig(e, t) {
5839
5842
  if (t !== ee.AliRtcVideoTrackScreen && t !== ee.AliRtcVideoTrackCamera)
5840
5843
  throw new O(B.ERR_INVALID_ARGUMENTS, "track is not AliRtcVideoTrackScreen or AliRtcVideoTrackCamera");
5841
- e ? or(e).forEach((i) => {
5844
+ e ? cr(e).forEach((i) => {
5842
5845
  i.setAttribute("playsinline", ""), oe.BrowserUtil.isMicroMessenger && (i.setAttribute("x5-video-player-type", "h5-page"), i.setAttribute("x5-playsinline", ""), oe.SystenUtil.isAndroid || oe.SystenUtil.isIos && i.setAttribute("x-webkit-airplay", "allow")), t === ee.AliRtcVideoTrackScreen ? this.viewMap.screenViews.push(i) : this.viewMap.cameraViews.push(i), this.play(i, t === ee.AliRtcVideoTrackScreen);
5843
5846
  }) : (this.stopPlayAll(t === ee.AliRtcVideoTrackScreen), t === ee.AliRtcVideoTrackScreen ? this.viewMap.screenViews = [] : this.viewMap.cameraViews = []);
5844
5847
  }
@@ -6272,14 +6275,15 @@ const ve = (Ie = class extends Ce {
6272
6275
  g(this, "dcConnectingPromise");
6273
6276
  g(this, "_publishingTracks", []);
6274
6277
  g(this, "parameter", {});
6278
+ g(this, "preferredPubL1Ip");
6275
6279
  this.localStreamManager = e, this.slsReporter = t, this.parameter = i, this.rts = oe.createClient({ singlePcConfig: { usePcReconnect: !0 } }), this.addRTSListener();
6276
6280
  }
6277
6281
  addRTSListener() {
6278
6282
  this.rts.on("connectStatusChange", (e) => {
6279
6283
  var t, i, s, n;
6280
- if (x.event(`[${Ie.logName}]`, "rts connectStatusChange to:", e.status), e.status === Nr.CONNECT_STATUS_DISCONNECTED)
6284
+ if (x.event(`[${Ie.logName}]`, "rts connectStatusChange to:", e.status), e.status === Vr.CONNECT_STATUS_DISCONNECTED)
6281
6285
  this.dcReject && this.dcReject(), this.setConnected(!1), this.slsReporter.reportWarning("rts disconnected"), this.emit("disconnected");
6282
- else if (e.status === Nr.CONNECT_STATUS_CONNECTED) {
6286
+ else if (e.status === Vr.CONNECT_STATUS_CONNECTED) {
6283
6287
  const o = (n = (s = (i = (t = this.rts.commonController) == null ? void 0 : t.peerCore) == null ? void 0 : i.getSignal()) == null ? void 0 : s.getDatachannelCore()) == null ? void 0 : n.readyState;
6284
6288
  x.event(`[${Ie.logName}]`, "dcReadyState:", o), o === "open" && this.dcResolve && this.dcResolve(!0), this.setConnected(!0);
6285
6289
  }
@@ -6291,7 +6295,7 @@ const ve = (Ie = class extends Ce {
6291
6295
  x.error(`[${Ie.logName}]`, "emit connected error:", e);
6292
6296
  }
6293
6297
  }), this.rts.on("datachannelStatusChange", (e) => {
6294
- x.event(`[${Ie.logName}]`, "rts datachannelStatusChange to:", e.status), e.status === Vr.DATACHANNEL_STATUS_OPEN ? this.dcResolve && this.dcResolve(!0) : e.status === Vr.DATACHANNEL_STATUS_CLOSE && (this.dcReject && this.dcReject(), this.dcConnectingPromise = new Promise((t, i) => {
6298
+ x.event(`[${Ie.logName}]`, "rts datachannelStatusChange to:", e.status), e.status === Or.DATACHANNEL_STATUS_OPEN ? this.dcResolve && this.dcResolve(!0) : e.status === Or.DATACHANNEL_STATUS_CLOSE && (this.dcReject && this.dcReject(), this.dcConnectingPromise = new Promise((t, i) => {
6295
6299
  this.dcResolve = t, this.dcReject = i;
6296
6300
  }));
6297
6301
  }), this.rts.on("receivedSEI", (e) => {
@@ -6385,7 +6389,7 @@ const ve = (Ie = class extends Ce {
6385
6389
  this.startConnect();
6386
6390
  const R = Date.now();
6387
6391
  try {
6388
- S = yield this.rts.publish(ka(e), d, b);
6392
+ S = yield this.rts.publish(qi(e, this.preferredPubL1Ip), d, b);
6389
6393
  } catch (v) {
6390
6394
  this.setConnected(!1);
6391
6395
  const E = 2e3 - (Date.now() - R);
@@ -6428,7 +6432,7 @@ const ve = (Ie = class extends Ce {
6428
6432
  yield this.dcConnectingPromise;
6429
6433
  const l = Date.now(), b = this.getPubMsid(t, s);
6430
6434
  try {
6431
- const A = yield Ca((I) => T(this, null, function* () {
6435
+ const A = yield ka((I) => T(this, null, function* () {
6432
6436
  return I > 0 && x.event(`[${Ie.logName}]`, `publishAdd retry times: ${I}`), this.isConnected ? (yield this.dcConnectingPromise, this.rts.publishAdd([J({ url: e, stream: t, updateSourceStream: !1 }, b)])) : Promise.reject(new O(B.ERR_INNER, "rts not connected"));
6433
6437
  }), 5, 0, (I) => (I == null ? void 0 : I.errorCode) === 15006);
6434
6438
  if (A) {
@@ -6478,7 +6482,7 @@ const ve = (Ie = class extends Ce {
6478
6482
  publishAddDataChannel(e) {
6479
6483
  return T(this, null, function* () {
6480
6484
  yield this.dcConnectingPromise;
6481
- const t = yield this.rts.publishAddDatachannel({ signalUrl: e, url: e, label: k.Data, msid: k.Data }), i = t == null ? void 0 : t.datachannel;
6485
+ const t = yield this.rts.publishAddDatachannel({ signalUrl: e, url: qi(e, this.preferredPubL1Ip), label: k.Data, msid: k.Data }), i = t == null ? void 0 : t.datachannel;
6482
6486
  if (i && i.send) {
6483
6487
  const s = new ArrayBuffer(4);
6484
6488
  new DataView(s).setUint8(0, 240), i.datachannel.send(s);
@@ -6516,7 +6520,7 @@ const ve = (Ie = class extends Ce {
6516
6520
  n.retryTimes = 17, n.retryInterval = 5e3, this._rtsPeerConnectionType = "subscribe";
6517
6521
  try {
6518
6522
  this.startConnect();
6519
- const l = yield this.rts.subscribe(ka(s), n);
6523
+ const l = yield this.rts.subscribe(qi(s), n);
6520
6524
  return this._pcTraceId = l.traceId, this.setConnected(!0), { traceId: l.traceId, stream: l };
6521
6525
  } catch (l) {
6522
6526
  throw this.setConnected(!1), this.emit("disconnected"), O.fromRtsError(l);
@@ -6529,7 +6533,7 @@ const ve = (Ie = class extends Ce {
6529
6533
  const { remoteUser: t, options: i } = e, s = dt(J({ url: t.streamUrl, subAudio: !!i.audio, subVideo: !(!i.screen && !i.video) }, this.getSubConfig(t.streamInfo, i)), { targetStream: i.screen ? t.getScreenStream : t.getCameraStream });
6530
6534
  yield this.dcConnectingPromise;
6531
6535
  try {
6532
- return (yield Ca((d) => T(this, null, function* () {
6536
+ return (yield ka((d) => T(this, null, function* () {
6533
6537
  return yield this.dcConnectingPromise, d > 0 && x.event(`[${Ie.logName}]`, `subscribeAdd retry times: ${d}`), this.isConnected ? this.rts.subscribeAdd([s]) : Promise.reject();
6534
6538
  }), 5, 0, (d) => (d == null ? void 0 : d.errorCode) === 15006))[0];
6535
6539
  } catch (d) {
@@ -6670,8 +6674,8 @@ const ve = (Ie = class extends Ce {
6670
6674
  }, g(Ie, "logName", "RtsManager"), Ie);
6671
6675
  Re([w(U)], ve.prototype, "startConnect", 1), Re([w()], ve.prototype, "updatePublishingTracks", 1), Re([w(U, U)], ve.prototype, "httpPublish", 1), Re([w(U, U)], ve.prototype, "waitPublishSender", 1), Re([w(([r, a, e]) => [r, JSON.stringify(e)], U)], ve.prototype, "publishAdd", 1), Re([w(U, U)], ve.prototype, "publishDelete", 1), Re([w(([r, a, e]) => [r, JSON.stringify(e)])], ve.prototype, "publishReplace", 1), Re([w(U)], ve.prototype, "publishStop", 1), Re([w(U)], ve.prototype, "publishAddDataChannel", 1), Re([w(U)], ve.prototype, "publishStopDataChannel", 1), Re([w()], ve.prototype, "unpublish", 1), Re([w(fi, ({ traceId: r }) => r)], ve.prototype, "httpSubscribe", 1), Re([w(fi, ({ traceId: r }) => r)], ve.prototype, "subscribeAdd", 1), Re([w(fi)], ve.prototype, "subscribeDelete", 1), Re([w(U)], ve.prototype, "subscibeStop", 1), Re([w(U)], ve.prototype, "subscribeAddDataChannel", 1), Re([w(U)], ve.prototype, "subscribeStopDatachannel", 1), Re([w(U)], ve.prototype, "publish", 1), Re([w(fi)], ve.prototype, "subscribe", 1), Re([w()], ve.prototype, "sendSEI", 1);
6672
6676
  let sc = ve;
6673
- class Xi {
6674
- constructor(a = nr) {
6677
+ class Yi {
6678
+ constructor(a = or) {
6675
6679
  g(this, "defaultProfile");
6676
6680
  g(this, "profile");
6677
6681
  g(this, "profileMap", /* @__PURE__ */ new Map());
@@ -6833,7 +6837,7 @@ class Ma extends Ce {
6833
6837
  }
6834
6838
  updateVideoProfile(e, t, i = !1) {
6835
6839
  return T(this, null, function* () {
6836
- this._profileManager || (this._profileManager = new Xi(this.type === _e.AliRtcSdkStreamTypeScreen ? Ta : nr)), e && this._profileManager.updateProfile(e, t), yield this._profileManager.setVideoProfile(this.originVideoTrack, this._publishVideoStream, i || this.type === _e.AliRtcSdkStreamTypeScreen);
6840
+ this._profileManager || (this._profileManager = new Yi(this.type === _e.AliRtcSdkStreamTypeScreen ? wa : or)), e && this._profileManager.updateProfile(e, t), yield this._profileManager.setVideoProfile(this.originVideoTrack, this._publishVideoStream, i || this.type === _e.AliRtcSdkStreamTypeScreen);
6837
6841
  });
6838
6842
  }
6839
6843
  get videoProfile() {
@@ -6841,11 +6845,11 @@ class Ma extends Ce {
6841
6845
  return (e = this.profileManager) == null ? void 0 : e.videoProfile;
6842
6846
  }
6843
6847
  setVideoContentHint(e) {
6844
- this._profileManager || (this._profileManager = new Xi(this.type === _e.AliRtcSdkStreamTypeScreen ? Ta : nr)), this._profileManager.setContentHint(this.currentVideoTrack, e);
6848
+ this._profileManager || (this._profileManager = new Yi(this.type === _e.AliRtcSdkStreamTypeScreen ? wa : or)), this._profileManager.setContentHint(this.currentVideoTrack, e);
6845
6849
  }
6846
6850
  updateAudioProfile(e) {
6847
6851
  return T(this, null, function* () {
6848
- this._profileManager || (this._profileManager = new Xi()), this._profileManager.updateAudioProfile(e);
6852
+ this._profileManager || (this._profileManager = new Yi()), this._profileManager.updateAudioProfile(e);
6849
6853
  });
6850
6854
  }
6851
6855
  cloneVideoProfile(e) {
@@ -6890,7 +6894,7 @@ const Ze = (It = class extends Ce {
6890
6894
  })), this.screenStreamInfo.on("videotrackended", () => T(this, null, function* () {
6891
6895
  yield this.stopLocalStream({ screen: !0 }), this.emit("trackended", jt.ScreenTrackEnded);
6892
6896
  })), this.pluginManager.on("added", (i) => T(this, null, function* () {
6893
- if (x.info(`[${It.logName}]`, "plugin added", i.name), !i.isSupported("7.0.0"))
6897
+ if (x.info(`[${It.logName}]`, "plugin added", i.name), !i.isSupported("7.1.0-beta.1"))
6894
6898
  return console.warn(`${i.name} is not supported!!!`), void i.emit("unsupported");
6895
6899
  try {
6896
6900
  yield i.init();
@@ -7299,7 +7303,7 @@ class lc extends Xt {
7299
7303
  (t = this.audioMixer) == null || t.dispose(), super.clear(e);
7300
7304
  }
7301
7305
  }
7302
- class Ar {
7306
+ class _r {
7303
7307
  constructor(a, e) {
7304
7308
  g(this, "originTrack");
7305
7309
  g(this, "originVideo");
@@ -7328,7 +7332,7 @@ class Ar {
7328
7332
  return n > s ? (o = Math.round(c / s), h = Math.round((t - o) / 2)) : n < s && (c = Math.round(o * s), d = Math.round((i - c) / 2)), { x: h, y: d, width: o, height: c };
7329
7333
  }
7330
7334
  }
7331
- class uc extends Ar {
7335
+ class uc extends _r {
7332
7336
  constructor(e, t) {
7333
7337
  super(e, t);
7334
7338
  g(this, "targetCtx");
@@ -7361,7 +7365,7 @@ function La(r, a, e) {
7361
7365
  return r.shaderSource(t, e), r.compileShader(t), r.getShaderParameter(t, r.COMPILE_STATUS) ? t : (console.error(`An error occurred compiling the shaders: ${r.getShaderInfoLog(t)}`), r.deleteShader(t), null);
7362
7366
  console.error("create shader failed");
7363
7367
  }
7364
- class Da extends Ar {
7368
+ class Da extends _r {
7365
7369
  constructor(e, t) {
7366
7370
  super(e, t);
7367
7371
  g(this, "targetCtx");
@@ -7474,7 +7478,7 @@ void main() {
7474
7478
  this.stopRender(), this.originVideo.removeEventListener("play", this.startRender), this.originVideo.removeEventListener("pause", this.stopRender), this.originVideo.removeEventListener("ended", this.stopRender), this.originVideo.removeEventListener("resize", this.updateBuffer), this.originVideo.pause(), this.originVideo.srcObject = null;
7475
7479
  }
7476
7480
  }
7477
- class Na extends Ar {
7481
+ class Na extends _r {
7478
7482
  constructor(e, t) {
7479
7483
  super(e, t);
7480
7484
  g(this, "processor");
@@ -7589,7 +7593,7 @@ onmessage = function(evt) {
7589
7593
  return this.trackGenerator;
7590
7594
  }
7591
7595
  }
7592
- class cr {
7596
+ class hr {
7593
7597
  static isSupport() {
7594
7598
  return typeof HTMLCanvasElement.prototype.captureStream == "function";
7595
7599
  }
@@ -7611,7 +7615,7 @@ class pc extends Xt {
7611
7615
  this.options = e, (t = this.videoScaler) == null || t.updateOptions(e);
7612
7616
  }
7613
7617
  isSupported() {
7614
- return cr.isSupport();
7618
+ return hr.isSupport();
7615
7619
  }
7616
7620
  shouldUpdate(e) {
7617
7621
  return this.hasVideoTrack !== !!e.currentVideoTrack;
@@ -7621,7 +7625,7 @@ class pc extends Xt {
7621
7625
  if (e.currentVideoTrack) {
7622
7626
  if (this.hasVideoTrack = !0, !this.videoScaler) {
7623
7627
  const i = this.options || this.initOptions;
7624
- this.videoScaler = cr.getInstance(e.currentVideoTrack, i);
7628
+ this.videoScaler = hr.getInstance(e.currentVideoTrack, i);
7625
7629
  }
7626
7630
  const t = this.videoScaler.getVideoTrack();
7627
7631
  t && e.updateDualVideoTrack(t);
@@ -7633,12 +7637,12 @@ class pc extends Xt {
7633
7637
  super.clear(e), this.hasVideoTrack = !1, e == null || e.updateDualVideoTrack();
7634
7638
  }
7635
7639
  }
7636
- var _r = ((r) => (r[r.Default = 0] = "Default", r[r.Human = 1] = "Human", r[r.Robot = 2] = "Robot", r))(_r || {}), gc = Object.defineProperty, mc = Object.getOwnPropertyDescriptor, Va = (r, a, e, t) => {
7640
+ var Er = ((r) => (r[r.Default = 0] = "Default", r[r.Human = 1] = "Human", r[r.Robot = 2] = "Robot", r))(Er || {}), gc = Object.defineProperty, mc = Object.getOwnPropertyDescriptor, Va = (r, a, e, t) => {
7637
7641
  for (var i, s = t > 1 ? void 0 : t ? mc(a, e) : a, n = r.length - 1; n >= 0; n--)
7638
7642
  (i = r[n]) && (s = (t ? i(a, e, s) : i(s)) || s);
7639
7643
  return t && s && gc(a, e, s), s;
7640
7644
  }, Tt;
7641
- const hr = (Tt = class extends Ce {
7645
+ const dr = (Tt = class extends Ce {
7642
7646
  constructor(e) {
7643
7647
  super();
7644
7648
  g(this, "self");
@@ -7688,8 +7692,8 @@ const hr = (Tt = class extends Ce {
7688
7692
  });
7689
7693
  }
7690
7694
  }, g(Tt, "logName", "DataChannelReadyHelper"), Tt);
7691
- Va([w()], hr.prototype, "destory", 1), Va([w()], hr.prototype, "sendReadyMsgLoop", 1);
7692
- let fc = hr;
7695
+ Va([w()], dr.prototype, "destory", 1), Va([w()], dr.prototype, "sendReadyMsgLoop", 1);
7696
+ let fc = dr;
7693
7697
  var Sc = Object.defineProperty, bc = Object.getOwnPropertyDescriptor, Ke = (r, a, e, t) => {
7694
7698
  for (var i, s = t > 1 ? void 0 : t ? bc(a, e) : a, n = r.length - 1; n >= 0; n--)
7695
7699
  (i = r[n]) && (s = (t ? i(a, e, s) : i(s)) || s);
@@ -7809,7 +7813,7 @@ class Ve extends Ce {
7809
7813
  var s;
7810
7814
  if (!e)
7811
7815
  return (s = this.publisher) == null ? void 0 : s.setViewConfig(null, t);
7812
- const i = or(e);
7816
+ const i = cr(e);
7813
7817
  i.length !== 0 && i.forEach((n) => {
7814
7818
  var o, c;
7815
7819
  (o = this.publisher) == null || o.resetElement(n), Object.values(this.usersViewMap).forEach(({ cameraViews: h = [], screenViews: d = [] }) => {
@@ -7821,7 +7825,7 @@ class Ve extends Ce {
7821
7825
  var n, o;
7822
7826
  if (!t)
7823
7827
  return (n = this.userMap[e]) == null ? void 0 : n.setViewConfig(null, i);
7824
- const s = or(t);
7828
+ const s = cr(t);
7825
7829
  s.length !== 0 && (s.forEach((c) => {
7826
7830
  var h;
7827
7831
  (h = this.publisher) == null || h.resetElement(c), Object.values(this.usersViewMap).forEach(({ cameraViews: d = [], screenViews: u = [] }) => {
@@ -7884,7 +7888,7 @@ class Ve extends Ce {
7884
7888
  }), t);
7885
7889
  }
7886
7890
  init(e, t, i) {
7887
- this.authInfo = e, this.self.enableAudioVolumeIndication(this.audioVolumeIndicationInterval), this.self.initInfo(e, t.pushstreamurl), i.capabilityProfile === _r.Human && (this.dcReadyHelper = new fc(this.self), this.dcReadyHelper.on("dcready", (s) => {
7891
+ this.authInfo = e, this.self.enableAudioVolumeIndication(this.audioVolumeIndicationInterval), this.self.initInfo(e, t.pushstreamurl), i.capabilityProfile === Er.Human && (this.dcReadyHelper = new fc(this.self), this.dcReadyHelper.on("dcready", (s) => {
7888
7892
  var n;
7889
7893
  this.emit("remoteUserSubscribedDataChannel", s), (n = this.dcReadyHelper) == null || n.destory(), this.dcReadyHelper = void 0;
7890
7894
  })), this.setTimeoutToUpdateAllStreamUrls(t.pushstreamurl), t.users.forEach((s) => {
@@ -7989,7 +7993,7 @@ class Ve extends Ce {
7989
7993
  });
7990
7994
  const n = Object.keys(this.userMap), o = [];
7991
7995
  return n.forEach((c) => {
7992
- s[c] || o.push({ userid: c, reason: "", leavecode: yr.AliRtcUserOfflineQuit });
7996
+ s[c] || o.push({ userid: c, reason: "", leavecode: Rr.AliRtcUserOfflineQuit });
7993
7997
  }), this.userMap = s, { joinList: t, leaveList: o, presentList: i };
7994
7998
  }
7995
7999
  getRemoteUser(e) {
@@ -8072,7 +8076,7 @@ class Ve extends Ce {
8072
8076
  }
8073
8077
  g(Ve, "logName", "BizControl");
8074
8078
  Ke([w()], Ve.prototype, "init", 1), Ke([w()], Ve.prototype, "leave", 1), Ke([w()], Ve.prototype, "clear", 1), Ke([w(U)], Ve.prototype, "addUser", 1), Ke([w()], Ve.prototype, "removeLeftUser", 1), Ke([w()], Ve.prototype, "updateUsers", 1), Ke([w(U)], Ve.prototype, "updateAudioWant", 1), Ke([w(U)], Ve.prototype, "updateVideoWant", 1), Ke([w(U)], Ve.prototype, "updateScreenWant", 1), Ke([w()], Ve.prototype, "stopIndication", 1), Ke([w()], Ve.prototype, "startIndication", 1), Ke([w(U)], Ve.prototype, "setEnableDualVideoStream", 1), Ke([w(U)], Ve.prototype, "setAudioVolume", 1), Ke([w()], Ve.prototype, "enableAudioVolumeIndication", 1);
8075
- const Yi = (r) => T(void 0, null, function* () {
8079
+ const Qi = (r) => T(void 0, null, function* () {
8076
8080
  const a = new Uint8Array(160).fill(170), e = new TextEncoder().encode(r), t = yield window.crypto.subtle.importKey("raw", a, { name: "HMAC", hash: { name: "SHA-1" } }, !1, ["sign"]), i = yield window.crypto.subtle.sign("HMAC", t, e);
8077
8081
  return Array.from(new Uint8Array(i)).map((s) => s.toString(16).padStart(2, "0")).join("");
8078
8082
  });
@@ -8100,7 +8104,7 @@ class vc {
8100
8104
  return T(this, null, function* () {
8101
8105
  if (!this.authInfo)
8102
8106
  return Promise.reject(ut.LiveTranscodingErrorInvalidParam);
8103
- const t = yield Yi(a.split("?")[0]), i = We.MPU_TASK_TRANSACTION_UPDATE, s = e.toJson(i, this.authInfo, t, a);
8107
+ const t = yield Qi(a.split("?")[0]), i = We.MPU_TASK_TRANSACTION_UPDATE, s = e.toJson(i, this.authInfo, t, a);
8104
8108
  return this.doRequest(i, s);
8105
8109
  });
8106
8110
  }
@@ -8116,7 +8120,7 @@ class vc {
8116
8120
  return T(this, null, function* () {
8117
8121
  if (!this.authInfo)
8118
8122
  return Promise.reject(ut.LiveTranscodingErrorInvalidParam);
8119
- const t = yield Yi(a.split("?")[0]), i = We.MPU_TASK_TRANSACTION_UPDATE, s = e.toJson(i, this.authInfo, t, a);
8123
+ const t = yield Qi(a.split("?")[0]), i = We.MPU_TASK_TRANSACTION_UPDATE, s = e.toJson(i, this.authInfo, t, a);
8120
8124
  return this.doRequest(i, s);
8121
8125
  });
8122
8126
  }
@@ -8132,21 +8136,21 @@ class vc {
8132
8136
  return T(this, null, function* () {
8133
8137
  if (!this.authInfo)
8134
8138
  return Promise.reject(ut.LiveTranscodingErrorInvalidParam);
8135
- const e = yield Yi(a.split("?")[0]), t = We.MPU_TASK_TRANSACTION_STOP, i = new ir().toJson(t, this.authInfo, e, a);
8139
+ const e = yield Qi(a.split("?")[0]), t = We.MPU_TASK_TRANSACTION_STOP, i = new rr().toJson(t, this.authInfo, e, a);
8136
8140
  return this.doRequest(t, i);
8137
8141
  });
8138
8142
  }
8139
8143
  stopPublishLiveStreamWithTaskId(a) {
8140
8144
  if (!this.authInfo)
8141
8145
  return Promise.reject(ut.LiveTranscodingErrorInvalidParam);
8142
- const e = We.MPU_TASK_TRANSACTION_STOP, t = new ir().toJson(e, this.authInfo, a);
8146
+ const e = We.MPU_TASK_TRANSACTION_STOP, t = new rr().toJson(e, this.authInfo, a);
8143
8147
  return this.doRequest(e, t);
8144
8148
  }
8145
8149
  refreshAuthInfo(a) {
8146
8150
  this.authInfo && this.setAuthInfo(J(J({}, this.authInfo), a));
8147
8151
  }
8148
8152
  }
8149
- class Er {
8153
+ class Ir {
8150
8154
  static checkString(a) {
8151
8155
  return typeof a == "string";
8152
8156
  }
@@ -8160,7 +8164,7 @@ class Er {
8160
8164
  return a && a.nodeName === "AUDIO";
8161
8165
  }
8162
8166
  static checkAuthInfo(a) {
8163
- return a ? a.appId ? a.channelId ? a.userId ? a.timestamp ? Er.checkNumber(a.timestamp) ? a.token ? null : new O(B.ERR_JOIN_ERR_JOIN_BAD_PARAMBAD, "no token founded") : new O(B.ERR_JOIN_ERR_JOIN_BAD_PARAMBAD, "timestamp is not number") : new O(B.ERR_JOIN_ERR_JOIN_BAD_PARAMBAD, "no timestamp founded") : new O(B.ERR_JOIN_ERR_JOIN_BAD_PARAMBAD, "no userId founded") : new O(B.ERR_JOIN_ERR_JOIN_BAD_PARAMBAD, "no channelId founded") : new O(B.ERR_JOIN_ERR_JOIN_BAD_PARAMBAD, "no appId founded") : new O(B.ERR_JOIN_ERR_JOIN_BAD_PARAMBAD, "no authInfo founded");
8167
+ return a ? a.appId ? a.channelId ? a.userId ? a.timestamp ? Ir.checkNumber(a.timestamp) ? a.token ? null : new O(B.ERR_JOIN_ERR_JOIN_BAD_PARAMBAD, "no token founded") : new O(B.ERR_JOIN_ERR_JOIN_BAD_PARAMBAD, "timestamp is not number") : new O(B.ERR_JOIN_ERR_JOIN_BAD_PARAMBAD, "no timestamp founded") : new O(B.ERR_JOIN_ERR_JOIN_BAD_PARAMBAD, "no userId founded") : new O(B.ERR_JOIN_ERR_JOIN_BAD_PARAMBAD, "no channelId founded") : new O(B.ERR_JOIN_ERR_JOIN_BAD_PARAMBAD, "no appId founded") : new O(B.ERR_JOIN_ERR_JOIN_BAD_PARAMBAD, "no authInfo founded");
8164
8168
  }
8165
8169
  static checkMediaStreamTrack(a) {
8166
8170
  return a instanceof MediaStreamTrack;
@@ -8202,7 +8206,7 @@ class Ac {
8202
8206
  this.x = a, this.y = e, this.fontSize = t, this.zOrder = i, this.fontColor = s, this.fontType = n;
8203
8207
  }
8204
8208
  toJson(a, e) {
8205
- return { x: tt(this.x, a), y: tt(this.y, e), fonttype: this.fontType, fontsize: this.fontSize, fontcolor: vr(this.fontColor), zorder: this.zOrder };
8209
+ return { x: tt(this.x, a), y: tt(this.y, e), fonttype: this.fontType, fontsize: this.fontSize, fontcolor: yr(this.fontColor), zorder: this.zOrder };
8206
8210
  }
8207
8211
  }
8208
8212
  var on = ((r) => (r[r.NOT_DISPLAY = 0] = "NOT_DISPLAY", r[r.ALWAYS = 1] = "ALWAYS", r[r.WHEN_NO_VIDEO = 2] = "WHEN_NO_VIDEO", r))(on || {});
@@ -8235,7 +8239,7 @@ class _c {
8235
8239
  this.text = a, this.x = e, this.y = t, this.fontSize = i, this.zOrder = s, this.fontColor = n, this.fontType = o;
8236
8240
  }
8237
8241
  toJson(a, e) {
8238
- return { text: this.text, x: tt(this.x, a), y: tt(this.y, e), fonttype: this.fontType, fontsize: this.fontSize, fontcolor: vr(this.fontColor), zorder: this.zOrder };
8242
+ return { text: this.text, x: tt(this.x, a), y: tt(this.y, e), fonttype: this.fontType, fontsize: this.fontSize, fontcolor: yr(this.fontColor), zorder: this.zOrder };
8239
8243
  }
8240
8244
  }
8241
8245
  class Ec {
@@ -8254,7 +8258,7 @@ class Ec {
8254
8258
  }
8255
8259
  toJson(a, e, t, i) {
8256
8260
  const s = { paneid: a, majorpane: 0, x: tt(this.x, e), y: tt(this.y, t), width: tt(this.width, e), height: tt(this.height, t), zorder: this.zOrder, userid: this.userId, images: this.images.map((n) => n.toJson(e, t)), texts: this.texts.map((n) => n.toJson(e, t)) };
8257
- return this.sourceType && ri[this.sourceType] ? s.sourcetype = ri[this.sourceType] : s.sourcetype = ri[ni.LiveTranscodingCamera], this.segmentType && i === br.LiveTranscodingVirtualBackground ? s.segmenttype = this.segmentType : s.segmenttype = Ai.LiveTranscodingNoBody, s;
8261
+ return this.sourceType && ri[this.sourceType] ? s.sourcetype = ri[this.sourceType] : s.sourcetype = ri[ni.LiveTranscodingCamera], this.segmentType && i === vr.LiveTranscodingVirtualBackground ? s.segmenttype = this.segmentType : s.segmenttype = Ai.LiveTranscodingNoBody, s;
8258
8262
  }
8259
8263
  }
8260
8264
  const Bt = class Bt {
@@ -8270,8 +8274,8 @@ const Bt = class Bt {
8270
8274
  }
8271
8275
  };
8272
8276
  g(Bt, "instance");
8273
- let dr = Bt;
8274
- const hn = () => dr.getInstance(), { BrowserUtil: Qi, SystenUtil: Oa } = oe;
8277
+ let lr = Bt;
8278
+ const hn = () => lr.getInstance(), { BrowserUtil: Zi, SystenUtil: Oa } = oe;
8275
8279
  class xa {
8276
8280
  constructor() {
8277
8281
  g(this, "tracker");
@@ -8288,11 +8292,11 @@ class xa {
8288
8292
  if (!this.tracker && this.slsToken && this.param) {
8289
8293
  const a = this.slsToken;
8290
8294
  this.ossToken && (this.param.ossbn = this.ossToken.bucket_name, this.param.ossep = this.ossToken.region_endpoint);
8291
- const e = new pr({ host: a.region_endpoint, project: a.project, logstore: a.log_store_stats }), t = { accessKeyId: a.access_key_id, accessKeySecret: a.access_key_secret, securityToken: a.security_token, refreshSTSToken: () => {
8295
+ const e = new gr({ host: a.region_endpoint, project: a.project, logstore: a.log_store_stats }), t = { accessKeyId: a.access_key_id, accessKeySecret: a.access_key_secret, securityToken: a.security_token, refreshSTSToken: () => {
8292
8296
  this.slsToken && (t.accessKeyId = this.slsToken.access_key_id, t.accessKeySecret = this.slsToken.access_key_secret, t.securityToken = this.slsToken.security_token);
8293
8297
  } };
8294
8298
  this.stsOpt = t;
8295
- const i = gr(t);
8299
+ const i = mr(t);
8296
8300
  e.useStsPlugin(i), this.tracker = e, this.msgCacheArr.forEach((s, n) => {
8297
8301
  var o, c;
8298
8302
  (c = this.tracker) == null || c.send(J(dt(J({}, this.param), { stat_log_id: `${((o = this.param) == null ? void 0 : o.sesid) || "nosession"}-${n}` }), s));
@@ -8313,7 +8317,7 @@ class xa {
8313
8317
  let e;
8314
8318
  a.tm = Date.now();
8315
8319
  try {
8316
- e = JSON.parse(JSON.stringify(J(dt(J({ bt: Qi.browserName || "unknown", ntptm: this.ntpClock.now(), ntpofs: this.ntpClock.now() - Date.now() }, this.param), { stat_log_id: `${((t = this.param) == null ? void 0 : t.sesid) || "nosession"}-${this.index}` }), a)));
8320
+ e = JSON.parse(JSON.stringify(J(dt(J({ bt: Zi.browserName || "unknown", ntptm: this.ntpClock.now(), ntpofs: this.ntpClock.now() - Date.now() }, this.param), { stat_log_id: `${((t = this.param) == null ? void 0 : t.sesid) || "nosession"}-${this.index}` }), a)));
8317
8321
  } catch (s) {
8318
8322
  }
8319
8323
  e && (this.tracker ? ((i = this.tracker) == null || i.send(e), this.index++) : this.msgCacheArr.push(e));
@@ -8324,7 +8328,7 @@ class xa {
8324
8328
  e = (localStorage == null ? void 0 : localStorage.getItem("AliRtcUUID")) || "", e || (e = it(), localStorage == null || localStorage.setItem("AliRtcUUID", e));
8325
8329
  } catch (t) {
8326
8330
  }
8327
- this.param || (this.param = { apid: a.appId, usrid: a.userId, statsvrs: "0.6.1", evetid: 0, sesid: a.sessionId, sessionId: a.sessionId, channelid: a.channelId, usrn: a.userId, osn: Oa.systemName, osv: Oa.systemVersion, deb: Po(), den: wo(), udid: e, sdkvrs: Ii, acs: "Unknown", cput: Ka(), dm: `${window.location.protocol}//${window.location.host}`, bt: Qi.browserName, bv: Qi.browserVersion, envir: "PRODUCT", args: "", instid: it() });
8331
+ this.param || (this.param = { apid: a.appId, usrid: a.userId, statsvrs: "0.6.1", evetid: 0, sesid: a.sessionId, sessionId: a.sessionId, channelid: a.channelId, usrn: a.userId, osn: Oa.systemName, osv: Oa.systemVersion, deb: Po(), den: wo(), udid: e, sdkvrs: Ii, acs: "Unknown", cput: Ka(), dm: `${window.location.protocol}//${window.location.host}`, bt: Zi.browserName, bv: Zi.browserVersion, envir: "PRODUCT", args: "", instid: it() });
8328
8332
  }
8329
8333
  }
8330
8334
  const le = (r, a = 1, e = 6e4, t = 0) => {
@@ -8611,7 +8615,7 @@ const le = (r, a = 1, e = 6e4, t = 0) => {
8611
8615
  }
8612
8616
  };
8613
8617
  g(ai, "staticClient");
8614
- let lr = ai;
8618
+ let ur = ai;
8615
8619
  var Ic = Object.defineProperty, Tc = Object.getOwnPropertyDescriptor, F = (r, a, e, t) => {
8616
8620
  for (var i, s = t > 1 ? void 0 : t ? Tc(a, e) : a, n = r.length - 1; n >= 0; n--)
8617
8621
  (i = r[n]) && (s = (t ? i(a, e, s) : i(s)) || s);
@@ -8637,7 +8641,7 @@ const H = (z = class extends Ce {
8637
8641
  g(this, "_proxyAiTid", null);
8638
8642
  g(this, "_agentParam", null);
8639
8643
  const t = Date.now();
8640
- x.init(), this.slsReporter = new lr(this), this.channelProfile = At.AliRtcSdkCommunication, this.clientRole = Vt.AliRtcSdkLive, this.liveTranscoding = new vc(this.slsReporter), this.signalingManager = new Rr(this.channelProfile, this.clientRole, this.slsReporter, (e == null ? void 0 : e.env) === mt.pre ? mt.pre : mt.prod), this.addSignalingManagerListeners(), this.maxSignalingConnectRetryCount = e == null ? void 0 : e.maxSignalingConnectRetryCount, this.bizControl = new Ve({ slsReporter: this.slsReporter, signalingManager: this.signalingManager }), this.addBizControlListeners(), this.addPublisherListeners(), this.slsReporter.reportConnectionLatencyEvent(qe.CREATE_ENGINE, et.START, "", "", t), this.slsReporter.reportConnectionLatencyEvent(qe.CREATE_ENGINE, et.END, "", "", Date.now()), this.slsReporter.reportSDKCreated(t);
8644
+ x.init(), this.slsReporter = new ur(this), this.channelProfile = At.AliRtcSdkCommunication, this.clientRole = Vt.AliRtcSdkLive, this.liveTranscoding = new vc(this.slsReporter), this.signalingManager = new Ar(this.channelProfile, this.clientRole, this.slsReporter, (e == null ? void 0 : e.env) === mt.pre ? mt.pre : mt.prod), this.addSignalingManagerListeners(), this.maxSignalingConnectRetryCount = e == null ? void 0 : e.maxSignalingConnectRetryCount, this.bizControl = new Ve({ slsReporter: this.slsReporter, signalingManager: this.signalingManager }), this.addBizControlListeners(), this.addPublisherListeners(), this.slsReporter.reportConnectionLatencyEvent(qe.CREATE_ENGINE, et.START, "", "", t), this.slsReporter.reportConnectionLatencyEvent(qe.CREATE_ENGINE, et.END, "", "", Date.now()), this.slsReporter.reportSDKCreated(t);
8641
8645
  }
8642
8646
  static getSdkVersion() {
8643
8647
  return Ii;
@@ -8869,7 +8873,7 @@ const H = (z = class extends Ce {
8869
8873
  if (e != null && e.length) {
8870
8874
  const { joinList: t, leaveList: i, presentList: s } = this.bizControl.updateUsers(e);
8871
8875
  x.info(`[${z.logName}]`, "resumeSubList", { joinList: t, leaveList: i, presentList: s }), this.handleUsersJoin(t), i.forEach((n) => {
8872
- x.event(z.logName, ge.UserLeft, n.userid, n.reason), this.emit("remoteUserOffLineNotify", n.userid, yr.AliRtcUserOfflineQuit);
8876
+ x.event(z.logName, ge.UserLeft, n.userid, n.reason), this.emit("remoteUserOffLineNotify", n.userid, Rr.AliRtcUserOfflineQuit);
8873
8877
  });
8874
8878
  for (let n = 0; n < s.length; n++) {
8875
8879
  const o = s[n], c = o.userid, h = this.bizControl.getRemoteUser(c);
@@ -9002,7 +9006,7 @@ const H = (z = class extends Ce {
9002
9006
  n = e;
9003
9007
  o || (o = n.userId);
9004
9008
  const c = { start: Date.now() };
9005
- let h = Er.checkAuthInfo(n);
9009
+ let h = Ir.checkAuthInfo(n);
9006
9010
  if (re.AliRtcConnectionStatusInit !== this.connectState && re.AliRtcConnectionStatusDisconnected !== this.connectState && re.AliRtcConnectionStatusFailed !== this.connectState) {
9007
9011
  const f = new O(B.ERR_JOIN_ALREADY_JOINED, "already joined");
9008
9012
  throw this.connectState === re.AliRtcConnectionStatusConnecting && (f.message = "Repeated operation during login"), this.slsReporter.reportJoin(f.code, c, ""), f;
@@ -9011,8 +9015,10 @@ const H = (z = class extends Ce {
9011
9015
  throw this.connectState = re.AliRtcConnectionStatusFailed, this.slsReporter.reportJoin(h.code, c, ""), this.slsReporter.reportJoinResult(h), h;
9012
9016
  x.setSessionID(n.appId, n.sessionId);
9013
9017
  try {
9014
- const f = Date.now(), l = yield this.signalingManager.join(n, o, this.maxSignalingConnectRetryCount, c, i), b = Date.now();
9015
- this.connectState = re.AliRtcConnectionStatusConnected, this.bizControl.init(n, l, { capabilityProfile: typeof t == "object" ? t.capabilityProfile : _r.Default }), this.setCheckAuthInfoTimer(n.timestamp, l.timestamp), this.liveTranscoding.setAuthInfo(n), this.slsReporter.reportJoin(0, c, l.tid), this.slsReporter.reportJoinResult(null), this.slsReporter.reportConnectionLatencyEvent(qe.JOIN, et.SEND_SIG, "", "", f), this.slsReporter.reportConnectionLatencyEvent(qe.JOIN, et.RECV_RST, "", "", b), this.slsReporter.reportConnectionLatencyEvent(qe.JOIN, et.END, "", "");
9018
+ const f = Date.now(), l = yield this.signalingManager.join(n, o, this.maxSignalingConnectRetryCount, c, i);
9019
+ l.l1ip && this.publisher && (this.publisher.preferredPubL1Ip = l.l1ip);
9020
+ const b = Date.now();
9021
+ this.connectState = re.AliRtcConnectionStatusConnected, this.bizControl.init(n, l, { capabilityProfile: typeof t == "object" ? t.capabilityProfile : Er.Default }), this.setCheckAuthInfoTimer(n.timestamp, l.timestamp), this.liveTranscoding.setAuthInfo(n), this.slsReporter.reportJoin(0, c, l.tid), this.slsReporter.reportJoinResult(null), this.slsReporter.reportConnectionLatencyEvent(qe.JOIN, et.SEND_SIG, "", "", f), this.slsReporter.reportConnectionLatencyEvent(qe.JOIN, et.RECV_RST, "", "", b), this.slsReporter.reportConnectionLatencyEvent(qe.JOIN, et.END, "", "");
9016
9022
  } catch (f) {
9017
9023
  const l = (d = f.code) != null ? d : -1, b = f.reason || f.message || "";
9018
9024
  throw this.connectState = re.AliRtcConnectionStatusDisconnected, this.slsReporter.reportJoin(l, c, ""), this.slsReporter.reportJoinResult(f), new O(l, b);
@@ -9024,7 +9030,7 @@ const H = (z = class extends Ce {
9024
9030
  }
9025
9031
  joinAIChannel(e, t, i) {
9026
9032
  return T(this, null, function* () {
9027
- return this._proxyAiTid = it(), this._agentParam = i, this.joinChannel(e, t, { proxyai: { tid: this._proxyAiTid, region: i.region, proxydata: JSON.stringify({ Region: i.region, Action: i.action, ActionParams: i.params }) } });
9033
+ return this._proxyAiTid = it(), this._agentParam = i, this.joinChannel(e, t, { bizconf: { l1leader: !0 }, proxyai: { tid: this._proxyAiTid, region: i.region, proxydata: JSON.stringify({ Region: i.region, Action: i.action, ActionParams: i.params }) } });
9028
9034
  });
9029
9035
  }
9030
9036
  leaveChannel() {
@@ -9461,24 +9467,24 @@ const H = (z = class extends Ce {
9461
9467
  sendDataChannelMessage(e) {
9462
9468
  this.bizControl.sendDataChannelMessage(e);
9463
9469
  }
9464
- }, g(z, "logName", "AliRtcEngine"), g(z, "logError", !0), g(z, "isSupported", Do), g(z, "isDualVideoStreamSupported", cr.isSupport), g(z, "getCameraList", () => T(z, null, function* () {
9470
+ }, g(z, "logName", "AliRtcEngine"), g(z, "logError", !0), g(z, "isSupported", Do), g(z, "isDualVideoStreamSupported", hr.isSupport), g(z, "getCameraList", () => T(z, null, function* () {
9465
9471
  return (yield oe.getCameraList()).filter((e) => e.deviceId);
9466
9472
  })), g(z, "getMicrophoneList", () => T(z, null, function* () {
9467
9473
  return (yield oe.getMicList()).filter((e) => e.deviceId);
9468
9474
  })), g(z, "getSpeakerList", () => T(z, null, function* () {
9469
9475
  return (yield oe.getSpeakerList()).filter((e) => e.deviceId);
9470
- })), g(z, "_instance"), g(z, "AliRtcSdkChannelProfile", At), g(z, "AliRtcSdkClientRole", Vt), g(z, "AliRtcVideoStreamType", De), g(z, "AliRtcVideoTrack", ee), g(z, "AliRtcAudioTrack", Yt), g(z, "AliRtcPublishState", Y), g(z, "AliRtcSubscribeState", ae), g(z, "AliRtcRawDataStreamType", _e), g(z, "AliRtcLogLevel", Wa), g(z, "AliRtcEngineLocalDeviceType", pt), g(z, "AliRtcEngineLocalDeviceExceptionType", Ee), g(z, "AliRtcConnectionStatus", re), g(z, "AliRtcConnectionStatusChangeReason", $t), g(z, "AliRtcPlugin", Xt), g(z, "AliRtcPluginTrackType", Ti), g(z, "AliRtcLiveTranscodingParam", ir), g(z, "AliRtcLiveTranscodingEncodeParam", Ya), g(z, "AliRtcLiveTranscodingMixParam", yc), g(z, "AliRtcLiveTranscodingSingleParam", Rc), g(z, "AliRtcTranscodingClockWidget", Ac), g(z, "AliRtcTranscodingImage", cn), g(z, "AliRtcTranscodingText", _c), g(z, "AliRtcTranscodingUser", Ec), g(z, "AliRtcLiveTranscodingMixMode", Ri), g(z, "AliRtcLiveTranscodingStreamType", $a), g(z, "AliRtcLiveTranscodingSourceType", ni), g(z, "AliRtcLiveTranscodingTaskProfile", Ja), g(z, "AliRtcLiveTranscodingAudioSampleRate", Sr), g(z, "AliRtcLiveTranscodingSegmentType", Ai), g(z, "AliRtcLiveTranscodingFontType", wi), g(z, "AliRtcLiveTranscodingCropMode", Ga), g(z, "AliRtcLiveTranscodingMediaProcessMode", br), g(z, "AliRtcLiveTranscodingState", qa), g(z, "AliRtcLiveTranscodingErrorCode", ut), g(z, "AliRtcTrascodingPublishTaskStatus", Xa), g(z, "AliRtcDataChannelMsg", Ft), g(z, "AliRtcDataMsgType", sn), g(z, "Plugin", Xt), z);
9476
+ })), g(z, "_instance"), g(z, "AliRtcSdkChannelProfile", At), g(z, "AliRtcSdkClientRole", Vt), g(z, "AliRtcVideoStreamType", De), g(z, "AliRtcVideoTrack", ee), g(z, "AliRtcAudioTrack", Yt), g(z, "AliRtcPublishState", Y), g(z, "AliRtcSubscribeState", ae), g(z, "AliRtcRawDataStreamType", _e), g(z, "AliRtcLogLevel", Wa), g(z, "AliRtcEngineLocalDeviceType", pt), g(z, "AliRtcEngineLocalDeviceExceptionType", Ee), g(z, "AliRtcConnectionStatus", re), g(z, "AliRtcConnectionStatusChangeReason", $t), g(z, "AliRtcPlugin", Xt), g(z, "AliRtcPluginTrackType", Ti), g(z, "AliRtcLiveTranscodingParam", rr), g(z, "AliRtcLiveTranscodingEncodeParam", Ya), g(z, "AliRtcLiveTranscodingMixParam", yc), g(z, "AliRtcLiveTranscodingSingleParam", Rc), g(z, "AliRtcTranscodingClockWidget", Ac), g(z, "AliRtcTranscodingImage", cn), g(z, "AliRtcTranscodingText", _c), g(z, "AliRtcTranscodingUser", Ec), g(z, "AliRtcLiveTranscodingMixMode", Ri), g(z, "AliRtcLiveTranscodingStreamType", $a), g(z, "AliRtcLiveTranscodingSourceType", ni), g(z, "AliRtcLiveTranscodingTaskProfile", Ja), g(z, "AliRtcLiveTranscodingAudioSampleRate", br), g(z, "AliRtcLiveTranscodingSegmentType", Ai), g(z, "AliRtcLiveTranscodingFontType", wi), g(z, "AliRtcLiveTranscodingCropMode", Ga), g(z, "AliRtcLiveTranscodingMediaProcessMode", vr), g(z, "AliRtcLiveTranscodingState", qa), g(z, "AliRtcLiveTranscodingErrorCode", ut), g(z, "AliRtcTrascodingPublishTaskStatus", Xa), g(z, "AliRtcDataChannelMsg", Ft), g(z, "AliRtcDataMsgType", sn), g(z, "Plugin", Xt), z);
9471
9477
  F([w()], H.prototype, "destroy", 1), F([w()], H.prototype, "backToUnpublishStatus", 1), F([w()], H.prototype, "resumePublishForNetworkRecovery", 1), F([w()], H.prototype, "onNetworkRecovery", 1), F([w()], H.prototype, "resumeSubList", 1), F([w(U)], H.prototype, "retrySubscribe", 1), F([w(U)], H.prototype, "setEnableDualVideoStream", 1), F([w(U)], H.prototype, "setChannelProfile", 1), F([w(U)], H.prototype, "setClientRole", 1), F([w(U)], H.prototype, "setAudioOnlyMode", 1), F([w()], H.prototype, "clearCheckAuthInfoTimer", 1), F([w(U)], H.prototype, "joinChannel", 1), F([w(U)], H.prototype, "joinAIChannel", 1), F([w(U)], H.prototype, "leaveChannel", 1), F([w(U)], H.prototype, "refreshAuthInfo", 1), F([w(U)], H.prototype, "publishLocalAudioStream", 1), F([w(U)], H.prototype, "setDefaultSubscribeAllRemoteAudioStreams", 1), F([w(U)], H.prototype, "subscribeAllRemoteAudioStreams", 1), F([w(U)], H.prototype, "subscribeRemoteAudioStream", 1), F([w(U)], H.prototype, "resumeRemoteAudioStream", 1), F([w(U)], H.prototype, "stopRemoteAudioPlay", 1), F([w(U)], H.prototype, "publishLocalVideoStream", 1), F([w(U)], H.prototype, "setRemoteDefaultVideoStreamType", 1), F([w(U)], H.prototype, "setRemoteUserVideoStreamType", 1), F([w(U)], H.prototype, "setDefaultSubscribeAllRemoteVideoStreams", 1), F([w(U)], H.prototype, "subscribeAllRemoteVideoStreams", 1), F([w(U)], H.prototype, "subscribeRemoteMediaStream", 1), F([w(U)], H.prototype, "resumeRemoteMediaStream", 1), F([w(([r]) => [`${r == null ? void 0 : r.audio}`])], H.prototype, "startScreenShare", 1), F([w()], H.prototype, "stopScreenShare", 1), F([w(U)], H.prototype, "setScreenShareConfiguration", 1), F([w(U)], H.prototype, "setScreenShareContentHint", 1), F([w()], H.prototype, "publishLocalScreenShareStream", 1), F([w(U)], H.prototype, "setAudioShareVolume", 1), F([w(U)], H.prototype, "enableAudioVolumeIndication", 1), F([w(U)], H.prototype, "muteLocalMic", 1), F([w(U)], H.prototype, "muteRemoteAudioPlaying", 1), F([w(U)], H.prototype, "muteAllRemoteAudioPlaying", 1), F([w(U)], H.prototype, "startAudioCapture", 1), F([w(U)], H.prototype, "setAudioConstraints", 1), F([w()], H.prototype, "stopAudioCapture", 1), F([w(U)], H.prototype, "switchMicrophone", 1), F([w(U)], H.prototype, "setRecordingVolume", 1), F([w(U)], H.prototype, "setPlayoutVolume", 1), F([w(U)], H.prototype, "setRemoteAudioVolume", 1), F([w(U)], H.prototype, "setAudioProfile", 1), F([w(U)], H.prototype, "getAudioTrack", 1), F([w(U)], H.prototype, "setLocalViewConfig", 1), F([w(U)], H.prototype, "setCameraCapturerConfiguration", 1), F([w(U)], H.prototype, "setCameraCapturerContentHint", 1), F([w(U)], H.prototype, "enableLocalVideo", 1), F([w(U)], H.prototype, "muteLocalCamera", 1), F([w(U)], H.prototype, "muteLocalScreen", 1), F([w(U)], H.prototype, "setRemoteViewConfig", 1), F([w(U)], H.prototype, "switchCamera", 1), F([w()], H.prototype, "startPreview", 1), F([w()], H.prototype, "startPreviewScreen", 1), F([w()], H.prototype, "stopPreview", 1), F([w()], H.prototype, "stopPreviewScreen", 1), F([w()], H.prototype, "startPublishLiveStream", 1), F([w()], H.prototype, "updatePublishLiveStream", 1), F([w()], H.prototype, "updatePublishLiveStreamWithTaskId", 1), F([w()], H.prototype, "stopPublishLiveStream", 1), F([w()], H.prototype, "stopPublishLiveStreamWithTaskId", 1), F([w(U)], H.prototype, "setEnableMediaExtensionMsg", 1), F([w(([r, a, e]) => [r.byteLength, a, e])], H.prototype, "sendMediaExtensionMsgEx", 1), F([w(([r, a]) => [r.name || "", a])], H.prototype, "enablePlugin", 1), F([w(U)], H.prototype, "removePlugin", 1), F([w(U)], H.prototype, "setPluginOption", 1), F([w(U)], H.prototype, "getPluginOption", 1), F([w(U)], H.prototype, "setBeautyEffect", 1), F([w(U)], H.prototype, "enableBackgroundExchange", 1), F([w(U)], H.prototype, "enableBackgroundBlur", 1), F([w(U)], H.prototype, "setParameter", 1), F([w(([r]) => {
9472
9478
  var a;
9473
9479
  return [(a = r.data) == null ? void 0 : a.byteLength];
9474
9480
  })], H.prototype, "sendDataChannelMessage", 1), F([w(U)], H, "setLogLevel", 1);
9475
9481
  let dn = H;
9476
9482
  var Ha;
9477
- const ln = new ur({ businessName: "imp-web-rtc", version: (Ha = dn.getSdkVersion()) != null ? Ha : "unknown", env: "prod", disabled: window.AliRtcOptionsDisableProxy === !0 });
9483
+ const ln = new pr({ businessName: "imp-web-rtc", version: (Ha = dn.getSdkVersion()) != null ? Ha : "unknown", env: "prod", disabled: window.AliRtcOptionsDisableProxy === !0 });
9478
9484
  ln.setReady();
9479
9485
  const Pc = ln.wrap(dn);
9480
9486
  export {
9481
- _r as AliRtcCapabilityProfile,
9487
+ Er as AliRtcCapabilityProfile,
9482
9488
  re as AliRtcConnectionStatus,
9483
9489
  $t as AliRtcConnectionStatusChangeReason,
9484
9490
  Ft as AliRtcDataChannelMsg,
@@ -9486,15 +9492,15 @@ export {
9486
9492
  Ee as AliRtcEngineLocalDeviceExceptionType,
9487
9493
  pt as AliRtcEngineLocalDeviceType,
9488
9494
  B as AliRtcErrorCode,
9489
- Sr as AliRtcLiveTranscodingAudioSampleRate,
9495
+ br as AliRtcLiveTranscodingAudioSampleRate,
9490
9496
  Ga as AliRtcLiveTranscodingCropMode,
9491
9497
  Ya as AliRtcLiveTranscodingEncodeParam,
9492
9498
  ut as AliRtcLiveTranscodingErrorCode,
9493
9499
  wi as AliRtcLiveTranscodingFontType,
9494
- br as AliRtcLiveTranscodingMediaProcessMode,
9500
+ vr as AliRtcLiveTranscodingMediaProcessMode,
9495
9501
  Ri as AliRtcLiveTranscodingMixMode,
9496
9502
  yc as AliRtcLiveTranscodingMixParam,
9497
- ir as AliRtcLiveTranscodingParam,
9503
+ rr as AliRtcLiveTranscodingParam,
9498
9504
  Ai as AliRtcLiveTranscodingSegmentType,
9499
9505
  Rc as AliRtcLiveTranscodingSingleParam,
9500
9506
  ni as AliRtcLiveTranscodingSourceType,