@argent/x-shared 1.35.0 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,118 +1,119 @@
1
1
  import { z as t } from "zod";
2
- import { validateChecksumAddress as qr, validateAndParseAddress as zr, getChecksumAddress as Hr, num as Xe, constants as Wr, CairoCustomEnum as Yr } from "starknet";
3
- import { memoize as fr, noop as Zr } from "lodash-es";
4
- import { createContext as Kr, useContext as Jr, useEffect as Qr } from "react";
2
+ import { validateChecksumAddress as Hr, validateAndParseAddress as Wr, getChecksumAddress as Zr, num as Xe, constants as Yr, CairoCustomEnum as Kr } from "starknet";
3
+ import { memoize as Er, noop as Jr } from "lodash-es";
4
+ import { createContext as Qr, useContext as et, useEffect as rt } from "react";
5
5
  import "swr";
6
- import { jsx as et } from "react/jsx-runtime";
7
- function rn(s, f) {
8
- let [O, L = ""] = s.split(".");
9
- const A = O.startsWith("-");
10
- return A && (O = O.slice(1)), L.length > f ? Number(L[f]) >= 5 ? L = (BigInt(L.slice(0, f)) + 1n).toString().padStart(f, "0") : L = L.slice(0, f) : L = L.padEnd(f, "0"), {
11
- value: BigInt(`${A ? "-" : ""}${O}${L}`),
6
+ import "@scure/base";
7
+ import { jsx as tt } from "react/jsx-runtime";
8
+ function an(s, f) {
9
+ let [A, v = ""] = s.split(".");
10
+ const N = A.startsWith("-");
11
+ return N && (A = A.slice(1)), v.length > f ? Number(v[f]) >= 5 ? v = (BigInt(v.slice(0, f)) + 1n).toString().padStart(f, "0") : v = v.slice(0, f) : v = v.padEnd(f, "0"), {
12
+ value: BigInt(`${N ? "-" : ""}${A}${v}`),
12
13
  decimals: f
13
14
  };
14
15
  }
15
- const hr = t.string().refine((s) => {
16
+ const pr = t.string().refine((s) => {
16
17
  if (s.toLowerCase() === s)
17
18
  return !0;
18
19
  try {
19
- return qr(s) && at(s);
20
+ return Hr(s) && ct(s);
20
21
  } catch {
21
22
  }
22
23
  return !1;
23
- }, "Invalid address (checksum error)"), rt = t.string().refine((s) => {
24
+ }, "Invalid address (checksum error)"), nt = t.string().refine((s) => {
24
25
  try {
25
- return zr(s);
26
+ return Wr(s);
26
27
  } catch {
27
28
  }
28
29
  return !1;
29
- }, "Invalid address (validation error)"), be = t.string().regex(/^0x[0-9a-fA-F]+$/, "Invalid address"), tt = be.min(50, "Addresses must at least be 50 characters long").max(66, "Addresses must at most be 66 characters long"), nt = be.length(66, "Address must be 66 characters long"), Re = tt.pipe(hr).transform((s) => `0x${(s.startsWith("0x") ? s.slice(2) : s).padStart(64, "0")}`), tn = Re.or(t.literal("")).transform((s) => s === "" ? void 0 : s).optional(), er = be.transform((s) => `0x${s.replace(/^0x/, "").toLowerCase().padStart(64, "0")}`), st = (s) => Re.safeParse(s).success, it = st, _e = (s) => Hr(s), nn = (s) => {
30
- const f = _e(s), O = f.slice(0, 2), L = f.slice(2, 6), A = f.slice(-4);
31
- return `${O}${L}…${A}`;
32
- }, sn = (s) => {
33
- const f = _e(s), O = f.slice(0, 2), A = f.slice(2).match(/.{1,4}/g) || [];
34
- return `${O} ${A.join(" ")}`;
35
- }, at = (s) => !/^0x[0-9a-f]{63,64}$/.test(s), ot = (s, f) => {
30
+ }, "Invalid address (validation error)"), Pe = t.string().regex(/^0x[0-9a-fA-F]+$/, "Invalid address"), st = Pe.min(50, "Addresses must at least be 50 characters long").max(66, "Addresses must at most be 66 characters long"), it = Pe.length(66, "Address must be 66 characters long"), Re = st.pipe(pr).transform((s) => `0x${(s.startsWith("0x") ? s.slice(2) : s).padStart(64, "0")}`), on = Re.or(t.literal("")).transform((s) => s === "" ? void 0 : s).optional(), er = Pe.transform((s) => `0x${s.replace(/^0x/, "").toLowerCase().padStart(64, "0")}`), at = (s) => Re.safeParse(s).success, ot = at, _e = (s) => Zr(s), cn = (s) => {
31
+ const f = _e(s), A = f.slice(0, 2), v = f.slice(2, 6), N = f.slice(-4);
32
+ return `${A}${v}…${N}`;
33
+ }, ln = (s) => {
34
+ const f = _e(s), A = f.slice(0, 2), N = f.slice(2).match(/.{1,4}/g) || [];
35
+ return `${A} ${N.join(" ")}`;
36
+ }, ct = (s) => !/^0x[0-9a-f]{63,64}$/.test(s), lt = (s, f) => {
36
37
  try {
37
38
  return !s || !f ? !1 : Xe.hexToDecimalString(s) === Xe.hexToDecimalString(f);
38
39
  } catch {
39
40
  }
40
41
  return !1;
41
- }, ct = (s) => {
42
+ }, ut = (s) => {
42
43
  try {
43
- return Xe.toBigInt(be.parse(s)) === Wr.ZERO;
44
+ return Xe.toBigInt(Pe.parse(s)) === Yr.ZERO;
44
45
  } catch {
45
46
  }
46
47
  return !1;
47
- }, an = (s, f) => !!(f != null && f.some((O) => ot(O, s))), on = fr((s) => {
48
- const f = s.slice(0, 6), O = s.slice(-4);
49
- return `${f}…${O}`;
50
- }), cn = fr((s, f) => {
48
+ }, un = (s, f) => !!(f != null && f.some((A) => lt(A, s))), fn = Er((s) => {
49
+ const f = s.slice(0, 6), A = s.slice(-4);
50
+ return `${f}…${A}`;
51
+ }), hn = Er((s, f) => {
51
52
  if (s.length < f)
52
53
  return s;
53
- const O = Math.floor((f - 1) / 2), L = s.slice(0, O), A = s.slice(-O);
54
- return `${L}…${A}`;
55
- }), ln = t.string().regex(/^[a-zA-Z0-9.-]*$/g, "Invalid address character").max(66, "Address cannot be over 66 characters"), lt = nt.pipe(hr).pipe(rt), je = t.string().regex(/^([a-zA-Z0-9-]+\.)+argent.xyz$/, "Invalid Argent name").max(253, "Argent name cannot be over 253 characters"), ut = (s) => je.safeParse(s).success, ft = (s, f) => {
54
+ const A = Math.floor((f - 1) / 2), v = s.slice(0, A), N = s.slice(-A);
55
+ return `${v}…${N}`;
56
+ }), En = t.string().regex(/^[a-zA-Z0-9.-]*$/g, "Invalid address character").max(66, "Address cannot be over 66 characters"), ft = it.pipe(pr).pipe(nt), ke = t.string().regex(/^([a-zA-Z0-9-]+\.)+argent.xyz$/, "Invalid Argent name").max(253, "Argent name cannot be over 253 characters"), ht = (s) => ke.safeParse(s).success, Et = (s, f) => {
56
57
  try {
57
58
  return f ? Ve(s) === Ve(f) : !1;
58
59
  } catch {
59
60
  }
60
61
  return !1;
61
- }, Ve = (s) => je.parse(s).toLowerCase(), rr = t.string().regex(/^([a-zA-Z0-9-]+\.)+stark$/, "Invalid Starknet ID").max(50, "Starknet ID cannot be over 50 characters"), ht = (s) => rr.safeParse(s).success, Et = (s, f) => {
62
+ }, Ve = (s) => ke.parse(s).toLowerCase(), rr = t.string().regex(/^([a-zA-Z0-9-]+\.)+stark$/, "Invalid Starknet ID").max(50, "Starknet ID cannot be over 50 characters"), pt = (s) => rr.safeParse(s).success, dt = (s, f) => {
62
63
  try {
63
64
  return f ? qe(s) === qe(f) : !1;
64
65
  } catch {
65
66
  }
66
67
  return !1;
67
68
  }, qe = (s) => rr.parse(s).toLowerCase(), tr = t.union([
68
- je,
69
+ ke,
69
70
  rr
70
- ]), un = t.union([
71
+ ]), pn = t.union([
71
72
  Re,
72
73
  tr
73
- ]), fn = t.union([
74
- lt,
74
+ ]), dn = t.union([
75
+ ft,
75
76
  tr
76
- ]), hn = (s) => tr.safeParse(s).success, En = (s, f) => {
77
+ ]), mn = (s) => tr.safeParse(s).success, gn = (s, f) => {
77
78
  try {
78
- return f ? ft(s, f) || Et(s, f) : !1;
79
+ return f ? Et(s, f) || dt(s, f) : !1;
79
80
  } catch {
80
81
  }
81
82
  return !1;
82
- }, pn = (s) => ht(s) ? qe(s) : ut(s) ? Ve(s) : _e(s), pt = t.union([t.literal("0"), t.literal("1")]);
83
- function dt(s) {
83
+ }, In = (s) => pt(s) ? qe(s) : ht(s) ? Ve(s) : _e(s), mt = t.union([t.literal("0"), t.literal("1")]);
84
+ function gt(s) {
84
85
  var f = [];
85
86
  if (s.length === 0)
86
87
  return "";
87
88
  if (typeof s[0] != "string")
88
89
  throw new TypeError("Url must be a string. Received " + s[0]);
89
90
  if (s[0].match(/^[^/:]+:\/*$/) && s.length > 1) {
90
- var O = s.shift();
91
- s[0] = O + s[0];
91
+ var A = s.shift();
92
+ s[0] = A + s[0];
92
93
  }
93
94
  s[0].match(/^file:\/\/\//) ? s[0] = s[0].replace(/^([^/:]+):\/*/, "$1:///") : s[0] = s[0].replace(/^([^/:]+):\/*/, "$1://");
94
- for (var L = 0; L < s.length; L++) {
95
- var A = s[L];
96
- if (typeof A != "string")
97
- throw new TypeError("Url must be a string. Received " + A);
98
- A !== "" && (L > 0 && (A = A.replace(/^[\/]+/, "")), L < s.length - 1 ? A = A.replace(/[\/]+$/, "") : A = A.replace(/[\/]+$/, "/"), f.push(A));
95
+ for (var v = 0; v < s.length; v++) {
96
+ var N = s[v];
97
+ if (typeof N != "string")
98
+ throw new TypeError("Url must be a string. Received " + N);
99
+ N !== "" && (v > 0 && (N = N.replace(/^[\/]+/, "")), v < s.length - 1 ? N = N.replace(/[\/]+$/, "") : N = N.replace(/[\/]+$/, "/"), f.push(N));
99
100
  }
100
101
  var M = f.join("/");
101
102
  M = M.replace(/\/(\?|&|#[^!])/g, "$1");
102
103
  var x = M.split("?");
103
104
  return M = x.shift() + (x.length > 0 ? "?" : "") + x.join("&"), M;
104
105
  }
105
- function mt() {
106
+ function It() {
106
107
  var s;
107
- return typeof arguments[0] == "object" ? s = arguments[0] : s = [].slice.call(arguments), dt(s);
108
+ return typeof arguments[0] == "object" ? s = arguments[0] : s = [].slice.call(arguments), gt(s);
108
109
  }
109
- class ke extends Error {
110
- constructor({ code: f, message: O, options: L = {} }, A) {
111
- const { error: M, context: x } = L;
112
- super(O, { cause: M }), this.errorMessages = A, this.name = "BaseError", this.context = x, this.code = f, this.setMessageByCode(f, O);
110
+ class je extends Error {
111
+ constructor({ code: f, message: A, options: v = {} }, N) {
112
+ const { error: M, context: x } = v;
113
+ super(A, { cause: M }), this.errorMessages = N, this.name = "BaseError", this.context = x, this.code = f, this.setMessageByCode(f, A);
113
114
  }
114
- setMessageByCode(f, O) {
115
- !f || !this.errorMessages || O || (this.message = this.errorMessages[f]);
115
+ setMessageByCode(f, A) {
116
+ !f || !this.errorMessages || A || (this.message = this.errorMessages[f]);
116
117
  }
117
118
  toString() {
118
119
  return this.message || "";
@@ -122,63 +123,63 @@ var ze;
122
123
  (function(s) {
123
124
  s.NOT_VALID = "Invalid address", s.NOT_FOUND = "Address not found", s.STARKNAME_NOT_FOUND = "Stark name not found", s.STARKNAME_ERROR = "Could not get address from stark name", s.STARKNAME_INVALID_ADDRESS = "Stark name resolved to an invalid address", s.ARGENT_NAME_NOT_FOUND = "Argent name not found", s.NO_ADDRESS_FROM_ARGENT_NAME = "Could not get address from Argent name", s.ARGENT_NAME_INVALID_ADDRESS = "Argent name resolved to an invalid address", s.NO_ADDRESS_FROM_DOMAIN = "Could not get address from domain", s.ARGENT_NAME_INVALID_NETWORK = "Argent name is not enabled on the requested network";
124
125
  })(ze || (ze = {}));
125
- class ye extends ke {
126
+ class ye extends je {
126
127
  constructor(f) {
127
128
  super(f, ze), this.name = "AddressError";
128
129
  }
129
130
  }
130
131
  class nr extends Error {
131
- constructor(f, O, L) {
132
- super(f), this.status = O, this.data = L, Object.setPrototypeOf(this, nr.prototype);
132
+ constructor(f, A, v) {
133
+ super(f), this.status = A, this.data = v, Object.setPrototypeOf(this, nr.prototype);
133
134
  }
134
135
  }
135
- var ar;
136
+ var or;
136
137
  (function(s) {
137
138
  s.FAILED_TO_FETCH_URL = "Failed to fetch url", s.FAILED_TO_POST_URL = "Failed to post url";
138
- })(ar || (ar = {}));
139
- const dn = t.object({
139
+ })(or || (or = {}));
140
+ const Rn = t.object({
140
141
  walletAddress: er,
141
- ens: je,
142
+ ens: ke,
142
143
  chain: t.enum(["ethereum", "starknet"]),
143
144
  deleted: t.boolean(),
144
145
  walletDeployed: t.boolean()
145
146
  }).or(t.object({
146
147
  status: t.string()
147
148
  }));
148
- async function mn(s, f, O, L = "starknet") {
149
- const A = {
149
+ async function Nn(s, f, A, v = "starknet") {
150
+ const N = {
150
151
  ens: s,
151
- chain: L
152
- }, M = new URLSearchParams(A), x = mt(O, "wallet", `?${M}`);
152
+ chain: v
153
+ }, M = new URLSearchParams(N), x = It(A, "wallet", `?${M}`);
153
154
  try {
154
- const k = await f.get(x), D = k && "walletAddress" in k ? k.walletAddress : void 0;
155
+ const j = await f.get(x), D = j && "walletAddress" in j ? j.walletAddress : void 0;
155
156
  if (!D)
156
157
  throw new ye({
157
158
  code: "NO_ADDRESS_FROM_ARGENT_NAME"
158
159
  });
159
- if (ct(D))
160
+ if (ut(D))
160
161
  throw new ye({
161
162
  code: "ARGENT_NAME_NOT_FOUND",
162
163
  message: `${s} not found`
163
164
  });
164
- if (!it(D))
165
+ if (!ot(D))
165
166
  throw new ye({
166
167
  code: "ARGENT_NAME_INVALID_ADDRESS",
167
168
  message: `${s} resolved to an invalid address (${D})`
168
169
  });
169
170
  return _e(D);
170
- } catch (k) {
171
- throw k instanceof nr && k.status === 404 ? new ye({
171
+ } catch (j) {
172
+ throw j instanceof nr && j.status === 404 ? new ye({
172
173
  code: "ARGENT_NAME_NOT_FOUND",
173
174
  message: `${s} not found`
174
- }) : k;
175
+ }) : j;
175
176
  }
176
177
  }
177
178
  var He;
178
179
  (function(s) {
179
180
  s.NOT_VALID = "Invalid call";
180
181
  })(He || (He = {}));
181
- class gn extends ke {
182
+ class On extends je {
182
183
  constructor(f) {
183
184
  super(f, He), this.name = "CallError";
184
185
  }
@@ -187,99 +188,99 @@ var We;
187
188
  (function(s) {
188
189
  s.NO_NETWORK_OR_MULTICALL = "Missing networkId or multicall", s.NOT_FOUND = "Network not found";
189
190
  })(We || (We = {}));
190
- class In extends ke {
191
+ class An extends je {
191
192
  constructor(f) {
192
193
  super(f, We), this.name = "NetworkError";
193
194
  }
194
195
  }
195
- const ve = t.union([t.string(), t.number(), t.bigint()]), gt = t.object({
196
+ const ve = t.union([t.string(), t.number(), t.bigint()]), Rt = t.object({
196
197
  low: ve,
197
198
  high: ve
198
- }), It = t.array(t.string()).and(t.object({
199
+ }), Nt = t.array(t.string()).and(t.object({
199
200
  __compiled__: t.boolean().optional()
200
- }).optional()), Rt = t.lazy(() => t.array(t.union([Pe, t.array(Pe), sr]))), Pe = t.union([
201
+ }).optional()), Ot = t.lazy(() => t.array(t.union([be, t.array(be), sr]))), be = t.union([
201
202
  ve,
202
- gt,
203
+ Rt,
203
204
  t.any(),
204
205
  t.boolean()
205
- ]), Nt = t.lazy(() => t.record(t.union([Pe, t.array(Pe), sr]))), sr = t.lazy(() => t.union([Nt, Rt])), At = t.union([sr, It]).optional(), Ot = t.lazy(() => t.object({
206
+ ]), At = t.lazy(() => t.record(t.union([be, t.array(be), sr]))), sr = t.lazy(() => t.union([At, Ot])), St = t.union([sr, Nt]).optional(), Tt = t.lazy(() => t.object({
206
207
  contractAddress: t.string(),
207
- calldata: At,
208
+ calldata: St,
208
209
  entrypoint: t.string().optional()
209
- })), Rn = t.lazy(() => Ot.and(t.object({
210
+ })), Sn = t.lazy(() => Tt.and(t.object({
210
211
  entrypoint: t.string()
211
- }))), le = t.string().refine((s) => typeof parseInt(s) == "number"), Nn = t.tuple([le]), An = t.tuple([le]), On = t.object({
212
+ }))), le = t.string().refine((s) => typeof parseInt(s) == "number"), Tn = t.tuple([le]), wn = t.tuple([le]), vn = t.object({
212
213
  new_threshold: t.string().refine((s) => typeof parseInt(s) == "number"),
213
214
  signers_to_add: t.array(le)
214
- }), Sn = t.object({
215
+ }), Ln = t.object({
215
216
  new_threshold: t.string().refine((s) => typeof parseInt(s) == "number"),
216
217
  signers_to_remove: t.array(le)
217
- }), Tn = t.object({
218
+ }), yn = t.object({
218
219
  signer_to_remove: le,
219
220
  signer_to_add: le
220
- }), wn = t.tuple([le]), vn = t.tuple([le]), Ln = t.tuple([le]), yn = t.tuple([le]).rest(le), Cn = t.object({
221
+ }), Cn = t.tuple([le]), Dn = t.tuple([le]), bn = t.tuple([le]), Pn = t.tuple([le]).rest(le), _n = t.object({
221
222
  recipient: Re,
222
223
  amount: t.object({
223
224
  low: ve,
224
225
  high: ve
225
226
  })
226
- }), St = t.string().regex(/^(0x)?[0-9a-fA-F]+$/, "Invalid hex string"), Er = St.transform((s) => {
227
+ }), wt = t.string().regex(/^(0x)?[0-9a-fA-F]+$/, "Invalid hex string"), dr = wt.transform((s) => {
227
228
  const f = s.startsWith("0x") ? s.slice(2) : s;
228
229
  return `0x${f.length % 2 === 0 ? f : `0${f}`}`;
229
- }), Dn = t.object({
230
- cairoVersion: pt,
231
- accountClassHash: Er
232
- }), Tt = t.array(t.string()), Pn = t.object({
230
+ }), kn = t.object({
231
+ cairoVersion: mt,
232
+ accountClassHash: dr
233
+ }), vt = t.array(t.string()), jn = t.object({
233
234
  implementation: t.string(),
234
- selector: Er,
235
- calldata: Tt
236
- }), bn = t.object({
235
+ selector: dr,
236
+ calldata: vt
237
+ }), Fn = t.object({
237
238
  owner: t.string(),
238
239
  guardian: t.string().optional().transform((s) => s ?? "0")
239
240
  });
240
- var or;
241
+ var cr;
241
242
  (function(s) {
242
243
  s.Starknet = "Starknet", s.Secp256k1 = "Secp256k1", s.Secp256r1 = "Secp256r1", s.Eip191 = "Eip191", s.Webauthn = "Webauthn";
243
- })(or || (or = {}));
244
- function _n(s, f) {
245
- const O = {
244
+ })(cr || (cr = {}));
245
+ function Un(s, f) {
246
+ const A = {
246
247
  Starknet: void 0,
247
248
  Secp256k1: void 0,
248
249
  Secp256r1: void 0,
249
250
  Eip191: void 0,
250
251
  Webauthn: void 0
251
252
  };
252
- return O[f] = s, new Yr(O);
253
+ return A[f] = s, new Kr(A);
253
254
  }
254
- var Ye;
255
+ var Ze;
255
256
  (function(s) {
256
257
  s.NOT_FOUND = "Account not found", s.CALCULATED_ADDRESS_NO_MATCH = "Calculated address does not match account address";
257
- })(Ye || (Ye = {}));
258
- class jn extends ke {
258
+ })(Ze || (Ze = {}));
259
+ class Bn extends je {
259
260
  constructor(f) {
260
- super(f, Ye), this.name = "AccountError";
261
+ super(f, Ze), this.name = "AccountError";
261
262
  }
262
263
  }
263
- function wt(s) {
264
+ function Lt(s) {
264
265
  return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
265
266
  }
266
- var Ze = { exports: {} };
267
+ var Ye = { exports: {} };
267
268
  (function(s, f) {
268
- f = s.exports = P;
269
- var O;
270
- typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? O = function() {
269
+ f = s.exports = b;
270
+ var A;
271
+ typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? A = function() {
271
272
  var e = Array.prototype.slice.call(arguments, 0);
272
273
  e.unshift("SEMVER"), console.log.apply(console, e);
273
- } : O = function() {
274
+ } : A = function() {
274
275
  }, f.SEMVER_SPEC_VERSION = "2.0.0";
275
- var L = 256, A = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
276
- 9007199254740991, M = 16, x = L - 6, k = f.re = [], D = f.safeRe = [], I = f.src = [], d = f.tokens = {}, K = 0;
277
- function b(e) {
276
+ var v = 256, N = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
277
+ 9007199254740991, M = 16, x = v - 6, j = f.re = [], D = f.safeRe = [], I = f.src = [], d = f.tokens = {}, K = 0;
278
+ function P(e) {
278
279
  d[e] = K++;
279
280
  }
280
281
  var pe = "[a-zA-Z0-9-]", ne = [
281
282
  ["\\s", 1],
282
- ["\\d", L],
283
+ ["\\d", v],
283
284
  [pe, x]
284
285
  ];
285
286
  function de(e) {
@@ -289,29 +290,29 @@ var Ze = { exports: {} };
289
290
  }
290
291
  return e;
291
292
  }
292
- b("NUMERICIDENTIFIER"), I[d.NUMERICIDENTIFIER] = "0|[1-9]\\d*", b("NUMERICIDENTIFIERLOOSE"), I[d.NUMERICIDENTIFIERLOOSE] = "\\d+", b("NONNUMERICIDENTIFIER"), I[d.NONNUMERICIDENTIFIER] = "\\d*[a-zA-Z-]" + pe + "*", b("MAINVERSION"), I[d.MAINVERSION] = "(" + I[d.NUMERICIDENTIFIER] + ")\\.(" + I[d.NUMERICIDENTIFIER] + ")\\.(" + I[d.NUMERICIDENTIFIER] + ")", b("MAINVERSIONLOOSE"), I[d.MAINVERSIONLOOSE] = "(" + I[d.NUMERICIDENTIFIERLOOSE] + ")\\.(" + I[d.NUMERICIDENTIFIERLOOSE] + ")\\.(" + I[d.NUMERICIDENTIFIERLOOSE] + ")", b("PRERELEASEIDENTIFIER"), I[d.PRERELEASEIDENTIFIER] = "(?:" + I[d.NUMERICIDENTIFIER] + "|" + I[d.NONNUMERICIDENTIFIER] + ")", b("PRERELEASEIDENTIFIERLOOSE"), I[d.PRERELEASEIDENTIFIERLOOSE] = "(?:" + I[d.NUMERICIDENTIFIERLOOSE] + "|" + I[d.NONNUMERICIDENTIFIER] + ")", b("PRERELEASE"), I[d.PRERELEASE] = "(?:-(" + I[d.PRERELEASEIDENTIFIER] + "(?:\\." + I[d.PRERELEASEIDENTIFIER] + ")*))", b("PRERELEASELOOSE"), I[d.PRERELEASELOOSE] = "(?:-?(" + I[d.PRERELEASEIDENTIFIERLOOSE] + "(?:\\." + I[d.PRERELEASEIDENTIFIERLOOSE] + ")*))", b("BUILDIDENTIFIER"), I[d.BUILDIDENTIFIER] = pe + "+", b("BUILD"), I[d.BUILD] = "(?:\\+(" + I[d.BUILDIDENTIFIER] + "(?:\\." + I[d.BUILDIDENTIFIER] + ")*))", b("FULL"), b("FULLPLAIN"), I[d.FULLPLAIN] = "v?" + I[d.MAINVERSION] + I[d.PRERELEASE] + "?" + I[d.BUILD] + "?", I[d.FULL] = "^" + I[d.FULLPLAIN] + "$", b("LOOSEPLAIN"), I[d.LOOSEPLAIN] = "[v=\\s]*" + I[d.MAINVERSIONLOOSE] + I[d.PRERELEASELOOSE] + "?" + I[d.BUILD] + "?", b("LOOSE"), I[d.LOOSE] = "^" + I[d.LOOSEPLAIN] + "$", b("GTLT"), I[d.GTLT] = "((?:<|>)?=?)", b("XRANGEIDENTIFIERLOOSE"), I[d.XRANGEIDENTIFIERLOOSE] = I[d.NUMERICIDENTIFIERLOOSE] + "|x|X|\\*", b("XRANGEIDENTIFIER"), I[d.XRANGEIDENTIFIER] = I[d.NUMERICIDENTIFIER] + "|x|X|\\*", b("XRANGEPLAIN"), I[d.XRANGEPLAIN] = "[v=\\s]*(" + I[d.XRANGEIDENTIFIER] + ")(?:\\.(" + I[d.XRANGEIDENTIFIER] + ")(?:\\.(" + I[d.XRANGEIDENTIFIER] + ")(?:" + I[d.PRERELEASE] + ")?" + I[d.BUILD] + "?)?)?", b("XRANGEPLAINLOOSE"), I[d.XRANGEPLAINLOOSE] = "[v=\\s]*(" + I[d.XRANGEIDENTIFIERLOOSE] + ")(?:\\.(" + I[d.XRANGEIDENTIFIERLOOSE] + ")(?:\\.(" + I[d.XRANGEIDENTIFIERLOOSE] + ")(?:" + I[d.PRERELEASELOOSE] + ")?" + I[d.BUILD] + "?)?)?", b("XRANGE"), I[d.XRANGE] = "^" + I[d.GTLT] + "\\s*" + I[d.XRANGEPLAIN] + "$", b("XRANGELOOSE"), I[d.XRANGELOOSE] = "^" + I[d.GTLT] + "\\s*" + I[d.XRANGEPLAINLOOSE] + "$", b("COERCE"), I[d.COERCE] = "(^|[^\\d])(\\d{1," + M + "})(?:\\.(\\d{1," + M + "}))?(?:\\.(\\d{1," + M + "}))?(?:$|[^\\d])", b("COERCERTL"), k[d.COERCERTL] = new RegExp(I[d.COERCE], "g"), D[d.COERCERTL] = new RegExp(de(I[d.COERCE]), "g"), b("LONETILDE"), I[d.LONETILDE] = "(?:~>?)", b("TILDETRIM"), I[d.TILDETRIM] = "(\\s*)" + I[d.LONETILDE] + "\\s+", k[d.TILDETRIM] = new RegExp(I[d.TILDETRIM], "g"), D[d.TILDETRIM] = new RegExp(de(I[d.TILDETRIM]), "g");
293
+ P("NUMERICIDENTIFIER"), I[d.NUMERICIDENTIFIER] = "0|[1-9]\\d*", P("NUMERICIDENTIFIERLOOSE"), I[d.NUMERICIDENTIFIERLOOSE] = "\\d+", P("NONNUMERICIDENTIFIER"), I[d.NONNUMERICIDENTIFIER] = "\\d*[a-zA-Z-]" + pe + "*", P("MAINVERSION"), I[d.MAINVERSION] = "(" + I[d.NUMERICIDENTIFIER] + ")\\.(" + I[d.NUMERICIDENTIFIER] + ")\\.(" + I[d.NUMERICIDENTIFIER] + ")", P("MAINVERSIONLOOSE"), I[d.MAINVERSIONLOOSE] = "(" + I[d.NUMERICIDENTIFIERLOOSE] + ")\\.(" + I[d.NUMERICIDENTIFIERLOOSE] + ")\\.(" + I[d.NUMERICIDENTIFIERLOOSE] + ")", P("PRERELEASEIDENTIFIER"), I[d.PRERELEASEIDENTIFIER] = "(?:" + I[d.NUMERICIDENTIFIER] + "|" + I[d.NONNUMERICIDENTIFIER] + ")", P("PRERELEASEIDENTIFIERLOOSE"), I[d.PRERELEASEIDENTIFIERLOOSE] = "(?:" + I[d.NUMERICIDENTIFIERLOOSE] + "|" + I[d.NONNUMERICIDENTIFIER] + ")", P("PRERELEASE"), I[d.PRERELEASE] = "(?:-(" + I[d.PRERELEASEIDENTIFIER] + "(?:\\." + I[d.PRERELEASEIDENTIFIER] + ")*))", P("PRERELEASELOOSE"), I[d.PRERELEASELOOSE] = "(?:-?(" + I[d.PRERELEASEIDENTIFIERLOOSE] + "(?:\\." + I[d.PRERELEASEIDENTIFIERLOOSE] + ")*))", P("BUILDIDENTIFIER"), I[d.BUILDIDENTIFIER] = pe + "+", P("BUILD"), I[d.BUILD] = "(?:\\+(" + I[d.BUILDIDENTIFIER] + "(?:\\." + I[d.BUILDIDENTIFIER] + ")*))", P("FULL"), P("FULLPLAIN"), I[d.FULLPLAIN] = "v?" + I[d.MAINVERSION] + I[d.PRERELEASE] + "?" + I[d.BUILD] + "?", I[d.FULL] = "^" + I[d.FULLPLAIN] + "$", P("LOOSEPLAIN"), I[d.LOOSEPLAIN] = "[v=\\s]*" + I[d.MAINVERSIONLOOSE] + I[d.PRERELEASELOOSE] + "?" + I[d.BUILD] + "?", P("LOOSE"), I[d.LOOSE] = "^" + I[d.LOOSEPLAIN] + "$", P("GTLT"), I[d.GTLT] = "((?:<|>)?=?)", P("XRANGEIDENTIFIERLOOSE"), I[d.XRANGEIDENTIFIERLOOSE] = I[d.NUMERICIDENTIFIERLOOSE] + "|x|X|\\*", P("XRANGEIDENTIFIER"), I[d.XRANGEIDENTIFIER] = I[d.NUMERICIDENTIFIER] + "|x|X|\\*", P("XRANGEPLAIN"), I[d.XRANGEPLAIN] = "[v=\\s]*(" + I[d.XRANGEIDENTIFIER] + ")(?:\\.(" + I[d.XRANGEIDENTIFIER] + ")(?:\\.(" + I[d.XRANGEIDENTIFIER] + ")(?:" + I[d.PRERELEASE] + ")?" + I[d.BUILD] + "?)?)?", P("XRANGEPLAINLOOSE"), I[d.XRANGEPLAINLOOSE] = "[v=\\s]*(" + I[d.XRANGEIDENTIFIERLOOSE] + ")(?:\\.(" + I[d.XRANGEIDENTIFIERLOOSE] + ")(?:\\.(" + I[d.XRANGEIDENTIFIERLOOSE] + ")(?:" + I[d.PRERELEASELOOSE] + ")?" + I[d.BUILD] + "?)?)?", P("XRANGE"), I[d.XRANGE] = "^" + I[d.GTLT] + "\\s*" + I[d.XRANGEPLAIN] + "$", P("XRANGELOOSE"), I[d.XRANGELOOSE] = "^" + I[d.GTLT] + "\\s*" + I[d.XRANGEPLAINLOOSE] + "$", P("COERCE"), I[d.COERCE] = "(^|[^\\d])(\\d{1," + M + "})(?:\\.(\\d{1," + M + "}))?(?:\\.(\\d{1," + M + "}))?(?:$|[^\\d])", P("COERCERTL"), j[d.COERCERTL] = new RegExp(I[d.COERCE], "g"), D[d.COERCERTL] = new RegExp(de(I[d.COERCE]), "g"), P("LONETILDE"), I[d.LONETILDE] = "(?:~>?)", P("TILDETRIM"), I[d.TILDETRIM] = "(\\s*)" + I[d.LONETILDE] + "\\s+", j[d.TILDETRIM] = new RegExp(I[d.TILDETRIM], "g"), D[d.TILDETRIM] = new RegExp(de(I[d.TILDETRIM]), "g");
293
294
  var me = "$1~";
294
- b("TILDE"), I[d.TILDE] = "^" + I[d.LONETILDE] + I[d.XRANGEPLAIN] + "$", b("TILDELOOSE"), I[d.TILDELOOSE] = "^" + I[d.LONETILDE] + I[d.XRANGEPLAINLOOSE] + "$", b("LONECARET"), I[d.LONECARET] = "(?:\\^)", b("CARETTRIM"), I[d.CARETTRIM] = "(\\s*)" + I[d.LONECARET] + "\\s+", k[d.CARETTRIM] = new RegExp(I[d.CARETTRIM], "g"), D[d.CARETTRIM] = new RegExp(de(I[d.CARETTRIM]), "g");
295
+ P("TILDE"), I[d.TILDE] = "^" + I[d.LONETILDE] + I[d.XRANGEPLAIN] + "$", P("TILDELOOSE"), I[d.TILDELOOSE] = "^" + I[d.LONETILDE] + I[d.XRANGEPLAINLOOSE] + "$", P("LONECARET"), I[d.LONECARET] = "(?:\\^)", P("CARETTRIM"), I[d.CARETTRIM] = "(\\s*)" + I[d.LONECARET] + "\\s+", j[d.CARETTRIM] = new RegExp(I[d.CARETTRIM], "g"), D[d.CARETTRIM] = new RegExp(de(I[d.CARETTRIM]), "g");
295
296
  var Te = "$1^";
296
- b("CARET"), I[d.CARET] = "^" + I[d.LONECARET] + I[d.XRANGEPLAIN] + "$", b("CARETLOOSE"), I[d.CARETLOOSE] = "^" + I[d.LONECARET] + I[d.XRANGEPLAINLOOSE] + "$", b("COMPARATORLOOSE"), I[d.COMPARATORLOOSE] = "^" + I[d.GTLT] + "\\s*(" + I[d.LOOSEPLAIN] + ")$|^$", b("COMPARATOR"), I[d.COMPARATOR] = "^" + I[d.GTLT] + "\\s*(" + I[d.FULLPLAIN] + ")$|^$", b("COMPARATORTRIM"), I[d.COMPARATORTRIM] = "(\\s*)" + I[d.GTLT] + "\\s*(" + I[d.LOOSEPLAIN] + "|" + I[d.XRANGEPLAIN] + ")", k[d.COMPARATORTRIM] = new RegExp(I[d.COMPARATORTRIM], "g"), D[d.COMPARATORTRIM] = new RegExp(de(I[d.COMPARATORTRIM]), "g");
297
+ P("CARET"), I[d.CARET] = "^" + I[d.LONECARET] + I[d.XRANGEPLAIN] + "$", P("CARETLOOSE"), I[d.CARETLOOSE] = "^" + I[d.LONECARET] + I[d.XRANGEPLAINLOOSE] + "$", P("COMPARATORLOOSE"), I[d.COMPARATORLOOSE] = "^" + I[d.GTLT] + "\\s*(" + I[d.LOOSEPLAIN] + ")$|^$", P("COMPARATOR"), I[d.COMPARATOR] = "^" + I[d.GTLT] + "\\s*(" + I[d.FULLPLAIN] + ")$|^$", P("COMPARATORTRIM"), I[d.COMPARATORTRIM] = "(\\s*)" + I[d.GTLT] + "\\s*(" + I[d.LOOSEPLAIN] + "|" + I[d.XRANGEPLAIN] + ")", j[d.COMPARATORTRIM] = new RegExp(I[d.COMPARATORTRIM], "g"), D[d.COMPARATORTRIM] = new RegExp(de(I[d.COMPARATORTRIM]), "g");
297
298
  var T = "$1$2$3";
298
- b("HYPHENRANGE"), I[d.HYPHENRANGE] = "^\\s*(" + I[d.XRANGEPLAIN] + ")\\s+-\\s+(" + I[d.XRANGEPLAIN] + ")\\s*$", b("HYPHENRANGELOOSE"), I[d.HYPHENRANGELOOSE] = "^\\s*(" + I[d.XRANGEPLAINLOOSE] + ")\\s+-\\s+(" + I[d.XRANGEPLAINLOOSE] + ")\\s*$", b("STAR"), I[d.STAR] = "(<|>)?=?\\s*\\*";
299
+ P("HYPHENRANGE"), I[d.HYPHENRANGE] = "^\\s*(" + I[d.XRANGEPLAIN] + ")\\s+-\\s+(" + I[d.XRANGEPLAIN] + ")\\s*$", P("HYPHENRANGELOOSE"), I[d.HYPHENRANGELOOSE] = "^\\s*(" + I[d.XRANGEPLAINLOOSE] + ")\\s+-\\s+(" + I[d.XRANGEPLAINLOOSE] + ")\\s*$", P("STAR"), I[d.STAR] = "(<|>)?=?\\s*\\*";
299
300
  for (var re = 0; re < K; re++)
300
- O(re, I[re]), k[re] || (k[re] = new RegExp(I[re]), D[re] = new RegExp(de(I[re])));
301
+ A(re, I[re]), j[re] || (j[re] = new RegExp(I[re]), D[re] = new RegExp(de(I[re])));
301
302
  f.parse = ue;
302
303
  function ue(e, a) {
303
304
  if ((!a || typeof a != "object") && (a = {
304
305
  loose: !!a,
305
306
  includePrerelease: !1
306
- }), e instanceof P)
307
+ }), e instanceof b)
307
308
  return e;
308
- if (typeof e != "string" || e.length > L)
309
+ if (typeof e != "string" || e.length > v)
309
310
  return null;
310
311
  var c = a.loose ? D[d.LOOSE] : D[d.FULL];
311
312
  if (!c.test(e))
312
313
  return null;
313
314
  try {
314
- return new P(e, a);
315
+ return new b(e, a);
315
316
  } catch {
316
317
  return null;
317
318
  }
@@ -326,50 +327,50 @@ var Ze = { exports: {} };
326
327
  var c = ue(e.trim().replace(/^[=v]+/, ""), a);
327
328
  return c ? c.version : null;
328
329
  }
329
- f.SemVer = P;
330
- function P(e, a) {
330
+ f.SemVer = b;
331
+ function b(e, a) {
331
332
  if ((!a || typeof a != "object") && (a = {
332
333
  loose: !!a,
333
334
  includePrerelease: !1
334
- }), e instanceof P) {
335
+ }), e instanceof b) {
335
336
  if (e.loose === a.loose)
336
337
  return e;
337
338
  e = e.version;
338
339
  } else if (typeof e != "string")
339
340
  throw new TypeError("Invalid Version: " + e);
340
- if (e.length > L)
341
- throw new TypeError("version is longer than " + L + " characters");
342
- if (!(this instanceof P))
343
- return new P(e, a);
344
- O("SemVer", e, a), this.options = a, this.loose = !!a.loose;
341
+ if (e.length > v)
342
+ throw new TypeError("version is longer than " + v + " characters");
343
+ if (!(this instanceof b))
344
+ return new b(e, a);
345
+ A("SemVer", e, a), this.options = a, this.loose = !!a.loose;
345
346
  var c = e.trim().match(a.loose ? D[d.LOOSE] : D[d.FULL]);
346
347
  if (!c)
347
348
  throw new TypeError("Invalid Version: " + e);
348
- if (this.raw = e, this.major = +c[1], this.minor = +c[2], this.patch = +c[3], this.major > A || this.major < 0)
349
+ if (this.raw = e, this.major = +c[1], this.minor = +c[2], this.patch = +c[3], this.major > N || this.major < 0)
349
350
  throw new TypeError("Invalid major version");
350
- if (this.minor > A || this.minor < 0)
351
+ if (this.minor > N || this.minor < 0)
351
352
  throw new TypeError("Invalid minor version");
352
- if (this.patch > A || this.patch < 0)
353
+ if (this.patch > N || this.patch < 0)
353
354
  throw new TypeError("Invalid patch version");
354
355
  c[4] ? this.prerelease = c[4].split(".").map(function(R) {
355
356
  if (/^[0-9]+$/.test(R)) {
356
357
  var S = +R;
357
- if (S >= 0 && S < A)
358
+ if (S >= 0 && S < N)
358
359
  return S;
359
360
  }
360
361
  return R;
361
362
  }) : this.prerelease = [], this.build = c[5] ? c[5].split(".") : [], this.format();
362
363
  }
363
- P.prototype.format = function() {
364
+ b.prototype.format = function() {
364
365
  return this.version = this.major + "." + this.minor + "." + this.patch, this.prerelease.length && (this.version += "-" + this.prerelease.join(".")), this.version;
365
- }, P.prototype.toString = function() {
366
+ }, b.prototype.toString = function() {
366
367
  return this.version;
367
- }, P.prototype.compare = function(e) {
368
- return O("SemVer.compare", this.version, this.options, e), e instanceof P || (e = new P(e, this.options)), this.compareMain(e) || this.comparePre(e);
369
- }, P.prototype.compareMain = function(e) {
370
- return e instanceof P || (e = new P(e, this.options)), E(this.major, e.major) || E(this.minor, e.minor) || E(this.patch, e.patch);
371
- }, P.prototype.comparePre = function(e) {
372
- if (e instanceof P || (e = new P(e, this.options)), this.prerelease.length && !e.prerelease.length)
368
+ }, b.prototype.compare = function(e) {
369
+ return A("SemVer.compare", this.version, this.options, e), e instanceof b || (e = new b(e, this.options)), this.compareMain(e) || this.comparePre(e);
370
+ }, b.prototype.compareMain = function(e) {
371
+ return e instanceof b || (e = new b(e, this.options)), E(this.major, e.major) || E(this.minor, e.minor) || E(this.patch, e.patch);
372
+ }, b.prototype.comparePre = function(e) {
373
+ if (e instanceof b || (e = new b(e, this.options)), this.prerelease.length && !e.prerelease.length)
373
374
  return -1;
374
375
  if (!this.prerelease.length && e.prerelease.length)
375
376
  return 1;
@@ -378,7 +379,7 @@ var Ze = { exports: {} };
378
379
  var a = 0;
379
380
  do {
380
381
  var c = this.prerelease[a], R = e.prerelease[a];
381
- if (O("prerelease compare", a, c, R), c === void 0 && R === void 0)
382
+ if (A("prerelease compare", a, c, R), c === void 0 && R === void 0)
382
383
  return 0;
383
384
  if (R === void 0)
384
385
  return 1;
@@ -388,12 +389,12 @@ var Ze = { exports: {} };
388
389
  continue;
389
390
  return E(c, R);
390
391
  } while (++a);
391
- }, P.prototype.compareBuild = function(e) {
392
- e instanceof P || (e = new P(e, this.options));
392
+ }, b.prototype.compareBuild = function(e) {
393
+ e instanceof b || (e = new b(e, this.options));
393
394
  var a = 0;
394
395
  do {
395
396
  var c = this.build[a], R = e.build[a];
396
- if (O("prerelease compare", a, c, R), c === void 0 && R === void 0)
397
+ if (A("prerelease compare", a, c, R), c === void 0 && R === void 0)
397
398
  return 0;
398
399
  if (R === void 0)
399
400
  return 1;
@@ -403,7 +404,7 @@ var Ze = { exports: {} };
403
404
  continue;
404
405
  return E(c, R);
405
406
  } while (++a);
406
- }, P.prototype.inc = function(e, a) {
407
+ }, b.prototype.inc = function(e, a) {
407
408
  switch (e) {
408
409
  case "premajor":
409
410
  this.prerelease.length = 0, this.patch = 0, this.minor = 0, this.major++, this.inc("pre", a);
@@ -444,7 +445,7 @@ var Ze = { exports: {} };
444
445
  function r(e, a, c, R) {
445
446
  typeof c == "string" && (R = c, c = void 0);
446
447
  try {
447
- return new P(e, c).inc(a, R).version;
448
+ return new b(e, c).inc(a, R).version;
448
449
  } catch {
449
450
  return null;
450
451
  }
@@ -458,9 +459,9 @@ var Ze = { exports: {} };
458
459
  S = "pre";
459
460
  var w = "prerelease";
460
461
  }
461
- for (var v in c)
462
- if ((v === "major" || v === "minor" || v === "patch") && c[v] !== R[v])
463
- return S + v;
462
+ for (var L in c)
463
+ if ((L === "major" || L === "minor" || L === "patch") && c[L] !== R[L])
464
+ return S + L;
464
465
  return w;
465
466
  }
466
467
  f.compareIdentifiers = E;
@@ -475,19 +476,19 @@ var Ze = { exports: {} };
475
476
  }
476
477
  f.major = h;
477
478
  function h(e, a) {
478
- return new P(e, a).major;
479
+ return new b(e, a).major;
479
480
  }
480
481
  f.minor = g;
481
482
  function g(e, a) {
482
- return new P(e, a).minor;
483
+ return new b(e, a).minor;
483
484
  }
484
485
  f.patch = o;
485
486
  function o(e, a) {
486
- return new P(e, a).patch;
487
+ return new b(e, a).patch;
487
488
  }
488
489
  f.compare = u;
489
490
  function u(e, a, c) {
490
- return new P(e, c).compare(new P(a, c));
491
+ return new b(e, c).compare(new b(a, c));
491
492
  }
492
493
  f.compareLoose = m;
493
494
  function m(e, a) {
@@ -495,11 +496,11 @@ var Ze = { exports: {} };
495
496
  }
496
497
  f.compareBuild = p;
497
498
  function p(e, a, c) {
498
- var R = new P(e, c), S = new P(a, c);
499
+ var R = new b(e, c), S = new b(a, c);
499
500
  return R.compare(S) || R.compareBuild(S);
500
501
  }
501
- f.rcompare = N;
502
- function N(e, a, c) {
502
+ f.rcompare = O;
503
+ function O(e, a, c) {
503
504
  return u(a, e, c);
504
505
  }
505
506
  f.sort = y;
@@ -563,40 +564,40 @@ var Ze = { exports: {} };
563
564
  throw new TypeError("Invalid operator: " + a);
564
565
  }
565
566
  }
566
- f.Comparator = Z;
567
- function Z(e, a) {
567
+ f.Comparator = Y;
568
+ function Y(e, a) {
568
569
  if ((!a || typeof a != "object") && (a = {
569
570
  loose: !!a,
570
571
  includePrerelease: !1
571
- }), e instanceof Z) {
572
+ }), e instanceof Y) {
572
573
  if (e.loose === !!a.loose)
573
574
  return e;
574
575
  e = e.value;
575
576
  }
576
- if (!(this instanceof Z))
577
- return new Z(e, a);
578
- e = e.trim().split(/\s+/).join(" "), O("comparator", e, a), this.options = a, this.loose = !!a.loose, this.parse(e), this.semver === fe ? this.value = "" : this.value = this.operator + this.semver.version, O("comp", this);
577
+ if (!(this instanceof Y))
578
+ return new Y(e, a);
579
+ e = e.trim().split(/\s+/).join(" "), A("comparator", e, a), this.options = a, this.loose = !!a.loose, this.parse(e), this.semver === fe ? this.value = "" : this.value = this.operator + this.semver.version, A("comp", this);
579
580
  }
580
581
  var fe = {};
581
- Z.prototype.parse = function(e) {
582
+ Y.prototype.parse = function(e) {
582
583
  var a = this.options.loose ? D[d.COMPARATORLOOSE] : D[d.COMPARATOR], c = e.match(a);
583
584
  if (!c)
584
585
  throw new TypeError("Invalid comparator: " + e);
585
- this.operator = c[1] !== void 0 ? c[1] : "", this.operator === "=" && (this.operator = ""), c[2] ? this.semver = new P(c[2], this.options.loose) : this.semver = fe;
586
- }, Z.prototype.toString = function() {
586
+ this.operator = c[1] !== void 0 ? c[1] : "", this.operator === "=" && (this.operator = ""), c[2] ? this.semver = new b(c[2], this.options.loose) : this.semver = fe;
587
+ }, Y.prototype.toString = function() {
587
588
  return this.value;
588
- }, Z.prototype.test = function(e) {
589
- if (O("Comparator.test", e, this.options.loose), this.semver === fe || e === fe)
589
+ }, Y.prototype.test = function(e) {
590
+ if (A("Comparator.test", e, this.options.loose), this.semver === fe || e === fe)
590
591
  return !0;
591
592
  if (typeof e == "string")
592
593
  try {
593
- e = new P(e, this.options);
594
+ e = new b(e, this.options);
594
595
  } catch {
595
596
  return !1;
596
597
  }
597
598
  return ge(e, this.operator, this.semver, this.options);
598
- }, Z.prototype.intersects = function(e, a) {
599
- if (!(e instanceof Z))
599
+ }, Y.prototype.intersects = function(e, a) {
600
+ if (!(e instanceof Y))
600
601
  throw new TypeError("a Comparator is required");
601
602
  (!a || typeof a != "object") && (a = {
602
603
  loose: !!a,
@@ -607,8 +608,8 @@ var Ze = { exports: {} };
607
608
  return this.value === "" ? !0 : (c = new G(e.value, a), Le(this.value, c, a));
608
609
  if (e.operator === "")
609
610
  return e.value === "" ? !0 : (c = new G(this.value, a), Le(e.semver, c, a));
610
- var R = (this.operator === ">=" || this.operator === ">") && (e.operator === ">=" || e.operator === ">"), S = (this.operator === "<=" || this.operator === "<") && (e.operator === "<=" || e.operator === "<"), w = this.semver.version === e.semver.version, v = (this.operator === ">=" || this.operator === "<=") && (e.operator === ">=" || e.operator === "<="), $ = ge(this.semver, "<", e.semver, a) && (this.operator === ">=" || this.operator === ">") && (e.operator === "<=" || e.operator === "<"), j = ge(this.semver, ">", e.semver, a) && (this.operator === "<=" || this.operator === "<") && (e.operator === ">=" || e.operator === ">");
611
- return R || S || w && v || $ || j;
611
+ var R = (this.operator === ">=" || this.operator === ">") && (e.operator === ">=" || e.operator === ">"), S = (this.operator === "<=" || this.operator === "<") && (e.operator === "<=" || e.operator === "<"), w = this.semver.version === e.semver.version, L = (this.operator === ">=" || this.operator === "<=") && (e.operator === ">=" || e.operator === "<="), $ = ge(this.semver, "<", e.semver, a) && (this.operator === ">=" || this.operator === ">") && (e.operator === "<=" || e.operator === "<"), k = ge(this.semver, ">", e.semver, a) && (this.operator === "<=" || this.operator === "<") && (e.operator === ">=" || e.operator === ">");
612
+ return R || S || w && L || $ || k;
612
613
  }, f.Range = G;
613
614
  function G(e, a) {
614
615
  if ((!a || typeof a != "object") && (a = {
@@ -616,7 +617,7 @@ var Ze = { exports: {} };
616
617
  includePrerelease: !1
617
618
  }), e instanceof G)
618
619
  return e.loose === !!a.loose && e.includePrerelease === !!a.includePrerelease ? e : new G(e.raw, a);
619
- if (e instanceof Z)
620
+ if (e instanceof Y)
620
621
  return new G(e.value, a);
621
622
  if (!(this instanceof G))
622
623
  return new G(e, a);
@@ -636,14 +637,14 @@ var Ze = { exports: {} };
636
637
  return this.range;
637
638
  }, G.prototype.parseRange = function(e) {
638
639
  var a = this.options.loose, c = a ? D[d.HYPHENRANGELOOSE] : D[d.HYPHENRANGE];
639
- e = e.replace(c, jr), O("hyphen replace", e), e = e.replace(D[d.COMPARATORTRIM], T), O("comparator trim", e, D[d.COMPARATORTRIM]), e = e.replace(D[d.TILDETRIM], me), e = e.replace(D[d.CARETTRIM], Te), e = e.split(/\s+/).join(" ");
640
+ e = e.replace(c, Fr), A("hyphen replace", e), e = e.replace(D[d.COMPARATORTRIM], T), A("comparator trim", e, D[d.COMPARATORTRIM]), e = e.replace(D[d.TILDETRIM], me), e = e.replace(D[d.CARETTRIM], Te), e = e.split(/\s+/).join(" ");
640
641
  var R = a ? D[d.COMPARATORLOOSE] : D[d.COMPARATOR], S = e.split(" ").map(function(w) {
641
- return Y(w, this.options);
642
+ return Z(w, this.options);
642
643
  }, this).join(" ").split(/\s+/);
643
644
  return this.options.loose && (S = S.filter(function(w) {
644
645
  return !!w.match(R);
645
646
  })), S = S.map(function(w) {
646
- return new Z(w, this.options);
647
+ return new Y(w, this.options);
647
648
  }, this), S;
648
649
  }, G.prototype.intersects = function(e, a) {
649
650
  if (!(e instanceof G))
@@ -673,80 +674,80 @@ var Ze = { exports: {} };
673
674
  }).join(" ").trim().split(" ");
674
675
  });
675
676
  }
676
- function Y(e, a) {
677
- return O("comp", e, a), e = Cr(e, a), O("caret", e), e = Lr(e, a), O("tildes", e), e = Pr(e, a), O("xrange", e), e = _r(e, a), O("stars", e), e;
677
+ function Z(e, a) {
678
+ return A("comp", e, a), e = br(e, a), A("caret", e), e = Cr(e, a), A("tildes", e), e = _r(e, a), A("xrange", e), e = jr(e, a), A("stars", e), e;
678
679
  }
679
680
  function U(e) {
680
681
  return !e || e.toLowerCase() === "x" || e === "*";
681
682
  }
682
- function Lr(e, a) {
683
+ function Cr(e, a) {
683
684
  return e.trim().split(/\s+/).map(function(c) {
684
- return yr(c, a);
685
+ return Dr(c, a);
685
686
  }).join(" ");
686
687
  }
687
- function yr(e, a) {
688
+ function Dr(e, a) {
688
689
  var c = a.loose ? D[d.TILDELOOSE] : D[d.TILDE];
689
- return e.replace(c, function(R, S, w, v, $) {
690
- O("tilde", e, R, S, w, v, $);
691
- var j;
692
- return U(S) ? j = "" : U(w) ? j = ">=" + S + ".0.0 <" + (+S + 1) + ".0.0" : U(v) ? j = ">=" + S + "." + w + ".0 <" + S + "." + (+w + 1) + ".0" : $ ? (O("replaceTilde pr", $), j = ">=" + S + "." + w + "." + v + "-" + $ + " <" + S + "." + (+w + 1) + ".0") : j = ">=" + S + "." + w + "." + v + " <" + S + "." + (+w + 1) + ".0", O("tilde return", j), j;
690
+ return e.replace(c, function(R, S, w, L, $) {
691
+ A("tilde", e, R, S, w, L, $);
692
+ var k;
693
+ return U(S) ? k = "" : U(w) ? k = ">=" + S + ".0.0 <" + (+S + 1) + ".0.0" : U(L) ? k = ">=" + S + "." + w + ".0 <" + S + "." + (+w + 1) + ".0" : $ ? (A("replaceTilde pr", $), k = ">=" + S + "." + w + "." + L + "-" + $ + " <" + S + "." + (+w + 1) + ".0") : k = ">=" + S + "." + w + "." + L + " <" + S + "." + (+w + 1) + ".0", A("tilde return", k), k;
693
694
  });
694
695
  }
695
- function Cr(e, a) {
696
+ function br(e, a) {
696
697
  return e.trim().split(/\s+/).map(function(c) {
697
- return Dr(c, a);
698
+ return Pr(c, a);
698
699
  }).join(" ");
699
700
  }
700
- function Dr(e, a) {
701
- O("caret", e, a);
701
+ function Pr(e, a) {
702
+ A("caret", e, a);
702
703
  var c = a.loose ? D[d.CARETLOOSE] : D[d.CARET];
703
- return e.replace(c, function(R, S, w, v, $) {
704
- O("caret", e, R, S, w, v, $);
705
- var j;
706
- return U(S) ? j = "" : U(w) ? j = ">=" + S + ".0.0 <" + (+S + 1) + ".0.0" : U(v) ? S === "0" ? j = ">=" + S + "." + w + ".0 <" + S + "." + (+w + 1) + ".0" : j = ">=" + S + "." + w + ".0 <" + (+S + 1) + ".0.0" : $ ? (O("replaceCaret pr", $), S === "0" ? w === "0" ? j = ">=" + S + "." + w + "." + v + "-" + $ + " <" + S + "." + w + "." + (+v + 1) : j = ">=" + S + "." + w + "." + v + "-" + $ + " <" + S + "." + (+w + 1) + ".0" : j = ">=" + S + "." + w + "." + v + "-" + $ + " <" + (+S + 1) + ".0.0") : (O("no pr"), S === "0" ? w === "0" ? j = ">=" + S + "." + w + "." + v + " <" + S + "." + w + "." + (+v + 1) : j = ">=" + S + "." + w + "." + v + " <" + S + "." + (+w + 1) + ".0" : j = ">=" + S + "." + w + "." + v + " <" + (+S + 1) + ".0.0"), O("caret return", j), j;
704
+ return e.replace(c, function(R, S, w, L, $) {
705
+ A("caret", e, R, S, w, L, $);
706
+ var k;
707
+ return U(S) ? k = "" : U(w) ? k = ">=" + S + ".0.0 <" + (+S + 1) + ".0.0" : U(L) ? S === "0" ? k = ">=" + S + "." + w + ".0 <" + S + "." + (+w + 1) + ".0" : k = ">=" + S + "." + w + ".0 <" + (+S + 1) + ".0.0" : $ ? (A("replaceCaret pr", $), S === "0" ? w === "0" ? k = ">=" + S + "." + w + "." + L + "-" + $ + " <" + S + "." + w + "." + (+L + 1) : k = ">=" + S + "." + w + "." + L + "-" + $ + " <" + S + "." + (+w + 1) + ".0" : k = ">=" + S + "." + w + "." + L + "-" + $ + " <" + (+S + 1) + ".0.0") : (A("no pr"), S === "0" ? w === "0" ? k = ">=" + S + "." + w + "." + L + " <" + S + "." + w + "." + (+L + 1) : k = ">=" + S + "." + w + "." + L + " <" + S + "." + (+w + 1) + ".0" : k = ">=" + S + "." + w + "." + L + " <" + (+S + 1) + ".0.0"), A("caret return", k), k;
707
708
  });
708
709
  }
709
- function Pr(e, a) {
710
- return O("replaceXRanges", e, a), e.split(/\s+/).map(function(c) {
711
- return br(c, a);
710
+ function _r(e, a) {
711
+ return A("replaceXRanges", e, a), e.split(/\s+/).map(function(c) {
712
+ return kr(c, a);
712
713
  }).join(" ");
713
714
  }
714
- function br(e, a) {
715
+ function kr(e, a) {
715
716
  e = e.trim();
716
717
  var c = a.loose ? D[d.XRANGELOOSE] : D[d.XRANGE];
717
- return e.replace(c, function(R, S, w, v, $, j) {
718
- O("xRange", e, R, S, w, v, $, j);
719
- var he = U(w), Ee = he || U(v), se = Ee || U($), te = se;
720
- return S === "=" && te && (S = ""), j = a.includePrerelease ? "-0" : "", he ? S === ">" || S === "<" ? R = "<0.0.0-0" : R = "*" : S && te ? (Ee && (v = 0), $ = 0, S === ">" ? (S = ">=", Ee ? (w = +w + 1, v = 0, $ = 0) : (v = +v + 1, $ = 0)) : S === "<=" && (S = "<", Ee ? w = +w + 1 : v = +v + 1), R = S + w + "." + v + "." + $ + j) : Ee ? R = ">=" + w + ".0.0" + j + " <" + (+w + 1) + ".0.0" + j : se && (R = ">=" + w + "." + v + ".0" + j + " <" + w + "." + (+v + 1) + ".0" + j), O("xRange return", R), R;
718
+ return e.replace(c, function(R, S, w, L, $, k) {
719
+ A("xRange", e, R, S, w, L, $, k);
720
+ var he = U(w), Ee = he || U(L), se = Ee || U($), te = se;
721
+ return S === "=" && te && (S = ""), k = a.includePrerelease ? "-0" : "", he ? S === ">" || S === "<" ? R = "<0.0.0-0" : R = "*" : S && te ? (Ee && (L = 0), $ = 0, S === ">" ? (S = ">=", Ee ? (w = +w + 1, L = 0, $ = 0) : (L = +L + 1, $ = 0)) : S === "<=" && (S = "<", Ee ? w = +w + 1 : L = +L + 1), R = S + w + "." + L + "." + $ + k) : Ee ? R = ">=" + w + ".0.0" + k + " <" + (+w + 1) + ".0.0" + k : se && (R = ">=" + w + "." + L + ".0" + k + " <" + w + "." + (+L + 1) + ".0" + k), A("xRange return", R), R;
721
722
  });
722
723
  }
723
- function _r(e, a) {
724
- return O("replaceStars", e, a), e.trim().replace(D[d.STAR], "");
724
+ function jr(e, a) {
725
+ return A("replaceStars", e, a), e.trim().replace(D[d.STAR], "");
725
726
  }
726
- function jr(e, a, c, R, S, w, v, $, j, he, Ee, se, te) {
727
- return U(c) ? a = "" : U(R) ? a = ">=" + c + ".0.0" : U(S) ? a = ">=" + c + "." + R + ".0" : a = ">=" + a, U(j) ? $ = "" : U(he) ? $ = "<" + (+j + 1) + ".0.0" : U(Ee) ? $ = "<" + j + "." + (+he + 1) + ".0" : se ? $ = "<=" + j + "." + he + "." + Ee + "-" + se : $ = "<=" + $, (a + " " + $).trim();
727
+ function Fr(e, a, c, R, S, w, L, $, k, he, Ee, se, te) {
728
+ return U(c) ? a = "" : U(R) ? a = ">=" + c + ".0.0" : U(S) ? a = ">=" + c + "." + R + ".0" : a = ">=" + a, U(k) ? $ = "" : U(he) ? $ = "<" + (+k + 1) + ".0.0" : U(Ee) ? $ = "<" + k + "." + (+he + 1) + ".0" : se ? $ = "<=" + k + "." + he + "." + Ee + "-" + se : $ = "<=" + $, (a + " " + $).trim();
728
729
  }
729
730
  G.prototype.test = function(e) {
730
731
  if (!e)
731
732
  return !1;
732
733
  if (typeof e == "string")
733
734
  try {
734
- e = new P(e, this.options);
735
+ e = new b(e, this.options);
735
736
  } catch {
736
737
  return !1;
737
738
  }
738
739
  for (var a = 0; a < this.set.length; a++)
739
- if (kr(this.set[a], e, this.options))
740
+ if (Ur(this.set[a], e, this.options))
740
741
  return !0;
741
742
  return !1;
742
743
  };
743
- function kr(e, a, c) {
744
+ function Ur(e, a, c) {
744
745
  for (var R = 0; R < e.length; R++)
745
746
  if (!e[R].test(a))
746
747
  return !1;
747
748
  if (a.prerelease.length && !c.includePrerelease) {
748
749
  for (R = 0; R < e.length; R++)
749
- if (O(e[R].semver), e[R].semver !== fe && e[R].semver.prerelease.length > 0) {
750
+ if (A(e[R].semver), e[R].semver !== fe && e[R].semver.prerelease.length > 0) {
750
751
  var S = e[R].semver;
751
752
  if (S.major === a.major && S.minor === a.minor && S.patch === a.patch)
752
753
  return !0;
@@ -764,47 +765,47 @@ var Ze = { exports: {} };
764
765
  }
765
766
  return a.test(e);
766
767
  }
767
- f.maxSatisfying = Fr;
768
- function Fr(e, a, c) {
768
+ f.maxSatisfying = Br;
769
+ function Br(e, a, c) {
769
770
  var R = null, S = null;
770
771
  try {
771
772
  var w = new G(a, c);
772
773
  } catch {
773
774
  return null;
774
775
  }
775
- return e.forEach(function(v) {
776
- w.test(v) && (!R || S.compare(v) === -1) && (R = v, S = new P(R, c));
776
+ return e.forEach(function(L) {
777
+ w.test(L) && (!R || S.compare(L) === -1) && (R = L, S = new b(R, c));
777
778
  }), R;
778
779
  }
779
- f.minSatisfying = Ur;
780
- function Ur(e, a, c) {
780
+ f.minSatisfying = xr;
781
+ function xr(e, a, c) {
781
782
  var R = null, S = null;
782
783
  try {
783
784
  var w = new G(a, c);
784
785
  } catch {
785
786
  return null;
786
787
  }
787
- return e.forEach(function(v) {
788
- w.test(v) && (!R || S.compare(v) === 1) && (R = v, S = new P(R, c));
788
+ return e.forEach(function(L) {
789
+ w.test(L) && (!R || S.compare(L) === 1) && (R = L, S = new b(R, c));
789
790
  }), R;
790
791
  }
791
- f.minVersion = Br;
792
- function Br(e, a) {
792
+ f.minVersion = Mr;
793
+ function Mr(e, a) {
793
794
  e = new G(e, a);
794
- var c = new P("0.0.0");
795
- if (e.test(c) || (c = new P("0.0.0-0"), e.test(c)))
795
+ var c = new b("0.0.0");
796
+ if (e.test(c) || (c = new b("0.0.0-0"), e.test(c)))
796
797
  return c;
797
798
  c = null;
798
799
  for (var R = 0; R < e.set.length; ++R) {
799
800
  var S = e.set[R];
800
801
  S.forEach(function(w) {
801
- var v = new P(w.semver.version);
802
+ var L = new b(w.semver.version);
802
803
  switch (w.operator) {
803
804
  case ">":
804
- v.prerelease.length === 0 ? v.patch++ : v.prerelease.push(0), v.raw = v.format();
805
+ L.prerelease.length === 0 ? L.patch++ : L.prerelease.push(0), L.raw = L.format();
805
806
  case "":
806
807
  case ">=":
807
- (!c || F(c, v)) && (c = v);
808
+ (!c || F(c, L)) && (c = L);
808
809
  break;
809
810
  case "<":
810
811
  case "<=":
@@ -816,32 +817,32 @@ var Ze = { exports: {} };
816
817
  }
817
818
  return c && e.test(c) ? c : null;
818
819
  }
819
- f.validRange = xr;
820
- function xr(e, a) {
820
+ f.validRange = Gr;
821
+ function Gr(e, a) {
821
822
  try {
822
823
  return new G(e, a).range || "*";
823
824
  } catch {
824
825
  return null;
825
826
  }
826
827
  }
827
- f.ltr = Mr;
828
- function Mr(e, a, c) {
828
+ f.ltr = $r;
829
+ function $r(e, a, c) {
829
830
  return Ue(e, a, "<", c);
830
831
  }
831
- f.gtr = Gr;
832
- function Gr(e, a, c) {
832
+ f.gtr = Xr;
833
+ function Xr(e, a, c) {
833
834
  return Ue(e, a, ">", c);
834
835
  }
835
836
  f.outside = Ue;
836
837
  function Ue(e, a, c, R) {
837
- e = new P(e, R), a = new G(a, R);
838
- var S, w, v, $, j;
838
+ e = new b(e, R), a = new G(a, R);
839
+ var S, w, L, $, k;
839
840
  switch (c) {
840
841
  case ">":
841
- S = F, w = H, v = V, $ = ">", j = ">=";
842
+ S = F, w = H, L = V, $ = ">", k = ">=";
842
843
  break;
843
844
  case "<":
844
- S = V, w = X, v = F, $ = "<", j = "<=";
845
+ S = V, w = X, L = F, $ = "<", k = "<=";
845
846
  break;
846
847
  default:
847
848
  throw new TypeError('Must provide a hilo val of "<" or ">"');
@@ -850,27 +851,27 @@ var Ze = { exports: {} };
850
851
  return !1;
851
852
  for (var he = 0; he < a.set.length; ++he) {
852
853
  var Ee = a.set[he], se = null, te = null;
853
- if (Ee.forEach(function(Ae) {
854
- Ae.semver === fe && (Ae = new Z(">=0.0.0")), se = se || Ae, te = te || Ae, S(Ae.semver, se.semver, R) ? se = Ae : v(Ae.semver, te.semver, R) && (te = Ae);
855
- }), se.operator === $ || se.operator === j || (!te.operator || te.operator === $) && w(e, te.semver))
854
+ if (Ee.forEach(function(Oe) {
855
+ Oe.semver === fe && (Oe = new Y(">=0.0.0")), se = se || Oe, te = te || Oe, S(Oe.semver, se.semver, R) ? se = Oe : L(Oe.semver, te.semver, R) && (te = Oe);
856
+ }), se.operator === $ || se.operator === k || (!te.operator || te.operator === $) && w(e, te.semver))
856
857
  return !1;
857
- if (te.operator === j && v(e, te.semver))
858
+ if (te.operator === k && L(e, te.semver))
858
859
  return !1;
859
860
  }
860
861
  return !0;
861
862
  }
862
- f.prerelease = $r;
863
- function $r(e, a) {
863
+ f.prerelease = Vr;
864
+ function Vr(e, a) {
864
865
  var c = ue(e, a);
865
866
  return c && c.prerelease.length ? c.prerelease : null;
866
867
  }
867
- f.intersects = Xr;
868
- function Xr(e, a, c) {
868
+ f.intersects = qr;
869
+ function qr(e, a, c) {
869
870
  return e = new G(e, c), a = new G(a, c), e.intersects(a);
870
871
  }
871
- f.coerce = Vr;
872
- function Vr(e, a) {
873
- if (e instanceof P)
872
+ f.coerce = zr;
873
+ function zr(e, a) {
874
+ if (e instanceof b)
874
875
  return e;
875
876
  if (typeof e == "number" && (e = String(e)), typeof e != "string")
876
877
  return null;
@@ -885,14 +886,14 @@ var Ze = { exports: {} };
885
886
  }
886
887
  return c === null ? null : ue(c[2] + "." + (c[3] || "0") + "." + (c[4] || "0"), a);
887
888
  }
888
- })(Ze, Ze.exports);
889
- var vt = Ze.exports;
890
- const kn = /* @__PURE__ */ wt(vt), Fn = (s) => s == null ? [] : Array.isArray(s) ? s : [s], Un = t.any().refine((s) => typeof s == "bigint", {
889
+ })(Ye, Ye.exports);
890
+ var yt = Ye.exports;
891
+ const xn = /* @__PURE__ */ Lt(yt), Mn = (s) => s == null ? [] : Array.isArray(s) ? s : [s], Gn = t.any().refine((s) => typeof s == "bigint", {
891
892
  message: "Value must be a BigInt"
892
893
  }).transform((s) => BigInt(s));
893
- var Lt = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, Be = Math.ceil, ae = Math.floor, ee = "[BigNumber Error] ", cr = ee + "Number primitive has more than 15 significant digits: ", ce = 1e14, _ = 14, xe = 9007199254740991, Me = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], Oe = 1e7, W = 1e9;
894
- function pr(s) {
895
- var f, O, L, A = T.prototype = { constructor: T, toString: null, valueOf: null }, M = new T(1), x = 20, k = 4, D = -7, I = 21, d = -1e7, K = 1e7, b = !1, pe = 1, ne = 0, de = {
894
+ var Ct = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, Be = Math.ceil, ae = Math.floor, ee = "[BigNumber Error] ", lr = ee + "Number primitive has more than 15 significant digits: ", ce = 1e14, _ = 14, xe = 9007199254740991, Me = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], Ae = 1e7, W = 1e9;
895
+ function mr(s) {
896
+ var f, A, v, N = T.prototype = { constructor: T, toString: null, valueOf: null }, M = new T(1), x = 20, j = 4, D = -7, I = 21, d = -1e7, K = 1e7, P = !1, pe = 1, ne = 0, de = {
896
897
  prefix: "",
897
898
  groupSize: 3,
898
899
  secondaryGroupSize: 0,
@@ -919,17 +920,17 @@ function pr(s) {
919
920
  }
920
921
  m = String(r);
921
922
  } else {
922
- if (!Lt.test(m = String(r))) return L(p, m, o);
923
+ if (!Ct.test(m = String(r))) return v(p, m, o);
923
924
  p.s = m.charCodeAt(0) == 45 ? (m = m.slice(1), -1) : 1;
924
925
  }
925
926
  (h = m.indexOf(".")) > -1 && (m = m.replace(".", "")), (g = m.search(/e/i)) > 0 ? (h < 0 && (h = g), h += +m.slice(g + 1), m = m.substring(0, g)) : h < 0 && (h = m.length);
926
927
  } else {
927
928
  if (z(n, 2, me.length, "Base"), n == 10 && Te)
928
- return p = new T(r), J(p, x + p.e + 1, k);
929
+ return p = new T(r), J(p, x + p.e + 1, j);
929
930
  if (m = String(r), o = typeof r == "number") {
930
- if (r * 0 != 0) return L(p, m, o, n);
931
+ if (r * 0 != 0) return v(p, m, o, n);
931
932
  if (p.s = 1 / r < 0 ? (m = m.slice(1), -1) : 1, T.DEBUG && m.replace(/^0\.0*|\./, "").length > 15)
932
- throw Error(cr + r);
933
+ throw Error(lr + r);
933
934
  } else
934
935
  p.s = m.charCodeAt(0) === 45 ? (m = m.slice(1), -1) : 1;
935
936
  for (i = me.slice(0, n), h = g = 0, u = m.length; g < u; g++)
@@ -943,15 +944,15 @@ function pr(s) {
943
944
  l = !0, g = -1, h = 0;
944
945
  continue;
945
946
  }
946
- return L(p, String(r), o, n);
947
+ return v(p, String(r), o, n);
947
948
  }
948
- o = !1, m = O(m, n, 10, p.s), (h = m.indexOf(".")) > -1 ? m = m.replace(".", "") : h = m.length;
949
+ o = !1, m = A(m, n, 10, p.s), (h = m.indexOf(".")) > -1 ? m = m.replace(".", "") : h = m.length;
949
950
  }
950
951
  for (g = 0; m.charCodeAt(g) === 48; g++) ;
951
952
  for (u = m.length; m.charCodeAt(--u) === 48; ) ;
952
953
  if (m = m.slice(g, ++u)) {
953
954
  if (u -= g, o && T.DEBUG && u > 15 && (r > xe || r !== ae(r)))
954
- throw Error(cr + p.s * r);
955
+ throw Error(lr + p.s * r);
955
956
  if ((h = h - g - 1) > K)
956
957
  p.c = p.e = null;
957
958
  else if (h < d)
@@ -969,11 +970,11 @@ function pr(s) {
969
970
  } else
970
971
  p.c = [p.e = 0];
971
972
  }
972
- T.clone = pr, T.ROUND_UP = 0, T.ROUND_DOWN = 1, T.ROUND_CEIL = 2, T.ROUND_FLOOR = 3, T.ROUND_HALF_UP = 4, T.ROUND_HALF_DOWN = 5, T.ROUND_HALF_EVEN = 6, T.ROUND_HALF_CEIL = 7, T.ROUND_HALF_FLOOR = 8, T.EUCLID = 9, T.config = T.set = function(r) {
973
+ T.clone = mr, T.ROUND_UP = 0, T.ROUND_DOWN = 1, T.ROUND_CEIL = 2, T.ROUND_FLOOR = 3, T.ROUND_HALF_UP = 4, T.ROUND_HALF_DOWN = 5, T.ROUND_HALF_EVEN = 6, T.ROUND_HALF_CEIL = 7, T.ROUND_HALF_FLOOR = 8, T.EUCLID = 9, T.config = T.set = function(r) {
973
974
  var n, i;
974
975
  if (r != null)
975
976
  if (typeof r == "object") {
976
- if (r.hasOwnProperty(n = "DECIMAL_PLACES") && (i = r[n], z(i, 0, W, n), x = i), r.hasOwnProperty(n = "ROUNDING_MODE") && (i = r[n], z(i, 0, 8, n), k = i), r.hasOwnProperty(n = "EXPONENTIAL_AT") && (i = r[n], i && i.pop ? (z(i[0], -W, 0, n), z(i[1], 0, W, n), D = i[0], I = i[1]) : (z(i, -W, W, n), D = -(I = i < 0 ? -i : i))), r.hasOwnProperty(n = "RANGE"))
977
+ if (r.hasOwnProperty(n = "DECIMAL_PLACES") && (i = r[n], z(i, 0, W, n), x = i), r.hasOwnProperty(n = "ROUNDING_MODE") && (i = r[n], z(i, 0, 8, n), j = i), r.hasOwnProperty(n = "EXPONENTIAL_AT") && (i = r[n], i && i.pop ? (z(i[0], -W, 0, n), z(i[1], 0, W, n), D = i[0], I = i[1]) : (z(i, -W, W, n), D = -(I = i < 0 ? -i : i))), r.hasOwnProperty(n = "RANGE"))
977
978
  if (i = r[n], i && i.pop)
978
979
  z(i[0], -W, -1, n), z(i[1], 1, W, n), d = i[0], K = i[1];
979
980
  else if (z(i, -W, W, n), i)
@@ -984,11 +985,11 @@ function pr(s) {
984
985
  if (i = r[n], i === !!i)
985
986
  if (i)
986
987
  if (typeof crypto < "u" && crypto && (crypto.getRandomValues || crypto.randomBytes))
987
- b = i;
988
+ P = i;
988
989
  else
989
- throw b = !i, Error(ee + "crypto unavailable");
990
+ throw P = !i, Error(ee + "crypto unavailable");
990
991
  else
991
- b = i;
992
+ P = i;
992
993
  else
993
994
  throw Error(ee + n + " not true or false: " + i);
994
995
  if (r.hasOwnProperty(n = "MODULO_MODE") && (i = r[n], z(i, 0, 9, n), pe = i), r.hasOwnProperty(n = "POW_PRECISION") && (i = r[n], z(i, 0, W, n), ne = i), r.hasOwnProperty(n = "FORMAT"))
@@ -1003,10 +1004,10 @@ function pr(s) {
1003
1004
  throw Error(ee + "Object expected: " + r);
1004
1005
  return {
1005
1006
  DECIMAL_PLACES: x,
1006
- ROUNDING_MODE: k,
1007
+ ROUNDING_MODE: j,
1007
1008
  EXPONENTIAL_AT: [D, I],
1008
1009
  RANGE: [d, K],
1009
- CRYPTO: b,
1010
+ CRYPTO: P,
1010
1011
  MODULO_MODE: pe,
1011
1012
  POW_PRECISION: ne,
1012
1013
  FORMAT: de,
@@ -1043,7 +1044,7 @@ function pr(s) {
1043
1044
  };
1044
1045
  return function(i) {
1045
1046
  var E, l, h, g, o, u = 0, m = [], p = new T(M);
1046
- if (i == null ? i = x : z(i, 0, W), g = Be(i / _), b)
1047
+ if (i == null ? i = x : z(i, 0, W), g = Be(i / _), P)
1047
1048
  if (crypto.getRandomValues) {
1048
1049
  for (E = crypto.getRandomValues(new Uint32Array(g *= 2)); u < g; )
1049
1050
  o = E[u] * 131072 + (E[u + 1] >>> 11), o >= 9e15 ? (l = crypto.getRandomValues(new Uint32Array(2)), E[u] = l[0], E[u + 1] = l[1]) : (m.push(o % 1e14), u += 2);
@@ -1053,8 +1054,8 @@ function pr(s) {
1053
1054
  o = (E[u] & 31) * 281474976710656 + E[u + 1] * 1099511627776 + E[u + 2] * 4294967296 + E[u + 3] * 16777216 + (E[u + 4] << 16) + (E[u + 5] << 8) + E[u + 6], o >= 9e15 ? crypto.randomBytes(7).copy(E, u) : (m.push(o % 1e14), u += 7);
1054
1055
  u = g / 7;
1055
1056
  } else
1056
- throw b = !1, Error(ee + "crypto unavailable");
1057
- if (!b)
1057
+ throw P = !1, Error(ee + "crypto unavailable");
1058
+ if (!P)
1058
1059
  for (; u < g; )
1059
1060
  o = n(), o < 9e15 && (m[u++] = o % 1e14);
1060
1061
  for (g = m[--u], i %= _, g && i && (o = Me[_ - i], m[u] = ae(g / o) * o); m[u] === 0; m.pop(), u--) ;
@@ -1070,7 +1071,7 @@ function pr(s) {
1070
1071
  }(), T.sum = function() {
1071
1072
  for (var r = 1, n = arguments, i = new T(n[0]); r < n.length; ) i = i.plus(n[r++]);
1072
1073
  return i;
1073
- }, O = /* @__PURE__ */ function() {
1074
+ }, A = /* @__PURE__ */ function() {
1074
1075
  var r = "0123456789";
1075
1076
  function n(i, E, l, h) {
1076
1077
  for (var g, o = [0], u, m = 0, p = i.length; m < p; ) {
@@ -1081,7 +1082,7 @@ function pr(s) {
1081
1082
  return o.reverse();
1082
1083
  }
1083
1084
  return function(i, E, l, h, g) {
1084
- var o, u, m, p, N, y, C, F, V = i.indexOf("."), q = x, B = k;
1085
+ var o, u, m, p, O, y, C, F, V = i.indexOf("."), q = x, B = j;
1085
1086
  for (V >= 0 && (p = ne, ne = 0, i = i.replace(".", ""), F = new T(E), y = F.pow(i.length - V), ne = p, F.c = n(
1086
1087
  Ie(ie(y.c), y.e, "0"),
1087
1088
  10,
@@ -1089,10 +1090,10 @@ function pr(s) {
1089
1090
  r
1090
1091
  ), F.e = F.c.length), C = n(i, E, l, g ? (o = me, r) : (o = r, me)), m = p = C.length; C[--p] == 0; C.pop()) ;
1091
1092
  if (!C[0]) return o.charAt(0);
1092
- if (V < 0 ? --m : (y.c = C, y.e = m, y.s = h, y = f(y, F, q, B, l), C = y.c, N = y.r, m = y.e), u = m + q + 1, V = C[u], p = l / 2, N = N || u < 0 || C[u + 1] != null, N = B < 4 ? (V != null || N) && (B == 0 || B == (y.s < 0 ? 3 : 2)) : V > p || V == p && (B == 4 || N || B == 6 && C[u - 1] & 1 || B == (y.s < 0 ? 8 : 7)), u < 1 || !C[0])
1093
- i = N ? Ie(o.charAt(1), -q, o.charAt(0)) : o.charAt(0);
1093
+ if (V < 0 ? --m : (y.c = C, y.e = m, y.s = h, y = f(y, F, q, B, l), C = y.c, O = y.r, m = y.e), u = m + q + 1, V = C[u], p = l / 2, O = O || u < 0 || C[u + 1] != null, O = B < 4 ? (V != null || O) && (B == 0 || B == (y.s < 0 ? 3 : 2)) : V > p || V == p && (B == 4 || O || B == 6 && C[u - 1] & 1 || B == (y.s < 0 ? 8 : 7)), u < 1 || !C[0])
1094
+ i = O ? Ie(o.charAt(1), -q, o.charAt(0)) : o.charAt(0);
1094
1095
  else {
1095
- if (C.length = u, N)
1096
+ if (C.length = u, O)
1096
1097
  for (--l; ++C[--u] > l; )
1097
1098
  C[u] = 0, u || (++m, C = [1].concat(C));
1098
1099
  for (p = C.length; !C[--p]; ) ;
@@ -1103,9 +1104,9 @@ function pr(s) {
1103
1104
  };
1104
1105
  }(), f = /* @__PURE__ */ function() {
1105
1106
  function r(E, l, h) {
1106
- var g, o, u, m, p = 0, N = E.length, y = l % Oe, C = l / Oe | 0;
1107
- for (E = E.slice(); N--; )
1108
- u = E[N] % Oe, m = E[N] / Oe | 0, g = C * u + m * y, o = y * u + g % Oe * Oe + p, p = (o / h | 0) + (g / Oe | 0) + C * m, E[N] = o % h;
1107
+ var g, o, u, m, p = 0, O = E.length, y = l % Ae, C = l / Ae | 0;
1108
+ for (E = E.slice(); O--; )
1109
+ u = E[O] % Ae, m = E[O] / Ae | 0, g = C * u + m * y, o = y * u + g % Ae * Ae + p, p = (o / h | 0) + (g / Ae | 0) + C * m, E[O] = o % h;
1109
1110
  return p && (E = [p].concat(E)), E;
1110
1111
  }
1111
1112
  function n(E, l, h, g) {
@@ -1126,20 +1127,20 @@ function pr(s) {
1126
1127
  for (; !E[0] && E.length > 1; E.splice(0, 1)) ;
1127
1128
  }
1128
1129
  return function(E, l, h, g, o) {
1129
- var u, m, p, N, y, C, F, V, q, B, X, H, ge, Z, fe, G, Ne, Q = E.s == l.s ? 1 : -1, Y = E.c, U = l.c;
1130
- if (!Y || !Y[0] || !U || !U[0])
1130
+ var u, m, p, O, y, C, F, V, q, B, X, H, ge, Y, fe, G, Ne, Q = E.s == l.s ? 1 : -1, Z = E.c, U = l.c;
1131
+ if (!Z || !Z[0] || !U || !U[0])
1131
1132
  return new T(
1132
1133
  // Return NaN if either NaN, or both Infinity or 0.
1133
- !E.s || !l.s || (Y ? U && Y[0] == U[0] : !U) ? NaN : (
1134
+ !E.s || !l.s || (Z ? U && Z[0] == U[0] : !U) ? NaN : (
1134
1135
  // Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0.
1135
- Y && Y[0] == 0 || !U ? Q * 0 : Q / 0
1136
+ Z && Z[0] == 0 || !U ? Q * 0 : Q / 0
1136
1137
  )
1137
1138
  );
1138
- for (V = new T(Q), q = V.c = [], m = E.e - l.e, Q = h + m + 1, o || (o = ce, m = oe(E.e / _) - oe(l.e / _), Q = Q / _ | 0), p = 0; U[p] == (Y[p] || 0); p++) ;
1139
- if (U[p] > (Y[p] || 0) && m--, Q < 0)
1140
- q.push(1), N = !0;
1139
+ for (V = new T(Q), q = V.c = [], m = E.e - l.e, Q = h + m + 1, o || (o = ce, m = oe(E.e / _) - oe(l.e / _), Q = Q / _ | 0), p = 0; U[p] == (Z[p] || 0); p++) ;
1140
+ if (U[p] > (Z[p] || 0) && m--, Q < 0)
1141
+ q.push(1), O = !0;
1141
1142
  else {
1142
- for (Z = Y.length, G = U.length, p = 0, Q += 2, y = ae(o / (U[0] + 1)), y > 1 && (U = r(U, y, o), Y = r(Y, y, o), G = U.length, Z = Y.length), ge = G, B = Y.slice(0, G), X = B.length; X < G; B[X++] = 0) ;
1143
+ for (Y = Z.length, G = U.length, p = 0, Q += 2, y = ae(o / (U[0] + 1)), y > 1 && (U = r(U, y, o), Z = r(Z, y, o), G = U.length, Y = Z.length), ge = G, B = Z.slice(0, G), X = B.length; X < G; B[X++] = 0) ;
1143
1144
  Ne = U.slice(), Ne = [0].concat(Ne), fe = U[0], U[1] >= o / 2 && fe++;
1144
1145
  do {
1145
1146
  if (y = 0, u = n(U, B, G, X), u < 0) {
@@ -1152,21 +1153,21 @@ function pr(s) {
1152
1153
  for (; n(U, B, G, X) < 1; )
1153
1154
  y++, i(B, G < X ? Ne : U, X, o), X = B.length;
1154
1155
  } else u === 0 && (y++, B = [0]);
1155
- q[p++] = y, B[0] ? B[X++] = Y[ge] || 0 : (B = [Y[ge]], X = 1);
1156
- } while ((ge++ < Z || B[0] != null) && Q--);
1157
- N = B[0] != null, q[0] || q.splice(0, 1);
1156
+ q[p++] = y, B[0] ? B[X++] = Z[ge] || 0 : (B = [Z[ge]], X = 1);
1157
+ } while ((ge++ < Y || B[0] != null) && Q--);
1158
+ O = B[0] != null, q[0] || q.splice(0, 1);
1158
1159
  }
1159
1160
  if (o == ce) {
1160
1161
  for (p = 1, Q = q[0]; Q >= 10; Q /= 10, p++) ;
1161
- J(V, h + (V.e = p + m * _ - 1) + 1, g, N);
1162
+ J(V, h + (V.e = p + m * _ - 1) + 1, g, O);
1162
1163
  } else
1163
- V.e = m, V.r = +N;
1164
+ V.e = m, V.r = +O;
1164
1165
  return V;
1165
1166
  };
1166
1167
  }();
1167
1168
  function re(r, n, i, E) {
1168
1169
  var l, h, g, o, u;
1169
- if (i == null ? i = k : z(i, 0, 8), !r.c) return r.toString();
1170
+ if (i == null ? i = j : z(i, 0, 8), !r.c) return r.toString();
1170
1171
  if (l = r.c[0], g = r.e, n == null)
1171
1172
  u = ie(r.c), u = E == 1 || E == 2 && (g <= D || g >= I) ? De(u, g) : Ie(u, g, "0");
1172
1173
  else if (r = J(new T(r), n, i), h = r.e, u = ie(r.c), o = u.length, E == 1 || E == 2 && (n <= h || h <= D)) {
@@ -1188,15 +1189,15 @@ function pr(s) {
1188
1189
  for (l = n[0]; l >= 10; l /= 10, E++) ;
1189
1190
  return (i = E + i * _ - 1) > K ? r.c = r.e = null : i < d ? r.c = [r.e = 0] : (r.e = i, r.c = n), r;
1190
1191
  }
1191
- L = /* @__PURE__ */ function() {
1192
+ v = /* @__PURE__ */ function() {
1192
1193
  var r = /^(-?)0([xbo])(?=\w[\w.]*$)/i, n = /^([^.]+)\.$/, i = /^\.([^.]+)$/, E = /^-?(Infinity|NaN)$/, l = /^\s*\+(?=[\w.])|^\s+|\s+$/g;
1193
1194
  return function(h, g, o, u) {
1194
1195
  var m, p = o ? g : g.replace(l, "");
1195
1196
  if (E.test(p))
1196
1197
  h.s = isNaN(p) ? null : p < 0 ? -1 : 1;
1197
1198
  else {
1198
- if (!o && (p = p.replace(r, function(N, y, C) {
1199
- return m = (C = C.toLowerCase()) == "x" ? 16 : C == "b" ? 2 : 8, !u || u == m ? y : N;
1199
+ if (!o && (p = p.replace(r, function(O, y, C) {
1200
+ return m = (C = C.toLowerCase()) == "x" ? 16 : C == "b" ? 2 : 8, !u || u == m ? y : O;
1200
1201
  }), u && (m = u, p = p.replace(n, "$1").replace(i, "0.$1")), g != p))
1201
1202
  return new T(p, m);
1202
1203
  if (T.DEBUG)
@@ -1207,82 +1208,82 @@ function pr(s) {
1207
1208
  };
1208
1209
  }();
1209
1210
  function J(r, n, i, E) {
1210
- var l, h, g, o, u, m, p, N = r.c, y = Me;
1211
- if (N) {
1211
+ var l, h, g, o, u, m, p, O = r.c, y = Me;
1212
+ if (O) {
1212
1213
  e: {
1213
- for (l = 1, o = N[0]; o >= 10; o /= 10, l++) ;
1214
+ for (l = 1, o = O[0]; o >= 10; o /= 10, l++) ;
1214
1215
  if (h = n - l, h < 0)
1215
- h += _, g = n, u = N[m = 0], p = ae(u / y[l - g - 1] % 10);
1216
- else if (m = Be((h + 1) / _), m >= N.length)
1216
+ h += _, g = n, u = O[m = 0], p = ae(u / y[l - g - 1] % 10);
1217
+ else if (m = Be((h + 1) / _), m >= O.length)
1217
1218
  if (E) {
1218
- for (; N.length <= m; N.push(0)) ;
1219
+ for (; O.length <= m; O.push(0)) ;
1219
1220
  u = p = 0, l = 1, h %= _, g = h - _ + 1;
1220
1221
  } else
1221
1222
  break e;
1222
1223
  else {
1223
- for (u = o = N[m], l = 1; o >= 10; o /= 10, l++) ;
1224
+ for (u = o = O[m], l = 1; o >= 10; o /= 10, l++) ;
1224
1225
  h %= _, g = h - _ + l, p = g < 0 ? 0 : ae(u / y[l - g - 1] % 10);
1225
1226
  }
1226
1227
  if (E = E || n < 0 || // Are there any non-zero digits after the rounding digit?
1227
1228
  // The expression n % pows10[d - j - 1] returns all digits of n to the right
1228
1229
  // of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714.
1229
- N[m + 1] != null || (g < 0 ? u : u % y[l - g - 1]), E = i < 4 ? (p || E) && (i == 0 || i == (r.s < 0 ? 3 : 2)) : p > 5 || p == 5 && (i == 4 || E || i == 6 && // Check whether the digit to the left of the rounding digit is odd.
1230
- (h > 0 ? g > 0 ? u / y[l - g] : 0 : N[m - 1]) % 10 & 1 || i == (r.s < 0 ? 8 : 7)), n < 1 || !N[0])
1231
- return N.length = 0, E ? (n -= r.e + 1, N[0] = y[(_ - n % _) % _], r.e = -n || 0) : N[0] = r.e = 0, r;
1232
- if (h == 0 ? (N.length = m, o = 1, m--) : (N.length = m + 1, o = y[_ - h], N[m] = g > 0 ? ae(u / y[l - g] % y[g]) * o : 0), E)
1230
+ O[m + 1] != null || (g < 0 ? u : u % y[l - g - 1]), E = i < 4 ? (p || E) && (i == 0 || i == (r.s < 0 ? 3 : 2)) : p > 5 || p == 5 && (i == 4 || E || i == 6 && // Check whether the digit to the left of the rounding digit is odd.
1231
+ (h > 0 ? g > 0 ? u / y[l - g] : 0 : O[m - 1]) % 10 & 1 || i == (r.s < 0 ? 8 : 7)), n < 1 || !O[0])
1232
+ return O.length = 0, E ? (n -= r.e + 1, O[0] = y[(_ - n % _) % _], r.e = -n || 0) : O[0] = r.e = 0, r;
1233
+ if (h == 0 ? (O.length = m, o = 1, m--) : (O.length = m + 1, o = y[_ - h], O[m] = g > 0 ? ae(u / y[l - g] % y[g]) * o : 0), E)
1233
1234
  for (; ; )
1234
1235
  if (m == 0) {
1235
- for (h = 1, g = N[0]; g >= 10; g /= 10, h++) ;
1236
- for (g = N[0] += o, o = 1; g >= 10; g /= 10, o++) ;
1237
- h != o && (r.e++, N[0] == ce && (N[0] = 1));
1236
+ for (h = 1, g = O[0]; g >= 10; g /= 10, h++) ;
1237
+ for (g = O[0] += o, o = 1; g >= 10; g /= 10, o++) ;
1238
+ h != o && (r.e++, O[0] == ce && (O[0] = 1));
1238
1239
  break;
1239
1240
  } else {
1240
- if (N[m] += o, N[m] != ce) break;
1241
- N[m--] = 0, o = 1;
1241
+ if (O[m] += o, O[m] != ce) break;
1242
+ O[m--] = 0, o = 1;
1242
1243
  }
1243
- for (h = N.length; N[--h] === 0; N.pop()) ;
1244
+ for (h = O.length; O[--h] === 0; O.pop()) ;
1244
1245
  }
1245
1246
  r.e > K ? r.c = r.e = null : r.e < d && (r.c = [r.e = 0]);
1246
1247
  }
1247
1248
  return r;
1248
1249
  }
1249
- function P(r) {
1250
+ function b(r) {
1250
1251
  var n, i = r.e;
1251
1252
  return i === null ? r.toString() : (n = ie(r.c), n = i <= D || i >= I ? De(n, i) : Ie(n, i, "0"), r.s < 0 ? "-" + n : n);
1252
1253
  }
1253
- return A.absoluteValue = A.abs = function() {
1254
+ return N.absoluteValue = N.abs = function() {
1254
1255
  var r = new T(this);
1255
1256
  return r.s < 0 && (r.s = 1), r;
1256
- }, A.comparedTo = function(r, n) {
1257
+ }, N.comparedTo = function(r, n) {
1257
1258
  return Se(this, new T(r, n));
1258
- }, A.decimalPlaces = A.dp = function(r, n) {
1259
+ }, N.decimalPlaces = N.dp = function(r, n) {
1259
1260
  var i, E, l, h = this;
1260
1261
  if (r != null)
1261
- return z(r, 0, W), n == null ? n = k : z(n, 0, 8), J(new T(h), r + h.e + 1, n);
1262
+ return z(r, 0, W), n == null ? n = j : z(n, 0, 8), J(new T(h), r + h.e + 1, n);
1262
1263
  if (!(i = h.c)) return null;
1263
1264
  if (E = ((l = i.length - 1) - oe(this.e / _)) * _, l = i[l]) for (; l % 10 == 0; l /= 10, E--) ;
1264
1265
  return E < 0 && (E = 0), E;
1265
- }, A.dividedBy = A.div = function(r, n) {
1266
- return f(this, new T(r, n), x, k);
1267
- }, A.dividedToIntegerBy = A.idiv = function(r, n) {
1266
+ }, N.dividedBy = N.div = function(r, n) {
1267
+ return f(this, new T(r, n), x, j);
1268
+ }, N.dividedToIntegerBy = N.idiv = function(r, n) {
1268
1269
  return f(this, new T(r, n), 0, 1);
1269
- }, A.exponentiatedBy = A.pow = function(r, n) {
1270
- var i, E, l, h, g, o, u, m, p, N = this;
1270
+ }, N.exponentiatedBy = N.pow = function(r, n) {
1271
+ var i, E, l, h, g, o, u, m, p, O = this;
1271
1272
  if (r = new T(r), r.c && !r.isInteger())
1272
- throw Error(ee + "Exponent not an integer: " + P(r));
1273
- if (n != null && (n = new T(n)), o = r.e > 14, !N.c || !N.c[0] || N.c[0] == 1 && !N.e && N.c.length == 1 || !r.c || !r.c[0])
1274
- return p = new T(Math.pow(+P(N), o ? r.s * (2 - Ce(r)) : +P(r))), n ? p.mod(n) : p;
1273
+ throw Error(ee + "Exponent not an integer: " + b(r));
1274
+ if (n != null && (n = new T(n)), o = r.e > 14, !O.c || !O.c[0] || O.c[0] == 1 && !O.e && O.c.length == 1 || !r.c || !r.c[0])
1275
+ return p = new T(Math.pow(+b(O), o ? r.s * (2 - Ce(r)) : +b(r))), n ? p.mod(n) : p;
1275
1276
  if (u = r.s < 0, n) {
1276
1277
  if (n.c ? !n.c[0] : !n.s) return new T(NaN);
1277
- E = !u && N.isInteger() && n.isInteger(), E && (N = N.mod(n));
1278
+ E = !u && O.isInteger() && n.isInteger(), E && (O = O.mod(n));
1278
1279
  } else {
1279
- if (r.e > 9 && (N.e > 0 || N.e < -1 || (N.e == 0 ? N.c[0] > 1 || o && N.c[1] >= 24e7 : N.c[0] < 8e13 || o && N.c[0] <= 9999975e7)))
1280
- return h = N.s < 0 && Ce(r) ? -0 : 0, N.e > -1 && (h = 1 / h), new T(u ? 1 / h : h);
1280
+ if (r.e > 9 && (O.e > 0 || O.e < -1 || (O.e == 0 ? O.c[0] > 1 || o && O.c[1] >= 24e7 : O.c[0] < 8e13 || o && O.c[0] <= 9999975e7)))
1281
+ return h = O.s < 0 && Ce(r) ? -0 : 0, O.e > -1 && (h = 1 / h), new T(u ? 1 / h : h);
1281
1282
  ne && (h = Be(ne / _ + 2));
1282
1283
  }
1283
- for (o ? (i = new T(0.5), u && (r.s = 1), m = Ce(r)) : (l = Math.abs(+P(r)), m = l % 2), p = new T(M); ; ) {
1284
+ for (o ? (i = new T(0.5), u && (r.s = 1), m = Ce(r)) : (l = Math.abs(+b(r)), m = l % 2), p = new T(M); ; ) {
1284
1285
  if (m) {
1285
- if (p = p.times(N), !p.c) break;
1286
+ if (p = p.times(O), !p.c) break;
1286
1287
  h ? p.c.length > h && (p.c.length = h) : E && (p = p.mod(n));
1287
1288
  }
1288
1289
  if (l) {
@@ -1291,88 +1292,88 @@ function pr(s) {
1291
1292
  } else if (r = r.times(i), J(r, r.e + 1, 1), r.e > 14)
1292
1293
  m = Ce(r);
1293
1294
  else {
1294
- if (l = +P(r), l === 0) break;
1295
+ if (l = +b(r), l === 0) break;
1295
1296
  m = l % 2;
1296
1297
  }
1297
- N = N.times(N), h ? N.c && N.c.length > h && (N.c.length = h) : E && (N = N.mod(n));
1298
+ O = O.times(O), h ? O.c && O.c.length > h && (O.c.length = h) : E && (O = O.mod(n));
1298
1299
  }
1299
- return E ? p : (u && (p = M.div(p)), n ? p.mod(n) : h ? J(p, ne, k, g) : p);
1300
- }, A.integerValue = function(r) {
1300
+ return E ? p : (u && (p = M.div(p)), n ? p.mod(n) : h ? J(p, ne, j, g) : p);
1301
+ }, N.integerValue = function(r) {
1301
1302
  var n = new T(this);
1302
- return r == null ? r = k : z(r, 0, 8), J(n, n.e + 1, r);
1303
- }, A.isEqualTo = A.eq = function(r, n) {
1303
+ return r == null ? r = j : z(r, 0, 8), J(n, n.e + 1, r);
1304
+ }, N.isEqualTo = N.eq = function(r, n) {
1304
1305
  return Se(this, new T(r, n)) === 0;
1305
- }, A.isFinite = function() {
1306
+ }, N.isFinite = function() {
1306
1307
  return !!this.c;
1307
- }, A.isGreaterThan = A.gt = function(r, n) {
1308
+ }, N.isGreaterThan = N.gt = function(r, n) {
1308
1309
  return Se(this, new T(r, n)) > 0;
1309
- }, A.isGreaterThanOrEqualTo = A.gte = function(r, n) {
1310
+ }, N.isGreaterThanOrEqualTo = N.gte = function(r, n) {
1310
1311
  return (n = Se(this, new T(r, n))) === 1 || n === 0;
1311
- }, A.isInteger = function() {
1312
+ }, N.isInteger = function() {
1312
1313
  return !!this.c && oe(this.e / _) > this.c.length - 2;
1313
- }, A.isLessThan = A.lt = function(r, n) {
1314
+ }, N.isLessThan = N.lt = function(r, n) {
1314
1315
  return Se(this, new T(r, n)) < 0;
1315
- }, A.isLessThanOrEqualTo = A.lte = function(r, n) {
1316
+ }, N.isLessThanOrEqualTo = N.lte = function(r, n) {
1316
1317
  return (n = Se(this, new T(r, n))) === -1 || n === 0;
1317
- }, A.isNaN = function() {
1318
+ }, N.isNaN = function() {
1318
1319
  return !this.s;
1319
- }, A.isNegative = function() {
1320
+ }, N.isNegative = function() {
1320
1321
  return this.s < 0;
1321
- }, A.isPositive = function() {
1322
+ }, N.isPositive = function() {
1322
1323
  return this.s > 0;
1323
- }, A.isZero = function() {
1324
+ }, N.isZero = function() {
1324
1325
  return !!this.c && this.c[0] == 0;
1325
- }, A.minus = function(r, n) {
1326
+ }, N.minus = function(r, n) {
1326
1327
  var i, E, l, h, g = this, o = g.s;
1327
1328
  if (r = new T(r, n), n = r.s, !o || !n) return new T(NaN);
1328
1329
  if (o != n)
1329
1330
  return r.s = -n, g.plus(r);
1330
- var u = g.e / _, m = r.e / _, p = g.c, N = r.c;
1331
+ var u = g.e / _, m = r.e / _, p = g.c, O = r.c;
1331
1332
  if (!u || !m) {
1332
- if (!p || !N) return p ? (r.s = -n, r) : new T(N ? g : NaN);
1333
- if (!p[0] || !N[0])
1334
- return N[0] ? (r.s = -n, r) : new T(p[0] ? g : (
1333
+ if (!p || !O) return p ? (r.s = -n, r) : new T(O ? g : NaN);
1334
+ if (!p[0] || !O[0])
1335
+ return O[0] ? (r.s = -n, r) : new T(p[0] ? g : (
1335
1336
  // IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity
1336
- k == 3 ? -0 : 0
1337
+ j == 3 ? -0 : 0
1337
1338
  ));
1338
1339
  }
1339
1340
  if (u = oe(u), m = oe(m), p = p.slice(), o = u - m) {
1340
- for ((h = o < 0) ? (o = -o, l = p) : (m = u, l = N), l.reverse(), n = o; n--; l.push(0)) ;
1341
+ for ((h = o < 0) ? (o = -o, l = p) : (m = u, l = O), l.reverse(), n = o; n--; l.push(0)) ;
1341
1342
  l.reverse();
1342
1343
  } else
1343
- for (E = (h = (o = p.length) < (n = N.length)) ? o : n, o = n = 0; n < E; n++)
1344
- if (p[n] != N[n]) {
1345
- h = p[n] < N[n];
1344
+ for (E = (h = (o = p.length) < (n = O.length)) ? o : n, o = n = 0; n < E; n++)
1345
+ if (p[n] != O[n]) {
1346
+ h = p[n] < O[n];
1346
1347
  break;
1347
1348
  }
1348
- if (h && (l = p, p = N, N = l, r.s = -r.s), n = (E = N.length) - (i = p.length), n > 0) for (; n--; p[i++] = 0) ;
1349
+ if (h && (l = p, p = O, O = l, r.s = -r.s), n = (E = O.length) - (i = p.length), n > 0) for (; n--; p[i++] = 0) ;
1349
1350
  for (n = ce - 1; E > o; ) {
1350
- if (p[--E] < N[E]) {
1351
+ if (p[--E] < O[E]) {
1351
1352
  for (i = E; i && !p[--i]; p[i] = n) ;
1352
1353
  --p[i], p[E] += ce;
1353
1354
  }
1354
- p[E] -= N[E];
1355
+ p[E] -= O[E];
1355
1356
  }
1356
1357
  for (; p[0] == 0; p.splice(0, 1), --m) ;
1357
- return p[0] ? we(r, p, m) : (r.s = k == 3 ? -1 : 1, r.c = [r.e = 0], r);
1358
- }, A.modulo = A.mod = function(r, n) {
1358
+ return p[0] ? we(r, p, m) : (r.s = j == 3 ? -1 : 1, r.c = [r.e = 0], r);
1359
+ }, N.modulo = N.mod = function(r, n) {
1359
1360
  var i, E, l = this;
1360
1361
  return r = new T(r, n), !l.c || !r.s || r.c && !r.c[0] ? new T(NaN) : !r.c || l.c && !l.c[0] ? new T(l) : (pe == 9 ? (E = r.s, r.s = 1, i = f(l, r, 0, 3), r.s = E, i.s *= E) : i = f(l, r, 0, pe), r = l.minus(i.times(r)), !r.c[0] && pe == 1 && (r.s = l.s), r);
1361
- }, A.multipliedBy = A.times = function(r, n) {
1362
- var i, E, l, h, g, o, u, m, p, N, y, C, F, V, q, B = this, X = B.c, H = (r = new T(r, n)).c;
1362
+ }, N.multipliedBy = N.times = function(r, n) {
1363
+ var i, E, l, h, g, o, u, m, p, O, y, C, F, V, q, B = this, X = B.c, H = (r = new T(r, n)).c;
1363
1364
  if (!X || !H || !X[0] || !H[0])
1364
1365
  return !B.s || !r.s || X && !X[0] && !H || H && !H[0] && !X ? r.c = r.e = r.s = null : (r.s *= B.s, !X || !H ? r.c = r.e = null : (r.c = [0], r.e = 0)), r;
1365
- for (E = oe(B.e / _) + oe(r.e / _), r.s *= B.s, u = X.length, N = H.length, u < N && (F = X, X = H, H = F, l = u, u = N, N = l), l = u + N, F = []; l--; F.push(0)) ;
1366
- for (V = ce, q = Oe, l = N; --l >= 0; ) {
1366
+ for (E = oe(B.e / _) + oe(r.e / _), r.s *= B.s, u = X.length, O = H.length, u < O && (F = X, X = H, H = F, l = u, u = O, O = l), l = u + O, F = []; l--; F.push(0)) ;
1367
+ for (V = ce, q = Ae, l = O; --l >= 0; ) {
1367
1368
  for (i = 0, y = H[l] % q, C = H[l] / q | 0, g = u, h = l + g; h > l; )
1368
1369
  m = X[--g] % q, p = X[g] / q | 0, o = C * m + p * y, m = y * m + o % q * q + F[h] + i, i = (m / V | 0) + (o / q | 0) + C * p, F[h--] = m % V;
1369
1370
  F[h] = i;
1370
1371
  }
1371
1372
  return i ? ++E : F.splice(0, 1), we(r, F, E);
1372
- }, A.negated = function() {
1373
+ }, N.negated = function() {
1373
1374
  var r = new T(this);
1374
1375
  return r.s = -r.s || null, r;
1375
- }, A.plus = function(r, n) {
1376
+ }, N.plus = function(r, n) {
1376
1377
  var i, E = this, l = E.s;
1377
1378
  if (r = new T(r, n), n = r.s, !l || !n) return new T(NaN);
1378
1379
  if (l != n)
@@ -1389,23 +1390,23 @@ function pr(s) {
1389
1390
  for (l = o.length, n = u.length, l - n < 0 && (i = u, u = o, o = i, n = l), l = 0; n; )
1390
1391
  l = (o[--n] = o[n] + u[n] + l) / ce | 0, o[n] = ce === o[n] ? 0 : o[n] % ce;
1391
1392
  return l && (o = [l].concat(o), ++g), we(r, o, g);
1392
- }, A.precision = A.sd = function(r, n) {
1393
+ }, N.precision = N.sd = function(r, n) {
1393
1394
  var i, E, l, h = this;
1394
1395
  if (r != null && r !== !!r)
1395
- return z(r, 1, W), n == null ? n = k : z(n, 0, 8), J(new T(h), r, n);
1396
+ return z(r, 1, W), n == null ? n = j : z(n, 0, 8), J(new T(h), r, n);
1396
1397
  if (!(i = h.c)) return null;
1397
1398
  if (l = i.length - 1, E = l * _ + 1, l = i[l]) {
1398
1399
  for (; l % 10 == 0; l /= 10, E--) ;
1399
1400
  for (l = i[0]; l >= 10; l /= 10, E++) ;
1400
1401
  }
1401
1402
  return r && h.e + 1 > E && (E = h.e + 1), E;
1402
- }, A.shiftedBy = function(r) {
1403
+ }, N.shiftedBy = function(r) {
1403
1404
  return z(r, -xe, xe), this.times("1e" + r);
1404
- }, A.squareRoot = A.sqrt = function() {
1405
+ }, N.squareRoot = N.sqrt = function() {
1405
1406
  var r, n, i, E, l, h = this, g = h.c, o = h.s, u = h.e, m = x + 4, p = new T("0.5");
1406
1407
  if (o !== 1 || !g || !g[0])
1407
1408
  return new T(!o || o < 0 && (!g || g[0]) ? NaN : g ? h : 1 / 0);
1408
- if (o = Math.sqrt(+P(h)), o == 0 || o == 1 / 0 ? (n = ie(g), (n.length + u) % 2 == 0 && (n += "0"), o = Math.sqrt(+n), u = oe((u + 1) / 2) - (u < 0 || u % 2), o == 1 / 0 ? n = "5e" + u : (n = o.toExponential(), n = n.slice(0, n.indexOf("e") + 1) + u), i = new T(n)) : i = new T(o + ""), i.c[0]) {
1409
+ if (o = Math.sqrt(+b(h)), o == 0 || o == 1 / 0 ? (n = ie(g), (n.length + u) % 2 == 0 && (n += "0"), o = Math.sqrt(+n), u = oe((u + 1) / 2) - (u < 0 || u % 2), o == 1 / 0 ? n = "5e" + u : (n = o.toExponential(), n = n.slice(0, n.indexOf("e") + 1) + u), i = new T(n)) : i = new T(o + ""), i.c[0]) {
1409
1410
  for (u = i.e, o = u + m, o < 3 && (o = 0); ; )
1410
1411
  if (l = i, i = p.times(l.plus(f(h, l, m, 1))), ie(l.c).slice(0, o) === (n = ie(i.c)).slice(0, o))
1411
1412
  if (i.e < u && --o, n = n.slice(o - 3, o + 1), n == "9999" || !E && n == "4999") {
@@ -1419,75 +1420,75 @@ function pr(s) {
1419
1420
  break;
1420
1421
  }
1421
1422
  }
1422
- return J(i, i.e + x + 1, k, r);
1423
- }, A.toExponential = function(r, n) {
1423
+ return J(i, i.e + x + 1, j, r);
1424
+ }, N.toExponential = function(r, n) {
1424
1425
  return r != null && (z(r, 0, W), r++), re(this, r, n, 1);
1425
- }, A.toFixed = function(r, n) {
1426
+ }, N.toFixed = function(r, n) {
1426
1427
  return r != null && (z(r, 0, W), r = r + this.e + 1), re(this, r, n);
1427
- }, A.toFormat = function(r, n, i) {
1428
+ }, N.toFormat = function(r, n, i) {
1428
1429
  var E, l = this;
1429
1430
  if (i == null)
1430
1431
  r != null && n && typeof n == "object" ? (i = n, n = null) : r && typeof r == "object" ? (i = r, r = n = null) : i = de;
1431
1432
  else if (typeof i != "object")
1432
1433
  throw Error(ee + "Argument not an object: " + i);
1433
1434
  if (E = l.toFixed(r, n), l.c) {
1434
- var h, g = E.split("."), o = +i.groupSize, u = +i.secondaryGroupSize, m = i.groupSeparator || "", p = g[0], N = g[1], y = l.s < 0, C = y ? p.slice(1) : p, F = C.length;
1435
+ var h, g = E.split("."), o = +i.groupSize, u = +i.secondaryGroupSize, m = i.groupSeparator || "", p = g[0], O = g[1], y = l.s < 0, C = y ? p.slice(1) : p, F = C.length;
1435
1436
  if (u && (h = o, o = u, u = h, F -= h), o > 0 && F > 0) {
1436
1437
  for (h = F % o || o, p = C.substr(0, h); h < F; h += o) p += m + C.substr(h, o);
1437
1438
  u > 0 && (p += m + C.slice(h)), y && (p = "-" + p);
1438
1439
  }
1439
- E = N ? p + (i.decimalSeparator || "") + ((u = +i.fractionGroupSize) ? N.replace(
1440
+ E = O ? p + (i.decimalSeparator || "") + ((u = +i.fractionGroupSize) ? O.replace(
1440
1441
  new RegExp("\\d{" + u + "}\\B", "g"),
1441
1442
  "$&" + (i.fractionGroupSeparator || "")
1442
- ) : N) : p;
1443
+ ) : O) : p;
1443
1444
  }
1444
1445
  return (i.prefix || "") + E + (i.suffix || "");
1445
- }, A.toFraction = function(r) {
1446
- var n, i, E, l, h, g, o, u, m, p, N, y, C = this, F = C.c;
1446
+ }, N.toFraction = function(r) {
1447
+ var n, i, E, l, h, g, o, u, m, p, O, y, C = this, F = C.c;
1447
1448
  if (r != null && (o = new T(r), !o.isInteger() && (o.c || o.s !== 1) || o.lt(M)))
1448
- throw Error(ee + "Argument " + (o.isInteger() ? "out of range: " : "not an integer: ") + P(o));
1449
+ throw Error(ee + "Argument " + (o.isInteger() ? "out of range: " : "not an integer: ") + b(o));
1449
1450
  if (!F) return new T(C);
1450
1451
  for (n = new T(M), m = i = new T(M), E = u = new T(M), y = ie(F), h = n.e = y.length - C.e - 1, n.c[0] = Me[(g = h % _) < 0 ? _ + g : g], r = !r || o.comparedTo(n) > 0 ? h > 0 ? n : m : o, g = K, K = 1 / 0, o = new T(y), u.c[0] = 0; p = f(o, n, 0, 1), l = i.plus(p.times(E)), l.comparedTo(r) != 1; )
1451
1452
  i = E, E = l, m = u.plus(p.times(l = m)), u = l, n = o.minus(p.times(l = n)), o = l;
1452
- return l = f(r.minus(i), E, 0, 1), u = u.plus(l.times(m)), i = i.plus(l.times(E)), u.s = m.s = C.s, h = h * 2, N = f(m, E, h, k).minus(C).abs().comparedTo(
1453
- f(u, i, h, k).minus(C).abs()
1454
- ) < 1 ? [m, E] : [u, i], K = g, N;
1455
- }, A.toNumber = function() {
1456
- return +P(this);
1457
- }, A.toPrecision = function(r, n) {
1453
+ return l = f(r.minus(i), E, 0, 1), u = u.plus(l.times(m)), i = i.plus(l.times(E)), u.s = m.s = C.s, h = h * 2, O = f(m, E, h, j).minus(C).abs().comparedTo(
1454
+ f(u, i, h, j).minus(C).abs()
1455
+ ) < 1 ? [m, E] : [u, i], K = g, O;
1456
+ }, N.toNumber = function() {
1457
+ return +b(this);
1458
+ }, N.toPrecision = function(r, n) {
1458
1459
  return r != null && z(r, 1, W), re(this, r, n, 2);
1459
- }, A.toString = function(r) {
1460
+ }, N.toString = function(r) {
1460
1461
  var n, i = this, E = i.s, l = i.e;
1461
- return l === null ? E ? (n = "Infinity", E < 0 && (n = "-" + n)) : n = "NaN" : (r == null ? n = l <= D || l >= I ? De(ie(i.c), l) : Ie(ie(i.c), l, "0") : r === 10 && Te ? (i = J(new T(i), x + l + 1, k), n = Ie(ie(i.c), i.e, "0")) : (z(r, 2, me.length, "Base"), n = O(Ie(ie(i.c), l, "0"), 10, r, E, !0)), E < 0 && i.c[0] && (n = "-" + n)), n;
1462
- }, A.valueOf = A.toJSON = function() {
1463
- return P(this);
1464
- }, A._isBigNumber = !0, A[Symbol.toStringTag] = "BigNumber", A[Symbol.for("nodejs.util.inspect.custom")] = A.valueOf, s != null && T.set(s), T;
1462
+ return l === null ? E ? (n = "Infinity", E < 0 && (n = "-" + n)) : n = "NaN" : (r == null ? n = l <= D || l >= I ? De(ie(i.c), l) : Ie(ie(i.c), l, "0") : r === 10 && Te ? (i = J(new T(i), x + l + 1, j), n = Ie(ie(i.c), i.e, "0")) : (z(r, 2, me.length, "Base"), n = A(Ie(ie(i.c), l, "0"), 10, r, E, !0)), E < 0 && i.c[0] && (n = "-" + n)), n;
1463
+ }, N.valueOf = N.toJSON = function() {
1464
+ return b(this);
1465
+ }, N._isBigNumber = !0, N[Symbol.toStringTag] = "BigNumber", N[Symbol.for("nodejs.util.inspect.custom")] = N.valueOf, s != null && T.set(s), T;
1465
1466
  }
1466
1467
  function oe(s) {
1467
1468
  var f = s | 0;
1468
1469
  return s > 0 || s === f ? f : f - 1;
1469
1470
  }
1470
1471
  function ie(s) {
1471
- for (var f, O, L = 1, A = s.length, M = s[0] + ""; L < A; ) {
1472
- for (f = s[L++] + "", O = _ - f.length; O--; f = "0" + f) ;
1472
+ for (var f, A, v = 1, N = s.length, M = s[0] + ""; v < N; ) {
1473
+ for (f = s[v++] + "", A = _ - f.length; A--; f = "0" + f) ;
1473
1474
  M += f;
1474
1475
  }
1475
- for (A = M.length; M.charCodeAt(--A) === 48; ) ;
1476
- return M.slice(0, A + 1 || 1);
1476
+ for (N = M.length; M.charCodeAt(--N) === 48; ) ;
1477
+ return M.slice(0, N + 1 || 1);
1477
1478
  }
1478
1479
  function Se(s, f) {
1479
- var O, L, A = s.c, M = f.c, x = s.s, k = f.s, D = s.e, I = f.e;
1480
- if (!x || !k) return null;
1481
- if (O = A && !A[0], L = M && !M[0], O || L) return O ? L ? 0 : -k : x;
1482
- if (x != k) return x;
1483
- if (O = x < 0, L = D == I, !A || !M) return L ? 0 : !A ^ O ? 1 : -1;
1484
- if (!L) return D > I ^ O ? 1 : -1;
1485
- for (k = (D = A.length) < (I = M.length) ? D : I, x = 0; x < k; x++) if (A[x] != M[x]) return A[x] > M[x] ^ O ? 1 : -1;
1486
- return D == I ? 0 : D > I ^ O ? 1 : -1;
1480
+ var A, v, N = s.c, M = f.c, x = s.s, j = f.s, D = s.e, I = f.e;
1481
+ if (!x || !j) return null;
1482
+ if (A = N && !N[0], v = M && !M[0], A || v) return A ? v ? 0 : -j : x;
1483
+ if (x != j) return x;
1484
+ if (A = x < 0, v = D == I, !N || !M) return v ? 0 : !N ^ A ? 1 : -1;
1485
+ if (!v) return D > I ^ A ? 1 : -1;
1486
+ for (j = (D = N.length) < (I = M.length) ? D : I, x = 0; x < j; x++) if (N[x] != M[x]) return N[x] > M[x] ^ A ? 1 : -1;
1487
+ return D == I ? 0 : D > I ^ A ? 1 : -1;
1487
1488
  }
1488
- function z(s, f, O, L) {
1489
- if (s < f || s > O || s !== ae(s))
1490
- throw Error(ee + (L || "Argument") + (typeof s == "number" ? s < f || s > O ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(s));
1489
+ function z(s, f, A, v) {
1490
+ if (s < f || s > A || s !== ae(s))
1491
+ throw Error(ee + (v || "Argument") + (typeof s == "number" ? s < f || s > A ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(s));
1491
1492
  }
1492
1493
  function Ce(s) {
1493
1494
  var f = s.c.length - 1;
@@ -1496,123 +1497,145 @@ function Ce(s) {
1496
1497
  function De(s, f) {
1497
1498
  return (s.length > 1 ? s.charAt(0) + "." + s.slice(1) : s) + (f < 0 ? "e" : "e+") + f;
1498
1499
  }
1499
- function Ie(s, f, O) {
1500
- var L, A;
1500
+ function Ie(s, f, A) {
1501
+ var v, N;
1501
1502
  if (f < 0) {
1502
- for (A = O + "."; ++f; A += O) ;
1503
- s = A + s;
1504
- } else if (L = s.length, ++f > L) {
1505
- for (A = O, f -= L; --f; A += O) ;
1506
- s += A;
1507
- } else f < L && (s = s.slice(0, f) + "." + s.slice(f));
1503
+ for (N = A + "."; ++f; N += A) ;
1504
+ s = N + s;
1505
+ } else if (v = s.length, ++f > v) {
1506
+ for (N = A, f -= v; --f; N += A) ;
1507
+ s += N;
1508
+ } else f < v && (s = s.slice(0, f) + "." + s.slice(f));
1508
1509
  return s;
1509
1510
  }
1510
- var Bn = pr();
1511
- const xn = t.boolean().transform((s) => String(s)), Mn = t.string().transform((s) => s === "true");
1511
+ var $n = mr();
1512
+ const Xn = t.boolean().transform((s) => String(s)), Vn = t.string().transform((s) => s === "true");
1513
+ function ur(s) {
1514
+ return t.object(s).passthrough().superRefine((f) => {
1515
+ const A = Object.keys(s), v = Object.keys(f).filter((N) => !A.includes(N));
1516
+ v.length > 0 && `${v.join(", ")}`;
1517
+ });
1518
+ }
1519
+ function Dt(s) {
1520
+ const f = ur(s);
1521
+ return Object.assign(f, {
1522
+ extend: (A) => ur({ ...s, ...A })
1523
+ });
1524
+ }
1525
+ const qn = (s, f) => {
1526
+ try {
1527
+ return { success: !0, data: s.parse(f) };
1528
+ } catch (A) {
1529
+ if (A instanceof t.ZodError)
1530
+ return console.error("Validation warnings:", A.errors), { success: !1, error: A };
1531
+ throw A;
1532
+ }
1533
+ };
1512
1534
  var Ke;
1513
1535
  (function(s) {
1514
1536
  s[s.function = 0] = "function", s[s.l1_handler = 1] = "l1_handler", s[s.constructor = 2] = "constructor";
1515
1537
  })(Ke || (Ke = {}));
1516
- const dr = t.array(t.string()), Ge = t.object({
1538
+ const gr = t.array(t.string()), Ge = t.object({
1517
1539
  selector: t.string(),
1518
1540
  offset: t.string(),
1519
- builtins: dr.optional()
1520
- }), mr = t.object({
1541
+ builtins: gr.optional()
1542
+ }), Ir = t.object({
1521
1543
  CONSTRUCTOR: t.array(Ge),
1522
1544
  EXTERNAL: t.array(Ge),
1523
1545
  L1_HANDLER: t.array(Ge)
1524
- }), Gn = t.string(), yt = t.object({
1525
- builtins: dr,
1546
+ }), zn = t.string(), bt = t.object({
1547
+ builtins: gr,
1526
1548
  data: t.array(t.string())
1527
1549
  }), Je = t.object({
1528
1550
  name: t.string(),
1529
1551
  type: t.union([t.literal("felt"), t.literal("felt*"), t.string()])
1530
- }), Ct = t.nativeEnum(Ke), Dt = t.object({
1552
+ }), Pt = t.nativeEnum(Ke), _t = t.object({
1531
1553
  inputs: t.array(Je),
1532
1554
  name: t.string(),
1533
1555
  outputs: t.array(Je),
1534
1556
  stateMutability: t.literal("view").optional(),
1535
1557
  state_mutability: t.string().optional(),
1536
- type: Ct
1558
+ type: Pt
1537
1559
  }), Qe = t.object({
1538
1560
  name: t.string(),
1539
1561
  type: t.union([t.literal("felt"), t.literal("felt*"), t.string()]),
1540
1562
  kind: t.union([t.literal("key"), t.literal("data")])
1541
- }), Pt = t.object({
1563
+ }), kt = t.object({
1542
1564
  name: t.string(),
1543
1565
  type: t.literal("event"),
1544
1566
  data: t.array(Qe),
1545
1567
  keys: t.array(Qe)
1546
- }), bt = t.object({
1568
+ }), jt = t.object({
1547
1569
  name: t.string(),
1548
1570
  members: t.array(Qe),
1549
1571
  kind: t.literal("struct"),
1550
1572
  type: t.literal("event")
1551
- }), _t = t.object({
1573
+ }), Ft = t.object({
1552
1574
  members: t.array(Je.and(t.object({
1553
1575
  offset: t.number()
1554
1576
  }))),
1555
1577
  name: t.string(),
1556
1578
  size: t.number(),
1557
1579
  type: t.literal("struct")
1558
- }), jt = t.union([bt, Pt]), gr = t.array(t.union([Dt, jt, _t, t.any()])), kt = t.object({
1559
- program: yt,
1560
- entry_points_by_type: mr,
1561
- abi: gr
1562
- }), Ir = t.array(t.string()), Ft = t.object({
1580
+ }), Ut = t.union([jt, kt]), Rr = t.array(t.union([_t, Ut, Ft, t.any()])), Bt = t.object({
1581
+ program: bt,
1582
+ entry_points_by_type: Ir,
1583
+ abi: Rr
1584
+ }), Nr = t.array(t.string()), xt = t.object({
1563
1585
  type_names: t.array(t.tuple([t.number(), t.string()])),
1564
1586
  libfunc_names: t.array(t.tuple([t.number(), t.string()])),
1565
1587
  user_func_names: t.array(t.tuple([t.number(), t.string()]))
1566
1588
  }), $e = t.object({
1567
1589
  selector: t.string(),
1568
1590
  function_idx: t.number()
1569
- }), Ut = t.object({
1591
+ }), Mt = t.object({
1570
1592
  CONSTRUCTOR: t.array($e),
1571
1593
  EXTERNAL: t.array($e),
1572
1594
  L1_HANDLER: t.array($e)
1573
- }), Bt = t.object({
1574
- sierra_program: Ir,
1575
- sierra_program_debug_info: Ft.optional(),
1595
+ }), Gt = t.object({
1596
+ sierra_program: Nr,
1597
+ sierra_program_debug_info: xt.optional(),
1576
1598
  contract_class_version: t.string(),
1577
- entry_points_by_type: Ut,
1578
- abi: gr
1579
- }), xt = t.array(t.tuple([t.number(), t.array(t.string())])), Mt = t.object({
1599
+ entry_points_by_type: Mt,
1600
+ abi: Rr
1601
+ }), $t = t.array(t.tuple([t.number(), t.array(t.string())])), Xt = t.object({
1580
1602
  prime: t.string(),
1581
1603
  compiler_version: t.string(),
1582
- bytecode: Ir,
1604
+ bytecode: Nr,
1583
1605
  hints: t.array(t.any()),
1584
- pythonic_hints: xt,
1585
- entry_points_by_type: mr
1586
- }), $n = Mt, Xn = t.union([
1587
- kt,
1588
- Bt
1589
- ]), Rr = Kr(null), Nr = () => Jr(Rr), Vn = () => {
1606
+ pythonic_hints: $t,
1607
+ entry_points_by_type: Ir
1608
+ }), Hn = Xt, Wn = t.union([
1609
+ Bt,
1610
+ Gt
1611
+ ]), Or = Qr(null), Ar = () => et(Or), Zn = () => {
1590
1612
  var s;
1591
- return !!((s = Nr()) != null && s.emitter);
1592
- }, qn = ({ emitter: s, children: f }) => /* @__PURE__ */ et(Rr.Provider, { value: {
1613
+ return !!((s = Ar()) != null && s.emitter);
1614
+ }, Yn = ({ emitter: s, children: f }) => /* @__PURE__ */ tt(Or.Provider, { value: {
1593
1615
  emitter: s
1594
1616
  }, children: f });
1595
- let lr = !1;
1596
- const Ar = () => {
1597
- var O;
1598
- const s = (O = Nr()) == null ? void 0 : O.emitter;
1599
- if (!s && !lr) {
1600
- lr = !0;
1617
+ let fr = !1;
1618
+ const Sr = () => {
1619
+ var A;
1620
+ const s = (A = Ar()) == null ? void 0 : A.emitter;
1621
+ if (!s && !fr) {
1622
+ fr = !0;
1601
1623
  return;
1602
1624
  }
1603
1625
  return s;
1604
- }, zn = () => {
1605
- const s = Ar();
1606
- return s ? s.emit.bind(s) : Zr;
1607
- }, Hn = () => {
1608
- const s = Ar();
1609
- return (O, L) => {
1610
- Qr(() => s ? s.on(O, L) : void 0, [O, L]);
1626
+ }, Kn = () => {
1627
+ const s = Sr();
1628
+ return s ? s.emit.bind(s) : Jr;
1629
+ }, Jn = () => {
1630
+ const s = Sr();
1631
+ return (A, v) => {
1632
+ rt(() => s ? s.on(A, v) : void 0, [A, v]);
1611
1633
  };
1612
- }, Gt = t.union([
1634
+ }, Vt = t.union([
1613
1635
  t.literal("concentratedLiquidityPosition"),
1614
- t.literal("collateralizedDebtPosition")
1615
- ]), Wn = t.object({
1636
+ t.literal("collateralizedDebtPosition"),
1637
+ t.literal("staking")
1638
+ ]), Qn = t.object({
1616
1639
  status: t.literal("initialising")
1617
1640
  }).or(t.object({
1618
1641
  status: t.literal("initialised"),
@@ -1647,35 +1670,40 @@ const Ar = () => {
1647
1670
  rank: t.number()
1648
1671
  }).optional(),
1649
1672
  tags: t.array(t.string()).optional()
1650
- }), Yn = t.object({
1673
+ }), es = t.object({
1651
1674
  tokens: t.array(ir)
1652
- }), Zn = ir, Or = t.object({
1675
+ }), rs = ir, Tr = t.object({
1653
1676
  pricingId: t.number(),
1654
1677
  ethValue: t.string(),
1655
1678
  ccyValue: t.string(),
1656
1679
  ethDayChange: t.string(),
1657
1680
  ccyDayChange: t.string()
1658
- }), Kn = t.object({
1659
- prices: t.array(Or)
1660
- }), ur = t.object({
1681
+ }), ts = t.object({
1682
+ prices: t.array(Tr)
1683
+ }), hr = t.object({
1661
1684
  tokenAddress: er,
1662
1685
  principal: t.string(),
1663
1686
  accruedFees: t.string(),
1664
1687
  minPrice: t.string(),
1665
1688
  maxPrice: t.string(),
1666
1689
  currentPrice: t.string()
1667
- }), Sr = t.object({
1690
+ }), ar = t.object({
1668
1691
  tokenAddress: Re.optional(),
1669
1692
  totalBalances: t.record(t.string())
1670
- }), Tr = Sr.extend({
1693
+ }), wr = ar.extend({
1671
1694
  tokenId: t.string(),
1672
1695
  data: t.object({
1673
1696
  poolFeePercentage: t.string(),
1674
1697
  tickSpacingPercentage: t.string().optional(),
1675
- token0: ur,
1676
- token1: ur
1698
+ token0: hr,
1699
+ token1: hr
1677
1700
  })
1678
- }), Jn = t.array(Tr), wr = Sr.extend({
1701
+ }), ns = t.array(wr), vr = ar.extend({
1702
+ data: t.object({
1703
+ apy: t.string()
1704
+ }),
1705
+ investmentId: t.string().optional()
1706
+ }), ss = t.array(vr), Lr = ar.extend({
1679
1707
  data: t.object({
1680
1708
  apy: t.string().optional(),
1681
1709
  group: t.number().optional(),
@@ -1683,37 +1711,37 @@ const Ar = () => {
1683
1711
  debt: t.boolean(),
1684
1712
  lending: t.boolean()
1685
1713
  })
1686
- }), Qn = t.array(wr), $t = t.array(Tr.or(wr)), Xt = t.object({
1714
+ }), is = t.array(Lr), qt = t.array(wr.or(Lr).or(vr)), zt = Dt({
1687
1715
  name: t.string(),
1688
1716
  manageUrl: t.string(),
1689
- type: Gt,
1717
+ type: Vt,
1690
1718
  groups: t.record(t.object({
1691
1719
  name: t.string().optional(),
1692
1720
  healthRatio: t.string().optional()
1693
1721
  })).optional(),
1694
- positions: $t
1695
- }), Vt = t.object({
1722
+ positions: qt
1723
+ }), Ht = t.object({
1696
1724
  dappId: t.string(),
1697
- products: t.array(Xt)
1698
- }), es = t.object({
1699
- dapps: t.array(Vt)
1700
- }), qt = t.object({
1725
+ products: t.array(zt)
1726
+ }), as = t.object({
1727
+ dapps: t.array(Ht)
1728
+ }), Wt = t.object({
1701
1729
  name: t.string().optional(),
1702
1730
  tokenAddress: Re,
1703
1731
  amount: t.string().optional(),
1704
1732
  claimUrl: t.string().optional(),
1705
1733
  claimStart: t.number(),
1706
1734
  claimEnd: t.number().optional()
1707
- }), rs = t.object({
1735
+ }), os = t.object({
1708
1736
  accountAddress: Re,
1709
1737
  chain: t.string(),
1710
- airdrops: t.array(qt)
1738
+ airdrops: t.array(Wt)
1711
1739
  }), Fe = t.object({
1712
1740
  address: Re,
1713
1741
  networkId: t.string({ required_error: "Network is required" })
1714
- }, { required_error: "Token is required" }), ts = Fe.required().extend({
1742
+ }, { required_error: "Token is required" }), cs = Fe.required().extend({
1715
1743
  balance: t.string()
1716
- }), vr = Fe.required().extend({
1744
+ }), yr = Fe.required().extend({
1717
1745
  id: t.number().optional(),
1718
1746
  name: t.string().optional(),
1719
1747
  symbol: t.string().optional(),
@@ -1724,158 +1752,162 @@ const Ar = () => {
1724
1752
  category: t.string().optional(),
1725
1753
  dappId: t.string().optional(),
1726
1754
  brandColor: t.string().optional()
1727
- }), zt = vr.extend({
1755
+ }), Zt = yr.extend({
1728
1756
  balance: t.string()
1729
- }), Ht = vr.extend({
1757
+ }), Yt = yr.extend({
1730
1758
  currencyValue: t.string(),
1731
1759
  currencySymbol: t.string().optional(),
1732
1760
  ccyDayChange: t.string().optional(),
1733
1761
  ethDayChange: t.string().optional(),
1734
1762
  unitCurrencyValue: t.string().optional()
1735
- }), Wt = Ht.extend({
1736
- ...zt.shape
1737
- }), ns = t.array(Wt), ss = Fe.extend({
1738
- ...Or.shape
1739
- }), is = Fe.extend({
1763
+ }), Kt = Yt.extend({
1764
+ ...Zt.shape
1765
+ }), ls = t.array(Kt), us = Fe.extend({
1766
+ ...Tr.shape
1767
+ }), fs = Fe.extend({
1740
1768
  ...ir.shape
1741
1769
  });
1742
1770
  export {
1743
- lt as $,
1771
+ En as $,
1744
1772
  ye as A,
1745
- Bn as B,
1746
- gn as C,
1747
- es as D,
1748
- Cn as E,
1749
- Fn as F,
1750
- hr as G,
1773
+ $n as B,
1774
+ On as C,
1775
+ qn as D,
1776
+ as as E,
1777
+ _n as F,
1778
+ Mn as G,
1751
1779
  nr as H,
1752
- rt as I,
1753
- be as J,
1754
- tt as K,
1755
- nt as L,
1756
- or as M,
1757
- In as N,
1758
- tn as O,
1759
- nn as P,
1760
- sn as Q,
1761
- an as R,
1762
- on as S,
1763
- cn as T,
1764
- tr as U,
1765
- un as V,
1766
- fn as W,
1767
- hn as X,
1768
- En as Y,
1769
- pn as Z,
1770
- ln as _,
1771
- ar as a,
1772
- Pt as a$,
1773
- je as a0,
1774
- ft as a1,
1775
- Ve as a2,
1776
- pt as a3,
1777
- dn as a4,
1778
- Et as a5,
1779
- qe as a6,
1780
- ke as a7,
1781
- ir as a8,
1782
- Or as a9,
1783
- gt as aA,
1784
- It as aB,
1785
- Rt as aC,
1786
- Pe as aD,
1787
- Nt as aE,
1788
- sr as aF,
1789
- At as aG,
1790
- Ot as aH,
1791
- le as aI,
1792
- Nn as aJ,
1793
- An as aK,
1794
- On as aL,
1795
- Sn as aM,
1780
+ pr as I,
1781
+ nt as J,
1782
+ Pe as K,
1783
+ st as L,
1784
+ cr as M,
1785
+ An as N,
1786
+ it as O,
1787
+ on as P,
1788
+ cn as Q,
1789
+ ln as R,
1790
+ un as S,
1791
+ fn as T,
1792
+ hn as U,
1793
+ tr as V,
1794
+ pn as W,
1795
+ dn as X,
1796
+ mn as Y,
1797
+ gn as Z,
1798
+ In as _,
1799
+ or as a,
1800
+ Je as a$,
1801
+ ft as a0,
1802
+ ke as a1,
1803
+ Et as a2,
1804
+ Ve as a3,
1805
+ mt as a4,
1806
+ Rn as a5,
1807
+ dt as a6,
1808
+ qe as a7,
1809
+ je as a8,
1810
+ ir as a9,
1811
+ Xn as aA,
1812
+ Vn as aB,
1813
+ Dt as aC,
1814
+ ve as aD,
1815
+ Rt as aE,
1816
+ Nt as aF,
1817
+ Ot as aG,
1818
+ be as aH,
1819
+ At as aI,
1820
+ sr as aJ,
1821
+ St as aK,
1822
+ Tt as aL,
1823
+ le as aM,
1796
1824
  Tn as aN,
1797
1825
  wn as aO,
1798
1826
  vn as aP,
1799
1827
  Ln as aQ,
1800
1828
  yn as aR,
1801
- dr as aS,
1802
- Ge as aT,
1803
- mr as aU,
1804
- Gn as aV,
1805
- yt as aW,
1806
- Je as aX,
1807
- Ct as aY,
1808
- Dt as aZ,
1809
- Qe as a_,
1810
- Kn as aa,
1811
- ur as ab,
1812
- Tr as ac,
1813
- Jn as ad,
1814
- wr as ae,
1815
- Qn as af,
1816
- $t as ag,
1817
- Xt as ah,
1818
- Vt as ai,
1829
+ Cn as aS,
1830
+ Dn as aT,
1831
+ bn as aU,
1832
+ Pn as aV,
1833
+ gr as aW,
1834
+ Ge as aX,
1835
+ Ir as aY,
1836
+ zn as aZ,
1837
+ bt as a_,
1838
+ Tr as aa,
1839
+ ts as ab,
1840
+ hr as ac,
1841
+ wr as ad,
1842
+ ns as ae,
1843
+ vr as af,
1844
+ ss as ag,
1845
+ Lr as ah,
1846
+ is as ai,
1819
1847
  qt as aj,
1820
- rs as ak,
1821
- Gt as al,
1822
- Fe as am,
1823
- ts as an,
1824
- vr as ao,
1825
- zt as ap,
1826
- Ht as aq,
1827
- Wt as ar,
1828
- ns as as,
1829
- ss as at,
1830
- is as au,
1831
- Un as av,
1832
- St as aw,
1833
- xn as ax,
1834
- Mn as ay,
1835
- ve as az,
1836
- it as b,
1837
- bt as b0,
1848
+ zt as ak,
1849
+ Ht as al,
1850
+ Wt as am,
1851
+ os as an,
1852
+ Vt as ao,
1853
+ Fe as ap,
1854
+ cs as aq,
1855
+ yr as ar,
1856
+ Zt as as,
1857
+ Yt as at,
1858
+ Kt as au,
1859
+ ls as av,
1860
+ us as aw,
1861
+ fs as ax,
1862
+ Gn as ay,
1863
+ wt as az,
1864
+ ot as b,
1865
+ Pt as b0,
1838
1866
  _t as b1,
1839
- jt as b2,
1840
- gr as b3,
1841
- kt as b4,
1842
- Ir as b5,
1843
- Ft as b6,
1844
- $e as b7,
1845
- Ut as b8,
1846
- Bt as b9,
1867
+ Qe as b2,
1868
+ kt as b3,
1869
+ jt as b4,
1870
+ Ft as b5,
1871
+ Ut as b6,
1872
+ Rr as b7,
1873
+ Bt as b8,
1874
+ Nr as b9,
1847
1875
  xt as ba,
1848
- Mt as bb,
1849
- $n as bc,
1850
- Xn as bd,
1851
- Nr as be,
1852
- Vn as bf,
1853
- qn as bg,
1854
- Ar as bh,
1855
- zn as bi,
1856
- Hn as bj,
1857
- Rn as c,
1858
- st as d,
1859
- ht as e,
1860
- ut as f,
1861
- mn as g,
1862
- ot as h,
1863
- ct as i,
1864
- Dn as j,
1865
- jn as k,
1866
- _n as l,
1867
- Pn as m,
1876
+ $e as bb,
1877
+ Mt as bc,
1878
+ Gt as bd,
1879
+ $t as be,
1880
+ Xt as bf,
1881
+ Hn as bg,
1882
+ Wn as bh,
1883
+ Ar as bi,
1884
+ Zn as bj,
1885
+ Yn as bk,
1886
+ Sr as bl,
1887
+ Kn as bm,
1888
+ Jn as bn,
1889
+ Sn as c,
1890
+ at as d,
1891
+ pt as e,
1892
+ ht as f,
1893
+ Nn as g,
1894
+ lt as h,
1895
+ ut as i,
1896
+ kn as j,
1897
+ Bn as k,
1898
+ Un as l,
1899
+ jn as m,
1868
1900
  _e as n,
1869
- bn as o,
1870
- rn as p,
1901
+ Fn as o,
1902
+ an as p,
1871
1903
  er as q,
1872
1904
  rr as r,
1873
- kn as s,
1905
+ xn as s,
1874
1906
  Re as t,
1875
- mt as u,
1876
- Er as v,
1877
- wt as w,
1878
- Yn as x,
1879
- Zn as y,
1880
- Wn as z
1907
+ It as u,
1908
+ dr as v,
1909
+ Lt as w,
1910
+ es as x,
1911
+ rs as y,
1912
+ Qn as z
1881
1913
  };