@glydeunity/voice-sdk 1.5.16 → 1.5.20

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.
@@ -181,16 +181,16 @@ class yg {
181
181
  const f = `${this.unityUrl}/api/unity/voice/config/${this.config.contextType}`;
182
182
  let h = this.config.contextId ? `${f}/${this.config.contextId}` : f;
183
183
  if (this.config.skipContinuityLimit === !0) {
184
- const O = h.includes("?") ? "&" : "?";
185
- h += `${O}skip_continuity_limit=true`;
184
+ const C = h.includes("?") ? "&" : "?";
185
+ h += `${C}skip_continuity_limit=true`;
186
186
  }
187
187
  const M = await fetch(h, {
188
188
  method: "GET",
189
189
  headers: this.getAuthHeaders()
190
190
  });
191
191
  if (!M.ok) {
192
- const O = await M.json();
193
- throw new Error(O.error?.message || O.message || "Failed to fetch voice config");
192
+ const C = await M.json();
193
+ throw new Error(C.error?.message || C.message || "Failed to fetch voice config");
194
194
  }
195
195
  const { data: o } = await M.json();
196
196
  return o;
@@ -214,26 +214,26 @@ class yg {
214
214
  body: JSON.stringify(f)
215
215
  });
216
216
  if (!h.ok) {
217
- const C = await h.json();
218
- throw new Error(C.error?.message || C.message || "Failed to authenticate voice session");
217
+ const D = await h.json();
218
+ throw new Error(D.error?.message || D.message || "Failed to authenticate voice session");
219
219
  }
220
- const { data: M } = await h.json(), { token: o, agent_config: O, deepgram_config: N } = M;
220
+ const { data: M } = await h.json(), { token: o, agent_config: C, deepgram_config: U } = M;
221
221
  this.setSessionContext({
222
- clientUuid: O?.client_uuid,
222
+ clientUuid: C?.client_uuid,
223
223
  contextId: this.config.contextId,
224
224
  contextType: this.config.contextType,
225
- currentJobUuid: O?.job_uuid
225
+ currentJobUuid: C?.job_uuid
226
226
  });
227
- const V = O?.instructions || this.serverConfig?.system_prompt || "You are a helpful AI assistant.";
227
+ const X = C?.instructions || this.serverConfig?.system_prompt || "You are a helpful AI assistant.";
228
228
  await this.initializeAudio();
229
- let D = "wss://agent.deepgram.com/v1/agent/converse";
230
- const S = this.config.deepgramConfig || N || this.serverConfig?.deepgram_config;
229
+ let O = "wss://agent.deepgram.com/v1/agent/converse";
230
+ const S = this.config.deepgramConfig || U || this.serverConfig?.deepgram_config;
231
231
  if (S?.tags && S.tags.length > 0) {
232
- const C = new URLSearchParams();
233
- S.tags.forEach((H) => C.append("tag", H)), D += `?${C.toString()}`;
232
+ const D = new URLSearchParams();
233
+ S.tags.forEach((H) => D.append("tag", H)), O += `?${D.toString()}`;
234
234
  }
