nxd-plugin 1.8.46 → 1.8.48

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.
Files changed (90) hide show
  1. package/dist/chunks/GridData-DKQLl2Yn.mjs +2 -0
  2. package/dist/chunks/YCServiceSummary-BNOAFpyZ.mjs +2 -0
  3. package/dist/chunks/{component-Agent-CAxRiXVu.mjs → component-Agent-DwXtdLhK.mjs} +114 -106
  4. package/dist/chunks/{component-AiChat-go3CScRo.mjs → component-AiChat-Cj1xCAtL.mjs} +1 -1
  5. package/dist/chunks/{component-AqiMonitor-BJXlyOxH.mjs → component-AqiMonitor-CiRH3KK9.mjs} +1 -1
  6. package/dist/chunks/{component-ChartCumulativePre-CPImPMtx.mjs → component-ChartCumulativePre-jgepn88x.mjs} +2 -2
  7. package/dist/chunks/{component-ChartServiceMaterial-DCgeleQL.mjs → component-ChartServiceMaterial-CE9IfnBv.mjs} +2 -2
  8. package/dist/chunks/{component-Duty-Cj3jYko4.mjs → component-Duty-BsFsOk0K.mjs} +2 -2
  9. package/dist/chunks/{component-EarlyWarningStatistic-Dj7-DooY.mjs → component-EarlyWarningStatistic-8yavuyPf.mjs} +2 -2
  10. package/dist/chunks/{component-EarlyWarningStatistic2-CGrO7gCL.mjs → component-EarlyWarningStatistic2-DppX7jcV.mjs} +2 -2
  11. package/dist/chunks/{component-Forecast72h-BDEacrN0.mjs → component-Forecast72h-CD6eT1xe.mjs} +1 -1
  12. package/dist/chunks/{component-GeologyLiveAlarm-Ck08qE3U.mjs → component-GeologyLiveAlarm-CKdsxprI.mjs} +2 -2
  13. package/dist/chunks/component-GridData-o7hipw0h.mjs +756 -0
  14. package/dist/chunks/{component-GridForecastMsg-nkheA7h9.mjs → component-GridForecastMsg-BooZUH5C.mjs} +1 -1
  15. package/dist/chunks/{component-HDSeaLegend-CCiQnc3X.mjs → component-HDSeaLegend-DgPHlKXO.mjs} +2 -2
  16. package/dist/chunks/{component-HdCameraList-BddqV2QN.mjs → component-HdCameraList-DuC-_0uH.mjs} +2 -2
  17. package/dist/chunks/{component-HdFarmStation-CrNTC69J.mjs → component-HdFarmStation-BtYLSMAY.mjs} +2 -2
  18. package/dist/chunks/{component-HdFarmStationDialog-OU6FdHI4.mjs → component-HdFarmStationDialog-BHxuJEsh.mjs} +1 -1
  19. package/dist/chunks/{component-HdForecastProducts-Bkp2m76s.mjs → component-HdForecastProducts-BnI8u5s4.mjs} +1 -1
  20. package/dist/chunks/{component-HdHeatChart-K9XTDoxy.mjs → component-HdHeatChart-CuqWcjET.mjs} +1 -1
  21. package/dist/chunks/{component-HdHeatChartDialog-BWHIGeaR.mjs → component-HdHeatChartDialog-pXLf6f_w.mjs} +2 -2
  22. package/dist/chunks/{component-HdHeatService-DMj3UpNe.mjs → component-HdHeatService-CBo6v1T6.mjs} +1 -1
  23. package/dist/chunks/{component-HdInsectDetailList-CLuhOSWM.mjs → component-HdInsectDetailList-MrAoHbsv.mjs} +1 -1
  24. package/dist/chunks/{component-HdInsectList-SR9MrrWw.mjs → component-HdInsectList-Dswl1k3W.mjs} +1 -1
  25. package/dist/chunks/{component-HdMajorActivity-BbkuZ3pW.mjs → component-HdMajorActivity-Dcgr5Lp_.mjs} +2 -2
  26. package/dist/chunks/{component-HdObservation-Cj1TbKDr.mjs → component-HdObservation-DmRN3dBq.mjs} +3 -3
  27. package/dist/chunks/{component-HdPreSituation-BOjuRB8B.mjs → component-HdPreSituation-KMOE4Mt_.mjs} +3 -3
  28. package/dist/chunks/{component-HdQxServiceEffects-DK_FJEmE.mjs → component-HdQxServiceEffects-CZZHRjNN.mjs} +1 -1
  29. package/dist/chunks/{component-HdRadarList-DZmnTNTN.mjs → component-HdRadarList-Cx_cRpjb.mjs} +3 -3
  30. package/dist/chunks/{component-HdRadarTime-Cn8kLA9j.mjs → component-HdRadarTime-D6ZLrCfA.mjs} +1 -1
  31. package/dist/chunks/{component-HdRadarTimeLine-B9KzZ0sT.mjs → component-HdRadarTimeLine-CwdMMlPK.mjs} +1 -1
  32. package/dist/chunks/{component-HdRisk-DLvN1ReK.mjs → component-HdRisk-Cx_Wuyuy.mjs} +2 -2
  33. package/dist/chunks/{component-HdSeaCase-cGapDdCH.mjs → component-HdSeaCase-C9gN_sjI.mjs} +1 -1
  34. package/dist/chunks/{component-HdServiceMarterial-BHPhw4Za.mjs → component-HdServiceMarterial-CT_sdZkH.mjs} +2 -2
  35. package/dist/chunks/{component-HdServiceRequirements-D1XB4dxh.mjs → component-HdServiceRequirements-CrpxYdNK.mjs} +2 -2
  36. package/dist/chunks/{component-HdSoil-CRecGN33.mjs → component-HdSoil-eQTGGIkq.mjs} +2 -2
  37. package/dist/chunks/{component-HdSoilDetailList-DbBRfuvO.mjs → component-HdSoilDetailList-B1VZ5iDc.mjs} +1 -1
  38. package/dist/chunks/{component-HdStationTem-BxEvMZKy.mjs → component-HdStationTem-BCls8KKc.mjs} +3 -3
  39. package/dist/chunks/{component-HdSuggestion-ZF_A8QJj.mjs → component-HdSuggestion-BnGlQLfg.mjs} +2 -2
  40. package/dist/chunks/{component-HdThreeWeatherTrend-C-YzuGub.mjs → component-HdThreeWeatherTrend-D_dPqael.mjs} +3 -3
  41. package/dist/chunks/{component-HdWaveForcast-Bk3SKlnr.mjs → component-HdWaveForcast-B-RPD_5H.mjs} +2 -2
  42. package/dist/chunks/{component-HighQuality-Caba7jDy.mjs → component-HighQuality-BpOhQkvl.mjs} +1 -1
  43. package/dist/chunks/{component-HighWayEarlyWarningRed-BJCUNxvZ.mjs → component-HighWayEarlyWarningRed-BwmqvV6c.mjs} +2 -2
  44. package/dist/chunks/{component-HighWayFreeze-B-K-UGUx.mjs → component-HighWayFreeze-DyDyOInt.mjs} +2 -2
  45. package/dist/chunks/{component-HighwayLiveAlarm-VUsOlz-6.mjs → component-HighwayLiveAlarm-DDhriJHu.mjs} +2 -2
  46. package/dist/chunks/{component-HighwayLiveAlarmNew-DSJwUZjW.mjs → component-HighwayLiveAlarmNew-Dxf6DUyI.mjs} +3 -3
  47. package/dist/chunks/{component-HighwayStations-Bcop09xe.mjs → component-HighwayStations-B-h6dG6Y.mjs} +2 -2
  48. package/dist/chunks/{component-HighwayWeatherForecast-i9LhEzub.mjs → component-HighwayWeatherForecast-BVj7aWS1.mjs} +5 -5
  49. package/dist/chunks/{component-IframeWeb-DfNcuMhw.mjs → component-IframeWeb-B2CTwN6w.mjs} +1 -1
  50. package/dist/chunks/{component-ImageGeneration-DVUghC8G.mjs → component-ImageGeneration-70AuumKi.mjs} +560 -321
  51. package/dist/chunks/{component-IntroducePic-CVSFpdsQ.mjs → component-IntroducePic-Bo227tKg.mjs} +1 -1
  52. package/dist/chunks/{component-LithiumBatteryMiningArea-Cypkj4BH.mjs → component-LithiumBatteryMiningArea-BDFvxMfk.mjs} +2 -2
  53. package/dist/chunks/{component-MapPopup-DgdHZtEE.mjs → component-MapPopup-vqI8jKFt.mjs} +1 -1
  54. package/dist/chunks/{component-MaterialPreview-DYY0A9il.mjs → component-MaterialPreview-CUz2PkU0.mjs} +1 -1
  55. package/dist/chunks/{component-PieLegend-B9IbTtgM.mjs → component-PieLegend-BIImVR6x.mjs} +1 -1
  56. package/dist/chunks/{component-PrecipitationRanking-C1SiHePw.mjs → component-PrecipitationRanking-Ct4OY0FJ.mjs} +3 -3
  57. package/dist/chunks/{component-RadarChart-jfRsO_e5.mjs → component-RadarChart-7kA3pjCB.mjs} +2 -2
  58. package/dist/chunks/{component-RadarLegend-D8bpZUG7.mjs → component-RadarLegend-ByCdufPU.mjs} +1 -1
  59. package/dist/chunks/{component-RadarShortTerm-CPV04O7Y.mjs → component-RadarShortTerm-pixyOE-9.mjs} +4 -4
  60. package/dist/chunks/{component-RadarTime-DMDNBgXp.mjs → component-RadarTime-DuIABgoI.mjs} +2 -2
  61. package/dist/chunks/{component-RenderMarkdown-6mcPpawU.mjs → component-RenderMarkdown-Bn2qLtnE.mjs} +2 -2
  62. package/dist/chunks/{component-ReservoirLiveAlarm-4lhpOle1.mjs → component-ReservoirLiveAlarm-C-NS9Erh.mjs} +3 -3
  63. package/dist/chunks/{component-ServiceMaterial-DlkZAyjh.mjs → component-ServiceMaterial-BVatsrsj.mjs} +2 -2
  64. package/dist/chunks/{component-ServiceMaterialsBtn-BbDyaUrK.mjs → component-ServiceMaterialsBtn-BgMw_lBj.mjs} +2 -2
  65. package/dist/chunks/{component-StationDialog-BlyiU8y4.mjs → component-StationDialog-_pkrpDnI.mjs} +3 -3
  66. package/dist/chunks/{component-StationList-DSmfGdBz.mjs → component-StationList-D4XTo6r2.mjs} +3 -3
  67. package/dist/chunks/{component-TimeBasedForecast-BGDjpUnz.mjs → component-TimeBasedForecast-4ZZ7ZnCH.mjs} +4 -4
  68. package/dist/chunks/{component-Typhoon-BG_WfKEI.mjs → component-Typhoon-DKmZhXAu.mjs} +2 -2
  69. package/dist/chunks/{component-WarningLine-DSj25DNY.mjs → component-WarningLine-B-2b5J3R.mjs} +2 -2
  70. package/dist/chunks/{component-WarningSignal-BiKwmQVC.mjs → component-WarningSignal-Dv03xQ5u.mjs} +3 -3
  71. package/dist/chunks/{component-WeatherForecast-B8PrFpv0.mjs → component-WeatherForecast-DqdD9JUX.mjs} +4 -4
  72. package/dist/chunks/{component-YCDataMonitor-BbkgMPoo.mjs → component-YCDataMonitor-BPflVY09.mjs} +1 -1
  73. package/dist/chunks/component-YCDataService-CniJWhHF.mjs +580 -0
  74. package/dist/chunks/{component-YCHighWaySummary-CB3sEooz.mjs → component-YCHighWaySummary-CvW4Oc_G.mjs} +2 -2
  75. package/dist/chunks/{component-YCHome-pFXXcjjB.mjs → component-YCHome-BNYalrzu.mjs} +4 -4
  76. package/dist/chunks/{component-YCHomeLegend-BYmh2cQ5.mjs → component-YCHomeLegend-CpA6i_j6.mjs} +2 -2
  77. package/dist/chunks/{component-YCLoginNew-BnkvuCcd.mjs → component-YCLoginNew-BfAbQH6O.mjs} +2 -2
  78. package/dist/chunks/{component-YCServiceSummary-B7o9Xpv_.mjs → component-YCServiceSummary-_qQSJu5H.mjs} +264 -167
  79. package/dist/components/GridData/GridData.vue.d.ts +50 -3
  80. package/dist/nxd-plugin.mjs +73 -73
  81. package/dist/styles/component-Agent.css +1 -1
  82. package/dist/styles/component-GridData.css +1 -1
  83. package/dist/styles/component-YCDataService.css +1 -1
  84. package/dist/styles/component-YCLoginNew.css +1 -1
  85. package/dist/styles/component-YCServiceSummary.css +1 -1
  86. package/package.json +1 -1
  87. package/dist/chunks/GridData-BV6wWY9y.mjs +0 -2
  88. package/dist/chunks/YCServiceSummary-RXbZiFJQ.mjs +0 -2
  89. package/dist/chunks/component-GridData-BkGj8Dsc.mjs +0 -70
  90. package/dist/chunks/component-YCDataService-CDMO1O3G.mjs +0 -412
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./component-GridData-o7hipw0h.mjs";
2
+ export { e as default };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./component-YCServiceSummary-_qQSJu5H.mjs";
2
+ export { e as default };
@@ -5038,43 +5038,49 @@ var Ot = (e = {}) => {
5038
5038
  //#endregion
5039
5039
  //#region src/composables/useDraggable.ts
5040
5040
  function Ut(e = {}) {
5041
- let { initialX: t = 0, initialY: n = 0, padding: r = 8 } = e, i = T(t), a = T(n), o = T(!1), s = 0, c = 0, l = 0, u = 0, d = 0, f = 0, p = 0, m = 0, h = () => {
5041
+ let { initialX: t = 0, initialY: n = 0, padding: r = 8 } = e, i = T(t), a = T(n), o = T(!1), s = 0, c = 0, l = 0, u = 0, d = 0, f = 0, p = 0, m = 0, h = 0, g = 0, _ = 0, v = 0, y = () => {
5042
5042
  let t = e.disabled;
5043
5043
  return t === void 0 ? !1 : typeof t == "boolean" ? t : t.value;
5044
- }, g = () => {
5044
+ }, b = () => {
5045
+ h = 0, g = 0, _ = window.innerWidth, v = window.innerHeight;
5046
+ let t = e.target?.value?.parentElement;
5047
+ if (!t || t === document.body || t === document.documentElement || getComputedStyle(t).position === "static") return;
5048
+ let n = t.getBoundingClientRect();
5049
+ n.width <= 0 || n.height <= 0 || (h = Math.max(n.left, 0), g = Math.max(n.top, 0), _ = Math.min(n.right, window.innerWidth), v = Math.min(n.bottom, window.innerHeight));
5050
+ }, x = () => {
5045
5051
  let t = e.target?.value;
5046
5052
  if (!t) return !1;
5047
5053
  let n = t.getBoundingClientRect();
5048
- return d = n.left - i.value, f = n.top - a.value, p = n.width, m = n.height, !0;
5049
- }, _ = () => {
5050
- let e = r - d, t = Math.max(e, window.innerWidth - r - d - p), n = r - f;
5054
+ return d = n.left - i.value, f = n.top - a.value, p = n.width, m = n.height, b(), !0;
5055
+ }, S = () => {
5056
+ let e = r + h - d, t = Math.max(e, _ - r - d - p), n = r + g - f;
5051
5057
  return {
5052
5058
  minX: e,
5053
5059
  maxX: t,
5054
5060
  minY: n,
5055
- maxY: Math.max(n, window.innerHeight - r - f - m)
5061
+ maxY: Math.max(n, v - r - f - m)
5056
5062
  };
5057
- }, v = (t) => {
5063
+ }, C = (t) => {
5058
5064
  if (!o.value) return;
5059
5065
  let n = l + t.clientX - s, r = u + t.clientY - c;
5060
5066
  if (e.target?.value) {
5061
- let e = _();
5067
+ let e = S();
5062
5068
  n = Math.min(Math.max(n, e.minX), e.maxX), r = Math.min(Math.max(r, e.minY), e.maxY);
5063
5069
  }
5064
5070
  i.value = n, a.value = r;
5065
- }, y = () => {
5066
- o.value = !1, document.removeEventListener("pointermove", v), document.removeEventListener("pointerup", y);
5071
+ }, w = () => {
5072
+ o.value = !1, document.removeEventListener("pointermove", C), document.removeEventListener("pointerup", w);
5067
5073
  };
5068
5074
  return {
5069
5075
  x: i,
5070
5076
  y: a,
5071
5077
  dragging: o,
5072
5078
  onStart: (e) => {
5073
- h() || (o.value = !0, s = e.clientX, c = e.clientY, l = i.value, u = a.value, g(), document.addEventListener("pointermove", v), document.addEventListener("pointerup", y));
5079
+ y() || (o.value = !0, s = e.clientX, c = e.clientY, l = i.value, u = a.value, x(), document.addEventListener("pointermove", C), document.addEventListener("pointerup", w));
5074
5080
  },
5075
5081
  clamp: () => {
5076
- if (!g()) return;
5077
- let e = _();
5082
+ if (!x()) return;
5083
+ let e = S();
5078
5084
  i.value = Math.min(Math.max(i.value, e.minX), e.maxX), a.value = Math.min(Math.max(a.value, e.minY), e.maxY);
5079
5085
  }
5080
5086
  };
@@ -52934,7 +52940,7 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
52934
52940
  _e.value = !pe.value && !V.value && ve(e);
52935
52941
  }, xe = () => {
52936
52942
  _e.value = !1;
52937
- }, Se = k(), { typeOptions: Ce, currentSubList: we, activeLabel: Te, activeSubItem: Ee, selectLabel: De, selectSubItem: Oe, resetMenu: ke, currentAi: Ae, loading: je, send: Me, clear: Ne, dispose: Pe, login: Fe, fetchSubMenu: Ie, findAgentGroup: Le, materialTaskId: Re } = mS(r), { visible: ze, block: Be, editorRef: Ve, loading: He, error: Ue, openDocument: We, closeDocument: Ge, retry: Ke, treeRef: qe, channelTree: Je, selectedChannelKeys: Ye, checkAll: Xe, isIndeterminate: Ze, publishLoading: Qe, handleTreeCheck: $e, handleCheckAllChange: et, handlePublishConfirm: tt } = hS(r, Re), nt = l(() => B.value || je.value), rt = l(() => Le(r.agentType)), it = l(() => rt.value?.label || ""), at = l(() => le.value ? se.value : it.value), ot = l(() => rt.value?.list || []), st = l(() => le.value ? we.value : ot.value), ct = l(() => Vt(se.value) && Ee.value?.title || ""), lt = l(() => !(!I.value.trim() || nt.value || le.value && !Te.value)), ut = l(() => V.value ? {} : {
52943
+ }, Se = k(), { typeOptions: Ce, currentSubList: we, activeLabel: Te, activeSubItem: Ee, selectLabel: De, selectSubItem: Oe, resetMenu: ke, currentAi: Ae, loading: je, send: Me, clear: Ne, dispose: Pe, login: Fe, fetchSubMenu: Ie, findAgentGroup: Le, materialTaskId: Re } = mS(r), { visible: ze, block: Be, editorRef: Ve, loading: He, error: Ue, openDocument: We, closeDocument: Ge, retry: Ke, treeRef: qe, channelTree: Je, selectedChannelKeys: Ye, checkAll: Xe, isIndeterminate: Ze, publishLoading: Qe, handleTreeCheck: $e, handleCheckAllChange: et, handlePublishConfirm: tt } = hS(r, Re), nt = l(() => B.value || je.value), rt = l(() => Le(r.agentType)), it = l(() => rt.value?.label || ""), at = l(() => le.value ? se.value : it.value), ot = l(() => rt.value?.list || []), st = l(() => le.value ? we.value : ot.value), ct = l(() => Wt(se.value) && Ee.value?.title || ""), lt = l(() => !(!I.value.trim() || nt.value || le.value && !Te.value)), ut = l(() => V.value ? {} : {
52938
52944
  ...Se.style || {},
52939
52945
  transform: `translate3d(${de.value}px, ${fe.value}px, 0)`
52940
52946
  }), dt = (e) => {
@@ -53114,30 +53120,32 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53114
53120
  if (!e || V.value) return;
53115
53121
  let t = e.getBoundingClientRect().height;
53116
53122
  zt && t !== zt && (fe.value += zt - t), zt = t, v(ge);
53123
+ }, Vt = null, Ht = () => {
53124
+ V.value || v(he);
53117
53125
  };
53118
53126
  x(() => {
53119
- rn(), Cn(), z.value = [], te = -1, ee.value = !1, window.addEventListener("message", ft), window.addEventListener("pagehide", wn), window.addEventListener("click", Mt), window.addEventListener("resize", ge), document.addEventListener("click", yt), ue.value && (Rt = new ResizeObserver(Bt), Rt.observe(ue.value), zt = ue.value.getBoundingClientRect().height), v(ge), Fe().then(() => Ie());
53127
+ on(), Tn(), z.value = [], te = -1, ee.value = !1, window.addEventListener("message", ft), window.addEventListener("pagehide", En), window.addEventListener("click", Mt), window.addEventListener("resize", ge), document.addEventListener("click", yt), ue.value && (Rt = new ResizeObserver(Bt), Rt.observe(ue.value), zt = ue.value.getBoundingClientRect().height, ue.value.parentElement && (Vt = new ResizeObserver(Ht), Vt.observe(ue.value.parentElement))), v(ge), Fe().then(() => Ie());
53120
53128
  }), S(() => {
53121
- Sn(), Cn(), Pe(), Ge(), jt(), Rt?.disconnect(), Rt = null, window.removeEventListener("message", ft), window.removeEventListener("pagehide", wn), window.removeEventListener("click", Mt), window.removeEventListener("resize", ge), document.removeEventListener("click", yt);
53129
+ wn(), Tn(), Pe(), Ge(), jt(), Rt?.disconnect(), Rt = null, Vt?.disconnect(), Vt = null, window.removeEventListener("message", ft), window.removeEventListener("pagehide", En), window.removeEventListener("click", Mt), window.removeEventListener("resize", ge), document.removeEventListener("click", yt);
53122
53130
  });
53123
- let Vt = (e) => lS[e] === "smartMake", Ht = (e) => {
53124
- let t = De(e, Vt(e));
53125
- t?.content ? an(t.content) : on();
53131
+ let Wt = (e) => lS[e] === "smartMake", Gt = (e) => {
53132
+ let t = De(e, Wt(e));
53133
+ t?.content ? sn(t.content) : cn();
53126
53134
  };
53127
53135
  j(we, (e) => {
53128
- !le.value || Ee.value || !e.length || Vt(se.value) && Oe(e[0]);
53136
+ !le.value || Ee.value || !e.length || Wt(se.value) && Oe(e[0]);
53129
53137
  });
53130
- let Wt = (e) => {
53138
+ let Kt = (e) => {
53131
53139
  if (H.value = !1, oe.value = !1, e !== se.value) {
53132
53140
  if (se.value = e, ke(), !e) {
53133
- on();
53141
+ cn();
53134
53142
  return;
53135
53143
  }
53136
- Ht(e);
53144
+ Gt(e);
53137
53145
  }
53138
- }, Gt = (e) => {
53139
- oe.value = !1, Vt(se.value) && Oe(e), e.content && an(e.content);
53140
- }, Kt = (e) => g[e || "thinking"] || "";
53146
+ }, qt = (e) => {
53147
+ oe.value = !1, Wt(se.value) && Oe(e), e.content && sn(e.content);
53148
+ }, Jt = (e) => g[e || "thinking"] || "";
53141
53149
  j(Ae, (e) => {
53142
53150
  let t = z.value[te];
53143
53151
  if (!t || !t.legacy || !e) return;
@@ -53149,9 +53157,9 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53149
53157
  result: e.content || "",
53150
53158
  expanded: !1,
53151
53159
  status: e.status || "thinking"
53152
- })), t.markdown = n && e.content || "", t.file = n && (e.blocks || []).find((e) => e.type === "file") || null, t.status = e.thinkingStatus === "error" ? "error" : n ? "done" : "pending", t.error = e.thinkingStatus === "error" ? e.content || "请求失败,请稍后重试" : "", hn();
53160
+ })), t.markdown = n && e.content || "", t.file = n && (e.blocks || []).find((e) => e.type === "file") || null, t.status = e.thinkingStatus === "error" ? "error" : n ? "done" : "pending", t.error = e.thinkingStatus === "error" ? e.content || "请求失败,请稍后重试" : "", _n();
53153
53161
  });
