zywlagent 0.1.8 → 0.1.9

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,22 +73,22 @@ function Q0() {
73
73
  return Y.now() - B;
74
74
  };
75
75
  }
76
- var O = [], x = [], k = 1, E = null, q = 3, I = !1, P = !1, ut = !1, tt = !1, $ = typeof setTimeout == "function" ? setTimeout : null, U = typeof clearTimeout == "function" ? clearTimeout : null, F = typeof setImmediate < "u" ? setImmediate : null;
76
+ var T = [], y = [], k = 1, E = null, q = 3, I = !1, P = !1, ut = !1, tt = !1, $ = typeof setTimeout == "function" ? setTimeout : null, U = typeof clearTimeout == "function" ? clearTimeout : null, F = typeof setImmediate < "u" ? setImmediate : null;
77
77
  function lt(M) {
78
- for (var G = m(x); G !== null; ) {
79
- if (G.callback === null) f(x);
78
+ for (var G = m(y); G !== null; ) {
79
+ if (G.callback === null) f(y);
80
80
  else if (G.startTime <= M)
81
- f(x), G.sortIndex = G.expirationTime, s(O, G);
81
+ f(y), G.sortIndex = G.expirationTime, s(T, G);
82
82
  else break;
83
- G = m(x);
83
+ G = m(y);
84
84
  }
85
85
  }
86
86
  function ot(M) {
87
87
  if (ut = !1, lt(M), !P)
88
- if (m(O) !== null)
88
+ if (m(T) !== null)
89
89
  P = !0, ft || (ft = !0, C());
90
90
  else {
91
- var G = m(x);
91
+ var G = m(y);
92
92
  G !== null && kt(ot, G.startTime - M);
93
93
  }
94
94
  }
@@ -107,7 +107,7 @@ function Q0() {
107
107
  var L = q;
108
108
  try {
109
109
  e: {
110
- for (lt(M), E = m(O); E !== null && !(E.expirationTime > M && re()); ) {
110
+ for (lt(M), E = m(T); E !== null && !(E.expirationTime > M && re()); ) {
111
111
  var it = E.callback;
112
112
  if (typeof it == "function") {
113
113
  E.callback = null, q = E.priorityLevel;
@@ -118,13 +118,13 @@ function Q0() {
118
118
  E.callback = bt, lt(M), G = !0;
119
119
  break e;
120
120
  }
121
- E === m(O) && f(O), lt(M);
122
- } else f(O);
123
- E = m(O);
121
+ E === m(T) && f(T), lt(M);
122
+ } else f(T);
123
+ E = m(T);
124
124
  }
125
125
  if (E !== null) G = !0;
126
126
  else {
127
- var p = m(x);
127
+ var p = m(y);
128
128
  p !== null && kt(
129
129
  ot,
130
130
  p.startTime - M
@@ -231,7 +231,7 @@ function Q0() {
231
231
  startTime: L,
232
232
  expirationTime: bt,
233
233
  sortIndex: -1
234
- }, L > it ? (M.sortIndex = L, s(x, M), m(O) === null && M === m(x) && (ut ? (U(J), J = -1) : ut = !0, kt(ot, L - it))) : (M.sortIndex = bt, s(O, M), P || I || (P = !0, ft || (ft = !0, C()))), M;
234
+ }, L > it ? (M.sortIndex = L, s(y, M), m(T) === null && M === m(y) && (ut ? (U(J), J = -1) : ut = !0, kt(ot, L - it))) : (M.sortIndex = bt, s(T, M), P || I || (P = !0, ft || (ft = !0, C()))), M;
235
235
  }, u.unstable_shouldYield = re, u.unstable_wrapCallback = function(M) {
236
236
  var G = q;
237
237
  return function() {
@@ -255,7 +255,7 @@ var kd;
255
255
  function R0() {
256
256
  if (kd) return nt;
257
257
  kd = 1;
258
- var u = /* @__PURE__ */ Symbol.for("react.transitional.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), f = /* @__PURE__ */ Symbol.for("react.strict_mode"), j = /* @__PURE__ */ Symbol.for("react.profiler"), z = /* @__PURE__ */ Symbol.for("react.consumer"), Y = /* @__PURE__ */ Symbol.for("react.context"), B = /* @__PURE__ */ Symbol.for("react.forward_ref"), O = /* @__PURE__ */ Symbol.for("react.suspense"), x = /* @__PURE__ */ Symbol.for("react.memo"), k = /* @__PURE__ */ Symbol.for("react.lazy"), E = /* @__PURE__ */ Symbol.for("react.activity"), q = Symbol.iterator;
258
+ var u = /* @__PURE__ */ Symbol.for("react.transitional.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), f = /* @__PURE__ */ Symbol.for("react.strict_mode"), j = /* @__PURE__ */ Symbol.for("react.profiler"), z = /* @__PURE__ */ Symbol.for("react.consumer"), Y = /* @__PURE__ */ Symbol.for("react.context"), B = /* @__PURE__ */ Symbol.for("react.forward_ref"), T = /* @__PURE__ */ Symbol.for("react.suspense"), y = /* @__PURE__ */ Symbol.for("react.memo"), k = /* @__PURE__ */ Symbol.for("react.lazy"), E = /* @__PURE__ */ Symbol.for("react.activity"), q = Symbol.iterator;
259
259
  function I(p) {
260
260
  return p === null || typeof p != "object" ? null : (p = q && p[q] || p["@@iterator"], typeof p == "function" ? p : null);
261
261
  }
@@ -482,7 +482,7 @@ function R0() {
482
482
  return p;
483
483
  }
484
484
  };
485
- return nt.Activity = E, nt.Children = bt, nt.Component = $, nt.Fragment = m, nt.Profiler = j, nt.PureComponent = F, nt.StrictMode = f, nt.Suspense = O, nt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = J, nt.__COMPILER_RUNTIME = {
485
+ return nt.Activity = E, nt.Children = bt, nt.Component = $, nt.Fragment = m, nt.Profiler = j, nt.PureComponent = F, nt.StrictMode = f, nt.Suspense = T, nt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = J, nt.__COMPILER_RUNTIME = {
486
486
  __proto__: null,
487
487
  c: function(p) {
488
488
  return J.H.useMemoCache(p);
@@ -550,7 +550,7 @@ function R0() {
550
550
  };
551
551
  }, nt.memo = function(p, A) {
552
552
  return {
553
- $$typeof: x,
553
+ $$typeof: y,
554
554
  type: p,
555
555
  compare: A === void 0 ? null : A
556
556
  };
@@ -620,14 +620,14 @@ function F0() {
620
620
  if (Ud) return se;
621
621
  Ud = 1;
622
622
  var u = Yr();
623
- function s(O) {
624
- var x = "https://react.dev/errors/" + O;
623
+ function s(T) {
624
+ var y = "https://react.dev/errors/" + T;
625
625
  if (1 < arguments.length) {
626
- x += "?args[]=" + encodeURIComponent(arguments[1]);
626
+ y += "?args[]=" + encodeURIComponent(arguments[1]);
627
627
  for (var k = 2; k < arguments.length; k++)
628
- x += "&args[]=" + encodeURIComponent(arguments[k]);
628
+ y += "&args[]=" + encodeURIComponent(arguments[k]);
629
629
  }
630
- return "Minified React error #" + O + "; visit " + x + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
630
+ return "Minified React error #" + T + "; visit " + y + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
631
631
  }
632
632
  function m() {
633
633
  }
@@ -648,102 +648,102 @@ function F0() {
648
648
  p: 0,
649
649
  findDOMNode: null
650
650
  }, j = /* @__PURE__ */ Symbol.for("react.portal");
651
- function z(O, x, k) {
651
+ function z(T, y, k) {
652
652
  var E = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
653
653
  return {
654
654
  $$typeof: j,
655
655
  key: E == null ? null : "" + E,
656
- children: O,
657
- containerInfo: x,
656
+ children: T,
657
+ containerInfo: y,
658
658
  implementation: k
659
659
  };
660
660
  }
661
661
  var Y = u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
662
- function B(O, x) {
663
- if (O === "font") return "";
664
- if (typeof x == "string")
665
- return x === "use-credentials" ? x : "";
662
+ function B(T, y) {
663
+ if (T === "font") return "";
664
+ if (typeof y == "string")
665
+ return y === "use-credentials" ? y : "";
666
666
  }
667
- return se.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = f, se.createPortal = function(O, x) {
667
+ return se.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = f, se.createPortal = function(T, y) {
668
668
  var k = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
669
- if (!x || x.nodeType !== 1 && x.nodeType !== 9 && x.nodeType !== 11)
669
+ if (!y || y.nodeType !== 1 && y.nodeType !== 9 && y.nodeType !== 11)
670
670
  throw Error(s(299));
671
- return z(O, x, null, k);
672
- }, se.flushSync = function(O) {
673
- var x = Y.T, k = f.p;
671
+ return z(T, y, null, k);
672
+ }, se.flushSync = function(T) {
673
+ var y = Y.T, k = f.p;
674
674
  try {
675
- if (Y.T = null, f.p = 2, O) return O();
675
+ if (Y.T = null, f.p = 2, T) return T();
676
676
  } finally {
677
- Y.T = x, f.p = k, f.d.f();
678
- }
679
- }, se.preconnect = function(O, x) {
680
- typeof O == "string" && (x ? (x = x.crossOrigin, x = typeof x == "string" ? x === "use-credentials" ? x : "" : void 0) : x = null, f.d.C(O, x));
681
- }, se.prefetchDNS = function(O) {
682
- typeof O == "string" && f.d.D(O);
683
- }, se.preinit = function(O, x) {
684
- if (typeof O == "string" && x && typeof x.as == "string") {
685
- var k = x.as, E = B(k, x.crossOrigin), q = typeof x.integrity == "string" ? x.integrity : void 0, I = typeof x.fetchPriority == "string" ? x.fetchPriority : void 0;
677
+ Y.T = y, f.p = k, f.d.f();
678
+ }
679
+ }, se.preconnect = function(T, y) {
680
+ typeof T == "string" && (y ? (y = y.crossOrigin, y = typeof y == "string" ? y === "use-credentials" ? y : "" : void 0) : y = null, f.d.C(T, y));
681
+ }, se.prefetchDNS = function(T) {
682
+ typeof T == "string" && f.d.D(T);
683
+ }, se.preinit = function(T, y) {
684
+ if (typeof T == "string" && y && typeof y.as == "string") {
685
+ var k = y.as, E = B(k, y.crossOrigin), q = typeof y.integrity == "string" ? y.integrity : void 0, I = typeof y.fetchPriority == "string" ? y.fetchPriority : void 0;
686
686
  k === "style" ? f.d.S(
687
- O,
688
- typeof x.precedence == "string" ? x.precedence : void 0,
687
+ T,
688
+ typeof y.precedence == "string" ? y.precedence : void 0,
689
689
  {
690
690
  crossOrigin: E,
691
691
  integrity: q,
692
692
  fetchPriority: I
693
693
  }
694
- ) : k === "script" && f.d.X(O, {
694
+ ) : k === "script" && f.d.X(T, {
695
695
  crossOrigin: E,
696
696
  integrity: q,
697
697
  fetchPriority: I,
698
- nonce: typeof x.nonce == "string" ? x.nonce : void 0
698
+ nonce: typeof y.nonce == "string" ? y.nonce : void 0
699
699
  });
700
700
  }
701
- }, se.preinitModule = function(O, x) {
702
- if (typeof O == "string")
703
- if (typeof x == "object" && x !== null) {
704
- if (x.as == null || x.as === "script") {
701
+ }, se.preinitModule = function(T, y) {
702
+ if (typeof T == "string")
703
+ if (typeof y == "object" && y !== null) {
704
+ if (y.as == null || y.as === "script") {
705
705
  var k = B(
706
- x.as,
707
- x.crossOrigin
706
+ y.as,
707
+ y.crossOrigin
708
708
  );
709
- f.d.M(O, {
709
+ f.d.M(T, {
710
710
  crossOrigin: k,
711
- integrity: typeof x.integrity == "string" ? x.integrity : void 0,
712
- nonce: typeof x.nonce == "string" ? x.nonce : void 0
711
+ integrity: typeof y.integrity == "string" ? y.integrity : void 0,
712
+ nonce: typeof y.nonce == "string" ? y.nonce : void 0
713
713
  });
714
714
  }
715
- } else x == null && f.d.M(O);
716
- }, se.preload = function(O, x) {
717
- if (typeof O == "string" && typeof x == "object" && x !== null && typeof x.as == "string") {
718
- var k = x.as, E = B(k, x.crossOrigin);
719
- f.d.L(O, k, {
715
+ } else y == null && f.d.M(T);
716
+ }, se.preload = function(T, y) {
717
+ if (typeof T == "string" && typeof y == "object" && y !== null && typeof y.as == "string") {
718
+ var k = y.as, E = B(k, y.crossOrigin);
719
+ f.d.L(T, k, {
720
720
  crossOrigin: E,
721
- integrity: typeof x.integrity == "string" ? x.integrity : void 0,
722
- nonce: typeof x.nonce == "string" ? x.nonce : void 0,
723
- type: typeof x.type == "string" ? x.type : void 0,
724
- fetchPriority: typeof x.fetchPriority == "string" ? x.fetchPriority : void 0,
725
- referrerPolicy: typeof x.referrerPolicy == "string" ? x.referrerPolicy : void 0,
726
- imageSrcSet: typeof x.imageSrcSet == "string" ? x.imageSrcSet : void 0,
727
- imageSizes: typeof x.imageSizes == "string" ? x.imageSizes : void 0,
728
- media: typeof x.media == "string" ? x.media : void 0
721
+ integrity: typeof y.integrity == "string" ? y.integrity : void 0,
722
+ nonce: typeof y.nonce == "string" ? y.nonce : void 0,
723
+ type: typeof y.type == "string" ? y.type : void 0,
724
+ fetchPriority: typeof y.fetchPriority == "string" ? y.fetchPriority : void 0,
725
+ referrerPolicy: typeof y.referrerPolicy == "string" ? y.referrerPolicy : void 0,
726
+ imageSrcSet: typeof y.imageSrcSet == "string" ? y.imageSrcSet : void 0,
727
+ imageSizes: typeof y.imageSizes == "string" ? y.imageSizes : void 0,
728
+ media: typeof y.media == "string" ? y.media : void 0
729
729
  });
730
730
  }
731
- }, se.preloadModule = function(O, x) {
732
- if (typeof O == "string")
733
- if (x) {
734
- var k = B(x.as, x.crossOrigin);
735
- f.d.m(O, {
736
- as: typeof x.as == "string" && x.as !== "script" ? x.as : void 0,
731
+ }, se.preloadModule = function(T, y) {
732
+ if (typeof T == "string")
733
+ if (y) {
734
+ var k = B(y.as, y.crossOrigin);
735
+ f.d.m(T, {
736
+ as: typeof y.as == "string" && y.as !== "script" ? y.as : void 0,
737
737
  crossOrigin: k,
738
- integrity: typeof x.integrity == "string" ? x.integrity : void 0
738
+ integrity: typeof y.integrity == "string" ? y.integrity : void 0
739
739
  });
740
- } else f.d.m(O);
741
- }, se.requestFormReset = function(O) {
742
- f.d.r(O);
743
- }, se.unstable_batchedUpdates = function(O, x) {
744
- return O(x);
745
- }, se.useFormState = function(O, x, k) {
746
- return Y.H.useFormState(O, x, k);
740
+ } else f.d.m(T);
741
+ }, se.requestFormReset = function(T) {
742
+ f.d.r(T);
743
+ }, se.unstable_batchedUpdates = function(T, y) {
744
+ return T(y);
745
+ }, se.useFormState = function(T, y, k) {
746
+ return Y.H.useFormState(T, y, k);
747
747
  }, se.useFormStatus = function() {
748
748
  return Y.H.useHostTransitionStatus();
749
749
  }, se.version = "19.2.8", se;
@@ -804,11 +804,11 @@ function J0() {
804
804
  }
805
805
  return null;
806
806
  }
807
- function O(t) {
807
+ function T(t) {
808
808
  if (z(t) !== t)
809
809
  throw Error(f(188));
810
810
  }
811
- function x(t) {
811
+ function y(t) {
812
812
  var e = t.alternate;
813
813
  if (!e) {
814
814
  if (e = z(t), e === null) throw Error(f(188));
@@ -827,8 +827,8 @@ function J0() {
827
827
  }
828
828
  if (l.child === i.child) {
829
829
  for (i = l.child; i; ) {
830
- if (i === a) return O(l), t;
831
- if (i === n) return O(l), e;
830
+ if (i === a) return T(l), t;
831
+ if (i === n) return T(l), e;
832
832
  i = i.sibling;
833
833
  }
834
834
  throw Error(f(188));
@@ -1006,14 +1006,14 @@ function J0() {
1006
1006
  try {
1007
1007
  Reflect.construct(D, []);
1008
1008
  } catch (w) {
1009
- var y = w;
1009
+ var x = w;
1010
1010
  }
1011
1011
  Reflect.construct(t, [], D);
1012
1012
  } else {
1013
1013
  try {
1014
1014
  D.call();
1015
1015
  } catch (w) {
1016
- y = w;
1016
+ x = w;
1017
1017
  }
1018
1018
  t.call(D.prototype);
1019
1019
  }
@@ -1021,14 +1021,14 @@ function J0() {
1021
1021
  try {
1022
1022
  throw Error();
1023
1023
  } catch (w) {
1024
- y = w;
1024
+ x = w;
1025
1025
  }
1026
1026
  (D = t()) && typeof D.catch == "function" && D.catch(function() {
1027
1027
  });
1028
1028
  }
1029
1029
  } catch (w) {
1030
- if (w && y && typeof w.stack == "string")
1031
- return [w.stack, y.stack];
1030
+ if (w && x && typeof w.stack == "string")
1031
+ return [w.stack, x.stack];
1032
1032
  }
1033
1033
  return [null, null];
1034
1034
  }
@@ -1251,10 +1251,10 @@ Error generating stack: ` + n.message + `
1251
1251
  for (a = c & ~a; 0 < a; ) {
1252
1252
  var N = 31 - Me(a), D = 1 << N;
1253
1253
  r[N] = 0, d[N] = -1;
1254
- var y = v[N];
1255
- if (y !== null)
1256
- for (v[N] = null, N = 0; N < y.length; N++) {
1257
- var w = y[N];
1254
+ var x = v[N];
1255
+ if (x !== null)
1256
+ for (v[N] = null, N = 0; N < x.length; N++) {
1257
+ var w = x[N];
1258
1258
  w !== null && (w.lane &= -536870913);
1259
1259
  }
1260
1260
  a &= ~D;
@@ -2861,16 +2861,16 @@ Error generating stack: ` + n.message + `
2861
2861
  function c(b) {
2862
2862
  return t && b.alternate === null && (b.flags |= 67108866), b;
2863
2863
  }
2864
- function r(b, g, h, T) {
2865
- return g === null || g.tag !== 6 ? (g = Zc(h, b.mode, T), g.return = b, g) : (g = l(g, h), g.return = b, g);
2864
+ function r(b, g, h, O) {
2865
+ return g === null || g.tag !== 6 ? (g = Zc(h, b.mode, O), g.return = b, g) : (g = l(g, h), g.return = b, g);
2866
2866
  }
2867
- function d(b, g, h, T) {
2867
+ function d(b, g, h, O) {
2868
2868
  var V = h.type;
2869
2869
  return V === ut ? N(
2870
2870
  b,
2871
2871
  g,
2872
2872
  h.props.children,
2873
- T,
2873
+ O,
2874
2874
  h.key
2875
2875
  ) : g !== null && (g.elementType === V || typeof V == "object" && V !== null && V.$$typeof === Zt && Va(V) === g.type) ? (g = l(g, h.props), ol(g, h), g.return = b, g) : (g = ci(
2876
2876
  h.type,
@@ -2878,17 +2878,17 @@ Error generating stack: ` + n.message + `
2878
2878
  h.props,
2879
2879
  null,
2880
2880
  b.mode,
2881
- T
2881
+ O
2882
2882
  ), ol(g, h), g.return = b, g);
2883
2883
  }
2884
- function v(b, g, h, T) {
2885
- return g === null || g.tag !== 4 || g.stateNode.containerInfo !== h.containerInfo || g.stateNode.implementation !== h.implementation ? (g = Hc(h, b.mode, T), g.return = b, g) : (g = l(g, h.children || []), g.return = b, g);
2884
+ function v(b, g, h, O) {
2885
+ return g === null || g.tag !== 4 || g.stateNode.containerInfo !== h.containerInfo || g.stateNode.implementation !== h.implementation ? (g = Hc(h, b.mode, O), g.return = b, g) : (g = l(g, h.children || []), g.return = b, g);
2886
2886
  }
2887
- function N(b, g, h, T, V) {
2887
+ function N(b, g, h, O, V) {
2888
2888
  return g === null || g.tag !== 7 ? (g = Ra(
2889
2889
  h,
2890
2890
  b.mode,
2891
- T,
2891
+ O,
2892
2892
  V
2893
2893
  ), g.return = b, g) : (g = l(g, h), g.return = b, g);
2894
2894
  }
@@ -2938,91 +2938,91 @@ Error generating stack: ` + n.message + `
2938
2938
  }
2939
2939
  return null;
2940
2940
  }
2941
- function y(b, g, h, T) {
2941
+ function x(b, g, h, O) {
2942
2942
  var V = g !== null ? g.key : null;
2943
2943
  if (typeof h == "string" && h !== "" || typeof h == "number" || typeof h == "bigint")
2944
- return V !== null ? null : r(b, g, "" + h, T);
2944
+ return V !== null ? null : r(b, g, "" + h, O);
2945
2945
  if (typeof h == "object" && h !== null) {
2946
2946
  switch (h.$$typeof) {
2947
2947
  case I:
2948
- return h.key === V ? d(b, g, h, T) : null;
2948
+ return h.key === V ? d(b, g, h, O) : null;
2949
2949
  case P:
2950
- return h.key === V ? v(b, g, h, T) : null;
2950
+ return h.key === V ? v(b, g, h, O) : null;
2951
2951
  case Zt:
2952
- return h = Va(h), y(b, g, h, T);
2952
+ return h = Va(h), x(b, g, h, O);
2953
2953
  }
2954
2954
  if (kt(h) || C(h))
2955
- return V !== null ? null : N(b, g, h, T, null);
2955
+ return V !== null ? null : N(b, g, h, O, null);
2956
2956
  if (typeof h.then == "function")
2957
- return y(
2957
+ return x(
2958
2958
  b,
2959
2959
  g,
2960
2960
  mi(h),
2961
- T
2961
+ O
2962
2962
  );
2963
2963
  if (h.$$typeof === F)
2964
- return y(
2964
+ return x(
2965
2965
  b,
2966
2966
  g,
2967
2967
  si(b, h),
2968
- T
2968
+ O
2969
2969
  );
2970
2970
  gi(b, h);
2971
2971
  }
2972
2972
  return null;
2973
2973
  }
2974
- function w(b, g, h, T, V) {
2975
- if (typeof T == "string" && T !== "" || typeof T == "number" || typeof T == "bigint")
2976
- return b = b.get(h) || null, r(g, b, "" + T, V);
2977
- if (typeof T == "object" && T !== null) {
2978
- switch (T.$$typeof) {
2974
+ function w(b, g, h, O, V) {
2975
+ if (typeof O == "string" && O !== "" || typeof O == "number" || typeof O == "bigint")
2976
+ return b = b.get(h) || null, r(g, b, "" + O, V);
2977
+ if (typeof O == "object" && O !== null) {
2978
+ switch (O.$$typeof) {
2979
2979
  case I:
2980
2980
  return b = b.get(
2981
- T.key === null ? h : T.key
2982
- ) || null, d(g, b, T, V);
2981
+ O.key === null ? h : O.key
2982
+ ) || null, d(g, b, O, V);
2983
2983
  case P:
2984
2984
  return b = b.get(
2985
- T.key === null ? h : T.key
2986
- ) || null, v(g, b, T, V);
2985
+ O.key === null ? h : O.key
2986
+ ) || null, v(g, b, O, V);
2987
2987
  case Zt:
2988
- return T = Va(T), w(
2988
+ return O = Va(O), w(
2989
2989
  b,
2990
2990
  g,
2991
2991
  h,
2992
- T,
2992
+ O,
2993
2993
  V
2994
2994
  );
2995
2995
  }
2996
- if (kt(T) || C(T))
2997
- return b = b.get(h) || null, N(g, b, T, V, null);
2998
- if (typeof T.then == "function")
2996
+ if (kt(O) || C(O))
2997
+ return b = b.get(h) || null, N(g, b, O, V, null);
2998
+ if (typeof O.then == "function")
2999
2999
  return w(
3000
3000
  b,
3001
3001
  g,
3002
3002
  h,
3003
- mi(T),
3003
+ mi(O),
3004
3004
  V
3005
3005
  );
3006
- if (T.$$typeof === F)
3006
+ if (O.$$typeof === F)
3007
3007
  return w(
3008
3008
  b,
3009
3009
  g,
3010
3010
  h,
3011
- si(g, T),
3011
+ si(g, O),
3012
3012
  V
3013
3013
  );
3014
- gi(g, T);
3014
+ gi(g, O);
3015
3015
  }
3016
3016
  return null;
3017
3017
  }
3018
- function Q(b, g, h, T) {
3018
+ function Q(b, g, h, O) {
3019
3019
  for (var V = null, Nt = null, R = g, rt = g = 0, yt = null; R !== null && rt < h.length; rt++) {
3020
3020
  R.index > rt ? (yt = R, R = null) : yt = R.sibling;
3021
- var zt = y(
3021
+ var zt = x(
3022
3022
  b,
3023
3023
  R,
3024
3024
  h[rt],
3025
- T
3025
+ O
3026
3026
  );
3027
3027
  if (zt === null) {
3028
3028
  R === null && (R = yt);
@@ -3034,7 +3034,7 @@ Error generating stack: ` + n.message + `
3034
3034
  return a(b, R), xt && Pe(b, rt), V;
3035
3035
  if (R === null) {
3036
3036
  for (; rt < h.length; rt++)
3037
- R = D(b, h[rt], T), R !== null && (g = i(
3037
+ R = D(b, h[rt], O), R !== null && (g = i(
3038
3038
  R,
3039
3039
  g,
3040
3040
  rt
@@ -3047,7 +3047,7 @@ Error generating stack: ` + n.message + `
3047
3047
  b,
3048
3048
  rt,
3049
3049
  h[rt],
3050
- T
3050
+ O
3051
3051
  ), yt !== null && (t && yt.alternate !== null && R.delete(
3052
3052
  yt.key === null ? rt : yt.key
3053
3053
  ), g = i(
@@ -3059,11 +3059,11 @@ Error generating stack: ` + n.message + `
3059
3059
  return e(b, Za);
3060
3060
  }), xt && Pe(b, rt), V;
3061
3061
  }
3062
- function _(b, g, h, T) {
3062
+ function _(b, g, h, O) {
3063
3063
  if (h == null) throw Error(f(151));
3064
3064
  for (var V = null, Nt = null, R = g, rt = g = 0, yt = null, zt = h.next(); R !== null && !zt.done; rt++, zt = h.next()) {
3065
3065
  R.index > rt ? (yt = R, R = null) : yt = R.sibling;
3066
- var Za = y(b, R, zt.value, T);
3066
+ var Za = x(b, R, zt.value, O);
3067
3067
  if (Za === null) {
3068
3068
  R === null && (R = yt);
3069
3069
  break;
@@ -3074,16 +3074,16 @@ Error generating stack: ` + n.message + `
3074
3074
  return a(b, R), xt && Pe(b, rt), V;
3075
3075
  if (R === null) {
3076
3076
  for (; !zt.done; rt++, zt = h.next())
3077
- zt = D(b, zt.value, T), zt !== null && (g = i(zt, g, rt), Nt === null ? V = zt : Nt.sibling = zt, Nt = zt);
3077
+ zt = D(b, zt.value, O), zt !== null && (g = i(zt, g, rt), Nt === null ? V = zt : Nt.sibling = zt, Nt = zt);
3078
3078
  return xt && Pe(b, rt), V;
3079
3079
  }
3080
3080
  for (R = n(R); !zt.done; rt++, zt = h.next())
3081
- zt = w(R, b, rt, zt.value, T), zt !== null && (t && zt.alternate !== null && R.delete(zt.key === null ? rt : zt.key), g = i(zt, g, rt), Nt === null ? V = zt : Nt.sibling = zt, Nt = zt);
3081
+ zt = w(R, b, rt, zt.value, O), zt !== null && (t && zt.alternate !== null && R.delete(zt.key === null ? rt : zt.key), g = i(zt, g, rt), Nt === null ? V = zt : Nt.sibling = zt, Nt = zt);
3082
3082
  return t && R.forEach(function(k0) {
3083
3083
  return e(b, k0);
3084
3084
  }), xt && Pe(b, rt), V;
3085
3085
  }
3086
- function Bt(b, g, h, T) {
3086
+ function Bt(b, g, h, O) {
3087
3087
  if (typeof h == "object" && h !== null && h.type === ut && h.key === null && (h = h.props.children), typeof h == "object" && h !== null) {
3088
3088
  switch (h.$$typeof) {
3089
3089
  case I:
@@ -3095,17 +3095,17 @@ Error generating stack: ` + n.message + `
3095
3095
  a(
3096
3096
  b,
3097
3097
  g.sibling
3098
- ), T = l(
3098
+ ), O = l(
3099
3099
  g,
3100
3100
  h.props.children
3101
- ), T.return = b, b = T;
3101
+ ), O.return = b, b = O;
3102
3102
  break t;
3103
3103
  }
3104
3104
  } else if (g.elementType === V || typeof V == "object" && V !== null && V.$$typeof === Zt && Va(V) === g.type) {
3105
3105
  a(
3106
3106
  b,
3107
3107
  g.sibling
3108
- ), T = l(g, h.props), ol(T, h), T.return = b, b = T;
3108
+ ), O = l(g, h.props), ol(O, h), O.return = b, b = O;
3109
3109
  break t;
3110
3110
  }
3111
3111
  a(b, g);
@@ -3113,19 +3113,19 @@ Error generating stack: ` + n.message + `
3113
3113
  } else e(b, g);
3114
3114
  g = g.sibling;
3115
3115
  }
3116
- h.type === ut ? (T = Ra(
3116
+ h.type === ut ? (O = Ra(
3117
3117
  h.props.children,
3118
3118
  b.mode,
3119
- T,
3119
+ O,
3120
3120
  h.key
3121
- ), T.return = b, b = T) : (T = ci(
3121
+ ), O.return = b, b = O) : (O = ci(
3122
3122
  h.type,
3123
3123
  h.key,
3124
3124
  h.props,
3125
3125
  null,
3126
3126
  b.mode,
3127
- T
3128
- ), ol(T, h), T.return = b, b = T);
3127
+ O
3128
+ ), ol(O, h), O.return = b, b = O);
3129
3129
  }
3130
3130
  return c(b);
3131
3131
  case P:
@@ -3136,7 +3136,7 @@ Error generating stack: ` + n.message + `
3136
3136
  a(
3137
3137
  b,
3138
3138
  g.sibling
3139
- ), T = l(g, h.children || []), T.return = b, b = T;
3139
+ ), O = l(g, h.children || []), O.return = b, b = O;
3140
3140
  break t;
3141
3141
  } else {
3142
3142
  a(b, g);
@@ -3145,7 +3145,7 @@ Error generating stack: ` + n.message + `
3145
3145
  else e(b, g);
3146
3146
  g = g.sibling;
3147
3147
  }
3148
- T = Hc(h, b.mode, T), T.return = b, b = T;
3148
+ O = Hc(h, b.mode, O), O.return = b, b = O;
3149
3149
  }
3150
3150
  return c(b);
3151
3151
  case Zt:
@@ -3153,7 +3153,7 @@ Error generating stack: ` + n.message + `
3153
3153
  b,
3154
3154
  g,
3155
3155
  h,
3156
- T
3156
+ O
3157
3157
  );
3158
3158
  }
3159
3159
  if (kt(h))
@@ -3161,7 +3161,7 @@ Error generating stack: ` + n.message + `
3161
3161
  b,
3162
3162
  g,
3163
3163
  h,
3164
- T
3164
+ O
3165
3165
  );
3166
3166
  if (C(h)) {
3167
3167
  if (V = C(h), typeof V != "function") throw Error(f(150));
@@ -3169,7 +3169,7 @@ Error generating stack: ` + n.message + `
3169
3169
  b,
3170
3170
  g,
3171
3171
  h,
3172
- T
3172
+ O
3173
3173
  );
3174
3174
  }
3175
3175
  if (typeof h.then == "function")
@@ -3177,33 +3177,33 @@ Error generating stack: ` + n.message + `
3177
3177
  b,
3178
3178
  g,
3179
3179
  mi(h),
3180
- T
3180
+ O
3181
3181
  );
3182
3182
  if (h.$$typeof === F)
3183
3183
  return Bt(
3184
3184
  b,
3185
3185
  g,
3186
3186
  si(b, h),
3187
- T
3187
+ O
3188
3188
  );
3189
3189
  gi(b, h);
3190
3190
  }
3191
- return typeof h == "string" && h !== "" || typeof h == "number" || typeof h == "bigint" ? (h = "" + h, g !== null && g.tag === 6 ? (a(b, g.sibling), T = l(g, h), T.return = b, b = T) : (a(b, g), T = Zc(h, b.mode, T), T.return = b, b = T), c(b)) : a(b, g);
3191
+ return typeof h == "string" && h !== "" || typeof h == "number" || typeof h == "bigint" ? (h = "" + h, g !== null && g.tag === 6 ? (a(b, g.sibling), O = l(g, h), O.return = b, b = O) : (a(b, g), O = Zc(h, b.mode, O), O.return = b, b = O), c(b)) : a(b, g);
3192
3192
  }
3193
- return function(b, g, h, T) {
3193
+ return function(b, g, h, O) {
3194
3194
  try {
3195
3195
  sl = 0;
3196
3196
  var V = Bt(
3197
3197
  b,
3198
3198
  g,
3199
3199
  h,
3200
- T
3200
+ O
3201
3201
  );
3202
3202
  return zn = null, V;
3203
3203
  } catch (R) {
3204
3204
  if (R === Nn || R === fi) throw R;
3205
3205
  var Nt = ze(29, R, null, b.mode);
3206
- return Nt.lanes = T, Nt.return = b, Nt;
3206
+ return Nt.lanes = O, Nt.return = b, Nt;
3207
3207
  }
3208
3208
  };
3209
3209
  }
@@ -3295,9 +3295,9 @@ Error generating stack: ` + n.message + `
3295
3295
  var D = l.baseState;
3296
3296
  c = 0, N = v = d = null, r = i;
3297
3297
  do {
3298
- var y = r.lane & -536870913, w = y !== r.lane;
3299
- if (w ? (vt & y) === y : (n & y) === y) {
3300
- y !== 0 && y === wn && (_c = !0), N !== null && (N = N.next = {
3298
+ var x = r.lane & -536870913, w = x !== r.lane;
3299
+ if (w ? (vt & x) === x : (n & x) === x) {
3300
+ x !== 0 && x === wn && (_c = !0), N !== null && (N = N.next = {
3301
3301
  lane: 0,
3302
3302
  tag: r.tag,
3303
3303
  payload: r.payload,
@@ -3306,12 +3306,12 @@ Error generating stack: ` + n.message + `
3306
3306
  });
3307
3307
  t: {
3308
3308
  var Q = t, _ = r;
3309
- y = e;
3309
+ x = e;
3310
3310
  var Bt = a;
3311
3311
  switch (_.tag) {
3312
3312
  case 1:
3313
3313
  if (Q = _.payload, typeof Q == "function") {
3314
- D = Q.call(Bt, D, y);
3314
+ D = Q.call(Bt, D, x);
3315
3315
  break t;
3316
3316
  }
3317
3317
  D = Q;
@@ -3319,22 +3319,22 @@ Error generating stack: ` + n.message + `
3319
3319
  case 3:
3320
3320
  Q.flags = Q.flags & -65537 | 128;
3321
3321
  case 0:
3322
- if (Q = _.payload, y = typeof Q == "function" ? Q.call(Bt, D, y) : Q, y == null) break t;
3323
- D = E({}, D, y);
3322
+ if (Q = _.payload, x = typeof Q == "function" ? Q.call(Bt, D, x) : Q, x == null) break t;
3323
+ D = E({}, D, x);
3324
3324
  break t;
3325
3325
  case 2:
3326
3326
  ya = !0;
3327
3327
  }
3328
3328
  }
3329
- y = r.callback, y !== null && (t.flags |= 64, w && (t.flags |= 8192), w = l.callbacks, w === null ? l.callbacks = [y] : w.push(y));
3329
+ x = r.callback, x !== null && (t.flags |= 64, w && (t.flags |= 8192), w = l.callbacks, w === null ? l.callbacks = [x] : w.push(x));
3330
3330
  } else
3331
3331
  w = {
3332
- lane: y,
3332
+ lane: x,
3333
3333
  tag: r.tag,
3334
3334
  payload: r.payload,
3335
3335
  callback: r.callback,
3336
3336
  next: null
3337
- }, N === null ? (v = N = w, d = D) : N = N.next = w, c |= y;
3337
+ }, N === null ? (v = N = w, d = D) : N = N.next = w, c |= x;
3338
3338
  if (r = r.next, r === null) {
3339
3339
  if (r = l.shared.pending, r === null)
3340
3340
  break;
@@ -3549,8 +3549,8 @@ Error generating stack: ` + n.message + `
3549
3549
  do {
3550
3550
  var D = v.lane & -536870913;
3551
3551
  if (D !== v.lane ? (vt & D) === D : (ta & D) === D) {
3552
- var y = v.revertLane;
3553
- if (y === 0)
3552
+ var x = v.revertLane;
3553
+ if (x === 0)
3554
3554
  d !== null && (d = d.next = {
3555
3555
  lane: 0,
3556
3556
  revertLane: 0,
@@ -3560,8 +3560,8 @@ Error generating stack: ` + n.message + `
3560
3560
  eagerState: v.eagerState,
3561
3561
  next: null
3562
3562
  }), D === wn && (N = !0);
3563
- else if ((ta & y) === y) {
3564
- v = v.next, y === wn && (N = !0);
3563
+ else if ((ta & x) === x) {
3564
+ v = v.next, x === wn && (N = !0);
3565
3565
  continue;
3566
3566
  } else
3567
3567
  D = {
@@ -3572,10 +3572,10 @@ Error generating stack: ` + n.message + `
3572
3572
  hasEagerState: v.hasEagerState,
3573
3573
  eagerState: v.eagerState,
3574
3574
  next: null
3575
- }, d === null ? (r = d = D, c = i) : d = d.next = D, ct.lanes |= y, Oa |= y;
3575
+ }, d === null ? (r = d = D, c = i) : d = d.next = D, ct.lanes |= x, Oa |= x;
3576
3576
  D = v.action, _a && a(i, D), i = v.hasEagerState ? v.eagerState : a(i, D);
3577
3577
  } else
3578
- y = {
3578
+ x = {
3579
3579
  lane: D,
3580
3580
  revertLane: v.revertLane,
3581
3581
  gesture: v.gesture,
@@ -3583,7 +3583,7 @@ Error generating stack: ` + n.message + `
3583
3583
  hasEagerState: v.hasEagerState,
3584
3584
  eagerState: v.eagerState,
3585
3585
  next: null
3586
- }, d === null ? (r = d = y, c = i) : d = d.next = y, ct.lanes |= D, Oa |= D;
3586
+ }, d === null ? (r = d = x, c = i) : d = d.next = x, ct.lanes |= D, Oa |= D;
3587
3587
  v = v.next;
3588
3588
  } while (v !== null && v !== e);
3589
3589
  if (d === null ? c = i : d.next = r, !Ne(i, t.memoizedState) && (Vt = !0, N && (a = Mn, a !== null)))
@@ -4808,8 +4808,8 @@ Error generating stack: ` + n.message + `
4808
4808
  n,
4809
4809
  c
4810
4810
  ), ya = !1;
4811
- var y = e.memoizedState;
4812
- i.state = y, ml(e, n, i, l), dl(), v = e.memoizedState, r || y !== v || ya ? (typeof D == "function" && (yu(
4811
+ var x = e.memoizedState;
4812
+ i.state = x, ml(e, n, i, l), dl(), v = e.memoizedState, r || x !== v || ya ? (typeof D == "function" && (yu(
4813
4813
  e,
4814
4814
  a,
4815
4815
  D,
@@ -4819,19 +4819,19 @@ Error generating stack: ` + n.message + `
4819
4819
  a,
4820
4820
  d,
4821
4821
  n,
4822
- y,
4822
+ x,
4823
4823
  v,
4824
4824
  c
4825
4825
  )) ? (N || typeof i.UNSAFE_componentWillMount != "function" && typeof i.componentWillMount != "function" || (typeof i.componentWillMount == "function" && i.componentWillMount(), typeof i.UNSAFE_componentWillMount == "function" && i.UNSAFE_componentWillMount()), typeof i.componentDidMount == "function" && (e.flags |= 4194308)) : (typeof i.componentDidMount == "function" && (e.flags |= 4194308), e.memoizedProps = n, e.memoizedState = v), i.props = n, i.state = v, i.context = c, n = d) : (typeof i.componentDidMount == "function" && (e.flags |= 4194308), n = !1);
4826
4826
  } else {
4827
- i = e.stateNode, Ic(t, e), c = e.memoizedProps, N = $a(a, c), i.props = N, D = e.pendingProps, y = i.context, v = a.contextType, d = bn, typeof v == "object" && v !== null && (d = ie(v)), r = a.getDerivedStateFromProps, (v = typeof r == "function" || typeof i.getSnapshotBeforeUpdate == "function") || typeof i.UNSAFE_componentWillReceiveProps != "function" && typeof i.componentWillReceiveProps != "function" || (c !== D || y !== d) && ko(
4827
+ i = e.stateNode, Ic(t, e), c = e.memoizedProps, N = $a(a, c), i.props = N, D = e.pendingProps, x = i.context, v = a.contextType, d = bn, typeof v == "object" && v !== null && (d = ie(v)), r = a.getDerivedStateFromProps, (v = typeof r == "function" || typeof i.getSnapshotBeforeUpdate == "function") || typeof i.UNSAFE_componentWillReceiveProps != "function" && typeof i.componentWillReceiveProps != "function" || (c !== D || x !== d) && ko(
4828
4828
  e,
4829
4829
  i,
4830
4830
  n,
4831
4831
  d
4832
- ), ya = !1, y = e.memoizedState, i.state = y, ml(e, n, i, l), dl();
4832
+ ), ya = !1, x = e.memoizedState, i.state = x, ml(e, n, i, l), dl();
4833
4833
  var w = e.memoizedState;
4834
- c !== D || y !== w || ya || t !== null && t.dependencies !== null && ri(t.dependencies) ? (typeof r == "function" && (yu(
4834
+ c !== D || x !== w || ya || t !== null && t.dependencies !== null && ri(t.dependencies) ? (typeof r == "function" && (yu(
4835
4835
  e,
4836
4836
  a,
4837
4837
  r,
@@ -4841,14 +4841,14 @@ Error generating stack: ` + n.message + `
4841
4841
  a,
4842
4842
  N,
4843
4843
  n,
4844
- y,
4844
+ x,
4845
4845
  w,
4846
4846
  d
4847
4847
  ) || t !== null && t.dependencies !== null && ri(t.dependencies)) ? (v || typeof i.UNSAFE_componentWillUpdate != "function" && typeof i.componentWillUpdate != "function" || (typeof i.componentWillUpdate == "function" && i.componentWillUpdate(n, w, d), typeof i.UNSAFE_componentWillUpdate == "function" && i.UNSAFE_componentWillUpdate(
4848
4848
  n,
4849
4849
  w,
4850
4850
  d
4851
- )), typeof i.componentDidUpdate == "function" && (e.flags |= 4), typeof i.getSnapshotBeforeUpdate == "function" && (e.flags |= 1024)) : (typeof i.componentDidUpdate != "function" || c === t.memoizedProps && y === t.memoizedState || (e.flags |= 4), typeof i.getSnapshotBeforeUpdate != "function" || c === t.memoizedProps && y === t.memoizedState || (e.flags |= 1024), e.memoizedProps = n, e.memoizedState = w), i.props = n, i.state = w, i.context = d, n = N) : (typeof i.componentDidUpdate != "function" || c === t.memoizedProps && y === t.memoizedState || (e.flags |= 4), typeof i.getSnapshotBeforeUpdate != "function" || c === t.memoizedProps && y === t.memoizedState || (e.flags |= 1024), n = !1);
4851
+ )), typeof i.componentDidUpdate == "function" && (e.flags |= 4), typeof i.getSnapshotBeforeUpdate == "function" && (e.flags |= 1024)) : (typeof i.componentDidUpdate != "function" || c === t.memoizedProps && x === t.memoizedState || (e.flags |= 4), typeof i.getSnapshotBeforeUpdate != "function" || c === t.memoizedProps && x === t.memoizedState || (e.flags |= 1024), e.memoizedProps = n, e.memoizedState = w), i.props = n, i.state = w, i.context = d, n = N) : (typeof i.componentDidUpdate != "function" || c === t.memoizedProps && x === t.memoizedState || (e.flags |= 4), typeof i.getSnapshotBeforeUpdate != "function" || c === t.memoizedProps && x === t.memoizedState || (e.flags |= 1024), n = !1);
4852
4852
  }
4853
4853
  return i = n, Di(t, e), n = (e.flags & 128) !== 0, i || n ? (i = e.stateNode, a = n && typeof a.getDerivedStateFromError != "function" ? null : i.render(), e.flags |= 1, t !== null && n ? (e.child = Pa(
4854
4854
  e,
@@ -6009,14 +6009,14 @@ Error generating stack: ` + n.message + `
6009
6009
  a = null;
6010
6010
  break t;
6011
6011
  }
6012
- var c = 0, r = -1, d = -1, v = 0, N = 0, D = t, y = null;
6012
+ var c = 0, r = -1, d = -1, v = 0, N = 0, D = t, x = null;
6013
6013
  e: for (; ; ) {
6014
6014
  for (var w; D !== a || l !== 0 && D.nodeType !== 3 || (r = c + l), D !== i || n !== 0 && D.nodeType !== 3 || (d = c + n), D.nodeType === 3 && (c += D.nodeValue.length), (w = D.firstChild) !== null; )
6015
- y = D, D = w;
6015
+ x = D, D = w;
6016
6016
  for (; ; ) {
6017
6017
  if (D === t) break e;
6018
- if (y === a && ++v === l && (r = c), y === i && ++N === n && (d = c), (w = D.nextSibling) !== null) break;
6019
- D = y, y = D.parentNode;
6018
+ if (x === a && ++v === l && (r = c), x === i && ++N === n && (d = c), (w = D.nextSibling) !== null) break;
6019
+ D = x, x = D.parentNode;
6020
6020
  }
6021
6021
  D = w;
6022
6022
  }
@@ -6534,8 +6534,8 @@ Error generating stack: ` + n.message + `
6534
6534
  c = i.style, typeof c.setProperty == "function" ? c.setProperty("display", "none", "important") : c.display = "none";
6535
6535
  else {
6536
6536
  r = d.stateNode;
6537
- var D = d.memoizedProps.style, y = D != null && D.hasOwnProperty("display") ? D.display : null;
6538
- r.style.display = y == null || typeof y == "boolean" ? "" : ("" + y).trim();
6537
+ var D = d.memoizedProps.style, x = D != null && D.hasOwnProperty("display") ? D.display : null;
6538
+ r.style.display = x == null || typeof x == "boolean" ? "" : ("" + x).trim();
6539
6539
  }
6540
6540
  } catch (Q) {
6541
6541
  St(d, d.return, Q);
@@ -7294,7 +7294,7 @@ Error generating stack: ` + n.message + `
7294
7294
  } while (!0);
7295
7295
  Je(t);
7296
7296
  }
7297
- function jf(t, e, a, n, l, i, c, r, d, v, N, D, y, w) {
7297
+ function jf(t, e, a, n, l, i, c, r, d, v, N, D, x, w) {
7298
7298
  if (t.timeoutHandle = -1, D = e.subtreeFlags, D & 8192 || (D & 16785408) === 16785408) {
7299
7299
  D = {
7300
7300
  stylesheets: null,
@@ -7330,7 +7330,7 @@ Error generating stack: ` + n.message + `
7330
7330
  N,
7331
7331
  D,
7332
7332
  null,
7333
- y,
7333
+ x,
7334
7334
  w
7335
7335
  )
7336
7336
  ), Sa(t, i, c, !v);
@@ -7711,9 +7711,9 @@ Error generating stack: ` + n.message + `
7711
7711
  r.value.length
7712
7712
  );
7713
7713
  else {
7714
- var D = r.ownerDocument || document, y = D && D.defaultView || window;
7715
- if (y.getSelection) {
7716
- var w = y.getSelection(), Q = r.textContent.length, _ = Math.min(d.start, Q), Bt = d.end === void 0 ? _ : Math.min(d.end, Q);
7714
+ var D = r.ownerDocument || document, x = D && D.defaultView || window;
7715
+ if (x.getSelection) {
7716
+ var w = x.getSelection(), Q = r.textContent.length, _ = Math.min(d.start, Q), Bt = d.end === void 0 ? _ : Math.min(d.end, Q);
7717
7717
  !w.extend && _ > Bt && (c = Bt, Bt = _, _ = c);
7718
7718
  var b = ws(
7719
7719
  r,
@@ -7736,8 +7736,8 @@ Error generating stack: ` + n.message + `
7736
7736
  top: w.scrollTop
7737
7737
  });
7738
7738
  for (typeof r.focus == "function" && r.focus(), r = 0; r < D.length; r++) {
7739
- var T = D[r];
7740
- T.element.scrollLeft = T.left, T.element.scrollTop = T.top;
7739
+ var O = D[r];
7740
+ O.element.scrollLeft = O.left, O.element.scrollTop = O.top;
7741
7741
  }
7742
7742
  }
7743
7743
  Pi = !!ar, nr = ar = null;
@@ -8216,8 +8216,8 @@ Error generating stack: ` + n.message + `
8216
8216
  as(function() {
8217
8217
  var v = i, N = hc(a), D = [];
8218
8218
  t: {
8219
- var y = js.get(t);
8220
- if (y !== void 0) {
8219
+ var x = js.get(t);
8220
+ if (x !== void 0) {
8221
8221
  var w = $l, Q = t;
8222
8222
  switch (t) {
8223
8223
  case "keypress":
@@ -8298,52 +8298,52 @@ Error generating stack: ` + n.message + `
8298
8298
  case "beforetoggle":
8299
8299
  w = ug;
8300
8300
  }
8301
- var _ = (e & 4) !== 0, Bt = !_ && (t === "scroll" || t === "scrollend"), b = _ ? y !== null ? y + "Capture" : null : y;
8301
+ var _ = (e & 4) !== 0, Bt = !_ && (t === "scroll" || t === "scrollend"), b = _ ? x !== null ? x + "Capture" : null : x;
8302
8302
  _ = [];
8303
8303
  for (var g = v, h; g !== null; ) {
8304
- var T = g;
8305
- if (h = T.stateNode, T = T.tag, T !== 5 && T !== 26 && T !== 27 || h === null || b === null || (T = In(g, b), T != null && _.push(
8306
- Sl(g, T, h)
8304
+ var O = g;
8305
+ if (h = O.stateNode, O = O.tag, O !== 5 && O !== 26 && O !== 27 || h === null || b === null || (O = In(g, b), O != null && _.push(
8306
+ Sl(g, O, h)
8307
8307
  )), Bt) break;
8308
8308
  g = g.return;
8309
8309
  }
8310
- 0 < _.length && (y = new w(
8311
- y,
8310
+ 0 < _.length && (x = new w(
8311
+ x,
8312
8312
  Q,
8313
8313
  null,
8314
8314
  a,
8315
8315
  N
8316
- ), D.push({ event: y, listeners: _ }));
8316
+ ), D.push({ event: x, listeners: _ }));
8317
8317
  }
8318
8318
  }
8319
8319
  if ((e & 7) === 0) {
8320
8320
  t: {
8321
- if (y = t === "mouseover" || t === "pointerover", w = t === "mouseout" || t === "pointerout", y && a !== bc && (Q = a.relatedTarget || a.fromElement) && (nn(Q) || Q[an]))
8321
+ if (x = t === "mouseover" || t === "pointerover", w = t === "mouseout" || t === "pointerout", x && a !== bc && (Q = a.relatedTarget || a.fromElement) && (nn(Q) || Q[an]))
8322
8322
  break t;
8323
- if ((w || y) && (y = N.window === N ? N : (y = N.ownerDocument) ? y.defaultView || y.parentWindow : window, w ? (Q = a.relatedTarget || a.toElement, w = v, Q = Q ? nn(Q) : null, Q !== null && (Bt = z(Q), _ = Q.tag, Q !== Bt || _ !== 5 && _ !== 27 && _ !== 6) && (Q = null)) : (w = null, Q = v), w !== Q)) {
8324
- if (_ = is, T = "onMouseLeave", b = "onMouseEnter", g = "mouse", (t === "pointerout" || t === "pointerover") && (_ = us, T = "onPointerLeave", b = "onPointerEnter", g = "pointer"), Bt = w == null ? y : Vn(w), h = Q == null ? y : Vn(Q), y = new _(
8325
- T,
8323
+ if ((w || x) && (x = N.window === N ? N : (x = N.ownerDocument) ? x.defaultView || x.parentWindow : window, w ? (Q = a.relatedTarget || a.toElement, w = v, Q = Q ? nn(Q) : null, Q !== null && (Bt = z(Q), _ = Q.tag, Q !== Bt || _ !== 5 && _ !== 27 && _ !== 6) && (Q = null)) : (w = null, Q = v), w !== Q)) {
8324
+ if (_ = is, O = "onMouseLeave", b = "onMouseEnter", g = "mouse", (t === "pointerout" || t === "pointerover") && (_ = us, O = "onPointerLeave", b = "onPointerEnter", g = "pointer"), Bt = w == null ? x : Vn(w), h = Q == null ? x : Vn(Q), x = new _(
8325
+ O,
8326
8326
  g + "leave",
8327
8327
  w,
8328
8328
  a,
8329
8329
  N
8330
- ), y.target = Bt, y.relatedTarget = h, T = null, nn(N) === v && (_ = new _(
8330
+ ), x.target = Bt, x.relatedTarget = h, O = null, nn(N) === v && (_ = new _(
8331
8331
  b,
8332
8332
  g + "enter",
8333
8333
  Q,
8334
8334
  a,
8335
8335
  N
8336
- ), _.target = h, _.relatedTarget = Bt, T = _), Bt = T, w && Q)
8336
+ ), _.target = h, _.relatedTarget = Bt, O = _), Bt = O, w && Q)
8337
8337
  e: {
8338
- for (_ = c0, b = w, g = Q, h = 0, T = b; T; T = _(T))
8338
+ for (_ = c0, b = w, g = Q, h = 0, O = b; O; O = _(O))
8339
8339
  h++;
8340
- T = 0;
8340
+ O = 0;
8341
8341
  for (var V = g; V; V = _(V))
8342
- T++;
8343
- for (; 0 < h - T; )
8342
+ O++;
8343
+ for (; 0 < h - O; )
8344
8344
  b = _(b), h--;
8345
- for (; 0 < T - h; )
8346
- g = _(g), T--;
8345
+ for (; 0 < O - h; )
8346
+ g = _(g), O--;
8347
8347
  for (; h--; ) {
8348
8348
  if (b === g || g !== null && b === g.alternate) {
8349
8349
  _ = b;
@@ -8356,7 +8356,7 @@ Error generating stack: ` + n.message + `
8356
8356
  else _ = null;
8357
8357
  w !== null && td(
8358
8358
  D,
8359
- y,
8359
+ x,
8360
8360
  w,
8361
8361
  _,
8362
8362
  !1
@@ -8370,9 +8370,9 @@ Error generating stack: ` + n.message + `
8370
8370
  }
8371
8371
  }
8372
8372
  t: {
8373
- if (y = v ? Vn(v) : window, w = y.nodeName && y.nodeName.toLowerCase(), w === "select" || w === "input" && y.type === "file")
8373
+ if (x = v ? Vn(v) : window, w = x.nodeName && x.nodeName.toLowerCase(), w === "select" || w === "input" && x.type === "file")
8374
8374
  var Nt = ps;
8375
- else if (ms(y))
8375
+ else if (ms(x))
8376
8376
  if (bs)
8377
8377
  Nt = hg;
8378
8378
  else {
@@ -8380,7 +8380,7 @@ Error generating stack: ` + n.message + `
8380
8380
  var R = gg;
8381
8381
  }
8382
8382
  else
8383
- w = y.nodeName, !w || w.toLowerCase() !== "input" || y.type !== "checkbox" && y.type !== "radio" ? v && pc(v.elementType) && (Nt = ps) : Nt = bg;
8383
+ w = x.nodeName, !w || w.toLowerCase() !== "input" || x.type !== "checkbox" && x.type !== "radio" ? v && pc(v.elementType) && (Nt = ps) : Nt = bg;
8384
8384
  if (Nt && (Nt = Nt(t, v))) {
8385
8385
  gs(
8386
8386
  D,
@@ -8390,7 +8390,7 @@ Error generating stack: ` + n.message + `
8390
8390
  );
8391
8391
  break t;
8392
8392
  }
8393
- R && R(t, y, v), t === "focusout" && v && y.type === "number" && v.memoizedProps.value != null && gc(y, "number", y.value);
8393
+ R && R(t, x, v), t === "focusout" && v && x.type === "number" && v.memoizedProps.value != null && gc(x, "number", x.value);
8394
8394
  }
8395
8395
  switch (R = v ? Vn(v) : window, t) {
8396
8396
  case "focusin":
@@ -9014,10 +9014,10 @@ Error generating stack: ` + n.message + `
9014
9014
  n.hasOwnProperty(w) || Yt(t, e, w, null, n, D);
9015
9015
  }
9016
9016
  }
9017
- for (var y in n) {
9018
- var w = n[y];
9019
- if (D = a[y], n.hasOwnProperty(y) && (w != null || D != null))
9020
- switch (y) {
9017
+ for (var x in n) {
9018
+ var w = n[x];
9019
+ if (D = a[x], n.hasOwnProperty(x) && (w != null || D != null))
9020
+ switch (x) {
9021
9021
  case "type":
9022
9022
  i = w;
9023
9023
  break;
@@ -9045,7 +9045,7 @@ Error generating stack: ` + n.message + `
9045
9045
  w !== D && Yt(
9046
9046
  t,
9047
9047
  e,
9048
- y,
9048
+ x,
9049
9049
  w,
9050
9050
  n,
9051
9051
  D
@@ -9064,7 +9064,7 @@ Error generating stack: ` + n.message + `
9064
9064
  );
9065
9065
  return;
9066
9066
  case "select":
9067
- w = c = r = y = null;
9067
+ w = c = r = x = null;
9068
9068
  for (i in a)
9069
9069
  if (d = a[i], a.hasOwnProperty(i) && d != null)
9070
9070
  switch (i) {
@@ -9086,7 +9086,7 @@ Error generating stack: ` + n.message + `
9086
9086
  if (i = n[l], d = a[l], n.hasOwnProperty(l) && (i != null || d != null))
9087
9087
  switch (l) {
9088
9088
  case "value":
9089
- y = i;
9089
+ x = i;
9090
9090
  break;
9091
9091
  case "defaultValue":
9092
9092
  r = i;
@@ -9103,10 +9103,10 @@ Error generating stack: ` + n.message + `
9103
9103
  d
9104
9104
  );
9105
9105
  }
9106
- e = r, a = c, n = w, y != null ? rn(t, !!a, y, !1) : !!n != !!a && (e != null ? rn(t, !!a, e, !0) : rn(t, !!a, a ? [] : "", !1));
9106
+ e = r, a = c, n = w, x != null ? rn(t, !!a, x, !1) : !!n != !!a && (e != null ? rn(t, !!a, e, !0) : rn(t, !!a, a ? [] : "", !1));
9107
9107
  return;
9108
9108
  case "textarea":
9109
- w = y = null;
9109
+ w = x = null;
9110
9110
  for (r in a)
9111
9111
  if (l = a[r], a.hasOwnProperty(r) && l != null && !n.hasOwnProperty(r))
9112
9112
  switch (r) {
@@ -9121,7 +9121,7 @@ Error generating stack: ` + n.message + `
9121
9121
  if (l = n[c], i = a[c], n.hasOwnProperty(c) && (l != null || i != null))
9122
9122
  switch (c) {
9123
9123
  case "value":
9124
- y = l;
9124
+ x = l;
9125
9125
  break;
9126
9126
  case "defaultValue":
9127
9127
  w = l;
@@ -9134,24 +9134,24 @@ Error generating stack: ` + n.message + `
9134
9134
  default:
9135
9135
  l !== i && Yt(t, e, c, l, n, i);
9136
9136
  }
9137
- Pr(t, y, w);
9137
+ Pr(t, x, w);
9138
9138
  return;
9139
9139
  case "option":
9140
9140
  for (var Q in a)
9141
- y = a[Q], a.hasOwnProperty(Q) && y != null && !n.hasOwnProperty(Q) && (Q === "selected" ? t.selected = !1 : Yt(
9141
+ x = a[Q], a.hasOwnProperty(Q) && x != null && !n.hasOwnProperty(Q) && (Q === "selected" ? t.selected = !1 : Yt(
9142
9142
  t,
9143
9143
  e,
9144
9144
  Q,
9145
9145
  null,
9146
9146
  n,
9147
- y
9147
+ x
9148
9148
  ));
9149
9149
  for (d in n)
9150
- y = n[d], w = a[d], n.hasOwnProperty(d) && y !== w && (y != null || w != null) && (d === "selected" ? t.selected = y && typeof y != "function" && typeof y != "symbol" : Yt(
9150
+ x = n[d], w = a[d], n.hasOwnProperty(d) && x !== w && (x != null || w != null) && (d === "selected" ? t.selected = x && typeof x != "function" && typeof x != "symbol" : Yt(
9151
9151
  t,
9152
9152
  e,
9153
9153
  d,
9154
- y,
9154
+ x,
9155
9155
  n,
9156
9156
  w
9157
9157
  ));
@@ -9172,13 +9172,13 @@ Error generating stack: ` + n.message + `
9172
9172
  case "wbr":
9173
9173
  case "menuitem":
9174
9174
  for (var _ in a)
9175
- y = a[_], a.hasOwnProperty(_) && y != null && !n.hasOwnProperty(_) && Yt(t, e, _, null, n, y);
9175
+ x = a[_], a.hasOwnProperty(_) && x != null && !n.hasOwnProperty(_) && Yt(t, e, _, null, n, x);
9176
9176
  for (v in n)
9177
- if (y = n[v], w = a[v], n.hasOwnProperty(v) && y !== w && (y != null || w != null))
9177
+ if (x = n[v], w = a[v], n.hasOwnProperty(v) && x !== w && (x != null || w != null))
9178
9178
  switch (v) {
9179
9179
  case "children":
9180
9180
  case "dangerouslySetInnerHTML":
9181
- if (y != null)
9181
+ if (x != null)
9182
9182
  throw Error(f(137, e));
9183
9183
  break;
9184
9184
  default:
@@ -9186,7 +9186,7 @@ Error generating stack: ` + n.message + `
9186
9186
  t,
9187
9187
  e,
9188
9188
  v,
9189
- y,
9189
+ x,
9190
9190
  n,
9191
9191
  w
9192
9192
  );
@@ -9195,20 +9195,20 @@ Error generating stack: ` + n.message + `
9195
9195
  default:
9196
9196
  if (pc(e)) {
9197
9197
  for (var Bt in a)
9198
- y = a[Bt], a.hasOwnProperty(Bt) && y !== void 0 && !n.hasOwnProperty(Bt) && er(
9198
+ x = a[Bt], a.hasOwnProperty(Bt) && x !== void 0 && !n.hasOwnProperty(Bt) && er(
9199
9199
  t,
9200
9200
  e,
9201
9201
  Bt,
9202
9202
  void 0,
9203
9203
  n,
9204
- y
9204
+ x
9205
9205
  );
9206
9206
  for (N in n)
9207
- y = n[N], w = a[N], !n.hasOwnProperty(N) || y === w || y === void 0 && w === void 0 || er(
9207
+ x = n[N], w = a[N], !n.hasOwnProperty(N) || x === w || x === void 0 && w === void 0 || er(
9208
9208
  t,
9209
9209
  e,
9210
9210
  N,
9211
- y,
9211
+ x,
9212
9212
  n,
9213
9213
  w
9214
9214
  );
@@ -9216,9 +9216,9 @@ Error generating stack: ` + n.message + `
9216
9216
  }
9217
9217
  }
9218
9218
  for (var b in a)
9219
- y = a[b], a.hasOwnProperty(b) && y != null && !n.hasOwnProperty(b) && Yt(t, e, b, null, n, y);
9219
+ x = a[b], a.hasOwnProperty(b) && x != null && !n.hasOwnProperty(b) && Yt(t, e, b, null, n, x);
9220
9220
  for (D in n)
9221
- y = n[D], w = a[D], !n.hasOwnProperty(D) || y === w || y == null && w == null || Yt(t, e, D, y, n, w);
9221
+ x = n[D], w = a[D], !n.hasOwnProperty(D) || x === w || x == null && w == null || Yt(t, e, D, x, n, w);
9222
9222
  }
9223
9223
  function nd(t) {
9224
9224
  switch (t) {
@@ -10444,7 +10444,7 @@ Error generating stack: ` + n.message + `
10444
10444
  var e = t._reactInternals;
10445
10445
  if (e === void 0)
10446
10446
  throw typeof t.render == "function" ? Error(f(188)) : (t = Object.keys(t).join(","), Error(f(268, t)));
10447
- return t = x(e), t = t !== null ? k(t) : null, t = t === null ? null : t.stateNode, t;
10447
+ return t = y(e), t = t !== null ? k(t) : null, t = t === null ? null : t.stateNode, t;
10448
10448
  };
10449
10449
  var X0 = {
10450
10450
  bundleType: 0,
@@ -10551,10 +10551,10 @@ const $0 = X.forwardRef(
10551
10551
  children: z,
10552
10552
  iconNode: Y,
10553
10553
  ...B
10554
- }, O) => X.createElement(
10554
+ }, T) => X.createElement(
10555
10555
  "svg",
10556
10556
  {
10557
- ref: O,
10557
+ ref: T,
10558
10558
  ...P0,
10559
10559
  width: s,
10560
10560
  height: s,
@@ -10565,7 +10565,7 @@ const $0 = X.forwardRef(
10565
10565
  ...B
10566
10566
  },
10567
10567
  [
10568
- ...Y.map(([x, k]) => X.createElement(x, k)),
10568
+ ...Y.map(([y, k]) => X.createElement(y, k)),
10569
10569
  ...Array.isArray(z) ? z : [z]
10570
10570
  ]
10571
10571
  )
@@ -10708,12 +10708,12 @@ function Up(u) {
10708
10708
  fieldProfileRef: f,
10709
10709
  summary: j,
10710
10710
  ...z
10711
- } = u, Y = Jd(s), B = Jd(m), O = B && Y && B !== Y ? void 0 : B, x = typeof f == "string" && f.trim() ? f : void 0, k = Y === "aggregate" ? Lp(j) : void 0;
10711
+ } = u, Y = Jd(s), B = Jd(m), T = B && Y && B !== Y ? void 0 : B, y = typeof f == "string" && f.trim() ? f : void 0, k = Y === "aggregate" ? Lp(j) : void 0;
10712
10712
  return {
10713
10713
  ...z,
10714
10714
  ...Y ? { resultKind: Y } : {},
10715
- ...O ? { queryKind: O } : {},
10716
- ...x ? { fieldProfileRef: x } : {},
10715
+ ...T ? { queryKind: T } : {},
10716
+ ...y ? { fieldProfileRef: y } : {},
10717
10717
  ...k ? { summary: k } : {}
10718
10718
  };
10719
10719
  }
@@ -10796,10 +10796,10 @@ function Er(u = {}) {
10796
10796
  }
10797
10797
  return Rp(ft);
10798
10798
  }
10799
- function O() {
10799
+ function T() {
10800
10800
  return B("conversations");
10801
10801
  }
10802
- function x() {
10802
+ function y() {
10803
10803
  return B("conversations", { method: "POST" });
10804
10804
  }
10805
10805
  function k(F) {
@@ -10846,7 +10846,7 @@ function Er(u = {}) {
10846
10846
  method: "POST"
10847
10847
  });
10848
10848
  }
10849
- return { listConversations: O, createConversation: x, deleteConversation: k, clearConversations: E, getConversationSnapshot: q, createConfirmation: I, sendPlatformMessage: P, confirmOperation: ut, confirmLocation: tt, confirmDrawingType: $, cancelConfirmation: U };
10849
+ return { listConversations: T, createConversation: y, deleteConversation: k, clearConversations: E, getConversationSnapshot: q, createConfirmation: I, sendPlatformMessage: P, confirmOperation: ut, confirmLocation: tt, confirmDrawingType: $, cancelConfirmation: U };
10850
10850
  }
10851
10851
  const { listConversations: Xb, createConversation: kb, deleteConversation: Lb, clearConversations: Ub, getConversationSnapshot: Qb, createConfirmation: Kb, sendPlatformMessage: Rb, confirmOperation: Fb, confirmLocation: Jb, confirmDrawingType: qb, cancelConfirmation: Wb } = Er(), gm = X.createContext(Er()), pm = () => X.useContext(gm);
10852
10852
  function Fp(u, s, m) {
@@ -10854,15 +10854,22 @@ function Fp(u, s, m) {
10854
10854
  "--platform-left": `${u.left}px`,
10855
10855
  "--platform-top": `${u.top}px`
10856
10856
  };
10857
- return m || !s ? f : {
10857
+ if (m || !s) return f;
10858
+ const j = s.width != null && s.width !== "", z = s.height != null && s.height !== "", Y = (y) => y != null && y !== "" && y !== "auto", B = !j && Y(s.left) && Y(s.right), T = !z && Y(s.top) && Y(s.bottom);
10859
+ return {
10858
10860
  ...f,
10859
10861
  // 右侧/底部定位不能同时受默认左侧/顶部定位约束。
10860
- ...s.right != null && s.left == null ? { left: "auto" } : {},
10861
- ...s.bottom != null && s.top == null ? { top: "auto" } : {},
10862
+ ...!j && s.right != null && s.left == null ? { left: "auto" } : {},
10863
+ ...!z && s.bottom != null && s.top == null ? { top: "auto" } : {},
10862
10864
  ...s.inset != null ? { left: "auto", top: "auto" } : {},
10863
10865
  // 显式高度由调用方控制,可另传 maxHeight 设置上限。
10864
- ...s.height != null ? { maxHeight: "none" } : {},
10865
- ...s
10866
+ ...z || T ? { maxHeight: "none" } : {},
10867
+ ...s,
10868
+ // 双侧定位时解除默认尺寸;显式尺寸分别优先于右侧和底部定位。
10869
+ ...B ? { width: "auto" } : {},
10870
+ ...T ? { height: "auto" } : {},
10871
+ ...j ? { right: "auto" } : {},
10872
+ ...z ? { bottom: "auto" } : {}
10866
10873
  };
10867
10874
  }
10868
10875
  var Jp = fm();
@@ -10875,26 +10882,26 @@ function fa({
10875
10882
  className: s
10876
10883
  }) {
10877
10884
  const m = X.useRef(null), [f, j] = X.useState(null), z = X.useCallback(() => {
10878
- const O = m.current;
10879
- if (!O || !u || O.scrollWidth <= O.clientWidth) return;
10880
- const x = O.getBoundingClientRect(), k = Math.min(
10885
+ const T = m.current;
10886
+ if (!T || !u || T.scrollWidth <= T.clientWidth) return;
10887
+ const y = T.getBoundingClientRect(), k = Math.min(
10881
10888
  360,
10882
10889
  Math.max(0, window.innerWidth - Un * 2)
10883
10890
  ), E = qp(
10884
- x.left,
10891
+ y.left,
10885
10892
  Un,
10886
10893
  Math.max(Un, window.innerWidth - k - Un)
10887
- ), I = x.bottom + Or + Id <= window.innerHeight - Un ? x.bottom + Or : Math.max(
10894
+ ), I = y.bottom + Or + Id <= window.innerHeight - Un ? y.bottom + Or : Math.max(
10888
10895
  Un,
10889
- x.top - Or - Id
10896
+ y.top - Or - Id
10890
10897
  );
10891
10898
  j({ left: E, top: I, maxWidth: k });
10892
10899
  }, [u]), Y = X.useCallback(() => j(null), []);
10893
10900
  X.useEffect(() => {
10894
10901
  if (!f) return;
10895
- const O = () => j(null);
10896
- return window.addEventListener("resize", O), window.addEventListener("scroll", O, !0), () => {
10897
- window.removeEventListener("resize", O), window.removeEventListener("scroll", O, !0);
10902
+ const T = () => j(null);
10903
+ return window.addEventListener("resize", T), window.addEventListener("scroll", T, !0), () => {
10904
+ window.removeEventListener("resize", T), window.removeEventListener("scroll", T, !0);
10898
10905
  };
10899
10906
  }, [f]);
10900
10907
  const B = f && typeof document < "u" ? Jp.createPortal(
@@ -10996,10 +11003,10 @@ function $p({
10996
11003
  locked: z = !1,
10997
11004
  lockedSelectedDockSns: Y,
10998
11005
  lockedState: B = "confirmed",
10999
- paginationEnabled: O = !1,
11000
- selectAllEnabled: x = !1
11006
+ paginationEnabled: T = !1,
11007
+ selectAllEnabled: y = !1
11001
11008
  }) {
11002
- const [k, E] = X.useState([]), [q, I] = X.useState(!1), [P, ut] = X.useState(1), tt = u.candidates ?? Wp, $ = u.selectedDockSns ?? Vp, U = z ? Y ?? $ : k, F = tt.length > 0 && tt.every((L) => U.includes(L.dock_sn)), lt = U.length > 0 && !q && !z, ot = u.action === "terminate" || u.action === "resume", ft = u.action === "takeoff", J = u.action === "power-on" || u.action === "power-off", Zt = ["set-altitude", "set-distance", "disable-distance", "upper-avoidance", "lower-avoidance", "horizontal-avoidance"].includes(u.action), Ht = ["ground-wind", "aerial-wind", "rainfall"].includes(u.action), re = bm[u.action] ?? "执行操作", Xt = z && B === "cancelled", C = _p(u.parameters), at = Math.max(1, Math.ceil(tt.length / lc)), Tt = Math.min(P, at), kt = O ? tt.slice((Tt - 1) * lc, Tt * lc) : tt;
11009
+ const [k, E] = X.useState([]), [q, I] = X.useState(!1), [P, ut] = X.useState(1), tt = u.candidates ?? Wp, $ = u.selectedDockSns ?? Vp, U = z ? Y ?? $ : k, F = tt.length > 0 && tt.every((L) => U.includes(L.dock_sn)), lt = U.length > 0 && !q && !z, ot = u.action === "terminate" || u.action === "resume", ft = u.action === "takeoff", J = u.action === "power-on" || u.action === "power-off", Zt = ["set-altitude", "set-distance", "disable-distance", "upper-avoidance", "lower-avoidance", "horizontal-avoidance"].includes(u.action), Ht = ["ground-wind", "aerial-wind", "rainfall"].includes(u.action), re = bm[u.action] ?? "执行操作", Xt = z && B === "cancelled", C = _p(u.parameters), at = Math.max(1, Math.ceil(tt.length / lc)), Tt = Math.min(P, at), kt = T ? tt.slice((Tt - 1) * lc, Tt * lc) : tt;
11003
11010
  X.useEffect(() => {
11004
11011
  E($), I(!1), ut(1);
11005
11012
  }, [u.id, $]);
@@ -11036,7 +11043,7 @@ function $p({
11036
11043
  C
11037
11044
  ] }) : null
11038
11045
  ] }),
11039
- x && !z && tt.length > 0 ? /* @__PURE__ */ o.jsxs(
11046
+ y && !z && tt.length > 0 ? /* @__PURE__ */ o.jsxs(
11040
11047
  "button",
11041
11048
  {
11042
11049
  type: "button",
@@ -11077,7 +11084,7 @@ function $p({
11077
11084
  L.dock_sn
11078
11085
  );
11079
11086
  }) }),
11080
- O && tt.length > lc ? /* @__PURE__ */ o.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: [
11087
+ T && tt.length > lc ? /* @__PURE__ */ o.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: [
11081
11088
  /* @__PURE__ */ o.jsx("button", { type: "button", disabled: Tt === 1, onClick: () => ut((L) => Math.max(1, L - 1)), className: "gis-platform-agent-card-button gis-platform-agent-card-button-secondary gis-platform-agent-page-button", "aria-label": "上一页", children: "上一页" }),
11082
11089
  /* @__PURE__ */ o.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: [
11083
11090
  "第 ",
@@ -11139,11 +11146,11 @@ function eb({
11139
11146
  onConfirm: s,
11140
11147
  onCancel: m
11141
11148
  }) {
11142
- const f = u.status !== "pending", j = u.status === "cancelled", [z, Y] = X.useState(u.selectedCandidateId ?? null), [B, O] = X.useState(!1), [x, k] = X.useState(1);
11149
+ const f = u.status !== "pending", j = u.status === "cancelled", [z, Y] = X.useState(u.selectedCandidateId ?? null), [B, T] = X.useState(!1), [y, k] = X.useState(1);
11143
11150
  X.useEffect(() => {
11144
11151
  Y(u.selectedCandidateId ?? null), k(1);
11145
11152
  }, [u.id, u.selectedCandidateId, u.status]);
11146
- const E = u.candidates.find((U) => U.id === z), q = u.parameters?.keyword?.trim() || "当前地点", I = !!(u.parameters?.drawing && typeof u.parameters.drawing == "object"), P = Math.max(1, Math.ceil(u.candidates.length / ic)), ut = Math.min(x, P), tt = (ut - 1) * ic, $ = u.candidates.slice(tt, tt + ic);
11153
+ const E = u.candidates.find((U) => U.id === z), q = u.parameters?.keyword?.trim() || "当前地点", I = !!(u.parameters?.drawing && typeof u.parameters.drawing == "object"), P = Math.max(1, Math.ceil(u.candidates.length / ic)), ut = Math.min(y, P), tt = (ut - 1) * ic, $ = u.candidates.slice(tt, tt + ic);
11147
11154
  return /* @__PURE__ */ o.jsxs(
11148
11155
  "section",
11149
11156
  {
@@ -11247,11 +11254,11 @@ function eb({
11247
11254
  type: "button",
11248
11255
  disabled: B,
11249
11256
  onClick: async () => {
11250
- O(!0);
11257
+ T(!0);
11251
11258
  try {
11252
11259
  await m();
11253
11260
  } finally {
11254
- O(!1);
11261
+ T(!1);
11255
11262
  }
11256
11263
  },
11257
11264
  className: "gis-platform-agent-card-button gis-platform-agent-card-button-secondary",
@@ -11265,11 +11272,11 @@ function eb({
11265
11272
  disabled: !z || B,
11266
11273
  onClick: async () => {
11267
11274
  if (z) {
11268
- O(!0);
11275
+ T(!0);
11269
11276
  try {
11270
11277
  await s(z);
11271
11278
  } finally {
11272
- O(!1);
11279
+ T(!1);
11273
11280
  }
11274
11281
  }
11275
11282
  },
@@ -11307,11 +11314,11 @@ function ib({
11307
11314
  onConfirm: s,
11308
11315
  onCancel: m
11309
11316
  }) {
11310
- const f = u.status !== "pending", j = u.status === "cancelled", [z, Y] = X.useState(u.selectedPurposeId ?? null), [B, O] = X.useState(!1);
11317
+ const f = u.status !== "pending", j = u.status === "cancelled", [z, Y] = X.useState(u.selectedPurposeId ?? null), [B, T] = X.useState(!1);
11311
11318
  X.useEffect(() => {
11312
11319
  Y(u.selectedPurposeId ?? null);
11313
11320
  }, [u.id, u.selectedPurposeId, u.status]);
11314
- const x = lb(u.parameters);
11321
+ const y = lb(u.parameters);
11315
11322
  return /* @__PURE__ */ o.jsxs(
11316
11323
  "section",
11317
11324
  {
@@ -11328,7 +11335,7 @@ function ib({
11328
11335
  /* @__PURE__ */ o.jsx("span", { className: "rounded-full bg-white/15 px-2.5 py-1 text-xs text-slate-100", children: j ? "已取消" : f ? "已确认" : "单选" })
11329
11336
  ] }),
11330
11337
  /* @__PURE__ */ o.jsxs("div", { className: "border-b border-slate-100 px-5 py-4", children: [
11331
- /* @__PURE__ */ o.jsx("div", { className: "flex flex-wrap gap-2", children: x.map((k) => /* @__PURE__ */ o.jsx("span", { className: "rounded-md border border-slate-200 bg-slate-50 px-2.5 py-1 text-xs text-slate-700", children: k }, k)) }),
11338
+ /* @__PURE__ */ o.jsx("div", { className: "flex flex-wrap gap-2", children: y.map((k) => /* @__PURE__ */ o.jsx("span", { className: "rounded-md border border-slate-200 bg-slate-50 px-2.5 py-1 text-xs text-slate-700", children: k }, k)) }),
11332
11339
  /* @__PURE__ */ o.jsx("p", { className: "mt-2 text-xs text-slate-500", children: j ? "确认卡已取消,未通知地图页面。" : f ? "绘制用途已确认,地图事件已经发送。" : "请选择一个用途;确认前不会通知地图页面。" })
11333
11340
  ] }),
11334
11341
  /* @__PURE__ */ o.jsxs("fieldset", { disabled: f, className: "space-y-2 px-5 py-4", children: [
@@ -11371,11 +11378,11 @@ function ib({
11371
11378
  type: "button",
11372
11379
  disabled: B,
11373
11380
  onClick: async () => {
11374
- O(!0);
11381
+ T(!0);
11375
11382
  try {
11376
11383
  await m();
11377
11384
  } finally {
11378
- O(!1);
11385
+ T(!1);
11379
11386
  }
11380
11387
  },
11381
11388
  className: "gis-platform-agent-card-button gis-platform-agent-card-button-secondary",
@@ -11389,11 +11396,11 @@ function ib({
11389
11396
  disabled: !z || B,
11390
11397
  onClick: async () => {
11391
11398
  if (z) {
11392
- O(!0);
11399
+ T(!0);
11393
11400
  try {
11394
11401
  await s(z);
11395
11402
  } finally {
11396
- O(!1);
11403
+ T(!1);
11397
11404
  }
11398
11405
  }
11399
11406
  },
@@ -11465,7 +11472,7 @@ function Ll(u) {
11465
11472
  }
11466
11473
  function ub(u, s, m, f, j) {
11467
11474
  const z = m.map((Y) => {
11468
- const B = s[Y]?.find((O) => O.key === u)?.status;
11475
+ const B = s[Y]?.find((T) => T.key === u)?.status;
11469
11476
  return B ? Ll(B) : j ? "待执行" : "未执行";
11470
11477
  });
11471
11478
  return z.length ? z.every((Y) => Y === "成功") ? "成功" : z.every((Y) => Y === "失败") ? "失败" : z.every((Y) => Y === "未执行") ? "未执行" : z.some((Y) => Y === "执行中") ? "执行中" : !z.some((Y) => Y === "成功") && z.some((Y) => Y === "失败") ? "失败" : z.some((Y) => Y === "成功") ? "部分成功" : z.every((Y) => Y === "待执行") ? "待执行" : Ll(f) : Ll(f);
@@ -11522,7 +11529,7 @@ function fb({
11522
11529
  cardId: z,
11523
11530
  operationInProgress: Y = !1
11524
11531
  }) {
11525
- const B = u.action === "terminate" || u.action === "resume", O = u.action === "takeoff", x = u.action === "power-on" || u.action === "power-off", k = ["set-altitude", "set-distance", "disable-distance", "upper-avoidance", "lower-avoidance", "horizontal-avoidance"].includes(u.action), [E, q] = X.useState(() => Object.entries(s).find(([, at]) => at.status !== "成功")?.[0] ?? null), [I, P] = X.useState(() => Date.now()), ut = j ?? hm[u.action] ?? "执行操作", tt = X.useMemo(
11532
+ const B = u.action === "terminate" || u.action === "resume", T = u.action === "takeoff", y = u.action === "power-on" || u.action === "power-off", k = ["set-altitude", "set-distance", "disable-distance", "upper-avoidance", "lower-avoidance", "horizontal-avoidance"].includes(u.action), [E, q] = X.useState(() => Object.entries(s).find(([, at]) => at.status !== "成功")?.[0] ?? null), [I, P] = X.useState(() => Date.now()), ut = j ?? hm[u.action] ?? "执行操作", tt = X.useMemo(
11526
11533
  () => u.candidates.filter(
11527
11534
  (C) => s[C.dock_sn] || Y && u.selectedDockSns.includes(C.dock_sn)
11528
11535
  ),
@@ -11594,14 +11601,14 @@ function fb({
11594
11601
  /* @__PURE__ */ o.jsxs("div", { className: "bg-gradient-to-r from-slate-900 to-slate-700 px-5 py-4 text-white", children: [
11595
11602
  /* @__PURE__ */ o.jsxs("div", { className: "flex flex-wrap items-center justify-between gap-3", children: [
11596
11603
  /* @__PURE__ */ o.jsxs("div", { children: [
11597
- /* @__PURE__ */ o.jsx("p", { className: "text-xs text-slate-300", children: B ? "飞行任务调度" : O || x || k ? "飞控操作" : "机场运维任务" }),
11604
+ /* @__PURE__ */ o.jsx("p", { className: "text-xs text-slate-300", children: B ? "飞行任务调度" : T || y || k ? "飞控操作" : "机场运维任务" }),
11598
11605
  /* @__PURE__ */ o.jsx("h2", { className: "mt-1 text-base font-semibold", children: ut })
11599
11606
  ] }),
11600
11607
  /* @__PURE__ */ o.jsxs("div", { className: "flex flex-wrap gap-2 text-xs", children: [
11601
11608
  /* @__PURE__ */ o.jsxs("span", { className: "rounded-full bg-white/15 px-2.5 py-1", children: [
11602
11609
  tt.length,
11603
11610
  " 个",
11604
- B ? "任务" : O ? "起飞目标" : "机场"
11611
+ B ? "任务" : T ? "起飞目标" : "机场"
11605
11612
  ] }),
11606
11613
  ot.success ? /* @__PURE__ */ o.jsxs("span", { className: "rounded-full bg-emerald-400/20 px-2.5 py-1 text-emerald-200", children: [
11607
11614
  ot.success,
@@ -11663,7 +11670,7 @@ function fb({
11663
11670
  /* @__PURE__ */ o.jsx(M, { className: `h-5 w-5 shrink-0 ${kt.icon}` }),
11664
11671
  /* @__PURE__ */ o.jsxs("span", { className: "min-w-0 flex-1", children: [
11665
11672
  /* @__PURE__ */ o.jsx(fa, { text: C.airport_name, className: "block truncate text-sm font-semibold text-slate-800" }),
11666
- /* @__PURE__ */ o.jsx("span", { className: "mt-0.5 block font-mono text-xs text-slate-500", children: B ? `任务编号:${C.dock_sn} · ${C.device_model}` : O || x || k ? `无人机:${tm(C.uav_sn || "未登记")} · ${C.device_model}` : `${tm(C.dock_sn)} · ${C.device_model}` })
11673
+ /* @__PURE__ */ o.jsx("span", { className: "mt-0.5 block font-mono text-xs text-slate-500", children: B ? `任务编号:${C.dock_sn} · ${C.device_model}` : T || y || k ? `无人机:${tm(C.uav_sn || "未登记")} · ${C.device_model}` : `${tm(C.dock_sn)} · ${C.device_model}` })
11667
11674
  ] }),
11668
11675
  /* @__PURE__ */ o.jsx("span", { className: `rounded-full px-2.5 py-1 text-xs font-medium ${kt.badge}`, children: kt.label }),
11669
11676
  Tt ? /* @__PURE__ */ o.jsx(ep, { className: "h-4 w-4 text-slate-400" }) : /* @__PURE__ */ o.jsx(np, { className: "h-4 w-4 text-slate-400" })
@@ -11686,7 +11693,7 @@ function fb({
11686
11693
  ] }) : null
11687
11694
  ] }, C.dock_sn);
11688
11695
  }) }),
11689
- /* @__PURE__ */ o.jsx("div", { className: "border-t border-slate-100 bg-slate-50 px-5 py-3 text-xs text-slate-600", children: ot.running ? "正在下发指令;状态将随真实执行记录更新。" : `指令已完成下发;可展开${B ? "任务" : O ? "起飞目标" : x || k ? "无人机" : "机场"}行查看对应结果。` })
11696
+ /* @__PURE__ */ o.jsx("div", { className: "border-t border-slate-100 bg-slate-50 px-5 py-3 text-xs text-slate-600", children: ot.running ? "正在下发指令;状态将随真实执行记录更新。" : `指令已完成下发;可展开${B ? "任务" : T ? "起飞目标" : y || k ? "无人机" : "机场"}行查看对应结果。` })
11690
11697
  ] });
11691
11698
  }
11692
11699
  const kl = 10, db = /* @__PURE__ */ new Set([
@@ -11735,9 +11742,9 @@ function hb({
11735
11742
  resultKind: z,
11736
11743
  queryKind: Y,
11737
11744
  fieldProfileRef: B,
11738
- summary: O
11745
+ summary: T
11739
11746
  }) {
11740
- const [x, k] = X.useState(1), E = Math.max(1, Math.ceil(f.length / kl)), q = Math.min(x, E), I = (q - 1) * kl, P = f.slice(I, I + kl), ut = f.length > kl, tt = z === "aggregate" && O?.source === "full_result" && Array.isArray(O.items) ? O.items.filter(gb) : [], $ = tt.some(pb);
11747
+ const [y, k] = X.useState(1), E = Math.max(1, Math.ceil(f.length / kl)), q = Math.min(y, E), I = (q - 1) * kl, P = f.slice(I, I + kl), ut = f.length > kl, tt = z === "aggregate" && T?.source === "full_result" && Array.isArray(T.items) ? T.items.filter(gb) : [], $ = tt.some(pb);
11741
11748
  return /* @__PURE__ */ o.jsxs("section", { "data-card-id": j, "data-field-profile-ref": B, "data-query-kind": Y, className: "gis-platform-agent-query-card overflow-hidden rounded-2xl border border-slate-200 bg-white shadow-sm", children: [
11742
11749
  /* @__PURE__ */ o.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: [
11743
11750
  /* @__PURE__ */ o.jsxs("div", { children: [
@@ -12052,8 +12059,8 @@ function Db(u, s, m = []) {
12052
12059
  id: "编号",
12053
12060
  oid: "对象编号",
12054
12061
  name: "名称"
12055
- }, z = new Set(u.flatMap((O) => Object.keys(O))), Y = m.filter((O) => z.has(O));
12056
- return (Y.length ? Y : [...z].slice(0, 8)).map((O) => ({ key: O, label: j[O] ?? "其他数据" }));
12062
+ }, z = new Set(u.flatMap((T) => Object.keys(T))), Y = m.filter((T) => z.has(T));
12063
+ return (Y.length ? Y : [...z].slice(0, 8)).map((T) => ({ key: T, label: j[T] ?? "其他数据" }));
12057
12064
  }
12058
12065
  function rm({ content: u }) {
12059
12066
  const s = zb(u), m = Tb(u);
@@ -12124,7 +12131,7 @@ function Sb({
12124
12131
  title: f = "智能助手",
12125
12132
  onMapEvent: j
12126
12133
  }) {
12127
- const { cancelConfirmation: z, confirmDrawingType: Y, confirmLocation: B, confirmOperation: O, getConversationSnapshot: x, sendPlatformMessage: k } = pm(), [E, q] = X.useState(""), [I, P] = X.useState([nm]), [ut, tt] = X.useState([]), [$, U] = X.useState([]), [F, lt] = X.useState([]), [ot, ft] = X.useState(""), [J, Zt] = X.useState(!1), Ht = X.useRef(null), re = X.useRef(null), Xt = X.useRef(!0), C = xb(m, ut, $, F), at = ut.map((S) => `${S.id}:${Object.keys(S.results ?? {}).length}:${Object.keys(S.targetSteps ?? {}).length}`).join("|"), Tt = $.map((S) => `${S.id}:${S.status}:${S.selectedCandidateId ?? ""}`).join("|"), kt = F.map((S) => `${S.id}:${S.status}:${S.selectedPurposeId ?? ""}`).join("|"), M = () => {
12134
+ const { cancelConfirmation: z, confirmDrawingType: Y, confirmLocation: B, confirmOperation: T, getConversationSnapshot: y, sendPlatformMessage: k } = pm(), [E, q] = X.useState(""), [I, P] = X.useState([nm]), [ut, tt] = X.useState([]), [$, U] = X.useState([]), [F, lt] = X.useState([]), [ot, ft] = X.useState(""), [J, Zt] = X.useState(!1), Ht = X.useRef(null), re = X.useRef(null), Xt = X.useRef(!0), C = xb(m, ut, $, F), at = ut.map((S) => `${S.id}:${Object.keys(S.results ?? {}).length}:${Object.keys(S.targetSteps ?? {}).length}`).join("|"), Tt = $.map((S) => `${S.id}:${S.status}:${S.selectedCandidateId ?? ""}`).join("|"), kt = F.map((S) => `${S.id}:${S.status}:${S.selectedPurposeId ?? ""}`).join("|"), M = () => {
12128
12135
  const S = re.current;
12129
12136
  if (!S) return;
12130
12137
  const H = S.scrollHeight - S.scrollTop - S.clientHeight;
@@ -12139,7 +12146,7 @@ function Sb({
12139
12146
  return () => window.cancelAnimationFrame(S);
12140
12147
  }, [I, at, Tt, kt, J]), X.useEffect(() => {
12141
12148
  let S = !1;
12142
- return x(u).then((H) => {
12149
+ return y(u).then((H) => {
12143
12150
  if (S) return;
12144
12151
  const W = im(H.messages), dt = Mb(H.messages), Ot = Nb(H.messages), $t = H.confirmations.filter(
12145
12152
  (ht) => "kind" in ht && ht.kind === "location_confirmation"
@@ -12185,7 +12192,7 @@ function Sb({
12185
12192
  (W) => W.status === "executing" || Object.values(W.results ?? {}).some((dt) => dt.status === "执行中") || um(W)
12186
12193
  )) return;
12187
12194
  const H = window.setInterval(() => {
12188
- x(u).then((W) => {
12195
+ y(u).then((W) => {
12189
12196
  const dt = im(W.messages), Ot = lm(
12190
12197
  W.confirmations,
12191
12198
  cm(dt)
@@ -12375,7 +12382,7 @@ function Sb({
12375
12382
  selectAllEnabled: !0,
12376
12383
  onConfirm: async (oe) => {
12377
12384
  try {
12378
- const xe = await O(S.id, oe);
12385
+ const xe = await T(S.id, oe);
12379
12386
  bt(S.id, (Kn) => ({
12380
12387
  ...Kn,
12381
12388
  canConfirm: !1,
@@ -12622,20 +12629,20 @@ function Yb({
12622
12629
  ] }),
12623
12630
  /* @__PURE__ */ o.jsxs("div", { className: "mt-2 space-y-3", children: [
12624
12631
  u.map((B) => {
12625
- const O = jb(B.status), x = B.id === s;
12626
- return /* @__PURE__ */ o.jsxs("div", { className: `gis-platform-history-item${x ? " is-selected" : ""}`, children: [
12632
+ const T = jb(B.status), y = B.id === s;
12633
+ return /* @__PURE__ */ o.jsxs("div", { className: `gis-platform-history-item${y ? " is-selected" : ""}`, children: [
12627
12634
  /* @__PURE__ */ o.jsx(
12628
12635
  "button",
12629
12636
  {
12630
12637
  type: "button",
12631
12638
  onClick: () => f(B.id),
12632
- "aria-current": x ? "page" : void 0,
12639
+ "aria-current": y ? "page" : void 0,
12633
12640
  className: "gis-platform-history-select",
12634
12641
  children: /* @__PURE__ */ o.jsxs("span", { className: "gis-platform-history-item-copy", children: [
12635
12642
  /* @__PURE__ */ o.jsx(fa, { text: B.title, className: "gis-platform-history-item-title" }),
12636
- /* @__PURE__ */ o.jsxs("span", { className: `gis-platform-history-item-status ${O.className}${x ? " is-selected" : ""}`, children: [
12637
- x ? /* @__PURE__ */ o.jsx(cp, { className: "h-3 w-3" }) : /* @__PURE__ */ o.jsx(mp, { className: "h-3 w-3" }),
12638
- x ? "当前会话" : O.label
12643
+ /* @__PURE__ */ o.jsxs("span", { className: `gis-platform-history-item-status ${T.className}${y ? " is-selected" : ""}`, children: [
12644
+ y ? /* @__PURE__ */ o.jsx(cp, { className: "h-3 w-3" }) : /* @__PURE__ */ o.jsx(mp, { className: "h-3 w-3" }),
12645
+ y ? "当前会话" : T.label
12639
12646
  ] })
12640
12647
  ] })
12641
12648
  }
@@ -12660,12 +12667,12 @@ function Yb({
12660
12667
  ] });
12661
12668
  }
12662
12669
  function Bb() {
12663
- const { clearConversations: u, createConversation: s, deleteConversation: m, listConversations: f } = pm(), [j, z] = X.useState([]), [Y, B] = X.useState(""), [O, x] = X.useState(""), [k, E] = X.useState(!1), q = X.useRef(!1), I = X.useCallback(async () => {
12670
+ const { clearConversations: u, createConversation: s, deleteConversation: m, listConversations: f } = pm(), [j, z] = X.useState([]), [Y, B] = X.useState(""), [T, y] = X.useState(""), [k, E] = X.useState(!1), q = X.useRef(!1), I = X.useCallback(async () => {
12664
12671
  try {
12665
12672
  const $ = await f();
12666
- return z($.conversations), B((U) => U || $.conversations[0]?.id || ""), x(""), $.conversations;
12673
+ return z($.conversations), B((U) => U || $.conversations[0]?.id || ""), y(""), $.conversations;
12667
12674
  } catch ($) {
12668
- return x($ instanceof Error ? $.message : "会话加载失败"), null;
12675
+ return y($ instanceof Error ? $.message : "会话加载失败"), null;
12669
12676
  } finally {
12670
12677
  E(!0);
12671
12678
  }
@@ -12673,16 +12680,16 @@ function Bb() {
12673
12680
  if (!q.current) {
12674
12681
  q.current = !0;
12675
12682
  try {
12676
- x("");
12683
+ y("");
12677
12684
  const $ = await s(), U = await I();
12678
12685
  if (U === null) return;
12679
12686
  if (!U.some((F) => F.id === $.id)) {
12680
- x("新建对话暂未出现在历史列表中,请稍后重试");
12687
+ y("新建对话暂未出现在历史列表中,请稍后重试");
12681
12688
  return;
12682
12689
  }
12683
12690
  B($.id);
12684
12691
  } catch ($) {
12685
- x($ instanceof Error ? $.message : "创建会话失败");
12692
+ y($ instanceof Error ? $.message : "创建会话失败");
12686
12693
  } finally {
12687
12694
  q.current = !1;
12688
12695
  }
@@ -12691,20 +12698,20 @@ function Bb() {
12691
12698
  try {
12692
12699
  await m($), B((U) => U === $ ? "" : U), await I();
12693
12700
  } catch (U) {
12694
- x(U instanceof Error ? U.message : "删除会话失败");
12701
+ y(U instanceof Error ? U.message : "删除会话失败");
12695
12702
  }
12696
12703
  }, [I, m]), tt = X.useCallback(async () => {
12697
12704
  try {
12698
12705
  await u(), B(""), await I();
12699
12706
  } catch ($) {
12700
- x($ instanceof Error ? $.message : "清空会话失败");
12707
+ y($ instanceof Error ? $.message : "清空会话失败");
12701
12708
  }
12702
12709
  }, [I, u]);
12703
12710
  return X.useEffect(() => {
12704
12711
  I();
12705
12712
  }, [I]), X.useEffect(() => {
12706
- k && !O && !Y && j.length === 0 && !q.current && P();
12707
- }, [Y, P, O, k, j.length]), { sessions: j, activeId: Y, setActiveId: B, create: P, remove: ut, clear: tt, error: O };
12713
+ k && !T && !Y && j.length === 0 && !q.current && P();
12714
+ }, [Y, P, T, k, j.length]), { sessions: j, activeId: Y, setActiveId: B, create: P, remove: ut, clear: tt, error: T };
12708
12715
  }
12709
12716
  const Eb = '/*! 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}}', Gb = `:host {
12710
12717
  color-scheme: dark;
@@ -13901,9 +13908,9 @@ class Cb {
13901
13908
  }
13902
13909
  const Zb = 420;
13903
13910
  function sm(u) {
13904
- const s = window.visualViewport, m = s?.width ?? window.innerWidth, f = s?.height ?? window.innerHeight, j = s?.offsetTop ?? 0, z = Math.min(680, Math.max(0, f - 104)), Y = u.anchorElement?.getBoundingClientRect(), B = Y ? Y.right + 12 : 340, O = Y ? Y.top : 80, x = u.position?.left ?? B, k = u.position?.top ?? O;
13911
+ const s = window.visualViewport, m = s?.width ?? window.innerWidth, f = s?.height ?? window.innerHeight, j = s?.offsetTop ?? 0, z = Math.min(680, Math.max(0, f - 104)), Y = u.anchorElement?.getBoundingClientRect(), B = Y ? Y.right + 12 : 340, T = Y ? Y.top : 80, y = u.position?.left ?? B, k = u.position?.top ?? T;
13905
13912
  return {
13906
- left: om(x, 12, Math.max(12, m - Zb - 12)),
13913
+ left: om(y, 12, Math.max(12, m - Zb - 12)),
13907
13914
  top: om(k, Math.max(12, j + 12), Math.max(j + 12, j + f - z - 12))
13908
13915
  };
13909
13916
  }
@@ -13911,7 +13918,7 @@ function om(u, s, m) {
13911
13918
  return Math.min(Math.max(u, s), m);
13912
13919
  }
13913
13920
  function Hb({ options: u, runtime: s }) {
13914
- const m = (P) => s.subscribe(P), f = () => s.isOpen(), j = X.useSyncExternalStore(m, f, f), [z, Y] = X.useState(!1), [B, O] = X.useState(!1), [x, k] = X.useState(() => sm(u)), E = Bb(), q = E.sessions.find((P) => P.id === E.activeId), I = X.useCallback(() => {
13921
+ const m = (P) => s.subscribe(P), f = () => s.isOpen(), j = X.useSyncExternalStore(m, f, f), [z, Y] = X.useState(!1), [B, T] = X.useState(!1), [y, k] = X.useState(() => sm(u)), E = Bb(), q = E.sessions.find((P) => P.id === E.activeId), I = X.useCallback(() => {
13915
13922
  z || k(sm(u));
13916
13923
  }, [z, u]);
13917
13924
  return X.useEffect(() => (I(), window.addEventListener("resize", I), window.visualViewport?.addEventListener("resize", I), window.visualViewport?.addEventListener("scroll", I), () => {
@@ -13924,7 +13931,7 @@ function Hb({ options: u, runtime: s }) {
13924
13931
  className: `gis-platform-agent-panel${z ? " is-expanded" : ""}`,
13925
13932
  role: "dialog",
13926
13933
  "aria-label": u.title ?? "智能助手",
13927
- style: Fp(x, u.style, z),
13934
+ style: Fp(y, u.style, z),
13928
13935
  children: [
13929
13936
  /* @__PURE__ */ o.jsx(
13930
13937
  Yb,
@@ -13944,7 +13951,7 @@ function Hb({ options: u, runtime: s }) {
13944
13951
  className: B ? "gis-platform-history is-open" : "gis-platform-history"
13945
13952
  }
13946
13953
  ),
13947
- /* @__PURE__ */ o.jsx("main", { onClick: () => O(!1), children: q ? /* @__PURE__ */ o.jsx(
13954
+ /* @__PURE__ */ o.jsx("main", { onClick: () => T(!1), children: q ? /* @__PURE__ */ o.jsx(
13948
13955
  Sb,
13949
13956
  {
13950
13957
  conversationId: q.id,
@@ -13961,7 +13968,7 @@ function Hb({ options: u, runtime: s }) {
13961
13968
  className: "gis-platform-agent-history",
13962
13969
  "aria-label": B ? "关闭历史会话" : "打开历史会话",
13963
13970
  title: B ? "关闭历史会话" : "打开历史会话",
13964
- onClick: () => O((P) => !P),
13971
+ onClick: () => T((P) => !P),
13965
13972
  children: /* @__PURE__ */ o.jsx(pp, { className: "h-4 w-4" })
13966
13973
  }
13967
13974
  ),
@@ -14002,9 +14009,9 @@ function Vb(u, s) {
14002
14009
  ${Gb}`;
14003
14010
  const B = u.ownerDocument.createElement("div");
14004
14011
  z.append(Y, B), u.appendChild(j);
14005
- const O = W0.createRoot(B);
14006
- O.render(/* @__PURE__ */ o.jsx(gm.Provider, { value: m, children: /* @__PURE__ */ o.jsx(Hb, { options: s, runtime: f }) }));
14007
- let x = !1;
14012
+ const T = W0.createRoot(B);
14013
+ T.render(/* @__PURE__ */ o.jsx(gm.Provider, { value: m, children: /* @__PURE__ */ o.jsx(Hb, { options: s, runtime: f }) }));
14014
+ let y = !1;
14008
14015
  return {
14009
14016
  open: () => f.setOpen(!0),
14010
14017
  close: () => {
@@ -14012,7 +14019,7 @@ ${Gb}`;
14012
14019
  },
14013
14020
  toggle: () => f.setOpen(!f.isOpen()),
14014
14021
  destroy: () => {
14015
- x || (x = !0, f.markDestroyed(), O.unmount(), j.remove());
14022
+ y || (y = !0, f.markDestroyed(), T.unmount(), j.remove());
14016
14023
  }
14017
14024
  };
14018
14025
  }