@rio-cloud/cdk-v2-constructs 7.5.2 → 7.5.4-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -80745,6 +80745,851 @@ var require_asynckit = __commonJS({
80745
80745
  }
80746
80746
  });
80747
80747
 
80748
+ // node_modules/es-object-atoms/index.js
80749
+ var require_es_object_atoms = __commonJS({
80750
+ "node_modules/es-object-atoms/index.js"(exports2, module2) {
80751
+ "use strict";
80752
+ module2.exports = Object;
80753
+ }
80754
+ });
80755
+
80756
+ // node_modules/es-errors/index.js
80757
+ var require_es_errors = __commonJS({
80758
+ "node_modules/es-errors/index.js"(exports2, module2) {
80759
+ "use strict";
80760
+ module2.exports = Error;
80761
+ }
80762
+ });
80763
+
80764
+ // node_modules/es-errors/eval.js
80765
+ var require_eval = __commonJS({
80766
+ "node_modules/es-errors/eval.js"(exports2, module2) {
80767
+ "use strict";
80768
+ module2.exports = EvalError;
80769
+ }
80770
+ });
80771
+
80772
+ // node_modules/es-errors/range.js
80773
+ var require_range = __commonJS({
80774
+ "node_modules/es-errors/range.js"(exports2, module2) {
80775
+ "use strict";
80776
+ module2.exports = RangeError;
80777
+ }
80778
+ });
80779
+
80780
+ // node_modules/es-errors/ref.js
80781
+ var require_ref = __commonJS({
80782
+ "node_modules/es-errors/ref.js"(exports2, module2) {
80783
+ "use strict";
80784
+ module2.exports = ReferenceError;
80785
+ }
80786
+ });
80787
+
80788
+ // node_modules/es-errors/syntax.js
80789
+ var require_syntax = __commonJS({
80790
+ "node_modules/es-errors/syntax.js"(exports2, module2) {
80791
+ "use strict";
80792
+ module2.exports = SyntaxError;
80793
+ }
80794
+ });
80795
+
80796
+ // node_modules/es-errors/type.js
80797
+ var require_type = __commonJS({
80798
+ "node_modules/es-errors/type.js"(exports2, module2) {
80799
+ "use strict";
80800
+ module2.exports = TypeError;
80801
+ }
80802
+ });
80803
+
80804
+ // node_modules/es-errors/uri.js
80805
+ var require_uri = __commonJS({
80806
+ "node_modules/es-errors/uri.js"(exports2, module2) {
80807
+ "use strict";
80808
+ module2.exports = URIError;
80809
+ }
80810
+ });
80811
+
80812
+ // node_modules/math-intrinsics/abs.js
80813
+ var require_abs = __commonJS({
80814
+ "node_modules/math-intrinsics/abs.js"(exports2, module2) {
80815
+ "use strict";
80816
+ module2.exports = Math.abs;
80817
+ }
80818
+ });
80819
+
80820
+ // node_modules/math-intrinsics/floor.js
80821
+ var require_floor = __commonJS({
80822
+ "node_modules/math-intrinsics/floor.js"(exports2, module2) {
80823
+ "use strict";
80824
+ module2.exports = Math.floor;
80825
+ }
80826
+ });
80827
+
80828
+ // node_modules/math-intrinsics/max.js
80829
+ var require_max = __commonJS({
80830
+ "node_modules/math-intrinsics/max.js"(exports2, module2) {
80831
+ "use strict";
80832
+ module2.exports = Math.max;
80833
+ }
80834
+ });
80835
+
80836
+ // node_modules/math-intrinsics/min.js
80837
+ var require_min = __commonJS({
80838
+ "node_modules/math-intrinsics/min.js"(exports2, module2) {
80839
+ "use strict";
80840
+ module2.exports = Math.min;
80841
+ }
80842
+ });
80843
+
80844
+ // node_modules/math-intrinsics/pow.js
80845
+ var require_pow = __commonJS({
80846
+ "node_modules/math-intrinsics/pow.js"(exports2, module2) {
80847
+ "use strict";
80848
+ module2.exports = Math.pow;
80849
+ }
80850
+ });
80851
+
80852
+ // node_modules/math-intrinsics/round.js
80853
+ var require_round = __commonJS({
80854
+ "node_modules/math-intrinsics/round.js"(exports2, module2) {
80855
+ "use strict";
80856
+ module2.exports = Math.round;
80857
+ }
80858
+ });
80859
+
80860
+ // node_modules/math-intrinsics/isNaN.js
80861
+ var require_isNaN = __commonJS({
80862
+ "node_modules/math-intrinsics/isNaN.js"(exports2, module2) {
80863
+ "use strict";
80864
+ module2.exports = Number.isNaN || function isNaN2(a3) {
80865
+ return a3 !== a3;
80866
+ };
80867
+ }
80868
+ });
80869
+
80870
+ // node_modules/math-intrinsics/sign.js
80871
+ var require_sign = __commonJS({
80872
+ "node_modules/math-intrinsics/sign.js"(exports2, module2) {
80873
+ "use strict";
80874
+ var $isNaN = require_isNaN();
80875
+ module2.exports = function sign(number) {
80876
+ if ($isNaN(number) || number === 0) {
80877
+ return number;
80878
+ }
80879
+ return number < 0 ? -1 : 1;
80880
+ };
80881
+ }
80882
+ });
80883
+
80884
+ // node_modules/gopd/gOPD.js
80885
+ var require_gOPD = __commonJS({
80886
+ "node_modules/gopd/gOPD.js"(exports2, module2) {
80887
+ "use strict";
80888
+ module2.exports = Object.getOwnPropertyDescriptor;
80889
+ }
80890
+ });
80891
+
80892
+ // node_modules/gopd/index.js
80893
+ var require_gopd = __commonJS({
80894
+ "node_modules/gopd/index.js"(exports2, module2) {
80895
+ "use strict";
80896
+ var $gOPD = require_gOPD();
80897
+ if ($gOPD) {
80898
+ try {
80899
+ $gOPD([], "length");
80900
+ } catch (e3) {
80901
+ $gOPD = null;
80902
+ }
80903
+ }
80904
+ module2.exports = $gOPD;
80905
+ }
80906
+ });
80907
+
80908
+ // node_modules/es-define-property/index.js
80909
+ var require_es_define_property = __commonJS({
80910
+ "node_modules/es-define-property/index.js"(exports2, module2) {
80911
+ "use strict";
80912
+ var $defineProperty = Object.defineProperty || false;
80913
+ if ($defineProperty) {
80914
+ try {
80915
+ $defineProperty({}, "a", { value: 1 });
80916
+ } catch (e3) {
80917
+ $defineProperty = false;
80918
+ }
80919
+ }
80920
+ module2.exports = $defineProperty;
80921
+ }
80922
+ });
80923
+
80924
+ // node_modules/has-symbols/shams.js
80925
+ var require_shams = __commonJS({
80926
+ "node_modules/has-symbols/shams.js"(exports2, module2) {
80927
+ "use strict";
80928
+ module2.exports = function hasSymbols() {
80929
+ if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
80930
+ return false;
80931
+ }
80932
+ if (typeof Symbol.iterator === "symbol") {
80933
+ return true;
80934
+ }
80935
+ var obj = {};
80936
+ var sym = Symbol("test");
80937
+ var symObj = Object(sym);
80938
+ if (typeof sym === "string") {
80939
+ return false;
80940
+ }
80941
+ if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
80942
+ return false;
80943
+ }
80944
+ if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
80945
+ return false;
80946
+ }
80947
+ var symVal = 42;
80948
+ obj[sym] = symVal;
80949
+ for (var _2 in obj) {
80950
+ return false;
80951
+ }
80952
+ if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
80953
+ return false;
80954
+ }
80955
+ if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) {
80956
+ return false;
80957
+ }
80958
+ var syms = Object.getOwnPropertySymbols(obj);
80959
+ if (syms.length !== 1 || syms[0] !== sym) {
80960
+ return false;
80961
+ }
80962
+ if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
80963
+ return false;
80964
+ }
80965
+ if (typeof Object.getOwnPropertyDescriptor === "function") {
80966
+ var descriptor = (
80967
+ /** @type {PropertyDescriptor} */
80968
+ Object.getOwnPropertyDescriptor(obj, sym)
80969
+ );
80970
+ if (descriptor.value !== symVal || descriptor.enumerable !== true) {
80971
+ return false;
80972
+ }
80973
+ }
80974
+ return true;
80975
+ };
80976
+ }
80977
+ });
80978
+
80979
+ // node_modules/has-symbols/index.js
80980
+ var require_has_symbols = __commonJS({
80981
+ "node_modules/has-symbols/index.js"(exports2, module2) {
80982
+ "use strict";
80983
+ var origSymbol = typeof Symbol !== "undefined" && Symbol;
80984
+ var hasSymbolSham = require_shams();
80985
+ module2.exports = function hasNativeSymbols() {
80986
+ if (typeof origSymbol !== "function") {
80987
+ return false;
80988
+ }
80989
+ if (typeof Symbol !== "function") {
80990
+ return false;
80991
+ }
80992
+ if (typeof origSymbol("foo") !== "symbol") {
80993
+ return false;
80994
+ }
80995
+ if (typeof Symbol("bar") !== "symbol") {
80996
+ return false;
80997
+ }
80998
+ return hasSymbolSham();
80999
+ };
81000
+ }
81001
+ });
81002
+
81003
+ // node_modules/get-proto/Reflect.getPrototypeOf.js
81004
+ var require_Reflect_getPrototypeOf = __commonJS({
81005
+ "node_modules/get-proto/Reflect.getPrototypeOf.js"(exports2, module2) {
81006
+ "use strict";
81007
+ module2.exports = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
81008
+ }
81009
+ });
81010
+
81011
+ // node_modules/get-proto/Object.getPrototypeOf.js
81012
+ var require_Object_getPrototypeOf = __commonJS({
81013
+ "node_modules/get-proto/Object.getPrototypeOf.js"(exports2, module2) {
81014
+ "use strict";
81015
+ var $Object = require_es_object_atoms();
81016
+ module2.exports = $Object.getPrototypeOf || null;
81017
+ }
81018
+ });
81019
+
81020
+ // node_modules/function-bind/implementation.js
81021
+ var require_implementation = __commonJS({
81022
+ "node_modules/function-bind/implementation.js"(exports2, module2) {
81023
+ "use strict";
81024
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
81025
+ var toStr = Object.prototype.toString;
81026
+ var max = Math.max;
81027
+ var funcType = "[object Function]";
81028
+ var concatty = function concatty2(a3, b3) {
81029
+ var arr = [];
81030
+ for (var i3 = 0; i3 < a3.length; i3 += 1) {
81031
+ arr[i3] = a3[i3];
81032
+ }
81033
+ for (var j3 = 0; j3 < b3.length; j3 += 1) {
81034
+ arr[j3 + a3.length] = b3[j3];
81035
+ }
81036
+ return arr;
81037
+ };
81038
+ var slicy = function slicy2(arrLike, offset) {
81039
+ var arr = [];
81040
+ for (var i3 = offset || 0, j3 = 0; i3 < arrLike.length; i3 += 1, j3 += 1) {
81041
+ arr[j3] = arrLike[i3];
81042
+ }
81043
+ return arr;
81044
+ };
81045
+ var joiny = function(arr, joiner) {
81046
+ var str = "";
81047
+ for (var i3 = 0; i3 < arr.length; i3 += 1) {
81048
+ str += arr[i3];
81049
+ if (i3 + 1 < arr.length) {
81050
+ str += joiner;
81051
+ }
81052
+ }
81053
+ return str;
81054
+ };
81055
+ module2.exports = function bind(that) {
81056
+ var target = this;
81057
+ if (typeof target !== "function" || toStr.apply(target) !== funcType) {
81058
+ throw new TypeError(ERROR_MESSAGE + target);
81059
+ }
81060
+ var args = slicy(arguments, 1);
81061
+ var bound;
81062
+ var binder = function() {
81063
+ if (this instanceof bound) {
81064
+ var result = target.apply(
81065
+ this,
81066
+ concatty(args, arguments)
81067
+ );
81068
+ if (Object(result) === result) {
81069
+ return result;
81070
+ }
81071
+ return this;
81072
+ }
81073
+ return target.apply(
81074
+ that,
81075
+ concatty(args, arguments)
81076
+ );
81077
+ };
81078
+ var boundLength = max(0, target.length - args.length);
81079
+ var boundArgs = [];
81080
+ for (var i3 = 0; i3 < boundLength; i3++) {
81081
+ boundArgs[i3] = "$" + i3;
81082
+ }
81083
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
81084
+ if (target.prototype) {
81085
+ var Empty = function Empty2() {
81086
+ };
81087
+ Empty.prototype = target.prototype;
81088
+ bound.prototype = new Empty();
81089
+ Empty.prototype = null;
81090
+ }
81091
+ return bound;
81092
+ };
81093
+ }
81094
+ });
81095
+
81096
+ // node_modules/function-bind/index.js
81097
+ var require_function_bind = __commonJS({
81098
+ "node_modules/function-bind/index.js"(exports2, module2) {
81099
+ "use strict";
81100
+ var implementation = require_implementation();
81101
+ module2.exports = Function.prototype.bind || implementation;
81102
+ }
81103
+ });
81104
+
81105
+ // node_modules/call-bind-apply-helpers/functionCall.js
81106
+ var require_functionCall = __commonJS({
81107
+ "node_modules/call-bind-apply-helpers/functionCall.js"(exports2, module2) {
81108
+ "use strict";
81109
+ module2.exports = Function.prototype.call;
81110
+ }
81111
+ });
81112
+
81113
+ // node_modules/call-bind-apply-helpers/functionApply.js
81114
+ var require_functionApply = __commonJS({
81115
+ "node_modules/call-bind-apply-helpers/functionApply.js"(exports2, module2) {
81116
+ "use strict";
81117
+ module2.exports = Function.prototype.apply;
81118
+ }
81119
+ });
81120
+
81121
+ // node_modules/call-bind-apply-helpers/reflectApply.js
81122
+ var require_reflectApply = __commonJS({
81123
+ "node_modules/call-bind-apply-helpers/reflectApply.js"(exports2, module2) {
81124
+ "use strict";
81125
+ module2.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
81126
+ }
81127
+ });
81128
+
81129
+ // node_modules/call-bind-apply-helpers/actualApply.js
81130
+ var require_actualApply = __commonJS({
81131
+ "node_modules/call-bind-apply-helpers/actualApply.js"(exports2, module2) {
81132
+ "use strict";
81133
+ var bind = require_function_bind();
81134
+ var $apply = require_functionApply();
81135
+ var $call = require_functionCall();
81136
+ var $reflectApply = require_reflectApply();
81137
+ module2.exports = $reflectApply || bind.call($call, $apply);
81138
+ }
81139
+ });
81140
+
81141
+ // node_modules/call-bind-apply-helpers/index.js
81142
+ var require_call_bind_apply_helpers = __commonJS({
81143
+ "node_modules/call-bind-apply-helpers/index.js"(exports2, module2) {
81144
+ "use strict";
81145
+ var bind = require_function_bind();
81146
+ var $TypeError = require_type();
81147
+ var $call = require_functionCall();
81148
+ var $actualApply = require_actualApply();
81149
+ module2.exports = function callBindBasic(args) {
81150
+ if (args.length < 1 || typeof args[0] !== "function") {
81151
+ throw new $TypeError("a function is required");
81152
+ }
81153
+ return $actualApply(bind, $call, args);
81154
+ };
81155
+ }
81156
+ });
81157
+
81158
+ // node_modules/dunder-proto/get.js
81159
+ var require_get = __commonJS({
81160
+ "node_modules/dunder-proto/get.js"(exports2, module2) {
81161
+ "use strict";
81162
+ var callBind = require_call_bind_apply_helpers();
81163
+ var gOPD = require_gopd();
81164
+ var hasProtoAccessor;
81165
+ try {
81166
+ hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
81167
+ [].__proto__ === Array.prototype;
81168
+ } catch (e3) {
81169
+ if (!e3 || typeof e3 !== "object" || !("code" in e3) || e3.code !== "ERR_PROTO_ACCESS") {
81170
+ throw e3;
81171
+ }
81172
+ }
81173
+ var desc = !!hasProtoAccessor && gOPD && gOPD(
81174
+ Object.prototype,
81175
+ /** @type {keyof typeof Object.prototype} */
81176
+ "__proto__"
81177
+ );
81178
+ var $Object = Object;
81179
+ var $getPrototypeOf = $Object.getPrototypeOf;
81180
+ module2.exports = desc && typeof desc.get === "function" ? callBind([desc.get]) : typeof $getPrototypeOf === "function" ? (
81181
+ /** @type {import('./get')} */
81182
+ function getDunder(value) {
81183
+ return $getPrototypeOf(value == null ? value : $Object(value));
81184
+ }
81185
+ ) : false;
81186
+ }
81187
+ });
81188
+
81189
+ // node_modules/get-proto/index.js
81190
+ var require_get_proto = __commonJS({
81191
+ "node_modules/get-proto/index.js"(exports2, module2) {
81192
+ "use strict";
81193
+ var reflectGetProto = require_Reflect_getPrototypeOf();
81194
+ var originalGetProto = require_Object_getPrototypeOf();
81195
+ var getDunderProto = require_get();
81196
+ module2.exports = reflectGetProto ? function getProto(O) {
81197
+ return reflectGetProto(O);
81198
+ } : originalGetProto ? function getProto(O) {
81199
+ if (!O || typeof O !== "object" && typeof O !== "function") {
81200
+ throw new TypeError("getProto: not an object");
81201
+ }
81202
+ return originalGetProto(O);
81203
+ } : getDunderProto ? function getProto(O) {
81204
+ return getDunderProto(O);
81205
+ } : null;
81206
+ }
81207
+ });
81208
+
81209
+ // node_modules/hasown/index.js
81210
+ var require_hasown = __commonJS({
81211
+ "node_modules/hasown/index.js"(exports2, module2) {
81212
+ "use strict";
81213
+ var call = Function.prototype.call;
81214
+ var $hasOwn = Object.prototype.hasOwnProperty;
81215
+ var bind = require_function_bind();
81216
+ module2.exports = bind.call(call, $hasOwn);
81217
+ }
81218
+ });
81219
+
81220
+ // node_modules/get-intrinsic/index.js
81221
+ var require_get_intrinsic = __commonJS({
81222
+ "node_modules/get-intrinsic/index.js"(exports2, module2) {
81223
+ "use strict";
81224
+ var undefined2;
81225
+ var $Object = require_es_object_atoms();
81226
+ var $Error = require_es_errors();
81227
+ var $EvalError = require_eval();
81228
+ var $RangeError = require_range();
81229
+ var $ReferenceError = require_ref();
81230
+ var $SyntaxError = require_syntax();
81231
+ var $TypeError = require_type();
81232
+ var $URIError = require_uri();
81233
+ var abs = require_abs();
81234
+ var floor = require_floor();
81235
+ var max = require_max();
81236
+ var min = require_min();
81237
+ var pow = require_pow();
81238
+ var round = require_round();
81239
+ var sign = require_sign();
81240
+ var $Function = Function;
81241
+ var getEvalledConstructor = function(expressionSyntax) {
81242
+ try {
81243
+ return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
81244
+ } catch (e3) {
81245
+ }
81246
+ };
81247
+ var $gOPD = require_gopd();
81248
+ var $defineProperty = require_es_define_property();
81249
+ var throwTypeError = function() {
81250
+ throw new $TypeError();
81251
+ };
81252
+ var ThrowTypeError = $gOPD ? function() {
81253
+ try {
81254
+ arguments.callee;
81255
+ return throwTypeError;
81256
+ } catch (calleeThrows) {
81257
+ try {
81258
+ return $gOPD(arguments, "callee").get;
81259
+ } catch (gOPDthrows) {
81260
+ return throwTypeError;
81261
+ }
81262
+ }
81263
+ }() : throwTypeError;
81264
+ var hasSymbols = require_has_symbols()();
81265
+ var getProto = require_get_proto();
81266
+ var $ObjectGPO = require_Object_getPrototypeOf();
81267
+ var $ReflectGPO = require_Reflect_getPrototypeOf();
81268
+ var $apply = require_functionApply();
81269
+ var $call = require_functionCall();
81270
+ var needsEval = {};
81271
+ var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
81272
+ var INTRINSICS = {
81273
+ __proto__: null,
81274
+ "%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
81275
+ "%Array%": Array,
81276
+ "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
81277
+ "%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
81278
+ "%AsyncFromSyncIteratorPrototype%": undefined2,
81279
+ "%AsyncFunction%": needsEval,
81280
+ "%AsyncGenerator%": needsEval,
81281
+ "%AsyncGeneratorFunction%": needsEval,
81282
+ "%AsyncIteratorPrototype%": needsEval,
81283
+ "%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
81284
+ "%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
81285
+ "%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
81286
+ "%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
81287
+ "%Boolean%": Boolean,
81288
+ "%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
81289
+ "%Date%": Date,
81290
+ "%decodeURI%": decodeURI,
81291
+ "%decodeURIComponent%": decodeURIComponent,
81292
+ "%encodeURI%": encodeURI,
81293
+ "%encodeURIComponent%": encodeURIComponent,
81294
+ "%Error%": $Error,
81295
+ "%eval%": eval,
81296
+ // eslint-disable-line no-eval
81297
+ "%EvalError%": $EvalError,
81298
+ "%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
81299
+ "%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
81300
+ "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
81301
+ "%Function%": $Function,
81302
+ "%GeneratorFunction%": needsEval,
81303
+ "%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array,
81304
+ "%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array,
81305
+ "%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
81306
+ "%isFinite%": isFinite,
81307
+ "%isNaN%": isNaN,
81308
+ "%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
81309
+ "%JSON%": typeof JSON === "object" ? JSON : undefined2,
81310
+ "%Map%": typeof Map === "undefined" ? undefined2 : Map,
81311
+ "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
81312
+ "%Math%": Math,
81313
+ "%Number%": Number,
81314
+ "%Object%": $Object,
81315
+ "%Object.getOwnPropertyDescriptor%": $gOPD,
81316
+ "%parseFloat%": parseFloat,
81317
+ "%parseInt%": parseInt,
81318
+ "%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
81319
+ "%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
81320
+ "%RangeError%": $RangeError,
81321
+ "%ReferenceError%": $ReferenceError,
81322
+ "%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
81323
+ "%RegExp%": RegExp,
81324
+ "%Set%": typeof Set === "undefined" ? undefined2 : Set,
81325
+ "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
81326
+ "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
81327
+ "%String%": String,
81328
+ "%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
81329
+ "%Symbol%": hasSymbols ? Symbol : undefined2,
81330
+ "%SyntaxError%": $SyntaxError,
81331
+ "%ThrowTypeError%": ThrowTypeError,
81332
+ "%TypedArray%": TypedArray,
81333
+ "%TypeError%": $TypeError,
81334
+ "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array,
81335
+ "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
81336
+ "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
81337
+ "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
81338
+ "%URIError%": $URIError,
81339
+ "%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
81340
+ "%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
81341
+ "%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet,
81342
+ "%Function.prototype.call%": $call,
81343
+ "%Function.prototype.apply%": $apply,
81344
+ "%Object.defineProperty%": $defineProperty,
81345
+ "%Object.getPrototypeOf%": $ObjectGPO,
81346
+ "%Math.abs%": abs,
81347
+ "%Math.floor%": floor,
81348
+ "%Math.max%": max,
81349
+ "%Math.min%": min,
81350
+ "%Math.pow%": pow,
81351
+ "%Math.round%": round,
81352
+ "%Math.sign%": sign,
81353
+ "%Reflect.getPrototypeOf%": $ReflectGPO
81354
+ };
81355
+ if (getProto) {
81356
+ try {
81357
+ null.error;
81358
+ } catch (e3) {
81359
+ errorProto = getProto(getProto(e3));
81360
+ INTRINSICS["%Error.prototype%"] = errorProto;
81361
+ }
81362
+ }
81363
+ var errorProto;
81364
+ var doEval = function doEval2(name) {
81365
+ var value;
81366
+ if (name === "%AsyncFunction%") {
81367
+ value = getEvalledConstructor("async function () {}");
81368
+ } else if (name === "%GeneratorFunction%") {
81369
+ value = getEvalledConstructor("function* () {}");
81370
+ } else if (name === "%AsyncGeneratorFunction%") {
81371
+ value = getEvalledConstructor("async function* () {}");
81372
+ } else if (name === "%AsyncGenerator%") {
81373
+ var fn = doEval2("%AsyncGeneratorFunction%");
81374
+ if (fn) {
81375
+ value = fn.prototype;
81376
+ }
81377
+ } else if (name === "%AsyncIteratorPrototype%") {
81378
+ var gen = doEval2("%AsyncGenerator%");
81379
+ if (gen && getProto) {
81380
+ value = getProto(gen.prototype);
81381
+ }
81382
+ }
81383
+ INTRINSICS[name] = value;
81384
+ return value;
81385
+ };
81386
+ var LEGACY_ALIASES = {
81387
+ __proto__: null,
81388
+ "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
81389
+ "%ArrayPrototype%": ["Array", "prototype"],
81390
+ "%ArrayProto_entries%": ["Array", "prototype", "entries"],
81391
+ "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
81392
+ "%ArrayProto_keys%": ["Array", "prototype", "keys"],
81393
+ "%ArrayProto_values%": ["Array", "prototype", "values"],
81394
+ "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
81395
+ "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
81396
+ "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
81397
+ "%BooleanPrototype%": ["Boolean", "prototype"],
81398
+ "%DataViewPrototype%": ["DataView", "prototype"],
81399
+ "%DatePrototype%": ["Date", "prototype"],
81400
+ "%ErrorPrototype%": ["Error", "prototype"],
81401
+ "%EvalErrorPrototype%": ["EvalError", "prototype"],
81402
+ "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
81403
+ "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
81404
+ "%FunctionPrototype%": ["Function", "prototype"],
81405
+ "%Generator%": ["GeneratorFunction", "prototype"],
81406
+ "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
81407
+ "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
81408
+ "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
81409
+ "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
81410
+ "%JSONParse%": ["JSON", "parse"],
81411
+ "%JSONStringify%": ["JSON", "stringify"],
81412
+ "%MapPrototype%": ["Map", "prototype"],
81413
+ "%NumberPrototype%": ["Number", "prototype"],
81414
+ "%ObjectPrototype%": ["Object", "prototype"],
81415
+ "%ObjProto_toString%": ["Object", "prototype", "toString"],
81416
+ "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
81417
+ "%PromisePrototype%": ["Promise", "prototype"],
81418
+ "%PromiseProto_then%": ["Promise", "prototype", "then"],
81419
+ "%Promise_all%": ["Promise", "all"],
81420
+ "%Promise_reject%": ["Promise", "reject"],
81421
+ "%Promise_resolve%": ["Promise", "resolve"],
81422
+ "%RangeErrorPrototype%": ["RangeError", "prototype"],
81423
+ "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
81424
+ "%RegExpPrototype%": ["RegExp", "prototype"],
81425
+ "%SetPrototype%": ["Set", "prototype"],
81426
+ "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
81427
+ "%StringPrototype%": ["String", "prototype"],
81428
+ "%SymbolPrototype%": ["Symbol", "prototype"],
81429
+ "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
81430
+ "%TypedArrayPrototype%": ["TypedArray", "prototype"],
81431
+ "%TypeErrorPrototype%": ["TypeError", "prototype"],
81432
+ "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
81433
+ "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
81434
+ "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
81435
+ "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
81436
+ "%URIErrorPrototype%": ["URIError", "prototype"],
81437
+ "%WeakMapPrototype%": ["WeakMap", "prototype"],
81438
+ "%WeakSetPrototype%": ["WeakSet", "prototype"]
81439
+ };
81440
+ var bind = require_function_bind();
81441
+ var hasOwn = require_hasown();
81442
+ var $concat = bind.call($call, Array.prototype.concat);
81443
+ var $spliceApply = bind.call($apply, Array.prototype.splice);
81444
+ var $replace = bind.call($call, String.prototype.replace);
81445
+ var $strSlice = bind.call($call, String.prototype.slice);
81446
+ var $exec = bind.call($call, RegExp.prototype.exec);
81447
+ var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
81448
+ var reEscapeChar = /\\(\\)?/g;
81449
+ var stringToPath = function stringToPath2(string) {
81450
+ var first = $strSlice(string, 0, 1);
81451
+ var last = $strSlice(string, -1);
81452
+ if (first === "%" && last !== "%") {
81453
+ throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
81454
+ } else if (last === "%" && first !== "%") {
81455
+ throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
81456
+ }
81457
+ var result = [];
81458
+ $replace(string, rePropName, function(match, number, quote, subString) {
81459
+ result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
81460
+ });
81461
+ return result;
81462
+ };
81463
+ var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
81464
+ var intrinsicName = name;
81465
+ var alias;
81466
+ if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
81467
+ alias = LEGACY_ALIASES[intrinsicName];
81468
+ intrinsicName = "%" + alias[0] + "%";
81469
+ }
81470
+ if (hasOwn(INTRINSICS, intrinsicName)) {
81471
+ var value = INTRINSICS[intrinsicName];
81472
+ if (value === needsEval) {
81473
+ value = doEval(intrinsicName);
81474
+ }
81475
+ if (typeof value === "undefined" && !allowMissing) {
81476
+ throw new $TypeError("intrinsic " + name + " exists, but is not available. Please file an issue!");
81477
+ }
81478
+ return {
81479
+ alias,
81480
+ name: intrinsicName,
81481
+ value
81482
+ };
81483
+ }
81484
+ throw new $SyntaxError("intrinsic " + name + " does not exist!");
81485
+ };
81486
+ module2.exports = function GetIntrinsic(name, allowMissing) {
81487
+ if (typeof name !== "string" || name.length === 0) {
81488
+ throw new $TypeError("intrinsic name must be a non-empty string");
81489
+ }
81490
+ if (arguments.length > 1 && typeof allowMissing !== "boolean") {
81491
+ throw new $TypeError('"allowMissing" argument must be a boolean');
81492
+ }
81493
+ if ($exec(/^%?[^%]*%?$/, name) === null) {
81494
+ throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
81495
+ }
81496
+ var parts = stringToPath(name);
81497
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
81498
+ var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
81499
+ var intrinsicRealName = intrinsic.name;
81500
+ var value = intrinsic.value;
81501
+ var skipFurtherCaching = false;
81502
+ var alias = intrinsic.alias;
81503
+ if (alias) {
81504
+ intrinsicBaseName = alias[0];
81505
+ $spliceApply(parts, $concat([0, 1], alias));
81506
+ }
81507
+ for (var i3 = 1, isOwn = true; i3 < parts.length; i3 += 1) {
81508
+ var part = parts[i3];
81509
+ var first = $strSlice(part, 0, 1);
81510
+ var last = $strSlice(part, -1);
81511
+ if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
81512
+ throw new $SyntaxError("property names with quotes must have matching quotes");
81513
+ }
81514
+ if (part === "constructor" || !isOwn) {
81515
+ skipFurtherCaching = true;
81516
+ }
81517
+ intrinsicBaseName += "." + part;
81518
+ intrinsicRealName = "%" + intrinsicBaseName + "%";
81519
+ if (hasOwn(INTRINSICS, intrinsicRealName)) {
81520
+ value = INTRINSICS[intrinsicRealName];
81521
+ } else if (value != null) {
81522
+ if (!(part in value)) {
81523
+ if (!allowMissing) {
81524
+ throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
81525
+ }
81526
+ return void undefined2;
81527
+ }
81528
+ if ($gOPD && i3 + 1 >= parts.length) {
81529
+ var desc = $gOPD(value, part);
81530
+ isOwn = !!desc;
81531
+ if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
81532
+ value = desc.get;
81533
+ } else {
81534
+ value = value[part];
81535
+ }
81536
+ } else {
81537
+ isOwn = hasOwn(value, part);
81538
+ value = value[part];
81539
+ }
81540
+ if (isOwn && !skipFurtherCaching) {
81541
+ INTRINSICS[intrinsicRealName] = value;
81542
+ }
81543
+ }
81544
+ }
81545
+ return value;
81546
+ };
81547
+ }
81548
+ });
81549
+
81550
+ // node_modules/has-tostringtag/shams.js
81551
+ var require_shams2 = __commonJS({
81552
+ "node_modules/has-tostringtag/shams.js"(exports2, module2) {
81553
+ "use strict";
81554
+ var hasSymbols = require_shams();
81555
+ module2.exports = function hasToStringTagShams() {
81556
+ return hasSymbols() && !!Symbol.toStringTag;
81557
+ };
81558
+ }
81559
+ });
81560
+
81561
+ // node_modules/es-set-tostringtag/index.js
81562
+ var require_es_set_tostringtag = __commonJS({
81563
+ "node_modules/es-set-tostringtag/index.js"(exports2, module2) {
81564
+ "use strict";
81565
+ var GetIntrinsic = require_get_intrinsic();
81566
+ var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
81567
+ var hasToStringTag = require_shams2()();
81568
+ var hasOwn = require_hasown();
81569
+ var $TypeError = require_type();
81570
+ var toStringTag = hasToStringTag ? Symbol.toStringTag : null;
81571
+ module2.exports = function setToStringTag(object, value) {
81572
+ var overrideIfSet = arguments.length > 2 && !!arguments[2] && arguments[2].force;
81573
+ var nonConfigurable = arguments.length > 2 && !!arguments[2] && arguments[2].nonConfigurable;
81574
+ if (typeof overrideIfSet !== "undefined" && typeof overrideIfSet !== "boolean" || typeof nonConfigurable !== "undefined" && typeof nonConfigurable !== "boolean") {
81575
+ throw new $TypeError("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");
81576
+ }
81577
+ if (toStringTag && (overrideIfSet || !hasOwn(object, toStringTag))) {
81578
+ if ($defineProperty) {
81579
+ $defineProperty(object, toStringTag, {
81580
+ configurable: !nonConfigurable,
81581
+ enumerable: false,
81582
+ value,
81583
+ writable: false
81584
+ });
81585
+ } else {
81586
+ object[toStringTag] = value;
81587
+ }
81588
+ }
81589
+ };
81590
+ }
81591
+ });
81592
+
80748
81593
  // node_modules/form-data/lib/populate.js