53154
- let qt = (e) => String(e).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), Jt = (e) => {
53162
+ let Yt = (e) => String(e).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), Xt = (e) => {
53155
53163
  if (!e) return "";
53156
53164
  e = e.replace(/^[\s"'“”‘’"〝〞]+/, "").replace(/[\s"'“”‘’"〝〞]+$/, "");
53157
53165
  let t = e.split("\n");
@@ -53167,18 +53175,18 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53167
53175
  for (e.length > t.length && (e = e.slice(0, t.length)); e.length < t.length;) e.push("");
53168
53176
  a.push(e), i++;
53169
53177
  }
53170
- let o = "<table class=\"Agent__mdTable\"><thead><tr>" + t.map((e) => `<th>${qt(e)}</th>`).join("") + "</tr></thead>";
53171
- o += "<tbody>" + a.map((e) => "<tr>" + e.map((e) => `<td>${qt(e)}</td>`).join("") + "</tr>").join("") + "</tbody></table>", r.push(o);
53172
- } else r.push(qt(e)), i++;
53178
+ let o = "<table class=\"Agent__mdTable\"><thead><tr>" + t.map((e) => `<th>${Yt(e)}</th>`).join("") + "</tr></thead>";
53179
+ o += "<tbody>" + a.map((e) => "<tr>" + e.map((e) => `<td>${Yt(e)}</td>`).join("") + "</tr>").join("") + "</tbody></table>", r.push(o);
53180
+ } else r.push(Yt(e)), i++;
53173
53181
  }