235
- this.ws = new WebSocket(D, ["bearer", o]), this.ws.onopen = () => {
236
- const C = S || {
235
+ this.ws = new WebSocket(O, ["bearer", o]), this.ws.onopen = () => {
236
+ const D = S || {
237
237
  think: { provider: { type: "open_ai", model: "gpt-4.1-nano" } },
238
238
  speak: { provider: { type: "deepgram", model: "aura-2-thalia-en" } },
239
239
  listen: { provider: { type: "deepgram", version: "v2", model: "flux-general-en" } }
@@ -252,39 +252,39 @@ class yg {
252
252
  },
253
253
  agent: {
254
254
  language: "en",
255
- speak: C.speak || {
255
+ speak: D.speak || {
256
256
  provider: { type: "deepgram", model: "aura-2-thalia-en" }
257
257
  },
258
- listen: C.listen || {
258
+ listen: D.listen || {
259
259
  provider: { type: "deepgram", version: "v2", model: "flux-general-en" }
260
260
  },
261
261
  think: {
262
- provider: C.think?.provider || { type: "open_ai", model: "gpt-4.1-nano" },
262
+ provider: D.think?.provider || { type: "open_ai", model: "gpt-4.1-nano" },
263
263
  // Server functions plus optional client-added tools only
264
- ...((C.think?.functions?.length || 0) > 0 || (this.config.additionalFunctions?.length || 0) > 0) && {
264
+ ...((D.think?.functions?.length || 0) > 0 || (this.config.additionalFunctions?.length || 0) > 0) && {
265
265
  functions: [
266
- ...C.think?.functions || [],
266
+ ...D.think?.functions || [],
267
267
  ...this.config.additionalFunctions || []
268
268
  ]
269
269
  }
270
270
  },
271
271
  // Greeting is server-controlled; only set when server provides it
272
- ...(O?.greeting ?? C?.greeting) && {
273
- greeting: O?.greeting ?? C?.greeting
272
+ ...(C?.greeting ?? D?.greeting) && {
273
+ greeting: C?.greeting ?? D?.greeting
274
274
  }
275
275
  }
276
276
  };
277
- C.tags && C.tags.length > 0 && (H.tags = C.tags), this.ws.send(JSON.stringify(H)), this.emit({ type: "open", payload: { config: O, serverConfig: this.serverConfig } });
277
+ D.tags && D.tags.length > 0 && (H.tags = D.tags), this.ws.send(JSON.stringify(H)), this.emit({ type: "open", payload: { config: C, serverConfig: this.serverConfig } });
278
278
  };
279
- const Y = V;
280
- this.ws.onmessage = (C) => {
281
- if (typeof C.data == "string") {
279
+ const G = X;
280
+ this.ws.onmessage = (D) => {
281
+ if (typeof D.data == "string") {
282
282
  try {
283
- const H = JSON.parse(C.data);
283
+ const H = JSON.parse(D.data);
284
284
  if (H.type === "SettingsApplied") {
285
285
  const w = {
286
286
  type: "UpdatePrompt",
287
- prompt: Y
287
+ prompt: G
288
288
  };
289
289
  this.ws.send(JSON.stringify(w)), setTimeout(() => {
290
290
  this.mediaStream || this.startMicrophone().catch((F) => {
@@ -297,10 +297,10 @@ class yg {
297
297
  }));
298
298
  } catch {
299
299
  }
300
- this.handleTextMessage(C.data);
301
- } else C.data instanceof Blob ? this.handleAudioData(C.data) : C.data instanceof ArrayBuffer && this.handleAudioBuffer(C.data);
302
- }, this.ws.onerror = (C) => {
303
- console.error("[GlydeVoice] WebSocket error:", C), this.emit({ type: "error", payload: C });
300
+ this.handleTextMessage(D.data);
301
+ } else D.data instanceof Blob ? this.handleAudioData(D.data) : D.data instanceof ArrayBuffer && this.handleAudioBuffer(D.data);
302
+ }, this.ws.onerror = (D) => {
303
+ console.error("[GlydeVoice] WebSocket error:", D), this.emit({ type: "error", payload: D });
304
304
  }, this.ws.onclose = () => {
305
305
  this.cleanup(), this.emit({ type: "close" });
306
306
  }, this.renderUI();
@@ -400,25 +400,25 @@ class yg {
400
400
  if (h === 0) return;
401
401
  const M = h - h % 2;
402
402
  if (M === 0) return;
403
- const o = M === h ? f : f.slice(0, M), O = new Int16Array(o), N = new Float32Array(O.length);
404
- for (let S = 0; S < O.length; S++)
405
- N[S] = O[S] / 32768;
406
- const V = this.resample24kTo48k(N);
403
+ const o = M === h ? f : f.slice(0, M), C = new Int16Array(o), U = new Float32Array(C.length);
404
+ for (let S = 0; S < C.length; S++)
405
+ U[S] = C[S] / 32768;
406
+ const X = this.resample24kTo48k(U);
407
407
  !this.isAgentSpeaking && !this.agentAudioDoneReceived && (this.isAgentSpeaking = !0, this.emit({ type: "agent_speaking", payload: !0 }));
408
- const D = new Float32Array(V);
408
+ const O = new Float32Array(X);
409
409
  this.playbackWorkletNode.port.postMessage({
410
410
  type: "audio",
411
- data: D
412
- }, [D.buffer]);
411
+ data: O
412
+ }, [O.buffer]);
413
413
  }
414
414
  /**
415
415
  * Resample audio from 24kHz to 48kHz using linear interpolation
416
416
  */
417
417
  resample24kTo48k(f) {
418
418
  const h = f.length * 2, M = new Float32Array(h);
419
- for (let O = 0; O < f.length - 1; O++) {
420
- const N = f[O], V = f[O + 1];
421
- M[O * 2] = N, M[O * 2 + 1] = (N + V) / 2;
419
+ for (let C = 0; C < f.length - 1; C++) {
420
+ const U = f[C], X = f[C + 1];
421
+ M[C * 2] = U, M[C * 2 + 1] = (U + X) / 2;
422
422
  }
423
423
  const o = f.length - 1;
424
424
  return M[o * 2] = f[o], M[o * 2 + 1] = f[o], M;
@@ -544,25 +544,39 @@ class yg {
544
544
  let M = {};
545
545
  try {
546
546
  M = h.arguments ? JSON.parse(h.arguments) : {};
547
- } catch (N) {
548
- console.warn("[GlydeVoice] Failed to parse function arguments:", N);
547
+ } catch (U) {
548
+ console.warn("[GlydeVoice] Failed to parse function arguments:", U);
549
549
  }
550
550
  let o;
551
551
  try {
552
552
  h.name === "end_conversation" ? o = await this.handleEndConversation(M) : o = await this.executeVoiceFunction(h.name, h.id, M);
553
- } catch (N) {
554
- console.error("[GlydeVoice] Function call error:", N), o = JSON.stringify({
553
+ } catch (U) {
554
+ console.error("[GlydeVoice] Function call error:", U), o = JSON.stringify({
555
555
  error: "Function execution failed",
556
- details: N instanceof Error ? N.message : String(N)
556
+ details: U instanceof Error ? U.message : String(U)
557
557
  });
558
558
  }
559
- const O = {
559
+ const C = {
560
560
  type: "FunctionCallResponse",
561
561
  id: h.id,
562
562
  name: h.name,
563
563
  content: o
564
564
  };
565
- this.ws && this.ws.readyState === WebSocket.OPEN ? (this.ws.send(JSON.stringify(O)), console.log("[GlydeVoice] Function response sent:", h.name)) : console.error("[GlydeVoice] Cannot send function response - WebSocket not open");
565
+ this.ws && this.ws.readyState === WebSocket.OPEN ? (this.ws.send(JSON.stringify(C)), console.log("[GlydeVoice] Function response sent:", h.name)) : console.error("[GlydeVoice] Cannot send function response - WebSocket not open");
566
+ try {
567
+ const U = typeof o == "string" ? JSON.parse(o) : o;
568
+ if (U && typeof U == "object" && U.context_switch && typeof U.context_switch.contextType == "string" && typeof U.context_switch.contextId == "string") {
569
+ const X = U.context_switch;
570
+ this.emit({ type: "context_switch", payload: X });
571
+ const O = 3e3;
572
+ console.log("[GlydeVoice] Context switch requested, reinitializing in", O, "ms:", X), setTimeout(() => {
573
+ this.reinitializeWithContext(X.contextType, X.contextId).catch((S) => {
574
+ console.error("[GlydeVoice] Reinitialize after context switch failed:", S), this.emit({ type: "error", payload: S });
575
+ });
576
+ }, O);
577
+ }
578
+ } catch {
579
+ }
566
580
  }
567
581
  }
568
582
  /**
@@ -588,29 +602,30 @@ class yg {
588
602
  context: {
589
603
  context_id: this.sessionContext.contextId,
590
604
  context_type: this.sessionContext.contextType,
591
- current_job_uuid: this.sessionContext.currentJobUuid
605
+ current_job_uuid: this.sessionContext.currentJobUuid,
606
+ candidate_uuid: this.sessionContext.contextType === "candidate_discover" ? this.sessionContext.contextId : void 0
592
607
  }
593
608
  })
594
609
  });
595
610
  if (!o.ok) {
596
- const N = await o.json().catch(() => ({})), V = N.error?.message || N.message || `HTTP ${o.status}`;
597
- throw console.error("[GlydeVoice] Voice function API call failed:", o.status, V), new Error(V);
611
+ const U = await o.json().catch(() => ({})), X = U.error?.message || U.message || `HTTP ${o.status}`;
612
+ throw console.error("[GlydeVoice] Voice function API call failed:", o.status, X), new Error(X);
598
613
  }
599
- const O = await o.json();
600
- if (O.success && O.data?.output !== void 0) {
601
- const N = O.data.output;
602
- if (typeof N == "object" && N !== null && N.success === !1) {
603
- const V = N.error ?? N.fallback_message;
604
- console.warn("[GlydeVoice] Voice function backend reported failure:", f, V);
614
+ const C = await o.json();
615
+ if (C.success && C.data?.output !== void 0) {
616
+ const U = C.data.output;
617
+ if (typeof U == "object" && U !== null && U.success === !1) {
618
+ const X = U.error ?? U.fallback_message;
619
+ console.warn("[GlydeVoice] Voice function backend reported failure:", f, X);
605
620
  }
606
- return typeof N == "string" ? N : JSON.stringify(N);
621
+ return typeof U == "string" ? U : JSON.stringify(U);
607
622
  }
608
- throw console.error("[GlydeVoice] Voice function invalid response:", O), new Error("Invalid response from voice function endpoint");
623
+ throw console.error("[GlydeVoice] Voice function invalid response:", C), new Error("Invalid response from voice function endpoint");
609
624
  } catch (o) {
610
- const O = o instanceof Error ? o.message : "Function execution failed";
611
- return console.error("[GlydeVoice] Voice function error:", O, o), JSON.stringify({
625
+ const C = o instanceof Error ? o.message : "Function execution failed";
626
+ return console.error("[GlydeVoice] Voice function error:", C, o), JSON.stringify({
612
627
  success: !1,
613
- error: O,
628
+ error: C,
614
629
  fallback_message: "I apologize, but I'm having trouble with that request right now. Is there something else I can help you with?"
615
630
  });
616
631
  }
@@ -636,7 +651,7 @@ class yg {
636
651
  * Set session context for function calls
637
652
  * Called internally after authentication to provide job context for function routing
638
653
  * Context is passed to the backend voice function endpoint for proper data controls
639
- *
654
+ *
640
655
  * @param context - Session context with contextId, contextType, and job details
641
656
  */
642
657
  setSessionContext(f) {
@@ -646,6 +661,17 @@ class yg {
646
661
  hasJobUuid: !!f.currentJobUuid
647
662
  });
648
663
  }
664
+ /**
665
+ * Reinitialize the voice session with a new context (e.g. after context_switch from the server).
666
+ * Stops the current session, updates config and session context, then starts a new session
667
+ * so chat history is stored under the correct application/placeholder.
668
+ *
669
+ * @param contextType - New voice context type (e.g. 'screening', 'candidate_discover')
670
+ * @param contextId - New context ID (e.g. application_uuid, candidate_uuid)
671
+ */
672
+ async reinitializeWithContext(f, h) {
673
+ this.config = { ...this.config, contextType: f, contextId: h }, this.setSessionContext({ contextType: f, contextId: h }), this.stop(), await new Promise((M) => setTimeout(M, 800)), await this.start();
674
+ }
649
675
  }
650
676
  class gg {
651
677
  config;
@@ -755,15 +781,15 @@ class gg {
755
781
  })
756
782
  });
757
783
  if (!M.ok) {
758
- const V = await M.json().catch(() => ({}));
759
- throw new Error(V.error?.message || V.message || "Failed to send message");
784
+ const X = await M.json().catch(() => ({}));
785
+ throw new Error(X.error?.message || X.message || "Failed to send message");
760
786
  }
761
787
  const o = await M.json();
762
788
  o.history?.messages && (this.history = o.history.messages.filter(
763
- (V) => V.role !== "system"
789
+ (X) => X.role !== "system"
764
790
  ));
765
- const O = [...this.history].reverse().find((V) => V.role === "assistant");
766
- return O ? (this.config.onMessage && this.config.onMessage(O), this.emit({ type: "message", payload: O }), O) : {
791
+ const C = [...this.history].reverse().find((X) => X.role === "assistant");
792
+ return C ? (this.config.onMessage && this.config.onMessage(C), this.emit({ type: "message", payload: C }), C) : {
767
793
  role: "assistant",
768
794
  content: o.response || "I received your message.",
769
795
  created: (/* @__PURE__ */ new Date()).toISOString()
@@ -814,7 +840,7 @@ function vg() {
814
840
  if (Md) return J;
815
841
  Md = 1;
816
842
  var g = { env: { NODE_ENV: "production" } };
817
- var f = /* @__PURE__ */ Symbol.for("react.transitional.element"), h = /* @__PURE__ */ Symbol.for("react.portal"), M = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), O = /* @__PURE__ */ Symbol.for("react.profiler"), N = /* @__PURE__ */ Symbol.for("react.consumer"), V = /* @__PURE__ */ Symbol.for("react.context"), D = /* @__PURE__ */ Symbol.for("react.forward_ref"), S = /* @__PURE__ */ Symbol.for("react.suspense"), Y = /* @__PURE__ */ Symbol.for("react.memo"), C = /* @__PURE__ */ Symbol.for("react.lazy"), H = /* @__PURE__ */ Symbol.for("react.activity"), w = Symbol.iterator;
843
+ var f = /* @__PURE__ */ Symbol.for("react.transitional.element"), h = /* @__PURE__ */ Symbol.for("react.portal"), M = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), C = /* @__PURE__ */ Symbol.for("react.profiler"), U = /* @__PURE__ */ Symbol.for("react.consumer"), X = /* @__PURE__ */ Symbol.for("react.context"), O = /* @__PURE__ */ Symbol.for("react.forward_ref"), S = /* @__PURE__ */ Symbol.for("react.suspense"), G = /* @__PURE__ */ Symbol.for("react.memo"), D = /* @__PURE__ */ Symbol.for("react.lazy"), H = /* @__PURE__ */ Symbol.for("react.activity"), w = Symbol.iterator;
818
844
  function F(d) {
819
845
  return d === null || typeof d != "object" ? null : (d = w && d[w] || d["@@iterator"], typeof d == "function" ? d : null);
820
846
  }
@@ -829,8 +855,8 @@ function vg() {
829
855
  enqueueSetState: function() {
830
856
  }
831
857
  }, $ = Object.assign, pt = {};
832
- function rt(d, E, R) {
833
- this.props = d, this.context = E, this.refs = pt, this.updater = R || I;
858
+ function rt(d, E, N) {
859
+ this.props = d, this.context = E, this.refs = pt, this.updater = N || I;
834
860
  }
835
861
  rt.prototype.isReactComponent = {}, rt.prototype.setState = function(d, E) {
836
862
  if (typeof d != "object" && typeof d != "function" && d != null)
@@ -844,49 +870,49 @@ function vg() {
844
870
  function Tt() {
845
871
  }
846
872
  Tt.prototype = rt.prototype;
847
- function ct(d, E, R) {
848
- this.props = d, this.context = E, this.refs = pt, this.updater = R || I;
873
+ function ct(d, E, N) {
874
+ this.props = d, this.context = E, this.refs = pt, this.updater = N || I;
849
875
  }
850
- var X = ct.prototype = new Tt();
851
- X.constructor = ct, $(X, rt.prototype), X.isPureReactComponent = !0;
876
+ var Q = ct.prototype = new Tt();
877
+ Q.constructor = ct, $(Q, rt.prototype), Q.isPureReactComponent = !0;
852
878
  var Et = Array.isArray;
853
- function Mt() {
879
+ function Dt() {
854
880
  }
855
- var at = { H: null, A: null, T: null, S: null }, Gt = Object.prototype.hasOwnProperty;
856
- function _t(d, E, R) {
857
- var G = R.ref;
881
+ var at = { H: null, A: null, T: null, S: null }, Yt = Object.prototype.hasOwnProperty;
882
+ function Mt(d, E, N) {
883
+ var Y = N.ref;
858
884
  return {
859
885
  $$typeof: f,
860
886
  type: d,
861
887
  key: E,
862
- ref: G !== void 0 ? G : null,
863
- props: R
888
+ ref: Y !== void 0 ? Y : null,
889
+ props: N
864
890
  };
865
891
  }
866
- function Oe(d, E) {
867
- return _t(d.type, E, d.props);
892
+ function Ce(d, E) {
893
+ return Mt(d.type, E, d.props);
868
894
  }
869
895
  function Wt(d) {
870
896
  return typeof d == "object" && d !== null && d.$$typeof === f;
871
897
  }
872
898
  function Qt(d) {
873
899
  var E = { "=": "=0", ":": "=2" };
874
- return "$" + d.replace(/[=:]/g, function(R) {
875
- return E[R];
900
+ return "$" + d.replace(/[=:]/g, function(N) {
901
+ return E[N];
876
902
  });
877
903
  }
878
904
  var ve = /\/+/g;
879
905
  function wt(d, E) {
880
906
  return typeof d == "object" && d !== null && d.key != null ? Qt("" + d.key) : E.toString(36);
881
907
  }
882
- function U(d) {
908
+ function j(d) {
883
909
  switch (d.status) {
884
910
  case "fulfilled":
885
911
  return d.value;
886
912
  case "rejected":
887
913
  throw d.reason;
888
914
  default:
889
- switch (typeof d.status == "string" ? d.then(Mt, Mt) : (d.status = "pending", d.then(
915
+ switch (typeof d.status == "string" ? d.then(Dt, Dt) : (d.status = "pending", d.then(
890
916
  function(E) {
891
917
  d.status === "pending" && (d.status = "fulfilled", d.value = E);
892
918
  },
@@ -902,7 +928,7 @@ function vg() {
902
928
  }
903
929
  throw d;
904
930
  }
905
- function _(d, E, R, G, P) {
931
+ function _(d, E, N, Y, P) {
906
932
  var tt = typeof d;
907
933
  (tt === "undefined" || tt === "boolean") && (d = null);
908
934
  var dt = !1;
@@ -920,53 +946,53 @@ function vg() {
920
946
  case h:
921
947
  dt = !0;
922
948
  break;
923
- case C:
949
+ case D:
924
950
  return dt = d._init, _(
925
951
  dt(d._payload),
926
952
  E,
927
- R,
928
- G,
953
+ N,
954
+ Y,
929
955
  P
930
956
  );
931
957
  }
932
958
  }
933
959
  if (dt)
934
- return P = P(d), dt = G === "" ? "." + wt(d, 0) : G, Et(P) ? (R = "", dt != null && (R = dt.replace(ve, "$&/") + "/"), _(P, E, R, "", function(Ua) {
960
+ return P = P(d), dt = Y === "" ? "." + wt(d, 0) : Y, Et(P) ? (N = "", dt != null && (N = dt.replace(ve, "$&/") + "/"), _(P, E, N, "", function(Ua) {
935
961
  return Ua;
936
- })) : P != null && (Wt(P) && (P = Oe(
962
+ })) : P != null && (Wt(P) && (P = Ce(
937
963
  P,
938
- R + (P.key == null || d && d.key === P.key ? "" : ("" + P.key).replace(
964
+ N + (P.key == null || d && d.key === P.key ? "" : ("" + P.key).replace(
939
965
  ve,
940
966
  "$&/"
941
967
  ) + "/") + dt
942
968
  )), E.push(P)), 1;
943
969
  dt = 0;
944
- var Ft = G === "" ? "." : G + ":";
970
+ var Ft = Y === "" ? "." : Y + ":";
945
971
  if (Et(d))
946
972
  for (var Ut = 0; Ut < d.length; Ut++)
947
- G = d[Ut], tt = Ft + wt(G, Ut), dt += _(
948
- G,
973
+ Y = d[Ut], tt = Ft + wt(Y, Ut), dt += _(
974
+ Y,
949
975
  E,
950
- R,
976
+ N,
951
977
  tt,
952
978
  P
953
979
  );
954
980
  else if (Ut = F(d), typeof Ut == "function")
955
- for (d = Ut.call(d), Ut = 0; !(G = d.next()).done; )
956
- G = G.value, tt = Ft + wt(G, Ut++), dt += _(
957
- G,
981
+ for (d = Ut.call(d), Ut = 0; !(Y = d.next()).done; )
982
+ Y = Y.value, tt = Ft + wt(Y, Ut++), dt += _(
983
+ Y,
958
984
  E,
959
- R,
985
+ N,
960
986
  tt,
961
987
  P
962
988
  );
963
989
  else if (tt === "object") {
964
990
  if (typeof d.then == "function")
965
991
  return _(
966
- U(d),
992
+ j(d),
967
993
  E,
968
- R,
969
- G,
994
+ N,
995
+ Y,
970
996
  P
971
997
  );
972
998
  throw E = String(d), Error(
@@ -975,22 +1001,22 @@ function vg() {
975
1001
  }
976
1002
  return dt;
977
1003
  }
978
- function j(d, E, R) {
1004
+ function R(d, E, N) {
979
1005
  if (d == null) return d;
980
- var G = [], P = 0;
981
- return _(d, G, "", "", function(tt) {
982
- return E.call(R, tt, P++);
983
- }), G;
1006
+ var Y = [], P = 0;
1007
+ return _(d, Y, "", "", function(tt) {
1008
+ return E.call(N, tt, P++);
1009
+ }), Y;
984
1010
  }
985
1011
  function K(d) {
986
1012
  if (d._status === -1) {
987
1013
  var E = d._result;
988
1014
  E = E(), E.then(
989
- function(R) {
990
- (d._status === 0 || d._status === -1) && (d._status = 1, d._result = R);
1015
+ function(N) {
1016
+ (d._status === 0 || d._status === -1) && (d._status = 1, d._result = N);
991
1017
  },
992
- function(R) {
993
- (d._status === 0 || d._status === -1) && (d._status = 2, d._result = R);
1018
+ function(N) {
1019
+ (d._status === 0 || d._status === -1) && (d._status = 2, d._result = N);
994
1020
  }
995
1021
  ), d._status === -1 && (d._status = 0, d._result = E);
996
1022
  }
@@ -1012,24 +1038,24 @@ function vg() {
1012
1038
  }
1013
1039
  console.error(d);
1014
1040
  }, ie = {
1015
- map: j,
1016
- forEach: function(d, E, R) {
1017
- j(
1041
+ map: R,
1042
+ forEach: function(d, E, N) {
1043
+ R(
1018
1044
  d,
1019
1045
  function() {
1020
1046
  E.apply(this, arguments);
1021
1047
  },
1022
- R
1048
+ N
1023
1049
  );
1024
1050
  },
1025
1051
  count: function(d) {
1026
1052
  var E = 0;
1027
- return j(d, function() {
1053
+ return R(d, function() {
1028
1054
  E++;
1029
1055
  }), E;
1030
1056
  },
1031
1057
  toArray: function(d) {
1032
- return j(d, function(E) {
1058
+ return R(d, function(E) {
1033
1059
  return E;
1034
1060
  }) || [];
1035
1061
  },
@@ -1041,7 +1067,7 @@ function vg() {
1041
1067
  return d;
1042
1068
  }
1043
1069
  };
1044
- return J.Activity = H, J.Children = ie, J.Component = rt, J.Fragment = M, J.Profiler = O, J.PureComponent = ct, J.StrictMode = o, J.Suspense = S, J.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = at, J.__COMPILER_RUNTIME = {
1070
+ return J.Activity = H, J.Children = ie, J.Component = rt, J.Fragment = M, J.Profiler = C, J.PureComponent = ct, J.StrictMode = o, J.Suspense = S, J.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = at, J.__COMPILER_RUNTIME = {
1045
1071
  __proto__: null,
1046
1072
  c: function(d) {
1047
1073
  return at.H.useMemoCache(d);
@@ -1052,84 +1078,84 @@ function vg() {
1052
1078
  };
1053
1079
  }, J.cacheSignal = function() {
1054
1080
  return null;
1055
- }, J.cloneElement = function(d, E, R) {
1081
+ }, J.cloneElement = function(d, E, N) {
1056
1082
  if (d == null)
1057
1083
  throw Error(
1058
1084
  "The argument must be a React element, but you passed " + d + "."
1059
1085
  );
1060
- var G = $({}, d.props), P = d.key;
1086
+ var Y = $({}, d.props), P = d.key;
1061
1087
  if (E != null)
1062
1088
  for (tt in E.key !== void 0 && (P = "" + E.key), E)
1063
- !Gt.call(E, tt) || tt === "key" || tt === "__self" || tt === "__source" || tt === "ref" && E.ref === void 0 || (G[tt] = E[tt]);
1089
+ !Yt.call(E, tt) || tt === "key" || tt === "__self" || tt === "__source" || tt === "ref" && E.ref === void 0 || (Y[tt] = E[tt]);
1064
1090
  var tt = arguments.length - 2;
1065
- if (tt === 1) G.children = R;
1091
+ if (tt === 1) Y.children = N;
1066
1092
  else if (1 < tt) {
1067
1093
  for (var dt = Array(tt), Ft = 0; Ft < tt; Ft++)
1068
1094
  dt[Ft] = arguments[Ft + 2];
1069
- G.children = dt;
1095
+ Y.children = dt;
1070
1096
  }
1071
- return _t(d.type, P, G);
1097
+ return Mt(d.type, P, Y);
1072
1098
  }, J.createContext = function(d) {
1073
1099
  return d = {
1074
- $$typeof: V,
1100
+ $$typeof: X,
1075
1101
  _currentValue: d,
1076
1102
  _currentValue2: d,
1077
1103
  _threadCount: 0,
1078
1104
  Provider: null,
1079
1105
  Consumer: null
1080
1106
  }, d.Provider = d, d.Consumer = {
1081
- $$typeof: N,
1107
+ $$typeof: U,
1082
1108
  _context: d
1083
1109
  }, d;
1084
- }, J.createElement = function(d, E, R) {
1085
- var G, P = {}, tt = null;
1110
+ }, J.createElement = function(d, E, N) {
1111
+ var Y, P = {}, tt = null;
1086
1112
  if (E != null)
1087
- for (G in E.key !== void 0 && (tt = "" + E.key), E)
1088
- Gt.call(E, G) && G !== "key" && G !== "__self" && G !== "__source" && (P[G] = E[G]);
1113
+ for (Y in E.key !== void 0 && (tt = "" + E.key), E)
1114
+ Yt.call(E, Y) && Y !== "key" && Y !== "__self" && Y !== "__source" && (P[Y] = E[Y]);
1089
1115
  var dt = arguments.length - 2;
1090
- if (dt === 1) P.children = R;
1116
+ if (dt === 1) P.children = N;
1091
1117
  else if (1 < dt) {
1092
1118
  for (var Ft = Array(dt), Ut = 0; Ut < dt; Ut++)
1093
1119
  Ft[Ut] = arguments[Ut + 2];
1094
1120
  P.children = Ft;
1095
1121
  }
1096
1122
  if (d && d.defaultProps)
1097
- for (G in dt = d.defaultProps, dt)
1098
- P[G] === void 0 && (P[G] = dt[G]);
1099
- return _t(d, tt, P);
1123
+ for (Y in dt = d.defaultProps, dt)
1124
+ P[Y] === void 0 && (P[Y] = dt[Y]);
1125
+ return Mt(d, tt, P);
1100
1126
  }, J.createRef = function() {
1101
1127
  return { current: null };
1102
1128
  }, J.forwardRef = function(d) {
1103
- return { $$typeof: D, render: d };
1129
+ return { $$typeof: O, render: d };
1104
1130
  }, J.isValidElement = Wt, J.lazy = function(d) {
1105
1131
  return {
1106
- $$typeof: C,
1132
+ $$typeof: D,
1107
1133
  _payload: { _status: -1, _result: d },
1108
1134
  _init: K
1109
1135
  };
1110
1136
  }, J.memo = function(d, E) {
1111
1137
  return {
1112
- $$typeof: Y,
1138
+ $$typeof: G,
1113
1139
  type: d,
1114
1140
  compare: E === void 0 ? null : E
1115
1141
  };
1116
1142
  }, J.startTransition = function(d) {
1117
- var E = at.T, R = {};
1118
- at.T = R;
1143
+ var E = at.T, N = {};
1144
+ at.T = N;
1119
1145
  try {
1120
- var G = d(), P = at.S;
1121
- P !== null && P(R, G), typeof G == "object" && G !== null && typeof G.then == "function" && G.then(Mt, bt);
1146
+ var Y = d(), P = at.S;
1147
+ P !== null && P(N, Y), typeof Y == "object" && Y !== null && typeof Y.then == "function" && Y.then(Dt, bt);
1122
1148
  } catch (tt) {
1123
1149
  bt(tt);
1124
1150
  } finally {
1125
- E !== null && R.types !== null && (E.types = R.types), at.T = E;
1151
+ E !== null && N.types !== null && (E.types = N.types), at.T = E;
1126
1152
  }
1127
1153
  }, J.unstable_useCacheRefresh = function() {
1128
1154
  return at.H.useCacheRefresh();
1129
1155
  }, J.use = function(d) {
1130
1156
  return at.H.use(d);
1131
- }, J.useActionState = function(d, E, R) {
1132
- return at.H.useActionState(d, E, R);
1157
+ }, J.useActionState = function(d, E, N) {
1158
+ return at.H.useActionState(d, E, N);
1133
1159
  }, J.useCallback = function(d, E) {
1134
1160
  return at.H.useCallback(d, E);
1135
1161
  }, J.useContext = function(d) {
@@ -1143,8 +1169,8 @@ function vg() {
1143
1169
  return at.H.useEffectEvent(d);
1144
1170
  }, J.useId = function() {
1145
1171
  return at.H.useId();
1146
- }, J.useImperativeHandle = function(d, E, R) {
1147
- return at.H.useImperativeHandle(d, E, R);
1172
+ }, J.useImperativeHandle = function(d, E, N) {
1173
+ return at.H.useImperativeHandle(d, E, N);
1148
1174
  }, J.useInsertionEffect = function(d, E) {
1149
1175
  return at.H.useInsertionEffect(d, E);
1150
1176
  }, J.useLayoutEffect = function(d, E) {
@@ -1153,17 +1179,17 @@ function vg() {
1153
1179
  return at.H.useMemo(d, E);
1154
1180
  }, J.useOptimistic = function(d, E) {
1155
1181
  return at.H.useOptimistic(d, E);
1156
- }, J.useReducer = function(d, E, R) {
1157
- return at.H.useReducer(d, E, R);
1182
+ }, J.useReducer = function(d, E, N) {
1183
+ return at.H.useReducer(d, E, N);
1158
1184
  }, J.useRef = function(d) {
1159
1185
  return at.H.useRef(d);
1160
1186
  }, J.useState = function(d) {
1161
1187
  return at.H.useState(d);
1162
- }, J.useSyncExternalStore = function(d, E, R) {
1188
+ }, J.useSyncExternalStore = function(d, E, N) {
1163
1189
  return at.H.useSyncExternalStore(
1164
1190
  d,
1165
1191
  E,
1166
- R
1192
+ N
1167
1193
  );
1168
1194
  }, J.useTransition = function() {
1169
1195
  return at.H.useTransition();
@@ -1176,51 +1202,51 @@ function Tf() {
1176
1202
  var Z = Tf();
1177
1203
  const Zu = /* @__PURE__ */ mg(Z);
1178
1204
  function pg(g) {
1179
- const [f, h] = Z.useState("idle"), [M, o] = Z.useState([]), [O, N] = Z.useState(!1), [V, D] = Z.useState(!1), [S, Y] = Z.useState(!1), [C, H] = Z.useState(null), w = Z.useRef(null), F = Z.useCallback((X) => {
1180
- switch (X.type) {
1205
+ const [f, h] = Z.useState("idle"), [M, o] = Z.useState([]), [C, U] = Z.useState(!1), [X, O] = Z.useState(!1), [S, G] = Z.useState(!1), [D, H] = Z.useState(null), w = Z.useRef(null), F = Z.useCallback((Q) => {
1206
+ switch (Q.type) {
1181
1207
  case "ready":
1182
1208
  h("active");
1183
1209
  break;
1184
1210
  case "close":
1185
- h("idle"), N(!1), D(!1);
1211
+ h("idle"), U(!1), O(!1);
1186
1212
  break;
1187
1213
  case "error":
1188
1214
  h("error"), H(
1189
- typeof X.payload == "object" && X.payload !== null && "message" in X.payload ? String(X.payload.message) : "Connection error"
1215
+ typeof Q.payload == "object" && Q.payload !== null && "message" in Q.payload ? String(Q.payload.message) : "Connection error"
1190
1216
  );
1191
1217
  break;
1192
1218
  case "user_speaking":
1193
- N(!!X.payload);
1219
+ U(!!Q.payload);
1194
1220
  break;
1195
1221
  case "agent_speaking":
1196
- D(!!X.payload);
1222
+ O(!!Q.payload);
1197
1223
  break;
1198
1224
  }
1199
- }, []), I = Z.useCallback((X, Et) => {
1200
- o((Mt) => [...Mt, {
1225
+ }, []), I = Z.useCallback((Q, Et) => {
1226
+ o((Dt) => [...Dt, {
1201
1227
  role: Et,
1202
- content: X,
1228
+ content: Q,
1203
1229
  timestamp: /* @__PURE__ */ new Date()
1204
1230
  }]);
1205
1231
  }, []), $ = Z.useCallback(async () => {
1206
1232
  h("connecting"), H(null);
1207
1233
  try {
1208
- const X = new yg({
1234
+ const Q = new yg({
1209
1235
  ...g,
1210
1236
  onEvent: F,
1211
1237
  onTranscript: I
1212
1238
  });
1213
- w.current = X, await X.start();
1214
- } catch (X) {
1215
- console.error("[useVoiceAgent] Failed to start:", X), h("error"), H(X instanceof Error ? X.message : "Failed to connect");
1239
+ w.current = Q, await Q.start();
1240
+ } catch (Q) {
1241
+ console.error("[useVoiceAgent] Failed to start:", Q), h("error"), H(Q instanceof Error ? Q.message : "Failed to connect");
1216
1242
  }
1217
1243
  }, [g, F, I]), pt = Z.useCallback(() => {
1218
- w.current?.stop(), w.current = null, h("idle"), N(!1), D(!1);
1244
+ w.current?.stop(), w.current = null, h("idle"), U(!1), O(!1);
1219
1245
  }, []), rt = Z.useCallback(() => {
1220
- const X = !S;
1221
- Y(X), w.current?.setMuted(X);
1222
- }, [S]), Tt = Z.useCallback((X) => {
1223
- Y(X), w.current?.setMuted(X);
1246
+ const Q = !S;
1247
+ G(Q), w.current?.setMuted(Q);
1248
+ }, [S]), Tt = Z.useCallback((Q) => {
1249
+ G(Q), w.current?.setMuted(Q);
1224
1250
  }, []), ct = Z.useCallback(() => {
1225
1251
  o([]);
1226
1252
  }, []);
@@ -1231,10 +1257,10 @@ function pg(g) {
1231
1257
  }, [g.autoStart, f, $]), {
1232
1258
  status: f,
1233
1259
  transcripts: M,
1234
- isUserSpeaking: O,
1235
- isAgentSpeaking: V,
1260
+ isUserSpeaking: C,
1261
+ isAgentSpeaking: X,
1236
1262
  isMuted: S,
1237
- errorMessage: C,
1263
+ errorMessage: D,
1238
1264
  start: $,
1239
1265
  stop: pt,
1240
1266
  toggleMute: rt,
@@ -1244,47 +1270,47 @@ function pg(g) {
1244
1270
  };
1245
1271
  }
1246
1272
  function bg(g) {
1247
- const [f, h] = Z.useState("idle"), [M, o] = Z.useState([]), [O, N] = Z.useState(!1), [V, D] = Z.useState(null), S = Z.useRef(null), Y = Z.useRef(!1), C = Z.useCallback(() => (S.current || (S.current = new gg({
1273
+ const [f, h] = Z.useState("idle"), [M, o] = Z.useState([]), [C, U] = Z.useState(!1), [X, O] = Z.useState(null), S = Z.useRef(null), G = Z.useRef(!1), D = Z.useCallback(() => (S.current || (S.current = new gg({
1248
1274
  ...g,
1249
- onTyping: N
1275
+ onTyping: U
1250
1276
  })), S.current), [g]), H = Z.useCallback(async () => {
1251
- if (!Y.current) {
1252
- h("loading"), D(null);
1277
+ if (!G.current) {
1278
+ h("loading"), O(null);
1253
1279
  try {
1254
- const $ = await C().initialize();
1255
- o($), h("ready"), Y.current = !0;
1280
+ const $ = await D().initialize();
1281
+ o($), h("ready"), G.current = !0;
1256
1282
  } catch (I) {
1257
- console.error("[useTextChat] Initialization error:", I), h("error"), D(I instanceof Error ? I.message : "Failed to initialize chat");
1283
+ console.error("[useTextChat] Initialization error:", I), h("error"), O(I instanceof Error ? I.message : "Failed to initialize chat");
1258
1284
  }
1259
1285
  }
1260
- }, [C]), w = Z.useCallback(async (I) => {
1286
+ }, [D]), w = Z.useCallback(async (I) => {
1261
1287
  if (I.trim()) {
1262
- D(null);
1288
+ O(null);
1263
1289
  try {
1264
- const $ = C(), pt = {
1290
+ const $ = D(), pt = {
1265
1291
  role: "user",
1266
1292
  content: I.trim(),
1267
1293
  created: (/* @__PURE__ */ new Date()).toISOString()
1268
1294
  };
1269
1295
  o((Tt) => [...Tt, pt]), await $.sendMessage(I);
1270
1296
  const rt = $.getHistory();
1271
- o(rt), f !== "ready" && (h("ready"), Y.current = !0);
1297
+ o(rt), f !== "ready" && (h("ready"), G.current = !0);
1272
1298
  } catch ($) {
1273
- console.error("[useTextChat] Send message error:", $), D($ instanceof Error ? $.message : "Failed to send message");
1299
+ console.error("[useTextChat] Send message error:", $), O($ instanceof Error ? $.message : "Failed to send message");
1274
1300
  }
1275
1301
  }
1276
- }, [C, f]), F = Z.useCallback(() => {
1277
- S.current?.clearHistory(), o([]), Y.current = !1, h("idle");
1302
+ }, [D, f]), F = Z.useCallback(() => {
1303
+ S.current?.clearHistory(), o([]), G.current = !1, h("idle");
1278
1304
  }, []);
1279
1305
  return Z.useEffect(() => {
1280
- g.autoInit && !Y.current && g.contextId && H();
1306
+ g.autoInit && !G.current && g.contextId && H();
1281
1307
  }, [g.autoInit, g.contextId, H]), Z.useEffect(() => () => {
1282
1308
  S.current = null;
1283
1309
  }, []), {
1284
1310
  status: f,
1285
1311
  messages: M,
1286
- isLoading: O,
1287
- errorMessage: V,
1312
+ isLoading: C,
1313
+ errorMessage: X,
1288
1314
  initialize: H,
1289
1315
  sendMessage: w,
1290
1316
  clearHistory: F,
@@ -1292,31 +1318,31 @@ function bg(g) {
1292
1318
  };
1293
1319
  }
1294
1320
  var vf = { exports: {} }, En = {};
1295
- var Od;
1321
+ var Cd;
1296
1322
  function Sg() {
1297
- if (Od) return En;
1298
- Od = 1;
1323
+ if (Cd) return En;
1324
+ Cd = 1;
1299
1325
  var g = /* @__PURE__ */ Symbol.for("react.transitional.element"), f = /* @__PURE__ */ Symbol.for("react.fragment");
1300
- function h(M, o, O) {
1301
- var N = null;
1302
- if (O !== void 0 && (N = "" + O), o.key !== void 0 && (N = "" + o.key), "key" in o) {
1303
- O = {};
1304
- for (var V in o)
1305
- V !== "key" && (O[V] = o[V]);
1306
- } else O = o;
1307
- return o = O.ref, {
1326
+ function h(M, o, C) {
1327
+ var U = null;
1328
+ if (C !== void 0 && (U = "" + C), o.key !== void 0 && (U = "" + o.key), "key" in o) {
1329
+ C = {};
1330
+ for (var X in o)
1331
+ X !== "key" && (C[X] = o[X]);
1332
+ } else C = o;
1333
+ return o = C.ref, {
1308
1334
  $$typeof: g,
1309
1335
  type: M,
1310
- key: N,
1336
+ key: U,
1311
1337
  ref: o !== void 0 ? o : null,
1312
- props: O
1338
+ props: C
1313
1339
  };
1314
1340
  }
1315
1341
  return En.Fragment = f, En.jsx = h, En.jsxs = h, En;
1316
1342
  }
1317
- var Cd;
1343
+ var Od;
1318
1344
  function xg() {
1319
- return Cd || (Cd = 1, vf.exports = Sg()), vf.exports;
1345
+ return Od || (Od = 1, vf.exports = Sg()), vf.exports;
1320
1346
  }
1321
1347
  var p = xg();
1322
1348
  const Ju = ({ size: g = 24, color: f = "currentColor", className: h }) => /* @__PURE__ */ p.jsxs(
@@ -1500,7 +1526,7 @@ const Ju = ({ size: g = 24, color: f = "currentColor", className: h }) => /* @__
1500
1526
  /* @__PURE__ */ p.jsx("line", { x1: "16", x2: "22", y1: "9", y2: "15" })
1501
1527
  ]
1502
1528
  }
1503
- ), Og = ({ size: g = 24, color: f = "currentColor", className: h }) => /* @__PURE__ */ p.jsxs(
1529
+ ), Cg = ({ size: g = 24, color: f = "currentColor", className: h }) => /* @__PURE__ */ p.jsxs(
1504
1530
  "svg",
1505
1531
  {
1506
1532
  xmlns: "http://www.w3.org/2000/svg",
@@ -1518,7 +1544,7 @@ const Ju = ({ size: g = 24, color: f = "currentColor", className: h }) => /* @__
1518
1544
  /* @__PURE__ */ p.jsx("line", { x1: "6", x2: "18", y1: "6", y2: "18" })
1519
1545
  ]
1520
1546
  }
1521
- ), Cg = ({ size: g = 24, color: f = "currentColor", className: h }) => /* @__PURE__ */ p.jsxs(
1547
+ ), Og = ({ size: g = 24, color: f = "currentColor", className: h }) => /* @__PURE__ */ p.jsxs(
1522
1548
  "svg",
1523
1549
  {
1524
1550
  xmlns: "http://www.w3.org/2000/svg",
@@ -1641,7 +1667,7 @@ function qd(g) {
1641
1667
  --glyde-text-muted: ${f.textMuted};
1642
1668
  `;
1643
1669
  }
1644
- const Yd = `
1670
+ const Gd = `
1645
1671
  @keyframes glyde-pulse {
1646
1672
  0%, 100% { opacity: 1; transform: scale(1); }
1647
1673
  50% { opacity: 0.5; transform: scale(1.2); }
@@ -1748,7 +1774,7 @@ const Yd = `
1748
1774
  .glyde-slide-up {
1749
1775
  animation: glyde-slide-up 0.3s ease-out;
1750
1776
  }
1751
- `, Dt = {
1777
+ `, Ot = {
1752
1778
  // Floating widget button
1753
1779
  floatingButton: {
1754
1780
  position: "fixed",
@@ -1972,7 +1998,7 @@ function ku(g = "light") {
1972
1998
  ${qd(g)}
1973
1999
  }
1974
2000
 
1975
- ${Yd}
2001
+ ${Gd}
1976
2002
  `, document.head.appendChild(h);
1977
2003
  }
1978
2004
  function Wg(g) {
@@ -1982,22 +2008,22 @@ function Wg(g) {
1982
2008
  ${qd(g)}
1983
2009
  }
1984
2010
 
1985
- ${Yd}
2011
+ ${Gd}
1986
2012
  ` : ku(g);
1987
2013
  }
1988
- const Gd = ({
2014
+ const Yd = ({
1989
2015
  contextId: g,
1990
2016
  publishableKey: f,
1991
2017
  apiKey: h,
1992
2018
  authToken: M,
1993
2019
  unityApiUrl: o = "https://api.glydeunity.com",
1994
- contextType: O = "screening",
1995
- height: N = "600px",
1996
- onTranscript: V,
1997
- onCallEnd: D,
2020
+ contextType: C = "screening",
2021
+ height: U = "600px",
2022
+ onTranscript: X,
2023
+ onCallEnd: O,
1998
2024
  onError: S,
1999
- onSwitchToText: Y,
2000
- skipContinuityLimit: C
2025
+ onSwitchToText: G,
2026
+ skipContinuityLimit: D
2001
2027
  }) => {
2002
2028
  const H = Z.useRef(null), {
2003
2029
  status: w,
@@ -2008,29 +2034,29 @@ const Gd = ({
2008
2034
  errorMessage: rt,
2009
2035
  start: Tt,
2010
2036
  stop: ct,
2011
- toggleMute: X,
2037
+ toggleMute: Q,
2012
2038
  clearTranscripts: Et
2013
2039
  } = pg({
2014
2040
  publishableKey: f,
2015
2041
  apiKey: h,
2016
2042
  authToken: M,
2017
- contextType: O,
2043
+ contextType: C,
2018
2044
  contextId: g,
2019
2045
  unityBaseUrl: o,
2020
- skipContinuityLimit: C
2046
+ skipContinuityLimit: D
2021
2047
  });
2022
2048
  Z.useEffect(() => {
2023
2049
  H.current?.scrollIntoView({ behavior: "smooth" });
2024
2050
  }, [F]), Z.useEffect(() => {
2025
- if (V && F.length > 0) {
2026
- const _t = F[F.length - 1];
2027
- V(_t.content, _t.role);
2051
+ if (X && F.length > 0) {
2052
+ const Mt = F[F.length - 1];
2053
+ X(Mt.content, Mt.role);
2028
2054
  }
2029
- }, [F, V]), Z.useEffect(() => {
2055
+ }, [F, X]), Z.useEffect(() => {
2030
2056
  w === "error" && rt && S && S(new Error(rt));
2031
2057
  }, [w, rt, S]);
2032
- const Mt = () => {
2033
- switch (O) {
2058
+ const Dt = () => {
2059
+ switch (C) {
2034
2060
  case "screening":
2035
2061
  return "Screening Interview";
2036
2062
  case "recruiter":
@@ -2044,37 +2070,30 @@ const Gd = ({
2044
2070
  }
2045
2071
  }, at = async () => {
2046
2072
  Et(), await Tt();
2047
- }, Gt = () => {
2048
- ct(), D?.();
2073
+ }, Yt = () => {
2074
+ ct(), O?.();
2049
2075
  };
2050
2076
  return /* @__PURE__ */ p.jsxs("div", { style: {
2051
2077
  background: "var(--glyde-background, white)",
2052
2078
  borderRadius: "12px",
2053
2079
  boxShadow: "0 4px 6px rgba(0,0,0,0.1)",
2054
- height: typeof N == "number" ? `${N}px` : N,
2080
+ height: typeof U == "number" ? `${U}px` : U,
2055
2081
  display: "flex",
2056
2082
  flexDirection: "column",
2057
2083
  overflow: "hidden"
2058
2084
  }, children: [
2059
- /* @__PURE__ */ p.jsxs("div", { style: {
2060
- padding: "16px 20px",
2061
- borderBottom: "1px solid var(--glyde-border, #e5e7eb)",
2085
+ /* @__PURE__ */ p.jsx("div", { style: {
2086
+ padding: "10px 20px",
2062
2087
  display: "flex",
2063
2088
  justifyContent: "space-between",
2064
2089
  alignItems: "center"
2090
+ }, children: w === "active" && /* @__PURE__ */ p.jsxs("div", { style: {
2091
+ ...Ot.statusBadge,
2092
+ ...Ot.statusBadgeLive
2065
2093
  }, children: [
2066
- /* @__PURE__ */ p.jsxs("div", { children: [
2067
- /* @__PURE__ */ p.jsx("h2", { style: { margin: 0, fontSize: "1.1rem", fontWeight: 600, color: "var(--glyde-text, #1f2937)" }, children: Mt() }),
2068
- /* @__PURE__ */ p.jsx("small", { style: { color: "var(--glyde-text-secondary, #6b7280)", fontSize: "0.8rem" }, children: M ? "JWT Auth" : f ? "Publishable Key" : "API Key" })
2069
- ] }),
2070
- w === "active" && /* @__PURE__ */ p.jsxs("div", { style: {
2071
- ...Dt.statusBadge,
2072
- ...Dt.statusBadgeLive
2073
- }, children: [
2074
- /* @__PURE__ */ p.jsx(Mg, { size: 14 }),
2075
- " Live"
2076
- ] })
2077
- ] }),
2094
+ /* @__PURE__ */ p.jsx(Mg, { size: 14 }),
2095
+ " Live"
2096
+ ] }) }),
2078
2097
  /* @__PURE__ */ p.jsx("div", { style: { flex: 1, display: "flex", flexDirection: "column", overflow: "hidden" }, children: w === "idle" || w === "error" ? (
2079
2098
  /* Idle State */
2080
2099
  /* @__PURE__ */ p.jsxs("div", { style: {
@@ -2097,36 +2116,36 @@ const Gd = ({
2097
2116
  }, children: /* @__PURE__ */ p.jsx(Ju, { size: 48, color: "var(--glyde-primary, #c026d3)" }) }),
2098
2117
  /* @__PURE__ */ p.jsxs("h3", { style: { marginBottom: "8px", color: "var(--glyde-text, #1f2937)" }, children: [
2099
2118
  "Ready for ",
2100
- Mt(),
2119
+ Dt(),
2101
2120
  "?"
2102
2121
  ] }),
2103
- /* @__PURE__ */ p.jsx("p", { style: {
2104
- color: "var(--glyde-text-secondary, #666)",
2105
- marginBottom: "24px",
2106
- textAlign: "center",
2107
- maxWidth: "280px"
2108
- }, children: O === "screening" ? "The AI recruiter will speak with you. Make sure your microphone is ready." : O === "recruiter" ? "The AI copilot will assist you with recruiting tasks." : "The AI agent will speak with you. Make sure your microphone is ready." }),
2109
2122
  /* @__PURE__ */ p.jsxs(
2110
2123
  "button",
2111
2124
  {
2112
2125
  onClick: at,
2113
2126
  style: {
2114
- ...Dt.primaryButton,
2127
+ ...Ot.primaryButton,
2115
2128
  padding: "14px 36px",
2116
2129
  borderRadius: "30px",
2117
2130
  boxShadow: "0 4px 12px rgba(192, 38, 211, 0.3)"
2118
2131
  },
2119
2132
  children: [
2120
2133
  "Start ",
2121
- O === "screening" ? "Interview" : "Call"
2134
+ C === "screening" ? "Interview" : "Call"
2122
2135
  ]
2123
2136
  }
2124
2137
  ),
2125
2138
  rt && /* @__PURE__ */ p.jsx("p", { style: { color: "var(--glyde-error, #ef4444)", marginTop: "16px", fontSize: "0.9rem" }, children: rt }),
2126
- Y && /* @__PURE__ */ p.jsxs(
2139
+ /* @__PURE__ */ p.jsx("p", { style: {
2140
+ color: "var(--glyde-text-secondary, #666)",
2141
+ marginBottom: "24px",
2142
+ textAlign: "center",
2143
+ maxWidth: "280px"
2144
+ }, children: C === "screening" ? "The AI recruiter will speak with you. Make sure your microphone is ready." : C === "recruiter" ? "The AI copilot will assist you with recruiting tasks." : "The AI agent will speak with you. Make sure your microphone is ready." }),
2145
+ G && /* @__PURE__ */ p.jsxs(
2127
2146
  "button",
2128
2147
  {
2129
- onClick: Y,
2148
+ onClick: G,
2130
2149
  style: {
2131
2150
  marginTop: "20px",
2132
2151
  padding: "8px 16px",
@@ -2163,7 +2182,7 @@ const Gd = ({
2163
2182
  /* @__PURE__ */ p.jsx(Af, { size: 32, color: "var(--glyde-text-muted, #9ca3af)" }),
2164
2183
  /* @__PURE__ */ p.jsx("p", { style: { marginTop: "8px" }, children: "Start speaking - the AI will respond" })
2165
2184
  ] }),
2166
- F.map((_t, Oe) => /* @__PURE__ */ p.jsx(jg, { transcript: _t, contextType: O }, Oe)),
2185
+ F.map((Mt, Ce) => /* @__PURE__ */ p.jsx(jg, { transcript: Mt, contextType: C }, Ce)),
2167
2186
  /* @__PURE__ */ p.jsx("div", { ref: H })
2168
2187
  ] }),
2169
2188
  /* @__PURE__ */ p.jsxs("div", { style: {
@@ -2182,9 +2201,9 @@ const Gd = ({
2182
2201
  /* @__PURE__ */ p.jsx(
2183
2202
  "button",
2184
2203
  {
2185
- onClick: X,
2204
+ onClick: Q,
2186
2205
  style: {
2187
- ...Dt.iconButton,
2206
+ ...Ot.iconButton,
2188
2207
  background: pt ? "var(--glyde-error-light, #fecaca)" : "var(--glyde-secondary-light, #e0f2fe)"
2189
2208
  },
2190
2209
  title: pt ? "Unmute" : "Mute",
@@ -2194,8 +2213,8 @@ const Gd = ({
2194
2213
  /* @__PURE__ */ p.jsxs(
2195
2214
  "button",
2196
2215
  {
2197
- onClick: Gt,
2198
- style: Dt.dangerButton,
2216
+ onClick: Yt,
2217
+ style: Ot.dangerButton,
2199
2218
  children: [
2200
2219
  /* @__PURE__ */ p.jsx(Ag, { size: 18, color: "white" }),
2201
2220
  " End Call"
@@ -2234,8 +2253,8 @@ const Gd = ({
2234
2253
  display: "flex",
2235
2254
  justifyContent: h ? "flex-end" : "flex-start"
2236
2255
  }, children: /* @__PURE__ */ p.jsxs("div", { style: {
2237
- ...Dt.messageBubble,
2238
- ...h ? Dt.messageBubbleUser : Dt.messageBubbleAgent
2256
+ ...Ot.messageBubble,
2257
+ ...h ? Ot.messageBubbleUser : Ot.messageBubbleAgent
2239
2258
  }, children: [
2240
2259
  /* @__PURE__ */ p.jsx("div", { style: { fontSize: "0.75rem", opacity: 0.7, marginBottom: "4px" }, children: h ? "You" : f === "recruiter" ? "AI Copilot" : "AI Recruiter" }),
2241
2260
  g.content
@@ -2249,22 +2268,22 @@ const Gd = ({
2249
2268
  gap: "20px"
2250
2269
  }, children: [
2251
2270
  /* @__PURE__ */ p.jsxs("div", { style: {
2252
- ...Dt.speakingIndicator,
2271
+ ...Ot.speakingIndicator,
2253
2272
  color: g ? "var(--glyde-primary, #c026d3)" : "var(--glyde-text-muted, #9ca3af)"
2254
2273
  }, children: [
2255
2274
  /* @__PURE__ */ p.jsx("div", { style: {
2256
- ...Dt.speakingDot,
2275
+ ...Ot.speakingDot,
2257
2276
  background: g ? "var(--glyde-primary, #c026d3)" : "var(--glyde-border, #d1d5db)",
2258
2277
  animation: g ? "glyde-pulse 1s infinite" : "none"
2259
2278
  } }),
2260
2279
  "You"
2261
2280
  ] }),
2262
2281
  /* @__PURE__ */ p.jsxs("div", { style: {
2263
- ...Dt.speakingIndicator,
2282
+ ...Ot.speakingIndicator,
2264
2283
  color: f ? "var(--glyde-success, #059669)" : "var(--glyde-text-muted, #9ca3af)"
2265
2284
  }, children: [
2266
2285
  /* @__PURE__ */ p.jsx("div", { style: {
2267
- ...Dt.speakingDot,
2286
+ ...Ot.speakingDot,
2268
2287
  background: f ? "var(--glyde-success, #059669)" : "var(--glyde-border, #d1d5db)",
2269
2288
  animation: f ? "glyde-pulse 1s infinite" : "none"
2270
2289
  } }),
@@ -2276,14 +2295,14 @@ const Gd = ({
2276
2295
  apiKey: h,
2277
2296
  authToken: M,
2278
2297
  unityApiUrl: o = "https://api.glydeunity.com",
2279
- height: O = "600px",
2280
- title: N = "AI Chat",
2281
- placeholder: V = "Type your message...",
2282
- autoInit: D = !0,
2298
+ height: C = "600px",
2299
+ title: U = "AI Chat",
2300
+ placeholder: X = "Type your message...",
2301
+ autoInit: O = !0,
2283
2302
  onMessage: S,
2284
- onError: Y
2303
+ onError: G
2285
2304
  }) => {
2286
- const [C, H] = Z.useState(""), w = Z.useRef(null), {
2305
+ const [D, H] = Z.useState(""), w = Z.useRef(null), {
2287
2306
  status: F,
2288
2307
  messages: I,
2289
2308
  isLoading: $,
@@ -2295,25 +2314,25 @@ const Gd = ({
2295
2314
  authToken: M,
2296
2315
  contextId: g,
2297
2316
  unityBaseUrl: o,
2298
- autoInit: D
2317
+ autoInit: O
2299
2318
  });
2300
2319
  Z.useEffect(() => {
2301
2320
  w.current?.scrollIntoView({ behavior: "smooth" });
2302
2321
  }, [I]), Z.useEffect(() => {
2303
- F === "error" && pt && Y && Y(new Error(pt));
2304
- }, [F, pt, Y]);
2322
+ F === "error" && pt && G && G(new Error(pt));
2323
+ }, [F, pt, G]);
2305
2324
  const Tt = async () => {
2306
- if (!C.trim() || $) return;
2307
- const X = C.trim();
2308
- H(""), await rt(X), S && S({ role: "user", content: X });
2309
- }, ct = (X) => {
2310
- X.key === "Enter" && !X.shiftKey && (X.preventDefault(), Tt());
2325
+ if (!D.trim() || $) return;
2326
+ const Q = D.trim();
2327
+ H(""), await rt(Q), S && S({ role: "user", content: Q });
2328
+ }, ct = (Q) => {
2329
+ Q.key === "Enter" && !Q.shiftKey && (Q.preventDefault(), Tt());
2311
2330
  };
2312
2331
  return /* @__PURE__ */ p.jsxs("div", { style: {
2313
2332
  background: "var(--glyde-background, white)",
2314
2333
  borderRadius: "12px",
2315
2334
  boxShadow: "0 4px 6px rgba(0,0,0,0.1)",
2316
- height: typeof O == "number" ? `${O}px` : O,
2335
+ height: typeof C == "number" ? `${C}px` : C,
2317
2336
  display: "flex",
2318
2337
  flexDirection: "column",
2319
2338
  overflow: "hidden"
@@ -2325,7 +2344,7 @@ const Gd = ({
2325
2344
  color: "white",
2326
2345
  borderTopLeftRadius: "12px",
2327
2346
  borderTopRightRadius: "12px"
2328
- }, children: /* @__PURE__ */ p.jsx("h2", { style: { margin: 0, fontSize: "1.1rem", fontWeight: 600 }, children: N }) }),
2347
+ }, children: /* @__PURE__ */ p.jsx("h2", { style: { margin: 0, fontSize: "1.1rem", fontWeight: 600 }, children: U }) }),
2329
2348
  /* @__PURE__ */ p.jsxs("div", { style: {
2330
2349
  flex: 1,
2331
2350
  overflowY: "auto",
@@ -2339,7 +2358,7 @@ const Gd = ({
2339
2358
  /* @__PURE__ */ p.jsx("div", { className: "glyde-spinner", style: { margin: "0 auto 12px" } }),
2340
2359
  "Loading conversation..."
2341
2360
  ] }),
2342
- I.map((X, Et) => /* @__PURE__ */ p.jsx(Ng, { message: X }, Et)),
2361
+ I.map((Q, Et) => /* @__PURE__ */ p.jsx(Ng, { message: Q }, Et)),
2343
2362
  $ && /* @__PURE__ */ p.jsx("div", { style: { color: "var(--glyde-text-muted, #94a3b8)", fontSize: "0.9rem", marginLeft: "42px" }, children: /* @__PURE__ */ p.jsx(Hg, {}) }),
2344
2363
  /* @__PURE__ */ p.jsx("div", { ref: w })
2345
2364
  ] }),
@@ -2354,12 +2373,12 @@ const Gd = ({
2354
2373
  "input",
2355
2374
  {
2356
2375
  type: "text",
2357
- value: C,
2358
- onChange: (X) => H(X.target.value),
2376
+ value: D,
2377
+ onChange: (Q) => H(Q.target.value),
2359
2378
  onKeyDown: ct,
2360
- placeholder: V,
2379
+ placeholder: X,
2361
2380
  style: {
2362
- ...Dt.inputField,
2381
+ ...Ot.inputField,
2363
2382
  flex: 1
2364
2383
  },
2365
2384
  disabled: $
@@ -2369,14 +2388,14 @@ const Gd = ({
2369
2388
  "button",
2370
2389
  {
2371
2390
  onClick: Tt,
2372
- disabled: $ || !C.trim(),
2391
+ disabled: $ || !D.trim(),
2373
2392
  style: {
2374
- ...Dt.iconButton,
2393
+ ...Ot.iconButton,
2375
2394
  background: "var(--glyde-secondary, #0284c7)",
2376
2395
  width: "48px",
2377
2396
  height: "48px",
2378
- opacity: $ || !C.trim() ? 0.5 : 1,
2379
- cursor: $ || !C.trim() ? "not-allowed" : "pointer"
2397
+ opacity: $ || !D.trim() ? 0.5 : 1,
2398
+ cursor: $ || !D.trim() ? "not-allowed" : "pointer"
2380
2399
  },
2381
2400
  children: /* @__PURE__ */ p.jsx(Tg, { size: 20, color: "white" })
2382
2401
  }
@@ -2459,13 +2478,13 @@ const Gd = ({
2459
2478
  authToken: h,
2460
2479
  contextId: M,
2461
2480
  unityBaseUrl: o = "https://api.glydeunity.com",
2462
- contextType: O = "screening",
2463
- defaultMode: N = "voice",
2464
- position: V = "bottom-right",
2465
- theme: D = "light",
2481
+ contextType: C = "screening",
2482
+ defaultMode: U = "voice",
2483
+ position: X = "bottom-right",
2484
+ theme: O = "light",
2466
2485
  allowModeSwitch: S = !0,
2467
- container: Y,
2468
- displayMode: C = "floating",
2486
+ container: G,
2487
+ displayMode: D = "floating",
2469
2488
  dimensions: H,
2470
2489
  showHeader: w = !0,
2471
2490
  allowClose: F = !0,
@@ -2475,34 +2494,34 @@ const Gd = ({
2475
2494
  onError: rt,
2476
2495
  onClose: Tt,
2477
2496
  initialExpanded: ct = !1,
2478
- skipContinuityLimit: X
2497
+ skipContinuityLimit: Q
2479
2498
  }) => {
2480
2499
  console.log("[ChatWidget] Received unityBaseUrl:", o);
2481
- const [Et, Mt] = Z.useState(
2482
- C === "floating" ? ct : !0
2483
- ), [at, Gt] = Z.useState(!0), [_t, Oe] = Z.useState(N || "voice");
2500
+ const [Et, Dt] = Z.useState(
2501
+ D === "floating" ? ct : !0
2502
+ ), [at, Yt] = Z.useState(!0), [Mt, Ce] = Z.useState(U || "voice");
2484
2503
  Z.useEffect(() => {
2485
- const K = D === "auto" ? window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : D;
2504
+ const K = O === "auto" ? window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : O;
2486
2505
  ku(K);
2487
- }, [D]), Z.useEffect(() => {
2506
+ }, [O]), Z.useEffect(() => {
2488
2507
  I?.();
2489
2508
  }, [I]);
2490
- const Wt = Ug(V), Qt = (K) => {
2491
- Oe(K), $?.(K);
2509
+ const Wt = Ug(X), Qt = (K) => {
2510
+ Ce(K), $?.(K);
2492
2511
  }, ve = (K, bt) => {
2493
2512
  pt?.(K, bt);
2494
2513
  }, wt = (K) => {
2495
2514
  rt?.(K);
2496
- }, U = () => {
2497
- C === "floating" ? Mt(!1) : (Gt(!1), Tt?.());
2515
+ }, j = () => {
2516
+ D === "floating" ? Dt(!1) : (Yt(!1), Tt?.());
2498
2517
  }, _ = {
2499
- ...Bg[C],
2518
+ ...Bg[D],
2500
2519
  ...H
2501
- }, j = (K) => {
2520
+ }, R = (K) => {
2502
2521
  if (K !== void 0)
2503
2522
  return typeof K == "number" ? `${K}px` : K;
2504
2523
  };
2505
- return at ? Y ? /* @__PURE__ */ p.jsx(
2524
+ return at ? G ? /* @__PURE__ */ p.jsx(
2506
2525
  Wu,
2507
2526
  {
2508
2527
  publishableKey: g,
@@ -2510,8 +2529,8 @@ const Gd = ({
2510
2529
  authToken: h,
2511
2530
  contextId: M,
2512
2531
  unityBaseUrl: o,
2513
- contextType: O,
2514
- mode: _t,
2532
+ contextType: C,
2533
+ mode: Mt,
2515
2534
  allowModeSwitch: S,
2516
2535
  showHeader: w,
2517
2536
  allowClose: F,
@@ -2519,10 +2538,10 @@ const Gd = ({
2519
2538
  onModeChange: Qt,
2520
2539
  onTranscript: ve,
2521
2540
  onError: wt,
2522
- onClose: U,
2523
- skipContinuityLimit: X
2541
+ onClose: j,
2542
+ skipContinuityLimit: Q
2524
2543
  }
2525
- ) : C === "modal" ? /* @__PURE__ */ p.jsx(
2544
+ ) : D === "modal" ? /* @__PURE__ */ p.jsx(
2526
2545
  qg,
2527
2546
  {
2528
2547
  publishableKey: g,
@@ -2530,8 +2549,8 @@ const Gd = ({
2530
2549
  authToken: h,
2531
2550
  contextId: M,
2532
2551
  unityBaseUrl: o,
2533
- contextType: O,
2534
- mode: _t,
2552
+ contextType: C,
2553
+ mode: Mt,
2535
2554
  allowModeSwitch: S,
2536
2555
  showHeader: w,
2537
2556
  allowClose: F,
@@ -2539,19 +2558,19 @@ const Gd = ({
2539
2558
  onModeChange: Qt,
2540
2559
  onTranscript: ve,
2541
2560
  onError: wt,
2542
- onClose: U,
2543
- skipContinuityLimit: X
2561
+ onClose: j,
2562
+ skipContinuityLimit: Q
2544
2563
  }
2545
- ) : C === "mobile" ? /* @__PURE__ */ p.jsx(
2546
- Yg,
2564
+ ) : D === "mobile" ? /* @__PURE__ */ p.jsx(
2565
+ Gg,
2547
2566
  {
2548
2567
  publishableKey: g,
2549
2568
  apiKey: f,
2550
2569
  authToken: h,
2551
2570
  contextId: M,
2552
2571
  unityBaseUrl: o,
2553
- contextType: O,
2554
- mode: _t,
2572
+ contextType: C,
2573
+ mode: Mt,
2555
2574
  allowModeSwitch: S,
2556
2575
  showHeader: w,
2557
2576
  allowClose: F,
@@ -2559,18 +2578,18 @@ const Gd = ({
2559
2578
  onModeChange: Qt,
2560
2579
  onTranscript: ve,
2561
2580
  onError: wt,
2562
- onClose: U,
2563
- skipContinuityLimit: X
2581
+ onClose: j,
2582
+ skipContinuityLimit: Q
2564
2583
  }
2565
- ) : C === "inline" ? /* @__PURE__ */ p.jsx(
2584
+ ) : D === "inline" ? /* @__PURE__ */ p.jsx(
2566
2585
  "div",
2567
2586
  {
2568
2587
  className: "glyde-widget-root",
2569
2588
  style: {
2570
- width: j(_.width),
2571
- height: j(_.height),
2572
- maxWidth: j(_.maxWidth),
2573
- maxHeight: j(_.maxHeight),
2589
+ width: R(_.width),
2590
+ height: R(_.height),
2591
+ maxWidth: R(_.maxWidth),
2592
+ maxHeight: R(_.maxHeight),
2574
2593
  minHeight: "500px"
2575
2594
  // Ensure enough height for voice controls
2576
2595
  },
@@ -2582,8 +2601,8 @@ const Gd = ({
2582
2601
  authToken: h,
2583
2602
  contextId: M,
2584
2603
  unityBaseUrl: o,
2585
- contextType: O,
2586
- mode: _t,
2604
+ contextType: C,
2605
+ mode: Mt,
2587
2606
  allowModeSwitch: S,
2588
2607
  showHeader: w,
2589
2608
  allowClose: F,
@@ -2591,8 +2610,8 @@ const Gd = ({
2591
2610
  onModeChange: Qt,
2592
2611
  onTranscript: ve,
2593
2612
  onError: wt,
2594
- onClose: U,
2595
- skipContinuityLimit: X
2613
+ onClose: j,
2614
+ skipContinuityLimit: Q
2596
2615
  }
2597
2616
  )
2598
2617
  }
@@ -2600,9 +2619,9 @@ const Gd = ({
2600
2619
  !Et && /* @__PURE__ */ p.jsx(
2601
2620
  "button",
2602
2621
  {
2603
- onClick: () => Mt(!0),
2622
+ onClick: () => Dt(!0),
2604
2623
  style: {
2605
- ...Dt.floatingButton,
2624
+ ...Ot.floatingButton,
2606
2625
  ...Wt.button,
2607
2626
  background: "linear-gradient(135deg, var(--glyde-primary, #c026d3) 0%, var(--glyde-secondary, #7c3aed) 100%)"
2608
2627
  },
@@ -2614,7 +2633,7 @@ const Gd = ({
2614
2633
  "div",
2615
2634
  {
2616
2635
  style: {
2617
- ...Dt.widgetPanel,
2636
+ ...Ot.widgetPanel,
2618
2637
  ...Wt.panel,
2619
2638
  background: "var(--glyde-background, white)"
2620
2639
  },
@@ -2623,31 +2642,31 @@ const Gd = ({
2623
2642
  /* @__PURE__ */ p.jsx(
2624
2643
  Ld,
2625
2644
  {
2626
- contextType: O,
2645
+ contextType: C,
2627
2646
  showMinimize: !0,
2628
2647
  showClose: !0,
2629
- onMinimize: () => Mt(!1),
2630
- onClose: U
2648
+ onMinimize: () => Dt(!1),
2649
+ onClose: j
2631
2650
  }
2632
2651
  ),
2633
2652
  S && /* @__PURE__ */ p.jsx("div", { style: {
2634
2653
  padding: "12px 16px",
2635
2654
  borderBottom: "1px solid var(--glyde-border, #e5e7eb)"
2636
- }, children: /* @__PURE__ */ p.jsx(Xd, { mode: _t, onModeChange: Qt }) }),
2637
- /* @__PURE__ */ p.jsx("div", { style: { flex: 1, display: "flex", flexDirection: "column", overflow: "hidden" }, children: _t === "voice" ? /* @__PURE__ */ p.jsx(
2638
- Gd,
2655
+ }, children: /* @__PURE__ */ p.jsx(Xd, { mode: Mt, onModeChange: Qt }) }),
2656
+ /* @__PURE__ */ p.jsx("div", { style: { flex: 1, display: "flex", flexDirection: "column", overflow: "hidden" }, children: Mt === "voice" ? /* @__PURE__ */ p.jsx(
2657
+ Yd,
2639
2658
  {
2640
2659
  publishableKey: g,
2641
2660
  apiKey: f,
2642
2661
  authToken: h,
2643
2662
  contextId: M || "",
2644
2663
  unityApiUrl: o,
2645
- contextType: O,
2664
+ contextType: C,
2646
2665
  height: "100%",
2647
2666
  onTranscript: ve,
2648
2667
  onError: wt,
2649
2668
  onSwitchToText: S ? () => Qt("text") : void 0,
2650
- skipContinuityLimit: X
2669
+ skipContinuityLimit: Q
2651
2670
  }
2652
2671
  ) : /* @__PURE__ */ p.jsx(
2653
2672
  wd,
@@ -2667,7 +2686,7 @@ const Gd = ({
2667
2686
  )
2668
2687
  ] }) : null;
2669
2688
  }, Ld = ({ contextType: g, showMinimize: f, showClose: h, onMinimize: M, onClose: o }) => /* @__PURE__ */ p.jsxs("div", { style: {
2670
- ...Dt.header,
2689
+ ...Ot.header,
2671
2690
  background: "linear-gradient(135deg, var(--glyde-primary, #c026d3) 0%, var(--glyde-secondary, #7c3aed) 100%)",
2672
2691
  color: "white",
2673
2692
  borderTopLeftRadius: "16px",
@@ -2683,13 +2702,13 @@ const Gd = ({
2683
2702
  {
2684
2703
  onClick: M,
2685
2704
  style: {
2686
- ...Dt.iconButton,
2705
+ ...Ot.iconButton,
2687
2706
  background: "rgba(255,255,255,0.2)",
2688
2707
  width: "32px",
2689
2708
  height: "32px"
2690
2709
  },
2691
2710
  "aria-label": "Minimize",
2692
- children: /* @__PURE__ */ p.jsx(Cg, { size: 16, color: "white" })
2711
+ children: /* @__PURE__ */ p.jsx(Og, { size: 16, color: "white" })
2693
2712
  }
2694
2713
  ),
2695
2714
  h && o && /* @__PURE__ */ p.jsx(
@@ -2697,23 +2716,23 @@ const Gd = ({
2697
2716
  {
2698
2717
  onClick: o,
2699
2718
  style: {
2700
- ...Dt.iconButton,
2719
+ ...Ot.iconButton,
2701
2720
  background: "rgba(255,255,255,0.2)",
2702
2721
  width: "32px",
2703
2722
  height: "32px"
2704
2723
  },
2705
2724
  "aria-label": "Close",
2706
- children: /* @__PURE__ */ p.jsx(Og, { size: 16, color: "white" })
2725
+ children: /* @__PURE__ */ p.jsx(Cg, { size: 16, color: "white" })
2707
2726
  }
2708
2727
  )
2709
2728
  ] })
2710
- ] }), Xd = ({ mode: g, onModeChange: f }) => /* @__PURE__ */ p.jsxs("div", { style: Dt.modeSelector, children: [
2729
+ ] }), Xd = ({ mode: g, onModeChange: f }) => /* @__PURE__ */ p.jsxs("div", { style: Ot.modeSelector, children: [
2711
2730
  /* @__PURE__ */ p.jsxs(
2712
2731
  "button",
2713
2732
  {
2714
2733
  onClick: () => f("voice"),
2715
2734
  style: {
2716
- ...Dt.modeSelectorButton,
2735
+ ...Ot.modeSelectorButton,
2717
2736
  background: g === "voice" ? "var(--glyde-primary, #c026d3)" : "transparent",
2718
2737
  color: g === "voice" ? "white" : "var(--glyde-text, #1f2937)"
2719
2738
  },
@@ -2728,7 +2747,7 @@ const Gd = ({
2728
2747
  {
2729
2748
  onClick: () => f("text"),
2730
2749
  style: {
2731
- ...Dt.modeSelectorButton,
2750
+ ...Ot.modeSelectorButton,
2732
2751
  background: g === "text" ? "var(--glyde-secondary, #0284c7)" : "transparent",
2733
2752
  color: g === "text" ? "white" : "var(--glyde-text, #1f2937)"
2734
2753
  },
@@ -2744,24 +2763,24 @@ const Gd = ({
2744
2763
  authToken: h,
2745
2764
  contextId: M,
2746
2765
  unityBaseUrl: o,
2747
- contextType: O,
2748
- mode: N,
2749
- allowModeSwitch: V,
2750
- showHeader: D = !0,
2766
+ contextType: C,
2767
+ mode: U,
2768
+ allowModeSwitch: X,
2769
+ showHeader: O = !0,
2751
2770
  allowClose: S = !0,
2752
- dimensions: Y,
2753
- onModeChange: C,
2771
+ dimensions: G,
2772
+ onModeChange: D,
2754
2773
  onTranscript: H,
2755
2774
  onError: w,
2756
2775
  onClose: F,
2757
2776
  skipContinuityLimit: I
2758
2777
  }) => {
2759
- const [$, pt] = Z.useState(N);
2778
+ const [$, pt] = Z.useState(U);
2760
2779
  Z.useEffect(() => {
2761
- pt(N);
2762
- }, [N]);
2780
+ pt(U);
2781
+ }, [U]);
2763
2782
  const rt = (ct) => {
2764
- pt(ct), C(ct);
2783
+ pt(ct), D(ct);
2765
2784
  }, Tt = (ct) => {
2766
2785
  if (ct !== void 0)
2767
2786
  return typeof ct == "number" ? `${ct}px` : ct;
@@ -2771,10 +2790,10 @@ const Gd = ({
2771
2790
  {
2772
2791
  className: "glyde-widget-root",
2773
2792
  style: {
2774
- height: Tt(Y?.height) || "100%",
2775
- width: Tt(Y?.width) || "100%",
2776
- maxWidth: Tt(Y?.maxWidth),
2777
- maxHeight: Tt(Y?.maxHeight),
2793
+ height: Tt(G?.height) || "100%",
2794
+ width: Tt(G?.width) || "100%",
2795
+ maxWidth: Tt(G?.maxWidth),
2796
+ maxHeight: Tt(G?.maxHeight),
2778
2797
  minHeight: "500px",
2779
2798
  // Ensure voice controls are visible
2780
2799
  display: "flex",
@@ -2786,32 +2805,32 @@ const Gd = ({
2786
2805
  background: "var(--glyde-background, white)"
2787
2806
  },
2788
2807
  children: [
2789
- D && /* @__PURE__ */ p.jsx(
2808
+ O && /* @__PURE__ */ p.jsx(
2790
2809
  Ld,
2791
2810
  {
2792
- contextType: O,
2811
+ contextType: C,
2793
2812
  showMinimize: !1,
2794
2813
  showClose: S,
2795
2814
  onClose: F
2796
2815
  }
2797
2816
  ),
2798
- V && /* @__PURE__ */ p.jsx("div", { style: {
2817
+ X && /* @__PURE__ */ p.jsx("div", { style: {
2799
2818
  padding: "12px 16px",
2800
2819
  borderBottom: "1px solid var(--glyde-border, #e5e7eb)",
2801
2820
  background: "var(--glyde-background, white)"
2802
2821
  }, children: /* @__PURE__ */ p.jsx(Xd, { mode: $, onModeChange: rt }) }),
2803
2822
  /* @__PURE__ */ p.jsx("div", { style: { flex: 1, overflow: "hidden", display: "flex", flexDirection: "column" }, children: $ === "voice" ? /* @__PURE__ */ p.jsx(
2804
- Gd,
2823
+ Yd,
2805
2824
  {
2806
2825
  publishableKey: g,
2807
2826
  apiKey: f,
2808
2827
  authToken: h,
2809
2828
  contextId: M || "",
2810
2829
  unityApiUrl: o,
2811
- contextType: O,
2830
+ contextType: C,
2812
2831
  height: "100%",
2813
2832
  onTranscript: H,
2814
- onSwitchToText: V ? () => rt("text") : void 0,
2833
+ onSwitchToText: X ? () => rt("text") : void 0,
2815
2834
  onError: w,
2816
2835
  skipContinuityLimit: I
2817
2836
  }
@@ -2832,17 +2851,17 @@ const Gd = ({
2832
2851
  }
2833
2852
  );
2834
2853
  }, qg = (g) => {
2835
- const { dimensions: f, onClose: h } = g, M = (O) => {
2836
- if (O !== void 0)
2837
- return typeof O == "number" ? `${O}px` : O;
2838
- }, o = (O) => {
2839
- O.target === O.currentTarget && g.allowClose && h?.();
2854
+ const { dimensions: f, onClose: h } = g, M = (C) => {
2855
+ if (C !== void 0)
2856
+ return typeof C == "number" ? `${C}px` : C;
2857
+ }, o = (C) => {
2858
+ C.target === C.currentTarget && g.allowClose && h?.();
2840
2859
  };
2841
2860
  return Z.useEffect(() => {
2842
- const O = (N) => {
2843
- N.key === "Escape" && g.allowClose && h?.();
2861
+ const C = (U) => {
2862
+ U.key === "Escape" && g.allowClose && h?.();
2844
2863
  };
2845
- return window.addEventListener("keydown", O), () => window.removeEventListener("keydown", O);
2864
+ return window.addEventListener("keydown", C), () => window.removeEventListener("keydown", C);
2846
2865
  }, [h, g.allowClose]), /* @__PURE__ */ p.jsx(
2847
2866
  "div",
2848
2867
  {
@@ -2876,7 +2895,7 @@ const Gd = ({
2876
2895
  )
2877
2896
  }
2878
2897
  );
2879
- }, Yg = (g) => {
2898
+ }, Gg = (g) => {
2880
2899
  const { onClose: f, dimensions: h } = g, M = {
2881
2900
  ...h,
2882
2901
  width: "100%",
@@ -2885,121 +2904,121 @@ const Gd = ({
2885
2904
  maxHeight: "100%"
2886
2905
  };
2887
2906
  return Z.useEffect(() => {
2888
- const o = (O) => {
2889
- O.key === "Escape" && g.allowClose && f?.();
2907
+ const o = (C) => {
2908
+ C.key === "Escape" && g.allowClose && f?.();
2890
2909
  };
2891
2910
  return window.addEventListener("keydown", o), () => window.removeEventListener("keydown", o);
2892
2911
  }, [f, g.allowClose]), /* @__PURE__ */ p.jsx("div", { className: "glyde-mobile-viewport", children: /* @__PURE__ */ p.jsx(Wu, { ...g, dimensions: M }) });
2893
2912
  };
2894
2913
  var pf = { exports: {} }, Mn = {}, bf = { exports: {} }, Sf = {};
2895
2914
  var Dd;
2896
- function Gg() {
2915
+ function Yg() {
2897
2916
  return Dd || (Dd = 1, (function(g) {
2898
- function f(U, _) {
2899
- var j = U.length;
2900
- U.push(_);
2901
- t: for (; 0 < j; ) {
2902
- var K = j - 1 >>> 1, bt = U[K];
2917
+ function f(j, _) {
2918
+ var R = j.length;
2919
+ j.push(_);
2920
+ t: for (; 0 < R; ) {
2921
+ var K = R - 1 >>> 1, bt = j[K];
2903
2922
  if (0 < o(bt, _))
2904
- U[K] = _, U[j] = bt, j = K;
2923
+ j[K] = _, j[R] = bt, R = K;
2905
2924
  else break t;
2906
2925
  }
2907
2926
  }
2908
- function h(U) {
2909
- return U.length === 0 ? null : U[0];
2910
- }
2911
- function M(U) {
2912
- if (U.length === 0) return null;
2913
- var _ = U[0], j = U.pop();
2914
- if (j !== _) {
2915
- U[0] = j;
2916
- t: for (var K = 0, bt = U.length, ie = bt >>> 1; K < ie; ) {
2917
- var d = 2 * (K + 1) - 1, E = U[d], R = d + 1, G = U[R];
2918
- if (0 > o(E, j))
2919
- R < bt && 0 > o(G, E) ? (U[K] = G, U[R] = j, K = R) : (U[K] = E, U[d] = j, K = d);
2920
- else if (R < bt && 0 > o(G, j))
2921
- U[K] = G, U[R] = j, K = R;
2927
+ function h(j) {
2928
+ return j.length === 0 ? null : j[0];
2929
+ }
2930
+ function M(j) {
2931
+ if (j.length === 0) return null;
2932
+ var _ = j[0], R = j.pop();
2933
+ if (R !== _) {
2934
+ j[0] = R;
2935
+ t: for (var K = 0, bt = j.length, ie = bt >>> 1; K < ie; ) {
2936
+ var d = 2 * (K + 1) - 1, E = j[d], N = d + 1, Y = j[N];
2937
+ if (0 > o(E, R))
2938
+ N < bt && 0 > o(Y, E) ? (j[K] = Y, j[N] = R, K = N) : (j[K] = E, j[d] = R, K = d);
2939
+ else if (N < bt && 0 > o(Y, R))
2940
+ j[K] = Y, j[N] = R, K = N;
2922
2941
  else break t;
2923
2942
  }
2924
2943
  }
2925
2944
  return _;
2926
2945
  }
2927
- function o(U, _) {
2928
- var j = U.sortIndex - _.sortIndex;
2929
- return j !== 0 ? j : U.id - _.id;
2946
+ function o(j, _) {
2947
+ var R = j.sortIndex - _.sortIndex;
2948
+ return R !== 0 ? R : j.id - _.id;
2930
2949
  }
2931
2950
  if (g.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
2932
- var O = performance;
2951
+ var C = performance;
2933
2952
  g.unstable_now = function() {
2934
- return O.now();
2953
+ return C.now();
2935
2954
  };
2936
2955
  } else {
2937
- var N = Date, V = N.now();
2956
+ var U = Date, X = U.now();
2938
2957
  g.unstable_now = function() {
2939
- return N.now() - V;
2958
+ return U.now() - X;
2940
2959
  };
2941
2960
  }
2942
- var D = [], S = [], Y = 1, C = null, H = 3, w = !1, F = !1, I = !1, $ = !1, pt = typeof setTimeout == "function" ? setTimeout : null, rt = typeof clearTimeout == "function" ? clearTimeout : null, Tt = typeof setImmediate < "u" ? setImmediate : null;
2943
- function ct(U) {
2961
+ var O = [], S = [], G = 1, D = null, H = 3, w = !1, F = !1, I = !1, $ = !1, pt = typeof setTimeout == "function" ? setTimeout : null, rt = typeof clearTimeout == "function" ? clearTimeout : null, Tt = typeof setImmediate < "u" ? setImmediate : null;
2962
+ function ct(j) {
2944
2963
  for (var _ = h(S); _ !== null; ) {
2945
2964
  if (_.callback === null) M(S);
2946
- else if (_.startTime <= U)
2947
- M(S), _.sortIndex = _.expirationTime, f(D, _);
2965
+ else if (_.startTime <= j)
2966
+ M(S), _.sortIndex = _.expirationTime, f(O, _);
2948
2967
  else break;
2949
2968
  _ = h(S);
2950
2969
  }
2951
2970
  }
2952
- function X(U) {
2953
- if (I = !1, ct(U), !F)
2954
- if (h(D) !== null)
2971
+ function Q(j) {
2972
+ if (I = !1, ct(j), !F)
2973
+ if (h(O) !== null)
2955
2974
  F = !0, Et || (Et = !0, Wt());
2956
2975
  else {
2957
2976
  var _ = h(S);
2958
- _ !== null && wt(X, _.startTime - U);
2977
+ _ !== null && wt(Q, _.startTime - j);
2959
2978
  }
2960
2979
  }
2961
- var Et = !1, Mt = -1, at = 5, Gt = -1;
2962
- function _t() {
2963
- return $ ? !0 : !(g.unstable_now() - Gt < at);
2980
+ var Et = !1, Dt = -1, at = 5, Yt = -1;
2981
+ function Mt() {
2982
+ return $ ? !0 : !(g.unstable_now() - Yt < at);
2964
2983
  }
2965
- function Oe() {
2984
+ function Ce() {
2966
2985
  if ($ = !1, Et) {
2967
- var U = g.unstable_now();
2968
- Gt = U;
2986
+ var j = g.unstable_now();
2987
+ Yt = j;
2969
2988
  var _ = !0;
2970
2989
  try {
2971
2990
  t: {
2972
- F = !1, I && (I = !1, rt(Mt), Mt = -1), w = !0;
2973
- var j = H;
2991
+ F = !1, I && (I = !1, rt(Dt), Dt = -1), w = !0;
2992
+ var R = H;
2974
2993
  try {
2975
2994
  e: {
2976
- for (ct(U), C = h(D); C !== null && !(C.expirationTime > U && _t()); ) {
2977
- var K = C.callback;
2995
+ for (ct(j), D = h(O); D !== null && !(D.expirationTime > j && Mt()); ) {
2996
+ var K = D.callback;
2978
2997
  if (typeof K == "function") {
2979
- C.callback = null, H = C.priorityLevel;
2998
+ D.callback = null, H = D.priorityLevel;
2980
2999
  var bt = K(
2981
- C.expirationTime <= U
3000
+ D.expirationTime <= j
2982
3001
  );
2983
- if (U = g.unstable_now(), typeof bt == "function") {
2984
- C.callback = bt, ct(U), _ = !0;
3002
+ if (j = g.unstable_now(), typeof bt == "function") {
3003
+ D.callback = bt, ct(j), _ = !0;
2985
3004
  break e;
2986
3005
  }
2987
- C === h(D) && M(D), ct(U);
2988
- } else M(D);
2989
- C = h(D);
3006
+ D === h(O) && M(O), ct(j);
3007
+ } else M(O);
3008
+ D = h(O);
2990
3009
  }
2991
- if (C !== null) _ = !0;
3010
+ if (D !== null) _ = !0;
2992
3011
  else {
2993
3012
  var ie = h(S);
2994
3013
  ie !== null && wt(
2995
- X,
2996
- ie.startTime - U
3014
+ Q,
3015
+ ie.startTime - j
2997
3016
  ), _ = !1;
2998
3017
  }
2999
3018
  }
3000
3019
  break t;
3001
3020
  } finally {
3002
- C = null, H = j, w = !1;
3021
+ D = null, H = R, w = !1;
3003
3022
  }
3004
3023
  _ = void 0;
3005
3024
  }
@@ -3011,31 +3030,31 @@ function Gg() {
3011
3030
  var Wt;
3012
3031
  if (typeof Tt == "function")
3013
3032
  Wt = function() {
3014
- Tt(Oe);
3033
+ Tt(Ce);
3015
3034
  };
3016
3035
  else if (typeof MessageChannel < "u") {
3017
3036
  var Qt = new MessageChannel(), ve = Qt.port2;
3018
- Qt.port1.onmessage = Oe, Wt = function() {
3037
+ Qt.port1.onmessage = Ce, Wt = function() {
3019
3038
  ve.postMessage(null);
3020
3039
  };
3021
3040
  } else
3022
3041
  Wt = function() {
3023
- pt(Oe, 0);
3042
+ pt(Ce, 0);
3024
3043
  };
3025
- function wt(U, _) {
3026
- Mt = pt(function() {
3027
- U(g.unstable_now());
3044
+ function wt(j, _) {
3045
+ Dt = pt(function() {
3046
+ j(g.unstable_now());
3028
3047
  }, _);
3029
3048
  }
3030
- g.unstable_IdlePriority = 5, g.unstable_ImmediatePriority = 1, g.unstable_LowPriority = 4, g.unstable_NormalPriority = 3, g.unstable_Profiling = null, g.unstable_UserBlockingPriority = 2, g.unstable_cancelCallback = function(U) {
3031
- U.callback = null;
3032
- }, g.unstable_forceFrameRate = function(U) {
3033
- 0 > U || 125 < U ? console.error(
3049
+ g.unstable_IdlePriority = 5, g.unstable_ImmediatePriority = 1, g.unstable_LowPriority = 4, g.unstable_NormalPriority = 3, g.unstable_Profiling = null, g.unstable_UserBlockingPriority = 2, g.unstable_cancelCallback = function(j) {
3050
+ j.callback = null;
3051
+ }, g.unstable_forceFrameRate = function(j) {
3052
+ 0 > j || 125 < j ? console.error(
3034
3053
  "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
3035
- ) : at = 0 < U ? Math.floor(1e3 / U) : 5;
3054
+ ) : at = 0 < j ? Math.floor(1e3 / j) : 5;
3036
3055
  }, g.unstable_getCurrentPriorityLevel = function() {
3037
3056
  return H;
3038
- }, g.unstable_next = function(U) {
3057
+ }, g.unstable_next = function(j) {
3039
3058
  switch (H) {
3040
3059
  case 1:
3041
3060
  case 2:
@@ -3045,17 +3064,17 @@ function Gg() {
3045
3064
  default:
3046
3065
  _ = H;
3047
3066
  }
3048
- var j = H;
3067
+ var R = H;
3049
3068
  H = _;
3050
3069
  try {
3051
- return U();
3070
+ return j();
3052
3071
  } finally {
3053
- H = j;
3072
+ H = R;
3054
3073
  }
3055
3074
  }, g.unstable_requestPaint = function() {
3056
3075
  $ = !0;
3057
- }, g.unstable_runWithPriority = function(U, _) {
3058
- switch (U) {
3076
+ }, g.unstable_runWithPriority = function(j, _) {
3077
+ switch (j) {
3059
3078
  case 1:
3060
3079
  case 2:
3061
3080
  case 3:
@@ -3063,18 +3082,18 @@ function Gg() {
3063
3082
  case 5:
3064
3083
  break;
3065
3084
  default:
3066
- U = 3;
3085
+ j = 3;
3067
3086
  }
3068
- var j = H;
3069
- H = U;
3087
+ var R = H;
3088
+ H = j;
3070
3089
  try {
3071
3090
  return _();
3072
3091
  } finally {
3073
- H = j;
3092
+ H = R;
3074
3093
  }
3075
- }, g.unstable_scheduleCallback = function(U, _, j) {
3094
+ }, g.unstable_scheduleCallback = function(j, _, R) {
3076
3095
  var K = g.unstable_now();
3077
- switch (typeof j == "object" && j !== null ? (j = j.delay, j = typeof j == "number" && 0 < j ? K + j : K) : j = K, U) {
3096
+ switch (typeof R == "object" && R !== null ? (R = R.delay, R = typeof R == "number" && 0 < R ? K + R : K) : R = K, j) {
3078
3097
  case 1:
3079
3098
  var bt = -1;
3080
3099
  break;
@@ -3090,23 +3109,23 @@ function Gg() {
3090
3109
  default:
3091
3110
  bt = 5e3;
3092
3111
  }
3093
- return bt = j + bt, U = {
3094
- id: Y++,
3112
+ return bt = R + bt, j = {
3113
+ id: G++,
3095
3114
  callback: _,
3096
- priorityLevel: U,
3097
- startTime: j,
3115
+ priorityLevel: j,
3116
+ startTime: R,
3098
3117
  expirationTime: bt,
3099
3118
  sortIndex: -1
3100
- }, j > K ? (U.sortIndex = j, f(S, U), h(D) === null && U === h(S) && (I ? (rt(Mt), Mt = -1) : I = !0, wt(X, j - K))) : (U.sortIndex = bt, f(D, U), F || w || (F = !0, Et || (Et = !0, Wt()))), U;
3101
- }, g.unstable_shouldYield = _t, g.unstable_wrapCallback = function(U) {
3119
+ }, R > K ? (j.sortIndex = R, f(S, j), h(O) === null && j === h(S) && (I ? (rt(Dt), Dt = -1) : I = !0, wt(Q, R - K))) : (j.sortIndex = bt, f(O, j), F || w || (F = !0, Et || (Et = !0, Wt()))), j;
3120
+ }, g.unstable_shouldYield = Mt, g.unstable_wrapCallback = function(j) {
3102
3121
  var _ = H;
3103
3122
  return function() {
3104
- var j = H;
3123
+ var R = H;
3105
3124
  H = _;
3106
3125
  try {
3107
- return U.apply(this, arguments);
3126
+ return j.apply(this, arguments);
3108
3127
  } finally {
3109
- H = j;
3128
+ H = R;
3110
3129
  }
3111
3130
  };
3112
3131
  };
@@ -3114,7 +3133,7 @@ function Gg() {
3114
3133
  }
3115
3134
  var Ud;
3116
3135
  function wg() {
3117
- return Ud || (Ud = 1, bf.exports = Gg()), bf.exports;
3136
+ return Ud || (Ud = 1, bf.exports = Yg()), bf.exports;
3118
3137
  }
3119
3138
  var xf = { exports: {} }, $t = {};
3120
3139
  var jd;
@@ -3122,14 +3141,14 @@ function Lg() {
3122
3141
  if (jd) return $t;
3123
3142
  jd = 1;
3124
3143
  var g = Tf();
3125
- function f(D) {
3126
- var S = "https://react.dev/errors/" + D;
3144
+ function f(O) {
3145
+ var S = "https://react.dev/errors/" + O;
3127
3146
  if (1 < arguments.length) {
3128
3147
  S += "?args[]=" + encodeURIComponent(arguments[1]);
3129
- for (var Y = 2; Y < arguments.length; Y++)
3130
- S += "&args[]=" + encodeURIComponent(arguments[Y]);
3148
+ for (var G = 2; G < arguments.length; G++)
3149
+ S += "&args[]=" + encodeURIComponent(arguments[G]);
3131
3150
  }
3132
- return "Minified React error #" + D + "; visit " + S + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
3151
+ return "Minified React error #" + O + "; visit " + S + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
3133
3152
  }
3134
3153
  function h() {
3135
3154
  }
@@ -3150,76 +3169,76 @@ function Lg() {
3150
3169
  p: 0,
3151
3170
  findDOMNode: null
3152
3171
  }, o = /* @__PURE__ */ Symbol.for("react.portal");
3153
- function O(D, S, Y) {
3154
- var C = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
3172
+ function C(O, S, G) {
3173
+ var D = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
3155
3174
  return {
3156
3175
  $$typeof: o,
3157
- key: C == null ? null : "" + C,
3158
- children: D,
3176
+ key: D == null ? null : "" + D,
3177
+ children: O,
3159
3178
  containerInfo: S,
3160
- implementation: Y
3179
+ implementation: G
3161
3180
  };
3162
3181
  }
3163
- var N = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
3164
- function V(D, S) {
3165
- if (D === "font") return "";
3182
+ var U = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
3183
+ function X(O, S) {
3184
+ if (O === "font") return "";
3166
3185
  if (typeof S == "string")
3167
3186
  return S === "use-credentials" ? S : "";
3168
3187
  }
3169
- return $t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = M, $t.createPortal = function(D, S) {
3170
- var Y = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
3188
+ return $t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = M, $t.createPortal = function(O, S) {
3189
+ var G = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
3171
3190
  if (!S || S.nodeType !== 1 && S.nodeType !== 9 && S.nodeType !== 11)
3172
3191
  throw Error(f(299));
3173
- return O(D, S, null, Y);
3174
- }, $t.flushSync = function(D) {
3175
- var S = N.T, Y = M.p;
3192
+ return C(O, S, null, G);
3193
+ }, $t.flushSync = function(O) {
3194
+ var S = U.T, G = M.p;
3176
3195
  try {
3177
- if (N.T = null, M.p = 2, D) return D();
3196
+ if (U.T = null, M.p = 2, O) return O();
3178
3197
  } finally {
3179
- N.T = S, M.p = Y, M.d.f();
3180
- }
3181
- }, $t.preconnect = function(D, S) {
3182
- typeof D == "string" && (S ? (S = S.crossOrigin, S = typeof S == "string" ? S === "use-credentials" ? S : "" : void 0) : S = null, M.d.C(D, S));
3183
- }, $t.prefetchDNS = function(D) {
3184
- typeof D == "string" && M.d.D(D);
3185
- }, $t.preinit = function(D, S) {
3186
- if (typeof D == "string" && S && typeof S.as == "string") {
3187
- var Y = S.as, C = V(Y, S.crossOrigin), H = typeof S.integrity == "string" ? S.integrity : void 0, w = typeof S.fetchPriority == "string" ? S.fetchPriority : void 0;
3188
- Y === "style" ? M.d.S(
3189
- D,
3198
+ U.T = S, M.p = G, M.d.f();
3199
+ }
3200
+ }, $t.preconnect = function(O, S) {
3201
+ typeof O == "string" && (S ? (S = S.crossOrigin, S = typeof S == "string" ? S === "use-credentials" ? S : "" : void 0) : S = null, M.d.C(O, S));
3202
+ }, $t.prefetchDNS = function(O) {
3203
+ typeof O == "string" && M.d.D(O);
3204
+ }, $t.preinit = function(O, S) {
3205
+ if (typeof O == "string" && S && typeof S.as == "string") {
3206
+ var G = S.as, D = X(G, S.crossOrigin), H = typeof S.integrity == "string" ? S.integrity : void 0, w = typeof S.fetchPriority == "string" ? S.fetchPriority : void 0;
3207
+ G === "style" ? M.d.S(
3208
+ O,
3190
3209
  typeof S.precedence == "string" ? S.precedence : void 0,
3191
3210
  {
3192
- crossOrigin: C,
3211
+ crossOrigin: D,
3193
3212
  integrity: H,
3194
3213
  fetchPriority: w
3195
3214
  }
3196
- ) : Y === "script" && M.d.X(D, {
3197
- crossOrigin: C,
3215
+ ) : G === "script" && M.d.X(O, {
3216
+ crossOrigin: D,
3198
3217
  integrity: H,
3199
3218
  fetchPriority: w,
3200
3219
  nonce: typeof S.nonce == "string" ? S.nonce : void 0
3201
3220
  });
3202
3221
  }
3203
- }, $t.preinitModule = function(D, S) {
3204
- if (typeof D == "string")
3222
+ }, $t.preinitModule = function(O, S) {
3223
+ if (typeof O == "string")
3205
3224
  if (typeof S == "object" && S !== null) {
3206
3225
  if (S.as == null || S.as === "script") {
3207
- var Y = V(
3226
+ var G = X(
3208
3227
  S.as,
3209
3228
  S.crossOrigin
3210
3229
  );
3211
- M.d.M(D, {
3212
- crossOrigin: Y,
3230
+ M.d.M(O, {
3231
+ crossOrigin: G,
3213
3232
  integrity: typeof S.integrity == "string" ? S.integrity : void 0,
3214
3233
  nonce: typeof S.nonce == "string" ? S.nonce : void 0
3215
3234
  });
3216
3235
  }
3217
- } else S == null && M.d.M(D);
3218
- }, $t.preload = function(D, S) {
3219
- if (typeof D == "string" && typeof S == "object" && S !== null && typeof S.as == "string") {
3220
- var Y = S.as, C = V(Y, S.crossOrigin);
3221
- M.d.L(D, Y, {
3222
- crossOrigin: C,
3236
+ } else S == null && M.d.M(O);
3237
+ }, $t.preload = function(O, S) {
3238
+ if (typeof O == "string" && typeof S == "object" && S !== null && typeof S.as == "string") {
3239
+ var G = S.as, D = X(G, S.crossOrigin);
3240
+ M.d.L(O, G, {
3241
+ crossOrigin: D,
3223
3242
  integrity: typeof S.integrity == "string" ? S.integrity : void 0,
3224
3243
  nonce: typeof S.nonce == "string" ? S.nonce : void 0,
3225
3244
  type: typeof S.type == "string" ? S.type : void 0,
@@ -3230,24 +3249,24 @@ function Lg() {
3230
3249
  media: typeof S.media == "string" ? S.media : void 0
3231
3250
  });
3232
3251
  }
3233
- }, $t.preloadModule = function(D, S) {
3234
- if (typeof D == "string")
3252
+ }, $t.preloadModule = function(O, S) {
3253
+ if (typeof O == "string")
3235
3254
  if (S) {
3236
- var Y = V(S.as, S.crossOrigin);
3237
- M.d.m(D, {
3255
+ var G = X(S.as, S.crossOrigin);
3256
+ M.d.m(O, {
3238
3257
  as: typeof S.as == "string" && S.as !== "script" ? S.as : void 0,
3239
- crossOrigin: Y,
3258
+ crossOrigin: G,
3240
3259
  integrity: typeof S.integrity == "string" ? S.integrity : void 0
3241
3260
  });
3242
- } else M.d.m(D);
3243
- }, $t.requestFormReset = function(D) {
3244
- M.d.r(D);
3245
- }, $t.unstable_batchedUpdates = function(D, S) {
3246
- return D(S);
3247
- }, $t.useFormState = function(D, S, Y) {
3248
- return N.H.useFormState(D, S, Y);
3261
+ } else M.d.m(O);
3262
+ }, $t.requestFormReset = function(O) {
3263
+ M.d.r(O);
3264
+ }, $t.unstable_batchedUpdates = function(O, S) {
3265
+ return O(S);
3266
+ }, $t.useFormState = function(O, S, G) {
3267
+ return U.H.useFormState(O, S, G);
3249
3268
  }, $t.useFormStatus = function() {
3250
- return N.H.useHostTransitionStatus();
3269
+ return U.H.useHostTransitionStatus();
3251
3270
  }, $t.version = "19.2.4", $t;
3252
3271
  }
3253
3272
  var Rd;
@@ -3279,10 +3298,10 @@ function Qg() {
3279
3298
  }
3280
3299
  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.";
3281
3300
  }
3282
- function O(t) {
3301
+ function C(t) {
3283
3302
  return !(!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11);
3284
3303
  }
3285
- function N(t) {
3304
+ function U(t) {
3286
3305
  var e = t, l = t;
3287
3306
  if (t.alternate) for (; e.return; ) e = e.return;
3288
3307
  else {
@@ -3293,14 +3312,14 @@ function Qg() {
3293
3312
  }
3294
3313
  return e.tag === 3 ? l : null;
3295
3314
  }
3296
- function V(t) {
3315
+ function X(t) {
3297
3316
  if (t.tag === 13) {
3298
3317
  var e = t.memoizedState;
3299
3318
  if (e === null && (t = t.alternate, t !== null && (e = t.memoizedState)), e !== null) return e.dehydrated;
3300
3319
  }
3301
3320
  return null;
3302
3321
  }
3303
- function D(t) {
3322
+ function O(t) {
3304
3323
  if (t.tag === 31) {
3305
3324
  var e = t.memoizedState;
3306
3325
  if (e === null && (t = t.alternate, t !== null && (e = t.memoizedState)), e !== null) return e.dehydrated;
@@ -3308,13 +3327,13 @@ function Qg() {
3308
3327
  return null;
3309
3328
  }
3310
3329
  function S(t) {
3311
- if (N(t) !== t)
3330
+ if (U(t) !== t)
3312
3331
  throw Error(o(188));
3313
3332
  }
3314
- function Y(t) {
3333
+ function G(t) {
3315
3334
  var e = t.alternate;
3316
3335
  if (!e) {
3317
- if (e = N(t), e === null) throw Error(o(188));
3336
+ if (e = U(t), e === null) throw Error(o(188));
3318
3337
  return e !== t ? null : t;
3319
3338
  }
3320
3339
  for (var l = t, a = e; ; ) {
@@ -3369,16 +3388,16 @@ function Qg() {
3369
3388
  if (l.tag !== 3) throw Error(o(188));
3370
3389
  return l.stateNode.current === l ? t : e;
3371
3390
  }
3372
- function C(t) {
3391
+ function D(t) {
3373
3392
  var e = t.tag;
3374
3393
  if (e === 5 || e === 26 || e === 27 || e === 6) return t;
3375
3394
  for (t = t.child; t !== null; ) {
3376
- if (e = C(t), e !== null) return e;
3395
+ if (e = D(t), e !== null) return e;
3377
3396
  t = t.sibling;
3378
3397
  }
3379
3398
  return null;
3380
3399
  }
3381
- var H = Object.assign, w = /* @__PURE__ */ Symbol.for("react.element"), F = /* @__PURE__ */ Symbol.for("react.transitional.element"), I = /* @__PURE__ */ Symbol.for("react.portal"), $ = /* @__PURE__ */ Symbol.for("react.fragment"), pt = /* @__PURE__ */ Symbol.for("react.strict_mode"), rt = /* @__PURE__ */ Symbol.for("react.profiler"), Tt = /* @__PURE__ */ Symbol.for("react.consumer"), ct = /* @__PURE__ */ Symbol.for("react.context"), X = /* @__PURE__ */ Symbol.for("react.forward_ref"), Et = /* @__PURE__ */ Symbol.for("react.suspense"), Mt = /* @__PURE__ */ Symbol.for("react.suspense_list"), at = /* @__PURE__ */ Symbol.for("react.memo"), Gt = /* @__PURE__ */ Symbol.for("react.lazy"), _t = /* @__PURE__ */ Symbol.for("react.activity"), Oe = /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel"), Wt = Symbol.iterator;
3400
+ var H = Object.assign, w = /* @__PURE__ */ Symbol.for("react.element"), F = /* @__PURE__ */ Symbol.for("react.transitional.element"), I = /* @__PURE__ */ Symbol.for("react.portal"), $ = /* @__PURE__ */ Symbol.for("react.fragment"), pt = /* @__PURE__ */ Symbol.for("react.strict_mode"), rt = /* @__PURE__ */ Symbol.for("react.profiler"), Tt = /* @__PURE__ */ Symbol.for("react.consumer"), ct = /* @__PURE__ */ Symbol.for("react.context"), Q = /* @__PURE__ */ Symbol.for("react.forward_ref"), Et = /* @__PURE__ */ Symbol.for("react.suspense"), Dt = /* @__PURE__ */ Symbol.for("react.suspense_list"), at = /* @__PURE__ */ Symbol.for("react.memo"), Yt = /* @__PURE__ */ Symbol.for("react.lazy"), Mt = /* @__PURE__ */ Symbol.for("react.activity"), Ce = /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel"), Wt = Symbol.iterator;
3382
3401
  function Qt(t) {
3383
3402
  return t === null || typeof t != "object" ? null : (t = Wt && t[Wt] || t["@@iterator"], typeof t == "function" ? t : null);
3384
3403
  }
@@ -3397,9 +3416,9 @@ function Qg() {
3397
3416
  return "StrictMode";
3398
3417
  case Et:
3399
3418
  return "Suspense";
3400
- case Mt:
3419
+ case Dt:
3401
3420
  return "SuspenseList";
3402
- case _t:
3421
+ case Mt:
3403
3422
  return "Activity";
3404
3423
  }
3405
3424
  if (typeof t == "object")
@@ -3410,12 +3429,12 @@ function Qg() {
3410
3429
  return t.displayName || "Context";
3411
3430
  case Tt:
3412
3431
  return (t._context.displayName || "Context") + ".Consumer";
3413
- case X:
3432
+ case Q:
3414
3433
  var e = t.render;
3415
3434
  return t = t.displayName, t || (t = e.displayName || e.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
3416
3435
  case at:
3417
3436
  return e = t.displayName || null, e !== null ? e : wt(t.type) || "Memo";
3418
- case Gt:
3437
+ case Yt:
3419
3438
  e = t._payload, t = t._init;
3420
3439
  try {
3421
3440
  return wt(t(e));
@@ -3424,7 +3443,7 @@ function Qg() {
3424
3443
  }
3425
3444
  return null;
3426
3445
  }
3427
- var U = Array.isArray, _ = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, j = M.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, K = {
3446
+ var j = Array.isArray, _ = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, R = M.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, K = {
3428
3447
  pending: !1,
3429
3448
  data: null,
3430
3449
  method: null,
@@ -3436,12 +3455,12 @@ function Qg() {
3436
3455
  function E(t) {
3437
3456
  0 > ie || (t.current = bt[ie], bt[ie] = null, ie--);
3438
3457
  }
3439
- function R(t, e) {
3458
+ function N(t, e) {
3440
3459
  ie++, bt[ie] = t.current, t.current = e;
3441
3460
  }
3442
- var G = d(null), P = d(null), tt = d(null), dt = d(null);
3461
+ var Y = d(null), P = d(null), tt = d(null), dt = d(null);
3443
3462
  function Ft(t, e) {
3444
- switch (R(tt, e), R(P, t), R(G, null), e.nodeType) {
3463
+ switch (N(tt, e), N(P, t), N(Y, null), e.nodeType) {
3445
3464
  case 9:
3446
3465
  case 11:
3447
3466
  t = (t = e.documentElement) && (t = t.namespaceURI) ? Wr(t) : 0;
@@ -3461,18 +3480,18 @@ function Qg() {
3461
3480
  t = 0;
3462
3481
  }
3463
3482
  }
3464
- E(G), R(G, t);
3483
+ E(Y), N(Y, t);
3465
3484
  }
3466
3485
  function Ut() {
3467
- E(G), E(P), E(tt);
3486
+ E(Y), E(P), E(tt);
3468
3487
  }
3469
3488
  function Ua(t) {
3470
- t.memoizedState !== null && R(dt, t);
3471
- var e = G.current, l = $r(e, t.type);
3472
- e !== l && (R(P, t), R(G, l));
3489
+ t.memoizedState !== null && N(dt, t);
3490
+ var e = Y.current, l = $r(e, t.type);
3491
+ e !== l && (N(P, t), N(Y, l));
3473
3492
  }
3474
3493
  function _n(t) {
3475
- P.current === t && (E(G), E(P)), dt.current === t && (E(dt), xn._currentValue = K);
3494
+ P.current === t && (E(Y), E(P)), dt.current === t && (E(dt), xn._currentValue = K);
3476
3495
  }
3477
3496
  var Fu, zf;
3478
3497
  function Ml(t) {
@@ -3616,7 +3635,7 @@ Error generating stack: ` + a.message + `
3616
3635
  ` + a.stack;
3617
3636
  }
3618
3637
  }
3619
- var ti = Object.prototype.hasOwnProperty, ei = f.unstable_scheduleCallback, li = f.unstable_cancelCallback, Vd = f.unstable_shouldYield, Zd = f.unstable_requestPaint, ce = f.unstable_now, Kd = f.unstable_getCurrentPriorityLevel, Mf = f.unstable_ImmediatePriority, _f = f.unstable_UserBlockingPriority, On = f.unstable_NormalPriority, Jd = f.unstable_LowPriority, Of = f.unstable_IdlePriority, kd = f.log, Wd = f.unstable_setDisableYieldValue, ja = null, fe = null;
3638
+ var ti = Object.prototype.hasOwnProperty, ei = f.unstable_scheduleCallback, li = f.unstable_cancelCallback, Vd = f.unstable_shouldYield, Zd = f.unstable_requestPaint, ce = f.unstable_now, Kd = f.unstable_getCurrentPriorityLevel, Mf = f.unstable_ImmediatePriority, _f = f.unstable_UserBlockingPriority, Cn = f.unstable_NormalPriority, Jd = f.unstable_LowPriority, Cf = f.unstable_IdlePriority, kd = f.log, Wd = f.unstable_setDisableYieldValue, ja = null, fe = null;
3620
3639
  function el(t) {
3621
3640
  if (typeof kd == "function" && Wd(t), fe && typeof fe.setStrictMode == "function")
3622
3641
  try {
@@ -3628,7 +3647,7 @@ Error generating stack: ` + a.message + `
3628
3647
  function Id(t) {
3629
3648
  return t >>>= 0, t === 0 ? 32 : 31 - ($d(t) / Fd | 0) | 0;
3630
3649
  }
3631
- var Cn = 256, Dn = 262144, Un = 4194304;
3650
+ var On = 256, Dn = 262144, Un = 4194304;
3632
3651
  function _l(t) {
3633
3652
  var e = t & 42;
3634
3653
  if (e !== 0) return e;
@@ -3736,7 +3755,7 @@ Error generating stack: ` + a.message + `
3736
3755
  return -1;
3737
3756
  }
3738
3757
  }
3739
- function Cf() {
3758
+ function Of() {
3740
3759
  var t = Un;
3741
3760
  return Un <<= 1, (Un & 62914560) === 0 && (Un = 4194304), t;
3742
3761
  }
@@ -3823,15 +3842,15 @@ Error generating stack: ` + a.message + `
3823
3842
  return t &= -t, 2 < t ? 8 < t ? (t & 134217727) !== 0 ? 32 : 268435456 : 8 : 2;
3824
3843
  }
3825
3844
  function Rf() {
3826
- var t = j.p;
3845
+ var t = R.p;
3827
3846
  return t !== 0 ? t : (t = window.event, t === void 0 ? 32 : bd(t.type));
3828
3847
  }
3829
3848
  function Nf(t, e) {
3830
- var l = j.p;
3849
+ var l = R.p;
3831
3850
  try {
3832
- return j.p = t, e();
3851
+ return R.p = t, e();
3833
3852
  } finally {
3834
- j.p = l;
3853
+ R.p = l;
3835
3854
  }
3836
3855
  }
3837
3856
  var ll = Math.random().toString(36).slice(2), Vt = "__reactFiber$" + ll, Pt = "__reactProps$" + ll, Jl = "__reactContainer$" + ll, ii = "__reactEvents$" + ll, eh = "__reactListeners$" + ll, lh = "__reactHandles$" + ll, Hf = "__reactResources$" + ll, Ha = "__reactMarker$" + ll;
@@ -3875,7 +3894,7 @@ Error generating stack: ` + a.message + `
3875
3894
  t[Ha] = !0;
3876
3895
  }
3877
3896
  var Bf = /* @__PURE__ */ new Set(), qf = {};
3878
- function Ol(t, e) {
3897
+ function Cl(t, e) {
3879
3898
  Fl(t, e), Fl(t + "Capture", e);
3880
3899
  }
3881
3900
  function Fl(t, e) {
@@ -3884,9 +3903,9 @@ Error generating stack: ` + a.message + `
3884
3903
  }
3885
3904
  var ah = RegExp(
3886
3905
  "^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
3887
- ), Yf = {}, Gf = {};
3906
+ ), Gf = {}, Yf = {};
3888
3907
  function nh(t) {
3889
- return ti.call(Gf, t) ? !0 : ti.call(Yf, t) ? !1 : ah.test(t) ? Gf[t] = !0 : (Yf[t] = !0, !1);
3908
+ return ti.call(Yf, t) ? !0 : ti.call(Gf, t) ? !1 : ah.test(t) ? Yf[t] = !0 : (Gf[t] = !0, !1);
3890
3909
  }
3891
3910
  function Rn(t, e, l) {
3892
3911
  if (nh(e))
@@ -4063,7 +4082,7 @@ Error generating stack: ` + a.message + `
4063
4082
  if (e == null) {
4064
4083
  if (a != null) {
4065
4084
  if (l != null) throw Error(o(92));
4066
- if (U(a)) {
4085
+ if (j(a)) {
4067
4086
  if (1 < a.length) throw Error(o(93));
4068
4087
  a = a[0];
4069
4088
  }
@@ -4302,15 +4321,15 @@ Error generating stack: ` + a.message + `
4302
4321
  );
4303
4322
  return l;
4304
4323
  }
4305
- var Ye = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), gi = !1;
4306
- if (Ye)
4324
+ var Ge = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), gi = !1;
4325
+ if (Ge)
4307
4326
  try {
4308
- var Ya = {};
4309
- Object.defineProperty(Ya, "passive", {
4327
+ var Ga = {};
4328
+ Object.defineProperty(Ga, "passive", {
4310
4329
  get: function() {
4311
4330
  gi = !0;
4312
4331
  }
4313
- }), window.addEventListener("test", Ya, Ya), window.removeEventListener("test", Ya, Ya);
4332
+ }), window.addEventListener("test", Ga, Ga), window.removeEventListener("test", Ga, Ga);
4314
4333
  } catch {
4315
4334
  gi = !1;
4316
4335
  }
@@ -4323,11 +4342,11 @@ Error generating stack: ` + a.message + `
4323
4342
  for (a = 1; a <= i && e[l - a] === n[u - a]; a++) ;
4324
4343
  return qn = n.slice(t, 1 < a ? 1 - a : void 0);
4325
4344
  }
4326
- function Yn(t) {
4345
+ function Gn(t) {
4327
4346
  var e = t.keyCode;
4328
4347
  return "charCode" in t ? (t = t.charCode, t === 0 && e === 13 && (t = 13)) : t = e, t === 10 && (t = 13), 32 <= t || t === 13 ? t : 0;
4329
4348
  }
4330
- function Gn() {
4349
+ function Yn() {
4331
4350
  return !0;
4332
4351
  }
4333
4352
  function $f() {
@@ -4338,24 +4357,24 @@ Error generating stack: ` + a.message + `
4338
4357
  this._reactName = l, this._targetInst = n, this.type = a, this.nativeEvent = u, this.target = i, this.currentTarget = null;
4339
4358
  for (var c in t)
4340
4359
  t.hasOwnProperty(c) && (l = t[c], this[c] = l ? l(u) : u[c]);
4341
- return this.isDefaultPrevented = (u.defaultPrevented != null ? u.defaultPrevented : u.returnValue === !1) ? Gn : $f, this.isPropagationStopped = $f, this;
4360
+ return this.isDefaultPrevented = (u.defaultPrevented != null ? u.defaultPrevented : u.returnValue === !1) ? Yn : $f, this.isPropagationStopped = $f, this;
4342
4361
  }
4343
4362
  return H(e.prototype, {
4344
4363
  preventDefault: function() {
4345
4364
  this.defaultPrevented = !0;
4346
4365
  var l = this.nativeEvent;
4347
- l && (l.preventDefault ? l.preventDefault() : typeof l.returnValue != "unknown" && (l.returnValue = !1), this.isDefaultPrevented = Gn);
4366
+ l && (l.preventDefault ? l.preventDefault() : typeof l.returnValue != "unknown" && (l.returnValue = !1), this.isDefaultPrevented = Yn);
4348
4367
  },
4349
4368
  stopPropagation: function() {
4350
4369
  var l = this.nativeEvent;
4351
- l && (l.stopPropagation ? l.stopPropagation() : typeof l.cancelBubble != "unknown" && (l.cancelBubble = !0), this.isPropagationStopped = Gn);
4370
+ l && (l.stopPropagation ? l.stopPropagation() : typeof l.cancelBubble != "unknown" && (l.cancelBubble = !0), this.isPropagationStopped = Yn);
4352
4371
  },
4353
4372
  persist: function() {
4354
4373
  },
4355
- isPersistent: Gn
4374
+ isPersistent: Yn
4356
4375
  }), e;
4357
4376
  }
4358
- var Cl = {
4377
+ var Ol = {
4359
4378
  eventPhase: 0,
4360
4379
  bubbles: 0,
4361
4380
  cancelable: 0,
@@ -4364,7 +4383,7 @@ Error generating stack: ` + a.message + `
4364
4383
  },
4365
4384
  defaultPrevented: 0,
4366
4385
  isTrusted: 0
4367
- }, wn = te(Cl), Ga = H({}, Cl, { view: 0, detail: 0 }), oh = te(Ga), vi, pi, wa, Ln = H({}, Ga, {
4386
+ }, wn = te(Ol), Ya = H({}, Ol, { view: 0, detail: 0 }), oh = te(Ya), vi, pi, wa, Ln = H({}, Ya, {
4368
4387
  screenX: 0,
4369
4388
  screenY: 0,
4370
4389
  clientX: 0,
@@ -4387,15 +4406,15 @@ Error generating stack: ` + a.message + `
4387
4406
  movementY: function(t) {
4388
4407
  return "movementY" in t ? t.movementY : pi;
4389
4408
  }
4390
- }), Ff = te(Ln), rh = H({}, Ln, { dataTransfer: 0 }), dh = te(rh), hh = H({}, Ga, { relatedTarget: 0 }), bi = te(hh), yh = H({}, Cl, {
4409
+ }), Ff = te(Ln), rh = H({}, Ln, { dataTransfer: 0 }), dh = te(rh), hh = H({}, Ya, { relatedTarget: 0 }), bi = te(hh), yh = H({}, Ol, {
4391
4410
  animationName: 0,
4392
4411
  elapsedTime: 0,
4393
4412
  pseudoElement: 0
4394
- }), gh = te(yh), mh = H({}, Cl, {
4413
+ }), gh = te(yh), mh = H({}, Ol, {
4395
4414
  clipboardData: function(t) {
4396
4415
  return "clipboardData" in t ? t.clipboardData : window.clipboardData;
4397
4416
  }
4398
- }), vh = te(mh), ph = H({}, Cl, { data: 0 }), If = te(ph), bh = {
4417
+ }), vh = te(mh), ph = H({}, Ol, { data: 0 }), If = te(ph), bh = {
4399
4418
  Esc: "Escape",
4400
4419
  Spacebar: " ",
4401
4420
  Left: "ArrowLeft",
@@ -4458,13 +4477,13 @@ Error generating stack: ` + a.message + `
4458
4477
  function Si() {
4459
4478
  return Ah;
4460
4479
  }
4461
- var Th = H({}, Ga, {
4480
+ var Th = H({}, Ya, {
4462
4481
  key: function(t) {
4463
4482
  if (t.key) {
4464
4483
  var e = bh[t.key] || t.key;
4465
4484
  if (e !== "Unidentified") return e;
4466
4485
  }
4467
- return t.type === "keypress" ? (t = Yn(t), t === 13 ? "Enter" : String.fromCharCode(t)) : t.type === "keydown" || t.type === "keyup" ? Sh[t.keyCode] || "Unidentified" : "";
4486
+ return t.type === "keypress" ? (t = Gn(t), t === 13 ? "Enter" : String.fromCharCode(t)) : t.type === "keydown" || t.type === "keyup" ? Sh[t.keyCode] || "Unidentified" : "";
4468
4487
  },
4469
4488
  code: 0,
4470
4489
  location: 0,
@@ -4476,13 +4495,13 @@ Error generating stack: ` + a.message + `
4476
4495
  locale: 0,
4477
4496
  getModifierState: Si,
4478
4497
  charCode: function(t) {
4479
- return t.type === "keypress" ? Yn(t) : 0;
4498
+ return t.type === "keypress" ? Gn(t) : 0;
4480
4499
  },
4481
4500
  keyCode: function(t) {
4482
4501
  return t.type === "keydown" || t.type === "keyup" ? t.keyCode : 0;
4483
4502
  },
4484
4503
  which: function(t) {
4485
- return t.type === "keypress" ? Yn(t) : t.type === "keydown" || t.type === "keyup" ? t.keyCode : 0;
4504
+ return t.type === "keypress" ? Gn(t) : t.type === "keydown" || t.type === "keyup" ? t.keyCode : 0;
4486
4505
  }
4487
4506
  }), zh = te(Th), Eh = H({}, Ln, {
4488
4507
  pointerId: 0,
@@ -4495,7 +4514,7 @@ Error generating stack: ` + a.message + `
4495
4514
  twist: 0,
4496
4515
  pointerType: 0,
4497
4516
  isPrimary: 0
4498
- }), Pf = te(Eh), Mh = H({}, Ga, {
4517
+ }), Pf = te(Eh), Mh = H({}, Ya, {
4499
4518
  touches: 0,
4500
4519
  targetTouches: 0,
4501
4520
  changedTouches: 0,
@@ -4504,11 +4523,11 @@ Error generating stack: ` + a.message + `
4504
4523
  ctrlKey: 0,
4505
4524
  shiftKey: 0,
4506
4525
  getModifierState: Si
4507
- }), _h = te(Mh), Oh = H({}, Cl, {
4526
+ }), _h = te(Mh), Ch = H({}, Ol, {
4508
4527
  propertyName: 0,
4509
4528
  elapsedTime: 0,
4510
4529
  pseudoElement: 0
4511
- }), Ch = te(Oh), Dh = H({}, Ln, {
4530
+ }), Oh = te(Ch), Dh = H({}, Ln, {
4512
4531
  deltaX: function(t) {
4513
4532
  return "deltaX" in t ? t.deltaX : "wheelDeltaX" in t ? -t.wheelDeltaX : 0;
4514
4533
  },
@@ -4517,12 +4536,12 @@ Error generating stack: ` + a.message + `
4517
4536
  },
4518
4537
  deltaZ: 0,
4519
4538
  deltaMode: 0
4520
- }), Uh = te(Dh), jh = H({}, Cl, {
4539
+ }), Uh = te(Dh), jh = H({}, Ol, {
4521
4540
  newState: 0,
4522
4541
  oldState: 0
4523
- }), Rh = te(jh), Nh = [9, 13, 27, 32], xi = Ye && "CompositionEvent" in window, La = null;
4524
- Ye && "documentMode" in document && (La = document.documentMode);
4525
- var Hh = Ye && "TextEvent" in window && !La, ts = Ye && (!xi || La && 8 < La && 11 >= La), es = " ", ls = !1;
4542
+ }), Rh = te(jh), Nh = [9, 13, 27, 32], xi = Ge && "CompositionEvent" in window, La = null;
4543
+ Ge && "documentMode" in document && (La = document.documentMode);
4544
+ var Hh = Ge && "TextEvent" in window && !La, ts = Ge && (!xi || La && 8 < La && 11 >= La), es = " ", ls = !1;
4526
4545
  function as(t, e) {
4527
4546
  switch (t) {
4528
4547
  case "keyup":
@@ -4572,7 +4591,7 @@ Error generating stack: ` + a.message + `
4572
4591
  return null;
4573
4592
  }
4574
4593
  }
4575
- var Yh = {
4594
+ var Gh = {
4576
4595
  color: !0,
4577
4596
  date: !0,
4578
4597
  datetime: !0,
@@ -4591,7 +4610,7 @@ Error generating stack: ` + a.message + `
4591
4610
  };
4592
4611
  function us(t) {
4593
4612
  var e = t && t.nodeName && t.nodeName.toLowerCase();
4594
- return e === "input" ? !!Yh[t.type] : e === "textarea";
4613
+ return e === "input" ? !!Gh[t.type] : e === "textarea";
4595
4614
  }
4596
4615
  function is(t, e, l, a) {
4597
4616
  ta ? ea ? ea.push(a) : ea = [a] : ta = a, e = Du(e, "onChange"), 0 < e.length && (l = new wn(
@@ -4603,7 +4622,7 @@ Error generating stack: ` + a.message + `
4603
4622
  ), t.push({ event: l, listeners: e }));
4604
4623
  }
4605
4624
  var Xa = null, Qa = null;
4606
- function Gh(t) {
4625
+ function Yh(t) {
4607
4626
  Qr(t, 0);
4608
4627
  }
4609
4628
  function Xn(t) {
@@ -4614,9 +4633,9 @@ Error generating stack: ` + a.message + `
4614
4633
  if (t === "change") return e;
4615
4634
  }
4616
4635
  var fs = !1;
4617
- if (Ye) {
4636
+ if (Ge) {
4618
4637
  var Ai;
4619
- if (Ye) {
4638
+ if (Ge) {
4620
4639
  var Ti = "oninput" in document;
4621
4640
  if (!Ti) {
4622
4641
  var ss = document.createElement("div");
@@ -4637,7 +4656,7 @@ Error generating stack: ` + a.message + `
4637
4656
  Qa,
4638
4657
  t,
4639
4658
  hi(t)
4640
- ), kf(Gh, e);
4659
+ ), kf(Yh, e);
4641
4660
  }
4642
4661
  }
4643
4662
  function wh(t, e, l) {
@@ -4718,7 +4737,7 @@ Error generating stack: ` + a.message + `
4718
4737
  var e = t && t.nodeName && t.nodeName.toLowerCase();
4719
4738
  return e && (e === "input" && (t.type === "text" || t.type === "search" || t.type === "tel" || t.type === "url" || t.type === "password") || e === "textarea" || t.contentEditable === "true");
4720
4739
  }
4721
- var Zh = Ye && "documentMode" in document && 11 >= document.documentMode, aa = null, Ei = null, Za = null, Mi = !1;
4740
+ var Zh = Ge && "documentMode" in document && 11 >= document.documentMode, aa = null, Ei = null, Za = null, Mi = !1;
4722
4741
  function ms(t, e, l) {
4723
4742
  var a = l.window === l ? l.document : l.nodeType === 9 ? l : l.ownerDocument;
4724
4743
  Mi || aa == null || aa !== Hn(a) || (a = aa, "selectionStart" in a && zi(a) ? a = { start: a.selectionStart, end: a.selectionEnd } : (a = (a.ownerDocument && a.ownerDocument.defaultView || window).getSelection(), a = {
@@ -4747,7 +4766,7 @@ Error generating stack: ` + a.message + `
4747
4766
  transitioncancel: Dl("Transition", "TransitionCancel"),
4748
4767
  transitionend: Dl("Transition", "TransitionEnd")
4749
4768
  }, _i = {}, vs = {};
4750
- Ye && (vs = document.createElement("div").style, "AnimationEvent" in window || (delete na.animationend.animation, delete na.animationiteration.animation, delete na.animationstart.animation), "TransitionEvent" in window || delete na.transitionend.transition);
4769
+ Ge && (vs = document.createElement("div").style, "AnimationEvent" in window || (delete na.animationend.animation, delete na.animationiteration.animation, delete na.animationstart.animation), "TransitionEvent" in window || delete na.transitionend.transition);
4751
4770
  function Ul(t) {
4752
4771
  if (_i[t]) return _i[t];
4753
4772
  if (!na[t]) return t;
@@ -4757,12 +4776,12 @@ Error generating stack: ` + a.message + `
4757
4776
  return _i[t] = e[l];
4758
4777
  return t;
4759
4778
  }
4760
- var ps = Ul("animationend"), bs = Ul("animationiteration"), Ss = Ul("animationstart"), Kh = Ul("transitionrun"), Jh = Ul("transitionstart"), kh = Ul("transitioncancel"), xs = Ul("transitionend"), As = /* @__PURE__ */ new Map(), Oi = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(
4779
+ var ps = Ul("animationend"), bs = Ul("animationiteration"), Ss = Ul("animationstart"), Kh = Ul("transitionrun"), Jh = Ul("transitionstart"), kh = Ul("transitioncancel"), xs = Ul("transitionend"), As = /* @__PURE__ */ new Map(), Ci = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(
4761
4780
  " "
4762
4781
  );
4763
- Oi.push("scrollEnd");
4764
- function Ce(t, e) {
4765
- As.set(t, e), Ol(e, [t]);
4782
+ Ci.push("scrollEnd");
4783
+ function Oe(t, e) {
4784
+ As.set(t, e), Cl(e, [t]);
4766
4785
  }
4767
4786
  var Qn = typeof reportError == "function" ? reportError : function(t) {
4768
4787
  if (typeof window == "object" && typeof window.ErrorEvent == "function") {
@@ -4778,9 +4797,9 @@ Error generating stack: ` + a.message + `
4778
4797
  return;
4779
4798
  }
4780
4799
  console.error(t);
4781
- }, Se = [], ua = 0, Ci = 0;
4800
+ }, Se = [], ua = 0, Oi = 0;
4782
4801
  function Vn() {
4783
- for (var t = ua, e = Ci = ua = 0; e < t; ) {
4802
+ for (var t = ua, e = Oi = ua = 0; e < t; ) {
4784
4803
  var l = Se[e];
4785
4804
  Se[e++] = null;
4786
4805
  var a = Se[e];
@@ -4796,7 +4815,7 @@ Error generating stack: ` + a.message + `
4796
4815
  }
4797
4816
  }
4798
4817
  function Zn(t, e, l, a) {
4799
- Se[ua++] = t, Se[ua++] = e, Se[ua++] = l, Se[ua++] = a, Ci |= a, t.lanes |= a, t = t.alternate, t !== null && (t.lanes |= a);
4818
+ Se[ua++] = t, Se[ua++] = e, Se[ua++] = l, Se[ua++] = a, Oi |= a, t.lanes |= a, t = t.alternate, t !== null && (t.lanes |= a);
4800
4819
  }
4801
4820
  function Di(t, e, l, a) {
4802
4821
  return Zn(t, e, l, a), Kn(t);
@@ -4814,7 +4833,7 @@ Error generating stack: ` + a.message + `
4814
4833
  }
4815
4834
  function Kn(t) {
4816
4835
  if (50 < yn)
4817
- throw yn = 0, Gc = null, Error(o(185));
4836
+ throw yn = 0, Yc = null, Error(o(185));
4818
4837
  for (var e = t.return; e !== null; )
4819
4838
  t = e, e = t.return;
4820
4839
  return t.tag === 3 ? t.stateNode : null;
@@ -4829,7 +4848,7 @@ Error generating stack: ` + a.message + `
4829
4848
  function Ui(t) {
4830
4849
  return t = t.prototype, !(!t || !t.isReactComponent);
4831
4850
  }
4832
- function Ge(t, e) {
4851
+ function Ye(t, e) {
4833
4852
  var l = t.alternate;
4834
4853
  return l === null ? (l = re(
4835
4854
  t.tag,
@@ -4853,12 +4872,12 @@ Error generating stack: ` + a.message + `
4853
4872
  i = tg(
4854
4873
  t,
4855
4874
  l,
4856
- G.current
4875
+ Y.current
4857
4876
  ) ? 26 : t === "html" || t === "head" || t === "body" ? 27 : 5;
4858
4877
  else
4859
4878
  t: switch (t) {
4860
- case _t:
4861
- return t = re(31, l, e, n), t.elementType = _t, t.lanes = u, t;
4879
+ case Mt:
4880
+ return t = re(31, l, e, n), t.elementType = Mt, t.lanes = u, t;
4862
4881
  case $:
4863
4882
  return Rl(l.children, n, u, e);
4864
4883
  case pt:
@@ -4868,8 +4887,8 @@ Error generating stack: ` + a.message + `
4868
4887
  return t = re(12, l, e, n | 2), t.elementType = rt, t.lanes = u, t;
4869
4888
  case Et:
4870
4889
  return t = re(13, l, e, n), t.elementType = Et, t.lanes = u, t;
4871
- case Mt:
4872
- return t = re(19, l, e, n), t.elementType = Mt, t.lanes = u, t;
4890
+ case Dt:
4891
+ return t = re(19, l, e, n), t.elementType = Dt, t.lanes = u, t;
4873
4892
  default:
4874
4893
  if (typeof t == "object" && t !== null)
4875
4894
  switch (t.$$typeof) {
@@ -4879,13 +4898,13 @@ Error generating stack: ` + a.message + `
4879
4898
  case Tt:
4880
4899
  i = 9;
4881
4900
  break t;
4882
- case X:
4901
+ case Q:
4883
4902
  i = 11;
4884
4903
  break t;
4885
4904
  case at:
4886
4905
  i = 14;
4887
4906
  break t;
4888
- case Gt:
4907
+ case Yt:
4889
4908
  i = 16, a = null;
4890
4909
  break t;
4891
4910
  }
@@ -4959,7 +4978,7 @@ Error generating stack: ` + a.message + `
4959
4978
  for (; t === nl; )
4960
4979
  nl = Ae[--Te], Ae[Te] = null, Re = Ae[--Te], Ae[Te] = null, je = Ae[--Te], Ae[Te] = null;
4961
4980
  }
4962
- function Os(t, e) {
4981
+ function Cs(t, e) {
4963
4982
  Ae[Te++] = je, Ae[Te++] = Re, Ae[Te++] = nl, je = e.id, Re = e.overflow, nl = t;
4964
4983
  }
4965
4984
  var Zt = null, xt = null, it = !1, ul = null, ze = !1, Bi = Error(o(519));
@@ -4973,7 +4992,7 @@ Error generating stack: ` + a.message + `
4973
4992
  );
4974
4993
  throw Ja(xe(e, t)), Bi;
4975
4994
  }
4976
- function Cs(t) {
4995
+ function Os(t) {
4977
4996
  var e = t.stateNode, l = t.type, a = t.memoizedProps;
4978
4997
  switch (e[Vt] = t, e[Pt] = a, l) {
4979
4998
  case "dialog":
@@ -5063,14 +5082,14 @@ Error generating stack: ` + a.message + `
5063
5082
  function Ja(t) {
5064
5083
  ul === null ? ul = [t] : ul.push(t);
5065
5084
  }
5066
- var Yi = d(null), Hl = null, Le = null;
5085
+ var Gi = d(null), Hl = null, Le = null;
5067
5086
  function cl(t, e, l) {
5068
- R(Yi, e._currentValue), e._currentValue = l;
5087
+ N(Gi, e._currentValue), e._currentValue = l;
5069
5088
  }
5070
5089
  function Xe(t) {
5071
- t._currentValue = Yi.current, E(Yi);
5090
+ t._currentValue = Gi.current, E(Gi);
5072
5091
  }
5073
- function Gi(t, e, l) {
5092
+ function Yi(t, e, l) {
5074
5093
  for (; t !== null; ) {
5075
5094
  var a = t.alternate;
5076
5095
  if ((t.childLanes & e) !== e ? (t.childLanes |= e, a !== null && (a.childLanes |= e)) : a !== null && (a.childLanes & e) !== e && (a.childLanes |= e), t === l) break;
@@ -5089,7 +5108,7 @@ Error generating stack: ` + a.message + `
5089
5108
  u = n;
5090
5109
  for (var s = 0; s < e.length; s++)
5091
5110
  if (c.context === e[s]) {
5092
- u.lanes |= l, c = u.alternate, c !== null && (c.lanes |= l), Gi(
5111
+ u.lanes |= l, c = u.alternate, c !== null && (c.lanes |= l), Yi(
5093
5112
  u.return,
5094
5113
  l,
5095
5114
  t
@@ -5100,7 +5119,7 @@ Error generating stack: ` + a.message + `
5100
5119
  }
5101
5120
  } else if (n.tag === 18) {
5102
5121
  if (i = n.return, i === null) throw Error(o(341));
5103
- i.lanes |= l, u = i.alternate, u !== null && (u.lanes |= l), Gi(i, l, t), i = null;
5122
+ i.lanes |= l, u = i.alternate, u !== null && (u.lanes |= l), Yi(i, l, t), i = null;
5104
5123
  } else i = n.child;
5105
5124
  if (i !== null) i.return = n;
5106
5125
  else
@@ -5257,7 +5276,7 @@ Error generating stack: ` + a.message + `
5257
5276
  return t !== null ? t : St.pooledCache;
5258
5277
  }
5259
5278
  function Fn(t, e) {
5260
- e === null ? R(ql, ql.current) : R(ql, e.pool);
5279
+ e === null ? N(ql, ql.current) : N(ql, e.pool);
5261
5280
  }
5262
5281
  function Ns() {
5263
5282
  var t = Qi();
@@ -5273,7 +5292,7 @@ Error generating stack: ` + a.message + `
5273
5292
  case "fulfilled":
5274
5293
  return e.value;
5275
5294
  case "rejected":
5276
- throw t = e.reason, Ys(t), t;
5295
+ throw t = e.reason, Gs(t), t;
5277
5296
  default:
5278
5297
  if (typeof e.status == "string") e.then(qe, qe);
5279
5298
  else {
@@ -5298,26 +5317,26 @@ Error generating stack: ` + a.message + `
5298
5317
  case "fulfilled":
5299
5318
  return e.value;
5300
5319
  case "rejected":
5301
- throw t = e.reason, Ys(t), t;
5320
+ throw t = e.reason, Gs(t), t;
5302
5321
  }
5303
- throw Gl = e, ha;
5322
+ throw Yl = e, ha;
5304
5323
  }
5305
5324
  }
5306
- function Yl(t) {
5325
+ function Gl(t) {
5307
5326
  try {
5308
5327
  var e = t._init;
5309
5328
  return e(t._payload);
5310
5329
  } catch (l) {
5311
- throw l !== null && typeof l == "object" && typeof l.then == "function" ? (Gl = l, ha) : l;
5330
+ throw l !== null && typeof l == "object" && typeof l.then == "function" ? (Yl = l, ha) : l;
5312
5331
  }
5313
5332
  }
5314
- var Gl = null;
5333
+ var Yl = null;
5315
5334
  function qs() {
5316
- if (Gl === null) throw Error(o(459));
5317
- var t = Gl;
5318
- return Gl = null, t;
5335
+ if (Yl === null) throw Error(o(459));
5336
+ var t = Yl;
5337
+ return Yl = null, t;
5319
5338
  }
5320
- function Ys(t) {
5339
+ function Gs(t) {
5321
5340
  if (t === ha || t === In)
5322
5341
  throw Error(o(483));
5323
5342
  }
@@ -5337,7 +5356,7 @@ Error generating stack: ` + a.message + `
5337
5356
  )
5338
5357
  ));
5339
5358
  }
5340
- function Gs(t) {
5359
+ function Ys(t) {
5341
5360
  function e(y, r) {
5342
5361
  if (t) {
5343
5362
  var m = y.deletions;
@@ -5356,7 +5375,7 @@ Error generating stack: ` + a.message + `
5356
5375
  return r;
5357
5376
  }
5358
5377
  function n(y, r) {
5359
- return y = Ge(y, r), y.index = 0, y.sibling = null, y;
5378
+ return y = Ye(y, r), y.index = 0, y.sibling = null, y;
5360
5379
  }
5361
5380
  function u(y, r, m) {
5362
5381
  return y.index = m, t ? (m = y.alternate, m !== null ? (m = m.index, m < r ? (y.flags |= 67108866, r) : m) : (y.flags |= 67108866, r)) : (y.flags |= 1048576, r);
@@ -5375,7 +5394,7 @@ Error generating stack: ` + a.message + `
5375
5394
  m.props.children,
5376
5395
  T,
5377
5396
  m.key
5378
- ) : r !== null && (r.elementType === L || typeof L == "object" && L !== null && L.$$typeof === Gt && Yl(L) === r.type) ? (r = n(r, m.props), Fa(r, m), r.return = y, r) : (r = Jn(
5397
+ ) : r !== null && (r.elementType === L || typeof L == "object" && L !== null && L.$$typeof === Yt && Gl(L) === r.type) ? (r = n(r, m.props), Fa(r, m), r.return = y, r) : (r = Jn(
5379
5398
  m.type,
5380
5399
  m.key,
5381
5400
  m.props,
@@ -5419,10 +5438,10 @@ Error generating stack: ` + a.message + `
5419
5438
  y.mode,
5420
5439
  m
5421
5440
  ), r.return = y, r;
5422
- case Gt:
5423
- return r = Yl(r), z(y, r, m);
5441
+ case Yt:
5442
+ return r = Gl(r), z(y, r, m);
5424
5443
  }
5425
- if (U(r) || Qt(r))
5444
+ if (j(r) || Qt(r))
5426
5445
  return r = Rl(
5427
5446
  r,
5428
5447
  y.mode,
@@ -5451,10 +5470,10 @@ Error generating stack: ` + a.message + `
5451
5470
  return m.key === L ? s(y, r, m, T) : null;
5452
5471
  case I:
5453
5472
  return m.key === L ? v(y, r, m, T) : null;
5454
- case Gt:
5455
- return m = Yl(m), b(y, r, m, T);
5473
+ case Yt:
5474
+ return m = Gl(m), b(y, r, m, T);
5456
5475
  }
5457
- if (U(m) || Qt(m))
5476
+ if (j(m) || Qt(m))
5458
5477
  return L !== null ? null : A(y, r, m, T, null);
5459
5478
  if (typeof m.then == "function")
5460
5479
  return b(
@@ -5487,8 +5506,8 @@ Error generating stack: ` + a.message + `
5487
5506
  return y = y.get(
5488
5507
  T.key === null ? m : T.key
5489
5508
  ) || null, v(r, y, T, L);
5490
- case Gt:
5491
- return T = Yl(T), x(
5509
+ case Yt:
5510
+ return T = Gl(T), x(
5492
5511
  y,
5493
5512
  r,
5494
5513
  m,
@@ -5496,7 +5515,7 @@ Error generating stack: ` + a.message + `
5496
5515
  L
5497
5516
  );
5498
5517
  }
5499
- if (U(T) || Qt(T))
5518
+ if (j(T) || Qt(T))
5500
5519
  return y = y.get(m) || null, A(r, y, T, L, null);
5501
5520
  if (typeof T.then == "function")
5502
5521
  return x(
@@ -5562,7 +5581,7 @@ Error generating stack: ` + a.message + `
5562
5581
  return e(y, El);
5563
5582
  }), it && we(y, W), L;
5564
5583
  }
5565
- function Q(y, r, m, T) {
5584
+ function V(y, r, m, T) {
5566
5585
  if (m == null) throw Error(o(151));
5567
5586
  for (var L = null, ft = null, q = r, W = r = 0, ut = null, st = m.next(); q !== null && !st.done; W++, st = m.next()) {
5568
5587
  q.index > W ? (ut = q, q = null) : ut = q.sibling;
@@ -5604,7 +5623,7 @@ Error generating stack: ` + a.message + `
5604
5623
  ), T.return = y, y = T;
5605
5624
  break t;
5606
5625
  }
5607
- } else if (r.elementType === L || typeof L == "object" && L !== null && L.$$typeof === Gt && Yl(L) === r.type) {
5626
+ } else if (r.elementType === L || typeof L == "object" && L !== null && L.$$typeof === Yt && Gl(L) === r.type) {
5608
5627
  l(
5609
5628
  y,
5610
5629
  r.sibling
@@ -5651,15 +5670,15 @@ Error generating stack: ` + a.message + `
5651
5670
  T = Ri(m, y.mode, T), T.return = y, y = T;
5652
5671
  }
5653
5672
  return i(y);
5654
- case Gt:
5655
- return m = Yl(m), vt(
5673
+ case Yt:
5674
+ return m = Gl(m), vt(
5656
5675
  y,
5657
5676
  r,
5658
5677
  m,
5659
5678
  T
5660
5679
  );
5661
5680
  }
5662
- if (U(m))
5681
+ if (j(m))
5663
5682
  return B(
5664
5683
  y,
5665
5684
  r,
@@ -5668,7 +5687,7 @@ Error generating stack: ` + a.message + `
5668
5687
  );
5669
5688
  if (Qt(m)) {
5670
5689
  if (L = Qt(m), typeof L != "function") throw Error(o(150));
5671
- return m = L.call(m), Q(
5690
+ return m = L.call(m), V(
5672
5691
  y,
5673
5692
  r,
5674
5693
  m,
@@ -5710,7 +5729,7 @@ Error generating stack: ` + a.message + `
5710
5729
  }
5711
5730
  };
5712
5731
  }
5713
- var wl = Gs(!0), ws = Gs(!1), fl = !1;
5732
+ var wl = Ys(!0), ws = Ys(!1), fl = !1;
5714
5733
  function Zi(t) {
5715
5734
  t.updateQueue = {
5716
5735
  baseState: t.memoizedState,
@@ -5808,12 +5827,12 @@ Error generating stack: ` + a.message + `
5808
5827
  next: null
5809
5828
  });
5810
5829
  t: {
5811
- var B = t, Q = c;
5830
+ var B = t, V = c;
5812
5831
  b = e;
5813
5832
  var vt = l;
5814
- switch (Q.tag) {
5833
+ switch (V.tag) {
5815
5834
  case 1:
5816
- if (B = Q.payload, typeof B == "function") {
5835
+ if (B = V.payload, typeof B == "function") {
5817
5836
  z = B.call(vt, z, b);
5818
5837
  break t;
5819
5838
  }
@@ -5822,7 +5841,7 @@ Error generating stack: ` + a.message + `
5822
5841
  case 3:
5823
5842
  B.flags = B.flags & -65537 | 128;
5824
5843
  case 0:
5825
- if (B = Q.payload, b = typeof B == "function" ? B.call(vt, z, b) : B, b == null) break t;
5844
+ if (B = V.payload, b = typeof B == "function" ? B.call(vt, z, b) : B, b == null) break t;
5826
5845
  z = H({}, z, b);
5827
5846
  break t;
5828
5847
  case 2:
@@ -5860,10 +5879,10 @@ Error generating stack: ` + a.message + `
5860
5879
  }
5861
5880
  var ga = d(null), lu = d(0);
5862
5881
  function Qs(t, e) {
5863
- t = Fe, R(lu, t), R(ga, e), Fe = t | e.baseLanes;
5882
+ t = Fe, N(lu, t), N(ga, e), Fe = t | e.baseLanes;
5864
5883
  }
5865
5884
  function Wi() {
5866
- R(lu, Fe), R(ga, ga.current);
5885
+ N(lu, Fe), N(ga, ga.current);
5867
5886
  }
5868
5887
  function $i() {
5869
5888
  Fe = lu.current, E(ga), E(lu);
@@ -5871,16 +5890,16 @@ Error generating stack: ` + a.message + `
5871
5890
  var de = d(null), Ee = null;
5872
5891
  function rl(t) {
5873
5892
  var e = t.alternate;
5874
- R(jt, jt.current & 1), R(de, t), Ee === null && (e === null || ga.current !== null || e.memoizedState !== null) && (Ee = t);
5893
+ N(jt, jt.current & 1), N(de, t), Ee === null && (e === null || ga.current !== null || e.memoizedState !== null) && (Ee = t);
5875
5894
  }
5876
5895
  function Fi(t) {
5877
- R(jt, jt.current), R(de, t), Ee === null && (Ee = t);
5896
+ N(jt, jt.current), N(de, t), Ee === null && (Ee = t);
5878
5897
  }
5879
5898
  function Vs(t) {
5880
- t.tag === 22 ? (R(jt, jt.current), R(de, t), Ee === null && (Ee = t)) : dl();
5899
+ t.tag === 22 ? (N(jt, jt.current), N(de, t), Ee === null && (Ee = t)) : dl();
5881
5900
  }
5882
5901
  function dl() {
5883
- R(jt, jt.current), R(de, de.current);
5902
+ N(jt, jt.current), N(de, de.current);
5884
5903
  }
5885
5904
  function he(t) {
5886
5905
  E(de), Ee === t && (Ee = null), E(jt);
@@ -5908,7 +5927,7 @@ Error generating stack: ` + a.message + `
5908
5927
  return null;
5909
5928
  }
5910
5929
  var Qe = 0, k = null, gt = null, Ht = null, nu = !1, ma = !1, Ll = !1, uu = 0, en = 0, va = null, ey = 0;
5911
- function Ot() {
5930
+ function _t() {
5912
5931
  throw Error(o(321));
5913
5932
  }
5914
5933
  function Ii(t, e) {
@@ -5918,7 +5937,7 @@ Error generating stack: ` + a.message + `
5918
5937
  return !0;
5919
5938
  }
5920
5939
  function Pi(t, e, l, a, n, u) {
5921
- return Qe = u, k = e, e.memoizedState = null, e.updateQueue = null, e.lanes = 0, _.H = t === null || t.memoizedState === null ? Oo : yc, Ll = !1, u = l(a, n), Ll = !1, ma && (u = Ks(
5940
+ return Qe = u, k = e, e.memoizedState = null, e.updateQueue = null, e.lanes = 0, _.H = t === null || t.memoizedState === null ? Co : yc, Ll = !1, u = l(a, n), Ll = !1, ma && (u = Ks(
5922
5941
  e,
5923
5942
  l,
5924
5943
  a,
@@ -5940,7 +5959,7 @@ Error generating stack: ` + a.message + `
5940
5959
  var u = t.updateQueue;
5941
5960
  u.lastEffect = null, u.events = null, u.stores = null, u.memoCache != null && (u.memoCache.index = 0);
5942
5961
  }
5943
- _.H = Co, u = e(l, a);
5962
+ _.H = Oo, u = e(l, a);
5944
5963
  } while (ma);
5945
5964
  return u;
5946
5965
  }
@@ -6001,7 +6020,7 @@ Error generating stack: ` + a.message + `
6001
6020
  }
6002
6021
  function ln(t) {
6003
6022
  var e = en;
6004
- return en += 1, va === null && (va = []), t = Bs(va, t, e), e = k, (Ht === null ? e.memoizedState : Ht.next) === null && (e = e.alternate, _.H = e === null || e.memoizedState === null ? Oo : yc), t;
6023
+ return en += 1, va === null && (va = []), t = Bs(va, t, e), e = k, (Ht === null ? e.memoizedState : Ht.next) === null && (e = e.alternate, _.H = e === null || e.memoizedState === null ? Co : yc), t;
6005
6024
  }
6006
6025
  function cu(t) {
6007
6026
  if (t !== null && typeof t == "object") {
@@ -6023,7 +6042,7 @@ Error generating stack: ` + a.message + `
6023
6042
  }
6024
6043
  if (e == null && (e = { data: [], index: 0 }), l === null && (l = iu(), k.updateQueue = l), l.memoCache = e, l = e.data[e.index], l === void 0)
6025
6044
  for (l = e.data[e.index] = Array(t), a = 0; a < t; a++)
6026
- l[a] = Oe;
6045
+ l[a] = Ce;
6027
6046
  return e.index++, l;
6028
6047
  }
6029
6048
  function Ve(t, e) {
@@ -6464,8 +6483,8 @@ Error generating stack: ` + a.message + `
6464
6483
  return oe(l, e) ? l : ga.current !== null ? (t = oc(t, l, a), oe(t, e) || (Bt = !0), t) : (Qe & 42) === 0 || (Qe & 1073741824) !== 0 && (nt & 261930) === 0 ? (Bt = !0, t.memoizedState = l) : (t = br(), k.lanes |= t, gl |= t, e);
6465
6484
  }
6466
6485
  function So(t, e, l, a, n) {
6467
- var u = j.p;
6468
- j.p = u !== 0 && 8 > u ? u : 8;
6486
+ var u = R.p;
6487
+ R.p = u !== 0 && 8 > u ? u : 8;
6469
6488
  var i = _.T, c = {};
6470
6489
  _.T = c, hc(t, !1, e, l);
6471
6490
  try {
@@ -6497,7 +6516,7 @@ Error generating stack: ` + a.message + `
6497
6516
  me()
6498
6517
  );
6499
6518
  } finally {
6500
- j.p = u, i !== null && c.types !== null && (i.types = c.types), _.T = i;
6519
+ R.p = u, i !== null && c.types !== null && (i.types = c.types), _.T = i;
6501
6520
  }
6502
6521
  }
6503
6522
  function iy() {
@@ -6656,30 +6675,30 @@ Error generating stack: ` + a.message + `
6656
6675
  var nn = {
6657
6676
  readContext: Kt,
6658
6677
  use: cu,
6659
- useCallback: Ot,
6660
- useContext: Ot,
6661
- useEffect: Ot,
6662
- useImperativeHandle: Ot,
6663
- useLayoutEffect: Ot,
6664
- useInsertionEffect: Ot,
6665
- useMemo: Ot,
6666
- useReducer: Ot,
6667
- useRef: Ot,
6668
- useState: Ot,
6669
- useDebugValue: Ot,
6670
- useDeferredValue: Ot,
6671
- useTransition: Ot,
6672
- useSyncExternalStore: Ot,
6673
- useId: Ot,
6674
- useHostTransitionStatus: Ot,
6675
- useFormState: Ot,
6676
- useActionState: Ot,
6677
- useOptimistic: Ot,
6678
- useMemoCache: Ot,
6679
- useCacheRefresh: Ot
6678
+ useCallback: _t,
6679
+ useContext: _t,
6680
+ useEffect: _t,
6681
+ useImperativeHandle: _t,
6682
+ useLayoutEffect: _t,
6683
+ useInsertionEffect: _t,
6684
+ useMemo: _t,
6685
+ useReducer: _t,
6686
+ useRef: _t,
6687
+ useState: _t,
6688
+ useDebugValue: _t,
6689
+ useDeferredValue: _t,
6690
+ useTransition: _t,
6691
+ useSyncExternalStore: _t,
6692
+ useId: _t,
6693
+ useHostTransitionStatus: _t,
6694
+ useFormState: _t,
6695
+ useActionState: _t,
6696
+ useOptimistic: _t,
6697
+ useMemoCache: _t,
6698
+ useCacheRefresh: _t
6680
6699
  };
6681
- nn.useEffectEvent = Ot;
6682
- var Oo = {
6700
+ nn.useEffectEvent = _t;
6701
+ var Co = {
6683
6702
  readContext: Kt,
6684
6703
  use: cu,
6685
6704
  useCallback: function(t, e) {
@@ -6884,7 +6903,7 @@ Error generating stack: ` + a.message + `
6884
6903
  useCacheRefresh: zo
6885
6904
  };
6886
6905
  yc.useEffectEvent = ro;
6887
- var Co = {
6906
+ var Oo = {
6888
6907
  readContext: Kt,
6889
6908
  use: cu,
6890
6909
  useCallback: vo,
@@ -6928,7 +6947,7 @@ Error generating stack: ` + a.message + `
6928
6947
  useMemoCache: ac,
6929
6948
  useCacheRefresh: zo
6930
6949
  };
6931
- Co.useEffectEvent = ro;
6950
+ Oo.useEffectEvent = ro;
6932
6951
  function gc(t, e, l, a) {
6933
6952
  e = t.memoizedState, l = l(a, e), l = l == null ? e : H({}, e, l), t.memoizedState = l, t.lanes === 0 && (t.updateQueue.baseState = l);
6934
6953
  }
@@ -7090,7 +7109,7 @@ Error generating stack: ` + a.message + `
7090
7109
  a
7091
7110
  );
7092
7111
  }
7093
- function Yo(t, e, l, a, n) {
7112
+ function Go(t, e, l, a, n) {
7094
7113
  l = l.render;
7095
7114
  var u = e.ref;
7096
7115
  if ("ref" in a) {
@@ -7107,7 +7126,7 @@ Error generating stack: ` + a.message + `
7107
7126
  n
7108
7127
  ), c = tc(), t !== null && !Bt ? (ec(t, e, n), Ze(t, e, n)) : (it && c && Ni(e), e.flags |= 1, Jt(t, e, a, n), e.child);
7109
7128
  }
7110
- function Go(t, e, l, a, n) {
7129
+ function Yo(t, e, l, a, n) {
7111
7130
  if (t === null) {
7112
7131
  var u = l.type;
7113
7132
  return typeof u == "function" && !Ui(u) && u.defaultProps === void 0 && l.compare === null ? (e.tag = 15, e.type = u, wo(
@@ -7130,7 +7149,7 @@ Error generating stack: ` + a.message + `
7130
7149
  if (l = l.compare, l = l !== null ? l : Va, l(i, a) && t.ref === e.ref)
7131
7150
  return Ze(t, e, n);
7132
7151
  }
7133
- return e.flags |= 1, t = Ge(u, a), t.ref = e.ref, t.return = e, e.child = t;
7152
+ return e.flags |= 1, t = Ye(u, a), t.ref = e.ref, t.return = e, e.child = t;
7134
7153
  }
7135
7154
  function wo(t, e, l, a, n) {
7136
7155
  if (t !== null) {
@@ -7253,10 +7272,10 @@ Error generating stack: ` + a.message + `
7253
7272
  l
7254
7273
  );
7255
7274
  } else
7256
- t = u.treeContext, xt = Me(i.nextSibling), Zt = e, it = !0, ul = null, ze = !1, t !== null && Os(e, t), e = hu(e, a), e.flags |= 4096;
7275
+ t = u.treeContext, xt = Me(i.nextSibling), Zt = e, it = !0, ul = null, ze = !1, t !== null && Cs(e, t), e = hu(e, a), e.flags |= 4096;
7257
7276
  return e;
7258
7277
  }
7259
- return t = Ge(t.child, {
7278
+ return t = Ye(t.child, {
7260
7279
  mode: a.mode,
7261
7280
  children: a.children
7262
7281
  }), t.ref = e.ref, e.child = t, t.return = e, t;
@@ -7457,16 +7476,16 @@ Error generating stack: ` + a.message + `
7457
7476
  } else
7458
7477
  af(c) ? (e.flags |= 192, e.child = t.child, e = null) : (t = s.treeContext, xt = Me(
7459
7478
  c.nextSibling
7460
- ), Zt = e, it = !0, ul = null, ze = !1, t !== null && Os(e, t), e = Tc(
7479
+ ), Zt = e, it = !0, ul = null, ze = !1, t !== null && Cs(e, t), e = Tc(
7461
7480
  e,
7462
7481
  a.children
7463
7482
  ), e.flags |= 4096);
7464
7483
  return e;
7465
7484
  }
7466
- return n ? (dl(), c = a.fallback, n = e.mode, s = t.child, v = s.sibling, a = Ge(s, {
7485
+ return n ? (dl(), c = a.fallback, n = e.mode, s = t.child, v = s.sibling, a = Ye(s, {
7467
7486
  mode: "hidden",
7468
7487
  children: a.children
7469
- }), a.subtreeFlags = s.subtreeFlags & 65011712, v !== null ? c = Ge(
7488
+ }), a.subtreeFlags = s.subtreeFlags & 65011712, v !== null ? c = Ye(
7470
7489
  v,
7471
7490
  c
7472
7491
  ) : (c = Rl(
@@ -7481,7 +7500,7 @@ Error generating stack: ` + a.message + `
7481
7500
  t,
7482
7501
  i,
7483
7502
  l
7484
- ), e.memoizedState = Sc, un(t.child, a)) : (rl(e), l = t.child, t = l.sibling, l = Ge(l, {
7503
+ ), e.memoizedState = Sc, un(t.child, a)) : (rl(e), l = t.child, t = l.sibling, l = Ye(l, {
7485
7504
  mode: "visible",
7486
7505
  children: a.children
7487
7506
  }), l.return = e, l.sibling = null, t !== null && (i = e.deletions, i === null ? (e.deletions = [t], e.flags |= 16) : i.push(t)), e.child = l, e.memoizedState = null, l);
@@ -7504,7 +7523,7 @@ Error generating stack: ` + a.message + `
7504
7523
  function ko(t, e, l) {
7505
7524
  t.lanes |= e;
7506
7525
  var a = t.alternate;
7507
- a !== null && (a.lanes |= e), Gi(t.return, e, l);
7526
+ a !== null && (a.lanes |= e), Yi(t.return, e, l);
7508
7527
  }
7509
7528
  function Ec(t, e, l, a, n, u) {
7510
7529
  var i = t.memoizedState;
@@ -7522,7 +7541,7 @@ Error generating stack: ` + a.message + `
7522
7541
  var a = e.pendingProps, n = a.revealOrder, u = a.tail;
7523
7542
  a = a.children;
7524
7543
  var i = jt.current, c = (i & 2) !== 0;
7525
- if (c ? (i = i & 1 | 2, e.flags |= 128) : i &= 1, R(jt, i), Jt(t, e, a, l), a = it ? Ka : 0, !c && t !== null && (t.flags & 128) !== 0)
7544
+ if (c ? (i = i & 1 | 2, e.flags |= 128) : i &= 1, N(jt, i), Jt(t, e, a, l), a = it ? Ka : 0, !c && t !== null && (t.flags & 128) !== 0)
7526
7545
  t: for (t = e.child; t !== null; ) {
7527
7546
  if (t.tag === 13)
7528
7547
  t.memoizedState !== null && ko(t, l, e);
@@ -7600,8 +7619,8 @@ Error generating stack: ` + a.message + `
7600
7619
  if (t !== null && e.child !== t.child)
7601
7620
  throw Error(o(153));
7602
7621
  if (e.child !== null) {
7603
- for (t = e.child, l = Ge(t, t.pendingProps), e.child = l, l.return = e; t.sibling !== null; )
7604
- t = t.sibling, l = l.sibling = Ge(t, t.pendingProps), l.return = e;
7622
+ for (t = e.child, l = Ye(t, t.pendingProps), e.child = l, l.return = e; t.sibling !== null; )
7623
+ t = t.sibling, l = l.sibling = Ye(t, t.pendingProps), l.return = e;
7605
7624
  l.sibling = null;
7606
7625
  }
7607
7626
  return e.child;
@@ -7658,7 +7677,7 @@ Error generating stack: ` + a.message + `
7658
7677
  );
7659
7678
  e.flags |= 128;
7660
7679
  }
7661
- if (n = e.memoizedState, n !== null && (n.rendering = null, n.tail = null, n.lastEffect = null), R(jt, jt.current), a) break;
7680
+ if (n = e.memoizedState, n !== null && (n.rendering = null, n.tail = null, n.lastEffect = null), N(jt, jt.current), a) break;
7662
7681
  return null;
7663
7682
  case 22:
7664
7683
  return e.lanes = 0, Lo(
@@ -7691,7 +7710,7 @@ Error generating stack: ` + a.message + `
7691
7710
  case 16:
7692
7711
  t: {
7693
7712
  var a = e.pendingProps;
7694
- if (t = Yl(e.elementType), e.type = t, typeof t == "function")
7713
+ if (t = Gl(e.elementType), e.type = t, typeof t == "function")
7695
7714
  Ui(t) ? (a = Xl(t, a), e.tag = 1, e = Zo(
7696
7715
  null,
7697
7716
  e,
@@ -7708,8 +7727,8 @@ Error generating stack: ` + a.message + `
7708
7727
  else {
7709
7728
  if (t != null) {
7710
7729
  var n = t.$$typeof;
7711
- if (n === X) {
7712
- e.tag = 11, e = Yo(
7730
+ if (n === Q) {
7731
+ e.tag = 11, e = Go(
7713
7732
  null,
7714
7733
  e,
7715
7734
  t,
@@ -7718,7 +7737,7 @@ Error generating stack: ` + a.message + `
7718
7737
  );
7719
7738
  break t;
7720
7739
  } else if (n === at) {
7721
- e.tag = 14, e = Go(
7740
+ e.tag = 14, e = Yo(
7722
7741
  null,
7723
7742
  e,
7724
7743
  t,
@@ -7870,7 +7889,7 @@ Error generating stack: ` + a.message + `
7870
7889
  l
7871
7890
  ) : Jt(t, e, a, l), e.child;
7872
7891
  case 11:
7873
- return Yo(
7892
+ return Go(
7874
7893
  t,
7875
7894
  e,
7876
7895
  e.type,
@@ -7903,7 +7922,7 @@ Error generating stack: ` + a.message + `
7903
7922
  case 9:
7904
7923
  return n = e.type._context, a = e.pendingProps.children, Bl(e), n = Kt(n), a = a(n), e.flags |= 1, Jt(t, e, a, l), e.child;
7905
7924
  case 14:
7906
- return Go(
7925
+ return Yo(
7907
7926
  t,
7908
7927
  e,
7909
7928
  e.type,
@@ -7955,7 +7974,7 @@ Error generating stack: ` + a.message + `
7955
7974
  if (t.stateNode.complete) t.flags |= 8192;
7956
7975
  else if (Tr()) t.flags |= 8192;
7957
7976
  else
7958
- throw Gl = Pn, Vi;
7977
+ throw Yl = Pn, Vi;
7959
7978
  } else t.flags &= -16777217;
7960
7979
  }
7961
7980
  function Fo(t, e) {
@@ -7964,10 +7983,10 @@ Error generating stack: ` + a.message + `
7964
7983
  else if (t.flags |= 16777216, !dd(e))
7965
7984
  if (Tr()) t.flags |= 8192;
7966
7985
  else
7967
- throw Gl = Pn, Vi;
7986
+ throw Yl = Pn, Vi;
7968
7987
  }
7969
7988
  function mu(t, e) {
7970
- e !== null && (t.flags |= 4), t.flags & 16384 && (e = t.tag !== 22 ? Cf() : 536870912, t.lanes |= e, Aa |= e);
7989
+ e !== null && (t.flags |= 4), t.flags & 16384 && (e = t.tag !== 22 ? Of() : 536870912, t.lanes |= e, Aa |= e);
7971
7990
  }
7972
7991
  function cn(t, e) {
7973
7992
  if (!it)
@@ -8036,7 +8055,7 @@ Error generating stack: ` + a.message + `
8036
8055
  throw Error(o(166));
8037
8056
  return At(e), null;
8038
8057
  }
8039
- t = G.current, sa(e) ? Cs(e) : (t = nd(n, a, l), e.stateNode = t, Ke(e));
8058
+ t = Y.current, sa(e) ? Os(e) : (t = nd(n, a, l), e.stateNode = t, Ke(e));
8040
8059
  }
8041
8060
  return At(e), null;
8042
8061
  case 5:
@@ -8048,8 +8067,8 @@ Error generating stack: ` + a.message + `
8048
8067
  throw Error(o(166));
8049
8068
  return At(e), null;
8050
8069
  }
8051
- if (u = G.current, sa(e))
8052
- Cs(e);
8070
+ if (u = Y.current, sa(e))
8071
+ Os(e);
8053
8072
  else {
8054
8073
  var i = Uu(
8055
8074
  tt.current
@@ -8203,7 +8222,7 @@ Error generating stack: ` + a.message + `
8203
8222
  if (u = au(t), u !== null) {
8204
8223
  for (e.flags |= 128, cn(a, !1), t = u.updateQueue, e.updateQueue = t, mu(e, t), e.subtreeFlags = 0, t = l, l = e.child; l !== null; )
8205
8224
  zs(l, t), l = l.sibling;
8206
- return R(
8225
+ return N(
8207
8226
  jt,
8208
8227
  jt.current & 1 | 2
8209
8228
  ), it && we(e, a.treeForkCount), e.child;
@@ -8221,7 +8240,7 @@ Error generating stack: ` + a.message + `
8221
8240
  2 * ce() - a.renderingStartTime > xu && l !== 536870912 && (e.flags |= 128, n = !0, cn(a, !1), e.lanes = 4194304);
8222
8241
  a.isBackwards ? (u.sibling = e.child, e.child = u) : (t = a.last, t !== null ? t.sibling = u : e.child = u, a.last = u);
8223
8242
  }
8224
- return a.tail !== null ? (t = a.tail, a.rendering = t, a.tail = t.sibling, a.renderingStartTime = ce(), t.sibling = null, l = jt.current, R(
8243
+ return a.tail !== null ? (t = a.tail, a.rendering = t, a.tail = t.sibling, a.renderingStartTime = ce(), t.sibling = null, l = jt.current, N(
8225
8244
  jt,
8226
8245
  n ? l & 1 | 2 : l & 1
8227
8246
  ), it && we(e, a.treeForkCount), t) : (At(e), null);
@@ -8440,7 +8459,7 @@ Error generating stack: ` + a.message + `
8440
8459
  yt(t, t.return, n);
8441
8460
  }
8442
8461
  }
8443
- function Oc(t, e, l) {
8462
+ function Cc(t, e, l) {
8444
8463
  try {
8445
8464
  var a = t.stateNode;
8446
8465
  Hy(a, t.type, l, e), a[Pt] = e;
@@ -8451,7 +8470,7 @@ Error generating stack: ` + a.message + `
8451
8470
  function lr(t) {
8452
8471
  return t.tag === 5 || t.tag === 3 || t.tag === 26 || t.tag === 27 && Sl(t.type) || t.tag === 4;
8453
8472
  }
8454
- function Cc(t) {
8473
+ function Oc(t) {
8455
8474
  t: for (; ; ) {
8456
8475
  for (; t.sibling === null; ) {
8457
8476
  if (t.return === null || lr(t.return)) return null;
@@ -8492,7 +8511,7 @@ Error generating stack: ` + a.message + `
8492
8511
  }
8493
8512
  var Je = !1, qt = !1, Uc = !1, nr = typeof WeakSet == "function" ? WeakSet : Set, Xt = null;
8494
8513
  function yy(t, e) {
8495
- if (t = t.containerInfo, Ic = Yu, t = gs(t), zi(t)) {
8514
+ if (t = t.containerInfo, Ic = Gu, t = gs(t), zi(t)) {
8496
8515
  if ("selectionStart" in t)
8497
8516
  var l = {
8498
8517
  start: t.selectionStart,
@@ -8528,7 +8547,7 @@ Error generating stack: ` + a.message + `
8528
8547
  }
8529
8548
  l = l || { start: 0, end: 0 };
8530
8549
  } else l = null;
8531
- for (Pc = { focusedElem: t, selectionRange: l }, Yu = !1, Xt = e; Xt !== null; )
8550
+ for (Pc = { focusedElem: t, selectionRange: l }, Gu = !1, Xt = e; Xt !== null; )
8532
8551
  if (e = Xt, t = e.child, (e.subtreeFlags & 1028) !== 0 && t !== null)
8533
8552
  t.return = e, Xt = t;
8534
8553
  else
@@ -8554,11 +8573,11 @@ Error generating stack: ` + a.message + `
8554
8573
  B,
8555
8574
  u
8556
8575
  ), a.__reactInternalSnapshotBeforeUpdate = t;
8557
- } catch (Q) {
8576
+ } catch (V) {
8558
8577
  yt(
8559
8578
  l,
8560
8579
  l.return,
8561
- Q
8580
+ V
8562
8581
  );
8563
8582
  }
8564
8583
  }
@@ -8960,7 +8979,7 @@ Error generating stack: ` + a.message + `
8960
8979
  n,
8961
8980
  a,
8962
8981
  t.memoizedProps
8963
- )) : a === null && t.stateNode !== null && Oc(
8982
+ )) : a === null && t.stateNode !== null && Cc(
8964
8983
  t,
8965
8984
  t.memoizedProps,
8966
8985
  l.memoizedProps
@@ -8968,7 +8987,7 @@ Error generating stack: ` + a.message + `
8968
8987
  }
8969
8988
  break;
8970
8989
  case 27:
8971
- le(e, t), ae(t), a & 512 && (qt || l === null || Ne(l, l.return)), l !== null && a & 4 && Oc(
8990
+ le(e, t), ae(t), a & 512 && (qt || l === null || Ne(l, l.return)), l !== null && a & 4 && Cc(
8972
8991
  t,
8973
8992
  t.memoizedProps,
8974
8993
  l.memoizedProps
@@ -8983,7 +9002,7 @@ Error generating stack: ` + a.message + `
8983
9002
  yt(t, t.return, B);
8984
9003
  }
8985
9004
  }
8986
- a & 4 && t.stateNode != null && (n = t.memoizedProps, Oc(
9005
+ a & 4 && t.stateNode != null && (n = t.memoizedProps, Cc(
8987
9006
  t,
8988
9007
  n,
8989
9008
  l !== null ? l.memoizedProps : n
@@ -9101,18 +9120,18 @@ Error generating stack: ` + a.message + `
9101
9120
  if (l == null) throw Error(o(160));
9102
9121
  switch (l.tag) {
9103
9122
  case 27:
9104
- var n = l.stateNode, u = Cc(t);
9123
+ var n = l.stateNode, u = Oc(t);
9105
9124
  vu(t, u, n);
9106
9125
  break;
9107
9126
  case 5:
9108
9127
  var i = l.stateNode;
9109
9128
  l.flags & 32 && (Pl(i, ""), l.flags &= -33);
9110
- var c = Cc(t);
9129
+ var c = Oc(t);
9111
9130
  vu(t, c, i);
9112
9131
  break;
9113
9132
  case 3:
9114
9133
  case 4:
9115
- var s = l.stateNode.containerInfo, v = Cc(t);
9134
+ var s = l.stateNode.containerInfo, v = Oc(t);
9116
9135
  Dc(
9117
9136
  t,
9118
9137
  v,
@@ -9651,7 +9670,7 @@ Error generating stack: ` + a.message + `
9651
9670
  cacheSignal: function() {
9652
9671
  return Kt(Nt).controller.signal;
9653
9672
  }
9654
- }, vy = typeof WeakMap == "function" ? WeakMap : Map, ot = 0, St = null, et = null, nt = 0, ht = 0, ye = null, yl = !1, xa = !1, Nc = !1, Fe = 0, Ct = 0, gl = 0, Vl = 0, Hc = 0, ge = 0, Aa = 0, hn = null, ne = null, Bc = !1, Su = 0, vr = 0, xu = 1 / 0, Au = null, ml = null, Yt = 0, vl = null, Ta = null, Ie = 0, qc = 0, Yc = null, pr = null, yn = 0, Gc = null;
9673
+ }, vy = typeof WeakMap == "function" ? WeakMap : Map, ot = 0, St = null, et = null, nt = 0, ht = 0, ye = null, yl = !1, xa = !1, Nc = !1, Fe = 0, Ct = 0, gl = 0, Vl = 0, Hc = 0, ge = 0, Aa = 0, hn = null, ne = null, Bc = !1, Su = 0, vr = 0, xu = 1 / 0, Au = null, ml = null, Gt = 0, vl = null, Ta = null, Ie = 0, qc = 0, Gc = null, pr = null, yn = 0, Yc = null;
9655
9674
  function me() {
9656
9675
  return (ot & 2) !== 0 && nt !== 0 ? nt & -nt : _.T !== null ? Zc() : Rf();
9657
9676
  }
@@ -9819,7 +9838,7 @@ Error generating stack: ` + a.message + `
9819
9838
  B
9820
9839
  ), B !== null) {
9821
9840
  Ie = u, t.cancelPendingCommit = B(
9822
- Cr.bind(
9841
+ Or.bind(
9823
9842
  null,
9824
9843
  t,
9825
9844
  e,
@@ -9840,7 +9859,7 @@ Error generating stack: ` + a.message + `
9840
9859
  return;
9841
9860
  }
9842
9861
  }
9843
- Cr(
9862
+ Or(
9844
9863
  t,
9845
9864
  e,
9846
9865
  u,
@@ -9902,7 +9921,7 @@ Error generating stack: ` + a.message + `
9902
9921
  }
9903
9922
  function za(t, e) {
9904
9923
  var l = t.timeoutHandle;
9905
- l !== -1 && (t.timeoutHandle = -1, Yy(l)), l = t.cancelPendingCommit, l !== null && (t.cancelPendingCommit = null, l()), Ie = 0, wc(), St = t, et = l = Ge(t.current, null), nt = e, ht = 0, ye = null, yl = !1, xa = Ra(t, e), Nc = !1, Aa = ge = Hc = Vl = gl = Ct = 0, ne = hn = null, Bc = !1, (e & 8) !== 0 && (e |= e & 32);
9924
+ l !== -1 && (t.timeoutHandle = -1, Gy(l)), l = t.cancelPendingCommit, l !== null && (t.cancelPendingCommit = null, l()), Ie = 0, wc(), St = t, et = l = Ye(t.current, null), nt = e, ht = 0, ye = null, yl = !1, xa = Ra(t, e), Nc = !1, Aa = ge = Hc = Vl = gl = Ct = 0, ne = hn = null, Bc = !1, (e & 8) !== 0 && (e |= e & 32);
9906
9925
  var a = t.entangledLanes;
9907
9926
  if (a !== 0)
9908
9927
  for (t = t.entanglements, a &= e; 0 < a; ) {
@@ -10116,13 +10135,13 @@ Error generating stack: ` + a.message + `
10116
10135
  ), et = null;
10117
10136
  return;
10118
10137
  }
10119
- e.flags & 32768 ? (it || a === 1 ? t = !0 : xa || (nt & 536870912) !== 0 ? t = !1 : (yl = t = !0, (a === 2 || a === 9 || a === 3 || a === 6) && (a = de.current, a !== null && a.tag === 13 && (a.flags |= 16384))), Or(e, t)) : Eu(e);
10138
+ e.flags & 32768 ? (it || a === 1 ? t = !0 : xa || (nt & 536870912) !== 0 ? t = !1 : (yl = t = !0, (a === 2 || a === 9 || a === 3 || a === 6) && (a = de.current, a !== null && a.tag === 13 && (a.flags |= 16384))), Cr(e, t)) : Eu(e);
10120
10139
  }
10121
10140
  function Eu(t) {
10122
10141
  var e = t;
10123
10142
  do {
10124
10143
  if ((e.flags & 32768) !== 0) {
10125
- Or(
10144
+ Cr(
10126
10145
  e,
10127
10146
  yl
10128
10147
  );
@@ -10146,7 +10165,7 @@ Error generating stack: ` + a.message + `
10146
10165
  } while (e !== null);
10147
10166
  Ct === 0 && (Ct = 5);
10148
10167
  }
10149
- function Or(t, e) {
10168
+ function Cr(t, e) {
10150
10169
  do {
10151
10170
  var l = hy(t.alternate, t);
10152
10171
  if (l !== null) {
@@ -10161,42 +10180,42 @@ Error generating stack: ` + a.message + `
10161
10180
  } while (t !== null);
10162
10181
  Ct = 6, et = null;
10163
10182
  }
10164
- function Cr(t, e, l, a, n, u, i, c, s) {
10183
+ function Or(t, e, l, a, n, u, i, c, s) {
10165
10184
  t.cancelPendingCommit = null;
10166
10185
  do
10167
10186
  Mu();
10168
- while (Yt !== 0);
10187
+ while (Gt !== 0);
10169
10188
  if ((ot & 6) !== 0) throw Error(o(327));
10170
10189
  if (e !== null) {
10171
10190
  if (e === t.current) throw Error(o(177));
10172
- if (u = e.lanes | e.childLanes, u |= Ci, th(
10191
+ if (u = e.lanes | e.childLanes, u |= Oi, th(
10173
10192
  t,
10174
10193
  l,
10175
10194
  u,
10176
10195
  i,
10177
10196
  c,
10178
10197
  s
10179
- ), t === St && (et = St = null, nt = 0), Ta = e, vl = t, Ie = l, qc = u, Yc = n, pr = a, (e.subtreeFlags & 10256) !== 0 || (e.flags & 10256) !== 0 ? (t.callbackNode = null, t.callbackPriority = 0, Ey(On, function() {
10198
+ ), t === St && (et = St = null, nt = 0), Ta = e, vl = t, Ie = l, qc = u, Gc = n, pr = a, (e.subtreeFlags & 10256) !== 0 || (e.flags & 10256) !== 0 ? (t.callbackNode = null, t.callbackPriority = 0, Ey(Cn, function() {
10180
10199
  return Nr(), null;
10181
10200
  })) : (t.callbackNode = null, t.callbackPriority = 0), a = (e.flags & 13878) !== 0, (e.subtreeFlags & 13878) !== 0 || a) {
10182
- a = _.T, _.T = null, n = j.p, j.p = 2, i = ot, ot |= 4;
10201
+ a = _.T, _.T = null, n = R.p, R.p = 2, i = ot, ot |= 4;
10183
10202
  try {
10184
10203
  yy(t, e, l);
10185
10204
  } finally {
10186
- ot = i, j.p = n, _.T = a;
10205
+ ot = i, R.p = n, _.T = a;
10187
10206
  }
10188
10207
  }
10189
- Yt = 1, Dr(), Ur(), jr();
10208
+ Gt = 1, Dr(), Ur(), jr();
10190
10209
  }
10191
10210
  }
10192
10211
  function Dr() {
10193
- if (Yt === 1) {
10194
- Yt = 0;
10212
+ if (Gt === 1) {
10213
+ Gt = 0;
10195
10214
  var t = vl, e = Ta, l = (e.flags & 13878) !== 0;
10196
10215
  if ((e.subtreeFlags & 13878) !== 0 || l) {
10197
10216
  l = _.T, _.T = null;
10198
- var a = j.p;
10199
- j.p = 2;
10217
+ var a = R.p;
10218
+ R.p = 2;
10200
10219
  var n = ot;
10201
10220
  ot |= 4;
10202
10221
  try {
@@ -10216,18 +10235,18 @@ Error generating stack: ` + a.message + `
10216
10235
  else {
10217
10236
  var z = c.ownerDocument || document, b = z && z.defaultView || window;
10218
10237
  if (b.getSelection) {
10219
- var x = b.getSelection(), B = c.textContent.length, Q = Math.min(s.start, B), vt = s.end === void 0 ? Q : Math.min(s.end, B);
10220
- !x.extend && Q > vt && (i = vt, vt = Q, Q = i);
10238
+ var x = b.getSelection(), B = c.textContent.length, V = Math.min(s.start, B), vt = s.end === void 0 ? V : Math.min(s.end, B);
10239
+ !x.extend && V > vt && (i = vt, vt = V, V = i);
10221
10240
  var y = hs(
10222
10241
  c,
10223
- Q
10242
+ V
10224
10243
  ), r = hs(
10225
10244
  c,
10226
10245
  vt
10227
10246
  );
10228
10247
  if (y && r && (x.rangeCount !== 1 || x.anchorNode !== y.node || x.anchorOffset !== y.offset || x.focusNode !== r.node || x.focusOffset !== r.offset)) {
10229
10248
  var m = z.createRange();
10230
- m.setStart(y.node, y.offset), x.removeAllRanges(), Q > vt ? (x.addRange(m), x.extend(r.node, r.offset)) : (m.setEnd(r.node, r.offset), x.addRange(m));
10249
+ m.setStart(y.node, y.offset), x.removeAllRanges(), V > vt ? (x.addRange(m), x.extend(r.node, r.offset)) : (m.setEnd(r.node, r.offset), x.addRange(m));
10231
10250
  }
10232
10251
  }
10233
10252
  }
@@ -10243,38 +10262,38 @@ Error generating stack: ` + a.message + `
10243
10262
  T.element.scrollLeft = T.left, T.element.scrollTop = T.top;
10244
10263
  }
10245
10264
  }
10246
- Yu = !!Ic, Pc = Ic = null;
10265
+ Gu = !!Ic, Pc = Ic = null;
10247
10266
  } finally {
10248
- ot = n, j.p = a, _.T = l;
10267
+ ot = n, R.p = a, _.T = l;
10249
10268
  }
10250
10269
  }
10251
- t.current = e, Yt = 2;
10270
+ t.current = e, Gt = 2;
10252
10271
  }
10253
10272
  }
10254
10273
  function Ur() {
10255
- if (Yt === 2) {
10256
- Yt = 0;
10274
+ if (Gt === 2) {
10275
+ Gt = 0;
10257
10276
  var t = vl, e = Ta, l = (e.flags & 8772) !== 0;
10258
10277
  if ((e.subtreeFlags & 8772) !== 0 || l) {
10259
10278
  l = _.T, _.T = null;
10260
- var a = j.p;
10261
- j.p = 2;
10279
+ var a = R.p;
10280
+ R.p = 2;
10262
10281
  var n = ot;
10263
10282
  ot |= 4;
10264
10283
  try {
10265
10284
  ur(t, e.alternate, e);
10266
10285
  } finally {
10267
- ot = n, j.p = a, _.T = l;
10286
+ ot = n, R.p = a, _.T = l;
10268
10287
  }
10269
10288
  }
10270
- Yt = 3;
10289
+ Gt = 3;
10271
10290
  }
10272
10291
  }
10273
10292
  function jr() {
10274
- if (Yt === 4 || Yt === 3) {
10275
- Yt = 0, Zd();
10293
+ if (Gt === 4 || Gt === 3) {
10294
+ Gt = 0, Zd();
10276
10295
  var t = vl, e = Ta, l = Ie, a = pr;
10277
- (e.subtreeFlags & 10256) !== 0 || (e.flags & 10256) !== 0 ? Yt = 5 : (Yt = 0, Ta = vl = null, Rr(t, t.pendingLanes));
10296
+ (e.subtreeFlags & 10256) !== 0 || (e.flags & 10256) !== 0 ? Gt = 5 : (Gt = 0, Ta = vl = null, Rr(t, t.pendingLanes));
10278
10297
  var n = t.pendingLanes;
10279
10298
  if (n === 0 && (ml = null), ui(l), e = e.stateNode, fe && typeof fe.onCommitFiberRoot == "function")
10280
10299
  try {
@@ -10287,7 +10306,7 @@ Error generating stack: ` + a.message + `
10287
10306
  } catch {
10288
10307
  }
10289
10308
  if (a !== null) {
10290
- e = _.T, n = j.p, j.p = 2, _.T = null;
10309
+ e = _.T, n = R.p, R.p = 2, _.T = null;
10291
10310
  try {
10292
10311
  for (var u = t.onRecoverableError, i = 0; i < a.length; i++) {
10293
10312
  var c = a[i];
@@ -10296,10 +10315,10 @@ Error generating stack: ` + a.message + `
10296
10315
  });
10297
10316
  }
10298
10317
  } finally {
10299
- _.T = e, j.p = n;
10318
+ _.T = e, R.p = n;
10300
10319
  }
10301
10320
  }
10302
- (Ie & 3) !== 0 && Mu(), He(t), n = t.pendingLanes, (l & 261930) !== 0 && (n & 42) !== 0 ? t === Gc ? yn++ : (yn = 0, Gc = t) : yn = 0, gn(0);
10321
+ (Ie & 3) !== 0 && Mu(), He(t), n = t.pendingLanes, (l & 261930) !== 0 && (n & 42) !== 0 ? t === Yc ? yn++ : (yn = 0, Yc = t) : yn = 0, gn(0);
10303
10322
  }
10304
10323
  }
10305
10324
  function Rr(t, e) {
@@ -10309,14 +10328,14 @@ Error generating stack: ` + a.message + `
10309
10328
  return Dr(), Ur(), jr(), Nr();
10310
10329
  }
10311
10330
  function Nr() {
10312
- if (Yt !== 5) return !1;
10331
+ if (Gt !== 5) return !1;
10313
10332
  var t = vl, e = qc;
10314
10333
  qc = 0;
10315
- var l = ui(Ie), a = _.T, n = j.p;
10334
+ var l = ui(Ie), a = _.T, n = R.p;
10316
10335
  try {
10317
- j.p = 32 > l ? 32 : l, _.T = null, l = Yc, Yc = null;
10336
+ R.p = 32 > l ? 32 : l, _.T = null, l = Gc, Gc = null;
10318
10337
  var u = vl, i = Ie;
10319
- if (Yt = 0, Ta = vl = null, Ie = 0, (ot & 6) !== 0) throw Error(o(331));
10338
+ if (Gt = 0, Ta = vl = null, Ie = 0, (ot & 6) !== 0) throw Error(o(331));
10320
10339
  var c = ot;
10321
10340
  if (ot |= 4, gr(u.current), dr(
10322
10341
  u,
@@ -10330,7 +10349,7 @@ Error generating stack: ` + a.message + `
10330
10349
  }
10331
10350
  return !0;
10332
10351
  } finally {
10333
- j.p = n, _.T = a, Rr(t, e);
10352
+ R.p = n, _.T = a, Rr(t, e);
10334
10353
  }
10335
10354
  }
10336
10355
  function Hr(t, e, l) {
@@ -10378,7 +10397,7 @@ Error generating stack: ` + a.message + `
10378
10397
  a !== null && a.delete(e), t.pingedLanes |= t.suspendedLanes & l, t.warmLanes &= ~l, St === t && (nt & l) === l && (Ct === 4 || Ct === 3 && (nt & 62914560) === nt && 300 > ce() - Su ? (ot & 2) === 0 && za(t, 0) : Hc |= l, Aa === nt && (Aa = 0)), He(t);
10379
10398
  }
10380
10399
  function Br(t, e) {
10381
- e === 0 && (e = Cf()), t = jl(t, e), t !== null && (Na(t, e), He(t));
10400
+ e === 0 && (e = Of()), t = jl(t, e), t !== null && (Na(t, e), He(t));
10382
10401
  }
10383
10402
  function Ty(t) {
10384
10403
  var e = t.memoizedState, l = 0;
@@ -10406,12 +10425,12 @@ Error generating stack: ` + a.message + `
10406
10425
  function Ey(t, e) {
10407
10426
  return ei(t, e);
10408
10427
  }
10409
- var _u = null, Ma = null, Qc = !1, Ou = !1, Vc = !1, bl = 0;
10428
+ var _u = null, Ma = null, Qc = !1, Cu = !1, Vc = !1, bl = 0;
10410
10429
  function He(t) {
10411
- t !== Ma && t.next === null && (Ma === null ? _u = Ma = t : Ma = Ma.next = t), Ou = !0, Qc || (Qc = !0, _y());
10430
+ t !== Ma && t.next === null && (Ma === null ? _u = Ma = t : Ma = Ma.next = t), Cu = !0, Qc || (Qc = !0, _y());
10412
10431
  }
10413
10432
  function gn(t, e) {
10414
- if (!Vc && Ou) {
10433
+ if (!Vc && Cu) {
10415
10434
  Vc = !0;
10416
10435
  do
10417
10436
  for (var l = !1, a = _u; a !== null; ) {
@@ -10439,16 +10458,16 @@ Error generating stack: ` + a.message + `
10439
10458
  qr();
10440
10459
  }
10441
10460
  function qr() {
10442
- Ou = Qc = !1;
10461
+ Cu = Qc = !1;
10443
10462
  var t = 0;
10444
10463
  bl !== 0 && qy() && (t = bl);
10445
10464
  for (var e = ce(), l = null, a = _u; a !== null; ) {
10446
- var n = a.next, u = Yr(a, e);
10447
- u === 0 ? (a.next = null, l === null ? _u = n : l.next = n, n === null && (Ma = l)) : (l = a, (t !== 0 || (u & 3) !== 0) && (Ou = !0)), a = n;
10465
+ var n = a.next, u = Gr(a, e);
10466
+ u === 0 ? (a.next = null, l === null ? _u = n : l.next = n, n === null && (Ma = l)) : (l = a, (t !== 0 || (u & 3) !== 0) && (Cu = !0)), a = n;
10448
10467
  }
10449
- Yt !== 0 && Yt !== 5 || gn(t), bl !== 0 && (bl = 0);
10468
+ Gt !== 0 && Gt !== 5 || gn(t), bl !== 0 && (bl = 0);
10450
10469
  }
10451
- function Yr(t, e) {
10470
+ function Gr(t, e) {
10452
10471
  for (var l = t.suspendedLanes, a = t.pingedLanes, n = t.expirationTimes, u = t.pendingLanes & -62914561; 0 < u; ) {
10453
10472
  var i = 31 - se(u), c = 1 << i, s = n[i];
10454
10473
  s === -1 ? ((c & l) === 0 || (c & a) !== 0) && (n[i] = Pd(c, e)) : s <= e && (t.expiredLanes |= c), u &= ~c;
@@ -10467,20 +10486,20 @@ Error generating stack: ` + a.message + `
10467
10486
  l = _f;
10468
10487
  break;
10469
10488
  case 32:
10470
- l = On;
10489
+ l = Cn;
10471
10490
  break;
10472
10491
  case 268435456:
10473
- l = Of;
10492
+ l = Cf;
10474
10493
  break;
10475
10494
  default:
10476
- l = On;
10495
+ l = Cn;
10477
10496
  }
10478
- return a = Gr.bind(null, t), l = ei(l, a), t.callbackPriority = e, t.callbackNode = l, e;
10497
+ return a = Yr.bind(null, t), l = ei(l, a), t.callbackPriority = e, t.callbackNode = l, e;
10479
10498
  }
10480
10499
  return a !== null && a !== null && li(a), t.callbackPriority = 2, t.callbackNode = null, 2;
10481
10500
  }
10482
- function Gr(t, e) {
10483
- if (Yt !== 0 && Yt !== 5)
10501
+ function Yr(t, e) {
10502
+ if (Gt !== 0 && Gt !== 5)
10484
10503
  return t.callbackNode = null, t.callbackPriority = 0, null;
10485
10504
  var l = t.callbackNode;
10486
10505
  if (Mu() && t.callbackNode !== l)
@@ -10490,14 +10509,14 @@ Error generating stack: ` + a.message + `
10490
10509
  t,
10491
10510
  t === St ? a : 0,
10492
10511
  t.cancelPendingCommit !== null || t.timeoutHandle !== -1
10493
- ), a === 0 ? null : (Sr(t, a, e), Yr(t, ce()), t.callbackNode != null && t.callbackNode === l ? Gr.bind(null, t) : null);
10512
+ ), a === 0 ? null : (Sr(t, a, e), Gr(t, ce()), t.callbackNode != null && t.callbackNode === l ? Yr.bind(null, t) : null);
10494
10513
  }
10495
10514
  function wr(t, e) {
10496
10515
  if (Mu()) return null;
10497
10516
  Sr(t, e, !0);
10498
10517
  }
10499
10518
  function _y() {
10500
- Gy(function() {
10519
+ Yy(function() {
10501
10520
  (ot & 6) !== 0 ? ei(
10502
10521
  Mf,
10503
10522
  My
@@ -10507,7 +10526,7 @@ Error generating stack: ` + a.message + `
10507
10526
  function Zc() {
10508
10527
  if (bl === 0) {
10509
10528
  var t = ra;
10510
- t === 0 && (t = Cn, Cn <<= 1, (Cn & 261888) === 0 && (Cn = 256)), bl = t;
10529
+ t === 0 && (t = On, On <<= 1, (On & 261888) === 0 && (On = 256)), bl = t;
10511
10530
  }
10512
10531
  return bl;
10513
10532
  }
@@ -10518,7 +10537,7 @@ Error generating stack: ` + a.message + `
10518
10537
  var l = e.ownerDocument.createElement("input");
10519
10538
  return l.name = e.name, l.value = e.value, t.id && l.setAttribute("form", t.id), e.parentNode.insertBefore(l, e), t = new FormData(t), l.parentNode.removeChild(l), t;
10520
10539
  }
10521
- function Oy(t, e, l, a, n) {
10540
+ function Cy(t, e, l, a, n) {
10522
10541
  if (e === "submit" && l && l.stateNode === n) {
10523
10542
  var u = Lr(
10524
10543
  (n[Pt] || null).action
@@ -10571,33 +10590,33 @@ Error generating stack: ` + a.message + `
10571
10590
  });
10572
10591
  }
10573
10592
  }
10574
- for (var Kc = 0; Kc < Oi.length; Kc++) {
10575
- var Jc = Oi[Kc], Cy = Jc.toLowerCase(), Dy = Jc[0].toUpperCase() + Jc.slice(1);
10576
- Ce(
10577
- Cy,
10593
+ for (var Kc = 0; Kc < Ci.length; Kc++) {
10594
+ var Jc = Ci[Kc], Oy = Jc.toLowerCase(), Dy = Jc[0].toUpperCase() + Jc.slice(1);
10595
+ Oe(
10596
+ Oy,
10578
10597
  "on" + Dy
10579
10598
  );
10580
10599
  }
10581
- Ce(ps, "onAnimationEnd"), Ce(bs, "onAnimationIteration"), Ce(Ss, "onAnimationStart"), Ce("dblclick", "onDoubleClick"), Ce("focusin", "onFocus"), Ce("focusout", "onBlur"), Ce(Kh, "onTransitionRun"), Ce(Jh, "onTransitionStart"), Ce(kh, "onTransitionCancel"), Ce(xs, "onTransitionEnd"), Fl("onMouseEnter", ["mouseout", "mouseover"]), Fl("onMouseLeave", ["mouseout", "mouseover"]), Fl("onPointerEnter", ["pointerout", "pointerover"]), Fl("onPointerLeave", ["pointerout", "pointerover"]), Ol(
10600
+ Oe(ps, "onAnimationEnd"), Oe(bs, "onAnimationIteration"), Oe(Ss, "onAnimationStart"), Oe("dblclick", "onDoubleClick"), Oe("focusin", "onFocus"), Oe("focusout", "onBlur"), Oe(Kh, "onTransitionRun"), Oe(Jh, "onTransitionStart"), Oe(kh, "onTransitionCancel"), Oe(xs, "onTransitionEnd"), Fl("onMouseEnter", ["mouseout", "mouseover"]), Fl("onMouseLeave", ["mouseout", "mouseover"]), Fl("onPointerEnter", ["pointerout", "pointerover"]), Fl("onPointerLeave", ["pointerout", "pointerover"]), Cl(
10582
10601
  "onChange",
10583
10602
  "change click focusin focusout input keydown keyup selectionchange".split(" ")
10584
- ), Ol(
10603
+ ), Cl(
10585
10604
  "onSelect",
10586
10605
  "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(
10587
10606
  " "
10588
10607
  )
10589
- ), Ol("onBeforeInput", [
10608
+ ), Cl("onBeforeInput", [
10590
10609
  "compositionend",
10591
10610
  "keypress",
10592
10611
  "textInput",
10593
10612
  "paste"
10594
- ]), Ol(
10613
+ ]), Cl(
10595
10614
  "onCompositionEnd",
10596
10615
  "compositionend focusout keydown keypress keyup mousedown".split(" ")
10597
- ), Ol(
10616
+ ), Cl(
10598
10617
  "onCompositionStart",
10599
10618
  "compositionstart focusout keydown keypress keyup mousedown".split(" ")
10600
- ), Ol(
10619
+ ), Cl(
10601
10620
  "onCompositionUpdate",
10602
10621
  "compositionupdate focusout keydown keypress keyup mousedown".split(" ")
10603
10622
  );
@@ -10656,14 +10675,14 @@ Error generating stack: ` + a.message + `
10656
10675
  e
10657
10676
  );
10658
10677
  }
10659
- var Cu = "_reactListening" + Math.random().toString(36).slice(2);
10678
+ var Ou = "_reactListening" + Math.random().toString(36).slice(2);
10660
10679
  function Wc(t) {
10661
- if (!t[Cu]) {
10662
- t[Cu] = !0, Bf.forEach(function(l) {
10680
+ if (!t[Ou]) {
10681
+ t[Ou] = !0, Bf.forEach(function(l) {
10663
10682
  l !== "selectionchange" && (Uy.has(l) || kc(l, !1, t), kc(l, !0, t));
10664
10683
  });
10665
10684
  var e = t.nodeType === 9 ? t : t.ownerDocument;
10666
- e === null || e[Cu] || (e[Cu] = !0, kc("selectionchange", !1, e));
10685
+ e === null || e[Ou] || (e[Ou] = !0, kc("selectionchange", !1, e));
10667
10686
  }
10668
10687
  }
10669
10688
  function Vr(t, e, l, a) {
@@ -10724,7 +10743,7 @@ Error generating stack: ` + a.message + `
10724
10743
  var x = wn, B = t;
10725
10744
  switch (t) {
10726
10745
  case "keypress":
10727
- if (Yn(l) === 0) break t;
10746
+ if (Gn(l) === 0) break t;
10728
10747
  case "keydown":
10729
10748
  case "keyup":
10730
10749
  x = zh;
@@ -10773,7 +10792,7 @@ Error generating stack: ` + a.message + `
10773
10792
  x = gh;
10774
10793
  break;
10775
10794
  case xs:
10776
- x = Ch;
10795
+ x = Oh;
10777
10796
  break;
10778
10797
  case "scroll":
10779
10798
  case "scrollend":
@@ -10801,73 +10820,73 @@ Error generating stack: ` + a.message + `
10801
10820
  case "beforetoggle":
10802
10821
  x = Rh;
10803
10822
  }
10804
- var Q = (e & 4) !== 0, vt = !Q && (t === "scroll" || t === "scrollend"), y = Q ? b !== null ? b + "Capture" : null : b;
10805
- Q = [];
10823
+ var V = (e & 4) !== 0, vt = !V && (t === "scroll" || t === "scrollend"), y = V ? b !== null ? b + "Capture" : null : b;
10824
+ V = [];
10806
10825
  for (var r = v, m; r !== null; ) {
10807
10826
  var T = r;
10808
- if (m = T.stateNode, T = T.tag, T !== 5 && T !== 26 && T !== 27 || m === null || y === null || (T = qa(r, y), T != null && Q.push(
10827
+ if (m = T.stateNode, T = T.tag, T !== 5 && T !== 26 && T !== 27 || m === null || y === null || (T = qa(r, y), T != null && V.push(
10809
10828
  vn(r, T, m)
10810
10829
  )), vt) break;
10811
10830
  r = r.return;
10812
10831
  }
10813
- 0 < Q.length && (b = new x(
10832
+ 0 < V.length && (b = new x(
10814
10833
  b,
10815
10834
  B,
10816
10835
  null,
10817
10836
  l,
10818
10837
  A
10819
- ), z.push({ event: b, listeners: Q }));
10838
+ ), z.push({ event: b, listeners: V }));
10820
10839
  }
10821
10840
  }
10822
10841
  if ((e & 7) === 0) {
10823
10842
  t: {
10824
10843
  if (b = t === "mouseover" || t === "pointerover", x = t === "mouseout" || t === "pointerout", b && l !== di && (B = l.relatedTarget || l.fromElement) && (kl(B) || B[Jl]))
10825
10844
  break t;
10826
- if ((x || b) && (b = A.window === A ? A : (b = A.ownerDocument) ? b.defaultView || b.parentWindow : window, x ? (B = l.relatedTarget || l.toElement, x = v, B = B ? kl(B) : null, B !== null && (vt = N(B), Q = B.tag, B !== vt || Q !== 5 && Q !== 27 && Q !== 6) && (B = null)) : (x = null, B = v), x !== B)) {
10827
- if (Q = Ff, T = "onMouseLeave", y = "onMouseEnter", r = "mouse", (t === "pointerout" || t === "pointerover") && (Q = Pf, T = "onPointerLeave", y = "onPointerEnter", r = "pointer"), vt = x == null ? b : Ba(x), m = B == null ? b : Ba(B), b = new Q(
10845
+ if ((x || b) && (b = A.window === A ? A : (b = A.ownerDocument) ? b.defaultView || b.parentWindow : window, x ? (B = l.relatedTarget || l.toElement, x = v, B = B ? kl(B) : null, B !== null && (vt = U(B), V = B.tag, B !== vt || V !== 5 && V !== 27 && V !== 6) && (B = null)) : (x = null, B = v), x !== B)) {
10846
+ if (V = Ff, T = "onMouseLeave", y = "onMouseEnter", r = "mouse", (t === "pointerout" || t === "pointerover") && (V = Pf, T = "onPointerLeave", y = "onPointerEnter", r = "pointer"), vt = x == null ? b : Ba(x), m = B == null ? b : Ba(B), b = new V(
10828
10847
  T,
10829
10848
  r + "leave",
10830
10849
  x,
10831
10850
  l,
10832
10851
  A
10833
- ), b.target = vt, b.relatedTarget = m, T = null, kl(A) === v && (Q = new Q(
10852
+ ), b.target = vt, b.relatedTarget = m, T = null, kl(A) === v && (V = new V(
10834
10853
  y,
10835
10854
  r + "enter",
10836
10855
  B,
10837
10856
  l,
10838
10857
  A
10839
- ), Q.target = m, Q.relatedTarget = vt, T = Q), vt = T, x && B)
10858
+ ), V.target = m, V.relatedTarget = vt, T = V), vt = T, x && B)
10840
10859
  e: {
10841
- for (Q = jy, y = x, r = B, m = 0, T = y; T; T = Q(T))
10860
+ for (V = jy, y = x, r = B, m = 0, T = y; T; T = V(T))
10842
10861
  m++;
10843
10862
  T = 0;
10844
- for (var L = r; L; L = Q(L))
10863
+ for (var L = r; L; L = V(L))
10845
10864
  T++;
10846
10865
  for (; 0 < m - T; )
10847
- y = Q(y), m--;
10866
+ y = V(y), m--;
10848
10867
  for (; 0 < T - m; )
10849
- r = Q(r), T--;
10868
+ r = V(r), T--;
10850
10869
  for (; m--; ) {
10851
10870
  if (y === r || r !== null && y === r.alternate) {
10852
- Q = y;
10871
+ V = y;
10853
10872
  break e;
10854
10873
  }
10855
- y = Q(y), r = Q(r);
10874
+ y = V(y), r = V(r);
10856
10875
  }
10857
- Q = null;
10876
+ V = null;
10858
10877
  }
10859
- else Q = null;
10878
+ else V = null;
10860
10879
  x !== null && Zr(
10861
10880
  z,
10862
10881
  b,
10863
10882
  x,
10864
- Q,
10883
+ V,
10865
10884
  !1
10866
10885
  ), B !== null && vt !== null && Zr(
10867
10886
  z,
10868
10887
  vt,
10869
10888
  B,
10870
- Q,
10889
+ V,
10871
10890
  !0
10872
10891
  );
10873
10892
  }
@@ -10949,7 +10968,7 @@ Error generating stack: ` + a.message + `
10949
10968
  ), z.push({
10950
10969
  event: q,
10951
10970
  listeners: ut
10952
- }), q.data = W)), Oy(
10971
+ }), q.data = W)), Cy(
10953
10972
  z,
10954
10973
  t,
10955
10974
  v,
@@ -11674,8 +11693,8 @@ Error generating stack: ` + a.message + `
11674
11693
  case "track":
11675
11694
  case "wbr":
11676
11695
  case "menuitem":
11677
- for (var Q in l)
11678
- b = l[Q], l.hasOwnProperty(Q) && b != null && !a.hasOwnProperty(Q) && mt(t, e, Q, null, a, b);
11696
+ for (var V in l)
11697
+ b = l[V], l.hasOwnProperty(V) && b != null && !a.hasOwnProperty(V) && mt(t, e, V, null, a, b);
11679
11698
  for (v in a)
11680
11699
  if (b = a[v], x = l[v], a.hasOwnProperty(v) && b !== x && (b != null || x != null))
11681
11700
  switch (v) {
@@ -11789,7 +11808,7 @@ Error generating stack: ` + a.message + `
11789
11808
  var t = window.event;
11790
11809
  return t && t.type === "popstate" ? t === ef ? !1 : (ef = t, !0) : (ef = null, !1);
11791
11810
  }
11792
- var Fr = typeof setTimeout == "function" ? setTimeout : void 0, Yy = typeof clearTimeout == "function" ? clearTimeout : void 0, Ir = typeof Promise == "function" ? Promise : void 0, Gy = typeof queueMicrotask == "function" ? queueMicrotask : typeof Ir < "u" ? function(t) {
11811
+ var Fr = typeof setTimeout == "function" ? setTimeout : void 0, Gy = typeof clearTimeout == "function" ? clearTimeout : void 0, Ir = typeof Promise == "function" ? Promise : void 0, Yy = typeof queueMicrotask == "function" ? queueMicrotask : typeof Ir < "u" ? function(t) {
11793
11812
  return Ir.resolve(null).then(t).catch(wy);
11794
11813
  } : Fr;
11795
11814
  function wy(t) {
@@ -11993,8 +12012,8 @@ Error generating stack: ` + a.message + `
11993
12012
  function ju(t) {
11994
12013
  return typeof t.getRootNode == "function" ? t.getRootNode() : t.nodeType === 9 ? t : t.ownerDocument;
11995
12014
  }
11996
- var Pe = j.d;
11997
- j.d = {
12015
+ var Pe = R.d;
12016
+ R.d = {
11998
12017
  f: Vy,
11999
12018
  r: Zy,
12000
12019
  D: Ky,
@@ -12040,10 +12059,10 @@ Error generating stack: ` + a.message + `
12040
12059
  var u = n;
12041
12060
  switch (e) {
12042
12061
  case "style":
12043
- u = Oa(t);
12062
+ u = Ca(t);
12044
12063
  break;
12045
12064
  case "script":
12046
- u = Ca(t);
12065
+ u = Oa(t);
12047
12066
  }
12048
12067
  _e.has(u) || (t = H(
12049
12068
  {
@@ -12067,7 +12086,7 @@ Error generating stack: ` + a.message + `
12067
12086
  case "sharedworker":
12068
12087
  case "worker":
12069
12088
  case "script":
12070
- u = Ca(t);
12089
+ u = Oa(t);
12071
12090
  }
12072
12091
  if (!_e.has(u) && (t = H({ rel: "modulepreload", href: t }, e), _e.set(u, t), l.querySelector(n) === null)) {
12073
12092
  switch (a) {
@@ -12088,7 +12107,7 @@ Error generating stack: ` + a.message + `
12088
12107
  Pe.S(t, e, l);
12089
12108
  var a = _a;
12090
12109
  if (a && t) {
12091
- var n = $l(a).hoistableStyles, u = Oa(t);
12110
+ var n = $l(a).hoistableStyles, u = Ca(t);
12092
12111
  e = e || "default";
12093
12112
  var i = n.get(u);
12094
12113
  if (!i) {
@@ -12124,7 +12143,7 @@ Error generating stack: ` + a.message + `
12124
12143
  Pe.X(t, e);
12125
12144
  var l = _a;
12126
12145
  if (l && t) {
12127
- var a = $l(l).hoistableScripts, n = Ca(t), u = a.get(n);
12146
+ var a = $l(l).hoistableScripts, n = Oa(t), u = a.get(n);
12128
12147
  u || (u = l.querySelector(Sn(n)), u || (t = H({ src: t, async: !0 }, e), (e = _e.get(n)) && ff(t, e), u = l.createElement("script"), Lt(u), kt(u, "link", t), l.head.appendChild(u)), u = {
12129
12148
  type: "script",
12130
12149
  instance: u,
@@ -12137,7 +12156,7 @@ Error generating stack: ` + a.message + `
12137
12156
  Pe.M(t, e);
12138
12157
  var l = _a;
12139
12158
  if (l && t) {
12140
- var a = $l(l).hoistableScripts, n = Ca(t), u = a.get(n);
12159
+ var a = $l(l).hoistableScripts, n = Oa(t), u = a.get(n);
12141
12160
  u || (u = l.querySelector(Sn(n)), u || (t = H({ src: t, async: !0, type: "module" }, e), (e = _e.get(n)) && ff(t, e), u = l.createElement("script"), Lt(u), kt(u, "link", t), l.head.appendChild(u)), u = {
12142
12161
  type: "script",
12143
12162
  instance: u,
@@ -12154,7 +12173,7 @@ Error generating stack: ` + a.message + `
12154
12173
  case "title":
12155
12174
  return null;
12156
12175
  case "style":
12157
- return typeof l.precedence == "string" && typeof l.href == "string" ? (e = Oa(l.href), l = $l(
12176
+ return typeof l.precedence == "string" && typeof l.href == "string" ? (e = Ca(l.href), l = $l(
12158
12177
  n
12159
12178
  ).hoistableStyles, a = l.get(e), a || (a = {
12160
12179
  type: "style",
@@ -12164,7 +12183,7 @@ Error generating stack: ` + a.message + `
12164
12183
  }, l.set(e, a)), a) : { type: "void", instance: null, count: 0, state: null };
12165
12184
  case "link":
12166
12185
  if (l.rel === "stylesheet" && typeof l.href == "string" && typeof l.precedence == "string") {
12167
- t = Oa(l.href);
12186
+ t = Ca(l.href);
12168
12187
  var u = $l(
12169
12188
  n
12170
12189
  ).hoistableStyles, i = u.get(t);
@@ -12197,7 +12216,7 @@ Error generating stack: ` + a.message + `
12197
12216
  throw Error(o(529, ""));
12198
12217
  return null;
12199
12218
  case "script":
12200
- return e = l.async, l = l.src, typeof l == "string" && e && typeof e != "function" && typeof e != "symbol" ? (e = Ca(l), l = $l(
12219
+ return e = l.async, l = l.src, typeof l == "string" && e && typeof e != "function" && typeof e != "symbol" ? (e = Oa(l), l = $l(
12201
12220
  n
12202
12221
  ).hoistableScripts, a = l.get(e), a || (a = {
12203
12222
  type: "script",
@@ -12209,7 +12228,7 @@ Error generating stack: ` + a.message + `
12209
12228
  throw Error(o(444, t));
12210
12229
  }
12211
12230
  }
12212
- function Oa(t) {
12231
+ function Ca(t) {
12213
12232
  return 'href="' + be(t) + '"';
12214
12233
  }
12215
12234
  function bn(t) {
@@ -12228,7 +12247,7 @@ Error generating stack: ` + a.message + `
12228
12247
  return a.loading |= 2;
12229
12248
  }), kt(e, "link", l), Lt(e), t.head.appendChild(e));
12230
12249
  }
12231
- function Ca(t) {
12250
+ function Oa(t) {
12232
12251
  return '[src="' + be(t) + '"]';
12233
12252
  }
12234
12253
  function Sn(t) {
@@ -12253,7 +12272,7 @@ Error generating stack: ` + a.message + `
12253
12272
  "style"
12254
12273
  ), Lt(a), kt(a, "style", n), Ru(a, l.precedence, t), e.instance = a;
12255
12274
  case "stylesheet":
12256
- n = Oa(l.href);
12275
+ n = Ca(l.href);
12257
12276
  var u = t.querySelector(
12258
12277
  bn(n)
12259
12278
  );
@@ -12265,7 +12284,7 @@ Error generating stack: ` + a.message + `
12265
12284
  i.onload = c, i.onerror = s;
12266
12285
  }), kt(u, "link", a), e.state.loading |= 4, Ru(u, l.precedence, t), e.instance = u;
12267
12286
  case "script":
12268
- return u = Ca(l.src), (n = t.querySelector(
12287
+ return u = Oa(l.src), (n = t.querySelector(
12269
12288
  Sn(u)
12270
12289
  )) ? (e.instance = n, Lt(n), n) : (a = l, (n = _e.get(u)) && (a = H({}, l), ff(a, n)), t = t.ownerDocument || t, n = t.createElement("script"), Lt(n), kt(n, "link", a), t.head.appendChild(n), e.instance = n);
12271
12290
  case "void":
@@ -12344,7 +12363,7 @@ Error generating stack: ` + a.message + `
12344
12363
  function eg(t, e, l, a) {
12345
12364
  if (l.type === "stylesheet" && (typeof a.media != "string" || matchMedia(a.media).matches !== !1) && (l.state.loading & 4) === 0) {
12346
12365
  if (l.instance === null) {
12347
- var n = Oa(a.href), u = e.querySelector(
12366
+ var n = Ca(a.href), u = e.querySelector(
12348
12367
  bn(n)
12349
12368
  );
12350
12369
  if (u) {
@@ -12471,36 +12490,36 @@ Error generating stack: ` + a.message + `
12471
12490
  l !== null && ue(l, t, e), of(t, e);
12472
12491
  }
12473
12492
  }
12474
- var Yu = !0;
12493
+ var Gu = !0;
12475
12494
  function ug(t, e, l, a) {
12476
12495
  var n = _.T;
12477
12496
  _.T = null;
12478
- var u = j.p;
12497
+ var u = R.p;
12479
12498
  try {
12480
- j.p = 2, rf(t, e, l, a);
12499
+ R.p = 2, rf(t, e, l, a);
12481
12500
  } finally {
12482
- j.p = u, _.T = n;
12501
+ R.p = u, _.T = n;
12483
12502
  }
12484
12503
  }
12485
12504
  function ig(t, e, l, a) {
12486
12505
  var n = _.T;
12487
12506
  _.T = null;
12488
- var u = j.p;
12507
+ var u = R.p;
12489
12508
  try {
12490
- j.p = 8, rf(t, e, l, a);
12509
+ R.p = 8, rf(t, e, l, a);
12491
12510
  } finally {
12492
- j.p = u, _.T = n;
12511
+ R.p = u, _.T = n;
12493
12512
  }
12494
12513
  }
12495
12514
  function rf(t, e, l, a) {
12496
- if (Yu) {
12515
+ if (Gu) {
12497
12516
  var n = df(a);
12498
12517
  if (n === null)
12499
12518
  $c(
12500
12519
  t,
12501
12520
  e,
12502
12521
  a,
12503
- Gu,
12522
+ Yu,
12504
12523
  l
12505
12524
  ), Sd(t, a);
12506
12525
  else if (fg(
@@ -12537,7 +12556,7 @@ Error generating stack: ` + a.message + `
12537
12556
  t,
12538
12557
  e,
12539
12558
  a,
12540
- Gu,
12559
+ Yu,
12541
12560
  l
12542
12561
  ), u === n) break;
12543
12562
  n = u;
@@ -12556,18 +12575,18 @@ Error generating stack: ` + a.message + `
12556
12575
  function df(t) {
12557
12576
  return t = hi(t), hf(t);
12558
12577
  }
12559
- var Gu = null;
12578
+ var Yu = null;
12560
12579
  function hf(t) {
12561
- if (Gu = null, t = kl(t), t !== null) {
12562
- var e = N(t);
12580
+ if (Yu = null, t = kl(t), t !== null) {
12581
+ var e = U(t);
12563
12582
  if (e === null) t = null;
12564
12583
  else {
12565
12584
  var l = e.tag;
12566
12585
  if (l === 13) {
12567
- if (t = V(e), t !== null) return t;
12586
+ if (t = X(e), t !== null) return t;
12568
12587
  t = null;
12569
12588
  } else if (l === 31) {
12570
- if (t = D(e), t !== null) return t;
12589
+ if (t = O(e), t !== null) return t;
12571
12590
  t = null;
12572
12591
  } else if (l === 3) {
12573
12592
  if (e.stateNode.current.memoizedState.isDehydrated)
@@ -12576,7 +12595,7 @@ Error generating stack: ` + a.message + `
12576
12595
  } else e !== t && (t = null);
12577
12596
  }
12578
12597
  }
12579
- return Gu = t, null;
12598
+ return Yu = t, null;
12580
12599
  }
12581
12600
  function bd(t) {
12582
12601
  switch (t) {
@@ -12659,10 +12678,10 @@ Error generating stack: ` + a.message + `
12659
12678
  return 2;
12660
12679
  case _f:
12661
12680
  return 8;
12662
- case On:
12681
+ case Cn:
12663
12682
  case Jd:
12664
12683
  return 32;
12665
- case Of:
12684
+ case Cf:
12666
12685
  return 268435456;
12667
12686
  default:
12668
12687
  return 32;
@@ -12766,17 +12785,17 @@ Error generating stack: ` + a.message + `
12766
12785
  function xd(t) {
12767
12786
  var e = kl(t.target);
12768
12787
  if (e !== null) {
12769
- var l = N(e);
12788
+ var l = U(e);
12770
12789
  if (l !== null) {
12771
12790
  if (e = l.tag, e === 13) {
12772
- if (e = V(l), e !== null) {
12791
+ if (e = X(l), e !== null) {
12773
12792
  t.blockedOn = e, Nf(t.priority, function() {
12774
12793
  pd(l);
12775
12794
  });
12776
12795
  return;
12777
12796
  }
12778
12797
  } else if (e === 31) {
12779
- if (e = D(l), e !== null) {
12798
+ if (e = O(l), e !== null) {
12780
12799
  t.blockedOn = e, Nf(t.priority, function() {
12781
12800
  pd(l);
12782
12801
  });
@@ -12943,11 +12962,11 @@ Error generating stack: ` + a.message + `
12943
12962
  "19.2.4"
12944
12963
  )
12945
12964
  );
12946
- j.findDOMNode = function(t) {
12965
+ R.findDOMNode = function(t) {
12947
12966
  var e = t._reactInternals;
12948
12967
  if (e === void 0)
12949
12968
  throw typeof t.render == "function" ? Error(o(188)) : (t = Object.keys(t).join(","), Error(o(268, t)));
12950
- return t = Y(e), t = t !== null ? C(t) : null, t = t === null ? null : t.stateNode, t;
12969
+ return t = G(e), t = t !== null ? D(t) : null, t = t === null ? null : t.stateNode, t;
12951
12970
  };
12952
12971
  var og = {
12953
12972
  bundleType: 0,
@@ -12967,7 +12986,7 @@ Error generating stack: ` + a.message + `
12967
12986
  }
12968
12987
  }
12969
12988
  return Mn.createRoot = function(t, e) {
12970
- if (!O(t)) throw Error(o(299));
12989
+ if (!C(t)) throw Error(o(299));
12971
12990
  var l = !1, a = "", n = jo, u = Ro, i = No;
12972
12991
  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 && (u = e.onCaughtError), e.onRecoverableError !== void 0 && (i = e.onRecoverableError)), e = hd(
12973
12992
  t,
@@ -12984,7 +13003,7 @@ Error generating stack: ` + a.message + `
12984
13003
  zd
12985
13004
  ), t[Jl] = e.current, Wc(t), new gf(e);
12986
13005
  }, Mn.hydrateRoot = function(t, e, l) {
12987
- if (!O(t)) throw Error(o(299));
13006
+ if (!C(t)) throw Error(o(299));
12988
13007
  var a = !1, n = "", u = jo, i = Ro, c = No, s = null;
12989
13008
  return l != null && (l.unstable_strictMode === !0 && (a = !0), l.identifierPrefix !== void 0 && (n = l.identifierPrefix), l.onUncaughtError !== void 0 && (u = l.onUncaughtError), l.onCaughtError !== void 0 && (i = l.onCaughtError), l.onRecoverableError !== void 0 && (c = l.onRecoverableError), l.formState !== void 0 && (s = l.formState)), e = hd(
12990
13009
  t,
@@ -13078,26 +13097,26 @@ const Kl = /* @__PURE__ */ new Map(), $u = {
13078
13097
  return console.error("[GlydeChat] Container not found:", g), null;
13079
13098
  const M = typeof g == "string" ? g : h.id || `glyde-render-${Date.now()}`;
13080
13099
  if (Kl.has(M)) {
13081
- const N = Kl.get(M);
13082
- N && (N.root.unmount(), Kl.delete(M));
13100
+ const U = Kl.get(M);
13101
+ U && (U.root.unmount(), Kl.delete(M));
13083
13102
  }
13084
13103
  const o = f.theme === "auto" ? window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : f.theme || "light";
13085
13104
  ku(o);
13086
- const O = Bd.createRoot(h);
13087
- return Kl.set(M, { root: O, container: h }), O.render(
13105
+ const C = Bd.createRoot(h);
13106
+ return Kl.set(M, { root: C, container: h }), C.render(
13088
13107
  Zu.createElement(Ku, {
13089
13108
  ...f,
13090
13109
  container: h
13091
13110
  })
13092
13111
  ), console.log("[GlydeChat] Widget rendered in container:", M), {
13093
13112
  destroy() {
13094
- O.unmount(), Kl.delete(M), h.innerHTML = "", console.log("[GlydeChat] Rendered widget destroyed");
13113
+ C.unmount(), Kl.delete(M), h.innerHTML = "", console.log("[GlydeChat] Rendered widget destroyed");
13095
13114
  },
13096
- update(N) {
13097
- O.render(
13115
+ update(U) {
13116
+ C.render(
13098
13117
  Zu.createElement(Ku, {
13099
13118
  ...f,
13100
- ...N,
13119
+ ...U,
13101
13120
  container: h
13102
13121
  })
13103
13122
  );
@@ -13128,24 +13147,24 @@ function Zg() {
13128
13147
  console.log('[GlydeChat] Auto-init disabled via data-auto-init="false"');
13129
13148
  return;
13130
13149
  }
13131
- const M = f.getAttribute("data-publishable-key") || void 0, o = f.getAttribute("data-api-key") || void 0, O = f.getAttribute("data-auth-token") || void 0, N = M || o || O;
13132
- if (!N && !(h === "true")) {
13150
+ const M = f.getAttribute("data-publishable-key") || void 0, o = f.getAttribute("data-api-key") || void 0, C = f.getAttribute("data-auth-token") || void 0, U = M || o || C;
13151
+ if (!U && !(h === "true")) {
13133
13152
  console.log("[GlydeChat] Auto-init skipped: no authentication data attributes found. Call GlydeChat.init() manually.");
13134
13153
  return;
13135
13154
  }
13136
- if (!N) {
13155
+ if (!U) {
13137
13156
  console.warn("[GlydeChat] Auto-init skipped: no authentication provided (publishableKey, apiKey, or authToken required)");
13138
13157
  return;
13139
13158
  }
13140
- const D = f.getAttribute("data-width"), S = f.getAttribute("data-height"), Y = f.getAttribute("data-max-width"), C = f.getAttribute("data-max-height"), H = D || S || Y || C ? {
13141
- width: D ? isNaN(Number(D)) ? D : Number(D) : void 0,
13159
+ const O = f.getAttribute("data-width"), S = f.getAttribute("data-height"), G = f.getAttribute("data-max-width"), D = f.getAttribute("data-max-height"), H = O || S || G || D ? {
13160
+ width: O ? isNaN(Number(O)) ? O : Number(O) : void 0,
13142
13161
  height: S ? isNaN(Number(S)) ? S : Number(S) : void 0,
13143
- maxWidth: Y ? isNaN(Number(Y)) ? Y : Number(Y) : void 0,
13144
- maxHeight: C ? isNaN(Number(C)) ? C : Number(C) : void 0
13162
+ maxWidth: G ? isNaN(Number(G)) ? G : Number(G) : void 0,
13163
+ maxHeight: D ? isNaN(Number(D)) ? D : Number(D) : void 0
13145
13164
  } : void 0, w = {
13146
13165
  publishableKey: M,
13147
13166
  apiKey: o,
13148
- authToken: O,
13167
+ authToken: C,
13149
13168
  contextId: f.getAttribute("data-context-id") || void 0,
13150
13169
  unityBaseUrl: f.getAttribute("data-unity-url") || "https://api.glydeunity.com",
13151
13170
  contextType: f.getAttribute("data-context-type") || "screening",
@@ -13182,19 +13201,19 @@ export {
13182
13201
  Af as MessageIcon,
13183
13202
  Ju as MicIcon,
13184
13203
  Kg as MicOffIcon,
13185
- Cg as MinimizeIcon,
13204
+ Og as MinimizeIcon,
13186
13205
  Jg as PhoneIcon,
13187
13206
  Ag as PhoneOffIcon,
13188
13207
  Tg as SendIcon,
13189
13208
  wd as TextChat,
13190
13209
  zg as UserIcon,
13191
- Gd as VoiceChat,
13210
+ Yd as VoiceChat,
13192
13211
  _g as VolumeXIcon,
13193
- Og as XIcon,
13194
- Dt as componentStyles,
13212
+ Cg as XIcon,
13213
+ Ot as componentStyles,
13195
13214
  Ug as getPositionStyles,
13196
13215
  qd as getThemeCSSVariables,
13197
- Yd as globalStyles,
13216
+ Gd as globalStyles,
13198
13217
  ku as injectGlobalStyles,
13199
13218
  Dg as themeColors,
13200
13219
  Wg as updateTheme,