zywlagent 0.1.25 → 0.1.26

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.
@@ -73,7 +73,7 @@ function i0() {
73
73
  return j.now() - Y;
74
74
  };
75
75
  }
76
- var h = [], v = [], Z = 1, E = null, K = 3, _ = !1, W = !1, at = !1, R = !1, dt = typeof setTimeout == "function" ? setTimeout : null, lt = typeof clearTimeout == "function" ? clearTimeout : null, H = typeof setImmediate < "u" ? setImmediate : null;
76
+ var h = [], v = [], Z = 1, E = null, R = 3, $ = !1, W = !1, at = !1, K = !1, dt = typeof setTimeout == "function" ? setTimeout : null, lt = typeof clearTimeout == "function" ? clearTimeout : null, H = typeof setImmediate < "u" ? setImmediate : null;
77
77
  function ht(z) {
78
78
  for (var G = m(v); G !== null; ) {
79
79
  if (G.callback === null) f(v);
@@ -92,25 +92,25 @@ function i0() {
92
92
  G !== null && Bt(st, G.startTime - z);
93
93
  }
94
94
  }
95
- var J = !1, B = -1, $ = 5, St = -1;
95
+ var J = !1, B = -1, P = 5, jt = -1;
96
96
  function Qt() {
97
- return R ? !0 : !(r.unstable_now() - St < $);
97
+ return K ? !0 : !(r.unstable_now() - jt < P);
98
98
  }
99
99
  function Lt() {
100
- if (R = !1, J) {
100
+ if (K = !1, J) {
101
101
  var z = r.unstable_now();
102
- St = z;
102
+ jt = z;
103
103
  var G = !0;
104
104
  try {
105
105
  t: {
106
- W = !1, at && (at = !1, lt(B), B = -1), _ = !0;
107
- var U = K;
106
+ W = !1, at && (at = !1, lt(B), B = -1), $ = !0;
107
+ var U = R;
108
108
  try {
109
109
  e: {
110
110
  for (ht(z), E = m(h); E !== null && !(E.expirationTime > z && Qt()); ) {
111
111
  var ot = E.callback;
112
112
  if (typeof ot == "function") {
113
- E.callback = null, K = E.priorityLevel;
113
+ E.callback = null, R = E.priorityLevel;
114
114
  var vt = ot(
115
115
  E.expirationTime <= z
116
116
  );
@@ -133,7 +133,7 @@ function i0() {
133
133
  }
134
134
  break t;
135
135
  } finally {
136
- E = null, K = U, _ = !1;
136
+ E = null, R = U, $ = !1;
137
137
  }
138
138
  G = void 0;
139
139
  }
@@ -166,28 +166,28 @@ function i0() {
166
166
  }, r.unstable_forceFrameRate = function(z) {
167
167
  0 > z || 125 < z ? console.error(
168
168
  "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
169
- ) : $ = 0 < z ? Math.floor(1e3 / z) : 5;
169
+ ) : P = 0 < z ? Math.floor(1e3 / z) : 5;
170
170
  }, r.unstable_getCurrentPriorityLevel = function() {
171
- return K;
171
+ return R;
172
172
  }, r.unstable_next = function(z) {
173
- switch (K) {
173
+ switch (R) {
174
174
  case 1:
175
175
  case 2:
176
176
  case 3:
177
177
  var G = 3;
178
178
  break;
179
179
  default:
180
- G = K;
180
+ G = R;
181
181
  }
182
- var U = K;
183
- K = G;
182
+ var U = R;
183
+ R = G;
184
184
  try {
185
185
  return z();
186
186
  } finally {
187
- K = U;
187
+ R = U;
188
188
  }
189
189
  }, r.unstable_requestPaint = function() {
190
- R = !0;
190
+ K = !0;
191
191
  }, r.unstable_runWithPriority = function(z, G) {
192
192
  switch (z) {
193
193
  case 1:
@@ -199,12 +199,12 @@ function i0() {
199
199
  default:
200
200
  z = 3;
201
201
  }
202
- var U = K;
203
- K = z;
202
+ var U = R;
203
+ R = z;
204
204
  try {
205
205
  return G();
206
206
  } finally {
207
- K = U;
207
+ R = U;
208
208
  }
209
209
  }, r.unstable_scheduleCallback = function(z, G, U) {
210
210
  var ot = r.unstable_now();
@@ -231,16 +231,16 @@ function i0() {
231
231
  startTime: U,
232
232
  expirationTime: vt,
233
233
  sortIndex: -1
234
- }, U > ot ? (z.sortIndex = U, u(v, z), m(h) === null && z === m(v) && (at ? (lt(B), B = -1) : at = !0, Bt(st, U - ot))) : (z.sortIndex = vt, u(h, z), W || _ || (W = !0, J || (J = !0, X()))), z;
234
+ }, U > ot ? (z.sortIndex = U, u(v, z), m(h) === null && z === m(v) && (at ? (lt(B), B = -1) : at = !0, Bt(st, U - ot))) : (z.sortIndex = vt, u(h, z), W || $ || (W = !0, J || (J = !0, X()))), z;
235
235
  }, r.unstable_shouldYield = Qt, r.unstable_wrapCallback = function(z) {
236
- var G = K;
236
+ var G = R;
237
237
  return function() {
238
- var U = K;
239
- K = G;
238
+ var U = R;
239
+ R = G;
240
240
  try {
241
241
  return z.apply(this, arguments);
242
242
  } finally {
243
- K = U;
243
+ R = U;
244
244
  }
245
245
  };
246
246
  };
@@ -255,9 +255,9 @@ var _d;
255
255
  function s0() {
256
256
  if (_d) return ft;
257
257
  _d = 1;
258
- var r = /* @__PURE__ */ Symbol.for("react.transitional.element"), u = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), f = /* @__PURE__ */ Symbol.for("react.strict_mode"), T = /* @__PURE__ */ Symbol.for("react.profiler"), b = /* @__PURE__ */ Symbol.for("react.consumer"), j = /* @__PURE__ */ Symbol.for("react.context"), Y = /* @__PURE__ */ Symbol.for("react.forward_ref"), h = /* @__PURE__ */ Symbol.for("react.suspense"), v = /* @__PURE__ */ Symbol.for("react.memo"), Z = /* @__PURE__ */ Symbol.for("react.lazy"), E = /* @__PURE__ */ Symbol.for("react.activity"), K = Symbol.iterator;
259
- function _(p) {
260
- return p === null || typeof p != "object" ? null : (p = K && p[K] || p["@@iterator"], typeof p == "function" ? p : null);
258
+ var r = /* @__PURE__ */ Symbol.for("react.transitional.element"), u = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), f = /* @__PURE__ */ Symbol.for("react.strict_mode"), T = /* @__PURE__ */ Symbol.for("react.profiler"), b = /* @__PURE__ */ Symbol.for("react.consumer"), j = /* @__PURE__ */ Symbol.for("react.context"), Y = /* @__PURE__ */ Symbol.for("react.forward_ref"), h = /* @__PURE__ */ Symbol.for("react.suspense"), v = /* @__PURE__ */ Symbol.for("react.memo"), Z = /* @__PURE__ */ Symbol.for("react.lazy"), E = /* @__PURE__ */ Symbol.for("react.activity"), R = Symbol.iterator;
259
+ function $(p) {
260
+ return p === null || typeof p != "object" ? null : (p = R && p[R] || p["@@iterator"], typeof p == "function" ? p : null);
261
261
  }
262
262
  var W = {
263
263
  isMounted: function() {
@@ -269,9 +269,9 @@ function s0() {
269
269
  },
270
270
  enqueueSetState: function() {
271
271
  }
272
- }, at = Object.assign, R = {};
272
+ }, at = Object.assign, K = {};
273
273
  function dt(p, C, Q) {
274
- this.props = p, this.context = C, this.refs = R, this.updater = Q || W;
274
+ this.props = p, this.context = C, this.refs = K, this.updater = Q || W;
275
275
  }
276
276
  dt.prototype.isReactComponent = {}, dt.prototype.setState = function(p, C) {
277
277
  if (typeof p != "object" && typeof p != "function" && p != null)
@@ -286,15 +286,15 @@ function s0() {
286
286
  }
287
287
  lt.prototype = dt.prototype;
288
288
  function H(p, C, Q) {
289
- this.props = p, this.context = C, this.refs = R, this.updater = Q || W;
289
+ this.props = p, this.context = C, this.refs = K, this.updater = Q || W;
290
290
  }
291
291
  var ht = H.prototype = new lt();
292
292
  ht.constructor = H, at(ht, dt.prototype), ht.isPureReactComponent = !0;
293
293
  var st = Array.isArray;
294
294
  function J() {
295
295
  }
296
- var B = { H: null, A: null, T: null, S: null }, $ = Object.prototype.hasOwnProperty;
297
- function St(p, C, Q) {
296
+ var B = { H: null, A: null, T: null, S: null }, P = Object.prototype.hasOwnProperty;
297
+ function jt(p, C, Q) {
298
298
  var I = Q.ref;
299
299
  return {
300
300
  $$typeof: r,
@@ -305,7 +305,7 @@ function s0() {
305
305
  };
306
306
  }
307
307
  function Qt(p, C) {
308
- return St(p.type, C, p.props);
308
+ return jt(p.type, C, p.props);
309
309
  }
310
310
  function Lt(p) {
311
311
  return typeof p == "object" && p !== null && p.$$typeof === r;
@@ -384,17 +384,17 @@ function s0() {
384
384
  xt = 0;
385
385
  var ie = I === "" ? "." : I + ":";
386
386
  if (st(p))
387
- for (var Rt = 0; Rt < p.length; Rt++)
388
- I = p[Rt], yt = ie + wt(I, Rt), xt += z(
387
+ for (var Kt = 0; Kt < p.length; Kt++)
388
+ I = p[Kt], yt = ie + wt(I, Kt), xt += z(
389
389
  I,
390
390
  C,
391
391
  Q,
392
392
  yt,
393
393
  ut
394
394
  );
395
- else if (Rt = _(p), typeof Rt == "function")
396
- for (p = Rt.call(p), Rt = 0; !(I = p.next()).done; )
397
- I = I.value, yt = ie + wt(I, Rt++), xt += z(
395
+ else if (Kt = $(p), typeof Kt == "function")
396
+ for (p = Kt.call(p), Kt = 0; !(I = p.next()).done; )
397
+ I = I.value, yt = ie + wt(I, Kt++), xt += z(
398
398
  I,
399
399
  C,
400
400
  Q,
@@ -501,7 +501,7 @@ function s0() {
501
501
  var I = at({}, p.props), ut = p.key;
502
502
  if (C != null)
503
503
  for (yt in C.key !== void 0 && (ut = "" + C.key), C)
504
- !$.call(C, yt) || yt === "key" || yt === "__self" || yt === "__source" || yt === "ref" && C.ref === void 0 || (I[yt] = C[yt]);
504
+ !P.call(C, yt) || yt === "key" || yt === "__self" || yt === "__source" || yt === "ref" && C.ref === void 0 || (I[yt] = C[yt]);
505
505
  var yt = arguments.length - 2;
506
506
  if (yt === 1) I.children = Q;
507
507
  else if (1 < yt) {
@@ -509,7 +509,7 @@ function s0() {
509
509
  xt[ie] = arguments[ie + 2];
510
510
  I.children = xt;
511
511
  }
512
- return St(p.type, ut, I);
512
+ return jt(p.type, ut, I);
513
513
  }, ft.createContext = function(p) {
514
514
  return p = {
515
515
  $$typeof: j,
@@ -526,18 +526,18 @@ function s0() {
526
526
  var I, ut = {}, yt = null;
527
527
  if (C != null)
528
528
  for (I in C.key !== void 0 && (yt = "" + C.key), C)
529
- $.call(C, I) && I !== "key" && I !== "__self" && I !== "__source" && (ut[I] = C[I]);
529
+ P.call(C, I) && I !== "key" && I !== "__self" && I !== "__source" && (ut[I] = C[I]);
530
530
  var xt = arguments.length - 2;
531
531
  if (xt === 1) ut.children = Q;
532
532
  else if (1 < xt) {
533
- for (var ie = Array(xt), Rt = 0; Rt < xt; Rt++)
534
- ie[Rt] = arguments[Rt + 2];
533
+ for (var ie = Array(xt), Kt = 0; Kt < xt; Kt++)
534
+ ie[Kt] = arguments[Kt + 2];
535
535
  ut.children = ie;
536
536
  }
537
537
  if (p && p.defaultProps)
538
538
  for (I in xt = p.defaultProps, xt)
539
539
  ut[I] === void 0 && (ut[I] = xt[I]);
540
- return St(p, yt, ut);
540
+ return jt(p, yt, ut);
541
541
  }, ft.createRef = function() {
542
542
  return { current: null };
543
543
  }, ft.forwardRef = function(p) {
@@ -682,19 +682,19 @@ function c0() {
682
682
  typeof h == "string" && f.d.D(h);
683
683
  }, fe.preinit = function(h, v) {
684
684
  if (typeof h == "string" && v && typeof v.as == "string") {
685
- var Z = v.as, E = Y(Z, v.crossOrigin), K = typeof v.integrity == "string" ? v.integrity : void 0, _ = typeof v.fetchPriority == "string" ? v.fetchPriority : void 0;
685
+ var Z = v.as, E = Y(Z, v.crossOrigin), R = typeof v.integrity == "string" ? v.integrity : void 0, $ = typeof v.fetchPriority == "string" ? v.fetchPriority : void 0;
686
686
  Z === "style" ? f.d.S(
687
687
  h,
688
688
  typeof v.precedence == "string" ? v.precedence : void 0,
689
689
  {
690
690
  crossOrigin: E,
691
- integrity: K,
692
- fetchPriority: _
691
+ integrity: R,
692
+ fetchPriority: $
693
693
  }
694
694
  ) : Z === "script" && f.d.X(h, {
695
695
  crossOrigin: E,
696
- integrity: K,
697
- fetchPriority: _,
696
+ integrity: R,
697
+ fetchPriority: $,
698
698
  nonce: typeof v.nonce == "string" ? v.nonce : void 0
699
699
  });
700
700
  }
@@ -875,7 +875,7 @@ function o0() {
875
875
  }
876
876
  return null;
877
877
  }
878
- var E = Object.assign, K = /* @__PURE__ */ Symbol.for("react.element"), _ = /* @__PURE__ */ Symbol.for("react.transitional.element"), W = /* @__PURE__ */ Symbol.for("react.portal"), at = /* @__PURE__ */ Symbol.for("react.fragment"), R = /* @__PURE__ */ Symbol.for("react.strict_mode"), dt = /* @__PURE__ */ Symbol.for("react.profiler"), lt = /* @__PURE__ */ Symbol.for("react.consumer"), H = /* @__PURE__ */ Symbol.for("react.context"), ht = /* @__PURE__ */ Symbol.for("react.forward_ref"), st = /* @__PURE__ */ Symbol.for("react.suspense"), J = /* @__PURE__ */ Symbol.for("react.suspense_list"), B = /* @__PURE__ */ Symbol.for("react.memo"), $ = /* @__PURE__ */ Symbol.for("react.lazy"), St = /* @__PURE__ */ Symbol.for("react.activity"), Qt = /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel"), Lt = Symbol.iterator;
878
+ var E = Object.assign, R = /* @__PURE__ */ Symbol.for("react.element"), $ = /* @__PURE__ */ Symbol.for("react.transitional.element"), W = /* @__PURE__ */ Symbol.for("react.portal"), at = /* @__PURE__ */ Symbol.for("react.fragment"), K = /* @__PURE__ */ Symbol.for("react.strict_mode"), dt = /* @__PURE__ */ Symbol.for("react.profiler"), lt = /* @__PURE__ */ Symbol.for("react.consumer"), H = /* @__PURE__ */ Symbol.for("react.context"), ht = /* @__PURE__ */ Symbol.for("react.forward_ref"), st = /* @__PURE__ */ Symbol.for("react.suspense"), J = /* @__PURE__ */ Symbol.for("react.suspense_list"), B = /* @__PURE__ */ Symbol.for("react.memo"), P = /* @__PURE__ */ Symbol.for("react.lazy"), jt = /* @__PURE__ */ Symbol.for("react.activity"), Qt = /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel"), Lt = Symbol.iterator;
879
879
  function X(t) {
880
880
  return t === null || typeof t != "object" ? null : (t = Lt && t[Lt] || t["@@iterator"], typeof t == "function" ? t : null);
881
881
  }
@@ -890,13 +890,13 @@ function o0() {
890
890
  return "Fragment";
891
891
  case dt:
892
892
  return "Profiler";
893
- case R:
893
+ case K:
894
894
  return "StrictMode";
895
895
  case st:
896
896
  return "Suspense";
897
897
  case J:
898
898
  return "SuspenseList";
899
- case St:
899
+ case jt:
900
900
  return "Activity";
901
901
  }
902
902
  if (typeof t == "object")
@@ -912,7 +912,7 @@ function o0() {
912
912
  return t = t.displayName, t || (t = e.displayName || e.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
913
913
  case B:
914
914
  return e = t.displayName || null, e !== null ? e : wt(t.type) || "Memo";
915
- case $:
915
+ case P:
916
916
  e = t._payload, t = t._init;
917
917
  try {
918
918
  return wt(t(e));
@@ -960,7 +960,7 @@ function o0() {
960
960
  }
961
961
  C(I), Q(I, t);
962
962
  }
963
- function Rt() {
963
+ function Kt() {
964
964
  C(I), C(ut), C(yt);
965
965
  }
966
966
  function La(t) {
@@ -969,10 +969,10 @@ function o0() {
969
969
  e !== a && (Q(ut, t), Q(I, a));
970
970
  }
971
971
  function sn(t) {
972
- ut.current === t && (C(I), C(ut)), xt.current === t && (C(xt), Kl._currentValue = U);
972
+ ut.current === t && (C(I), C(ut)), xt.current === t && (C(xt), Rl._currentValue = U);
973
973
  }
974
974
  var cn, Vn;
975
- function Ke(t) {
975
+ function Re(t) {
976
976
  if (cn === void 0)
977
977
  try {
978
978
  throw Error();
@@ -1073,20 +1073,20 @@ function o0() {
1073
1073
  } finally {
1074
1074
  Pn = !1, Error.prepareStackTrace = a;
1075
1075
  }
1076
- return (a = t ? t.displayName || t.name : "") ? Ke(a) : "";
1076
+ return (a = t ? t.displayName || t.name : "") ? Re(a) : "";
1077
1077
  }
1078
1078
  function _l(t, e) {
1079
1079
  switch (t.tag) {
1080
1080
  case 26:
1081
1081
  case 27:
1082
1082
  case 5:
1083
- return Ke(t.type);
1083
+ return Re(t.type);
1084
1084
  case 16:
1085
- return Ke("Lazy");
1085
+ return Re("Lazy");
1086
1086
  case 13:
1087
- return t.child !== e && e !== null ? Ke("Suspense Fallback") : Ke("Suspense");
1087
+ return t.child !== e && e !== null ? Re("Suspense Fallback") : Re("Suspense");
1088
1088
  case 19:
1089
- return Ke("SuspenseList");
1089
+ return Re("SuspenseList");
1090
1090
  case 0:
1091
1091
  case 15:
1092
1092
  return _n(t.type, !1);
@@ -1095,7 +1095,7 @@ function o0() {
1095
1095
  case 1:
1096
1096
  return _n(t.type, !0);
1097
1097
  case 31:
1098
- return Ke("Activity");
1098
+ return Re("Activity");
1099
1099
  default:
1100
1100
  return "";
1101
1101
  }
@@ -1113,16 +1113,16 @@ Error generating stack: ` + n.message + `
1113
1113
  ` + n.stack;
1114
1114
  }
1115
1115
  }
1116
- var on = Object.prototype.hasOwnProperty, tl = r.unstable_scheduleCallback, el = r.unstable_cancelCallback, yr = r.unstable_shouldYield, D = r.unstable_requestPaint, L = r.unstable_now, P = r.unstable_getCurrentPriorityLevel, it = r.unstable_ImmediatePriority, F = r.unstable_UserBlockingPriority, jt = r.unstable_NormalPriority, pt = r.unstable_LowPriority, Ft = r.unstable_IdlePriority, Re = r.log, He = r.unstable_setDisableYieldValue, me = null, nt = null;
1116
+ var on = Object.prototype.hasOwnProperty, tl = r.unstable_scheduleCallback, el = r.unstable_cancelCallback, yr = r.unstable_shouldYield, D = r.unstable_requestPaint, L = r.unstable_now, _ = r.unstable_getCurrentPriorityLevel, it = r.unstable_ImmediatePriority, F = r.unstable_UserBlockingPriority, zt = r.unstable_NormalPriority, pt = r.unstable_LowPriority, Ft = r.unstable_IdlePriority, Ke = r.log, He = r.unstable_setDisableYieldValue, me = null, nt = null;
1117
1117
  function Pt(t) {
1118
- if (typeof Re == "function" && He(t), nt && typeof nt.setStrictMode == "function")
1118
+ if (typeof Ke == "function" && He(t), nt && typeof nt.setStrictMode == "function")
1119
1119
  try {
1120
1120
  nt.setStrictMode(me, t);
1121
1121
  } catch {
1122
1122
  }
1123
1123
  }
1124
- var mt = Math.clz32 ? Math.clz32 : Km, tt = Math.log, Ha = Math.LN2;
1125
- function Km(t) {
1124
+ var mt = Math.clz32 ? Math.clz32 : Rm, tt = Math.log, Ha = Math.LN2;
1125
+ function Rm(t) {
1126
1126
  return t >>>= 0, t === 0 ? 32 : 31 - (tt(t) / Ha | 0) | 0;
1127
1127
  }
1128
1128
  var $l = 256, ti = 262144, ei = 4194304;
@@ -1192,7 +1192,7 @@ Error generating stack: ` + n.message + `
1192
1192
  function al(t, e) {
1193
1193
  return (t.pendingLanes & ~(t.suspendedLanes & ~t.pingedLanes) & e) === 0;
1194
1194
  }
1195
- function Rm(t, e) {
1195
+ function Km(t, e) {
1196
1196
  switch (t) {
1197
1197
  case 1:
1198
1198
  case 2:
@@ -2215,10 +2215,10 @@ Error generating stack: ` + n.message + `
2215
2215
  var e = t && t.nodeName && t.nodeName.toLowerCase();
2216
2216
  return e && (e === "input" && (t.type === "text" || t.type === "search" || t.type === "tel" || t.type === "url" || t.type === "password") || e === "textarea" || t.contentEditable === "true");
2217
2217
  }
2218
- var kg = Pe && "documentMode" in document && 11 >= document.documentMode, xn = null, Qr = null, gl = null, Kr = !1;
2218
+ var kg = Pe && "documentMode" in document && 11 >= document.documentMode, xn = null, Qr = null, gl = null, Rr = !1;
2219
2219
  function Lo(t, e, a) {
2220
2220
  var n = a.window === a ? a.document : a.nodeType === 9 ? a : a.ownerDocument;
2221
- Kr || xn == null || xn !== ii(n) || (n = xn, "selectionStart" in n && Ur(n) ? n = { start: n.selectionStart, end: n.selectionEnd } : (n = (n.ownerDocument && n.ownerDocument.defaultView || window).getSelection(), n = {
2221
+ Rr || xn == null || xn !== ii(n) || (n = xn, "selectionStart" in n && Ur(n) ? n = { start: n.selectionStart, end: n.selectionEnd } : (n = (n.ownerDocument && n.ownerDocument.defaultView || window).getSelection(), n = {
2222
2222
  anchorNode: n.anchorNode,
2223
2223
  anchorOffset: n.anchorOffset,
2224
2224
  focusNode: n.focusNode,
@@ -2231,35 +2231,35 @@ Error generating stack: ` + n.message + `
2231
2231
  a
2232
2232
  ), t.push({ event: e, listeners: n }), e.target = xn)));
2233
2233
  }
2234
- function Ka(t, e) {
2234
+ function Ra(t, e) {
2235
2235
  var a = {};
2236
2236
  return a[t.toLowerCase()] = e.toLowerCase(), a["Webkit" + t] = "webkit" + e, a["Moz" + t] = "moz" + e, a;
2237
2237
  }
2238
2238
  var wn = {
2239
- animationend: Ka("Animation", "AnimationEnd"),
2240
- animationiteration: Ka("Animation", "AnimationIteration"),
2241
- animationstart: Ka("Animation", "AnimationStart"),
2242
- transitionrun: Ka("Transition", "TransitionRun"),
2243
- transitionstart: Ka("Transition", "TransitionStart"),
2244
- transitioncancel: Ka("Transition", "TransitionCancel"),
2245
- transitionend: Ka("Transition", "TransitionEnd")
2246
- }, Rr = {}, Ho = {};
2239
+ animationend: Ra("Animation", "AnimationEnd"),
2240
+ animationiteration: Ra("Animation", "AnimationIteration"),
2241
+ animationstart: Ra("Animation", "AnimationStart"),
2242
+ transitionrun: Ra("Transition", "TransitionRun"),
2243
+ transitionstart: Ra("Transition", "TransitionStart"),
2244
+ transitioncancel: Ra("Transition", "TransitionCancel"),
2245
+ transitionend: Ra("Transition", "TransitionEnd")
2246
+ }, Kr = {}, Ho = {};
2247
2247
  Pe && (Ho = document.createElement("div").style, "AnimationEvent" in window || (delete wn.animationend.animation, delete wn.animationiteration.animation, delete wn.animationstart.animation), "TransitionEvent" in window || delete wn.transitionend.transition);
2248
- function Ra(t) {
2249
- if (Rr[t]) return Rr[t];
2248
+ function Ka(t) {
2249
+ if (Kr[t]) return Kr[t];
2250
2250
  if (!wn[t]) return t;
2251
2251
  var e = wn[t], a;
2252
2252
  for (a in e)
2253
2253
  if (e.hasOwnProperty(a) && a in Ho)
2254
- return Rr[t] = e[a];
2254
+ return Kr[t] = e[a];
2255
2255
  return t;
2256
2256
  }
2257
- var Xo = Ra("animationend"), Uo = Ra("animationiteration"), Qo = Ra("animationstart"), Zg = Ra("transitionrun"), Lg = Ra("transitionstart"), Hg = Ra("transitioncancel"), Ko = Ra("transitionend"), Ro = /* @__PURE__ */ new Map(), Fr = "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(
2257
+ var Xo = Ka("animationend"), Uo = Ka("animationiteration"), Qo = Ka("animationstart"), Zg = Ka("transitionrun"), Lg = Ka("transitionstart"), Hg = Ka("transitioncancel"), Ro = Ka("transitionend"), Ko = /* @__PURE__ */ new Map(), Fr = "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(
2258
2258
  " "
2259
2259
  );
2260
2260
  Fr.push("scrollEnd");
2261
2261
  function Xe(t, e) {
2262
- Ro.set(t, e), Ua(e, [t]);
2262
+ Ko.set(t, e), Ua(e, [t]);
2263
2263
  }
2264
2264
  var mi = typeof reportError == "function" ? reportError : function(t) {
2265
2265
  if (typeof window == "object" && typeof window.ErrorEvent == "function") {
@@ -2354,11 +2354,11 @@ Error generating stack: ` + n.message + `
2354
2354
  ) ? 26 : t === "html" || t === "head" || t === "body" ? 27 : 5;
2355
2355
  else
2356
2356
  t: switch (t) {
2357
- case St:
2358
- return t = Ne(31, a, e, l), t.elementType = St, t.lanes = i, t;
2357
+ case jt:
2358
+ return t = Ne(31, a, e, l), t.elementType = jt, t.lanes = i, t;
2359
2359
  case at:
2360
2360
  return Ja(a.children, l, i, e);
2361
- case R:
2361
+ case K:
2362
2362
  s = 8, l |= 24;
2363
2363
  break;
2364
2364
  case dt:
@@ -2382,7 +2382,7 @@ Error generating stack: ` + n.message + `
2382
2382
  case B:
2383
2383
  s = 14;
2384
2384
  break t;
2385
- case $:
2385
+ case P:
2386
2386
  s = 16, n = null;
2387
2387
  break t;
2388
2388
  }
@@ -2459,7 +2459,7 @@ Error generating stack: ` + n.message + `
2459
2459
  function Vo(t, e) {
2460
2460
  Ye[Be++] = Fe, Ye[Be++] = Je, Ye[Be++] = pa, Fe = e.id, Je = e.overflow, pa = t;
2461
2461
  }
2462
- var se = null, Xt = null, Ot = !1, ba = null, Ge = !1, $r = Error(f(519));
2462
+ var se = null, Xt = null, St = !1, ba = null, Ge = !1, $r = Error(f(519));
2463
2463
  function ha(t) {
2464
2464
  var e = Error(
2465
2465
  f(
@@ -2535,7 +2535,7 @@ Error generating stack: ` + n.message + `
2535
2535
  }
2536
2536
  function Tn(t) {
2537
2537
  if (t !== se) return !1;
2538
- if (!Ot) return _o(t), Ot = !0, !1;
2538
+ if (!St) return _o(t), St = !0, !1;
2539
2539
  var e = t.tag, a;
2540
2540
  if ((a = e !== 3 && e !== 27) && ((a = e === 5) && (a = t.type, a = !(a !== "form" && a !== "button") || hc(t.type, t.memoizedProps)), a = !a), a && Xt && ha(t), _o(t), e === 13) {
2541
2541
  if (t = t.memoizedState, t = t !== null ? t.dehydrated : null, !t) throw Error(f(317));
@@ -2548,7 +2548,7 @@ Error generating stack: ` + n.message + `
2548
2548
  return !0;
2549
2549
  }
2550
2550
  function qa() {
2551
- Xt = se = null, Ot = !1;
2551
+ Xt = se = null, St = !1;
2552
2552
  }
2553
2553
  function ts() {
2554
2554
  var t = ba;
@@ -2631,7 +2631,7 @@ Error generating stack: ` + n.message + `
2631
2631
  }
2632
2632
  } else if (l === xt.current) {
2633
2633
  if (s = l.alternate, s === null) throw Error(f(387));
2634
- s.memoizedState.memoizedState !== l.memoizedState.memoizedState && (t !== null ? t.push(Kl) : t = [Kl]);
2634
+ s.memoizedState.memoizedState !== l.memoizedState.memoizedState && (t !== null ? t.push(Rl) : t = [Rl]);
2635
2635
  }
2636
2636
  l = l.return;
2637
2637
  }
@@ -2682,7 +2682,7 @@ Error generating stack: ` + n.message + `
2682
2682
  return a();
2683
2683
  });
2684
2684
  };
2685
- }, Qg = r.unstable_scheduleCallback, Kg = r.unstable_NormalPriority, _t = {
2685
+ }, Qg = r.unstable_scheduleCallback, Rg = r.unstable_NormalPriority, _t = {
2686
2686
  $$typeof: H,
2687
2687
  Consumer: null,
2688
2688
  Provider: null,
@@ -2698,12 +2698,12 @@ Error generating stack: ` + n.message + `
2698
2698
  };
2699
2699
  }
2700
2700
  function hl(t) {
2701
- t.refCount--, t.refCount === 0 && Qg(Kg, function() {
2701
+ t.refCount--, t.refCount === 0 && Qg(Rg, function() {
2702
2702
  t.controller.abort();
2703
2703
  });
2704
2704
  }
2705
2705
  var vl = null, is = 0, Sn = 0, Dn = null;
2706
- function Rg(t, e) {
2706
+ function Kg(t, e) {
2707
2707
  if (vl === null) {
2708
2708
  var a = vl = [];
2709
2709
  is = 0, Sn = cc(), Dn = {
@@ -2746,7 +2746,7 @@ Error generating stack: ` + n.message + `
2746
2746
  }
2747
2747
  var eu = z.S;
2748
2748
  z.S = function(t, e) {
2749
- Hf = L(), typeof e == "object" && e !== null && typeof e.then == "function" && Rg(t, e), eu !== null && eu(t, e);
2749
+ Hf = L(), typeof e == "object" && e !== null && typeof e.then == "function" && Kg(t, e), eu !== null && eu(t, e);
2750
2750
  };
2751
2751
  var Va = p(null);
2752
2752
  function rs() {
@@ -2827,7 +2827,7 @@ Error generating stack: ` + n.message + `
2827
2827
  e = e.props.ref, t.ref = e !== void 0 ? e : null;
2828
2828
  }
2829
2829
  function zi(t, e) {
2830
- throw e.$$typeof === K ? Error(f(525)) : (t = Object.prototype.toString.call(e), Error(
2830
+ throw e.$$typeof === R ? Error(f(525)) : (t = Object.prototype.toString.call(e), Error(
2831
2831
  f(
2832
2832
  31,
2833
2833
  t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t
@@ -2872,7 +2872,7 @@ Error generating stack: ` + n.message + `
2872
2872
  x.props.children,
2873
2873
  S,
2874
2874
  x.key
2875
- ) : g !== null && (g.elementType === et || typeof et == "object" && et !== null && et.$$typeof === $ && Pa(et) === g.type) ? (g = l(g, x.props), xl(g, x), g.return = y, g) : (g = hi(
2875
+ ) : g !== null && (g.elementType === et || typeof et == "object" && et !== null && et.$$typeof === P && Pa(et) === g.type) ? (g = l(g, x.props), xl(g, x), g.return = y, g) : (g = hi(
2876
2876
  x.type,
2877
2877
  x.key,
2878
2878
  x.props,
@@ -2901,7 +2901,7 @@ Error generating stack: ` + n.message + `
2901
2901
  ), g.return = y, g;
2902
2902
  if (typeof g == "object" && g !== null) {
2903
2903
  switch (g.$$typeof) {
2904
- case _:
2904
+ case $:
2905
2905
  return x = hi(
2906
2906
  g.type,
2907
2907
  g.key,
@@ -2916,7 +2916,7 @@ Error generating stack: ` + n.message + `
2916
2916
  y.mode,
2917
2917
  x
2918
2918
  ), g.return = y, g;
2919
- case $:
2919
+ case P:
2920
2920
  return g = Pa(g), A(y, g, x);
2921
2921
  }
2922
2922
  if (Bt(g) || X(g))
@@ -2944,11 +2944,11 @@ Error generating stack: ` + n.message + `
2944
2944
  return et !== null ? null : o(y, g, "" + x, S);
2945
2945
  if (typeof x == "object" && x !== null) {
2946
2946
  switch (x.$$typeof) {
2947
- case _:
2947
+ case $:
2948
2948
  return x.key === et ? d(y, g, x, S) : null;
2949
2949
  case W:
2950
2950
  return x.key === et ? w(y, g, x, S) : null;
2951
- case $:
2951
+ case P:
2952
2952
  return x = Pa(x), M(y, g, x, S);
2953
2953
  }
2954
2954
  if (Bt(x) || X(x))
@@ -2976,7 +2976,7 @@ Error generating stack: ` + n.message + `
2976
2976
  return y = y.get(x) || null, o(g, y, "" + S, et);
2977
2977
  if (typeof S == "object" && S !== null) {
2978
2978
  switch (S.$$typeof) {
2979
- case _:
2979
+ case $:
2980
2980
  return y = y.get(
2981
2981
  S.key === null ? x : S.key
2982
2982
  ) || null, d(g, y, S, et);
@@ -2984,7 +2984,7 @@ Error generating stack: ` + n.message + `
2984
2984
  return y = y.get(
2985
2985
  S.key === null ? x : S.key
2986
2986
  ) || null, w(g, y, S, et);
2987
- case $:
2987
+ case P:
2988
2988
  return S = Pa(S), N(
2989
2989
  y,
2990
2990
  g,
@@ -3016,8 +3016,8 @@ Error generating stack: ` + n.message + `
3016
3016
  return null;
3017
3017
  }
3018
3018
  function q(y, g, x, S) {
3019
- for (var et = null, Dt = null, V = g, bt = g = 0, Tt = null; V !== null && bt < x.length; bt++) {
3020
- V.index > bt ? (Tt = V, V = null) : Tt = V.sibling;
3019
+ for (var et = null, Dt = null, V = g, bt = g = 0, Ot = null; V !== null && bt < x.length; bt++) {
3020
+ V.index > bt ? (Ot = V, V = null) : Ot = V.sibling;
3021
3021
  var At = M(
3022
3022
  y,
3023
3023
  V,
@@ -3025,13 +3025,13 @@ Error generating stack: ` + n.message + `
3025
3025
  S
3026
3026
  );
3027
3027
  if (At === null) {
3028
- V === null && (V = Tt);
3028
+ V === null && (V = Ot);
3029
3029
  break;
3030
3030
  }
3031
- t && V && At.alternate === null && e(y, V), g = i(At, g, bt), Dt === null ? et = At : Dt.sibling = At, Dt = At, V = Tt;
3031
+ t && V && At.alternate === null && e(y, V), g = i(At, g, bt), Dt === null ? et = At : Dt.sibling = At, Dt = At, V = Ot;
3032
3032
  }
3033
3033
  if (bt === x.length)
3034
- return a(y, V), Ot && $e(y, bt), et;
3034
+ return a(y, V), St && $e(y, bt), et;
3035
3035
  if (V === null) {
3036
3036
  for (; bt < x.length; bt++)
3037
3037
  V = A(y, x[bt], S), V !== null && (g = i(
@@ -3039,54 +3039,54 @@ Error generating stack: ` + n.message + `
3039
3039
  g,
3040
3040
  bt
3041
3041
  ), Dt === null ? et = V : Dt.sibling = V, Dt = V);
3042
- return Ot && $e(y, bt), et;
3042
+ return St && $e(y, bt), et;
3043
3043
  }
3044
3044
  for (V = n(V); bt < x.length; bt++)
3045
- Tt = N(
3045
+ Ot = N(
3046
3046
  V,
3047
3047
  y,
3048
3048
  bt,
3049
3049
  x[bt],
3050
3050
  S
3051
- ), Tt !== null && (t && Tt.alternate !== null && V.delete(
3052
- Tt.key === null ? bt : Tt.key
3051
+ ), Ot !== null && (t && Ot.alternate !== null && V.delete(
3052
+ Ot.key === null ? bt : Ot.key
3053
3053
  ), g = i(
3054
- Tt,
3054
+ Ot,
3055
3055
  g,
3056
3056
  bt
3057
- ), Dt === null ? et = Tt : Dt.sibling = Tt, Dt = Tt);
3057
+ ), Dt === null ? et = Ot : Dt.sibling = Ot, Dt = Ot);
3058
3058
  return t && V.forEach(function(ka) {
3059
3059
  return e(y, ka);
3060
- }), Ot && $e(y, bt), et;
3060
+ }), St && $e(y, bt), et;
3061
3061
  }
3062
3062
  function rt(y, g, x, S) {
3063
3063
  if (x == null) throw Error(f(151));
3064
- for (var et = null, Dt = null, V = g, bt = g = 0, Tt = null, At = x.next(); V !== null && !At.done; bt++, At = x.next()) {
3065
- V.index > bt ? (Tt = V, V = null) : Tt = V.sibling;
3064
+ for (var et = null, Dt = null, V = g, bt = g = 0, Ot = null, At = x.next(); V !== null && !At.done; bt++, At = x.next()) {
3065
+ V.index > bt ? (Ot = V, V = null) : Ot = V.sibling;
3066
3066
  var ka = M(y, V, At.value, S);
3067
3067
  if (ka === null) {
3068
- V === null && (V = Tt);
3068
+ V === null && (V = Ot);
3069
3069
  break;
3070
3070
  }
3071
- t && V && ka.alternate === null && e(y, V), g = i(ka, g, bt), Dt === null ? et = ka : Dt.sibling = ka, Dt = ka, V = Tt;
3071
+ t && V && ka.alternate === null && e(y, V), g = i(ka, g, bt), Dt === null ? et = ka : Dt.sibling = ka, Dt = ka, V = Ot;
3072
3072
  }
3073
3073
  if (At.done)
3074
- return a(y, V), Ot && $e(y, bt), et;
3074
+ return a(y, V), St && $e(y, bt), et;
3075
3075
  if (V === null) {
3076
3076
  for (; !At.done; bt++, At = x.next())
3077
3077
  At = A(y, At.value, S), At !== null && (g = i(At, g, bt), Dt === null ? et = At : Dt.sibling = At, Dt = At);
3078
- return Ot && $e(y, bt), et;
3078
+ return St && $e(y, bt), et;
3079
3079
  }
3080
3080
  for (V = n(V); !At.done; bt++, At = x.next())
3081
3081
  At = N(V, y, bt, At.value, S), At !== null && (t && At.alternate !== null && V.delete(At.key === null ? bt : At.key), g = i(At, g, bt), Dt === null ? et = At : Dt.sibling = At, Dt = At);
3082
3082
  return t && V.forEach(function(a0) {
3083
3083
  return e(y, a0);
3084
- }), Ot && $e(y, bt), et;
3084
+ }), St && $e(y, bt), et;
3085
3085
  }
3086
3086
  function Zt(y, g, x, S) {
3087
3087
  if (typeof x == "object" && x !== null && x.type === at && x.key === null && (x = x.props.children), typeof x == "object" && x !== null) {
3088
3088
  switch (x.$$typeof) {
3089
- case _:
3089
+ case $:
3090
3090
  t: {
3091
3091
  for (var et = x.key; g !== null; ) {
3092
3092
  if (g.key === et) {
@@ -3101,7 +3101,7 @@ Error generating stack: ` + n.message + `
3101
3101
  ), S.return = y, y = S;
3102
3102
  break t;
3103
3103
  }
3104
- } else if (g.elementType === et || typeof et == "object" && et !== null && et.$$typeof === $ && Pa(et) === g.type) {
3104
+ } else if (g.elementType === et || typeof et == "object" && et !== null && et.$$typeof === P && Pa(et) === g.type) {
3105
3105
  a(
3106
3106
  y,
3107
3107
  g.sibling
@@ -3148,7 +3148,7 @@ Error generating stack: ` + n.message + `
3148
3148
  S = Vr(x, y.mode, S), S.return = y, y = S;
3149
3149
  }
3150
3150
  return s(y);
3151
- case $:
3151
+ case P:
3152
3152
  return x = Pa(x), Zt(
3153
3153
  y,
3154
3154
  g,
@@ -3296,7 +3296,7 @@ Error generating stack: ` + n.message + `
3296
3296
  s = 0, O = w = d = null, o = i;
3297
3297
  do {
3298
3298
  var M = o.lane & -536870913, N = M !== o.lane;
3299
- if (N ? (zt & M) === M : (n & M) === M) {
3299
+ if (N ? (Tt & M) === M : (n & M) === M) {
3300
3300
  M !== 0 && M === Sn && (fs = !0), O !== null && (O = O.next = {
3301
3301
  lane: 0,
3302
3302
  tag: o.tag,
@@ -3548,7 +3548,7 @@ Error generating stack: ` + n.message + `
3548
3548
  var o = s = null, d = null, w = e, O = !1;
3549
3549
  do {
3550
3550
  var A = w.lane & -536870913;
3551
- if (A !== w.lane ? (zt & A) === A : (aa & A) === A) {
3551
+ if (A !== w.lane ? (Tt & A) === A : (aa & A) === A) {
3552
3552
  var M = w.revertLane;
3553
3553
  if (M === 0)
3554
3554
  d !== null && (d = d.next = {
@@ -3608,7 +3608,7 @@ Error generating stack: ` + n.message + `
3608
3608
  return [i, n];
3609
3609
  }
3610
3610
  function pu(t, e, a) {
3611
- var n = gt, l = Vt(), i = Ot;
3611
+ var n = gt, l = Vt(), i = St;
3612
3612
  if (i) {
3613
3613
  if (a === void 0) throw Error(f(407));
3614
3614
  a = a();
@@ -3759,12 +3759,12 @@ Error generating stack: ` + n.message + `
3759
3759
  return e;
3760
3760
  }
3761
3761
  function Ou(t, e) {
3762
- if (Ot) {
3762
+ if (St) {
3763
3763
  var a = Ht.formState;
3764
3764
  if (a !== null) {
3765
3765
  t: {
3766
3766
  var n = gt;
3767
- if (Ot) {
3767
+ if (St) {
3768
3768
  if (Xt) {
3769
3769
  e: {
3770
3770
  for (var l = Xt, i = Ge; l.nodeType !== 8; ) {
@@ -3955,10 +3955,10 @@ Error generating stack: ` + n.message + `
3955
3955
  return a.memoizedState = [n, e], n;
3956
3956
  }
3957
3957
  function Os(t, e, a) {
3958
- return a === void 0 || (aa & 1073741824) !== 0 && (zt & 261930) === 0 ? t.memoizedState = e : (t.memoizedState = a, t = Uf(), gt.lanes |= t, Ta |= t, a);
3958
+ return a === void 0 || (aa & 1073741824) !== 0 && (Tt & 261930) === 0 ? t.memoizedState = e : (t.memoizedState = a, t = Uf(), gt.lanes |= t, Ta |= t, a);
3959
3959
  }
3960
3960
  function Xu(t, e, a, n) {
3961
- return Me(a, e) ? a : En.current !== null ? (t = Os(t, a, n), Me(t, e) || (te = !0), t) : (aa & 42) === 0 || (aa & 1073741824) !== 0 && (zt & 261930) === 0 ? (te = !0, t.memoizedState = a) : (t = Uf(), gt.lanes |= t, Ta |= t, e);
3961
+ return Me(a, e) ? a : En.current !== null ? (t = Os(t, a, n), Me(t, e) || (te = !0), t) : (aa & 42) === 0 || (aa & 1073741824) !== 0 && (Tt & 261930) === 0 ? (te = !0, t.memoizedState = a) : (t = Uf(), gt.lanes |= t, Ta |= t, e);
3962
3962
  }
3963
3963
  function Uu(t, e, a, n, l) {
3964
3964
  var i = G.p;
@@ -4008,7 +4008,7 @@ Error generating stack: ` + n.message + `
4008
4008
  e,
4009
4009
  U,
4010
4010
  a === null ? Pg : function() {
4011
- return Ku(t), a(n);
4011
+ return Ru(t), a(n);
4012
4012
  }
4013
4013
  );
4014
4014
  }
@@ -4043,7 +4043,7 @@ Error generating stack: ` + n.message + `
4043
4043
  next: null
4044
4044
  }, t.memoizedState = e, t = t.alternate, t !== null && (t.memoizedState = e), e;
4045
4045
  }
4046
- function Ku(t) {
4046
+ function Ru(t) {
4047
4047
  var e = Qu(t);
4048
4048
  e.next === null && (e = t.alternate.memoizedState), Tl(
4049
4049
  t,
@@ -4053,9 +4053,9 @@ Error generating stack: ` + n.message + `
4053
4053
  );
4054
4054
  }
4055
4055
  function Ds() {
4056
- return ce(Kl);
4056
+ return ce(Rl);
4057
4057
  }
4058
- function Ru() {
4058
+ function Ku() {
4059
4059
  return Vt().memoizedState;
4060
4060
  }
4061
4061
  function Fu() {
@@ -4266,14 +4266,14 @@ Error generating stack: ` + n.message + `
4266
4266
  },
4267
4267
  useSyncExternalStore: function(t, e, a) {
4268
4268
  var n = gt, l = de();
4269
- if (Ot) {
4269
+ if (St) {
4270
4270
  if (a === void 0)
4271
4271
  throw Error(f(407));
4272
4272
  a = a();
4273
4273
  } else {
4274
4274
  if (a = e(), Ht === null)
4275
4275
  throw Error(f(349));
4276
- (zt & 127) !== 0 || bu(n, e, a);
4276
+ (Tt & 127) !== 0 || bu(n, e, a);
4277
4277
  }
4278
4278
  l.memoizedState = a;
4279
4279
  var i = { value: a, getSnapshot: e };
@@ -4294,7 +4294,7 @@ Error generating stack: ` + n.message + `
4294
4294
  },
4295
4295
  useId: function() {
4296
4296
  var t = de(), e = Ht.identifierPrefix;
4297
- if (Ot) {
4297
+ if (St) {
4298
4298
  var a = Je, n = Fe;
4299
4299
  a = (n & ~(1 << 32 - mt(n) - 1)).toString(32) + a, e = "_" + e + "R_" + a, a = Di++, 0 < a && (e += "H" + a.toString(32)), e += "_";
4300
4300
  } else
@@ -4369,7 +4369,7 @@ Error generating stack: ` + n.message + `
4369
4369
  ];
4370
4370
  },
4371
4371
  useSyncExternalStore: pu,
4372
- useId: Ru,
4372
+ useId: Ku,
4373
4373
  useHostTransitionStatus: Ds,
4374
4374
  useFormState: Su,
4375
4375
  useActionState: Su,
@@ -4414,7 +4414,7 @@ Error generating stack: ` + n.message + `
4414
4414
  ];
4415
4415
  },
4416
4416
  useSyncExternalStore: pu,
4417
- useId: Ru,
4417
+ useId: Ku,
4418
4418
  useHostTransitionStatus: Ds,
4419
4419
  useFormState: Au,
4420
4420
  useActionState: Au,
@@ -4548,7 +4548,7 @@ Error generating stack: ` + n.message + `
4548
4548
  }
4549
4549
  return ic(t, n, l), Wi(), !1;
4550
4550
  }
4551
- if (Ot)
4551
+ if (St)
4552
4552
  return e = je.current, e !== null ? ((e.flags & 65536) === 0 && (e.flags |= 256), e.flags |= 65536, e.lanes = l, n !== $r && (t = Error(f(422), { cause: n }), bl(Ee(t, a)))) : (n !== $r && (e = Error(f(423), {
4553
4553
  cause: n
4554
4554
  }), bl(
@@ -4602,7 +4602,7 @@ Error generating stack: ` + n.message + `
4602
4602
  s,
4603
4603
  i,
4604
4604
  l
4605
- ), o = hs(), t !== null && !te ? (vs(t, e, l), la(t, e, l)) : (Ot && o && Pr(e), e.flags |= 1, oe(t, e, n, l), e.child);
4605
+ ), o = hs(), t !== null && !te ? (vs(t, e, l), la(t, e, l)) : (St && o && Pr(e), e.flags |= 1, oe(t, e, n, l), e.child);
4606
4606
  }
4607
4607
  function sf(t, e, a, n, l) {
4608
4608
  if (t === null) {
@@ -4622,7 +4622,7 @@ Error generating stack: ` + n.message + `
4622
4622
  l
4623
4623
  ), t.ref = e.ref, t.return = e, e.child = t);
4624
4624
  }
4625
- if (i = t.child, !Ks(t, l)) {
4625
+ if (i = t.child, !Rs(t, l)) {
4626
4626
  var s = i.memoizedProps;
4627
4627
  if (a = a.compare, a = a !== null ? a : ml, a(s, n) && t.ref === e.ref)
4628
4628
  return la(t, e, l);
@@ -4633,7 +4633,7 @@ Error generating stack: ` + n.message + `
4633
4633
  if (t !== null) {
4634
4634
  var i = t.memoizedProps;
4635
4635
  if (ml(i, n) && t.ref === e.ref)
4636
- if (te = !1, e.pendingProps = n = i, Ks(t, l))
4636
+ if (te = !1, e.pendingProps = n = i, Rs(t, l))
4637
4637
  (t.flags & 131072) !== 0 && (te = !0);
4638
4638
  else
4639
4639
  return e.lanes = t.lanes, la(t, e, l);
@@ -4712,7 +4712,7 @@ Error generating stack: ` + n.message + `
4712
4712
  function ep(t, e, a) {
4713
4713
  var n = e.pendingProps, l = (e.flags & 128) !== 0;
4714
4714
  if (e.flags &= -129, t === null) {
4715
- if (Ot) {
4715
+ if (St) {
4716
4716
  if (n.mode === "hidden")
4717
4717
  return t = Zi(e, n), e.lanes = 536870912, Sl(null, t);
4718
4718
  if (gs(e), (t = Xt) ? (t = Nd(
@@ -4750,7 +4750,7 @@ Error generating stack: ` + n.message + `
4750
4750
  a
4751
4751
  );
4752
4752
  } else
4753
- t = i.treeContext, Xt = Ze(s.nextSibling), se = e, Ot = !0, ba = null, Ge = !1, t !== null && Vo(e, t), e = Zi(e, n), e.flags |= 4096;
4753
+ t = i.treeContext, Xt = Ze(s.nextSibling), se = e, St = !0, ba = null, Ge = !1, t !== null && Vo(e, t), e = Zi(e, n), e.flags |= 4096;
4754
4754
  return e;
4755
4755
  }
4756
4756
  return t = _e(t.child, {
@@ -4776,7 +4776,7 @@ Error generating stack: ` + n.message + `
4776
4776
  n,
4777
4777
  void 0,
4778
4778
  l
4779
- ), n = hs(), t !== null && !te ? (vs(t, e, l), la(t, e, l)) : (Ot && n && Pr(e), e.flags |= 1, oe(t, e, a, l), e.child);
4779
+ ), n = hs(), t !== null && !te ? (vs(t, e, l), la(t, e, l)) : (St && n && Pr(e), e.flags |= 1, oe(t, e, a, l), e.child);
4780
4780
  }
4781
4781
  function df(t, e, a, n, l, i) {
4782
4782
  return Ia(e), e.updateQueue = null, a = gu(
@@ -4784,7 +4784,7 @@ Error generating stack: ` + n.message + `
4784
4784
  n,
4785
4785
  a,
4786
4786
  l
4787
- ), mu(t), n = hs(), t !== null && !te ? (vs(t, e, i), la(t, e, i)) : (Ot && n && Pr(e), e.flags |= 1, oe(t, e, a, i), e.child);
4787
+ ), mu(t), n = hs(), t !== null && !te ? (vs(t, e, i), la(t, e, i)) : (St && n && Pr(e), e.flags |= 1, oe(t, e, a, i), e.child);
4788
4788
  }
4789
4789
  function mf(t, e, a, n, l) {
4790
4790
  if (Ia(e), e.stateNode === null) {
@@ -4884,7 +4884,7 @@ Error generating stack: ` + n.message + `
4884
4884
  function pf(t, e, a) {
4885
4885
  var n = e.pendingProps, l = !1, i = (e.flags & 128) !== 0, s;
4886
4886
  if ((s = i) || (s = t !== null && t.memoizedState === null ? !1 : (It.current & 2) !== 0), s && (l = !0, e.flags &= -129), s = (e.flags & 32) !== 0, e.flags &= -33, t === null) {
4887
- if (Ot) {
4887
+ if (St) {
4888
4888
  if (l ? Ma(e) : Na(), (t = Xt) ? (t = Nd(
4889
4889
  t,
4890
4890
  Ge
@@ -4954,7 +4954,7 @@ Error generating stack: ` + n.message + `
4954
4954
  } else
4955
4955
  xc(o) ? (e.flags |= 192, e.child = t.child, e = null) : (t = d.treeContext, Xt = Ze(
4956
4956
  o.nextSibling
4957
- ), se = e, Ot = !0, ba = null, Ge = !1, t !== null && Vo(e, t), e = Xs(
4957
+ ), se = e, St = !0, ba = null, Ge = !1, t !== null && Vo(e, t), e = Xs(
4958
4958
  e,
4959
4959
  n.children
4960
4960
  ), e.flags |= 4096);
@@ -5019,7 +5019,7 @@ Error generating stack: ` + n.message + `
5019
5019
  var n = e.pendingProps, l = n.revealOrder, i = n.tail;
5020
5020
  n = n.children;
5021
5021
  var s = It.current, o = (s & 2) !== 0;
5022
- if (o ? (s = s & 1 | 2, e.flags |= 128) : s &= 1, Q(It, s), oe(t, e, n, a), n = Ot ? pl : 0, !o && t !== null && (t.flags & 128) !== 0)
5022
+ if (o ? (s = s & 1 | 2, e.flags |= 128) : s &= 1, Q(It, s), oe(t, e, n, a), n = St ? pl : 0, !o && t !== null && (t.flags & 128) !== 0)
5023
5023
  t: for (t = e.child; t !== null; ) {
5024
5024
  if (t.tag === 13)
5025
5025
  t.memoizedState !== null && bf(t, a, e);
@@ -5103,7 +5103,7 @@ Error generating stack: ` + n.message + `
5103
5103
  }
5104
5104
  return e.child;
5105
5105
  }
5106
- function Ks(t, e) {
5106
+ function Rs(t, e) {
5107
5107
  return (t.lanes & e) !== 0 ? !0 : (t = t.dependencies, !!(t !== null && yi(t)));
5108
5108
  }
5109
5109
  function ap(t, e, a) {
@@ -5174,7 +5174,7 @@ Error generating stack: ` + n.message + `
5174
5174
  if (t.memoizedProps !== e.pendingProps)
5175
5175
  te = !0;
5176
5176
  else {
5177
- if (!Ks(t, a) && (e.flags & 128) === 0)
5177
+ if (!Rs(t, a) && (e.flags & 128) === 0)
5178
5178
  return te = !1, ap(
5179
5179
  t,
5180
5180
  e,
@@ -5183,7 +5183,7 @@ Error generating stack: ` + n.message + `
5183
5183
  te = (t.flags & 131072) !== 0;
5184
5184
  }
5185
5185
  else
5186
- te = !1, Ot && (e.flags & 1048576) !== 0 && Io(e, pl, e.index);
5186
+ te = !1, St && (e.flags & 1048576) !== 0 && Io(e, pl, e.index);
5187
5187
  switch (e.lanes = 0, e.tag) {
5188
5188
  case 16:
5189
5189
  t: {
@@ -5288,7 +5288,7 @@ Error generating stack: ` + n.message + `
5288
5288
  );
5289
5289
  break t;
5290
5290
  } else
5291
- for (t = e.stateNode.containerInfo, t.nodeType === 9 ? t = t.body : t = t.nodeName === "HTML" ? t.ownerDocument.body : t, Xt = Ze(t.firstChild), se = e, Ot = !0, ba = null, Ge = !0, a = cu(
5291
+ for (t = e.stateNode.containerInfo, t.nodeType === 9 ? t = t.body : t = t.nodeName === "HTML" ? t.ownerDocument.body : t, Xt = Ze(t.firstChild), se = e, St = !0, ba = null, Ge = !0, a = cu(
5292
5292
  e,
5293
5293
  null,
5294
5294
  n,
@@ -5315,7 +5315,7 @@ Error generating stack: ` + n.message + `
5315
5315
  null,
5316
5316
  e.pendingProps,
5317
5317
  null
5318
- )) ? e.memoizedState = a : Ot || (a = e.type, t = e.pendingProps, n = er(
5318
+ )) ? e.memoizedState = a : St || (a = e.type, t = e.pendingProps, n = er(
5319
5319
  yt.current
5320
5320
  ).createElement(a), n[re] = e, n[ge] = t, ue(n, a, t), ne(n), e.stateNode = n) : e.memoizedState = Dd(
5321
5321
  e.type,
@@ -5324,7 +5324,7 @@ Error generating stack: ` + n.message + `
5324
5324
  t.memoizedState
5325
5325
  ), null;
5326
5326
  case 27:
5327
- return La(e), t === null && Ot && (n = e.stateNode = Td(
5327
+ return La(e), t === null && St && (n = e.stateNode = Td(
5328
5328
  e.type,
5329
5329
  e.pendingProps,
5330
5330
  yt.current
@@ -5335,7 +5335,7 @@ Error generating stack: ` + n.message + `
5335
5335
  a
5336
5336
  ), Li(t, e), t === null && (e.flags |= 4194304), e.child;
5337
5337
  case 5:
5338
- return t === null && Ot && ((l = n = Xt) && (n = Ep(
5338
+ return t === null && St && ((l = n = Xt) && (n = Ep(
5339
5339
  n,
5340
5340
  e.type,
5341
5341
  e.pendingProps,
@@ -5347,9 +5347,9 @@ Error generating stack: ` + n.message + `
5347
5347
  null,
5348
5348
  null,
5349
5349
  a
5350
- ), Kl._currentValue = l), Li(t, e), oe(t, e, n, a), e.child;
5350
+ ), Rl._currentValue = l), Li(t, e), oe(t, e, n, a), e.child;
5351
5351
  case 6:
5352
- return t === null && Ot && ((t = a = Xt) && (a = Yp(
5352
+ return t === null && St && ((t = a = Xt) && (a = Yp(
5353
5353
  a,
5354
5354
  e.pendingProps,
5355
5355
  Ge
@@ -5446,7 +5446,7 @@ Error generating stack: ` + n.message + `
5446
5446
  function ia(t) {
5447
5447
  t.flags |= 4;
5448
5448
  }
5449
- function Rs(t, e, a, n, l) {
5449
+ function Ks(t, e, a, n, l) {
5450
5450
  if ((e = (t.mode & 32) !== 0) && (e = !1), e) {
5451
5451
  if (t.flags |= 16777216, (l & 335544128) === l)
5452
5452
  if (t.stateNode.complete) t.flags |= 8192;
@@ -5467,7 +5467,7 @@ Error generating stack: ` + n.message + `
5467
5467
  e !== null && (t.flags |= 4), t.flags & 16384 && (e = t.tag !== 22 ? Vc() : 536870912, t.lanes |= e, Hn |= e);
5468
5468
  }
5469
5469
  function Dl(t, e) {
5470
- if (!Ot)
5470
+ if (!St)
5471
5471
  switch (t.tailMode) {
5472
5472
  case "hidden":
5473
5473
  e = t.tail;
@@ -5508,16 +5508,16 @@ Error generating stack: ` + n.message + `
5508
5508
  case 1:
5509
5509
  return Ut(e), null;
5510
5510
  case 3:
5511
- return a = e.stateNode, n = null, t !== null && (n = t.memoizedState.cache), e.memoizedState.cache !== n && (e.flags |= 2048), ea(_t), Rt(), a.pendingContext && (a.context = a.pendingContext, a.pendingContext = null), (t === null || t.child === null) && (Tn(e) ? ia(e) : t === null || t.memoizedState.isDehydrated && (e.flags & 256) === 0 || (e.flags |= 1024, ts())), Ut(e), null;
5511
+ return a = e.stateNode, n = null, t !== null && (n = t.memoizedState.cache), e.memoizedState.cache !== n && (e.flags |= 2048), ea(_t), Kt(), a.pendingContext && (a.context = a.pendingContext, a.pendingContext = null), (t === null || t.child === null) && (Tn(e) ? ia(e) : t === null || t.memoizedState.isDehydrated && (e.flags & 256) === 0 || (e.flags |= 1024, ts())), Ut(e), null;
5512
5512
  case 26:
5513
5513
  var l = e.type, i = e.memoizedState;
5514
- return t === null ? (ia(e), i !== null ? (Ut(e), yf(e, i)) : (Ut(e), Rs(
5514
+ return t === null ? (ia(e), i !== null ? (Ut(e), yf(e, i)) : (Ut(e), Ks(
5515
5515
  e,
5516
5516
  l,
5517
5517
  null,
5518
5518
  n,
5519
5519
  a
5520
- ))) : i ? i !== t.memoizedState ? (ia(e), Ut(e), yf(e, i)) : (Ut(e), e.flags &= -16777217) : (t = t.memoizedProps, t !== n && ia(e), Ut(e), Rs(
5520
+ ))) : i ? i !== t.memoizedState ? (ia(e), Ut(e), yf(e, i)) : (Ut(e), e.flags &= -16777217) : (t = t.memoizedProps, t !== n && ia(e), Ut(e), Ks(
5521
5521
  e,
5522
5522
  l,
5523
5523
  t,
@@ -5625,7 +5625,7 @@ Error generating stack: ` + n.message + `
5625
5625
  n && ia(e);
5626
5626
  }
5627
5627
  }
5628
- return Ut(e), Rs(
5628
+ return Ut(e), Ks(
5629
5629
  e,
5630
5630
  e.type,
5631
5631
  t === null ? null : t.memoizedProps,
@@ -5687,7 +5687,7 @@ Error generating stack: ` + n.message + `
5687
5687
  }
5688
5688
  return ze(e), (e.flags & 128) !== 0 ? (e.lanes = a, e) : (a = n !== null, t = t !== null && t.memoizedState !== null, a && (n = e.child, l = null, n.alternate !== null && n.alternate.memoizedState !== null && n.alternate.memoizedState.cachePool !== null && (l = n.alternate.memoizedState.cachePool.pool), i = null, n.memoizedState !== null && n.memoizedState.cachePool !== null && (i = n.memoizedState.cachePool.pool), i !== l && (n.flags |= 2048)), a !== t && a && (e.child.flags |= 8192), Xi(e, e.updateQueue), Ut(e), null);
5689
5689
  case 4:
5690
- return Rt(), t === null && dc(e.stateNode.containerInfo), Ut(e), null;
5690
+ return Kt(), t === null && dc(e.stateNode.containerInfo), Ut(e), null;
5691
5691
  case 10:
5692
5692
  return ea(e.type), Ut(e), null;
5693
5693
  case 19:
@@ -5703,7 +5703,7 @@ Error generating stack: ` + n.message + `
5703
5703
  return Q(
5704
5704
  It,
5705
5705
  It.current & 1 | 2
5706
- ), Ot && $e(e, n.treeForkCount), e.child;
5706
+ ), St && $e(e, n.treeForkCount), e.child;
5707
5707
  }
5708
5708
  t = t.sibling;
5709
5709
  }
@@ -5712,7 +5712,7 @@ Error generating stack: ` + n.message + `
5712
5712
  else {
5713
5713
  if (!l)
5714
5714
  if (t = Oi(i), t !== null) {
5715
- if (e.flags |= 128, l = !0, t = t.updateQueue, e.updateQueue = t, Xi(e, t), Dl(n, !0), n.tail === null && n.tailMode === "hidden" && !i.alternate && !Ot)
5715
+ if (e.flags |= 128, l = !0, t = t.updateQueue, e.updateQueue = t, Xi(e, t), Dl(n, !0), n.tail === null && n.tailMode === "hidden" && !i.alternate && !St)
5716
5716
  return Ut(e), null;
5717
5717
  } else
5718
5718
  2 * L() - n.renderingStartTime > Fi && a !== 536870912 && (e.flags |= 128, l = !0, Dl(n, !1), e.lanes = 4194304);
@@ -5721,7 +5721,7 @@ Error generating stack: ` + n.message + `
5721
5721
  return n.tail !== null ? (t = n.tail, n.rendering = t, n.tail = t.sibling, n.renderingStartTime = L(), t.sibling = null, a = It.current, Q(
5722
5722
  It,
5723
5723
  l ? a & 1 | 2 : a & 1
5724
- ), Ot && $e(e, n.treeForkCount), t) : (Ut(e), null);
5724
+ ), St && $e(e, n.treeForkCount), t) : (Ut(e), null);
5725
5725
  case 22:
5726
5726
  case 23:
5727
5727
  return ze(e), ms(), n = e.memoizedState !== null, t !== null ? t.memoizedState !== null !== n && (e.flags |= 8192) : n && (e.flags |= 8192), n ? (a & 536870912) !== 0 && (e.flags & 128) === 0 && (Ut(e), e.subtreeFlags & 6 && (e.flags |= 8192)) : Ut(e), a = e.updateQueue, a !== null && Xi(e, a.retryQueue), a = null, t !== null && t.memoizedState !== null && t.memoizedState.cachePool !== null && (a = t.memoizedState.cachePool.pool), n = null, e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), n !== a && (e.flags |= 2048), t !== null && C(Va), null;
@@ -5739,7 +5739,7 @@ Error generating stack: ` + n.message + `
5739
5739
  case 1:
5740
5740
  return t = e.flags, t & 65536 ? (e.flags = t & -65537 | 128, e) : null;
5741
5741
  case 3:
5742
- return ea(_t), Rt(), t = e.flags, (t & 65536) !== 0 && (t & 128) === 0 ? (e.flags = t & -65537 | 128, e) : null;
5742
+ return ea(_t), Kt(), t = e.flags, (t & 65536) !== 0 && (t & 128) === 0 ? (e.flags = t & -65537 | 128, e) : null;
5743
5743
  case 26:
5744
5744
  case 27:
5745
5745
  case 5:
@@ -5761,7 +5761,7 @@ Error generating stack: ` + n.message + `
5761
5761
  case 19:
5762
5762
  return C(It), null;
5763
5763
  case 4:
5764
- return Rt(), null;
5764
+ return Kt(), null;
5765
5765
  case 10:
5766
5766
  return ea(e.type), null;
5767
5767
  case 22:
@@ -5778,7 +5778,7 @@ Error generating stack: ` + n.message + `
5778
5778
  function xf(t, e) {
5779
5779
  switch (_r(e), e.tag) {
5780
5780
  case 3:
5781
- ea(_t), Rt();
5781
+ ea(_t), Kt();
5782
5782
  break;
5783
5783
  case 26:
5784
5784
  case 27:
@@ -5786,7 +5786,7 @@ Error generating stack: ` + n.message + `
5786
5786
  sn(e);
5787
5787
  break;
5788
5788
  case 4:
5789
- Rt();
5789
+ Kt();
5790
5790
  break;
5791
5791
  case 31:
5792
5792
  e.memoizedState !== null && ze(e);
@@ -6188,7 +6188,7 @@ Error generating stack: ` + n.message + `
6188
6188
  var e = t.alternate;
6189
6189
  e !== null && (t.alternate = null, Sf(e)), t.child = null, t.deletions = null, t.sibling = null, t.tag === 5 && (e = t.stateNode, e !== null && jr(e)), t.stateNode = null, t.return = null, t.dependencies = null, t.memoizedProps = null, t.memoizedState = null, t.pendingProps = null, t.stateNode = null, t.updateQueue = null;
6190
6190
  }
6191
- var Kt = null, be = !1;
6191
+ var Rt = null, be = !1;
6192
6192
  function sa(t, e, a) {
6193
6193
  for (a = a.child; a !== null; )
6194
6194
  Df(t, e, a), a = a.sibling;
@@ -6209,24 +6209,24 @@ Error generating stack: ` + n.message + `
6209
6209
  break;
6210
6210
  case 27:
6211
6211
  ee || qe(a, e);
6212
- var n = Kt, l = be;
6213
- Ca(a.type) && (Kt = a.stateNode, be = !1), sa(
6212
+ var n = Rt, l = be;
6213
+ Ca(a.type) && (Rt = a.stateNode, be = !1), sa(
6214
6214
  t,
6215
6215
  e,
6216
6216
  a
6217
- ), Xl(a.stateNode), Kt = n, be = l;
6217
+ ), Xl(a.stateNode), Rt = n, be = l;
6218
6218
  break;
6219
6219
  case 5:
6220
6220
  ee || qe(a, e);
6221
6221
  case 6:
6222
- if (n = Kt, l = be, Kt = null, sa(
6222
+ if (n = Rt, l = be, Rt = null, sa(
6223
6223
  t,
6224
6224
  e,
6225
6225
  a
6226
- ), Kt = n, be = l, Kt !== null)
6226
+ ), Rt = n, be = l, Rt !== null)
6227
6227
  if (be)
6228
6228
  try {
6229
- (Kt.nodeType === 9 ? Kt.body : Kt.nodeName === "HTML" ? Kt.ownerDocument.body : Kt).removeChild(a.stateNode);
6229
+ (Rt.nodeType === 9 ? Rt.body : Rt.nodeName === "HTML" ? Rt.ownerDocument.body : Rt).removeChild(a.stateNode);
6230
6230
  } catch (i) {
6231
6231
  Yt(
6232
6232
  a,
@@ -6236,7 +6236,7 @@ Error generating stack: ` + n.message + `
6236
6236
  }
6237
6237
  else
6238
6238
  try {
6239
- Kt.removeChild(a.stateNode);
6239
+ Rt.removeChild(a.stateNode);
6240
6240
  } catch (i) {
6241
6241
  Yt(
6242
6242
  a,
@@ -6246,17 +6246,17 @@ Error generating stack: ` + n.message + `
6246
6246
  }
6247
6247
  break;
6248
6248
  case 18:
6249
- Kt !== null && (be ? (t = Kt, wd(
6249
+ Rt !== null && (be ? (t = Rt, wd(
6250
6250
  t.nodeType === 9 ? t.body : t.nodeName === "HTML" ? t.ownerDocument.body : t,
6251
6251
  a.stateNode
6252
- ), qn(t)) : wd(Kt, a.stateNode));
6252
+ ), qn(t)) : wd(Rt, a.stateNode));
6253
6253
  break;
6254
6254
  case 4:
6255
- n = Kt, l = be, Kt = a.stateNode.containerInfo, be = !0, sa(
6255
+ n = Rt, l = be, Rt = a.stateNode.containerInfo, be = !0, sa(
6256
6256
  t,
6257
6257
  e,
6258
6258
  a
6259
- ), Kt = n, be = l;
6259
+ ), Rt = n, be = l;
6260
6260
  break;
6261
6261
  case 0:
6262
6262
  case 11:
@@ -6351,22 +6351,22 @@ Error generating stack: ` + n.message + `
6351
6351
  switch (o.tag) {
6352
6352
  case 27:
6353
6353
  if (Ca(o.type)) {
6354
- Kt = o.stateNode, be = !1;
6354
+ Rt = o.stateNode, be = !1;
6355
6355
  break t;
6356
6356
  }
6357
6357
  break;
6358
6358
  case 5:
6359
- Kt = o.stateNode, be = !1;
6359
+ Rt = o.stateNode, be = !1;
6360
6360
  break t;
6361
6361
  case 3:
6362
6362
  case 4:
6363
- Kt = o.stateNode.containerInfo, be = !0;
6363
+ Rt = o.stateNode.containerInfo, be = !0;
6364
6364
  break t;
6365
6365
  }
6366
6366
  o = o.return;
6367
6367
  }
6368
- if (Kt === null) throw Error(f(160));
6369
- Df(i, s, l), Kt = null, be = !1, i = l.alternate, i !== null && (i.return = null), l.return = null;
6368
+ if (Rt === null) throw Error(f(160));
6369
+ Df(i, s, l), Rt = null, be = !1, i = l.alternate, i !== null && (i.return = null), l.return = null;
6370
6370
  }
6371
6371
  if (e.subtreeFlags & 13886)
6372
6372
  for (e = e.child; e !== null; )
@@ -6519,7 +6519,7 @@ Error generating stack: ` + n.message + `
6519
6519
  he(e, t), ve(t), n & 4 && (n = t.updateQueue, n !== null && (t.updateQueue = null, Qi(t, n)));
6520
6520
  break;
6521
6521
  case 13:
6522
- he(e, t), ve(t), t.child.flags & 8192 && t.memoizedState !== null != (a !== null && a.memoizedState !== null) && (Ri = L()), n & 4 && (n = t.updateQueue, n !== null && (t.updateQueue = null, Qi(t, n)));
6522
+ he(e, t), ve(t), t.child.flags & 8192 && t.memoizedState !== null != (a !== null && a.memoizedState !== null) && (Ki = L()), n & 4 && (n = t.updateQueue, n !== null && (t.updateQueue = null, Qi(t, n)));
6523
6523
  break;
6524
6524
  case 22:
6525
6525
  l = t.memoizedState !== null;
@@ -7069,13 +7069,13 @@ Error generating stack: ` + n.message + `
7069
7069
  break;
7070
7070
  case 22:
7071
7071
  var e = t.stateNode;
7072
- t.memoizedState !== null && e._visibility & 2 && (t.return === null || t.return.tag !== 13) ? (e._visibility &= -3, Ki(t)) : Bl(t);
7072
+ t.memoizedState !== null && e._visibility & 2 && (t.return === null || t.return.tag !== 13) ? (e._visibility &= -3, Ri(t)) : Bl(t);
7073
7073
  break;
7074
7074
  default:
7075
7075
  Bl(t);
7076
7076
  }
7077
7077
  }
7078
- function Ki(t) {
7078
+ function Ri(t) {
7079
7079
  var e = t.deletions;
7080
7080
  if ((t.flags & 16) !== 0) {
7081
7081
  if (e !== null)
@@ -7093,13 +7093,13 @@ Error generating stack: ` + n.message + `
7093
7093
  case 0:
7094
7094
  case 11:
7095
7095
  case 15:
7096
- ja(8, e, e.return), Ki(e);
7096
+ ja(8, e, e.return), Ri(e);
7097
7097
  break;
7098
7098
  case 22:
7099
- a = e.stateNode, a._visibility & 2 && (a._visibility &= -3, Ki(e));
7099
+ a = e.stateNode, a._visibility & 2 && (a._visibility &= -3, Ri(e));
7100
7100
  break;
7101
7101
  default:
7102
- Ki(e);
7102
+ Ri(e);
7103
7103
  }
7104
7104
  t = t.sibling;
7105
7105
  }
@@ -7148,13 +7148,13 @@ Error generating stack: ` + n.message + `
7148
7148
  cacheSignal: function() {
7149
7149
  return ce(_t).controller.signal;
7150
7150
  }
7151
- }, cp = typeof WeakMap == "function" ? WeakMap : Map, Ct = 0, Ht = null, Mt = null, zt = 0, Et = 0, Te = null, za = !1, Ln = !1, Ps = !1, ua = 0, Wt = 0, Ta = 0, nn = 0, _s = 0, Oe = 0, Hn = 0, Gl = null, ye = null, $s = !1, Ri = 0, Hf = 0, Fi = 1 / 0, Ji = null, Oa = null, ae = 0, Sa = null, Xn = null, fa = 0, tc = 0, ec = null, Xf = null, kl = 0, ac = null;
7151
+ }, cp = typeof WeakMap == "function" ? WeakMap : Map, Ct = 0, Ht = null, Mt = null, Tt = 0, Et = 0, Te = null, za = !1, Ln = !1, Ps = !1, ua = 0, Wt = 0, Ta = 0, nn = 0, _s = 0, Oe = 0, Hn = 0, Gl = null, ye = null, $s = !1, Ki = 0, Hf = 0, Fi = 1 / 0, Ji = null, Oa = null, ae = 0, Sa = null, Xn = null, fa = 0, tc = 0, ec = null, Xf = null, kl = 0, ac = null;
7152
7152
  function Se() {
7153
- return (Ct & 2) !== 0 && zt !== 0 ? zt & -zt : z.T !== null ? cc() : to();
7153
+ return (Ct & 2) !== 0 && Tt !== 0 ? Tt & -Tt : z.T !== null ? cc() : to();
7154
7154
  }
7155
7155
  function Uf() {
7156
7156
  if (Oe === 0)
7157
- if ((zt & 536870912) === 0 || Ot) {
7157
+ if ((Tt & 536870912) === 0 || St) {
7158
7158
  var t = ti;
7159
7159
  ti <<= 1, (ti & 3932160) === 0 && (ti = 262144), Oe = t;
7160
7160
  } else Oe = 536870912;
@@ -7163,12 +7163,12 @@ Error generating stack: ` + n.message + `
7163
7163
  function xe(t, e, a) {
7164
7164
  (t === Ht && (Et === 2 || Et === 9) || t.cancelPendingCommit !== null) && (Un(t, 0), Da(
7165
7165
  t,
7166
- zt,
7166
+ Tt,
7167
7167
  Oe,
7168
7168
  !1
7169
7169
  )), nl(t, a), ((Ct & 2) === 0 || t !== Ht) && (t === Ht && ((Ct & 2) === 0 && (nn |= a), Wt === 4 && Da(
7170
7170
  t,
7171
- zt,
7171
+ Tt,
7172
7172
  Oe,
7173
7173
  !1
7174
7174
  )), We(t));
@@ -7243,7 +7243,7 @@ Error generating stack: ` + n.message + `
7243
7243
  default:
7244
7244
  throw Error(f(329));
7245
7245
  }
7246
- if ((e & 62914560) === e && (l = Ri + 300 - L(), 10 < l)) {
7246
+ if ((e & 62914560) === e && (l = Ki + 300 - L(), 10 < l)) {
7247
7247
  if (Da(
7248
7248
  n,
7249
7249
  e,
@@ -7251,7 +7251,7 @@ Error generating stack: ` + n.message + `
7251
7251
  !za
7252
7252
  ), ai(n, 0, !0) !== 0) break t;
7253
7253
  fa = e, n.timeoutHandle = yd(
7254
- Kf.bind(
7254
+ Rf.bind(
7255
7255
  null,
7256
7256
  n,
7257
7257
  a,
@@ -7272,7 +7272,7 @@ Error generating stack: ` + n.message + `
7272
7272
  );
7273
7273
  break t;
7274
7274
  }
7275
- Kf(
7275
+ Rf(
7276
7276
  n,
7277
7277
  a,
7278
7278
  ye,
@@ -7294,7 +7294,7 @@ Error generating stack: ` + n.message + `
7294
7294
  } while (!0);
7295
7295
  We(t);
7296
7296
  }
7297
- function Kf(t, e, a, n, l, i, s, o, d, w, O, A, M, N) {
7297
+ function Rf(t, e, a, n, l, i, s, o, d, w, O, A, M, N) {
7298
7298
  if (t.timeoutHandle = -1, A = e.subtreeFlags, A & 8192 || (A & 16785408) === 16785408) {
7299
7299
  A = {
7300
7300
  stylesheets: null,
@@ -7310,7 +7310,7 @@ Error generating stack: ` + n.message + `
7310
7310
  i,
7311
7311
  A
7312
7312
  );
7313
- var q = (i & 62914560) === i ? Ri - L() : (i & 4194048) === i ? Hf - L() : 0;
7313
+ var q = (i & 62914560) === i ? Ki - L() : (i & 4194048) === i ? Hf - L() : 0;
7314
7314
  if (q = qp(
7315
7315
  A,
7316
7316
  q
@@ -7399,7 +7399,7 @@ Error generating stack: ` + n.message + `
7399
7399
  }
7400
7400
  function Un(t, e) {
7401
7401
  var a = t.timeoutHandle;
7402
- a !== -1 && (t.timeoutHandle = -1, Dp(a)), a = t.cancelPendingCommit, a !== null && (t.cancelPendingCommit = null, a()), fa = 0, nc(), Ht = t, Mt = a = _e(t.current, null), zt = e, Et = 0, Te = null, za = !1, Ln = al(t, e), Ps = !1, Hn = Oe = _s = nn = Ta = Wt = 0, ye = Gl = null, $s = !1, (e & 8) !== 0 && (e |= e & 32);
7402
+ a !== -1 && (t.timeoutHandle = -1, Dp(a)), a = t.cancelPendingCommit, a !== null && (t.cancelPendingCommit = null, a()), fa = 0, nc(), Ht = t, Mt = a = _e(t.current, null), Tt = e, Et = 0, Te = null, za = !1, Ln = al(t, e), Ps = !1, Hn = Oe = _s = nn = Ta = Wt = 0, ye = Gl = null, $s = !1, (e & 8) !== 0 && (e |= e & 32);
7403
7403
  var n = t.entangledLanes;
7404
7404
  if (n !== 0)
7405
7405
  for (t = t.entanglements, n &= e; 0 < n; ) {
@@ -7408,7 +7408,7 @@ Error generating stack: ` + n.message + `
7408
7408
  }
7409
7409
  return ua = e, gi(), a;
7410
7410
  }
7411
- function Rf(t, e) {
7411
+ function Kf(t, e) {
7412
7412
  gt = null, z.H = Ol, e === An || e === Mi ? (e = iu(), Et = 3) : e === ss ? (e = iu(), Et = 4) : Et = e === Gs ? 8 : e !== null && typeof e == "object" && typeof e.then == "function" ? 6 : 1, Te = e, Mt === null && (Wt = 1, ki(
7413
7413
  t,
7414
7414
  Ee(e, t.current)
@@ -7416,7 +7416,7 @@ Error generating stack: ` + n.message + `
7416
7416
  }
7417
7417
  function Ff() {
7418
7418
  var t = je.current;
7419
- return t === null ? !0 : (zt & 4194048) === zt ? ke === null : (zt & 62914560) === zt || (zt & 536870912) !== 0 ? t === ke : !1;
7419
+ return t === null ? !0 : (Tt & 4194048) === Tt ? ke === null : (Tt & 62914560) === Tt || (Tt & 536870912) !== 0 ? t === ke : !1;
7420
7420
  }
7421
7421
  function Jf() {
7422
7422
  var t = z.H;
@@ -7427,9 +7427,9 @@ Error generating stack: ` + n.message + `
7427
7427
  return z.A = sp, t;
7428
7428
  }
7429
7429
  function Wi() {
7430
- Wt = 4, za || (zt & 4194048) !== zt && je.current !== null || (Ln = !0), (Ta & 134217727) === 0 && (nn & 134217727) === 0 || Ht === null || Da(
7430
+ Wt = 4, za || (Tt & 4194048) !== Tt && je.current !== null || (Ln = !0), (Ta & 134217727) === 0 && (nn & 134217727) === 0 || Ht === null || Da(
7431
7431
  Ht,
7432
- zt,
7432
+ Tt,
7433
7433
  Oe,
7434
7434
  !1
7435
7435
  );
@@ -7438,7 +7438,7 @@ Error generating stack: ` + n.message + `
7438
7438
  var n = Ct;
7439
7439
  Ct |= 2;
7440
7440
  var l = Jf(), i = qf();
7441
- (Ht !== t || zt !== e) && (Ji = null, Un(t, e)), e = !1;
7441
+ (Ht !== t || Tt !== e) && (Ji = null, Un(t, e)), e = !1;
7442
7442
  var s = Wt;
7443
7443
  t: do
7444
7444
  try {
@@ -7466,10 +7466,10 @@ Error generating stack: ` + n.message + `
7466
7466
  up(), s = Wt;
7467
7467
  break;
7468
7468
  } catch (O) {
7469
- Rf(t, O);
7469
+ Kf(t, O);
7470
7470
  }
7471
7471
  while (!0);
7472
- return e && t.shellSuspendCounter++, ta = Wa = null, Ct = n, z.H = l, z.A = i, Mt === null && (Ht = null, zt = 0, gi()), s;
7472
+ return e && t.shellSuspendCounter++, ta = Wa = null, Ct = n, z.H = l, z.A = i, Mt === null && (Ht = null, Tt = 0, gi()), s;
7473
7473
  }
7474
7474
  function up() {
7475
7475
  for (; Mt !== null; ) Wf(Mt);
@@ -7478,7 +7478,7 @@ Error generating stack: ` + n.message + `
7478
7478
  var a = Ct;
7479
7479
  Ct |= 2;
7480
7480
  var n = Jf(), l = qf();
7481
- Ht !== t || zt !== e ? (Ji = null, Fi = L() + 500, Un(t, e)) : Ln = al(
7481
+ Ht !== t || Tt !== e ? (Ji = null, Fi = L() + 500, Un(t, e)) : Ln = al(
7482
7482
  t,
7483
7483
  e
7484
7484
  );
@@ -7544,10 +7544,10 @@ Error generating stack: ` + n.message + `
7544
7544
  dp();
7545
7545
  break;
7546
7546
  } catch (O) {
7547
- Rf(t, O);
7547
+ Kf(t, O);
7548
7548
  }
7549
7549
  while (!0);
7550
- return ta = Wa = null, z.H = n, z.A = l, Ct = a, Mt !== null ? 0 : (Ht = null, zt = 0, gi(), Wt);
7550
+ return ta = Wa = null, z.H = n, z.A = l, Ct = a, Mt !== null ? 0 : (Ht = null, Tt = 0, gi(), Wt);
7551
7551
  }
7552
7552
  function dp() {
7553
7553
  for (; Mt !== null && !yr(); )
@@ -7568,7 +7568,7 @@ Error generating stack: ` + n.message + `
7568
7568
  e.pendingProps,
7569
7569
  e.type,
7570
7570
  void 0,
7571
- zt
7571
+ Tt
7572
7572
  );
7573
7573
  break;
7574
7574
  case 11:
@@ -7578,7 +7578,7 @@ Error generating stack: ` + n.message + `
7578
7578
  e.pendingProps,
7579
7579
  e.type.render,
7580
7580
  e.ref,
7581
- zt
7581
+ Tt
7582
7582
  );
7583
7583
  break;
7584
7584
  case 5:
@@ -7597,7 +7597,7 @@ Error generating stack: ` + n.message + `
7597
7597
  l,
7598
7598
  e,
7599
7599
  a,
7600
- zt
7600
+ Tt
7601
7601
  )) {
7602
7602
  Wt = 1, ki(
7603
7603
  t,
@@ -7613,7 +7613,7 @@ Error generating stack: ` + n.message + `
7613
7613
  ), Mt = null;
7614
7614
  return;
7615
7615
  }
7616
- e.flags & 32768 ? (Ot || n === 1 ? t = !0 : Ln || (zt & 536870912) !== 0 ? t = !1 : (za = t = !0, (n === 2 || n === 9 || n === 3 || n === 6) && (n = je.current, n !== null && n.tag === 13 && (n.flags |= 16384))), Vf(e, t)) : Ii(e);
7616
+ e.flags & 32768 ? (St || n === 1 ? t = !0 : Ln || (Tt & 536870912) !== 0 ? t = !1 : (za = t = !0, (n === 2 || n === 9 || n === 3 || n === 6) && (n = je.current, n !== null && n.tag === 13 && (n.flags |= 16384))), Vf(e, t)) : Ii(e);
7617
7617
  }
7618
7618
  function Ii(t) {
7619
7619
  var e = t;
@@ -7673,7 +7673,7 @@ Error generating stack: ` + n.message + `
7673
7673
  s,
7674
7674
  o,
7675
7675
  d
7676
- ), t === Ht && (Mt = Ht = null, zt = 0), Xn = e, Sa = t, fa = a, tc = i, ec = l, Xf = n, (e.subtreeFlags & 10256) !== 0 || (e.flags & 10256) !== 0 ? (t.callbackNode = null, t.callbackPriority = 0, bp(jt, function() {
7676
+ ), t === Ht && (Mt = Ht = null, Tt = 0), Xn = e, Sa = t, fa = a, tc = i, ec = l, Xf = n, (e.subtreeFlags & 10256) !== 0 || (e.flags & 10256) !== 0 ? (t.callbackNode = null, t.callbackPriority = 0, bp(zt, function() {
7677
7677
  return ad(), null;
7678
7678
  })) : (t.callbackNode = null, t.callbackPriority = 0), n = (e.flags & 13878) !== 0, (e.subtreeFlags & 13878) !== 0 || n) {
7679
7679
  n = z.T, z.T = null, l = G.p, G.p = 2, s = Ct, Ct |= 4;
@@ -7872,7 +7872,7 @@ Error generating stack: ` + n.message + `
7872
7872
  }
7873
7873
  function mp(t, e, a) {
7874
7874
  var n = t.pingCache;
7875
- n !== null && n.delete(e), t.pingedLanes |= t.suspendedLanes & a, t.warmLanes &= ~a, Ht === t && (zt & a) === a && (Wt === 4 || Wt === 3 && (zt & 62914560) === zt && 300 > L() - Ri ? (Ct & 2) === 0 && Un(t, 0) : _s |= a, Hn === zt && (Hn = 0)), We(t);
7875
+ n !== null && n.delete(e), t.pingedLanes |= t.suspendedLanes & a, t.warmLanes &= ~a, Ht === t && (Tt & a) === a && (Wt === 4 || Wt === 3 && (Tt & 62914560) === Tt && 300 > L() - Ki ? (Ct & 2) === 0 && Un(t, 0) : _s |= a, Hn === Tt && (Hn = 0)), We(t);
7876
7876
  }
7877
7877
  function ld(t, e) {
7878
7878
  e === 0 && (e = Vc()), t = Fa(t, e), t !== null && (nl(t, e), We(t));
@@ -7903,9 +7903,9 @@ Error generating stack: ` + n.message + `
7903
7903
  function bp(t, e) {
7904
7904
  return tl(t, e);
7905
7905
  }
7906
- var Pi = null, Kn = null, rc = !1, _i = !1, sc = !1, Aa = 0;
7906
+ var Pi = null, Rn = null, rc = !1, _i = !1, sc = !1, Aa = 0;
7907
7907
  function We(t) {
7908
- t !== Kn && t.next === null && (Kn === null ? Pi = Kn = t : Kn = Kn.next = t), _i = !0, rc || (rc = !0, vp());
7908
+ t !== Rn && t.next === null && (Rn === null ? Pi = Rn = t : Rn = Rn.next = t), _i = !0, rc || (rc = !0, vp());
7909
7909
  }
7910
7910
  function Zl(t, e) {
7911
7911
  if (!sc && _i) {
@@ -7921,7 +7921,7 @@ Error generating stack: ` + n.message + `
7921
7921
  }
7922
7922
  i !== 0 && (a = !0, cd(n, i));
7923
7923
  } else
7924
- i = zt, i = ai(
7924
+ i = Tt, i = ai(
7925
7925
  n,
7926
7926
  n === Ht ? i : 0,
7927
7927
  n.cancelPendingCommit !== null || n.timeoutHandle !== -1
@@ -7941,16 +7941,16 @@ Error generating stack: ` + n.message + `
7941
7941
  Aa !== 0 && Sp() && (t = Aa);
7942
7942
  for (var e = L(), a = null, n = Pi; n !== null; ) {
7943
7943
  var l = n.next, i = rd(n, e);
7944
- i === 0 ? (n.next = null, a === null ? Pi = l : a.next = l, l === null && (Kn = a)) : (a = n, (t !== 0 || (i & 3) !== 0) && (_i = !0)), n = l;
7944
+ i === 0 ? (n.next = null, a === null ? Pi = l : a.next = l, l === null && (Rn = a)) : (a = n, (t !== 0 || (i & 3) !== 0) && (_i = !0)), n = l;
7945
7945
  }
7946
7946
  ae !== 0 && ae !== 5 || Zl(t), Aa !== 0 && (Aa = 0);
7947
7947
  }
7948
7948
  function rd(t, e) {
7949
7949
  for (var a = t.suspendedLanes, n = t.pingedLanes, l = t.expirationTimes, i = t.pendingLanes & -62914561; 0 < i; ) {
7950
7950
  var s = 31 - mt(i), o = 1 << s, d = l[s];
7951
- d === -1 ? ((o & a) === 0 || (o & n) !== 0) && (l[s] = Rm(o, e)) : d <= e && (t.expiredLanes |= o), i &= ~o;
7951
+ d === -1 ? ((o & a) === 0 || (o & n) !== 0) && (l[s] = Km(o, e)) : d <= e && (t.expiredLanes |= o), i &= ~o;
7952
7952
  }
7953
- if (e = Ht, a = zt, a = ai(
7953
+ if (e = Ht, a = Tt, a = ai(
7954
7954
  t,
7955
7955
  t === e ? a : 0,
7956
7956
  t.cancelPendingCommit !== null || t.timeoutHandle !== -1
@@ -7964,13 +7964,13 @@ Error generating stack: ` + n.message + `
7964
7964
  a = F;
7965
7965
  break;
7966
7966
  case 32:
7967
- a = jt;
7967
+ a = zt;
7968
7968
  break;
7969
7969
  case 268435456:
7970
7970
  a = Ft;
7971
7971
  break;
7972
7972
  default:
7973
- a = jt;
7973
+ a = zt;
7974
7974
  }
7975
7975
  return n = sd.bind(null, t), a = tl(a, n), t.callbackPriority = e, t.callbackNode = a, e;
7976
7976
  }
@@ -7982,7 +7982,7 @@ Error generating stack: ` + n.message + `
7982
7982
  var a = t.callbackNode;
7983
7983
  if (Vi() && t.callbackNode !== a)
7984
7984
  return null;
7985
- var n = zt;
7985
+ var n = Tt;
7986
7986
  return n = ai(
7987
7987
  t,
7988
7988
  t === Ht ? n : 0,
@@ -8075,7 +8075,7 @@ Error generating stack: ` + n.message + `
8075
8075
  "on" + wp
8076
8076
  );
8077
8077
  }
8078
- Xe(Xo, "onAnimationEnd"), Xe(Uo, "onAnimationIteration"), Xe(Qo, "onAnimationStart"), Xe("dblclick", "onDoubleClick"), Xe("focusin", "onFocus"), Xe("focusout", "onBlur"), Xe(Zg, "onTransitionRun"), Xe(Lg, "onTransitionStart"), Xe(Hg, "onTransitionCancel"), Xe(Ko, "onTransitionEnd"), gn("onMouseEnter", ["mouseout", "mouseover"]), gn("onMouseLeave", ["mouseout", "mouseover"]), gn("onPointerEnter", ["pointerout", "pointerover"]), gn("onPointerLeave", ["pointerout", "pointerover"]), Ua(
8078
+ Xe(Xo, "onAnimationEnd"), Xe(Uo, "onAnimationIteration"), Xe(Qo, "onAnimationStart"), Xe("dblclick", "onDoubleClick"), Xe("focusin", "onFocus"), Xe("focusout", "onBlur"), Xe(Zg, "onTransitionRun"), Xe(Lg, "onTransitionStart"), Xe(Hg, "onTransitionCancel"), Xe(Ro, "onTransitionEnd"), gn("onMouseEnter", ["mouseout", "mouseover"]), gn("onMouseLeave", ["mouseout", "mouseover"]), gn("onPointerEnter", ["pointerout", "pointerover"]), gn("onPointerLeave", ["pointerout", "pointerover"]), Ua(
8079
8079
  "onChange",
8080
8080
  "change click focusin focusout input keydown keyup selectionchange".split(" ")
8081
8081
  ), Ua(
@@ -8216,7 +8216,7 @@ Error generating stack: ` + n.message + `
8216
8216
  bo(function() {
8217
8217
  var w = i, O = Ar(a), A = [];
8218
8218
  t: {
8219
- var M = Ro.get(t);
8219
+ var M = Ko.get(t);
8220
8220
  if (M !== void 0) {
8221
8221
  var N = ui, q = t;
8222
8222
  switch (t) {
@@ -8269,7 +8269,7 @@ Error generating stack: ` + n.message + `
8269
8269
  case Qo:
8270
8270
  N = rg;
8271
8271
  break;
8272
- case Ko:
8272
+ case Ro:
8273
8273
  N = xg;
8274
8274
  break;
8275
8275
  case "scroll":
@@ -8400,12 +8400,12 @@ Error generating stack: ` + n.message + `
8400
8400
  gl = Qr = xn = null;
8401
8401
  break;
8402
8402
  case "mousedown":
8403
- Kr = !0;
8403
+ Rr = !0;
8404
8404
  break;
8405
8405
  case "contextmenu":
8406
8406
  case "mouseup":
8407
8407
  case "dragend":
8408
- Kr = !1, Lo(A, a, O);
8408
+ Rr = !1, Lo(A, a, O);
8409
8409
  break;
8410
8410
  case "selectionchange":
8411
8411
  if (kg) break;
@@ -8418,26 +8418,26 @@ Error generating stack: ` + n.message + `
8418
8418
  t: {
8419
8419
  switch (t) {
8420
8420
  case "compositionstart":
8421
- var Tt = "onCompositionStart";
8421
+ var Ot = "onCompositionStart";
8422
8422
  break t;
8423
8423
  case "compositionend":
8424
- Tt = "onCompositionEnd";
8424
+ Ot = "onCompositionEnd";
8425
8425
  break t;
8426
8426
  case "compositionupdate":
8427
- Tt = "onCompositionUpdate";
8427
+ Ot = "onCompositionUpdate";
8428
8428
  break t;
8429
8429
  }
8430
- Tt = void 0;
8430
+ Ot = void 0;
8431
8431
  }
8432
8432
  else
8433
- yn ? zo(t, a) && (Tt = "onCompositionEnd") : t === "keydown" && a.keyCode === 229 && (Tt = "onCompositionStart");
8434
- Tt && (Mo && a.locale !== "ko" && (yn || Tt !== "onCompositionStart" ? Tt === "onCompositionEnd" && yn && (bt = ho()) : (ga = O, Yr = "value" in ga ? ga.value : ga.textContent, yn = !0)), V = tr(w, Tt), 0 < V.length && (Tt = new xo(
8435
- Tt,
8433
+ yn ? zo(t, a) && (Ot = "onCompositionEnd") : t === "keydown" && a.keyCode === 229 && (Ot = "onCompositionStart");
8434
+ Ot && (Mo && a.locale !== "ko" && (yn || Ot !== "onCompositionStart" ? Ot === "onCompositionEnd" && yn && (bt = ho()) : (ga = O, Yr = "value" in ga ? ga.value : ga.textContent, yn = !0)), V = tr(w, Ot), 0 < V.length && (Ot = new xo(
8435
+ Ot,
8436
8436
  t,
8437
8437
  null,
8438
8438
  a,
8439
8439
  O
8440
- ), A.push({ event: Tt, listeners: V }), bt ? Tt.data = bt : (bt = To(a), bt !== null && (Tt.data = bt)))), (bt = Tg ? Og(t, a) : Sg(t, a)) && (Tt = tr(w, "onBeforeInput"), 0 < Tt.length && (V = new xo(
8440
+ ), A.push({ event: Ot, listeners: V }), bt ? Ot.data = bt : (bt = To(a), bt !== null && (Ot.data = bt)))), (bt = Tg ? Og(t, a) : Sg(t, a)) && (Ot = tr(w, "onBeforeInput"), 0 < Ot.length && (V = new xo(
8441
8441
  "onBeforeInput",
8442
8442
  "beforeinput",
8443
8443
  null,
@@ -8445,7 +8445,7 @@ Error generating stack: ` + n.message + `
8445
8445
  O
8446
8446
  ), A.push({
8447
8447
  event: V,
8448
- listeners: Tt
8448
+ listeners: Ot
8449
8449
  }), V.data = bt)), yp(
8450
8450
  A,
8451
8451
  t,
@@ -9500,7 +9500,7 @@ Error generating stack: ` + n.message + `
9500
9500
  m: Xp,
9501
9501
  X: Qp,
9502
9502
  S: Up,
9503
- M: Kp
9503
+ M: Rp
9504
9504
  };
9505
9505
  function Gp() {
9506
9506
  var t = da.f(), e = qi();
@@ -9508,11 +9508,11 @@ Error generating stack: ` + n.message + `
9508
9508
  }
9509
9509
  function kp(t) {
9510
9510
  var e = dn(t);
9511
- e !== null && e.tag === 5 && e.type === "form" ? Ku(e) : da.r(t);
9511
+ e !== null && e.tag === 5 && e.type === "form" ? Ru(e) : da.r(t);
9512
9512
  }
9513
- var Rn = typeof document > "u" ? null : document;
9513
+ var Kn = typeof document > "u" ? null : document;
9514
9514
  function Sd(t, e, a) {
9515
- var n = Rn;
9515
+ var n = Kn;
9516
9516
  if (n && typeof e == "string" && e) {
9517
9517
  var l = Ae(e);
9518
9518
  l = 'link[rel="' + t + '"][href="' + l + '"]', typeof a == "string" && (l += '[crossorigin="' + a + '"]'), Od.has(l) || (Od.add(l), t = { rel: t, crossOrigin: a, href: e }, n.querySelector(l) === null && (e = n.createElement("link"), ue(e, "link", t), ne(e), n.head.appendChild(e)));
@@ -9526,7 +9526,7 @@ Error generating stack: ` + n.message + `
9526
9526
  }
9527
9527
  function Hp(t, e, a) {
9528
9528
  da.L(t, e, a);
9529
- var n = Rn;
9529
+ var n = Kn;
9530
9530
  if (n && t && e) {
9531
9531
  var l = 'link[rel="preload"][as="' + Ae(e) + '"]';
9532
9532
  e === "image" && a && a.imageSrcSet ? (l += '[imagesrcset="' + Ae(
@@ -9554,7 +9554,7 @@ Error generating stack: ` + n.message + `
9554
9554
  }
9555
9555
  function Xp(t, e) {
9556
9556
  da.m(t, e);
9557
- var a = Rn;
9557
+ var a = Kn;
9558
9558
  if (a && t) {
9559
9559
  var n = e && typeof e.as == "string" ? e.as : "script", l = 'link[rel="modulepreload"][as="' + Ae(n) + '"][href="' + Ae(t) + '"]', i = l;
9560
9560
  switch (n) {
@@ -9583,7 +9583,7 @@ Error generating stack: ` + n.message + `
9583
9583
  }
9584
9584
  function Up(t, e, a) {
9585
9585
  da.S(t, e, a);
9586
- var n = Rn;
9586
+ var n = Kn;
9587
9587
  if (n && t) {
9588
9588
  var l = mn(n).hoistableStyles, i = Fn(t);
9589
9589
  e = e || "default";
@@ -9619,7 +9619,7 @@ Error generating stack: ` + n.message + `
9619
9619
  }
9620
9620
  function Qp(t, e) {
9621
9621
  da.X(t, e);
9622
- var a = Rn;
9622
+ var a = Kn;
9623
9623
  if (a && t) {
9624
9624
  var n = mn(a).hoistableScripts, l = Jn(t), i = n.get(l);
9625
9625
  i || (i = a.querySelector(Ql(l)), i || (t = E({ src: t, async: !0 }, e), (e = Le.get(l)) && jc(t, e), i = a.createElement("script"), ne(i), ue(i, "link", t), a.head.appendChild(i)), i = {
@@ -9630,9 +9630,9 @@ Error generating stack: ` + n.message + `
9630
9630
  }, n.set(l, i));
9631
9631
  }
9632
9632
  }
9633
- function Kp(t, e) {
9633
+ function Rp(t, e) {
9634
9634
  da.M(t, e);
9635
- var a = Rn;
9635
+ var a = Kn;
9636
9636
  if (a && t) {
9637
9637
  var n = mn(a).hoistableScripts, l = Jn(t), i = n.get(l);
9638
9638
  i || (i = a.querySelector(Ql(l)), i || (t = E({ src: t, async: !0, type: "module" }, e), (e = Le.get(l)) && jc(t, e), i = a.createElement("script"), ne(i), ue(i, "link", t), a.head.appendChild(i)), i = {
@@ -9681,7 +9681,7 @@ Error generating stack: ` + n.message + `
9681
9681
  media: a.media,
9682
9682
  hrefLang: a.hrefLang,
9683
9683
  referrerPolicy: a.referrerPolicy
9684
- }, Le.set(t, a), i || Rp(
9684
+ }, Le.set(t, a), i || Kp(
9685
9685
  l,
9686
9686
  t,
9687
9687
  a,
@@ -9718,7 +9718,7 @@ Error generating stack: ` + n.message + `
9718
9718
  precedence: null
9719
9719
  });
9720
9720
  }
9721
- function Rp(t, e, a, n) {
9721
+ function Kp(t, e, a, n) {
9722
9722
  t.querySelector('link[rel="preload"][as="style"][' + e + "]") ? n.loading = 1 : (e = t.createElement("link"), n.preload = e, e.addEventListener("load", function() {
9723
9723
  return n.loading |= 1;
9724
9724
  }), e.addEventListener("error", function() {
@@ -9911,7 +9911,7 @@ Error generating stack: ` + n.message + `
9911
9911
  l = e.instance, s = l.getAttribute("data-precedence"), i = a.get(s) || n, i === n && a.set(null, l), a.set(s, l), this.count++, n = ir.bind(this), l.addEventListener("load", n), l.addEventListener("error", n), i ? i.parentNode.insertBefore(l, i.nextSibling) : (t = t.nodeType === 9 ? t.head : t, t.insertBefore(l, t.firstChild)), e.state.loading |= 4;
9912
9912
  }
9913
9913
  }
9914
- var Kl = {
9914
+ var Rl = {
9915
9915
  $$typeof: H,
9916
9916
  Provider: null,
9917
9917
  Consumer: null,
@@ -10151,12 +10151,12 @@ Error generating stack: ` + n.message + `
10151
10151
  case "pointerleave":
10152
10152
  return 8;
10153
10153
  case "message":
10154
- switch (P()) {
10154
+ switch (_()) {
10155
10155
  case it:
10156
10156
  return 2;
10157
10157
  case F:
10158
10158
  return 8;
10159
- case jt:
10159
+ case zt:
10160
10160
  case pt:
10161
10161
  return 32;
10162
10162
  case Ft:
@@ -10168,7 +10168,7 @@ Error generating stack: ` + n.message + `
10168
10168
  return 32;
10169
10169
  }
10170
10170
  }
10171
- var Ac = !1, Ea = null, Ya = null, Ba = null, Rl = /* @__PURE__ */ new Map(), Fl = /* @__PURE__ */ new Map(), Ga = [], _p = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(
10171
+ var Ac = !1, Ea = null, Ya = null, Ba = null, Kl = /* @__PURE__ */ new Map(), Fl = /* @__PURE__ */ new Map(), Ga = [], _p = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(
10172
10172
  " "
10173
10173
  );
10174
10174
  function Qd(t, e) {
@@ -10187,7 +10187,7 @@ Error generating stack: ` + n.message + `
10187
10187
  break;
10188
10188
  case "pointerover":
10189
10189
  case "pointerout":
10190
- Rl.delete(e.pointerId);
10190
+ Kl.delete(e.pointerId);
10191
10191
  break;
10192
10192
  case "gotpointercapture":
10193
10193
  case "lostpointercapture":
@@ -10234,10 +10234,10 @@ Error generating stack: ` + n.message + `
10234
10234
  ), !0;
10235
10235
  case "pointerover":
10236
10236
  var i = l.pointerId;
10237
- return Rl.set(
10237
+ return Kl.set(
10238
10238
  i,
10239
10239
  Jl(
10240
- Rl.get(i) || null,
10240
+ Kl.get(i) || null,
10241
10241
  t,
10242
10242
  e,
10243
10243
  a,
@@ -10260,7 +10260,7 @@ Error generating stack: ` + n.message + `
10260
10260
  }
10261
10261
  return !1;
10262
10262
  }
10263
- function Kd(t) {
10263
+ function Rd(t) {
10264
10264
  var e = fn(t.target);
10265
10265
  if (e !== null) {
10266
10266
  var a = b(e);
@@ -10304,11 +10304,11 @@ Error generating stack: ` + n.message + `
10304
10304
  }
10305
10305
  return !0;
10306
10306
  }
10307
- function Rd(t, e, a) {
10307
+ function Kd(t, e, a) {
10308
10308
  ur(t) && a.delete(e);
10309
10309
  }
10310
10310
  function t0() {
10311
- Ac = !1, Ea !== null && ur(Ea) && (Ea = null), Ya !== null && ur(Ya) && (Ya = null), Ba !== null && ur(Ba) && (Ba = null), Rl.forEach(Rd), Fl.forEach(Rd);
10311
+ Ac = !1, Ea !== null && ur(Ea) && (Ea = null), Ya !== null && ur(Ya) && (Ya = null), Ba !== null && ur(Ba) && (Ba = null), Kl.forEach(Kd), Fl.forEach(Kd);
10312
10312
  }
10313
10313
  function fr(t, e) {
10314
10314
  t.blockedOn === e && (t.blockedOn = null, Ac || (Ac = !0, r.unstable_scheduleCallback(
@@ -10349,13 +10349,13 @@ Error generating stack: ` + n.message + `
10349
10349
  function e(d) {
10350
10350
  return fr(d, t);
10351
10351
  }
10352
- Ea !== null && fr(Ea, t), Ya !== null && fr(Ya, t), Ba !== null && fr(Ba, t), Rl.forEach(e), Fl.forEach(e);
10352
+ Ea !== null && fr(Ea, t), Ya !== null && fr(Ya, t), Ba !== null && fr(Ba, t), Kl.forEach(e), Fl.forEach(e);
10353
10353
  for (var a = 0; a < Ga.length; a++) {
10354
10354
  var n = Ga[a];
10355
10355
  n.blockedOn === t && (n.blockedOn = null);
10356
10356
  }
10357
10357
  for (; 0 < Ga.length && (a = Ga[0], a.blockedOn === null); )
10358
- Kd(a), a.blockedOn === null && Ga.shift();
10358
+ Rd(a), a.blockedOn === null && Ga.shift();
10359
10359
  if (a = (t.ownerDocument || t).$$reactFormReplay, a != null)
10360
10360
  for (n = 0; n < a.length; n += 3) {
10361
10361
  var l = a[n], i = a[n + 1], s = l[ge] || null;
@@ -10428,7 +10428,7 @@ Error generating stack: ` + n.message + `
10428
10428
  var e = to();
10429
10429
  t = { blockedOn: null, target: t, priority: e };
10430
10430
  for (var a = 0; a < Ga.length && e !== 0 && e < Ga[a].priority; a++) ;
10431
- Ga.splice(a, 0, t), a === 0 && Kd(t);
10431
+ Ga.splice(a, 0, t), a === 0 && Rd(t);
10432
10432
  }
10433
10433
  };
10434
10434
  var qd = u.version;
@@ -10640,7 +10640,7 @@ const U0 = [
10640
10640
  ["path", { d: "m3 21 7-7", key: "tjx5ai" }],
10641
10641
  ["path", { d: "M9 21H3v-6", key: "wtvkvv" }]
10642
10642
  ], Q0 = Jt("maximize-2", U0);
10643
- const K0 = [
10643
+ const R0 = [
10644
10644
  [
10645
10645
  "path",
10646
10646
  {
@@ -10650,7 +10650,7 @@ const K0 = [
10650
10650
  ],
10651
10651
  ["path", { d: "M12 8v6", key: "1ib9pf" }],
10652
10652
  ["path", { d: "M9 11h6", key: "1fldmi" }]
10653
- ], R0 = Jt("message-square-plus", K0);
10653
+ ], K0 = Jt("message-square-plus", R0);
10654
10654
  const F0 = [
10655
10655
  ["path", { d: "m14 10 7-7", key: "oa77jy" }],
10656
10656
  ["path", { d: "M20 10h-6V4", key: "mjg0md" }],
@@ -10825,7 +10825,7 @@ function gb(r) {
10825
10825
  recordScope: j,
10826
10826
  facts: Y,
10827
10827
  ...h
10828
- } = r, v = im(u), Z = im(m), E = Z && v && Z !== v ? void 0 : Z, K = typeof f == "string" && f.trim() ? f : void 0, _ = v === "aggregate" || v === "both" ? mb(T) : void 0;
10828
+ } = r, v = im(u), Z = im(m), E = Z && v && Z !== v ? void 0 : Z, R = typeof f == "string" && f.trim() ? f : void 0, $ = v === "aggregate" || v === "both" ? mb(T) : void 0;
10829
10829
  let W = {};
10830
10830
  if (b !== void 0) {
10831
10831
  if (b !== "exists" && b !== "count" || !["completed", "active", "schedule"].includes(String(j)) || !we(Y) || r.rows.length !== 0 || r.rowCount !== 0 || r.scopeComplete !== !0 || v !== void 0 || Z !== void 0) return null;
@@ -10841,8 +10841,8 @@ function gb(r) {
10841
10841
  ...h,
10842
10842
  ...v ? { resultKind: v } : {},
10843
10843
  ...E ? { queryKind: E } : {},
10844
- ...K ? { fieldProfileRef: K } : {},
10845
- ..._ ? { summary: _ } : {},
10844
+ ...R ? { fieldProfileRef: R } : {},
10845
+ ...$ ? { summary: $ } : {},
10846
10846
  ...W
10847
10847
  };
10848
10848
  }
@@ -10926,16 +10926,16 @@ function Jc(r = {}) {
10926
10926
  Y = sessionStorage.getItem(j) ?? "";
10927
10927
  } catch {
10928
10928
  }
10929
- async function h(B, $) {
10930
- const St = {
10929
+ async function h(B, P) {
10930
+ const jt = {
10931
10931
  "Content-Type": "application/json",
10932
- ...$?.headers
10932
+ ...P?.headers
10933
10933
  };
10934
- T !== void 0 ? St[cm] = T : b && (St[sm] = Y || "new");
10934
+ T !== void 0 ? jt[cm] = T : b && (jt[sm] = Y || "new");
10935
10935
  const Qt = await fetch(`${u}/${B}`, {
10936
10936
  credentials: r.credentials ?? "same-origin",
10937
- ...$,
10938
- headers: St,
10937
+ ...P,
10938
+ headers: jt,
10939
10939
  cache: "no-store"
10940
10940
  });
10941
10941
  if (T !== void 0 && Qt.ok && Qt.headers.get(cm) !== T)
@@ -10959,36 +10959,37 @@ function Jc(r = {}) {
10959
10959
  function Z() {
10960
10960
  return h("conversations", { method: "POST" });
10961
10961
  }
10962
- function E(B, $) {
10962
+ function E(B, P) {
10963
10963
  return h(`conversations/${B}/title`, {
10964
10964
  method: "PATCH",
10965
- body: JSON.stringify({ title: $ })
10965
+ body: JSON.stringify({ title: P })
10966
10966
  });
10967
10967
  }
10968
- function K(B) {
10968
+ function R(B) {
10969
10969
  return h(`conversations/${B}/title/auto`, {
10970
10970
  method: "POST"
10971
10971
  });
10972
10972
  }
10973
- function _(B) {
10973
+ function $(B) {
10974
10974
  return h(`conversations/${B}`, { method: "DELETE" });
10975
10975
  }
10976
10976
  function W() {
10977
10977
  return h("conversations", { method: "DELETE" });
10978
10978
  }
10979
10979
  function at(B) {
10980
- return h(`conversations/${B}/snapshot`).then(rb);
10980
+ const P = m(), jt = "pageId" in P ? `?pageId=${encodeURIComponent(P.pageId)}` : "";
10981
+ return h(`conversations/${B}/snapshot${jt}`).then(rb);
10981
10982
  }
10982
- function R(B, $, St) {
10983
+ function K(B, P, jt) {
10983
10984
  return h(`conversations/${B}/confirmations`, {
10984
10985
  method: "POST",
10985
- body: JSON.stringify({ message: $, filters: St, ...m() })
10986
+ body: JSON.stringify({ message: P, filters: jt, ...m() })
10986
10987
  });
10987
10988
  }
10988
- function dt(B, $, St, Qt) {
10989
+ function dt(B, P, jt, Qt) {
10989
10990
  return h(
10990
10991
  `conversations/${B}/messages`,
10991
- { method: "POST", body: JSON.stringify({ message: $, filters: St, ...m() }), signal: Qt }
10992
+ { method: "POST", body: JSON.stringify({ message: P, filters: jt, ...m() }), signal: Qt }
10992
10993
  );
10993
10994
  }
10994
10995
  function lt(B) {
@@ -10996,22 +10997,22 @@ function Jc(r = {}) {
10996
10997
  method: "POST"
10997
10998
  });
10998
10999
  }
10999
- function H(B, $, St = {}) {
11000
+ function H(B, P, jt = {}) {
11000
11001
  return h(
11001
11002
  `confirmations/${B}/confirm`,
11002
- { method: "POST", body: JSON.stringify({ selectedDockSns: $, djiSecureInputs: St, ...m() }) }
11003
+ { method: "POST", body: JSON.stringify({ selectedDockSns: P, djiSecureInputs: jt, ...m() }) }
11003
11004
  );
11004
11005
  }
11005
- function ht(B, $) {
11006
+ function ht(B, P) {
11006
11007
  return h(
11007
11008
  `confirmations/${B}/location-confirm`,
11008
- { method: "POST", body: JSON.stringify({ candidateId: $, ...m() }) }
11009
+ { method: "POST", body: JSON.stringify({ candidateId: P, ...m() }) }
11009
11010
  );
11010
11011
  }
11011
- function st(B, $) {
11012
+ function st(B, P) {
11012
11013
  return h(
11013
11014
  `confirmations/${B}/draw-type-confirm`,
11014
- { method: "POST", body: JSON.stringify({ purpose: $, ...m() }) }
11015
+ { method: "POST", body: JSON.stringify({ purpose: P, ...m() }) }
11015
11016
  );
11016
11017
  }
11017
11018
  function J(B) {
@@ -11019,7 +11020,7 @@ function Jc(r = {}) {
11019
11020
  method: "POST"
11020
11021
  });
11021
11022
  }
11022
- return { listConversations: v, createConversation: Z, renameConversation: E, autoNameConversation: K, deleteConversation: _, clearConversations: W, getConversationSnapshot: at, createConfirmation: R, sendPlatformMessage: dt, cancelConversationRun: lt, confirmOperation: H, confirmLocation: ht, confirmDrawingType: st, cancelConfirmation: J };
11023
+ return { listConversations: v, createConversation: Z, renameConversation: E, autoNameConversation: R, deleteConversation: $, clearConversations: W, getConversationSnapshot: at, createConfirmation: K, sendPlatformMessage: dt, cancelConversationRun: lt, confirmOperation: H, confirmLocation: ht, confirmDrawingType: st, cancelConfirmation: J };
11023
11024
  }
11024
11025
  const { listConversations: Mh, createConversation: Nh, renameConversation: jh, autoNameConversation: zh, deleteConversation: Th, clearConversations: Oh, getConversationSnapshot: Sh, createConfirmation: Dh, sendPlatformMessage: Ah, cancelConversationRun: Ch, confirmOperation: Eh, confirmLocation: Yh, confirmDrawingType: Bh, cancelConfirmation: Gh } = Jc(), Bm = k.createContext(Jc()), Gm = () => k.useContext(Bm);
11025
11026
  function wb(r, u, m) {
@@ -11064,11 +11065,11 @@ function Za({
11064
11065
  v.left,
11065
11066
  Wn,
11066
11067
  Math.max(Wn, window.innerWidth - Z - Wn)
11067
- ), _ = v.bottom + Hc + om <= window.innerHeight - Wn ? v.bottom + Hc : Math.max(
11068
+ ), $ = v.bottom + Hc + om <= window.innerHeight - Wn ? v.bottom + Hc : Math.max(
11068
11069
  Wn,
11069
11070
  v.top - Hc - om
11070
11071
  );
11071
- T({ left: E, top: _, maxWidth: Z });
11072
+ T({ left: E, top: $, maxWidth: Z });
11072
11073
  }, [r]), j = k.useCallback(() => T(null), []);
11073
11074
  k.useEffect(() => {
11074
11075
  if (!f) return;
@@ -11179,25 +11180,25 @@ function Db({
11179
11180
  paginationEnabled: h = !1,
11180
11181
  selectAllEnabled: v = !1
11181
11182
  }) {
11182
- const [Z, E] = k.useState([]), [K, _] = k.useState(!1), [W, at] = k.useState(1), R = r.candidates ?? jb, dt = r.selectedDockSns ?? zb, lt = b ? j ?? dt : Z, H = R.length > 0 && R.every((U) => lt.includes(U.dock_sn)), ht = lt.length > 0 && !K && !b, st = r.action === "terminate" || r.action === "resume", J = r.action === "takeoff", B = r.action === "power-on" || r.action === "power-off", $ = ["set-altitude", "set-distance", "disable-distance", "upper-avoidance", "lower-avoidance", "horizontal-avoidance"].includes(r.action), St = ["ground-wind", "aerial-wind", "rainfall"].includes(r.action), Qt = km[r.action] ?? "执行操作", Lt = b && Y === "cancelled", X = Sb(r.parameters), ct = Math.max(1, Math.ceil(R.length / pr)), wt = Math.min(W, ct), Bt = h ? R.slice((wt - 1) * pr, wt * pr) : R;
11183
+ const [Z, E] = k.useState([]), [R, $] = k.useState(!1), [W, at] = k.useState(1), K = r.candidates ?? jb, dt = r.selectedDockSns ?? zb, lt = b ? j ?? dt : Z, H = K.length > 0 && K.every((U) => lt.includes(U.dock_sn)), ht = lt.length > 0 && !R && !b, st = r.action === "terminate" || r.action === "resume", J = r.action === "takeoff", B = r.action === "power-on" || r.action === "power-off", P = ["set-altitude", "set-distance", "disable-distance", "upper-avoidance", "lower-avoidance", "horizontal-avoidance"].includes(r.action), jt = ["ground-wind", "aerial-wind", "rainfall"].includes(r.action), Qt = km[r.action] ?? "执行操作", Lt = b && Y === "cancelled", X = Sb(r.parameters), ct = Math.max(1, Math.ceil(K.length / pr)), wt = Math.min(W, ct), Bt = h ? K.slice((wt - 1) * pr, wt * pr) : K;
11183
11184
  k.useEffect(() => {
11184
- E(dt), _(!1), at(1);
11185
+ E(dt), $(!1), at(1);
11185
11186
  }, [r.id, dt]);
11186
11187
  const z = (U) => {
11187
11188
  b || E(
11188
11189
  (ot) => ot.includes(U.dock_sn) ? ot.filter((vt) => vt !== U.dock_sn) : [...ot, U.dock_sn]
11189
11190
  );
11190
11191
  }, G = () => {
11191
- b || K || E(H ? [] : Array.from(new Set(R.map((U) => U.dock_sn))));
11192
+ b || R || E(H ? [] : Array.from(new Set(K.map((U) => U.dock_sn))));
11192
11193
  };
11193
11194
  return /* @__PURE__ */ c.jsxs("section", { "data-card-id": T, className: "mt-4 overflow-hidden rounded-2xl border border-slate-200 bg-white shadow-sm", children: [
11194
11195
  /* @__PURE__ */ c.jsxs("div", { className: "flex flex-wrap items-center justify-between gap-3 bg-gradient-to-r from-slate-900 to-slate-700 px-5 py-4 text-white", children: [
11195
11196
  /* @__PURE__ */ c.jsxs("div", { children: [
11196
- /* @__PURE__ */ c.jsx("p", { className: "text-xs text-slate-300", children: st ? "飞行任务调度" : J || B || $ ? "飞控操作" : "机场运维任务" }),
11197
+ /* @__PURE__ */ c.jsx("p", { className: "text-xs text-slate-300", children: st ? "飞行任务调度" : J || B || P ? "飞控操作" : "机场运维任务" }),
11197
11198
  /* @__PURE__ */ c.jsxs("h2", { className: "mt-1 text-base font-semibold", children: [
11198
11199
  "确认",
11199
11200
  Qt,
11200
- st ? "飞行任务" : J || B || $ || St || r.action === "restart" ? "" : "机场运维模式"
11201
+ st ? "飞行任务" : J || B || P || jt || r.action === "restart" ? "" : "机场运维模式"
11201
11202
  ] })
11202
11203
  ] }),
11203
11204
  /* @__PURE__ */ c.jsxs("span", { className: "rounded-full bg-white/15 px-2.5 py-1 text-xs text-slate-100", children: [
@@ -11205,7 +11206,7 @@ function Db({
11205
11206
  " ",
11206
11207
  lt.length,
11207
11208
  "/",
11208
- R.length
11209
+ K.length
11209
11210
  ] })
11210
11211
  ] }),
11211
11212
  /* @__PURE__ */ c.jsxs("div", { className: "flex flex-wrap items-start justify-between gap-3 border-b border-slate-100 px-5 py-4 text-sm text-slate-600", children: [
@@ -11216,18 +11217,18 @@ function Db({
11216
11217
  X
11217
11218
  ] }) : null
11218
11219
  ] }),
11219
- v && !b && R.length > 0 ? /* @__PURE__ */ c.jsxs(
11220
+ v && !b && K.length > 0 ? /* @__PURE__ */ c.jsxs(
11220
11221
  "button",
11221
11222
  {
11222
11223
  type: "button",
11223
11224
  role: "checkbox",
11224
11225
  "aria-checked": H,
11225
- disabled: K,
11226
+ disabled: R,
11226
11227
  onClick: G,
11227
11228
  className: `gis-platform-agent-card-button gis-platform-agent-card-button-secondary gis-platform-agent-select-all${H ? " is-selected" : ""}`,
11228
11229
  children: [
11229
11230
  H ? /* @__PURE__ */ c.jsx(tb, { className: "h-4 w-4" }) : /* @__PURE__ */ c.jsx(ab, { className: "h-4 w-4" }),
11230
- H ? `取消全选 ${R.length} 项` : `全选全部 ${R.length} 项`
11231
+ H ? `取消全选 ${K.length} 项` : `全选全部 ${K.length} 项`
11231
11232
  ]
11232
11233
  }
11233
11234
  ) : null
@@ -11257,7 +11258,7 @@ function Db({
11257
11258
  U.dock_sn
11258
11259
  );
11259
11260
  }) }),
11260
- h && R.length > pr ? /* @__PURE__ */ c.jsxs("div", { className: "gis-platform-agent-card-pagination flex items-center justify-end gap-2 border-t border-slate-100 bg-white px-5 py-3 text-xs text-slate-600", children: [
11261
+ h && K.length > pr ? /* @__PURE__ */ c.jsxs("div", { className: "gis-platform-agent-card-pagination flex items-center justify-end gap-2 border-t border-slate-100 bg-white px-5 py-3 text-xs text-slate-600", children: [
11261
11262
  /* @__PURE__ */ c.jsx("button", { type: "button", disabled: wt === 1, onClick: () => at((U) => Math.max(1, U - 1)), className: "gis-platform-agent-card-button gis-platform-agent-card-button-secondary gis-platform-agent-page-button", "aria-label": "上一页", children: "上一页" }),
11262
11263
  /* @__PURE__ */ c.jsxs("span", { className: "gis-platform-agent-card-page-indicator gis-platform-agent-page-indicator min-w-16 text-center font-medium", "aria-live": "polite", children: [
11263
11264
  "第 ",
@@ -11275,7 +11276,7 @@ function Db({
11275
11276
  "button",
11276
11277
  {
11277
11278
  type: "button",
11278
- disabled: K,
11279
+ disabled: R,
11279
11280
  onClick: () => {
11280
11281
  m();
11281
11282
  },
@@ -11289,15 +11290,15 @@ function Db({
11289
11290
  type: "button",
11290
11291
  disabled: !ht,
11291
11292
  onClick: async () => {
11292
- _(!0);
11293
+ $(!0);
11293
11294
  try {
11294
11295
  await u(lt);
11295
11296
  } finally {
11296
- _(!1);
11297
+ $(!1);
11297
11298
  }
11298
11299
  },
11299
11300
  className: "gis-platform-agent-card-button gis-platform-agent-card-button-primary",
11300
- children: K ? "正在下发…" : f ?? `确认${Qt}`
11301
+ children: R ? "正在下发…" : f ?? `确认${Qt}`
11301
11302
  }
11302
11303
  )
11303
11304
  ] })
@@ -11323,7 +11324,7 @@ function Cb({
11323
11324
  k.useEffect(() => {
11324
11325
  j(r.selectedCandidateId ?? null), Z(1);
11325
11326
  }, [r.id, r.selectedCandidateId, r.status]);
11326
- const E = r.candidates.find((lt) => lt.id === b), K = r.parameters?.keyword?.trim() || "当前地点", _ = !!(r.parameters?.drawing && typeof r.parameters.drawing == "object"), W = Math.max(1, Math.ceil(r.candidates.length / br)), at = Math.min(v, W), R = (at - 1) * br, dt = r.candidates.slice(R, R + br);
11327
+ const E = r.candidates.find((lt) => lt.id === b), R = r.parameters?.keyword?.trim() || "当前地点", $ = !!(r.parameters?.drawing && typeof r.parameters.drawing == "object"), W = Math.max(1, Math.ceil(r.candidates.length / br)), at = Math.min(v, W), K = (at - 1) * br, dt = r.candidates.slice(K, K + br);
11327
11328
  return /* @__PURE__ */ c.jsxs(
11328
11329
  "section",
11329
11330
  {
@@ -11342,9 +11343,9 @@ function Cb({
11342
11343
  /* @__PURE__ */ c.jsxs("div", { className: "border-b border-slate-100 px-5 py-4 text-sm text-slate-600", children: [
11343
11344
  /* @__PURE__ */ c.jsxs("p", { children: [
11344
11345
  "查询关键词:",
11345
- /* @__PURE__ */ c.jsx("span", { className: "font-medium text-slate-900", children: K })
11346
+ /* @__PURE__ */ c.jsx("span", { className: "font-medium text-slate-900", children: R })
11346
11347
  ] }),
11347
- /* @__PURE__ */ c.jsx("p", { className: "mt-1 text-xs text-slate-500", children: T ? "确认卡已取消,候选项已锁定,未执行地图定位。" : f ? `已确认:${E ? Xc(E) : "所选地点"}${_ ? ",请继续选择绘制类型。" : ",地图定位事件已发送。"}` : "请选择一个候选地点;确认前不会执行地图定位。" })
11348
+ /* @__PURE__ */ c.jsx("p", { className: "mt-1 text-xs text-slate-500", children: T ? "确认卡已取消,候选项已锁定,未执行地图定位。" : f ? `已确认:${E ? Xc(E) : "所选地点"}${$ ? ",请继续选择绘制类型。" : ",地图定位事件已发送。"}` : "请选择一个候选地点;确认前不会执行地图定位。" })
11348
11349
  ] }),
11349
11350
  /* @__PURE__ */ c.jsxs("fieldset", { disabled: f, className: "space-y-2 px-5 py-4", children: [
11350
11351
  /* @__PURE__ */ c.jsx("legend", { className: "sr-only", children: "地理位置候选项,单选" }),
@@ -11369,7 +11370,7 @@ function Cb({
11369
11370
  ),
11370
11371
  /* @__PURE__ */ c.jsxs("span", { className: "min-w-0 flex-1", children: [
11371
11372
  /* @__PURE__ */ c.jsxs("span", { className: "flex items-center gap-2", children: [
11372
- /* @__PURE__ */ c.jsx("span", { className: "grid h-5 w-5 shrink-0 place-items-center rounded-full bg-blue-100 text-[11px] font-semibold text-blue-700", children: R + H + 1 }),
11373
+ /* @__PURE__ */ c.jsx("span", { className: "grid h-5 w-5 shrink-0 place-items-center rounded-full bg-blue-100 text-[11px] font-semibold text-blue-700", children: K + H + 1 }),
11373
11374
  /* @__PURE__ */ c.jsx("span", { className: "truncate text-sm font-semibold text-slate-900", children: Xc(lt) }),
11374
11375
  lt.type ? /* @__PURE__ */ c.jsx("span", { className: "rounded-full bg-slate-100 px-2 py-0.5 text-[11px] text-slate-500", children: lt.type }) : null
11375
11376
  ] }),
@@ -11615,7 +11616,7 @@ function In({
11615
11616
  }
11616
11617
  );
11617
11618
  }
11618
- const Rc = {
11619
+ const Kc = {
11619
11620
  "generic-confirm@1": { cardId: "UI-CONFIRM-002" },
11620
11621
  "generic-operation-result@1": { cardId: "UI-OPS-001" },
11621
11622
  "generic-operation-status@1": {
@@ -11631,7 +11632,7 @@ function qc(r) {
11631
11632
  return r === "pending" ? "执行中" : ["成功", "失败", "执行中", "部分成功", "待执行", "未执行"].includes(r) ? r : "失败";
11632
11633
  }
11633
11634
  function Uc(r) {
11634
- const u = qc(r), m = Rc["generic-operation-status@1"];
11635
+ const u = qc(r), m = Kc["generic-operation-status@1"];
11635
11636
  return u === "成功" ? m.success : u === "失败" ? m.failure : u === "执行中" ? m.running : u === "部分成功" ? m.partial : u === "待执行" ? m.waiting : m.skipped;
11636
11637
  }
11637
11638
  function mm(r) {
@@ -11702,7 +11703,7 @@ function Ub({
11702
11703
  cardId: b,
11703
11704
  operationInProgress: j = !1
11704
11705
  }) {
11705
- const Y = r.action === "terminate" || r.action === "resume", h = r.action === "takeoff", v = r.action === "power-on" || r.action === "power-off", Z = ["set-altitude", "set-distance", "disable-distance", "upper-avoidance", "lower-avoidance", "horizontal-avoidance"].includes(r.action), [E, K] = k.useState(() => Object.entries(u).find(([, ct]) => ct.status !== "成功")?.[0] ?? null), [_, W] = k.useState(() => Date.now()), at = T ?? Zm[r.action] ?? "执行操作", R = k.useMemo(
11706
+ const Y = r.action === "terminate" || r.action === "resume", h = r.action === "takeoff", v = r.action === "power-on" || r.action === "power-off", Z = ["set-altitude", "set-distance", "disable-distance", "upper-avoidance", "lower-avoidance", "horizontal-avoidance"].includes(r.action), [E, R] = k.useState(() => Object.entries(u).find(([, ct]) => ct.status !== "成功")?.[0] ?? null), [$, W] = k.useState(() => Date.now()), at = T ?? Zm[r.action] ?? "执行操作", K = k.useMemo(
11706
11707
  () => r.candidates.filter(
11707
11708
  (X) => u[X.dock_sn] || j && r.selectedDockSns.includes(X.dock_sn)
11708
11709
  ),
@@ -11713,7 +11714,7 @@ function Ub({
11713
11714
  status: ct.status
11714
11715
  })), [f]), H = m?.length ? m : lt.length ? lt : [{ key: "maintenance", title: at, status: dt ? "失败" : "成功" }], ht = k.useMemo(
11715
11716
  () => Object.fromEntries(
11716
- R.map((X) => {
11717
+ K.map((X) => {
11717
11718
  const ct = u[X.dock_sn];
11718
11719
  return j && Lb(
11719
11720
  f[X.dock_sn] ?? [],
@@ -11724,7 +11725,7 @@ function Ub({
11724
11725
  }] : [X.dock_sn, ct ? { ...ct, status: gm(ct.status) } : { status: "结果未知", message: "暂未收到该目标的执行结果。" }];
11725
11726
  })
11726
11727
  ),
11727
- [H, j, u, f, R]
11728
+ [H, j, u, f, K]
11728
11729
  ), st = k.useMemo(() => {
11729
11730
  const X = Object.values(ht);
11730
11731
  return {
@@ -11737,25 +11738,25 @@ function Ub({
11737
11738
  status: Zb(
11738
11739
  X.key,
11739
11740
  f,
11740
- R.map((ct) => ct.dock_sn),
11741
+ K.map((ct) => ct.dock_sn),
11741
11742
  X.status,
11742
11743
  j
11743
11744
  ),
11744
11745
  statusDetail: Xb(
11745
11746
  X.key,
11746
11747
  f,
11747
- R.map((ct) => ct.dock_sn),
11748
- _
11748
+ K.map((ct) => ct.dock_sn),
11749
+ $
11749
11750
  )
11750
- })), $ = R.flatMap((X) => f[X.dock_sn] ?? []).map((X) => X.waitUntil).filter((X) => !!X).sort().join(",");
11751
+ })), P = K.flatMap((X) => f[X.dock_sn] ?? []).map((X) => X.waitUntil).filter((X) => !!X).sort().join(",");
11751
11752
  k.useEffect(() => {
11752
- if (!$) return;
11753
+ if (!P) return;
11753
11754
  W(Date.now());
11754
11755
  const X = window.setInterval(() => W(Date.now()), 1e3);
11755
11756
  return () => window.clearInterval(X);
11756
- }, [$]);
11757
- const St = k.useMemo(() => Object.fromEntries(
11758
- R.map((X) => {
11757
+ }, [P]);
11758
+ const jt = k.useMemo(() => Object.fromEntries(
11759
+ K.map((X) => {
11759
11760
  const ct = f[X.dock_sn] ?? [];
11760
11761
  return [X.dock_sn, H.map(
11761
11762
  (wt, Bt) => (() => {
@@ -11769,7 +11770,7 @@ function Ub({
11769
11770
  })()
11770
11771
  )];
11771
11772
  })
11772
- ), [H, f, R]), Qt = B.findIndex((X) => X.status === "执行中"), Lt = Qt >= 0 ? (Qt + 0.5) / B.length * 100 : B.every((X) => !["待执行", "执行中"].includes(X.status)) ? 100 : B.filter((X) => X.status === "成功").length / B.length * 100;
11773
+ ), [H, f, K]), Qt = B.findIndex((X) => X.status === "执行中"), Lt = Qt >= 0 ? (Qt + 0.5) / B.length * 100 : B.every((X) => !["待执行", "执行中"].includes(X.status)) ? 100 : B.filter((X) => X.status === "成功").length / B.length * 100;
11773
11774
  return /* @__PURE__ */ c.jsxs("section", { "data-card-id": b, className: "mt-4 overflow-hidden rounded-2xl border border-slate-200 bg-white shadow-sm", children: [
11774
11775
  /* @__PURE__ */ c.jsxs("div", { className: "bg-gradient-to-r from-slate-900 to-slate-700 px-5 py-4 text-white", children: [
11775
11776
  /* @__PURE__ */ c.jsxs("div", { className: "flex flex-wrap items-center justify-between gap-3", children: [
@@ -11779,7 +11780,7 @@ function Ub({
11779
11780
  ] }),
11780
11781
  /* @__PURE__ */ c.jsxs("div", { className: "flex flex-wrap gap-2 text-xs", children: [
11781
11782
  /* @__PURE__ */ c.jsxs("span", { className: "rounded-full bg-white/15 px-2.5 py-1", children: [
11782
- R.length,
11783
+ K.length,
11783
11784
  " 个",
11784
11785
  Y ? "任务" : h ? "起飞目标" : "机场"
11785
11786
  ] }),
@@ -11830,7 +11831,7 @@ function Ub({
11830
11831
  ] }, X.key);
11831
11832
  }) })
11832
11833
  ] }),
11833
- /* @__PURE__ */ c.jsx("div", { className: "divide-y divide-slate-100", children: R.map((X) => {
11834
+ /* @__PURE__ */ c.jsx("div", { className: "divide-y divide-slate-100", children: K.map((X) => {
11834
11835
  const ct = ht[X.dock_sn], wt = E === X.dock_sn, Bt = Uc(ct.status), z = Bt.Icon;
11835
11836
  return /* @__PURE__ */ c.jsxs("div", { children: [
11836
11837
  /* @__PURE__ */ c.jsxs(
@@ -11838,7 +11839,7 @@ function Ub({
11838
11839
  {
11839
11840
  type: "button",
11840
11841
  className: "gis-platform-agent-card-row-button flex w-full items-center gap-3 px-5 py-4 text-left transition-colors hover:bg-slate-50",
11841
- onClick: () => K(wt ? null : X.dock_sn),
11842
+ onClick: () => R(wt ? null : X.dock_sn),
11842
11843
  children: [
11843
11844
  /* @__PURE__ */ c.jsx(z, { className: `h-5 w-5 shrink-0 ${Bt.icon}` }),
11844
11845
  /* @__PURE__ */ c.jsxs("span", { className: "min-w-0 flex-1", children: [
@@ -11853,7 +11854,7 @@ function Ub({
11853
11854
  wt ? /* @__PURE__ */ c.jsxs("div", { className: "mx-5 mb-4 rounded-xl border border-slate-100 bg-slate-50 p-4 text-sm text-slate-700", children: [
11854
11855
  /* @__PURE__ */ c.jsx("p", { className: "font-medium", children: "执行结果" }),
11855
11856
  /* @__PURE__ */ c.jsx("p", { className: "mt-1 break-words text-slate-600", children: ct.message || "接口未返回说明" }),
11856
- St[X.dock_sn]?.length ? /* @__PURE__ */ c.jsx("div", { className: "mt-3 flex flex-wrap gap-2", children: St[X.dock_sn].map((G, U) => {
11857
+ jt[X.dock_sn]?.length ? /* @__PURE__ */ c.jsx("div", { className: "mt-3 flex flex-wrap gap-2", children: jt[X.dock_sn].map((G, U) => {
11857
11858
  const ot = Uc(G.status);
11858
11859
  return /* @__PURE__ */ c.jsxs("span", { className: `rounded-lg px-2.5 py-1 text-xs font-medium ${ot.badge}`, children: [
11859
11860
  U + 1,
@@ -11889,13 +11890,13 @@ const Il = 10, Qb = /* @__PURE__ */ new Set([
11889
11890
  "text",
11890
11891
  "boolean"
11891
11892
  ]);
11892
- function Kb(r) {
11893
+ function Rb(r) {
11893
11894
  return r == null || r === "" ? "—" : typeof r == "number" ? Number.isInteger(r) ? String(r) : r.toFixed(2) : String(r);
11894
11895
  }
11895
11896
  function Qc(r, u) {
11896
11897
  return typeof r == "number" && Number.isInteger(r) && r >= 0 && r <= 8 ? r : u;
11897
11898
  }
11898
- function Rb(r) {
11899
+ function Kb(r) {
11899
11900
  if (!r || typeof r != "object") return !1;
11900
11901
  const u = r;
11901
11902
  return !!(typeof u.key == "string" && typeof u.label == "string" && typeof u.format == "string" && u.key.trim() && u.label.trim() && Qb.has(u.format));
@@ -11930,7 +11931,7 @@ function qb({
11930
11931
  summary: h,
11931
11932
  emptyTitle: v
11932
11933
  }) {
11933
- const [Z, E] = k.useState(1), K = Math.max(1, Math.ceil(f.length / Il)), _ = Math.min(Z, K), W = (_ - 1) * Il, at = f.slice(W, W + Il), R = f.length > Il, dt = (b === "aggregate" || b === "both") && h?.source === "full_result" && Array.isArray(h.items) ? h.items.filter(Rb) : [], lt = dt.some(Fb);
11934
+ const [Z, E] = k.useState(1), R = Math.max(1, Math.ceil(f.length / Il)), $ = Math.min(Z, R), W = ($ - 1) * Il, at = f.slice(W, W + Il), K = f.length > Il, dt = (b === "aggregate" || b === "both") && h?.source === "full_result" && Array.isArray(h.items) ? h.items.filter(Kb) : [], lt = dt.some(Fb);
11934
11935
  return !f.length && !lt ? /* @__PURE__ */ c.jsx(Lm, { title: v ?? `暂无${r === "查询结果" ? "相关数据" : r}` }) : /* @__PURE__ */ c.jsxs("section", { "data-card-id": T, "data-field-profile-ref": Y, "data-query-kind": j, className: "gis-platform-agent-query-card overflow-hidden rounded-2xl border border-slate-200 bg-white shadow-sm", children: [
11935
11936
  /* @__PURE__ */ c.jsxs("div", { className: "gis-platform-agent-query-card-header flex flex-wrap items-center justify-between gap-3 bg-gradient-to-r from-slate-900 to-slate-700 px-5 py-4 text-white", children: [
11936
11937
  /* @__PURE__ */ c.jsxs("div", { children: [
@@ -11953,7 +11954,7 @@ function qb({
11953
11954
  /* @__PURE__ */ c.jsx("div", { className: "gis-platform-agent-query-table-wrap overflow-x-auto", children: /* @__PURE__ */ c.jsxs("table", { className: "gis-platform-agent-query-table w-full min-w-max border-collapse text-sm", children: [
11954
11955
  /* @__PURE__ */ c.jsx("thead", { className: "bg-slate-50 text-left text-slate-600", children: /* @__PURE__ */ c.jsx("tr", { children: m.map((H) => /* @__PURE__ */ c.jsx("th", { className: "whitespace-nowrap border-b border-slate-200 px-5 py-3 text-xs font-semibold", children: /* @__PURE__ */ c.jsx(Za, { text: H.label, className: "gis-platform-agent-query-cell-text" }) }, H.key)) }) }),
11955
11956
  /* @__PURE__ */ c.jsx("tbody", { children: at.map((H, ht) => /* @__PURE__ */ c.jsx("tr", { className: "border-b border-slate-100 last:border-0 hover:bg-slate-50", children: m.map((st) => {
11956
- const J = Kb(H[st.key]);
11957
+ const J = Rb(H[st.key]);
11957
11958
  return /* @__PURE__ */ c.jsx("td", { className: "whitespace-nowrap px-5 py-3 text-slate-700", children: /* @__PURE__ */ c.jsx(Za, { text: J, className: "gis-platform-agent-query-cell-text" }) }, st.key);
11958
11959
  }) }, ht)) })
11959
11960
  ] }) }),
@@ -11961,7 +11962,7 @@ function qb({
11961
11962
  /* @__PURE__ */ c.jsx("span", { "aria-hidden": "true" }),
11962
11963
  "查询结果已加载"
11963
11964
  ] }),
11964
- R ? /* @__PURE__ */ c.jsxs("footer", { className: "gis-platform-agent-query-pagination flex flex-wrap items-center justify-between gap-3 border-t border-slate-200 bg-slate-50 px-5 py-3 text-xs text-slate-600", children: [
11965
+ K ? /* @__PURE__ */ c.jsxs("footer", { className: "gis-platform-agent-query-pagination flex flex-wrap items-center justify-between gap-3 border-t border-slate-200 bg-slate-50 px-5 py-3 text-xs text-slate-600", children: [
11965
11966
  /* @__PURE__ */ c.jsxs("span", { className: "gis-platform-agent-query-pagination-summary", children: [
11966
11967
  "当前展示第 ",
11967
11968
  W + 1,
@@ -11976,7 +11977,7 @@ function qb({
11976
11977
  "button",
11977
11978
  {
11978
11979
  type: "button",
11979
- disabled: _ === 1,
11980
+ disabled: $ === 1,
11980
11981
  onClick: () => E((H) => Math.max(1, H - 1)),
11981
11982
  className: "gis-platform-agent-card-button gis-platform-agent-card-button-secondary gis-platform-agent-page-button",
11982
11983
  "aria-label": "上一页",
@@ -11985,17 +11986,17 @@ function qb({
11985
11986
  ),
11986
11987
  /* @__PURE__ */ c.jsxs("span", { className: "gis-platform-agent-card-page-indicator gis-platform-agent-page-indicator min-w-16 text-center font-medium text-slate-700", "aria-live": "polite", children: [
11987
11988
  "第 ",
11988
- _,
11989
+ $,
11989
11990
  " / ",
11990
- K,
11991
+ R,
11991
11992
  " 页"
11992
11993
  ] }),
11993
11994
  /* @__PURE__ */ c.jsx(
11994
11995
  "button",
11995
11996
  {
11996
11997
  type: "button",
11997
- disabled: _ === K,
11998
- onClick: () => E((H) => Math.min(K, H + 1)),
11998
+ disabled: $ === R,
11999
+ onClick: () => E((H) => Math.min(R, H + 1)),
11999
12000
  className: "gis-platform-agent-card-button gis-platform-agent-card-button-secondary gis-platform-agent-page-button",
12000
12001
  "aria-label": "下一页",
12001
12002
  children: "下一页"
@@ -12140,7 +12141,7 @@ function Pb({
12140
12141
  onCancel: f,
12141
12142
  onEvent: T
12142
12143
  }) {
12143
- const b = r.candidates[0]?.dock_sn ?? "dji-operation", [j, Y] = k.useState(!1), [h, v] = k.useState(!1), [Z, E] = k.useState({}), K = r.secureInputFields ?? [], _ = Object.values(r.results ?? {})[0], W = _ ? hr(_b(_.message)) : null, at = Object.values(r.targetSteps ?? {}).flat();
12144
+ const b = r.candidates[0]?.dock_sn ?? "dji-operation", [j, Y] = k.useState(!1), [h, v] = k.useState(!1), [Z, E] = k.useState({}), R = r.secureInputFields ?? [], $ = Object.values(r.results ?? {})[0], W = $ ? hr(_b($.message)) : null, at = Object.values(r.targetSteps ?? {}).flat();
12144
12145
  return k.useEffect(() => {
12145
12146
  Y(!1), v(!1), E({});
12146
12147
  }, [r.id]), /* @__PURE__ */ c.jsxs("section", { className: "gis-platform-agent-dji-card mt-4", "aria-label": "DJI 操作确认", children: [
@@ -12168,34 +12169,34 @@ function Pb({
12168
12169
  /* @__PURE__ */ c.jsx("pre", { children: hm(r.dryRunResult) })
12169
12170
  ] }) : /* @__PURE__ */ c.jsx("p", { className: "gis-platform-agent-dji-card-message", children: "该动作没有 dry_run,点击确认后才会执行。" }),
12170
12171
  u ? /* @__PURE__ */ c.jsxs("div", { className: "border-t border-slate-200 pt-3 text-sm", children: [
12171
- W ? /* @__PURE__ */ c.jsx(Wc, { result: W, onEvent: T, invocationId: r.invocationId }) : _ ? /* @__PURE__ */ c.jsxs("p", { children: [
12172
- _.status,
12172
+ W ? /* @__PURE__ */ c.jsx(Wc, { result: W, onEvent: T, invocationId: r.invocationId }) : $ ? /* @__PURE__ */ c.jsxs("p", { children: [
12173
+ $.status,
12173
12174
  ":",
12174
- _.message
12175
+ $.message
12175
12176
  ] }) : null,
12176
- at.map((R) => /* @__PURE__ */ c.jsxs("p", { children: [
12177
- R.title,
12177
+ at.map((K) => /* @__PURE__ */ c.jsxs("p", { children: [
12178
+ K.title,
12178
12179
  " · ",
12179
- R.status,
12180
- R.message && !W ? `:${R.message}` : ""
12181
- ] }, R.key))
12180
+ K.status,
12181
+ K.message && !W ? `:${K.message}` : ""
12182
+ ] }, K.key))
12182
12183
  ] }) : /* @__PURE__ */ c.jsxs("div", { className: "flex flex-wrap items-center justify-between gap-3 border-t border-slate-200 pt-3", children: [
12183
12184
  /* @__PURE__ */ c.jsxs("div", { className: "min-w-64 flex-1 space-y-3", children: [
12184
- K.map((R) => /* @__PURE__ */ c.jsxs("label", { className: "block text-sm", children: [
12185
- /* @__PURE__ */ c.jsx("span", { className: "mb-1 block", children: R.label }),
12185
+ R.map((K) => /* @__PURE__ */ c.jsxs("label", { className: "block text-sm", children: [
12186
+ /* @__PURE__ */ c.jsx("span", { className: "mb-1 block", children: K.label }),
12186
12187
  /* @__PURE__ */ c.jsx(
12187
12188
  "input",
12188
12189
  {
12189
12190
  type: "password",
12190
12191
  autoComplete: "new-password",
12191
- value: Z[R.name] ?? "",
12192
- onChange: (dt) => E((lt) => ({ ...lt, [R.name]: dt.target.value })),
12192
+ value: Z[K.name] ?? "",
12193
+ onChange: (dt) => E((lt) => ({ ...lt, [K.name]: dt.target.value })),
12193
12194
  className: "w-full rounded-lg border border-slate-300 px-3 py-2"
12194
12195
  }
12195
12196
  )
12196
- ] }, R.name)),
12197
+ ] }, K.name)),
12197
12198
  /* @__PURE__ */ c.jsxs("label", { className: "flex items-center gap-2 text-sm", children: [
12198
- /* @__PURE__ */ c.jsx("input", { type: "checkbox", checked: j, onChange: (R) => Y(R.target.checked) }),
12199
+ /* @__PURE__ */ c.jsx("input", { type: "checkbox", checked: j, onChange: (K) => Y(K.target.checked) }),
12199
12200
  "我已核对以上 DJI 目标和参数"
12200
12201
  ] })
12201
12202
  ] }),
@@ -12207,7 +12208,7 @@ function Pb({
12207
12208
  "button",
12208
12209
  {
12209
12210
  type: "button",
12210
- disabled: !j || h || K.some((R) => !Z[R.name]?.trim()),
12211
+ disabled: !j || h || R.some((K) => !Z[K.name]?.trim()),
12211
12212
  onClick: async () => {
12212
12213
  v(!0);
12213
12214
  try {
@@ -12374,7 +12375,7 @@ function zm(r) {
12374
12375
  r.filter((u) => !!u.requestMessageId).map((u) => [u.id, u.requestMessageId])
12375
12376
  );
12376
12377
  }
12377
- function Kc(r) {
12378
+ function Rc(r) {
12378
12379
  const u = r.steps ?? [], m = r.selectedDockSns ?? [];
12379
12380
  if (!u.length || !m.length) return !1;
12380
12381
  const f = r.targetSteps ?? {};
@@ -12409,7 +12410,7 @@ function vr(r, u) {
12409
12410
  }
12410
12411
  function Tm(r) {
12411
12412
  if (typeof r.error == "string" && r.error.trim())
12412
- return `${r.toolName}:${r.error.trim()}`;
12413
+ return ["当前页面不支持该能力", "当前页面不支持该动作", "当前页面不支持该能力!"].includes(r.error.trim()) ? "当前页面不支持该能力!" : `${r.toolName}:${r.error.trim()}`;
12413
12414
  const u = r.status.trim().toLowerCase();
12414
12415
  return ["failed", "failure", "error"].includes(u) ? `${r.toolName} 执行失败` : null;
12415
12416
  }
@@ -12424,8 +12425,8 @@ function oh({
12424
12425
  }), T = r.toolResults.flatMap((h) => {
12425
12426
  const v = vr(r, h), Z = [];
12426
12427
  if (v) {
12427
- const K = v.kind, _ = K === "confirmation" || K === "location_confirmation" || K === "drawing_confirmation";
12428
- if (K === "dji_result") {
12428
+ const R = v.kind, $ = R === "confirmation" || R === "location_confirmation" || R === "drawing_confirmation";
12429
+ if (R === "dji_result") {
12429
12430
  const W = hr(v);
12430
12431
  Z.push(W ? /* @__PURE__ */ c.jsx(
12431
12432
  Wc,
@@ -12443,15 +12444,15 @@ function oh({
12443
12444
  },
12444
12445
  `${r.responseMessageId}:${h.toolCallId}:invalid-dji`
12445
12446
  ));
12446
- } else if (!_) {
12447
- const at = K === "query" || K === "immediate_operation" ? JSON.stringify(v) : typeof v.message == "string" && v.message.trim() ? v.message : JSON.stringify(v);
12447
+ } else if (!$) {
12448
+ const at = R === "query" || R === "immediate_operation" ? JSON.stringify(v) : typeof v.message == "string" && v.message.trim() ? v.message : JSON.stringify(v);
12448
12449
  Z.push(
12449
12450
  /* @__PURE__ */ c.jsx(
12450
12451
  ln,
12451
12452
  {
12452
12453
  content: at,
12453
12454
  requestText: u,
12454
- showQueryMessage: K !== "query"
12455
+ showQueryMessage: R !== "query"
12455
12456
  },
12456
12457
  `${r.responseMessageId}:${h.toolCallId}:output`
12457
12458
  )
@@ -12710,7 +12711,7 @@ function mh({
12710
12711
  title: T = "智能助手",
12711
12712
  onEvent: b
12712
12713
  }) {
12713
- const { cancelConfirmation: j, cancelConversationRun: Y, confirmDrawingType: h, confirmLocation: v, confirmOperation: Z, getConversationSnapshot: E, sendPlatformMessage: K } = Gm(), [_, W] = k.useState(""), [at, R] = k.useState([vm]), [dt, lt] = k.useState([]), [H, ht] = k.useState([]), [st, J] = k.useState([]), [B, $] = k.useState(""), [St, Qt] = k.useState(!1), [Lt, X] = k.useState(!1), [ct, wt] = k.useState("idle"), [Bt, z] = k.useState(null), G = k.useRef(null), U = k.useRef(!1), ot = k.useRef(!1), vt = k.useRef(/* @__PURE__ */ new Set()), p = k.useRef(null), C = k.useRef(!0), Q = eh(m, dt, H, st), I = dt.map((D) => `${D.id}:${Object.keys(D.results ?? {}).length}:${Object.keys(D.targetSteps ?? {}).length}`).join("|"), ut = H.map((D) => `${D.id}:${D.status}:${D.selectedCandidateId ?? ""}`).join("|"), yt = st.map((D) => `${D.id}:${D.status}:${D.selectedPurposeId ?? ""}`).join("|"), xt = k.useCallback(() => U.current ? Promise.resolve() : (U.current = !0, f(r).then(() => {
12714
+ const { cancelConfirmation: j, cancelConversationRun: Y, confirmDrawingType: h, confirmLocation: v, confirmOperation: Z, getConversationSnapshot: E, sendPlatformMessage: R } = Gm(), [$, W] = k.useState(""), [at, K] = k.useState([vm]), [dt, lt] = k.useState([]), [H, ht] = k.useState([]), [st, J] = k.useState([]), [B, P] = k.useState(""), [jt, Qt] = k.useState(!1), [Lt, X] = k.useState(!1), [ct, wt] = k.useState("idle"), [Bt, z] = k.useState(null), G = k.useRef(null), U = k.useRef(!1), ot = k.useRef(!1), vt = k.useRef(/* @__PURE__ */ new Set()), p = k.useRef(null), C = k.useRef(!0), Q = eh(m, dt, H, st), I = dt.map((D) => `${D.id}:${Object.keys(D.results ?? {}).length}:${Object.keys(D.targetSteps ?? {}).length}`).join("|"), ut = H.map((D) => `${D.id}:${D.status}:${D.selectedCandidateId ?? ""}`).join("|"), yt = st.map((D) => `${D.id}:${D.status}:${D.selectedPurposeId ?? ""}`).join("|"), xt = k.useCallback(() => U.current ? Promise.resolve() : (U.current = !0, f(r).then(() => {
12714
12715
  }).catch((D) => {
12715
12716
  console.error("会话标题自动命名失败", D);
12716
12717
  }).finally(() => {
@@ -12728,45 +12729,45 @@ function mh({
12728
12729
  L && L.scrollTo({ top: L.scrollHeight, behavior: "smooth" });
12729
12730
  });
12730
12731
  return () => window.cancelAnimationFrame(D);
12731
- }, [at, I, ut, yt, St]), k.useEffect(() => {
12732
+ }, [at, I, ut, yt, jt]), k.useEffect(() => {
12732
12733
  let D = !1;
12733
12734
  return z(null), E(r).then((L) => {
12734
12735
  if (D) return;
12735
12736
  L.titleSource === "default" && L.messages.some((tt) => tt.role === "assistant") && xt(), wt(L.runtimeStatus ?? "idle"), z(L.contextUsage ?? null), vt.current = new Set(L.messages.map((tt) => tt.id));
12736
- const P = jm(L.messages), it = ih(L.messages), F = rh(L.messages), jt = L.confirmations.filter(
12737
+ const _ = jm(L.messages), it = ih(L.messages), F = rh(L.messages), zt = L.confirmations.filter(
12737
12738
  (tt) => "kind" in tt && tt.kind === "location_confirmation"
12738
12739
  ), pt = L.confirmations.filter(
12739
12740
  (tt) => "kind" in tt && tt.kind === "drawing_confirmation"
12740
12741
  ), Ft = L.confirmations.filter(
12741
12742
  (tt) => !("kind" in tt) || tt.kind !== "location_confirmation" && tt.kind !== "drawing_confirmation"
12742
- ), Re = new Set(
12743
+ ), Ke = new Set(
12743
12744
  Ft.map(
12744
12745
  (tt) => `已找到 ${tt.candidates?.length ?? 0} 个候选机场。请核对并选择需要执行的机场后确认。`
12745
12746
  )
12746
12747
  ), He = L.messages.filter(
12747
- (tt) => !(tt.role === "assistant" && !Pl(tt.content) && (xm(tt) !== null || wm(tt) !== null || Mm(tt) !== null || tt.content === "本次操作已取消。" || Re.has(tt.content)))
12748
+ (tt) => !(tt.role === "assistant" && !Pl(tt.content) && (xm(tt) !== null || wm(tt) !== null || Mm(tt) !== null || tt.content === "本次操作已取消。" || Ke.has(tt.content)))
12748
12749
  ).map((tt) => {
12749
12750
  const Ha = Nm(tt);
12750
12751
  return Ha ? { ...tt, content: Ha } : tt;
12751
12752
  });
12752
- R([vm, ...He]);
12753
+ K([vm, ...He]);
12753
12754
  const me = ym(
12754
12755
  Ft,
12755
- zm(P)
12756
+ zm(_)
12756
12757
  ), nt = new Set(me.map((tt) => tt.id));
12757
- lt([...me, ...P.filter((tt) => !nt.has(tt.id))]);
12758
- const Pt = new Set(jt.map((tt) => tt.id));
12758
+ lt([...me, ..._.filter((tt) => !nt.has(tt.id))]);
12759
+ const Pt = new Set(zt.map((tt) => tt.id));
12759
12760
  ht([
12760
- ...jt,
12761
+ ...zt,
12761
12762
  ...it.filter((tt) => !Pt.has(tt.id))
12762
12763
  ]);
12763
12764
  const mt = new Set(pt.map((tt) => tt.id));
12764
12765
  J([
12765
12766
  ...pt,
12766
12767
  ...F.filter((tt) => !mt.has(tt.id))
12767
- ]), $("");
12768
+ ]), P("");
12768
12769
  }).catch((L) => {
12769
- D || $(L instanceof Error ? L.message : "会话内容加载失败");
12770
+ D || P(L instanceof Error ? L.message : "会话内容加载失败");
12770
12771
  }), () => {
12771
12772
  D = !0;
12772
12773
  };
@@ -12774,13 +12775,13 @@ function mh({
12774
12775
  G.current?.abort(), G.current = null;
12775
12776
  }, []), k.useEffect(() => {
12776
12777
  const D = dt.some(
12777
- (it) => it.status === "executing" || Object.values(it.results ?? {}).some((F) => F.status === "执行中") || Kc(it)
12778
+ (it) => it.status === "executing" || Object.values(it.results ?? {}).some((F) => F.status === "执行中") || Rc(it)
12778
12779
  ), L = dt.some((it) => it.status === "pending") || H.some((it) => it.status === "pending") || st.some((it) => it.status === "pending");
12779
12780
  if (!D && ct !== "running" && !(ct === "pending_confirmation" && !L)) return;
12780
- const P = window.setInterval(() => {
12781
+ const _ = window.setInterval(() => {
12781
12782
  G.current || E(r).then((it) => {
12782
- const F = it.runtimeStatus ?? "idle", jt = it.confirmations.some((nt) => "kind" in nt ? nt.status === "pending" : nt.status === "pending" || nt.status === "executing" || Kc(nt));
12783
- it.titleSource === "default" && F === "idle" && !jt && it.messages.some((nt) => nt.role === "assistant") && xt(), wt(F), it.contextUsage && z(it.contextUsage);
12783
+ const F = it.runtimeStatus ?? "idle", zt = it.confirmations.some((nt) => "kind" in nt ? nt.status === "pending" : nt.status === "pending" || nt.status === "executing" || Rc(nt));
12784
+ it.titleSource === "default" && F === "idle" && !zt && it.messages.some((nt) => nt.role === "assistant") && xt(), wt(F), it.contextUsage && z(it.contextUsage);
12784
12785
  const pt = it.messages.filter((nt) => !vt.current.has(nt.id));
12785
12786
  for (const nt of pt) {
12786
12787
  if (vt.current.add(nt.id), nt.role !== "assistant") continue;
@@ -12798,7 +12799,7 @@ function mh({
12798
12799
  });
12799
12800
  }
12800
12801
  }
12801
- R((nt) => {
12802
+ K((nt) => {
12802
12803
  const Pt = new Set(nt.map((mt) => mt.id));
12803
12804
  return [
12804
12805
  ...nt,
@@ -12808,10 +12809,10 @@ function mh({
12808
12809
  })
12809
12810
  ];
12810
12811
  });
12811
- const Ft = jm(it.messages), Re = it.confirmations.filter(
12812
+ const Ft = jm(it.messages), Ke = it.confirmations.filter(
12812
12813
  (nt) => !("kind" in nt) || nt.kind !== "location_confirmation" && nt.kind !== "drawing_confirmation"
12813
12814
  ), He = ym(
12814
- Re,
12815
+ Ke,
12815
12816
  zm(Ft)
12816
12817
  ), me = new Set(He.map((nt) => nt.id));
12817
12818
  lt((nt) => {
@@ -12829,90 +12830,90 @@ function mh({
12829
12830
  (nt) => "kind" in nt && nt.kind === "drawing_confirmation"
12830
12831
  ));
12831
12832
  }).catch((it) => {
12832
- $(it instanceof Error ? it.message : "会话内容刷新失败");
12833
+ P(it instanceof Error ? it.message : "会话内容刷新失败");
12833
12834
  });
12834
12835
  }, 500);
12835
- return () => window.clearInterval(P);
12836
+ return () => window.clearInterval(_);
12836
12837
  }, [r, dt, H, st, ct, b, xt]);
12837
- const Rt = k.useMemo(() => {
12838
+ const Kt = k.useMemo(() => {
12838
12839
  const D = /* @__PURE__ */ new Map();
12839
12840
  for (const L of dt) {
12840
12841
  if (!L.requestMessageId) continue;
12841
- const P = D.get(L.requestMessageId) ?? [];
12842
- P.push(L), D.set(L.requestMessageId, P);
12842
+ const _ = D.get(L.requestMessageId) ?? [];
12843
+ _.push(L), D.set(L.requestMessageId, _);
12843
12844
  }
12844
12845
  return D;
12845
12846
  }, [dt]), La = k.useMemo(() => {
12846
12847
  const D = /* @__PURE__ */ new Map();
12847
12848
  for (const L of H) {
12848
12849
  if (!L.requestMessageId) continue;
12849
- const P = D.get(L.requestMessageId) ?? [];
12850
- P.push(L), D.set(L.requestMessageId, P);
12850
+ const _ = D.get(L.requestMessageId) ?? [];
12851
+ _.push(L), D.set(L.requestMessageId, _);
12851
12852
  }
12852
12853
  return D;
12853
12854
  }, [H]), sn = k.useMemo(() => {
12854
12855
  const D = /* @__PURE__ */ new Map();
12855
12856
  for (const L of st) {
12856
12857
  if (!L.requestMessageId) continue;
12857
- const P = D.get(L.requestMessageId) ?? [];
12858
- P.push(L), D.set(L.requestMessageId, P);
12858
+ const _ = D.get(L.requestMessageId) ?? [];
12859
+ _.push(L), D.set(L.requestMessageId, _);
12859
12860
  }
12860
12861
  return D;
12861
12862
  }, [st]), cn = (D, L) => {
12862
12863
  lt(
12863
- (P) => P.map(
12864
+ (_) => _.map(
12864
12865
  (it) => it.id === D ? L(it) : it
12865
12866
  )
12866
12867
  );
12867
12868
  }, Vn = (D, L) => {
12868
12869
  ht(
12869
- (P) => P.map(
12870
+ (_) => _.map(
12870
12871
  (it) => it.id === D ? L(it) : it
12871
12872
  )
12872
12873
  );
12873
- }, Ke = (D, L) => {
12874
+ }, Re = (D, L) => {
12874
12875
  J(
12875
- (P) => P.map(
12876
+ (_) => _.map(
12876
12877
  (it) => it.id === D ? L(it) : it
12877
12878
  )
12878
12879
  );
12879
12880
  }, Pn = async (D) => {
12880
- if (D.preventDefault(), St || ot.current) return;
12881
- const L = _.trim();
12881
+ if (D.preventDefault(), jt || ot.current) return;
12882
+ const L = $.trim();
12882
12883
  if (!L) return;
12883
- const P = new AbortController();
12884
- G.current = P;
12884
+ const _ = new AbortController();
12885
+ G.current = _;
12885
12886
  const it = `local-${Date.now()}`;
12886
- R((F) => [
12887
+ K((F) => [
12887
12888
  ...F,
12888
12889
  { id: it, role: "user", content: L }
12889
- ]), W(""), Qt(!0), wt("running"), $("");
12890
+ ]), W(""), Qt(!0), wt("running"), P("");
12890
12891
  try {
12891
- const F = await K(r, L, {}, P.signal);
12892
- if (P.signal.aborted || G.current !== P) return;
12893
- if ((!("status" in F) || F.status !== "needs_input" && F.status !== "pending_confirmation") && xt(), F.contextUsage && z(F.contextUsage), vt.current.add(F.requestMessageId), vt.current.add(F.responseMessageId), (F.kind === "chat" || F.kind === "query" || F.kind === "immediate_operation") && wt("idle"), R(
12894
- (jt) => jt.map(
12892
+ const F = await R(r, L, {}, _.signal);
12893
+ if (_.signal.aborted || G.current !== _) return;
12894
+ if ((!("status" in F) || F.status !== "needs_input" && F.status !== "pending_confirmation") && xt(), F.contextUsage && z(F.contextUsage), vt.current.add(F.requestMessageId), vt.current.add(F.responseMessageId), (F.kind === "chat" || F.kind === "query" || F.kind === "immediate_operation") && wt("idle"), K(
12895
+ (zt) => zt.map(
12895
12896
  (pt) => pt.id === it ? { ...pt, id: F.requestMessageId } : pt
12896
12897
  )
12897
12898
  ), F.kind === "tool_result") {
12898
- R((jt) => [
12899
- ...jt,
12899
+ K((zt) => [
12900
+ ...zt,
12900
12901
  {
12901
12902
  id: F.responseMessageId,
12902
12903
  role: "assistant",
12903
12904
  content: JSON.stringify(F)
12904
12905
  }
12905
12906
  ]);
12906
- for (const jt of F.toolResults) {
12907
- const pt = vr(F, jt);
12907
+ for (const zt of F.toolResults) {
12908
+ const pt = vr(F, zt);
12908
12909
  if (pt)
12909
12910
  if (pt.kind === "map_event") {
12910
12911
  const Ft = pt.data;
12911
12912
  pt.action === "locate" ? b?.({ type: "map_location", data: Ft, invocationId: pt.invocationId }) : pt.action === "draw_circle" ? b?.({ type: "map_command", commandType: "draw_circle", data: Ft, invocationId: pt.invocationId }) : pt.action === "draw_geometry" && b?.({ type: "map_command", commandType: "draw_geometry", data: Ft, invocationId: pt.invocationId });
12912
12913
  } else if (pt.kind === "confirmation") {
12913
12914
  const Ft = Array.isArray(pt.confirmations) ? pt.confirmations.filter(rn) : [pt];
12914
- lt((Re) => [
12915
- ...Re,
12915
+ lt((Ke) => [
12916
+ ...Ke,
12916
12917
  ...Ft.map((He) => ({
12917
12918
  ...He,
12918
12919
  requestMessageId: F.requestMessageId,
@@ -12941,8 +12942,8 @@ function mh({
12941
12942
  ]);
12942
12943
  }
12943
12944
  } else if (F.kind === "map_event") {
12944
- const jt = F.data;
12945
- F.action === "locate" ? b?.({ type: "map_location", data: jt, invocationId: F.invocationId }) : F.action === "draw_circle" ? b?.({ type: "map_command", commandType: "draw_circle", data: jt, invocationId: F.invocationId }) : F.action === "draw_geometry" && b?.({ type: "map_command", commandType: "draw_geometry", data: jt, invocationId: F.invocationId }), R((pt) => [
12945
+ const zt = F.data;
12946
+ F.action === "locate" ? b?.({ type: "map_location", data: zt, invocationId: F.invocationId }) : F.action === "draw_circle" ? b?.({ type: "map_command", commandType: "draw_circle", data: zt, invocationId: F.invocationId }) : F.action === "draw_geometry" && b?.({ type: "map_command", commandType: "draw_geometry", data: zt, invocationId: F.invocationId }), K((pt) => [
12946
12947
  ...pt,
12947
12948
  {
12948
12949
  id: F.responseMessageId,
@@ -12951,8 +12952,8 @@ function mh({
12951
12952
  }
12952
12953
  ]);
12953
12954
  } else if (F.kind === "dji_result")
12954
- R((jt) => [
12955
- ...jt,
12955
+ K((zt) => [
12956
+ ...zt,
12956
12957
  {
12957
12958
  id: F.responseMessageId,
12958
12959
  role: "assistant",
@@ -12960,8 +12961,8 @@ function mh({
12960
12961
  }
12961
12962
  ]);
12962
12963
  else if (F.kind === "query" || F.kind === "immediate_operation" || Ym(F))
12963
- R((jt) => [
12964
- ...jt,
12964
+ K((zt) => [
12965
+ ...zt,
12965
12966
  {
12966
12967
  id: F.responseMessageId,
12967
12968
  role: "assistant",
@@ -12969,8 +12970,8 @@ function mh({
12969
12970
  }
12970
12971
  ]);
12971
12972
  else if (F.kind === "location_confirmation")
12972
- ht((jt) => [
12973
- ...jt,
12973
+ ht((zt) => [
12974
+ ...zt,
12974
12975
  {
12975
12976
  ...F,
12976
12977
  status: "pending",
@@ -12979,8 +12980,8 @@ function mh({
12979
12980
  }
12980
12981
  ]);
12981
12982
  else if (F.kind === "drawing_confirmation")
12982
- J((jt) => [
12983
- ...jt,
12983
+ J((zt) => [
12984
+ ...zt,
12984
12985
  {
12985
12986
  ...F,
12986
12987
  status: "pending",
@@ -12989,8 +12990,8 @@ function mh({
12989
12990
  }
12990
12991
  ]);
12991
12992
  else if (F.kind === "chat")
12992
- R((jt) => [
12993
- ...jt,
12993
+ K((zt) => [
12994
+ ...zt,
12994
12995
  {
12995
12996
  id: F.responseMessageId,
12996
12997
  role: "assistant",
@@ -12998,10 +12999,10 @@ function mh({
12998
12999
  }
12999
13000
  ]);
13000
13001
  else {
13001
- const jt = F.kind === "confirmation" && F.confirmations?.length ? F.confirmations : [F];
13002
+ const zt = F.kind === "confirmation" && F.confirmations?.length ? F.confirmations : [F];
13002
13003
  lt((pt) => [
13003
13004
  ...pt,
13004
- ...jt.map((Ft) => ({
13005
+ ...zt.map((Ft) => ({
13005
13006
  ...Ft,
13006
13007
  status: "pending",
13007
13008
  results: {}
@@ -13009,28 +13010,28 @@ function mh({
13009
13010
  ]);
13010
13011
  }
13011
13012
  } catch (F) {
13012
- if (P.signal.aborted || F instanceof Error && F.name === "AbortError") return;
13013
- const jt = F instanceof Error ? F.message : "候选机场查询失败";
13014
- R((pt) => [
13013
+ if (_.signal.aborted || F instanceof Error && F.name === "AbortError") return;
13014
+ const zt = F instanceof Error ? F.message : "候选机场查询失败";
13015
+ K((pt) => [
13015
13016
  ...pt,
13016
13017
  {
13017
13018
  id: `local-error-${Date.now()}`,
13018
13019
  role: "assistant",
13019
- content: jt
13020
+ content: zt
13020
13021
  }
13021
13022
  ]);
13022
13023
  } finally {
13023
- G.current === P && (G.current = null, Qt(!1));
13024
+ G.current === _ && (G.current = null, Qt(!1));
13024
13025
  }
13025
13026
  }, _n = () => {
13026
13027
  const D = G.current;
13027
13028
  D && (D.abort(), G.current = null, ot.current = !0, X(!0), Qt(!1), wt("idle"), Y(r).catch((L) => {
13028
- $(L instanceof Error ? L.message : "暂停当前对话失败");
13029
+ P(L instanceof Error ? L.message : "暂停当前对话失败");
13029
13030
  }).finally(() => {
13030
13031
  ot.current = !1, X(!1);
13031
13032
  }));
13032
13033
  }, _l = (D) => {
13033
- const L = D.status !== "pending", P = D.status === "cancelled" ? "cancelled" : "confirmed", it = D.results ?? {}, F = D.targetSteps ?? {}, jt = Kc(D), pt = D.status !== "pending" && D.status !== "cancelled" && (Object.keys(it).length > 0 || jt), Ft = uh(D), Re = D, He = async (nt, Pt = {}) => {
13034
+ const L = D.status !== "pending", _ = D.status === "cancelled" ? "cancelled" : "confirmed", it = D.results ?? {}, F = D.targetSteps ?? {}, zt = Rc(D), pt = D.status !== "pending" && D.status !== "cancelled" && (Object.keys(it).length > 0 || zt), Ft = uh(D), Ke = D, He = async (nt, Pt = {}) => {
13034
13035
  try {
13035
13036
  const mt = await Z(D.id, nt, Pt);
13036
13037
  wt("running"), cn(D.id, (tt) => ({
@@ -13043,7 +13044,7 @@ function mh({
13043
13044
  steps: mt.steps
13044
13045
  }));
13045
13046
  } catch (mt) {
13046
- $(mt instanceof Error ? mt.message : "指令下发失败");
13047
+ P(mt instanceof Error ? mt.message : "指令下发失败");
13047
13048
  }
13048
13049
  }, me = async () => {
13049
13050
  try {
@@ -13055,7 +13056,7 @@ function mh({
13055
13056
  results: {}
13056
13057
  }));
13057
13058
  } catch (nt) {
13058
- $(nt instanceof Error ? nt.message : "取消确认失败");
13059
+ P(nt instanceof Error ? nt.message : "取消确认失败");
13059
13060
  }
13060
13061
  };
13061
13062
  return /* @__PURE__ */ c.jsxs("div", { className: "gis-platform-agent-message gis-platform-agent-message-assistant", children: [
@@ -13074,11 +13075,11 @@ function mh({
13074
13075
  ) : /* @__PURE__ */ c.jsx(
13075
13076
  Db,
13076
13077
  {
13077
- cardId: D.presentation?.confirmCardId ?? Rc["generic-confirm@1"].cardId,
13078
- confirmation: Re,
13078
+ cardId: D.presentation?.confirmCardId ?? Kc["generic-confirm@1"].cardId,
13079
+ confirmation: Ke,
13079
13080
  locked: L,
13080
13081
  lockedSelectedDockSns: D.selectedDockSns,
13081
- lockedState: P,
13082
+ lockedState: _,
13082
13083
  paginationEnabled: !0,
13083
13084
  selectAllEnabled: !0,
13084
13085
  onConfirm: He,
@@ -13088,12 +13089,12 @@ function mh({
13088
13089
  pt && D.provider !== "dji-cloud-api2" ? /* @__PURE__ */ c.jsx(
13089
13090
  Ub,
13090
13091
  {
13091
- cardId: D.presentation?.resultCardId ?? Rc["generic-operation-result@1"].cardId,
13092
- confirmation: Re,
13092
+ cardId: D.presentation?.resultCardId ?? Kc["generic-operation-result@1"].cardId,
13093
+ confirmation: Ke,
13093
13094
  results: it,
13094
13095
  steps: D.steps,
13095
13096
  targetSteps: F,
13096
- operationInProgress: jt
13097
+ operationInProgress: zt
13097
13098
  }
13098
13099
  ) : null,
13099
13100
  /* @__PURE__ */ c.jsxs("p", { className: "gis-platform-agent-message-meta", children: [
@@ -13111,17 +13112,17 @@ function mh({
13111
13112
  confirmation: D,
13112
13113
  onConfirm: async (L) => {
13113
13114
  try {
13114
- const P = await v(D.id, L);
13115
- wt("running"), P.kind === "map_event" && P.action === "locate" && b?.({
13115
+ const _ = await v(D.id, L);
13116
+ wt("running"), _.kind === "map_event" && _.action === "locate" && b?.({
13116
13117
  type: "map_location",
13117
- data: P.data
13118
- }), P.kind === "drawing_confirmation" && J((it) => [
13118
+ data: _.data
13119
+ }), _.kind === "drawing_confirmation" && J((it) => [
13119
13120
  ...it,
13120
13121
  {
13121
- ...P,
13122
+ ..._,
13122
13123
  status: "pending",
13123
13124
  canConfirm: !0,
13124
- candidates: Array.isArray(P.candidates) ? P.candidates : []
13125
+ candidates: Array.isArray(_.candidates) ? _.candidates : []
13125
13126
  }
13126
13127
  ]), Vn(D.id, (it) => ({
13127
13128
  ...it,
@@ -13129,8 +13130,8 @@ function mh({
13129
13130
  selectedCandidateId: L,
13130
13131
  status: "confirmed"
13131
13132
  }));
13132
- } catch (P) {
13133
- $(P instanceof Error ? P.message : "地点定位失败");
13133
+ } catch (_) {
13134
+ P(_ instanceof Error ? _.message : "地点定位失败");
13134
13135
  }
13135
13136
  },
13136
13137
  onCancel: async () => {
@@ -13141,7 +13142,7 @@ function mh({
13141
13142
  status: "cancelled"
13142
13143
  }));
13143
13144
  } catch (L) {
13144
- $(L instanceof Error ? L.message : "取消确认失败");
13145
+ P(L instanceof Error ? L.message : "取消确认失败");
13145
13146
  }
13146
13147
  }
13147
13148
  }
@@ -13160,31 +13161,31 @@ function mh({
13160
13161
  confirmation: D,
13161
13162
  onConfirm: async (L) => {
13162
13163
  try {
13163
- const P = await h(D.id, L);
13164
- wt("running"), P.kind === "map_event" && b?.({
13164
+ const _ = await h(D.id, L);
13165
+ wt("running"), _.kind === "map_event" && b?.({
13165
13166
  type: "map_command",
13166
- commandType: P.action === "draw_circle" ? "draw_circle" : "draw_geometry",
13167
- data: P.data,
13168
- invocationId: P.invocationId
13169
- }), Ke(D.id, (it) => ({
13167
+ commandType: _.action === "draw_circle" ? "draw_circle" : "draw_geometry",
13168
+ data: _.data,
13169
+ invocationId: _.invocationId
13170
+ }), Re(D.id, (it) => ({
13170
13171
  ...it,
13171
13172
  canConfirm: !1,
13172
13173
  selectedPurposeId: L,
13173
13174
  status: "confirmed"
13174
13175
  }));
13175
- } catch (P) {
13176
- $(P instanceof Error ? P.message : "绘图指令下发失败");
13176
+ } catch (_) {
13177
+ P(_ instanceof Error ? _.message : "绘图指令下发失败");
13177
13178
  }
13178
13179
  },
13179
13180
  onCancel: async () => {
13180
13181
  try {
13181
- await j(D.id), xt(), Ke(D.id, (L) => ({
13182
+ await j(D.id), xt(), Re(D.id, (L) => ({
13182
13183
  ...L,
13183
13184
  canConfirm: !1,
13184
13185
  status: "cancelled"
13185
13186
  }));
13186
13187
  } catch (L) {
13187
- $(L instanceof Error ? L.message : "取消绘图确认失败");
13188
+ P(L instanceof Error ? L.message : "取消绘图确认失败");
13188
13189
  }
13189
13190
  }
13190
13191
  }
@@ -13214,18 +13215,18 @@ function mh({
13214
13215
  ] }),
13215
13216
  /* @__PURE__ */ c.jsxs("div", { ref: p, onScroll: ie, className: "gis-platform-agent-messages min-h-0 flex-1 overflow-y-auto", children: [
13216
13217
  at.map((D, L) => /* @__PURE__ */ c.jsxs(k.Fragment, { children: [
13217
- D.role === "assistant" ? /* @__PURE__ */ c.jsx(ln, { content: D.content, requestText: at.slice(0, L).findLast((P) => P.role === "user")?.content ?? "", onEvent: b }) : /* @__PURE__ */ c.jsx("div", { className: "gis-platform-agent-message gis-platform-agent-message-user", children: /* @__PURE__ */ c.jsxs("div", { className: "gis-platform-agent-message-content", children: [
13218
+ D.role === "assistant" ? /* @__PURE__ */ c.jsx(ln, { content: D.content, requestText: at.slice(0, L).findLast((_) => _.role === "user")?.content ?? "", onEvent: b }) : /* @__PURE__ */ c.jsx("div", { className: "gis-platform-agent-message gis-platform-agent-message-user", children: /* @__PURE__ */ c.jsxs("div", { className: "gis-platform-agent-message-content", children: [
13218
13219
  /* @__PURE__ */ c.jsx("div", { className: "gis-platform-agent-message-bubble gis-platform-agent-message-bubble-user", children: D.content }),
13219
13220
  /* @__PURE__ */ c.jsx("p", { className: "gis-platform-agent-message-meta", children: "您 · 刚刚" })
13220
13221
  ] }) }),
13221
- (Rt.get(D.id) ?? []).map((P) => /* @__PURE__ */ c.jsx(k.Fragment, { children: _l(P) }, `${D.id}:${P.id}`)),
13222
- (La.get(D.id) ?? []).map((P) => /* @__PURE__ */ c.jsx(k.Fragment, { children: $n(P) }, `${D.id}:${P.id}`)),
13223
- (sn.get(D.id) ?? []).map((P) => /* @__PURE__ */ c.jsx(k.Fragment, { children: on(P) }, `${D.id}:${P.id}`))
13222
+ (Kt.get(D.id) ?? []).map((_) => /* @__PURE__ */ c.jsx(k.Fragment, { children: _l(_) }, `${D.id}:${_.id}`)),
13223
+ (La.get(D.id) ?? []).map((_) => /* @__PURE__ */ c.jsx(k.Fragment, { children: $n(_) }, `${D.id}:${_.id}`)),
13224
+ (sn.get(D.id) ?? []).map((_) => /* @__PURE__ */ c.jsx(k.Fragment, { children: on(_) }, `${D.id}:${_.id}`))
13224
13225
  ] }, D.id)),
13225
13226
  tl.map((D) => /* @__PURE__ */ c.jsx(k.Fragment, { children: _l(D) }, `unlinked:${D.id}`)),
13226
13227
  el.map((D) => /* @__PURE__ */ c.jsx(k.Fragment, { children: $n(D) }, `unlinked-location:${D.id}`)),
13227
13228
  yr.map((D) => /* @__PURE__ */ c.jsx(k.Fragment, { children: on(D) }, `unlinked-drawing:${D.id}`)),
13228
- St ? /* @__PURE__ */ c.jsx(dh, {}) : null,
13229
+ jt ? /* @__PURE__ */ c.jsx(dh, {}) : null,
13229
13230
  B ? /* @__PURE__ */ c.jsx(ln, { content: B }) : null
13230
13231
  ] }),
13231
13232
  /* @__PURE__ */ c.jsxs("form", { onSubmit: Pn, className: "gis-platform-agent-composer", children: [
@@ -13233,7 +13234,7 @@ function mh({
13233
13234
  /* @__PURE__ */ c.jsx(
13234
13235
  "input",
13235
13236
  {
13236
- value: _,
13237
+ value: $,
13237
13238
  onChange: (D) => W(D.target.value),
13238
13239
  className: "min-w-0 flex-1 border-0 bg-transparent px-2 text-sm text-slate-800 outline-none",
13239
13240
  placeholder: "输入您的问题或操作指令…",
@@ -13244,12 +13245,12 @@ function mh({
13244
13245
  "button",
13245
13246
  {
13246
13247
  disabled: Lt,
13247
- type: St ? "button" : "submit",
13248
- onClick: St ? _n : void 0,
13248
+ type: jt ? "button" : "submit",
13249
+ onClick: jt ? _n : void 0,
13249
13250
  className: "grid h-9 w-9 place-items-center rounded-xl text-white transition-colors disabled:cursor-not-allowed disabled:bg-slate-400 enabled:bg-slate-900 enabled:hover:bg-slate-700",
13250
- "aria-label": St ? "暂停" : "发送",
13251
- title: St ? "暂停当前对话" : "发送",
13252
- children: St ? /* @__PURE__ */ c.jsx(W0, { className: "h-4 w-4" }) : /* @__PURE__ */ c.jsx(_0, { className: "h-4 w-4" })
13251
+ "aria-label": jt ? "暂停" : "发送",
13252
+ title: jt ? "暂停当前对话" : "发送",
13253
+ children: jt ? /* @__PURE__ */ c.jsx(W0, { className: "h-4 w-4" }) : /* @__PURE__ */ c.jsx(_0, { className: "h-4 w-4" })
13253
13254
  }
13254
13255
  )
13255
13256
  ] }),
@@ -13270,7 +13271,7 @@ function ph({
13270
13271
  onClear: j,
13271
13272
  className: Y = ""
13272
13273
  }) {
13273
- const [h, v] = k.useState(""), [Z, E] = k.useState(""), [K, _] = k.useState(!1), [W, at] = k.useState(""), R = (H) => {
13274
+ const [h, v] = k.useState(""), [Z, E] = k.useState(""), [R, $] = k.useState(!1), [W, at] = k.useState(""), K = (H) => {
13274
13275
  v(H.id), E(H.title), at("");
13275
13276
  }, dt = () => {
13276
13277
  v(""), E(""), at("");
@@ -13280,13 +13281,13 @@ function ph({
13280
13281
  at("标题不能为空");
13281
13282
  return;
13282
13283
  }
13283
- _(!0), at("");
13284
+ $(!0), at("");
13284
13285
  try {
13285
13286
  await b(H.id, ht), dt();
13286
13287
  } catch (st) {
13287
13288
  at(st instanceof Error ? st.message : "标题保存失败");
13288
13289
  } finally {
13289
- _(!1);
13290
+ $(!1);
13290
13291
  }
13291
13292
  };
13292
13293
  return /* @__PURE__ */ c.jsxs("aside", { className: `hidden w-[260px] shrink-0 flex-col border-r border-slate-200 bg-slate-50 p-4 lg:flex ${Y}`, children: [
@@ -13304,7 +13305,7 @@ function ph({
13304
13305
  onClick: m,
13305
13306
  className: "mt-5 flex w-full items-center justify-center gap-2 rounded-xl bg-slate-900 px-3 py-2.5 text-sm font-semibold text-white transition-colors hover:bg-slate-700",
13306
13307
  children: [
13307
- /* @__PURE__ */ c.jsx(R0, { className: "h-4 w-4" }),
13308
+ /* @__PURE__ */ c.jsx(K0, { className: "h-4 w-4" }),
13308
13309
  "新建对话"
13309
13310
  ]
13310
13311
  }
@@ -13337,7 +13338,7 @@ function ph({
13337
13338
  maxLength: 40,
13338
13339
  "aria-label": "会话标题",
13339
13340
  value: Z,
13340
- disabled: K,
13341
+ disabled: R,
13341
13342
  onChange: (J) => E(J.target.value),
13342
13343
  onKeyDown: (J) => {
13343
13344
  J.key === "Enter" && (J.preventDefault(), lt(H)), J.key === "Escape" && dt();
@@ -13345,10 +13346,10 @@ function ph({
13345
13346
  }
13346
13347
  ),
13347
13348
  /* @__PURE__ */ c.jsxs("span", { className: "gis-platform-history-edit-actions", children: [
13348
- /* @__PURE__ */ c.jsx("button", { type: "button", "aria-label": "保存标题", title: "保存", disabled: K, onClick: () => {
13349
+ /* @__PURE__ */ c.jsx("button", { type: "button", "aria-label": "保存标题", title: "保存", disabled: R, onClick: () => {
13349
13350
  lt(H);
13350
13351
  }, children: /* @__PURE__ */ c.jsx(v0, { className: "h-3.5 w-3.5" }) }),
13351
- /* @__PURE__ */ c.jsx("button", { type: "button", "aria-label": "取消编辑", title: "取消", disabled: K, onClick: dt, children: /* @__PURE__ */ c.jsx(Em, { className: "h-3.5 w-3.5" }) })
13352
+ /* @__PURE__ */ c.jsx("button", { type: "button", "aria-label": "取消编辑", title: "取消", disabled: R, onClick: dt, children: /* @__PURE__ */ c.jsx(Em, { className: "h-3.5 w-3.5" }) })
13352
13353
  ] }),
13353
13354
  W ? /* @__PURE__ */ c.jsx("span", { className: "gis-platform-history-edit-error", role: "alert", children: W }) : null
13354
13355
  ] }) : /* @__PURE__ */ c.jsx(
@@ -13372,11 +13373,11 @@ function ph({
13372
13373
  "button",
13373
13374
  {
13374
13375
  type: "button",
13375
- onClick: () => R(H),
13376
+ onClick: () => K(H),
13376
13377
  className: "gis-platform-history-rename",
13377
13378
  "aria-label": `编辑${H.title}`,
13378
13379
  title: "编辑标题",
13379
- disabled: K,
13380
+ disabled: R,
13380
13381
  children: /* @__PURE__ */ c.jsx(V0, { className: "h-3.5 w-3.5" })
13381
13382
  }
13382
13383
  ) : null,
@@ -13389,7 +13390,7 @@ function ph({
13389
13390
  },
13390
13391
  className: "gis-platform-history-delete",
13391
13392
  "aria-label": `删除${H.title}`,
13392
- disabled: h === H.id || K,
13393
+ disabled: h === H.id || R,
13393
13394
  children: /* @__PURE__ */ c.jsx(lb, { className: "h-3.5 w-3.5" })
13394
13395
  }
13395
13396
  )
@@ -13401,23 +13402,23 @@ function ph({
13401
13402
  ] });
13402
13403
  }
13403
13404
  function bh() {
13404
- const { autoNameConversation: r, clearConversations: u, createConversation: m, deleteConversation: f, listConversations: T, renameConversation: b } = Gm(), [j, Y] = k.useState([]), [h, v] = k.useState(""), [Z, E] = k.useState(""), [K, _] = k.useState(!1), W = k.useRef(!1), at = k.useCallback(async () => {
13405
+ const { autoNameConversation: r, clearConversations: u, createConversation: m, deleteConversation: f, listConversations: T, renameConversation: b } = Gm(), [j, Y] = k.useState([]), [h, v] = k.useState(""), [Z, E] = k.useState(""), [R, $] = k.useState(!1), W = k.useRef(!1), at = k.useCallback(async () => {
13405
13406
  try {
13406
13407
  const J = await T();
13407
13408
  return Y(J.conversations), v((B) => B || J.conversations[0]?.id || ""), E(""), J.conversations;
13408
13409
  } catch (J) {
13409
13410
  return E(J instanceof Error ? J.message : "会话加载失败"), null;
13410
13411
  } finally {
13411
- _(!0);
13412
+ $(!0);
13412
13413
  }
13413
- }, [T]), R = k.useCallback(async () => {
13414
+ }, [T]), K = k.useCallback(async () => {
13414
13415
  if (!W.current) {
13415
13416
  W.current = !0;
13416
13417
  try {
13417
13418
  E("");
13418
13419
  const J = await m(), B = await at();
13419
13420
  if (B === null) return;
13420
- if (!B.some(($) => $.id === J.id)) {
13421
+ if (!B.some((P) => P.id === J.id)) {
13421
13422
  E("新建对话暂未出现在历史列表中,请稍后重试");
13422
13423
  return;
13423
13424
  }
@@ -13441,10 +13442,10 @@ function bh() {
13441
13442
  E(J instanceof Error ? J.message : "清空会话失败");
13442
13443
  }
13443
13444
  }, [at, u]), H = k.useCallback((J) => {
13444
- Y((B) => B.map(($) => $.id !== J.id || $.titleSource === "manual" && J.titleSource !== "manual" ? $ : { ...$, title: J.title, titleSource: J.titleSource }));
13445
+ Y((B) => B.map((P) => P.id !== J.id || P.titleSource === "manual" && J.titleSource !== "manual" ? P : { ...P, title: J.title, titleSource: J.titleSource }));
13445
13446
  }, []), ht = k.useCallback(async (J, B) => {
13446
- const $ = await b(J, B);
13447
- return H($), $;
13447
+ const P = await b(J, B);
13448
+ return H(P), P;
13448
13449
  }, [H, b]), st = k.useCallback(async (J) => {
13449
13450
  const B = await r(J);
13450
13451
  return H(B), B;
@@ -13452,8 +13453,8 @@ function bh() {
13452
13453
  return k.useEffect(() => {
13453
13454
  at();
13454
13455
  }, [at]), k.useEffect(() => {
13455
- K && !Z && !h && j.length === 0 && !W.current && R();
13456
- }, [h, R, Z, K, j.length]), { sessions: j, activeId: h, setActiveId: v, create: R, remove: dt, clear: lt, rename: ht, autoName: st, error: Z };
13456
+ R && !Z && !h && j.length === 0 && !W.current && K();
13457
+ }, [h, K, Z, R, j.length]), { sessions: j, activeId: h, setActiveId: v, create: K, remove: dt, clear: lt, rename: ht, autoName: st, error: Z };
13457
13458
  }
13458
13459
  const hh = `/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300..800&family=Spline+Sans+Mono:wght@400;500;600&display=swap";@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-700:oklch(55.5% .163 48.998);--color-emerald-50:oklch(97.9% .021 166.113);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-200:oklch(90.5% .093 164.15);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-sky-200:oklch(90.1% .058 230.902);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-stone-50:oklch(98.5% .001 106.423);--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25 / 1.875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1) infinite;--animate-bounce:bounce 1s infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.absolute{position:absolute}.relative{position:relative}.top-5{top:calc(var(--spacing) * 5)}.right-5{right:calc(var(--spacing) * 5)}.z-20{z-index:20}.mx-5{margin-inline:calc(var(--spacing) * 5)}.mx-auto{margin-inline:auto}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.ml-3{margin-left:calc(var(--spacing) * 3)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-1\\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-3{height:calc(var(--spacing) * 3)}.h-3\\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-\\[1px\\]{height:1px}.h-\\[calc\\(100vh-1\\.5rem\\)\\]{height:calc(100vh - 1.5rem)}.h-full{height:100%}.h-screen{height:100vh}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-\\[720px\\]{min-height:720px}.min-h-screen{min-height:100vh}.w-1\\.5{width:calc(var(--spacing) * 1.5)}.w-3{width:calc(var(--spacing) * 3)}.w-3\\.5{width:calc(var(--spacing) * 3.5)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-24{width:calc(var(--spacing) * 24)}.w-\\[1px\\]{width:1px}.w-\\[260px\\]{width:260px}.w-fit{width:fit-content}.w-full{width:100%}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-5xl{max-width:var(--container-5xl)}.max-w-\\[85\\%\\]{max-width:85%}.max-w-\\[1440px\\]{max-width:1440px}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-16{min-width:calc(var(--spacing) * 16)}.min-w-\\[22rem\\]{min-width:22rem}.min-w-max{min-width:max-content}.flex-1{flex:1}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.animate-bounce{animation:var(--animate-bounce)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)))}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-y-1{row-gap:calc(var(--spacing) * 1)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-slate-100>:not(:last-child)){border-color:var(--color-slate-100)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[var\\(--radius\\)\\]{border-radius:var(--radius)}.rounded-full{border-radius:3.40282e+38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-tl-sm{border-top-left-radius:var(--radius-sm)}.rounded-tr-sm{border-top-right-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-3{border-style:var(--tw-border-style);border-width:3px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-\\[var\\(--border\\)\\]{border-color:var(--border)}.border-\\[var\\(--input\\)\\]{border-color:var(--input)}.border-\\[var\\(--muted\\)\\]{border-color:var(--muted)}.border-emerald-200{border-color:var(--color-emerald-200)}.border-red-100{border-color:var(--color-red-100)}.border-red-200{border-color:var(--color-red-200)}.border-slate-100{border-color:var(--color-slate-100)}.border-slate-200{border-color:var(--color-slate-200)}.border-slate-300{border-color:var(--color-slate-300)}.border-transparent{border-color:#0000}.border-t-\\[var\\(--primary\\)\\]{border-top-color:var(--primary)}.bg-\\[var\\(--background\\)\\]{background-color:var(--background)}.bg-\\[var\\(--border\\)\\]{background-color:var(--border)}.bg-\\[var\\(--card\\)\\]{background-color:var(--card)}.bg-\\[var\\(--destructive\\)\\]{background-color:var(--destructive)}.bg-\\[var\\(--primary\\)\\]{background-color:var(--primary)}.bg-\\[var\\(--secondary\\)\\]{background-color:var(--secondary)}.bg-amber-50{background-color:var(--color-amber-50)}.bg-amber-400{background-color:var(--color-amber-400)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-400{background-color:var(--color-blue-400)}.bg-blue-400\\/20{background-color:#54a2ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-400\\/20{background-color:color-mix(in oklab,var(--color-blue-400) 20%,transparent)}}.bg-emerald-50{background-color:var(--color-emerald-50)}.bg-emerald-400{background-color:var(--color-emerald-400)}.bg-emerald-400\\/20{background-color:#00d29433}@supports (color:color-mix(in lab,red,red)){.bg-emerald-400\\/20{background-color:color-mix(in oklab,var(--color-emerald-400) 20%,transparent)}}.bg-red-50{background-color:var(--color-red-50)}.bg-red-400\\/20{background-color:#ff656833}@supports (color:color-mix(in lab,red,red)){.bg-red-400\\/20{background-color:color-mix(in oklab,var(--color-red-400) 20%,transparent)}}.bg-sky-500{background-color:var(--color-sky-500)}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-50\\/70{background-color:#f8fafcb3}@supports (color:color-mix(in lab,red,red)){.bg-slate-50\\/70{background-color:color-mix(in oklab,var(--color-slate-50) 70%,transparent)}}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-200{background-color:var(--color-slate-200)}.bg-slate-900{background-color:var(--color-slate-900)}.bg-stone-50{background-color:var(--color-stone-50)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\\/15{background-color:#ffffff26}@supports (color:color-mix(in lab,red,red)){.bg-white\\/15{background-color:color-mix(in oklab,var(--color-white) 15%,transparent)}}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-\\[\\#0072E5\\]{--tw-gradient-from:#0072e5;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from) var(--tw-gradient-from-position),var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-slate-900{--tw-gradient-from:var(--color-slate-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from) var(--tw-gradient-from-position),var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-\\[\\#3EA5FF\\]{--tw-gradient-to:#3ea5ff;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from) var(--tw-gradient-from-position),var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-slate-700{--tw-gradient-to:var(--color-slate-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from) var(--tw-gradient-from-position),var(--tw-gradient-to) var(--tw-gradient-to-position))}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing) * 1)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-8{padding-block:calc(var(--spacing) * 8)}.pt-0{padding-top:calc(var(--spacing) * 0)}.pt-2{padding-top:calc(var(--spacing) * 2)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.break-words{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[var\\(--card-foreground\\)\\]{color:var(--card-foreground)}.text-\\[var\\(--destructive-foreground\\)\\]{color:var(--destructive-foreground)}.text-\\[var\\(--foreground\\)\\]{color:var(--foreground)}.text-\\[var\\(--muted-foreground\\)\\]{color:var(--muted-foreground)}.text-\\[var\\(--primary-foreground\\)\\]{color:var(--primary-foreground)}.text-\\[var\\(--secondary-foreground\\)\\]{color:var(--secondary-foreground)}.text-amber-500{color:var(--color-amber-500)}.text-amber-700{color:var(--color-amber-700)}.text-blue-100{color:var(--color-blue-100)}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-current{color:currentColor}.text-emerald-200{color:var(--color-emerald-200)}.text-emerald-600{color:var(--color-emerald-600)}.text-emerald-700{color:var(--color-emerald-700)}.text-emerald-800{color:var(--color-emerald-800)}.text-red-200{color:var(--color-red-200)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-red-800{color:var(--color-red-800)}.text-sky-200{color:var(--color-sky-200)}.text-slate-100{color:var(--color-slate-100)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-slate-800{color:var(--color-slate-800)}.text-slate-900{color:var(--color-slate-900)}.text-white{color:var(--color-white)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-100{opacity:1}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)}.ring-1,.shadow-sm{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor)}.ring-slate-200{--tw-ring-color:var(--color-slate-200)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-700{--tw-duration:.7s;transition-duration:.7s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.placeholder\\:text-\\[var\\(--muted-foreground\\)\\]::placeholder{color:var(--muted-foreground)}.last\\:border-0:last-child{border-style:var(--tw-border-style);border-width:0}.focus-within\\:border-slate-500:focus-within{border-color:var(--color-slate-500)}@media (hover:hover){.hover\\:bg-\\[var\\(--secondary\\)\\]:hover{background-color:var(--secondary)}.hover\\:bg-emerald-100:hover{background-color:var(--color-emerald-100)}.hover\\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\\:bg-slate-50:hover{background-color:var(--color-slate-50)}.hover\\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\\:bg-slate-700:hover{background-color:var(--color-slate-700)}.hover\\:bg-white:hover{background-color:var(--color-white)}.hover\\:text-\\[var\\(--secondary-foreground\\)\\]:hover{color:var(--secondary-foreground)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:opacity-80:hover{opacity:.8}.hover\\:opacity-90:hover{opacity:.9}}.focus\\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\\:border-slate-700:focus{border-color:var(--color-slate-700)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-blue-100:focus{--tw-ring-color:var(--color-blue-100)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-\\[var\\(--ring\\)\\]:focus-visible{--tw-ring-color:var(--ring)}.focus-visible\\:ring-sky-500:focus-visible{--tw-ring-color:var(--color-sky-500)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.focus-visible\\:ring-inset:focus-visible{--tw-ring-inset:inset}.enabled\\:bg-slate-900:enabled{background-color:var(--color-slate-900)}@media (hover:hover){.enabled\\:hover\\:bg-slate-700:enabled:hover{background-color:var(--color-slate-700)}}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:border-slate-200:disabled{border-color:var(--color-slate-200)}.disabled\\:bg-slate-100:disabled{background-color:var(--color-slate-100)}.disabled\\:bg-slate-400:disabled{background-color:var(--color-slate-400)}.disabled\\:text-slate-300:disabled{color:var(--color-slate-300)}.disabled\\:text-slate-400:disabled{color:var(--color-slate-400)}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:opacity-60:disabled{opacity:.6}.data-\\[state\\=checked\\]\\:border-transparent[data-state=checked]{border-color:#0000}.data-\\[state\\=checked\\]\\:bg-\\[var\\(--primary\\)\\][data-state=checked]{background-color:var(--primary)}.data-\\[state\\=checked\\]\\:text-\\[var\\(--primary-foreground\\)\\][data-state=checked]{color:var(--primary-foreground)}@media (prefers-reduced-motion:reduce){.motion-reduce\\:animate-none{animation:none}}@media (min-width:40rem){.sm\\:h-\\[calc\\(100vh-2\\.5rem\\)\\]{height:calc(100vh - 2.5rem)}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\\:p-5{padding:calc(var(--spacing) * 5)}.sm\\:px-8{padding-inline:calc(var(--spacing) * 8)}}@media (min-width:48rem){.md\\:grid-cols-\\[1fr_150px_120px_auto\\]{grid-template-columns:1fr 150px 120px auto}.md\\:items-end{align-items:flex-end}}@media (min-width:64rem){.lg\\:block{display:block}.lg\\:flex{display:flex}.lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\\:grid-cols-\\[260px_minmax\\(0\\,1fr\\)\\]{grid-template-columns:260px minmax(0,1fr)}}}:root{--background:#fff;--foreground:#010507;--card:#fff;--card-foreground:#010507;--primary:#010507;--primary-foreground:#fff;--secondary:#ededf5;--secondary-foreground:#010507;--muted:#ededf5;--muted-foreground:#57575b;--accent:#eee6fe;--accent-foreground:#010507;--destructive:#fa5f67;--destructive-foreground:#fff;--border:#dbdbe5;--input:#dbdbe5;--ring:#bec2ff;--chart-tooltip-bg:#fff;--chart-tooltip-border:#dbdbe5;--chart-axis:#57575b;--radius:.75rem;--cpk-default-font-family:var(--font-body);--font-body:"Plus Jakarta Sans","DM Sans","Segoe UI",sans-serif;--font-code:"Spline Sans Mono","SFMono-Regular",Menlo,Monaco,Consolas,monospace;--cpk-mint-400:#85ecce;--cpk-mint-800:#189370;--cpk-lilac-400:#bec2ff;--cpk-orange-400:#ffac4d;--cpk-yellow-400:#fff388;--cpk-ambient-gradient:linear-gradient(90deg,#bec2ff,#85ecce 45.673%,#ffac4d)}.dark,:root.dark{--background:#010507;--foreground:#fff;--card:#191a1e;--card-foreground:#fff;--primary:#fff;--primary-foreground:#010507;--secondary:#242529;--secondary-foreground:#fff;--muted:#242529;--muted-foreground:#adadb2;--accent:#303136;--accent-foreground:#fff;--destructive:#fa5f67;--destructive-foreground:#fff;--border:#303136;--input:#303136;--ring:#bec2ff;--chart-tooltip-bg:#191a1e;--chart-tooltip-border:#303136;--chart-axis:#adadb2}body{background:var(--background);color:var(--foreground);font-family:var(--font-body)}body,html{height:100%}:root{--platform-brand-gradient:linear-gradient(135deg,#0072e5,#3ea5ff);--platform-brand-gradient-hover:linear-gradient(135deg,#06c,#2f96f2)}.bg-slate-900,.enabled\\:bg-slate-900:enabled{background-color:#0072e5;background-image:var(--platform-brand-gradient)}.bg-gradient-to-r.from-slate-900.to-slate-700{background-image:var(--platform-brand-gradient)!important}.bg-slate-900:hover,.enabled\\:bg-slate-900:enabled:hover,.enabled\\:hover\\:bg-slate-700:hover:enabled,.hover\\:bg-slate-700:hover{background-color:#06c;background-image:var(--platform-brand-gradient-hover)}.bg-slate-900:disabled,.disabled\\:bg-slate-300:disabled,.enabled\\:bg-slate-900:disabled{background-image:none}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(1turn)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}
13459
13460
  .gis-platform-agent-dji-card {
@@ -14957,12 +14958,12 @@ function Sm(r, u, m) {
14957
14958
  return Math.min(Math.max(r, u), m);
14958
14959
  }
14959
14960
  function wh({ options: r, runtime: u }) {
14960
- const m = (W) => u.subscribe(W), f = () => u.isOpen(), T = k.useSyncExternalStore(m, f, f), [b, j] = k.useState(!1), [Y, h] = k.useState(!1), [v, Z] = k.useState(() => Om(r)), E = bh(), K = E.sessions.find((W) => W.id === E.activeId), _ = k.useCallback(() => {
14961
+ const m = (W) => u.subscribe(W), f = () => u.isOpen(), T = k.useSyncExternalStore(m, f, f), [b, j] = k.useState(!1), [Y, h] = k.useState(!1), [v, Z] = k.useState(() => Om(r)), E = bh(), R = E.sessions.find((W) => W.id === E.activeId), $ = k.useCallback(() => {
14961
14962
  b || Z(Om(r));
14962
14963
  }, [b, r]);
14963
- return k.useEffect(() => (_(), window.addEventListener("resize", _), window.visualViewport?.addEventListener("resize", _), window.visualViewport?.addEventListener("scroll", _), () => {
14964
- window.removeEventListener("resize", _), window.visualViewport?.removeEventListener("resize", _), window.visualViewport?.removeEventListener("scroll", _);
14965
- }), [_]), k.useEffect(() => {
14964
+ return k.useEffect(() => ($(), window.addEventListener("resize", $), window.visualViewport?.addEventListener("resize", $), window.visualViewport?.addEventListener("scroll", $), () => {
14965
+ window.removeEventListener("resize", $), window.visualViewport?.removeEventListener("resize", $), window.visualViewport?.removeEventListener("scroll", $);
14966
+ }), [$]), k.useEffect(() => {
14966
14967
  E.error && r.onError?.({ code: "PLATFORM_SESSION", message: E.error });
14967
14968
  }, [r, E.error]), /* @__PURE__ */ c.jsx("div", { className: "gis-platform-agent-host", style: { display: T ? void 0 : "none" }, children: /* @__PURE__ */ c.jsxs(
14968
14969
  "section",
@@ -14991,17 +14992,17 @@ function wh({ options: r, runtime: u }) {
14991
14992
  className: Y ? "gis-platform-history is-open" : "gis-platform-history"
14992
14993
  }
14993
14994
  ),
14994
- /* @__PURE__ */ c.jsx("main", { onClick: () => h(!1), children: K ? /* @__PURE__ */ c.jsx(
14995
+ /* @__PURE__ */ c.jsx("main", { onClick: () => h(!1), children: R ? /* @__PURE__ */ c.jsx(
14995
14996
  mh,
14996
14997
  {
14997
- conversationId: K.id,
14998
- conversationTitle: K.title,
14999
- conversationStatus: K.status,
14998
+ conversationId: R.id,
14999
+ conversationTitle: R.title,
15000
+ conversationStatus: R.status,
15000
15001
  onEnsureTitle: E.autoName,
15001
15002
  title: r.title ?? "智能助手",
15002
15003
  onEvent: r.onEvent
15003
15004
  },
15004
- K.id
15005
+ R.id
15005
15006
  ) : /* @__PURE__ */ c.jsx("div", { className: "flex h-full items-center justify-center bg-slate-50/70 px-6 text-sm text-slate-500", children: E.error || "正在准备智能体会话…" }) }),
15006
15007
  /* @__PURE__ */ c.jsx(
15007
15008
  "button",
@@ -15023,7 +15024,7 @@ function wh({ options: r, runtime: u }) {
15023
15024
  title: b ? "退出全屏" : "全屏",
15024
15025
  "aria-pressed": b,
15025
15026
  onClick: () => {
15026
- j((W) => !W), b && _();
15027
+ j((W) => !W), b && $();
15027
15028
  },
15028
15029
  children: b ? /* @__PURE__ */ c.jsx(J0, { className: "h-4 w-4" }) : /* @__PURE__ */ c.jsx(Q0, { className: "h-4 w-4" })
15029
15030
  }