53174
53182
  return r.join("<br>");
53175
- }, Yt = (e) => {
53183
+ }, Zt = (e) => {
53176
53184
  try {
53177
53185
  return (JSON.parse(e).items || []).filter((e) => e && e.icon && e.label);
53178
53186
  } catch {
53179
53187
  return [];
53180
53188
  }
53181
- }, Xt = (e) => r.interfaceBaseHttp.replace(/\/$/, "") + "/skills/skill_sea_legend/assets/icons/" + e, Zt = (e) => {
53189
+ }, Qt = (e) => r.interfaceBaseHttp.replace(/\/$/, "") + "/skills/skill_sea_legend/assets/icons/" + e, $t = (e) => {
53182
53190
  if (!e) return [];
53183
53191
  let t = [], n = 0;
53184
53192
  for (;;) {
@@ -53204,7 +53212,7 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53204
53212
  }) : o === "sea-legend" ? t.push({
53205
53213
  type: "seaLegend",
53206
53214
  content: s,
53207
- items: Yt(s)
53215
+ items: Zt(s)
53208
53216
  }) : t.push({
53209
53217
  type: "text",
53210
53218
  content: e.slice(r, a + 3)
@@ -53214,83 +53222,83 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53214
53222
  type: "text",
53215
53223
  content: e.slice(n)
53216
53224
  }), t;