80749
81594
  var require_populate = __commonJS({
80750
81595
  "node_modules/form-data/lib/populate.js"(exports2, module2) {
@@ -80770,11 +81615,12 @@ var require_form_data = __commonJS({
80770
81615
  var parseUrl3 = require("url").parse;
80771
81616
  var fs = require("fs");
80772
81617
  var Stream = require("stream").Stream;
81618
+ var crypto5 = require("crypto");
80773
81619
  var mime = require_mime_types();
80774
81620
  var asynckit = require_asynckit();
81621
+ var setToStringTag = require_es_set_tostringtag();
81622
+ var hasOwn = require_hasown();
80775
81623
  var populate = require_populate();
80776
- module2.exports = FormData;
80777
- util.inherits(FormData, CombinedStream);
80778
81624
  function FormData(options) {
80779
81625
  if (!(this instanceof FormData)) {
80780
81626
  return new FormData(options);
@@ -80788,16 +81634,17 @@ var require_form_data = __commonJS({
80788
81634
  this[option] = options[option];
80789
81635
  }
80790
81636
  }
81637
+ util.inherits(FormData, CombinedStream);
80791
81638
  FormData.LINE_BREAK = "\r\n";
80792
81639
  FormData.DEFAULT_CONTENT_TYPE = "application/octet-stream";
80793
81640
  FormData.prototype.append = function(field, value, options) {
80794
81641
  options = options || {};
80795
- if (typeof options == "string") {
81642
+ if (typeof options === "string") {
80796
81643
  options = { filename: options };
80797
81644
  }
80798
81645
  var append = CombinedStream.prototype.append.bind(this);
80799
- if (typeof value == "number") {
80800
- value = "" + value;
81646
+ if (typeof value === "number" || value == null) {
81647
+ value = String(value);
80801
81648
  }
80802
81649
  if (Array.isArray(value)) {
80803
81650
  this._error(new Error("Arrays are not supported."));
@@ -80813,7 +81660,7 @@ var require_form_data = __commonJS({
80813
81660
  FormData.prototype._trackLength = function(header, value, options) {
80814
81661
  var valueLength = 0;
80815
81662
  if (options.knownLength != null) {
80816
- valueLength += +options.knownLength;
81663
+ valueLength += Number(options.knownLength);
80817
81664
  } else if (Buffer.isBuffer(value)) {
80818
81665
  valueLength = value.length;
80819
81666
  } else if (typeof value === "string") {
@@ -80821,7 +81668,7 @@ var require_form_data = __commonJS({
80821
81668
  }
80822
81669
  this._valueLength += valueLength;
80823
81670
  this._overheadLength += Buffer.byteLength(header) + FormData.LINE_BREAK.length;
80824
- if (!value || !value.path && !(value.readable && value.hasOwnProperty("httpVersion")) && !(value instanceof Stream)) {
81671
+ if (!value || !value.path && !(value.readable && hasOwn(value, "httpVersion")) && !(value instanceof Stream)) {
80825
81672
  return;
80826
81673
  }
80827
81674
  if (!options.knownLength) {
@@ -80829,26 +81676,25 @@ var require_form_data = __commonJS({
80829
81676
  }
80830
81677
  };
80831
81678
  FormData.prototype._lengthRetriever = function(value, callback) {
80832
- if (value.hasOwnProperty("fd")) {
81679
+ if (hasOwn(value, "fd")) {
80833
81680
  if (value.end != void 0 && value.end != Infinity && value.start != void 0) {
80834
81681
  callback(null, value.end + 1 - (value.start ? value.start : 0));
80835
81682
  } else {
80836
81683
  fs.stat(value.path, function(err, stat) {
80837
- var fileSize;
80838
81684
  if (err) {
80839
81685
  callback(err);
80840
81686
  return;
80841
81687
  }
80842
- fileSize = stat.size - (value.start ? value.start : 0);
81688
+ var fileSize = stat.size - (value.start ? value.start : 0);
80843
81689
  callback(null, fileSize);
80844
81690
  });
80845
81691
  }
80846
- } else if (value.hasOwnProperty("httpVersion")) {
80847
- callback(null, +value.headers["content-length"]);
80848
- } else if (value.hasOwnProperty("httpModule")) {
81692
+ } else if (hasOwn(value, "httpVersion")) {
81693
+ callback(null, Number(value.headers["content-length"]));
81694
+ } else if (hasOwn(value, "httpModule")) {
80849
81695
  value.on("response", function(response) {
80850
81696
  value.pause();
80851
- callback(null, +response.headers["content-length"]);
81697
+ callback(null, Number(response.headers["content-length"]));
80852
81698
  });
80853
81699
  value.resume();
80854
81700
  } else {
@@ -80856,7 +81702,7 @@ var require_form_data = __commonJS({
80856
81702
  }
80857
81703
  };
80858
81704
  FormData.prototype._multiPartHeader = function(field, value, options) {
80859
- if (typeof options.header == "string") {
81705
+ if (typeof options.header === "string") {
80860
81706
  return options.header;
80861
81707
  }
80862
81708
  var contentDisposition = this._getContentDisposition(value, options);
@@ -80868,54 +81714,54 @@ var require_form_data = __commonJS({
80868
81714
  // if no content type. allow it to be empty array
80869
81715
  "Content-Type": [].concat(contentType || [])
80870
81716
  };
80871
- if (typeof options.header == "object") {
81717
+ if (typeof options.header === "object") {
80872
81718
  populate(headers, options.header);
80873
81719
  }
80874
81720
  var header;
80875
81721
  for (var prop in headers) {
80876
- if (!headers.hasOwnProperty(prop)) continue;
80877
- header = headers[prop];
80878
- if (header == null) {
80879
- continue;
80880
- }
80881
- if (!Array.isArray(header)) {
80882
- header = [header];
80883
- }
80884
- if (header.length) {
80885
- contents += prop + ": " + header.join("; ") + FormData.LINE_BREAK;
81722
+ if (hasOwn(headers, prop)) {
81723
+ header = headers[prop];
81724
+ if (header == null) {
81725
+ continue;
81726
+ }
81727
+ if (!Array.isArray(header)) {
81728
+ header = [header];
81729
+ }
81730
+ if (header.length) {
81731
+ contents += prop + ": " + header.join("; ") + FormData.LINE_BREAK;
81732
+ }
80886
81733
  }
80887
81734
  }
80888
81735
  return "--" + this.getBoundary() + FormData.LINE_BREAK + contents + FormData.LINE_BREAK;
80889
81736
  };
80890
81737
  FormData.prototype._getContentDisposition = function(value, options) {
80891
- var filename, contentDisposition;
81738
+ var filename;
80892
81739
  if (typeof options.filepath === "string") {
80893
81740
  filename = path.normalize(options.filepath).replace(/\\/g, "/");
80894
- } else if (options.filename || value.name || value.path) {
80895
- filename = path.basename(options.filename || value.name || value.path);
80896
- } else if (value.readable && value.hasOwnProperty("httpVersion")) {
81741
+ } else if (options.filename || value && (value.name || value.path)) {
81742
+ filename = path.basename(options.filename || value && (value.name || value.path));
81743
+ } else if (value && value.readable && hasOwn(value, "httpVersion")) {
80897
81744
  filename = path.basename(value.client._httpMessage.path || "");
80898
81745
  }
80899
81746
  if (filename) {
80900
- contentDisposition = 'filename="' + filename + '"';
81747
+ return 'filename="' + filename + '"';
80901
81748
  }
80902
- return contentDisposition;
80903
81749
  };
80904
81750
  FormData.prototype._getContentType = function(value, options) {
80905
81751
  var contentType = options.contentType;
80906
- if (!contentType && value.name) {
81752
+ if (!contentType && value && value.name) {
80907
81753
  contentType = mime.lookup(value.name);
80908
81754
  }
80909
- if (!contentType && value.path) {
81755
+ if (!contentType && value && value.path) {
80910
81756
  contentType = mime.lookup(value.path);
80911
81757
  }
80912
- if (!contentType && value.readable && value.hasOwnProperty("httpVersion")) {
81758
+ if (!contentType && value && value.readable && hasOwn(value, "httpVersion")) {
80913
81759
  contentType = value.headers["content-type"];
80914
81760
  }
80915
81761
  if (!contentType && (options.filepath || options.filename)) {
80916
81762
  contentType = mime.lookup(options.filepath || options.filename);
80917
81763
  }
80918
- if (!contentType && typeof value == "object") {
81764
+ if (!contentType && value && typeof value === "object") {
80919
81765
  contentType = FormData.DEFAULT_CONTENT_TYPE;
80920
81766
  }
80921
81767
  return contentType;
@@ -80939,13 +81785,16 @@ var require_form_data = __commonJS({
80939
81785
  "content-type": "multipart/form-data; boundary=" + this.getBoundary()
80940
81786
  };
80941
81787
  for (header in userHeaders) {
80942
- if (userHeaders.hasOwnProperty(header)) {
81788
+ if (hasOwn(userHeaders, header)) {
80943
81789
  formHeaders[header.toLowerCase()] = userHeaders[header];
80944
81790
  }
80945
81791
  }
80946
81792
  return formHeaders;
80947
81793
  };
80948
81794
  FormData.prototype.setBoundary = function(boundary) {
81795
+ if (typeof boundary !== "string") {
81796
+ throw new TypeError("FormData boundary must be a string");
81797
+ }
80949
81798
  this._boundary = boundary;
80950
81799
  };
80951
81800
  FormData.prototype.getBoundary = function() {
@@ -80972,11 +81821,7 @@ var require_form_data = __commonJS({
80972
81821
  return Buffer.concat([dataBuffer, Buffer.from(this._lastBoundary())]);
80973
81822
  };
80974
81823
  FormData.prototype._generateBoundary = function() {
80975
- var boundary = "--------------------------";
80976
- for (var i3 = 0; i3 < 24; i3++) {
80977
- boundary += Math.floor(Math.random() * 10).toString(16);
80978
- }
80979
- this._boundary = boundary;
81824
+ this._boundary = "--------------------------" + crypto5.randomBytes(12).toString("hex");
80980
81825
  };
80981
81826
  FormData.prototype.getLengthSync = function() {
80982
81827
  var knownLength = this._overheadLength + this._valueLength;
@@ -81016,8 +81861,10 @@ var require_form_data = __commonJS({
81016
81861
  });
81017
81862
  };
81018
81863
  FormData.prototype.submit = function(params, cb) {
81019
- var request, options, defaults = { method: "post" };
81020
- if (typeof params == "string") {
81864
+ var request;
81865
+ var options;
81866
+ var defaults = { method: "post" };
81867
+ if (typeof params === "string") {
81021
81868
  params = parseUrl3(params);
81022
81869
  options = populate({
81023
81870
  port: params.port,
@@ -81028,11 +81875,11 @@ var require_form_data = __commonJS({
81028
81875
  } else {
81029
81876
  options = populate(params, defaults);
81030
81877
  if (!options.port) {
81031
- options.port = options.protocol == "https:" ? 443 : 80;
81878
+ options.port = options.protocol === "https:" ? 443 : 80;
81032
81879
  }
81033
81880
  }
81034
81881
  options.headers = this.getHeaders(params.headers);
81035
- if (options.protocol == "https:") {
81882
+ if (options.protocol === "https:") {
81036
81883
  request = https.request(options);
81037
81884
  } else {
81038
81885
  request = http.request(options);
@@ -81070,6 +81917,8 @@ var require_form_data = __commonJS({
81070
81917
  FormData.prototype.toString = function() {
81071
81918
  return "[object FormData]";
81072
81919
  };
81920
+ setToStringTag(FormData, "FormData");
81921
+ module2.exports = FormData;
81073
81922
  }
81074
81923
  });
81075
81924