@blueking/ai-blueking 0.3.13 → 0.3.14

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.
@@ -52,28 +52,30 @@ const Vv = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAA
52
52
  您选择的文本内容: "The text content you selected",
53
53
  问小鲸: "Ask BK GPT",
54
54
  想对选中的文本做什么: "What do you want to do with the selected text?",
55
- translateShortcut: `You are a highly skilled AI trained in language translation. I would like you to translate the text delimited by triple quotes into Chinese language, ensuring that the translation is colloquial and authentic.
55
+ translateShortcut: `You are a highly skilled AI trained in language translation. I would like you to translate the text delimited by triple quotes (Translation of Chinese into English and other languages into Chinese), ensuring that the translation is colloquial and authentic.
56
56
  Only give me the output and nothing else. Do not wrap responses in quotes
57
57
  '''
58
58
  {{ SELECTED_TEXT }}
59
59
  '''
60
60
  `,
61
- explanationShortcut: `You are a professional explainer. Please provide a detailed explanation of "{{ SELECTED_TEXT }}". Your explanation should include: 1) basic meaning and conceptual explanation; 2) practical applications or use cases; 3) if it's a technical term, please provide relevant technical background; 4) where appropriate, provide specific examples to aid understanding. Use clear and accessible language to ensure non-experts can understand. If the word/phrase has multiple meanings, please list the main definitions. Keep your response concise and clear while ensuring completeness and accuracy of information.`
61
+ explanationShortcut: `You are a professional explainer. Please provide a detailed explanation of "{{ SELECTED_TEXT }}". Your explanation should include: 1) basic meaning and conceptual explanation; 2) practical applications or use cases; 3) if it's a technical term, please provide relevant technical background; 4) where appropriate, provide specific examples to aid understanding. Use clear and accessible language to ensure non-experts can understand. If the word/phrase has multiple meanings, please list the main definitions. Keep your response concise and clear while ensuring completeness and accuracy of information.`,
62
+ 翻译: "translate",
63
+ 解释: "explan"
62
64
  }, jh = {
63
- translateShortcut: `你是受过语言翻译训练的高技能人工智能。我想让你把用三引号分隔的文本翻译成中文,确保译文口语化、地道。
65
+ translateShortcut: `你是受过语言翻译训练的高技能人工智能。我想让你把用三引号分隔的文本翻译(中文翻译成英文,其他语言翻译成中文),确保译文口语化、地道。
64
66
  只给我输出结果,其他内容一概不要。请勿用引号将回复包起来
65
67
  '''
66
68
  {{ selected_text }}
67
69
  '''`,
68
70
  explanationShortcut: "您是一位专业的解释者。请详细解释“{{ SELECTED_TEXT }}”。您的解释应包括 1) 基本含义和概念解释;2) 实际应用或使用案例;3) 如果是技术术语,请提供相关技术背景;4) 适当时提供具体示例,以帮助理解。使用清晰易懂的语言,确保非专业人员也能理解。如果该词/短语有多种含义,请列出主要定义。在确保信息完整性和准确性的同时,请保持答复简洁明了。"
69
- }, nt = (e) => Mh !== "en" ? jh[e] || e : Ch[e] || e, Yv = [
71
+ }, Xe = (e) => Mh !== "en" ? jh[e] || e : Ch[e] || e, Yv = [
70
72
  {
71
- label: "翻译",
72
- prompt: nt("translateShortcut")
73
+ label: Xe("翻译"),
74
+ prompt: Xe("translateShortcut")
73
75
  },
74
76
  {
75
- label: "解释",
76
- prompt: nt("explanationShortcut")
77
+ label: Xe("解释"),
78
+ prompt: Xe("explanationShortcut")
77
79
  }
78
80
  ];
79
81
  var Pt = "top", Vt = "bottom", Yt = "right", kt = "left", Tu = "auto", Oa = [Pt, Vt, Yt, kt], Eo = "start", hi = "end", Nh = "clippingParents", Bv = "viewport", si = "popper", Th = "reference", Nf = /* @__PURE__ */ Oa.reduce(function(e, t) {
@@ -1942,7 +1944,7 @@ function Ju(e, t, n) {
1942
1944
  writable: !1
1943
1945
  }), e;
1944
1946
  }
1945
- function tt(e, t, n) {
1947
+ function nt(e, t, n) {
1946
1948
  return t = jy(t), t in e ? Object.defineProperty(e, t, {
1947
1949
  value: n,
1948
1950
  enumerable: !0,
@@ -1988,7 +1990,7 @@ const Tw = Nw({ createPopper: () => ry });
1988
1990
  var Lw = /* @__PURE__ */ function() {
1989
1991
  function e(t, n, r) {
1990
1992
  var o, i;
1991
- zu(this, e), tt(this, "isShow", !1), tt(this, "trigger", void 0), tt(this, "instance", void 0), tt(this, "always", !1), tt(this, "reference", void 0), tt(this, "referenceTarget", void 0), tt(this, "popperRefer", void 0), tt(this, "delay", 50), tt(this, "isInnerPopper", !1), tt(this, "disabled", !1), tt(this, "afterShow", null), tt(this, "afterHidden", null), tt(this, "appendTo", "parent"), tt(this, "container", null), tt(this, "fixOnBoundary", !1), this.instanceOptions = this.initDefaultOptions(r), this.reference = this.resolveInputSelectorToHtmlElement(t), this.popperRefer = this.resolveInputSelectorToHtmlElement(n), this.referenceTarget = this.getTargetReferenceElement(), this.container = (o = this.popperRefer) === null || o === void 0 ? void 0 : o.parentElement, this.isShow = !!((i = this.instanceOptions) !== null && i !== void 0 && i.isShow), this.always = this.instanceOptions.always, this.trigger = this.instanceOptions.trigger, this.disabled = this.instanceOptions.disabled, this.appendTo = this.instanceOptions.appendTo, this.afterHidden = typeof r.afterHidden == "function" ? r.afterHidden : function() {
1993
+ zu(this, e), nt(this, "isShow", !1), nt(this, "trigger", void 0), nt(this, "instance", void 0), nt(this, "always", !1), nt(this, "reference", void 0), nt(this, "referenceTarget", void 0), nt(this, "popperRefer", void 0), nt(this, "delay", 50), nt(this, "isInnerPopper", !1), nt(this, "disabled", !1), nt(this, "afterShow", null), nt(this, "afterHidden", null), nt(this, "appendTo", "parent"), nt(this, "container", null), nt(this, "fixOnBoundary", !1), this.instanceOptions = this.initDefaultOptions(r), this.reference = this.resolveInputSelectorToHtmlElement(t), this.popperRefer = this.resolveInputSelectorToHtmlElement(n), this.referenceTarget = this.getTargetReferenceElement(), this.container = (o = this.popperRefer) === null || o === void 0 ? void 0 : o.parentElement, this.isShow = !!((i = this.instanceOptions) !== null && i !== void 0 && i.isShow), this.always = this.instanceOptions.always, this.trigger = this.instanceOptions.trigger, this.disabled = this.instanceOptions.disabled, this.appendTo = this.instanceOptions.appendTo, this.afterHidden = typeof r.afterHidden == "function" ? r.afterHidden : function() {
1992
1994
  }, this.afterShow = typeof r.afterShow == "function" ? r.afterShow : function() {
1993
1995
  }, this.fixOnBoundary = this.instanceOptions.fixOnBoundary, this.initInstance(), this.registerEvents(), (this.isShow || this.always) && this.show(null);
1994
1996
  }
@@ -2568,9 +2570,9 @@ var bt;
2568
2570
  (function(e) {
2569
2571
  e.BOTTOM = "bottom", e.CONTENT = "content", e.NAVI = "navi", e.FULLSCREEN = "fullScreen", e.PLUGINS = "plugins", e.MODAL = "modal", e.MESSAGE = "message", e.POPPER = "popper";
2570
2572
  })(bt || (bt = {}));
2571
- var al = tt(tt(tt(tt(tt(tt(tt(tt({}, bt.BOTTOM, 0), bt.CONTENT, 1), bt.NAVI, 100), bt.FULLSCREEN, 1e3), bt.MODAL, 2e3), bt.PLUGINS, 5e3), bt.MESSAGE, 6e3), bt.POPPER, 8e3), aM = /* @__PURE__ */ function() {
2573
+ var al = nt(nt(nt(nt(nt(nt(nt(nt({}, bt.BOTTOM, 0), bt.CONTENT, 1), bt.NAVI, 100), bt.FULLSCREEN, 1e3), bt.MODAL, 2e3), bt.PLUGINS, 5e3), bt.MESSAGE, 6e3), bt.POPPER, 8e3), aM = /* @__PURE__ */ function() {
2572
2574
  function e() {
2573
- zu(this, e), tt(this, "storageLayerIndexValue", {}), this.copyDefaultValue();
2575
+ zu(this, e), nt(this, "storageLayerIndexValue", {}), this.copyDefaultValue();
2574
2576
  }
2575
2577
  return Ju(e, [{
2576
2578
  key: "getNextIndex",
@@ -2618,7 +2620,7 @@ var al = tt(tt(tt(tt(tt(tt(tt(tt({}, bt.BOTTOM, 0), bt.CONTENT, 1), bt.NAVI, 100
2618
2620
  value: function(n) {
2619
2621
  var r = this;
2620
2622
  Object.keys(n || {}).forEach(function(o) {
2621
- Object.prototype.hasOwnProperty.call(r.storageLayerIndexValue.__proto__, o) && Object.assign(r.storageLayerIndexValue.__proto__, tt({}, o, n[o]));
2623
+ Object.prototype.hasOwnProperty.call(r.storageLayerIndexValue.__proto__, o) && Object.assign(r.storageLayerIndexValue.__proto__, nt({}, o, n[o]));
2622
2624
  }), this.copyDefaultValue();
2623
2625
  }
2624
2626
  /**
@@ -2630,7 +2632,7 @@ var al = tt(tt(tt(tt(tt(tt(tt(tt({}, bt.BOTTOM, 0), bt.CONTENT, 1), bt.NAVI, 100
2630
2632
  value: function(n) {
2631
2633
  var r = this;
2632
2634
  Object.keys(n || {}).forEach(function(o) {
2633
- Object.prototype.hasOwnProperty.call(r.storageLayerIndexValue, o) && Object.assign(r.storageLayerIndexValue, tt({}, o, n[o]));
2635
+ Object.prototype.hasOwnProperty.call(r.storageLayerIndexValue, o) && Object.assign(r.storageLayerIndexValue, nt({}, o, n[o]));
2634
2636
  });
2635
2637
  }
2636
2638
  /**
@@ -2640,7 +2642,7 @@ var al = tt(tt(tt(tt(tt(tt(tt(tt({}, bt.BOTTOM, 0), bt.CONTENT, 1), bt.NAVI, 100
2640
2642
  key: "copyDefaultValue",
2641
2643
  value: function() {
2642
2644
  var n = Object.keys(al).reduce(function(r, o) {
2643
- return Object.assign(r, tt({}, o, {
2645
+ return Object.assign(r, nt({}, o, {
2644
2646
  value: al[o],
2645
2647
  writable: !0,
2646
2648
  configurable: !0
@@ -2664,7 +2666,7 @@ function Yf(e) {
2664
2666
  for (var t = 1; t < arguments.length; t++) {
2665
2667
  var n = arguments[t] != null ? arguments[t] : {};
2666
2668
  t % 2 ? Vf(Object(n), !0).forEach(function(r) {
2667
- tt(e, r, n[r]);
2669
+ nt(e, r, n[r]);
2668
2670
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Vf(Object(n)).forEach(function(r) {
2669
2671
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
2670
2672
  });
@@ -13614,11 +13616,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13614
13616
  }), Ge = (0, h.ref)(!1), Ue = (0, h.ref)({}), $e = function() {
13615
13617
  if (P.value)
13616
13618
  if (I.autosize) {
13617
- var K, Ne, Ee = (K = I.autosize) === null || K === void 0 ? void 0 : K.minRows, Je = (Ne = I.autosize) === null || Ne === void 0 ? void 0 : Ne.maxRows, Xe = B(Ce.value, Ee, Je);
13619
+ var K, Ne, Ee = (K = I.autosize) === null || K === void 0 ? void 0 : K.minRows, Je = (Ne = I.autosize) === null || Ne === void 0 ? void 0 : Ne.maxRows, qe = B(Ce.value, Ee, Je);
13618
13620
  Ue.value = ee({
13619
13621
  overflowY: "hidden"
13620
- }, Xe), (0, h.nextTick)(function() {
13621
- Ue.value = Xe;
13622
+ }, qe), (0, h.nextTick)(function() {
13623
+ Ue.value = qe;
13622
13624
  });
13623
13625
  } else
13624
13626
  Ue.value = {
@@ -13778,8 +13780,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13778
13780
  return;
13779
13781
  }
13780
13782
  }
13781
- if (oe === se.KEYDOWN && (K.code === "Enter" || K.key === "Enter" || K.keyCode === 13) && T.emit(se.ENTER, sn.value ? ge(K.target.value, 0) : K.target.value, K), !(D.value && [se.INPUT, se.CHANGE, se.KEYDOWN].some(function(Xe) {
13782
- return oe === Xe;
13783
+ if (oe === se.KEYDOWN && (K.code === "Enter" || K.key === "Enter" || K.keyCode === 13) && T.emit(se.ENTER, sn.value ? ge(K.target.value, 0) : K.target.value, K), !(D.value && [se.INPUT, se.CHANGE, se.KEYDOWN].some(function(qe) {
13784
+ return oe === qe;
13783
13785
  }))) {
13784
13786
  if (oe === se.INPUT)
13785
13787
  T.emit(se.UPDATE, K.target.value, K);
@@ -13792,7 +13794,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13792
13794
  }
13793
13795
  };
13794
13796
  }
13795
- var ze = [se.KEYUP, se.KEYDOWN, se.KEYPRESS, se.PASTE, se.CHANGE, se.INPUT].map(Fr), Ie = a(ze, 6), qe = Ie[0], He = Ie[1], It = Ie[2], N = Ie[3], g = Ie[4], F = Ie[5];
13797
+ var ze = [se.KEYUP, se.KEYDOWN, se.KEYPRESS, se.PASTE, se.CHANGE, se.INPUT].map(Fr), Ie = a(ze, 6), et = Ie[0], He = Ie[1], It = Ie[2], N = Ie[3], g = Ie[4], F = Ie[5];
13796
13798
  function U() {
13797
13799
  D.value = !0;
13798
13800
  }
@@ -13800,10 +13802,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13800
13802
  D.value = !1, F(oe);
13801
13803
  }
13802
13804
  function ge(oe, K) {
13803
- var Ne = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, Ee = Number(K), Je = Number.isInteger(I.precision) ? I.precision : 0, Xe = Number(oe), ct = Number.isInteger(Ee) ? Ee : 1;
13804
- if (Number.isNaN(Xe))
13805
+ var Ne = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, Ee = Number(K), Je = Number.isInteger(I.precision) ? I.precision : 0, qe = Number(oe), ct = Number.isInteger(Ee) ? Ee : 1;
13806
+ if (Number.isNaN(qe))
13805
13807
  return Number.isInteger(I.min) ? I.min : 0;
13806
- var ft = Xe + (Ne ? ct : -1 * ct);
13808
+ var ft = qe + (Ne ? ct : -1 * ct);
13807
13809
  return Number.isInteger(I.max) && (ft = Math.min(ft, I.max)), Number.isInteger(I.min) && (ft = Math.max(ft, I.min)), +ft.toFixed(Je);
13808
13810
  }
13809
13811
  function je(oe) {
@@ -13839,12 +13841,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13839
13841
  onChange: g,
13840
13842
  onKeypress: It,
13841
13843
  onKeydown: He,
13842
- onKeyup: qe,
13844
+ onKeyup: et,
13843
13845
  onCompositionstart: U,
13844
13846
  onCompositionend: ae
13845
13847
  };
13846
13848
  return function() {
13847
- var oe, K, Ne, Ee, Je, Xe;
13849
+ var oe, K, Ne, Ee, Je, qe;
13848
13850
  return (0, h.withDirectives)((0, h.createVNode)("div", {
13849
13851
  class: Re.value,
13850
13852
  style: fe
@@ -13880,7 +13882,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13880
13882
  }, null), (0, h.createVNode)(ne.DownSmall, {
13881
13883
  class: ir.value,
13882
13884
  onClick: de
13883
- }, null)]), (Ee = (Je = T.slots) === null || Je === void 0 || (Xe = Je.suffix) === null || Xe === void 0 ? void 0 : Xe.call(Je)) !== null && Ee !== void 0 ? Ee : I.suffix && (0, h.createVNode)("div", {
13885
+ }, null)]), (Ee = (Je = T.slots) === null || Je === void 0 || (qe = Je.suffix) === null || qe === void 0 ? void 0 : qe.call(Je)) !== null && Ee !== void 0 ? Ee : I.suffix && (0, h.createVNode)("div", {
13884
13886
  class: pe("suffix-area")
13885
13887
  }, [(0, h.createVNode)("span", {
13886
13888
  class: pe("suffix-area--text")
@@ -14768,7 +14770,7 @@ var G6 = (e) => {
14768
14770
  var t = {};
14769
14771
  return Yn.d(t, e), t;
14770
14772
  };
14771
- const et = G6({ computed: () => k.computed, defineComponent: () => k.defineComponent, h: () => k.h, nextTick: () => k.nextTick, onMounted: () => k.onMounted, onUnmounted: () => k.onUnmounted, reactive: () => k.reactive, ref: () => k.ref, watch: () => k.watch });
14773
+ const tt = G6({ computed: () => k.computed, defineComponent: () => k.defineComponent, h: () => k.h, nextTick: () => k.nextTick, onMounted: () => k.onMounted, onUnmounted: () => k.onUnmounted, reactive: () => k.reactive, ref: () => k.ref, watch: () => k.watch });
14772
14774
  var $6 = (e) => {
14773
14775
  var t = {};
14774
14776
  return Yn.d(t, e), t;
@@ -15070,7 +15072,7 @@ const eE = function(e, t) {
15070
15072
  translateX: _,
15071
15073
  pos: A
15072
15074
  }]);
15073
- }, i = null, l = (0, et.computed)(function() {
15075
+ }, i = null, l = (0, tt.computed)(function() {
15074
15076
  return {
15075
15077
  lineHeight: e.lineHeight,
15076
15078
  handleScrollCallback: o,
@@ -15078,7 +15080,7 @@ const eE = function(e, t) {
15078
15080
  throttleDelay: e.throttleDelay,
15079
15081
  onlyScroll: e.scrollEvent
15080
15082
  };
15081
- }), a = (0, et.ref)(null), s = (0, et.computed)(function() {
15083
+ }), a = (0, tt.ref)(null), s = (0, tt.computed)(function() {
15082
15084
  var y, d = typeof e.height == "number" ? "".concat(e.height, "px") : e.height;
15083
15085
  return q6({
15084
15086
  height: d,
@@ -15090,15 +15092,15 @@ const eE = function(e, t) {
15090
15092
  return t.expose({
15091
15093
  scrollTo: c,
15092
15094
  fixToTop: f
15093
- }), (0, et.onMounted)(function() {
15095
+ }), (0, tt.onMounted)(function() {
15094
15096
  i = new nf(l, a.value), i.install();
15095
- }), (0, et.onUnmounted)(function() {
15097
+ }), (0, tt.onUnmounted)(function() {
15096
15098
  var y;
15097
15099
  (y = i) === null || y === void 0 || y.uninstall();
15098
15100
  }), {
15099
15101
  rendAsTag: function() {
15100
15102
  var d, v, p, b, h, _, A, z, S, Q, Z, H;
15101
- return (0, et.h)(
15103
+ return (0, tt.h)(
15102
15104
  // @ts-ignore:next-line
15103
15105
  n,
15104
15106
  {
@@ -15106,7 +15108,7 @@ const eE = function(e, t) {
15106
15108
  style: s.value,
15107
15109
  ref: a
15108
15110
  },
15109
- [(d = (v = (p = t.slots).beforeContent) === null || v === void 0 ? void 0 : v.call(p)) !== null && d !== void 0 ? d : "", (0, et.h)(r, {
15111
+ [(d = (v = (p = t.slots).beforeContent) === null || v === void 0 ? void 0 : v.call(p)) !== null && d !== void 0 ? d : "", (0, tt.h)(r, {
15110
15112
  class: e.contentClassName,
15111
15113
  style: e.contentStyle
15112
15114
  }, [(b = (h = (_ = t.slots).default) === null || h === void 0 ? void 0 : h.call(_, {
@@ -15137,7 +15139,7 @@ function oo(e) {
15137
15139
  }
15138
15140
  return e;
15139
15141
  }
15140
- const tE = (0, et.defineComponent)({
15142
+ const tE = (0, tt.defineComponent)({
15141
15143
  name: "VirtualRender",
15142
15144
  directives: {
15143
15145
  bkVirtualRender: X6
@@ -15153,14 +15155,14 @@ const tE = (0, et.defineComponent)({
15153
15155
  var a = eE(t, n), s = a.rendAsTag;
15154
15156
  return s;
15155
15157
  }
15156
- var u = (0, et.computed)(function() {
15158
+ var u = (0, tt.computed)(function() {
15157
15159
  return {
15158
15160
  lineHeight: t.lineHeight,
15159
15161
  handleScrollCallback: v,
15160
15162
  pagination: y,
15161
15163
  throttleDelay: t.throttleDelay
15162
15164
  };
15163
- }), c = (0, et.ref)(null), f = null, y = (0, et.reactive)({
15165
+ }), c = (0, tt.ref)(null), f = null, y = (0, tt.reactive)({
15164
15166
  startIndex: 0,
15165
15167
  endIndex: 0,
15166
15168
  scrollTop: 1,
@@ -15170,7 +15172,7 @@ const tE = (0, et.defineComponent)({
15170
15172
  count: 0,
15171
15173
  pos: {},
15172
15174
  groupItemCount: t.groupItemCount
15173
- }), d = (0, et.ref)([]), v = function(G, ee, ye, se, L, w, j) {
15175
+ }), d = (0, tt.ref)([]), v = function(G, ee, ye, se, L, w, j) {
15174
15176
  var C = w;
15175
15177
  Object.assign(y, {
15176
15178
  startIndex: ee,
@@ -15189,15 +15191,15 @@ const tE = (0, et.defineComponent)({
15189
15191
  var I = z.value.slice(m, x + 10);
15190
15192
  d.value = I, G && n.emit("content-scroll", [G, y]);
15191
15193
  };
15192
- (0, et.onMounted)(function() {
15194
+ (0, tt.onMounted)(function() {
15193
15195
  f = new nf(u, c.value), f.install();
15194
- }), (0, et.onUnmounted)(function() {
15196
+ }), (0, tt.onUnmounted)(function() {
15195
15197
  var R;
15196
15198
  (R = f) === null || R === void 0 || R.uninstall();
15197
15199
  });
15198
15200
  var p = function() {
15199
15201
  _(t.list);
15200
- }, b = (0, et.ref)(0), h = (0, et.ref)(0), _ = function(G) {
15202
+ }, b = (0, tt.ref)(0), h = (0, tt.ref)(0), _ = function(G) {
15201
15203
  b.value = Math.ceil((G || []).length / t.groupItemCount), y.count = b.value;
15202
15204
  var ee = typeof t.abosuteHeight == "string" && t.abosuteHeight === "auto";
15203
15205
  if (ee)
@@ -15214,23 +15216,23 @@ const tE = (0, et.defineComponent)({
15214
15216
  h.value = t.abosuteHeight;
15215
15217
  }, A = function() {
15216
15218
  var G = c.value;
15217
- (0, et.nextTick)(function() {
15219
+ (0, tt.nextTick)(function() {
15218
15220
  m0(t.lineHeight, v, y, G, {
15219
15221
  target: G
15220
15222
  });
15221
15223
  });
15222
- }, z = (0, et.computed)(function() {
15224
+ }, z = (0, tt.computed)(function() {
15223
15225
  return t.rowKey !== void 0 ? t.list : (t.list || []).map(function(R, G) {
15224
15226
  return oo(oo({}, R), {}, {
15225
15227
  $index: G
15226
15228
  });
15227
15229
  });
15228
- }), S = (0, et.computed)(function() {
15230
+ }), S = (0, tt.computed)(function() {
15229
15231
  return t.scrollPosition === "content" ? {
15230
15232
  top: "".concat(y.scrollTop + t.scrollOffsetTop, "px"),
15231
15233
  transform: "translateY(-".concat(y.translateY, "px)")
15232
15234
  } : {};
15233
- }), Q = (0, et.computed)(function() {
15235
+ }), Q = (0, tt.computed)(function() {
15234
15236
  var R, G = typeof t.height == "number" ? "".concat(t.height, "px") : t.height;
15235
15237
  return oo(oo({
15236
15238
  height: G,
@@ -15238,24 +15240,24 @@ const tE = (0, et.defineComponent)({
15238
15240
  display: "inline-block",
15239
15241
  maxHeight: (R = t.maxHeight) !== null && R !== void 0 ? R : G
15240
15242
  }, t.scrollPosition === "container" ? S.value : {}), t.wrapperStyle);
15241
- }), Z = (0, et.computed)(function() {
15243
+ }), Z = (0, tt.computed)(function() {
15242
15244
  var R = typeof t.abosuteHeight == "number" && t.abosuteHeight === 0;
15243
15245
  return {
15244
15246
  height: "".concat(h.value < t.minHeight ? t.minHeight : h.value, "px"),
15245
15247
  display: R ? "none" : "block"
15246
15248
  };
15247
- }), H = (0, W6.usePrefix)(), ne = H.resolveClassName, V = (0, et.computed)(function() {
15249
+ }), H = (0, W6.usePrefix)(), ne = H.resolveClassName, V = (0, tt.computed)(function() {
15248
15250
  return [ne("virtual-render"), t.scrollXName, t.scrollYName].concat(Ev(l(t.className)), [t.scrollPosition === "container" ? ne("virtual-content") : ""]);
15249
- }), le = (0, et.computed)(function() {
15251
+ }), le = (0, tt.computed)(function() {
15250
15252
  return [t.scrollPosition === "content" ? ne("virtual-content") : ""].concat(Ev(l(t.contentClassName)));
15251
15253
  }), q = function() {
15252
15254
  p(), A();
15253
15255
  }, $ = g0(t, c), B = $.scrollTo, J = $.fixToTop;
15254
- return (0, et.watch)(function() {
15256
+ return (0, tt.watch)(function() {
15255
15257
  return [t.lineHeight, t.height, t.list, t.maxHeight];
15256
15258
  }, function() {
15257
15259
  var R;
15258
- (R = f) === null || R === void 0 || R.setBinding(u), p(), (0, et.nextTick)(function() {
15260
+ (R = f) === null || R === void 0 || R.setBinding(u), p(), (0, tt.nextTick)(function() {
15259
15261
  A();
15260
15262
  });
15261
15263
  }, {
@@ -15267,7 +15269,7 @@ const tE = (0, et.defineComponent)({
15267
15269
  fixToTop: J
15268
15270
  }), function() {
15269
15271
  var R, G, ee, ye, se, L, w, j, C, m, x, Y;
15270
- return (0, et.h)(
15272
+ return (0, tt.h)(
15271
15273
  // @ts-ignore:next-line
15272
15274
  o || "div",
15273
15275
  {
@@ -15275,12 +15277,12 @@ const tE = (0, et.defineComponent)({
15275
15277
  class: V.value,
15276
15278
  style: Q.value
15277
15279
  },
15278
- [(R = (G = (ee = n.slots).beforeContent) === null || G === void 0 ? void 0 : G.call(ee)) !== null && R !== void 0 ? R : "", (0, et.h)(i || "div", {
15280
+ [(R = (G = (ee = n.slots).beforeContent) === null || G === void 0 ? void 0 : G.call(ee)) !== null && R !== void 0 ? R : "", (0, tt.h)(i || "div", {
15279
15281
  class: le.value,
15280
15282
  style: oo(oo({}, S.value), t.contentStyle)
15281
15283
  }, [(ye = (se = (L = n.slots).default) === null || se === void 0 ? void 0 : se.call(L, {
15282
15284
  data: d.value
15283
- })) !== null && ye !== void 0 ? ye : ""]), (w = (j = (C = n.slots).afterContent) === null || j === void 0 ? void 0 : j.call(C)) !== null && w !== void 0 ? w : "", (0, et.h)("div", {
15285
+ })) !== null && ye !== void 0 ? ye : ""]), (w = (j = (C = n.slots).afterContent) === null || j === void 0 ? void 0 : j.call(C)) !== null && w !== void 0 ? w : "", (0, tt.h)("div", {
15284
15286
  class: [ne("virtual-section")],
15285
15287
  style: Z.value
15286
15288
  }), (m = (x = (Y = n.slots).afterSection) === null || x === void 0 ? void 0 : x.call(Y)) !== null && m !== void 0 ? m : ""]
@@ -16053,7 +16055,7 @@ var za = {};
16053
16055
  });
16054
16056
  }), Je = (0, a.computed)(function() {
16055
16057
  return K == null ? void 0 : K.multiple;
16056
- }), Xe = (0, a.computed)(function() {
16058
+ }), qe = (0, a.computed)(function() {
16057
16059
  return (K == null ? void 0 : K.activeOptionValue) === oe.value;
16058
16060
  }), ct = (0, a.computed)(function() {
16059
16061
  return (K == null ? void 0 : K.showSelectedIcon) && Je.value;
@@ -16090,7 +16092,7 @@ var za = {};
16090
16092
  return J(J({}, (0, a.toRefs)(je)), {}, {
16091
16093
  selected: Ee,
16092
16094
  multiple: Je,
16093
- isHover: Xe,
16095
+ isHover: qe,
16094
16096
  showSelectedIcon: ct,
16095
16097
  selectedStyle: ft,
16096
16098
  optionName: Oe,
@@ -17315,7 +17317,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17315
17317
  }, Je = function() {
17316
17318
  var Qe;
17317
17319
  (Qe = oe.value) === null || Qe === void 0 || Qe.focus();
17318
- }, Xe = function() {
17320
+ }, qe = function() {
17319
17321
  var Qe;
17320
17322
  (Qe = oe.value) === null || Qe === void 0 || Qe.blur();
17321
17323
  }, ct = function(Qe) {
@@ -17363,7 +17365,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17363
17365
  overflowContent: Ne,
17364
17366
  handleRemoveTag: Ee,
17365
17367
  focus: Je,
17366
- blur: Xe,
17368
+ blur: qe,
17367
17369
  handleInput: ct,
17368
17370
  handleKeydown: ft,
17369
17371
  resolveClassName: ge
@@ -17379,7 +17381,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17379
17381
  }, [(U = this.$slots) === null || U === void 0 || (ae = U.prefix) === null || ae === void 0 ? void 0 : ae.call(U), (0, a.createVNode)("div", {
17380
17382
  class: K
17381
17383
  }, [(ge = (je = (de = this.$slots).default) === null || je === void 0 ? void 0 : je.call(de)) !== null && ge !== void 0 ? ge : this.selected.map(function(Ee, Je) {
17382
- var Xe;
17384
+ var qe;
17383
17385
  return (0, a.createVNode)(Br.default, {
17384
17386
  closable: !0,
17385
17387
  theme: pe.tagTheme,
@@ -17394,7 +17396,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17394
17396
  }
17395
17397
  }, {
17396
17398
  default: function() {
17397
- return [(Xe = pe.select) === null || Xe === void 0 ? void 0 : Xe.handleGetLabelByValue(Ee.value)];
17399
+ return [(qe = pe.select) === null || qe === void 0 ? void 0 : qe.handleGetLabelByValue(Ee.value)];
17398
17400
  }
17399
17401
  });
17400
17402
  }), (0, a.withDirectives)((0, a.createVNode)(Br.default, {
@@ -17495,7 +17497,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17495
17497
  }
17496
17498
  return N;
17497
17499
  }
17498
- const qe = (0, a.defineComponent)({
17500
+ const et = (0, a.defineComponent)({
17499
17501
  name: "Select",
17500
17502
  directives: {
17501
17503
  clickoutside: I.clickoutside
@@ -17552,7 +17554,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17552
17554
  },
17553
17555
  emits: ["update:modelValue", "change", "toggle", "clear", "scroll-end", "focus", "blur", "tag-remove", "select", "deselect", "search-change"],
17554
17556
  setup: function(g, F) {
17555
- var U = F.emit, ae = (0, v.useLocale)("select"), ge = (0, v.usePrefix)(), je = ge.resolveClassName, de = (0, a.toRefs)(g), pe = de.modelValue, Ze = de.disabled, De = de.filterable, Oe = de.multiple, oe = de.remoteMethod, K = de.loading, Ne = de.popoverMinWidth, Ee = de.showOnInit, Je = de.multipleMode, Xe = de.allowCreate, ct = de.customContent, ft = de.showSelectedIcon, un = de.inputSearch, Qt = de.enableVirtualRender, Kr = de.showSelectAll, Xr = de.showAll, lr = de.allOptionId, Jn = de.scrollHeight, qt = de.list, dt = de.displayKey, Qe = de.idKey, Rt = de.collapseTags, vt = de.autoHeight, qr = de.popoverOptions, en = de.allowEmptyValues, cn = de.autoFocus, Tr = de.keepSearchValue, eo = de.selectedStyle, Ps = de.filterOption, N0 = de.searchWithPinyin, T0 = de.highlightKeyword, L0 = de.disableFocusBehavior, O0 = (0, a.computed)(function() {
17557
+ var U = F.emit, ae = (0, v.useLocale)("select"), ge = (0, v.usePrefix)(), je = ge.resolveClassName, de = (0, a.toRefs)(g), pe = de.modelValue, Ze = de.disabled, De = de.filterable, Oe = de.multiple, oe = de.remoteMethod, K = de.loading, Ne = de.popoverMinWidth, Ee = de.showOnInit, Je = de.multipleMode, qe = de.allowCreate, ct = de.customContent, ft = de.showSelectedIcon, un = de.inputSearch, Qt = de.enableVirtualRender, Kr = de.showSelectAll, Xr = de.showAll, lr = de.allOptionId, Jn = de.scrollHeight, qt = de.list, dt = de.displayKey, Qe = de.idKey, Rt = de.collapseTags, vt = de.autoHeight, qr = de.popoverOptions, en = de.allowEmptyValues, cn = de.autoFocus, Tr = de.keepSearchValue, eo = de.selectedStyle, Ps = de.filterOption, N0 = de.searchWithPinyin, T0 = de.highlightKeyword, L0 = de.disableFocusBehavior, O0 = (0, a.computed)(function() {
17556
17558
  return g.noDataText === void 0 ? ae.value.noData : g.noDataText;
17557
17559
  }), S0 = (0, a.computed)(function() {
17558
17560
  return g.noMatchText === void 0 ? ae.value.noMatchedData : g.noMatchText;
@@ -17657,7 +17659,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17657
17659
  }, ii = V({
17658
17660
  popoverMinWidth: Ne.value
17659
17661
  }, Qa), bf = ii.popperWidth, Or = ii.isPopoverShow, ai = ii.hidePopover, If = ii.showPopover, U0 = ii.togglePopover, F0 = (0, a.computed)(function() {
17660
- return (De.value && un.value || Xe.value) && Or.value;
17662
+ return (De.value && un.value || qe.value) && Or.value;
17661
17663
  });
17662
17664
  (0, a.watch)(Or, function(Me) {
17663
17665
  U("toggle", Or.value), Me ? (document.addEventListener("keydown", Cf), setTimeout(function() {
@@ -17711,7 +17713,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17711
17713
  De.value && (li.value = ie);
17712
17714
  }, th = function(ie, ve) {
17713
17715
  var we = String(ie);
17714
- if (!(!Xe.value || !we)) {
17716
+ if (!(!qe.value || !we)) {
17715
17717
  ve.stopPropagation(), ve.preventDefault();
17716
17718
  var Ve = tn.value.find(function(Ct) {
17717
17719
  return q(String(Ct.optionName)) === q(we);
@@ -17756,7 +17758,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17756
17758
  }
17757
17759
  }, to = function() {
17758
17760
  L0.value || setTimeout(function() {
17759
- if (!un.value && !Xe.value) {
17761
+ if (!un.value && !qe.value) {
17760
17762
  var ie;
17761
17763
  (ie = Ra.value) === null || ie === void 0 || ie.focus();
17762
17764
  } else if (Je.value === "tag") {
@@ -17884,7 +17886,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17884
17886
  }
17885
17887
  case "Enter": {
17886
17888
  var Sr = ie.target.value;
17887
- if (Xe.value && Sr || ie.target === Ra.value)
17889
+ if (qe.value && Sr || ie.target === Ra.value)
17888
17890
  return;
17889
17891
  var Gs = Qn.value.get(Lr.value);
17890
17892
  Va(Gs);
@@ -18141,7 +18143,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18141
18143
  ref: "virtualRenderRef"
18142
18144
  }, {
18143
18145
  default: function(Je) {
18144
- var Xe, ct, ft = Je.data, un = ((Xe = g.$slots) === null || Xe === void 0 ? void 0 : Xe.optionRender) || ((ct = g.$slots) === null || ct === void 0 ? void 0 : ct.virtualScrollRender);
18146
+ var qe, ct, ft = Je.data, un = ((qe = g.$slots) === null || qe === void 0 ? void 0 : qe.optionRender) || ((ct = g.$slots) === null || ct === void 0 ? void 0 : ct.virtualScrollRender);
18145
18147
  return ft.map(function(Qt) {
18146
18148
  return (0, a.createVNode)(R, {
18147
18149
  key: Qt[g.idKey],
@@ -18198,7 +18200,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18198
18200
  })]);
18199
18201
  }
18200
18202
  });
18201
- var He = (0, t.withInstallProps)(qe, {
18203
+ var He = (0, t.withInstallProps)(et, {
18202
18204
  Option: R,
18203
18205
  Group: m
18204
18206
  });
@@ -19330,14 +19332,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
19330
19332
  }, Tt = function(Ie) {
19331
19333
  Ie.preventDefault(), Ie.stopPropagation(), it.value = !1;
19332
19334
  }, sn, Xt = (0, i.ref)(null), En = function(Ie) {
19333
- var qe = Ie;
19335
+ var et = Ie;
19334
19336
  if (e(Ie) === "object")
19335
19337
  try {
19336
- qe = JSON.stringify(Ie);
19338
+ et = JSON.stringify(Ie);
19337
19339
  } catch (He) {
19338
19340
  console.error("JSON.stringify Error: ".concat(He));
19339
19341
  }
19340
- return qe;
19342
+ return et;
19341
19343
  }, rr = function() {
19342
19344
  var Ie = new (Q())($e.value, {
19343
19345
  text: function() {
@@ -19345,7 +19347,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
19345
19347
  }
19346
19348
  });
19347
19349
  _n(Ie);
19348
- }, _n = function(Ie, qe) {
19350
+ }, _n = function(Ie, et) {
19349
19351
  ["success", "error"].forEach(function(He) {
19350
19352
  Ie.on(He, function(It) {
19351
19353
  var N = Ue.value;
@@ -19368,16 +19370,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
19368
19370
  });
19369
19371
  _n(Ie);
19370
19372
  }, An = function(Ie) {
19371
- var qe = Ie;
19373
+ var et = Ie;
19372
19374
  if (typeof Ie == "string")
19373
19375
  try {
19374
- qe = JSON.parse(Ie);
19376
+ et = JSON.parse(Ie);
19375
19377
  } catch (He) {
19376
19378
  console.error("Format Json Error: ".concat(He));
19377
19379
  }
19378
- return qe;
19379
- }, or = function(Ie, qe) {
19380
- if (rt.isDetailShow = qe ?? !rt.isDetailShow, ir(Ie, rt.isDetailShow), rt.isDetailShow && e(m.message) === "object" && !(0, i.isVNode)(m.message)) {
19380
+ return et;
19381
+ }, or = function(Ie, et) {
19382
+ if (rt.isDetailShow = et ?? !rt.isDetailShow, ir(Ie, rt.isDetailShow), rt.isDetailShow && e(m.message) === "object" && !(0, i.isVNode)(m.message)) {
19381
19383
  if (m.message.type === ee.JSON || !m.message.type) {
19382
19384
  var He = An(m.message.details), It = new (H())(He);
19383
19385
  setTimeout(function() {
@@ -19388,11 +19390,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
19388
19390
  rr(), jr();
19389
19391
  }), O("detail", rt.isDetailShow, m.id);
19390
19392
  }
19391
- }, ir = function(Ie, qe) {
19392
- rt.isFix = qe ?? !rt.isFix;
19393
+ }, ir = function(Ie, et) {
19394
+ rt.isFix = et ?? !rt.isFix;
19393
19395
  }, Vr = function() {
19394
- var Ie = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, qe = e(m.message) === "object" && !(0, i.isVNode)(m.message);
19395
- if (qe) {
19396
+ var Ie = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, et = e(m.message) === "object" && !(0, i.isVNode)(m.message);
19397
+ if (et) {
19396
19398
  if (Ie) {
19397
19399
  document.removeEventListener("keydown", ar);
19398
19400
  return;
@@ -19471,20 +19473,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
19471
19473
  var ge = Reflect.apply(He.onClick, Y, []);
19472
19474
  (e(ge) === void 0 || ge) && typeof g == "function" && Reflect.apply(g, Y, []);
19473
19475
  }, F) : (F.onClick = g, F);
19474
- }), qe = Ur.filter(function(He) {
19476
+ }), et = Ur.filter(function(He) {
19475
19477
  return !Ie.some(function(It) {
19476
19478
  return It.id === He;
19477
19479
  });
19478
19480
  }).map(function(He) {
19479
19481
  return zn.value[He];
19480
19482
  });
19481
- return Ie.push.apply(Ie, z(qe)), Ie;
19483
+ return Ie.push.apply(Ie, z(et)), Ie;
19482
19484
  }
19483
19485
  return Ur.map(function(He) {
19484
19486
  return zn.value[He];
19485
19487
  });
19486
19488
  }), Fr = function() {
19487
- var Ie, qe, He = function(U) {
19489
+ var Ie, et, He = function(U) {
19488
19490
  var ae = U.icon;
19489
19491
  return typeof ae == "function" ? Reflect.apply(ae, Y, []) : (0, i.createVNode)("span", {
19490
19492
  class: ae
@@ -19512,7 +19514,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
19512
19514
  }, [He(U), It(U)]);
19513
19515
  });
19514
19516
  };
19515
- return (Ie = (qe = I.action) === null || qe === void 0 ? void 0 : qe.call(I)) !== null && Ie !== void 0 ? Ie : g();
19517
+ return (Ie = (et = I.action) === null || et === void 0 ? void 0 : et.call(I)) !== null && Ie !== void 0 ? Ie : g();
19516
19518
  };
19517
19519
  return T({
19518
19520
  setDetailsShow: or
@@ -19702,7 +19704,7 @@ const IE = { class: "ai-cite" }, wE = { class: "ai-cite-text" }, ME = { class: "
19702
19704
  ke(
19703
19705
  "span",
19704
19706
  ME,
19705
- xt(Pe(nt)("您选择的文本内容")),
19707
+ xt(Pe(Xe)("您选择的文本内容")),
19706
19708
  1
19707
19709
  /* TEXT */
19708
19710
  ),
@@ -19741,7 +19743,7 @@ const IE = { class: "ai-cite" }, wE = { class: "ai-cite-text" }, ME = { class: "
19741
19743
  }, [
19742
19744
  NE,
19743
19745
  La(
19744
- " " + xt(Pe(nt)("返回最新")),
19746
+ " " + xt(Pe(Xe)("返回最新")),
19745
19747
  1
19746
19748
  /* TEXT */
19747
19749
  )
@@ -19951,7 +19953,7 @@ const SE = /* @__PURE__ */ Ft({
19951
19953
  return ((H = n.prompts) == null ? void 0 : H.filter((ne) => ne.content.includes(s.value))) || [];
19952
19954
  }), d = $n(() => {
19953
19955
  var H;
19954
- return n.placeholder ? n.placeholder : (H = n.prompts) != null && H.length ? nt("您可以键入 “/” 查看更多Prompt") : nt("请输入");
19956
+ return n.placeholder ? n.placeholder : (H = n.prompts) != null && H.length ? Xe("您可以键入 “/” 查看更多Prompt") : Xe("请输入");
19955
19957
  }), v = (H) => {
19956
19958
  r("update:value", H), r("change-prompt", H);
19957
19959
  }, p = () => {
@@ -20153,7 +20155,7 @@ const SE = /* @__PURE__ */ Ft({
20153
20155
  }, [
20154
20156
  n_,
20155
20157
  La(
20156
- " " + xt(Pe(nt)("终止生成")),
20158
+ " " + xt(Pe(Xe)("终止生成")),
20157
20159
  1
20158
20160
  /* TEXT */
20159
20161
  )
@@ -20171,17 +20173,17 @@ const SE = /* @__PURE__ */ Ft({
20171
20173
  const t = e, n = $n(() => {
20172
20174
  var l;
20173
20175
  const r = cl(t.message.time), o = cl(), i = {
20174
- 0: nt("日"),
20175
- 1: nt("一"),
20176
- 2: nt("二"),
20177
- 3: nt("三"),
20178
- 4: nt("四"),
20179
- 5: nt("五"),
20180
- 6: nt("六")
20176
+ 0: Xe("日"),
20177
+ 1: Xe("一"),
20178
+ 2: Xe("二"),
20179
+ 3: Xe("三"),
20180
+ 4: Xe("四"),
20181
+ 5: Xe("五"),
20182
+ 6: Xe("六")
20181
20183
  };
20182
20184
  return !t.message.time || (l = window.showTimes) != null && l.some(
20183
20185
  (a) => Math.abs(r.diff(a, "minute")) < 10 && a !== t.message.time
20184
- ) ? "" : (window.showTimes = [...window.showTimes || [], t.message.time], o.isSame(r, "day") ? r.format("HH:mm:ss") : o.subtract(1, "day").isSame(r, "week") ? nt("昨天") + " " + r.format("HH:mm:ss") : o.isSame(r, "week") ? nt("本周") + i[r.day()] + " " + r.format("HH:mm:ss") : o.subtract(1, "week").isSame(r, "week") ? nt("上周") + i[r.day()] + " " + r.format("HH:mm:ss") : o.isSame(r, "year") ? r.format("MM-DD HH:mm:ss") : r.format("YYYY-MM-DD HH:mm:ss"));
20186
+ ) ? "" : (window.showTimes = [...window.showTimes || [], t.message.time], o.isSame(r, "day") ? r.format("HH:mm:ss") : o.subtract(1, "day").isSame(r, "week") ? Xe("昨天") + " " + r.format("HH:mm:ss") : o.isSame(r, "week") ? Xe("本周") + i[r.day()] + " " + r.format("HH:mm:ss") : o.subtract(1, "week").isSame(r, "week") ? Xe("上周") + i[r.day()] + " " + r.format("HH:mm:ss") : o.isSame(r, "year") ? r.format("MM-DD HH:mm:ss") : r.format("YYYY-MM-DD HH:mm:ss"));
20185
20187
  });
20186
20188
  return (r, o) => n.value ? (_e(), Be("section", i_, [
20187
20189
  ke(
@@ -20241,7 +20243,7 @@ const SE = /* @__PURE__ */ Ft({
20241
20243
  }), y = () => {
20242
20244
  if (l.value) {
20243
20245
  if (r.loading) {
20244
- $v({ theme: "warning", message: nt("内容正在执行中,请执行完成后再发送") });
20246
+ $v({ theme: "warning", message: Xe("内容正在执行中,请执行完成后再发送") });
20245
20247
  return;
20246
20248
  }
20247
20249
  o("send", {
@@ -20271,7 +20273,7 @@ const SE = /* @__PURE__ */ Ft({
20271
20273
  }, z = (S) => {
20272
20274
  const Q = S.prompt.replace("{{ SELECTED_TEXT }}", a.value);
20273
20275
  if (r.loading) {
20274
- $v({ theme: "warning", message: nt("内容正在执行中,请执行完成后再发送") });
20276
+ $v({ theme: "warning", message: Xe("内容正在执行中,请执行完成后再发送") });
20275
20277
  return;
20276
20278
  }
20277
20279
  o("send", {
@@ -20380,7 +20382,7 @@ const SE = /* @__PURE__ */ Ft({
20380
20382
  ke(
20381
20383
  "span",
20382
20384
  v_,
20383
- xt(Pe(nt)("想对选中的文本做什么")),
20385
+ xt(Pe(Xe)("想对选中的文本做什么")),
20384
20386
  1
20385
20387
  /* TEXT */
20386
20388
  ),
@@ -20412,7 +20414,7 @@ const SE = /* @__PURE__ */ Ft({
20412
20414
  default: Do(() => [
20413
20415
  g_,
20414
20416
  La(
20415
- " " + xt(Pe(nt)("发送")),
20417
+ " " + xt(Pe(Xe)("发送")),
20416
20418
  1
20417
20419
  /* TEXT */
20418
20420
  )
@@ -20421,7 +20423,7 @@ const SE = /* @__PURE__ */ Ft({
20421
20423
  /* STABLE */
20422
20424
  }, 8, ["disabled"])), [
20423
20425
  [Pe(i), {
20424
- content: Pe(nt)("内容正在执行中,请执行完成后再发送"),
20426
+ content: Pe(Xe)("内容正在执行中,请执行完成后再发送"),
20425
20427
  disabled: !S.loading
20426
20428
  }]
20427
20429
  ])
@@ -20558,7 +20560,7 @@ const SE = /* @__PURE__ */ Ft({
20558
20560
  /* CLASS */
20559
20561
  ),
20560
20562
  La(
20561
- " " + xt($.name || Pe(nt)("小鲸")) + " ",
20563
+ " " + xt($.name || Pe(Xe)("小鲸")) + " ",
20562
20564
  1
20563
20565
  /* TEXT */
20564
20566
  ),
@@ -20599,7 +20601,7 @@ const SE = /* @__PURE__ */ Ft({
20599
20601
  /* NEED_PATCH */
20600
20602
  )), [
20601
20603
  [Pe(o), {
20602
- content: Pe(nt)("向下收缩"),
20604
+ content: Pe(Xe)("向下收缩"),
20603
20605
  distance: 20
20604
20606
  }]
20605
20607
  ]) : Gn((_e(), Be(
@@ -20614,7 +20616,7 @@ const SE = /* @__PURE__ */ Ft({
20614
20616
  /* NEED_PATCH */
20615
20617
  )), [
20616
20618
  [Pe(o), {
20617
- content: Pe(nt)("向上扩展"),
20619
+ content: Pe(Xe)("向上扩展"),
20618
20620
  distance: 20
20619
20621
  }]
20620
20622
  ]),
@@ -20629,7 +20631,7 @@ const SE = /* @__PURE__ */ Ft({
20629
20631
  /* NEED_PATCH */
20630
20632
  ), [
20631
20633
  [Pe(o), {
20632
- content: Pe(nt)("清空聊天记录"),
20634
+ content: Pe(Xe)("清空聊天记录"),
20633
20635
  distance: 20
20634
20636
  }]
20635
20637
  ]),
@@ -20644,7 +20646,7 @@ const SE = /* @__PURE__ */ Ft({
20644
20646
  /* NEED_PATCH */
20645
20647
  ), [
20646
20648
  [Pe(o), {
20647
- content: Pe(nt)("关闭"),
20649
+ content: Pe(Xe)("关闭"),
20648
20650
  distance: 20
20649
20651
  }]
20650
20652
  ])
@@ -20770,7 +20772,7 @@ const SE = /* @__PURE__ */ Ft({
20770
20772
  ke(
20771
20773
  "span",
20772
20774
  j_,
20773
- xt(Pe(nt)("问小鲸")),
20775
+ xt(Pe(Xe)("问小鲸")),
20774
20776
  1
20775
20777
  /* TEXT */
20776
20778
  )