53217
- }, Qt = () => {
53225
+ }, en = () => {
53218
53226
  let e = L.value;
53219
53227
  if (!e) return;
53220
53228
  let t = e.innerText.replace(/\n+$/, "").replace(/\u200B/g, "");
53221
- t.trim() ? I.value = t : rn(), tn();
53222
- }, $t = (e) => {
53229
+ t.trim() ? I.value = t : on(), rn();
53230
+ }, tn = (e) => {
53223
53231
  e.preventDefault();
53224
53232
  let t = e.clipboardData?.getData("text/plain") || "";
53225
53233
  document.execCommand("insertText", !1, t);
53226
- }, en = () => {
53234
+ }, nn = () => {
53227
53235
  let e = L.value;
53228
53236
  e && e.style.setProperty("--anchor-top", `${e.scrollTop}px`);
53229
- }, tn = () => {
53237
+ }, rn = () => {
53230
53238
  let e = L.value;
53231
- e && (e.style.height = "auto", e.style.height = `${Math.min(e.scrollHeight, 150)}px`, e.style.overflowY = e.scrollHeight > 150 ? "auto" : "hidden", en());
53232
- }, nn = () => {
53239
+ e && (e.style.height = "auto", e.style.height = `${Math.min(e.scrollHeight, 150)}px`, e.style.overflowY = e.scrollHeight > 150 ? "auto" : "hidden", nn());
53240
+ }, an = () => {
53233
53241
  let e = L.value, t = window.getSelection();
53234
53242
  if (!e || !t) return;
53235
53243
  let n = document.createRange();
53236
53244
  n.selectNodeContents(e), n.collapse(!1), t.removeAllRanges(), t.addRange(n);
53237
- }, rn = () => {
53245
+ }, on = () => {
53238
53246
  let e = L.value;
53239
- e && (e.innerHTML = vC, I.value = "", nn());
53240
- }, an = (e) => {
53247
+ e && (e.innerHTML = vC, I.value = "", an());
53248
+ }, sn = (e) => {
53241
53249
  let t = L.value;
53242
53250
  if (t) {
53243
53251
  if (!e) {
53244
- rn();
53252
+ on();
53245
53253
  return;
53246
53254
  }
53247
53255
  t.innerText = e, I.value = e, v(() => {
53248
- tn(), t.focus(), nn();
53256
+ rn(), t.focus(), an();
53249
53257
  });
53250
53258
  }
53251
- }, on = () => {
53252
- rn(), v(() => {
53253
- tn(), L.value?.focus(), nn();
53259
+ }, cn = () => {
53260
+ on(), v(() => {
53261
+ rn(), L.value?.focus(), an();
53254
53262
  });
53255
- }, sn = T([]), cn = /* @__PURE__ */ new Map(), ln = (e, t) => {
53256
- e && (sn.value[t] = e);
53257
- }, un = (e) => {
53258
- let t = sn.value[e], n = z.value[e];
53263
+ }, ln = T([]), un = /* @__PURE__ */ new Map(), dn = (e, t) => {
53264
+ e && (ln.value[t] = e);
53265
+ }, fn = (e) => {
53266
+ let t = ln.value[e], n = z.value[e];
53259
53267
  if (!t || !n) return;
53260
- let r = cn.get(e);
53261
- r && (clearTimeout(r), cn.delete(e)), n.thinkingOpen ? (t.style.maxHeight = `${t.scrollHeight}px`, n.thinkingOpen = !1, requestAnimationFrame(() => {
53268
+ let r = un.get(e);
53269
+ r && (clearTimeout(r), un.delete(e)), n.thinkingOpen ? (t.style.maxHeight = `${t.scrollHeight}px`, n.thinkingOpen = !1, requestAnimationFrame(() => {
53262
53270
  t.style.maxHeight = `${xC}px`;
53263
- }), cn.set(e, window.setTimeout(() => {
53264
- n.thinkingClamped = !0, cn.delete(e);
53271
+ }), un.set(e, window.setTimeout(() => {
53272
+ n.thinkingClamped = !0, un.delete(e);
53265
53273
  }, 260))) : (n.thinkingClamped = !1, n.thinkingOpen = !0, v(() => {
53266
- t.style.maxHeight = `${t.scrollHeight}px`, cn.set(e, window.setTimeout(() => {
53267
- t.style.maxHeight = "", cn.delete(e);
53274
+ t.style.maxHeight = `${t.scrollHeight}px`, un.set(e, window.setTimeout(() => {
53275
+ t.style.maxHeight = "", un.delete(e);
53268
53276
  }, 280));
53269
53277
  }));
53270
- }, dn = () => typeof crypto < "u" && crypto.randomUUID ? crypto.randomUUID() : "id-" + Math.random().toString(36).slice(2) + "-" + Date.now().toString(36), fn = () => {
53278
+ }, pn = () => typeof crypto < "u" && crypto.randomUUID ? crypto.randomUUID() : "id-" + Math.random().toString(36).slice(2) + "-" + Date.now().toString(36), mn = () => {
53271
53279
  try {
53272
53280
  return localStorage.getItem("agentSessionId");
53273
53281
  } catch {
53274
53282
  return null;
53275
53283
  }
53276
- }, pn = (e) => {
53284
+ }, hn = (e) => {
53277
53285
  try {
53278
53286
  localStorage.setItem("agentSessionId", e);
53279
53287
  } catch {}
53280
- }, mn = T(fn() || dn()), hn = () => {
53288
+ }, gn = T(mn() || pn()), _n = () => {
53281
53289
  v(() => {
53282
53290
  let e = R.value;
53283
53291
  e && (e.scrollTop = e.scrollHeight);
53284
53292
  });
53285
- }, gn = () => {
53286
- V.value = !V.value, !V.value && ze.value && Ge(), V.value || v(ge), hn();
53287
- }, _n = (e) => {
53293
+ }, vn = () => {
53294
+ V.value = !V.value, !V.value && ze.value && Ge(), V.value || v(ge), _n();
53295
+ }, yn = (e) => {
53288
53296
  e && (V.value = !0, We({
53289
53297
  name: e.name,
53290
53298
  fileUrl: e.fileUrl,
53291
53299
  ext: e.ext
53292
53300
  }));
53293
- }, vn = async (e) => {
53301
+ }, bn = async (e) => {
53294
53302
  if (!e?.fileUrl) return;
53295
53303
  let t = (r.baseHttp || "").replace(/\/$/, ""), n = /^(https?:)?\/\//i.test(e.fileUrl) || e.fileUrl.startsWith("data:") ? e.fileUrl : t + (e.fileUrl.startsWith("/") ? e.fileUrl : `/${e.fileUrl}`), i = e.name || "file";
53296
53304
  try {
@@ -53303,16 +53311,16 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53303
53311
  } catch {}
53304
53312
  let a = document.createElement("a");
53305
53313
  a.href = n, a.download = i, a.target = "_blank", document.body.appendChild(a), a.click(), document.body.removeChild(a);
53306
- }, yn = (e, t) => {
53314
+ }, xn = (e, t) => {
53307
53315
  let n = z.value[te];
53308
53316
  if (n) {
53309
53317
  if (e === "thinking") n.thinking += t;
53310
- else if (e === "token") n.answer += t, n.answerParts = Zt(n.answer);
53318
+ else if (e === "token") n.answer += t, n.answerParts = $t(n.answer);
53311
53319
  else if (e === "reset") n.answer = "", n.answerParts = [];
53312
53320
  else if (e === "tool_call") try {
53313
53321
  let e = JSON.parse(t);
53314
53322
  n.tools.push({
53315
- id: e.id || dn(),
53323
+ id: e.id || pn(),
53316
53324
  name: e.name,
53317
53325
  args: JSON.stringify(e.arguments),
53318
53326
  result: "",
@@ -53324,16 +53332,16 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53324
53332
  r && (r.result = e.result || "");
53325
53333
  } catch {}
53326
53334
  else e === "error" && (n.status = "error", n.error = t);
53327
- hn();
53335
+ _n();
53328
53336
  }
53329
- }, bn = async () => {
53337
+ }, Sn = async () => {
53330
53338
  let e = I.value.trim();
53331
53339
  if (!e || nt.value) return;
53332
53340
  if (le.value) {
53333
- await xn(e);
53341
+ await Cn(e);
53334
53342
  return;
53335
53343
  }
53336
- ce.value && Tn();
53344
+ ce.value && Dn();
53337
53345
  let t = r.interfaceBaseHttp.replace(/\/$/, "") + "/api/agent/chat";
53338
53346
  z.value.push({
53339
53347
  question: e,
@@ -53345,13 +53353,13 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53345
53353
  error: "",
53346
53354
  thinkingOpen: !0,
53347
53355
  thinkingClamped: !1
53348
- }), te = z.value.length - 1, on(), B.value = !0, hn(), re = !1, ne = new AbortController();
53356
+ }), te = z.value.length - 1, cn(), B.value = !0, _n(), re = !1, ne = new AbortController();
53349
53357
  try {
53350
53358
  let n = await fetch(t, {
53351
53359
  method: "POST",
53352
53360
  headers: { "Content-Type": "application/json" },
53353
53361
  body: JSON.stringify({
53354
- sessionId: mn.value,
53362
+ sessionId: gn.value,
53355
53363
  message: e,
53356
53364
  agentType: r.agentType
53357
53365
  }),
@@ -53371,7 +53379,7 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53371
53379
  else if (e.startsWith("data:")) {
53372
53380
  let t = e.slice(5).replace(/^ /, "");
53373
53381
  l ? c += "\n" + t : (c = t, l = !0);
53374
- } else e.trim() === "" && (s && yn(s, c), s = "", c = "", l = !1);
53382
+ } else e.trim() === "" && (s && xn(s, c), s = "", c = "", l = !1);
53375
53383
  }
53376
53384
  }
53377
53385
  let u = z.value[te];
@@ -53380,9 +53388,9 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53380
53388
  let t = z.value[te];
53381
53389
  t && !re && (t.status = "error", t.error = "请求失败:" + (e instanceof Error ? e.message : String(e)));
53382
53390
  } finally {
53383
- ne = null, B.value = !1, re || (ee.value = !0), hn(), L.value?.focus(), I.value || nn();
53391
+ ne = null, B.value = !1, re || (ee.value = !0), _n(), L.value?.focus(), I.value || an();
53384
53392
  }
53385
- }, xn = async (e) => {
53393
+ }, Cn = async (e) => {
53386
53394
  Ne(), z.value = [], te = -1, ce.value = !0, z.value.push({
53387
53395
  question: e,
53388
53396
  thinking: "",
@@ -53396,16 +53404,16 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53396
53404
  legacy: !0,
53397
53405
  markdown: "",
53398
53406
  file: null
53399
- }), te = z.value.length - 1, on(), hn();
53407
+ }), te = z.value.length - 1, cn(), _n();
53400
53408
  try {
53401
53409
  await Me(e);
53402
53410
  } finally {
53403
- ee.value = !0, hn(), L.value?.focus(), I.value || nn();
53411
+ ee.value = !0, _n(), L.value?.focus(), I.value || an();
53404
53412
  }
53405
- }, Sn = () => {
53413
+ }, wn = () => {
53406
53414
  ne &&= (re = !0, ne.abort(), null);
53407
- }, Cn = (e = !1) => {
53408
- let t = mn.value;
53415
+ }, Tn = (e = !1) => {
53416
+ let t = gn.value;
53409
53417
  if (!t) return;
53410
53418
  let n = r.interfaceBaseHttp.replace(/\/$/, "") + "/api/agent/reset?sessionId=" + encodeURIComponent(t);
53411
53419
  if (e && typeof navigator.sendBeacon == "function") {
@@ -53416,10 +53424,10 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53416
53424
  method: "POST",
53417
53425
  keepalive: !0
53418
53426
  }).catch(() => {});
53419
- }, wn = () => {
53420
- Sn(), Cn(!0);
53421
- }, Tn = () => {
53422
- Sn(), Cn(), Ne(), mn.value = dn(), pn(mn.value), z.value = [], te = -1, ee.value = !1, B.value = !1, ce.value = !1, le.value && Ht(se.value);
53427
+ }, En = () => {
53428
+ wn(), Tn(!0);
53429
+ }, Dn = () => {
53430
+ wn(), Tn(), Ne(), gn.value = pn(), hn(gn.value), z.value = [], te = -1, ee.value = !1, B.value = !1, ce.value = !1, le.value && Gt(se.value);
53423
53431
  };
53424
53432
  return (e, t) => {
53425
53433
  let n = a, r = o, l = i;
@@ -53503,7 +53511,7 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53503
53511
  e.thinking || e.legacy && e.tools.length ? (C(), f("div", jS, [
53504
53512
  p("div", {
53505
53513
  class: "Agent__thinkingHead",
53506
- onClick: (e) => un(n)
53514
+ onClick: (e) => fn(n)
53507
53515
  }, [t[10] ||= p("span", { class: "Agent__thinkingLabel" }, "思考过程", -1), (C(), f("svg", {
53508
53516
  class: y(["Agent__thinkingArrow", { "is-open": e.thinkingOpen }]),
53509
53517
  viewBox: "0 0 24 24",
@@ -53517,7 +53525,7 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53517
53525
  }, [...t[9] ||= [p("path", { d: "m6 9 6 6 6-6" }, null, -1)]], 2))], 8, MS),
53518
53526
  p("div", {
53519
53527
  ref_for: !0,
53520
- ref: (e) => ln(e, n),
53528
+ ref: (e) => dn(e, n),
53521
53529
  class: y(["Agent__thinkingText", { "is-clamped": e.thinkingClamped }])
53522
53530
  }, D(e.thinking), 3),
53523
53531
  e.legacy && e.tools.length ? (C(), f("div", NS, [(C(!0), f(s, null, E(e.tools, (e) => (C(), f("div", {
@@ -53526,19 +53534,19 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53526
53534
  }, [
53527
53535
  p("span", { class: y(["Agent__toolDot", `Agent__toolDot--${e.status || "thinking"}`]) }, null, 2),
53528
53536
  p("span", PS, D(e.name), 1),
53529
- p("span", FS, D(Kt(e.status)), 1)
53537
+ p("span", FS, D(Jt(e.status)), 1)
53530
53538
  ]))), 128))])) : d("", !0)
53531
53539
  ])) : d("", !0),
53532
53540
  (C(!0), f(s, null, E(e.answerParts, (e, t) => (C(), f(s, { key: t }, [e.type === "text" ? (C(), f("div", {
53533
53541
  key: 0,
53534
53542
  class: "Agent__answerText",
53535
- innerHTML: Jt(e.content)
53543
+ innerHTML: Xt(e.content)
53536
53544
  }, null, 8, IS)) : e.type === "seaLegend" ? (C(), f("div", LS, [(C(!0), f(s, null, E(e.items, (e, t) => (C(), f("div", {
53537
53545
  key: t,
53538
53546
  class: "Agent__legendItem"
53539
53547
  }, [p("img", {
53540
53548
  class: "Agent__legendIcon",
53541
- src: Xt(e.icon),
53549
+ src: Qt(e.icon),
53542
53550
  alt: e.label
53543
53551
  }, null, 8, RS), p("span", zS, D(e.label), 1)]))), 128))])) : (C(), f("iframe", {
53544
53552
  key: 2,
@@ -53560,11 +53568,11 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53560
53568
  p("div", US, [p("div", WS, D(e.file.name), 1), e.file.ext ? (C(), f("div", GS, D(e.file.ext.toUpperCase()), 1)) : d("", !0)]),
53561
53569
  p("div", KS, [p("button", {
53562
53570
  class: "Agent__fileBtn",
53563
- onClick: (t) => _n(e.file)
53571
+ onClick: (t) => yn(e.file)
53564
53572
  }, "审核发布", 8, qS), p("button", {
53565
53573
  class: "Agent__fileBtn Agent__fileBtn--download",
53566
53574
  title: "下载",
53567
- onClick: (t) => vn(e.file)
53575
+ onClick: (t) => bn(e.file)
53568
53576
  }, [...t[11] ||= [p("svg", {
53569
53577
  viewBox: "0 0 24 24",
53570
53578
  width: "14",
@@ -53622,10 +53630,10 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53622
53630
  class: y(["Agent__input", { "is-empty": !I.value }]),
53623
53631
  contenteditable: "true",
53624
53632
  "data-placeholder": "有什么想问的吗?",
53625
- onInput: Qt,
53626
- onScroll: en,
53627
- onPaste: $t,
53628
- onKeydown: P(F(bn, ["exact", "prevent"]), ["enter"])
53633
+ onInput: en,
53634
+ onScroll: nn,
53635
+ onPaste: tn,
53636
+ onKeydown: P(F(Sn, ["exact", "prevent"]), ["enter"])
53629
53637
  }, null, 42, $S), p("img", {
53630
53638
  class: "Agent__logo",
53631
53639
  src: cS,
@@ -53660,13 +53668,13 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53660
53668
  }, [
53661
53669
  p("button", {
53662
53670
  class: y(["Agent__typeOption", { "is-active": !le.value }]),
53663
- onClick: t[4] ||= (e) => Wt("")
53671
+ onClick: t[4] ||= (e) => Kt("")
53664
53672
  }, D(it.value), 3),
53665
53673
  t[16] ||= p("div", { class: "Agent__typeSplit" }, null, -1),
53666
53674
  (C(!0), f(s, null, E(O(Ce), (e) => (C(), f("button", {
53667
53675
  key: e,
53668
53676
  class: y(["Agent__typeOption", { "is-active": le.value && se.value === e }]),
53669
- onClick: (t) => Wt(e)
53677
+ onClick: (t) => Kt(e)
53670
53678
  }, D(e), 11, iC))), 128))
53671
53679
  ], 6)) : d("", !0)], 512), st.value.length ? (C(), f("div", {
53672
53680
  key: 0,
@@ -53697,29 +53705,29 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53697
53705
  }, [(C(!0), f(s, null, E(st.value, (e) => (C(), f("button", {
53698
53706
  key: e.id || e.title,
53699
53707
  class: y(["Agent__typeOption", { "is-active": !!ct.value && O(Ee)?.id === e.id && O(Ee)?.title === e.title }]),
53700
- onClick: (t) => Gt(e)
53708
+ onClick: (t) => qt(e)
53701
53709
  }, D(e.title), 11, oC))), 128))], 6)) : d("", !0)], 512)) : d("", !0)]),
53702
53710
  ee.value || nt.value ? (C(), f("button", {
53703
53711
  key: 0,
53704
53712
  class: "Agent__btn Agent__btn--newTask",
53705
53713
  title: "开启新任务",
53706
- onClick: Tn
53714
+ onClick: Dn
53707
53715
  }, "新任务 ")) : d("", !0),
53708
53716
  N(p("button", {
53709
53717
  class: "Agent__btn Agent__btn--clear",
53710
53718
  title: "清空",
53711
- onClick: on
53719
+ onClick: cn
53712
53720
  }, "× ", 512), [[A, I.value]]),
53713
53721
  p("button", {
53714
53722
  class: "Agent__btn",
53715
53723
  title: V.value ? "退出全屏" : "全屏",
53716
- onClick: gn
53724
+ onClick: vn
53717
53725
  }, [V.value ? (C(), f("svg", lC, [...t[19] ||= [p("path", { d: "M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z" }, null, -1)]])) : (C(), f("svg", cC, [...t[18] ||= [p("path", { d: "M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z" }, null, -1)]]))], 8, sC),
53718
53726
  p("button", {
53719
53727
  class: "Agent__btn Agent__btn--send",
53720
53728
  disabled: !lt.value,
53721
53729
  title: "发送",
53722
- onClick: bn
53730
+ onClick: Sn
53723
53731
  }, [...t[20] ||= [p("svg", {
53724
53732
  viewBox: "0 0 24 24",
53725
53733
  width: "18",
@@ -53749,6 +53757,6 @@ var cS = "data:image/webp;base64,UklGRpCHCABXRUJQVlA4WAoAAAASAAAA2wEAxAEAQU5JTQY
53749
53757
  }, null, 512), [[A, !bt.loading && !bt.error]]), bt.loading ? (C(), f("div", gC, "视频加载中...")) : bt.error ? (C(), f("div", _C, D(bt.error), 1)) : d("", !0)])])])) : d("", !0)]))], 64);
53750
53758
  };
53751
53759
  }
