@mypatientspace/chatbot-widget 1.0.59 → 1.0.60
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/mypatientspace-demo.es.js +331 -327
- package/dist/mypatientspace-demo.umd.js +15 -15
- package/dist/mypatientspace-widget.es.js +1522 -1518
- package/dist/mypatientspace-widget.umd.js +11 -11
- package/package.json +1 -1
|
@@ -67,9 +67,9 @@ function Hy() {
|
|
|
67
67
|
if (lt !== X) {
|
|
68
68
|
D[0] = lt;
|
|
69
69
|
t: for (var St = 0, Bt = D.length, v = Bt >>> 1; St < v; ) {
|
|
70
|
-
var
|
|
71
|
-
if (0 > d(
|
|
72
|
-
I < Bt && 0 > d(ct,
|
|
70
|
+
var R = 2 * (St + 1) - 1, K = D[R], I = R + 1, ct = D[I];
|
|
71
|
+
if (0 > d(K, lt))
|
|
72
|
+
I < Bt && 0 > d(ct, K) ? (D[St] = ct, D[I] = lt, St = I) : (D[St] = K, D[R] = lt, St = R);
|
|
73
73
|
else if (I < Bt && 0 > d(ct, lt))
|
|
74
74
|
D[St] = ct, D[I] = lt, St = I;
|
|
75
75
|
else break t;
|
|
@@ -92,7 +92,7 @@ function Hy() {
|
|
|
92
92
|
return y.now() - x;
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
|
-
var C = [], m = [], _ = 1, O = null, j = 3,
|
|
95
|
+
var C = [], m = [], _ = 1, O = null, j = 3, V = !1, Q = !1, L = !1, H = !1, J = typeof setTimeout == "function" ? setTimeout : null, P = typeof clearTimeout == "function" ? clearTimeout : null, W = typeof setImmediate < "u" ? setImmediate : null;
|
|
96
96
|
function st(D) {
|
|
97
97
|
for (var X = s(m); X !== null; ) {
|
|
98
98
|
if (X.callback === null) c(m);
|
|
@@ -111,7 +111,7 @@ function Hy() {
|
|
|
111
111
|
X !== null && Se(k, X.startTime - D);
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
var ot = !1,
|
|
114
|
+
var ot = !1, Z = -1, Ut = 5, Gt = -1;
|
|
115
115
|
function Y() {
|
|
116
116
|
return H ? !0 : !(a.unstable_now() - Gt < Ut);
|
|
117
117
|
}
|
|
@@ -122,7 +122,7 @@ function Hy() {
|
|
|
122
122
|
var X = !0;
|
|
123
123
|
try {
|
|
124
124
|
t: {
|
|
125
|
-
Q = !1, L && (L = !1, P(
|
|
125
|
+
Q = !1, L && (L = !1, P(Z), Z = -1), V = !0;
|
|
126
126
|
var lt = j;
|
|
127
127
|
try {
|
|
128
128
|
e: {
|
|
@@ -152,7 +152,7 @@ function Hy() {
|
|
|
152
152
|
}
|
|
153
153
|
break t;
|
|
154
154
|
} finally {
|
|
155
|
-
O = null, j = lt,
|
|
155
|
+
O = null, j = lt, V = !1;
|
|
156
156
|
}
|
|
157
157
|
X = void 0;
|
|
158
158
|
}
|
|
@@ -176,7 +176,7 @@ function Hy() {
|
|
|
176
176
|
J(At, 0);
|
|
177
177
|
};
|
|
178
178
|
function Se(D, X) {
|
|
179
|
-
|
|
179
|
+
Z = J(function() {
|
|
180
180
|
D(a.unstable_now());
|
|
181
181
|
}, X);
|
|
182
182
|
}
|
|
@@ -250,7 +250,7 @@ function Hy() {
|
|
|
250
250
|
startTime: lt,
|
|
251
251
|
expirationTime: Bt,
|
|
252
252
|
sortIndex: -1
|
|
253
|
-
}, lt > St ? (D.sortIndex = lt, u(m, D), s(C) === null && D === s(m) && (L ? (P(
|
|
253
|
+
}, lt > St ? (D.sortIndex = lt, u(m, D), s(C) === null && D === s(m) && (L ? (P(Z), Z = -1) : L = !0, Se(k, lt - St))) : (D.sortIndex = Bt, u(C, D), Q || V || (Q = !0, ot || (ot = !0, Qt()))), D;
|
|
254
254
|
}, a.unstable_shouldYield = Y, a.unstable_wrapCallback = function(D) {
|
|
255
255
|
var X = j;
|
|
256
256
|
return function() {
|
|
@@ -275,7 +275,7 @@ function ky() {
|
|
|
275
275
|
if (ag) return rt;
|
|
276
276
|
ag = 1;
|
|
277
277
|
var a = /* @__PURE__ */ Symbol.for("react.transitional.element"), u = /* @__PURE__ */ Symbol.for("react.portal"), s = /* @__PURE__ */ Symbol.for("react.fragment"), c = /* @__PURE__ */ Symbol.for("react.strict_mode"), d = /* @__PURE__ */ Symbol.for("react.profiler"), h = /* @__PURE__ */ Symbol.for("react.consumer"), y = /* @__PURE__ */ Symbol.for("react.context"), x = /* @__PURE__ */ Symbol.for("react.forward_ref"), C = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.memo"), _ = /* @__PURE__ */ Symbol.for("react.lazy"), O = /* @__PURE__ */ Symbol.for("react.activity"), j = Symbol.iterator;
|
|
278
|
-
function
|
|
278
|
+
function V(v) {
|
|
279
279
|
return v === null || typeof v != "object" ? null : (v = j && v[j] || v["@@iterator"], typeof v == "function" ? v : null);
|
|
280
280
|
}
|
|
281
281
|
var Q = {
|
|
@@ -289,55 +289,55 @@ function ky() {
|
|
|
289
289
|
enqueueSetState: function() {
|
|
290
290
|
}
|
|
291
291
|
}, L = Object.assign, H = {};
|
|
292
|
-
function J(v,
|
|
293
|
-
this.props = v, this.context =
|
|
292
|
+
function J(v, R, K) {
|
|
293
|
+
this.props = v, this.context = R, this.refs = H, this.updater = K || Q;
|
|
294
294
|
}
|
|
295
|
-
J.prototype.isReactComponent = {}, J.prototype.setState = function(v,
|
|
295
|
+
J.prototype.isReactComponent = {}, J.prototype.setState = function(v, R) {
|
|
296
296
|
if (typeof v != "object" && typeof v != "function" && v != null)
|
|
297
297
|
throw Error(
|
|
298
298
|
"takes an object of state variables to update or a function which returns an object of state variables."
|
|
299
299
|
);
|
|
300
|
-
this.updater.enqueueSetState(this, v,
|
|
300
|
+
this.updater.enqueueSetState(this, v, R, "setState");
|
|
301
301
|
}, J.prototype.forceUpdate = function(v) {
|
|
302
302
|
this.updater.enqueueForceUpdate(this, v, "forceUpdate");
|
|
303
303
|
};
|
|
304
304
|
function P() {
|
|
305
305
|
}
|
|
306
306
|
P.prototype = J.prototype;
|
|
307
|
-
function W(v,
|
|
308
|
-
this.props = v, this.context =
|
|
307
|
+
function W(v, R, K) {
|
|
308
|
+
this.props = v, this.context = R, this.refs = H, this.updater = K || Q;
|
|
309
309
|
}
|
|
310
310
|
var st = W.prototype = new P();
|
|
311
311
|
st.constructor = W, L(st, J.prototype), st.isPureReactComponent = !0;
|
|
312
312
|
var k = Array.isArray;
|
|
313
313
|
function ot() {
|
|
314
314
|
}
|
|
315
|
-
var
|
|
316
|
-
function Gt(v,
|
|
317
|
-
var I =
|
|
315
|
+
var Z = { H: null, A: null, T: null, S: null }, Ut = Object.prototype.hasOwnProperty;
|
|
316
|
+
function Gt(v, R, K) {
|
|
317
|
+
var I = K.ref;
|
|
318
318
|
return {
|
|
319
319
|
$$typeof: a,
|
|
320
320
|
type: v,
|
|
321
|
-
key:
|
|
321
|
+
key: R,
|
|
322
322
|
ref: I !== void 0 ? I : null,
|
|
323
|
-
props:
|
|
323
|
+
props: K
|
|
324
324
|
};
|
|
325
325
|
}
|
|
326
|
-
function Y(v,
|
|
327
|
-
return Gt(v.type,
|
|
326
|
+
function Y(v, R) {
|
|
327
|
+
return Gt(v.type, R, v.props);
|
|
328
328
|
}
|
|
329
329
|
function At(v) {
|
|
330
330
|
return typeof v == "object" && v !== null && v.$$typeof === a;
|
|
331
331
|
}
|
|
332
332
|
function Qt(v) {
|
|
333
|
-
var
|
|
334
|
-
return "$" + v.replace(/[=:]/g, function(
|
|
335
|
-
return
|
|
333
|
+
var R = { "=": "=0", ":": "=2" };
|
|
334
|
+
return "$" + v.replace(/[=:]/g, function(K) {
|
|
335
|
+
return R[K];
|
|
336
336
|
});
|
|
337
337
|
}
|
|
338
338
|
var kt = /\/+/g;
|
|
339
|
-
function ye(v,
|
|
340
|
-
return typeof v == "object" && v !== null && v.key != null ? Qt("" + v.key) :
|
|
339
|
+
function ye(v, R) {
|
|
340
|
+
return typeof v == "object" && v !== null && v.key != null ? Qt("" + v.key) : R.toString(36);
|
|
341
341
|
}
|
|
342
342
|
function Se(v) {
|
|
343
343
|
switch (v.status) {
|
|
@@ -347,11 +347,11 @@ function ky() {
|
|
|
347
347
|
throw v.reason;
|
|
348
348
|
default:
|
|
349
349
|
switch (typeof v.status == "string" ? v.then(ot, ot) : (v.status = "pending", v.then(
|
|
350
|
-
function(
|
|
351
|
-
v.status === "pending" && (v.status = "fulfilled", v.value =
|
|
350
|
+
function(R) {
|
|
351
|
+
v.status === "pending" && (v.status = "fulfilled", v.value = R);
|
|
352
352
|
},
|
|
353
|
-
function(
|
|
354
|
-
v.status === "pending" && (v.status = "rejected", v.reason =
|
|
353
|
+
function(R) {
|
|
354
|
+
v.status === "pending" && (v.status = "rejected", v.reason = R);
|
|
355
355
|
}
|
|
356
356
|
)), v.status) {
|
|
357
357
|
case "fulfilled":
|
|
@@ -362,7 +362,7 @@ function ky() {
|
|
|
362
362
|
}
|
|
363
363
|
throw v;
|
|
364
364
|
}
|
|
365
|
-
function D(v,
|
|
365
|
+
function D(v, R, K, I, ct) {
|
|
366
366
|
var dt = typeof v;
|
|
367
367
|
(dt === "undefined" || dt === "boolean") && (v = null);
|
|
368
368
|
var xt = !1;
|
|
@@ -383,40 +383,40 @@ function ky() {
|
|
|
383
383
|
case _:
|
|
384
384
|
return xt = v._init, D(
|
|
385
385
|
xt(v._payload),
|
|
386
|
-
|
|
387
|
-
|
|
386
|
+
R,
|
|
387
|
+
K,
|
|
388
388
|
I,
|
|
389
389
|
ct
|
|
390
390
|
);
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
393
|
if (xt)
|
|
394
|
-
return ct = ct(v), xt = I === "" ? "." + ye(v, 0) : I, k(ct) ? (
|
|
394
|
+
return ct = ct(v), xt = I === "" ? "." + ye(v, 0) : I, k(ct) ? (K = "", xt != null && (K = xt.replace(kt, "$&/") + "/"), D(ct, R, K, "", function(bt) {
|
|
395
395
|
return bt;
|
|
396
396
|
})) : ct != null && (At(ct) && (ct = Y(
|
|
397
397
|
ct,
|
|
398
|
-
|
|
398
|
+
K + (ct.key == null || v && v.key === ct.key ? "" : ("" + ct.key).replace(
|
|
399
399
|
kt,
|
|
400
400
|
"$&/"
|
|
401
401
|
) + "/") + xt
|
|
402
|
-
)),
|
|
402
|
+
)), R.push(ct)), 1;
|
|
403
403
|
xt = 0;
|
|
404
404
|
var oe = I === "" ? "." : I + ":";
|
|
405
405
|
if (k(v))
|
|
406
406
|
for (var it = 0; it < v.length; it++)
|
|
407
407
|
I = v[it], dt = oe + ye(I, it), xt += D(
|
|
408
408
|
I,
|
|
409
|
-
|
|
410
|
-
|
|
409
|
+
R,
|
|
410
|
+
K,
|
|
411
411
|
dt,
|
|
412
412
|
ct
|
|
413
413
|
);
|
|
414
|
-
else if (it =
|
|
414
|
+
else if (it = V(v), typeof it == "function")
|
|
415
415
|
for (v = it.call(v), it = 0; !(I = v.next()).done; )
|
|
416
416
|
I = I.value, dt = oe + ye(I, it++), xt += D(
|
|
417
417
|
I,
|
|
418
|
-
|
|
419
|
-
|
|
418
|
+
R,
|
|
419
|
+
K,
|
|
420
420
|
dt,
|
|
421
421
|
ct
|
|
422
422
|
);
|
|
@@ -424,48 +424,48 @@ function ky() {
|
|
|
424
424
|
if (typeof v.then == "function")
|
|
425
425
|
return D(
|
|
426
426
|
Se(v),
|
|
427
|
-
|
|
428
|
-
|
|
427
|
+
R,
|
|
428
|
+
K,
|
|
429
429
|
I,
|
|
430
430
|
ct
|
|
431
431
|
);
|
|
432
|
-
throw
|
|
433
|
-
"Objects are not valid as a React child (found: " + (
|
|
432
|
+
throw R = String(v), Error(
|
|
433
|
+
"Objects are not valid as a React child (found: " + (R === "[object Object]" ? "object with keys {" + Object.keys(v).join(", ") + "}" : R) + "). If you meant to render a collection of children, use an array instead."
|
|
434
434
|
);
|
|
435
435
|
}
|
|
436
436
|
return xt;
|
|
437
437
|
}
|
|
438
|
-
function X(v,
|
|
438
|
+
function X(v, R, K) {
|
|
439
439
|
if (v == null) return v;
|
|
440
440
|
var I = [], ct = 0;
|
|
441
441
|
return D(v, I, "", "", function(dt) {
|
|
442
|
-
return
|
|
442
|
+
return R.call(K, dt, ct++);
|
|
443
443
|
}), I;
|
|
444
444
|
}
|
|
445
445
|
function lt(v) {
|
|
446
446
|
if (v._status === -1) {
|
|
447
|
-
var
|
|
448
|
-
|
|
449
|
-
function(
|
|
450
|
-
(v._status === 0 || v._status === -1) && (v._status = 1, v._result =
|
|
447
|
+
var R = v._result;
|
|
448
|
+
R = R(), R.then(
|
|
449
|
+
function(K) {
|
|
450
|
+
(v._status === 0 || v._status === -1) && (v._status = 1, v._result = K);
|
|
451
451
|
},
|
|
452
|
-
function(
|
|
453
|
-
(v._status === 0 || v._status === -1) && (v._status = 2, v._result =
|
|
452
|
+
function(K) {
|
|
453
|
+
(v._status === 0 || v._status === -1) && (v._status = 2, v._result = K);
|
|
454
454
|
}
|
|
455
|
-
), v._status === -1 && (v._status = 0, v._result =
|
|
455
|
+
), v._status === -1 && (v._status = 0, v._result = R);
|
|
456
456
|
}
|
|
457
457
|
if (v._status === 1) return v._result.default;
|
|
458
458
|
throw v._result;
|
|
459
459
|
}
|
|
460
460
|
var St = typeof reportError == "function" ? reportError : function(v) {
|
|
461
461
|
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
|
|
462
|
-
var
|
|
462
|
+
var R = new window.ErrorEvent("error", {
|
|
463
463
|
bubbles: !0,
|
|
464
464
|
cancelable: !0,
|
|
465
465
|
message: typeof v == "object" && v !== null && typeof v.message == "string" ? String(v.message) : String(v),
|
|
466
466
|
error: v
|
|
467
467
|
});
|
|
468
|
-
if (!window.dispatchEvent(
|
|
468
|
+
if (!window.dispatchEvent(R)) return;
|
|
469
469
|
} else if (typeof process == "object" && typeof process.emit == "function") {
|
|
470
470
|
process.emit("uncaughtException", v);
|
|
471
471
|
return;
|
|
@@ -473,24 +473,24 @@ function ky() {
|
|
|
473
473
|
console.error(v);
|
|
474
474
|
}, Bt = {
|
|
475
475
|
map: X,
|
|
476
|
-
forEach: function(v,
|
|
476
|
+
forEach: function(v, R, K) {
|
|
477
477
|
X(
|
|
478
478
|
v,
|
|
479
479
|
function() {
|
|
480
|
-
|
|
480
|
+
R.apply(this, arguments);
|
|
481
481
|
},
|
|
482
|
-
|
|
482
|
+
K
|
|
483
483
|
);
|
|
484
484
|
},
|
|
485
485
|
count: function(v) {
|
|
486
|
-
var
|
|
486
|
+
var R = 0;
|
|
487
487
|
return X(v, function() {
|
|
488
|
-
|
|
489
|
-
}),
|
|
488
|
+
R++;
|
|
489
|
+
}), R;
|
|
490
490
|
},
|
|
491
491
|
toArray: function(v) {
|
|
492
|
-
return X(v, function(
|
|
493
|
-
return
|
|
492
|
+
return X(v, function(R) {
|
|
493
|
+
return R;
|
|
494
494
|
}) || [];
|
|
495
495
|
},
|
|
496
496
|
only: function(v) {
|
|
@@ -501,10 +501,10 @@ function ky() {
|
|
|
501
501
|
return v;
|
|
502
502
|
}
|
|
503
503
|
};
|
|
504
|
-
return rt.Activity = O, rt.Children = Bt, rt.Component = J, rt.Fragment = s, rt.Profiler = d, rt.PureComponent = W, rt.StrictMode = c, rt.Suspense = C, rt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
|
504
|
+
return rt.Activity = O, rt.Children = Bt, rt.Component = J, rt.Fragment = s, rt.Profiler = d, rt.PureComponent = W, rt.StrictMode = c, rt.Suspense = C, rt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Z, rt.__COMPILER_RUNTIME = {
|
|
505
505
|
__proto__: null,
|
|
506
506
|
c: function(v) {
|
|
507
|
-
return
|
|
507
|
+
return Z.H.useMemoCache(v);
|
|
508
508
|
}
|
|
509
509
|
}, rt.cache = function(v) {
|
|
510
510
|
return function() {
|
|
@@ -512,17 +512,17 @@ function ky() {
|
|
|
512
512
|
};
|
|
513
513
|
}, rt.cacheSignal = function() {
|
|
514
514
|
return null;
|
|
515
|
-
}, rt.cloneElement = function(v,
|
|
515
|
+
}, rt.cloneElement = function(v, R, K) {
|
|
516
516
|
if (v == null)
|
|
517
517
|
throw Error(
|
|
518
518
|
"The argument must be a React element, but you passed " + v + "."
|
|
519
519
|
);
|
|
520
520
|
var I = L({}, v.props), ct = v.key;
|
|
521
|
-
if (
|
|
522
|
-
for (dt in
|
|
523
|
-
!Ut.call(
|
|
521
|
+
if (R != null)
|
|
522
|
+
for (dt in R.key !== void 0 && (ct = "" + R.key), R)
|
|
523
|
+
!Ut.call(R, dt) || dt === "key" || dt === "__self" || dt === "__source" || dt === "ref" && R.ref === void 0 || (I[dt] = R[dt]);
|
|
524
524
|
var dt = arguments.length - 2;
|
|
525
|
-
if (dt === 1) I.children =
|
|
525
|
+
if (dt === 1) I.children = K;
|
|
526
526
|
else if (1 < dt) {
|
|
527
527
|
for (var xt = Array(dt), oe = 0; oe < dt; oe++)
|
|
528
528
|
xt[oe] = arguments[oe + 2];
|
|
@@ -541,13 +541,13 @@ function ky() {
|
|
|
541
541
|
$$typeof: h,
|
|
542
542
|
_context: v
|
|
543
543
|
}, v;
|
|
544
|
-
}, rt.createElement = function(v,
|
|
544
|
+
}, rt.createElement = function(v, R, K) {
|
|
545
545
|
var I, ct = {}, dt = null;
|
|
546
|
-
if (
|
|
547
|
-
for (I in
|
|
548
|
-
Ut.call(
|
|
546
|
+
if (R != null)
|
|
547
|
+
for (I in R.key !== void 0 && (dt = "" + R.key), R)
|
|
548
|
+
Ut.call(R, I) && I !== "key" && I !== "__self" && I !== "__source" && (ct[I] = R[I]);
|
|
549
549
|
var xt = arguments.length - 2;
|
|
550
|
-
if (xt === 1) ct.children =
|
|
550
|
+
if (xt === 1) ct.children = K;
|
|
551
551
|
else if (1 < xt) {
|
|
552
552
|
for (var oe = Array(xt), it = 0; it < xt; it++)
|
|
553
553
|
oe[it] = arguments[it + 2];
|
|
@@ -567,66 +567,66 @@ function ky() {
|
|
|
567
567
|
_payload: { _status: -1, _result: v },
|
|
568
568
|
_init: lt
|
|
569
569
|
};
|
|
570
|
-
}, rt.memo = function(v,
|
|
570
|
+
}, rt.memo = function(v, R) {
|
|
571
571
|
return {
|
|
572
572
|
$$typeof: m,
|
|
573
573
|
type: v,
|
|
574
|
-
compare:
|
|
574
|
+
compare: R === void 0 ? null : R
|
|
575
575
|
};
|
|
576
576
|
}, rt.startTransition = function(v) {
|
|
577
|
-
var
|
|
578
|
-
|
|
577
|
+
var R = Z.T, K = {};
|
|
578
|
+
Z.T = K;
|
|
579
579
|
try {
|
|
580
|
-
var I = v(), ct =
|
|
581
|
-
ct !== null && ct(
|
|
580
|
+
var I = v(), ct = Z.S;
|
|
581
|
+
ct !== null && ct(K, I), typeof I == "object" && I !== null && typeof I.then == "function" && I.then(ot, St);
|
|
582
582
|
} catch (dt) {
|
|
583
583
|
St(dt);
|
|
584
584
|
} finally {
|
|
585
|
-
|
|
585
|
+
R !== null && K.types !== null && (R.types = K.types), Z.T = R;
|
|
586
586
|
}
|
|
587
587
|
}, rt.unstable_useCacheRefresh = function() {
|
|
588
|
-
return
|
|
588
|
+
return Z.H.useCacheRefresh();
|
|
589
589
|
}, rt.use = function(v) {
|
|
590
|
-
return
|
|
591
|
-
}, rt.useActionState = function(v,
|
|
592
|
-
return
|
|
593
|
-
}, rt.useCallback = function(v,
|
|
594
|
-
return
|
|
590
|
+
return Z.H.use(v);
|
|
591
|
+
}, rt.useActionState = function(v, R, K) {
|
|
592
|
+
return Z.H.useActionState(v, R, K);
|
|
593
|
+
}, rt.useCallback = function(v, R) {
|
|
594
|
+
return Z.H.useCallback(v, R);
|
|
595
595
|
}, rt.useContext = function(v) {
|
|
596
|
-
return
|
|
596
|
+
return Z.H.useContext(v);
|
|
597
597
|
}, rt.useDebugValue = function() {
|
|
598
|
-
}, rt.useDeferredValue = function(v,
|
|
599
|
-
return
|
|
600
|
-
}, rt.useEffect = function(v,
|
|
601
|
-
return
|
|
598
|
+
}, rt.useDeferredValue = function(v, R) {
|
|
599
|
+
return Z.H.useDeferredValue(v, R);
|
|
600
|
+
}, rt.useEffect = function(v, R) {
|
|
601
|
+
return Z.H.useEffect(v, R);
|
|
602
602
|
}, rt.useEffectEvent = function(v) {
|
|
603
|
-
return
|
|
603
|
+
return Z.H.useEffectEvent(v);
|
|
604
604
|
}, rt.useId = function() {
|
|
605
|
-
return
|
|
606
|
-
}, rt.useImperativeHandle = function(v,
|
|
607
|
-
return
|
|
608
|
-
}, rt.useInsertionEffect = function(v,
|
|
609
|
-
return
|
|
610
|
-
}, rt.useLayoutEffect = function(v,
|
|
611
|
-
return
|
|
612
|
-
}, rt.useMemo = function(v,
|
|
613
|
-
return
|
|
614
|
-
}, rt.useOptimistic = function(v,
|
|
615
|
-
return
|
|
616
|
-
}, rt.useReducer = function(v,
|
|
617
|
-
return
|
|
605
|
+
return Z.H.useId();
|
|
606
|
+
}, rt.useImperativeHandle = function(v, R, K) {
|
|
607
|
+
return Z.H.useImperativeHandle(v, R, K);
|
|
608
|
+
}, rt.useInsertionEffect = function(v, R) {
|
|
609
|
+
return Z.H.useInsertionEffect(v, R);
|
|
610
|
+
}, rt.useLayoutEffect = function(v, R) {
|
|
611
|
+
return Z.H.useLayoutEffect(v, R);
|
|
612
|
+
}, rt.useMemo = function(v, R) {
|
|
613
|
+
return Z.H.useMemo(v, R);
|
|
614
|
+
}, rt.useOptimistic = function(v, R) {
|
|
615
|
+
return Z.H.useOptimistic(v, R);
|
|
616
|
+
}, rt.useReducer = function(v, R, K) {
|
|
617
|
+
return Z.H.useReducer(v, R, K);
|
|
618
618
|
}, rt.useRef = function(v) {
|
|
619
|
-
return
|
|
619
|
+
return Z.H.useRef(v);
|
|
620
620
|
}, rt.useState = function(v) {
|
|
621
|
-
return
|
|
622
|
-
}, rt.useSyncExternalStore = function(v,
|
|
623
|
-
return
|
|
621
|
+
return Z.H.useState(v);
|
|
622
|
+
}, rt.useSyncExternalStore = function(v, R, K) {
|
|
623
|
+
return Z.H.useSyncExternalStore(
|
|
624
624
|
v,
|
|
625
|
-
|
|
626
|
-
|
|
625
|
+
R,
|
|
626
|
+
K
|
|
627
627
|
);
|
|
628
628
|
}, rt.useTransition = function() {
|
|
629
|
-
return
|
|
629
|
+
return Z.H.useTransition();
|
|
630
630
|
}, rt.version = "19.2.3", rt;
|
|
631
631
|
}
|
|
632
632
|
var ig;
|
|
@@ -701,19 +701,19 @@ function qy() {
|
|
|
701
701
|
typeof C == "string" && c.d.D(C);
|
|
702
702
|
}, ge.preinit = function(C, m) {
|
|
703
703
|
if (typeof C == "string" && m && typeof m.as == "string") {
|
|
704
|
-
var _ = m.as, O = x(_, m.crossOrigin), j = typeof m.integrity == "string" ? m.integrity : void 0,
|
|
704
|
+
var _ = m.as, O = x(_, m.crossOrigin), j = typeof m.integrity == "string" ? m.integrity : void 0, V = typeof m.fetchPriority == "string" ? m.fetchPriority : void 0;
|
|
705
705
|
_ === "style" ? c.d.S(
|
|
706
706
|
C,
|
|
707
707
|
typeof m.precedence == "string" ? m.precedence : void 0,
|
|
708
708
|
{
|
|
709
709
|
crossOrigin: O,
|
|
710
710
|
integrity: j,
|
|
711
|
-
fetchPriority:
|
|
711
|
+
fetchPriority: V
|
|
712
712
|
}
|
|
713
713
|
) : _ === "script" && c.d.X(C, {
|
|
714
714
|
crossOrigin: O,
|
|
715
715
|
integrity: j,
|
|
716
|
-
fetchPriority:
|
|
716
|
+
fetchPriority: V,
|
|
717
717
|
nonce: typeof m.nonce == "string" ? m.nonce : void 0
|
|
718
718
|
});
|
|
719
719
|
}
|
|
@@ -894,7 +894,7 @@ function Ly() {
|
|
|
894
894
|
}
|
|
895
895
|
return null;
|
|
896
896
|
}
|
|
897
|
-
var O = Object.assign, j = /* @__PURE__ */ Symbol.for("react.element"),
|
|
897
|
+
var O = Object.assign, j = /* @__PURE__ */ Symbol.for("react.element"), V = /* @__PURE__ */ Symbol.for("react.transitional.element"), Q = /* @__PURE__ */ Symbol.for("react.portal"), L = /* @__PURE__ */ Symbol.for("react.fragment"), H = /* @__PURE__ */ Symbol.for("react.strict_mode"), J = /* @__PURE__ */ Symbol.for("react.profiler"), P = /* @__PURE__ */ Symbol.for("react.consumer"), W = /* @__PURE__ */ Symbol.for("react.context"), st = /* @__PURE__ */ Symbol.for("react.forward_ref"), k = /* @__PURE__ */ Symbol.for("react.suspense"), ot = /* @__PURE__ */ Symbol.for("react.suspense_list"), Z = /* @__PURE__ */ Symbol.for("react.memo"), Ut = /* @__PURE__ */ Symbol.for("react.lazy"), Gt = /* @__PURE__ */ Symbol.for("react.activity"), Y = /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel"), At = Symbol.iterator;
|
|
898
898
|
function Qt(t) {
|
|
899
899
|
return t === null || typeof t != "object" ? null : (t = At && t[At] || t["@@iterator"], typeof t == "function" ? t : null);
|
|
900
900
|
}
|
|
@@ -929,7 +929,7 @@ function Ly() {
|
|
|
929
929
|
case st:
|
|
930
930
|
var e = t.render;
|
|
931
931
|
return t = t.displayName, t || (t = e.displayName || e.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
|
|
932
|
-
case
|
|
932
|
+
case Z:
|
|
933
933
|
return e = t.displayName || null, e !== null ? e : ye(t.type) || "Memo";
|
|
934
934
|
case Ut:
|
|
935
935
|
e = t._payload, t = t._init;
|
|
@@ -949,15 +949,15 @@ function Ly() {
|
|
|
949
949
|
function v(t) {
|
|
950
950
|
return { current: t };
|
|
951
951
|
}
|
|
952
|
-
function
|
|
952
|
+
function R(t) {
|
|
953
953
|
0 > Bt || (t.current = St[Bt], St[Bt] = null, Bt--);
|
|
954
954
|
}
|
|
955
|
-
function
|
|
955
|
+
function K(t, e) {
|
|
956
956
|
Bt++, St[Bt] = t.current, t.current = e;
|
|
957
957
|
}
|
|
958
958
|
var I = v(null), ct = v(null), dt = v(null), xt = v(null);
|
|
959
959
|
function oe(t, e) {
|
|
960
|
-
switch (
|
|
960
|
+
switch (K(dt, e), K(ct, t), K(I, null), e.nodeType) {
|
|
961
961
|
case 9:
|
|
962
962
|
case 11:
|
|
963
963
|
t = (t = e.documentElement) && (t = t.namespaceURI) ? Ch(t) : 0;
|
|
@@ -977,18 +977,18 @@ function Ly() {
|
|
|
977
977
|
t = 0;
|
|
978
978
|
}
|
|
979
979
|
}
|
|
980
|
-
|
|
980
|
+
R(I), K(I, t);
|
|
981
981
|
}
|
|
982
982
|
function it() {
|
|
983
|
-
|
|
983
|
+
R(I), R(ct), R(dt);
|
|
984
984
|
}
|
|
985
985
|
function bt(t) {
|
|
986
|
-
t.memoizedState !== null &&
|
|
986
|
+
t.memoizedState !== null && K(xt, t);
|
|
987
987
|
var e = I.current, n = Eh(e, t.type);
|
|
988
|
-
e !== n && (
|
|
988
|
+
e !== n && (K(ct, t), K(I, n));
|
|
989
989
|
}
|
|
990
990
|
function Mt(t) {
|
|
991
|
-
ct.current === t && (
|
|
991
|
+
ct.current === t && (R(I), R(ct)), xt.current === t && (R(xt), gi._currentValue = lt);
|
|
992
992
|
}
|
|
993
993
|
var be, Tt;
|
|
994
994
|
function Ct(t) {
|
|
@@ -2398,7 +2398,7 @@ Error generating stack: ` + l.message + `
|
|
|
2398
2398
|
case st:
|
|
2399
2399
|
r = 11;
|
|
2400
2400
|
break t;
|
|
2401
|
-
case
|
|
2401
|
+
case Z:
|
|
2402
2402
|
r = 14;
|
|
2403
2403
|
break t;
|
|
2404
2404
|
case Ut:
|
|
@@ -2581,10 +2581,10 @@ Error generating stack: ` + l.message + `
|
|
|
2581
2581
|
}
|
|
2582
2582
|
var Gu = v(null), yl = null, xn = null;
|
|
2583
2583
|
function kn(t, e, n) {
|
|
2584
|
-
|
|
2584
|
+
K(Gu, e._currentValue), e._currentValue = n;
|
|
2585
2585
|
}
|
|
2586
2586
|
function Sn(t) {
|
|
2587
|
-
t._currentValue = Gu.current,
|
|
2587
|
+
t._currentValue = Gu.current, R(Gu);
|
|
2588
2588
|
}
|
|
2589
2589
|
function Qu(t, e, n) {
|
|
2590
2590
|
for (; t !== null; ) {
|
|
@@ -2773,7 +2773,7 @@ Error generating stack: ` + l.message + `
|
|
|
2773
2773
|
return t !== null ? t : qt.pooledCache;
|
|
2774
2774
|
}
|
|
2775
2775
|
function Wi(t, e) {
|
|
2776
|
-
e === null ?
|
|
2776
|
+
e === null ? K(vl, vl.current) : K(vl, e.pool);
|
|
2777
2777
|
}
|
|
2778
2778
|
function rf() {
|
|
2779
2779
|
var t = Ku();
|
|
@@ -2880,16 +2880,16 @@ Error generating stack: ` + l.message + `
|
|
|
2880
2880
|
function r(S) {
|
|
2881
2881
|
return t && S.alternate === null && (S.flags |= 67108866), S;
|
|
2882
2882
|
}
|
|
2883
|
-
function f(S, b, z,
|
|
2884
|
-
return b === null || b.tag !== 6 ? (b = Hu(z, S.mode,
|
|
2883
|
+
function f(S, b, z, $) {
|
|
2884
|
+
return b === null || b.tag !== 6 ? (b = Hu(z, S.mode, $), b.return = S, b) : (b = i(b, z), b.return = S, b);
|
|
2885
2885
|
}
|
|
2886
|
-
function g(S, b, z,
|
|
2886
|
+
function g(S, b, z, $) {
|
|
2887
2887
|
var et = z.type;
|
|
2888
2888
|
return et === L ? B(
|
|
2889
2889
|
S,
|
|
2890
2890
|
b,
|
|
2891
2891
|
z.props.children,
|
|
2892
|
-
|
|
2892
|
+
$,
|
|
2893
2893
|
z.key
|
|
2894
2894
|
) : b !== null && (b.elementType === et || typeof et == "object" && et !== null && et.$$typeof === Ut && xl(et) === b.type) ? (b = i(b, z.props), Xa(b, z), b.return = S, b) : (b = Vi(
|
|
2895
2895
|
z.type,
|
|
@@ -2897,17 +2897,17 @@ Error generating stack: ` + l.message + `
|
|
|
2897
2897
|
z.props,
|
|
2898
2898
|
null,
|
|
2899
2899
|
S.mode,
|
|
2900
|
-
|
|
2900
|
+
$
|
|
2901
2901
|
), Xa(b, z), b.return = S, b);
|
|
2902
2902
|
}
|
|
2903
|
-
function A(S, b, z,
|
|
2904
|
-
return b === null || b.tag !== 4 || b.stateNode.containerInfo !== z.containerInfo || b.stateNode.implementation !== z.implementation ? (b = Uu(z, S.mode,
|
|
2903
|
+
function A(S, b, z, $) {
|
|
2904
|
+
return b === null || b.tag !== 4 || b.stateNode.containerInfo !== z.containerInfo || b.stateNode.implementation !== z.implementation ? (b = Uu(z, S.mode, $), b.return = S, b) : (b = i(b, z.children || []), b.return = S, b);
|
|
2905
2905
|
}
|
|
2906
|
-
function B(S, b, z,
|
|
2906
|
+
function B(S, b, z, $, et) {
|
|
2907
2907
|
return b === null || b.tag !== 7 ? (b = pl(
|
|
2908
2908
|
z,
|
|
2909
2909
|
S.mode,
|
|
2910
|
-
|
|
2910
|
+
$,
|
|
2911
2911
|
et
|
|
2912
2912
|
), b.return = S, b) : (b = i(b, z), b.return = S, b);
|
|
2913
2913
|
}
|
|
@@ -2920,7 +2920,7 @@ Error generating stack: ` + l.message + `
|
|
|
2920
2920
|
), b.return = S, b;
|
|
2921
2921
|
if (typeof b == "object" && b !== null) {
|
|
2922
2922
|
switch (b.$$typeof) {
|
|
2923
|
-
case
|
|
2923
|
+
case V:
|
|
2924
2924
|
return z = Vi(
|
|
2925
2925
|
b.type,
|
|
2926
2926
|
b.key,
|
|
@@ -2957,91 +2957,91 @@ Error generating stack: ` + l.message + `
|
|
|
2957
2957
|
}
|
|
2958
2958
|
return null;
|
|
2959
2959
|
}
|
|
2960
|
-
function M(S, b, z,
|
|
2960
|
+
function M(S, b, z, $) {
|
|
2961
2961
|
var et = b !== null ? b.key : null;
|
|
2962
2962
|
if (typeof z == "string" && z !== "" || typeof z == "number" || typeof z == "bigint")
|
|
2963
|
-
return et !== null ? null : f(S, b, "" + z,
|
|
2963
|
+
return et !== null ? null : f(S, b, "" + z, $);
|
|
2964
2964
|
if (typeof z == "object" && z !== null) {
|
|
2965
2965
|
switch (z.$$typeof) {
|
|
2966
|
-
case
|
|
2967
|
-
return z.key === et ? g(S, b, z,
|
|
2966
|
+
case V:
|
|
2967
|
+
return z.key === et ? g(S, b, z, $) : null;
|
|
2968
2968
|
case Q:
|
|
2969
|
-
return z.key === et ? A(S, b, z,
|
|
2969
|
+
return z.key === et ? A(S, b, z, $) : null;
|
|
2970
2970
|
case Ut:
|
|
2971
|
-
return z = xl(z), M(S, b, z,
|
|
2971
|
+
return z = xl(z), M(S, b, z, $);
|
|
2972
2972
|
}
|
|
2973
2973
|
if (Se(z) || Qt(z))
|
|
2974
|
-
return et !== null ? null : B(S, b, z,
|
|
2974
|
+
return et !== null ? null : B(S, b, z, $, null);
|
|
2975
2975
|
if (typeof z.then == "function")
|
|
2976
2976
|
return M(
|
|
2977
2977
|
S,
|
|
2978
2978
|
b,
|
|
2979
2979
|
Pi(z),
|
|
2980
|
-
|
|
2980
|
+
$
|
|
2981
2981
|
);
|
|
2982
2982
|
if (z.$$typeof === W)
|
|
2983
2983
|
return M(
|
|
2984
2984
|
S,
|
|
2985
2985
|
b,
|
|
2986
2986
|
Ji(S, z),
|
|
2987
|
-
|
|
2987
|
+
$
|
|
2988
2988
|
);
|
|
2989
2989
|
to(S, z);
|
|
2990
2990
|
}
|
|
2991
2991
|
return null;
|
|
2992
2992
|
}
|
|
2993
|
-
function w(S, b, z,
|
|
2994
|
-
if (typeof
|
|
2995
|
-
return S = S.get(z) || null, f(b, S, "" +
|
|
2996
|
-
if (typeof
|
|
2997
|
-
switch (
|
|
2998
|
-
case
|
|
2993
|
+
function w(S, b, z, $, et) {
|
|
2994
|
+
if (typeof $ == "string" && $ !== "" || typeof $ == "number" || typeof $ == "bigint")
|
|
2995
|
+
return S = S.get(z) || null, f(b, S, "" + $, et);
|
|
2996
|
+
if (typeof $ == "object" && $ !== null) {
|
|
2997
|
+
switch ($.$$typeof) {
|
|
2998
|
+
case V:
|
|
2999
2999
|
return S = S.get(
|
|
3000
|
-
|
|
3001
|
-
) || null, g(b, S,
|
|
3000
|
+
$.key === null ? z : $.key
|
|
3001
|
+
) || null, g(b, S, $, et);
|
|
3002
3002
|
case Q:
|
|
3003
3003
|
return S = S.get(
|
|
3004
|
-
|
|
3005
|
-
) || null, A(b, S,
|
|
3004
|
+
$.key === null ? z : $.key
|
|
3005
|
+
) || null, A(b, S, $, et);
|
|
3006
3006
|
case Ut:
|
|
3007
|
-
return
|
|
3007
|
+
return $ = xl($), w(
|
|
3008
3008
|
S,
|
|
3009
3009
|
b,
|
|
3010
3010
|
z,
|
|
3011
|
-
|
|
3011
|
+
$,
|
|
3012
3012
|
et
|
|
3013
3013
|
);
|
|
3014
3014
|
}
|
|
3015
|
-
if (Se(
|
|
3016
|
-
return S = S.get(z) || null, B(b, S,
|
|
3017
|
-
if (typeof
|
|
3015
|
+
if (Se($) || Qt($))
|
|
3016
|
+
return S = S.get(z) || null, B(b, S, $, et, null);
|
|
3017
|
+
if (typeof $.then == "function")
|
|
3018
3018
|
return w(
|
|
3019
3019
|
S,
|
|
3020
3020
|
b,
|
|
3021
3021
|
z,
|
|
3022
|
-
Pi(
|
|
3022
|
+
Pi($),
|
|
3023
3023
|
et
|
|
3024
3024
|
);
|
|
3025
|
-
if (
|
|
3025
|
+
if ($.$$typeof === W)
|
|
3026
3026
|
return w(
|
|
3027
3027
|
S,
|
|
3028
3028
|
b,
|
|
3029
3029
|
z,
|
|
3030
|
-
Ji(b,
|
|
3030
|
+
Ji(b, $),
|
|
3031
3031
|
et
|
|
3032
3032
|
);
|
|
3033
|
-
to(b,
|
|
3033
|
+
to(b, $);
|
|
3034
3034
|
}
|
|
3035
3035
|
return null;
|
|
3036
3036
|
}
|
|
3037
|
-
function F(S, b, z,
|
|
3037
|
+
function F(S, b, z, $) {
|
|
3038
3038
|
for (var et = null, Et = null, tt = b, ht = b = 0, yt = null; tt !== null && ht < z.length; ht++) {
|
|
3039
3039
|
tt.index > ht ? (yt = tt, tt = null) : yt = tt.sibling;
|
|
3040
3040
|
var zt = M(
|
|
3041
3041
|
S,
|
|
3042
3042
|
tt,
|
|
3043
3043
|
z[ht],
|
|
3044
|
-
|
|
3044
|
+
$
|
|
3045
3045
|
);
|
|
3046
3046
|
if (zt === null) {
|
|
3047
3047
|
tt === null && (tt = yt);
|
|
@@ -3053,7 +3053,7 @@ Error generating stack: ` + l.message + `
|
|
|
3053
3053
|
return n(S, tt), vt && vn(S, ht), et;
|
|
3054
3054
|
if (tt === null) {
|
|
3055
3055
|
for (; ht < z.length; ht++)
|
|
3056
|
-
tt = N(S, z[ht],
|
|
3056
|
+
tt = N(S, z[ht], $), tt !== null && (b = o(
|
|
3057
3057
|
tt,
|
|
3058
3058
|
b,
|
|
3059
3059
|
ht
|
|
@@ -3066,7 +3066,7 @@ Error generating stack: ` + l.message + `
|
|
|
3066
3066
|
S,
|
|
3067
3067
|
ht,
|
|
3068
3068
|
z[ht],
|
|
3069
|
-
|
|
3069
|
+
$
|
|
3070
3070
|
), yt !== null && (t && yt.alternate !== null && tt.delete(
|
|
3071
3071
|
yt.key === null ? ht : yt.key
|
|
3072
3072
|
), b = o(
|
|
@@ -3078,11 +3078,11 @@ Error generating stack: ` + l.message + `
|
|
|
3078
3078
|
return e(S, ll);
|
|
3079
3079
|
}), vt && vn(S, ht), et;
|
|
3080
3080
|
}
|
|
3081
|
-
function at(S, b, z,
|
|
3081
|
+
function at(S, b, z, $) {
|
|
3082
3082
|
if (z == null) throw Error(c(151));
|
|
3083
3083
|
for (var et = null, Et = null, tt = b, ht = b = 0, yt = null, zt = z.next(); tt !== null && !zt.done; ht++, zt = z.next()) {
|
|
3084
3084
|
tt.index > ht ? (yt = tt, tt = null) : yt = tt.sibling;
|
|
3085
|
-
var ll = M(S, tt, zt.value,
|
|
3085
|
+
var ll = M(S, tt, zt.value, $);
|
|
3086
3086
|
if (ll === null) {
|
|
3087
3087
|
tt === null && (tt = yt);
|
|
3088
3088
|
break;
|
|
@@ -3093,19 +3093,19 @@ Error generating stack: ` + l.message + `
|
|
|
3093
3093
|
return n(S, tt), vt && vn(S, ht), et;
|
|
3094
3094
|
if (tt === null) {
|
|
3095
3095
|
for (; !zt.done; ht++, zt = z.next())
|
|
3096
|
-
zt = N(S, zt.value,
|
|
3096
|
+
zt = N(S, zt.value, $), zt !== null && (b = o(zt, b, ht), Et === null ? et = zt : Et.sibling = zt, Et = zt);
|
|
3097
3097
|
return vt && vn(S, ht), et;
|
|
3098
3098
|
}
|
|
3099
3099
|
for (tt = l(tt); !zt.done; ht++, zt = z.next())
|
|
3100
|
-
zt = w(tt, S, ht, zt.value,
|
|
3100
|
+
zt = w(tt, S, ht, zt.value, $), zt !== null && (t && zt.alternate !== null && tt.delete(zt.key === null ? ht : zt.key), b = o(zt, b, ht), Et === null ? et = zt : Et.sibling = zt, Et = zt);
|
|
3101
3101
|
return t && tt.forEach(function(By) {
|
|
3102
3102
|
return e(S, By);
|
|
3103
3103
|
}), vt && vn(S, ht), et;
|
|
3104
3104
|
}
|
|
3105
|
-
function Ht(S, b, z,
|
|
3105
|
+
function Ht(S, b, z, $) {
|
|
3106
3106
|
if (typeof z == "object" && z !== null && z.type === L && z.key === null && (z = z.props.children), typeof z == "object" && z !== null) {
|
|
3107
3107
|
switch (z.$$typeof) {
|
|
3108
|
-
case
|
|
3108
|
+
case V:
|
|
3109
3109
|
t: {
|
|
3110
3110
|
for (var et = z.key; b !== null; ) {
|
|
3111
3111
|
if (b.key === et) {
|
|
@@ -3114,17 +3114,17 @@ Error generating stack: ` + l.message + `
|
|
|
3114
3114
|
n(
|
|
3115
3115
|
S,
|
|
3116
3116
|
b.sibling
|
|
3117
|
-
),
|
|
3117
|
+
), $ = i(
|
|
3118
3118
|
b,
|
|
3119
3119
|
z.props.children
|
|
3120
|
-
),
|
|
3120
|
+
), $.return = S, S = $;
|
|
3121
3121
|
break t;
|
|
3122
3122
|
}
|
|
3123
3123
|
} else if (b.elementType === et || typeof et == "object" && et !== null && et.$$typeof === Ut && xl(et) === b.type) {
|
|
3124
3124
|
n(
|
|
3125
3125
|
S,
|
|
3126
3126
|
b.sibling
|
|
3127
|
-
),
|
|
3127
|
+
), $ = i(b, z.props), Xa($, z), $.return = S, S = $;
|
|
3128
3128
|
break t;
|
|
3129
3129
|
}
|
|
3130
3130
|
n(S, b);
|
|
@@ -3132,19 +3132,19 @@ Error generating stack: ` + l.message + `
|
|
|
3132
3132
|
} else e(S, b);
|
|
3133
3133
|
b = b.sibling;
|
|
3134
3134
|
}
|
|
3135
|
-
z.type === L ? (
|
|
3135
|
+
z.type === L ? ($ = pl(
|
|
3136
3136
|
z.props.children,
|
|
3137
3137
|
S.mode,
|
|
3138
|
-
|
|
3138
|
+
$,
|
|
3139
3139
|
z.key
|
|
3140
|
-
),
|
|
3140
|
+
), $.return = S, S = $) : ($ = Vi(
|
|
3141
3141
|
z.type,
|
|
3142
3142
|
z.key,
|
|
3143
3143
|
z.props,
|
|
3144
3144
|
null,
|
|
3145
3145
|
S.mode,
|
|
3146
|
-
|
|
3147
|
-
), Xa(
|
|
3146
|
+
$
|
|
3147
|
+
), Xa($, z), $.return = S, S = $);
|
|
3148
3148
|
}
|
|
3149
3149
|
return r(S);
|
|
3150
3150
|
case Q:
|
|
@@ -3155,7 +3155,7 @@ Error generating stack: ` + l.message + `
|
|
|
3155
3155
|
n(
|
|
3156
3156
|
S,
|
|
3157
3157
|
b.sibling
|
|
3158
|
-
),
|
|
3158
|
+
), $ = i(b, z.children || []), $.return = S, S = $;
|
|
3159
3159
|
break t;
|
|
3160
3160
|
} else {
|
|
3161
3161
|
n(S, b);
|
|
@@ -3164,7 +3164,7 @@ Error generating stack: ` + l.message + `
|
|
|
3164
3164
|
else e(S, b);
|
|
3165
3165
|
b = b.sibling;
|
|
3166
3166
|
}
|
|
3167
|
-
|
|
3167
|
+
$ = Uu(z, S.mode, $), $.return = S, S = $;
|
|
3168
3168
|
}
|
|
3169
3169
|
return r(S);
|
|
3170
3170
|
case Ut:
|
|
@@ -3172,7 +3172,7 @@ Error generating stack: ` + l.message + `
|
|
|
3172
3172
|
S,
|
|
3173
3173
|
b,
|
|
3174
3174
|
z,
|
|
3175
|
-
|
|
3175
|
+
$
|
|
3176
3176
|
);
|
|
3177
3177
|
}
|
|
3178
3178
|
if (Se(z))
|
|
@@ -3180,7 +3180,7 @@ Error generating stack: ` + l.message + `
|
|
|
3180
3180
|
S,
|
|
3181
3181
|
b,
|
|
3182
3182
|
z,
|
|
3183
|
-
|
|
3183
|
+
$
|
|
3184
3184
|
);
|
|
3185
3185
|
if (Qt(z)) {
|
|
3186
3186
|
if (et = Qt(z), typeof et != "function") throw Error(c(150));
|
|
@@ -3188,7 +3188,7 @@ Error generating stack: ` + l.message + `
|
|
|
3188
3188
|
S,
|
|
3189
3189
|
b,
|
|
3190
3190
|
z,
|
|
3191
|
-
|
|
3191
|
+
$
|
|
3192
3192
|
);
|
|
3193
3193
|
}
|
|
3194
3194
|
if (typeof z.then == "function")
|
|
@@ -3196,33 +3196,33 @@ Error generating stack: ` + l.message + `
|
|
|
3196
3196
|
S,
|
|
3197
3197
|
b,
|
|
3198
3198
|
Pi(z),
|
|
3199
|
-
|
|
3199
|
+
$
|
|
3200
3200
|
);
|
|
3201
3201
|
if (z.$$typeof === W)
|
|
3202
3202
|
return Ht(
|
|
3203
3203
|
S,
|
|
3204
3204
|
b,
|
|
3205
3205
|
Ji(S, z),
|
|
3206
|
-
|
|
3206
|
+
$
|
|
3207
3207
|
);
|
|
3208
3208
|
to(S, z);
|
|
3209
3209
|
}
|
|
3210
|
-
return typeof z == "string" && z !== "" || typeof z == "number" || typeof z == "bigint" ? (z = "" + z, b !== null && b.tag === 6 ? (n(S, b.sibling),
|
|
3210
|
+
return typeof z == "string" && z !== "" || typeof z == "number" || typeof z == "bigint" ? (z = "" + z, b !== null && b.tag === 6 ? (n(S, b.sibling), $ = i(b, z), $.return = S, S = $) : (n(S, b), $ = Hu(z, S.mode, $), $.return = S, S = $), r(S)) : n(S, b);
|
|
3211
3211
|
}
|
|
3212
|
-
return function(S, b, z,
|
|
3212
|
+
return function(S, b, z, $) {
|
|
3213
3213
|
try {
|
|
3214
3214
|
Qa = 0;
|
|
3215
3215
|
var et = Ht(
|
|
3216
3216
|
S,
|
|
3217
3217
|
b,
|
|
3218
3218
|
z,
|
|
3219
|
-
|
|
3219
|
+
$
|
|
3220
3220
|
);
|
|
3221
3221
|
return Fl = null, et;
|
|
3222
3222
|
} catch (tt) {
|
|
3223
3223
|
if (tt === Wl || tt === Fi) throw tt;
|
|
3224
3224
|
var Et = $e(29, tt, null, S.mode);
|
|
3225
|
-
return Et.lanes =
|
|
3225
|
+
return Et.lanes = $, Et.return = S, Et;
|
|
3226
3226
|
}
|
|
3227
3227
|
};
|
|
3228
3228
|
}
|
|
@@ -3376,30 +3376,30 @@ Error generating stack: ` + l.message + `
|
|
|
3376
3376
|
}
|
|
3377
3377
|
var Il = v(null), eo = v(0);
|
|
3378
3378
|
function bf(t, e) {
|
|
3379
|
-
t = wn,
|
|
3379
|
+
t = wn, K(eo, t), K(Il, e), wn = t | e.baseLanes;
|
|
3380
3380
|
}
|
|
3381
3381
|
function tc() {
|
|
3382
|
-
|
|
3382
|
+
K(eo, wn), K(Il, Il.current);
|
|
3383
3383
|
}
|
|
3384
3384
|
function ec() {
|
|
3385
|
-
wn = eo.current,
|
|
3385
|
+
wn = eo.current, R(Il), R(eo);
|
|
3386
3386
|
}
|
|
3387
3387
|
var Ne = v(null), Ke = null;
|
|
3388
3388
|
function Gn(t) {
|
|
3389
3389
|
var e = t.alternate;
|
|
3390
|
-
|
|
3390
|
+
K(Jt, Jt.current & 1), K(Ne, t), Ke === null && (e === null || Il.current !== null || e.memoizedState !== null) && (Ke = t);
|
|
3391
3391
|
}
|
|
3392
3392
|
function nc(t) {
|
|
3393
|
-
|
|
3393
|
+
K(Jt, Jt.current), K(Ne, t), Ke === null && (Ke = t);
|
|
3394
3394
|
}
|
|
3395
3395
|
function vf(t) {
|
|
3396
|
-
t.tag === 22 ? (
|
|
3396
|
+
t.tag === 22 ? (K(Jt, Jt.current), K(Ne, t), Ke === null && (Ke = t)) : Qn();
|
|
3397
3397
|
}
|
|
3398
3398
|
function Qn() {
|
|
3399
|
-
|
|
3399
|
+
K(Jt, Jt.current), K(Ne, Ne.current);
|
|
3400
3400
|
}
|
|
3401
3401
|
function je(t) {
|
|
3402
|
-
|
|
3402
|
+
R(Ne), Ke === t && (Ke = null), R(Jt);
|
|
3403
3403
|
}
|
|
3404
3404
|
var Jt = v(0);
|
|
3405
3405
|
function no(t) {
|
|
@@ -5038,7 +5038,7 @@ Error generating stack: ` + l.message + `
|
|
|
5038
5038
|
var l = e.pendingProps, i = l.revealOrder, o = l.tail;
|
|
5039
5039
|
l = l.children;
|
|
5040
5040
|
var r = Jt.current, f = (r & 2) !== 0;
|
|
5041
|
-
if (f ? (r = r & 1 | 2, e.flags |= 128) : r &= 1,
|
|
5041
|
+
if (f ? (r = r & 1 | 2, e.flags |= 128) : r &= 1, K(Jt, r), se(t, e, l, n), l = vt ? qa : 0, !f && t !== null && (t.flags & 128) !== 0)
|
|
5042
5042
|
t: for (t = e.child; t !== null; ) {
|
|
5043
5043
|
if (t.tag === 13)
|
|
5044
5044
|
t.memoizedState !== null && Td(t, n, e);
|
|
@@ -5174,7 +5174,7 @@ Error generating stack: ` + l.message + `
|
|
|
5174
5174
|
);
|
|
5175
5175
|
e.flags |= 128;
|
|
5176
5176
|
}
|
|
5177
|
-
if (i = e.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null),
|
|
5177
|
+
if (i = e.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), K(Jt, Jt.current), l) break;
|
|
5178
5178
|
return null;
|
|
5179
5179
|
case 22:
|
|
5180
5180
|
return e.lanes = 0, pd(
|
|
@@ -5233,7 +5233,7 @@ Error generating stack: ` + l.message + `
|
|
|
5233
5233
|
n
|
|
5234
5234
|
);
|
|
5235
5235
|
break t;
|
|
5236
|
-
} else if (i ===
|
|
5236
|
+
} else if (i === Z) {
|
|
5237
5237
|
e.tag = 14, e = hd(
|
|
5238
5238
|
null,
|
|
5239
5239
|
e,
|
|
@@ -5710,7 +5710,7 @@ Error generating stack: ` + l.message + `
|
|
|
5710
5710
|
case 10:
|
|
5711
5711
|
return Sn(e.type), Lt(e), null;
|
|
5712
5712
|
case 19:
|
|
5713
|
-
if (
|
|
5713
|
+
if (R(Jt), l = e.memoizedState, l === null) return Lt(e), null;
|
|
5714
5714
|
if (i = (e.flags & 128) !== 0, o = l.rendering, o === null)
|
|
5715
5715
|
if (i) ti(l, !1);
|
|
5716
5716
|
else {
|
|
@@ -5719,7 +5719,7 @@ Error generating stack: ` + l.message + `
|
|
|
5719
5719
|
if (o = no(t), o !== null) {
|
|
5720
5720
|
for (e.flags |= 128, ti(l, !1), t = o.updateQueue, e.updateQueue = t, mo(e, t), e.subtreeFlags = 0, t = n, n = e.child; n !== null; )
|
|
5721
5721
|
Is(n, t), n = n.sibling;
|
|
5722
|
-
return
|
|
5722
|
+
return K(
|
|
5723
5723
|
Jt,
|
|
5724
5724
|
Jt.current & 1 | 2
|
|
5725
5725
|
), vt && vn(e, l.treeForkCount), e.child;
|
|
@@ -5737,13 +5737,13 @@ Error generating stack: ` + l.message + `
|
|
|
5737
5737
|
2 * we() - l.renderingStartTime > So && n !== 536870912 && (e.flags |= 128, i = !0, ti(l, !1), e.lanes = 4194304);
|
|
5738
5738
|
l.isBackwards ? (o.sibling = e.child, e.child = o) : (t = l.last, t !== null ? t.sibling = o : e.child = o, l.last = o);
|
|
5739
5739
|
}
|
|
5740
|
-
return l.tail !== null ? (t = l.tail, l.rendering = t, l.tail = t.sibling, l.renderingStartTime = we(), t.sibling = null, n = Jt.current,
|
|
5740
|
+
return l.tail !== null ? (t = l.tail, l.rendering = t, l.tail = t.sibling, l.renderingStartTime = we(), t.sibling = null, n = Jt.current, K(
|
|
5741
5741
|
Jt,
|
|
5742
5742
|
i ? n & 1 | 2 : n & 1
|
|
5743
5743
|
), vt && vn(e, l.treeForkCount), t) : (Lt(e), null);
|
|
5744
5744
|
case 22:
|
|
5745
5745
|
case 23:
|
|
5746
|
-
return je(e), ec(), l = e.memoizedState !== null, t !== null ? t.memoizedState !== null !== l && (e.flags |= 8192) : l && (e.flags |= 8192), l ? (n & 536870912) !== 0 && (e.flags & 128) === 0 && (Lt(e), e.subtreeFlags & 6 && (e.flags |= 8192)) : Lt(e), n = e.updateQueue, n !== null && mo(e, n.retryQueue), n = null, t !== null && t.memoizedState !== null && t.memoizedState.cachePool !== null && (n = t.memoizedState.cachePool.pool), l = null, e.memoizedState !== null && e.memoizedState.cachePool !== null && (l = e.memoizedState.cachePool.pool), l !== n && (e.flags |= 2048), t !== null &&
|
|
5746
|
+
return je(e), ec(), l = e.memoizedState !== null, t !== null ? t.memoizedState !== null !== l && (e.flags |= 8192) : l && (e.flags |= 8192), l ? (n & 536870912) !== 0 && (e.flags & 128) === 0 && (Lt(e), e.subtreeFlags & 6 && (e.flags |= 8192)) : Lt(e), n = e.updateQueue, n !== null && mo(e, n.retryQueue), n = null, t !== null && t.memoizedState !== null && t.memoizedState.cachePool !== null && (n = t.memoizedState.cachePool.pool), l = null, e.memoizedState !== null && e.memoizedState.cachePool !== null && (l = e.memoizedState.cachePool.pool), l !== n && (e.flags |= 2048), t !== null && R(vl), null;
|
|
5747
5747
|
case 24:
|
|
5748
5748
|
return n = null, t !== null && (n = t.memoizedState.cache), e.memoizedState.cache !== n && (e.flags |= 2048), Sn(Ft), Lt(e), null;
|
|
5749
5749
|
case 25:
|
|
@@ -5778,14 +5778,14 @@ Error generating stack: ` + l.message + `
|
|
|
5778
5778
|
}
|
|
5779
5779
|
return t = e.flags, t & 65536 ? (e.flags = t & -65537 | 128, e) : null;
|
|
5780
5780
|
case 19:
|
|
5781
|
-
return
|
|
5781
|
+
return R(Jt), null;
|
|
5782
5782
|
case 4:
|
|
5783
5783
|
return it(), null;
|
|
5784
5784
|
case 10:
|
|
5785
5785
|
return Sn(e.type), null;
|
|
5786
5786
|
case 22:
|
|
5787
5787
|
case 23:
|
|
5788
|
-
return je(e), ec(), t !== null &&
|
|
5788
|
+
return je(e), ec(), t !== null && R(vl), t = e.flags, t & 65536 ? (e.flags = t & -65537 | 128, e) : null;
|
|
5789
5789
|
case 24:
|
|
5790
5790
|
return Sn(Ft), null;
|
|
5791
5791
|
case 25:
|
|
@@ -5814,14 +5814,14 @@ Error generating stack: ` + l.message + `
|
|
|
5814
5814
|
je(e);
|
|
5815
5815
|
break;
|
|
5816
5816
|
case 19:
|
|
5817
|
-
|
|
5817
|
+
R(Jt);
|
|
5818
5818
|
break;
|
|
5819
5819
|
case 10:
|
|
5820
5820
|
Sn(e.type);
|
|
5821
5821
|
break;
|
|
5822
5822
|
case 22:
|
|
5823
5823
|
case 23:
|
|
5824
|
-
je(e), ec(), t !== null &&
|
|
5824
|
+
je(e), ec(), t !== null && R(vl);
|
|
5825
5825
|
break;
|
|
5826
5826
|
case 24:
|
|
5827
5827
|
Sn(Ft);
|
|
@@ -7755,8 +7755,8 @@ Error generating stack: ` + l.message + `
|
|
|
7755
7755
|
top: w.scrollTop
|
|
7756
7756
|
});
|
|
7757
7757
|
for (typeof f.focus == "function" && f.focus(), f = 0; f < N.length; f++) {
|
|
7758
|
-
var
|
|
7759
|
-
|
|
7758
|
+
var $ = N[f];
|
|
7759
|
+
$.element.scrollLeft = $.left, $.element.scrollTop = $.top;
|
|
7760
7760
|
}
|
|
7761
7761
|
}
|
|
7762
7762
|
Uo = !!lr, ar = lr = null;
|
|
@@ -8320,9 +8320,9 @@ Error generating stack: ` + l.message + `
|
|
|
8320
8320
|
var at = (e & 4) !== 0, Ht = !at && (t === "scroll" || t === "scrollend"), S = at ? M !== null ? M + "Capture" : null : M;
|
|
8321
8321
|
at = [];
|
|
8322
8322
|
for (var b = A, z; b !== null; ) {
|
|
8323
|
-
var
|
|
8324
|
-
if (z =
|
|
8325
|
-
si(b,
|
|
8323
|
+
var $ = b;
|
|
8324
|
+
if (z = $.stateNode, $ = $.tag, $ !== 5 && $ !== 26 && $ !== 27 || z === null || S === null || ($ = Da(b, S), $ != null && at.push(
|
|
8325
|
+
si(b, $, z)
|
|
8326
8326
|
)), Ht) break;
|
|
8327
8327
|
b = b.return;
|
|
8328
8328
|
}
|
|
@@ -8340,29 +8340,29 @@ Error generating stack: ` + l.message + `
|
|
|
8340
8340
|
if (M = t === "mouseover" || t === "pointerover", w = t === "mouseout" || t === "pointerout", M && n !== yu && (F = n.relatedTarget || n.fromElement) && (Dl(F) || F[wl]))
|
|
8341
8341
|
break t;
|
|
8342
8342
|
if ((w || M) && (M = B.window === B ? B : (M = B.ownerDocument) ? M.defaultView || M.parentWindow : window, w ? (F = n.relatedTarget || n.toElement, w = A, F = F ? Dl(F) : null, F !== null && (Ht = h(F), at = F.tag, F !== Ht || at !== 5 && at !== 27 && at !== 6) && (F = null)) : (w = null, F = A), w !== F)) {
|
|
8343
|
-
if (at = zs,
|
|
8344
|
-
|
|
8343
|
+
if (at = zs, $ = "onMouseLeave", S = "onMouseEnter", b = "mouse", (t === "pointerout" || t === "pointerover") && (at = Ms, $ = "onPointerLeave", S = "onPointerEnter", b = "pointer"), Ht = w == null ? M : wa(w), z = F == null ? M : wa(F), M = new at(
|
|
8344
|
+
$,
|
|
8345
8345
|
b + "leave",
|
|
8346
8346
|
w,
|
|
8347
8347
|
n,
|
|
8348
8348
|
B
|
|
8349
|
-
), M.target = Ht, M.relatedTarget = z,
|
|
8349
|
+
), M.target = Ht, M.relatedTarget = z, $ = null, Dl(B) === A && (at = new at(
|
|
8350
8350
|
S,
|
|
8351
8351
|
b + "enter",
|
|
8352
8352
|
F,
|
|
8353
8353
|
n,
|
|
8354
8354
|
B
|
|
8355
|
-
), at.target = z, at.relatedTarget = Ht,
|
|
8355
|
+
), at.target = z, at.relatedTarget = Ht, $ = at), Ht = $, w && F)
|
|
8356
8356
|
e: {
|
|
8357
|
-
for (at = Pm, S = w, b = F, z = 0,
|
|
8357
|
+
for (at = Pm, S = w, b = F, z = 0, $ = S; $; $ = at($))
|
|
8358
8358
|
z++;
|
|
8359
|
-
|
|
8359
|
+
$ = 0;
|
|
8360
8360
|
for (var et = b; et; et = at(et))
|
|
8361
|
-
|
|
8362
|
-
for (; 0 < z -
|
|
8361
|
+
$++;
|
|
8362
|
+
for (; 0 < z - $; )
|
|
8363
8363
|
S = at(S), z--;
|
|
8364
|
-
for (; 0 <
|
|
8365
|
-
b = at(b),
|
|
8364
|
+
for (; 0 < $ - z; )
|
|
8365
|
+
b = at(b), $--;
|
|
8366
8366
|
for (; z--; ) {
|
|
8367
8367
|
if (S === b || b !== null && S === b.alternate) {
|
|
8368
8368
|
at = S;
|
|
@@ -10726,30 +10726,30 @@ function o0(a) {
|
|
|
10726
10726
|
return Gg(Fo("", null, null, null, [""], a = Lg(a), 0, [0], a));
|
|
10727
10727
|
}
|
|
10728
10728
|
function Fo(a, u, s, c, d, h, y, x, C) {
|
|
10729
|
-
for (var m = 0, _ = 0, O = y, j = 0,
|
|
10729
|
+
for (var m = 0, _ = 0, O = y, j = 0, V = 0, Q = 0, L = 1, H = 1, J = 1, P = 0, W = "", st = d, k = h, ot = c, Z = W; H; )
|
|
10730
10730
|
switch (Q = P, P = qe()) {
|
|
10731
10731
|
// (
|
|
10732
10732
|
case 40:
|
|
10733
|
-
if (Q != 108 && de(
|
|
10734
|
-
Br(
|
|
10733
|
+
if (Q != 108 && de(Z, O - 1) == 58) {
|
|
10734
|
+
Br(Z += wt(Wo(P), "&", "&\f"), "&\f") != -1 && (J = -1);
|
|
10735
10735
|
break;
|
|
10736
10736
|
}
|
|
10737
10737
|
// " ' [
|
|
10738
10738
|
case 34:
|
|
10739
10739
|
case 39:
|
|
10740
10740
|
case 91:
|
|
10741
|
-
|
|
10741
|
+
Z += Wo(P);
|
|
10742
10742
|
break;
|
|
10743
10743
|
// \t \n \r \s
|
|
10744
10744
|
case 9:
|
|
10745
10745
|
case 10:
|
|
10746
10746
|
case 13:
|
|
10747
10747
|
case 32:
|
|
10748
|
-
|
|
10748
|
+
Z += n0(Q);
|
|
10749
10749
|
break;
|
|
10750
10750
|
// \
|
|
10751
10751
|
case 92:
|
|
10752
|
-
|
|
10752
|
+
Z += l0(Jo() - 1, 7);
|
|
10753
10753
|
continue;
|
|
10754
10754
|
// /
|
|
10755
10755
|
case 47:
|
|
@@ -10759,12 +10759,12 @@ function Fo(a, u, s, c, d, h, y, x, C) {
|
|
|
10759
10759
|
Xo(u0(a0(qe(), Jo()), u, s), C);
|
|
10760
10760
|
break;
|
|
10761
10761
|
default:
|
|
10762
|
-
|
|
10762
|
+
Z += "/";
|
|
10763
10763
|
}
|
|
10764
10764
|
break;
|
|
10765
10765
|
// {
|
|
10766
10766
|
case 123 * L:
|
|
10767
|
-
x[m++] = fn(
|
|
10767
|
+
x[m++] = fn(Z) * J;
|
|
10768
10768
|
// } ; \0
|
|
10769
10769
|
case 125 * L:
|
|
10770
10770
|
case 59:
|
|
@@ -10776,18 +10776,18 @@ function Fo(a, u, s, c, d, h, y, x, C) {
|
|
|
10776
10776
|
H = 0;
|
|
10777
10777
|
// ;
|
|
10778
10778
|
case 59 + _:
|
|
10779
|
-
J == -1 && (
|
|
10779
|
+
J == -1 && (Z = wt(Z, /\f/g, "")), V > 0 && fn(Z) - O && Xo(V > 32 ? fg(Z + ";", c, s, O - 1) : fg(wt(Z, " ", "") + ";", c, s, O - 2), C);
|
|
10780
10780
|
break;
|
|
10781
10781
|
// @ ;
|
|
10782
10782
|
case 59:
|
|
10783
|
-
|
|
10783
|
+
Z += ";";
|
|
10784
10784
|
// { rule/at-rule
|
|
10785
10785
|
default:
|
|
10786
|
-
if (Xo(ot = sg(
|
|
10786
|
+
if (Xo(ot = sg(Z, u, s, m, _, d, x, W, st = [], k = [], O), h), P === 123)
|
|
10787
10787
|
if (_ === 0)
|
|
10788
|
-
Fo(
|
|
10788
|
+
Fo(Z, u, ot, ot, st, h, O, x, k);
|
|
10789
10789
|
else
|
|
10790
|
-
switch (j === 99 && de(
|
|
10790
|
+
switch (j === 99 && de(Z, 3) === 110 ? 100 : j) {
|
|
10791
10791
|
// d l m s
|
|
10792
10792
|
case 100:
|
|
10793
10793
|
case 108:
|
|
@@ -10796,14 +10796,14 @@ function Fo(a, u, s, c, d, h, y, x, C) {
|
|
|
10796
10796
|
Fo(a, ot, ot, c && Xo(sg(a, ot, ot, 0, 0, d, x, W, d, st = [], O), k), d, k, O, x, c ? st : k);
|
|
10797
10797
|
break;
|
|
10798
10798
|
default:
|
|
10799
|
-
Fo(
|
|
10799
|
+
Fo(Z, ot, ot, ot, [""], k, 0, x, k);
|
|
10800
10800
|
}
|
|
10801
10801
|
}
|
|
10802
|
-
m = _ =
|
|
10802
|
+
m = _ = V = 0, L = J = 1, W = Z = "", O = y;
|
|
10803
10803
|
break;
|
|
10804
10804
|
// :
|
|
10805
10805
|
case 58:
|
|
10806
|
-
O = 1 + fn(
|
|
10806
|
+
O = 1 + fn(Z), V = Q;
|
|
10807
10807
|
default:
|
|
10808
10808
|
if (L < 1) {
|
|
10809
10809
|
if (P == 123)
|
|
@@ -10811,29 +10811,29 @@ function Fo(a, u, s, c, d, h, y, x, C) {
|
|
|
10811
10811
|
else if (P == 125 && L++ == 0 && e0() == 125)
|
|
10812
10812
|
continue;
|
|
10813
10813
|
}
|
|
10814
|
-
switch (
|
|
10814
|
+
switch (Z += eu(P), P * L) {
|
|
10815
10815
|
// &
|
|
10816
10816
|
case 38:
|
|
10817
|
-
J = _ > 0 ? 1 : (
|
|
10817
|
+
J = _ > 0 ? 1 : (Z += "\f", -1);
|
|
10818
10818
|
break;
|
|
10819
10819
|
// ,
|
|
10820
10820
|
case 44:
|
|
10821
|
-
x[m++] = (fn(
|
|
10821
|
+
x[m++] = (fn(Z) - 1) * J, J = 1;
|
|
10822
10822
|
break;
|
|
10823
10823
|
// @
|
|
10824
10824
|
case 64:
|
|
10825
|
-
hn() === 45 && (
|
|
10825
|
+
hn() === 45 && (Z += Wo(qe())), j = hn(), _ = O = fn(W = Z += i0(Jo())), P++;
|
|
10826
10826
|
break;
|
|
10827
10827
|
// -
|
|
10828
10828
|
case 45:
|
|
10829
|
-
Q === 45 && fn(
|
|
10829
|
+
Q === 45 && fn(Z) == 2 && (L = 0);
|
|
10830
10830
|
}
|
|
10831
10831
|
}
|
|
10832
10832
|
return h;
|
|
10833
10833
|
}
|
|
10834
10834
|
function sg(a, u, s, c, d, h, y, x, C, m, _) {
|
|
10835
|
-
for (var O = d - 1, j = d === 0 ? h : [""],
|
|
10836
|
-
for (var J = 0, P = Ti(a, O + 1, O = Jy(L = y[Q])), W = a; J <
|
|
10835
|
+
for (var O = d - 1, j = d === 0 ? h : [""], V = Gr(j), Q = 0, L = 0, H = 0; Q < c; ++Q)
|
|
10836
|
+
for (var J = 0, P = Ti(a, O + 1, O = Jy(L = y[Q])), W = a; J < V; ++J)
|
|
10837
10837
|
(W = qg(L > 0 ? j[J] + " " + P : wt(P, /&\f/g, j[J]))) && (C[H++] = W);
|
|
10838
10838
|
return lu(a, u, s, d === 0 ? Yr : x, C, m, _);
|
|
10839
10839
|
}
|
|
@@ -11128,11 +11128,11 @@ var m0 = function(u, s, c, d) {
|
|
|
11128
11128
|
{
|
|
11129
11129
|
var _, O = [c0, s0(function(L) {
|
|
11130
11130
|
_.insert(L);
|
|
11131
|
-
})], j = r0(m.concat(d, O)),
|
|
11131
|
+
})], j = r0(m.concat(d, O)), V = function(H) {
|
|
11132
11132
|
return Sa(o0(H), j);
|
|
11133
11133
|
};
|
|
11134
11134
|
C = function(H, J, P, W) {
|
|
11135
|
-
_ = P,
|
|
11135
|
+
_ = P, V(H ? H + "{" + J.styles + "}" : J.styles), W && (Q.inserted[J.name] = !0);
|
|
11136
11136
|
};
|
|
11137
11137
|
}
|
|
11138
11138
|
var Q = {
|
|
@@ -11170,7 +11170,7 @@ var gg;
|
|
|
11170
11170
|
function v0() {
|
|
11171
11171
|
if (gg) return Dt;
|
|
11172
11172
|
gg = 1;
|
|
11173
|
-
var a = typeof Symbol == "function" && Symbol.for, u = a ? /* @__PURE__ */ Symbol.for("react.element") : 60103, s = a ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, c = a ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, d = a ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, h = a ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, y = a ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, x = a ? /* @__PURE__ */ Symbol.for("react.context") : 60110, C = a ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, m = a ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, _ = a ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, O = a ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, j = a ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120,
|
|
11173
|
+
var a = typeof Symbol == "function" && Symbol.for, u = a ? /* @__PURE__ */ Symbol.for("react.element") : 60103, s = a ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, c = a ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, d = a ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, h = a ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, y = a ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, x = a ? /* @__PURE__ */ Symbol.for("react.context") : 60110, C = a ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, m = a ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, _ = a ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, O = a ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, j = a ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, V = a ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, Q = a ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, L = a ? /* @__PURE__ */ Symbol.for("react.block") : 60121, H = a ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, J = a ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, P = a ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
11174
11174
|
function W(k) {
|
|
11175
11175
|
if (typeof k == "object" && k !== null) {
|
|
11176
11176
|
var ot = k.$$typeof;
|
|
@@ -11189,7 +11189,7 @@ function v0() {
|
|
|
11189
11189
|
case x:
|
|
11190
11190
|
case _:
|
|
11191
11191
|
case Q:
|
|
11192
|
-
case
|
|
11192
|
+
case V:
|
|
11193
11193
|
case y:
|
|
11194
11194
|
return k;
|
|
11195
11195
|
default:
|
|
@@ -11204,7 +11204,7 @@ function v0() {
|
|
|
11204
11204
|
function st(k) {
|
|
11205
11205
|
return W(k) === m;
|
|
11206
11206
|
}
|
|
11207
|
-
return Dt.AsyncMode = C, Dt.ConcurrentMode = m, Dt.ContextConsumer = x, Dt.ContextProvider = y, Dt.Element = u, Dt.ForwardRef = _, Dt.Fragment = c, Dt.Lazy = Q, Dt.Memo =
|
|
11207
|
+
return Dt.AsyncMode = C, Dt.ConcurrentMode = m, Dt.ContextConsumer = x, Dt.ContextProvider = y, Dt.Element = u, Dt.ForwardRef = _, Dt.Fragment = c, Dt.Lazy = Q, Dt.Memo = V, Dt.Portal = s, Dt.Profiler = h, Dt.StrictMode = d, Dt.Suspense = O, Dt.isAsyncMode = function(k) {
|
|
11208
11208
|
return st(k) || W(k) === C;
|
|
11209
11209
|
}, Dt.isConcurrentMode = st, Dt.isContextConsumer = function(k) {
|
|
11210
11210
|
return W(k) === x;
|
|
@@ -11219,7 +11219,7 @@ function v0() {
|
|
|
11219
11219
|
}, Dt.isLazy = function(k) {
|
|
11220
11220
|
return W(k) === Q;
|
|
11221
11221
|
}, Dt.isMemo = function(k) {
|
|
11222
|
-
return W(k) ===
|
|
11222
|
+
return W(k) === V;
|
|
11223
11223
|
}, Dt.isPortal = function(k) {
|
|
11224
11224
|
return W(k) === s;
|
|
11225
11225
|
}, Dt.isProfiler = function(k) {
|
|
@@ -11229,7 +11229,7 @@ function v0() {
|
|
|
11229
11229
|
}, Dt.isSuspense = function(k) {
|
|
11230
11230
|
return W(k) === O;
|
|
11231
11231
|
}, Dt.isValidElementType = function(k) {
|
|
11232
|
-
return typeof k == "string" || typeof k == "function" || k === c || k === m || k === h || k === d || k === O || k === j || typeof k == "object" && k !== null && (k.$$typeof === Q || k.$$typeof ===
|
|
11232
|
+
return typeof k == "string" || typeof k == "function" || k === c || k === m || k === h || k === d || k === O || k === j || typeof k == "object" && k !== null && (k.$$typeof === Q || k.$$typeof === V || k.$$typeof === y || k.$$typeof === x || k.$$typeof === _ || k.$$typeof === H || k.$$typeof === J || k.$$typeof === P || k.$$typeof === L);
|
|
11233
11233
|
}, Dt.typeOf = W, Dt;
|
|
11234
11234
|
}
|
|
11235
11235
|
var pg;
|
|
@@ -11279,20 +11279,20 @@ function S0() {
|
|
|
11279
11279
|
return a.isMemo(Q) ? d : h[Q.$$typeof] || u;
|
|
11280
11280
|
}
|
|
11281
11281
|
var x = Object.defineProperty, C = Object.getOwnPropertyNames, m = Object.getOwnPropertySymbols, _ = Object.getOwnPropertyDescriptor, O = Object.getPrototypeOf, j = Object.prototype;
|
|
11282
|
-
function
|
|
11282
|
+
function V(Q, L, H) {
|
|
11283
11283
|
if (typeof L != "string") {
|
|
11284
11284
|
if (j) {
|
|
11285
11285
|
var J = O(L);
|
|
11286
|
-
J && J !== j &&
|
|
11286
|
+
J && J !== j && V(Q, J, H);
|
|
11287
11287
|
}
|
|
11288
11288
|
var P = C(L);
|
|
11289
11289
|
m && (P = P.concat(m(L)));
|
|
11290
11290
|
for (var W = y(Q), st = y(L), k = 0; k < P.length; ++k) {
|
|
11291
11291
|
var ot = P[k];
|
|
11292
11292
|
if (!s[ot] && !(H && H[ot]) && !(st && st[ot]) && !(W && W[ot])) {
|
|
11293
|
-
var
|
|
11293
|
+
var Z = _(L, ot);
|
|
11294
11294
|
try {
|
|
11295
|
-
x(Q, ot,
|
|
11295
|
+
x(Q, ot, Z);
|
|
11296
11296
|
} catch {
|
|
11297
11297
|
}
|
|
11298
11298
|
}
|
|
@@ -11300,7 +11300,7 @@ function S0() {
|
|
|
11300
11300
|
}
|
|
11301
11301
|
return Q;
|
|
11302
11302
|
}
|
|
11303
|
-
return Mr =
|
|
11303
|
+
return Mr = V, Mr;
|
|
11304
11304
|
}
|
|
11305
11305
|
S0();
|
|
11306
11306
|
var T0 = !0;
|
|
@@ -11678,7 +11678,7 @@ const nt = {
|
|
|
11678
11678
|
onReinitWidget: s,
|
|
11679
11679
|
onUpdateWidget: c
|
|
11680
11680
|
}) => {
|
|
11681
|
-
const [d, h] = T.useState("form"), [y, x] = T.useState(!1), [C, m] = T.useState(null), [_, O] = T.useState(!1), [j,
|
|
11681
|
+
const [d, h] = T.useState("form"), [y, x] = T.useState(!1), [C, m] = T.useState(null), [_, O] = T.useState(!1), [j, V] = T.useState(0), Q = T.useRef(null), L = T.useCallback((Y) => {
|
|
11682
11682
|
Q.current = Y;
|
|
11683
11683
|
}, []), [H, J] = T.useState(() => {
|
|
11684
11684
|
const Y = u.initialConfig;
|
|
@@ -11800,8 +11800,8 @@ const nt = {
|
|
|
11800
11800
|
});
|
|
11801
11801
|
}, [st, c]), ot = T.useCallback((Y) => {
|
|
11802
11802
|
J(Y);
|
|
11803
|
-
}, []),
|
|
11804
|
-
|
|
11803
|
+
}, []), Z = T.useCallback(() => {
|
|
11804
|
+
V((Y) => Y + 1), s();
|
|
11805
11805
|
}, [s]), Ut = T.useCallback(() => {
|
|
11806
11806
|
c(P());
|
|
11807
11807
|
}, [c, P]), Gt = T.useMemo(
|
|
@@ -11816,7 +11816,7 @@ const nt = {
|
|
|
11816
11816
|
widgetConfig: H,
|
|
11817
11817
|
updateWidgetConfig: k,
|
|
11818
11818
|
setWidgetConfig: ot,
|
|
11819
|
-
reinitWidget:
|
|
11819
|
+
reinitWidget: Z,
|
|
11820
11820
|
updateWidget: Ut,
|
|
11821
11821
|
getWidgetConfig: P,
|
|
11822
11822
|
widgetWasOpen: _,
|
|
@@ -11832,7 +11832,7 @@ const nt = {
|
|
|
11832
11832
|
H,
|
|
11833
11833
|
k,
|
|
11834
11834
|
ot,
|
|
11835
|
-
|
|
11835
|
+
Z,
|
|
11836
11836
|
Ut,
|
|
11837
11837
|
P,
|
|
11838
11838
|
_,
|
|
@@ -12559,7 +12559,7 @@ const rb = [
|
|
|
12559
12559
|
const O = y.trim();
|
|
12560
12560
|
O && !c.includes(O) && (d([...c, O]), x(""));
|
|
12561
12561
|
}, m = (O) => {
|
|
12562
|
-
d(c.filter((j,
|
|
12562
|
+
d(c.filter((j, V) => V !== O));
|
|
12563
12563
|
}, _ = (O) => {
|
|
12564
12564
|
O.key === "Enter" && (O.preventDefault(), C());
|
|
12565
12565
|
};
|
|
@@ -12759,7 +12759,7 @@ const rb = [
|
|
|
12759
12759
|
s({ contextPatientId: Q });
|
|
12760
12760
|
}, j = () => {
|
|
12761
12761
|
h();
|
|
12762
|
-
},
|
|
12762
|
+
}, V = !!(u.apiEndpoint && u.token);
|
|
12763
12763
|
return /* @__PURE__ */ ut(ln, { title: "API Configuration", children: [
|
|
12764
12764
|
/* @__PURE__ */ ut("div", { css: il.groupedControls, children: [
|
|
12765
12765
|
!1,
|
|
@@ -12829,7 +12829,7 @@ const rb = [
|
|
|
12829
12829
|
) })
|
|
12830
12830
|
] })
|
|
12831
12831
|
] }),
|
|
12832
|
-
/* @__PURE__ */ ut("button", { type: "button", css: il.syncButton, onClick: j, disabled: !
|
|
12832
|
+
/* @__PURE__ */ ut("button", { type: "button", css: il.syncButton, onClick: j, disabled: !V, children: [
|
|
12833
12833
|
/* @__PURE__ */ U(lb, { size: 16 }),
|
|
12834
12834
|
"Sync"
|
|
12835
12835
|
] })
|
|
@@ -13598,7 +13598,7 @@ const Tb = T.memo(function() {
|
|
|
13598
13598
|
}, Ob = T.memo(function({ widgetContainerId: u = "demo-widget-container" }) {
|
|
13599
13599
|
const { widgetConfig: s, getWidgetConfig: c, mockEnabled: d, widgetWasOpen: h, setWidgetWasOpen: y, setContainerElement: x, reinitTrigger: C, setWidgetApi: m } = Ie(), _ = T.useRef(null), O = T.useRef(!1), j = T.useRef(null);
|
|
13600
13600
|
T.useEffect(() => (x(_.current), () => x(null)), [x]);
|
|
13601
|
-
const
|
|
13601
|
+
const V = T.useCallback(() => {
|
|
13602
13602
|
if (!window.ChatbotWidget) {
|
|
13603
13603
|
console.warn("ChatbotWidget not found");
|
|
13604
13604
|
return;
|
|
@@ -13612,13 +13612,13 @@ const Tb = T.memo(function() {
|
|
|
13612
13612
|
}, [c, d, h, y, m, s.floatingMode]);
|
|
13613
13613
|
T.useEffect(() => {
|
|
13614
13614
|
const J = setTimeout(() => {
|
|
13615
|
-
|
|
13615
|
+
V();
|
|
13616
13616
|
}, 50);
|
|
13617
13617
|
return () => {
|
|
13618
13618
|
clearTimeout(J), window.ChatbotWidget && window.ChatbotWidget.destroy(), m(null);
|
|
13619
13619
|
};
|
|
13620
13620
|
}, [m]), T.useEffect(() => (j.current && clearTimeout(j.current), O.current && (j.current = setTimeout(() => {
|
|
13621
|
-
|
|
13621
|
+
V();
|
|
13622
13622
|
}, 50)), () => {
|
|
13623
13623
|
j.current && clearTimeout(j.current);
|
|
13624
13624
|
}), [d, s.quickActions, C]);
|
|
@@ -13839,12 +13839,12 @@ const Tb = T.memo(function() {
|
|
|
13839
13839
|
if (!m)
|
|
13840
13840
|
throw new Error("Response body is not readable");
|
|
13841
13841
|
const _ = new TextDecoder();
|
|
13842
|
-
let O = "", j = "",
|
|
13842
|
+
let O = "", j = "", V = !1;
|
|
13843
13843
|
const Q = (L) => {
|
|
13844
13844
|
const H = jb(L);
|
|
13845
13845
|
if (H) {
|
|
13846
13846
|
if (H.type === "error")
|
|
13847
|
-
return
|
|
13847
|
+
return V = !0, s.onError(H.value), !0;
|
|
13848
13848
|
O = Rb(H, { fullMessage: O, callbacks: s });
|
|
13849
13849
|
}
|
|
13850
13850
|
return !1;
|
|
@@ -13852,13 +13852,13 @@ const Tb = T.memo(function() {
|
|
|
13852
13852
|
for (; ; ) {
|
|
13853
13853
|
const { done: L, value: H } = await m.read();
|
|
13854
13854
|
if (L) {
|
|
13855
|
-
if (j.trim() && !
|
|
13855
|
+
if (j.trim() && !V) {
|
|
13856
13856
|
const P = j.split(`
|
|
13857
13857
|
`);
|
|
13858
13858
|
for (const W of P)
|
|
13859
13859
|
if (Q(W)) break;
|
|
13860
13860
|
}
|
|
13861
|
-
|
|
13861
|
+
V || s.onComplete(O);
|
|
13862
13862
|
break;
|
|
13863
13863
|
}
|
|
13864
13864
|
j += _.decode(H, { stream: !0 });
|
|
@@ -13867,7 +13867,7 @@ const Tb = T.memo(function() {
|
|
|
13867
13867
|
j = J.pop() || "";
|
|
13868
13868
|
for (const P of J)
|
|
13869
13869
|
if (Q(P)) break;
|
|
13870
|
-
if (
|
|
13870
|
+
if (V)
|
|
13871
13871
|
break;
|
|
13872
13872
|
}
|
|
13873
13873
|
} catch (C) {
|
|
@@ -13969,11 +13969,11 @@ const Tb = T.memo(function() {
|
|
|
13969
13969
|
return { messages: [] };
|
|
13970
13970
|
const _ = m[0]?.sessionId;
|
|
13971
13971
|
return { messages: m.map((j) => {
|
|
13972
|
-
const
|
|
13972
|
+
const V = j.role === "assistant" ? "bot" : j.role === "user" ? "user" : j.sender || "bot";
|
|
13973
13973
|
return {
|
|
13974
13974
|
id: j.id || "",
|
|
13975
13975
|
content: j.content,
|
|
13976
|
-
sender:
|
|
13976
|
+
sender: V,
|
|
13977
13977
|
// Map createdOn (milliseconds) to ISO timestamp string
|
|
13978
13978
|
timestamp: j.createdOn ? new Date(j.createdOn).toISOString() : j.timestamp || (/* @__PURE__ */ new Date()).toISOString(),
|
|
13979
13979
|
status: j.status
|
|
@@ -14055,7 +14055,7 @@ const Tb = T.memo(function() {
|
|
|
14055
14055
|
source: "FITNESS TODAY"
|
|
14056
14056
|
}
|
|
14057
14057
|
], Yb = ({ config: a, children: u, onConfigUpdate: s }) => {
|
|
14058
|
-
const [c, d] = T.useState(a), [h, y] = T.useState([]), [x, C] = T.useState(!(c.floatingMode ?? !1)), [m, _] = T.useState(!1), [O, j] = T.useState(!1), [
|
|
14058
|
+
const [c, d] = T.useState(a), [h, y] = T.useState([]), [x, C] = T.useState(!(c.floatingMode ?? !1)), [m, _] = T.useState(!1), [O, j] = T.useState(!1), [V, Q] = T.useState(void 0), [L, H] = T.useState(!1), [J, P] = T.useState(!1), [W, st] = T.useState(null), [k, ot] = T.useState(null), [Z, Ut] = T.useState(null), [Gt, Y] = T.useState(null), [At, Qt] = T.useState(null), kt = kb(c.colorMode), ye = T.useMemo(() => {
|
|
14059
14059
|
const it = W?.chatUiConfig?.theme, bt = c.theme, Mt = Bb(kt);
|
|
14060
14060
|
return {
|
|
14061
14061
|
colors: {
|
|
@@ -14126,10 +14126,10 @@ const Tb = T.memo(function() {
|
|
|
14126
14126
|
})();
|
|
14127
14127
|
}, [x, J, c]), T.useEffect(() => {
|
|
14128
14128
|
if (x && !L && J) {
|
|
14129
|
-
if (
|
|
14129
|
+
if (Z) {
|
|
14130
14130
|
const bt = {
|
|
14131
14131
|
id: _l(),
|
|
14132
|
-
content: `Unable to connect: ${
|
|
14132
|
+
content: `Unable to connect: ${Z}`,
|
|
14133
14133
|
sender: "bot",
|
|
14134
14134
|
timestamp: /* @__PURE__ */ new Date(),
|
|
14135
14135
|
status: "error"
|
|
@@ -14152,7 +14152,7 @@ const Tb = T.memo(function() {
|
|
|
14152
14152
|
}
|
|
14153
14153
|
H(!0);
|
|
14154
14154
|
}
|
|
14155
|
-
}, [x, L, c.greeting, J, W,
|
|
14155
|
+
}, [x, L, c.greeting, J, W, Z]);
|
|
14156
14156
|
const lt = T.useCallback(() => {
|
|
14157
14157
|
C(!0), c.onOpen?.();
|
|
14158
14158
|
}, [c]), St = T.useCallback(() => {
|
|
@@ -14161,7 +14161,7 @@ const Tb = T.memo(function() {
|
|
|
14161
14161
|
_((it) => !it);
|
|
14162
14162
|
}, []), v = T.useCallback(() => {
|
|
14163
14163
|
x ? St() : lt();
|
|
14164
|
-
}, [x, lt, St]),
|
|
14164
|
+
}, [x, lt, St]), R = T.useCallback(
|
|
14165
14165
|
async (it) => {
|
|
14166
14166
|
if (!it.trim()) return;
|
|
14167
14167
|
const bt = {
|
|
@@ -14253,20 +14253,20 @@ const Tb = T.memo(function() {
|
|
|
14253
14253
|
});
|
|
14254
14254
|
},
|
|
14255
14255
|
[c, W, k]
|
|
14256
|
-
),
|
|
14256
|
+
), K = T.useCallback(
|
|
14257
14257
|
async (it) => {
|
|
14258
14258
|
if (!Gt) return;
|
|
14259
14259
|
let bt;
|
|
14260
14260
|
Array.isArray(it) ? bt = it.join(", ") : typeof it == "boolean" ? bt = it ? "Yes" : "No" : bt = String(it);
|
|
14261
14261
|
const Mt = `Q: ${Gt.question}<br>A: ${bt}`;
|
|
14262
|
-
Y(null), Qt(null), await
|
|
14262
|
+
Y(null), Qt(null), await R(Mt);
|
|
14263
14263
|
},
|
|
14264
|
-
[Gt,
|
|
14264
|
+
[Gt, R]
|
|
14265
14265
|
), I = T.useCallback(async () => {
|
|
14266
|
-
Gt && (Y(null), Qt(null), await
|
|
14267
|
-
}, [Gt,
|
|
14268
|
-
Y(null), Qt(null);
|
|
14269
|
-
}, []), dt = T.useCallback(
|
|
14266
|
+
Gt && (Y(null), Qt(null), await R("Skip"));
|
|
14267
|
+
}, [Gt, R]), ct = T.useCallback(async () => {
|
|
14268
|
+
Y(null), Qt(null), await R("Cancel survey");
|
|
14269
|
+
}, [R]), dt = T.useCallback(
|
|
14270
14270
|
(it, bt) => {
|
|
14271
14271
|
const Mt = {
|
|
14272
14272
|
id: _l(),
|
|
@@ -14307,11 +14307,11 @@ const Tb = T.memo(function() {
|
|
|
14307
14307
|
isTyping: O,
|
|
14308
14308
|
isLoading: !J,
|
|
14309
14309
|
isExpanded: m,
|
|
14310
|
-
streamingStatus:
|
|
14310
|
+
streamingStatus: V,
|
|
14311
14311
|
config: c,
|
|
14312
14312
|
theme: ye,
|
|
14313
14313
|
assistant: W,
|
|
14314
|
-
sendMessage:
|
|
14314
|
+
sendMessage: R,
|
|
14315
14315
|
open: lt,
|
|
14316
14316
|
close: St,
|
|
14317
14317
|
toggle: v,
|
|
@@ -14319,7 +14319,7 @@ const Tb = T.memo(function() {
|
|
|
14319
14319
|
// Survey
|
|
14320
14320
|
currentQuestion: Gt,
|
|
14321
14321
|
surveyProgress: At,
|
|
14322
|
-
submitSurveyAnswer:
|
|
14322
|
+
submitSurveyAnswer: K,
|
|
14323
14323
|
skipSurveyQuestion: I,
|
|
14324
14324
|
cancelSurvey: ct,
|
|
14325
14325
|
triggerSurveyQuestion: dt
|
|
@@ -14363,15 +14363,15 @@ var Lb = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
14363
14363
|
else {
|
|
14364
14364
|
var j = _[0];
|
|
14365
14365
|
O.push(j[0]);
|
|
14366
|
-
for (var
|
|
14366
|
+
for (var V = _.length, Q = 1; Q < V; Q++)
|
|
14367
14367
|
O.push(_[Q], j[Q]);
|
|
14368
14368
|
}
|
|
14369
14369
|
var L = Zr(function(H, J, P) {
|
|
14370
14370
|
var W = m && H.as || d, st = "", k = [], ot = H;
|
|
14371
14371
|
if (H.theme == null) {
|
|
14372
14372
|
ot = {};
|
|
14373
|
-
for (var
|
|
14374
|
-
ot[
|
|
14373
|
+
for (var Z in H)
|
|
14374
|
+
ot[Z] = H[Z];
|
|
14375
14375
|
ot.theme = T.useContext(Kr);
|
|
14376
14376
|
}
|
|
14377
14377
|
typeof H.className == "string" ? st = Vg(J.registered, k, H.className) : H.className != null && (st = H.className + " ");
|
|
@@ -14627,7 +14627,7 @@ const za = () => {
|
|
|
14627
14627
|
m && /* @__PURE__ */ E.jsxs(n1, { fontFamily: s.fontFamily, children: [
|
|
14628
14628
|
m,
|
|
14629
14629
|
" v",
|
|
14630
|
-
"1.0.
|
|
14630
|
+
"1.0.60"
|
|
14631
14631
|
] })
|
|
14632
14632
|
] })
|
|
14633
14633
|
] }),
|
|
@@ -15218,7 +15218,7 @@ const za = () => {
|
|
|
15218
15218
|
}
|
|
15219
15219
|
}, [d, u, s]), j = T.useCallback(() => {
|
|
15220
15220
|
_.current && d && (_.current.stop(), h(!1));
|
|
15221
|
-
}, [d]),
|
|
15221
|
+
}, [d]), V = T.useCallback(() => {
|
|
15222
15222
|
d ? j() : O();
|
|
15223
15223
|
}, [d, O, j]), Q = T.useCallback(() => {
|
|
15224
15224
|
x("");
|
|
@@ -15229,7 +15229,7 @@ const za = () => {
|
|
|
15229
15229
|
transcript: y,
|
|
15230
15230
|
startRecording: O,
|
|
15231
15231
|
stopRecording: j,
|
|
15232
|
-
toggleRecording:
|
|
15232
|
+
toggleRecording: V,
|
|
15233
15233
|
clearTranscript: Q
|
|
15234
15234
|
};
|
|
15235
15235
|
}, q1 = q.div`
|
|
@@ -15732,8 +15732,8 @@ const pv = q.div`
|
|
|
15732
15732
|
}
|
|
15733
15733
|
`, Hr = T.memo(({ onSubmit: a, theme: u, placeholder: s = "Type your answer..." }) => {
|
|
15734
15734
|
const [c, d] = T.useState(""), { isRecording: h, isSupported: y, transcript: x, toggleRecording: C, clearTranscript: m } = ap({
|
|
15735
|
-
onError: (
|
|
15736
|
-
console.error("Voice recording error:",
|
|
15735
|
+
onError: (V) => {
|
|
15736
|
+
console.error("Voice recording error:", V);
|
|
15737
15737
|
}
|
|
15738
15738
|
});
|
|
15739
15739
|
T.useEffect(() => {
|
|
@@ -15741,8 +15741,8 @@ const pv = q.div`
|
|
|
15741
15741
|
}, [x]);
|
|
15742
15742
|
const _ = () => {
|
|
15743
15743
|
c.trim() && (a(c.trim()), m());
|
|
15744
|
-
}, O = (
|
|
15745
|
-
|
|
15744
|
+
}, O = (V) => {
|
|
15745
|
+
V.key === "Enter" && !V.shiftKey && (V.preventDefault(), _());
|
|
15746
15746
|
}, j = () => h ? "Listening..." : s;
|
|
15747
15747
|
return /* @__PURE__ */ E.jsxs(pv, { theme: u, children: [
|
|
15748
15748
|
/* @__PURE__ */ E.jsx(
|
|
@@ -15750,7 +15750,7 @@ const pv = q.div`
|
|
|
15750
15750
|
{
|
|
15751
15751
|
theme: u,
|
|
15752
15752
|
value: c,
|
|
15753
|
-
onChange: (
|
|
15753
|
+
onChange: (V) => d(V.target.value),
|
|
15754
15754
|
onKeyDown: O,
|
|
15755
15755
|
placeholder: j(),
|
|
15756
15756
|
rows: 1
|
|
@@ -15847,12 +15847,12 @@ const Sv = q.div`
|
|
|
15847
15847
|
max: h
|
|
15848
15848
|
}) => {
|
|
15849
15849
|
const [y, x] = T.useState(""), C = (j) => {
|
|
15850
|
-
const
|
|
15851
|
-
if (
|
|
15852
|
-
x(
|
|
15850
|
+
const V = j.target.value;
|
|
15851
|
+
if (V === "" || V === "-") {
|
|
15852
|
+
x(V);
|
|
15853
15853
|
return;
|
|
15854
15854
|
}
|
|
15855
|
-
(c ? /^-?\d*\.?\d*$/ : /^-?\d*$/).test(
|
|
15855
|
+
(c ? /^-?\d*\.?\d*$/ : /^-?\d*$/).test(V) && x(V);
|
|
15856
15856
|
}, m = () => {
|
|
15857
15857
|
const j = c ? parseFloat(y) : parseInt(y, 10);
|
|
15858
15858
|
isNaN(j) || d !== void 0 && j < d || h !== void 0 && j > h || a(j);
|
|
@@ -16049,7 +16049,7 @@ const wv = q.div`
|
|
|
16049
16049
|
onCancel: d,
|
|
16050
16050
|
theme: h
|
|
16051
16051
|
}) => {
|
|
16052
|
-
const { type: y, question: x, options: C, scale: m, allowMultiple: _, allowOther: O, placeholder: j } = a,
|
|
16052
|
+
const { type: y, question: x, options: C, scale: m, allowMultiple: _, allowOther: O, placeholder: j } = a, V = () => {
|
|
16053
16053
|
switch (y) {
|
|
16054
16054
|
case "CHOICE":
|
|
16055
16055
|
return /* @__PURE__ */ E.jsx(
|
|
@@ -16165,7 +16165,7 @@ const wv = q.div`
|
|
|
16165
16165
|
theme: h
|
|
16166
16166
|
}
|
|
16167
16167
|
),
|
|
16168
|
-
/* @__PURE__ */ E.jsx(Dv, { children:
|
|
16168
|
+
/* @__PURE__ */ E.jsx(Dv, { children: V() })
|
|
16169
16169
|
] });
|
|
16170
16170
|
});
|
|
16171
16171
|
sp.displayName = "SurveyContainer";
|
|
@@ -16283,7 +16283,7 @@ const $g = q.div`
|
|
|
16283
16283
|
submitSurveyAnswer: x,
|
|
16284
16284
|
skipSurveyQuestion: C,
|
|
16285
16285
|
cancelSurvey: m
|
|
16286
|
-
} = za(), _ = h !== null, [O, j] = T.useState(""),
|
|
16286
|
+
} = za(), _ = h !== null, [O, j] = T.useState(""), V = T.useRef(null), Q = s.placeholder || d?.chatUiConfig?.placeholder || "Type a message...", { isRecording: L, isSupported: H, transcript: J, toggleRecording: P, clearTranscript: W } = ap({
|
|
16287
16287
|
onError: (kt) => {
|
|
16288
16288
|
console.error("Voice recording error:", kt);
|
|
16289
16289
|
}
|
|
@@ -16292,24 +16292,28 @@ const $g = q.div`
|
|
|
16292
16292
|
J && j(J);
|
|
16293
16293
|
}, [J]);
|
|
16294
16294
|
const st = T.useCallback(() => {
|
|
16295
|
-
const kt =
|
|
16295
|
+
const kt = V.current;
|
|
16296
16296
|
kt && (kt.style.height = "auto", kt.style.height = `${Math.min(kt.scrollHeight, 150)}px`);
|
|
16297
16297
|
}, []);
|
|
16298
16298
|
T.useEffect(() => {
|
|
16299
16299
|
st();
|
|
16300
16300
|
}, [O, st]);
|
|
16301
16301
|
const k = T.useCallback(() => {
|
|
16302
|
-
O.trim() && !u && (a(O), j(""), W(),
|
|
16302
|
+
O.trim() && !u && (a(O), j(""), W(), V.current && (V.current.style.height = "auto", V.current.focus()));
|
|
16303
16303
|
}, [O, u, a, W]), ot = T.useCallback(
|
|
16304
16304
|
(kt) => {
|
|
16305
16305
|
kt.key === "Enter" && !kt.shiftKey && (kt.preventDefault(), k());
|
|
16306
16306
|
},
|
|
16307
16307
|
[k]
|
|
16308
|
-
),
|
|
16308
|
+
), Z = T.useCallback((kt) => {
|
|
16309
16309
|
j(kt.target.value);
|
|
16310
16310
|
}, []), Ut = T.useCallback(() => {
|
|
16311
16311
|
P();
|
|
16312
|
-
}, [P]), Gt = u, Y = u || !O.trim(), At = s.disclaimerText ?? "AI can make mistakes. Verify important information."
|
|
16312
|
+
}, [P]), Gt = u, Y = u || !O.trim(), At = s.disclaimerText ?? "AI can make mistakes. Verify important information.";
|
|
16313
|
+
T.useEffect(() => {
|
|
16314
|
+
!_ && !u && V.current && V.current.focus();
|
|
16315
|
+
}, [_, u]);
|
|
16316
|
+
const Qt = () => L ? "Listening..." : Q;
|
|
16313
16317
|
return _ && h ? /* @__PURE__ */ E.jsxs($g, { theme: c, children: [
|
|
16314
16318
|
/* @__PURE__ */ E.jsx(
|
|
16315
16319
|
sp,
|
|
@@ -16328,10 +16332,10 @@ const $g = q.div`
|
|
|
16328
16332
|
/* @__PURE__ */ E.jsx(
|
|
16329
16333
|
Rv,
|
|
16330
16334
|
{
|
|
16331
|
-
ref:
|
|
16335
|
+
ref: V,
|
|
16332
16336
|
theme: c,
|
|
16333
16337
|
value: O,
|
|
16334
|
-
onChange:
|
|
16338
|
+
onChange: Z,
|
|
16335
16339
|
onKeyDown: ot,
|
|
16336
16340
|
placeholder: Qt(),
|
|
16337
16341
|
disabled: Gt,
|