@dxos/node-std 0.8.3 → 0.8.4-main.1f223c7
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/lib/browser/_/config.mjs +1 -1
- package/dist/lib/browser/assert.mjs +37 -38
- package/dist/lib/browser/assert.mjs.map +1 -1
- package/dist/lib/browser/buffer.mjs +2 -2
- package/dist/lib/browser/{chunk-W3AYESYQ.mjs → chunk-LJ5EWKWX.mjs} +4 -4
- package/dist/lib/browser/{chunk-GM2BGSSZ.mjs → chunk-N4SPVTGW.mjs} +504 -769
- package/dist/lib/browser/chunk-N4SPVTGW.mjs.map +7 -0
- package/dist/lib/browser/{chunk-QWZSWMMO.mjs → chunk-WA6DPORN.mjs} +2 -2
- package/dist/lib/browser/{chunk-PY2IJ42L.mjs → chunk-YERYCS33.mjs} +7 -7
- package/dist/lib/browser/crypto.mjs +1 -1
- package/dist/lib/browser/events.mjs +3 -3
- package/dist/lib/browser/fs/promises.mjs +1 -1
- package/dist/lib/browser/fs.mjs +1 -1
- package/dist/lib/browser/globals.mjs +3 -3
- package/dist/lib/browser/inject-globals.mjs +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/path.mjs +3 -3
- package/dist/lib/browser/stream.mjs +1 -1
- package/dist/lib/browser/util.mjs +5 -5
- package/dist/lib/node-esm/_/config.mjs +1 -1
- package/dist/lib/node-esm/assert.mjs +1 -1
- package/dist/lib/node-esm/buffer.mjs +2 -2
- package/dist/lib/node-esm/{chunk-KIVTZY6Z.mjs → chunk-3EE3KRAW.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-SOGAFZTS.mjs → chunk-F5GZS76O.mjs} +7 -7
- package/dist/lib/node-esm/{chunk-I3G4DBJU.mjs → chunk-RJ7I7ZC3.mjs} +4 -4
- package/dist/lib/node-esm/crypto.mjs +1 -1
- package/dist/lib/node-esm/events.mjs +1 -1
- package/dist/lib/node-esm/fs/promises.mjs +1 -1
- package/dist/lib/node-esm/fs.mjs +1 -1
- package/dist/lib/node-esm/globals.mjs +3 -3
- package/dist/lib/node-esm/inject-globals.mjs +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/path.mjs +3 -3
- package/dist/lib/node-esm/stream.mjs +1 -1
- package/dist/lib/node-esm/util.mjs +506 -770
- package/dist/lib/node-esm/util.mjs.map +4 -4
- package/dist/types/tsconfig.tsbuildinfo +1 -0
- package/package.json +2 -2
- package/dist/lib/browser/chunk-GM2BGSSZ.mjs.map +0 -7
- package/dist/lib/node/_/config.cjs +0 -44
- package/dist/lib/node/_/config.cjs.map +0 -7
- package/dist/lib/node/assert.cjs +0 -37
- package/dist/lib/node/assert.cjs.map +0 -7
- package/dist/lib/node/buffer.cjs +0 -32
- package/dist/lib/node/buffer.cjs.map +0 -7
- package/dist/lib/node/chunk-6SZKM6EC.cjs +0 -63
- package/dist/lib/node/chunk-6SZKM6EC.cjs.map +0 -7
- package/dist/lib/node/chunk-ENV4LVNZ.cjs +0 -133
- package/dist/lib/node/chunk-ENV4LVNZ.cjs.map +0 -7
- package/dist/lib/node/chunk-FCCITQEP.cjs +0 -1812
- package/dist/lib/node/chunk-FCCITQEP.cjs.map +0 -7
- package/dist/lib/node/chunk-P2R5OUNF.cjs +0 -22
- package/dist/lib/node/chunk-P2R5OUNF.cjs.map +0 -7
- package/dist/lib/node/crypto.cjs +0 -32
- package/dist/lib/node/crypto.cjs.map +0 -7
- package/dist/lib/node/events.cjs +0 -32
- package/dist/lib/node/events.cjs.map +0 -7
- package/dist/lib/node/fs/promises.cjs +0 -120
- package/dist/lib/node/fs/promises.cjs.map +0 -7
- package/dist/lib/node/fs.cjs +0 -53
- package/dist/lib/node/fs.cjs.map +0 -7
- package/dist/lib/node/globals.cjs +0 -6
- package/dist/lib/node/globals.cjs.map +0 -7
- package/dist/lib/node/inject-globals.cjs +0 -38
- package/dist/lib/node/inject-globals.cjs.map +0 -7
- package/dist/lib/node/meta.json +0 -1
- package/dist/lib/node/path.cjs +0 -466
- package/dist/lib/node/path.cjs.map +0 -7
- package/dist/lib/node/stream.cjs +0 -42
- package/dist/lib/node/stream.cjs.map +0 -7
- package/dist/lib/node/util.cjs +0 -2493
- package/dist/lib/node/util.cjs.map +0 -7
- /package/dist/lib/browser/{chunk-W3AYESYQ.mjs.map → chunk-LJ5EWKWX.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-QWZSWMMO.mjs.map → chunk-WA6DPORN.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-PY2IJ42L.mjs.map → chunk-YERYCS33.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-KIVTZY6Z.mjs.map → chunk-3EE3KRAW.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-SOGAFZTS.mjs.map → chunk-F5GZS76O.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-I3G4DBJU.mjs.map → chunk-RJ7I7ZC3.mjs.map} +0 -0
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
__commonJS
|
|
3
3
|
} from "./chunk-3QS3WKRC.mjs";
|
|
4
4
|
|
|
5
|
-
// node_modules/.pnpm/has-symbols@1.0
|
|
5
|
+
// ../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js
|
|
6
6
|
var require_shams = __commonJS({
|
|
7
|
-
"node_modules/.pnpm/has-symbols@1.0
|
|
7
|
+
"../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(exports, module) {
|
|
8
8
|
"use strict";
|
|
9
9
|
module.exports = function hasSymbols() {
|
|
10
10
|
if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
|
|
@@ -27,7 +27,7 @@ var require_shams = __commonJS({
|
|
|
27
27
|
}
|
|
28
28
|
var symVal = 42;
|
|
29
29
|
obj[sym] = symVal;
|
|
30
|
-
for (
|
|
30
|
+
for (var _ in obj) {
|
|
31
31
|
return false;
|
|
32
32
|
}
|
|
33
33
|
if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
|
|
@@ -44,7 +44,10 @@ var require_shams = __commonJS({
|
|
|
44
44
|
return false;
|
|
45
45
|
}
|
|
46
46
|
if (typeof Object.getOwnPropertyDescriptor === "function") {
|
|
47
|
-
var descriptor =
|
|
47
|
+
var descriptor = (
|
|
48
|
+
/** @type {PropertyDescriptor} */
|
|
49
|
+
Object.getOwnPropertyDescriptor(obj, sym)
|
|
50
|
+
);
|
|
48
51
|
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
49
52
|
return false;
|
|
50
53
|
}
|
|
@@ -54,9 +57,9 @@ var require_shams = __commonJS({
|
|
|
54
57
|
}
|
|
55
58
|
});
|
|
56
59
|
|
|
57
|
-
// node_modules/.pnpm/has-tostringtag@1.0.
|
|
60
|
+
// ../../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js
|
|
58
61
|
var require_shams2 = __commonJS({
|
|
59
|
-
"node_modules/.pnpm/has-tostringtag@1.0.
|
|
62
|
+
"../../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(exports, module) {
|
|
60
63
|
"use strict";
|
|
61
64
|
var hasSymbols = require_shams();
|
|
62
65
|
module.exports = function hasToStringTagShams() {
|
|
@@ -65,9 +68,185 @@ var require_shams2 = __commonJS({
|
|
|
65
68
|
}
|
|
66
69
|
});
|
|
67
70
|
|
|
68
|
-
// node_modules/.pnpm/
|
|
71
|
+
// ../../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js
|
|
72
|
+
var require_es_object_atoms = __commonJS({
|
|
73
|
+
"../../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(exports, module) {
|
|
74
|
+
"use strict";
|
|
75
|
+
module.exports = Object;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js
|
|
80
|
+
var require_es_errors = __commonJS({
|
|
81
|
+
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(exports, module) {
|
|
82
|
+
"use strict";
|
|
83
|
+
module.exports = Error;
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js
|
|
88
|
+
var require_eval = __commonJS({
|
|
89
|
+
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(exports, module) {
|
|
90
|
+
"use strict";
|
|
91
|
+
module.exports = EvalError;
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js
|
|
96
|
+
var require_range = __commonJS({
|
|
97
|
+
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(exports, module) {
|
|
98
|
+
"use strict";
|
|
99
|
+
module.exports = RangeError;
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js
|
|
104
|
+
var require_ref = __commonJS({
|
|
105
|
+
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(exports, module) {
|
|
106
|
+
"use strict";
|
|
107
|
+
module.exports = ReferenceError;
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js
|
|
112
|
+
var require_syntax = __commonJS({
|
|
113
|
+
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(exports, module) {
|
|
114
|
+
"use strict";
|
|
115
|
+
module.exports = SyntaxError;
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js
|
|
120
|
+
var require_type = __commonJS({
|
|
121
|
+
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(exports, module) {
|
|
122
|
+
"use strict";
|
|
123
|
+
module.exports = TypeError;
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js
|
|
128
|
+
var require_uri = __commonJS({
|
|
129
|
+
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(exports, module) {
|
|
130
|
+
"use strict";
|
|
131
|
+
module.exports = URIError;
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
|
|
135
|
+
// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js
|
|
136
|
+
var require_abs = __commonJS({
|
|
137
|
+
"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(exports, module) {
|
|
138
|
+
"use strict";
|
|
139
|
+
module.exports = Math.abs;
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js
|
|
144
|
+
var require_floor = __commonJS({
|
|
145
|
+
"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(exports, module) {
|
|
146
|
+
"use strict";
|
|
147
|
+
module.exports = Math.floor;
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js
|
|
152
|
+
var require_max = __commonJS({
|
|
153
|
+
"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(exports, module) {
|
|
154
|
+
"use strict";
|
|
155
|
+
module.exports = Math.max;
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js
|
|
160
|
+
var require_min = __commonJS({
|
|
161
|
+
"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(exports, module) {
|
|
162
|
+
"use strict";
|
|
163
|
+
module.exports = Math.min;
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
|
|
167
|
+
// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js
|
|
168
|
+
var require_pow = __commonJS({
|
|
169
|
+
"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(exports, module) {
|
|
170
|
+
"use strict";
|
|
171
|
+
module.exports = Math.pow;
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
|
|
175
|
+
// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js
|
|
176
|
+
var require_round = __commonJS({
|
|
177
|
+
"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(exports, module) {
|
|
178
|
+
"use strict";
|
|
179
|
+
module.exports = Math.round;
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js
|
|
184
|
+
var require_isNaN = __commonJS({
|
|
185
|
+
"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(exports, module) {
|
|
186
|
+
"use strict";
|
|
187
|
+
module.exports = Number.isNaN || function isNaN2(a) {
|
|
188
|
+
return a !== a;
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
|
|
193
|
+
// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js
|
|
194
|
+
var require_sign = __commonJS({
|
|
195
|
+
"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(exports, module) {
|
|
196
|
+
"use strict";
|
|
197
|
+
var $isNaN = require_isNaN();
|
|
198
|
+
module.exports = function sign(number) {
|
|
199
|
+
if ($isNaN(number) || number === 0) {
|
|
200
|
+
return number;
|
|
201
|
+
}
|
|
202
|
+
return number < 0 ? -1 : 1;
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
|
|
207
|
+
// ../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js
|
|
208
|
+
var require_gOPD = __commonJS({
|
|
209
|
+
"../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(exports, module) {
|
|
210
|
+
"use strict";
|
|
211
|
+
module.exports = Object.getOwnPropertyDescriptor;
|
|
212
|
+
}
|
|
213
|
+
});
|
|
214
|
+
|
|
215
|
+
// ../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js
|
|
216
|
+
var require_gopd = __commonJS({
|
|
217
|
+
"../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(exports, module) {
|
|
218
|
+
"use strict";
|
|
219
|
+
var $gOPD = require_gOPD();
|
|
220
|
+
if ($gOPD) {
|
|
221
|
+
try {
|
|
222
|
+
$gOPD([], "length");
|
|
223
|
+
} catch (e) {
|
|
224
|
+
$gOPD = null;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
module.exports = $gOPD;
|
|
228
|
+
}
|
|
229
|
+
});
|
|
230
|
+
|
|
231
|
+
// ../../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js
|
|
232
|
+
var require_es_define_property = __commonJS({
|
|
233
|
+
"../../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(exports, module) {
|
|
234
|
+
"use strict";
|
|
235
|
+
var $defineProperty = Object.defineProperty || false;
|
|
236
|
+
if ($defineProperty) {
|
|
237
|
+
try {
|
|
238
|
+
$defineProperty({}, "a", { value: 1 });
|
|
239
|
+
} catch (e) {
|
|
240
|
+
$defineProperty = false;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
module.exports = $defineProperty;
|
|
244
|
+
}
|
|
245
|
+
});
|
|
246
|
+
|
|
247
|
+
// ../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js
|
|
69
248
|
var require_has_symbols = __commonJS({
|
|
70
|
-
"node_modules/.pnpm/has-symbols@1.0
|
|
249
|
+
"../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(exports, module) {
|
|
71
250
|
"use strict";
|
|
72
251
|
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
73
252
|
var hasSymbolSham = require_shams();
|
|
@@ -89,23 +268,26 @@ var require_has_symbols = __commonJS({
|
|
|
89
268
|
}
|
|
90
269
|
});
|
|
91
270
|
|
|
92
|
-
// node_modules/.pnpm/
|
|
93
|
-
var
|
|
94
|
-
"node_modules/.pnpm/
|
|
271
|
+
// ../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js
|
|
272
|
+
var require_Reflect_getPrototypeOf = __commonJS({
|
|
273
|
+
"../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(exports, module) {
|
|
95
274
|
"use strict";
|
|
96
|
-
|
|
97
|
-
foo: {}
|
|
98
|
-
};
|
|
99
|
-
var $Object = Object;
|
|
100
|
-
module.exports = function hasProto() {
|
|
101
|
-
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
102
|
-
};
|
|
275
|
+
module.exports = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
|
|
103
276
|
}
|
|
104
277
|
});
|
|
105
278
|
|
|
106
|
-
// node_modules/.pnpm/
|
|
279
|
+
// ../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js
|
|
280
|
+
var require_Object_getPrototypeOf = __commonJS({
|
|
281
|
+
"../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(exports, module) {
|
|
282
|
+
"use strict";
|
|
283
|
+
var $Object = require_es_object_atoms();
|
|
284
|
+
module.exports = $Object.getPrototypeOf || null;
|
|
285
|
+
}
|
|
286
|
+
});
|
|
287
|
+
|
|
288
|
+
// ../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js
|
|
107
289
|
var require_implementation = __commonJS({
|
|
108
|
-
"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(exports, module) {
|
|
290
|
+
"../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(exports, module) {
|
|
109
291
|
"use strict";
|
|
110
292
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
111
293
|
var toStr = Object.prototype.toString;
|
|
@@ -163,454 +345,138 @@ var require_implementation = __commonJS({
|
|
|
163
345
|
};
|
|
164
346
|
var boundLength = max(0, target.length - args.length);
|
|
165
347
|
var boundArgs = [];
|
|
166
|
-
for (var i = 0; i < boundLength; i++) {
|
|
167
|
-
boundArgs[i] = "$" + i;
|
|
168
|
-
}
|
|
169
|
-
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
170
|
-
if (target.prototype) {
|
|
171
|
-
var Empty = function Empty2() {
|
|
172
|
-
};
|
|
173
|
-
Empty.prototype = target.prototype;
|
|
174
|
-
bound.prototype = new Empty();
|
|
175
|
-
Empty.prototype = null;
|
|
176
|
-
}
|
|
177
|
-
return bound;
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
});
|
|
181
|
-
|
|
182
|
-
// node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js
|
|
183
|
-
var require_function_bind = __commonJS({
|
|
184
|
-
"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(exports, module) {
|
|
185
|
-
"use strict";
|
|
186
|
-
var implementation = require_implementation();
|
|
187
|
-
module.exports = Function.prototype.bind || implementation;
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
|
|
191
|
-
// node_modules/.pnpm/hasown@2.0.0/node_modules/hasown/index.js
|
|
192
|
-
var require_hasown = __commonJS({
|
|
193
|
-
"node_modules/.pnpm/hasown@2.0.0/node_modules/hasown/index.js"(exports, module) {
|
|
194
|
-
"use strict";
|
|
195
|
-
var call = Function.prototype.call;
|
|
196
|
-
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
197
|
-
var bind = require_function_bind();
|
|
198
|
-
module.exports = bind.call(call, $hasOwn);
|
|
199
|
-
}
|
|
200
|
-
});
|
|
201
|
-
|
|
202
|
-
// node_modules/.pnpm/get-intrinsic@1.2.2/node_modules/get-intrinsic/index.js
|
|
203
|
-
var require_get_intrinsic = __commonJS({
|
|
204
|
-
"node_modules/.pnpm/get-intrinsic@1.2.2/node_modules/get-intrinsic/index.js"(exports, module) {
|
|
205
|
-
"use strict";
|
|
206
|
-
var undefined2;
|
|
207
|
-
var $SyntaxError = SyntaxError;
|
|
208
|
-
var $Function = Function;
|
|
209
|
-
var $TypeError = TypeError;
|
|
210
|
-
var getEvalledConstructor = function(expressionSyntax) {
|
|
211
|
-
try {
|
|
212
|
-
return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
|
213
|
-
} catch (e) {
|
|
214
|
-
}
|
|
215
|
-
};
|
|
216
|
-
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
217
|
-
if ($gOPD) {
|
|
218
|
-
try {
|
|
219
|
-
$gOPD({}, "");
|
|
220
|
-
} catch (e) {
|
|
221
|
-
$gOPD = null;
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
var throwTypeError = function() {
|
|
225
|
-
throw new $TypeError();
|
|
226
|
-
};
|
|
227
|
-
var ThrowTypeError = $gOPD ? function() {
|
|
228
|
-
try {
|
|
229
|
-
arguments.callee;
|
|
230
|
-
return throwTypeError;
|
|
231
|
-
} catch (calleeThrows) {
|
|
232
|
-
try {
|
|
233
|
-
return $gOPD(arguments, "callee").get;
|
|
234
|
-
} catch (gOPDthrows) {
|
|
235
|
-
return throwTypeError;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
}() : throwTypeError;
|
|
239
|
-
var hasSymbols = require_has_symbols()();
|
|
240
|
-
var hasProto = require_has_proto()();
|
|
241
|
-
var getProto = Object.getPrototypeOf || (hasProto ? function(x) {
|
|
242
|
-
return x.__proto__;
|
|
243
|
-
} : null);
|
|
244
|
-
var needsEval = {};
|
|
245
|
-
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
246
|
-
var INTRINSICS = {
|
|
247
|
-
"%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
|
|
248
|
-
"%Array%": Array,
|
|
249
|
-
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
|
|
250
|
-
"%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
|
|
251
|
-
"%AsyncFromSyncIteratorPrototype%": undefined2,
|
|
252
|
-
"%AsyncFunction%": needsEval,
|
|
253
|
-
"%AsyncGenerator%": needsEval,
|
|
254
|
-
"%AsyncGeneratorFunction%": needsEval,
|
|
255
|
-
"%AsyncIteratorPrototype%": needsEval,
|
|
256
|
-
"%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
|
|
257
|
-
"%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
|
|
258
|
-
"%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
|
|
259
|
-
"%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
|
|
260
|
-
"%Boolean%": Boolean,
|
|
261
|
-
"%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
|
|
262
|
-
"%Date%": Date,
|
|
263
|
-
"%decodeURI%": decodeURI,
|
|
264
|
-
"%decodeURIComponent%": decodeURIComponent,
|
|
265
|
-
"%encodeURI%": encodeURI,
|
|
266
|
-
"%encodeURIComponent%": encodeURIComponent,
|
|
267
|
-
"%Error%": Error,
|
|
268
|
-
"%eval%": eval,
|
|
269
|
-
// eslint-disable-line no-eval
|
|
270
|
-
"%EvalError%": EvalError,
|
|
271
|
-
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
272
|
-
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
273
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
274
|
-
"%Function%": $Function,
|
|
275
|
-
"%GeneratorFunction%": needsEval,
|
|
276
|
-
"%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array,
|
|
277
|
-
"%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array,
|
|
278
|
-
"%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
|
|
279
|
-
"%isFinite%": isFinite,
|
|
280
|
-
"%isNaN%": isNaN,
|
|
281
|
-
"%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
282
|
-
"%JSON%": typeof JSON === "object" ? JSON : undefined2,
|
|
283
|
-
"%Map%": typeof Map === "undefined" ? undefined2 : Map,
|
|
284
|
-
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
285
|
-
"%Math%": Math,
|
|
286
|
-
"%Number%": Number,
|
|
287
|
-
"%Object%": Object,
|
|
288
|
-
"%parseFloat%": parseFloat,
|
|
289
|
-
"%parseInt%": parseInt,
|
|
290
|
-
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
|
|
291
|
-
"%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
|
|
292
|
-
"%RangeError%": RangeError,
|
|
293
|
-
"%ReferenceError%": ReferenceError,
|
|
294
|
-
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
295
|
-
"%RegExp%": RegExp,
|
|
296
|
-
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
297
|
-
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
298
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
|
|
299
|
-
"%String%": String,
|
|
300
|
-
"%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
301
|
-
"%Symbol%": hasSymbols ? Symbol : undefined2,
|
|
302
|
-
"%SyntaxError%": $SyntaxError,
|
|
303
|
-
"%ThrowTypeError%": ThrowTypeError,
|
|
304
|
-
"%TypedArray%": TypedArray,
|
|
305
|
-
"%TypeError%": $TypeError,
|
|
306
|
-
"%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array,
|
|
307
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
|
|
308
|
-
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
|
|
309
|
-
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
|
|
310
|
-
"%URIError%": URIError,
|
|
311
|
-
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
|
|
312
|
-
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
313
|
-
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
|
|
314
|
-
};
|
|
315
|
-
if (getProto) {
|
|
316
|
-
try {
|
|
317
|
-
null.error;
|
|
318
|
-
} catch (e) {
|
|
319
|
-
errorProto = getProto(getProto(e));
|
|
320
|
-
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
var errorProto;
|
|
324
|
-
var doEval = function doEval2(name) {
|
|
325
|
-
var value;
|
|
326
|
-
if (name === "%AsyncFunction%") {
|
|
327
|
-
value = getEvalledConstructor("async function () {}");
|
|
328
|
-
} else if (name === "%GeneratorFunction%") {
|
|
329
|
-
value = getEvalledConstructor("function* () {}");
|
|
330
|
-
} else if (name === "%AsyncGeneratorFunction%") {
|
|
331
|
-
value = getEvalledConstructor("async function* () {}");
|
|
332
|
-
} else if (name === "%AsyncGenerator%") {
|
|
333
|
-
var fn = doEval2("%AsyncGeneratorFunction%");
|
|
334
|
-
if (fn) {
|
|
335
|
-
value = fn.prototype;
|
|
336
|
-
}
|
|
337
|
-
} else if (name === "%AsyncIteratorPrototype%") {
|
|
338
|
-
var gen = doEval2("%AsyncGenerator%");
|
|
339
|
-
if (gen && getProto) {
|
|
340
|
-
value = getProto(gen.prototype);
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
INTRINSICS[name] = value;
|
|
344
|
-
return value;
|
|
345
|
-
};
|
|
346
|
-
var LEGACY_ALIASES = {
|
|
347
|
-
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
348
|
-
"%ArrayPrototype%": ["Array", "prototype"],
|
|
349
|
-
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
350
|
-
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
351
|
-
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
352
|
-
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
353
|
-
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
354
|
-
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
355
|
-
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
356
|
-
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
357
|
-
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
358
|
-
"%DatePrototype%": ["Date", "prototype"],
|
|
359
|
-
"%ErrorPrototype%": ["Error", "prototype"],
|
|
360
|
-
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
361
|
-
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
362
|
-
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
363
|
-
"%FunctionPrototype%": ["Function", "prototype"],
|
|
364
|
-
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
365
|
-
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
366
|
-
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
367
|
-
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
368
|
-
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
369
|
-
"%JSONParse%": ["JSON", "parse"],
|
|
370
|
-
"%JSONStringify%": ["JSON", "stringify"],
|
|
371
|
-
"%MapPrototype%": ["Map", "prototype"],
|
|
372
|
-
"%NumberPrototype%": ["Number", "prototype"],
|
|
373
|
-
"%ObjectPrototype%": ["Object", "prototype"],
|
|
374
|
-
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
375
|
-
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
376
|
-
"%PromisePrototype%": ["Promise", "prototype"],
|
|
377
|
-
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
378
|
-
"%Promise_all%": ["Promise", "all"],
|
|
379
|
-
"%Promise_reject%": ["Promise", "reject"],
|
|
380
|
-
"%Promise_resolve%": ["Promise", "resolve"],
|
|
381
|
-
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
382
|
-
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
383
|
-
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
384
|
-
"%SetPrototype%": ["Set", "prototype"],
|
|
385
|
-
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
386
|
-
"%StringPrototype%": ["String", "prototype"],
|
|
387
|
-
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
388
|
-
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
389
|
-
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
390
|
-
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
391
|
-
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
392
|
-
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
393
|
-
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
394
|
-
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
395
|
-
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
396
|
-
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
397
|
-
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
398
|
-
};
|
|
399
|
-
var bind = require_function_bind();
|
|
400
|
-
var hasOwn = require_hasown();
|
|
401
|
-
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
402
|
-
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
403
|
-
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
404
|
-
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
405
|
-
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
406
|
-
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
407
|
-
var reEscapeChar = /\\(\\)?/g;
|
|
408
|
-
var stringToPath = function stringToPath2(string) {
|
|
409
|
-
var first = $strSlice(string, 0, 1);
|
|
410
|
-
var last = $strSlice(string, -1);
|
|
411
|
-
if (first === "%" && last !== "%") {
|
|
412
|
-
throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
|
|
413
|
-
} else if (last === "%" && first !== "%") {
|
|
414
|
-
throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
|
|
415
|
-
}
|
|
416
|
-
var result = [];
|
|
417
|
-
$replace(string, rePropName, function(match, number, quote, subString) {
|
|
418
|
-
result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
|
|
419
|
-
});
|
|
420
|
-
return result;
|
|
421
|
-
};
|
|
422
|
-
var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
|
|
423
|
-
var intrinsicName = name;
|
|
424
|
-
var alias;
|
|
425
|
-
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
426
|
-
alias = LEGACY_ALIASES[intrinsicName];
|
|
427
|
-
intrinsicName = "%" + alias[0] + "%";
|
|
428
|
-
}
|
|
429
|
-
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
430
|
-
var value = INTRINSICS[intrinsicName];
|
|
431
|
-
if (value === needsEval) {
|
|
432
|
-
value = doEval(intrinsicName);
|
|
433
|
-
}
|
|
434
|
-
if (typeof value === "undefined" && !allowMissing) {
|
|
435
|
-
throw new $TypeError("intrinsic " + name + " exists, but is not available. Please file an issue!");
|
|
436
|
-
}
|
|
437
|
-
return {
|
|
438
|
-
alias,
|
|
439
|
-
name: intrinsicName,
|
|
440
|
-
value
|
|
441
|
-
};
|
|
442
|
-
}
|
|
443
|
-
throw new $SyntaxError("intrinsic " + name + " does not exist!");
|
|
444
|
-
};
|
|
445
|
-
module.exports = function GetIntrinsic(name, allowMissing) {
|
|
446
|
-
if (typeof name !== "string" || name.length === 0) {
|
|
447
|
-
throw new $TypeError("intrinsic name must be a non-empty string");
|
|
448
|
-
}
|
|
449
|
-
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
450
|
-
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
451
|
-
}
|
|
452
|
-
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
453
|
-
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
454
|
-
}
|
|
455
|
-
var parts = stringToPath(name);
|
|
456
|
-
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
457
|
-
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
458
|
-
var intrinsicRealName = intrinsic.name;
|
|
459
|
-
var value = intrinsic.value;
|
|
460
|
-
var skipFurtherCaching = false;
|
|
461
|
-
var alias = intrinsic.alias;
|
|
462
|
-
if (alias) {
|
|
463
|
-
intrinsicBaseName = alias[0];
|
|
464
|
-
$spliceApply(parts, $concat([0, 1], alias));
|
|
465
|
-
}
|
|
466
|
-
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
467
|
-
var part = parts[i];
|
|
468
|
-
var first = $strSlice(part, 0, 1);
|
|
469
|
-
var last = $strSlice(part, -1);
|
|
470
|
-
if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
|
|
471
|
-
throw new $SyntaxError("property names with quotes must have matching quotes");
|
|
472
|
-
}
|
|
473
|
-
if (part === "constructor" || !isOwn) {
|
|
474
|
-
skipFurtherCaching = true;
|
|
475
|
-
}
|
|
476
|
-
intrinsicBaseName += "." + part;
|
|
477
|
-
intrinsicRealName = "%" + intrinsicBaseName + "%";
|
|
478
|
-
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
479
|
-
value = INTRINSICS[intrinsicRealName];
|
|
480
|
-
} else if (value != null) {
|
|
481
|
-
if (!(part in value)) {
|
|
482
|
-
if (!allowMissing) {
|
|
483
|
-
throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
|
|
484
|
-
}
|
|
485
|
-
return void 0;
|
|
486
|
-
}
|
|
487
|
-
if ($gOPD && i + 1 >= parts.length) {
|
|
488
|
-
var desc = $gOPD(value, part);
|
|
489
|
-
isOwn = !!desc;
|
|
490
|
-
if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
|
|
491
|
-
value = desc.get;
|
|
492
|
-
} else {
|
|
493
|
-
value = value[part];
|
|
494
|
-
}
|
|
495
|
-
} else {
|
|
496
|
-
isOwn = hasOwn(value, part);
|
|
497
|
-
value = value[part];
|
|
498
|
-
}
|
|
499
|
-
if (isOwn && !skipFurtherCaching) {
|
|
500
|
-
INTRINSICS[intrinsicRealName] = value;
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
return value;
|
|
505
|
-
};
|
|
506
|
-
}
|
|
507
|
-
});
|
|
508
|
-
|
|
509
|
-
// node_modules/.pnpm/has-property-descriptors@1.0.0/node_modules/has-property-descriptors/index.js
|
|
510
|
-
var require_has_property_descriptors = __commonJS({
|
|
511
|
-
"node_modules/.pnpm/has-property-descriptors@1.0.0/node_modules/has-property-descriptors/index.js"(exports, module) {
|
|
512
|
-
"use strict";
|
|
513
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
514
|
-
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
|
|
515
|
-
var hasPropertyDescriptors = function hasPropertyDescriptors2() {
|
|
516
|
-
if ($defineProperty) {
|
|
517
|
-
try {
|
|
518
|
-
$defineProperty({}, "a", { value: 1 });
|
|
519
|
-
return true;
|
|
520
|
-
} catch (e) {
|
|
521
|
-
return false;
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
return false;
|
|
525
|
-
};
|
|
526
|
-
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
527
|
-
if (!hasPropertyDescriptors()) {
|
|
528
|
-
return null;
|
|
529
|
-
}
|
|
530
|
-
try {
|
|
531
|
-
return $defineProperty([], "length", { value: 1 }).length !== 1;
|
|
532
|
-
} catch (e) {
|
|
533
|
-
return true;
|
|
348
|
+
for (var i = 0; i < boundLength; i++) {
|
|
349
|
+
boundArgs[i] = "$" + i;
|
|
350
|
+
}
|
|
351
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
352
|
+
if (target.prototype) {
|
|
353
|
+
var Empty = function Empty2() {
|
|
354
|
+
};
|
|
355
|
+
Empty.prototype = target.prototype;
|
|
356
|
+
bound.prototype = new Empty();
|
|
357
|
+
Empty.prototype = null;
|
|
534
358
|
}
|
|
359
|
+
return bound;
|
|
535
360
|
};
|
|
536
|
-
module.exports = hasPropertyDescriptors;
|
|
537
361
|
}
|
|
538
362
|
});
|
|
539
363
|
|
|
540
|
-
// node_modules/.pnpm/
|
|
541
|
-
var
|
|
542
|
-
"node_modules/.pnpm/
|
|
364
|
+
// ../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js
|
|
365
|
+
var require_function_bind = __commonJS({
|
|
366
|
+
"../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(exports, module) {
|
|
543
367
|
"use strict";
|
|
544
|
-
|
|
368
|
+
var implementation = require_implementation();
|
|
369
|
+
module.exports = Function.prototype.bind || implementation;
|
|
545
370
|
}
|
|
546
371
|
});
|
|
547
372
|
|
|
548
|
-
// node_modules/.pnpm/
|
|
549
|
-
var
|
|
550
|
-
"node_modules/.pnpm/
|
|
373
|
+
// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js
|
|
374
|
+
var require_functionCall = __commonJS({
|
|
375
|
+
"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(exports, module) {
|
|
551
376
|
"use strict";
|
|
552
|
-
module.exports =
|
|
377
|
+
module.exports = Function.prototype.call;
|
|
553
378
|
}
|
|
554
379
|
});
|
|
555
380
|
|
|
556
|
-
// node_modules/.pnpm/
|
|
557
|
-
var
|
|
558
|
-
"node_modules/.pnpm/
|
|
381
|
+
// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js
|
|
382
|
+
var require_functionApply = __commonJS({
|
|
383
|
+
"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(exports, module) {
|
|
559
384
|
"use strict";
|
|
560
|
-
module.exports =
|
|
385
|
+
module.exports = Function.prototype.apply;
|
|
561
386
|
}
|
|
562
387
|
});
|
|
563
388
|
|
|
564
|
-
// node_modules/.pnpm/
|
|
565
|
-
var
|
|
566
|
-
"node_modules/.pnpm/
|
|
389
|
+
// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js
|
|
390
|
+
var require_reflectApply = __commonJS({
|
|
391
|
+
"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(exports, module) {
|
|
567
392
|
"use strict";
|
|
568
|
-
module.exports =
|
|
393
|
+
module.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
569
394
|
}
|
|
570
395
|
});
|
|
571
396
|
|
|
572
|
-
// node_modules/.pnpm/
|
|
573
|
-
var
|
|
574
|
-
"node_modules/.pnpm/
|
|
397
|
+
// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js
|
|
398
|
+
var require_actualApply = __commonJS({
|
|
399
|
+
"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(exports, module) {
|
|
575
400
|
"use strict";
|
|
576
|
-
|
|
401
|
+
var bind = require_function_bind();
|
|
402
|
+
var $apply = require_functionApply();
|
|
403
|
+
var $call = require_functionCall();
|
|
404
|
+
var $reflectApply = require_reflectApply();
|
|
405
|
+
module.exports = $reflectApply || bind.call($call, $apply);
|
|
577
406
|
}
|
|
578
407
|
});
|
|
579
408
|
|
|
580
|
-
// node_modules/.pnpm/
|
|
581
|
-
var
|
|
582
|
-
"node_modules/.pnpm/
|
|
409
|
+
// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js
|
|
410
|
+
var require_call_bind_apply_helpers = __commonJS({
|
|
411
|
+
"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(exports, module) {
|
|
583
412
|
"use strict";
|
|
584
|
-
|
|
413
|
+
var bind = require_function_bind();
|
|
414
|
+
var $TypeError = require_type();
|
|
415
|
+
var $call = require_functionCall();
|
|
416
|
+
var $actualApply = require_actualApply();
|
|
417
|
+
module.exports = function callBindBasic(args) {
|
|
418
|
+
if (args.length < 1 || typeof args[0] !== "function") {
|
|
419
|
+
throw new $TypeError("a function is required");
|
|
420
|
+
}
|
|
421
|
+
return $actualApply(bind, $call, args);
|
|
422
|
+
};
|
|
585
423
|
}
|
|
586
424
|
});
|
|
587
425
|
|
|
588
|
-
// node_modules/.pnpm/
|
|
589
|
-
var
|
|
590
|
-
"node_modules/.pnpm/
|
|
426
|
+
// ../../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js
|
|
427
|
+
var require_get = __commonJS({
|
|
428
|
+
"../../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(exports, module) {
|
|
591
429
|
"use strict";
|
|
592
|
-
|
|
430
|
+
var callBind = require_call_bind_apply_helpers();
|
|
431
|
+
var gOPD = require_gopd();
|
|
432
|
+
var hasProtoAccessor;
|
|
433
|
+
try {
|
|
434
|
+
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
435
|
+
[].__proto__ === Array.prototype;
|
|
436
|
+
} catch (e) {
|
|
437
|
+
if (!e || typeof e !== "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") {
|
|
438
|
+
throw e;
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
var desc = !!hasProtoAccessor && gOPD && gOPD(
|
|
442
|
+
Object.prototype,
|
|
443
|
+
/** @type {keyof typeof Object.prototype} */
|
|
444
|
+
"__proto__"
|
|
445
|
+
);
|
|
446
|
+
var $Object = Object;
|
|
447
|
+
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
448
|
+
module.exports = desc && typeof desc.get === "function" ? callBind([desc.get]) : typeof $getPrototypeOf === "function" ? (
|
|
449
|
+
/** @type {import('./get')} */
|
|
450
|
+
function getDunder(value) {
|
|
451
|
+
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
452
|
+
}
|
|
453
|
+
) : false;
|
|
593
454
|
}
|
|
594
455
|
});
|
|
595
456
|
|
|
596
|
-
// node_modules/.pnpm/
|
|
597
|
-
var
|
|
598
|
-
"node_modules/.pnpm/
|
|
457
|
+
// ../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js
|
|
458
|
+
var require_get_proto = __commonJS({
|
|
459
|
+
"../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(exports, module) {
|
|
599
460
|
"use strict";
|
|
600
|
-
var
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
461
|
+
var reflectGetProto = require_Reflect_getPrototypeOf();
|
|
462
|
+
var originalGetProto = require_Object_getPrototypeOf();
|
|
463
|
+
var getDunderProto = require_get();
|
|
464
|
+
module.exports = reflectGetProto ? function getProto(O) {
|
|
465
|
+
return reflectGetProto(O);
|
|
466
|
+
} : originalGetProto ? function getProto(O) {
|
|
467
|
+
if (!O || typeof O !== "object" && typeof O !== "function") {
|
|
468
|
+
throw new TypeError("getProto: not an object");
|
|
469
|
+
}
|
|
470
|
+
return originalGetProto(O);
|
|
471
|
+
} : getDunderProto ? function getProto(O) {
|
|
472
|
+
return getDunderProto(O);
|
|
473
|
+
} : null;
|
|
608
474
|
}
|
|
609
475
|
});
|
|
610
476
|
|
|
611
|
-
// node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js
|
|
612
|
-
var
|
|
613
|
-
"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(exports, module) {
|
|
477
|
+
// ../../../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js
|
|
478
|
+
var require_hasown = __commonJS({
|
|
479
|
+
"../../../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(exports, module) {
|
|
614
480
|
"use strict";
|
|
615
481
|
var call = Function.prototype.call;
|
|
616
482
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
@@ -619,11 +485,12 @@ var require_hasown2 = __commonJS({
|
|
|
619
485
|
}
|
|
620
486
|
});
|
|
621
487
|
|
|
622
|
-
// node_modules/.pnpm/get-intrinsic@1.
|
|
623
|
-
var
|
|
624
|
-
"node_modules/.pnpm/get-intrinsic@1.
|
|
488
|
+
// ../../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js
|
|
489
|
+
var require_get_intrinsic = __commonJS({
|
|
490
|
+
"../../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(exports, module) {
|
|
625
491
|
"use strict";
|
|
626
492
|
var undefined2;
|
|
493
|
+
var $Object = require_es_object_atoms();
|
|
627
494
|
var $Error = require_es_errors();
|
|
628
495
|
var $EvalError = require_eval();
|
|
629
496
|
var $RangeError = require_range();
|
|
@@ -631,6 +498,13 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
631
498
|
var $SyntaxError = require_syntax();
|
|
632
499
|
var $TypeError = require_type();
|
|
633
500
|
var $URIError = require_uri();
|
|
501
|
+
var abs = require_abs();
|
|
502
|
+
var floor = require_floor();
|
|
503
|
+
var max = require_max();
|
|
504
|
+
var min = require_min();
|
|
505
|
+
var pow = require_pow();
|
|
506
|
+
var round = require_round();
|
|
507
|
+
var sign = require_sign();
|
|
634
508
|
var $Function = Function;
|
|
635
509
|
var getEvalledConstructor = function(expressionSyntax) {
|
|
636
510
|
try {
|
|
@@ -638,14 +512,8 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
638
512
|
} catch (e) {
|
|
639
513
|
}
|
|
640
514
|
};
|
|
641
|
-
var $gOPD =
|
|
642
|
-
|
|
643
|
-
try {
|
|
644
|
-
$gOPD({}, "");
|
|
645
|
-
} catch (e) {
|
|
646
|
-
$gOPD = null;
|
|
647
|
-
}
|
|
648
|
-
}
|
|
515
|
+
var $gOPD = require_gopd();
|
|
516
|
+
var $defineProperty = require_es_define_property();
|
|
649
517
|
var throwTypeError = function() {
|
|
650
518
|
throw new $TypeError();
|
|
651
519
|
};
|
|
@@ -662,10 +530,11 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
662
530
|
}
|
|
663
531
|
}() : throwTypeError;
|
|
664
532
|
var hasSymbols = require_has_symbols()();
|
|
665
|
-
var
|
|
666
|
-
var
|
|
667
|
-
|
|
668
|
-
|
|
533
|
+
var getProto = require_get_proto();
|
|
534
|
+
var $ObjectGPO = require_Object_getPrototypeOf();
|
|
535
|
+
var $ReflectGPO = require_Reflect_getPrototypeOf();
|
|
536
|
+
var $apply = require_functionApply();
|
|
537
|
+
var $call = require_functionCall();
|
|
669
538
|
var needsEval = {};
|
|
670
539
|
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
671
540
|
var INTRINSICS = {
|
|
@@ -694,6 +563,7 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
694
563
|
"%eval%": eval,
|
|
695
564
|
// eslint-disable-line no-eval
|
|
696
565
|
"%EvalError%": $EvalError,
|
|
566
|
+
"%Float16Array%": typeof Float16Array === "undefined" ? undefined2 : Float16Array,
|
|
697
567
|
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
698
568
|
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
699
569
|
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
@@ -710,7 +580,8 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
710
580
|
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
711
581
|
"%Math%": Math,
|
|
712
582
|
"%Number%": Number,
|
|
713
|
-
"%Object%": Object,
|
|
583
|
+
"%Object%": $Object,
|
|
584
|
+
"%Object.getOwnPropertyDescriptor%": $gOPD,
|
|
714
585
|
"%parseFloat%": parseFloat,
|
|
715
586
|
"%parseInt%": parseInt,
|
|
716
587
|
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
|
|
@@ -736,7 +607,19 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
736
607
|
"%URIError%": $URIError,
|
|
737
608
|
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
|
|
738
609
|
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
739
|
-
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
|
|
610
|
+
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet,
|
|
611
|
+
"%Function.prototype.call%": $call,
|
|
612
|
+
"%Function.prototype.apply%": $apply,
|
|
613
|
+
"%Object.defineProperty%": $defineProperty,
|
|
614
|
+
"%Object.getPrototypeOf%": $ObjectGPO,
|
|
615
|
+
"%Math.abs%": abs,
|
|
616
|
+
"%Math.floor%": floor,
|
|
617
|
+
"%Math.max%": max,
|
|
618
|
+
"%Math.min%": min,
|
|
619
|
+
"%Math.pow%": pow,
|
|
620
|
+
"%Math.round%": round,
|
|
621
|
+
"%Math.sign%": sign,
|
|
622
|
+
"%Reflect.getPrototypeOf%": $ReflectGPO
|
|
740
623
|
};
|
|
741
624
|
if (getProto) {
|
|
742
625
|
try {
|
|
@@ -824,12 +707,12 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
824
707
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
825
708
|
};
|
|
826
709
|
var bind = require_function_bind();
|
|
827
|
-
var hasOwn =
|
|
828
|
-
var $concat = bind.call(
|
|
829
|
-
var $spliceApply = bind.call(
|
|
830
|
-
var $replace = bind.call(
|
|
831
|
-
var $strSlice = bind.call(
|
|
832
|
-
var $exec = bind.call(
|
|
710
|
+
var hasOwn = require_hasown();
|
|
711
|
+
var $concat = bind.call($call, Array.prototype.concat);
|
|
712
|
+
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
713
|
+
var $replace = bind.call($call, String.prototype.replace);
|
|
714
|
+
var $strSlice = bind.call($call, String.prototype.slice);
|
|
715
|
+
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
833
716
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
834
717
|
var reEscapeChar = /\\(\\)?/g;
|
|
835
718
|
var stringToPath = function stringToPath2(string) {
|
|
@@ -909,7 +792,7 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
909
792
|
if (!allowMissing) {
|
|
910
793
|
throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
|
|
911
794
|
}
|
|
912
|
-
return void
|
|
795
|
+
return void undefined2;
|
|
913
796
|
}
|
|
914
797
|
if ($gOPD && i + 1 >= parts.length) {
|
|
915
798
|
var desc = $gOPD(value, part);
|
|
@@ -933,39 +816,13 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
933
816
|
}
|
|
934
817
|
});
|
|
935
818
|
|
|
936
|
-
// node_modules/.pnpm/
|
|
937
|
-
var require_gopd = __commonJS({
|
|
938
|
-
"node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js"(exports, module) {
|
|
939
|
-
"use strict";
|
|
940
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
941
|
-
var $gOPD = GetIntrinsic("%Object.getOwnPropertyDescriptor%", true);
|
|
942
|
-
if ($gOPD) {
|
|
943
|
-
try {
|
|
944
|
-
$gOPD([], "length");
|
|
945
|
-
} catch (e) {
|
|
946
|
-
$gOPD = null;
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
module.exports = $gOPD;
|
|
950
|
-
}
|
|
951
|
-
});
|
|
952
|
-
|
|
953
|
-
// node_modules/.pnpm/define-data-property@1.1.1/node_modules/define-data-property/index.js
|
|
819
|
+
// ../../../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js
|
|
954
820
|
var require_define_data_property = __commonJS({
|
|
955
|
-
"node_modules/.pnpm/define-data-property@1.1.
|
|
821
|
+
"../../../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js"(exports, module) {
|
|
956
822
|
"use strict";
|
|
957
|
-
var
|
|
958
|
-
var
|
|
959
|
-
var $
|
|
960
|
-
if ($defineProperty) {
|
|
961
|
-
try {
|
|
962
|
-
$defineProperty({}, "a", { value: 1 });
|
|
963
|
-
} catch (e) {
|
|
964
|
-
$defineProperty = false;
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
|
-
var $SyntaxError = GetIntrinsic("%SyntaxError%");
|
|
968
|
-
var $TypeError = GetIntrinsic("%TypeError%");
|
|
823
|
+
var $defineProperty = require_es_define_property();
|
|
824
|
+
var $SyntaxError = require_syntax();
|
|
825
|
+
var $TypeError = require_type();
|
|
969
826
|
var gopd = require_gopd();
|
|
970
827
|
module.exports = function defineDataProperty(obj, property, value) {
|
|
971
828
|
if (!obj || typeof obj !== "object" && typeof obj !== "function") {
|
|
@@ -1007,15 +864,37 @@ var require_define_data_property = __commonJS({
|
|
|
1007
864
|
}
|
|
1008
865
|
});
|
|
1009
866
|
|
|
1010
|
-
// node_modules/.pnpm/
|
|
867
|
+
// ../../../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js
|
|
868
|
+
var require_has_property_descriptors = __commonJS({
|
|
869
|
+
"../../../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js"(exports, module) {
|
|
870
|
+
"use strict";
|
|
871
|
+
var $defineProperty = require_es_define_property();
|
|
872
|
+
var hasPropertyDescriptors = function hasPropertyDescriptors2() {
|
|
873
|
+
return !!$defineProperty;
|
|
874
|
+
};
|
|
875
|
+
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
876
|
+
if (!$defineProperty) {
|
|
877
|
+
return null;
|
|
878
|
+
}
|
|
879
|
+
try {
|
|
880
|
+
return $defineProperty([], "length", { value: 1 }).length !== 1;
|
|
881
|
+
} catch (e) {
|
|
882
|
+
return true;
|
|
883
|
+
}
|
|
884
|
+
};
|
|
885
|
+
module.exports = hasPropertyDescriptors;
|
|
886
|
+
}
|
|
887
|
+
});
|
|
888
|
+
|
|
889
|
+
// ../../../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js
|
|
1011
890
|
var require_set_function_length = __commonJS({
|
|
1012
|
-
"node_modules/.pnpm/set-function-length@1.
|
|
891
|
+
"../../../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js"(exports, module) {
|
|
1013
892
|
"use strict";
|
|
1014
893
|
var GetIntrinsic = require_get_intrinsic();
|
|
1015
894
|
var define = require_define_data_property();
|
|
1016
895
|
var hasDescriptors = require_has_property_descriptors()();
|
|
1017
896
|
var gOPD = require_gopd();
|
|
1018
|
-
var $TypeError =
|
|
897
|
+
var $TypeError = require_type();
|
|
1019
898
|
var $floor = GetIntrinsic("%Math.floor%");
|
|
1020
899
|
module.exports = function setFunctionLength(fn, length) {
|
|
1021
900
|
if (typeof fn !== "function") {
|
|
@@ -1038,9 +917,21 @@ var require_set_function_length = __commonJS({
|
|
|
1038
917
|
}
|
|
1039
918
|
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
1040
919
|
if (hasDescriptors) {
|
|
1041
|
-
define(
|
|
920
|
+
define(
|
|
921
|
+
/** @type {Parameters<define>[0]} */
|
|
922
|
+
fn,
|
|
923
|
+
"length",
|
|
924
|
+
length,
|
|
925
|
+
true,
|
|
926
|
+
true
|
|
927
|
+
);
|
|
1042
928
|
} else {
|
|
1043
|
-
define(
|
|
929
|
+
define(
|
|
930
|
+
/** @type {Parameters<define>[0]} */
|
|
931
|
+
fn,
|
|
932
|
+
"length",
|
|
933
|
+
length
|
|
934
|
+
);
|
|
1044
935
|
}
|
|
1045
936
|
}
|
|
1046
937
|
return fn;
|
|
@@ -1048,40 +939,36 @@ var require_set_function_length = __commonJS({
|
|
|
1048
939
|
}
|
|
1049
940
|
});
|
|
1050
941
|
|
|
1051
|
-
// node_modules/.pnpm/call-bind@1.0.
|
|
1052
|
-
var
|
|
1053
|
-
"node_modules/.pnpm/call-bind@1.0.
|
|
942
|
+
// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/applyBind.js
|
|
943
|
+
var require_applyBind = __commonJS({
|
|
944
|
+
"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/applyBind.js"(exports, module) {
|
|
1054
945
|
"use strict";
|
|
1055
946
|
var bind = require_function_bind();
|
|
1056
|
-
var
|
|
947
|
+
var $apply = require_functionApply();
|
|
948
|
+
var actualApply = require_actualApply();
|
|
949
|
+
module.exports = function applyBind() {
|
|
950
|
+
return actualApply(bind, $apply, arguments);
|
|
951
|
+
};
|
|
952
|
+
}
|
|
953
|
+
});
|
|
954
|
+
|
|
955
|
+
// ../../../node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/index.js
|
|
956
|
+
var require_call_bind = __commonJS({
|
|
957
|
+
"../../../node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/index.js"(exports, module) {
|
|
958
|
+
"use strict";
|
|
1057
959
|
var setFunctionLength = require_set_function_length();
|
|
1058
|
-
var $
|
|
1059
|
-
var
|
|
1060
|
-
var
|
|
1061
|
-
var $reflectApply = GetIntrinsic("%Reflect.apply%", true) || bind.call($call, $apply);
|
|
1062
|
-
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
|
|
1063
|
-
var $max = GetIntrinsic("%Math.max%");
|
|
1064
|
-
if ($defineProperty) {
|
|
1065
|
-
try {
|
|
1066
|
-
$defineProperty({}, "a", { value: 1 });
|
|
1067
|
-
} catch (e) {
|
|
1068
|
-
$defineProperty = null;
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
960
|
+
var $defineProperty = require_es_define_property();
|
|
961
|
+
var callBindBasic = require_call_bind_apply_helpers();
|
|
962
|
+
var applyBind = require_applyBind();
|
|
1071
963
|
module.exports = function callBind(originalFunction) {
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
}
|
|
1075
|
-
var func = $reflectApply(bind, $call, arguments);
|
|
964
|
+
var func = callBindBasic(arguments);
|
|
965
|
+
var adjustedLength = originalFunction.length - (arguments.length - 1);
|
|
1076
966
|
return setFunctionLength(
|
|
1077
967
|
func,
|
|
1078
|
-
1 +
|
|
968
|
+
1 + (adjustedLength > 0 ? adjustedLength : 0),
|
|
1079
969
|
true
|
|
1080
970
|
);
|
|
1081
971
|
};
|
|
1082
|
-
var applyBind = function applyBind2() {
|
|
1083
|
-
return $reflectApply(bind, $apply, arguments);
|
|
1084
|
-
};
|
|
1085
972
|
if ($defineProperty) {
|
|
1086
973
|
$defineProperty(module.exports, "apply", { value: applyBind });
|
|
1087
974
|
} else {
|
|
@@ -1090,9 +977,9 @@ var require_call_bind = __commonJS({
|
|
|
1090
977
|
}
|
|
1091
978
|
});
|
|
1092
979
|
|
|
1093
|
-
// node_modules/.pnpm/call-bind@1.0.
|
|
980
|
+
// ../../../node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/callBound.js
|
|
1094
981
|
var require_callBound = __commonJS({
|
|
1095
|
-
"node_modules/.pnpm/call-bind@1.0.
|
|
982
|
+
"../../../node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/callBound.js"(exports, module) {
|
|
1096
983
|
"use strict";
|
|
1097
984
|
var GetIntrinsic = require_get_intrinsic();
|
|
1098
985
|
var callBind = require_call_bind();
|
|
@@ -1107,9 +994,9 @@ var require_callBound = __commonJS({
|
|
|
1107
994
|
}
|
|
1108
995
|
});
|
|
1109
996
|
|
|
1110
|
-
// node_modules/.pnpm/is-arguments@1.1.1/node_modules/is-arguments/index.js
|
|
997
|
+
// ../../../node_modules/.pnpm/is-arguments@1.1.1/node_modules/is-arguments/index.js
|
|
1111
998
|
var require_is_arguments = __commonJS({
|
|
1112
|
-
"node_modules/.pnpm/is-arguments@1.1.1/node_modules/is-arguments/index.js"(exports, module) {
|
|
999
|
+
"../../../node_modules/.pnpm/is-arguments@1.1.1/node_modules/is-arguments/index.js"(exports, module) {
|
|
1113
1000
|
"use strict";
|
|
1114
1001
|
var hasToStringTag = require_shams2()();
|
|
1115
1002
|
var callBound = require_callBound();
|
|
@@ -1134,9 +1021,9 @@ var require_is_arguments = __commonJS({
|
|
|
1134
1021
|
}
|
|
1135
1022
|
});
|
|
1136
1023
|
|
|
1137
|
-
// node_modules/.pnpm/is-generator-function@1.0.10/node_modules/is-generator-function/index.js
|
|
1024
|
+
// ../../../node_modules/.pnpm/is-generator-function@1.0.10/node_modules/is-generator-function/index.js
|
|
1138
1025
|
var require_is_generator_function = __commonJS({
|
|
1139
|
-
"node_modules/.pnpm/is-generator-function@1.0.10/node_modules/is-generator-function/index.js"(exports, module) {
|
|
1026
|
+
"../../../node_modules/.pnpm/is-generator-function@1.0.10/node_modules/is-generator-function/index.js"(exports, module) {
|
|
1140
1027
|
"use strict";
|
|
1141
1028
|
var toStr = Object.prototype.toString;
|
|
1142
1029
|
var fnToStr = Function.prototype.toString;
|
|
@@ -1176,9 +1063,9 @@ var require_is_generator_function = __commonJS({
|
|
|
1176
1063
|
}
|
|
1177
1064
|
});
|
|
1178
1065
|
|
|
1179
|
-
// node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js
|
|
1066
|
+
// ../../../node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js
|
|
1180
1067
|
var require_is_callable = __commonJS({
|
|
1181
|
-
"node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js"(exports, module) {
|
|
1068
|
+
"../../../node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js"(exports, module) {
|
|
1182
1069
|
"use strict";
|
|
1183
1070
|
var fnToStr = Function.prototype.toString;
|
|
1184
1071
|
var reflectApply = typeof Reflect === "object" && Reflect !== null && Reflect.apply;
|
|
@@ -1294,9 +1181,9 @@ var require_is_callable = __commonJS({
|
|
|
1294
1181
|
}
|
|
1295
1182
|
});
|
|
1296
1183
|
|
|
1297
|
-
// node_modules/.pnpm/for-each@0.3.
|
|
1184
|
+
// ../../../node_modules/.pnpm/for-each@0.3.5/node_modules/for-each/index.js
|
|
1298
1185
|
var require_for_each = __commonJS({
|
|
1299
|
-
"node_modules/.pnpm/for-each@0.3.
|
|
1186
|
+
"../../../node_modules/.pnpm/for-each@0.3.5/node_modules/for-each/index.js"(exports, module) {
|
|
1300
1187
|
"use strict";
|
|
1301
1188
|
var isCallable = require_is_callable();
|
|
1302
1189
|
var toStr = Object.prototype.toString;
|
|
@@ -1332,7 +1219,10 @@ var require_for_each = __commonJS({
|
|
|
1332
1219
|
}
|
|
1333
1220
|
}
|
|
1334
1221
|
};
|
|
1335
|
-
|
|
1222
|
+
function isArray(x) {
|
|
1223
|
+
return toStr.call(x) === "[object Array]";
|
|
1224
|
+
}
|
|
1225
|
+
module.exports = function forEach(list, iterator, thisArg) {
|
|
1336
1226
|
if (!isCallable(iterator)) {
|
|
1337
1227
|
throw new TypeError("iterator must be a function");
|
|
1338
1228
|
}
|
|
@@ -1340,7 +1230,7 @@ var require_for_each = __commonJS({
|
|
|
1340
1230
|
if (arguments.length >= 3) {
|
|
1341
1231
|
receiver = thisArg;
|
|
1342
1232
|
}
|
|
1343
|
-
if (
|
|
1233
|
+
if (isArray(list)) {
|
|
1344
1234
|
forEachArray(list, iterator, receiver);
|
|
1345
1235
|
} else if (typeof list === "string") {
|
|
1346
1236
|
forEachString(list, iterator, receiver);
|
|
@@ -1348,27 +1238,35 @@ var require_for_each = __commonJS({
|
|
|
1348
1238
|
forEachObject(list, iterator, receiver);
|
|
1349
1239
|
}
|
|
1350
1240
|
};
|
|
1351
|
-
module.exports = forEach;
|
|
1352
1241
|
}
|
|
1353
1242
|
});
|
|
1354
1243
|
|
|
1355
|
-
// node_modules/.pnpm/
|
|
1356
|
-
var
|
|
1357
|
-
"node_modules/.pnpm/
|
|
1244
|
+
// ../../../node_modules/.pnpm/possible-typed-array-names@1.1.0/node_modules/possible-typed-array-names/index.js
|
|
1245
|
+
var require_possible_typed_array_names = __commonJS({
|
|
1246
|
+
"../../../node_modules/.pnpm/possible-typed-array-names@1.1.0/node_modules/possible-typed-array-names/index.js"(exports, module) {
|
|
1358
1247
|
"use strict";
|
|
1359
|
-
|
|
1360
|
-
"
|
|
1361
|
-
"BigUint64Array",
|
|
1248
|
+
module.exports = [
|
|
1249
|
+
"Float16Array",
|
|
1362
1250
|
"Float32Array",
|
|
1363
1251
|
"Float64Array",
|
|
1252
|
+
"Int8Array",
|
|
1364
1253
|
"Int16Array",
|
|
1365
1254
|
"Int32Array",
|
|
1366
|
-
"
|
|
1255
|
+
"Uint8Array",
|
|
1256
|
+
"Uint8ClampedArray",
|
|
1367
1257
|
"Uint16Array",
|
|
1368
1258
|
"Uint32Array",
|
|
1369
|
-
"
|
|
1370
|
-
"
|
|
1259
|
+
"BigInt64Array",
|
|
1260
|
+
"BigUint64Array"
|
|
1371
1261
|
];
|
|
1262
|
+
}
|
|
1263
|
+
});
|
|
1264
|
+
|
|
1265
|
+
// ../../../node_modules/.pnpm/available-typed-arrays@1.0.7/node_modules/available-typed-arrays/index.js
|
|
1266
|
+
var require_available_typed_arrays = __commonJS({
|
|
1267
|
+
"../../../node_modules/.pnpm/available-typed-arrays@1.0.7/node_modules/available-typed-arrays/index.js"(exports, module) {
|
|
1268
|
+
"use strict";
|
|
1269
|
+
var possibleNames = require_possible_typed_array_names();
|
|
1372
1270
|
var g = typeof globalThis === "undefined" ? global : globalThis;
|
|
1373
1271
|
module.exports = function availableTypedArrays() {
|
|
1374
1272
|
var out = [];
|
|
@@ -1382,99 +1280,44 @@ var require_available_typed_arrays = __commonJS({
|
|
|
1382
1280
|
}
|
|
1383
1281
|
});
|
|
1384
1282
|
|
|
1385
|
-
// node_modules/.pnpm/call-
|
|
1386
|
-
var
|
|
1387
|
-
"node_modules/.pnpm/call-
|
|
1388
|
-
"use strict";
|
|
1389
|
-
var bind = require_function_bind();
|
|
1390
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
1391
|
-
var $apply = GetIntrinsic("%Function.prototype.apply%");
|
|
1392
|
-
var $call = GetIntrinsic("%Function.prototype.call%");
|
|
1393
|
-
var $reflectApply = GetIntrinsic("%Reflect.apply%", true) || bind.call($call, $apply);
|
|
1394
|
-
var $gOPD = GetIntrinsic("%Object.getOwnPropertyDescriptor%", true);
|
|
1395
|
-
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
|
|
1396
|
-
var $max = GetIntrinsic("%Math.max%");
|
|
1397
|
-
if ($defineProperty) {
|
|
1398
|
-
try {
|
|
1399
|
-
$defineProperty({}, "a", { value: 1 });
|
|
1400
|
-
} catch (e) {
|
|
1401
|
-
$defineProperty = null;
|
|
1402
|
-
}
|
|
1403
|
-
}
|
|
1404
|
-
module.exports = function callBind(originalFunction) {
|
|
1405
|
-
var func = $reflectApply(bind, $call, arguments);
|
|
1406
|
-
if ($gOPD && $defineProperty) {
|
|
1407
|
-
var desc = $gOPD(func, "length");
|
|
1408
|
-
if (desc.configurable) {
|
|
1409
|
-
$defineProperty(
|
|
1410
|
-
func,
|
|
1411
|
-
"length",
|
|
1412
|
-
{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
|
|
1413
|
-
);
|
|
1414
|
-
}
|
|
1415
|
-
}
|
|
1416
|
-
return func;
|
|
1417
|
-
};
|
|
1418
|
-
var applyBind = function applyBind2() {
|
|
1419
|
-
return $reflectApply(bind, $apply, arguments);
|
|
1420
|
-
};
|
|
1421
|
-
if ($defineProperty) {
|
|
1422
|
-
$defineProperty(module.exports, "apply", { value: applyBind });
|
|
1423
|
-
} else {
|
|
1424
|
-
module.exports.apply = applyBind;
|
|
1425
|
-
}
|
|
1426
|
-
}
|
|
1427
|
-
});
|
|
1428
|
-
|
|
1429
|
-
// node_modules/.pnpm/call-bind@1.0.2/node_modules/call-bind/callBound.js
|
|
1430
|
-
var require_callBound2 = __commonJS({
|
|
1431
|
-
"node_modules/.pnpm/call-bind@1.0.2/node_modules/call-bind/callBound.js"(exports, module) {
|
|
1283
|
+
// ../../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js
|
|
1284
|
+
var require_call_bound = __commonJS({
|
|
1285
|
+
"../../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(exports, module) {
|
|
1432
1286
|
"use strict";
|
|
1433
1287
|
var GetIntrinsic = require_get_intrinsic();
|
|
1434
|
-
var
|
|
1435
|
-
var $indexOf =
|
|
1288
|
+
var callBindBasic = require_call_bind_apply_helpers();
|
|
1289
|
+
var $indexOf = callBindBasic([GetIntrinsic("%String.prototype.indexOf%")]);
|
|
1436
1290
|
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
1437
|
-
var intrinsic =
|
|
1291
|
+
var intrinsic = (
|
|
1292
|
+
/** @type {(this: unknown, ...args: unknown[]) => unknown} */
|
|
1293
|
+
GetIntrinsic(name, !!allowMissing)
|
|
1294
|
+
);
|
|
1438
1295
|
if (typeof intrinsic === "function" && $indexOf(name, ".prototype.") > -1) {
|
|
1439
|
-
return
|
|
1296
|
+
return callBindBasic(
|
|
1297
|
+
/** @type {const} */
|
|
1298
|
+
[intrinsic]
|
|
1299
|
+
);
|
|
1440
1300
|
}
|
|
1441
1301
|
return intrinsic;
|
|
1442
1302
|
};
|
|
1443
1303
|
}
|
|
1444
1304
|
});
|
|
1445
1305
|
|
|
1446
|
-
// node_modules/.pnpm/
|
|
1447
|
-
var require_getOwnPropertyDescriptor = __commonJS({
|
|
1448
|
-
"node_modules/.pnpm/es-abstract@1.20.4/node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js"(exports, module) {
|
|
1449
|
-
"use strict";
|
|
1450
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
1451
|
-
var $gOPD = GetIntrinsic("%Object.getOwnPropertyDescriptor%", true);
|
|
1452
|
-
if ($gOPD) {
|
|
1453
|
-
try {
|
|
1454
|
-
$gOPD([], "length");
|
|
1455
|
-
} catch (e) {
|
|
1456
|
-
$gOPD = null;
|
|
1457
|
-
}
|
|
1458
|
-
}
|
|
1459
|
-
module.exports = $gOPD;
|
|
1460
|
-
}
|
|
1461
|
-
});
|
|
1462
|
-
|
|
1463
|
-
// node_modules/.pnpm/which-typed-array@1.1.13/node_modules/which-typed-array/index.js
|
|
1306
|
+
// ../../../node_modules/.pnpm/which-typed-array@1.1.19/node_modules/which-typed-array/index.js
|
|
1464
1307
|
var require_which_typed_array = __commonJS({
|
|
1465
|
-
"node_modules/.pnpm/which-typed-array@1.1.
|
|
1308
|
+
"../../../node_modules/.pnpm/which-typed-array@1.1.19/node_modules/which-typed-array/index.js"(exports, module) {
|
|
1466
1309
|
"use strict";
|
|
1467
1310
|
var forEach = require_for_each();
|
|
1468
1311
|
var availableTypedArrays = require_available_typed_arrays();
|
|
1469
1312
|
var callBind = require_call_bind();
|
|
1470
|
-
var callBound =
|
|
1313
|
+
var callBound = require_call_bound();
|
|
1471
1314
|
var gOPD = require_gopd();
|
|
1315
|
+
var getProto = require_get_proto();
|
|
1472
1316
|
var $toString = callBound("Object.prototype.toString");
|
|
1473
1317
|
var hasToStringTag = require_shams2()();
|
|
1474
1318
|
var g = typeof globalThis === "undefined" ? global : globalThis;
|
|
1475
1319
|
var typedArrays = availableTypedArrays();
|
|
1476
1320
|
var $slice = callBound("String.prototype.slice");
|
|
1477
|
-
var getPrototypeOf = Object.getPrototypeOf;
|
|
1478
1321
|
var $indexOf = callBound("Array.prototype.indexOf", true) || function indexOf(array, value) {
|
|
1479
1322
|
for (var i = 0; i < array.length; i += 1) {
|
|
1480
1323
|
if (array[i] === value) {
|
|
@@ -1484,14 +1327,14 @@ var require_which_typed_array = __commonJS({
|
|
|
1484
1327
|
return -1;
|
|
1485
1328
|
};
|
|
1486
1329
|
var cache = { __proto__: null };
|
|
1487
|
-
if (hasToStringTag && gOPD &&
|
|
1330
|
+
if (hasToStringTag && gOPD && getProto) {
|
|
1488
1331
|
forEach(typedArrays, function(typedArray) {
|
|
1489
1332
|
var arr = new g[typedArray]();
|
|
1490
|
-
if (Symbol.toStringTag in arr) {
|
|
1491
|
-
var proto =
|
|
1333
|
+
if (Symbol.toStringTag in arr && getProto) {
|
|
1334
|
+
var proto = getProto(arr);
|
|
1492
1335
|
var descriptor = gOPD(proto, Symbol.toStringTag);
|
|
1493
|
-
if (!descriptor) {
|
|
1494
|
-
var superProto =
|
|
1336
|
+
if (!descriptor && proto) {
|
|
1337
|
+
var superProto = getProto(proto);
|
|
1495
1338
|
descriptor = gOPD(superProto, Symbol.toStringTag);
|
|
1496
1339
|
}
|
|
1497
1340
|
cache["$" + typedArray] = callBind(descriptor.get);
|
|
@@ -1502,35 +1345,52 @@ var require_which_typed_array = __commonJS({
|
|
|
1502
1345
|
var arr = new g[typedArray]();
|
|
1503
1346
|
var fn = arr.slice || arr.set;
|
|
1504
1347
|
if (fn) {
|
|
1505
|
-
cache[
|
|
1348
|
+
cache[
|
|
1349
|
+
/** @type {`$${import('.').TypedArrayName}`} */
|
|
1350
|
+
"$" + typedArray
|
|
1351
|
+
] = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */
|
|
1352
|
+
// @ts-expect-error TODO FIXME
|
|
1353
|
+
callBind(fn);
|
|
1506
1354
|
}
|
|
1507
1355
|
});
|
|
1508
1356
|
}
|
|
1509
1357
|
var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
1510
1358
|
var found = false;
|
|
1511
|
-
forEach(
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1359
|
+
forEach(
|
|
1360
|
+
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
1361
|
+
cache,
|
|
1362
|
+
/** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
|
|
1363
|
+
function(getter, typedArray) {
|
|
1364
|
+
if (!found) {
|
|
1365
|
+
try {
|
|
1366
|
+
if ("$" + getter(value) === typedArray) {
|
|
1367
|
+
found = /** @type {import('.').TypedArrayName} */
|
|
1368
|
+
$slice(typedArray, 1);
|
|
1369
|
+
}
|
|
1370
|
+
} catch (e) {
|
|
1516
1371
|
}
|
|
1517
|
-
} catch (e) {
|
|
1518
1372
|
}
|
|
1519
1373
|
}
|
|
1520
|
-
|
|
1374
|
+
);
|
|
1521
1375
|
return found;
|
|
1522
1376
|
};
|
|
1523
1377
|
var trySlices = function tryAllSlices(value) {
|
|
1524
1378
|
var found = false;
|
|
1525
|
-
forEach(
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1379
|
+
forEach(
|
|
1380
|
+
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
1381
|
+
cache,
|
|
1382
|
+
/** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
|
|
1383
|
+
function(getter, name) {
|
|
1384
|
+
if (!found) {
|
|
1385
|
+
try {
|
|
1386
|
+
getter(value);
|
|
1387
|
+
found = /** @type {import('.').TypedArrayName} */
|
|
1388
|
+
$slice(name, 1);
|
|
1389
|
+
} catch (e) {
|
|
1390
|
+
}
|
|
1531
1391
|
}
|
|
1532
1392
|
}
|
|
1533
|
-
|
|
1393
|
+
);
|
|
1534
1394
|
return found;
|
|
1535
1395
|
};
|
|
1536
1396
|
module.exports = function whichTypedArray(value) {
|
|
@@ -1555,9 +1415,9 @@ var require_which_typed_array = __commonJS({
|
|
|
1555
1415
|
}
|
|
1556
1416
|
});
|
|
1557
1417
|
|
|
1558
|
-
// node_modules/.pnpm/is-typed-array@1.1.
|
|
1418
|
+
// ../../../node_modules/.pnpm/is-typed-array@1.1.15/node_modules/is-typed-array/index.js
|
|
1559
1419
|
var require_is_typed_array = __commonJS({
|
|
1560
|
-
"node_modules/.pnpm/is-typed-array@1.1.
|
|
1420
|
+
"../../../node_modules/.pnpm/is-typed-array@1.1.15/node_modules/is-typed-array/index.js"(exports, module) {
|
|
1561
1421
|
"use strict";
|
|
1562
1422
|
var whichTypedArray = require_which_typed_array();
|
|
1563
1423
|
module.exports = function isTypedArray(value) {
|
|
@@ -1566,138 +1426,14 @@ var require_is_typed_array = __commonJS({
|
|
|
1566
1426
|
}
|
|
1567
1427
|
});
|
|
1568
1428
|
|
|
1569
|
-
// node_modules/.pnpm/
|
|
1570
|
-
var require_which_typed_array2 = __commonJS({
|
|
1571
|
-
"node_modules/.pnpm/which-typed-array@1.1.8/node_modules/which-typed-array/index.js"(exports, module) {
|
|
1572
|
-
"use strict";
|
|
1573
|
-
var forEach = require_for_each();
|
|
1574
|
-
var availableTypedArrays = require_available_typed_arrays();
|
|
1575
|
-
var callBound = require_callBound2();
|
|
1576
|
-
var $toString = callBound("Object.prototype.toString");
|
|
1577
|
-
var hasToStringTag = require_shams2()();
|
|
1578
|
-
var g = typeof globalThis === "undefined" ? global : globalThis;
|
|
1579
|
-
var typedArrays = availableTypedArrays();
|
|
1580
|
-
var $slice = callBound("String.prototype.slice");
|
|
1581
|
-
var toStrTags = {};
|
|
1582
|
-
var gOPD = require_getOwnPropertyDescriptor();
|
|
1583
|
-
var getPrototypeOf = Object.getPrototypeOf;
|
|
1584
|
-
if (hasToStringTag && gOPD && getPrototypeOf) {
|
|
1585
|
-
forEach(typedArrays, function(typedArray) {
|
|
1586
|
-
if (typeof g[typedArray] === "function") {
|
|
1587
|
-
var arr = new g[typedArray]();
|
|
1588
|
-
if (Symbol.toStringTag in arr) {
|
|
1589
|
-
var proto = getPrototypeOf(arr);
|
|
1590
|
-
var descriptor = gOPD(proto, Symbol.toStringTag);
|
|
1591
|
-
if (!descriptor) {
|
|
1592
|
-
var superProto = getPrototypeOf(proto);
|
|
1593
|
-
descriptor = gOPD(superProto, Symbol.toStringTag);
|
|
1594
|
-
}
|
|
1595
|
-
toStrTags[typedArray] = descriptor.get;
|
|
1596
|
-
}
|
|
1597
|
-
}
|
|
1598
|
-
});
|
|
1599
|
-
}
|
|
1600
|
-
var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
1601
|
-
var foundName = false;
|
|
1602
|
-
forEach(toStrTags, function(getter, typedArray) {
|
|
1603
|
-
if (!foundName) {
|
|
1604
|
-
try {
|
|
1605
|
-
var name = getter.call(value);
|
|
1606
|
-
if (name === typedArray) {
|
|
1607
|
-
foundName = name;
|
|
1608
|
-
}
|
|
1609
|
-
} catch (e) {
|
|
1610
|
-
}
|
|
1611
|
-
}
|
|
1612
|
-
});
|
|
1613
|
-
return foundName;
|
|
1614
|
-
};
|
|
1615
|
-
var isTypedArray = require_is_typed_array();
|
|
1616
|
-
module.exports = function whichTypedArray(value) {
|
|
1617
|
-
if (!isTypedArray(value)) {
|
|
1618
|
-
return false;
|
|
1619
|
-
}
|
|
1620
|
-
if (!hasToStringTag || !(Symbol.toStringTag in value)) {
|
|
1621
|
-
return $slice($toString(value), 8, -1);
|
|
1622
|
-
}
|
|
1623
|
-
return tryTypedArrays(value);
|
|
1624
|
-
};
|
|
1625
|
-
}
|
|
1626
|
-
});
|
|
1627
|
-
|
|
1628
|
-
// node_modules/.pnpm/is-typed-array@1.1.9/node_modules/is-typed-array/index.js
|
|
1629
|
-
var require_is_typed_array2 = __commonJS({
|
|
1630
|
-
"node_modules/.pnpm/is-typed-array@1.1.9/node_modules/is-typed-array/index.js"(exports, module) {
|
|
1631
|
-
"use strict";
|
|
1632
|
-
var forEach = require_for_each();
|
|
1633
|
-
var availableTypedArrays = require_available_typed_arrays();
|
|
1634
|
-
var callBound = require_callBound2();
|
|
1635
|
-
var $toString = callBound("Object.prototype.toString");
|
|
1636
|
-
var hasToStringTag = require_shams2()();
|
|
1637
|
-
var g = typeof globalThis === "undefined" ? global : globalThis;
|
|
1638
|
-
var typedArrays = availableTypedArrays();
|
|
1639
|
-
var $indexOf = callBound("Array.prototype.indexOf", true) || function indexOf(array, value) {
|
|
1640
|
-
for (var i = 0; i < array.length; i += 1) {
|
|
1641
|
-
if (array[i] === value) {
|
|
1642
|
-
return i;
|
|
1643
|
-
}
|
|
1644
|
-
}
|
|
1645
|
-
return -1;
|
|
1646
|
-
};
|
|
1647
|
-
var $slice = callBound("String.prototype.slice");
|
|
1648
|
-
var toStrTags = {};
|
|
1649
|
-
var gOPD = require_getOwnPropertyDescriptor();
|
|
1650
|
-
var getPrototypeOf = Object.getPrototypeOf;
|
|
1651
|
-
if (hasToStringTag && gOPD && getPrototypeOf) {
|
|
1652
|
-
forEach(typedArrays, function(typedArray) {
|
|
1653
|
-
var arr = new g[typedArray]();
|
|
1654
|
-
if (Symbol.toStringTag in arr) {
|
|
1655
|
-
var proto = getPrototypeOf(arr);
|
|
1656
|
-
var descriptor = gOPD(proto, Symbol.toStringTag);
|
|
1657
|
-
if (!descriptor) {
|
|
1658
|
-
var superProto = getPrototypeOf(proto);
|
|
1659
|
-
descriptor = gOPD(superProto, Symbol.toStringTag);
|
|
1660
|
-
}
|
|
1661
|
-
toStrTags[typedArray] = descriptor.get;
|
|
1662
|
-
}
|
|
1663
|
-
});
|
|
1664
|
-
}
|
|
1665
|
-
var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
1666
|
-
var anyTrue = false;
|
|
1667
|
-
forEach(toStrTags, function(getter, typedArray) {
|
|
1668
|
-
if (!anyTrue) {
|
|
1669
|
-
try {
|
|
1670
|
-
anyTrue = getter.call(value) === typedArray;
|
|
1671
|
-
} catch (e) {
|
|
1672
|
-
}
|
|
1673
|
-
}
|
|
1674
|
-
});
|
|
1675
|
-
return anyTrue;
|
|
1676
|
-
};
|
|
1677
|
-
module.exports = function isTypedArray(value) {
|
|
1678
|
-
if (!value || typeof value !== "object") {
|
|
1679
|
-
return false;
|
|
1680
|
-
}
|
|
1681
|
-
if (!hasToStringTag || !(Symbol.toStringTag in value)) {
|
|
1682
|
-
var tag = $slice($toString(value), 8, -1);
|
|
1683
|
-
return $indexOf(typedArrays, tag) > -1;
|
|
1684
|
-
}
|
|
1685
|
-
if (!gOPD) {
|
|
1686
|
-
return false;
|
|
1687
|
-
}
|
|
1688
|
-
return tryTypedArrays(value);
|
|
1689
|
-
};
|
|
1690
|
-
}
|
|
1691
|
-
});
|
|
1692
|
-
|
|
1693
|
-
// node_modules/.pnpm/util@0.12.5/node_modules/util/support/types.js
|
|
1429
|
+
// ../../../node_modules/.pnpm/util@0.12.5/node_modules/util/support/types.js
|
|
1694
1430
|
var require_types = __commonJS({
|
|
1695
|
-
"node_modules/.pnpm/util@0.12.5/node_modules/util/support/types.js"(exports) {
|
|
1431
|
+
"../../../node_modules/.pnpm/util@0.12.5/node_modules/util/support/types.js"(exports) {
|
|
1696
1432
|
"use strict";
|
|
1697
1433
|
var isArgumentsObject = require_is_arguments();
|
|
1698
1434
|
var isGeneratorFunction = require_is_generator_function();
|
|
1699
|
-
var whichTypedArray =
|
|
1700
|
-
var isTypedArray =
|
|
1435
|
+
var whichTypedArray = require_which_typed_array();
|
|
1436
|
+
var isTypedArray = require_is_typed_array();
|
|
1701
1437
|
function uncurryThis(f) {
|
|
1702
1438
|
return f.call.bind(f);
|
|
1703
1439
|
}
|
|
@@ -1920,18 +1656,18 @@ var require_types = __commonJS({
|
|
|
1920
1656
|
}
|
|
1921
1657
|
});
|
|
1922
1658
|
|
|
1923
|
-
// node_modules/.pnpm/util@0.12.5/node_modules/util/support/isBufferBrowser.js
|
|
1659
|
+
// ../../../node_modules/.pnpm/util@0.12.5/node_modules/util/support/isBufferBrowser.js
|
|
1924
1660
|
var require_isBufferBrowser = __commonJS({
|
|
1925
|
-
"node_modules/.pnpm/util@0.12.5/node_modules/util/support/isBufferBrowser.js"(exports, module) {
|
|
1661
|
+
"../../../node_modules/.pnpm/util@0.12.5/node_modules/util/support/isBufferBrowser.js"(exports, module) {
|
|
1926
1662
|
module.exports = function isBuffer(arg) {
|
|
1927
1663
|
return arg && typeof arg === "object" && typeof arg.copy === "function" && typeof arg.fill === "function" && typeof arg.readUInt8 === "function";
|
|
1928
1664
|
};
|
|
1929
1665
|
}
|
|
1930
1666
|
});
|
|
1931
1667
|
|
|
1932
|
-
// node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js
|
|
1668
|
+
// ../../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js
|
|
1933
1669
|
var require_inherits_browser = __commonJS({
|
|
1934
|
-
"node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js"(exports, module) {
|
|
1670
|
+
"../../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js"(exports, module) {
|
|
1935
1671
|
if (typeof Object.create === "function") {
|
|
1936
1672
|
module.exports = function inherits(ctor, superCtor) {
|
|
1937
1673
|
if (superCtor) {
|
|
@@ -1961,9 +1697,9 @@ var require_inherits_browser = __commonJS({
|
|
|
1961
1697
|
}
|
|
1962
1698
|
});
|
|
1963
1699
|
|
|
1964
|
-
// node_modules/.pnpm/util@0.12.5/node_modules/util/util.js
|
|
1700
|
+
// ../../../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js
|
|
1965
1701
|
var require_util = __commonJS({
|
|
1966
|
-
"node_modules/.pnpm/util@0.12.5/node_modules/util/util.js"(exports) {
|
|
1702
|
+
"../../../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js"(exports) {
|
|
1967
1703
|
var getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors || function getOwnPropertyDescriptors2(obj) {
|
|
1968
1704
|
var keys = Object.keys(obj);
|
|
1969
1705
|
var descriptors = {};
|
|
@@ -2521,10 +2257,9 @@ var require_util = __commonJS({
|
|
|
2521
2257
|
});
|
|
2522
2258
|
|
|
2523
2259
|
export {
|
|
2524
|
-
require_has_property_descriptors,
|
|
2525
2260
|
require_define_data_property,
|
|
2261
|
+
require_has_property_descriptors,
|
|
2526
2262
|
require_call_bind,
|
|
2527
|
-
require_call_bind2,
|
|
2528
2263
|
require_util
|
|
2529
2264
|
};
|
|
2530
|
-
//# sourceMappingURL=chunk-
|
|
2265
|
+
//# sourceMappingURL=chunk-N4SPVTGW.mjs.map
|