53752
- }), CC = /* @__PURE__ */ t({ default: () => wC }), wC = /* @__PURE__ */ Lt(SC, [["__scopeId", "data-v-36edb51d"]]);
53760
+ }), CC = /* @__PURE__ */ t({ default: () => wC }), wC = /* @__PURE__ */ Lt(SC, [["__scopeId", "data-v-cfca5d56"]]);
53753
53761
  //#endregion
53754
53762
  export { It as _, Fc as a, Ht as c, zt as d, Rt as f, kt as g, Ft as h, Ic as i, Vt as l, Et as m, sS as n, Pc as o, Lt as p, Lc as r, Ut as s, CC as t, Bt as u, Ct as v, Pt as y };
@@ -1,4 +1,4 @@
1
- import { g as e, m as t, o as n, p as r, s as i } from "./component-Agent-CAxRiXVu.mjs";
1
+ import { g as e, m as t, o as n, p as r, s as i } from "./component-Agent-DwXtdLhK.mjs";
2
2
  import { ElButton as a, ElCheckbox as o, ElDialog as s, ElTree as c } from "element-plus/es";
3
3
  import { Fragment as l, Teleport as u, Transition as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, nextTick as b, normalizeClass as x, normalizeStyle as ee, onBeforeUnmount as te, onMounted as ne, onUnmounted as re, openBlock as S, ref as C, renderList as w, toDisplayString as T, unref as ie, useAttrs as ae, vShow as oe, watch as E, withCtx as se, withDirectives as D, withModifiers as O } from "vue";
