@bigbinary/neeto-payments-frontend 2.2.4 → 2.4.2

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.
Files changed (44) hide show
  1. package/app/javascript/src/translations/en.json +2 -2
  2. package/dist/Dashboard.js +3 -3
  3. package/dist/PayoutsDashboard.js +3 -3
  4. package/dist/PayoutsPage.js +3 -3
  5. package/dist/RazorpayPaymentButton.js +2 -2
  6. package/dist/RefundsDashboard.js +11 -5
  7. package/dist/RefundsDashboard.js.map +1 -1
  8. package/dist/StripeConnect.js +2 -2
  9. package/dist/_commonjsHelpers-1789f0cf.js +8 -0
  10. package/dist/_commonjsHelpers-1789f0cf.js.map +1 -0
  11. package/dist/cjs/Dashboard.js +3 -3
  12. package/dist/cjs/PayoutsDashboard.js +3 -3
  13. package/dist/cjs/PayoutsPage.js +3 -3
  14. package/dist/cjs/RazorpayPaymentButton.js +2 -2
  15. package/dist/cjs/RefundsDashboard.js +10 -4
  16. package/dist/cjs/RefundsDashboard.js.map +1 -1
  17. package/dist/cjs/StripeConnect.js +2 -2
  18. package/dist/cjs/_commonjsHelpers-b3309d7b.js +11 -0
  19. package/dist/cjs/_commonjsHelpers-b3309d7b.js.map +1 -0
  20. package/dist/cjs/{index-6f9eb83b.js → index-6894d1e0.js} +2 -2
  21. package/dist/cjs/{index-6f9eb83b.js.map → index-6894d1e0.js.map} +1 -1
  22. package/dist/cjs/index.js +4 -4
  23. package/dist/cjs/{useConnectApi-4797829f.js → useConnectApi-0fc52c4d.js} +1833 -167
  24. package/dist/cjs/useConnectApi-0fc52c4d.js.map +1 -0
  25. package/dist/cjs/{usePlatformApi-662f51cd.js → usePlatformApi-536ae61f.js} +2 -2
  26. package/dist/cjs/{usePlatformApi-662f51cd.js.map → usePlatformApi-536ae61f.js.map} +1 -1
  27. package/dist/cjs/useRazorpayPayment.js +2 -2
  28. package/dist/cjs/useStripePromise.js +2 -2
  29. package/dist/{index-1fdfa272.js → index-d02e7a6d.js} +2 -2
  30. package/dist/{index-1fdfa272.js.map → index-d02e7a6d.js.map} +1 -1
  31. package/dist/index.js +4 -4
  32. package/dist/{useConnectApi-cf9948b8.js → useConnectApi-6dddca0c.js} +1833 -167
  33. package/dist/useConnectApi-6dddca0c.js.map +1 -0
  34. package/dist/{usePlatformApi-08dd26c1.js → usePlatformApi-73d803cb.js} +2 -2
  35. package/dist/{usePlatformApi-08dd26c1.js.map → usePlatformApi-73d803cb.js.map} +1 -1
  36. package/dist/useRazorpayPayment.js +2 -2
  37. package/dist/useStripePromise.js +2 -2
  38. package/package.json +15 -15
  39. package/dist/_commonjsHelpers-ae89b920.js +0 -6
  40. package/dist/_commonjsHelpers-ae89b920.js.map +0 -1
  41. package/dist/cjs/_commonjsHelpers-755157d3.js +0 -8
  42. package/dist/cjs/_commonjsHelpers-755157d3.js.map +0 -1
  43. package/dist/cjs/useConnectApi-4797829f.js.map +0 -1
  44. package/dist/useConnectApi-cf9948b8.js.map +0 -1
@@ -6,7 +6,7 @@ var neetoCist = require('@bigbinary/neeto-cist');
6
6
  var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
7
7
  var axios = require('axios');
8
8
  var constants = require('./constants.js');
9
- var _commonjsHelpers = require('./_commonjsHelpers-755157d3.js');
9
+ var _commonjsHelpers = require('./_commonjsHelpers-b3309d7b.js');
10
10
  var require$$0 = require('util');
11
11
  var queryConstants = require('./queryConstants-d80b151c.js');
12
12
 
@@ -47,133 +47,1666 @@ var payoutsApi = {
47
47
  show: show
48
48
  };
49
49
 
50
+ /** @type {import('.')} */
51
+ var esErrors = Error;
52
+
53
+ /** @type {import('./eval')} */
54
+ var _eval = EvalError;
55
+
56
+ /** @type {import('./range')} */
57
+ var range = RangeError;
58
+
59
+ /** @type {import('./ref')} */
60
+ var ref = ReferenceError;
61
+
62
+ /** @type {import('./syntax')} */
63
+ var syntax = SyntaxError;
64
+
65
+ /** @type {import('./type')} */
66
+ var type = TypeError;
67
+
68
+ /** @type {import('./uri')} */
69
+ var uri = URIError;
70
+
50
71
  /* eslint complexity: [2, 18], max-statements: [2, 33] */
