@gammarers/aws-sns-slack-message-lambda-subscription 0.2.9 → 0.2.11
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.
|
@@ -9134,6 +9134,851 @@ var require_asynckit = __commonJS({
|
|
|
9134
9134
|
}
|
|
9135
9135
|
});
|
|
9136
9136
|
|
|
9137
|
+
// node_modules/es-object-atoms/index.js
|
|
9138
|
+
var require_es_object_atoms = __commonJS({
|
|
9139
|
+
"node_modules/es-object-atoms/index.js"(exports2, module2) {
|
|
9140
|
+
"use strict";
|
|
9141
|
+
module2.exports = Object;
|
|
9142
|
+
}
|
|
9143
|
+
});
|
|
9144
|
+
|
|
9145
|
+
// node_modules/es-errors/index.js
|
|
9146
|
+
var require_es_errors = __commonJS({
|
|
9147
|
+
"node_modules/es-errors/index.js"(exports2, module2) {
|
|
9148
|
+
"use strict";
|
|
9149
|
+
module2.exports = Error;
|
|
9150
|
+
}
|
|
9151
|
+
});
|
|
9152
|
+
|
|
9153
|
+
// node_modules/es-errors/eval.js
|
|
9154
|
+
var require_eval = __commonJS({
|
|
9155
|
+
"node_modules/es-errors/eval.js"(exports2, module2) {
|
|
9156
|
+
"use strict";
|
|
9157
|
+
module2.exports = EvalError;
|
|
9158
|
+
}
|
|
9159
|
+
});
|
|
9160
|
+
|
|
9161
|
+
// node_modules/es-errors/range.js
|
|
9162
|
+
var require_range = __commonJS({
|
|
9163
|
+
"node_modules/es-errors/range.js"(exports2, module2) {
|
|
9164
|
+
"use strict";
|
|
9165
|
+
module2.exports = RangeError;
|
|
9166
|
+
}
|
|
9167
|
+
});
|
|
9168
|
+
|
|
9169
|
+
// node_modules/es-errors/ref.js
|
|
9170
|
+
var require_ref = __commonJS({
|
|
9171
|
+
"node_modules/es-errors/ref.js"(exports2, module2) {
|
|
9172
|
+
"use strict";
|
|
9173
|
+
module2.exports = ReferenceError;
|
|
9174
|
+
}
|
|
9175
|
+
});
|
|
9176
|
+
|
|
9177
|
+
// node_modules/es-errors/syntax.js
|
|
9178
|
+
var require_syntax = __commonJS({
|
|
9179
|
+
"node_modules/es-errors/syntax.js"(exports2, module2) {
|
|
9180
|
+
"use strict";
|
|
9181
|
+
module2.exports = SyntaxError;
|
|
9182
|
+
}
|
|
9183
|
+
});
|
|
9184
|
+
|
|
9185
|
+
// node_modules/es-errors/type.js
|
|
9186
|
+
var require_type = __commonJS({
|
|
9187
|
+
"node_modules/es-errors/type.js"(exports2, module2) {
|
|
9188
|
+
"use strict";
|
|
9189
|
+
module2.exports = TypeError;
|
|
9190
|
+
}
|
|
9191
|
+
});
|
|
9192
|
+
|
|
9193
|
+
// node_modules/es-errors/uri.js
|
|
9194
|
+
var require_uri = __commonJS({
|
|
9195
|
+
"node_modules/es-errors/uri.js"(exports2, module2) {
|
|
9196
|
+
"use strict";
|
|
9197
|
+
module2.exports = URIError;
|
|
9198
|
+
}
|
|
9199
|
+
});
|
|
9200
|
+
|
|
9201
|
+
// node_modules/math-intrinsics/abs.js
|
|
9202
|
+
var require_abs = __commonJS({
|
|
9203
|
+
"node_modules/math-intrinsics/abs.js"(exports2, module2) {
|
|
9204
|
+
"use strict";
|
|
9205
|
+
module2.exports = Math.abs;
|
|
9206
|
+
}
|
|
9207
|
+
});
|
|
9208
|
+
|
|
9209
|
+
// node_modules/math-intrinsics/floor.js
|
|
9210
|
+
var require_floor = __commonJS({
|
|
9211
|
+
"node_modules/math-intrinsics/floor.js"(exports2, module2) {
|
|
9212
|
+
"use strict";
|
|
9213
|
+
module2.exports = Math.floor;
|
|
9214
|
+
}
|
|
9215
|
+
});
|
|
9216
|
+
|
|
9217
|
+
// node_modules/math-intrinsics/max.js
|
|
9218
|
+
var require_max = __commonJS({
|
|
9219
|
+
"node_modules/math-intrinsics/max.js"(exports2, module2) {
|
|
9220
|
+
"use strict";
|
|
9221
|
+
module2.exports = Math.max;
|
|
9222
|
+
}
|
|
9223
|
+
});
|
|
9224
|
+
|
|
9225
|
+
// node_modules/math-intrinsics/min.js
|
|
9226
|
+
var require_min = __commonJS({
|
|
9227
|
+
"node_modules/math-intrinsics/min.js"(exports2, module2) {
|
|
9228
|
+
"use strict";
|
|
9229
|
+
module2.exports = Math.min;
|
|
9230
|
+
}
|
|
9231
|
+
});
|
|
9232
|
+
|
|
9233
|
+
// node_modules/math-intrinsics/pow.js
|
|
9234
|
+
var require_pow = __commonJS({
|
|
9235
|
+
"node_modules/math-intrinsics/pow.js"(exports2, module2) {
|
|
9236
|
+
"use strict";
|
|
9237
|
+
module2.exports = Math.pow;
|
|
9238
|
+
}
|
|
9239
|
+
});
|
|
9240
|
+
|
|
9241
|
+
// node_modules/math-intrinsics/round.js
|
|
9242
|
+
var require_round = __commonJS({
|
|
9243
|
+
"node_modules/math-intrinsics/round.js"(exports2, module2) {
|
|
9244
|
+
"use strict";
|
|
9245
|
+
module2.exports = Math.round;
|
|
9246
|
+
}
|
|
9247
|
+
});
|
|
9248
|
+
|
|
9249
|
+
// node_modules/math-intrinsics/isNaN.js
|
|
9250
|
+
var require_isNaN = __commonJS({
|
|
9251
|
+
"node_modules/math-intrinsics/isNaN.js"(exports2, module2) {
|
|
9252
|
+
"use strict";
|
|
9253
|
+
module2.exports = Number.isNaN || function isNaN2(a) {
|
|
9254
|
+
return a !== a;
|
|
9255
|
+
};
|
|
9256
|
+
}
|
|
9257
|
+
});
|
|
9258
|
+
|
|
9259
|
+
// node_modules/math-intrinsics/sign.js
|
|
9260
|
+
var require_sign = __commonJS({
|
|
9261
|
+
"node_modules/math-intrinsics/sign.js"(exports2, module2) {
|
|
9262
|
+
"use strict";
|
|
9263
|
+
var $isNaN = require_isNaN();
|
|
9264
|
+
module2.exports = function sign(number) {
|
|
9265
|
+
if ($isNaN(number) || number === 0) {
|
|
9266
|
+
return number;
|
|
9267
|
+
}
|
|
9268
|
+
return number < 0 ? -1 : 1;
|
|
9269
|
+
};
|
|
9270
|
+
}
|
|
9271
|
+
});
|
|
9272
|
+
|
|
9273
|
+
// node_modules/gopd/gOPD.js
|
|
9274
|
+
var require_gOPD = __commonJS({
|
|
9275
|
+
"node_modules/gopd/gOPD.js"(exports2, module2) {
|
|
9276
|
+
"use strict";
|
|
9277
|
+
module2.exports = Object.getOwnPropertyDescriptor;
|
|
9278
|
+
}
|
|
9279
|
+
});
|
|
9280
|
+
|
|
9281
|
+
// node_modules/gopd/index.js
|
|
9282
|
+
var require_gopd = __commonJS({
|
|
9283
|
+
"node_modules/gopd/index.js"(exports2, module2) {
|
|
9284
|
+
"use strict";
|
|
9285
|
+
var $gOPD = require_gOPD();
|
|
9286
|
+
if ($gOPD) {
|
|
9287
|
+
try {
|
|
9288
|
+
$gOPD([], "length");
|
|
9289
|
+
} catch (e) {
|
|
9290
|
+
$gOPD = null;
|
|
9291
|
+
}
|
|
9292
|
+
}
|
|
9293
|
+
module2.exports = $gOPD;
|
|
9294
|
+
}
|
|
9295
|
+
});
|
|
9296
|
+
|
|
9297
|
+
// node_modules/es-define-property/index.js
|
|
9298
|
+
var require_es_define_property = __commonJS({
|
|
9299
|
+
"node_modules/es-define-property/index.js"(exports2, module2) {
|
|
9300
|
+
"use strict";
|
|
9301
|
+
var $defineProperty = Object.defineProperty || false;
|
|
9302
|
+
if ($defineProperty) {
|
|
9303
|
+
try {
|
|
9304
|
+
$defineProperty({}, "a", { value: 1 });
|
|
9305
|
+
} catch (e) {
|
|
9306
|
+
$defineProperty = false;
|
|
9307
|
+
}
|
|
9308
|
+
}
|
|
9309
|
+
module2.exports = $defineProperty;
|
|
9310
|
+
}
|
|
9311
|
+
});
|
|
9312
|
+
|
|
9313
|
+
// node_modules/has-symbols/shams.js
|
|
9314
|
+
var require_shams = __commonJS({
|
|
9315
|
+
"node_modules/has-symbols/shams.js"(exports2, module2) {
|
|
9316
|
+
"use strict";
|
|
9317
|
+
module2.exports = function hasSymbols() {
|
|
9318
|
+
if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
|
|
9319
|
+
return false;
|
|
9320
|
+
}
|
|
9321
|
+
if (typeof Symbol.iterator === "symbol") {
|
|
9322
|
+
return true;
|
|
9323
|
+
}
|
|
9324
|
+
var obj = {};
|
|
9325
|
+
var sym = Symbol("test");
|
|
9326
|
+
var symObj = Object(sym);
|
|
9327
|
+
if (typeof sym === "string") {
|
|
9328
|
+
return false;
|
|
9329
|
+
}
|
|
9330
|
+
if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
|
|
9331
|
+
return false;
|
|
9332
|
+
}
|
|
9333
|
+
if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
|
|
9334
|
+
return false;
|
|
9335
|
+
}
|
|
9336
|
+
var symVal = 42;
|
|
9337
|
+
obj[sym] = symVal;
|
|
9338
|
+
for (var _ in obj) {
|
|
9339
|
+
return false;
|
|
9340
|
+
}
|
|
9341
|
+
if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
|
|
9342
|
+
return false;
|
|
9343
|
+
}
|
|
9344
|
+
if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) {
|
|
9345
|
+
return false;
|
|
9346
|
+
}
|
|
9347
|
+
var syms = Object.getOwnPropertySymbols(obj);
|
|
9348
|
+
if (syms.length !== 1 || syms[0] !== sym) {
|
|
9349
|
+
return false;
|
|
9350
|
+
}
|
|
9351
|
+
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
|
|
9352
|
+
return false;
|
|
9353
|
+
}
|
|
9354
|
+
if (typeof Object.getOwnPropertyDescriptor === "function") {
|
|
9355
|
+
var descriptor = (
|
|
9356
|
+
/** @type {PropertyDescriptor} */
|
|
9357
|
+
Object.getOwnPropertyDescriptor(obj, sym)
|
|
9358
|
+
);
|
|
9359
|
+
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
9360
|
+
return false;
|
|
9361
|
+
}
|
|
9362
|
+
}
|
|
9363
|
+
return true;
|
|
9364
|
+
};
|
|
9365
|
+
}
|
|
9366
|
+
});
|
|
9367
|
+
|
|
9368
|
+
// node_modules/has-symbols/index.js
|
|
9369
|
+
var require_has_symbols = __commonJS({
|
|
9370
|
+
"node_modules/has-symbols/index.js"(exports2, module2) {
|
|
9371
|
+
"use strict";
|
|
9372
|
+
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
9373
|
+
var hasSymbolSham = require_shams();
|
|
9374
|
+
module2.exports = function hasNativeSymbols() {
|
|
9375
|
+
if (typeof origSymbol !== "function") {
|
|
9376
|
+
return false;
|
|
9377
|
+
}
|
|
9378
|
+
if (typeof Symbol !== "function") {
|
|
9379
|
+
return false;
|
|
9380
|
+
}
|
|
9381
|
+
if (typeof origSymbol("foo") !== "symbol") {
|
|
9382
|
+
return false;
|
|
9383
|
+
}
|
|
9384
|
+
if (typeof Symbol("bar") !== "symbol") {
|
|
9385
|
+
return false;
|
|
9386
|
+
}
|
|
9387
|
+
return hasSymbolSham();
|
|
9388
|
+
};
|
|
9389
|
+
}
|
|
9390
|
+
});
|
|
9391
|
+
|
|
9392
|
+
// node_modules/get-proto/Reflect.getPrototypeOf.js
|
|
9393
|
+
var require_Reflect_getPrototypeOf = __commonJS({
|
|
9394
|
+
"node_modules/get-proto/Reflect.getPrototypeOf.js"(exports2, module2) {
|
|
9395
|
+
"use strict";
|
|
9396
|
+
module2.exports = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
|
|
9397
|
+
}
|
|
9398
|
+
});
|
|
9399
|
+
|
|
9400
|
+
// node_modules/get-proto/Object.getPrototypeOf.js
|
|
9401
|
+
var require_Object_getPrototypeOf = __commonJS({
|
|
9402
|
+
"node_modules/get-proto/Object.getPrototypeOf.js"(exports2, module2) {
|
|
9403
|
+
"use strict";
|
|
9404
|
+
var $Object = require_es_object_atoms();
|
|
9405
|
+
module2.exports = $Object.getPrototypeOf || null;
|
|
9406
|
+
}
|
|
9407
|
+
});
|
|
9408
|
+
|
|
9409
|
+
// node_modules/function-bind/implementation.js
|
|
9410
|
+
var require_implementation = __commonJS({
|
|
9411
|
+
"node_modules/function-bind/implementation.js"(exports2, module2) {
|
|
9412
|
+
"use strict";
|
|
9413
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
9414
|
+
var toStr = Object.prototype.toString;
|
|
9415
|
+
var max = Math.max;
|
|
9416
|
+
var funcType = "[object Function]";
|
|
9417
|
+
var concatty = function concatty2(a, b) {
|
|
9418
|
+
var arr = [];
|
|
9419
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
9420
|
+
arr[i] = a[i];
|
|
9421
|
+
}
|
|
9422
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
9423
|
+
arr[j + a.length] = b[j];
|
|
9424
|
+
}
|
|
9425
|
+
return arr;
|
|
9426
|
+
};
|
|
9427
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
9428
|
+
var arr = [];
|
|
9429
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
9430
|
+
arr[j] = arrLike[i];
|
|
9431
|
+
}
|
|
9432
|
+
return arr;
|
|
9433
|
+
};
|
|
9434
|
+
var joiny = function(arr, joiner) {
|
|
9435
|
+
var str = "";
|
|
9436
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
9437
|
+
str += arr[i];
|
|
9438
|
+
if (i + 1 < arr.length) {
|
|
9439
|
+
str += joiner;
|
|
9440
|
+
}
|
|
9441
|
+
}
|
|
9442
|
+
return str;
|
|
9443
|
+
};
|
|
9444
|
+
module2.exports = function bind2(that) {
|
|
9445
|
+
var target = this;
|
|
9446
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
9447
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
9448
|
+
}
|
|
9449
|
+
var args = slicy(arguments, 1);
|
|
9450
|
+
var bound;
|
|
9451
|
+
var binder = function() {
|
|
9452
|
+
if (this instanceof bound) {
|
|
9453
|
+
var result = target.apply(
|
|
9454
|
+
this,
|
|
9455
|
+
concatty(args, arguments)
|
|
9456
|
+
);
|
|
9457
|
+
if (Object(result) === result) {
|
|
9458
|
+
return result;
|
|
9459
|
+
}
|
|
9460
|
+
return this;
|
|
9461
|
+
}
|
|
9462
|
+
return target.apply(
|
|
9463
|
+
that,
|
|
9464
|
+
concatty(args, arguments)
|
|
9465
|
+
);
|
|
9466
|
+
};
|
|
9467
|
+
var boundLength = max(0, target.length - args.length);
|
|
9468
|
+
var boundArgs = [];
|
|
9469
|
+
for (var i = 0; i < boundLength; i++) {
|
|
9470
|
+
boundArgs[i] = "$" + i;
|
|
9471
|
+
}
|
|
9472
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
9473
|
+
if (target.prototype) {
|
|
9474
|
+
var Empty = function Empty2() {
|
|
9475
|
+
};
|
|
9476
|
+
Empty.prototype = target.prototype;
|
|
9477
|
+
bound.prototype = new Empty();
|
|
9478
|
+
Empty.prototype = null;
|
|
9479
|
+
}
|
|
9480
|
+
return bound;
|
|
9481
|
+
};
|
|
9482
|
+
}
|
|
9483
|
+
});
|
|
9484
|
+
|
|
9485
|
+
// node_modules/function-bind/index.js
|
|
9486
|
+
var require_function_bind = __commonJS({
|
|
9487
|
+
"node_modules/function-bind/index.js"(exports2, module2) {
|
|
9488
|
+
"use strict";
|
|
9489
|
+
var implementation = require_implementation();
|
|
9490
|
+
module2.exports = Function.prototype.bind || implementation;
|
|
9491
|
+
}
|
|
9492
|
+
});
|
|
9493
|
+
|
|
9494
|
+
// node_modules/call-bind-apply-helpers/functionCall.js
|
|
9495
|
+
var require_functionCall = __commonJS({
|
|
9496
|
+
"node_modules/call-bind-apply-helpers/functionCall.js"(exports2, module2) {
|
|
9497
|
+
"use strict";
|
|
9498
|
+
module2.exports = Function.prototype.call;
|
|
9499
|
+
}
|
|
9500
|
+
});
|
|
9501
|
+
|
|
9502
|
+
// node_modules/call-bind-apply-helpers/functionApply.js
|
|
9503
|
+
var require_functionApply = __commonJS({
|
|
9504
|
+
"node_modules/call-bind-apply-helpers/functionApply.js"(exports2, module2) {
|
|
9505
|
+
"use strict";
|
|
9506
|
+
module2.exports = Function.prototype.apply;
|
|
9507
|
+
}
|
|
9508
|
+
});
|
|
9509
|
+
|
|
9510
|
+
// node_modules/call-bind-apply-helpers/reflectApply.js
|
|
9511
|
+
var require_reflectApply = __commonJS({
|
|
9512
|
+
"node_modules/call-bind-apply-helpers/reflectApply.js"(exports2, module2) {
|
|
9513
|
+
"use strict";
|
|
9514
|
+
module2.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
9515
|
+
}
|
|
9516
|
+
});
|
|
9517
|
+
|
|
9518
|
+
// node_modules/call-bind-apply-helpers/actualApply.js
|
|
9519
|
+
var require_actualApply = __commonJS({
|
|
9520
|
+
"node_modules/call-bind-apply-helpers/actualApply.js"(exports2, module2) {
|
|
9521
|
+
"use strict";
|
|
9522
|
+
var bind2 = require_function_bind();
|
|
9523
|
+
var $apply = require_functionApply();
|
|
9524
|
+
var $call = require_functionCall();
|
|
9525
|
+
var $reflectApply = require_reflectApply();
|
|
9526
|
+
module2.exports = $reflectApply || bind2.call($call, $apply);
|
|
9527
|
+
}
|
|
9528
|
+
});
|
|
9529
|
+
|
|
9530
|
+
// node_modules/call-bind-apply-helpers/index.js
|
|
9531
|
+
var require_call_bind_apply_helpers = __commonJS({
|
|
9532
|
+
"node_modules/call-bind-apply-helpers/index.js"(exports2, module2) {
|
|
9533
|
+
"use strict";
|
|
9534
|
+
var bind2 = require_function_bind();
|
|
9535
|
+
var $TypeError = require_type();
|
|
9536
|
+
var $call = require_functionCall();
|
|
9537
|
+
var $actualApply = require_actualApply();
|
|
9538
|
+
module2.exports = function callBindBasic(args) {
|
|
9539
|
+
if (args.length < 1 || typeof args[0] !== "function") {
|
|
9540
|
+
throw new $TypeError("a function is required");
|
|
9541
|
+
}
|
|
9542
|
+
return $actualApply(bind2, $call, args);
|
|
9543
|
+
};
|
|
9544
|
+
}
|
|
9545
|
+
});
|
|
9546
|
+
|
|
9547
|
+
// node_modules/dunder-proto/get.js
|
|
9548
|
+
var require_get = __commonJS({
|
|
9549
|
+
"node_modules/dunder-proto/get.js"(exports2, module2) {
|
|
9550
|
+
"use strict";
|
|
9551
|
+
var callBind = require_call_bind_apply_helpers();
|
|
9552
|
+
var gOPD = require_gopd();
|
|
9553
|
+
var hasProtoAccessor;
|
|
9554
|
+
try {
|
|
9555
|
+
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
9556
|
+
[].__proto__ === Array.prototype;
|
|
9557
|
+
} catch (e) {
|
|
9558
|
+
if (!e || typeof e !== "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") {
|
|
9559
|
+
throw e;
|
|
9560
|
+
}
|
|
9561
|
+
}
|
|
9562
|
+
var desc = !!hasProtoAccessor && gOPD && gOPD(
|
|
9563
|
+
Object.prototype,
|
|
9564
|
+
/** @type {keyof typeof Object.prototype} */
|
|
9565
|
+
"__proto__"
|
|
9566
|
+
);
|
|
9567
|
+
var $Object = Object;
|
|
9568
|
+
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
9569
|
+
module2.exports = desc && typeof desc.get === "function" ? callBind([desc.get]) : typeof $getPrototypeOf === "function" ? (
|
|
9570
|
+
/** @type {import('./get')} */
|
|
9571
|
+
function getDunder(value) {
|
|
9572
|
+
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
9573
|
+
}
|
|
9574
|
+
) : false;
|
|
9575
|
+
}
|
|
9576
|
+
});
|
|
9577
|
+
|
|
9578
|
+
// node_modules/get-proto/index.js
|
|
9579
|
+
var require_get_proto = __commonJS({
|
|
9580
|
+
"node_modules/get-proto/index.js"(exports2, module2) {
|
|
9581
|
+
"use strict";
|
|
9582
|
+
var reflectGetProto = require_Reflect_getPrototypeOf();
|
|
9583
|
+
var originalGetProto = require_Object_getPrototypeOf();
|
|
9584
|
+
var getDunderProto = require_get();
|
|
9585
|
+
module2.exports = reflectGetProto ? function getProto(O) {
|
|
9586
|
+
return reflectGetProto(O);
|
|
9587
|
+
} : originalGetProto ? function getProto(O) {
|
|
9588
|
+
if (!O || typeof O !== "object" && typeof O !== "function") {
|
|
9589
|
+
throw new TypeError("getProto: not an object");
|
|
9590
|
+
}
|
|
9591
|
+
return originalGetProto(O);
|
|
9592
|
+
} : getDunderProto ? function getProto(O) {
|
|
9593
|
+
return getDunderProto(O);
|
|
9594
|
+
} : null;
|
|
9595
|
+
}
|
|
9596
|
+
});
|
|
9597
|
+
|
|
9598
|
+
// node_modules/hasown/index.js
|
|
9599
|
+
var require_hasown = __commonJS({
|
|
9600
|
+
"node_modules/hasown/index.js"(exports2, module2) {
|
|
9601
|
+
"use strict";
|
|
9602
|
+
var call = Function.prototype.call;
|
|
9603
|
+
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
9604
|
+
var bind2 = require_function_bind();
|
|
9605
|
+
module2.exports = bind2.call(call, $hasOwn);
|
|
9606
|
+
}
|
|
9607
|
+
});
|
|
9608
|
+
|
|
9609
|
+
// node_modules/get-intrinsic/index.js
|
|
9610
|
+
var require_get_intrinsic = __commonJS({
|
|
9611
|
+
"node_modules/get-intrinsic/index.js"(exports2, module2) {
|
|
9612
|
+
"use strict";
|
|
9613
|
+
var undefined2;
|
|
9614
|
+
var $Object = require_es_object_atoms();
|
|
9615
|
+
var $Error = require_es_errors();
|
|
9616
|
+
var $EvalError = require_eval();
|
|
9617
|
+
var $RangeError = require_range();
|
|
9618
|
+
var $ReferenceError = require_ref();
|
|
9619
|
+
var $SyntaxError = require_syntax();
|
|
9620
|
+
var $TypeError = require_type();
|
|
9621
|
+
var $URIError = require_uri();
|
|
9622
|
+
var abs = require_abs();
|
|
9623
|
+
var floor = require_floor();
|
|
9624
|
+
var max = require_max();
|
|
9625
|
+
var min = require_min();
|
|
9626
|
+
var pow = require_pow();
|
|
9627
|
+
var round = require_round();
|
|
9628
|
+
var sign = require_sign();
|
|
9629
|
+
var $Function = Function;
|
|
9630
|
+
var getEvalledConstructor = function(expressionSyntax) {
|
|
9631
|
+
try {
|
|
9632
|
+
return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
|
9633
|
+
} catch (e) {
|
|
9634
|
+
}
|
|
9635
|
+
};
|
|
9636
|
+
var $gOPD = require_gopd();
|
|
9637
|
+
var $defineProperty = require_es_define_property();
|
|
9638
|
+
var throwTypeError = function() {
|
|
9639
|
+
throw new $TypeError();
|
|
9640
|
+
};
|
|
9641
|
+
var ThrowTypeError = $gOPD ? function() {
|
|
9642
|
+
try {
|
|
9643
|
+
arguments.callee;
|
|
9644
|
+
return throwTypeError;
|
|
9645
|
+
} catch (calleeThrows) {
|
|
9646
|
+
try {
|
|
9647
|
+
return $gOPD(arguments, "callee").get;
|
|
9648
|
+
} catch (gOPDthrows) {
|
|
9649
|
+
return throwTypeError;
|
|
9650
|
+
}
|
|
9651
|
+
}
|
|
9652
|
+
}() : throwTypeError;
|
|
9653
|
+
var hasSymbols = require_has_symbols()();
|
|
9654
|
+
var getProto = require_get_proto();
|
|
9655
|
+
var $ObjectGPO = require_Object_getPrototypeOf();
|
|
9656
|
+
var $ReflectGPO = require_Reflect_getPrototypeOf();
|
|
9657
|
+
var $apply = require_functionApply();
|
|
9658
|
+
var $call = require_functionCall();
|
|
9659
|
+
var needsEval = {};
|
|
9660
|
+
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
9661
|
+
var INTRINSICS = {
|
|
9662
|
+
__proto__: null,
|
|
9663
|
+
"%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
|
|
9664
|
+
"%Array%": Array,
|
|
9665
|
+
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
|
|
9666
|
+
"%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
|
|
9667
|
+
"%AsyncFromSyncIteratorPrototype%": undefined2,
|
|
9668
|
+
"%AsyncFunction%": needsEval,
|
|
9669
|
+
"%AsyncGenerator%": needsEval,
|
|
9670
|
+
"%AsyncGeneratorFunction%": needsEval,
|
|
9671
|
+
"%AsyncIteratorPrototype%": needsEval,
|
|
9672
|
+
"%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
|
|
9673
|
+
"%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
|
|
9674
|
+
"%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
|
|
9675
|
+
"%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
|
|
9676
|
+
"%Boolean%": Boolean,
|
|
9677
|
+
"%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
|
|
9678
|
+
"%Date%": Date,
|
|
9679
|
+
"%decodeURI%": decodeURI,
|
|
9680
|
+
"%decodeURIComponent%": decodeURIComponent,
|
|
9681
|
+
"%encodeURI%": encodeURI,
|
|
9682
|
+
"%encodeURIComponent%": encodeURIComponent,
|
|
9683
|
+
"%Error%": $Error,
|
|
9684
|
+
"%eval%": eval,
|
|
9685
|
+
// eslint-disable-line no-eval
|
|
9686
|
+
"%EvalError%": $EvalError,
|
|
9687
|
+
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
9688
|
+
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
9689
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
9690
|
+
"%Function%": $Function,
|
|
9691
|
+
"%GeneratorFunction%": needsEval,
|
|
9692
|
+
"%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array,
|
|
9693
|
+
"%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array,
|
|
9694
|
+
"%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
|
|
9695
|
+
"%isFinite%": isFinite,
|
|
9696
|
+
"%isNaN%": isNaN,
|
|
9697
|
+
"%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
9698
|
+
"%JSON%": typeof JSON === "object" ? JSON : undefined2,
|
|
9699
|
+
"%Map%": typeof Map === "undefined" ? undefined2 : Map,
|
|
9700
|
+
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
9701
|
+
"%Math%": Math,
|
|
9702
|
+
"%Number%": Number,
|
|
9703
|
+
"%Object%": $Object,
|
|
9704
|
+
"%Object.getOwnPropertyDescriptor%": $gOPD,
|
|
9705
|
+
"%parseFloat%": parseFloat,
|
|
9706
|
+
"%parseInt%": parseInt,
|
|
9707
|
+
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
|
|
9708
|
+
"%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
|
|
9709
|
+
"%RangeError%": $RangeError,
|
|
9710
|
+
"%ReferenceError%": $ReferenceError,
|
|
9711
|
+
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
9712
|
+
"%RegExp%": RegExp,
|
|
9713
|
+
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
9714
|
+
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
9715
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
|
|
9716
|
+
"%String%": String,
|
|
9717
|
+
"%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
9718
|
+
"%Symbol%": hasSymbols ? Symbol : undefined2,
|
|
9719
|
+
"%SyntaxError%": $SyntaxError,
|
|
9720
|
+
"%ThrowTypeError%": ThrowTypeError,
|
|
9721
|
+
"%TypedArray%": TypedArray,
|
|
9722
|
+
"%TypeError%": $TypeError,
|
|
9723
|
+
"%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array,
|
|
9724
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
|
|
9725
|
+
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
|
|
9726
|
+
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
|
|
9727
|
+
"%URIError%": $URIError,
|
|
9728
|
+
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
|
|
9729
|
+
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
9730
|
+
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet,
|
|
9731
|
+
"%Function.prototype.call%": $call,
|
|
9732
|
+
"%Function.prototype.apply%": $apply,
|
|
9733
|
+
"%Object.defineProperty%": $defineProperty,
|
|
9734
|
+
"%Object.getPrototypeOf%": $ObjectGPO,
|
|
9735
|
+
"%Math.abs%": abs,
|
|
9736
|
+
"%Math.floor%": floor,
|
|
9737
|
+
"%Math.max%": max,
|
|
9738
|
+
"%Math.min%": min,
|
|
9739
|
+
"%Math.pow%": pow,
|
|
9740
|
+
"%Math.round%": round,
|
|
9741
|
+
"%Math.sign%": sign,
|
|
9742
|
+
"%Reflect.getPrototypeOf%": $ReflectGPO
|
|
9743
|
+
};
|
|
9744
|
+
if (getProto) {
|
|
9745
|
+
try {
|
|
9746
|
+
null.error;
|
|
9747
|
+
} catch (e) {
|
|
9748
|
+
errorProto = getProto(getProto(e));
|
|
9749
|
+
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
9750
|
+
}
|
|
9751
|
+
}
|
|
9752
|
+
var errorProto;
|
|
9753
|
+
var doEval = function doEval2(name) {
|
|
9754
|
+
var value;
|
|
9755
|
+
if (name === "%AsyncFunction%") {
|
|
9756
|
+
value = getEvalledConstructor("async function () {}");
|
|
9757
|
+
} else if (name === "%GeneratorFunction%") {
|
|
9758
|
+
value = getEvalledConstructor("function* () {}");
|
|
9759
|
+
} else if (name === "%AsyncGeneratorFunction%") {
|
|
9760
|
+
value = getEvalledConstructor("async function* () {}");
|
|
9761
|
+
} else if (name === "%AsyncGenerator%") {
|
|
9762
|
+
var fn = doEval2("%AsyncGeneratorFunction%");
|
|
9763
|
+
if (fn) {
|
|
9764
|
+
value = fn.prototype;
|
|
9765
|
+
}
|
|
9766
|
+
} else if (name === "%AsyncIteratorPrototype%") {
|
|
9767
|
+
var gen = doEval2("%AsyncGenerator%");
|
|
9768
|
+
if (gen && getProto) {
|
|
9769
|
+
value = getProto(gen.prototype);
|
|
9770
|
+
}
|
|
9771
|
+
}
|
|
9772
|
+
INTRINSICS[name] = value;
|
|
9773
|
+
return value;
|
|
9774
|
+
};
|
|
9775
|
+
var LEGACY_ALIASES = {
|
|
9776
|
+
__proto__: null,
|
|
9777
|
+
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
9778
|
+
"%ArrayPrototype%": ["Array", "prototype"],
|
|
9779
|
+
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
9780
|
+
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
9781
|
+
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
9782
|
+
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
9783
|
+
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
9784
|
+
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
9785
|
+
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
9786
|
+
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
9787
|
+
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
9788
|
+
"%DatePrototype%": ["Date", "prototype"],
|
|
9789
|
+
"%ErrorPrototype%": ["Error", "prototype"],
|
|
9790
|
+
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
9791
|
+
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
9792
|
+
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
9793
|
+
"%FunctionPrototype%": ["Function", "prototype"],
|
|
9794
|
+
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
9795
|
+
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
9796
|
+
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
9797
|
+
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
9798
|
+
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
9799
|
+
"%JSONParse%": ["JSON", "parse"],
|
|
9800
|
+
"%JSONStringify%": ["JSON", "stringify"],
|
|
9801
|
+
"%MapPrototype%": ["Map", "prototype"],
|
|
9802
|
+
"%NumberPrototype%": ["Number", "prototype"],
|
|
9803
|
+
"%ObjectPrototype%": ["Object", "prototype"],
|
|
9804
|
+
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
9805
|
+
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
9806
|
+
"%PromisePrototype%": ["Promise", "prototype"],
|
|
9807
|
+
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
9808
|
+
"%Promise_all%": ["Promise", "all"],
|
|
9809
|
+
"%Promise_reject%": ["Promise", "reject"],
|
|
9810
|
+
"%Promise_resolve%": ["Promise", "resolve"],
|
|
9811
|
+
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
9812
|
+
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
9813
|
+
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
9814
|
+
"%SetPrototype%": ["Set", "prototype"],
|
|
9815
|
+
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
9816
|
+
"%StringPrototype%": ["String", "prototype"],
|
|
9817
|
+
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
9818
|
+
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
9819
|
+
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
9820
|
+
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
9821
|
+
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
9822
|
+
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
9823
|
+
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
9824
|
+
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
9825
|
+
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
9826
|
+
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
9827
|
+
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
9828
|
+
};
|
|
9829
|
+
var bind2 = require_function_bind();
|
|
9830
|
+
var hasOwn = require_hasown();
|
|
9831
|
+
var $concat = bind2.call($call, Array.prototype.concat);
|
|
9832
|
+
var $spliceApply = bind2.call($apply, Array.prototype.splice);
|
|
9833
|
+
var $replace = bind2.call($call, String.prototype.replace);
|
|
9834
|
+
var $strSlice = bind2.call($call, String.prototype.slice);
|
|
9835
|
+
var $exec = bind2.call($call, RegExp.prototype.exec);
|
|
9836
|
+
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
9837
|
+
var reEscapeChar = /\\(\\)?/g;
|
|
9838
|
+
var stringToPath = function stringToPath2(string) {
|
|
9839
|
+
var first = $strSlice(string, 0, 1);
|
|
9840
|
+
var last = $strSlice(string, -1);
|
|
9841
|
+
if (first === "%" && last !== "%") {
|
|
9842
|
+
throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
|
|
9843
|
+
} else if (last === "%" && first !== "%") {
|
|
9844
|
+
throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
|
|
9845
|
+
}
|
|
9846
|
+
var result = [];
|
|
9847
|
+
$replace(string, rePropName, function(match, number, quote, subString) {
|
|
9848
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
|
|
9849
|
+
});
|
|
9850
|
+
return result;
|
|
9851
|
+
};
|
|
9852
|
+
var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
|
|
9853
|
+
var intrinsicName = name;
|
|
9854
|
+
var alias;
|
|
9855
|
+
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
9856
|
+
alias = LEGACY_ALIASES[intrinsicName];
|
|
9857
|
+
intrinsicName = "%" + alias[0] + "%";
|
|
9858
|
+
}
|
|
9859
|
+
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
9860
|
+
var value = INTRINSICS[intrinsicName];
|
|
9861
|
+
if (value === needsEval) {
|
|
9862
|
+
value = doEval(intrinsicName);
|
|
9863
|
+
}
|
|
9864
|
+
if (typeof value === "undefined" && !allowMissing) {
|
|
9865
|
+
throw new $TypeError("intrinsic " + name + " exists, but is not available. Please file an issue!");
|
|
9866
|
+
}
|
|
9867
|
+
return {
|
|
9868
|
+
alias,
|
|
9869
|
+
name: intrinsicName,
|
|
9870
|
+
value
|
|
9871
|
+
};
|
|
9872
|
+
}
|
|
9873
|
+
throw new $SyntaxError("intrinsic " + name + " does not exist!");
|
|
9874
|
+
};
|
|
9875
|
+
module2.exports = function GetIntrinsic(name, allowMissing) {
|
|
9876
|
+
if (typeof name !== "string" || name.length === 0) {
|
|
9877
|
+
throw new $TypeError("intrinsic name must be a non-empty string");
|
|
9878
|
+
}
|
|
9879
|
+
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
9880
|
+
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
9881
|
+
}
|
|
9882
|
+
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
9883
|
+
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
9884
|
+
}
|
|
9885
|
+
var parts = stringToPath(name);
|
|
9886
|
+
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
9887
|
+
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
9888
|
+
var intrinsicRealName = intrinsic.name;
|
|
9889
|
+
var value = intrinsic.value;
|
|
9890
|
+
var skipFurtherCaching = false;
|
|
9891
|
+
var alias = intrinsic.alias;
|
|
9892
|
+
if (alias) {
|
|
9893
|
+
intrinsicBaseName = alias[0];
|
|
9894
|
+
$spliceApply(parts, $concat([0, 1], alias));
|
|
9895
|
+
}
|
|
9896
|
+
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
9897
|
+
var part = parts[i];
|
|
9898
|
+
var first = $strSlice(part, 0, 1);
|
|
9899
|
+
var last = $strSlice(part, -1);
|
|
9900
|
+
if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
|
|
9901
|
+
throw new $SyntaxError("property names with quotes must have matching quotes");
|
|
9902
|
+
}
|
|
9903
|
+
if (part === "constructor" || !isOwn) {
|
|
9904
|
+
skipFurtherCaching = true;
|
|
9905
|
+
}
|
|
9906
|
+
intrinsicBaseName += "." + part;
|
|
9907
|
+
intrinsicRealName = "%" + intrinsicBaseName + "%";
|
|
9908
|
+
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
9909
|
+
value = INTRINSICS[intrinsicRealName];
|
|
9910
|
+
} else if (value != null) {
|
|
9911
|
+
if (!(part in value)) {
|
|
9912
|
+
if (!allowMissing) {
|
|
9913
|
+
throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
|
|
9914
|
+
}
|
|
9915
|
+
return void undefined2;
|
|
9916
|
+
}
|
|
9917
|
+
if ($gOPD && i + 1 >= parts.length) {
|
|
9918
|
+
var desc = $gOPD(value, part);
|
|
9919
|
+
isOwn = !!desc;
|
|
9920
|
+
if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
|
|
9921
|
+
value = desc.get;
|
|
9922
|
+
} else {
|
|
9923
|
+
value = value[part];
|
|
9924
|
+
}
|
|
9925
|
+
} else {
|
|
9926
|
+
isOwn = hasOwn(value, part);
|
|
9927
|
+
value = value[part];
|
|
9928
|
+
}
|
|
9929
|
+
if (isOwn && !skipFurtherCaching) {
|
|
9930
|
+
INTRINSICS[intrinsicRealName] = value;
|
|
9931
|
+
}
|
|
9932
|
+
}
|
|
9933
|
+
}
|
|
9934
|
+
return value;
|
|
9935
|
+
};
|
|
9936
|
+
}
|
|
9937
|
+
});
|
|
9938
|
+
|
|
9939
|
+
// node_modules/has-tostringtag/shams.js
|
|
9940
|
+
var require_shams2 = __commonJS({
|
|
9941
|
+
"node_modules/has-tostringtag/shams.js"(exports2, module2) {
|
|
9942
|
+
"use strict";
|
|
9943
|
+
var hasSymbols = require_shams();
|
|
9944
|
+
module2.exports = function hasToStringTagShams() {
|
|
9945
|
+
return hasSymbols() && !!Symbol.toStringTag;
|
|
9946
|
+
};
|
|
9947
|
+
}
|
|
9948
|
+
});
|
|
9949
|
+
|
|
9950
|
+
// node_modules/es-set-tostringtag/index.js
|
|
9951
|
+
var require_es_set_tostringtag = __commonJS({
|
|
9952
|
+
"node_modules/es-set-tostringtag/index.js"(exports2, module2) {
|
|
9953
|
+
"use strict";
|
|
9954
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
9955
|
+
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
|
|
9956
|
+
var hasToStringTag = require_shams2()();
|
|
9957
|
+
var hasOwn = require_hasown();
|
|
9958
|
+
var $TypeError = require_type();
|
|
9959
|
+
var toStringTag = hasToStringTag ? Symbol.toStringTag : null;
|
|
9960
|
+
module2.exports = function setToStringTag(object, value) {
|
|
9961
|
+
var overrideIfSet = arguments.length > 2 && !!arguments[2] && arguments[2].force;
|
|
9962
|
+
var nonConfigurable = arguments.length > 2 && !!arguments[2] && arguments[2].nonConfigurable;
|
|
9963
|
+
if (typeof overrideIfSet !== "undefined" && typeof overrideIfSet !== "boolean" || typeof nonConfigurable !== "undefined" && typeof nonConfigurable !== "boolean") {
|
|
9964
|
+
throw new $TypeError("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");
|
|
9965
|
+
}
|
|
9966
|
+
if (toStringTag && (overrideIfSet || !hasOwn(object, toStringTag))) {
|
|
9967
|
+
if ($defineProperty) {
|
|
9968
|
+
$defineProperty(object, toStringTag, {
|
|
9969
|
+
configurable: !nonConfigurable,
|
|
9970
|
+
enumerable: false,
|
|
9971
|
+
value,
|
|
9972
|
+
writable: false
|
|
9973
|
+
});
|
|
9974
|
+
} else {
|
|
9975
|
+
object[toStringTag] = value;
|
|
9976
|
+
}
|
|
9977
|
+
}
|
|
9978
|
+
};
|
|
9979
|
+
}
|
|
9980
|
+
});
|
|
9981
|
+
|
|
9137
9982
|
// node_modules/form-data/lib/populate.js
|
|
9138
9983
|
var require_populate = __commonJS({
|
|
9139
9984
|
"node_modules/form-data/lib/populate.js"(exports2, module2) {
|
|
@@ -9161,6 +10006,7 @@ var require_form_data = __commonJS({
|
|
|
9161
10006
|
var Stream = require("stream").Stream;
|
|
9162
10007
|
var mime = require_mime_types();
|
|
9163
10008
|
var asynckit = require_asynckit();
|
|
10009
|
+
var setToStringTag = require_es_set_tostringtag();
|
|
9164
10010
|
var populate = require_populate();
|
|
9165
10011
|
module2.exports = FormData3;
|
|
9166
10012
|
util3.inherits(FormData3, CombinedStream);
|
|
@@ -9210,7 +10056,7 @@ var require_form_data = __commonJS({
|
|
|
9210
10056
|
}
|
|
9211
10057
|
this._valueLength += valueLength;
|
|
9212
10058
|
this._overheadLength += Buffer.byteLength(header) + FormData3.LINE_BREAK.length;
|
|
9213
|
-
if (!value || !value.path && !(value.readable &&
|
|
10059
|
+
if (!value || !value.path && !(value.readable && Object.prototype.hasOwnProperty.call(value, "httpVersion")) && !(value instanceof Stream)) {
|
|
9214
10060
|
return;
|
|
9215
10061
|
}
|
|
9216
10062
|
if (!options.knownLength) {
|
|
@@ -9218,7 +10064,7 @@ var require_form_data = __commonJS({
|
|
|
9218
10064
|
}
|
|
9219
10065
|
};
|
|
9220
10066
|
FormData3.prototype._lengthRetriever = function(value, callback) {
|
|
9221
|
-
if (
|
|
10067
|
+
if (Object.prototype.hasOwnProperty.call(value, "fd")) {
|
|
9222
10068
|
if (value.end != void 0 && value.end != Infinity && value.start != void 0) {
|
|
9223
10069
|
callback(null, value.end + 1 - (value.start ? value.start : 0));
|
|
9224
10070
|
} else {
|
|
@@ -9232,9 +10078,9 @@ var require_form_data = __commonJS({
|
|
|
9232
10078
|
callback(null, fileSize);
|
|
9233
10079
|
});
|
|
9234
10080
|
}
|
|
9235
|
-
} else if (
|
|
10081
|
+
} else if (Object.prototype.hasOwnProperty.call(value, "httpVersion")) {
|
|
9236
10082
|
callback(null, +value.headers["content-length"]);
|
|
9237
|
-
} else if (
|
|
10083
|
+
} else if (Object.prototype.hasOwnProperty.call(value, "httpModule")) {
|
|
9238
10084
|
value.on("response", function(response) {
|
|
9239
10085
|
value.pause();
|
|
9240
10086
|
callback(null, +response.headers["content-length"]);
|
|
@@ -9262,16 +10108,17 @@ var require_form_data = __commonJS({
|
|
|
9262
10108
|
}
|
|
9263
10109
|
var header;
|
|
9264
10110
|
for (var prop in headers) {
|
|
9265
|
-
if (
|
|
9266
|
-
|
|
9267
|
-
|
|
9268
|
-
|
|
9269
|
-
|
|
9270
|
-
|
|
9271
|
-
|
|
9272
|
-
|
|
9273
|
-
|
|
9274
|
-
|
|
10111
|
+
if (Object.prototype.hasOwnProperty.call(headers, prop)) {
|
|
10112
|
+
header = headers[prop];
|
|
10113
|
+
if (header == null) {
|
|
10114
|
+
continue;
|
|
10115
|
+
}
|
|
10116
|
+
if (!Array.isArray(header)) {
|
|
10117
|
+
header = [header];
|
|
10118
|
+
}
|
|
10119
|
+
if (header.length) {
|
|
10120
|
+
contents += prop + ": " + header.join("; ") + FormData3.LINE_BREAK;
|
|
10121
|
+
}
|
|
9275
10122
|
}
|
|
9276
10123
|
}
|
|
9277
10124
|
return "--" + this.getBoundary() + FormData3.LINE_BREAK + contents + FormData3.LINE_BREAK;
|
|
@@ -9282,7 +10129,7 @@ var require_form_data = __commonJS({
|
|
|
9282
10129
|
filename = path.normalize(options.filepath).replace(/\\/g, "/");
|
|
9283
10130
|
} else if (options.filename || value.name || value.path) {
|
|
9284
10131
|
filename = path.basename(options.filename || value.name || value.path);
|
|
9285
|
-
} else if (value.readable &&
|
|
10132
|
+
} else if (value.readable && Object.prototype.hasOwnProperty.call(value, "httpVersion")) {
|
|
9286
10133
|
filename = path.basename(value.client._httpMessage.path || "");
|
|
9287
10134
|
}
|
|
9288
10135
|
if (filename) {
|
|
@@ -9298,7 +10145,7 @@ var require_form_data = __commonJS({
|
|
|
9298
10145
|
if (!contentType && value.path) {
|
|
9299
10146
|
contentType = mime.lookup(value.path);
|
|
9300
10147
|
}
|
|
9301
|
-
if (!contentType && value.readable &&
|
|
10148
|
+
if (!contentType && value.readable && Object.prototype.hasOwnProperty.call(value, "httpVersion")) {
|
|
9302
10149
|
contentType = value.headers["content-type"];
|
|
9303
10150
|
}
|
|
9304
10151
|
if (!contentType && (options.filepath || options.filename)) {
|
|
@@ -9328,7 +10175,7 @@ var require_form_data = __commonJS({
|
|
|
9328
10175
|
"content-type": "multipart/form-data; boundary=" + this.getBoundary()
|
|
9329
10176
|
};
|
|
9330
10177
|
for (header in userHeaders) {
|
|
9331
|
-
if (
|
|
10178
|
+
if (Object.prototype.hasOwnProperty.call(userHeaders, header)) {
|
|
9332
10179
|
formHeaders[header.toLowerCase()] = userHeaders[header];
|
|
9333
10180
|
}
|
|
9334
10181
|
}
|
|
@@ -9459,6 +10306,7 @@ var require_form_data = __commonJS({
|
|
|
9459
10306
|
FormData3.prototype.toString = function() {
|
|
9460
10307
|
return "[object FormData]";
|
|
9461
10308
|
};
|
|
10309
|
+
setToStringTag(FormData3, "FormData");
|
|
9462
10310
|
}
|
|
9463
10311
|
});
|
|
9464
10312
|
|