@huyooo/ui 0.3.11 → 0.3.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.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import { defineComponent as $e, computed as _e, createElementBlock as Q, openBlock as H, createElementVNode as he, unref as ae, getCurrentScope as st, onScopeDispose as ut, ref as Oe, watch as Xe, getCurrentInstance as Ke, onMounted as Ge, createCommentVNode as ye, createVNode as Ae, provide as Ve, renderSlot as Ce, inject as je, normalizeStyle as Me, normalizeClass as ke, toDisplayString as Ee, onBeforeUnmount as lt, withCtx as be, Fragment as Ne, renderList as Le, createBlock as Ie, createTextVNode as ft, useSlots as at } from "vue";
2
- import { Spin as Ze, Tooltip as We, Empty as ct, Pagination as dt, Image as ht } from "@arco-design/web-vue";
3
- import { Icon as Ye } from "@iconify/vue";
4
- const pt = { class: "SvgIcon" }, gt = ["href", "fill"], vt = /* @__PURE__ */ $e({
1
+ import { defineComponent as _e, computed as Oe, createElementBlock as V, openBlock as z, createElementVNode as se, unref as ae, getCurrentScope as ut, onScopeDispose as ct, ref as xe, watch as Ke, getCurrentInstance as Ze, onMounted as Ge, createCommentVNode as ge, createVNode as be, provide as Ye, renderSlot as Be, inject as We, normalizeStyle as Ie, normalizeClass as Me, toDisplayString as Ae, onBeforeUnmount as at, withCtx as Ce, Fragment as Se, renderList as Ee, createBlock as Ne, createTextVNode as lt, useSlots as ft } from "vue";
2
+ import { Spin as Qe, Tooltip as He, Empty as dt, Pagination as ht, Image as pt } from "@arco-design/web-vue";
3
+ import { Icon as Pe } from "@iconify/vue";
4
+ const gt = { class: "SvgIcon" }, vt = ["href", "fill"], yt = /* @__PURE__ */ _e({
5
5
  __name: "SvgIcon",
6
6
  props: {
7
7
  prefix: {
@@ -20,98 +20,98 @@ const pt = { class: "SvgIcon" }, gt = ["href", "fill"], vt = /* @__PURE__ */ $e(
20
20
  default: "#333"
21
21
  }
22
22
  },
23
- setup(c) {
24
- const g = c, y = _e(() => `#${g.prefix ?? "icon"}-${g.name}`);
25
- return (p, I) => (H(), Q("svg", pt, [
26
- he("use", {
23
+ setup(f) {
24
+ const g = f, y = Oe(() => `#${g.prefix ?? "icon"}-${g.name}`);
25
+ return (p, C) => (z(), V("svg", gt, [
26
+ se("use", {
27
27
  href: y.value,
28
28
  fill: g.color
29
- }, null, 8, gt)
29
+ }, null, 8, vt)
30
30
  ]));
31
31
  }
32
- }), Se = (c, g) => {
33
- const y = c.__vccOpts || c;
34
- for (const [p, I] of g)
35
- y[p] = I;
32
+ }), we = (f, g) => {
33
+ const y = f.__vccOpts || f;
34
+ for (const [p, C] of g)
35
+ y[p] = C;
36
36
  return y;
37
- }, $n = /* @__PURE__ */ Se(vt, [["__scopeId", "data-v-003a51d4"]]);
38
- function wt(c) {
39
- return st() ? (ut(c), !0) : !1;
37
+ }, bn = /* @__PURE__ */ we(yt, [["__scopeId", "data-v-003a51d4"]]);
38
+ function _t(f) {
39
+ return ut() ? (ct(f), !0) : !1;
40
40
  }
41
- function Qe(c) {
42
- return typeof c == "function" ? c() : ae(c);
41
+ function et(f) {
42
+ return typeof f == "function" ? f() : ae(f);
43
43
  }
44
- const yt = typeof window < "u" && typeof document < "u";
44
+ const wt = typeof window < "u" && typeof document < "u";
45
45
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
46
- const mt = (c) => c != null, Fe = () => {
47
- }, _t = yt ? window : void 0;
48
- function Ue(c) {
46
+ const mt = (f) => f != null, Fe = () => {
47
+ }, $t = wt ? window : void 0;
48
+ function Ue(f) {
49
49
  var g;
50
- const y = Qe(c);
50
+ const y = et(f);
51
51
  return (g = y == null ? void 0 : y.$el) != null ? g : y;
52
52
  }
53
- function $t() {
54
- const c = Oe(!1), g = Ke();
53
+ function St() {
54
+ const f = xe(!1), g = Ze();
55
55
  return g && Ge(() => {
56
- c.value = !0;
57
- }, g), c;
56
+ f.value = !0;
57
+ }, g), f;
58
58
  }
59
- function St(c) {
60
- const g = $t();
61
- return _e(() => (g.value, !!c()));
59
+ function xt(f) {
60
+ const g = St();
61
+ return Oe(() => (g.value, !!f()));
62
62
  }
63
- function xt(c, g, y = {}) {
63
+ function Ot(f, g, y = {}) {
64
64
  const {
65
65
  root: p,
66
- rootMargin: I = "0px",
67
- threshold: b = 0,
68
- window: $ = _t,
69
- immediate: N = !0
70
- } = y, V = St(() => $ && "IntersectionObserver" in $), O = _e(() => {
71
- const z = Qe(c);
72
- return (Array.isArray(z) ? z : [z]).map(Ue).filter(mt);
66
+ rootMargin: C = "0px",
67
+ threshold: N = 0,
68
+ window: $ = $t,
69
+ immediate: m = !0
70
+ } = y, W = xt(() => $ && "IntersectionObserver" in $), O = Oe(() => {
71
+ const j = et(f);
72
+ return (Array.isArray(j) ? j : [j]).map(Ue).filter(mt);
73
73
  });
74
- let L = Fe;
75
- const q = Oe(N), U = V.value ? Xe(
76
- () => [O.value, Ue(p), q.value],
77
- ([z, S]) => {
78
- if (L(), !q.value || !z.length)
74
+ let D = Fe;
75
+ const U = xe(m), T = W.value ? Ke(
76
+ () => [O.value, Ue(p), U.value],
77
+ ([j, x]) => {
78
+ if (D(), !U.value || !j.length)
79
79
  return;
80
80
  const B = new IntersectionObserver(
81
81
  g,
82
82
  {
83
- root: Ue(S),
84
- rootMargin: I,
85
- threshold: b
83
+ root: Ue(x),
84
+ rootMargin: C,
85
+ threshold: N
86
86
  }
87
87
  );
88
- z.forEach((j) => j && B.observe(j)), L = () => {
89
- B.disconnect(), L = Fe;
88
+ j.forEach((H) => H && B.observe(H)), D = () => {
89
+ B.disconnect(), D = Fe;
90
90
  };
91
91
  },
92
- { immediate: N, flush: "post" }
93
- ) : Fe, P = () => {
94
- L(), U(), q.value = !1;
92
+ { immediate: m, flush: "post" }
93
+ ) : Fe, L = () => {
94
+ D(), T(), U.value = !1;
95
95
  };
96
- return wt(P), {
97
- isSupported: V,
98
- isActive: q,
96
+ return _t(L), {
97
+ isSupported: W,
98
+ isActive: U,
99
99
  pause() {
100
- L(), q.value = !1;
100
+ D(), U.value = !1;
101
101
  },
102
102
  resume() {
103
- q.value = !0;
103
+ U.value = !0;
104
104
  },
105
- stop: P
105
+ stop: L
106
106
  };
107
107
  }
108
- const Ot = {
108
+ const kt = {
109
109
  key: 0,
110
110
  class: "loading"
111
111
  }, Nt = {
112
112
  key: 1,
113
113
  class: "none"
114
- }, At = /* @__PURE__ */ $e({
114
+ }, At = /* @__PURE__ */ _e({
115
115
  __name: "InfiniteLoading",
116
116
  props: {
117
117
  loading: {
@@ -124,30 +124,30 @@ const Ot = {
124
124
  }
125
125
  },
126
126
  emits: ["infinite"],
127
- setup(c, { emit: g }) {
128
- const y = c, p = g, I = Oe(null);
129
- return xt(
130
- I,
131
- ([{ isIntersecting: b }]) => {
132
- b && !y.loading && !y.finished && (console.log(b, "isIntersecting"), p("infinite"));
127
+ setup(f, { emit: g }) {
128
+ const y = f, p = g, C = xe(null);
129
+ return Ot(
130
+ C,
131
+ ([{ isIntersecting: N }]) => {
132
+ N && !y.loading && !y.finished && (console.log(N, "isIntersecting"), p("infinite"));
133
133
  },
134
134
  {
135
135
  threshold: 0
136
136
  }
137
- ), (b, $) => (H(), Q("div", {
137
+ ), (N, $) => (z(), V("div", {
138
138
  class: "infinite-loading",
139
139
  ref_key: "container",
140
- ref: I
140
+ ref: C
141
141
  }, [
142
- c.loading ? (H(), Q("div", Ot, [
143
- Ae(ae(Ze), { tip: "数据加载中..." })
144
- ])) : ye("", !0),
145
- c.finished ? (H(), Q("div", Nt, [
146
- ye("", !0)
147
- ])) : ye("", !0)
142
+ f.loading ? (z(), V("div", kt, [
143
+ be(ae(Qe), { tip: "数据加载中..." })
144
+ ])) : ge("", !0),
145
+ f.finished ? (z(), V("div", Nt, [
146
+ ge("", !0)
147
+ ])) : ge("", !0)
148
148
  ], 512));
149
149
  }
150
- }), Sn = /* @__PURE__ */ Se(At, [["__scopeId", "data-v-ffa0deb7"]]), kt = /* @__PURE__ */ $e({
150
+ }), Mn = /* @__PURE__ */ we(At, [["__scopeId", "data-v-ffa0deb7"]]), bt = /* @__PURE__ */ _e({
151
151
  __name: "Collapse",
152
152
  props: {
153
153
  activeKeys: {
@@ -155,39 +155,39 @@ const Ot = {
155
155
  required: !0
156
156
  }
157
157
  },
158
- setup(c) {
159
- const g = c, y = Oe(), p = Oe(new Set(g.activeKeys));
160
- Ve("expandedIndexes", p);
161
- const I = Oe(0);
162
- return Ve("slotsCount", I), Ge(() => {
163
- I.value = y.value.children.length;
164
- }), Xe(
158
+ setup(f) {
159
+ const g = f, y = xe(), p = xe(new Set(g.activeKeys));
160
+ Ye("expandedIndexes", p);
161
+ const C = xe(0);
162
+ return Ye("slotsCount", C), Ge(() => {
163
+ C.value = y.value.children.length;
164
+ }), Ke(
165
165
  () => g.activeKeys,
166
- (b) => {
167
- p.value = new Set(b);
166
+ (N) => {
167
+ p.value = new Set(N);
168
168
  }
169
- ), (b, $) => (H(), Q("div", {
169
+ ), (N, $) => (z(), V("div", {
170
170
  class: "collapse-container",
171
171
  ref_key: "collapseRef",
172
172
  ref: y
173
173
  }, [
174
- Ce(b.$slots, "default", {}, void 0, !0)
174
+ Be(N.$slots, "default", {}, void 0, !0)
175
175
  ], 512));
176
176
  }
177
- }), xn = /* @__PURE__ */ Se(kt, [["__scopeId", "data-v-a04b6076"]]), Et = Symbol("ArcoConfigProvider"), bt = "arco", Ct = "$arco", Mt = (c) => {
177
+ }), Cn = /* @__PURE__ */ we(bt, [["__scopeId", "data-v-a04b6076"]]), Mt = Symbol("ArcoConfigProvider"), Ct = "arco", Et = "$arco", Bt = (f) => {
178
178
  var g, y, p;
179
- const I = Ke(), b = je(Et, void 0);
180
- return `${(p = (y = b == null ? void 0 : b.prefixCls) != null ? y : (g = I == null ? void 0 : I.appContext.config.globalProperties[Ct]) == null ? void 0 : g.classPrefix) != null ? p : bt}-${c}`;
181
- }, Bt = Object.prototype.toString;
182
- function It(c) {
183
- return Bt.call(c) === "[object Number]" && c === c;
179
+ const C = Ze(), N = We(Mt, void 0);
180
+ return `${(p = (y = N == null ? void 0 : N.prefixCls) != null ? y : (g = C == null ? void 0 : C.appContext.config.globalProperties[Et]) == null ? void 0 : g.classPrefix) != null ? p : Ct}-${f}`;
181
+ }, It = Object.prototype.toString;
182
+ function Dt(f) {
183
+ return It.call(f) === "[object Number]" && f === f;
184
184
  }
185
- var Dt = (c, g) => {
185
+ var Tt = (f, g) => {
186
186
  for (const [y, p] of g)
187
- c[y] = p;
188
- return c;
187
+ f[y] = p;
188
+ return f;
189
189
  };
190
- const Tt = $e({
190
+ const Lt = _e({
191
191
  name: "IconRight",
192
192
  props: {
193
193
  size: {
@@ -200,93 +200,93 @@ const Tt = $e({
200
200
  strokeLinecap: {
201
201
  type: String,
202
202
  default: "butt",
203
- validator: (c) => ["butt", "round", "square"].includes(c)
203
+ validator: (f) => ["butt", "round", "square"].includes(f)
204
204
  },
205
205
  strokeLinejoin: {
206
206
  type: String,
207
207
  default: "miter",
208
- validator: (c) => ["arcs", "bevel", "miter", "miter-clip", "round"].includes(c)
208
+ validator: (f) => ["arcs", "bevel", "miter", "miter-clip", "round"].includes(f)
209
209
  },
210
210
  rotate: Number,
211
211
  spin: Boolean
212
212
  },
213
213
  emits: {
214
- click: (c) => !0
214
+ click: (f) => !0
215
215
  },
216
- setup(c, { emit: g }) {
217
- const y = Mt("icon"), p = _e(() => [y, `${y}-right`, { [`${y}-spin`]: c.spin }]), I = _e(() => {
216
+ setup(f, { emit: g }) {
217
+ const y = Bt("icon"), p = Oe(() => [y, `${y}-right`, { [`${y}-spin`]: f.spin }]), C = Oe(() => {
218
218
  const $ = {};
219
- return c.size && ($.fontSize = It(c.size) ? `${c.size}px` : c.size), c.rotate && ($.transform = `rotate(${c.rotate}deg)`), $;
219
+ return f.size && ($.fontSize = Dt(f.size) ? `${f.size}px` : f.size), f.rotate && ($.transform = `rotate(${f.rotate}deg)`), $;
220
220
  });
221
221
  return {
222
222
  cls: p,
223
- innerStyle: I,
223
+ innerStyle: C,
224
224
  onClick: ($) => {
225
225
  g("click", $);
226
226
  }
227
227
  };
228
228
  }
229
- }), Lt = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
230
- function Pt(c, g, y, p, I, b) {
231
- return H(), Q("svg", {
229
+ }), Pt = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
230
+ function Rt(f, g, y, p, C, N) {
231
+ return z(), V("svg", {
232
232
  viewBox: "0 0 48 48",
233
233
  fill: "none",
234
234
  xmlns: "http://www.w3.org/2000/svg",
235
235
  stroke: "currentColor",
236
- class: ke(c.cls),
237
- style: Me(c.innerStyle),
238
- "stroke-width": c.strokeWidth,
239
- "stroke-linecap": c.strokeLinecap,
240
- "stroke-linejoin": c.strokeLinejoin,
241
- onClick: g[0] || (g[0] = (...$) => c.onClick && c.onClick(...$))
236
+ class: Me(f.cls),
237
+ style: Ie(f.innerStyle),
238
+ "stroke-width": f.strokeWidth,
239
+ "stroke-linecap": f.strokeLinecap,
240
+ "stroke-linejoin": f.strokeLinejoin,
241
+ onClick: g[0] || (g[0] = (...$) => f.onClick && f.onClick(...$))
242
242
  }, g[1] || (g[1] = [
243
- he("path", { d: "m16 39.513 15.556-15.557L16 8.4" }, null, -1)
244
- ]), 14, Lt);
243
+ se("path", { d: "m16 39.513 15.556-15.557L16 8.4" }, null, -1)
244
+ ]), 14, Pt);
245
245
  }
246
- var qe = /* @__PURE__ */ Dt(Tt, [["render", Pt]]);
247
- const Rt = Object.assign(qe, {
248
- install: (c, g) => {
246
+ var ze = /* @__PURE__ */ Tt(Lt, [["render", Rt]]);
247
+ const qt = Object.assign(ze, {
248
+ install: (f, g) => {
249
249
  var y;
250
250
  const p = (y = g == null ? void 0 : g.iconPrefix) != null ? y : "";
251
- c.component(p + qe.name, qe);
251
+ f.component(p + ze.name, ze);
252
252
  }
253
253
  }), Ft = {
254
254
  key: 0,
255
255
  class: "collapse-content"
256
- }, Ut = /* @__PURE__ */ $e({
256
+ }, Ut = /* @__PURE__ */ _e({
257
257
  __name: "CollapseItem",
258
258
  props: {
259
259
  index: { default: 0 }
260
260
  },
261
- setup(c) {
262
- const g = c, y = je("slotsCount", Oe(0)), p = je("expandedIndexes"), I = _e(() => g.index === y.value - 1), b = _e(() => p.value.has(g.index)), $ = () => {
263
- p && (b.value ? p.value.delete(g.index) : p.value.add(g.index));
261
+ setup(f) {
262
+ const g = f, y = We("slotsCount", xe(0)), p = We("expandedIndexes"), C = Oe(() => g.index === y.value - 1), N = Oe(() => p.value.has(g.index)), $ = () => {
263
+ p && (N.value ? p.value.delete(g.index) : p.value.add(g.index));
264
264
  };
265
- return (N, V) => (H(), Q("div", {
266
- class: ke(["collapse-item", { "no-border": I.value }])
265
+ return (m, W) => (z(), V("div", {
266
+ class: Me(["collapse-item", { "no-border": C.value }])
267
267
  }, [
268
- he("button", {
268
+ se("button", {
269
269
  class: "collapse-header",
270
270
  onClick: $
271
271
  }, [
272
- he("span", null, [
273
- Ce(N.$slots, "header", {}, void 0, !0)
272
+ se("span", null, [
273
+ Be(m.$slots, "header", {}, void 0, !0)
274
274
  ]),
275
- he("span", {
276
- class: ke(["collapse-icon", { rotated: b.value }])
275
+ se("span", {
276
+ class: Me(["collapse-icon", { rotated: N.value }])
277
277
  }, [
278
- Ae(ae(Rt))
278
+ be(ae(qt))
279
279
  ], 2)
280
280
  ]),
281
- b.value ? (H(), Q("div", Ft, [
282
- Ce(N.$slots, "default", {}, void 0, !0)
283
- ])) : ye("", !0)
281
+ N.value ? (z(), V("div", Ft, [
282
+ Be(m.$slots, "default", {}, void 0, !0)
283
+ ])) : ge("", !0)
284
284
  ], 2));
285
285
  }
286
- }), On = /* @__PURE__ */ Se(Ut, [["__scopeId", "data-v-d6e2636e"]]), qt = { class: "ContentHead" }, zt = { class: "title" }, jt = {
286
+ }), En = /* @__PURE__ */ we(Ut, [["__scopeId", "data-v-d6e2636e"]]), zt = { class: "ContentHead" }, jt = { class: "title" }, Wt = {
287
287
  key: 0,
288
288
  class: "description"
289
- }, Wt = /* @__PURE__ */ $e({
289
+ }, Ht = /* @__PURE__ */ _e({
290
290
  __name: "ContentHead",
291
291
  props: {
292
292
  title: {
@@ -300,14 +300,14 @@ const Rt = Object.assign(qe, {
300
300
  default: () => ""
301
301
  }
302
302
  },
303
- setup(c) {
304
- const g = c;
305
- return (y, p) => (H(), Q("div", qt, [
306
- he("h1", zt, Ee(g.title), 1),
307
- g.description ? (H(), Q("p", jt, Ee(g.description), 1)) : ye("", !0)
303
+ setup(f) {
304
+ const g = f;
305
+ return (y, p) => (z(), V("div", zt, [
306
+ se("h1", jt, Ae(g.title), 1),
307
+ g.description ? (z(), V("p", Wt, Ae(g.description), 1)) : ge("", !0)
308
308
  ]));
309
309
  }
310
- }), Nn = /* @__PURE__ */ Se(Wt, [["__scopeId", "data-v-f1ddfae6"]]), Gt = /* @__PURE__ */ $e({
310
+ }), Bn = /* @__PURE__ */ we(Ht, [["__scopeId", "data-v-f1ddfae6"]]), Gt = /* @__PURE__ */ _e({
311
311
  __name: "Ellipsis",
312
312
  props: {
313
313
  open: {
@@ -316,43 +316,43 @@ const Rt = Object.assign(qe, {
316
316
  default: () => !0
317
317
  }
318
318
  },
319
- setup(c) {
320
- const g = c, y = Oe(null), p = _e(() => g.open ? y.value ? {
319
+ setup(f) {
320
+ const g = f, y = xe(null), p = Oe(() => g.open ? y.value ? {
321
321
  width: `${y.value.clientWidth}px`,
322
322
  whiteSpace: "nowrap",
323
323
  overflow: "hidden",
324
324
  textOverflow: "ellipsis"
325
- } : {} : {}), I = () => {
325
+ } : {} : {}), C = () => {
326
326
  if (g.open && y.value) {
327
- const b = y.value.clientWidth;
328
- y.value.style.width = `${b}px`;
327
+ const N = y.value.clientWidth;
328
+ y.value.style.width = `${N}px`;
329
329
  }
330
330
  };
331
331
  return Ge(() => {
332
- g.open && (I(), window.addEventListener("resize", I));
333
- }), lt(() => {
334
- g.open && window.removeEventListener("resize", I);
335
- }), (b, $) => (H(), Q("div", {
332
+ g.open && (C(), window.addEventListener("resize", C));
333
+ }), at(() => {
334
+ g.open && window.removeEventListener("resize", C);
335
+ }), (N, $) => (z(), V("div", {
336
336
  ref_key: "ellipsisContainer",
337
337
  ref: y,
338
- style: Me(p.value)
338
+ style: Ie(p.value)
339
339
  }, [
340
- Ce(b.$slots, "default", {}, void 0, !0)
340
+ Be(N.$slots, "default", {}, void 0, !0)
341
341
  ], 4));
342
342
  }
343
- }), Ht = /* @__PURE__ */ Se(Gt, [["__scopeId", "data-v-d7daaa2e"]]), Vt = {}, Yt = { class: "WidthContainer" };
344
- function Jt(c, g) {
345
- return H(), Q("div", Yt, [
346
- Ce(c.$slots, "default", {}, void 0, !0)
343
+ }), Vt = /* @__PURE__ */ we(Gt, [["__scopeId", "data-v-d7daaa2e"]]), Yt = {}, Jt = { class: "WidthContainer" };
344
+ function Xt(f, g) {
345
+ return z(), V("div", Jt, [
346
+ Be(f.$slots, "default", {}, void 0, !0)
347
347
  ]);
348
348
  }
349
- const An = /* @__PURE__ */ Se(Vt, [["render", Jt], ["__scopeId", "data-v-1e360997"]]);
350
- var et = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, He = { exports: {} }, tt = { exports: {} }, nt = { exports: {} };
351
- (function(c) {
349
+ const In = /* @__PURE__ */ we(Yt, [["render", Xt], ["__scopeId", "data-v-1e360997"]]);
350
+ var tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ve = { exports: {} }, nt = { exports: {} }, rt = { exports: {} };
351
+ (function(f) {
352
352
  (function(g) {
353
- var y, p = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, I = Math.ceil, b = Math.floor, $ = "[BigNumber Error] ", N = $ + "Number primitive has more than 15 significant digits: ", V = 1e14, O = 14, L = 9007199254740991, q = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], U = 1e7, P = 1e9;
354
- function z(k) {
355
- var D, Z, ee, v = h.prototype = { constructor: h, toString: null, valueOf: null }, R = new h(1), J = 20, te = 4, A = -7, m = 21, w = -1e7, x = 1e7, _ = !1, F = 1, T = 0, Y = {
353
+ var y, p = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, C = Math.ceil, N = Math.floor, $ = "[BigNumber Error] ", m = $ + "Number primitive has more than 15 significant digits: ", W = 1e14, O = 14, D = 9007199254740991, U = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], T = 1e7, L = 1e9;
354
+ function j(b) {
355
+ var P, Q, ee, v = h.prototype = { constructor: h, toString: null, valueOf: null }, q = new h(1), X = 20, te = 4, A = -7, w = 21, _ = -1e7, k = 1e7, S = !1, F = 1, R = 0, J = {
356
356
  prefix: "",
357
357
  groupSize: 3,
358
358
  secondaryGroupSize: 0,
@@ -362,129 +362,129 @@ var et = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
362
362
  fractionGroupSeparator: " ",
363
363
  // non-breaking space
364
364
  suffix: ""
365
- }, X = "0123456789abcdefghijklmnopqrstuvwxyz", re = !0;
365
+ }, K = "0123456789abcdefghijklmnopqrstuvwxyz", re = !0;
366
366
  function h(e, t) {
367
- var n, u, i, s, a, r, o, f, l = this;
368
- if (!(l instanceof h)) return new h(e, t);
367
+ var n, u, i, s, l, r, o, a, c = this;
368
+ if (!(c instanceof h)) return new h(e, t);
369
369
  if (t == null) {
370
370
  if (e && e._isBigNumber === !0) {
371
- l.s = e.s, !e.c || e.e > x ? l.c = l.e = null : e.e < w ? l.c = [l.e = 0] : (l.e = e.e, l.c = e.c.slice());
371
+ c.s = e.s, !e.c || e.e > k ? c.c = c.e = null : e.e < _ ? c.c = [c.e = 0] : (c.e = e.e, c.c = e.c.slice());
372
372
  return;
373
373
  }
374
374
  if ((r = typeof e == "number") && e * 0 == 0) {
375
- if (l.s = 1 / e < 0 ? (e = -e, -1) : 1, e === ~~e) {
376
- for (s = 0, a = e; a >= 10; a /= 10, s++) ;
377
- s > x ? l.c = l.e = null : (l.e = s, l.c = [e]);
375
+ if (c.s = 1 / e < 0 ? (e = -e, -1) : 1, e === ~~e) {
376
+ for (s = 0, l = e; l >= 10; l /= 10, s++) ;
377
+ s > k ? c.c = c.e = null : (c.e = s, c.c = [e]);
378
378
  return;
379
379
  }
380
- f = String(e);
380
+ a = String(e);
381
381
  } else {
382
- if (!p.test(f = String(e))) return ee(l, f, r);
383
- l.s = f.charCodeAt(0) == 45 ? (f = f.slice(1), -1) : 1;
382
+ if (!p.test(a = String(e))) return ee(c, a, r);
383
+ c.s = a.charCodeAt(0) == 45 ? (a = a.slice(1), -1) : 1;
384
384
  }
385
- (s = f.indexOf(".")) > -1 && (f = f.replace(".", "")), (a = f.search(/e/i)) > 0 ? (s < 0 && (s = a), s += +f.slice(a + 1), f = f.substring(0, a)) : s < 0 && (s = f.length);
385
+ (s = a.indexOf(".")) > -1 && (a = a.replace(".", "")), (l = a.search(/e/i)) > 0 ? (s < 0 && (s = l), s += +a.slice(l + 1), a = a.substring(0, l)) : s < 0 && (s = a.length);
386
386
  } else {
387
- if (E(t, 2, X.length, "Base"), t == 10 && re)
388
- return l = new h(e), le(l, J + l.e + 1, te);
389
- if (f = String(e), r = typeof e == "number") {
390
- if (e * 0 != 0) return ee(l, f, r, t);
391
- if (l.s = 1 / e < 0 ? (f = f.slice(1), -1) : 1, h.DEBUG && f.replace(/^0\.0*|\./, "").length > 15)
392
- throw Error(N + e);
387
+ if (M(t, 2, K.length, "Base"), t == 10 && re)
388
+ return c = new h(e), le(c, X + c.e + 1, te);
389
+ if (a = String(e), r = typeof e == "number") {
390
+ if (e * 0 != 0) return ee(c, a, r, t);
391
+ if (c.s = 1 / e < 0 ? (a = a.slice(1), -1) : 1, h.DEBUG && a.replace(/^0\.0*|\./, "").length > 15)
392
+ throw Error(m + e);
393
393
  } else
394
- l.s = f.charCodeAt(0) === 45 ? (f = f.slice(1), -1) : 1;
395
- for (n = X.slice(0, t), s = a = 0, o = f.length; a < o; a++)
396
- if (n.indexOf(u = f.charAt(a)) < 0) {
394
+ c.s = a.charCodeAt(0) === 45 ? (a = a.slice(1), -1) : 1;
395
+ for (n = K.slice(0, t), s = l = 0, o = a.length; l < o; l++)
396
+ if (n.indexOf(u = a.charAt(l)) < 0) {
397
397
  if (u == ".") {
398
- if (a > s) {
398
+ if (l > s) {
399
399
  s = o;
400
400
  continue;
401
401
  }
402
- } else if (!i && (f == f.toUpperCase() && (f = f.toLowerCase()) || f == f.toLowerCase() && (f = f.toUpperCase()))) {
403
- i = !0, a = -1, s = 0;
402
+ } else if (!i && (a == a.toUpperCase() && (a = a.toLowerCase()) || a == a.toLowerCase() && (a = a.toUpperCase()))) {
403
+ i = !0, l = -1, s = 0;
404
404
  continue;
405
405
  }
406
- return ee(l, String(e), r, t);
406
+ return ee(c, String(e), r, t);
407
407
  }
408
- r = !1, f = Z(f, t, 10, l.s), (s = f.indexOf(".")) > -1 ? f = f.replace(".", "") : s = f.length;
408
+ r = !1, a = Q(a, t, 10, c.s), (s = a.indexOf(".")) > -1 ? a = a.replace(".", "") : s = a.length;
409
409
  }
410
- for (a = 0; f.charCodeAt(a) === 48; a++) ;
411
- for (o = f.length; f.charCodeAt(--o) === 48; ) ;
412
- if (f = f.slice(a, ++o)) {
413
- if (o -= a, r && h.DEBUG && o > 15 && (e > L || e !== b(e)))
414
- throw Error(N + l.s * e);
415
- if ((s = s - a - 1) > x)
416
- l.c = l.e = null;
417
- else if (s < w)
418
- l.c = [l.e = 0];
410
+ for (l = 0; a.charCodeAt(l) === 48; l++) ;
411
+ for (o = a.length; a.charCodeAt(--o) === 48; ) ;
412
+ if (a = a.slice(l, ++o)) {
413
+ if (o -= l, r && h.DEBUG && o > 15 && (e > D || e !== N(e)))
414
+ throw Error(m + c.s * e);
415
+ if ((s = s - l - 1) > k)
416
+ c.c = c.e = null;
417
+ else if (s < _)
418
+ c.c = [c.e = 0];
419
419
  else {
420
- if (l.e = s, l.c = [], a = (s + 1) % O, s < 0 && (a += O), a < o) {
421
- for (a && l.c.push(+f.slice(0, a)), o -= O; a < o; )
422
- l.c.push(+f.slice(a, a += O));
423
- a = O - (f = f.slice(a)).length;
420
+ if (c.e = s, c.c = [], l = (s + 1) % O, s < 0 && (l += O), l < o) {
421
+ for (l && c.c.push(+a.slice(0, l)), o -= O; l < o; )
422
+ c.c.push(+a.slice(l, l += O));
423
+ l = O - (a = a.slice(l)).length;
424
424
  } else
425
- a -= o;
426
- for (; a--; f += "0") ;
427
- l.c.push(+f);
425
+ l -= o;
426
+ for (; l--; a += "0") ;
427
+ c.c.push(+a);
428
428
  }
429
429
  } else
430
- l.c = [l.e = 0];
430
+ c.c = [c.e = 0];
431
431
  }
432
- h.clone = z, 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) {
432
+ h.clone = j, 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) {
433
433
  var t, n;
434
434
  if (e != null)
435
435
  if (typeof e == "object") {
436
- if (e.hasOwnProperty(t = "DECIMAL_PLACES") && (n = e[t], E(n, 0, P, t), J = n), e.hasOwnProperty(t = "ROUNDING_MODE") && (n = e[t], E(n, 0, 8, t), te = n), e.hasOwnProperty(t = "EXPONENTIAL_AT") && (n = e[t], n && n.pop ? (E(n[0], -1e9, 0, t), E(n[1], 0, P, t), A = n[0], m = n[1]) : (E(n, -1e9, P, t), A = -(m = n < 0 ? -n : n))), e.hasOwnProperty(t = "RANGE"))
436
+ if (e.hasOwnProperty(t = "DECIMAL_PLACES") && (n = e[t], M(n, 0, L, t), X = n), e.hasOwnProperty(t = "ROUNDING_MODE") && (n = e[t], M(n, 0, 8, t), te = n), e.hasOwnProperty(t = "EXPONENTIAL_AT") && (n = e[t], n && n.pop ? (M(n[0], -1e9, 0, t), M(n[1], 0, L, t), A = n[0], w = n[1]) : (M(n, -1e9, L, t), A = -(w = n < 0 ? -n : n))), e.hasOwnProperty(t = "RANGE"))
437
437
  if (n = e[t], n && n.pop)
438
- E(n[0], -1e9, -1, t), E(n[1], 1, P, t), w = n[0], x = n[1];
439
- else if (E(n, -1e9, P, t), n)
440
- w = -(x = n < 0 ? -n : n);
438
+ M(n[0], -1e9, -1, t), M(n[1], 1, L, t), _ = n[0], k = n[1];
439
+ else if (M(n, -1e9, L, t), n)
440
+ _ = -(k = n < 0 ? -n : n);
441
441
  else
442
442
  throw Error($ + t + " cannot be zero: " + n);
443
443
  if (e.hasOwnProperty(t = "CRYPTO"))
444
444
  if (n = e[t], n === !!n)
445
445
  if (n)
446
446
  if (typeof crypto < "u" && crypto && (crypto.getRandomValues || crypto.randomBytes))
447
- _ = n;
447
+ S = n;
448
448
  else
449
- throw _ = !n, Error($ + "crypto unavailable");
449
+ throw S = !n, Error($ + "crypto unavailable");
450
450
  else
451
- _ = n;
451
+ S = n;
452
452
  else
453
453
  throw Error($ + t + " not true or false: " + n);
454
- if (e.hasOwnProperty(t = "MODULO_MODE") && (n = e[t], E(n, 0, 9, t), F = n), e.hasOwnProperty(t = "POW_PRECISION") && (n = e[t], E(n, 0, P, t), T = n), e.hasOwnProperty(t = "FORMAT"))
455
- if (n = e[t], typeof n == "object") Y = n;
454
+ if (e.hasOwnProperty(t = "MODULO_MODE") && (n = e[t], M(n, 0, 9, t), F = n), e.hasOwnProperty(t = "POW_PRECISION") && (n = e[t], M(n, 0, L, t), R = n), e.hasOwnProperty(t = "FORMAT"))
455
+ if (n = e[t], typeof n == "object") J = n;
456
456
  else throw Error($ + t + " not an object: " + n);
457
457
  if (e.hasOwnProperty(t = "ALPHABET"))
458
458
  if (n = e[t], typeof n == "string" && !/^.?$|[+\-.\s]|(.).*\1/.test(n))
459
- re = n.slice(0, 10) == "0123456789", X = n;
459
+ re = n.slice(0, 10) == "0123456789", K = n;
460
460
  else
461
461
  throw Error($ + t + " invalid: " + n);
462
462
  } else
463
463
  throw Error($ + "Object expected: " + e);
464
464
  return {
465
- DECIMAL_PLACES: J,
465
+ DECIMAL_PLACES: X,
466
466
  ROUNDING_MODE: te,
467
- EXPONENTIAL_AT: [A, m],
468
- RANGE: [w, x],
469
- CRYPTO: _,
467
+ EXPONENTIAL_AT: [A, w],
468
+ RANGE: [_, k],
469
+ CRYPTO: S,
470
470
  MODULO_MODE: F,
471
- POW_PRECISION: T,
472
- FORMAT: Y,
473
- ALPHABET: X
471
+ POW_PRECISION: R,
472
+ FORMAT: J,
473
+ ALPHABET: K
474
474
  };
475
475
  }, h.isBigNumber = function(e) {
476
476
  if (!e || e._isBigNumber !== !0) return !1;
477
477
  if (!h.DEBUG) return !0;
478
478
  var t, n, u = e.c, i = e.e, s = e.s;
479
479
  e: if ({}.toString.call(u) == "[object Array]") {
480
- if ((s === 1 || s === -1) && i >= -1e9 && i <= P && i === b(i)) {
480
+ if ((s === 1 || s === -1) && i >= -1e9 && i <= L && i === N(i)) {
481
481
  if (u[0] === 0) {
482
482
  if (i === 0 && u.length === 1) return !0;
483
483
  break e;
484
484
  }
485
485
  if (t = (i + 1) % O, t < 1 && (t += O), String(u[0]).length == t) {
486
486
  for (t = 0; t < u.length; t++)
487
- if (n = u[t], n < 0 || n >= V || n !== b(n)) break e;
487
+ if (n = u[t], n < 0 || n >= W || n !== N(n)) break e;
488
488
  if (n !== 0) return !0;
489
489
  }
490
490
  }
@@ -492,86 +492,86 @@ var et = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
492
492
  return !0;
493
493
  throw Error($ + "Invalid BigNumber: " + e);
494
494
  }, h.maximum = h.max = function() {
495
- return xe(arguments, -1);
495
+ return ke(arguments, -1);
496
496
  }, h.minimum = h.min = function() {
497
- return xe(arguments, 1);
497
+ return ke(arguments, 1);
498
498
  }, h.random = function() {
499
499
  var e = 9007199254740992, t = Math.random() * e & 2097151 ? function() {
500
- return b(Math.random() * e);
500
+ return N(Math.random() * e);
501
501
  } : function() {
502
502
  return (Math.random() * 1073741824 | 0) * 8388608 + (Math.random() * 8388608 | 0);
503
503
  };
504
504
  return function(n) {
505
- var u, i, s, a, r, o = 0, f = [], l = new h(R);
506
- if (n == null ? n = J : E(n, 0, P), a = I(n / O), _)
505
+ var u, i, s, l, r, o = 0, a = [], c = new h(q);
506
+ if (n == null ? n = X : M(n, 0, L), l = C(n / O), S)
507
507
  if (crypto.getRandomValues) {
508
- for (u = crypto.getRandomValues(new Uint32Array(a *= 2)); o < a; )
509
- r = u[o] * 131072 + (u[o + 1] >>> 11), r >= 9e15 ? (i = crypto.getRandomValues(new Uint32Array(2)), u[o] = i[0], u[o + 1] = i[1]) : (f.push(r % 1e14), o += 2);
510
- o = a / 2;
508
+ for (u = crypto.getRandomValues(new Uint32Array(l *= 2)); o < l; )
509
+ r = u[o] * 131072 + (u[o + 1] >>> 11), r >= 9e15 ? (i = crypto.getRandomValues(new Uint32Array(2)), u[o] = i[0], u[o + 1] = i[1]) : (a.push(r % 1e14), o += 2);
510
+ o = l / 2;
511
511
  } else if (crypto.randomBytes) {
512
- for (u = crypto.randomBytes(a *= 7); o < a; )
513
- r = (u[o] & 31) * 281474976710656 + u[o + 1] * 1099511627776 + u[o + 2] * 4294967296 + u[o + 3] * 16777216 + (u[o + 4] << 16) + (u[o + 5] << 8) + u[o + 6], r >= 9e15 ? crypto.randomBytes(7).copy(u, o) : (f.push(r % 1e14), o += 7);
514
- o = a / 7;
512
+ for (u = crypto.randomBytes(l *= 7); o < l; )
513
+ r = (u[o] & 31) * 281474976710656 + u[o + 1] * 1099511627776 + u[o + 2] * 4294967296 + u[o + 3] * 16777216 + (u[o + 4] << 16) + (u[o + 5] << 8) + u[o + 6], r >= 9e15 ? crypto.randomBytes(7).copy(u, o) : (a.push(r % 1e14), o += 7);
514
+ o = l / 7;
515
515
  } else
516
- throw _ = !1, Error($ + "crypto unavailable");
517
- if (!_)
518
- for (; o < a; )
519
- r = t(), r < 9e15 && (f[o++] = r % 1e14);
520
- for (a = f[--o], n %= O, a && n && (r = q[O - n], f[o] = b(a / r) * r); f[o] === 0; f.pop(), o--) ;
516
+ throw S = !1, Error($ + "crypto unavailable");
517
+ if (!S)
518
+ for (; o < l; )
519
+ r = t(), r < 9e15 && (a[o++] = r % 1e14);
520
+ for (l = a[--o], n %= O, l && n && (r = U[O - n], a[o] = N(l / r) * r); a[o] === 0; a.pop(), o--) ;
521
521
  if (o < 0)
522
- f = [s = 0];
522
+ a = [s = 0];
523
523
  else {
524
- for (s = -1; f[0] === 0; f.splice(0, 1), s -= O) ;
525
- for (o = 1, r = f[0]; r >= 10; r /= 10, o++) ;
524
+ for (s = -1; a[0] === 0; a.splice(0, 1), s -= O) ;
525
+ for (o = 1, r = a[0]; r >= 10; r /= 10, o++) ;
526
526
  o < O && (s -= O - o);
527
527
  }
528
- return l.e = s, l.c = f, l;
528
+ return c.e = s, c.c = a, c;
529
529
  };
530
530
  }(), h.sum = function() {
531
531
  for (var e = 1, t = arguments, n = new h(t[0]); e < t.length; ) n = n.plus(t[e++]);
532
532
  return n;
533
- }, Z = /* @__PURE__ */ function() {
533
+ }, Q = /* @__PURE__ */ function() {
534
534
  var e = "0123456789";
535
535
  function t(n, u, i, s) {
536
- for (var a, r = [0], o, f = 0, l = n.length; f < l; ) {
536
+ for (var l, r = [0], o, a = 0, c = n.length; a < c; ) {
537
537
  for (o = r.length; o--; r[o] *= u) ;
538
- for (r[0] += s.indexOf(n.charAt(f++)), a = 0; a < r.length; a++)
539
- r[a] > i - 1 && (r[a + 1] == null && (r[a + 1] = 0), r[a + 1] += r[a] / i | 0, r[a] %= i);
538
+ for (r[0] += s.indexOf(n.charAt(a++)), l = 0; l < r.length; l++)
539
+ r[l] > i - 1 && (r[l + 1] == null && (r[l + 1] = 0), r[l + 1] += r[l] / i | 0, r[l] %= i);
540
540
  }
541
541
  return r.reverse();
542
542
  }
543
- return function(n, u, i, s, a) {
544
- var r, o, f, l, d, C, M, G, ie = n.indexOf("."), ue = J, W = te;
545
- for (ie >= 0 && (l = T, T = 0, n = n.replace(".", ""), G = new h(u), C = G.pow(n.length - ie), T = l, G.c = t(
546
- ne(B(C.c), C.e, "0"),
543
+ return function(n, u, i, s, l) {
544
+ var r, o, a, c, d, E, I, Y, ie = n.indexOf("."), ce = X, G = te;
545
+ for (ie >= 0 && (c = R, R = 0, n = n.replace(".", ""), Y = new h(u), E = Y.pow(n.length - ie), R = c, Y.c = t(
546
+ ne(B(E.c), E.e, "0"),
547
547
  10,
548
548
  i,
549
549
  e
550
- ), G.e = G.c.length), M = t(n, u, i, a ? (r = X, e) : (r = e, X)), f = l = M.length; M[--l] == 0; M.pop()) ;
551
- if (!M[0]) return r.charAt(0);
552
- if (ie < 0 ? --f : (C.c = M, C.e = f, C.s = s, C = D(C, G, ue, W, i), M = C.c, d = C.r, f = C.e), o = f + ue + 1, ie = M[o], l = i / 2, d = d || o < 0 || M[o + 1] != null, d = W < 4 ? (ie != null || d) && (W == 0 || W == (C.s < 0 ? 3 : 2)) : ie > l || ie == l && (W == 4 || d || W == 6 && M[o - 1] & 1 || W == (C.s < 0 ? 8 : 7)), o < 1 || !M[0])
553
- n = d ? ne(r.charAt(1), -ue, r.charAt(0)) : r.charAt(0);
550
+ ), Y.e = Y.c.length), I = t(n, u, i, l ? (r = K, e) : (r = e, K)), a = c = I.length; I[--c] == 0; I.pop()) ;
551
+ if (!I[0]) return r.charAt(0);
552
+ if (ie < 0 ? --a : (E.c = I, E.e = a, E.s = s, E = P(E, Y, ce, G, i), I = E.c, d = E.r, a = E.e), o = a + ce + 1, ie = I[o], c = i / 2, d = d || o < 0 || I[o + 1] != null, d = G < 4 ? (ie != null || d) && (G == 0 || G == (E.s < 0 ? 3 : 2)) : ie > c || ie == c && (G == 4 || d || G == 6 && I[o - 1] & 1 || G == (E.s < 0 ? 8 : 7)), o < 1 || !I[0])
553
+ n = d ? ne(r.charAt(1), -ce, r.charAt(0)) : r.charAt(0);
554
554
  else {
555
- if (M.length = o, d)
556
- for (--i; ++M[--o] > i; )
557
- M[o] = 0, o || (++f, M = [1].concat(M));
558
- for (l = M.length; !M[--l]; ) ;
559
- for (ie = 0, n = ""; ie <= l; n += r.charAt(M[ie++])) ;
560
- n = ne(n, f, r.charAt(0));
555
+ if (I.length = o, d)
556
+ for (--i; ++I[--o] > i; )
557
+ I[o] = 0, o || (++a, I = [1].concat(I));
558
+ for (c = I.length; !I[--c]; ) ;
559
+ for (ie = 0, n = ""; ie <= c; n += r.charAt(I[ie++])) ;
560
+ n = ne(n, a, r.charAt(0));
561
561
  }
562
562
  return n;
563
563
  };
564
- }(), D = /* @__PURE__ */ function() {
564
+ }(), P = /* @__PURE__ */ function() {
565
565
  function e(u, i, s) {
566
- var a, r, o, f, l = 0, d = u.length, C = i % U, M = i / U | 0;
566
+ var l, r, o, a, c = 0, d = u.length, E = i % T, I = i / T | 0;
567
567
  for (u = u.slice(); d--; )
568
- o = u[d] % U, f = u[d] / U | 0, a = M * o + f * C, r = C * o + a % U * U + l, l = (r / s | 0) + (a / U | 0) + M * f, u[d] = r % s;
569
- return l && (u = [l].concat(u)), u;
568
+ o = u[d] % T, a = u[d] / T | 0, l = I * o + a * E, r = E * o + l % T * T + c, c = (r / s | 0) + (l / T | 0) + I * a, u[d] = r % s;
569
+ return c && (u = [c].concat(u)), u;
570
570
  }
571
- function t(u, i, s, a) {
571
+ function t(u, i, s, l) {
572
572
  var r, o;
573
- if (s != a)
574
- o = s > a ? 1 : -1;
573
+ if (s != l)
574
+ o = s > l ? 1 : -1;
575
575
  else
576
576
  for (r = o = 0; r < s; r++)
577
577
  if (u[r] != i[r]) {
@@ -580,200 +580,200 @@ var et = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
580
580
  }
581
581
  return o;
582
582
  }
583
- function n(u, i, s, a) {
583
+ function n(u, i, s, l) {
584
584
  for (var r = 0; s--; )
585
- u[s] -= r, r = u[s] < i[s] ? 1 : 0, u[s] = r * a + u[s] - i[s];
585
+ u[s] -= r, r = u[s] < i[s] ? 1 : 0, u[s] = r * l + u[s] - i[s];
586
586
  for (; !u[0] && u.length > 1; u.splice(0, 1)) ;
587
587
  }
588
- return function(u, i, s, a, r) {
589
- var o, f, l, d, C, M, G, ie, ue, W, K, de, De, Pe, Re, me, Be, ve = u.s == i.s ? 1 : -1, pe = u.c, oe = i.c;
588
+ return function(u, i, s, l, r) {
589
+ var o, a, c, d, E, I, Y, ie, ce, G, Z, he, Te, Re, qe, $e, De, ye = u.s == i.s ? 1 : -1, pe = u.c, oe = i.c;
590
590
  if (!pe || !pe[0] || !oe || !oe[0])
591
591
  return new h(
592
592
  // Return NaN if either NaN, or both Infinity or 0.
593
593
  !u.s || !i.s || (pe ? oe && pe[0] == oe[0] : !oe) ? NaN : (
594
594
  // Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0.
595
- pe && pe[0] == 0 || !oe ? ve * 0 : ve / 0
595
+ pe && pe[0] == 0 || !oe ? ye * 0 : ye / 0
596
596
  )
597
597
  );
598
- for (ie = new h(ve), ue = ie.c = [], f = u.e - i.e, ve = s + f + 1, r || (r = V, f = S(u.e / O) - S(i.e / O), ve = ve / O | 0), l = 0; oe[l] == (pe[l] || 0); l++) ;
599
- if (oe[l] > (pe[l] || 0) && f--, ve < 0)
600
- ue.push(1), d = !0;
598
+ for (ie = new h(ye), ce = ie.c = [], a = u.e - i.e, ye = s + a + 1, r || (r = W, a = x(u.e / O) - x(i.e / O), ye = ye / O | 0), c = 0; oe[c] == (pe[c] || 0); c++) ;
599
+ if (oe[c] > (pe[c] || 0) && a--, ye < 0)
600
+ ce.push(1), d = !0;
601
601
  else {
602
- for (Pe = pe.length, me = oe.length, l = 0, ve += 2, C = b(r / (oe[0] + 1)), C > 1 && (oe = e(oe, C, r), pe = e(pe, C, r), me = oe.length, Pe = pe.length), De = me, W = pe.slice(0, me), K = W.length; K < me; W[K++] = 0) ;
603
- Be = oe.slice(), Be = [0].concat(Be), Re = oe[0], oe[1] >= r / 2 && Re++;
602
+ for (Re = pe.length, $e = oe.length, c = 0, ye += 2, E = N(r / (oe[0] + 1)), E > 1 && (oe = e(oe, E, r), pe = e(pe, E, r), $e = oe.length, Re = pe.length), Te = $e, G = pe.slice(0, $e), Z = G.length; Z < $e; G[Z++] = 0) ;
603
+ De = oe.slice(), De = [0].concat(De), qe = oe[0], oe[1] >= r / 2 && qe++;
604
604
  do {
605
- if (C = 0, o = t(oe, W, me, K), o < 0) {
606
- if (de = W[0], me != K && (de = de * r + (W[1] || 0)), C = b(de / Re), C > 1)
607
- for (C >= r && (C = r - 1), M = e(oe, C, r), G = M.length, K = W.length; t(M, W, G, K) == 1; )
608
- C--, n(M, me < G ? Be : oe, G, r), G = M.length, o = 1;
605
+ if (E = 0, o = t(oe, G, $e, Z), o < 0) {
606
+ if (he = G[0], $e != Z && (he = he * r + (G[1] || 0)), E = N(he / qe), E > 1)
607
+ for (E >= r && (E = r - 1), I = e(oe, E, r), Y = I.length, Z = G.length; t(I, G, Y, Z) == 1; )
608
+ E--, n(I, $e < Y ? De : oe, Y, r), Y = I.length, o = 1;
609
609
  else
610
- C == 0 && (o = C = 1), M = oe.slice(), G = M.length;
611
- if (G < K && (M = [0].concat(M)), n(W, M, K, r), K = W.length, o == -1)
612
- for (; t(oe, W, me, K) < 1; )
613
- C++, n(W, me < K ? Be : oe, K, r), K = W.length;
614
- } else o === 0 && (C++, W = [0]);
615
- ue[l++] = C, W[0] ? W[K++] = pe[De] || 0 : (W = [pe[De]], K = 1);
616
- } while ((De++ < Pe || W[0] != null) && ve--);
617
- d = W[0] != null, ue[0] || ue.splice(0, 1);
610
+ E == 0 && (o = E = 1), I = oe.slice(), Y = I.length;
611
+ if (Y < Z && (I = [0].concat(I)), n(G, I, Z, r), Z = G.length, o == -1)
612
+ for (; t(oe, G, $e, Z) < 1; )
613
+ E++, n(G, $e < Z ? De : oe, Z, r), Z = G.length;
614
+ } else o === 0 && (E++, G = [0]);
615
+ ce[c++] = E, G[0] ? G[Z++] = pe[Te] || 0 : (G = [pe[Te]], Z = 1);
616
+ } while ((Te++ < Re || G[0] != null) && ye--);
617
+ d = G[0] != null, ce[0] || ce.splice(0, 1);
618
618
  }
619
- if (r == V) {
620
- for (l = 1, ve = ue[0]; ve >= 10; ve /= 10, l++) ;
621
- le(ie, s + (ie.e = l + f * O - 1) + 1, a, d);
619
+ if (r == W) {
620
+ for (c = 1, ye = ce[0]; ye >= 10; ye /= 10, c++) ;
621
+ le(ie, s + (ie.e = c + a * O - 1) + 1, l, d);
622
622
  } else
623
- ie.e = f, ie.r = +d;
623
+ ie.e = a, ie.r = +d;
624
624
  return ie;
625
625
  };
626
626
  }();
627
- function ce(e, t, n, u) {
628
- var i, s, a, r, o;
629
- if (n == null ? n = te : E(n, 0, 8), !e.c) return e.toString();
630
- if (i = e.c[0], a = e.e, t == null)
631
- o = B(e.c), o = u == 1 || u == 2 && (a <= A || a >= m) ? ge(o, a) : ne(o, a, "0");
627
+ function de(e, t, n, u) {
628
+ var i, s, l, r, o;
629
+ if (n == null ? n = te : M(n, 0, 8), !e.c) return e.toString();
630
+ if (i = e.c[0], l = e.e, t == null)
631
+ o = B(e.c), o = u == 1 || u == 2 && (l <= A || l >= w) ? ve(o, l) : ne(o, l, "0");
632
632
  else if (e = le(new h(e), t, n), s = e.e, o = B(e.c), r = o.length, u == 1 || u == 2 && (t <= s || s <= A)) {
633
633
  for (; r < t; o += "0", r++) ;
634
- o = ge(o, s);
635
- } else if (t -= a, o = ne(o, s, "0"), s + 1 > r) {
634
+ o = ve(o, s);
635
+ } else if (t -= l, o = ne(o, s, "0"), s + 1 > r) {
636
636
  if (--t > 0) for (o += "."; t--; o += "0") ;
637
637
  } else if (t += s - r, t > 0)
638
638
  for (s + 1 == r && (o += "."); t--; o += "0") ;
639
639
  return e.s < 0 && i ? "-" + o : o;
640
640
  }
641
- function xe(e, t) {
641
+ function ke(e, t) {
642
642
  for (var n, u, i = 1, s = new h(e[0]); i < e.length; i++)
643
- u = new h(e[i]), (!u.s || (n = j(s, u)) === t || n === 0 && s.s === t) && (s = u);
643
+ u = new h(e[i]), (!u.s || (n = H(s, u)) === t || n === 0 && s.s === t) && (s = u);
644
644
  return s;
645
645
  }
646
- function we(e, t, n) {
646
+ function me(e, t, n) {
647
647
  for (var u = 1, i = t.length; !t[--i]; t.pop()) ;
648
648
  for (i = t[0]; i >= 10; i /= 10, u++) ;
649
- return (n = u + n * O - 1) > x ? e.c = e.e = null : n < w ? e.c = [e.e = 0] : (e.e = n, e.c = t), e;
649
+ return (n = u + n * O - 1) > k ? e.c = e.e = null : n < _ ? e.c = [e.e = 0] : (e.e = n, e.c = t), e;
650
650
  }
651
651
  ee = /* @__PURE__ */ function() {
652
652
  var e = /^(-?)0([xbo])(?=\w[\w.]*$)/i, t = /^([^.]+)\.$/, n = /^\.([^.]+)$/, u = /^-?(Infinity|NaN)$/, i = /^\s*\+(?=[\w.])|^\s+|\s+$/g;
653
- return function(s, a, r, o) {
654
- var f, l = r ? a : a.replace(i, "");
655
- if (u.test(l))
656
- s.s = isNaN(l) ? null : l < 0 ? -1 : 1;
653
+ return function(s, l, r, o) {
654
+ var a, c = r ? l : l.replace(i, "");
655
+ if (u.test(c))
656
+ s.s = isNaN(c) ? null : c < 0 ? -1 : 1;
657
657
  else {
658
- if (!r && (l = l.replace(e, function(d, C, M) {
659
- return f = (M = M.toLowerCase()) == "x" ? 16 : M == "b" ? 2 : 8, !o || o == f ? C : d;
660
- }), o && (f = o, l = l.replace(t, "$1").replace(n, "0.$1")), a != l))
661
- return new h(l, f);
658
+ if (!r && (c = c.replace(e, function(d, E, I) {
659
+ return a = (I = I.toLowerCase()) == "x" ? 16 : I == "b" ? 2 : 8, !o || o == a ? E : d;
660
+ }), o && (a = o, c = c.replace(t, "$1").replace(n, "0.$1")), l != c))
661
+ return new h(c, a);
662
662
  if (h.DEBUG)
663
- throw Error($ + "Not a" + (o ? " base " + o : "") + " number: " + a);
663
+ throw Error($ + "Not a" + (o ? " base " + o : "") + " number: " + l);
664
664
  s.s = null;
665
665
  }
666
666
  s.c = s.e = null;
667
667
  };
668
668
  }();
669
669
  function le(e, t, n, u) {
670
- var i, s, a, r, o, f, l, d = e.c, C = q;
670
+ var i, s, l, r, o, a, c, d = e.c, E = U;
671
671
  if (d) {
672
672
  e: {
673
673
  for (i = 1, r = d[0]; r >= 10; r /= 10, i++) ;
674
674
  if (s = t - i, s < 0)
675
- s += O, a = t, o = d[f = 0], l = b(o / C[i - a - 1] % 10);
676
- else if (f = I((s + 1) / O), f >= d.length)
675
+ s += O, l = t, o = d[a = 0], c = N(o / E[i - l - 1] % 10);
676
+ else if (a = C((s + 1) / O), a >= d.length)
677
677
  if (u) {
678
- for (; d.length <= f; d.push(0)) ;
679
- o = l = 0, i = 1, s %= O, a = s - O + 1;
678
+ for (; d.length <= a; d.push(0)) ;
679
+ o = c = 0, i = 1, s %= O, l = s - O + 1;
680
680
  } else
681
681
  break e;
682
682
  else {
683
- for (o = r = d[f], i = 1; r >= 10; r /= 10, i++) ;
684
- s %= O, a = s - O + i, l = a < 0 ? 0 : b(o / C[i - a - 1] % 10);
683
+ for (o = r = d[a], i = 1; r >= 10; r /= 10, i++) ;
684
+ s %= O, l = s - O + i, c = l < 0 ? 0 : N(o / E[i - l - 1] % 10);
685
685
  }
686
686
  if (u = u || t < 0 || // Are there any non-zero digits after the rounding digit?
687
687
  // The expression n % pows10[d - j - 1] returns all digits of n to the right
688
688
  // of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714.
689
- d[f + 1] != null || (a < 0 ? o : o % C[i - a - 1]), u = n < 4 ? (l || u) && (n == 0 || n == (e.s < 0 ? 3 : 2)) : l > 5 || l == 5 && (n == 4 || u || n == 6 && // Check whether the digit to the left of the rounding digit is odd.
690
- (s > 0 ? a > 0 ? o / C[i - a] : 0 : d[f - 1]) % 10 & 1 || n == (e.s < 0 ? 8 : 7)), t < 1 || !d[0])
691
- return d.length = 0, u ? (t -= e.e + 1, d[0] = C[(O - t % O) % O], e.e = -t || 0) : d[0] = e.e = 0, e;
692
- if (s == 0 ? (d.length = f, r = 1, f--) : (d.length = f + 1, r = C[O - s], d[f] = a > 0 ? b(o / C[i - a] % C[a]) * r : 0), u)
689
+ d[a + 1] != null || (l < 0 ? o : o % E[i - l - 1]), u = n < 4 ? (c || u) && (n == 0 || n == (e.s < 0 ? 3 : 2)) : c > 5 || c == 5 && (n == 4 || u || n == 6 && // Check whether the digit to the left of the rounding digit is odd.
690
+ (s > 0 ? l > 0 ? o / E[i - l] : 0 : d[a - 1]) % 10 & 1 || n == (e.s < 0 ? 8 : 7)), t < 1 || !d[0])
691
+ return d.length = 0, u ? (t -= e.e + 1, d[0] = E[(O - t % O) % O], e.e = -t || 0) : d[0] = e.e = 0, e;
692
+ if (s == 0 ? (d.length = a, r = 1, a--) : (d.length = a + 1, r = E[O - s], d[a] = l > 0 ? N(o / E[i - l] % E[l]) * r : 0), u)
693
693
  for (; ; )
694
- if (f == 0) {
695
- for (s = 1, a = d[0]; a >= 10; a /= 10, s++) ;
696
- for (a = d[0] += r, r = 1; a >= 10; a /= 10, r++) ;
697
- s != r && (e.e++, d[0] == V && (d[0] = 1));
694
+ if (a == 0) {
695
+ for (s = 1, l = d[0]; l >= 10; l /= 10, s++) ;
696
+ for (l = d[0] += r, r = 1; l >= 10; l /= 10, r++) ;
697
+ s != r && (e.e++, d[0] == W && (d[0] = 1));
698
698
  break;
699
699
  } else {
700
- if (d[f] += r, d[f] != V) break;
701
- d[f--] = 0, r = 1;
700
+ if (d[a] += r, d[a] != W) break;
701
+ d[a--] = 0, r = 1;
702
702
  }
703
703
  for (s = d.length; d[--s] === 0; d.pop()) ;
704
704
  }
705
- e.e > x ? e.c = e.e = null : e.e < w && (e.c = [e.e = 0]);
705
+ e.e > k ? e.c = e.e = null : e.e < _ && (e.c = [e.e = 0]);
706
706
  }
707
707
  return e;
708
708
  }
709
709
  function fe(e) {
710
710
  var t, n = e.e;
711
- return n === null ? e.toString() : (t = B(e.c), t = n <= A || n >= m ? ge(t, n) : ne(t, n, "0"), e.s < 0 ? "-" + t : t);
711
+ return n === null ? e.toString() : (t = B(e.c), t = n <= A || n >= w ? ve(t, n) : ne(t, n, "0"), e.s < 0 ? "-" + t : t);
712
712
  }
713
713
  return v.absoluteValue = v.abs = function() {
714
714
  var e = new h(this);
715
715
  return e.s < 0 && (e.s = 1), e;
716
716
  }, v.comparedTo = function(e, t) {
717
- return j(this, new h(e, t));
717
+ return H(this, new h(e, t));
718
718
  }, v.decimalPlaces = v.dp = function(e, t) {
719
719
  var n, u, i, s = this;
720
720
  if (e != null)
721
- return E(e, 0, P), t == null ? t = te : E(t, 0, 8), le(new h(s), e + s.e + 1, t);
721
+ return M(e, 0, L), t == null ? t = te : M(t, 0, 8), le(new h(s), e + s.e + 1, t);
722
722
  if (!(n = s.c)) return null;
723
- if (u = ((i = n.length - 1) - S(this.e / O)) * O, i = n[i]) for (; i % 10 == 0; i /= 10, u--) ;
723
+ if (u = ((i = n.length - 1) - x(this.e / O)) * O, i = n[i]) for (; i % 10 == 0; i /= 10, u--) ;
724
724
  return u < 0 && (u = 0), u;
725
725
  }, v.dividedBy = v.div = function(e, t) {
726
- return D(this, new h(e, t), J, te);
726
+ return P(this, new h(e, t), X, te);
727
727
  }, v.dividedToIntegerBy = v.idiv = function(e, t) {
728
- return D(this, new h(e, t), 0, 1);
728
+ return P(this, new h(e, t), 0, 1);
729
729
  }, v.exponentiatedBy = v.pow = function(e, t) {
730
- var n, u, i, s, a, r, o, f, l, d = this;
730
+ var n, u, i, s, l, r, o, a, c, d = this;
731
731
  if (e = new h(e), e.c && !e.isInteger())
732
732
  throw Error($ + "Exponent not an integer: " + fe(e));
733
733
  if (t != null && (t = new h(t)), r = e.e > 14, !d.c || !d.c[0] || d.c[0] == 1 && !d.e && d.c.length == 1 || !e.c || !e.c[0])
734
- return l = new h(Math.pow(+fe(d), r ? e.s * (2 - se(e)) : +fe(e))), t ? l.mod(t) : l;
734
+ return c = new h(Math.pow(+fe(d), r ? e.s * (2 - ue(e)) : +fe(e))), t ? c.mod(t) : c;
735
735
  if (o = e.s < 0, t) {
736
736
  if (t.c ? !t.c[0] : !t.s) return new h(NaN);
737
737
  u = !o && d.isInteger() && t.isInteger(), u && (d = d.mod(t));
738
738
  } else {
739
739
  if (e.e > 9 && (d.e > 0 || d.e < -1 || (d.e == 0 ? d.c[0] > 1 || r && d.c[1] >= 24e7 : d.c[0] < 8e13 || r && d.c[0] <= 9999975e7)))
740
- return s = d.s < 0 && se(e) ? -0 : 0, d.e > -1 && (s = 1 / s), new h(o ? 1 / s : s);
741
- T && (s = I(T / O + 2));
740
+ return s = d.s < 0 && ue(e) ? -0 : 0, d.e > -1 && (s = 1 / s), new h(o ? 1 / s : s);
741
+ R && (s = C(R / O + 2));
742
742
  }
743
- for (r ? (n = new h(0.5), o && (e.s = 1), f = se(e)) : (i = Math.abs(+fe(e)), f = i % 2), l = new h(R); ; ) {
744
- if (f) {
745
- if (l = l.times(d), !l.c) break;
746
- s ? l.c.length > s && (l.c.length = s) : u && (l = l.mod(t));
743
+ for (r ? (n = new h(0.5), o && (e.s = 1), a = ue(e)) : (i = Math.abs(+fe(e)), a = i % 2), c = new h(q); ; ) {
744
+ if (a) {
745
+ if (c = c.times(d), !c.c) break;
746
+ s ? c.c.length > s && (c.c.length = s) : u && (c = c.mod(t));
747
747
  }
748
748
  if (i) {
749
- if (i = b(i / 2), i === 0) break;
750
- f = i % 2;
749
+ if (i = N(i / 2), i === 0) break;
750
+ a = i % 2;
751
751
  } else if (e = e.times(n), le(e, e.e + 1, 1), e.e > 14)
752
- f = se(e);
752
+ a = ue(e);
753
753
  else {
754
754
  if (i = +fe(e), i === 0) break;
755
- f = i % 2;
755
+ a = i % 2;
756
756
  }
757
757
  d = d.times(d), s ? d.c && d.c.length > s && (d.c.length = s) : u && (d = d.mod(t));
758
758
  }
759
- return u ? l : (o && (l = R.div(l)), t ? l.mod(t) : s ? le(l, T, te, a) : l);
759
+ return u ? c : (o && (c = q.div(c)), t ? c.mod(t) : s ? le(c, R, te, l) : c);
760
760
  }, v.integerValue = function(e) {
761
761
  var t = new h(this);
762
- return e == null ? e = te : E(e, 0, 8), le(t, t.e + 1, e);
762
+ return e == null ? e = te : M(e, 0, 8), le(t, t.e + 1, e);
763
763
  }, v.isEqualTo = v.eq = function(e, t) {
764
- return j(this, new h(e, t)) === 0;
764
+ return H(this, new h(e, t)) === 0;
765
765
  }, v.isFinite = function() {
766
766
  return !!this.c;
767
767
  }, v.isGreaterThan = v.gt = function(e, t) {
768
- return j(this, new h(e, t)) > 0;
768
+ return H(this, new h(e, t)) > 0;
769
769
  }, v.isGreaterThanOrEqualTo = v.gte = function(e, t) {
770
- return (t = j(this, new h(e, t))) === 1 || t === 0;
770
+ return (t = H(this, new h(e, t))) === 1 || t === 0;
771
771
  }, v.isInteger = function() {
772
- return !!this.c && S(this.e / O) > this.c.length - 2;
772
+ return !!this.c && x(this.e / O) > this.c.length - 2;
773
773
  }, v.isLessThan = v.lt = function(e, t) {
774
- return j(this, new h(e, t)) < 0;
774
+ return H(this, new h(e, t)) < 0;
775
775
  }, v.isLessThanOrEqualTo = v.lte = function(e, t) {
776
- return (t = j(this, new h(e, t))) === -1 || t === 0;
776
+ return (t = H(this, new h(e, t))) === -1 || t === 0;
777
777
  }, v.isNaN = function() {
778
778
  return !this.s;
779
779
  }, v.isNegative = function() {
@@ -783,52 +783,52 @@ var et = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
783
783
  }, v.isZero = function() {
784
784
  return !!this.c && this.c[0] == 0;
785
785
  }, v.minus = function(e, t) {
786
- var n, u, i, s, a = this, r = a.s;
786
+ var n, u, i, s, l = this, r = l.s;
787
787
  if (e = new h(e, t), t = e.s, !r || !t) return new h(NaN);
788
788
  if (r != t)
789
- return e.s = -t, a.plus(e);
790
- var o = a.e / O, f = e.e / O, l = a.c, d = e.c;
791
- if (!o || !f) {
792
- if (!l || !d) return l ? (e.s = -t, e) : new h(d ? a : NaN);
793
- if (!l[0] || !d[0])
794
- return d[0] ? (e.s = -t, e) : new h(l[0] ? a : (
789
+ return e.s = -t, l.plus(e);
790
+ var o = l.e / O, a = e.e / O, c = l.c, d = e.c;
791
+ if (!o || !a) {
792
+ if (!c || !d) return c ? (e.s = -t, e) : new h(d ? l : NaN);
793
+ if (!c[0] || !d[0])
794
+ return d[0] ? (e.s = -t, e) : new h(c[0] ? l : (
795
795
  // IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity
796
796
  te == 3 ? -0 : 0
797
797
  ));
798
798
  }
799
- if (o = S(o), f = S(f), l = l.slice(), r = o - f) {
800
- for ((s = r < 0) ? (r = -r, i = l) : (f = o, i = d), i.reverse(), t = r; t--; i.push(0)) ;
799
+ if (o = x(o), a = x(a), c = c.slice(), r = o - a) {
800
+ for ((s = r < 0) ? (r = -r, i = c) : (a = o, i = d), i.reverse(), t = r; t--; i.push(0)) ;
801
801
  i.reverse();
802
802
  } else
803
- for (u = (s = (r = l.length) < (t = d.length)) ? r : t, r = t = 0; t < u; t++)
804
- if (l[t] != d[t]) {
805
- s = l[t] < d[t];
803
+ for (u = (s = (r = c.length) < (t = d.length)) ? r : t, r = t = 0; t < u; t++)
804
+ if (c[t] != d[t]) {
805
+ s = c[t] < d[t];
806
806
  break;
807
807
  }
808
- if (s && (i = l, l = d, d = i, e.s = -e.s), t = (u = d.length) - (n = l.length), t > 0) for (; t--; l[n++] = 0) ;
809
- for (t = V - 1; u > r; ) {
810
- if (l[--u] < d[u]) {
811
- for (n = u; n && !l[--n]; l[n] = t) ;
812
- --l[n], l[u] += V;
808
+ if (s && (i = c, c = d, d = i, e.s = -e.s), t = (u = d.length) - (n = c.length), t > 0) for (; t--; c[n++] = 0) ;
809
+ for (t = W - 1; u > r; ) {
810
+ if (c[--u] < d[u]) {
811
+ for (n = u; n && !c[--n]; c[n] = t) ;
812
+ --c[n], c[u] += W;
813
813
  }
814
- l[u] -= d[u];
814
+ c[u] -= d[u];
815
815
  }
816
- for (; l[0] == 0; l.splice(0, 1), --f) ;
817
- return l[0] ? we(e, l, f) : (e.s = te == 3 ? -1 : 1, e.c = [e.e = 0], e);
816
+ for (; c[0] == 0; c.splice(0, 1), --a) ;
817
+ return c[0] ? me(e, c, a) : (e.s = te == 3 ? -1 : 1, e.c = [e.e = 0], e);
818
818
  }, v.modulo = v.mod = function(e, t) {
819
819
  var n, u, i = this;
820
- 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) : (F == 9 ? (u = e.s, e.s = 1, n = D(i, e, 0, 3), e.s = u, n.s *= u) : n = D(i, e, 0, F), e = i.minus(n.times(e)), !e.c[0] && F == 1 && (e.s = i.s), e);
820
+ 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) : (F == 9 ? (u = e.s, e.s = 1, n = P(i, e, 0, 3), e.s = u, n.s *= u) : n = P(i, e, 0, F), e = i.minus(n.times(e)), !e.c[0] && F == 1 && (e.s = i.s), e);
821
821
  }, v.multipliedBy = v.times = function(e, t) {
822
- var n, u, i, s, a, r, o, f, l, d, C, M, G, ie, ue, W = this, K = W.c, de = (e = new h(e, t)).c;
823
- if (!K || !de || !K[0] || !de[0])
824
- return !W.s || !e.s || K && !K[0] && !de || de && !de[0] && !K ? e.c = e.e = e.s = null : (e.s *= W.s, !K || !de ? e.c = e.e = null : (e.c = [0], e.e = 0)), e;
825
- for (u = S(W.e / O) + S(e.e / O), e.s *= W.s, o = K.length, d = de.length, o < d && (G = K, K = de, de = G, i = o, o = d, d = i), i = o + d, G = []; i--; G.push(0)) ;
826
- for (ie = V, ue = U, i = d; --i >= 0; ) {
827
- for (n = 0, C = de[i] % ue, M = de[i] / ue | 0, a = o, s = i + a; s > i; )
828
- f = K[--a] % ue, l = K[a] / ue | 0, r = M * f + l * C, f = C * f + r % ue * ue + G[s] + n, n = (f / ie | 0) + (r / ue | 0) + M * l, G[s--] = f % ie;
829
- G[s] = n;
822
+ var n, u, i, s, l, r, o, a, c, d, E, I, Y, ie, ce, G = this, Z = G.c, he = (e = new h(e, t)).c;
823
+ if (!Z || !he || !Z[0] || !he[0])
824
+ return !G.s || !e.s || Z && !Z[0] && !he || he && !he[0] && !Z ? e.c = e.e = e.s = null : (e.s *= G.s, !Z || !he ? e.c = e.e = null : (e.c = [0], e.e = 0)), e;
825
+ for (u = x(G.e / O) + x(e.e / O), e.s *= G.s, o = Z.length, d = he.length, o < d && (Y = Z, Z = he, he = Y, i = o, o = d, d = i), i = o + d, Y = []; i--; Y.push(0)) ;
826
+ for (ie = W, ce = T, i = d; --i >= 0; ) {
827
+ for (n = 0, E = he[i] % ce, I = he[i] / ce | 0, l = o, s = i + l; s > i; )
828
+ a = Z[--l] % ce, c = Z[l] / ce | 0, r = I * a + c * E, a = E * a + r % ce * ce + Y[s] + n, n = (a / ie | 0) + (r / ce | 0) + I * c, Y[s--] = a % ie;
829
+ Y[s] = n;
830
830
  }
831
- return n ? ++u : G.splice(0, 1), we(e, G, u);
831
+ return n ? ++u : Y.splice(0, 1), me(e, Y, u);
832
832
  }, v.negated = function() {
833
833
  var e = new h(this);
834
834
  return e.s = -e.s || null, e;
@@ -837,22 +837,22 @@ var et = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
837
837
  if (e = new h(e, t), t = e.s, !i || !t) return new h(NaN);
838
838
  if (i != t)
839
839
  return e.s = -t, u.minus(e);
840
- var s = u.e / O, a = e.e / O, r = u.c, o = e.c;
841
- if (!s || !a) {
840
+ var s = u.e / O, l = e.e / O, r = u.c, o = e.c;
841
+ if (!s || !l) {
842
842
  if (!r || !o) return new h(i / 0);
843
843
  if (!r[0] || !o[0]) return o[0] ? e : new h(r[0] ? u : i * 0);
844
844
  }
845
- if (s = S(s), a = S(a), r = r.slice(), i = s - a) {
846
- for (i > 0 ? (a = s, n = o) : (i = -i, n = r), n.reverse(); i--; n.push(0)) ;
845
+ if (s = x(s), l = x(l), r = r.slice(), i = s - l) {
846
+ for (i > 0 ? (l = s, n = o) : (i = -i, n = r), n.reverse(); i--; n.push(0)) ;
847
847
  n.reverse();
848
848
  }
849
849
  for (i = r.length, t = o.length, i - t < 0 && (n = o, o = r, r = n, t = i), i = 0; t; )
850
- i = (r[--t] = r[t] + o[t] + i) / V | 0, r[t] = V === r[t] ? 0 : r[t] % V;
851
- return i && (r = [i].concat(r), ++a), we(e, r, a);
850
+ i = (r[--t] = r[t] + o[t] + i) / W | 0, r[t] = W === r[t] ? 0 : r[t] % W;
851
+ return i && (r = [i].concat(r), ++l), me(e, r, l);
852
852
  }, v.precision = v.sd = function(e, t) {
853
853
  var n, u, i, s = this;
854
854
  if (e != null && e !== !!e)
855
- return E(e, 1, P), t == null ? t = te : E(t, 0, 8), le(new h(s), e, t);
855
+ return M(e, 1, L), t == null ? t = te : M(t, 0, 8), le(new h(s), e, t);
856
856
  if (!(n = s.c)) return null;
857
857
  if (i = n.length - 1, u = i * O + 1, i = n[i]) {
858
858
  for (; i % 10 == 0; i /= 10, u--) ;
@@ -860,121 +860,121 @@ var et = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
860
860
  }
861
861
  return e && s.e + 1 > u && (u = s.e + 1), u;
862
862
  }, v.shiftedBy = function(e) {
863
- return E(e, -9007199254740991, L), this.times("1e" + e);
863
+ return M(e, -9007199254740991, D), this.times("1e" + e);
864
864
  }, v.squareRoot = v.sqrt = function() {
865
- var e, t, n, u, i, s = this, a = s.c, r = s.s, o = s.e, f = J + 4, l = new h("0.5");
866
- if (r !== 1 || !a || !a[0])
867
- return new h(!r || r < 0 && (!a || a[0]) ? NaN : a ? s : 1 / 0);
868
- if (r = Math.sqrt(+fe(s)), r == 0 || r == 1 / 0 ? (t = B(a), (t.length + o) % 2 == 0 && (t += "0"), r = Math.sqrt(+t), o = S((o + 1) / 2) - (o < 0 || o % 2), r == 1 / 0 ? t = "5e" + o : (t = r.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + o), n = new h(t)) : n = new h(r + ""), n.c[0]) {
869
- for (o = n.e, r = o + f, r < 3 && (r = 0); ; )
870
- if (i = n, n = l.times(i.plus(D(s, i, f, 1))), B(i.c).slice(0, r) === (t = B(n.c)).slice(0, r))
865
+ var e, t, n, u, i, s = this, l = s.c, r = s.s, o = s.e, a = X + 4, c = new h("0.5");
866
+ if (r !== 1 || !l || !l[0])
867
+ return new h(!r || r < 0 && (!l || l[0]) ? NaN : l ? s : 1 / 0);
868
+ if (r = Math.sqrt(+fe(s)), r == 0 || r == 1 / 0 ? (t = B(l), (t.length + o) % 2 == 0 && (t += "0"), r = Math.sqrt(+t), o = x((o + 1) / 2) - (o < 0 || o % 2), r == 1 / 0 ? t = "5e" + o : (t = r.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + o), n = new h(t)) : n = new h(r + ""), n.c[0]) {
869
+ for (o = n.e, r = o + a, r < 3 && (r = 0); ; )
870
+ if (i = n, n = c.times(i.plus(P(s, i, a, 1))), B(i.c).slice(0, r) === (t = B(n.c)).slice(0, r))
871
871
  if (n.e < o && --r, t = t.slice(r - 3, r + 1), t == "9999" || !u && t == "4999") {
872
- if (!u && (le(i, i.e + J + 2, 0), i.times(i).eq(s))) {
872
+ if (!u && (le(i, i.e + X + 2, 0), i.times(i).eq(s))) {
873
873
  n = i;
874
874
  break;
875
875
  }
876
- f += 4, r += 4, u = 1;
876
+ a += 4, r += 4, u = 1;
877
877
  } else {
878
- (!+t || !+t.slice(1) && t.charAt(0) == "5") && (le(n, n.e + J + 2, 1), e = !n.times(n).eq(s));
878
+ (!+t || !+t.slice(1) && t.charAt(0) == "5") && (le(n, n.e + X + 2, 1), e = !n.times(n).eq(s));
879
879
  break;
880
880
  }
881
881
  }
882
- return le(n, n.e + J + 1, te, e);
882
+ return le(n, n.e + X + 1, te, e);
883
883
  }, v.toExponential = function(e, t) {
884
- return e != null && (E(e, 0, P), e++), ce(this, e, t, 1);
884
+ return e != null && (M(e, 0, L), e++), de(this, e, t, 1);
885
885
  }, v.toFixed = function(e, t) {
886
- return e != null && (E(e, 0, P), e = e + this.e + 1), ce(this, e, t);
886
+ return e != null && (M(e, 0, L), e = e + this.e + 1), de(this, e, t);
887
887
  }, v.toFormat = function(e, t, n) {
888
888
  var u, i = this;
889
889
  if (n == null)
890
- e != null && t && typeof t == "object" ? (n = t, t = null) : e && typeof e == "object" ? (n = e, e = t = null) : n = Y;
890
+ e != null && t && typeof t == "object" ? (n = t, t = null) : e && typeof e == "object" ? (n = e, e = t = null) : n = J;
891
891
  else if (typeof n != "object")
892
892
  throw Error($ + "Argument not an object: " + n);
893
893
  if (u = i.toFixed(e, t), i.c) {
894
- var s, a = u.split("."), r = +n.groupSize, o = +n.secondaryGroupSize, f = n.groupSeparator || "", l = a[0], d = a[1], C = i.s < 0, M = C ? l.slice(1) : l, G = M.length;
895
- if (o && (s = r, r = o, o = s, G -= s), r > 0 && G > 0) {
896
- for (s = G % r || r, l = M.substr(0, s); s < G; s += r) l += f + M.substr(s, r);
897
- o > 0 && (l += f + M.slice(s)), C && (l = "-" + l);
894
+ var s, l = u.split("."), r = +n.groupSize, o = +n.secondaryGroupSize, a = n.groupSeparator || "", c = l[0], d = l[1], E = i.s < 0, I = E ? c.slice(1) : c, Y = I.length;
895
+ if (o && (s = r, r = o, o = s, Y -= s), r > 0 && Y > 0) {
896
+ for (s = Y % r || r, c = I.substr(0, s); s < Y; s += r) c += a + I.substr(s, r);
897
+ o > 0 && (c += a + I.slice(s)), E && (c = "-" + c);
898
898
  }
899
- u = d ? l + (n.decimalSeparator || "") + ((o = +n.fractionGroupSize) ? d.replace(
899
+ u = d ? c + (n.decimalSeparator || "") + ((o = +n.fractionGroupSize) ? d.replace(
900
900
  new RegExp("\\d{" + o + "}\\B", "g"),
901
901
  "$&" + (n.fractionGroupSeparator || "")
902
- ) : d) : l;
902
+ ) : d) : c;
903
903
  }
904
904
  return (n.prefix || "") + u + (n.suffix || "");
905
905
  }, v.toFraction = function(e) {
906
- var t, n, u, i, s, a, r, o, f, l, d, C, M = this, G = M.c;
907
- if (e != null && (r = new h(e), !r.isInteger() && (r.c || r.s !== 1) || r.lt(R)))
906
+ var t, n, u, i, s, l, r, o, a, c, d, E, I = this, Y = I.c;
907
+ if (e != null && (r = new h(e), !r.isInteger() && (r.c || r.s !== 1) || r.lt(q)))
908
908
  throw Error($ + "Argument " + (r.isInteger() ? "out of range: " : "not an integer: ") + fe(r));
909
- if (!G) return new h(M);
910
- for (t = new h(R), f = n = new h(R), u = o = new h(R), C = B(G), s = t.e = C.length - M.e - 1, t.c[0] = q[(a = s % O) < 0 ? O + a : a], e = !e || r.comparedTo(t) > 0 ? s > 0 ? t : f : r, a = x, x = 1 / 0, r = new h(C), o.c[0] = 0; l = D(r, t, 0, 1), i = n.plus(l.times(u)), i.comparedTo(e) != 1; )
911
- n = u, u = i, f = o.plus(l.times(i = f)), o = i, t = r.minus(l.times(i = t)), r = i;
912
- return i = D(e.minus(n), u, 0, 1), o = o.plus(i.times(f)), n = n.plus(i.times(u)), o.s = f.s = M.s, s = s * 2, d = D(f, u, s, te).minus(M).abs().comparedTo(
913
- D(o, n, s, te).minus(M).abs()
914
- ) < 1 ? [f, u] : [o, n], x = a, d;
909
+ if (!Y) return new h(I);
910
+ for (t = new h(q), a = n = new h(q), u = o = new h(q), E = B(Y), s = t.e = E.length - I.e - 1, t.c[0] = U[(l = s % O) < 0 ? O + l : l], e = !e || r.comparedTo(t) > 0 ? s > 0 ? t : a : r, l = k, k = 1 / 0, r = new h(E), o.c[0] = 0; c = P(r, t, 0, 1), i = n.plus(c.times(u)), i.comparedTo(e) != 1; )
911
+ n = u, u = i, a = o.plus(c.times(i = a)), o = i, t = r.minus(c.times(i = t)), r = i;
912
+ return i = P(e.minus(n), u, 0, 1), o = o.plus(i.times(a)), n = n.plus(i.times(u)), o.s = a.s = I.s, s = s * 2, d = P(a, u, s, te).minus(I).abs().comparedTo(
913
+ P(o, n, s, te).minus(I).abs()
914
+ ) < 1 ? [a, u] : [o, n], k = l, d;
915
915
  }, v.toNumber = function() {
916
916
  return +fe(this);
917
917
  }, v.toPrecision = function(e, t) {
918
- return e != null && E(e, 1, P), ce(this, e, t, 2);
918
+ return e != null && M(e, 1, L), de(this, e, t, 2);
919
919
  }, v.toString = function(e) {
920
920
  var t, n = this, u = n.s, i = n.e;
921
- return i === null ? u ? (t = "Infinity", u < 0 && (t = "-" + t)) : t = "NaN" : (e == null ? t = i <= A || i >= m ? ge(B(n.c), i) : ne(B(n.c), i, "0") : e === 10 && re ? (n = le(new h(n), J + i + 1, te), t = ne(B(n.c), n.e, "0")) : (E(e, 2, X.length, "Base"), t = Z(ne(B(n.c), i, "0"), 10, e, u, !0)), u < 0 && n.c[0] && (t = "-" + t)), t;
921
+ return i === null ? u ? (t = "Infinity", u < 0 && (t = "-" + t)) : t = "NaN" : (e == null ? t = i <= A || i >= w ? ve(B(n.c), i) : ne(B(n.c), i, "0") : e === 10 && re ? (n = le(new h(n), X + i + 1, te), t = ne(B(n.c), n.e, "0")) : (M(e, 2, K.length, "Base"), t = Q(ne(B(n.c), i, "0"), 10, e, u, !0)), u < 0 && n.c[0] && (t = "-" + t)), t;
922
922
  }, v.valueOf = v.toJSON = function() {
923
923
  return fe(this);
924
- }, v._isBigNumber = !0, k != null && h.set(k), h;
924
+ }, v._isBigNumber = !0, b != null && h.set(b), h;
925
925
  }
926
- function S(k) {
927
- var D = k | 0;
928
- return k > 0 || k === D ? D : D - 1;
926
+ function x(b) {
927
+ var P = b | 0;
928
+ return b > 0 || b === P ? P : P - 1;
929
929
  }
930
- function B(k) {
931
- for (var D, Z, ee = 1, v = k.length, R = k[0] + ""; ee < v; ) {
932
- for (D = k[ee++] + "", Z = O - D.length; Z--; D = "0" + D) ;
933
- R += D;
930
+ function B(b) {
931
+ for (var P, Q, ee = 1, v = b.length, q = b[0] + ""; ee < v; ) {
932
+ for (P = b[ee++] + "", Q = O - P.length; Q--; P = "0" + P) ;
933
+ q += P;
934
934
  }
935
- for (v = R.length; R.charCodeAt(--v) === 48; ) ;
936
- return R.slice(0, v + 1 || 1);
935
+ for (v = q.length; q.charCodeAt(--v) === 48; ) ;
936
+ return q.slice(0, v + 1 || 1);
937
937
  }
938
- function j(k, D) {
939
- var Z, ee, v = k.c, R = D.c, J = k.s, te = D.s, A = k.e, m = D.e;
940
- if (!J || !te) return null;
941
- if (Z = v && !v[0], ee = R && !R[0], Z || ee) return Z ? ee ? 0 : -te : J;
942
- if (J != te) return J;
943
- if (Z = J < 0, ee = A == m, !v || !R) return ee ? 0 : !v ^ Z ? 1 : -1;
944
- if (!ee) return A > m ^ Z ? 1 : -1;
945
- for (te = (A = v.length) < (m = R.length) ? A : m, J = 0; J < te; J++) if (v[J] != R[J]) return v[J] > R[J] ^ Z ? 1 : -1;
946
- return A == m ? 0 : A > m ^ Z ? 1 : -1;
938
+ function H(b, P) {
939
+ var Q, ee, v = b.c, q = P.c, X = b.s, te = P.s, A = b.e, w = P.e;
940
+ if (!X || !te) return null;
941
+ if (Q = v && !v[0], ee = q && !q[0], Q || ee) return Q ? ee ? 0 : -te : X;
942
+ if (X != te) return X;
943
+ if (Q = X < 0, ee = A == w, !v || !q) return ee ? 0 : !v ^ Q ? 1 : -1;
944
+ if (!ee) return A > w ^ Q ? 1 : -1;
945
+ for (te = (A = v.length) < (w = q.length) ? A : w, X = 0; X < te; X++) if (v[X] != q[X]) return v[X] > q[X] ^ Q ? 1 : -1;
946
+ return A == w ? 0 : A > w ^ Q ? 1 : -1;
947
947
  }
948
- function E(k, D, Z, ee) {
949
- if (k < D || k > Z || k !== b(k))
950
- throw Error($ + (ee || "Argument") + (typeof k == "number" ? k < D || k > Z ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(k));
948
+ function M(b, P, Q, ee) {
949
+ if (b < P || b > Q || b !== N(b))
950
+ throw Error($ + (ee || "Argument") + (typeof b == "number" ? b < P || b > Q ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(b));
951
951
  }
952
- function se(k) {
953
- var D = k.c.length - 1;
954
- return S(k.e / O) == D && k.c[D] % 2 != 0;
952
+ function ue(b) {
953
+ var P = b.c.length - 1;
954
+ return x(b.e / O) == P && b.c[P] % 2 != 0;
955
955
  }
956
- function ge(k, D) {
957
- return (k.length > 1 ? k.charAt(0) + "." + k.slice(1) : k) + (D < 0 ? "e" : "e+") + D;
956
+ function ve(b, P) {
957
+ return (b.length > 1 ? b.charAt(0) + "." + b.slice(1) : b) + (P < 0 ? "e" : "e+") + P;
958
958
  }
959
- function ne(k, D, Z) {
959
+ function ne(b, P, Q) {
960
960
  var ee, v;
961
- if (D < 0) {
962
- for (v = Z + "."; ++D; v += Z) ;
963
- k = v + k;
964
- } else if (ee = k.length, ++D > ee) {
965
- for (v = Z, D -= ee; --D; v += Z) ;
966
- k += v;
967
- } else D < ee && (k = k.slice(0, D) + "." + k.slice(D));
968
- return k;
961
+ if (P < 0) {
962
+ for (v = Q + "."; ++P; v += Q) ;
963
+ b = v + b;
964
+ } else if (ee = b.length, ++P > ee) {
965
+ for (v = Q, P -= ee; --P; v += Q) ;
966
+ b += v;
967
+ } else P < ee && (b = b.slice(0, P) + "." + b.slice(P));
968
+ return b;
969
969
  }
970
- y = z(), y.default = y.BigNumber = y, c.exports ? c.exports = y : (g || (g = typeof self < "u" && self ? self : window), g.BigNumber = y);
971
- })(et);
972
- })(nt);
973
- var rt = nt.exports;
974
- (function(c) {
975
- var g = rt, y = c.exports;
970
+ y = j(), y.default = y.BigNumber = y, f.exports ? f.exports = y : (g || (g = typeof self < "u" && self ? self : window), g.BigNumber = y);
971
+ })(tt);
972
+ })(rt);
973
+ var it = rt.exports;
974
+ (function(f) {
975
+ var g = it, y = f.exports;
976
976
  (function() {
977
- var p = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, I, b, $ = {
977
+ var p = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, C, N, $ = {
978
978
  // table of character substitutions
979
979
  "\b": "\\b",
980
980
  " ": "\\t",
@@ -983,64 +983,64 @@ var rt = nt.exports;
983
983
  "\r": "\\r",
984
984
  '"': '\\"',
985
985
  "\\": "\\\\"
986
- }, N;
987
- function V(L) {
988
- return p.lastIndex = 0, p.test(L) ? '"' + L.replace(p, function(q) {
989
- var U = $[q];
990
- return typeof U == "string" ? U : "\\u" + ("0000" + q.charCodeAt(0).toString(16)).slice(-4);
991
- }) + '"' : '"' + L + '"';
986
+ }, m;
987
+ function W(D) {
988
+ return p.lastIndex = 0, p.test(D) ? '"' + D.replace(p, function(U) {
989
+ var T = $[U];
990
+ return typeof T == "string" ? T : "\\u" + ("0000" + U.charCodeAt(0).toString(16)).slice(-4);
991
+ }) + '"' : '"' + D + '"';
992
992
  }
993
- function O(L, q) {
994
- var U, P, z, S, B = I, j, E = q[L], se = E != null && (E instanceof g || g.isBigNumber(E));
995
- switch (E && typeof E == "object" && typeof E.toJSON == "function" && (E = E.toJSON(L)), typeof N == "function" && (E = N.call(q, L, E)), typeof E) {
993
+ function O(D, U) {
994
+ var T, L, j, x, B = C, H, M = U[D], ue = M != null && (M instanceof g || g.isBigNumber(M));
995
+ switch (M && typeof M == "object" && typeof M.toJSON == "function" && (M = M.toJSON(D)), typeof m == "function" && (M = m.call(U, D, M)), typeof M) {
996
996
  case "string":
997
- return se ? E : V(E);
997
+ return ue ? M : W(M);
998
998
  case "number":
999
- return isFinite(E) ? String(E) : "null";
999
+ return isFinite(M) ? String(M) : "null";
1000
1000
  case "boolean":
1001
1001
  case "null":
1002
1002
  case "bigint":
1003
- return String(E);
1003
+ return String(M);
1004
1004
  case "object":
1005
- if (!E)
1005
+ if (!M)
1006
1006
  return "null";
1007
- if (I += b, j = [], Object.prototype.toString.apply(E) === "[object Array]") {
1008
- for (S = E.length, U = 0; U < S; U += 1)
1009
- j[U] = O(U, E) || "null";
1010
- return z = j.length === 0 ? "[]" : I ? `[
1011
- ` + I + j.join(`,
1012
- ` + I) + `
1013
- ` + B + "]" : "[" + j.join(",") + "]", I = B, z;
1007
+ if (C += N, H = [], Object.prototype.toString.apply(M) === "[object Array]") {
1008
+ for (x = M.length, T = 0; T < x; T += 1)
1009
+ H[T] = O(T, M) || "null";
1010
+ return j = H.length === 0 ? "[]" : C ? `[
1011
+ ` + C + H.join(`,
1012
+ ` + C) + `
1013
+ ` + B + "]" : "[" + H.join(",") + "]", C = B, j;
1014
1014
  }
1015
- if (N && typeof N == "object")
1016
- for (S = N.length, U = 0; U < S; U += 1)
1017
- typeof N[U] == "string" && (P = N[U], z = O(P, E), z && j.push(V(P) + (I ? ": " : ":") + z));
1015
+ if (m && typeof m == "object")
1016
+ for (x = m.length, T = 0; T < x; T += 1)
1017
+ typeof m[T] == "string" && (L = m[T], j = O(L, M), j && H.push(W(L) + (C ? ": " : ":") + j));
1018
1018
  else
1019
- Object.keys(E).forEach(function(ge) {
1020
- var ne = O(ge, E);
1021
- ne && j.push(V(ge) + (I ? ": " : ":") + ne);
1019
+ Object.keys(M).forEach(function(ve) {
1020
+ var ne = O(ve, M);
1021
+ ne && H.push(W(ve) + (C ? ": " : ":") + ne);
1022
1022
  });
1023
- return z = j.length === 0 ? "{}" : I ? `{
1024
- ` + I + j.join(`,
1025
- ` + I) + `
1026
- ` + B + "}" : "{" + j.join(",") + "}", I = B, z;
1023
+ return j = H.length === 0 ? "{}" : C ? `{
1024
+ ` + C + H.join(`,
1025
+ ` + C) + `
1026
+ ` + B + "}" : "{" + H.join(",") + "}", C = B, j;
1027
1027
  }
1028
1028
  }
1029
- typeof y.stringify != "function" && (y.stringify = function(L, q, U) {
1030
- var P;
1031
- if (I = "", b = "", typeof U == "number")
1032
- for (P = 0; P < U; P += 1)
1033
- b += " ";
1034
- else typeof U == "string" && (b = U);
1035
- if (N = q, q && typeof q != "function" && (typeof q != "object" || typeof q.length != "number"))
1029
+ typeof y.stringify != "function" && (y.stringify = function(D, U, T) {
1030
+ var L;
1031
+ if (C = "", N = "", typeof T == "number")
1032
+ for (L = 0; L < T; L += 1)
1033
+ N += " ";
1034
+ else typeof T == "string" && (N = T);
1035
+ if (m = U, U && typeof U != "function" && (typeof U != "object" || typeof U.length != "number"))
1036
1036
  throw new Error("JSON.stringify");
1037
- return O("", { "": L });
1037
+ return O("", { "": D });
1038
1038
  });
1039
1039
  })();
1040
- })(tt);
1041
- var Xt = tt.exports, Te = null;
1042
- const Kt = /(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/, Zt = /(?: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)/;
1043
- var Qt = function(c) {
1040
+ })(nt);
1041
+ var Kt = nt.exports, Le = null;
1042
+ const Zt = /(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/, Qt = /(?: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)/;
1043
+ var en = function(f) {
1044
1044
  var g = {
1045
1045
  strict: !1,
1046
1046
  // not being strict means do not generate syntax errors for "duplicate key"
@@ -1053,23 +1053,23 @@ var Qt = function(c) {
1053
1053
  protoAction: "error",
1054
1054
  constructorAction: "error"
1055
1055
  };
1056
- if (c != null) {
1057
- if (c.strict === !0 && (g.strict = !0), c.storeAsString === !0 && (g.storeAsString = !0), g.alwaysParseAsBig = c.alwaysParseAsBig === !0 ? c.alwaysParseAsBig : !1, g.useNativeBigInt = c.useNativeBigInt === !0 ? c.useNativeBigInt : !1, typeof c.constructorAction < "u")
1058
- if (c.constructorAction === "error" || c.constructorAction === "ignore" || c.constructorAction === "preserve")
1059
- g.constructorAction = c.constructorAction;
1056
+ if (f != null) {
1057
+ if (f.strict === !0 && (g.strict = !0), f.storeAsString === !0 && (g.storeAsString = !0), g.alwaysParseAsBig = f.alwaysParseAsBig === !0 ? f.alwaysParseAsBig : !1, g.useNativeBigInt = f.useNativeBigInt === !0 ? f.useNativeBigInt : !1, typeof f.constructorAction < "u")
1058
+ if (f.constructorAction === "error" || f.constructorAction === "ignore" || f.constructorAction === "preserve")
1059
+ g.constructorAction = f.constructorAction;
1060
1060
  else
1061
1061
  throw new Error(
1062
- `Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${c.constructorAction}`
1062
+ `Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${f.constructorAction}`
1063
1063
  );
1064
- if (typeof c.protoAction < "u")
1065
- if (c.protoAction === "error" || c.protoAction === "ignore" || c.protoAction === "preserve")
1066
- g.protoAction = c.protoAction;
1064
+ if (typeof f.protoAction < "u")
1065
+ if (f.protoAction === "error" || f.protoAction === "ignore" || f.protoAction === "preserve")
1066
+ g.protoAction = f.protoAction;
1067
1067
  else
1068
1068
  throw new Error(
1069
- `Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${c.protoAction}`
1069
+ `Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${f.protoAction}`
1070
1070
  );
1071
1071
  }
1072
- var y, p, I = {
1072
+ var y, p, C = {
1073
1073
  '"': '"',
1074
1074
  "\\": "\\",
1075
1075
  "/": "/",
@@ -1079,351 +1079,351 @@ var Qt = function(c) {
1079
1079
  `,
1080
1080
  r: "\r",
1081
1081
  t: " "
1082
- }, b, $ = function(S) {
1082
+ }, N, $ = function(x) {
1083
1083
  throw {
1084
1084
  name: "SyntaxError",
1085
- message: S,
1085
+ message: x,
1086
1086
  at: y,
1087
- text: b
1087
+ text: N
1088
1088
  };
1089
- }, N = function(S) {
1090
- return S && S !== p && $("Expected '" + S + "' instead of '" + p + "'"), p = b.charAt(y), y += 1, p;
1091
- }, V = function() {
1092
- var S, B = "";
1093
- for (p === "-" && (B = "-", N("-")); p >= "0" && p <= "9"; )
1094
- B += p, N();
1089
+ }, m = function(x) {
1090
+ return x && x !== p && $("Expected '" + x + "' instead of '" + p + "'"), p = N.charAt(y), y += 1, p;
1091
+ }, W = function() {
1092
+ var x, B = "";
1093
+ for (p === "-" && (B = "-", m("-")); p >= "0" && p <= "9"; )
1094
+ B += p, m();
1095
1095
  if (p === ".")
1096
- for (B += "."; N() && p >= "0" && p <= "9"; )
1096
+ for (B += "."; m() && p >= "0" && p <= "9"; )
1097
1097
  B += p;
1098
1098
  if (p === "e" || p === "E")
1099
- for (B += p, N(), (p === "-" || p === "+") && (B += p, N()); p >= "0" && p <= "9"; )
1100
- B += p, N();
1101
- if (S = +B, !isFinite(S))
1099
+ for (B += p, m(), (p === "-" || p === "+") && (B += p, m()); p >= "0" && p <= "9"; )
1100
+ B += p, m();
1101
+ if (x = +B, !isFinite(x))
1102
1102
  $("Bad number");
1103
1103
  else
1104
- return Te == null && (Te = rt), B.length > 15 ? g.storeAsString ? B : g.useNativeBigInt ? BigInt(B) : new Te(B) : g.alwaysParseAsBig ? g.useNativeBigInt ? BigInt(S) : new Te(S) : S;
1104
+ return Le == null && (Le = it), B.length > 15 ? g.storeAsString ? B : g.useNativeBigInt ? BigInt(B) : new Le(B) : g.alwaysParseAsBig ? g.useNativeBigInt ? BigInt(x) : new Le(x) : x;
1105
1105
  }, O = function() {
1106
- var S, B, j = "", E;
1106
+ var x, B, H = "", M;
1107
1107
  if (p === '"')
1108
- for (var se = y; N(); ) {
1108
+ for (var ue = y; m(); ) {
1109
1109
  if (p === '"')
1110
- return y - 1 > se && (j += b.substring(se, y - 1)), N(), j;
1110
+ return y - 1 > ue && (H += N.substring(ue, y - 1)), m(), H;
1111
1111
  if (p === "\\") {
1112
- if (y - 1 > se && (j += b.substring(se, y - 1)), N(), p === "u") {
1113
- for (E = 0, B = 0; B < 4 && (S = parseInt(N(), 16), !!isFinite(S)); B += 1)
1114
- E = E * 16 + S;
1115
- j += String.fromCharCode(E);
1116
- } else if (typeof I[p] == "string")
1117
- j += I[p];
1112
+ if (y - 1 > ue && (H += N.substring(ue, y - 1)), m(), p === "u") {
1113
+ for (M = 0, B = 0; B < 4 && (x = parseInt(m(), 16), !!isFinite(x)); B += 1)
1114
+ M = M * 16 + x;
1115
+ H += String.fromCharCode(M);
1116
+ } else if (typeof C[p] == "string")
1117
+ H += C[p];
1118
1118
  else
1119
1119
  break;
1120
- se = y;
1120
+ ue = y;
1121
1121
  }
1122
1122
  }
1123
1123
  $("Bad string");
1124
- }, L = function() {
1124
+ }, D = function() {
1125
1125
  for (; p && p <= " "; )
1126
- N();
1127
- }, q = function() {
1126
+ m();
1127
+ }, U = function() {
1128
1128
  switch (p) {
1129
1129
  case "t":
1130
- return N("t"), N("r"), N("u"), N("e"), !0;
1130
+ return m("t"), m("r"), m("u"), m("e"), !0;
1131
1131
  case "f":
1132
- return N("f"), N("a"), N("l"), N("s"), N("e"), !1;
1132
+ return m("f"), m("a"), m("l"), m("s"), m("e"), !1;
1133
1133
  case "n":
1134
- return N("n"), N("u"), N("l"), N("l"), null;
1134
+ return m("n"), m("u"), m("l"), m("l"), null;
1135
1135
  }
1136
1136
  $("Unexpected '" + p + "'");
1137
- }, U, P = function() {
1138
- var S = [];
1137
+ }, T, L = function() {
1138
+ var x = [];
1139
1139
  if (p === "[") {
1140
- if (N("["), L(), p === "]")
1141
- return N("]"), S;
1140
+ if (m("["), D(), p === "]")
1141
+ return m("]"), x;
1142
1142
  for (; p; ) {
1143
- if (S.push(U()), L(), p === "]")
1144
- return N("]"), S;
1145
- N(","), L();
1143
+ if (x.push(T()), D(), p === "]")
1144
+ return m("]"), x;
1145
+ m(","), D();
1146
1146
  }
1147
1147
  }
1148
1148
  $("Bad array");
1149
- }, z = function() {
1150
- var S, B = /* @__PURE__ */ Object.create(null);
1149
+ }, j = function() {
1150
+ var x, B = /* @__PURE__ */ Object.create(null);
1151
1151
  if (p === "{") {
1152
- if (N("{"), L(), p === "}")
1153
- return N("}"), B;
1152
+ if (m("{"), D(), p === "}")
1153
+ return m("}"), B;
1154
1154
  for (; p; ) {
1155
- if (S = O(), L(), N(":"), g.strict === !0 && Object.hasOwnProperty.call(B, S) && $('Duplicate key "' + S + '"'), Kt.test(S) === !0 ? g.protoAction === "error" ? $("Object contains forbidden prototype property") : g.protoAction === "ignore" ? U() : B[S] = U() : Zt.test(S) === !0 ? g.constructorAction === "error" ? $("Object contains forbidden constructor property") : g.constructorAction === "ignore" ? U() : B[S] = U() : B[S] = U(), L(), p === "}")
1156
- return N("}"), B;
1157
- N(","), L();
1155
+ if (x = O(), D(), m(":"), g.strict === !0 && Object.hasOwnProperty.call(B, x) && $('Duplicate key "' + x + '"'), Zt.test(x) === !0 ? g.protoAction === "error" ? $("Object contains forbidden prototype property") : g.protoAction === "ignore" ? T() : B[x] = T() : Qt.test(x) === !0 ? g.constructorAction === "error" ? $("Object contains forbidden constructor property") : g.constructorAction === "ignore" ? T() : B[x] = T() : B[x] = T(), D(), p === "}")
1156
+ return m("}"), B;
1157
+ m(","), D();
1158
1158
  }
1159
1159
  }
1160
1160
  $("Bad object");
1161
1161
  };
1162
- return U = function() {
1163
- switch (L(), p) {
1162
+ return T = function() {
1163
+ switch (D(), p) {
1164
1164
  case "{":
1165
- return z();
1165
+ return j();
1166
1166
  case "[":
1167
- return P();
1167
+ return L();
1168
1168
  case '"':
1169
1169
  return O();
1170
1170
  case "-":
1171
- return V();
1171
+ return W();
1172
1172
  default:
1173
- return p >= "0" && p <= "9" ? V() : q();
1173
+ return p >= "0" && p <= "9" ? W() : U();
1174
1174
  }
1175
- }, function(S, B) {
1176
- var j;
1177
- return b = S + "", y = 0, p = " ", j = U(), L(), p && $("Syntax error"), typeof B == "function" ? function E(se, ge) {
1178
- var ne, k = se[ge];
1179
- return k && typeof k == "object" && Object.keys(k).forEach(function(D) {
1180
- ne = E(k, D), ne !== void 0 ? k[D] = ne : delete k[D];
1181
- }), B.call(se, ge, k);
1182
- }({ "": j }, "") : j;
1175
+ }, function(x, B) {
1176
+ var H;
1177
+ return N = x + "", y = 0, p = " ", H = T(), D(), p && $("Syntax error"), typeof B == "function" ? function M(ue, ve) {
1178
+ var ne, b = ue[ve];
1179
+ return b && typeof b == "object" && Object.keys(b).forEach(function(P) {
1180
+ ne = M(b, P), ne !== void 0 ? b[P] = ne : delete b[P];
1181
+ }), B.call(ue, ve, b);
1182
+ }({ "": H }, "") : H;
1183
1183
  };
1184
- }, en = Qt, it = Xt.stringify, ot = en;
1185
- He.exports = function(c) {
1184
+ }, tn = en, ot = Kt.stringify, st = tn;
1185
+ Ve.exports = function(f) {
1186
1186
  return {
1187
- parse: ot(c),
1188
- stringify: it
1187
+ parse: st(f),
1188
+ stringify: ot
1189
1189
  };
1190
1190
  };
1191
- var tn = He.exports.parse = ot(), nn = He.exports.stringify = it, rn = { exports: {} };
1192
- (function(c, g) {
1191
+ var nn = Ve.exports.parse = st(), rn = Ve.exports.stringify = ot, on = { exports: {} };
1192
+ (function(f, g) {
1193
1193
  (function(y, p) {
1194
- c.exports = p();
1195
- })(et, function() {
1196
- var y = 1e3, p = 6e4, I = 36e5, b = "millisecond", $ = "second", N = "minute", V = "hour", O = "day", L = "week", q = "month", U = "quarter", P = "year", z = "date", S = "Invalid Date", B = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, j = /\[([^\]]+)]|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, E = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(A) {
1197
- var m = ["th", "st", "nd", "rd"], w = A % 100;
1198
- return "[" + A + (m[(w - 20) % 10] || m[w] || m[0]) + "]";
1199
- } }, se = function(A, m, w) {
1200
- var x = String(A);
1201
- return !x || x.length >= m ? A : "" + Array(m + 1 - x.length).join(w) + A;
1202
- }, ge = { s: se, z: function(A) {
1203
- var m = -A.utcOffset(), w = Math.abs(m), x = Math.floor(w / 60), _ = w % 60;
1204
- return (m <= 0 ? "+" : "-") + se(x, 2, "0") + ":" + se(_, 2, "0");
1205
- }, m: function A(m, w) {
1206
- if (m.date() < w.date()) return -A(w, m);
1207
- var x = 12 * (w.year() - m.year()) + (w.month() - m.month()), _ = m.clone().add(x, q), F = w - _ < 0, T = m.clone().add(x + (F ? -1 : 1), q);
1208
- return +(-(x + (w - _) / (F ? _ - T : T - _)) || 0);
1194
+ f.exports = p();
1195
+ })(tt, function() {
1196
+ var y = 1e3, p = 6e4, C = 36e5, N = "millisecond", $ = "second", m = "minute", W = "hour", O = "day", D = "week", U = "month", T = "quarter", L = "year", j = "date", x = "Invalid Date", B = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, H = /\[([^\]]+)]|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, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(A) {
1197
+ var w = ["th", "st", "nd", "rd"], _ = A % 100;
1198
+ return "[" + A + (w[(_ - 20) % 10] || w[_] || w[0]) + "]";
1199
+ } }, ue = function(A, w, _) {
1200
+ var k = String(A);
1201
+ return !k || k.length >= w ? A : "" + Array(w + 1 - k.length).join(_) + A;
1202
+ }, ve = { s: ue, z: function(A) {
1203
+ var w = -A.utcOffset(), _ = Math.abs(w), k = Math.floor(_ / 60), S = _ % 60;
1204
+ return (w <= 0 ? "+" : "-") + ue(k, 2, "0") + ":" + ue(S, 2, "0");
1205
+ }, m: function A(w, _) {
1206
+ if (w.date() < _.date()) return -A(_, w);
1207
+ var k = 12 * (_.year() - w.year()) + (_.month() - w.month()), S = w.clone().add(k, U), F = _ - S < 0, R = w.clone().add(k + (F ? -1 : 1), U);
1208
+ return +(-(k + (_ - S) / (F ? S - R : R - S)) || 0);
1209
1209
  }, a: function(A) {
1210
1210
  return A < 0 ? Math.ceil(A) || 0 : Math.floor(A);
1211
1211
  }, p: function(A) {
1212
- return { M: q, y: P, w: L, d: O, D: z, h: V, m: N, s: $, ms: b, Q: U }[A] || String(A || "").toLowerCase().replace(/s$/, "");
1212
+ return { M: U, y: L, w: D, d: O, D: j, h: W, m, s: $, ms: N, Q: T }[A] || String(A || "").toLowerCase().replace(/s$/, "");
1213
1213
  }, u: function(A) {
1214
1214
  return A === void 0;
1215
- } }, ne = "en", k = {};
1216
- k[ne] = E;
1217
- var D = "$isDayjsObject", Z = function(A) {
1218
- return A instanceof J || !(!A || !A[D]);
1219
- }, ee = function A(m, w, x) {
1220
- var _;
1221
- if (!m) return ne;
1222
- if (typeof m == "string") {
1223
- var F = m.toLowerCase();
1224
- k[F] && (_ = F), w && (k[F] = w, _ = F);
1225
- var T = m.split("-");
1226
- if (!_ && T.length > 1) return A(T[0]);
1215
+ } }, ne = "en", b = {};
1216
+ b[ne] = M;
1217
+ var P = "$isDayjsObject", Q = function(A) {
1218
+ return A instanceof X || !(!A || !A[P]);
1219
+ }, ee = function A(w, _, k) {
1220
+ var S;
1221
+ if (!w) return ne;
1222
+ if (typeof w == "string") {
1223
+ var F = w.toLowerCase();
1224
+ b[F] && (S = F), _ && (b[F] = _, S = F);
1225
+ var R = w.split("-");
1226
+ if (!S && R.length > 1) return A(R[0]);
1227
1227
  } else {
1228
- var Y = m.name;
1229
- k[Y] = m, _ = Y;
1228
+ var J = w.name;
1229
+ b[J] = w, S = J;
1230
1230
  }
1231
- return !x && _ && (ne = _), _ || !x && ne;
1232
- }, v = function(A, m) {
1233
- if (Z(A)) return A.clone();
1234
- var w = typeof m == "object" ? m : {};
1235
- return w.date = A, w.args = arguments, new J(w);
1236
- }, R = ge;
1237
- R.l = ee, R.i = Z, R.w = function(A, m) {
1238
- return v(A, { locale: m.$L, utc: m.$u, x: m.$x, $offset: m.$offset });
1231
+ return !k && S && (ne = S), S || !k && ne;
1232
+ }, v = function(A, w) {
1233
+ if (Q(A)) return A.clone();
1234
+ var _ = typeof w == "object" ? w : {};
1235
+ return _.date = A, _.args = arguments, new X(_);
1236
+ }, q = ve;
1237
+ q.l = ee, q.i = Q, q.w = function(A, w) {
1238
+ return v(A, { locale: w.$L, utc: w.$u, x: w.$x, $offset: w.$offset });
1239
1239
  };
1240
- var J = function() {
1241
- function A(w) {
1242
- this.$L = ee(w.locale, null, !0), this.parse(w), this.$x = this.$x || w.x || {}, this[D] = !0;
1240
+ var X = function() {
1241
+ function A(_) {
1242
+ this.$L = ee(_.locale, null, !0), this.parse(_), this.$x = this.$x || _.x || {}, this[P] = !0;
1243
1243
  }
1244
- var m = A.prototype;
1245
- return m.parse = function(w) {
1246
- this.$d = function(x) {
1247
- var _ = x.date, F = x.utc;
1248
- if (_ === null) return /* @__PURE__ */ new Date(NaN);
1249
- if (R.u(_)) return /* @__PURE__ */ new Date();
1250
- if (_ instanceof Date) return new Date(_);
1251
- if (typeof _ == "string" && !/Z$/i.test(_)) {
1252
- var T = _.match(B);
1253
- if (T) {
1254
- var Y = T[2] - 1 || 0, X = (T[7] || "0").substring(0, 3);
1255
- return F ? new Date(Date.UTC(T[1], Y, T[3] || 1, T[4] || 0, T[5] || 0, T[6] || 0, X)) : new Date(T[1], Y, T[3] || 1, T[4] || 0, T[5] || 0, T[6] || 0, X);
1244
+ var w = A.prototype;
1245
+ return w.parse = function(_) {
1246
+ this.$d = function(k) {
1247
+ var S = k.date, F = k.utc;
1248
+ if (S === null) return /* @__PURE__ */ new Date(NaN);
1249
+ if (q.u(S)) return /* @__PURE__ */ new Date();
1250
+ if (S instanceof Date) return new Date(S);
1251
+ if (typeof S == "string" && !/Z$/i.test(S)) {
1252
+ var R = S.match(B);
1253
+ if (R) {
1254
+ var J = R[2] - 1 || 0, K = (R[7] || "0").substring(0, 3);
1255
+ return F ? new Date(Date.UTC(R[1], J, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, K)) : new Date(R[1], J, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, K);
1256
1256
  }
1257
1257
  }
1258
- return new Date(_);
1259
- }(w), this.init();
1260
- }, m.init = function() {
1261
- var w = this.$d;
1262
- this.$y = w.getFullYear(), this.$M = w.getMonth(), this.$D = w.getDate(), this.$W = w.getDay(), this.$H = w.getHours(), this.$m = w.getMinutes(), this.$s = w.getSeconds(), this.$ms = w.getMilliseconds();
1263
- }, m.$utils = function() {
1264
- return R;
1265
- }, m.isValid = function() {
1266
- return this.$d.toString() !== S;
1267
- }, m.isSame = function(w, x) {
1268
- var _ = v(w);
1269
- return this.startOf(x) <= _ && _ <= this.endOf(x);
1270
- }, m.isAfter = function(w, x) {
1271
- return v(w) < this.startOf(x);
1272
- }, m.isBefore = function(w, x) {
1273
- return this.endOf(x) < v(w);
1274
- }, m.$g = function(w, x, _) {
1275
- return R.u(w) ? this[x] : this.set(_, w);
1276
- }, m.unix = function() {
1258
+ return new Date(S);
1259
+ }(_), this.init();
1260
+ }, w.init = function() {
1261
+ var _ = this.$d;
1262
+ this.$y = _.getFullYear(), this.$M = _.getMonth(), this.$D = _.getDate(), this.$W = _.getDay(), this.$H = _.getHours(), this.$m = _.getMinutes(), this.$s = _.getSeconds(), this.$ms = _.getMilliseconds();
1263
+ }, w.$utils = function() {
1264
+ return q;
1265
+ }, w.isValid = function() {
1266
+ return this.$d.toString() !== x;
1267
+ }, w.isSame = function(_, k) {
1268
+ var S = v(_);
1269
+ return this.startOf(k) <= S && S <= this.endOf(k);
1270
+ }, w.isAfter = function(_, k) {
1271
+ return v(_) < this.startOf(k);
1272
+ }, w.isBefore = function(_, k) {
1273
+ return this.endOf(k) < v(_);
1274
+ }, w.$g = function(_, k, S) {
1275
+ return q.u(_) ? this[k] : this.set(S, _);
1276
+ }, w.unix = function() {
1277
1277
  return Math.floor(this.valueOf() / 1e3);
1278
- }, m.valueOf = function() {
1278
+ }, w.valueOf = function() {
1279
1279
  return this.$d.getTime();
1280
- }, m.startOf = function(w, x) {
1281
- var _ = this, F = !!R.u(x) || x, T = R.p(w), Y = function(fe, e) {
1282
- var t = R.w(_.$u ? Date.UTC(_.$y, e, fe) : new Date(_.$y, e, fe), _);
1280
+ }, w.startOf = function(_, k) {
1281
+ var S = this, F = !!q.u(k) || k, R = q.p(_), J = function(fe, e) {
1282
+ var t = q.w(S.$u ? Date.UTC(S.$y, e, fe) : new Date(S.$y, e, fe), S);
1283
1283
  return F ? t : t.endOf(O);
1284
- }, X = function(fe, e) {
1285
- return R.w(_.toDate()[fe].apply(_.toDate("s"), (F ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), _);
1286
- }, re = this.$W, h = this.$M, ce = this.$D, xe = "set" + (this.$u ? "UTC" : "");
1287
- switch (T) {
1288
- case P:
1289
- return F ? Y(1, 0) : Y(31, 11);
1290
- case q:
1291
- return F ? Y(1, h) : Y(0, h + 1);
1284
+ }, K = function(fe, e) {
1285
+ return q.w(S.toDate()[fe].apply(S.toDate("s"), (F ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), S);
1286
+ }, re = this.$W, h = this.$M, de = this.$D, ke = "set" + (this.$u ? "UTC" : "");
1287
+ switch (R) {
1292
1288
  case L:
1293
- var we = this.$locale().weekStart || 0, le = (re < we ? re + 7 : re) - we;
1294
- return Y(F ? ce - le : ce + (6 - le), h);
1289
+ return F ? J(1, 0) : J(31, 11);
1290
+ case U:
1291
+ return F ? J(1, h) : J(0, h + 1);
1292
+ case D:
1293
+ var me = this.$locale().weekStart || 0, le = (re < me ? re + 7 : re) - me;
1294
+ return J(F ? de - le : de + (6 - le), h);
1295
1295
  case O:
1296
- case z:
1297
- return X(xe + "Hours", 0);
1298
- case V:
1299
- return X(xe + "Minutes", 1);
1300
- case N:
1301
- return X(xe + "Seconds", 2);
1296
+ case j:
1297
+ return K(ke + "Hours", 0);
1298
+ case W:
1299
+ return K(ke + "Minutes", 1);
1300
+ case m:
1301
+ return K(ke + "Seconds", 2);
1302
1302
  case $:
1303
- return X(xe + "Milliseconds", 3);
1303
+ return K(ke + "Milliseconds", 3);
1304
1304
  default:
1305
1305
  return this.clone();
1306
1306
  }
1307
- }, m.endOf = function(w) {
1308
- return this.startOf(w, !1);
1309
- }, m.$set = function(w, x) {
1310
- var _, F = R.p(w), T = "set" + (this.$u ? "UTC" : ""), Y = (_ = {}, _[O] = T + "Date", _[z] = T + "Date", _[q] = T + "Month", _[P] = T + "FullYear", _[V] = T + "Hours", _[N] = T + "Minutes", _[$] = T + "Seconds", _[b] = T + "Milliseconds", _)[F], X = F === O ? this.$D + (x - this.$W) : x;
1311
- if (F === q || F === P) {
1312
- var re = this.clone().set(z, 1);
1313
- re.$d[Y](X), re.init(), this.$d = re.set(z, Math.min(this.$D, re.daysInMonth())).$d;
1314
- } else Y && this.$d[Y](X);
1307
+ }, w.endOf = function(_) {
1308
+ return this.startOf(_, !1);
1309
+ }, w.$set = function(_, k) {
1310
+ var S, F = q.p(_), R = "set" + (this.$u ? "UTC" : ""), J = (S = {}, S[O] = R + "Date", S[j] = R + "Date", S[U] = R + "Month", S[L] = R + "FullYear", S[W] = R + "Hours", S[m] = R + "Minutes", S[$] = R + "Seconds", S[N] = R + "Milliseconds", S)[F], K = F === O ? this.$D + (k - this.$W) : k;
1311
+ if (F === U || F === L) {
1312
+ var re = this.clone().set(j, 1);
1313
+ re.$d[J](K), re.init(), this.$d = re.set(j, Math.min(this.$D, re.daysInMonth())).$d;
1314
+ } else J && this.$d[J](K);
1315
1315
  return this.init(), this;
1316
- }, m.set = function(w, x) {
1317
- return this.clone().$set(w, x);
1318
- }, m.get = function(w) {
1319
- return this[R.p(w)]();
1320
- }, m.add = function(w, x) {
1321
- var _, F = this;
1322
- w = Number(w);
1323
- var T = R.p(x), Y = function(h) {
1324
- var ce = v(F);
1325
- return R.w(ce.date(ce.date() + Math.round(h * w)), F);
1316
+ }, w.set = function(_, k) {
1317
+ return this.clone().$set(_, k);
1318
+ }, w.get = function(_) {
1319
+ return this[q.p(_)]();
1320
+ }, w.add = function(_, k) {
1321
+ var S, F = this;
1322
+ _ = Number(_);
1323
+ var R = q.p(k), J = function(h) {
1324
+ var de = v(F);
1325
+ return q.w(de.date(de.date() + Math.round(h * _)), F);
1326
1326
  };
1327
- if (T === q) return this.set(q, this.$M + w);
1328
- if (T === P) return this.set(P, this.$y + w);
1329
- if (T === O) return Y(1);
1330
- if (T === L) return Y(7);
1331
- var X = (_ = {}, _[N] = p, _[V] = I, _[$] = y, _)[T] || 1, re = this.$d.getTime() + w * X;
1332
- return R.w(re, this);
1333
- }, m.subtract = function(w, x) {
1334
- return this.add(-1 * w, x);
1335
- }, m.format = function(w) {
1336
- var x = this, _ = this.$locale();
1337
- if (!this.isValid()) return _.invalidDate || S;
1338
- var F = w || "YYYY-MM-DDTHH:mm:ssZ", T = R.z(this), Y = this.$H, X = this.$m, re = this.$M, h = _.weekdays, ce = _.months, xe = _.meridiem, we = function(e, t, n, u) {
1339
- return e && (e[t] || e(x, F)) || n[t].slice(0, u);
1327
+ if (R === U) return this.set(U, this.$M + _);
1328
+ if (R === L) return this.set(L, this.$y + _);
1329
+ if (R === O) return J(1);
1330
+ if (R === D) return J(7);
1331
+ var K = (S = {}, S[m] = p, S[W] = C, S[$] = y, S)[R] || 1, re = this.$d.getTime() + _ * K;
1332
+ return q.w(re, this);
1333
+ }, w.subtract = function(_, k) {
1334
+ return this.add(-1 * _, k);
1335
+ }, w.format = function(_) {
1336
+ var k = this, S = this.$locale();
1337
+ if (!this.isValid()) return S.invalidDate || x;
1338
+ var F = _ || "YYYY-MM-DDTHH:mm:ssZ", R = q.z(this), J = this.$H, K = this.$m, re = this.$M, h = S.weekdays, de = S.months, ke = S.meridiem, me = function(e, t, n, u) {
1339
+ return e && (e[t] || e(k, F)) || n[t].slice(0, u);
1340
1340
  }, le = function(e) {
1341
- return R.s(Y % 12 || 12, e, "0");
1342
- }, fe = xe || function(e, t, n) {
1341
+ return q.s(J % 12 || 12, e, "0");
1342
+ }, fe = ke || function(e, t, n) {
1343
1343
  var u = e < 12 ? "AM" : "PM";
1344
1344
  return n ? u.toLowerCase() : u;
1345
1345
  };
1346
- return F.replace(j, function(e, t) {
1346
+ return F.replace(H, function(e, t) {
1347
1347
  return t || function(n) {
1348
1348
  switch (n) {
1349
1349
  case "YY":
1350
- return String(x.$y).slice(-2);
1350
+ return String(k.$y).slice(-2);
1351
1351
  case "YYYY":
1352
- return R.s(x.$y, 4, "0");
1352
+ return q.s(k.$y, 4, "0");
1353
1353
  case "M":
1354
1354
  return re + 1;
1355
1355
  case "MM":
1356
- return R.s(re + 1, 2, "0");
1356
+ return q.s(re + 1, 2, "0");
1357
1357
  case "MMM":
1358
- return we(_.monthsShort, re, ce, 3);
1358
+ return me(S.monthsShort, re, de, 3);
1359
1359
  case "MMMM":
1360
- return we(ce, re);
1360
+ return me(de, re);
1361
1361
  case "D":
1362
- return x.$D;
1362
+ return k.$D;
1363
1363
  case "DD":
1364
- return R.s(x.$D, 2, "0");
1364
+ return q.s(k.$D, 2, "0");
1365
1365
  case "d":
1366
- return String(x.$W);
1366
+ return String(k.$W);
1367
1367
  case "dd":
1368
- return we(_.weekdaysMin, x.$W, h, 2);
1368
+ return me(S.weekdaysMin, k.$W, h, 2);
1369
1369
  case "ddd":
1370
- return we(_.weekdaysShort, x.$W, h, 3);
1370
+ return me(S.weekdaysShort, k.$W, h, 3);
1371
1371
  case "dddd":
1372
- return h[x.$W];
1372
+ return h[k.$W];
1373
1373
  case "H":
1374
- return String(Y);
1374
+ return String(J);
1375
1375
  case "HH":
1376
- return R.s(Y, 2, "0");
1376
+ return q.s(J, 2, "0");
1377
1377
  case "h":
1378
1378
  return le(1);
1379
1379
  case "hh":
1380
1380
  return le(2);
1381
1381
  case "a":
1382
- return fe(Y, X, !0);
1382
+ return fe(J, K, !0);
1383
1383
  case "A":
1384
- return fe(Y, X, !1);
1384
+ return fe(J, K, !1);
1385
1385
  case "m":
1386
- return String(X);
1386
+ return String(K);
1387
1387
  case "mm":
1388
- return R.s(X, 2, "0");
1388
+ return q.s(K, 2, "0");
1389
1389
  case "s":
1390
- return String(x.$s);
1390
+ return String(k.$s);
1391
1391
  case "ss":
1392
- return R.s(x.$s, 2, "0");
1392
+ return q.s(k.$s, 2, "0");
1393
1393
  case "SSS":
1394
- return R.s(x.$ms, 3, "0");
1394
+ return q.s(k.$ms, 3, "0");
1395
1395
  case "Z":
1396
- return T;
1396
+ return R;
1397
1397
  }
1398
1398
  return null;
1399
- }(e) || T.replace(":", "");
1399
+ }(e) || R.replace(":", "");
1400
1400
  });
1401
- }, m.utcOffset = function() {
1401
+ }, w.utcOffset = function() {
1402
1402
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1403
- }, m.diff = function(w, x, _) {
1404
- var F, T = this, Y = R.p(x), X = v(w), re = (X.utcOffset() - this.utcOffset()) * p, h = this - X, ce = function() {
1405
- return R.m(T, X);
1403
+ }, w.diff = function(_, k, S) {
1404
+ var F, R = this, J = q.p(k), K = v(_), re = (K.utcOffset() - this.utcOffset()) * p, h = this - K, de = function() {
1405
+ return q.m(R, K);
1406
1406
  };
1407
- switch (Y) {
1408
- case P:
1409
- F = ce() / 12;
1410
- break;
1411
- case q:
1412
- F = ce();
1407
+ switch (J) {
1408
+ case L:
1409
+ F = de() / 12;
1413
1410
  break;
1414
1411
  case U:
1415
- F = ce() / 3;
1412
+ F = de();
1416
1413
  break;
1417
- case L:
1414
+ case T:
1415
+ F = de() / 3;
1416
+ break;
1417
+ case D:
1418
1418
  F = (h - re) / 6048e5;
1419
1419
  break;
1420
1420
  case O:
1421
1421
  F = (h - re) / 864e5;
1422
1422
  break;
1423
- case V:
1424
- F = h / I;
1423
+ case W:
1424
+ F = h / C;
1425
1425
  break;
1426
- case N:
1426
+ case m:
1427
1427
  F = h / p;
1428
1428
  break;
1429
1429
  case $:
@@ -1432,56 +1432,56 @@ var tn = He.exports.parse = ot(), nn = He.exports.stringify = it, rn = { exports
1432
1432
  default:
1433
1433
  F = h;
1434
1434
  }
1435
- return _ ? F : R.a(F);
1436
- }, m.daysInMonth = function() {
1437
- return this.endOf(q).$D;
1438
- }, m.$locale = function() {
1439
- return k[this.$L];
1440
- }, m.locale = function(w, x) {
1441
- if (!w) return this.$L;
1442
- var _ = this.clone(), F = ee(w, x, !0);
1443
- return F && (_.$L = F), _;
1444
- }, m.clone = function() {
1445
- return R.w(this.$d, this);
1446
- }, m.toDate = function() {
1435
+ return S ? F : q.a(F);
1436
+ }, w.daysInMonth = function() {
1437
+ return this.endOf(U).$D;
1438
+ }, w.$locale = function() {
1439
+ return b[this.$L];
1440
+ }, w.locale = function(_, k) {
1441
+ if (!_) return this.$L;
1442
+ var S = this.clone(), F = ee(_, k, !0);
1443
+ return F && (S.$L = F), S;
1444
+ }, w.clone = function() {
1445
+ return q.w(this.$d, this);
1446
+ }, w.toDate = function() {
1447
1447
  return new Date(this.valueOf());
1448
- }, m.toJSON = function() {
1448
+ }, w.toJSON = function() {
1449
1449
  return this.isValid() ? this.toISOString() : null;
1450
- }, m.toISOString = function() {
1450
+ }, w.toISOString = function() {
1451
1451
  return this.$d.toISOString();
1452
- }, m.toString = function() {
1452
+ }, w.toString = function() {
1453
1453
  return this.$d.toUTCString();
1454
1454
  }, A;
1455
- }(), te = J.prototype;
1456
- return v.prototype = te, [["$ms", b], ["$s", $], ["$m", N], ["$H", V], ["$W", O], ["$M", q], ["$y", P], ["$D", z]].forEach(function(A) {
1457
- te[A[1]] = function(m) {
1458
- return this.$g(m, A[0], A[1]);
1455
+ }(), te = X.prototype;
1456
+ return v.prototype = te, [["$ms", N], ["$s", $], ["$m", m], ["$H", W], ["$W", O], ["$M", U], ["$y", L], ["$D", j]].forEach(function(A) {
1457
+ te[A[1]] = function(w) {
1458
+ return this.$g(w, A[0], A[1]);
1459
1459
  };
1460
- }), v.extend = function(A, m) {
1461
- return A.$i || (A(m, J, v), A.$i = !0), v;
1462
- }, v.locale = ee, v.isDayjs = Z, v.unix = function(A) {
1460
+ }), v.extend = function(A, w) {
1461
+ return A.$i || (A(w, X, v), A.$i = !0), v;
1462
+ }, v.locale = ee, v.isDayjs = Q, v.unix = function(A) {
1463
1463
  return v(1e3 * A);
1464
- }, v.en = k[ne], v.Ls = k, v.p = {}, v;
1464
+ }, v.en = b[ne], v.Ls = b, v.p = {}, v;
1465
1465
  });
1466
- })(rn);
1467
- function on(c) {
1466
+ })(on);
1467
+ function sn(f) {
1468
1468
  try {
1469
- const g = typeof c == "string" ? tn(c) : c;
1470
- return nn(g, null, 2);
1469
+ const g = typeof f == "string" ? nn(f) : f;
1470
+ return rn(g, null, 2);
1471
1471
  } catch (g) {
1472
- return console.error("Invalid JSON data:", g), c;
1472
+ return console.error("Invalid JSON data:", g), f;
1473
1473
  }
1474
1474
  }
1475
- function Je(c) {
1476
- return c ? typeof c == "object" && c !== null ? on(c) : typeof c == "boolean" || typeof c == "number" || c != null ? c.toString() : "-" : "-";
1475
+ function Je(f) {
1476
+ return f ? typeof f == "object" && f !== null ? sn(f) : typeof f == "boolean" || typeof f == "number" || f != null ? f.toString() : "-" : "-";
1477
1477
  }
1478
- function ze(c, g) {
1479
- return g.split(".").reduce((y, p) => y == null ? void 0 : y[p], c);
1478
+ function je(f, g) {
1479
+ return g.split(".").reduce((y, p) => y == null ? void 0 : y[p], f);
1480
1480
  }
1481
- const sn = { class: "CubeTableCom" }, un = { class: "tableContain" }, ln = { class: "tableRow" }, fn = ["onMouseenter", "onMouseleave"], an = {
1481
+ const un = { class: "CubeTableCom" }, cn = { class: "tableContain" }, an = { class: "tableRow" }, ln = ["onMouseenter", "onMouseleave"], fn = {
1482
1482
  key: 0,
1483
1483
  class: "contain"
1484
- }, cn = { class: "pagination" }, dn = /* @__PURE__ */ $e({
1484
+ }, dn = { class: "pagination" }, hn = /* @__PURE__ */ _e({
1485
1485
  __name: "CustomTable",
1486
1486
  props: {
1487
1487
  loading: {
@@ -1516,127 +1516,127 @@ const sn = { class: "CubeTableCom" }, un = { class: "tableContain" }, ln = { cla
1516
1516
  "pageChange",
1517
1517
  "pageSizeChange"
1518
1518
  ],
1519
- setup(c, { emit: g }) {
1520
- const y = Oe(-1), p = g, I = (L) => {
1521
- console.log(L, "currentPage"), p("pageChange", L);
1522
- }, b = (L) => {
1523
- console.log(L, "pageSize"), p("pageSizeChange", L);
1524
- }, $ = c;
1525
- function N(L) {
1526
- const q = at();
1527
- return L ? !!q[L] : !1;
1519
+ setup(f, { emit: g }) {
1520
+ const y = xe(-1), p = g, C = (D) => {
1521
+ console.log(D, "currentPage"), p("pageChange", D);
1522
+ }, N = (D) => {
1523
+ console.log(D, "pageSize"), p("pageSizeChange", D);
1524
+ }, $ = f;
1525
+ function m(D) {
1526
+ const U = ft();
1527
+ return D ? !!U[D] : !1;
1528
1528
  }
1529
- function V(L) {
1530
- y.value = L, p("mouseenter", L);
1529
+ function W(D) {
1530
+ y.value = D, p("mouseenter", D);
1531
1531
  }
1532
- function O(L) {
1533
- y.value = -1, p("mouseleave", L);
1532
+ function O(D) {
1533
+ y.value = -1, p("mouseleave", D);
1534
1534
  }
1535
- return (L, q) => (H(), Q("div", sn, [
1536
- Ae(ae(Ze), {
1535
+ return (D, U) => (z(), V("div", un, [
1536
+ be(ae(Qe), {
1537
1537
  loading: $.loading,
1538
1538
  tip: "数据加载中"
1539
1539
  }, {
1540
- default: be(() => {
1541
- var U;
1540
+ default: Ce(() => {
1541
+ var T;
1542
1542
  return [
1543
- he("div", un, [
1544
- he("table", null, [
1545
- he("thead", null, [
1546
- he("tr", ln, [
1547
- (H(!0), Q(Ne, null, Le($.columns, (P, z) => (H(), Q("th", {
1548
- key: z,
1549
- class: ke({
1550
- fixed: P.fixed,
1551
- fixedBackground: P.fixed,
1552
- lastBorder: z === $.columns.length - 1
1543
+ se("div", cn, [
1544
+ se("table", null, [
1545
+ se("thead", null, [
1546
+ se("tr", an, [
1547
+ (z(!0), V(Se, null, Ee($.columns, (L, j) => (z(), V("th", {
1548
+ key: j,
1549
+ class: Me({
1550
+ fixed: L.fixed,
1551
+ fixedBackground: L.fixed,
1552
+ lastBorder: j === $.columns.length - 1
1553
1553
  }),
1554
- style: Me({
1555
- minWidth: `${P.minWidth}px`,
1556
- width: `${P.width}px`
1554
+ style: Ie({
1555
+ minWidth: `${L.minWidth}px`,
1556
+ width: `${L.width}px`
1557
1557
  })
1558
- }, Ee(P.title), 7))), 128))
1558
+ }, Ae(L.title), 7))), 128))
1559
1559
  ])
1560
1560
  ]),
1561
- he("tbody", null, [
1562
- (H(!0), Q(Ne, null, Le($.data, (P, z) => (H(), Q("tr", {
1563
- key: z,
1564
- class: ke(["tableRow", { trListHover: z === y.value }]),
1565
- onMouseenter: (S) => V(z),
1566
- onMouseleave: (S) => O(z)
1561
+ se("tbody", null, [
1562
+ (z(!0), V(Se, null, Ee($.data, (L, j) => (z(), V("tr", {
1563
+ key: j,
1564
+ class: Me(["tableRow", { trListHover: j === y.value }]),
1565
+ onMouseenter: (x) => W(j),
1566
+ onMouseleave: (x) => O(j)
1567
1567
  }, [
1568
- (H(!0), Q(Ne, null, Le($.columns, (S, B) => (H(), Q("td", {
1568
+ (z(!0), V(Se, null, Ee($.columns, (x, B) => (z(), V("td", {
1569
1569
  key: B,
1570
- class: ke({
1571
- fixed: S.fixed,
1572
- trListHover: z === y.value,
1570
+ class: Me({
1571
+ fixed: x.fixed,
1572
+ trListHover: j === y.value,
1573
1573
  lastBorder: B === $.columns.length - 1
1574
1574
  }),
1575
- style: Me({
1576
- minWidth: `${S.minWidth}px`,
1577
- width: `${S.width}px`
1575
+ style: Ie({
1576
+ minWidth: `${x.minWidth}px`,
1577
+ width: `${x.width}px`
1578
1578
  })
1579
1579
  }, [
1580
- Ae(Ht, {
1581
- open: S.ellipsis
1580
+ be(Vt, {
1581
+ open: x.ellipsis
1582
1582
  }, {
1583
- default: be(() => [
1584
- N(S.slotName) ? Ce(L.$slots, S.slotName, {
1583
+ default: Ce(() => [
1584
+ m(x.slotName) ? Be(D.$slots, x.slotName, {
1585
1585
  key: 0,
1586
- record: P
1587
- }, void 0, !0) : (H(), Q(Ne, { key: 1 }, [
1588
- S.dataIndex ? (H(), Q(Ne, { key: 0 }, [
1589
- S.tooltip ? (H(), Ie(ae(We), {
1586
+ record: L
1587
+ }, void 0, !0) : (z(), V(Se, { key: 1 }, [
1588
+ x.dataIndex ? (z(), V(Se, { key: 0 }, [
1589
+ x.tooltip ? (z(), Ne(ae(He), {
1590
1590
  key: 0,
1591
1591
  content: ae(Je)(
1592
- ae(ze)(
1593
- P,
1594
- S.dataIndex
1592
+ ae(je)(
1593
+ L,
1594
+ x.dataIndex
1595
1595
  )
1596
1596
  ),
1597
1597
  position: "bottom"
1598
1598
  }, {
1599
- default: be(() => [
1600
- he("span", null, Ee(ae(ze)(
1601
- P,
1602
- S.dataIndex
1599
+ default: Ce(() => [
1600
+ se("span", null, Ae(ae(je)(
1601
+ L,
1602
+ x.dataIndex
1603
1603
  )), 1)
1604
1604
  ]),
1605
1605
  _: 2
1606
- }, 1032, ["content"])) : (H(), Q(Ne, { key: 1 }, [
1607
- ft(Ee(ae(Je)(
1608
- ae(ze)(
1609
- P,
1610
- S.dataIndex
1606
+ }, 1032, ["content"])) : (z(), V(Se, { key: 1 }, [
1607
+ lt(Ae(ae(Je)(
1608
+ ae(je)(
1609
+ L,
1610
+ x.dataIndex
1611
1611
  )
1612
1612
  )), 1)
1613
1613
  ], 64))
1614
- ], 64)) : ye("", !0)
1614
+ ], 64)) : ge("", !0)
1615
1615
  ], 64))
1616
1616
  ]),
1617
1617
  _: 2
1618
1618
  }, 1032, ["open"])
1619
1619
  ], 6))), 128))
1620
- ], 42, fn))), 128))
1620
+ ], 42, ln))), 128))
1621
1621
  ])
1622
1622
  ]),
1623
- $.data.length === 0 ? (H(), Q("div", an, [
1624
- $.data.length === 0 ? (H(), Ie(ae(ct), { key: 0 })) : ye("", !0)
1625
- ])) : ye("", !0)
1623
+ $.data.length === 0 ? (z(), V("div", fn, [
1624
+ $.data.length === 0 ? (z(), Ne(ae(dt), { key: 0 })) : ge("", !0)
1625
+ ])) : ge("", !0)
1626
1626
  ]),
1627
- he("div", cn, [
1628
- $.pagination ? (H(), Ie(ae(dt), {
1627
+ se("div", dn, [
1628
+ $.pagination ? (z(), Ne(ae(ht), {
1629
1629
  key: 0,
1630
1630
  modelValue: $.pagination.current,
1631
- "onUpdate:modelValue": q[0] || (q[0] = (P) => $.pagination.current = P),
1632
- total: ((U = $.pagination) == null ? void 0 : U.total) || 0,
1633
- pageSize: c.pagination.pageSize,
1634
- showTotal: c.pagination.showTotal,
1635
- showJumper: c.pagination.showJumper,
1636
- showPageSize: c.pagination.showPageSize,
1637
- onChange: I,
1638
- onPageSizeChange: b
1639
- }, null, 8, ["modelValue", "total", "pageSize", "showTotal", "showJumper", "showPageSize"])) : ye("", !0)
1631
+ "onUpdate:modelValue": U[0] || (U[0] = (L) => $.pagination.current = L),
1632
+ total: ((T = $.pagination) == null ? void 0 : T.total) || 0,
1633
+ pageSize: f.pagination.pageSize,
1634
+ showTotal: f.pagination.showTotal,
1635
+ showJumper: f.pagination.showJumper,
1636
+ showPageSize: f.pagination.showPageSize,
1637
+ onChange: C,
1638
+ onPageSizeChange: N
1639
+ }, null, 8, ["modelValue", "total", "pageSize", "showTotal", "showJumper", "showPageSize"])) : ge("", !0)
1640
1640
  ])
1641
1641
  ];
1642
1642
  }),
@@ -1644,7 +1644,7 @@ const sn = { class: "CubeTableCom" }, un = { class: "tableContain" }, ln = { cla
1644
1644
  }, 8, ["loading"])
1645
1645
  ]));
1646
1646
  }
1647
- }), kn = /* @__PURE__ */ Se(dn, [["__scopeId", "data-v-3faa7a7d"]]), hn = /* @__PURE__ */ $e({
1647
+ }), Dn = /* @__PURE__ */ we(hn, [["__scopeId", "data-v-31aaa6cf"]]), pn = /* @__PURE__ */ _e({
1648
1648
  __name: "Gradientbackground",
1649
1649
  props: {
1650
1650
  width: {
@@ -1681,15 +1681,15 @@ const sn = { class: "CubeTableCom" }, un = { class: "tableContain" }, ln = { cla
1681
1681
  default: () => "linear-gradient(180deg, rgb(0 225 10 / 10%) 0.31%, rgb(26 214 255 / 52%) 74.99%, rgb(220 189 0 / 0%) 99.69%)"
1682
1682
  }
1683
1683
  },
1684
- setup(c) {
1685
- const g = c, y = _e(() => ({
1684
+ setup(f) {
1685
+ const g = f, y = Oe(() => ({
1686
1686
  pointerEvents: "none",
1687
1687
  position: "absolute",
1688
1688
  zIndex: g.zIndex,
1689
1689
  width: g.width,
1690
1690
  height: g.height,
1691
1691
  filter: `blur(${g.blur})`
1692
- })), p = _e(() => ({
1692
+ })), p = Oe(() => ({
1693
1693
  width: "100%",
1694
1694
  height: "100%",
1695
1695
  background: g.background
@@ -1697,17 +1697,17 @@ const sn = { class: "CubeTableCom" }, un = { class: "tableContain" }, ln = { cla
1697
1697
  // background: `linear-gradient(180deg, rgb(0 225 10 / 63%) 0.31%, rgb(26 214 255 / 52%) 74.99%, rgb(220 189 0 / 0%) 99.69%)`,
1698
1698
  // background: `linear-gradient(315deg, rgb(0 225 10 / 63%) 10%, rgb(26 214 255 / 52%) 50%, rgb(220 189 0 / 37%) 100%)`,
1699
1699
  }));
1700
- return (I, b) => (H(), Q("div", {
1700
+ return (C, N) => (z(), V("div", {
1701
1701
  class: "ellipsis",
1702
- style: Me(y.value)
1702
+ style: Ie(y.value)
1703
1703
  }, [
1704
- he("div", {
1704
+ se("div", {
1705
1705
  class: "ellipsis-item",
1706
- style: Me(p.value)
1706
+ style: Ie(p.value)
1707
1707
  }, null, 4)
1708
1708
  ], 4));
1709
1709
  }
1710
- }), En = /* @__PURE__ */ Se(hn, [["__scopeId", "data-v-86f287cc"]]), pn = { class: "bottom" }, gn = { class: "socials" }, vn = ["onClick"], wn = /* @__PURE__ */ $e({
1710
+ }), Tn = /* @__PURE__ */ we(pn, [["__scopeId", "data-v-86f287cc"]]), gn = { class: "bottom" }, vn = { class: "socials" }, yn = ["onClick"], _n = /* @__PURE__ */ _e({
1711
1711
  __name: "FooterContact",
1712
1712
  props: {
1713
1713
  beianText: {
@@ -1727,31 +1727,31 @@ const sn = { class: "CubeTableCom" }, un = { class: "tableContain" }, ln = { cla
1727
1727
  }
1728
1728
  },
1729
1729
  emits: ["to"],
1730
- setup(c, { emit: g }) {
1731
- const y = c;
1730
+ setup(f, { emit: g }) {
1731
+ const y = f;
1732
1732
  function p() {
1733
1733
  window.open(y.beianUrl);
1734
1734
  }
1735
- return (I, b) => (H(), Q("div", pn, [
1736
- he("span", { onClick: p }, Ee(y.beianText), 1),
1737
- he("div", gn, [
1738
- (H(!0), Q(Ne, null, Le(c.links, ($, N) => (H(), Q("div", {
1735
+ return (C, N) => (z(), V("div", gn, [
1736
+ se("span", { onClick: p }, Ae(y.beianText), 1),
1737
+ se("div", vn, [
1738
+ (z(!0), V(Se, null, Ee(f.links, ($, m) => (z(), V("div", {
1739
1739
  class: "socialItem",
1740
1740
  onClick: $.select,
1741
- key: N
1741
+ key: m
1742
1742
  }, [
1743
- $.type === "text" ? (H(), Ie(ae(We), {
1743
+ $.type === "text" ? (z(), Ne(ae(He), {
1744
1744
  key: 0,
1745
1745
  content: $.content
1746
1746
  }, {
1747
- default: be(() => [
1748
- Ae(ae(Ye), {
1747
+ default: Ce(() => [
1748
+ be(ae(Pe), {
1749
1749
  icon: $.icon
1750
1750
  }, null, 8, ["icon"])
1751
1751
  ]),
1752
1752
  _: 2
1753
- }, 1032, ["content"])) : ye("", !0),
1754
- $.type === "image" ? (H(), Ie(ae(We), {
1753
+ }, 1032, ["content"])) : ge("", !0),
1754
+ $.type === "image" ? (z(), Ne(ae(He), {
1755
1755
  key: 1,
1756
1756
  content: "support@huyooo.com",
1757
1757
  backgroundColor: "rgb(112, 112, 112)",
@@ -1759,33 +1759,145 @@ const sn = { class: "CubeTableCom" }, un = { class: "tableContain" }, ln = { cla
1759
1759
  padding: 0
1760
1760
  }
1761
1761
  }, {
1762
- content: be(() => [
1763
- Ae(ae(ht), {
1762
+ content: Ce(() => [
1763
+ be(ae(pt), {
1764
1764
  width: "200",
1765
1765
  src: $.content
1766
1766
  }, null, 8, ["src"])
1767
1767
  ]),
1768
- default: be(() => [
1769
- Ae(ae(Ye), {
1768
+ default: Ce(() => [
1769
+ be(ae(Pe), {
1770
1770
  icon: $.icon
1771
1771
  }, null, 8, ["icon"])
1772
1772
  ]),
1773
1773
  _: 2
1774
- }, 1024)) : ye("", !0)
1775
- ], 8, vn))), 128))
1774
+ }, 1024)) : ge("", !0)
1775
+ ], 8, yn))), 128))
1776
1776
  ])
1777
1777
  ]));
1778
1778
  }
1779
- }), bn = /* @__PURE__ */ Se(wn, [["__scopeId", "data-v-24595192"]]);
1779
+ }), Ln = /* @__PURE__ */ we(_n, [["__scopeId", "data-v-24595192"]]), wn = /* @__PURE__ */ _e({
1780
+ __name: "MenuItem",
1781
+ props: {
1782
+ hidden: {
1783
+ type: Boolean,
1784
+ required: !0
1785
+ },
1786
+ path: {
1787
+ type: String,
1788
+ required: !0
1789
+ },
1790
+ icon: {
1791
+ type: String,
1792
+ required: !0
1793
+ },
1794
+ name: {
1795
+ type: String,
1796
+ required: !0
1797
+ },
1798
+ active: {
1799
+ type: Boolean,
1800
+ required: !0
1801
+ }
1802
+ },
1803
+ setup(f) {
1804
+ const g = f, y = xe(!1);
1805
+ function p() {
1806
+ y.value = !0;
1807
+ }
1808
+ function C() {
1809
+ y.value = !1;
1810
+ }
1811
+ return (N, $) => g.hidden ? ge("", !0) : (z(), V("div", {
1812
+ key: 0,
1813
+ class: Me(["List", {
1814
+ Active: g.active,
1815
+ Hover: y.value && !g.active
1816
+ }]),
1817
+ onMouseover: p,
1818
+ onMouseout: C
1819
+ }, [
1820
+ g.icon ? (z(), Ne(ae(Pe), {
1821
+ key: 0,
1822
+ class: "icon",
1823
+ icon: g.icon
1824
+ }, null, 8, ["icon"])) : ge("", !0),
1825
+ se("span", null, Ae(g.name), 1)
1826
+ ], 34));
1827
+ }
1828
+ }), Xe = /* @__PURE__ */ we(wn, [["__scopeId", "data-v-f8e56878"]]), mn = { class: "Menu" }, $n = { class: "TitleContent" }, Sn = { class: "Title" }, xn = { class: "MenuItem2" }, On = /* @__PURE__ */ _e({
1829
+ __name: "Menu",
1830
+ props: {
1831
+ menus: {
1832
+ type: Array,
1833
+ required: !0
1834
+ },
1835
+ selectedKeys: {
1836
+ type: Array,
1837
+ required: !0
1838
+ }
1839
+ },
1840
+ emits: ["update:selectedKeys", "change"],
1841
+ setup(f, { emit: g }) {
1842
+ const y = f, p = g;
1843
+ function C(N, $) {
1844
+ console.log(N, "itemitemitemitem"), p("change", N, $);
1845
+ }
1846
+ return (N, $) => (z(), V("div", mn, [
1847
+ (z(!0), V(Se, null, Ee(y.menus, (m, W) => {
1848
+ var O, D, U;
1849
+ return z(), V("div", {
1850
+ key: W,
1851
+ class: "MenuList"
1852
+ }, [
1853
+ m.children && m.children.length !== 0 ? (z(), V(Se, { key: 0 }, [
1854
+ se("span", $n, [
1855
+ (O = m == null ? void 0 : m.meta) != null && O.icon ? (z(), Ne(ae(Pe), {
1856
+ key: 0,
1857
+ class: "icon",
1858
+ icon: m.meta.icon
1859
+ }, null, 8, ["icon"])) : ge("", !0),
1860
+ se("span", Sn, Ae(m.name), 1)
1861
+ ]),
1862
+ se("span", xn, [
1863
+ (z(!0), V(Se, null, Ee(m.children, (T, L) => {
1864
+ var j, x;
1865
+ return z(), Ne(Xe, {
1866
+ key: L,
1867
+ hidden: ((j = T.meta) == null ? void 0 : j.hidden) || !1,
1868
+ path: T.path,
1869
+ icon: (x = T.meta) == null ? void 0 : x.icon,
1870
+ name: T.name,
1871
+ active: y.selectedKeys.includes(T.path),
1872
+ onClick: (B) => C(T, L)
1873
+ }, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]);
1874
+ }), 128))
1875
+ ])
1876
+ ], 64)) : (z(), Ne(Xe, {
1877
+ key: 1,
1878
+ hidden: ((D = m.meta) == null ? void 0 : D.hidden) || !1,
1879
+ path: m.path,
1880
+ icon: (U = m.meta) == null ? void 0 : U.icon,
1881
+ name: m.name,
1882
+ active: y.selectedKeys.includes(m.path),
1883
+ onClick: (T) => C(m, W)
1884
+ }, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]))
1885
+ ]);
1886
+ }), 128))
1887
+ ]));
1888
+ }
1889
+ }), Pn = /* @__PURE__ */ we(On, [["__scopeId", "data-v-3b466d2f"]]);
1780
1890
  export {
1781
- xn as Collapse,
1782
- On as CollapseItem,
1783
- Nn as ContentHead,
1784
- kn as CustomTable,
1785
- Ht as Ellipsis,
1786
- bn as FooterContact,
1787
- En as Gradientbackground,
1788
- Sn as InfiniteLoading,
1789
- $n as SvgIcon,
1790
- An as WidthContainer
1891
+ Cn as Collapse,
1892
+ En as CollapseItem,
1893
+ Bn as ContentHead,
1894
+ Dn as CustomTable,
1895
+ Vt as Ellipsis,
1896
+ Ln as FooterContact,
1897
+ Tn as Gradientbackground,
1898
+ Mn as InfiniteLoading,
1899
+ Pn as Menu,
1900
+ Xe as MenuItem,
1901
+ bn as SvgIcon,
1902
+ In as WidthContainer
1791
1903
  };