@huyooo/ui 0.1.19 → 0.1.21

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