51
72
  var shams = function hasSymbols() {
52
73
  if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
53
74
  if (typeof Symbol.iterator === 'symbol') { return true; }
54
75
 
55
- var obj = {};
56
- var sym = Symbol('test');
57
- var symObj = Object(sym);
58
- if (typeof sym === 'string') { return false; }
76
+ var obj = {};
77
+ var sym = Symbol('test');
78
+ var symObj = Object(sym);
79
+ if (typeof sym === 'string') { return false; }
80
+
81
+ if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
82
+ if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
83
+
84
+ // temp disabled per https://github.com/ljharb/object.assign/issues/17
85
+ // if (sym instanceof Symbol) { return false; }
86
+ // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
87
+ // if (!(symObj instanceof Symbol)) { return false; }
88
+
89
+ // if (typeof Symbol.prototype.toString !== 'function') { return false; }
90
+ // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
91
+
92
+ var symVal = 42;
93
+ obj[sym] = symVal;
94
+ for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
95
+ if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
96
+
97
+ if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
98
+
99
+ var syms = Object.getOwnPropertySymbols(obj);
100
+ if (syms.length !== 1 || syms[0] !== sym) { return false; }
101
+
102
+ if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
103
+
104
+ if (typeof Object.getOwnPropertyDescriptor === 'function') {
105
+ var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
106
+ if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
107
+ }
108
+
109
+ return true;
110
+ };
111
+
112
+ var origSymbol = typeof Symbol !== 'undefined' && Symbol;
113
+ var hasSymbolSham = shams;
114
+
115
+ var hasSymbols$4 = function hasNativeSymbols() {
116
+ if (typeof origSymbol !== 'function') { return false; }
117
+ if (typeof Symbol !== 'function') { return false; }
118
+ if (typeof origSymbol('foo') !== 'symbol') { return false; }
119
+ if (typeof Symbol('bar') !== 'symbol') { return false; }
120
+
121
+ return hasSymbolSham();
122
+ };
123
+
124
+ var test = {
125
+ __proto__: null,
126
+ foo: {}
127
+ };
128
+
129
+ var $Object = Object;
130
+
131
+ /** @type {import('.')} */
132
+ var hasProto$4 = function hasProto() {
133
+ // @ts-expect-error: TS errors on an inherited property for some reason
134
+ return { __proto__: test }.foo === test.foo
135
+ && !(test instanceof $Object);
136
+ };
137
+
138
+ /* eslint no-invalid-this: 1 */
139
+
140
+ var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
141
+ var toStr$1 = Object.prototype.toString;
142
+ var max = Math.max;
143
+ var funcType = '[object Function]';
144
+
145
+ var concatty = function concatty(a, b) {
146
+ var arr = [];
147
+
148
+ for (var i = 0; i < a.length; i += 1) {
149
+ arr[i] = a[i];
150
+ }
151
+ for (var j = 0; j < b.length; j += 1) {
152
+ arr[j + a.length] = b[j];
153
+ }
154
+
155
+ return arr;
156
+ };
157
+
158
+ var slicy = function slicy(arrLike, offset) {
159
+ var arr = [];
160
+ for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
161
+ arr[j] = arrLike[i];
162
+ }
163
+ return arr;
164
+ };
165
+
166
+ var joiny = function (arr, joiner) {
167
+ var str = '';
168
+ for (var i = 0; i < arr.length; i += 1) {
169
+ str += arr[i];
170
+ if (i + 1 < arr.length) {
171
+ str += joiner;
172
+ }
173
+ }
174
+ return str;
175
+ };
176
+
177
+ var implementation$1 = function bind(that) {
178
+ var target = this;
179
+ if (typeof target !== 'function' || toStr$1.apply(target) !== funcType) {
180
+ throw new TypeError(ERROR_MESSAGE + target);
181
+ }
182
+ var args = slicy(arguments, 1);
183
+
184
+ var bound;
185
+ var binder = function () {
186
+ if (this instanceof bound) {
187
+ var result = target.apply(
188
+ this,
189
+ concatty(args, arguments)
190
+ );
191
+ if (Object(result) === result) {
192
+ return result;
193
+ }
194
+ return this;
195
+ }
196
+ return target.apply(
197
+ that,
198
+ concatty(args, arguments)
199
+ );
200
+
201
+ };
202
+
203
+ var boundLength = max(0, target.length - args.length);
204
+ var boundArgs = [];
205
+ for (var i = 0; i < boundLength; i++) {
206
+ boundArgs[i] = '$' + i;
207
+ }
208
+
209
+ bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
210
+
211
+ if (target.prototype) {
212
+ var Empty = function Empty() {};
213
+ Empty.prototype = target.prototype;
214
+ bound.prototype = new Empty();
215
+ Empty.prototype = null;
216
+ }
217
+
218
+ return bound;
219
+ };
220
+
221
+ var implementation = implementation$1;
222
+
223
+ var functionBind = Function.prototype.bind || implementation;
224
+
225
+ var call = Function.prototype.call;
226
+ var $hasOwn = Object.prototype.hasOwnProperty;
227
+ var bind$4 = functionBind;
228
+
229
+ /** @type {(o: {}, p: PropertyKey) => p is keyof o} */
230
+ var hasown = bind$4.call(call, $hasOwn);
231
+
232
+ var undefined$4;
233
+
234
+ var $Error$3 = esErrors;
235
+ var $EvalError$3 = _eval;
236
+ var $RangeError$3 = range;
237
+ var $ReferenceError$3 = ref;
238
+ var $SyntaxError$4 = syntax;
239
+ var $TypeError$6 = type;
240
+ var $URIError$3 = uri;
241
+
242
+ var $Function$3 = Function;
243
+
244
+ // eslint-disable-next-line consistent-return
245
+ var getEvalledConstructor$3 = function (expressionSyntax) {
246
+ try {
247
+ return $Function$3('"use strict"; return (' + expressionSyntax + ').constructor;')();
248
+ } catch (e) {}
249
+ };
250
+
251
+ var $gOPD$4 = Object.getOwnPropertyDescriptor;
252
+ if ($gOPD$4) {
253
+ try {
254
+ $gOPD$4({}, '');
255
+ } catch (e) {
256
+ $gOPD$4 = null; // this is IE 8, which has a broken gOPD
257
+ }
258
+ }
259
+
260
+ var throwTypeError$3 = function () {
261
+ throw new $TypeError$6();
262
+ };
263
+ var ThrowTypeError$3 = $gOPD$4
264
+ ? (function () {
265
+ try {
266
+ // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
267
+ arguments.callee; // IE 8 does not throw here
268
+ return throwTypeError$3;
269
+ } catch (calleeThrows) {
270
+ try {
271
+ // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
272
+ return $gOPD$4(arguments, 'callee').get;
273
+ } catch (gOPDthrows) {
274
+ return throwTypeError$3;
275
+ }
276
+ }
277
+ }())
278
+ : throwTypeError$3;
279
+
280
+ var hasSymbols$3 = hasSymbols$4();
281
+ var hasProto$3 = hasProto$4();
282
+
283
+ var getProto$3 = Object.getPrototypeOf || (
284
+ hasProto$3
285
+ ? function (x) { return x.__proto__; } // eslint-disable-line no-proto
286
+ : null
287
+ );
288
+
289
+ var needsEval$3 = {};
290
+
291
+ var TypedArray$3 = typeof Uint8Array === 'undefined' || !getProto$3 ? undefined$4 : getProto$3(Uint8Array);
292
+
293
+ var INTRINSICS$3 = {
294
+ __proto__: null,
295
+ '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$4 : AggregateError,
296
+ '%Array%': Array,
297
+ '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$4 : ArrayBuffer,
298
+ '%ArrayIteratorPrototype%': hasSymbols$3 && getProto$3 ? getProto$3([][Symbol.iterator]()) : undefined$4,
299
+ '%AsyncFromSyncIteratorPrototype%': undefined$4,
300
+ '%AsyncFunction%': needsEval$3,
301
+ '%AsyncGenerator%': needsEval$3,
302
+ '%AsyncGeneratorFunction%': needsEval$3,
303
+ '%AsyncIteratorPrototype%': needsEval$3,
304
+ '%Atomics%': typeof Atomics === 'undefined' ? undefined$4 : Atomics,
305
+ '%BigInt%': typeof BigInt === 'undefined' ? undefined$4 : BigInt,
306
+ '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined$4 : BigInt64Array,
307
+ '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined$4 : BigUint64Array,
308
+ '%Boolean%': Boolean,
309
+ '%DataView%': typeof DataView === 'undefined' ? undefined$4 : DataView,
310
+ '%Date%': Date,
311
+ '%decodeURI%': decodeURI,
312
+ '%decodeURIComponent%': decodeURIComponent,
313
+ '%encodeURI%': encodeURI,
314
+ '%encodeURIComponent%': encodeURIComponent,
315
+ '%Error%': $Error$3,
316
+ '%eval%': eval, // eslint-disable-line no-eval
317
+ '%EvalError%': $EvalError$3,
318
+ '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$4 : Float32Array,
319
+ '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$4 : Float64Array,
320
+ '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$4 : FinalizationRegistry,
321
+ '%Function%': $Function$3,
322
+ '%GeneratorFunction%': needsEval$3,
323
+ '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$4 : Int8Array,
324
+ '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$4 : Int16Array,
325
+ '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$4 : Int32Array,
326
+ '%isFinite%': isFinite,
327
+ '%isNaN%': isNaN,
328
+ '%IteratorPrototype%': hasSymbols$3 && getProto$3 ? getProto$3(getProto$3([][Symbol.iterator]())) : undefined$4,
329
+ '%JSON%': typeof JSON === 'object' ? JSON : undefined$4,
330
+ '%Map%': typeof Map === 'undefined' ? undefined$4 : Map,
331
+ '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$3 || !getProto$3 ? undefined$4 : getProto$3(new Map()[Symbol.iterator]()),
332
+ '%Math%': Math,
333
+ '%Number%': Number,
334
+ '%Object%': Object,
335
+ '%parseFloat%': parseFloat,
336
+ '%parseInt%': parseInt,
337
+ '%Promise%': typeof Promise === 'undefined' ? undefined$4 : Promise,
338
+ '%Proxy%': typeof Proxy === 'undefined' ? undefined$4 : Proxy,
339
+ '%RangeError%': $RangeError$3,
340
+ '%ReferenceError%': $ReferenceError$3,
341
+ '%Reflect%': typeof Reflect === 'undefined' ? undefined$4 : Reflect,
342
+ '%RegExp%': RegExp,
343
+ '%Set%': typeof Set === 'undefined' ? undefined$4 : Set,
344
+ '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$3 || !getProto$3 ? undefined$4 : getProto$3(new Set()[Symbol.iterator]()),
345
+ '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$4 : SharedArrayBuffer,
346
+ '%String%': String,
347
+ '%StringIteratorPrototype%': hasSymbols$3 && getProto$3 ? getProto$3(''[Symbol.iterator]()) : undefined$4,
348
+ '%Symbol%': hasSymbols$3 ? Symbol : undefined$4,
349
+ '%SyntaxError%': $SyntaxError$4,
350
+ '%ThrowTypeError%': ThrowTypeError$3,
351
+ '%TypedArray%': TypedArray$3,
352
+ '%TypeError%': $TypeError$6,
353
+ '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$4 : Uint8Array,
354
+ '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$4 : Uint8ClampedArray,
355
+ '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$4 : Uint16Array,
356
+ '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$4 : Uint32Array,
357
+ '%URIError%': $URIError$3,
358
+ '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$4 : WeakMap,
359
+ '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$4 : WeakRef,
360
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$4 : WeakSet
361
+ };
362
+
363
+ if (getProto$3) {
364
+ try {
365
+ null.error; // eslint-disable-line no-unused-expressions
366
+ } catch (e) {
367
+ // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
368
+ var errorProto$3 = getProto$3(getProto$3(e));
369
+ INTRINSICS$3['%Error.prototype%'] = errorProto$3;
370
+ }
371
+ }
372
+
373
+ var doEval$3 = function doEval(name) {
374
+ var value;
375
+ if (name === '%AsyncFunction%') {
376
+ value = getEvalledConstructor$3('async function () {}');
377
+ } else if (name === '%GeneratorFunction%') {
378
+ value = getEvalledConstructor$3('function* () {}');
379
+ } else if (name === '%AsyncGeneratorFunction%') {
380
+ value = getEvalledConstructor$3('async function* () {}');
381
+ } else if (name === '%AsyncGenerator%') {
382
+ var fn = doEval('%AsyncGeneratorFunction%');
383
+ if (fn) {
384
+ value = fn.prototype;
385
+ }
386
+ } else if (name === '%AsyncIteratorPrototype%') {
387
+ var gen = doEval('%AsyncGenerator%');
388
+ if (gen && getProto$3) {
389
+ value = getProto$3(gen.prototype);
390
+ }
391
+ }
392
+
393
+ INTRINSICS$3[name] = value;
394
+
395
+ return value;
396
+ };
397
+
398
+ var LEGACY_ALIASES$3 = {
399
+ __proto__: null,
400
+ '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
401
+ '%ArrayPrototype%': ['Array', 'prototype'],
402
+ '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
403
+ '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
404
+ '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
405
+ '%ArrayProto_values%': ['Array', 'prototype', 'values'],
406
+ '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
407
+ '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
408
+ '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
409
+ '%BooleanPrototype%': ['Boolean', 'prototype'],
410
+ '%DataViewPrototype%': ['DataView', 'prototype'],
411
+ '%DatePrototype%': ['Date', 'prototype'],
412
+ '%ErrorPrototype%': ['Error', 'prototype'],
413
+ '%EvalErrorPrototype%': ['EvalError', 'prototype'],
414
+ '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
415
+ '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
416
+ '%FunctionPrototype%': ['Function', 'prototype'],
417
+ '%Generator%': ['GeneratorFunction', 'prototype'],
418
+ '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
419
+ '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
420
+ '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
421
+ '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
422
+ '%JSONParse%': ['JSON', 'parse'],
423
+ '%JSONStringify%': ['JSON', 'stringify'],
424
+ '%MapPrototype%': ['Map', 'prototype'],
425
+ '%NumberPrototype%': ['Number', 'prototype'],
426
+ '%ObjectPrototype%': ['Object', 'prototype'],
427
+ '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
428
+ '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
429
+ '%PromisePrototype%': ['Promise', 'prototype'],
430
+ '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
431
+ '%Promise_all%': ['Promise', 'all'],
432
+ '%Promise_reject%': ['Promise', 'reject'],
433
+ '%Promise_resolve%': ['Promise', 'resolve'],
434
+ '%RangeErrorPrototype%': ['RangeError', 'prototype'],
435
+ '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
436
+ '%RegExpPrototype%': ['RegExp', 'prototype'],
437
+ '%SetPrototype%': ['Set', 'prototype'],
438
+ '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
439
+ '%StringPrototype%': ['String', 'prototype'],
440
+ '%SymbolPrototype%': ['Symbol', 'prototype'],
441
+ '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
442
+ '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
443
+ '%TypeErrorPrototype%': ['TypeError', 'prototype'],
444
+ '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
445
+ '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
446
+ '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
447
+ '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
448
+ '%URIErrorPrototype%': ['URIError', 'prototype'],
449
+ '%WeakMapPrototype%': ['WeakMap', 'prototype'],
450
+ '%WeakSetPrototype%': ['WeakSet', 'prototype']
451
+ };
452
+
453
+ var bind$3 = functionBind;
454
+ var hasOwn$4 = hasown;
455
+ var $concat$4 = bind$3.call(Function.call, Array.prototype.concat);
456
+ var $spliceApply$3 = bind$3.call(Function.apply, Array.prototype.splice);
457
+ var $replace$4 = bind$3.call(Function.call, String.prototype.replace);
458
+ var $strSlice$3 = bind$3.call(Function.call, String.prototype.slice);
459
+ var $exec$3 = bind$3.call(Function.call, RegExp.prototype.exec);
460
+
461
+ /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
462
+ var rePropName$3 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
463
+ var reEscapeChar$3 = /\\(\\)?/g; /** Used to match backslashes in property paths. */
464
+ var stringToPath$3 = function stringToPath(string) {
465
+ var first = $strSlice$3(string, 0, 1);
466
+ var last = $strSlice$3(string, -1);
467
+ if (first === '%' && last !== '%') {
468
+ throw new $SyntaxError$4('invalid intrinsic syntax, expected closing `%`');
469
+ } else if (last === '%' && first !== '%') {
470
+ throw new $SyntaxError$4('invalid intrinsic syntax, expected opening `%`');
471
+ }
472
+ var result = [];
473
+ $replace$4(string, rePropName$3, function (match, number, quote, subString) {
474
+ result[result.length] = quote ? $replace$4(subString, reEscapeChar$3, '$1') : number || match;
475
+ });
476
+ return result;
477
+ };
478
+ /* end adaptation */
479
+
480
+ var getBaseIntrinsic$3 = function getBaseIntrinsic(name, allowMissing) {
481
+ var intrinsicName = name;
482
+ var alias;
483
+ if (hasOwn$4(LEGACY_ALIASES$3, intrinsicName)) {
484
+ alias = LEGACY_ALIASES$3[intrinsicName];
485
+ intrinsicName = '%' + alias[0] + '%';
486
+ }
487
+
488
+ if (hasOwn$4(INTRINSICS$3, intrinsicName)) {
489
+ var value = INTRINSICS$3[intrinsicName];
490
+ if (value === needsEval$3) {
491
+ value = doEval$3(intrinsicName);
492
+ }
493
+ if (typeof value === 'undefined' && !allowMissing) {
494
+ throw new $TypeError$6('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
495
+ }
496
+
497
+ return {
498
+ alias: alias,
499
+ name: intrinsicName,
500
+ value: value
501
+ };
502
+ }
503
+
504
+ throw new $SyntaxError$4('intrinsic ' + name + ' does not exist!');
505
+ };
506
+
507
+ var getIntrinsic$4 = function GetIntrinsic(name, allowMissing) {
508
+ if (typeof name !== 'string' || name.length === 0) {
509
+ throw new $TypeError$6('intrinsic name must be a non-empty string');
510
+ }
511
+ if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
512
+ throw new $TypeError$6('"allowMissing" argument must be a boolean');
513
+ }
514
+
515
+ if ($exec$3(/^%?[^%]*%?$/, name) === null) {
516
+ throw new $SyntaxError$4('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
517
+ }
518
+ var parts = stringToPath$3(name);
519
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
520
+
521
+ var intrinsic = getBaseIntrinsic$3('%' + intrinsicBaseName + '%', allowMissing);
522
+ var intrinsicRealName = intrinsic.name;
523
+ var value = intrinsic.value;
524
+ var skipFurtherCaching = false;
525
+
526
+ var alias = intrinsic.alias;
527
+ if (alias) {
528
+ intrinsicBaseName = alias[0];
529
+ $spliceApply$3(parts, $concat$4([0, 1], alias));
530
+ }
531
+
532
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
533
+ var part = parts[i];
534
+ var first = $strSlice$3(part, 0, 1);
535
+ var last = $strSlice$3(part, -1);
536
+ if (
537
+ (
538
+ (first === '"' || first === "'" || first === '`')
539
+ || (last === '"' || last === "'" || last === '`')
540
+ )
541
+ && first !== last
542
+ ) {
543
+ throw new $SyntaxError$4('property names with quotes must have matching quotes');
544
+ }
545
+ if (part === 'constructor' || !isOwn) {
546
+ skipFurtherCaching = true;
547
+ }
548
+
549
+ intrinsicBaseName += '.' + part;
550
+ intrinsicRealName = '%' + intrinsicBaseName + '%';
551
+
552
+ if (hasOwn$4(INTRINSICS$3, intrinsicRealName)) {
553
+ value = INTRINSICS$3[intrinsicRealName];
554
+ } else if (value != null) {
555
+ if (!(part in value)) {
556
+ if (!allowMissing) {
557
+ throw new $TypeError$6('base intrinsic for ' + name + ' exists, but the property is not available.');
558
+ }
559
+ return void undefined$4;
560
+ }
561
+ if ($gOPD$4 && (i + 1) >= parts.length) {
562
+ var desc = $gOPD$4(value, part);
563
+ isOwn = !!desc;
564
+
565
+ // By convention, when a data property is converted to an accessor
566
+ // property to emulate a data property that does not suffer from
567
+ // the override mistake, that accessor's getter is marked with
568
+ // an `originalValue` property. Here, when we detect this, we
569
+ // uphold the illusion by pretending to see that original data
570
+ // property, i.e., returning the value rather than the getter
571
+ // itself.
572
+ if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
573
+ value = desc.get;
574
+ } else {
575
+ value = value[part];
576
+ }
577
+ } else {
578
+ isOwn = hasOwn$4(value, part);
579
+ value = value[part];
580
+ }
581
+
582
+ if (isOwn && !skipFurtherCaching) {
583
+ INTRINSICS$3[intrinsicRealName] = value;
584
+ }
585
+ }
586
+ }
587
+ return value;
588
+ };
589
+
590
+ var undefined$3;
591
+
592
+ var $Error$2 = esErrors;
593
+ var $EvalError$2 = _eval;
594
+ var $RangeError$2 = range;
595
+ var $ReferenceError$2 = ref;
596
+ var $SyntaxError$3 = syntax;
597
+ var $TypeError$5 = type;
598
+ var $URIError$2 = uri;
599
+
600
+ var $Function$2 = Function;
601
+
602
+ // eslint-disable-next-line consistent-return
603
+ var getEvalledConstructor$2 = function (expressionSyntax) {
604
+ try {
605
+ return $Function$2('"use strict"; return (' + expressionSyntax + ').constructor;')();
606
+ } catch (e) {}
607
+ };
608
+
609
+ var $gOPD$3 = Object.getOwnPropertyDescriptor;
610
+ if ($gOPD$3) {
611
+ try {
612
+ $gOPD$3({}, '');
613
+ } catch (e) {
614
+ $gOPD$3 = null; // this is IE 8, which has a broken gOPD
615
+ }
616
+ }
617
+
618
+ var throwTypeError$2 = function () {
619
+ throw new $TypeError$5();
620
+ };
621
+ var ThrowTypeError$2 = $gOPD$3
622
+ ? (function () {
623
+ try {
624
+ // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
625
+ arguments.callee; // IE 8 does not throw here
626
+ return throwTypeError$2;
627
+ } catch (calleeThrows) {
628
+ try {
629
+ // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
630
+ return $gOPD$3(arguments, 'callee').get;
631
+ } catch (gOPDthrows) {
632
+ return throwTypeError$2;
633
+ }
634
+ }
635
+ }())
636
+ : throwTypeError$2;
637
+
638
+ var hasSymbols$2 = hasSymbols$4();
639
+ var hasProto$2 = hasProto$4();
640
+
641
+ var getProto$2 = Object.getPrototypeOf || (
642
+ hasProto$2
643
+ ? function (x) { return x.__proto__; } // eslint-disable-line no-proto
644
+ : null
645
+ );
646
+
647
+ var needsEval$2 = {};
648
+
649
+ var TypedArray$2 = typeof Uint8Array === 'undefined' || !getProto$2 ? undefined$3 : getProto$2(Uint8Array);
650
+
651
+ var INTRINSICS$2 = {
652
+ __proto__: null,
653
+ '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$3 : AggregateError,
654
+ '%Array%': Array,
655
+ '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$3 : ArrayBuffer,
656
+ '%ArrayIteratorPrototype%': hasSymbols$2 && getProto$2 ? getProto$2([][Symbol.iterator]()) : undefined$3,
657
+ '%AsyncFromSyncIteratorPrototype%': undefined$3,
658
+ '%AsyncFunction%': needsEval$2,
659
+ '%AsyncGenerator%': needsEval$2,
660
+ '%AsyncGeneratorFunction%': needsEval$2,
661
+ '%AsyncIteratorPrototype%': needsEval$2,
662
+ '%Atomics%': typeof Atomics === 'undefined' ? undefined$3 : Atomics,
663
+ '%BigInt%': typeof BigInt === 'undefined' ? undefined$3 : BigInt,
664
+ '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined$3 : BigInt64Array,
665
+ '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined$3 : BigUint64Array,
666
+ '%Boolean%': Boolean,
667
+ '%DataView%': typeof DataView === 'undefined' ? undefined$3 : DataView,
668
+ '%Date%': Date,
669
+ '%decodeURI%': decodeURI,
670
+ '%decodeURIComponent%': decodeURIComponent,
671
+ '%encodeURI%': encodeURI,
672
+ '%encodeURIComponent%': encodeURIComponent,
673
+ '%Error%': $Error$2,
674
+ '%eval%': eval, // eslint-disable-line no-eval
675
+ '%EvalError%': $EvalError$2,
676
+ '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$3 : Float32Array,
677
+ '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$3 : Float64Array,
678
+ '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$3 : FinalizationRegistry,
679
+ '%Function%': $Function$2,
680
+ '%GeneratorFunction%': needsEval$2,
681
+ '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$3 : Int8Array,
682
+ '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$3 : Int16Array,
683
+ '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$3 : Int32Array,
684
+ '%isFinite%': isFinite,
685
+ '%isNaN%': isNaN,
686
+ '%IteratorPrototype%': hasSymbols$2 && getProto$2 ? getProto$2(getProto$2([][Symbol.iterator]())) : undefined$3,
687
+ '%JSON%': typeof JSON === 'object' ? JSON : undefined$3,
688
+ '%Map%': typeof Map === 'undefined' ? undefined$3 : Map,
689
+ '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 || !getProto$2 ? undefined$3 : getProto$2(new Map()[Symbol.iterator]()),
690
+ '%Math%': Math,
691
+ '%Number%': Number,
692
+ '%Object%': Object,
693
+ '%parseFloat%': parseFloat,
694
+ '%parseInt%': parseInt,
695
+ '%Promise%': typeof Promise === 'undefined' ? undefined$3 : Promise,
696
+ '%Proxy%': typeof Proxy === 'undefined' ? undefined$3 : Proxy,
697
+ '%RangeError%': $RangeError$2,
698
+ '%ReferenceError%': $ReferenceError$2,
699
+ '%Reflect%': typeof Reflect === 'undefined' ? undefined$3 : Reflect,
700
+ '%RegExp%': RegExp,
701
+ '%Set%': typeof Set === 'undefined' ? undefined$3 : Set,
702
+ '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 || !getProto$2 ? undefined$3 : getProto$2(new Set()[Symbol.iterator]()),
703
+ '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$3 : SharedArrayBuffer,
704
+ '%String%': String,
705
+ '%StringIteratorPrototype%': hasSymbols$2 && getProto$2 ? getProto$2(''[Symbol.iterator]()) : undefined$3,
706
+ '%Symbol%': hasSymbols$2 ? Symbol : undefined$3,
707
+ '%SyntaxError%': $SyntaxError$3,
708
+ '%ThrowTypeError%': ThrowTypeError$2,
709
+ '%TypedArray%': TypedArray$2,
710
+ '%TypeError%': $TypeError$5,
711
+ '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$3 : Uint8Array,
712
+ '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$3 : Uint8ClampedArray,
713
+ '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$3 : Uint16Array,
714
+ '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$3 : Uint32Array,
715
+ '%URIError%': $URIError$2,
716
+ '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$3 : WeakMap,
717
+ '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$3 : WeakRef,
718
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$3 : WeakSet
719
+ };
720
+
721
+ if (getProto$2) {
722
+ try {
723
+ null.error; // eslint-disable-line no-unused-expressions
724
+ } catch (e) {
725
+ // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
726
+ var errorProto$2 = getProto$2(getProto$2(e));
727
+ INTRINSICS$2['%Error.prototype%'] = errorProto$2;
728
+ }
729
+ }
730
+
731
+ var doEval$2 = function doEval(name) {
732
+ var value;
733
+ if (name === '%AsyncFunction%') {
734
+ value = getEvalledConstructor$2('async function () {}');
735
+ } else if (name === '%GeneratorFunction%') {
736
+ value = getEvalledConstructor$2('function* () {}');
737
+ } else if (name === '%AsyncGeneratorFunction%') {
738
+ value = getEvalledConstructor$2('async function* () {}');
739
+ } else if (name === '%AsyncGenerator%') {
740
+ var fn = doEval('%AsyncGeneratorFunction%');
741
+ if (fn) {
742
+ value = fn.prototype;
743
+ }
744
+ } else if (name === '%AsyncIteratorPrototype%') {
745
+ var gen = doEval('%AsyncGenerator%');
746
+ if (gen && getProto$2) {
747
+ value = getProto$2(gen.prototype);
748
+ }
749
+ }
750
+
751
+ INTRINSICS$2[name] = value;
752
+
753
+ return value;
754
+ };
755
+
756
+ var LEGACY_ALIASES$2 = {
757
+ __proto__: null,
758
+ '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
759
+ '%ArrayPrototype%': ['Array', 'prototype'],
760
+ '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
761
+ '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
762
+ '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
763
+ '%ArrayProto_values%': ['Array', 'prototype', 'values'],
764
+ '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
765
+ '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
766
+ '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
767
+ '%BooleanPrototype%': ['Boolean', 'prototype'],
768
+ '%DataViewPrototype%': ['DataView', 'prototype'],
769
+ '%DatePrototype%': ['Date', 'prototype'],
770
+ '%ErrorPrototype%': ['Error', 'prototype'],
771
+ '%EvalErrorPrototype%': ['EvalError', 'prototype'],
772
+ '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
773
+ '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
774
+ '%FunctionPrototype%': ['Function', 'prototype'],
775
+ '%Generator%': ['GeneratorFunction', 'prototype'],
776
+ '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
777
+ '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
778
+ '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
779
+ '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
780
+ '%JSONParse%': ['JSON', 'parse'],
781
+ '%JSONStringify%': ['JSON', 'stringify'],
782
+ '%MapPrototype%': ['Map', 'prototype'],
783
+ '%NumberPrototype%': ['Number', 'prototype'],
784
+ '%ObjectPrototype%': ['Object', 'prototype'],
785
+ '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
786
+ '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
787
+ '%PromisePrototype%': ['Promise', 'prototype'],
788
+ '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
789
+ '%Promise_all%': ['Promise', 'all'],
790
+ '%Promise_reject%': ['Promise', 'reject'],
791
+ '%Promise_resolve%': ['Promise', 'resolve'],
792
+ '%RangeErrorPrototype%': ['RangeError', 'prototype'],
793
+ '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
794
+ '%RegExpPrototype%': ['RegExp', 'prototype'],
795
+ '%SetPrototype%': ['Set', 'prototype'],
796
+ '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
797
+ '%StringPrototype%': ['String', 'prototype'],
798
+ '%SymbolPrototype%': ['Symbol', 'prototype'],
799
+ '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
800
+ '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
801
+ '%TypeErrorPrototype%': ['TypeError', 'prototype'],
802
+ '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
803
+ '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
804
+ '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
805
+ '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
806
+ '%URIErrorPrototype%': ['URIError', 'prototype'],
807
+ '%WeakMapPrototype%': ['WeakMap', 'prototype'],
808
+ '%WeakSetPrototype%': ['WeakSet', 'prototype']
809
+ };
810
+
811
+ var bind$2 = functionBind;
812
+ var hasOwn$3 = hasown;
813
+ var $concat$3 = bind$2.call(Function.call, Array.prototype.concat);
814
+ var $spliceApply$2 = bind$2.call(Function.apply, Array.prototype.splice);
815
+ var $replace$3 = bind$2.call(Function.call, String.prototype.replace);
816
+ var $strSlice$2 = bind$2.call(Function.call, String.prototype.slice);
817
+ var $exec$2 = bind$2.call(Function.call, RegExp.prototype.exec);
818
+
819
+ /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
820
+ var rePropName$2 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
821
+ var reEscapeChar$2 = /\\(\\)?/g; /** Used to match backslashes in property paths. */
822
+ var stringToPath$2 = function stringToPath(string) {
823
+ var first = $strSlice$2(string, 0, 1);
824
+ var last = $strSlice$2(string, -1);
825
+ if (first === '%' && last !== '%') {
826
+ throw new $SyntaxError$3('invalid intrinsic syntax, expected closing `%`');
827
+ } else if (last === '%' && first !== '%') {
828
+ throw new $SyntaxError$3('invalid intrinsic syntax, expected opening `%`');
829
+ }
830
+ var result = [];
831
+ $replace$3(string, rePropName$2, function (match, number, quote, subString) {
832
+ result[result.length] = quote ? $replace$3(subString, reEscapeChar$2, '$1') : number || match;
833
+ });
834
+ return result;
835
+ };
836
+ /* end adaptation */
837
+
838
+ var getBaseIntrinsic$2 = function getBaseIntrinsic(name, allowMissing) {
839
+ var intrinsicName = name;
840
+ var alias;
841
+ if (hasOwn$3(LEGACY_ALIASES$2, intrinsicName)) {
842
+ alias = LEGACY_ALIASES$2[intrinsicName];
843
+ intrinsicName = '%' + alias[0] + '%';
844
+ }
845
+
846
+ if (hasOwn$3(INTRINSICS$2, intrinsicName)) {
847
+ var value = INTRINSICS$2[intrinsicName];
848
+ if (value === needsEval$2) {
849
+ value = doEval$2(intrinsicName);
850
+ }
851
+ if (typeof value === 'undefined' && !allowMissing) {
852
+ throw new $TypeError$5('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
853
+ }
854
+
855
+ return {
856
+ alias: alias,
857
+ name: intrinsicName,
858
+ value: value
859
+ };
860
+ }
861
+
862
+ throw new $SyntaxError$3('intrinsic ' + name + ' does not exist!');
863
+ };
864
+
865
+ var getIntrinsic$3 = function GetIntrinsic(name, allowMissing) {
866
+ if (typeof name !== 'string' || name.length === 0) {
867
+ throw new $TypeError$5('intrinsic name must be a non-empty string');
868
+ }
869
+ if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
870
+ throw new $TypeError$5('"allowMissing" argument must be a boolean');
871
+ }
872
+
873
+ if ($exec$2(/^%?[^%]*%?$/, name) === null) {
874
+ throw new $SyntaxError$3('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
875
+ }
876
+ var parts = stringToPath$2(name);
877
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
878
+
879
+ var intrinsic = getBaseIntrinsic$2('%' + intrinsicBaseName + '%', allowMissing);
880
+ var intrinsicRealName = intrinsic.name;
881
+ var value = intrinsic.value;
882
+ var skipFurtherCaching = false;
883
+
884
+ var alias = intrinsic.alias;
885
+ if (alias) {
886
+ intrinsicBaseName = alias[0];
887
+ $spliceApply$2(parts, $concat$3([0, 1], alias));
888
+ }
889
+
890
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
891
+ var part = parts[i];
892
+ var first = $strSlice$2(part, 0, 1);
893
+ var last = $strSlice$2(part, -1);
894
+ if (
895
+ (
896
+ (first === '"' || first === "'" || first === '`')
897
+ || (last === '"' || last === "'" || last === '`')
898
+ )
899
+ && first !== last
900
+ ) {
901
+ throw new $SyntaxError$3('property names with quotes must have matching quotes');
902
+ }
903
+ if (part === 'constructor' || !isOwn) {
904
+ skipFurtherCaching = true;
905
+ }
906
+
907
+ intrinsicBaseName += '.' + part;
908
+ intrinsicRealName = '%' + intrinsicBaseName + '%';
909
+
910
+ if (hasOwn$3(INTRINSICS$2, intrinsicRealName)) {
911
+ value = INTRINSICS$2[intrinsicRealName];
912
+ } else if (value != null) {
913
+ if (!(part in value)) {
914
+ if (!allowMissing) {
915
+ throw new $TypeError$5('base intrinsic for ' + name + ' exists, but the property is not available.');
916
+ }
917
+ return void undefined$3;
918
+ }
919
+ if ($gOPD$3 && (i + 1) >= parts.length) {
920
+ var desc = $gOPD$3(value, part);
921
+ isOwn = !!desc;
922
+
923
+ // By convention, when a data property is converted to an accessor
924
+ // property to emulate a data property that does not suffer from
925
+ // the override mistake, that accessor's getter is marked with
926
+ // an `originalValue` property. Here, when we detect this, we
927
+ // uphold the illusion by pretending to see that original data
928
+ // property, i.e., returning the value rather than the getter
929
+ // itself.
930
+ if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
931
+ value = desc.get;
932
+ } else {
933
+ value = value[part];
934
+ }
935
+ } else {
936
+ isOwn = hasOwn$3(value, part);
937
+ value = value[part];
938
+ }
939
+
940
+ if (isOwn && !skipFurtherCaching) {
941
+ INTRINSICS$2[intrinsicRealName] = value;
942
+ }
943
+ }
944
+ }
945
+ return value;
946
+ };
947
+
948
+ var callBind$1 = {exports: {}};
949
+
950
+ var undefined$2;
951
+
952
+ var $Error$1 = esErrors;
953
+ var $EvalError$1 = _eval;
954
+ var $RangeError$1 = range;
955
+ var $ReferenceError$1 = ref;
956
+ var $SyntaxError$2 = syntax;
957
+ var $TypeError$4 = type;
958
+ var $URIError$1 = uri;
959
+
960
+ var $Function$1 = Function;
961
+
962
+ // eslint-disable-next-line consistent-return
963
+ var getEvalledConstructor$1 = function (expressionSyntax) {
964
+ try {
965
+ return $Function$1('"use strict"; return (' + expressionSyntax + ').constructor;')();
966
+ } catch (e) {}
967
+ };
968
+
969
+ var $gOPD$2 = Object.getOwnPropertyDescriptor;
970
+ if ($gOPD$2) {
971
+ try {
972
+ $gOPD$2({}, '');
973
+ } catch (e) {
974
+ $gOPD$2 = null; // this is IE 8, which has a broken gOPD
975
+ }
976
+ }
977
+
978
+ var throwTypeError$1 = function () {
979
+ throw new $TypeError$4();
980
+ };
981
+ var ThrowTypeError$1 = $gOPD$2
982
+ ? (function () {
983
+ try {
984
+ // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
985
+ arguments.callee; // IE 8 does not throw here
986
+ return throwTypeError$1;
987
+ } catch (calleeThrows) {
988
+ try {
989
+ // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
990
+ return $gOPD$2(arguments, 'callee').get;
991
+ } catch (gOPDthrows) {
992
+ return throwTypeError$1;
993
+ }
994
+ }
995
+ }())
996
+ : throwTypeError$1;
997
+
998
+ var hasSymbols$1 = hasSymbols$4();
999
+ var hasProto$1 = hasProto$4();
1000
+
1001
+ var getProto$1 = Object.getPrototypeOf || (
1002
+ hasProto$1
1003
+ ? function (x) { return x.__proto__; } // eslint-disable-line no-proto
1004
+ : null
1005
+ );
1006
+
1007
+ var needsEval$1 = {};
1008
+
1009
+ var TypedArray$1 = typeof Uint8Array === 'undefined' || !getProto$1 ? undefined$2 : getProto$1(Uint8Array);
1010
+
1011
+ var INTRINSICS$1 = {
1012
+ __proto__: null,
1013
+ '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$2 : AggregateError,
1014
+ '%Array%': Array,
1015
+ '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$2 : ArrayBuffer,
1016
+ '%ArrayIteratorPrototype%': hasSymbols$1 && getProto$1 ? getProto$1([][Symbol.iterator]()) : undefined$2,
1017
+ '%AsyncFromSyncIteratorPrototype%': undefined$2,
1018
+ '%AsyncFunction%': needsEval$1,
1019
+ '%AsyncGenerator%': needsEval$1,
1020
+ '%AsyncGeneratorFunction%': needsEval$1,
1021
+ '%AsyncIteratorPrototype%': needsEval$1,
1022
+ '%Atomics%': typeof Atomics === 'undefined' ? undefined$2 : Atomics,
1023
+ '%BigInt%': typeof BigInt === 'undefined' ? undefined$2 : BigInt,
1024
+ '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined$2 : BigInt64Array,
1025
+ '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined$2 : BigUint64Array,
1026
+ '%Boolean%': Boolean,
1027
+ '%DataView%': typeof DataView === 'undefined' ? undefined$2 : DataView,
1028
+ '%Date%': Date,
1029
+ '%decodeURI%': decodeURI,
1030
+ '%decodeURIComponent%': decodeURIComponent,
1031
+ '%encodeURI%': encodeURI,
1032
+ '%encodeURIComponent%': encodeURIComponent,
1033
+ '%Error%': $Error$1,
1034
+ '%eval%': eval, // eslint-disable-line no-eval
1035
+ '%EvalError%': $EvalError$1,
1036
+ '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$2 : Float32Array,
1037
+ '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$2 : Float64Array,
1038
+ '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$2 : FinalizationRegistry,
1039
+ '%Function%': $Function$1,
1040
+ '%GeneratorFunction%': needsEval$1,
1041
+ '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$2 : Int8Array,
1042
+ '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$2 : Int16Array,
1043
+ '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$2 : Int32Array,
1044
+ '%isFinite%': isFinite,
1045
+ '%isNaN%': isNaN,
1046
+ '%IteratorPrototype%': hasSymbols$1 && getProto$1 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$2,
1047
+ '%JSON%': typeof JSON === 'object' ? JSON : undefined$2,
1048
+ '%Map%': typeof Map === 'undefined' ? undefined$2 : Map,
1049
+ '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$1 || !getProto$1 ? undefined$2 : getProto$1(new Map()[Symbol.iterator]()),
1050
+ '%Math%': Math,
1051
+ '%Number%': Number,
1052
+ '%Object%': Object,
1053
+ '%parseFloat%': parseFloat,
1054
+ '%parseInt%': parseInt,
1055
+ '%Promise%': typeof Promise === 'undefined' ? undefined$2 : Promise,
1056
+ '%Proxy%': typeof Proxy === 'undefined' ? undefined$2 : Proxy,
1057
+ '%RangeError%': $RangeError$1,
1058
+ '%ReferenceError%': $ReferenceError$1,
1059
+ '%Reflect%': typeof Reflect === 'undefined' ? undefined$2 : Reflect,
1060
+ '%RegExp%': RegExp,
1061
+ '%Set%': typeof Set === 'undefined' ? undefined$2 : Set,
1062
+ '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$1 || !getProto$1 ? undefined$2 : getProto$1(new Set()[Symbol.iterator]()),
1063
+ '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$2 : SharedArrayBuffer,
1064
+ '%String%': String,
1065
+ '%StringIteratorPrototype%': hasSymbols$1 && getProto$1 ? getProto$1(''[Symbol.iterator]()) : undefined$2,
1066
+ '%Symbol%': hasSymbols$1 ? Symbol : undefined$2,
1067
+ '%SyntaxError%': $SyntaxError$2,
1068
+ '%ThrowTypeError%': ThrowTypeError$1,
1069
+ '%TypedArray%': TypedArray$1,
1070
+ '%TypeError%': $TypeError$4,
1071
+ '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$2 : Uint8Array,
1072
+ '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$2 : Uint8ClampedArray,
1073
+ '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$2 : Uint16Array,
1074
+ '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$2 : Uint32Array,
1075
+ '%URIError%': $URIError$1,
1076
+ '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$2 : WeakMap,
1077
+ '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$2 : WeakRef,
1078
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$2 : WeakSet
1079
+ };
1080
+
1081
+ if (getProto$1) {
1082
+ try {
1083
+ null.error; // eslint-disable-line no-unused-expressions
1084
+ } catch (e) {
1085
+ // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
1086
+ var errorProto$1 = getProto$1(getProto$1(e));
1087
+ INTRINSICS$1['%Error.prototype%'] = errorProto$1;
1088
+ }
1089
+ }
1090
+
1091
+ var doEval$1 = function doEval(name) {
1092
+ var value;
1093
+ if (name === '%AsyncFunction%') {
1094
+ value = getEvalledConstructor$1('async function () {}');
1095
+ } else if (name === '%GeneratorFunction%') {
1096
+ value = getEvalledConstructor$1('function* () {}');
1097
+ } else if (name === '%AsyncGeneratorFunction%') {
1098
+ value = getEvalledConstructor$1('async function* () {}');
1099
+ } else if (name === '%AsyncGenerator%') {
1100
+ var fn = doEval('%AsyncGeneratorFunction%');
1101
+ if (fn) {
1102
+ value = fn.prototype;
1103
+ }
1104
+ } else if (name === '%AsyncIteratorPrototype%') {
1105
+ var gen = doEval('%AsyncGenerator%');
1106
+ if (gen && getProto$1) {
1107
+ value = getProto$1(gen.prototype);
1108
+ }
1109
+ }
1110
+
1111
+ INTRINSICS$1[name] = value;
1112
+
1113
+ return value;
1114
+ };
1115
+
1116
+ var LEGACY_ALIASES$1 = {
1117
+ __proto__: null,
1118
+ '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
1119
+ '%ArrayPrototype%': ['Array', 'prototype'],
1120
+ '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
1121
+ '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
1122
+ '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
1123
+ '%ArrayProto_values%': ['Array', 'prototype', 'values'],
1124
+ '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
1125
+ '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
1126
+ '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
1127
+ '%BooleanPrototype%': ['Boolean', 'prototype'],
1128
+ '%DataViewPrototype%': ['DataView', 'prototype'],
1129
+ '%DatePrototype%': ['Date', 'prototype'],
1130
+ '%ErrorPrototype%': ['Error', 'prototype'],
1131
+ '%EvalErrorPrototype%': ['EvalError', 'prototype'],
1132
+ '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
1133
+ '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
1134
+ '%FunctionPrototype%': ['Function', 'prototype'],
1135
+ '%Generator%': ['GeneratorFunction', 'prototype'],
1136
+ '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
1137
+ '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
1138
+ '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
1139
+ '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
1140
+ '%JSONParse%': ['JSON', 'parse'],
1141
+ '%JSONStringify%': ['JSON', 'stringify'],
1142
+ '%MapPrototype%': ['Map', 'prototype'],
1143
+ '%NumberPrototype%': ['Number', 'prototype'],
1144
+ '%ObjectPrototype%': ['Object', 'prototype'],
1145
+ '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
1146
+ '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
1147
+ '%PromisePrototype%': ['Promise', 'prototype'],
1148
+ '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
1149
+ '%Promise_all%': ['Promise', 'all'],
1150
+ '%Promise_reject%': ['Promise', 'reject'],
1151
+ '%Promise_resolve%': ['Promise', 'resolve'],
1152
+ '%RangeErrorPrototype%': ['RangeError', 'prototype'],
1153
+ '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
1154
+ '%RegExpPrototype%': ['RegExp', 'prototype'],
1155
+ '%SetPrototype%': ['Set', 'prototype'],
1156
+ '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
1157
+ '%StringPrototype%': ['String', 'prototype'],
1158
+ '%SymbolPrototype%': ['Symbol', 'prototype'],
1159
+ '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
1160
+ '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
1161
+ '%TypeErrorPrototype%': ['TypeError', 'prototype'],
1162
+ '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
1163
+ '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
1164
+ '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
1165
+ '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
1166
+ '%URIErrorPrototype%': ['URIError', 'prototype'],
1167
+ '%WeakMapPrototype%': ['WeakMap', 'prototype'],
1168
+ '%WeakSetPrototype%': ['WeakSet', 'prototype']
1169
+ };
1170
+
1171
+ var bind$1 = functionBind;
1172
+ var hasOwn$2 = hasown;
1173
+ var $concat$2 = bind$1.call(Function.call, Array.prototype.concat);
1174
+ var $spliceApply$1 = bind$1.call(Function.apply, Array.prototype.splice);
1175
+ var $replace$2 = bind$1.call(Function.call, String.prototype.replace);
1176
+ var $strSlice$1 = bind$1.call(Function.call, String.prototype.slice);
1177
+ var $exec$1 = bind$1.call(Function.call, RegExp.prototype.exec);
1178
+
1179
+ /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
1180
+ var rePropName$1 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
1181
+ var reEscapeChar$1 = /\\(\\)?/g; /** Used to match backslashes in property paths. */
1182
+ var stringToPath$1 = function stringToPath(string) {
1183
+ var first = $strSlice$1(string, 0, 1);
1184
+ var last = $strSlice$1(string, -1);
1185
+ if (first === '%' && last !== '%') {
1186
+ throw new $SyntaxError$2('invalid intrinsic syntax, expected closing `%`');
1187
+ } else if (last === '%' && first !== '%') {
1188
+ throw new $SyntaxError$2('invalid intrinsic syntax, expected opening `%`');
1189
+ }
1190
+ var result = [];
1191
+ $replace$2(string, rePropName$1, function (match, number, quote, subString) {
1192
+ result[result.length] = quote ? $replace$2(subString, reEscapeChar$1, '$1') : number || match;
1193
+ });
1194
+ return result;
1195
+ };
1196
+ /* end adaptation */
1197
+
1198
+ var getBaseIntrinsic$1 = function getBaseIntrinsic(name, allowMissing) {
1199
+ var intrinsicName = name;
1200
+ var alias;
1201
+ if (hasOwn$2(LEGACY_ALIASES$1, intrinsicName)) {
1202
+ alias = LEGACY_ALIASES$1[intrinsicName];
1203
+ intrinsicName = '%' + alias[0] + '%';
1204
+ }
1205
+
1206
+ if (hasOwn$2(INTRINSICS$1, intrinsicName)) {
1207
+ var value = INTRINSICS$1[intrinsicName];
1208
+ if (value === needsEval$1) {
1209
+ value = doEval$1(intrinsicName);
1210
+ }
1211
+ if (typeof value === 'undefined' && !allowMissing) {
1212
+ throw new $TypeError$4('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1213
+ }
1214
+
1215
+ return {
1216
+ alias: alias,
1217
+ name: intrinsicName,
1218
+ value: value
1219
+ };
1220
+ }
1221
+
1222
+ throw new $SyntaxError$2('intrinsic ' + name + ' does not exist!');
1223
+ };
59
1224
 
60
- if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
61
- if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
1225
+ var getIntrinsic$2 = function GetIntrinsic(name, allowMissing) {
1226
+ if (typeof name !== 'string' || name.length === 0) {
1227
+ throw new $TypeError$4('intrinsic name must be a non-empty string');
1228
+ }
1229
+ if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
1230
+ throw new $TypeError$4('"allowMissing" argument must be a boolean');
1231
+ }
62
1232
 
63
- // temp disabled per https://github.com/ljharb/object.assign/issues/17
64
- // if (sym instanceof Symbol) { return false; }
65
- // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
66
- // if (!(symObj instanceof Symbol)) { return false; }
1233
+ if ($exec$1(/^%?[^%]*%?$/, name) === null) {
1234
+ throw new $SyntaxError$2('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
1235
+ }
1236
+ var parts = stringToPath$1(name);
1237
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
67
1238
 
68
- // if (typeof Symbol.prototype.toString !== 'function') { return false; }
69
- // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
1239
+ var intrinsic = getBaseIntrinsic$1('%' + intrinsicBaseName + '%', allowMissing);
1240
+ var intrinsicRealName = intrinsic.name;
1241
+ var value = intrinsic.value;
1242
+ var skipFurtherCaching = false;
70
1243
 
71
- var symVal = 42;
72
- obj[sym] = symVal;
73
- for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
74
- if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1244
+ var alias = intrinsic.alias;
1245
+ if (alias) {
1246
+ intrinsicBaseName = alias[0];
1247
+ $spliceApply$1(parts, $concat$2([0, 1], alias));
1248
+ }
75
1249
 
76
- if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
1250
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
1251
+ var part = parts[i];
1252
+ var first = $strSlice$1(part, 0, 1);
1253
+ var last = $strSlice$1(part, -1);
1254
+ if (
1255
+ (
1256
+ (first === '"' || first === "'" || first === '`')
1257
+ || (last === '"' || last === "'" || last === '`')
1258
+ )
1259
+ && first !== last
1260
+ ) {
1261
+ throw new $SyntaxError$2('property names with quotes must have matching quotes');
1262
+ }
1263
+ if (part === 'constructor' || !isOwn) {
1264
+ skipFurtherCaching = true;
1265
+ }
77
1266
 
78
- var syms = Object.getOwnPropertySymbols(obj);
79
- if (syms.length !== 1 || syms[0] !== sym) { return false; }
1267
+ intrinsicBaseName += '.' + part;
1268
+ intrinsicRealName = '%' + intrinsicBaseName + '%';
80
1269
 
81
- if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
1270
+ if (hasOwn$2(INTRINSICS$1, intrinsicRealName)) {
1271
+ value = INTRINSICS$1[intrinsicRealName];
1272
+ } else if (value != null) {
1273
+ if (!(part in value)) {
1274
+ if (!allowMissing) {
1275
+ throw new $TypeError$4('base intrinsic for ' + name + ' exists, but the property is not available.');
1276
+ }
1277
+ return void undefined$2;
1278
+ }
1279
+ if ($gOPD$2 && (i + 1) >= parts.length) {
1280
+ var desc = $gOPD$2(value, part);
1281
+ isOwn = !!desc;
82
1282
 
83
- if (typeof Object.getOwnPropertyDescriptor === 'function') {
84
- var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
85
- if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
86
- }
1283
+ // By convention, when a data property is converted to an accessor
1284
+ // property to emulate a data property that does not suffer from
1285
+ // the override mistake, that accessor's getter is marked with
1286
+ // an `originalValue` property. Here, when we detect this, we
1287
+ // uphold the illusion by pretending to see that original data
1288
+ // property, i.e., returning the value rather than the getter
1289
+ // itself.
1290
+ if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
1291
+ value = desc.get;
1292
+ } else {
1293
+ value = value[part];
1294
+ }
1295
+ } else {
1296
+ isOwn = hasOwn$2(value, part);
1297
+ value = value[part];
1298
+ }
87
1299
 
88
- return true;
1300
+ if (isOwn && !skipFurtherCaching) {
1301
+ INTRINSICS$1[intrinsicRealName] = value;
1302
+ }
1303
+ }
1304
+ }
1305
+ return value;
89
1306
  };