4
4
  import * as k from "echarts";
@@ -1,4 +1,4 @@
1
- import { g as e, p as t } from "./component-Agent-CAxRiXVu.mjs";
1
+ import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
2
2
  import { ElLoadingDirective as n } from "element-plus/es";
3
3
  import { Fragment as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createStaticVNode as s, defineComponent as c, getCurrentInstance as l, onMounted as u, openBlock as d, ref as f, renderList as p, toDisplayString as m, vModelRadio as h, withDirectives as g } from "vue";
4
4
  //#region src/assets/img/head.png
@@ -1,5 +1,5 @@
1
- import "./component-AqiMonitor-BJXlyOxH.mjs";
2
- import { g as e, p as t } from "./component-Agent-CAxRiXVu.mjs";
1
+ import "./component-AqiMonitor-CiRH3KK9.mjs";
2
+ import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
3
3
  import { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
4
4
  import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, unref as _, withCtx as v, withDirectives as y } from "vue";
5
5
  import * as b from "echarts";
@@ -1,5 +1,5 @@
1
- import "./component-AqiMonitor-BJXlyOxH.mjs";
2
- import { g as e, p as t } from "./component-Agent-CAxRiXVu.mjs";
1
+ import "./component-AqiMonitor-CiRH3KK9.mjs";
2
+ import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
3
3
  import { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
4
4
  import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, withCtx as _, withDirectives as v } from "vue";
