@glydeunity/voice-sdk 1.6.4 → 1.6.6
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/glyde-chat.umd.js +11 -11
- package/dist/glyde-chat.umd.js.map +1 -1
- package/dist/voice-sdk.es.js +445 -440
- package/dist/voice-sdk.es.js.map +1 -1
- package/package.json +1 -1
package/dist/voice-sdk.es.js
CHANGED
|
@@ -193,8 +193,8 @@ class Ki {
|
|
|
193
193
|
async fetchConfigForContext(c, o) {
|
|
194
194
|
const T = `${this.unityUrl}/api/unity/voice/config/${c}`;
|
|
195
195
|
let r = o ? `${T}/${encodeURIComponent(o)}` : T;
|
|
196
|
-
const
|
|
197
|
-
this.config.skipContinuityLimit === !0 &&
|
|
196
|
+
const z = new URLSearchParams();
|
|
197
|
+
this.config.skipContinuityLimit === !0 && z.set("skip_continuity_limit", "true"), this.config.limitToLast != null && this.config.limitToLast > 0 && z.set("limit_to_last", String(this.config.limitToLast)), z.toString() && (r += (r.includes("?") ? "&" : "?") + z.toString());
|
|
198
198
|
const O = await fetch(r, {
|
|
199
199
|
method: "GET",
|
|
200
200
|
headers: this.getAuthHeaders()
|
|
@@ -229,27 +229,27 @@ class Ki {
|
|
|
229
229
|
const D = await o.json();
|
|
230
230
|
throw new Error(D.error?.message || D.message || "Failed to authenticate voice session");
|
|
231
231
|
}
|
|
232
|
-
const { data: T } = await o.json(), { token: r, agent_config:
|
|
232
|
+
const { data: T } = await o.json(), { token: r, agent_config: z, deepgram_config: O } = T;
|
|
233
233
|
this.setSessionContext({
|
|
234
|
-
clientUuid:
|
|
234
|
+
clientUuid: z?.client_uuid,
|
|
235
235
|
contextId: this.config.contextId,
|
|
236
236
|
contextType: this.config.contextType,
|
|
237
|
-
currentJobUuid:
|
|
237
|
+
currentJobUuid: z?.job_uuid
|
|
238
238
|
});
|
|
239
|
-
const L =
|
|
239
|
+
const L = z?.instructions || this.serverConfig?.system_prompt || "You are a helpful AI assistant.";
|
|
240
240
|
await this.initializeAudio();
|
|
241
241
|
let U = "wss://agent.deepgram.com/v1/agent/converse";
|
|
242
242
|
const x = this.config.deepgramConfig || O || this.serverConfig?.deepgram_config;
|
|
243
243
|
if (x?.tags && x.tags.length > 0) {
|
|
244
244
|
const D = new URLSearchParams();
|
|
245
|
-
x.tags.forEach((
|
|
245
|
+
x.tags.forEach((w) => D.append("tag", w)), U += `?${D.toString()}`;
|
|
246
246
|
}
|
|
247
247
|
this.ws = new WebSocket(U, ["bearer", r]), this.ws.onopen = () => {
|
|
248
248
|
const D = x || {
|
|
249
249
|
think: { provider: { type: "open_ai", model: "gpt-4.1-nano" } },
|
|
250
250
|
speak: { provider: { type: "deepgram", model: "aura-2-thalia-en" } },
|
|
251
251
|
listen: { provider: { type: "deepgram", version: "v2", model: "flux-general-en" } }
|
|
252
|
-
},
|
|
252
|
+
}, w = {
|
|
253
253
|
type: "Settings",
|
|
254
254
|
audio: {
|
|
255
255
|
input: {
|
|
@@ -281,19 +281,19 @@ class Ki {
|
|
|
281
281
|
}
|
|
282
282
|
},
|
|
283
283
|
// Greeting is server-controlled; only set when server provides it
|
|
284
|
-
...(
|
|
285
|
-
greeting:
|
|
284
|
+
...(z?.greeting ?? D?.greeting) && {
|
|
285
|
+
greeting: z?.greeting ?? D?.greeting
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
};
|
|
289
|
-
D.tags && D.tags.length > 0 && (
|
|
289
|
+
D.tags && D.tags.length > 0 && (w.tags = D.tags), this.ws.send(JSON.stringify(w)), this.emit({ type: "open", payload: { config: z, serverConfig: this.serverConfig } });
|
|
290
290
|
};
|
|
291
291
|
const G = L;
|
|
292
292
|
this.ws.onmessage = (D) => {
|
|
293
293
|
if (typeof D.data == "string") {
|
|
294
294
|
try {
|
|
295
|
-
const
|
|
296
|
-
if (
|
|
295
|
+
const w = JSON.parse(D.data);
|
|
296
|
+
if (w.type === "SettingsApplied") {
|
|
297
297
|
const W = {
|
|
298
298
|
type: "UpdatePrompt",
|
|
299
299
|
prompt: G
|
|
@@ -304,7 +304,7 @@ class Ki {
|
|
|
304
304
|
});
|
|
305
305
|
}, 500);
|
|
306
306
|
}
|
|
307
|
-
|
|
307
|
+
w.type === "PromptUpdated" && (this.mediaStream || this.startMicrophone().catch((W) => {
|
|
308
308
|
console.error("[GlydeVoice] Failed to start microphone:", W);
|
|
309
309
|
}));
|
|
310
310
|
} catch {
|
|
@@ -412,9 +412,9 @@ class Ki {
|
|
|
412
412
|
if (o === 0) return;
|
|
413
413
|
const T = o - o % 2;
|
|
414
414
|
if (T === 0) return;
|
|
415
|
-
const r = T === o ? c : c.slice(0, T),
|
|
416
|
-
for (let x = 0; x <
|
|
417
|
-
O[x] =
|
|
415
|
+
const r = T === o ? c : c.slice(0, T), z = new Int16Array(r), O = new Float32Array(z.length);
|
|
416
|
+
for (let x = 0; x < z.length; x++)
|
|
417
|
+
O[x] = z[x] / 32768;
|
|
418
418
|
const L = this.resample24kTo48k(O);
|
|
419
419
|
!this.isAgentSpeaking && !this.agentAudioDoneReceived && (this.isAgentSpeaking = !0, this.emit({ type: "agent_speaking", payload: !0 }));
|
|
420
420
|
const U = new Float32Array(L);
|
|
@@ -428,9 +428,9 @@ class Ki {
|
|
|
428
428
|
*/
|
|
429
429
|
resample24kTo48k(c) {
|
|
430
430
|
const o = c.length * 2, T = new Float32Array(o);
|
|
431
|
-
for (let
|
|
432
|
-
const O = c[
|
|
433
|
-
T[
|
|
431
|
+
for (let z = 0; z < c.length - 1; z++) {
|
|
432
|
+
const O = c[z], L = c[z + 1];
|
|
433
|
+
T[z * 2] = O, T[z * 2 + 1] = (O + L) / 2;
|
|
434
434
|
}
|
|
435
435
|
const r = c.length - 1;
|
|
436
436
|
return T[r * 2] = c[r], T[r * 2 + 1] = c[r], T;
|
|
@@ -568,13 +568,13 @@ class Ki {
|
|
|
568
568
|
details: O instanceof Error ? O.message : String(O)
|
|
569
569
|
});
|
|
570
570
|
}
|
|
571
|
-
const
|
|
571
|
+
const z = {
|
|
572
572
|
type: "FunctionCallResponse",
|
|
573
573
|
id: o.id,
|
|
574
574
|
name: o.name,
|
|
575
575
|
content: r
|
|
576
576
|
};
|
|
577
|
-
this.ws && this.ws.readyState === WebSocket.OPEN ? (this.ws.send(JSON.stringify(
|
|
577
|
+
this.ws && this.ws.readyState === WebSocket.OPEN ? (this.ws.send(JSON.stringify(z)), console.log("[GlydeVoice] Function response sent:", o.name)) : console.error("[GlydeVoice] Cannot send function response - WebSocket not open");
|
|
578
578
|
try {
|
|
579
579
|
const O = typeof r == "string" ? JSON.parse(r) : r;
|
|
580
580
|
if (O && typeof O == "object" && O.context_switch && typeof O.context_switch.contextType == "string" && typeof O.context_switch.contextId == "string") {
|
|
@@ -619,21 +619,21 @@ class Ki {
|
|
|
619
619
|
const O = await r.json().catch(() => ({})), L = O.error?.message || O.message || `HTTP ${r.status}`;
|
|
620
620
|
throw console.error("[GlydeVoice] Voice function API call failed:", r.status, L), new Error(L);
|
|
621
621
|
}
|
|
622
|
-
const
|
|
623
|
-
if (
|
|
624
|
-
const O =
|
|
622
|
+
const z = await r.json();
|
|
623
|
+
if (z.success && z.data?.output !== void 0) {
|
|
624
|
+
const O = z.data.output;
|
|
625
625
|
if (typeof O == "object" && O !== null && O.success === !1) {
|
|
626
626
|
const L = O.error ?? O.fallback_message;
|
|
627
627
|
console.warn("[GlydeVoice] Voice function backend reported failure:", c, L);
|
|
628
628
|
}
|
|
629
629
|
return typeof O == "string" ? O : JSON.stringify(O);
|
|
630
630
|
}
|
|
631
|
-
throw console.error("[GlydeVoice] Voice function invalid response:",
|
|
631
|
+
throw console.error("[GlydeVoice] Voice function invalid response:", z), new Error("Invalid response from voice function endpoint");
|
|
632
632
|
} catch (r) {
|
|
633
|
-
const
|
|
634
|
-
return console.error("[GlydeVoice] Voice function error:",
|
|
633
|
+
const z = r instanceof Error ? r.message : "Function execution failed";
|
|
634
|
+
return console.error("[GlydeVoice] Voice function error:", z, r), JSON.stringify({
|
|
635
635
|
success: !1,
|
|
636
|
-
error:
|
|
636
|
+
error: z,
|
|
637
637
|
fallback_message: "I apologize, but I'm having trouble with that request right now. Is there something else I can help you with?"
|
|
638
638
|
});
|
|
639
639
|
}
|
|
@@ -707,14 +707,14 @@ class Ki {
|
|
|
707
707
|
promptLength: T?.system_prompt?.length || 0,
|
|
708
708
|
promptPreview: T?.system_prompt?.substring(0, 200) || "(no prompt)"
|
|
709
709
|
});
|
|
710
|
-
const r = T?.system_prompt || "You are a helpful AI assistant.",
|
|
710
|
+
const r = T?.system_prompt || "You are a helpful AI assistant.", z = this.getContextDescription(c), O = this.getContextDescription(this.config.contextType || "screening"), L = `
|
|
711
711
|
---
|
|
712
712
|
## CRITICAL CONTEXT SWITCH - IMMEDIATE EFFECT
|
|
713
713
|
---
|
|
714
714
|
|
|
715
|
-
**STOP**: The previous conversation context ("${
|
|
715
|
+
**STOP**: The previous conversation context ("${O}") has ended.
|
|
716
716
|
|
|
717
|
-
**NEW CONTEXT**: You are now in "${
|
|
717
|
+
**NEW CONTEXT**: You are now in "${z}" mode.
|
|
718
718
|
|
|
719
719
|
**IMPORTANT**:
|
|
720
720
|
- Do NOT continue any screening agenda, interview questions, or job-specific requirements from before.
|
|
@@ -726,7 +726,12 @@ class Ki {
|
|
|
726
726
|
---
|
|
727
727
|
|
|
728
728
|
${r}`;
|
|
729
|
-
console.log("[GlydeVoice] Sending UpdatePrompt to Deepgram
|
|
729
|
+
console.log("[GlydeVoice] Sending UpdatePrompt to Deepgram:", {
|
|
730
|
+
promptLength: L.length,
|
|
731
|
+
previousContext: O,
|
|
732
|
+
newContext: z,
|
|
733
|
+
headerPreview: L.substring(0, 500)
|
|
734
|
+
}), this.ws.send(JSON.stringify({ type: "UpdatePrompt", prompt: L })), this.config = { ...this.config, contextType: c, contextId: o }, this.setSessionContext({ contextType: c, contextId: o }), this.serverConfig = T, console.log("[GlydeVoice] Context and prompt updated in-place:", c, o);
|
|
730
735
|
}
|
|
731
736
|
/**
|
|
732
737
|
* Get a human-readable description of a context type for use in context switch messages.
|
|
@@ -803,15 +808,15 @@ class mg {
|
|
|
803
808
|
const T = `${this.unityUrl}${c}`, r = {
|
|
804
809
|
...this.getAuthHeaders(),
|
|
805
810
|
...o.headers || {}
|
|
806
|
-
},
|
|
811
|
+
}, z = await fetch(T, {
|
|
807
812
|
...o,
|
|
808
813
|
headers: r
|
|
809
814
|
});
|
|
810
|
-
if (!
|
|
811
|
-
const O = await
|
|
815
|
+
if (!z.ok) {
|
|
816
|
+
const O = await z.json().catch(() => ({})), L = O.error?.message || O.message || `Request failed: ${z.status}`;
|
|
812
817
|
throw new Error(L);
|
|
813
818
|
}
|
|
814
|
-
return
|
|
819
|
+
return z.json();
|
|
815
820
|
}
|
|
816
821
|
/**
|
|
817
822
|
* Update the current context
|
|
@@ -1098,17 +1103,17 @@ class pg extends mg {
|
|
|
1098
1103
|
};
|
|
1099
1104
|
this.history.push(o), this.config.onMessage && this.config.onMessage(o), this.emitEvent({ type: "message", payload: o }), this.setTyping(!0);
|
|
1100
1105
|
try {
|
|
1101
|
-
const T = this.buildChatRequestBody(c.trim()), r = this.getChatEndpoint(),
|
|
1106
|
+
const T = this.buildChatRequestBody(c.trim()), r = this.getChatEndpoint(), z = await this.unityFetch(r, {
|
|
1102
1107
|
method: "POST",
|
|
1103
1108
|
body: JSON.stringify(T)
|
|
1104
1109
|
});
|
|
1105
|
-
|
|
1110
|
+
z.history?.messages && (this.history = z.history.messages.filter(
|
|
1106
1111
|
(U) => U.role !== "system"
|
|
1107
|
-
)),
|
|
1112
|
+
)), z.context_switch && (this.contextSwitchManager.requestContextSwitch(z.context_switch), await this.contextSwitchManager.flushPendingContextSwitch());
|
|
1108
1113
|
const O = [...this.history].reverse().find((U) => U.role === "assistant");
|
|
1109
1114
|
return O ? (this.config.onMessage && this.config.onMessage(O), this.emitEvent({ type: "message", payload: O }), O) : {
|
|
1110
1115
|
role: "assistant",
|
|
1111
|
-
content:
|
|
1116
|
+
content: z.response || "I received your message.",
|
|
1112
1117
|
created: (/* @__PURE__ */ new Date()).toISOString()
|
|
1113
1118
|
};
|
|
1114
1119
|
} catch (T) {
|
|
@@ -1253,7 +1258,7 @@ function bg() {
|
|
|
1253
1258
|
if (Md) return k;
|
|
1254
1259
|
Md = 1;
|
|
1255
1260
|
var y = { env: { NODE_ENV: "production" } };
|
|
1256
|
-
var c = /* @__PURE__ */ Symbol.for("react.transitional.element"), o = /* @__PURE__ */ Symbol.for("react.portal"), T = /* @__PURE__ */ Symbol.for("react.fragment"), r = /* @__PURE__ */ Symbol.for("react.strict_mode"),
|
|
1261
|
+
var c = /* @__PURE__ */ Symbol.for("react.transitional.element"), o = /* @__PURE__ */ Symbol.for("react.portal"), T = /* @__PURE__ */ Symbol.for("react.fragment"), r = /* @__PURE__ */ Symbol.for("react.strict_mode"), z = /* @__PURE__ */ Symbol.for("react.profiler"), O = /* @__PURE__ */ Symbol.for("react.consumer"), L = /* @__PURE__ */ Symbol.for("react.context"), U = /* @__PURE__ */ Symbol.for("react.forward_ref"), x = /* @__PURE__ */ Symbol.for("react.suspense"), G = /* @__PURE__ */ Symbol.for("react.memo"), D = /* @__PURE__ */ Symbol.for("react.lazy"), w = /* @__PURE__ */ Symbol.for("react.activity"), W = Symbol.iterator;
|
|
1257
1262
|
function I(h) {
|
|
1258
1263
|
return h === null || typeof h != "object" ? null : (h = W && h[W] || h["@@iterator"], typeof h == "function" ? h : null);
|
|
1259
1264
|
}
|
|
@@ -1268,8 +1273,8 @@ function bg() {
|
|
|
1268
1273
|
enqueueSetState: function() {
|
|
1269
1274
|
}
|
|
1270
1275
|
}, K = Object.assign, $ = {};
|
|
1271
|
-
function ot(h, _,
|
|
1272
|
-
this.props = h, this.context = _, this.refs = $, this.updater =
|
|
1276
|
+
function ot(h, _, N) {
|
|
1277
|
+
this.props = h, this.context = _, this.refs = $, this.updater = N || Z;
|
|
1273
1278
|
}
|
|
1274
1279
|
ot.prototype.isReactComponent = {}, ot.prototype.setState = function(h, _) {
|
|
1275
1280
|
if (typeof h != "object" && typeof h != "function" && h != null)
|
|
@@ -1283,8 +1288,8 @@ function bg() {
|
|
|
1283
1288
|
function St() {
|
|
1284
1289
|
}
|
|
1285
1290
|
St.prototype = ot.prototype;
|
|
1286
|
-
function dt(h, _,
|
|
1287
|
-
this.props = h, this.context = _, this.refs = $, this.updater =
|
|
1291
|
+
function dt(h, _, N) {
|
|
1292
|
+
this.props = h, this.context = _, this.refs = $, this.updater = N || Z;
|
|
1288
1293
|
}
|
|
1289
1294
|
var B = dt.prototype = new St();
|
|
1290
1295
|
B.constructor = dt, K(B, ot.prototype), B.isPureReactComponent = !0;
|
|
@@ -1292,14 +1297,14 @@ function bg() {
|
|
|
1292
1297
|
function jt() {
|
|
1293
1298
|
}
|
|
1294
1299
|
var tt = { H: null, A: null, T: null, S: null }, Gt = Object.prototype.hasOwnProperty;
|
|
1295
|
-
function Pt(h, _,
|
|
1296
|
-
var Y =
|
|
1300
|
+
function Pt(h, _, N) {
|
|
1301
|
+
var Y = N.ref;
|
|
1297
1302
|
return {
|
|
1298
1303
|
$$typeof: c,
|
|
1299
1304
|
type: h,
|
|
1300
1305
|
key: _,
|
|
1301
1306
|
ref: Y !== void 0 ? Y : null,
|
|
1302
|
-
props:
|
|
1307
|
+
props: N
|
|
1303
1308
|
};
|
|
1304
1309
|
}
|
|
1305
1310
|
function Bt(h, _) {
|
|
@@ -1310,8 +1315,8 @@ function bg() {
|
|
|
1310
1315
|
}
|
|
1311
1316
|
function ce(h) {
|
|
1312
1317
|
var _ = { "=": "=0", ":": "=2" };
|
|
1313
|
-
return "$" + h.replace(/[=:]/g, function(
|
|
1314
|
-
return _[
|
|
1318
|
+
return "$" + h.replace(/[=:]/g, function(N) {
|
|
1319
|
+
return _[N];
|
|
1315
1320
|
});
|
|
1316
1321
|
}
|
|
1317
1322
|
var fe = /\/+/g;
|
|
@@ -1341,7 +1346,7 @@ function bg() {
|
|
|
1341
1346
|
}
|
|
1342
1347
|
throw h;
|
|
1343
1348
|
}
|
|
1344
|
-
function M(h, _,
|
|
1349
|
+
function M(h, _, N, Y, et) {
|
|
1345
1350
|
var lt = typeof h;
|
|
1346
1351
|
(lt === "undefined" || lt === "boolean") && (h = null);
|
|
1347
1352
|
var yt = !1;
|
|
@@ -1363,18 +1368,18 @@ function bg() {
|
|
|
1363
1368
|
return yt = h._init, M(
|
|
1364
1369
|
yt(h._payload),
|
|
1365
1370
|
_,
|
|
1366
|
-
|
|
1371
|
+
N,
|
|
1367
1372
|
Y,
|
|
1368
1373
|
et
|
|
1369
1374
|
);
|
|
1370
1375
|
}
|
|
1371
1376
|
}
|
|
1372
1377
|
if (yt)
|
|
1373
|
-
return et = et(h), yt = Y === "" ? "." + Vt(h, 0) : Y, Tt(et) ? (
|
|
1378
|
+
return et = et(h), yt = Y === "" ? "." + Vt(h, 0) : Y, Tt(et) ? (N = "", yt != null && (N = yt.replace(fe, "$&/") + "/"), M(et, _, N, "", function(Da) {
|
|
1374
1379
|
return Da;
|
|
1375
1380
|
})) : et != null && (Xt(et) && (et = Bt(
|
|
1376
1381
|
et,
|
|
1377
|
-
|
|
1382
|
+
N + (et.key == null || h && h.key === et.key ? "" : ("" + et.key).replace(
|
|
1378
1383
|
fe,
|
|
1379
1384
|
"$&/"
|
|
1380
1385
|
) + "/") + yt
|
|
@@ -1386,7 +1391,7 @@ function bg() {
|
|
|
1386
1391
|
Y = h[Ot], lt = Ft + Vt(Y, Ot), yt += M(
|
|
1387
1392
|
Y,
|
|
1388
1393
|
_,
|
|
1389
|
-
|
|
1394
|
+
N,
|
|
1390
1395
|
lt,
|
|
1391
1396
|
et
|
|
1392
1397
|
);
|
|
@@ -1395,7 +1400,7 @@ function bg() {
|
|
|
1395
1400
|
Y = Y.value, lt = Ft + Vt(Y, Ot++), yt += M(
|
|
1396
1401
|
Y,
|
|
1397
1402
|
_,
|
|
1398
|
-
|
|
1403
|
+
N,
|
|
1399
1404
|
lt,
|
|
1400
1405
|
et
|
|
1401
1406
|
);
|
|
@@ -1404,7 +1409,7 @@ function bg() {
|
|
|
1404
1409
|
return M(
|
|
1405
1410
|
R(h),
|
|
1406
1411
|
_,
|
|
1407
|
-
|
|
1412
|
+
N,
|
|
1408
1413
|
Y,
|
|
1409
1414
|
et
|
|
1410
1415
|
);
|
|
@@ -1414,22 +1419,22 @@ function bg() {
|
|
|
1414
1419
|
}
|
|
1415
1420
|
return yt;
|
|
1416
1421
|
}
|
|
1417
|
-
function j(h, _,
|
|
1422
|
+
function j(h, _, N) {
|
|
1418
1423
|
if (h == null) return h;
|
|
1419
1424
|
var Y = [], et = 0;
|
|
1420
1425
|
return M(h, Y, "", "", function(lt) {
|
|
1421
|
-
return _.call(
|
|
1426
|
+
return _.call(N, lt, et++);
|
|
1422
1427
|
}), Y;
|
|
1423
1428
|
}
|
|
1424
1429
|
function it(h) {
|
|
1425
1430
|
if (h._status === -1) {
|
|
1426
1431
|
var _ = h._result;
|
|
1427
1432
|
_ = _(), _.then(
|
|
1428
|
-
function(
|
|
1429
|
-
(h._status === 0 || h._status === -1) && (h._status = 1, h._result =
|
|
1433
|
+
function(N) {
|
|
1434
|
+
(h._status === 0 || h._status === -1) && (h._status = 1, h._result = N);
|
|
1430
1435
|
},
|
|
1431
|
-
function(
|
|
1432
|
-
(h._status === 0 || h._status === -1) && (h._status = 2, h._result =
|
|
1436
|
+
function(N) {
|
|
1437
|
+
(h._status === 0 || h._status === -1) && (h._status = 2, h._result = N);
|
|
1433
1438
|
}
|
|
1434
1439
|
), h._status === -1 && (h._status = 0, h._result = _);
|
|
1435
1440
|
}
|
|
@@ -1452,13 +1457,13 @@ function bg() {
|
|
|
1452
1457
|
console.error(h);
|
|
1453
1458
|
}, $t = {
|
|
1454
1459
|
map: j,
|
|
1455
|
-
forEach: function(h, _,
|
|
1460
|
+
forEach: function(h, _, N) {
|
|
1456
1461
|
j(
|
|
1457
1462
|
h,
|
|
1458
1463
|
function() {
|
|
1459
1464
|
_.apply(this, arguments);
|
|
1460
1465
|
},
|
|
1461
|
-
|
|
1466
|
+
N
|
|
1462
1467
|
);
|
|
1463
1468
|
},
|
|
1464
1469
|
count: function(h) {
|
|
@@ -1480,7 +1485,7 @@ function bg() {
|
|
|
1480
1485
|
return h;
|
|
1481
1486
|
}
|
|
1482
1487
|
};
|
|
1483
|
-
return k.Activity =
|
|
1488
|
+
return k.Activity = w, k.Children = $t, k.Component = ot, k.Fragment = T, k.Profiler = z, k.PureComponent = dt, k.StrictMode = r, k.Suspense = x, k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = tt, k.__COMPILER_RUNTIME = {
|
|
1484
1489
|
__proto__: null,
|
|
1485
1490
|
c: function(h) {
|
|
1486
1491
|
return tt.H.useMemoCache(h);
|
|
@@ -1491,7 +1496,7 @@ function bg() {
|
|
|
1491
1496
|
};
|
|
1492
1497
|
}, k.cacheSignal = function() {
|
|
1493
1498
|
return null;
|
|
1494
|
-
}, k.cloneElement = function(h, _,
|
|
1499
|
+
}, k.cloneElement = function(h, _, N) {
|
|
1495
1500
|
if (h == null)
|
|
1496
1501
|
throw Error(
|
|
1497
1502
|
"The argument must be a React element, but you passed " + h + "."
|
|
@@ -1501,7 +1506,7 @@ function bg() {
|
|
|
1501
1506
|
for (lt in _.key !== void 0 && (et = "" + _.key), _)
|
|
1502
1507
|
!Gt.call(_, lt) || lt === "key" || lt === "__self" || lt === "__source" || lt === "ref" && _.ref === void 0 || (Y[lt] = _[lt]);
|
|
1503
1508
|
var lt = arguments.length - 2;
|
|
1504
|
-
if (lt === 1) Y.children =
|
|
1509
|
+
if (lt === 1) Y.children = N;
|
|
1505
1510
|
else if (1 < lt) {
|
|
1506
1511
|
for (var yt = Array(lt), Ft = 0; Ft < lt; Ft++)
|
|
1507
1512
|
yt[Ft] = arguments[Ft + 2];
|
|
@@ -1520,13 +1525,13 @@ function bg() {
|
|
|
1520
1525
|
$$typeof: O,
|
|
1521
1526
|
_context: h
|
|
1522
1527
|
}, h;
|
|
1523
|
-
}, k.createElement = function(h, _,
|
|
1528
|
+
}, k.createElement = function(h, _, N) {
|
|
1524
1529
|
var Y, et = {}, lt = null;
|
|
1525
1530
|
if (_ != null)
|
|
1526
1531
|
for (Y in _.key !== void 0 && (lt = "" + _.key), _)
|
|
1527
1532
|
Gt.call(_, Y) && Y !== "key" && Y !== "__self" && Y !== "__source" && (et[Y] = _[Y]);
|
|
1528
1533
|
var yt = arguments.length - 2;
|
|
1529
|
-
if (yt === 1) et.children =
|
|
1534
|
+
if (yt === 1) et.children = N;
|
|
1530
1535
|
else if (1 < yt) {
|
|
1531
1536
|
for (var Ft = Array(yt), Ot = 0; Ot < yt; Ot++)
|
|
1532
1537
|
Ft[Ot] = arguments[Ot + 2];
|
|
@@ -1553,22 +1558,22 @@ function bg() {
|
|
|
1553
1558
|
compare: _ === void 0 ? null : _
|
|
1554
1559
|
};
|
|
1555
1560
|
}, k.startTransition = function(h) {
|
|
1556
|
-
var _ = tt.T,
|
|
1557
|
-
tt.T =
|
|
1561
|
+
var _ = tt.T, N = {};
|
|
1562
|
+
tt.T = N;
|
|
1558
1563
|
try {
|
|
1559
1564
|
var Y = h(), et = tt.S;
|
|
1560
|
-
et !== null && et(
|
|
1565
|
+
et !== null && et(N, Y), typeof Y == "object" && Y !== null && typeof Y.then == "function" && Y.then(jt, P);
|
|
1561
1566
|
} catch (lt) {
|
|
1562
1567
|
P(lt);
|
|
1563
1568
|
} finally {
|
|
1564
|
-
_ !== null &&
|
|
1569
|
+
_ !== null && N.types !== null && (_.types = N.types), tt.T = _;
|
|
1565
1570
|
}
|
|
1566
1571
|
}, k.unstable_useCacheRefresh = function() {
|
|
1567
1572
|
return tt.H.useCacheRefresh();
|
|
1568
1573
|
}, k.use = function(h) {
|
|
1569
1574
|
return tt.H.use(h);
|
|
1570
|
-
}, k.useActionState = function(h, _,
|
|
1571
|
-
return tt.H.useActionState(h, _,
|
|
1575
|
+
}, k.useActionState = function(h, _, N) {
|
|
1576
|
+
return tt.H.useActionState(h, _, N);
|
|
1572
1577
|
}, k.useCallback = function(h, _) {
|
|
1573
1578
|
return tt.H.useCallback(h, _);
|
|
1574
1579
|
}, k.useContext = function(h) {
|
|
@@ -1582,8 +1587,8 @@ function bg() {
|
|
|
1582
1587
|
return tt.H.useEffectEvent(h);
|
|
1583
1588
|
}, k.useId = function() {
|
|
1584
1589
|
return tt.H.useId();
|
|
1585
|
-
}, k.useImperativeHandle = function(h, _,
|
|
1586
|
-
return tt.H.useImperativeHandle(h, _,
|
|
1590
|
+
}, k.useImperativeHandle = function(h, _, N) {
|
|
1591
|
+
return tt.H.useImperativeHandle(h, _, N);
|
|
1587
1592
|
}, k.useInsertionEffect = function(h, _) {
|
|
1588
1593
|
return tt.H.useInsertionEffect(h, _);
|
|
1589
1594
|
}, k.useLayoutEffect = function(h, _) {
|
|
@@ -1592,17 +1597,17 @@ function bg() {
|
|
|
1592
1597
|
return tt.H.useMemo(h, _);
|
|
1593
1598
|
}, k.useOptimistic = function(h, _) {
|
|
1594
1599
|
return tt.H.useOptimistic(h, _);
|
|
1595
|
-
}, k.useReducer = function(h, _,
|
|
1596
|
-
return tt.H.useReducer(h, _,
|
|
1600
|
+
}, k.useReducer = function(h, _, N) {
|
|
1601
|
+
return tt.H.useReducer(h, _, N);
|
|
1597
1602
|
}, k.useRef = function(h) {
|
|
1598
1603
|
return tt.H.useRef(h);
|
|
1599
1604
|
}, k.useState = function(h) {
|
|
1600
1605
|
return tt.H.useState(h);
|
|
1601
|
-
}, k.useSyncExternalStore = function(h, _,
|
|
1606
|
+
}, k.useSyncExternalStore = function(h, _, N) {
|
|
1602
1607
|
return tt.H.useSyncExternalStore(
|
|
1603
1608
|
h,
|
|
1604
1609
|
_,
|
|
1605
|
-
|
|
1610
|
+
N
|
|
1606
1611
|
);
|
|
1607
1612
|
}, k.useTransition = function() {
|
|
1608
1613
|
return tt.H.useTransition();
|
|
@@ -1615,7 +1620,7 @@ function Ef() {
|
|
|
1615
1620
|
var Q = Ef();
|
|
1616
1621
|
const Zi = /* @__PURE__ */ vg(Q);
|
|
1617
1622
|
function xg(y) {
|
|
1618
|
-
const [c, o] = Q.useState("idle"), [T, r] = Q.useState([]), [
|
|
1623
|
+
const [c, o] = Q.useState("idle"), [T, r] = Q.useState([]), [z, O] = Q.useState(!1), [L, U] = Q.useState(!1), [x, G] = Q.useState(!1), [D, w] = Q.useState(null), W = Q.useRef(null), I = Q.useCallback((B) => {
|
|
1619
1624
|
switch (B.type) {
|
|
1620
1625
|
case "ready":
|
|
1621
1626
|
o("active");
|
|
@@ -1624,7 +1629,7 @@ function xg(y) {
|
|
|
1624
1629
|
o("idle"), O(!1), U(!1);
|
|
1625
1630
|
break;
|
|
1626
1631
|
case "error":
|
|
1627
|
-
o("error"),
|
|
1632
|
+
o("error"), w(
|
|
1628
1633
|
typeof B.payload == "object" && B.payload !== null && "message" in B.payload ? String(B.payload.message) : "Connection error"
|
|
1629
1634
|
);
|
|
1630
1635
|
break;
|
|
@@ -1642,7 +1647,7 @@ function xg(y) {
|
|
|
1642
1647
|
timestamp: /* @__PURE__ */ new Date()
|
|
1643
1648
|
}]);
|
|
1644
1649
|
}, []), K = Q.useCallback(async () => {
|
|
1645
|
-
o("connecting"),
|
|
1650
|
+
o("connecting"), w(null);
|
|
1646
1651
|
try {
|
|
1647
1652
|
const B = new Ki({
|
|
1648
1653
|
...y,
|
|
@@ -1651,7 +1656,7 @@ function xg(y) {
|
|
|
1651
1656
|
});
|
|
1652
1657
|
W.current = B, await B.start();
|
|
1653
1658
|
} catch (B) {
|
|
1654
|
-
console.error("[useVoiceAgent] Failed to start:", B), o("error"),
|
|
1659
|
+
console.error("[useVoiceAgent] Failed to start:", B), o("error"), w(B instanceof Error ? B.message : "Failed to connect");
|
|
1655
1660
|
}
|
|
1656
1661
|
}, [y, I, Z]), $ = Q.useCallback(() => {
|
|
1657
1662
|
W.current?.stop(), W.current = null, o("idle"), O(!1), U(!1);
|
|
@@ -1670,7 +1675,7 @@ function xg(y) {
|
|
|
1670
1675
|
}, [y.autoStart, c, K]), {
|
|
1671
1676
|
status: c,
|
|
1672
1677
|
transcripts: T,
|
|
1673
|
-
isUserSpeaking:
|
|
1678
|
+
isUserSpeaking: z,
|
|
1674
1679
|
isAgentSpeaking: L,
|
|
1675
1680
|
isMuted: x,
|
|
1676
1681
|
errorMessage: D,
|
|
@@ -1683,10 +1688,10 @@ function xg(y) {
|
|
|
1683
1688
|
};
|
|
1684
1689
|
}
|
|
1685
1690
|
function Sg(y) {
|
|
1686
|
-
const [c, o] = Q.useState("idle"), [T, r] = Q.useState([]), [
|
|
1691
|
+
const [c, o] = Q.useState("idle"), [T, r] = Q.useState([]), [z, O] = Q.useState(!1), [L, U] = Q.useState(null), x = Q.useRef(null), G = Q.useRef(!1), D = Q.useCallback(() => (x.current || (x.current = new pg({
|
|
1687
1692
|
...y,
|
|
1688
1693
|
onTyping: O
|
|
1689
|
-
})), x.current), [y]),
|
|
1694
|
+
})), x.current), [y]), w = Q.useCallback(async () => {
|
|
1690
1695
|
if (!G.current) {
|
|
1691
1696
|
o("loading"), U(null);
|
|
1692
1697
|
try {
|
|
@@ -1716,15 +1721,15 @@ function Sg(y) {
|
|
|
1716
1721
|
x.current?.clearHistory(), r([]), G.current = !1, o("idle");
|
|
1717
1722
|
}, []);
|
|
1718
1723
|
return Q.useEffect(() => {
|
|
1719
|
-
y.autoInit && !G.current && y.contextId &&
|
|
1720
|
-
}, [y.autoInit, y.contextId,
|
|
1724
|
+
y.autoInit && !G.current && y.contextId && w();
|
|
1725
|
+
}, [y.autoInit, y.contextId, w]), Q.useEffect(() => () => {
|
|
1721
1726
|
x.current = null;
|
|
1722
1727
|
}, []), {
|
|
1723
1728
|
status: c,
|
|
1724
1729
|
messages: T,
|
|
1725
|
-
isLoading:
|
|
1730
|
+
isLoading: z,
|
|
1726
1731
|
errorMessage: L,
|
|
1727
|
-
initialize:
|
|
1732
|
+
initialize: w,
|
|
1728
1733
|
sendMessage: W,
|
|
1729
1734
|
clearHistory: I,
|
|
1730
1735
|
textChat: x.current
|
|
@@ -1736,19 +1741,19 @@ function Tg() {
|
|
|
1736
1741
|
if (Ud) return zn;
|
|
1737
1742
|
Ud = 1;
|
|
1738
1743
|
var y = /* @__PURE__ */ Symbol.for("react.transitional.element"), c = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
1739
|
-
function o(T, r,
|
|
1744
|
+
function o(T, r, z) {
|
|
1740
1745
|
var O = null;
|
|
1741
|
-
if (
|
|
1742
|
-
|
|
1746
|
+
if (z !== void 0 && (O = "" + z), r.key !== void 0 && (O = "" + r.key), "key" in r) {
|
|
1747
|
+
z = {};
|
|
1743
1748
|
for (var L in r)
|
|
1744
|
-
L !== "key" && (
|
|
1745
|
-
} else
|
|
1746
|
-
return r =
|
|
1749
|
+
L !== "key" && (z[L] = r[L]);
|
|
1750
|
+
} else z = r;
|
|
1751
|
+
return r = z.ref, {
|
|
1747
1752
|
$$typeof: y,
|
|
1748
1753
|
type: T,
|
|
1749
1754
|
key: O,
|
|
1750
1755
|
ref: r !== void 0 ? r : null,
|
|
1751
|
-
props:
|
|
1756
|
+
props: z
|
|
1752
1757
|
};
|
|
1753
1758
|
}
|
|
1754
1759
|
return zn.Fragment = c, zn.jsx = o, zn.jsxs = o, zn;
|
|
@@ -2430,14 +2435,14 @@ const Ld = ({
|
|
|
2430
2435
|
apiKey: o,
|
|
2431
2436
|
authToken: T,
|
|
2432
2437
|
unityApiUrl: r = "https://api.glydeunity.com",
|
|
2433
|
-
contextType:
|
|
2438
|
+
contextType: z = "screening",
|
|
2434
2439
|
height: O = "600px",
|
|
2435
2440
|
onTranscript: L,
|
|
2436
2441
|
onCallEnd: U,
|
|
2437
2442
|
onError: x,
|
|
2438
2443
|
onSwitchToText: G,
|
|
2439
2444
|
skipContinuityLimit: D,
|
|
2440
|
-
limitToLast:
|
|
2445
|
+
limitToLast: w
|
|
2441
2446
|
}) => {
|
|
2442
2447
|
const W = Q.useRef(null), {
|
|
2443
2448
|
status: I,
|
|
@@ -2454,11 +2459,11 @@ const Ld = ({
|
|
|
2454
2459
|
publishableKey: c,
|
|
2455
2460
|
apiKey: o,
|
|
2456
2461
|
authToken: T,
|
|
2457
|
-
contextType:
|
|
2462
|
+
contextType: z,
|
|
2458
2463
|
contextId: y,
|
|
2459
2464
|
unityBaseUrl: r,
|
|
2460
2465
|
skipContinuityLimit: D,
|
|
2461
|
-
limitToLast:
|
|
2466
|
+
limitToLast: w
|
|
2462
2467
|
});
|
|
2463
2468
|
Q.useEffect(() => {
|
|
2464
2469
|
W.current?.scrollIntoView({ behavior: "smooth" });
|
|
@@ -2471,7 +2476,7 @@ const Ld = ({
|
|
|
2471
2476
|
I === "error" && St && x && x(new Error(St));
|
|
2472
2477
|
}, [I, St, x]);
|
|
2473
2478
|
const tt = () => {
|
|
2474
|
-
switch (
|
|
2479
|
+
switch (z) {
|
|
2475
2480
|
case "screening":
|
|
2476
2481
|
return "Screening Interview";
|
|
2477
2482
|
case "recruiter":
|
|
@@ -2546,7 +2551,7 @@ const Ld = ({
|
|
|
2546
2551
|
},
|
|
2547
2552
|
children: [
|
|
2548
2553
|
"Start ",
|
|
2549
|
-
|
|
2554
|
+
z === "screening" ? "Interview" : "Call"
|
|
2550
2555
|
]
|
|
2551
2556
|
}
|
|
2552
2557
|
),
|
|
@@ -2556,7 +2561,7 @@ const Ld = ({
|
|
|
2556
2561
|
marginBottom: "24px",
|
|
2557
2562
|
textAlign: "center",
|
|
2558
2563
|
maxWidth: "280px"
|
|
2559
|
-
}, children:
|
|
2564
|
+
}, children: z === "screening" ? "The AI recruiter will speak with you. Make sure your microphone is ready." : z === "recruiter" ? "The AI copilot will assist you with recruiting tasks." : "The AI agent will speak with you. Make sure your microphone is ready." }),
|
|
2560
2565
|
G && /* @__PURE__ */ v.jsxs(
|
|
2561
2566
|
"button",
|
|
2562
2567
|
{
|
|
@@ -2597,7 +2602,7 @@ const Ld = ({
|
|
|
2597
2602
|
/* @__PURE__ */ v.jsx(Af, { size: 32, color: "var(--glyde-text-muted, #9ca3af)" }),
|
|
2598
2603
|
/* @__PURE__ */ v.jsx("p", { style: { marginTop: "8px" }, children: "Start speaking - the AI will respond" })
|
|
2599
2604
|
] }),
|
|
2600
|
-
Z.map((Bt, Xt) => /* @__PURE__ */ v.jsx(
|
|
2605
|
+
Z.map((Bt, Xt) => /* @__PURE__ */ v.jsx(wg, { transcript: Bt, contextType: z }, Xt)),
|
|
2601
2606
|
/* @__PURE__ */ v.jsx("div", { ref: W })
|
|
2602
2607
|
] }),
|
|
2603
2608
|
/* @__PURE__ */ v.jsxs("div", { style: {
|
|
@@ -2606,7 +2611,7 @@ const Ld = ({
|
|
|
2606
2611
|
background: "var(--glyde-background, white)"
|
|
2607
2612
|
}, children: [
|
|
2608
2613
|
/* @__PURE__ */ v.jsx(
|
|
2609
|
-
|
|
2614
|
+
Ng,
|
|
2610
2615
|
{
|
|
2611
2616
|
isUserSpeaking: K,
|
|
2612
2617
|
isAgentSpeaking: $
|
|
@@ -2658,7 +2663,7 @@ const Ld = ({
|
|
|
2658
2663
|
}
|
|
2659
2664
|
` })
|
|
2660
2665
|
] });
|
|
2661
|
-
},
|
|
2666
|
+
}, wg = ({
|
|
2662
2667
|
transcript: y,
|
|
2663
2668
|
contextType: c
|
|
2664
2669
|
}) => {
|
|
@@ -2674,7 +2679,7 @@ const Ld = ({
|
|
|
2674
2679
|
/* @__PURE__ */ v.jsx("div", { style: { fontSize: "0.75rem", opacity: 0.7, marginBottom: "4px" }, children: o ? "You" : c === "recruiter" ? "AI Copilot" : "AI Recruiter" }),
|
|
2675
2680
|
y.content
|
|
2676
2681
|
] }) });
|
|
2677
|
-
},
|
|
2682
|
+
}, Ng = ({
|
|
2678
2683
|
isUserSpeaking: y,
|
|
2679
2684
|
isAgentSpeaking: c
|
|
2680
2685
|
}) => /* @__PURE__ */ v.jsxs("div", { style: {
|
|
@@ -2710,14 +2715,14 @@ const Ld = ({
|
|
|
2710
2715
|
apiKey: o,
|
|
2711
2716
|
authToken: T,
|
|
2712
2717
|
unityApiUrl: r = "https://api.glydeunity.com",
|
|
2713
|
-
height:
|
|
2718
|
+
height: z = "600px",
|
|
2714
2719
|
title: O = "AI Chat",
|
|
2715
2720
|
placeholder: L = "Type your message...",
|
|
2716
2721
|
autoInit: U = !0,
|
|
2717
2722
|
onMessage: x,
|
|
2718
2723
|
onError: G
|
|
2719
2724
|
}) => {
|
|
2720
|
-
const [D,
|
|
2725
|
+
const [D, w] = Q.useState(""), W = Q.useRef(null), {
|
|
2721
2726
|
status: I,
|
|
2722
2727
|
messages: Z,
|
|
2723
2728
|
isLoading: K,
|
|
@@ -2739,7 +2744,7 @@ const Ld = ({
|
|
|
2739
2744
|
const St = async () => {
|
|
2740
2745
|
if (!D.trim() || K) return;
|
|
2741
2746
|
const B = D.trim();
|
|
2742
|
-
|
|
2747
|
+
w(""), await ot(B), x && x({ role: "user", content: B });
|
|
2743
2748
|
}, dt = (B) => {
|
|
2744
2749
|
B.key === "Enter" && !B.shiftKey && (B.preventDefault(), St());
|
|
2745
2750
|
};
|
|
@@ -2747,7 +2752,7 @@ const Ld = ({
|
|
|
2747
2752
|
background: "var(--glyde-background, white)",
|
|
2748
2753
|
borderRadius: "12px",
|
|
2749
2754
|
boxShadow: "0 4px 6px rgba(0,0,0,0.1)",
|
|
2750
|
-
height: typeof
|
|
2755
|
+
height: typeof z == "number" ? `${z}px` : z,
|
|
2751
2756
|
display: "flex",
|
|
2752
2757
|
flexDirection: "column",
|
|
2753
2758
|
overflow: "hidden"
|
|
@@ -2789,7 +2794,7 @@ const Ld = ({
|
|
|
2789
2794
|
{
|
|
2790
2795
|
type: "text",
|
|
2791
2796
|
value: D,
|
|
2792
|
-
onChange: (B) =>
|
|
2797
|
+
onChange: (B) => w(B.target.value),
|
|
2793
2798
|
onKeyDown: dt,
|
|
2794
2799
|
placeholder: L,
|
|
2795
2800
|
style: {
|
|
@@ -2893,14 +2898,14 @@ const Ld = ({
|
|
|
2893
2898
|
authToken: o,
|
|
2894
2899
|
contextId: T,
|
|
2895
2900
|
unityBaseUrl: r = "https://api.glydeunity.com",
|
|
2896
|
-
contextType:
|
|
2901
|
+
contextType: z = "screening",
|
|
2897
2902
|
defaultMode: O = "voice",
|
|
2898
2903
|
position: L = "bottom-right",
|
|
2899
2904
|
theme: U = "light",
|
|
2900
2905
|
allowModeSwitch: x = !0,
|
|
2901
2906
|
container: G,
|
|
2902
2907
|
displayMode: D = "floating",
|
|
2903
|
-
dimensions:
|
|
2908
|
+
dimensions: w,
|
|
2904
2909
|
showHeader: W = !0,
|
|
2905
2910
|
allowClose: I = !0,
|
|
2906
2911
|
onReady: Z,
|
|
@@ -2932,7 +2937,7 @@ const Ld = ({
|
|
|
2932
2937
|
D === "floating" ? tt(!1) : (Pt(!1), St?.());
|
|
2933
2938
|
}, j = {
|
|
2934
2939
|
...qg[D],
|
|
2935
|
-
...
|
|
2940
|
+
...w
|
|
2936
2941
|
}, it = (P) => {
|
|
2937
2942
|
if (P !== void 0)
|
|
2938
2943
|
return typeof P == "number" ? `${P}px` : P;
|
|
@@ -2945,7 +2950,7 @@ const Ld = ({
|
|
|
2945
2950
|
authToken: o,
|
|
2946
2951
|
contextId: T,
|
|
2947
2952
|
unityBaseUrl: r,
|
|
2948
|
-
contextType:
|
|
2953
|
+
contextType: z,
|
|
2949
2954
|
mode: Bt,
|
|
2950
2955
|
allowModeSwitch: x,
|
|
2951
2956
|
showHeader: W,
|
|
@@ -2966,7 +2971,7 @@ const Ld = ({
|
|
|
2966
2971
|
authToken: o,
|
|
2967
2972
|
contextId: T,
|
|
2968
2973
|
unityBaseUrl: r,
|
|
2969
|
-
contextType:
|
|
2974
|
+
contextType: z,
|
|
2970
2975
|
mode: Bt,
|
|
2971
2976
|
allowModeSwitch: x,
|
|
2972
2977
|
showHeader: W,
|
|
@@ -2987,7 +2992,7 @@ const Ld = ({
|
|
|
2987
2992
|
authToken: o,
|
|
2988
2993
|
contextId: T,
|
|
2989
2994
|
unityBaseUrl: r,
|
|
2990
|
-
contextType:
|
|
2995
|
+
contextType: z,
|
|
2991
2996
|
mode: Bt,
|
|
2992
2997
|
allowModeSwitch: x,
|
|
2993
2998
|
showHeader: W,
|
|
@@ -3020,7 +3025,7 @@ const Ld = ({
|
|
|
3020
3025
|
authToken: o,
|
|
3021
3026
|
contextId: T,
|
|
3022
3027
|
unityBaseUrl: r,
|
|
3023
|
-
contextType:
|
|
3028
|
+
contextType: z,
|
|
3024
3029
|
mode: Bt,
|
|
3025
3030
|
allowModeSwitch: x,
|
|
3026
3031
|
showHeader: W,
|
|
@@ -3062,7 +3067,7 @@ const Ld = ({
|
|
|
3062
3067
|
/* @__PURE__ */ v.jsx(
|
|
3063
3068
|
Vd,
|
|
3064
3069
|
{
|
|
3065
|
-
contextType:
|
|
3070
|
+
contextType: z,
|
|
3066
3071
|
showMinimize: !0,
|
|
3067
3072
|
showClose: !0,
|
|
3068
3073
|
onMinimize: () => tt(!1),
|
|
@@ -3081,7 +3086,7 @@ const Ld = ({
|
|
|
3081
3086
|
authToken: o,
|
|
3082
3087
|
contextId: T || "",
|
|
3083
3088
|
unityApiUrl: r,
|
|
3084
|
-
contextType:
|
|
3089
|
+
contextType: z,
|
|
3085
3090
|
height: "100%",
|
|
3086
3091
|
onTranscript: Vt,
|
|
3087
3092
|
onError: R,
|
|
@@ -3184,14 +3189,14 @@ const Ld = ({
|
|
|
3184
3189
|
authToken: o,
|
|
3185
3190
|
contextId: T,
|
|
3186
3191
|
unityBaseUrl: r,
|
|
3187
|
-
contextType:
|
|
3192
|
+
contextType: z,
|
|
3188
3193
|
mode: O,
|
|
3189
3194
|
allowModeSwitch: L,
|
|
3190
3195
|
showHeader: U = !0,
|
|
3191
3196
|
allowClose: x = !0,
|
|
3192
3197
|
dimensions: G,
|
|
3193
3198
|
onModeChange: D,
|
|
3194
|
-
onTranscript:
|
|
3199
|
+
onTranscript: w,
|
|
3195
3200
|
onError: W,
|
|
3196
3201
|
onClose: I,
|
|
3197
3202
|
skipContinuityLimit: Z,
|
|
@@ -3230,7 +3235,7 @@ const Ld = ({
|
|
|
3230
3235
|
U && /* @__PURE__ */ v.jsx(
|
|
3231
3236
|
Vd,
|
|
3232
3237
|
{
|
|
3233
|
-
contextType:
|
|
3238
|
+
contextType: z,
|
|
3234
3239
|
showMinimize: !1,
|
|
3235
3240
|
showClose: x,
|
|
3236
3241
|
onClose: I
|
|
@@ -3249,9 +3254,9 @@ const Ld = ({
|
|
|
3249
3254
|
authToken: o,
|
|
3250
3255
|
contextId: T || "",
|
|
3251
3256
|
unityApiUrl: r,
|
|
3252
|
-
contextType:
|
|
3257
|
+
contextType: z,
|
|
3253
3258
|
height: "100%",
|
|
3254
|
-
onTranscript:
|
|
3259
|
+
onTranscript: w,
|
|
3255
3260
|
onSwitchToText: L ? () => St("text") : void 0,
|
|
3256
3261
|
onError: W,
|
|
3257
3262
|
skipContinuityLimit: Z,
|
|
@@ -3274,17 +3279,17 @@ const Ld = ({
|
|
|
3274
3279
|
}
|
|
3275
3280
|
);
|
|
3276
3281
|
}, Gg = (y) => {
|
|
3277
|
-
const { dimensions: c, onClose: o } = y, T = (
|
|
3278
|
-
if (
|
|
3279
|
-
return typeof
|
|
3280
|
-
}, r = (
|
|
3281
|
-
|
|
3282
|
+
const { dimensions: c, onClose: o } = y, T = (z) => {
|
|
3283
|
+
if (z !== void 0)
|
|
3284
|
+
return typeof z == "number" ? `${z}px` : z;
|
|
3285
|
+
}, r = (z) => {
|
|
3286
|
+
z.target === z.currentTarget && y.allowClose && o?.();
|
|
3282
3287
|
};
|
|
3283
3288
|
return Q.useEffect(() => {
|
|
3284
|
-
const
|
|
3289
|
+
const z = (O) => {
|
|
3285
3290
|
O.key === "Escape" && y.allowClose && o?.();
|
|
3286
3291
|
};
|
|
3287
|
-
return window.addEventListener("keydown",
|
|
3292
|
+
return window.addEventListener("keydown", z), () => window.removeEventListener("keydown", z);
|
|
3288
3293
|
}, [o, y.allowClose]), /* @__PURE__ */ v.jsx(
|
|
3289
3294
|
"div",
|
|
3290
3295
|
{
|
|
@@ -3327,8 +3332,8 @@ const Ld = ({
|
|
|
3327
3332
|
maxHeight: "100%"
|
|
3328
3333
|
};
|
|
3329
3334
|
return Q.useEffect(() => {
|
|
3330
|
-
const r = (
|
|
3331
|
-
|
|
3335
|
+
const r = (z) => {
|
|
3336
|
+
z.key === "Escape" && y.allowClose && c?.();
|
|
3332
3337
|
};
|
|
3333
3338
|
return window.addEventListener("keydown", r), () => window.removeEventListener("keydown", r);
|
|
3334
3339
|
}, [c, y.allowClose]), /* @__PURE__ */ v.jsx("div", { className: "glyde-mobile-viewport", children: /* @__PURE__ */ v.jsx(Fi, { ...y, dimensions: T }) });
|
|
@@ -3356,11 +3361,11 @@ function Lg() {
|
|
|
3356
3361
|
if (j !== M) {
|
|
3357
3362
|
R[0] = j;
|
|
3358
3363
|
t: for (var it = 0, P = R.length, $t = P >>> 1; it < $t; ) {
|
|
3359
|
-
var h = 2 * (it + 1) - 1, _ = R[h],
|
|
3364
|
+
var h = 2 * (it + 1) - 1, _ = R[h], N = h + 1, Y = R[N];
|
|
3360
3365
|
if (0 > r(_, j))
|
|
3361
|
-
|
|
3362
|
-
else if (
|
|
3363
|
-
R[it] = Y, R[
|
|
3366
|
+
N < P && 0 > r(Y, _) ? (R[it] = Y, R[N] = j, it = N) : (R[it] = _, R[h] = j, it = h);
|
|
3367
|
+
else if (N < P && 0 > r(Y, j))
|
|
3368
|
+
R[it] = Y, R[N] = j, it = N;
|
|
3364
3369
|
else break t;
|
|
3365
3370
|
}
|
|
3366
3371
|
}
|
|
@@ -3371,9 +3376,9 @@ function Lg() {
|
|
|
3371
3376
|
return j !== 0 ? j : R.id - M.id;
|
|
3372
3377
|
}
|
|
3373
3378
|
if (y.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
|
|
3374
|
-
var
|
|
3379
|
+
var z = performance;
|
|
3375
3380
|
y.unstable_now = function() {
|
|
3376
|
-
return
|
|
3381
|
+
return z.now();
|
|
3377
3382
|
};
|
|
3378
3383
|
} else {
|
|
3379
3384
|
var O = Date, L = O.now();
|
|
@@ -3381,7 +3386,7 @@ function Lg() {
|
|
|
3381
3386
|
return O.now() - L;
|
|
3382
3387
|
};
|
|
3383
3388
|
}
|
|
3384
|
-
var U = [], x = [], G = 1, D = null,
|
|
3389
|
+
var U = [], x = [], G = 1, D = null, w = 3, W = !1, I = !1, Z = !1, K = !1, $ = typeof setTimeout == "function" ? setTimeout : null, ot = typeof clearTimeout == "function" ? clearTimeout : null, St = typeof setImmediate < "u" ? setImmediate : null;
|
|
3385
3390
|
function dt(R) {
|
|
3386
3391
|
for (var M = o(x); M !== null; ) {
|
|
3387
3392
|
if (M.callback === null) T(x);
|
|
@@ -3412,13 +3417,13 @@ function Lg() {
|
|
|
3412
3417
|
try {
|
|
3413
3418
|
t: {
|
|
3414
3419
|
I = !1, Z && (Z = !1, ot(jt), jt = -1), W = !0;
|
|
3415
|
-
var j =
|
|
3420
|
+
var j = w;
|
|
3416
3421
|
try {
|
|
3417
3422
|
e: {
|
|
3418
3423
|
for (dt(R), D = o(U); D !== null && !(D.expirationTime > R && Pt()); ) {
|
|
3419
3424
|
var it = D.callback;
|
|
3420
3425
|
if (typeof it == "function") {
|
|
3421
|
-
D.callback = null,
|
|
3426
|
+
D.callback = null, w = D.priorityLevel;
|
|
3422
3427
|
var P = it(
|
|
3423
3428
|
D.expirationTime <= R
|
|
3424
3429
|
);
|
|
@@ -3441,7 +3446,7 @@ function Lg() {
|
|
|
3441
3446
|
}
|
|
3442
3447
|
break t;
|
|
3443
3448
|
} finally {
|
|
3444
|
-
D = null,
|
|
3449
|
+
D = null, w = j, W = !1;
|
|
3445
3450
|
}
|
|
3446
3451
|
M = void 0;
|
|
3447
3452
|
}
|
|
@@ -3476,23 +3481,23 @@ function Lg() {
|
|
|
3476
3481
|
"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
|
|
3477
3482
|
) : tt = 0 < R ? Math.floor(1e3 / R) : 5;
|
|
3478
3483
|
}, y.unstable_getCurrentPriorityLevel = function() {
|
|
3479
|
-
return
|
|
3484
|
+
return w;
|
|
3480
3485
|
}, y.unstable_next = function(R) {
|
|
3481
|
-
switch (
|
|
3486
|
+
switch (w) {
|
|
3482
3487
|
case 1:
|
|
3483
3488
|
case 2:
|
|
3484
3489
|
case 3:
|
|
3485
3490
|
var M = 3;
|
|
3486
3491
|
break;
|
|
3487
3492
|
default:
|
|
3488
|
-
M =
|
|
3493
|
+
M = w;
|
|
3489
3494
|
}
|
|
3490
|
-
var j =
|
|
3491
|
-
|
|
3495
|
+
var j = w;
|
|
3496
|
+
w = M;
|
|
3492
3497
|
try {
|
|
3493
3498
|
return R();
|
|
3494
3499
|
} finally {
|
|
3495
|
-
|
|
3500
|
+
w = j;
|
|
3496
3501
|
}
|
|
3497
3502
|
}, y.unstable_requestPaint = function() {
|
|
3498
3503
|
K = !0;
|
|
@@ -3507,12 +3512,12 @@ function Lg() {
|
|
|
3507
3512
|
default:
|
|
3508
3513
|
R = 3;
|
|
3509
3514
|
}
|
|
3510
|
-
var j =
|
|
3511
|
-
|
|
3515
|
+
var j = w;
|
|
3516
|
+
w = R;
|
|
3512
3517
|
try {
|
|
3513
3518
|
return M();
|
|
3514
3519
|
} finally {
|
|
3515
|
-
|
|
3520
|
+
w = j;
|
|
3516
3521
|
}
|
|
3517
3522
|
}, y.unstable_scheduleCallback = function(R, M, j) {
|
|
3518
3523
|
var it = y.unstable_now();
|
|
@@ -3541,14 +3546,14 @@ function Lg() {
|
|
|
3541
3546
|
sortIndex: -1
|
|
3542
3547
|
}, j > it ? (R.sortIndex = j, c(x, R), o(U) === null && R === o(x) && (Z ? (ot(jt), jt = -1) : Z = !0, Vt(B, j - it))) : (R.sortIndex = P, c(U, R), I || W || (I = !0, Tt || (Tt = !0, Xt()))), R;
|
|
3543
3548
|
}, y.unstable_shouldYield = Pt, y.unstable_wrapCallback = function(R) {
|
|
3544
|
-
var M =
|
|
3549
|
+
var M = w;
|
|
3545
3550
|
return function() {
|
|
3546
|
-
var j =
|
|
3547
|
-
|
|
3551
|
+
var j = w;
|
|
3552
|
+
w = M;
|
|
3548
3553
|
try {
|
|
3549
3554
|
return R.apply(this, arguments);
|
|
3550
3555
|
} finally {
|
|
3551
|
-
|
|
3556
|
+
w = j;
|
|
3552
3557
|
}
|
|
3553
3558
|
};
|
|
3554
3559
|
};
|
|
@@ -3559,10 +3564,10 @@ function Xg() {
|
|
|
3559
3564
|
return Rd || (Rd = 1, xf.exports = Lg()), xf.exports;
|
|
3560
3565
|
}
|
|
3561
3566
|
var Tf = { exports: {} }, Wt = {};
|
|
3562
|
-
var
|
|
3567
|
+
var wd;
|
|
3563
3568
|
function Vg() {
|
|
3564
|
-
if (
|
|
3565
|
-
|
|
3569
|
+
if (wd) return Wt;
|
|
3570
|
+
wd = 1;
|
|
3566
3571
|
var y = Ef();
|
|
3567
3572
|
function c(U) {
|
|
3568
3573
|
var x = "https://react.dev/errors/" + U;
|
|
@@ -3592,7 +3597,7 @@ function Vg() {
|
|
|
3592
3597
|
p: 0,
|
|
3593
3598
|
findDOMNode: null
|
|
3594
3599
|
}, r = /* @__PURE__ */ Symbol.for("react.portal");
|
|
3595
|
-
function
|
|
3600
|
+
function z(U, x, G) {
|
|
3596
3601
|
var D = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
3597
3602
|
return {
|
|
3598
3603
|
$$typeof: r,
|
|
@@ -3612,7 +3617,7 @@ function Vg() {
|
|
|
3612
3617
|
var G = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
3613
3618
|
if (!x || x.nodeType !== 1 && x.nodeType !== 9 && x.nodeType !== 11)
|
|
3614
3619
|
throw Error(c(299));
|
|
3615
|
-
return
|
|
3620
|
+
return z(U, x, null, G);
|
|
3616
3621
|
}, Wt.flushSync = function(U) {
|
|
3617
3622
|
var x = O.T, G = T.p;
|
|
3618
3623
|
try {
|
|
@@ -3626,18 +3631,18 @@ function Vg() {
|
|
|
3626
3631
|
typeof U == "string" && T.d.D(U);
|
|
3627
3632
|
}, Wt.preinit = function(U, x) {
|
|
3628
3633
|
if (typeof U == "string" && x && typeof x.as == "string") {
|
|
3629
|
-
var G = x.as, D = L(G, x.crossOrigin),
|
|
3634
|
+
var G = x.as, D = L(G, x.crossOrigin), w = typeof x.integrity == "string" ? x.integrity : void 0, W = typeof x.fetchPriority == "string" ? x.fetchPriority : void 0;
|
|
3630
3635
|
G === "style" ? T.d.S(
|
|
3631
3636
|
U,
|
|
3632
3637
|
typeof x.precedence == "string" ? x.precedence : void 0,
|
|
3633
3638
|
{
|
|
3634
3639
|
crossOrigin: D,
|
|
3635
|
-
integrity:
|
|
3640
|
+
integrity: w,
|
|
3636
3641
|
fetchPriority: W
|
|
3637
3642
|
}
|
|
3638
3643
|
) : G === "script" && T.d.X(U, {
|
|
3639
3644
|
crossOrigin: D,
|
|
3640
|
-
integrity:
|
|
3645
|
+
integrity: w,
|
|
3641
3646
|
fetchPriority: W,
|
|
3642
3647
|
nonce: typeof x.nonce == "string" ? x.nonce : void 0
|
|
3643
3648
|
});
|
|
@@ -3692,10 +3697,10 @@ function Vg() {
|
|
|
3692
3697
|
return O.H.useHostTransitionStatus();
|
|
3693
3698
|
}, Wt.version = "19.2.4", Wt;
|
|
3694
3699
|
}
|
|
3695
|
-
var
|
|
3700
|
+
var Nd;
|
|
3696
3701
|
function Qg() {
|
|
3697
|
-
if (
|
|
3698
|
-
|
|
3702
|
+
if (Nd) return Tf.exports;
|
|
3703
|
+
Nd = 1;
|
|
3699
3704
|
function y() {
|
|
3700
3705
|
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"))
|
|
3701
3706
|
try {
|
|
@@ -3721,7 +3726,7 @@ function Zg() {
|
|
|
3721
3726
|
}
|
|
3722
3727
|
return "Minified React error #" + t + "; visit " + e + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
3723
3728
|
}
|
|
3724
|
-
function
|
|
3729
|
+
function z(t) {
|
|
3725
3730
|
return !(!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11);
|
|
3726
3731
|
}
|
|
3727
3732
|
function O(t) {
|
|
@@ -3820,7 +3825,7 @@ function Zg() {
|
|
|
3820
3825
|
}
|
|
3821
3826
|
return null;
|
|
3822
3827
|
}
|
|
3823
|
-
var
|
|
3828
|
+
var w = Object.assign, W = /* @__PURE__ */ Symbol.for("react.element"), I = /* @__PURE__ */ Symbol.for("react.transitional.element"), Z = /* @__PURE__ */ Symbol.for("react.portal"), K = /* @__PURE__ */ Symbol.for("react.fragment"), $ = /* @__PURE__ */ Symbol.for("react.strict_mode"), ot = /* @__PURE__ */ Symbol.for("react.profiler"), St = /* @__PURE__ */ Symbol.for("react.consumer"), dt = /* @__PURE__ */ Symbol.for("react.context"), B = /* @__PURE__ */ Symbol.for("react.forward_ref"), Tt = /* @__PURE__ */ Symbol.for("react.suspense"), jt = /* @__PURE__ */ Symbol.for("react.suspense_list"), tt = /* @__PURE__ */ Symbol.for("react.memo"), Gt = /* @__PURE__ */ Symbol.for("react.lazy"), Pt = /* @__PURE__ */ Symbol.for("react.activity"), Bt = /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel"), Xt = Symbol.iterator;
|
|
3824
3829
|
function ce(t) {
|
|
3825
3830
|
return t === null || typeof t != "object" ? null : (t = Xt && t[Xt] || t["@@iterator"], typeof t == "function" ? t : null);
|
|
3826
3831
|
}
|
|
@@ -3878,12 +3883,12 @@ function Zg() {
|
|
|
3878
3883
|
function _(t) {
|
|
3879
3884
|
0 > $t || (t.current = P[$t], P[$t] = null, $t--);
|
|
3880
3885
|
}
|
|
3881
|
-
function
|
|
3886
|
+
function N(t, e) {
|
|
3882
3887
|
$t++, P[$t] = t.current, t.current = e;
|
|
3883
3888
|
}
|
|
3884
3889
|
var Y = h(null), et = h(null), lt = h(null), yt = h(null);
|
|
3885
3890
|
function Ft(t, e) {
|
|
3886
|
-
switch (
|
|
3891
|
+
switch (N(lt, e), N(et, t), N(Y, null), e.nodeType) {
|
|
3887
3892
|
case 9:
|
|
3888
3893
|
case 11:
|
|
3889
3894
|
t = (t = e.documentElement) && (t = t.namespaceURI) ? Fr(t) : 0;
|
|
@@ -3903,15 +3908,15 @@ function Zg() {
|
|
|
3903
3908
|
t = 0;
|
|
3904
3909
|
}
|
|
3905
3910
|
}
|
|
3906
|
-
_(Y),
|
|
3911
|
+
_(Y), N(Y, t);
|
|
3907
3912
|
}
|
|
3908
3913
|
function Ot() {
|
|
3909
3914
|
_(Y), _(et), _(lt);
|
|
3910
3915
|
}
|
|
3911
3916
|
function Da(t) {
|
|
3912
|
-
t.memoizedState !== null &&
|
|
3917
|
+
t.memoizedState !== null && N(yt, t);
|
|
3913
3918
|
var e = Y.current, l = Ir(e, t.type);
|
|
3914
|
-
e !== l && (
|
|
3919
|
+
e !== l && (N(et, t), N(Y, l));
|
|
3915
3920
|
}
|
|
3916
3921
|
function _n(t) {
|
|
3917
3922
|
et.current === t && (_(Y), _(et)), yt.current === t && (_(yt), Sn._currentValue = it);
|
|
@@ -3940,27 +3945,27 @@ function Zg() {
|
|
|
3940
3945
|
DetermineComponentFrameRoot: function() {
|
|
3941
3946
|
try {
|
|
3942
3947
|
if (e) {
|
|
3943
|
-
var
|
|
3948
|
+
var C = function() {
|
|
3944
3949
|
throw Error();
|
|
3945
3950
|
};
|
|
3946
|
-
if (Object.defineProperty(
|
|
3951
|
+
if (Object.defineProperty(C.prototype, "props", {
|
|
3947
3952
|
set: function() {
|
|
3948
3953
|
throw Error();
|
|
3949
3954
|
}
|
|
3950
3955
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
3951
3956
|
try {
|
|
3952
|
-
Reflect.construct(
|
|
3957
|
+
Reflect.construct(C, []);
|
|
3953
3958
|
} catch (S) {
|
|
3954
3959
|
var b = S;
|
|
3955
3960
|
}
|
|
3956
|
-
Reflect.construct(t, [],
|
|
3961
|
+
Reflect.construct(t, [], C);
|
|
3957
3962
|
} else {
|
|
3958
3963
|
try {
|
|
3959
|
-
|
|
3964
|
+
C.call();
|
|
3960
3965
|
} catch (S) {
|
|
3961
3966
|
b = S;
|
|
3962
3967
|
}
|
|
3963
|
-
t.call(
|
|
3968
|
+
t.call(C.prototype);
|
|
3964
3969
|
}
|
|
3965
3970
|
} else {
|
|
3966
3971
|
try {
|
|
@@ -3968,7 +3973,7 @@ function Zg() {
|
|
|
3968
3973
|
} catch (S) {
|
|
3969
3974
|
b = S;
|
|
3970
3975
|
}
|
|
3971
|
-
(
|
|
3976
|
+
(C = t()) && typeof C.catch == "function" && C.catch(function() {
|
|
3972
3977
|
});
|
|
3973
3978
|
}
|
|
3974
3979
|
} catch (S) {
|
|
@@ -4186,7 +4191,7 @@ Error generating stack: ` + a.message + `
|
|
|
4186
4191
|
for (var e = [], l = 0; 31 > l; l++) e.push(t);
|
|
4187
4192
|
return e;
|
|
4188
4193
|
}
|
|
4189
|
-
function
|
|
4194
|
+
function wa(t, e) {
|
|
4190
4195
|
t.pendingLanes |= e, e !== 268435456 && (t.suspendedLanes = 0, t.pingedLanes = 0, t.warmLanes = 0);
|
|
4191
4196
|
}
|
|
4192
4197
|
function lh(t, e, l, a, n, i) {
|
|
@@ -4194,7 +4199,7 @@ Error generating stack: ` + a.message + `
|
|
|
4194
4199
|
t.pendingLanes = l, t.suspendedLanes = 0, t.pingedLanes = 0, t.warmLanes = 0, t.expiredLanes &= l, t.entangledLanes &= l, t.errorRecoveryDisabledLanes &= l, t.shellSuspendCounter = 0;
|
|
4195
4200
|
var f = t.entanglements, s = t.expirationTimes, p = t.hiddenUpdates;
|
|
4196
4201
|
for (l = u & ~l; 0 < l; ) {
|
|
4197
|
-
var A = 31 - re(l),
|
|
4202
|
+
var A = 31 - re(l), C = 1 << A;
|
|
4198
4203
|
f[A] = 0, s[A] = -1;
|
|
4199
4204
|
var b = p[A];
|
|
4200
4205
|
if (b !== null)
|
|
@@ -4202,7 +4207,7 @@ Error generating stack: ` + a.message + `
|
|
|
4202
4207
|
var S = b[A];
|
|
4203
4208
|
S !== null && (S.lane &= -536870913);
|
|
4204
4209
|
}
|
|
4205
|
-
l &= ~
|
|
4210
|
+
l &= ~C;
|
|
4206
4211
|
}
|
|
4207
4212
|
a !== 0 && jf(t, a, 0), i !== 0 && n === 0 && t.tag !== 0 && (t.suspendedLanes |= i & ~(u & ~e));
|
|
4208
4213
|
}
|
|
@@ -4218,7 +4223,7 @@ Error generating stack: ` + a.message + `
|
|
|
4218
4223
|
n & e | t[a] & e && (t[a] |= e), l &= ~n;
|
|
4219
4224
|
}
|
|
4220
4225
|
}
|
|
4221
|
-
function
|
|
4226
|
+
function wf(t, e) {
|
|
4222
4227
|
var l = e & -e;
|
|
4223
4228
|
return l = (l & 42) !== 0 ? 1 : iu(l), (l & (t.suspendedLanes | e)) !== 0 ? 0 : l;
|
|
4224
4229
|
}
|
|
@@ -4264,7 +4269,7 @@ Error generating stack: ` + a.message + `
|
|
|
4264
4269
|
function uu(t) {
|
|
4265
4270
|
return t &= -t, 2 < t ? 8 < t ? (t & 134217727) !== 0 ? 32 : 268435456 : 8 : 2;
|
|
4266
4271
|
}
|
|
4267
|
-
function
|
|
4272
|
+
function Nf() {
|
|
4268
4273
|
var t = j.p;
|
|
4269
4274
|
return t !== 0 ? t : (t = window.event, t === void 0 ? 32 : Sd(t.type));
|
|
4270
4275
|
}
|
|
@@ -4276,7 +4281,7 @@ Error generating stack: ` + a.message + `
|
|
|
4276
4281
|
j.p = l;
|
|
4277
4282
|
}
|
|
4278
4283
|
}
|
|
4279
|
-
var ll = Math.random().toString(36).slice(2), Qt = "__reactFiber$" + ll, te = "__reactProps$" + ll, Kl = "__reactContainer$" + ll, cu = "__reactEvents$" + ll, ah = "__reactListeners$" + ll, nh = "__reactHandles$" + ll, Bf = "__reactResources$" + ll,
|
|
4284
|
+
var ll = Math.random().toString(36).slice(2), Qt = "__reactFiber$" + ll, te = "__reactProps$" + ll, Kl = "__reactContainer$" + ll, cu = "__reactEvents$" + ll, ah = "__reactListeners$" + ll, nh = "__reactHandles$" + ll, Bf = "__reactResources$" + ll, Na = "__reactMarker$" + ll;
|
|
4280
4285
|
function fu(t) {
|
|
4281
4286
|
delete t[Qt], delete t[te], delete t[cu], delete t[ah], delete t[nh];
|
|
4282
4287
|
}
|
|
@@ -4314,7 +4319,7 @@ Error generating stack: ` + a.message + `
|
|
|
4314
4319
|
return e || (e = t[Bf] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), e;
|
|
4315
4320
|
}
|
|
4316
4321
|
function Yt(t) {
|
|
4317
|
-
t[
|
|
4322
|
+
t[Na] = !0;
|
|
4318
4323
|
}
|
|
4319
4324
|
var qf = /* @__PURE__ */ new Set(), Gf = {};
|
|
4320
4325
|
function Ml(t, e) {
|
|
@@ -4350,7 +4355,7 @@ Error generating stack: ` + a.message + `
|
|
|
4350
4355
|
t.setAttribute(e, "" + l);
|
|
4351
4356
|
}
|
|
4352
4357
|
}
|
|
4353
|
-
function
|
|
4358
|
+
function wn(t, e, l) {
|
|
4354
4359
|
if (l === null) t.removeAttribute(e);
|
|
4355
4360
|
else {
|
|
4356
4361
|
switch (typeof l) {
|
|
@@ -4443,7 +4448,7 @@ Error generating stack: ` + a.message + `
|
|
|
4443
4448
|
var l = e.getValue(), a = "";
|
|
4444
4449
|
return t && (a = Xf(t) ? t.checked ? "true" : "false" : t.value), t = a, t !== l ? (e.setValue(t), !0) : !1;
|
|
4445
4450
|
}
|
|
4446
|
-
function
|
|
4451
|
+
function Nn(t) {
|
|
4447
4452
|
if (t = t || (typeof document < "u" ? document : void 0), typeof t > "u") return null;
|
|
4448
4453
|
try {
|
|
4449
4454
|
return t.activeElement || t.body;
|
|
@@ -4474,7 +4479,7 @@ Error generating stack: ` + a.message + `
|
|
|
4474
4479
|
a = a ?? n, a = typeof a != "function" && typeof a != "symbol" && !!a, t.checked = f ? t.checked : !!a, t.defaultChecked = !!a, u != null && typeof u != "function" && typeof u != "symbol" && typeof u != "boolean" && (t.name = u), ou(t);
|
|
4475
4480
|
}
|
|
4476
4481
|
function ru(t, e, l) {
|
|
4477
|
-
e === "number" &&
|
|
4482
|
+
e === "number" && Nn(t.ownerDocument) === t || t.defaultValue === "" + l || (t.defaultValue = "" + l);
|
|
4478
4483
|
}
|
|
4479
4484
|
function Il(t, e, l, a) {
|
|
4480
4485
|
if (t = t.options, e) {
|
|
@@ -4782,7 +4787,7 @@ Error generating stack: ` + a.message + `
|
|
|
4782
4787
|
t.hasOwnProperty(f) && (l = t[f], this[f] = l ? l(i) : i[f]);
|
|
4783
4788
|
return this.isDefaultPrevented = (i.defaultPrevented != null ? i.defaultPrevented : i.returnValue === !1) ? Gn : If, this.isPropagationStopped = If, this;
|
|
4784
4789
|
}
|
|
4785
|
-
return
|
|
4790
|
+
return w(e.prototype, {
|
|
4786
4791
|
preventDefault: function() {
|
|
4787
4792
|
this.defaultPrevented = !0;
|
|
4788
4793
|
var l = this.nativeEvent;
|
|
@@ -4806,7 +4811,7 @@ Error generating stack: ` + a.message + `
|
|
|
4806
4811
|
},
|
|
4807
4812
|
defaultPrevented: 0,
|
|
4808
4813
|
isTrusted: 0
|
|
4809
|
-
}, Yn = ee(Ol), Ga =
|
|
4814
|
+
}, Yn = ee(Ol), Ga = w({}, Ol, { view: 0, detail: 0 }), dh = ee(Ga), vu, bu, Ya, Ln = w({}, Ga, {
|
|
4810
4815
|
screenX: 0,
|
|
4811
4816
|
screenY: 0,
|
|
4812
4817
|
clientX: 0,
|
|
@@ -4829,15 +4834,15 @@ Error generating stack: ` + a.message + `
|
|
|
4829
4834
|
movementY: function(t) {
|
|
4830
4835
|
return "movementY" in t ? t.movementY : bu;
|
|
4831
4836
|
}
|
|
4832
|
-
}), Pf = ee(Ln), hh =
|
|
4837
|
+
}), Pf = ee(Ln), hh = w({}, Ln, { dataTransfer: 0 }), yh = ee(hh), gh = w({}, Ga, { relatedTarget: 0 }), xu = ee(gh), mh = w({}, Ol, {
|
|
4833
4838
|
animationName: 0,
|
|
4834
4839
|
elapsedTime: 0,
|
|
4835
4840
|
pseudoElement: 0
|
|
4836
|
-
}), ph = ee(mh), vh =
|
|
4841
|
+
}), ph = ee(mh), vh = w({}, Ol, {
|
|
4837
4842
|
clipboardData: function(t) {
|
|
4838
4843
|
return "clipboardData" in t ? t.clipboardData : window.clipboardData;
|
|
4839
4844
|
}
|
|
4840
|
-
}), bh = ee(vh), xh =
|
|
4845
|
+
}), bh = ee(vh), xh = w({}, Ol, { data: 0 }), to = ee(xh), Sh = {
|
|
4841
4846
|
Esc: "Escape",
|
|
4842
4847
|
Spacebar: " ",
|
|
4843
4848
|
Left: "ArrowLeft",
|
|
@@ -4900,7 +4905,7 @@ Error generating stack: ` + a.message + `
|
|
|
4900
4905
|
function Su() {
|
|
4901
4906
|
return Eh;
|
|
4902
4907
|
}
|
|
4903
|
-
var zh =
|
|
4908
|
+
var zh = w({}, Ga, {
|
|
4904
4909
|
key: function(t) {
|
|
4905
4910
|
if (t.key) {
|
|
4906
4911
|
var e = Sh[t.key] || t.key;
|
|
@@ -4926,7 +4931,7 @@ Error generating stack: ` + a.message + `
|
|
|
4926
4931
|
which: function(t) {
|
|
4927
4932
|
return t.type === "keypress" ? qn(t) : t.type === "keydown" || t.type === "keyup" ? t.keyCode : 0;
|
|
4928
4933
|
}
|
|
4929
|
-
}), Ch = ee(zh), _h =
|
|
4934
|
+
}), Ch = ee(zh), _h = w({}, Ln, {
|
|
4930
4935
|
pointerId: 0,
|
|
4931
4936
|
width: 0,
|
|
4932
4937
|
height: 0,
|
|
@@ -4937,7 +4942,7 @@ Error generating stack: ` + a.message + `
|
|
|
4937
4942
|
twist: 0,
|
|
4938
4943
|
pointerType: 0,
|
|
4939
4944
|
isPrimary: 0
|
|
4940
|
-
}), eo = ee(_h), Mh =
|
|
4945
|
+
}), eo = ee(_h), Mh = w({}, Ga, {
|
|
4941
4946
|
touches: 0,
|
|
4942
4947
|
targetTouches: 0,
|
|
4943
4948
|
changedTouches: 0,
|
|
@@ -4946,11 +4951,11 @@ Error generating stack: ` + a.message + `
|
|
|
4946
4951
|
ctrlKey: 0,
|
|
4947
4952
|
shiftKey: 0,
|
|
4948
4953
|
getModifierState: Su
|
|
4949
|
-
}), Oh = ee(Mh), Uh =
|
|
4954
|
+
}), Oh = ee(Mh), Uh = w({}, Ol, {
|
|
4950
4955
|
propertyName: 0,
|
|
4951
4956
|
elapsedTime: 0,
|
|
4952
4957
|
pseudoElement: 0
|
|
4953
|
-
}), Dh = ee(Uh), jh =
|
|
4958
|
+
}), Dh = ee(Uh), jh = w({}, Ln, {
|
|
4954
4959
|
deltaX: function(t) {
|
|
4955
4960
|
return "deltaX" in t ? t.deltaX : "wheelDeltaX" in t ? -t.wheelDeltaX : 0;
|
|
4956
4961
|
},
|
|
@@ -4959,10 +4964,10 @@ Error generating stack: ` + a.message + `
|
|
|
4959
4964
|
},
|
|
4960
4965
|
deltaZ: 0,
|
|
4961
4966
|
deltaMode: 0
|
|
4962
|
-
}), Rh = ee(jh),
|
|
4967
|
+
}), Rh = ee(jh), wh = w({}, Ol, {
|
|
4963
4968
|
newState: 0,
|
|
4964
4969
|
oldState: 0
|
|
4965
|
-
}),
|
|
4970
|
+
}), Nh = ee(wh), Hh = [9, 13, 27, 32], Tu = qe && "CompositionEvent" in window, La = null;
|
|
4966
4971
|
qe && "documentMode" in document && (La = document.documentMode);
|
|
4967
4972
|
var Bh = qe && "TextEvent" in window && !La, lo = qe && (!Tu || La && 8 < La && 11 >= La), ao = " ", no = !1;
|
|
4968
4973
|
function io(t, e) {
|
|
@@ -5144,7 +5149,7 @@ Error generating stack: ` + a.message + `
|
|
|
5144
5149
|
}
|
|
5145
5150
|
function vo(t) {
|
|
5146
5151
|
t = t != null && t.ownerDocument != null && t.ownerDocument.defaultView != null ? t.ownerDocument.defaultView : window;
|
|
5147
|
-
for (var e =
|
|
5152
|
+
for (var e = Nn(t.document); e instanceof t.HTMLIFrameElement; ) {
|
|
5148
5153
|
try {
|
|
5149
5154
|
var l = typeof e.contentWindow.location.href == "string";
|
|
5150
5155
|
} catch {
|
|
@@ -5152,7 +5157,7 @@ Error generating stack: ` + a.message + `
|
|
|
5152
5157
|
}
|
|
5153
5158
|
if (l) t = e.contentWindow;
|
|
5154
5159
|
else break;
|
|
5155
|
-
e =
|
|
5160
|
+
e = Nn(t.document);
|
|
5156
5161
|
}
|
|
5157
5162
|
return e;
|
|
5158
5163
|
}
|
|
@@ -5163,7 +5168,7 @@ Error generating stack: ` + a.message + `
|
|
|
5163
5168
|
var Kh = qe && "documentMode" in document && 11 >= document.documentMode, aa = null, Cu = null, Za = null, _u = !1;
|
|
5164
5169
|
function bo(t, e, l) {
|
|
5165
5170
|
var a = l.window === l ? l.document : l.nodeType === 9 ? l : l.ownerDocument;
|
|
5166
|
-
_u || aa == null || aa !==
|
|
5171
|
+
_u || aa == null || aa !== Nn(a) || (a = aa, "selectionStart" in a && zu(a) ? a = { start: a.selectionStart, end: a.selectionEnd } : (a = (a.ownerDocument && a.ownerDocument.defaultView || window).getSelection(), a = {
|
|
5167
5172
|
anchorNode: a.anchorNode,
|
|
5168
5173
|
anchorOffset: a.anchorOffset,
|
|
5169
5174
|
focusNode: a.focusNode,
|
|
@@ -5347,7 +5352,7 @@ Error generating stack: ` + a.message + `
|
|
|
5347
5352
|
var e = he(18, null, null, 0);
|
|
5348
5353
|
return e.stateNode = t, e;
|
|
5349
5354
|
}
|
|
5350
|
-
function
|
|
5355
|
+
function wu(t, e, l) {
|
|
5351
5356
|
return e = he(
|
|
5352
5357
|
4,
|
|
5353
5358
|
t.children !== null ? t.children : [],
|
|
@@ -5392,7 +5397,7 @@ Error generating stack: ` + a.message + `
|
|
|
5392
5397
|
} else
|
|
5393
5398
|
je = 1 << i | l << n | a, Re = t;
|
|
5394
5399
|
}
|
|
5395
|
-
function
|
|
5400
|
+
function Nu(t) {
|
|
5396
5401
|
t.return !== null && (Ye(t, 1), Uo(t, 1, 0));
|
|
5397
5402
|
}
|
|
5398
5403
|
function Hu(t) {
|
|
@@ -5492,7 +5497,7 @@ Error generating stack: ` + a.message + `
|
|
|
5492
5497
|
e === 27 ? (e = At, xl(t.type) ? (t = cf, cf = null, At = t) : At = e) : At = Zt ? _e(t.stateNode.nextSibling) : null;
|
|
5493
5498
|
return !0;
|
|
5494
5499
|
}
|
|
5495
|
-
function
|
|
5500
|
+
function wl() {
|
|
5496
5501
|
At = Zt = null, ft = !1;
|
|
5497
5502
|
}
|
|
5498
5503
|
function qu() {
|
|
@@ -5505,9 +5510,9 @@ Error generating stack: ` + a.message + `
|
|
|
5505
5510
|
function Ka(t) {
|
|
5506
5511
|
il === null ? il = [t] : il.push(t);
|
|
5507
5512
|
}
|
|
5508
|
-
var Gu = h(null),
|
|
5513
|
+
var Gu = h(null), Nl = null, Le = null;
|
|
5509
5514
|
function cl(t, e, l) {
|
|
5510
|
-
|
|
5515
|
+
N(Gu, e._currentValue), e._currentValue = l;
|
|
5511
5516
|
}
|
|
5512
5517
|
function Xe(t) {
|
|
5513
5518
|
t._currentValue = Gu.current, _(Gu);
|
|
@@ -5599,15 +5604,15 @@ Error generating stack: ` + a.message + `
|
|
|
5599
5604
|
return !1;
|
|
5600
5605
|
}
|
|
5601
5606
|
function Hl(t) {
|
|
5602
|
-
|
|
5607
|
+
Nl = t, Le = null, t = t.dependencies, t !== null && (t.firstContext = null);
|
|
5603
5608
|
}
|
|
5604
5609
|
function kt(t) {
|
|
5605
|
-
return
|
|
5610
|
+
return wo(Nl, t);
|
|
5606
5611
|
}
|
|
5607
5612
|
function $n(t, e) {
|
|
5608
|
-
return
|
|
5613
|
+
return Nl === null && Hl(t), wo(t, e);
|
|
5609
5614
|
}
|
|
5610
|
-
function
|
|
5615
|
+
function wo(t, e) {
|
|
5611
5616
|
var l = e._currentValue;
|
|
5612
5617
|
if (e = { context: e, memoizedValue: l, next: null }, Le === null) {
|
|
5613
5618
|
if (t === null) throw Error(r(308));
|
|
@@ -5659,9 +5664,9 @@ Error generating stack: ` + a.message + `
|
|
|
5659
5664
|
}
|
|
5660
5665
|
};
|
|
5661
5666
|
}
|
|
5662
|
-
return Vu++, e.then(
|
|
5667
|
+
return Vu++, e.then(No, No), e;
|
|
5663
5668
|
}
|
|
5664
|
-
function
|
|
5669
|
+
function No() {
|
|
5665
5670
|
if (--Vu === 0 && Wa !== null) {
|
|
5666
5671
|
da !== null && (da.status = "fulfilled");
|
|
5667
5672
|
var t = Wa;
|
|
@@ -5699,7 +5704,7 @@ Error generating stack: ` + a.message + `
|
|
|
5699
5704
|
return t !== null ? t : xt.pooledCache;
|
|
5700
5705
|
}
|
|
5701
5706
|
function Fn(t, e) {
|
|
5702
|
-
e === null ?
|
|
5707
|
+
e === null ? N(Bl, Bl.current) : N(Bl, e.pool);
|
|
5703
5708
|
}
|
|
5704
5709
|
function Bo() {
|
|
5705
5710
|
var t = Qu();
|
|
@@ -5827,7 +5832,7 @@ Error generating stack: ` + a.message + `
|
|
|
5827
5832
|
), Fa(d, m), d.return = g, d);
|
|
5828
5833
|
}
|
|
5829
5834
|
function p(g, d, m, E) {
|
|
5830
|
-
return d === null || d.tag !== 4 || d.stateNode.containerInfo !== m.containerInfo || d.stateNode.implementation !== m.implementation ? (d =
|
|
5835
|
+
return d === null || d.tag !== 4 || d.stateNode.containerInfo !== m.containerInfo || d.stateNode.implementation !== m.implementation ? (d = wu(m, g.mode, E), d.return = g, d) : (d = n(d, m.children || []), d.return = g, d);
|
|
5831
5836
|
}
|
|
5832
5837
|
function A(g, d, m, E, X) {
|
|
5833
5838
|
return d === null || d.tag !== 7 ? (d = Rl(
|
|
@@ -5837,7 +5842,7 @@ Error generating stack: ` + a.message + `
|
|
|
5837
5842
|
X
|
|
5838
5843
|
), d.return = g, d) : (d = n(d, m), d.return = g, d);
|
|
5839
5844
|
}
|
|
5840
|
-
function
|
|
5845
|
+
function C(g, d, m) {
|
|
5841
5846
|
if (typeof d == "string" && d !== "" || typeof d == "number" || typeof d == "bigint")
|
|
5842
5847
|
return d = Ru(
|
|
5843
5848
|
"" + d,
|
|
@@ -5856,13 +5861,13 @@ Error generating stack: ` + a.message + `
|
|
|
5856
5861
|
m
|
|
5857
5862
|
), Fa(m, d), m.return = g, m;
|
|
5858
5863
|
case Z:
|
|
5859
|
-
return d =
|
|
5864
|
+
return d = wu(
|
|
5860
5865
|
d,
|
|
5861
5866
|
g.mode,
|
|
5862
5867
|
m
|
|
5863
5868
|
), d.return = g, d;
|
|
5864
5869
|
case Gt:
|
|
5865
|
-
return d = ql(d),
|
|
5870
|
+
return d = ql(d), C(g, d, m);
|
|
5866
5871
|
}
|
|
5867
5872
|
if (R(d) || ce(d))
|
|
5868
5873
|
return d = Rl(
|
|
@@ -5872,9 +5877,9 @@ Error generating stack: ` + a.message + `
|
|
|
5872
5877
|
null
|
|
5873
5878
|
), d.return = g, d;
|
|
5874
5879
|
if (typeof d.then == "function")
|
|
5875
|
-
return
|
|
5880
|
+
return C(g, ti(d), m);
|
|
5876
5881
|
if (d.$$typeof === dt)
|
|
5877
|
-
return
|
|
5882
|
+
return C(
|
|
5878
5883
|
g,
|
|
5879
5884
|
$n(g, d),
|
|
5880
5885
|
m
|
|
@@ -5979,7 +5984,7 @@ Error generating stack: ` + a.message + `
|
|
|
5979
5984
|
return l(g, q), ft && Ye(g, F), X;
|
|
5980
5985
|
if (q === null) {
|
|
5981
5986
|
for (; F < m.length; F++)
|
|
5982
|
-
q =
|
|
5987
|
+
q = C(g, m[F], E), q !== null && (d = i(
|
|
5983
5988
|
q,
|
|
5984
5989
|
d,
|
|
5985
5990
|
F
|
|
@@ -6019,7 +6024,7 @@ Error generating stack: ` + a.message + `
|
|
|
6019
6024
|
return l(g, q), ft && Ye(g, F), X;
|
|
6020
6025
|
if (q === null) {
|
|
6021
6026
|
for (; !rt.done; F++, rt = m.next())
|
|
6022
|
-
rt =
|
|
6027
|
+
rt = C(g, rt.value, E), rt !== null && (d = i(rt, d, F), st === null ? X = rt : st.sibling = rt, st = rt);
|
|
6023
6028
|
return ft && Ye(g, F), X;
|
|
6024
6029
|
}
|
|
6025
6030
|
for (q = a(q); !rt.done; F++, rt = m.next())
|
|
@@ -6090,7 +6095,7 @@ Error generating stack: ` + a.message + `
|
|
|
6090
6095
|
else e(g, d);
|
|
6091
6096
|
d = d.sibling;
|
|
6092
6097
|
}
|
|
6093
|
-
E =
|
|
6098
|
+
E = wu(m, g.mode, E), E.return = g, g = E;
|
|
6094
6099
|
}
|
|
6095
6100
|
return u(g);
|
|
6096
6101
|
case Gt:
|
|
@@ -6237,7 +6242,7 @@ Error generating stack: ` + a.message + `
|
|
|
6237
6242
|
A !== null && (A = A.updateQueue, f = A.lastBaseUpdate, f !== u && (f === null ? A.firstBaseUpdate = p : f.next = p, A.lastBaseUpdate = s));
|
|
6238
6243
|
}
|
|
6239
6244
|
if (i !== null) {
|
|
6240
|
-
var
|
|
6245
|
+
var C = n.baseState;
|
|
6241
6246
|
u = 0, A = p = s = null, f = i;
|
|
6242
6247
|
do {
|
|
6243
6248
|
var b = f.lane & -536870913, S = b !== f.lane;
|
|
@@ -6256,16 +6261,16 @@ Error generating stack: ` + a.message + `
|
|
|
6256
6261
|
switch (V.tag) {
|
|
6257
6262
|
case 1:
|
|
6258
6263
|
if (H = V.payload, typeof H == "function") {
|
|
6259
|
-
|
|
6264
|
+
C = H.call(bt, C, b);
|
|
6260
6265
|
break t;
|
|
6261
6266
|
}
|
|
6262
|
-
|
|
6267
|
+
C = H;
|
|
6263
6268
|
break t;
|
|
6264
6269
|
case 3:
|
|
6265
6270
|
H.flags = H.flags & -65537 | 128;
|
|
6266
6271
|
case 0:
|
|
6267
|
-
if (H = V.payload, b = typeof H == "function" ? H.call(bt,
|
|
6268
|
-
|
|
6272
|
+
if (H = V.payload, b = typeof H == "function" ? H.call(bt, C, b) : H, b == null) break t;
|
|
6273
|
+
C = w({}, C, b);
|
|
6269
6274
|
break t;
|
|
6270
6275
|
case 2:
|
|
6271
6276
|
fl = !0;
|
|
@@ -6279,14 +6284,14 @@ Error generating stack: ` + a.message + `
|
|
|
6279
6284
|
payload: f.payload,
|
|
6280
6285
|
callback: f.callback,
|
|
6281
6286
|
next: null
|
|
6282
|
-
}, A === null ? (p = A = S, s =
|
|
6287
|
+
}, A === null ? (p = A = S, s = C) : A = A.next = S, u |= b;
|
|
6283
6288
|
if (f = f.next, f === null) {
|
|
6284
6289
|
if (f = n.shared.pending, f === null)
|
|
6285
6290
|
break;
|
|
6286
6291
|
S = f, f = S.next, S.next = null, n.lastBaseUpdate = S, n.shared.pending = null;
|
|
6287
6292
|
}
|
|
6288
6293
|
} while (!0);
|
|
6289
|
-
A === null && (s =
|
|
6294
|
+
A === null && (s = C), n.baseState = s, n.firstBaseUpdate = p, n.lastBaseUpdate = A, i === null && (n.shared.lanes = 0), gl |= u, t.lanes = u, t.memoizedState = C;
|
|
6290
6295
|
}
|
|
6291
6296
|
}
|
|
6292
6297
|
function Qo(t, e) {
|
|
@@ -6302,10 +6307,10 @@ Error generating stack: ` + a.message + `
|
|
|
6302
6307
|
}
|
|
6303
6308
|
var ga = h(null), li = h(0);
|
|
6304
6309
|
function ko(t, e) {
|
|
6305
|
-
t = Fe,
|
|
6310
|
+
t = Fe, N(li, t), N(ga, e), Fe = t | e.baseLanes;
|
|
6306
6311
|
}
|
|
6307
6312
|
function $u() {
|
|
6308
|
-
|
|
6313
|
+
N(li, Fe), N(ga, ga.current);
|
|
6309
6314
|
}
|
|
6310
6315
|
function Fu() {
|
|
6311
6316
|
Fe = li.current, _(ga), _(li);
|
|
@@ -6313,16 +6318,16 @@ Error generating stack: ` + a.message + `
|
|
|
6313
6318
|
var ye = h(null), Ce = null;
|
|
6314
6319
|
function rl(t) {
|
|
6315
6320
|
var e = t.alternate;
|
|
6316
|
-
|
|
6321
|
+
N(Ut, Ut.current & 1), N(ye, t), Ce === null && (e === null || ga.current !== null || e.memoizedState !== null) && (Ce = t);
|
|
6317
6322
|
}
|
|
6318
6323
|
function Iu(t) {
|
|
6319
|
-
|
|
6324
|
+
N(Ut, Ut.current), N(ye, t), Ce === null && (Ce = t);
|
|
6320
6325
|
}
|
|
6321
6326
|
function Ko(t) {
|
|
6322
|
-
t.tag === 22 ? (
|
|
6327
|
+
t.tag === 22 ? (N(Ut, Ut.current), N(ye, t), Ce === null && (Ce = t)) : dl();
|
|
6323
6328
|
}
|
|
6324
6329
|
function dl() {
|
|
6325
|
-
|
|
6330
|
+
N(Ut, Ut.current), N(ye, ye.current);
|
|
6326
6331
|
}
|
|
6327
6332
|
function ge(t) {
|
|
6328
6333
|
_(ye), Ce === t && (Ce = null), _(Ut);
|
|
@@ -6349,7 +6354,7 @@ Error generating stack: ` + a.message + `
|
|
|
6349
6354
|
}
|
|
6350
6355
|
return null;
|
|
6351
6356
|
}
|
|
6352
|
-
var Ve = 0, J = null, pt = null,
|
|
6357
|
+
var Ve = 0, J = null, pt = null, wt = null, ni = !1, ma = !1, Ll = !1, ii = 0, en = 0, pa = null, ay = 0;
|
|
6353
6358
|
function Ct() {
|
|
6354
6359
|
throw Error(r(321));
|
|
6355
6360
|
}
|
|
@@ -6370,15 +6375,15 @@ Error generating stack: ` + a.message + `
|
|
|
6370
6375
|
function Jo(t) {
|
|
6371
6376
|
M.H = nn;
|
|
6372
6377
|
var e = pt !== null && pt.next !== null;
|
|
6373
|
-
if (Ve = 0,
|
|
6374
|
-
t === null ||
|
|
6378
|
+
if (Ve = 0, wt = pt = J = null, ni = !1, en = 0, pa = null, e) throw Error(r(300));
|
|
6379
|
+
t === null || Nt || (t = t.dependencies, t !== null && Wn(t) && (Nt = !0));
|
|
6375
6380
|
}
|
|
6376
6381
|
function Wo(t, e, l, a) {
|
|
6377
6382
|
J = t;
|
|
6378
6383
|
var n = 0;
|
|
6379
6384
|
do {
|
|
6380
6385
|
if (ma && (pa = null), en = 0, ma = !1, 25 <= n) throw Error(r(301));
|
|
6381
|
-
if (n += 1,
|
|
6386
|
+
if (n += 1, wt = pt = null, t.updateQueue != null) {
|
|
6382
6387
|
var i = t.updateQueue;
|
|
6383
6388
|
i.lastEffect = null, i.events = null, i.stores = null, i.memoCache != null && (i.memoCache.index = 0);
|
|
6384
6389
|
}
|
|
@@ -6405,7 +6410,7 @@ Error generating stack: ` + a.message + `
|
|
|
6405
6410
|
}
|
|
6406
6411
|
ni = !1;
|
|
6407
6412
|
}
|
|
6408
|
-
Ve = 0,
|
|
6413
|
+
Ve = 0, wt = pt = J = null, ma = !1, en = ii = 0, pa = null;
|
|
6409
6414
|
}
|
|
6410
6415
|
function It() {
|
|
6411
6416
|
var t = {
|
|
@@ -6415,16 +6420,16 @@ Error generating stack: ` + a.message + `
|
|
|
6415
6420
|
queue: null,
|
|
6416
6421
|
next: null
|
|
6417
6422
|
};
|
|
6418
|
-
return
|
|
6423
|
+
return wt === null ? J.memoizedState = wt = t : wt = wt.next = t, wt;
|
|
6419
6424
|
}
|
|
6420
6425
|
function Dt() {
|
|
6421
6426
|
if (pt === null) {
|
|
6422
6427
|
var t = J.alternate;
|
|
6423
6428
|
t = t !== null ? t.memoizedState : null;
|
|
6424
6429
|
} else t = pt.next;
|
|
6425
|
-
var e =
|
|
6430
|
+
var e = wt === null ? J.memoizedState : wt.next;
|
|
6426
6431
|
if (e !== null)
|
|
6427
|
-
|
|
6432
|
+
wt = e, pt = t;
|
|
6428
6433
|
else {
|
|
6429
6434
|
if (t === null)
|
|
6430
6435
|
throw J.alternate === null ? Error(r(467)) : Error(r(310));
|
|
@@ -6434,16 +6439,16 @@ Error generating stack: ` + a.message + `
|
|
|
6434
6439
|
baseQueue: pt.baseQueue,
|
|
6435
6440
|
queue: pt.queue,
|
|
6436
6441
|
next: null
|
|
6437
|
-
},
|
|
6442
|
+
}, wt === null ? J.memoizedState = wt = t : wt = wt.next = t;
|
|
6438
6443
|
}
|
|
6439
|
-
return
|
|
6444
|
+
return wt;
|
|
6440
6445
|
}
|
|
6441
6446
|
function ui() {
|
|
6442
6447
|
return { lastEffect: null, events: null, stores: null, memoCache: null };
|
|
6443
6448
|
}
|
|
6444
6449
|
function ln(t) {
|
|
6445
6450
|
var e = en;
|
|
6446
|
-
return en += 1, pa === null && (pa = []), t = Go(pa, t, e), e = J, (
|
|
6451
|
+
return en += 1, pa === null && (pa = []), t = Go(pa, t, e), e = J, (wt === null ? e.memoizedState : wt.next) === null && (e = e.alternate, M.H = e === null || e.memoizedState === null ? Us : gc), t;
|
|
6447
6452
|
}
|
|
6448
6453
|
function ci(t) {
|
|
6449
6454
|
if (t !== null && typeof t == "object") {
|
|
@@ -6492,8 +6497,8 @@ Error generating stack: ` + a.message + `
|
|
|
6492
6497
|
e = n.next;
|
|
6493
6498
|
var f = u = null, s = null, p = e, A = !1;
|
|
6494
6499
|
do {
|
|
6495
|
-
var
|
|
6496
|
-
if (
|
|
6500
|
+
var C = p.lane & -536870913;
|
|
6501
|
+
if (C !== p.lane ? (ut & C) === C : (Ve & C) === C) {
|
|
6497
6502
|
var b = p.revertLane;
|
|
6498
6503
|
if (b === 0)
|
|
6499
6504
|
s !== null && (s = s.next = {
|
|
@@ -6504,12 +6509,12 @@ Error generating stack: ` + a.message + `
|
|
|
6504
6509
|
hasEagerState: p.hasEagerState,
|
|
6505
6510
|
eagerState: p.eagerState,
|
|
6506
6511
|
next: null
|
|
6507
|
-
}),
|
|
6512
|
+
}), C === ra && (A = !0);
|
|
6508
6513
|
else if ((Ve & b) === b) {
|
|
6509
6514
|
p = p.next, b === ra && (A = !0);
|
|
6510
6515
|
continue;
|
|
6511
6516
|
} else
|
|
6512
|
-
|
|
6517
|
+
C = {
|
|
6513
6518
|
lane: 0,
|
|
6514
6519
|
revertLane: p.revertLane,
|
|
6515
6520
|
gesture: null,
|
|
@@ -6517,21 +6522,21 @@ Error generating stack: ` + a.message + `
|
|
|
6517
6522
|
hasEagerState: p.hasEagerState,
|
|
6518
6523
|
eagerState: p.eagerState,
|
|
6519
6524
|
next: null
|
|
6520
|
-
}, s === null ? (f = s =
|
|
6521
|
-
|
|
6525
|
+
}, s === null ? (f = s = C, u = i) : s = s.next = C, J.lanes |= b, gl |= b;
|
|
6526
|
+
C = p.action, Ll && l(i, C), i = p.hasEagerState ? p.eagerState : l(i, C);
|
|
6522
6527
|
} else
|
|
6523
6528
|
b = {
|
|
6524
|
-
lane:
|
|
6529
|
+
lane: C,
|
|
6525
6530
|
revertLane: p.revertLane,
|
|
6526
6531
|
gesture: p.gesture,
|
|
6527
6532
|
action: p.action,
|
|
6528
6533
|
hasEagerState: p.hasEagerState,
|
|
6529
6534
|
eagerState: p.eagerState,
|
|
6530
6535
|
next: null
|
|
6531
|
-
}, s === null ? (f = s = b, u = i) : s = s.next = b, J.lanes |=
|
|
6536
|
+
}, s === null ? (f = s = b, u = i) : s = s.next = b, J.lanes |= C, gl |= C;
|
|
6532
6537
|
p = p.next;
|
|
6533
6538
|
} while (p !== null && p !== e);
|
|
6534
|
-
if (s === null ? u = i : s.next = f, !de(i, t.memoizedState) && (
|
|
6539
|
+
if (s === null ? u = i : s.next = f, !de(i, t.memoizedState) && (Nt = !0, A && (l = da, l !== null)))
|
|
6535
6540
|
throw l;
|
|
6536
6541
|
t.memoizedState = i, t.baseState = u, t.baseQueue = s, a.lastRenderedState = i;
|
|
6537
6542
|
}
|
|
@@ -6548,7 +6553,7 @@ Error generating stack: ` + a.message + `
|
|
|
6548
6553
|
do
|
|
6549
6554
|
i = t(i, u.action), u = u.next;
|
|
6550
6555
|
while (u !== n);
|
|
6551
|
-
de(i, e.memoizedState) || (
|
|
6556
|
+
de(i, e.memoizedState) || (Nt = !0), e.memoizedState = i, e.baseQueue === null && (e.baseState = i), l.lastRenderedState = i;
|
|
6552
6557
|
}
|
|
6553
6558
|
return [i, a];
|
|
6554
6559
|
}
|
|
@@ -6562,9 +6567,9 @@ Error generating stack: ` + a.message + `
|
|
|
6562
6567
|
(pt || n).memoizedState,
|
|
6563
6568
|
l
|
|
6564
6569
|
);
|
|
6565
|
-
if (u && (n.memoizedState = l,
|
|
6570
|
+
if (u && (n.memoizedState = l, Nt = !0), n = n.queue, oc(Po.bind(null, a, n, t), [
|
|
6566
6571
|
t
|
|
6567
|
-
]), n.getSnapshot !== e || u ||
|
|
6572
|
+
]), n.getSnapshot !== e || u || wt !== null && wt.memoizedState.tag & 1) {
|
|
6568
6573
|
if (a.flags |= 2048, va(
|
|
6569
6574
|
9,
|
|
6570
6575
|
{ destroy: void 0 },
|
|
@@ -6903,7 +6908,7 @@ Error generating stack: ` + a.message + `
|
|
|
6903
6908
|
return l === void 0 || (Ve & 1073741824) !== 0 && (ut & 261930) === 0 ? t.memoizedState = e : (t.memoizedState = l, t = Sr(), J.lanes |= t, gl |= t, l);
|
|
6904
6909
|
}
|
|
6905
6910
|
function Ss(t, e, l, a) {
|
|
6906
|
-
return de(l, e) ? l : ga.current !== null ? (t = rc(t, l, a), de(t, e) || (
|
|
6911
|
+
return de(l, e) ? l : ga.current !== null ? (t = rc(t, l, a), de(t, e) || (Nt = !0), t) : (Ve & 42) === 0 || (Ve & 1073741824) !== 0 && (ut & 261930) === 0 ? (Nt = !0, t.memoizedState = l) : (t = Sr(), J.lanes |= t, gl |= t, e);
|
|
6907
6912
|
}
|
|
6908
6913
|
function Ts(t, e, l, a, n) {
|
|
6909
6914
|
var i = j.p;
|
|
@@ -6930,12 +6935,12 @@ Error generating stack: ` + a.message + `
|
|
|
6930
6935
|
a,
|
|
6931
6936
|
ve(t)
|
|
6932
6937
|
);
|
|
6933
|
-
} catch (
|
|
6938
|
+
} catch (C) {
|
|
6934
6939
|
an(
|
|
6935
6940
|
t,
|
|
6936
6941
|
e,
|
|
6937
6942
|
{ then: function() {
|
|
6938
|
-
}, status: "rejected", reason:
|
|
6943
|
+
}, status: "rejected", reason: C },
|
|
6939
6944
|
ve()
|
|
6940
6945
|
);
|
|
6941
6946
|
} finally {
|
|
@@ -7372,7 +7377,7 @@ Error generating stack: ` + a.message + `
|
|
|
7372
7377
|
};
|
|
7373
7378
|
Ds.useEffectEvent = ys;
|
|
7374
7379
|
function mc(t, e, l, a) {
|
|
7375
|
-
e = t.memoizedState, l = l(a, e), l = l == null ? e :
|
|
7380
|
+
e = t.memoizedState, l = l(a, e), l = l == null ? e : w({}, e, l), t.memoizedState = l, t.lanes === 0 && (t.updateQueue.baseState = l);
|
|
7376
7381
|
}
|
|
7377
7382
|
var pc = {
|
|
7378
7383
|
enqueueSetState: function(t, e, l) {
|
|
@@ -7405,16 +7410,16 @@ Error generating stack: ` + a.message + `
|
|
|
7405
7410
|
a !== "ref" && (l[a] = e[a]);
|
|
7406
7411
|
}
|
|
7407
7412
|
if (t = t.defaultProps) {
|
|
7408
|
-
l === e && (l =
|
|
7413
|
+
l === e && (l = w({}, l));
|
|
7409
7414
|
for (var n in t)
|
|
7410
7415
|
l[n] === void 0 && (l[n] = t[n]);
|
|
7411
7416
|
}
|
|
7412
7417
|
return l;
|
|
7413
7418
|
}
|
|
7414
|
-
function
|
|
7419
|
+
function ws(t) {
|
|
7415
7420
|
Vn(t);
|
|
7416
7421
|
}
|
|
7417
|
-
function
|
|
7422
|
+
function Ns(t) {
|
|
7418
7423
|
console.error(t);
|
|
7419
7424
|
}
|
|
7420
7425
|
function Hs(t) {
|
|
@@ -7523,7 +7528,7 @@ Error generating stack: ` + a.message + `
|
|
|
7523
7528
|
} while (l !== null);
|
|
7524
7529
|
return !1;
|
|
7525
7530
|
}
|
|
7526
|
-
var bc = Error(r(461)),
|
|
7531
|
+
var bc = Error(r(461)), Nt = !1;
|
|
7527
7532
|
function Kt(t, e, l, a) {
|
|
7528
7533
|
e.child = t === null ? Vo(e, null, l, a) : Yl(
|
|
7529
7534
|
e,
|
|
@@ -7547,7 +7552,7 @@ Error generating stack: ` + a.message + `
|
|
|
7547
7552
|
u,
|
|
7548
7553
|
i,
|
|
7549
7554
|
n
|
|
7550
|
-
), f = ec(), t !== null && !
|
|
7555
|
+
), f = ec(), t !== null && !Nt ? (lc(t, e, n), Ze(t, e, n)) : (ft && f && Nu(e), e.flags |= 1, Kt(t, e, a, n), e.child);
|
|
7551
7556
|
}
|
|
7552
7557
|
function Ls(t, e, l, a, n) {
|
|
7553
7558
|
if (t === null) {
|
|
@@ -7578,8 +7583,8 @@ Error generating stack: ` + a.message + `
|
|
|
7578
7583
|
if (t !== null) {
|
|
7579
7584
|
var i = t.memoizedProps;
|
|
7580
7585
|
if (Qa(i, a) && t.ref === e.ref)
|
|
7581
|
-
if (
|
|
7582
|
-
(t.flags & 131072) !== 0 && (
|
|
7586
|
+
if (Nt = !1, e.pendingProps = a = i, _c(t, n))
|
|
7587
|
+
(t.flags & 131072) !== 0 && (Nt = !0);
|
|
7583
7588
|
else
|
|
7584
7589
|
return e.lanes = t.lanes, Ze(t, e, n);
|
|
7585
7590
|
}
|
|
@@ -7686,8 +7691,8 @@ Error generating stack: ` + a.message + `
|
|
|
7686
7691
|
else if (e.memoizedState !== null)
|
|
7687
7692
|
e.child = t.child, e.flags |= 128, e = null;
|
|
7688
7693
|
else throw Error(r(558));
|
|
7689
|
-
else if (
|
|
7690
|
-
if (a = xt, a !== null && (u =
|
|
7694
|
+
else if (Nt || sa(t, e, l, !1), n = (l & t.childLanes) !== 0, Nt || n) {
|
|
7695
|
+
if (a = xt, a !== null && (u = wf(a, l), u !== 0 && u !== i.retryLane))
|
|
7691
7696
|
throw i.retryLane = u, jl(t, u), ue(a, t, u), bc;
|
|
7692
7697
|
Ei(), e = Zs(
|
|
7693
7698
|
t,
|
|
@@ -7721,7 +7726,7 @@ Error generating stack: ` + a.message + `
|
|
|
7721
7726
|
a,
|
|
7722
7727
|
void 0,
|
|
7723
7728
|
n
|
|
7724
|
-
), a = ec(), t !== null && !
|
|
7729
|
+
), a = ec(), t !== null && !Nt ? (lc(t, e, n), Ze(t, e, n)) : (ft && a && Nu(e), e.flags |= 1, Kt(t, e, l, n), e.child);
|
|
7725
7730
|
}
|
|
7726
7731
|
function ks(t, e, l, a, n, i) {
|
|
7727
7732
|
return Hl(e), e.updateQueue = null, l = Wo(
|
|
@@ -7729,7 +7734,7 @@ Error generating stack: ` + a.message + `
|
|
|
7729
7734
|
a,
|
|
7730
7735
|
l,
|
|
7731
7736
|
n
|
|
7732
|
-
), Jo(t), a = ec(), t !== null && !
|
|
7737
|
+
), Jo(t), a = ec(), t !== null && !Nt ? (lc(t, e, i), Ze(t, e, i)) : (ft && a && Nu(e), e.flags |= 1, Kt(t, e, l, i), e.child);
|
|
7733
7738
|
}
|
|
7734
7739
|
function Ks(t, e, l, a, n) {
|
|
7735
7740
|
if (Hl(e), e.stateNode === null) {
|
|
@@ -7746,18 +7751,18 @@ Error generating stack: ` + a.message + `
|
|
|
7746
7751
|
i.props = s;
|
|
7747
7752
|
var p = i.context, A = l.contextType;
|
|
7748
7753
|
u = ua, typeof A == "object" && A !== null && (u = kt(A));
|
|
7749
|
-
var
|
|
7750
|
-
A = typeof
|
|
7754
|
+
var C = l.getDerivedStateFromProps;
|
|
7755
|
+
A = typeof C == "function" || typeof i.getSnapshotBeforeUpdate == "function", f = e.pendingProps !== f, A || typeof i.UNSAFE_componentWillReceiveProps != "function" && typeof i.componentWillReceiveProps != "function" || (f || p !== u) && Rs(
|
|
7751
7756
|
e,
|
|
7752
7757
|
i,
|
|
7753
7758
|
a,
|
|
7754
7759
|
u
|
|
7755
7760
|
), fl = !1;
|
|
7756
7761
|
var b = e.memoizedState;
|
|
7757
|
-
i.state = b, tn(e, a, i, n), Pa(), p = e.memoizedState, f || b !== p || fl ? (typeof
|
|
7762
|
+
i.state = b, tn(e, a, i, n), Pa(), p = e.memoizedState, f || b !== p || fl ? (typeof C == "function" && (mc(
|
|
7758
7763
|
e,
|
|
7759
7764
|
l,
|
|
7760
|
-
|
|
7765
|
+
C,
|
|
7761
7766
|
a
|
|
7762
7767
|
), p = e.memoizedState), (s = fl || js(
|
|
7763
7768
|
e,
|
|
@@ -7769,14 +7774,14 @@ Error generating stack: ` + a.message + `
|
|
|
7769
7774
|
u
|
|
7770
7775
|
)) ? (A || typeof i.UNSAFE_componentWillMount != "function" && typeof i.componentWillMount != "function" || (typeof i.componentWillMount == "function" && i.componentWillMount(), typeof i.UNSAFE_componentWillMount == "function" && i.UNSAFE_componentWillMount()), typeof i.componentDidMount == "function" && (e.flags |= 4194308)) : (typeof i.componentDidMount == "function" && (e.flags |= 4194308), e.memoizedProps = a, e.memoizedState = p), i.props = a, i.state = p, i.context = u, a = s) : (typeof i.componentDidMount == "function" && (e.flags |= 4194308), a = !1);
|
|
7771
7776
|
} else {
|
|
7772
|
-
i = e.stateNode, Ku(t, e), u = e.memoizedProps, A = Xl(l, u), i.props = A,
|
|
7777
|
+
i = e.stateNode, Ku(t, e), u = e.memoizedProps, A = Xl(l, u), i.props = A, C = e.pendingProps, b = i.context, p = l.contextType, s = ua, typeof p == "object" && p !== null && (s = kt(p)), f = l.getDerivedStateFromProps, (p = typeof f == "function" || typeof i.getSnapshotBeforeUpdate == "function") || typeof i.UNSAFE_componentWillReceiveProps != "function" && typeof i.componentWillReceiveProps != "function" || (u !== C || b !== s) && Rs(
|
|
7773
7778
|
e,
|
|
7774
7779
|
i,
|
|
7775
7780
|
a,
|
|
7776
7781
|
s
|
|
7777
7782
|
), fl = !1, b = e.memoizedState, i.state = b, tn(e, a, i, n), Pa();
|
|
7778
7783
|
var S = e.memoizedState;
|
|
7779
|
-
u !==
|
|
7784
|
+
u !== C || b !== S || fl || t !== null && t.dependencies !== null && Wn(t.dependencies) ? (typeof f == "function" && (mc(
|
|
7780
7785
|
e,
|
|
7781
7786
|
l,
|
|
7782
7787
|
f,
|
|
@@ -7812,7 +7817,7 @@ Error generating stack: ` + a.message + `
|
|
|
7812
7817
|
), t;
|
|
7813
7818
|
}
|
|
7814
7819
|
function Js(t, e, l, a) {
|
|
7815
|
-
return
|
|
7820
|
+
return wl(), e.flags |= 256, Kt(t, e, l, a), e.child;
|
|
7816
7821
|
}
|
|
7817
7822
|
var Sc = {
|
|
7818
7823
|
dehydrated: null,
|
|
@@ -7888,8 +7893,8 @@ Error generating stack: ` + a.message + `
|
|
|
7888
7893
|
e,
|
|
7889
7894
|
l
|
|
7890
7895
|
);
|
|
7891
|
-
} else if (
|
|
7892
|
-
if (u = xt, u !== null && (a =
|
|
7896
|
+
} else if (Nt || sa(t, e, l, !1), u = (l & t.childLanes) !== 0, Nt || u) {
|
|
7897
|
+
if (u = xt, u !== null && (a = wf(u, l), a !== 0 && a !== s.retryLane))
|
|
7893
7898
|
throw s.retryLane = a, jl(t, a), ue(u, t, a), bc;
|
|
7894
7899
|
nf(f) || Ei(), e = zc(
|
|
7895
7900
|
t,
|
|
@@ -7964,7 +7969,7 @@ Error generating stack: ` + a.message + `
|
|
|
7964
7969
|
var a = e.pendingProps, n = a.revealOrder, i = a.tail;
|
|
7965
7970
|
a = a.children;
|
|
7966
7971
|
var u = Ut.current, f = (u & 2) !== 0;
|
|
7967
|
-
if (f ? (u = u & 1 | 2, e.flags |= 128) : u &= 1,
|
|
7972
|
+
if (f ? (u = u & 1 | 2, e.flags |= 128) : u &= 1, N(Ut, u), Kt(t, e, a, l), a = ft ? ka : 0, !f && t !== null && (t.flags & 128) !== 0)
|
|
7968
7973
|
t: for (t = e.child; t !== null; ) {
|
|
7969
7974
|
if (t.tag === 13)
|
|
7970
7975
|
t.memoizedState !== null && $s(t, l, e);
|
|
@@ -8054,7 +8059,7 @@ Error generating stack: ` + a.message + `
|
|
|
8054
8059
|
function hy(t, e, l) {
|
|
8055
8060
|
switch (e.tag) {
|
|
8056
8061
|
case 3:
|
|
8057
|
-
Ft(e, e.stateNode.containerInfo), cl(e, Rt, t.memoizedState.cache),
|
|
8062
|
+
Ft(e, e.stateNode.containerInfo), cl(e, Rt, t.memoizedState.cache), wl();
|
|
8058
8063
|
break;
|
|
8059
8064
|
case 27:
|
|
8060
8065
|
case 5:
|
|
@@ -8100,7 +8105,7 @@ Error generating stack: ` + a.message + `
|
|
|
8100
8105
|
);
|
|
8101
8106
|
e.flags |= 128;
|
|
8102
8107
|
}
|
|
8103
|
-
if (n = e.memoizedState, n !== null && (n.rendering = null, n.tail = null, n.lastEffect = null),
|
|
8108
|
+
if (n = e.memoizedState, n !== null && (n.rendering = null, n.tail = null, n.lastEffect = null), N(Ut, Ut.current), a) break;
|
|
8104
8109
|
return null;
|
|
8105
8110
|
case 22:
|
|
8106
8111
|
return e.lanes = 0, Vs(
|
|
@@ -8117,18 +8122,18 @@ Error generating stack: ` + a.message + `
|
|
|
8117
8122
|
function Is(t, e, l) {
|
|
8118
8123
|
if (t !== null)
|
|
8119
8124
|
if (t.memoizedProps !== e.pendingProps)
|
|
8120
|
-
|
|
8125
|
+
Nt = !0;
|
|
8121
8126
|
else {
|
|
8122
8127
|
if (!_c(t, l) && (e.flags & 128) === 0)
|
|
8123
|
-
return
|
|
8128
|
+
return Nt = !1, hy(
|
|
8124
8129
|
t,
|
|
8125
8130
|
e,
|
|
8126
8131
|
l
|
|
8127
8132
|
);
|
|
8128
|
-
|
|
8133
|
+
Nt = (t.flags & 131072) !== 0;
|
|
8129
8134
|
}
|
|
8130
8135
|
else
|
|
8131
|
-
|
|
8136
|
+
Nt = !1, ft && (e.flags & 1048576) !== 0 && Uo(e, ka, e.index);
|
|
8132
8137
|
switch (e.lanes = 0, e.tag) {
|
|
8133
8138
|
case 16:
|
|
8134
8139
|
t: {
|
|
@@ -8241,7 +8246,7 @@ Error generating stack: ` + a.message + `
|
|
|
8241
8246
|
), e.child = l; l; )
|
|
8242
8247
|
l.flags = l.flags & -3 | 4096, l = l.sibling;
|
|
8243
8248
|
else {
|
|
8244
|
-
if (
|
|
8249
|
+
if (wl(), a === n) {
|
|
8245
8250
|
e = Ze(
|
|
8246
8251
|
t,
|
|
8247
8252
|
e,
|
|
@@ -8605,7 +8610,7 @@ Error generating stack: ` + a.message + `
|
|
|
8605
8610
|
if (t = e.memoizedState, t = t !== null ? t.dehydrated : null, !t) throw Error(r(557));
|
|
8606
8611
|
t[Qt] = e;
|
|
8607
8612
|
} else
|
|
8608
|
-
|
|
8613
|
+
wl(), (e.flags & 128) === 0 && (e.memoizedState = null), e.flags |= 4;
|
|
8609
8614
|
Et(e), t = !1;
|
|
8610
8615
|
} else
|
|
8611
8616
|
l = qu(), t !== null && t.memoizedState !== null && (t.memoizedState.hydrationErrors = l), t = !0;
|
|
@@ -8623,7 +8628,7 @@ Error generating stack: ` + a.message + `
|
|
|
8623
8628
|
if (n = e.memoizedState, n = n !== null ? n.dehydrated : null, !n) throw Error(r(317));
|
|
8624
8629
|
n[Qt] = e;
|
|
8625
8630
|
} else
|
|
8626
|
-
|
|
8631
|
+
wl(), (e.flags & 128) === 0 && (e.memoizedState = null), e.flags |= 4;
|
|
8627
8632
|
Et(e), n = !1;
|
|
8628
8633
|
} else
|
|
8629
8634
|
n = qu(), t !== null && t.memoizedState !== null && (t.memoizedState.hydrationErrors = n), n = !0;
|
|
@@ -8645,7 +8650,7 @@ Error generating stack: ` + a.message + `
|
|
|
8645
8650
|
if (i = ai(t), i !== null) {
|
|
8646
8651
|
for (e.flags |= 128, cn(a, !1), t = i.updateQueue, e.updateQueue = t, mi(e, t), e.subtreeFlags = 0, t = l, l = e.child; l !== null; )
|
|
8647
8652
|
_o(l, t), l = l.sibling;
|
|
8648
|
-
return
|
|
8653
|
+
return N(
|
|
8649
8654
|
Ut,
|
|
8650
8655
|
Ut.current & 1 | 2
|
|
8651
8656
|
), ft && Ye(e, a.treeForkCount), e.child;
|
|
@@ -8663,7 +8668,7 @@ Error generating stack: ` + a.message + `
|
|
|
8663
8668
|
2 * oe() - a.renderingStartTime > Si && l !== 536870912 && (e.flags |= 128, n = !0, cn(a, !1), e.lanes = 4194304);
|
|
8664
8669
|
a.isBackwards ? (i.sibling = e.child, e.child = i) : (t = a.last, t !== null ? t.sibling = i : e.child = i, a.last = i);
|
|
8665
8670
|
}
|
|
8666
|
-
return a.tail !== null ? (t = a.tail, a.rendering = t, a.tail = t.sibling, a.renderingStartTime = oe(), t.sibling = null, l = Ut.current,
|
|
8671
|
+
return a.tail !== null ? (t = a.tail, a.rendering = t, a.tail = t.sibling, a.renderingStartTime = oe(), t.sibling = null, l = Ut.current, N(
|
|
8667
8672
|
Ut,
|
|
8668
8673
|
n ? l & 1 | 2 : l & 1
|
|
8669
8674
|
), ft && Ye(e, a.treeForkCount), t) : (Et(e), null);
|
|
@@ -8693,14 +8698,14 @@ Error generating stack: ` + a.message + `
|
|
|
8693
8698
|
if (e.memoizedState !== null) {
|
|
8694
8699
|
if (ge(e), e.alternate === null)
|
|
8695
8700
|
throw Error(r(340));
|
|
8696
|
-
|
|
8701
|
+
wl();
|
|
8697
8702
|
}
|
|
8698
8703
|
return t = e.flags, t & 65536 ? (e.flags = t & -65537 | 128, e) : null;
|
|
8699
8704
|
case 13:
|
|
8700
8705
|
if (ge(e), t = e.memoizedState, t !== null && t.dehydrated !== null) {
|
|
8701
8706
|
if (e.alternate === null)
|
|
8702
8707
|
throw Error(r(340));
|
|
8703
|
-
|
|
8708
|
+
wl();
|
|
8704
8709
|
}
|
|
8705
8710
|
return t = e.flags, t & 65536 ? (e.flags = t & -65537 | 128, e) : null;
|
|
8706
8711
|
case 19:
|
|
@@ -8846,7 +8851,7 @@ Error generating stack: ` + a.message + `
|
|
|
8846
8851
|
mt(t, e, n);
|
|
8847
8852
|
}
|
|
8848
8853
|
}
|
|
8849
|
-
function
|
|
8854
|
+
function we(t, e) {
|
|
8850
8855
|
var l = t.ref, a = t.refCleanup;
|
|
8851
8856
|
if (l !== null)
|
|
8852
8857
|
if (typeof a == "function")
|
|
@@ -8954,16 +8959,16 @@ Error generating stack: ` + a.message + `
|
|
|
8954
8959
|
l = null;
|
|
8955
8960
|
break t;
|
|
8956
8961
|
}
|
|
8957
|
-
var u = 0, f = -1, s = -1, p = 0, A = 0,
|
|
8962
|
+
var u = 0, f = -1, s = -1, p = 0, A = 0, C = t, b = null;
|
|
8958
8963
|
e: for (; ; ) {
|
|
8959
|
-
for (var S;
|
|
8960
|
-
b =
|
|
8964
|
+
for (var S; C !== l || n !== 0 && C.nodeType !== 3 || (f = u + n), C !== i || a !== 0 && C.nodeType !== 3 || (s = u + a), C.nodeType === 3 && (u += C.nodeValue.length), (S = C.firstChild) !== null; )
|
|
8965
|
+
b = C, C = S;
|
|
8961
8966
|
for (; ; ) {
|
|
8962
|
-
if (
|
|
8963
|
-
if (b === l && ++p === n && (f = u), b === i && ++A === a && (s = u), (S =
|
|
8964
|
-
|
|
8967
|
+
if (C === t) break e;
|
|
8968
|
+
if (b === l && ++p === n && (f = u), b === i && ++A === a && (s = u), (S = C.nextSibling) !== null) break;
|
|
8969
|
+
C = b, b = C.parentNode;
|
|
8965
8970
|
}
|
|
8966
|
-
|
|
8971
|
+
C = S;
|
|
8967
8972
|
}
|
|
8968
8973
|
l = f === -1 || s === -1 ? null : { start: f, end: s };
|
|
8969
8974
|
} else l = null;
|
|
@@ -9146,14 +9151,14 @@ Error generating stack: ` + a.message + `
|
|
|
9146
9151
|
}
|
|
9147
9152
|
switch (l.tag) {
|
|
9148
9153
|
case 26:
|
|
9149
|
-
Ht ||
|
|
9154
|
+
Ht || we(l, e), Je(
|
|
9150
9155
|
t,
|
|
9151
9156
|
e,
|
|
9152
9157
|
l
|
|
9153
9158
|
), l.memoizedState ? l.memoizedState.count-- : l.stateNode && (l = l.stateNode, l.parentNode.removeChild(l));
|
|
9154
9159
|
break;
|
|
9155
9160
|
case 27:
|
|
9156
|
-
Ht ||
|
|
9161
|
+
Ht || we(l, e);
|
|
9157
9162
|
var a = zt, n = le;
|
|
9158
9163
|
xl(l.type) && (zt = l.stateNode, le = !1), Je(
|
|
9159
9164
|
t,
|
|
@@ -9162,7 +9167,7 @@ Error generating stack: ` + a.message + `
|
|
|
9162
9167
|
), vn(l.stateNode), zt = a, le = n;
|
|
9163
9168
|
break;
|
|
9164
9169
|
case 5:
|
|
9165
|
-
Ht ||
|
|
9170
|
+
Ht || we(l, e);
|
|
9166
9171
|
case 6:
|
|
9167
9172
|
if (a = zt, n = le, zt = null, Je(
|
|
9168
9173
|
t,
|
|
@@ -9214,7 +9219,7 @@ Error generating stack: ` + a.message + `
|
|
|
9214
9219
|
);
|
|
9215
9220
|
break;
|
|
9216
9221
|
case 1:
|
|
9217
|
-
Ht || (
|
|
9222
|
+
Ht || (we(l, e), a = l.stateNode, typeof a.componentWillUnmount == "function" && lr(
|
|
9218
9223
|
l,
|
|
9219
9224
|
e,
|
|
9220
9225
|
a
|
|
@@ -9328,11 +9333,11 @@ Error generating stack: ` + a.message + `
|
|
|
9328
9333
|
ae(e, t), ne(t), a & 4 && (hl(3, t, t.return), fn(3, t), hl(5, t, t.return));
|
|
9329
9334
|
break;
|
|
9330
9335
|
case 1:
|
|
9331
|
-
ae(e, t), ne(t), a & 512 && (Ht || l === null ||
|
|
9336
|
+
ae(e, t), ne(t), a & 512 && (Ht || l === null || we(l, l.return)), a & 64 && Ke && (t = t.updateQueue, t !== null && (a = t.callbacks, a !== null && (l = t.shared.hiddenCallbacks, t.shared.hiddenCallbacks = l === null ? a : l.concat(a))));
|
|
9332
9337
|
break;
|
|
9333
9338
|
case 26:
|
|
9334
9339
|
var n = Ue;
|
|
9335
|
-
if (ae(e, t), ne(t), a & 512 && (Ht || l === null ||
|
|
9340
|
+
if (ae(e, t), ne(t), a & 512 && (Ht || l === null || we(l, l.return)), a & 4) {
|
|
9336
9341
|
var i = l !== null ? l.memoizedState : null;
|
|
9337
9342
|
if (a = t.memoizedState, l === null)
|
|
9338
9343
|
if (a === null)
|
|
@@ -9341,7 +9346,7 @@ Error generating stack: ` + a.message + `
|
|
|
9341
9346
|
a = t.type, l = t.memoizedProps, n = n.ownerDocument || n;
|
|
9342
9347
|
e: switch (a) {
|
|
9343
9348
|
case "title":
|
|
9344
|
-
i = n.getElementsByTagName("title")[0], (!i || i[
|
|
9349
|
+
i = n.getElementsByTagName("title")[0], (!i || i[Na] || i[Qt] || i.namespaceURI === "http://www.w3.org/2000/svg" || i.hasAttribute("itemprop")) && (i = n.createElement(a), n.head.insertBefore(
|
|
9345
9350
|
i,
|
|
9346
9351
|
n.querySelector("head > title")
|
|
9347
9352
|
)), Jt(i, a, l), i[Qt] = t, Yt(i), a = i;
|
|
@@ -9410,14 +9415,14 @@ Error generating stack: ` + a.message + `
|
|
|
9410
9415
|
}
|
|
9411
9416
|
break;
|
|
9412
9417
|
case 27:
|
|
9413
|
-
ae(e, t), ne(t), a & 512 && (Ht || l === null ||
|
|
9418
|
+
ae(e, t), ne(t), a & 512 && (Ht || l === null || we(l, l.return)), l !== null && a & 4 && Oc(
|
|
9414
9419
|
t,
|
|
9415
9420
|
t.memoizedProps,
|
|
9416
9421
|
l.memoizedProps
|
|
9417
9422
|
);
|
|
9418
9423
|
break;
|
|
9419
9424
|
case 5:
|
|
9420
|
-
if (ae(e, t), ne(t), a & 512 && (Ht || l === null ||
|
|
9425
|
+
if (ae(e, t), ne(t), a & 512 && (Ht || l === null || we(l, l.return)), t.flags & 32) {
|
|
9421
9426
|
n = t.stateNode;
|
|
9422
9427
|
try {
|
|
9423
9428
|
Pl(n, "");
|
|
@@ -9444,7 +9449,7 @@ Error generating stack: ` + a.message + `
|
|
|
9444
9449
|
}
|
|
9445
9450
|
break;
|
|
9446
9451
|
case 3:
|
|
9447
|
-
if (
|
|
9452
|
+
if (wi = null, n = Ue, Ue = ji(e.containerInfo), ae(e, t), Ue = n, ne(t), a & 4 && l !== null && l.memoizedState.isDehydrated)
|
|
9448
9453
|
try {
|
|
9449
9454
|
Ua(e.containerInfo);
|
|
9450
9455
|
} catch (H) {
|
|
@@ -9479,7 +9484,7 @@ Error generating stack: ` + a.message + `
|
|
|
9479
9484
|
u = i.style, typeof u.setProperty == "function" ? u.setProperty("display", "none", "important") : u.display = "none";
|
|
9480
9485
|
else {
|
|
9481
9486
|
f = s.stateNode;
|
|
9482
|
-
var
|
|
9487
|
+
var C = s.memoizedProps.style, b = C != null && C.hasOwnProperty("display") ? C.display : null;
|
|
9483
9488
|
f.style.display = b == null || typeof b == "boolean" ? "" : ("" + b).trim();
|
|
9484
9489
|
}
|
|
9485
9490
|
} catch (H) {
|
|
@@ -9594,7 +9599,7 @@ Error generating stack: ` + a.message + `
|
|
|
9594
9599
|
hl(4, e, e.return), Vl(e);
|
|
9595
9600
|
break;
|
|
9596
9601
|
case 1:
|
|
9597
|
-
|
|
9602
|
+
we(e, e.return);
|
|
9598
9603
|
var l = e.stateNode;
|
|
9599
9604
|
typeof l.componentWillUnmount == "function" && lr(
|
|
9600
9605
|
e,
|
|
@@ -9606,7 +9611,7 @@ Error generating stack: ` + a.message + `
|
|
|
9606
9611
|
vn(e.stateNode);
|
|
9607
9612
|
case 26:
|
|
9608
9613
|
case 5:
|
|
9609
|
-
|
|
9614
|
+
we(e, e.return), Vl(e);
|
|
9610
9615
|
break;
|
|
9611
9616
|
case 22:
|
|
9612
9617
|
e.memoizedState === null && Vl(e);
|
|
@@ -9711,7 +9716,7 @@ Error generating stack: ` + a.message + `
|
|
|
9711
9716
|
var l = null;
|
|
9712
9717
|
t !== null && t.memoizedState !== null && t.memoizedState.cachePool !== null && (l = t.memoizedState.cachePool.pool), t = null, e.memoizedState !== null && e.memoizedState.cachePool !== null && (t = e.memoizedState.cachePool.pool), t !== l && (t != null && t.refCount++, l != null && Ja(l));
|
|
9713
9718
|
}
|
|
9714
|
-
function
|
|
9719
|
+
function wc(t, e) {
|
|
9715
9720
|
t = null, e.alternate !== null && (t = e.alternate.memoizedState.cache), e = e.memoizedState.cache, e !== t && (e.refCount++, t != null && Ja(t));
|
|
9716
9721
|
}
|
|
9717
9722
|
function De(t, e, l, a) {
|
|
@@ -9823,7 +9828,7 @@ Error generating stack: ` + a.message + `
|
|
|
9823
9828
|
e,
|
|
9824
9829
|
l,
|
|
9825
9830
|
a
|
|
9826
|
-
), n & 2048 &&
|
|
9831
|
+
), n & 2048 && wc(e.alternate, e);
|
|
9827
9832
|
break;
|
|
9828
9833
|
default:
|
|
9829
9834
|
De(
|
|
@@ -9880,7 +9885,7 @@ Error generating stack: ` + a.message + `
|
|
|
9880
9885
|
f,
|
|
9881
9886
|
s,
|
|
9882
9887
|
n
|
|
9883
|
-
), n && p & 2048 &&
|
|
9888
|
+
), n && p & 2048 && wc(u.alternate, u);
|
|
9884
9889
|
break;
|
|
9885
9890
|
default:
|
|
9886
9891
|
ba(
|
|
@@ -9906,7 +9911,7 @@ Error generating stack: ` + a.message + `
|
|
|
9906
9911
|
);
|
|
9907
9912
|
break;
|
|
9908
9913
|
case 24:
|
|
9909
|
-
sn(l, a), n & 2048 &&
|
|
9914
|
+
sn(l, a), n & 2048 && wc(a.alternate, a);
|
|
9910
9915
|
break;
|
|
9911
9916
|
default:
|
|
9912
9917
|
sn(l, a);
|
|
@@ -10093,9 +10098,9 @@ Error generating stack: ` + a.message + `
|
|
|
10093
10098
|
cacheSignal: function() {
|
|
10094
10099
|
return kt(Rt).controller.signal;
|
|
10095
10100
|
}
|
|
10096
|
-
}, by = typeof WeakMap == "function" ? WeakMap : Map, ht = 0, xt = null, at = null, ut = 0, gt = 0, me = null, yl = !1, Sa = !1,
|
|
10101
|
+
}, by = typeof WeakMap == "function" ? WeakMap : Map, ht = 0, xt = null, at = null, ut = 0, gt = 0, me = null, yl = !1, Sa = !1, Nc = !1, Fe = 0, _t = 0, gl = 0, Ql = 0, Hc = 0, pe = 0, Ta = 0, hn = null, ie = null, Bc = !1, xi = 0, br = 0, Si = 1 / 0, Ti = null, ml = null, qt = 0, pl = null, Aa = null, Ie = 0, qc = 0, Gc = null, xr = null, yn = 0, Yc = null;
|
|
10097
10102
|
function ve() {
|
|
10098
|
-
return (ht & 2) !== 0 && ut !== 0 ? ut & -ut : M.T !== null ? kc() :
|
|
10103
|
+
return (ht & 2) !== 0 && ut !== 0 ? ut & -ut : M.T !== null ? kc() : Nf();
|
|
10099
10104
|
}
|
|
10100
10105
|
function Sr() {
|
|
10101
10106
|
if (pe === 0)
|
|
@@ -10111,12 +10116,12 @@ Error generating stack: ` + a.message + `
|
|
|
10111
10116
|
ut,
|
|
10112
10117
|
pe,
|
|
10113
10118
|
!1
|
|
10114
|
-
)),
|
|
10119
|
+
)), wa(t, l), ((ht & 2) === 0 || t !== xt) && (t === xt && ((ht & 2) === 0 && (Ql |= l), _t === 4 && vl(
|
|
10115
10120
|
t,
|
|
10116
10121
|
ut,
|
|
10117
10122
|
pe,
|
|
10118
10123
|
!1
|
|
10119
|
-
)),
|
|
10124
|
+
)), Ne(t));
|
|
10120
10125
|
}
|
|
10121
10126
|
function Tr(t, e, l) {
|
|
10122
10127
|
if ((ht & 6) !== 0) throw Error(r(327));
|
|
@@ -10146,7 +10151,7 @@ Error generating stack: ` + a.message + `
|
|
|
10146
10151
|
u,
|
|
10147
10152
|
!1
|
|
10148
10153
|
), u !== 2) {
|
|
10149
|
-
if (
|
|
10154
|
+
if (Nc && !s) {
|
|
10150
10155
|
f.errorRecoveryDisabledLanes |= i, Ql |= i, n = 4;
|
|
10151
10156
|
break t;
|
|
10152
10157
|
}
|
|
@@ -10237,11 +10242,11 @@ Error generating stack: ` + a.message + `
|
|
|
10237
10242
|
}
|
|
10238
10243
|
break;
|
|
10239
10244
|
} while (!0);
|
|
10240
|
-
|
|
10245
|
+
Ne(t);
|
|
10241
10246
|
}
|
|
10242
|
-
function Ar(t, e, l, a, n, i, u, f, s, p, A,
|
|
10243
|
-
if (t.timeoutHandle = -1,
|
|
10244
|
-
|
|
10247
|
+
function Ar(t, e, l, a, n, i, u, f, s, p, A, C, b, S) {
|
|
10248
|
+
if (t.timeoutHandle = -1, C = e.subtreeFlags, C & 8192 || (C & 16785408) === 16785408) {
|
|
10249
|
+
C = {
|
|
10245
10250
|
stylesheets: null,
|
|
10246
10251
|
count: 0,
|
|
10247
10252
|
imgCount: 0,
|
|
@@ -10253,11 +10258,11 @@ Error generating stack: ` + a.message + `
|
|
|
10253
10258
|
}, gr(
|
|
10254
10259
|
e,
|
|
10255
10260
|
i,
|
|
10256
|
-
|
|
10261
|
+
C
|
|
10257
10262
|
);
|
|
10258
10263
|
var H = (i & 62914560) === i ? xi - oe() : (i & 4194048) === i ? br - oe() : 0;
|
|
10259
10264
|
if (H = ng(
|
|
10260
|
-
|
|
10265
|
+
C,
|
|
10261
10266
|
H
|
|
10262
10267
|
), H !== null) {
|
|
10263
10268
|
Ie = i, t.cancelPendingCommit = H(
|
|
@@ -10273,7 +10278,7 @@ Error generating stack: ` + a.message + `
|
|
|
10273
10278
|
f,
|
|
10274
10279
|
s,
|
|
10275
10280
|
A,
|
|
10276
|
-
|
|
10281
|
+
C,
|
|
10277
10282
|
null,
|
|
10278
10283
|
b,
|
|
10279
10284
|
S
|
|
@@ -10336,7 +10341,7 @@ Error generating stack: ` + a.message + `
|
|
|
10336
10341
|
if (gt === 0)
|
|
10337
10342
|
var t = at.return;
|
|
10338
10343
|
else
|
|
10339
|
-
t = at, Le =
|
|
10344
|
+
t = at, Le = Nl = null, ac(t), ya = null, $a = 0, t = at;
|
|
10340
10345
|
for (; t !== null; )
|
|
10341
10346
|
tr(t.alternate, t), t = t.return;
|
|
10342
10347
|
at = null;
|
|
@@ -10344,7 +10349,7 @@ Error generating stack: ` + a.message + `
|
|
|
10344
10349
|
}
|
|
10345
10350
|
function Ea(t, e) {
|
|
10346
10351
|
var l = t.timeoutHandle;
|
|
10347
|
-
l !== -1 && (t.timeoutHandle = -1, Yy(l)), l = t.cancelPendingCommit, l !== null && (t.cancelPendingCommit = null, l()), Ie = 0, Lc(), xt = t, at = l = Ge(t.current, null), ut = e, gt = 0, me = null, yl = !1, Sa = Ra(t, e),
|
|
10352
|
+
l !== -1 && (t.timeoutHandle = -1, Yy(l)), l = t.cancelPendingCommit, l !== null && (t.cancelPendingCommit = null, l()), Ie = 0, Lc(), xt = t, at = l = Ge(t.current, null), ut = e, gt = 0, me = null, yl = !1, Sa = Ra(t, e), Nc = !1, Ta = pe = Hc = Ql = gl = _t = 0, ie = hn = null, Bc = !1, (e & 8) !== 0 && (e |= e & 32);
|
|
10348
10353
|
var a = t.entangledLanes;
|
|
10349
10354
|
if (a !== 0)
|
|
10350
10355
|
for (t = t.entanglements, a &= e; 0 < a; ) {
|
|
@@ -10414,7 +10419,7 @@ Error generating stack: ` + a.message + `
|
|
|
10414
10419
|
Er(t, A);
|
|
10415
10420
|
}
|
|
10416
10421
|
while (!0);
|
|
10417
|
-
return e && t.shellSuspendCounter++, Le =
|
|
10422
|
+
return e && t.shellSuspendCounter++, Le = Nl = null, ht = a, M.H = n, M.A = i, at === null && (xt = null, ut = 0, Qn()), u;
|
|
10418
10423
|
}
|
|
10419
10424
|
function Sy() {
|
|
10420
10425
|
for (; at !== null; ) Mr(at);
|
|
@@ -10443,7 +10448,7 @@ Error generating stack: ` + a.message + `
|
|
|
10443
10448
|
break;
|
|
10444
10449
|
}
|
|
10445
10450
|
e = function() {
|
|
10446
|
-
gt !== 2 && gt !== 9 || xt !== t || (gt = 7),
|
|
10451
|
+
gt !== 2 && gt !== 9 || xt !== t || (gt = 7), Ne(t);
|
|
10447
10452
|
}, i.then(e, e);
|
|
10448
10453
|
break t;
|
|
10449
10454
|
case 3:
|
|
@@ -10492,7 +10497,7 @@ Error generating stack: ` + a.message + `
|
|
|
10492
10497
|
Er(t, A);
|
|
10493
10498
|
}
|
|
10494
10499
|
while (!0);
|
|
10495
|
-
return Le =
|
|
10500
|
+
return Le = Nl = null, M.H = a, M.A = n, ht = l, at !== null ? 0 : (xt = null, ut = 0, Qn(), _t);
|
|
10496
10501
|
}
|
|
10497
10502
|
function Ay() {
|
|
10498
10503
|
for (; at !== null && !kd(); )
|
|
@@ -10534,7 +10539,7 @@ Error generating stack: ` + a.message + `
|
|
|
10534
10539
|
t.memoizedProps = t.pendingProps, e === null ? zi(t) : at = e;
|
|
10535
10540
|
}
|
|
10536
10541
|
function za(t, e, l, a) {
|
|
10537
|
-
Le =
|
|
10542
|
+
Le = Nl = null, ac(e), ya = null, $a = 0;
|
|
10538
10543
|
var n = e.return;
|
|
10539
10544
|
try {
|
|
10540
10545
|
if (ry(
|
|
@@ -10628,7 +10633,7 @@ Error generating stack: ` + a.message + `
|
|
|
10628
10633
|
ht = u, j.p = n, M.T = a;
|
|
10629
10634
|
}
|
|
10630
10635
|
}
|
|
10631
|
-
qt = 1, jr(), Rr(),
|
|
10636
|
+
qt = 1, jr(), Rr(), wr();
|
|
10632
10637
|
}
|
|
10633
10638
|
}
|
|
10634
10639
|
function jr() {
|
|
@@ -10656,7 +10661,7 @@ Error generating stack: ` + a.message + `
|
|
|
10656
10661
|
f.value.length
|
|
10657
10662
|
);
|
|
10658
10663
|
else {
|
|
10659
|
-
var
|
|
10664
|
+
var C = f.ownerDocument || document, b = C && C.defaultView || window;
|
|
10660
10665
|
if (b.getSelection) {
|
|
10661
10666
|
var S = b.getSelection(), H = f.textContent.length, V = Math.min(s.start, H), bt = s.end === void 0 ? V : Math.min(s.end, H);
|
|
10662
10667
|
!S.extend && V > bt && (u = bt, bt = V, V = u);
|
|
@@ -10668,20 +10673,20 @@ Error generating stack: ` + a.message + `
|
|
|
10668
10673
|
bt
|
|
10669
10674
|
);
|
|
10670
10675
|
if (g && d && (S.rangeCount !== 1 || S.anchorNode !== g.node || S.anchorOffset !== g.offset || S.focusNode !== d.node || S.focusOffset !== d.offset)) {
|
|
10671
|
-
var m =
|
|
10676
|
+
var m = C.createRange();
|
|
10672
10677
|
m.setStart(g.node, g.offset), S.removeAllRanges(), V > bt ? (S.addRange(m), S.extend(d.node, d.offset)) : (m.setEnd(d.node, d.offset), S.addRange(m));
|
|
10673
10678
|
}
|
|
10674
10679
|
}
|
|
10675
10680
|
}
|
|
10676
10681
|
}
|
|
10677
|
-
for (
|
|
10678
|
-
S.nodeType === 1 &&
|
|
10682
|
+
for (C = [], S = f; S = S.parentNode; )
|
|
10683
|
+
S.nodeType === 1 && C.push({
|
|
10679
10684
|
element: S,
|
|
10680
10685
|
left: S.scrollLeft,
|
|
10681
10686
|
top: S.scrollTop
|
|
10682
10687
|
});
|
|
10683
|
-
for (typeof f.focus == "function" && f.focus(), f = 0; f <
|
|
10684
|
-
var E =
|
|
10688
|
+
for (typeof f.focus == "function" && f.focus(), f = 0; f < C.length; f++) {
|
|
10689
|
+
var E = C[f];
|
|
10685
10690
|
E.element.scrollLeft = E.left, E.element.scrollTop = E.top;
|
|
10686
10691
|
}
|
|
10687
10692
|
}
|
|
@@ -10712,11 +10717,11 @@ Error generating stack: ` + a.message + `
|
|
|
10712
10717
|
qt = 3;
|
|
10713
10718
|
}
|
|
10714
10719
|
}
|
|
10715
|
-
function
|
|
10720
|
+
function wr() {
|
|
10716
10721
|
if (qt === 4 || qt === 3) {
|
|
10717
10722
|
qt = 0, Kd();
|
|
10718
10723
|
var t = pl, e = Aa, l = Ie, a = xr;
|
|
10719
|
-
(e.subtreeFlags & 10256) !== 0 || (e.flags & 10256) !== 0 ? qt = 5 : (qt = 0, Aa = pl = null,
|
|
10724
|
+
(e.subtreeFlags & 10256) !== 0 || (e.flags & 10256) !== 0 ? qt = 5 : (qt = 0, Aa = pl = null, Nr(t, t.pendingLanes));
|
|
10720
10725
|
var n = t.pendingLanes;
|
|
10721
10726
|
if (n === 0 && (ml = null), uu(l), e = e.stateNode, se && typeof se.onCommitFiberRoot == "function")
|
|
10722
10727
|
try {
|
|
@@ -10741,14 +10746,14 @@ Error generating stack: ` + a.message + `
|
|
|
10741
10746
|
M.T = e, j.p = n;
|
|
10742
10747
|
}
|
|
10743
10748
|
}
|
|
10744
|
-
(Ie & 3) !== 0 && Ci(),
|
|
10749
|
+
(Ie & 3) !== 0 && Ci(), Ne(t), n = t.pendingLanes, (l & 261930) !== 0 && (n & 42) !== 0 ? t === Yc ? yn++ : (yn = 0, Yc = t) : yn = 0, gn(0);
|
|
10745
10750
|
}
|
|
10746
10751
|
}
|
|
10747
|
-
function
|
|
10752
|
+
function Nr(t, e) {
|
|
10748
10753
|
(t.pooledCacheLanes &= e) === 0 && (e = t.pooledCache, e != null && (t.pooledCache = null, Ja(e)));
|
|
10749
10754
|
}
|
|
10750
10755
|
function Ci() {
|
|
10751
|
-
return jr(), Rr(),
|
|
10756
|
+
return jr(), Rr(), wr(), Hr();
|
|
10752
10757
|
}
|
|
10753
10758
|
function Hr() {
|
|
10754
10759
|
if (qt !== 5) return !1;
|
|
@@ -10772,11 +10777,11 @@ Error generating stack: ` + a.message + `
|
|
|
10772
10777
|
}
|
|
10773
10778
|
return !0;
|
|
10774
10779
|
} finally {
|
|
10775
|
-
j.p = n, M.T = a,
|
|
10780
|
+
j.p = n, M.T = a, Nr(t, e);
|
|
10776
10781
|
}
|
|
10777
10782
|
}
|
|
10778
10783
|
function Br(t, e, l) {
|
|
10779
|
-
e = Te(l, e), e = vc(t.stateNode, e, 2), t = sl(t, e, 2), t !== null && (
|
|
10784
|
+
e = Te(l, e), e = vc(t.stateNode, e, 2), t = sl(t, e, 2), t !== null && (wa(t, 2), Ne(t));
|
|
10780
10785
|
}
|
|
10781
10786
|
function mt(t, e, l) {
|
|
10782
10787
|
if (t.tag === 3)
|
|
@@ -10798,7 +10803,7 @@ Error generating stack: ` + a.message + `
|
|
|
10798
10803
|
a,
|
|
10799
10804
|
e,
|
|
10800
10805
|
t
|
|
10801
|
-
),
|
|
10806
|
+
), wa(a, 2), Ne(a));
|
|
10802
10807
|
break;
|
|
10803
10808
|
}
|
|
10804
10809
|
}
|
|
@@ -10813,14 +10818,14 @@ Error generating stack: ` + a.message + `
|
|
|
10813
10818
|
a.set(e, n);
|
|
10814
10819
|
} else
|
|
10815
10820
|
n = a.get(e), n === void 0 && (n = /* @__PURE__ */ new Set(), a.set(e, n));
|
|
10816
|
-
n.has(l) || (
|
|
10821
|
+
n.has(l) || (Nc = !0, n.add(l), t = Ey.bind(null, t, e, l), e.then(t, t));
|
|
10817
10822
|
}
|
|
10818
10823
|
function Ey(t, e, l) {
|
|
10819
10824
|
var a = t.pingCache;
|
|
10820
|
-
a !== null && a.delete(e), t.pingedLanes |= t.suspendedLanes & l, t.warmLanes &= ~l, xt === t && (ut & l) === l && (_t === 4 || _t === 3 && (ut & 62914560) === ut && 300 > oe() - xi ? (ht & 2) === 0 && Ea(t, 0) : Hc |= l, Ta === ut && (Ta = 0)),
|
|
10825
|
+
a !== null && a.delete(e), t.pingedLanes |= t.suspendedLanes & l, t.warmLanes &= ~l, xt === t && (ut & l) === l && (_t === 4 || _t === 3 && (ut & 62914560) === ut && 300 > oe() - xi ? (ht & 2) === 0 && Ea(t, 0) : Hc |= l, Ta === ut && (Ta = 0)), Ne(t);
|
|
10821
10826
|
}
|
|
10822
10827
|
function qr(t, e) {
|
|
10823
|
-
e === 0 && (e = Df()), t = jl(t, e), t !== null && (
|
|
10828
|
+
e === 0 && (e = Df()), t = jl(t, e), t !== null && (wa(t, e), Ne(t));
|
|
10824
10829
|
}
|
|
10825
10830
|
function zy(t) {
|
|
10826
10831
|
var e = t.memoizedState, l = 0;
|
|
@@ -10849,7 +10854,7 @@ Error generating stack: ` + a.message + `
|
|
|
10849
10854
|
return lu(t, e);
|
|
10850
10855
|
}
|
|
10851
10856
|
var _i = null, Ca = null, Qc = !1, Mi = !1, Zc = !1, bl = 0;
|
|
10852
|
-
function
|
|
10857
|
+
function Ne(t) {
|
|
10853
10858
|
t !== Ca && t.next === null && (Ca === null ? _i = Ca = t : Ca = Ca.next = t), Mi = !0, Qc || (Qc = !0, Oy());
|
|
10854
10859
|
}
|
|
10855
10860
|
function gn(t, e) {
|
|
@@ -11159,7 +11164,7 @@ Error generating stack: ` + a.message + `
|
|
|
11159
11164
|
a = a.return;
|
|
11160
11165
|
}
|
|
11161
11166
|
$f(function() {
|
|
11162
|
-
var p = i, A = yu(l),
|
|
11167
|
+
var p = i, A = yu(l), C = [];
|
|
11163
11168
|
t: {
|
|
11164
11169
|
var b = zo.get(t);
|
|
11165
11170
|
if (b !== void 0) {
|
|
@@ -11241,7 +11246,7 @@ Error generating stack: ` + a.message + `
|
|
|
11241
11246
|
break;
|
|
11242
11247
|
case "toggle":
|
|
11243
11248
|
case "beforetoggle":
|
|
11244
|
-
S =
|
|
11249
|
+
S = Nh;
|
|
11245
11250
|
}
|
|
11246
11251
|
var V = (e & 4) !== 0, bt = !V && (t === "scroll" || t === "scrollend"), g = V ? b !== null ? b + "Capture" : null : b;
|
|
11247
11252
|
V = [];
|
|
@@ -11258,7 +11263,7 @@ Error generating stack: ` + a.message + `
|
|
|
11258
11263
|
null,
|
|
11259
11264
|
l,
|
|
11260
11265
|
A
|
|
11261
|
-
),
|
|
11266
|
+
), C.push({ event: b, listeners: V }));
|
|
11262
11267
|
}
|
|
11263
11268
|
}
|
|
11264
11269
|
if ((e & 7) === 0) {
|
|
@@ -11280,7 +11285,7 @@ Error generating stack: ` + a.message + `
|
|
|
11280
11285
|
A
|
|
11281
11286
|
), V.target = m, V.relatedTarget = bt, E = V), bt = E, S && H)
|
|
11282
11287
|
e: {
|
|
11283
|
-
for (V =
|
|
11288
|
+
for (V = wy, g = S, d = H, m = 0, E = g; E; E = V(E))
|
|
11284
11289
|
m++;
|
|
11285
11290
|
E = 0;
|
|
11286
11291
|
for (var X = d; X; X = V(X))
|
|
@@ -11300,13 +11305,13 @@ Error generating stack: ` + a.message + `
|
|
|
11300
11305
|
}
|
|
11301
11306
|
else V = null;
|
|
11302
11307
|
S !== null && Kr(
|
|
11303
|
-
|
|
11308
|
+
C,
|
|
11304
11309
|
b,
|
|
11305
11310
|
S,
|
|
11306
11311
|
V,
|
|
11307
11312
|
!1
|
|
11308
11313
|
), H !== null && bt !== null && Kr(
|
|
11309
|
-
|
|
11314
|
+
C,
|
|
11310
11315
|
bt,
|
|
11311
11316
|
H,
|
|
11312
11317
|
V,
|
|
@@ -11328,7 +11333,7 @@ Error generating stack: ` + a.message + `
|
|
|
11328
11333
|
S = b.nodeName, !S || S.toLowerCase() !== "input" || b.type !== "checkbox" && b.type !== "radio" ? p && du(p.elementType) && (st = oo) : st = Qh;
|
|
11329
11334
|
if (st && (st = st(t, p))) {
|
|
11330
11335
|
fo(
|
|
11331
|
-
|
|
11336
|
+
C,
|
|
11332
11337
|
st,
|
|
11333
11338
|
l,
|
|
11334
11339
|
A
|
|
@@ -11350,13 +11355,13 @@ Error generating stack: ` + a.message + `
|
|
|
11350
11355
|
case "contextmenu":
|
|
11351
11356
|
case "mouseup":
|
|
11352
11357
|
case "dragend":
|
|
11353
|
-
_u = !1, bo(
|
|
11358
|
+
_u = !1, bo(C, l, A);
|
|
11354
11359
|
break;
|
|
11355
11360
|
case "selectionchange":
|
|
11356
11361
|
if (Kh) break;
|
|
11357
11362
|
case "keydown":
|
|
11358
11363
|
case "keyup":
|
|
11359
|
-
bo(
|
|
11364
|
+
bo(C, l, A);
|
|
11360
11365
|
}
|
|
11361
11366
|
var F;
|
|
11362
11367
|
if (Tu)
|
|
@@ -11382,24 +11387,24 @@ Error generating stack: ` + a.message + `
|
|
|
11382
11387
|
null,
|
|
11383
11388
|
l,
|
|
11384
11389
|
A
|
|
11385
|
-
),
|
|
11390
|
+
), C.push({ event: ct, listeners: q }), F ? ct.data = F : (F = uo(l), F !== null && (ct.data = F)))), (F = Bh ? qh(t, l) : Gh(t, l)) && (ct = Ui(p, "onBeforeInput"), 0 < ct.length && (q = new to(
|
|
11386
11391
|
"onBeforeInput",
|
|
11387
11392
|
"beforeinput",
|
|
11388
11393
|
null,
|
|
11389
11394
|
l,
|
|
11390
11395
|
A
|
|
11391
|
-
),
|
|
11396
|
+
), C.push({
|
|
11392
11397
|
event: q,
|
|
11393
11398
|
listeners: ct
|
|
11394
11399
|
}), q.data = F)), Uy(
|
|
11395
|
-
|
|
11400
|
+
C,
|
|
11396
11401
|
t,
|
|
11397
11402
|
p,
|
|
11398
11403
|
l,
|
|
11399
11404
|
A
|
|
11400
11405
|
);
|
|
11401
11406
|
}
|
|
11402
|
-
Zr(
|
|
11407
|
+
Zr(C, e);
|
|
11403
11408
|
});
|
|
11404
11409
|
}
|
|
11405
11410
|
function pn(t, e, l) {
|
|
@@ -11421,7 +11426,7 @@ Error generating stack: ` + a.message + `
|
|
|
11421
11426
|
}
|
|
11422
11427
|
return [];
|
|
11423
11428
|
}
|
|
11424
|
-
function
|
|
11429
|
+
function wy(t) {
|
|
11425
11430
|
if (t === null) return null;
|
|
11426
11431
|
do
|
|
11427
11432
|
t = t.return;
|
|
@@ -11440,9 +11445,9 @@ Error generating stack: ` + a.message + `
|
|
|
11440
11445
|
}
|
|
11441
11446
|
u.length !== 0 && t.push({ event: e, listeners: u });
|
|
11442
11447
|
}
|
|
11443
|
-
var
|
|
11448
|
+
var Ny = /\r\n?/g, Hy = /\u0000|\uFFFD/g;
|
|
11444
11449
|
function Jr(t) {
|
|
11445
|
-
return (typeof t == "string" ? t : "" + t).replace(
|
|
11450
|
+
return (typeof t == "string" ? t : "" + t).replace(Ny, `
|
|
11446
11451
|
`).replace(Hy, "");
|
|
11447
11452
|
}
|
|
11448
11453
|
function Wr(t, e) {
|
|
@@ -11454,24 +11459,24 @@ Error generating stack: ` + a.message + `
|
|
|
11454
11459
|
typeof a == "string" ? e === "body" || e === "textarea" && a === "" || Pl(t, a) : (typeof a == "number" || typeof a == "bigint") && e !== "body" && Pl(t, "" + a);
|
|
11455
11460
|
break;
|
|
11456
11461
|
case "className":
|
|
11457
|
-
|
|
11462
|
+
wn(t, "class", a);
|
|
11458
11463
|
break;
|
|
11459
11464
|
case "tabIndex":
|
|
11460
|
-
|
|
11465
|
+
wn(t, "tabindex", a);
|
|
11461
11466
|
break;
|
|
11462
11467
|
case "dir":
|
|
11463
11468
|
case "role":
|
|
11464
11469
|
case "viewBox":
|
|
11465
11470
|
case "width":
|
|
11466
11471
|
case "height":
|
|
11467
|
-
|
|
11472
|
+
wn(t, l, a);
|
|
11468
11473
|
break;
|
|
11469
11474
|
case "style":
|
|
11470
11475
|
Jf(t, a, i);
|
|
11471
11476
|
break;
|
|
11472
11477
|
case "data":
|
|
11473
11478
|
if (e !== "object") {
|
|
11474
|
-
|
|
11479
|
+
wn(t, "data", a);
|
|
11475
11480
|
break;
|
|
11476
11481
|
}
|
|
11477
11482
|
case "src":
|
|
@@ -11946,22 +11951,22 @@ Error generating stack: ` + a.message + `
|
|
|
11946
11951
|
case "input":
|
|
11947
11952
|
var n = null, i = null, u = null, f = null, s = null, p = null, A = null;
|
|
11948
11953
|
for (S in l) {
|
|
11949
|
-
var
|
|
11950
|
-
if (l.hasOwnProperty(S) &&
|
|
11954
|
+
var C = l[S];
|
|
11955
|
+
if (l.hasOwnProperty(S) && C != null)
|
|
11951
11956
|
switch (S) {
|
|
11952
11957
|
case "checked":
|
|
11953
11958
|
break;
|
|
11954
11959
|
case "value":
|
|
11955
11960
|
break;
|
|
11956
11961
|
case "defaultValue":
|
|
11957
|
-
s =
|
|
11962
|
+
s = C;
|
|
11958
11963
|
default:
|
|
11959
|
-
a.hasOwnProperty(S) || vt(t, e, S, null, a,
|
|
11964
|
+
a.hasOwnProperty(S) || vt(t, e, S, null, a, C);
|
|
11960
11965
|
}
|
|
11961
11966
|
}
|
|
11962
11967
|
for (var b in a) {
|
|
11963
11968
|
var S = a[b];
|
|
11964
|
-
if (
|
|
11969
|
+
if (C = l[b], a.hasOwnProperty(b) && (S != null || C != null))
|
|
11965
11970
|
switch (b) {
|
|
11966
11971
|
case "type":
|
|
11967
11972
|
i = S;
|
|
@@ -11987,13 +11992,13 @@ Error generating stack: ` + a.message + `
|
|
|
11987
11992
|
throw Error(r(137, e));
|
|
11988
11993
|
break;
|
|
11989
11994
|
default:
|
|
11990
|
-
S !==
|
|
11995
|
+
S !== C && vt(
|
|
11991
11996
|
t,
|
|
11992
11997
|
e,
|
|
11993
11998
|
b,
|
|
11994
11999
|
S,
|
|
11995
12000
|
a,
|
|
11996
|
-
|
|
12001
|
+
C
|
|
11997
12002
|
);
|
|
11998
12003
|
}
|
|
11999
12004
|
}
|
|
@@ -12162,8 +12167,8 @@ Error generating stack: ` + a.message + `
|
|
|
12162
12167
|
}
|
|
12163
12168
|
for (var g in l)
|
|
12164
12169
|
b = l[g], l.hasOwnProperty(g) && b != null && !a.hasOwnProperty(g) && vt(t, e, g, null, a, b);
|
|
12165
|
-
for (
|
|
12166
|
-
b = a[
|
|
12170
|
+
for (C in a)
|
|
12171
|
+
b = a[C], S = l[C], !a.hasOwnProperty(C) || b === S || b == null && S == null || vt(t, e, C, b, a, S);
|
|
12167
12172
|
}
|
|
12168
12173
|
function $r(t) {
|
|
12169
12174
|
switch (t) {
|
|
@@ -12187,8 +12192,8 @@ Error generating stack: ` + a.message + `
|
|
|
12187
12192
|
for (u = 0, f = n.responseEnd, a += 1; a < l.length; a++) {
|
|
12188
12193
|
var s = l[a], p = s.startTime;
|
|
12189
12194
|
if (p > f) break;
|
|
12190
|
-
var A = s.transferSize,
|
|
12191
|
-
A && $r(
|
|
12195
|
+
var A = s.transferSize, C = s.initiatorType;
|
|
12196
|
+
A && $r(C) && (s = s.responseEnd, u += A * (s < f ? 1 : (f - p) / (s - p)));
|
|
12192
12197
|
}
|
|
12193
12198
|
if (--a, e += 8 * (i + u) / (n.duration / 1e3), t++, 10 < t) break;
|
|
12194
12199
|
}
|
|
@@ -12261,7 +12266,7 @@ Error generating stack: ` + a.message + `
|
|
|
12261
12266
|
l = t.ownerDocument.head, vn(l);
|
|
12262
12267
|
for (var i = l.firstChild; i; ) {
|
|
12263
12268
|
var u = i.nextSibling, f = i.nodeName;
|
|
12264
|
-
i[
|
|
12269
|
+
i[Na] || f === "SCRIPT" || f === "STYLE" || f === "LINK" && i.rel.toLowerCase() === "stylesheet" || l.removeChild(i), i = u;
|
|
12265
12270
|
}
|
|
12266
12271
|
} else
|
|
12267
12272
|
l === "body" && vn(t.ownerDocument.body);
|
|
@@ -12309,7 +12314,7 @@ Error generating stack: ` + a.message + `
|
|
|
12309
12314
|
if (!a && (t.nodeName !== "INPUT" || t.type !== "hidden"))
|
|
12310
12315
|
break;
|
|
12311
12316
|
} else if (a) {
|
|
12312
|
-
if (!t[
|
|
12317
|
+
if (!t[Na])
|
|
12313
12318
|
switch (e) {
|
|
12314
12319
|
case "meta":
|
|
12315
12320
|
if (!t.hasAttribute("itemprop")) break;
|
|
@@ -12487,7 +12492,7 @@ Error generating stack: ` + a.message + `
|
|
|
12487
12492
|
case "script":
|
|
12488
12493
|
i = Oa(t);
|
|
12489
12494
|
}
|
|
12490
|
-
Me.has(i) || (t =
|
|
12495
|
+
Me.has(i) || (t = w(
|
|
12491
12496
|
{
|
|
12492
12497
|
rel: "preload",
|
|
12493
12498
|
href: e === "image" && l && l.imageSrcSet ? void 0 : t,
|
|
@@ -12511,7 +12516,7 @@ Error generating stack: ` + a.message + `
|
|
|
12511
12516
|
case "script":
|
|
12512
12517
|
i = Oa(t);
|
|
12513
12518
|
}
|
|
12514
|
-
if (!Me.has(i) && (t =
|
|
12519
|
+
if (!Me.has(i) && (t = w({ rel: "modulepreload", href: t }, e), Me.set(i, t), l.querySelector(n) === null)) {
|
|
12515
12520
|
switch (a) {
|
|
12516
12521
|
case "audioworklet":
|
|
12517
12522
|
case "paintworklet":
|
|
@@ -12540,7 +12545,7 @@ Error generating stack: ` + a.message + `
|
|
|
12540
12545
|
))
|
|
12541
12546
|
f.loading = 5;
|
|
12542
12547
|
else {
|
|
12543
|
-
t =
|
|
12548
|
+
t = w(
|
|
12544
12549
|
{ rel: "stylesheet", href: t, "data-precedence": e },
|
|
12545
12550
|
l
|
|
12546
12551
|
), (l = Me.get(i)) && ff(t, l);
|
|
@@ -12567,7 +12572,7 @@ Error generating stack: ` + a.message + `
|
|
|
12567
12572
|
var l = _a;
|
|
12568
12573
|
if (l && t) {
|
|
12569
12574
|
var a = $l(l).hoistableScripts, n = Oa(t), i = a.get(n);
|
|
12570
|
-
i || (i = l.querySelector(xn(n)), i || (t =
|
|
12575
|
+
i || (i = l.querySelector(xn(n)), i || (t = w({ src: t, async: !0 }, e), (e = Me.get(n)) && of(t, e), i = l.createElement("script"), Yt(i), Jt(i, "link", t), l.head.appendChild(i)), i = {
|
|
12571
12576
|
type: "script",
|
|
12572
12577
|
instance: i,
|
|
12573
12578
|
count: 1,
|
|
@@ -12580,7 +12585,7 @@ Error generating stack: ` + a.message + `
|
|
|
12580
12585
|
var l = _a;
|
|
12581
12586
|
if (l && t) {
|
|
12582
12587
|
var a = $l(l).hoistableScripts, n = Oa(t), i = a.get(n);
|
|
12583
|
-
i || (i = l.querySelector(xn(n)), i || (t =
|
|
12588
|
+
i || (i = l.querySelector(xn(n)), i || (t = w({ src: t, async: !0, type: "module" }, e), (e = Me.get(n)) && of(t, e), i = l.createElement("script"), Yt(i), Jt(i, "link", t), l.head.appendChild(i)), i = {
|
|
12584
12589
|
type: "script",
|
|
12585
12590
|
instance: i,
|
|
12586
12591
|
count: 1,
|
|
@@ -12658,7 +12663,7 @@ Error generating stack: ` + a.message + `
|
|
|
12658
12663
|
return 'link[rel="stylesheet"][' + t + "]";
|
|
12659
12664
|
}
|
|
12660
12665
|
function sd(t) {
|
|
12661
|
-
return
|
|
12666
|
+
return w({}, t, {
|
|
12662
12667
|
"data-precedence": t.precedence,
|
|
12663
12668
|
precedence: null
|
|
12664
12669
|
});
|
|
@@ -12685,7 +12690,7 @@ Error generating stack: ` + a.message + `
|
|
|
12685
12690
|
);
|
|
12686
12691
|
if (a)
|
|
12687
12692
|
return e.instance = a, Yt(a), a;
|
|
12688
|
-
var n =
|
|
12693
|
+
var n = w({}, l, {
|
|
12689
12694
|
"data-href": l.href,
|
|
12690
12695
|
"data-precedence": l.precedence,
|
|
12691
12696
|
href: null,
|
|
@@ -12709,7 +12714,7 @@ Error generating stack: ` + a.message + `
|
|
|
12709
12714
|
case "script":
|
|
12710
12715
|
return i = Oa(l.src), (n = t.querySelector(
|
|
12711
12716
|
xn(i)
|
|
12712
|
-
)) ? (e.instance = n, Yt(n), n) : (a = l, (n = Me.get(i)) && (a =
|
|
12717
|
+
)) ? (e.instance = n, Yt(n), n) : (a = l, (n = Me.get(i)) && (a = w({}, l), of(a, n)), t = t.ownerDocument || t, n = t.createElement("script"), Yt(n), Jt(n, "link", a), t.head.appendChild(n), e.instance = n);
|
|
12713
12718
|
case "void":
|
|
12714
12719
|
return null;
|
|
12715
12720
|
default:
|
|
@@ -12735,17 +12740,17 @@ Error generating stack: ` + a.message + `
|
|
|
12735
12740
|
function of(t, e) {
|
|
12736
12741
|
t.crossOrigin == null && (t.crossOrigin = e.crossOrigin), t.referrerPolicy == null && (t.referrerPolicy = e.referrerPolicy), t.integrity == null && (t.integrity = e.integrity);
|
|
12737
12742
|
}
|
|
12738
|
-
var
|
|
12743
|
+
var wi = null;
|
|
12739
12744
|
function dd(t, e, l) {
|
|
12740
|
-
if (
|
|
12741
|
-
var a = /* @__PURE__ */ new Map(), n =
|
|
12745
|
+
if (wi === null) {
|
|
12746
|
+
var a = /* @__PURE__ */ new Map(), n = wi = /* @__PURE__ */ new Map();
|
|
12742
12747
|
n.set(l, a);
|
|
12743
12748
|
} else
|
|
12744
|
-
n =
|
|
12749
|
+
n = wi, a = n.get(l), a || (a = /* @__PURE__ */ new Map(), n.set(l, a));
|
|
12745
12750
|
if (a.has(t)) return a;
|
|
12746
12751
|
for (a.set(t, null), l = l.getElementsByTagName(t), n = 0; n < l.length; n++) {
|
|
12747
12752
|
var i = l[n];
|
|
12748
|
-
if (!(i[
|
|
12753
|
+
if (!(i[Na] || i[Qt] || t === "link" && i.getAttribute("rel") === "stylesheet") && i.namespaceURI !== "http://www.w3.org/2000/svg") {
|
|
12749
12754
|
var u = i.getAttribute(e) || "";
|
|
12750
12755
|
u = t + u;
|
|
12751
12756
|
var f = a.get(u);
|
|
@@ -12790,7 +12795,7 @@ Error generating stack: ` + a.message + `
|
|
|
12790
12795
|
bn(n)
|
|
12791
12796
|
);
|
|
12792
12797
|
if (i) {
|
|
12793
|
-
e = i._p, e !== null && typeof e == "object" && typeof e.then == "function" && (t.count++, t =
|
|
12798
|
+
e = i._p, e !== null && typeof e == "object" && typeof e.then == "function" && (t.count++, t = Ni.bind(t), e.then(t, t)), l.state.loading |= 4, l.instance = i, Yt(i);
|
|
12794
12799
|
return;
|
|
12795
12800
|
}
|
|
12796
12801
|
i = e.ownerDocument || e, a = sd(a), (n = Me.get(n)) && ff(a, n), i = i.createElement("link"), Yt(i);
|
|
@@ -12799,7 +12804,7 @@ Error generating stack: ` + a.message + `
|
|
|
12799
12804
|
u.onload = f, u.onerror = s;
|
|
12800
12805
|
}), Jt(i, "link", a), l.instance = i;
|
|
12801
12806
|
}
|
|
12802
|
-
t.stylesheets === null && (t.stylesheets = /* @__PURE__ */ new Map()), t.stylesheets.set(l, e), (e = l.state.preload) && (l.state.loading & 3) === 0 && (t.count++, l =
|
|
12807
|
+
t.stylesheets === null && (t.stylesheets = /* @__PURE__ */ new Map()), t.stylesheets.set(l, e), (e = l.state.preload) && (l.state.loading & 3) === 0 && (t.count++, l = Ni.bind(t), e.addEventListener("load", l), e.addEventListener("error", l));
|
|
12803
12808
|
}
|
|
12804
12809
|
}
|
|
12805
12810
|
var sf = 0;
|
|
@@ -12826,7 +12831,7 @@ Error generating stack: ` + a.message + `
|
|
|
12826
12831
|
};
|
|
12827
12832
|
} : null;
|
|
12828
12833
|
}
|
|
12829
|
-
function
|
|
12834
|
+
function Ni() {
|
|
12830
12835
|
if (this.count--, this.count === 0 && (this.imgCount === 0 || !this.waitingForImages)) {
|
|
12831
12836
|
if (this.stylesheets) Bi(this, this.stylesheets);
|
|
12832
12837
|
else if (this.unsuspend) {
|
|
@@ -12837,7 +12842,7 @@ Error generating stack: ` + a.message + `
|
|
|
12837
12842
|
}
|
|
12838
12843
|
var Hi = null;
|
|
12839
12844
|
function Bi(t, e) {
|
|
12840
|
-
t.stylesheets = null, t.unsuspend !== null && (t.count++, Hi = /* @__PURE__ */ new Map(), e.forEach(ig, t), Hi = null,
|
|
12845
|
+
t.stylesheets = null, t.unsuspend !== null && (t.count++, Hi = /* @__PURE__ */ new Map(), e.forEach(ig, t), Hi = null, Ni.call(t));
|
|
12841
12846
|
}
|
|
12842
12847
|
function ig(t, e) {
|
|
12843
12848
|
if (!(e.state.loading & 4)) {
|
|
@@ -12853,7 +12858,7 @@ Error generating stack: ` + a.message + `
|
|
|
12853
12858
|
}
|
|
12854
12859
|
a && l.set(null, a);
|
|
12855
12860
|
}
|
|
12856
|
-
n = e.instance, u = n.getAttribute("data-precedence"), i = l.get(u) || a, i === a && l.set(null, n), l.set(u, n), this.count++, a =
|
|
12861
|
+
n = e.instance, u = n.getAttribute("data-precedence"), i = l.get(u) || a, i === a && l.set(null, n), l.set(u, n), this.count++, a = Ni.bind(this), n.addEventListener("load", a), n.addEventListener("error", a), i ? i.parentNode.insertBefore(n, i.nextSibling) : (t = t.nodeType === 9 ? t.head : t, t.insertBefore(n, t.firstChild)), e.state.loading |= 4;
|
|
12857
12862
|
}
|
|
12858
12863
|
}
|
|
12859
12864
|
var Sn = {
|
|
@@ -12867,7 +12872,7 @@ Error generating stack: ` + a.message + `
|
|
|
12867
12872
|
function ug(t, e, l, a, n, i, u, f, s) {
|
|
12868
12873
|
this.tag = 1, this.containerInfo = t, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = nu(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = nu(0), this.hiddenUpdates = nu(null), this.identifierPrefix = a, this.onUncaughtError = n, this.onCaughtError = i, this.onRecoverableError = u, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = s, this.incompleteTransitions = /* @__PURE__ */ new Map();
|
|
12869
12874
|
}
|
|
12870
|
-
function gd(t, e, l, a, n, i, u, f, s, p, A,
|
|
12875
|
+
function gd(t, e, l, a, n, i, u, f, s, p, A, C) {
|
|
12871
12876
|
return t = new ug(
|
|
12872
12877
|
t,
|
|
12873
12878
|
e,
|
|
@@ -12876,7 +12881,7 @@ Error generating stack: ` + a.message + `
|
|
|
12876
12881
|
s,
|
|
12877
12882
|
p,
|
|
12878
12883
|
A,
|
|
12879
|
-
|
|
12884
|
+
C,
|
|
12880
12885
|
f
|
|
12881
12886
|
), e = 1, i === !0 && (e |= 24), i = he(3, null, null, e), t.current = i, i.stateNode = t, e = Xu(), e.refCount++, t.pooledCache = e, e.refCount++, i.memoizedState = {
|
|
12882
12887
|
element: a,
|
|
@@ -12967,7 +12972,7 @@ Error generating stack: ` + a.message + `
|
|
|
12967
12972
|
var s = 1 << 31 - re(u);
|
|
12968
12973
|
f.entanglements[1] |= s, u &= ~s;
|
|
12969
12974
|
}
|
|
12970
|
-
|
|
12975
|
+
Ne(i), (ht & 6) === 0 && (Si = oe() + 500, gn(0));
|
|
12971
12976
|
}
|
|
12972
12977
|
}
|
|
12973
12978
|
break;
|
|
@@ -13370,7 +13375,7 @@ Error generating stack: ` + a.message + `
|
|
|
13370
13375
|
}
|
|
13371
13376
|
Vi.prototype.unstable_scheduleHydration = function(t) {
|
|
13372
13377
|
if (t) {
|
|
13373
|
-
var e =
|
|
13378
|
+
var e = Nf();
|
|
13374
13379
|
t = { blockedOn: null, target: t, priority: e };
|
|
13375
13380
|
for (var l = 0; l < El.length && e !== 0 && e < El[l].priority; l++) ;
|
|
13376
13381
|
El.splice(l, 0, t), l === 0 && Ad(t);
|
|
@@ -13409,8 +13414,8 @@ Error generating stack: ` + a.message + `
|
|
|
13409
13414
|
}
|
|
13410
13415
|
}
|
|
13411
13416
|
return Cn.createRoot = function(t, e) {
|
|
13412
|
-
if (!
|
|
13413
|
-
var l = !1, a = "", n =
|
|
13417
|
+
if (!z(t)) throw Error(r(299));
|
|
13418
|
+
var l = !1, a = "", n = ws, i = Ns, u = Hs;
|
|
13414
13419
|
return e != null && (e.unstable_strictMode === !0 && (l = !0), e.identifierPrefix !== void 0 && (a = e.identifierPrefix), e.onUncaughtError !== void 0 && (n = e.onUncaughtError), e.onCaughtError !== void 0 && (i = e.onCaughtError), e.onRecoverableError !== void 0 && (u = e.onRecoverableError)), e = gd(
|
|
13415
13420
|
t,
|
|
13416
13421
|
1,
|
|
@@ -13426,8 +13431,8 @@ Error generating stack: ` + a.message + `
|
|
|
13426
13431
|
Cd
|
|
13427
13432
|
), t[Kl] = e.current, $c(t), new mf(e);
|
|
13428
13433
|
}, Cn.hydrateRoot = function(t, e, l) {
|
|
13429
|
-
if (!
|
|
13430
|
-
var a = !1, n = "", i =
|
|
13434
|
+
if (!z(t)) throw Error(r(299));
|
|
13435
|
+
var a = !1, n = "", i = ws, u = Ns, f = Hs, s = null;
|
|
13431
13436
|
return l != null && (l.unstable_strictMode === !0 && (a = !0), l.identifierPrefix !== void 0 && (n = l.identifierPrefix), l.onUncaughtError !== void 0 && (i = l.onUncaughtError), l.onCaughtError !== void 0 && (u = l.onCaughtError), l.onRecoverableError !== void 0 && (f = l.onRecoverableError), l.formState !== void 0 && (s = l.formState)), e = gd(
|
|
13432
13437
|
t,
|
|
13433
13438
|
1,
|
|
@@ -13441,7 +13446,7 @@ Error generating stack: ` + a.message + `
|
|
|
13441
13446
|
u,
|
|
13442
13447
|
f,
|
|
13443
13448
|
Cd
|
|
13444
|
-
), e.context = md(null), l = e.current, a = ve(), a = iu(a), n = ol(a), n.callback = null, sl(l, n, a), l = a, e.current.lanes = l,
|
|
13449
|
+
), e.context = md(null), l = e.current, a = ve(), a = iu(a), n = ol(a), n.callback = null, sl(l, n, a), l = a, e.current.lanes = l, wa(e, l), Ne(e), t[Kl] = e.current, $c(t), new Vi(e);
|
|
13445
13450
|
}, Cn.version = "19.2.4", Cn;
|
|
13446
13451
|
}
|
|
13447
13452
|
var Bd;
|
|
@@ -13525,18 +13530,18 @@ const kl = /* @__PURE__ */ new Map(), zf = {
|
|
|
13525
13530
|
}
|
|
13526
13531
|
const r = c.theme === "auto" ? window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : c.theme || "light";
|
|
13527
13532
|
$i(r);
|
|
13528
|
-
const
|
|
13529
|
-
return kl.set(T, { root:
|
|
13533
|
+
const z = qd.createRoot(o);
|
|
13534
|
+
return kl.set(T, { root: z, container: o }), z.render(
|
|
13530
13535
|
Zi.createElement(ki, {
|
|
13531
13536
|
...c,
|
|
13532
13537
|
container: o
|
|
13533
13538
|
})
|
|
13534
13539
|
), console.log("[GlydeChat] Widget rendered in container:", T), {
|
|
13535
13540
|
destroy() {
|
|
13536
|
-
|
|
13541
|
+
z.unmount(), kl.delete(T), o.innerHTML = "", console.log("[GlydeChat] Rendered widget destroyed");
|
|
13537
13542
|
},
|
|
13538
13543
|
update(O) {
|
|
13539
|
-
|
|
13544
|
+
z.render(
|
|
13540
13545
|
Zi.createElement(ki, {
|
|
13541
13546
|
...c,
|
|
13542
13547
|
...O,
|
|
@@ -13565,8 +13570,8 @@ async function Kg(y) {
|
|
|
13565
13570
|
if (!o) return null;
|
|
13566
13571
|
const T = `${y.replace(/\/$/, "")}/api/unity/voice/screen/verify?t=${encodeURIComponent(o)}`;
|
|
13567
13572
|
try {
|
|
13568
|
-
const r = await fetch(T, { method: "GET", credentials: "omit" }),
|
|
13569
|
-
return r.ok &&
|
|
13573
|
+
const r = await fetch(T, { method: "GET", credentials: "omit" }), z = await r.json();
|
|
13574
|
+
return r.ok && z?.success && z?.data?.contextType === "screening" && z?.data?.contextId ? { contextType: "screening", contextId: z.data.contextId } : (console.warn("[GlydeChat] Screen token verify failed:", r.status, z), null);
|
|
13570
13575
|
} catch (r) {
|
|
13571
13576
|
return console.warn("[GlydeChat] Screen token verify request failed:", r), null;
|
|
13572
13577
|
}
|
|
@@ -13582,7 +13587,7 @@ function Jg() {
|
|
|
13582
13587
|
console.log('[GlydeChat] Auto-init disabled via data-auto-init="false"');
|
|
13583
13588
|
return;
|
|
13584
13589
|
}
|
|
13585
|
-
const T = c.getAttribute("data-publishable-key") || void 0, r = c.getAttribute("data-api-key") || void 0,
|
|
13590
|
+
const T = c.getAttribute("data-publishable-key") || void 0, r = c.getAttribute("data-api-key") || void 0, z = c.getAttribute("data-auth-token") || void 0, O = T || r || z;
|
|
13586
13591
|
if (!O && !(o === "true")) {
|
|
13587
13592
|
console.log("[GlydeChat] Auto-init skipped: no authentication data attributes found. Call GlydeChat.init() manually.");
|
|
13588
13593
|
return;
|
|
@@ -13591,15 +13596,15 @@ function Jg() {
|
|
|
13591
13596
|
console.warn("[GlydeChat] Auto-init skipped: no authentication provided (publishableKey, apiKey, or authToken required)");
|
|
13592
13597
|
return;
|
|
13593
13598
|
}
|
|
13594
|
-
const U = c.getAttribute("data-unity-url") || "https://api.glydeunity.com", x = c.getAttribute("data-width"), G = c.getAttribute("data-height"), D = c.getAttribute("data-max-width"),
|
|
13599
|
+
const U = c.getAttribute("data-unity-url") || "https://api.glydeunity.com", x = c.getAttribute("data-width"), G = c.getAttribute("data-height"), D = c.getAttribute("data-max-width"), w = c.getAttribute("data-max-height"), W = x || G || D || w ? {
|
|
13595
13600
|
width: x ? isNaN(Number(x)) ? x : Number(x) : void 0,
|
|
13596
13601
|
height: G ? isNaN(Number(G)) ? G : Number(G) : void 0,
|
|
13597
13602
|
maxWidth: D ? isNaN(Number(D)) ? D : Number(D) : void 0,
|
|
13598
|
-
maxHeight:
|
|
13603
|
+
maxHeight: w ? isNaN(Number(w)) ? w : Number(w) : void 0
|
|
13599
13604
|
} : void 0, I = {
|
|
13600
13605
|
publishableKey: T,
|
|
13601
13606
|
apiKey: r,
|
|
13602
|
-
authToken:
|
|
13607
|
+
authToken: z,
|
|
13603
13608
|
contextId: c.getAttribute("data-context-id") || void 0,
|
|
13604
13609
|
unityBaseUrl: U,
|
|
13605
13610
|
contextType: c.getAttribute("data-context-type") || "screening",
|