@huyooo/ui 0.4.31 → 0.4.33

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.
@@ -0,0 +1,1360 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ /* empty css */
4
+ /* empty css */
5
+ /* empty css */
6
+ /* empty css */
7
+ import { defineComponent as Fe, ref as be, computed as Ue, onMounted as Je, nextTick as Pe, watch as Xe, onBeforeUnmount as Ze, createElementBlock as de, openBlock as ce, normalizeStyle as Se, normalizeClass as xe, renderSlot as ze, createVNode as Me, unref as ve, withCtx as Be, createElementVNode as ye, createCommentVNode as De, Fragment as $e, renderList as Ce, toDisplayString as ke, createBlock as Ie, createTextVNode as Qe, useSlots as Ke } from "vue";
8
+ import { Spin as et, Tooltip as tt, Empty as rt, Pagination as nt } from "@arco-design/web-vue";
9
+ import { _ as je } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ import { c as qe } from "./_commonjsHelpers-DaMA6jEr.js";
11
+ var it = { exports: {} };
12
+ (function(E, R) {
13
+ (function(B, m) {
14
+ E.exports = m();
15
+ })(qe, function() {
16
+ var B = 1e3, m = 6e4, W = 36e5, F = "millisecond", I = "second", _ = "minute", j = "hour", v = "day", H = "week", q = "month", $ = "quarter", L = "year", K = "date", O = "Invalid Date", A = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, P = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, N = {
17
+ name: "en",
18
+ weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
19
+ months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
20
+ ordinal: function(S) {
21
+ var g = ["th", "st", "nd", "rd"], d = S % 100;
22
+ return "[" + S + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
23
+ }
24
+ }, ie = function(S, g, d) {
25
+ var y = String(S);
26
+ return !y || y.length >= g ? S : "" + Array(g + 1 - y.length).join(d) + S;
27
+ }, he = {
28
+ s: ie,
29
+ z: function(S) {
30
+ var g = -S.utcOffset(), d = Math.abs(g), y = Math.floor(d / 60), w = d % 60;
31
+ return (g <= 0 ? "+" : "-") + ie(y, 2, "0") + ":" + ie(w, 2, "0");
32
+ },
33
+ m: function S(g, d) {
34
+ if (g.date() < d.date()) return -S(d, g);
35
+ var y = 12 * (d.year() - g.year()) + (d.month() - g.month()), w = g.clone().add(y, q), b = d - w < 0, k = g.clone().add(y + (b ? -1 : 1), q);
36
+ return +(-(y + (d - w) / (b ? w - k : k - w)) || 0);
37
+ },
38
+ a: function(S) {
39
+ return S < 0 ? Math.ceil(S) || 0 : Math.floor(S);
40
+ },
41
+ p: function(S) {
42
+ return {
43
+ M: q,
44
+ y: L,
45
+ w: H,
46
+ d: v,
47
+ D: K,
48
+ h: j,
49
+ m: _,
50
+ s: I,
51
+ ms: F,
52
+ Q: $
53
+ }[S] || String(S || "").toLowerCase().replace(/s$/, "");
54
+ },
55
+ u: function(S) {
56
+ return S === void 0;
57
+ }
58
+ }, ee = "en", x = {};
59
+ x[ee] = N;
60
+ var C = "$isDayjsObject", X = function(S) {
61
+ return S instanceof V || !(!S || !S[C]);
62
+ }, Z = function S(g, d, y) {
63
+ var w;
64
+ if (!g) return ee;
65
+ if (typeof g == "string") {
66
+ var b = g.toLowerCase();
67
+ x[b] && (w = b), d && (x[b] = d, w = b);
68
+ var k = g.split("-");
69
+ if (!w && k.length > 1) return S(k[0]);
70
+ } else {
71
+ var G = g.name;
72
+ x[G] = g, w = G;
73
+ }
74
+ return !y && w && (ee = w), w || !y && ee;
75
+ }, p = function(S, g) {
76
+ if (X(S)) return S.clone();
77
+ var d = typeof g == "object" ? g : {};
78
+ return d.date = S, d.args = arguments, new V(d);
79
+ }, T = he;
80
+ T.l = Z, T.i = X, T.w = function(S, g) {
81
+ return p(S, {
82
+ locale: g.$L,
83
+ utc: g.$u,
84
+ x: g.$x,
85
+ $offset: g.$offset
86
+ });
87
+ };
88
+ var V = function() {
89
+ function S(d) {
90
+ this.$L = Z(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[C] = !0;
91
+ }
92
+ var g = S.prototype;
93
+ return g.parse = function(d) {
94
+ this.$d = function(y) {
95
+ var w = y.date, b = y.utc;
96
+ if (w === null) return /* @__PURE__ */ new Date(NaN);
97
+ if (T.u(w)) return /* @__PURE__ */ new Date();
98
+ if (w instanceof Date) return new Date(w);
99
+ if (typeof w == "string" && !/Z$/i.test(w)) {
100
+ var k = w.match(A);
101
+ if (k) {
102
+ var G = k[2] - 1 || 0, Y = (k[7] || "0").substring(0, 3);
103
+ return b ? new Date(Date.UTC(k[1], G, k[3] || 1, k[4] || 0, k[5] || 0, k[6] || 0, Y)) : new Date(k[1], G, k[3] || 1, k[4] || 0, k[5] || 0, k[6] || 0, Y);
104
+ }
105
+ }
106
+ return new Date(w);
107
+ }(d), this.init();
108
+ }, g.init = function() {
109
+ var d = this.$d;
110
+ this.$y = d.getFullYear(), this.$M = d.getMonth(), this.$D = d.getDate(), this.$W = d.getDay(), this.$H = d.getHours(), this.$m = d.getMinutes(), this.$s = d.getSeconds(), this.$ms = d.getMilliseconds();
111
+ }, g.$utils = function() {
112
+ return T;
113
+ }, g.isValid = function() {
114
+ return this.$d.toString() !== O;
115
+ }, g.isSame = function(d, y) {
116
+ var w = p(d);
117
+ return this.startOf(y) <= w && w <= this.endOf(y);
118
+ }, g.isAfter = function(d, y) {
119
+ return p(d) < this.startOf(y);
120
+ }, g.isBefore = function(d, y) {
121
+ return this.endOf(y) < p(d);
122
+ }, g.$g = function(d, y, w) {
123
+ return T.u(d) ? this[y] : this.set(w, d);
124
+ }, g.unix = function() {
125
+ return Math.floor(this.valueOf() / 1e3);
126
+ }, g.valueOf = function() {
127
+ return this.$d.getTime();
128
+ }, g.startOf = function(d, y) {
129
+ var w = this, b = !!T.u(y) || y, k = T.p(d), G = function(ue, e) {
130
+ var t = T.w(w.$u ? Date.UTC(w.$y, e, ue) : new Date(w.$y, e, ue), w);
131
+ return b ? t : t.endOf(v);
132
+ }, Y = function(ue, e) {
133
+ return T.w(w.toDate()[ue].apply(w.toDate("s"), (b ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), w);
134
+ }, te = this.$W, h = this.$M, fe = this.$D, me = "set" + (this.$u ? "UTC" : "");
135
+ switch (k) {
136
+ case L:
137
+ return b ? G(1, 0) : G(31, 11);
138
+ case q:
139
+ return b ? G(1, h) : G(0, h + 1);
140
+ case H:
141
+ var ge = this.$locale().weekStart || 0, oe = (te < ge ? te + 7 : te) - ge;
142
+ return G(b ? fe - oe : fe + (6 - oe), h);
143
+ case v:
144
+ case K:
145
+ return Y(me + "Hours", 0);
146
+ case j:
147
+ return Y(me + "Minutes", 1);
148
+ case _:
149
+ return Y(me + "Seconds", 2);
150
+ case I:
151
+ return Y(me + "Milliseconds", 3);
152
+ default:
153
+ return this.clone();
154
+ }
155
+ }, g.endOf = function(d) {
156
+ return this.startOf(d, !1);
157
+ }, g.$set = function(d, y) {
158
+ var w, b = T.p(d), k = "set" + (this.$u ? "UTC" : ""), G = (w = {}, w[v] = k + "Date", w[K] = k + "Date", w[q] = k + "Month", w[L] = k + "FullYear", w[j] = k + "Hours", w[_] = k + "Minutes", w[I] = k + "Seconds", w[F] = k + "Milliseconds", w)[b], Y = b === v ? this.$D + (y - this.$W) : y;
159
+ if (b === q || b === L) {
160
+ var te = this.clone().set(K, 1);
161
+ te.$d[G](Y), te.init(), this.$d = te.set(K, Math.min(this.$D, te.daysInMonth())).$d;
162
+ } else G && this.$d[G](Y);
163
+ return this.init(), this;
164
+ }, g.set = function(d, y) {
165
+ return this.clone().$set(d, y);
166
+ }, g.get = function(d) {
167
+ return this[T.p(d)]();
168
+ }, g.add = function(d, y) {
169
+ var w, b = this;
170
+ d = Number(d);
171
+ var k = T.p(y), G = function(h) {
172
+ var fe = p(b);
173
+ return T.w(fe.date(fe.date() + Math.round(h * d)), b);
174
+ };
175
+ if (k === q) return this.set(q, this.$M + d);
176
+ if (k === L) return this.set(L, this.$y + d);
177
+ if (k === v) return G(1);
178
+ if (k === H) return G(7);
179
+ var Y = (w = {}, w[_] = m, w[j] = W, w[I] = B, w)[k] || 1, te = this.$d.getTime() + d * Y;
180
+ return T.w(te, this);
181
+ }, g.subtract = function(d, y) {
182
+ return this.add(-1 * d, y);
183
+ }, g.format = function(d) {
184
+ var y = this, w = this.$locale();
185
+ if (!this.isValid()) return w.invalidDate || O;
186
+ var b = d || "YYYY-MM-DDTHH:mm:ssZ", k = T.z(this), G = this.$H, Y = this.$m, te = this.$M, h = w.weekdays, fe = w.months, me = w.meridiem, ge = function(e, t, r, u) {
187
+ return e && (e[t] || e(y, b)) || r[t].slice(0, u);
188
+ }, oe = function(e) {
189
+ return T.s(G % 12 || 12, e, "0");
190
+ }, ue = me || function(e, t, r) {
191
+ var u = e < 12 ? "AM" : "PM";
192
+ return r ? u.toLowerCase() : u;
193
+ };
194
+ return b.replace(P, function(e, t) {
195
+ return t || function(r) {
196
+ switch (r) {
197
+ case "YY":
198
+ return String(y.$y).slice(-2);
199
+ case "YYYY":
200
+ return T.s(y.$y, 4, "0");
201
+ case "M":
202
+ return te + 1;
203
+ case "MM":
204
+ return T.s(te + 1, 2, "0");
205
+ case "MMM":
206
+ return ge(w.monthsShort, te, fe, 3);
207
+ case "MMMM":
208
+ return ge(fe, te);
209
+ case "D":
210
+ return y.$D;
211
+ case "DD":
212
+ return T.s(y.$D, 2, "0");
213
+ case "d":
214
+ return String(y.$W);
215
+ case "dd":
216
+ return ge(w.weekdaysMin, y.$W, h, 2);
217
+ case "ddd":
218
+ return ge(w.weekdaysShort, y.$W, h, 3);
219
+ case "dddd":
220
+ return h[y.$W];
221
+ case "H":
222
+ return String(G);
223
+ case "HH":
224
+ return T.s(G, 2, "0");
225
+ case "h":
226
+ return oe(1);
227
+ case "hh":
228
+ return oe(2);
229
+ case "a":
230
+ return ue(G, Y, !0);
231
+ case "A":
232
+ return ue(G, Y, !1);
233
+ case "m":
234
+ return String(Y);
235
+ case "mm":
236
+ return T.s(Y, 2, "0");
237
+ case "s":
238
+ return String(y.$s);
239
+ case "ss":
240
+ return T.s(y.$s, 2, "0");
241
+ case "SSS":
242
+ return T.s(y.$ms, 3, "0");
243
+ case "Z":
244
+ return k;
245
+ }
246
+ return null;
247
+ }(e) || k.replace(":", "");
248
+ });
249
+ }, g.utcOffset = function() {
250
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
251
+ }, g.diff = function(d, y, w) {
252
+ var b, k = this, G = T.p(y), Y = p(d), te = (Y.utcOffset() - this.utcOffset()) * m, h = this - Y, fe = function() {
253
+ return T.m(k, Y);
254
+ };
255
+ switch (G) {
256
+ case L:
257
+ b = fe() / 12;
258
+ break;
259
+ case q:
260
+ b = fe();
261
+ break;
262
+ case $:
263
+ b = fe() / 3;
264
+ break;
265
+ case H:
266
+ b = (h - te) / 6048e5;
267
+ break;
268
+ case v:
269
+ b = (h - te) / 864e5;
270
+ break;
271
+ case j:
272
+ b = h / W;
273
+ break;
274
+ case _:
275
+ b = h / m;
276
+ break;
277
+ case I:
278
+ b = h / B;
279
+ break;
280
+ default:
281
+ b = h;
282
+ }
283
+ return w ? b : T.a(b);
284
+ }, g.daysInMonth = function() {
285
+ return this.endOf(q).$D;
286
+ }, g.$locale = function() {
287
+ return x[this.$L];
288
+ }, g.locale = function(d, y) {
289
+ if (!d) return this.$L;
290
+ var w = this.clone(), b = Z(d, y, !0);
291
+ return b && (w.$L = b), w;
292
+ }, g.clone = function() {
293
+ return T.w(this.$d, this);
294
+ }, g.toDate = function() {
295
+ return new Date(this.valueOf());
296
+ }, g.toJSON = function() {
297
+ return this.isValid() ? this.toISOString() : null;
298
+ }, g.toISOString = function() {
299
+ return this.$d.toISOString();
300
+ }, g.toString = function() {
301
+ return this.$d.toUTCString();
302
+ }, S;
303
+ }(), Q = V.prototype;
304
+ return p.prototype = Q, [["$ms", F], ["$s", I], ["$m", _], ["$H", j], ["$W", v], ["$M", q], ["$y", L], ["$D", K]].forEach(function(S) {
305
+ Q[S[1]] = function(g) {
306
+ return this.$g(g, S[0], S[1]);
307
+ };
308
+ }), p.extend = function(S, g) {
309
+ return S.$i || (S(g, V, p), S.$i = !0), p;
310
+ }, p.locale = Z, p.isDayjs = X, p.unix = function(S) {
311
+ return p(1e3 * S);
312
+ }, p.en = x[ee], p.Ls = x, p.p = {}, p;
313
+ });
314
+ })(it);
315
+ var Le = { exports: {} }, We = { exports: {} }, He = { exports: {} };
316
+ (function(E) {
317
+ (function(R) {
318
+ var B, m = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, W = Math.ceil, F = Math.floor, I = "[BigNumber Error] ", _ = I + "Number primitive has more than 15 significant digits: ", j = 1e14, v = 14, H = 9007199254740991, q = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], $ = 1e7, L = 1e9;
319
+ function K(x) {
320
+ var C, X, Z, p = h.prototype = {
321
+ constructor: h,
322
+ toString: null,
323
+ valueOf: null
324
+ }, T = new h(1), V = 20, Q = 4, S = -7, g = 21, d = -1e7, y = 1e7, w = !1, b = 1, k = 0, G = {
325
+ prefix: "",
326
+ groupSize: 3,
327
+ secondaryGroupSize: 0,
328
+ groupSeparator: ",",
329
+ decimalSeparator: ".",
330
+ fractionGroupSize: 0,
331
+ fractionGroupSeparator: " ",
332
+ // non-breaking space
333
+ suffix: ""
334
+ }, Y = "0123456789abcdefghijklmnopqrstuvwxyz", te = !0;
335
+ function h(e, t) {
336
+ var r, u, i, o, l, n, s, a, f = this;
337
+ if (!(f instanceof h)) return new h(e, t);
338
+ if (t == null) {
339
+ if (e && e._isBigNumber === !0) {
340
+ f.s = e.s, !e.c || e.e > y ? f.c = f.e = null : e.e < d ? f.c = [f.e = 0] : (f.e = e.e, f.c = e.c.slice());
341
+ return;
342
+ }
343
+ if ((n = typeof e == "number") && e * 0 == 0) {
344
+ if (f.s = 1 / e < 0 ? (e = -e, -1) : 1, e === ~~e) {
345
+ for (o = 0, l = e; l >= 10; l /= 10, o++) ;
346
+ o > y ? f.c = f.e = null : (f.e = o, f.c = [e]);
347
+ return;
348
+ }
349
+ a = String(e);
350
+ } else {
351
+ if (!m.test(a = String(e))) return Z(f, a, n);
352
+ f.s = a.charCodeAt(0) == 45 ? (a = a.slice(1), -1) : 1;
353
+ }
354
+ (o = a.indexOf(".")) > -1 && (a = a.replace(".", "")), (l = a.search(/e/i)) > 0 ? (o < 0 && (o = l), o += +a.slice(l + 1), a = a.substring(0, l)) : o < 0 && (o = a.length);
355
+ } else {
356
+ if (N(t, 2, Y.length, "Base"), t == 10 && te)
357
+ return f = new h(e), oe(f, V + f.e + 1, Q);
358
+ if (a = String(e), n = typeof e == "number") {
359
+ if (e * 0 != 0) return Z(f, a, n, t);
360
+ if (f.s = 1 / e < 0 ? (a = a.slice(1), -1) : 1, h.DEBUG && a.replace(/^0\.0*|\./, "").length > 15)
361
+ throw Error(_ + e);
362
+ } else
363
+ f.s = a.charCodeAt(0) === 45 ? (a = a.slice(1), -1) : 1;
364
+ for (r = Y.slice(0, t), o = l = 0, s = a.length; l < s; l++)
365
+ if (r.indexOf(u = a.charAt(l)) < 0) {
366
+ if (u == ".") {
367
+ if (l > o) {
368
+ o = s;
369
+ continue;
370
+ }
371
+ } else if (!i && (a == a.toUpperCase() && (a = a.toLowerCase()) || a == a.toLowerCase() && (a = a.toUpperCase()))) {
372
+ i = !0, l = -1, o = 0;
373
+ continue;
374
+ }
375
+ return Z(f, String(e), n, t);
376
+ }
377
+ n = !1, a = X(a, t, 10, f.s), (o = a.indexOf(".")) > -1 ? a = a.replace(".", "") : o = a.length;
378
+ }
379
+ for (l = 0; a.charCodeAt(l) === 48; l++) ;
380
+ for (s = a.length; a.charCodeAt(--s) === 48; ) ;
381
+ if (a = a.slice(l, ++s)) {
382
+ if (s -= l, n && h.DEBUG && s > 15 && (e > H || e !== F(e)))
383
+ throw Error(_ + f.s * e);
384
+ if ((o = o - l - 1) > y)
385
+ f.c = f.e = null;
386
+ else if (o < d)
387
+ f.c = [f.e = 0];
388
+ else {
389
+ if (f.e = o, f.c = [], l = (o + 1) % v, o < 0 && (l += v), l < s) {
390
+ for (l && f.c.push(+a.slice(0, l)), s -= v; l < s; )
391
+ f.c.push(+a.slice(l, l += v));
392
+ l = v - (a = a.slice(l)).length;
393
+ } else
394
+ l -= s;
395
+ for (; l--; a += "0") ;
396
+ f.c.push(+a);
397
+ }
398
+ } else
399
+ f.c = [f.e = 0];
400
+ }
401
+ h.clone = K, h.ROUND_UP = 0, h.ROUND_DOWN = 1, h.ROUND_CEIL = 2, h.ROUND_FLOOR = 3, h.ROUND_HALF_UP = 4, h.ROUND_HALF_DOWN = 5, h.ROUND_HALF_EVEN = 6, h.ROUND_HALF_CEIL = 7, h.ROUND_HALF_FLOOR = 8, h.EUCLID = 9, h.config = h.set = function(e) {
402
+ var t, r;
403
+ if (e != null)
404
+ if (typeof e == "object") {
405
+ if (e.hasOwnProperty(t = "DECIMAL_PLACES") && (r = e[t], N(r, 0, L, t), V = r), e.hasOwnProperty(t = "ROUNDING_MODE") && (r = e[t], N(r, 0, 8, t), Q = r), e.hasOwnProperty(t = "EXPONENTIAL_AT") && (r = e[t], r && r.pop ? (N(r[0], -L, 0, t), N(r[1], 0, L, t), S = r[0], g = r[1]) : (N(r, -L, L, t), S = -(g = r < 0 ? -r : r))), e.hasOwnProperty(t = "RANGE"))
406
+ if (r = e[t], r && r.pop)
407
+ N(r[0], -L, -1, t), N(r[1], 1, L, t), d = r[0], y = r[1];
408
+ else if (N(r, -L, L, t), r)
409
+ d = -(y = r < 0 ? -r : r);
410
+ else
411
+ throw Error(I + t + " cannot be zero: " + r);
412
+ if (e.hasOwnProperty(t = "CRYPTO"))
413
+ if (r = e[t], r === !!r)
414
+ if (r)
415
+ if (typeof crypto < "u" && crypto && (crypto.getRandomValues || crypto.randomBytes))
416
+ w = r;
417
+ else
418
+ throw w = !r, Error(I + "crypto unavailable");
419
+ else
420
+ w = r;
421
+ else
422
+ throw Error(I + t + " not true or false: " + r);
423
+ if (e.hasOwnProperty(t = "MODULO_MODE") && (r = e[t], N(r, 0, 9, t), b = r), e.hasOwnProperty(t = "POW_PRECISION") && (r = e[t], N(r, 0, L, t), k = r), e.hasOwnProperty(t = "FORMAT"))
424
+ if (r = e[t], typeof r == "object") G = r;
425
+ else throw Error(I + t + " not an object: " + r);
426
+ if (e.hasOwnProperty(t = "ALPHABET"))
427
+ if (r = e[t], typeof r == "string" && !/^.?$|[+\-.\s]|(.).*\1/.test(r))
428
+ te = r.slice(0, 10) == "0123456789", Y = r;
429
+ else
430
+ throw Error(I + t + " invalid: " + r);
431
+ } else
432
+ throw Error(I + "Object expected: " + e);
433
+ return {
434
+ DECIMAL_PLACES: V,
435
+ ROUNDING_MODE: Q,
436
+ EXPONENTIAL_AT: [S, g],
437
+ RANGE: [d, y],
438
+ CRYPTO: w,
439
+ MODULO_MODE: b,
440
+ POW_PRECISION: k,
441
+ FORMAT: G,
442
+ ALPHABET: Y
443
+ };
444
+ }, h.isBigNumber = function(e) {
445
+ if (!e || e._isBigNumber !== !0) return !1;
446
+ if (!h.DEBUG) return !0;
447
+ var t, r, u = e.c, i = e.e, o = e.s;
448
+ e: if ({}.toString.call(u) == "[object Array]") {
449
+ if ((o === 1 || o === -1) && i >= -L && i <= L && i === F(i)) {
450
+ if (u[0] === 0) {
451
+ if (i === 0 && u.length === 1) return !0;
452
+ break e;
453
+ }
454
+ if (t = (i + 1) % v, t < 1 && (t += v), String(u[0]).length == t) {
455
+ for (t = 0; t < u.length; t++)
456
+ if (r = u[t], r < 0 || r >= j || r !== F(r)) break e;
457
+ if (r !== 0) return !0;
458
+ }
459
+ }
460
+ } else if (u === null && i === null && (o === null || o === 1 || o === -1))
461
+ return !0;
462
+ throw Error(I + "Invalid BigNumber: " + e);
463
+ }, h.maximum = h.max = function() {
464
+ return me(arguments, -1);
465
+ }, h.minimum = h.min = function() {
466
+ return me(arguments, 1);
467
+ }, h.random = function() {
468
+ var e = 9007199254740992, t = Math.random() * e & 2097151 ? function() {
469
+ return F(Math.random() * e);
470
+ } : function() {
471
+ return (Math.random() * 1073741824 | 0) * 8388608 + (Math.random() * 8388608 | 0);
472
+ };
473
+ return function(r) {
474
+ var u, i, o, l, n, s = 0, a = [], f = new h(T);
475
+ if (r == null ? r = V : N(r, 0, L), l = W(r / v), w)
476
+ if (crypto.getRandomValues) {
477
+ for (u = crypto.getRandomValues(new Uint32Array(l *= 2)); s < l; )
478
+ n = u[s] * 131072 + (u[s + 1] >>> 11), n >= 9e15 ? (i = crypto.getRandomValues(new Uint32Array(2)), u[s] = i[0], u[s + 1] = i[1]) : (a.push(n % 1e14), s += 2);
479
+ s = l / 2;
480
+ } else if (crypto.randomBytes) {
481
+ for (u = crypto.randomBytes(l *= 7); s < l; )
482
+ n = (u[s] & 31) * 281474976710656 + u[s + 1] * 1099511627776 + u[s + 2] * 4294967296 + u[s + 3] * 16777216 + (u[s + 4] << 16) + (u[s + 5] << 8) + u[s + 6], n >= 9e15 ? crypto.randomBytes(7).copy(u, s) : (a.push(n % 1e14), s += 7);
483
+ s = l / 7;
484
+ } else
485
+ throw w = !1, Error(I + "crypto unavailable");
486
+ if (!w)
487
+ for (; s < l; )
488
+ n = t(), n < 9e15 && (a[s++] = n % 1e14);
489
+ for (l = a[--s], r %= v, l && r && (n = q[v - r], a[s] = F(l / n) * n); a[s] === 0; a.pop(), s--) ;
490
+ if (s < 0)
491
+ a = [o = 0];
492
+ else {
493
+ for (o = -1; a[0] === 0; a.splice(0, 1), o -= v) ;
494
+ for (s = 1, n = a[0]; n >= 10; n /= 10, s++) ;
495
+ s < v && (o -= v - s);
496
+ }
497
+ return f.e = o, f.c = a, f;
498
+ };
499
+ }(), h.sum = function() {
500
+ for (var e = 1, t = arguments, r = new h(t[0]); e < t.length; ) r = r.plus(t[e++]);
501
+ return r;
502
+ }, X = /* @__PURE__ */ function() {
503
+ var e = "0123456789";
504
+ function t(r, u, i, o) {
505
+ for (var l, n = [0], s, a = 0, f = r.length; a < f; ) {
506
+ for (s = n.length; s--; n[s] *= u) ;
507
+ for (n[0] += o.indexOf(r.charAt(a++)), l = 0; l < n.length; l++)
508
+ n[l] > i - 1 && (n[l + 1] == null && (n[l + 1] = 0), n[l + 1] += n[l] / i | 0, n[l] %= i);
509
+ }
510
+ return n.reverse();
511
+ }
512
+ return function(r, u, i, o, l) {
513
+ var n, s, a, f, c, M, D, z, re = r.indexOf("."), se = V, U = Q;
514
+ for (re >= 0 && (f = k, k = 0, r = r.replace(".", ""), z = new h(u), M = z.pow(r.length - re), k = f, z.c = t(ee(A(M.c), M.e, "0"), 10, i, e), z.e = z.c.length), D = t(r, u, i, l ? (n = Y, e) : (n = e, Y)), a = f = D.length; D[--f] == 0; D.pop()) ;
515
+ if (!D[0]) return n.charAt(0);
516
+ if (re < 0 ? --a : (M.c = D, M.e = a, M.s = o, M = C(M, z, se, U, i), D = M.c, c = M.r, a = M.e), s = a + se + 1, re = D[s], f = i / 2, c = c || s < 0 || D[s + 1] != null, c = U < 4 ? (re != null || c) && (U == 0 || U == (M.s < 0 ? 3 : 2)) : re > f || re == f && (U == 4 || c || U == 6 && D[s - 1] & 1 || U == (M.s < 0 ? 8 : 7)), s < 1 || !D[0])
517
+ r = c ? ee(n.charAt(1), -se, n.charAt(0)) : n.charAt(0);
518
+ else {
519
+ if (D.length = s, c)
520
+ for (--i; ++D[--s] > i; )
521
+ D[s] = 0, s || (++a, D = [1].concat(D));
522
+ for (f = D.length; !D[--f]; ) ;
523
+ for (re = 0, r = ""; re <= f; r += n.charAt(D[re++])) ;
524
+ r = ee(r, a, n.charAt(0));
525
+ }
526
+ return r;
527
+ };
528
+ }(), C = /* @__PURE__ */ function() {
529
+ function e(u, i, o) {
530
+ var l, n, s, a, f = 0, c = u.length, M = i % $, D = i / $ | 0;
531
+ for (u = u.slice(); c--; )
532
+ s = u[c] % $, a = u[c] / $ | 0, l = D * s + a * M, n = M * s + l % $ * $ + f, f = (n / o | 0) + (l / $ | 0) + D * a, u[c] = n % o;
533
+ return f && (u = [f].concat(u)), u;
534
+ }
535
+ function t(u, i, o, l) {
536
+ var n, s;
537
+ if (o != l)
538
+ s = o > l ? 1 : -1;
539
+ else
540
+ for (n = s = 0; n < o; n++)
541
+ if (u[n] != i[n]) {
542
+ s = u[n] > i[n] ? 1 : -1;
543
+ break;
544
+ }
545
+ return s;
546
+ }
547
+ function r(u, i, o, l) {
548
+ for (var n = 0; o--; )
549
+ u[o] -= n, n = u[o] < i[o] ? 1 : 0, u[o] = n * l + u[o] - i[o];
550
+ for (; !u[0] && u.length > 1; u.splice(0, 1)) ;
551
+ }
552
+ return function(u, i, o, l, n) {
553
+ var s, a, f, c, M, D, z, re, se, U, J, ae, _e, Ee, Ae, we, Oe, pe = u.s == i.s ? 1 : -1, le = u.c, ne = i.c;
554
+ if (!le || !le[0] || !ne || !ne[0])
555
+ return new h(
556
+ // Return NaN if either NaN, or both Infinity or 0.
557
+ !u.s || !i.s || (le ? ne && le[0] == ne[0] : !ne) ? NaN : (
558
+ // Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0.
559
+ le && le[0] == 0 || !ne ? pe * 0 : pe / 0
560
+ )
561
+ );
562
+ for (re = new h(pe), se = re.c = [], a = u.e - i.e, pe = o + a + 1, n || (n = j, a = O(u.e / v) - O(i.e / v), pe = pe / v | 0), f = 0; ne[f] == (le[f] || 0); f++) ;
563
+ if (ne[f] > (le[f] || 0) && a--, pe < 0)
564
+ se.push(1), c = !0;
565
+ else {
566
+ for (Ee = le.length, we = ne.length, f = 0, pe += 2, M = F(n / (ne[0] + 1)), M > 1 && (ne = e(ne, M, n), le = e(le, M, n), we = ne.length, Ee = le.length), _e = we, U = le.slice(0, we), J = U.length; J < we; U[J++] = 0) ;
567
+ Oe = ne.slice(), Oe = [0].concat(Oe), Ae = ne[0], ne[1] >= n / 2 && Ae++;
568
+ do {
569
+ if (M = 0, s = t(ne, U, we, J), s < 0) {
570
+ if (ae = U[0], we != J && (ae = ae * n + (U[1] || 0)), M = F(ae / Ae), M > 1)
571
+ for (M >= n && (M = n - 1), D = e(ne, M, n), z = D.length, J = U.length; t(D, U, z, J) == 1; )
572
+ M--, r(D, we < z ? Oe : ne, z, n), z = D.length, s = 1;
573
+ else
574
+ M == 0 && (s = M = 1), D = ne.slice(), z = D.length;
575
+ if (z < J && (D = [0].concat(D)), r(U, D, J, n), J = U.length, s == -1)
576
+ for (; t(ne, U, we, J) < 1; )
577
+ M++, r(U, we < J ? Oe : ne, J, n), J = U.length;
578
+ } else s === 0 && (M++, U = [0]);
579
+ se[f++] = M, U[0] ? U[J++] = le[_e] || 0 : (U = [le[_e]], J = 1);
580
+ } while ((_e++ < Ee || U[0] != null) && pe--);
581
+ c = U[0] != null, se[0] || se.splice(0, 1);
582
+ }
583
+ if (n == j) {
584
+ for (f = 1, pe = se[0]; pe >= 10; pe /= 10, f++) ;
585
+ oe(re, o + (re.e = f + a * v - 1) + 1, l, c);
586
+ } else
587
+ re.e = a, re.r = +c;
588
+ return re;
589
+ };
590
+ }();
591
+ function fe(e, t, r, u) {
592
+ var i, o, l, n, s;
593
+ if (r == null ? r = Q : N(r, 0, 8), !e.c) return e.toString();
594
+ if (i = e.c[0], l = e.e, t == null)
595
+ s = A(e.c), s = u == 1 || u == 2 && (l <= S || l >= g) ? he(s, l) : ee(s, l, "0");
596
+ else if (e = oe(new h(e), t, r), o = e.e, s = A(e.c), n = s.length, u == 1 || u == 2 && (t <= o || o <= S)) {
597
+ for (; n < t; s += "0", n++) ;
598
+ s = he(s, o);
599
+ } else if (t -= l, s = ee(s, o, "0"), o + 1 > n) {
600
+ if (--t > 0) for (s += "."; t--; s += "0") ;
601
+ } else if (t += o - n, t > 0)
602
+ for (o + 1 == n && (s += "."); t--; s += "0") ;
603
+ return e.s < 0 && i ? "-" + s : s;
604
+ }
605
+ function me(e, t) {
606
+ for (var r, u, i = 1, o = new h(e[0]); i < e.length; i++)
607
+ u = new h(e[i]), (!u.s || (r = P(o, u)) === t || r === 0 && o.s === t) && (o = u);
608
+ return o;
609
+ }
610
+ function ge(e, t, r) {
611
+ for (var u = 1, i = t.length; !t[--i]; t.pop()) ;
612
+ for (i = t[0]; i >= 10; i /= 10, u++) ;
613
+ return (r = u + r * v - 1) > y ? e.c = e.e = null : r < d ? e.c = [e.e = 0] : (e.e = r, e.c = t), e;
614
+ }
615
+ Z = /* @__PURE__ */ function() {
616
+ var e = /^(-?)0([xbo])(?=\w[\w.]*$)/i, t = /^([^.]+)\.$/, r = /^\.([^.]+)$/, u = /^-?(Infinity|NaN)$/, i = /^\s*\+(?=[\w.])|^\s+|\s+$/g;
617
+ return function(o, l, n, s) {
618
+ var a, f = n ? l : l.replace(i, "");
619
+ if (u.test(f))
620
+ o.s = isNaN(f) ? null : f < 0 ? -1 : 1;
621
+ else {
622
+ if (!n && (f = f.replace(e, function(c, M, D) {
623
+ return a = (D = D.toLowerCase()) == "x" ? 16 : D == "b" ? 2 : 8, !s || s == a ? M : c;
624
+ }), s && (a = s, f = f.replace(t, "$1").replace(r, "0.$1")), l != f))
625
+ return new h(f, a);
626
+ if (h.DEBUG)
627
+ throw Error(I + "Not a" + (s ? " base " + s : "") + " number: " + l);
628
+ o.s = null;
629
+ }
630
+ o.c = o.e = null;
631
+ };
632
+ }();
633
+ function oe(e, t, r, u) {
634
+ var i, o, l, n, s, a, f, c = e.c, M = q;
635
+ if (c) {
636
+ e: {
637
+ for (i = 1, n = c[0]; n >= 10; n /= 10, i++) ;
638
+ if (o = t - i, o < 0)
639
+ o += v, l = t, s = c[a = 0], f = F(s / M[i - l - 1] % 10);
640
+ else if (a = W((o + 1) / v), a >= c.length)
641
+ if (u) {
642
+ for (; c.length <= a; c.push(0)) ;
643
+ s = f = 0, i = 1, o %= v, l = o - v + 1;
644
+ } else
645
+ break e;
646
+ else {
647
+ for (s = n = c[a], i = 1; n >= 10; n /= 10, i++) ;
648
+ o %= v, l = o - v + i, f = l < 0 ? 0 : F(s / M[i - l - 1] % 10);
649
+ }
650
+ if (u = u || t < 0 || // Are there any non-zero digits after the rounding digit?
651
+ // The expression n % pows10[d - j - 1] returns all digits of n to the right
652
+ // of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714.
653
+ c[a + 1] != null || (l < 0 ? s : s % M[i - l - 1]), u = r < 4 ? (f || u) && (r == 0 || r == (e.s < 0 ? 3 : 2)) : f > 5 || f == 5 && (r == 4 || u || r == 6 && // Check whether the digit to the left of the rounding digit is odd.
654
+ (o > 0 ? l > 0 ? s / M[i - l] : 0 : c[a - 1]) % 10 & 1 || r == (e.s < 0 ? 8 : 7)), t < 1 || !c[0])
655
+ return c.length = 0, u ? (t -= e.e + 1, c[0] = M[(v - t % v) % v], e.e = -t || 0) : c[0] = e.e = 0, e;
656
+ if (o == 0 ? (c.length = a, n = 1, a--) : (c.length = a + 1, n = M[v - o], c[a] = l > 0 ? F(s / M[i - l] % M[l]) * n : 0), u)
657
+ for (; ; )
658
+ if (a == 0) {
659
+ for (o = 1, l = c[0]; l >= 10; l /= 10, o++) ;
660
+ for (l = c[0] += n, n = 1; l >= 10; l /= 10, n++) ;
661
+ o != n && (e.e++, c[0] == j && (c[0] = 1));
662
+ break;
663
+ } else {
664
+ if (c[a] += n, c[a] != j) break;
665
+ c[a--] = 0, n = 1;
666
+ }
667
+ for (o = c.length; c[--o] === 0; c.pop()) ;
668
+ }
669
+ e.e > y ? e.c = e.e = null : e.e < d && (e.c = [e.e = 0]);
670
+ }
671
+ return e;
672
+ }
673
+ function ue(e) {
674
+ var t, r = e.e;
675
+ return r === null ? e.toString() : (t = A(e.c), t = r <= S || r >= g ? he(t, r) : ee(t, r, "0"), e.s < 0 ? "-" + t : t);
676
+ }
677
+ return p.absoluteValue = p.abs = function() {
678
+ var e = new h(this);
679
+ return e.s < 0 && (e.s = 1), e;
680
+ }, p.comparedTo = function(e, t) {
681
+ return P(this, new h(e, t));
682
+ }, p.decimalPlaces = p.dp = function(e, t) {
683
+ var r, u, i, o = this;
684
+ if (e != null)
685
+ return N(e, 0, L), t == null ? t = Q : N(t, 0, 8), oe(new h(o), e + o.e + 1, t);
686
+ if (!(r = o.c)) return null;
687
+ if (u = ((i = r.length - 1) - O(this.e / v)) * v, i = r[i]) for (; i % 10 == 0; i /= 10, u--) ;
688
+ return u < 0 && (u = 0), u;
689
+ }, p.dividedBy = p.div = function(e, t) {
690
+ return C(this, new h(e, t), V, Q);
691
+ }, p.dividedToIntegerBy = p.idiv = function(e, t) {
692
+ return C(this, new h(e, t), 0, 1);
693
+ }, p.exponentiatedBy = p.pow = function(e, t) {
694
+ var r, u, i, o, l, n, s, a, f, c = this;
695
+ if (e = new h(e), e.c && !e.isInteger())
696
+ throw Error(I + "Exponent not an integer: " + ue(e));
697
+ if (t != null && (t = new h(t)), n = e.e > 14, !c.c || !c.c[0] || c.c[0] == 1 && !c.e && c.c.length == 1 || !e.c || !e.c[0])
698
+ return f = new h(Math.pow(+ue(c), n ? e.s * (2 - ie(e)) : +ue(e))), t ? f.mod(t) : f;
699
+ if (s = e.s < 0, t) {
700
+ if (t.c ? !t.c[0] : !t.s) return new h(NaN);
701
+ u = !s && c.isInteger() && t.isInteger(), u && (c = c.mod(t));
702
+ } else {
703
+ if (e.e > 9 && (c.e > 0 || c.e < -1 || (c.e == 0 ? c.c[0] > 1 || n && c.c[1] >= 24e7 : c.c[0] < 8e13 || n && c.c[0] <= 9999975e7)))
704
+ return o = c.s < 0 && ie(e) ? -0 : 0, c.e > -1 && (o = 1 / o), new h(s ? 1 / o : o);
705
+ k && (o = W(k / v + 2));
706
+ }
707
+ for (n ? (r = new h(0.5), s && (e.s = 1), a = ie(e)) : (i = Math.abs(+ue(e)), a = i % 2), f = new h(T); ; ) {
708
+ if (a) {
709
+ if (f = f.times(c), !f.c) break;
710
+ o ? f.c.length > o && (f.c.length = o) : u && (f = f.mod(t));
711
+ }
712
+ if (i) {
713
+ if (i = F(i / 2), i === 0) break;
714
+ a = i % 2;
715
+ } else if (e = e.times(r), oe(e, e.e + 1, 1), e.e > 14)
716
+ a = ie(e);
717
+ else {
718
+ if (i = +ue(e), i === 0) break;
719
+ a = i % 2;
720
+ }
721
+ c = c.times(c), o ? c.c && c.c.length > o && (c.c.length = o) : u && (c = c.mod(t));
722
+ }
723
+ return u ? f : (s && (f = T.div(f)), t ? f.mod(t) : o ? oe(f, k, Q, l) : f);
724
+ }, p.integerValue = function(e) {
725
+ var t = new h(this);
726
+ return e == null ? e = Q : N(e, 0, 8), oe(t, t.e + 1, e);
727
+ }, p.isEqualTo = p.eq = function(e, t) {
728
+ return P(this, new h(e, t)) === 0;
729
+ }, p.isFinite = function() {
730
+ return !!this.c;
731
+ }, p.isGreaterThan = p.gt = function(e, t) {
732
+ return P(this, new h(e, t)) > 0;
733
+ }, p.isGreaterThanOrEqualTo = p.gte = function(e, t) {
734
+ return (t = P(this, new h(e, t))) === 1 || t === 0;
735
+ }, p.isInteger = function() {
736
+ return !!this.c && O(this.e / v) > this.c.length - 2;
737
+ }, p.isLessThan = p.lt = function(e, t) {
738
+ return P(this, new h(e, t)) < 0;
739
+ }, p.isLessThanOrEqualTo = p.lte = function(e, t) {
740
+ return (t = P(this, new h(e, t))) === -1 || t === 0;
741
+ }, p.isNaN = function() {
742
+ return !this.s;
743
+ }, p.isNegative = function() {
744
+ return this.s < 0;
745
+ }, p.isPositive = function() {
746
+ return this.s > 0;
747
+ }, p.isZero = function() {
748
+ return !!this.c && this.c[0] == 0;
749
+ }, p.minus = function(e, t) {
750
+ var r, u, i, o, l = this, n = l.s;
751
+ if (e = new h(e, t), t = e.s, !n || !t) return new h(NaN);
752
+ if (n != t)
753
+ return e.s = -t, l.plus(e);
754
+ var s = l.e / v, a = e.e / v, f = l.c, c = e.c;
755
+ if (!s || !a) {
756
+ if (!f || !c) return f ? (e.s = -t, e) : new h(c ? l : NaN);
757
+ if (!f[0] || !c[0])
758
+ return c[0] ? (e.s = -t, e) : new h(f[0] ? l : (
759
+ // IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity
760
+ Q == 3 ? -0 : 0
761
+ ));
762
+ }
763
+ if (s = O(s), a = O(a), f = f.slice(), n = s - a) {
764
+ for ((o = n < 0) ? (n = -n, i = f) : (a = s, i = c), i.reverse(), t = n; t--; i.push(0)) ;
765
+ i.reverse();
766
+ } else
767
+ for (u = (o = (n = f.length) < (t = c.length)) ? n : t, n = t = 0; t < u; t++)
768
+ if (f[t] != c[t]) {
769
+ o = f[t] < c[t];
770
+ break;
771
+ }
772
+ if (o && (i = f, f = c, c = i, e.s = -e.s), t = (u = c.length) - (r = f.length), t > 0) for (; t--; f[r++] = 0) ;
773
+ for (t = j - 1; u > n; ) {
774
+ if (f[--u] < c[u]) {
775
+ for (r = u; r && !f[--r]; f[r] = t) ;
776
+ --f[r], f[u] += j;
777
+ }
778
+ f[u] -= c[u];
779
+ }
780
+ for (; f[0] == 0; f.splice(0, 1), --a) ;
781
+ return f[0] ? ge(e, f, a) : (e.s = Q == 3 ? -1 : 1, e.c = [e.e = 0], e);
782
+ }, p.modulo = p.mod = function(e, t) {
783
+ var r, u, i = this;
784
+ return e = new h(e, t), !i.c || !e.s || e.c && !e.c[0] ? new h(NaN) : !e.c || i.c && !i.c[0] ? new h(i) : (b == 9 ? (u = e.s, e.s = 1, r = C(i, e, 0, 3), e.s = u, r.s *= u) : r = C(i, e, 0, b), e = i.minus(r.times(e)), !e.c[0] && b == 1 && (e.s = i.s), e);
785
+ }, p.multipliedBy = p.times = function(e, t) {
786
+ var r, u, i, o, l, n, s, a, f, c, M, D, z, re, se, U = this, J = U.c, ae = (e = new h(e, t)).c;
787
+ if (!J || !ae || !J[0] || !ae[0])
788
+ return !U.s || !e.s || J && !J[0] && !ae || ae && !ae[0] && !J ? e.c = e.e = e.s = null : (e.s *= U.s, !J || !ae ? e.c = e.e = null : (e.c = [0], e.e = 0)), e;
789
+ for (u = O(U.e / v) + O(e.e / v), e.s *= U.s, s = J.length, c = ae.length, s < c && (z = J, J = ae, ae = z, i = s, s = c, c = i), i = s + c, z = []; i--; z.push(0)) ;
790
+ for (re = j, se = $, i = c; --i >= 0; ) {
791
+ for (r = 0, M = ae[i] % se, D = ae[i] / se | 0, l = s, o = i + l; o > i; )
792
+ a = J[--l] % se, f = J[l] / se | 0, n = D * a + f * M, a = M * a + n % se * se + z[o] + r, r = (a / re | 0) + (n / se | 0) + D * f, z[o--] = a % re;
793
+ z[o] = r;
794
+ }
795
+ return r ? ++u : z.splice(0, 1), ge(e, z, u);
796
+ }, p.negated = function() {
797
+ var e = new h(this);
798
+ return e.s = -e.s || null, e;
799
+ }, p.plus = function(e, t) {
800
+ var r, u = this, i = u.s;
801
+ if (e = new h(e, t), t = e.s, !i || !t) return new h(NaN);
802
+ if (i != t)
803
+ return e.s = -t, u.minus(e);
804
+ var o = u.e / v, l = e.e / v, n = u.c, s = e.c;
805
+ if (!o || !l) {
806
+ if (!n || !s) return new h(i / 0);
807
+ if (!n[0] || !s[0]) return s[0] ? e : new h(n[0] ? u : i * 0);
808
+ }
809
+ if (o = O(o), l = O(l), n = n.slice(), i = o - l) {
810
+ for (i > 0 ? (l = o, r = s) : (i = -i, r = n), r.reverse(); i--; r.push(0)) ;
811
+ r.reverse();
812
+ }
813
+ for (i = n.length, t = s.length, i - t < 0 && (r = s, s = n, n = r, t = i), i = 0; t; )
814
+ i = (n[--t] = n[t] + s[t] + i) / j | 0, n[t] = j === n[t] ? 0 : n[t] % j;
815
+ return i && (n = [i].concat(n), ++l), ge(e, n, l);
816
+ }, p.precision = p.sd = function(e, t) {
817
+ var r, u, i, o = this;
818
+ if (e != null && e !== !!e)
819
+ return N(e, 1, L), t == null ? t = Q : N(t, 0, 8), oe(new h(o), e, t);
820
+ if (!(r = o.c)) return null;
821
+ if (i = r.length - 1, u = i * v + 1, i = r[i]) {
822
+ for (; i % 10 == 0; i /= 10, u--) ;
823
+ for (i = r[0]; i >= 10; i /= 10, u++) ;
824
+ }
825
+ return e && o.e + 1 > u && (u = o.e + 1), u;
826
+ }, p.shiftedBy = function(e) {
827
+ return N(e, -H, H), this.times("1e" + e);
828
+ }, p.squareRoot = p.sqrt = function() {
829
+ var e, t, r, u, i, o = this, l = o.c, n = o.s, s = o.e, a = V + 4, f = new h("0.5");
830
+ if (n !== 1 || !l || !l[0])
831
+ return new h(!n || n < 0 && (!l || l[0]) ? NaN : l ? o : 1 / 0);
832
+ if (n = Math.sqrt(+ue(o)), n == 0 || n == 1 / 0 ? (t = A(l), (t.length + s) % 2 == 0 && (t += "0"), n = Math.sqrt(+t), s = O((s + 1) / 2) - (s < 0 || s % 2), n == 1 / 0 ? t = "5e" + s : (t = n.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + s), r = new h(t)) : r = new h(n + ""), r.c[0]) {
833
+ for (s = r.e, n = s + a, n < 3 && (n = 0); ; )
834
+ if (i = r, r = f.times(i.plus(C(o, i, a, 1))), A(i.c).slice(0, n) === (t = A(r.c)).slice(0, n))
835
+ if (r.e < s && --n, t = t.slice(n - 3, n + 1), t == "9999" || !u && t == "4999") {
836
+ if (!u && (oe(i, i.e + V + 2, 0), i.times(i).eq(o))) {
837
+ r = i;
838
+ break;
839
+ }
840
+ a += 4, n += 4, u = 1;
841
+ } else {
842
+ (!+t || !+t.slice(1) && t.charAt(0) == "5") && (oe(r, r.e + V + 2, 1), e = !r.times(r).eq(o));
843
+ break;
844
+ }
845
+ }
846
+ return oe(r, r.e + V + 1, Q, e);
847
+ }, p.toExponential = function(e, t) {
848
+ return e != null && (N(e, 0, L), e++), fe(this, e, t, 1);
849
+ }, p.toFixed = function(e, t) {
850
+ return e != null && (N(e, 0, L), e = e + this.e + 1), fe(this, e, t);
851
+ }, p.toFormat = function(e, t, r) {
852
+ var u, i = this;
853
+ if (r == null)
854
+ e != null && t && typeof t == "object" ? (r = t, t = null) : e && typeof e == "object" ? (r = e, e = t = null) : r = G;
855
+ else if (typeof r != "object")
856
+ throw Error(I + "Argument not an object: " + r);
857
+ if (u = i.toFixed(e, t), i.c) {
858
+ var o, l = u.split("."), n = +r.groupSize, s = +r.secondaryGroupSize, a = r.groupSeparator || "", f = l[0], c = l[1], M = i.s < 0, D = M ? f.slice(1) : f, z = D.length;
859
+ if (s && (o = n, n = s, s = o, z -= o), n > 0 && z > 0) {
860
+ for (o = z % n || n, f = D.substr(0, o); o < z; o += n) f += a + D.substr(o, n);
861
+ s > 0 && (f += a + D.slice(o)), M && (f = "-" + f);
862
+ }
863
+ u = c ? f + (r.decimalSeparator || "") + ((s = +r.fractionGroupSize) ? c.replace(new RegExp("\\d{" + s + "}\\B", "g"), "$&" + (r.fractionGroupSeparator || "")) : c) : f;
864
+ }
865
+ return (r.prefix || "") + u + (r.suffix || "");
866
+ }, p.toFraction = function(e) {
867
+ var t, r, u, i, o, l, n, s, a, f, c, M, D = this, z = D.c;
868
+ if (e != null && (n = new h(e), !n.isInteger() && (n.c || n.s !== 1) || n.lt(T)))
869
+ throw Error(I + "Argument " + (n.isInteger() ? "out of range: " : "not an integer: ") + ue(n));
870
+ if (!z) return new h(D);
871
+ for (t = new h(T), a = r = new h(T), u = s = new h(T), M = A(z), o = t.e = M.length - D.e - 1, t.c[0] = q[(l = o % v) < 0 ? v + l : l], e = !e || n.comparedTo(t) > 0 ? o > 0 ? t : a : n, l = y, y = 1 / 0, n = new h(M), s.c[0] = 0; f = C(n, t, 0, 1), i = r.plus(f.times(u)), i.comparedTo(e) != 1; )
872
+ r = u, u = i, a = s.plus(f.times(i = a)), s = i, t = n.minus(f.times(i = t)), n = i;
873
+ return i = C(e.minus(r), u, 0, 1), s = s.plus(i.times(a)), r = r.plus(i.times(u)), s.s = a.s = D.s, o = o * 2, c = C(a, u, o, Q).minus(D).abs().comparedTo(C(s, r, o, Q).minus(D).abs()) < 1 ? [a, u] : [s, r], y = l, c;
874
+ }, p.toNumber = function() {
875
+ return +ue(this);
876
+ }, p.toPrecision = function(e, t) {
877
+ return e != null && N(e, 1, L), fe(this, e, t, 2);
878
+ }, p.toString = function(e) {
879
+ var t, r = this, u = r.s, i = r.e;
880
+ return i === null ? u ? (t = "Infinity", u < 0 && (t = "-" + t)) : t = "NaN" : (e == null ? t = i <= S || i >= g ? he(A(r.c), i) : ee(A(r.c), i, "0") : e === 10 && te ? (r = oe(new h(r), V + i + 1, Q), t = ee(A(r.c), r.e, "0")) : (N(e, 2, Y.length, "Base"), t = X(ee(A(r.c), i, "0"), 10, e, u, !0)), u < 0 && r.c[0] && (t = "-" + t)), t;
881
+ }, p.valueOf = p.toJSON = function() {
882
+ return ue(this);
883
+ }, p._isBigNumber = !0, x != null && h.set(x), h;
884
+ }
885
+ function O(x) {
886
+ var C = x | 0;
887
+ return x > 0 || x === C ? C : C - 1;
888
+ }
889
+ function A(x) {
890
+ for (var C, X, Z = 1, p = x.length, T = x[0] + ""; Z < p; ) {
891
+ for (C = x[Z++] + "", X = v - C.length; X--; C = "0" + C) ;
892
+ T += C;
893
+ }
894
+ for (p = T.length; T.charCodeAt(--p) === 48; ) ;
895
+ return T.slice(0, p + 1 || 1);
896
+ }
897
+ function P(x, C) {
898
+ var X, Z, p = x.c, T = C.c, V = x.s, Q = C.s, S = x.e, g = C.e;
899
+ if (!V || !Q) return null;
900
+ if (X = p && !p[0], Z = T && !T[0], X || Z) return X ? Z ? 0 : -Q : V;
901
+ if (V != Q) return V;
902
+ if (X = V < 0, Z = S == g, !p || !T) return Z ? 0 : !p ^ X ? 1 : -1;
903
+ if (!Z) return S > g ^ X ? 1 : -1;
904
+ for (Q = (S = p.length) < (g = T.length) ? S : g, V = 0; V < Q; V++) if (p[V] != T[V]) return p[V] > T[V] ^ X ? 1 : -1;
905
+ return S == g ? 0 : S > g ^ X ? 1 : -1;
906
+ }
907
+ function N(x, C, X, Z) {
908
+ if (x < C || x > X || x !== F(x))
909
+ throw Error(I + (Z || "Argument") + (typeof x == "number" ? x < C || x > X ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(x));
910
+ }
911
+ function ie(x) {
912
+ var C = x.c.length - 1;
913
+ return O(x.e / v) == C && x.c[C] % 2 != 0;
914
+ }
915
+ function he(x, C) {
916
+ return (x.length > 1 ? x.charAt(0) + "." + x.slice(1) : x) + (C < 0 ? "e" : "e+") + C;
917
+ }
918
+ function ee(x, C, X) {
919
+ var Z, p;
920
+ if (C < 0) {
921
+ for (p = X + "."; ++C; p += X) ;
922
+ x = p + x;
923
+ } else if (Z = x.length, ++C > Z) {
924
+ for (p = X, C -= Z; --C; p += X) ;
925
+ x += p;
926
+ } else C < Z && (x = x.slice(0, C) + "." + x.slice(C));
927
+ return x;
928
+ }
929
+ B = K(), B.default = B.BigNumber = B, E.exports ? E.exports = B : (R || (R = typeof self < "u" && self ? self : window), R.BigNumber = B);
930
+ })(qe);
931
+ })(He);
932
+ var Ge = He.exports;
933
+ (function(E) {
934
+ var R = Ge, B = E.exports;
935
+ (function() {
936
+ var m = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, W, F, I = {
937
+ // table of character substitutions
938
+ "\b": "\\b",
939
+ " ": "\\t",
940
+ "\n": "\\n",
941
+ "\f": "\\f",
942
+ "\r": "\\r",
943
+ '"': '\\"',
944
+ "\\": "\\\\"
945
+ }, _;
946
+ function j(H) {
947
+ return m.lastIndex = 0, m.test(H) ? '"' + H.replace(m, function(q) {
948
+ var $ = I[q];
949
+ return typeof $ == "string" ? $ : "\\u" + ("0000" + q.charCodeAt(0).toString(16)).slice(-4);
950
+ }) + '"' : '"' + H + '"';
951
+ }
952
+ function v(H, q) {
953
+ var $, L, K, O, A = W, P, N = q[H], ie = N != null && (N instanceof R || R.isBigNumber(N));
954
+ switch (N && typeof N == "object" && typeof N.toJSON == "function" && (N = N.toJSON(H)), typeof _ == "function" && (N = _.call(q, H, N)), typeof N) {
955
+ case "string":
956
+ return ie ? N : j(N);
957
+ case "number":
958
+ return isFinite(N) ? String(N) : "null";
959
+ case "boolean":
960
+ case "null":
961
+ case "bigint":
962
+ return String(N);
963
+ case "object":
964
+ if (!N)
965
+ return "null";
966
+ if (W += F, P = [], Object.prototype.toString.apply(N) === "[object Array]") {
967
+ for (O = N.length, $ = 0; $ < O; $ += 1)
968
+ P[$] = v($, N) || "null";
969
+ return K = P.length === 0 ? "[]" : W ? `[
970
+ ` + W + P.join(`,
971
+ ` + W) + `
972
+ ` + A + "]" : "[" + P.join(",") + "]", W = A, K;
973
+ }
974
+ if (_ && typeof _ == "object")
975
+ for (O = _.length, $ = 0; $ < O; $ += 1)
976
+ typeof _[$] == "string" && (L = _[$], K = v(L, N), K && P.push(j(L) + (W ? ": " : ":") + K));
977
+ else
978
+ Object.keys(N).forEach(function(he) {
979
+ var ee = v(he, N);
980
+ ee && P.push(j(he) + (W ? ": " : ":") + ee);
981
+ });
982
+ return K = P.length === 0 ? "{}" : W ? `{
983
+ ` + W + P.join(`,
984
+ ` + W) + `
985
+ ` + A + "}" : "{" + P.join(",") + "}", W = A, K;
986
+ }
987
+ }
988
+ typeof B.stringify != "function" && (B.stringify = function(H, q, $) {
989
+ var L;
990
+ if (W = "", F = "", typeof $ == "number")
991
+ for (L = 0; L < $; L += 1)
992
+ F += " ";
993
+ else typeof $ == "string" && (F = $);
994
+ if (_ = q, q && typeof q != "function" && (typeof q != "object" || typeof q.length != "number"))
995
+ throw new Error("JSON.stringify");
996
+ return v("", {
997
+ "": H
998
+ });
999
+ });
1000
+ })();
1001
+ })(We);
1002
+ var st = We.exports, Ne = null;
1003
+ const ot = /(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/, ut = /(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/;
1004
+ var ft = function(E) {
1005
+ var R = {
1006
+ strict: !1,
1007
+ // not being strict means do not generate syntax errors for "duplicate key"
1008
+ storeAsString: !1,
1009
+ // toggles whether the values should be stored as BigNumber (default) or a string
1010
+ alwaysParseAsBig: !1,
1011
+ // toggles whether all numbers should be Big
1012
+ useNativeBigInt: !1,
1013
+ // toggles whether to use native BigInt instead of bignumber.js
1014
+ protoAction: "error",
1015
+ constructorAction: "error"
1016
+ };
1017
+ if (E != null) {
1018
+ if (E.strict === !0 && (R.strict = !0), E.storeAsString === !0 && (R.storeAsString = !0), R.alwaysParseAsBig = E.alwaysParseAsBig === !0 ? E.alwaysParseAsBig : !1, R.useNativeBigInt = E.useNativeBigInt === !0 ? E.useNativeBigInt : !1, typeof E.constructorAction < "u")
1019
+ if (E.constructorAction === "error" || E.constructorAction === "ignore" || E.constructorAction === "preserve")
1020
+ R.constructorAction = E.constructorAction;
1021
+ else
1022
+ throw new Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${E.constructorAction}`);
1023
+ if (typeof E.protoAction < "u")
1024
+ if (E.protoAction === "error" || E.protoAction === "ignore" || E.protoAction === "preserve")
1025
+ R.protoAction = E.protoAction;
1026
+ else
1027
+ throw new Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${E.protoAction}`);
1028
+ }
1029
+ var B, m, W = {
1030
+ '"': '"',
1031
+ "\\": "\\",
1032
+ "/": "/",
1033
+ b: "\b",
1034
+ f: "\f",
1035
+ n: `
1036
+ `,
1037
+ r: "\r",
1038
+ t: " "
1039
+ }, F, I = function(O) {
1040
+ throw {
1041
+ name: "SyntaxError",
1042
+ message: O,
1043
+ at: B,
1044
+ text: F
1045
+ };
1046
+ }, _ = function(O) {
1047
+ return O && O !== m && I("Expected '" + O + "' instead of '" + m + "'"), m = F.charAt(B), B += 1, m;
1048
+ }, j = function() {
1049
+ var O, A = "";
1050
+ for (m === "-" && (A = "-", _("-")); m >= "0" && m <= "9"; )
1051
+ A += m, _();
1052
+ if (m === ".")
1053
+ for (A += "."; _() && m >= "0" && m <= "9"; )
1054
+ A += m;
1055
+ if (m === "e" || m === "E")
1056
+ for (A += m, _(), (m === "-" || m === "+") && (A += m, _()); m >= "0" && m <= "9"; )
1057
+ A += m, _();
1058
+ if (O = +A, !isFinite(O))
1059
+ I("Bad number");
1060
+ else
1061
+ return Ne == null && (Ne = Ge), A.length > 15 ? R.storeAsString ? A : R.useNativeBigInt ? BigInt(A) : new Ne(A) : R.alwaysParseAsBig ? R.useNativeBigInt ? BigInt(O) : new Ne(O) : O;
1062
+ }, v = function() {
1063
+ var O, A, P = "", N;
1064
+ if (m === '"')
1065
+ for (var ie = B; _(); ) {
1066
+ if (m === '"')
1067
+ return B - 1 > ie && (P += F.substring(ie, B - 1)), _(), P;
1068
+ if (m === "\\") {
1069
+ if (B - 1 > ie && (P += F.substring(ie, B - 1)), _(), m === "u") {
1070
+ for (N = 0, A = 0; A < 4 && (O = parseInt(_(), 16), !!isFinite(O)); A += 1)
1071
+ N = N * 16 + O;
1072
+ P += String.fromCharCode(N);
1073
+ } else if (typeof W[m] == "string")
1074
+ P += W[m];
1075
+ else
1076
+ break;
1077
+ ie = B;
1078
+ }
1079
+ }
1080
+ I("Bad string");
1081
+ }, H = function() {
1082
+ for (; m && m <= " "; )
1083
+ _();
1084
+ }, q = function() {
1085
+ switch (m) {
1086
+ case "t":
1087
+ return _("t"), _("r"), _("u"), _("e"), !0;
1088
+ case "f":
1089
+ return _("f"), _("a"), _("l"), _("s"), _("e"), !1;
1090
+ case "n":
1091
+ return _("n"), _("u"), _("l"), _("l"), null;
1092
+ }
1093
+ I("Unexpected '" + m + "'");
1094
+ }, $, L = function() {
1095
+ var O = [];
1096
+ if (m === "[") {
1097
+ if (_("["), H(), m === "]")
1098
+ return _("]"), O;
1099
+ for (; m; ) {
1100
+ if (O.push($()), H(), m === "]")
1101
+ return _("]"), O;
1102
+ _(","), H();
1103
+ }
1104
+ }
1105
+ I("Bad array");
1106
+ }, K = function() {
1107
+ var O, A = /* @__PURE__ */ Object.create(null);
1108
+ if (m === "{") {
1109
+ if (_("{"), H(), m === "}")
1110
+ return _("}"), A;
1111
+ for (; m; ) {
1112
+ if (O = v(), H(), _(":"), R.strict === !0 && Object.hasOwnProperty.call(A, O) && I('Duplicate key "' + O + '"'), ot.test(O) === !0 ? R.protoAction === "error" ? I("Object contains forbidden prototype property") : R.protoAction === "ignore" ? $() : A[O] = $() : ut.test(O) === !0 ? R.constructorAction === "error" ? I("Object contains forbidden constructor property") : R.constructorAction === "ignore" ? $() : A[O] = $() : A[O] = $(), H(), m === "}")
1113
+ return _("}"), A;
1114
+ _(","), H();
1115
+ }
1116
+ }
1117
+ I("Bad object");
1118
+ };
1119
+ return $ = function() {
1120
+ switch (H(), m) {
1121
+ case "{":
1122
+ return K();
1123
+ case "[":
1124
+ return L();
1125
+ case '"':
1126
+ return v();
1127
+ case "-":
1128
+ return j();
1129
+ default:
1130
+ return m >= "0" && m <= "9" ? j() : q();
1131
+ }
1132
+ }, function(O, A) {
1133
+ var P;
1134
+ return F = O + "", B = 0, m = " ", P = $(), H(), m && I("Syntax error"), typeof A == "function" ? function N(ie, he) {
1135
+ var ee, x = ie[he];
1136
+ return x && typeof x == "object" && Object.keys(x).forEach(function(C) {
1137
+ ee = N(x, C), ee !== void 0 ? x[C] = ee : delete x[C];
1138
+ }), A.call(ie, he, x);
1139
+ }({
1140
+ "": P
1141
+ }, "") : P;
1142
+ };
1143
+ }, at = ft, Ve = st.stringify, Ye = at;
1144
+ Le.exports = function(E) {
1145
+ return {
1146
+ parse: Ye(E),
1147
+ stringify: Ve
1148
+ };
1149
+ };
1150
+ var lt = Le.exports.parse = Ye(), ct = Le.exports.stringify = Ve;
1151
+ function bt(E, R) {
1152
+ return E.find((B) => B.key === R);
1153
+ }
1154
+ function ht(E) {
1155
+ try {
1156
+ const R = typeof E == "string" ? lt(E) : E;
1157
+ return ct(R, null, 2);
1158
+ } catch (R) {
1159
+ return console.error("Invalid JSON data:", R), E;
1160
+ }
1161
+ }
1162
+ function Re(E) {
1163
+ return E ? typeof E == "object" && E !== null ? ht(E) : typeof E == "boolean" || typeof E == "number" || E != null ? E.toString() : "-" : "-";
1164
+ }
1165
+ function Te(E, R) {
1166
+ return R.split(".").reduce((B, m) => B == null ? void 0 : B[m], E);
1167
+ }
1168
+ const pt = /* @__PURE__ */ Fe({
1169
+ __name: "Ellipsis",
1170
+ props: {
1171
+ open: {
1172
+ type: Boolean,
1173
+ required: !1,
1174
+ default: () => !0
1175
+ }
1176
+ },
1177
+ setup(E) {
1178
+ const R = E, B = be(null), m = be(0), W = Ue(() => {
1179
+ var j, v;
1180
+ if (!R.open || m.value === 0)
1181
+ return {};
1182
+ const _ = (v = (j = B.value) == null ? void 0 : j.parentElement) == null ? void 0 : v.style.width;
1183
+ return _ && _ !== "auto" ? {
1184
+ width: _
1185
+ } : {
1186
+ width: `${m.value}px`
1187
+ };
1188
+ });
1189
+ function F() {
1190
+ B.value && R.open && Pe(() => {
1191
+ B.value && (m.value = B.value.clientWidth);
1192
+ });
1193
+ }
1194
+ function I() {
1195
+ F();
1196
+ }
1197
+ return Je(() => {
1198
+ R.open && Pe(() => {
1199
+ F(), window.addEventListener("resize", I);
1200
+ });
1201
+ }), Xe(() => R.open, (_) => {
1202
+ _ ? (F(), window.addEventListener("resize", I)) : window.removeEventListener("resize", I);
1203
+ }), Ze(() => {
1204
+ window.removeEventListener("resize", I);
1205
+ }), (_, j) => (ce(), de("div", {
1206
+ ref_key: "ellipsisContainer",
1207
+ ref: B,
1208
+ class: xe({
1209
+ ellipsis: E.open
1210
+ }),
1211
+ style: Se(E.open ? W.value : {})
1212
+ }, [ze(_.$slots, "default", {}, void 0, !0)], 6));
1213
+ }
1214
+ }), dt = /* @__PURE__ */ je(pt, [["__scopeId", "data-v-4874d041"]]), gt = {
1215
+ class: "CubeTableCom"
1216
+ }, wt = {
1217
+ class: "tableContain"
1218
+ }, mt = {
1219
+ class: "table-header"
1220
+ }, vt = {
1221
+ class: "table-body"
1222
+ }, yt = ["onMouseenter", "onMouseleave"], $t = {
1223
+ style: {
1224
+ width: "100%",
1225
+ overflow: "hidden"
1226
+ }
1227
+ }, Ot = {
1228
+ key: 0,
1229
+ class: "contain"
1230
+ }, _t = {
1231
+ class: "pagination"
1232
+ }, Nt = /* @__PURE__ */ Fe({
1233
+ __name: "CustomTable",
1234
+ props: {
1235
+ loading: {
1236
+ type: Boolean,
1237
+ required: !1,
1238
+ default: () => !1
1239
+ },
1240
+ bordered: {
1241
+ type: Boolean,
1242
+ required: !1,
1243
+ default: () => !0
1244
+ },
1245
+ data: {
1246
+ type: Array,
1247
+ required: !0
1248
+ },
1249
+ pagination: {
1250
+ type: Object,
1251
+ required: !1,
1252
+ default: () => null
1253
+ },
1254
+ columns: {
1255
+ type: Array,
1256
+ required: !0
1257
+ }
1258
+ },
1259
+ emits: ["mouseenter", "mouseleave", "pageChange", "pageSizeChange"],
1260
+ setup(E, {
1261
+ emit: R
1262
+ }) {
1263
+ const B = E, m = R, W = be(-1), F = Ue(() => B.columns.map(($) => $.width ? `${$.width}px` : $.minWidth ? `minmax(${$.minWidth}px, 1fr)` : "1fr").join(" "));
1264
+ function I($) {
1265
+ const L = {};
1266
+ return $.maxWidth && (L.maxWidth = `${$.maxWidth}px`), L;
1267
+ }
1268
+ function _($) {
1269
+ console.log($, "currentPage"), m("pageChange", $);
1270
+ }
1271
+ function j($) {
1272
+ console.log($, "pageSize"), m("pageSizeChange", $);
1273
+ }
1274
+ function v($) {
1275
+ const L = Ke();
1276
+ return $ ? !!L[$] : !1;
1277
+ }
1278
+ function H($) {
1279
+ W.value = $, m("mouseenter", $);
1280
+ }
1281
+ function q($) {
1282
+ W.value = -1, m("mouseleave", $);
1283
+ }
1284
+ return ($, L) => (ce(), de("div", gt, [Me(ve(et), {
1285
+ loading: B.loading,
1286
+ tip: "数据加载中"
1287
+ }, {
1288
+ default: Be(() => {
1289
+ var K;
1290
+ return [ye("div", wt, [ye("div", {
1291
+ class: "flex-table",
1292
+ style: Se({
1293
+ "grid-template-columns": F.value
1294
+ })
1295
+ }, [ye("div", mt, [(ce(!0), de($e, null, Ce(B.columns, (O, A) => (ce(), de("div", {
1296
+ key: A,
1297
+ class: xe(["header-cell", {
1298
+ fixed: O.fixed,
1299
+ fixedBackground: O.fixed,
1300
+ lastBorder: A === B.columns.length - 1
1301
+ }]),
1302
+ style: Se(I(O))
1303
+ }, ke(O.title), 7))), 128))]), ye("div", vt, [(ce(!0), de($e, null, Ce(B.data, (O, A) => (ce(), de("div", {
1304
+ key: A,
1305
+ class: xe(["table-row", {
1306
+ trListHover: A === W.value
1307
+ }]),
1308
+ onMouseenter: (P) => H(A),
1309
+ onMouseleave: (P) => q(A)
1310
+ }, [(ce(!0), de($e, null, Ce(B.columns, (P, N) => (ce(), de("div", {
1311
+ key: N,
1312
+ class: xe(["body-cell", {
1313
+ fixed: P.fixed,
1314
+ trListHover: A === W.value,
1315
+ lastBorder: N === B.columns.length - 1
1316
+ }]),
1317
+ style: Se(I(P))
1318
+ }, [ye("div", $t, [Me(dt, {
1319
+ open: P.ellipsis
1320
+ }, {
1321
+ default: Be(() => [v(P.slotName) ? ze($.$slots, P.slotName, {
1322
+ key: 0,
1323
+ record: O
1324
+ }, void 0, !0) : (ce(), de($e, {
1325
+ key: 1
1326
+ }, [P.dataIndex ? (ce(), de($e, {
1327
+ key: 0
1328
+ }, [P.tooltip ? (ce(), Ie(ve(tt), {
1329
+ key: 0,
1330
+ content: ve(Re)(ve(Te)(O, P.dataIndex)),
1331
+ position: "bottom"
1332
+ }, {
1333
+ default: Be(() => [ye("span", null, ke(ve(Te)(O, P.dataIndex)), 1)]),
1334
+ _: 2
1335
+ }, 1032, ["content"])) : (ce(), de($e, {
1336
+ key: 1
1337
+ }, [Qe(ke(ve(Re)(ve(Te)(O, P.dataIndex))), 1)], 64))], 64)) : De("", !0)], 64))]),
1338
+ _: 2
1339
+ }, 1032, ["open"])])], 6))), 128))], 42, yt))), 128))])], 4), B.data.length === 0 ? (ce(), de("div", Ot, [Me(ve(rt))])) : De("", !0)]), ye("div", _t, [B.pagination ? (ce(), Ie(ve(nt), {
1340
+ key: 0,
1341
+ modelValue: B.pagination.current,
1342
+ "onUpdate:modelValue": L[0] || (L[0] = (O) => B.pagination.current = O),
1343
+ total: ((K = B.pagination) == null ? void 0 : K.total) || 0,
1344
+ pageSize: B.pagination.pageSize,
1345
+ showTotal: B.pagination.showTotal,
1346
+ showJumper: B.pagination.showJumper,
1347
+ showPageSize: B.pagination.showPageSize,
1348
+ onChange: _,
1349
+ onPageSizeChange: j
1350
+ }, null, 8, ["modelValue", "total", "pageSize", "showTotal", "showJumper", "showPageSize"])) : De("", !0)])];
1351
+ }),
1352
+ _: 3
1353
+ }, 8, ["loading"])]));
1354
+ }
1355
+ }), Lt = /* @__PURE__ */ je(Nt, [["__scopeId", "data-v-25083b11"]]);
1356
+ export {
1357
+ Lt as C,
1358
+ dt as E,
1359
+ bt as f
1360
+ };