@harbour-enterprises/superdoc 0.9.32 → 0.9.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{index-CqRwYOdx.cjs → index--PIRPKWt.cjs} +1 -1
- package/dist/chunks/{index-dZKHAFXF.es.js → index-B5GDfEJg.es.js} +1 -1
- package/dist/chunks/index-Bq_aNm9n.es.js +473 -0
- package/dist/chunks/index-DrgTIkvI.cjs +1 -0
- package/dist/chunks/{super-editor.es-lgNxT29a.es.js → super-editor.es-B8noCvT1.es.js} +6145 -6110
- package/dist/chunks/{super-editor.es-BMiw7kSz.cjs → super-editor.es-y2QD_ueu.cjs} +66 -66
- package/dist/chunks/{url-BxDGAI6E.es.js → url-BDmRlERW.es.js} +1 -1
- package/dist/chunks/{url-6Xu7gR4T.cjs → url-C5DCBLAS.cjs} +1 -1
- package/dist/chunks/xml-js-DMX8C2aY.es.js +2965 -0
- package/dist/chunks/xml-js-DN6JJ8Mw.cjs +10 -0
- package/dist/style.css +1 -1
- package/dist/super-editor/chunks/{converter-CvrsY4k6.js → converter-CdhiEvSA.js} +1443 -1398
- package/dist/super-editor/chunks/{docx-zipper-D_ju0cVd.js → docx-zipper-Cb4eXMOp.js} +1 -1
- package/dist/super-editor/chunks/{editor-CZVXNGfc.js → editor-Czx51mKu.js} +1191 -1200
- package/dist/super-editor/chunks/{toolbar-DcnqpZm5.js → toolbar-BE-PZVKR.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/tableImporter.d.ts +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/tableImporter.d.ts.map +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/extensions/table/tableHelpers/createColGroup.d.ts +2 -0
- package/dist/super-editor/extensions/table/tableHelpers/createColGroup.d.ts.map +1 -1
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/style.css +1 -1
- package/dist/super-editor/super-editor.es.js +36 -36
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-DX0vnkoa.d.ts +3 -0
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-DX0vnkoa.d.ts.map +1 -0
- package/dist/super-editor/tests/e2e/test-app/vite.config.d.ts +1 -1
- package/dist/super-editor/tests/export/export-helpers/export-helpers.d.ts.map +1 -1
- package/dist/super-editor/tests/export/tableExporter.test.d.ts +2 -0
- package/dist/super-editor/tests/export/tableExporter.test.d.ts.map +1 -0
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +3 -3
- package/dist/superdoc.cjs +3 -3
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +3419 -3385
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/index-BXKGjuVW.cjs +0 -1
- package/dist/chunks/index-DjLrg1eZ.es.js +0 -1676
- package/dist/chunks/xml-js-BAML2_fM.es.js +0 -1757
- package/dist/chunks/xml-js-zhwNEV5e.cjs +0 -10
|
@@ -1,1757 +0,0 @@
|
|
|
1
|
-
import { a as wt, d as St, c as Oe } from "./jszip-DSGi1sNe.es.js";
|
|
2
|
-
import { p as L } from "./vue-BDbTsTMu.es.js";
|
|
3
|
-
var Ye = { exports: {} };
|
|
4
|
-
typeof Object.create == "function" ? Ye.exports = function(e, t) {
|
|
5
|
-
t && (e.super_ = t, e.prototype = Object.create(t.prototype, {
|
|
6
|
-
constructor: {
|
|
7
|
-
value: e,
|
|
8
|
-
enumerable: !1,
|
|
9
|
-
writable: !0,
|
|
10
|
-
configurable: !0
|
|
11
|
-
}
|
|
12
|
-
}));
|
|
13
|
-
} : Ye.exports = function(e, t) {
|
|
14
|
-
if (t) {
|
|
15
|
-
e.super_ = t;
|
|
16
|
-
var n = function() {
|
|
17
|
-
};
|
|
18
|
-
n.prototype = t.prototype, e.prototype = new n(), e.prototype.constructor = e;
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
var Ot = Ye.exports, ir = { exports: {} }, re = typeof Reflect == "object" ? Reflect : null, pr = re && typeof re.apply == "function" ? re.apply : function(e, t, n) {
|
|
22
|
-
return Function.prototype.apply.call(e, t, n);
|
|
23
|
-
}, ve;
|
|
24
|
-
re && typeof re.ownKeys == "function" ? ve = re.ownKeys : Object.getOwnPropertySymbols ? ve = function(e) {
|
|
25
|
-
return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
|
|
26
|
-
} : ve = function(e) {
|
|
27
|
-
return Object.getOwnPropertyNames(e);
|
|
28
|
-
};
|
|
29
|
-
function Pt(r) {
|
|
30
|
-
console && console.warn && console.warn(r);
|
|
31
|
-
}
|
|
32
|
-
var kr = Number.isNaN || function(e) {
|
|
33
|
-
return e !== e;
|
|
34
|
-
};
|
|
35
|
-
function P() {
|
|
36
|
-
P.init.call(this);
|
|
37
|
-
}
|
|
38
|
-
ir.exports = P;
|
|
39
|
-
ir.exports.once = Bt;
|
|
40
|
-
P.EventEmitter = P;
|
|
41
|
-
P.prototype._events = void 0;
|
|
42
|
-
P.prototype._eventsCount = 0;
|
|
43
|
-
P.prototype._maxListeners = void 0;
|
|
44
|
-
var dr = 10;
|
|
45
|
-
function Be(r) {
|
|
46
|
-
if (typeof r != "function")
|
|
47
|
-
throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof r);
|
|
48
|
-
}
|
|
49
|
-
Object.defineProperty(P, "defaultMaxListeners", {
|
|
50
|
-
enumerable: !0,
|
|
51
|
-
get: function() {
|
|
52
|
-
return dr;
|
|
53
|
-
},
|
|
54
|
-
set: function(r) {
|
|
55
|
-
if (typeof r != "number" || r < 0 || kr(r))
|
|
56
|
-
throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + r + ".");
|
|
57
|
-
dr = r;
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
P.init = function() {
|
|
61
|
-
(this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) && (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0;
|
|
62
|
-
};
|
|
63
|
-
P.prototype.setMaxListeners = function(e) {
|
|
64
|
-
if (typeof e != "number" || e < 0 || kr(e))
|
|
65
|
-
throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + e + ".");
|
|
66
|
-
return this._maxListeners = e, this;
|
|
67
|
-
};
|
|
68
|
-
function Gr(r) {
|
|
69
|
-
return r._maxListeners === void 0 ? P.defaultMaxListeners : r._maxListeners;
|
|
70
|
-
}
|
|
71
|
-
P.prototype.getMaxListeners = function() {
|
|
72
|
-
return Gr(this);
|
|
73
|
-
};
|
|
74
|
-
P.prototype.emit = function(e) {
|
|
75
|
-
for (var t = [], n = 1; n < arguments.length; n++) t.push(arguments[n]);
|
|
76
|
-
var i = e === "error", c = this._events;
|
|
77
|
-
if (c !== void 0)
|
|
78
|
-
i = i && c.error === void 0;
|
|
79
|
-
else if (!i)
|
|
80
|
-
return !1;
|
|
81
|
-
if (i) {
|
|
82
|
-
var u;
|
|
83
|
-
if (t.length > 0 && (u = t[0]), u instanceof Error)
|
|
84
|
-
throw u;
|
|
85
|
-
var d = new Error("Unhandled error." + (u ? " (" + u.message + ")" : ""));
|
|
86
|
-
throw d.context = u, d;
|
|
87
|
-
}
|
|
88
|
-
var y = c[e];
|
|
89
|
-
if (y === void 0)
|
|
90
|
-
return !1;
|
|
91
|
-
if (typeof y == "function")
|
|
92
|
-
pr(y, this, t);
|
|
93
|
-
else
|
|
94
|
-
for (var m = y.length, w = qr(y, m), n = 0; n < m; ++n)
|
|
95
|
-
pr(w[n], this, t);
|
|
96
|
-
return !0;
|
|
97
|
-
};
|
|
98
|
-
function xr(r, e, t, n) {
|
|
99
|
-
var i, c, u;
|
|
100
|
-
if (Be(t), c = r._events, c === void 0 ? (c = r._events = /* @__PURE__ */ Object.create(null), r._eventsCount = 0) : (c.newListener !== void 0 && (r.emit(
|
|
101
|
-
"newListener",
|
|
102
|
-
e,
|
|
103
|
-
t.listener ? t.listener : t
|
|
104
|
-
), c = r._events), u = c[e]), u === void 0)
|
|
105
|
-
u = c[e] = t, ++r._eventsCount;
|
|
106
|
-
else if (typeof u == "function" ? u = c[e] = n ? [t, u] : [u, t] : n ? u.unshift(t) : u.push(t), i = Gr(r), i > 0 && u.length > i && !u.warned) {
|
|
107
|
-
u.warned = !0;
|
|
108
|
-
var d = new Error("Possible EventEmitter memory leak detected. " + u.length + " " + String(e) + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
109
|
-
d.name = "MaxListenersExceededWarning", d.emitter = r, d.type = e, d.count = u.length, Pt(d);
|
|
110
|
-
}
|
|
111
|
-
return r;
|
|
112
|
-
}
|
|
113
|
-
P.prototype.addListener = function(e, t) {
|
|
114
|
-
return xr(this, e, t, !1);
|
|
115
|
-
};
|
|
116
|
-
P.prototype.on = P.prototype.addListener;
|
|
117
|
-
P.prototype.prependListener = function(e, t) {
|
|
118
|
-
return xr(this, e, t, !0);
|
|
119
|
-
};
|
|
120
|
-
function Et() {
|
|
121
|
-
if (!this.fired)
|
|
122
|
-
return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
|
|
123
|
-
}
|
|
124
|
-
function Wr(r, e, t) {
|
|
125
|
-
var n = { fired: !1, wrapFn: void 0, target: r, type: e, listener: t }, i = Et.bind(n);
|
|
126
|
-
return i.listener = t, n.wrapFn = i, i;
|
|
127
|
-
}
|
|
128
|
-
P.prototype.once = function(e, t) {
|
|
129
|
-
return Be(t), this.on(e, Wr(this, e, t)), this;
|
|
130
|
-
};
|
|
131
|
-
P.prototype.prependOnceListener = function(e, t) {
|
|
132
|
-
return Be(t), this.prependListener(e, Wr(this, e, t)), this;
|
|
133
|
-
};
|
|
134
|
-
P.prototype.removeListener = function(e, t) {
|
|
135
|
-
var n, i, c, u, d;
|
|
136
|
-
if (Be(t), i = this._events, i === void 0)
|
|
137
|
-
return this;
|
|
138
|
-
if (n = i[e], n === void 0)
|
|
139
|
-
return this;
|
|
140
|
-
if (n === t || n.listener === t)
|
|
141
|
-
--this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete i[e], i.removeListener && this.emit("removeListener", e, n.listener || t));
|
|
142
|
-
else if (typeof n != "function") {
|
|
143
|
-
for (c = -1, u = n.length - 1; u >= 0; u--)
|
|
144
|
-
if (n[u] === t || n[u].listener === t) {
|
|
145
|
-
d = n[u].listener, c = u;
|
|
146
|
-
break;
|
|
147
|
-
}
|
|
148
|
-
if (c < 0)
|
|
149
|
-
return this;
|
|
150
|
-
c === 0 ? n.shift() : jt(n, c), n.length === 1 && (i[e] = n[0]), i.removeListener !== void 0 && this.emit("removeListener", e, d || t);
|
|
151
|
-
}
|
|
152
|
-
return this;
|
|
153
|
-
};
|
|
154
|
-
P.prototype.off = P.prototype.removeListener;
|
|
155
|
-
P.prototype.removeAllListeners = function(e) {
|
|
156
|
-
var t, n, i;
|
|
157
|
-
if (n = this._events, n === void 0)
|
|
158
|
-
return this;
|
|
159
|
-
if (n.removeListener === void 0)
|
|
160
|
-
return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : n[e] !== void 0 && (--this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete n[e]), this;
|
|
161
|
-
if (arguments.length === 0) {
|
|
162
|
-
var c = Object.keys(n), u;
|
|
163
|
-
for (i = 0; i < c.length; ++i)
|
|
164
|
-
u = c[i], u !== "removeListener" && this.removeAllListeners(u);
|
|
165
|
-
return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this;
|
|
166
|
-
}
|
|
167
|
-
if (t = n[e], typeof t == "function")
|
|
168
|
-
this.removeListener(e, t);
|
|
169
|
-
else if (t !== void 0)
|
|
170
|
-
for (i = t.length - 1; i >= 0; i--)
|
|
171
|
-
this.removeListener(e, t[i]);
|
|
172
|
-
return this;
|
|
173
|
-
};
|
|
174
|
-
function zr(r, e, t) {
|
|
175
|
-
var n = r._events;
|
|
176
|
-
if (n === void 0)
|
|
177
|
-
return [];
|
|
178
|
-
var i = n[e];
|
|
179
|
-
return i === void 0 ? [] : typeof i == "function" ? t ? [i.listener || i] : [i] : t ? $t(i) : qr(i, i.length);
|
|
180
|
-
}
|
|
181
|
-
P.prototype.listeners = function(e) {
|
|
182
|
-
return zr(this, e, !0);
|
|
183
|
-
};
|
|
184
|
-
P.prototype.rawListeners = function(e) {
|
|
185
|
-
return zr(this, e, !1);
|
|
186
|
-
};
|
|
187
|
-
P.listenerCount = function(r, e) {
|
|
188
|
-
return typeof r.listenerCount == "function" ? r.listenerCount(e) : Vr.call(r, e);
|
|
189
|
-
};
|
|
190
|
-
P.prototype.listenerCount = Vr;
|
|
191
|
-
function Vr(r) {
|
|
192
|
-
var e = this._events;
|
|
193
|
-
if (e !== void 0) {
|
|
194
|
-
var t = e[r];
|
|
195
|
-
if (typeof t == "function")
|
|
196
|
-
return 1;
|
|
197
|
-
if (t !== void 0)
|
|
198
|
-
return t.length;
|
|
199
|
-
}
|
|
200
|
-
return 0;
|
|
201
|
-
}
|
|
202
|
-
P.prototype.eventNames = function() {
|
|
203
|
-
return this._eventsCount > 0 ? ve(this._events) : [];
|
|
204
|
-
};
|
|
205
|
-
function qr(r, e) {
|
|
206
|
-
for (var t = new Array(e), n = 0; n < e; ++n)
|
|
207
|
-
t[n] = r[n];
|
|
208
|
-
return t;
|
|
209
|
-
}
|
|
210
|
-
function jt(r, e) {
|
|
211
|
-
for (; e + 1 < r.length; e++)
|
|
212
|
-
r[e] = r[e + 1];
|
|
213
|
-
r.pop();
|
|
214
|
-
}
|
|
215
|
-
function $t(r) {
|
|
216
|
-
for (var e = new Array(r.length), t = 0; t < e.length; ++t)
|
|
217
|
-
e[t] = r[t].listener || r[t];
|
|
218
|
-
return e;
|
|
219
|
-
}
|
|
220
|
-
function Bt(r, e) {
|
|
221
|
-
return new Promise(function(t, n) {
|
|
222
|
-
function i(u) {
|
|
223
|
-
r.removeListener(e, c), n(u);
|
|
224
|
-
}
|
|
225
|
-
function c() {
|
|
226
|
-
typeof r.removeListener == "function" && r.removeListener("error", i), t([].slice.call(arguments));
|
|
227
|
-
}
|
|
228
|
-
Hr(r, e, c, { once: !0 }), e !== "error" && Tt(r, i, { once: !0 });
|
|
229
|
-
});
|
|
230
|
-
}
|
|
231
|
-
function Tt(r, e, t) {
|
|
232
|
-
typeof r.on == "function" && Hr(r, "error", e, t);
|
|
233
|
-
}
|
|
234
|
-
function Hr(r, e, t, n) {
|
|
235
|
-
if (typeof r.on == "function")
|
|
236
|
-
n.once ? r.once(e, t) : r.on(e, t);
|
|
237
|
-
else if (typeof r.addEventListener == "function")
|
|
238
|
-
r.addEventListener(e, function i(c) {
|
|
239
|
-
n.once && r.removeEventListener(e, i), t(c);
|
|
240
|
-
});
|
|
241
|
-
else
|
|
242
|
-
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof r);
|
|
243
|
-
}
|
|
244
|
-
var Qo = ir.exports;
|
|
245
|
-
const Ft = /* @__PURE__ */ wt(St);
|
|
246
|
-
var It = {}, Jr = {}, Kr = function() {
|
|
247
|
-
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
248
|
-
return !1;
|
|
249
|
-
if (typeof Symbol.iterator == "symbol")
|
|
250
|
-
return !0;
|
|
251
|
-
var e = {}, t = Symbol("test"), n = Object(t);
|
|
252
|
-
if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(n) !== "[object Symbol]")
|
|
253
|
-
return !1;
|
|
254
|
-
var i = 42;
|
|
255
|
-
e[t] = i;
|
|
256
|
-
for (var c in e)
|
|
257
|
-
return !1;
|
|
258
|
-
if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0)
|
|
259
|
-
return !1;
|
|
260
|
-
var u = Object.getOwnPropertySymbols(e);
|
|
261
|
-
if (u.length !== 1 || u[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t))
|
|
262
|
-
return !1;
|
|
263
|
-
if (typeof Object.getOwnPropertyDescriptor == "function") {
|
|
264
|
-
var d = (
|
|
265
|
-
/** @type {PropertyDescriptor} */
|
|
266
|
-
Object.getOwnPropertyDescriptor(e, t)
|
|
267
|
-
);
|
|
268
|
-
if (d.value !== i || d.enumerable !== !0)
|
|
269
|
-
return !1;
|
|
270
|
-
}
|
|
271
|
-
return !0;
|
|
272
|
-
}, Nt = Kr, Te = function() {
|
|
273
|
-
return Nt() && !!Symbol.toStringTag;
|
|
274
|
-
}, Zr = Object, Rt = Error, _t = EvalError, Ct = RangeError, Lt = ReferenceError, Yr = SyntaxError, fe = TypeError, Ut = URIError, Dt = Math.abs, Mt = Math.floor, kt = Math.max, Gt = Math.min, xt = Math.pow, Wt = Math.round, zt = Number.isNaN || function(e) {
|
|
275
|
-
return e !== e;
|
|
276
|
-
}, Vt = zt, qt = function(e) {
|
|
277
|
-
return Vt(e) || e === 0 ? e : e < 0 ? -1 : 1;
|
|
278
|
-
}, Ht = Object.getOwnPropertyDescriptor, me = Ht;
|
|
279
|
-
if (me)
|
|
280
|
-
try {
|
|
281
|
-
me([], "length");
|
|
282
|
-
} catch {
|
|
283
|
-
me = null;
|
|
284
|
-
}
|
|
285
|
-
var oe = me, be = Object.defineProperty || !1;
|
|
286
|
-
if (be)
|
|
287
|
-
try {
|
|
288
|
-
be({}, "a", { value: 1 });
|
|
289
|
-
} catch {
|
|
290
|
-
be = !1;
|
|
291
|
-
}
|
|
292
|
-
var Fe = be, Ce, hr;
|
|
293
|
-
function Jt() {
|
|
294
|
-
if (hr) return Ce;
|
|
295
|
-
hr = 1;
|
|
296
|
-
var r = typeof Symbol < "u" && Symbol, e = Kr;
|
|
297
|
-
return Ce = function() {
|
|
298
|
-
return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
|
|
299
|
-
}, Ce;
|
|
300
|
-
}
|
|
301
|
-
var Qr = typeof Reflect < "u" && Reflect.getPrototypeOf || null, Kt = Zr, Xr = Kt.getPrototypeOf || null, Le, gr;
|
|
302
|
-
function Zt() {
|
|
303
|
-
if (gr) return Le;
|
|
304
|
-
gr = 1;
|
|
305
|
-
var r = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, t = Math.max, n = "[object Function]", i = function(y, m) {
|
|
306
|
-
for (var w = [], $ = 0; $ < y.length; $ += 1)
|
|
307
|
-
w[$] = y[$];
|
|
308
|
-
for (var E = 0; E < m.length; E += 1)
|
|
309
|
-
w[E + y.length] = m[E];
|
|
310
|
-
return w;
|
|
311
|
-
}, c = function(y, m) {
|
|
312
|
-
for (var w = [], $ = m, E = 0; $ < y.length; $ += 1, E += 1)
|
|
313
|
-
w[E] = y[$];
|
|
314
|
-
return w;
|
|
315
|
-
}, u = function(d, y) {
|
|
316
|
-
for (var m = "", w = 0; w < d.length; w += 1)
|
|
317
|
-
m += d[w], w + 1 < d.length && (m += y);
|
|
318
|
-
return m;
|
|
319
|
-
};
|
|
320
|
-
return Le = function(y) {
|
|
321
|
-
var m = this;
|
|
322
|
-
if (typeof m != "function" || e.apply(m) !== n)
|
|
323
|
-
throw new TypeError(r + m);
|
|
324
|
-
for (var w = c(arguments, 1), $, E = function() {
|
|
325
|
-
if (this instanceof $) {
|
|
326
|
-
var a = m.apply(
|
|
327
|
-
this,
|
|
328
|
-
i(w, arguments)
|
|
329
|
-
);
|
|
330
|
-
return Object(a) === a ? a : this;
|
|
331
|
-
}
|
|
332
|
-
return m.apply(
|
|
333
|
-
y,
|
|
334
|
-
i(w, arguments)
|
|
335
|
-
);
|
|
336
|
-
}, _ = t(0, m.length - w.length), T = [], N = 0; N < _; N++)
|
|
337
|
-
T[N] = "$" + N;
|
|
338
|
-
if ($ = Function("binder", "return function (" + u(T, ",") + "){ return binder.apply(this,arguments); }")(E), m.prototype) {
|
|
339
|
-
var C = function() {
|
|
340
|
-
};
|
|
341
|
-
C.prototype = m.prototype, $.prototype = new C(), C.prototype = null;
|
|
342
|
-
}
|
|
343
|
-
return $;
|
|
344
|
-
}, Le;
|
|
345
|
-
}
|
|
346
|
-
var Ue, vr;
|
|
347
|
-
function se() {
|
|
348
|
-
if (vr) return Ue;
|
|
349
|
-
vr = 1;
|
|
350
|
-
var r = Zt();
|
|
351
|
-
return Ue = Function.prototype.bind || r, Ue;
|
|
352
|
-
}
|
|
353
|
-
var De, mr;
|
|
354
|
-
function ar() {
|
|
355
|
-
return mr || (mr = 1, De = Function.prototype.call), De;
|
|
356
|
-
}
|
|
357
|
-
var Me, br;
|
|
358
|
-
function fr() {
|
|
359
|
-
return br || (br = 1, Me = Function.prototype.apply), Me;
|
|
360
|
-
}
|
|
361
|
-
var Yt = typeof Reflect < "u" && Reflect && Reflect.apply, Qt = se(), Xt = fr(), en = ar(), rn = Yt, et = rn || Qt.call(en, Xt), tn = se(), nn = fe, on = ar(), an = et, sr = function(e) {
|
|
362
|
-
if (e.length < 1 || typeof e[0] != "function")
|
|
363
|
-
throw new nn("a function is required");
|
|
364
|
-
return an(tn, on, e);
|
|
365
|
-
}, fn = sr, Ar = oe, rt;
|
|
366
|
-
try {
|
|
367
|
-
rt = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
368
|
-
[].__proto__ === Array.prototype;
|
|
369
|
-
} catch (r) {
|
|
370
|
-
if (!r || typeof r != "object" || !("code" in r) || r.code !== "ERR_PROTO_ACCESS")
|
|
371
|
-
throw r;
|
|
372
|
-
}
|
|
373
|
-
var ke = !!rt && Ar && Ar(
|
|
374
|
-
Object.prototype,
|
|
375
|
-
/** @type {keyof typeof Object.prototype} */
|
|
376
|
-
"__proto__"
|
|
377
|
-
), tt = Object, wr = tt.getPrototypeOf, sn = ke && typeof ke.get == "function" ? fn([ke.get]) : typeof wr == "function" ? (
|
|
378
|
-
/** @type {import('./get')} */
|
|
379
|
-
function(e) {
|
|
380
|
-
return wr(e == null ? e : tt(e));
|
|
381
|
-
}
|
|
382
|
-
) : !1, Sr = Qr, Or = Xr, Pr = sn, ur = Sr ? function(e) {
|
|
383
|
-
return Sr(e);
|
|
384
|
-
} : Or ? function(e) {
|
|
385
|
-
if (!e || typeof e != "object" && typeof e != "function")
|
|
386
|
-
throw new TypeError("getProto: not an object");
|
|
387
|
-
return Or(e);
|
|
388
|
-
} : Pr ? function(e) {
|
|
389
|
-
return Pr(e);
|
|
390
|
-
} : null, Ge, Er;
|
|
391
|
-
function nt() {
|
|
392
|
-
if (Er) return Ge;
|
|
393
|
-
Er = 1;
|
|
394
|
-
var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = se();
|
|
395
|
-
return Ge = t.call(r, e), Ge;
|
|
396
|
-
}
|
|
397
|
-
var v, un = Zr, ln = Rt, cn = _t, yn = Ct, pn = Lt, ne = Yr, te = fe, dn = Ut, hn = Dt, gn = Mt, vn = kt, mn = Gt, bn = xt, An = Wt, wn = qt, ot = Function, xe = function(r) {
|
|
398
|
-
try {
|
|
399
|
-
return ot('"use strict"; return (' + r + ").constructor;")();
|
|
400
|
-
} catch {
|
|
401
|
-
}
|
|
402
|
-
}, ae = oe, Sn = Fe, We = function() {
|
|
403
|
-
throw new te();
|
|
404
|
-
}, On = ae ? function() {
|
|
405
|
-
try {
|
|
406
|
-
return arguments.callee, We;
|
|
407
|
-
} catch {
|
|
408
|
-
try {
|
|
409
|
-
return ae(arguments, "callee").get;
|
|
410
|
-
} catch {
|
|
411
|
-
return We;
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
}() : We, Y = Jt()(), F = ur, Pn = Xr, En = Qr, it = fr(), ue = ar(), X = {}, jn = typeof Uint8Array > "u" || !F ? v : F(Uint8Array), V = {
|
|
415
|
-
__proto__: null,
|
|
416
|
-
"%AggregateError%": typeof AggregateError > "u" ? v : AggregateError,
|
|
417
|
-
"%Array%": Array,
|
|
418
|
-
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? v : ArrayBuffer,
|
|
419
|
-
"%ArrayIteratorPrototype%": Y && F ? F([][Symbol.iterator]()) : v,
|
|
420
|
-
"%AsyncFromSyncIteratorPrototype%": v,
|
|
421
|
-
"%AsyncFunction%": X,
|
|
422
|
-
"%AsyncGenerator%": X,
|
|
423
|
-
"%AsyncGeneratorFunction%": X,
|
|
424
|
-
"%AsyncIteratorPrototype%": X,
|
|
425
|
-
"%Atomics%": typeof Atomics > "u" ? v : Atomics,
|
|
426
|
-
"%BigInt%": typeof BigInt > "u" ? v : BigInt,
|
|
427
|
-
"%BigInt64Array%": typeof BigInt64Array > "u" ? v : BigInt64Array,
|
|
428
|
-
"%BigUint64Array%": typeof BigUint64Array > "u" ? v : BigUint64Array,
|
|
429
|
-
"%Boolean%": Boolean,
|
|
430
|
-
"%DataView%": typeof DataView > "u" ? v : DataView,
|
|
431
|
-
"%Date%": Date,
|
|
432
|
-
"%decodeURI%": decodeURI,
|
|
433
|
-
"%decodeURIComponent%": decodeURIComponent,
|
|
434
|
-
"%encodeURI%": encodeURI,
|
|
435
|
-
"%encodeURIComponent%": encodeURIComponent,
|
|
436
|
-
"%Error%": ln,
|
|
437
|
-
"%eval%": eval,
|
|
438
|
-
// eslint-disable-line no-eval
|
|
439
|
-
"%EvalError%": cn,
|
|
440
|
-
"%Float16Array%": typeof Float16Array > "u" ? v : Float16Array,
|
|
441
|
-
"%Float32Array%": typeof Float32Array > "u" ? v : Float32Array,
|
|
442
|
-
"%Float64Array%": typeof Float64Array > "u" ? v : Float64Array,
|
|
443
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? v : FinalizationRegistry,
|
|
444
|
-
"%Function%": ot,
|
|
445
|
-
"%GeneratorFunction%": X,
|
|
446
|
-
"%Int8Array%": typeof Int8Array > "u" ? v : Int8Array,
|
|
447
|
-
"%Int16Array%": typeof Int16Array > "u" ? v : Int16Array,
|
|
448
|
-
"%Int32Array%": typeof Int32Array > "u" ? v : Int32Array,
|
|
449
|
-
"%isFinite%": isFinite,
|
|
450
|
-
"%isNaN%": isNaN,
|
|
451
|
-
"%IteratorPrototype%": Y && F ? F(F([][Symbol.iterator]())) : v,
|
|
452
|
-
"%JSON%": typeof JSON == "object" ? JSON : v,
|
|
453
|
-
"%Map%": typeof Map > "u" ? v : Map,
|
|
454
|
-
"%MapIteratorPrototype%": typeof Map > "u" || !Y || !F ? v : F((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
455
|
-
"%Math%": Math,
|
|
456
|
-
"%Number%": Number,
|
|
457
|
-
"%Object%": un,
|
|
458
|
-
"%Object.getOwnPropertyDescriptor%": ae,
|
|
459
|
-
"%parseFloat%": parseFloat,
|
|
460
|
-
"%parseInt%": parseInt,
|
|
461
|
-
"%Promise%": typeof Promise > "u" ? v : Promise,
|
|
462
|
-
"%Proxy%": typeof Proxy > "u" ? v : Proxy,
|
|
463
|
-
"%RangeError%": yn,
|
|
464
|
-
"%ReferenceError%": pn,
|
|
465
|
-
"%Reflect%": typeof Reflect > "u" ? v : Reflect,
|
|
466
|
-
"%RegExp%": RegExp,
|
|
467
|
-
"%Set%": typeof Set > "u" ? v : Set,
|
|
468
|
-
"%SetIteratorPrototype%": typeof Set > "u" || !Y || !F ? v : F((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
469
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? v : SharedArrayBuffer,
|
|
470
|
-
"%String%": String,
|
|
471
|
-
"%StringIteratorPrototype%": Y && F ? F(""[Symbol.iterator]()) : v,
|
|
472
|
-
"%Symbol%": Y ? Symbol : v,
|
|
473
|
-
"%SyntaxError%": ne,
|
|
474
|
-
"%ThrowTypeError%": On,
|
|
475
|
-
"%TypedArray%": jn,
|
|
476
|
-
"%TypeError%": te,
|
|
477
|
-
"%Uint8Array%": typeof Uint8Array > "u" ? v : Uint8Array,
|
|
478
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? v : Uint8ClampedArray,
|
|
479
|
-
"%Uint16Array%": typeof Uint16Array > "u" ? v : Uint16Array,
|
|
480
|
-
"%Uint32Array%": typeof Uint32Array > "u" ? v : Uint32Array,
|
|
481
|
-
"%URIError%": dn,
|
|
482
|
-
"%WeakMap%": typeof WeakMap > "u" ? v : WeakMap,
|
|
483
|
-
"%WeakRef%": typeof WeakRef > "u" ? v : WeakRef,
|
|
484
|
-
"%WeakSet%": typeof WeakSet > "u" ? v : WeakSet,
|
|
485
|
-
"%Function.prototype.call%": ue,
|
|
486
|
-
"%Function.prototype.apply%": it,
|
|
487
|
-
"%Object.defineProperty%": Sn,
|
|
488
|
-
"%Object.getPrototypeOf%": Pn,
|
|
489
|
-
"%Math.abs%": hn,
|
|
490
|
-
"%Math.floor%": gn,
|
|
491
|
-
"%Math.max%": vn,
|
|
492
|
-
"%Math.min%": mn,
|
|
493
|
-
"%Math.pow%": bn,
|
|
494
|
-
"%Math.round%": An,
|
|
495
|
-
"%Math.sign%": wn,
|
|
496
|
-
"%Reflect.getPrototypeOf%": En
|
|
497
|
-
};
|
|
498
|
-
if (F)
|
|
499
|
-
try {
|
|
500
|
-
null.error;
|
|
501
|
-
} catch (r) {
|
|
502
|
-
var $n = F(F(r));
|
|
503
|
-
V["%Error.prototype%"] = $n;
|
|
504
|
-
}
|
|
505
|
-
var Bn = function r(e) {
|
|
506
|
-
var t;
|
|
507
|
-
if (e === "%AsyncFunction%")
|
|
508
|
-
t = xe("async function () {}");
|
|
509
|
-
else if (e === "%GeneratorFunction%")
|
|
510
|
-
t = xe("function* () {}");
|
|
511
|
-
else if (e === "%AsyncGeneratorFunction%")
|
|
512
|
-
t = xe("async function* () {}");
|
|
513
|
-
else if (e === "%AsyncGenerator%") {
|
|
514
|
-
var n = r("%AsyncGeneratorFunction%");
|
|
515
|
-
n && (t = n.prototype);
|
|
516
|
-
} else if (e === "%AsyncIteratorPrototype%") {
|
|
517
|
-
var i = r("%AsyncGenerator%");
|
|
518
|
-
i && F && (t = F(i.prototype));
|
|
519
|
-
}
|
|
520
|
-
return V[e] = t, t;
|
|
521
|
-
}, jr = {
|
|
522
|
-
__proto__: null,
|
|
523
|
-
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
524
|
-
"%ArrayPrototype%": ["Array", "prototype"],
|
|
525
|
-
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
526
|
-
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
527
|
-
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
528
|
-
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
529
|
-
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
530
|
-
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
531
|
-
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
532
|
-
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
533
|
-
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
534
|
-
"%DatePrototype%": ["Date", "prototype"],
|
|
535
|
-
"%ErrorPrototype%": ["Error", "prototype"],
|
|
536
|
-
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
537
|
-
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
538
|
-
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
539
|
-
"%FunctionPrototype%": ["Function", "prototype"],
|
|
540
|
-
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
541
|
-
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
542
|
-
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
543
|
-
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
544
|
-
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
545
|
-
"%JSONParse%": ["JSON", "parse"],
|
|
546
|
-
"%JSONStringify%": ["JSON", "stringify"],
|
|
547
|
-
"%MapPrototype%": ["Map", "prototype"],
|
|
548
|
-
"%NumberPrototype%": ["Number", "prototype"],
|
|
549
|
-
"%ObjectPrototype%": ["Object", "prototype"],
|
|
550
|
-
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
551
|
-
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
552
|
-
"%PromisePrototype%": ["Promise", "prototype"],
|
|
553
|
-
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
554
|
-
"%Promise_all%": ["Promise", "all"],
|
|
555
|
-
"%Promise_reject%": ["Promise", "reject"],
|
|
556
|
-
"%Promise_resolve%": ["Promise", "resolve"],
|
|
557
|
-
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
558
|
-
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
559
|
-
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
560
|
-
"%SetPrototype%": ["Set", "prototype"],
|
|
561
|
-
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
562
|
-
"%StringPrototype%": ["String", "prototype"],
|
|
563
|
-
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
564
|
-
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
565
|
-
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
566
|
-
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
567
|
-
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
568
|
-
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
569
|
-
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
570
|
-
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
571
|
-
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
572
|
-
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
573
|
-
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
574
|
-
}, le = se(), Pe = nt(), Tn = le.call(ue, Array.prototype.concat), Fn = le.call(it, Array.prototype.splice), $r = le.call(ue, String.prototype.replace), Ee = le.call(ue, String.prototype.slice), In = le.call(ue, RegExp.prototype.exec), Nn = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Rn = /\\(\\)?/g, _n = function(e) {
|
|
575
|
-
var t = Ee(e, 0, 1), n = Ee(e, -1);
|
|
576
|
-
if (t === "%" && n !== "%")
|
|
577
|
-
throw new ne("invalid intrinsic syntax, expected closing `%`");
|
|
578
|
-
if (n === "%" && t !== "%")
|
|
579
|
-
throw new ne("invalid intrinsic syntax, expected opening `%`");
|
|
580
|
-
var i = [];
|
|
581
|
-
return $r(e, Nn, function(c, u, d, y) {
|
|
582
|
-
i[i.length] = d ? $r(y, Rn, "$1") : u || c;
|
|
583
|
-
}), i;
|
|
584
|
-
}, Cn = function(e, t) {
|
|
585
|
-
var n = e, i;
|
|
586
|
-
if (Pe(jr, n) && (i = jr[n], n = "%" + i[0] + "%"), Pe(V, n)) {
|
|
587
|
-
var c = V[n];
|
|
588
|
-
if (c === X && (c = Bn(n)), typeof c > "u" && !t)
|
|
589
|
-
throw new te("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
|
590
|
-
return {
|
|
591
|
-
alias: i,
|
|
592
|
-
name: n,
|
|
593
|
-
value: c
|
|
594
|
-
};
|
|
595
|
-
}
|
|
596
|
-
throw new ne("intrinsic " + e + " does not exist!");
|
|
597
|
-
}, at = function(e, t) {
|
|
598
|
-
if (typeof e != "string" || e.length === 0)
|
|
599
|
-
throw new te("intrinsic name must be a non-empty string");
|
|
600
|
-
if (arguments.length > 1 && typeof t != "boolean")
|
|
601
|
-
throw new te('"allowMissing" argument must be a boolean');
|
|
602
|
-
if (In(/^%?[^%]*%?$/, e) === null)
|
|
603
|
-
throw new ne("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
604
|
-
var n = _n(e), i = n.length > 0 ? n[0] : "", c = Cn("%" + i + "%", t), u = c.name, d = c.value, y = !1, m = c.alias;
|
|
605
|
-
m && (i = m[0], Fn(n, Tn([0, 1], m)));
|
|
606
|
-
for (var w = 1, $ = !0; w < n.length; w += 1) {
|
|
607
|
-
var E = n[w], _ = Ee(E, 0, 1), T = Ee(E, -1);
|
|
608
|
-
if ((_ === '"' || _ === "'" || _ === "`" || T === '"' || T === "'" || T === "`") && _ !== T)
|
|
609
|
-
throw new ne("property names with quotes must have matching quotes");
|
|
610
|
-
if ((E === "constructor" || !$) && (y = !0), i += "." + E, u = "%" + i + "%", Pe(V, u))
|
|
611
|
-
d = V[u];
|
|
612
|
-
else if (d != null) {
|
|
613
|
-
if (!(E in d)) {
|
|
614
|
-
if (!t)
|
|
615
|
-
throw new te("base intrinsic for " + e + " exists, but the property is not available.");
|
|
616
|
-
return;
|
|
617
|
-
}
|
|
618
|
-
if (ae && w + 1 >= n.length) {
|
|
619
|
-
var N = ae(d, E);
|
|
620
|
-
$ = !!N, $ && "get" in N && !("originalValue" in N.get) ? d = N.get : d = d[E];
|
|
621
|
-
} else
|
|
622
|
-
$ = Pe(d, E), d = d[E];
|
|
623
|
-
$ && !y && (V[u] = d);
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
return d;
|
|
627
|
-
}, ft = at, st = sr, Ln = st([ft("%String.prototype.indexOf%")]), ce = function(e, t) {
|
|
628
|
-
var n = (
|
|
629
|
-
/** @type {(this: unknown, ...args: unknown[]) => unknown} */
|
|
630
|
-
ft(e, !!t)
|
|
631
|
-
);
|
|
632
|
-
return typeof n == "function" && Ln(e, ".prototype.") > -1 ? st(
|
|
633
|
-
/** @type {const} */
|
|
634
|
-
[n]
|
|
635
|
-
) : n;
|
|
636
|
-
}, Un = Te(), Dn = ce, Qe = Dn("Object.prototype.toString"), Ie = function(e) {
|
|
637
|
-
return Un && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : Qe(e) === "[object Arguments]";
|
|
638
|
-
}, ut = function(e) {
|
|
639
|
-
return Ie(e) ? !0 : e !== null && typeof e == "object" && "length" in e && typeof e.length == "number" && e.length >= 0 && Qe(e) !== "[object Array]" && "callee" in e && Qe(e.callee) === "[object Function]";
|
|
640
|
-
}, Mn = function() {
|
|
641
|
-
return Ie(arguments);
|
|
642
|
-
}();
|
|
643
|
-
Ie.isLegacyArguments = ut;
|
|
644
|
-
var kn = Mn ? Ie : ut, Br = ce, Gn = Te(), xn = nt(), Wn = oe, Xe;
|
|
645
|
-
if (Gn) {
|
|
646
|
-
var zn = Br("RegExp.prototype.exec"), Tr = {}, ze = function() {
|
|
647
|
-
throw Tr;
|
|
648
|
-
}, Fr = {
|
|
649
|
-
toString: ze,
|
|
650
|
-
valueOf: ze
|
|
651
|
-
};
|
|
652
|
-
typeof Symbol.toPrimitive == "symbol" && (Fr[Symbol.toPrimitive] = ze), Xe = function(e) {
|
|
653
|
-
if (!e || typeof e != "object")
|
|
654
|
-
return !1;
|
|
655
|
-
var t = (
|
|
656
|
-
/** @type {NonNullable<typeof gOPD>} */
|
|
657
|
-
Wn(
|
|
658
|
-
/** @type {{ lastIndex?: unknown }} */
|
|
659
|
-
e,
|
|
660
|
-
"lastIndex"
|
|
661
|
-
)
|
|
662
|
-
), n = t && xn(t, "value");
|
|
663
|
-
if (!n)
|
|
664
|
-
return !1;
|
|
665
|
-
try {
|
|
666
|
-
zn(
|
|
667
|
-
e,
|
|
668
|
-
/** @type {string} */
|
|
669
|
-
/** @type {unknown} */
|
|
670
|
-
Fr
|
|
671
|
-
);
|
|
672
|
-
} catch (i) {
|
|
673
|
-
return i === Tr;
|
|
674
|
-
}
|
|
675
|
-
};
|
|
676
|
-
} else {
|
|
677
|
-
var Vn = Br("Object.prototype.toString"), qn = "[object RegExp]";
|
|
678
|
-
Xe = function(e) {
|
|
679
|
-
return !e || typeof e != "object" && typeof e != "function" ? !1 : Vn(e) === qn;
|
|
680
|
-
};
|
|
681
|
-
}
|
|
682
|
-
var Hn = Xe, Jn = ce, Kn = Hn, Zn = Jn("RegExp.prototype.exec"), Yn = fe, Qn = function(e) {
|
|
683
|
-
if (!Kn(e))
|
|
684
|
-
throw new Yn("`regex` must be a RegExp");
|
|
685
|
-
return function(n) {
|
|
686
|
-
return Zn(e, n) !== null;
|
|
687
|
-
};
|
|
688
|
-
}, lt = ce, Xn = Qn, eo = Xn(/^\s*(?:function)?\*/), ct = Te(), Ve = ur, ro = lt("Object.prototype.toString"), to = lt("Function.prototype.toString"), no = function() {
|
|
689
|
-
if (!ct)
|
|
690
|
-
return !1;
|
|
691
|
-
try {
|
|
692
|
-
return Function("return function*() {}")();
|
|
693
|
-
} catch {
|
|
694
|
-
}
|
|
695
|
-
}, qe, oo = function(e) {
|
|
696
|
-
if (typeof e != "function")
|
|
697
|
-
return !1;
|
|
698
|
-
if (eo(to(e)))
|
|
699
|
-
return !0;
|
|
700
|
-
if (!ct) {
|
|
701
|
-
var t = ro(e);
|
|
702
|
-
return t === "[object GeneratorFunction]";
|
|
703
|
-
}
|
|
704
|
-
if (!Ve)
|
|
705
|
-
return !1;
|
|
706
|
-
if (typeof qe > "u") {
|
|
707
|
-
var n = no();
|
|
708
|
-
qe = n ? (
|
|
709
|
-
/** @type {GeneratorFunctionConstructor} */
|
|
710
|
-
Ve(n)
|
|
711
|
-
) : !1;
|
|
712
|
-
}
|
|
713
|
-
return Ve(e) === qe;
|
|
714
|
-
}, yt = Function.prototype.toString, ee = typeof Reflect == "object" && Reflect !== null && Reflect.apply, er, Ae;
|
|
715
|
-
if (typeof ee == "function" && typeof Object.defineProperty == "function")
|
|
716
|
-
try {
|
|
717
|
-
er = Object.defineProperty({}, "length", {
|
|
718
|
-
get: function() {
|
|
719
|
-
throw Ae;
|
|
720
|
-
}
|
|
721
|
-
}), Ae = {}, ee(function() {
|
|
722
|
-
throw 42;
|
|
723
|
-
}, null, er);
|
|
724
|
-
} catch (r) {
|
|
725
|
-
r !== Ae && (ee = null);
|
|
726
|
-
}
|
|
727
|
-
else
|
|
728
|
-
ee = null;
|
|
729
|
-
var io = /^\s*class\b/, rr = function(e) {
|
|
730
|
-
try {
|
|
731
|
-
var t = yt.call(e);
|
|
732
|
-
return io.test(t);
|
|
733
|
-
} catch {
|
|
734
|
-
return !1;
|
|
735
|
-
}
|
|
736
|
-
}, He = function(e) {
|
|
737
|
-
try {
|
|
738
|
-
return rr(e) ? !1 : (yt.call(e), !0);
|
|
739
|
-
} catch {
|
|
740
|
-
return !1;
|
|
741
|
-
}
|
|
742
|
-
}, we = Object.prototype.toString, ao = "[object Object]", fo = "[object Function]", so = "[object GeneratorFunction]", uo = "[object HTMLAllCollection]", lo = "[object HTML document.all class]", co = "[object HTMLCollection]", yo = typeof Symbol == "function" && !!Symbol.toStringTag, po = !(0 in [,]), tr = function() {
|
|
743
|
-
return !1;
|
|
744
|
-
};
|
|
745
|
-
if (typeof document == "object") {
|
|
746
|
-
var ho = document.all;
|
|
747
|
-
we.call(ho) === we.call(document.all) && (tr = function(e) {
|
|
748
|
-
if ((po || !e) && (typeof e > "u" || typeof e == "object"))
|
|
749
|
-
try {
|
|
750
|
-
var t = we.call(e);
|
|
751
|
-
return (t === uo || t === lo || t === co || t === ao) && e("") == null;
|
|
752
|
-
} catch {
|
|
753
|
-
}
|
|
754
|
-
return !1;
|
|
755
|
-
});
|
|
756
|
-
}
|
|
757
|
-
var go = ee ? function(e) {
|
|
758
|
-
if (tr(e))
|
|
759
|
-
return !0;
|
|
760
|
-
if (!e || typeof e != "function" && typeof e != "object")
|
|
761
|
-
return !1;
|
|
762
|
-
try {
|
|
763
|
-
ee(e, null, er);
|
|
764
|
-
} catch (t) {
|
|
765
|
-
if (t !== Ae)
|
|
766
|
-
return !1;
|
|
767
|
-
}
|
|
768
|
-
return !rr(e) && He(e);
|
|
769
|
-
} : function(e) {
|
|
770
|
-
if (tr(e))
|
|
771
|
-
return !0;
|
|
772
|
-
if (!e || typeof e != "function" && typeof e != "object")
|
|
773
|
-
return !1;
|
|
774
|
-
if (yo)
|
|
775
|
-
return He(e);
|
|
776
|
-
if (rr(e))
|
|
777
|
-
return !1;
|
|
778
|
-
var t = we.call(e);
|
|
779
|
-
return t !== fo && t !== so && !/^\[object HTML/.test(t) ? !1 : He(e);
|
|
780
|
-
}, vo = go, mo = Object.prototype.toString, pt = Object.prototype.hasOwnProperty, bo = function(e, t, n) {
|
|
781
|
-
for (var i = 0, c = e.length; i < c; i++)
|
|
782
|
-
pt.call(e, i) && (n == null ? t(e[i], i, e) : t.call(n, e[i], i, e));
|
|
783
|
-
}, Ao = function(e, t, n) {
|
|
784
|
-
for (var i = 0, c = e.length; i < c; i++)
|
|
785
|
-
n == null ? t(e.charAt(i), i, e) : t.call(n, e.charAt(i), i, e);
|
|
786
|
-
}, wo = function(e, t, n) {
|
|
787
|
-
for (var i in e)
|
|
788
|
-
pt.call(e, i) && (n == null ? t(e[i], i, e) : t.call(n, e[i], i, e));
|
|
789
|
-
};
|
|
790
|
-
function So(r) {
|
|
791
|
-
return mo.call(r) === "[object Array]";
|
|
792
|
-
}
|
|
793
|
-
var Oo = function(e, t, n) {
|
|
794
|
-
if (!vo(t))
|
|
795
|
-
throw new TypeError("iterator must be a function");
|
|
796
|
-
var i;
|
|
797
|
-
arguments.length >= 3 && (i = n), So(e) ? bo(e, t, i) : typeof e == "string" ? Ao(e, t, i) : wo(e, t, i);
|
|
798
|
-
}, Po = [
|
|
799
|
-
"Float16Array",
|
|
800
|
-
"Float32Array",
|
|
801
|
-
"Float64Array",
|
|
802
|
-
"Int8Array",
|
|
803
|
-
"Int16Array",
|
|
804
|
-
"Int32Array",
|
|
805
|
-
"Uint8Array",
|
|
806
|
-
"Uint8ClampedArray",
|
|
807
|
-
"Uint16Array",
|
|
808
|
-
"Uint32Array",
|
|
809
|
-
"BigInt64Array",
|
|
810
|
-
"BigUint64Array"
|
|
811
|
-
], Je = Po, Eo = typeof globalThis > "u" ? Oe : globalThis, jo = function() {
|
|
812
|
-
for (var e = [], t = 0; t < Je.length; t++)
|
|
813
|
-
typeof Eo[Je[t]] == "function" && (e[e.length] = Je[t]);
|
|
814
|
-
return e;
|
|
815
|
-
}, dt = { exports: {} }, Ir = Fe, $o = Yr, Q = fe, Nr = oe, Bo = function(e, t, n) {
|
|
816
|
-
if (!e || typeof e != "object" && typeof e != "function")
|
|
817
|
-
throw new Q("`obj` must be an object or a function`");
|
|
818
|
-
if (typeof t != "string" && typeof t != "symbol")
|
|
819
|
-
throw new Q("`property` must be a string or a symbol`");
|
|
820
|
-
if (arguments.length > 3 && typeof arguments[3] != "boolean" && arguments[3] !== null)
|
|
821
|
-
throw new Q("`nonEnumerable`, if provided, must be a boolean or null");
|
|
822
|
-
if (arguments.length > 4 && typeof arguments[4] != "boolean" && arguments[4] !== null)
|
|
823
|
-
throw new Q("`nonWritable`, if provided, must be a boolean or null");
|
|
824
|
-
if (arguments.length > 5 && typeof arguments[5] != "boolean" && arguments[5] !== null)
|
|
825
|
-
throw new Q("`nonConfigurable`, if provided, must be a boolean or null");
|
|
826
|
-
if (arguments.length > 6 && typeof arguments[6] != "boolean")
|
|
827
|
-
throw new Q("`loose`, if provided, must be a boolean");
|
|
828
|
-
var i = arguments.length > 3 ? arguments[3] : null, c = arguments.length > 4 ? arguments[4] : null, u = arguments.length > 5 ? arguments[5] : null, d = arguments.length > 6 ? arguments[6] : !1, y = !!Nr && Nr(e, t);
|
|
829
|
-
if (Ir)
|
|
830
|
-
Ir(e, t, {
|
|
831
|
-
configurable: u === null && y ? y.configurable : !u,
|
|
832
|
-
enumerable: i === null && y ? y.enumerable : !i,
|
|
833
|
-
value: n,
|
|
834
|
-
writable: c === null && y ? y.writable : !c
|
|
835
|
-
});
|
|
836
|
-
else if (d || !i && !c && !u)
|
|
837
|
-
e[t] = n;
|
|
838
|
-
else
|
|
839
|
-
throw new $o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
840
|
-
}, nr = Fe, ht = function() {
|
|
841
|
-
return !!nr;
|
|
842
|
-
};
|
|
843
|
-
ht.hasArrayLengthDefineBug = function() {
|
|
844
|
-
if (!nr)
|
|
845
|
-
return null;
|
|
846
|
-
try {
|
|
847
|
-
return nr([], "length", { value: 1 }).length !== 1;
|
|
848
|
-
} catch {
|
|
849
|
-
return !0;
|
|
850
|
-
}
|
|
851
|
-
};
|
|
852
|
-
var To = ht, Fo = at, Rr = Bo, Io = To(), _r = oe, Cr = fe, No = Fo("%Math.floor%"), Ro = function(e, t) {
|
|
853
|
-
if (typeof e != "function")
|
|
854
|
-
throw new Cr("`fn` is not a function");
|
|
855
|
-
if (typeof t != "number" || t < 0 || t > 4294967295 || No(t) !== t)
|
|
856
|
-
throw new Cr("`length` must be a positive 32-bit integer");
|
|
857
|
-
var n = arguments.length > 2 && !!arguments[2], i = !0, c = !0;
|
|
858
|
-
if ("length" in e && _r) {
|
|
859
|
-
var u = _r(e, "length");
|
|
860
|
-
u && !u.configurable && (i = !1), u && !u.writable && (c = !1);
|
|
861
|
-
}
|
|
862
|
-
return (i || c || !n) && (Io ? Rr(
|
|
863
|
-
/** @type {Parameters<define>[0]} */
|
|
864
|
-
e,
|
|
865
|
-
"length",
|
|
866
|
-
t,
|
|
867
|
-
!0,
|
|
868
|
-
!0
|
|
869
|
-
) : Rr(
|
|
870
|
-
/** @type {Parameters<define>[0]} */
|
|
871
|
-
e,
|
|
872
|
-
"length",
|
|
873
|
-
t
|
|
874
|
-
)), e;
|
|
875
|
-
}, _o = se(), Co = fr(), Lo = et, Uo = function() {
|
|
876
|
-
return Lo(_o, Co, arguments);
|
|
877
|
-
};
|
|
878
|
-
(function(r) {
|
|
879
|
-
var e = Ro, t = Fe, n = sr, i = Uo;
|
|
880
|
-
r.exports = function(u) {
|
|
881
|
-
var d = n(arguments), y = u.length - (arguments.length - 1);
|
|
882
|
-
return e(
|
|
883
|
-
d,
|
|
884
|
-
1 + (y > 0 ? y : 0),
|
|
885
|
-
!0
|
|
886
|
-
);
|
|
887
|
-
}, t ? t(r.exports, "apply", { value: i }) : r.exports.apply = i;
|
|
888
|
-
})(dt);
|
|
889
|
-
var Do = dt.exports, je = Oo, Mo = jo, Lr = Do, lr = ce, Se = oe, he = ur, ko = lr("Object.prototype.toString"), gt = Te(), Ur = typeof globalThis > "u" ? Oe : globalThis, or = Mo(), cr = lr("String.prototype.slice"), Go = lr("Array.prototype.indexOf", !0) || function(e, t) {
|
|
890
|
-
for (var n = 0; n < e.length; n += 1)
|
|
891
|
-
if (e[n] === t)
|
|
892
|
-
return n;
|
|
893
|
-
return -1;
|
|
894
|
-
}, $e = { __proto__: null };
|
|
895
|
-
gt && Se && he ? je(or, function(r) {
|
|
896
|
-
var e = new Ur[r]();
|
|
897
|
-
if (Symbol.toStringTag in e && he) {
|
|
898
|
-
var t = he(e), n = Se(t, Symbol.toStringTag);
|
|
899
|
-
if (!n && t) {
|
|
900
|
-
var i = he(t);
|
|
901
|
-
n = Se(i, Symbol.toStringTag);
|
|
902
|
-
}
|
|
903
|
-
$e["$" + r] = Lr(n.get);
|
|
904
|
-
}
|
|
905
|
-
}) : je(or, function(r) {
|
|
906
|
-
var e = new Ur[r](), t = e.slice || e.set;
|
|
907
|
-
t && ($e[
|
|
908
|
-
/** @type {`$${import('.').TypedArrayName}`} */
|
|
909
|
-
"$" + r
|
|
910
|
-
] = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */
|
|
911
|
-
// @ts-expect-error TODO FIXME
|
|
912
|
-
Lr(t));
|
|
913
|
-
});
|
|
914
|
-
var xo = function(e) {
|
|
915
|
-
var t = !1;
|
|
916
|
-
return je(
|
|
917
|
-
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
918
|
-
$e,
|
|
919
|
-
/** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
|
|
920
|
-
function(n, i) {
|
|
921
|
-
if (!t)
|
|
922
|
-
try {
|
|
923
|
-
"$" + n(e) === i && (t = /** @type {import('.').TypedArrayName} */
|
|
924
|
-
cr(i, 1));
|
|
925
|
-
} catch {
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
), t;
|
|
929
|
-
}, Wo = function(e) {
|
|
930
|
-
var t = !1;
|
|
931
|
-
return je(
|
|
932
|
-
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
933
|
-
$e,
|
|
934
|
-
/** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
|
|
935
|
-
function(n, i) {
|
|
936
|
-
if (!t)
|
|
937
|
-
try {
|
|
938
|
-
n(e), t = /** @type {import('.').TypedArrayName} */
|
|
939
|
-
cr(i, 1);
|
|
940
|
-
} catch {
|
|
941
|
-
}
|
|
942
|
-
}
|
|
943
|
-
), t;
|
|
944
|
-
}, vt = function(e) {
|
|
945
|
-
if (!e || typeof e != "object")
|
|
946
|
-
return !1;
|
|
947
|
-
if (!gt) {
|
|
948
|
-
var t = cr(ko(e), 8, -1);
|
|
949
|
-
return Go(or, t) > -1 ? t : t !== "Object" ? !1 : Wo(e);
|
|
950
|
-
}
|
|
951
|
-
return Se ? xo(e) : null;
|
|
952
|
-
}, zo = vt, Vo = function(e) {
|
|
953
|
-
return !!zo(e);
|
|
954
|
-
};
|
|
955
|
-
(function(r) {
|
|
956
|
-
var e = kn, t = oo, n = vt, i = Vo;
|
|
957
|
-
function c(s) {
|
|
958
|
-
return s.call.bind(s);
|
|
959
|
-
}
|
|
960
|
-
var u = typeof BigInt < "u", d = typeof Symbol < "u", y = c(Object.prototype.toString), m = c(Number.prototype.valueOf), w = c(String.prototype.valueOf), $ = c(Boolean.prototype.valueOf);
|
|
961
|
-
if (u)
|
|
962
|
-
var E = c(BigInt.prototype.valueOf);
|
|
963
|
-
if (d)
|
|
964
|
-
var _ = c(Symbol.prototype.valueOf);
|
|
965
|
-
function T(s, At) {
|
|
966
|
-
if (typeof s != "object")
|
|
967
|
-
return !1;
|
|
968
|
-
try {
|
|
969
|
-
return At(s), !0;
|
|
970
|
-
} catch {
|
|
971
|
-
return !1;
|
|
972
|
-
}
|
|
973
|
-
}
|
|
974
|
-
r.isArgumentsObject = e, r.isGeneratorFunction = t, r.isTypedArray = i;
|
|
975
|
-
function N(s) {
|
|
976
|
-
return typeof Promise < "u" && s instanceof Promise || s !== null && typeof s == "object" && typeof s.then == "function" && typeof s.catch == "function";
|
|
977
|
-
}
|
|
978
|
-
r.isPromise = N;
|
|
979
|
-
function C(s) {
|
|
980
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(s) : i(s) || f(s);
|
|
981
|
-
}
|
|
982
|
-
r.isArrayBufferView = C;
|
|
983
|
-
function a(s) {
|
|
984
|
-
return n(s) === "Uint8Array";
|
|
985
|
-
}
|
|
986
|
-
r.isUint8Array = a;
|
|
987
|
-
function p(s) {
|
|
988
|
-
return n(s) === "Uint8ClampedArray";
|
|
989
|
-
}
|
|
990
|
-
r.isUint8ClampedArray = p;
|
|
991
|
-
function b(s) {
|
|
992
|
-
return n(s) === "Uint16Array";
|
|
993
|
-
}
|
|
994
|
-
r.isUint16Array = b;
|
|
995
|
-
function I(s) {
|
|
996
|
-
return n(s) === "Uint32Array";
|
|
997
|
-
}
|
|
998
|
-
r.isUint32Array = I;
|
|
999
|
-
function B(s) {
|
|
1000
|
-
return n(s) === "Int8Array";
|
|
1001
|
-
}
|
|
1002
|
-
r.isInt8Array = B;
|
|
1003
|
-
function Ne(s) {
|
|
1004
|
-
return n(s) === "Int16Array";
|
|
1005
|
-
}
|
|
1006
|
-
r.isInt16Array = Ne;
|
|
1007
|
-
function U(s) {
|
|
1008
|
-
return n(s) === "Int32Array";
|
|
1009
|
-
}
|
|
1010
|
-
r.isInt32Array = U;
|
|
1011
|
-
function x(s) {
|
|
1012
|
-
return n(s) === "Float32Array";
|
|
1013
|
-
}
|
|
1014
|
-
r.isFloat32Array = x;
|
|
1015
|
-
function k(s) {
|
|
1016
|
-
return n(s) === "Float64Array";
|
|
1017
|
-
}
|
|
1018
|
-
r.isFloat64Array = k;
|
|
1019
|
-
function q(s) {
|
|
1020
|
-
return n(s) === "BigInt64Array";
|
|
1021
|
-
}
|
|
1022
|
-
r.isBigInt64Array = q;
|
|
1023
|
-
function W(s) {
|
|
1024
|
-
return n(s) === "BigUint64Array";
|
|
1025
|
-
}
|
|
1026
|
-
r.isBigUint64Array = W;
|
|
1027
|
-
function D(s) {
|
|
1028
|
-
return y(s) === "[object Map]";
|
|
1029
|
-
}
|
|
1030
|
-
D.working = typeof Map < "u" && D(/* @__PURE__ */ new Map());
|
|
1031
|
-
function Re(s) {
|
|
1032
|
-
return typeof Map > "u" ? !1 : D.working ? D(s) : s instanceof Map;
|
|
1033
|
-
}
|
|
1034
|
-
r.isMap = Re;
|
|
1035
|
-
function G(s) {
|
|
1036
|
-
return y(s) === "[object Set]";
|
|
1037
|
-
}
|
|
1038
|
-
G.working = typeof Set < "u" && G(/* @__PURE__ */ new Set());
|
|
1039
|
-
function ie(s) {
|
|
1040
|
-
return typeof Set > "u" ? !1 : G.working ? G(s) : s instanceof Set;
|
|
1041
|
-
}
|
|
1042
|
-
r.isSet = ie;
|
|
1043
|
-
function H(s) {
|
|
1044
|
-
return y(s) === "[object WeakMap]";
|
|
1045
|
-
}
|
|
1046
|
-
H.working = typeof WeakMap < "u" && H(/* @__PURE__ */ new WeakMap());
|
|
1047
|
-
function _e(s) {
|
|
1048
|
-
return typeof WeakMap > "u" ? !1 : H.working ? H(s) : s instanceof WeakMap;
|
|
1049
|
-
}
|
|
1050
|
-
r.isWeakMap = _e;
|
|
1051
|
-
function J(s) {
|
|
1052
|
-
return y(s) === "[object WeakSet]";
|
|
1053
|
-
}
|
|
1054
|
-
J.working = typeof WeakSet < "u" && J(/* @__PURE__ */ new WeakSet());
|
|
1055
|
-
function M(s) {
|
|
1056
|
-
return J(s);
|
|
1057
|
-
}
|
|
1058
|
-
r.isWeakSet = M;
|
|
1059
|
-
function K(s) {
|
|
1060
|
-
return y(s) === "[object ArrayBuffer]";
|
|
1061
|
-
}
|
|
1062
|
-
K.working = typeof ArrayBuffer < "u" && K(new ArrayBuffer());
|
|
1063
|
-
function ye(s) {
|
|
1064
|
-
return typeof ArrayBuffer > "u" ? !1 : K.working ? K(s) : s instanceof ArrayBuffer;
|
|
1065
|
-
}
|
|
1066
|
-
r.isArrayBuffer = ye;
|
|
1067
|
-
function o(s) {
|
|
1068
|
-
return y(s) === "[object DataView]";
|
|
1069
|
-
}
|
|
1070
|
-
o.working = typeof ArrayBuffer < "u" && typeof DataView < "u" && o(new DataView(new ArrayBuffer(1), 0, 1));
|
|
1071
|
-
function f(s) {
|
|
1072
|
-
return typeof DataView > "u" ? !1 : o.working ? o(s) : s instanceof DataView;
|
|
1073
|
-
}
|
|
1074
|
-
r.isDataView = f;
|
|
1075
|
-
var l = typeof SharedArrayBuffer < "u" ? SharedArrayBuffer : void 0;
|
|
1076
|
-
function h(s) {
|
|
1077
|
-
return y(s) === "[object SharedArrayBuffer]";
|
|
1078
|
-
}
|
|
1079
|
-
function S(s) {
|
|
1080
|
-
return typeof l > "u" ? !1 : (typeof h.working > "u" && (h.working = h(new l())), h.working ? h(s) : s instanceof l);
|
|
1081
|
-
}
|
|
1082
|
-
r.isSharedArrayBuffer = S;
|
|
1083
|
-
function O(s) {
|
|
1084
|
-
return y(s) === "[object AsyncFunction]";
|
|
1085
|
-
}
|
|
1086
|
-
r.isAsyncFunction = O;
|
|
1087
|
-
function g(s) {
|
|
1088
|
-
return y(s) === "[object Map Iterator]";
|
|
1089
|
-
}
|
|
1090
|
-
r.isMapIterator = g;
|
|
1091
|
-
function A(s) {
|
|
1092
|
-
return y(s) === "[object Set Iterator]";
|
|
1093
|
-
}
|
|
1094
|
-
r.isSetIterator = A;
|
|
1095
|
-
function j(s) {
|
|
1096
|
-
return y(s) === "[object Generator]";
|
|
1097
|
-
}
|
|
1098
|
-
r.isGeneratorObject = j;
|
|
1099
|
-
function R(s) {
|
|
1100
|
-
return y(s) === "[object WebAssembly.Module]";
|
|
1101
|
-
}
|
|
1102
|
-
r.isWebAssemblyCompiledModule = R;
|
|
1103
|
-
function z(s) {
|
|
1104
|
-
return T(s, m);
|
|
1105
|
-
}
|
|
1106
|
-
r.isNumberObject = z;
|
|
1107
|
-
function pe(s) {
|
|
1108
|
-
return T(s, w);
|
|
1109
|
-
}
|
|
1110
|
-
r.isStringObject = pe;
|
|
1111
|
-
function Z(s) {
|
|
1112
|
-
return T(s, $);
|
|
1113
|
-
}
|
|
1114
|
-
r.isBooleanObject = Z;
|
|
1115
|
-
function de(s) {
|
|
1116
|
-
return u && T(s, E);
|
|
1117
|
-
}
|
|
1118
|
-
r.isBigIntObject = de;
|
|
1119
|
-
function yr(s) {
|
|
1120
|
-
return d && T(s, _);
|
|
1121
|
-
}
|
|
1122
|
-
r.isSymbolObject = yr;
|
|
1123
|
-
function mt(s) {
|
|
1124
|
-
return z(s) || pe(s) || Z(s) || de(s) || yr(s);
|
|
1125
|
-
}
|
|
1126
|
-
r.isBoxedPrimitive = mt;
|
|
1127
|
-
function bt(s) {
|
|
1128
|
-
return typeof Uint8Array < "u" && (ye(s) || S(s));
|
|
1129
|
-
}
|
|
1130
|
-
r.isAnyArrayBuffer = bt, ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(s) {
|
|
1131
|
-
Object.defineProperty(r, s, {
|
|
1132
|
-
enumerable: !1,
|
|
1133
|
-
value: function() {
|
|
1134
|
-
throw new Error(s + " is not supported in userland");
|
|
1135
|
-
}
|
|
1136
|
-
});
|
|
1137
|
-
});
|
|
1138
|
-
})(Jr);
|
|
1139
|
-
var qo = function(e) {
|
|
1140
|
-
return e && typeof e == "object" && typeof e.copy == "function" && typeof e.fill == "function" && typeof e.readUInt8 == "function";
|
|
1141
|
-
};
|
|
1142
|
-
(function(r) {
|
|
1143
|
-
var e = Object.getOwnPropertyDescriptors || function(f) {
|
|
1144
|
-
for (var l = Object.keys(f), h = {}, S = 0; S < l.length; S++)
|
|
1145
|
-
h[l[S]] = Object.getOwnPropertyDescriptor(f, l[S]);
|
|
1146
|
-
return h;
|
|
1147
|
-
}, t = /%[sdj%]/g;
|
|
1148
|
-
r.format = function(o) {
|
|
1149
|
-
if (!B(o)) {
|
|
1150
|
-
for (var f = [], l = 0; l < arguments.length; l++)
|
|
1151
|
-
f.push(u(arguments[l]));
|
|
1152
|
-
return f.join(" ");
|
|
1153
|
-
}
|
|
1154
|
-
for (var l = 1, h = arguments, S = h.length, O = String(o).replace(t, function(A) {
|
|
1155
|
-
if (A === "%%") return "%";
|
|
1156
|
-
if (l >= S) return A;
|
|
1157
|
-
switch (A) {
|
|
1158
|
-
case "%s":
|
|
1159
|
-
return String(h[l++]);
|
|
1160
|
-
case "%d":
|
|
1161
|
-
return Number(h[l++]);
|
|
1162
|
-
case "%j":
|
|
1163
|
-
try {
|
|
1164
|
-
return JSON.stringify(h[l++]);
|
|
1165
|
-
} catch {
|
|
1166
|
-
return "[Circular]";
|
|
1167
|
-
}
|
|
1168
|
-
default:
|
|
1169
|
-
return A;
|
|
1170
|
-
}
|
|
1171
|
-
}), g = h[l]; l < S; g = h[++l])
|
|
1172
|
-
p(g) || !k(g) ? O += " " + g : O += " " + u(g);
|
|
1173
|
-
return O;
|
|
1174
|
-
}, r.deprecate = function(o, f) {
|
|
1175
|
-
if (typeof L < "u" && L.noDeprecation === !0)
|
|
1176
|
-
return o;
|
|
1177
|
-
if (typeof L > "u")
|
|
1178
|
-
return function() {
|
|
1179
|
-
return r.deprecate(o, f).apply(this, arguments);
|
|
1180
|
-
};
|
|
1181
|
-
var l = !1;
|
|
1182
|
-
function h() {
|
|
1183
|
-
if (!l) {
|
|
1184
|
-
if (L.throwDeprecation)
|
|
1185
|
-
throw new Error(f);
|
|
1186
|
-
L.traceDeprecation ? console.trace(f) : console.error(f), l = !0;
|
|
1187
|
-
}
|
|
1188
|
-
return o.apply(this, arguments);
|
|
1189
|
-
}
|
|
1190
|
-
return h;
|
|
1191
|
-
};
|
|
1192
|
-
var n = {}, i = /^$/;
|
|
1193
|
-
if (L.env.NODE_DEBUG) {
|
|
1194
|
-
var c = L.env.NODE_DEBUG;
|
|
1195
|
-
c = c.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase(), i = new RegExp("^" + c + "$", "i");
|
|
1196
|
-
}
|
|
1197
|
-
r.debuglog = function(o) {
|
|
1198
|
-
if (o = o.toUpperCase(), !n[o])
|
|
1199
|
-
if (i.test(o)) {
|
|
1200
|
-
var f = L.pid;
|
|
1201
|
-
n[o] = function() {
|
|
1202
|
-
var l = r.format.apply(r, arguments);
|
|
1203
|
-
console.error("%s %d: %s", o, f, l);
|
|
1204
|
-
};
|
|
1205
|
-
} else
|
|
1206
|
-
n[o] = function() {
|
|
1207
|
-
};
|
|
1208
|
-
return n[o];
|
|
1209
|
-
};
|
|
1210
|
-
function u(o, f) {
|
|
1211
|
-
var l = {
|
|
1212
|
-
seen: [],
|
|
1213
|
-
stylize: y
|
|
1214
|
-
};
|
|
1215
|
-
return arguments.length >= 3 && (l.depth = arguments[2]), arguments.length >= 4 && (l.colors = arguments[3]), a(f) ? l.showHidden = f : f && r._extend(l, f), U(l.showHidden) && (l.showHidden = !1), U(l.depth) && (l.depth = 2), U(l.colors) && (l.colors = !1), U(l.customInspect) && (l.customInspect = !0), l.colors && (l.stylize = d), w(l, o, l.depth);
|
|
1216
|
-
}
|
|
1217
|
-
r.inspect = u, u.colors = {
|
|
1218
|
-
bold: [1, 22],
|
|
1219
|
-
italic: [3, 23],
|
|
1220
|
-
underline: [4, 24],
|
|
1221
|
-
inverse: [7, 27],
|
|
1222
|
-
white: [37, 39],
|
|
1223
|
-
grey: [90, 39],
|
|
1224
|
-
black: [30, 39],
|
|
1225
|
-
blue: [34, 39],
|
|
1226
|
-
cyan: [36, 39],
|
|
1227
|
-
green: [32, 39],
|
|
1228
|
-
magenta: [35, 39],
|
|
1229
|
-
red: [31, 39],
|
|
1230
|
-
yellow: [33, 39]
|
|
1231
|
-
}, u.styles = {
|
|
1232
|
-
special: "cyan",
|
|
1233
|
-
number: "yellow",
|
|
1234
|
-
boolean: "yellow",
|
|
1235
|
-
undefined: "grey",
|
|
1236
|
-
null: "bold",
|
|
1237
|
-
string: "green",
|
|
1238
|
-
date: "magenta",
|
|
1239
|
-
// "name": intentionally not styling
|
|
1240
|
-
regexp: "red"
|
|
1241
|
-
};
|
|
1242
|
-
function d(o, f) {
|
|
1243
|
-
var l = u.styles[f];
|
|
1244
|
-
return l ? "\x1B[" + u.colors[l][0] + "m" + o + "\x1B[" + u.colors[l][1] + "m" : o;
|
|
1245
|
-
}
|
|
1246
|
-
function y(o, f) {
|
|
1247
|
-
return o;
|
|
1248
|
-
}
|
|
1249
|
-
function m(o) {
|
|
1250
|
-
var f = {};
|
|
1251
|
-
return o.forEach(function(l, h) {
|
|
1252
|
-
f[l] = !0;
|
|
1253
|
-
}), f;
|
|
1254
|
-
}
|
|
1255
|
-
function w(o, f, l) {
|
|
1256
|
-
if (o.customInspect && f && D(f.inspect) && // Filter out the util module, it's inspect function is special
|
|
1257
|
-
f.inspect !== r.inspect && // Also filter out any prototype objects using the circular check.
|
|
1258
|
-
!(f.constructor && f.constructor.prototype === f)) {
|
|
1259
|
-
var h = f.inspect(l, o);
|
|
1260
|
-
return B(h) || (h = w(o, h, l)), h;
|
|
1261
|
-
}
|
|
1262
|
-
var S = $(o, f);
|
|
1263
|
-
if (S)
|
|
1264
|
-
return S;
|
|
1265
|
-
var O = Object.keys(f), g = m(O);
|
|
1266
|
-
if (o.showHidden && (O = Object.getOwnPropertyNames(f)), W(f) && (O.indexOf("message") >= 0 || O.indexOf("description") >= 0))
|
|
1267
|
-
return E(f);
|
|
1268
|
-
if (O.length === 0) {
|
|
1269
|
-
if (D(f)) {
|
|
1270
|
-
var A = f.name ? ": " + f.name : "";
|
|
1271
|
-
return o.stylize("[Function" + A + "]", "special");
|
|
1272
|
-
}
|
|
1273
|
-
if (x(f))
|
|
1274
|
-
return o.stylize(RegExp.prototype.toString.call(f), "regexp");
|
|
1275
|
-
if (q(f))
|
|
1276
|
-
return o.stylize(Date.prototype.toString.call(f), "date");
|
|
1277
|
-
if (W(f))
|
|
1278
|
-
return E(f);
|
|
1279
|
-
}
|
|
1280
|
-
var j = "", R = !1, z = ["{", "}"];
|
|
1281
|
-
if (C(f) && (R = !0, z = ["[", "]"]), D(f)) {
|
|
1282
|
-
var pe = f.name ? ": " + f.name : "";
|
|
1283
|
-
j = " [Function" + pe + "]";
|
|
1284
|
-
}
|
|
1285
|
-
if (x(f) && (j = " " + RegExp.prototype.toString.call(f)), q(f) && (j = " " + Date.prototype.toUTCString.call(f)), W(f) && (j = " " + E(f)), O.length === 0 && (!R || f.length == 0))
|
|
1286
|
-
return z[0] + j + z[1];
|
|
1287
|
-
if (l < 0)
|
|
1288
|
-
return x(f) ? o.stylize(RegExp.prototype.toString.call(f), "regexp") : o.stylize("[Object]", "special");
|
|
1289
|
-
o.seen.push(f);
|
|
1290
|
-
var Z;
|
|
1291
|
-
return R ? Z = _(o, f, l, g, O) : Z = O.map(function(de) {
|
|
1292
|
-
return T(o, f, l, g, de, R);
|
|
1293
|
-
}), o.seen.pop(), N(Z, j, z);
|
|
1294
|
-
}
|
|
1295
|
-
function $(o, f) {
|
|
1296
|
-
if (U(f))
|
|
1297
|
-
return o.stylize("undefined", "undefined");
|
|
1298
|
-
if (B(f)) {
|
|
1299
|
-
var l = "'" + JSON.stringify(f).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
|
|
1300
|
-
return o.stylize(l, "string");
|
|
1301
|
-
}
|
|
1302
|
-
if (I(f))
|
|
1303
|
-
return o.stylize("" + f, "number");
|
|
1304
|
-
if (a(f))
|
|
1305
|
-
return o.stylize("" + f, "boolean");
|
|
1306
|
-
if (p(f))
|
|
1307
|
-
return o.stylize("null", "null");
|
|
1308
|
-
}
|
|
1309
|
-
function E(o) {
|
|
1310
|
-
return "[" + Error.prototype.toString.call(o) + "]";
|
|
1311
|
-
}
|
|
1312
|
-
function _(o, f, l, h, S) {
|
|
1313
|
-
for (var O = [], g = 0, A = f.length; g < A; ++g)
|
|
1314
|
-
J(f, String(g)) ? O.push(T(
|
|
1315
|
-
o,
|
|
1316
|
-
f,
|
|
1317
|
-
l,
|
|
1318
|
-
h,
|
|
1319
|
-
String(g),
|
|
1320
|
-
!0
|
|
1321
|
-
)) : O.push("");
|
|
1322
|
-
return S.forEach(function(j) {
|
|
1323
|
-
j.match(/^\d+$/) || O.push(T(
|
|
1324
|
-
o,
|
|
1325
|
-
f,
|
|
1326
|
-
l,
|
|
1327
|
-
h,
|
|
1328
|
-
j,
|
|
1329
|
-
!0
|
|
1330
|
-
));
|
|
1331
|
-
}), O;
|
|
1332
|
-
}
|
|
1333
|
-
function T(o, f, l, h, S, O) {
|
|
1334
|
-
var g, A, j;
|
|
1335
|
-
if (j = Object.getOwnPropertyDescriptor(f, S) || { value: f[S] }, j.get ? j.set ? A = o.stylize("[Getter/Setter]", "special") : A = o.stylize("[Getter]", "special") : j.set && (A = o.stylize("[Setter]", "special")), J(h, S) || (g = "[" + S + "]"), A || (o.seen.indexOf(j.value) < 0 ? (p(l) ? A = w(o, j.value, null) : A = w(o, j.value, l - 1), A.indexOf(`
|
|
1336
|
-
`) > -1 && (O ? A = A.split(`
|
|
1337
|
-
`).map(function(R) {
|
|
1338
|
-
return " " + R;
|
|
1339
|
-
}).join(`
|
|
1340
|
-
`).slice(2) : A = `
|
|
1341
|
-
` + A.split(`
|
|
1342
|
-
`).map(function(R) {
|
|
1343
|
-
return " " + R;
|
|
1344
|
-
}).join(`
|
|
1345
|
-
`))) : A = o.stylize("[Circular]", "special")), U(g)) {
|
|
1346
|
-
if (O && S.match(/^\d+$/))
|
|
1347
|
-
return A;
|
|
1348
|
-
g = JSON.stringify("" + S), g.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (g = g.slice(1, -1), g = o.stylize(g, "name")) : (g = g.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), g = o.stylize(g, "string"));
|
|
1349
|
-
}
|
|
1350
|
-
return g + ": " + A;
|
|
1351
|
-
}
|
|
1352
|
-
function N(o, f, l) {
|
|
1353
|
-
var h = o.reduce(function(S, O) {
|
|
1354
|
-
return O.indexOf(`
|
|
1355
|
-
`) >= 0, S + O.replace(/\u001b\[\d\d?m/g, "").length + 1;
|
|
1356
|
-
}, 0);
|
|
1357
|
-
return h > 60 ? l[0] + (f === "" ? "" : f + `
|
|
1358
|
-
`) + " " + o.join(`,
|
|
1359
|
-
`) + " " + l[1] : l[0] + f + " " + o.join(", ") + " " + l[1];
|
|
1360
|
-
}
|
|
1361
|
-
r.types = Jr;
|
|
1362
|
-
function C(o) {
|
|
1363
|
-
return Array.isArray(o);
|
|
1364
|
-
}
|
|
1365
|
-
r.isArray = C;
|
|
1366
|
-
function a(o) {
|
|
1367
|
-
return typeof o == "boolean";
|
|
1368
|
-
}
|
|
1369
|
-
r.isBoolean = a;
|
|
1370
|
-
function p(o) {
|
|
1371
|
-
return o === null;
|
|
1372
|
-
}
|
|
1373
|
-
r.isNull = p;
|
|
1374
|
-
function b(o) {
|
|
1375
|
-
return o == null;
|
|
1376
|
-
}
|
|
1377
|
-
r.isNullOrUndefined = b;
|
|
1378
|
-
function I(o) {
|
|
1379
|
-
return typeof o == "number";
|
|
1380
|
-
}
|
|
1381
|
-
r.isNumber = I;
|
|
1382
|
-
function B(o) {
|
|
1383
|
-
return typeof o == "string";
|
|
1384
|
-
}
|
|
1385
|
-
r.isString = B;
|
|
1386
|
-
function Ne(o) {
|
|
1387
|
-
return typeof o == "symbol";
|
|
1388
|
-
}
|
|
1389
|
-
r.isSymbol = Ne;
|
|
1390
|
-
function U(o) {
|
|
1391
|
-
return o === void 0;
|
|
1392
|
-
}
|
|
1393
|
-
r.isUndefined = U;
|
|
1394
|
-
function x(o) {
|
|
1395
|
-
return k(o) && G(o) === "[object RegExp]";
|
|
1396
|
-
}
|
|
1397
|
-
r.isRegExp = x, r.types.isRegExp = x;
|
|
1398
|
-
function k(o) {
|
|
1399
|
-
return typeof o == "object" && o !== null;
|
|
1400
|
-
}
|
|
1401
|
-
r.isObject = k;
|
|
1402
|
-
function q(o) {
|
|
1403
|
-
return k(o) && G(o) === "[object Date]";
|
|
1404
|
-
}
|
|
1405
|
-
r.isDate = q, r.types.isDate = q;
|
|
1406
|
-
function W(o) {
|
|
1407
|
-
return k(o) && (G(o) === "[object Error]" || o instanceof Error);
|
|
1408
|
-
}
|
|
1409
|
-
r.isError = W, r.types.isNativeError = W;
|
|
1410
|
-
function D(o) {
|
|
1411
|
-
return typeof o == "function";
|
|
1412
|
-
}
|
|
1413
|
-
r.isFunction = D;
|
|
1414
|
-
function Re(o) {
|
|
1415
|
-
return o === null || typeof o == "boolean" || typeof o == "number" || typeof o == "string" || typeof o == "symbol" || // ES6 symbol
|
|
1416
|
-
typeof o > "u";
|
|
1417
|
-
}
|
|
1418
|
-
r.isPrimitive = Re, r.isBuffer = qo;
|
|
1419
|
-
function G(o) {
|
|
1420
|
-
return Object.prototype.toString.call(o);
|
|
1421
|
-
}
|
|
1422
|
-
function ie(o) {
|
|
1423
|
-
return o < 10 ? "0" + o.toString(10) : o.toString(10);
|
|
1424
|
-
}
|
|
1425
|
-
var H = [
|
|
1426
|
-
"Jan",
|
|
1427
|
-
"Feb",
|
|
1428
|
-
"Mar",
|
|
1429
|
-
"Apr",
|
|
1430
|
-
"May",
|
|
1431
|
-
"Jun",
|
|
1432
|
-
"Jul",
|
|
1433
|
-
"Aug",
|
|
1434
|
-
"Sep",
|
|
1435
|
-
"Oct",
|
|
1436
|
-
"Nov",
|
|
1437
|
-
"Dec"
|
|
1438
|
-
];
|
|
1439
|
-
function _e() {
|
|
1440
|
-
var o = /* @__PURE__ */ new Date(), f = [
|
|
1441
|
-
ie(o.getHours()),
|
|
1442
|
-
ie(o.getMinutes()),
|
|
1443
|
-
ie(o.getSeconds())
|
|
1444
|
-
].join(":");
|
|
1445
|
-
return [o.getDate(), H[o.getMonth()], f].join(" ");
|
|
1446
|
-
}
|
|
1447
|
-
r.log = function() {
|
|
1448
|
-
console.log("%s - %s", _e(), r.format.apply(r, arguments));
|
|
1449
|
-
}, r.inherits = Ot, r._extend = function(o, f) {
|
|
1450
|
-
if (!f || !k(f)) return o;
|
|
1451
|
-
for (var l = Object.keys(f), h = l.length; h--; )
|
|
1452
|
-
o[l[h]] = f[l[h]];
|
|
1453
|
-
return o;
|
|
1454
|
-
};
|
|
1455
|
-
function J(o, f) {
|
|
1456
|
-
return Object.prototype.hasOwnProperty.call(o, f);
|
|
1457
|
-
}
|
|
1458
|
-
var M = typeof Symbol < "u" ? Symbol("util.promisify.custom") : void 0;
|
|
1459
|
-
r.promisify = function(f) {
|
|
1460
|
-
if (typeof f != "function")
|
|
1461
|
-
throw new TypeError('The "original" argument must be of type Function');
|
|
1462
|
-
if (M && f[M]) {
|
|
1463
|
-
var l = f[M];
|
|
1464
|
-
if (typeof l != "function")
|
|
1465
|
-
throw new TypeError('The "util.promisify.custom" argument must be of type Function');
|
|
1466
|
-
return Object.defineProperty(l, M, {
|
|
1467
|
-
value: l,
|
|
1468
|
-
enumerable: !1,
|
|
1469
|
-
writable: !1,
|
|
1470
|
-
configurable: !0
|
|
1471
|
-
}), l;
|
|
1472
|
-
}
|
|
1473
|
-
function l() {
|
|
1474
|
-
for (var h, S, O = new Promise(function(j, R) {
|
|
1475
|
-
h = j, S = R;
|
|
1476
|
-
}), g = [], A = 0; A < arguments.length; A++)
|
|
1477
|
-
g.push(arguments[A]);
|
|
1478
|
-
g.push(function(j, R) {
|
|
1479
|
-
j ? S(j) : h(R);
|
|
1480
|
-
});
|
|
1481
|
-
try {
|
|
1482
|
-
f.apply(this, g);
|
|
1483
|
-
} catch (j) {
|
|
1484
|
-
S(j);
|
|
1485
|
-
}
|
|
1486
|
-
return O;
|
|
1487
|
-
}
|
|
1488
|
-
return Object.setPrototypeOf(l, Object.getPrototypeOf(f)), M && Object.defineProperty(l, M, {
|
|
1489
|
-
value: l,
|
|
1490
|
-
enumerable: !1,
|
|
1491
|
-
writable: !1,
|
|
1492
|
-
configurable: !0
|
|
1493
|
-
}), Object.defineProperties(
|
|
1494
|
-
l,
|
|
1495
|
-
e(f)
|
|
1496
|
-
);
|
|
1497
|
-
}, r.promisify.custom = M;
|
|
1498
|
-
function K(o, f) {
|
|
1499
|
-
if (!o) {
|
|
1500
|
-
var l = new Error("Promise was rejected with a falsy value");
|
|
1501
|
-
l.reason = o, o = l;
|
|
1502
|
-
}
|
|
1503
|
-
return f(o);
|
|
1504
|
-
}
|
|
1505
|
-
function ye(o) {
|
|
1506
|
-
if (typeof o != "function")
|
|
1507
|
-
throw new TypeError('The "original" argument must be of type Function');
|
|
1508
|
-
function f() {
|
|
1509
|
-
for (var l = [], h = 0; h < arguments.length; h++)
|
|
1510
|
-
l.push(arguments[h]);
|
|
1511
|
-
var S = l.pop();
|
|
1512
|
-
if (typeof S != "function")
|
|
1513
|
-
throw new TypeError("The last argument must be of type Function");
|
|
1514
|
-
var O = this, g = function() {
|
|
1515
|
-
return S.apply(O, arguments);
|
|
1516
|
-
};
|
|
1517
|
-
o.apply(this, l).then(
|
|
1518
|
-
function(A) {
|
|
1519
|
-
L.nextTick(g.bind(null, null, A));
|
|
1520
|
-
},
|
|
1521
|
-
function(A) {
|
|
1522
|
-
L.nextTick(K.bind(null, A, g));
|
|
1523
|
-
}
|
|
1524
|
-
);
|
|
1525
|
-
}
|
|
1526
|
-
return Object.setPrototypeOf(f, Object.getPrototypeOf(o)), Object.defineProperties(
|
|
1527
|
-
f,
|
|
1528
|
-
e(o)
|
|
1529
|
-
), f;
|
|
1530
|
-
}
|
|
1531
|
-
r.callbackify = ye;
|
|
1532
|
-
})(It);
|
|
1533
|
-
var Xo = Ho;
|
|
1534
|
-
function Ho(r, e) {
|
|
1535
|
-
if (Ke("noDeprecation"))
|
|
1536
|
-
return r;
|
|
1537
|
-
var t = !1;
|
|
1538
|
-
function n() {
|
|
1539
|
-
if (!t) {
|
|
1540
|
-
if (Ke("throwDeprecation"))
|
|
1541
|
-
throw new Error(e);
|
|
1542
|
-
Ke("traceDeprecation") ? console.trace(e) : console.warn(e), t = !0;
|
|
1543
|
-
}
|
|
1544
|
-
return r.apply(this, arguments);
|
|
1545
|
-
}
|
|
1546
|
-
return n;
|
|
1547
|
-
}
|
|
1548
|
-
function Ke(r) {
|
|
1549
|
-
try {
|
|
1550
|
-
if (!Oe.localStorage) return !1;
|
|
1551
|
-
} catch {
|
|
1552
|
-
return !1;
|
|
1553
|
-
}
|
|
1554
|
-
var e = Oe.localStorage[r];
|
|
1555
|
-
return e == null ? !1 : String(e).toLowerCase() === "true";
|
|
1556
|
-
}
|
|
1557
|
-
var Ze = {}, ge = { exports: {} }, Dr;
|
|
1558
|
-
function Jo() {
|
|
1559
|
-
return Dr || (Dr = 1, function(r, e) {
|
|
1560
|
-
var t = Ft, n = t.Buffer;
|
|
1561
|
-
function i(u, d) {
|
|
1562
|
-
for (var y in u)
|
|
1563
|
-
d[y] = u[y];
|
|
1564
|
-
}
|
|
1565
|
-
n.from && n.alloc && n.allocUnsafe && n.allocUnsafeSlow ? r.exports = t : (i(t, e), e.Buffer = c);
|
|
1566
|
-
function c(u, d, y) {
|
|
1567
|
-
return n(u, d, y);
|
|
1568
|
-
}
|
|
1569
|
-
i(n, c), c.from = function(u, d, y) {
|
|
1570
|
-
if (typeof u == "number")
|
|
1571
|
-
throw new TypeError("Argument must not be a number");
|
|
1572
|
-
return n(u, d, y);
|
|
1573
|
-
}, c.alloc = function(u, d, y) {
|
|
1574
|
-
if (typeof u != "number")
|
|
1575
|
-
throw new TypeError("Argument must be a number");
|
|
1576
|
-
var m = n(u);
|
|
1577
|
-
return d !== void 0 ? typeof y == "string" ? m.fill(d, y) : m.fill(d) : m.fill(0), m;
|
|
1578
|
-
}, c.allocUnsafe = function(u) {
|
|
1579
|
-
if (typeof u != "number")
|
|
1580
|
-
throw new TypeError("Argument must be a number");
|
|
1581
|
-
return n(u);
|
|
1582
|
-
}, c.allocUnsafeSlow = function(u) {
|
|
1583
|
-
if (typeof u != "number")
|
|
1584
|
-
throw new TypeError("Argument must be a number");
|
|
1585
|
-
return t.SlowBuffer(u);
|
|
1586
|
-
};
|
|
1587
|
-
}(ge, ge.exports)), ge.exports;
|
|
1588
|
-
}
|
|
1589
|
-
var Mr;
|
|
1590
|
-
function ei() {
|
|
1591
|
-
if (Mr) return Ze;
|
|
1592
|
-
Mr = 1;
|
|
1593
|
-
var r = Jo().Buffer, e = r.isEncoding || function(a) {
|
|
1594
|
-
switch (a = "" + a, a && a.toLowerCase()) {
|
|
1595
|
-
case "hex":
|
|
1596
|
-
case "utf8":
|
|
1597
|
-
case "utf-8":
|
|
1598
|
-
case "ascii":
|
|
1599
|
-
case "binary":
|
|
1600
|
-
case "base64":
|
|
1601
|
-
case "ucs2":
|
|
1602
|
-
case "ucs-2":
|
|
1603
|
-
case "utf16le":
|
|
1604
|
-
case "utf-16le":
|
|
1605
|
-
case "raw":
|
|
1606
|
-
return !0;
|
|
1607
|
-
default:
|
|
1608
|
-
return !1;
|
|
1609
|
-
}
|
|
1610
|
-
};
|
|
1611
|
-
function t(a) {
|
|
1612
|
-
if (!a) return "utf8";
|
|
1613
|
-
for (var p; ; )
|
|
1614
|
-
switch (a) {
|
|
1615
|
-
case "utf8":
|
|
1616
|
-
case "utf-8":
|
|
1617
|
-
return "utf8";
|
|
1618
|
-
case "ucs2":
|
|
1619
|
-
case "ucs-2":
|
|
1620
|
-
case "utf16le":
|
|
1621
|
-
case "utf-16le":
|
|
1622
|
-
return "utf16le";
|
|
1623
|
-
case "latin1":
|
|
1624
|
-
case "binary":
|
|
1625
|
-
return "latin1";
|
|
1626
|
-
case "base64":
|
|
1627
|
-
case "ascii":
|
|
1628
|
-
case "hex":
|
|
1629
|
-
return a;
|
|
1630
|
-
default:
|
|
1631
|
-
if (p) return;
|
|
1632
|
-
a = ("" + a).toLowerCase(), p = !0;
|
|
1633
|
-
}
|
|
1634
|
-
}
|
|
1635
|
-
function n(a) {
|
|
1636
|
-
var p = t(a);
|
|
1637
|
-
if (typeof p != "string" && (r.isEncoding === e || !e(a))) throw new Error("Unknown encoding: " + a);
|
|
1638
|
-
return p || a;
|
|
1639
|
-
}
|
|
1640
|
-
Ze.StringDecoder = i;
|
|
1641
|
-
function i(a) {
|
|
1642
|
-
this.encoding = n(a);
|
|
1643
|
-
var p;
|
|
1644
|
-
switch (this.encoding) {
|
|
1645
|
-
case "utf16le":
|
|
1646
|
-
this.text = $, this.end = E, p = 4;
|
|
1647
|
-
break;
|
|
1648
|
-
case "utf8":
|
|
1649
|
-
this.fillLast = y, p = 4;
|
|
1650
|
-
break;
|
|
1651
|
-
case "base64":
|
|
1652
|
-
this.text = _, this.end = T, p = 3;
|
|
1653
|
-
break;
|
|
1654
|
-
default:
|
|
1655
|
-
this.write = N, this.end = C;
|
|
1656
|
-
return;
|
|
1657
|
-
}
|
|
1658
|
-
this.lastNeed = 0, this.lastTotal = 0, this.lastChar = r.allocUnsafe(p);
|
|
1659
|
-
}
|
|
1660
|
-
i.prototype.write = function(a) {
|
|
1661
|
-
if (a.length === 0) return "";
|
|
1662
|
-
var p, b;
|
|
1663
|
-
if (this.lastNeed) {
|
|
1664
|
-
if (p = this.fillLast(a), p === void 0) return "";
|
|
1665
|
-
b = this.lastNeed, this.lastNeed = 0;
|
|
1666
|
-
} else
|
|
1667
|
-
b = 0;
|
|
1668
|
-
return b < a.length ? p ? p + this.text(a, b) : this.text(a, b) : p || "";
|
|
1669
|
-
}, i.prototype.end = w, i.prototype.text = m, i.prototype.fillLast = function(a) {
|
|
1670
|
-
if (this.lastNeed <= a.length)
|
|
1671
|
-
return a.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
|
|
1672
|
-
a.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, a.length), this.lastNeed -= a.length;
|
|
1673
|
-
};
|
|
1674
|
-
function c(a) {
|
|
1675
|
-
return a <= 127 ? 0 : a >> 5 === 6 ? 2 : a >> 4 === 14 ? 3 : a >> 3 === 30 ? 4 : a >> 6 === 2 ? -1 : -2;
|
|
1676
|
-
}
|
|
1677
|
-
function u(a, p, b) {
|
|
1678
|
-
var I = p.length - 1;
|
|
1679
|
-
if (I < b) return 0;
|
|
1680
|
-
var B = c(p[I]);
|
|
1681
|
-
return B >= 0 ? (B > 0 && (a.lastNeed = B - 1), B) : --I < b || B === -2 ? 0 : (B = c(p[I]), B >= 0 ? (B > 0 && (a.lastNeed = B - 2), B) : --I < b || B === -2 ? 0 : (B = c(p[I]), B >= 0 ? (B > 0 && (B === 2 ? B = 0 : a.lastNeed = B - 3), B) : 0));
|
|
1682
|
-
}
|
|
1683
|
-
function d(a, p, b) {
|
|
1684
|
-
if ((p[0] & 192) !== 128)
|
|
1685
|
-
return a.lastNeed = 0, "�";
|
|
1686
|
-
if (a.lastNeed > 1 && p.length > 1) {
|
|
1687
|
-
if ((p[1] & 192) !== 128)
|
|
1688
|
-
return a.lastNeed = 1, "�";
|
|
1689
|
-
if (a.lastNeed > 2 && p.length > 2 && (p[2] & 192) !== 128)
|
|
1690
|
-
return a.lastNeed = 2, "�";
|
|
1691
|
-
}
|
|
1692
|
-
}
|
|
1693
|
-
function y(a) {
|
|
1694
|
-
var p = this.lastTotal - this.lastNeed, b = d(this, a);
|
|
1695
|
-
if (b !== void 0) return b;
|
|
1696
|
-
if (this.lastNeed <= a.length)
|
|
1697
|
-
return a.copy(this.lastChar, p, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
|
|
1698
|
-
a.copy(this.lastChar, p, 0, a.length), this.lastNeed -= a.length;
|
|
1699
|
-
}
|
|
1700
|
-
function m(a, p) {
|
|
1701
|
-
var b = u(this, a, p);
|
|
1702
|
-
if (!this.lastNeed) return a.toString("utf8", p);
|
|
1703
|
-
this.lastTotal = b;
|
|
1704
|
-
var I = a.length - (b - this.lastNeed);
|
|
1705
|
-
return a.copy(this.lastChar, 0, I), a.toString("utf8", p, I);
|
|
1706
|
-
}
|
|
1707
|
-
function w(a) {
|
|
1708
|
-
var p = a && a.length ? this.write(a) : "";
|
|
1709
|
-
return this.lastNeed ? p + "�" : p;
|
|
1710
|
-
}
|
|
1711
|
-
function $(a, p) {
|
|
1712
|
-
if ((a.length - p) % 2 === 0) {
|
|
1713
|
-
var b = a.toString("utf16le", p);
|
|
1714
|
-
if (b) {
|
|
1715
|
-
var I = b.charCodeAt(b.length - 1);
|
|
1716
|
-
if (I >= 55296 && I <= 56319)
|
|
1717
|
-
return this.lastNeed = 2, this.lastTotal = 4, this.lastChar[0] = a[a.length - 2], this.lastChar[1] = a[a.length - 1], b.slice(0, -1);
|
|
1718
|
-
}
|
|
1719
|
-
return b;
|
|
1720
|
-
}
|
|
1721
|
-
return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = a[a.length - 1], a.toString("utf16le", p, a.length - 1);
|
|
1722
|
-
}
|
|
1723
|
-
function E(a) {
|
|
1724
|
-
var p = a && a.length ? this.write(a) : "";
|
|
1725
|
-
if (this.lastNeed) {
|
|
1726
|
-
var b = this.lastTotal - this.lastNeed;
|
|
1727
|
-
return p + this.lastChar.toString("utf16le", 0, b);
|
|
1728
|
-
}
|
|
1729
|
-
return p;
|
|
1730
|
-
}
|
|
1731
|
-
function _(a, p) {
|
|
1732
|
-
var b = (a.length - p) % 3;
|
|
1733
|
-
return b === 0 ? a.toString("base64", p) : (this.lastNeed = 3 - b, this.lastTotal = 3, b === 1 ? this.lastChar[0] = a[a.length - 1] : (this.lastChar[0] = a[a.length - 2], this.lastChar[1] = a[a.length - 1]), a.toString("base64", p, a.length - b));
|
|
1734
|
-
}
|
|
1735
|
-
function T(a) {
|
|
1736
|
-
var p = a && a.length ? this.write(a) : "";
|
|
1737
|
-
return this.lastNeed ? p + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : p;
|
|
1738
|
-
}
|
|
1739
|
-
function N(a) {
|
|
1740
|
-
return a.toString(this.encoding);
|
|
1741
|
-
}
|
|
1742
|
-
function C(a) {
|
|
1743
|
-
return a && a.length ? this.write(a) : "";
|
|
1744
|
-
}
|
|
1745
|
-
return Ze;
|
|
1746
|
-
}
|
|
1747
|
-
export {
|
|
1748
|
-
ei as a,
|
|
1749
|
-
Xo as b,
|
|
1750
|
-
ce as c,
|
|
1751
|
-
Qo as e,
|
|
1752
|
-
at as g,
|
|
1753
|
-
Ot as i,
|
|
1754
|
-
Ft as r,
|
|
1755
|
-
fe as t,
|
|
1756
|
-
It as u
|
|
1757
|
-
};
|