brsh 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/POSIX-CHECKLIST.md +158 -0
- package/dist/shell.es.js +269 -221
- package/dist/shell.es.js.map +1 -1
- package/dist/shell.min.js +5 -4
- package/dist/shell.min.js.map +1 -1
- package/dist/terminal.es.js +273 -225
- package/dist/terminal.es.js.map +1 -1
- package/dist/terminal.min.js +7 -6
- package/dist/terminal.min.js.map +1 -1
- package/index.js +57 -2
- package/lib/local/dot.js +9 -0
- package/lib/local/index.js +2 -1
- package/package.json +1 -1
- package/test/shell.test.js +50 -0
package/dist/shell.es.js
CHANGED
|
@@ -4098,6 +4098,13 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4098
4098
|
}
|
|
4099
4099
|
};
|
|
4100
4100
|
})), Le = /* @__PURE__ */ t(((e, t) => {
|
|
4101
|
+
var n = Ae();
|
|
4102
|
+
t.exports = class extends n {
|
|
4103
|
+
static get name() {
|
|
4104
|
+
return ".";
|
|
4105
|
+
}
|
|
4106
|
+
};
|
|
4107
|
+
})), Re = /* @__PURE__ */ t(((e, t) => {
|
|
4101
4108
|
t.exports = [
|
|
4102
4109
|
be(),
|
|
4103
4110
|
xe(),
|
|
@@ -4115,56 +4122,57 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4115
4122
|
Ne(),
|
|
4116
4123
|
Pe(),
|
|
4117
4124
|
Fe(),
|
|
4118
|
-
Ie()
|
|
4125
|
+
Ie(),
|
|
4126
|
+
Le()
|
|
4119
4127
|
];
|
|
4120
|
-
})), Re = /* @__PURE__ */ t(((e, t) => {
|
|
4121
|
-
t.exports = Object;
|
|
4122
4128
|
})), ze = /* @__PURE__ */ t(((e, t) => {
|
|
4123
|
-
t.exports =
|
|
4129
|
+
t.exports = Object;
|
|
4124
4130
|
})), Be = /* @__PURE__ */ t(((e, t) => {
|
|
4125
|
-
t.exports =
|
|
4131
|
+
t.exports = Error;
|
|
4126
4132
|
})), Ve = /* @__PURE__ */ t(((e, t) => {
|
|
4127
|
-
t.exports =
|
|
4133
|
+
t.exports = EvalError;
|
|
4128
4134
|
})), He = /* @__PURE__ */ t(((e, t) => {
|
|
4129
|
-
t.exports =
|
|
4135
|
+
t.exports = RangeError;
|
|
4130
4136
|
})), Ue = /* @__PURE__ */ t(((e, t) => {
|
|
4137
|
+
t.exports = ReferenceError;
|
|
4138
|
+
})), We = /* @__PURE__ */ t(((e, t) => {
|
|
4131
4139
|
t.exports = SyntaxError;
|
|
4132
4140
|
})), X = /* @__PURE__ */ t(((e, t) => {
|
|
4133
4141
|
t.exports = TypeError;
|
|
4134
|
-
})), We = /* @__PURE__ */ t(((e, t) => {
|
|
4135
|
-
t.exports = URIError;
|
|
4136
4142
|
})), Ge = /* @__PURE__ */ t(((e, t) => {
|
|
4137
|
-
t.exports =
|
|
4143
|
+
t.exports = URIError;
|
|
4138
4144
|
})), Ke = /* @__PURE__ */ t(((e, t) => {
|
|
4139
|
-
t.exports = Math.
|
|
4145
|
+
t.exports = Math.abs;
|
|
4140
4146
|
})), qe = /* @__PURE__ */ t(((e, t) => {
|
|
4141
|
-
t.exports = Math.
|
|
4147
|
+
t.exports = Math.floor;
|
|
4142
4148
|
})), Je = /* @__PURE__ */ t(((e, t) => {
|
|
4143
|
-
t.exports = Math.
|
|
4149
|
+
t.exports = Math.max;
|
|
4144
4150
|
})), Ye = /* @__PURE__ */ t(((e, t) => {
|
|
4145
|
-
t.exports = Math.
|
|
4151
|
+
t.exports = Math.min;
|
|
4146
4152
|
})), Xe = /* @__PURE__ */ t(((e, t) => {
|
|
4147
|
-
t.exports = Math.
|
|
4153
|
+
t.exports = Math.pow;
|
|
4148
4154
|
})), Ze = /* @__PURE__ */ t(((e, t) => {
|
|
4155
|
+
t.exports = Math.round;
|
|
4156
|
+
})), Qe = /* @__PURE__ */ t(((e, t) => {
|
|
4149
4157
|
t.exports = Number.isNaN || function(e) {
|
|
4150
4158
|
return e !== e;
|
|
4151
4159
|
};
|
|
4152
|
-
})),
|
|
4153
|
-
var n =
|
|
4160
|
+
})), $e = /* @__PURE__ */ t(((e, t) => {
|
|
4161
|
+
var n = Qe();
|
|
4154
4162
|
t.exports = function(e) {
|
|
4155
4163
|
return n(e) || e === 0 ? e : e < 0 ? -1 : 1;
|
|
4156
4164
|
};
|
|
4157
|
-
})), $e = /* @__PURE__ */ t(((e, t) => {
|
|
4158
|
-
t.exports = Object.getOwnPropertyDescriptor;
|
|
4159
4165
|
})), et = /* @__PURE__ */ t(((e, t) => {
|
|
4160
|
-
|
|
4166
|
+
t.exports = Object.getOwnPropertyDescriptor;
|
|
4167
|
+
})), tt = /* @__PURE__ */ t(((e, t) => {
|
|
4168
|
+
var n = et();
|
|
4161
4169
|
if (n) try {
|
|
4162
4170
|
n([], "length");
|
|
4163
4171
|
} catch {
|
|
4164
4172
|
n = null;
|
|
4165
4173
|
}
|
|
4166
4174
|
t.exports = n;
|
|
4167
|
-
})),
|
|
4175
|
+
})), nt = /* @__PURE__ */ t(((e, t) => {
|
|
4168
4176
|
var n = Object.defineProperty || !1;
|
|
4169
4177
|
if (n) try {
|
|
4170
4178
|
n({}, "a", { value: 1 });
|
|
@@ -4172,7 +4180,7 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4172
4180
|
n = !1;
|
|
4173
4181
|
}
|
|
4174
4182
|
t.exports = n;
|
|
4175
|
-
})),
|
|
4183
|
+
})), rt = /* @__PURE__ */ t(((e, t) => {
|
|
4176
4184
|
t.exports = function() {
|
|
4177
4185
|
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") return !1;
|
|
4178
4186
|
if (typeof Symbol.iterator == "symbol") return !0;
|
|
@@ -4189,16 +4197,16 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4189
4197
|
}
|
|
4190
4198
|
return !0;
|
|
4191
4199
|
};
|
|
4192
|
-
})),
|
|
4193
|
-
var n = typeof Symbol < "u" && Symbol, r =
|
|
4200
|
+
})), it = /* @__PURE__ */ t(((e, t) => {
|
|
4201
|
+
var n = typeof Symbol < "u" && Symbol, r = rt();
|
|
4194
4202
|
t.exports = function() {
|
|
4195
4203
|
return typeof n != "function" || typeof Symbol != "function" || typeof n("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : r();
|
|
4196
4204
|
};
|
|
4197
|
-
})), it = /* @__PURE__ */ t(((e, t) => {
|
|
4198
|
-
t.exports = typeof Reflect < "u" && Reflect.getPrototypeOf || null;
|
|
4199
4205
|
})), at = /* @__PURE__ */ t(((e, t) => {
|
|
4200
|
-
t.exports =
|
|
4206
|
+
t.exports = typeof Reflect < "u" && Reflect.getPrototypeOf || null;
|
|
4201
4207
|
})), ot = /* @__PURE__ */ t(((e, t) => {
|
|
4208
|
+
t.exports = ze().getPrototypeOf || null;
|
|
4209
|
+
})), st = /* @__PURE__ */ t(((e, t) => {
|
|
4202
4210
|
var n = "Function.prototype.bind called on incompatible ", r = Object.prototype.toString, i = Math.max, a = "[object Function]", o = function(e, t) {
|
|
4203
4211
|
for (var n = [], r = 0; r < e.length; r += 1) n[r] = e[r];
|
|
4204
4212
|
for (var i = 0; i < t.length; i += 1) n[i + e.length] = t[i];
|
|
@@ -4226,26 +4234,26 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4226
4234
|
}
|
|
4227
4235
|
return u;
|
|
4228
4236
|
};
|
|
4229
|
-
})), st = /* @__PURE__ */ t(((e, t) => {
|
|
4230
|
-
var n = ot();
|
|
4231
|
-
t.exports = Function.prototype.bind || n;
|
|
4232
4237
|
})), ct = /* @__PURE__ */ t(((e, t) => {
|
|
4233
|
-
|
|
4238
|
+
var n = st();
|
|
4239
|
+
t.exports = Function.prototype.bind || n;
|
|
4234
4240
|
})), lt = /* @__PURE__ */ t(((e, t) => {
|
|
4235
|
-
t.exports = Function.prototype.
|
|
4241
|
+
t.exports = Function.prototype.call;
|
|
4236
4242
|
})), ut = /* @__PURE__ */ t(((e, t) => {
|
|
4237
|
-
t.exports =
|
|
4243
|
+
t.exports = Function.prototype.apply;
|
|
4238
4244
|
})), dt = /* @__PURE__ */ t(((e, t) => {
|
|
4239
|
-
|
|
4240
|
-
t.exports = ut() || n.call(i, r);
|
|
4245
|
+
t.exports = typeof Reflect < "u" && Reflect && Reflect.apply;
|
|
4241
4246
|
})), ft = /* @__PURE__ */ t(((e, t) => {
|
|
4242
|
-
var n =
|
|
4247
|
+
var n = ct(), r = ut(), i = lt();
|
|
4248
|
+
t.exports = dt() || n.call(i, r);
|
|
4249
|
+
})), pt = /* @__PURE__ */ t(((e, t) => {
|
|
4250
|
+
var n = ct(), r = X(), i = lt(), a = ft();
|
|
4243
4251
|
t.exports = function(e) {
|
|
4244
4252
|
if (e.length < 1 || typeof e[0] != "function") throw new r("a function is required");
|
|
4245
4253
|
return a(n, i, e);
|
|
4246
4254
|
};
|
|
4247
|
-
})),
|
|
4248
|
-
var n =
|
|
4255
|
+
})), mt = /* @__PURE__ */ t(((e, t) => {
|
|
4256
|
+
var n = pt(), r = tt(), i;
|
|
4249
4257
|
try {
|
|
4250
4258
|
i = [].__proto__ === Array.prototype;
|
|
4251
4259
|
} catch (e) {
|
|
@@ -4255,8 +4263,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4255
4263
|
t.exports = a && typeof a.get == "function" ? n([a.get]) : typeof s == "function" ? function(e) {
|
|
4256
4264
|
return s(e == null ? e : o(e));
|
|
4257
4265
|
} : !1;
|
|
4258
|
-
})),
|
|
4259
|
-
var n =
|
|
4266
|
+
})), ht = /* @__PURE__ */ t(((e, t) => {
|
|
4267
|
+
var n = at(), r = ot(), i = mt();
|
|
4260
4268
|
t.exports = n ? function(e) {
|
|
4261
4269
|
return n(e);
|
|
4262
4270
|
} : r ? function(e) {
|
|
@@ -4265,15 +4273,15 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4265
4273
|
} : i ? function(e) {
|
|
4266
4274
|
return i(e);
|
|
4267
4275
|
} : null;
|
|
4268
|
-
})),
|
|
4276
|
+
})), gt = /* @__PURE__ */ t(((e, t) => {
|
|
4269
4277
|
var n = Function.prototype.call, r = Object.prototype.hasOwnProperty;
|
|
4270
|
-
t.exports =
|
|
4278
|
+
t.exports = ct().call(n, r);
|
|
4271
4279
|
})), Z = /* @__PURE__ */ t(((e, t) => {
|
|
4272
|
-
var n, r =
|
|
4280
|
+
var n, r = ze(), i = Be(), a = Ve(), o = He(), s = Ue(), c = We(), l = X(), u = Ge(), d = Ke(), f = qe(), p = Je(), m = Ye(), h = Xe(), g = Ze(), _ = $e(), v = Function, y = function(e) {
|
|
4273
4281
|
try {
|
|
4274
4282
|
return v("\"use strict\"; return (" + e + ").constructor;")();
|
|
4275
4283
|
} catch {}
|
|
4276
|
-
}, b =
|
|
4284
|
+
}, b = tt(), x = nt(), S = function() {
|
|
4277
4285
|
throw new l();
|
|
4278
4286
|
}, C = b ? function() {
|
|
4279
4287
|
try {
|
|
@@ -4285,7 +4293,7 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4285
4293
|
return S;
|
|
4286
4294
|
}
|
|
4287
4295
|
}
|
|
4288
|
-
}() : S, w =
|
|
4296
|
+
}() : S, w = it()(), T = ht(), E = ot(), D = at(), O = ut(), k = lt(), A = {}, j = typeof Uint8Array > "u" || !T ? n : T(Uint8Array), M = {
|
|
4289
4297
|
__proto__: null,
|
|
4290
4298
|
"%AggregateError%": typeof AggregateError > "u" ? n : AggregateError,
|
|
4291
4299
|
"%Array%": Array,
|
|
@@ -4475,7 +4483,7 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4475
4483
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
4476
4484
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
4477
4485
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
4478
|
-
}, F =
|
|
4486
|
+
}, F = ct(), I = gt(), L = F.call(k, Array.prototype.concat), ee = F.call(O, Array.prototype.splice), te = F.call(k, String.prototype.replace), R = F.call(k, String.prototype.slice), z = F.call(k, RegExp.prototype.exec), ne = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, B = /\\(\\)?/g, V = function(e) {
|
|
4479
4487
|
var t = R(e, 0, 1), n = R(e, -1);
|
|
4480
4488
|
if (t === "%" && n !== "%") throw new c("invalid intrinsic syntax, expected closing `%`");
|
|
4481
4489
|
if (n === "%" && t !== "%") throw new c("invalid intrinsic syntax, expected opening `%`");
|
|
@@ -4520,8 +4528,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4520
4528
|
}
|
|
4521
4529
|
return o;
|
|
4522
4530
|
};
|
|
4523
|
-
})),
|
|
4524
|
-
var n =
|
|
4531
|
+
})), _t = /* @__PURE__ */ t(((e, t) => {
|
|
4532
|
+
var n = nt(), r = We(), i = X(), a = tt();
|
|
4525
4533
|
t.exports = function(e, t, o) {
|
|
4526
4534
|
if (!e || typeof e != "object" && typeof e != "function") throw new i("`obj` must be an object or a function`");
|
|
4527
4535
|
if (typeof t != "string" && typeof t != "symbol") throw new i("`property` must be a string or a symbol`");
|
|
@@ -4539,8 +4547,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4539
4547
|
else if (u || !s && !c && !l) e[t] = o;
|
|
4540
4548
|
else throw new r("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
4541
4549
|
};
|
|
4542
|
-
})),
|
|
4543
|
-
var n =
|
|
4550
|
+
})), vt = /* @__PURE__ */ t(((e, t) => {
|
|
4551
|
+
var n = nt(), r = function() {
|
|
4544
4552
|
return !!n;
|
|
4545
4553
|
};
|
|
4546
4554
|
r.hasArrayLengthDefineBug = function() {
|
|
@@ -4551,8 +4559,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4551
4559
|
return !0;
|
|
4552
4560
|
}
|
|
4553
4561
|
}, t.exports = r;
|
|
4554
|
-
})),
|
|
4555
|
-
var n = Z(), r =
|
|
4562
|
+
})), yt = /* @__PURE__ */ t(((e, t) => {
|
|
4563
|
+
var n = Z(), r = _t(), i = vt()(), a = tt(), o = X(), s = n("%Math.floor%");
|
|
4556
4564
|
t.exports = function(e, t) {
|
|
4557
4565
|
if (typeof e != "function") throw new o("`fn` is not a function");
|
|
4558
4566
|
if (typeof t != "number" || t < 0 || t > 4294967295 || s(t) !== t) throw new o("`length` must be a positive 32-bit integer");
|
|
@@ -4563,27 +4571,27 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4563
4571
|
}
|
|
4564
4572
|
return (c || l || !n) && (i ? r(e, "length", t, !0, !0) : r(e, "length", t)), e;
|
|
4565
4573
|
};
|
|
4566
|
-
})),
|
|
4567
|
-
var n =
|
|
4574
|
+
})), bt = /* @__PURE__ */ t(((e, t) => {
|
|
4575
|
+
var n = ct(), r = ut(), i = ft();
|
|
4568
4576
|
t.exports = function() {
|
|
4569
4577
|
return i(n, r, arguments);
|
|
4570
4578
|
};
|
|
4571
|
-
})),
|
|
4572
|
-
var n =
|
|
4579
|
+
})), xt = /* @__PURE__ */ t(((e, t) => {
|
|
4580
|
+
var n = yt(), r = nt(), i = pt(), a = bt();
|
|
4573
4581
|
t.exports = function(e) {
|
|
4574
4582
|
var t = i(arguments), r = 1 + e.length - (arguments.length - 1);
|
|
4575
4583
|
return n(t, r > 0 ? r : 0, !0);
|
|
4576
4584
|
}, r ? r(t.exports, "apply", { value: a }) : t.exports.apply = a;
|
|
4577
|
-
})),
|
|
4585
|
+
})), St = /* @__PURE__ */ t(((e, t) => {
|
|
4578
4586
|
var n = Object.prototype.toString;
|
|
4579
4587
|
t.exports = function(e) {
|
|
4580
4588
|
var t = n.call(e), r = t === "[object Arguments]";
|
|
4581
4589
|
return r ||= t !== "[object Array]" && typeof e == "object" && !!e && typeof e.length == "number" && e.length >= 0 && n.call(e.callee) === "[object Function]", r;
|
|
4582
4590
|
};
|
|
4583
|
-
})),
|
|
4591
|
+
})), Ct = /* @__PURE__ */ t(((e, t) => {
|
|
4584
4592
|
var n;
|
|
4585
4593
|
if (!Object.keys) {
|
|
4586
|
-
var r = Object.prototype.hasOwnProperty, i = Object.prototype.toString, a =
|
|
4594
|
+
var r = Object.prototype.hasOwnProperty, i = Object.prototype.toString, a = St(), o = Object.prototype.propertyIsEnumerable, s = !o.call({ toString: null }, "toString"), c = o.call(function() {}, "prototype"), l = [
|
|
4587
4595
|
"toString",
|
|
4588
4596
|
"toLocaleString",
|
|
4589
4597
|
"valueOf",
|
|
@@ -4650,10 +4658,10 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4650
4658
|
};
|
|
4651
4659
|
}
|
|
4652
4660
|
t.exports = n;
|
|
4653
|
-
})),
|
|
4654
|
-
var n = Array.prototype.slice, r =
|
|
4661
|
+
})), wt = /* @__PURE__ */ t(((e, t) => {
|
|
4662
|
+
var n = Array.prototype.slice, r = St(), i = Object.keys, a = i ? function(e) {
|
|
4655
4663
|
return i(e);
|
|
4656
|
-
} :
|
|
4664
|
+
} : Ct(), o = Object.keys;
|
|
4657
4665
|
a.shim = function() {
|
|
4658
4666
|
return Object.keys ? function() {
|
|
4659
4667
|
var e = Object.keys(arguments);
|
|
@@ -4662,10 +4670,10 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4662
4670
|
return r(e) ? o(n.call(e)) : o(e);
|
|
4663
4671
|
}) : Object.keys = a, Object.keys || a;
|
|
4664
4672
|
}, t.exports = a;
|
|
4665
|
-
})),
|
|
4666
|
-
var n =
|
|
4673
|
+
})), Tt = /* @__PURE__ */ t(((e, t) => {
|
|
4674
|
+
var n = wt(), r = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", i = Object.prototype.toString, a = Array.prototype.concat, o = _t(), s = function(e) {
|
|
4667
4675
|
return typeof e == "function" && i.call(e) === "[object Function]";
|
|
4668
|
-
}, c =
|
|
4676
|
+
}, c = vt()(), l = function(e, t, n, r) {
|
|
4669
4677
|
if (t in e) {
|
|
4670
4678
|
if (r === !0) {
|
|
4671
4679
|
if (e[t] === n) return;
|
|
@@ -4679,28 +4687,28 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4679
4687
|
};
|
|
4680
4688
|
u.supportsDescriptors = !!c, t.exports = u;
|
|
4681
4689
|
})), Q = /* @__PURE__ */ t(((e, t) => {
|
|
4682
|
-
var n = Z(), r =
|
|
4690
|
+
var n = Z(), r = pt(), i = r([n("%String.prototype.indexOf%")]);
|
|
4683
4691
|
t.exports = function(e, t) {
|
|
4684
4692
|
var a = n(e, !!t);
|
|
4685
4693
|
return typeof a == "function" && i(e, ".prototype.") > -1 ? r([a]) : a;
|
|
4686
4694
|
};
|
|
4687
|
-
})),
|
|
4695
|
+
})), Et = /* @__PURE__ */ t(((e, t) => {
|
|
4688
4696
|
var n = Z()("%Array%"), r = !n.isArray && Q()("Object.prototype.toString");
|
|
4689
4697
|
t.exports = n.isArray || function(e) {
|
|
4690
4698
|
return r(e) === "[object Array]";
|
|
4691
4699
|
};
|
|
4692
|
-
})), Et = /* @__PURE__ */ t(((e, t) => {
|
|
4693
|
-
t.exports = Tt();
|
|
4694
4700
|
})), Dt = /* @__PURE__ */ t(((e, t) => {
|
|
4695
|
-
|
|
4701
|
+
t.exports = Et();
|
|
4702
|
+
})), Ot = /* @__PURE__ */ t(((e, t) => {
|
|
4703
|
+
var n = Z(), r = Q(), i = X(), a = Dt(), o = n("%Reflect.apply%", !0) || r("Function.prototype.apply");
|
|
4696
4704
|
t.exports = function(e, t) {
|
|
4697
4705
|
var n = arguments.length > 2 ? arguments[2] : [];
|
|
4698
4706
|
if (!a(n)) throw new i("Assertion failed: optional `argumentsList`, if provided, must be a List");
|
|
4699
4707
|
return o(e, t, n);
|
|
4700
4708
|
};
|
|
4701
|
-
})), Ot = /* @__PURE__ */ t(((e, t) => {
|
|
4702
|
-
t.exports = {};
|
|
4703
4709
|
})), kt = /* @__PURE__ */ t(((e, t) => {
|
|
4710
|
+
t.exports = {};
|
|
4711
|
+
})), At = /* @__PURE__ */ t(((e, t) => {
|
|
4704
4712
|
i();
|
|
4705
4713
|
var n = typeof Map == "function" && Map.prototype, a = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, o = n && a && typeof a.get == "function" ? a.get : null, s = n && Map.prototype.forEach, c = typeof Set == "function" && Set.prototype, l = Object.getOwnPropertyDescriptor && c ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, u = c && l && typeof l.get == "function" ? l.get : null, d = c && Set.prototype.forEach, f = typeof WeakMap == "function" && WeakMap.prototype ? WeakMap.prototype.has : null, p = typeof WeakSet == "function" && WeakSet.prototype ? WeakSet.prototype.has : null, m = typeof WeakRef == "function" && WeakRef.prototype ? WeakRef.prototype.deref : null, h = Boolean.prototype.valueOf, g = Object.prototype.toString, _ = Function.prototype.toString, v = String.prototype.match, y = String.prototype.slice, b = String.prototype.replace, x = String.prototype.toUpperCase, S = String.prototype.toLowerCase, C = RegExp.prototype.test, w = Array.prototype.concat, T = Array.prototype.join, E = Array.prototype.slice, D = Math.floor, O = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, k = Object.getOwnPropertySymbols, A = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, j = typeof Symbol == "function" && typeof Symbol.iterator == "object", M = typeof Symbol == "function" && Symbol.toStringTag ? Symbol.toStringTag : null, N = Object.prototype.propertyIsEnumerable, P = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(e) {
|
|
4706
4714
|
return e.__proto__;
|
|
@@ -4717,7 +4725,7 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4717
4725
|
}
|
|
4718
4726
|
return b.call(t, n, "$&_");
|
|
4719
4727
|
}
|
|
4720
|
-
var I =
|
|
4728
|
+
var I = kt(), L = I.custom, ee = ae(L) ? L : null, te = {
|
|
4721
4729
|
__proto__: null,
|
|
4722
4730
|
double: "\"",
|
|
4723
4731
|
single: "'"
|
|
@@ -5002,7 +5010,7 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5002
5010
|
if (typeof k == "function") for (var l = 0; l < a.length; l++) N.call(e, a[l]) && r.push("[" + t(a[l]) + "]: " + t(e[a[l]], e));
|
|
5003
5011
|
return r;
|
|
5004
5012
|
}
|
|
5005
|
-
})),
|
|
5013
|
+
})), jt = /* @__PURE__ */ t(((e, t) => {
|
|
5006
5014
|
t.exports = function(e) {
|
|
5007
5015
|
return typeof e == "string" || typeof e == "symbol";
|
|
5008
5016
|
};
|
|
@@ -5010,20 +5018,20 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5010
5018
|
t.exports = function(e) {
|
|
5011
5019
|
return !!e && (typeof e == "function" || typeof e == "object");
|
|
5012
5020
|
};
|
|
5013
|
-
})),
|
|
5014
|
-
var n = X(), r =
|
|
5021
|
+
})), Mt = /* @__PURE__ */ t(((e, t) => {
|
|
5022
|
+
var n = X(), r = At(), i = jt(), a = $();
|
|
5015
5023
|
t.exports = function(e, t) {
|
|
5016
5024
|
if (!a(e)) throw new n("Assertion failed: Type(O) is not Object");
|
|
5017
5025
|
if (!i(t)) throw new n("Assertion failed: P is not a Property Key, got " + r(t));
|
|
5018
5026
|
return e[t];
|
|
5019
5027
|
};
|
|
5020
|
-
})),
|
|
5021
|
-
var n = X(), r =
|
|
5028
|
+
})), Nt = /* @__PURE__ */ t(((e, t) => {
|
|
5029
|
+
var n = X(), r = At(), i = jt();
|
|
5022
5030
|
t.exports = function(e, t) {
|
|
5023
5031
|
if (!i(t)) throw new n("Assertion failed: P is not a Property Key, got " + r(t));
|
|
5024
5032
|
return e[t];
|
|
5025
5033
|
};
|
|
5026
|
-
})),
|
|
5034
|
+
})), Pt = /* @__PURE__ */ t(((e, t) => {
|
|
5027
5035
|
var n = Function.prototype.toString, r = typeof Reflect == "object" && Reflect !== null && Reflect.apply, i, a;
|
|
5028
5036
|
if (typeof r == "function" && typeof Object.defineProperty == "function") try {
|
|
5029
5037
|
i = Object.defineProperty({}, "length", { get: function() {
|
|
@@ -5078,10 +5086,10 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5078
5086
|
var t = l.call(e);
|
|
5079
5087
|
return t !== d && t !== f && !/^\[object HTML/.test(t) ? !1 : c(e);
|
|
5080
5088
|
};
|
|
5081
|
-
})), Pt = /* @__PURE__ */ t(((e, t) => {
|
|
5082
|
-
t.exports = Nt();
|
|
5083
5089
|
})), Ft = /* @__PURE__ */ t(((e, t) => {
|
|
5084
|
-
|
|
5090
|
+
t.exports = Pt();
|
|
5091
|
+
})), It = /* @__PURE__ */ t(((e, t) => {
|
|
5092
|
+
var n = X(), r = Nt(), i = Ft(), a = jt(), o = At();
|
|
5085
5093
|
t.exports = function(e, t) {
|
|
5086
5094
|
if (!a(t)) throw new n("Assertion failed: P is not a Property Key");
|
|
5087
5095
|
var s = r(e, t);
|
|
@@ -5090,13 +5098,13 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5090
5098
|
return s;
|
|
5091
5099
|
}
|
|
5092
5100
|
};
|
|
5093
|
-
})),
|
|
5094
|
-
var n =
|
|
5101
|
+
})), Lt = /* @__PURE__ */ t(((e, t) => {
|
|
5102
|
+
var n = rt();
|
|
5095
5103
|
t.exports = function() {
|
|
5096
5104
|
return n() && !!Symbol.toStringTag;
|
|
5097
5105
|
};
|
|
5098
|
-
})),
|
|
5099
|
-
var n = Q(), r =
|
|
5106
|
+
})), Rt = /* @__PURE__ */ t(((e, t) => {
|
|
5107
|
+
var n = Q(), r = Lt()(), i = gt(), a = tt(), o;
|
|
5100
5108
|
if (r) {
|
|
5101
5109
|
var s = n("RegExp.prototype.exec"), c = {}, l = function() {
|
|
5102
5110
|
throw c;
|
|
@@ -5121,12 +5129,12 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5121
5129
|
};
|
|
5122
5130
|
}
|
|
5123
5131
|
t.exports = o;
|
|
5124
|
-
})),
|
|
5132
|
+
})), zt = /* @__PURE__ */ t(((e, t) => {
|
|
5125
5133
|
t.exports = function(e) {
|
|
5126
5134
|
return !!e;
|
|
5127
5135
|
};
|
|
5128
|
-
})),
|
|
5129
|
-
var n = Z()("%Symbol.match%", !0), r =
|
|
5136
|
+
})), Bt = /* @__PURE__ */ t(((e, t) => {
|
|
5137
|
+
var n = Z()("%Symbol.match%", !0), r = Rt(), i = $(), a = zt();
|
|
5130
5138
|
t.exports = function(e) {
|
|
5131
5139
|
if (!i(e)) return !1;
|
|
5132
5140
|
if (n) {
|
|
@@ -5135,19 +5143,19 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5135
5143
|
}
|
|
5136
5144
|
return r(e);
|
|
5137
5145
|
};
|
|
5138
|
-
})),
|
|
5146
|
+
})), Vt = /* @__PURE__ */ t(((e, t) => {
|
|
5139
5147
|
var n = Z()("%String%"), r = X();
|
|
5140
5148
|
t.exports = function(e) {
|
|
5141
5149
|
if (typeof e == "symbol") throw new r("Cannot convert a Symbol value to a string");
|
|
5142
5150
|
return n(e);
|
|
5143
5151
|
};
|
|
5144
|
-
})),
|
|
5152
|
+
})), Ht = /* @__PURE__ */ t(((e, t) => {
|
|
5145
5153
|
var n = X();
|
|
5146
5154
|
t.exports = function(e) {
|
|
5147
5155
|
if (e == null) throw new n(arguments.length > 0 && arguments[1] || "Cannot call method on " + e);
|
|
5148
5156
|
return e;
|
|
5149
5157
|
};
|
|
5150
|
-
})),
|
|
5158
|
+
})), Ut = /* @__PURE__ */ t(((e, t) => {
|
|
5151
5159
|
var n = function() {
|
|
5152
5160
|
return typeof function() {}.name == "string";
|
|
5153
5161
|
}, r = Object.getOwnPropertyDescriptor;
|
|
@@ -5165,21 +5173,21 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5165
5173
|
n.boundFunctionsHaveNames = function() {
|
|
5166
5174
|
return n() && typeof i == "function" && function() {}.bind().name !== "";
|
|
5167
5175
|
}, t.exports = n;
|
|
5168
|
-
})),
|
|
5169
|
-
var n =
|
|
5176
|
+
})), Wt = /* @__PURE__ */ t(((e, t) => {
|
|
5177
|
+
var n = _t(), r = vt()(), i = Ut().functionsHaveConfigurableNames(), a = X();
|
|
5170
5178
|
t.exports = function(e, t) {
|
|
5171
5179
|
if (typeof e != "function") throw new a("`fn` is not a function");
|
|
5172
5180
|
return (!(arguments.length > 2 && arguments[2]) || i) && (r ? n(e, "name", t, !0, !0) : n(e, "name", t)), e;
|
|
5173
5181
|
};
|
|
5174
|
-
})),
|
|
5175
|
-
var n =
|
|
5182
|
+
})), Gt = /* @__PURE__ */ t(((e, t) => {
|
|
5183
|
+
var n = Wt(), r = X(), i = Object;
|
|
5176
5184
|
t.exports = n(function() {
|
|
5177
5185
|
if (this == null || this !== i(this)) throw new r("RegExp.prototype.flags getter called on non-object");
|
|
5178
5186
|
var e = "";
|
|
5179
5187
|
return this.hasIndices && (e += "d"), this.global && (e += "g"), this.ignoreCase && (e += "i"), this.multiline && (e += "m"), this.dotAll && (e += "s"), this.unicode && (e += "u"), this.unicodeSets && (e += "v"), this.sticky && (e += "y"), e;
|
|
5180
5188
|
}, "get flags", !0);
|
|
5181
|
-
})),
|
|
5182
|
-
var n =
|
|
5189
|
+
})), Kt = /* @__PURE__ */ t(((e, t) => {
|
|
5190
|
+
var n = Gt(), r = Tt().supportsDescriptors, i = Object.getOwnPropertyDescriptor;
|
|
5183
5191
|
t.exports = function() {
|
|
5184
5192
|
if (r && /a/gim.flags === "gim") {
|
|
5185
5193
|
var e = i(RegExp.prototype, "flags");
|
|
@@ -5194,8 +5202,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5194
5202
|
}
|
|
5195
5203
|
return n;
|
|
5196
5204
|
};
|
|
5197
|
-
})),
|
|
5198
|
-
var n =
|
|
5205
|
+
})), qt = /* @__PURE__ */ t(((e, t) => {
|
|
5206
|
+
var n = Tt().supportsDescriptors, r = Kt(), i = tt(), a = Object.defineProperty, o = Be(), s = ht(), c = /a/;
|
|
5199
5207
|
t.exports = function() {
|
|
5200
5208
|
if (!n || !s) throw new o("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");
|
|
5201
5209
|
var e = r(), t = s(c), l = i(t, "flags");
|
|
@@ -5205,29 +5213,29 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5205
5213
|
get: e
|
|
5206
5214
|
}), e;
|
|
5207
5215
|
};
|
|
5208
|
-
})),
|
|
5209
|
-
var n =
|
|
5216
|
+
})), Jt = /* @__PURE__ */ t(((e, t) => {
|
|
5217
|
+
var n = Tt(), r = xt(), i = Gt(), a = Kt(), o = qt(), s = r(a());
|
|
5210
5218
|
n(s, {
|
|
5211
5219
|
getPolyfill: a,
|
|
5212
5220
|
implementation: i,
|
|
5213
5221
|
shim: o
|
|
5214
5222
|
}), t.exports = s;
|
|
5215
|
-
})),
|
|
5223
|
+
})), Yt = /* @__PURE__ */ t(((e, t) => {
|
|
5216
5224
|
t.exports = function(e) {
|
|
5217
5225
|
return typeof e == "number" && e >= 55296 && e <= 56319;
|
|
5218
5226
|
};
|
|
5219
|
-
})),
|
|
5227
|
+
})), Xt = /* @__PURE__ */ t(((e, t) => {
|
|
5220
5228
|
t.exports = function(e) {
|
|
5221
5229
|
return typeof e == "number" && e >= 56320 && e <= 57343;
|
|
5222
5230
|
};
|
|
5223
|
-
})),
|
|
5224
|
-
var n = Z(), r = X(), i = n("%String.fromCharCode%"), a =
|
|
5231
|
+
})), Zt = /* @__PURE__ */ t(((e, t) => {
|
|
5232
|
+
var n = Z(), r = X(), i = n("%String.fromCharCode%"), a = Yt(), o = Xt();
|
|
5225
5233
|
t.exports = function(e, t) {
|
|
5226
5234
|
if (!a(e) || !o(t)) throw new r("Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code");
|
|
5227
5235
|
return i(e) + i(t);
|
|
5228
5236
|
};
|
|
5229
|
-
})),
|
|
5230
|
-
var n = X(), r = Q(), i =
|
|
5237
|
+
})), Qt = /* @__PURE__ */ t(((e, t) => {
|
|
5238
|
+
var n = X(), r = Q(), i = Yt(), a = Xt(), o = Zt(), s = r("String.prototype.charAt"), c = r("String.prototype.charCodeAt");
|
|
5231
5239
|
t.exports = function(e, t) {
|
|
5232
5240
|
if (typeof e != "string") throw new n("Assertion failed: `string` must be a String");
|
|
5233
5241
|
var r = e.length;
|
|
@@ -5254,22 +5262,22 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5254
5262
|
"[[IsUnpairedSurrogate]]": !0
|
|
5255
5263
|
};
|
|
5256
5264
|
};
|
|
5257
|
-
})),
|
|
5258
|
-
var n =
|
|
5265
|
+
})), $t = /* @__PURE__ */ t(((e, t) => {
|
|
5266
|
+
var n = Qe();
|
|
5259
5267
|
t.exports = function(e) {
|
|
5260
5268
|
return (typeof e == "number" || typeof e == "bigint") && !n(e) && e !== Infinity && e !== -Infinity;
|
|
5261
5269
|
};
|
|
5262
|
-
})),
|
|
5263
|
-
var n =
|
|
5270
|
+
})), en = /* @__PURE__ */ t(((e, t) => {
|
|
5271
|
+
var n = Ke(), r = qe(), i = Qe(), a = $t();
|
|
5264
5272
|
t.exports = function(e) {
|
|
5265
5273
|
if (typeof e != "number" || i(e) || !a(e)) return !1;
|
|
5266
5274
|
var t = n(e);
|
|
5267
5275
|
return r(t) === t;
|
|
5268
5276
|
};
|
|
5269
|
-
})), en = /* @__PURE__ */ t(((e, t) => {
|
|
5270
|
-
t.exports = 2 ** 53 - 1 || 9007199254740991;
|
|
5271
5277
|
})), tn = /* @__PURE__ */ t(((e, t) => {
|
|
5272
|
-
|
|
5278
|
+
t.exports = 2 ** 53 - 1 || 9007199254740991;
|
|
5279
|
+
})), nn = /* @__PURE__ */ t(((e, t) => {
|
|
5280
|
+
var n = Qt(), r = X(), i = en(), a = tn();
|
|
5273
5281
|
t.exports = function(e, t, o) {
|
|
5274
5282
|
if (typeof e != "string") throw new r("Assertion failed: `S` must be a String");
|
|
5275
5283
|
if (!i(t) || t < 0 || t > a) throw new r("Assertion failed: `length` must be an integer >= 0 and <= 2**53");
|
|
@@ -5278,7 +5286,7 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5278
5286
|
var s = e.length;
|
|
5279
5287
|
return t + 1 >= s ? t + 1 : t + n(e, t)["[[CodeUnitCount]]"];
|
|
5280
5288
|
};
|
|
5281
|
-
})),
|
|
5289
|
+
})), rn = /* @__PURE__ */ t(((e, t) => {
|
|
5282
5290
|
var n = X();
|
|
5283
5291
|
t.exports = function(e, t) {
|
|
5284
5292
|
if (typeof t != "boolean") throw new n("Assertion failed: Type(done) is not Boolean");
|
|
@@ -5287,8 +5295,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5287
5295
|
done: t
|
|
5288
5296
|
};
|
|
5289
5297
|
};
|
|
5290
|
-
})),
|
|
5291
|
-
var n = X(), r =
|
|
5298
|
+
})), an = /* @__PURE__ */ t(((e, t) => {
|
|
5299
|
+
var n = X(), r = gt(), i = {
|
|
5292
5300
|
__proto__: null,
|
|
5293
5301
|
"[[Configurable]]": !0,
|
|
5294
5302
|
"[[Enumerable]]": !0,
|
|
@@ -5304,8 +5312,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5304
5312
|
if (a && o) throw new n("Property Descriptors may not be both accessor and data descriptors");
|
|
5305
5313
|
return !0;
|
|
5306
5314
|
};
|
|
5307
|
-
})),
|
|
5308
|
-
var n =
|
|
5315
|
+
})), on = /* @__PURE__ */ t(((e, t) => {
|
|
5316
|
+
var n = vt(), r = nt(), i = n.hasArrayLengthDefineBug(), a = i && Et(), o = Q()("Object.prototype.propertyIsEnumerable");
|
|
5309
5317
|
t.exports = function(e, t, n, s, c, l) {
|
|
5310
5318
|
if (!r) {
|
|
5311
5319
|
if (!e(l) || !l["[[Configurable]]"] || !l["[[Writable]]"] || c in s && o(s, c) !== !!l["[[Enumerable]]"]) return !1;
|
|
@@ -5314,32 +5322,32 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5314
5322
|
}
|
|
5315
5323
|
return i && c === "length" && "[[Value]]" in l && a(s) && s.length !== l["[[Value]]"] ? (s.length = l["[[Value]]"], s.length === l["[[Value]]"]) : (r(s, c, n(l)), !0);
|
|
5316
5324
|
};
|
|
5317
|
-
})),
|
|
5325
|
+
})), sn = /* @__PURE__ */ t(((e, t) => {
|
|
5318
5326
|
t.exports = function(e) {
|
|
5319
5327
|
if (e === void 0) return e;
|
|
5320
5328
|
var t = {};
|
|
5321
5329
|
return "[[Value]]" in e && (t.value = e["[[Value]]"]), "[[Writable]]" in e && (t.writable = !!e["[[Writable]]"]), "[[Get]]" in e && (t.get = e["[[Get]]"]), "[[Set]]" in e && (t.set = e["[[Set]]"]), "[[Enumerable]]" in e && (t.enumerable = !!e["[[Enumerable]]"]), "[[Configurable]]" in e && (t.configurable = !!e["[[Configurable]]"]), t;
|
|
5322
5330
|
};
|
|
5323
|
-
})),
|
|
5324
|
-
var n = X(), r =
|
|
5331
|
+
})), cn = /* @__PURE__ */ t(((e, t) => {
|
|
5332
|
+
var n = X(), r = an(), i = sn();
|
|
5325
5333
|
t.exports = function(e) {
|
|
5326
5334
|
if (e !== void 0 && !r(e)) throw new n("Assertion failed: `Desc` must be a Property Descriptor");
|
|
5327
5335
|
return i(e);
|
|
5328
5336
|
};
|
|
5329
|
-
})),
|
|
5330
|
-
var n = X(), r =
|
|
5337
|
+
})), ln = /* @__PURE__ */ t(((e, t) => {
|
|
5338
|
+
var n = X(), r = gt(), i = an();
|
|
5331
5339
|
t.exports = function(e) {
|
|
5332
5340
|
if (e === void 0) return !1;
|
|
5333
5341
|
if (!i(e)) throw new n("Assertion failed: `Desc` must be a Property Descriptor");
|
|
5334
5342
|
return !(!r(e, "[[Value]]") && !r(e, "[[Writable]]"));
|
|
5335
5343
|
};
|
|
5336
|
-
})),
|
|
5337
|
-
var n =
|
|
5344
|
+
})), un = /* @__PURE__ */ t(((e, t) => {
|
|
5345
|
+
var n = Qe();
|
|
5338
5346
|
t.exports = function(e, t) {
|
|
5339
5347
|
return e === t ? e === 0 ? 1 / e == 1 / t : !0 : n(e) && n(t);
|
|
5340
5348
|
};
|
|
5341
|
-
})),
|
|
5342
|
-
var n =
|
|
5349
|
+
})), dn = /* @__PURE__ */ t(((e, t) => {
|
|
5350
|
+
var n = gt(), r = X(), i = $(), a = Ft(), o = zt();
|
|
5343
5351
|
t.exports = function(e) {
|
|
5344
5352
|
if (!i(e)) throw new r("ToPropertyDescriptor requires an object");
|
|
5345
5353
|
var t = {};
|
|
@@ -5356,8 +5364,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5356
5364
|
if ((n(t, "[[Get]]") || n(t, "[[Set]]")) && (n(t, "[[Value]]") || n(t, "[[Writable]]"))) throw new r("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
|
|
5357
5365
|
return t;
|
|
5358
5366
|
};
|
|
5359
|
-
})),
|
|
5360
|
-
var n = X(), r = $(), i =
|
|
5367
|
+
})), fn = /* @__PURE__ */ t(((e, t) => {
|
|
5368
|
+
var n = X(), r = $(), i = an(), a = on(), o = cn(), s = ln(), c = jt(), l = un(), u = dn();
|
|
5361
5369
|
t.exports = function(e, t, d) {
|
|
5362
5370
|
if (!r(e)) throw new n("Assertion failed: Type(O) is not Object");
|
|
5363
5371
|
if (!c(t)) throw new n("Assertion failed: P is not a Property Key");
|
|
@@ -5365,19 +5373,19 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5365
5373
|
if (!i(f)) throw new n("Assertion failed: Desc is not a valid Property Descriptor");
|
|
5366
5374
|
return a(s, l, o, e, t, f);
|
|
5367
5375
|
};
|
|
5368
|
-
})),
|
|
5376
|
+
})), pn = /* @__PURE__ */ t(((e, t) => {
|
|
5369
5377
|
t.exports = function(e) {
|
|
5370
5378
|
return e === null || typeof e != "function" && typeof e != "object";
|
|
5371
5379
|
};
|
|
5372
|
-
})),
|
|
5373
|
-
var n = Z(), r = n("%Object.preventExtensions%", !0), i = n("%Object.isExtensible%", !0), a =
|
|
5380
|
+
})), mn = /* @__PURE__ */ t(((e, t) => {
|
|
5381
|
+
var n = Z(), r = n("%Object.preventExtensions%", !0), i = n("%Object.isExtensible%", !0), a = pn();
|
|
5374
5382
|
t.exports = r ? function(e) {
|
|
5375
5383
|
return !a(e) && i(e);
|
|
5376
5384
|
} : function(e) {
|
|
5377
5385
|
return !a(e);
|
|
5378
5386
|
};
|
|
5379
|
-
})),
|
|
5380
|
-
var n = X(), r = $(), i =
|
|
5387
|
+
})), hn = /* @__PURE__ */ t(((e, t) => {
|
|
5388
|
+
var n = X(), r = $(), i = fn(), a = mn(), o = jt();
|
|
5381
5389
|
t.exports = function(e, t, s, c) {
|
|
5382
5390
|
if (!r(e)) throw new n("Assertion failed: `homeObject` is not an Object");
|
|
5383
5391
|
if (!o(t)) throw new n("Assertion failed: `key` is not a Property Key or a Private Name");
|
|
@@ -5391,12 +5399,12 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5391
5399
|
"[[Configurable]]": !0
|
|
5392
5400
|
});
|
|
5393
5401
|
};
|
|
5394
|
-
})),
|
|
5402
|
+
})), gn = /* @__PURE__ */ t(((e, t) => {
|
|
5395
5403
|
t.exports = function(e, t) {
|
|
5396
5404
|
for (var n = 0; n < e.length; n += 1) t(e[n], n, e);
|
|
5397
5405
|
};
|
|
5398
|
-
})),
|
|
5399
|
-
var n =
|
|
5406
|
+
})), _n = /* @__PURE__ */ t(((e, t) => {
|
|
5407
|
+
var n = At(), r = X(), i = function(e, t, n) {
|
|
5400
5408
|
for (var r = e, i; (i = r.next) != null; r = i) if (i.key === t) return r.next = i.next, n || (i.next = e.next, e.next = i), i;
|
|
5401
5409
|
}, a = function(e, t) {
|
|
5402
5410
|
if (e) {
|
|
@@ -5436,8 +5444,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5436
5444
|
};
|
|
5437
5445
|
return t;
|
|
5438
5446
|
};
|
|
5439
|
-
})),
|
|
5440
|
-
var n = Z(), r = Q(), i =
|
|
5447
|
+
})), vn = /* @__PURE__ */ t(((e, t) => {
|
|
5448
|
+
var n = Z(), r = Q(), i = At(), a = X(), o = n("%Map%", !0), s = r("Map.prototype.get", !0), c = r("Map.prototype.set", !0), l = r("Map.prototype.has", !0), u = r("Map.prototype.delete", !0), d = r("Map.prototype.size", !0);
|
|
5441
5449
|
t.exports = !!o && function() {
|
|
5442
5450
|
var e, t = {
|
|
5443
5451
|
assert: function(e) {
|
|
@@ -5462,8 +5470,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5462
5470
|
};
|
|
5463
5471
|
return t;
|
|
5464
5472
|
};
|
|
5465
|
-
})),
|
|
5466
|
-
var n = Z(), r = Q(), i =
|
|
5473
|
+
})), yn = /* @__PURE__ */ t(((e, t) => {
|
|
5474
|
+
var n = Z(), r = Q(), i = At(), a = vn(), o = X(), s = n("%WeakMap%", !0), c = r("WeakMap.prototype.get", !0), l = r("WeakMap.prototype.set", !0), u = r("WeakMap.prototype.has", !0), d = r("WeakMap.prototype.delete", !0);
|
|
5467
5475
|
t.exports = s ? function() {
|
|
5468
5476
|
var e, t, n = {
|
|
5469
5477
|
assert: function(e) {
|
|
@@ -5487,8 +5495,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5487
5495
|
};
|
|
5488
5496
|
return n;
|
|
5489
5497
|
} : a;
|
|
5490
|
-
})),
|
|
5491
|
-
var n = X(), r =
|
|
5498
|
+
})), bn = /* @__PURE__ */ t(((e, t) => {
|
|
5499
|
+
var n = X(), r = At(), i = _n(), a = vn(), o = yn() || a || i;
|
|
5492
5500
|
t.exports = function() {
|
|
5493
5501
|
var e, t = {
|
|
5494
5502
|
assert: function(e) {
|
|
@@ -5509,8 +5517,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5509
5517
|
};
|
|
5510
5518
|
return t;
|
|
5511
5519
|
};
|
|
5512
|
-
})),
|
|
5513
|
-
var n =
|
|
5520
|
+
})), xn = /* @__PURE__ */ t(((e, t) => {
|
|
5521
|
+
var n = gt(), r = bn()(), i = X(), a = {
|
|
5514
5522
|
assert: function(e, t) {
|
|
5515
5523
|
if (!e || typeof e != "object" && typeof e != "function") throw new i("`O` is not an object");
|
|
5516
5524
|
if (typeof t != "string") throw new i("`slot` must be a string");
|
|
@@ -5536,7 +5544,7 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5536
5544
|
}
|
|
5537
5545
|
};
|
|
5538
5546
|
Object.freeze && Object.freeze(a), t.exports = a;
|
|
5539
|
-
})),
|
|
5547
|
+
})), Sn = /* @__PURE__ */ t(((e, t) => {
|
|
5540
5548
|
var n = {
|
|
5541
5549
|
__proto__: null,
|
|
5542
5550
|
foo: {}
|
|
@@ -5544,8 +5552,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5544
5552
|
t.exports = function() {
|
|
5545
5553
|
return r;
|
|
5546
5554
|
};
|
|
5547
|
-
})),
|
|
5548
|
-
var n = Z()("%Object.create%", !0), r = X(), i =
|
|
5555
|
+
})), Cn = /* @__PURE__ */ t(((e, t) => {
|
|
5556
|
+
var n = Z()("%Object.create%", !0), r = X(), i = We(), a = $(), o = Dt(), s = gn(), c = xn(), l = Sn()();
|
|
5549
5557
|
t.exports = function(e) {
|
|
5550
5558
|
if (e !== null && !a(e)) throw new r("Assertion failed: `proto` must be null or an object");
|
|
5551
5559
|
var t = arguments.length < 2 ? [] : arguments[1];
|
|
@@ -5562,8 +5570,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5562
5570
|
c.set(u, e, void 0);
|
|
5563
5571
|
}), u;
|
|
5564
5572
|
};
|
|
5565
|
-
})),
|
|
5566
|
-
var n = X(), r = $(), i = Q()("RegExp.prototype.exec"), a =
|
|
5573
|
+
})), wn = /* @__PURE__ */ t(((e, t) => {
|
|
5574
|
+
var n = X(), r = $(), i = Q()("RegExp.prototype.exec"), a = Ot(), o = Mt(), s = Ft();
|
|
5567
5575
|
t.exports = function(e, t) {
|
|
5568
5576
|
if (!r(e)) throw new n("Assertion failed: `R` must be an Object");
|
|
5569
5577
|
if (typeof t != "string") throw new n("Assertion failed: `S` must be a String");
|
|
@@ -5575,8 +5583,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5575
5583
|
}
|
|
5576
5584
|
return i(e, t);
|
|
5577
5585
|
};
|
|
5578
|
-
})),
|
|
5579
|
-
var n = X(), r = $(), i =
|
|
5586
|
+
})), Tn = /* @__PURE__ */ t(((e, t) => {
|
|
5587
|
+
var n = X(), r = $(), i = jt(), a = un(), o = function() {
|
|
5580
5588
|
try {
|
|
5581
5589
|
return delete 0, !0;
|
|
5582
5590
|
} catch {
|
|
@@ -5597,31 +5605,31 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5597
5605
|
return !1;
|
|
5598
5606
|
}
|
|
5599
5607
|
};
|
|
5600
|
-
})),
|
|
5608
|
+
})), En = /* @__PURE__ */ t(((e, t) => {
|
|
5601
5609
|
t.exports = function(e) {
|
|
5602
5610
|
return e === null || typeof e != "function" && typeof e != "object";
|
|
5603
5611
|
};
|
|
5604
|
-
})),
|
|
5612
|
+
})), Dn = /* @__PURE__ */ t(((e, t) => {
|
|
5605
5613
|
var n = Q(), r = n("Date.prototype.getDay"), i = function(e) {
|
|
5606
5614
|
try {
|
|
5607
5615
|
return r(e), !0;
|
|
5608
5616
|
} catch {
|
|
5609
5617
|
return !1;
|
|
5610
5618
|
}
|
|
5611
|
-
}, a = n("Object.prototype.toString"), o = "[object Date]", s =
|
|
5619
|
+
}, a = n("Object.prototype.toString"), o = "[object Date]", s = Lt()();
|
|
5612
5620
|
t.exports = function(e) {
|
|
5613
5621
|
return typeof e != "object" || !e ? !1 : s ? i(e) : a(e) === o;
|
|
5614
5622
|
};
|
|
5615
|
-
})),
|
|
5616
|
-
var n = Q(), r =
|
|
5623
|
+
})), On = /* @__PURE__ */ t(((e, t) => {
|
|
5624
|
+
var n = Q(), r = Rt(), i = n("RegExp.prototype.exec"), a = X();
|
|
5617
5625
|
t.exports = function(e) {
|
|
5618
5626
|
if (!r(e)) throw new a("`regex` must be a RegExp");
|
|
5619
5627
|
return function(t) {
|
|
5620
5628
|
return i(e, t) !== null;
|
|
5621
5629
|
};
|
|
5622
5630
|
};
|
|
5623
|
-
})),
|
|
5624
|
-
var n = Q(), r = n("Object.prototype.toString"), i =
|
|
5631
|
+
})), kn = /* @__PURE__ */ t(((e, t) => {
|
|
5632
|
+
var n = Q(), r = n("Object.prototype.toString"), i = it()(), a = On();
|
|
5625
5633
|
if (i) {
|
|
5626
5634
|
var o = n("Symbol.prototype.toString"), s = a(/^Symbol\(.*\)$/), c = function(e) {
|
|
5627
5635
|
return typeof e.valueOf() == "symbol" ? s(o(e)) : !1;
|
|
@@ -5638,8 +5646,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5638
5646
|
} else t.exports = function(e) {
|
|
5639
5647
|
return !1;
|
|
5640
5648
|
};
|
|
5641
|
-
})),
|
|
5642
|
-
var n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol", r =
|
|
5649
|
+
})), An = /* @__PURE__ */ t(((e, t) => {
|
|
5650
|
+
var n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol", r = En(), i = Pt(), a = Dn(), o = kn(), s = function(e, t) {
|
|
5643
5651
|
if (e == null) throw TypeError("Cannot call method on " + e);
|
|
5644
5652
|
if (typeof t != "string" || t !== "number" && t !== "string") throw TypeError("hint must be \"string\" or \"number\"");
|
|
5645
5653
|
var n = t === "string" ? ["toString", "valueOf"] : ["valueOf", "toString"], a, o, s;
|
|
@@ -5664,29 +5672,29 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5664
5672
|
}
|
|
5665
5673
|
return t === "default" && (a(e) || o(e)) && (t = "string"), s(e, t === "default" ? "number" : t);
|
|
5666
5674
|
};
|
|
5667
|
-
})),
|
|
5668
|
-
var n =
|
|
5675
|
+
})), jn = /* @__PURE__ */ t(((e, t) => {
|
|
5676
|
+
var n = An();
|
|
5669
5677
|
t.exports = function(e) {
|
|
5670
5678
|
return arguments.length > 1 ? n(e, arguments[1]) : n(e);
|
|
5671
5679
|
};
|
|
5672
|
-
})),
|
|
5673
|
-
var n =
|
|
5680
|
+
})), Mn = /* @__PURE__ */ t(((e, t) => {
|
|
5681
|
+
var n = Ht(), r = Vt(), i = Q()("String.prototype.replace"), a = /^\s$/.test(""), o = a ? /^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/ : /^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/, s = a ? /[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/ : /[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;
|
|
5674
5682
|
t.exports = function() {
|
|
5675
5683
|
return i(i(r(n(this)), o, ""), s, "");
|
|
5676
5684
|
};
|
|
5677
|
-
})),
|
|
5678
|
-
var n =
|
|
5685
|
+
})), Nn = /* @__PURE__ */ t(((e, t) => {
|
|
5686
|
+
var n = Mn(), r = "", i = "";
|
|
5679
5687
|
t.exports = function() {
|
|
5680
5688
|
return String.prototype.trim && r.trim() === r && i.trim() === i && ("_" + i).trim() === "_" + i && (i + "_").trim() === i + "_" ? String.prototype.trim : n;
|
|
5681
5689
|
};
|
|
5682
|
-
})),
|
|
5683
|
-
var n =
|
|
5690
|
+
})), Pn = /* @__PURE__ */ t(((e, t) => {
|
|
5691
|
+
var n = vt()(), r = _t(), i = Nn();
|
|
5684
5692
|
t.exports = function() {
|
|
5685
5693
|
var e = i();
|
|
5686
5694
|
return String.prototype.trim !== e && (n ? r(String.prototype, "trim", e, !0) : r(String.prototype, "trim", e)), e;
|
|
5687
5695
|
};
|
|
5688
|
-
})),
|
|
5689
|
-
var n =
|
|
5696
|
+
})), Fn = /* @__PURE__ */ t(((e, t) => {
|
|
5697
|
+
var n = xt(), r = Tt(), i = Ht(), a = Mn(), o = Nn(), s = Pn(), c = n(o()), l = function(e) {
|
|
5690
5698
|
return i(e), c(e);
|
|
5691
5699
|
};
|
|
5692
5700
|
r(l, {
|
|
@@ -5694,12 +5702,12 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5694
5702
|
implementation: a,
|
|
5695
5703
|
shim: s
|
|
5696
5704
|
}), t.exports = l;
|
|
5697
|
-
})),
|
|
5698
|
-
var n = Z(), r = n("%RegExp%"), i = X(), a = n("%parseInt%"), o = Q(), s =
|
|
5705
|
+
})), In = /* @__PURE__ */ t(((e, t) => {
|
|
5706
|
+
var n = Z(), r = n("%RegExp%"), i = X(), a = n("%parseInt%"), o = Q(), s = On(), c = o("String.prototype.slice"), l = s(/^0b[01]+$/i), u = s(/^0o[0-7]+$/i), d = s(/^[-+]0x[0-9a-f]+$/i), f = s(new r("[" + [
|
|
5699
5707
|
"
",
|
|
5700
5708
|
"",
|
|
5701
5709
|
""
|
|
5702
|
-
].join("") + "]", "g")), p =
|
|
5710
|
+
].join("") + "]", "g")), p = Fn();
|
|
5703
5711
|
t.exports = function e(t) {
|
|
5704
5712
|
if (typeof t != "string") throw new i("Assertion failed: `argument` is not a String");
|
|
5705
5713
|
if (l(t)) return +a(c(t, 2), 2);
|
|
@@ -5708,40 +5716,40 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5708
5716
|
var n = p(t);
|
|
5709
5717
|
return n === t ? +t : e(n);
|
|
5710
5718
|
};
|
|
5711
|
-
})),
|
|
5712
|
-
var n = Z(), r = X(), i = n("%Number%"), a =
|
|
5719
|
+
})), Ln = /* @__PURE__ */ t(((e, t) => {
|
|
5720
|
+
var n = Z(), r = X(), i = n("%Number%"), a = pn(), o = jn(), s = In();
|
|
5713
5721
|
t.exports = function(e) {
|
|
5714
5722
|
var t = a(e) ? e : o(e, i);
|
|
5715
5723
|
if (typeof t == "symbol") throw new r("Cannot convert a Symbol value to a number");
|
|
5716
5724
|
if (typeof t == "bigint") throw new r("Conversion from 'BigInt' to 'number' is not allowed.");
|
|
5717
5725
|
return typeof t == "string" ? s(t) : +t;
|
|
5718
5726
|
};
|
|
5719
|
-
})),
|
|
5720
|
-
var n =
|
|
5727
|
+
})), Rn = /* @__PURE__ */ t(((e, t) => {
|
|
5728
|
+
var n = qe();
|
|
5721
5729
|
t.exports = function(e) {
|
|
5722
5730
|
return typeof e == "bigint" ? e : n(e);
|
|
5723
5731
|
};
|
|
5724
|
-
})),
|
|
5725
|
-
var n =
|
|
5732
|
+
})), zn = /* @__PURE__ */ t(((e, t) => {
|
|
5733
|
+
var n = Rn(), r = X();
|
|
5726
5734
|
t.exports = function(e) {
|
|
5727
5735
|
if (typeof e != "number" && typeof e != "bigint") throw new r("argument must be a Number or a BigInt");
|
|
5728
5736
|
var t = e < 0 ? -n(-e) : n(e);
|
|
5729
5737
|
return t === 0 ? 0 : t;
|
|
5730
5738
|
};
|
|
5731
|
-
})),
|
|
5732
|
-
var n =
|
|
5739
|
+
})), Bn = /* @__PURE__ */ t(((e, t) => {
|
|
5740
|
+
var n = Ln(), r = zn(), i = Qe(), a = $t();
|
|
5733
5741
|
t.exports = function(e) {
|
|
5734
5742
|
var t = n(e);
|
|
5735
5743
|
return i(t) || t === 0 ? 0 : a(t) ? r(t) : t;
|
|
5736
5744
|
};
|
|
5737
|
-
})),
|
|
5738
|
-
var n =
|
|
5745
|
+
})), Vn = /* @__PURE__ */ t(((e, t) => {
|
|
5746
|
+
var n = tn(), r = Bn();
|
|
5739
5747
|
t.exports = function(e) {
|
|
5740
5748
|
var t = r(e);
|
|
5741
5749
|
return t <= 0 ? 0 : t > n ? n : t;
|
|
5742
5750
|
};
|
|
5743
|
-
})),
|
|
5744
|
-
var n = Z()("%Object.defineProperty%", !0), r =
|
|
5751
|
+
})), Hn = /* @__PURE__ */ t(((e, t) => {
|
|
5752
|
+
var n = Z()("%Object.defineProperty%", !0), r = Lt()(), i = gt(), a = X(), o = r ? Symbol.toStringTag : null;
|
|
5745
5753
|
t.exports = function(e, t) {
|
|
5746
5754
|
var r = arguments.length > 2 && !!arguments[2] && arguments[2].force, s = arguments.length > 2 && !!arguments[2] && arguments[2].nonConfigurable;
|
|
5747
5755
|
if (r !== void 0 && typeof r != "boolean" || s !== void 0 && typeof s != "boolean") throw new a("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");
|
|
@@ -5752,8 +5760,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5752
5760
|
writable: !1
|
|
5753
5761
|
}) : e[o] = t);
|
|
5754
5762
|
};
|
|
5755
|
-
})),
|
|
5756
|
-
var n = Z(), r =
|
|
5763
|
+
})), Un = /* @__PURE__ */ t(((e, t) => {
|
|
5764
|
+
var n = Z(), r = it()(), i = X(), a = $(), o = n("%IteratorPrototype%", !0), s = nn(), c = rn(), l = hn(), u = Mt(), d = Cn(), f = wn(), p = Tn(), m = Vn(), h = Vt(), g = xn(), _ = Hn(), v = function(e, t, n, r) {
|
|
5757
5765
|
if (typeof t != "string") throw new i("`S` must be a string");
|
|
5758
5766
|
if (typeof n != "boolean") throw new i("`global` must be a boolean");
|
|
5759
5767
|
if (typeof r != "boolean") throw new i("`fullUnicode` must be a boolean");
|
|
@@ -5771,10 +5779,10 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5771
5779
|
}, !1)), t.exports = function(e, t, n, r) {
|
|
5772
5780
|
return new v(e, t, n, r);
|
|
5773
5781
|
};
|
|
5774
|
-
})), Un = /* @__PURE__ */ t(((e, t) => {
|
|
5775
|
-
t.exports = Z();
|
|
5776
5782
|
})), Wn = /* @__PURE__ */ t(((e, t) => {
|
|
5777
|
-
|
|
5783
|
+
t.exports = Z();
|
|
5784
|
+
})), Gn = /* @__PURE__ */ t(((e, t) => {
|
|
5785
|
+
var n = Wn()("%Reflect.construct%", !0), r = fn();
|
|
5778
5786
|
try {
|
|
5779
5787
|
r({}, "", { "[[Get]]": function() {} });
|
|
5780
5788
|
} catch {
|
|
@@ -5797,8 +5805,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5797
5805
|
} else t.exports = function(e) {
|
|
5798
5806
|
return typeof e == "function" && !!e.prototype;
|
|
5799
5807
|
};
|
|
5800
|
-
})),
|
|
5801
|
-
var n = Z()("%Symbol.species%", !0), r = X(), i = $(), a =
|
|
5808
|
+
})), Kn = /* @__PURE__ */ t(((e, t) => {
|
|
5809
|
+
var n = Z()("%Symbol.species%", !0), r = X(), i = $(), a = Gn();
|
|
5802
5810
|
t.exports = function(e, t) {
|
|
5803
5811
|
if (!i(e)) throw new r("Assertion failed: Type(O) is not Object");
|
|
5804
5812
|
var o = e.constructor;
|
|
@@ -5809,7 +5817,7 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5809
5817
|
if (a(s)) return s;
|
|
5810
5818
|
throw new r("no constructor found");
|
|
5811
5819
|
};
|
|
5812
|
-
})),
|
|
5820
|
+
})), qn = /* @__PURE__ */ t(((e, t) => {
|
|
5813
5821
|
var n = $();
|
|
5814
5822
|
t.exports = function(e) {
|
|
5815
5823
|
if (e === null) return "Null";
|
|
@@ -5819,13 +5827,13 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5819
5827
|
if (typeof e == "boolean") return "Boolean";
|
|
5820
5828
|
if (typeof e == "string") return "String";
|
|
5821
5829
|
};
|
|
5822
|
-
})),
|
|
5823
|
-
var n =
|
|
5830
|
+
})), Jn = /* @__PURE__ */ t(((e, t) => {
|
|
5831
|
+
var n = qn();
|
|
5824
5832
|
t.exports = function(e) {
|
|
5825
5833
|
return typeof e == "symbol" ? "Symbol" : typeof e == "bigint" ? "BigInt" : n(e);
|
|
5826
5834
|
};
|
|
5827
|
-
})),
|
|
5828
|
-
var n =
|
|
5835
|
+
})), Yn = /* @__PURE__ */ t(((e, t) => {
|
|
5836
|
+
var n = Un(), r = Mt(), i = Tn(), a = Kn(), o = Vn(), s = Vt(), c = Jn(), l = Jt(), u = Wt(), d = Q(), f = Z(), p = X(), m = d("String.prototype.indexOf"), h = f("%RegExp%"), g = "flags" in h.prototype, _ = function(e, t) {
|
|
5829
5837
|
var n, i = "flags" in t ? r(t, "flags") : s(l(t));
|
|
5830
5838
|
return n = g && typeof i == "string" ? new e(t, i) : e === h ? new e(t.source, i) : new e(t, i), {
|
|
5831
5839
|
flags: i,
|
|
@@ -5838,13 +5846,13 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5838
5846
|
var l = s(e), u = _(a(t, h), t), d = u.flags, f = u.matcher;
|
|
5839
5847
|
return i(f, "lastIndex", o(r(t, "lastIndex")), !0), n(f, l, m(d, "g") > -1, m(d, "u") > -1);
|
|
5840
5848
|
}, "[Symbol.matchAll]", !0);
|
|
5841
|
-
})),
|
|
5842
|
-
var n =
|
|
5849
|
+
})), Xn = /* @__PURE__ */ t(((e, t) => {
|
|
5850
|
+
var n = it()(), r = Yn();
|
|
5843
5851
|
t.exports = function() {
|
|
5844
5852
|
return !n || typeof Symbol.matchAll != "symbol" || typeof RegExp.prototype[Symbol.matchAll] != "function" ? r : RegExp.prototype[Symbol.matchAll];
|
|
5845
5853
|
};
|
|
5846
|
-
})),
|
|
5847
|
-
var n =
|
|
5854
|
+
})), Zn = /* @__PURE__ */ t(((e, t) => {
|
|
5855
|
+
var n = Ot(), r = Mt(), i = It(), a = Bt(), o = Vt(), s = Ht(), c = Q(), l = it()(), u = Jt(), d = Z(), f = X(), p = d("%RegExp%"), m = c("String.prototype.indexOf"), h = Xn(), g = function(e) {
|
|
5848
5856
|
var t = h();
|
|
5849
5857
|
if (l && typeof Symbol.matchAll == "symbol") {
|
|
5850
5858
|
var n = i(e, Symbol.matchAll);
|
|
@@ -5865,8 +5873,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5865
5873
|
var l = o(t), d = new p(e, "g");
|
|
5866
5874
|
return n(g(d), d, [l]);
|
|
5867
5875
|
};
|
|
5868
|
-
})),
|
|
5869
|
-
var n =
|
|
5876
|
+
})), Qn = /* @__PURE__ */ t(((e, t) => {
|
|
5877
|
+
var n = Zn();
|
|
5870
5878
|
t.exports = function() {
|
|
5871
5879
|
if (String.prototype.matchAll) try {
|
|
5872
5880
|
"".matchAll(RegExp.prototype);
|
|
@@ -5875,8 +5883,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5875
5883
|
}
|
|
5876
5884
|
return n;
|
|
5877
5885
|
};
|
|
5878
|
-
})),
|
|
5879
|
-
var n =
|
|
5886
|
+
})), $n = /* @__PURE__ */ t(((e, t) => {
|
|
5887
|
+
var n = Tt(), r = it()(), i = tt(), a = Qn(), o = Xn(), s = Object.defineProperty;
|
|
5880
5888
|
t.exports = function() {
|
|
5881
5889
|
var e = a();
|
|
5882
5890
|
if (n(String.prototype, { matchAll: e }, { matchAll: function() {
|
|
@@ -5903,20 +5911,20 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5903
5911
|
}
|
|
5904
5912
|
return e;
|
|
5905
5913
|
};
|
|
5906
|
-
})),
|
|
5907
|
-
var n =
|
|
5914
|
+
})), er = /* @__PURE__ */ t(((e, t) => {
|
|
5915
|
+
var n = xt(), r = Tt(), i = Zn(), a = Qn(), o = $n(), s = n(i);
|
|
5908
5916
|
r(s, {
|
|
5909
5917
|
getPolyfill: a,
|
|
5910
5918
|
implementation: i,
|
|
5911
5919
|
shim: o
|
|
5912
5920
|
}), t.exports = s;
|
|
5913
|
-
})),
|
|
5921
|
+
})), tr = /* @__PURE__ */ t(((e, t) => {
|
|
5914
5922
|
i();
|
|
5915
|
-
var o = A(), s = F(), c = I(), l = q(), u = P(), d = ye(), f =
|
|
5923
|
+
var o = A(), s = F(), c = I(), l = q(), u = P(), d = ye(), f = Re(), p = j(), m = a(), h = /\${?([\w\d]+)}?/g, g = p.EventEmitter || p.default || p;
|
|
5916
5924
|
String.prototype.regexIndexOf = function(e, t) {
|
|
5917
5925
|
let n = this.substring(t || 0).search(e);
|
|
5918
5926
|
return n >= 0 ? n + (t || 0) : n;
|
|
5919
|
-
},
|
|
5927
|
+
}, er().shim();
|
|
5920
5928
|
var _ = class e extends g {
|
|
5921
5929
|
constructor(t) {
|
|
5922
5930
|
super();
|
|
@@ -5958,18 +5966,18 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5958
5966
|
this.onCommand(`source ${e}`);
|
|
5959
5967
|
}
|
|
5960
5968
|
onCommand(t, n = !0) {
|
|
5961
|
-
let r = this._splitInput(t), i = !0,
|
|
5962
|
-
if (!
|
|
5963
|
-
n === "&&" ?
|
|
5969
|
+
let r = this._splitInput(t), i = this._groupPipes(r), a = !0, o = i.reduce((e, { commands: t, op: n }) => e.then(() => {
|
|
5970
|
+
if (!a) {
|
|
5971
|
+
n === "&&" ? a = this._lastCode === 0 : n === "||" ? a = this._lastCode !== 0 : n === ";" && (a = !0);
|
|
5964
5972
|
return;
|
|
5965
5973
|
}
|
|
5966
|
-
return this.
|
|
5967
|
-
n === "&&" ?
|
|
5974
|
+
return this._runPipeChain(t).then(() => {
|
|
5975
|
+
n === "&&" ? a = this._lastCode === 0 : n === "||" ? a = this._lastCode !== 0 : n === ";" && (a = !0);
|
|
5968
5976
|
});
|
|
5969
5977
|
}), Promise.resolve());
|
|
5970
|
-
return n ?
|
|
5978
|
+
return n ? o.then(() => {
|
|
5971
5979
|
this.destroyed || this.emit("status", e.STATUS_READY);
|
|
5972
|
-
}).catch(() => this.emit("status", e.STATUS_READY)) :
|
|
5980
|
+
}).catch(() => this.emit("status", e.STATUS_READY)) : o;
|
|
5973
5981
|
}
|
|
5974
5982
|
tabCompletion(e) {
|
|
5975
5983
|
return this.context.fs.autoComplete(e, this.path);
|
|
@@ -6079,6 +6087,13 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
6079
6087
|
}), n = "", r += 2;
|
|
6080
6088
|
continue;
|
|
6081
6089
|
}
|
|
6090
|
+
if (o === "|") {
|
|
6091
|
+
t.push({
|
|
6092
|
+
command: n.trim(),
|
|
6093
|
+
op: "|"
|
|
6094
|
+
}), n = "", r++;
|
|
6095
|
+
continue;
|
|
6096
|
+
}
|
|
6082
6097
|
if (o === ";") {
|
|
6083
6098
|
t.push({
|
|
6084
6099
|
command: n.trim(),
|
|
@@ -6172,6 +6187,39 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
6172
6187
|
let n = [];
|
|
6173
6188
|
return t.on("stdOut", (e) => n.push(e)), await t.onCommand(e, !1), n.join("\n").trimEnd();
|
|
6174
6189
|
}
|
|
6190
|
+
_groupPipes(e) {
|
|
6191
|
+
let t = [], n = [];
|
|
6192
|
+
for (let { command: r, op: i } of e) n.push(r), i !== "|" && (t.push({
|
|
6193
|
+
commands: n,
|
|
6194
|
+
op: i
|
|
6195
|
+
}), n = []);
|
|
6196
|
+
return n.length && t.push({
|
|
6197
|
+
commands: n,
|
|
6198
|
+
op: null
|
|
6199
|
+
}), t;
|
|
6200
|
+
}
|
|
6201
|
+
async _runPipeChain(e) {
|
|
6202
|
+
if (e.length === 1) return this._runCommand(e[0]);
|
|
6203
|
+
let t;
|
|
6204
|
+
for (let n = 0; n < e.length; n++) if (n === e.length - 1) {
|
|
6205
|
+
t !== void 0 && (this._stdin = t);
|
|
6206
|
+
try {
|
|
6207
|
+
await this._runCommand(e[n]);
|
|
6208
|
+
} finally {
|
|
6209
|
+
delete this._stdin;
|
|
6210
|
+
}
|
|
6211
|
+
} else t = await this._captureForPipe(e[n], t);
|
|
6212
|
+
}
|
|
6213
|
+
async _captureForPipe(e, t) {
|
|
6214
|
+
let n = new r.shell({
|
|
6215
|
+
cwd: this.context.fs.cwd,
|
|
6216
|
+
filesystem: this.context.fs.getRaw(),
|
|
6217
|
+
permissions: this.context.fs.getRawPermissions()
|
|
6218
|
+
});
|
|
6219
|
+
n.context.source(this.context), t !== void 0 && (n.stdin = t);
|
|
6220
|
+
let i = [];
|
|
6221
|
+
return n.on("stdOut", (e) => i.push(e)), n.on("stdErr", (e) => this.emit("stdErr", e)), await n.onCommand(e, !1), this.lastCode = n.lastCode, i.join("\n");
|
|
6222
|
+
}
|
|
6175
6223
|
static _splitCommand(e) {
|
|
6176
6224
|
let t = /\s/g, n = !1, r = !1, i = 0, a = [], o = !1, s = [];
|
|
6177
6225
|
for (let c = 0; c < e.length; c++) {
|
|
@@ -6219,6 +6267,6 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
6219
6267
|
_.STATUS_READY = "READY", _.STATUS_WORKING = "WORKING", _.STATUS_DESTROYED = "DESTROYED", _.Command = u, _.FS = m, r.shell = _, t.exports = _;
|
|
6220
6268
|
}));
|
|
6221
6269
|
//#endregion
|
|
6222
|
-
export default
|
|
6270
|
+
export default tr();
|
|
6223
6271
|
|
|
6224
6272
|
//# sourceMappingURL=shell.es.js.map
|