90
1307
 
91
- var origSymbol = typeof Symbol !== 'undefined' && Symbol;
92
- var hasSymbolSham = shams;
1308
+ var getIntrinsic$1;
1309
+ var hasRequiredGetIntrinsic;
93
1310
 
94
- var hasSymbols$1 = function hasNativeSymbols() {
95
- if (typeof origSymbol !== 'function') { return false; }
96
- if (typeof Symbol !== 'function') { return false; }
97
- if (typeof origSymbol('foo') !== 'symbol') { return false; }
98
- if (typeof Symbol('bar') !== 'symbol') { return false; }
1311
+ function requireGetIntrinsic () {
1312
+ if (hasRequiredGetIntrinsic) return getIntrinsic$1;
1313
+ hasRequiredGetIntrinsic = 1;
99
1314
 
100
- return hasSymbolSham();
101
- };
1315
+ var undefined$1;
102
1316
 
103
- var test = {
104
- foo: {}
105
- };
1317
+ var $Error = esErrors;
1318
+ var $EvalError = _eval;
1319
+ var $RangeError = range;
1320
+ var $ReferenceError = ref;
1321
+ var $SyntaxError = syntax;
1322
+ var $TypeError = type;
1323
+ var $URIError = uri;
106
1324
 
107
- var $Object = Object;
1325
+ var $Function = Function;
108
1326
 
109
- var hasProto$1 = function hasProto() {
110
- return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
111
- };
1327
+ // eslint-disable-next-line consistent-return
1328
+ var getEvalledConstructor = function (expressionSyntax) {
1329
+ try {
1330
+ return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
1331
+ } catch (e) {}
1332
+ };
112
1333
 
113
- /* eslint no-invalid-this: 1 */
1334
+ var $gOPD = Object.getOwnPropertyDescriptor;
1335
+ if ($gOPD) {
1336
+ try {
1337
+ $gOPD({}, '');
1338
+ } catch (e) {
1339
+ $gOPD = null; // this is IE 8, which has a broken gOPD
1340
+ }
1341
+ }
114
1342
 
115
- var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
116
- var slice = Array.prototype.slice;
117
- var toStr$1 = Object.prototype.toString;
118
- var funcType = '[object Function]';
1343
+ var throwTypeError = function () {
1344
+ throw new $TypeError();
1345
+ };
1346
+ var ThrowTypeError = $gOPD
1347
+ ? (function () {
1348
+ try {
1349
+ // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
1350
+ arguments.callee; // IE 8 does not throw here
1351
+ return throwTypeError;
1352
+ } catch (calleeThrows) {
1353
+ try {
1354
+ // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
1355
+ return $gOPD(arguments, 'callee').get;
1356
+ } catch (gOPDthrows) {
1357
+ return throwTypeError;
1358
+ }
1359
+ }
1360
+ }())
1361
+ : throwTypeError;
1362
+
1363
+ var hasSymbols = hasSymbols$4();
1364
+ var hasProto = hasProto$4();
1365
+
1366
+ var getProto = Object.getPrototypeOf || (
1367
+ hasProto
1368
+ ? function (x) { return x.__proto__; } // eslint-disable-line no-proto
1369
+ : null
1370
+ );
1371
+
1372
+ var needsEval = {};
1373
+
1374
+ var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined$1 : getProto(Uint8Array);
1375
+
1376
+ var INTRINSICS = {
1377
+ __proto__: null,
1378
+ '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
1379
+ '%Array%': Array,
1380
+ '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
1381
+ '%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined$1,
1382
+ '%AsyncFromSyncIteratorPrototype%': undefined$1,
1383
+ '%AsyncFunction%': needsEval,
1384
+ '%AsyncGenerator%': needsEval,
1385
+ '%AsyncGeneratorFunction%': needsEval,
1386
+ '%AsyncIteratorPrototype%': needsEval,
1387
+ '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
1388
+ '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
1389
+ '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined$1 : BigInt64Array,
1390
+ '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined$1 : BigUint64Array,
1391
+ '%Boolean%': Boolean,
1392
+ '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
1393
+ '%Date%': Date,
1394
+ '%decodeURI%': decodeURI,
1395
+ '%decodeURIComponent%': decodeURIComponent,
1396
+ '%encodeURI%': encodeURI,
1397
+ '%encodeURIComponent%': encodeURIComponent,
1398
+ '%Error%': $Error,
1399
+ '%eval%': eval, // eslint-disable-line no-eval
1400
+ '%EvalError%': $EvalError,
1401
+ '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
1402
+ '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
1403
+ '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
1404
+ '%Function%': $Function,
1405
+ '%GeneratorFunction%': needsEval,
1406
+ '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
1407
+ '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
1408
+ '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
1409
+ '%isFinite%': isFinite,
1410
+ '%isNaN%': isNaN,
1411
+ '%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1412
+ '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
1413
+ '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
1414
+ '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1415
+ '%Math%': Math,
1416
+ '%Number%': Number,
1417
+ '%Object%': Object,
1418
+ '%parseFloat%': parseFloat,
1419
+ '%parseInt%': parseInt,
1420
+ '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
1421
+ '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
1422
+ '%RangeError%': $RangeError,
1423
+ '%ReferenceError%': $ReferenceError,
1424
+ '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
1425
+ '%RegExp%': RegExp,
1426
+ '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
1427
+ '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1428
+ '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
1429
+ '%String%': String,
1430
+ '%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined$1,
1431
+ '%Symbol%': hasSymbols ? Symbol : undefined$1,
1432
+ '%SyntaxError%': $SyntaxError,
1433
+ '%ThrowTypeError%': ThrowTypeError,
1434
+ '%TypedArray%': TypedArray,
1435
+ '%TypeError%': $TypeError,
1436
+ '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
1437
+ '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
1438
+ '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
1439
+ '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
1440
+ '%URIError%': $URIError,
1441
+ '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
1442
+ '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
1443
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
1444
+ };
119
1445
 
120
- var implementation$1 = function bind(that) {
121
- var target = this;
122
- if (typeof target !== 'function' || toStr$1.call(target) !== funcType) {
123
- throw new TypeError(ERROR_MESSAGE + target);
124
- }
125
- var args = slice.call(arguments, 1);
1446
+ if (getProto) {
1447
+ try {
1448
+ null.error; // eslint-disable-line no-unused-expressions
1449
+ } catch (e) {
1450
+ // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
1451
+ var errorProto = getProto(getProto(e));
1452
+ INTRINSICS['%Error.prototype%'] = errorProto;
1453
+ }
1454
+ }
126
1455
 
127
- var bound;
128
- var binder = function () {
129
- if (this instanceof bound) {
130
- var result = target.apply(
131
- this,
132
- args.concat(slice.call(arguments))
133
- );
134
- if (Object(result) === result) {
135
- return result;
136
- }
137
- return this;
138
- } else {
139
- return target.apply(
140
- that,
141
- args.concat(slice.call(arguments))
142
- );
143
- }
144
- };
1456
+ var doEval = function doEval(name) {
1457
+ var value;
1458
+ if (name === '%AsyncFunction%') {
1459
+ value = getEvalledConstructor('async function () {}');
1460
+ } else if (name === '%GeneratorFunction%') {
1461
+ value = getEvalledConstructor('function* () {}');
1462
+ } else if (name === '%AsyncGeneratorFunction%') {
1463
+ value = getEvalledConstructor('async function* () {}');
1464
+ } else if (name === '%AsyncGenerator%') {
1465
+ var fn = doEval('%AsyncGeneratorFunction%');
1466
+ if (fn) {
1467
+ value = fn.prototype;
1468
+ }
1469
+ } else if (name === '%AsyncIteratorPrototype%') {
1470
+ var gen = doEval('%AsyncGenerator%');
1471
+ if (gen && getProto) {
1472
+ value = getProto(gen.prototype);
1473
+ }
1474
+ }
145
1475
 
146
- var boundLength = Math.max(0, target.length - args.length);
147
- var boundArgs = [];
148
- for (var i = 0; i < boundLength; i++) {
149
- boundArgs.push('$' + i);
150
- }
1476
+ INTRINSICS[name] = value;
151
1477
 
152
- bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1478
+ return value;
1479
+ };
153
1480
 
154
- if (target.prototype) {
155
- var Empty = function Empty() {};
156
- Empty.prototype = target.prototype;
157
- bound.prototype = new Empty();
158
- Empty.prototype = null;
159
- }
1481
+ var LEGACY_ALIASES = {
1482
+ __proto__: null,
1483
+ '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
1484
+ '%ArrayPrototype%': ['Array', 'prototype'],
1485
+ '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
1486
+ '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
1487
+ '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
1488
+ '%ArrayProto_values%': ['Array', 'prototype', 'values'],
1489
+ '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
1490
+ '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
1491
+ '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
1492
+ '%BooleanPrototype%': ['Boolean', 'prototype'],
1493
+ '%DataViewPrototype%': ['DataView', 'prototype'],
1494
+ '%DatePrototype%': ['Date', 'prototype'],
1495
+ '%ErrorPrototype%': ['Error', 'prototype'],
1496
+ '%EvalErrorPrototype%': ['EvalError', 'prototype'],
1497
+ '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
1498
+ '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
1499
+ '%FunctionPrototype%': ['Function', 'prototype'],
1500
+ '%Generator%': ['GeneratorFunction', 'prototype'],
1501
+ '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
1502
+ '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
1503
+ '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
1504
+ '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
1505
+ '%JSONParse%': ['JSON', 'parse'],
1506
+ '%JSONStringify%': ['JSON', 'stringify'],
1507
+ '%MapPrototype%': ['Map', 'prototype'],
1508
+ '%NumberPrototype%': ['Number', 'prototype'],
1509
+ '%ObjectPrototype%': ['Object', 'prototype'],
1510
+ '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
1511
+ '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
1512
+ '%PromisePrototype%': ['Promise', 'prototype'],
1513
+ '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
1514
+ '%Promise_all%': ['Promise', 'all'],
1515
+ '%Promise_reject%': ['Promise', 'reject'],
1516
+ '%Promise_resolve%': ['Promise', 'resolve'],
1517
+ '%RangeErrorPrototype%': ['RangeError', 'prototype'],
1518
+ '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
1519
+ '%RegExpPrototype%': ['RegExp', 'prototype'],
1520
+ '%SetPrototype%': ['Set', 'prototype'],
1521
+ '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
1522
+ '%StringPrototype%': ['String', 'prototype'],
1523
+ '%SymbolPrototype%': ['Symbol', 'prototype'],
1524
+ '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
1525
+ '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
1526
+ '%TypeErrorPrototype%': ['TypeError', 'prototype'],
1527
+ '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
1528
+ '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
1529
+ '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
1530
+ '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
1531
+ '%URIErrorPrototype%': ['URIError', 'prototype'],
1532
+ '%WeakMapPrototype%': ['WeakMap', 'prototype'],
1533
+ '%WeakSetPrototype%': ['WeakSet', 'prototype']
1534
+ };
160
1535
 
161
- return bound;
162
- };
1536
+ var bind = functionBind;
1537
+ var hasOwn = hasown;
1538
+ var $concat = bind.call(Function.call, Array.prototype.concat);
1539
+ var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
1540
+ var $replace = bind.call(Function.call, String.prototype.replace);
1541
+ var $strSlice = bind.call(Function.call, String.prototype.slice);
1542
+ var $exec = bind.call(Function.call, RegExp.prototype.exec);
1543
+
1544
+ /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
1545
+ var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
1546
+ var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
1547
+ var stringToPath = function stringToPath(string) {
1548
+ var first = $strSlice(string, 0, 1);
1549
+ var last = $strSlice(string, -1);
1550
+ if (first === '%' && last !== '%') {
1551
+ throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
1552
+ } else if (last === '%' && first !== '%') {
1553
+ throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
1554
+ }
1555
+ var result = [];
1556
+ $replace(string, rePropName, function (match, number, quote, subString) {
1557
+ result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
1558
+ });
1559
+ return result;
1560
+ };
1561
+ /* end adaptation */
1562
+
1563
+ var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
1564
+ var intrinsicName = name;
1565
+ var alias;
1566
+ if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
1567
+ alias = LEGACY_ALIASES[intrinsicName];
1568
+ intrinsicName = '%' + alias[0] + '%';
1569
+ }
163
1570
 
