@myinterview/chatbot 0.1.67-experimental-3d1eff5 → 0.1.67-experimental-75548f7
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 +180 -180
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._myinterview-chatbot--component-mode_1hygk_1{width:100%;height:100%}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
import * as zl from "react";
|
|
3
|
-
import M, { version as Vse, createContext as Db, forwardRef as IT, useRef as dt, useEffect as At, useState as St, useLayoutEffect as Eu, useImperativeHandle as RT, useDebugValue as P_, useContext as Vl, createElement as zm, useCallback as Ut, useMemo as
|
|
3
|
+
import M, { version as Vse, createContext as Db, forwardRef as IT, useRef as dt, useEffect as At, useState as St, useLayoutEffect as Eu, useImperativeHandle as RT, useDebugValue as P_, useContext as Vl, createElement as zm, useCallback as Ut, useMemo as Li, memo as PW, useTransition as Hse } from "react";
|
|
4
4
|
import { createRoot as Wse } from "react-dom/client";
|
|
5
5
|
import { jsxs as kt, jsx as Se, Fragment as vd } from "react/jsx-runtime";
|
|
6
6
|
import { createPortal as Mb, flushSync as qse } from "react-dom";
|
|
@@ -19535,7 +19535,7 @@ c3.exports;
|
|
|
19535
19535
|
this.set(Wt[0], Wt[1]);
|
|
19536
19536
|
}
|
|
19537
19537
|
}
|
|
19538
|
-
function
|
|
19538
|
+
function zi() {
|
|
19539
19539
|
this.__data__ = [], this.size = 0;
|
|
19540
19540
|
}
|
|
19541
19541
|
function Fo(be) {
|
|
@@ -19556,7 +19556,7 @@ c3.exports;
|
|
|
19556
19556
|
var mt = this.__data__, Wt = Ae(mt, be);
|
|
19557
19557
|
return Wt < 0 ? (++this.size, mt.push([be, ze])) : mt[Wt][1] = ze, this;
|
|
19558
19558
|
}
|
|
19559
|
-
or.prototype.clear =
|
|
19559
|
+
or.prototype.clear = zi, or.prototype.delete = Fo, or.prototype.get = ka, or.prototype.has = wo, or.prototype.set = Zn;
|
|
19560
19560
|
function So(be) {
|
|
19561
19561
|
var ze = -1, mt = be == null ? 0 : be.length;
|
|
19562
19562
|
for (this.clear(); ++ze < mt; ) {
|
|
@@ -19627,7 +19627,7 @@ c3.exports;
|
|
|
19627
19627
|
}
|
|
19628
19628
|
oe.prototype.clear = Ee, oe.prototype.delete = Xe, oe.prototype.get = We, oe.prototype.has = j, oe.prototype.set = Y;
|
|
19629
19629
|
function me(be, ze) {
|
|
19630
|
-
var mt = de(be), Wt = !mt && ye(be), Gn = !mt && !Wt && Ye(be), wr = !mt && !Wt && !Gn &&
|
|
19630
|
+
var mt = de(be), Wt = !mt && ye(be), Gn = !mt && !Wt && Ye(be), wr = !mt && !Wt && !Gn && Vi(be), ai = mt || Wt || Gn || wr, Di = ai ? Fe(be.length, String) : [], Ji = Di.length;
|
|
19631
19631
|
for (var ar in be)
|
|
19632
19632
|
(ze || zt.call(be, ar)) && !(ai && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
19633
19633
|
(ar == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -19665,7 +19665,7 @@ c3.exports;
|
|
|
19665
19665
|
ai = !0, Ao = !1;
|
|
19666
19666
|
}
|
|
19667
19667
|
if (oo && !Ao)
|
|
19668
|
-
return wr || (wr = new oe()), ai ||
|
|
19668
|
+
return wr || (wr = new oe()), ai || Vi(be) ? el(be, ze, mt, Wt, Gn, wr) : I0(be, ze, Ji, mt, Wt, Gn, wr);
|
|
19669
19669
|
if (!(mt & i)) {
|
|
19670
19670
|
var la = Ao && zt.call(be, "__wrapped__"), gr = Po && zt.call(ze, "__wrapped__");
|
|
19671
19671
|
if (la || gr) {
|
|
@@ -19895,7 +19895,7 @@ c3.exports;
|
|
|
19895
19895
|
function Es(be) {
|
|
19896
19896
|
return be != null && typeof be == "object";
|
|
19897
19897
|
}
|
|
19898
|
-
var
|
|
19898
|
+
var Vi = _e ? Ve(_e) : Or;
|
|
19899
19899
|
function $s(be) {
|
|
19900
19900
|
return Qe(be) ? me(be) : Id(be);
|
|
19901
19901
|
}
|
|
@@ -23630,7 +23630,7 @@ This software includes loglevel under the following license.
|
|
|
23630
23630
|
return ge;
|
|
23631
23631
|
}
|
|
23632
23632
|
function or(ge) {
|
|
23633
|
-
var we =
|
|
23633
|
+
var we = zi();
|
|
23634
23634
|
return function() {
|
|
23635
23635
|
var ee = C.default(ge), Z;
|
|
23636
23636
|
if (we) {
|
|
@@ -23641,7 +23641,7 @@ This software includes loglevel under the following license.
|
|
|
23641
23641
|
return k.default(this, Z);
|
|
23642
23642
|
};
|
|
23643
23643
|
}
|
|
23644
|
-
function
|
|
23644
|
+
function zi() {
|
|
23645
23645
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
23646
23646
|
return !1;
|
|
23647
23647
|
if (typeof Proxy == "function")
|
|
@@ -24256,12 +24256,12 @@ This software includes loglevel under the following license.
|
|
|
24256
24256
|
osv: (Qe = (Ye = R.os) === null || Ye === void 0 ? void 0 : Ye.version) !== null && Qe !== void 0 ? Qe : "unknown",
|
|
24257
24257
|
osa: (_t = (Ot = R.os) === null || Ot === void 0 ? void 0 : Ot.architecture) !== null && _t !== void 0 ? _t : "unknown",
|
|
24258
24258
|
sdk: "js-default"
|
|
24259
|
-
},
|
|
24259
|
+
}, Vi = {};
|
|
24260
24260
|
return $o.filter(function($s) {
|
|
24261
24261
|
return $s in rr || $s in Es;
|
|
24262
24262
|
}).forEach(function($s) {
|
|
24263
|
-
return
|
|
24264
|
-
}),
|
|
24263
|
+
return Vi[$s] = $s in rr ? rr[$s] : Es[$s];
|
|
24264
|
+
}), Vi;
|
|
24265
24265
|
}
|
|
24266
24266
|
}]), ge;
|
|
24267
24267
|
}(), Ar = 3e4;
|
|
@@ -24804,9 +24804,9 @@ This software includes loglevel under the following license.
|
|
|
24804
24804
|
value: function() {
|
|
24805
24805
|
var we = _.default(/* @__PURE__ */ F.default.mark(function ee(Z) {
|
|
24806
24806
|
var ye, de, Qe, Ye, _t, Ot, rr, $o;
|
|
24807
|
-
return F.default.wrap(function(
|
|
24807
|
+
return F.default.wrap(function(Vi) {
|
|
24808
24808
|
for (; ; )
|
|
24809
|
-
switch (
|
|
24809
|
+
switch (Vi.prev = Vi.next) {
|
|
24810
24810
|
case 0:
|
|
24811
24811
|
return de = Z.to, Qe = Z.headers, Ye = Z.body, _t = (ye = Z.grant) !== null && ye !== void 0 ? ye : this.config.activeGrant, Ot = {
|
|
24812
24812
|
host: de.host,
|
|
@@ -24814,22 +24814,22 @@ This software includes loglevel under the following license.
|
|
|
24814
24814
|
method: de.method,
|
|
24815
24815
|
params: de.params,
|
|
24816
24816
|
headers: Qe
|
|
24817
|
-
}, rr = new Je(_t, Qe["Content-Type"] || "application/json", Ot), xe.trace("Sending upstream message", rr),
|
|
24817
|
+
}, rr = new Je(_t, Qe["Content-Type"] || "application/json", Ot), xe.trace("Sending upstream message", rr), Vi.next = 9, this.transport.sendWithReply(rr, Ye);
|
|
24818
24818
|
case 9:
|
|
24819
|
-
if ($o =
|
|
24820
|
-
|
|
24819
|
+
if ($o = Vi.sent, xe.trace("Received upstream message response", $o), !(jr($o) && !lr($o.header.http_status.code))) {
|
|
24820
|
+
Vi.next = 13;
|
|
24821
24821
|
break;
|
|
24822
24822
|
}
|
|
24823
24823
|
throw new me($o.header.http_status.code, $o.header.http_status.status, $o.body);
|
|
24824
24824
|
case 13:
|
|
24825
|
-
return
|
|
24825
|
+
return Vi.abrupt("return", {
|
|
24826
24826
|
status: $o.header.http_status,
|
|
24827
24827
|
headers: $o.header.http_headers,
|
|
24828
24828
|
body: $o.body
|
|
24829
24829
|
});
|
|
24830
24830
|
case 14:
|
|
24831
24831
|
case "end":
|
|
24832
|
-
return
|
|
24832
|
+
return Vi.stop();
|
|
24833
24833
|
}
|
|
24834
24834
|
}, ee, this);
|
|
24835
24835
|
}));
|
|
@@ -27293,7 +27293,7 @@ function sI(e) {
|
|
|
27293
27293
|
}
|
|
27294
27294
|
}), t.default = e, Object.freeze(t);
|
|
27295
27295
|
}
|
|
27296
|
-
var $t = /* @__PURE__ */ za(HDe), Wr = /* @__PURE__ */ za(WDe), ln = /* @__PURE__ */ za(qDe), Rc = /* @__PURE__ */ za(GDe), ua = /* @__PURE__ */ za(KDe), $d = /* @__PURE__ */ za(YDe),
|
|
27296
|
+
var $t = /* @__PURE__ */ za(HDe), Wr = /* @__PURE__ */ za(WDe), ln = /* @__PURE__ */ za(qDe), Rc = /* @__PURE__ */ za(GDe), ua = /* @__PURE__ */ za(KDe), $d = /* @__PURE__ */ za(YDe), Ui = /* @__PURE__ */ za(XDe), Sn = /* @__PURE__ */ za(JDe), je = /* @__PURE__ */ za(QDe), PZ = /* @__PURE__ */ za(ZDe), oMe = /* @__PURE__ */ za(eMe), aMe = /* @__PURE__ */ sI(tMe), NZ = /* @__PURE__ */ za(rMe), sMe = /* @__PURE__ */ sI(AZ), Cg = /* @__PURE__ */ za(nMe), Ky = /* @__PURE__ */ sI(iMe);
|
|
27297
27297
|
function Qr(e, t, r, n) {
|
|
27298
27298
|
var i = arguments.length, o = i < 3 ? t : n === null ? n = Object.getOwnPropertyDescriptor(t, r) : n, a;
|
|
27299
27299
|
if ((typeof Reflect > "u" ? "undefined" : PZ.default(Reflect)) === "object" && typeof Reflect.decorate == "function")
|
|
@@ -27565,9 +27565,9 @@ var fm = /* @__PURE__ */ function() {
|
|
|
27565
27565
|
function UZ(e) {
|
|
27566
27566
|
var t = gMe();
|
|
27567
27567
|
return function() {
|
|
27568
|
-
var n =
|
|
27568
|
+
var n = Ui.default(e), i;
|
|
27569
27569
|
if (t) {
|
|
27570
|
-
var o =
|
|
27570
|
+
var o = Ui.default(this).constructor;
|
|
27571
27571
|
i = Reflect.construct(n, arguments, o);
|
|
27572
27572
|
} else
|
|
27573
27573
|
i = n.apply(this, arguments);
|
|
@@ -28614,9 +28614,9 @@ var Ag = /* @__PURE__ */ function() {
|
|
|
28614
28614
|
function UMe(e) {
|
|
28615
28615
|
var t = FMe();
|
|
28616
28616
|
return function() {
|
|
28617
|
-
var n =
|
|
28617
|
+
var n = Ui.default(e), i;
|
|
28618
28618
|
if (t) {
|
|
28619
|
-
var o =
|
|
28619
|
+
var o = Ui.default(this).constructor;
|
|
28620
28620
|
i = Reflect.construct(n, arguments, o);
|
|
28621
28621
|
} else
|
|
28622
28622
|
i = n.apply(this, arguments);
|
|
@@ -28663,9 +28663,9 @@ var Pg = /* @__PURE__ */ function(e) {
|
|
|
28663
28663
|
function VZ(e) {
|
|
28664
28664
|
var t = BMe();
|
|
28665
28665
|
return function() {
|
|
28666
|
-
var n =
|
|
28666
|
+
var n = Ui.default(e), i;
|
|
28667
28667
|
if (t) {
|
|
28668
|
-
var o =
|
|
28668
|
+
var o = Ui.default(this).constructor;
|
|
28669
28669
|
i = Reflect.construct(n, arguments, o);
|
|
28670
28670
|
} else
|
|
28671
28671
|
i = n.apply(this, arguments);
|
|
@@ -29376,7 +29376,7 @@ var eE = /* @__PURE__ */ function(e) {
|
|
|
29376
29376
|
}, {
|
|
29377
29377
|
key: "close",
|
|
29378
29378
|
value: function() {
|
|
29379
|
-
Cg.default(
|
|
29379
|
+
Cg.default(Ui.default(r.prototype), "close", this).call(this), this.syncDocumentImpl.detach(this.listenerUuid);
|
|
29380
29380
|
}
|
|
29381
29381
|
}], [{
|
|
29382
29382
|
key: "type",
|
|
@@ -30070,9 +30070,9 @@ var KMe = /* @__PURE__ */ function() {
|
|
|
30070
30070
|
function HZ(e) {
|
|
30071
30071
|
var t = XMe();
|
|
30072
30072
|
return function() {
|
|
30073
|
-
var n =
|
|
30073
|
+
var n = Ui.default(e), i;
|
|
30074
30074
|
if (t) {
|
|
30075
|
-
var o =
|
|
30075
|
+
var o = Ui.default(this).constructor;
|
|
30076
30076
|
i = Reflect.construct(n, arguments, o);
|
|
30077
30077
|
} else
|
|
30078
30078
|
i = n.apply(this, arguments);
|
|
@@ -31214,7 +31214,7 @@ var rE = /* @__PURE__ */ function(e) {
|
|
|
31214
31214
|
}, {
|
|
31215
31215
|
key: "close",
|
|
31216
31216
|
value: function() {
|
|
31217
|
-
Cg.default(
|
|
31217
|
+
Cg.default(Ui.default(r.prototype), "close", this).call(this), this.syncListImpl.detach(this.listenerUuid);
|
|
31218
31218
|
}
|
|
31219
31219
|
}], [{
|
|
31220
31220
|
key: "type",
|
|
@@ -31318,9 +31318,9 @@ var p1 = /* @__PURE__ */ function() {
|
|
|
31318
31318
|
function WZ(e) {
|
|
31319
31319
|
var t = JMe();
|
|
31320
31320
|
return function() {
|
|
31321
|
-
var n =
|
|
31321
|
+
var n = Ui.default(e), i;
|
|
31322
31322
|
if (t) {
|
|
31323
|
-
var o =
|
|
31323
|
+
var o = Ui.default(this).constructor;
|
|
31324
31324
|
i = Reflect.construct(n, arguments, o);
|
|
31325
31325
|
} else
|
|
31326
31326
|
i = n.apply(this, arguments);
|
|
@@ -32338,7 +32338,7 @@ var nE = /* @__PURE__ */ function(e) {
|
|
|
32338
32338
|
}, {
|
|
32339
32339
|
key: "close",
|
|
32340
32340
|
value: function() {
|
|
32341
|
-
Cg.default(
|
|
32341
|
+
Cg.default(Ui.default(r.prototype), "close", this).call(this), this.syncMapImpl.detach(this.listenerUuid);
|
|
32342
32342
|
}
|
|
32343
32343
|
}], [{
|
|
32344
32344
|
key: "type",
|
|
@@ -32373,9 +32373,9 @@ Qr([gt.validateTypesAsync("string", gt.nonNegativeInteger), bt("design:type", Fu
|
|
|
32373
32373
|
function qZ(e) {
|
|
32374
32374
|
var t = QMe();
|
|
32375
32375
|
return function() {
|
|
32376
|
-
var n =
|
|
32376
|
+
var n = Ui.default(e), i;
|
|
32377
32377
|
if (t) {
|
|
32378
|
-
var o =
|
|
32378
|
+
var o = Ui.default(this).constructor;
|
|
32379
32379
|
i = Reflect.construct(n, arguments, o);
|
|
32380
32380
|
} else
|
|
32381
32381
|
i = n.apply(this, arguments);
|
|
@@ -32738,7 +32738,7 @@ var wc = /* @__PURE__ */ function(e) {
|
|
|
32738
32738
|
}, {
|
|
32739
32739
|
key: "close",
|
|
32740
32740
|
value: function() {
|
|
32741
|
-
Cg.default(
|
|
32741
|
+
Cg.default(Ui.default(r.prototype), "close", this).call(this), this.syncStreamImpl.detach(this.listenerUuid);
|
|
32742
32742
|
}
|
|
32743
32743
|
}], [{
|
|
32744
32744
|
key: "type",
|
|
@@ -32785,9 +32785,9 @@ var ZMe = function e(t) {
|
|
|
32785
32785
|
function dI(e) {
|
|
32786
32786
|
var t = tje();
|
|
32787
32787
|
return function() {
|
|
32788
|
-
var n =
|
|
32788
|
+
var n = Ui.default(e), i;
|
|
32789
32789
|
if (t) {
|
|
32790
|
-
var o =
|
|
32790
|
+
var o = Ui.default(this).constructor;
|
|
32791
32791
|
i = Reflect.construct(n, arguments, o);
|
|
32792
32792
|
} else
|
|
32793
32793
|
i = n.apply(this, arguments);
|
|
@@ -33018,7 +33018,7 @@ var du = /* @__PURE__ */ function(e) {
|
|
|
33018
33018
|
* This will eventually stop the physical inflow of updates over the network, when all other instances of this query are closed as well.
|
|
33019
33019
|
*/
|
|
33020
33020
|
function() {
|
|
33021
|
-
Cg.default(
|
|
33021
|
+
Cg.default(Ui.default(r.prototype), "close", this).call(this), this.liveQueryImpl.detach(this.listenerUuid);
|
|
33022
33022
|
}
|
|
33023
33023
|
)
|
|
33024
33024
|
/**
|
|
@@ -33164,9 +33164,9 @@ var nje = "3.1.0";
|
|
|
33164
33164
|
function ije(e) {
|
|
33165
33165
|
var t = oje();
|
|
33166
33166
|
return function() {
|
|
33167
|
-
var n =
|
|
33167
|
+
var n = Ui.default(e), i;
|
|
33168
33168
|
if (t) {
|
|
33169
|
-
var o =
|
|
33169
|
+
var o = Ui.default(this).constructor;
|
|
33170
33170
|
i = Reflect.construct(n, arguments, o);
|
|
33171
33171
|
} else
|
|
33172
33172
|
i = n.apply(this, arguments);
|
|
@@ -35521,10 +35521,10 @@ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
35521
35521
|
`, 2).length === 1)
|
|
35522
35522
|
Ni = Yt;
|
|
35523
35523
|
else {
|
|
35524
|
-
var or,
|
|
35524
|
+
var or, zi = (or = Yt.replace(/<.*?>/g, "").split(/\r\n/g).filter(function(ka) {
|
|
35525
35525
|
return ka.length;
|
|
35526
35526
|
})[0]) === null || or === void 0 ? void 0 : or.split(" ");
|
|
35527
|
-
Ni = (
|
|
35527
|
+
Ni = (zi == null ? void 0 : zi.length) > 2 ? zi == null ? void 0 : zi.slice(1).join(" ") : "";
|
|
35528
35528
|
}
|
|
35529
35529
|
else
|
|
35530
35530
|
Ni = JSON.stringify(Yt);
|
|
@@ -38301,7 +38301,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
38301
38301
|
return te;
|
|
38302
38302
|
}
|
|
38303
38303
|
function or(te) {
|
|
38304
|
-
var ae =
|
|
38304
|
+
var ae = zi();
|
|
38305
38305
|
return function() {
|
|
38306
38306
|
var D = J.default(te), A;
|
|
38307
38307
|
if (ae) {
|
|
@@ -38312,7 +38312,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
38312
38312
|
return re.default(this, A);
|
|
38313
38313
|
};
|
|
38314
38314
|
}
|
|
38315
|
-
function
|
|
38315
|
+
function zi() {
|
|
38316
38316
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
38317
38317
|
return !1;
|
|
38318
38318
|
if (typeof Proxy == "function")
|
|
@@ -42162,7 +42162,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
42162
42162
|
}()
|
|
42163
42163
|
}]), te;
|
|
42164
42164
|
}();
|
|
42165
|
-
function
|
|
42165
|
+
function Vi(te, ae) {
|
|
42166
42166
|
var H = typeof Symbol < "u" && te[Symbol.iterator] || te["@@iterator"];
|
|
42167
42167
|
if (!H) {
|
|
42168
42168
|
if (Array.isArray(te) || (H = $s(te)) || ae && te && typeof te.length == "number") {
|
|
@@ -42224,7 +42224,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
42224
42224
|
value: function(D, A) {
|
|
42225
42225
|
if (this.cache.set(D, A), this._size++, this._size >= this.maxSize) {
|
|
42226
42226
|
if (this._size = 0, typeof this.onEviction == "function") {
|
|
42227
|
-
var W =
|
|
42227
|
+
var W = Vi(this.oldCache.entries()), z;
|
|
42228
42228
|
try {
|
|
42229
42229
|
for (W.s(); !(z = W.n()).done; ) {
|
|
42230
42230
|
var B = x.default(z.value, 2), V = B[0], q = B[1];
|
|
@@ -42286,7 +42286,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
42286
42286
|
for (; ; )
|
|
42287
42287
|
switch (V.prev = V.next) {
|
|
42288
42288
|
case 0:
|
|
42289
|
-
D =
|
|
42289
|
+
D = Vi(this), V.prev = 1, D.s();
|
|
42290
42290
|
case 3:
|
|
42291
42291
|
if ((A = D.n()).done) {
|
|
42292
42292
|
V.next = 9;
|
|
@@ -42317,7 +42317,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
42317
42317
|
for (; ; )
|
|
42318
42318
|
switch (V.prev = V.next) {
|
|
42319
42319
|
case 0:
|
|
42320
|
-
D =
|
|
42320
|
+
D = Vi(this), V.prev = 1, D.s();
|
|
42321
42321
|
case 3:
|
|
42322
42322
|
if ((A = D.n()).done) {
|
|
42323
42323
|
V.next = 9;
|
|
@@ -42348,7 +42348,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
42348
42348
|
for (; ; )
|
|
42349
42349
|
switch (Te.prev = Te.next) {
|
|
42350
42350
|
case 0:
|
|
42351
|
-
D =
|
|
42351
|
+
D = Vi(this.cache), Te.prev = 1, D.s();
|
|
42352
42352
|
case 3:
|
|
42353
42353
|
if ((A = D.n()).done) {
|
|
42354
42354
|
Te.next = 9;
|
|
@@ -42366,7 +42366,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
42366
42366
|
case 14:
|
|
42367
42367
|
return Te.prev = 14, D.f(), Te.finish(14);
|
|
42368
42368
|
case 17:
|
|
42369
|
-
z =
|
|
42369
|
+
z = Vi(this.oldCache), Te.prev = 18, z.s();
|
|
42370
42370
|
case 20:
|
|
42371
42371
|
if ((B = z.n()).done) {
|
|
42372
42372
|
Te.next = 28;
|
|
@@ -42396,7 +42396,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
42396
42396
|
}, {
|
|
42397
42397
|
key: "size",
|
|
42398
42398
|
get: function() {
|
|
42399
|
-
var D = 0, A =
|
|
42399
|
+
var D = 0, A = Vi(this.oldCache.keys()), W;
|
|
42400
42400
|
try {
|
|
42401
42401
|
for (A.s(); !(W = A.n()).done; ) {
|
|
42402
42402
|
var z = W.value;
|
|
@@ -50633,12 +50633,12 @@ var Hte = { exports: {} }, Wte = { exports: {} };
|
|
|
50633
50633
|
function or(j) {
|
|
50634
50634
|
for (var Y = j.g.toString(), me = j.j.length, Ae = 0; Ae < me; ++Ae) {
|
|
50635
50635
|
var qe = j.j[Ae], tt = y(qe, 1);
|
|
50636
|
-
if (new RegExp("^(?:" + tt + ")$").test(Y) && (j.ha = Kt.test(m(qe, 4)), ct(qe =
|
|
50636
|
+
if (new RegExp("^(?:" + tt + ")$").test(Y) && (j.ha = Kt.test(m(qe, 4)), ct(qe = zi(j, qe = Y.replace(new RegExp(tt, "g"), m(qe, 2))), ce) == j.ba))
|
|
50637
50637
|
return qe;
|
|
50638
50638
|
}
|
|
50639
50639
|
return "";
|
|
50640
50640
|
}
|
|
50641
|
-
function
|
|
50641
|
+
function zi(j, Y) {
|
|
50642
50642
|
var me = j.h.h.length;
|
|
50643
50643
|
return j.ha && 0 < me && j.h.toString().charAt(me - 1) != " " ? j.h + " " + Y : j.h + Y;
|
|
50644
50644
|
}
|
|
@@ -50651,14 +50651,14 @@ var Hte = { exports: {} }, Wte = { exports: {} };
|
|
|
50651
50651
|
}
|
|
50652
50652
|
return oi(j, Y), 0 < (Y = or(j)).length ? Y : nr(j) ? ka(j) : j.u.toString();
|
|
50653
50653
|
}
|
|
50654
|
-
return
|
|
50654
|
+
return zi(j, Y);
|
|
50655
50655
|
}
|
|
50656
50656
|
function ka(j) {
|
|
50657
50657
|
var Y = j.g.toString(), me = Y.length;
|
|
50658
50658
|
if (0 < me) {
|
|
50659
50659
|
for (var Ae = "", qe = 0; qe < me; qe++)
|
|
50660
50660
|
Ae = er(j, Y.charAt(qe));
|
|
50661
|
-
return j.v ?
|
|
50661
|
+
return j.v ? zi(j, Ae) : j.u.toString();
|
|
50662
50662
|
}
|
|
50663
50663
|
return j.h.toString();
|
|
50664
50664
|
}
|
|
@@ -50916,7 +50916,7 @@ var Hte = { exports: {} }, Wte = { exports: {} };
|
|
|
50916
50916
|
return me.s = wo(me), Fo(me);
|
|
50917
50917
|
me.ea = !0;
|
|
50918
50918
|
default:
|
|
50919
|
-
return me.ea ? (So(me) && (me.ea = !1), me.h.toString() + me.g.toString()) : 0 < me.j.length ? (Ae = er(me, Ae), 0 < (qe = or(me)).length ? qe : (oi(me, me.g.toString()), nr(me) ? ka(me) : me.v ?
|
|
50919
|
+
return me.ea ? (So(me) && (me.ea = !1), me.h.toString() + me.g.toString()) : 0 < me.j.length ? (Ae = er(me, Ae), 0 < (qe = or(me)).length ? qe : (oi(me, me.g.toString()), nr(me) ? ka(me) : me.v ? zi(me, Ae) : me.u.toString())) : Fo(me);
|
|
50920
50920
|
}
|
|
50921
50921
|
}(Y, j), this.l = Y.la;
|
|
50922
50922
|
}, We.prototype.addChar = We.prototype.qa, We.prototype.za = function() {
|
|
@@ -54802,7 +54802,7 @@ const hre = () => kt("svg", { width: "24", height: "24", viewBox: "0 0 24 24", f
|
|
|
54802
54802
|
};
|
|
54803
54803
|
}, []), kt("div", { ref: o, className: "myinterview-chatbot-tabs", style: { "--myinterview-chatbot-tabs-gap": `${n}px` }, children: [Se("div", { className: "myinterview-chatbot-tabs__list", children: e.map((s) => Se(En, { size: r, className: kr("myinterview-chatbot-tabs__item", { "myinterview-chatbot-tabs__item--selected": s.id === t }), onClick: () => i(s.id), children: s.name }, s.id)) }), Se("div", { className: "myinterview-chatbot-tabs__base-line", children: Se("span", { className: "myinterview-chatbot-tabs__indicator" }) })] });
|
|
54804
54804
|
}, MWe = ({ isCloseable: e, currentTabId: t, onSelectTab: r, onClose: n }) => kt("div", { className: "myinterview-chatbot-inbox-header", children: [kt("div", { className: "myinterview-chatbot-inbox-header__main myinterview-chatbot-no-select", children: [Se("div", { className: "myinterview-chatbot-inbox-header__title-wrapper", children: Se(En, { className: "myinterview-chatbot-inbox-header__title", size: "H4", children: "Conversations" }) }), Se(mre, { tabs: fVe, currentTabId: t, onSelectTab: r })] }), e && Se(ap, { onClick: n, classNames: "myinterview-chatbot-inbox-header__close-button" })] }), cF = ["#9ee0e8", "#5ed1bd", "#58abff", "#8bddff", "#d8b5df", "#45bdca", "#5aa4f5"], jWe = ({ name: e, color: t }) => {
|
|
54805
|
-
const r = e.split(" ").map((i) => i[0]).slice(0, 2).join("").toUpperCase(), n =
|
|
54805
|
+
const r = e.split(" ").map((i) => i[0]).slice(0, 2).join("").toUpperCase(), n = Li(() => t || cF[Math.floor(Math.random() * cF.length)], [t]);
|
|
54806
54806
|
return Se("div", { className: "myinterview-chatbot-acronyms-thumbnail", style: { backgroundColor: n }, children: Se(En, { color: "white", children: r }) });
|
|
54807
54807
|
}, dw = ({ src: e, name: t, color: r, size: n }) => {
|
|
54808
54808
|
const i = n ? `${n}px` : "100%", a = kr("myinterview-chatbot-thumbnail", {
|
|
@@ -55394,7 +55394,7 @@ class Un {
|
|
|
55394
55394
|
);
|
|
55395
55395
|
}
|
|
55396
55396
|
static create(t, r, n, i, o = !1) {
|
|
55397
|
-
const a = t ||
|
|
55397
|
+
const a = t || ji.defaultLocale, s = a || (o ? "en-US" : XWe()), c = r || ji.defaultNumberingSystem, u = n || ji.defaultOutputCalendar, l = ZE(i) || ji.defaultWeekSettings;
|
|
55398
55398
|
return new Un(s, c, u, l, a);
|
|
55399
55399
|
}
|
|
55400
55400
|
static resetCache() {
|
|
@@ -55623,7 +55623,7 @@ function Tl(e, t) {
|
|
|
55623
55623
|
return wf(e) ? na.instance(e) : typeof e == "object" && "offset" in e && typeof e.offset == "function" ? e : new sqe(e);
|
|
55624
55624
|
}
|
|
55625
55625
|
let dF = () => Date.now(), fF = "system", pF = null, hF = null, mF = null, vF = 60, gF, yF = null;
|
|
55626
|
-
class
|
|
55626
|
+
class ji {
|
|
55627
55627
|
/**
|
|
55628
55628
|
* Get the callback for returning the current timestamp.
|
|
55629
55629
|
* @type {function}
|
|
@@ -55962,7 +55962,7 @@ function xv(e, t = 4, r = 1) {
|
|
|
55962
55962
|
return (Uh(e) - n + i) / 7;
|
|
55963
55963
|
}
|
|
55964
55964
|
function e$(e) {
|
|
55965
|
-
return e > 99 ? e : e >
|
|
55965
|
+
return e > 99 ? e : e > ji.twoDigitCutoffYear ? 1900 + e : 2e3 + e;
|
|
55966
55966
|
}
|
|
55967
55967
|
function qre(e, t, r, n = null) {
|
|
55968
55968
|
const i = new Date(e), o = {
|
|
@@ -56810,7 +56810,7 @@ class en {
|
|
|
56810
56810
|
if (!t)
|
|
56811
56811
|
throw new ga("need to specify a reason the Duration is invalid");
|
|
56812
56812
|
const n = t instanceof Ws ? t : new Ws(t, r);
|
|
56813
|
-
if (
|
|
56813
|
+
if (ji.throwOnInvalid)
|
|
56814
56814
|
throw new FWe(n);
|
|
56815
56815
|
return new en({ invalid: n });
|
|
56816
56816
|
}
|
|
@@ -57305,7 +57305,7 @@ class Ii {
|
|
|
57305
57305
|
if (!t)
|
|
57306
57306
|
throw new ga("need to specify a reason the Interval is invalid");
|
|
57307
57307
|
const n = t instanceof Ws ? t : new Ws(t, r);
|
|
57308
|
-
if (
|
|
57308
|
+
if (ji.throwOnInvalid)
|
|
57309
57309
|
throw new UWe(n);
|
|
57310
57310
|
return new Ii({ invalid: n });
|
|
57311
57311
|
}
|
|
@@ -57747,7 +57747,7 @@ class v2 {
|
|
|
57747
57747
|
* @param {string|Zone} [zone='local'] - Zone to check. Defaults to the environment's local zone.
|
|
57748
57748
|
* @return {boolean}
|
|
57749
57749
|
*/
|
|
57750
|
-
static hasDST(t =
|
|
57750
|
+
static hasDST(t = ji.defaultZone) {
|
|
57751
57751
|
const r = cr.now().setZone(t).set({ month: 12 });
|
|
57752
57752
|
return !t.isUniversal && r.offset !== r.set({ month: 6 }).offset;
|
|
57753
57753
|
}
|
|
@@ -57774,7 +57774,7 @@ class v2 {
|
|
|
57774
57774
|
* @return {Zone}
|
|
57775
57775
|
*/
|
|
57776
57776
|
static normalizeZone(t) {
|
|
57777
|
-
return Tl(t,
|
|
57777
|
+
return Tl(t, ji.defaultZone);
|
|
57778
57778
|
}
|
|
57779
57779
|
/**
|
|
57780
57780
|
* Get the weekday on which the week starts according to the given locale.
|
|
@@ -58474,7 +58474,7 @@ function DF(e) {
|
|
|
58474
58474
|
}
|
|
58475
58475
|
}
|
|
58476
58476
|
function MF(e, t) {
|
|
58477
|
-
const r = Tl(t.zone,
|
|
58477
|
+
const r = Tl(t.zone, ji.defaultZone), n = Un.fromObject(t), i = ji.now();
|
|
58478
58478
|
let o, a;
|
|
58479
58479
|
if (Sr(e.year))
|
|
58480
58480
|
o = i;
|
|
@@ -58509,9 +58509,9 @@ class cr {
|
|
|
58509
58509
|
* @access private
|
|
58510
58510
|
*/
|
|
58511
58511
|
constructor(t) {
|
|
58512
|
-
const r = t.zone ||
|
|
58512
|
+
const r = t.zone || ji.defaultZone;
|
|
58513
58513
|
let n = t.invalid || (Number.isNaN(t.ts) ? new Ws("invalid input") : null) || (r.isValid ? null : y2(r));
|
|
58514
|
-
this.ts = Sr(t.ts) ?
|
|
58514
|
+
this.ts = Sr(t.ts) ? ji.now() : t.ts;
|
|
58515
58515
|
let i = null, o = null;
|
|
58516
58516
|
if (!n)
|
|
58517
58517
|
if (t.old && t.old.ts === this.ts && t.old.zone.equals(r))
|
|
@@ -58597,7 +58597,7 @@ class cr {
|
|
|
58597
58597
|
const n = dqe(t) ? t.valueOf() : NaN;
|
|
58598
58598
|
if (Number.isNaN(n))
|
|
58599
58599
|
return cr.invalid("invalid input");
|
|
58600
|
-
const i = Tl(r.zone,
|
|
58600
|
+
const i = Tl(r.zone, ji.defaultZone);
|
|
58601
58601
|
return i.isValid ? new cr({
|
|
58602
58602
|
ts: n,
|
|
58603
58603
|
zone: i,
|
|
@@ -58618,7 +58618,7 @@ class cr {
|
|
|
58618
58618
|
if (wf(t))
|
|
58619
58619
|
return t < -AF || t > AF ? cr.invalid("Timestamp out of range") : new cr({
|
|
58620
58620
|
ts: t,
|
|
58621
|
-
zone: Tl(r.zone,
|
|
58621
|
+
zone: Tl(r.zone, ji.defaultZone),
|
|
58622
58622
|
loc: Un.fromObject(r)
|
|
58623
58623
|
});
|
|
58624
58624
|
throw new ga(
|
|
@@ -58639,7 +58639,7 @@ class cr {
|
|
|
58639
58639
|
if (wf(t))
|
|
58640
58640
|
return new cr({
|
|
58641
58641
|
ts: t * 1e3,
|
|
58642
|
-
zone: Tl(r.zone,
|
|
58642
|
+
zone: Tl(r.zone, ji.defaultZone),
|
|
58643
58643
|
loc: Un.fromObject(r)
|
|
58644
58644
|
});
|
|
58645
58645
|
throw new ga("fromSeconds requires a numerical input");
|
|
@@ -58678,10 +58678,10 @@ class cr {
|
|
|
58678
58678
|
*/
|
|
58679
58679
|
static fromObject(t, r = {}) {
|
|
58680
58680
|
t = t || {};
|
|
58681
|
-
const n = Tl(r.zone,
|
|
58681
|
+
const n = Tl(r.zone, ji.defaultZone);
|
|
58682
58682
|
if (!n.isValid)
|
|
58683
58683
|
return cr.invalid(y2(n));
|
|
58684
|
-
const i = Un.fromObject(r), o = B3(t, DF), { minDaysInFirstWeek: a, startOfWeek: s } = wF(o, i), c =
|
|
58684
|
+
const i = Un.fromObject(r), o = B3(t, DF), { minDaysInFirstWeek: a, startOfWeek: s } = wF(o, i), c = ji.now(), u = Sr(r.specificOffset) ? n.offset(c) : r.specificOffset, l = !Sr(o.ordinal), d = !Sr(o.year), f = !Sr(o.month) || !Sr(o.day), p = d || f, h = o.weekYear || o.weekNumber;
|
|
58685
58685
|
if ((p || l) && h)
|
|
58686
58686
|
throw new ph(
|
|
58687
58687
|
"Can't mix weekYear/weekNumber units with year/month/day or ordinals"
|
|
@@ -58830,7 +58830,7 @@ class cr {
|
|
|
58830
58830
|
if (!t)
|
|
58831
58831
|
throw new ga("need to specify a reason the DateTime is invalid");
|
|
58832
58832
|
const n = t instanceof Ws ? t : new Ws(t, r);
|
|
58833
|
-
if (
|
|
58833
|
+
if (ji.throwOnInvalid)
|
|
58834
58834
|
throw new LWe(n);
|
|
58835
58835
|
return new cr({ invalid: n });
|
|
58836
58836
|
}
|
|
@@ -59246,7 +59246,7 @@ class cr {
|
|
|
59246
59246
|
* @return {DateTime}
|
|
59247
59247
|
*/
|
|
59248
59248
|
toLocal() {
|
|
59249
|
-
return this.setZone(
|
|
59249
|
+
return this.setZone(ji.defaultZone);
|
|
59250
59250
|
}
|
|
59251
59251
|
/**
|
|
59252
59252
|
* "Set" the DateTime's zone to specified zone. Returns a newly-constructed DateTime.
|
|
@@ -59258,7 +59258,7 @@ class cr {
|
|
|
59258
59258
|
* @return {DateTime}
|
|
59259
59259
|
*/
|
|
59260
59260
|
setZone(t, { keepLocalTime: r = !1, keepCalendarTime: n = !1 } = {}) {
|
|
59261
|
-
if (t = Tl(t,
|
|
59261
|
+
if (t = Tl(t, ji.defaultZone), t.equals(this.zone))
|
|
59262
59262
|
return this;
|
|
59263
59263
|
if (t.isValid) {
|
|
59264
59264
|
let i = this.ts;
|
|
@@ -60035,10 +60035,10 @@ const jGe = (e) => Math.abs(Date.now() - e) < cVe, LGe = (e, t) => cr.fromMillis
|
|
|
60035
60035
|
}, []);
|
|
60036
60036
|
return kt("div", { className: "myinterview-chatbot-conversation-list myinterview-chatbot-no-select", children: [Se("div", { className: "myinterview-chatbot-conversation-list__wrapper", children: e.map((u) => Se(FGe, { conversation: u, lastMessageText: t.get(u.sid) ?? "", unreadMessages: r.get(u.sid) ?? 0, isSelected: o === u.sid, onSelectConversation: n }, u.sid)) }), Se("span", { ref: c })] });
|
|
60037
60037
|
}), yne = () => Se("div", { className: "myinterview-chatbot-not-found", children: Se(En, { size: "H5", className: "myinterview-chatbot-not-found__text", children: "Not Found" }) }), zGe = ({ conversations: e, onSelectConversation: t, isCloseable: r, onClose: n }) => {
|
|
60038
|
-
const [i, o] = St(_m.ALL), a = qr((p) => p.main.messages), s = qr((p) => p.chatbotConfig.validationStatus), [c, u] = St(/* @__PURE__ */ new Map()), l =
|
|
60038
|
+
const [i, o] = St(_m.ALL), a = qr((p) => p.main.messages), s = qr((p) => p.chatbotConfig.validationStatus), [c, u] = St(/* @__PURE__ */ new Map()), l = Li(() => new Map(e.map((p) => {
|
|
60039
60039
|
var h, m;
|
|
60040
60040
|
return [p.sid, ((m = (h = a[p.sid]) == null ? void 0 : h[0]) == null ? void 0 : m.body) || ""];
|
|
60041
|
-
})), [e, a]), d =
|
|
60041
|
+
})), [e, a]), d = Li(() => e.filter((p) => c.get(p.sid)), [e, c]);
|
|
60042
60042
|
At(() => {
|
|
60043
60043
|
e.length && Promise.all(e.map((p) => {
|
|
60044
60044
|
var h;
|
|
@@ -82449,7 +82449,7 @@ const QGe = 50, ZGe = () => {
|
|
|
82449
82449
|
}, [e]), At(() => (document.addEventListener("keydown", E), () => {
|
|
82450
82450
|
document.removeEventListener("keydown", E);
|
|
82451
82451
|
}), []);
|
|
82452
|
-
const w =
|
|
82452
|
+
const w = Li(() => Se("img", { className: "myinterview-chatbot-media-image__img", style: { ...c && f }, src: i || "", alt: t, onLoad: () => s(!1), onClick: g, onTransitionEnd: T, ...c && {
|
|
82453
82453
|
onTouchMove: S,
|
|
82454
82454
|
onTouchEnd: _
|
|
82455
82455
|
}, hidden: a, crossOrigin: r ? void 0 : "anonymous", role: "presentation" }), [t, i, a, f, c, g, T]);
|
|
@@ -82489,7 +82489,7 @@ const QGe = 50, ZGe = () => {
|
|
|
82489
82489
|
At(() => {
|
|
82490
82490
|
e && eVe(e.sid || "").getContentTemporaryUrl().then(o);
|
|
82491
82491
|
}, [e]);
|
|
82492
|
-
const a =
|
|
82492
|
+
const a = Li(() => {
|
|
82493
82493
|
if (!e)
|
|
82494
82494
|
return Se("span", { hidden: !0 });
|
|
82495
82495
|
const s = _Ke[GI(e.contentType)] ?? yKe;
|
|
@@ -86019,7 +86019,7 @@ var rie = { exports: {} }, cz = { exports: {} };
|
|
|
86019
86019
|
}
|
|
86020
86020
|
return K.h.toString();
|
|
86021
86021
|
}
|
|
86022
|
-
function
|
|
86022
|
+
function zi(K) {
|
|
86023
86023
|
var oe = K.g.toString(), Ee = 0;
|
|
86024
86024
|
if (K.l.ha() != 1)
|
|
86025
86025
|
var Xe = !1;
|
|
@@ -86245,7 +86245,7 @@ var rie = { exports: {} }, cz = { exports: {} };
|
|
|
86245
86245
|
if (Fo(Ee)) {
|
|
86246
86246
|
if (ka(Ee))
|
|
86247
86247
|
return Yt(Ee);
|
|
86248
|
-
} else if (0 < Ee.o.length && (Xe = Ee.g.toString(), k(Ee.g), Ee.g.g(Ee.o), Ee.g.g(Xe), We = (Xe = Ee.h.toString()).lastIndexOf(Ee.o), k(Ee.h), Ee.h.g(Xe.substring(0, We))), Ee.o !=
|
|
86248
|
+
} else if (0 < Ee.o.length && (Xe = Ee.g.toString(), k(Ee.g), Ee.g.g(Ee.o), Ee.g.g(Xe), We = (Xe = Ee.h.toString()).lastIndexOf(Ee.o), k(Ee.h), Ee.h.g(Xe.substring(0, We))), Ee.o != zi(Ee))
|
|
86249
86249
|
return Ee.h.g(" "), Yt(Ee);
|
|
86250
86250
|
}
|
|
86251
86251
|
return Ee.s.toString();
|
|
@@ -86257,7 +86257,7 @@ var rie = { exports: {} }, cz = { exports: {} };
|
|
|
86257
86257
|
return Ee.s.toString();
|
|
86258
86258
|
case 3:
|
|
86259
86259
|
if (!Fo(Ee))
|
|
86260
|
-
return Ee.o =
|
|
86260
|
+
return Ee.o = zi(Ee), Ni(Ee);
|
|
86261
86261
|
Ee.da = !0;
|
|
86262
86262
|
default:
|
|
86263
86263
|
return Ee.da ? (ka(Ee) && (Ee.da = !1), Ee.h.toString() + Ee.g.toString()) : 0 < Ee.j.length ? (Xe = wo(Ee, Xe), 0 < (We = nr(Ee)).length ? We : (Kt(Ee, Ee.g.toString()), Ft(Ee) ? or(Ee) : Ee.u ? oi(Ee, Xe) : Ee.s.toString())) : Ni(Ee);
|
|
@@ -86499,7 +86499,7 @@ var S1 = function(t, r) {
|
|
|
86499
86499
|
return v("showArticle", function() {
|
|
86500
86500
|
so("showArticle", L);
|
|
86501
86501
|
});
|
|
86502
|
-
}, [v]), I =
|
|
86502
|
+
}, [v]), I = Li(function() {
|
|
86503
86503
|
return {
|
|
86504
86504
|
boot: b,
|
|
86505
86505
|
shutdown: O,
|
|
@@ -90068,10 +90068,10 @@ var mh;
|
|
|
90068
90068
|
(function(e) {
|
|
90069
90069
|
e.GET_MEDIA_STREAM = "getMediaStream", e.GET_MEDIA_RECORDER = "getMediaRecorder";
|
|
90070
90070
|
})(mh || (mh = {}));
|
|
90071
|
-
var
|
|
90071
|
+
var Hi;
|
|
90072
90072
|
(function(e) {
|
|
90073
90073
|
e.IS_TIME_TO_STOP_RECORDING = "isTimeToStopRecording", e.IS_RECORDER_ACTIVE = "isRecorderActive", e.IS_TIME_TO_START_RECORDING = "isTimeToStartRecording", e.NO_SOUND_FROM_MIC_MACHINE = "noSoundFromMicMachine", e.IS_NOT_ALLOWED_ERROR = "isNotAllowedError", e.IS_ERROR_WITH_WRONG_PARAMS = "isErrorWithWrongParams", e.IS_AUTO_START = "isAutoStart", e.IS_QUALITY_CHANGED = "isQualityChanged", e.IS_VIDEO_CORRUPTED = "isVideoCorrupted";
|
|
90074
|
-
})(
|
|
90074
|
+
})(Hi || (Hi = {}));
|
|
90075
90075
|
const eh = {
|
|
90076
90076
|
hd: {
|
|
90077
90077
|
video: {
|
|
@@ -104831,7 +104831,7 @@ const tst = {
|
|
|
104831
104831
|
}, mH = () => {
|
|
104832
104832
|
let e, t;
|
|
104833
104833
|
try {
|
|
104834
|
-
e ?? (e = "staging"), t ?? (t = "1.1.
|
|
104834
|
+
e ?? (e = "staging"), t ?? (t = "1.1.51");
|
|
104835
104835
|
} catch {
|
|
104836
104836
|
console.error("sentry configGenerator error");
|
|
104837
104837
|
}
|
|
@@ -105049,7 +105049,7 @@ const md = (e, t, r, n) => {
|
|
|
105049
105049
|
At(() => {
|
|
105050
105050
|
y(h.length === 1 ? 0 : null);
|
|
105051
105051
|
}, [h.length]);
|
|
105052
|
-
const N =
|
|
105052
|
+
const N = Li(() => {
|
|
105053
105053
|
const $e = {
|
|
105054
105054
|
LAST_QUESTION_SINGLE_TAKE: h.length === 1 && a,
|
|
105055
105055
|
ONLY_ONE_TAKE: h.length === 1 && !i,
|
|
@@ -110169,7 +110169,7 @@ function fut() {
|
|
|
110169
110169
|
}, [t]), t;
|
|
110170
110170
|
}
|
|
110171
110171
|
function put(e, t) {
|
|
110172
|
-
var r = t.muted, n = t.preload, i = t.loop, o = t.autoplay, a = t.controls, s = t.poster, c = t.primaryColor, u = t.letterboxColor, l = t.adUrl, d = t.startTime, f = t.defaultTextTrack, p = [s && "poster=" + encodeURIComponent(s), l && "ad-url=" + encodeURIComponent(l), f && "defaultTextTrack=" + encodeURIComponent(f), c && "primaryColor=" + encodeURIComponent(c), u && "letterboxColor=" + encodeURIComponent(u), d && "startTime=" + d, r && "muted=true", n && "preload=" + n, i && "loop=true", o && "autoplay=true", !a && "controls=false"].filter(Boolean).join("&"), h =
|
|
110172
|
+
var r = t.muted, n = t.preload, i = t.loop, o = t.autoplay, a = t.controls, s = t.poster, c = t.primaryColor, u = t.letterboxColor, l = t.adUrl, d = t.startTime, f = t.defaultTextTrack, p = [s && "poster=" + encodeURIComponent(s), l && "ad-url=" + encodeURIComponent(l), f && "defaultTextTrack=" + encodeURIComponent(f), c && "primaryColor=" + encodeURIComponent(c), u && "letterboxColor=" + encodeURIComponent(u), d && "startTime=" + d, r && "muted=true", n && "preload=" + n, i && "loop=true", o && "autoplay=true", !a && "controls=false"].filter(Boolean).join("&"), h = Li(
|
|
110173
110173
|
function() {
|
|
110174
110174
|
return "https://iframe.cloudflarestream.com/" + e + "?" + p;
|
|
110175
110175
|
},
|
|
@@ -110219,7 +110219,7 @@ var mut = function() {
|
|
|
110219
110219
|
height: "100%",
|
|
110220
110220
|
width: "100%"
|
|
110221
110221
|
}, yut = function(t) {
|
|
110222
|
-
var r = t.children, n = t.responsive, i = t.className, o = t.videoDimensions, a = o.videoHeight, s = o.videoWidth, c =
|
|
110222
|
+
var r = t.children, n = t.responsive, i = t.className, o = t.videoDimensions, a = o.videoHeight, s = o.videoWidth, c = Li(function() {
|
|
110223
110223
|
return {
|
|
110224
110224
|
position: "relative",
|
|
110225
110225
|
paddingTop: s > 0 ? a / s * 100 + "%" : void 0
|
|
@@ -111711,30 +111711,30 @@ function _se(e) {
|
|
|
111711
111711
|
return _se(Um(e, i));
|
|
111712
111712
|
}, r;
|
|
111713
111713
|
}
|
|
111714
|
-
const
|
|
111715
|
-
|
|
111716
|
-
|
|
111717
|
-
|
|
111718
|
-
|
|
111719
|
-
|
|
111720
|
-
|
|
111721
|
-
|
|
111722
|
-
|
|
111723
|
-
|
|
111714
|
+
const Fi = _se(ry);
|
|
111715
|
+
Fi.Axios = Ef;
|
|
111716
|
+
Fi.CanceledError = ny;
|
|
111717
|
+
Fi.CancelToken = iC;
|
|
111718
|
+
Fi.isCancel = mse;
|
|
111719
|
+
Fi.VERSION = yse;
|
|
111720
|
+
Fi.toFormData = Vw;
|
|
111721
|
+
Fi.AxiosError = Kr;
|
|
111722
|
+
Fi.Cancel = Fi.CanceledError;
|
|
111723
|
+
Fi.all = function(t) {
|
|
111724
111724
|
return Promise.all(t);
|
|
111725
111725
|
};
|
|
111726
|
-
|
|
111727
|
-
|
|
111728
|
-
|
|
111729
|
-
|
|
111730
|
-
|
|
111731
|
-
|
|
111732
|
-
|
|
111733
|
-
|
|
111734
|
-
const Zu =
|
|
111726
|
+
Fi.spread = xlt;
|
|
111727
|
+
Fi.isAxiosError = Alt;
|
|
111728
|
+
Fi.mergeConfig = Um;
|
|
111729
|
+
Fi.AxiosHeaders = ms;
|
|
111730
|
+
Fi.formToJSON = (e) => hse(pt.isHTMLForm(e) ? new FormData(e) : e);
|
|
111731
|
+
Fi.getAdapter = gse.getAdapter;
|
|
111732
|
+
Fi.HttpStatusCode = hT;
|
|
111733
|
+
Fi.default = Fi;
|
|
111734
|
+
const Zu = Fi.create({
|
|
111735
111735
|
baseURL: Wv("production").serverUrl,
|
|
111736
111736
|
withCredentials: !0
|
|
111737
|
-
}), Plt =
|
|
111737
|
+
}), Plt = Fi.create({}), Nlt = (e) => {
|
|
111738
111738
|
Zu.defaults.headers.common.Authorization = e;
|
|
111739
111739
|
}, Dlt = (e) => {
|
|
111740
111740
|
Zu.defaults.baseURL = e;
|
|
@@ -111915,9 +111915,9 @@ const Mlt = (e) => {
|
|
|
111915
111915
|
[an.MULTIPLE]: Blt
|
|
111916
111916
|
}, Hlt = ({ currentQuestionObj: e, timer: t, currentQuestion: r, numberOfQuestions: n, antiCheat: i, onSubmitAssessment: o }) => {
|
|
111917
111917
|
var a, s, c;
|
|
111918
|
-
const { t: u } = Jn(), l = dt(e.answerType !== an.TEXT ? [] : ""), d =
|
|
111918
|
+
const { t: u } = Jn(), l = dt(e.answerType !== an.TEXT ? [] : ""), d = Li(() => Vlt[e.answerType], [e.answerType]), [f, p] = St(!1), h = e.answerType !== an.TEXT ? ((a = e.config) === null || a === void 0 ? void 0 : a.answers) || [] : [], m = (b) => {
|
|
111919
111919
|
o(l.current, b);
|
|
111920
|
-
}, y =
|
|
111920
|
+
}, y = Li(() => {
|
|
111921
111921
|
switch (e.answerType) {
|
|
111922
111922
|
case an.TEXT:
|
|
111923
111923
|
return () => {
|
|
@@ -112330,27 +112330,27 @@ var Ww = {};
|
|
|
112330
112330
|
t.Parent = "#_parent", t.Internal = "#_internal";
|
|
112331
112331
|
}(e.SpecialTargets || (e.SpecialTargets = {}));
|
|
112332
112332
|
})(Ww);
|
|
112333
|
-
var
|
|
112334
|
-
Object.defineProperty(
|
|
112333
|
+
var Bi = {};
|
|
112334
|
+
Object.defineProperty(Bi, "__esModule", { value: !0 });
|
|
112335
112335
|
var bo = Ww, idt = bo.ActionTypes.Start, odt = bo.ActionTypes.Stop, adt = bo.ActionTypes.Raise, sdt = bo.ActionTypes.Send, cdt = bo.ActionTypes.Cancel, udt = bo.ActionTypes.NullEvent, ldt = bo.ActionTypes.Assign, ddt = bo.ActionTypes.After, fdt = bo.ActionTypes.DoneState, pdt = bo.ActionTypes.Log, hdt = bo.ActionTypes.Init, mdt = bo.ActionTypes.Invoke, vdt = bo.ActionTypes.ErrorExecution, gdt = bo.ActionTypes.ErrorPlatform, ydt = bo.ActionTypes.ErrorCustom, _dt = bo.ActionTypes.Update, bdt = bo.ActionTypes.Choose, wdt = bo.ActionTypes.Pure;
|
|
112336
|
-
|
|
112337
|
-
|
|
112338
|
-
|
|
112339
|
-
|
|
112340
|
-
|
|
112341
|
-
|
|
112342
|
-
|
|
112343
|
-
|
|
112344
|
-
|
|
112345
|
-
|
|
112346
|
-
|
|
112347
|
-
|
|
112348
|
-
|
|
112349
|
-
|
|
112350
|
-
|
|
112351
|
-
|
|
112352
|
-
|
|
112353
|
-
|
|
112336
|
+
Bi.after = ddt;
|
|
112337
|
+
Bi.assign = ldt;
|
|
112338
|
+
Bi.cancel = cdt;
|
|
112339
|
+
Bi.choose = bdt;
|
|
112340
|
+
Bi.doneState = fdt;
|
|
112341
|
+
Bi.error = ydt;
|
|
112342
|
+
Bi.errorExecution = vdt;
|
|
112343
|
+
Bi.errorPlatform = gdt;
|
|
112344
|
+
Bi.init = hdt;
|
|
112345
|
+
Bi.invoke = mdt;
|
|
112346
|
+
Bi.log = pdt;
|
|
112347
|
+
Bi.nullEvent = udt;
|
|
112348
|
+
Bi.pure = wdt;
|
|
112349
|
+
Bi.raise = adt;
|
|
112350
|
+
Bi.send = sdt;
|
|
112351
|
+
Bi.start = idt;
|
|
112352
|
+
Bi.stop = odt;
|
|
112353
|
+
Bi.update = _dt;
|
|
112354
112354
|
var Sse = {}, k0 = {};
|
|
112355
112355
|
Object.defineProperty(k0, "__esModule", { value: !0 });
|
|
112356
112356
|
var Sdt = ".", Edt = {}, $dt = "xstate.guard", Tdt = "";
|
|
@@ -112364,7 +112364,7 @@ var Odt = process.env.NODE_ENV === "production";
|
|
|
112364
112364
|
qw.IS_PRODUCTION = Odt;
|
|
112365
112365
|
(function(e) {
|
|
112366
112366
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
112367
|
-
var t = sC, r = Ww, n =
|
|
112367
|
+
var t = sC, r = Ww, n = Bi, i = k0, o = qw, a;
|
|
112368
112368
|
function s(he) {
|
|
112369
112369
|
return Object.keys(he);
|
|
112370
112370
|
}
|
|
@@ -112778,7 +112778,7 @@ qw.IS_PRODUCTION = Odt;
|
|
|
112778
112778
|
e.createInvokeId = _e, e.evaluateGuard = se, e.flatten = S, e.getActionType = l, e.getEventType = u, e.interopSymbols = L, e.isActor = U, e.isArray = re, e.isBehavior = k, e.isBuiltInEvent = O, e.isFunction = J, e.isMachine = ie, e.isObservable = R, e.isPromiseLike = $, e.isRaisableAction = at, 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 = E, e.reportUnhandledExceptionOnInvocation = $e, e.symbolObservable = I, e.toArray = w, e.toArrayStrict = _, e.toEventObject = x, e.toGuard = Q, e.toInvokeSource = ve, e.toObserver = Re, e.toSCXMLEvent = pe, e.toStatePath = d, e.toStatePaths = T, e.toStateValue = p, e.toTransitionConfigArray = ue, e.uniqueId = ce, e.updateContext = F, e.updateHistoryStates = P, e.updateHistoryValue = N;
|
|
112779
112779
|
})(Sse);
|
|
112780
112780
|
Object.defineProperty(sn, "__esModule", { value: !0 });
|
|
112781
|
-
var rn = sC, ws = Ww, vo =
|
|
112781
|
+
var rn = sC, ws = Ww, vo = Bi, Lr = Sse, Ese = qw, kdt = /* @__PURE__ */ Lr.toSCXMLEvent({
|
|
112782
112782
|
type: vo.init
|
|
112783
112783
|
});
|
|
112784
112784
|
function vT(e, t) {
|
|
@@ -113591,10 +113591,10 @@ var Kdt = Ise.exports, fa;
|
|
|
113591
113591
|
(function(e) {
|
|
113592
113592
|
e.INACTIVE = "inactive", e.ACTIVE = "active", e.NOT_RECEIVING_DATA = "notReceivingData", e.RECEIVING_DATA = "receivingData", e.DATA_CHECK = "dataCheck";
|
|
113593
113593
|
})(fa || (fa = {}));
|
|
113594
|
-
var
|
|
113594
|
+
var Mi;
|
|
113595
113595
|
(function(e) {
|
|
113596
113596
|
e.SET_DETECTION_SPEED = "setDetectionSpeed", e.COLLECT_BREADCRUMB = "collectBreadcrumb", e.INIT_WEB_WORKER = "initWebWorker", e.CONSOLE_LOG = "consoleLog", e.SET_MEDIA_STREAM = "setMediaStream", e.UPDATE_MIC = "updateMic", e.UPDATE_RETAKES = "UPDATE_RETAKES", e.CLEAN_RETAKES = "CLEAN_RETAKES", e.SENTRY = "sentry";
|
|
113597
|
-
})(
|
|
113597
|
+
})(Mi || (Mi = {}));
|
|
113598
113598
|
var ho;
|
|
113599
113599
|
(function(e) {
|
|
113600
113600
|
e.ON_DETECTION_SPEED = "ON_DETECTION_SPEED", e.UNMUTE = "UNMUTE", e.MUTE = "MUTE", e.ON_SET_MEDIA_STREAM = "ON_SET_MEDIA_STREAM", e.SEND_DATA = "SEND_DATA", e.MIC_CHECK = "MIC_CHECK", e.SEND_ERROR = "SEND_ERROR", e.UPDATE_RETAKES = "UPDATE_RETAKES", e.CLEAN_RETAKES = "CLEAN_RETAKES";
|
|
@@ -113703,11 +113703,11 @@ const lW = Td({
|
|
|
113703
113703
|
},
|
|
113704
113704
|
on: {
|
|
113705
113705
|
[ho.ON_SET_MEDIA_STREAM]: {
|
|
113706
|
-
actions: [
|
|
113706
|
+
actions: [Mi.CLEAN_RETAKES, Mi.SET_MEDIA_STREAM, Mi.INIT_WEB_WORKER],
|
|
113707
113707
|
target: fa.INACTIVE
|
|
113708
113708
|
},
|
|
113709
113709
|
[ho.ON_DETECTION_SPEED]: {
|
|
113710
|
-
actions: [
|
|
113710
|
+
actions: [Mi.CLEAN_RETAKES, Mi.SET_DETECTION_SPEED]
|
|
113711
113711
|
}
|
|
113712
113712
|
},
|
|
113713
113713
|
states: {
|
|
@@ -113734,12 +113734,12 @@ const lW = Td({
|
|
|
113734
113734
|
},
|
|
113735
113735
|
[fa.NOT_RECEIVING_DATA]: {
|
|
113736
113736
|
entry: [
|
|
113737
|
-
|
|
113737
|
+
Mi.COLLECT_BREADCRUMB,
|
|
113738
113738
|
fs((e, t) => ({
|
|
113739
113739
|
data: yc.NoSoundError,
|
|
113740
113740
|
type: hr.RECORDER_DEVICE_ERROR
|
|
113741
113741
|
})),
|
|
113742
|
-
{ type:
|
|
113742
|
+
{ type: Mi.SENTRY, data: { eventName: yc.NoSoundError.name, level: "info" } },
|
|
113743
113743
|
(e) => {
|
|
113744
113744
|
var t, r, n;
|
|
113745
113745
|
return yo({
|
|
@@ -113791,13 +113791,13 @@ const lW = Td({
|
|
|
113791
113791
|
},
|
|
113792
113792
|
on: {
|
|
113793
113793
|
[ho.SEND_DATA]: {
|
|
113794
|
-
actions: [
|
|
113794
|
+
actions: [Mi.UPDATE_MIC]
|
|
113795
113795
|
},
|
|
113796
113796
|
[ho.CLEAN_RETAKES]: {
|
|
113797
|
-
actions: [
|
|
113797
|
+
actions: [Mi.CLEAN_RETAKES]
|
|
113798
113798
|
},
|
|
113799
113799
|
[ho.UPDATE_RETAKES]: {
|
|
113800
|
-
actions: [
|
|
113800
|
+
actions: [Mi.UPDATE_RETAKES]
|
|
113801
113801
|
}
|
|
113802
113802
|
},
|
|
113803
113803
|
exit: [Lt({ mediaStream: null })]
|
|
@@ -113805,7 +113805,7 @@ const lW = Td({
|
|
|
113805
113805
|
}
|
|
113806
113806
|
}, {
|
|
113807
113807
|
actions: {
|
|
113808
|
-
[
|
|
113808
|
+
[Mi.COLLECT_BREADCRUMB]: (e) => {
|
|
113809
113809
|
var t, r, n;
|
|
113810
113810
|
ost({
|
|
113811
113811
|
type: "debug",
|
|
@@ -113821,30 +113821,30 @@ const lW = Td({
|
|
|
113821
113821
|
}
|
|
113822
113822
|
});
|
|
113823
113823
|
},
|
|
113824
|
-
[
|
|
113824
|
+
[Mi.INIT_WEB_WORKER]: Lt({
|
|
113825
113825
|
webWorker: (e, t) => e.mediaStream ? new Ydt(Xdt) : null
|
|
113826
113826
|
}),
|
|
113827
|
-
[
|
|
113827
|
+
[Mi.SENTRY]: (e, t, r) => {
|
|
113828
113828
|
var n, i;
|
|
113829
113829
|
md(t, e, ((n = r.action.data) === null || n === void 0 ? void 0 : n.eventName) || "microphoneMachine", (i = r.action.data) === null || i === void 0 ? void 0 : i.level);
|
|
113830
113830
|
},
|
|
113831
|
-
[
|
|
113831
|
+
[Mi.CLEAN_RETAKES]: Lt({
|
|
113832
113832
|
retakes: (e, t) => 0
|
|
113833
113833
|
}),
|
|
113834
|
-
[
|
|
113834
|
+
[Mi.UPDATE_RETAKES]: Lt({
|
|
113835
113835
|
retakes: (e, t) => Math.min(e.retakes + 1, e.retakeSpeed)
|
|
113836
113836
|
}),
|
|
113837
|
-
[
|
|
113838
|
-
[
|
|
113837
|
+
[Mi.CONSOLE_LOG]: (e, t) => console.log("Microphone Machine:", e, t),
|
|
113838
|
+
[Mi.SET_MEDIA_STREAM]: Lt((e, t) => ({
|
|
113839
113839
|
mediaStream: t.data,
|
|
113840
113840
|
retakes: 0,
|
|
113841
113841
|
micData: 0
|
|
113842
113842
|
})),
|
|
113843
|
-
[
|
|
113843
|
+
[Mi.UPDATE_MIC]: Lt({
|
|
113844
113844
|
micData: (e, t) => t.data
|
|
113845
113845
|
}),
|
|
113846
|
-
[
|
|
113847
|
-
retakeSpeed: (e, t) => t.data || Fl.
|
|
113846
|
+
[Mi.SET_DETECTION_SPEED]: Lt({
|
|
113847
|
+
retakeSpeed: (e, t) => t.data || Fl.DISABLED
|
|
113848
113848
|
})
|
|
113849
113849
|
},
|
|
113850
113850
|
services: {
|
|
@@ -115066,7 +115066,7 @@ const Cft = (e) => Rft(e).pipe(kft((t) => ({ type: "TICK", value: t }))), xft =
|
|
|
115066
115066
|
// permission denied error, can be triggered when user denied permission
|
|
115067
115067
|
// at browser level or pc level.
|
|
115068
115068
|
{
|
|
115069
|
-
cond:
|
|
115069
|
+
cond: Hi.IS_NOT_ALLOWED_ERROR,
|
|
115070
115070
|
actions: [
|
|
115071
115071
|
ut.SEND_ERROR_TO_PARENT,
|
|
115072
115072
|
ut.STOP_MEDIA_STREAM,
|
|
@@ -115077,7 +115077,7 @@ const Cft = (e) => Rft(e).pipe(kft((t) => ({ type: "TICK", value: t }))), xft =
|
|
|
115077
115077
|
// No sound from mic, it can be muted mic from system ( only Chrome detection )
|
|
115078
115078
|
// or bad quality of sound
|
|
115079
115079
|
{
|
|
115080
|
-
cond:
|
|
115080
|
+
cond: Hi.NO_SOUND_FROM_MIC_MACHINE,
|
|
115081
115081
|
// fallback for mic error, we have to store an error , since error is happening before mediaRecorder init (SET_MIC_ERROR)
|
|
115082
115082
|
actions: [ut.SEND_ERROR_TO_PARENT, ut.PAUSE_MEDIA_RECORDER, ut.SET_MIC_ERROR]
|
|
115083
115083
|
},
|
|
@@ -115109,7 +115109,7 @@ const Cft = (e) => Rft(e).pipe(kft((t) => ({ type: "TICK", value: t }))), xft =
|
|
|
115109
115109
|
// if something wrong with params for mediaStream , try to init it with safe mode
|
|
115110
115110
|
{
|
|
115111
115111
|
target: [_r.INIT],
|
|
115112
|
-
cond:
|
|
115112
|
+
cond: Hi.IS_ERROR_WITH_WRONG_PARAMS,
|
|
115113
115113
|
actions: [
|
|
115114
115114
|
{ type: ut.SENTRY, data: { level: "info" } },
|
|
115115
115115
|
ut.SET_SAFE_MODE,
|
|
@@ -115133,7 +115133,7 @@ const Cft = (e) => Rft(e).pipe(kft((t) => ({ type: "TICK", value: t }))), xft =
|
|
|
115133
115133
|
always: [
|
|
115134
115134
|
{
|
|
115135
115135
|
// if isAutoStart , we have to start recording without preparation
|
|
115136
|
-
cond:
|
|
115136
|
+
cond: Hi.IS_AUTO_START,
|
|
115137
115137
|
target: [_r.RECORDING]
|
|
115138
115138
|
}
|
|
115139
115139
|
],
|
|
@@ -115177,7 +115177,7 @@ const Cft = (e) => Rft(e).pipe(kft((t) => ({ type: "TICK", value: t }))), xft =
|
|
|
115177
115177
|
// parent update ,according speed test update quality of the video (require naming change)
|
|
115178
115178
|
[hr.SPEED_TEST_RESULT_UPDATED]: {
|
|
115179
115179
|
target: [_r.INIT],
|
|
115180
|
-
cond:
|
|
115180
|
+
cond: Hi.IS_QUALITY_CHANGED,
|
|
115181
115181
|
actions: [
|
|
115182
115182
|
ut.STOP_MEDIA_STREAM,
|
|
115183
115183
|
ut.STOP_MICROPHONE_MACHINE,
|
|
@@ -115212,7 +115212,7 @@ const Cft = (e) => Rft(e).pipe(kft((t) => ({ type: "TICK", value: t }))), xft =
|
|
|
115212
115212
|
{
|
|
115213
115213
|
target: _r.COLLECTING_BLOBS,
|
|
115214
115214
|
actions: [ut.STOP_COUNT_DOWN_ACTOR],
|
|
115215
|
-
cond:
|
|
115215
|
+
cond: Hi.IS_TIME_TO_START_RECORDING
|
|
115216
115216
|
}
|
|
115217
115217
|
],
|
|
115218
115218
|
on: {
|
|
@@ -115234,7 +115234,7 @@ const Cft = (e) => Rft(e).pipe(kft((t) => ({ type: "TICK", value: t }))), xft =
|
|
|
115234
115234
|
}), { to: (e) => e.microphoneRef }), { type: ut.INIT_COUNT_DOWN_ACTOR, data: { callback: hr.RECORDING_UPDATE_TIMER } }],
|
|
115235
115235
|
on: {
|
|
115236
115236
|
[hr.RECORDING_UPDATE_TIMER]: {
|
|
115237
|
-
cond:
|
|
115237
|
+
cond: Hi.IS_RECORDER_ACTIVE,
|
|
115238
115238
|
actions: [ut.UPDATE_RECORDING_TIME]
|
|
115239
115239
|
}
|
|
115240
115240
|
}
|
|
@@ -115248,7 +115248,7 @@ const Cft = (e) => Rft(e).pipe(kft((t) => ({ type: "TICK", value: t }))), xft =
|
|
|
115248
115248
|
// so everything what we are going to do here ( not ideal ) set recordingTime to 0, so to be sure that GUARDS.IS_TIME_TO_STOP_RECORDING no longer true
|
|
115249
115249
|
always: [
|
|
115250
115250
|
{
|
|
115251
|
-
cond:
|
|
115251
|
+
cond: Hi.IS_TIME_TO_STOP_RECORDING,
|
|
115252
115252
|
actions: [
|
|
115253
115253
|
ut.STOP_COUNT_DOWN_ACTOR,
|
|
115254
115254
|
ut.STOP_MEDIA_RECORDER,
|
|
@@ -115299,7 +115299,7 @@ const Cft = (e) => Rft(e).pipe(kft((t) => ({ type: "TICK", value: t }))), xft =
|
|
|
115299
115299
|
},
|
|
115300
115300
|
[hr.SEND_CURRENT_TAKE]: [
|
|
115301
115301
|
{
|
|
115302
|
-
cond:
|
|
115302
|
+
cond: Hi.IS_VIDEO_CORRUPTED,
|
|
115303
115303
|
target: `#recorder.${_r.ERROR}`,
|
|
115304
115304
|
actions: [
|
|
115305
115305
|
ut.SEND_CURRENT_TAKE,
|
|
@@ -115586,16 +115586,16 @@ const Cft = (e) => Rft(e).pipe(kft((t) => ({ type: "TICK", value: t }))), xft =
|
|
|
115586
115586
|
})
|
|
115587
115587
|
},
|
|
115588
115588
|
guards: {
|
|
115589
|
-
[
|
|
115590
|
-
[
|
|
115591
|
-
[
|
|
115592
|
-
[
|
|
115593
|
-
[
|
|
115589
|
+
[Hi.IS_TIME_TO_STOP_RECORDING]: ({ durations: e, recordingTime: t }, r) => e === t,
|
|
115590
|
+
[Hi.IS_RECORDER_ACTIVE]: (e, t) => e.mediaRecorder ? e.mediaRecorder.state === ov.RECORDING : !1,
|
|
115591
|
+
[Hi.IS_TIME_TO_START_RECORDING]: (e, t) => e.countdown === 0,
|
|
115592
|
+
[Hi.IS_AUTO_START]: (e, t) => e.isAutoStart,
|
|
115593
|
+
[Hi.IS_QUALITY_CHANGED]: (e, t) => t.data.speedTestLevel !== e.speedTestLevel,
|
|
115594
115594
|
// errors
|
|
115595
|
-
[
|
|
115596
|
-
[
|
|
115597
|
-
[
|
|
115598
|
-
[
|
|
115595
|
+
[Hi.NO_SOUND_FROM_MIC_MACHINE]: (e, t) => [vi.NoSoundError].includes(t.data.name),
|
|
115596
|
+
[Hi.IS_NOT_ALLOWED_ERROR]: (e, t) => [vi.NotAllowedError].includes(t.data.name),
|
|
115597
|
+
[Hi.IS_ERROR_WITH_WRONG_PARAMS]: (e, t) => [vi.OverconstrainedError].includes(t.data.name),
|
|
115598
|
+
[Hi.IS_VIDEO_CORRUPTED]: (e, { data: t }) => !t.webm.size
|
|
115599
115599
|
}
|
|
115600
115600
|
});
|
|
115601
115601
|
var Oi;
|
|
@@ -119622,7 +119622,7 @@ const xmt = () => {
|
|
|
119622
119622
|
var I, L;
|
|
119623
119623
|
S && (E == null ? void 0 : E.statusCode) === 400 && ((L = (I = e.config).onError) === null || L === void 0 || L.call(I, { messageType: "applied", messageInfo: "Candidate already attached to a video" })), P();
|
|
119624
119624
|
}, [S]);
|
|
119625
|
-
const N =
|
|
119625
|
+
const N = Li(() => {
|
|
119626
119626
|
var I, L;
|
|
119627
119627
|
return !!(!((L = (I = e.video) === null || I === void 0 ? void 0 : I.videos) === null || L === void 0) && L.some((ie) => ie.uploaded));
|
|
119628
119628
|
}, [e.video]), F = (I) => {
|
|
@@ -119739,7 +119739,7 @@ const Umt = ({ messageType: e }) => {
|
|
|
119739
119739
|
var { children: r } = e, n = $Ke(e, ["children"]);
|
|
119740
119740
|
return M.createElement("div", Object.assign({ ref: t }, n), r);
|
|
119741
119741
|
}), zmt = IT(({ candidate: e, job: t, video: r, config: n, disabled: i = !1, buttonText: o = "START INTERVIEW", buttonStyle: a = {}, children: s, styleUrls: c = [], fontsUrls: u = [] }, l) => {
|
|
119742
|
-
const d = "1.1.
|
|
119742
|
+
const d = "1.1.51", [f, p] = St(!1), [h, m] = St(!1), [y, g] = St(!1), b = dt(null), T = dt(null), E = dt(null), [S, _] = St(!1), [w, v] = St(!1), { setSitekey: O, shutdown: $ } = Fmt();
|
|
119743
119743
|
At(() => (oZe && PXe().then((L) => {
|
|
119744
119744
|
g(L.browserName === "Chrome" && L.isPrivate && Fn);
|
|
119745
119745
|
}), b.current && b.current.shadowRoot && (v(typeof s == "object" && s.type === "style"), (Array.isArray(u) ? u : [u]).concat(Ost).forEach((L) => {
|
|
@@ -119748,7 +119748,7 @@ const Umt = ({ messageType: e }) => {
|
|
|
119748
119748
|
})), () => {
|
|
119749
119749
|
$();
|
|
119750
119750
|
}), []);
|
|
119751
|
-
const k =
|
|
119751
|
+
const k = Li(() => (Array.isArray(c) ? c : [c]).map((L) => M.createElement(
|
|
119752
119752
|
"style",
|
|
119753
119753
|
{ key: L },
|
|
119754
119754
|
"@import url(",
|
|
@@ -119795,7 +119795,7 @@ const Umt = ({ messageType: e }) => {
|
|
|
119795
119795
|
}), R = Xn({
|
|
119796
119796
|
"myinterview-widget__wrapper": !0,
|
|
119797
119797
|
"myinterview-widget__wrapper--hide-header": !!n.hideHeader
|
|
119798
|
-
}), I =
|
|
119798
|
+
}), I = Li(() => n.useLightDom ? Bmt : qKe.div, [n.useLightDom]);
|
|
119799
119799
|
return M.createElement(
|
|
119800
119800
|
I,
|
|
119801
119801
|
{ ref: b, className: "myinterview-widget-client" },
|
|
@@ -120064,7 +120064,7 @@ const kT = {
|
|
|
120064
120064
|
}, children: v }, v.key))
|
|
120065
120065
|
})] });
|
|
120066
120066
|
}, o0t = ({ totalDots: e, currentDotIndex: t, dotSize: r = 8, gap: n = 4 }) => {
|
|
120067
|
-
const i =
|
|
120067
|
+
const i = Li(() => [...Array(e)].map((f, p) => p), [e]), o = dt(), a = dt(null), s = dt(null), c = dt(0), u = r + n, l = Ut(() => {
|
|
120068
120068
|
if (!a.current)
|
|
120069
120069
|
return;
|
|
120070
120070
|
const f = Math.min(a.current.offsetLeft, 0), p = Math.min(Math.max(-t * u - f + c.current / 2, f), -f);
|
|
@@ -120130,7 +120130,7 @@ const kT = {
|
|
|
120130
120130
|
completed: !0
|
|
120131
120131
|
}
|
|
120132
120132
|
}, F);
|
|
120133
|
-
}, [u, e.sid, e.attributes.module]), T =
|
|
120133
|
+
}, [u, e.sid, e.attributes.module]), T = Li(() => ({
|
|
120134
120134
|
[uf.SEND_MESSAGE]: (N) => {
|
|
120135
120135
|
l({ message: N.text });
|
|
120136
120136
|
},
|
|
@@ -120151,7 +120151,7 @@ const kT = {
|
|
|
120151
120151
|
N.customActions.forEach((F) => {
|
|
120152
120152
|
T[F](N);
|
|
120153
120153
|
});
|
|
120154
|
-
}, [e.attributes.suggestions]), S =
|
|
120154
|
+
}, [e.attributes.suggestions]), S = Li(() => !e.attributes.module || !(e.attributes.module.type in IW) ? null : IW[e.attributes.module.type], [e.attributes.module]), _ = Li(() => S ? zm(S.component, {
|
|
120155
120155
|
...e.attributes.module,
|
|
120156
120156
|
onSubmitAnswer: b,
|
|
120157
120157
|
...S.customAction && { customAction: T[S.customAction] }
|
|
@@ -120350,7 +120350,7 @@ const kT = {
|
|
|
120350
120350
|
r(), kT.tnc(!0);
|
|
120351
120351
|
}, i = () => {
|
|
120352
120352
|
r(), kT.tnc(!1);
|
|
120353
|
-
}, o =
|
|
120353
|
+
}, o = Li(() => {
|
|
120354
120354
|
switch (t.name) {
|
|
120355
120355
|
case Jl.TNC:
|
|
120356
120356
|
return Se(h0t, { company: t.company, url: t.url, onAgree: n, onDisagree: i, ...!ss && { closeButton: !0, onClose: r } });
|
|
@@ -120360,13 +120360,13 @@ const kT = {
|
|
|
120360
120360
|
return null;
|
|
120361
120361
|
}
|
|
120362
120362
|
}, [t.name]);
|
|
120363
|
-
return
|
|
120363
|
+
return Li(() => {
|
|
120364
120364
|
const s = t.name ? r : () => {
|
|
120365
120365
|
};
|
|
120366
120366
|
return o ? Se(ss ? y0t : m0t, { onClose: s, children: o }) : null;
|
|
120367
120367
|
}, [t.name]);
|
|
120368
120368
|
}, S0t = PW(({ useInbox: e, usePopup: t, isOpen: r, closePopup: n }) => {
|
|
120369
|
-
const i = h0(), o = dt(null), a = dt(null), { set: s, selectedIndex: c, setSelectedIndex: u } = d0t(), [l, d] = St(!1), f = qr((_) => _.main.conversations), p = qr((_) => _.main.selectedConversationId), h =
|
|
120369
|
+
const i = h0(), o = dt(null), a = dt(null), { set: s, selectedIndex: c, setSelectedIndex: u } = d0t(), [l, d] = St(!1), f = qr((_) => _.main.conversations), p = qr((_) => _.main.selectedConversationId), h = Li(() => f.find((_) => _.sid === p), [f, p]), m = e && l, y = t && !l;
|
|
120370
120370
|
Eu(() => {
|
|
120371
120371
|
const _ = new ResizeObserver((v) => {
|
|
120372
120372
|
const { width: O } = v[0].contentRect;
|