@ddict/bubble 1.0.9 → 1.2.0

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.
package/dist/bubble.es.js CHANGED
@@ -1,75 +1,75 @@
1
- import { computed as Q, ref as M, shallowRef as ue, watch as At, getCurrentScope as fe, onScopeDispose as Ae, shallowReadonly as ot, unref as ht, openBlock as x, createElementBlock as I, pushScopeId as ge, popScopeId as de, createElementVNode as F, Fragment as gt, renderList as $t, toDisplayString as wt, onUnmounted as Ft, normalizeClass as Et, createBlock as $, createCommentVNode as q, createVNode as O, onMounted as Xt, nextTick as Gt, normalizeStyle as It } from "vue";
2
- const Ce = "data:image/svg+xml,%3csvg%20width='14'%20height='9'%20viewBox='0%200%2014%209'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.36153%201.34067C6.15774%200.203232%207.84226%200.203229%208.63846%201.34066L14%209H0L5.36153%201.34067Z'%20fill='white'%20stroke-width='0.5'/%3e%3c/svg%3e", G = Math.min, L = Math.max, pt = Math.round, mt = Math.floor, j = (t) => ({
1
+ import { computed as Q, ref as T, shallowRef as a0, watch as A2, getCurrentScope as r0, onScopeDispose as c0, shallowReadonly as o2, unref as H, openBlock as x, createElementBlock as I, pushScopeId as d0, popScopeId as u0, createElementVNode as E, toDisplayString as w2, Fragment as b2, renderList as S2, createCommentVNode as _, onUnmounted as M2, normalizeClass as k, createBlock as j, createVNode as J, onMounted as j2, nextTick as J2, normalizeStyle as y2 } from "vue";
2
+ const f0 = "data:image/svg+xml,%3csvg%20width='14'%20height='9'%20viewBox='0%200%2014%209'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.36153%201.34067C6.15774%200.203232%207.84226%200.203229%208.63846%201.34066L14%209H0L5.36153%201.34067Z'%20fill='white'%20stroke-width='0.5'/%3e%3c/svg%3e", U = Math.min, S = Math.max, p2 = Math.round, m2 = Math.floor, P = (t) => ({
3
3
  x: t,
4
4
  y: t
5
- }), me = {
5
+ }), A0 = {
6
6
  left: "right",
7
7
  right: "left",
8
8
  bottom: "top",
9
9
  top: "bottom"
10
- }, he = {
10
+ }, g0 = {
11
11
  start: "end",
12
12
  end: "start"
13
13
  };
14
- function Qt(t, e, n) {
15
- return L(t, G(e, n));
14
+ function L2(t, e, n) {
15
+ return S(t, U(e, n));
16
16
  }
17
- function ct(t, e) {
17
+ function c2(t, e) {
18
18
  return typeof t == "function" ? t(e) : t;
19
19
  }
20
- function Z(t) {
20
+ function z(t) {
21
21
  return t.split("-")[0];
22
22
  }
23
- function at(t) {
23
+ function d2(t) {
24
24
  return t.split("-")[1];
25
25
  }
26
- function _t(t) {
26
+ function P2(t) {
27
27
  return t === "x" ? "y" : "x";
28
28
  }
29
- function kt(t) {
29
+ function k2(t) {
30
30
  return t === "y" ? "height" : "width";
31
31
  }
32
- function X(t) {
33
- return ["top", "bottom"].includes(Z(t)) ? "y" : "x";
32
+ function t2(t) {
33
+ return ["top", "bottom"].includes(z(t)) ? "y" : "x";
34
34
  }
35
- function Dt(t) {
36
- return _t(X(t));
35
+ function D2(t) {
36
+ return P2(t2(t));
37
37
  }
38
- function we(t, e, n) {
38
+ function C0(t, e, n) {
39
39
  n === void 0 && (n = !1);
40
- const o = at(t), i = Dt(t), s = kt(i);
41
- let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
42
- return e.reference[s] > e.floating[s] && (r = vt(r)), [r, vt(r)];
40
+ const i = d2(t), o = D2(t), s = k2(o);
41
+ let l = o === "x" ? i === (n ? "end" : "start") ? "right" : "left" : i === "start" ? "bottom" : "top";
42
+ return e.reference[s] > e.floating[s] && (l = v2(l)), [l, v2(l)];
43
43
  }
44
- function pe(t) {
45
- const e = vt(t);
46
- return [St(t), e, St(e)];
44
+ function h0(t) {
45
+ const e = v2(t);
46
+ return [Q2(t), e, Q2(e)];
47
47
  }
48
- function St(t) {
49
- return t.replace(/start|end/g, (e) => he[e]);
48
+ function Q2(t) {
49
+ return t.replace(/start|end/g, (e) => g0[e]);
50
50
  }
51
- function ve(t, e, n) {
52
- const o = ["left", "right"], i = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
51
+ function m0(t, e, n) {
52
+ const i = ["left", "right"], o = ["right", "left"], s = ["top", "bottom"], l = ["bottom", "top"];
53
53
  switch (t) {
54
54
  case "top":
55
55
  case "bottom":
56
- return n ? e ? i : o : e ? o : i;
56
+ return n ? e ? o : i : e ? i : o;
57
57
  case "left":
58
58
  case "right":
59
- return e ? s : r;
59
+ return e ? s : l;
60
60
  default:
61
61
  return [];
62
62
  }
63
63
  }
64
- function Be(t, e, n, o) {
65
- const i = at(t);
66
- let s = ve(Z(t), n === "start", o);
67
- return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(St)))), s;
64
+ function w0(t, e, n, i) {
65
+ const o = d2(t);
66
+ let s = m0(z(t), n === "start", i);
67
+ return o && (s = s.map((l) => l + "-" + o), e && (s = s.concat(s.map(Q2)))), s;
68
68
  }
69
- function vt(t) {
70
- return t.replace(/left|right|bottom|top/g, (e) => me[e]);
69
+ function v2(t) {
70
+ return t.replace(/left|right|bottom|top/g, (e) => A0[e]);
71
71
  }
72
- function xe(t) {
72
+ function p0(t) {
73
73
  return {
74
74
  top: 0,
75
75
  right: 0,
@@ -78,296 +78,296 @@ function xe(t) {
78
78
  ...t
79
79
  };
80
80
  }
81
- function te(t) {
82
- return typeof t != "number" ? xe(t) : {
81
+ function z2(t) {
82
+ return typeof t != "number" ? p0(t) : {
83
83
  top: t,
84
84
  right: t,
85
85
  bottom: t,
86
86
  left: t
87
87
  };
88
88
  }
89
- function Bt(t) {
89
+ function x2(t) {
90
90
  const {
91
91
  x: e,
92
92
  y: n,
93
- width: o,
94
- height: i
93
+ width: i,
94
+ height: o
95
95
  } = t;
96
96
  return {
97
- width: o,
98
- height: i,
97
+ width: i,
98
+ height: o,
99
99
  top: n,
100
100
  left: e,
101
- right: e + o,
102
- bottom: n + i,
101
+ right: e + i,
102
+ bottom: n + o,
103
103
  x: e,
104
104
  y: n
105
105
  };
106
106
  }
107
- function Jt(t, e, n) {
107
+ function U2(t, e, n) {
108
108
  let {
109
- reference: o,
110
- floating: i
109
+ reference: i,
110
+ floating: o
111
111
  } = t;
112
- const s = X(e), r = Dt(e), c = kt(r), l = Z(e), a = s === "y", u = o.x + o.width / 2 - i.width / 2, f = o.y + o.height / 2 - i.height / 2, d = o[c] / 2 - i[c] / 2;
113
- let A;
114
- switch (l) {
112
+ const s = t2(e), l = D2(e), r = k2(l), a = z(e), c = s === "y", d = i.x + i.width / 2 - o.width / 2, u = i.y + i.height / 2 - o.height / 2, g = i[r] / 2 - o[r] / 2;
113
+ let f;
114
+ switch (a) {
115
115
  case "top":
116
- A = {
117
- x: u,
118
- y: o.y - i.height
116
+ f = {
117
+ x: d,
118
+ y: i.y - o.height
119
119
  };
120
120
  break;
121
121
  case "bottom":
122
- A = {
123
- x: u,
124
- y: o.y + o.height
122
+ f = {
123
+ x: d,
124
+ y: i.y + i.height
125
125
  };
126
126
  break;
127
127
  case "right":
128
- A = {
129
- x: o.x + o.width,
130
- y: f
128
+ f = {
129
+ x: i.x + i.width,
130
+ y: u
131
131
  };
132
132
  break;
133
133
  case "left":
134
- A = {
135
- x: o.x - i.width,
136
- y: f
134
+ f = {
135
+ x: i.x - o.width,
136
+ y: u
137
137
  };
138
138
  break;
139
139
  default:
140
- A = {
141
- x: o.x,
142
- y: o.y
140
+ f = {
141
+ x: i.x,
142
+ y: i.y
143
143
  };
144
144
  }
145
- switch (at(e)) {
145
+ switch (d2(e)) {
146
146
  case "start":
147
- A[r] -= d * (n && a ? -1 : 1);
147
+ f[l] -= g * (n && c ? -1 : 1);
148
148
  break;
149
149
  case "end":
150
- A[r] += d * (n && a ? -1 : 1);
150
+ f[l] += g * (n && c ? -1 : 1);
151
151
  break;
152
152
  }
153
- return A;
153
+ return f;
154
154
  }
155
- const ye = async (t, e, n) => {
155
+ const v0 = async (t, e, n) => {
156
156
  const {
157
- placement: o = "bottom",
158
- strategy: i = "absolute",
157
+ placement: i = "bottom",
158
+ strategy: o = "absolute",
159
159
  middleware: s = [],
160
- platform: r
161
- } = n, c = s.filter(Boolean), l = await (r.isRTL == null ? void 0 : r.isRTL(e));
162
- let a = await r.getElementRects({
160
+ platform: l
161
+ } = n, r = s.filter(Boolean), a = await (l.isRTL == null ? void 0 : l.isRTL(e));
162
+ let c = await l.getElementRects({
163
163
  reference: t,
164
164
  floating: e,
165
- strategy: i
165
+ strategy: o
166
166
  }), {
167
- x: u,
168
- y: f
169
- } = Jt(a, o, l), d = o, A = {}, C = 0;
170
- for (let h = 0; h < c.length; h++) {
167
+ x: d,
168
+ y: u
169
+ } = U2(c, i, a), g = i, f = {}, C = 0;
170
+ for (let m = 0; m < r.length; m++) {
171
171
  const {
172
172
  name: w,
173
173
  fn: p
174
- } = c[h], {
174
+ } = r[m], {
175
175
  x: v,
176
- y: B,
177
- data: m,
178
- reset: g
176
+ y: b,
177
+ data: h,
178
+ reset: A
179
179
  } = await p({
180
- x: u,
181
- y: f,
182
- initialPlacement: o,
183
- placement: d,
184
- strategy: i,
185
- middlewareData: A,
186
- rects: a,
187
- platform: r,
180
+ x: d,
181
+ y: u,
182
+ initialPlacement: i,
183
+ placement: g,
184
+ strategy: o,
185
+ middlewareData: f,
186
+ rects: c,
187
+ platform: l,
188
188
  elements: {
189
189
  reference: t,
190
190
  floating: e
191
191
  }
192
192
  });
193
- u = v ?? u, f = B ?? f, A = {
194
- ...A,
193
+ d = v ?? d, u = b ?? u, f = {
194
+ ...f,
195
195
  [w]: {
196
- ...A[w],
197
- ...m
196
+ ...f[w],
197
+ ...h
198
198
  }
199
- }, g && C <= 50 && (C++, typeof g == "object" && (g.placement && (d = g.placement), g.rects && (a = g.rects === !0 ? await r.getElementRects({
199
+ }, A && C <= 50 && (C++, typeof A == "object" && (A.placement && (g = A.placement), A.rects && (c = A.rects === !0 ? await l.getElementRects({
200
200
  reference: t,
201
201
  floating: e,
202
- strategy: i
203
- }) : g.rects), {
204
- x: u,
205
- y: f
206
- } = Jt(a, d, l)), h = -1);
202
+ strategy: o
203
+ }) : A.rects), {
204
+ x: d,
205
+ y: u
206
+ } = U2(c, g, a)), m = -1);
207
207
  }
208
208
  return {
209
- x: u,
210
- y: f,
211
- placement: d,
212
- strategy: i,
213
- middlewareData: A
209
+ x: d,
210
+ y: u,
211
+ placement: g,
212
+ strategy: o,
213
+ middlewareData: f
214
214
  };
215
215
  };
216
- async function Rt(t, e) {
216
+ async function R2(t, e) {
217
217
  var n;
218
218
  e === void 0 && (e = {});
219
219
  const {
220
- x: o,
221
- y: i,
220
+ x: i,
221
+ y: o,
222
222
  platform: s,
223
- rects: r,
224
- elements: c,
225
- strategy: l
223
+ rects: l,
224
+ elements: r,
225
+ strategy: a
226
226
  } = t, {
227
- boundary: a = "clippingAncestors",
228
- rootBoundary: u = "viewport",
229
- elementContext: f = "floating",
230
- altBoundary: d = !1,
231
- padding: A = 0
232
- } = ct(e, t), C = te(A), w = c[d ? f === "floating" ? "reference" : "floating" : f], p = Bt(await s.getClippingRect({
233
- element: (n = await (s.isElement == null ? void 0 : s.isElement(w))) == null || n ? w : w.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(c.floating)),
234
- boundary: a,
235
- rootBoundary: u,
236
- strategy: l
237
- })), v = f === "floating" ? {
238
- x: o,
239
- y: i,
240
- width: r.floating.width,
241
- height: r.floating.height
242
- } : r.reference, B = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c.floating)), m = await (s.isElement == null ? void 0 : s.isElement(B)) ? await (s.getScale == null ? void 0 : s.getScale(B)) || {
227
+ boundary: c = "clippingAncestors",
228
+ rootBoundary: d = "viewport",
229
+ elementContext: u = "floating",
230
+ altBoundary: g = !1,
231
+ padding: f = 0
232
+ } = c2(e, t), C = z2(f), w = r[g ? u === "floating" ? "reference" : "floating" : u], p = x2(await s.getClippingRect({
233
+ element: (n = await (s.isElement == null ? void 0 : s.isElement(w))) == null || n ? w : w.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(r.floating)),
234
+ boundary: c,
235
+ rootBoundary: d,
236
+ strategy: a
237
+ })), v = u === "floating" ? {
238
+ x: i,
239
+ y: o,
240
+ width: l.floating.width,
241
+ height: l.floating.height
242
+ } : l.reference, b = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(r.floating)), h = await (s.isElement == null ? void 0 : s.isElement(b)) ? await (s.getScale == null ? void 0 : s.getScale(b)) || {
243
243
  x: 1,
244
244
  y: 1
245
245
  } : {
246
246
  x: 1,
247
247
  y: 1
248
- }, g = Bt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
249
- elements: c,
248
+ }, A = x2(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
249
+ elements: r,
250
250
  rect: v,
251
- offsetParent: B,
252
- strategy: l
251
+ offsetParent: b,
252
+ strategy: a
253
253
  }) : v);
254
254
  return {
255
- top: (p.top - g.top + C.top) / m.y,
256
- bottom: (g.bottom - p.bottom + C.bottom) / m.y,
257
- left: (p.left - g.left + C.left) / m.x,
258
- right: (g.right - p.right + C.right) / m.x
255
+ top: (p.top - A.top + C.top) / h.y,
256
+ bottom: (A.bottom - p.bottom + C.bottom) / h.y,
257
+ left: (p.left - A.left + C.left) / h.x,
258
+ right: (A.right - p.right + C.right) / h.x
259
259
  };
260
260
  }
261
- const Ee = (t) => ({
261
+ const x0 = (t) => ({
262
262
  name: "arrow",
263
263
  options: t,
264
264
  async fn(e) {
265
265
  const {
266
266
  x: n,
267
- y: o,
268
- placement: i,
267
+ y: i,
268
+ placement: o,
269
269
  rects: s,
270
- platform: r,
271
- elements: c,
272
- middlewareData: l
270
+ platform: l,
271
+ elements: r,
272
+ middlewareData: a
273
273
  } = e, {
274
- element: a,
275
- padding: u = 0
276
- } = ct(t, e) || {};
277
- if (a == null)
274
+ element: c,
275
+ padding: d = 0
276
+ } = c2(t, e) || {};
277
+ if (c == null)
278
278
  return {};
279
- const f = te(u), d = {
279
+ const u = z2(d), g = {
280
280
  x: n,
281
- y: o
282
- }, A = Dt(i), C = kt(A), h = await r.getDimensions(a), w = A === "y", p = w ? "top" : "left", v = w ? "bottom" : "right", B = w ? "clientHeight" : "clientWidth", m = s.reference[C] + s.reference[A] - d[A] - s.floating[C], g = d[A] - s.reference[A], E = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(a));
283
- let y = E ? E[B] : 0;
284
- (!y || !await (r.isElement == null ? void 0 : r.isElement(E))) && (y = c.floating[B] || s.floating[C]);
285
- const D = m / 2 - g / 2, S = y / 2 - h[C] / 2 - 1, R = G(f[p], S), V = G(f[v], S), z = R, ut = y - h[C] - V, b = y / 2 - h[C] / 2 + D, nt = Qt(z, b, ut), K = !l.arrow && at(i) != null && b !== nt && s.reference[C] / 2 - (b < z ? R : V) - h[C] / 2 < 0, T = K ? b < z ? b - z : b - ut : 0;
281
+ y: i
282
+ }, f = D2(o), C = k2(f), m = await l.getDimensions(c), w = f === "y", p = w ? "top" : "left", v = w ? "bottom" : "right", b = w ? "clientHeight" : "clientWidth", h = s.reference[C] + s.reference[f] - g[f] - s.floating[C], A = g[f] - s.reference[f], y = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(c));
283
+ let B = y ? y[b] : 0;
284
+ (!B || !await (l.isElement == null ? void 0 : l.isElement(y))) && (B = r.floating[b] || s.floating[C]);
285
+ const D = h / 2 - A / 2, F = B / 2 - m[C] / 2 - 1, R = U(u[p], F), N = U(u[v], F), X = R, u2 = B - m[C] - N, L = B / 2 - m[C] / 2 + D, i2 = L2(X, L, u2), V = !a.arrow && d2(o) != null && L !== i2 && s.reference[C] / 2 - (L < X ? R : N) - m[C] / 2 < 0, G = V ? L < X ? L - X : L - u2 : 0;
286
286
  return {
287
- [A]: d[A] + T,
287
+ [f]: g[f] + G,
288
288
  data: {
289
- [A]: nt,
290
- centerOffset: b - nt - T,
291
- ...K && {
292
- alignmentOffset: T
289
+ [f]: i2,
290
+ centerOffset: L - i2 - G,
291
+ ...V && {
292
+ alignmentOffset: G
293
293
  }
294
294
  },
295
- reset: K
295
+ reset: V
296
296
  };
297
297
  }
298
- }), Ie = function(t) {
298
+ }), b0 = function(t) {
299
299
  return t === void 0 && (t = {}), {
300
300
  name: "flip",
301
301
  options: t,
302
302
  async fn(e) {
303
- var n, o;
303
+ var n, i;
304
304
  const {
305
- placement: i,
305
+ placement: o,
306
306
  middlewareData: s,
307
- rects: r,
308
- initialPlacement: c,
309
- platform: l,
310
- elements: a
307
+ rects: l,
308
+ initialPlacement: r,
309
+ platform: a,
310
+ elements: c
311
311
  } = e, {
312
- mainAxis: u = !0,
313
- crossAxis: f = !0,
314
- fallbackPlacements: d,
315
- fallbackStrategy: A = "bestFit",
312
+ mainAxis: d = !0,
313
+ crossAxis: u = !0,
314
+ fallbackPlacements: g,
315
+ fallbackStrategy: f = "bestFit",
316
316
  fallbackAxisSideDirection: C = "none",
317
- flipAlignment: h = !0,
317
+ flipAlignment: m = !0,
318
318
  ...w
319
- } = ct(t, e);
319
+ } = c2(t, e);
320
320
  if ((n = s.arrow) != null && n.alignmentOffset)
321
321
  return {};
322
- const p = Z(i), v = X(c), B = Z(c) === c, m = await (l.isRTL == null ? void 0 : l.isRTL(a.floating)), g = d || (B || !h ? [vt(c)] : pe(c)), E = C !== "none";
323
- !d && E && g.push(...Be(c, h, C, m));
324
- const y = [c, ...g], D = await Rt(e, w), S = [];
325
- let R = ((o = s.flip) == null ? void 0 : o.overflows) || [];
326
- if (u && S.push(D[p]), f) {
327
- const b = we(i, r, m);
328
- S.push(D[b[0]], D[b[1]]);
322
+ const p = z(o), v = t2(r), b = z(r) === r, h = await (a.isRTL == null ? void 0 : a.isRTL(c.floating)), A = g || (b || !m ? [v2(r)] : h0(r)), y = C !== "none";
323
+ !g && y && A.push(...w0(r, m, C, h));
324
+ const B = [r, ...A], D = await R2(e, w), F = [];
325
+ let R = ((i = s.flip) == null ? void 0 : i.overflows) || [];
326
+ if (d && F.push(D[p]), u) {
327
+ const L = C0(o, l, h);
328
+ F.push(D[L[0]], D[L[1]]);
329
329
  }
330
330
  if (R = [...R, {
331
- placement: i,
332
- overflows: S
333
- }], !S.every((b) => b <= 0)) {
334
- var V, z;
335
- const b = (((V = s.flip) == null ? void 0 : V.index) || 0) + 1, nt = y[b];
336
- if (nt)
331
+ placement: o,
332
+ overflows: F
333
+ }], !F.every((L) => L <= 0)) {
334
+ var N, X;
335
+ const L = (((N = s.flip) == null ? void 0 : N.index) || 0) + 1, i2 = B[L];
336
+ if (i2)
337
337
  return {
338
338
  data: {
339
- index: b,
339
+ index: L,
340
340
  overflows: R
341
341
  },
342
342
  reset: {
343
- placement: nt
343
+ placement: i2
344
344
  }
345
345
  };
346
- let K = (z = R.filter((T) => T.overflows[0] <= 0).sort((T, W) => T.overflows[1] - W.overflows[1])[0]) == null ? void 0 : z.placement;
347
- if (!K)
348
- switch (A) {
346
+ let V = (X = R.filter((G) => G.overflows[0] <= 0).sort((G, Z) => G.overflows[1] - Z.overflows[1])[0]) == null ? void 0 : X.placement;
347
+ if (!V)
348
+ switch (f) {
349
349
  case "bestFit": {
350
- var ut;
351
- const T = (ut = R.filter((W) => {
352
- if (E) {
353
- const N = X(W.placement);
354
- return N === v || // Create a bias to the `y` side axis due to horizontal
350
+ var u2;
351
+ const G = (u2 = R.filter((Z) => {
352
+ if (y) {
353
+ const q = t2(Z.placement);
354
+ return q === v || // Create a bias to the `y` side axis due to horizontal
355
355
  // reading directions favoring greater width.
356
- N === "y";
356
+ q === "y";
357
357
  }
358
358
  return !0;
359
- }).map((W) => [W.placement, W.overflows.filter((N) => N > 0).reduce((N, ae) => N + ae, 0)]).sort((W, N) => W[1] - N[1])[0]) == null ? void 0 : ut[0];
360
- T && (K = T);
359
+ }).map((Z) => [Z.placement, Z.overflows.filter((q) => q > 0).reduce((q, l0) => q + l0, 0)]).sort((Z, q) => Z[1] - q[1])[0]) == null ? void 0 : u2[0];
360
+ G && (V = G);
361
361
  break;
362
362
  }
363
363
  case "initialPlacement":
364
- K = c;
364
+ V = r;
365
365
  break;
366
366
  }
367
- if (i !== K)
367
+ if (o !== V)
368
368
  return {
369
369
  reset: {
370
- placement: K
370
+ placement: V
371
371
  }
372
372
  };
373
373
  }
@@ -375,69 +375,69 @@ const Ee = (t) => ({
375
375
  }
376
376
  };
377
377
  };
378
- async function be(t, e) {
378
+ async function B0(t, e) {
379
379
  const {
380
380
  placement: n,
381
- platform: o,
382
- elements: i
383
- } = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = Z(n), c = at(n), l = X(n) === "y", a = ["left", "top"].includes(r) ? -1 : 1, u = s && l ? -1 : 1, f = ct(e, t);
381
+ platform: i,
382
+ elements: o
383
+ } = t, s = await (i.isRTL == null ? void 0 : i.isRTL(o.floating)), l = z(n), r = d2(n), a = t2(n) === "y", c = ["left", "top"].includes(l) ? -1 : 1, d = s && a ? -1 : 1, u = c2(e, t);
384
384
  let {
385
- mainAxis: d,
386
- crossAxis: A,
385
+ mainAxis: g,
386
+ crossAxis: f,
387
387
  alignmentAxis: C
388
- } = typeof f == "number" ? {
389
- mainAxis: f,
388
+ } = typeof u == "number" ? {
389
+ mainAxis: u,
390
390
  crossAxis: 0,
391
391
  alignmentAxis: null
392
392
  } : {
393
393
  mainAxis: 0,
394
394
  crossAxis: 0,
395
395
  alignmentAxis: null,
396
- ...f
396
+ ...u
397
397
  };
398
- return c && typeof C == "number" && (A = c === "end" ? C * -1 : C), l ? {
399
- x: A * u,
400
- y: d * a
398
+ return r && typeof C == "number" && (f = r === "end" ? C * -1 : C), a ? {
399
+ x: f * d,
400
+ y: g * c
401
401
  } : {
402
- x: d * a,
403
- y: A * u
402
+ x: g * c,
403
+ y: f * d
404
404
  };
405
405
  }
406
- const Qe = function(t) {
406
+ const I0 = function(t) {
407
407
  return t === void 0 && (t = 0), {
408
408
  name: "offset",
409
409
  options: t,
410
410
  async fn(e) {
411
- var n, o;
411
+ var n, i;
412
412
  const {
413
- x: i,
413
+ x: o,
414
414
  y: s,
415
- placement: r,
416
- middlewareData: c
417
- } = e, l = await be(e, t);
418
- return r === ((n = c.offset) == null ? void 0 : n.placement) && (o = c.arrow) != null && o.alignmentOffset ? {} : {
419
- x: i + l.x,
420
- y: s + l.y,
415
+ placement: l,
416
+ middlewareData: r
417
+ } = e, a = await B0(e, t);
418
+ return l === ((n = r.offset) == null ? void 0 : n.placement) && (i = r.arrow) != null && i.alignmentOffset ? {} : {
419
+ x: o + a.x,
420
+ y: s + a.y,
421
421
  data: {
422
- ...l,
423
- placement: r
422
+ ...a,
423
+ placement: l
424
424
  }
425
425
  };
426
426
  }
427
427
  };
428
- }, Se = function(t) {
428
+ }, y0 = function(t) {
429
429
  return t === void 0 && (t = {}), {
430
430
  name: "shift",
431
431
  options: t,
432
432
  async fn(e) {
433
433
  const {
434
434
  x: n,
435
- y: o,
436
- placement: i
435
+ y: i,
436
+ placement: o
437
437
  } = e, {
438
438
  mainAxis: s = !0,
439
- crossAxis: r = !1,
440
- limiter: c = {
439
+ crossAxis: l = !1,
440
+ limiter: r = {
441
441
  fn: (w) => {
442
442
  let {
443
443
  x: p,
@@ -449,67 +449,67 @@ const Qe = function(t) {
449
449
  };
450
450
  }
451
451
  },
452
- ...l
453
- } = ct(t, e), a = {
452
+ ...a
453
+ } = c2(t, e), c = {
454
454
  x: n,
455
- y: o
456
- }, u = await Rt(e, l), f = X(Z(i)), d = _t(f);
457
- let A = a[d], C = a[f];
455
+ y: i
456
+ }, d = await R2(e, a), u = t2(z(o)), g = P2(u);
457
+ let f = c[g], C = c[u];
458
458
  if (s) {
459
- const w = d === "y" ? "top" : "left", p = d === "y" ? "bottom" : "right", v = A + u[w], B = A - u[p];
460
- A = Qt(v, A, B);
459
+ const w = g === "y" ? "top" : "left", p = g === "y" ? "bottom" : "right", v = f + d[w], b = f - d[p];
460
+ f = L2(v, f, b);
461
461
  }
462
- if (r) {
463
- const w = f === "y" ? "top" : "left", p = f === "y" ? "bottom" : "right", v = C + u[w], B = C - u[p];
464
- C = Qt(v, C, B);
462
+ if (l) {
463
+ const w = u === "y" ? "top" : "left", p = u === "y" ? "bottom" : "right", v = C + d[w], b = C - d[p];
464
+ C = L2(v, C, b);
465
465
  }
466
- const h = c.fn({
466
+ const m = r.fn({
467
467
  ...e,
468
- [d]: A,
469
- [f]: C
468
+ [g]: f,
469
+ [u]: C
470
470
  });
471
471
  return {
472
- ...h,
472
+ ...m,
473
473
  data: {
474
- x: h.x - n,
475
- y: h.y - o
474
+ x: m.x - n,
475
+ y: m.y - i
476
476
  }
477
477
  };
478
478
  }
479
479
  };
480
- }, Le = function(t) {
480
+ }, E0 = function(t) {
481
481
  return t === void 0 && (t = {}), {
482
482
  name: "size",
483
483
  options: t,
484
484
  async fn(e) {
485
485
  const {
486
486
  placement: n,
487
- rects: o,
488
- platform: i,
487
+ rects: i,
488
+ platform: o,
489
489
  elements: s
490
490
  } = e, {
491
- apply: r = () => {
491
+ apply: l = () => {
492
492
  },
493
- ...c
494
- } = ct(t, e), l = await Rt(e, c), a = Z(n), u = at(n), f = X(n) === "y", {
495
- width: d,
496
- height: A
497
- } = o.floating;
498
- let C, h;
499
- a === "top" || a === "bottom" ? (C = a, h = u === (await (i.isRTL == null ? void 0 : i.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (h = a, C = u === "end" ? "top" : "bottom");
500
- const w = A - l.top - l.bottom, p = d - l.left - l.right, v = G(A - l[C], w), B = G(d - l[h], p), m = !e.middlewareData.shift;
501
- let g = v, E = B;
502
- if (f ? E = u || m ? G(B, p) : p : g = u || m ? G(v, w) : w, m && !u) {
503
- const D = L(l.left, 0), S = L(l.right, 0), R = L(l.top, 0), V = L(l.bottom, 0);
504
- f ? E = d - 2 * (D !== 0 || S !== 0 ? D + S : L(l.left, l.right)) : g = A - 2 * (R !== 0 || V !== 0 ? R + V : L(l.top, l.bottom));
493
+ ...r
494
+ } = c2(t, e), a = await R2(e, r), c = z(n), d = d2(n), u = t2(n) === "y", {
495
+ width: g,
496
+ height: f
497
+ } = i.floating;
498
+ let C, m;
499
+ c === "top" || c === "bottom" ? (C = c, m = d === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (m = c, C = d === "end" ? "top" : "bottom");
500
+ const w = f - a.top - a.bottom, p = g - a.left - a.right, v = U(f - a[C], w), b = U(g - a[m], p), h = !e.middlewareData.shift;
501
+ let A = v, y = b;
502
+ if (u ? y = d || h ? U(b, p) : p : A = d || h ? U(v, w) : w, h && !d) {
503
+ const D = S(a.left, 0), F = S(a.right, 0), R = S(a.top, 0), N = S(a.bottom, 0);
504
+ u ? y = g - 2 * (D !== 0 || F !== 0 ? D + F : S(a.left, a.right)) : A = f - 2 * (R !== 0 || N !== 0 ? R + N : S(a.top, a.bottom));
505
505
  }
506
- await r({
506
+ await l({
507
507
  ...e,
508
- availableWidth: E,
509
- availableHeight: g
508
+ availableWidth: y,
509
+ availableHeight: A
510
510
  });
511
- const y = await i.getDimensions(s.floating);
512
- return d !== y.width || A !== y.height ? {
511
+ const B = await o.getDimensions(s.floating);
512
+ return g !== B.width || f !== B.height ? {
513
513
  reset: {
514
514
  rects: !0
515
515
  }
@@ -517,42 +517,42 @@ const Qe = function(t) {
517
517
  }
518
518
  };
519
519
  };
520
- function tt(t) {
521
- return Mt(t) ? (t.nodeName || "").toLowerCase() : "#document";
520
+ function n2(t) {
521
+ return T2(t) ? (t.nodeName || "").toLowerCase() : "#document";
522
522
  }
523
- function k(t) {
523
+ function M(t) {
524
524
  var e;
525
525
  return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
526
526
  }
527
- function U(t) {
527
+ function W(t) {
528
528
  var e;
529
- return (e = (Mt(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
530
- }
531
- function Mt(t) {
532
- return t instanceof Node || t instanceof k(t).Node;
529
+ return (e = (T2(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
533
530
  }
534
- function J(t) {
535
- return t instanceof Element || t instanceof k(t).Element;
531
+ function T2(t) {
532
+ return t instanceof Node || t instanceof M(t).Node;
536
533
  }
537
534
  function Y(t) {
538
- return t instanceof HTMLElement || t instanceof k(t).HTMLElement;
535
+ return t instanceof Element || t instanceof M(t).Element;
539
536
  }
540
- function Yt(t) {
541
- return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof k(t).ShadowRoot;
537
+ function K(t) {
538
+ return t instanceof HTMLElement || t instanceof M(t).HTMLElement;
542
539
  }
543
- function Ct(t) {
540
+ function Y2(t) {
541
+ return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof M(t).ShadowRoot;
542
+ }
543
+ function C2(t) {
544
544
  const {
545
545
  overflow: e,
546
546
  overflowX: n,
547
- overflowY: o,
548
- display: i
549
- } = H(t);
550
- return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !["inline", "contents"].includes(i);
547
+ overflowY: i,
548
+ display: o
549
+ } = O(t);
550
+ return /auto|scroll|overlay|hidden|clip/.test(e + i + n) && !["inline", "contents"].includes(o);
551
551
  }
552
- function Fe(t) {
553
- return ["table", "td", "th"].includes(tt(t));
552
+ function L0(t) {
553
+ return ["table", "td", "th"].includes(n2(t));
554
554
  }
555
- function xt(t) {
555
+ function B2(t) {
556
556
  return [":popover-open", ":modal"].some((e) => {
557
557
  try {
558
558
  return t.matches(e);
@@ -561,32 +561,32 @@ function xt(t) {
561
561
  }
562
562
  });
563
563
  }
564
- function Ht(t) {
565
- const e = Tt(), n = H(t);
566
- return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
564
+ function H2(t) {
565
+ const e = O2(), n = O(t);
566
+ return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((i) => (n.willChange || "").includes(i)) || ["paint", "layout", "strict", "content"].some((i) => (n.contain || "").includes(i));
567
567
  }
568
- function ke(t) {
569
- let e = P(t);
570
- for (; Y(e) && !lt(e); ) {
571
- if (xt(e))
568
+ function Q0(t) {
569
+ let e = $(t);
570
+ for (; K(e) && !r2(e); ) {
571
+ if (B2(e))
572
572
  return null;
573
- if (Ht(e))
573
+ if (H2(e))
574
574
  return e;
575
- e = P(e);
575
+ e = $(e);
576
576
  }
577
577
  return null;
578
578
  }
579
- function Tt() {
579
+ function O2() {
580
580
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
581
581
  }
582
- function lt(t) {
583
- return ["html", "body", "#document"].includes(tt(t));
582
+ function r2(t) {
583
+ return ["html", "body", "#document"].includes(n2(t));
584
584
  }
585
- function H(t) {
586
- return k(t).getComputedStyle(t);
585
+ function O(t) {
586
+ return M(t).getComputedStyle(t);
587
587
  }
588
- function yt(t) {
589
- return J(t) ? {
588
+ function I2(t) {
589
+ return Y(t) ? {
590
590
  scrollLeft: t.scrollLeft,
591
591
  scrollTop: t.scrollTop
592
592
  } : {
@@ -594,833 +594,975 @@ function yt(t) {
594
594
  scrollTop: t.scrollY
595
595
  };
596
596
  }
597
- function P(t) {
598
- if (tt(t) === "html")
597
+ function $(t) {
598
+ if (n2(t) === "html")
599
599
  return t;
600
600
  const e = (
601
601
  // Step into the shadow DOM of the parent of a slotted node.
602
602
  t.assignedSlot || // DOM Element detected.
603
603
  t.parentNode || // ShadowRoot detected.
604
- Yt(t) && t.host || // Fallback.
605
- U(t)
604
+ Y2(t) && t.host || // Fallback.
605
+ W(t)
606
606
  );
607
- return Yt(e) ? e.host : e;
607
+ return Y2(e) ? e.host : e;
608
608
  }
609
- function ee(t) {
610
- const e = P(t);
611
- return lt(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Y(e) && Ct(e) ? e : ee(e);
609
+ function $2(t) {
610
+ const e = $(t);
611
+ return r2(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : K(e) && C2(e) ? e : $2(e);
612
612
  }
613
- function dt(t, e, n) {
614
- var o;
613
+ function g2(t, e, n) {
614
+ var i;
615
615
  e === void 0 && (e = []), n === void 0 && (n = !0);
616
- const i = ee(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = k(i);
617
- return s ? e.concat(r, r.visualViewport || [], Ct(i) ? i : [], r.frameElement && n ? dt(r.frameElement) : []) : e.concat(i, dt(i, [], n));
618
- }
619
- function ne(t) {
620
- const e = H(t);
621
- let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
622
- const i = Y(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, c = pt(n) !== s || pt(o) !== r;
623
- return c && (n = s, o = r), {
616
+ const o = $2(t), s = o === ((i = t.ownerDocument) == null ? void 0 : i.body), l = M(o);
617
+ return s ? e.concat(l, l.visualViewport || [], C2(o) ? o : [], l.frameElement && n ? g2(l.frameElement) : []) : e.concat(o, g2(o, [], n));
618
+ }
619
+ function X2(t) {
620
+ const e = O(t);
621
+ let n = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
622
+ const o = K(t), s = o ? t.offsetWidth : n, l = o ? t.offsetHeight : i, r = p2(n) !== s || p2(i) !== l;
623
+ return r && (n = s, i = l), {
624
624
  width: n,
625
- height: o,
626
- $: c
625
+ height: i,
626
+ $: r
627
627
  };
628
628
  }
629
- function Ot(t) {
630
- return J(t) ? t : t.contextElement;
629
+ function G2(t) {
630
+ return Y(t) ? t : t.contextElement;
631
631
  }
632
- function st(t) {
633
- const e = Ot(t);
634
- if (!Y(e))
635
- return j(1);
632
+ function l2(t) {
633
+ const e = G2(t);
634
+ if (!K(e))
635
+ return P(1);
636
636
  const n = e.getBoundingClientRect(), {
637
- width: o,
638
- height: i,
637
+ width: i,
638
+ height: o,
639
639
  $: s
640
- } = ne(e);
641
- let r = (s ? pt(n.width) : n.width) / o, c = (s ? pt(n.height) : n.height) / i;
642
- return (!r || !Number.isFinite(r)) && (r = 1), (!c || !Number.isFinite(c)) && (c = 1), {
643
- x: r,
644
- y: c
640
+ } = X2(e);
641
+ let l = (s ? p2(n.width) : n.width) / i, r = (s ? p2(n.height) : n.height) / o;
642
+ return (!l || !Number.isFinite(l)) && (l = 1), (!r || !Number.isFinite(r)) && (r = 1), {
643
+ x: l,
644
+ y: r
645
645
  };
646
646
  }
647
- const De = /* @__PURE__ */ j(0);
648
- function oe(t) {
649
- const e = k(t);
650
- return !Tt() || !e.visualViewport ? De : {
647
+ const F0 = /* @__PURE__ */ P(0);
648
+ function _2(t) {
649
+ const e = M(t);
650
+ return !O2() || !e.visualViewport ? F0 : {
651
651
  x: e.visualViewport.offsetLeft,
652
652
  y: e.visualViewport.offsetTop
653
653
  };
654
654
  }
655
- function Re(t, e, n) {
656
- return e === void 0 && (e = !1), !n || e && n !== k(t) ? !1 : e;
655
+ function S0(t, e, n) {
656
+ return e === void 0 && (e = !1), !n || e && n !== M(t) ? !1 : e;
657
657
  }
658
- function _(t, e, n, o) {
658
+ function e2(t, e, n, i) {
659
659
  e === void 0 && (e = !1), n === void 0 && (n = !1);
660
- const i = t.getBoundingClientRect(), s = Ot(t);
661
- let r = j(1);
662
- e && (o ? J(o) && (r = st(o)) : r = st(t));
663
- const c = Re(s, n, o) ? oe(s) : j(0);
664
- let l = (i.left + c.x) / r.x, a = (i.top + c.y) / r.y, u = i.width / r.x, f = i.height / r.y;
660
+ const o = t.getBoundingClientRect(), s = G2(t);
661
+ let l = P(1);
662
+ e && (i ? Y(i) && (l = l2(i)) : l = l2(t));
663
+ const r = S0(s, n, i) ? _2(s) : P(0);
664
+ let a = (o.left + r.x) / l.x, c = (o.top + r.y) / l.y, d = o.width / l.x, u = o.height / l.y;
665
665
  if (s) {
666
- const d = k(s), A = o && J(o) ? k(o) : o;
667
- let C = d, h = C.frameElement;
668
- for (; h && o && A !== C; ) {
669
- const w = st(h), p = h.getBoundingClientRect(), v = H(h), B = p.left + (h.clientLeft + parseFloat(v.paddingLeft)) * w.x, m = p.top + (h.clientTop + parseFloat(v.paddingTop)) * w.y;
670
- l *= w.x, a *= w.y, u *= w.x, f *= w.y, l += B, a += m, C = k(h), h = C.frameElement;
666
+ const g = M(s), f = i && Y(i) ? M(i) : i;
667
+ let C = g, m = C.frameElement;
668
+ for (; m && i && f !== C; ) {
669
+ const w = l2(m), p = m.getBoundingClientRect(), v = O(m), b = p.left + (m.clientLeft + parseFloat(v.paddingLeft)) * w.x, h = p.top + (m.clientTop + parseFloat(v.paddingTop)) * w.y;
670
+ a *= w.x, c *= w.y, d *= w.x, u *= w.y, a += b, c += h, C = M(m), m = C.frameElement;
671
671
  }
672
672
  }
673
- return Bt({
674
- width: u,
675
- height: f,
676
- x: l,
677
- y: a
673
+ return x2({
674
+ width: d,
675
+ height: u,
676
+ x: a,
677
+ y: c
678
678
  });
679
679
  }
680
- function Me(t) {
680
+ function M0(t) {
681
681
  let {
682
682
  elements: e,
683
683
  rect: n,
684
- offsetParent: o,
685
- strategy: i
684
+ offsetParent: i,
685
+ strategy: o
686
686
  } = t;
687
- const s = i === "fixed", r = U(o), c = e ? xt(e.floating) : !1;
688
- if (o === r || c && s)
687
+ const s = o === "fixed", l = W(i), r = e ? B2(e.floating) : !1;
688
+ if (i === l || r && s)
689
689
  return n;
690
- let l = {
690
+ let a = {
691
691
  scrollLeft: 0,
692
692
  scrollTop: 0
693
- }, a = j(1);
694
- const u = j(0), f = Y(o);
695
- if ((f || !f && !s) && ((tt(o) !== "body" || Ct(r)) && (l = yt(o)), Y(o))) {
696
- const d = _(o);
697
- a = st(o), u.x = d.x + o.clientLeft, u.y = d.y + o.clientTop;
693
+ }, c = P(1);
694
+ const d = P(0), u = K(i);
695
+ if ((u || !u && !s) && ((n2(i) !== "body" || C2(l)) && (a = I2(i)), K(i))) {
696
+ const g = e2(i);
697
+ c = l2(i), d.x = g.x + i.clientLeft, d.y = g.y + i.clientTop;
698
698
  }
699
699
  return {
700
- width: n.width * a.x,
701
- height: n.height * a.y,
702
- x: n.x * a.x - l.scrollLeft * a.x + u.x,
703
- y: n.y * a.y - l.scrollTop * a.y + u.y
700
+ width: n.width * c.x,
701
+ height: n.height * c.y,
702
+ x: n.x * c.x - a.scrollLeft * c.x + d.x,
703
+ y: n.y * c.y - a.scrollTop * c.y + d.y
704
704
  };
705
705
  }
706
- function He(t) {
706
+ function k0(t) {
707
707
  return Array.from(t.getClientRects());
708
708
  }
709
- function ie(t) {
710
- return _(U(t)).left + yt(t).scrollLeft;
709
+ function t0(t) {
710
+ return e2(W(t)).left + I2(t).scrollLeft;
711
711
  }
712
- function Te(t) {
713
- const e = U(t), n = yt(t), o = t.ownerDocument.body, i = L(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), s = L(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
714
- let r = -n.scrollLeft + ie(t);
715
- const c = -n.scrollTop;
716
- return H(o).direction === "rtl" && (r += L(e.clientWidth, o.clientWidth) - i), {
717
- width: i,
712
+ function D0(t) {
713
+ const e = W(t), n = I2(t), i = t.ownerDocument.body, o = S(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), s = S(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
714
+ let l = -n.scrollLeft + t0(t);
715
+ const r = -n.scrollTop;
716
+ return O(i).direction === "rtl" && (l += S(e.clientWidth, i.clientWidth) - o), {
717
+ width: o,
718
718
  height: s,
719
- x: r,
720
- y: c
719
+ x: l,
720
+ y: r
721
721
  };
722
722
  }
723
- function Oe(t, e) {
724
- const n = k(t), o = U(t), i = n.visualViewport;
725
- let s = o.clientWidth, r = o.clientHeight, c = 0, l = 0;
726
- if (i) {
727
- s = i.width, r = i.height;
728
- const a = Tt();
729
- (!a || a && e === "fixed") && (c = i.offsetLeft, l = i.offsetTop);
723
+ function R0(t, e) {
724
+ const n = M(t), i = W(t), o = n.visualViewport;
725
+ let s = i.clientWidth, l = i.clientHeight, r = 0, a = 0;
726
+ if (o) {
727
+ s = o.width, l = o.height;
728
+ const c = O2();
729
+ (!c || c && e === "fixed") && (r = o.offsetLeft, a = o.offsetTop);
730
730
  }
731
731
  return {
732
732
  width: s,
733
- height: r,
734
- x: c,
735
- y: l
733
+ height: l,
734
+ x: r,
735
+ y: a
736
736
  };
737
737
  }
738
- function Ge(t, e) {
739
- const n = _(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = Y(t) ? st(t) : j(1), r = t.clientWidth * s.x, c = t.clientHeight * s.y, l = i * s.x, a = o * s.y;
738
+ function T0(t, e) {
739
+ const n = e2(t, !0, e === "fixed"), i = n.top + t.clientTop, o = n.left + t.clientLeft, s = K(t) ? l2(t) : P(1), l = t.clientWidth * s.x, r = t.clientHeight * s.y, a = o * s.x, c = i * s.y;
740
740
  return {
741
- width: r,
742
- height: c,
743
- x: l,
744
- y: a
741
+ width: l,
742
+ height: r,
743
+ x: a,
744
+ y: c
745
745
  };
746
746
  }
747
- function Kt(t, e, n) {
748
- let o;
747
+ function K2(t, e, n) {
748
+ let i;
749
749
  if (e === "viewport")
750
- o = Oe(t, n);
750
+ i = R0(t, n);
751
751
  else if (e === "document")
752
- o = Te(U(t));
753
- else if (J(e))
754
- o = Ge(e, n);
752
+ i = D0(W(t));
753
+ else if (Y(e))
754
+ i = T0(e, n);
755
755
  else {
756
- const i = oe(t);
757
- o = {
756
+ const o = _2(t);
757
+ i = {
758
758
  ...e,
759
- x: e.x - i.x,
760
- y: e.y - i.y
759
+ x: e.x - o.x,
760
+ y: e.y - o.y
761
761
  };
762
762
  }
763
- return Bt(o);
763
+ return x2(i);
764
764
  }
765
- function se(t, e) {
766
- const n = P(t);
767
- return n === e || !J(n) || lt(n) ? !1 : H(n).position === "fixed" || se(n, e);
765
+ function e0(t, e) {
766
+ const n = $(t);
767
+ return n === e || !Y(n) || r2(n) ? !1 : O(n).position === "fixed" || e0(n, e);
768
768
  }
769
- function Je(t, e) {
769
+ function H0(t, e) {
770
770
  const n = e.get(t);
771
771
  if (n)
772
772
  return n;
773
- let o = dt(t, [], !1).filter((c) => J(c) && tt(c) !== "body"), i = null;
774
- const s = H(t).position === "fixed";
775
- let r = s ? P(t) : t;
776
- for (; J(r) && !lt(r); ) {
777
- const c = H(r), l = Ht(r);
778
- !l && c.position === "fixed" && (i = null), (s ? !l && !i : !l && c.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || Ct(r) && !l && se(t, r)) ? o = o.filter((u) => u !== r) : i = c, r = P(r);
773
+ let i = g2(t, [], !1).filter((r) => Y(r) && n2(r) !== "body"), o = null;
774
+ const s = O(t).position === "fixed";
775
+ let l = s ? $(t) : t;
776
+ for (; Y(l) && !r2(l); ) {
777
+ const r = O(l), a = H2(l);
778
+ !a && r.position === "fixed" && (o = null), (s ? !a && !o : !a && r.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || C2(l) && !a && e0(t, l)) ? i = i.filter((d) => d !== l) : o = r, l = $(l);
779
779
  }
780
- return e.set(t, o), o;
780
+ return e.set(t, i), i;
781
781
  }
782
- function Ye(t) {
782
+ function O0(t) {
783
783
  let {
784
784
  element: e,
785
785
  boundary: n,
786
- rootBoundary: o,
787
- strategy: i
786
+ rootBoundary: i,
787
+ strategy: o
788
788
  } = t;
789
- const r = [...n === "clippingAncestors" ? xt(e) ? [] : Je(e, this._c) : [].concat(n), o], c = r[0], l = r.reduce((a, u) => {
790
- const f = Kt(e, u, i);
791
- return a.top = L(f.top, a.top), a.right = G(f.right, a.right), a.bottom = G(f.bottom, a.bottom), a.left = L(f.left, a.left), a;
792
- }, Kt(e, c, i));
789
+ const l = [...n === "clippingAncestors" ? B2(e) ? [] : H0(e, this._c) : [].concat(n), i], r = l[0], a = l.reduce((c, d) => {
790
+ const u = K2(e, d, o);
791
+ return c.top = S(u.top, c.top), c.right = U(u.right, c.right), c.bottom = U(u.bottom, c.bottom), c.left = S(u.left, c.left), c;
792
+ }, K2(e, r, o));
793
793
  return {
794
- width: l.right - l.left,
795
- height: l.bottom - l.top,
796
- x: l.left,
797
- y: l.top
794
+ width: a.right - a.left,
795
+ height: a.bottom - a.top,
796
+ x: a.left,
797
+ y: a.top
798
798
  };
799
799
  }
800
- function Ke(t) {
800
+ function G0(t) {
801
801
  const {
802
802
  width: e,
803
803
  height: n
804
- } = ne(t);
804
+ } = X2(t);
805
805
  return {
806
806
  width: e,
807
807
  height: n
808
808
  };
809
809
  }
810
- function Ue(t, e, n) {
811
- const o = Y(e), i = U(e), s = n === "fixed", r = _(t, !0, s, e);
812
- let c = {
810
+ function J0(t, e, n) {
811
+ const i = K(e), o = W(e), s = n === "fixed", l = e2(t, !0, s, e);
812
+ let r = {
813
813
  scrollLeft: 0,
814
814
  scrollTop: 0
815
815
  };
816
- const l = j(0);
817
- if (o || !o && !s)
818
- if ((tt(e) !== "body" || Ct(i)) && (c = yt(e)), o) {
819
- const f = _(e, !0, s, e);
820
- l.x = f.x + e.clientLeft, l.y = f.y + e.clientTop;
821
- } else i && (l.x = ie(i));
822
- const a = r.left + c.scrollLeft - l.x, u = r.top + c.scrollTop - l.y;
816
+ const a = P(0);
817
+ if (i || !i && !s)
818
+ if ((n2(e) !== "body" || C2(o)) && (r = I2(e)), i) {
819
+ const u = e2(e, !0, s, e);
820
+ a.x = u.x + e.clientLeft, a.y = u.y + e.clientTop;
821
+ } else o && (a.x = t0(o));
822
+ const c = l.left + r.scrollLeft - a.x, d = l.top + r.scrollTop - a.y;
823
823
  return {
824
- x: a,
825
- y: u,
826
- width: r.width,
827
- height: r.height
824
+ x: c,
825
+ y: d,
826
+ width: l.width,
827
+ height: l.height
828
828
  };
829
829
  }
830
- function bt(t) {
831
- return H(t).position === "static";
830
+ function E2(t) {
831
+ return O(t).position === "static";
832
832
  }
833
- function Ut(t, e) {
834
- return !Y(t) || H(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
833
+ function V2(t, e) {
834
+ return !K(t) || O(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
835
835
  }
836
- function re(t, e) {
837
- const n = k(t);
838
- if (xt(t))
836
+ function n0(t, e) {
837
+ const n = M(t);
838
+ if (B2(t))
839
839
  return n;
840
- if (!Y(t)) {
841
- let i = P(t);
842
- for (; i && !lt(i); ) {
843
- if (J(i) && !bt(i))
844
- return i;
845
- i = P(i);
840
+ if (!K(t)) {
841
+ let o = $(t);
842
+ for (; o && !r2(o); ) {
843
+ if (Y(o) && !E2(o))
844
+ return o;
845
+ o = $(o);
846
846
  }
847
847
  return n;
848
848
  }
849
- let o = Ut(t, e);
850
- for (; o && Fe(o) && bt(o); )
851
- o = Ut(o, e);
852
- return o && lt(o) && bt(o) && !Ht(o) ? n : o || ke(t) || n;
849
+ let i = V2(t, e);
850
+ for (; i && L0(i) && E2(i); )
851
+ i = V2(i, e);
852
+ return i && r2(i) && E2(i) && !H2(i) ? n : i || Q0(t) || n;
853
853
  }
854
- const Ve = async function(t) {
855
- const e = this.getOffsetParent || re, n = this.getDimensions, o = await n(t.floating);
854
+ const U0 = async function(t) {
855
+ const e = this.getOffsetParent || n0, n = this.getDimensions, i = await n(t.floating);
856
856
  return {
857
- reference: Ue(t.reference, await e(t.floating), t.strategy),
857
+ reference: J0(t.reference, await e(t.floating), t.strategy),
858
858
  floating: {
859
859
  x: 0,
860
860
  y: 0,
861
- width: o.width,
862
- height: o.height
861
+ width: i.width,
862
+ height: i.height
863
863
  }
864
864
  };
865
865
  };
866
- function We(t) {
867
- return H(t).direction === "rtl";
868
- }
869
- const Ne = {
870
- convertOffsetParentRelativeRectToViewportRelativeRect: Me,
871
- getDocumentElement: U,
872
- getClippingRect: Ye,
873
- getOffsetParent: re,
874
- getElementRects: Ve,
875
- getClientRects: He,
876
- getDimensions: Ke,
877
- getScale: st,
878
- isElement: J,
879
- isRTL: We
866
+ function Y0(t) {
867
+ return O(t).direction === "rtl";
868
+ }
869
+ const K0 = {
870
+ convertOffsetParentRelativeRectToViewportRelativeRect: M0,
871
+ getDocumentElement: W,
872
+ getClippingRect: O0,
873
+ getOffsetParent: n0,
874
+ getElementRects: U0,
875
+ getClientRects: k0,
876
+ getDimensions: G0,
877
+ getScale: l2,
878
+ isElement: Y,
879
+ isRTL: Y0
880
880
  };
881
- function qe(t, e) {
882
- let n = null, o;
883
- const i = U(t);
881
+ function V0(t, e) {
882
+ let n = null, i;
883
+ const o = W(t);
884
884
  function s() {
885
- var c;
886
- clearTimeout(o), (c = n) == null || c.disconnect(), n = null;
885
+ var r;
886
+ clearTimeout(i), (r = n) == null || r.disconnect(), n = null;
887
887
  }
888
- function r(c, l) {
889
- c === void 0 && (c = !1), l === void 0 && (l = 1), s();
888
+ function l(r, a) {
889
+ r === void 0 && (r = !1), a === void 0 && (a = 1), s();
890
890
  const {
891
- left: a,
892
- top: u,
893
- width: f,
894
- height: d
891
+ left: c,
892
+ top: d,
893
+ width: u,
894
+ height: g
895
895
  } = t.getBoundingClientRect();
896
- if (c || e(), !f || !d)
896
+ if (r || e(), !u || !g)
897
897
  return;
898
- const A = mt(u), C = mt(i.clientWidth - (a + f)), h = mt(i.clientHeight - (u + d)), w = mt(a), v = {
899
- rootMargin: -A + "px " + -C + "px " + -h + "px " + -w + "px",
900
- threshold: L(0, G(1, l)) || 1
898
+ const f = m2(d), C = m2(o.clientWidth - (c + u)), m = m2(o.clientHeight - (d + g)), w = m2(c), v = {
899
+ rootMargin: -f + "px " + -C + "px " + -m + "px " + -w + "px",
900
+ threshold: S(0, U(1, a)) || 1
901
901
  };
902
- let B = !0;
903
- function m(g) {
904
- const E = g[0].intersectionRatio;
905
- if (E !== l) {
906
- if (!B)
907
- return r();
908
- E ? r(!1, E) : o = setTimeout(() => {
909
- r(!1, 1e-7);
902
+ let b = !0;
903
+ function h(A) {
904
+ const y = A[0].intersectionRatio;
905
+ if (y !== a) {
906
+ if (!b)
907
+ return l();
908
+ y ? l(!1, y) : i = setTimeout(() => {
909
+ l(!1, 1e-7);
910
910
  }, 1e3);
911
911
  }
912
- B = !1;
912
+ b = !1;
913
913
  }
914
914
  try {
915
- n = new IntersectionObserver(m, {
915
+ n = new IntersectionObserver(h, {
916
916
  ...v,
917
917
  // Handle <iframe>s
918
- root: i.ownerDocument
918
+ root: o.ownerDocument
919
919
  });
920
920
  } catch {
921
- n = new IntersectionObserver(m, v);
921
+ n = new IntersectionObserver(h, v);
922
922
  }
923
923
  n.observe(t);
924
924
  }
925
- return r(!0), s;
925
+ return l(!0), s;
926
926
  }
927
- function je(t, e, n, o) {
928
- o === void 0 && (o = {});
927
+ function W0(t, e, n, i) {
928
+ i === void 0 && (i = {});
929
929
  const {
930
- ancestorScroll: i = !0,
930
+ ancestorScroll: o = !0,
931
931
  ancestorResize: s = !0,
932
- elementResize: r = typeof ResizeObserver == "function",
933
- layoutShift: c = typeof IntersectionObserver == "function",
934
- animationFrame: l = !1
935
- } = o, a = Ot(t), u = i || s ? [...a ? dt(a) : [], ...dt(e)] : [];
936
- u.forEach((p) => {
937
- i && p.addEventListener("scroll", n, {
932
+ elementResize: l = typeof ResizeObserver == "function",
933
+ layoutShift: r = typeof IntersectionObserver == "function",
934
+ animationFrame: a = !1
935
+ } = i, c = G2(t), d = o || s ? [...c ? g2(c) : [], ...g2(e)] : [];
936
+ d.forEach((p) => {
937
+ o && p.addEventListener("scroll", n, {
938
938
  passive: !0
939
939
  }), s && p.addEventListener("resize", n);
940
940
  });
941
- const f = a && c ? qe(a, n) : null;
942
- let d = -1, A = null;
943
- r && (A = new ResizeObserver((p) => {
941
+ const u = c && r ? V0(c, n) : null;
942
+ let g = -1, f = null;
943
+ l && (f = new ResizeObserver((p) => {
944
944
  let [v] = p;
945
- v && v.target === a && A && (A.unobserve(e), cancelAnimationFrame(d), d = requestAnimationFrame(() => {
946
- var B;
947
- (B = A) == null || B.observe(e);
945
+ v && v.target === c && f && (f.unobserve(e), cancelAnimationFrame(g), g = requestAnimationFrame(() => {
946
+ var b;
947
+ (b = f) == null || b.observe(e);
948
948
  })), n();
949
- }), a && !l && A.observe(a), A.observe(e));
950
- let C, h = l ? _(t) : null;
951
- l && w();
949
+ }), c && !a && f.observe(c), f.observe(e));
950
+ let C, m = a ? e2(t) : null;
951
+ a && w();
952
952
  function w() {
953
- const p = _(t);
954
- h && (p.x !== h.x || p.y !== h.y || p.width !== h.width || p.height !== h.height) && n(), h = p, C = requestAnimationFrame(w);
953
+ const p = e2(t);
954
+ m && (p.x !== m.x || p.y !== m.y || p.width !== m.width || p.height !== m.height) && n(), m = p, C = requestAnimationFrame(w);
955
955
  }
956
956
  return n(), () => {
957
957
  var p;
958
- u.forEach((v) => {
959
- i && v.removeEventListener("scroll", n), s && v.removeEventListener("resize", n);
960
- }), f == null || f(), (p = A) == null || p.disconnect(), A = null, l && cancelAnimationFrame(C);
958
+ d.forEach((v) => {
959
+ o && v.removeEventListener("scroll", n), s && v.removeEventListener("resize", n);
960
+ }), u == null || u(), (p = f) == null || p.disconnect(), f = null, a && cancelAnimationFrame(C);
961
961
  };
962
962
  }
963
- const Ze = Qe, Pe = Se, ze = Ie, $e = Le, Xe = Ee, _e = (t, e, n) => {
964
- const o = /* @__PURE__ */ new Map(), i = {
965
- platform: Ne,
963
+ const N0 = I0, Z0 = y0, q0 = b0, j0 = E0, P0 = x0, z0 = (t, e, n) => {
964
+ const i = /* @__PURE__ */ new Map(), o = {
965
+ platform: K0,
966
966
  ...n
967
967
  }, s = {
968
- ...i.platform,
969
- _c: o
968
+ ...o.platform,
969
+ _c: i
970
970
  };
971
- return ye(t, e, {
972
- ...i,
971
+ return v0(t, e, {
972
+ ...o,
973
973
  platform: s
974
974
  });
975
975
  };
976
- function t2(t) {
976
+ function $0(t) {
977
977
  return t != null && typeof t == "object" && "$el" in t;
978
978
  }
979
- function Lt(t) {
980
- if (t2(t)) {
979
+ function F2(t) {
980
+ if ($0(t)) {
981
981
  const e = t.$el;
982
- return Mt(e) && tt(e) === "#comment" ? null : e;
982
+ return T2(e) && n2(e) === "#comment" ? null : e;
983
983
  }
984
984
  return t;
985
985
  }
986
- function it(t) {
987
- return typeof t == "function" ? t() : ht(t);
986
+ function s2(t) {
987
+ return typeof t == "function" ? t() : H(t);
988
988
  }
989
- function e2(t) {
989
+ function X0(t) {
990
990
  return {
991
991
  name: "arrow",
992
992
  options: t,
993
993
  fn(e) {
994
- const n = Lt(it(t.element));
995
- return n == null ? {} : Xe({
994
+ const n = F2(s2(t.element));
995
+ return n == null ? {} : P0({
996
996
  element: n,
997
997
  padding: t.padding
998
998
  }).fn(e);
999
999
  }
1000
1000
  };
1001
1001
  }
1002
- function le(t) {
1002
+ function i0(t) {
1003
1003
  return typeof window > "u" ? 1 : (t.ownerDocument.defaultView || window).devicePixelRatio || 1;
1004
1004
  }
1005
- function Vt(t, e) {
1006
- const n = le(t);
1005
+ function W2(t, e) {
1006
+ const n = i0(t);
1007
1007
  return Math.round(e * n) / n;
1008
1008
  }
1009
- function n2(t, e, n) {
1009
+ function _0(t, e, n) {
1010
1010
  n === void 0 && (n = {});
1011
- const o = n.whileElementsMounted, i = Q(() => {
1012
- var y;
1013
- return (y = it(n.open)) != null ? y : !0;
1014
- }), s = Q(() => it(n.middleware)), r = Q(() => {
1015
- var y;
1016
- return (y = it(n.placement)) != null ? y : "bottom";
1017
- }), c = Q(() => {
1018
- var y;
1019
- return (y = it(n.strategy)) != null ? y : "absolute";
1020
- }), l = Q(() => {
1021
- var y;
1022
- return (y = it(n.transform)) != null ? y : !0;
1023
- }), a = Q(() => Lt(t.value)), u = Q(() => Lt(e.value)), f = M(0), d = M(0), A = M(c.value), C = M(r.value), h = ue({}), w = M(!1), p = Q(() => {
1024
- const y = {
1025
- position: A.value,
1011
+ const i = n.whileElementsMounted, o = Q(() => {
1012
+ var B;
1013
+ return (B = s2(n.open)) != null ? B : !0;
1014
+ }), s = Q(() => s2(n.middleware)), l = Q(() => {
1015
+ var B;
1016
+ return (B = s2(n.placement)) != null ? B : "bottom";
1017
+ }), r = Q(() => {
1018
+ var B;
1019
+ return (B = s2(n.strategy)) != null ? B : "absolute";
1020
+ }), a = Q(() => {
1021
+ var B;
1022
+ return (B = s2(n.transform)) != null ? B : !0;
1023
+ }), c = Q(() => F2(t.value)), d = Q(() => F2(e.value)), u = T(0), g = T(0), f = T(r.value), C = T(l.value), m = a0({}), w = T(!1), p = Q(() => {
1024
+ const B = {
1025
+ position: f.value,
1026
1026
  left: "0",
1027
1027
  top: "0"
1028
1028
  };
1029
- if (!u.value)
1030
- return y;
1031
- const D = Vt(u.value, f.value), S = Vt(u.value, d.value);
1032
- return l.value ? {
1033
- ...y,
1034
- transform: "translate(" + D + "px, " + S + "px)",
1035
- ...le(u.value) >= 1.5 && {
1029
+ if (!d.value)
1030
+ return B;
1031
+ const D = W2(d.value, u.value), F = W2(d.value, g.value);
1032
+ return a.value ? {
1033
+ ...B,
1034
+ transform: "translate(" + D + "px, " + F + "px)",
1035
+ ...i0(d.value) >= 1.5 && {
1036
1036
  willChange: "transform"
1037
1037
  }
1038
1038
  } : {
1039
- position: A.value,
1039
+ position: f.value,
1040
1040
  left: D + "px",
1041
- top: S + "px"
1041
+ top: F + "px"
1042
1042
  };
1043
1043
  });
1044
1044
  let v;
1045
- function B() {
1046
- a.value == null || u.value == null || _e(a.value, u.value, {
1045
+ function b() {
1046
+ c.value == null || d.value == null || z0(c.value, d.value, {
1047
1047
  middleware: s.value,
1048
- placement: r.value,
1049
- strategy: c.value
1050
- }).then((y) => {
1051
- f.value = y.x, d.value = y.y, A.value = y.strategy, C.value = y.placement, h.value = y.middlewareData, w.value = !0;
1048
+ placement: l.value,
1049
+ strategy: r.value
1050
+ }).then((B) => {
1051
+ u.value = B.x, g.value = B.y, f.value = B.strategy, C.value = B.placement, m.value = B.middlewareData, w.value = !0;
1052
1052
  });
1053
1053
  }
1054
- function m() {
1054
+ function h() {
1055
1055
  typeof v == "function" && (v(), v = void 0);
1056
1056
  }
1057
- function g() {
1058
- if (m(), o === void 0) {
1059
- B();
1057
+ function A() {
1058
+ if (h(), i === void 0) {
1059
+ b();
1060
1060
  return;
1061
1061
  }
1062
- if (a.value != null && u.value != null) {
1063
- v = o(a.value, u.value, B);
1062
+ if (c.value != null && d.value != null) {
1063
+ v = i(c.value, d.value, b);
1064
1064
  return;
1065
1065
  }
1066
1066
  }
1067
- function E() {
1068
- i.value || (w.value = !1);
1067
+ function y() {
1068
+ o.value || (w.value = !1);
1069
1069
  }
1070
- return At([s, r, c], B, {
1070
+ return A2([s, l, r], b, {
1071
1071
  flush: "sync"
1072
- }), At([a, u], g, {
1072
+ }), A2([c, d], A, {
1073
1073
  flush: "sync"
1074
- }), At(i, E, {
1074
+ }), A2(o, y, {
1075
1075
  flush: "sync"
1076
- }), fe() && Ae(m), {
1077
- x: ot(f),
1078
- y: ot(d),
1079
- strategy: ot(A),
1080
- placement: ot(C),
1081
- middlewareData: ot(h),
1082
- isPositioned: ot(w),
1076
+ }), r0() && c0(h), {
1077
+ x: o2(u),
1078
+ y: o2(g),
1079
+ strategy: o2(f),
1080
+ placement: o2(C),
1081
+ middlewareData: o2(m),
1082
+ isPositioned: o2(w),
1083
1083
  floatingStyles: p,
1084
- update: B
1084
+ update: b
1085
1085
  };
1086
1086
  }
1087
- const o2 = "data:image/svg+xml,%3csvg%20width='1324'%20height='1326'%20viewBox='0%200%201324%201326'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='141'%20y='78'%20width='1042'%20height='1170'%20fill='white'/%3e%3cpath%20d='M184.533%201.99984C135.867%207.19984%2089.8666%2029.8665%2056.4%2065.1998C29.6%2093.4665%2012.5333%20126.266%203.73329%20166.4L0.666626%20180V663.333V1146.67L3.73329%201160.27C12.5333%201200.4%2029.6%201233.2%2056.4%201261.47C90.4%201297.33%20135.333%201319.33%20185.6%201324.67C203.333%201326.53%201122.53%201326.4%201139.73%201324.53C1188.53%201319.33%201229.07%201299.73%201264.13%201264.8C1294.27%201234.67%201311.47%201202.67%201320.8%201159.33C1323.2%201148.4%201323.33%201130%201323.33%20663.333C1323.33%20196.667%201323.2%20178.266%201320.8%20167.333C1311.47%20124%201294.27%2091.9998%201264.13%2061.8664C1229.07%2026.9331%201188.53%207.33314%201139.73%202.13314C1124.67%200.399809%20200%200.399842%20184.533%201.99984ZM732.933%20151.466C746.8%20152.933%20763.333%20157.6%20774%20163.067C800.267%20176.267%20822.4%20200.4%20833.2%20227.333C841.867%20249.333%20841.467%20233.467%20841.067%20502C840.533%20777.6%20841.733%20750.267%20829.2%20776.133C822.133%20790.933%20810.667%20806.533%20800.267%20815.2C795.2%20819.6%20793.2%20822.267%20792%20827.067C786.133%20848.267%20768.667%20885.867%20755.2%20906.133C724.533%20952%20681.2%20986.133%20624%201009.33C615.6%201012.8%20608.4%201015.87%20608.133%201016.13C607.867%201016.27%20614.533%201023.33%20622.933%201031.6C633.467%201042.13%20639.333%201049.07%20642.133%201054.4C646.933%201063.87%20645.467%201064%20672.667%201050.8C724.933%201025.47%20762.933%20994.8%20794.933%20952C811.467%20929.867%20829.867%20895.333%20839.333%20868.267C841.333%20862.667%20843.467%20858%20844.133%20858C844.667%20858%20845.6%20859.333%20846.133%20860.933C848.267%20868.133%20863.333%20900.8%20870.133%20913.2C898%20963.867%20931.6%201001.2%20975.333%201030.27C989.867%201040%201017.2%201054.4%201031.6%201059.73L1037.2%201061.87L1041.33%201054.67C1048.4%201042.4%201056.67%201032.27%201067.87%201022.4L1078.67%201012.8L1071.6%201010.27C1067.87%201008.8%201060.53%201006%201055.6%201004.13C1040.93%20998.533%201013.73%20984%201000%20974.267C985.733%20964.133%20960.8%20940.667%20948.933%20926.267C935.067%20909.333%20921.467%20887.467%20910%20864C900.133%20844%20887.2%20812.133%20884.667%20801.6L883.733%20798H971.867H1060V769.333V740.667H963.333H866.533L867.333%20736.267C868.4%20729.867%20870.4%20693.067%20871.467%20662.933C872.267%20639.067%20872.533%20636.4%20874.8%20635.2C878.667%20633.2%20881.333%20626.667%20882.267%20617.333L883.067%20608.667H872.133C864.133%20608.667%20861.067%20608.133%20860.533%20606.8C860%20605.467%20881.2%20466%20886.133%20438.267L886.933%20433.867L977.867%20434.4C1066.67%20434.8%201068.93%20434.8%201079.87%20437.733C1124.8%20449.6%201158.67%20482.533%201172.93%20528L1176.67%20540V808V1076L1172.93%201087.73C1158.53%201133.6%201126.13%201164.93%201078.93%201178.4L1068.67%201181.33L812.667%201181.73C638.8%201182%20552.667%201181.73%20544.4%201180.67C488.667%201174.4%20443.2%201132.13%20432.533%201076.93C431.067%201068.93%20430.667%201046.4%20430.667%20956.667V846.133L340.4%20845.6C252.8%20845.2%20249.6%20845.067%20239.067%20842.267C196.533%20831.067%20164.533%20800.133%20151.067%20757.333L147.333%20745.333V499.333V253.333L150.4%20242C159.067%20209.067%20180.4%20181.866%20210.667%20164.933C221.2%20159.066%20240.4%20152.933%20252.667%20151.6C268.533%20149.733%20716.933%20149.6%20732.933%20151.466Z'%20fill='%233B5695'/%3e%3cpath%20d='M256.533%20213.333C232.933%20218.533%20214.133%20237.067%20209.333%20259.733C208.4%20264.533%20208%20337.2%20208.267%20502L208.667%20737.333L211.733%20744.933C218.533%20761.733%20231.733%20774.533%20248.667%20780.933L256.667%20784L490%20784.4C749.2%20784.8%20734.4%20785.333%20750.133%20776C764.267%20767.6%20775.467%20752.4%20778.667%20737.067C779.6%20732.8%20780%20652.133%20779.733%20494L779.333%20257.333L775.067%20248.267C767.2%20231.6%20756.933%20222%20740.133%20215.467L731.333%20212L498%20211.733C306.8%20211.6%20263.2%20211.867%20256.533%20213.333ZM492%20281.2C546.267%20290.267%20590.267%20311.2%20622.533%20343.333C653.867%20374.667%20671.867%20409.867%20680.267%20456.667C684.133%20478.533%20684.133%20516.267%20680.133%20538.533C665.467%20621.067%20606.933%20684.4%20524%20707.467C490%20716.933%20488.4%20716.933%20392.4%20717.6L305.333%20718.133V498V277.867L391.733%20278.4C465.733%20278.8%20480%20279.2%20492%20281.2Z'%20fill='%233B5695'/%3e%3cpath%20d='M384%20462.933V576.133L345.067%20611.467C306.533%20646.267%20306.133%20646.667%20310.667%20647.067C313.2%20647.333%20348.933%20647.333%20390%20646.933C472.667%20646.267%20477.6%20645.867%20503.6%20637.333C527.6%20629.333%20543.333%20620%20560.267%20603.6C590.133%20574.667%20604.4%20536.267%20602.267%20489.733C600.533%20450.267%20588.267%20420%20564%20395.333C546.8%20377.867%20531.6%20368.4%20506.267%20360C482.933%20352.133%20474.533%20351.2%20427.067%20350.4L384%20349.733V462.933Z'%20fill='%233B5695'/%3e%3c/svg%3e", et = (t, e) => {
1087
+ const tt = "data:image/svg+xml,%3csvg%20width='1324'%20height='1326'%20viewBox='0%200%201324%201326'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='141'%20y='78'%20width='1042'%20height='1170'%20fill='white'/%3e%3cpath%20d='M184.533%201.99984C135.867%207.19984%2089.8666%2029.8665%2056.4%2065.1998C29.6%2093.4665%2012.5333%20126.266%203.73329%20166.4L0.666626%20180V663.333V1146.67L3.73329%201160.27C12.5333%201200.4%2029.6%201233.2%2056.4%201261.47C90.4%201297.33%20135.333%201319.33%20185.6%201324.67C203.333%201326.53%201122.53%201326.4%201139.73%201324.53C1188.53%201319.33%201229.07%201299.73%201264.13%201264.8C1294.27%201234.67%201311.47%201202.67%201320.8%201159.33C1323.2%201148.4%201323.33%201130%201323.33%20663.333C1323.33%20196.667%201323.2%20178.266%201320.8%20167.333C1311.47%20124%201294.27%2091.9998%201264.13%2061.8664C1229.07%2026.9331%201188.53%207.33314%201139.73%202.13314C1124.67%200.399809%20200%200.399842%20184.533%201.99984ZM732.933%20151.466C746.8%20152.933%20763.333%20157.6%20774%20163.067C800.267%20176.267%20822.4%20200.4%20833.2%20227.333C841.867%20249.333%20841.467%20233.467%20841.067%20502C840.533%20777.6%20841.733%20750.267%20829.2%20776.133C822.133%20790.933%20810.667%20806.533%20800.267%20815.2C795.2%20819.6%20793.2%20822.267%20792%20827.067C786.133%20848.267%20768.667%20885.867%20755.2%20906.133C724.533%20952%20681.2%20986.133%20624%201009.33C615.6%201012.8%20608.4%201015.87%20608.133%201016.13C607.867%201016.27%20614.533%201023.33%20622.933%201031.6C633.467%201042.13%20639.333%201049.07%20642.133%201054.4C646.933%201063.87%20645.467%201064%20672.667%201050.8C724.933%201025.47%20762.933%20994.8%20794.933%20952C811.467%20929.867%20829.867%20895.333%20839.333%20868.267C841.333%20862.667%20843.467%20858%20844.133%20858C844.667%20858%20845.6%20859.333%20846.133%20860.933C848.267%20868.133%20863.333%20900.8%20870.133%20913.2C898%20963.867%20931.6%201001.2%20975.333%201030.27C989.867%201040%201017.2%201054.4%201031.6%201059.73L1037.2%201061.87L1041.33%201054.67C1048.4%201042.4%201056.67%201032.27%201067.87%201022.4L1078.67%201012.8L1071.6%201010.27C1067.87%201008.8%201060.53%201006%201055.6%201004.13C1040.93%20998.533%201013.73%20984%201000%20974.267C985.733%20964.133%20960.8%20940.667%20948.933%20926.267C935.067%20909.333%20921.467%20887.467%20910%20864C900.133%20844%20887.2%20812.133%20884.667%20801.6L883.733%20798H971.867H1060V769.333V740.667H963.333H866.533L867.333%20736.267C868.4%20729.867%20870.4%20693.067%20871.467%20662.933C872.267%20639.067%20872.533%20636.4%20874.8%20635.2C878.667%20633.2%20881.333%20626.667%20882.267%20617.333L883.067%20608.667H872.133C864.133%20608.667%20861.067%20608.133%20860.533%20606.8C860%20605.467%20881.2%20466%20886.133%20438.267L886.933%20433.867L977.867%20434.4C1066.67%20434.8%201068.93%20434.8%201079.87%20437.733C1124.8%20449.6%201158.67%20482.533%201172.93%20528L1176.67%20540V808V1076L1172.93%201087.73C1158.53%201133.6%201126.13%201164.93%201078.93%201178.4L1068.67%201181.33L812.667%201181.73C638.8%201182%20552.667%201181.73%20544.4%201180.67C488.667%201174.4%20443.2%201132.13%20432.533%201076.93C431.067%201068.93%20430.667%201046.4%20430.667%20956.667V846.133L340.4%20845.6C252.8%20845.2%20249.6%20845.067%20239.067%20842.267C196.533%20831.067%20164.533%20800.133%20151.067%20757.333L147.333%20745.333V499.333V253.333L150.4%20242C159.067%20209.067%20180.4%20181.866%20210.667%20164.933C221.2%20159.066%20240.4%20152.933%20252.667%20151.6C268.533%20149.733%20716.933%20149.6%20732.933%20151.466Z'%20fill='%233B5695'/%3e%3cpath%20d='M256.533%20213.333C232.933%20218.533%20214.133%20237.067%20209.333%20259.733C208.4%20264.533%20208%20337.2%20208.267%20502L208.667%20737.333L211.733%20744.933C218.533%20761.733%20231.733%20774.533%20248.667%20780.933L256.667%20784L490%20784.4C749.2%20784.8%20734.4%20785.333%20750.133%20776C764.267%20767.6%20775.467%20752.4%20778.667%20737.067C779.6%20732.8%20780%20652.133%20779.733%20494L779.333%20257.333L775.067%20248.267C767.2%20231.6%20756.933%20222%20740.133%20215.467L731.333%20212L498%20211.733C306.8%20211.6%20263.2%20211.867%20256.533%20213.333ZM492%20281.2C546.267%20290.267%20590.267%20311.2%20622.533%20343.333C653.867%20374.667%20671.867%20409.867%20680.267%20456.667C684.133%20478.533%20684.133%20516.267%20680.133%20538.533C665.467%20621.067%20606.933%20684.4%20524%20707.467C490%20716.933%20488.4%20716.933%20392.4%20717.6L305.333%20718.133V498V277.867L391.733%20278.4C465.733%20278.8%20480%20279.2%20492%20281.2Z'%20fill='%233B5695'/%3e%3cpath%20d='M384%20462.933V576.133L345.067%20611.467C306.533%20646.267%20306.133%20646.667%20310.667%20647.067C313.2%20647.333%20348.933%20647.333%20390%20646.933C472.667%20646.267%20477.6%20645.867%20503.6%20637.333C527.6%20629.333%20543.333%20620%20560.267%20603.6C590.133%20574.667%20604.4%20536.267%20602.267%20489.733C600.533%20450.267%20588.267%20420%20564%20395.333C546.8%20377.867%20531.6%20368.4%20506.267%20360C482.933%20352.133%20474.533%20351.2%20427.067%20350.4L384%20349.733V462.933Z'%20fill='%233B5695'/%3e%3c/svg%3e", h2 = (t, e) => {
1088
1088
  const n = t.__vccOpts || t;
1089
- for (const [o, i] of e)
1090
- n[o] = i;
1089
+ for (const [i, o] of e)
1090
+ n[i] = o;
1091
1091
  return n;
1092
- }, i2 = {
1092
+ }, et = {
1093
1093
  name: "Logo"
1094
- }, s2 = {
1095
- src: o2,
1094
+ }, nt = {
1095
+ src: tt,
1096
1096
  alt: "DDict Logo",
1097
1097
  class: "w-6 h-6 cursor-pointer"
1098
1098
  };
1099
- function r2(t, e, n, o, i, s) {
1100
- return x(), I("img", s2);
1099
+ function it(t, e, n, i, o, s) {
1100
+ return x(), I("img", nt);
1101
1101
  }
1102
- const l2 = /* @__PURE__ */ et(i2, [["render", r2]]), c2 = "data:image/gif;base64,R0lGODlhQAAmAPQAAM3Nzerq6sbGxu3t7dnZ2eHh4bW1tfv7+/Ly8re3t7y8vPz8/MLCwvX19fj4+N7e3rq6ur6+vsDAwPb29tLS0vDw8MnJydzc3OTk5NTU1NDQ0NbW1ufn57Ozs////////yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAwAfACwAAAAAQAAmAAAF/6AnjmRpnmiqrmzrvnAsz3Rt33guL8vb67EFhwGosA4FCaUBbC0Glo40sWGehAJpB3JxNFMVgEGr5XpHT8uY3IkUDl/SJJNgs909hGZtlzI4cSIbfXYGRgCEbAZnX4OJZEZRj1KLgY6THZGYHZVxl5OamJ2Nm5kekpOjTZ+PoamMq6Wuj6pArISGp5u1OhVqjxAbcAECfH0KFz9xBxzFdgkaRiNIDH3BVk0LARvSDgXVlBYDPcwECCIOFxFa0NJIBBM5YXXXIhMXCgIccGljyPEeGmxQYCFAD23O3MCK0SADhDtd7J2poKEOGQkFzjTgN0AMmz9wYNxTkIjBGxECH7v2MaDvRwUKFgsVVLZigQRRGjxMWJeKgIcKJCclwODigLFEAjwgOEooZ4BSPlsY3ZR06SanUIsy7VN1qx2sm6Ie8cqm61UPT8NqpaqULBmwmMSumIrJLCa4k+SqoDupaim8j/SmWIAqkQGfDrIILaD05iQIgFwIASd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6OINGsJXJCEAIfkEBQMAHwAsGAASACIAFAAABcLgJ45kaY6Ld65eu5KDU1yT+n6ec1HBch8BgeEjKThsJc8BwxAlKBWkCOOoABIlAcc38iwGwhKEUBM5EBnIymAZqDxW7EryOHgekZsIkmk01HoGGx5NeiMPCIYiGoSKIoiOjIWKkIqSjh+VhpeOmnqclImWjZ2im6SUE3mBF6iGDx4TBIAmbD0eAZMvCkYiHg0UciMSGCm+BwWrJgkbZSRfAHsPRyY5BMIfBgAIUiULAQ8N3UkIGkMCA1w3LooeA1vjIQAh+QQFAwAfACwpABMAEQATAAAFZuAnjovTeGOaloUEbROqfsfCCcYYPY4sLgNAbibgLEQISmKWMlgGHguTCVlIp6qEFZvdckfa6/cTHovKZvRYCzB/FKWHgpvYnD6eCWGpMgAQPiIeCBpDHwIBR1NAAhEYB4GLC5EiIQAh+QQFQwAfACwpABMAEQATAAAFYuAnjp/nkSjpNQQ1nKnoOU8kQhsCj97BMQaU4uGAeQKWYOzDwCw+g8SSZCgcpyjCFTvSBrjdLdgLFpHL57GnogAbMKZGRhozAF48BEA5YgSeKQsBAiIKGAc7KT0YBUVlJkshADs=", lt = {
1103
1103
  name: "Loading"
1104
- }, u2 = (t) => (ge("data-v-a0957544"), t = t(), de(), t), f2 = { class: "rounded-lg bg-white p-1 border shadow-custom border-solid border-neutral-300" }, A2 = /* @__PURE__ */ u2(() => /* @__PURE__ */ F("img", {
1105
- src: c2,
1104
+ }, at = (t) => (d0("data-v-a0957544"), t = t(), u0(), t), rt = { class: "rounded-lg bg-white p-1 border shadow-custom border-solid border-neutral-300" }, ct = /* @__PURE__ */ at(() => /* @__PURE__ */ E("img", {
1105
+ src: st,
1106
1106
  alt: "Loading",
1107
1107
  class: "w-12"
1108
- }, null, -1)), g2 = [
1109
- A2
1108
+ }, null, -1)), dt = [
1109
+ ct
1110
1110
  ];
1111
- function d2(t, e, n, o, i, s) {
1112
- return x(), I("div", f2, g2);
1111
+ function ut(t, e, n, i, o, s) {
1112
+ return x(), I("div", rt, dt);
1113
1113
  }
1114
- const C2 = /* @__PURE__ */ et(a2, [["render", d2], ["__scopeId", "data-v-a0957544"]]), m2 = { class: "capitalize text-base italic font-normal text-slate-400" }, h2 = { class: "text-base leading-6 text-textCustom" }, w2 = {
1114
+ const ft = /* @__PURE__ */ h2(lt, [["render", ut], ["__scopeId", "data-v-a0957544"]]), At = {
1115
+ name: "Phonetic",
1116
+ props: ["phonetic"]
1117
+ }, gt = { class: "p-0 m-0" }, Ct = { class: "text-xs font-md text-slate-400" };
1118
+ function ht(t, e, n, i, o, s) {
1119
+ return x(), I("p", gt, [
1120
+ E("span", Ct, "/" + w2(n.phonetic) + "/", 1)
1121
+ ]);
1122
+ }
1123
+ const mt = /* @__PURE__ */ h2(At, [["render", ht]]), wt = { class: "flex flex-col gap-2" }, pt = {
1124
+ __name: "Sentences",
1125
+ props: {
1126
+ sentences: {
1127
+ type: String,
1128
+ default: ""
1129
+ }
1130
+ },
1131
+ setup(t) {
1132
+ const e = t, n = Q(() => e.sentences.split(`
1133
+ `));
1134
+ return (i, o) => (x(), I("div", wt, [
1135
+ (x(!0), I(b2, null, S2(n.value, (s, l) => (x(), I("p", {
1136
+ key: l,
1137
+ class: "text-base text-textCustom leading-tight p-0 mr-2"
1138
+ }, w2(s), 1))), 128))
1139
+ ]));
1140
+ }
1141
+ }, vt = { class: "capitalize text-base italic font-normal text-slate-400" }, xt = { class: "text-base leading-6 text-textCustom" }, bt = {
1115
1142
  __name: "Dict",
1116
1143
  props: {
1117
1144
  dictionary: Array
1118
1145
  },
1119
1146
  setup(t) {
1120
1147
  return (e, n) => (x(), I("div", null, [
1121
- (x(!0), I(gt, null, $t(t.dictionary, (o, i) => (x(), I("div", {
1122
- key: i,
1148
+ (x(!0), I(b2, null, S2(t.dictionary, (i, o) => (x(), I("div", {
1149
+ key: o,
1123
1150
  class: "mt-2"
1124
1151
  }, [
1125
- F("p", m2, wt(o.pos), 1),
1126
- F("span", h2, wt(o.terms.join(", ")), 1)
1152
+ E("p", vt, w2(i.pos), 1),
1153
+ E("span", xt, w2(i.terms.join(", ")), 1)
1127
1154
  ]))), 128))
1128
1155
  ]));
1129
1156
  }
1130
- }, p2 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.33325%204.66667H3.51125C3.82693%204.6667%204.13239%204.55473%204.37325%204.35067L6.83392%202.26667C6.99592%202.12953%207.19374%202.04156%207.40407%202.01312C7.61441%201.98468%207.82849%202.01696%208.02109%202.10615C8.21369%202.19534%208.37678%202.33772%208.49114%202.51652C8.60551%202.69532%208.66638%202.90309%208.66659%203.11534V12.8847C8.66649%2013.097%208.60565%2013.305%208.49125%2013.4839C8.37685%2013.6628%208.21367%2013.8053%208.02094%2013.8945C7.82822%2013.9837%207.614%2014.0159%207.40356%2013.9874C7.19312%2013.9588%206.99523%2013.8707%206.83325%2013.7333L4.37325%2011.6487C4.13229%2011.4449%203.82685%2011.3331%203.51125%2011.3333H2.33325C2.06804%2011.3333%201.81368%2011.228%201.62615%2011.0404C1.43861%2010.8529%201.33325%2010.5986%201.33325%2010.3333V5.66667C1.33325%205.40145%201.43861%205.1471%201.62615%204.95956C1.81368%204.77203%202.06804%204.66667%202.33325%204.66667ZM11.1779%2011.18C11.5969%2010.763%2011.9294%2010.2674%2012.1562%209.72156C12.3831%209.17572%2012.4999%208.59044%2012.4999%207.99934C12.4999%207.40823%2012.3831%206.82295%2012.1562%206.27711C11.9294%205.73127%2011.5969%205.23564%2011.1779%204.81867C11.1317%204.77098%2011.0765%204.73297%2011.0155%204.70686C10.9544%204.68075%2010.8888%204.66705%2010.8224%204.66657C10.756%204.66609%2010.6902%204.67883%2010.6288%204.70406C10.5674%204.72929%2010.5116%204.76649%2010.4647%204.8135C10.4179%204.86051%2010.3808%204.91639%2010.3558%204.97787C10.3307%205.03935%2010.3181%205.10521%2010.3188%205.17159C10.3195%205.23798%2010.3334%205.30357%2010.3597%205.36453C10.3859%205.42549%2010.4241%205.48061%2010.4719%205.52667C10.7977%205.85079%2011.0562%206.23609%2011.2326%206.66043C11.409%207.08477%2011.4998%207.53979%2011.4998%207.99934C11.4998%208.45888%2011.409%208.9139%2011.2326%209.33824C11.0562%209.76258%2010.7977%2010.1479%2010.4719%2010.472C10.4241%2010.5181%2010.3859%2010.5732%2010.3597%2010.6341C10.3334%2010.6951%2010.3195%2010.7607%2010.3188%2010.8271C10.3181%2010.8935%2010.3307%2010.9593%2010.3558%2011.0208C10.3808%2011.0823%2010.4179%2011.1382%2010.4647%2011.1852C10.5116%2011.2322%2010.5674%2011.2694%2010.6288%2011.2946C10.6902%2011.3198%2010.756%2011.3326%2010.8224%2011.3321C10.8888%2011.3316%2010.9544%2011.3179%2011.0155%2011.2918C11.0765%2011.2657%2011.1317%2011.2277%2011.1779%2011.18ZM12.7113%2013.2127C12.6123%2013.2126%2012.5157%2013.1832%2012.4335%2013.1281C12.3513%2013.0731%2012.2873%2012.9949%2012.2495%2012.9035C12.2118%2012.8121%2012.202%2012.7115%2012.2214%2012.6146C12.2408%2012.5176%2012.2886%2012.4285%2012.3586%2012.3587C12.9317%2011.7866%2013.3865%2011.1071%2013.6967%2010.359C14.0069%209.61101%2014.1666%208.80915%2014.1666%207.99934C14.1666%207.18952%2014.0069%206.38766%2013.6967%205.63963C13.3865%204.8916%2012.9317%204.2121%2012.3586%203.64C12.3122%203.59351%2012.2754%203.53834%2012.2503%203.47764C12.2252%203.41693%2012.2124%203.35188%2012.2124%203.2862C12.2125%203.22052%2012.2255%203.15549%2012.2507%203.09483C12.2759%203.03417%2012.3128%202.97907%2012.3593%202.93267C12.4057%202.88627%2012.4609%202.84948%2012.5216%202.8244C12.5823%202.79932%2012.6474%202.78645%2012.7131%202.78651C12.7787%202.78657%2012.8438%202.79957%2012.9044%202.82476C12.9651%202.84995%2013.0202%202.88685%2013.0666%202.93334C13.7327%203.59825%2014.2612%204.38801%2014.6218%205.25741C14.9824%206.12681%2015.168%207.05879%2015.168%208C15.168%208.94122%2014.9824%209.87319%2014.6218%2010.7426C14.2612%2011.612%2013.7327%2012.4018%2013.0666%2013.0667C13.02%2013.1134%2012.9646%2013.1504%2012.9036%2013.1756C12.8426%2013.2007%2012.7772%2013.2129%2012.7113%2013.2127Z'%20fill='%233B5695'/%3e%3c/svg%3e", v2 = "data:image/svg+xml,%3csvg%20class='swap-on%20fill-current%20h-4%20w-4'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill-rule='evenodd'%20d='M4.5%207.5a3%203%200%200%201%203-3h9a3%203%200%200%201%203%203v9a3%203%200%200%201-3%203h-9a3%203%200%200%201-3-3v-9Z'%20clip-rule='evenodd'%20fill='%238595BE'/%3e%3c/svg%3e", B2 = /* @__PURE__ */ F("img", {
1131
- class: "w-5",
1132
- src: p2,
1133
- alt: "Play"
1134
- }, null, -1), x2 = [
1135
- B2
1136
- ], y2 = /* @__PURE__ */ F("img", {
1137
- class: "w-5",
1138
- src: v2,
1139
- alt: "Stop"
1140
- }, null, -1), E2 = [
1141
- y2
1142
- ], Wt = {
1157
+ }, Bt = { class: "" }, It = /* @__PURE__ */ E("p", { class: "capitalize text-base italic font-normal text-slate-400 mt-2" }, "AI Summary:", -1), yt = {
1158
+ key: 0,
1159
+ class: "list-none list-outside mt-2"
1160
+ }, Et = ["innerHTML"], Lt = {
1161
+ __name: "Explanation",
1162
+ props: {
1163
+ explanation: Object
1164
+ },
1165
+ setup(t) {
1166
+ return (e, n) => {
1167
+ var i, o;
1168
+ return x(), I("div", Bt, [
1169
+ It,
1170
+ (i = t.explanation) != null && i.result ? (x(), I("ul", yt, [
1171
+ (x(!0), I(b2, null, S2(((o = t.explanation) == null ? void 0 : o.result.split(`
1172
+ `)) || [], (s, l) => (x(), I("li", {
1173
+ key: `${s}-${l}`,
1174
+ innerHTML: s,
1175
+ class: "text-base text-textCustom"
1176
+ }, null, 8, Et))), 128))
1177
+ ])) : _("", !0)
1178
+ ]);
1179
+ };
1180
+ }
1181
+ }, Qt = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.33325%204.66667H3.51125C3.82693%204.6667%204.13239%204.55473%204.37325%204.35067L6.83392%202.26667C6.99592%202.12953%207.19374%202.04156%207.40407%202.01312C7.61441%201.98468%207.82849%202.01696%208.02109%202.10615C8.21369%202.19534%208.37678%202.33772%208.49114%202.51652C8.60551%202.69532%208.66638%202.90309%208.66659%203.11534V12.8847C8.66649%2013.097%208.60565%2013.305%208.49125%2013.4839C8.37685%2013.6628%208.21367%2013.8053%208.02094%2013.8945C7.82822%2013.9837%207.614%2014.0159%207.40356%2013.9874C7.19312%2013.9588%206.99523%2013.8707%206.83325%2013.7333L4.37325%2011.6487C4.13229%2011.4449%203.82685%2011.3331%203.51125%2011.3333H2.33325C2.06804%2011.3333%201.81368%2011.228%201.62615%2011.0404C1.43861%2010.8529%201.33325%2010.5986%201.33325%2010.3333V5.66667C1.33325%205.40145%201.43861%205.1471%201.62615%204.95956C1.81368%204.77203%202.06804%204.66667%202.33325%204.66667ZM11.1779%2011.18C11.5969%2010.763%2011.9294%2010.2674%2012.1562%209.72156C12.3831%209.17572%2012.4999%208.59044%2012.4999%207.99934C12.4999%207.40823%2012.3831%206.82295%2012.1562%206.27711C11.9294%205.73127%2011.5969%205.23564%2011.1779%204.81867C11.1317%204.77098%2011.0765%204.73297%2011.0155%204.70686C10.9544%204.68075%2010.8888%204.66705%2010.8224%204.66657C10.756%204.66609%2010.6902%204.67883%2010.6288%204.70406C10.5674%204.72929%2010.5116%204.76649%2010.4647%204.8135C10.4179%204.86051%2010.3808%204.91639%2010.3558%204.97787C10.3307%205.03935%2010.3181%205.10521%2010.3188%205.17159C10.3195%205.23798%2010.3334%205.30357%2010.3597%205.36453C10.3859%205.42549%2010.4241%205.48061%2010.4719%205.52667C10.7977%205.85079%2011.0562%206.23609%2011.2326%206.66043C11.409%207.08477%2011.4998%207.53979%2011.4998%207.99934C11.4998%208.45888%2011.409%208.9139%2011.2326%209.33824C11.0562%209.76258%2010.7977%2010.1479%2010.4719%2010.472C10.4241%2010.5181%2010.3859%2010.5732%2010.3597%2010.6341C10.3334%2010.6951%2010.3195%2010.7607%2010.3188%2010.8271C10.3181%2010.8935%2010.3307%2010.9593%2010.3558%2011.0208C10.3808%2011.0823%2010.4179%2011.1382%2010.4647%2011.1852C10.5116%2011.2322%2010.5674%2011.2694%2010.6288%2011.2946C10.6902%2011.3198%2010.756%2011.3326%2010.8224%2011.3321C10.8888%2011.3316%2010.9544%2011.3179%2011.0155%2011.2918C11.0765%2011.2657%2011.1317%2011.2277%2011.1779%2011.18ZM12.7113%2013.2127C12.6123%2013.2126%2012.5157%2013.1832%2012.4335%2013.1281C12.3513%2013.0731%2012.2873%2012.9949%2012.2495%2012.9035C12.2118%2012.8121%2012.202%2012.7115%2012.2214%2012.6146C12.2408%2012.5176%2012.2886%2012.4285%2012.3586%2012.3587C12.9317%2011.7866%2013.3865%2011.1071%2013.6967%2010.359C14.0069%209.61101%2014.1666%208.80915%2014.1666%207.99934C14.1666%207.18952%2014.0069%206.38766%2013.6967%205.63963C13.3865%204.8916%2012.9317%204.2121%2012.3586%203.64C12.3122%203.59351%2012.2754%203.53834%2012.2503%203.47764C12.2252%203.41693%2012.2124%203.35188%2012.2124%203.2862C12.2125%203.22052%2012.2255%203.15549%2012.2507%203.09483C12.2759%203.03417%2012.3128%202.97907%2012.3593%202.93267C12.4057%202.88627%2012.4609%202.84948%2012.5216%202.8244C12.5823%202.79932%2012.6474%202.78645%2012.7131%202.78651C12.7787%202.78657%2012.8438%202.79957%2012.9044%202.82476C12.9651%202.84995%2013.0202%202.88685%2013.0666%202.93334C13.7327%203.59825%2014.2612%204.38801%2014.6218%205.25741C14.9824%206.12681%2015.168%207.05879%2015.168%208C15.168%208.94122%2014.9824%209.87319%2014.6218%2010.7426C14.2612%2011.612%2013.7327%2012.4018%2013.0666%2013.0667C13.02%2013.1134%2012.9646%2013.1504%2012.9036%2013.1756C12.8426%2013.2007%2012.7772%2013.2129%2012.7113%2013.2127Z'%20fill='%233B5695'/%3e%3c/svg%3e", Ft = "data:image/svg+xml,%3csvg%20class='swap-on%20fill-current%20h-4%20w-4'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill-rule='evenodd'%20d='M4.5%207.5a3%203%200%200%201%203-3h9a3%203%200%200%201%203%203v9a3%203%200%200%201-3%203h-9a3%203%200%200%201-3-3v-9Z'%20clip-rule='evenodd'%20fill='%238595BE'/%3e%3c/svg%3e", St = ["disabled"], Mt = ["disabled"], kt = {
1143
1182
  __name: "Player",
1144
1183
  props: {
1145
1184
  tts: {
1146
1185
  type: String,
1147
1186
  default: ""
1187
+ },
1188
+ disabled: {
1189
+ type: Boolean,
1190
+ default: !1
1148
1191
  }
1149
1192
  },
1150
1193
  emits: ["loadTTS"],
1151
1194
  setup(t, { emit: e }) {
1152
- const n = t, o = e, i = Q(() => n.tts), s = M(!1), r = new Audio();
1153
- At(
1154
- i,
1195
+ const n = t, i = e, o = Q(() => n.tts), s = T(!1), l = new Audio();
1196
+ A2(
1197
+ o,
1155
1198
  () => {
1156
- if (!i.value) {
1199
+ if (!o.value) {
1157
1200
  s.value = !1;
1158
1201
  return;
1159
1202
  }
1160
- l();
1203
+ a();
1161
1204
  },
1162
1205
  { immediate: !0 }
1163
- ), Ft(() => {
1164
- a(), r.src = "";
1206
+ ), M2(() => {
1207
+ c(), l.src = "";
1165
1208
  });
1166
- function c() {
1167
- if (i.value) {
1168
- l();
1209
+ function r() {
1210
+ if (o.value) {
1211
+ a();
1169
1212
  return;
1170
1213
  }
1171
- s.value = !0, o("loadTTS");
1214
+ s.value = !0, i("loadTTS");
1172
1215
  }
1173
- function l() {
1174
- i.value && (r.src = i.value, s.value = !0, r.play().catch(() => {
1216
+ function a() {
1217
+ o.value && (l.src = o.value, s.value = !0, l.play().catch(() => {
1175
1218
  s.value = !1;
1176
1219
  }));
1177
1220
  }
1178
- function a() {
1179
- r.pause(), r.currentTime = 0, s.value = !1;
1221
+ function c() {
1222
+ l.pause(), l.currentTime = 0, s.value = !1;
1180
1223
  }
1181
- return r.onended = () => {
1224
+ return l.onended = () => {
1182
1225
  s.value = !1;
1183
- }, (u, f) => s.value ? (x(), I("button", {
1226
+ }, (d, u) => s.value ? (x(), I("button", {
1184
1227
  key: 1,
1185
- class: "btn btn-xs btn-ghost btn-circle",
1186
- onClick: a
1187
- }, E2)) : (x(), I("button", {
1188
- key: 0,
1189
- class: "btn btn-xs btn-ghost btn-circle",
1228
+ class: k(["btn btn-xs btn-circle", [
1229
+ { "btn-ghost": !t.disabled },
1230
+ { "!bg-white !border-none !shadow-none !ring-0": t.disabled }
1231
+ ]]),
1232
+ disabled: t.disabled,
1190
1233
  onClick: c
1191
- }, x2));
1234
+ }, [
1235
+ E("img", {
1236
+ class: k(["w-5 transition-all duration-200", [{ "opacity-100": !t.disabled }, { "opacity-50 transform": t.disabled }]]),
1237
+ src: Ft,
1238
+ alt: "Stop"
1239
+ }, null, 2)
1240
+ ], 10, Mt)) : (x(), I("button", {
1241
+ key: 0,
1242
+ class: k(["btn btn-xs btn-circle", [
1243
+ { "btn-ghost": !t.disabled },
1244
+ { "!bg-white !border-none !shadow-none !ring-0": t.disabled }
1245
+ ]]),
1246
+ disabled: t.disabled,
1247
+ onClick: r
1248
+ }, [
1249
+ E("img", {
1250
+ class: k(["w-5 transition-all duration-200", [{ "opacity-100": !t.disabled }, { "opacity-50 transform": t.disabled }]]),
1251
+ src: Qt,
1252
+ alt: "Play"
1253
+ }, null, 2)
1254
+ ], 10, St));
1192
1255
  }
1193
- }, I2 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.47207%201.31905C7.57125%201.12371%207.77589%201%208.00001%201C8.22413%201%208.42877%201.12367%208.52795%201.31905L10.3721%204.95175L14.4959%205.53427C14.7177%205.5656%2014.9019%205.7166%2014.9712%205.9238C15.0404%206.13101%2014.9827%206.35843%2014.8222%206.51049L11.8382%209.33816L12.5427%2013.3309C12.5806%2013.5456%2012.4897%2013.7626%2012.3084%2013.8906C12.1272%2014.0187%2011.8868%2014.0356%2011.6884%2013.9342L8.00004%2012.0491L4.31158%2013.9343C4.11323%2014.0356%203.87286%2014.0187%203.69157%2013.8907C3.51028%2013.7627%203.4195%2013.5457%203.45736%2013.3309L4.1618%209.33819L1.17781%206.51052C1.01735%206.35846%200.959571%206.13101%201.02884%205.92383C1.09807%205.71663%201.28232%205.56563%201.50409%205.53431L5.62787%204.95178L7.47207%201.31905Z'%20fill='%23FFC857'/%3e%3c/svg%3e", b2 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.9491%205.89315C14.8278%205.53128%2014.5111%205.27252%2014.1226%205.21783L10.5264%204.7114L8.91813%201.55315C8.74435%201.21195%208.39257%201%207.99998%201C7.60739%201%207.25557%201.21195%207.08183%201.55315L5.47358%204.7114L1.8774%205.21783C1.48888%205.27252%201.17219%205.53128%201.05086%205.89315C0.929554%206.25501%201.02881%206.64477%201.30993%206.91038L3.91217%209.36871L3.29786%2012.8399C3.2315%2013.215%203.38755%2013.5868%203.7052%2013.8105C3.88128%2013.9344%204.08938%2014%204.30704%2014C4.47232%2014%204.63705%2013.9606%204.78341%2013.886L7.99995%2012.2471L11.2165%2013.886C11.3628%2013.9606%2011.5276%2014%2011.6929%2014C11.9106%2014%2012.1187%2013.9345%2012.2948%2013.8105C12.6124%2013.5868%2012.7685%2013.215%2012.7021%2012.84L12.0878%209.36871L14.6901%206.91035C14.9712%206.64477%2015.0704%206.25498%2014.9491%205.89315ZM14.0266%206.25082L11.2455%208.87813C11.1335%208.98392%2011.0824%209.13637%2011.1089%209.28575L11.7654%2012.9956C11.7701%2013.0226%2011.759%2013.0493%2011.7362%2013.0653C11.7202%2013.0766%2011.7038%2013.079%2011.6929%2013.079C11.6809%2013.079%2011.6694%2013.0762%2011.6587%2013.0708L8.22108%2011.3192C8.15189%2011.284%208.07593%2011.2663%207.99998%2011.2663C7.92402%2011.2663%207.84807%2011.284%207.77882%2011.3193L4.34118%2013.0708C4.33052%2013.0763%204.31904%2013.079%204.30701%2013.079C4.29611%2013.079%204.27969%2013.0767%204.26373%2013.0654C4.24092%2013.0494%204.22975%2013.0226%204.2345%2012.9957L4.89104%209.28584C4.91747%209.13646%204.86637%208.98401%204.75439%208.87822L1.97327%206.25091C1.95308%206.23184%201.94595%206.20383%201.95466%206.17786C1.9634%206.15185%201.98612%206.13326%202.01405%206.12933L5.85743%205.58807C6.0122%205.56626%206.14599%205.47208%206.21521%205.33616L7.93404%201.9608C7.94653%201.9363%207.97178%201.92107%207.99998%201.92107C8.02818%201.92107%208.05343%201.9363%208.06591%201.9608L9.78468%205.33607C9.85391%205.47199%209.9877%205.5662%2010.1425%205.58799L13.9859%206.12924C14.0138%206.1332%2014.0365%206.15176%2014.0452%206.17777C14.0539%206.20374%2014.0468%206.23175%2014.0266%206.25082Z'%20fill='%23FFC857'/%3e%3c/svg%3e", Q2 = {
1194
- name: "Favorite",
1195
- props: ["isFilled"]
1196
- }, S2 = { class: "btn btn-xs btn-circle btn-ghost" }, L2 = {
1197
- key: 0,
1198
- class: "w-5",
1199
- src: I2,
1200
- alt: "Clear"
1201
- }, F2 = {
1202
- key: 1,
1203
- class: "w-5",
1204
- src: b2,
1205
- alt: "Clear"
1206
- };
1207
- function k2(t, e, n, o, i, s) {
1208
- return x(), I("button", S2, [
1209
- n.isFilled ? (x(), I("img", L2)) : (x(), I("img", F2))
1210
- ]);
1211
- }
1212
- const Nt = /* @__PURE__ */ et(Q2, [["render", k2]]), D2 = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.12596%201.63869C9.46935%201.54364%209.83221%201.70329%209.99413%202.02068C10.3672%202.75191%2011.1261%203.25%2012%203.25C12.8739%203.25%2013.6328%202.75191%2014.0059%202.02068C14.1678%201.70329%2014.5307%201.54364%2014.874%201.63869C16.5585%202.10497%2018.0759%202.9704%2019.3184%204.12574C19.5611%204.35137%2019.6269%204.70948%2019.4804%205.00666C19.3331%205.30535%2019.25%205.6419%2019.25%206C19.25%207.24263%2020.2574%208.25%2021.5%208.25L21.5314%208.24977C21.8629%208.24504%2022.1583%208.45859%2022.2576%208.77495C22.5777%209.79397%2022.75%2010.8776%2022.75%2012C22.75%2012.7408%2022.6749%2013.4649%2022.5318%2014.1648C22.4548%2014.5411%2022.1059%2014.7985%2021.7237%2014.7609C21.6504%2014.7537%2021.5758%2014.75%2021.5%2014.75C20.2574%2014.75%2019.25%2015.7574%2019.25%2017C19.25%2017.5531%2019.4486%2018.0579%2019.7793%2018.4498C20.027%2018.7434%2020.0128%2019.1767%2019.7465%2019.4535C18.4777%2020.7719%2016.8745%2021.7678%2015.0721%2022.3044C14.6807%2022.4209%2014.2681%2022.2029%2014.1437%2021.814C13.8535%2020.906%2013.0024%2020.25%2012%2020.25C10.9976%2020.25%2010.1465%2020.906%209.85629%2021.814C9.73195%2022.2029%209.31927%2022.4209%208.92789%2022.3044C7.12545%2021.7678%205.52229%2020.7719%204.25353%2019.4535C3.98716%2019.1767%203.97299%2018.7434%204.22072%2018.4498C4.55139%2018.0579%204.75%2017.5531%204.75%2017C4.75%2015.7574%203.74264%2014.75%202.5%2014.75C2.42423%2014.75%202.34963%2014.7537%202.27634%2014.7609C1.89406%2014.7985%201.54519%2014.5411%201.46821%2014.1648C1.32505%2013.4649%201.25%2012.7408%201.25%2012C1.25%2010.8776%201.42227%209.79398%201.74236%208.77494C1.84173%208.45859%202.13705%208.24504%202.4686%208.24977L2.5%208.25C3.74264%208.25%204.75%207.24263%204.75%206C4.75%205.6419%204.66689%205.30535%204.51962%205.00666C4.3731%204.70948%204.43894%204.35137%204.68159%204.12574C5.92411%202.9704%207.44153%202.10497%209.12596%201.63869ZM6.08277%204.88991C6.19152%205.24123%206.25%205.61424%206.25%206C6.25%207.88945%204.85261%209.45253%203.03493%209.71213C2.84898%2010.4432%202.75%2011.2096%202.75%2012C2.75%2012.4294%202.77921%2012.8516%202.83567%2013.2648C4.74948%2013.4346%206.25%2015.0421%206.25%2017C6.25%2017.6669%206.0754%2018.2941%205.76971%2018.8372C6.62645%2019.6184%207.63002%2020.2404%208.73362%2020.657C9.37706%2019.5189%2010.598%2018.75%2012%2018.75C13.402%2018.75%2014.6229%2019.5189%2015.2664%2020.657C16.37%2020.2404%2017.3735%2019.6184%2018.2303%2018.8372C17.9246%2018.2941%2017.75%2017.6669%2017.75%2017C17.75%2015.0421%2019.2505%2013.4346%2021.1643%2013.2648C21.2208%2012.8516%2021.25%2012.4294%2021.25%2012C21.25%2011.2096%2021.151%2010.4432%2020.9651%209.71213C19.1474%209.45252%2017.75%207.88945%2017.75%206C17.75%205.61424%2017.8085%205.24123%2017.9172%204.88991C17.0618%204.1771%2016.0762%203.61614%2015.0018%203.24775C14.3184%204.15897%2013.2287%204.75%2012%204.75C10.7713%204.75%209.68158%204.15897%208.99819%203.24775C7.92382%203.61614%206.93823%204.1771%206.08277%204.88991Z'%20fill='%237E7E7E'/%3e%3cpath%20d='M7.75%2012C7.75%209.65278%209.65279%207.75%2012%207.75C14.3472%207.75%2016.25%209.65278%2016.25%2012C16.25%2014.3472%2014.3472%2016.25%2012%2016.25C9.65279%2016.25%207.75%2014.3472%207.75%2012ZM12%209.25C10.4812%209.25%209.25%2010.4812%209.25%2012C9.25%2013.5188%2010.4812%2014.75%2012%2014.75C13.5188%2014.75%2014.75%2013.5188%2014.75%2012C14.75%2010.4812%2013.5188%209.25%2012%209.25Z'%20fill='%237E7E7E'/%3e%3c/svg%3e", R2 = {}, M2 = { class: "btn btn-xs btn-ghost btn-circle" }, H2 = /* @__PURE__ */ F("img", {
1256
+ }, Dt = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.9491%205.89315C14.8278%205.53128%2014.5111%205.27252%2014.1226%205.21783L10.5264%204.7114L8.91813%201.55315C8.74435%201.21195%208.39257%201%207.99998%201C7.60739%201%207.25557%201.21195%207.08183%201.55315L5.47358%204.7114L1.8774%205.21783C1.48888%205.27252%201.17219%205.53128%201.05086%205.89315C0.929554%206.25501%201.02881%206.64477%201.30993%206.91038L3.91217%209.36871L3.29786%2012.8399C3.2315%2013.215%203.38755%2013.5868%203.7052%2013.8105C3.88128%2013.9344%204.08938%2014%204.30704%2014C4.47232%2014%204.63705%2013.9606%204.78341%2013.886L7.99995%2012.2471L11.2165%2013.886C11.3628%2013.9606%2011.5276%2014%2011.6929%2014C11.9106%2014%2012.1187%2013.9345%2012.2948%2013.8105C12.6124%2013.5868%2012.7685%2013.215%2012.7021%2012.84L12.0878%209.36871L14.6901%206.91035C14.9712%206.64477%2015.0704%206.25498%2014.9491%205.89315ZM14.0266%206.25082L11.2455%208.87813C11.1335%208.98392%2011.0824%209.13637%2011.1089%209.28575L11.7654%2012.9956C11.7701%2013.0226%2011.759%2013.0493%2011.7362%2013.0653C11.7202%2013.0766%2011.7038%2013.079%2011.6929%2013.079C11.6809%2013.079%2011.6694%2013.0762%2011.6587%2013.0708L8.22108%2011.3192C8.15189%2011.284%208.07593%2011.2663%207.99998%2011.2663C7.92402%2011.2663%207.84807%2011.284%207.77882%2011.3193L4.34118%2013.0708C4.33052%2013.0763%204.31904%2013.079%204.30701%2013.079C4.29611%2013.079%204.27969%2013.0767%204.26373%2013.0654C4.24092%2013.0494%204.22975%2013.0226%204.2345%2012.9957L4.89104%209.28584C4.91747%209.13646%204.86637%208.98401%204.75439%208.87822L1.97327%206.25091C1.95308%206.23184%201.94595%206.20383%201.95466%206.17786C1.9634%206.15185%201.98612%206.13326%202.01405%206.12933L5.85743%205.58807C6.0122%205.56626%206.14599%205.47208%206.21521%205.33616L7.93404%201.9608C7.94653%201.9363%207.97178%201.92107%207.99998%201.92107C8.02818%201.92107%208.05343%201.9363%208.06591%201.9608L9.78468%205.33607C9.85391%205.47199%209.9877%205.5662%2010.1425%205.58799L13.9859%206.12924C14.0138%206.1332%2014.0365%206.15176%2014.0452%206.17777C14.0539%206.20374%2014.0468%206.23175%2014.0266%206.25082Z'%20fill='%231A1F2A'/%3e%3c/svg%3e", Rt = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.47207%201.31905C7.57125%201.12371%207.77589%201%208.00001%201C8.22413%201%208.42877%201.12367%208.52795%201.31905L10.3721%204.95175L14.4959%205.53427C14.7177%205.5656%2014.9019%205.7166%2014.9712%205.9238C15.0404%206.13101%2014.9827%206.35843%2014.8222%206.51049L11.8382%209.33816L12.5427%2013.3309C12.5806%2013.5456%2012.4897%2013.7626%2012.3084%2013.8906C12.1272%2014.0187%2011.8868%2014.0356%2011.6884%2013.9342L8.00004%2012.0491L4.31158%2013.9343C4.11323%2014.0356%203.87286%2014.0187%203.69157%2013.8907C3.51028%2013.7627%203.4195%2013.5457%203.45736%2013.3309L4.1618%209.33819L1.17781%206.51052C1.01735%206.35846%200.959571%206.13101%201.02884%205.92383C1.09807%205.71663%201.28232%205.56563%201.50409%205.53431L5.62787%204.95178L7.47207%201.31905Z'%20fill='%23FFC857'/%3e%3c/svg%3e", Tt = {
1257
+ class: "tooltip tooltip-bottom before:!bg-white before:!border before:!border-solid before:!border-gray-200 before:![box-shadow:0px_1px_8px_0px_#3D44514D] before:!rounded-md before:!text-textSecondary before:!top-[90%]",
1258
+ "data-tip": "Favorite"
1259
+ }, Ht = ["disabled"], Ot = ["src", "alt"], Gt = {
1260
+ __name: "Favorite",
1261
+ props: {
1262
+ isFilled: Boolean,
1263
+ disabled: Boolean
1264
+ },
1265
+ setup(t) {
1266
+ return (e, n) => (x(), I("div", Tt, [
1267
+ E("button", {
1268
+ class: k(["btn btn-xs btn-circle", [
1269
+ { "btn-ghost": !t.disabled },
1270
+ { "!bg-transparent !border-none !shadow-none !ring-0": t.disabled }
1271
+ ]]),
1272
+ disabled: t.disabled
1273
+ }, [
1274
+ E("img", {
1275
+ src: t.isFilled ? H(Rt) : H(Dt),
1276
+ alt: t.isFilled ? "Unfavorite" : "Favorite",
1277
+ class: k(["w-5 transition-all duration-200", [{ "opacity-100": !t.disabled }, { "opacity-50 transform": t.disabled }]])
1278
+ }, null, 10, Ot)
1279
+ ], 10, Ht)
1280
+ ]));
1281
+ }
1282
+ }, Jt = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3ccircle%20cx='18'%20cy='12'%20r='0'%20fill='currentColor'%3e%3canimate%20attributeName='r'%20begin='.67'%20calcMode='spline'%20dur='1.5s'%20keySplines='0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8'%20repeatCount='indefinite'%20values='0;2;0;0'/%3e%3c/circle%3e%3ccircle%20cx='12'%20cy='12'%20r='0'%20fill='currentColor'%3e%3canimate%20attributeName='r'%20begin='.33'%20calcMode='spline'%20dur='1.5s'%20keySplines='0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8'%20repeatCount='indefinite'%20values='0;2;0;0'/%3e%3c/circle%3e%3ccircle%20cx='6'%20cy='12'%20r='0'%20fill='currentColor'%3e%3canimate%20attributeName='r'%20begin='0'%20calcMode='spline'%20dur='1.5s'%20keySplines='0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8'%20repeatCount='indefinite'%20values='0;2;0;0'/%3e%3c/circle%3e%3c/svg%3e", Ut = ["src"], o0 = {
1283
+ __name: "Spinning",
1284
+ setup(t) {
1285
+ return (e, n) => (x(), I("img", {
1286
+ src: H(Jt),
1287
+ alt: "Loading",
1288
+ class: "w-6 h-6"
1289
+ }, null, 8, Ut));
1290
+ }
1291
+ }, Yt = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.8544%203.20309C5.39975%202.89815%204.26277%201.76117%203.95787%200.30649C3.92042%200.12792%203.76292%200%203.58041%200C3.3979%200%203.2404%200.12792%203.20297%200.30652C2.89805%201.76117%201.76107%202.89812%200.306418%203.20302C0.127818%203.24045%20-0.00012207%203.39798%20-0.00012207%203.58046C-0.00012207%203.76295%200.127798%203.92047%200.306418%203.9579C1.76105%204.26285%202.89798%205.3998%203.2029%206.85448C3.24033%207.03307%203.39783%207.16102%203.58034%207.16102C3.76282%207.16102%203.92035%207.0331%203.95778%206.85448C4.26272%205.39983%205.39973%204.26287%206.85438%203.95799C7.03297%203.92056%207.16092%203.76306%207.16092%203.58056C7.1609%203.39805%207.03297%203.24052%206.8544%203.20309ZM3.58036%205.60938C3.14292%204.73132%202.42956%204.01792%201.55151%203.58049C2.42958%203.14305%203.14297%202.42968%203.58041%201.55161C4.01785%202.4297%204.73122%203.14307%205.60926%203.58053C4.73119%204.01797%204.0178%204.73132%203.58036%205.60938Z'%20fill='%23FFC857'/%3e%3cpath%20d='M6.21683%209.574C5.53147%209.4303%204.99578%208.8947%204.85209%208.2093C4.81466%208.0307%204.65716%207.90271%204.47465%207.90271C4.29217%207.90271%204.13464%208.0306%204.09721%208.2092C3.95352%208.8946%203.4178%209.4303%202.73244%209.574C2.55385%209.6114%202.4259%209.7689%202.4259%209.9514C2.4259%2010.1339%202.55383%2010.2914%202.73244%2010.3288C3.41778%2010.4725%203.95349%2011.0082%204.09716%2011.6936C4.13459%2011.8722%204.2921%2012.0002%204.4746%2012.0002C4.65709%2012.0002%204.81461%2011.8723%204.85204%2011.6936C4.99574%2011.0082%205.53145%2010.4725%206.21683%2010.3289C6.39543%2010.2914%206.52337%2010.1339%206.52337%209.9514C6.52337%209.7689%206.39545%209.6114%206.21683%209.574ZM4.47463%2010.6408C4.29163%2010.3688%204.05725%2010.1345%203.78526%209.9515C4.0573%209.7684%204.29163%209.5341%204.47463%209.2621C4.65765%209.5341%204.892%209.7685%205.164%209.9515C4.892%2010.1345%204.65763%2010.3688%204.47463%2010.6408Z'%20fill='%23FFC857'/%3e%3cpath%20d='M11.4271%206.00324C10.5007%205.80904%209.7766%205.08496%209.5825%204.15859C9.545%203.98%209.3875%203.85205%209.205%203.85205C9.0225%203.85205%208.865%203.97995%208.8276%204.15857C8.6334%205.08496%207.90932%205.80902%206.98293%206.0032C6.80434%206.04063%206.67639%206.19815%206.67639%206.38064C6.67639%206.56312%206.80431%206.72062%206.98293%206.75807C7.9093%206.95228%208.6334%207.67633%208.8275%208.6027C8.865%208.7813%209.0225%208.9093%209.205%208.9093C9.3875%208.9093%209.545%208.7814%209.5824%208.6027C9.7766%207.67633%2010.5007%206.95228%2011.4271%206.75812C11.6057%206.72067%2011.7336%206.56317%2011.7336%206.38068C11.7336%206.1982%2011.6057%206.04067%2011.4271%206.00324ZM9.205%207.47681C8.9365%207.02634%208.5593%206.64914%208.1089%206.38066C8.5593%206.11218%208.9365%205.73502%209.205%205.28453C9.4735%205.73502%209.8507%206.11221%2010.3012%206.38068C9.8507%206.64916%209.4735%207.02636%209.205%207.47681Z'%20fill='%23FFC857'/%3e%3ccircle%20cx='3.5'%20cy='3.5'%20r='1.5'%20fill='%23FFC857'/%3e%3cellipse%20cx='4.5'%20cy='10'%20rx='0.5'%20ry='1'%20fill='%23FFC857'/%3e%3cpath%20d='M3.5%201L4.79904%202.5H2.20096L3.5%201Z'%20fill='%23FFC857'/%3e%3cpath%20d='M6%203.5L4.5%204.79904L4.5%202.20096L6%203.5Z'%20fill='%23FFC857'/%3e%3cpath%20d='M10.3697%206.67832L8.22108%207.01422L9.5776%204.65296L10.3697%206.67832Z'%20fill='%23FFC857'/%3e%3cpath%20d='M8.27756%205.34149L10.768%206.00067L9.11199%207.77878L8.27756%205.34149Z'%20fill='%23FFC857'/%3e%3cpath%20d='M1%203.5L2.5%202.20096L2.5%204.79904L1%203.5Z'%20fill='%23FFC857'/%3e%3cpath%20d='M3.5%206L2.20096%204.5L4.79904%204.5L3.5%206Z'%20fill='%23FFC857'/%3e%3ccircle%20cx='9'%20cy='6'%20r='1'%20fill='%23FFC857'/%3e%3cpath%20d='M5.49718%209.92495L4.03391%2010.4693L3.96891%209.60573L5.49718%209.92495Z'%20fill='%23FFC857'/%3e%3cpath%20d='M3.54089%209.71696L5.10212%209.72621L4.857%2010.5568L3.54089%209.71696Z'%20fill='%23FFC857'/%3e%3cpath%20d='M3.50071%209.96247L5.0159%209.58606L4.9834%2010.4515L3.50071%209.96247Z'%20fill='%23FFC857'/%3e%3c/svg%3e", Kt = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.8544%203.20309C5.39975%202.89815%204.26277%201.76117%203.95787%200.30649C3.92042%200.12792%203.76292%200%203.58041%200C3.3979%200%203.2404%200.12792%203.20297%200.30652C2.89805%201.76117%201.76107%202.89812%200.306418%203.20302C0.127818%203.24045%20-0.00012207%203.39798%20-0.00012207%203.58046C-0.00012207%203.76295%200.127798%203.92047%200.306418%203.9579C1.76105%204.26285%202.89798%205.3998%203.2029%206.85448C3.24033%207.03307%203.39783%207.16102%203.58034%207.16102C3.76282%207.16102%203.92035%207.0331%203.95778%206.85448C4.26272%205.39983%205.39973%204.26287%206.85438%203.95799C7.03297%203.92056%207.16092%203.76306%207.16092%203.58056C7.1609%203.39805%207.03297%203.24052%206.8544%203.20309ZM3.58036%205.60938C3.14292%204.73132%202.42956%204.01792%201.55151%203.58049C2.42958%203.14305%203.14297%202.42968%203.58041%201.55161C4.01785%202.4297%204.73122%203.14307%205.60926%203.58053C4.73119%204.01797%204.0178%204.73132%203.58036%205.60938Z'%20fill='%23FFC857'/%3e%3cpath%20d='M6.21683%209.574C5.53147%209.4303%204.99578%208.8947%204.85209%208.2093C4.81466%208.0307%204.65716%207.90271%204.47465%207.90271C4.29217%207.90271%204.13464%208.0306%204.09721%208.2092C3.95352%208.8946%203.4178%209.4303%202.73244%209.574C2.55385%209.6114%202.4259%209.7689%202.4259%209.9514C2.4259%2010.1339%202.55383%2010.2914%202.73244%2010.3288C3.41778%2010.4725%203.95349%2011.0082%204.09716%2011.6936C4.13459%2011.8722%204.2921%2012.0002%204.4746%2012.0002C4.65709%2012.0002%204.81461%2011.8723%204.85204%2011.6936C4.99574%2011.0082%205.53145%2010.4725%206.21683%2010.3289C6.39543%2010.2914%206.52337%2010.1339%206.52337%209.9514C6.52337%209.7689%206.39545%209.6114%206.21683%209.574ZM4.47463%2010.6408C4.29163%2010.3688%204.05725%2010.1345%203.78526%209.9515C4.0573%209.7684%204.29163%209.5341%204.47463%209.2621C4.65765%209.5341%204.892%209.7685%205.164%209.9515C4.892%2010.1345%204.65763%2010.3688%204.47463%2010.6408Z'%20fill='%23FFC857'/%3e%3cpath%20d='M11.4271%206.00324C10.5007%205.80904%209.7766%205.08496%209.5825%204.15859C9.545%203.98%209.3875%203.85205%209.205%203.85205C9.0225%203.85205%208.865%203.97995%208.8276%204.15857C8.6334%205.08496%207.90932%205.80902%206.98293%206.0032C6.80434%206.04063%206.67639%206.19815%206.67639%206.38064C6.67639%206.56312%206.80431%206.72062%206.98293%206.75807C7.9093%206.95228%208.6334%207.67633%208.8275%208.6027C8.865%208.7813%209.0225%208.9093%209.205%208.9093C9.3875%208.9093%209.545%208.7814%209.5824%208.6027C9.7766%207.67633%2010.5007%206.95228%2011.4271%206.75812C11.6057%206.72067%2011.7336%206.56317%2011.7336%206.38068C11.7336%206.1982%2011.6057%206.04067%2011.4271%206.00324ZM9.205%207.47681C8.9365%207.02634%208.5593%206.64914%208.1089%206.38066C8.5593%206.11218%208.9365%205.73502%209.205%205.28453C9.4735%205.73502%209.8507%206.11221%2010.3012%206.38068C9.8507%206.64916%209.4735%207.02636%209.205%207.47681Z'%20fill='%23FFC857'/%3e%3c/svg%3e", Vt = {
1292
+ class: "bg-white tooltip tooltip-bottom before:!bg-white before:!border before:!border-solid before:!border-gray-200 before:![box-shadow:0px_1px_8px_0px_#3D44514D] before:!rounded-md before:!text-textSecondary before:!top-[90%]",
1293
+ "data-tip": "AI Translate"
1294
+ }, Wt = ["disabled"], Nt = ["src"], Zt = {
1295
+ __name: "AITranslateBtn",
1296
+ props: {
1297
+ isLoading: Boolean,
1298
+ disabled: Boolean,
1299
+ isFilled: Boolean
1300
+ },
1301
+ setup(t) {
1302
+ return (e, n) => (x(), I("div", Vt, [
1303
+ t.isLoading ? (x(), j(o0, {
1304
+ key: 0,
1305
+ class: "inset-0 flex items-center justify-center"
1306
+ })) : (x(), I("button", {
1307
+ key: 1,
1308
+ class: k(["btn btn-xs btn-circle", [
1309
+ { "btn-ghost": !t.disabled },
1310
+ { "!bg-transparent !border-none !shadow-none !ring-0": t.disabled }
1311
+ ]]),
1312
+ disabled: t.disabled
1313
+ }, [
1314
+ E("img", {
1315
+ src: t.isFilled ? H(Yt) : H(Kt),
1316
+ alt: "AI",
1317
+ class: k(["w-5 transition-all duration-200", [{ "opacity-100": !t.disabled }, { "opacity-50 transform ": t.disabled }]])
1318
+ }, null, 10, Nt)
1319
+ ], 10, Wt))
1320
+ ]));
1321
+ }
1322
+ }, qt = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%3e%3cpath%20fill='%23FFC857'%20d='M12%207a5%205%200%200%200-2%209.584V19h4v-2.416A5.001%205.001%200%200%200%2012%207z'/%3e%3cpath%20stroke='%23FFC857'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20d='M21%2012h1m-3.5-6.5%201-1M12%203V2M5.5%205.5l-1-1M3%2012H2m8%2010h4m3-10a5%205%200%201%200-7%204.584V19h4v-2.416A5.001%205.001%200%200%200%2017%2012z'/%3e%3c/svg%3e", jt = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%3e%3cpath%20stroke='%23FFC857'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20d='M21%2012h1m-3.5-6.5%201-1M12%203V2M5.5%205.5l-1-1M3%2012H2m8%2010h4m3-10a5%205%200%201%200-7%204.584V19h4v-2.416A5.001%205.001%200%200%200%2017%2012z'/%3e%3c/svg%3e", Pt = {
1323
+ class: "bg-white tooltip tooltip-bottom before:!bg-white before:!border before:!border-solid before:!border-gray-200 before:![box-shadow:0px_1px_8px_0px_#3D44514D] before:!rounded-md before:!text-textSecondary before:!top-[90%]",
1324
+ "data-tip": "AI Summarize"
1325
+ }, zt = ["disabled"], $t = ["src"], Xt = {
1326
+ __name: "AIExplainBtn",
1327
+ props: {
1328
+ isLoading: Boolean,
1329
+ disabled: Boolean,
1330
+ isFilled: Boolean
1331
+ },
1332
+ setup(t) {
1333
+ return (e, n) => (x(), I("div", Pt, [
1334
+ t.isLoading ? (x(), j(o0, { key: 0 })) : (x(), I("button", {
1335
+ key: 1,
1336
+ class: k(["btn btn-xs btn-circle", [
1337
+ { "btn-ghost": !t.disabled },
1338
+ { "!bg-transparent !border-none !shadow-none !ring-0": t.disabled }
1339
+ ]]),
1340
+ disabled: t.disabled
1341
+ }, [
1342
+ E("img", {
1343
+ src: t.isFilled ? H(qt) : H(jt),
1344
+ alt: "AI",
1345
+ class: k(["w-6 transition-all duration-200", [{ "opacity-100": !t.disabled }, { "opacity-50 transform ": t.disabled }]])
1346
+ }, null, 10, $t)
1347
+ ], 10, zt))
1348
+ ]));
1349
+ }
1350
+ }, _t = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.12596%201.63869C9.46935%201.54364%209.83221%201.70329%209.99413%202.02068C10.3672%202.75191%2011.1261%203.25%2012%203.25C12.8739%203.25%2013.6328%202.75191%2014.0059%202.02068C14.1678%201.70329%2014.5307%201.54364%2014.874%201.63869C16.5585%202.10497%2018.0759%202.9704%2019.3184%204.12574C19.5611%204.35137%2019.6269%204.70948%2019.4804%205.00666C19.3331%205.30535%2019.25%205.6419%2019.25%206C19.25%207.24263%2020.2574%208.25%2021.5%208.25L21.5314%208.24977C21.8629%208.24504%2022.1583%208.45859%2022.2576%208.77495C22.5777%209.79397%2022.75%2010.8776%2022.75%2012C22.75%2012.7408%2022.6749%2013.4649%2022.5318%2014.1648C22.4548%2014.5411%2022.1059%2014.7985%2021.7237%2014.7609C21.6504%2014.7537%2021.5758%2014.75%2021.5%2014.75C20.2574%2014.75%2019.25%2015.7574%2019.25%2017C19.25%2017.5531%2019.4486%2018.0579%2019.7793%2018.4498C20.027%2018.7434%2020.0128%2019.1767%2019.7465%2019.4535C18.4777%2020.7719%2016.8745%2021.7678%2015.0721%2022.3044C14.6807%2022.4209%2014.2681%2022.2029%2014.1437%2021.814C13.8535%2020.906%2013.0024%2020.25%2012%2020.25C10.9976%2020.25%2010.1465%2020.906%209.85629%2021.814C9.73195%2022.2029%209.31927%2022.4209%208.92789%2022.3044C7.12545%2021.7678%205.52229%2020.7719%204.25353%2019.4535C3.98716%2019.1767%203.97299%2018.7434%204.22072%2018.4498C4.55139%2018.0579%204.75%2017.5531%204.75%2017C4.75%2015.7574%203.74264%2014.75%202.5%2014.75C2.42423%2014.75%202.34963%2014.7537%202.27634%2014.7609C1.89406%2014.7985%201.54519%2014.5411%201.46821%2014.1648C1.32505%2013.4649%201.25%2012.7408%201.25%2012C1.25%2010.8776%201.42227%209.79398%201.74236%208.77494C1.84173%208.45859%202.13705%208.24504%202.4686%208.24977L2.5%208.25C3.74264%208.25%204.75%207.24263%204.75%206C4.75%205.6419%204.66689%205.30535%204.51962%205.00666C4.3731%204.70948%204.43894%204.35137%204.68159%204.12574C5.92411%202.9704%207.44153%202.10497%209.12596%201.63869ZM6.08277%204.88991C6.19152%205.24123%206.25%205.61424%206.25%206C6.25%207.88945%204.85261%209.45253%203.03493%209.71213C2.84898%2010.4432%202.75%2011.2096%202.75%2012C2.75%2012.4294%202.77921%2012.8516%202.83567%2013.2648C4.74948%2013.4346%206.25%2015.0421%206.25%2017C6.25%2017.6669%206.0754%2018.2941%205.76971%2018.8372C6.62645%2019.6184%207.63002%2020.2404%208.73362%2020.657C9.37706%2019.5189%2010.598%2018.75%2012%2018.75C13.402%2018.75%2014.6229%2019.5189%2015.2664%2020.657C16.37%2020.2404%2017.3735%2019.6184%2018.2303%2018.8372C17.9246%2018.2941%2017.75%2017.6669%2017.75%2017C17.75%2015.0421%2019.2505%2013.4346%2021.1643%2013.2648C21.2208%2012.8516%2021.25%2012.4294%2021.25%2012C21.25%2011.2096%2021.151%2010.4432%2020.9651%209.71213C19.1474%209.45252%2017.75%207.88945%2017.75%206C17.75%205.61424%2017.8085%205.24123%2017.9172%204.88991C17.0618%204.1771%2016.0762%203.61614%2015.0018%203.24775C14.3184%204.15897%2013.2287%204.75%2012%204.75C10.7713%204.75%209.68158%204.15897%208.99819%203.24775C7.92382%203.61614%206.93823%204.1771%206.08277%204.88991Z'%20fill='%237E7E7E'/%3e%3cpath%20d='M7.75%2012C7.75%209.65278%209.65279%207.75%2012%207.75C14.3472%207.75%2016.25%209.65278%2016.25%2012C16.25%2014.3472%2014.3472%2016.25%2012%2016.25C9.65279%2016.25%207.75%2014.3472%207.75%2012ZM12%209.25C10.4812%209.25%209.25%2010.4812%209.25%2012C9.25%2013.5188%2010.4812%2014.75%2012%2014.75C13.5188%2014.75%2014.75%2013.5188%2014.75%2012C14.75%2010.4812%2013.5188%209.25%2012%209.25Z'%20fill='%237E7E7E'/%3e%3c/svg%3e", te = {}, ee = { class: "btn btn-xs btn-ghost btn-circle mb-1" }, ne = /* @__PURE__ */ E("img", {
1213
1351
  class: "w-5",
1214
- src: D2,
1352
+ src: _t,
1215
1353
  alt: "Icon description"
1216
- }, null, -1), T2 = [
1217
- H2
1354
+ }, null, -1), ie = [
1355
+ ne
1218
1356
  ];
1219
- function O2(t, e) {
1220
- return x(), I("button", M2, T2);
1357
+ function oe(t, e) {
1358
+ return x(), I("button", ee, ie);
1221
1359
  }
1222
- const qt = /* @__PURE__ */ et(R2, [["render", O2]]), G2 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.19102%203.19102C3.44571%202.93633%203.85864%202.93633%204.11333%203.19102L12.809%2011.8867C13.0637%2012.1414%2013.0637%2012.5543%2012.809%2012.809C12.5543%2013.0637%2012.1414%2013.0637%2011.8867%2012.809L3.19102%204.11333C2.93633%203.85864%202.93633%203.44571%203.19102%203.19102Z'%20fill='%231A1F2A'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.809%203.19102C13.0637%203.44571%2013.0637%203.85864%2012.809%204.11333L4.11333%2012.809C3.85864%2013.0637%203.44571%2013.0637%203.19102%2012.809C2.93633%2012.5543%202.93633%2012.1414%203.19102%2011.8867L11.8867%203.19102C12.1414%202.93633%2012.5543%202.93633%2012.809%203.19102Z'%20fill='%231A1F2A'/%3e%3c/svg%3e", J2 = {}, Y2 = { class: "btn btn-xs btn-circle btn-ghost" }, K2 = /* @__PURE__ */ F("img", {
1360
+ const se = /* @__PURE__ */ h2(te, [["render", oe]]), le = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.19102%203.19102C3.44571%202.93633%203.85864%202.93633%204.11333%203.19102L12.809%2011.8867C13.0637%2012.1414%2013.0637%2012.5543%2012.809%2012.809C12.5543%2013.0637%2012.1414%2013.0637%2011.8867%2012.809L3.19102%204.11333C2.93633%203.85864%202.93633%203.44571%203.19102%203.19102Z'%20fill='%231A1F2A'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.809%203.19102C13.0637%203.44571%2013.0637%203.85864%2012.809%204.11333L4.11333%2012.809C3.85864%2013.0637%203.44571%2013.0637%203.19102%2012.809C2.93633%2012.5543%202.93633%2012.1414%203.19102%2011.8867L11.8867%203.19102C12.1414%202.93633%2012.5543%202.93633%2012.809%203.19102Z'%20fill='%231A1F2A'/%3e%3c/svg%3e", ae = {}, re = { class: "btn btn-xs btn-circle btn-ghost" }, ce = /* @__PURE__ */ E("img", {
1223
1361
  class: "w-5",
1224
- src: G2,
1362
+ src: le,
1225
1363
  alt: "Clear"
1226
- }, null, -1), U2 = [
1227
- K2
1364
+ }, null, -1), de = [
1365
+ ce
1228
1366
  ];
1229
- function V2(t, e) {
1230
- return x(), I("button", Y2, U2);
1231
- }
1232
- const jt = /* @__PURE__ */ et(J2, [["render", V2]]), W2 = { class: "flex flex-col gap-2" }, N2 = {
1233
- __name: "Sentences",
1234
- props: {
1235
- sentences: {
1236
- type: String,
1237
- default: ""
1238
- }
1239
- },
1240
- setup(t) {
1241
- const e = t, n = Q(() => e.sentences.split(`
1242
- `));
1243
- return (o, i) => (x(), I("div", W2, [
1244
- (x(!0), I(gt, null, $t(n.value, (s, r) => (x(), I("p", {
1245
- key: r,
1246
- class: "text-base text-textCustom leading-tight p-0 mr-2"
1247
- }, wt(s), 1))), 128))
1248
- ]));
1249
- }
1250
- }, q2 = {
1251
- name: "Phonetic",
1252
- props: ["phonetic"]
1253
- }, j2 = { class: "p-0 m-0" }, Z2 = { class: "text-sm font-md text-slate-400" };
1254
- function P2(t, e, n, o, i, s) {
1255
- return x(), I("p", j2, [
1256
- F("span", Z2, "/" + wt(n.phonetic) + "/", 1)
1257
- ]);
1367
+ function ue(t, e) {
1368
+ return x(), I("button", re, de);
1258
1369
  }
1259
- const z2 = /* @__PURE__ */ et(q2, [["render", P2]]), $2 = { class: "flex flex-col" }, X2 = {
1260
- key: 0,
1261
- class: "flex flex-row pb-2 pl-10"
1262
- }, Zt = {
1370
+ const fe = /* @__PURE__ */ h2(ae, [["render", ue]]), Ae = { class: "flex flex-col" }, ge = { class: "flex p-2 pt-2 pb-1 flex-row justify-between" }, Ce = { class: "justify-start items-center" }, he = { class: "flex items-center gap-1" }, me = /* @__PURE__ */ E("div", { class: "w-5" }, null, -1), we = { class: "justify-end items-center" }, N2 = {
1263
1371
  __name: "Header",
1264
1372
  props: {
1265
1373
  tts: String,
1266
- sentences: String,
1267
- phonetic: String,
1268
- isLongSentence: Boolean,
1269
1374
  isServiceUnavailable: Boolean,
1270
1375
  isFavorite: Boolean,
1271
- isFavoriteFeatureEnabled: Boolean
1376
+ isFavoriteFeatureEnabled: Boolean,
1377
+ isAITranslate: Boolean,
1378
+ isAIExplain: Boolean,
1379
+ isAITranslationLoading: Boolean,
1380
+ isAIExplainLoading: Boolean
1272
1381
  },
1273
- emits: ["favorite", "setting", "close", "loadTTS"],
1382
+ emits: ["favorite", "setting", "close", "loadTTS", "aiTranslate", "aiExplain"],
1274
1383
  setup(t, { emit: e }) {
1275
- const n = t, o = e;
1276
- return (i, s) => (x(), I("div", $2, [
1277
- F("div", {
1278
- class: Et(["flex p-2 pt-2 pb-1", {
1279
- "flex-row-reverse": n.isLongSentence,
1280
- "flex-row justify-between": !n.isLongSentence
1281
- }])
1282
- }, [
1283
- F("div", {
1284
- class: Et(["flex flex-row gap-2", { "order-2": n.isLongSentence, "items-center": !n.isLongSentence }])
1285
- }, [
1286
- t.isLongSentence ? q("", !0) : (x(), $(Wt, {
1287
- key: 0,
1384
+ const n = t, i = e;
1385
+ return (o, s) => (x(), I("div", Ae, [
1386
+ E("div", ge, [
1387
+ E("div", Ce, [
1388
+ J(kt, {
1389
+ disabled: t.isAITranslationLoading || t.isAIExplainLoading,
1288
1390
  tts: n.tts,
1289
- onLoadTTS: s[0] || (s[0] = (r) => i.$emit("loadTTS"))
1290
- }, null, 8, ["tts"])),
1291
- O(N2, {
1292
- sentences: t.isServiceUnavailable ? "Service Unavailable" : n.sentences
1293
- }, null, 8, ["sentences"])
1294
- ], 2),
1295
- F("div", {
1296
- class: Et(["flex", {
1297
- "flex-col items-end": n.isLongSentence,
1298
- "flex-row justify-right items-center ml-2": !n.isLongSentence
1299
- }])
1300
- }, [
1301
- n.isLongSentence ? (x(), I(gt, { key: 0 }, [
1302
- O(jt, {
1303
- onClick: s[1] || (s[1] = (r) => o("close"))
1304
- }),
1305
- O(Wt, {
1306
- tts: n.tts,
1307
- onLoadTTS: s[2] || (s[2] = (r) => i.$emit("loadTTS"))
1308
- }, null, 8, ["tts"]),
1309
- !t.isServiceUnavailable && n.isFavoriteFeatureEnabled ? (x(), $(Nt, {
1310
- key: 0,
1311
- isFilled: n.isFavorite,
1312
- onClick: s[3] || (s[3] = (r) => o("favorite"))
1313
- }, null, 8, ["isFilled"])) : q("", !0),
1314
- O(qt, {
1315
- onClick: s[4] || (s[4] = (r) => o("setting"))
1316
- })
1317
- ], 64)) : (x(), I(gt, { key: 1 }, [
1318
- !t.isServiceUnavailable && n.isFavoriteFeatureEnabled ? (x(), $(Nt, {
1319
- key: 0,
1320
- isFilled: n.isFavorite,
1321
- onClick: s[5] || (s[5] = (r) => o("favorite"))
1322
- }, null, 8, ["isFilled"])) : q("", !0),
1323
- O(qt, {
1324
- onClick: s[6] || (s[6] = (r) => o("setting"))
1325
- }),
1326
- O(jt, {
1327
- onClick: s[7] || (s[7] = (r) => o("close"))
1328
- })
1329
- ], 64))
1330
- ], 2)
1331
- ], 2),
1332
- n.isLongSentence ? q("", !0) : (x(), I("div", X2, [
1333
- n.phonetic ? (x(), $(z2, {
1334
- key: 0,
1335
- phonetic: n.phonetic
1336
- }, null, 8, ["phonetic"])) : q("", !0)
1337
- ]))
1391
+ onLoadTTS: s[0] || (s[0] = (l) => o.$emit("loadTTS"))
1392
+ }, null, 8, ["disabled", "tts"])
1393
+ ]),
1394
+ E("div", he, [
1395
+ me,
1396
+ J(Zt, {
1397
+ isLoading: t.isAITranslationLoading,
1398
+ isFilled: t.isAITranslate,
1399
+ onClick: s[1] || (s[1] = (l) => i("aiTranslate"))
1400
+ }, null, 8, ["isLoading", "isFilled"]),
1401
+ J(Xt, {
1402
+ isLoading: t.isAIExplainLoading,
1403
+ isFilled: t.isAIExplain,
1404
+ onClick: s[2] || (s[2] = (l) => i("aiExplain"))
1405
+ }, null, 8, ["isLoading", "isFilled"]),
1406
+ !t.isServiceUnavailable && n.isFavoriteFeatureEnabled ? (x(), j(Gt, {
1407
+ key: 0,
1408
+ isFilled: n.isFavorite,
1409
+ onClick: s[3] || (s[3] = (l) => i("favorite")),
1410
+ disabled: t.isAITranslationLoading || t.isAIExplainLoading
1411
+ }, null, 8, ["isFilled", "disabled"])) : _("", !0)
1412
+ ]),
1413
+ E("div", we, [
1414
+ J(se, {
1415
+ onClick: s[4] || (s[4] = (l) => i("setting"))
1416
+ }),
1417
+ J(fe, {
1418
+ onClick: s[5] || (s[5] = (l) => i("close"))
1419
+ })
1420
+ ])
1421
+ ])
1338
1422
  ]));
1339
1423
  }
1340
- }, rt = {
1424
+ }, a2 = {
1341
1425
  LOGO: "LOGO",
1342
1426
  LOADING: "LOADING",
1343
1427
  DATA: "DATA",
1344
1428
  ERROR: "ERROR",
1345
1429
  HIDDEN: "HIDDEN"
1346
- }, _2 = ["ar", "fa", "iw", "yi", "ur", "pa"], t0 = {
1430
+ }, pe = ["ar", "fa", "iw", "yi", "ur", "pa"], ve = {
1347
1431
  key: 0,
1348
1432
  class: "flex justify-center"
1349
- }, e0 = {
1433
+ }, xe = {
1350
1434
  key: 1,
1351
1435
  class: "flex justify-center"
1352
- }, n0 = {
1353
- key: 2,
1354
- class: "wrapper shadow-custom rounded-lg text-slate-900 bg-white text-sm border border-solid border-neutral-300"
1355
- }, o0 = {
1436
+ }, be = {
1437
+ class: /* @__PURE__ */ k(["bg-white rounded-md relative z-10"])
1438
+ }, Be = { class: "p-3 border-t border-[#D3D4D9]" }, Ie = {
1356
1439
  name: "Bubble",
1357
- props: ["translation", "tts", "status", "isFavorite", "isFavoriteFeatureEnabled"],
1358
- emits: ["logo", "favorite", "settings", "close", "loadTTS"],
1440
+ props: [
1441
+ "translation",
1442
+ "explanation",
1443
+ "tts",
1444
+ "status",
1445
+ "isFavorite",
1446
+ "isFavoriteFeatureEnabled",
1447
+ "isAITranslate",
1448
+ "isAIExplain"
1449
+ ],
1450
+ emits: ["logo", "favorite", "settings", "close", "loadTTS", "aiTranslate", "aiExplain"],
1359
1451
  data() {
1360
1452
  return {
1361
1453
  data: null,
1362
1454
  isLongSentence: !1,
1363
- isServiceUnavailable: !1
1455
+ isServiceUnavailable: !1,
1456
+ isAITranslationLoading: !1,
1457
+ isAIExplainLoading: !1
1364
1458
  };
1365
1459
  },
1460
+ methods: {
1461
+ handleAITranslate() {
1462
+ this.isAITranslationLoading = !0, this.$emit("aiTranslate");
1463
+ },
1464
+ handleAIExplain() {
1465
+ this.isAIExplainLoading = !0, this.$emit("aiExplain");
1466
+ }
1467
+ },
1366
1468
  watch: {
1367
1469
  translation: {
1368
1470
  handler() {
1369
- var t, e, n, o;
1471
+ var t, e, n, i;
1370
1472
  try {
1371
- this.data = this.translation, this.isLongSentence = !((e = (t = this.data) == null ? void 0 : t.phonetic) != null && e.src || ((o = (n = this.data) == null ? void 0 : n.dictionary) == null ? void 0 : o.length) > 0), this.isServiceUnavailable = !1;
1473
+ this.data = this.translation, this.isLongSentence = !((e = (t = this.data) == null ? void 0 : t.phonetic) != null && e.src || ((i = (n = this.data) == null ? void 0 : n.dictionary) == null ? void 0 : i.length) > 0), this.isServiceUnavailable = !1;
1372
1474
  } catch {
1373
1475
  this.isServiceUnavailable = !0;
1476
+ } finally {
1477
+ this.isAITranslationLoading = !1, this.isAIExplainLoading = !1;
1374
1478
  }
1375
1479
  },
1376
1480
  immediate: !0
1377
1481
  },
1482
+ explanation: {
1483
+ handler() {
1484
+ this.isAIExplainLoading = !1;
1485
+ },
1486
+ immediate: !0
1487
+ },
1378
1488
  status() {
1379
- this.status === rt.ERROR && (this.isServiceUnavailable = !0);
1489
+ this.status === a2.ERROR && (this.isServiceUnavailable = !0);
1380
1490
  }
1381
1491
  }
1382
- }, i0 = /* @__PURE__ */ Object.assign(o0, {
1492
+ }, ye = /* @__PURE__ */ Object.assign(Ie, {
1383
1493
  setup(t) {
1384
- return (e, n) => t.status === ht(rt).LOGO ? (x(), I("div", t0, [
1385
- O(l2, {
1386
- onClick: n[0] || (n[0] = (o) => e.$emit("logo"))
1387
- })
1388
- ])) : t.status === ht(rt).LOADING ? (x(), I("div", e0, [
1389
- O(C2)
1390
- ])) : t.status !== ht(rt).HIDDEN ? (x(), I("div", n0, [
1391
- e.isServiceUnavailable ? (x(), $(Zt, {
1392
- key: 0,
1393
- isServiceUnavailable: e.isServiceUnavailable,
1394
- isLongSentence: !1,
1395
- onFavorite: n[1] || (n[1] = (o) => e.$emit("favorite")),
1396
- onSetting: n[2] || (n[2] = (o) => e.$emit("settings")),
1397
- onClose: n[3] || (n[3] = (o) => e.$emit("close")),
1398
- onLoadTTS: n[4] || (n[4] = (o) => e.$emit("loadTTS"))
1399
- }, null, 8, ["isServiceUnavailable"])) : (x(), $(Zt, {
1400
- key: 1,
1401
- tts: t.tts,
1402
- sentences: e.data.result,
1403
- phonetic: e.data.phonetic.src,
1404
- isFavorite: t.isFavorite,
1405
- isFavoriteFeatureEnabled: t.isFavoriteFeatureEnabled,
1406
- isLongSentence: e.isLongSentence,
1407
- onFavorite: n[5] || (n[5] = (o) => e.$emit("favorite")),
1408
- onSetting: n[6] || (n[6] = (o) => e.$emit("settings")),
1409
- onClose: n[7] || (n[7] = (o) => e.$emit("close")),
1410
- onLoadTTS: n[8] || (n[8] = (o) => e.$emit("loadTTS"))
1411
- }, null, 8, ["tts", "sentences", "phonetic", "isFavorite", "isFavoriteFeatureEnabled", "isLongSentence"])),
1412
- !e.isServiceUnavailable && e.data.dictionary.length > 0 ? (x(), $(w2, {
1494
+ return (e, n) => {
1495
+ var i, o, s, l, r, a, c;
1496
+ return t.status === H(a2).LOGO ? (x(), I("div", ve, [
1497
+ J(ot, {
1498
+ onClick: n[0] || (n[0] = (d) => e.$emit("logo"))
1499
+ })
1500
+ ])) : t.status === H(a2).LOADING ? (x(), I("div", xe, [
1501
+ J(ft)
1502
+ ])) : t.status !== H(a2).HIDDEN ? (x(), I("div", {
1413
1503
  key: 2,
1414
- class: "p-3 pt-0 border-t border-[#D3D4D9]",
1415
- dictionary: e.data.dictionary
1416
- }, null, 8, ["dictionary"])) : q("", !0)
1417
- ])) : q("", !0);
1504
+ class: k([
1505
+ "wrapper rounded-lg text-slate-900 text-sm shadow-lg relative transition-all duration-300 ease-in-out bg-[length:300%_300%] bg-[position:0%_50%]",
1506
+ {
1507
+ "p-0.5 bg-gradient-to-br from-[#8556f0] via-[#d6b379] via-[#6bedd1] to-[#439beb] animate-moveGradient": t.isAITranslate || t.isAIExplain,
1508
+ "p-0.5 bg-gray-100": !t.isAITranslate && !t.isAIExplain
1509
+ }
1510
+ ])
1511
+ }, [
1512
+ E("div", be, [
1513
+ e.isServiceUnavailable ? (x(), j(N2, {
1514
+ key: 0,
1515
+ isServiceUnavailable: e.isServiceUnavailable,
1516
+ isLongSentence: !1,
1517
+ onFavorite: n[1] || (n[1] = (d) => e.$emit("favorite")),
1518
+ onSetting: n[2] || (n[2] = (d) => e.$emit("settings")),
1519
+ onClose: n[3] || (n[3] = (d) => e.$emit("close")),
1520
+ onLoadTTS: n[4] || (n[4] = (d) => e.$emit("loadTTS"))
1521
+ }, null, 8, ["isServiceUnavailable"])) : (x(), j(N2, {
1522
+ key: 1,
1523
+ tts: t.tts,
1524
+ isFavorite: t.isFavorite,
1525
+ isAITranslate: t.isAITranslate,
1526
+ isAIExplain: t.isAIExplain,
1527
+ isAITranslationLoading: e.isAITranslationLoading,
1528
+ isAIExplainLoading: e.isAIExplainLoading,
1529
+ isFavoriteFeatureEnabled: t.isFavoriteFeatureEnabled,
1530
+ isLongSentence: e.isLongSentence,
1531
+ onFavorite: n[5] || (n[5] = (d) => e.$emit("favorite")),
1532
+ onSetting: n[6] || (n[6] = (d) => e.$emit("settings")),
1533
+ onClose: n[7] || (n[7] = (d) => e.$emit("close")),
1534
+ onLoadTTS: n[8] || (n[8] = (d) => e.$emit("loadTTS")),
1535
+ onAiTranslate: e.handleAITranslate,
1536
+ onAiExplain: e.handleAIExplain
1537
+ }, null, 8, ["tts", "isFavorite", "isAITranslate", "isAIExplain", "isAITranslationLoading", "isAIExplainLoading", "isFavoriteFeatureEnabled", "isLongSentence", "onAiTranslate", "onAiExplain"])),
1538
+ E("div", Be, [
1539
+ (o = (i = e.data) == null ? void 0 : i.phonetic) != null && o.src ? (x(), j(mt, {
1540
+ key: 0,
1541
+ phonetic: (l = (s = e.data) == null ? void 0 : s.phonetic) == null ? void 0 : l.src
1542
+ }, null, 8, ["phonetic"])) : _("", !0),
1543
+ J(pt, {
1544
+ sentences: e.isServiceUnavailable ? "Service Unavailable" : (r = e.data) == null ? void 0 : r.result
1545
+ }, null, 8, ["sentences"])
1546
+ ]),
1547
+ !e.isServiceUnavailable && ((c = (a = e.data) == null ? void 0 : a.dictionary) == null ? void 0 : c.length) > 0 ? (x(), j(bt, {
1548
+ key: 2,
1549
+ class: "p-3 pt-0 border-t border-[#D3D4D9]",
1550
+ dictionary: e.data.dictionary
1551
+ }, null, 8, ["dictionary"])) : _("", !0),
1552
+ !e.isServiceUnavailable && t.isAIExplain && t.explanation ? (x(), j(Lt, {
1553
+ key: 3,
1554
+ class: "p-3 pt-0 border-t border-[#D3D4D9]",
1555
+ explanation: t.explanation
1556
+ }, null, 8, ["explanation"])) : _("", !0)
1557
+ ])
1558
+ ], 2)) : _("", !0);
1559
+ };
1418
1560
  }
1419
- }), s0 = /* @__PURE__ */ et(i0, [["__scopeId", "data-v-5f316748"]]);
1420
- function r0(t) {
1561
+ });
1562
+ function Ee(t) {
1421
1563
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1422
1564
  }
1423
- var ce = { exports: {} };
1565
+ var s0 = { exports: {} };
1424
1566
  (function(t) {
1425
1567
  (function() {
1426
1568
  var e = [
@@ -1460,61 +1602,61 @@ var ce = { exports: {} };
1460
1602
  "wordSpacing",
1461
1603
  "tabSize",
1462
1604
  "MozTabSize"
1463
- ], n = typeof window < "u", o = n && window.mozInnerScreenX != null;
1464
- function i(s, r, c) {
1605
+ ], n = typeof window < "u", i = n && window.mozInnerScreenX != null;
1606
+ function o(s, l, r) {
1465
1607
  if (!n)
1466
1608
  throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");
1467
- var l = c && c.debug || !1;
1468
- if (l) {
1469
- var a = document.querySelector("#input-textarea-caret-position-mirror-div");
1470
- a && a.parentNode.removeChild(a);
1609
+ var a = r && r.debug || !1;
1610
+ if (a) {
1611
+ var c = document.querySelector("#input-textarea-caret-position-mirror-div");
1612
+ c && c.parentNode.removeChild(c);
1471
1613
  }
1472
- var u = document.createElement("div");
1473
- u.id = "input-textarea-caret-position-mirror-div", document.body.appendChild(u);
1474
- var f = u.style, d = window.getComputedStyle ? window.getComputedStyle(s) : s.currentStyle, A = s.nodeName === "INPUT";
1475
- f.whiteSpace = "pre-wrap", A || (f.wordWrap = "break-word"), f.position = "absolute", l || (f.visibility = "hidden"), e.forEach(function(w) {
1476
- A && w === "lineHeight" ? f.lineHeight = d.height : f[w] = d[w];
1477
- }), o ? s.scrollHeight > parseInt(d.height) && (f.overflowY = "scroll") : f.overflow = "hidden", u.textContent = s.value.substring(0, r), A && (u.textContent = u.textContent.replace(/\s/g, " "));
1614
+ var d = document.createElement("div");
1615
+ d.id = "input-textarea-caret-position-mirror-div", document.body.appendChild(d);
1616
+ var u = d.style, g = window.getComputedStyle ? window.getComputedStyle(s) : s.currentStyle, f = s.nodeName === "INPUT";
1617
+ u.whiteSpace = "pre-wrap", f || (u.wordWrap = "break-word"), u.position = "absolute", a || (u.visibility = "hidden"), e.forEach(function(w) {
1618
+ f && w === "lineHeight" ? u.lineHeight = g.height : u[w] = g[w];
1619
+ }), i ? s.scrollHeight > parseInt(g.height) && (u.overflowY = "scroll") : u.overflow = "hidden", d.textContent = s.value.substring(0, l), f && (d.textContent = d.textContent.replace(/\s/g, " "));
1478
1620
  var C = document.createElement("span");
1479
- C.textContent = s.value.substring(r) || ".", u.appendChild(C);
1480
- var h = {
1481
- top: C.offsetTop + parseInt(d.borderTopWidth),
1482
- left: C.offsetLeft + parseInt(d.borderLeftWidth),
1483
- height: parseInt(d.lineHeight)
1621
+ C.textContent = s.value.substring(l) || ".", d.appendChild(C);
1622
+ var m = {
1623
+ top: C.offsetTop + parseInt(g.borderTopWidth),
1624
+ left: C.offsetLeft + parseInt(g.borderLeftWidth),
1625
+ height: parseInt(g.lineHeight)
1484
1626
  };
1485
- return l ? C.style.backgroundColor = "#aaa" : document.body.removeChild(u), h;
1627
+ return a ? C.style.backgroundColor = "#aaa" : document.body.removeChild(d), m;
1486
1628
  }
1487
- t.exports = i;
1629
+ t.exports = o;
1488
1630
  })();
1489
- })(ce);
1490
- var l0 = ce.exports;
1491
- const Pt = /* @__PURE__ */ r0(l0);
1492
- function ft(t) {
1631
+ })(s0);
1632
+ var Le = s0.exports;
1633
+ const Z2 = /* @__PURE__ */ Ee(Le);
1634
+ function f2(t) {
1493
1635
  const e = window.getSelection();
1494
1636
  let n = e + "";
1495
1637
  if (n = n.trim(), t && t.type === "password" || !n.length && (!(t && t.selectionEnd) || (n = t.value.substring(t.selectionStart, t.selectionEnd), n = n.trim(), !n.length)))
1496
1638
  return !1;
1497
- let i = e.getRangeAt(0).getBoundingClientRect(), { top: s, bottom: r, left: c, width: l, height: a } = i;
1498
- if (!r && !c) {
1639
+ let o = e.getRangeAt(0).getBoundingClientRect(), { top: s, bottom: l, left: r, width: a, height: c } = o;
1640
+ if (!l && !r) {
1499
1641
  if (!t.selectionEnd)
1500
1642
  return !1;
1501
- let u = Pt(t, t.selectionStart), f = Pt(t, t.selectionEnd);
1502
- i = t.getBoundingClientRect(), c = i.left + u.left, l = f.left - u.left, u.top != f.top && (c = i.left, l = i.width), s = i.top + u.top, r = i.top + f.top + 20;
1643
+ let d = Z2(t, t.selectionStart), u = Z2(t, t.selectionEnd);
1644
+ o = t.getBoundingClientRect(), r = o.left + d.left, a = u.left - d.left, d.top != u.top && (r = o.left, a = o.width), s = o.top + d.top, l = o.top + u.top + 20;
1503
1645
  }
1504
- return a === 0 && (a = r - s), {
1646
+ return c === 0 && (c = l - s), {
1505
1647
  text: n,
1506
1648
  // position
1507
- x: c,
1649
+ x: r,
1508
1650
  y: s,
1509
1651
  top: s,
1510
- bottom: r,
1511
- left: c,
1512
- right: c + l,
1513
- width: l,
1514
- height: a
1652
+ bottom: l,
1653
+ left: r,
1654
+ right: r + a,
1655
+ width: a,
1656
+ height: c
1515
1657
  };
1516
1658
  }
1517
- function c0() {
1659
+ function Qe() {
1518
1660
  const t = document.getElementsByTagName("ddict-div");
1519
1661
  for (let e of t)
1520
1662
  if (!e.parentNode.matches('wrapper[dir="rtl"]')) {
@@ -1522,58 +1664,61 @@ function c0() {
1522
1664
  n.setAttribute("dir", "rtl"), e.parentNode.insertBefore(n, e), n.appendChild(e);
1523
1665
  }
1524
1666
  }
1525
- function a0() {
1667
+ function Fe() {
1526
1668
  const t = document.querySelectorAll('wrapper[dir="rtl"]');
1527
1669
  for (let e of t) {
1528
1670
  const n = e.querySelector("ddict-div");
1529
1671
  n && (e.parentNode.insertBefore(n, e), e.remove());
1530
1672
  }
1531
1673
  }
1532
- const zt = {
1533
- supportRTL: c0,
1534
- removeRTL: a0
1535
- }, u0 = {
1674
+ const q2 = {
1675
+ supportRTL: Qe,
1676
+ removeRTL: Fe
1677
+ }, Se = {
1536
1678
  __name: "HotKeysListener",
1537
1679
  props: {
1538
1680
  textSelected: String
1539
1681
  },
1540
1682
  emits: ["toggleKey", "close"],
1541
1683
  setup(t, { emit: e }) {
1542
- const n = t, o = e, i = () => {
1684
+ const n = t, i = e, o = () => {
1543
1685
  setTimeout(() => {
1544
- n.textSelected && c("DoubleClick");
1686
+ n.textSelected && r("DoubleClick");
1545
1687
  }, 50);
1546
- }, s = (l) => {
1547
- (l.altKey && l.key.toLowerCase() === "w" || l.key === "∑") && n.textSelected && (c("Alt+W"), l.preventDefault()), l.key === "Escape" && (c("Escape"), l.preventDefault());
1548
- }, r = (l) => {
1549
- l.key === "Shift" && n.textSelected && c("Shift");
1550
- }, c = (l) => {
1551
- switch (l) {
1688
+ }, s = (a) => {
1689
+ (a.altKey && a.key.toLowerCase() === "w" || a.key === "∑") && n.textSelected && (r("Alt+W"), a.preventDefault()), a.key === "Escape" && (r("Escape"), a.preventDefault());
1690
+ }, l = (a) => {
1691
+ a.key === "Shift" && n.textSelected && r("Shift");
1692
+ }, r = (a) => {
1693
+ switch (a) {
1552
1694
  case "DoubleClick":
1553
- o("toggleKey", "DoubleClick");
1695
+ i("toggleKey", "DoubleClick");
1554
1696
  break;
1555
1697
  case "Shift":
1556
- o("toggleKey", "Shift");
1698
+ i("toggleKey", "Shift");
1557
1699
  break;
1558
1700
  case "Alt+W":
1559
- o("toggleKey", "Alt+W");
1701
+ i("toggleKey", "Alt+W");
1560
1702
  break;
1561
1703
  case "Escape":
1562
- o("close");
1704
+ i("close");
1563
1705
  break;
1564
1706
  }
1565
1707
  };
1566
- return Xt(() => {
1567
- window.addEventListener("dblclick", i), window.addEventListener("keydown", s), window.addEventListener("keyup", r);
1568
- }), Ft(() => {
1569
- window.removeEventListener("dblclick", i), window.removeEventListener("keydown", s), window.removeEventListener("keyup", r);
1570
- }), (l, a) => (x(), I("div"));
1708
+ return j2(() => {
1709
+ window.addEventListener("dblclick", o), window.addEventListener("keydown", s), window.addEventListener("keyup", l);
1710
+ }), M2(() => {
1711
+ window.removeEventListener("dblclick", o), window.removeEventListener("keydown", s), window.removeEventListener("keyup", l);
1712
+ }), (a, c) => (x(), I("div"));
1571
1713
  }
1572
- }, A0 = {
1714
+ }, ke = {
1573
1715
  __name: "BubbleWrapper",
1574
1716
  props: {
1575
1717
  translation: Object,
1718
+ explanation: Object,
1576
1719
  isFavoriteFeatureEnabled: Boolean,
1720
+ isAITranslate: Boolean,
1721
+ isAIExplain: Boolean,
1577
1722
  isFavorite: Boolean,
1578
1723
  tts: String,
1579
1724
  status: String,
@@ -1582,31 +1727,40 @@ const zt = {
1582
1727
  default: 1
1583
1728
  }
1584
1729
  },
1585
- emits: ["toggleKey", "logo", "favorite", "settings", "close", "loadTTS"],
1730
+ emits: [
1731
+ "toggleKey",
1732
+ "logo",
1733
+ "favorite",
1734
+ "settings",
1735
+ "close",
1736
+ "loadTTS",
1737
+ "aiTranslate",
1738
+ "aiExplain"
1739
+ ],
1586
1740
  setup(t, { emit: e }) {
1587
- const n = t, o = e, i = M(null), s = M(null), r = M(null), c = M(!1), l = M(""), a = Q(() => typeof window > "u" || !r.value || !l.value ? null : {
1588
- getBoundingClientRect: () => ft(r.value),
1589
- getClientRects: () => ft(r.value)
1590
- }), u = Q(() => {
1591
- if (!A.value.arrow || n.status === rt.LOGO)
1741
+ const n = t, i = e, o = T(null), s = T(null), l = T(null), r = T(!1), a = T(""), c = Q(() => typeof window > "u" || !l.value || !a.value ? null : {
1742
+ getBoundingClientRect: () => f2(l.value),
1743
+ getClientRects: () => f2(l.value)
1744
+ }), d = Q(() => {
1745
+ if (!f.value.arrow || n.status !== a2.DATA)
1592
1746
  return {
1593
1747
  display: "none"
1594
1748
  };
1595
- const { x: m, y: g } = A.value.arrow, E = {
1749
+ const { x: h, y: A } = f.value.arrow, y = {
1596
1750
  top: "bottom",
1597
1751
  right: "left",
1598
1752
  bottom: "top",
1599
1753
  left: "right"
1600
- }[A.value.offset.placement];
1754
+ }[f.value.offset.placement.split("-")[0]];
1601
1755
  return {
1602
- left: m != null ? `${m}px` : "",
1603
- top: g != null ? `${g}px` : "",
1604
- [E]: "-8px",
1756
+ left: h != null ? `${h}px` : "",
1757
+ top: A != null ? `${A}px` : "",
1758
+ [y]: "-8px",
1605
1759
  position: "absolute"
1606
1760
  };
1607
- }), f = Q(() => {
1608
- var g;
1609
- switch ((g = A.value.offset) == null ? void 0 : g.placement) {
1761
+ }), u = Q(() => {
1762
+ var A;
1763
+ switch ((A = f.value.offset) == null ? void 0 : A.placement.split("-")[0]) {
1610
1764
  case "top":
1611
1765
  return { transform: "rotate(180deg)" };
1612
1766
  case "left":
@@ -1616,117 +1770,122 @@ const zt = {
1616
1770
  default:
1617
1771
  return {};
1618
1772
  }
1619
- }), { floatingStyles: d, middlewareData: A, update: C } = n2(a, i, {
1620
- placement: "bottom",
1773
+ }), { floatingStyles: g, middlewareData: f, update: C } = _0(c, o, {
1774
+ placement: "bottom-end",
1621
1775
  middleware: [
1622
- Ze(8),
1623
- ze(),
1624
- Pe(),
1625
- e2({ element: s }),
1626
- $e({
1627
- apply({ rects: m, elements: g }) {
1628
- Object.assign(g.floating.style, {
1629
- maxWidth: `${m.reference.width > 250 ? m.reference.width / n.scale : 250}px`,
1776
+ N0(8),
1777
+ q0(),
1778
+ Z0(),
1779
+ X0({ element: s }),
1780
+ j0({
1781
+ apply({ rects: h, elements: A }) {
1782
+ Object.assign(A.floating.style, {
1783
+ maxWidth: `${h.reference.width > 250 ? h.reference.width / n.scale : 250}px`,
1630
1784
  zIndex: 9999
1631
1785
  });
1632
1786
  }
1633
1787
  })
1634
1788
  ],
1635
- whileElementsMounted(m, g, E) {
1636
- return je(m, g, E, {
1789
+ whileElementsMounted(h, A, y) {
1790
+ return W0(h, A, y, {
1637
1791
  ancestorScroll: !0
1638
1792
  });
1639
1793
  }
1640
- }), h = Q(() => {
1641
- if (n.scale === 1) return d.value;
1642
- const m = d.value.transform;
1794
+ }), m = Q(() => {
1795
+ if (n.scale === 1) return g.value;
1796
+ const h = g.value.transform;
1643
1797
  return {
1644
- ...d.value,
1645
- transform: `${m} scale(${n.scale})`
1798
+ ...g.value,
1799
+ transform: `${h} scale(${n.scale})`
1646
1800
  };
1647
1801
  });
1648
- Xt(() => {
1649
- document.addEventListener("keyup", (m) => {
1650
- if (!ft(m.target)) {
1651
- l.value = "", v();
1802
+ j2(() => {
1803
+ document.addEventListener("keyup", (h) => {
1804
+ if (!f2(h.target)) {
1805
+ a.value = "", v();
1652
1806
  return;
1653
1807
  }
1654
- }), document.documentElement.onclick = (m) => {
1655
- const g = ft(m.target);
1656
- if (!g) {
1657
- l.value = "", v();
1808
+ }), document.documentElement.onclick = (h) => {
1809
+ const A = f2(h.target);
1810
+ if (!A) {
1811
+ a.value = "", v();
1658
1812
  return;
1659
1813
  }
1660
- w(g, m);
1661
- }, document.documentElement.ontouchend = (m) => {
1662
- const g = ft(m.target);
1663
- if (!g) {
1664
- l.value = "", v();
1814
+ w(A, h);
1815
+ }, document.documentElement.ontouchend = (h) => {
1816
+ const A = f2(h.target);
1817
+ if (!A) {
1818
+ a.value = "", v();
1665
1819
  return;
1666
1820
  }
1667
- w(g, m);
1821
+ w(A, h);
1668
1822
  };
1669
- }), Ft(() => {
1823
+ }), M2(() => {
1670
1824
  document.documentElement.onclick = null, document.documentElement.ontouchend = null;
1671
1825
  });
1672
- const w = (m, g) => {
1673
- n.status !== rt.LOGO && o("close"), r.value = g.target, l.value = m.text, c.value = !0, Gt(C);
1674
- }, p = (m) => {
1675
- m.stopPropagation();
1826
+ const w = (h, A) => {
1827
+ n.status !== a2.LOGO && i("close"), l.value = A.target, a.value = h.text, r.value = !0, J2(C);
1828
+ }, p = (h) => {
1829
+ h.stopPropagation();
1676
1830
  }, v = async () => {
1677
- c.value = !1, o("close");
1678
- }, B = () => {
1679
- var g;
1680
- const m = (g = n == null ? void 0 : n.translation) == null ? void 0 : g.target;
1681
- _2.includes(m) ? zt.supportRTL() : zt.removeRTL();
1831
+ r.value = !1, i("close");
1832
+ }, b = () => {
1833
+ var A;
1834
+ const h = (A = n == null ? void 0 : n.translation) == null ? void 0 : A.target;
1835
+ pe.includes(h) ? q2.supportRTL() : q2.removeRTL();
1682
1836
  };
1683
- return At(
1837
+ return A2(
1684
1838
  () => n.status,
1685
1839
  () => {
1686
- c.value && Gt(C), B();
1840
+ r.value && J2(C), b();
1687
1841
  }
1688
- ), (m, g) => (x(), I(gt, null, [
1689
- c.value ? (x(), I("div", {
1842
+ ), (h, A) => (x(), I(b2, null, [
1843
+ r.value ? (x(), I("div", {
1690
1844
  key: 0,
1691
1845
  ref_key: "floatingEl",
1692
- ref: i,
1693
- style: It(h.value),
1846
+ ref: o,
1847
+ style: y2(m.value),
1694
1848
  onClick: p
1695
1849
  }, [
1696
- F("div", {
1850
+ E("div", {
1697
1851
  ref_key: "arrowEl",
1698
1852
  ref: s,
1699
- style: It(u.value),
1700
- class: "absolute transform z-10"
1853
+ style: y2(d.value),
1854
+ class: "absolute transform"
1701
1855
  }, [
1702
- F("img", {
1703
- style: It(f.value),
1856
+ E("img", {
1857
+ style: y2(u.value),
1704
1858
  class: "w-5",
1705
- src: Ce,
1859
+ src: f0,
1706
1860
  alt: "arrow"
1707
1861
  }, null, 4)
1708
1862
  ], 4),
1709
- O(s0, {
1863
+ J(ye, {
1710
1864
  translation: n.translation,
1865
+ explanation: n.explanation,
1711
1866
  tts: n.tts,
1712
1867
  status: n.status,
1713
1868
  isFavorite: n.isFavorite,
1714
1869
  isFavoriteFeatureEnabled: n.isFavoriteFeatureEnabled,
1715
- onLogo: g[0] || (g[0] = (E) => o("logo")),
1716
- onFavorite: g[1] || (g[1] = (E) => o("favorite")),
1717
- onSettings: g[2] || (g[2] = (E) => o("settings")),
1870
+ isAITranslate: n.isAITranslate,
1871
+ isAIExplain: n.isAIExplain,
1872
+ onLogo: A[0] || (A[0] = (y) => i("logo")),
1873
+ onFavorite: A[1] || (A[1] = (y) => i("favorite")),
1874
+ onSettings: A[2] || (A[2] = (y) => i("settings")),
1718
1875
  onClose: v,
1719
- onLoadTTS: g[3] || (g[3] = (E) => o("loadTTS"))
1720
- }, null, 8, ["translation", "tts", "status", "isFavorite", "isFavoriteFeatureEnabled"])
1721
- ], 4)) : q("", !0),
1722
- O(u0, {
1723
- textSelected: l.value,
1724
- onToggleKey: g[4] || (g[4] = (E) => o("toggleKey", E)),
1876
+ onLoadTTS: A[3] || (A[3] = (y) => i("loadTTS")),
1877
+ onAiTranslate: A[4] || (A[4] = (y) => i("aiTranslate")),
1878
+ onAiExplain: A[5] || (A[5] = (y) => i("aiExplain"))
1879
+ }, null, 8, ["translation", "explanation", "tts", "status", "isFavorite", "isFavoriteFeatureEnabled", "isAITranslate", "isAIExplain"])
1880
+ ], 4)) : _("", !0),
1881
+ J(Se, {
1882
+ textSelected: a.value,
1883
+ onToggleKey: A[6] || (A[6] = (y) => i("toggleKey", y)),
1725
1884
  onClose: v
1726
1885
  }, null, 8, ["textSelected"])
1727
1886
  ], 64));
1728
1887
  }
1729
1888
  };
1730
1889
  export {
1731
- A0 as default
1890
+ ke as default
1732
1891
  };