@myinterview/chatbot 0.1.48 → 0.1.49-experimental-db1b60f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +656 -656
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2786,12 +2786,12 @@ function Iq(e, t = {}) {
|
|
|
2786
2786
|
let k = 0;
|
|
2787
2787
|
$.forEach((C) => {
|
|
2788
2788
|
C.isRecording() && (C.setStatus({ code: lo, message: "cancelled" }), C.end(w), Dr && qt.log("[Tracing] Cancelling span since span ended early", JSON.stringify(C, void 0, 2)));
|
|
2789
|
-
const A = li(C), { timestamp: D = 0, start_timestamp: B = 0 } = A,
|
|
2789
|
+
const A = li(C), { timestamp: D = 0, start_timestamp: B = 0 } = A, re = B <= w, J = (c + s) / 1e3, G = D - B < J;
|
|
2790
2790
|
if (Dr) {
|
|
2791
2791
|
const Q = JSON.stringify(C, void 0, 2);
|
|
2792
|
-
|
|
2792
|
+
re ? G || qt.log("[Tracing] Discarding span since it finished after idle span final timeout", Q) : qt.log("[Tracing] Discarding span since it happened after idle span was finished", Q);
|
|
2793
2793
|
}
|
|
2794
|
-
(!G || !
|
|
2794
|
+
(!G || !re) && (wle(h, C), k++);
|
|
2795
2795
|
}), k > 0 && h.setAttribute("sentry.idle_span_discarded_spans", k);
|
|
2796
2796
|
}
|
|
2797
2797
|
return d.on("spanStart", (_) => {
|
|
@@ -9019,18 +9019,18 @@ function sh(e, t) {
|
|
|
9019
9019
|
return console.warn(e, "not serialized"), null;
|
|
9020
9020
|
let B;
|
|
9021
9021
|
n.hasNode(e) ? B = n.getId(e) : D0e(D, b) || !A && D.type === Zi.Text && !D.isStyle && !D.textContent.replace(/^\s+|\s+$/gm, "").length ? B = mv : B = bO();
|
|
9022
|
-
const
|
|
9023
|
-
if (n.add(e,
|
|
9022
|
+
const re = Object.assign(D, { id: B });
|
|
9023
|
+
if (n.add(e, re), B === mv)
|
|
9024
9024
|
return null;
|
|
9025
9025
|
_ && _(e);
|
|
9026
9026
|
let J = !f;
|
|
9027
|
-
if (
|
|
9028
|
-
J = J && !
|
|
9027
|
+
if (re.type === Zi.Element) {
|
|
9028
|
+
J = J && !re.needBlock, delete re.needBlock;
|
|
9029
9029
|
const G = e.shadowRoot;
|
|
9030
|
-
G && L0(G) && (
|
|
9030
|
+
G && L0(G) && (re.isShadowHost = !0);
|
|
9031
9031
|
}
|
|
9032
|
-
if ((
|
|
9033
|
-
b.headWhitespace &&
|
|
9032
|
+
if ((re.type === Zi.Document || re.type === Zi.Element) && J) {
|
|
9033
|
+
b.headWhitespace && re.type === Zi.Element && re.tagName === "head" && (A = !1);
|
|
9034
9034
|
const G = {
|
|
9035
9035
|
doc: r,
|
|
9036
9036
|
mirror: n,
|
|
@@ -9062,15 +9062,15 @@ function sh(e, t) {
|
|
|
9062
9062
|
};
|
|
9063
9063
|
for (const Q of Array.from(e.childNodes)) {
|
|
9064
9064
|
const R = sh(Q, G);
|
|
9065
|
-
R &&
|
|
9065
|
+
R && re.childNodes.push(R);
|
|
9066
9066
|
}
|
|
9067
9067
|
if (s0e(e) && e.shadowRoot)
|
|
9068
9068
|
for (const Q of Array.from(e.shadowRoot.childNodes)) {
|
|
9069
9069
|
const R = sh(Q, G);
|
|
9070
|
-
R && (L0(e.shadowRoot) && (R.isShadow = !0),
|
|
9070
|
+
R && (L0(e.shadowRoot) && (R.isShadow = !0), re.childNodes.push(R));
|
|
9071
9071
|
}
|
|
9072
9072
|
}
|
|
9073
|
-
return e.parentNode && j0(e.parentNode) && L0(e.parentNode) && (
|
|
9073
|
+
return e.parentNode && j0(e.parentNode) && L0(e.parentNode) && (re.isShadow = !0), re.type === Zi.Element && re.tagName === "iframe" && R0e(e, () => {
|
|
9074
9074
|
const G = e.contentDocument;
|
|
9075
9075
|
if (G && w) {
|
|
9076
9076
|
const Q = sh(G, {
|
|
@@ -9104,7 +9104,7 @@ function sh(e, t) {
|
|
|
9104
9104
|
});
|
|
9105
9105
|
Q && w(e, Q);
|
|
9106
9106
|
}
|
|
9107
|
-
}, v),
|
|
9107
|
+
}, v), re.type === Zi.Element && re.tagName === "link" && re.attributes.rel === "stylesheet" && C0e(e, () => {
|
|
9108
9108
|
if (O) {
|
|
9109
9109
|
const G = sh(e, {
|
|
9110
9110
|
doc: r,
|
|
@@ -9137,7 +9137,7 @@ function sh(e, t) {
|
|
|
9137
9137
|
});
|
|
9138
9138
|
G && O(e, G);
|
|
9139
9139
|
}
|
|
9140
|
-
}, $),
|
|
9140
|
+
}, $), re;
|
|
9141
9141
|
}
|
|
9142
9142
|
function M0e(e, t) {
|
|
9143
9143
|
const { mirror: r = new NG(), blockClass: n = "rr-block", blockSelector: i = null, unblockSelector: o = null, maskAllText: a = !1, maskTextClass: s = "rr-mask", unmaskTextClass: c = null, maskTextSelector: u = null, unmaskTextSelector: l = null, inlineStylesheet: d = !0, inlineImages: f = !1, recordCanvas: p = !1, maskAllInputs: h = !1, maskAttributeFn: m, maskTextFn: y, maskInputFn: g, slimDOM: b = !1, dataURLOptions: T, preserveWhiteSpace: S, onSerialize: E, onIframeLoad: _, iframeLoadTimeout: w, onStylesheetLoad: v, stylesheetLoadTimeout: O, keepIframeSrcFn: $ = () => !1 } = t || {};
|
|
@@ -9942,9 +9942,9 @@ function Z0e({ inputCb: e, doc: t, mirror: r, blockClass: n, blockSelector: i, u
|
|
|
9942
9942
|
maskInputOptions: c,
|
|
9943
9943
|
tagName: $,
|
|
9944
9944
|
type: C
|
|
9945
|
-
}),
|
|
9945
|
+
}), re = nm(v, f, h, p, m, B);
|
|
9946
9946
|
(C === "radio" || C === "checkbox") && (D = v.checked), A = hv({
|
|
9947
|
-
isMasked:
|
|
9947
|
+
isMasked: re,
|
|
9948
9948
|
element: v,
|
|
9949
9949
|
value: A,
|
|
9950
9950
|
maskInputFn: u
|
|
@@ -9953,7 +9953,7 @@ function Z0e({ inputCb: e, doc: t, mirror: r, blockClass: n, blockSelector: i, u
|
|
|
9953
9953
|
C === "radio" && J && D && t.querySelectorAll(`input[type="radio"][name="${J}"]`).forEach((G) => {
|
|
9954
9954
|
if (G !== v) {
|
|
9955
9955
|
const Q = hv({
|
|
9956
|
-
isMasked:
|
|
9956
|
+
isMasked: re,
|
|
9957
9957
|
element: G,
|
|
9958
9958
|
value: G_(G, $, C),
|
|
9959
9959
|
maskInputFn: u
|
|
@@ -10631,7 +10631,7 @@ let sve = class {
|
|
|
10631
10631
|
}, Si, J_;
|
|
10632
10632
|
const Is = p0e();
|
|
10633
10633
|
function Hl(e = {}) {
|
|
10634
|
-
const { emit: t, checkoutEveryNms: r, checkoutEveryNth: n, blockClass: i = "rr-block", blockSelector: o = null, unblockSelector: a = null, ignoreClass: s = "rr-ignore", ignoreSelector: c = null, maskAllText: u = !1, maskTextClass: l = "rr-mask", unmaskTextClass: d = null, maskTextSelector: f = null, unmaskTextSelector: p = null, inlineStylesheet: h = !0, maskAllInputs: m, maskInputOptions: y, slimDOMOptions: g, maskAttributeFn: b, maskInputFn: T, maskTextFn: S, maxCanvasSize: E = null, packFn: _, sampling: w = {}, dataURLOptions: v = {}, mousemoveWait: O, recordCanvas: $ = !1, recordCrossOriginIframes: k = !1, recordAfter: C = e.recordAfter === "DOMContentLoaded" ? e.recordAfter : "load", userTriggeredOnInput: A = !1, collectFonts: D = !1, inlineImages: B = !1, plugins:
|
|
10634
|
+
const { emit: t, checkoutEveryNms: r, checkoutEveryNth: n, blockClass: i = "rr-block", blockSelector: o = null, unblockSelector: a = null, ignoreClass: s = "rr-ignore", ignoreSelector: c = null, maskAllText: u = !1, maskTextClass: l = "rr-mask", unmaskTextClass: d = null, maskTextSelector: f = null, unmaskTextSelector: p = null, inlineStylesheet: h = !0, maskAllInputs: m, maskInputOptions: y, slimDOMOptions: g, maskAttributeFn: b, maskInputFn: T, maskTextFn: S, maxCanvasSize: E = null, packFn: _, sampling: w = {}, dataURLOptions: v = {}, mousemoveWait: O, recordCanvas: $ = !1, recordCrossOriginIframes: k = !1, recordAfter: C = e.recordAfter === "DOMContentLoaded" ? e.recordAfter : "load", userTriggeredOnInput: A = !1, collectFonts: D = !1, inlineImages: B = !1, plugins: re, keepIframeSrcFn: J = () => !1, ignoreCSSAttributes: G = /* @__PURE__ */ new Set([]), errorHandler: Q, onMutation: R, getCanvasManager: I } = e;
|
|
10635
10635
|
G0e(Q);
|
|
10636
10636
|
const U = k ? window.parent === window : !0;
|
|
10637
10637
|
let ie = !1;
|
|
@@ -10677,7 +10677,7 @@ function Hl(e = {}) {
|
|
|
10677
10677
|
L0e();
|
|
10678
10678
|
let x, pe = 0;
|
|
10679
10679
|
const ce = (Ve) => {
|
|
10680
|
-
for (const Pe of
|
|
10680
|
+
for (const Pe of re || [])
|
|
10681
10681
|
Pe.eventProcessor && (Ve = Pe.eventProcessor(Ve));
|
|
10682
10682
|
return _ && !ie && (Ve = _(Ve)), Ve;
|
|
10683
10683
|
};
|
|
@@ -10740,7 +10740,7 @@ function Hl(e = {}) {
|
|
|
10740
10740
|
recordCrossOriginIframes: k,
|
|
10741
10741
|
wrappedEmit: Si
|
|
10742
10742
|
});
|
|
10743
|
-
for (const Ve of
|
|
10743
|
+
for (const Ve of re || [])
|
|
10744
10744
|
Ve.getMirror && Ve.getMirror({
|
|
10745
10745
|
nodeMirror: Is,
|
|
10746
10746
|
crossOriginIframeMirror: ye.crossOriginIframeMirror,
|
|
@@ -10956,7 +10956,7 @@ function Hl(e = {}) {
|
|
|
10956
10956
|
canvasManager: he,
|
|
10957
10957
|
ignoreCSSAttributes: G,
|
|
10958
10958
|
plugins: s6([
|
|
10959
|
-
|
|
10959
|
+
re,
|
|
10960
10960
|
"optionalAccess",
|
|
10961
10961
|
(De) => De.filter,
|
|
10962
10962
|
"call",
|
|
@@ -13500,12 +13500,12 @@ let SK = class EK {
|
|
|
13500
13500
|
maskInputOptions: { password: !0 },
|
|
13501
13501
|
maskTextFn: k,
|
|
13502
13502
|
maskInputFn: k,
|
|
13503
|
-
maskAttributeFn: (B,
|
|
13503
|
+
maskAttributeFn: (B, re, J) => dye({
|
|
13504
13504
|
maskAttributes: _,
|
|
13505
13505
|
maskAllText: u,
|
|
13506
13506
|
privacyOptions: D,
|
|
13507
13507
|
key: B,
|
|
13508
|
-
value:
|
|
13508
|
+
value: re,
|
|
13509
13509
|
el: J
|
|
13510
13510
|
}),
|
|
13511
13511
|
...D,
|
|
@@ -14745,7 +14745,7 @@ function n2e() {
|
|
|
14745
14745
|
}
|
|
14746
14746
|
}
|
|
14747
14747
|
}
|
|
14748
|
-
var E = c, _ = u, w = s, v = a, O = t, $ = l, k = n, C = h, A = p, D = r, B = o,
|
|
14748
|
+
var E = c, _ = u, w = s, v = a, O = t, $ = l, k = n, C = h, A = p, D = r, B = o, re = i, J = d, G = !1;
|
|
14749
14749
|
function Q(_e) {
|
|
14750
14750
|
return G || (G = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), R(_e) || S(_e) === c;
|
|
14751
14751
|
}
|
|
@@ -14785,7 +14785,7 @@ function n2e() {
|
|
|
14785
14785
|
function de(_e) {
|
|
14786
14786
|
return S(_e) === d;
|
|
14787
14787
|
}
|
|
14788
|
-
fn.AsyncMode = E, fn.ConcurrentMode = _, fn.ContextConsumer = w, fn.ContextProvider = v, fn.Element = O, fn.ForwardRef = $, fn.Fragment = k, fn.Lazy = C, fn.Memo = A, fn.Portal = D, fn.Profiler = B, fn.StrictMode =
|
|
14788
|
+
fn.AsyncMode = E, fn.ConcurrentMode = _, fn.ContextConsumer = w, fn.ContextProvider = v, fn.Element = O, fn.ForwardRef = $, fn.Fragment = k, fn.Lazy = C, fn.Memo = A, fn.Portal = D, fn.Profiler = B, fn.StrictMode = re, fn.Suspense = J, fn.isAsyncMode = Q, fn.isConcurrentMode = R, fn.isContextConsumer = I, fn.isContextProvider = U, fn.isElement = ie, fn.isForwardRef = L, fn.isFragment = se, fn.isLazy = x, fn.isMemo = pe, fn.isPortal = ce, fn.isProfiler = fe, fn.isStrictMode = $e, fn.isSuspense = de, fn.isValidElementType = T, fn.typeOf = S;
|
|
14789
14789
|
}()), fn;
|
|
14790
14790
|
}
|
|
14791
14791
|
process.env.NODE_ENV === "production" ? oS.exports = r2e() : oS.exports = n2e();
|
|
@@ -15090,7 +15090,7 @@ function h2e() {
|
|
|
15090
15090
|
}
|
|
15091
15091
|
function g(R) {
|
|
15092
15092
|
function I(U, ie, L, se, x, pe) {
|
|
15093
|
-
var ce = U[ie], fe =
|
|
15093
|
+
var ce = U[ie], fe = re(ce);
|
|
15094
15094
|
if (fe !== R) {
|
|
15095
15095
|
var $e = J(ce);
|
|
15096
15096
|
return new m(
|
|
@@ -15111,7 +15111,7 @@ function h2e() {
|
|
|
15111
15111
|
return new m("Property `" + x + "` of component `" + L + "` has invalid PropType notation inside arrayOf.");
|
|
15112
15112
|
var pe = U[ie];
|
|
15113
15113
|
if (!Array.isArray(pe)) {
|
|
15114
|
-
var ce =
|
|
15114
|
+
var ce = re(pe);
|
|
15115
15115
|
return new m("Invalid " + se + " `" + x + "` of type " + ("`" + ce + "` supplied to `" + L + "`, expected an array."));
|
|
15116
15116
|
}
|
|
15117
15117
|
for (var fe = 0; fe < pe.length; fe++) {
|
|
@@ -15127,7 +15127,7 @@ function h2e() {
|
|
|
15127
15127
|
function R(I, U, ie, L, se) {
|
|
15128
15128
|
var x = I[U];
|
|
15129
15129
|
if (!s(x)) {
|
|
15130
|
-
var pe =
|
|
15130
|
+
var pe = re(x);
|
|
15131
15131
|
return new m("Invalid " + L + " `" + se + "` of type " + ("`" + pe + "` supplied to `" + ie + "`, expected a single ReactElement."));
|
|
15132
15132
|
}
|
|
15133
15133
|
return null;
|
|
@@ -15138,7 +15138,7 @@ function h2e() {
|
|
|
15138
15138
|
function R(I, U, ie, L, se) {
|
|
15139
15139
|
var x = I[U];
|
|
15140
15140
|
if (!e.isValidElementType(x)) {
|
|
15141
|
-
var pe =
|
|
15141
|
+
var pe = re(x);
|
|
15142
15142
|
return new m("Invalid " + L + " `" + se + "` of type " + ("`" + pe + "` supplied to `" + ie + "`, expected a single ReactElement type."));
|
|
15143
15143
|
}
|
|
15144
15144
|
return null;
|
|
@@ -15176,7 +15176,7 @@ function h2e() {
|
|
|
15176
15176
|
function I(U, ie, L, se, x) {
|
|
15177
15177
|
if (typeof R != "function")
|
|
15178
15178
|
return new m("Property `" + x + "` of component `" + L + "` has invalid PropType notation inside objectOf.");
|
|
15179
|
-
var pe = U[ie], ce =
|
|
15179
|
+
var pe = U[ie], ce = re(pe);
|
|
15180
15180
|
if (ce !== "object")
|
|
15181
15181
|
return new m("Invalid " + se + " `" + x + "` of type " + ("`" + ce + "` supplied to `" + L + "`, expected an object."));
|
|
15182
15182
|
for (var fe in pe)
|
|
@@ -15224,7 +15224,7 @@ function h2e() {
|
|
|
15224
15224
|
}
|
|
15225
15225
|
function C(R) {
|
|
15226
15226
|
function I(U, ie, L, se, x) {
|
|
15227
|
-
var pe = U[ie], ce =
|
|
15227
|
+
var pe = U[ie], ce = re(pe);
|
|
15228
15228
|
if (ce !== "object")
|
|
15229
15229
|
return new m("Invalid " + se + " `" + x + "` of type `" + ce + "` " + ("supplied to `" + L + "`, expected `object`."));
|
|
15230
15230
|
for (var fe in R) {
|
|
@@ -15241,7 +15241,7 @@ function h2e() {
|
|
|
15241
15241
|
}
|
|
15242
15242
|
function A(R) {
|
|
15243
15243
|
function I(U, ie, L, se, x) {
|
|
15244
|
-
var pe = U[ie], ce =
|
|
15244
|
+
var pe = U[ie], ce = re(pe);
|
|
15245
15245
|
if (ce !== "object")
|
|
15246
15246
|
return new m("Invalid " + se + " `" + x + "` of type `" + ce + "` " + ("supplied to `" + L + "`, expected `object`."));
|
|
15247
15247
|
var fe = t({}, U[ie], R);
|
|
@@ -15298,14 +15298,14 @@ Valid keys: ` + JSON.stringify(Object.keys(R), null, " ")
|
|
|
15298
15298
|
function B(R, I) {
|
|
15299
15299
|
return R === "symbol" ? !0 : I ? I["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && I instanceof Symbol : !1;
|
|
15300
15300
|
}
|
|
15301
|
-
function
|
|
15301
|
+
function re(R) {
|
|
15302
15302
|
var I = typeof R;
|
|
15303
15303
|
return Array.isArray(R) ? "array" : R instanceof RegExp ? "object" : B(I, R) ? "symbol" : I;
|
|
15304
15304
|
}
|
|
15305
15305
|
function J(R) {
|
|
15306
15306
|
if (typeof R > "u" || R === null)
|
|
15307
15307
|
return "" + R;
|
|
15308
|
-
var I =
|
|
15308
|
+
var I = re(R);
|
|
15309
15309
|
if (I === "object") {
|
|
15310
15310
|
if (R instanceof Date)
|
|
15311
15311
|
return "date";
|
|
@@ -15661,8 +15661,8 @@ function A2e() {
|
|
|
15661
15661
|
var D = E, B = _;
|
|
15662
15662
|
if (r(D, k))
|
|
15663
15663
|
return B;
|
|
15664
|
-
var
|
|
15665
|
-
return p !== void 0 && p(B,
|
|
15664
|
+
var re = f(k);
|
|
15665
|
+
return p !== void 0 && p(B, re) ? B : (E = k, _ = re, re);
|
|
15666
15666
|
}, v = d === void 0 ? null : d, O = function() {
|
|
15667
15667
|
return w(l());
|
|
15668
15668
|
}, $ = v === null ? void 0 : function() {
|
|
@@ -17546,7 +17546,7 @@ var MX = { exports: {} };
|
|
|
17546
17546
|
};
|
|
17547
17547
|
1 in Q && (R.catchLoc = Q[1]), 2 in Q && (R.finallyLoc = Q[2], R.afterLoc = Q[3]), this.tryEntries.push(R);
|
|
17548
17548
|
}
|
|
17549
|
-
function
|
|
17549
|
+
function re(Q) {
|
|
17550
17550
|
var R = Q.completion || {};
|
|
17551
17551
|
R.type = "normal", delete R.arg, Q.completion = R;
|
|
17552
17552
|
}
|
|
@@ -17616,7 +17616,7 @@ var MX = { exports: {} };
|
|
|
17616
17616
|
}, i.values = G, J.prototype = {
|
|
17617
17617
|
constructor: J,
|
|
17618
17618
|
reset: function(R) {
|
|
17619
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = n, this.done = !1, this.delegate = null, this.method = "next", this.arg = n, this.tryEntries.forEach(
|
|
17619
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = n, this.done = !1, this.delegate = null, this.method = "next", this.arg = n, this.tryEntries.forEach(re), !R)
|
|
17620
17620
|
for (var I in this)
|
|
17621
17621
|
I.charAt(0) === "t" && a.call(this, I) && !isNaN(+I.slice(1)) && (this[I] = n);
|
|
17622
17622
|
},
|
|
@@ -17678,7 +17678,7 @@ var MX = { exports: {} };
|
|
|
17678
17678
|
for (var I = this.tryEntries.length - 1; I >= 0; --I) {
|
|
17679
17679
|
var U = this.tryEntries[I];
|
|
17680
17680
|
if (U.finallyLoc === R)
|
|
17681
|
-
return this.complete(U.completion, U.afterLoc),
|
|
17681
|
+
return this.complete(U.completion, U.afterLoc), re(U), T;
|
|
17682
17682
|
}
|
|
17683
17683
|
},
|
|
17684
17684
|
catch: function(R) {
|
|
@@ -17688,7 +17688,7 @@ var MX = { exports: {} };
|
|
|
17688
17688
|
var ie = U.completion;
|
|
17689
17689
|
if (ie.type === "throw") {
|
|
17690
17690
|
var L = ie.arg;
|
|
17691
|
-
|
|
17691
|
+
re(U);
|
|
17692
17692
|
}
|
|
17693
17693
|
return L;
|
|
17694
17694
|
}
|
|
@@ -19432,8 +19432,8 @@ xk.ReplayEventEmitter = rke;
|
|
|
19432
19432
|
var s3 = { exports: {} };
|
|
19433
19433
|
s3.exports;
|
|
19434
19434
|
(function(e, t) {
|
|
19435
|
-
var r = 200, n = "__lodash_hash_undefined__", i = 1, o = 2, a = 9007199254740991, s = "[object Arguments]", c = "[object Array]", u = "[object AsyncFunction]", l = "[object Boolean]", d = "[object Date]", f = "[object Error]", p = "[object Function]", h = "[object GeneratorFunction]", m = "[object Map]", y = "[object Number]", g = "[object Null]", b = "[object Object]", T = "[object Promise]", S = "[object Proxy]", E = "[object RegExp]", _ = "[object Set]", w = "[object String]", v = "[object Symbol]", O = "[object Undefined]", $ = "[object WeakMap]", k = "[object ArrayBuffer]", C = "[object DataView]", A = "[object Float32Array]", D = "[object Float64Array]", B = "[object Int8Array]",
|
|
19436
|
-
se[A] = se[D] = se[B] = se[
|
|
19435
|
+
var r = 200, n = "__lodash_hash_undefined__", i = 1, o = 2, a = 9007199254740991, s = "[object Arguments]", c = "[object Array]", u = "[object AsyncFunction]", l = "[object Boolean]", d = "[object Date]", f = "[object Error]", p = "[object Function]", h = "[object GeneratorFunction]", m = "[object Map]", y = "[object Number]", g = "[object Null]", b = "[object Object]", T = "[object Promise]", S = "[object Proxy]", E = "[object RegExp]", _ = "[object Set]", w = "[object String]", v = "[object Symbol]", O = "[object Undefined]", $ = "[object WeakMap]", k = "[object ArrayBuffer]", C = "[object DataView]", A = "[object Float32Array]", D = "[object Float64Array]", B = "[object Int8Array]", re = "[object Int16Array]", J = "[object Int32Array]", G = "[object Uint8Array]", Q = "[object Uint8ClampedArray]", R = "[object Uint16Array]", I = "[object Uint32Array]", U = /[\\^$.*+?()[\]{}|]/g, ie = /^\[object .+?Constructor\]$/, L = /^(?:0|[1-9]\d*)$/, se = {};
|
|
19436
|
+
se[A] = se[D] = se[B] = se[re] = se[J] = se[G] = se[Q] = se[R] = se[I] = !0, se[s] = se[c] = se[k] = se[l] = se[C] = se[d] = se[f] = se[p] = se[m] = se[y] = se[b] = se[E] = se[_] = se[w] = se[$] = !1;
|
|
19437
19437
|
var x = typeof no == "object" && no && no.Object === Object && no, pe = typeof self == "object" && self && self.Object === Object && self, ce = x || pe || Function("return this")(), fe = t && !t.nodeType && t, $e = fe && !0 && e && !e.nodeType && e, de = $e && $e.exports === fe, _e = de && x.process, xe = function() {
|
|
19438
19438
|
try {
|
|
19439
19439
|
return _e && _e.binding && _e.binding("util");
|
|
@@ -19647,7 +19647,7 @@ s3.exports;
|
|
|
19647
19647
|
return le(be) ? Wt : he(Wt, mt(be));
|
|
19648
19648
|
}
|
|
19649
19649
|
function tt(be) {
|
|
19650
|
-
return be == null ? be === void 0 ? O : g : Fe && Fe in Object(be) ? hp(be) :
|
|
19650
|
+
return be == null ? be === void 0 ? O : g : Fe && Fe in Object(be) ? hp(be) : ne(be);
|
|
19651
19651
|
}
|
|
19652
19652
|
function Et(be) {
|
|
19653
19653
|
return Ss(be) && tt(be) == s;
|
|
@@ -19848,7 +19848,7 @@ s3.exports;
|
|
|
19848
19848
|
var Be = be && be.constructor, mt = typeof Be == "function" && Be.prototype || ct;
|
|
19849
19849
|
return be === mt;
|
|
19850
19850
|
}
|
|
19851
|
-
function
|
|
19851
|
+
function ne(be) {
|
|
19852
19852
|
return Ht.call(be);
|
|
19853
19853
|
}
|
|
19854
19854
|
function ee(be) {
|
|
@@ -22398,7 +22398,7 @@ m3.exports;
|
|
|
22398
22398
|
$ && (O = v, v = null);
|
|
22399
22399
|
var k = O.navigator || {}, C = k.userAgent || "";
|
|
22400
22400
|
v || (v = C);
|
|
22401
|
-
var A = $ ? !!k.likeChrome : /\bChrome\b/.test(v) && !/internal|\n/i.test(d.toString()), D = "Object", B = $ ? D : "ScriptBridgingProxyObject",
|
|
22401
|
+
var A = $ ? !!k.likeChrome : /\bChrome\b/.test(v) && !/internal|\n/i.test(d.toString()), D = "Object", B = $ ? D : "ScriptBridgingProxyObject", re = $ ? D : "Environment", J = $ && O.java ? "JavaPackage" : g(O.java), G = $ ? D : "RuntimeObject", Q = /\bJava/.test(J) && O.java, R = Q && g(O.environment) == re, I = Q ? "a" : "α", U = Q ? "b" : "β", ie = O.document || {}, L = O.operamini || O.opera, se = c.test(se = $ && L ? L["[[Class]]"] : g(L)) ? se : L = null, x, pe = v, ce = [], fe = null, $e = v == C, de = $e && L && typeof L.version == "function" && L.version(), _e, xe = Ue([
|
|
22402
22402
|
{ label: "EdgeHTML", pattern: "Edge" },
|
|
22403
22403
|
"Trident",
|
|
22404
22404
|
{ label: "WebKit", pattern: "AppleWebKit" },
|
|
@@ -22850,30 +22850,30 @@ This software includes loglevel under the following license.
|
|
|
22850
22850
|
if (ve && ve.__esModule)
|
|
22851
22851
|
return ve;
|
|
22852
22852
|
var we = /* @__PURE__ */ Object.create(null);
|
|
22853
|
-
return ve && Object.keys(ve).forEach(function(
|
|
22854
|
-
if (
|
|
22855
|
-
var ee = Object.getOwnPropertyDescriptor(ve,
|
|
22856
|
-
Object.defineProperty(we,
|
|
22853
|
+
return ve && Object.keys(ve).forEach(function(ne) {
|
|
22854
|
+
if (ne !== "default") {
|
|
22855
|
+
var ee = Object.getOwnPropertyDescriptor(ve, ne);
|
|
22856
|
+
Object.defineProperty(we, ne, ee.get ? ee : {
|
|
22857
22857
|
enumerable: !0,
|
|
22858
22858
|
get: function() {
|
|
22859
|
-
return ve[
|
|
22859
|
+
return ve[ne];
|
|
22860
22860
|
}
|
|
22861
22861
|
});
|
|
22862
22862
|
}
|
|
22863
22863
|
}), we.default = ve, Object.freeze(we);
|
|
22864
22864
|
}
|
|
22865
|
-
var _ = /* @__PURE__ */ S(r), w = /* @__PURE__ */ S(n), v = /* @__PURE__ */ S(i), O = /* @__PURE__ */ S(o), $ = /* @__PURE__ */ S(a), k = /* @__PURE__ */ S(s), C = /* @__PURE__ */ S(c), A = /* @__PURE__ */ S(u), D = /* @__PURE__ */ S(l), B = /* @__PURE__ */ S(d),
|
|
22866
|
-
function I(ve, we,
|
|
22867
|
-
var Z = arguments.length, ge = Z < 3 ? we : ee === null ? ee = Object.getOwnPropertyDescriptor(we,
|
|
22868
|
-
if ((typeof Reflect > "u" ? "undefined" :
|
|
22869
|
-
ge = Reflect.decorate(ve, we,
|
|
22865
|
+
var _ = /* @__PURE__ */ S(r), w = /* @__PURE__ */ S(n), v = /* @__PURE__ */ S(i), O = /* @__PURE__ */ S(o), $ = /* @__PURE__ */ S(a), k = /* @__PURE__ */ S(s), C = /* @__PURE__ */ S(c), A = /* @__PURE__ */ S(u), D = /* @__PURE__ */ S(l), B = /* @__PURE__ */ S(d), re = /* @__PURE__ */ S(f), J = /* @__PURE__ */ E(h), G = /* @__PURE__ */ E(m), Q = /* @__PURE__ */ S(g), R = /* @__PURE__ */ E(T);
|
|
22866
|
+
function I(ve, we, ne, ee) {
|
|
22867
|
+
var Z = arguments.length, ge = Z < 3 ? we : ee === null ? ee = Object.getOwnPropertyDescriptor(we, ne) : ee, le;
|
|
22868
|
+
if ((typeof Reflect > "u" ? "undefined" : re.default(Reflect)) === "object" && typeof Reflect.decorate == "function")
|
|
22869
|
+
ge = Reflect.decorate(ve, we, ne, ee);
|
|
22870
22870
|
else
|
|
22871
22871
|
for (var Qe = ve.length - 1; Qe >= 0; Qe--)
|
|
22872
|
-
(le = ve[Qe]) && (ge = (Z < 3 ? le(ge) : Z > 3 ? le(we,
|
|
22873
|
-
return Z > 3 && ge && Object.defineProperty(we,
|
|
22872
|
+
(le = ve[Qe]) && (ge = (Z < 3 ? le(ge) : Z > 3 ? le(we, ne, ge) : le(we, ne)) || ge);
|
|
22873
|
+
return Z > 3 && ge && Object.defineProperty(we, ne, ge), ge;
|
|
22874
22874
|
}
|
|
22875
22875
|
function U(ve, we) {
|
|
22876
|
-
if ((typeof Reflect > "u" ? "undefined" :
|
|
22876
|
+
if ((typeof Reflect > "u" ? "undefined" : re.default(Reflect)) === "object" && typeof Reflect.metadata == "function")
|
|
22877
22877
|
return Reflect.metadata(ve, we);
|
|
22878
22878
|
}
|
|
22879
22879
|
var ie;
|
|
@@ -22896,55 +22896,55 @@ This software includes loglevel under the following license.
|
|
|
22896
22896
|
se.prototype.getMaxListeners = function() {
|
|
22897
22897
|
return x(this);
|
|
22898
22898
|
};
|
|
22899
|
-
function pe(ve, we,
|
|
22899
|
+
function pe(ve, we, ne) {
|
|
22900
22900
|
if (we)
|
|
22901
|
-
ve.call(
|
|
22901
|
+
ve.call(ne);
|
|
22902
22902
|
else
|
|
22903
22903
|
for (var ee = ve.length, Z = ue(ve, ee), ge = 0; ge < ee; ++ge)
|
|
22904
|
-
Z[ge].call(
|
|
22904
|
+
Z[ge].call(ne);
|
|
22905
22905
|
}
|
|
22906
|
-
function ce(ve, we,
|
|
22906
|
+
function ce(ve, we, ne, ee) {
|
|
22907
22907
|
if (we)
|
|
22908
|
-
ve.call(
|
|
22908
|
+
ve.call(ne, ee);
|
|
22909
22909
|
else
|
|
22910
22910
|
for (var Z = ve.length, ge = ue(ve, Z), le = 0; le < Z; ++le)
|
|
22911
|
-
ge[le].call(
|
|
22911
|
+
ge[le].call(ne, ee);
|
|
22912
22912
|
}
|
|
22913
|
-
function fe(ve, we,
|
|
22913
|
+
function fe(ve, we, ne, ee, Z) {
|
|
22914
22914
|
if (we)
|
|
22915
|
-
ve.call(
|
|
22915
|
+
ve.call(ne, ee, Z);
|
|
22916
22916
|
else
|
|
22917
22917
|
for (var ge = ve.length, le = ue(ve, ge), Qe = 0; Qe < ge; ++Qe)
|
|
22918
|
-
le[Qe].call(
|
|
22918
|
+
le[Qe].call(ne, ee, Z);
|
|
22919
22919
|
}
|
|
22920
|
-
function $e(ve, we,
|
|
22920
|
+
function $e(ve, we, ne, ee, Z, ge) {
|
|
22921
22921
|
if (we)
|
|
22922
|
-
ve.call(
|
|
22922
|
+
ve.call(ne, ee, Z, ge);
|
|
22923
22923
|
else
|
|
22924
22924
|
for (var le = ve.length, Qe = ue(ve, le), Ye = 0; Ye < le; ++Ye)
|
|
22925
|
-
Qe[Ye].call(
|
|
22925
|
+
Qe[Ye].call(ne, ee, Z, ge);
|
|
22926
22926
|
}
|
|
22927
|
-
function de(ve, we,
|
|
22927
|
+
function de(ve, we, ne, ee) {
|
|
22928
22928
|
if (we)
|
|
22929
|
-
ve.apply(
|
|
22929
|
+
ve.apply(ne, ee);
|
|
22930
22930
|
else
|
|
22931
22931
|
for (var Z = ve.length, ge = ue(ve, Z), le = 0; le < Z; ++le)
|
|
22932
|
-
ge[le].apply(
|
|
22932
|
+
ge[le].apply(ne, ee);
|
|
22933
22933
|
}
|
|
22934
22934
|
se.prototype.emit = function(we) {
|
|
22935
|
-
var
|
|
22935
|
+
var ne, ee, Z, ge, le, Qe, Ye, _t = we === "error";
|
|
22936
22936
|
if (Qe = this._events, Qe)
|
|
22937
22937
|
_t = _t && Qe.error == null;
|
|
22938
22938
|
else if (!_t)
|
|
22939
22939
|
return !1;
|
|
22940
22940
|
if (Ye = this.domain, _t) {
|
|
22941
|
-
if (
|
|
22942
|
-
|
|
22941
|
+
if (ne = arguments[1], Ye)
|
|
22942
|
+
ne || (ne = new Error('Uncaught, unspecified "error" event')), ne.domainEmitter = this, ne.domain = Ye, ne.domainThrown = !1, Ye.emit("error", ne);
|
|
22943
22943
|
else {
|
|
22944
|
-
if (
|
|
22945
|
-
throw
|
|
22946
|
-
var Ot = new Error('Uncaught, unspecified "error" event. (' +
|
|
22947
|
-
throw Ot.context =
|
|
22944
|
+
if (ne instanceof Error)
|
|
22945
|
+
throw ne;
|
|
22946
|
+
var Ot = new Error('Uncaught, unspecified "error" event. (' + ne + ")");
|
|
22947
|
+
throw Ot.context = ne, Ot;
|
|
22948
22948
|
}
|
|
22949
22949
|
return !1;
|
|
22950
22950
|
}
|
|
@@ -22971,17 +22971,17 @@ This software includes loglevel under the following license.
|
|
|
22971
22971
|
}
|
|
22972
22972
|
return !0;
|
|
22973
22973
|
};
|
|
22974
|
-
function _e(ve, we,
|
|
22974
|
+
function _e(ve, we, ne, ee) {
|
|
22975
22975
|
var Z, ge, le;
|
|
22976
|
-
if (typeof
|
|
22976
|
+
if (typeof ne != "function")
|
|
22977
22977
|
throw new TypeError('"listener" argument must be a function');
|
|
22978
22978
|
if (ge = ve._events, ge ? (ge.newListener && (ve.emit(
|
|
22979
22979
|
"newListener",
|
|
22980
22980
|
we,
|
|
22981
|
-
|
|
22981
|
+
ne.listener ? ne.listener : ne
|
|
22982
22982
|
), ge = ve._events), le = ge[we]) : (ge = ve._events = new L(), ve._eventsCount = 0), !le)
|
|
22983
|
-
le = ge[we] =
|
|
22984
|
-
else if (typeof le == "function" ? le = ge[we] = ee ? [
|
|
22983
|
+
le = ge[we] = ne, ++ve._eventsCount;
|
|
22984
|
+
else if (typeof le == "function" ? le = ge[we] = ee ? [ne, le] : [le, ne] : ee ? le.unshift(ne) : le.push(ne), !le.warned && (Z = x(ve), Z && Z > 0 && le.length > Z)) {
|
|
22985
22985
|
le.warned = !0;
|
|
22986
22986
|
var Qe = new Error("Possible EventEmitter memory leak detected. " + le.length + " " + we + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
22987
22987
|
Qe.name = "MaxListenersExceededWarning", Qe.emitter = ve, Qe.type = we, Qe.count = le.length, xe(Qe);
|
|
@@ -22991,39 +22991,39 @@ This software includes loglevel under the following license.
|
|
|
22991
22991
|
function xe(ve) {
|
|
22992
22992
|
typeof console.warn == "function" ? console.warn(ve) : console.log(ve);
|
|
22993
22993
|
}
|
|
22994
|
-
se.prototype.addListener = function(we,
|
|
22995
|
-
return _e(this, we,
|
|
22996
|
-
}, se.prototype.on = se.prototype.addListener, se.prototype.prependListener = function(we,
|
|
22997
|
-
return _e(this, we,
|
|
22994
|
+
se.prototype.addListener = function(we, ne) {
|
|
22995
|
+
return _e(this, we, ne, !1);
|
|
22996
|
+
}, se.prototype.on = se.prototype.addListener, se.prototype.prependListener = function(we, ne) {
|
|
22997
|
+
return _e(this, we, ne, !0);
|
|
22998
22998
|
};
|
|
22999
|
-
function ye(ve, we,
|
|
22999
|
+
function ye(ve, we, ne) {
|
|
23000
23000
|
var ee = !1;
|
|
23001
23001
|
function Z() {
|
|
23002
|
-
ve.removeListener(we, Z), ee || (ee = !0,
|
|
23002
|
+
ve.removeListener(we, Z), ee || (ee = !0, ne.apply(ve, arguments));
|
|
23003
23003
|
}
|
|
23004
|
-
return Z.listener =
|
|
23004
|
+
return Z.listener = ne, Z;
|
|
23005
23005
|
}
|
|
23006
|
-
se.prototype.once = function(we,
|
|
23007
|
-
if (typeof
|
|
23006
|
+
se.prototype.once = function(we, ne) {
|
|
23007
|
+
if (typeof ne != "function")
|
|
23008
23008
|
throw new TypeError('"listener" argument must be a function');
|
|
23009
|
-
return this.on(we, ye(this, we,
|
|
23010
|
-
}, se.prototype.prependOnceListener = function(we,
|
|
23011
|
-
if (typeof
|
|
23009
|
+
return this.on(we, ye(this, we, ne)), this;
|
|
23010
|
+
}, se.prototype.prependOnceListener = function(we, ne) {
|
|
23011
|
+
if (typeof ne != "function")
|
|
23012
23012
|
throw new TypeError('"listener" argument must be a function');
|
|
23013
|
-
return this.prependListener(we, ye(this, we,
|
|
23014
|
-
}, se.prototype.removeListener = function(we,
|
|
23013
|
+
return this.prependListener(we, ye(this, we, ne)), this;
|
|
23014
|
+
}, se.prototype.removeListener = function(we, ne) {
|
|
23015
23015
|
var ee, Z, ge, le, Qe;
|
|
23016
|
-
if (typeof
|
|
23016
|
+
if (typeof ne != "function")
|
|
23017
23017
|
throw new TypeError('"listener" argument must be a function');
|
|
23018
23018
|
if (Z = this._events, !Z)
|
|
23019
23019
|
return this;
|
|
23020
23020
|
if (ee = Z[we], !ee)
|
|
23021
23021
|
return this;
|
|
23022
|
-
if (ee ===
|
|
23023
|
-
--this._eventsCount === 0 ? this._events = new L() : (delete Z[we], Z.removeListener && this.emit("removeListener", we, ee.listener ||
|
|
23022
|
+
if (ee === ne || ee.listener && ee.listener === ne)
|
|
23023
|
+
--this._eventsCount === 0 ? this._events = new L() : (delete Z[we], Z.removeListener && this.emit("removeListener", we, ee.listener || ne));
|
|
23024
23024
|
else if (typeof ee != "function") {
|
|
23025
23025
|
for (ge = -1, le = ee.length; le-- > 0; )
|
|
23026
|
-
if (ee[le] ===
|
|
23026
|
+
if (ee[le] === ne || ee[le].listener && ee[le].listener === ne) {
|
|
23027
23027
|
Qe = ee[le].listener, ge = le;
|
|
23028
23028
|
break;
|
|
23029
23029
|
}
|
|
@@ -23035,13 +23035,13 @@ This software includes loglevel under the following license.
|
|
|
23035
23035
|
delete Z[we];
|
|
23036
23036
|
} else
|
|
23037
23037
|
he(ee, ge);
|
|
23038
|
-
Z.removeListener && this.emit("removeListener", we, Qe ||
|
|
23038
|
+
Z.removeListener && this.emit("removeListener", we, Qe || ne);
|
|
23039
23039
|
}
|
|
23040
23040
|
return this;
|
|
23041
23041
|
}, se.prototype.off = function(ve, we) {
|
|
23042
23042
|
return this.removeListener(ve, we);
|
|
23043
23043
|
}, se.prototype.removeAllListeners = function(we) {
|
|
23044
|
-
var
|
|
23044
|
+
var ne, ee;
|
|
23045
23045
|
if (ee = this._events, !ee)
|
|
23046
23046
|
return this;
|
|
23047
23047
|
if (!ee.removeListener)
|
|
@@ -23051,27 +23051,27 @@ This software includes loglevel under the following license.
|
|
|
23051
23051
|
le = Z[ge], le !== "removeListener" && this.removeAllListeners(le);
|
|
23052
23052
|
return this.removeAllListeners("removeListener"), this._events = new L(), this._eventsCount = 0, this;
|
|
23053
23053
|
}
|
|
23054
|
-
if (
|
|
23055
|
-
this.removeListener(we,
|
|
23056
|
-
else if (
|
|
23054
|
+
if (ne = ee[we], typeof ne == "function")
|
|
23055
|
+
this.removeListener(we, ne);
|
|
23056
|
+
else if (ne)
|
|
23057
23057
|
do
|
|
23058
|
-
this.removeListener(we,
|
|
23059
|
-
while (
|
|
23058
|
+
this.removeListener(we, ne[ne.length - 1]);
|
|
23059
|
+
while (ne[0]);
|
|
23060
23060
|
return this;
|
|
23061
23061
|
}, se.prototype.listeners = function(we) {
|
|
23062
|
-
var
|
|
23063
|
-
return Z ? (
|
|
23062
|
+
var ne, ee, Z = this._events;
|
|
23063
|
+
return Z ? (ne = Z[we], ne ? typeof ne == "function" ? ee = [ne.listener || ne] : ee = Ue(ne) : ee = []) : ee = [], ee;
|
|
23064
23064
|
}, se.listenerCount = function(ve, we) {
|
|
23065
23065
|
return typeof ve.listenerCount == "function" ? ve.listenerCount(we) : ot.call(ve, we);
|
|
23066
23066
|
}, se.prototype.listenerCount = ot;
|
|
23067
23067
|
function ot(ve) {
|
|
23068
23068
|
var we = this._events;
|
|
23069
23069
|
if (we) {
|
|
23070
|
-
var
|
|
23071
|
-
if (typeof
|
|
23070
|
+
var ne = we[ve];
|
|
23071
|
+
if (typeof ne == "function")
|
|
23072
23072
|
return 1;
|
|
23073
|
-
if (
|
|
23074
|
-
return
|
|
23073
|
+
if (ne)
|
|
23074
|
+
return ne.length;
|
|
23075
23075
|
}
|
|
23076
23076
|
return 0;
|
|
23077
23077
|
}
|
|
@@ -23079,18 +23079,18 @@ This software includes loglevel under the following license.
|
|
|
23079
23079
|
return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : [];
|
|
23080
23080
|
};
|
|
23081
23081
|
function he(ve, we) {
|
|
23082
|
-
for (var
|
|
23083
|
-
ve[
|
|
23082
|
+
for (var ne = we, ee = ne + 1, Z = ve.length; ee < Z; ne += 1, ee += 1)
|
|
23083
|
+
ve[ne] = ve[ee];
|
|
23084
23084
|
ve.pop();
|
|
23085
23085
|
}
|
|
23086
23086
|
function ue(ve, we) {
|
|
23087
|
-
for (var
|
|
23088
|
-
|
|
23089
|
-
return
|
|
23087
|
+
for (var ne = new Array(we); we--; )
|
|
23088
|
+
ne[we] = ve[we];
|
|
23089
|
+
return ne;
|
|
23090
23090
|
}
|
|
23091
23091
|
function Ue(ve) {
|
|
23092
|
-
for (var we = new Array(ve.length),
|
|
23093
|
-
we[
|
|
23092
|
+
for (var we = new Array(ve.length), ne = 0; ne < we.length; ++ne)
|
|
23093
|
+
we[ne] = ve[ne].listener || ve[ne];
|
|
23094
23094
|
return we;
|
|
23095
23095
|
}
|
|
23096
23096
|
var Ve = J.getLogger("twilsock");
|
|
@@ -23103,88 +23103,88 @@ This software includes loglevel under the following license.
|
|
|
23103
23103
|
}
|
|
23104
23104
|
return w.default(ve, [{
|
|
23105
23105
|
key: "setLevel",
|
|
23106
|
-
value: function(
|
|
23107
|
-
Ve.setLevel(
|
|
23106
|
+
value: function(ne) {
|
|
23107
|
+
Ve.setLevel(ne);
|
|
23108
23108
|
}
|
|
23109
23109
|
}, {
|
|
23110
23110
|
key: "trace",
|
|
23111
23111
|
value: function() {
|
|
23112
|
-
for (var
|
|
23112
|
+
for (var ne = arguments.length, ee = new Array(ne), Z = 0; Z < ne; Z++)
|
|
23113
23113
|
ee[Z] = arguments[Z];
|
|
23114
23114
|
Ve.trace.apply(null, Pe("T", ee));
|
|
23115
23115
|
}
|
|
23116
23116
|
}, {
|
|
23117
23117
|
key: "debug",
|
|
23118
23118
|
value: function() {
|
|
23119
|
-
for (var
|
|
23119
|
+
for (var ne = arguments.length, ee = new Array(ne), Z = 0; Z < ne; Z++)
|
|
23120
23120
|
ee[Z] = arguments[Z];
|
|
23121
23121
|
Ve.debug.apply(null, Pe("D", ee));
|
|
23122
23122
|
}
|
|
23123
23123
|
}, {
|
|
23124
23124
|
key: "info",
|
|
23125
23125
|
value: function() {
|
|
23126
|
-
for (var
|
|
23126
|
+
for (var ne = arguments.length, ee = new Array(ne), Z = 0; Z < ne; Z++)
|
|
23127
23127
|
ee[Z] = arguments[Z];
|
|
23128
23128
|
Ve.info.apply(null, Pe("I", ee));
|
|
23129
23129
|
}
|
|
23130
23130
|
}, {
|
|
23131
23131
|
key: "warn",
|
|
23132
23132
|
value: function() {
|
|
23133
|
-
for (var
|
|
23133
|
+
for (var ne = arguments.length, ee = new Array(ne), Z = 0; Z < ne; Z++)
|
|
23134
23134
|
ee[Z] = arguments[Z];
|
|
23135
23135
|
Ve.warn.apply(null, Pe("W", ee));
|
|
23136
23136
|
}
|
|
23137
23137
|
}, {
|
|
23138
23138
|
key: "error",
|
|
23139
23139
|
value: function() {
|
|
23140
|
-
for (var
|
|
23140
|
+
for (var ne = arguments.length, ee = new Array(ne), Z = 0; Z < ne; Z++)
|
|
23141
23141
|
ee[Z] = arguments[Z];
|
|
23142
23142
|
Ve.error.apply(null, Pe("E", ee));
|
|
23143
23143
|
}
|
|
23144
23144
|
}], [{
|
|
23145
23145
|
key: "setLevel",
|
|
23146
|
-
value: function(
|
|
23147
|
-
Ve.setLevel(
|
|
23146
|
+
value: function(ne) {
|
|
23147
|
+
Ve.setLevel(ne);
|
|
23148
23148
|
}
|
|
23149
23149
|
}, {
|
|
23150
23150
|
key: "trace",
|
|
23151
23151
|
value: function() {
|
|
23152
|
-
for (var
|
|
23152
|
+
for (var ne = arguments.length, ee = new Array(ne), Z = 0; Z < ne; Z++)
|
|
23153
23153
|
ee[Z] = arguments[Z];
|
|
23154
23154
|
Ve.trace.apply(null, Pe("T", ee));
|
|
23155
23155
|
}
|
|
23156
23156
|
}, {
|
|
23157
23157
|
key: "debug",
|
|
23158
23158
|
value: function() {
|
|
23159
|
-
for (var
|
|
23159
|
+
for (var ne = arguments.length, ee = new Array(ne), Z = 0; Z < ne; Z++)
|
|
23160
23160
|
ee[Z] = arguments[Z];
|
|
23161
23161
|
Ve.debug.apply(null, Pe("D", ee));
|
|
23162
23162
|
}
|
|
23163
23163
|
}, {
|
|
23164
23164
|
key: "info",
|
|
23165
23165
|
value: function() {
|
|
23166
|
-
for (var
|
|
23166
|
+
for (var ne = arguments.length, ee = new Array(ne), Z = 0; Z < ne; Z++)
|
|
23167
23167
|
ee[Z] = arguments[Z];
|
|
23168
23168
|
Ve.info.apply(null, Pe("I", ee));
|
|
23169
23169
|
}
|
|
23170
23170
|
}, {
|
|
23171
23171
|
key: "warn",
|
|
23172
23172
|
value: function() {
|
|
23173
|
-
for (var
|
|
23173
|
+
for (var ne = arguments.length, ee = new Array(ne), Z = 0; Z < ne; Z++)
|
|
23174
23174
|
ee[Z] = arguments[Z];
|
|
23175
23175
|
Ve.warn.apply(null, Pe("W", ee));
|
|
23176
23176
|
}
|
|
23177
23177
|
}, {
|
|
23178
23178
|
key: "error",
|
|
23179
23179
|
value: function() {
|
|
23180
|
-
for (var
|
|
23180
|
+
for (var ne = arguments.length, ee = new Array(ne), Z = 0; Z < ne; Z++)
|
|
23181
23181
|
ee[Z] = arguments[Z];
|
|
23182
23182
|
Ve.error.apply(null, Pe("E", ee));
|
|
23183
23183
|
}
|
|
23184
23184
|
}]), ve;
|
|
23185
23185
|
}(), Ce = new Ze(""), De = "0.12.2", ht = /* @__PURE__ */ function() {
|
|
23186
|
-
function ve(we,
|
|
23187
|
-
A.default(this, ve), D.default(this, "confirmedCapabilities", /* @__PURE__ */ new Set()), this.activeGrant =
|
|
23186
|
+
function ve(we, ne, ee) {
|
|
23187
|
+
A.default(this, ve), D.default(this, "confirmedCapabilities", /* @__PURE__ */ new Set()), this.activeGrant = ne, this._token = we;
|
|
23188
23188
|
var Z = ee.region || "us1", ge = "wss://tsock.".concat(Z, ".twilio.com/v3/wsconnect"), le = ee.twilsock || ee.Twilsock || {};
|
|
23189
23189
|
this.url = le.uri || ge, this._continuationToken = ee.continuationToken ? ee.continuationToken : null, this.logLevel = ee.logLevel ? ee.logLevel : "error", this.retryPolicy = ee.retryPolicy ? ee.retryPolicy : {
|
|
23190
23190
|
min: 1 * 1e3,
|
|
@@ -23204,13 +23204,13 @@ This software includes loglevel under the following license.
|
|
|
23204
23204
|
}
|
|
23205
23205
|
}, {
|
|
23206
23206
|
key: "updateToken",
|
|
23207
|
-
value: function(
|
|
23208
|
-
this._token =
|
|
23207
|
+
value: function(ne) {
|
|
23208
|
+
this._token = ne;
|
|
23209
23209
|
}
|
|
23210
23210
|
}, {
|
|
23211
23211
|
key: "updateContinuationToken",
|
|
23212
|
-
value: function(
|
|
23213
|
-
this._continuationToken =
|
|
23212
|
+
value: function(ne) {
|
|
23213
|
+
this._continuationToken = ne;
|
|
23214
23214
|
}
|
|
23215
23215
|
}]), ve;
|
|
23216
23216
|
}(), at = function ve(we) {
|
|
@@ -23241,13 +23241,13 @@ This software includes loglevel under the following license.
|
|
|
23241
23241
|
}
|
|
23242
23242
|
}
|
|
23243
23243
|
var it = /* @__PURE__ */ function(ve) {
|
|
23244
|
-
$.default(
|
|
23245
|
-
var we = yt(
|
|
23246
|
-
function
|
|
23244
|
+
$.default(ne, ve);
|
|
23245
|
+
var we = yt(ne);
|
|
23246
|
+
function ne(ee, Z, ge, le, Qe) {
|
|
23247
23247
|
var Ye;
|
|
23248
|
-
return A.default(this,
|
|
23248
|
+
return A.default(this, ne), Ye = we.call(this), D.default(v.default(Ye), "method", "init"), Ye.token = ee, Ye.continuation_token = Z, Ye.metadata = ge, Ye.registrations = le, Ye.tweaks = Qe, Ye.capabilities = ["client_update", "offline_storage", "telemetry.v1"], Ye;
|
|
23249
23249
|
}
|
|
23250
|
-
return
|
|
23250
|
+
return ne;
|
|
23251
23251
|
}(at);
|
|
23252
23252
|
function Dt(ve) {
|
|
23253
23253
|
var we = zt();
|
|
@@ -23274,13 +23274,13 @@ This software includes loglevel under the following license.
|
|
|
23274
23274
|
}
|
|
23275
23275
|
}
|
|
23276
23276
|
var Vt = /* @__PURE__ */ function(ve) {
|
|
23277
|
-
$.default(
|
|
23278
|
-
var we = Dt(
|
|
23279
|
-
function
|
|
23277
|
+
$.default(ne, ve);
|
|
23278
|
+
var we = Dt(ne);
|
|
23279
|
+
function ne(ee, Z, ge, le, Qe, Ye, _t) {
|
|
23280
23280
|
var Ot;
|
|
23281
|
-
return A.default(this,
|
|
23281
|
+
return A.default(this, ne), Ot = we.call(this, ee), Ot.continuationToken = Z, Ot.continuationTokenStatus = le, Ot.offlineStorage = Qe, Ot.initRegistrations = Ye, Ot.debugInfo = _t, Ot.confirmedCapabilities = ge, Ot;
|
|
23282
23282
|
}
|
|
23283
|
-
return
|
|
23283
|
+
return ne;
|
|
23284
23284
|
}(at);
|
|
23285
23285
|
function Ht(ve) {
|
|
23286
23286
|
var we = Fr();
|
|
@@ -23307,13 +23307,13 @@ This software includes loglevel under the following license.
|
|
|
23307
23307
|
}
|
|
23308
23308
|
}
|
|
23309
23309
|
var mi = /* @__PURE__ */ function(ve) {
|
|
23310
|
-
$.default(
|
|
23311
|
-
var we = Ht(
|
|
23312
|
-
function
|
|
23310
|
+
$.default(ne, ve);
|
|
23311
|
+
var we = Ht(ne);
|
|
23312
|
+
function ne(ee) {
|
|
23313
23313
|
var Z;
|
|
23314
|
-
return A.default(this,
|
|
23314
|
+
return A.default(this, ne), Z = we.call(this), D.default(v.default(Z), "method", "update"), Z.token = ee, Z;
|
|
23315
23315
|
}
|
|
23316
|
-
return
|
|
23316
|
+
return ne;
|
|
23317
23317
|
}(at);
|
|
23318
23318
|
function qn(ve) {
|
|
23319
23319
|
var we = Jn();
|
|
@@ -23340,13 +23340,13 @@ This software includes loglevel under the following license.
|
|
|
23340
23340
|
}
|
|
23341
23341
|
}
|
|
23342
23342
|
var Je = /* @__PURE__ */ function(ve) {
|
|
23343
|
-
$.default(
|
|
23344
|
-
var we = qn(
|
|
23345
|
-
function
|
|
23343
|
+
$.default(ne, ve);
|
|
23344
|
+
var we = qn(ne);
|
|
23345
|
+
function ne(ee, Z, ge) {
|
|
23346
23346
|
var le;
|
|
23347
|
-
return A.default(this,
|
|
23347
|
+
return A.default(this, ne), le = we.call(this), D.default(v.default(le), "method", "message"), le.active_grant = ee, le.payload_type = Z, le.http_request = ge, le;
|
|
23348
23348
|
}
|
|
23349
|
-
return
|
|
23349
|
+
return ne;
|
|
23350
23350
|
}(at);
|
|
23351
23351
|
function et(ve) {
|
|
23352
23352
|
var we = Fe();
|
|
@@ -23373,16 +23373,16 @@ This software includes loglevel under the following license.
|
|
|
23373
23373
|
}
|
|
23374
23374
|
}
|
|
23375
23375
|
var Ke = /* @__PURE__ */ function(ve) {
|
|
23376
|
-
$.default(
|
|
23377
|
-
var we = et(
|
|
23378
|
-
function
|
|
23376
|
+
$.default(ne, ve);
|
|
23377
|
+
var we = et(ne);
|
|
23378
|
+
function ne(ee) {
|
|
23379
23379
|
var Z;
|
|
23380
|
-
return A.default(this,
|
|
23380
|
+
return A.default(this, ne), Z = we.call(this, ee), D.default(v.default(Z), "method", "reply"), D.default(v.default(Z), "payload_type", "application/json"), D.default(v.default(Z), "status", {
|
|
23381
23381
|
code: 200,
|
|
23382
23382
|
status: "OK"
|
|
23383
23383
|
}), Z;
|
|
23384
23384
|
}
|
|
23385
|
-
return
|
|
23385
|
+
return ne;
|
|
23386
23386
|
}(at);
|
|
23387
23387
|
function Me(ve) {
|
|
23388
23388
|
var we = nt();
|
|
@@ -23409,13 +23409,13 @@ This software includes loglevel under the following license.
|
|
|
23409
23409
|
}
|
|
23410
23410
|
}
|
|
23411
23411
|
var rt = /* @__PURE__ */ function(ve) {
|
|
23412
|
-
$.default(
|
|
23413
|
-
var we = Me(
|
|
23414
|
-
function
|
|
23412
|
+
$.default(ne, ve);
|
|
23413
|
+
var we = Me(ne);
|
|
23414
|
+
function ne() {
|
|
23415
23415
|
var ee;
|
|
23416
|
-
return A.default(this,
|
|
23416
|
+
return A.default(this, ne), ee = we.call(this), D.default(v.default(ee), "method", "close"), ee;
|
|
23417
23417
|
}
|
|
23418
|
-
return
|
|
23418
|
+
return ne;
|
|
23419
23419
|
}(at);
|
|
23420
23420
|
function Ie(ve) {
|
|
23421
23421
|
var we = He();
|
|
@@ -23441,54 +23441,54 @@ This software includes loglevel under the following license.
|
|
|
23441
23441
|
return !1;
|
|
23442
23442
|
}
|
|
23443
23443
|
}
|
|
23444
|
-
var ke = function ve(we,
|
|
23445
|
-
A.default(this, ve), this.start = we, this.end =
|
|
23444
|
+
var ke = function ve(we, ne, ee, Z, ge, le) {
|
|
23445
|
+
A.default(this, ve), this.start = we, this.end = ne, this.title = ee, this.details = Z, this.id = ge, this.type = le;
|
|
23446
23446
|
}, Le = /* @__PURE__ */ function(ve) {
|
|
23447
|
-
$.default(
|
|
23448
|
-
var we = Ie(
|
|
23449
|
-
function
|
|
23447
|
+
$.default(ne, ve);
|
|
23448
|
+
var we = Ie(ne);
|
|
23449
|
+
function ne(ee) {
|
|
23450
23450
|
var Z;
|
|
23451
|
-
return A.default(this,
|
|
23451
|
+
return A.default(this, ne), Z = we.call(this), D.default(v.default(Z), "method", "telemetry.v1"), Z.events = ee, Z;
|
|
23452
23452
|
}
|
|
23453
|
-
return
|
|
23453
|
+
return ne;
|
|
23454
23454
|
}(at);
|
|
23455
23455
|
function Re(ve) {
|
|
23456
|
-
var we = encodeURIComponent(ve),
|
|
23456
|
+
var we = encodeURIComponent(ve), ne = we.replace(/%([0-9A-F]{2})/g, function(ee, Z) {
|
|
23457
23457
|
return String.fromCharCode(+("0x" + Z));
|
|
23458
23458
|
});
|
|
23459
|
-
return
|
|
23459
|
+
return ne.length;
|
|
23460
23460
|
}
|
|
23461
23461
|
function wt(ve) {
|
|
23462
|
-
var we = encodeURIComponent(ve),
|
|
23462
|
+
var we = encodeURIComponent(ve), ne = we.replace(/%([0-9A-F]{2})/g, function(Z, ge) {
|
|
23463
23463
|
return String.fromCharCode(+("0x" + ge));
|
|
23464
|
-
}), ee = new Uint8Array(
|
|
23465
|
-
return Array.prototype.forEach.call(
|
|
23464
|
+
}), ee = new Uint8Array(ne.length);
|
|
23465
|
+
return Array.prototype.forEach.call(ne, function(Z, ge) {
|
|
23466
23466
|
ee[ge] = Z.charCodeAt(0);
|
|
23467
23467
|
}), ee;
|
|
23468
23468
|
}
|
|
23469
23469
|
function lt(ve) {
|
|
23470
23470
|
var we = Array.prototype.map.call(ve, function(ee) {
|
|
23471
23471
|
return String.fromCharCode(ee);
|
|
23472
|
-
}).join(""),
|
|
23472
|
+
}).join(""), ne = we.replace(/(.)/g, function(ee, Z) {
|
|
23473
23473
|
var ge = Z.charCodeAt(0).toString(16).toUpperCase();
|
|
23474
23474
|
return ge.length < 2 && (ge = "0" + ge), "%" + ge;
|
|
23475
23475
|
});
|
|
23476
|
-
return decodeURIComponent(
|
|
23476
|
+
return decodeURIComponent(ne);
|
|
23477
23477
|
}
|
|
23478
23478
|
function Ct(ve) {
|
|
23479
23479
|
return JSON.parse(lt(ve));
|
|
23480
23480
|
}
|
|
23481
23481
|
function Tt(ve) {
|
|
23482
|
-
for (var we = "",
|
|
23483
|
-
var ee = String.fromCharCode(ve[
|
|
23482
|
+
for (var we = "", ne = 0; ne < ve.length; ++ne) {
|
|
23483
|
+
var ee = String.fromCharCode(ve[ne]);
|
|
23484
23484
|
if (we += ee, ee === "\r") {
|
|
23485
|
-
|
|
23485
|
+
ne += 2;
|
|
23486
23486
|
break;
|
|
23487
23487
|
}
|
|
23488
23488
|
}
|
|
23489
23489
|
var Z = we.split(" ");
|
|
23490
23490
|
return {
|
|
23491
|
-
size:
|
|
23491
|
+
size: ne,
|
|
23492
23492
|
protocol: Z[0],
|
|
23493
23493
|
version: Z[1],
|
|
23494
23494
|
headerSize: Number(Z[2])
|
|
@@ -23500,15 +23500,15 @@ This software includes loglevel under the following license.
|
|
|
23500
23500
|
}
|
|
23501
23501
|
return w.default(ve, null, [{
|
|
23502
23502
|
key: "parse",
|
|
23503
|
-
value: function(
|
|
23504
|
-
var ee = 2, Z = new Uint8Array(
|
|
23503
|
+
value: function(ne) {
|
|
23504
|
+
var ee = 2, Z = new Uint8Array(ne), ge = Tt(Z);
|
|
23505
23505
|
if (ge.protocol !== "TWILSOCK" || ge.version !== "V3.0")
|
|
23506
23506
|
return Ce.error("unsupported protocol: ".concat(ge.protocol, " ver ").concat(ge.version)), null;
|
|
23507
23507
|
var le;
|
|
23508
23508
|
try {
|
|
23509
23509
|
le = Ct(Z.subarray(ge.size, ge.size + ge.headerSize));
|
|
23510
23510
|
} catch (Ot) {
|
|
23511
|
-
return Ce.error("failed to parse message header", Ot,
|
|
23511
|
+
return Ce.error("failed to parse message header", Ot, ne), null;
|
|
23512
23512
|
}
|
|
23513
23513
|
Ce.debug("message received: ", le.method), Ce.trace("message received: ", le);
|
|
23514
23514
|
var Qe;
|
|
@@ -23518,7 +23518,7 @@ This software includes loglevel under the following license.
|
|
|
23518
23518
|
try {
|
|
23519
23519
|
Qe = Ct(Z.subarray(Ye, Ye + _t));
|
|
23520
23520
|
} catch (Ot) {
|
|
23521
|
-
return Ce.error("failed to parse message body", Ot,
|
|
23521
|
+
return Ce.error("failed to parse message body", Ot, ne), null;
|
|
23522
23522
|
}
|
|
23523
23523
|
else
|
|
23524
23524
|
le.payload_type.indexOf("text/plain") === 0 && (Qe = lt(Z.subarray(Ye, Ye + _t)));
|
|
@@ -23531,10 +23531,10 @@ This software includes loglevel under the following license.
|
|
|
23531
23531
|
}
|
|
23532
23532
|
}, {
|
|
23533
23533
|
key: "createPacket",
|
|
23534
|
-
value: function(
|
|
23534
|
+
value: function(ne) {
|
|
23535
23535
|
var ee = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
|
23536
|
-
|
|
23537
|
-
var Z = JSON.stringify(
|
|
23536
|
+
ne.payload_size = Re(ee);
|
|
23537
|
+
var Z = JSON.stringify(ne), ge = "TWILSOCK V3.0 " + Re(Z);
|
|
23538
23538
|
Ce.debug("send request:", ge + Z + ee);
|
|
23539
23539
|
var le = wt(ge + `\r
|
|
23540
23540
|
` + Z + `\r
|
|
@@ -23568,12 +23568,12 @@ This software includes loglevel under the following license.
|
|
|
23568
23568
|
}
|
|
23569
23569
|
}
|
|
23570
23570
|
var Ft = /* @__PURE__ */ function(ve) {
|
|
23571
|
-
$.default(
|
|
23572
|
-
var we = Jt(
|
|
23573
|
-
function
|
|
23574
|
-
return A.default(this,
|
|
23571
|
+
$.default(ne, ve);
|
|
23572
|
+
var we = Jt(ne);
|
|
23573
|
+
function ne(ee) {
|
|
23574
|
+
return A.default(this, ne), we.call(this, ee);
|
|
23575
23575
|
}
|
|
23576
|
-
return
|
|
23576
|
+
return ne;
|
|
23577
23577
|
}(/* @__PURE__ */ Q.default(Error));
|
|
23578
23578
|
function Kt(ve) {
|
|
23579
23579
|
var we = Yt();
|
|
@@ -23600,31 +23600,31 @@ This software includes loglevel under the following license.
|
|
|
23600
23600
|
}
|
|
23601
23601
|
}
|
|
23602
23602
|
var rr = /* @__PURE__ */ function(ve) {
|
|
23603
|
-
$.default(
|
|
23604
|
-
var we = Kt(
|
|
23605
|
-
function
|
|
23603
|
+
$.default(ne, ve);
|
|
23604
|
+
var we = Kt(ne);
|
|
23605
|
+
function ne(ee, Z) {
|
|
23606
23606
|
var ge;
|
|
23607
|
-
return A.default(this,
|
|
23607
|
+
return A.default(this, ne), ge = we.call(this, ee), ge.reply = Z, ge;
|
|
23608
23608
|
}
|
|
23609
|
-
return
|
|
23609
|
+
return ne;
|
|
23610
23610
|
}(Ft);
|
|
23611
23611
|
function oi(ve, we) {
|
|
23612
|
-
var
|
|
23612
|
+
var ne = Object.keys(ve);
|
|
23613
23613
|
if (Object.getOwnPropertySymbols) {
|
|
23614
23614
|
var ee = Object.getOwnPropertySymbols(ve);
|
|
23615
23615
|
we && (ee = ee.filter(function(Z) {
|
|
23616
23616
|
return Object.getOwnPropertyDescriptor(ve, Z).enumerable;
|
|
23617
|
-
})),
|
|
23617
|
+
})), ne.push.apply(ne, ee);
|
|
23618
23618
|
}
|
|
23619
|
-
return
|
|
23619
|
+
return ne;
|
|
23620
23620
|
}
|
|
23621
23621
|
function Ni(ve) {
|
|
23622
23622
|
for (var we = 1; we < arguments.length; we++) {
|
|
23623
|
-
var
|
|
23624
|
-
we % 2 ? oi(Object(
|
|
23625
|
-
D.default(ve, ee,
|
|
23626
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(ve, Object.getOwnPropertyDescriptors(
|
|
23627
|
-
Object.defineProperty(ve, ee, Object.getOwnPropertyDescriptor(
|
|
23623
|
+
var ne = arguments[we] != null ? arguments[we] : {};
|
|
23624
|
+
we % 2 ? oi(Object(ne), !0).forEach(function(ee) {
|
|
23625
|
+
D.default(ve, ee, ne[ee]);
|
|
23626
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(ve, Object.getOwnPropertyDescriptors(ne)) : oi(Object(ne)).forEach(function(ee) {
|
|
23627
|
+
Object.defineProperty(ve, ee, Object.getOwnPropertyDescriptor(ne, ee));
|
|
23628
23628
|
});
|
|
23629
23629
|
}
|
|
23630
23630
|
return ve;
|
|
@@ -23654,13 +23654,13 @@ This software includes loglevel under the following license.
|
|
|
23654
23654
|
}
|
|
23655
23655
|
}
|
|
23656
23656
|
var Fo = /* @__PURE__ */ function(ve) {
|
|
23657
|
-
$.default(
|
|
23658
|
-
var we = or(
|
|
23659
|
-
function
|
|
23657
|
+
$.default(ne, ve);
|
|
23658
|
+
var we = or(ne);
|
|
23659
|
+
function ne(ee) {
|
|
23660
23660
|
var Z;
|
|
23661
|
-
return A.default(this,
|
|
23661
|
+
return A.default(this, ne), Z = we.call(this), D.default(v.default(Z), "newBackoff", null), D.default(v.default(Z), "usedBackoff", null), D.default(v.default(Z), "retrier", null), Z.options = ee ? Ni({}, ee) : {}, Z;
|
|
23662
23662
|
}
|
|
23663
|
-
return w.default(
|
|
23663
|
+
return w.default(ne, [{
|
|
23664
23664
|
key: "inProgress",
|
|
23665
23665
|
get: function() {
|
|
23666
23666
|
return !!this.retrier;
|
|
@@ -23748,7 +23748,7 @@ This software includes loglevel under the following license.
|
|
|
23748
23748
|
return Z.emit("failed", le);
|
|
23749
23749
|
}), this.usedBackoff = this.newBackoff, this.newBackoff = null, this.retrier.start();
|
|
23750
23750
|
}
|
|
23751
|
-
}]),
|
|
23751
|
+
}]), ne;
|
|
23752
23752
|
}(se);
|
|
23753
23753
|
function Oa(ve) {
|
|
23754
23754
|
var we = wo();
|
|
@@ -23779,11 +23779,11 @@ This software includes loglevel under the following license.
|
|
|
23779
23779
|
setTimeout(ve, 0);
|
|
23780
23780
|
}
|
|
23781
23781
|
var Zt = /* @__PURE__ */ function(ve) {
|
|
23782
|
-
$.default(
|
|
23783
|
-
var we = Oa(
|
|
23784
|
-
function
|
|
23782
|
+
$.default(ne, ve);
|
|
23783
|
+
var we = Oa(ne);
|
|
23784
|
+
function ne(ee, Z, ge) {
|
|
23785
23785
|
var le;
|
|
23786
|
-
A.default(this,
|
|
23786
|
+
A.default(this, ne), le = we.call(this), D.default(v.default(le), "disconnectingTimer", null), D.default(v.default(le), "disconnectedPromiseResolve", null), D.default(v.default(le), "terminalStates", ["disconnected", "rejected"]), D.default(v.default(le), "tokenExpiredSasCode", 20104), D.default(v.default(le), "terminationReason", "Connection is not initialized"), le.websocket = ee, le.websocket.on("connected", function() {
|
|
23787
23787
|
return le.fsm.socketConnected();
|
|
23788
23788
|
}), le.websocket.on("disconnected", function() {
|
|
23789
23789
|
return le.fsm.socketClosed();
|
|
@@ -23973,7 +23973,7 @@ This software includes loglevel under the following license.
|
|
|
23973
23973
|
});
|
|
23974
23974
|
return le.fsm = new Qe(), le;
|
|
23975
23975
|
}
|
|
23976
|
-
return w.default(
|
|
23976
|
+
return w.default(ne, [{
|
|
23977
23977
|
key: "changeState",
|
|
23978
23978
|
value: function(Z) {
|
|
23979
23979
|
Ce.debug("FSM: ".concat(Z.transition, ": ").concat(Z.from, " --> ").concat(Z.to)), this.lastEmittedState !== this.state && (this.lastEmittedState = this.state, this.emit("stateChanged", this.state));
|
|
@@ -24241,15 +24241,15 @@ This software includes loglevel under the following license.
|
|
|
24241
24241
|
value: function() {
|
|
24242
24242
|
this.websocket.close();
|
|
24243
24243
|
}
|
|
24244
|
-
}]),
|
|
24244
|
+
}]), ne;
|
|
24245
24245
|
}(se), Yi = /* @__PURE__ */ function() {
|
|
24246
24246
|
function ve() {
|
|
24247
24247
|
A.default(this, ve);
|
|
24248
24248
|
}
|
|
24249
24249
|
return w.default(ve, null, [{
|
|
24250
24250
|
key: "getMetadata",
|
|
24251
|
-
value: function(
|
|
24252
|
-
var ee, Z, ge, le, Qe, Ye, _t, Ot, tr =
|
|
24251
|
+
value: function(ne) {
|
|
24252
|
+
var ee, Z, ge, le, Qe, Ye, _t, Ot, tr = ne && ne.clientMetadata ? ne.clientMetadata : {}, $o = ["ver", "env", "envv", "os", "osv", "osa", "type", "sdk", "sdkv", "dev", "devv", "devt", "app", "appv"], Ss = {
|
|
24253
24253
|
env: (ee = R.name) !== null && ee !== void 0 ? ee : "unknown",
|
|
24254
24254
|
envv: (Z = R.version) !== null && Z !== void 0 ? Z : "unknown",
|
|
24255
24255
|
os: (ge = (le = R.os) === null || le === void 0 ? void 0 : le.family) !== null && ge !== void 0 ? ge : "unknown",
|
|
@@ -24269,7 +24269,7 @@ This software includes loglevel under the following license.
|
|
|
24269
24269
|
return ve >= 200 && ve < 300;
|
|
24270
24270
|
}
|
|
24271
24271
|
function Bo(ve) {
|
|
24272
|
-
switch (
|
|
24272
|
+
switch (re.default(ve)) {
|
|
24273
24273
|
case "undefined":
|
|
24274
24274
|
return "";
|
|
24275
24275
|
case "object":
|
|
@@ -24279,9 +24279,9 @@ This software includes loglevel under the following license.
|
|
|
24279
24279
|
}
|
|
24280
24280
|
}
|
|
24281
24281
|
var nr = /* @__PURE__ */ function() {
|
|
24282
|
-
function ve(we,
|
|
24282
|
+
function ve(we, ne) {
|
|
24283
24283
|
var ee = this;
|
|
24284
|
-
A.default(this, ve), this.config =
|
|
24284
|
+
A.default(this, ve), this.config = ne, this.activeRequests = /* @__PURE__ */ new Map(), this.channel = we, this.channel.on("reply", function(Z) {
|
|
24285
24285
|
return ee.processReply(Z);
|
|
24286
24286
|
}), this.channel.on("disconnected", function() {
|
|
24287
24287
|
ee.activeRequests.forEach(function(Z) {
|
|
@@ -24296,27 +24296,27 @@ This software includes loglevel under the following license.
|
|
|
24296
24296
|
}
|
|
24297
24297
|
}, {
|
|
24298
24298
|
key: "processReply",
|
|
24299
|
-
value: function(
|
|
24300
|
-
var ee = this.activeRequests.get(
|
|
24301
|
-
ee && (clearTimeout(ee.timeout), this.activeRequests.delete(
|
|
24299
|
+
value: function(ne) {
|
|
24300
|
+
var ee = this.activeRequests.get(ne.id);
|
|
24301
|
+
ee && (clearTimeout(ee.timeout), this.activeRequests.delete(ne.id), wi(ne.status.code) ? ee.resolve(ne) : (ee.reject(new rr("Transport failure: " + ne.status.status, ne)), Ce.trace("message rejected")));
|
|
24302
24302
|
}
|
|
24303
24303
|
}, {
|
|
24304
24304
|
key: "storeRequest",
|
|
24305
|
-
value: function(
|
|
24305
|
+
value: function(ne, ee, Z) {
|
|
24306
24306
|
var ge = {
|
|
24307
24307
|
resolve: ee,
|
|
24308
24308
|
reject: Z,
|
|
24309
24309
|
timeout: setTimeout(function() {
|
|
24310
|
-
Ce.trace("request",
|
|
24310
|
+
Ce.trace("request", ne, "is timed out"), Z(new Ft("Twilsock: request timeout: " + ne));
|
|
24311
24311
|
}, xr)
|
|
24312
24312
|
};
|
|
24313
|
-
this.activeRequests.set(
|
|
24313
|
+
this.activeRequests.set(ne, ge);
|
|
24314
24314
|
}
|
|
24315
24315
|
}, {
|
|
24316
24316
|
key: "shutdown",
|
|
24317
24317
|
value: function() {
|
|
24318
|
-
this.activeRequests.forEach(function(
|
|
24319
|
-
clearTimeout(
|
|
24318
|
+
this.activeRequests.forEach(function(ne) {
|
|
24319
|
+
clearTimeout(ne.timeout), ne.reject(new Ft("Twilsock: request cancelled by user"));
|
|
24320
24320
|
}), this.activeRequests.clear();
|
|
24321
24321
|
}
|
|
24322
24322
|
}, {
|
|
@@ -24337,35 +24337,35 @@ This software includes loglevel under the following license.
|
|
|
24337
24337
|
}
|
|
24338
24338
|
}, ee, this);
|
|
24339
24339
|
}));
|
|
24340
|
-
function
|
|
24340
|
+
function ne() {
|
|
24341
24341
|
return we.apply(this, arguments);
|
|
24342
24342
|
}
|
|
24343
|
-
return
|
|
24343
|
+
return ne;
|
|
24344
24344
|
}()
|
|
24345
24345
|
}, {
|
|
24346
24346
|
key: "sendClose",
|
|
24347
24347
|
value: function() {
|
|
24348
|
-
var
|
|
24349
|
-
this.send(
|
|
24348
|
+
var ne = new rt();
|
|
24349
|
+
this.send(ne);
|
|
24350
24350
|
}
|
|
24351
24351
|
}, {
|
|
24352
24352
|
key: "sendWithReply",
|
|
24353
|
-
value: function(
|
|
24353
|
+
value: function(ne, ee) {
|
|
24354
24354
|
var Z = this;
|
|
24355
24355
|
return new Promise(function(ge, le) {
|
|
24356
|
-
var Qe = Z.send(
|
|
24356
|
+
var Qe = Z.send(ne, ee);
|
|
24357
24357
|
Z.storeRequest(Qe, ge, le);
|
|
24358
24358
|
});
|
|
24359
24359
|
}
|
|
24360
24360
|
}, {
|
|
24361
24361
|
key: "send",
|
|
24362
|
-
value: function(
|
|
24363
|
-
|
|
24364
|
-
var Z = It.createPacket(
|
|
24362
|
+
value: function(ne, ee) {
|
|
24363
|
+
ne.id = ne.id || "TM".concat(y.v4());
|
|
24364
|
+
var Z = It.createPacket(ne, Bo(ee));
|
|
24365
24365
|
try {
|
|
24366
|
-
return this.channel.send(Z),
|
|
24366
|
+
return this.channel.send(Z), ne.id;
|
|
24367
24367
|
} catch (ge) {
|
|
24368
|
-
throw Ce.debug("failed to send ",
|
|
24368
|
+
throw Ce.debug("failed to send ", ne, ge), Ce.trace(ge.stack), ge;
|
|
24369
24369
|
}
|
|
24370
24370
|
}
|
|
24371
24371
|
}]), ve;
|
|
@@ -24395,13 +24395,13 @@ This software includes loglevel under the following license.
|
|
|
24395
24395
|
}
|
|
24396
24396
|
}
|
|
24397
24397
|
var oe = /* @__PURE__ */ function(ve) {
|
|
24398
|
-
$.default(
|
|
24399
|
-
var we = cn(
|
|
24400
|
-
function
|
|
24398
|
+
$.default(ne, ve);
|
|
24399
|
+
var we = cn(ne);
|
|
24400
|
+
function ne(ee) {
|
|
24401
24401
|
var Z;
|
|
24402
|
-
return A.default(this,
|
|
24402
|
+
return A.default(this, ne), Z = we.call(this), D.default(v.default(Z), "socket", null), Z.url = ee, Z.url = ee, Z.WebSocket = t.WebSocket || t.MozWebSocket || {}, Z;
|
|
24403
24403
|
}
|
|
24404
|
-
return w.default(
|
|
24404
|
+
return w.default(ne, [{
|
|
24405
24405
|
key: "isConnected",
|
|
24406
24406
|
get: function() {
|
|
24407
24407
|
return !!this.socket && this.socket.readyState === 1;
|
|
@@ -24444,7 +24444,7 @@ This software includes loglevel under the following license.
|
|
|
24444
24444
|
}
|
|
24445
24445
|
}
|
|
24446
24446
|
}
|
|
24447
|
-
}]),
|
|
24447
|
+
}]), ne;
|
|
24448
24448
|
}(se);
|
|
24449
24449
|
function Se(ve) {
|
|
24450
24450
|
var we = Xe();
|
|
@@ -24471,13 +24471,13 @@ This software includes loglevel under the following license.
|
|
|
24471
24471
|
}
|
|
24472
24472
|
}
|
|
24473
24473
|
var We = /* @__PURE__ */ function(ve) {
|
|
24474
|
-
$.default(
|
|
24475
|
-
var we = Se(
|
|
24476
|
-
function
|
|
24474
|
+
$.default(ne, ve);
|
|
24475
|
+
var we = Se(ne);
|
|
24476
|
+
function ne(ee) {
|
|
24477
24477
|
var Z;
|
|
24478
|
-
return A.default(this,
|
|
24478
|
+
return A.default(this, ne), Z = we.call(this), Z.transport = ee, Z.registrations = /* @__PURE__ */ new Map(), Z.registrationsInProgress = /* @__PURE__ */ new Map(), Z;
|
|
24479
24479
|
}
|
|
24480
|
-
return w.default(
|
|
24480
|
+
return w.default(ne, [{
|
|
24481
24481
|
key: "putNotificationContext",
|
|
24482
24482
|
value: function() {
|
|
24483
24483
|
var ee = _.default(/* @__PURE__ */ B.default.mark(function ge(le, Qe) {
|
|
@@ -24630,7 +24630,7 @@ This software includes loglevel under the following license.
|
|
|
24630
24630
|
}
|
|
24631
24631
|
return Z;
|
|
24632
24632
|
}()
|
|
24633
|
-
}]),
|
|
24633
|
+
}]), ne;
|
|
24634
24634
|
}(se);
|
|
24635
24635
|
function j(ve) {
|
|
24636
24636
|
var we = Y();
|
|
@@ -24657,13 +24657,13 @@ This software includes loglevel under the following license.
|
|
|
24657
24657
|
}
|
|
24658
24658
|
}
|
|
24659
24659
|
var me = /* @__PURE__ */ function(ve) {
|
|
24660
|
-
$.default(
|
|
24661
|
-
var we = j(
|
|
24662
|
-
function
|
|
24660
|
+
$.default(ne, ve);
|
|
24661
|
+
var we = j(ne);
|
|
24662
|
+
function ne(ee, Z, ge) {
|
|
24663
24663
|
var le;
|
|
24664
|
-
return A.default(this,
|
|
24664
|
+
return A.default(this, ne), le = we.call(this, Z), le.status = ee, le.description = Z, le.body = ge, le;
|
|
24665
24665
|
}
|
|
24666
|
-
return
|
|
24666
|
+
return ne;
|
|
24667
24667
|
}(Ft);
|
|
24668
24668
|
function Ae(ve) {
|
|
24669
24669
|
var we = qe();
|
|
@@ -24690,12 +24690,12 @@ This software includes loglevel under the following license.
|
|
|
24690
24690
|
}
|
|
24691
24691
|
}
|
|
24692
24692
|
var tt = /* @__PURE__ */ function(ve) {
|
|
24693
|
-
$.default(
|
|
24694
|
-
var we = Ae(
|
|
24695
|
-
function
|
|
24696
|
-
return A.default(this,
|
|
24693
|
+
$.default(ne, ve);
|
|
24694
|
+
var we = Ae(ne);
|
|
24695
|
+
function ne(ee) {
|
|
24696
|
+
return A.default(this, ne), we.call(this, ee);
|
|
24697
24697
|
}
|
|
24698
|
-
return
|
|
24698
|
+
return ne;
|
|
24699
24699
|
}(Ft), Et = 2e4;
|
|
24700
24700
|
function lr(ve) {
|
|
24701
24701
|
return ve >= 200 && ve < 300;
|
|
@@ -24706,7 +24706,7 @@ This software includes loglevel under the following license.
|
|
|
24706
24706
|
function fi(ve) {
|
|
24707
24707
|
var we = ve.match(/^(https?\:)\/\/(([^:\/?#]*)(?:\:([0-9]+))?)(\/[^?#]*)(\?[^#]*|)(#.*|)$/);
|
|
24708
24708
|
if (we) {
|
|
24709
|
-
var
|
|
24709
|
+
var ne = {
|
|
24710
24710
|
protocol: we[1],
|
|
24711
24711
|
host: we[2],
|
|
24712
24712
|
hostname: we[3],
|
|
@@ -24716,50 +24716,50 @@ This software includes loglevel under the following license.
|
|
|
24716
24716
|
hash: we[7],
|
|
24717
24717
|
params: {}
|
|
24718
24718
|
};
|
|
24719
|
-
if (
|
|
24720
|
-
var ee =
|
|
24721
|
-
|
|
24719
|
+
if (ne.search.length > 0) {
|
|
24720
|
+
var ee = ne.search.substring(1);
|
|
24721
|
+
ne.params = ee.split("&").map(function(Z) {
|
|
24722
24722
|
return Z.split("=");
|
|
24723
24723
|
}).reduce(function(Z, ge) {
|
|
24724
24724
|
return Z.hasOwnProperty(ge[0]) ? Array.isArray(Z[ge[0]]) ? Z[ge[0]].push(ge[1]) : Z[ge[0]] = [Z[ge[0]], ge[1]] : Z[ge[0]] = ge[1], Z;
|
|
24725
24725
|
}, {});
|
|
24726
24726
|
}
|
|
24727
|
-
return
|
|
24727
|
+
return ne;
|
|
24728
24728
|
}
|
|
24729
24729
|
throw new Ft("Incorrect URI: " + ve);
|
|
24730
24730
|
}
|
|
24731
24731
|
function Or(ve, we) {
|
|
24732
|
-
var
|
|
24732
|
+
var ne = fi(we), ee = {
|
|
24733
24733
|
method: ve,
|
|
24734
|
-
host:
|
|
24735
|
-
path:
|
|
24734
|
+
host: ne.host,
|
|
24735
|
+
path: ne.pathname
|
|
24736
24736
|
};
|
|
24737
|
-
return
|
|
24737
|
+
return ne.params && (ee.params = ne.params), ee;
|
|
24738
24738
|
}
|
|
24739
|
-
function Id(ve, we,
|
|
24739
|
+
function Id(ve, we, ne, ee, Z) {
|
|
24740
24740
|
return {
|
|
24741
24741
|
to: Or(ve, we),
|
|
24742
|
-
headers:
|
|
24742
|
+
headers: ne,
|
|
24743
24743
|
body: ee,
|
|
24744
24744
|
grant: Z
|
|
24745
24745
|
};
|
|
24746
24746
|
}
|
|
24747
24747
|
var el = /* @__PURE__ */ function() {
|
|
24748
|
-
function ve(we,
|
|
24749
|
-
A.default(this, ve), this.config = ee, this.transport = we, this.pendingMessages = [], this.twilsock =
|
|
24748
|
+
function ve(we, ne, ee) {
|
|
24749
|
+
A.default(this, ve), this.config = ee, this.transport = we, this.pendingMessages = [], this.twilsock = ne;
|
|
24750
24750
|
}
|
|
24751
24751
|
return w.default(ve, [{
|
|
24752
24752
|
key: "saveMessage",
|
|
24753
|
-
value: function(
|
|
24753
|
+
value: function(ne) {
|
|
24754
24754
|
var ee = this;
|
|
24755
24755
|
return new Promise(function(Z, ge) {
|
|
24756
24756
|
var le = {
|
|
24757
|
-
message:
|
|
24757
|
+
message: ne,
|
|
24758
24758
|
resolve: Z,
|
|
24759
24759
|
reject: ge,
|
|
24760
24760
|
alreadyRejected: !1,
|
|
24761
24761
|
timeout: setTimeout(function() {
|
|
24762
|
-
Ce.debug("request is timed out"), ge(new Ft("request '".concat(
|
|
24762
|
+
Ce.debug("request is timed out"), ge(new Ft("request '".concat(ne.to.method, "' to '").concat(ne.to.host, "' timed out"))), le.alreadyRejected = !0;
|
|
24763
24763
|
}, Et)
|
|
24764
24764
|
};
|
|
24765
24765
|
ee.pendingMessages.push(le);
|
|
@@ -24768,12 +24768,12 @@ This software includes loglevel under the following license.
|
|
|
24768
24768
|
}, {
|
|
24769
24769
|
key: "sendPendingMessages",
|
|
24770
24770
|
value: function() {
|
|
24771
|
-
for (var
|
|
24772
|
-
var le =
|
|
24771
|
+
for (var ne = this, ee = function() {
|
|
24772
|
+
var le = ne.pendingMessages[0];
|
|
24773
24773
|
if (!le.alreadyRejected)
|
|
24774
24774
|
try {
|
|
24775
24775
|
var Qe = le.message;
|
|
24776
|
-
|
|
24776
|
+
ne.actualSend(Qe).then(function(Ye) {
|
|
24777
24777
|
return le.resolve(Ye);
|
|
24778
24778
|
}).catch(function(Ye) {
|
|
24779
24779
|
return le.reject(Ye);
|
|
@@ -24781,7 +24781,7 @@ This software includes loglevel under the following license.
|
|
|
24781
24781
|
} catch (Ye) {
|
|
24782
24782
|
return Ce.debug("Failed to send pending message", Ye), "break";
|
|
24783
24783
|
}
|
|
24784
|
-
|
|
24784
|
+
ne.pendingMessages.splice(0, 1);
|
|
24785
24785
|
}; this.pendingMessages.length > 0; ) {
|
|
24786
24786
|
var Z = ee();
|
|
24787
24787
|
if (Z === "break")
|
|
@@ -24791,11 +24791,11 @@ This software includes loglevel under the following license.
|
|
|
24791
24791
|
}, {
|
|
24792
24792
|
key: "rejectPendingMessages",
|
|
24793
24793
|
value: function() {
|
|
24794
|
-
var
|
|
24794
|
+
var ne = this;
|
|
24795
24795
|
this.pendingMessages.forEach(function(ee) {
|
|
24796
24796
|
ee.reject(new tt(
|
|
24797
24797
|
// @todo Error Unhandled promise rejection!
|
|
24798
|
-
"Unable to connect: " +
|
|
24798
|
+
"Unable to connect: " + ne.twilsock.getTerminationReason
|
|
24799
24799
|
)), ee.alreadyRejected = !0, clearTimeout(ee.timeout);
|
|
24800
24800
|
}), this.pendingMessages.splice(0, this.pendingMessages.length);
|
|
24801
24801
|
}
|
|
@@ -24833,10 +24833,10 @@ This software includes loglevel under the following license.
|
|
|
24833
24833
|
}
|
|
24834
24834
|
}, ee, this);
|
|
24835
24835
|
}));
|
|
24836
|
-
function
|
|
24836
|
+
function ne(ee) {
|
|
24837
24837
|
return we.apply(this, arguments);
|
|
24838
24838
|
}
|
|
24839
|
-
return
|
|
24839
|
+
return ne;
|
|
24840
24840
|
}()
|
|
24841
24841
|
/**
|
|
24842
24842
|
* Send an upstream message
|
|
@@ -24849,19 +24849,19 @@ This software includes loglevel under the following license.
|
|
|
24849
24849
|
*/
|
|
24850
24850
|
}, {
|
|
24851
24851
|
key: "send",
|
|
24852
|
-
value: function(
|
|
24852
|
+
value: function(ne, ee) {
|
|
24853
24853
|
var Z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, ge = arguments.length > 3 ? arguments[3] : void 0, le = arguments.length > 4 ? arguments[4] : void 0;
|
|
24854
24854
|
if (this.twilsock.isTerminalState)
|
|
24855
24855
|
return Promise.reject(new tt("Unable to connect: " + this.twilsock.getTerminationReason));
|
|
24856
|
-
var Qe = Id(
|
|
24856
|
+
var Qe = Id(ne, ee, Z, ge, le);
|
|
24857
24857
|
return this.twilsock.isConnected ? this.actualSend(Qe) : this.saveMessage(Qe);
|
|
24858
24858
|
}
|
|
24859
24859
|
}]), ve;
|
|
24860
24860
|
}(), I1 = /* @__PURE__ */ function() {
|
|
24861
24861
|
function ve() {
|
|
24862
24862
|
var we = this;
|
|
24863
|
-
A.default(this, ve), this._promise = new Promise(function(
|
|
24864
|
-
we._resolve =
|
|
24863
|
+
A.default(this, ve), this._promise = new Promise(function(ne, ee) {
|
|
24864
|
+
we._resolve = ne, we._reject = ee;
|
|
24865
24865
|
});
|
|
24866
24866
|
}
|
|
24867
24867
|
return w.default(ve, [{
|
|
@@ -24871,18 +24871,18 @@ This software includes loglevel under the following license.
|
|
|
24871
24871
|
}
|
|
24872
24872
|
}, {
|
|
24873
24873
|
key: "update",
|
|
24874
|
-
value: function(
|
|
24875
|
-
this._resolve(
|
|
24874
|
+
value: function(ne) {
|
|
24875
|
+
this._resolve(ne);
|
|
24876
24876
|
}
|
|
24877
24877
|
}, {
|
|
24878
24878
|
key: "set",
|
|
24879
|
-
value: function(
|
|
24880
|
-
this._resolve(
|
|
24879
|
+
value: function(ne) {
|
|
24880
|
+
this._resolve(ne);
|
|
24881
24881
|
}
|
|
24882
24882
|
}, {
|
|
24883
24883
|
key: "fail",
|
|
24884
|
-
value: function(
|
|
24885
|
-
this._reject(
|
|
24884
|
+
value: function(ne) {
|
|
24885
|
+
this._reject(ne);
|
|
24886
24886
|
}
|
|
24887
24887
|
}]), ve;
|
|
24888
24888
|
}(), pp = /* @__PURE__ */ function() {
|
|
@@ -24891,9 +24891,9 @@ This software includes loglevel under the following license.
|
|
|
24891
24891
|
}
|
|
24892
24892
|
return w.default(ve, null, [{
|
|
24893
24893
|
key: "create",
|
|
24894
|
-
value: function(
|
|
24895
|
-
if (
|
|
24896
|
-
return new ve(
|
|
24894
|
+
value: function(ne) {
|
|
24895
|
+
if (ne instanceof Object && "storage_id" in ne)
|
|
24896
|
+
return new ve(ne.storage_id);
|
|
24897
24897
|
throw new Ft('Field "storage_id" is missing');
|
|
24898
24898
|
}
|
|
24899
24899
|
}]), ve;
|
|
@@ -24921,24 +24921,24 @@ This software includes loglevel under the following license.
|
|
|
24921
24921
|
}
|
|
24922
24922
|
}, {
|
|
24923
24923
|
key: "storeToken",
|
|
24924
|
-
value: function(
|
|
24925
|
-
this.canStore() && this.sessionStorage.setItem(this.getKeyName(ee),
|
|
24924
|
+
value: function(ne, ee) {
|
|
24925
|
+
this.canStore() && this.sessionStorage.setItem(this.getKeyName(ee), ne);
|
|
24926
24926
|
}
|
|
24927
24927
|
}, {
|
|
24928
24928
|
key: "getStoredToken",
|
|
24929
|
-
value: function(
|
|
24930
|
-
return this.canStore() ? this.sessionStorage.getItem(this.getKeyName(
|
|
24929
|
+
value: function(ne) {
|
|
24930
|
+
return this.canStore() ? this.sessionStorage.getItem(this.getKeyName(ne)) : null;
|
|
24931
24931
|
}
|
|
24932
24932
|
}, {
|
|
24933
24933
|
key: "initialize",
|
|
24934
24934
|
value: function() {
|
|
24935
|
-
var
|
|
24935
|
+
var ne = this;
|
|
24936
24936
|
if (this.canStore()) {
|
|
24937
24937
|
var ee = this.sessionStorage.getItem(this.initializedFlag);
|
|
24938
24938
|
ee && this.clear(), this.sessionStorage.setItem(this.initializedFlag, "true");
|
|
24939
24939
|
var Z = this.sessionStorage.removeItem;
|
|
24940
24940
|
this.window.addEventListener("unload", function() {
|
|
24941
|
-
Z(
|
|
24941
|
+
Z(ne.initializedFlag);
|
|
24942
24942
|
});
|
|
24943
24943
|
}
|
|
24944
24944
|
}
|
|
@@ -24946,20 +24946,20 @@ This software includes loglevel under the following license.
|
|
|
24946
24946
|
key: "clear",
|
|
24947
24947
|
value: function() {
|
|
24948
24948
|
if (this.canStore()) {
|
|
24949
|
-
for (var
|
|
24949
|
+
for (var ne = [], ee = 0; ee < this.sessionStorage.length; ee++) {
|
|
24950
24950
|
var Z = this.sessionStorage.key(ee);
|
|
24951
|
-
Z && Z.indexOf(this.tokenStoragePrefix) === 0 &&
|
|
24951
|
+
Z && Z.indexOf(this.tokenStoragePrefix) === 0 && ne.push(Z);
|
|
24952
24952
|
}
|
|
24953
24953
|
var ge = this.sessionStorage.removeItem;
|
|
24954
|
-
|
|
24954
|
+
ne.forEach(function(le) {
|
|
24955
24955
|
return ge(le);
|
|
24956
24956
|
}), ge(this.initializedFlag);
|
|
24957
24957
|
}
|
|
24958
24958
|
}
|
|
24959
24959
|
}, {
|
|
24960
24960
|
key: "getKeyName",
|
|
24961
|
-
value: function(
|
|
24962
|
-
return "".concat(this.tokenStoragePrefix).concat(
|
|
24961
|
+
value: function(ne) {
|
|
24962
|
+
return "".concat(this.tokenStoragePrefix).concat(ne);
|
|
24963
24963
|
}
|
|
24964
24964
|
}, {
|
|
24965
24965
|
key: "canStore",
|
|
@@ -24970,18 +24970,18 @@ This software includes loglevel under the following license.
|
|
|
24970
24970
|
}();
|
|
24971
24971
|
D.default(tl, "_instance", null);
|
|
24972
24972
|
var Kc = new tl(), Eo = /* @__PURE__ */ function() {
|
|
24973
|
-
function ve(we,
|
|
24974
|
-
A.default(this, ve), this.title = we, this.details =
|
|
24973
|
+
function ve(we, ne, ee, Z, ge, le) {
|
|
24974
|
+
A.default(this, ve), this.title = we, this.details = ne, this.start = ee, this.type = ge, this.id = le, this.end = Z;
|
|
24975
24975
|
}
|
|
24976
24976
|
return w.default(ve, [{
|
|
24977
24977
|
key: "toTelemetryEvent",
|
|
24978
24978
|
value: function() {
|
|
24979
|
-
var
|
|
24979
|
+
var ne = /* @__PURE__ */ new Date(), ee = this.start, Z = this.end ? this.end : ne;
|
|
24980
24980
|
if (Z < ee) {
|
|
24981
24981
|
var ge = Z;
|
|
24982
24982
|
Z = ee, ee = ge;
|
|
24983
24983
|
}
|
|
24984
|
-
var le = ee.getTime() -
|
|
24984
|
+
var le = ee.getTime() - ne.getTime(), Qe = Z.getTime() - ne.getTime(), Ye = new ke(le, Qe, this.title, this.details, this.id, this.type);
|
|
24985
24985
|
return Ye;
|
|
24986
24986
|
}
|
|
24987
24987
|
}]), ve;
|
|
@@ -24992,8 +24992,8 @@ This software includes loglevel under the following license.
|
|
|
24992
24992
|
ve[ve.MinEventsPortion = 0] = "MinEventsPortion", ve[ve.AnyEvents = 1] = "AnyEvents", ve[ve.AnyEventsIncludingUnfinished = 2] = "AnyEventsIncludingUnfinished";
|
|
24993
24993
|
}(e.EventSendingLimitation || (e.EventSendingLimitation = {}));
|
|
24994
24994
|
var hp = /* @__PURE__ */ function() {
|
|
24995
|
-
function ve(we,
|
|
24996
|
-
A.default(this, ve), D.default(this, "minEventsPortionToSend", 50), D.default(this, "maxEventsPortionToSend", 100), D.default(this, "pendingEvents", /* @__PURE__ */ new Map()), D.default(this, "readyEvents", []), D.default(this, "hasInitializationFinished", !1), D.default(this, "_canSendTelemetry", !1), this.config = we, this.packetInterface =
|
|
24995
|
+
function ve(we, ne) {
|
|
24996
|
+
A.default(this, ve), D.default(this, "minEventsPortionToSend", 50), D.default(this, "maxEventsPortionToSend", 100), D.default(this, "pendingEvents", /* @__PURE__ */ new Map()), D.default(this, "readyEvents", []), D.default(this, "hasInitializationFinished", !1), D.default(this, "_canSendTelemetry", !1), this.config = we, this.packetInterface = ne;
|
|
24997
24997
|
}
|
|
24998
24998
|
return w.default(ve, [{
|
|
24999
24999
|
key: "isTelemetryEnabled",
|
|
@@ -25005,41 +25005,41 @@ This software includes loglevel under the following license.
|
|
|
25005
25005
|
get: function() {
|
|
25006
25006
|
return this._canSendTelemetry && this.isTelemetryEnabled;
|
|
25007
25007
|
},
|
|
25008
|
-
set: function(
|
|
25009
|
-
Ce.debug("TelemetryTracker.canSendTelemetry: ".concat(
|
|
25008
|
+
set: function(ne) {
|
|
25009
|
+
Ce.debug("TelemetryTracker.canSendTelemetry: ".concat(ne, " TelemetryTracker.isTelemetryEnabled: ").concat(this.isTelemetryEnabled)), this._canSendTelemetry && !ne && (this.pendingEvents.clear(), this.readyEvents = []), this._canSendTelemetry = ne, ne && this.sendTelemetry(e.EventSendingLimitation.AnyEvents), ne && !this.hasInitializationFinished && (this.hasInitializationFinished = !0);
|
|
25010
25010
|
}
|
|
25011
25011
|
// Add complete event
|
|
25012
25012
|
}, {
|
|
25013
25013
|
key: "addTelemetryEvent",
|
|
25014
|
-
value: function(
|
|
25015
|
-
!this.canSendTelemetry && this.hasInitializationFinished || this.readyEvents.push(
|
|
25014
|
+
value: function(ne) {
|
|
25015
|
+
!this.canSendTelemetry && this.hasInitializationFinished || this.readyEvents.push(ne);
|
|
25016
25016
|
}
|
|
25017
25017
|
// Add incomplete event (with either starting or ending time point)
|
|
25018
25018
|
}, {
|
|
25019
25019
|
key: "addPartialEvent",
|
|
25020
|
-
value: function(
|
|
25020
|
+
value: function(ne, ee, Z) {
|
|
25021
25021
|
Ce.debug("Adding ".concat(Z === e.TelemetryPoint.Start ? "starting" : "ending", " timepoint for '").concat(ee, "' event"));
|
|
25022
25022
|
var ge = this.pendingEvents.has(ee);
|
|
25023
25023
|
if (Z === e.TelemetryPoint.Start)
|
|
25024
|
-
ge && Ce.debug("Overwriting starting point for '".concat(ee, "' event")), this.pendingEvents.set(ee,
|
|
25024
|
+
ge && Ce.debug("Overwriting starting point for '".concat(ee, "' event")), this.pendingEvents.set(ee, ne);
|
|
25025
25025
|
else {
|
|
25026
25026
|
if (!ge) {
|
|
25027
25027
|
Ce.info("Could not find started event for '".concat(ee, "' event"));
|
|
25028
25028
|
return;
|
|
25029
25029
|
}
|
|
25030
|
-
this.addTelemetryEvent(this.merge(this.pendingEvents.get(ee),
|
|
25030
|
+
this.addTelemetryEvent(this.merge(this.pendingEvents.get(ee), ne)), this.pendingEvents.delete(ee);
|
|
25031
25031
|
}
|
|
25032
25032
|
}
|
|
25033
25033
|
}, {
|
|
25034
25034
|
key: "getTelemetryToSend",
|
|
25035
|
-
value: function(
|
|
25036
|
-
return !this.canSendTelemetry || this.readyEvents.length == 0 ? [] :
|
|
25035
|
+
value: function(ne) {
|
|
25036
|
+
return !this.canSendTelemetry || this.readyEvents.length == 0 ? [] : ne == e.EventSendingLimitation.MinEventsPortion && this.readyEvents.length < this.minEventsPortionToSend ? [] : this.getTelemetryPortion(ne == e.EventSendingLimitation.AnyEventsIncludingUnfinished);
|
|
25037
25037
|
}
|
|
25038
25038
|
}, {
|
|
25039
25039
|
key: "getTelemetryPortion",
|
|
25040
|
-
value: function(
|
|
25040
|
+
value: function(ne) {
|
|
25041
25041
|
var ee = this, Z = Math.min(this.readyEvents.length, this.maxEventsPortionToSend), ge = this.readyEvents.splice(0, Z);
|
|
25042
|
-
return
|
|
25042
|
+
return ne && ge.length < this.maxEventsPortionToSend && this.pendingEvents.forEach(function(le, Qe) {
|
|
25043
25043
|
if (!(ge.length >= ee.maxEventsPortionToSend)) {
|
|
25044
25044
|
var Ye = ee.pendingEvents.get(Qe);
|
|
25045
25045
|
ee.pendingEvents.delete(Qe), ge.push(new Eo(
|
|
@@ -25062,8 +25062,8 @@ This software includes loglevel under the following license.
|
|
|
25062
25062
|
// else use values from start.
|
|
25063
25063
|
}, {
|
|
25064
25064
|
key: "merge",
|
|
25065
|
-
value: function(
|
|
25066
|
-
return new Eo(ee.title ? ee.title :
|
|
25065
|
+
value: function(ne, ee) {
|
|
25066
|
+
return new Eo(ee.title ? ee.title : ne.title, ee.details ? ee.details : ne.details, ne.start, ee.end, ee.type ? ee.type : ne.type, ee.id ? ee.id : ne.id);
|
|
25067
25067
|
}
|
|
25068
25068
|
}, {
|
|
25069
25069
|
key: "sendTelemetryIfMinimalPortionCollected",
|
|
@@ -25074,8 +25074,8 @@ This software includes loglevel under the following license.
|
|
|
25074
25074
|
// and telemetry.v1 capability is enabled there.
|
|
25075
25075
|
}, {
|
|
25076
25076
|
key: "sendTelemetry",
|
|
25077
|
-
value: function(
|
|
25078
|
-
var ee = this.getTelemetryToSend(
|
|
25077
|
+
value: function(ne) {
|
|
25078
|
+
var ee = this.getTelemetryToSend(ne);
|
|
25079
25079
|
if (ee.length !== 0)
|
|
25080
25080
|
try {
|
|
25081
25081
|
this.packetInterface.send(new Le(ee.map(function(Z) {
|
|
@@ -25115,11 +25115,11 @@ This software includes loglevel under the following license.
|
|
|
25115
25115
|
A.default(this, ve);
|
|
25116
25116
|
};
|
|
25117
25117
|
D.default(ws, "TWILSOCK_CONNECT", "twilsock.sdk.connect"), D.default(ws, "TWILSOCK_INIT", "twilsock.sdk.init"), e.TwilsockClient = /* @__PURE__ */ function(ve) {
|
|
25118
|
-
$.default(
|
|
25119
|
-
var we = xo(
|
|
25120
|
-
function
|
|
25118
|
+
$.default(ne, ve);
|
|
25119
|
+
var we = xo(ne);
|
|
25120
|
+
function ne(ee, Z, ge) {
|
|
25121
25121
|
var le;
|
|
25122
|
-
A.default(this,
|
|
25122
|
+
A.default(this, ne), le = we.call(this), D.default(v.default(le), "version", De), D.default(v.default(le), "offlineStorageDeferred", new I1()), ge.continuationToken = ge.continuationToken ? ge.continuationToken : Kc.getStoredToken(Z);
|
|
25123
25123
|
var Qe = le.config = new ht(ee, Z, ge);
|
|
25124
25124
|
Ce.setLevel(Qe.logLevel);
|
|
25125
25125
|
var Ye = new oe(Qe.url), _t = new nr(Ye, Qe);
|
|
@@ -25182,14 +25182,14 @@ This software includes loglevel under the following license.
|
|
|
25182
25182
|
}), le.offlineStorageDeferred.promise.catch(function() {
|
|
25183
25183
|
}), le;
|
|
25184
25184
|
}
|
|
25185
|
-
return w.default(
|
|
25185
|
+
return w.default(ne, [{
|
|
25186
25186
|
key: "emit",
|
|
25187
25187
|
value: function(Z) {
|
|
25188
25188
|
for (var ge, le = arguments.length, Qe = new Array(le > 1 ? le - 1 : 0), Ye = 1; Ye < le; Ye++)
|
|
25189
25189
|
Qe[Ye - 1] = arguments[Ye];
|
|
25190
25190
|
return Ce.debug("Emitting ".concat(Z.toString(), "(").concat(Qe.map(function(_t) {
|
|
25191
25191
|
return JSON.stringify(_t);
|
|
25192
|
-
}).join(", "), ")")), (ge = O.default(C.default(
|
|
25192
|
+
}).join(", "), ")")), (ge = O.default(C.default(ne.prototype), "emit", this)).call.apply(ge, [this, Z].concat(Qe));
|
|
25193
25193
|
}
|
|
25194
25194
|
}, {
|
|
25195
25195
|
key: "handleStorageId",
|
|
@@ -25498,7 +25498,7 @@ This software includes loglevel under the following license.
|
|
|
25498
25498
|
value: function(Z, ge, le) {
|
|
25499
25499
|
this.telemetryTracker.addPartialEvent(Z, ge, le), le === e.TelemetryPoint.End && this.telemetryTracker.sendTelemetryIfMinimalPortionCollected();
|
|
25500
25500
|
}
|
|
25501
|
-
}]),
|
|
25501
|
+
}]), ne;
|
|
25502
25502
|
}(se), e.TwilsockClient = I([p.validateConstructorTypes(p.nonEmptyString, p.nonEmptyString, [p.pureObject, "undefined", p.literal(null)]), U("design:paramtypes", [String, String, Object])], e.TwilsockClient);
|
|
25503
25503
|
var R1 = /* @__PURE__ */ function() {
|
|
25504
25504
|
function ve(we) {
|
|
@@ -25506,10 +25506,10 @@ This software includes loglevel under the following license.
|
|
|
25506
25506
|
}
|
|
25507
25507
|
return w.default(ve, [{
|
|
25508
25508
|
key: "populateInitRegistrations",
|
|
25509
|
-
value: function(
|
|
25509
|
+
value: function(ne) {
|
|
25510
25510
|
var ee = new Set(this.message_types);
|
|
25511
|
-
for (var Z in
|
|
25512
|
-
ee.add(
|
|
25511
|
+
for (var Z in ne)
|
|
25512
|
+
ee.add(ne[Z]);
|
|
25513
25513
|
this.message_types = Array.from(ee);
|
|
25514
25514
|
}
|
|
25515
25515
|
}]), ve;
|
|
@@ -25671,7 +25671,7 @@ SOFTWARE.
|
|
|
25671
25671
|
}
|
|
25672
25672
|
}), et.default = Je, Object.freeze(et);
|
|
25673
25673
|
}
|
|
25674
|
-
var S = /* @__PURE__ */ b(t), E = /* @__PURE__ */ b(r), _ = /* @__PURE__ */ b(n), w = /* @__PURE__ */ b(i), v = /* @__PURE__ */ b(o), O = /* @__PURE__ */ b(a), $ = /* @__PURE__ */ b(s), k = /* @__PURE__ */ b(c), C = /* @__PURE__ */ b(l), A = /* @__PURE__ */ b(d), D = /* @__PURE__ */ b(p), B = /* @__PURE__ */ b(h),
|
|
25674
|
+
var S = /* @__PURE__ */ b(t), E = /* @__PURE__ */ b(r), _ = /* @__PURE__ */ b(n), w = /* @__PURE__ */ b(i), v = /* @__PURE__ */ b(o), O = /* @__PURE__ */ b(a), $ = /* @__PURE__ */ b(s), k = /* @__PURE__ */ b(c), C = /* @__PURE__ */ b(l), A = /* @__PURE__ */ b(d), D = /* @__PURE__ */ b(p), B = /* @__PURE__ */ b(h), re = /* @__PURE__ */ T(m), J = /* @__PURE__ */ T(y);
|
|
25675
25675
|
function G(Je, et, Fe, Ke) {
|
|
25676
25676
|
var Me = arguments.length, nt = Me < 3 ? et : Ke === null ? Ke = Object.getOwnPropertyDescriptor(et, Fe) : Ke, rt;
|
|
25677
25677
|
if ((typeof Reflect > "u" ? "undefined" : k.default(Reflect)) === "object" && typeof Reflect.decorate == "function")
|
|
@@ -25902,7 +25902,7 @@ SOFTWARE.
|
|
|
25902
25902
|
et[Fe] = Je[Fe].listener || Je[Fe];
|
|
25903
25903
|
return et;
|
|
25904
25904
|
}
|
|
25905
|
-
var he =
|
|
25905
|
+
var he = re.getLogger("twilio-notificatiions");
|
|
25906
25906
|
function ue(Je, et) {
|
|
25907
25907
|
return ["".concat((/* @__PURE__ */ new Date()).toISOString(), " Twilio.Notifications ").concat(Je, ":")].concat(Array.from(et));
|
|
25908
25908
|
}
|
|
@@ -35057,10 +35057,10 @@ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
35057
35057
|
return B;
|
|
35058
35058
|
};
|
|
35059
35059
|
}
|
|
35060
|
-
for (var
|
|
35061
|
-
|
|
35060
|
+
for (var re = [], J = 0; J < 256; ++J)
|
|
35061
|
+
re[J] = (J + 256).toString(16).substr(1);
|
|
35062
35062
|
function G(Ie, He) {
|
|
35063
|
-
var ke = He || 0, Le =
|
|
35063
|
+
var ke = He || 0, Le = re;
|
|
35064
35064
|
return [Le[Ie[ke++]], Le[Ie[ke++]], Le[Ie[ke++]], Le[Ie[ke++]], "-", Le[Ie[ke++]], Le[Ie[ke++]], "-", Le[Ie[ke++]], Le[Ie[ke++]], "-", Le[Ie[ke++]], Le[Ie[ke++]], "-", Le[Ie[ke++]], Le[Ie[ke++]], Le[Ie[ke++]], Le[Ie[ke++]], Le[Ie[ke++]], Le[Ie[ke++]]].join("");
|
|
35065
35065
|
}
|
|
35066
35066
|
var Q = G, R = C.exports, I = Q, U, ie, L = 0, se = 0;
|
|
@@ -36504,7 +36504,7 @@ This software includes platform.js under the following license.
|
|
|
36504
36504
|
}
|
|
36505
36505
|
}), ae.default = te, Object.freeze(ae);
|
|
36506
36506
|
}
|
|
36507
|
-
var A = /* @__PURE__ */ k(r), D = /* @__PURE__ */ k(n), B = /* @__PURE__ */ k(i),
|
|
36507
|
+
var A = /* @__PURE__ */ k(r), D = /* @__PURE__ */ k(n), B = /* @__PURE__ */ k(i), re = /* @__PURE__ */ k(o), J = /* @__PURE__ */ k(a), G = /* @__PURE__ */ k(s), Q = /* @__PURE__ */ k(c), R = /* @__PURE__ */ k(u), I = /* @__PURE__ */ k(l), U = /* @__PURE__ */ k(d), ie = /* @__PURE__ */ C(f), L = /* @__PURE__ */ k(m), se = /* @__PURE__ */ k(g), x = /* @__PURE__ */ k(b), pe = /* @__PURE__ */ k(O);
|
|
36508
36508
|
function ce(te, ae, H, N) {
|
|
36509
36509
|
var P = arguments.length, W = P < 3 ? ae : N === null ? N = Object.getOwnPropertyDescriptor(ae, H) : N, z;
|
|
36510
36510
|
if ((typeof Reflect > "u" ? "undefined" : U.default(Reflect)) === "object" && typeof Reflect.decorate == "function")
|
|
@@ -36737,7 +36737,7 @@ This software includes platform.js under the following license.
|
|
|
36737
36737
|
P = Reflect.construct(N, arguments, W);
|
|
36738
36738
|
} else
|
|
36739
36739
|
P = N.apply(this, arguments);
|
|
36740
|
-
return
|
|
36740
|
+
return re.default(this, P);
|
|
36741
36741
|
};
|
|
36742
36742
|
}
|
|
36743
36743
|
function qn() {
|
|
@@ -37239,7 +37239,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
37239
37239
|
P = Reflect.construct(N, arguments, W);
|
|
37240
37240
|
} else
|
|
37241
37241
|
P = N.apply(this, arguments);
|
|
37242
|
-
return
|
|
37242
|
+
return re.default(this, P);
|
|
37243
37243
|
};
|
|
37244
37244
|
}
|
|
37245
37245
|
function Ie() {
|
|
@@ -37513,7 +37513,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
37513
37513
|
P = Reflect.construct(N, arguments, W);
|
|
37514
37514
|
} else
|
|
37515
37515
|
P = N.apply(this, arguments);
|
|
37516
|
-
return
|
|
37516
|
+
return re.default(this, P);
|
|
37517
37517
|
};
|
|
37518
37518
|
}
|
|
37519
37519
|
function Re() {
|
|
@@ -38309,7 +38309,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
38309
38309
|
P = Reflect.construct(N, arguments, W);
|
|
38310
38310
|
} else
|
|
38311
38311
|
P = N.apply(this, arguments);
|
|
38312
|
-
return
|
|
38312
|
+
return re.default(this, P);
|
|
38313
38313
|
};
|
|
38314
38314
|
}
|
|
38315
38315
|
function Fi() {
|
|
@@ -39108,7 +39108,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
39108
39108
|
P = Reflect.construct(N, arguments, W);
|
|
39109
39109
|
} else
|
|
39110
39110
|
P = N.apply(this, arguments);
|
|
39111
|
-
return
|
|
39111
|
+
return re.default(this, P);
|
|
39112
39112
|
};
|
|
39113
39113
|
}
|
|
39114
39114
|
function We() {
|
|
@@ -39694,7 +39694,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
39694
39694
|
P = Reflect.construct(N, arguments, W);
|
|
39695
39695
|
} else
|
|
39696
39696
|
P = N.apply(this, arguments);
|
|
39697
|
-
return
|
|
39697
|
+
return re.default(this, P);
|
|
39698
39698
|
};
|
|
39699
39699
|
}
|
|
39700
39700
|
function jr() {
|
|
@@ -41071,7 +41071,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41071
41071
|
P = Reflect.construct(N, arguments, W);
|
|
41072
41072
|
} else
|
|
41073
41073
|
P = N.apply(this, arguments);
|
|
41074
|
-
return
|
|
41074
|
+
return re.default(this, P);
|
|
41075
41075
|
};
|
|
41076
41076
|
}
|
|
41077
41077
|
function hp() {
|
|
@@ -41588,7 +41588,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41588
41588
|
P = Reflect.construct(N, arguments, W);
|
|
41589
41589
|
} else
|
|
41590
41590
|
P = N.apply(this, arguments);
|
|
41591
|
-
return
|
|
41591
|
+
return re.default(this, P);
|
|
41592
41592
|
};
|
|
41593
41593
|
}
|
|
41594
41594
|
function R1() {
|
|
@@ -41750,7 +41750,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41750
41750
|
return P;
|
|
41751
41751
|
}()
|
|
41752
41752
|
}]), H;
|
|
41753
|
-
}(y.ReplayEventEmitter), we = _e.scope("TypingIndicator"),
|
|
41753
|
+
}(y.ReplayEventEmitter), we = _e.scope("TypingIndicator"), ne = /* @__PURE__ */ function() {
|
|
41754
41754
|
function te(ae, H, N) {
|
|
41755
41755
|
R.default(this, te), this.configuration = H, this.services = N, this.getConversation = ae, this.serviceTypingTimeout = null, this.sentUpdates = /* @__PURE__ */ new Map();
|
|
41756
41756
|
}
|
|
@@ -41907,7 +41907,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41907
41907
|
P = Reflect.construct(N, arguments, W);
|
|
41908
41908
|
} else
|
|
41909
41909
|
P = N.apply(this, arguments);
|
|
41910
|
-
return
|
|
41910
|
+
return re.default(this, P);
|
|
41911
41911
|
};
|
|
41912
41912
|
}
|
|
41913
41913
|
function Ye() {
|
|
@@ -42673,7 +42673,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
42673
42673
|
P = Reflect.construct(N, arguments, W);
|
|
42674
42674
|
} else
|
|
42675
42675
|
P = N.apply(this, arguments);
|
|
42676
|
-
return
|
|
42676
|
+
return re.default(this, P);
|
|
42677
42677
|
};
|
|
42678
42678
|
}
|
|
42679
42679
|
function la() {
|
|
@@ -43317,7 +43317,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43317
43317
|
case 0:
|
|
43318
43318
|
return q.next = 2, this._services.commandExecutor.fetchResource("Client/v2/Configuration");
|
|
43319
43319
|
case 2:
|
|
43320
|
-
return F = q.sent, this._configuration = new at(this._options, F, gr._logger), this._services.channelMetadataClient = new mt(this._services, this._configuration), this._services.messageRecipientsClient = new Xi(this._services, this._configuration), this._myself._resolveInitialization(this._configuration, this._configuration.userIdentity, this._configuration.userInfo, !0), this._services.typingIndicator = new
|
|
43320
|
+
return F = q.sent, this._configuration = new at(this._options, F, gr._logger), this._services.channelMetadataClient = new mt(this._services, this._configuration), this._services.messageRecipientsClient = new Xi(this._services, this._configuration), this._myself._resolveInitialization(this._configuration, this._configuration.userIdentity, this._configuration.userInfo, !0), this._services.typingIndicator = new ne(this.getConversationBySid.bind(this), this._configuration, this._services), this._services.network = new Me(this._configuration, this._services), this._services.users = new ve(this._myself, this._configuration, this._services), this._services.users.on("userSubscribed", function(X) {
|
|
43321
43321
|
z.emit("userSubscribed", X);
|
|
43322
43322
|
}), this._services.users.on("userUpdated", function(X) {
|
|
43323
43323
|
return z.emit("userUpdated", X);
|
|
@@ -46903,7 +46903,7 @@ const cVe = Object.freeze([
|
|
|
46903
46903
|
var PE = { exports: {} };
|
|
46904
46904
|
(function(e, t) {
|
|
46905
46905
|
(function(r, n) {
|
|
46906
|
-
var i = "1.0.37", o = "", a = "?", s = "function", c = "undefined", u = "object", l = "string", d = "major", f = "model", p = "name", h = "type", m = "vendor", y = "version", g = "architecture", b = "console", T = "mobile", S = "tablet", E = "smarttv", _ = "wearable", w = "embedded", v = 500, O = "Amazon", $ = "Apple", k = "ASUS", C = "BlackBerry", A = "Browser", D = "Chrome", B = "Edge",
|
|
46906
|
+
var i = "1.0.37", o = "", a = "?", s = "function", c = "undefined", u = "object", l = "string", d = "major", f = "model", p = "name", h = "type", m = "vendor", y = "version", g = "architecture", b = "console", T = "mobile", S = "tablet", E = "smarttv", _ = "wearable", w = "embedded", v = 500, O = "Amazon", $ = "Apple", k = "ASUS", C = "BlackBerry", A = "Browser", D = "Chrome", B = "Edge", re = "Firefox", J = "Google", G = "Huawei", Q = "LG", R = "Microsoft", I = "Motorola", U = "Opera", ie = "Samsung", L = "Sharp", se = "Sony", x = "Xiaomi", pe = "Zebra", ce = "Facebook", fe = "Chromium OS", $e = "Mac OS", de = function(at, yt) {
|
|
46907
46907
|
var ct = {};
|
|
46908
46908
|
for (var it in at)
|
|
46909
46909
|
yt[it] && yt[it].length % 2 === 0 ? ct[it] = yt[it].concat(at[it]) : ct[it] = at[it];
|
|
@@ -47059,7 +47059,7 @@ var PE = { exports: {} };
|
|
|
47059
47059
|
/\bfocus\/([\w\.]+)/i
|
|
47060
47060
|
// Firefox Focus
|
|
47061
47061
|
],
|
|
47062
|
-
[y, [p,
|
|
47062
|
+
[y, [p, re + " Focus"]],
|
|
47063
47063
|
[
|
|
47064
47064
|
/\bopt\/([\w\.]+)/i
|
|
47065
47065
|
// Opera Touch
|
|
@@ -47089,7 +47089,7 @@ var PE = { exports: {} };
|
|
|
47089
47089
|
/fxios\/([-\w\.]+)/i
|
|
47090
47090
|
// Firefox for iOS
|
|
47091
47091
|
],
|
|
47092
|
-
[y, [p,
|
|
47092
|
+
[y, [p, re]],
|
|
47093
47093
|
[
|
|
47094
47094
|
/\bqihu|(qi?ho?o?|360)browser/i
|
|
47095
47095
|
// 360
|
|
@@ -47218,7 +47218,7 @@ var PE = { exports: {} };
|
|
|
47218
47218
|
/mobile vr; rv:([\w\.]+)\).+firefox/i
|
|
47219
47219
|
// Firefox Reality
|
|
47220
47220
|
],
|
|
47221
|
-
[y, [p,
|
|
47221
|
+
[y, [p, re + " Reality"]],
|
|
47222
47222
|
[
|
|
47223
47223
|
/ekiohf.+(flow)\/([\w\.]+)/i,
|
|
47224
47224
|
// Flow
|
|
@@ -47942,7 +47942,7 @@ var PE = { exports: {} };
|
|
|
47942
47942
|
/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i
|
|
47943
47943
|
// Firefox OS
|
|
47944
47944
|
],
|
|
47945
|
-
[y, [p,
|
|
47945
|
+
[y, [p, re + " OS"]],
|
|
47946
47946
|
[
|
|
47947
47947
|
/web0s;.+rt(tv)/i,
|
|
47948
47948
|
/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i
|
|
@@ -48551,7 +48551,7 @@ function vVe(e) {
|
|
|
48551
48551
|
}
|
|
48552
48552
|
function s(R, I, U, ie, L, se, x, pe, ce, fe) {
|
|
48553
48553
|
for (var $e, de = 0, _e = I; de < J; ++de)
|
|
48554
|
-
switch ($e =
|
|
48554
|
+
switch ($e = re[de].call(u, R, _e, U, ie, L, se, x, pe, ce, fe)) {
|
|
48555
48555
|
case void 0:
|
|
48556
48556
|
case !1:
|
|
48557
48557
|
case !0:
|
|
@@ -48575,16 +48575,16 @@ function vVe(e) {
|
|
|
48575
48575
|
var L = t(B, U, I, 0, 0);
|
|
48576
48576
|
return 0 < J && (ie = s(-2, L, U, U, C, k, L.length, 0, 0, 0)) !== void 0 && (L = ie), A = 0, k = C = 1, L;
|
|
48577
48577
|
}
|
|
48578
|
-
var l = /^\0+/g, d = /[\0\r\f]/g, f = /: */g, p = /zoo|gra/, h = /([,: ])(transform)/g, m = /,\r+?/g, y = /([\t\r\n ])*\f?&/g, g = /@(k\w+)\s*(\S*)\s*/, b = /::(place)/g, T = /:(read-only)/g, S = /[svh]\w+-[tblr]{2}/, E = /\(\s*(.*)\s*\)/g, _ = /([\s\S]*?);/g, w = /-self|flex-/g, v = /[^]*?(:[rp][el]a[\w-]+)[^]*/, O = /stretch|:\s*\w+\-(?:conte|avail)/, $ = /([^-])(image-set\()/, k = 1, C = 1, A = 0, D = 1, B = [],
|
|
48578
|
+
var l = /^\0+/g, d = /[\0\r\f]/g, f = /: */g, p = /zoo|gra/, h = /([,: ])(transform)/g, m = /,\r+?/g, y = /([\t\r\n ])*\f?&/g, g = /@(k\w+)\s*(\S*)\s*/, b = /::(place)/g, T = /:(read-only)/g, S = /[svh]\w+-[tblr]{2}/, E = /\(\s*(.*)\s*\)/g, _ = /([\s\S]*?);/g, w = /-self|flex-/g, v = /[^]*?(:[rp][el]a[\w-]+)[^]*/, O = /stretch|:\s*\w+\-(?:conte|avail)/, $ = /([^-])(image-set\()/, k = 1, C = 1, A = 0, D = 1, B = [], re = [], J = 0, G = null, Q = 0;
|
|
48579
48579
|
return u.use = function R(I) {
|
|
48580
48580
|
switch (I) {
|
|
48581
48581
|
case void 0:
|
|
48582
48582
|
case null:
|
|
48583
|
-
J =
|
|
48583
|
+
J = re.length = 0;
|
|
48584
48584
|
break;
|
|
48585
48585
|
default:
|
|
48586
48586
|
if (typeof I == "function")
|
|
48587
|
-
|
|
48587
|
+
re[J++] = I;
|
|
48588
48588
|
else if (typeof I == "object")
|
|
48589
48589
|
for (var U = 0, ie = I.length; U < ie; ++U)
|
|
48590
48590
|
R(I[U]);
|
|
@@ -48665,8 +48665,8 @@ function vVe(e) {
|
|
|
48665
48665
|
var t, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), c = Symbol.for("react.context"), u = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen");
|
|
48666
48666
|
function y(B) {
|
|
48667
48667
|
if (typeof B == "object" && B !== null) {
|
|
48668
|
-
var
|
|
48669
|
-
switch (
|
|
48668
|
+
var re = B.$$typeof;
|
|
48669
|
+
switch (re) {
|
|
48670
48670
|
case r:
|
|
48671
48671
|
var J = B.type;
|
|
48672
48672
|
switch (J) {
|
|
@@ -48687,11 +48687,11 @@ function vVe(e) {
|
|
|
48687
48687
|
case s:
|
|
48688
48688
|
return G;
|
|
48689
48689
|
default:
|
|
48690
|
-
return
|
|
48690
|
+
return re;
|
|
48691
48691
|
}
|
|
48692
48692
|
}
|
|
48693
48693
|
case n:
|
|
48694
|
-
return
|
|
48694
|
+
return re;
|
|
48695
48695
|
}
|
|
48696
48696
|
}
|
|
48697
48697
|
}
|
|
@@ -48848,11 +48848,11 @@ var lL, _Ve = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValu
|
|
|
48848
48848
|
}
|
|
48849
48849
|
}
|
|
48850
48850
|
}
|
|
48851
|
-
var E = u, _ = l, w = c, v = s, O = r, $ = d, k = i, C = m, A = h, D = n, B = a,
|
|
48851
|
+
var E = u, _ = l, w = c, v = s, O = r, $ = d, k = i, C = m, A = h, D = n, B = a, re = o, J = f, G = !1;
|
|
48852
48852
|
function Q(R) {
|
|
48853
48853
|
return S(R) === l;
|
|
48854
48854
|
}
|
|
48855
|
-
In.AsyncMode = E, In.ConcurrentMode = _, In.ContextConsumer = w, In.ContextProvider = v, In.Element = O, In.ForwardRef = $, In.Fragment = k, In.Lazy = C, In.Memo = A, In.Portal = D, In.Profiler = B, In.StrictMode =
|
|
48855
|
+
In.AsyncMode = E, In.ConcurrentMode = _, In.ContextConsumer = w, In.ContextProvider = v, In.Element = O, In.ForwardRef = $, In.Fragment = k, In.Lazy = C, In.Memo = A, In.Portal = D, In.Profiler = B, In.StrictMode = re, In.Suspense = J, In.isAsyncMode = function(R) {
|
|
48856
48856
|
return G || (G = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Q(R) || S(R) === u;
|
|
48857
48857
|
}, In.isConcurrentMode = Q, In.isContextConsumer = function(R) {
|
|
48858
48858
|
return S(R) === c;
|
|
@@ -49397,10 +49397,10 @@ function Pte(e, t, r) {
|
|
|
49397
49397
|
}), [ce, fe];
|
|
49398
49398
|
}(function(se, x, pe) {
|
|
49399
49399
|
return pe === void 0 && (pe = Ml), se.theme !== pe.theme && se.theme || x || pe.theme;
|
|
49400
|
-
}(E, zl(Ate), $) || Ml, E, v),
|
|
49400
|
+
}(E, zl(Ate), $) || Ml, E, v), re = B[0], J = B[1], G = function(se, x, pe, ce) {
|
|
49401
49401
|
var fe = zl(Rte) || qVe, $e = zl(Cte) || FE, de = x ? se.generateAndInjectStyles(Ml, fe, $e) : se.generateAndInjectStyles(pe, fe, $e);
|
|
49402
49402
|
return process.env.NODE_ENV !== "production" && A_(de), process.env.NODE_ENV !== "production" && !x && ce && ce(de), de;
|
|
49403
|
-
}(O, w,
|
|
49403
|
+
}(O, w, re, process.env.NODE_ENV !== "production" ? S.warnTooManyClasses : void 0), Q = _, R = J.$as || E.$as || J.as || E.as || D, I = u2(R), U = J !== E ? hu({}, E, {}, J) : E, ie = {};
|
|
49404
49404
|
for (var L in U)
|
|
49405
49405
|
L[0] !== "$" && L !== "as" && (L === "forwardedAs" ? ie.as = U[L] : (C ? C(L, dL, R) : !I || dL(L)) && (ie[L] = U[L]));
|
|
49406
49406
|
return E.style && J.style !== E.style && (ie.style = hu({}, E.style, {}, J.style)), ie.className = Array.prototype.concat(k, A, G !== A ? G : null, E.className, J.className).filter(Boolean).join(" "), ie.ref = Q, zm(R, ie);
|
|
@@ -50216,15 +50216,15 @@ var Vte = { exports: {} }, Hte = { exports: {} };
|
|
|
50216
50216
|
}
|
|
50217
50217
|
t(D, d);
|
|
50218
50218
|
var B = null;
|
|
50219
|
-
function
|
|
50219
|
+
function re() {
|
|
50220
50220
|
d.call(this);
|
|
50221
50221
|
}
|
|
50222
|
-
t(
|
|
50222
|
+
t(re, d);
|
|
50223
50223
|
var J = null;
|
|
50224
50224
|
function G() {
|
|
50225
50225
|
d.call(this);
|
|
50226
50226
|
}
|
|
50227
|
-
|
|
50227
|
+
re.prototype.ia = function() {
|
|
50228
50228
|
return m(this, 10);
|
|
50229
50229
|
}, C.prototype.o = function() {
|
|
50230
50230
|
var j = A;
|
|
@@ -50232,10 +50232,10 @@ var Vte = { exports: {} }, Hte = { exports: {} };
|
|
|
50232
50232
|
}, C.o = C.prototype.o, D.prototype.o = function() {
|
|
50233
50233
|
var j = B;
|
|
50234
50234
|
return j || (B = j = E(D, { 0: { name: "PhoneNumberDesc", na: "i18n.phonenumbers.PhoneNumberDesc" }, 2: { name: "national_number_pattern", i: 9, type: String }, 9: { name: "possible_length", ga: !0, i: 5, type: Number }, 10: { name: "possible_length_local_only", ga: !0, i: 5, type: Number }, 6: { name: "example_number", i: 9, type: String } })), j;
|
|
50235
|
-
}, D.o = D.prototype.o,
|
|
50235
|
+
}, D.o = D.prototype.o, re.prototype.o = function() {
|
|
50236
50236
|
var j = J;
|
|
50237
|
-
return j || (J = j = E(
|
|
50238
|
-
},
|
|
50237
|
+
return j || (J = j = E(re, { 0: { name: "PhoneMetadata", na: "i18n.phonenumbers.PhoneMetadata" }, 1: { name: "general_desc", i: 11, type: D }, 2: { name: "fixed_line", i: 11, type: D }, 3: { name: "mobile", i: 11, type: D }, 4: { name: "toll_free", i: 11, type: D }, 5: { name: "premium_rate", i: 11, type: D }, 6: { name: "shared_cost", i: 11, type: D }, 7: { name: "personal_number", i: 11, type: D }, 8: { name: "voip", i: 11, type: D }, 21: { name: "pager", i: 11, type: D }, 25: { name: "uan", i: 11, type: D }, 27: { name: "emergency", i: 11, type: D }, 28: { name: "voicemail", i: 11, type: D }, 29: { name: "short_code", i: 11, type: D }, 30: { name: "standard_rate", i: 11, type: D }, 31: { name: "carrier_specific", i: 11, type: D }, 33: { name: "sms_services", i: 11, type: D }, 24: { name: "no_international_dialling", i: 11, type: D }, 9: { name: "id", required: !0, i: 9, type: String }, 10: { name: "country_code", i: 5, type: Number }, 11: { name: "international_prefix", i: 9, type: String }, 17: { name: "preferred_international_prefix", i: 9, type: String }, 12: { name: "national_prefix", i: 9, type: String }, 13: { name: "preferred_extn_prefix", i: 9, type: String }, 15: { name: "national_prefix_for_parsing", i: 9, type: String }, 16: { name: "national_prefix_transform_rule", i: 9, type: String }, 18: { name: "same_mobile_and_fixed_line_pattern", i: 8, defaultValue: !1, type: Boolean }, 19: { name: "number_format", ga: !0, i: 11, type: C }, 20: { name: "intl_number_format", ga: !0, i: 11, type: C }, 22: { name: "main_country_for_code", i: 8, defaultValue: !1, type: Boolean }, 23: { name: "leading_digits", i: 9, type: String } })), j;
|
|
50238
|
+
}, re.o = re.prototype.o, t(G, d);
|
|
50239
50239
|
var Q = null;
|
|
50240
50240
|
G.prototype.ia = function() {
|
|
50241
50241
|
return m(this, 1);
|
|
@@ -50396,7 +50396,7 @@ var Vte = { exports: {} }, Hte = { exports: {} };
|
|
|
50396
50396
|
if (me == null) {
|
|
50397
50397
|
if ((me = U[Y]) == null)
|
|
50398
50398
|
return null;
|
|
50399
|
-
me = new O().g(
|
|
50399
|
+
me = new O().g(re.o(), me), j.g[Y] = me;
|
|
50400
50400
|
}
|
|
50401
50401
|
return me;
|
|
50402
50402
|
}
|
|
@@ -50563,7 +50563,7 @@ var Vte = { exports: {} }, Hte = { exports: {} };
|
|
|
50563
50563
|
var Y = Ke(this, rt(this, j));
|
|
50564
50564
|
return Y == null || !Me(j = Fr(j), m(Y, 24));
|
|
50565
50565
|
};
|
|
50566
|
-
var Gt = new
|
|
50566
|
+
var Gt = new re();
|
|
50567
50567
|
T(Gt, 11, "NA");
|
|
50568
50568
|
var Ft = RegExp("^[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~]*\\$1[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~]*(\\$\\d[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~]*)*$"), Kt = /[- ]/;
|
|
50569
50569
|
function Yt(j, Y) {
|
|
@@ -51322,13 +51322,13 @@ function XHe() {
|
|
|
51322
51322
|
if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(O)))) {
|
|
51323
51323
|
var k = [], C = !0, A = !1, D = void 0;
|
|
51324
51324
|
try {
|
|
51325
|
-
for (var B,
|
|
51325
|
+
for (var B, re = O[Symbol.iterator](); !(C = (B = re.next()).done) && (k.push(B.value), !$ || k.length !== $); C = !0)
|
|
51326
51326
|
;
|
|
51327
51327
|
} catch (J) {
|
|
51328
51328
|
A = !0, D = J;
|
|
51329
51329
|
} finally {
|
|
51330
51330
|
try {
|
|
51331
|
-
C ||
|
|
51331
|
+
C || re.return == null || re.return();
|
|
51332
51332
|
} finally {
|
|
51333
51333
|
if (A)
|
|
51334
51334
|
throw D;
|
|
@@ -51423,10 +51423,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51423
51423
|
l(this, k);
|
|
51424
51424
|
for (var A = arguments.length, D = new Array(A), B = 0; B < A; B++)
|
|
51425
51425
|
D[B] = arguments[B];
|
|
51426
|
-
return g(m(C = $.call.apply($, [this].concat(D))), "callPlayer", n.callPlayer), g(m(C), "parsePlaylist", function(
|
|
51427
|
-
return
|
|
51428
|
-
}), g(m(C), "onStateChange", function(
|
|
51429
|
-
var J =
|
|
51426
|
+
return g(m(C = $.call.apply($, [this].concat(D))), "callPlayer", n.callPlayer), g(m(C), "parsePlaylist", function(re) {
|
|
51427
|
+
return re instanceof Array ? { listType: "playlist", playlist: re.map(C.getID).join(",") } : T.test(re) ? { listType: "playlist", list: c(re.match(T), 2)[1].replace(/^UC/, "UU") } : S.test(re) ? { listType: "user_uploads", list: c(re.match(S), 2)[1] } : {};
|
|
51428
|
+
}), g(m(C), "onStateChange", function(re) {
|
|
51429
|
+
var J = re.data, G = C.props, Q = G.onPlay, R = G.onPause, I = G.onBuffer, U = G.onBufferEnd, ie = G.onEnded, L = G.onReady, se = G.loop, x = G.config, pe = x.playerVars, ce = x.onUnstarted, fe = window.YT.PlayerState, $e = fe.UNSTARTED, de = fe.PLAYING, _e = fe.PAUSED, xe = fe.BUFFERING, ye = fe.ENDED, ot = fe.CUED;
|
|
51430
51430
|
if (J === $e && ce(), J === de && (Q(), U()), J === _e && R(), J === xe && I(), J === ye) {
|
|
51431
51431
|
var he = !!C.callPlayer("getPlaylist");
|
|
51432
51432
|
se && !he && (pe.start ? C.seekTo(pe.start) : C.play()), ie();
|
|
@@ -51436,8 +51436,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51436
51436
|
C.callPlayer("mute");
|
|
51437
51437
|
}), g(m(C), "unmute", function() {
|
|
51438
51438
|
C.callPlayer("unMute");
|
|
51439
|
-
}), g(m(C), "ref", function(
|
|
51440
|
-
C.container =
|
|
51439
|
+
}), g(m(C), "ref", function(re) {
|
|
51440
|
+
C.container = re;
|
|
51441
51441
|
}), C;
|
|
51442
51442
|
}
|
|
51443
51443
|
return v = k, O = [{ key: "componentDidMount", value: function() {
|
|
@@ -51445,13 +51445,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
51445
51445
|
} }, { key: "getID", value: function(C) {
|
|
51446
51446
|
return !C || C instanceof Array || T.test(C) ? null : C.match(i.MATCH_URL_YOUTUBE)[1];
|
|
51447
51447
|
} }, { key: "load", value: function(C, A) {
|
|
51448
|
-
var D = this, B = this.props,
|
|
51448
|
+
var D = this, B = this.props, re = B.playing, J = B.muted, G = B.playsinline, Q = B.controls, R = B.loop, I = B.config, U = B.onError, ie = I.playerVars, L = I.embedOptions, se = this.getID(C);
|
|
51449
51449
|
if (A)
|
|
51450
51450
|
return T.test(C) || S.test(C) || C instanceof Array ? void this.player.loadPlaylist(this.parsePlaylist(C)) : void this.player.cueVideoById({ videoId: se, startSeconds: (0, n.parseStartTime)(C) || ie.start, endSeconds: (0, n.parseEndTime)(C) || ie.end });
|
|
51451
51451
|
(0, n.getSDK)("https://www.youtube.com/iframe_api", b, "onYouTubeIframeAPIReady", function(x) {
|
|
51452
51452
|
return x.loaded;
|
|
51453
51453
|
}).then(function(x) {
|
|
51454
|
-
D.container && (D.player = new x.Player(D.container, s({ width: "100%", height: "100%", videoId: se, playerVars: s(s({ autoplay:
|
|
51454
|
+
D.container && (D.player = new x.Player(D.container, s({ width: "100%", height: "100%", videoId: se, playerVars: s(s({ autoplay: re ? 1 : 0, mute: J ? 1 : 0, controls: Q ? 1 : 0, start: (0, n.parseStartTime)(C), end: (0, n.parseEndTime)(C), origin: window.location.origin, playsinline: G ? 1 : 0 }, D.parsePlaylist(C)), ie), events: { onReady: function() {
|
|
51455
51455
|
R && D.player.setLoop(!0), D.props.onReady();
|
|
51456
51456
|
}, onPlaybackRateChange: function(pe) {
|
|
51457
51457
|
return D.props.onPlaybackRateChange(pe.data);
|
|
@@ -51629,15 +51629,15 @@ function JHe() {
|
|
|
51629
51629
|
var $ = O.Widget.Events, k = $.PLAY, C = $.PLAY_PROGRESS, A = $.PAUSE, D = $.FINISH, B = $.ERROR;
|
|
51630
51630
|
w || (v.player = O.Widget(v.iframe), v.player.bind(k, v.props.onPlay), v.player.bind(A, function() {
|
|
51631
51631
|
v.duration - v.currentTime < 0.05 || v.props.onPause();
|
|
51632
|
-
}), v.player.bind(C, function(
|
|
51633
|
-
v.currentTime =
|
|
51632
|
+
}), v.player.bind(C, function(re) {
|
|
51633
|
+
v.currentTime = re.currentPosition / 1e3, v.fractionLoaded = re.loadedProgress;
|
|
51634
51634
|
}), v.player.bind(D, function() {
|
|
51635
51635
|
return v.props.onEnded();
|
|
51636
|
-
}), v.player.bind(B, function(
|
|
51637
|
-
return v.props.onError(
|
|
51636
|
+
}), v.player.bind(B, function(re) {
|
|
51637
|
+
return v.props.onError(re);
|
|
51638
51638
|
})), v.player.load(_, s(s({}, v.props.config.options), {}, { callback: function() {
|
|
51639
|
-
v.player.getDuration(function(
|
|
51640
|
-
v.duration =
|
|
51639
|
+
v.player.getDuration(function(re) {
|
|
51640
|
+
v.duration = re / 1e3, v.props.onReady();
|
|
51641
51641
|
});
|
|
51642
51642
|
} }));
|
|
51643
51643
|
}
|
|
@@ -52310,9 +52310,9 @@ function tWe() {
|
|
|
52310
52310
|
this.props.onMount && this.props.onMount(this);
|
|
52311
52311
|
} }, { key: "load", value: function(w) {
|
|
52312
52312
|
var v = this, O = this.props, $ = O.playing, k = O.muted, C = O.controls, A = O.onReady, D = O.config, B = O.onError;
|
|
52313
|
-
(0, n.getSDK)("https://fast.wistia.com/assets/external/E-v1.js", "Wistia").then(function(
|
|
52313
|
+
(0, n.getSDK)("https://fast.wistia.com/assets/external/E-v1.js", "Wistia").then(function(re) {
|
|
52314
52314
|
D.customControls && D.customControls.forEach(function(J) {
|
|
52315
|
-
return
|
|
52315
|
+
return re.defineControl(J);
|
|
52316
52316
|
}), window._wq = window._wq || [], window._wq.push({ id: v.playerID, options: s({ autoPlay: $, silentAutoPlay: "allow", muted: k, controlsVisibleOnLoad: C, fullscreenButton: C, playbar: C, playbackRateControl: C, qualityControl: C, volumeControl: C, settingsControl: C, smallPlayButton: C }, D.options), onReady: function(J) {
|
|
52317
52317
|
v.player = J, v.unbind(), v.player.bind("play", v.onPlay), v.player.bind("pause", v.onPause), v.player.bind("seek", v.onSeek), v.player.bind("end", v.onEnded), v.player.bind("playbackratechange", v.onPlaybackRateChange), A();
|
|
52318
52318
|
} });
|
|
@@ -52467,8 +52467,8 @@ function rWe() {
|
|
|
52467
52467
|
this.props.onMount && this.props.onMount(this);
|
|
52468
52468
|
} }, { key: "load", value: function(_, w) {
|
|
52469
52469
|
var v = this, O = this.props, $ = O.playsinline, k = O.onError, C = O.config, A = O.controls, D = i.MATCH_URL_TWITCH_CHANNEL.test(_), B = D ? _.match(i.MATCH_URL_TWITCH_CHANNEL)[1] : _.match(i.MATCH_URL_TWITCH_VIDEO)[1];
|
|
52470
|
-
w ? D ? this.player.setChannel(B) : this.player.setVideo("v" + B) : (0, n.getSDK)("https://player.twitch.tv/js/embed/v1.js", "Twitch").then(function(
|
|
52471
|
-
v.player = new
|
|
52470
|
+
w ? D ? this.player.setChannel(B) : this.player.setVideo("v" + B) : (0, n.getSDK)("https://player.twitch.tv/js/embed/v1.js", "Twitch").then(function(re) {
|
|
52471
|
+
v.player = new re.Player(v.playerID, function(se) {
|
|
52472
52472
|
for (var x = 1; x < arguments.length; x++) {
|
|
52473
52473
|
var pe = arguments[x] != null ? arguments[x] : {};
|
|
52474
52474
|
x % 2 ? a(Object(pe), !0).forEach(function(ce) {
|
|
@@ -52479,7 +52479,7 @@ function rWe() {
|
|
|
52479
52479
|
}
|
|
52480
52480
|
return se;
|
|
52481
52481
|
}({ video: D ? "" : B, channel: D ? B : "", height: "100%", width: "100%", playsinline: $, autoplay: v.props.playing, muted: v.props.muted, controls: !!D || A, time: (0, n.parseStartTime)(_) }, C.options));
|
|
52482
|
-
var J =
|
|
52482
|
+
var J = re.Player, G = J.READY, Q = J.PLAYING, R = J.PAUSE, I = J.ENDED, U = J.ONLINE, ie = J.OFFLINE, L = J.SEEK;
|
|
52483
52483
|
v.player.addEventListener(G, v.props.onReady), v.player.addEventListener(Q, v.props.onPlay), v.player.addEventListener(R, v.props.onPause), v.player.addEventListener(I, v.props.onEnded), v.player.addEventListener(L, v.props.onSeek), v.player.addEventListener(U, v.props.onLoaded), v.player.addEventListener(ie, v.props.onLoaded);
|
|
52484
52484
|
}, k);
|
|
52485
52485
|
} }, { key: "play", value: function() {
|
|
@@ -52686,11 +52686,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
52686
52686
|
this.props.onMount && this.props.onMount(this);
|
|
52687
52687
|
} }, { key: "load", value: function(v) {
|
|
52688
52688
|
var O = this, $ = this.props, k = $.controls, C = $.config, A = $.onError, D = $.playing, B = c(v.match(i.MATCH_URL_DAILYMOTION), 2)[1];
|
|
52689
|
-
this.player ? this.player.load(B, { start: (0, n.parseStartTime)(v), autoplay: D }) : (0, n.getSDK)("https://api.dmcdn.net/all.js", "DM", "dmAsyncInit", function(
|
|
52690
|
-
return
|
|
52691
|
-
}).then(function(
|
|
52689
|
+
this.player ? this.player.load(B, { start: (0, n.parseStartTime)(v), autoplay: D }) : (0, n.getSDK)("https://api.dmcdn.net/all.js", "DM", "dmAsyncInit", function(re) {
|
|
52690
|
+
return re.player;
|
|
52691
|
+
}).then(function(re) {
|
|
52692
52692
|
if (O.container) {
|
|
52693
|
-
var J =
|
|
52693
|
+
var J = re.player;
|
|
52694
52694
|
O.player = new J(O.container, { width: "100%", height: "100%", video: B, params: s({ controls: k, autoplay: O.props.playing, mute: O.props.muted, start: (0, n.parseStartTime)(v), origin: window.location.origin }, C.params), events: { apiready: O.props.onReady, seeked: function() {
|
|
52695
52695
|
return O.props.onSeek(O.player.currentTime);
|
|
52696
52696
|
}, video_end: O.props.onEnded, durationchange: O.onDurationChange, pause: O.props.onPause, playing: O.props.onPlay, waiting: O.props.onBuffer, error: function(G) {
|
|
@@ -53012,11 +53012,11 @@ function oWe() {
|
|
|
53012
53012
|
_.player || (_.player = B, _.player.on("ready", _.props.onReady), _.player.on("play", _.props.onPlay), _.player.on("pause", _.props.onPause), _.player.on("seek", _.props.onSeek), _.player.on("playerComplete", _.props.onEnded));
|
|
53013
53013
|
}, C), A.api.renderPlayer(function(D) {
|
|
53014
53014
|
for (var B = 1; B < arguments.length; B++) {
|
|
53015
|
-
var
|
|
53016
|
-
B % 2 ? a(Object(
|
|
53017
|
-
h(D, J,
|
|
53018
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(D, Object.getOwnPropertyDescriptors(
|
|
53019
|
-
Object.defineProperty(D, J, Object.getOwnPropertyDescriptor(
|
|
53015
|
+
var re = arguments[B] != null ? arguments[B] : {};
|
|
53016
|
+
B % 2 ? a(Object(re), !0).forEach(function(J) {
|
|
53017
|
+
h(D, J, re[J]);
|
|
53018
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(D, Object.getOwnPropertyDescriptors(re)) : a(Object(re)).forEach(function(J) {
|
|
53019
|
+
Object.defineProperty(D, J, Object.getOwnPropertyDescriptor(re, J));
|
|
53020
53020
|
});
|
|
53021
53021
|
}
|
|
53022
53022
|
return D;
|
|
@@ -53340,12 +53340,12 @@ function sWe() {
|
|
|
53340
53340
|
var B;
|
|
53341
53341
|
return (B = k.props).onEnablePIP.apply(B, arguments);
|
|
53342
53342
|
}), h(f(k), "onDisablePIP", function(B) {
|
|
53343
|
-
var
|
|
53343
|
+
var re = k.props, J = re.onDisablePIP, G = re.playing;
|
|
53344
53344
|
J(B), G && k.play();
|
|
53345
53345
|
}), h(f(k), "onPresentationModeChange", function(B) {
|
|
53346
53346
|
if (k.player && (0, n.supportsWebKitPresentationMode)(k.player)) {
|
|
53347
|
-
var
|
|
53348
|
-
|
|
53347
|
+
var re = k.player.webkitPresentationMode;
|
|
53348
|
+
re === "picture-in-picture" ? k.onEnablePIP(B) : re === "inline" && k.onDisablePIP(B);
|
|
53349
53349
|
}
|
|
53350
53350
|
}), h(f(k), "onSeek", function(B) {
|
|
53351
53351
|
k.props.onSeek(B.target.currentTime);
|
|
@@ -53353,10 +53353,10 @@ function sWe() {
|
|
|
53353
53353
|
k.player.muted = !0;
|
|
53354
53354
|
}), h(f(k), "unmute", function() {
|
|
53355
53355
|
k.player.muted = !1;
|
|
53356
|
-
}), h(f(k), "renderSourceElement", function(B,
|
|
53357
|
-
return typeof B == "string" ? r.default.createElement("source", { key:
|
|
53358
|
-
}), h(f(k), "renderTrack", function(B,
|
|
53359
|
-
return r.default.createElement("track", a({ key:
|
|
53356
|
+
}), h(f(k), "renderSourceElement", function(B, re) {
|
|
53357
|
+
return typeof B == "string" ? r.default.createElement("source", { key: re, src: B }) : r.default.createElement("source", a({ key: re }, B));
|
|
53358
|
+
}), h(f(k), "renderTrack", function(B, re) {
|
|
53359
|
+
return r.default.createElement("track", a({ key: re }, B));
|
|
53360
53360
|
}), h(f(k), "ref", function(B) {
|
|
53361
53361
|
k.player && (k.prevPlayer = k.player), k.player = B;
|
|
53362
53362
|
}), k;
|
|
@@ -53383,7 +53383,7 @@ function sWe() {
|
|
|
53383
53383
|
} }, { key: "shouldUseFLV", value: function(k) {
|
|
53384
53384
|
return i.FLV_EXTENSIONS.test(k) || this.props.config.forceFLV;
|
|
53385
53385
|
} }, { key: "load", value: function(k) {
|
|
53386
|
-
var C = this, A = this.props.config, D = A.hlsVersion, B = A.hlsOptions,
|
|
53386
|
+
var C = this, A = this.props.config, D = A.hlsVersion, B = A.hlsOptions, re = A.dashVersion, J = A.flvVersion;
|
|
53387
53387
|
if (this.hls && this.hls.destroy(), this.dash && this.dash.reset(), this.shouldUseHLS(k) && (0, n.getSDK)("https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js".replace("VERSION", D), "Hls").then(function(G) {
|
|
53388
53388
|
if (C.hls = new G(B), C.hls.on(G.Events.MANIFEST_PARSED, function() {
|
|
53389
53389
|
C.props.onReady();
|
|
@@ -53395,8 +53395,8 @@ function sWe() {
|
|
|
53395
53395
|
} else
|
|
53396
53396
|
C.hls.loadSource(k);
|
|
53397
53397
|
C.hls.attachMedia(C.player), C.props.onLoaded();
|
|
53398
|
-
}), this.shouldUseDASH(k) && (0, n.getSDK)("https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js".replace("VERSION",
|
|
53399
|
-
C.dash = G.MediaPlayer().create(), C.dash.initialize(C.player, k, C.props.playing), C.dash.on("error", C.props.onError), parseInt(
|
|
53398
|
+
}), this.shouldUseDASH(k) && (0, n.getSDK)("https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js".replace("VERSION", re), "dashjs").then(function(G) {
|
|
53399
|
+
C.dash = G.MediaPlayer().create(), C.dash.initialize(C.player, k, C.props.playing), C.dash.on("error", C.props.onError), parseInt(re) < 3 ? C.dash.getDebug().setLogToBrowserConsole(!1) : C.dash.updateSettings({ debug: { logLevel: G.Debug.LOG_LEVEL_NONE } }), C.props.onLoaded();
|
|
53400
53400
|
}), this.shouldUseFLV(k) && (0, n.getSDK)("https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js".replace("VERSION", J), "flvjs").then(function(G) {
|
|
53401
53401
|
C.flv = G.createPlayer({ type: "flv", url: k }), C.flv.attachMediaElement(C.player), C.flv.on(G.Events.ERROR, function(Q, R) {
|
|
53402
53402
|
C.props.onError(Q, R, C.flv, G);
|
|
@@ -53451,8 +53451,8 @@ function sWe() {
|
|
|
53451
53451
|
if (!(k instanceof Array || (0, n.isMediaStream)(k) || C || A || D))
|
|
53452
53452
|
return T.test(k) ? k.replace("www.dropbox.com", "dl.dropboxusercontent.com") : k;
|
|
53453
53453
|
} }, { key: "render", value: function() {
|
|
53454
|
-
var k = this.props, C = k.url, A = k.playing, D = k.loop, B = k.controls,
|
|
53455
|
-
return r.default.createElement(R, a({ ref: this.ref, src: this.getSource(C), style: I, preload: "auto", autoPlay: A || void 0, controls: B, muted:
|
|
53454
|
+
var k = this.props, C = k.url, A = k.playing, D = k.loop, B = k.controls, re = k.muted, J = k.config, G = k.width, Q = k.height, R = this.shouldUseAudio(this.props) ? "audio" : "video", I = { width: G === "auto" ? G : "100%", height: Q === "auto" ? Q : "100%" };
|
|
53455
|
+
return r.default.createElement(R, a({ ref: this.ref, src: this.getSource(C), style: I, preload: "auto", autoPlay: A || void 0, controls: B, muted: re, loop: D }, J.attributes), C instanceof Array && C.map(this.renderSourceElement), J.tracks.map(this.renderTrack));
|
|
53456
53456
|
} }], v && c(w.prototype, v), $;
|
|
53457
53457
|
}(r.Component);
|
|
53458
53458
|
e.default = E, h(E, "displayName", "FilePlayer"), h(E, "canPlay", i.canPlay.file);
|
|
@@ -53747,11 +53747,11 @@ function nF() {
|
|
|
53747
53747
|
}
|
|
53748
53748
|
}
|
|
53749
53749
|
}
|
|
53750
|
-
var E = u, _ = l, w = c, v = s, O = r, $ = d, k = i, C = m, A = h, D = n, B = a,
|
|
53750
|
+
var E = u, _ = l, w = c, v = s, O = r, $ = d, k = i, C = m, A = h, D = n, B = a, re = o, J = f, G = !1;
|
|
53751
53751
|
function Q(R) {
|
|
53752
53752
|
return S(R) === l;
|
|
53753
53753
|
}
|
|
53754
|
-
Rn.AsyncMode = E, Rn.ConcurrentMode = _, Rn.ContextConsumer = w, Rn.ContextProvider = v, Rn.Element = O, Rn.ForwardRef = $, Rn.Fragment = k, Rn.Lazy = C, Rn.Memo = A, Rn.Portal = D, Rn.Profiler = B, Rn.StrictMode =
|
|
53754
|
+
Rn.AsyncMode = E, Rn.ConcurrentMode = _, Rn.ContextConsumer = w, Rn.ContextProvider = v, Rn.Element = O, Rn.ForwardRef = $, Rn.Fragment = k, Rn.Lazy = C, Rn.Memo = A, Rn.Portal = D, Rn.Profiler = B, Rn.StrictMode = re, Rn.Suspense = J, Rn.isAsyncMode = function(R) {
|
|
53755
53755
|
return G || (G = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Q(R) || S(R) === u;
|
|
53756
53756
|
}, Rn.isConcurrentMode = Q, Rn.isContextConsumer = function(R) {
|
|
53757
53757
|
return S(R) === c;
|
|
@@ -53948,8 +53948,8 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
53948
53948
|
for (var C = w[v], A = 0; A < E.length; A++)
|
|
53949
53949
|
if (f(C, E[A]))
|
|
53950
53950
|
return null;
|
|
53951
|
-
var D = JSON.stringify(E, function(B,
|
|
53952
|
-
return T(
|
|
53951
|
+
var D = JSON.stringify(E, function(B, re) {
|
|
53952
|
+
return T(re) === "symbol" ? String(re) : re;
|
|
53953
53953
|
});
|
|
53954
53954
|
return new p("Invalid " + $ + " `" + k + "` of value `" + String(C) + "` supplied to `" + O + "`, expected one of " + D + ".");
|
|
53955
53955
|
}
|
|
@@ -53999,9 +53999,9 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
53999
53999
|
if (!B)
|
|
54000
54000
|
return new p("Invalid " + O + " `" + $ + "` key `" + D + "` supplied to `" + v + "`.\nBad object: " + JSON.stringify(_[w], null, " ") + `
|
|
54001
54001
|
Valid keys: ` + JSON.stringify(Object.keys(E), null, " "));
|
|
54002
|
-
var
|
|
54003
|
-
if (
|
|
54004
|
-
return
|
|
54002
|
+
var re = B(k, D, v, O, $ + "." + D, r);
|
|
54003
|
+
if (re)
|
|
54004
|
+
return re;
|
|
54005
54005
|
}
|
|
54006
54006
|
return null;
|
|
54007
54007
|
});
|
|
@@ -54015,8 +54015,8 @@ Valid keys: ` + JSON.stringify(Object.keys(E), null, " "));
|
|
|
54015
54015
|
function h(E) {
|
|
54016
54016
|
if (process.env.NODE_ENV !== "production")
|
|
54017
54017
|
var _ = {}, w = 0;
|
|
54018
|
-
function v($, k, C, A, D, B,
|
|
54019
|
-
if (A = A || l, B = B || C,
|
|
54018
|
+
function v($, k, C, A, D, B, re) {
|
|
54019
|
+
if (A = A || l, B = B || C, re !== r) {
|
|
54020
54020
|
if (c) {
|
|
54021
54021
|
var J = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");
|
|
54022
54022
|
throw J.name = "Invariant Violation", J;
|
|
@@ -54300,9 +54300,9 @@ var lre = {};
|
|
|
54300
54300
|
} }, { key: "componentDidUpdate", value: function(_) {
|
|
54301
54301
|
var w = this;
|
|
54302
54302
|
if (this.player) {
|
|
54303
|
-
var v = this.props, O = v.url, $ = v.playing, k = v.volume, C = v.muted, A = v.playbackRate, D = v.pip, B = v.loop,
|
|
54303
|
+
var v = this.props, O = v.url, $ = v.playing, k = v.volume, C = v.muted, A = v.playbackRate, D = v.pip, B = v.loop, re = v.activePlayer, J = v.disableDeferredLoading;
|
|
54304
54304
|
if (!(0, n.default)(_.url, O)) {
|
|
54305
|
-
if (this.isLoading && !
|
|
54305
|
+
if (this.isLoading && !re.forceLoad && !J && !(0, o.isMediaStream)(O))
|
|
54306
54306
|
return console.warn("ReactPlayer: the attempt to load ".concat(O, " is being deferred until the player has loaded")), void (this.loadOnReady = O);
|
|
54307
54307
|
this.isLoading = !0, this.startOnPlay = !0, this.onDurationCalled = !1, this.player.load(O, this.isReady);
|
|
54308
54308
|
}
|
|
@@ -82214,7 +82214,7 @@ const GGe = 50, KGe = () => {
|
|
|
82214
82214
|
const n = dt(""), i = dt(null), o = dt(null), a = dt(null), s = dt(null), c = dt(null), [u, l] = St(null), [d, f] = St(!1), p = dt(null), h = dt(null), m = dt(null), y = Ut(() => {
|
|
82215
82215
|
if (!i.current || !o.current || !s.current || !c.current)
|
|
82216
82216
|
return;
|
|
82217
|
-
const A = h.current ?? Math.min(i.current.currentTime / Math.min(i.current.duration || 1 / 0, u ?? 0), 1), D = window.devicePixelRatio, B = s.current.width / D,
|
|
82217
|
+
const A = h.current ?? Math.min(i.current.currentTime / Math.min(i.current.duration || 1 / 0, u ?? 0), 1), D = window.devicePixelRatio, B = s.current.width / D, re = s.current.height / D, J = B - 2 * HF + G9, G = re - 2 * q9, Q = Math.floor(J / (Ap + G9)), R = Math.floor(o.current.length / Q), I = [...Array(Q)].map((pe, ce) => JGe(o.current.slice(ce * R, Math.min(ce * R + R, o.current.length)))), ie = Math.max(...I) ** -1 * (G - 2 * q9);
|
|
82218
82218
|
c.current.reset(), c.current.translate(HF * D, q9 * D), c.current.scale(D, D), c.current.beginPath(), c.current.lineCap = "round", c.current.strokeStyle = "#fff", c.current.lineWidth = Ap, c.current.translate(Ap / 2, G / 2);
|
|
82219
82219
|
let L = !1;
|
|
82220
82220
|
const se = (pe) => [pe * (Ap + G9), Math.max(Math.round(I[pe] * ie), 0.1)], x = (pe, ce) => {
|
|
@@ -82256,8 +82256,8 @@ const GGe = 50, KGe = () => {
|
|
|
82256
82256
|
c.current = s.current.getContext("2d"), a.current = new ResizeObserver((B) => {
|
|
82257
82257
|
if (!s.current)
|
|
82258
82258
|
return;
|
|
82259
|
-
const { width:
|
|
82260
|
-
s.current.width =
|
|
82259
|
+
const { width: re, height: J } = B[0].contentRect, G = window.devicePixelRatio;
|
|
82260
|
+
s.current.width = re * G, s.current.height = J * G, y();
|
|
82261
82261
|
}), a.current.observe(s.current);
|
|
82262
82262
|
}, [y]), E = (A) => {
|
|
82263
82263
|
const { left: D, width: B } = A.currentTarget.getBoundingClientRect();
|
|
@@ -82282,8 +82282,8 @@ const GGe = 50, KGe = () => {
|
|
|
82282
82282
|
m.current = B;
|
|
82283
82283
|
return;
|
|
82284
82284
|
}
|
|
82285
|
-
const
|
|
82286
|
-
m.current = B, h.current ?? (h.current = Math.min(i.current.currentTime / Math.min(i.current.duration || 1 / 0, u ?? 0), 1)), h.current = Math.min(Math.max((h.current ?? 0) +
|
|
82285
|
+
const re = (B - m.current) / D;
|
|
82286
|
+
m.current = B, h.current ?? (h.current = Math.min(i.current.currentTime / Math.min(i.current.duration || 1 / 0, u ?? 0), 1)), h.current = Math.min(Math.max((h.current ?? 0) + re, 0), 1), y();
|
|
82287
82287
|
}, k = (A) => {
|
|
82288
82288
|
if (A.preventDefault(), !i.current || !m.current)
|
|
82289
82289
|
return;
|
|
@@ -82328,7 +82328,7 @@ const GGe = 50, KGe = () => {
|
|
|
82328
82328
|
}, B = () => {
|
|
82329
82329
|
var L;
|
|
82330
82330
|
p((se) => !se), !as && ((L = o.current) == null || L.focus());
|
|
82331
|
-
},
|
|
82331
|
+
}, re = (L) => {
|
|
82332
82332
|
var x;
|
|
82333
82333
|
O();
|
|
82334
82334
|
const se = (x = L.currentTarget.files) == null ? void 0 : x[0];
|
|
@@ -82354,7 +82354,7 @@ const GGe = 50, KGe = () => {
|
|
|
82354
82354
|
"myinterview-chatbot-conversation-input__input--recording": T,
|
|
82355
82355
|
"myinterview-chatbot-conversation-input__input--hidden": _
|
|
82356
82356
|
});
|
|
82357
|
-
return kt(vd, { children: [kt("div", { ref: R, className: "myinterview-chatbot-conversation-input", children: [Ee("div", { className: Mr("myinterview-chatbot-conversation-input__button", { "myinterview-chatbot-conversation-input__button--delete": _ ?? h }), onClick: _ ? b : h ? J : w ? B : void 0, role: "presentation", children: T ? Ee("span", { className: "myinterview-chatbot-conversation-input__recording-indicator" }) : _ ?? h ? Ee(QGe, {}) : w ? Ee(BGe, {}) : null }), Ee("div", { ref: U, className: ie, onInput: v, onPaste: k, onKeyDown: C, onFocus: D, contentEditable: w, "data-placeholder": E ? "Waiting for permissions..." : T ? XGe(S) : h ? "" : "Message", role: "presentation", children: h && kt("div", { className: "myinterview-chatbot-conversation-input__file", children: [Ee(En, { className: "myinterview-chatbot-conversation-input__file-title", size: "H6", isTruncated: !0, children: h.name }), Ee(En, { className: "myinterview-chatbot-conversation-input__file-separator", children: "|" }), Ee(En, { size: "P1-S", className: "myinterview-chatbot-conversation-input__file-size", children: wne(h.size) })] }) }), _ && Ee(Sne, { audioBlob: _, classes: "myinterview-chatbot-conversation-input__audio-visualizer", gradient: !0 }), kt("div", { className: "myinterview-chatbot-conversation-input__action-buttons", children: [kt("div", { className: Mr("myinterview-chatbot-conversation-input__action-buttons-group", { "myinterview-chatbot-conversation-input__action-buttons-group--hidden": l || _ || h }), children: [kt("label", { className: Mr("myinterview-chatbot-conversation-input__button", "myinterview-chatbot-conversation-input__button--attachment", { "myinterview-chatbot-conversation-input__button--hidden": !w }), children: [Ee(FGe, {}), Ee("input", { onInput:
|
|
82357
|
+
return kt(vd, { children: [kt("div", { ref: R, className: "myinterview-chatbot-conversation-input", children: [Ee("div", { className: Mr("myinterview-chatbot-conversation-input__button", { "myinterview-chatbot-conversation-input__button--delete": _ ?? h }), onClick: _ ? b : h ? J : w ? B : void 0, role: "presentation", children: T ? Ee("span", { className: "myinterview-chatbot-conversation-input__recording-indicator" }) : _ ?? h ? Ee(QGe, {}) : w ? Ee(BGe, {}) : null }), Ee("div", { ref: U, className: ie, onInput: v, onPaste: k, onKeyDown: C, onFocus: D, contentEditable: w, "data-placeholder": E ? "Waiting for permissions..." : T ? XGe(S) : h ? "" : "Message", role: "presentation", children: h && kt("div", { className: "myinterview-chatbot-conversation-input__file", children: [Ee(En, { className: "myinterview-chatbot-conversation-input__file-title", size: "H6", isTruncated: !0, children: h.name }), Ee(En, { className: "myinterview-chatbot-conversation-input__file-separator", children: "|" }), Ee(En, { size: "P1-S", className: "myinterview-chatbot-conversation-input__file-size", children: wne(h.size) })] }) }), _ && Ee(Sne, { audioBlob: _, classes: "myinterview-chatbot-conversation-input__audio-visualizer", gradient: !0 }), kt("div", { className: "myinterview-chatbot-conversation-input__action-buttons", children: [kt("div", { className: Mr("myinterview-chatbot-conversation-input__action-buttons-group", { "myinterview-chatbot-conversation-input__action-buttons-group--hidden": l || _ || h }), children: [kt("label", { className: Mr("myinterview-chatbot-conversation-input__button", "myinterview-chatbot-conversation-input__button--attachment", { "myinterview-chatbot-conversation-input__button--hidden": !w }), children: [Ee(FGe, {}), Ee("input", { onInput: re, type: "file", className: "myinterview-chatbot-conversation-input__attachment-input", hidden: !0 })] }), kt("div", { className: Mr("myinterview-chatbot-conversation-input__button", "myinterview-chatbot-conversation-input__button--microphone", { "myinterview-chatbot-conversation-input__button--hidden": _ }), onClick: G, role: "presentation", children: [T ? Ee("div", { className: "myinterview-chatbot-conversation-input__stop-icon" }) : Ee(sHe, {}), Ee("canvas", { ref: I, className: "myinterview-chatbot-conversation-input__recording-visualizer" })] })] }), Ee("div", { className: Mr("myinterview-chatbot-conversation-input__action-buttons-group", { "myinterview-chatbot-conversation-input__action-buttons-group--hidden": !l && !_ && !h }), children: Ee("div", { className: "myinterview-chatbot-conversation-input__button myinterview-chatbot-conversation-input__button--send", onClick: Q, role: "presentation", children: Ee(zGe, {}) }) })] })] }), Ee(HGe, { isOpen: f, onSelect: A })] });
|
|
82358
82358
|
}, tKe = () => kt("svg", { width: "16", height: "10", viewBox: "0 0 16 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [Ee("path", { d: "M1 5.22866L4.31522 8.75L11 1.25", stroke: "currentColor", strokeWidth: "1.2", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }), Ee("path", { d: "M5 5.22866L8.31522 8.75L15 1.25", stroke: "currentColor", strokeWidth: "1.2", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" })] }), rKe = () => kt("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [Ee("path", { d: "M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), Ee("path", { d: "M8 5V8L10 9", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })] }), nKe = ({ isPending: e }) => Ee("div", { className: "myinterview-chatbot-delivery-status", children: e ? Ee(rKe, {}) : Ee(tKe, {}) }), iKe = '.myinterview-chatbot-media-image{width:100%;height:100%;position:relative;display:flex;flex-direction:column;border-radius:inherit}.myinterview-chatbot-media-image__img{width:100%;height:100%;object-fit:cover;border-radius:inherit;cursor:pointer}.myinterview-chatbot-media-image__preview{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0000;z-index:2000010000;transition:background-color .3s ease-out}.myinterview-chatbot-media-image__preview--previewing{background-color:#000}.myinterview-chatbot-media-image__preview--previewing .myinterview-chatbot-media-image__preview-top{opacity:1}.myinterview-chatbot-media-image__preview .myinterview-chatbot-media-image__img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:contain;cursor:default;transition:all .3s ease-out}.myinterview-chatbot-media-image__preview-top{position:absolute;top:0;left:0;width:100%;padding:24px 20px;display:flex;align-items:center;gap:20px;z-index:10;opacity:0;transition:opacity .3s ease-out}.myinterview-chatbot-media-image__preview-top:before{content:"";position:absolute;width:100%;height:100%;top:0;left:0;background-color:var(--color-black);-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),transparent);mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),transparent);z-index:1;pointer-events:none}.myinterview-chatbot-media-image__preview-back-button{color:var(--color-neutral-50);z-index:2}.myinterview-chatbot-media-image__preview-close-button{color:var(--color-white);z-index:2;margin-left:auto}.myinterview-chatbot-media-image__preview-title{color:var(--color-white);z-index:2}@keyframes background-opacity{to{background-color:#000}}', oKe = ".myinterview-chatbot-close-button{position:relative;display:flex;justify-content:center;align-items:center;border:none;background-color:transparent;cursor:pointer}.myinterview-chatbot-close-button svg{width:100%;height:100%;transform:rotate(90deg)}", aKe = ".myinterview-chatbot-back-button{position:relative;display:flex;justify-content:center;align-items:center;border:none;background-color:transparent;cursor:pointer}.myinterview-chatbot-back-button svg{width:100%;height:100%;transform:rotate(90deg)}", sKe = 100, Ene = ({ mediaUrl: e, title: t, disableFetching: r = !1, onMediaReady: n }) => {
|
|
82359
82359
|
const [i, o] = St(""), [a, s] = St(!0), [c, u] = St(!1), [l, d] = St(!1), [f, p] = St(), h = dt(), m = dt(null), y = dt(0), g = Ut((v) => {
|
|
82360
82360
|
if (c)
|
|
@@ -82701,7 +82701,7 @@ function SKe() {
|
|
|
82701
82701
|
}
|
|
82702
82702
|
}
|
|
82703
82703
|
}
|
|
82704
|
-
var E = c, _ = u, w = s, v = a, O = t, $ = l, k = n, C = h, A = p, D = r, B = o,
|
|
82704
|
+
var E = c, _ = u, w = s, v = a, O = t, $ = l, k = n, C = h, A = p, D = r, B = o, re = i, J = d, G = !1;
|
|
82705
82705
|
function Q(_e) {
|
|
82706
82706
|
return G || (G = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), R(_e) || S(_e) === c;
|
|
82707
82707
|
}
|
|
@@ -82741,7 +82741,7 @@ function SKe() {
|
|
|
82741
82741
|
function de(_e) {
|
|
82742
82742
|
return S(_e) === d;
|
|
82743
82743
|
}
|
|
82744
|
-
gn.AsyncMode = E, gn.ConcurrentMode = _, gn.ContextConsumer = w, gn.ContextProvider = v, gn.Element = O, gn.ForwardRef = $, gn.Fragment = k, gn.Lazy = C, gn.Memo = A, gn.Portal = D, gn.Profiler = B, gn.StrictMode =
|
|
82744
|
+
gn.AsyncMode = E, gn.ConcurrentMode = _, gn.ContextConsumer = w, gn.ContextProvider = v, gn.Element = O, gn.ForwardRef = $, gn.Fragment = k, gn.Lazy = C, gn.Memo = A, gn.Portal = D, gn.Profiler = B, gn.StrictMode = re, gn.Suspense = J, gn.isAsyncMode = Q, gn.isConcurrentMode = R, gn.isContextConsumer = I, gn.isContextProvider = U, gn.isElement = ie, gn.isForwardRef = L, gn.isFragment = se, gn.isLazy = x, gn.isMemo = pe, gn.isPortal = ce, gn.isProfiler = fe, gn.isStrictMode = $e, gn.isSuspense = de, gn.isValidElementType = T, gn.typeOf = S;
|
|
82745
82745
|
}()), gn;
|
|
82746
82746
|
}
|
|
82747
82747
|
var QF;
|
|
@@ -82942,7 +82942,7 @@ function TKe() {
|
|
|
82942
82942
|
}
|
|
82943
82943
|
function g(R) {
|
|
82944
82944
|
function I(U, ie, L, se, x, pe) {
|
|
82945
|
-
var ce = U[ie], fe =
|
|
82945
|
+
var ce = U[ie], fe = re(ce);
|
|
82946
82946
|
if (fe !== R) {
|
|
82947
82947
|
var $e = J(ce);
|
|
82948
82948
|
return new m(
|
|
@@ -82963,7 +82963,7 @@ function TKe() {
|
|
|
82963
82963
|
return new m("Property `" + x + "` of component `" + L + "` has invalid PropType notation inside arrayOf.");
|
|
82964
82964
|
var pe = U[ie];
|
|
82965
82965
|
if (!Array.isArray(pe)) {
|
|
82966
|
-
var ce =
|
|
82966
|
+
var ce = re(pe);
|
|
82967
82967
|
return new m("Invalid " + se + " `" + x + "` of type " + ("`" + ce + "` supplied to `" + L + "`, expected an array."));
|
|
82968
82968
|
}
|
|
82969
82969
|
for (var fe = 0; fe < pe.length; fe++) {
|
|
@@ -82979,7 +82979,7 @@ function TKe() {
|
|
|
82979
82979
|
function R(I, U, ie, L, se) {
|
|
82980
82980
|
var x = I[U];
|
|
82981
82981
|
if (!s(x)) {
|
|
82982
|
-
var pe =
|
|
82982
|
+
var pe = re(x);
|
|
82983
82983
|
return new m("Invalid " + L + " `" + se + "` of type " + ("`" + pe + "` supplied to `" + ie + "`, expected a single ReactElement."));
|
|
82984
82984
|
}
|
|
82985
82985
|
return null;
|
|
@@ -82990,7 +82990,7 @@ function TKe() {
|
|
|
82990
82990
|
function R(I, U, ie, L, se) {
|
|
82991
82991
|
var x = I[U];
|
|
82992
82992
|
if (!e.isValidElementType(x)) {
|
|
82993
|
-
var pe =
|
|
82993
|
+
var pe = re(x);
|
|
82994
82994
|
return new m("Invalid " + L + " `" + se + "` of type " + ("`" + pe + "` supplied to `" + ie + "`, expected a single ReactElement type."));
|
|
82995
82995
|
}
|
|
82996
82996
|
return null;
|
|
@@ -83028,7 +83028,7 @@ function TKe() {
|
|
|
83028
83028
|
function I(U, ie, L, se, x) {
|
|
83029
83029
|
if (typeof R != "function")
|
|
83030
83030
|
return new m("Property `" + x + "` of component `" + L + "` has invalid PropType notation inside objectOf.");
|
|
83031
|
-
var pe = U[ie], ce =
|
|
83031
|
+
var pe = U[ie], ce = re(pe);
|
|
83032
83032
|
if (ce !== "object")
|
|
83033
83033
|
return new m("Invalid " + se + " `" + x + "` of type " + ("`" + ce + "` supplied to `" + L + "`, expected an object."));
|
|
83034
83034
|
for (var fe in pe)
|
|
@@ -83076,7 +83076,7 @@ function TKe() {
|
|
|
83076
83076
|
}
|
|
83077
83077
|
function C(R) {
|
|
83078
83078
|
function I(U, ie, L, se, x) {
|
|
83079
|
-
var pe = U[ie], ce =
|
|
83079
|
+
var pe = U[ie], ce = re(pe);
|
|
83080
83080
|
if (ce !== "object")
|
|
83081
83081
|
return new m("Invalid " + se + " `" + x + "` of type `" + ce + "` " + ("supplied to `" + L + "`, expected `object`."));
|
|
83082
83082
|
for (var fe in R) {
|
|
@@ -83093,7 +83093,7 @@ function TKe() {
|
|
|
83093
83093
|
}
|
|
83094
83094
|
function A(R) {
|
|
83095
83095
|
function I(U, ie, L, se, x) {
|
|
83096
|
-
var pe = U[ie], ce =
|
|
83096
|
+
var pe = U[ie], ce = re(pe);
|
|
83097
83097
|
if (ce !== "object")
|
|
83098
83098
|
return new m("Invalid " + se + " `" + x + "` of type `" + ce + "` " + ("supplied to `" + L + "`, expected `object`."));
|
|
83099
83099
|
var fe = t({}, U[ie], R);
|
|
@@ -83150,14 +83150,14 @@ Valid keys: ` + JSON.stringify(Object.keys(R), null, " ")
|
|
|
83150
83150
|
function B(R, I) {
|
|
83151
83151
|
return R === "symbol" ? !0 : I ? I["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && I instanceof Symbol : !1;
|
|
83152
83152
|
}
|
|
83153
|
-
function
|
|
83153
|
+
function re(R) {
|
|
83154
83154
|
var I = typeof R;
|
|
83155
83155
|
return Array.isArray(R) ? "array" : R instanceof RegExp ? "object" : B(I, R) ? "symbol" : I;
|
|
83156
83156
|
}
|
|
83157
83157
|
function J(R) {
|
|
83158
83158
|
if (typeof R > "u" || R === null)
|
|
83159
83159
|
return "" + R;
|
|
83160
|
-
var I =
|
|
83160
|
+
var I = re(R);
|
|
83161
83161
|
if (I === "object") {
|
|
83162
83162
|
if (R instanceof Date)
|
|
83163
83163
|
return "date";
|
|
@@ -83883,7 +83883,7 @@ function GKe(e) {
|
|
|
83883
83883
|
}
|
|
83884
83884
|
function s(R, I, U, ie, L, se, x, pe, ce, fe) {
|
|
83885
83885
|
for (var $e, de = 0, _e = I; de < J; ++de)
|
|
83886
|
-
switch ($e =
|
|
83886
|
+
switch ($e = re[de].call(u, R, _e, U, ie, L, se, x, pe, ce, fe)) {
|
|
83887
83887
|
case void 0:
|
|
83888
83888
|
case !1:
|
|
83889
83889
|
case !0:
|
|
@@ -83907,16 +83907,16 @@ function GKe(e) {
|
|
|
83907
83907
|
var L = t(B, U, I, 0, 0);
|
|
83908
83908
|
return 0 < J && (ie = s(-2, L, U, U, C, k, L.length, 0, 0, 0)) !== void 0 && (L = ie), A = 0, k = C = 1, L;
|
|
83909
83909
|
}
|
|
83910
|
-
var l = /^\0+/g, d = /[\0\r\f]/g, f = /: */g, p = /zoo|gra/, h = /([,: ])(transform)/g, m = /,\r+?/g, y = /([\t\r\n ])*\f?&/g, g = /@(k\w+)\s*(\S*)\s*/, b = /::(place)/g, T = /:(read-only)/g, S = /[svh]\w+-[tblr]{2}/, E = /\(\s*(.*)\s*\)/g, _ = /([\s\S]*?);/g, w = /-self|flex-/g, v = /[^]*?(:[rp][el]a[\w-]+)[^]*/, O = /stretch|:\s*\w+\-(?:conte|avail)/, $ = /([^-])(image-set\()/, k = 1, C = 1, A = 0, D = 1, B = [],
|
|
83910
|
+
var l = /^\0+/g, d = /[\0\r\f]/g, f = /: */g, p = /zoo|gra/, h = /([,: ])(transform)/g, m = /,\r+?/g, y = /([\t\r\n ])*\f?&/g, g = /@(k\w+)\s*(\S*)\s*/, b = /::(place)/g, T = /:(read-only)/g, S = /[svh]\w+-[tblr]{2}/, E = /\(\s*(.*)\s*\)/g, _ = /([\s\S]*?);/g, w = /-self|flex-/g, v = /[^]*?(:[rp][el]a[\w-]+)[^]*/, O = /stretch|:\s*\w+\-(?:conte|avail)/, $ = /([^-])(image-set\()/, k = 1, C = 1, A = 0, D = 1, B = [], re = [], J = 0, G = null, Q = 0;
|
|
83911
83911
|
return u.use = function R(I) {
|
|
83912
83912
|
switch (I) {
|
|
83913
83913
|
case void 0:
|
|
83914
83914
|
case null:
|
|
83915
|
-
J =
|
|
83915
|
+
J = re.length = 0;
|
|
83916
83916
|
break;
|
|
83917
83917
|
default:
|
|
83918
83918
|
if (typeof I == "function")
|
|
83919
|
-
|
|
83919
|
+
re[J++] = I;
|
|
83920
83920
|
else if (typeof I == "object")
|
|
83921
83921
|
for (var U = 0, ie = I.length; U < ie; ++U)
|
|
83922
83922
|
R(I[U]);
|
|
@@ -83997,8 +83997,8 @@ function GKe(e) {
|
|
|
83997
83997
|
var t, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), c = Symbol.for("react.context"), u = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen");
|
|
83998
83998
|
function y(B) {
|
|
83999
83999
|
if (typeof B == "object" && B !== null) {
|
|
84000
|
-
var
|
|
84001
|
-
switch (
|
|
84000
|
+
var re = B.$$typeof;
|
|
84001
|
+
switch (re) {
|
|
84002
84002
|
case r:
|
|
84003
84003
|
var J = B.type;
|
|
84004
84004
|
switch (J) {
|
|
@@ -84019,11 +84019,11 @@ function GKe(e) {
|
|
|
84019
84019
|
case s:
|
|
84020
84020
|
return G;
|
|
84021
84021
|
default:
|
|
84022
|
-
return
|
|
84022
|
+
return re;
|
|
84023
84023
|
}
|
|
84024
84024
|
}
|
|
84025
84025
|
case n:
|
|
84026
|
-
return
|
|
84026
|
+
return re;
|
|
84027
84027
|
}
|
|
84028
84028
|
}
|
|
84029
84029
|
}
|
|
@@ -84180,11 +84180,11 @@ var uB, XKe = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValu
|
|
|
84180
84180
|
}
|
|
84181
84181
|
}
|
|
84182
84182
|
}
|
|
84183
|
-
var E = u, _ = l, w = c, v = s, O = r, $ = d, k = i, C = m, A = h, D = n, B = a,
|
|
84183
|
+
var E = u, _ = l, w = c, v = s, O = r, $ = d, k = i, C = m, A = h, D = n, B = a, re = o, J = f, G = !1;
|
|
84184
84184
|
function Q(R) {
|
|
84185
84185
|
return S(R) === l;
|
|
84186
84186
|
}
|
|
84187
|
-
xn.AsyncMode = E, xn.ConcurrentMode = _, xn.ContextConsumer = w, xn.ContextProvider = v, xn.Element = O, xn.ForwardRef = $, xn.Fragment = k, xn.Lazy = C, xn.Memo = A, xn.Portal = D, xn.Profiler = B, xn.StrictMode =
|
|
84187
|
+
xn.AsyncMode = E, xn.ConcurrentMode = _, xn.ContextConsumer = w, xn.ContextProvider = v, xn.Element = O, xn.ForwardRef = $, xn.Fragment = k, xn.Lazy = C, xn.Memo = A, xn.Portal = D, xn.Profiler = B, xn.StrictMode = re, xn.Suspense = J, xn.isAsyncMode = function(R) {
|
|
84188
84188
|
return G || (G = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Q(R) || S(R) === u;
|
|
84189
84189
|
}, xn.isConcurrentMode = Q, xn.isContextConsumer = function(R) {
|
|
84190
84190
|
return S(R) === c;
|
|
@@ -84729,10 +84729,10 @@ function jne(e, t, r) {
|
|
|
84729
84729
|
}), [ce, fe];
|
|
84730
84730
|
}(function(se, x, pe) {
|
|
84731
84731
|
return pe === void 0 && (pe = jl), se.theme !== pe.theme && se.theme || x || pe.theme;
|
|
84732
|
-
}(E, zl(Mne), $) || jl, E, v),
|
|
84732
|
+
}(E, zl(Mne), $) || jl, E, v), re = B[0], J = B[1], G = function(se, x, pe, ce) {
|
|
84733
84733
|
var fe = zl(Pne) || EYe, $e = zl(Nne) || u$, de = x ? se.generateAndInjectStyles(jl, fe, $e) : se.generateAndInjectStyles(pe, fe, $e);
|
|
84734
84734
|
return process.env.NODE_ENV !== "production" && A_(de), process.env.NODE_ENV !== "production" && !x && ce && ce(de), de;
|
|
84735
|
-
}(O, w,
|
|
84735
|
+
}(O, w, re, process.env.NODE_ENV !== "production" ? S.warnTooManyClasses : void 0), Q = _, R = J.$as || E.$as || J.as || E.as || D, I = S2(R), U = J !== E ? mu({}, E, {}, J) : E, ie = {};
|
|
84736
84736
|
for (var L in U)
|
|
84737
84737
|
L[0] !== "$" && L !== "as" && (L === "forwardedAs" ? ie.as = U[L] : (C ? C(L, lB, R) : !I || lB(L)) && (ie[L] = U[L]));
|
|
84738
84738
|
return E.style && J.style !== E.style && (ie.style = mu({}, E.style, {}, J.style)), ie.className = Array.prototype.concat(k, A, G !== A ? G : null, E.className, J.className).filter(Boolean).join(" "), ie.ref = Q, zm(R, ie);
|
|
@@ -85561,15 +85561,15 @@ var Jne = { exports: {} }, dz = { exports: {} };
|
|
|
85561
85561
|
}
|
|
85562
85562
|
t(D, d);
|
|
85563
85563
|
var B = null;
|
|
85564
|
-
function
|
|
85564
|
+
function re() {
|
|
85565
85565
|
d.call(this);
|
|
85566
85566
|
}
|
|
85567
|
-
t(
|
|
85567
|
+
t(re, d);
|
|
85568
85568
|
var J = null;
|
|
85569
85569
|
function G() {
|
|
85570
85570
|
d.call(this);
|
|
85571
85571
|
}
|
|
85572
|
-
|
|
85572
|
+
re.prototype.ha = function() {
|
|
85573
85573
|
return m(this, 10);
|
|
85574
85574
|
}, C.prototype.m = function() {
|
|
85575
85575
|
var K = A;
|
|
@@ -85577,10 +85577,10 @@ var Jne = { exports: {} }, dz = { exports: {} };
|
|
|
85577
85577
|
}, C.m = C.prototype.m, D.prototype.m = function() {
|
|
85578
85578
|
var K = B;
|
|
85579
85579
|
return K || (B = K = E(D, { 0: { name: "PhoneNumberDesc", ma: "i18n.phonenumbers.PhoneNumberDesc" }, 2: { name: "national_number_pattern", i: 9, type: String }, 9: { name: "possible_length", fa: !0, i: 5, type: Number }, 10: { name: "possible_length_local_only", fa: !0, i: 5, type: Number }, 6: { name: "example_number", i: 9, type: String } })), K;
|
|
85580
|
-
}, D.m = D.prototype.m,
|
|
85580
|
+
}, D.m = D.prototype.m, re.prototype.m = function() {
|
|
85581
85581
|
var K = J;
|
|
85582
|
-
return K || (J = K = E(
|
|
85583
|
-
},
|
|
85582
|
+
return K || (J = K = E(re, { 0: { name: "PhoneMetadata", ma: "i18n.phonenumbers.PhoneMetadata" }, 1: { name: "general_desc", i: 11, type: D }, 2: { name: "fixed_line", i: 11, type: D }, 3: { name: "mobile", i: 11, type: D }, 4: { name: "toll_free", i: 11, type: D }, 5: { name: "premium_rate", i: 11, type: D }, 6: { name: "shared_cost", i: 11, type: D }, 7: { name: "personal_number", i: 11, type: D }, 8: { name: "voip", i: 11, type: D }, 21: { name: "pager", i: 11, type: D }, 25: { name: "uan", i: 11, type: D }, 27: { name: "emergency", i: 11, type: D }, 28: { name: "voicemail", i: 11, type: D }, 29: { name: "short_code", i: 11, type: D }, 30: { name: "standard_rate", i: 11, type: D }, 31: { name: "carrier_specific", i: 11, type: D }, 33: { name: "sms_services", i: 11, type: D }, 24: { name: "no_international_dialling", i: 11, type: D }, 9: { name: "id", required: !0, i: 9, type: String }, 10: { name: "country_code", i: 5, type: Number }, 11: { name: "international_prefix", i: 9, type: String }, 17: { name: "preferred_international_prefix", i: 9, type: String }, 12: { name: "national_prefix", i: 9, type: String }, 13: { name: "preferred_extn_prefix", i: 9, type: String }, 15: { name: "national_prefix_for_parsing", i: 9, type: String }, 16: { name: "national_prefix_transform_rule", i: 9, type: String }, 18: { name: "same_mobile_and_fixed_line_pattern", i: 8, defaultValue: !1, type: Boolean }, 19: { name: "number_format", fa: !0, i: 11, type: C }, 20: { name: "intl_number_format", fa: !0, i: 11, type: C }, 22: { name: "main_country_for_code", i: 8, defaultValue: !1, type: Boolean }, 23: { name: "leading_digits", i: 9, type: String }, 26: { name: "leading_zero_possible", i: 8, defaultValue: !1, type: Boolean } })), K;
|
|
85583
|
+
}, re.m = re.prototype.m, t(G, d);
|
|
85584
85584
|
var Q = null;
|
|
85585
85585
|
G.prototype.ha = function() {
|
|
85586
85586
|
return m(this, 1);
|
|
@@ -85726,7 +85726,7 @@ var Jne = { exports: {} }, dz = { exports: {} };
|
|
|
85726
85726
|
if (Se == null) {
|
|
85727
85727
|
if ((Se = U[oe]) == null)
|
|
85728
85728
|
return null;
|
|
85729
|
-
Se = new O().g(
|
|
85729
|
+
Se = new O().g(re.m(), Se), K.g[oe] = Se;
|
|
85730
85730
|
}
|
|
85731
85731
|
return Se;
|
|
85732
85732
|
}
|
|
@@ -85893,7 +85893,7 @@ var Jne = { exports: {} }, dz = { exports: {} };
|
|
|
85893
85893
|
var oe = Je(this, Ke(this, K));
|
|
85894
85894
|
return oe == null || !et(K = zt(K), m(oe, 24));
|
|
85895
85895
|
};
|
|
85896
|
-
var Tt = new
|
|
85896
|
+
var Tt = new re();
|
|
85897
85897
|
T(Tt, 11, "NA");
|
|
85898
85898
|
var It = RegExp("^[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~]*\\$1[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~]*(\\$\\d[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~]*)*$"), Jt = /[- ]/;
|
|
85899
85899
|
function Gt(K, oe) {
|
|
@@ -86417,7 +86417,7 @@ var S0 = function(t, r) {
|
|
|
86417
86417
|
v("showMessages", function() {
|
|
86418
86418
|
so("showMessages");
|
|
86419
86419
|
});
|
|
86420
|
-
}, [v]),
|
|
86420
|
+
}, [v]), re = Ut(function(U) {
|
|
86421
86421
|
v("showNewMessage", function() {
|
|
86422
86422
|
U ? so("showNewMessage", U) : so("showNewMessage");
|
|
86423
86423
|
});
|
|
@@ -86447,13 +86447,13 @@ var S0 = function(t, r) {
|
|
|
86447
86447
|
show: D,
|
|
86448
86448
|
isOpen: S,
|
|
86449
86449
|
showMessages: B,
|
|
86450
|
-
showNewMessages:
|
|
86450
|
+
showNewMessages: re,
|
|
86451
86451
|
getVisitorId: J,
|
|
86452
86452
|
startTour: G,
|
|
86453
86453
|
trackEvent: Q,
|
|
86454
86454
|
showArticle: R
|
|
86455
86455
|
};
|
|
86456
|
-
}, [b, O, $, C, A, D, S, B,
|
|
86456
|
+
}, [b, O, $, C, A, D, S, B, re, J, G, Q, R]);
|
|
86457
86457
|
return zm(Qne.Provider, {
|
|
86458
86458
|
value: I
|
|
86459
86459
|
}, a);
|
|
@@ -86824,11 +86824,11 @@ function PXe() {
|
|
|
86824
86824
|
}
|
|
86825
86825
|
return w = A, A;
|
|
86826
86826
|
}
|
|
86827
|
-
var B = _,
|
|
86827
|
+
var B = _, re = w;
|
|
86828
86828
|
if (n(B, C))
|
|
86829
|
-
return
|
|
86829
|
+
return re;
|
|
86830
86830
|
var J = p(C);
|
|
86831
|
-
return h !== void 0 && h(
|
|
86831
|
+
return h !== void 0 && h(re, J) ? re : (_ = C, w = J, J);
|
|
86832
86832
|
}, O = f === void 0 ? null : f, $ = function() {
|
|
86833
86833
|
return v(d());
|
|
86834
86834
|
}, k = O === null ? void 0 : function() {
|
|
@@ -87576,14 +87576,14 @@ function Y3(e, t, r, n, i, o, a) {
|
|
|
87576
87576
|
if (o)
|
|
87577
87577
|
o(A, c, n);
|
|
87578
87578
|
else if (D && u) {
|
|
87579
|
-
var B = u.length - 1,
|
|
87579
|
+
var B = u.length - 1, re = Rt(Rt({}, A), {
|
|
87580
87580
|
exec: function(J) {
|
|
87581
87581
|
for (var G = [], Q = 1; Q < arguments.length; Q++)
|
|
87582
87582
|
G[Q - 1] = arguments[Q];
|
|
87583
87583
|
D.apply(void 0, ui([u[B]], rn(G), !1));
|
|
87584
87584
|
}
|
|
87585
87585
|
});
|
|
87586
|
-
A =
|
|
87586
|
+
A = re;
|
|
87587
87587
|
}
|
|
87588
87588
|
return A;
|
|
87589
87589
|
}
|
|
@@ -89445,7 +89445,7 @@ var Zp = "", E$ = "#", Q1 = "*", jp = {}, Lp = function(e) {
|
|
|
89445
89445
|
var O = rn(Y3(this, r, n, o, g, i, this.machine.config.predictableActionArguments || this.machine.config.preserveActionOrder), 2), $ = O[0], k = O[1], C = rn(WXe($, _$), 2), A = C[0], D = C[1], B = $.filter(function(L) {
|
|
89446
89446
|
var se;
|
|
89447
89447
|
return L.type === m$ && ((se = L.activity) === null || se === void 0 ? void 0 : se.type) === v$;
|
|
89448
|
-
}),
|
|
89448
|
+
}), re = B.reduce(function(L, se) {
|
|
89449
89449
|
return L[se.activity.id] = dJe(se.activity, l.machine, k, o), L;
|
|
89450
89450
|
}, r ? Rt({}, r.children) : {}), J = new es({
|
|
89451
89451
|
value: m || r.value,
|
|
@@ -89460,7 +89460,7 @@ var Zp = "", E$ = "#", Q1 = "*", jp = {}, Lp = function(e) {
|
|
|
89460
89460
|
events: [],
|
|
89461
89461
|
configuration: p,
|
|
89462
89462
|
transitions: t.transitions,
|
|
89463
|
-
children:
|
|
89463
|
+
children: re,
|
|
89464
89464
|
done: h,
|
|
89465
89465
|
tags: $z(p),
|
|
89466
89466
|
machine: this
|
|
@@ -90995,10 +90995,10 @@ var Bz = {}, zz = function(e) {
|
|
|
90995
90995
|
} else if (v && typeof w == "string" && E === "[object Array]")
|
|
90996
90996
|
b = b.join(w), b && (b = this.extendTranslation(b, i, o, a));
|
|
90997
90997
|
else {
|
|
90998
|
-
var
|
|
90999
|
-
!this.isValidLookup(b) && Q && (
|
|
90998
|
+
var re = !1, J = !1, G = o.count !== void 0 && typeof o.count != "string", Q = r.hasDefaultValue(o), R = G ? this.pluralResolver.getSuffix(h, o.count, o) : "", I = o["defaultValue".concat(R)] || o.defaultValue;
|
|
90999
|
+
!this.isValidLookup(b) && Q && (re = !0, b = I), this.isValidLookup(b) || (J = !0, b = d);
|
|
91000
91000
|
var U = o.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey, ie = U && J ? void 0 : b, L = Q && I !== b && this.options.updateMissing;
|
|
91001
|
-
if (J ||
|
|
91001
|
+
if (J || re || L) {
|
|
91002
91002
|
if (this.logger.log(L ? "updateKey" : "missingKey", h, p, d, L ? I : b), u) {
|
|
91003
91003
|
var se = this.resolve(d, Wo(Wo({}, o), {}, {
|
|
91004
91004
|
keySeparator: !1
|
|
@@ -91021,7 +91021,7 @@ var Bz = {}, zz = function(e) {
|
|
|
91021
91021
|
});
|
|
91022
91022
|
}) : fe(x, d, I));
|
|
91023
91023
|
}
|
|
91024
|
-
b = this.extendTranslation(b, i, o, g, a), J && b === d && this.options.appendNamespaceToMissingKey && (b = "".concat(p, ":").concat(d)), (J ||
|
|
91024
|
+
b = this.extendTranslation(b, i, o, g, a), J && b === d && this.options.appendNamespaceToMissingKey && (b = "".concat(p, ":").concat(d)), (J || re) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? b = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? "".concat(p, ":").concat(d) : d, re ? b : void 0) : b = this.options.parseMissingKeyHandler(b));
|
|
91025
91025
|
}
|
|
91026
91026
|
return c ? (g.res = b, g) : b;
|
|
91027
91027
|
}
|
|
@@ -92478,7 +92478,7 @@ var I$ = { exports: {} };
|
|
|
92478
92478
|
$ && (O = v, v = null);
|
|
92479
92479
|
var k = O.navigator || {}, C = k.userAgent || "";
|
|
92480
92480
|
v || (v = C);
|
|
92481
|
-
var A = $ ? !!k.likeChrome : /\bChrome\b/.test(v) && !/internal|\n/i.test(d.toString()), D = "Object", B = $ ? D : "ScriptBridgingProxyObject",
|
|
92481
|
+
var A = $ ? !!k.likeChrome : /\bChrome\b/.test(v) && !/internal|\n/i.test(d.toString()), D = "Object", B = $ ? D : "ScriptBridgingProxyObject", re = $ ? D : "Environment", J = $ && O.java ? "JavaPackage" : g(O.java), G = $ ? D : "RuntimeObject", Q = /\bJava/.test(J) && O.java, R = Q && g(O.environment) == re, I = Q ? "a" : "α", U = Q ? "b" : "β", ie = O.document || {}, L = O.operamini || O.opera, se = c.test(se = $ && L ? L["[[Class]]"] : g(L)) ? se : L = null, x, pe = v, ce = [], fe = null, $e = v == C, de = $e && L && typeof L.version == "function" && L.version(), _e, xe = Ue([
|
|
92482
92482
|
{ label: "EdgeHTML", pattern: "Edge" },
|
|
92483
92483
|
"Trident",
|
|
92484
92484
|
{ label: "WebKit", pattern: "AppleWebKit" },
|
|
@@ -99805,18 +99805,18 @@ function yh(e, t) {
|
|
|
99805
99805
|
return console.warn(e, "not serialized"), null;
|
|
99806
99806
|
let B;
|
|
99807
99807
|
n.hasNode(e) ? B = n.getId(e) : Xnt(D, b) || !A && D.type === eo.Text && !D.isStyle && !D.textContent.replace(/^\s+|\s+$/gm, "").length ? B = zv : B = UR();
|
|
99808
|
-
const
|
|
99809
|
-
if (n.add(e,
|
|
99808
|
+
const re = Object.assign(D, { id: B });
|
|
99809
|
+
if (n.add(e, re), B === zv)
|
|
99810
99810
|
return null;
|
|
99811
99811
|
_ && _(e);
|
|
99812
99812
|
let J = !f;
|
|
99813
|
-
if (
|
|
99814
|
-
J = J && !
|
|
99813
|
+
if (re.type === eo.Element) {
|
|
99814
|
+
J = J && !re.needBlock, delete re.needBlock;
|
|
99815
99815
|
const G = e.shadowRoot;
|
|
99816
|
-
G && tv(G) && (
|
|
99816
|
+
G && tv(G) && (re.isShadowHost = !0);
|
|
99817
99817
|
}
|
|
99818
|
-
if ((
|
|
99819
|
-
b.headWhitespace &&
|
|
99818
|
+
if ((re.type === eo.Document || re.type === eo.Element) && J) {
|
|
99819
|
+
b.headWhitespace && re.type === eo.Element && re.tagName === "head" && (A = !1);
|
|
99820
99820
|
const G = {
|
|
99821
99821
|
doc: r,
|
|
99822
99822
|
mirror: n,
|
|
@@ -99848,15 +99848,15 @@ function yh(e, t) {
|
|
|
99848
99848
|
};
|
|
99849
99849
|
for (const Q of Array.from(e.childNodes)) {
|
|
99850
99850
|
const R = yh(Q, G);
|
|
99851
|
-
R &&
|
|
99851
|
+
R && re.childNodes.push(R);
|
|
99852
99852
|
}
|
|
99853
99853
|
if (Snt(e) && e.shadowRoot)
|
|
99854
99854
|
for (const Q of Array.from(e.shadowRoot.childNodes)) {
|
|
99855
99855
|
const R = yh(Q, G);
|
|
99856
|
-
R && (tv(e.shadowRoot) && (R.isShadow = !0),
|
|
99856
|
+
R && (tv(e.shadowRoot) && (R.isShadow = !0), re.childNodes.push(R));
|
|
99857
99857
|
}
|
|
99858
99858
|
}
|
|
99859
|
-
return e.parentNode && ev(e.parentNode) && tv(e.parentNode) && (
|
|
99859
|
+
return e.parentNode && ev(e.parentNode) && tv(e.parentNode) && (re.isShadow = !0), re.type === eo.Element && re.tagName === "iframe" && Hnt(e, () => {
|
|
99860
99860
|
const G = e.contentDocument;
|
|
99861
99861
|
if (G && w) {
|
|
99862
99862
|
const Q = yh(G, {
|
|
@@ -99890,7 +99890,7 @@ function yh(e, t) {
|
|
|
99890
99890
|
});
|
|
99891
99891
|
Q && w(e, Q);
|
|
99892
99892
|
}
|
|
99893
|
-
}, v),
|
|
99893
|
+
}, v), re.type === eo.Element && re.tagName === "link" && re.attributes.rel === "stylesheet" && Wnt(e, () => {
|
|
99894
99894
|
if (O) {
|
|
99895
99895
|
const G = yh(e, {
|
|
99896
99896
|
doc: r,
|
|
@@ -99923,7 +99923,7 @@ function yh(e, t) {
|
|
|
99923
99923
|
});
|
|
99924
99924
|
G && O(e, G);
|
|
99925
99925
|
}
|
|
99926
|
-
}, $),
|
|
99926
|
+
}, $), re;
|
|
99927
99927
|
}
|
|
99928
99928
|
function Jnt(e, t) {
|
|
99929
99929
|
const { mirror: r = new Toe(), blockClass: n = "rr-block", blockSelector: i = null, unblockSelector: o = null, maskAllText: a = !1, maskTextClass: s = "rr-mask", unmaskTextClass: c = null, maskTextSelector: u = null, unmaskTextSelector: l = null, inlineStylesheet: d = !0, inlineImages: f = !1, recordCanvas: p = !1, maskAllInputs: h = !1, maskAttributeFn: m, maskTextFn: y, maskInputFn: g, slimDOM: b = !1, dataURLOptions: T, preserveWhiteSpace: S, onSerialize: E, onIframeLoad: _, iframeLoadTimeout: w, onStylesheetLoad: v, stylesheetLoadTimeout: O, keepIframeSrcFn: $ = () => !1 } = t || {};
|
|
@@ -100667,9 +100667,9 @@ function dit({ inputCb: e, doc: t, mirror: r, blockClass: n, blockSelector: i, u
|
|
|
100667
100667
|
maskInputOptions: c,
|
|
100668
100668
|
tagName: $,
|
|
100669
100669
|
type: C
|
|
100670
|
-
}),
|
|
100670
|
+
}), re = Dm(v, f, h, p, m, B);
|
|
100671
100671
|
(C === "radio" || C === "checkbox") && (D = v.checked), A = Bv({
|
|
100672
|
-
isMasked:
|
|
100672
|
+
isMasked: re,
|
|
100673
100673
|
element: v,
|
|
100674
100674
|
value: A,
|
|
100675
100675
|
maskInputFn: u
|
|
@@ -100678,7 +100678,7 @@ function dit({ inputCb: e, doc: t, mirror: r, blockClass: n, blockSelector: i, u
|
|
|
100678
100678
|
C === "radio" && J && D && t.querySelectorAll(`input[type="radio"][name="${J}"]`).forEach((G) => {
|
|
100679
100679
|
if (G !== v) {
|
|
100680
100680
|
const Q = Bv({
|
|
100681
|
-
isMasked:
|
|
100681
|
+
isMasked: re,
|
|
100682
100682
|
element: G,
|
|
100683
100683
|
value: pb(G, $, C),
|
|
100684
100684
|
maskInputFn: u
|
|
@@ -101346,7 +101346,7 @@ function co(e) {
|
|
|
101346
101346
|
let gb;
|
|
101347
101347
|
const eu = Int();
|
|
101348
101348
|
function ed(e = {}) {
|
|
101349
|
-
const { emit: t, checkoutEveryNms: r, checkoutEveryNth: n, blockClass: i = "rr-block", blockSelector: o = null, unblockSelector: a = null, ignoreClass: s = "rr-ignore", ignoreSelector: c = null, maskAllText: u = !1, maskTextClass: l = "rr-mask", unmaskTextClass: d = null, maskTextSelector: f = null, unmaskTextSelector: p = null, inlineStylesheet: h = !0, maskAllInputs: m, maskInputOptions: y, slimDOMOptions: g, maskAttributeFn: b, maskInputFn: T, maskTextFn: S, packFn: E, sampling: _ = {}, dataURLOptions: w = {}, mousemoveWait: v, recordCanvas: O = !1, recordCrossOriginIframes: $ = !1, recordAfter: k = e.recordAfter === "DOMContentLoaded" ? e.recordAfter : "load", userTriggeredOnInput: C = !1, collectFonts: A = !1, inlineImages: D = !1, keepIframeSrcFn: B = () => !1, ignoreCSSAttributes:
|
|
101349
|
+
const { emit: t, checkoutEveryNms: r, checkoutEveryNth: n, blockClass: i = "rr-block", blockSelector: o = null, unblockSelector: a = null, ignoreClass: s = "rr-ignore", ignoreSelector: c = null, maskAllText: u = !1, maskTextClass: l = "rr-mask", unmaskTextClass: d = null, maskTextSelector: f = null, unmaskTextSelector: p = null, inlineStylesheet: h = !0, maskAllInputs: m, maskInputOptions: y, slimDOMOptions: g, maskAttributeFn: b, maskInputFn: T, maskTextFn: S, packFn: E, sampling: _ = {}, dataURLOptions: w = {}, mousemoveWait: v, recordCanvas: O = !1, recordCrossOriginIframes: $ = !1, recordAfter: k = e.recordAfter === "DOMContentLoaded" ? e.recordAfter : "load", userTriggeredOnInput: C = !1, collectFonts: A = !1, inlineImages: D = !1, keepIframeSrcFn: B = () => !1, ignoreCSSAttributes: re = /* @__PURE__ */ new Set([]), errorHandler: J, onMutation: G, getCanvasManager: Q } = e;
|
|
101350
101350
|
oit(J);
|
|
101351
101351
|
const R = $ ? window.parent === window : !0;
|
|
101352
101352
|
let I = !1;
|
|
@@ -101606,7 +101606,7 @@ function ed(e = {}) {
|
|
|
101606
101606
|
shadowDomManager: he,
|
|
101607
101607
|
processedNodeManager: ye,
|
|
101608
101608
|
canvasManager: ot,
|
|
101609
|
-
ignoreCSSAttributes:
|
|
101609
|
+
ignoreCSSAttributes: re,
|
|
101610
101610
|
plugins: []
|
|
101611
101611
|
}, {});
|
|
101612
101612
|
xe.addLoadListener((Ze) => {
|
|
@@ -104132,7 +104132,7 @@ class KR {
|
|
|
104132
104132
|
beforeAddRecordingEvent: D,
|
|
104133
104133
|
beforeErrorSampling: B,
|
|
104134
104134
|
// eslint-disable-next-line deprecation/deprecation
|
|
104135
|
-
blockClass:
|
|
104135
|
+
blockClass: re,
|
|
104136
104136
|
// eslint-disable-next-line deprecation/deprecation
|
|
104137
104137
|
blockSelector: J,
|
|
104138
104138
|
// eslint-disable-next-line deprecation/deprecation
|
|
@@ -104151,7 +104151,7 @@ class KR {
|
|
|
104151
104151
|
block: $,
|
|
104152
104152
|
unblock: k,
|
|
104153
104153
|
ignore: C,
|
|
104154
|
-
blockClass:
|
|
104154
|
+
blockClass: re,
|
|
104155
104155
|
blockSelector: J,
|
|
104156
104156
|
maskTextClass: Q,
|
|
104157
104157
|
maskTextSelector: R,
|
|
@@ -104813,8 +104813,8 @@ const md = (e, t, r, n) => {
|
|
|
104813
104813
|
}, []), b = () => {
|
|
104814
104814
|
var A;
|
|
104815
104815
|
if (d.current && l.current) {
|
|
104816
|
-
const { x: D, y: B, width:
|
|
104817
|
-
Fn ? (A = c == null ? void 0 : c.current) === null || A === void 0 || A.style.setProperty("--myinterview-widget-dynamic-overflow", "initial") : (d.current.controls = !0, d.current.play()), s({ x: D, y: B, width:
|
|
104816
|
+
const { x: D, y: B, width: re, height: J } = d.current.getBoundingClientRect();
|
|
104817
|
+
Fn ? (A = c == null ? void 0 : c.current) === null || A === void 0 || A.style.setProperty("--myinterview-widget-dynamic-overflow", "initial") : (d.current.controls = !0, d.current.play()), s({ x: D, y: B, width: re, height: J });
|
|
104818
104818
|
}
|
|
104819
104819
|
}, T = () => {
|
|
104820
104820
|
d.current && (d.current.controls = !1, d.current.pause(), d.current.currentTime = 0);
|
|
@@ -104998,7 +104998,7 @@ const md = (e, t, r, n) => {
|
|
|
104998
104998
|
return (a && !s ? fst : dst)[de]();
|
|
104999
104999
|
}, [i, h.length, a]), B = () => {
|
|
105000
105000
|
_.current && (_.current.style.transform = `translate3d(${O.current}px, 0px, 0px)`);
|
|
105001
|
-
},
|
|
105001
|
+
}, re = ($e) => {
|
|
105002
105002
|
var de, _e;
|
|
105003
105003
|
const xe = ((de = _.current) === null || de === void 0 ? void 0 : de.clientWidth) || 0, ye = O.current + $e;
|
|
105004
105004
|
O.current += ye > 0 || -ye > xe * (h.length - 1) ? $e * lst : $e, (_e = _.current) === null || _e === void 0 || _e.style.setProperty("--myinterview-widget-preview-transform-x", `${xe * $.current + ye}px`), B(), C.current = $e < 0;
|
|
@@ -105018,7 +105018,7 @@ const md = (e, t, r, n) => {
|
|
|
105018
105018
|
}, R = ($e) => {
|
|
105019
105019
|
if (k.current = Date.now(), v.current) {
|
|
105020
105020
|
const de = $e.touches[0].pageX - v.current;
|
|
105021
|
-
de &&
|
|
105021
|
+
de && re(de);
|
|
105022
105022
|
}
|
|
105023
105023
|
v.current = $e.touches[0].pageX;
|
|
105024
105024
|
}, I = ($e) => {
|
|
@@ -105961,7 +105961,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
105961
105961
|
function O(G, Q, R) {
|
|
105962
105962
|
return Q in G ? Object.defineProperty(G, Q, { value: R, enumerable: !0, configurable: !0, writable: !0 }) : G[Q] = R, G;
|
|
105963
105963
|
}
|
|
105964
|
-
var $ = "https://www.youtube.com/iframe_api", k = "YT", C = "onYouTubeIframeAPIReady", A = /[?&](?:list|channel)=([a-zA-Z0-9_-]+)/, D = /user\/([a-zA-Z0-9_-]+)\/?/, B = /youtube-nocookie\.com/,
|
|
105964
|
+
var $ = "https://www.youtube.com/iframe_api", k = "YT", C = "onYouTubeIframeAPIReady", A = /[?&](?:list|channel)=([a-zA-Z0-9_-]+)/, D = /user\/([a-zA-Z0-9_-]+)\/?/, B = /youtube-nocookie\.com/, re = "https://www.youtube-nocookie.com", J = /* @__PURE__ */ function(G) {
|
|
105965
105965
|
b(R, G);
|
|
105966
105966
|
var Q = S(R);
|
|
105967
105967
|
function R() {
|
|
@@ -106059,7 +106059,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
106059
106059
|
return _e(Ue.data);
|
|
106060
106060
|
}
|
|
106061
106061
|
},
|
|
106062
|
-
host: B.test(U) ?
|
|
106062
|
+
host: B.test(U) ? re : void 0
|
|
106063
106063
|
}, ye)));
|
|
106064
106064
|
}, _e), ye.events && console.warn("Using `embedOptions.events` will likely break things. Use ReactPlayer’s callback props instead, eg onReady, onPlay, onPause");
|
|
106065
106065
|
}
|
|
@@ -106282,8 +106282,8 @@ function yct() {
|
|
|
106282
106282
|
var A = this;
|
|
106283
106283
|
(0, n.getSDK)(S, E).then(function(D) {
|
|
106284
106284
|
if (A.iframe) {
|
|
106285
|
-
var B = D.Widget.Events,
|
|
106286
|
-
C || (A.player = D.Widget(A.iframe), A.player.bind(
|
|
106285
|
+
var B = D.Widget.Events, re = B.PLAY, J = B.PLAY_PROGRESS, G = B.PAUSE, Q = B.FINISH, R = B.ERROR;
|
|
106286
|
+
C || (A.player = D.Widget(A.iframe), A.player.bind(re, A.props.onPlay), A.player.bind(G, function() {
|
|
106287
106287
|
var I = A.duration - A.currentTime;
|
|
106288
106288
|
I < 0.05 || A.props.onPause();
|
|
106289
106289
|
}), A.player.bind(J, function(I) {
|
|
@@ -106512,7 +106512,7 @@ function _ct() {
|
|
|
106512
106512
|
var C = this;
|
|
106513
106513
|
this.duration = null, (0, n.getSDK)(S, E).then(function(A) {
|
|
106514
106514
|
if (C.container) {
|
|
106515
|
-
var D = C.props.config, B = D.playerOptions,
|
|
106515
|
+
var D = C.props.config, B = D.playerOptions, re = D.title;
|
|
106516
106516
|
C.player = new A.Player(C.container, c({
|
|
106517
106517
|
url: k,
|
|
106518
106518
|
autoplay: C.props.playing,
|
|
@@ -106522,7 +106522,7 @@ function _ct() {
|
|
|
106522
106522
|
controls: C.props.controls
|
|
106523
106523
|
}, B)), C.player.ready().then(function() {
|
|
106524
106524
|
var J = C.container.querySelector("iframe");
|
|
106525
|
-
J.style.width = "100%", J.style.height = "100%",
|
|
106525
|
+
J.style.width = "100%", J.style.height = "100%", re && (J.title = re);
|
|
106526
106526
|
}).catch(C.props.onError), C.player.on("loaded", function() {
|
|
106527
106527
|
C.props.onReady(), C.refreshDuration();
|
|
106528
106528
|
}), C.player.on("play", function() {
|
|
@@ -106771,10 +106771,10 @@ function bct() {
|
|
|
106771
106771
|
appId: D.props.config.appId,
|
|
106772
106772
|
xfbml: !0,
|
|
106773
106773
|
version: D.props.config.version
|
|
106774
|
-
}), B.Event.subscribe("xfbml.render", function(
|
|
106774
|
+
}), B.Event.subscribe("xfbml.render", function(re) {
|
|
106775
106775
|
D.props.onLoaded();
|
|
106776
|
-
}), B.Event.subscribe("xfbml.ready", function(
|
|
106777
|
-
|
|
106776
|
+
}), B.Event.subscribe("xfbml.ready", function(re) {
|
|
106777
|
+
re.type === "video" && re.id === D.playerID && (D.player = re.instance, D.player.subscribe("startedPlaying", D.props.onPlay), D.player.subscribe("paused", D.props.onPause), D.player.subscribe("finishedPlaying", D.props.onEnded), D.player.subscribe("startedBuffering", D.props.onBuffer), D.player.subscribe("finishedBuffering", D.props.onBufferEnd), D.player.subscribe("error", D.props.onError), D.props.muted ? D.callPlayer("mute") : D.callPlayer("unmute"), D.props.onReady(), document.getElementById(D.playerID).querySelector("iframe").style.visibility = "visible");
|
|
106778
106778
|
});
|
|
106779
106779
|
});
|
|
106780
106780
|
}
|
|
@@ -107201,7 +107201,7 @@ function Sct() {
|
|
|
107201
107201
|
}, {
|
|
107202
107202
|
key: "load",
|
|
107203
107203
|
value: function(C) {
|
|
107204
|
-
var A = this, D = this.props, B = D.playing,
|
|
107204
|
+
var A = this, D = this.props, B = D.playing, re = D.muted, J = D.controls, G = D.onReady, Q = D.config, R = D.onError;
|
|
107205
107205
|
(0, n.getSDK)(S, E).then(function(I) {
|
|
107206
107206
|
Q.customControls && Q.customControls.forEach(function(U) {
|
|
107207
107207
|
return I.defineControl(U);
|
|
@@ -107210,7 +107210,7 @@ function Sct() {
|
|
|
107210
107210
|
options: c({
|
|
107211
107211
|
autoPlay: B,
|
|
107212
107212
|
silentAutoPlay: "allow",
|
|
107213
|
-
muted:
|
|
107213
|
+
muted: re,
|
|
107214
107214
|
controlsVisibleOnLoad: J,
|
|
107215
107215
|
fullscreenButton: J,
|
|
107216
107216
|
playbar: J,
|
|
@@ -107441,7 +107441,7 @@ function Ect() {
|
|
|
107441
107441
|
}, {
|
|
107442
107442
|
key: "load",
|
|
107443
107443
|
value: function(C, A) {
|
|
107444
|
-
var D = this, B = this.props,
|
|
107444
|
+
var D = this, B = this.props, re = B.playsinline, J = B.onError, G = B.config, Q = B.controls, R = i.MATCH_URL_TWITCH_CHANNEL.test(C), I = R ? C.match(i.MATCH_URL_TWITCH_CHANNEL)[1] : C.match(i.MATCH_URL_TWITCH_VIDEO)[1];
|
|
107445
107445
|
if (A) {
|
|
107446
107446
|
R ? this.player.setChannel(I) : this.player.setVideo("v" + I);
|
|
107447
107447
|
return;
|
|
@@ -107452,7 +107452,7 @@ function Ect() {
|
|
|
107452
107452
|
channel: R ? I : "",
|
|
107453
107453
|
height: "100%",
|
|
107454
107454
|
width: "100%",
|
|
107455
|
-
playsinline:
|
|
107455
|
+
playsinline: re,
|
|
107456
107456
|
autoplay: D.props.playing,
|
|
107457
107457
|
muted: D.props.muted,
|
|
107458
107458
|
// https://github.com/CookPete/react-player/issues/733#issuecomment-549085859
|
|
@@ -107525,10 +107525,10 @@ function $ct() {
|
|
|
107525
107525
|
return MH || (MH = 1, function(e) {
|
|
107526
107526
|
function t(D) {
|
|
107527
107527
|
"@babel/helpers - typeof";
|
|
107528
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? t = function(
|
|
107529
|
-
return typeof
|
|
107530
|
-
} : t = function(
|
|
107531
|
-
return
|
|
107528
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? t = function(re) {
|
|
107529
|
+
return typeof re;
|
|
107530
|
+
} : t = function(re) {
|
|
107531
|
+
return re && typeof Symbol == "function" && re.constructor === Symbol && re !== Symbol.prototype ? "symbol" : typeof re;
|
|
107532
107532
|
}, t(D);
|
|
107533
107533
|
}
|
|
107534
107534
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -107551,31 +107551,31 @@ function $ct() {
|
|
|
107551
107551
|
var B = o();
|
|
107552
107552
|
if (B && B.has(D))
|
|
107553
107553
|
return B.get(D);
|
|
107554
|
-
var
|
|
107554
|
+
var re = {}, J = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
107555
107555
|
for (var G in D)
|
|
107556
107556
|
if (Object.prototype.hasOwnProperty.call(D, G)) {
|
|
107557
107557
|
var Q = J ? Object.getOwnPropertyDescriptor(D, G) : null;
|
|
107558
|
-
Q && (Q.get || Q.set) ? Object.defineProperty(
|
|
107558
|
+
Q && (Q.get || Q.set) ? Object.defineProperty(re, G, Q) : re[G] = D[G];
|
|
107559
107559
|
}
|
|
107560
|
-
return
|
|
107560
|
+
return re.default = D, B && B.set(D, re), re;
|
|
107561
107561
|
}
|
|
107562
107562
|
function s(D, B) {
|
|
107563
|
-
var
|
|
107563
|
+
var re = Object.keys(D);
|
|
107564
107564
|
if (Object.getOwnPropertySymbols) {
|
|
107565
107565
|
var J = Object.getOwnPropertySymbols(D);
|
|
107566
107566
|
B && (J = J.filter(function(G) {
|
|
107567
107567
|
return Object.getOwnPropertyDescriptor(D, G).enumerable;
|
|
107568
|
-
})),
|
|
107568
|
+
})), re.push.apply(re, J);
|
|
107569
107569
|
}
|
|
107570
|
-
return
|
|
107570
|
+
return re;
|
|
107571
107571
|
}
|
|
107572
107572
|
function c(D) {
|
|
107573
107573
|
for (var B = 1; B < arguments.length; B++) {
|
|
107574
|
-
var
|
|
107575
|
-
B % 2 ? s(Object(
|
|
107576
|
-
O(D, J,
|
|
107577
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(D, Object.getOwnPropertyDescriptors(
|
|
107578
|
-
Object.defineProperty(D, J, Object.getOwnPropertyDescriptor(
|
|
107574
|
+
var re = arguments[B] != null ? arguments[B] : {};
|
|
107575
|
+
B % 2 ? s(Object(re), !0).forEach(function(J) {
|
|
107576
|
+
O(D, J, re[J]);
|
|
107577
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(D, Object.getOwnPropertyDescriptors(re)) : s(Object(re)).forEach(function(J) {
|
|
107578
|
+
Object.defineProperty(D, J, Object.getOwnPropertyDescriptor(re, J));
|
|
107579
107579
|
});
|
|
107580
107580
|
}
|
|
107581
107581
|
return D;
|
|
@@ -107591,24 +107591,24 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
107591
107591
|
if (D) {
|
|
107592
107592
|
if (typeof D == "string")
|
|
107593
107593
|
return f(D, B);
|
|
107594
|
-
var
|
|
107595
|
-
if (
|
|
107594
|
+
var re = Object.prototype.toString.call(D).slice(8, -1);
|
|
107595
|
+
if (re === "Object" && D.constructor && (re = D.constructor.name), re === "Map" || re === "Set")
|
|
107596
107596
|
return Array.from(D);
|
|
107597
|
-
if (
|
|
107597
|
+
if (re === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))
|
|
107598
107598
|
return f(D, B);
|
|
107599
107599
|
}
|
|
107600
107600
|
}
|
|
107601
107601
|
function f(D, B) {
|
|
107602
107602
|
(B == null || B > D.length) && (B = D.length);
|
|
107603
|
-
for (var
|
|
107604
|
-
J[
|
|
107603
|
+
for (var re = 0, J = new Array(B); re < B; re++)
|
|
107604
|
+
J[re] = D[re];
|
|
107605
107605
|
return J;
|
|
107606
107606
|
}
|
|
107607
107607
|
function p(D, B) {
|
|
107608
107608
|
if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(D)))) {
|
|
107609
|
-
var
|
|
107609
|
+
var re = [], J = !0, G = !1, Q = void 0;
|
|
107610
107610
|
try {
|
|
107611
|
-
for (var R = D[Symbol.iterator](), I; !(J = (I = R.next()).done) && (
|
|
107611
|
+
for (var R = D[Symbol.iterator](), I; !(J = (I = R.next()).done) && (re.push(I.value), !(B && re.length === B)); J = !0)
|
|
107612
107612
|
;
|
|
107613
107613
|
} catch (U) {
|
|
107614
107614
|
G = !0, Q = U;
|
|
@@ -107620,7 +107620,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
107620
107620
|
throw Q;
|
|
107621
107621
|
}
|
|
107622
107622
|
}
|
|
107623
|
-
return
|
|
107623
|
+
return re;
|
|
107624
107624
|
}
|
|
107625
107625
|
}
|
|
107626
107626
|
function h(D) {
|
|
@@ -107632,13 +107632,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
107632
107632
|
throw new TypeError("Cannot call a class as a function");
|
|
107633
107633
|
}
|
|
107634
107634
|
function y(D, B) {
|
|
107635
|
-
for (var
|
|
107636
|
-
var J = B[
|
|
107635
|
+
for (var re = 0; re < B.length; re++) {
|
|
107636
|
+
var J = B[re];
|
|
107637
107637
|
J.enumerable = J.enumerable || !1, J.configurable = !0, "value" in J && (J.writable = !0), Object.defineProperty(D, J.key, J);
|
|
107638
107638
|
}
|
|
107639
107639
|
}
|
|
107640
|
-
function g(D, B,
|
|
107641
|
-
return B && y(D.prototype, B),
|
|
107640
|
+
function g(D, B, re) {
|
|
107641
|
+
return B && y(D.prototype, B), re && y(D, re), D;
|
|
107642
107642
|
}
|
|
107643
107643
|
function b(D, B) {
|
|
107644
107644
|
if (typeof B != "function" && B !== null)
|
|
@@ -107683,19 +107683,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
107683
107683
|
}
|
|
107684
107684
|
}
|
|
107685
107685
|
function v(D) {
|
|
107686
|
-
return v = Object.setPrototypeOf ? Object.getPrototypeOf : function(
|
|
107687
|
-
return
|
|
107686
|
+
return v = Object.setPrototypeOf ? Object.getPrototypeOf : function(re) {
|
|
107687
|
+
return re.__proto__ || Object.getPrototypeOf(re);
|
|
107688
107688
|
}, v(D);
|
|
107689
107689
|
}
|
|
107690
|
-
function O(D, B,
|
|
107691
|
-
return B in D ? Object.defineProperty(D, B, { value:
|
|
107690
|
+
function O(D, B, re) {
|
|
107691
|
+
return B in D ? Object.defineProperty(D, B, { value: re, enumerable: !0, configurable: !0, writable: !0 }) : D[B] = re, D;
|
|
107692
107692
|
}
|
|
107693
107693
|
var $ = "https://api.dmcdn.net/all.js", k = "DM", C = "dmAsyncInit", A = /* @__PURE__ */ function(D) {
|
|
107694
|
-
b(
|
|
107695
|
-
var B = S(
|
|
107696
|
-
function
|
|
107694
|
+
b(re, D);
|
|
107695
|
+
var B = S(re);
|
|
107696
|
+
function re() {
|
|
107697
107697
|
var J;
|
|
107698
|
-
m(this,
|
|
107698
|
+
m(this, re);
|
|
107699
107699
|
for (var G = arguments.length, Q = new Array(G), R = 0; R < G; R++)
|
|
107700
107700
|
Q[R] = arguments[R];
|
|
107701
107701
|
return J = B.call.apply(B, [this].concat(Q)), O(_(J), "callPlayer", n.callPlayer), O(_(J), "onDurationChange", function() {
|
|
@@ -107709,7 +107709,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
107709
107709
|
J.container = I;
|
|
107710
107710
|
}), J;
|
|
107711
107711
|
}
|
|
107712
|
-
return g(
|
|
107712
|
+
return g(re, [{
|
|
107713
107713
|
key: "componentDidMount",
|
|
107714
107714
|
value: function() {
|
|
107715
107715
|
this.props.onMount && this.props.onMount(this);
|
|
@@ -107812,7 +107812,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
107812
107812
|
ref: this.ref
|
|
107813
107813
|
}));
|
|
107814
107814
|
}
|
|
107815
|
-
}]),
|
|
107815
|
+
}]), re;
|
|
107816
107816
|
}(r.Component);
|
|
107817
107817
|
e.default = A, O(A, "displayName", "DailyMotion"), O(A, "canPlay", i.canPlay.dailymotion), O(A, "loopOnEnded", !0);
|
|
107818
107818
|
}(X8)), X8;
|
|
@@ -108015,14 +108015,14 @@ function Tct() {
|
|
|
108015
108015
|
var k = this.props, C = k.url, A = k.config, D = C.match(i.MATCH_URL_MIXCLOUD)[1], B = {
|
|
108016
108016
|
width: "100%",
|
|
108017
108017
|
height: "100%"
|
|
108018
|
-
},
|
|
108018
|
+
}, re = (0, n.queryString)(c(c({}, A.options), {}, {
|
|
108019
108019
|
feed: "/".concat(D, "/")
|
|
108020
108020
|
}));
|
|
108021
108021
|
return /* @__PURE__ */ r.default.createElement("iframe", {
|
|
108022
108022
|
key: D,
|
|
108023
108023
|
ref: this.ref,
|
|
108024
108024
|
style: B,
|
|
108025
|
-
src: "https://www.mixcloud.com/widget/iframe/?".concat(
|
|
108025
|
+
src: "https://www.mixcloud.com/widget/iframe/?".concat(re),
|
|
108026
108026
|
frameBorder: "0",
|
|
108027
108027
|
allow: "autoplay"
|
|
108028
108028
|
});
|
|
@@ -108179,7 +108179,7 @@ function Oct() {
|
|
|
108179
108179
|
}, {
|
|
108180
108180
|
key: "load",
|
|
108181
108181
|
value: function(C) {
|
|
108182
|
-
var A = this, D = this.props, B = D.playing,
|
|
108182
|
+
var A = this, D = this.props, B = D.playing, re = D.config, J = D.onError, G = D.onDuration, Q = C && C.match(i.MATCH_URL_VIDYARD)[1];
|
|
108183
108183
|
this.player && this.stop(), (0, n.getSDK)(S, E, _).then(function(R) {
|
|
108184
108184
|
A.container && (R.api.addReadyListener(function(I, U) {
|
|
108185
108185
|
A.player || (A.player = U, A.player.on("ready", A.props.onReady), A.player.on("play", A.props.onPlay), A.player.on("pause", A.props.onPause), A.player.on("seek", A.props.onSeek), A.player.on("playerComplete", A.props.onEnded));
|
|
@@ -108187,7 +108187,7 @@ function Oct() {
|
|
|
108187
108187
|
uuid: Q,
|
|
108188
108188
|
container: A.container,
|
|
108189
108189
|
autoplay: B ? 1 : 0
|
|
108190
|
-
},
|
|
108190
|
+
}, re.options)), R.api.getPlayerMetadata(Q).then(function(I) {
|
|
108191
108191
|
A.duration = I.length_in_seconds, G(I.length_in_seconds);
|
|
108192
108192
|
}));
|
|
108193
108193
|
}, J);
|
|
@@ -108578,7 +108578,7 @@ function Ict() {
|
|
|
108578
108578
|
function b(J, G, Q) {
|
|
108579
108579
|
return G in J ? Object.defineProperty(J, G, { value: Q, enumerable: !0, configurable: !0, writable: !0 }) : J[G] = Q, J;
|
|
108580
108580
|
}
|
|
108581
|
-
var T = typeof navigator < "u", S = T && navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1, E = T && (/iPad|iPhone|iPod/.test(navigator.userAgent) || S) && !window.MSStream, _ = T && /^((?!chrome|android).)*safari/i.test(navigator.userAgent) && !window.MSStream, w = "https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js", v = "Hls", O = "https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js", $ = "dashjs", k = "https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js", C = "flvjs", A = /www\.dropbox\.com\/.+/, D = /https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/, B = "https://videodelivery.net/{id}/manifest/video.m3u8",
|
|
108581
|
+
var T = typeof navigator < "u", S = T && navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1, E = T && (/iPad|iPhone|iPod/.test(navigator.userAgent) || S) && !window.MSStream, _ = T && /^((?!chrome|android).)*safari/i.test(navigator.userAgent) && !window.MSStream, w = "https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js", v = "Hls", O = "https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js", $ = "dashjs", k = "https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js", C = "flvjs", A = /www\.dropbox\.com\/.+/, D = /https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/, B = "https://videodelivery.net/{id}/manifest/video.m3u8", re = /* @__PURE__ */ function(J) {
|
|
108582
108582
|
d(Q, J);
|
|
108583
108583
|
var G = p(Q);
|
|
108584
108584
|
function Q() {
|
|
@@ -108821,7 +108821,7 @@ function Ict() {
|
|
|
108821
108821
|
}
|
|
108822
108822
|
}]), Q;
|
|
108823
108823
|
}(r.Component);
|
|
108824
|
-
e.default =
|
|
108824
|
+
e.default = re, b(re, "displayName", "FilePlayer"), b(re, "canPlay", i.canPlay.file);
|
|
108825
108825
|
}(e7)), e7;
|
|
108826
108826
|
}
|
|
108827
108827
|
(function(e) {
|
|
@@ -109420,31 +109420,31 @@ var qae = {};
|
|
|
109420
109420
|
return $.player ? $.player[D] : null;
|
|
109421
109421
|
}), S(g($), "progress", function() {
|
|
109422
109422
|
if ($.props.url && $.player && $.isReady) {
|
|
109423
|
-
var D = $.getCurrentTime() || 0, B = $.getSecondsLoaded(),
|
|
109424
|
-
if (
|
|
109423
|
+
var D = $.getCurrentTime() || 0, B = $.getSecondsLoaded(), re = $.getDuration();
|
|
109424
|
+
if (re) {
|
|
109425
109425
|
var J = {
|
|
109426
109426
|
playedSeconds: D,
|
|
109427
|
-
played: D /
|
|
109427
|
+
played: D / re
|
|
109428
109428
|
};
|
|
109429
|
-
B !== null && (J.loadedSeconds = B, J.loaded = B /
|
|
109429
|
+
B !== null && (J.loadedSeconds = B, J.loaded = B / re), (J.playedSeconds !== $.prevPlayed || J.loadedSeconds !== $.prevLoaded) && $.props.onProgress(J), $.prevPlayed = J.playedSeconds, $.prevLoaded = J.loadedSeconds;
|
|
109430
109430
|
}
|
|
109431
109431
|
}
|
|
109432
109432
|
$.progressTimeout = setTimeout($.progress, $.props.progressFrequency || $.props.progressInterval);
|
|
109433
109433
|
}), S(g($), "handleReady", function() {
|
|
109434
109434
|
if ($.mounted) {
|
|
109435
109435
|
$.isReady = !0, $.isLoading = !1;
|
|
109436
|
-
var D = $.props, B = D.onReady,
|
|
109437
|
-
B(), !G && J !== null && $.player.setVolume(J), $.loadOnReady ? ($.player.load($.loadOnReady, !0), $.loadOnReady = null) :
|
|
109436
|
+
var D = $.props, B = D.onReady, re = D.playing, J = D.volume, G = D.muted;
|
|
109437
|
+
B(), !G && J !== null && $.player.setVolume(J), $.loadOnReady ? ($.player.load($.loadOnReady, !0), $.loadOnReady = null) : re && $.player.play(), $.handleDurationCheck();
|
|
109438
109438
|
}
|
|
109439
109439
|
}), S(g($), "handlePlay", function() {
|
|
109440
109440
|
$.isPlaying = !0, $.isLoading = !1;
|
|
109441
|
-
var D = $.props, B = D.onStart,
|
|
109442
|
-
$.startOnPlay && ($.player.setPlaybackRate && J !== 1 && $.player.setPlaybackRate(J), B(), $.startOnPlay = !1),
|
|
109441
|
+
var D = $.props, B = D.onStart, re = D.onPlay, J = D.playbackRate;
|
|
109442
|
+
$.startOnPlay && ($.player.setPlaybackRate && J !== 1 && $.player.setPlaybackRate(J), B(), $.startOnPlay = !1), re(), $.seekOnPlay && ($.seekTo($.seekOnPlay), $.seekOnPlay = null), $.handleDurationCheck();
|
|
109443
109443
|
}), S(g($), "handlePause", function(D) {
|
|
109444
109444
|
$.isPlaying = !1, $.isLoading || $.props.onPause(D);
|
|
109445
109445
|
}), S(g($), "handleEnded", function() {
|
|
109446
|
-
var D = $.props, B = D.activePlayer,
|
|
109447
|
-
B.loopOnEnded &&
|
|
109446
|
+
var D = $.props, B = D.activePlayer, re = D.loop, J = D.onEnded;
|
|
109447
|
+
B.loopOnEnded && re && $.seekTo(0), re || ($.isPlaying = !1, J());
|
|
109448
109448
|
}), S(g($), "handleError", function() {
|
|
109449
109449
|
var D;
|
|
109450
109450
|
$.isLoading = !1, (D = $.props).onError.apply(D, arguments);
|
|
@@ -109471,7 +109471,7 @@ var qae = {};
|
|
|
109471
109471
|
value: function(k) {
|
|
109472
109472
|
var C = this;
|
|
109473
109473
|
if (this.player) {
|
|
109474
|
-
var A = this.props, D = A.url, B = A.playing,
|
|
109474
|
+
var A = this.props, D = A.url, B = A.playing, re = A.volume, J = A.muted, G = A.playbackRate, Q = A.pip, R = A.loop, I = A.activePlayer, U = A.disableDeferredLoading;
|
|
109475
109475
|
if (!(0, n.default)(k.url, D)) {
|
|
109476
109476
|
if (this.isLoading && !I.forceLoad && !U && !(0, o.isMediaStream)(D)) {
|
|
109477
109477
|
console.warn("ReactPlayer: the attempt to load ".concat(D, " is being deferred until the player has loaded")), this.loadOnReady = D;
|
|
@@ -109479,8 +109479,8 @@ var qae = {};
|
|
|
109479
109479
|
}
|
|
109480
109480
|
this.isLoading = !0, this.startOnPlay = !0, this.onDurationCalled = !1, this.player.load(D, this.isReady);
|
|
109481
109481
|
}
|
|
109482
|
-
!k.playing && B && !this.isPlaying && this.player.play(), k.playing && !B && this.isPlaying && this.player.pause(), !k.pip && Q && this.player.enablePIP && this.player.enablePIP(), k.pip && !Q && this.player.disablePIP && this.player.disablePIP(), k.volume !==
|
|
109483
|
-
return C.player.setVolume(
|
|
109482
|
+
!k.playing && B && !this.isPlaying && this.player.play(), k.playing && !B && this.isPlaying && this.player.pause(), !k.pip && Q && this.player.enablePIP && this.player.enablePIP(), k.pip && !Q && this.player.disablePIP && this.player.disablePIP(), k.volume !== re && re !== null && this.player.setVolume(re), k.muted !== J && (J ? this.player.mute() : (this.player.unmute(), re !== null && setTimeout(function() {
|
|
109483
|
+
return C.player.setVolume(re);
|
|
109484
109484
|
}))), k.playbackRate !== G && this.player.setPlaybackRate && this.player.setPlaybackRate(G), k.loop !== R && this.player.setLoop && this.player.setLoop(R);
|
|
109485
109485
|
}
|
|
109486
109486
|
}
|
|
@@ -109726,7 +109726,7 @@ function Bct() {
|
|
|
109726
109726
|
}, {
|
|
109727
109727
|
key: "render",
|
|
109728
109728
|
value: function() {
|
|
109729
|
-
var O = this.props, $ = O.light, k = O.onClick, C = O.playIcon, A = O.previewTabIndex, D = this.state.image, B = /* @__PURE__ */ r.default.isValidElement($),
|
|
109729
|
+
var O = this.props, $ = O.light, k = O.onClick, C = O.playIcon, A = O.previewTabIndex, D = this.state.image, B = /* @__PURE__ */ r.default.isValidElement($), re = {
|
|
109730
109730
|
display: "flex",
|
|
109731
109731
|
alignItems: "center",
|
|
109732
109732
|
justifyContent: "center"
|
|
@@ -109738,14 +109738,14 @@ function Bct() {
|
|
|
109738
109738
|
backgroundSize: "cover",
|
|
109739
109739
|
backgroundPosition: "center",
|
|
109740
109740
|
cursor: "pointer"
|
|
109741
|
-
},
|
|
109741
|
+
}, re),
|
|
109742
109742
|
shadow: a({
|
|
109743
109743
|
background: "radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",
|
|
109744
109744
|
borderRadius: b,
|
|
109745
109745
|
width: b,
|
|
109746
109746
|
height: b,
|
|
109747
109747
|
position: B ? "absolute" : void 0
|
|
109748
|
-
},
|
|
109748
|
+
}, re),
|
|
109749
109749
|
playIcon: {
|
|
109750
109750
|
borderStyle: "solid",
|
|
109751
109751
|
borderWidth: "16px 0 16px 26px",
|
|
@@ -110168,7 +110168,7 @@ var dut = function() {
|
|
|
110168
110168
|
style: n ? c : void 0
|
|
110169
110169
|
}, r);
|
|
110170
110170
|
}, mut = function(t) {
|
|
110171
|
-
var r = t.src, n = t.adUrl, i = t.controls, o = i === void 0 ? !1 : i, a = t.muted, s = a === void 0 ? !1 : a, c = t.autoplay, u = c === void 0 ? !1 : c, l = t.loop, d = l === void 0 ? !1 : l, f = t.preload, p = f === void 0 ? "metadata" : f, h = t.primaryColor, m = t.letterboxColor, y = t.defaultTextTrack, g = t.height, b = t.width, T = t.poster, S = t.currentTime, E = S === void 0 ? 0 : S, _ = t.volume, w = _ === void 0 ? 1 : _, v = t.startTime, O = t.streamRef, $ = t.responsive, k = $ === void 0 ? !0 : $, C = t.className, A = t.title, D = t.onAbort, B = t.onCanPlay,
|
|
110171
|
+
var r = t.src, n = t.adUrl, i = t.controls, o = i === void 0 ? !1 : i, a = t.muted, s = a === void 0 ? !1 : a, c = t.autoplay, u = c === void 0 ? !1 : c, l = t.loop, d = l === void 0 ? !1 : l, f = t.preload, p = f === void 0 ? "metadata" : f, h = t.primaryColor, m = t.letterboxColor, y = t.defaultTextTrack, g = t.height, b = t.width, T = t.poster, S = t.currentTime, E = S === void 0 ? 0 : S, _ = t.volume, w = _ === void 0 ? 1 : _, v = t.startTime, O = t.streamRef, $ = t.responsive, k = $ === void 0 ? !0 : $, C = t.className, A = t.title, D = t.onAbort, B = t.onCanPlay, re = t.onCanPlayThrough, J = t.onDurationChange, G = t.onEnded, Q = t.onError, R = t.onLoadedData, I = t.onLoadedMetaData, U = t.onLoadStart, ie = t.onPause, L = t.onPlay, se = t.onPlaying, x = t.onProgress, pe = t.onRateChange, ce = t.onResize, fe = t.onSeeked, $e = t.onSeeking, de = t.onStalled, _e = t.onSuspend, xe = t.onTimeUpdate, ye = t.onVolumeChange, ot = t.onWaiting, he = t.onStreamAdStart, ue = t.onStreamAdEnd, Ue = t.onStreamAdTimeout, Ve = dt(), Pe = O ?? Ve, Ze = St({
|
|
110172
110172
|
videoHeight: 0,
|
|
110173
110173
|
videoWidth: 0
|
|
110174
110174
|
}), Ce = Ze[0], De = Ze[1], ht = dt(null), at = uut(r, {
|
|
@@ -110195,7 +110195,7 @@ var dut = function() {
|
|
|
110195
110195
|
videoWidth: zt
|
|
110196
110196
|
});
|
|
110197
110197
|
}
|
|
110198
|
-
}, []), si("abort", Pe, D), si("canplay", Pe, B), si("canplaythrough", Pe,
|
|
110198
|
+
}, []), si("abort", Pe, D), si("canplay", Pe, B), si("canplaythrough", Pe, re), si("durationchange", Pe, J), si("ended", Pe, G), si("error", Pe, Q), si("loadeddata", Pe, R), si("loadedmetadata", Pe, I), si("loadstart", Pe, U), si("pause", Pe, ie), si("play", Pe, L), si("playing", Pe, se), si("progress", Pe, x), si("ratechange", Pe, pe), si("seeked", Pe, fe), si("seeking", Pe, $e), si("stalled", Pe, de), si("suspend", Pe, _e), si("timeupdate", Pe, xe), si("volumechange", Pe, ye), si("waiting", Pe, ot), si("stream-adstart", Pe, he), si("stream-adend", Pe, ue), si("stream-adtimeout", Pe, Ue), si("resize", Pe, function(ct) {
|
|
110199
110199
|
if (Pe.current) {
|
|
110200
110200
|
var it = Pe.current, Dt = it.videoHeight, zt = it.videoWidth;
|
|
110201
110201
|
De({
|
|
@@ -111694,7 +111694,7 @@ const Alt = (e) => {
|
|
|
111694
111694
|
var a;
|
|
111695
111695
|
const { t: s } = Xn(), c = ["watch.videodelivery.net", "cloudflarestream"].some((x) => e.includes(x)), u = c ? e.includes("watch.videodelivery.net") ? e.split("net/")[1] : (a = e.split("cloudflarestream.com/")[1]) === null || a === void 0 ? void 0 : a.split("/")[0] : "", l = e.replace("video-recording-client.s3.ap-southeast-2.amazonaws.com/videos/", "video.myinterview.com/mp4/720p/"), d = dt(), f = dt(null), [p, h] = St(!1), [m, y] = St(0), [g, b] = St(0), [T, S] = St(!1), [E, _] = St(!1), [w, v] = St(!1), [O, $] = St(!1), [k, C] = St(!1), A = dt(), D = dt(0), B = () => {
|
|
111696
111696
|
!d.current && !f.current || (d.current ? (y(d.current.duration), d.current.play()) : f.current && y(f.current.getDuration()), _(!0), h(!0), o == null || o({ eventType: Pr.VIDEO_QUESTION_PLAY, extraData: { currentTime: g, duration: m, isVideoEnded: w, videoEndedCount: D.current } }));
|
|
111697
|
-
},
|
|
111697
|
+
}, re = () => {
|
|
111698
111698
|
!d.current && !f.current || t || (d.current && d.current.pause(), h(!1), o == null || o({ eventType: Pr.VIDEO_QUESTION_PAUSE, extraData: { currentTime: g, duration: m, isVideoEnded: w, videoEndedCount: D.current } }));
|
|
111699
111699
|
}, J = (x) => {
|
|
111700
111700
|
var pe, ce;
|
|
@@ -111752,7 +111752,7 @@ const Alt = (e) => {
|
|
|
111752
111752
|
{ className: `
|
|
111753
111753
|
myinterview-widget-video-question__play-button-wrapper
|
|
111754
111754
|
${!T || p || E ? "myinterview-widget-video-question__play-button-wrapper--hidden" : ""}
|
|
111755
|
-
`, role: "presentation", onClick: p ?
|
|
111755
|
+
`, role: "presentation", onClick: p ? re : B },
|
|
111756
111756
|
M.createElement(aT, { playing: !1 })
|
|
111757
111757
|
),
|
|
111758
111758
|
T && E && M.createElement(
|
|
@@ -111760,7 +111760,7 @@ const Alt = (e) => {
|
|
|
111760
111760
|
{ className: L },
|
|
111761
111761
|
!t && M.createElement(
|
|
111762
111762
|
"div",
|
|
111763
|
-
{ className: "myinterview-widget-video-question__control-play-button", role: "presentation", onClick: p ?
|
|
111763
|
+
{ className: "myinterview-widget-video-question__control-play-button", role: "presentation", onClick: p ? re : B },
|
|
111764
111764
|
M.createElement(aT, { playing: p })
|
|
111765
111765
|
),
|
|
111766
111766
|
M.createElement(
|
|
@@ -111898,7 +111898,7 @@ const Alt = (e) => {
|
|
|
111898
111898
|
);
|
|
111899
111899
|
}, zlt = M.forwardRef(({ widgetMachine: e, sendToWidget: t, recorderRef: r, isSliderModalOpen: n, isWidgetMinimized: i, onOpenSliderModal: o, onCloseSliderModal: a, onRecorderRetry: s, onReInitRecorder: c, myinterviewRef: u }, l) => {
|
|
111900
111900
|
var d, f;
|
|
111901
|
-
const [p, h] = ww(r), [m, y] = St(!1), g = dt(null), { previewRef: b, questions: T, currentQuestion: S, currentTake: E, recordingType: _, isConnected: w, checksState: v, widgetConfig: O, failedRecordingMessage: $, timer: k } = e.context, { recordingTime: C, countdown: A, durations: D, videoDevices: B, audioDevices:
|
|
111901
|
+
const [p, h] = ww(r), [m, y] = St(!1), g = dt(null), { previewRef: b, questions: T, currentQuestion: S, currentTake: E, recordingType: _, isConnected: w, checksState: v, widgetConfig: O, failedRecordingMessage: $, timer: k } = e.context, { recordingTime: C, countdown: A, durations: D, videoDevices: B, audioDevices: re, selectedVideoDevice: J, selectedAudioDevice: G, microphoneRef: Q, mediaStream: R, recordWithoutVideo: I } = p.context, U = T[S - 1], ie = !!(U != null && U.answerType) && U.answerType !== an.VIDEO, L = ie ? !!(U != null && U.partDuration) : !!(U != null && U.thinkingTime), se = e.matches(st.SETUP), x = e.matches({ [st.INTERVIEW]: st.INTERVIEW__EXPLANATION }), pe = e.matches({ [st.INTERVIEW]: st.INTERVIEW__ASSESSMENT }), ce = e.matches(st.TIMES_UP), fe = e.hasTag(zr.SHOW_CAMERA), $e = e.matches(st.PREVIEW), de = p.matches(_r.ERROR), _e = p.matches(_r.IDLE), xe = p.matches({ [_r.RECORDING]: _r.COLLECTING_BLOBS }), ye = p.matches({ [_r.RECORDING]: _r.COUNT_DOWN }), ot = E < (U == null ? void 0 : U.numOfRetakes), he = U == null ? void 0 : U.numOfRetakes, ue = _ === po.QUESTION, Ue = (f = (d = O.video) === null || d === void 0 ? void 0 : d.videos) === null || f === void 0 ? void 0 : f.reduce((rt, Ie, He) => Ie.uploaded ? rt : He + 1, 0), Ve = S === (ue ? Ue : T.length), Pe = e.matches(st.UPLOADING), Ze = e.matches(st.CONFIRM), Ce = e.matches({ [st.INTERVIEW]: st.INTERVIEW__VIDEO_QUESTION }), De = x || e.hasTag(zr.CAN_START_RECORDING) && (!L || !Ce), ht = $ !== th.NO_ERROR ? $ : null, at = !w && se ? "CONNECTION" : null, yt = de ? "MEDIA_PERMISSION" : null, ct = v.microphone === "ERROR" ? "NO_SOUND" : null, it = ht || yt || at || ct, Dt = !e.hasTag(zr.DISPLAY_OUTER_VIEW), zt = _e && se || !!it && xe, Vt = e.hasTag(zr.DISPLAY_QUESTION);
|
|
111902
111902
|
At(() => {
|
|
111903
111903
|
Ce && y(!1);
|
|
111904
111904
|
}, [Ce]), At(() => {
|
|
@@ -111963,7 +111963,7 @@ const Alt = (e) => {
|
|
|
111963
111963
|
"div",
|
|
111964
111964
|
{ className: nt },
|
|
111965
111965
|
x && M.createElement(zQe, { isVideoQuestion: !!(U != null && U.videoQuestion), isAssessment: ie, timeLimit: ie ? U.partDuration : U.thinkingTime, answerType: U.answerType || an.VIDEO, duration: U.partDuration, takes: U.numOfRetakes }),
|
|
111966
|
-
M.createElement(Ist, { recordWithoutVideo: I, myinterviewRef: u, ref: l, microphoneRef: Q, isCameraDisplayed: fe, isPracticeModeDisplayed: !ue && xe, errorType: it, isPermissionStepsOpen: n, onDisplayPermissionSteps: o, onReInitRecorder: c, onClosePermissionSteps: a, onRecorderRetry: se ? s : c, isRecorderCanChangeSettings: zt, videoDevices: B, audioDevices:
|
|
111966
|
+
M.createElement(Ist, { recordWithoutVideo: I, myinterviewRef: u, ref: l, microphoneRef: Q, isCameraDisplayed: fe, isPracticeModeDisplayed: !ue && xe, errorType: it, isPermissionStepsOpen: n, onDisplayPermissionSteps: o, onReInitRecorder: c, onClosePermissionSteps: a, onRecorderRetry: se ? s : c, isRecorderCanChangeSettings: zt, videoDevices: B, audioDevices: re, selectedVideoDevice: J, selectedAudioDevice: G, handleDeviceChange: Ht, canStartRecording: De, currentQuestion: S, numberOfQuestions: T.length, currentQuestionObj: U, isRecording: xe, durations: D, recordingTime: C, isCountDown: ye, countdown: A, isQuestionDisplayed: Vt, isAssessment: ie }),
|
|
111967
111967
|
pe && !!(U != null && U.answerType) && (U == null ? void 0 : U.answerType) !== an.VIDEO && M.createElement(Flt, { currentQuestionObj: U, timer: k, currentQuestion: S, numberOfQuestions: T.length, onSubmitAssessment: Jn }),
|
|
111968
111968
|
ce && M.createElement(Blt, { onContinue: Je }),
|
|
111969
111969
|
(Ce || x && !!(U != null && U.videoQuestion)) && M.createElement(mse, { src: (U == null ? void 0 : U.videoQuestion) || "", isThinkingTime: L, onVideoEnds: Fr, isWidgetMinimized: i, hidden: x, onVideoStateChanged: mi }),
|
|
@@ -112164,7 +112164,7 @@ const sC = ({ logo: e = "", companyName: t = "", jobTitle: r = "", hidden: n = !
|
|
|
112164
112164
|
);
|
|
112165
112165
|
}, Zlt = ({ widgetMachine: e, sendToWidget: t, recorderRef: r }) => {
|
|
112166
112166
|
var n;
|
|
112167
|
-
const { questions: i, currentQuestion: o, widgetConfig: { job: a, video: s, company: c, config: u }, recordingType: l, isConnected: d, totalFileSize: f, totalUploadedFilesSize: p, totalUploadSpeed: h } = e.context, [m] = ww(r), { countdown: y, recordWithoutVideo: g } = m.context, b = i[o - 1], T = e.hasTag(zr.DISPLAY_OUTER_VIEW), S = e.matches(st.SETUP), E = e.matches({ [st.INTERVIEW]: st.INTERVIEW__VIDEO_QUESTION }), _ = e.matches({ [st.INTERVIEW]: st.INTERVIEW__ASSESSMENT }), w = e.hasTag(zr.DISPLAY_QUESTION) || E && !b.thinkingTime, v = e.matches(st.PREVIEW), O = e.matches(st.UPLOADING), $ = e.hasTag(zr.DISPLAY_QUESTIONS_LIST), k = e.hasTag(zr.DISPLAY_UPLOAD), C = m.matches({ [_r.RECORDING]: _r.COLLECTING_BLOBS }), A = m.matches({ [_r.RECORDING]: _r.COUNT_DOWN }), D = l === po.PRACTICE, B = ((n = s == null ? void 0 : s.videos) === null || n === void 0 ? void 0 : n.map((J, G) => J.uploaded || J.completed && o > G + 1 ? $b.COMPLETED : $b.INCOMPLETED)) || [],
|
|
112167
|
+
const { questions: i, currentQuestion: o, widgetConfig: { job: a, video: s, company: c, config: u }, recordingType: l, isConnected: d, totalFileSize: f, totalUploadedFilesSize: p, totalUploadSpeed: h } = e.context, [m] = ww(r), { countdown: y, recordWithoutVideo: g } = m.context, b = i[o - 1], T = e.hasTag(zr.DISPLAY_OUTER_VIEW), S = e.matches(st.SETUP), E = e.matches({ [st.INTERVIEW]: st.INTERVIEW__VIDEO_QUESTION }), _ = e.matches({ [st.INTERVIEW]: st.INTERVIEW__ASSESSMENT }), w = e.hasTag(zr.DISPLAY_QUESTION) || E && !b.thinkingTime, v = e.matches(st.PREVIEW), O = e.matches(st.UPLOADING), $ = e.hasTag(zr.DISPLAY_QUESTIONS_LIST), k = e.hasTag(zr.DISPLAY_UPLOAD), C = m.matches({ [_r.RECORDING]: _r.COLLECTING_BLOBS }), A = m.matches({ [_r.RECORDING]: _r.COUNT_DOWN }), D = l === po.PRACTICE, B = ((n = s == null ? void 0 : s.videos) === null || n === void 0 ? void 0 : n.map((J, G) => J.uploaded || J.completed && o > G + 1 ? $b.COMPLETED : $b.INCOMPLETED)) || [], re = ni({
|
|
112168
112168
|
"myinterview-widget-outer": !0,
|
|
112169
112169
|
"myinterview-widget-outer--hidden": !T || _,
|
|
112170
112170
|
"myinterview-widget-outer--hide-question": !C && !_ && !O && !v && (!E || !!b.thinkingTime),
|
|
@@ -112172,7 +112172,7 @@ const sC = ({ logo: e = "", companyName: t = "", jobTitle: r = "", hidden: n = !
|
|
|
112172
112172
|
});
|
|
112173
112173
|
return M.createElement(
|
|
112174
112174
|
"div",
|
|
112175
|
-
{ className:
|
|
112175
|
+
{ className: re },
|
|
112176
112176
|
M.createElement(sC, { logo: (a == null ? void 0 : a.logo) || "", companyName: (a == null ? void 0 : a.company) || (c == null ? void 0 : c.name) || "", jobTitle: (a == null ? void 0 : a.title) || "", forDesktopLayout: !0 }),
|
|
112177
112177
|
D && !S && M.createElement(Vlt, null),
|
|
112178
112178
|
A && M.createElement(JR, { countDown: y }),
|
|
@@ -112327,7 +112327,7 @@ qw.IS_PRODUCTION = Sdt;
|
|
|
112327
112327
|
}
|
|
112328
112328
|
function d(he, ue) {
|
|
112329
112329
|
try {
|
|
112330
|
-
return
|
|
112330
|
+
return re(he) ? he : he.toString().split(ue);
|
|
112331
112331
|
} catch {
|
|
112332
112332
|
throw new Error("'".concat(he, "' is not a valid state path."));
|
|
112333
112333
|
}
|
|
@@ -112338,7 +112338,7 @@ qw.IS_PRODUCTION = Sdt;
|
|
|
112338
112338
|
function p(he, ue) {
|
|
112339
112339
|
if (f(he))
|
|
112340
112340
|
return he.value;
|
|
112341
|
-
if (
|
|
112341
|
+
if (re(he))
|
|
112342
112342
|
return h(he);
|
|
112343
112343
|
if (typeof he != "string")
|
|
112344
112344
|
return he;
|
|
@@ -112472,7 +112472,7 @@ qw.IS_PRODUCTION = Sdt;
|
|
|
112472
112472
|
return (ue = []).concat.apply(ue, t.__spreadArray([], t.__read(he), !1));
|
|
112473
112473
|
}
|
|
112474
112474
|
function _(he) {
|
|
112475
|
-
return
|
|
112475
|
+
return re(he) ? he : [he];
|
|
112476
112476
|
}
|
|
112477
112477
|
function w(he) {
|
|
112478
112478
|
return he === void 0 ? [] : _(he);
|
|
@@ -112589,7 +112589,7 @@ qw.IS_PRODUCTION = Sdt;
|
|
|
112589
112589
|
Ue && Ve.push(Ue), console.warn.apply(console, Ve);
|
|
112590
112590
|
}
|
|
112591
112591
|
});
|
|
112592
|
-
function
|
|
112592
|
+
function re(he) {
|
|
112593
112593
|
return Array.isArray(he);
|
|
112594
112594
|
}
|
|
112595
112595
|
function J(he) {
|
|
@@ -112711,7 +112711,7 @@ qw.IS_PRODUCTION = Sdt;
|
|
|
112711
112711
|
function ot(he) {
|
|
112712
112712
|
return (he.type === n.raise || he.type === n.send && he.to === r.SpecialTargets.Internal) && typeof he.delay != "number";
|
|
112713
112713
|
}
|
|
112714
|
-
e.createInvokeId = ye, e.evaluateGuard = de, e.flatten = E, e.getActionType = l, e.getEventType = u, e.interopSymbols = U, e.isActor = L, e.isArray =
|
|
112714
|
+
e.createInvokeId = ye, e.evaluateGuard = de, e.flatten = E, e.getActionType = l, e.getEventType = u, e.interopSymbols = U, e.isActor = L, e.isArray = re, e.isBehavior = k, e.isBuiltInEvent = O, e.isFunction = J, e.isMachine = ie, e.isObservable = R, e.isPromiseLike = $, e.isRaisableAction = ot, e.isStateLike = f, e.isString = G, e.keys = s, e.mapContext = v, e.mapFilterValues = y, e.mapValues = m, e.matchesState = c, e.nestedPath = b, e.normalizeTarget = fe, e.partition = C, e.path = g, e.pathToStateValue = h, e.pathsToStateValue = S, e.reportUnhandledExceptionOnInvocation = $e, e.symbolObservable = I, e.toArray = w, e.toArrayStrict = _, e.toEventObject = x, e.toGuard = Q, e.toInvokeSource = _e, e.toObserver = xe, e.toSCXMLEvent = pe, e.toStatePath = d, e.toStatePaths = T, e.toStateValue = p, e.toTransitionConfigArray = ce, e.uniqueId = se, e.updateContext = B, e.updateHistoryStates = A, e.updateHistoryValue = D;
|
|
112715
112715
|
})(gse);
|
|
112716
112716
|
Object.defineProperty(sn, "__esModule", { value: !0 });
|
|
112717
112717
|
var tn = uC, bs = Ww, vo = Ui, Lr = gse, yse = qw, Edt = /* @__PURE__ */ Lr.toSCXMLEvent({
|
|
@@ -113057,14 +113057,14 @@ function wT(e, t, r, n, i, o, a) {
|
|
|
113057
113057
|
if (o)
|
|
113058
113058
|
o(A, c, n);
|
|
113059
113059
|
else if (D && u) {
|
|
113060
|
-
var B = u.length - 1,
|
|
113060
|
+
var B = u.length - 1, re = tn.__assign(tn.__assign({}, A), {
|
|
113061
113061
|
exec: function(J) {
|
|
113062
113062
|
for (var G = [], Q = 1; Q < arguments.length; Q++)
|
|
113063
113063
|
G[Q - 1] = arguments[Q];
|
|
113064
113064
|
D.apply(void 0, tn.__spreadArray([u[B]], tn.__read(G), !1));
|
|
113065
113065
|
}
|
|
113066
113066
|
});
|
|
113067
|
-
A =
|
|
113067
|
+
A = re;
|
|
113068
113068
|
}
|
|
113069
113069
|
return A;
|
|
113070
113070
|
}
|
|
@@ -119270,12 +119270,12 @@ const fmt = () => {
|
|
|
119270
119270
|
At(() => {
|
|
119271
119271
|
A();
|
|
119272
119272
|
}, [_]);
|
|
119273
|
-
const
|
|
119273
|
+
const re = () => {
|
|
119274
119274
|
d(er.RETRY);
|
|
119275
119275
|
}, J = () => {
|
|
119276
119276
|
h == null || h.send(hr.RETRY), p(!1);
|
|
119277
119277
|
}, G = () => {
|
|
119278
|
-
p(!1),
|
|
119278
|
+
p(!1), re();
|
|
119279
119279
|
}, Q = () => {
|
|
119280
119280
|
d(er.NEXT_STEP);
|
|
119281
119281
|
}, R = ni({
|
|
@@ -119288,7 +119288,7 @@ const fmt = () => {
|
|
|
119288
119288
|
null,
|
|
119289
119289
|
!!T.minimizable && !O && M.createElement(hmt, { onClick: i }),
|
|
119290
119290
|
!E && !_ && M.createElement(sC, { logo: (m == null ? void 0 : m.logo) || "", companyName: (m == null ? void 0 : m.company) || (b == null ? void 0 : b.name) || "", jobTitle: (m == null ? void 0 : m.title) || "", hidden: !$ && !k }),
|
|
119291
|
-
M.createElement("div", { ref: c, className: R, onScroll: B }, E ? M.createElement(Mft, { error: l.context.error, onRetry:
|
|
119291
|
+
M.createElement("div", { ref: c, className: R, onScroll: B }, E ? M.createElement(Mft, { error: l.context.error, onRetry: re }) : k ? M.createElement(pmt, { introVideo: e.config.introVideo || "", welcomeTitle: e.config.welcomeTitle, welcomeText: e.config.welcomeText || "", onContinue: Q, logo: (m == null ? void 0 : m.logo) || "", company: (m == null ? void 0 : m.company) || (b == null ? void 0 : b.name) || "", title: (m == null ? void 0 : m.title) || "", termsUrl: m == null ? void 0 : m.termsUrl, privacyUrl: m == null ? void 0 : m.privacyUrl, isResumed: D, isWidgetMinimized: n }) : _ || !h ? M.createElement(Dft, null) : M.createElement(
|
|
119292
119292
|
M.Fragment,
|
|
119293
119293
|
null,
|
|
119294
119294
|
M.createElement(zlt, { myinterviewRef: r, recorderRef: h, ref: u, widgetMachine: l, sendToWidget: d, isSliderModalOpen: f, onOpenSliderModal: () => p(!0), onCloseSliderModal: () => p(!1), onRecorderRetry: J, onReInitRecorder: G, isWidgetMinimized: n }),
|
|
@@ -119411,7 +119411,7 @@ const bmt = ({ messageType: e }) => {
|
|
|
119411
119411
|
}, B = (I) => Ks(void 0, void 0, void 0, function* () {
|
|
119412
119412
|
var U;
|
|
119413
119413
|
D(), yield (U = n.onFinish) === null || U === void 0 ? void 0 : U.call(n, I);
|
|
119414
|
-
}),
|
|
119414
|
+
}), re = (I) => {
|
|
119415
119415
|
var U;
|
|
119416
119416
|
D(), (U = n.onError) === null || U === void 0 || U.call(n, I);
|
|
119417
119417
|
}, J = () => {
|
|
@@ -119472,7 +119472,7 @@ const bmt = ({ messageType: e }) => {
|
|
|
119472
119472
|
"div",
|
|
119473
119473
|
{ className: R },
|
|
119474
119474
|
M.createElement(mmt, { myinterviewRef: b, widgetConfig: {
|
|
119475
|
-
config: Object.assign(Object.assign({}, n), { onFinish: B, onError:
|
|
119475
|
+
config: Object.assign(Object.assign({}, n), { onFinish: B, onError: re, practiceQuestions: RW(n.practiceQuestions) }),
|
|
119476
119476
|
job: Object.assign(Object.assign({}, t), { questions: RW(t.questions) }),
|
|
119477
119477
|
video: Object.assign(Object.assign({}, r), { referrer: (r == null ? void 0 : r.referrer) || window.location.href, widget_version: d }),
|
|
119478
119478
|
candidate: e
|
|
@@ -119553,19 +119553,19 @@ const bmt = ({ messageType: e }) => {
|
|
|
119553
119553
|
}, O = () => {
|
|
119554
119554
|
E.current.style.transitionDuration = "0ms";
|
|
119555
119555
|
}, $ = (B) => {
|
|
119556
|
-
const
|
|
119556
|
+
const re = B.touches[0].pageX;
|
|
119557
119557
|
if (S.current === null) {
|
|
119558
|
-
S.current =
|
|
119558
|
+
S.current = re;
|
|
119559
119559
|
return;
|
|
119560
119560
|
}
|
|
119561
|
-
const J =
|
|
119562
|
-
T((G) => Math.min(Math.max(G + J, y), 0)), S.current =
|
|
119561
|
+
const J = re - S.current;
|
|
119562
|
+
T((G) => Math.min(Math.max(G + J, y), 0)), S.current = re;
|
|
119563
119563
|
}, k = () => {
|
|
119564
119564
|
S.current = null;
|
|
119565
119565
|
}, C = (B) => {
|
|
119566
119566
|
E.current.style.transitionDuration = "300ms";
|
|
119567
|
-
const
|
|
119568
|
-
T((J) => Math.min(Math.max(J +
|
|
119567
|
+
const re = B * kmt;
|
|
119568
|
+
T((J) => Math.min(Math.max(J + re, y), 0));
|
|
119569
119569
|
};
|
|
119570
119570
|
At(() => {
|
|
119571
119571
|
m("");
|
|
@@ -119574,15 +119574,15 @@ const bmt = ({ messageType: e }) => {
|
|
|
119574
119574
|
var B;
|
|
119575
119575
|
try {
|
|
119576
119576
|
u(!0);
|
|
119577
|
-
const
|
|
119578
|
-
await Omt(h, r,
|
|
119577
|
+
const re = (B = Ac.get(n)) == null ? void 0 : B.attributes;
|
|
119578
|
+
await Omt(h, r, re, e), d(!0);
|
|
119579
119579
|
} finally {
|
|
119580
119580
|
u(!1);
|
|
119581
119581
|
}
|
|
119582
119582
|
}, D = Ut((B) => {
|
|
119583
|
-
var
|
|
119583
|
+
var re;
|
|
119584
119584
|
if (E.current = B, !E.current) {
|
|
119585
|
-
(
|
|
119585
|
+
(re = _.current) == null || re.disconnect();
|
|
119586
119586
|
return;
|
|
119587
119587
|
}
|
|
119588
119588
|
_.current = new ResizeObserver(([J]) => {
|
|
@@ -119593,8 +119593,8 @@ const bmt = ({ messageType: e }) => {
|
|
|
119593
119593
|
return At(() => {
|
|
119594
119594
|
if (!E.current)
|
|
119595
119595
|
return;
|
|
119596
|
-
const { clientWidth: B, scrollWidth:
|
|
119597
|
-
g(B -
|
|
119596
|
+
const { clientWidth: B, scrollWidth: re } = E.current;
|
|
119597
|
+
g(B - re), T(0);
|
|
119598
119598
|
}, [i]), Ee("div", { className: "myinterview-chatbot-scheduling myinterview-chatbot-no-select", children: (a || (i == null ? void 0 : i.size)) && kt("div", { className: Mr("myinterview-chatbot-scheduling__wrapper", { "myinterview-chatbot-scheduling__wrapper--disabled": l || c || t }), children: [kt("div", { className: Mr("myinterview-chatbot-scheduling__days", { "myinterview-chatbot-scheduling__days--prev-scroll": b, "myinterview-chatbot-scheduling__days--next-scroll": y < b }), children: [i && !!b && Ee($m, { classNames: "myinterview-chatbot-scheduling__navigation-button", onClick: () => C(1) }), Ee("div", {
|
|
119599
119599
|
ref: D,
|
|
119600
119600
|
className: "myinterview-chatbot-scheduling__days-scrollable",
|
|
@@ -119604,7 +119604,7 @@ const bmt = ({ messageType: e }) => {
|
|
|
119604
119604
|
onTouchMove: $,
|
|
119605
119605
|
onTouchEnd: k,
|
|
119606
119606
|
role: "presentation",
|
|
119607
|
-
children: (i ? Array.from(i.keys()) : [...Array(5)]).map((B,
|
|
119607
|
+
children: (i ? Array.from(i.keys()) : [...Array(5)]).map((B, re) => Ee("div", { className: Mr("myinterview-chatbot-scheduling__day", { "myinterview-chatbot-scheduling--selected-item": B === f }, { "myinterview-chatbot-scheduling--disabled": a }), onClick: () => w(B), role: "presentation", children: i ? kt(vd, { children: [Ee(En, { className: "myinterview-chatbot-scheduling__day-value", size: "P1-M", children: cr.fromISO(B).toFormat("ccc") }), Ee(En, { className: "myinterview-chatbot-scheduling__day-value", size: "P1-M", children: cr.fromISO(B).toFormat("LLL dd") })] }) : Ee(mC, {}) }, B ?? re))
|
|
119608
119608
|
}), i && y < b && Ee($m, { classNames: "myinterview-chatbot-scheduling__navigation-button myinterview-chatbot-scheduling__navigation-button--next", onClick: () => C(-1) })] }), (i == null ? void 0 : i.get(f)) && Ee("div", { className: "myinterview-chatbot-scheduling__times", children: i.get(f).map((B) => Ee("div", { className: Mr("myinterview-chatbot-scheduling__time", { "myinterview-chatbot-scheduling--selected-item": B === h }), onClick: () => v(B), role: "presentation", children: Ee(En, { className: "myinterview-chatbot-scheduling__time-value", size: "P1-M", children: cr.fromISO(B).toLocaleString(cr.TIME_SIMPLE) }) }, B)) }), !!f && Ee(Wc, { className: "myinterview-chatbot-scheduling__submit-buttton", size: "small", disabled: !h || l || c, onClick: A, children: l ? "Scheduled" : c ? "Scheduling..." : "Schedule" })] }) });
|
|
119609
119609
|
};
|
|
119610
119610
|
var Fl;
|
|
@@ -119759,36 +119759,36 @@ const CT = {
|
|
|
119759
119759
|
component: xmt
|
|
119760
119760
|
}
|
|
119761
119761
|
}, Bmt = ({ message: e, isGroup: t, isCurrentUser: r, isLastUserMessage: n, isLastMessage: i, isTopMessage: o, displayDate: a, thumbnail: s, submitModule: c, sendText: u }) => {
|
|
119762
|
-
var
|
|
119763
|
-
const [l, d] = St(!1), [f, p] = St(!1), h = h1(), m = e.type === "media", y = e.author === sVe, g = Ut((
|
|
119762
|
+
var k, C;
|
|
119763
|
+
const [l, d] = St(!1), [f, p] = St(!1), h = h1(), m = e.type === "media", y = e.author === sVe, g = Ut((A, D) => {
|
|
119764
119764
|
e.attributes.module && c({
|
|
119765
119765
|
message_id: e.sid,
|
|
119766
119766
|
answer_module: {
|
|
119767
119767
|
...e.attributes.module,
|
|
119768
|
-
data:
|
|
119768
|
+
data: A,
|
|
119769
119769
|
completed: !0
|
|
119770
119770
|
}
|
|
119771
|
-
},
|
|
119771
|
+
}, D);
|
|
119772
119772
|
}, [c, e.sid, e.attributes.module]), b = qi(() => ({
|
|
119773
|
-
[lf.SEND_MESSAGE]: (
|
|
119774
|
-
u({ message:
|
|
119773
|
+
[lf.SEND_MESSAGE]: (A) => {
|
|
119774
|
+
u({ message: A.text });
|
|
119775
119775
|
},
|
|
119776
119776
|
[lf.SHOW_TNC]: () => {
|
|
119777
|
-
CT.tnc = (
|
|
119778
|
-
g({ ...e.attributes.module.data, agreed:
|
|
119777
|
+
CT.tnc = (D) => {
|
|
119778
|
+
g({ ...e.attributes.module.data, agreed: D }, D ? "Agree" : "Disagree");
|
|
119779
119779
|
};
|
|
119780
|
-
const
|
|
119781
|
-
h(OE({ name: Xl.TNC, company:
|
|
119780
|
+
const A = e.attributes.module;
|
|
119781
|
+
h(OE({ name: Xl.TNC, company: A.data.company, url: A.data.url }));
|
|
119782
119782
|
},
|
|
119783
119783
|
[lf.SHOW_FEEDBACK]: () => {
|
|
119784
119784
|
h(OE({ name: Xl.FEEDBACK }));
|
|
119785
119785
|
},
|
|
119786
|
-
[lf.OPEN_LINK]: (
|
|
119787
|
-
window.open(
|
|
119786
|
+
[lf.OPEN_LINK]: (A) => {
|
|
119787
|
+
window.open(A.attributes.url, "_blank");
|
|
119788
119788
|
}
|
|
119789
|
-
}), [g]), T = Ut((
|
|
119790
|
-
|
|
119791
|
-
b[
|
|
119789
|
+
}), [g]), T = Ut((A) => {
|
|
119790
|
+
A.customActions.forEach((D) => {
|
|
119791
|
+
b[D](A);
|
|
119792
119792
|
});
|
|
119793
119793
|
}, [e.attributes.suggestions]), S = qi(() => !e.attributes.module || !(e.attributes.module.type in xW) ? null : xW[e.attributes.module.type], [e.attributes.module]), E = qi(() => S ? zm(S.component, {
|
|
119794
119794
|
...e.attributes.module,
|
|
@@ -119802,26 +119802,26 @@ const CT = {
|
|
|
119802
119802
|
d(!0);
|
|
119803
119803
|
}, w = () => {
|
|
119804
119804
|
p(!0);
|
|
119805
|
-
}, v = Mr("myinterview-chatbot-message-item", {
|
|
119805
|
+
}, v = Ut((A) => A.replace(/\u200b(.*?)\u200b/gi, "").trim(), []), O = Mr("myinterview-chatbot-message-item", {
|
|
119806
119806
|
"myinterview-chatbot-message-item--current-user": r,
|
|
119807
119807
|
"myinterview-chatbot-message-item--last-message": n,
|
|
119808
119808
|
"myinterview-chatbot-message-item--system-message": y
|
|
119809
|
-
}),
|
|
119809
|
+
}), $ = Mr("myinterview-chatbot-message-item__content", {
|
|
119810
119810
|
"myinterview-chatbot-message-item__content--current-user": r,
|
|
119811
119811
|
"myinterview-chatbot-message-item__content--last-message": n,
|
|
119812
119812
|
"myinterview-chatbot-message-item__content--top-message": o || a && e.dateCreated,
|
|
119813
119813
|
"myinterview-chatbot-message-item__content--fix-width": m && !e.attributes.mediaDimensions,
|
|
119814
119814
|
"myinterview-chatbot-message-item__content--system-message": y
|
|
119815
119815
|
});
|
|
119816
|
-
return kt(vd, { children: [i && e.attributes.suggestions && Ee("section", { className: "myinterview-chatbot-message-item__suggestions", children: Ee("div", { className: "myinterview-chatbot-message-item__suggestions-list", children: e.attributes.suggestions.map((
|
|
119817
|
-
var
|
|
119818
|
-
return Ee("span", { className: Mr("myinterview-chatbot-message-item__suggestions-item", (
|
|
119819
|
-
}) }) }), S && S.isExternal && l && Ee("div", { className: "myinterview-chatbot-message-item__module-wrapper myinterview-chatbot-message-item__module-wrapper--external", children: E }), kt("div", { className:
|
|
119820
|
-
media: (
|
|
119816
|
+
return kt(vd, { children: [i && e.attributes.suggestions && Ee("section", { className: "myinterview-chatbot-message-item__suggestions", children: Ee("div", { className: "myinterview-chatbot-message-item__suggestions-list", children: e.attributes.suggestions.map((A, D) => {
|
|
119817
|
+
var B;
|
|
119818
|
+
return Ee("span", { className: Mr("myinterview-chatbot-message-item__suggestions-item", (B = A.layouts) == null ? void 0 : B.map((re) => `myinterview-chatbot-message-item__suggestions-item--${re}`)), onClick: () => T(A), role: "presentation", children: A.text }, D);
|
|
119819
|
+
}) }) }), S && S.isExternal && l && Ee("div", { className: "myinterview-chatbot-message-item__module-wrapper myinterview-chatbot-message-item__module-wrapper--external", children: E }), kt("div", { className: O, children: [t && !r && !y && Ee("div", { className: "myinterview-chatbot-message-item__thumb-wrapper", children: n && Ee(dw, { name: e.author || "", src: s, size: 40, color: "#5aa4f5" }) }), kt("div", { className: $, children: [m && !f && Ee(mC, { className: "myinterview-chatbot-message-item__skeleton", transparent: !0 }), m && Ee(mKe, {
|
|
119820
|
+
media: (k = e.attachedMedia) == null ? void 0 : k[0],
|
|
119821
119821
|
mediaDimensions: e.attributes.mediaDimensions,
|
|
119822
119822
|
// transcript={isMediaReady ? message.attributes.transcript : undefined}
|
|
119823
119823
|
onMediaReady: w
|
|
119824
|
-
}), kt("div", { className: "myinterview-chatbot-message-item__content-main", children: [Ee(En, { className: "myinterview-chatbot-message-item__body", size: "P1-L", children: Ee(Amt, { text: e.body ?? "" }) }), S && Ee("div", { className: "myinterview-chatbot-message-item__module-wrapper", children: S.isExternal ? S.triggerComponent && !l && !((
|
|
119824
|
+
}), kt("div", { className: "myinterview-chatbot-message-item__content-main", children: [Ee(En, { className: "myinterview-chatbot-message-item__body", size: "P1-L", children: Ee(Amt, { text: v(e.body ?? "") }) }), S && Ee("div", { className: "myinterview-chatbot-message-item__module-wrapper", children: S.isExternal ? S.triggerComponent && !l && !((C = e.attributes.module) != null && C.completed) ? S.triggerComponent({ ...S.triggerComponentProps, onClick: _ }) : null : E }), !y && kt("div", { className: "myinterview-chatbot-message-item__message-info", children: [Ee(vne, { value: e.dateCreated ?? e.attributes.ts ?? 0 }), r && Ee(nKe, { isPending: !e.sid })] })] })] })] }), a && e.dateCreated && Ee("div", { className: "myinterview-chatbot-message-item__date", children: Ee(En, { className: "myinterview-chatbot-message-item__date-value", size: "P1-S", children: cr.fromMillis(e.dateCreated).toLocaleString({ month: "short", day: "numeric" }) }) })] });
|
|
119825
119825
|
}, zmt = ({ name: e, thumbSrc: t }) => kt("div", { className: "myinterview-chatbot-typing-indicator", children: [Ee(dw, { name: e, src: t, size: 40 }), Ee("div", { className: "myinterview-chatbot-typing-indicator__dots", children: [...Array(3)].map((r, n) => Ee("span", { className: "myinterview-chatbot-typing-indicator__dot" }, n)) })] }), Vmt = ({ messages: e, currentUser: t, isBotTyping: r, paginatorCallback: n, submitModule: i, sendText: o }) => {
|
|
119826
119826
|
const a = dt(), s = dt(), c = dt(null), u = GI({ callback: n }), l = Ut((f) => {
|
|
119827
119827
|
s.current = f;
|
|
@@ -120056,7 +120056,7 @@ const CT = {
|
|
|
120056
120056
|
ude() && cde(), Qye({
|
|
120057
120057
|
dsn: gm.SENTRY_DSN,
|
|
120058
120058
|
environment: "production",
|
|
120059
|
-
release: "0.1.
|
|
120059
|
+
release: "0.1.49",
|
|
120060
120060
|
integrations: [
|
|
120061
120061
|
Oye(),
|
|
120062
120062
|
pye()
|