164
- var implementation = implementation$1;
1571
+ if (hasOwn(INTRINSICS, intrinsicName)) {
1572
+ var value = INTRINSICS[intrinsicName];
1573
+ if (value === needsEval) {
1574
+ value = doEval(intrinsicName);
1575
+ }
1576
+ if (typeof value === 'undefined' && !allowMissing) {
1577
+ throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1578
+ }
165
1579
 
166
- var functionBind = Function.prototype.bind || implementation;
1580
+ return {
1581
+ alias: alias,
1582
+ name: intrinsicName,
1583
+ value: value
1584
+ };
1585
+ }
167
1586
 
168
- var bind$1 = functionBind;
1587
+ throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
1588
+ };
1589
+
1590
+ getIntrinsic$1 = function GetIntrinsic(name, allowMissing) {
1591
+ if (typeof name !== 'string' || name.length === 0) {
1592
+ throw new $TypeError('intrinsic name must be a non-empty string');
1593
+ }
1594
+ if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
1595
+ throw new $TypeError('"allowMissing" argument must be a boolean');
1596
+ }
1597
+
1598
+ if ($exec(/^%?[^%]*%?$/, name) === null) {
1599
+ throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
1600
+ }
1601
+ var parts = stringToPath(name);
1602
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
1603
+
1604
+ var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
1605
+ var intrinsicRealName = intrinsic.name;
1606
+ var value = intrinsic.value;
1607
+ var skipFurtherCaching = false;
1608
+
1609
+ var alias = intrinsic.alias;
1610
+ if (alias) {
1611
+ intrinsicBaseName = alias[0];
1612
+ $spliceApply(parts, $concat([0, 1], alias));
1613
+ }
1614
+
1615
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
1616
+ var part = parts[i];
1617
+ var first = $strSlice(part, 0, 1);
1618
+ var last = $strSlice(part, -1);
1619
+ if (
1620
+ (
1621
+ (first === '"' || first === "'" || first === '`')
1622
+ || (last === '"' || last === "'" || last === '`')
1623
+ )
1624
+ && first !== last
1625
+ ) {
1626
+ throw new $SyntaxError('property names with quotes must have matching quotes');
1627
+ }
1628
+ if (part === 'constructor' || !isOwn) {
1629
+ skipFurtherCaching = true;
1630
+ }
1631
+
1632
+ intrinsicBaseName += '.' + part;
1633
+ intrinsicRealName = '%' + intrinsicBaseName + '%';
1634
+
1635
+ if (hasOwn(INTRINSICS, intrinsicRealName)) {
1636
+ value = INTRINSICS[intrinsicRealName];
1637
+ } else if (value != null) {
1638
+ if (!(part in value)) {
1639
+ if (!allowMissing) {
1640
+ throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
1641
+ }
1642
+ return void undefined$1;
1643
+ }
1644
+ if ($gOPD && (i + 1) >= parts.length) {
1645
+ var desc = $gOPD(value, part);
1646
+ isOwn = !!desc;
1647
+
1648
+ // By convention, when a data property is converted to an accessor
1649
+ // property to emulate a data property that does not suffer from
1650
+ // the override mistake, that accessor's getter is marked with
1651
+ // an `originalValue` property. Here, when we detect this, we
1652
+ // uphold the illusion by pretending to see that original data
1653
+ // property, i.e., returning the value rather than the getter
1654
+ // itself.
1655
+ if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
1656
+ value = desc.get;
1657
+ } else {
1658
+ value = value[part];
1659
+ }
1660
+ } else {
1661
+ isOwn = hasOwn(value, part);
1662
+ value = value[part];
1663
+ }
1664
+
1665
+ if (isOwn && !skipFurtherCaching) {
1666
+ INTRINSICS[intrinsicRealName] = value;
1667
+ }
1668
+ }
1669
+ }
1670
+ return value;
1671
+ };
1672
+ return getIntrinsic$1;
1673
+ }
1674
+
1675
+ var esDefineProperty;
1676
+ var hasRequiredEsDefineProperty;
1677
+
1678
+ function requireEsDefineProperty () {
1679
+ if (hasRequiredEsDefineProperty) return esDefineProperty;
1680
+ hasRequiredEsDefineProperty = 1;
1681
+
1682
+ var GetIntrinsic = requireGetIntrinsic();
1683
+
1684
+ /** @type {import('.')} */
1685
+ var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
1686
+ if ($defineProperty) {
1687
+ try {
1688
+ $defineProperty({}, 'a', { value: 1 });
1689
+ } catch (e) {
1690
+ // IE 8 has a broken defineProperty
1691
+ $defineProperty = false;
1692
+ }
1693
+ }
169
1694
 
170
- var src = bind$1.call(Function.call, Object.prototype.hasOwnProperty);
1695
+ esDefineProperty = $defineProperty;
1696
+ return esDefineProperty;
1697
+ }
171
1698
 
