@pablopunk/tau 0.0.0-stage → 0.1.1
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/auth-storage-Dk3CUY3q.js +1814 -0
- package/dist/bin.js +23 -0
- package/dist/cli-entry-DcDpQ30L.js +13 -0
- package/dist/client-C91-b2CL.js +1 -0
- package/dist/client-y2WkNuZj.js +7977 -0
- package/dist/dist-BFP19NOO.js +432 -0
- package/dist/dist-Bh1bQHZA.js +38890 -0
- package/dist/dist-Cq73_r65.js +3 -0
- package/dist/esm-CMGh_WhC.js +9446 -0
- package/dist/execute-BeGXhU1O.js +1757 -0
- package/dist/fake-claude-connectors-DSP9UC8d.js +1 -0
- package/dist/fake-claude-connectors-sDLeP10T.js +107 -0
- package/dist/fake-claude-sdk-CvqW_1iQ.js +571 -0
- package/dist/fake-claude-thread-script-2iHHwUZM.js +48 -0
- package/dist/last-exit-write-ksHeHGrC.js +9 -0
- package/dist/latest-version-di9hD7cY.js +106 -0
- package/dist/lib-DIX7q_HJ.js +1460 -0
- package/dist/machines-behind-BjGgmSs_.js +257 -0
- package/dist/main-D-Tg9b5Y.js +1610 -0
- package/dist/manager-B_WHbb1U.js +589 -0
- package/dist/names-cTrEXB6w.js +35 -0
- package/dist/node-BpwblPFP.js +56269 -0
- package/dist/pdfjs-nTcHjDPT.js +69856 -0
- package/dist/photon_rs-DBr7W_rK.js +4252 -0
- package/dist/promise.try-CAAOYvMP.js +1426 -0
- package/dist/readability-DsDNO63a.js +1670 -0
- package/dist/real-deps-f96UmLBz.js +89 -0
- package/dist/rolldown-runtime-1p2KPIdQ.js +44 -0
- package/dist/runtime-i-oEtgAl.js +2721 -0
- package/dist/sdk-missing-CHbVbY1G.js +10 -0
- package/dist/sdk-port-BGw9ORUR.js +215 -0
- package/dist/serve-Cmy0rUWr.js +2932 -0
- package/dist/serve-Dmzn5V0l.js +1 -0
- package/dist/service-command-C74K0saj.js +34 -0
- package/dist/service-command-DqcstJ8e.js +1 -0
- package/dist/shell-CQa4e7rx.js +643 -0
- package/dist/skills/builtin/tau/SKILL.md +51 -0
- package/dist/src-DO9LUlhi.js +44088 -0
- package/dist/streamableHttp-BBaRYV9h.js +1 -0
- package/dist/streamableHttp-DPAoMlJd.js +1931 -0
- package/dist/tool-DBZK2lci.js +14335 -0
- package/dist/tool-server-BjP37EJg.js +40 -0
- package/dist/turndown.cjs-Bo1xLg2S.js +15620 -0
- package/dist/turndown.cjs-jpUF50AR.js +3 -0
- package/dist/types-C4M3CRp2.js +7592 -0
- package/dist/undici-8cI97lnP.js +27110 -0
- package/dist/wait-for-lock-B1Qx8GWg.js +1 -0
- package/dist/wait-for-lock-CrSl2mi1.js +25 -0
- package/dist/watchdog.js +47 -0
- package/dist/web/dist/assets/addon-fit-DIOBYJe3.js +1 -0
- package/dist/web/dist/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2 +0 -0
- package/dist/web/dist/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2 +0 -0
- package/dist/web/dist/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2 +0 -0
- package/dist/web/dist/assets/geist-latin-wght-normal-BgDaEnEv.woff2 +0 -0
- package/dist/web/dist/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2 +0 -0
- package/dist/web/dist/assets/index-BktLKZHR.js +108 -0
- package/dist/web/dist/assets/index-D_Aa3Oou.css +2 -0
- package/dist/web/dist/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2 +0 -0
- package/dist/web/dist/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2 +0 -0
- package/dist/web/dist/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 +0 -0
- package/dist/web/dist/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 +0 -0
- package/dist/web/dist/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2 +0 -0
- package/dist/web/dist/assets/wght-DMLdVLkb.css +1 -0
- package/dist/web/dist/assets/xterm-BrP-ENHg.css +1 -0
- package/dist/web/dist/assets/xterm-CerOhKYV.js +16 -0
- package/dist/web/dist/favicon.svg +14 -0
- package/dist/web/dist/index.html +25 -0
- package/package.json +53 -4
- package/README.md +0 -3
|
@@ -0,0 +1,1426 @@
|
|
|
1
|
+
import { t as __commonJSMin } from "./rolldown-runtime-1p2KPIdQ.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/es-object-atoms@1.1.2/node_modules/es-object-atoms/index.js
|
|
3
|
+
var require_es_object_atoms = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4
|
+
/** @type {import('.')} */
|
|
5
|
+
module.exports = Object;
|
|
6
|
+
}));
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js
|
|
9
|
+
var require_es_errors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10
|
+
/** @type {import('.')} */
|
|
11
|
+
module.exports = Error;
|
|
12
|
+
}));
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js
|
|
15
|
+
var require_eval = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16
|
+
/** @type {import('./eval')} */
|
|
17
|
+
module.exports = EvalError;
|
|
18
|
+
}));
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js
|
|
21
|
+
var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
22
|
+
/** @type {import('./range')} */
|
|
23
|
+
module.exports = RangeError;
|
|
24
|
+
}));
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js
|
|
27
|
+
var require_ref = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
28
|
+
/** @type {import('./ref')} */
|
|
29
|
+
module.exports = ReferenceError;
|
|
30
|
+
}));
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js
|
|
33
|
+
var require_syntax = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34
|
+
/** @type {import('./syntax')} */
|
|
35
|
+
module.exports = SyntaxError;
|
|
36
|
+
}));
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js
|
|
39
|
+
var require_type = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
40
|
+
/** @type {import('./type')} */
|
|
41
|
+
module.exports = TypeError;
|
|
42
|
+
}));
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js
|
|
45
|
+
var require_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
46
|
+
/** @type {import('./uri')} */
|
|
47
|
+
module.exports = URIError;
|
|
48
|
+
}));
|
|
49
|
+
//#endregion
|
|
50
|
+
//#region ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js
|
|
51
|
+
var require_abs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
52
|
+
/** @type {import('./abs')} */
|
|
53
|
+
module.exports = Math.abs;
|
|
54
|
+
}));
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js
|
|
57
|
+
var require_floor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
58
|
+
/** @type {import('./floor')} */
|
|
59
|
+
module.exports = Math.floor;
|
|
60
|
+
}));
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js
|
|
63
|
+
var require_max = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
64
|
+
/** @type {import('./max')} */
|
|
65
|
+
module.exports = Math.max;
|
|
66
|
+
}));
|
|
67
|
+
//#endregion
|
|
68
|
+
//#region ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js
|
|
69
|
+
var require_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
70
|
+
/** @type {import('./min')} */
|
|
71
|
+
module.exports = Math.min;
|
|
72
|
+
}));
|
|
73
|
+
//#endregion
|
|
74
|
+
//#region ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js
|
|
75
|
+
var require_pow = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
76
|
+
/** @type {import('./pow')} */
|
|
77
|
+
module.exports = Math.pow;
|
|
78
|
+
}));
|
|
79
|
+
//#endregion
|
|
80
|
+
//#region ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js
|
|
81
|
+
var require_round = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
82
|
+
/** @type {import('./round')} */
|
|
83
|
+
module.exports = Math.round;
|
|
84
|
+
}));
|
|
85
|
+
//#endregion
|
|
86
|
+
//#region ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js
|
|
87
|
+
var require_isNaN = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
88
|
+
/** @type {import('./isNaN')} */
|
|
89
|
+
module.exports = Number.isNaN || function isNaN(a) {
|
|
90
|
+
return a !== a;
|
|
91
|
+
};
|
|
92
|
+
}));
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js
|
|
95
|
+
var require_sign = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
96
|
+
var $isNaN = require_isNaN();
|
|
97
|
+
/** @type {import('./sign')} */
|
|
98
|
+
module.exports = function sign(number) {
|
|
99
|
+
if ($isNaN(number) || number === 0) return number;
|
|
100
|
+
return number < 0 ? -1 : 1;
|
|
101
|
+
};
|
|
102
|
+
}));
|
|
103
|
+
//#endregion
|
|
104
|
+
//#region ../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js
|
|
105
|
+
var require_gOPD = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
106
|
+
/** @type {import('./gOPD')} */
|
|
107
|
+
module.exports = Object.getOwnPropertyDescriptor;
|
|
108
|
+
}));
|
|
109
|
+
//#endregion
|
|
110
|
+
//#region ../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js
|
|
111
|
+
var require_gopd = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
112
|
+
/** @type {import('.')} */
|
|
113
|
+
var $gOPD = require_gOPD();
|
|
114
|
+
if ($gOPD) try {
|
|
115
|
+
$gOPD([], "length");
|
|
116
|
+
} catch (e) {
|
|
117
|
+
$gOPD = null;
|
|
118
|
+
}
|
|
119
|
+
module.exports = $gOPD;
|
|
120
|
+
}));
|
|
121
|
+
//#endregion
|
|
122
|
+
//#region ../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js
|
|
123
|
+
var require_es_define_property = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
124
|
+
/** @type {import('.')} */
|
|
125
|
+
var $defineProperty = Object.defineProperty || false;
|
|
126
|
+
if ($defineProperty) try {
|
|
127
|
+
$defineProperty({}, "a", { value: 1 });
|
|
128
|
+
} catch (e) {
|
|
129
|
+
$defineProperty = false;
|
|
130
|
+
}
|
|
131
|
+
module.exports = $defineProperty;
|
|
132
|
+
}));
|
|
133
|
+
//#endregion
|
|
134
|
+
//#region ../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js
|
|
135
|
+
var require_shams = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
136
|
+
/** @type {import('./shams')} */
|
|
137
|
+
module.exports = function hasSymbols() {
|
|
138
|
+
if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") return false;
|
|
139
|
+
if (typeof Symbol.iterator === "symbol") return true;
|
|
140
|
+
/** @type {{ [k in symbol]?: unknown }} */
|
|
141
|
+
var obj = {};
|
|
142
|
+
var sym = Symbol("test");
|
|
143
|
+
var symObj = Object(sym);
|
|
144
|
+
if (typeof sym === "string") return false;
|
|
145
|
+
if (Object.prototype.toString.call(sym) !== "[object Symbol]") return false;
|
|
146
|
+
if (Object.prototype.toString.call(symObj) !== "[object Symbol]") return false;
|
|
147
|
+
var symVal = 42;
|
|
148
|
+
obj[sym] = symVal;
|
|
149
|
+
for (var _ in obj) return false;
|
|
150
|
+
if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) return false;
|
|
151
|
+
if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) return false;
|
|
152
|
+
var syms = Object.getOwnPropertySymbols(obj);
|
|
153
|
+
if (syms.length !== 1 || syms[0] !== sym) return false;
|
|
154
|
+
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) return false;
|
|
155
|
+
if (typeof Object.getOwnPropertyDescriptor === "function") {
|
|
156
|
+
var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
|
|
157
|
+
if (descriptor.value !== symVal || descriptor.enumerable !== true) return false;
|
|
158
|
+
}
|
|
159
|
+
return true;
|
|
160
|
+
};
|
|
161
|
+
}));
|
|
162
|
+
//#endregion
|
|
163
|
+
//#region ../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js
|
|
164
|
+
var require_has_symbols = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
165
|
+
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
166
|
+
var hasSymbolSham = require_shams();
|
|
167
|
+
/** @type {import('.')} */
|
|
168
|
+
module.exports = function hasNativeSymbols() {
|
|
169
|
+
if (typeof origSymbol !== "function") return false;
|
|
170
|
+
if (typeof Symbol !== "function") return false;
|
|
171
|
+
if (typeof origSymbol("foo") !== "symbol") return false;
|
|
172
|
+
if (typeof Symbol("bar") !== "symbol") return false;
|
|
173
|
+
return hasSymbolSham();
|
|
174
|
+
};
|
|
175
|
+
}));
|
|
176
|
+
//#endregion
|
|
177
|
+
//#region ../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js
|
|
178
|
+
var require_Reflect_getPrototypeOf = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
179
|
+
/** @type {import('./Reflect.getPrototypeOf')} */
|
|
180
|
+
module.exports = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
|
|
181
|
+
}));
|
|
182
|
+
//#endregion
|
|
183
|
+
//#region ../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js
|
|
184
|
+
var require_Object_getPrototypeOf = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
185
|
+
/** @type {import('./Object.getPrototypeOf')} */
|
|
186
|
+
module.exports = require_es_object_atoms().getPrototypeOf || null;
|
|
187
|
+
}));
|
|
188
|
+
//#endregion
|
|
189
|
+
//#region ../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js
|
|
190
|
+
var require_implementation$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
191
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
192
|
+
var toStr = Object.prototype.toString;
|
|
193
|
+
var max = Math.max;
|
|
194
|
+
var funcType = "[object Function]";
|
|
195
|
+
var concatty = function concatty(a, b) {
|
|
196
|
+
var arr = [];
|
|
197
|
+
for (var i = 0; i < a.length; i += 1) arr[i] = a[i];
|
|
198
|
+
for (var j = 0; j < b.length; j += 1) arr[j + a.length] = b[j];
|
|
199
|
+
return arr;
|
|
200
|
+
};
|
|
201
|
+
var slicy = function slicy(arrLike, offset) {
|
|
202
|
+
var arr = [];
|
|
203
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) arr[j] = arrLike[i];
|
|
204
|
+
return arr;
|
|
205
|
+
};
|
|
206
|
+
var joiny = function(arr, joiner) {
|
|
207
|
+
var str = "";
|
|
208
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
209
|
+
str += arr[i];
|
|
210
|
+
if (i + 1 < arr.length) str += joiner;
|
|
211
|
+
}
|
|
212
|
+
return str;
|
|
213
|
+
};
|
|
214
|
+
module.exports = function bind(that) {
|
|
215
|
+
var target = this;
|
|
216
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) throw new TypeError(ERROR_MESSAGE + target);
|
|
217
|
+
var args = slicy(arguments, 1);
|
|
218
|
+
var bound;
|
|
219
|
+
var binder = function() {
|
|
220
|
+
if (this instanceof bound) {
|
|
221
|
+
var result = target.apply(this, concatty(args, arguments));
|
|
222
|
+
if (Object(result) === result) return result;
|
|
223
|
+
return this;
|
|
224
|
+
}
|
|
225
|
+
return target.apply(that, concatty(args, arguments));
|
|
226
|
+
};
|
|
227
|
+
var boundLength = max(0, target.length - args.length);
|
|
228
|
+
var boundArgs = [];
|
|
229
|
+
for (var i = 0; i < boundLength; i++) boundArgs[i] = "$" + i;
|
|
230
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
231
|
+
if (target.prototype) {
|
|
232
|
+
var Empty = function Empty() {};
|
|
233
|
+
Empty.prototype = target.prototype;
|
|
234
|
+
bound.prototype = new Empty();
|
|
235
|
+
Empty.prototype = null;
|
|
236
|
+
}
|
|
237
|
+
return bound;
|
|
238
|
+
};
|
|
239
|
+
}));
|
|
240
|
+
//#endregion
|
|
241
|
+
//#region ../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js
|
|
242
|
+
var require_function_bind = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
243
|
+
var implementation = require_implementation$2();
|
|
244
|
+
module.exports = Function.prototype.bind || implementation;
|
|
245
|
+
}));
|
|
246
|
+
//#endregion
|
|
247
|
+
//#region ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js
|
|
248
|
+
var require_functionCall = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
249
|
+
/** @type {import('./functionCall')} */
|
|
250
|
+
module.exports = Function.prototype.call;
|
|
251
|
+
}));
|
|
252
|
+
//#endregion
|
|
253
|
+
//#region ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js
|
|
254
|
+
var require_functionApply = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
255
|
+
/** @type {import('./functionApply')} */
|
|
256
|
+
module.exports = Function.prototype.apply;
|
|
257
|
+
}));
|
|
258
|
+
//#endregion
|
|
259
|
+
//#region ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js
|
|
260
|
+
var require_reflectApply = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
261
|
+
/** @type {import('./reflectApply')} */
|
|
262
|
+
module.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
263
|
+
}));
|
|
264
|
+
//#endregion
|
|
265
|
+
//#region ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js
|
|
266
|
+
var require_actualApply = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
267
|
+
var bind = require_function_bind();
|
|
268
|
+
var $apply = require_functionApply();
|
|
269
|
+
var $call = require_functionCall();
|
|
270
|
+
/** @type {import('./actualApply')} */
|
|
271
|
+
module.exports = require_reflectApply() || bind.call($call, $apply);
|
|
272
|
+
}));
|
|
273
|
+
//#endregion
|
|
274
|
+
//#region ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js
|
|
275
|
+
var require_call_bind_apply_helpers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
276
|
+
var bind = require_function_bind();
|
|
277
|
+
var $TypeError = require_type();
|
|
278
|
+
var $call = require_functionCall();
|
|
279
|
+
var $actualApply = require_actualApply();
|
|
280
|
+
/** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */
|
|
281
|
+
module.exports = function callBindBasic(args) {
|
|
282
|
+
if (args.length < 1 || typeof args[0] !== "function") throw new $TypeError("a function is required");
|
|
283
|
+
return $actualApply(bind, $call, args);
|
|
284
|
+
};
|
|
285
|
+
}));
|
|
286
|
+
//#endregion
|
|
287
|
+
//#region ../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js
|
|
288
|
+
var require_get = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
289
|
+
var callBind = require_call_bind_apply_helpers();
|
|
290
|
+
var gOPD = require_gopd();
|
|
291
|
+
var hasProtoAccessor;
|
|
292
|
+
try {
|
|
293
|
+
hasProtoAccessor = [].__proto__ === Array.prototype;
|
|
294
|
+
} catch (e) {
|
|
295
|
+
if (!e || typeof e !== "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") throw e;
|
|
296
|
+
}
|
|
297
|
+
var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, "__proto__");
|
|
298
|
+
var $Object = Object;
|
|
299
|
+
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
300
|
+
/** @type {import('./get')} */
|
|
301
|
+
module.exports = desc && typeof desc.get === "function" ? callBind([desc.get]) : typeof $getPrototypeOf === "function" ? function getDunder(value) {
|
|
302
|
+
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
303
|
+
} : false;
|
|
304
|
+
}));
|
|
305
|
+
//#endregion
|
|
306
|
+
//#region ../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js
|
|
307
|
+
var require_get_proto = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
308
|
+
var reflectGetProto = require_Reflect_getPrototypeOf();
|
|
309
|
+
var originalGetProto = require_Object_getPrototypeOf();
|
|
310
|
+
var getDunderProto = require_get();
|
|
311
|
+
/** @type {import('.')} */
|
|
312
|
+
module.exports = reflectGetProto ? function getProto(O) {
|
|
313
|
+
return reflectGetProto(O);
|
|
314
|
+
} : originalGetProto ? function getProto(O) {
|
|
315
|
+
if (!O || typeof O !== "object" && typeof O !== "function") throw new TypeError("getProto: not an object");
|
|
316
|
+
return originalGetProto(O);
|
|
317
|
+
} : getDunderProto ? function getProto(O) {
|
|
318
|
+
return getDunderProto(O);
|
|
319
|
+
} : null;
|
|
320
|
+
}));
|
|
321
|
+
//#endregion
|
|
322
|
+
//#region ../../node_modules/.pnpm/hasown@2.0.4/node_modules/hasown/index.js
|
|
323
|
+
var require_hasown = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
324
|
+
var call = Function.prototype.call;
|
|
325
|
+
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
326
|
+
/** @type {import('.')} */
|
|
327
|
+
module.exports = require_function_bind().call(call, $hasOwn);
|
|
328
|
+
}));
|
|
329
|
+
//#endregion
|
|
330
|
+
//#region ../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js
|
|
331
|
+
var require_get_intrinsic = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
332
|
+
var undefined;
|
|
333
|
+
var $Object = require_es_object_atoms();
|
|
334
|
+
var $Error = require_es_errors();
|
|
335
|
+
var $EvalError = require_eval();
|
|
336
|
+
var $RangeError = require_range();
|
|
337
|
+
var $ReferenceError = require_ref();
|
|
338
|
+
var $SyntaxError = require_syntax();
|
|
339
|
+
var $TypeError = require_type();
|
|
340
|
+
var $URIError = require_uri();
|
|
341
|
+
var abs = require_abs();
|
|
342
|
+
var floor = require_floor();
|
|
343
|
+
var max = require_max();
|
|
344
|
+
var min = require_min();
|
|
345
|
+
var pow = require_pow();
|
|
346
|
+
var round = require_round();
|
|
347
|
+
var sign = require_sign();
|
|
348
|
+
var $Function = Function;
|
|
349
|
+
var getEvalledConstructor = function(expressionSyntax) {
|
|
350
|
+
try {
|
|
351
|
+
return $Function("\"use strict\"; return (" + expressionSyntax + ").constructor;")();
|
|
352
|
+
} catch (e) {}
|
|
353
|
+
};
|
|
354
|
+
var $gOPD = require_gopd();
|
|
355
|
+
var $defineProperty = require_es_define_property();
|
|
356
|
+
var throwTypeError = function() {
|
|
357
|
+
throw new $TypeError();
|
|
358
|
+
};
|
|
359
|
+
var ThrowTypeError = $gOPD ? function() {
|
|
360
|
+
try {
|
|
361
|
+
arguments.callee;
|
|
362
|
+
return throwTypeError;
|
|
363
|
+
} catch (calleeThrows) {
|
|
364
|
+
try {
|
|
365
|
+
return $gOPD(arguments, "callee").get;
|
|
366
|
+
} catch (gOPDthrows) {
|
|
367
|
+
return throwTypeError;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
}() : throwTypeError;
|
|
371
|
+
var hasSymbols = require_has_symbols()();
|
|
372
|
+
var getProto = require_get_proto();
|
|
373
|
+
var $ObjectGPO = require_Object_getPrototypeOf();
|
|
374
|
+
var $ReflectGPO = require_Reflect_getPrototypeOf();
|
|
375
|
+
var $apply = require_functionApply();
|
|
376
|
+
var $call = require_functionCall();
|
|
377
|
+
var needsEval = {};
|
|
378
|
+
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined : getProto(Uint8Array);
|
|
379
|
+
var INTRINSICS = {
|
|
380
|
+
__proto__: null,
|
|
381
|
+
"%AggregateError%": typeof AggregateError === "undefined" ? undefined : AggregateError,
|
|
382
|
+
"%Array%": Array,
|
|
383
|
+
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined : ArrayBuffer,
|
|
384
|
+
"%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
|
|
385
|
+
"%AsyncFromSyncIteratorPrototype%": undefined,
|
|
386
|
+
"%AsyncFunction%": needsEval,
|
|
387
|
+
"%AsyncGenerator%": needsEval,
|
|
388
|
+
"%AsyncGeneratorFunction%": needsEval,
|
|
389
|
+
"%AsyncIteratorPrototype%": needsEval,
|
|
390
|
+
"%Atomics%": typeof Atomics === "undefined" ? undefined : Atomics,
|
|
391
|
+
"%BigInt%": typeof BigInt === "undefined" ? undefined : BigInt,
|
|
392
|
+
"%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined : BigInt64Array,
|
|
393
|
+
"%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined : BigUint64Array,
|
|
394
|
+
"%Boolean%": Boolean,
|
|
395
|
+
"%DataView%": typeof DataView === "undefined" ? undefined : DataView,
|
|
396
|
+
"%Date%": Date,
|
|
397
|
+
"%decodeURI%": decodeURI,
|
|
398
|
+
"%decodeURIComponent%": decodeURIComponent,
|
|
399
|
+
"%encodeURI%": encodeURI,
|
|
400
|
+
"%encodeURIComponent%": encodeURIComponent,
|
|
401
|
+
"%Error%": $Error,
|
|
402
|
+
"%eval%": eval,
|
|
403
|
+
"%EvalError%": $EvalError,
|
|
404
|
+
"%Float16Array%": typeof Float16Array === "undefined" ? undefined : Float16Array,
|
|
405
|
+
"%Float32Array%": typeof Float32Array === "undefined" ? undefined : Float32Array,
|
|
406
|
+
"%Float64Array%": typeof Float64Array === "undefined" ? undefined : Float64Array,
|
|
407
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined : FinalizationRegistry,
|
|
408
|
+
"%Function%": $Function,
|
|
409
|
+
"%GeneratorFunction%": needsEval,
|
|
410
|
+
"%Int8Array%": typeof Int8Array === "undefined" ? undefined : Int8Array,
|
|
411
|
+
"%Int16Array%": typeof Int16Array === "undefined" ? undefined : Int16Array,
|
|
412
|
+
"%Int32Array%": typeof Int32Array === "undefined" ? undefined : Int32Array,
|
|
413
|
+
"%isFinite%": isFinite,
|
|
414
|
+
"%isNaN%": isNaN,
|
|
415
|
+
"%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
416
|
+
"%JSON%": typeof JSON === "object" ? JSON : undefined,
|
|
417
|
+
"%Map%": typeof Map === "undefined" ? undefined : Map,
|
|
418
|
+
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
419
|
+
"%Math%": Math,
|
|
420
|
+
"%Number%": Number,
|
|
421
|
+
"%Object%": $Object,
|
|
422
|
+
"%Object.getOwnPropertyDescriptor%": $gOPD,
|
|
423
|
+
"%parseFloat%": parseFloat,
|
|
424
|
+
"%parseInt%": parseInt,
|
|
425
|
+
"%Promise%": typeof Promise === "undefined" ? undefined : Promise,
|
|
426
|
+
"%Proxy%": typeof Proxy === "undefined" ? undefined : Proxy,
|
|
427
|
+
"%RangeError%": $RangeError,
|
|
428
|
+
"%ReferenceError%": $ReferenceError,
|
|
429
|
+
"%Reflect%": typeof Reflect === "undefined" ? undefined : Reflect,
|
|
430
|
+
"%RegExp%": RegExp,
|
|
431
|
+
"%Set%": typeof Set === "undefined" ? undefined : Set,
|
|
432
|
+
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
433
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined : SharedArrayBuffer,
|
|
434
|
+
"%String%": String,
|
|
435
|
+
"%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined,
|
|
436
|
+
"%Symbol%": hasSymbols ? Symbol : undefined,
|
|
437
|
+
"%SyntaxError%": $SyntaxError,
|
|
438
|
+
"%ThrowTypeError%": ThrowTypeError,
|
|
439
|
+
"%TypedArray%": TypedArray,
|
|
440
|
+
"%TypeError%": $TypeError,
|
|
441
|
+
"%Uint8Array%": typeof Uint8Array === "undefined" ? undefined : Uint8Array,
|
|
442
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined : Uint8ClampedArray,
|
|
443
|
+
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined : Uint16Array,
|
|
444
|
+
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined : Uint32Array,
|
|
445
|
+
"%URIError%": $URIError,
|
|
446
|
+
"%WeakMap%": typeof WeakMap === "undefined" ? undefined : WeakMap,
|
|
447
|
+
"%WeakRef%": typeof WeakRef === "undefined" ? undefined : WeakRef,
|
|
448
|
+
"%WeakSet%": typeof WeakSet === "undefined" ? undefined : WeakSet,
|
|
449
|
+
"%Function.prototype.call%": $call,
|
|
450
|
+
"%Function.prototype.apply%": $apply,
|
|
451
|
+
"%Object.defineProperty%": $defineProperty,
|
|
452
|
+
"%Object.getPrototypeOf%": $ObjectGPO,
|
|
453
|
+
"%Math.abs%": abs,
|
|
454
|
+
"%Math.floor%": floor,
|
|
455
|
+
"%Math.max%": max,
|
|
456
|
+
"%Math.min%": min,
|
|
457
|
+
"%Math.pow%": pow,
|
|
458
|
+
"%Math.round%": round,
|
|
459
|
+
"%Math.sign%": sign,
|
|
460
|
+
"%Reflect.getPrototypeOf%": $ReflectGPO
|
|
461
|
+
};
|
|
462
|
+
if (getProto) try {
|
|
463
|
+
null.error;
|
|
464
|
+
} catch (e) {
|
|
465
|
+
INTRINSICS["%Error.prototype%"] = getProto(getProto(e));
|
|
466
|
+
}
|
|
467
|
+
var doEval = function doEval(name) {
|
|
468
|
+
var value;
|
|
469
|
+
if (name === "%AsyncFunction%") value = getEvalledConstructor("async function () {}");
|
|
470
|
+
else if (name === "%GeneratorFunction%") value = getEvalledConstructor("function* () {}");
|
|
471
|
+
else if (name === "%AsyncGeneratorFunction%") value = getEvalledConstructor("async function* () {}");
|
|
472
|
+
else if (name === "%AsyncGenerator%") {
|
|
473
|
+
var fn = doEval("%AsyncGeneratorFunction%");
|
|
474
|
+
if (fn) value = fn.prototype;
|
|
475
|
+
} else if (name === "%AsyncIteratorPrototype%") {
|
|
476
|
+
var gen = doEval("%AsyncGenerator%");
|
|
477
|
+
if (gen && getProto) value = getProto(gen.prototype);
|
|
478
|
+
}
|
|
479
|
+
INTRINSICS[name] = value;
|
|
480
|
+
return value;
|
|
481
|
+
};
|
|
482
|
+
var LEGACY_ALIASES = {
|
|
483
|
+
__proto__: null,
|
|
484
|
+
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
485
|
+
"%ArrayPrototype%": ["Array", "prototype"],
|
|
486
|
+
"%ArrayProto_entries%": [
|
|
487
|
+
"Array",
|
|
488
|
+
"prototype",
|
|
489
|
+
"entries"
|
|
490
|
+
],
|
|
491
|
+
"%ArrayProto_forEach%": [
|
|
492
|
+
"Array",
|
|
493
|
+
"prototype",
|
|
494
|
+
"forEach"
|
|
495
|
+
],
|
|
496
|
+
"%ArrayProto_keys%": [
|
|
497
|
+
"Array",
|
|
498
|
+
"prototype",
|
|
499
|
+
"keys"
|
|
500
|
+
],
|
|
501
|
+
"%ArrayProto_values%": [
|
|
502
|
+
"Array",
|
|
503
|
+
"prototype",
|
|
504
|
+
"values"
|
|
505
|
+
],
|
|
506
|
+
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
507
|
+
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
508
|
+
"%AsyncGeneratorPrototype%": [
|
|
509
|
+
"AsyncGeneratorFunction",
|
|
510
|
+
"prototype",
|
|
511
|
+
"prototype"
|
|
512
|
+
],
|
|
513
|
+
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
514
|
+
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
515
|
+
"%DatePrototype%": ["Date", "prototype"],
|
|
516
|
+
"%ErrorPrototype%": ["Error", "prototype"],
|
|
517
|
+
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
518
|
+
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
519
|
+
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
520
|
+
"%FunctionPrototype%": ["Function", "prototype"],
|
|
521
|
+
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
522
|
+
"%GeneratorPrototype%": [
|
|
523
|
+
"GeneratorFunction",
|
|
524
|
+
"prototype",
|
|
525
|
+
"prototype"
|
|
526
|
+
],
|
|
527
|
+
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
528
|
+
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
529
|
+
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
530
|
+
"%JSONParse%": ["JSON", "parse"],
|
|
531
|
+
"%JSONStringify%": ["JSON", "stringify"],
|
|
532
|
+
"%MapPrototype%": ["Map", "prototype"],
|
|
533
|
+
"%NumberPrototype%": ["Number", "prototype"],
|
|
534
|
+
"%ObjectPrototype%": ["Object", "prototype"],
|
|
535
|
+
"%ObjProto_toString%": [
|
|
536
|
+
"Object",
|
|
537
|
+
"prototype",
|
|
538
|
+
"toString"
|
|
539
|
+
],
|
|
540
|
+
"%ObjProto_valueOf%": [
|
|
541
|
+
"Object",
|
|
542
|
+
"prototype",
|
|
543
|
+
"valueOf"
|
|
544
|
+
],
|
|
545
|
+
"%PromisePrototype%": ["Promise", "prototype"],
|
|
546
|
+
"%PromiseProto_then%": [
|
|
547
|
+
"Promise",
|
|
548
|
+
"prototype",
|
|
549
|
+
"then"
|
|
550
|
+
],
|
|
551
|
+
"%Promise_all%": ["Promise", "all"],
|
|
552
|
+
"%Promise_reject%": ["Promise", "reject"],
|
|
553
|
+
"%Promise_resolve%": ["Promise", "resolve"],
|
|
554
|
+
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
555
|
+
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
556
|
+
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
557
|
+
"%SetPrototype%": ["Set", "prototype"],
|
|
558
|
+
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
559
|
+
"%StringPrototype%": ["String", "prototype"],
|
|
560
|
+
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
561
|
+
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
562
|
+
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
563
|
+
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
564
|
+
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
565
|
+
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
566
|
+
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
567
|
+
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
568
|
+
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
569
|
+
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
570
|
+
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
571
|
+
};
|
|
572
|
+
var bind = require_function_bind();
|
|
573
|
+
var hasOwn = require_hasown();
|
|
574
|
+
var $concat = bind.call($call, Array.prototype.concat);
|
|
575
|
+
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
576
|
+
var $replace = bind.call($call, String.prototype.replace);
|
|
577
|
+
var $strSlice = bind.call($call, String.prototype.slice);
|
|
578
|
+
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
579
|
+
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
580
|
+
var reEscapeChar = /\\(\\)?/g;
|
|
581
|
+
var stringToPath = function stringToPath(string) {
|
|
582
|
+
var first = $strSlice(string, 0, 1);
|
|
583
|
+
var last = $strSlice(string, -1);
|
|
584
|
+
if (first === "%" && last !== "%") throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
|
|
585
|
+
else if (last === "%" && first !== "%") throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
|
|
586
|
+
var result = [];
|
|
587
|
+
$replace(string, rePropName, function(match, number, quote, subString) {
|
|
588
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
|
|
589
|
+
});
|
|
590
|
+
return result;
|
|
591
|
+
};
|
|
592
|
+
var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
|
|
593
|
+
var intrinsicName = name;
|
|
594
|
+
var alias;
|
|
595
|
+
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
596
|
+
alias = LEGACY_ALIASES[intrinsicName];
|
|
597
|
+
intrinsicName = "%" + alias[0] + "%";
|
|
598
|
+
}
|
|
599
|
+
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
600
|
+
var value = INTRINSICS[intrinsicName];
|
|
601
|
+
if (value === needsEval) value = doEval(intrinsicName);
|
|
602
|
+
if (typeof value === "undefined" && !allowMissing) throw new $TypeError("intrinsic " + name + " exists, but is not available. Please file an issue!");
|
|
603
|
+
return {
|
|
604
|
+
alias,
|
|
605
|
+
name: intrinsicName,
|
|
606
|
+
value
|
|
607
|
+
};
|
|
608
|
+
}
|
|
609
|
+
throw new $SyntaxError("intrinsic " + name + " does not exist!");
|
|
610
|
+
};
|
|
611
|
+
module.exports = function GetIntrinsic(name, allowMissing) {
|
|
612
|
+
if (typeof name !== "string" || name.length === 0) throw new $TypeError("intrinsic name must be a non-empty string");
|
|
613
|
+
if (arguments.length > 1 && typeof allowMissing !== "boolean") throw new $TypeError("\"allowMissing\" argument must be a boolean");
|
|
614
|
+
if ($exec(/^%?[^%]*%?$/, name) === null) throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
615
|
+
var parts = stringToPath(name);
|
|
616
|
+
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
617
|
+
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
618
|
+
var intrinsicRealName = intrinsic.name;
|
|
619
|
+
var value = intrinsic.value;
|
|
620
|
+
var skipFurtherCaching = false;
|
|
621
|
+
var alias = intrinsic.alias;
|
|
622
|
+
if (alias) {
|
|
623
|
+
intrinsicBaseName = alias[0];
|
|
624
|
+
$spliceApply(parts, $concat([0, 1], alias));
|
|
625
|
+
}
|
|
626
|
+
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
627
|
+
var part = parts[i];
|
|
628
|
+
var first = $strSlice(part, 0, 1);
|
|
629
|
+
var last = $strSlice(part, -1);
|
|
630
|
+
if ((first === "\"" || first === "'" || first === "`" || last === "\"" || last === "'" || last === "`") && first !== last) throw new $SyntaxError("property names with quotes must have matching quotes");
|
|
631
|
+
if (part === "constructor" || !isOwn) skipFurtherCaching = true;
|
|
632
|
+
intrinsicBaseName += "." + part;
|
|
633
|
+
intrinsicRealName = "%" + intrinsicBaseName + "%";
|
|
634
|
+
if (hasOwn(INTRINSICS, intrinsicRealName)) value = INTRINSICS[intrinsicRealName];
|
|
635
|
+
else if (value != null) {
|
|
636
|
+
if (!(part in value)) {
|
|
637
|
+
if (!allowMissing) throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
|
|
638
|
+
return;
|
|
639
|
+
}
|
|
640
|
+
if ($gOPD && i + 1 >= parts.length) {
|
|
641
|
+
var desc = $gOPD(value, part);
|
|
642
|
+
isOwn = !!desc;
|
|
643
|
+
if (isOwn && "get" in desc && !("originalValue" in desc.get)) value = desc.get;
|
|
644
|
+
else value = value[part];
|
|
645
|
+
} else {
|
|
646
|
+
isOwn = hasOwn(value, part);
|
|
647
|
+
value = value[part];
|
|
648
|
+
}
|
|
649
|
+
if (isOwn && !skipFurtherCaching) INTRINSICS[intrinsicRealName] = value;
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
return value;
|
|
653
|
+
};
|
|
654
|
+
}));
|
|
655
|
+
//#endregion
|
|
656
|
+
//#region ../../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js
|
|
657
|
+
var require_define_data_property = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
658
|
+
var $defineProperty = require_es_define_property();
|
|
659
|
+
var $SyntaxError = require_syntax();
|
|
660
|
+
var $TypeError = require_type();
|
|
661
|
+
var gopd = require_gopd();
|
|
662
|
+
/** @type {import('.')} */
|
|
663
|
+
module.exports = function defineDataProperty(obj, property, value) {
|
|
664
|
+
if (!obj || typeof obj !== "object" && typeof obj !== "function") throw new $TypeError("`obj` must be an object or a function`");
|
|
665
|
+
if (typeof property !== "string" && typeof property !== "symbol") throw new $TypeError("`property` must be a string or a symbol`");
|
|
666
|
+
if (arguments.length > 3 && typeof arguments[3] !== "boolean" && arguments[3] !== null) throw new $TypeError("`nonEnumerable`, if provided, must be a boolean or null");
|
|
667
|
+
if (arguments.length > 4 && typeof arguments[4] !== "boolean" && arguments[4] !== null) throw new $TypeError("`nonWritable`, if provided, must be a boolean or null");
|
|
668
|
+
if (arguments.length > 5 && typeof arguments[5] !== "boolean" && arguments[5] !== null) throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null");
|
|
669
|
+
if (arguments.length > 6 && typeof arguments[6] !== "boolean") throw new $TypeError("`loose`, if provided, must be a boolean");
|
|
670
|
+
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
671
|
+
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
672
|
+
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
673
|
+
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
674
|
+
var desc = !!gopd && gopd(obj, property);
|
|
675
|
+
if ($defineProperty) $defineProperty(obj, property, {
|
|
676
|
+
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
677
|
+
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
678
|
+
value,
|
|
679
|
+
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
680
|
+
});
|
|
681
|
+
else if (loose || !nonEnumerable && !nonWritable && !nonConfigurable) obj[property] = value;
|
|
682
|
+
else throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
683
|
+
};
|
|
684
|
+
}));
|
|
685
|
+
//#endregion
|
|
686
|
+
//#region ../../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js
|
|
687
|
+
var require_has_property_descriptors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
688
|
+
var $defineProperty = require_es_define_property();
|
|
689
|
+
var hasPropertyDescriptors = function hasPropertyDescriptors() {
|
|
690
|
+
return !!$defineProperty;
|
|
691
|
+
};
|
|
692
|
+
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
693
|
+
if (!$defineProperty) return null;
|
|
694
|
+
try {
|
|
695
|
+
return $defineProperty([], "length", { value: 1 }).length !== 1;
|
|
696
|
+
} catch (e) {
|
|
697
|
+
return true;
|
|
698
|
+
}
|
|
699
|
+
};
|
|
700
|
+
module.exports = hasPropertyDescriptors;
|
|
701
|
+
}));
|
|
702
|
+
//#endregion
|
|
703
|
+
//#region ../../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js
|
|
704
|
+
var require_set_function_length = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
705
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
706
|
+
var define = require_define_data_property();
|
|
707
|
+
var hasDescriptors = require_has_property_descriptors()();
|
|
708
|
+
var gOPD = require_gopd();
|
|
709
|
+
var $TypeError = require_type();
|
|
710
|
+
var $floor = GetIntrinsic("%Math.floor%");
|
|
711
|
+
/** @type {import('.')} */
|
|
712
|
+
module.exports = function setFunctionLength(fn, length) {
|
|
713
|
+
if (typeof fn !== "function") throw new $TypeError("`fn` is not a function");
|
|
714
|
+
if (typeof length !== "number" || length < 0 || length > 4294967295 || $floor(length) !== length) throw new $TypeError("`length` must be a positive 32-bit integer");
|
|
715
|
+
var loose = arguments.length > 2 && !!arguments[2];
|
|
716
|
+
var functionLengthIsConfigurable = true;
|
|
717
|
+
var functionLengthIsWritable = true;
|
|
718
|
+
if ("length" in fn && gOPD) {
|
|
719
|
+
var desc = gOPD(fn, "length");
|
|
720
|
+
if (desc && !desc.configurable) functionLengthIsConfigurable = false;
|
|
721
|
+
if (desc && !desc.writable) functionLengthIsWritable = false;
|
|
722
|
+
}
|
|
723
|
+
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
724
|
+
if (hasDescriptors) define(fn, "length", length, true, true);
|
|
725
|
+
else define(fn, "length", length);
|
|
726
|
+
}
|
|
727
|
+
return fn;
|
|
728
|
+
};
|
|
729
|
+
}));
|
|
730
|
+
//#endregion
|
|
731
|
+
//#region ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/applyBind.js
|
|
732
|
+
var require_applyBind = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
733
|
+
var bind = require_function_bind();
|
|
734
|
+
var $apply = require_functionApply();
|
|
735
|
+
var actualApply = require_actualApply();
|
|
736
|
+
/** @type {import('./applyBind')} */
|
|
737
|
+
module.exports = function applyBind() {
|
|
738
|
+
return actualApply(bind, $apply, arguments);
|
|
739
|
+
};
|
|
740
|
+
}));
|
|
741
|
+
//#endregion
|
|
742
|
+
//#region ../../node_modules/.pnpm/call-bind@1.0.9/node_modules/call-bind/index.js
|
|
743
|
+
var require_call_bind = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
744
|
+
var setFunctionLength = require_set_function_length();
|
|
745
|
+
var $defineProperty = require_es_define_property();
|
|
746
|
+
var callBindBasic = require_call_bind_apply_helpers();
|
|
747
|
+
var applyBind = require_applyBind();
|
|
748
|
+
module.exports = function callBind(originalFunction) {
|
|
749
|
+
var func = callBindBasic(arguments);
|
|
750
|
+
var adjustedLength = 1 + originalFunction.length - (arguments.length - 1);
|
|
751
|
+
return setFunctionLength(func, adjustedLength > 0 ? adjustedLength : 0, true);
|
|
752
|
+
};
|
|
753
|
+
if ($defineProperty) $defineProperty(module.exports, "apply", { value: applyBind });
|
|
754
|
+
else module.exports.apply = applyBind;
|
|
755
|
+
}));
|
|
756
|
+
//#endregion
|
|
757
|
+
//#region ../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/isArguments.js
|
|
758
|
+
var require_isArguments = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
759
|
+
var toStr = Object.prototype.toString;
|
|
760
|
+
module.exports = function isArguments(value) {
|
|
761
|
+
var str = toStr.call(value);
|
|
762
|
+
var isArgs = str === "[object Arguments]";
|
|
763
|
+
if (!isArgs) isArgs = str !== "[object Array]" && value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && toStr.call(value.callee) === "[object Function]";
|
|
764
|
+
return isArgs;
|
|
765
|
+
};
|
|
766
|
+
}));
|
|
767
|
+
//#endregion
|
|
768
|
+
//#region ../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/implementation.js
|
|
769
|
+
var require_implementation$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
770
|
+
var keysShim;
|
|
771
|
+
if (!Object.keys) {
|
|
772
|
+
var has = Object.prototype.hasOwnProperty;
|
|
773
|
+
var toStr = Object.prototype.toString;
|
|
774
|
+
var isArgs = require_isArguments();
|
|
775
|
+
var isEnumerable = Object.prototype.propertyIsEnumerable;
|
|
776
|
+
var hasDontEnumBug = !isEnumerable.call({ toString: null }, "toString");
|
|
777
|
+
var hasProtoEnumBug = isEnumerable.call(function() {}, "prototype");
|
|
778
|
+
var dontEnums = [
|
|
779
|
+
"toString",
|
|
780
|
+
"toLocaleString",
|
|
781
|
+
"valueOf",
|
|
782
|
+
"hasOwnProperty",
|
|
783
|
+
"isPrototypeOf",
|
|
784
|
+
"propertyIsEnumerable",
|
|
785
|
+
"constructor"
|
|
786
|
+
];
|
|
787
|
+
var equalsConstructorPrototype = function(o) {
|
|
788
|
+
var ctor = o.constructor;
|
|
789
|
+
return ctor && ctor.prototype === o;
|
|
790
|
+
};
|
|
791
|
+
var excludedKeys = {
|
|
792
|
+
$applicationCache: true,
|
|
793
|
+
$console: true,
|
|
794
|
+
$external: true,
|
|
795
|
+
$frame: true,
|
|
796
|
+
$frameElement: true,
|
|
797
|
+
$frames: true,
|
|
798
|
+
$innerHeight: true,
|
|
799
|
+
$innerWidth: true,
|
|
800
|
+
$onmozfullscreenchange: true,
|
|
801
|
+
$onmozfullscreenerror: true,
|
|
802
|
+
$outerHeight: true,
|
|
803
|
+
$outerWidth: true,
|
|
804
|
+
$pageXOffset: true,
|
|
805
|
+
$pageYOffset: true,
|
|
806
|
+
$parent: true,
|
|
807
|
+
$scrollLeft: true,
|
|
808
|
+
$scrollTop: true,
|
|
809
|
+
$scrollX: true,
|
|
810
|
+
$scrollY: true,
|
|
811
|
+
$self: true,
|
|
812
|
+
$webkitIndexedDB: true,
|
|
813
|
+
$webkitStorageInfo: true,
|
|
814
|
+
$window: true
|
|
815
|
+
};
|
|
816
|
+
var hasAutomationEqualityBug = function() {
|
|
817
|
+
if (typeof window === "undefined") return false;
|
|
818
|
+
for (var k in window) try {
|
|
819
|
+
if (!excludedKeys["$" + k] && has.call(window, k) && window[k] !== null && typeof window[k] === "object") try {
|
|
820
|
+
equalsConstructorPrototype(window[k]);
|
|
821
|
+
} catch (e) {
|
|
822
|
+
return true;
|
|
823
|
+
}
|
|
824
|
+
} catch (e) {
|
|
825
|
+
return true;
|
|
826
|
+
}
|
|
827
|
+
return false;
|
|
828
|
+
}();
|
|
829
|
+
var equalsConstructorPrototypeIfNotBuggy = function(o) {
|
|
830
|
+
if (typeof window === "undefined" || !hasAutomationEqualityBug) return equalsConstructorPrototype(o);
|
|
831
|
+
try {
|
|
832
|
+
return equalsConstructorPrototype(o);
|
|
833
|
+
} catch (e) {
|
|
834
|
+
return false;
|
|
835
|
+
}
|
|
836
|
+
};
|
|
837
|
+
keysShim = function keys(object) {
|
|
838
|
+
var isObject = object !== null && typeof object === "object";
|
|
839
|
+
var isFunction = toStr.call(object) === "[object Function]";
|
|
840
|
+
var isArguments = isArgs(object);
|
|
841
|
+
var isString = isObject && toStr.call(object) === "[object String]";
|
|
842
|
+
var theKeys = [];
|
|
843
|
+
if (!isObject && !isFunction && !isArguments) throw new TypeError("Object.keys called on a non-object");
|
|
844
|
+
var skipProto = hasProtoEnumBug && isFunction;
|
|
845
|
+
if (isString && object.length > 0 && !has.call(object, 0)) for (var i = 0; i < object.length; ++i) theKeys.push(String(i));
|
|
846
|
+
if (isArguments && object.length > 0) for (var j = 0; j < object.length; ++j) theKeys.push(String(j));
|
|
847
|
+
else for (var name in object) if (!(skipProto && name === "prototype") && has.call(object, name)) theKeys.push(String(name));
|
|
848
|
+
if (hasDontEnumBug) {
|
|
849
|
+
var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);
|
|
850
|
+
for (var k = 0; k < dontEnums.length; ++k) if (!(skipConstructor && dontEnums[k] === "constructor") && has.call(object, dontEnums[k])) theKeys.push(dontEnums[k]);
|
|
851
|
+
}
|
|
852
|
+
return theKeys;
|
|
853
|
+
};
|
|
854
|
+
}
|
|
855
|
+
module.exports = keysShim;
|
|
856
|
+
}));
|
|
857
|
+
//#endregion
|
|
858
|
+
//#region ../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/index.js
|
|
859
|
+
var require_object_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
860
|
+
var slice = Array.prototype.slice;
|
|
861
|
+
var isArgs = require_isArguments();
|
|
862
|
+
var origKeys = Object.keys;
|
|
863
|
+
var keysShim = origKeys ? function keys(o) {
|
|
864
|
+
return origKeys(o);
|
|
865
|
+
} : require_implementation$1();
|
|
866
|
+
var originalKeys = Object.keys;
|
|
867
|
+
keysShim.shim = function shimObjectKeys() {
|
|
868
|
+
if (Object.keys) {
|
|
869
|
+
if (!function() {
|
|
870
|
+
var args = Object.keys(arguments);
|
|
871
|
+
return args && args.length === arguments.length;
|
|
872
|
+
}(1, 2)) Object.keys = function keys(object) {
|
|
873
|
+
if (isArgs(object)) return originalKeys(slice.call(object));
|
|
874
|
+
return originalKeys(object);
|
|
875
|
+
};
|
|
876
|
+
} else Object.keys = keysShim;
|
|
877
|
+
return Object.keys || keysShim;
|
|
878
|
+
};
|
|
879
|
+
module.exports = keysShim;
|
|
880
|
+
}));
|
|
881
|
+
//#endregion
|
|
882
|
+
//#region ../../node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js
|
|
883
|
+
var require_define_properties = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
884
|
+
var keys = require_object_keys();
|
|
885
|
+
var hasSymbols = typeof Symbol === "function" && typeof Symbol("foo") === "symbol";
|
|
886
|
+
var toStr = Object.prototype.toString;
|
|
887
|
+
var concat = Array.prototype.concat;
|
|
888
|
+
var defineDataProperty = require_define_data_property();
|
|
889
|
+
var isFunction = function(fn) {
|
|
890
|
+
return typeof fn === "function" && toStr.call(fn) === "[object Function]";
|
|
891
|
+
};
|
|
892
|
+
var supportsDescriptors = require_has_property_descriptors()();
|
|
893
|
+
var defineProperty = function(object, name, value, predicate) {
|
|
894
|
+
if (name in object) {
|
|
895
|
+
if (predicate === true) {
|
|
896
|
+
if (object[name] === value) return;
|
|
897
|
+
} else if (!isFunction(predicate) || !predicate()) return;
|
|
898
|
+
}
|
|
899
|
+
if (supportsDescriptors) defineDataProperty(object, name, value, true);
|
|
900
|
+
else defineDataProperty(object, name, value);
|
|
901
|
+
};
|
|
902
|
+
var defineProperties = function(object, map) {
|
|
903
|
+
var predicates = arguments.length > 2 ? arguments[2] : {};
|
|
904
|
+
var props = keys(map);
|
|
905
|
+
if (hasSymbols) props = concat.call(props, Object.getOwnPropertySymbols(map));
|
|
906
|
+
for (var i = 0; i < props.length; i += 1) defineProperty(object, props[i], map[props[i]], predicates[props[i]]);
|
|
907
|
+
};
|
|
908
|
+
defineProperties.supportsDescriptors = !!supportsDescriptors;
|
|
909
|
+
module.exports = defineProperties;
|
|
910
|
+
}));
|
|
911
|
+
//#endregion
|
|
912
|
+
//#region ../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js
|
|
913
|
+
var require_call_bound = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
914
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
915
|
+
var callBindBasic = require_call_bind_apply_helpers();
|
|
916
|
+
/** @type {(thisArg: string, searchString: string, position?: number) => number} */
|
|
917
|
+
var $indexOf = callBindBasic([GetIntrinsic("%String.prototype.indexOf%")]);
|
|
918
|
+
/** @type {import('.')} */
|
|
919
|
+
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
920
|
+
var intrinsic = GetIntrinsic(name, !!allowMissing);
|
|
921
|
+
if (typeof intrinsic === "function" && $indexOf(name, ".prototype.") > -1) return callBindBasic([intrinsic]);
|
|
922
|
+
return intrinsic;
|
|
923
|
+
};
|
|
924
|
+
}));
|
|
925
|
+
//#endregion
|
|
926
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/helpers/IsArray.js
|
|
927
|
+
var require_IsArray$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
928
|
+
var $Array = require_get_intrinsic()("%Array%");
|
|
929
|
+
var toStr = !$Array.isArray && require_call_bound()("Object.prototype.toString");
|
|
930
|
+
module.exports = $Array.isArray || function IsArray(argument) {
|
|
931
|
+
return toStr(argument) === "[object Array]";
|
|
932
|
+
};
|
|
933
|
+
}));
|
|
934
|
+
//#endregion
|
|
935
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/2025/IsArray.js
|
|
936
|
+
var require_IsArray = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
937
|
+
module.exports = require_IsArray$1();
|
|
938
|
+
}));
|
|
939
|
+
//#endregion
|
|
940
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/2025/Call.js
|
|
941
|
+
var require_Call = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
942
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
943
|
+
var callBound = require_call_bound();
|
|
944
|
+
var $TypeError = require_type();
|
|
945
|
+
var IsArray = require_IsArray();
|
|
946
|
+
var $apply = GetIntrinsic("%Reflect.apply%", true) || callBound("Function.prototype.apply");
|
|
947
|
+
module.exports = function Call(F, V) {
|
|
948
|
+
var argumentsList = arguments.length > 2 ? arguments[2] : [];
|
|
949
|
+
if (!IsArray(argumentsList)) throw new $TypeError("Assertion failed: optional `argumentsList`, if provided, must be a List");
|
|
950
|
+
return $apply(F, V, argumentsList);
|
|
951
|
+
};
|
|
952
|
+
}));
|
|
953
|
+
//#endregion
|
|
954
|
+
//#region ../../node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js
|
|
955
|
+
var require_is_callable = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
956
|
+
var fnToStr = Function.prototype.toString;
|
|
957
|
+
var reflectApply = typeof Reflect === "object" && Reflect !== null && Reflect.apply;
|
|
958
|
+
var badArrayLike;
|
|
959
|
+
var isCallableMarker;
|
|
960
|
+
if (typeof reflectApply === "function" && typeof Object.defineProperty === "function") try {
|
|
961
|
+
badArrayLike = Object.defineProperty({}, "length", { get: function() {
|
|
962
|
+
throw isCallableMarker;
|
|
963
|
+
} });
|
|
964
|
+
isCallableMarker = {};
|
|
965
|
+
reflectApply(function() {
|
|
966
|
+
throw 42;
|
|
967
|
+
}, null, badArrayLike);
|
|
968
|
+
} catch (_) {
|
|
969
|
+
if (_ !== isCallableMarker) reflectApply = null;
|
|
970
|
+
}
|
|
971
|
+
else reflectApply = null;
|
|
972
|
+
var constructorRegex = /^\s*class\b/;
|
|
973
|
+
var isES6ClassFn = function isES6ClassFunction(value) {
|
|
974
|
+
try {
|
|
975
|
+
var fnStr = fnToStr.call(value);
|
|
976
|
+
return constructorRegex.test(fnStr);
|
|
977
|
+
} catch (e) {
|
|
978
|
+
return false;
|
|
979
|
+
}
|
|
980
|
+
};
|
|
981
|
+
var tryFunctionObject = function tryFunctionToStr(value) {
|
|
982
|
+
try {
|
|
983
|
+
if (isES6ClassFn(value)) return false;
|
|
984
|
+
fnToStr.call(value);
|
|
985
|
+
return true;
|
|
986
|
+
} catch (e) {
|
|
987
|
+
return false;
|
|
988
|
+
}
|
|
989
|
+
};
|
|
990
|
+
var toStr = Object.prototype.toString;
|
|
991
|
+
var objectClass = "[object Object]";
|
|
992
|
+
var fnClass = "[object Function]";
|
|
993
|
+
var genClass = "[object GeneratorFunction]";
|
|
994
|
+
var ddaClass = "[object HTMLAllCollection]";
|
|
995
|
+
var ddaClass2 = "[object HTML document.all class]";
|
|
996
|
+
var ddaClass3 = "[object HTMLCollection]";
|
|
997
|
+
var hasToStringTag = typeof Symbol === "function" && !!Symbol.toStringTag;
|
|
998
|
+
var isIE68 = !(0 in [,]);
|
|
999
|
+
var isDDA = function isDocumentDotAll() {
|
|
1000
|
+
return false;
|
|
1001
|
+
};
|
|
1002
|
+
if (typeof document === "object") {
|
|
1003
|
+
var all = document.all;
|
|
1004
|
+
if (toStr.call(all) === toStr.call(document.all)) isDDA = function isDocumentDotAll(value) {
|
|
1005
|
+
if ((isIE68 || !value) && (typeof value === "undefined" || typeof value === "object")) try {
|
|
1006
|
+
var str = toStr.call(value);
|
|
1007
|
+
return (str === ddaClass || str === ddaClass2 || str === ddaClass3 || str === objectClass) && value("") == null;
|
|
1008
|
+
} catch (e) {}
|
|
1009
|
+
return false;
|
|
1010
|
+
};
|
|
1011
|
+
}
|
|
1012
|
+
module.exports = reflectApply ? function isCallable(value) {
|
|
1013
|
+
if (isDDA(value)) return true;
|
|
1014
|
+
if (!value) return false;
|
|
1015
|
+
if (typeof value !== "function" && typeof value !== "object") return false;
|
|
1016
|
+
try {
|
|
1017
|
+
reflectApply(value, null, badArrayLike);
|
|
1018
|
+
} catch (e) {
|
|
1019
|
+
if (e !== isCallableMarker) return false;
|
|
1020
|
+
}
|
|
1021
|
+
return !isES6ClassFn(value) && tryFunctionObject(value);
|
|
1022
|
+
} : function isCallable(value) {
|
|
1023
|
+
if (isDDA(value)) return true;
|
|
1024
|
+
if (!value) return false;
|
|
1025
|
+
if (typeof value !== "function" && typeof value !== "object") return false;
|
|
1026
|
+
if (hasToStringTag) return tryFunctionObject(value);
|
|
1027
|
+
if (isES6ClassFn(value)) return false;
|
|
1028
|
+
var strClass = toStr.call(value);
|
|
1029
|
+
if (strClass !== fnClass && strClass !== genClass && !/^\[object HTML/.test(strClass)) return false;
|
|
1030
|
+
return tryFunctionObject(value);
|
|
1031
|
+
};
|
|
1032
|
+
}));
|
|
1033
|
+
//#endregion
|
|
1034
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/2025/IsCallable.js
|
|
1035
|
+
var require_IsCallable = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1036
|
+
module.exports = require_is_callable();
|
|
1037
|
+
}));
|
|
1038
|
+
//#endregion
|
|
1039
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/GetIntrinsic.js
|
|
1040
|
+
var require_GetIntrinsic = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1041
|
+
module.exports = require_get_intrinsic();
|
|
1042
|
+
}));
|
|
1043
|
+
//#endregion
|
|
1044
|
+
//#region ../../node_modules/.pnpm/es-object-atoms@1.1.2/node_modules/es-object-atoms/isObject.js
|
|
1045
|
+
var require_isObject$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1046
|
+
/** @type {import('./isObject')} */
|
|
1047
|
+
module.exports = function isObject(x) {
|
|
1048
|
+
return !!x && (typeof x === "function" || typeof x === "object");
|
|
1049
|
+
};
|
|
1050
|
+
}));
|
|
1051
|
+
//#endregion
|
|
1052
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/helpers/records/property-descriptor.js
|
|
1053
|
+
var require_property_descriptor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1054
|
+
var $TypeError = require_type();
|
|
1055
|
+
var hasOwn = require_hasown();
|
|
1056
|
+
var allowed = {
|
|
1057
|
+
__proto__: null,
|
|
1058
|
+
"[[Configurable]]": true,
|
|
1059
|
+
"[[Enumerable]]": true,
|
|
1060
|
+
"[[Get]]": true,
|
|
1061
|
+
"[[Set]]": true,
|
|
1062
|
+
"[[Value]]": true,
|
|
1063
|
+
"[[Writable]]": true
|
|
1064
|
+
};
|
|
1065
|
+
module.exports = function isPropertyDescriptor(Desc) {
|
|
1066
|
+
if (!Desc || typeof Desc !== "object") return false;
|
|
1067
|
+
for (var key in Desc) if (hasOwn(Desc, key) && !allowed[key]) return false;
|
|
1068
|
+
var isData = hasOwn(Desc, "[[Value]]") || hasOwn(Desc, "[[Writable]]");
|
|
1069
|
+
var IsAccessor = hasOwn(Desc, "[[Get]]") || hasOwn(Desc, "[[Set]]");
|
|
1070
|
+
if (isData && IsAccessor) throw new $TypeError("Property Descriptors may not be both accessor and data descriptors");
|
|
1071
|
+
return true;
|
|
1072
|
+
};
|
|
1073
|
+
}));
|
|
1074
|
+
//#endregion
|
|
1075
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/helpers/DefineOwnProperty.js
|
|
1076
|
+
var require_DefineOwnProperty = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1077
|
+
var hasPropertyDescriptors = require_has_property_descriptors();
|
|
1078
|
+
var $defineProperty = require_es_define_property();
|
|
1079
|
+
var hasArrayLengthDefineBug = hasPropertyDescriptors.hasArrayLengthDefineBug();
|
|
1080
|
+
var isArray = hasArrayLengthDefineBug && require_IsArray$1();
|
|
1081
|
+
var $isEnumerable = require_call_bound()("Object.prototype.propertyIsEnumerable");
|
|
1082
|
+
module.exports = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) {
|
|
1083
|
+
if (!$defineProperty) {
|
|
1084
|
+
if (!IsDataDescriptor(desc)) return false;
|
|
1085
|
+
if (!desc["[[Configurable]]"] || !desc["[[Writable]]"]) return false;
|
|
1086
|
+
if (P in O && $isEnumerable(O, P) !== !!desc["[[Enumerable]]"]) return false;
|
|
1087
|
+
var V = desc["[[Value]]"];
|
|
1088
|
+
O[P] = V;
|
|
1089
|
+
return SameValue(O[P], V);
|
|
1090
|
+
}
|
|
1091
|
+
if (hasArrayLengthDefineBug && P === "length" && "[[Value]]" in desc && isArray(O) && O.length !== desc["[[Value]]"]) {
|
|
1092
|
+
O.length = desc["[[Value]]"];
|
|
1093
|
+
return O.length === desc["[[Value]]"];
|
|
1094
|
+
}
|
|
1095
|
+
$defineProperty(O, P, FromPropertyDescriptor(desc));
|
|
1096
|
+
return true;
|
|
1097
|
+
};
|
|
1098
|
+
}));
|
|
1099
|
+
//#endregion
|
|
1100
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/helpers/fromPropertyDescriptor.js
|
|
1101
|
+
var require_fromPropertyDescriptor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1102
|
+
module.exports = function fromPropertyDescriptor(Desc) {
|
|
1103
|
+
if (typeof Desc === "undefined") return Desc;
|
|
1104
|
+
var obj = {};
|
|
1105
|
+
if ("[[Value]]" in Desc) obj.value = Desc["[[Value]]"];
|
|
1106
|
+
if ("[[Writable]]" in Desc) obj.writable = !!Desc["[[Writable]]"];
|
|
1107
|
+
if ("[[Get]]" in Desc) obj.get = Desc["[[Get]]"];
|
|
1108
|
+
if ("[[Set]]" in Desc) obj.set = Desc["[[Set]]"];
|
|
1109
|
+
if ("[[Enumerable]]" in Desc) obj.enumerable = !!Desc["[[Enumerable]]"];
|
|
1110
|
+
if ("[[Configurable]]" in Desc) obj.configurable = !!Desc["[[Configurable]]"];
|
|
1111
|
+
return obj;
|
|
1112
|
+
};
|
|
1113
|
+
}));
|
|
1114
|
+
//#endregion
|
|
1115
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/2025/FromPropertyDescriptor.js
|
|
1116
|
+
var require_FromPropertyDescriptor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1117
|
+
var $TypeError = require_type();
|
|
1118
|
+
var isPropertyDescriptor = require_property_descriptor();
|
|
1119
|
+
var fromPropertyDescriptor = require_fromPropertyDescriptor();
|
|
1120
|
+
module.exports = function FromPropertyDescriptor(Desc) {
|
|
1121
|
+
if (typeof Desc !== "undefined" && !isPropertyDescriptor(Desc)) throw new $TypeError("Assertion failed: `Desc` must be a Property Descriptor");
|
|
1122
|
+
return fromPropertyDescriptor(Desc);
|
|
1123
|
+
};
|
|
1124
|
+
}));
|
|
1125
|
+
//#endregion
|
|
1126
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/2025/IsDataDescriptor.js
|
|
1127
|
+
var require_IsDataDescriptor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1128
|
+
var $TypeError = require_type();
|
|
1129
|
+
var hasOwn = require_hasown();
|
|
1130
|
+
var isPropertyDescriptor = require_property_descriptor();
|
|
1131
|
+
module.exports = function IsDataDescriptor(Desc) {
|
|
1132
|
+
if (typeof Desc === "undefined") return false;
|
|
1133
|
+
if (!isPropertyDescriptor(Desc)) throw new $TypeError("Assertion failed: `Desc` must be a Property Descriptor");
|
|
1134
|
+
if (!hasOwn(Desc, "[[Value]]") && !hasOwn(Desc, "[[Writable]]")) return false;
|
|
1135
|
+
return true;
|
|
1136
|
+
};
|
|
1137
|
+
}));
|
|
1138
|
+
//#endregion
|
|
1139
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/helpers/isPropertyKey.js
|
|
1140
|
+
var require_isPropertyKey = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1141
|
+
module.exports = function isPropertyKey(argument) {
|
|
1142
|
+
return typeof argument === "string" || typeof argument === "symbol";
|
|
1143
|
+
};
|
|
1144
|
+
}));
|
|
1145
|
+
//#endregion
|
|
1146
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/2025/SameValue.js
|
|
1147
|
+
var require_SameValue = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1148
|
+
var $isNaN = require_isNaN();
|
|
1149
|
+
module.exports = function SameValue(x, y) {
|
|
1150
|
+
if (x === y) {
|
|
1151
|
+
if (x === 0) return 1 / x === 1 / y;
|
|
1152
|
+
return true;
|
|
1153
|
+
}
|
|
1154
|
+
return $isNaN(x) && $isNaN(y);
|
|
1155
|
+
};
|
|
1156
|
+
}));
|
|
1157
|
+
//#endregion
|
|
1158
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/2025/ToBoolean.js
|
|
1159
|
+
var require_ToBoolean = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1160
|
+
module.exports = function ToBoolean(value) {
|
|
1161
|
+
return !!value;
|
|
1162
|
+
};
|
|
1163
|
+
}));
|
|
1164
|
+
//#endregion
|
|
1165
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/2025/ToPropertyDescriptor.js
|
|
1166
|
+
var require_ToPropertyDescriptor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1167
|
+
var hasOwn = require_hasown();
|
|
1168
|
+
var $TypeError = require_type();
|
|
1169
|
+
var isObject = require_isObject$1();
|
|
1170
|
+
var IsCallable = require_IsCallable();
|
|
1171
|
+
var ToBoolean = require_ToBoolean();
|
|
1172
|
+
module.exports = function ToPropertyDescriptor(Obj) {
|
|
1173
|
+
if (!isObject(Obj)) throw new $TypeError("ToPropertyDescriptor requires an object");
|
|
1174
|
+
var desc = {};
|
|
1175
|
+
if (hasOwn(Obj, "enumerable")) desc["[[Enumerable]]"] = ToBoolean(Obj.enumerable);
|
|
1176
|
+
if (hasOwn(Obj, "configurable")) desc["[[Configurable]]"] = ToBoolean(Obj.configurable);
|
|
1177
|
+
if (hasOwn(Obj, "value")) desc["[[Value]]"] = Obj.value;
|
|
1178
|
+
if (hasOwn(Obj, "writable")) desc["[[Writable]]"] = ToBoolean(Obj.writable);
|
|
1179
|
+
if (hasOwn(Obj, "get")) {
|
|
1180
|
+
var getter = Obj.get;
|
|
1181
|
+
if (typeof getter !== "undefined" && !IsCallable(getter)) throw new $TypeError("getter must be a function");
|
|
1182
|
+
desc["[[Get]]"] = getter;
|
|
1183
|
+
}
|
|
1184
|
+
if (hasOwn(Obj, "set")) {
|
|
1185
|
+
var setter = Obj.set;
|
|
1186
|
+
if (typeof setter !== "undefined" && !IsCallable(setter)) throw new $TypeError("setter must be a function");
|
|
1187
|
+
desc["[[Set]]"] = setter;
|
|
1188
|
+
}
|
|
1189
|
+
if ((hasOwn(desc, "[[Get]]") || hasOwn(desc, "[[Set]]")) && (hasOwn(desc, "[[Value]]") || hasOwn(desc, "[[Writable]]"))) throw new $TypeError("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
|
|
1190
|
+
return desc;
|
|
1191
|
+
};
|
|
1192
|
+
}));
|
|
1193
|
+
//#endregion
|
|
1194
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/2025/DefinePropertyOrThrow.js
|
|
1195
|
+
var require_DefinePropertyOrThrow = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1196
|
+
var $TypeError = require_type();
|
|
1197
|
+
var isObject = require_isObject$1();
|
|
1198
|
+
var isPropertyDescriptor = require_property_descriptor();
|
|
1199
|
+
var DefineOwnProperty = require_DefineOwnProperty();
|
|
1200
|
+
var FromPropertyDescriptor = require_FromPropertyDescriptor();
|
|
1201
|
+
var IsDataDescriptor = require_IsDataDescriptor();
|
|
1202
|
+
var isPropertyKey = require_isPropertyKey();
|
|
1203
|
+
var SameValue = require_SameValue();
|
|
1204
|
+
var ToPropertyDescriptor = require_ToPropertyDescriptor();
|
|
1205
|
+
module.exports = function DefinePropertyOrThrow(O, P, desc) {
|
|
1206
|
+
if (!isObject(O)) throw new $TypeError("Assertion failed: Type(O) is not Object");
|
|
1207
|
+
if (!isPropertyKey(P)) throw new $TypeError("Assertion failed: P is not a Property Key");
|
|
1208
|
+
var Desc = isPropertyDescriptor(desc) ? desc : ToPropertyDescriptor(desc);
|
|
1209
|
+
if (!isPropertyDescriptor(Desc)) throw new $TypeError("Assertion failed: Desc is not a valid Property Descriptor");
|
|
1210
|
+
return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, Desc);
|
|
1211
|
+
};
|
|
1212
|
+
}));
|
|
1213
|
+
//#endregion
|
|
1214
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/2025/IsConstructor.js
|
|
1215
|
+
var require_IsConstructor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1216
|
+
var $construct = require_GetIntrinsic()("%Reflect.construct%", true);
|
|
1217
|
+
var DefinePropertyOrThrow = require_DefinePropertyOrThrow();
|
|
1218
|
+
try {
|
|
1219
|
+
DefinePropertyOrThrow({}, "", { "[[Get]]": function() {} });
|
|
1220
|
+
} catch (e) {
|
|
1221
|
+
DefinePropertyOrThrow = null;
|
|
1222
|
+
}
|
|
1223
|
+
if (DefinePropertyOrThrow && $construct) {
|
|
1224
|
+
var isConstructorMarker = {};
|
|
1225
|
+
var badArrayLike = {};
|
|
1226
|
+
DefinePropertyOrThrow(badArrayLike, "length", {
|
|
1227
|
+
"[[Get]]": function() {
|
|
1228
|
+
throw isConstructorMarker;
|
|
1229
|
+
},
|
|
1230
|
+
"[[Enumerable]]": true
|
|
1231
|
+
});
|
|
1232
|
+
module.exports = function IsConstructor(argument) {
|
|
1233
|
+
try {
|
|
1234
|
+
$construct(argument, badArrayLike);
|
|
1235
|
+
} catch (err) {
|
|
1236
|
+
return err === isConstructorMarker;
|
|
1237
|
+
}
|
|
1238
|
+
};
|
|
1239
|
+
} else module.exports = function IsConstructor(argument) {
|
|
1240
|
+
return typeof argument === "function" && !!argument.prototype;
|
|
1241
|
+
};
|
|
1242
|
+
}));
|
|
1243
|
+
//#endregion
|
|
1244
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/2025/NewPromiseCapability.js
|
|
1245
|
+
var require_NewPromiseCapability = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1246
|
+
var $TypeError = require_type();
|
|
1247
|
+
var IsCallable = require_IsCallable();
|
|
1248
|
+
var IsConstructor = require_IsConstructor();
|
|
1249
|
+
module.exports = function NewPromiseCapability(C) {
|
|
1250
|
+
if (!IsConstructor(C)) throw new $TypeError("C must be a constructor");
|
|
1251
|
+
var resolvingFunctions = {
|
|
1252
|
+
"[[Resolve]]": void 0,
|
|
1253
|
+
"[[Reject]]": void 0
|
|
1254
|
+
};
|
|
1255
|
+
var promise = new C(function(resolve, reject) {
|
|
1256
|
+
if (typeof resolvingFunctions["[[Resolve]]"] !== "undefined" || typeof resolvingFunctions["[[Reject]]"] !== "undefined") throw new $TypeError("executor has already been called");
|
|
1257
|
+
resolvingFunctions["[[Resolve]]"] = resolve;
|
|
1258
|
+
resolvingFunctions["[[Reject]]"] = reject;
|
|
1259
|
+
});
|
|
1260
|
+
if (!IsCallable(resolvingFunctions["[[Resolve]]"]) || !IsCallable(resolvingFunctions["[[Reject]]"])) throw new $TypeError("executor must provide valid resolve and reject functions");
|
|
1261
|
+
return {
|
|
1262
|
+
"[[Promise]]": promise,
|
|
1263
|
+
"[[Resolve]]": resolvingFunctions["[[Resolve]]"],
|
|
1264
|
+
"[[Reject]]": resolvingFunctions["[[Reject]]"]
|
|
1265
|
+
};
|
|
1266
|
+
};
|
|
1267
|
+
}));
|
|
1268
|
+
//#endregion
|
|
1269
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/2025/PromiseResolve.js
|
|
1270
|
+
var require_PromiseResolve = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1271
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
1272
|
+
var callBind = require_call_bind();
|
|
1273
|
+
var $SyntaxError = require_syntax();
|
|
1274
|
+
var $resolve = GetIntrinsic("%Promise.resolve%", true);
|
|
1275
|
+
var $PromiseResolve = $resolve && callBind($resolve);
|
|
1276
|
+
module.exports = function PromiseResolve(C, x) {
|
|
1277
|
+
if (!$PromiseResolve) throw new $SyntaxError("This environment does not support Promises.");
|
|
1278
|
+
return $PromiseResolve(C, x);
|
|
1279
|
+
};
|
|
1280
|
+
}));
|
|
1281
|
+
//#endregion
|
|
1282
|
+
//#region ../../node_modules/.pnpm/es-abstract@1.24.2/node_modules/es-abstract/helpers/isObject.js
|
|
1283
|
+
var require_isObject = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1284
|
+
module.exports = require_isObject$1();
|
|
1285
|
+
}));
|
|
1286
|
+
//#endregion
|
|
1287
|
+
//#region ../../node_modules/.pnpm/functions-have-names@1.2.3/node_modules/functions-have-names/index.js
|
|
1288
|
+
var require_functions_have_names = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1289
|
+
var functionsHaveNames = function functionsHaveNames() {
|
|
1290
|
+
return typeof function f() {}.name === "string";
|
|
1291
|
+
};
|
|
1292
|
+
var gOPD = Object.getOwnPropertyDescriptor;
|
|
1293
|
+
if (gOPD) try {
|
|
1294
|
+
gOPD([], "length");
|
|
1295
|
+
} catch (e) {
|
|
1296
|
+
gOPD = null;
|
|
1297
|
+
}
|
|
1298
|
+
functionsHaveNames.functionsHaveConfigurableNames = function functionsHaveConfigurableNames() {
|
|
1299
|
+
if (!functionsHaveNames() || !gOPD) return false;
|
|
1300
|
+
var desc = gOPD(function() {}, "name");
|
|
1301
|
+
return !!desc && !!desc.configurable;
|
|
1302
|
+
};
|
|
1303
|
+
var $bind = Function.prototype.bind;
|
|
1304
|
+
functionsHaveNames.boundFunctionsHaveNames = function boundFunctionsHaveNames() {
|
|
1305
|
+
return functionsHaveNames() && typeof $bind === "function" && function f() {}.bind().name !== "";
|
|
1306
|
+
};
|
|
1307
|
+
module.exports = functionsHaveNames;
|
|
1308
|
+
}));
|
|
1309
|
+
//#endregion
|
|
1310
|
+
//#region ../../node_modules/.pnpm/set-function-name@2.0.2/node_modules/set-function-name/index.js
|
|
1311
|
+
var require_set_function_name = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1312
|
+
var define = require_define_data_property();
|
|
1313
|
+
var hasDescriptors = require_has_property_descriptors()();
|
|
1314
|
+
var functionsHaveConfigurableNames = require_functions_have_names().functionsHaveConfigurableNames();
|
|
1315
|
+
var $TypeError = require_type();
|
|
1316
|
+
/** @type {import('.')} */
|
|
1317
|
+
module.exports = function setFunctionName(fn, name) {
|
|
1318
|
+
if (typeof fn !== "function") throw new $TypeError("`fn` is not a function");
|
|
1319
|
+
if (!(arguments.length > 2 && !!arguments[2]) || functionsHaveConfigurableNames) {
|
|
1320
|
+
if (hasDescriptors) define(fn, "name", name, true, true);
|
|
1321
|
+
else define(fn, "name", name);
|
|
1322
|
+
}
|
|
1323
|
+
return fn;
|
|
1324
|
+
};
|
|
1325
|
+
}));
|
|
1326
|
+
//#endregion
|
|
1327
|
+
//#region ../../node_modules/.pnpm/call-bind@1.0.9/node_modules/call-bind/callBound.js
|
|
1328
|
+
var require_callBound = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1329
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
1330
|
+
var callBind = require_call_bind();
|
|
1331
|
+
var $indexOf = callBind(GetIntrinsic("String.prototype.indexOf"));
|
|
1332
|
+
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
1333
|
+
var intrinsic = GetIntrinsic(name, !!allowMissing);
|
|
1334
|
+
if (typeof intrinsic === "function" && $indexOf(name, ".prototype.") > -1) return callBind(intrinsic);
|
|
1335
|
+
return intrinsic;
|
|
1336
|
+
};
|
|
1337
|
+
}));
|
|
1338
|
+
//#endregion
|
|
1339
|
+
//#region ../../node_modules/.pnpm/promise.try@2.0.2/node_modules/promise.try/implementation.js
|
|
1340
|
+
var require_implementation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1341
|
+
var Call = require_Call();
|
|
1342
|
+
var NewPromiseCapability = require_NewPromiseCapability();
|
|
1343
|
+
var PromiseResolve = require_PromiseResolve();
|
|
1344
|
+
var isObject = require_isObject();
|
|
1345
|
+
var setFunctionName = require_set_function_name();
|
|
1346
|
+
var $TypeError = require_type();
|
|
1347
|
+
var $slice = require_callBound()("Array.prototype.slice");
|
|
1348
|
+
module.exports = setFunctionName(function try_(callbackfn) {
|
|
1349
|
+
var C = this;
|
|
1350
|
+
if (!isObject(C)) throw new $TypeError("receiver must be an object");
|
|
1351
|
+
var args = arguments.length > 1 ? $slice(arguments, 1) : [];
|
|
1352
|
+
var status;
|
|
1353
|
+
try {
|
|
1354
|
+
status = Call(callbackfn, void 0, args);
|
|
1355
|
+
} catch (e) {
|
|
1356
|
+
var promiseCapability = NewPromiseCapability(C);
|
|
1357
|
+
Call(promiseCapability["[[Reject]]"], void 0, [e]);
|
|
1358
|
+
return promiseCapability["[[Promise]]"];
|
|
1359
|
+
}
|
|
1360
|
+
return PromiseResolve(C, status);
|
|
1361
|
+
}, "try", true);
|
|
1362
|
+
}));
|
|
1363
|
+
//#endregion
|
|
1364
|
+
//#region ../../node_modules/.pnpm/promise.try@2.0.2/node_modules/promise.try/requirePromise.js
|
|
1365
|
+
var require_requirePromise = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1366
|
+
var $TypeError = require_type();
|
|
1367
|
+
module.exports = function requirePromise() {
|
|
1368
|
+
if (typeof Promise !== "function") throw new $TypeError("`Promise.try` requires a global `Promise` be available.");
|
|
1369
|
+
};
|
|
1370
|
+
}));
|
|
1371
|
+
//#endregion
|
|
1372
|
+
//#region ../../node_modules/.pnpm/promise.try@2.0.2/node_modules/promise.try/polyfill.js
|
|
1373
|
+
var require_polyfill = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1374
|
+
var requirePromise = require_requirePromise();
|
|
1375
|
+
var implementation = require_implementation();
|
|
1376
|
+
function wrapsReturnedPromise() {
|
|
1377
|
+
var sentinel = Promise.resolve();
|
|
1378
|
+
return Promise["try"](function() {
|
|
1379
|
+
return sentinel;
|
|
1380
|
+
}) !== sentinel;
|
|
1381
|
+
}
|
|
1382
|
+
module.exports = function getPolyfill() {
|
|
1383
|
+
requirePromise();
|
|
1384
|
+
if (typeof Promise["try"] === "function" && !wrapsReturnedPromise()) return Promise["try"];
|
|
1385
|
+
return implementation;
|
|
1386
|
+
};
|
|
1387
|
+
}));
|
|
1388
|
+
//#endregion
|
|
1389
|
+
//#region ../../node_modules/.pnpm/promise.try@2.0.2/node_modules/promise.try/shim.js
|
|
1390
|
+
var require_shim = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1391
|
+
var requirePromise = require_requirePromise();
|
|
1392
|
+
var getPolyfill = require_polyfill();
|
|
1393
|
+
var define = require_define_properties();
|
|
1394
|
+
module.exports = function shimPromiseTry() {
|
|
1395
|
+
requirePromise();
|
|
1396
|
+
var polyfill = getPolyfill();
|
|
1397
|
+
define(Promise, { "try": polyfill }, { "try": function testTry() {
|
|
1398
|
+
return Promise["try"] !== polyfill;
|
|
1399
|
+
} });
|
|
1400
|
+
return polyfill;
|
|
1401
|
+
};
|
|
1402
|
+
}));
|
|
1403
|
+
//#endregion
|
|
1404
|
+
//#region ../../node_modules/.pnpm/promise.try@2.0.2/node_modules/promise.try/index.js
|
|
1405
|
+
var require_promise_try = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1406
|
+
var callBind = require_call_bind();
|
|
1407
|
+
var define = require_define_properties();
|
|
1408
|
+
var implementation = require_implementation();
|
|
1409
|
+
var getPolyfill = require_polyfill();
|
|
1410
|
+
var shim = require_shim();
|
|
1411
|
+
var requirePromise = require_requirePromise();
|
|
1412
|
+
var bound = callBind.apply(getPolyfill());
|
|
1413
|
+
function promiseTry(fn) {
|
|
1414
|
+
requirePromise();
|
|
1415
|
+
return bound(typeof this === "undefined" ? Promise : this, arguments);
|
|
1416
|
+
}
|
|
1417
|
+
define(promiseTry, {
|
|
1418
|
+
getPolyfill,
|
|
1419
|
+
implementation,
|
|
1420
|
+
shim
|
|
1421
|
+
});
|
|
1422
|
+
module.exports = promiseTry;
|
|
1423
|
+
}));
|
|
1424
|
+
//#endregion
|
|
1425
|
+
export default require_promise_try();
|
|
1426
|
+
export {};
|