5
5
  import * as y from "echarts";
@@ -1,5 +1,5 @@
1
- import "./component-AqiMonitor-BJXlyOxH.mjs";
2
- import { g as e, p as t } from "./component-Agent-CAxRiXVu.mjs";
1
+ import "./component-AqiMonitor-CiRH3KK9.mjs";
2
+ import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
3
3
  import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, createStaticVNode as a, createTextVNode as o, defineComponent as s, onBeforeUnmount as c, onMounted as l, openBlock as u, ref as d, toDisplayString as f } from "vue";
4
4
  //#region src/components/Duty/Duty.vue?vue&type=script&setup=true&lang.ts
5
5
  var p = { class: "Duty" }, m = { class: "duty-section" }, h = {
@@ -1,5 +1,5 @@
1
- import "./component-AqiMonitor-BJXlyOxH.mjs";
2
- import { g as e, p as t } from "./component-Agent-CAxRiXVu.mjs";
1
+ import "./component-AqiMonitor-CiRH3KK9.mjs";
2
+ import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
3
3
  import { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
4
4
  import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, withCtx as _, withDirectives as v } from "vue";
5
5
  import * as y from "echarts";
@@ -1,5 +1,5 @@
1
- import "./component-AqiMonitor-BJXlyOxH.mjs";
2
- import { g as e, p as t } from "./component-Agent-CAxRiXVu.mjs";
1
+ import "./component-AqiMonitor-CiRH3KK9.mjs";
2
+ import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
3
3
  import { ElLoadingDirective as n } from "element-plus/es";
4
4
  import { Fragment as r, computed as i, createElementBlock as a, createElementVNode as o, defineComponent as s, nextTick as c, normalizeStyle as l, onBeforeUnmount as u, onMounted as d, openBlock as f, ref as p, renderList as m, toDisplayString as h, vShow as g, withDirectives as _ } from "vue";
5
5
  import "element-plus/es/components/loading/style/css";
@@ -1,4 +1,4 @@
1
- import { g as e, p as t } from "./component-Agent-CAxRiXVu.mjs";
1
+ import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
2
2
  import { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
3
3
  import { Fragment as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createStaticVNode as u, createVNode as ee, defineComponent as d, getCurrentInstance as te, nextTick as f, normalizeClass as ne, normalizeStyle as re, onBeforeUnmount as ie, onMounted as ae, onUnmounted as oe, openBlock as p, ref as m, renderList as h, toDisplayString as g, withCtx as se, withDirectives as ce } from "vue";
4
4
  import * as _ from "echarts";
@@ -1,5 +1,5 @@
1
- import "./component-AqiMonitor-BJXlyOxH.mjs";
2
- import { g as e, p as t } from "./component-Agent-CAxRiXVu.mjs";
1
+ import "./component-AqiMonitor-CiRH3KK9.mjs";
2
+ import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
3
3
  import { ElIcon as n, ElLoadingDirective as r, ElRadio as i, ElRadioGroup as a } from "element-plus/es";
4
4
  import { Fragment as o, computed as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, mergeProps as ee, nextTick as m, normalizeClass as h, normalizeStyle as te, onBeforeUnmount as g, onMounted as ne, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, vShow as S, withCtx as C, withDirectives as w } from "vue";
5
5
  import { ArrowRight as T } from "@element-plus/icons-vue";