@nlxai/touchpoint-ui 1.2.3-alpha.1 → 1.2.3-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +699 -689
- package/lib/index.umd.js +25 -25
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var sv = (n) => {
|
|
|
4
4
|
};
|
|
5
5
|
var mw = (n, e, t) => e in n ? pw(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
6
6
|
var kt = (n, e, t) => mw(n, typeof e != "symbol" ? e + "" : e, t), ih = (n, e, t) => e.has(n) || sv("Cannot " + t);
|
|
7
|
-
var Cr = (n, e, t) => (ih(n, e, "read from private field"), t ? t.call(n) : e.get(n)),
|
|
7
|
+
var Cr = (n, e, t) => (ih(n, e, "read from private field"), t ? t.call(n) : e.get(n)), xa = (n, e, t) => e.has(n) ? sv("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), Nl = (n, e, t, r) => (ih(n, e, "write to private field"), r ? r.call(n, t) : e.set(n, t), t), oh = (n, e, t) => (ih(n, e, "access private method"), t);
|
|
8
8
|
function yy(n) {
|
|
9
9
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
10
10
|
}
|
|
@@ -107,7 +107,7 @@ function gw() {
|
|
|
107
107
|
else if (Fe === "object") throw te = String(O), Error("Objects are not valid as a React child (found: " + (te === "[object Object]" ? "object with keys {" + Object.keys(O).join(", ") + "}" : te) + "). If you meant to render a collection of children, use an array instead.");
|
|
108
108
|
return et;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function re(O, te, Ve) {
|
|
111
111
|
if (O == null) return O;
|
|
112
112
|
var Ke = [], Xe = 0;
|
|
113
113
|
return We(O, Ke, "", "", function(Fe) {
|
|
@@ -130,17 +130,17 @@ function gw() {
|
|
|
130
130
|
function de() {
|
|
131
131
|
throw Error("act(...) is not supported in production builds of React.");
|
|
132
132
|
}
|
|
133
|
-
return ut.Children = { map:
|
|
134
|
-
|
|
133
|
+
return ut.Children = { map: re, forEach: function(O, te, Ve) {
|
|
134
|
+
re(O, function() {
|
|
135
135
|
te.apply(this, arguments);
|
|
136
136
|
}, Ve);
|
|
137
137
|
}, count: function(O) {
|
|
138
138
|
var te = 0;
|
|
139
|
-
return
|
|
139
|
+
return re(O, function() {
|
|
140
140
|
te++;
|
|
141
141
|
}), te;
|
|
142
142
|
}, toArray: function(O) {
|
|
143
|
-
return
|
|
143
|
+
return re(O, function(te) {
|
|
144
144
|
return te;
|
|
145
145
|
}) || [];
|
|
146
146
|
}, only: function(O) {
|
|
@@ -245,7 +245,7 @@ function yw() {
|
|
|
245
245
|
return uv || (uv = 1, sh.exports = vw()), sh.exports;
|
|
246
246
|
}
|
|
247
247
|
var R = yw(), be = Rp();
|
|
248
|
-
const
|
|
248
|
+
const Ms = /* @__PURE__ */ yy(be);
|
|
249
249
|
var Ou = {}, lh = { exports: {} }, cr = {}, ch = { exports: {} }, uh = {};
|
|
250
250
|
/**
|
|
251
251
|
* @license React
|
|
@@ -361,9 +361,9 @@ function bw() {
|
|
|
361
361
|
ee(fe);
|
|
362
362
|
};
|
|
363
363
|
else if (typeof MessageChannel < "u") {
|
|
364
|
-
var We = new MessageChannel(),
|
|
364
|
+
var We = new MessageChannel(), re = We.port2;
|
|
365
365
|
We.port1.onmessage = fe, Ie = function() {
|
|
366
|
-
|
|
366
|
+
re.postMessage(null);
|
|
367
367
|
};
|
|
368
368
|
} else Ie = function() {
|
|
369
369
|
H(fe, 0);
|
|
@@ -565,7 +565,7 @@ function ww() {
|
|
|
565
565
|
var b = H.hasOwnProperty(s) ? H[s] : null;
|
|
566
566
|
(b !== null ? b.type !== 0 : m || !(2 < s.length) || s[0] !== "o" && s[0] !== "O" || s[1] !== "n" && s[1] !== "N") && (N(s, c, b, m) && (c = null), m || b === null ? _(s) && (c === null ? i.removeAttribute(s) : i.setAttribute(s, "" + c)) : b.mustUseProperty ? i[b.propertyName] = c === null ? b.type === 3 ? !1 : "" : c : (s = b.attributeName, m = b.attributeNamespace, c === null ? i.removeAttribute(s) : (b = b.type, c = b === 3 || b === 4 && c === !0 ? "" : "" + c, m ? i.setAttributeNS(m, s, c) : i.setAttribute(s, c))));
|
|
567
567
|
}
|
|
568
|
-
var L = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, F = Symbol.for("react.element"), G = Symbol.for("react.portal"), se = Symbol.for("react.fragment"), Q = Symbol.for("react.strict_mode"), $ = Symbol.for("react.profiler"), q = Symbol.for("react.provider"), Y = Symbol.for("react.context"), fe = Symbol.for("react.forward_ref"), Ie = Symbol.for("react.suspense"), We = Symbol.for("react.suspense_list"),
|
|
568
|
+
var L = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, F = Symbol.for("react.element"), G = Symbol.for("react.portal"), se = Symbol.for("react.fragment"), Q = Symbol.for("react.strict_mode"), $ = Symbol.for("react.profiler"), q = Symbol.for("react.provider"), Y = Symbol.for("react.context"), fe = Symbol.for("react.forward_ref"), Ie = Symbol.for("react.suspense"), We = Symbol.for("react.suspense_list"), re = Symbol.for("react.memo"), Pe = Symbol.for("react.lazy"), me = Symbol.for("react.offscreen"), ce = Symbol.iterator;
|
|
569
569
|
function Ce(i) {
|
|
570
570
|
return i === null || typeof i != "object" ? null : (i = ce && i[ce] || i["@@iterator"], typeof i == "function" ? i : null);
|
|
571
571
|
}
|
|
@@ -684,7 +684,7 @@ function ww() {
|
|
|
684
684
|
case fe:
|
|
685
685
|
var s = i.render;
|
|
686
686
|
return i = i.displayName, i || (i = s.displayName || s.name || "", i = i !== "" ? "ForwardRef(" + i + ")" : "ForwardRef"), i;
|
|
687
|
-
case
|
|
687
|
+
case re:
|
|
688
688
|
return s = i.displayName || null, s !== null ? s : Fe(i.type) || "Memo";
|
|
689
689
|
case Pe:
|
|
690
690
|
s = i._payload, i = i._init;
|
|
@@ -818,7 +818,7 @@ function ww() {
|
|
|
818
818
|
}
|
|
819
819
|
s.hasOwnProperty("value") ? yn(i, s.type, c) : s.hasOwnProperty("defaultValue") && yn(i, s.type, qe(s.defaultValue)), s.checked == null && s.defaultChecked != null && (i.defaultChecked = !!s.defaultChecked);
|
|
820
820
|
}
|
|
821
|
-
function
|
|
821
|
+
function Bs(i, s, c) {
|
|
822
822
|
if (s.hasOwnProperty("value") || s.hasOwnProperty("defaultValue")) {
|
|
823
823
|
var m = s.type;
|
|
824
824
|
if (!(m !== "submit" && m !== "reset" || s.value !== void 0 && s.value !== null)) return;
|
|
@@ -850,7 +850,7 @@ function ww() {
|
|
|
850
850
|
if (s.dangerouslySetInnerHTML != null) throw Error(t(91));
|
|
851
851
|
return de({}, s, { value: void 0, defaultValue: void 0, children: "" + i._wrapperState.initialValue });
|
|
852
852
|
}
|
|
853
|
-
function
|
|
853
|
+
function Vs(i, s) {
|
|
854
854
|
var c = s.value;
|
|
855
855
|
if (c == null) {
|
|
856
856
|
if (c = s.children, s = s.defaultValue, c != null) {
|
|
@@ -1059,14 +1059,14 @@ function ww() {
|
|
|
1059
1059
|
if (c && typeof c != "function") throw Error(t(231, s, typeof c));
|
|
1060
1060
|
return c;
|
|
1061
1061
|
}
|
|
1062
|
-
var
|
|
1062
|
+
var zs = !1;
|
|
1063
1063
|
if (u) try {
|
|
1064
1064
|
var De = {};
|
|
1065
1065
|
Object.defineProperty(De, "passive", { get: function() {
|
|
1066
|
-
|
|
1066
|
+
zs = !0;
|
|
1067
1067
|
} }), window.addEventListener("test", De, De), window.removeEventListener("test", De, De);
|
|
1068
1068
|
} catch {
|
|
1069
|
-
|
|
1069
|
+
zs = !1;
|
|
1070
1070
|
}
|
|
1071
1071
|
function Ka(i, s, c, m, b, k, E, D, V) {
|
|
1072
1072
|
var ae = Array.prototype.slice.call(arguments, 3);
|
|
@@ -1082,7 +1082,7 @@ function ww() {
|
|
|
1082
1082
|
function Tc(i, s, c, m, b, k, E, D, V) {
|
|
1083
1083
|
hr = !1, Wo = null, Ka.apply(Sc, arguments);
|
|
1084
1084
|
}
|
|
1085
|
-
function
|
|
1085
|
+
function Ws(i, s, c, m, b, k, E, D, V) {
|
|
1086
1086
|
if (Tc.apply(this, arguments), hr) {
|
|
1087
1087
|
if (hr) {
|
|
1088
1088
|
var ae = Wo;
|
|
@@ -1171,26 +1171,26 @@ function ww() {
|
|
|
1171
1171
|
return c.stateNode.current === c ? i : s;
|
|
1172
1172
|
}
|
|
1173
1173
|
function Ec(i) {
|
|
1174
|
-
return i = xc(i), i !== null ?
|
|
1174
|
+
return i = xc(i), i !== null ? Hs(i) : null;
|
|
1175
1175
|
}
|
|
1176
|
-
function
|
|
1176
|
+
function Hs(i) {
|
|
1177
1177
|
if (i.tag === 5 || i.tag === 6) return i;
|
|
1178
1178
|
for (i = i.child; i !== null; ) {
|
|
1179
|
-
var s =
|
|
1179
|
+
var s = Hs(i);
|
|
1180
1180
|
if (s !== null) return s;
|
|
1181
1181
|
i = i.sibling;
|
|
1182
1182
|
}
|
|
1183
1183
|
return null;
|
|
1184
1184
|
}
|
|
1185
|
-
var Ja = e.unstable_scheduleCallback, tr = e.unstable_cancelCallback,
|
|
1186
|
-
function
|
|
1185
|
+
var Ja = e.unstable_scheduleCallback, tr = e.unstable_cancelCallback, $s = e.unstable_shouldYield, Ya = e.unstable_requestPaint, Ut = e.unstable_now, qs = e.unstable_getCurrentPriorityLevel, Gs = e.unstable_ImmediatePriority, Qa = e.unstable_UserBlockingPriority, $o = e.unstable_NormalPriority, qo = e.unstable_LowPriority, Ks = e.unstable_IdlePriority, Pr = null, Rn = null;
|
|
1186
|
+
function Js(i) {
|
|
1187
1187
|
if (Rn && typeof Rn.onCommitFiberRoot == "function") try {
|
|
1188
1188
|
Rn.onCommitFiberRoot(Pr, i, void 0, (i.current.flags & 128) === 128);
|
|
1189
1189
|
} catch {
|
|
1190
1190
|
}
|
|
1191
1191
|
}
|
|
1192
|
-
var kn = Math.clz32 ? Math.clz32 :
|
|
1193
|
-
function
|
|
1192
|
+
var kn = Math.clz32 ? Math.clz32 : Ys, qr = Math.log, Pc = Math.LN2;
|
|
1193
|
+
function Ys(i) {
|
|
1194
1194
|
return i >>>= 0, i === 0 ? 32 : 31 - (qr(i) / Pc | 0) | 0;
|
|
1195
1195
|
}
|
|
1196
1196
|
var Go = 64, wn = 4194304;
|
|
@@ -1303,14 +1303,14 @@ function ww() {
|
|
|
1303
1303
|
V === -1 ? ((D & c) === 0 || (D & m) !== 0) && (b[E] = pr(D, s)) : V <= s && (i.expiredLanes |= D), k &= ~D;
|
|
1304
1304
|
}
|
|
1305
1305
|
}
|
|
1306
|
-
function
|
|
1306
|
+
function Qs(i) {
|
|
1307
1307
|
return i = i.pendingLanes & -1073741825, i !== 0 ? i : i & 1073741824 ? 1073741824 : 0;
|
|
1308
1308
|
}
|
|
1309
1309
|
function Xa() {
|
|
1310
1310
|
var i = Go;
|
|
1311
1311
|
return Go <<= 1, (Go & 4194240) === 0 && (Go = 64), i;
|
|
1312
1312
|
}
|
|
1313
|
-
function
|
|
1313
|
+
function Xs(i) {
|
|
1314
1314
|
for (var s = [], c = 0; 31 > c; c++) s.push(i);
|
|
1315
1315
|
return s;
|
|
1316
1316
|
}
|
|
@@ -1337,7 +1337,7 @@ function ww() {
|
|
|
1337
1337
|
function Mr(i) {
|
|
1338
1338
|
return i &= -i, 1 < i ? 4 < i ? (i & 268435455) !== 0 ? 16 : 536870912 : 4 : 1;
|
|
1339
1339
|
}
|
|
1340
|
-
var
|
|
1340
|
+
var Zs, Gr, Za, lo, Yo, Qo = !1, Xo = [], Kr = null, Jr = null, fi = null, co = /* @__PURE__ */ new Map(), hi = /* @__PURE__ */ new Map(), mr = [], uo = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
|
|
1341
1341
|
function Zo(i, s) {
|
|
1342
1342
|
switch (i) {
|
|
1343
1343
|
case "focusin":
|
|
@@ -1416,11 +1416,11 @@ function ww() {
|
|
|
1416
1416
|
function In(i, s, c) {
|
|
1417
1417
|
ji(i) && c.delete(s);
|
|
1418
1418
|
}
|
|
1419
|
-
function
|
|
1419
|
+
function ea() {
|
|
1420
1420
|
Qo = !1, Kr !== null && ji(Kr) && (Kr = null), Jr !== null && ji(Jr) && (Jr = null), fi !== null && ji(fi) && (fi = null), co.forEach(In), hi.forEach(In);
|
|
1421
1421
|
}
|
|
1422
1422
|
function ts(i, s) {
|
|
1423
|
-
i.blockedOn === s && (i.blockedOn = null, Qo || (Qo = !0, e.unstable_scheduleCallback(e.unstable_NormalPriority,
|
|
1423
|
+
i.blockedOn === s && (i.blockedOn = null, Qo || (Qo = !0, e.unstable_scheduleCallback(e.unstable_NormalPriority, ea)));
|
|
1424
1424
|
}
|
|
1425
1425
|
function Mn(i) {
|
|
1426
1426
|
function s(b) {
|
|
@@ -1463,7 +1463,7 @@ function ww() {
|
|
|
1463
1463
|
else if (Zo(i, m), s & 4 && -1 < uo.indexOf(i)) {
|
|
1464
1464
|
for (; b !== null; ) {
|
|
1465
1465
|
var k = wl(b);
|
|
1466
|
-
if (k !== null &&
|
|
1466
|
+
if (k !== null && Zs(k), k = rl(i, s, c, m), k === null && Gd(i, s, m, Fi, c), k === b) break;
|
|
1467
1467
|
b = k;
|
|
1468
1468
|
}
|
|
1469
1469
|
b !== null && m.stopPropagation();
|
|
@@ -1557,15 +1557,15 @@ function ww() {
|
|
|
1557
1557
|
case "pointerleave":
|
|
1558
1558
|
return 4;
|
|
1559
1559
|
case "message":
|
|
1560
|
-
switch (
|
|
1561
|
-
case
|
|
1560
|
+
switch (qs()) {
|
|
1561
|
+
case Gs:
|
|
1562
1562
|
return 1;
|
|
1563
1563
|
case Qa:
|
|
1564
1564
|
return 4;
|
|
1565
1565
|
case $o:
|
|
1566
1566
|
case qo:
|
|
1567
1567
|
return 16;
|
|
1568
|
-
case
|
|
1568
|
+
case Ks:
|
|
1569
1569
|
return 536870912;
|
|
1570
1570
|
default:
|
|
1571
1571
|
return 16;
|
|
@@ -1587,7 +1587,7 @@ function ww() {
|
|
|
1587
1587
|
var s = i.keyCode;
|
|
1588
1588
|
return "charCode" in i ? (i = i.charCode, i === 0 && s === 13 && (i = 13)) : i = s, i === 10 && (i = 13), 32 <= i || i === 13 ? i : 0;
|
|
1589
1589
|
}
|
|
1590
|
-
function
|
|
1590
|
+
function ta() {
|
|
1591
1591
|
return !0;
|
|
1592
1592
|
}
|
|
1593
1593
|
function on() {
|
|
@@ -1597,27 +1597,27 @@ function ww() {
|
|
|
1597
1597
|
function s(c, m, b, k, E) {
|
|
1598
1598
|
this._reactName = c, this._targetInst = b, this.type = m, this.nativeEvent = k, this.target = E, this.currentTarget = null;
|
|
1599
1599
|
for (var D in i) i.hasOwnProperty(D) && (c = i[D], this[D] = c ? c(k) : k[D]);
|
|
1600
|
-
return this.isDefaultPrevented = (k.defaultPrevented != null ? k.defaultPrevented : k.returnValue === !1) ?
|
|
1600
|
+
return this.isDefaultPrevented = (k.defaultPrevented != null ? k.defaultPrevented : k.returnValue === !1) ? ta : on, this.isPropagationStopped = on, this;
|
|
1601
1601
|
}
|
|
1602
1602
|
return de(s.prototype, { preventDefault: function() {
|
|
1603
1603
|
this.defaultPrevented = !0;
|
|
1604
1604
|
var c = this.nativeEvent;
|
|
1605
|
-
c && (c.preventDefault ? c.preventDefault() : typeof c.returnValue != "unknown" && (c.returnValue = !1), this.isDefaultPrevented =
|
|
1605
|
+
c && (c.preventDefault ? c.preventDefault() : typeof c.returnValue != "unknown" && (c.returnValue = !1), this.isDefaultPrevented = ta);
|
|
1606
1606
|
}, stopPropagation: function() {
|
|
1607
1607
|
var c = this.nativeEvent;
|
|
1608
|
-
c && (c.stopPropagation ? c.stopPropagation() : typeof c.cancelBubble != "unknown" && (c.cancelBubble = !0), this.isPropagationStopped =
|
|
1608
|
+
c && (c.stopPropagation ? c.stopPropagation() : typeof c.cancelBubble != "unknown" && (c.cancelBubble = !0), this.isPropagationStopped = ta);
|
|
1609
1609
|
}, persist: function() {
|
|
1610
|
-
}, isPersistent:
|
|
1610
|
+
}, isPersistent: ta }), s;
|
|
1611
1611
|
}
|
|
1612
1612
|
var On = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(i) {
|
|
1613
1613
|
return i.timeStamp || Date.now();
|
|
1614
|
-
}, defaultPrevented: 0, isTrusted: 0 }, fo = An(On), gi = de({}, On, { view: 0, detail: 0 }), Ic = An(gi), os, il, Ui,
|
|
1614
|
+
}, defaultPrevented: 0, isTrusted: 0 }, fo = An(On), gi = de({}, On, { view: 0, detail: 0 }), Ic = An(gi), os, il, Ui, na = de({}, gi, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: ra, button: 0, buttons: 0, relatedTarget: function(i) {
|
|
1615
1615
|
return i.relatedTarget === void 0 ? i.fromElement === i.srcElement ? i.toElement : i.fromElement : i.relatedTarget;
|
|
1616
1616
|
}, movementX: function(i) {
|
|
1617
1617
|
return "movementX" in i ? i.movementX : (i !== Ui && (Ui && i.type === "mousemove" ? (os = i.screenX - Ui.screenX, il = i.screenY - Ui.screenY) : il = os = 0, Ui = i), os);
|
|
1618
1618
|
}, movementY: function(i) {
|
|
1619
1619
|
return "movementY" in i ? i.movementY : il;
|
|
1620
|
-
} }), Mc = An(
|
|
1620
|
+
} }), Mc = An(na), Ac = de({}, na, { dataTransfer: 0 }), jd = An(Ac), Fd = de({}, gi, { relatedTarget: 0 }), ol = An(Fd), Ud = de({}, On, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Bd = An(Ud), Vd = de({}, On, { clipboardData: function(i) {
|
|
1621
1621
|
return "clipboardData" in i ? i.clipboardData : window.clipboardData;
|
|
1622
1622
|
} }), zd = An(Vd), sl = de({}, On, { data: 0 }), ss = An(sl), Wd = {
|
|
1623
1623
|
Esc: "Escape",
|
|
@@ -1674,7 +1674,7 @@ function ww() {
|
|
|
1674
1674
|
var s = this.nativeEvent;
|
|
1675
1675
|
return s.getModifierState ? s.getModifierState(i) : (i = Oc[i]) ? !!s[i] : !1;
|
|
1676
1676
|
}
|
|
1677
|
-
function
|
|
1677
|
+
function ra() {
|
|
1678
1678
|
return al;
|
|
1679
1679
|
}
|
|
1680
1680
|
var Lc = de({}, gi, { key: function(i) {
|
|
@@ -1683,13 +1683,13 @@ function ww() {
|
|
|
1683
1683
|
if (s !== "Unidentified") return s;
|
|
1684
1684
|
}
|
|
1685
1685
|
return i.type === "keypress" ? (i = is(i), i === 13 ? "Enter" : String.fromCharCode(i)) : i.type === "keydown" || i.type === "keyup" ? Hd[i.keyCode] || "Unidentified" : "";
|
|
1686
|
-
}, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState:
|
|
1686
|
+
}, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: ra, charCode: function(i) {
|
|
1687
1687
|
return i.type === "keypress" ? is(i) : 0;
|
|
1688
1688
|
}, keyCode: function(i) {
|
|
1689
1689
|
return i.type === "keydown" || i.type === "keyup" ? i.keyCode : 0;
|
|
1690
1690
|
}, which: function(i) {
|
|
1691
1691
|
return i.type === "keypress" ? is(i) : i.type === "keydown" || i.type === "keyup" ? i.keyCode : 0;
|
|
1692
|
-
} }), Dc = An(Lc), as = de({},
|
|
1692
|
+
} }), Dc = An(Lc), as = de({}, na, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), nr = An(as), ia = de({}, gi, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: ra }), ls = An(ia), ho = de({}, On, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Ar = An(ho), oa = de({}, na, {
|
|
1693
1693
|
deltaX: function(i) {
|
|
1694
1694
|
return "deltaX" in i ? i.deltaX : "wheelDeltaX" in i ? -i.wheelDeltaX : 0;
|
|
1695
1695
|
},
|
|
@@ -1698,9 +1698,9 @@ function ww() {
|
|
|
1698
1698
|
},
|
|
1699
1699
|
deltaZ: 0,
|
|
1700
1700
|
deltaMode: 0
|
|
1701
|
-
}), Yt = An(
|
|
1701
|
+
}), Yt = An(oa), Nc = [9, 13, 27, 32], Qt = u && "CompositionEvent" in window, vi = null;
|
|
1702
1702
|
u && "documentMode" in document && (vi = document.documentMode);
|
|
1703
|
-
var $d = u && "TextEvent" in window && !vi,
|
|
1703
|
+
var $d = u && "TextEvent" in window && !vi, sa = u && (!Qt || vi && 8 < vi && 11 >= vi), jc = " ", cs = !1;
|
|
1704
1704
|
function yr(i, s) {
|
|
1705
1705
|
switch (i) {
|
|
1706
1706
|
case "keyup":
|
|
@@ -1743,7 +1743,7 @@ function ww() {
|
|
|
1743
1743
|
}
|
|
1744
1744
|
return null;
|
|
1745
1745
|
case "compositionend":
|
|
1746
|
-
return
|
|
1746
|
+
return sa && s.locale !== "ko" ? null : s.data;
|
|
1747
1747
|
default:
|
|
1748
1748
|
return null;
|
|
1749
1749
|
}
|
|
@@ -1761,7 +1761,7 @@ function ww() {
|
|
|
1761
1761
|
Cm(i, 0);
|
|
1762
1762
|
}
|
|
1763
1763
|
function Bi(i) {
|
|
1764
|
-
var s =
|
|
1764
|
+
var s = da(i);
|
|
1765
1765
|
if (er(s)) return i;
|
|
1766
1766
|
}
|
|
1767
1767
|
function Vc(i, s) {
|
|
@@ -1771,12 +1771,12 @@ function ww() {
|
|
|
1771
1771
|
if (u) {
|
|
1772
1772
|
var fl;
|
|
1773
1773
|
if (u) {
|
|
1774
|
-
var
|
|
1775
|
-
if (!
|
|
1774
|
+
var aa = "oninput" in document;
|
|
1775
|
+
if (!aa) {
|
|
1776
1776
|
var hl = document.createElement("div");
|
|
1777
|
-
hl.setAttribute("oninput", "return;"),
|
|
1777
|
+
hl.setAttribute("oninput", "return;"), aa = typeof hl.oninput == "function";
|
|
1778
1778
|
}
|
|
1779
|
-
fl =
|
|
1779
|
+
fl = aa;
|
|
1780
1780
|
} else fl = !1;
|
|
1781
1781
|
dl = fl && (!document.documentMode || 9 < document.documentMode);
|
|
1782
1782
|
}
|
|
@@ -1798,7 +1798,7 @@ function ww() {
|
|
|
1798
1798
|
function Qr(i, s) {
|
|
1799
1799
|
if (i === "click") return Bi(s);
|
|
1800
1800
|
}
|
|
1801
|
-
function
|
|
1801
|
+
function la(i, s) {
|
|
1802
1802
|
if (i === "input" || i === "change") return Bi(s);
|
|
1803
1803
|
}
|
|
1804
1804
|
function Wc(i, s) {
|
|
@@ -1911,7 +1911,7 @@ function ww() {
|
|
|
1911
1911
|
var Vi = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), _k = new Set("cancel close invalid load scroll toggle".split(" ").concat(Vi));
|
|
1912
1912
|
function wm(i, s, c) {
|
|
1913
1913
|
var m = i.type || "unknown-event";
|
|
1914
|
-
i.currentTarget = c,
|
|
1914
|
+
i.currentTarget = c, Ws(m, s, void 0, i), i.currentTarget = null;
|
|
1915
1915
|
}
|
|
1916
1916
|
function Cm(i, s) {
|
|
1917
1917
|
s = (s & 4) !== 0;
|
|
@@ -1964,7 +1964,7 @@ function ww() {
|
|
|
1964
1964
|
default:
|
|
1965
1965
|
b = nl;
|
|
1966
1966
|
}
|
|
1967
|
-
c = b.bind(null, s, c, i), b = void 0, !
|
|
1967
|
+
c = b.bind(null, s, c, i), b = void 0, !zs || s !== "touchstart" && s !== "touchmove" && s !== "wheel" || (b = !0), m ? b !== void 0 ? i.addEventListener(s, c, { capture: !0, passive: b }) : i.addEventListener(s, c, !0) : b !== void 0 ? i.addEventListener(s, c, { passive: b }) : i.addEventListener(s, c, !1);
|
|
1968
1968
|
}
|
|
1969
1969
|
function Gd(i, s, c, m, b) {
|
|
1970
1970
|
var k = m;
|
|
@@ -2072,10 +2072,10 @@ function ww() {
|
|
|
2072
2072
|
}
|
|
2073
2073
|
var ze = (s & 4) !== 0, Xt = !ze && i === "scroll", Z = ze ? ke !== null ? ke + "Capture" : null : ke;
|
|
2074
2074
|
ze = [];
|
|
2075
|
-
for (var W = ae,
|
|
2076
|
-
|
|
2077
|
-
var xe =
|
|
2078
|
-
if (
|
|
2075
|
+
for (var W = ae, oe; W !== null; ) {
|
|
2076
|
+
oe = W;
|
|
2077
|
+
var xe = oe.stateNode;
|
|
2078
|
+
if (oe.tag === 5 && xe !== null && (oe = xe, Z !== null && (xe = Hr(W, Z), xe != null && ze.push(bl(W, xe, oe)))), Xt) break;
|
|
2079
2079
|
W = W.return;
|
|
2080
2080
|
}
|
|
2081
2081
|
0 < ze.length && (ke = new je(ke, Be, null, c, we), Te.push({ event: ke, listeners: ze }));
|
|
@@ -2085,14 +2085,14 @@ function ww() {
|
|
|
2085
2085
|
e: {
|
|
2086
2086
|
if (ke = i === "mouseover" || i === "pointerover", je = i === "mouseout" || i === "pointerout", ke && c !== Bn && (Be = c.relatedTarget || c.fromElement) && (fs(Be) || Be[zi])) break e;
|
|
2087
2087
|
if ((je || ke) && (ke = we.window === we ? we : (ke = we.ownerDocument) ? ke.defaultView || ke.parentWindow : window, je ? (Be = c.relatedTarget || c.toElement, je = ae, Be = Be ? fs(Be) : null, Be !== null && (Xt = di(Be), Be !== Xt || Be.tag !== 5 && Be.tag !== 6) && (Be = null)) : (je = null, Be = ae), je !== Be)) {
|
|
2088
|
-
if (ze = Mc, xe = "onMouseLeave", Z = "onMouseEnter", W = "mouse", (i === "pointerout" || i === "pointerover") && (ze = nr, xe = "onPointerLeave", Z = "onPointerEnter", W = "pointer"), Xt = je == null ? ke :
|
|
2089
|
-
for (ze = je, Z = Be, W = 0,
|
|
2090
|
-
for (
|
|
2091
|
-
for (; 0 < W -
|
|
2092
|
-
for (; 0 <
|
|
2088
|
+
if (ze = Mc, xe = "onMouseLeave", Z = "onMouseEnter", W = "mouse", (i === "pointerout" || i === "pointerover") && (ze = nr, xe = "onPointerLeave", Z = "onPointerEnter", W = "pointer"), Xt = je == null ? ke : da(je), oe = Be == null ? ke : da(Be), ke = new ze(xe, W + "leave", je, c, we), ke.target = Xt, ke.relatedTarget = oe, xe = null, fs(we) === ae && (ze = new ze(Z, W + "enter", Be, c, we), ze.target = oe, ze.relatedTarget = Xt, xe = ze), Xt = xe, je && Be) t: {
|
|
2089
|
+
for (ze = je, Z = Be, W = 0, oe = ze; oe; oe = ca(oe)) W++;
|
|
2090
|
+
for (oe = 0, xe = Z; xe; xe = ca(xe)) oe++;
|
|
2091
|
+
for (; 0 < W - oe; ) ze = ca(ze), W--;
|
|
2092
|
+
for (; 0 < oe - W; ) Z = ca(Z), oe--;
|
|
2093
2093
|
for (; W--; ) {
|
|
2094
2094
|
if (ze === Z || Z !== null && ze === Z.alternate) break t;
|
|
2095
|
-
ze =
|
|
2095
|
+
ze = ca(ze), Z = ca(Z);
|
|
2096
2096
|
}
|
|
2097
2097
|
ze = null;
|
|
2098
2098
|
}
|
|
@@ -2101,8 +2101,8 @@ function ww() {
|
|
|
2101
2101
|
}
|
|
2102
2102
|
}
|
|
2103
2103
|
e: {
|
|
2104
|
-
if (ke = ae ?
|
|
2105
|
-
else if (po(ke)) if (dl) He =
|
|
2104
|
+
if (ke = ae ? da(ae) : window, je = ke.nodeName && ke.nodeName.toLowerCase(), je === "select" || je === "input" && ke.type === "file") var He = Vc;
|
|
2105
|
+
else if (po(ke)) if (dl) He = la;
|
|
2106
2106
|
else {
|
|
2107
2107
|
He = zc;
|
|
2108
2108
|
var Ye = pl;
|
|
@@ -2114,7 +2114,7 @@ function ww() {
|
|
|
2114
2114
|
}
|
|
2115
2115
|
Ye && Ye(i, ke, ae), i === "focusout" && (Ye = ke._wrapperState) && Ye.controlled && ke.type === "number" && yn(ke, "number", ke.value);
|
|
2116
2116
|
}
|
|
2117
|
-
switch (Ye = ae ?
|
|
2117
|
+
switch (Ye = ae ? da(ae) : window, i) {
|
|
2118
2118
|
case "focusin":
|
|
2119
2119
|
(po(Ye) || Ye.contentEditable === "true") && (w = Ye, x = ae, I = null);
|
|
2120
2120
|
break;
|
|
@@ -2151,7 +2151,7 @@ function ww() {
|
|
|
2151
2151
|
nt = void 0;
|
|
2152
2152
|
}
|
|
2153
2153
|
else yi ? yr(i, c) && (nt = "onCompositionEnd") : i === "keydown" && c.keyCode === 229 && (nt = "onCompositionStart");
|
|
2154
|
-
nt && (
|
|
2154
|
+
nt && (sa && c.locale !== "ko" && (yi || nt !== "onCompositionStart" ? nt === "onCompositionEnd" && yi && (Qe = rs()) : (mi = we, vr = "value" in mi ? mi.value : mi.textContent, yi = !0)), Ye = $c(ae, nt), 0 < Ye.length && (nt = new ss(nt, i, null, c, we), Te.push({ event: nt, listeners: Ye }), Qe ? nt.data = Qe : (Qe = ll(c), Qe !== null && (nt.data = Qe)))), (Qe = $d ? Fc(i, c) : cl(i, c)) && (ae = $c(ae, "onBeforeInput"), 0 < ae.length && (we = new ss("onBeforeInput", "beforeinput", null, c, we), Te.push({ event: we, listeners: ae }), we.data = Qe));
|
|
2155
2155
|
}
|
|
2156
2156
|
Cm(Te, s);
|
|
2157
2157
|
});
|
|
@@ -2166,7 +2166,7 @@ function ww() {
|
|
|
2166
2166
|
}
|
|
2167
2167
|
return m;
|
|
2168
2168
|
}
|
|
2169
|
-
function
|
|
2169
|
+
function ca(i) {
|
|
2170
2170
|
if (i === null) return null;
|
|
2171
2171
|
do
|
|
2172
2172
|
i = i.return;
|
|
@@ -2243,7 +2243,7 @@ function ww() {
|
|
|
2243
2243
|
}
|
|
2244
2244
|
return null;
|
|
2245
2245
|
}
|
|
2246
|
-
var
|
|
2246
|
+
var ua = Math.random().toString(36).slice(2), ki = "__reactFiber$" + ua, kl = "__reactProps$" + ua, zi = "__reactContainer$" + ua, Zd = "__reactEvents$" + ua, Mk = "__reactListeners$" + ua, Ak = "__reactHandles$" + ua;
|
|
2247
2247
|
function fs(i) {
|
|
2248
2248
|
var s = i[ki];
|
|
2249
2249
|
if (s) return s;
|
|
@@ -2262,25 +2262,25 @@ function ww() {
|
|
|
2262
2262
|
function wl(i) {
|
|
2263
2263
|
return i = i[ki] || i[zi], !i || i.tag !== 5 && i.tag !== 6 && i.tag !== 13 && i.tag !== 3 ? null : i;
|
|
2264
2264
|
}
|
|
2265
|
-
function
|
|
2265
|
+
function da(i) {
|
|
2266
2266
|
if (i.tag === 5 || i.tag === 6) return i.stateNode;
|
|
2267
2267
|
throw Error(t(33));
|
|
2268
2268
|
}
|
|
2269
2269
|
function Kc(i) {
|
|
2270
2270
|
return i[kl] || null;
|
|
2271
2271
|
}
|
|
2272
|
-
var ef = [],
|
|
2272
|
+
var ef = [], fa = -1;
|
|
2273
2273
|
function yo(i) {
|
|
2274
2274
|
return { current: i };
|
|
2275
2275
|
}
|
|
2276
2276
|
function Dt(i) {
|
|
2277
|
-
0 >
|
|
2277
|
+
0 > fa || (i.current = ef[fa], ef[fa] = null, fa--);
|
|
2278
2278
|
}
|
|
2279
2279
|
function Mt(i, s) {
|
|
2280
|
-
|
|
2280
|
+
fa++, ef[fa] = i.current, i.current = s;
|
|
2281
2281
|
}
|
|
2282
2282
|
var bo = {}, Ln = yo(bo), ir = yo(!1), hs = bo;
|
|
2283
|
-
function
|
|
2283
|
+
function ha(i, s) {
|
|
2284
2284
|
var c = i.type.contextTypes;
|
|
2285
2285
|
if (!c) return bo;
|
|
2286
2286
|
var m = i.stateNode;
|
|
@@ -2335,16 +2335,16 @@ function ww() {
|
|
|
2335
2335
|
}
|
|
2336
2336
|
Wi = null, Qc = !1;
|
|
2337
2337
|
} catch (b) {
|
|
2338
|
-
throw Wi !== null && (Wi = Wi.slice(i + 1)), Ja(
|
|
2338
|
+
throw Wi !== null && (Wi = Wi.slice(i + 1)), Ja(Gs, ko), b;
|
|
2339
2339
|
} finally {
|
|
2340
2340
|
gt = s, tf = !1;
|
|
2341
2341
|
}
|
|
2342
2342
|
}
|
|
2343
2343
|
return null;
|
|
2344
2344
|
}
|
|
2345
|
-
var
|
|
2345
|
+
var pa = [], ma = 0, Xc = null, Zc = 0, Or = [], Lr = 0, ps = null, Hi = 1, $i = "";
|
|
2346
2346
|
function ms(i, s) {
|
|
2347
|
-
|
|
2347
|
+
pa[ma++] = Zc, pa[ma++] = Xc, Xc = i, Zc = s;
|
|
2348
2348
|
}
|
|
2349
2349
|
function Am(i, s, c) {
|
|
2350
2350
|
Or[Lr++] = Hi, Or[Lr++] = $i, Or[Lr++] = ps, ps = i;
|
|
@@ -2362,7 +2362,7 @@ function ww() {
|
|
|
2362
2362
|
i.return !== null && (ms(i, 1), Am(i, 1, 0));
|
|
2363
2363
|
}
|
|
2364
2364
|
function rf(i) {
|
|
2365
|
-
for (; i === Xc; ) Xc =
|
|
2365
|
+
for (; i === Xc; ) Xc = pa[--ma], pa[ma] = null, Zc = pa[--ma], pa[ma] = null;
|
|
2366
2366
|
for (; i === ps; ) ps = Or[--Lr], Or[Lr] = null, $i = Or[--Lr], Or[Lr] = null, Hi = Or[--Lr], Or[Lr] = null;
|
|
2367
2367
|
}
|
|
2368
2368
|
var br = null, kr = null, Nt = !1, Zr = null;
|
|
@@ -2439,7 +2439,7 @@ function ww() {
|
|
|
2439
2439
|
function Nm() {
|
|
2440
2440
|
for (var i = kr; i; ) i = vo(i.nextSibling);
|
|
2441
2441
|
}
|
|
2442
|
-
function
|
|
2442
|
+
function ga() {
|
|
2443
2443
|
kr = br = null, Nt = !1;
|
|
2444
2444
|
}
|
|
2445
2445
|
function af(i) {
|
|
@@ -2475,8 +2475,8 @@ function ww() {
|
|
|
2475
2475
|
function Fm(i) {
|
|
2476
2476
|
function s(Z, W) {
|
|
2477
2477
|
if (i) {
|
|
2478
|
-
var
|
|
2479
|
-
|
|
2478
|
+
var oe = Z.deletions;
|
|
2479
|
+
oe === null ? (Z.deletions = [W], Z.flags |= 16) : oe.push(W);
|
|
2480
2480
|
}
|
|
2481
2481
|
}
|
|
2482
2482
|
function c(Z, W) {
|
|
@@ -2491,106 +2491,106 @@ function ww() {
|
|
|
2491
2491
|
function b(Z, W) {
|
|
2492
2492
|
return Z = Po(Z, W), Z.index = 0, Z.sibling = null, Z;
|
|
2493
2493
|
}
|
|
2494
|
-
function k(Z, W,
|
|
2495
|
-
return Z.index =
|
|
2494
|
+
function k(Z, W, oe) {
|
|
2495
|
+
return Z.index = oe, i ? (oe = Z.alternate, oe !== null ? (oe = oe.index, oe < W ? (Z.flags |= 2, W) : oe) : (Z.flags |= 2, W)) : (Z.flags |= 1048576, W);
|
|
2496
2496
|
}
|
|
2497
2497
|
function E(Z) {
|
|
2498
2498
|
return i && Z.alternate === null && (Z.flags |= 2), Z;
|
|
2499
2499
|
}
|
|
2500
|
-
function D(Z, W,
|
|
2501
|
-
return W === null || W.tag !== 6 ? (W = Xf(
|
|
2500
|
+
function D(Z, W, oe, xe) {
|
|
2501
|
+
return W === null || W.tag !== 6 ? (W = Xf(oe, Z.mode, xe), W.return = Z, W) : (W = b(W, oe), W.return = Z, W);
|
|
2502
2502
|
}
|
|
2503
|
-
function V(Z, W,
|
|
2504
|
-
var He =
|
|
2505
|
-
return He === se ? we(Z, W,
|
|
2503
|
+
function V(Z, W, oe, xe) {
|
|
2504
|
+
var He = oe.type;
|
|
2505
|
+
return He === se ? we(Z, W, oe.props.children, xe, oe.key) : W !== null && (W.elementType === He || typeof He == "object" && He !== null && He.$$typeof === Pe && jm(He) === W.type) ? (xe = b(W, oe.props), xe.ref = Cl(Z, W, oe), xe.return = Z, xe) : (xe = _u(oe.type, oe.key, oe.props, null, Z.mode, xe), xe.ref = Cl(Z, W, oe), xe.return = Z, xe);
|
|
2506
2506
|
}
|
|
2507
|
-
function ae(Z, W,
|
|
2508
|
-
return W === null || W.tag !== 4 || W.stateNode.containerInfo !==
|
|
2507
|
+
function ae(Z, W, oe, xe) {
|
|
2508
|
+
return W === null || W.tag !== 4 || W.stateNode.containerInfo !== oe.containerInfo || W.stateNode.implementation !== oe.implementation ? (W = Zf(oe, Z.mode, xe), W.return = Z, W) : (W = b(W, oe.children || []), W.return = Z, W);
|
|
2509
2509
|
}
|
|
2510
|
-
function we(Z, W,
|
|
2511
|
-
return W === null || W.tag !== 7 ? (W = Ss(
|
|
2510
|
+
function we(Z, W, oe, xe, He) {
|
|
2511
|
+
return W === null || W.tag !== 7 ? (W = Ss(oe, Z.mode, xe, He), W.return = Z, W) : (W = b(W, oe), W.return = Z, W);
|
|
2512
2512
|
}
|
|
2513
|
-
function Te(Z, W,
|
|
2514
|
-
if (typeof W == "string" && W !== "" || typeof W == "number") return W = Xf("" + W, Z.mode,
|
|
2513
|
+
function Te(Z, W, oe) {
|
|
2514
|
+
if (typeof W == "string" && W !== "" || typeof W == "number") return W = Xf("" + W, Z.mode, oe), W.return = Z, W;
|
|
2515
2515
|
if (typeof W == "object" && W !== null) {
|
|
2516
2516
|
switch (W.$$typeof) {
|
|
2517
2517
|
case F:
|
|
2518
|
-
return
|
|
2518
|
+
return oe = _u(W.type, W.key, W.props, null, Z.mode, oe), oe.ref = Cl(Z, null, W), oe.return = Z, oe;
|
|
2519
2519
|
case G:
|
|
2520
|
-
return W = Zf(W, Z.mode,
|
|
2520
|
+
return W = Zf(W, Z.mode, oe), W.return = Z, W;
|
|
2521
2521
|
case Pe:
|
|
2522
2522
|
var xe = W._init;
|
|
2523
|
-
return Te(Z, xe(W._payload),
|
|
2523
|
+
return Te(Z, xe(W._payload), oe);
|
|
2524
2524
|
}
|
|
2525
|
-
if (Li(W) || Ce(W)) return W = Ss(W, Z.mode,
|
|
2525
|
+
if (Li(W) || Ce(W)) return W = Ss(W, Z.mode, oe, null), W.return = Z, W;
|
|
2526
2526
|
tu(Z, W);
|
|
2527
2527
|
}
|
|
2528
2528
|
return null;
|
|
2529
2529
|
}
|
|
2530
|
-
function ke(Z, W,
|
|
2530
|
+
function ke(Z, W, oe, xe) {
|
|
2531
2531
|
var He = W !== null ? W.key : null;
|
|
2532
|
-
if (typeof
|
|
2533
|
-
if (typeof
|
|
2534
|
-
switch (
|
|
2532
|
+
if (typeof oe == "string" && oe !== "" || typeof oe == "number") return He !== null ? null : D(Z, W, "" + oe, xe);
|
|
2533
|
+
if (typeof oe == "object" && oe !== null) {
|
|
2534
|
+
switch (oe.$$typeof) {
|
|
2535
2535
|
case F:
|
|
2536
|
-
return
|
|
2536
|
+
return oe.key === He ? V(Z, W, oe, xe) : null;
|
|
2537
2537
|
case G:
|
|
2538
|
-
return
|
|
2538
|
+
return oe.key === He ? ae(Z, W, oe, xe) : null;
|
|
2539
2539
|
case Pe:
|
|
2540
|
-
return He =
|
|
2540
|
+
return He = oe._init, ke(
|
|
2541
2541
|
Z,
|
|
2542
2542
|
W,
|
|
2543
|
-
He(
|
|
2543
|
+
He(oe._payload),
|
|
2544
2544
|
xe
|
|
2545
2545
|
);
|
|
2546
2546
|
}
|
|
2547
|
-
if (Li(
|
|
2548
|
-
tu(Z,
|
|
2547
|
+
if (Li(oe) || Ce(oe)) return He !== null ? null : we(Z, W, oe, xe, null);
|
|
2548
|
+
tu(Z, oe);
|
|
2549
2549
|
}
|
|
2550
2550
|
return null;
|
|
2551
2551
|
}
|
|
2552
|
-
function je(Z, W,
|
|
2553
|
-
if (typeof xe == "string" && xe !== "" || typeof xe == "number") return Z = Z.get(
|
|
2552
|
+
function je(Z, W, oe, xe, He) {
|
|
2553
|
+
if (typeof xe == "string" && xe !== "" || typeof xe == "number") return Z = Z.get(oe) || null, D(W, Z, "" + xe, He);
|
|
2554
2554
|
if (typeof xe == "object" && xe !== null) {
|
|
2555
2555
|
switch (xe.$$typeof) {
|
|
2556
2556
|
case F:
|
|
2557
|
-
return Z = Z.get(xe.key === null ?
|
|
2557
|
+
return Z = Z.get(xe.key === null ? oe : xe.key) || null, V(W, Z, xe, He);
|
|
2558
2558
|
case G:
|
|
2559
|
-
return Z = Z.get(xe.key === null ?
|
|
2559
|
+
return Z = Z.get(xe.key === null ? oe : xe.key) || null, ae(W, Z, xe, He);
|
|
2560
2560
|
case Pe:
|
|
2561
2561
|
var Ye = xe._init;
|
|
2562
|
-
return je(Z, W,
|
|
2562
|
+
return je(Z, W, oe, Ye(xe._payload), He);
|
|
2563
2563
|
}
|
|
2564
|
-
if (Li(xe) || Ce(xe)) return Z = Z.get(
|
|
2564
|
+
if (Li(xe) || Ce(xe)) return Z = Z.get(oe) || null, we(W, Z, xe, He, null);
|
|
2565
2565
|
tu(W, xe);
|
|
2566
2566
|
}
|
|
2567
2567
|
return null;
|
|
2568
2568
|
}
|
|
2569
|
-
function Be(Z, W,
|
|
2570
|
-
for (var He = null, Ye = null, Qe = W, nt = W = 0, pn = null; Qe !== null && nt <
|
|
2569
|
+
function Be(Z, W, oe, xe) {
|
|
2570
|
+
for (var He = null, Ye = null, Qe = W, nt = W = 0, pn = null; Qe !== null && nt < oe.length; nt++) {
|
|
2571
2571
|
Qe.index > nt ? (pn = Qe, Qe = null) : pn = Qe.sibling;
|
|
2572
|
-
var bt = ke(Z, Qe,
|
|
2572
|
+
var bt = ke(Z, Qe, oe[nt], xe);
|
|
2573
2573
|
if (bt === null) {
|
|
2574
2574
|
Qe === null && (Qe = pn);
|
|
2575
2575
|
break;
|
|
2576
2576
|
}
|
|
2577
2577
|
i && Qe && bt.alternate === null && s(Z, Qe), W = k(bt, W, nt), Ye === null ? He = bt : Ye.sibling = bt, Ye = bt, Qe = pn;
|
|
2578
2578
|
}
|
|
2579
|
-
if (nt ===
|
|
2579
|
+
if (nt === oe.length) return c(Z, Qe), Nt && ms(Z, nt), He;
|
|
2580
2580
|
if (Qe === null) {
|
|
2581
|
-
for (; nt <
|
|
2581
|
+
for (; nt < oe.length; nt++) Qe = Te(Z, oe[nt], xe), Qe !== null && (W = k(Qe, W, nt), Ye === null ? He = Qe : Ye.sibling = Qe, Ye = Qe);
|
|
2582
2582
|
return Nt && ms(Z, nt), He;
|
|
2583
2583
|
}
|
|
2584
|
-
for (Qe = m(Z, Qe); nt <
|
|
2584
|
+
for (Qe = m(Z, Qe); nt < oe.length; nt++) pn = je(Qe, Z, nt, oe[nt], xe), pn !== null && (i && pn.alternate !== null && Qe.delete(pn.key === null ? nt : pn.key), W = k(pn, W, nt), Ye === null ? He = pn : Ye.sibling = pn, Ye = pn);
|
|
2585
2585
|
return i && Qe.forEach(function(Ro) {
|
|
2586
2586
|
return s(Z, Ro);
|
|
2587
2587
|
}), Nt && ms(Z, nt), He;
|
|
2588
2588
|
}
|
|
2589
|
-
function ze(Z, W,
|
|
2590
|
-
var He = Ce(
|
|
2589
|
+
function ze(Z, W, oe, xe) {
|
|
2590
|
+
var He = Ce(oe);
|
|
2591
2591
|
if (typeof He != "function") throw Error(t(150));
|
|
2592
|
-
if (
|
|
2593
|
-
for (var Ye = He = null, Qe = W, nt = W = 0, pn = null, bt =
|
|
2592
|
+
if (oe = He.call(oe), oe == null) throw Error(t(151));
|
|
2593
|
+
for (var Ye = He = null, Qe = W, nt = W = 0, pn = null, bt = oe.next(); Qe !== null && !bt.done; nt++, bt = oe.next()) {
|
|
2594
2594
|
Qe.index > nt ? (pn = Qe, Qe = null) : pn = Qe.sibling;
|
|
2595
2595
|
var Ro = ke(Z, Qe, bt.value, xe);
|
|
2596
2596
|
if (Ro === null) {
|
|
@@ -2604,28 +2604,28 @@ function ww() {
|
|
|
2604
2604
|
Qe
|
|
2605
2605
|
), Nt && ms(Z, nt), He;
|
|
2606
2606
|
if (Qe === null) {
|
|
2607
|
-
for (; !bt.done; nt++, bt =
|
|
2607
|
+
for (; !bt.done; nt++, bt = oe.next()) bt = Te(Z, bt.value, xe), bt !== null && (W = k(bt, W, nt), Ye === null ? He = bt : Ye.sibling = bt, Ye = bt);
|
|
2608
2608
|
return Nt && ms(Z, nt), He;
|
|
2609
2609
|
}
|
|
2610
|
-
for (Qe = m(Z, Qe); !bt.done; nt++, bt =
|
|
2610
|
+
for (Qe = m(Z, Qe); !bt.done; nt++, bt = oe.next()) bt = je(Qe, Z, nt, bt.value, xe), bt !== null && (i && bt.alternate !== null && Qe.delete(bt.key === null ? nt : bt.key), W = k(bt, W, nt), Ye === null ? He = bt : Ye.sibling = bt, Ye = bt);
|
|
2611
2611
|
return i && Qe.forEach(function(hw) {
|
|
2612
2612
|
return s(Z, hw);
|
|
2613
2613
|
}), Nt && ms(Z, nt), He;
|
|
2614
2614
|
}
|
|
2615
|
-
function Xt(Z, W,
|
|
2616
|
-
if (typeof
|
|
2617
|
-
switch (
|
|
2615
|
+
function Xt(Z, W, oe, xe) {
|
|
2616
|
+
if (typeof oe == "object" && oe !== null && oe.type === se && oe.key === null && (oe = oe.props.children), typeof oe == "object" && oe !== null) {
|
|
2617
|
+
switch (oe.$$typeof) {
|
|
2618
2618
|
case F:
|
|
2619
2619
|
e: {
|
|
2620
|
-
for (var He =
|
|
2620
|
+
for (var He = oe.key, Ye = W; Ye !== null; ) {
|
|
2621
2621
|
if (Ye.key === He) {
|
|
2622
|
-
if (He =
|
|
2622
|
+
if (He = oe.type, He === se) {
|
|
2623
2623
|
if (Ye.tag === 7) {
|
|
2624
|
-
c(Z, Ye.sibling), W = b(Ye,
|
|
2624
|
+
c(Z, Ye.sibling), W = b(Ye, oe.props.children), W.return = Z, Z = W;
|
|
2625
2625
|
break e;
|
|
2626
2626
|
}
|
|
2627
2627
|
} else if (Ye.elementType === He || typeof He == "object" && He !== null && He.$$typeof === Pe && jm(He) === Ye.type) {
|
|
2628
|
-
c(Z, Ye.sibling), W = b(Ye,
|
|
2628
|
+
c(Z, Ye.sibling), W = b(Ye, oe.props), W.ref = Cl(Z, Ye, oe), W.return = Z, Z = W;
|
|
2629
2629
|
break e;
|
|
2630
2630
|
}
|
|
2631
2631
|
c(Z, Ye);
|
|
@@ -2633,14 +2633,14 @@ function ww() {
|
|
|
2633
2633
|
} else s(Z, Ye);
|
|
2634
2634
|
Ye = Ye.sibling;
|
|
2635
2635
|
}
|
|
2636
|
-
|
|
2636
|
+
oe.type === se ? (W = Ss(oe.props.children, Z.mode, xe, oe.key), W.return = Z, Z = W) : (xe = _u(oe.type, oe.key, oe.props, null, Z.mode, xe), xe.ref = Cl(Z, W, oe), xe.return = Z, Z = xe);
|
|
2637
2637
|
}
|
|
2638
2638
|
return E(Z);
|
|
2639
2639
|
case G:
|
|
2640
2640
|
e: {
|
|
2641
|
-
for (Ye =
|
|
2642
|
-
if (W.key === Ye) if (W.tag === 4 && W.stateNode.containerInfo ===
|
|
2643
|
-
c(Z, W.sibling), W = b(W,
|
|
2641
|
+
for (Ye = oe.key; W !== null; ) {
|
|
2642
|
+
if (W.key === Ye) if (W.tag === 4 && W.stateNode.containerInfo === oe.containerInfo && W.stateNode.implementation === oe.implementation) {
|
|
2643
|
+
c(Z, W.sibling), W = b(W, oe.children || []), W.return = Z, Z = W;
|
|
2644
2644
|
break e;
|
|
2645
2645
|
} else {
|
|
2646
2646
|
c(Z, W);
|
|
@@ -2649,23 +2649,23 @@ function ww() {
|
|
|
2649
2649
|
else s(Z, W);
|
|
2650
2650
|
W = W.sibling;
|
|
2651
2651
|
}
|
|
2652
|
-
W = Zf(
|
|
2652
|
+
W = Zf(oe, Z.mode, xe), W.return = Z, Z = W;
|
|
2653
2653
|
}
|
|
2654
2654
|
return E(Z);
|
|
2655
2655
|
case Pe:
|
|
2656
|
-
return Ye =
|
|
2656
|
+
return Ye = oe._init, Xt(Z, W, Ye(oe._payload), xe);
|
|
2657
2657
|
}
|
|
2658
|
-
if (Li(
|
|
2659
|
-
if (Ce(
|
|
2660
|
-
tu(Z,
|
|
2658
|
+
if (Li(oe)) return Be(Z, W, oe, xe);
|
|
2659
|
+
if (Ce(oe)) return ze(Z, W, oe, xe);
|
|
2660
|
+
tu(Z, oe);
|
|
2661
2661
|
}
|
|
2662
|
-
return typeof
|
|
2662
|
+
return typeof oe == "string" && oe !== "" || typeof oe == "number" ? (oe = "" + oe, W !== null && W.tag === 6 ? (c(Z, W.sibling), W = b(W, oe), W.return = Z, Z = W) : (c(Z, W), W = Xf(oe, Z.mode, xe), W.return = Z, Z = W), E(Z)) : c(Z, W);
|
|
2663
2663
|
}
|
|
2664
2664
|
return Xt;
|
|
2665
2665
|
}
|
|
2666
|
-
var
|
|
2666
|
+
var va = Fm(!0), Um = Fm(!1), nu = yo(null), ru = null, ya = null, lf = null;
|
|
2667
2667
|
function cf() {
|
|
2668
|
-
lf =
|
|
2668
|
+
lf = ya = ru = null;
|
|
2669
2669
|
}
|
|
2670
2670
|
function uf(i) {
|
|
2671
2671
|
var s = nu.current;
|
|
@@ -2678,15 +2678,15 @@ function ww() {
|
|
|
2678
2678
|
i = i.return;
|
|
2679
2679
|
}
|
|
2680
2680
|
}
|
|
2681
|
-
function
|
|
2682
|
-
ru = i, lf =
|
|
2681
|
+
function ba(i, s) {
|
|
2682
|
+
ru = i, lf = ya = null, i = i.dependencies, i !== null && i.firstContext !== null && ((i.lanes & s) !== 0 && (sr = !0), i.firstContext = null);
|
|
2683
2683
|
}
|
|
2684
2684
|
function Dr(i) {
|
|
2685
2685
|
var s = i._currentValue;
|
|
2686
|
-
if (lf !== i) if (i = { context: i, memoizedValue: s, next: null },
|
|
2686
|
+
if (lf !== i) if (i = { context: i, memoizedValue: s, next: null }, ya === null) {
|
|
2687
2687
|
if (ru === null) throw Error(t(308));
|
|
2688
|
-
|
|
2689
|
-
} else
|
|
2688
|
+
ya = i, ru.dependencies = { lanes: 0, firstContext: i };
|
|
2689
|
+
} else ya = ya.next = i;
|
|
2690
2690
|
return s;
|
|
2691
2691
|
}
|
|
2692
2692
|
var gs = null;
|
|
@@ -2830,7 +2830,7 @@ function ww() {
|
|
|
2830
2830
|
}
|
|
2831
2831
|
Dt(wi), Mt(wi, s);
|
|
2832
2832
|
}
|
|
2833
|
-
function
|
|
2833
|
+
function ka() {
|
|
2834
2834
|
Dt(wi), Dt(Tl), Dt(_l);
|
|
2835
2835
|
}
|
|
2836
2836
|
function Hm(i) {
|
|
@@ -3242,7 +3242,7 @@ function ww() {
|
|
|
3242
3242
|
}
|
|
3243
3243
|
function hg(i, s, c) {
|
|
3244
3244
|
var m = !1, b = bo, k = s.contextType;
|
|
3245
|
-
return typeof k == "object" && k !== null ? k = Dr(k) : (b = or(s) ? hs : Ln.current, m = s.contextTypes, k = (m = m != null) ?
|
|
3245
|
+
return typeof k == "object" && k !== null ? k = Dr(k) : (b = or(s) ? hs : Ln.current, m = s.contextTypes, k = (m = m != null) ? ha(i, b) : bo), s = new s(c, k), i.memoizedState = s.state !== null && s.state !== void 0 ? s.state : null, s.updater = fu, i.stateNode = s, s._reactInternals = i, m && (i = i.stateNode, i.__reactInternalMemoizedUnmaskedChildContext = b, i.__reactInternalMemoizedMaskedChildContext = k), s;
|
|
3246
3246
|
}
|
|
3247
3247
|
function pg(i, s, c, m) {
|
|
3248
3248
|
i = s.state, typeof s.componentWillReceiveProps == "function" && s.componentWillReceiveProps(c, m), typeof s.UNSAFE_componentWillReceiveProps == "function" && s.UNSAFE_componentWillReceiveProps(c, m), s.state !== i && fu.enqueueReplaceState(s, s.state, null);
|
|
@@ -3251,9 +3251,9 @@ function ww() {
|
|
|
3251
3251
|
var b = i.stateNode;
|
|
3252
3252
|
b.props = c, b.state = i.memoizedState, b.refs = {}, hf(i);
|
|
3253
3253
|
var k = s.contextType;
|
|
3254
|
-
typeof k == "object" && k !== null ? b.context = Dr(k) : (k = or(s) ? hs : Ln.current, b.context =
|
|
3254
|
+
typeof k == "object" && k !== null ? b.context = Dr(k) : (k = or(s) ? hs : Ln.current, b.context = ha(i, k)), b.state = i.memoizedState, k = s.getDerivedStateFromProps, typeof k == "function" && (xf(i, s, k, c), b.state = i.memoizedState), typeof s.getDerivedStateFromProps == "function" || typeof b.getSnapshotBeforeUpdate == "function" || typeof b.UNSAFE_componentWillMount != "function" && typeof b.componentWillMount != "function" || (s = b.state, typeof b.componentWillMount == "function" && b.componentWillMount(), typeof b.UNSAFE_componentWillMount == "function" && b.UNSAFE_componentWillMount(), s !== b.state && fu.enqueueReplaceState(b, b.state, null), ou(i, c, b, m), b.state = i.memoizedState), typeof b.componentDidMount == "function" && (i.flags |= 4194308);
|
|
3255
3255
|
}
|
|
3256
|
-
function
|
|
3256
|
+
function wa(i, s) {
|
|
3257
3257
|
try {
|
|
3258
3258
|
var c = "", m = s;
|
|
3259
3259
|
do
|
|
@@ -3327,12 +3327,12 @@ Error generating stack: ` + k.message + `
|
|
|
3327
3327
|
}
|
|
3328
3328
|
var Wk = L.ReactCurrentOwner, sr = !1;
|
|
3329
3329
|
function Wn(i, s, c, m) {
|
|
3330
|
-
s.child = i === null ? Um(s, null, c, m) :
|
|
3330
|
+
s.child = i === null ? Um(s, null, c, m) : va(s, i.child, c, m);
|
|
3331
3331
|
}
|
|
3332
3332
|
function kg(i, s, c, m, b) {
|
|
3333
3333
|
c = c.render;
|
|
3334
3334
|
var k = s.ref;
|
|
3335
|
-
return
|
|
3335
|
+
return ba(s, b), m = kf(i, s, c, m, k, b), c = wf(), i !== null && !sr ? (s.updateQueue = i.updateQueue, s.flags &= -2053, i.lanes &= ~b, Ki(i, s, b)) : (Nt && c && nf(s), s.flags |= 1, Wn(i, s, m, b), s.child);
|
|
3336
3336
|
}
|
|
3337
3337
|
function wg(i, s, c, m, b) {
|
|
3338
3338
|
if (i === null) {
|
|
@@ -3355,12 +3355,12 @@ Error generating stack: ` + k.message + `
|
|
|
3355
3355
|
}
|
|
3356
3356
|
function Sg(i, s, c) {
|
|
3357
3357
|
var m = s.pendingProps, b = m.children, k = i !== null ? i.memoizedState : null;
|
|
3358
|
-
if (m.mode === "hidden") if ((s.mode & 1) === 0) s.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, Mt(
|
|
3358
|
+
if (m.mode === "hidden") if ((s.mode & 1) === 0) s.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, Mt(Sa, wr), wr |= c;
|
|
3359
3359
|
else {
|
|
3360
|
-
if ((c & 1073741824) === 0) return i = k !== null ? k.baseLanes | c : c, s.lanes = s.childLanes = 1073741824, s.memoizedState = { baseLanes: i, cachePool: null, transitions: null }, s.updateQueue = null, Mt(
|
|
3361
|
-
s.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, m = k !== null ? k.baseLanes : c, Mt(
|
|
3360
|
+
if ((c & 1073741824) === 0) return i = k !== null ? k.baseLanes | c : c, s.lanes = s.childLanes = 1073741824, s.memoizedState = { baseLanes: i, cachePool: null, transitions: null }, s.updateQueue = null, Mt(Sa, wr), wr |= i, null;
|
|
3361
|
+
s.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, m = k !== null ? k.baseLanes : c, Mt(Sa, wr), wr |= m;
|
|
3362
3362
|
}
|
|
3363
|
-
else k !== null ? (m = k.baseLanes | c, s.memoizedState = null) : m = c, Mt(
|
|
3363
|
+
else k !== null ? (m = k.baseLanes | c, s.memoizedState = null) : m = c, Mt(Sa, wr), wr |= m;
|
|
3364
3364
|
return Wn(i, s, b, c), s.child;
|
|
3365
3365
|
}
|
|
3366
3366
|
function Tg(i, s) {
|
|
@@ -3369,25 +3369,25 @@ Error generating stack: ` + k.message + `
|
|
|
3369
3369
|
}
|
|
3370
3370
|
function If(i, s, c, m, b) {
|
|
3371
3371
|
var k = or(c) ? hs : Ln.current;
|
|
3372
|
-
return k =
|
|
3372
|
+
return k = ha(s, k), ba(s, b), c = kf(i, s, c, m, k, b), m = wf(), i !== null && !sr ? (s.updateQueue = i.updateQueue, s.flags &= -2053, i.lanes &= ~b, Ki(i, s, b)) : (Nt && m && nf(s), s.flags |= 1, Wn(i, s, c, b), s.child);
|
|
3373
3373
|
}
|
|
3374
3374
|
function _g(i, s, c, m, b) {
|
|
3375
3375
|
if (or(c)) {
|
|
3376
3376
|
var k = !0;
|
|
3377
3377
|
Yc(s);
|
|
3378
3378
|
} else k = !1;
|
|
3379
|
-
if (
|
|
3379
|
+
if (ba(s, b), s.stateNode === null) pu(i, s), hg(s, c, m), Ef(s, c, m, b), m = !0;
|
|
3380
3380
|
else if (i === null) {
|
|
3381
3381
|
var E = s.stateNode, D = s.memoizedProps;
|
|
3382
3382
|
E.props = D;
|
|
3383
3383
|
var V = E.context, ae = c.contextType;
|
|
3384
|
-
typeof ae == "object" && ae !== null ? ae = Dr(ae) : (ae = or(c) ? hs : Ln.current, ae =
|
|
3384
|
+
typeof ae == "object" && ae !== null ? ae = Dr(ae) : (ae = or(c) ? hs : Ln.current, ae = ha(s, ae));
|
|
3385
3385
|
var we = c.getDerivedStateFromProps, Te = typeof we == "function" || typeof E.getSnapshotBeforeUpdate == "function";
|
|
3386
3386
|
Te || typeof E.UNSAFE_componentWillReceiveProps != "function" && typeof E.componentWillReceiveProps != "function" || (D !== m || V !== ae) && pg(s, E, m, ae), wo = !1;
|
|
3387
3387
|
var ke = s.memoizedState;
|
|
3388
3388
|
E.state = ke, ou(s, m, E, b), V = s.memoizedState, D !== m || ke !== V || ir.current || wo ? (typeof we == "function" && (xf(s, c, we, m), V = s.memoizedState), (D = wo || fg(s, c, D, m, ke, V, ae)) ? (Te || typeof E.UNSAFE_componentWillMount != "function" && typeof E.componentWillMount != "function" || (typeof E.componentWillMount == "function" && E.componentWillMount(), typeof E.UNSAFE_componentWillMount == "function" && E.UNSAFE_componentWillMount()), typeof E.componentDidMount == "function" && (s.flags |= 4194308)) : (typeof E.componentDidMount == "function" && (s.flags |= 4194308), s.memoizedProps = m, s.memoizedState = V), E.props = m, E.state = V, E.context = ae, m = D) : (typeof E.componentDidMount == "function" && (s.flags |= 4194308), m = !1);
|
|
3389
3389
|
} else {
|
|
3390
|
-
E = s.stateNode, Vm(i, s), D = s.memoizedProps, ae = s.type === s.elementType ? D : ei(s.type, D), E.props = ae, Te = s.pendingProps, ke = E.context, V = c.contextType, typeof V == "object" && V !== null ? V = Dr(V) : (V = or(c) ? hs : Ln.current, V =
|
|
3390
|
+
E = s.stateNode, Vm(i, s), D = s.memoizedProps, ae = s.type === s.elementType ? D : ei(s.type, D), E.props = ae, Te = s.pendingProps, ke = E.context, V = c.contextType, typeof V == "object" && V !== null ? V = Dr(V) : (V = or(c) ? hs : Ln.current, V = ha(s, V));
|
|
3391
3391
|
var je = c.getDerivedStateFromProps;
|
|
3392
3392
|
(we = typeof je == "function" || typeof E.getSnapshotBeforeUpdate == "function") || typeof E.UNSAFE_componentWillReceiveProps != "function" && typeof E.componentWillReceiveProps != "function" || (D !== Te || ke !== V) && pg(s, E, m, V), wo = !1, ke = s.memoizedState, E.state = ke, ou(s, m, E, b);
|
|
3393
3393
|
var Be = s.memoizedState;
|
|
@@ -3401,14 +3401,14 @@ Error generating stack: ` + k.message + `
|
|
|
3401
3401
|
if (!m && !E) return b && Im(s, c, !1), Ki(i, s, k);
|
|
3402
3402
|
m = s.stateNode, Wk.current = s;
|
|
3403
3403
|
var D = E && typeof c.getDerivedStateFromError != "function" ? null : m.render();
|
|
3404
|
-
return s.flags |= 1, i !== null && E ? (s.child =
|
|
3404
|
+
return s.flags |= 1, i !== null && E ? (s.child = va(s, i.child, null, k), s.child = va(s, null, D, k)) : Wn(i, s, D, k), s.memoizedState = m.state, b && Im(s, c, !0), s.child;
|
|
3405
3405
|
}
|
|
3406
3406
|
function xg(i) {
|
|
3407
3407
|
var s = i.stateNode;
|
|
3408
3408
|
s.pendingContext ? Pm(i, s.pendingContext, s.pendingContext !== s.context) : s.context && Pm(i, s.context, !1), pf(i, s.containerInfo);
|
|
3409
3409
|
}
|
|
3410
3410
|
function Eg(i, s, c, m, b) {
|
|
3411
|
-
return
|
|
3411
|
+
return ga(), af(b), s.flags |= 256, Wn(i, s, c, m), s.child;
|
|
3412
3412
|
}
|
|
3413
3413
|
var Af = { dehydrated: null, treeContext: null, retryLane: 0 };
|
|
3414
3414
|
function Of(i) {
|
|
@@ -3430,11 +3430,11 @@ Error generating stack: ` + k.message + `
|
|
|
3430
3430
|
return s = xu({ mode: "visible", children: s }, i.mode, 0, null), s.return = i, i.child = s;
|
|
3431
3431
|
}
|
|
3432
3432
|
function hu(i, s, c, m) {
|
|
3433
|
-
return m !== null && af(m),
|
|
3433
|
+
return m !== null && af(m), va(s, i.child, null, c), i = Lf(s, s.pendingProps.children), i.flags |= 2, s.memoizedState = null, i;
|
|
3434
3434
|
}
|
|
3435
3435
|
function Hk(i, s, c, m, b, k, E) {
|
|
3436
3436
|
if (c)
|
|
3437
|
-
return s.flags & 256 ? (s.flags &= -257, m = Pf(Error(t(422))), hu(i, s, E, m)) : s.memoizedState !== null ? (s.child = i.child, s.flags |= 128, null) : (k = m.fallback, b = s.mode, m = xu({ mode: "visible", children: m.children }, b, 0, null), k = Ss(k, b, E, null), k.flags |= 2, m.return = s, k.return = s, m.sibling = k, s.child = m, (s.mode & 1) !== 0 &&
|
|
3437
|
+
return s.flags & 256 ? (s.flags &= -257, m = Pf(Error(t(422))), hu(i, s, E, m)) : s.memoizedState !== null ? (s.child = i.child, s.flags |= 128, null) : (k = m.fallback, b = s.mode, m = xu({ mode: "visible", children: m.children }, b, 0, null), k = Ss(k, b, E, null), k.flags |= 2, m.return = s, k.return = s, m.sibling = k, s.child = m, (s.mode & 1) !== 0 && va(s, i.child, null, E), s.child.memoizedState = Of(E), s.memoizedState = Af, k);
|
|
3438
3438
|
if ((s.mode & 1) === 0) return hu(i, s, E, null);
|
|
3439
3439
|
if (b.data === "$!") {
|
|
3440
3440
|
if (m = b.nextSibling && b.nextSibling.dataset, m) var D = m.dgst;
|
|
@@ -3552,7 +3552,7 @@ Error generating stack: ` + k.message + `
|
|
|
3552
3552
|
function $k(i, s, c) {
|
|
3553
3553
|
switch (s.tag) {
|
|
3554
3554
|
case 3:
|
|
3555
|
-
xg(s),
|
|
3555
|
+
xg(s), ga();
|
|
3556
3556
|
break;
|
|
3557
3557
|
case 5:
|
|
3558
3558
|
Hm(s);
|
|
@@ -3680,7 +3680,7 @@ Error generating stack: ` + k.message + `
|
|
|
3680
3680
|
case 1:
|
|
3681
3681
|
return or(s.type) && Jc(), Nn(s), null;
|
|
3682
3682
|
case 3:
|
|
3683
|
-
return m = s.stateNode,
|
|
3683
|
+
return m = s.stateNode, ka(), Dt(ir), Dt(Ln), vf(), m.pendingContext && (m.context = m.pendingContext, m.pendingContext = null), (i === null || i.child === null) && (eu(s) ? s.flags |= 4 : i === null || i.memoizedState.isDehydrated && (s.flags & 256) === 0 || (s.flags |= 1024, Zr !== null && (Gf(Zr), Zr = null))), Nf(i, s), Nn(s), null;
|
|
3684
3684
|
case 5:
|
|
3685
3685
|
mf(s);
|
|
3686
3686
|
var b = vs(_l.current);
|
|
@@ -3727,7 +3727,7 @@ Error generating stack: ` + k.message + `
|
|
|
3727
3727
|
m._wrapperState = { wasMultiple: !!k.multiple }, Lt("invalid", m);
|
|
3728
3728
|
break;
|
|
3729
3729
|
case "textarea":
|
|
3730
|
-
|
|
3730
|
+
Vs(m, k), Lt("invalid", m);
|
|
3731
3731
|
}
|
|
3732
3732
|
$t(c, k), b = null;
|
|
3733
3733
|
for (var E in k) if (k.hasOwnProperty(E)) {
|
|
@@ -3740,7 +3740,7 @@ Error generating stack: ` + k.message + `
|
|
|
3740
3740
|
}
|
|
3741
3741
|
switch (c) {
|
|
3742
3742
|
case "input":
|
|
3743
|
-
Ht(m),
|
|
3743
|
+
Ht(m), Bs(m, k, !0);
|
|
3744
3744
|
break;
|
|
3745
3745
|
case "textarea":
|
|
3746
3746
|
Ht(m), y(m);
|
|
@@ -3793,7 +3793,7 @@ Error generating stack: ` + k.message + `
|
|
|
3793
3793
|
i._wrapperState = { wasMultiple: !!m.multiple }, b = de({}, m, { value: void 0 }), Lt("invalid", i);
|
|
3794
3794
|
break;
|
|
3795
3795
|
case "textarea":
|
|
3796
|
-
|
|
3796
|
+
Vs(i, m), b = Di(i, m), Lt("invalid", i);
|
|
3797
3797
|
break;
|
|
3798
3798
|
default:
|
|
3799
3799
|
b = m;
|
|
@@ -3805,7 +3805,7 @@ Error generating stack: ` + k.message + `
|
|
|
3805
3805
|
}
|
|
3806
3806
|
switch (c) {
|
|
3807
3807
|
case "input":
|
|
3808
|
-
Ht(i),
|
|
3808
|
+
Ht(i), Bs(i, m, !1);
|
|
3809
3809
|
break;
|
|
3810
3810
|
case "textarea":
|
|
3811
3811
|
Ht(i), y(i);
|
|
@@ -3861,20 +3861,20 @@ Error generating stack: ` + k.message + `
|
|
|
3861
3861
|
return Nn(s), null;
|
|
3862
3862
|
case 13:
|
|
3863
3863
|
if (Dt(Bt), m = s.memoizedState, i === null || i.memoizedState !== null && i.memoizedState.dehydrated !== null) {
|
|
3864
|
-
if (Nt && kr !== null && (s.mode & 1) !== 0 && (s.flags & 128) === 0) Nm(),
|
|
3864
|
+
if (Nt && kr !== null && (s.mode & 1) !== 0 && (s.flags & 128) === 0) Nm(), ga(), s.flags |= 98560, k = !1;
|
|
3865
3865
|
else if (k = eu(s), m !== null && m.dehydrated !== null) {
|
|
3866
3866
|
if (i === null) {
|
|
3867
3867
|
if (!k) throw Error(t(318));
|
|
3868
3868
|
if (k = s.memoizedState, k = k !== null ? k.dehydrated : null, !k) throw Error(t(317));
|
|
3869
3869
|
k[ki] = s;
|
|
3870
|
-
} else
|
|
3870
|
+
} else ga(), (s.flags & 128) === 0 && (s.memoizedState = null), s.flags |= 4;
|
|
3871
3871
|
Nn(s), k = !1;
|
|
3872
3872
|
} else Zr !== null && (Gf(Zr), Zr = null), k = !0;
|
|
3873
3873
|
if (!k) return s.flags & 65536 ? s : null;
|
|
3874
3874
|
}
|
|
3875
3875
|
return (s.flags & 128) !== 0 ? (s.lanes = c, s) : (m = m !== null, m !== (i !== null && i.memoizedState !== null) && m && (s.child.flags |= 8192, (s.mode & 1) !== 0 && (i === null || (Bt.current & 1) !== 0 ? an === 0 && (an = 3) : Yf())), s.updateQueue !== null && (s.flags |= 4), Nn(s), null);
|
|
3876
3876
|
case 4:
|
|
3877
|
-
return
|
|
3877
|
+
return ka(), Nf(i, s), i === null && yl(s.stateNode.containerInfo), Nn(s), null;
|
|
3878
3878
|
case 10:
|
|
3879
3879
|
return uf(s.type._context), Nn(s), null;
|
|
3880
3880
|
case 17:
|
|
@@ -3890,12 +3890,12 @@ Error generating stack: ` + k.message + `
|
|
|
3890
3890
|
}
|
|
3891
3891
|
i = i.sibling;
|
|
3892
3892
|
}
|
|
3893
|
-
k.tail !== null && Ut() >
|
|
3893
|
+
k.tail !== null && Ut() > Ta && (s.flags |= 128, m = !0, Il(k, !1), s.lanes = 4194304);
|
|
3894
3894
|
}
|
|
3895
3895
|
else {
|
|
3896
3896
|
if (!m) if (i = su(E), i !== null) {
|
|
3897
3897
|
if (s.flags |= 128, m = !0, c = i.updateQueue, c !== null && (s.updateQueue = c, s.flags |= 4), Il(k, !0), k.tail === null && k.tailMode === "hidden" && !E.alternate && !Nt) return Nn(s), null;
|
|
3898
|
-
} else 2 * Ut() - k.renderingStartTime >
|
|
3898
|
+
} else 2 * Ut() - k.renderingStartTime > Ta && c !== 1073741824 && (s.flags |= 128, m = !0, Il(k, !1), s.lanes = 4194304);
|
|
3899
3899
|
k.isBackwards ? (E.sibling = s.child, s.child = E) : (c = k.last, c !== null ? c.sibling = E : s.child = E, k.last = E);
|
|
3900
3900
|
}
|
|
3901
3901
|
return k.tail !== null ? (s = k.tail, k.rendering = s, k.tail = s.sibling, k.renderingStartTime = Ut(), s.sibling = null, c = Bt.current, Mt(Bt, m ? c & 1 | 2 : c & 1), s) : (Nn(s), null);
|
|
@@ -3914,19 +3914,19 @@ Error generating stack: ` + k.message + `
|
|
|
3914
3914
|
case 1:
|
|
3915
3915
|
return or(s.type) && Jc(), i = s.flags, i & 65536 ? (s.flags = i & -65537 | 128, s) : null;
|
|
3916
3916
|
case 3:
|
|
3917
|
-
return
|
|
3917
|
+
return ka(), Dt(ir), Dt(Ln), vf(), i = s.flags, (i & 65536) !== 0 && (i & 128) === 0 ? (s.flags = i & -65537 | 128, s) : null;
|
|
3918
3918
|
case 5:
|
|
3919
3919
|
return mf(s), null;
|
|
3920
3920
|
case 13:
|
|
3921
3921
|
if (Dt(Bt), i = s.memoizedState, i !== null && i.dehydrated !== null) {
|
|
3922
3922
|
if (s.alternate === null) throw Error(t(340));
|
|
3923
|
-
|
|
3923
|
+
ga();
|
|
3924
3924
|
}
|
|
3925
3925
|
return i = s.flags, i & 65536 ? (s.flags = i & -65537 | 128, s) : null;
|
|
3926
3926
|
case 19:
|
|
3927
3927
|
return Dt(Bt), null;
|
|
3928
3928
|
case 4:
|
|
3929
|
-
return
|
|
3929
|
+
return ka(), null;
|
|
3930
3930
|
case 10:
|
|
3931
3931
|
return uf(s.type._context), null;
|
|
3932
3932
|
case 22:
|
|
@@ -3939,7 +3939,7 @@ Error generating stack: ` + k.message + `
|
|
|
3939
3939
|
}
|
|
3940
3940
|
}
|
|
3941
3941
|
var mu = !1, jn = !1, Kk = typeof WeakSet == "function" ? WeakSet : Set, Ue = null;
|
|
3942
|
-
function
|
|
3942
|
+
function Ca(i, s) {
|
|
3943
3943
|
var c = i.ref;
|
|
3944
3944
|
if (c !== null) if (typeof c == "function") try {
|
|
3945
3945
|
c(null);
|
|
@@ -4005,8 +4005,8 @@ Error generating stack: ` + k.message + `
|
|
|
4005
4005
|
}
|
|
4006
4006
|
break;
|
|
4007
4007
|
case 3:
|
|
4008
|
-
var
|
|
4009
|
-
|
|
4008
|
+
var oe = s.stateNode.containerInfo;
|
|
4009
|
+
oe.nodeType === 1 ? oe.textContent = "" : oe.nodeType === 9 && oe.documentElement && oe.removeChild(oe.documentElement);
|
|
4010
4010
|
break;
|
|
4011
4011
|
case 5:
|
|
4012
4012
|
case 6:
|
|
@@ -4107,7 +4107,7 @@ Error generating stack: ` + k.message + `
|
|
|
4107
4107
|
}
|
|
4108
4108
|
switch (c.tag) {
|
|
4109
4109
|
case 5:
|
|
4110
|
-
jn ||
|
|
4110
|
+
jn || Ca(c, s);
|
|
4111
4111
|
case 6:
|
|
4112
4112
|
var m = Cn, b = ti;
|
|
4113
4113
|
Cn = null, So(i, s, c), Cn = m, ti = b, Cn !== null && (ti ? (i = Cn, c = c.stateNode, i.nodeType === 8 ? i.parentNode.removeChild(c) : i.removeChild(c)) : Cn.removeChild(c.stateNode));
|
|
@@ -4132,7 +4132,7 @@ Error generating stack: ` + k.message + `
|
|
|
4132
4132
|
So(i, s, c);
|
|
4133
4133
|
break;
|
|
4134
4134
|
case 1:
|
|
4135
|
-
if (!jn && (
|
|
4135
|
+
if (!jn && (Ca(c, s), m = c.stateNode, typeof m.componentWillUnmount == "function")) try {
|
|
4136
4136
|
m.props = c.memoizedProps, m.state = c.memoizedState, m.componentWillUnmount();
|
|
4137
4137
|
} catch (D) {
|
|
4138
4138
|
qt(c, s, D);
|
|
@@ -4211,10 +4211,10 @@ Error generating stack: ` + k.message + `
|
|
|
4211
4211
|
}
|
|
4212
4212
|
break;
|
|
4213
4213
|
case 1:
|
|
4214
|
-
ni(s, i), Si(i), m & 512 && c !== null &&
|
|
4214
|
+
ni(s, i), Si(i), m & 512 && c !== null && Ca(c, c.return);
|
|
4215
4215
|
break;
|
|
4216
4216
|
case 5:
|
|
4217
|
-
if (ni(s, i), Si(i), m & 512 && c !== null &&
|
|
4217
|
+
if (ni(s, i), Si(i), m & 512 && c !== null && Ca(c, c.return), i.flags & 32) {
|
|
4218
4218
|
var b = i.stateNode;
|
|
4219
4219
|
try {
|
|
4220
4220
|
ye(b, "");
|
|
@@ -4291,7 +4291,7 @@ Error generating stack: ` + k.message + `
|
|
|
4291
4291
|
Ml(4, ke, ke.return);
|
|
4292
4292
|
break;
|
|
4293
4293
|
case 1:
|
|
4294
|
-
|
|
4294
|
+
Ca(ke, ke.return);
|
|
4295
4295
|
var Be = ke.stateNode;
|
|
4296
4296
|
if (typeof Be.componentWillUnmount == "function") {
|
|
4297
4297
|
m = ke, c = ke.return;
|
|
@@ -4303,7 +4303,7 @@ Error generating stack: ` + k.message + `
|
|
|
4303
4303
|
}
|
|
4304
4304
|
break;
|
|
4305
4305
|
case 5:
|
|
4306
|
-
|
|
4306
|
+
Ca(ke, ke.return);
|
|
4307
4307
|
break;
|
|
4308
4308
|
case 22:
|
|
4309
4309
|
if (ke.memoizedState !== null) {
|
|
@@ -4578,7 +4578,7 @@ Error generating stack: ` + k.message + `
|
|
|
4578
4578
|
Ue = s.return;
|
|
4579
4579
|
}
|
|
4580
4580
|
}
|
|
4581
|
-
var Qk = Math.ceil, vu = L.ReactCurrentDispatcher, Vf = L.ReactCurrentOwner, jr = L.ReactCurrentBatchConfig, yt = 0, hn = null, tn = null, Sn = 0, wr = 0,
|
|
4581
|
+
var Qk = Math.ceil, vu = L.ReactCurrentDispatcher, Vf = L.ReactCurrentOwner, jr = L.ReactCurrentBatchConfig, yt = 0, hn = null, tn = null, Sn = 0, wr = 0, Sa = yo(0), an = 0, Al = null, bs = 0, yu = 0, zf = 0, Ol = null, ar = null, Wf = 0, Ta = 1 / 0, Ji = null, bu = !1, Hf = null, To = null, ku = !1, _o = null, wu = 0, Ll = 0, $f = null, Cu = -1, Su = 0;
|
|
4582
4582
|
function Hn() {
|
|
4583
4583
|
return (yt & 6) !== 0 ? Ut() : Cu !== -1 ? Cu : Cu = Ut();
|
|
4584
4584
|
}
|
|
@@ -4587,7 +4587,7 @@ Error generating stack: ` + k.message + `
|
|
|
4587
4587
|
}
|
|
4588
4588
|
function ri(i, s, c, m) {
|
|
4589
4589
|
if (50 < Ll) throw Ll = 0, $f = null, Error(t(185));
|
|
4590
|
-
xt(i, c, m), ((yt & 2) === 0 || i !== hn) && (i === hn && ((yt & 2) === 0 && (yu |= c), an === 4 && Eo(i, Sn)), lr(i, m), c === 1 && yt === 0 && (s.mode & 1) === 0 && (
|
|
4590
|
+
xt(i, c, m), ((yt & 2) === 0 || i !== hn) && (i === hn && ((yt & 2) === 0 && (yu |= c), an === 4 && Eo(i, Sn)), lr(i, m), c === 1 && yt === 0 && (s.mode & 1) === 0 && (Ta = Ut() + 500, Qc && ko()));
|
|
4591
4591
|
}
|
|
4592
4592
|
function lr(i, s) {
|
|
4593
4593
|
var c = i.callbackNode;
|
|
@@ -4601,7 +4601,7 @@ Error generating stack: ` + k.message + `
|
|
|
4601
4601
|
else {
|
|
4602
4602
|
switch (Mr(m)) {
|
|
4603
4603
|
case 1:
|
|
4604
|
-
c =
|
|
4604
|
+
c = Gs;
|
|
4605
4605
|
break;
|
|
4606
4606
|
case 4:
|
|
4607
4607
|
c = Qa;
|
|
@@ -4610,7 +4610,7 @@ Error generating stack: ` + k.message + `
|
|
|
4610
4610
|
c = $o;
|
|
4611
4611
|
break;
|
|
4612
4612
|
case 536870912:
|
|
4613
|
-
c =
|
|
4613
|
+
c = Ks;
|
|
4614
4614
|
break;
|
|
4615
4615
|
default:
|
|
4616
4616
|
c = $o;
|
|
@@ -4623,7 +4623,7 @@ Error generating stack: ` + k.message + `
|
|
|
4623
4623
|
function $g(i, s) {
|
|
4624
4624
|
if (Cu = -1, Su = 0, (yt & 6) !== 0) throw Error(t(327));
|
|
4625
4625
|
var c = i.callbackNode;
|
|
4626
|
-
if (
|
|
4626
|
+
if (_a() && i.callbackNode !== c) return null;
|
|
4627
4627
|
var m = it(i, i === hn ? Sn : 0);
|
|
4628
4628
|
if (m === 0) return null;
|
|
4629
4629
|
if ((m & 30) !== 0 || (m & i.expiredLanes) !== 0 || s) s = Tu(i, m);
|
|
@@ -4632,7 +4632,7 @@ Error generating stack: ` + k.message + `
|
|
|
4632
4632
|
var b = yt;
|
|
4633
4633
|
yt |= 2;
|
|
4634
4634
|
var k = Kg();
|
|
4635
|
-
(hn !== i || Sn !== s) && (Ji = null,
|
|
4635
|
+
(hn !== i || Sn !== s) && (Ji = null, Ta = Ut() + 500, ws(i, s));
|
|
4636
4636
|
do
|
|
4637
4637
|
try {
|
|
4638
4638
|
ew();
|
|
@@ -4644,10 +4644,10 @@ Error generating stack: ` + k.message + `
|
|
|
4644
4644
|
cf(), vu.current = k, yt = b, tn !== null ? s = 0 : (hn = null, Sn = 0, s = an);
|
|
4645
4645
|
}
|
|
4646
4646
|
if (s !== 0) {
|
|
4647
|
-
if (s === 2 && (b =
|
|
4647
|
+
if (s === 2 && (b = Qs(i), b !== 0 && (m = b, s = qf(i, b))), s === 1) throw c = Al, ws(i, 0), Eo(i, m), lr(i, Ut()), c;
|
|
4648
4648
|
if (s === 6) Eo(i, m);
|
|
4649
4649
|
else {
|
|
4650
|
-
if (b = i.current.alternate, (m & 30) === 0 && !Xk(b) && (s = Tu(i, m), s === 2 && (k =
|
|
4650
|
+
if (b = i.current.alternate, (m & 30) === 0 && !Xk(b) && (s = Tu(i, m), s === 2 && (k = Qs(i), k !== 0 && (m = k, s = qf(i, k))), s === 1)) throw c = Al, ws(i, 0), Eo(i, m), lr(i, Ut()), c;
|
|
4651
4651
|
switch (i.finishedWork = b, i.finishedLanes = m, s) {
|
|
4652
4652
|
case 0:
|
|
4653
4653
|
case 1:
|
|
@@ -4730,12 +4730,12 @@ Error generating stack: ` + k.message + `
|
|
|
4730
4730
|
}
|
|
4731
4731
|
function qg(i) {
|
|
4732
4732
|
if ((yt & 6) !== 0) throw Error(t(327));
|
|
4733
|
-
|
|
4733
|
+
_a();
|
|
4734
4734
|
var s = it(i, 0);
|
|
4735
4735
|
if ((s & 1) === 0) return lr(i, Ut()), null;
|
|
4736
4736
|
var c = Tu(i, s);
|
|
4737
4737
|
if (i.tag !== 0 && c === 2) {
|
|
4738
|
-
var m =
|
|
4738
|
+
var m = Qs(i);
|
|
4739
4739
|
m !== 0 && (s = m, c = qf(i, m));
|
|
4740
4740
|
}
|
|
4741
4741
|
if (c === 1) throw c = Al, ws(i, 0), Eo(i, s), lr(i, Ut()), c;
|
|
@@ -4748,11 +4748,11 @@ Error generating stack: ` + k.message + `
|
|
|
4748
4748
|
try {
|
|
4749
4749
|
return i(s);
|
|
4750
4750
|
} finally {
|
|
4751
|
-
yt = c, yt === 0 && (
|
|
4751
|
+
yt = c, yt === 0 && (Ta = Ut() + 500, Qc && ko());
|
|
4752
4752
|
}
|
|
4753
4753
|
}
|
|
4754
4754
|
function ks(i) {
|
|
4755
|
-
_o !== null && _o.tag === 0 && (yt & 6) === 0 &&
|
|
4755
|
+
_o !== null && _o.tag === 0 && (yt & 6) === 0 && _a();
|
|
4756
4756
|
var s = yt;
|
|
4757
4757
|
yt |= 1;
|
|
4758
4758
|
var c = jr.transition, m = gt;
|
|
@@ -4763,7 +4763,7 @@ Error generating stack: ` + k.message + `
|
|
|
4763
4763
|
}
|
|
4764
4764
|
}
|
|
4765
4765
|
function Jf() {
|
|
4766
|
-
wr =
|
|
4766
|
+
wr = Sa.current, Dt(Sa);
|
|
4767
4767
|
}
|
|
4768
4768
|
function ws(i, s) {
|
|
4769
4769
|
i.finishedWork = null, i.finishedLanes = 0;
|
|
@@ -4775,13 +4775,13 @@ Error generating stack: ` + k.message + `
|
|
|
4775
4775
|
m = m.type.childContextTypes, m != null && Jc();
|
|
4776
4776
|
break;
|
|
4777
4777
|
case 3:
|
|
4778
|
-
|
|
4778
|
+
ka(), Dt(ir), Dt(Ln), vf();
|
|
4779
4779
|
break;
|
|
4780
4780
|
case 5:
|
|
4781
4781
|
mf(m);
|
|
4782
4782
|
break;
|
|
4783
4783
|
case 4:
|
|
4784
|
-
|
|
4784
|
+
ka();
|
|
4785
4785
|
break;
|
|
4786
4786
|
case 13:
|
|
4787
4787
|
Dt(Bt);
|
|
@@ -4854,11 +4854,11 @@ Error generating stack: ` + k.message + `
|
|
|
4854
4854
|
} else if (Nt && D.mode & 1) {
|
|
4855
4855
|
var Xt = yg(E);
|
|
4856
4856
|
if (Xt !== null) {
|
|
4857
|
-
(Xt.flags & 65536) === 0 && (Xt.flags |= 256), bg(Xt, E, D, k, s), af(
|
|
4857
|
+
(Xt.flags & 65536) === 0 && (Xt.flags |= 256), bg(Xt, E, D, k, s), af(wa(V, D));
|
|
4858
4858
|
break e;
|
|
4859
4859
|
}
|
|
4860
4860
|
}
|
|
4861
|
-
k = V =
|
|
4861
|
+
k = V = wa(V, D), an !== 4 && (an = 2), Ol === null ? Ol = [k] : Ol.push(k), k = E;
|
|
4862
4862
|
do {
|
|
4863
4863
|
switch (k.tag) {
|
|
4864
4864
|
case 3:
|
|
@@ -4868,8 +4868,8 @@ Error generating stack: ` + k.message + `
|
|
|
4868
4868
|
break e;
|
|
4869
4869
|
case 1:
|
|
4870
4870
|
D = V;
|
|
4871
|
-
var W = k.type,
|
|
4872
|
-
if ((k.flags & 128) === 0 && (typeof W.getDerivedStateFromError == "function" ||
|
|
4871
|
+
var W = k.type, oe = k.stateNode;
|
|
4872
|
+
if ((k.flags & 128) === 0 && (typeof W.getDerivedStateFromError == "function" || oe !== null && typeof oe.componentDidCatch == "function" && (To === null || !To.has(oe)))) {
|
|
4873
4873
|
k.flags |= 65536, s &= -s, k.lanes |= s;
|
|
4874
4874
|
var xe = gg(k, D, s);
|
|
4875
4875
|
zm(k, xe);
|
|
@@ -4914,7 +4914,7 @@ Error generating stack: ` + k.message + `
|
|
|
4914
4914
|
for (; tn !== null; ) Jg(tn);
|
|
4915
4915
|
}
|
|
4916
4916
|
function ew() {
|
|
4917
|
-
for (; tn !== null &&
|
|
4917
|
+
for (; tn !== null && !$s(); ) Jg(tn);
|
|
4918
4918
|
}
|
|
4919
4919
|
function Jg(i) {
|
|
4920
4920
|
var s = Zg(i.alternate, i, wr);
|
|
@@ -4959,7 +4959,7 @@ Error generating stack: ` + k.message + `
|
|
|
4959
4959
|
}
|
|
4960
4960
|
function tw(i, s, c, m) {
|
|
4961
4961
|
do
|
|
4962
|
-
|
|
4962
|
+
_a();
|
|
4963
4963
|
while (_o !== null);
|
|
4964
4964
|
if ((yt & 6) !== 0) throw Error(t(327));
|
|
4965
4965
|
c = i.finishedWork;
|
|
@@ -4969,7 +4969,7 @@ Error generating stack: ` + k.message + `
|
|
|
4969
4969
|
i.callbackNode = null, i.callbackPriority = 0;
|
|
4970
4970
|
var k = c.lanes | c.childLanes;
|
|
4971
4971
|
if (Ko(i, k), i === hn && (tn = hn = null, Sn = 0), (c.subtreeFlags & 2064) === 0 && (c.flags & 2064) === 0 || ku || (ku = !0, ev($o, function() {
|
|
4972
|
-
return
|
|
4972
|
+
return _a(), null;
|
|
4973
4973
|
})), k = (c.flags & 15990) !== 0, (c.subtreeFlags & 15990) !== 0 || k) {
|
|
4974
4974
|
k = jr.transition, jr.transition = null;
|
|
4975
4975
|
var E = gt;
|
|
@@ -4977,11 +4977,11 @@ Error generating stack: ` + k.message + `
|
|
|
4977
4977
|
var D = yt;
|
|
4978
4978
|
yt |= 4, Vf.current = null, Jk(i, c), Bg(c, i), h(Jd), gr = !!Kd, Jd = Kd = null, i.current = c, Yk(c), Ya(), yt = D, gt = E, jr.transition = k;
|
|
4979
4979
|
} else i.current = c;
|
|
4980
|
-
if (ku && (ku = !1, _o = i, wu = b), k = i.pendingLanes, k === 0 && (To = null),
|
|
4980
|
+
if (ku && (ku = !1, _o = i, wu = b), k = i.pendingLanes, k === 0 && (To = null), Js(c.stateNode), lr(i, Ut()), s !== null) for (m = i.onRecoverableError, c = 0; c < s.length; c++) b = s[c], m(b.value, { componentStack: b.stack, digest: b.digest });
|
|
4981
4981
|
if (bu) throw bu = !1, i = Hf, Hf = null, i;
|
|
4982
|
-
return (wu & 1) !== 0 && i.tag !== 0 &&
|
|
4982
|
+
return (wu & 1) !== 0 && i.tag !== 0 && _a(), k = i.pendingLanes, (k & 1) !== 0 ? i === $f ? Ll++ : (Ll = 0, $f = i) : Ll = 0, ko(), null;
|
|
4983
4983
|
}
|
|
4984
|
-
function
|
|
4984
|
+
function _a() {
|
|
4985
4985
|
if (_o !== null) {
|
|
4986
4986
|
var i = Mr(wu), s = jr.transition, c = gt;
|
|
4987
4987
|
try {
|
|
@@ -5054,8 +5054,8 @@ Error generating stack: ` + k.message + `
|
|
|
5054
5054
|
var W = i.current;
|
|
5055
5055
|
for (Ue = W; Ue !== null; ) {
|
|
5056
5056
|
E = Ue;
|
|
5057
|
-
var
|
|
5058
|
-
if ((E.subtreeFlags & 2064) !== 0 &&
|
|
5057
|
+
var oe = E.child;
|
|
5058
|
+
if ((E.subtreeFlags & 2064) !== 0 && oe !== null) oe.return = E, Ue = oe;
|
|
5059
5059
|
else e: for (E = W; Ue !== null; ) {
|
|
5060
5060
|
if (D = Ue, (D.flags & 2048) !== 0) try {
|
|
5061
5061
|
switch (D.tag) {
|
|
@@ -5093,7 +5093,7 @@ Error generating stack: ` + k.message + `
|
|
|
5093
5093
|
return !1;
|
|
5094
5094
|
}
|
|
5095
5095
|
function Qg(i, s, c) {
|
|
5096
|
-
s =
|
|
5096
|
+
s = wa(c, s), s = mg(i, s, 1), i = Co(i, s, 1), s = Hn(), i !== null && (xt(i, 1, s), lr(i, s));
|
|
5097
5097
|
}
|
|
5098
5098
|
function qt(i, s, c) {
|
|
5099
5099
|
if (i.tag === 3) Qg(i, i, c);
|
|
@@ -5104,7 +5104,7 @@ Error generating stack: ` + k.message + `
|
|
|
5104
5104
|
} else if (s.tag === 1) {
|
|
5105
5105
|
var m = s.stateNode;
|
|
5106
5106
|
if (typeof s.type.getDerivedStateFromError == "function" || typeof m.componentDidCatch == "function" && (To === null || !To.has(m))) {
|
|
5107
|
-
i =
|
|
5107
|
+
i = wa(c, i), i = gg(s, i, 1), s = Co(s, i, 1), i = Hn(), s !== null && (xt(s, 1, i), lr(s, i));
|
|
5108
5108
|
break;
|
|
5109
5109
|
}
|
|
5110
5110
|
}
|
|
@@ -5151,8 +5151,8 @@ Error generating stack: ` + k.message + `
|
|
|
5151
5151
|
case 2:
|
|
5152
5152
|
var m = s.type;
|
|
5153
5153
|
pu(i, s), i = s.pendingProps;
|
|
5154
|
-
var b =
|
|
5155
|
-
|
|
5154
|
+
var b = ha(s, Ln.current);
|
|
5155
|
+
ba(s, c), b = kf(null, s, m, i, b, c);
|
|
5156
5156
|
var k = wf();
|
|
5157
5157
|
return s.flags |= 1, typeof b == "object" && b !== null && typeof b.render == "function" && b.$$typeof === void 0 ? (s.tag = 1, s.memoizedState = null, s.updateQueue = null, or(m) ? (k = !0, Yc(s)) : k = !1, s.memoizedState = b.state !== null && b.state !== void 0 ? b.state : null, hf(s), b.updater = fu, s.stateNode = b, b._reactInternals = s, Ef(s, m, i, c), s = Mf(null, s, m, !0, k, c)) : (s.tag = 0, Nt && k && nf(s), Wn(null, s, b, c), s = s.child), s;
|
|
5158
5158
|
case 16:
|
|
@@ -5189,14 +5189,14 @@ Error generating stack: ` + k.message + `
|
|
|
5189
5189
|
m = s.pendingProps, k = s.memoizedState, b = k.element, Vm(i, s), ou(s, m, null, c);
|
|
5190
5190
|
var E = s.memoizedState;
|
|
5191
5191
|
if (m = E.element, k.isDehydrated) if (k = { element: m, isDehydrated: !1, cache: E.cache, pendingSuspenseBoundaries: E.pendingSuspenseBoundaries, transitions: E.transitions }, s.updateQueue.baseState = k, s.memoizedState = k, s.flags & 256) {
|
|
5192
|
-
b =
|
|
5192
|
+
b = wa(Error(t(423)), s), s = Eg(i, s, m, c, b);
|
|
5193
5193
|
break e;
|
|
5194
5194
|
} else if (m !== b) {
|
|
5195
|
-
b =
|
|
5195
|
+
b = wa(Error(t(424)), s), s = Eg(i, s, m, c, b);
|
|
5196
5196
|
break e;
|
|
5197
5197
|
} else for (kr = vo(s.stateNode.containerInfo.firstChild), br = s, Nt = !0, Zr = null, c = Um(s, null, m, c), s.child = c; c; ) c.flags = c.flags & -3 | 4096, c = c.sibling;
|
|
5198
5198
|
else {
|
|
5199
|
-
if (
|
|
5199
|
+
if (ga(), m === b) {
|
|
5200
5200
|
s = Ki(i, s, c);
|
|
5201
5201
|
break e;
|
|
5202
5202
|
}
|
|
@@ -5212,7 +5212,7 @@ Error generating stack: ` + k.message + `
|
|
|
5212
5212
|
case 13:
|
|
5213
5213
|
return Pg(i, s, c);
|
|
5214
5214
|
case 4:
|
|
5215
|
-
return pf(s, s.stateNode.containerInfo), m = s.pendingProps, i === null ? s.child =
|
|
5215
|
+
return pf(s, s.stateNode.containerInfo), m = s.pendingProps, i === null ? s.child = va(s, null, m, c) : Wn(i, s, m, c), s.child;
|
|
5216
5216
|
case 11:
|
|
5217
5217
|
return m = s.type, b = s.pendingProps, b = s.elementType === m ? b : ei(m, b), kg(i, s, m, b, c);
|
|
5218
5218
|
case 7:
|
|
@@ -5275,13 +5275,13 @@ Error generating stack: ` + k.message + `
|
|
|
5275
5275
|
}
|
|
5276
5276
|
return s;
|
|
5277
5277
|
case 9:
|
|
5278
|
-
return b = s.type, m = s.pendingProps.children,
|
|
5278
|
+
return b = s.type, m = s.pendingProps.children, ba(s, c), b = Dr(b), m = m(b), s.flags |= 1, Wn(i, s, m, c), s.child;
|
|
5279
5279
|
case 14:
|
|
5280
5280
|
return m = s.type, b = ei(m, s.pendingProps), b = ei(m.type, b), wg(i, s, m, b, c);
|
|
5281
5281
|
case 15:
|
|
5282
5282
|
return Cg(i, s, s.type, s.pendingProps, c);
|
|
5283
5283
|
case 17:
|
|
5284
|
-
return m = s.type, b = s.pendingProps, b = s.elementType === m ? b : ei(m, b), pu(i, s), s.tag = 1, or(m) ? (i = !0, Yc(s)) : i = !1,
|
|
5284
|
+
return m = s.type, b = s.pendingProps, b = s.elementType === m ? b : ei(m, b), pu(i, s), s.tag = 1, or(m) ? (i = !0, Yc(s)) : i = !1, ba(s, c), hg(s, m, b), Ef(s, m, b, c), Mf(null, s, m, !0, i, c);
|
|
5285
5285
|
case 19:
|
|
5286
5286
|
return Ig(i, s, c);
|
|
5287
5287
|
case 22:
|
|
@@ -5305,7 +5305,7 @@ Error generating stack: ` + k.message + `
|
|
|
5305
5305
|
if (typeof i == "function") return Qf(i) ? 1 : 0;
|
|
5306
5306
|
if (i != null) {
|
|
5307
5307
|
if (i = i.$$typeof, i === fe) return 11;
|
|
5308
|
-
if (i ===
|
|
5308
|
+
if (i === re) return 14;
|
|
5309
5309
|
}
|
|
5310
5310
|
return 2;
|
|
5311
5311
|
}
|
|
@@ -5342,7 +5342,7 @@ Error generating stack: ` + k.message + `
|
|
|
5342
5342
|
case fe:
|
|
5343
5343
|
E = 11;
|
|
5344
5344
|
break e;
|
|
5345
|
-
case
|
|
5345
|
+
case re:
|
|
5346
5346
|
E = 14;
|
|
5347
5347
|
break e;
|
|
5348
5348
|
case Pe:
|
|
@@ -5366,7 +5366,7 @@ Error generating stack: ` + k.message + `
|
|
|
5366
5366
|
return s = Fr(4, i.children !== null ? i.children : [], i.key, s), s.lanes = c, s.stateNode = { containerInfo: i.containerInfo, pendingChildren: null, implementation: i.implementation }, s;
|
|
5367
5367
|
}
|
|
5368
5368
|
function aw(i, s, c, m, b) {
|
|
5369
|
-
this.tag = s, this.containerInfo = i, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.pendingContext = this.context = null, this.callbackPriority = 0, this.eventTimes =
|
|
5369
|
+
this.tag = s, this.containerInfo = i, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.pendingContext = this.context = null, this.callbackPriority = 0, this.eventTimes = Xs(0), this.expirationTimes = Xs(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = Xs(0), this.identifierPrefix = m, this.onRecoverableError = b, this.mutableSourceEagerHydrationData = null;
|
|
5370
5370
|
}
|
|
5371
5371
|
function eh(i, s, c, m, b, k, E, D, V) {
|
|
5372
5372
|
return i = new aw(i, s, c, D, V), s === 1 ? (s = 1, k === !0 && (s |= 8)) : s = 0, k = Fr(3, null, null, s), i.current = k, k.stateNode = i, k.memoizedState = { element: m, isDehydrated: c, cache: null, transitions: null, pendingSuspenseBoundaries: null }, hf(k), i;
|
|
@@ -5509,13 +5509,13 @@ Error generating stack: ` + k.message + `
|
|
|
5509
5509
|
} else E = uw(c, s, i, b, m);
|
|
5510
5510
|
return Pu(E);
|
|
5511
5511
|
}
|
|
5512
|
-
|
|
5512
|
+
Zs = function(i) {
|
|
5513
5513
|
switch (i.tag) {
|
|
5514
5514
|
case 3:
|
|
5515
5515
|
var s = i.stateNode;
|
|
5516
5516
|
if (s.current.memoizedState.isDehydrated) {
|
|
5517
5517
|
var c = Rr(s.pendingLanes);
|
|
5518
|
-
c !== 0 && (Jo(s, c | 1), lr(s, Ut()), (yt & 6) === 0 && (
|
|
5518
|
+
c !== 0 && (Jo(s, c | 1), lr(s, Ut()), (yt & 6) === 0 && (Ta = Ut() + 500, ko()));
|
|
5519
5519
|
}
|
|
5520
5520
|
break;
|
|
5521
5521
|
case 13:
|
|
@@ -5576,7 +5576,7 @@ Error generating stack: ` + k.message + `
|
|
|
5576
5576
|
s = c.value, s != null && Un(i, !!c.multiple, s, !1);
|
|
5577
5577
|
}
|
|
5578
5578
|
}, Vn = Kf, ft = ks;
|
|
5579
|
-
var dw = { usingClientEntryPoint: !1, Events: [wl,
|
|
5579
|
+
var dw = { usingClientEntryPoint: !1, Events: [wl, da, Kc, Ze, Er, Kf] }, Dl = { findFiberByHostInstance: fs, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" }, fw = { bundleType: Dl.bundleType, version: Dl.version, rendererPackageName: Dl.rendererPackageName, rendererConfig: Dl.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: L.ReactCurrentDispatcher, findHostInstanceByFiber: function(i) {
|
|
5580
5580
|
return i = Ec(i), i === null ? null : i.stateNode;
|
|
5581
5581
|
}, findFiberByHostInstance: Dl.findFiberByHostInstance || cw, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.3.1-next-f1338f8080-20240426" };
|
|
5582
5582
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
|
|
@@ -5676,7 +5676,7 @@ function _w(n) {
|
|
|
5676
5676
|
function Ma(n) {
|
|
5677
5677
|
return n != null && typeof n == "object" && n["@@functional/placeholder"] === !0;
|
|
5678
5678
|
}
|
|
5679
|
-
function
|
|
5679
|
+
function Is(n) {
|
|
5680
5680
|
return function e(t) {
|
|
5681
5681
|
return arguments.length === 0 || Ma(t) ? e : n.apply(this, arguments);
|
|
5682
5682
|
};
|
|
@@ -5687,13 +5687,13 @@ function Ip(n) {
|
|
|
5687
5687
|
case 0:
|
|
5688
5688
|
return e;
|
|
5689
5689
|
case 1:
|
|
5690
|
-
return Ma(t) ? e :
|
|
5690
|
+
return Ma(t) ? e : Is(function(o) {
|
|
5691
5691
|
return n(t, o);
|
|
5692
5692
|
});
|
|
5693
5693
|
default:
|
|
5694
|
-
return Ma(t) && Ma(r) ? e : Ma(t) ?
|
|
5694
|
+
return Ma(t) && Ma(r) ? e : Ma(t) ? Is(function(o) {
|
|
5695
5695
|
return n(o, r);
|
|
5696
|
-
}) : Ma(r) ?
|
|
5696
|
+
}) : Ma(r) ? Is(function(o) {
|
|
5697
5697
|
return n(t, o);
|
|
5698
5698
|
}) : n(t, r);
|
|
5699
5699
|
}
|
|
@@ -5773,7 +5773,7 @@ var bv = Object.prototype.toString, Iw = /* @__PURE__ */ function() {
|
|
|
5773
5773
|
r += 1;
|
|
5774
5774
|
}
|
|
5775
5775
|
return !1;
|
|
5776
|
-
}, Cv = /* @__PURE__ */
|
|
5776
|
+
}, Cv = /* @__PURE__ */ Is(typeof Object.keys == "function" && !wv ? function(e) {
|
|
5777
5777
|
return Object(e) !== e ? [] : Object.keys(e);
|
|
5778
5778
|
} : function(e) {
|
|
5779
5779
|
if (Object(e) !== e)
|
|
@@ -5785,7 +5785,7 @@ var bv = Object.prototype.toString, Iw = /* @__PURE__ */ function() {
|
|
|
5785
5785
|
for (r = kv.length - 1; r >= 0; )
|
|
5786
5786
|
t = kv[r], od(t, e) && !Aw(o, t) && (o[o.length] = t), r -= 1;
|
|
5787
5787
|
return o;
|
|
5788
|
-
}), Sv = /* @__PURE__ */
|
|
5788
|
+
}), Sv = /* @__PURE__ */ Is(function(e) {
|
|
5789
5789
|
return e === null ? "Null" : e === void 0 ? "Undefined" : Object.prototype.toString.call(e).slice(8, -1);
|
|
5790
5790
|
});
|
|
5791
5791
|
function Tv(n, e, t, r) {
|
|
@@ -5923,7 +5923,7 @@ function _v(n, e) {
|
|
|
5923
5923
|
function Lw(n) {
|
|
5924
5924
|
return n;
|
|
5925
5925
|
}
|
|
5926
|
-
var Dw = /* @__PURE__ */
|
|
5926
|
+
var Dw = /* @__PURE__ */ Is(Lw), wy = /* @__PURE__ */ function() {
|
|
5927
5927
|
function n() {
|
|
5928
5928
|
this._nativeSet = typeof Set == "function" ? /* @__PURE__ */ new Set() : null, this._items = {};
|
|
5929
5929
|
}
|
|
@@ -5997,7 +5997,7 @@ var Bw = /* @__PURE__ */ Ip(/* @__PURE__ */ ky([], Uw, function(n, e) {
|
|
|
5997
5997
|
l = e[o], a = n(l), t.add(a) && r.push(l), o += 1;
|
|
5998
5998
|
return r;
|
|
5999
5999
|
})), Vw = /* @__PURE__ */ Bw(Dw);
|
|
6000
|
-
const zw = "1.2.3-alpha.
|
|
6000
|
+
const zw = "1.2.3-alpha.2", Ww = {
|
|
6001
6001
|
version: zw
|
|
6002
6002
|
};
|
|
6003
6003
|
var _n = typeof globalThis < "u" && globalThis || typeof self < "u" && self || // eslint-disable-next-line no-undef
|
|
@@ -6186,12 +6186,12 @@ function Qw(n) {
|
|
|
6186
6186
|
var e = n.toUpperCase();
|
|
6187
6187
|
return Yw.indexOf(e) > -1 ? e : n;
|
|
6188
6188
|
}
|
|
6189
|
-
function
|
|
6190
|
-
if (!(this instanceof
|
|
6189
|
+
function As(n, e) {
|
|
6190
|
+
if (!(this instanceof As))
|
|
6191
6191
|
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
6192
6192
|
e = e || {};
|
|
6193
6193
|
var t = e.body;
|
|
6194
|
-
if (n instanceof
|
|
6194
|
+
if (n instanceof As) {
|
|
6195
6195
|
if (n.bodyUsed)
|
|
6196
6196
|
throw new TypeError("Already read");
|
|
6197
6197
|
this.url = n.url, this.credentials = n.credentials, e.headers || (this.headers = new dn(n.headers)), this.method = n.method, this.mode = n.mode, this.signal = n.signal, !t && n._bodyInit != null && (t = n._bodyInit, n.bodyUsed = !0);
|
|
@@ -6214,8 +6214,8 @@ function Ms(n, e) {
|
|
|
6214
6214
|
}
|
|
6215
6215
|
}
|
|
6216
6216
|
}
|
|
6217
|
-
|
|
6218
|
-
return new
|
|
6217
|
+
As.prototype.clone = function() {
|
|
6218
|
+
return new As(this, { body: this._bodyInit });
|
|
6219
6219
|
};
|
|
6220
6220
|
function Xw(n) {
|
|
6221
6221
|
var e = new FormData();
|
|
@@ -6243,7 +6243,7 @@ function Zw(n) {
|
|
|
6243
6243
|
}
|
|
6244
6244
|
}), e;
|
|
6245
6245
|
}
|
|
6246
|
-
Sy.call(
|
|
6246
|
+
Sy.call(As.prototype);
|
|
6247
6247
|
function Ri(n, e) {
|
|
6248
6248
|
if (!(this instanceof Ri))
|
|
6249
6249
|
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
@@ -6270,21 +6270,21 @@ Ri.redirect = function(n, e) {
|
|
|
6270
6270
|
throw new RangeError("Invalid status code");
|
|
6271
6271
|
return new Ri(null, { status: e, headers: { location: n } });
|
|
6272
6272
|
};
|
|
6273
|
-
var
|
|
6273
|
+
var Ps = _n.DOMException;
|
|
6274
6274
|
try {
|
|
6275
|
-
new
|
|
6275
|
+
new Ps();
|
|
6276
6276
|
} catch {
|
|
6277
|
-
|
|
6277
|
+
Ps = function(e, t) {
|
|
6278
6278
|
this.message = e, this.name = t;
|
|
6279
6279
|
var r = Error(e);
|
|
6280
6280
|
this.stack = r.stack;
|
|
6281
|
-
},
|
|
6281
|
+
}, Ps.prototype = Object.create(Error.prototype), Ps.prototype.constructor = Ps;
|
|
6282
6282
|
}
|
|
6283
6283
|
function Ty(n, e) {
|
|
6284
6284
|
return new Promise(function(t, r) {
|
|
6285
|
-
var o = new
|
|
6285
|
+
var o = new As(n, e);
|
|
6286
6286
|
if (o.signal && o.signal.aborted)
|
|
6287
|
-
return r(new
|
|
6287
|
+
return r(new Ps("Aborted", "AbortError"));
|
|
6288
6288
|
var a = new XMLHttpRequest();
|
|
6289
6289
|
function l() {
|
|
6290
6290
|
a.abort();
|
|
@@ -6309,7 +6309,7 @@ function Ty(n, e) {
|
|
|
6309
6309
|
}, 0);
|
|
6310
6310
|
}, a.onabort = function() {
|
|
6311
6311
|
setTimeout(function() {
|
|
6312
|
-
r(new
|
|
6312
|
+
r(new Ps("Aborted", "AbortError"));
|
|
6313
6313
|
}, 0);
|
|
6314
6314
|
};
|
|
6315
6315
|
function u(p) {
|
|
@@ -6336,7 +6336,7 @@ function Ty(n, e) {
|
|
|
6336
6336
|
});
|
|
6337
6337
|
}
|
|
6338
6338
|
Ty.polyfill = !0;
|
|
6339
|
-
_n.fetch || (_n.fetch = Ty, _n.Headers = dn, _n.Request =
|
|
6339
|
+
_n.fetch || (_n.fetch = Ty, _n.Headers = dn, _n.Request = As, _n.Response = Ri);
|
|
6340
6340
|
var hh, Rv;
|
|
6341
6341
|
function tC() {
|
|
6342
6342
|
return Rv || (Rv = 1, hh = self.fetch.bind(self)), hh;
|
|
@@ -6346,24 +6346,24 @@ const ph = /* @__PURE__ */ yy(nC);
|
|
|
6346
6346
|
function zt(n) {
|
|
6347
6347
|
return n != null && typeof n == "object" && n["@@functional/placeholder"] === !0;
|
|
6348
6348
|
}
|
|
6349
|
-
function
|
|
6349
|
+
function Rs(n) {
|
|
6350
6350
|
return function e(t) {
|
|
6351
6351
|
return arguments.length === 0 || zt(t) ? e : n.apply(this, arguments);
|
|
6352
6352
|
};
|
|
6353
6353
|
}
|
|
6354
|
-
function
|
|
6354
|
+
function Ea(n) {
|
|
6355
6355
|
return function e(t, r) {
|
|
6356
6356
|
switch (arguments.length) {
|
|
6357
6357
|
case 0:
|
|
6358
6358
|
return e;
|
|
6359
6359
|
case 1:
|
|
6360
|
-
return zt(t) ? e :
|
|
6360
|
+
return zt(t) ? e : Rs(function(o) {
|
|
6361
6361
|
return n(t, o);
|
|
6362
6362
|
});
|
|
6363
6363
|
default:
|
|
6364
|
-
return zt(t) && zt(r) ? e : zt(t) ?
|
|
6364
|
+
return zt(t) && zt(r) ? e : zt(t) ? Rs(function(o) {
|
|
6365
6365
|
return n(o, r);
|
|
6366
|
-
}) : zt(r) ?
|
|
6366
|
+
}) : zt(r) ? Rs(function(o) {
|
|
6367
6367
|
return n(t, o);
|
|
6368
6368
|
}) : n(t, r);
|
|
6369
6369
|
}
|
|
@@ -6384,29 +6384,29 @@ function iC(n) {
|
|
|
6384
6384
|
case 0:
|
|
6385
6385
|
return e;
|
|
6386
6386
|
case 1:
|
|
6387
|
-
return zt(t) ? e :
|
|
6387
|
+
return zt(t) ? e : Ea(function(a, l) {
|
|
6388
6388
|
return n(t, a, l);
|
|
6389
6389
|
});
|
|
6390
6390
|
case 2:
|
|
6391
|
-
return zt(t) && zt(r) ? e : zt(t) ?
|
|
6391
|
+
return zt(t) && zt(r) ? e : zt(t) ? Ea(function(a, l) {
|
|
6392
6392
|
return n(a, r, l);
|
|
6393
|
-
}) : zt(r) ?
|
|
6393
|
+
}) : zt(r) ? Ea(function(a, l) {
|
|
6394
6394
|
return n(t, a, l);
|
|
6395
|
-
}) :
|
|
6395
|
+
}) : Rs(function(a) {
|
|
6396
6396
|
return n(t, r, a);
|
|
6397
6397
|
});
|
|
6398
6398
|
default:
|
|
6399
|
-
return zt(t) && zt(r) && zt(o) ? e : zt(t) && zt(r) ?
|
|
6399
|
+
return zt(t) && zt(r) && zt(o) ? e : zt(t) && zt(r) ? Ea(function(a, l) {
|
|
6400
6400
|
return n(a, l, o);
|
|
6401
|
-
}) : zt(t) && zt(o) ?
|
|
6401
|
+
}) : zt(t) && zt(o) ? Ea(function(a, l) {
|
|
6402
6402
|
return n(a, r, l);
|
|
6403
|
-
}) : zt(r) && zt(o) ?
|
|
6403
|
+
}) : zt(r) && zt(o) ? Ea(function(a, l) {
|
|
6404
6404
|
return n(t, a, l);
|
|
6405
|
-
}) : zt(t) ?
|
|
6405
|
+
}) : zt(t) ? Rs(function(a) {
|
|
6406
6406
|
return n(a, r, o);
|
|
6407
|
-
}) : zt(r) ?
|
|
6407
|
+
}) : zt(r) ? Rs(function(a) {
|
|
6408
6408
|
return n(t, a, o);
|
|
6409
|
-
}) : zt(o) ?
|
|
6409
|
+
}) : zt(o) ? Rs(function(a) {
|
|
6410
6410
|
return n(t, r, a);
|
|
6411
6411
|
}) : n(t, r, o);
|
|
6412
6412
|
}
|
|
@@ -6811,7 +6811,7 @@ function Av(n, e, t) {
|
|
|
6811
6811
|
const r = n.random || (n.rng || hC)();
|
|
6812
6812
|
return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, pC(r);
|
|
6813
6813
|
}
|
|
6814
|
-
var gC = "@nlxai/core", vC = "1.2.3-alpha.
|
|
6814
|
+
var gC = "@nlxai/core", vC = "1.2.3-alpha.2", yC = "Low-level SDK for building NLX experiences", bC = "module", kC = "lib/index.cjs", wC = "lib/index.esm.js", CC = "lib/index.umd.js", SC = "lib/index.d.ts", TC = {
|
|
6815
6815
|
".": {
|
|
6816
6816
|
types: "./lib/index.d.ts",
|
|
6817
6817
|
import: "./lib/index.esm.js",
|
|
@@ -6846,7 +6846,7 @@ var gC = "@nlxai/core", vC = "1.2.3-alpha.1", yC = "Low-level SDK for building N
|
|
|
6846
6846
|
uuid: "^9.0.1"
|
|
6847
6847
|
}, IC = {
|
|
6848
6848
|
access: "public"
|
|
6849
|
-
}, MC = "
|
|
6849
|
+
}, MC = "7b3f2bffccf925bf674d8fef42af177dc17c367c", gh = {
|
|
6850
6850
|
name: gC,
|
|
6851
6851
|
version: vC,
|
|
6852
6852
|
description: yC,
|
|
@@ -6864,7 +6864,7 @@ var gC = "@nlxai/core", vC = "1.2.3-alpha.1", yC = "Low-level SDK for building N
|
|
|
6864
6864
|
publishConfig: IC,
|
|
6865
6865
|
gitHead: MC
|
|
6866
6866
|
};
|
|
6867
|
-
const
|
|
6867
|
+
const _s = console;
|
|
6868
6868
|
var Kn;
|
|
6869
6869
|
(function(n) {
|
|
6870
6870
|
n.Application = "bot", n.User = "user", n.Failure = "failure";
|
|
@@ -6899,7 +6899,7 @@ const Ov = "NLX.Welcome", AC = "We encountered an issue. Please try again soon."
|
|
|
6899
6899
|
function DC(n) {
|
|
6900
6900
|
let e, t = [], r = null, o, a = [], l = null;
|
|
6901
6901
|
const u = n.applicationUrl ?? "";
|
|
6902
|
-
/[-|_][a-z]{2,}[-|_][A-Z]{2,}$/.test(u) &&
|
|
6902
|
+
/[-|_][a-z]{2,}[-|_][A-Z]{2,}$/.test(u) && _s.warn("Since v1.0.0, the language code is no longer added at the end of the application URL. Please remove the modifier (e.g. '-en-US') from the URL, and specify it in the `languageCode` parameter instead.");
|
|
6903
6903
|
const f = { voicePlusCommand: [] }, p = n.conversationId ?? Av();
|
|
6904
6904
|
let g = {
|
|
6905
6905
|
responses: n.responses ?? [],
|
|
@@ -6908,17 +6908,17 @@ function DC(n) {
|
|
|
6908
6908
|
conversationId: p
|
|
6909
6909
|
};
|
|
6910
6910
|
const C = () => {
|
|
6911
|
-
var
|
|
6912
|
-
return `${Nv(u)}${((
|
|
6913
|
-
}, _ = (
|
|
6911
|
+
var re;
|
|
6912
|
+
return `${Nv(u)}${((re = n.experimental) == null ? void 0 : re.completeApplicationUrl) === !0 ? "" : `-${g.languageCode}`}`;
|
|
6913
|
+
}, _ = (re, Pe) => {
|
|
6914
6914
|
g = {
|
|
6915
6915
|
...g,
|
|
6916
|
-
...
|
|
6916
|
+
...re
|
|
6917
6917
|
}, ee.forEach((me) => {
|
|
6918
6918
|
me(Dv(g), Pe);
|
|
6919
6919
|
});
|
|
6920
6920
|
}, T = () => {
|
|
6921
|
-
const
|
|
6921
|
+
const re = {
|
|
6922
6922
|
type: Kn.Failure,
|
|
6923
6923
|
receivedAt: (/* @__PURE__ */ new Date()).getTime(),
|
|
6924
6924
|
payload: {
|
|
@@ -6926,16 +6926,16 @@ function DC(n) {
|
|
|
6926
6926
|
}
|
|
6927
6927
|
};
|
|
6928
6928
|
_({
|
|
6929
|
-
responses: [...g.responses,
|
|
6930
|
-
},
|
|
6931
|
-
}, N = (
|
|
6932
|
-
if ((
|
|
6929
|
+
responses: [...g.responses, re]
|
|
6930
|
+
}, re);
|
|
6931
|
+
}, N = (re) => {
|
|
6932
|
+
if ((re == null ? void 0 : re.messages.length) > 0) {
|
|
6933
6933
|
const Pe = {
|
|
6934
6934
|
type: Kn.Application,
|
|
6935
6935
|
receivedAt: (/* @__PURE__ */ new Date()).getTime(),
|
|
6936
6936
|
payload: {
|
|
6937
|
-
...
|
|
6938
|
-
messages:
|
|
6937
|
+
...re,
|
|
6938
|
+
messages: re.messages.map((me) => ({
|
|
6939
6939
|
nodeId: me.nodeId,
|
|
6940
6940
|
messageId: me.messageId,
|
|
6941
6941
|
text: me.text,
|
|
@@ -6945,7 +6945,7 @@ function DC(n) {
|
|
|
6945
6945
|
};
|
|
6946
6946
|
_({
|
|
6947
6947
|
responses: [...g.responses, Pe]
|
|
6948
|
-
}, Pe),
|
|
6948
|
+
}, Pe), re.metadata.hasPendingDataRequest && ($({ poll: !0 }), setTimeout(() => {
|
|
6949
6949
|
z({
|
|
6950
6950
|
request: {
|
|
6951
6951
|
structured: {
|
|
@@ -6955,15 +6955,16 @@ function DC(n) {
|
|
|
6955
6955
|
});
|
|
6956
6956
|
}, 1500));
|
|
6957
6957
|
} else
|
|
6958
|
-
|
|
6958
|
+
_s.warn("Invalid message structure, expected object with field 'messages'."), T();
|
|
6959
6959
|
};
|
|
6960
6960
|
let A;
|
|
6961
|
-
const H = (
|
|
6962
|
-
(o == null ? void 0 : o.readyState) === 1 ? o.send(JSON.stringify(
|
|
6963
|
-
}, z = async (
|
|
6961
|
+
const H = (re) => {
|
|
6962
|
+
(o == null ? void 0 : o.readyState) === 1 ? o.send(JSON.stringify(re)) : a = [...a, re];
|
|
6963
|
+
}, z = async (re) => {
|
|
6964
6964
|
var me;
|
|
6965
6965
|
if (A != null) {
|
|
6966
|
-
A(
|
|
6966
|
+
A(re, (ce) => {
|
|
6967
|
+
_s.warn("Using the second argument in `setRequestOverride` is deprecated. Use `conversationHandler.appendMessageToTranscript` instead.");
|
|
6967
6968
|
const Ce = {
|
|
6968
6969
|
type: Kn.Application,
|
|
6969
6970
|
receivedAt: (/* @__PURE__ */ new Date()).getTime(),
|
|
@@ -6978,7 +6979,7 @@ function DC(n) {
|
|
|
6978
6979
|
const Pe = {
|
|
6979
6980
|
userId: g.userId,
|
|
6980
6981
|
conversationId: g.conversationId,
|
|
6981
|
-
...
|
|
6982
|
+
...re,
|
|
6982
6983
|
languageCode: g.languageCode,
|
|
6983
6984
|
channelType: (me = n.experimental) == null ? void 0 : me.channelType,
|
|
6984
6985
|
environment: n.environment
|
|
@@ -7002,7 +7003,7 @@ function DC(n) {
|
|
|
7002
7003
|
const Ce = await ce.json();
|
|
7003
7004
|
N(Ce);
|
|
7004
7005
|
} catch (ce) {
|
|
7005
|
-
|
|
7006
|
+
_s.warn(ce), T();
|
|
7006
7007
|
}
|
|
7007
7008
|
};
|
|
7008
7009
|
let ee = [];
|
|
@@ -7013,12 +7014,12 @@ function DC(n) {
|
|
|
7013
7014
|
}, F = () => {
|
|
7014
7015
|
var Pe;
|
|
7015
7016
|
se();
|
|
7016
|
-
const
|
|
7017
|
-
((Pe = n.experimental) == null ? void 0 : Pe.completeApplicationUrl) !== !0 && (
|
|
7017
|
+
const re = new URL(u);
|
|
7018
|
+
((Pe = n.experimental) == null ? void 0 : Pe.completeApplicationUrl) !== !0 && (re.searchParams.set("languageCode", g.languageCode), re.searchParams.set("channelKey", `${re.searchParams.get("channelKey") ?? ""}-${g.languageCode}`)), re.searchParams.set("conversationId", g.conversationId), e = new mh(re.href), r = setInterval(() => {
|
|
7018
7019
|
U();
|
|
7019
7020
|
}, 500), e.onmessage = function(me) {
|
|
7020
7021
|
typeof (me == null ? void 0 : me.data) == "string" && N(vh(me.data));
|
|
7021
|
-
},
|
|
7022
|
+
}, re.searchParams.set("voice-plus", "true"), o = new mh(re.href), l = setInterval(() => {
|
|
7022
7023
|
L();
|
|
7023
7024
|
}, 500), o.onmessage = (me) => {
|
|
7024
7025
|
if (typeof (me == null ? void 0 : me.data) == "string") {
|
|
@@ -7032,10 +7033,10 @@ function DC(n) {
|
|
|
7032
7033
|
var me;
|
|
7033
7034
|
if (Q(), n.bidirectional !== !0)
|
|
7034
7035
|
return;
|
|
7035
|
-
const
|
|
7036
|
-
((me = n.experimental) == null ? void 0 : me.completeApplicationUrl) !== !0 && (
|
|
7036
|
+
const re = new URL(OC(u));
|
|
7037
|
+
((me = n.experimental) == null ? void 0 : me.completeApplicationUrl) !== !0 && (re.searchParams.set("languageCode", g.languageCode), re.searchParams.set("channelKey", `${re.searchParams.get("channelKey") ?? ""}-${g.languageCode}`)), re.searchParams.set("conversationId", g.conversationId), re.searchParams.set("type", "voice-plus");
|
|
7037
7038
|
const Pe = n.headers["nlx-api-key"];
|
|
7038
|
-
!Oo(u) && Pe != null &&
|
|
7039
|
+
!Oo(u) && Pe != null && re.searchParams.set("apiKey", Pe), o = new mh(re.href), l = setInterval(() => {
|
|
7039
7040
|
L();
|
|
7040
7041
|
}, 500), o.onmessage = (ce) => {
|
|
7041
7042
|
if (typeof (ce == null ? void 0 : ce.data) == "string") {
|
|
@@ -7051,35 +7052,35 @@ function DC(n) {
|
|
|
7051
7052
|
l != null && clearInterval(l), o != null && (o.onmessage = null, o.close(), o = void 0);
|
|
7052
7053
|
};
|
|
7053
7054
|
Oo(u) && F(), G();
|
|
7054
|
-
const $ = (
|
|
7055
|
+
const $ = (re, Pe) => {
|
|
7055
7056
|
const me = {
|
|
7056
7057
|
type: Kn.User,
|
|
7057
7058
|
receivedAt: (/* @__PURE__ */ new Date()).getTime(),
|
|
7058
7059
|
payload: {
|
|
7059
7060
|
type: "structured",
|
|
7060
|
-
...Lv(
|
|
7061
|
+
...Lv(re),
|
|
7061
7062
|
context: Pe
|
|
7062
7063
|
}
|
|
7063
7064
|
};
|
|
7064
7065
|
_({
|
|
7065
7066
|
responses: [...g.responses, me]
|
|
7066
7067
|
}, me);
|
|
7067
|
-
}, q = (
|
|
7068
|
-
$({ intentId:
|
|
7068
|
+
}, q = (re, Pe) => {
|
|
7069
|
+
$({ intentId: re }, Pe), z({
|
|
7069
7070
|
context: Pe,
|
|
7070
7071
|
request: {
|
|
7071
7072
|
structured: {
|
|
7072
|
-
intentId:
|
|
7073
|
+
intentId: re
|
|
7073
7074
|
}
|
|
7074
7075
|
}
|
|
7075
7076
|
});
|
|
7076
|
-
}, Y = (
|
|
7077
|
+
}, Y = (re, Pe) => {
|
|
7077
7078
|
const me = {
|
|
7078
7079
|
type: Kn.User,
|
|
7079
7080
|
receivedAt: (/* @__PURE__ */ new Date()).getTime(),
|
|
7080
7081
|
payload: {
|
|
7081
7082
|
type: "text",
|
|
7082
|
-
text:
|
|
7083
|
+
text: re,
|
|
7083
7084
|
context: Pe
|
|
7084
7085
|
}
|
|
7085
7086
|
};
|
|
@@ -7089,25 +7090,25 @@ function DC(n) {
|
|
|
7089
7090
|
context: Pe,
|
|
7090
7091
|
request: {
|
|
7091
7092
|
unstructured: {
|
|
7092
|
-
text:
|
|
7093
|
+
text: re
|
|
7093
7094
|
}
|
|
7094
7095
|
}
|
|
7095
7096
|
});
|
|
7096
|
-
}, fe = (
|
|
7097
|
+
}, fe = (re, Pe, me) => {
|
|
7097
7098
|
let ce = [...g.responses];
|
|
7098
7099
|
const Ce = {
|
|
7099
7100
|
type: Kn.User,
|
|
7100
7101
|
receivedAt: (/* @__PURE__ */ new Date()).getTime(),
|
|
7101
7102
|
payload: {
|
|
7102
7103
|
type: "choice",
|
|
7103
|
-
choiceId:
|
|
7104
|
+
choiceId: re
|
|
7104
7105
|
}
|
|
7105
7106
|
}, de = (me == null ? void 0 : me.responseIndex) ?? -1, O = (me == null ? void 0 : me.messageIndex) ?? -1;
|
|
7106
7107
|
de > -1 && O > -1 && (ce = Iv(de, (te) => te.type === Kn.Application ? {
|
|
7107
7108
|
...te,
|
|
7108
7109
|
payload: {
|
|
7109
7110
|
...te.payload,
|
|
7110
|
-
messages: Iv(O, (Ve) => ({ ...Ve, selectedChoiceId:
|
|
7111
|
+
messages: Iv(O, (Ve) => ({ ...Ve, selectedChoiceId: re }), te.payload.messages)
|
|
7111
7112
|
}
|
|
7112
7113
|
} : te, ce)), ce = [...ce, Ce], _({
|
|
7113
7114
|
responses: ce
|
|
@@ -7117,16 +7118,16 @@ function DC(n) {
|
|
|
7117
7118
|
structured: {
|
|
7118
7119
|
nodeId: me == null ? void 0 : me.nodeId,
|
|
7119
7120
|
intentId: me == null ? void 0 : me.intentId,
|
|
7120
|
-
choiceId:
|
|
7121
|
+
choiceId: re
|
|
7121
7122
|
}
|
|
7122
7123
|
}
|
|
7123
7124
|
});
|
|
7124
|
-
}, Ie = (
|
|
7125
|
-
ee = ee.filter((Pe) => Pe !==
|
|
7125
|
+
}, Ie = (re) => {
|
|
7126
|
+
ee = ee.filter((Pe) => Pe !== re);
|
|
7126
7127
|
};
|
|
7127
7128
|
return {
|
|
7128
7129
|
sendText: Y,
|
|
7129
|
-
sendContext: async (
|
|
7130
|
+
sendContext: async (re) => {
|
|
7130
7131
|
const Pe = await ph(`${C()}/context`, {
|
|
7131
7132
|
method: "POST",
|
|
7132
7133
|
headers: {
|
|
@@ -7140,51 +7141,60 @@ function DC(n) {
|
|
|
7140
7141
|
languageCode: g.languageCode,
|
|
7141
7142
|
conversationId: g.conversationId,
|
|
7142
7143
|
userId: g.userId,
|
|
7143
|
-
context:
|
|
7144
|
+
context: re
|
|
7144
7145
|
})
|
|
7145
7146
|
});
|
|
7146
7147
|
if (Pe.status >= 400)
|
|
7147
7148
|
throw new Error(`Responded with ${Pe.status}`);
|
|
7148
7149
|
},
|
|
7149
|
-
|
|
7150
|
-
|
|
7150
|
+
appendMessageToTranscript: (re) => {
|
|
7151
|
+
const Pe = {
|
|
7152
|
+
...re,
|
|
7153
|
+
receivedAt: re.receivedAt ?? (/* @__PURE__ */ new Date()).getTime()
|
|
7154
|
+
};
|
|
7155
|
+
_({
|
|
7156
|
+
responses: [...g.responses, Pe]
|
|
7157
|
+
}, Pe);
|
|
7158
|
+
},
|
|
7159
|
+
sendStructured: (re, Pe) => {
|
|
7160
|
+
$(re, Pe), z({
|
|
7151
7161
|
context: Pe,
|
|
7152
7162
|
request: {
|
|
7153
|
-
structured: Lv(
|
|
7163
|
+
structured: Lv(re)
|
|
7154
7164
|
}
|
|
7155
7165
|
});
|
|
7156
7166
|
},
|
|
7157
|
-
sendSlots: (
|
|
7158
|
-
$({ slots:
|
|
7167
|
+
sendSlots: (re, Pe) => {
|
|
7168
|
+
$({ slots: re }, Pe), z({
|
|
7159
7169
|
context: Pe,
|
|
7160
7170
|
request: {
|
|
7161
7171
|
structured: {
|
|
7162
|
-
slots: Ey(
|
|
7172
|
+
slots: Ey(re)
|
|
7163
7173
|
}
|
|
7164
7174
|
}
|
|
7165
7175
|
});
|
|
7166
7176
|
},
|
|
7167
7177
|
sendFlow: q,
|
|
7168
|
-
sendIntent: (
|
|
7169
|
-
|
|
7178
|
+
sendIntent: (re, Pe) => {
|
|
7179
|
+
_s.warn("Calling `sendIntent` is deprecated and will be removed in a future version of the SDK. Use `sendFlow` instead."), q(re, Pe);
|
|
7170
7180
|
},
|
|
7171
|
-
sendWelcomeFlow: (
|
|
7172
|
-
q(Ov,
|
|
7181
|
+
sendWelcomeFlow: (re) => {
|
|
7182
|
+
q(Ov, re);
|
|
7173
7183
|
},
|
|
7174
|
-
sendWelcomeIntent: (
|
|
7175
|
-
|
|
7184
|
+
sendWelcomeIntent: (re) => {
|
|
7185
|
+
_s.warn("Calling `sendWelcomeIntent` is deprecated and will be removed in a future version of the SDK. Use `sendWelcomeFlow` instead."), q(Ov, re);
|
|
7176
7186
|
},
|
|
7177
7187
|
sendChoice: fe,
|
|
7178
7188
|
currentConversationId: () => g.conversationId,
|
|
7179
|
-
setLanguageCode: (
|
|
7180
|
-
if (
|
|
7181
|
-
|
|
7189
|
+
setLanguageCode: (re) => {
|
|
7190
|
+
if (re === g.languageCode) {
|
|
7191
|
+
_s.warn("Attempted to set language code to the one already active.");
|
|
7182
7192
|
return;
|
|
7183
7193
|
}
|
|
7184
|
-
Oo(u) && F(), G(), _({ languageCode:
|
|
7194
|
+
Oo(u) && F(), G(), _({ languageCode: re });
|
|
7185
7195
|
},
|
|
7186
7196
|
currentLanguageCode: () => g.languageCode,
|
|
7187
|
-
getVoiceCredentials: async (
|
|
7197
|
+
getVoiceCredentials: async (re, Pe) => {
|
|
7188
7198
|
const me = Nv(u), ce = await ph(`${me}-${g.languageCode}/requestToken`, {
|
|
7189
7199
|
method: "POST",
|
|
7190
7200
|
headers: {
|
|
@@ -7199,7 +7209,7 @@ function DC(n) {
|
|
|
7199
7209
|
conversationId: g.conversationId,
|
|
7200
7210
|
userId: g.userId,
|
|
7201
7211
|
requestToken: !0,
|
|
7202
|
-
context:
|
|
7212
|
+
context: re,
|
|
7203
7213
|
autoTriggerWelcomeFlow: (Pe == null ? void 0 : Pe.autoTriggerWelcomeFlow) ?? !0
|
|
7204
7214
|
})
|
|
7205
7215
|
});
|
|
@@ -7210,33 +7220,33 @@ function DC(n) {
|
|
|
7210
7220
|
throw new Error("Invalid response");
|
|
7211
7221
|
return Ce;
|
|
7212
7222
|
},
|
|
7213
|
-
subscribe: (
|
|
7214
|
-
Ie(
|
|
7223
|
+
subscribe: (re) => (ee = [...ee, re], re(Dv(g)), () => {
|
|
7224
|
+
Ie(re);
|
|
7215
7225
|
}),
|
|
7216
7226
|
unsubscribe: Ie,
|
|
7217
7227
|
unsubscribeAll: () => {
|
|
7218
7228
|
ee = [];
|
|
7219
7229
|
},
|
|
7220
|
-
reset: (
|
|
7230
|
+
reset: (re) => {
|
|
7221
7231
|
_({
|
|
7222
7232
|
conversationId: Av(),
|
|
7223
|
-
responses: (
|
|
7233
|
+
responses: (re == null ? void 0 : re.clearResponses) === !0 ? [] : g.responses
|
|
7224
7234
|
}), Oo(u) && F(), G();
|
|
7225
7235
|
},
|
|
7226
7236
|
destroy: () => {
|
|
7227
7237
|
ee = [], Oo(u) && se(), Q();
|
|
7228
7238
|
},
|
|
7229
|
-
setRequestOverride: (
|
|
7230
|
-
A =
|
|
7239
|
+
setRequestOverride: (re) => {
|
|
7240
|
+
A = re;
|
|
7231
7241
|
},
|
|
7232
|
-
addEventListener: (
|
|
7233
|
-
f[
|
|
7242
|
+
addEventListener: (re, Pe) => {
|
|
7243
|
+
f[re] = [...f[re], Pe];
|
|
7234
7244
|
},
|
|
7235
|
-
removeEventListener: (
|
|
7236
|
-
f[
|
|
7245
|
+
removeEventListener: (re, Pe) => {
|
|
7246
|
+
f[re] = f[re].filter((me) => me !== Pe);
|
|
7237
7247
|
},
|
|
7238
|
-
sendVoicePlusContext: (
|
|
7239
|
-
H({ context:
|
|
7248
|
+
sendVoicePlusContext: (re) => {
|
|
7249
|
+
H({ context: re });
|
|
7240
7250
|
}
|
|
7241
7251
|
};
|
|
7242
7252
|
}
|
|
@@ -7950,7 +7960,7 @@ const Ky = (n) => {
|
|
|
7950
7960
|
n != null ? /* @__PURE__ */ R.jsx("p", { className: "text-primary-60", children: n }) : null
|
|
7951
7961
|
] })
|
|
7952
7962
|
}
|
|
7953
|
-
),
|
|
7963
|
+
), Os = ({
|
|
7954
7964
|
onClick: n,
|
|
7955
7965
|
label: e,
|
|
7956
7966
|
type: t = "ghost",
|
|
@@ -9931,7 +9941,7 @@ function uT(n, e) {
|
|
|
9931
9941
|
}
|
|
9932
9942
|
return f;
|
|
9933
9943
|
}
|
|
9934
|
-
const
|
|
9944
|
+
const ie = tT(
|
|
9935
9945
|
"proto3",
|
|
9936
9946
|
(n) => new nT(n, (e) => uT(e)),
|
|
9937
9947
|
// TODO merge with proto2 and initExtensionField, also see initPartial, equals, clone
|
|
@@ -9965,11 +9975,11 @@ const re = tT(
|
|
|
9965
9975
|
);
|
|
9966
9976
|
class ur extends Fp {
|
|
9967
9977
|
constructor(e) {
|
|
9968
|
-
super(), this.seconds = Ft.zero, this.nanos = 0,
|
|
9978
|
+
super(), this.seconds = Ft.zero, this.nanos = 0, ie.util.initPartial(e, this);
|
|
9969
9979
|
}
|
|
9970
9980
|
fromJson(e, t) {
|
|
9971
9981
|
if (typeof e != "string")
|
|
9972
|
-
throw new Error("cannot decode google.protobuf.Timestamp from JSON: ".concat(
|
|
9982
|
+
throw new Error("cannot decode google.protobuf.Timestamp from JSON: ".concat(ie.json.debug(e)));
|
|
9973
9983
|
const r = e.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);
|
|
9974
9984
|
if (!r)
|
|
9975
9985
|
throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");
|
|
@@ -10016,12 +10026,12 @@ class ur extends Fp {
|
|
|
10016
10026
|
return new ur().fromJsonString(e, t);
|
|
10017
10027
|
}
|
|
10018
10028
|
static equals(e, t) {
|
|
10019
|
-
return
|
|
10029
|
+
return ie.util.equals(ur, e, t);
|
|
10020
10030
|
}
|
|
10021
10031
|
}
|
|
10022
|
-
ur.runtime =
|
|
10032
|
+
ur.runtime = ie;
|
|
10023
10033
|
ur.typeName = "google.protobuf.Timestamp";
|
|
10024
|
-
ur.fields =
|
|
10034
|
+
ur.fields = ie.util.newFieldList(() => [{
|
|
10025
10035
|
no: 1,
|
|
10026
10036
|
name: "seconds",
|
|
10027
10037
|
kind: "scalar",
|
|
@@ -10034,7 +10044,7 @@ ur.fields = re.util.newFieldList(() => [{
|
|
|
10034
10044
|
T: 5
|
|
10035
10045
|
/* ScalarType.INT32 */
|
|
10036
10046
|
}]);
|
|
10037
|
-
const dT = /* @__PURE__ */
|
|
10047
|
+
const dT = /* @__PURE__ */ ie.makeMessageType("livekit.MetricsBatch", () => [{
|
|
10038
10048
|
no: 1,
|
|
10039
10049
|
name: "timestamp_ms",
|
|
10040
10050
|
kind: "scalar",
|
|
@@ -10063,7 +10073,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10063
10073
|
kind: "message",
|
|
10064
10074
|
T: pT,
|
|
10065
10075
|
repeated: !0
|
|
10066
|
-
}]), fT = /* @__PURE__ */
|
|
10076
|
+
}]), fT = /* @__PURE__ */ ie.makeMessageType("livekit.TimeSeriesMetric", () => [{
|
|
10067
10077
|
no: 1,
|
|
10068
10078
|
name: "label",
|
|
10069
10079
|
kind: "scalar",
|
|
@@ -10093,7 +10103,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10093
10103
|
kind: "scalar",
|
|
10094
10104
|
T: 13
|
|
10095
10105
|
/* ScalarType.UINT32 */
|
|
10096
|
-
}]), hT = /* @__PURE__ */
|
|
10106
|
+
}]), hT = /* @__PURE__ */ ie.makeMessageType("livekit.MetricSample", () => [{
|
|
10097
10107
|
no: 1,
|
|
10098
10108
|
name: "timestamp_ms",
|
|
10099
10109
|
kind: "scalar",
|
|
@@ -10110,7 +10120,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10110
10120
|
kind: "scalar",
|
|
10111
10121
|
T: 2
|
|
10112
10122
|
/* ScalarType.FLOAT */
|
|
10113
|
-
}]), pT = /* @__PURE__ */
|
|
10123
|
+
}]), pT = /* @__PURE__ */ ie.makeMessageType("livekit.EventMetric", () => [{
|
|
10114
10124
|
no: 1,
|
|
10115
10125
|
name: "label",
|
|
10116
10126
|
kind: "scalar",
|
|
@@ -10163,7 +10173,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10163
10173
|
kind: "scalar",
|
|
10164
10174
|
T: 13
|
|
10165
10175
|
/* ScalarType.UINT32 */
|
|
10166
|
-
}]), mb = /* @__PURE__ */
|
|
10176
|
+
}]), mb = /* @__PURE__ */ ie.makeEnum("livekit.BackupCodecPolicy", [{
|
|
10167
10177
|
no: 0,
|
|
10168
10178
|
name: "PREFER_REGRESSION"
|
|
10169
10179
|
}, {
|
|
@@ -10172,7 +10182,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10172
10182
|
}, {
|
|
10173
10183
|
no: 2,
|
|
10174
10184
|
name: "REGRESSION"
|
|
10175
|
-
}]), ai = /* @__PURE__ */
|
|
10185
|
+
}]), ai = /* @__PURE__ */ ie.makeEnum("livekit.TrackType", [{
|
|
10176
10186
|
no: 0,
|
|
10177
10187
|
name: "AUDIO"
|
|
10178
10188
|
}, {
|
|
@@ -10181,7 +10191,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10181
10191
|
}, {
|
|
10182
10192
|
no: 2,
|
|
10183
10193
|
name: "DATA"
|
|
10184
|
-
}]), nn = /* @__PURE__ */
|
|
10194
|
+
}]), nn = /* @__PURE__ */ ie.makeEnum("livekit.TrackSource", [{
|
|
10185
10195
|
no: 0,
|
|
10186
10196
|
name: "UNKNOWN"
|
|
10187
10197
|
}, {
|
|
@@ -10196,7 +10206,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10196
10206
|
}, {
|
|
10197
10207
|
no: 4,
|
|
10198
10208
|
name: "SCREEN_SHARE_AUDIO"
|
|
10199
|
-
}]), Bp = /* @__PURE__ */
|
|
10209
|
+
}]), Bp = /* @__PURE__ */ ie.makeEnum("livekit.VideoQuality", [{
|
|
10200
10210
|
no: 0,
|
|
10201
10211
|
name: "LOW"
|
|
10202
10212
|
}, {
|
|
@@ -10208,7 +10218,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10208
10218
|
}, {
|
|
10209
10219
|
no: 3,
|
|
10210
10220
|
name: "OFF"
|
|
10211
|
-
}]), Gl = /* @__PURE__ */
|
|
10221
|
+
}]), Gl = /* @__PURE__ */ ie.makeEnum("livekit.ConnectionQuality", [{
|
|
10212
10222
|
no: 0,
|
|
10213
10223
|
name: "POOR"
|
|
10214
10224
|
}, {
|
|
@@ -10220,7 +10230,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10220
10230
|
}, {
|
|
10221
10231
|
no: 3,
|
|
10222
10232
|
name: "LOST"
|
|
10223
|
-
}]), lc = /* @__PURE__ */
|
|
10233
|
+
}]), lc = /* @__PURE__ */ ie.makeEnum("livekit.ClientConfigSetting", [{
|
|
10224
10234
|
no: 0,
|
|
10225
10235
|
name: "UNSET"
|
|
10226
10236
|
}, {
|
|
@@ -10229,7 +10239,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10229
10239
|
}, {
|
|
10230
10240
|
no: 2,
|
|
10231
10241
|
name: "ENABLED"
|
|
10232
|
-
}]), ci = /* @__PURE__ */
|
|
10242
|
+
}]), ci = /* @__PURE__ */ ie.makeEnum("livekit.DisconnectReason", [{
|
|
10233
10243
|
no: 0,
|
|
10234
10244
|
name: "UNKNOWN_REASON"
|
|
10235
10245
|
}, {
|
|
@@ -10277,7 +10287,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10277
10287
|
}, {
|
|
10278
10288
|
no: 15,
|
|
10279
10289
|
name: "MEDIA_FAILURE"
|
|
10280
|
-
}]),
|
|
10290
|
+
}]), xs = /* @__PURE__ */ ie.makeEnum("livekit.ReconnectReason", [{
|
|
10281
10291
|
no: 0,
|
|
10282
10292
|
name: "RR_UNKNOWN"
|
|
10283
10293
|
}, {
|
|
@@ -10292,7 +10302,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10292
10302
|
}, {
|
|
10293
10303
|
no: 4,
|
|
10294
10304
|
name: "RR_SWITCH_CANDIDATE"
|
|
10295
|
-
}]), mT = /* @__PURE__ */
|
|
10305
|
+
}]), mT = /* @__PURE__ */ ie.makeEnum("livekit.SubscriptionError", [{
|
|
10296
10306
|
no: 0,
|
|
10297
10307
|
name: "SE_UNKNOWN"
|
|
10298
10308
|
}, {
|
|
@@ -10301,7 +10311,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10301
10311
|
}, {
|
|
10302
10312
|
no: 2,
|
|
10303
10313
|
name: "SE_TRACK_NOTFOUND"
|
|
10304
|
-
}]), mn = /* @__PURE__ */
|
|
10314
|
+
}]), mn = /* @__PURE__ */ ie.makeEnum("livekit.AudioTrackFeature", [{
|
|
10305
10315
|
no: 0,
|
|
10306
10316
|
name: "TF_STEREO"
|
|
10307
10317
|
}, {
|
|
@@ -10322,7 +10332,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10322
10332
|
}, {
|
|
10323
10333
|
no: 6,
|
|
10324
10334
|
name: "TF_PRECONNECT_BUFFER"
|
|
10325
|
-
}]), Ed = /* @__PURE__ */
|
|
10335
|
+
}]), Ed = /* @__PURE__ */ ie.makeMessageType("livekit.Room", () => [{
|
|
10326
10336
|
no: 1,
|
|
10327
10337
|
name: "sid",
|
|
10328
10338
|
kind: "scalar",
|
|
@@ -10405,7 +10415,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10405
10415
|
name: "version",
|
|
10406
10416
|
kind: "message",
|
|
10407
10417
|
T: Pb
|
|
10408
|
-
}]), ud = /* @__PURE__ */
|
|
10418
|
+
}]), ud = /* @__PURE__ */ ie.makeMessageType("livekit.Codec", () => [{
|
|
10409
10419
|
no: 1,
|
|
10410
10420
|
name: "mime",
|
|
10411
10421
|
kind: "scalar",
|
|
@@ -10417,7 +10427,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10417
10427
|
kind: "scalar",
|
|
10418
10428
|
T: 9
|
|
10419
10429
|
/* ScalarType.STRING */
|
|
10420
|
-
}]), gT = /* @__PURE__ */
|
|
10430
|
+
}]), gT = /* @__PURE__ */ ie.makeMessageType("livekit.ParticipantPermission", () => [{
|
|
10421
10431
|
no: 1,
|
|
10422
10432
|
name: "can_subscribe",
|
|
10423
10433
|
kind: "scalar",
|
|
@@ -10439,7 +10449,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10439
10449
|
no: 9,
|
|
10440
10450
|
name: "can_publish_sources",
|
|
10441
10451
|
kind: "enum",
|
|
10442
|
-
T:
|
|
10452
|
+
T: ie.getEnumType(nn),
|
|
10443
10453
|
repeated: !0
|
|
10444
10454
|
}, {
|
|
10445
10455
|
no: 7,
|
|
@@ -10471,7 +10481,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10471
10481
|
kind: "scalar",
|
|
10472
10482
|
T: 8
|
|
10473
10483
|
/* ScalarType.BOOL */
|
|
10474
|
-
}]),
|
|
10484
|
+
}]), Ls = /* @__PURE__ */ ie.makeMessageType("livekit.ParticipantInfo", () => [{
|
|
10475
10485
|
no: 1,
|
|
10476
10486
|
name: "sid",
|
|
10477
10487
|
kind: "scalar",
|
|
@@ -10487,7 +10497,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10487
10497
|
no: 3,
|
|
10488
10498
|
name: "state",
|
|
10489
10499
|
kind: "enum",
|
|
10490
|
-
T:
|
|
10500
|
+
T: ie.getEnumType(Da)
|
|
10491
10501
|
}, {
|
|
10492
10502
|
no: 4,
|
|
10493
10503
|
name: "tracks",
|
|
@@ -10545,7 +10555,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10545
10555
|
no: 14,
|
|
10546
10556
|
name: "kind",
|
|
10547
10557
|
kind: "enum",
|
|
10548
|
-
T:
|
|
10558
|
+
T: ie.getEnumType(cc)
|
|
10549
10559
|
}, {
|
|
10550
10560
|
no: 15,
|
|
10551
10561
|
name: "attributes",
|
|
@@ -10560,14 +10570,14 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10560
10570
|
no: 16,
|
|
10561
10571
|
name: "disconnect_reason",
|
|
10562
10572
|
kind: "enum",
|
|
10563
|
-
T:
|
|
10573
|
+
T: ie.getEnumType(ci)
|
|
10564
10574
|
}, {
|
|
10565
10575
|
no: 18,
|
|
10566
10576
|
name: "kind_details",
|
|
10567
10577
|
kind: "enum",
|
|
10568
|
-
T:
|
|
10578
|
+
T: ie.getEnumType(vT),
|
|
10569
10579
|
repeated: !0
|
|
10570
|
-
}]), Da = /* @__PURE__ */
|
|
10580
|
+
}]), Da = /* @__PURE__ */ ie.makeEnum("livekit.ParticipantInfo.State", [{
|
|
10571
10581
|
no: 0,
|
|
10572
10582
|
name: "JOINING"
|
|
10573
10583
|
}, {
|
|
@@ -10579,7 +10589,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10579
10589
|
}, {
|
|
10580
10590
|
no: 3,
|
|
10581
10591
|
name: "DISCONNECTED"
|
|
10582
|
-
}]), cc = /* @__PURE__ */
|
|
10592
|
+
}]), cc = /* @__PURE__ */ ie.makeEnum("livekit.ParticipantInfo.Kind", [{
|
|
10583
10593
|
no: 0,
|
|
10584
10594
|
name: "STANDARD"
|
|
10585
10595
|
}, {
|
|
@@ -10597,13 +10607,13 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10597
10607
|
}, {
|
|
10598
10608
|
no: 7,
|
|
10599
10609
|
name: "CONNECTOR"
|
|
10600
|
-
}]), vT = /* @__PURE__ */
|
|
10610
|
+
}]), vT = /* @__PURE__ */ ie.makeEnum("livekit.ParticipantInfo.KindDetail", [{
|
|
10601
10611
|
no: 0,
|
|
10602
10612
|
name: "CLOUD_AGENT"
|
|
10603
10613
|
}, {
|
|
10604
10614
|
no: 1,
|
|
10605
10615
|
name: "FORWARDED"
|
|
10606
|
-
}]), un = /* @__PURE__ */
|
|
10616
|
+
}]), un = /* @__PURE__ */ ie.makeEnum("livekit.Encryption.Type", [{
|
|
10607
10617
|
no: 0,
|
|
10608
10618
|
name: "NONE"
|
|
10609
10619
|
}, {
|
|
@@ -10612,7 +10622,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10612
10622
|
}, {
|
|
10613
10623
|
no: 2,
|
|
10614
10624
|
name: "CUSTOM"
|
|
10615
|
-
}]), yT = /* @__PURE__ */
|
|
10625
|
+
}]), yT = /* @__PURE__ */ ie.makeMessageType("livekit.SimulcastCodecInfo", () => [{
|
|
10616
10626
|
no: 1,
|
|
10617
10627
|
name: "mime_type",
|
|
10618
10628
|
kind: "scalar",
|
|
@@ -10640,14 +10650,14 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10640
10650
|
no: 5,
|
|
10641
10651
|
name: "video_layer_mode",
|
|
10642
10652
|
kind: "enum",
|
|
10643
|
-
T:
|
|
10653
|
+
T: ie.getEnumType(gb)
|
|
10644
10654
|
}, {
|
|
10645
10655
|
no: 6,
|
|
10646
10656
|
name: "sdp_cid",
|
|
10647
10657
|
kind: "scalar",
|
|
10648
10658
|
T: 9
|
|
10649
10659
|
/* ScalarType.STRING */
|
|
10650
|
-
}]), Aa = /* @__PURE__ */
|
|
10660
|
+
}]), Aa = /* @__PURE__ */ ie.makeMessageType("livekit.TrackInfo", () => [{
|
|
10651
10661
|
no: 1,
|
|
10652
10662
|
name: "sid",
|
|
10653
10663
|
kind: "scalar",
|
|
@@ -10657,7 +10667,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10657
10667
|
no: 2,
|
|
10658
10668
|
name: "type",
|
|
10659
10669
|
kind: "enum",
|
|
10660
|
-
T:
|
|
10670
|
+
T: ie.getEnumType(ai)
|
|
10661
10671
|
}, {
|
|
10662
10672
|
no: 3,
|
|
10663
10673
|
name: "name",
|
|
@@ -10698,7 +10708,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10698
10708
|
no: 9,
|
|
10699
10709
|
name: "source",
|
|
10700
10710
|
kind: "enum",
|
|
10701
|
-
T:
|
|
10711
|
+
T: ie.getEnumType(nn)
|
|
10702
10712
|
}, {
|
|
10703
10713
|
no: 10,
|
|
10704
10714
|
name: "layers",
|
|
@@ -10739,7 +10749,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10739
10749
|
no: 16,
|
|
10740
10750
|
name: "encryption",
|
|
10741
10751
|
kind: "enum",
|
|
10742
|
-
T:
|
|
10752
|
+
T: ie.getEnumType(un)
|
|
10743
10753
|
}, {
|
|
10744
10754
|
no: 17,
|
|
10745
10755
|
name: "stream",
|
|
@@ -10755,18 +10765,18 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10755
10765
|
no: 19,
|
|
10756
10766
|
name: "audio_features",
|
|
10757
10767
|
kind: "enum",
|
|
10758
|
-
T:
|
|
10768
|
+
T: ie.getEnumType(mn),
|
|
10759
10769
|
repeated: !0
|
|
10760
10770
|
}, {
|
|
10761
10771
|
no: 20,
|
|
10762
10772
|
name: "backup_codec_policy",
|
|
10763
10773
|
kind: "enum",
|
|
10764
|
-
T:
|
|
10765
|
-
}]), No = /* @__PURE__ */
|
|
10774
|
+
T: ie.getEnumType(mb)
|
|
10775
|
+
}]), No = /* @__PURE__ */ ie.makeMessageType("livekit.VideoLayer", () => [{
|
|
10766
10776
|
no: 1,
|
|
10767
10777
|
name: "quality",
|
|
10768
10778
|
kind: "enum",
|
|
10769
|
-
T:
|
|
10779
|
+
T: ie.getEnumType(Bp)
|
|
10770
10780
|
}, {
|
|
10771
10781
|
no: 2,
|
|
10772
10782
|
name: "width",
|
|
@@ -10803,7 +10813,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10803
10813
|
kind: "scalar",
|
|
10804
10814
|
T: 9
|
|
10805
10815
|
/* ScalarType.STRING */
|
|
10806
|
-
}]), gb = /* @__PURE__ */
|
|
10816
|
+
}]), gb = /* @__PURE__ */ ie.makeEnum("livekit.VideoLayer.Mode", [{
|
|
10807
10817
|
no: 0,
|
|
10808
10818
|
name: "MODE_UNUSED"
|
|
10809
10819
|
}, {
|
|
@@ -10815,11 +10825,11 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10815
10825
|
}, {
|
|
10816
10826
|
no: 3,
|
|
10817
10827
|
name: "ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR"
|
|
10818
|
-
}]), Jn = /* @__PURE__ */
|
|
10828
|
+
}]), Jn = /* @__PURE__ */ ie.makeMessageType("livekit.DataPacket", () => [{
|
|
10819
10829
|
no: 1,
|
|
10820
10830
|
name: "kind",
|
|
10821
10831
|
kind: "enum",
|
|
10822
|
-
T:
|
|
10832
|
+
T: ie.getEnumType(lt)
|
|
10823
10833
|
}, {
|
|
10824
10834
|
no: 4,
|
|
10825
10835
|
name: "participant_identity",
|
|
@@ -10922,17 +10932,17 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10922
10932
|
kind: "scalar",
|
|
10923
10933
|
T: 9
|
|
10924
10934
|
/* ScalarType.STRING */
|
|
10925
|
-
}]), lt = /* @__PURE__ */
|
|
10935
|
+
}]), lt = /* @__PURE__ */ ie.makeEnum("livekit.DataPacket.Kind", [{
|
|
10926
10936
|
no: 0,
|
|
10927
10937
|
name: "RELIABLE"
|
|
10928
10938
|
}, {
|
|
10929
10939
|
no: 1,
|
|
10930
10940
|
name: "LOSSY"
|
|
10931
|
-
}]), vb = /* @__PURE__ */
|
|
10941
|
+
}]), vb = /* @__PURE__ */ ie.makeMessageType("livekit.EncryptedPacket", () => [{
|
|
10932
10942
|
no: 1,
|
|
10933
10943
|
name: "encryption_type",
|
|
10934
10944
|
kind: "enum",
|
|
10935
|
-
T:
|
|
10945
|
+
T: ie.getEnumType(un)
|
|
10936
10946
|
}, {
|
|
10937
10947
|
no: 2,
|
|
10938
10948
|
name: "iv",
|
|
@@ -10951,7 +10961,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10951
10961
|
kind: "scalar",
|
|
10952
10962
|
T: 12
|
|
10953
10963
|
/* ScalarType.BYTES */
|
|
10954
|
-
}]), yb = /* @__PURE__ */
|
|
10964
|
+
}]), yb = /* @__PURE__ */ ie.makeMessageType("livekit.EncryptedPacketPayload", () => [{
|
|
10955
10965
|
no: 1,
|
|
10956
10966
|
name: "user",
|
|
10957
10967
|
kind: "message",
|
|
@@ -10999,13 +11009,13 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
10999
11009
|
kind: "message",
|
|
11000
11010
|
T: pd,
|
|
11001
11011
|
oneof: "value"
|
|
11002
|
-
}]), bT = /* @__PURE__ */
|
|
11012
|
+
}]), bT = /* @__PURE__ */ ie.makeMessageType("livekit.ActiveSpeakerUpdate", () => [{
|
|
11003
11013
|
no: 1,
|
|
11004
11014
|
name: "speakers",
|
|
11005
11015
|
kind: "message",
|
|
11006
11016
|
T: bb,
|
|
11007
11017
|
repeated: !0
|
|
11008
|
-
}]), bb = /* @__PURE__ */
|
|
11018
|
+
}]), bb = /* @__PURE__ */ ie.makeMessageType("livekit.SpeakerInfo", () => [{
|
|
11009
11019
|
no: 1,
|
|
11010
11020
|
name: "sid",
|
|
11011
11021
|
kind: "scalar",
|
|
@@ -11023,7 +11033,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11023
11033
|
kind: "scalar",
|
|
11024
11034
|
T: 8
|
|
11025
11035
|
/* ScalarType.BOOL */
|
|
11026
|
-
}]), Vp = /* @__PURE__ */
|
|
11036
|
+
}]), Vp = /* @__PURE__ */ ie.makeMessageType("livekit.UserPacket", () => [{
|
|
11027
11037
|
no: 1,
|
|
11028
11038
|
name: "participant_sid",
|
|
11029
11039
|
kind: "scalar",
|
|
@@ -11083,7 +11093,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11083
11093
|
kind: "scalar",
|
|
11084
11094
|
T: 12
|
|
11085
11095
|
/* ScalarType.BYTES */
|
|
11086
|
-
}]), kb = /* @__PURE__ */
|
|
11096
|
+
}]), kb = /* @__PURE__ */ ie.makeMessageType("livekit.SipDTMF", () => [{
|
|
11087
11097
|
no: 3,
|
|
11088
11098
|
name: "code",
|
|
11089
11099
|
kind: "scalar",
|
|
@@ -11095,7 +11105,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11095
11105
|
kind: "scalar",
|
|
11096
11106
|
T: 9
|
|
11097
11107
|
/* ScalarType.STRING */
|
|
11098
|
-
}]), kT = /* @__PURE__ */
|
|
11108
|
+
}]), kT = /* @__PURE__ */ ie.makeMessageType("livekit.Transcription", () => [{
|
|
11099
11109
|
no: 2,
|
|
11100
11110
|
name: "transcribed_participant_identity",
|
|
11101
11111
|
kind: "scalar",
|
|
@@ -11113,7 +11123,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11113
11123
|
kind: "message",
|
|
11114
11124
|
T: wT,
|
|
11115
11125
|
repeated: !0
|
|
11116
|
-
}]), wT = /* @__PURE__ */
|
|
11126
|
+
}]), wT = /* @__PURE__ */ ie.makeMessageType("livekit.TranscriptionSegment", () => [{
|
|
11117
11127
|
no: 1,
|
|
11118
11128
|
name: "id",
|
|
11119
11129
|
kind: "scalar",
|
|
@@ -11149,7 +11159,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11149
11159
|
kind: "scalar",
|
|
11150
11160
|
T: 9
|
|
11151
11161
|
/* ScalarType.STRING */
|
|
11152
|
-
}]), dd = /* @__PURE__ */
|
|
11162
|
+
}]), dd = /* @__PURE__ */ ie.makeMessageType("livekit.ChatMessage", () => [{
|
|
11153
11163
|
no: 1,
|
|
11154
11164
|
name: "id",
|
|
11155
11165
|
kind: "scalar",
|
|
@@ -11185,7 +11195,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11185
11195
|
kind: "scalar",
|
|
11186
11196
|
T: 8
|
|
11187
11197
|
/* ScalarType.BOOL */
|
|
11188
|
-
}]), zp = /* @__PURE__ */
|
|
11198
|
+
}]), zp = /* @__PURE__ */ ie.makeMessageType("livekit.RpcRequest", () => [{
|
|
11189
11199
|
no: 1,
|
|
11190
11200
|
name: "id",
|
|
11191
11201
|
kind: "scalar",
|
|
@@ -11215,13 +11225,13 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11215
11225
|
kind: "scalar",
|
|
11216
11226
|
T: 13
|
|
11217
11227
|
/* ScalarType.UINT32 */
|
|
11218
|
-
}]), Wp = /* @__PURE__ */
|
|
11228
|
+
}]), Wp = /* @__PURE__ */ ie.makeMessageType("livekit.RpcAck", () => [{
|
|
11219
11229
|
no: 1,
|
|
11220
11230
|
name: "request_id",
|
|
11221
11231
|
kind: "scalar",
|
|
11222
11232
|
T: 9
|
|
11223
11233
|
/* ScalarType.STRING */
|
|
11224
|
-
}]), Hp = /* @__PURE__ */
|
|
11234
|
+
}]), Hp = /* @__PURE__ */ ie.makeMessageType("livekit.RpcResponse", () => [{
|
|
11225
11235
|
no: 1,
|
|
11226
11236
|
name: "request_id",
|
|
11227
11237
|
kind: "scalar",
|
|
@@ -11239,7 +11249,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11239
11249
|
kind: "message",
|
|
11240
11250
|
T: wb,
|
|
11241
11251
|
oneof: "value"
|
|
11242
|
-
}]), wb = /* @__PURE__ */
|
|
11252
|
+
}]), wb = /* @__PURE__ */ ie.makeMessageType("livekit.RpcError", () => [{
|
|
11243
11253
|
no: 1,
|
|
11244
11254
|
name: "code",
|
|
11245
11255
|
kind: "scalar",
|
|
@@ -11257,7 +11267,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11257
11267
|
kind: "scalar",
|
|
11258
11268
|
T: 9
|
|
11259
11269
|
/* ScalarType.STRING */
|
|
11260
|
-
}]), Cb = /* @__PURE__ */
|
|
11270
|
+
}]), Cb = /* @__PURE__ */ ie.makeMessageType("livekit.ParticipantTracks", () => [{
|
|
11261
11271
|
no: 1,
|
|
11262
11272
|
name: "participant_sid",
|
|
11263
11273
|
kind: "scalar",
|
|
@@ -11269,11 +11279,11 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11269
11279
|
kind: "scalar",
|
|
11270
11280
|
T: 9,
|
|
11271
11281
|
repeated: !0
|
|
11272
|
-
}]), Sb = /* @__PURE__ */
|
|
11282
|
+
}]), Sb = /* @__PURE__ */ ie.makeMessageType("livekit.ServerInfo", () => [{
|
|
11273
11283
|
no: 1,
|
|
11274
11284
|
name: "edition",
|
|
11275
11285
|
kind: "enum",
|
|
11276
|
-
T:
|
|
11286
|
+
T: ie.getEnumType(Tb)
|
|
11277
11287
|
}, {
|
|
11278
11288
|
no: 2,
|
|
11279
11289
|
name: "version",
|
|
@@ -11310,17 +11320,17 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11310
11320
|
kind: "scalar",
|
|
11311
11321
|
T: 5
|
|
11312
11322
|
/* ScalarType.INT32 */
|
|
11313
|
-
}]), Tb = /* @__PURE__ */
|
|
11323
|
+
}]), Tb = /* @__PURE__ */ ie.makeEnum("livekit.ServerInfo.Edition", [{
|
|
11314
11324
|
no: 0,
|
|
11315
11325
|
name: "Standard"
|
|
11316
11326
|
}, {
|
|
11317
11327
|
no: 1,
|
|
11318
11328
|
name: "Cloud"
|
|
11319
|
-
}]), _b = /* @__PURE__ */
|
|
11329
|
+
}]), _b = /* @__PURE__ */ ie.makeMessageType("livekit.ClientInfo", () => [{
|
|
11320
11330
|
no: 1,
|
|
11321
11331
|
name: "sdk",
|
|
11322
11332
|
kind: "enum",
|
|
11323
|
-
T:
|
|
11333
|
+
T: ie.getEnumType(xb)
|
|
11324
11334
|
}, {
|
|
11325
11335
|
no: 2,
|
|
11326
11336
|
name: "version",
|
|
@@ -11381,7 +11391,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11381
11391
|
kind: "scalar",
|
|
11382
11392
|
T: 9
|
|
11383
11393
|
/* ScalarType.STRING */
|
|
11384
|
-
}]), xb = /* @__PURE__ */
|
|
11394
|
+
}]), xb = /* @__PURE__ */ ie.makeEnum("livekit.ClientInfo.SDK", [{
|
|
11385
11395
|
no: 0,
|
|
11386
11396
|
name: "UNKNOWN"
|
|
11387
11397
|
}, {
|
|
@@ -11426,7 +11436,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11426
11436
|
}, {
|
|
11427
11437
|
no: 14,
|
|
11428
11438
|
name: "ESP32"
|
|
11429
|
-
}]), Eb = /* @__PURE__ */
|
|
11439
|
+
}]), Eb = /* @__PURE__ */ ie.makeMessageType("livekit.ClientConfiguration", () => [{
|
|
11430
11440
|
no: 1,
|
|
11431
11441
|
name: "video",
|
|
11432
11442
|
kind: "message",
|
|
@@ -11440,7 +11450,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11440
11450
|
no: 3,
|
|
11441
11451
|
name: "resume_connection",
|
|
11442
11452
|
kind: "enum",
|
|
11443
|
-
T:
|
|
11453
|
+
T: ie.getEnumType(lc)
|
|
11444
11454
|
}, {
|
|
11445
11455
|
no: 4,
|
|
11446
11456
|
name: "disabled_codecs",
|
|
@@ -11450,13 +11460,13 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11450
11460
|
no: 5,
|
|
11451
11461
|
name: "force_relay",
|
|
11452
11462
|
kind: "enum",
|
|
11453
|
-
T:
|
|
11454
|
-
}]), Zv = /* @__PURE__ */
|
|
11463
|
+
T: ie.getEnumType(lc)
|
|
11464
|
+
}]), Zv = /* @__PURE__ */ ie.makeMessageType("livekit.VideoConfiguration", () => [{
|
|
11455
11465
|
no: 1,
|
|
11456
11466
|
name: "hardware_encoder",
|
|
11457
11467
|
kind: "enum",
|
|
11458
|
-
T:
|
|
11459
|
-
}]), CT = /* @__PURE__ */
|
|
11468
|
+
T: ie.getEnumType(lc)
|
|
11469
|
+
}]), CT = /* @__PURE__ */ ie.makeMessageType("livekit.DisabledCodecs", () => [{
|
|
11460
11470
|
no: 1,
|
|
11461
11471
|
name: "codecs",
|
|
11462
11472
|
kind: "message",
|
|
@@ -11468,7 +11478,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11468
11478
|
kind: "message",
|
|
11469
11479
|
T: ud,
|
|
11470
11480
|
repeated: !0
|
|
11471
|
-
}]), Pb = /* @__PURE__ */
|
|
11481
|
+
}]), Pb = /* @__PURE__ */ ie.makeMessageType("livekit.TimedVersion", () => [{
|
|
11472
11482
|
no: 1,
|
|
11473
11483
|
name: "unix_micro",
|
|
11474
11484
|
kind: "scalar",
|
|
@@ -11480,7 +11490,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11480
11490
|
kind: "scalar",
|
|
11481
11491
|
T: 5
|
|
11482
11492
|
/* ScalarType.INT32 */
|
|
11483
|
-
}]), qh = /* @__PURE__ */
|
|
11493
|
+
}]), qh = /* @__PURE__ */ ie.makeEnum("livekit.DataStream.OperationType", [{
|
|
11484
11494
|
no: 0,
|
|
11485
11495
|
name: "CREATE"
|
|
11486
11496
|
}, {
|
|
@@ -11492,11 +11502,11 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11492
11502
|
}, {
|
|
11493
11503
|
no: 3,
|
|
11494
11504
|
name: "REACTION"
|
|
11495
|
-
}]), Rb = /* @__PURE__ */
|
|
11505
|
+
}]), Rb = /* @__PURE__ */ ie.makeMessageType("livekit.DataStream.TextHeader", () => [{
|
|
11496
11506
|
no: 1,
|
|
11497
11507
|
name: "operation_type",
|
|
11498
11508
|
kind: "enum",
|
|
11499
|
-
T:
|
|
11509
|
+
T: ie.getEnumType(qh)
|
|
11500
11510
|
}, {
|
|
11501
11511
|
no: 2,
|
|
11502
11512
|
name: "version",
|
|
@@ -11523,7 +11533,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11523
11533
|
/* ScalarType.BOOL */
|
|
11524
11534
|
}], {
|
|
11525
11535
|
localName: "DataStream_TextHeader"
|
|
11526
|
-
}), Ib = /* @__PURE__ */
|
|
11536
|
+
}), Ib = /* @__PURE__ */ ie.makeMessageType("livekit.DataStream.ByteHeader", () => [{
|
|
11527
11537
|
no: 1,
|
|
11528
11538
|
name: "name",
|
|
11529
11539
|
kind: "scalar",
|
|
@@ -11531,7 +11541,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11531
11541
|
/* ScalarType.STRING */
|
|
11532
11542
|
}], {
|
|
11533
11543
|
localName: "DataStream_ByteHeader"
|
|
11534
|
-
}), fd = /* @__PURE__ */
|
|
11544
|
+
}), fd = /* @__PURE__ */ ie.makeMessageType("livekit.DataStream.Header", () => [{
|
|
11535
11545
|
no: 1,
|
|
11536
11546
|
name: "stream_id",
|
|
11537
11547
|
kind: "scalar",
|
|
@@ -11565,7 +11575,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11565
11575
|
no: 7,
|
|
11566
11576
|
name: "encryption_type",
|
|
11567
11577
|
kind: "enum",
|
|
11568
|
-
T:
|
|
11578
|
+
T: ie.getEnumType(un)
|
|
11569
11579
|
}, {
|
|
11570
11580
|
no: 8,
|
|
11571
11581
|
name: "attributes",
|
|
@@ -11590,7 +11600,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11590
11600
|
oneof: "content_header"
|
|
11591
11601
|
}], {
|
|
11592
11602
|
localName: "DataStream_Header"
|
|
11593
|
-
}), hd = /* @__PURE__ */
|
|
11603
|
+
}), hd = /* @__PURE__ */ ie.makeMessageType("livekit.DataStream.Chunk", () => [{
|
|
11594
11604
|
no: 1,
|
|
11595
11605
|
name: "stream_id",
|
|
11596
11606
|
kind: "scalar",
|
|
@@ -11622,7 +11632,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11622
11632
|
opt: !0
|
|
11623
11633
|
}], {
|
|
11624
11634
|
localName: "DataStream_Chunk"
|
|
11625
|
-
}), pd = /* @__PURE__ */
|
|
11635
|
+
}), pd = /* @__PURE__ */ ie.makeMessageType("livekit.DataStream.Trailer", () => [{
|
|
11626
11636
|
no: 1,
|
|
11627
11637
|
name: "stream_id",
|
|
11628
11638
|
kind: "scalar",
|
|
@@ -11646,7 +11656,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11646
11656
|
}
|
|
11647
11657
|
}], {
|
|
11648
11658
|
localName: "DataStream_Trailer"
|
|
11649
|
-
}), ST = /* @__PURE__ */
|
|
11659
|
+
}), ST = /* @__PURE__ */ ie.makeMessageType("livekit.SubscribedAudioCodec", () => [{
|
|
11650
11660
|
no: 1,
|
|
11651
11661
|
name: "codec",
|
|
11652
11662
|
kind: "scalar",
|
|
@@ -11658,19 +11668,19 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11658
11668
|
kind: "scalar",
|
|
11659
11669
|
T: 8
|
|
11660
11670
|
/* ScalarType.BOOL */
|
|
11661
|
-
}]), li = /* @__PURE__ */
|
|
11671
|
+
}]), li = /* @__PURE__ */ ie.makeEnum("livekit.SignalTarget", [{
|
|
11662
11672
|
no: 0,
|
|
11663
11673
|
name: "PUBLISHER"
|
|
11664
11674
|
}, {
|
|
11665
11675
|
no: 1,
|
|
11666
11676
|
name: "SUBSCRIBER"
|
|
11667
|
-
}]), Gh = /* @__PURE__ */
|
|
11677
|
+
}]), Gh = /* @__PURE__ */ ie.makeEnum("livekit.StreamState", [{
|
|
11668
11678
|
no: 0,
|
|
11669
11679
|
name: "ACTIVE"
|
|
11670
11680
|
}, {
|
|
11671
11681
|
no: 1,
|
|
11672
11682
|
name: "PAUSED"
|
|
11673
|
-
}]), TT = /* @__PURE__ */
|
|
11683
|
+
}]), TT = /* @__PURE__ */ ie.makeEnum("livekit.CandidateProtocol", [{
|
|
11674
11684
|
no: 0,
|
|
11675
11685
|
name: "UDP"
|
|
11676
11686
|
}, {
|
|
@@ -11679,7 +11689,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11679
11689
|
}, {
|
|
11680
11690
|
no: 2,
|
|
11681
11691
|
name: "TLS"
|
|
11682
|
-
}]), _T = /* @__PURE__ */
|
|
11692
|
+
}]), _T = /* @__PURE__ */ ie.makeMessageType("livekit.SignalRequest", () => [{
|
|
11683
11693
|
no: 1,
|
|
11684
11694
|
name: "offer",
|
|
11685
11695
|
kind: "message",
|
|
@@ -11781,7 +11791,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11781
11791
|
kind: "message",
|
|
11782
11792
|
T: Ab,
|
|
11783
11793
|
oneof: "message"
|
|
11784
|
-
}]), e0 = /* @__PURE__ */
|
|
11794
|
+
}]), e0 = /* @__PURE__ */ ie.makeMessageType("livekit.SignalResponse", () => [{
|
|
11785
11795
|
no: 1,
|
|
11786
11796
|
name: "join",
|
|
11787
11797
|
kind: "message",
|
|
@@ -11931,7 +11941,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11931
11941
|
kind: "message",
|
|
11932
11942
|
T: FT,
|
|
11933
11943
|
oneof: "message"
|
|
11934
|
-
}]), Kh = /* @__PURE__ */
|
|
11944
|
+
}]), Kh = /* @__PURE__ */ ie.makeMessageType("livekit.SimulcastCodec", () => [{
|
|
11935
11945
|
no: 1,
|
|
11936
11946
|
name: "codec",
|
|
11937
11947
|
kind: "scalar",
|
|
@@ -11953,8 +11963,8 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11953
11963
|
no: 5,
|
|
11954
11964
|
name: "video_layer_mode",
|
|
11955
11965
|
kind: "enum",
|
|
11956
|
-
T:
|
|
11957
|
-
}]), uc = /* @__PURE__ */
|
|
11966
|
+
T: ie.getEnumType(gb)
|
|
11967
|
+
}]), uc = /* @__PURE__ */ ie.makeMessageType("livekit.AddTrackRequest", () => [{
|
|
11958
11968
|
no: 1,
|
|
11959
11969
|
name: "cid",
|
|
11960
11970
|
kind: "scalar",
|
|
@@ -11970,7 +11980,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11970
11980
|
no: 3,
|
|
11971
11981
|
name: "type",
|
|
11972
11982
|
kind: "enum",
|
|
11973
|
-
T:
|
|
11983
|
+
T: ie.getEnumType(ai)
|
|
11974
11984
|
}, {
|
|
11975
11985
|
no: 4,
|
|
11976
11986
|
name: "width",
|
|
@@ -11999,7 +12009,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11999
12009
|
no: 8,
|
|
12000
12010
|
name: "source",
|
|
12001
12011
|
kind: "enum",
|
|
12002
|
-
T:
|
|
12012
|
+
T: ie.getEnumType(nn)
|
|
12003
12013
|
}, {
|
|
12004
12014
|
no: 9,
|
|
12005
12015
|
name: "layers",
|
|
@@ -12034,7 +12044,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12034
12044
|
no: 14,
|
|
12035
12045
|
name: "encryption",
|
|
12036
12046
|
kind: "enum",
|
|
12037
|
-
T:
|
|
12047
|
+
T: ie.getEnumType(un)
|
|
12038
12048
|
}, {
|
|
12039
12049
|
no: 15,
|
|
12040
12050
|
name: "stream",
|
|
@@ -12045,14 +12055,14 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12045
12055
|
no: 16,
|
|
12046
12056
|
name: "backup_codec_policy",
|
|
12047
12057
|
kind: "enum",
|
|
12048
|
-
T:
|
|
12058
|
+
T: ie.getEnumType(mb)
|
|
12049
12059
|
}, {
|
|
12050
12060
|
no: 17,
|
|
12051
12061
|
name: "audio_features",
|
|
12052
12062
|
kind: "enum",
|
|
12053
|
-
T:
|
|
12063
|
+
T: ie.getEnumType(mn),
|
|
12054
12064
|
repeated: !0
|
|
12055
|
-
}]), Pd = /* @__PURE__ */
|
|
12065
|
+
}]), Pd = /* @__PURE__ */ ie.makeMessageType("livekit.TrickleRequest", () => [{
|
|
12056
12066
|
no: 1,
|
|
12057
12067
|
name: "candidateInit",
|
|
12058
12068
|
kind: "scalar",
|
|
@@ -12062,14 +12072,14 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12062
12072
|
no: 2,
|
|
12063
12073
|
name: "target",
|
|
12064
12074
|
kind: "enum",
|
|
12065
|
-
T:
|
|
12075
|
+
T: ie.getEnumType(li)
|
|
12066
12076
|
}, {
|
|
12067
12077
|
no: 3,
|
|
12068
12078
|
name: "final",
|
|
12069
12079
|
kind: "scalar",
|
|
12070
12080
|
T: 8
|
|
12071
12081
|
/* ScalarType.BOOL */
|
|
12072
|
-
}]), Rd = /* @__PURE__ */
|
|
12082
|
+
}]), Rd = /* @__PURE__ */ ie.makeMessageType("livekit.MuteTrackRequest", () => [{
|
|
12073
12083
|
no: 1,
|
|
12074
12084
|
name: "sid",
|
|
12075
12085
|
kind: "scalar",
|
|
@@ -12081,7 +12091,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12081
12091
|
kind: "scalar",
|
|
12082
12092
|
T: 8
|
|
12083
12093
|
/* ScalarType.BOOL */
|
|
12084
|
-
}]), xT = /* @__PURE__ */
|
|
12094
|
+
}]), xT = /* @__PURE__ */ ie.makeMessageType("livekit.JoinResponse", () => [{
|
|
12085
12095
|
no: 1,
|
|
12086
12096
|
name: "room",
|
|
12087
12097
|
kind: "message",
|
|
@@ -12090,12 +12100,12 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12090
12100
|
no: 2,
|
|
12091
12101
|
name: "participant",
|
|
12092
12102
|
kind: "message",
|
|
12093
|
-
T:
|
|
12103
|
+
T: Ls
|
|
12094
12104
|
}, {
|
|
12095
12105
|
no: 3,
|
|
12096
12106
|
name: "other_participants",
|
|
12097
12107
|
kind: "message",
|
|
12098
|
-
T:
|
|
12108
|
+
T: Ls,
|
|
12099
12109
|
repeated: !0
|
|
12100
12110
|
}, {
|
|
12101
12111
|
no: 4,
|
|
@@ -12167,7 +12177,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12167
12177
|
kind: "scalar",
|
|
12168
12178
|
T: 8
|
|
12169
12179
|
/* ScalarType.BOOL */
|
|
12170
|
-
}]), ET = /* @__PURE__ */
|
|
12180
|
+
}]), ET = /* @__PURE__ */ ie.makeMessageType("livekit.ReconnectResponse", () => [{
|
|
12171
12181
|
no: 1,
|
|
12172
12182
|
name: "ice_servers",
|
|
12173
12183
|
kind: "message",
|
|
@@ -12189,7 +12199,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12189
12199
|
kind: "scalar",
|
|
12190
12200
|
T: 13
|
|
12191
12201
|
/* ScalarType.UINT32 */
|
|
12192
|
-
}]), $p = /* @__PURE__ */
|
|
12202
|
+
}]), $p = /* @__PURE__ */ ie.makeMessageType("livekit.TrackPublishedResponse", () => [{
|
|
12193
12203
|
no: 1,
|
|
12194
12204
|
name: "cid",
|
|
12195
12205
|
kind: "scalar",
|
|
@@ -12200,13 +12210,13 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12200
12210
|
name: "track",
|
|
12201
12211
|
kind: "message",
|
|
12202
12212
|
T: Aa
|
|
12203
|
-
}]), PT = /* @__PURE__ */
|
|
12213
|
+
}]), PT = /* @__PURE__ */ ie.makeMessageType("livekit.TrackUnpublishedResponse", () => [{
|
|
12204
12214
|
no: 1,
|
|
12205
12215
|
name: "track_sid",
|
|
12206
12216
|
kind: "scalar",
|
|
12207
12217
|
T: 9
|
|
12208
12218
|
/* ScalarType.STRING */
|
|
12209
|
-
}]), Bo = /* @__PURE__ */
|
|
12219
|
+
}]), Bo = /* @__PURE__ */ ie.makeMessageType("livekit.SessionDescription", () => [{
|
|
12210
12220
|
no: 1,
|
|
12211
12221
|
name: "type",
|
|
12212
12222
|
kind: "scalar",
|
|
@@ -12234,13 +12244,13 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12234
12244
|
T: 9
|
|
12235
12245
|
/* ScalarType.STRING */
|
|
12236
12246
|
}
|
|
12237
|
-
}]), RT = /* @__PURE__ */
|
|
12247
|
+
}]), RT = /* @__PURE__ */ ie.makeMessageType("livekit.ParticipantUpdate", () => [{
|
|
12238
12248
|
no: 1,
|
|
12239
12249
|
name: "participants",
|
|
12240
12250
|
kind: "message",
|
|
12241
|
-
T:
|
|
12251
|
+
T: Ls,
|
|
12242
12252
|
repeated: !0
|
|
12243
|
-
}]), Id = /* @__PURE__ */
|
|
12253
|
+
}]), Id = /* @__PURE__ */ ie.makeMessageType("livekit.UpdateSubscription", () => [{
|
|
12244
12254
|
no: 1,
|
|
12245
12255
|
name: "track_sids",
|
|
12246
12256
|
kind: "scalar",
|
|
@@ -12258,7 +12268,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12258
12268
|
kind: "message",
|
|
12259
12269
|
T: Cb,
|
|
12260
12270
|
repeated: !0
|
|
12261
|
-
}]), Mb = /* @__PURE__ */
|
|
12271
|
+
}]), Mb = /* @__PURE__ */ ie.makeMessageType("livekit.UpdateTrackSettings", () => [{
|
|
12262
12272
|
no: 1,
|
|
12263
12273
|
name: "track_sids",
|
|
12264
12274
|
kind: "scalar",
|
|
@@ -12274,7 +12284,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12274
12284
|
no: 4,
|
|
12275
12285
|
name: "quality",
|
|
12276
12286
|
kind: "enum",
|
|
12277
|
-
T:
|
|
12287
|
+
T: ie.getEnumType(Bp)
|
|
12278
12288
|
}, {
|
|
12279
12289
|
no: 5,
|
|
12280
12290
|
name: "width",
|
|
@@ -12299,7 +12309,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12299
12309
|
kind: "scalar",
|
|
12300
12310
|
T: 13
|
|
12301
12311
|
/* ScalarType.UINT32 */
|
|
12302
|
-
}]), qp = /* @__PURE__ */
|
|
12312
|
+
}]), qp = /* @__PURE__ */ ie.makeMessageType("livekit.UpdateLocalAudioTrack", () => [{
|
|
12303
12313
|
no: 1,
|
|
12304
12314
|
name: "track_sid",
|
|
12305
12315
|
kind: "scalar",
|
|
@@ -12309,9 +12319,9 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12309
12319
|
no: 2,
|
|
12310
12320
|
name: "features",
|
|
12311
12321
|
kind: "enum",
|
|
12312
|
-
T:
|
|
12322
|
+
T: ie.getEnumType(mn),
|
|
12313
12323
|
repeated: !0
|
|
12314
|
-
}]), Ab = /* @__PURE__ */
|
|
12324
|
+
}]), Ab = /* @__PURE__ */ ie.makeMessageType("livekit.UpdateLocalVideoTrack", () => [{
|
|
12315
12325
|
no: 1,
|
|
12316
12326
|
name: "track_sid",
|
|
12317
12327
|
kind: "scalar",
|
|
@@ -12329,7 +12339,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12329
12339
|
kind: "scalar",
|
|
12330
12340
|
T: 13
|
|
12331
12341
|
/* ScalarType.UINT32 */
|
|
12332
|
-
}]), Md = /* @__PURE__ */
|
|
12342
|
+
}]), Md = /* @__PURE__ */ ie.makeMessageType("livekit.LeaveRequest", () => [{
|
|
12333
12343
|
no: 1,
|
|
12334
12344
|
name: "can_reconnect",
|
|
12335
12345
|
kind: "scalar",
|
|
@@ -12339,18 +12349,18 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12339
12349
|
no: 2,
|
|
12340
12350
|
name: "reason",
|
|
12341
12351
|
kind: "enum",
|
|
12342
|
-
T:
|
|
12352
|
+
T: ie.getEnumType(ci)
|
|
12343
12353
|
}, {
|
|
12344
12354
|
no: 3,
|
|
12345
12355
|
name: "action",
|
|
12346
12356
|
kind: "enum",
|
|
12347
|
-
T:
|
|
12357
|
+
T: ie.getEnumType(Na)
|
|
12348
12358
|
}, {
|
|
12349
12359
|
no: 4,
|
|
12350
12360
|
name: "regions",
|
|
12351
12361
|
kind: "message",
|
|
12352
12362
|
T: zT
|
|
12353
|
-
}]), Na = /* @__PURE__ */
|
|
12363
|
+
}]), Na = /* @__PURE__ */ ie.makeEnum("livekit.LeaveRequest.Action", [{
|
|
12354
12364
|
no: 0,
|
|
12355
12365
|
name: "DISCONNECT"
|
|
12356
12366
|
}, {
|
|
@@ -12359,7 +12369,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12359
12369
|
}, {
|
|
12360
12370
|
no: 2,
|
|
12361
12371
|
name: "RECONNECT"
|
|
12362
|
-
}]), Ob = /* @__PURE__ */
|
|
12372
|
+
}]), Ob = /* @__PURE__ */ ie.makeMessageType("livekit.UpdateVideoLayers", () => [{
|
|
12363
12373
|
no: 1,
|
|
12364
12374
|
name: "track_sid",
|
|
12365
12375
|
kind: "scalar",
|
|
@@ -12371,7 +12381,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12371
12381
|
kind: "message",
|
|
12372
12382
|
T: No,
|
|
12373
12383
|
repeated: !0
|
|
12374
|
-
}]), Gp = /* @__PURE__ */
|
|
12384
|
+
}]), Gp = /* @__PURE__ */ ie.makeMessageType("livekit.UpdateParticipantMetadata", () => [{
|
|
12375
12385
|
no: 1,
|
|
12376
12386
|
name: "metadata",
|
|
12377
12387
|
kind: "scalar",
|
|
@@ -12399,7 +12409,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12399
12409
|
kind: "scalar",
|
|
12400
12410
|
T: 13
|
|
12401
12411
|
/* ScalarType.UINT32 */
|
|
12402
|
-
}]), Lb = /* @__PURE__ */
|
|
12412
|
+
}]), Lb = /* @__PURE__ */ ie.makeMessageType("livekit.ICEServer", () => [{
|
|
12403
12413
|
no: 1,
|
|
12404
12414
|
name: "urls",
|
|
12405
12415
|
kind: "scalar",
|
|
@@ -12417,18 +12427,18 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12417
12427
|
kind: "scalar",
|
|
12418
12428
|
T: 9
|
|
12419
12429
|
/* ScalarType.STRING */
|
|
12420
|
-
}]), IT = /* @__PURE__ */
|
|
12430
|
+
}]), IT = /* @__PURE__ */ ie.makeMessageType("livekit.SpeakersChanged", () => [{
|
|
12421
12431
|
no: 1,
|
|
12422
12432
|
name: "speakers",
|
|
12423
12433
|
kind: "message",
|
|
12424
12434
|
T: bb,
|
|
12425
12435
|
repeated: !0
|
|
12426
|
-
}]), MT = /* @__PURE__ */
|
|
12436
|
+
}]), MT = /* @__PURE__ */ ie.makeMessageType("livekit.RoomUpdate", () => [{
|
|
12427
12437
|
no: 1,
|
|
12428
12438
|
name: "room",
|
|
12429
12439
|
kind: "message",
|
|
12430
12440
|
T: Ed
|
|
12431
|
-
}]), AT = /* @__PURE__ */
|
|
12441
|
+
}]), AT = /* @__PURE__ */ ie.makeMessageType("livekit.ConnectionQualityInfo", () => [{
|
|
12432
12442
|
no: 1,
|
|
12433
12443
|
name: "participant_sid",
|
|
12434
12444
|
kind: "scalar",
|
|
@@ -12438,20 +12448,20 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12438
12448
|
no: 2,
|
|
12439
12449
|
name: "quality",
|
|
12440
12450
|
kind: "enum",
|
|
12441
|
-
T:
|
|
12451
|
+
T: ie.getEnumType(Gl)
|
|
12442
12452
|
}, {
|
|
12443
12453
|
no: 3,
|
|
12444
12454
|
name: "score",
|
|
12445
12455
|
kind: "scalar",
|
|
12446
12456
|
T: 2
|
|
12447
12457
|
/* ScalarType.FLOAT */
|
|
12448
|
-
}]), OT = /* @__PURE__ */
|
|
12458
|
+
}]), OT = /* @__PURE__ */ ie.makeMessageType("livekit.ConnectionQualityUpdate", () => [{
|
|
12449
12459
|
no: 1,
|
|
12450
12460
|
name: "updates",
|
|
12451
12461
|
kind: "message",
|
|
12452
12462
|
T: AT,
|
|
12453
12463
|
repeated: !0
|
|
12454
|
-
}]), LT = /* @__PURE__ */
|
|
12464
|
+
}]), LT = /* @__PURE__ */ ie.makeMessageType("livekit.StreamStateInfo", () => [{
|
|
12455
12465
|
no: 1,
|
|
12456
12466
|
name: "participant_sid",
|
|
12457
12467
|
kind: "scalar",
|
|
@@ -12467,25 +12477,25 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12467
12477
|
no: 3,
|
|
12468
12478
|
name: "state",
|
|
12469
12479
|
kind: "enum",
|
|
12470
|
-
T:
|
|
12471
|
-
}]), DT = /* @__PURE__ */
|
|
12480
|
+
T: ie.getEnumType(Gh)
|
|
12481
|
+
}]), DT = /* @__PURE__ */ ie.makeMessageType("livekit.StreamStateUpdate", () => [{
|
|
12472
12482
|
no: 1,
|
|
12473
12483
|
name: "stream_states",
|
|
12474
12484
|
kind: "message",
|
|
12475
12485
|
T: LT,
|
|
12476
12486
|
repeated: !0
|
|
12477
|
-
}]), Kp = /* @__PURE__ */
|
|
12487
|
+
}]), Kp = /* @__PURE__ */ ie.makeMessageType("livekit.SubscribedQuality", () => [{
|
|
12478
12488
|
no: 1,
|
|
12479
12489
|
name: "quality",
|
|
12480
12490
|
kind: "enum",
|
|
12481
|
-
T:
|
|
12491
|
+
T: ie.getEnumType(Bp)
|
|
12482
12492
|
}, {
|
|
12483
12493
|
no: 2,
|
|
12484
12494
|
name: "enabled",
|
|
12485
12495
|
kind: "scalar",
|
|
12486
12496
|
T: 8
|
|
12487
12497
|
/* ScalarType.BOOL */
|
|
12488
|
-
}]), NT = /* @__PURE__ */
|
|
12498
|
+
}]), NT = /* @__PURE__ */ ie.makeMessageType("livekit.SubscribedCodec", () => [{
|
|
12489
12499
|
no: 1,
|
|
12490
12500
|
name: "codec",
|
|
12491
12501
|
kind: "scalar",
|
|
@@ -12497,7 +12507,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12497
12507
|
kind: "message",
|
|
12498
12508
|
T: Kp,
|
|
12499
12509
|
repeated: !0
|
|
12500
|
-
}]), jT = /* @__PURE__ */
|
|
12510
|
+
}]), jT = /* @__PURE__ */ ie.makeMessageType("livekit.SubscribedQualityUpdate", () => [{
|
|
12501
12511
|
no: 1,
|
|
12502
12512
|
name: "track_sid",
|
|
12503
12513
|
kind: "scalar",
|
|
@@ -12515,7 +12525,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12515
12525
|
kind: "message",
|
|
12516
12526
|
T: NT,
|
|
12517
12527
|
repeated: !0
|
|
12518
|
-
}]), FT = /* @__PURE__ */
|
|
12528
|
+
}]), FT = /* @__PURE__ */ ie.makeMessageType("livekit.SubscribedAudioCodecUpdate", () => [{
|
|
12519
12529
|
no: 1,
|
|
12520
12530
|
name: "track_sid",
|
|
12521
12531
|
kind: "scalar",
|
|
@@ -12527,7 +12537,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12527
12537
|
kind: "message",
|
|
12528
12538
|
T: ST,
|
|
12529
12539
|
repeated: !0
|
|
12530
|
-
}]), Db = /* @__PURE__ */
|
|
12540
|
+
}]), Db = /* @__PURE__ */ ie.makeMessageType("livekit.TrackPermission", () => [{
|
|
12531
12541
|
no: 1,
|
|
12532
12542
|
name: "participant_sid",
|
|
12533
12543
|
kind: "scalar",
|
|
@@ -12551,7 +12561,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12551
12561
|
kind: "scalar",
|
|
12552
12562
|
T: 9
|
|
12553
12563
|
/* ScalarType.STRING */
|
|
12554
|
-
}]), Nb = /* @__PURE__ */
|
|
12564
|
+
}]), Nb = /* @__PURE__ */ ie.makeMessageType("livekit.SubscriptionPermission", () => [{
|
|
12555
12565
|
no: 1,
|
|
12556
12566
|
name: "all_participants",
|
|
12557
12567
|
kind: "scalar",
|
|
@@ -12563,7 +12573,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12563
12573
|
kind: "message",
|
|
12564
12574
|
T: Db,
|
|
12565
12575
|
repeated: !0
|
|
12566
|
-
}]), UT = /* @__PURE__ */
|
|
12576
|
+
}]), UT = /* @__PURE__ */ ie.makeMessageType("livekit.SubscriptionPermissionUpdate", () => [{
|
|
12567
12577
|
no: 1,
|
|
12568
12578
|
name: "participant_sid",
|
|
12569
12579
|
kind: "scalar",
|
|
@@ -12581,7 +12591,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12581
12591
|
kind: "scalar",
|
|
12582
12592
|
T: 8
|
|
12583
12593
|
/* ScalarType.BOOL */
|
|
12584
|
-
}]), BT = /* @__PURE__ */
|
|
12594
|
+
}]), BT = /* @__PURE__ */ ie.makeMessageType("livekit.RoomMovedResponse", () => [{
|
|
12585
12595
|
no: 1,
|
|
12586
12596
|
name: "room",
|
|
12587
12597
|
kind: "message",
|
|
@@ -12596,14 +12606,14 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12596
12606
|
no: 3,
|
|
12597
12607
|
name: "participant",
|
|
12598
12608
|
kind: "message",
|
|
12599
|
-
T:
|
|
12609
|
+
T: Ls
|
|
12600
12610
|
}, {
|
|
12601
12611
|
no: 4,
|
|
12602
12612
|
name: "other_participants",
|
|
12603
12613
|
kind: "message",
|
|
12604
|
-
T:
|
|
12614
|
+
T: Ls,
|
|
12605
12615
|
repeated: !0
|
|
12606
|
-
}]), Jp = /* @__PURE__ */
|
|
12616
|
+
}]), Jp = /* @__PURE__ */ ie.makeMessageType("livekit.SyncState", () => [{
|
|
12607
12617
|
no: 1,
|
|
12608
12618
|
name: "answer",
|
|
12609
12619
|
kind: "message",
|
|
@@ -12642,7 +12652,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12642
12652
|
kind: "message",
|
|
12643
12653
|
T: jb,
|
|
12644
12654
|
repeated: !0
|
|
12645
|
-
}]), jb = /* @__PURE__ */
|
|
12655
|
+
}]), jb = /* @__PURE__ */ ie.makeMessageType("livekit.DataChannelReceiveState", () => [{
|
|
12646
12656
|
no: 1,
|
|
12647
12657
|
name: "publisher_sid",
|
|
12648
12658
|
kind: "scalar",
|
|
@@ -12654,7 +12664,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12654
12664
|
kind: "scalar",
|
|
12655
12665
|
T: 13
|
|
12656
12666
|
/* ScalarType.UINT32 */
|
|
12657
|
-
}]), Fb = /* @__PURE__ */
|
|
12667
|
+
}]), Fb = /* @__PURE__ */ ie.makeMessageType("livekit.DataChannelInfo", () => [{
|
|
12658
12668
|
no: 1,
|
|
12659
12669
|
name: "label",
|
|
12660
12670
|
kind: "scalar",
|
|
@@ -12670,8 +12680,8 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12670
12680
|
no: 3,
|
|
12671
12681
|
name: "target",
|
|
12672
12682
|
kind: "enum",
|
|
12673
|
-
T:
|
|
12674
|
-
}]), Ti = /* @__PURE__ */
|
|
12683
|
+
T: ie.getEnumType(li)
|
|
12684
|
+
}]), Ti = /* @__PURE__ */ ie.makeMessageType("livekit.SimulateScenario", () => [{
|
|
12675
12685
|
no: 1,
|
|
12676
12686
|
name: "speaker_update",
|
|
12677
12687
|
kind: "scalar",
|
|
@@ -12699,7 +12709,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12699
12709
|
no: 5,
|
|
12700
12710
|
name: "switch_candidate_protocol",
|
|
12701
12711
|
kind: "enum",
|
|
12702
|
-
T:
|
|
12712
|
+
T: ie.getEnumType(TT),
|
|
12703
12713
|
oneof: "scenario"
|
|
12704
12714
|
}, {
|
|
12705
12715
|
no: 6,
|
|
@@ -12725,7 +12735,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12725
12735
|
kind: "scalar",
|
|
12726
12736
|
T: 8,
|
|
12727
12737
|
oneof: "scenario"
|
|
12728
|
-
}]), Ub = /* @__PURE__ */
|
|
12738
|
+
}]), Ub = /* @__PURE__ */ ie.makeMessageType("livekit.Ping", () => [{
|
|
12729
12739
|
no: 1,
|
|
12730
12740
|
name: "timestamp",
|
|
12731
12741
|
kind: "scalar",
|
|
@@ -12737,7 +12747,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12737
12747
|
kind: "scalar",
|
|
12738
12748
|
T: 3
|
|
12739
12749
|
/* ScalarType.INT64 */
|
|
12740
|
-
}]), VT = /* @__PURE__ */
|
|
12750
|
+
}]), VT = /* @__PURE__ */ ie.makeMessageType("livekit.Pong", () => [{
|
|
12741
12751
|
no: 1,
|
|
12742
12752
|
name: "last_ping_timestamp",
|
|
12743
12753
|
kind: "scalar",
|
|
@@ -12749,13 +12759,13 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12749
12759
|
kind: "scalar",
|
|
12750
12760
|
T: 3
|
|
12751
12761
|
/* ScalarType.INT64 */
|
|
12752
|
-
}]), zT = /* @__PURE__ */
|
|
12762
|
+
}]), zT = /* @__PURE__ */ ie.makeMessageType("livekit.RegionSettings", () => [{
|
|
12753
12763
|
no: 1,
|
|
12754
12764
|
name: "regions",
|
|
12755
12765
|
kind: "message",
|
|
12756
12766
|
T: WT,
|
|
12757
12767
|
repeated: !0
|
|
12758
|
-
}]), WT = /* @__PURE__ */
|
|
12768
|
+
}]), WT = /* @__PURE__ */ ie.makeMessageType("livekit.RegionInfo", () => [{
|
|
12759
12769
|
no: 1,
|
|
12760
12770
|
name: "region",
|
|
12761
12771
|
kind: "scalar",
|
|
@@ -12773,7 +12783,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12773
12783
|
kind: "scalar",
|
|
12774
12784
|
T: 3
|
|
12775
12785
|
/* ScalarType.INT64 */
|
|
12776
|
-
}]), HT = /* @__PURE__ */
|
|
12786
|
+
}]), HT = /* @__PURE__ */ ie.makeMessageType("livekit.SubscriptionResponse", () => [{
|
|
12777
12787
|
no: 1,
|
|
12778
12788
|
name: "track_sid",
|
|
12779
12789
|
kind: "scalar",
|
|
@@ -12783,8 +12793,8 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12783
12793
|
no: 2,
|
|
12784
12794
|
name: "err",
|
|
12785
12795
|
kind: "enum",
|
|
12786
|
-
T:
|
|
12787
|
-
}]), $T = /* @__PURE__ */
|
|
12796
|
+
T: ie.getEnumType(mT)
|
|
12797
|
+
}]), $T = /* @__PURE__ */ ie.makeMessageType("livekit.RequestResponse", () => [{
|
|
12788
12798
|
no: 1,
|
|
12789
12799
|
name: "request_id",
|
|
12790
12800
|
kind: "scalar",
|
|
@@ -12794,7 +12804,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12794
12804
|
no: 2,
|
|
12795
12805
|
name: "reason",
|
|
12796
12806
|
kind: "enum",
|
|
12797
|
-
T:
|
|
12807
|
+
T: ie.getEnumType(Yp)
|
|
12798
12808
|
}, {
|
|
12799
12809
|
no: 3,
|
|
12800
12810
|
name: "message",
|
|
@@ -12837,7 +12847,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12837
12847
|
kind: "message",
|
|
12838
12848
|
T: Ab,
|
|
12839
12849
|
oneof: "request"
|
|
12840
|
-
}]), Yp = /* @__PURE__ */
|
|
12850
|
+
}]), Yp = /* @__PURE__ */ ie.makeEnum("livekit.RequestResponse.Reason", [{
|
|
12841
12851
|
no: 0,
|
|
12842
12852
|
name: "OK"
|
|
12843
12853
|
}, {
|
|
@@ -12858,13 +12868,13 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12858
12868
|
}, {
|
|
12859
12869
|
no: 6,
|
|
12860
12870
|
name: "UNCLASSIFIED_ERROR"
|
|
12861
|
-
}]), qT = /* @__PURE__ */
|
|
12871
|
+
}]), qT = /* @__PURE__ */ ie.makeMessageType("livekit.TrackSubscribed", () => [{
|
|
12862
12872
|
no: 1,
|
|
12863
12873
|
name: "track_sid",
|
|
12864
12874
|
kind: "scalar",
|
|
12865
12875
|
T: 9
|
|
12866
12876
|
/* ScalarType.STRING */
|
|
12867
|
-
}]), Bb = /* @__PURE__ */
|
|
12877
|
+
}]), Bb = /* @__PURE__ */ ie.makeMessageType("livekit.ConnectionSettings", () => [{
|
|
12868
12878
|
no: 1,
|
|
12869
12879
|
name: "auto_subscribe",
|
|
12870
12880
|
kind: "scalar",
|
|
@@ -12888,7 +12898,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12888
12898
|
kind: "scalar",
|
|
12889
12899
|
T: 8
|
|
12890
12900
|
/* ScalarType.BOOL */
|
|
12891
|
-
}]), GT = /* @__PURE__ */
|
|
12901
|
+
}]), GT = /* @__PURE__ */ ie.makeMessageType("livekit.JoinRequest", () => [{
|
|
12892
12902
|
no: 1,
|
|
12893
12903
|
name: "client_info",
|
|
12894
12904
|
kind: "message",
|
|
@@ -12935,7 +12945,7 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12935
12945
|
no: 8,
|
|
12936
12946
|
name: "reconnect_reason",
|
|
12937
12947
|
kind: "enum",
|
|
12938
|
-
T:
|
|
12948
|
+
T: ie.getEnumType(xs)
|
|
12939
12949
|
}, {
|
|
12940
12950
|
no: 9,
|
|
12941
12951
|
name: "participant_sid",
|
|
@@ -12947,24 +12957,24 @@ const dT = /* @__PURE__ */ re.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12947
12957
|
name: "sync_state",
|
|
12948
12958
|
kind: "message",
|
|
12949
12959
|
T: Jp
|
|
12950
|
-
}]), KT = /* @__PURE__ */
|
|
12960
|
+
}]), KT = /* @__PURE__ */ ie.makeMessageType("livekit.WrappedJoinRequest", () => [{
|
|
12951
12961
|
no: 1,
|
|
12952
12962
|
name: "compression",
|
|
12953
12963
|
kind: "enum",
|
|
12954
|
-
T:
|
|
12964
|
+
T: ie.getEnumType(JT)
|
|
12955
12965
|
}, {
|
|
12956
12966
|
no: 2,
|
|
12957
12967
|
name: "join_request",
|
|
12958
12968
|
kind: "scalar",
|
|
12959
12969
|
T: 12
|
|
12960
12970
|
/* ScalarType.BYTES */
|
|
12961
|
-
}]), JT = /* @__PURE__ */
|
|
12971
|
+
}]), JT = /* @__PURE__ */ ie.makeEnum("livekit.WrappedJoinRequest.Compression", [{
|
|
12962
12972
|
no: 0,
|
|
12963
12973
|
name: "NONE"
|
|
12964
12974
|
}, {
|
|
12965
12975
|
no: 1,
|
|
12966
12976
|
name: "GZIP"
|
|
12967
|
-
}]), YT = /* @__PURE__ */
|
|
12977
|
+
}]), YT = /* @__PURE__ */ ie.makeMessageType("livekit.MediaSectionsRequirement", () => [{
|
|
12968
12978
|
no: 1,
|
|
12969
12979
|
name: "num_audios",
|
|
12970
12980
|
kind: "scalar",
|
|
@@ -13422,7 +13432,7 @@ function Kl(n, e, t) {
|
|
|
13422
13432
|
const r = n.match(e);
|
|
13423
13433
|
return r && r.length >= t && parseFloat(r[t], 10);
|
|
13424
13434
|
}
|
|
13425
|
-
function
|
|
13435
|
+
function Fs(n, e, t) {
|
|
13426
13436
|
if (!n.RTCPeerConnection)
|
|
13427
13437
|
return;
|
|
13428
13438
|
const r = n.RTCPeerConnection.prototype, o = r.addEventListener;
|
|
@@ -13670,7 +13680,7 @@ function Gb(n) {
|
|
|
13670
13680
|
}, this.addEventListener("addstream", this._ontrackpoly)), e.apply(this, arguments);
|
|
13671
13681
|
};
|
|
13672
13682
|
} else
|
|
13673
|
-
|
|
13683
|
+
Fs(n, "track", (e) => (e.transceiver || Object.defineProperty(e, "transceiver", {
|
|
13674
13684
|
value: {
|
|
13675
13685
|
receiver: e.receiver
|
|
13676
13686
|
}
|
|
@@ -13757,7 +13767,7 @@ function Jb(n) {
|
|
|
13757
13767
|
t && (n.RTCPeerConnection.prototype.getReceivers = function() {
|
|
13758
13768
|
const o = t.apply(this, []);
|
|
13759
13769
|
return o.forEach((a) => a._pc = this), o;
|
|
13760
|
-
}),
|
|
13770
|
+
}), Fs(n, "track", (r) => (r.receiver._pc = r.srcElement, r)), n.RTCRtpReceiver.prototype.getStats = function() {
|
|
13761
13771
|
const o = this;
|
|
13762
13772
|
return this._pc.getStats().then((a) => o0(a, o.track, !1));
|
|
13763
13773
|
};
|
|
@@ -13924,7 +13934,7 @@ function Qh(n, e) {
|
|
|
13924
13934
|
});
|
|
13925
13935
|
}
|
|
13926
13936
|
function Xb(n, e) {
|
|
13927
|
-
|
|
13937
|
+
Fs(n, "negotiationneeded", (t) => {
|
|
13928
13938
|
const r = t.target;
|
|
13929
13939
|
if (!((e.version < 72 || r.getConfiguration && r.getConfiguration().sdpSemantics === "plan-b") && r.signalingState !== "stable"))
|
|
13930
13940
|
return t;
|
|
@@ -14049,7 +14059,7 @@ function n1(n) {
|
|
|
14049
14059
|
e && (n.RTCPeerConnection.prototype.getReceivers = function() {
|
|
14050
14060
|
const r = e.apply(this, []);
|
|
14051
14061
|
return r.forEach((o) => o._pc = this), r;
|
|
14052
|
-
}),
|
|
14062
|
+
}), Fs(n, "track", (t) => (t.receiver._pc = t.srcElement, t)), n.RTCRtpReceiver.prototype.getStats = function() {
|
|
14053
14063
|
return this._pc.getStats(this.track);
|
|
14054
14064
|
};
|
|
14055
14065
|
}
|
|
@@ -14698,13 +14708,13 @@ function Ju(n) {
|
|
|
14698
14708
|
}, o;
|
|
14699
14709
|
}
|
|
14700
14710
|
return new e(r);
|
|
14701
|
-
}, n.RTCIceCandidate.prototype = e.prototype,
|
|
14711
|
+
}, n.RTCIceCandidate.prototype = e.prototype, Fs(n, "icecandidate", (t) => (t.candidate && Object.defineProperty(t, "candidate", {
|
|
14702
14712
|
value: new n.RTCIceCandidate(t.candidate),
|
|
14703
14713
|
writable: "false"
|
|
14704
14714
|
}), t));
|
|
14705
14715
|
}
|
|
14706
14716
|
function Zh(n) {
|
|
14707
|
-
!n.RTCIceCandidate || n.RTCIceCandidate && "relayProtocol" in n.RTCIceCandidate.prototype ||
|
|
14717
|
+
!n.RTCIceCandidate || n.RTCIceCandidate && "relayProtocol" in n.RTCIceCandidate.prototype || Fs(n, "icecandidate", (e) => {
|
|
14708
14718
|
if (e.candidate) {
|
|
14709
14719
|
const t = ja.parseCandidate(e.candidate.candidate);
|
|
14710
14720
|
t.type === "relay" && (e.candidate.relayProtocol = {
|
|
@@ -14790,7 +14800,7 @@ function Qu(n) {
|
|
|
14790
14800
|
n.RTCPeerConnection.prototype.createDataChannel = function() {
|
|
14791
14801
|
const o = t.apply(this, arguments);
|
|
14792
14802
|
return e(o, this), o;
|
|
14793
|
-
},
|
|
14803
|
+
}, Fs(n, "datachannel", (r) => (e(r.channel, r.target), r));
|
|
14794
14804
|
}
|
|
14795
14805
|
function ep(n) {
|
|
14796
14806
|
if (!n.RTCPeerConnection || "connectionState" in n.RTCPeerConnection.prototype)
|
|
@@ -15298,7 +15308,7 @@ function Oa(n, e) {
|
|
|
15298
15308
|
let r;
|
|
15299
15309
|
n.kind === "audio" ? r = t.getAudioTracks() : r = t.getVideoTracks(), r.includes(n) || (r.forEach((o) => {
|
|
15300
15310
|
t.removeTrack(o);
|
|
15301
|
-
}), t.addTrack(n)), (!
|
|
15311
|
+
}), t.addTrack(n)), (!Ns() || !(e instanceof HTMLVideoElement)) && (e.autoplay = !0), e.muted = t.getAudioTracks().length === 0, e instanceof HTMLVideoElement && (e.playsInline = !0), e.srcObject !== t && (e.srcObject = t, (Ns() || Ds()) && e instanceof HTMLVideoElement && setTimeout(() => {
|
|
15302
15312
|
e.srcObject = t, e.play().catch(() => {
|
|
15303
15313
|
});
|
|
15304
15314
|
}, 0));
|
|
@@ -15484,7 +15494,7 @@ function ap() {
|
|
|
15484
15494
|
return "addTrack" in RTCPeerConnection.prototype;
|
|
15485
15495
|
}
|
|
15486
15496
|
function D2() {
|
|
15487
|
-
if (!("getCapabilities" in RTCRtpSender) ||
|
|
15497
|
+
if (!("getCapabilities" in RTCRtpSender) || Ns() || Ds())
|
|
15488
15498
|
return !1;
|
|
15489
15499
|
const n = RTCRtpSender.getCapabilities("video");
|
|
15490
15500
|
let e = !1;
|
|
@@ -15498,9 +15508,9 @@ function D2() {
|
|
|
15498
15508
|
return e;
|
|
15499
15509
|
}
|
|
15500
15510
|
function N2() {
|
|
15501
|
-
if (!("getCapabilities" in RTCRtpSender) ||
|
|
15511
|
+
if (!("getCapabilities" in RTCRtpSender) || Ds())
|
|
15502
15512
|
return !1;
|
|
15503
|
-
if (
|
|
15513
|
+
if (Ns()) {
|
|
15504
15514
|
const t = fr();
|
|
15505
15515
|
if (t != null && t.version && Mi(t.version, "16") < 0 || (t == null ? void 0 : t.os) === "iOS" && (t != null && t.osVersion) && Mi(t.osVersion, "16") < 0)
|
|
15506
15516
|
return !1;
|
|
@@ -15525,7 +15535,7 @@ function lp(n) {
|
|
|
15525
15535
|
function j2() {
|
|
15526
15536
|
return typeof RTCPeerConnection > "u" ? !1 : sp() || ap();
|
|
15527
15537
|
}
|
|
15528
|
-
function
|
|
15538
|
+
function Ds() {
|
|
15529
15539
|
var n;
|
|
15530
15540
|
return ((n = fr()) === null || n === void 0 ? void 0 : n.name) === "Firefox";
|
|
15531
15541
|
}
|
|
@@ -15533,7 +15543,7 @@ function y0() {
|
|
|
15533
15543
|
const n = fr();
|
|
15534
15544
|
return !!n && n.name === "Chrome" && n.os !== "iOS";
|
|
15535
15545
|
}
|
|
15536
|
-
function
|
|
15546
|
+
function Ns() {
|
|
15537
15547
|
var n;
|
|
15538
15548
|
return ((n = fr()) === null || n === void 0 ? void 0 : n.name) === "Safari";
|
|
15539
15549
|
}
|
|
@@ -15735,7 +15745,7 @@ function S0(n) {
|
|
|
15735
15745
|
function td(n) {
|
|
15736
15746
|
return n !== void 0 ? Number(n) : void 0;
|
|
15737
15747
|
}
|
|
15738
|
-
function
|
|
15748
|
+
function Es(n) {
|
|
15739
15749
|
return n !== void 0 ? BigInt(n) : void 0;
|
|
15740
15750
|
}
|
|
15741
15751
|
function Ua(n) {
|
|
@@ -15895,7 +15905,7 @@ function hp(n) {
|
|
|
15895
15905
|
function Z2(n) {
|
|
15896
15906
|
var e, t;
|
|
15897
15907
|
let r = (e = n.video) !== null && e !== void 0 ? e : !0;
|
|
15898
|
-
return n.resolution && n.resolution.width > 0 && n.resolution.height > 0 && (r = typeof r == "boolean" ? {} : r,
|
|
15908
|
+
return n.resolution && n.resolution.width > 0 && n.resolution.height > 0 && (r = typeof r == "boolean" ? {} : r, Ns() ? r = Object.assign(Object.assign({}, r), {
|
|
15899
15909
|
width: {
|
|
15900
15910
|
max: n.resolution.width
|
|
15901
15911
|
},
|
|
@@ -16371,7 +16381,7 @@ class gn {
|
|
|
16371
16381
|
}
|
|
16372
16382
|
let l = yield navigator.mediaDevices.enumerateDevices();
|
|
16373
16383
|
if (o && // for safari we need to skip this check, as otherwise it will re-acquire user media and fail on iOS https://bugs.webkit.org/show_bug.cgi?id=179363
|
|
16374
|
-
!(
|
|
16384
|
+
!(Ns() && r.hasDeviceInUse(t)) && (l.filter((f) => f.kind === t).length === 0 || l.some((f) => {
|
|
16375
16385
|
const p = f.label === "", g = t ? f.kind === t : !0;
|
|
16376
16386
|
return p && g;
|
|
16377
16387
|
}))) {
|
|
@@ -17942,7 +17952,7 @@ class A0 extends Ai.EventEmitter {
|
|
|
17942
17952
|
if (!u.msid || !f.cid || !u.msid.includes(f.cid))
|
|
17943
17953
|
return !1;
|
|
17944
17954
|
let p = 0;
|
|
17945
|
-
if (u.rtp.some((C) => C.codec.toUpperCase() === f.codec.toUpperCase() ? (p = C.payload, !0) : !1), p === 0 || (Ei(f.codec) && !
|
|
17955
|
+
if (u.rtp.some((C) => C.codec.toUpperCase() === f.codec.toUpperCase() ? (p = C.payload, !0) : !1), p === 0 || (Ei(f.codec) && !Ns() && this.ensureVideoDDExtensionForSVC(u, l), f.codec !== "av1"))
|
|
17946
17956
|
return !0;
|
|
17947
17957
|
const g = Math.round(f.maxbr * w_);
|
|
17948
17958
|
for (const C of u.fmtp)
|
|
@@ -19262,7 +19272,7 @@ function Ah(n, e, t, r) {
|
|
|
19262
19272
|
maxBitrate: a.encoding.maxBitrate
|
|
19263
19273
|
}, g = r && a.encoding.maxFramerate ? Math.min(r, a.encoding.maxFramerate) : a.encoding.maxFramerate;
|
|
19264
19274
|
g && (p.maxFramerate = g);
|
|
19265
|
-
const C =
|
|
19275
|
+
const C = Ds() || l === 0;
|
|
19266
19276
|
a.encoding.priority && C && (p.priority = a.encoding.priority, p.networkPriority = a.encoding.priority), o.push(p);
|
|
19267
19277
|
}), Ii() && w1() === "ios") {
|
|
19268
19278
|
let a;
|
|
@@ -19731,7 +19741,7 @@ function F0(n, e, t, r, o, a, l) {
|
|
|
19731
19741
|
let A = (N = _.rid) !== null && N !== void 0 ? N : "";
|
|
19732
19742
|
A === "" && (A = "q");
|
|
19733
19743
|
const H = O1(A), z = t.find((ee) => ee.quality === H);
|
|
19734
|
-
z && _.active !== z.enabled && (g = !0, _.active = z.enabled, a.debug("setting layer ".concat(z.quality, " to ").concat(_.active ? "enabled" : "disabled"), l),
|
|
19744
|
+
z && _.active !== z.enabled && (g = !0, _.active = z.enabled, a.debug("setting layer ".concat(z.quality, " to ").concat(_.active ? "enabled" : "disabled"), l), Ds() && (z.enabled ? (_.scaleResolutionDownBy = e[T].scaleResolutionDownBy, _.maxBitrate = e[T].maxBitrate, _.maxFrameRate = e[T].maxFrameRate) : (_.scaleResolutionDownBy = 4, _.maxBitrate = 10, _.maxFrameRate = 2)));
|
|
19735
19745
|
})), g && (f.encodings = p, a.debug("setting encodings", Object.assign(Object.assign({}, l), {
|
|
19736
19746
|
encodings: f.encodings
|
|
19737
19747
|
})), yield n.setParameters(f));
|
|
@@ -19904,7 +19914,7 @@ class K_ extends Ai.EventEmitter {
|
|
|
19904
19914
|
if (o)
|
|
19905
19915
|
return r === lt.RELIABLE && this.reliableMessageBuffer.alignBufferedAmount(o.bufferedAmount), o.bufferedAmount <= o.bufferedAmountLowThreshold;
|
|
19906
19916
|
}, this.handleBrowserOnLine = () => {
|
|
19907
|
-
this.client.currentState === Wt.RECONNECTING && (this.clearReconnectTimeout(), this.attemptReconnect(
|
|
19917
|
+
this.client.currentState === Wt.RECONNECTING && (this.clearReconnectTimeout(), this.attemptReconnect(xs.RR_SIGNAL_DISCONNECTED));
|
|
19908
19918
|
}, this.log = io((t = e.loggerName) !== null && t !== void 0 ? t : ui.Engine), this.loggerOptions = {
|
|
19909
19919
|
loggerName: e.loggerName,
|
|
19910
19920
|
loggerContextCb: () => this.logContext
|
|
@@ -20036,7 +20046,7 @@ class K_ extends Ai.EventEmitter {
|
|
|
20036
20046
|
if (this.log.debug("primary PC state changed ".concat(a), this.logContext), ["closed", "disconnected", "failed"].includes(l) && (this.publisherConnectionPromise = void 0), a === Gt.CONNECTED) {
|
|
20037
20047
|
const g = this.pcState === Ur.New;
|
|
20038
20048
|
this.pcState = Ur.Connected, g && this.emit(Ae.Connected, e);
|
|
20039
|
-
} else a === Gt.FAILED && (this.pcState === Ur.Connected || this.pcState === Ur.Reconnecting) && (this.pcState = Ur.Disconnected, this.handleDisconnect("peerconnection failed", u === "failed" ?
|
|
20049
|
+
} else a === Gt.FAILED && (this.pcState === Ur.Connected || this.pcState === Ur.Reconnecting) && (this.pcState = Ur.Disconnected, this.handleDisconnect("peerconnection failed", u === "failed" ? xs.RR_SUBSCRIBER_FAILED : xs.RR_PUBLISHER_FAILED));
|
|
20040
20050
|
const f = this.client.isDisconnected || this.client.currentState === Wt.RECONNECTING, p = [Gt.FAILED, Gt.CLOSING, Gt.CLOSED].includes(a);
|
|
20041
20051
|
f && p && !this._isClosed && this.emit(Ae.Offline);
|
|
20042
20052
|
}), this.pcManager.onTrack = (a) => {
|
|
@@ -20101,7 +20111,7 @@ class K_ extends Ai.EventEmitter {
|
|
|
20101
20111
|
(r = this.pcManager) === null || r === void 0 || r.addPublisherTransceiverOfKind("video", o);
|
|
20102
20112
|
this.negotiate();
|
|
20103
20113
|
}, this.client.onClose = () => {
|
|
20104
|
-
this.handleDisconnect("signal",
|
|
20114
|
+
this.handleDisconnect("signal", xs.RR_SIGNAL_DISCONNECTED);
|
|
20105
20115
|
}, this.client.onLeave = (e) => {
|
|
20106
20116
|
switch (this.log.debug("client leave request", Object.assign(Object.assign({}, this.logContext), {
|
|
20107
20117
|
reason: e == null ? void 0 : e.reason
|
|
@@ -20212,7 +20222,7 @@ class K_ extends Ai.EventEmitter {
|
|
|
20212
20222
|
let l = !0;
|
|
20213
20223
|
a instanceof ln ? (this.log.debug("received unrecoverable error", Object.assign(Object.assign({}, this.logContext), {
|
|
20214
20224
|
error: a
|
|
20215
|
-
})), l = !1) : a instanceof Ra || (this.fullReconnectOnNext = !0), l ? this.handleDisconnect("reconnect",
|
|
20225
|
+
})), l = !1) : a instanceof Ra || (this.fullReconnectOnNext = !0), l ? this.handleDisconnect("reconnect", xs.RR_UNKNOWN) : (this.log.info("could not recover connection after ".concat(this.reconnectAttempts, " attempts, ").concat(Date.now() - this.reconnectStart, "ms. giving up"), this.logContext), this.emit(Ae.Disconnected), yield this.close());
|
|
20216
20226
|
} finally {
|
|
20217
20227
|
this.attemptingReconnect = !1;
|
|
20218
20228
|
}
|
|
@@ -20459,7 +20469,7 @@ class K_ extends Ai.EventEmitter {
|
|
|
20459
20469
|
try {
|
|
20460
20470
|
yield this.pcManager.negotiate(r), e();
|
|
20461
20471
|
} catch (a) {
|
|
20462
|
-
a instanceof rp && (this.fullReconnectOnNext = !0), this.handleDisconnect("negotiation",
|
|
20472
|
+
a instanceof rp && (this.fullReconnectOnNext = !0), this.handleDisconnect("negotiation", xs.RR_UNKNOWN), t(a);
|
|
20463
20473
|
} finally {
|
|
20464
20474
|
this.off(Ae.Closing, o);
|
|
20465
20475
|
}
|
|
@@ -21018,8 +21028,8 @@ class tx {
|
|
|
21018
21028
|
streamId: a,
|
|
21019
21029
|
mimeType: l.mimeType,
|
|
21020
21030
|
topic: l.topic,
|
|
21021
|
-
timestamp:
|
|
21022
|
-
totalLength:
|
|
21031
|
+
timestamp: Es(l.timestamp),
|
|
21032
|
+
totalLength: Es(e == null ? void 0 : e.totalSize),
|
|
21023
21033
|
attributes: l.attributes,
|
|
21024
21034
|
contentHeader: {
|
|
21025
21035
|
case: "textHeader",
|
|
@@ -21048,7 +21058,7 @@ class tx {
|
|
|
21048
21058
|
const z = new hd({
|
|
21049
21059
|
content: H,
|
|
21050
21060
|
streamId: a,
|
|
21051
|
-
chunkIndex:
|
|
21061
|
+
chunkIndex: Es(g)
|
|
21052
21062
|
}), ee = new Jn({
|
|
21053
21063
|
destinationIdentities: f,
|
|
21054
21064
|
value: {
|
|
@@ -21130,11 +21140,11 @@ class tx {
|
|
|
21130
21140
|
name: (a = e == null ? void 0 : e.name) !== null && a !== void 0 ? a : "unknown",
|
|
21131
21141
|
encryptionType: !((l = this.engine.e2eeManager) === null || l === void 0) && l.isDataChannelEncryptionEnabled ? un.GCM : un.NONE
|
|
21132
21142
|
}, C = new fd({
|
|
21133
|
-
totalLength:
|
|
21143
|
+
totalLength: Es((u = g.size) !== null && u !== void 0 ? u : 0),
|
|
21134
21144
|
mimeType: g.mimeType,
|
|
21135
21145
|
streamId: f,
|
|
21136
21146
|
topic: g.topic,
|
|
21137
|
-
timestamp:
|
|
21147
|
+
timestamp: Es(Date.now()),
|
|
21138
21148
|
attributes: g.attributes,
|
|
21139
21149
|
contentHeader: {
|
|
21140
21150
|
case: "byteHeader",
|
|
@@ -21167,7 +21177,7 @@ class tx {
|
|
|
21167
21177
|
value: new hd({
|
|
21168
21178
|
content: G,
|
|
21169
21179
|
streamId: f,
|
|
21170
|
-
chunkIndex:
|
|
21180
|
+
chunkIndex: Es(T)
|
|
21171
21181
|
})
|
|
21172
21182
|
}
|
|
21173
21183
|
});
|
|
@@ -22523,7 +22533,7 @@ class cx extends j1 {
|
|
|
22523
22533
|
var o, a, l, u, f, p, g, C, _, T;
|
|
22524
22534
|
if (!this.hasPermissionsToPublish(e))
|
|
22525
22535
|
throw new h0("failed to publish track, insufficient permissions", 403);
|
|
22526
|
-
Array.from(this.trackPublications.values()).find(($) => Ua(e) && $.source === e.source) && e.source !== ge.Source.Unknown && this.log.info("publishing a second track with the same source: ".concat(e.source), Object.assign(Object.assign({}, this.logContext), ht(e))), t.stopMicTrackOnMute && Pi(e) && (e.stopOnMute = !0), e.source === ge.Source.ScreenShare &&
|
|
22536
|
+
Array.from(this.trackPublications.values()).find(($) => Ua(e) && $.source === e.source) && e.source !== ge.Source.Unknown && this.log.info("publishing a second track with the same source: ".concat(e.source), Object.assign(Object.assign({}, this.logContext), ht(e))), t.stopMicTrackOnMute && Pi(e) && (e.stopOnMute = !0), e.source === ge.Source.ScreenShare && Ds() && (t.simulcast = !1), t.videoCodec === "av1" && !D2() && (t.videoCodec = void 0), t.videoCodec === "vp9" && !N2() && (t.videoCodec = void 0), t.videoCodec === void 0 && (t.videoCodec = pp), this.enabledPublishVideoCodecs.length > 0 && (this.enabledPublishVideoCodecs.some(($) => t.videoCodec === Xl($.mime)) || (t.videoCodec = Xl(this.enabledPublishVideoCodecs[0].mime)));
|
|
22527
22537
|
const A = t.videoCodec;
|
|
22528
22538
|
e.on(Ee.Muted, this.onTrackMuted), e.on(Ee.Unmuted, this.onTrackUnmuted), e.on(Ee.Ended, this.handleTrackEnded), e.on(Ee.UpstreamPaused, this.onTrackUpstreamPaused), e.on(Ee.UpstreamResumed, this.onTrackUpstreamResumed), e.on(Ee.AudioTrackFeatureUpdate, this.onTrackFeatureUpdate);
|
|
22529
22539
|
const H = [], z = !(!((o = t.dtx) !== null && o !== void 0) || o), ee = e.getSourceTrackSettings();
|
|
@@ -22582,7 +22592,7 @@ class cx extends j1 {
|
|
|
22582
22592
|
if (!this.engine.pcManager)
|
|
22583
22593
|
throw new ln("pcManager is not ready");
|
|
22584
22594
|
if (e.sender = yield this.engine.createSender(e, t, L), this.emit(Oe.LocalSenderCreated, e.sender, e), Mo(e) && (($ = t.degradationPreference) !== null && $ !== void 0 || (t.degradationPreference = H_(e)), e.setDegradationPreference(t.degradationPreference)), L)
|
|
22585
|
-
if (
|
|
22595
|
+
if (Ds() && e.kind === ge.Kind.Audio) {
|
|
22586
22596
|
let fe;
|
|
22587
22597
|
for (const Ie of this.engine.pcManager.publisher.getTransceivers())
|
|
22588
22598
|
if (Ie.sender === e.sender) {
|
|
@@ -22647,7 +22657,7 @@ class cx extends j1 {
|
|
|
22647
22657
|
this.log.debug("finished recording preconnect buffer", Object.assign(Object.assign({}, this.logContext), ht(e))), e.stopPreConnectBuffer();
|
|
22648
22658
|
}
|
|
22649
22659
|
}), $ && new Promise((fe, Ie) => j(this, void 0, void 0, function* () {
|
|
22650
|
-
var We,
|
|
22660
|
+
var We, re, Pe, me, ce, Ce;
|
|
22651
22661
|
try {
|
|
22652
22662
|
this.log.debug("waiting for agent", Object.assign(Object.assign({}, this.logContext), ht(e)));
|
|
22653
22663
|
const Ve = setTimeout(() => {
|
|
@@ -22672,14 +22682,14 @@ class cx extends j1 {
|
|
|
22672
22682
|
yield Xe.write(Fe);
|
|
22673
22683
|
}
|
|
22674
22684
|
} catch (Fe) {
|
|
22675
|
-
|
|
22685
|
+
re = {
|
|
22676
22686
|
error: Fe
|
|
22677
22687
|
};
|
|
22678
22688
|
} finally {
|
|
22679
22689
|
try {
|
|
22680
22690
|
!de && !We && (Pe = O.return) && (yield Pe.call(O));
|
|
22681
22691
|
} finally {
|
|
22682
|
-
if (
|
|
22692
|
+
if (re) throw re.error;
|
|
22683
22693
|
}
|
|
22684
22694
|
}
|
|
22685
22695
|
yield Xe.close(), fe();
|
|
@@ -24104,7 +24114,7 @@ class $a extends Ai.EventEmitter {
|
|
|
24104
24114
|
o = new Ti({
|
|
24105
24115
|
scenario: {
|
|
24106
24116
|
case: "subscriberBandwidth",
|
|
24107
|
-
value:
|
|
24117
|
+
value: Es(t)
|
|
24108
24118
|
}
|
|
24109
24119
|
});
|
|
24110
24120
|
break;
|
|
@@ -24493,7 +24503,7 @@ class $a extends Ai.EventEmitter {
|
|
|
24493
24503
|
turnPassword: "",
|
|
24494
24504
|
enabledCodecs: [],
|
|
24495
24505
|
activeRecording: !1
|
|
24496
|
-
}), this.localParticipant.updateInfo(new
|
|
24506
|
+
}), this.localParticipant.updateInfo(new Ls({
|
|
24497
24507
|
identity: "simulated-local",
|
|
24498
24508
|
name: "local-name"
|
|
24499
24509
|
})), this.setupLocalParticipantEvents(), this.emit(_e.SignalConnected), this.emit(_e.Connected), this.setAndEmitConnectionState(wt.Connected), o.video) {
|
|
@@ -24530,7 +24540,7 @@ class $a extends Ai.EventEmitter {
|
|
|
24530
24540
|
this.localParticipant.addTrackPublication(l), this.localParticipant.emit(Oe.LocalTrackPublished, l);
|
|
24531
24541
|
}
|
|
24532
24542
|
for (let l = 0; l < a.count - 1; l += 1) {
|
|
24533
|
-
let u = new
|
|
24543
|
+
let u = new Ls({
|
|
24534
24544
|
sid: Math.floor(Math.random() * 1e4).toString(),
|
|
24535
24545
|
identity: "simulated-".concat(l),
|
|
24536
24546
|
state: Da.ACTIVE,
|
|
@@ -25442,7 +25452,7 @@ const hc = ({ message: n }) => /* @__PURE__ */ R.jsxs("div", { className: "bg-er
|
|
|
25442
25452
|
return p === "pending" ? /* @__PURE__ */ R.jsx(Uu, { className: o, children: /* @__PURE__ */ R.jsx(Yy, {}) }) : p === "error" || p === "noAudioPermissions" ? /* @__PURE__ */ R.jsxs(Uu, { className: o, children: [
|
|
25443
25453
|
/* @__PURE__ */ R.jsx(Jy, {}),
|
|
25444
25454
|
/* @__PURE__ */ R.jsx("div", { className: "w-full px-3 h-20 flex items-center", children: /* @__PURE__ */ R.jsx(
|
|
25445
|
-
|
|
25455
|
+
Os,
|
|
25446
25456
|
{
|
|
25447
25457
|
type: "ghost",
|
|
25448
25458
|
label: "Retry",
|
|
@@ -25520,7 +25530,7 @@ const hc = ({ message: n }) => /* @__PURE__ */ R.jsxs("div", { className: "bg-er
|
|
|
25520
25530
|
),
|
|
25521
25531
|
children: [
|
|
25522
25532
|
/* @__PURE__ */ R.jsx(
|
|
25523
|
-
|
|
25533
|
+
Os,
|
|
25524
25534
|
{
|
|
25525
25535
|
label: "Restart conversation",
|
|
25526
25536
|
Icon: sc,
|
|
@@ -25529,7 +25539,7 @@ const hc = ({ message: n }) => /* @__PURE__ */ R.jsxs("div", { className: "bg-er
|
|
|
25529
25539
|
}
|
|
25530
25540
|
),
|
|
25531
25541
|
/* @__PURE__ */ R.jsx(
|
|
25532
|
-
|
|
25542
|
+
Os,
|
|
25533
25543
|
{
|
|
25534
25544
|
label: "Talk to an agent",
|
|
25535
25545
|
Icon: Dy,
|
|
@@ -25556,9 +25566,9 @@ function cm() {
|
|
|
25556
25566
|
walkTokens: null
|
|
25557
25567
|
};
|
|
25558
25568
|
}
|
|
25559
|
-
let
|
|
25569
|
+
let Us = cm();
|
|
25560
25570
|
function z1(n) {
|
|
25561
|
-
|
|
25571
|
+
Us = n;
|
|
25562
25572
|
}
|
|
25563
25573
|
const ec = { exec: () => null };
|
|
25564
25574
|
function Rt(n, e = "") {
|
|
@@ -25810,7 +25820,7 @@ class kd {
|
|
|
25810
25820
|
kt(this, "rules");
|
|
25811
25821
|
// set by the lexer
|
|
25812
25822
|
kt(this, "lexer");
|
|
25813
|
-
this.options = e ||
|
|
25823
|
+
this.options = e || Us;
|
|
25814
25824
|
}
|
|
25815
25825
|
space(e) {
|
|
25816
25826
|
const t = this.rules.block.newline.exec(e);
|
|
@@ -26294,7 +26304,7 @@ class zr {
|
|
|
26294
26304
|
kt(this, "state");
|
|
26295
26305
|
kt(this, "tokenizer");
|
|
26296
26306
|
kt(this, "inlineQueue");
|
|
26297
|
-
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e ||
|
|
26307
|
+
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || Us, this.options.tokenizer = this.options.tokenizer || new kd(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
|
|
26298
26308
|
inLink: !1,
|
|
26299
26309
|
inRawBlock: !1,
|
|
26300
26310
|
top: !0
|
|
@@ -26537,7 +26547,7 @@ class wd {
|
|
|
26537
26547
|
constructor(e) {
|
|
26538
26548
|
kt(this, "options");
|
|
26539
26549
|
kt(this, "parser");
|
|
26540
|
-
this.options = e ||
|
|
26550
|
+
this.options = e || Us;
|
|
26541
26551
|
}
|
|
26542
26552
|
space(e) {
|
|
26543
26553
|
return "";
|
|
@@ -26702,7 +26712,7 @@ class Wr {
|
|
|
26702
26712
|
kt(this, "options");
|
|
26703
26713
|
kt(this, "renderer");
|
|
26704
26714
|
kt(this, "textRenderer");
|
|
26705
|
-
this.options = e ||
|
|
26715
|
+
this.options = e || Us, this.options.renderer = this.options.renderer || new wd(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new gm();
|
|
26706
26716
|
}
|
|
26707
26717
|
/**
|
|
26708
26718
|
* Static Parse Method
|
|
@@ -26864,7 +26874,7 @@ class tc {
|
|
|
26864
26874
|
constructor(e) {
|
|
26865
26875
|
kt(this, "options");
|
|
26866
26876
|
kt(this, "block");
|
|
26867
|
-
this.options = e ||
|
|
26877
|
+
this.options = e || Us;
|
|
26868
26878
|
}
|
|
26869
26879
|
/**
|
|
26870
26880
|
* Process markdown before marked
|
|
@@ -27075,22 +27085,22 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
27075
27085
|
};
|
|
27076
27086
|
}
|
|
27077
27087
|
}
|
|
27078
|
-
const
|
|
27088
|
+
const js = new wE();
|
|
27079
27089
|
function St(n, e) {
|
|
27080
|
-
return
|
|
27090
|
+
return js.parse(n, e);
|
|
27081
27091
|
}
|
|
27082
27092
|
St.options = St.setOptions = function(n) {
|
|
27083
|
-
return
|
|
27093
|
+
return js.setOptions(n), St.defaults = js.defaults, z1(St.defaults), St;
|
|
27084
27094
|
};
|
|
27085
27095
|
St.getDefaults = cm;
|
|
27086
|
-
St.defaults =
|
|
27096
|
+
St.defaults = Us;
|
|
27087
27097
|
St.use = function(...n) {
|
|
27088
|
-
return
|
|
27098
|
+
return js.use(...n), St.defaults = js.defaults, z1(St.defaults), St;
|
|
27089
27099
|
};
|
|
27090
27100
|
St.walkTokens = function(n, e) {
|
|
27091
|
-
return
|
|
27101
|
+
return js.walkTokens(n, e);
|
|
27092
27102
|
};
|
|
27093
|
-
St.parseInline =
|
|
27103
|
+
St.parseInline = js.parseInline;
|
|
27094
27104
|
St.Parser = Wr;
|
|
27095
27105
|
St.parser = Wr.parse;
|
|
27096
27106
|
St.Renderer = wd;
|
|
@@ -27109,7 +27119,7 @@ Wr.parse;
|
|
|
27109
27119
|
zr.lex;
|
|
27110
27120
|
const CE = ({ handler: n, message: e, responseIndex: t, messageIndex: r }) => e.choices.length > 0 ? /* @__PURE__ */ R.jsx("ul", { className: "space-y-2 max-h-[40vh] overflow-auto no-scrollbar", children: e.choices.map(
|
|
27111
27121
|
(o, a) => e.selectedChoiceId == null || o.choiceId === e.selectedChoiceId ? /* @__PURE__ */ R.jsx("li", { className: "w-full", children: /* @__PURE__ */ R.jsx(
|
|
27112
|
-
|
|
27122
|
+
Os,
|
|
27113
27123
|
{
|
|
27114
27124
|
type: "ghost",
|
|
27115
27125
|
Icon: _d,
|
|
@@ -27388,7 +27398,7 @@ function xE(n, e) {
|
|
|
27388
27398
|
return t;
|
|
27389
27399
|
}
|
|
27390
27400
|
var EE = be.useLayoutEffect, PE = function(e) {
|
|
27391
|
-
var t =
|
|
27401
|
+
var t = Ms.useRef(e);
|
|
27392
27402
|
return EE(function() {
|
|
27393
27403
|
t.current = e;
|
|
27394
27404
|
}), t;
|
|
@@ -27399,8 +27409,8 @@ var EE = be.useLayoutEffect, PE = function(e) {
|
|
|
27399
27409
|
}
|
|
27400
27410
|
e.current = t;
|
|
27401
27411
|
}, RE = function(e, t) {
|
|
27402
|
-
var r =
|
|
27403
|
-
return
|
|
27412
|
+
var r = Ms.useRef();
|
|
27413
|
+
return Ms.useCallback(function(o) {
|
|
27404
27414
|
e.current = o, r.current && Q0(r.current, null), r.current = t, t && Q0(t, o);
|
|
27405
27415
|
}, [t]);
|
|
27406
27416
|
}, X0 = {
|
|
@@ -27829,7 +27839,7 @@ const ny = 8, zE = ({
|
|
|
27829
27839
|
return /* @__PURE__ */ R.jsxs(ry, { renderCollapse: o, onClose: g, children: [
|
|
27830
27840
|
/* @__PURE__ */ R.jsx(hc, { message: "I couldn’t connect" }),
|
|
27831
27841
|
/* @__PURE__ */ R.jsx(
|
|
27832
|
-
|
|
27842
|
+
Os,
|
|
27833
27843
|
{
|
|
27834
27844
|
type: "ghost",
|
|
27835
27845
|
label: "Retry",
|
|
@@ -27844,7 +27854,7 @@ const ny = 8, zE = ({
|
|
|
27844
27854
|
return /* @__PURE__ */ R.jsxs(ry, { renderCollapse: o, onClose: g, children: [
|
|
27845
27855
|
/* @__PURE__ */ R.jsx(hc, { message: "Connect your microphone and speaker" }),
|
|
27846
27856
|
/* @__PURE__ */ R.jsx(
|
|
27847
|
-
|
|
27857
|
+
Os,
|
|
27848
27858
|
{
|
|
27849
27859
|
type: "ghost",
|
|
27850
27860
|
label: "Retry",
|
|
@@ -28452,9 +28462,9 @@ function ok(n) {
|
|
|
28452
28462
|
return We;
|
|
28453
28463
|
}
|
|
28454
28464
|
if (rd(U) && (U.type === "button" || U.type === "submit" || U.type === "reset")) {
|
|
28455
|
-
var
|
|
28456
|
-
if (
|
|
28457
|
-
return
|
|
28465
|
+
var re = A(U, "value");
|
|
28466
|
+
if (re !== null)
|
|
28467
|
+
return re;
|
|
28458
28468
|
if (U.type === "submit")
|
|
28459
28469
|
return "Submit";
|
|
28460
28470
|
if (U.type === "reset")
|
|
@@ -28964,7 +28974,7 @@ function KP() {
|
|
|
28964
28974
|
var $e = { alpha: !0, depth: Re, stencil: Re, antialias: Re, premultipliedAlpha: !0, preserveDrawingBuffer: 0, powerPreference: "high-performance", failIfMajorPerformanceCaveat: 0, enableExtensionsByDefault: !1, explicitSwapControl: 0, renderViaOffscreenBackBuffer: 0 };
|
|
28965
28975
|
if (Re = pe.getContext("webgl2", $e), !Re)
|
|
28966
28976
|
return null;
|
|
28967
|
-
$e = $d(Re, $e),
|
|
28977
|
+
$e = $d(Re, $e), sa($e);
|
|
28968
28978
|
const Je = I(pe.width, pe.height);
|
|
28969
28979
|
Je.Na = $e, Je.F = pe, Je.Oa = pe.width, Je.ab = pe.height, Je.T = Re;
|
|
28970
28980
|
var tt = Je.delete;
|
|
@@ -29038,7 +29048,7 @@ function KP() {
|
|
|
29038
29048
|
};
|
|
29039
29049
|
const Ne = T.WebGL2Renderer.prototype.clear;
|
|
29040
29050
|
T.WebGL2Renderer.prototype.clear = function() {
|
|
29041
|
-
|
|
29051
|
+
sa(this.Na);
|
|
29042
29052
|
const pe = this.F;
|
|
29043
29053
|
(this.Oa != pe.width || this.ab != pe.height) && (this.resize(pe.width, pe.height), this.Oa = pe.width, this.ab = pe.height), Ne.call(this);
|
|
29044
29054
|
}, T.decodeImage = function(pe, Re) {
|
|
@@ -29063,7 +29073,7 @@ function KP() {
|
|
|
29063
29073
|
Object.assign(T, L), L = null, T.thisProgram && (F = T.thisProgram);
|
|
29064
29074
|
var Ie;
|
|
29065
29075
|
T.wasmBinary && (Ie = T.wasmBinary), T.noExitRuntime, typeof WebAssembly != "object" && vn("no native wasm support detected");
|
|
29066
|
-
var We,
|
|
29076
|
+
var We, re, Pe = !1, me, ce, Ce, de, O, te, Ve, Ke;
|
|
29067
29077
|
function Xe() {
|
|
29068
29078
|
var d = We.buffer;
|
|
29069
29079
|
T.HEAP8 = me = new Int8Array(d), T.HEAP16 = Ce = new Int16Array(d), T.HEAP32 = O = new Int32Array(d), T.HEAPU8 = ce = new Uint8Array(d), T.HEAPU16 = de = new Uint16Array(d), T.HEAPU32 = te = new Uint32Array(d), T.HEAPF32 = Ve = new Float32Array(d), T.HEAPF64 = Ke = new Float64Array(d);
|
|
@@ -29092,7 +29102,7 @@ function KP() {
|
|
|
29092
29102
|
return q(d);
|
|
29093
29103
|
throw "both async and sync fetching of the wasm failed";
|
|
29094
29104
|
}
|
|
29095
|
-
function
|
|
29105
|
+
function Bs(d) {
|
|
29096
29106
|
if (!Ie && (G || se)) {
|
|
29097
29107
|
if (typeof fetch == "function" && !d.startsWith("file://"))
|
|
29098
29108
|
return fetch(d, { credentials: "same-origin" }).then((h) => {
|
|
@@ -29108,7 +29118,7 @@ function KP() {
|
|
|
29108
29118
|
return Promise.resolve().then(() => Oi(d));
|
|
29109
29119
|
}
|
|
29110
29120
|
function yn(d, h, v) {
|
|
29111
|
-
return
|
|
29121
|
+
return Bs(d).then((w) => WebAssembly.instantiate(w, h)).then((w) => w).then(v, (w) => {
|
|
29112
29122
|
fe("failed to asynchronously prepare wasm: " + w), vn(w);
|
|
29113
29123
|
});
|
|
29114
29124
|
}
|
|
@@ -29118,7 +29128,7 @@ function KP() {
|
|
|
29118
29128
|
return fe("wasm streaming compile failed: " + x), fe("falling back to ArrayBuffer instantiation"), yn(v, d, h);
|
|
29119
29129
|
}));
|
|
29120
29130
|
}
|
|
29121
|
-
var Un, Di,
|
|
29131
|
+
var Un, Di, Vs = { 534231: (d, h, v, w, x) => {
|
|
29122
29132
|
if (typeof window > "u" || (window.AudioContext || window.webkitAudioContext) === void 0)
|
|
29123
29133
|
return 0;
|
|
29124
29134
|
if (typeof window.h > "u") {
|
|
@@ -29306,7 +29316,7 @@ function KP() {
|
|
|
29306
29316
|
}
|
|
29307
29317
|
var Bn = [];
|
|
29308
29318
|
function Pn(d, h) {
|
|
29309
|
-
Bn[d] = { input: [], G: [], V: h },
|
|
29319
|
+
Bn[d] = { input: [], G: [], V: h }, Hs(d, bn);
|
|
29310
29320
|
}
|
|
29311
29321
|
var bn = { open: function(d) {
|
|
29312
29322
|
var h = Bn[d.node.Fa];
|
|
@@ -29479,7 +29489,7 @@ function KP() {
|
|
|
29479
29489
|
var v = 0;
|
|
29480
29490
|
return d && (v |= 365), h && (v |= 146), v;
|
|
29481
29491
|
}
|
|
29482
|
-
var Vn = null, ft = {}, zn = [], Cc = 1, Hr = null,
|
|
29492
|
+
var Vn = null, ft = {}, zn = [], Cc = 1, Hr = null, zs = !0, De = null, Ka = {}, hr = (d, h = {}) => {
|
|
29483
29493
|
if (d = Ge(d), !d)
|
|
29484
29494
|
return { path: "", node: null };
|
|
29485
29495
|
if (h = Object.assign({ hb: !0, Wa: 0 }, h), 8 < h.Wa)
|
|
@@ -29508,7 +29518,7 @@ function KP() {
|
|
|
29508
29518
|
return (d + v >>> 0) % Hr.length;
|
|
29509
29519
|
}, ao = (d, h) => {
|
|
29510
29520
|
var v;
|
|
29511
|
-
if (v = (v =
|
|
29521
|
+
if (v = (v = Ws(d, "x")) ? v : d.l.ma ? 0 : 2)
|
|
29512
29522
|
throw new De(v, d);
|
|
29513
29523
|
for (v = Hr[Ho(d.id, h)]; v; v = v.ec) {
|
|
29514
29524
|
var w = v.name;
|
|
@@ -29516,11 +29526,11 @@ function KP() {
|
|
|
29516
29526
|
return v;
|
|
29517
29527
|
}
|
|
29518
29528
|
return d.l.ma(d, h);
|
|
29519
|
-
}, Sc = (d, h, v, w) => (d = new
|
|
29529
|
+
}, Sc = (d, h, v, w) => (d = new aa(d, h, v, w), h = Ho(d.parent.id, d.name), d.ec = Hr[h], Hr[h] = d), Tc = (d) => {
|
|
29520
29530
|
var h = ["r", "w", "rw"][d & 3];
|
|
29521
29531
|
return d & 512 && (h += "w"), h;
|
|
29522
|
-
},
|
|
29523
|
-
if (
|
|
29532
|
+
}, Ws = (d, h) => {
|
|
29533
|
+
if (zs)
|
|
29524
29534
|
return 0;
|
|
29525
29535
|
if (!h.includes("r") || d.mode & 292) {
|
|
29526
29536
|
if (h.includes("w") && !(d.mode & 146) || h.includes("x") && !(d.mode & 73))
|
|
@@ -29533,7 +29543,7 @@ function KP() {
|
|
|
29533
29543
|
return ao(d, h), 20;
|
|
29534
29544
|
} catch {
|
|
29535
29545
|
}
|
|
29536
|
-
return
|
|
29546
|
+
return Ws(d, "wx");
|
|
29537
29547
|
}, _c = () => {
|
|
29538
29548
|
for (var d = 0; 4096 >= d; d++)
|
|
29539
29549
|
if (!zn[d])
|
|
@@ -29561,7 +29571,7 @@ function KP() {
|
|
|
29561
29571
|
d.m = ft[d.node.Fa].m, d.m.open && d.m.open(d);
|
|
29562
29572
|
}, ba: () => {
|
|
29563
29573
|
throw new De(70);
|
|
29564
|
-
} },
|
|
29574
|
+
} }, Hs = (d, h) => {
|
|
29565
29575
|
ft[d] = { m: h };
|
|
29566
29576
|
}, Ja = (d, h) => {
|
|
29567
29577
|
var v = h === "/", w = !h;
|
|
@@ -29585,7 +29595,7 @@ function KP() {
|
|
|
29585
29595
|
if (!w.l.Ca)
|
|
29586
29596
|
throw new De(63);
|
|
29587
29597
|
return w.l.Ca(w, d, h, v);
|
|
29588
|
-
},
|
|
29598
|
+
}, $s = (d, h, v) => {
|
|
29589
29599
|
typeof v > "u" && (v = h, h = 438), tr(d, h | 8192, v);
|
|
29590
29600
|
}, Ya = (d, h) => {
|
|
29591
29601
|
if (!Ge(d))
|
|
@@ -29606,7 +29616,7 @@ function KP() {
|
|
|
29606
29616
|
if (!d.l.na)
|
|
29607
29617
|
throw new De(28);
|
|
29608
29618
|
return Ge(Wo(d.parent), d.l.na(d));
|
|
29609
|
-
},
|
|
29619
|
+
}, qs = (d, h, v) => {
|
|
29610
29620
|
if (d === "")
|
|
29611
29621
|
throw new De(44);
|
|
29612
29622
|
if (typeof h == "string") {
|
|
@@ -29634,7 +29644,7 @@ function KP() {
|
|
|
29634
29644
|
throw new De(44);
|
|
29635
29645
|
if ((x.mode & 61440) === 8192 && (h &= -513), h & 65536 && (x.mode & 61440) !== 16384)
|
|
29636
29646
|
throw new De(54);
|
|
29637
|
-
if (!w && (v = x ? (x.mode & 61440) === 40960 ? 32 : (x.mode & 61440) === 16384 && (Tc(h) !== "r" || h & 512) ? 31 :
|
|
29647
|
+
if (!w && (v = x ? (x.mode & 61440) === 40960 ? 32 : (x.mode & 61440) === 16384 && (Tc(h) !== "r" || h & 512) ? 31 : Ws(x, Tc(h)) : 44))
|
|
29638
29648
|
throw new De(v);
|
|
29639
29649
|
if (h & 512 && !w) {
|
|
29640
29650
|
if (v = x, v = typeof v == "string" ? hr(v, { gb: !0 }).node : v, !v.l.P)
|
|
@@ -29643,12 +29653,12 @@ function KP() {
|
|
|
29643
29653
|
throw new De(31);
|
|
29644
29654
|
if ((v.mode & 61440) !== 32768)
|
|
29645
29655
|
throw new De(28);
|
|
29646
|
-
if (w =
|
|
29656
|
+
if (w = Ws(v, "w"))
|
|
29647
29657
|
throw new De(w);
|
|
29648
29658
|
v.l.P(v, { size: 0, timestamp: Date.now() });
|
|
29649
29659
|
}
|
|
29650
|
-
return h &= -131713, x = xc({ node: x, path: Wo(x), flags: h, seekable: !0, position: 0, m: x.m, sc: [], error: !1 }), x.m.open && x.m.open(x), !T.logReadFiles || h & 1 || (
|
|
29651
|
-
},
|
|
29660
|
+
return h &= -131713, x = xc({ node: x, path: Wo(x), flags: h, seekable: !0, position: 0, m: x.m, sc: [], error: !1 }), x.m.open && x.m.open(x), !T.logReadFiles || h & 1 || (Js || (Js = {}), d in Js || (Js[d] = 1)), x;
|
|
29661
|
+
}, Gs = (d, h, v) => {
|
|
29652
29662
|
if (d.X === null)
|
|
29653
29663
|
throw new De(8);
|
|
29654
29664
|
if (!d.seekable || !d.m.ba)
|
|
@@ -29667,9 +29677,9 @@ function KP() {
|
|
|
29667
29677
|
}, $o, qo = (d, h, v) => {
|
|
29668
29678
|
d = S("/dev/" + d);
|
|
29669
29679
|
var w = Er(!!h, !!v);
|
|
29670
|
-
|
|
29671
|
-
var x =
|
|
29672
|
-
|
|
29680
|
+
Ks || (Ks = 64);
|
|
29681
|
+
var x = Ks++ << 8 | 0;
|
|
29682
|
+
Hs(x, { open: (I) => {
|
|
29673
29683
|
I.seekable = !1;
|
|
29674
29684
|
}, close: () => {
|
|
29675
29685
|
v && v.buffer && v.buffer.length && v(10);
|
|
@@ -29695,8 +29705,8 @@ function KP() {
|
|
|
29695
29705
|
throw new De(29);
|
|
29696
29706
|
}
|
|
29697
29707
|
return le && (I.node.timestamp = Date.now()), X;
|
|
29698
|
-
} }),
|
|
29699
|
-
},
|
|
29708
|
+
} }), $s(d, w, x);
|
|
29709
|
+
}, Ks, Pr = {}, Rn, Js, kn = void 0;
|
|
29700
29710
|
function qr() {
|
|
29701
29711
|
return kn += 4, O[kn - 4 >> 2];
|
|
29702
29712
|
}
|
|
@@ -29707,7 +29717,7 @@ function KP() {
|
|
|
29707
29717
|
var h = d.charCodeAt(0);
|
|
29708
29718
|
return 48 <= h && 57 >= h ? `_${d}` : d;
|
|
29709
29719
|
}
|
|
29710
|
-
function
|
|
29720
|
+
function Ys(d, h) {
|
|
29711
29721
|
return d = Pc(d), { [d]: function() {
|
|
29712
29722
|
return h.apply(this, arguments);
|
|
29713
29723
|
} }[d];
|
|
@@ -29733,8 +29743,8 @@ function KP() {
|
|
|
29733
29743
|
return wn.ta({ ub: 1, value: d });
|
|
29734
29744
|
}
|
|
29735
29745
|
};
|
|
29736
|
-
function
|
|
29737
|
-
var h = Error, v =
|
|
29746
|
+
function Qs(d) {
|
|
29747
|
+
var h = Error, v = Ys(d, function(w) {
|
|
29738
29748
|
this.name = d, this.message = w, w = Error(w).stack, w !== void 0 && (this.stack = this.toString() + `
|
|
29739
29749
|
` + w.replace(/^Error(:[^\n]*)?\n/, ""));
|
|
29740
29750
|
});
|
|
@@ -29742,10 +29752,10 @@ function KP() {
|
|
|
29742
29752
|
return this.message === void 0 ? this.name : `${this.name}: ${this.message}`;
|
|
29743
29753
|
}, v;
|
|
29744
29754
|
}
|
|
29745
|
-
var Xa = void 0,
|
|
29755
|
+
var Xa = void 0, Xs = void 0;
|
|
29746
29756
|
function xt(d) {
|
|
29747
29757
|
for (var h = ""; ce[d]; )
|
|
29748
|
-
h +=
|
|
29758
|
+
h += Xs[ce[d++]];
|
|
29749
29759
|
return h;
|
|
29750
29760
|
}
|
|
29751
29761
|
var Ko = [];
|
|
@@ -29756,7 +29766,7 @@ function KP() {
|
|
|
29756
29766
|
}
|
|
29757
29767
|
}
|
|
29758
29768
|
var gt = void 0, Mr = {};
|
|
29759
|
-
function
|
|
29769
|
+
function Zs(d, h) {
|
|
29760
29770
|
for (h === void 0 && it("ptr should not be undefined"); d.A; )
|
|
29761
29771
|
h = d.pa(h), d = d.A;
|
|
29762
29772
|
return h;
|
|
@@ -29782,7 +29792,7 @@ function KP() {
|
|
|
29782
29792
|
}
|
|
29783
29793
|
var Jr = {};
|
|
29784
29794
|
function fi(d, h) {
|
|
29785
|
-
return h =
|
|
29795
|
+
return h = Zs(d, h), Mr[h];
|
|
29786
29796
|
}
|
|
29787
29797
|
var co = void 0;
|
|
29788
29798
|
function hi(d) {
|
|
@@ -29828,7 +29838,7 @@ function KP() {
|
|
|
29828
29838
|
}));
|
|
29829
29839
|
}), I.length === 0 && w(x);
|
|
29830
29840
|
}
|
|
29831
|
-
function
|
|
29841
|
+
function ea(d) {
|
|
29832
29842
|
switch (d) {
|
|
29833
29843
|
case 1:
|
|
29834
29844
|
return 0;
|
|
@@ -29926,7 +29936,7 @@ function KP() {
|
|
|
29926
29936
|
var rs = [], is = (d) => {
|
|
29927
29937
|
var h = rs[d];
|
|
29928
29938
|
return h || (d >= rs.length && (rs.length = d + 1), rs[d] = h = Fe.get(d)), h;
|
|
29929
|
-
},
|
|
29939
|
+
}, ta = (d, h) => {
|
|
29930
29940
|
var v = [];
|
|
29931
29941
|
return function() {
|
|
29932
29942
|
if (v.length = 0, Object.assign(v, arguments), d.includes("j")) {
|
|
@@ -29939,7 +29949,7 @@ function KP() {
|
|
|
29939
29949
|
};
|
|
29940
29950
|
function on(d, h) {
|
|
29941
29951
|
d = xt(d);
|
|
29942
|
-
var v = d.includes("j") ?
|
|
29952
|
+
var v = d.includes("j") ? ta(d, h) : is(h);
|
|
29943
29953
|
return typeof v != "function" && it(`unknown function pointer with signature ${d}: ${h}`), v;
|
|
29944
29954
|
}
|
|
29945
29955
|
var An = void 0;
|
|
@@ -30012,7 +30022,7 @@ function KP() {
|
|
|
30012
30022
|
var h = typeof d;
|
|
30013
30023
|
return h === "object" || h === "array" || h === "function" ? d.toString() : "" + d;
|
|
30014
30024
|
}
|
|
30015
|
-
function
|
|
30025
|
+
function na(d, h) {
|
|
30016
30026
|
switch (h) {
|
|
30017
30027
|
case 2:
|
|
30018
30028
|
return function(v) {
|
|
@@ -30116,13 +30126,13 @@ function KP() {
|
|
|
30116
30126
|
return v;
|
|
30117
30127
|
}
|
|
30118
30128
|
var Oc = [], al = [];
|
|
30119
|
-
function
|
|
30129
|
+
function ra(d) {
|
|
30120
30130
|
d.Dc = d.getExtension("WEBGL_draw_instanced_base_vertex_base_instance");
|
|
30121
30131
|
}
|
|
30122
30132
|
function Lc(d) {
|
|
30123
30133
|
d.Ic = d.getExtension("WEBGL_multi_draw_instanced_base_vertex_base_instance");
|
|
30124
30134
|
}
|
|
30125
|
-
var Dc = 1, as = [], nr = [],
|
|
30135
|
+
var Dc = 1, as = [], nr = [], ia = [], ls = [], ho = [], Ar = [], oa = [], Yt = [], Nc = {};
|
|
30126
30136
|
function Qt(d) {
|
|
30127
30137
|
cs || (cs = d);
|
|
30128
30138
|
}
|
|
@@ -30135,14 +30145,14 @@ function KP() {
|
|
|
30135
30145
|
var v = vi(Yt), w = { handle: v, attributes: h, version: h.Hc, C: d };
|
|
30136
30146
|
return d.canvas && (d.canvas.Cb = w), Yt[v] = w, (typeof h.Nb > "u" || h.Nb) && jc(w), v;
|
|
30137
30147
|
}
|
|
30138
|
-
function
|
|
30148
|
+
function sa(d) {
|
|
30139
30149
|
return yr = Yt[d], T.Bc = he = yr && yr.C, !(d && !he);
|
|
30140
30150
|
}
|
|
30141
30151
|
function jc(d) {
|
|
30142
30152
|
if (d || (d = yr), !d.Yb) {
|
|
30143
30153
|
d.Yb = !0;
|
|
30144
30154
|
var h = d.C;
|
|
30145
|
-
|
|
30155
|
+
ra(h), Lc(h), 2 <= d.version && (h.eb = h.getExtension("EXT_disjoint_timer_query_webgl2")), (2 > d.version || !h.eb) && (h.eb = h.getExtension("EXT_disjoint_timer_query")), ll(h), (h.getSupportedExtensions() || []).forEach(function(v) {
|
|
30146
30156
|
v.includes("lose_context") || v.includes("debug") || h.getExtension(v);
|
|
30147
30157
|
});
|
|
30148
30158
|
}
|
|
@@ -30263,7 +30273,7 @@ function KP() {
|
|
|
30263
30273
|
Qt(1281);
|
|
30264
30274
|
}
|
|
30265
30275
|
var bi = (d) => {
|
|
30266
|
-
var h = Tt(d) + 1, v =
|
|
30276
|
+
var h = Tt(d) + 1, v = la(h);
|
|
30267
30277
|
return v && $t(d, ce, v, h), v;
|
|
30268
30278
|
};
|
|
30269
30279
|
function mo(d) {
|
|
@@ -30348,10 +30358,10 @@ function KP() {
|
|
|
30348
30358
|
v.includes(Se) && (v = v.replace(new RegExp(Se, "g"), X[Se](w)));
|
|
30349
30359
|
return v = v.replace(/\0\0/g, "%"), Se = _t(v, !1), Se.length > h ? 0 : (me.set(Se, d), Se.length - 1);
|
|
30350
30360
|
};
|
|
30351
|
-
function
|
|
30361
|
+
function aa(d, h, v, w) {
|
|
30352
30362
|
d || (d = this), this.parent = d, this.U = d.U, this.Da = null, this.id = Cc++, this.name = h, this.mode = v, this.l = {}, this.m = {}, this.Fa = w;
|
|
30353
30363
|
}
|
|
30354
|
-
Object.defineProperties(
|
|
30364
|
+
Object.defineProperties(aa.prototype, { read: { get: function() {
|
|
30355
30365
|
return (this.mode & 365) === 365;
|
|
30356
30366
|
}, set: function(d) {
|
|
30357
30367
|
d ? this.mode |= 365 : this.mode &= -366;
|
|
@@ -30360,7 +30370,7 @@ function KP() {
|
|
|
30360
30370
|
}, set: function(d) {
|
|
30361
30371
|
d ? this.mode |= 146 : this.mode &= -147;
|
|
30362
30372
|
} } }), Qa(), Hr = Array(4096), Ja(Ze, "/"), tr("/tmp", 16895, 0), tr("/home", 16895, 0), tr("/home/web_user", 16895, 0), (() => {
|
|
30363
|
-
tr("/dev", 16895, 0),
|
|
30373
|
+
tr("/dev", 16895, 0), Hs(259, { read: () => 0, write: (w, x, I, B) => B }), $s("/dev/null", 259), Pn(1280, en), Pn(1536, rn), $s("/dev/tty", 1280), $s("/dev/tty1", 1536);
|
|
30364
30374
|
var d = new Uint8Array(1024), h = 0, v = () => (h === 0 && (h = ye(d).byteLength), d[--h]);
|
|
30365
30375
|
qo("random", v), qo("urandom", v), tr("/dev/shm", 16895, 0), tr("/dev/shm/tmp", 16895, 0);
|
|
30366
30376
|
})(), (() => {
|
|
@@ -30390,10 +30400,10 @@ function KP() {
|
|
|
30390
30400
|
for (var d = 0, h = wn.h; h < wn.M.length; ++h)
|
|
30391
30401
|
wn.M[h] !== void 0 && ++d;
|
|
30392
30402
|
return d;
|
|
30393
|
-
}, Xa = T.PureVirtualError =
|
|
30403
|
+
}, Xa = T.PureVirtualError = Qs("PureVirtualError");
|
|
30394
30404
|
for (var hl = Array(256), us = 0; 256 > us; ++us)
|
|
30395
30405
|
hl[us] = String.fromCharCode(us);
|
|
30396
|
-
|
|
30406
|
+
Xs = hl, T.getInheritedInstanceCount = function() {
|
|
30397
30407
|
return Object.keys(Mr).length;
|
|
30398
30408
|
}, T.getLiveInheritedInstances = function() {
|
|
30399
30409
|
var d = [], h;
|
|
@@ -30447,7 +30457,7 @@ function KP() {
|
|
|
30447
30457
|
w = this.xa ? w.Jb : w.pointerType;
|
|
30448
30458
|
var x = Kr(v, this.i, w.i);
|
|
30449
30459
|
return x === null ? h.call(this) : this.ya ? mr(w.i.N, { u: w, o: x, L: this, H: d }) : mr(w.i.N, { u: w, o: x });
|
|
30450
|
-
}, An = T.UnboundTypeError =
|
|
30460
|
+
}, An = T.UnboundTypeError = Qs("UnboundTypeError");
|
|
30451
30461
|
for (var he, pl = 0; 32 > pl; ++pl)
|
|
30452
30462
|
ul.push(Array(pl));
|
|
30453
30463
|
var zc = { __syscall_fcntl64: function(d, h, v) {
|
|
@@ -30550,7 +30560,7 @@ function KP() {
|
|
|
30550
30560
|
h = S(I + "/" + x);
|
|
30551
30561
|
}
|
|
30552
30562
|
var B = w ? qr() : 0;
|
|
30553
|
-
return
|
|
30563
|
+
return qs(h, v, B).X;
|
|
30554
30564
|
} catch (K) {
|
|
30555
30565
|
if (typeof Pr > "u" || K.name !== "ErrnoError")
|
|
30556
30566
|
throw K;
|
|
@@ -30559,7 +30569,7 @@ function KP() {
|
|
|
30559
30569
|
}, _embind_create_inheriting_constructor: function(d, h, v) {
|
|
30560
30570
|
d = xt(d), h = lo(h, "wrapper"), v = pr(v);
|
|
30561
30571
|
var w = [].slice, x = h.i, I = x.N, B = x.A.N, K = x.A.constructor;
|
|
30562
|
-
d =
|
|
30572
|
+
d = Ys(d, function() {
|
|
30563
30573
|
x.A.qb.forEach((function(X) {
|
|
30564
30574
|
if (this[X] === B[X])
|
|
30565
30575
|
throw new Xa(`Pure virtual function ${X} must be implemented in JavaScript`);
|
|
@@ -30569,11 +30579,11 @@ function KP() {
|
|
|
30569
30579
|
var X = K.implement.apply(void 0, [this].concat(w.call(arguments)));
|
|
30570
30580
|
Yo(X);
|
|
30571
30581
|
var Se = X.g;
|
|
30572
|
-
X.notifyOnDestruction(), Se.ka = !0, Object.defineProperties(this, { g: { value: Se } }), uo(this), X = Se.o, X =
|
|
30582
|
+
X.notifyOnDestruction(), Se.ka = !0, Object.defineProperties(this, { g: { value: Se } }), uo(this), X = Se.o, X = Zs(x, X), Mr.hasOwnProperty(X) ? it(`Tried to register registered instance: ${X}`) : Mr[X] = this;
|
|
30573
30583
|
}, I.__destruct = function() {
|
|
30574
30584
|
this === I && it("Pass correct 'this' to __destruct"), Yo(this);
|
|
30575
30585
|
var X = this.g.o;
|
|
30576
|
-
X =
|
|
30586
|
+
X = Zs(x, X), Mr.hasOwnProperty(X) ? delete Mr[X] : it(`Tried to unregister unregistered instance: ${X}`);
|
|
30577
30587
|
}, d.prototype = Object.create(I);
|
|
30578
30588
|
for (var le in v)
|
|
30579
30589
|
d.prototype[le] = v[le];
|
|
@@ -30607,7 +30617,7 @@ function KP() {
|
|
|
30607
30617
|
});
|
|
30608
30618
|
}, _embind_register_bigint: function() {
|
|
30609
30619
|
}, _embind_register_bool: function(d, h, v, w, x) {
|
|
30610
|
-
var I =
|
|
30620
|
+
var I = ea(v);
|
|
30611
30621
|
h = xt(h), Mn(d, { name: h, fromWireType: function(B) {
|
|
30612
30622
|
return !!B;
|
|
30613
30623
|
}, toWireType: function(B, K) {
|
|
@@ -30633,7 +30643,7 @@ function KP() {
|
|
|
30633
30643
|
var Re = pe.i, $e = Re.N;
|
|
30634
30644
|
else
|
|
30635
30645
|
$e = gr.prototype;
|
|
30636
|
-
pe =
|
|
30646
|
+
pe = Ys(ne, function() {
|
|
30637
30647
|
if (Object.getPrototypeOf(this) !== Je)
|
|
30638
30648
|
throw new Rr("Use 'new' to construct " + Se);
|
|
30639
30649
|
if (tt.$ === void 0)
|
|
@@ -30751,21 +30761,21 @@ function KP() {
|
|
|
30751
30761
|
}, _embind_register_enum: function(d, h, v, w) {
|
|
30752
30762
|
function x() {
|
|
30753
30763
|
}
|
|
30754
|
-
v =
|
|
30764
|
+
v = ea(v), h = xt(h), x.values = {}, Mn(d, { name: h, constructor: x, fromWireType: function(I) {
|
|
30755
30765
|
return this.constructor.values[I];
|
|
30756
30766
|
}, toWireType: function(I, B) {
|
|
30757
30767
|
return B.value;
|
|
30758
30768
|
}, argPackAdvance: 8, readValueFromPointer: il(h, v, w), K: null }), tl(h, x);
|
|
30759
30769
|
}, _embind_register_enum_value: function(d, h, v) {
|
|
30760
30770
|
var w = lo(d, "enum");
|
|
30761
|
-
h = xt(h), d = w.constructor, w = Object.create(w.constructor.prototype, { value: { value: v }, constructor: { value:
|
|
30771
|
+
h = xt(h), d = w.constructor, w = Object.create(w.constructor.prototype, { value: { value: v }, constructor: { value: Ys(`${w.name}_${h}`, function() {
|
|
30762
30772
|
}) } }), d.values[v] = w, d[h] = w;
|
|
30763
30773
|
}, _embind_register_float: function(d, h, v) {
|
|
30764
|
-
v =
|
|
30774
|
+
v = ea(v), h = xt(h), Mn(d, { name: h, fromWireType: function(w) {
|
|
30765
30775
|
return w;
|
|
30766
30776
|
}, toWireType: function(w, x) {
|
|
30767
30777
|
return x;
|
|
30768
|
-
}, argPackAdvance: 8, readValueFromPointer:
|
|
30778
|
+
}, argPackAdvance: 8, readValueFromPointer: na(h, v), K: null });
|
|
30769
30779
|
}, _embind_register_function: function(d, h, v, w, x, I) {
|
|
30770
30780
|
var B = gi(h, v);
|
|
30771
30781
|
d = xt(d), x = on(w, x), tl(d, function() {
|
|
@@ -30774,7 +30784,7 @@ function KP() {
|
|
|
30774
30784
|
return ns(d, fo(d, [K[0], null].concat(K.slice(1)), null, x, I), h - 1), [];
|
|
30775
30785
|
});
|
|
30776
30786
|
}, _embind_register_integer: function(d, h, v, w, x) {
|
|
30777
|
-
h = xt(h), x === -1 && (x = 4294967295), x =
|
|
30787
|
+
h = xt(h), x === -1 && (x = 4294967295), x = ea(v);
|
|
30778
30788
|
var I = (K) => K;
|
|
30779
30789
|
if (w === 0) {
|
|
30780
30790
|
var B = 32 - 8 * v;
|
|
@@ -30819,7 +30829,7 @@ function KP() {
|
|
|
30819
30829
|
x instanceof ArrayBuffer && (x = new Uint8Array(x));
|
|
30820
30830
|
var I = typeof x == "string";
|
|
30821
30831
|
I || x instanceof Uint8Array || x instanceof Uint8ClampedArray || x instanceof Int8Array || it("Cannot pass non-string to std::string");
|
|
30822
|
-
var B = v && I ? Tt(x) : x.length, K =
|
|
30832
|
+
var B = v && I ? Tt(x) : x.length, K = la(4 + B + 1), le = K + 4;
|
|
30823
30833
|
if (te[K >> 2] = B, v && I)
|
|
30824
30834
|
$t(x, ce, le, B + 1);
|
|
30825
30835
|
else if (I)
|
|
@@ -30847,7 +30857,7 @@ function KP() {
|
|
|
30847
30857
|
return Qr(le), Me;
|
|
30848
30858
|
}, toWireType: function(le, X) {
|
|
30849
30859
|
typeof X != "string" && it(`Cannot pass non-string to C++ string type ${v}`);
|
|
30850
|
-
var Se = I(X), Me =
|
|
30860
|
+
var Se = I(X), Me = la(4 + Se + h);
|
|
30851
30861
|
return te[Me >> 2] = Se >> K, x(X, Me + 4, Se + h), le !== null && le.push(Qr, Me), Me;
|
|
30852
30862
|
}, argPackAdvance: 8, readValueFromPointer: es, K: function(le) {
|
|
30853
30863
|
Qr(le);
|
|
@@ -30923,7 +30933,7 @@ function KP() {
|
|
|
30923
30933
|
var w;
|
|
30924
30934
|
for (v >>= 2; w = ce[h++]; )
|
|
30925
30935
|
v += w != 105 & v, al.push(w == 105 ? O[v] : Ke[v++ >> 1]), ++v;
|
|
30926
|
-
return
|
|
30936
|
+
return Vs[d].apply(null, al);
|
|
30927
30937
|
}, emscripten_date_now: function() {
|
|
30928
30938
|
return Date.now();
|
|
30929
30939
|
}, emscripten_get_now: () => performance.now(), emscripten_memcpy_big: (d, h, v) => ce.copyWithin(d, h, h + v), emscripten_resize_heap: (d) => {
|
|
@@ -30950,11 +30960,11 @@ function KP() {
|
|
|
30950
30960
|
}
|
|
30951
30961
|
return !1;
|
|
30952
30962
|
}, emscripten_webgl_enable_extension: function(d, h) {
|
|
30953
|
-
return d = Yt[d], h = h ? Le(ce, h) : "", h.startsWith("GL_") && (h = h.substr(3)), h == "WEBGL_draw_instanced_base_vertex_base_instance" &&
|
|
30963
|
+
return d = Yt[d], h = h ? Le(ce, h) : "", h.startsWith("GL_") && (h = h.substr(3)), h == "WEBGL_draw_instanced_base_vertex_base_instance" && ra(he), h == "WEBGL_multi_draw_instanced_base_vertex_base_instance" && Lc(he), h == "WEBGL_multi_draw" && ll(he), !!d.C.getExtension(h);
|
|
30954
30964
|
}, emscripten_webgl_get_current_context: function() {
|
|
30955
30965
|
return yr ? yr.handle : 0;
|
|
30956
30966
|
}, emscripten_webgl_make_context_current: function(d) {
|
|
30957
|
-
return
|
|
30967
|
+
return sa(d) ? 0 : -5;
|
|
30958
30968
|
}, enable_WEBGL_provoking_vertex: function(d) {
|
|
30959
30969
|
return d = Yt[d].C, d.rb = d.getExtension("WEBGL_provoking_vertex"), !!d.rb;
|
|
30960
30970
|
}, enable_WEBGL_shader_pixel_local_storage_coherent: function(d) {
|
|
@@ -31044,7 +31054,7 @@ function KP() {
|
|
|
31044
31054
|
if (isNaN(h))
|
|
31045
31055
|
return 61;
|
|
31046
31056
|
var I = $r(d);
|
|
31047
|
-
return
|
|
31057
|
+
return Gs(I, h, w), Di = [I.position >>> 0, (Un = I.position, 1 <= +Math.abs(Un) ? 0 < Un ? +Math.floor(Un / 4294967296) >>> 0 : ~~+Math.ceil((Un - +(~~Un >>> 0)) / 4294967296) >>> 0 : 0)], O[x >> 2] = Di[0], O[x + 4 >> 2] = Di[1], I.Sa && h === 0 && w === 0 && (I.Sa = null), 0;
|
|
31048
31058
|
} catch (B) {
|
|
31049
31059
|
if (typeof Pr > "u" || B.name !== "ErrnoError")
|
|
31050
31060
|
throw B;
|
|
@@ -31069,7 +31079,7 @@ function KP() {
|
|
|
31069
31079
|
throw new De(31);
|
|
31070
31080
|
if (!X.m.write)
|
|
31071
31081
|
throw new De(28);
|
|
31072
|
-
X.seekable && X.flags & 1024 &&
|
|
31082
|
+
X.seekable && X.flags & 1024 && Gs(X, 0, 2);
|
|
31073
31083
|
var pe = typeof Ne < "u";
|
|
31074
31084
|
if (!pe)
|
|
31075
31085
|
Ne = X.position;
|
|
@@ -31107,13 +31117,13 @@ function KP() {
|
|
|
31107
31117
|
}, glBindBufferRange: function(d, h, v, w, x) {
|
|
31108
31118
|
he.bindBufferRange(d, h, as[v], w, x);
|
|
31109
31119
|
}, glBindFramebuffer: function(d, h) {
|
|
31110
|
-
he.bindFramebuffer(d,
|
|
31120
|
+
he.bindFramebuffer(d, ia[h]);
|
|
31111
31121
|
}, glBindRenderbuffer: function(d, h) {
|
|
31112
31122
|
he.bindRenderbuffer(d, ls[h]);
|
|
31113
31123
|
}, glBindTexture: function(d, h) {
|
|
31114
31124
|
he.bindTexture(d, ho[h]);
|
|
31115
31125
|
}, glBindVertexArray: function(d) {
|
|
31116
|
-
he.bindVertexArray(
|
|
31126
|
+
he.bindVertexArray(oa[d]);
|
|
31117
31127
|
}, glBlendEquation: function(d) {
|
|
31118
31128
|
he.blendEquation(d);
|
|
31119
31129
|
}, glBlendFunc: function(d, h) {
|
|
@@ -31155,8 +31165,8 @@ function KP() {
|
|
|
31155
31165
|
}
|
|
31156
31166
|
}, glDeleteFramebuffers: function(d, h) {
|
|
31157
31167
|
for (var v = 0; v < d; ++v) {
|
|
31158
|
-
var w = O[h + 4 * v >> 2], x =
|
|
31159
|
-
x && (he.deleteFramebuffer(x), x.name = 0,
|
|
31168
|
+
var w = O[h + 4 * v >> 2], x = ia[w];
|
|
31169
|
+
x && (he.deleteFramebuffer(x), x.name = 0, ia[w] = null);
|
|
31160
31170
|
}
|
|
31161
31171
|
}, glDeleteProgram: function(d) {
|
|
31162
31172
|
if (d) {
|
|
@@ -31181,7 +31191,7 @@ function KP() {
|
|
|
31181
31191
|
}, glDeleteVertexArrays: function(d, h) {
|
|
31182
31192
|
for (var v = 0; v < d; v++) {
|
|
31183
31193
|
var w = O[h + 4 * v >> 2];
|
|
31184
|
-
he.deleteVertexArray(
|
|
31194
|
+
he.deleteVertexArray(oa[w]), oa[w] = null;
|
|
31185
31195
|
}
|
|
31186
31196
|
}, glDepthFunc: function(d) {
|
|
31187
31197
|
he.depthFunc(d);
|
|
@@ -31218,13 +31228,13 @@ function KP() {
|
|
|
31218
31228
|
}, glGenBuffers: function(d, h) {
|
|
31219
31229
|
po(d, h, "createBuffer", as);
|
|
31220
31230
|
}, glGenFramebuffers: function(d, h) {
|
|
31221
|
-
po(d, h, "createFramebuffer",
|
|
31231
|
+
po(d, h, "createFramebuffer", ia);
|
|
31222
31232
|
}, glGenRenderbuffers: function(d, h) {
|
|
31223
31233
|
po(d, h, "createRenderbuffer", ls);
|
|
31224
31234
|
}, glGenTextures: function(d, h) {
|
|
31225
31235
|
po(d, h, "createTexture", ho);
|
|
31226
31236
|
}, glGenVertexArrays: function(d, h) {
|
|
31227
|
-
po(d, h, "createVertexArray",
|
|
31237
|
+
po(d, h, "createVertexArray", oa);
|
|
31228
31238
|
}, glGenerateMipmap: function(d) {
|
|
31229
31239
|
he.generateMipmap(d);
|
|
31230
31240
|
}, glGetError: function() {
|
|
@@ -31383,7 +31393,7 @@ function KP() {
|
|
|
31383
31393
|
} };
|
|
31384
31394
|
(function() {
|
|
31385
31395
|
function d(v) {
|
|
31386
|
-
if (
|
|
31396
|
+
if (re = v = v.exports, We = re.memory, Xe(), Fe = re.__indirect_function_table, qe.unshift(re.__wasm_call_ctors), Ht--, T.monitorRunDependencies && T.monitorRunDependencies(Ht), Ht == 0 && er) {
|
|
31387
31397
|
var w = er;
|
|
31388
31398
|
er = null, w();
|
|
31389
31399
|
}
|
|
@@ -31400,12 +31410,12 @@ function KP() {
|
|
|
31400
31410
|
d(v.instance);
|
|
31401
31411
|
}).catch(A), {};
|
|
31402
31412
|
})();
|
|
31403
|
-
var Qr = (d) => (Qr =
|
|
31404
|
-
T._setWebImage = (d, h, v) => (T._setWebImage =
|
|
31405
|
-
var Wc = () => (Wc =
|
|
31406
|
-
T._ma_malloc_emscripten = (d, h) => (T._ma_malloc_emscripten =
|
|
31407
|
-
var go = T._ma_device_process_pcm_frames_capture__webaudio = (d, h, v) => (go = T._ma_device_process_pcm_frames_capture__webaudio =
|
|
31408
|
-
T.__embind_initialize_bindings = () => (T.__embind_initialize_bindings =
|
|
31413
|
+
var Qr = (d) => (Qr = re.free)(d), la = (d) => (la = re.malloc)(d);
|
|
31414
|
+
T._setWebImage = (d, h, v) => (T._setWebImage = re.setWebImage)(d, h, v);
|
|
31415
|
+
var Wc = () => (Wc = re.__errno_location)(), rr = T._ma_device__on_notification_unlocked = (d) => (rr = T._ma_device__on_notification_unlocked = re.ma_device__on_notification_unlocked)(d);
|
|
31416
|
+
T._ma_malloc_emscripten = (d, h) => (T._ma_malloc_emscripten = re.ma_malloc_emscripten)(d, h), T._ma_free_emscripten = (d, h) => (T._ma_free_emscripten = re.ma_free_emscripten)(d, h);
|
|
31417
|
+
var go = T._ma_device_process_pcm_frames_capture__webaudio = (d, h, v) => (go = T._ma_device_process_pcm_frames_capture__webaudio = re.ma_device_process_pcm_frames_capture__webaudio)(d, h, v), ml = T._ma_device_process_pcm_frames_playback__webaudio = (d, h, v) => (ml = T._ma_device_process_pcm_frames_playback__webaudio = re.ma_device_process_pcm_frames_playback__webaudio)(d, h, v), gl = (d) => (gl = re.__getTypeName)(d);
|
|
31418
|
+
T.__embind_initialize_bindings = () => (T.__embind_initialize_bindings = re._embind_initialize_bindings)(), T.dynCall_iiiji = (d, h, v, w, x, I) => (T.dynCall_iiiji = re.dynCall_iiiji)(d, h, v, w, x, I), T.dynCall_iij = (d, h, v, w) => (T.dynCall_iij = re.dynCall_iij)(d, h, v, w), T.dynCall_iiji = (d, h, v, w, x) => (T.dynCall_iiji = re.dynCall_iiji)(d, h, v, w, x), T.dynCall_jii = (d, h, v) => (T.dynCall_jii = re.dynCall_jii)(d, h, v), T.dynCall_vijj = (d, h, v, w, x, I) => (T.dynCall_vijj = re.dynCall_vijj)(d, h, v, w, x, I), T.dynCall_jiji = (d, h, v, w, x) => (T.dynCall_jiji = re.dynCall_jiji)(d, h, v, w, x), T.dynCall_viijii = (d, h, v, w, x, I, B) => (T.dynCall_viijii = re.dynCall_viijii)(d, h, v, w, x, I, B), T.dynCall_iiiiij = (d, h, v, w, x, I, B) => (T.dynCall_iiiiij = re.dynCall_iiiiij)(d, h, v, w, x, I, B), T.dynCall_iiiiijj = (d, h, v, w, x, I, B, K, le) => (T.dynCall_iiiiijj = re.dynCall_iiiiijj)(d, h, v, w, x, I, B, K, le), T.dynCall_iiiiiijj = (d, h, v, w, x, I, B, K, le, X) => (T.dynCall_iiiiiijj = re.dynCall_iiiiiijj)(d, h, v, w, x, I, B, K, le, X), T.___start_em_js = 531476, T.___stop_em_js = 534231;
|
|
31409
31419
|
var ds;
|
|
31410
31420
|
er = function d() {
|
|
31411
31421
|
ds || vl(), ds || (er = d);
|
|
@@ -31413,7 +31423,7 @@ function KP() {
|
|
|
31413
31423
|
function vl() {
|
|
31414
31424
|
function d() {
|
|
31415
31425
|
if (!ds && (ds = !0, T.calledRun = !0, !Pe)) {
|
|
31416
|
-
if (T.noFSInit || $o || ($o = !0, Qa(), T.stdin = T.stdin, T.stdout = T.stdout, T.stderr = T.stderr, T.stdin ? qo("stdin", T.stdin) : Ya("/dev/tty", "/dev/stdin"), T.stdout ? qo("stdout", null, T.stdout) : Ya("/dev/tty", "/dev/stdout"), T.stderr ? qo("stderr", null, T.stderr) : Ya("/dev/tty1", "/dev/stderr"),
|
|
31426
|
+
if (T.noFSInit || $o || ($o = !0, Qa(), T.stdin = T.stdin, T.stdout = T.stdout, T.stderr = T.stderr, T.stdin ? qo("stdin", T.stdin) : Ya("/dev/tty", "/dev/stdin"), T.stdout ? qo("stdout", null, T.stdout) : Ya("/dev/tty", "/dev/stdout"), T.stderr ? qo("stderr", null, T.stderr) : Ya("/dev/tty1", "/dev/stderr"), qs("/dev/stdin", 0), qs("/dev/stdout", 1), qs("/dev/stderr", 1)), zs = !1, P(qe), N(T), T.onRuntimeInitialized && T.onRuntimeInitialized(), T.postRun)
|
|
31417
31427
|
for (typeof T.postRun == "function" && (T.postRun = [T.postRun]); T.postRun.length; ) {
|
|
31418
31428
|
var h = T.postRun.shift();
|
|
31419
31429
|
dt.unshift(h);
|
|
@@ -31639,7 +31649,7 @@ function KP() {
|
|
|
31639
31649
|
return;
|
|
31640
31650
|
}
|
|
31641
31651
|
q = G && Ie.type === "touchend" && $ === "touchstart", $ = Ie.type;
|
|
31642
|
-
var We = Ie.currentTarget.getBoundingClientRect(),
|
|
31652
|
+
var We = Ie.currentTarget.getBoundingClientRect(), re = g(Ie, G), Pe = re.clientX, me = re.clientY;
|
|
31643
31653
|
if (!(!Pe && !me)) {
|
|
31644
31654
|
var ce = Pe - We.left, Ce = me - We.top, de = ee.computeAlignment(U, L, {
|
|
31645
31655
|
minX: 0,
|
|
@@ -32190,7 +32200,7 @@ function KP() {
|
|
|
32190
32200
|
/* harmony export */
|
|
32191
32201
|
decodeFont: () => (
|
|
32192
32202
|
/* binding */
|
|
32193
|
-
|
|
32203
|
+
Vs
|
|
32194
32204
|
),
|
|
32195
32205
|
/* harmony export */
|
|
32196
32206
|
decodeImage: () => (
|
|
@@ -32819,17 +32829,17 @@ To resolve, you may need to:`,
|
|
|
32819
32829
|
}
|
|
32820
32830
|
}, P;
|
|
32821
32831
|
}()
|
|
32822
|
-
),
|
|
32832
|
+
), re;
|
|
32823
32833
|
(function(P) {
|
|
32824
32834
|
P[P.AVAILABLE = 0] = "AVAILABLE", P[P.UNAVAILABLE = 1] = "UNAVAILABLE";
|
|
32825
|
-
})(
|
|
32835
|
+
})(re || (re = {}));
|
|
32826
32836
|
var Pe = (
|
|
32827
32837
|
/** @class */
|
|
32828
32838
|
function(P) {
|
|
32829
32839
|
g(y, P);
|
|
32830
32840
|
function y() {
|
|
32831
32841
|
var S = P !== null && P.apply(this, arguments) || this;
|
|
32832
|
-
return S._started = !1, S._enabled = !1, S._status =
|
|
32842
|
+
return S._started = !1, S._enabled = !1, S._status = re.UNAVAILABLE, S;
|
|
32833
32843
|
}
|
|
32834
32844
|
return y.prototype.delay = function(S) {
|
|
32835
32845
|
return _(this, void 0, void 0, function() {
|
|
@@ -32852,7 +32862,7 @@ To resolve, you may need to:`,
|
|
|
32852
32862
|
}, y.prototype.enableAudio = function() {
|
|
32853
32863
|
return _(this, void 0, void 0, function() {
|
|
32854
32864
|
return T(this, function(S) {
|
|
32855
|
-
return this._enabled || (this._enabled = !0, this._status =
|
|
32865
|
+
return this._enabled || (this._enabled = !0, this._status = re.AVAILABLE, this.reportToListeners()), [
|
|
32856
32866
|
2
|
|
32857
32867
|
/*return*/
|
|
32858
32868
|
];
|
|
@@ -32863,7 +32873,7 @@ To resolve, you may need to:`,
|
|
|
32863
32873
|
return T(this, function(S) {
|
|
32864
32874
|
switch (S.label) {
|
|
32865
32875
|
case 0:
|
|
32866
|
-
if (!(this._status ===
|
|
32876
|
+
if (!(this._status === re.UNAVAILABLE && this._audioContext !== null)) return [3, 4];
|
|
32867
32877
|
S.label = 1;
|
|
32868
32878
|
case 1:
|
|
32869
32879
|
return S.trys.push([1, 3, , 4]), [4, Promise.race([this._audioContext.resume(), this.timeout()])];
|
|
@@ -32888,7 +32898,7 @@ To resolve, you may need to:`,
|
|
|
32888
32898
|
case 1:
|
|
32889
32899
|
this._audioContext = new AudioContext(), this.listenForUserAction(), S.label = 2;
|
|
32890
32900
|
case 2:
|
|
32891
|
-
return this._status !==
|
|
32901
|
+
return this._status !== re.UNAVAILABLE ? [3, 5] : [4, this.testAudio()];
|
|
32892
32902
|
case 3:
|
|
32893
32903
|
return S.sent(), [4, this.delay(1e3)];
|
|
32894
32904
|
case 4:
|
|
@@ -32926,7 +32936,7 @@ To resolve, you may need to:`,
|
|
|
32926
32936
|
});
|
|
32927
32937
|
}, Object.defineProperty(y.prototype, "systemVolume", {
|
|
32928
32938
|
get: function() {
|
|
32929
|
-
return this._status ===
|
|
32939
|
+
return this._status === re.UNAVAILABLE ? (this.testAudio(), 0) : 1;
|
|
32930
32940
|
},
|
|
32931
32941
|
enumerable: !1,
|
|
32932
32942
|
configurable: !0
|
|
@@ -32985,7 +32995,7 @@ To resolve, you may need to:`,
|
|
|
32985
32995
|
return T(this, function(ye) {
|
|
32986
32996
|
switch (ye.label) {
|
|
32987
32997
|
case 0:
|
|
32988
|
-
return this.src ? (y = this, [4,
|
|
32998
|
+
return this.src ? (y = this, [4, Bs(this.src)]) : [3, 2];
|
|
32989
32999
|
case 1:
|
|
32990
33000
|
y.buffer = ye.sent(), ye.label = 2;
|
|
32991
33001
|
case 2:
|
|
@@ -33138,7 +33148,7 @@ To resolve, you may need to:`,
|
|
|
33138
33148
|
this.eventCleanup && (this.eventCleanup(), this.eventCleanup = null);
|
|
33139
33149
|
}, P.prototype.initializeAudio = function() {
|
|
33140
33150
|
var y = this, S;
|
|
33141
|
-
me.status ==
|
|
33151
|
+
me.status == re.UNAVAILABLE && !((S = this.artboard) === null || S === void 0) && S.hasAudio && this._audioEventListener === null && (this._audioEventListener = {
|
|
33142
33152
|
type: Y.AudioStatusChange,
|
|
33143
33153
|
callback: function() {
|
|
33144
33154
|
return y.onSystemAudioChanged();
|
|
@@ -34240,7 +34250,7 @@ To resolve, you may need to:`,
|
|
|
34240
34250
|
S();
|
|
34241
34251
|
}, y;
|
|
34242
34252
|
}(qe)
|
|
34243
|
-
),
|
|
34253
|
+
), Bs = function(P) {
|
|
34244
34254
|
return _(void 0, void 0, void 0, function() {
|
|
34245
34255
|
var y, S, M;
|
|
34246
34256
|
return T(this, function(J) {
|
|
@@ -34291,7 +34301,7 @@ To resolve, you may need to:`,
|
|
|
34291
34301
|
}
|
|
34292
34302
|
});
|
|
34293
34303
|
});
|
|
34294
|
-
},
|
|
34304
|
+
}, Vs = function(P) {
|
|
34295
34305
|
return _(void 0, void 0, void 0, function() {
|
|
34296
34306
|
var y, S, M;
|
|
34297
34307
|
return T(this, function(J) {
|
|
@@ -34474,7 +34484,7 @@ const YP = ({ restored: n }) => {
|
|
|
34474
34484
|
}, [Q]), [q, Y] = be.useState({}), fe = be.useMemo(
|
|
34475
34485
|
() => n.modalityComponents ?? n.customModalities ?? {},
|
|
34476
34486
|
[n.modalityComponents, n.customModalities]
|
|
34477
|
-
), [Ie, We] = be.useState(!0), [
|
|
34487
|
+
), [Ie, We] = be.useState(!0), [re, Pe] = be.useState(0), me = () => {
|
|
34478
34488
|
o.reset({ clearResponses: !0 }), H(), A !== "voice" && n.initializeConversation(o, n.initialContext);
|
|
34479
34489
|
const de = o.currentConversationId();
|
|
34480
34490
|
sessionStorage.getItem("nlxConversationId") !== null && (de == null ? sessionStorage.removeItem("nlxConversationId") : sessionStorage.setItem("nlxConversationId", de)), de != null && sessionStorage.setItem("nlxActiveVoiceConversationId", de), Pe((O) => O + 1);
|
|
@@ -34526,7 +34536,7 @@ const YP = ({ restored: n }) => {
|
|
|
34526
34536
|
renderCollapse: n.onClose != null,
|
|
34527
34537
|
modalityComponents: fe
|
|
34528
34538
|
},
|
|
34529
|
-
|
|
34539
|
+
re
|
|
34530
34540
|
)
|
|
34531
34541
|
]
|
|
34532
34542
|
}
|
|
@@ -34672,7 +34682,7 @@ const YP = ({ restored: n }) => {
|
|
|
34672
34682
|
context: n.initialContext,
|
|
34673
34683
|
modalityComponents: fe
|
|
34674
34684
|
},
|
|
34675
|
-
|
|
34685
|
+
re
|
|
34676
34686
|
)
|
|
34677
34687
|
] })
|
|
34678
34688
|
]
|
|
@@ -34838,7 +34848,7 @@ var Uh, tR = (Uh = "indiana-scroll-container", function(n, e) {
|
|
|
34838
34848
|
r.pressed && (r.processMove(o, o.clientX, o.clientY), o.preventDefault(), r.props.stopPropagation && o.stopPropagation());
|
|
34839
34849
|
}, r.onMouseUp = function(o) {
|
|
34840
34850
|
r.pressed && (r.started ? r.processEnd() : (r.internal = !1, r.pressed = !1, r.forceUpdate(), r.props.onClick && r.props.onClick(o)), o.preventDefault(), r.props.stopPropagation && o.stopPropagation());
|
|
34841
|
-
}, r.container =
|
|
34851
|
+
}, r.container = Ms.createRef(), r.onEndScroll = eR(r.onEndScroll, 300), r.scrolling = !1, r.started = !1, r.pressed = !1, r.internal = !1, r.getRef = r.getRef.bind(r), r;
|
|
34842
34852
|
}
|
|
34843
34853
|
return function(t, r) {
|
|
34844
34854
|
function o() {
|
|
@@ -34888,7 +34898,7 @@ var Uh, tR = (Uh = "indiana-scroll-container", function(n, e) {
|
|
|
34888
34898
|
});
|
|
34889
34899
|
}, e.prototype.render = function() {
|
|
34890
34900
|
var t = this.props, r = t.children, o = t.draggingClassName, a = t.className, l = t.style, u = t.hideScrollbars, f = t.component;
|
|
34891
|
-
return
|
|
34901
|
+
return Ms.createElement(f, { className: ZP(a, this.pressed && o, tR({ dragging: this.pressed, "hide-scrollbars": u, "native-scroll": this.isMobile })), style: l, ref: this.getRef, onScroll: this.onScroll }, r);
|
|
34892
34902
|
}, e.defaultProps = { nativeMobileScroll: !0, hideScrollbars: !0, activationDistance: 10, vertical: !0, horizontal: !0, stopPropagation: !1, style: {}, component: "div", buttons: [0] }, e;
|
|
34893
34903
|
}(be.PureComponent);
|
|
34894
34904
|
const ck = be.createContext({ recentlyEndedScrolling: !1 }), uk = (n) => {
|
|
@@ -35346,14 +35356,14 @@ var rc = function(n) {
|
|
|
35346
35356
|
if (q === null || Y === null) throw new rc("The selection attributes have not been initialized.");
|
|
35347
35357
|
var fe, Ie = z.value;
|
|
35348
35358
|
if (G.inputType === void 0 && (z.selectionStart = 0, z.selectionEnd = Ie.length), q > z.selectionStart ? fe = "insert" : q <= z.selectionStart && q < z.selectionEnd ? fe = "deleteBackward" : q === z.selectionEnd && $.length < Ie.length && (fe = "deleteForward"), fe === void 0 || (fe === "deleteBackward" || fe === "deleteForward") && $.length > Ie.length) throw new rc("Input type detection error.");
|
|
35349
|
-
var We = "",
|
|
35359
|
+
var We = "", re = z.selectionStart, Pe = z.selectionEnd;
|
|
35350
35360
|
if (fe === "insert") We = $.slice(z.selectionStart, q);
|
|
35351
35361
|
else {
|
|
35352
35362
|
var me = Ie.length - $.length;
|
|
35353
|
-
|
|
35363
|
+
re = q, Pe = q + me;
|
|
35354
35364
|
}
|
|
35355
35365
|
A.value !== Ie ? A.options = A.fallbackOptions : A.fallbackOptions = A.options;
|
|
35356
|
-
var ce = A.options, Ce = r({ inputType: fe, previousValue: Ie, previousOptions: ce, value: $, addedValue: We, changeStart:
|
|
35366
|
+
var ce = A.options, Ce = r({ inputType: fe, previousValue: Ie, previousOptions: ce, value: $, addedValue: We, changeStart: re, changeEnd: Pe, selectionStart: q, selectionEnd: Y }), de = Ce.options, O = mR(Ce, gR);
|
|
35357
35367
|
a.value = O.value, a.setSelectionRange(O.selectionStart, O.selectionEnd), A.value = O.value, A.options = de, z.selectionStart = O.selectionStart, z.selectionEnd = O.selectionEnd, (se = a._valueTracker) === null || se === void 0 || (Q = se.setValue) === null || Q === void 0 || Q.call(se, Ie);
|
|
35358
35368
|
} catch (te) {
|
|
35359
35369
|
if (a.value = z.value, a.setSelectionRange(z.selectionStart, z.selectionEnd), G.preventDefault(), G.stopPropagation(), te.name !== "SyntheticChangeError") throw te;
|
|
@@ -35397,10 +35407,10 @@ var wk = function(n) {
|
|
|
35397
35407
|
}
|
|
35398
35408
|
se && (se = nc(se, { replacementChars: $, replacement: H, separate: ee }));
|
|
35399
35409
|
var fe = mk(G + f + se, { mask: A, replacement: H, separate: ee, showMask: z }), Ie = function(We) {
|
|
35400
|
-
var
|
|
35410
|
+
var re, Pe, me, ce = We.inputType, Ce = We.value, de = We.addedValue, O = We.beforeChangeValue, te = We.mask, Ve = We.replacement, Ke = We.separate, Xe = gk(Ce, { mask: te, replacement: Ve }).filter(function(At) {
|
|
35401
35411
|
var Ht = At.type;
|
|
35402
35412
|
return Ht === "input" || Ke && Ht === "replacement";
|
|
35403
|
-
}), Fe = (
|
|
35413
|
+
}), Fe = (re = Xe[O.length + de.length - 1]) === null || re === void 0 ? void 0 : re.index, et = (Pe = Xe[O.length - 1]) === null || Pe === void 0 ? void 0 : Pe.index, qe = (me = Xe[O.length + de.length]) === null || me === void 0 ? void 0 : me.index;
|
|
35404
35414
|
if (ce === "insert") {
|
|
35405
35415
|
if (Fe !== void 0) return Fe + 1;
|
|
35406
35416
|
if (qe !== void 0) return qe;
|
|
@@ -35442,7 +35452,7 @@ function kR() {
|
|
|
35442
35452
|
var wR = ["component", "mask", "replacement", "showMask", "separate", "track", "modify"];
|
|
35443
35453
|
function CR(n, e) {
|
|
35444
35454
|
var t = n.component, r = n.mask, o = n.replacement, a = n.showMask, l = n.separate, u = n.track, f = n.modify, p = pk(n, wR), g = kR({ mask: r, replacement: o, showMask: a, separate: l, track: u, modify: f }), C = yR(g, e);
|
|
35445
|
-
return t ?
|
|
35455
|
+
return t ? Ms.createElement(t, Sd({ ref: C }, p)) : Ms.createElement("input", Sd({ ref: C }, p));
|
|
35446
35456
|
}
|
|
35447
35457
|
var SR = be.forwardRef(CR);
|
|
35448
35458
|
const TR = {
|
|
@@ -35556,7 +35566,7 @@ const TR = {
|
|
|
35556
35566
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
35557
35567
|
_w.bind((e, ...t) => be.createElement(n[e] ?? e, ...t))
|
|
35558
35568
|
), UR = PR({
|
|
35559
|
-
TextButton:
|
|
35569
|
+
TextButton: Os,
|
|
35560
35570
|
IconButton: xn,
|
|
35561
35571
|
BaseText: gc,
|
|
35562
35572
|
SmallText: QP,
|
|
@@ -35619,10 +35629,10 @@ var Va, bc, Xi, za, kc, Pp;
|
|
|
35619
35629
|
class AR extends HTMLElement {
|
|
35620
35630
|
constructor() {
|
|
35621
35631
|
super(...arguments);
|
|
35622
|
-
|
|
35623
|
-
|
|
35624
|
-
|
|
35625
|
-
|
|
35632
|
+
xa(this, kc);
|
|
35633
|
+
xa(this, Va, null);
|
|
35634
|
+
xa(this, bc, null);
|
|
35635
|
+
xa(this, Xi, null);
|
|
35626
35636
|
/**
|
|
35627
35637
|
* Returns an imperative reference allowing control over the application
|
|
35628
35638
|
* @internal
|
|
@@ -35648,7 +35658,7 @@ class AR extends HTMLElement {
|
|
|
35648
35658
|
*/
|
|
35649
35659
|
kt(this, "enableSettings", !1);
|
|
35650
35660
|
// TODO: revisit enabled vs. enableSettings naming
|
|
35651
|
-
|
|
35661
|
+
xa(this, za, !0);
|
|
35652
35662
|
}
|
|
35653
35663
|
/**
|
|
35654
35664
|
* Disable the whole UI
|
|
@@ -35745,10 +35755,10 @@ export {
|
|
|
35745
35755
|
xn as IconButton,
|
|
35746
35756
|
rS as Icons,
|
|
35747
35757
|
jR as PreviewContainer,
|
|
35748
|
-
|
|
35758
|
+
Ms as React,
|
|
35749
35759
|
ac as Ripple,
|
|
35750
35760
|
QP as SmallText,
|
|
35751
|
-
|
|
35761
|
+
Os as TextButton,
|
|
35752
35762
|
VP as analyzePageForms,
|
|
35753
35763
|
BR as create,
|
|
35754
35764
|
UR as html,
|