172
1699
  var undefined$1;
173
1700
 
174
- var $SyntaxError = SyntaxError;
1701
+ var $Error = esErrors;
1702
+ var $EvalError = _eval;
1703
+ var $RangeError = range;
1704
+ var $ReferenceError = ref;
1705
+ var $SyntaxError$1 = syntax;
1706
+ var $TypeError$3 = type;
1707
+ var $URIError = uri;
1708
+
175
1709
  var $Function = Function;
176
- var $TypeError$1 = TypeError;
177
1710
 
178
1711
  // eslint-disable-next-line consistent-return
179
1712
  var getEvalledConstructor = function (expressionSyntax) {
@@ -182,19 +1715,19 @@ var getEvalledConstructor = function (expressionSyntax) {
182
1715
  } catch (e) {}
183
1716
  };
184
1717
 
185
- var $gOPD = Object.getOwnPropertyDescriptor;
186
- if ($gOPD) {
1718
+ var $gOPD$1 = Object.getOwnPropertyDescriptor;
1719
+ if ($gOPD$1) {
187
1720
  try {
188
- $gOPD({}, '');
1721
+ $gOPD$1({}, '');
189
1722
  } catch (e) {
190
- $gOPD = null; // this is IE 8, which has a broken gOPD
1723
+ $gOPD$1 = null; // this is IE 8, which has a broken gOPD
191
1724
  }
192
1725
  }
193
1726
 
194
1727
  var throwTypeError = function () {
195
- throw new $TypeError$1();
1728
+ throw new $TypeError$3();
196
1729
  };
197
- var ThrowTypeError = $gOPD
1730
+ var ThrowTypeError = $gOPD$1
198
1731
  ? (function () {
199
1732
  try {
200
1733
  // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
@@ -203,7 +1736,7 @@ var ThrowTypeError = $gOPD
203
1736
  } catch (calleeThrows) {
204
1737
  try {
205
1738
  // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
206
- return $gOPD(arguments, 'callee').get;
1739
+ return $gOPD$1(arguments, 'callee').get;
207
1740
  } catch (gOPDthrows) {
208
1741
  return throwTypeError;
209
1742
  }
@@ -211,8 +1744,8 @@ var ThrowTypeError = $gOPD
211
1744
  }())
212
1745
  : throwTypeError;
213
1746
 
214
- var hasSymbols = hasSymbols$1();
215
- var hasProto = hasProto$1();
1747
+ var hasSymbols = hasSymbols$4();
1748
+ var hasProto = hasProto$4();
216
1749
 
217
1750
  var getProto = Object.getPrototypeOf || (
218
1751
  hasProto
@@ -225,6 +1758,7 @@ var needsEval = {};
225
1758
  var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined$1 : getProto(Uint8Array);
226
1759
 
227
1760
  var INTRINSICS = {
1761
+ __proto__: null,
228
1762
  '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
229
1763
  '%Array%': Array,
230
1764
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
@@ -245,9 +1779,9 @@ var INTRINSICS = {
245
1779
  '%decodeURIComponent%': decodeURIComponent,
246
1780
  '%encodeURI%': encodeURI,
247
1781
  '%encodeURIComponent%': encodeURIComponent,
248
- '%Error%': Error,
1782
+ '%Error%': $Error,
249
1783
  '%eval%': eval, // eslint-disable-line no-eval
250
- '%EvalError%': EvalError,
1784
+ '%EvalError%': $EvalError,
251
1785
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
252
1786
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
253
1787
  '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
@@ -269,8 +1803,8 @@ var INTRINSICS = {
269
1803
  '%parseInt%': parseInt,
270
1804
  '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
271
1805
  '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
272
- '%RangeError%': RangeError,
273
- '%ReferenceError%': ReferenceError,
1806
+ '%RangeError%': $RangeError,
1807
+ '%ReferenceError%': $ReferenceError,
274
1808
  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
275
1809
  '%RegExp%': RegExp,
276
1810
  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
@@ -279,15 +1813,15 @@ var INTRINSICS = {
279
1813
  '%String%': String,
280
1814
  '%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined$1,
281
1815
  '%Symbol%': hasSymbols ? Symbol : undefined$1,
282
- '%SyntaxError%': $SyntaxError,
1816
+ '%SyntaxError%': $SyntaxError$1,
283
1817
  '%ThrowTypeError%': ThrowTypeError,
284
1818
  '%TypedArray%': TypedArray,
285
- '%TypeError%': $TypeError$1,
1819
+ '%TypeError%': $TypeError$3,
286
1820
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
287
1821
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
288
1822
  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
289
1823
  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
290
- '%URIError%': URIError,
1824
+ '%URIError%': $URIError,
291
1825
  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
292
1826
  '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
293
1827
  '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
@@ -329,6 +1863,7 @@ var doEval = function doEval(name) {
329
1863
  };
330
1864
 
331
1865
  var LEGACY_ALIASES = {
1866
+ __proto__: null,
332
1867
  '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
333
1868
  '%ArrayPrototype%': ['Array', 'prototype'],
334
1869
  '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
@@ -383,7 +1918,7 @@ var LEGACY_ALIASES = {
383
1918
  };
384
1919
 
385
1920
  var bind = functionBind;
386
- var hasOwn$1 = src;
1921
+ var hasOwn$1 = hasown;
387
1922
  var $concat$1 = bind.call(Function.call, Array.prototype.concat);
388
1923
  var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
389
1924
  var $replace$1 = bind.call(Function.call, String.prototype.replace);
@@ -397,9 +1932,9 @@ var stringToPath = function stringToPath(string) {
397
1932
  var first = $strSlice(string, 0, 1);
398
1933
  var last = $strSlice(string, -1);
399
1934
  if (first === '%' && last !== '%') {
400
- throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
1935
+ throw new $SyntaxError$1('invalid intrinsic syntax, expected closing `%`');
401
1936
  } else if (last === '%' && first !== '%') {
402
- throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
1937
+ throw new $SyntaxError$1('invalid intrinsic syntax, expected opening `%`');
403
1938
  }
404
1939
  var result = [];
405
1940
  $replace$1(string, rePropName, function (match, number, quote, subString) {
@@ -423,7 +1958,7 @@ var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
423
1958
  value = doEval(intrinsicName);
424
1959
  }
425
1960
  if (typeof value === 'undefined' && !allowMissing) {
426
- throw new $TypeError$1('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1961
+ throw new $TypeError$3('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
427
1962
  }
428
1963
 
429
1964
  return {
@@ -433,19 +1968,19 @@ var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
433
1968
  };
434
1969
  }
435
1970
 
436
- throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
1971
+ throw new $SyntaxError$1('intrinsic ' + name + ' does not exist!');
437
1972
  };
438
1973
 
439
1974
  var getIntrinsic = function GetIntrinsic(name, allowMissing) {
440
1975
  if (typeof name !== 'string' || name.length === 0) {
441
- throw new $TypeError$1('intrinsic name must be a non-empty string');
1976
+ throw new $TypeError$3('intrinsic name must be a non-empty string');
442
1977
  }
443
1978
  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
444
- throw new $TypeError$1('"allowMissing" argument must be a boolean');
1979
+ throw new $TypeError$3('"allowMissing" argument must be a boolean');
445
1980
  }
446
1981
 
447
1982
  if ($exec(/^%?[^%]*%?$/, name) === null) {
448
- throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
1983
+ throw new $SyntaxError$1('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
449
1984
  }
450
1985
  var parts = stringToPath(name);
451
1986
  var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
@@ -472,7 +2007,7 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
472
2007
  )
473
2008
  && first !== last
474
2009
  ) {
475
- throw new $SyntaxError('property names with quotes must have matching quotes');
2010
+ throw new $SyntaxError$1('property names with quotes must have matching quotes');
476
2011
  }
477
2012
  if (part === 'constructor' || !isOwn) {
478
2013
  skipFurtherCaching = true;
@@ -486,12 +2021,12 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
486
2021
  } else if (value != null) {
487
2022
  if (!(part in value)) {
488
2023
  if (!allowMissing) {
489
- throw new $TypeError$1('base intrinsic for ' + name + ' exists, but the property is not available.');
2024
+ throw new $TypeError$3('base intrinsic for ' + name + ' exists, but the property is not available.');
490
2025
  }
491
2026
  return void undefined$1;
492
2027
  }
493
- if ($gOPD && (i + 1) >= parts.length) {
494
- var desc = $gOPD(value, part);
2028
+ if ($gOPD$1 && (i + 1) >= parts.length) {
2029
+ var desc = $gOPD$1(value, part);
495
2030
  isOwn = !!desc;
496
2031
 
497
2032
  // By convention, when a data property is converted to an accessor
@@ -519,46 +2054,164 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
519
2054
  return value;
520
2055
  };
521
2056
 
522
- var callBind$1 = {exports: {}};
2057
+ var GetIntrinsic$3 = getIntrinsic;
2058
+
2059
+ var $gOPD = GetIntrinsic$3('%Object.getOwnPropertyDescriptor%', true);
2060
+
2061
+ if ($gOPD) {
2062
+ try {
2063
+ $gOPD([], 'length');
2064
+ } catch (e) {
2065
+ // IE 8 has a broken gOPD
2066
+ $gOPD = null;
2067
+ }
2068
+ }
2069
+
2070
+ var gopd$1 = $gOPD;
2071
+
2072
+ var $defineProperty$1 = requireEsDefineProperty();
2073
+
2074
+ var $SyntaxError = syntax;
2075
+ var $TypeError$2 = type;
2076
+
2077
+ var gopd = gopd$1;
2078
+
2079
+ /** @type {import('.')} */
2080
+ var defineDataProperty = function defineDataProperty(
2081
+ obj,
2082
+ property,
2083
+ value
2084
+ ) {
2085
+ if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
2086
+ throw new $TypeError$2('`obj` must be an object or a function`');
2087
+ }
2088
+ if (typeof property !== 'string' && typeof property !== 'symbol') {
2089
+ throw new $TypeError$2('`property` must be a string or a symbol`');
2090
+ }
2091
+ if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
2092
+ throw new $TypeError$2('`nonEnumerable`, if provided, must be a boolean or null');
2093
+ }
2094
+ if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
2095
+ throw new $TypeError$2('`nonWritable`, if provided, must be a boolean or null');
2096
+ }
2097
+ if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
2098
+ throw new $TypeError$2('`nonConfigurable`, if provided, must be a boolean or null');
2099
+ }
2100
+ if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
2101
+ throw new $TypeError$2('`loose`, if provided, must be a boolean');
2102
+ }
2103
+
2104
+ var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
2105
+ var nonWritable = arguments.length > 4 ? arguments[4] : null;
2106
+ var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
2107
+ var loose = arguments.length > 6 ? arguments[6] : false;
2108
+
2109
+ /* @type {false | TypedPropertyDescriptor<unknown>} */
2110
+ var desc = !!gopd && gopd(obj, property);
2111
+
2112
+ if ($defineProperty$1) {
2113
+ $defineProperty$1(obj, property, {
2114
+ configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
2115
+ enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
2116
+ value: value,
2117
+ writable: nonWritable === null && desc ? desc.writable : !nonWritable
2118
+ });
2119
+ } else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {
2120
+ // must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable
2121
+ obj[property] = value; // eslint-disable-line no-param-reassign
2122
+ } else {
2123
+ throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
2124
+ }
2125
+ };
2126
+
2127
+ var $defineProperty = requireEsDefineProperty();
2128
+
2129
+ var hasPropertyDescriptors = function hasPropertyDescriptors() {
2130
+ return !!$defineProperty;
2131
+ };
2132
+
2133
+ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
2134
+ // node v0.6 has a bug where array lengths can be Set but not Defined
2135
+ if (!$defineProperty) {
2136
+ return null;
2137
+ }
2138
+ try {
2139
+ return $defineProperty([], 'length', { value: 1 }).length !== 1;
2140
+ } catch (e) {
2141
+ // In Firefox 4-22, defining length on an array throws an exception.
2142
+ return true;
2143
+ }
2144
+ };
2145
+
2146
+ var hasPropertyDescriptors_1 = hasPropertyDescriptors;
2147
+
2148
+ var GetIntrinsic$2 = getIntrinsic$2;
2149
+ var define = defineDataProperty;
2150
+ var hasDescriptors = hasPropertyDescriptors_1();
2151
+ var gOPD = gopd$1;
2152
+
2153
+ var $TypeError$1 = type;
2154
+ var $floor$1 = GetIntrinsic$2('%Math.floor%');
2155
+
2156
+ /** @type {import('.')} */
2157
+ var setFunctionLength = function setFunctionLength(fn, length) {
2158
+ if (typeof fn !== 'function') {
2159
+ throw new $TypeError$1('`fn` is not a function');
2160
+ }
2161
+ if (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor$1(length) !== length) {
2162
+ throw new $TypeError$1('`length` must be a positive 32-bit integer');
2163
+ }
2164
+
2165
+ var loose = arguments.length > 2 && !!arguments[2];
2166
+
2167
+ var functionLengthIsConfigurable = true;
2168
+ var functionLengthIsWritable = true;
2169
+ if ('length' in fn && gOPD) {
2170
+ var desc = gOPD(fn, 'length');
2171
+ if (desc && !desc.configurable) {
2172
+ functionLengthIsConfigurable = false;
2173
+ }
2174
+ if (desc && !desc.writable) {
2175
+ functionLengthIsWritable = false;
2176
+ }
2177
+ }
2178
+
2179
+ if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
2180
+ if (hasDescriptors) {
2181
+ define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);
2182
+ } else {
2183
+ define(/** @type {Parameters<define>[0]} */ (fn), 'length', length);
2184
+ }
2185
+ }
2186
+ return fn;
2187
+ };
523
2188
 
524
2189
  callBind$1.exports;
525
2190
 
526
2191
  (function (module) {
527
2192
 
528
2193
  var bind = functionBind;
529
- var GetIntrinsic = getIntrinsic;
2194
+ var GetIntrinsic = getIntrinsic$3;
2195
+ var setFunctionLength$1 = setFunctionLength;
530
2196
 
2197
+ var $TypeError = type;
531
2198
  var $apply = GetIntrinsic('%Function.prototype.apply%');
532
2199
  var $call = GetIntrinsic('%Function.prototype.call%');
533
2200
  var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
534
2201
 
535
- var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
536
- var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
2202
+ var $defineProperty = requireEsDefineProperty();
537
2203
  var $max = GetIntrinsic('%Math.max%');
538
2204
 
539
- if ($defineProperty) {
540
- try {
541
- $defineProperty({}, 'a', { value: 1 });
542
- } catch (e) {
543
- // IE 8 has a broken defineProperty
544
- $defineProperty = null;
545
- }
546
- }
547
-
548
2205
  module.exports = function callBind(originalFunction) {
549
- var func = $reflectApply(bind, $call, arguments);
550
- if ($gOPD && $defineProperty) {
551
- var desc = $gOPD(func, 'length');
552
- if (desc.configurable) {
553
- // original length, plus the receiver, minus any additional arguments (after the receiver)
554
- $defineProperty(
555
- func,
556
- 'length',
557
- { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
558
- );
559
- }
2206
+ if (typeof originalFunction !== 'function') {
2207
+ throw new $TypeError('a function is required');
560
2208
  }
561
- return func;
2209
+ var func = $reflectApply(bind, $call, arguments);
2210
+ return setFunctionLength$1(
2211
+ func,
2212
+ 1 + $max(0, originalFunction.length - (arguments.length - 1)),
2213
+ true
2214
+ );
562
2215
  };
563
2216
 
564
2217
  var applyBind = function applyBind() {
@@ -574,7 +2227,7 @@ callBind$1.exports;
574
2227
 
575
2228
  var callBindExports = callBind$1.exports;
576
2229
 
577
- var GetIntrinsic$1 = getIntrinsic;
2230
+ var GetIntrinsic$1 = getIntrinsic$3;
578
2231
 
579
2232
  var callBind = callBindExports;
580
2233
 
@@ -831,6 +2484,14 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
831
2484
  if (isString(obj)) {
832
2485
  return markBoxed(inspect(String(obj)));
833
2486
  }
2487
+ // note: in IE 8, sometimes `global !== window` but both are the prototypes of each other
2488
+ /* eslint-env browser */
2489
+ if (typeof window !== 'undefined' && obj === window) {
2490
+ return '{ [object Window] }';
2491
+ }
2492
+ if (obj === _commonjsHelpers.commonjsGlobal) {
2493
+ return '{ [object globalThis] }';
2494
+ }
834
2495
  if (!isDate(obj) && !isRegExp$1(obj)) {
835
2496
  var ys = arrObjKeys(obj, inspect);
836
2497
  var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
@@ -1107,11 +2768,11 @@ function arrObjKeys(obj, inspect) {
1107
2768
  return xs;
1108
2769
  }
1109
2770
 
1110
- var GetIntrinsic = getIntrinsic;
2771
+ var GetIntrinsic = getIntrinsic$4;
1111
2772
  var callBound = callBound$1;
1112
2773
  var inspect = objectInspect;
1113
2774
 
1114
- var $TypeError = GetIntrinsic('%TypeError%');
2775
+ var $TypeError = type;
1115
2776
  var $WeakMap = GetIntrinsic('%WeakMap%', true);
1116
2777
  var $Map = GetIntrinsic('%Map%', true);
1117
2778
 
@@ -1123,49 +2784,58 @@ var $mapSet = callBound('Map.prototype.set', true);
1123
2784
  var $mapHas = callBound('Map.prototype.has', true);
1124
2785
 
1125
2786
  /*
1126
- * This function traverses the list returning the node corresponding to the
1127
- * given key.
1128
- *
1129
- * That node is also moved to the head of the list, so that if it's accessed
1130
- * again we don't need to traverse the whole list. By doing so, all the recently
1131
- * used nodes can be accessed relatively quickly.
1132
- */
2787
+ * This function traverses the list returning the node corresponding to the given key.
2788
+ *
2789
+ * That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list. By doing so, all the recently used nodes can be accessed relatively quickly.
2790
+ */
2791
+ /** @type {import('.').listGetNode} */
1133
2792
  var listGetNode = function (list, key) { // eslint-disable-line consistent-return
1134
- for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
2793
+ /** @type {typeof list | NonNullable<(typeof list)['next']>} */
2794
+ var prev = list;
2795
+ /** @type {(typeof list)['next']} */
2796
+ var curr;
2797
+ for (; (curr = prev.next) !== null; prev = curr) {
1135
2798
  if (curr.key === key) {
1136
2799
  prev.next = curr.next;
1137
- curr.next = list.next;
2800
+ // eslint-disable-next-line no-extra-parens
2801
+ curr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);
1138
2802
  list.next = curr; // eslint-disable-line no-param-reassign
1139
2803
  return curr;
1140
2804
  }
1141
2805
  }
1142
2806
  };
1143
2807
 
2808
+ /** @type {import('.').listGet} */
1144
2809
  var listGet = function (objects, key) {
1145
2810
  var node = listGetNode(objects, key);
1146
2811
  return node && node.value;
1147
2812
  };
2813
+ /** @type {import('.').listSet} */
1148
2814
  var listSet = function (objects, key, value) {
1149
2815
  var node = listGetNode(objects, key);
1150
2816
  if (node) {
1151
2817
  node.value = value;
1152
2818
  } else {
1153
2819
  // Prepend the new node to the beginning of the list
1154
- objects.next = { // eslint-disable-line no-param-reassign
2820
+ objects.next = /** @type {import('.').ListNode<typeof value>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens
1155
2821
  key: key,
1156
2822
  next: objects.next,
1157
2823
  value: value
1158
- };
2824
+ });
1159
2825
  }
1160
2826
  };
2827
+ /** @type {import('.').listHas} */
1161
2828
  var listHas = function (objects, key) {
1162
2829
  return !!listGetNode(objects, key);
1163
2830
  };
1164
2831
 
2832
+ /** @type {import('.')} */
1165
2833
  var sideChannel = function getSideChannel() {
1166
- var $wm;
1167
- var $m;
1168
- var $o;
2834
+ /** @type {WeakMap<object, unknown>} */ var $wm;
2835
+ /** @type {Map<object, unknown>} */ var $m;
2836
+ /** @type {import('.').RootNode<unknown>} */ var $o;
2837
+
2838
+ /** @type {import('.').Channel} */
1169
2839
  var channel = {
1170
2840
  assert: function (key) {
1171
2841
  if (!channel.has(key)) {
@@ -1216,11 +2886,7 @@ var sideChannel = function getSideChannel() {
1216
2886
  $mapSet($m, key, value);
1217
2887
  } else {
1218
2888
  if (!$o) {
1219
- /*
1220
- * Initialize the linked list as an empty node, so that we don't have
1221
- * to special-case handling of the first node: we can always refer to
1222
- * it as (previous node).next, instead of something like (list).head
1223
- */
2889
+ // Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head
1224
2890
  $o = { key: {}, next: null };
1225
2891
  }
1226
2892
  listSet($o, key, value);
@@ -2208,4 +3874,4 @@ exports.useFetchStripeTransactions = useFetchStripeTransactions;
2208
3874
  exports.usePollingStripeAccount = usePollingStripeAccount;
2209
3875
  exports.usePollingStripeAccountCreationStatus = usePollingStripeAccountCreationStatus;
2210
3876
  exports.useShowStripePayout = useShowStripePayout;
2211
- //# sourceMappingURL=useConnectApi-4797829f.js.map
3877
+ //# sourceMappingURL=useConnectApi-0fc52c4d.js.map