@strapi/plugin-users-permissions 5.0.2 → 5.0.3

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 (29) hide show
  1. package/dist/_chunks/{index-cL_YxyjM.js → index-B5io2HKz.js} +7 -7
  2. package/dist/_chunks/{index-cL_YxyjM.js.map → index-B5io2HKz.js.map} +1 -1
  3. package/dist/_chunks/{index-DJOPnOVo.mjs → index-BHpma1rH.mjs} +3 -3
  4. package/dist/_chunks/{index-DJOPnOVo.mjs.map → index-BHpma1rH.mjs.map} +1 -1
  5. package/dist/_chunks/{index-B9cFxoCN.mjs → index-CIDY9MX4.mjs} +3 -3
  6. package/dist/_chunks/{index-B9cFxoCN.mjs.map → index-CIDY9MX4.mjs.map} +1 -1
  7. package/dist/_chunks/{index-Cb03Ke48.js → index-CK9Dd5PU.js} +4 -4
  8. package/dist/_chunks/{index-Cb03Ke48.js.map → index-CK9Dd5PU.js.map} +1 -1
  9. package/dist/_chunks/{index-BJTnrL31.js → index-COAdu5fZ.js} +2 -2
  10. package/dist/_chunks/{index-BJTnrL31.js.map → index-COAdu5fZ.js.map} +1 -1
  11. package/dist/_chunks/{index-_vrdPeYp.js → index-CVI1p8NZ.js} +6 -9
  12. package/dist/_chunks/{index-_vrdPeYp.js.map → index-CVI1p8NZ.js.map} +1 -1
  13. package/dist/_chunks/{index-DDglyd0X.mjs → index-Cu5xZVtf.mjs} +2 -2
  14. package/dist/_chunks/{index-DDglyd0X.mjs.map → index-Cu5xZVtf.mjs.map} +1 -1
  15. package/dist/_chunks/{index-CI_b1cXd.mjs → index-DBfbrP0c.mjs} +2 -2
  16. package/dist/_chunks/{index-CI_b1cXd.mjs.map → index-DBfbrP0c.mjs.map} +1 -1
  17. package/dist/_chunks/{index-CAgV-G5k.js → index-DVfbrKYH.js} +2 -2
  18. package/dist/_chunks/{index-CAgV-G5k.js.map → index-DVfbrKYH.js.map} +1 -1
  19. package/dist/_chunks/{index-QPUYgtlo-BfJxOAzF.mjs → index-O8wWF32N-C1E7ADbJ.mjs} +408 -269
  20. package/dist/_chunks/index-O8wWF32N-C1E7ADbJ.mjs.map +1 -0
  21. package/dist/_chunks/{index-QPUYgtlo-QiBdpWEj.js → index-O8wWF32N-fMZ4nmrb.js} +408 -269
  22. package/dist/_chunks/index-O8wWF32N-fMZ4nmrb.js.map +1 -0
  23. package/dist/_chunks/{index-bDCZWhLO.mjs → index-c_V2U8RX.mjs} +6 -9
  24. package/dist/_chunks/{index-bDCZWhLO.mjs.map → index-c_V2U8RX.mjs.map} +1 -1
  25. package/dist/admin/index.js +1 -1
  26. package/dist/admin/index.mjs +1 -1
  27. package/package.json +4 -4
  28. package/dist/_chunks/index-QPUYgtlo-BfJxOAzF.mjs.map +0 -1
  29. package/dist/_chunks/index-QPUYgtlo-QiBdpWEj.js.map +0 -1
@@ -27,6 +27,7 @@ import * as yup from "yup";
27
27
  import "lodash/omit";
28
28
  import "formik";
29
29
  import "lodash/throttle";
30
+ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
30
31
  function getDefaultExportFromCjs(x) {
31
32
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
32
33
  }
@@ -56,6 +57,13 @@ function getAugmentedNamespace(n) {
56
57
  });
57
58
  return a2;
58
59
  }
60
+ var esErrors = Error;
61
+ var _eval = EvalError;
62
+ var range = RangeError;
63
+ var ref = ReferenceError;
64
+ var syntax = SyntaxError;
65
+ var type = TypeError;
66
+ var uri = URIError;
59
67
  var shams = function hasSymbols() {
60
68
  if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
61
69
  return false;
@@ -126,39 +134,65 @@ var hasProto$1 = function hasProto() {
126
134
  return { __proto__: test$1 }.foo === test$1.foo && !({ __proto__: null } instanceof $Object);
127
135
  };
128
136
  var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
129
- var slice = Array.prototype.slice;
130
137
  var toStr$1 = Object.prototype.toString;
138
+ var max = Math.max;
131
139
  var funcType = "[object Function]";
140
+ var concatty = function concatty2(a2, b) {
141
+ var arr = [];
142
+ for (var i = 0; i < a2.length; i += 1) {
143
+ arr[i] = a2[i];
144
+ }
145
+ for (var j = 0; j < b.length; j += 1) {
146
+ arr[j + a2.length] = b[j];
147
+ }
148
+ return arr;
149
+ };
150
+ var slicy = function slicy2(arrLike, offset) {
151
+ var arr = [];
152
+ for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
153
+ arr[j] = arrLike[i];
154
+ }
155
+ return arr;
156
+ };
157
+ var joiny = function(arr, joiner) {
158
+ var str = "";
159
+ for (var i = 0; i < arr.length; i += 1) {
160
+ str += arr[i];
161
+ if (i + 1 < arr.length) {
162
+ str += joiner;
163
+ }
164
+ }
165
+ return str;
166
+ };
132
167
  var implementation$1 = function bind(that) {
133
168
  var target = this;
134
- if (typeof target !== "function" || toStr$1.call(target) !== funcType) {
169
+ if (typeof target !== "function" || toStr$1.apply(target) !== funcType) {
135
170
  throw new TypeError(ERROR_MESSAGE + target);
136
171
  }
137
- var args = slice.call(arguments, 1);
172
+ var args = slicy(arguments, 1);
138
173
  var bound;
139
174
  var binder = function() {
140
175
  if (this instanceof bound) {
141
176
  var result = target.apply(
142
177
  this,
143
- args.concat(slice.call(arguments))
178
+ concatty(args, arguments)
144
179
  );
145
180
  if (Object(result) === result) {
146
181
  return result;
147
182
  }
148
183
  return this;
149
- } else {
150
- return target.apply(
151
- that,
152
- args.concat(slice.call(arguments))
153
- );
154
184
  }
185
+ return target.apply(
186
+ that,
187
+ concatty(args, arguments)
188
+ );
155
189
  };
156
- var boundLength = Math.max(0, target.length - args.length);
190
+ var boundLength = max(0, target.length - args.length);
157
191
  var boundArgs = [];
158
192
  for (var i = 0; i < boundLength; i++) {
159
- boundArgs.push("$" + i);
193
+ boundArgs[i] = "$" + i;
160
194
  }
161
- bound = Function("binder", "return function (" + boundArgs.join(",") + "){ return binder.apply(this,arguments); }")(binder);
195
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
162
196
  if (target.prototype) {
163
197
  var Empty = function Empty2() {
164
198
  };
@@ -170,36 +204,43 @@ var implementation$1 = function bind(that) {
170
204
  };
171
205
  var implementation = implementation$1;
172
206
  var functionBind = Function.prototype.bind || implementation;
207
+ var call = Function.prototype.call;
208
+ var $hasOwn = Object.prototype.hasOwnProperty;
173
209
  var bind$2 = functionBind;
174
- var src = bind$2.call(Function.call, Object.prototype.hasOwnProperty);
210
+ var hasown = bind$2.call(call, $hasOwn);
175
211
  var undefined$1;
176
- var $SyntaxError = SyntaxError;
212
+ var $Error = esErrors;
213
+ var $EvalError = _eval;
214
+ var $RangeError = range;
215
+ var $ReferenceError = ref;
216
+ var $SyntaxError$1 = syntax;
217
+ var $TypeError$3 = type;
218
+ var $URIError = uri;
177
219
  var $Function = Function;
178
- var $TypeError$1 = TypeError;
179
220
  var getEvalledConstructor = function(expressionSyntax) {
180
221
  try {
181
222
  return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
182
223
  } catch (e) {
183
224
  }
184
225
  };
185
- var $gOPD = Object.getOwnPropertyDescriptor;
186
- if ($gOPD) {
226
+ var $gOPD$1 = Object.getOwnPropertyDescriptor;
227
+ if ($gOPD$1) {
187
228
  try {
188
- $gOPD({}, "");
229
+ $gOPD$1({}, "");
189
230
  } catch (e) {
190
- $gOPD = null;
231
+ $gOPD$1 = null;
191
232
  }
192
233
  }
193
234
  var throwTypeError = function() {
194
- throw new $TypeError$1();
235
+ throw new $TypeError$3();
195
236
  };
196
- var ThrowTypeError = $gOPD ? function() {
237
+ var ThrowTypeError = $gOPD$1 ? function() {
197
238
  try {
198
239
  arguments.callee;
199
240
  return throwTypeError;
200
241
  } catch (calleeThrows) {
201
242
  try {
202
- return $gOPD(arguments, "callee").get;
243
+ return $gOPD$1(arguments, "callee").get;
203
244
  } catch (gOPDthrows) {
204
245
  return throwTypeError;
205
246
  }
@@ -213,6 +254,7 @@ var getProto = Object.getPrototypeOf || (hasProto2 ? function(x) {
213
254
  var needsEval = {};
214
255
  var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
215
256
  var INTRINSICS = {
257
+ __proto__: null,
216
258
  "%AggregateError%": typeof AggregateError === "undefined" ? undefined$1 : AggregateError,
217
259
  "%Array%": Array,
218
260
  "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$1 : ArrayBuffer,
@@ -233,10 +275,10 @@ var INTRINSICS = {
233
275
  "%decodeURIComponent%": decodeURIComponent,
234
276
  "%encodeURI%": encodeURI,
235
277
  "%encodeURIComponent%": encodeURIComponent,
236
- "%Error%": Error,
278
+ "%Error%": $Error,
237
279
  "%eval%": eval,
238
280
  // eslint-disable-line no-eval
239
- "%EvalError%": EvalError,
281
+ "%EvalError%": $EvalError,
240
282
  "%Float32Array%": typeof Float32Array === "undefined" ? undefined$1 : Float32Array,
241
283
  "%Float64Array%": typeof Float64Array === "undefined" ? undefined$1 : Float64Array,
242
284
  "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$1 : FinalizationRegistry,
@@ -258,8 +300,8 @@ var INTRINSICS = {
258
300
  "%parseInt%": parseInt,
259
301
  "%Promise%": typeof Promise === "undefined" ? undefined$1 : Promise,
260
302
  "%Proxy%": typeof Proxy === "undefined" ? undefined$1 : Proxy,
261
- "%RangeError%": RangeError,
262
- "%ReferenceError%": ReferenceError,
303
+ "%RangeError%": $RangeError,
304
+ "%ReferenceError%": $ReferenceError,
263
305
  "%Reflect%": typeof Reflect === "undefined" ? undefined$1 : Reflect,
264
306
  "%RegExp%": RegExp,
265
307
  "%Set%": typeof Set === "undefined" ? undefined$1 : Set,
@@ -268,15 +310,15 @@ var INTRINSICS = {
268
310
  "%String%": String,
269
311
  "%StringIteratorPrototype%": hasSymbols2 && getProto ? getProto(""[Symbol.iterator]()) : undefined$1,
270
312
  "%Symbol%": hasSymbols2 ? Symbol : undefined$1,
271
- "%SyntaxError%": $SyntaxError,
313
+ "%SyntaxError%": $SyntaxError$1,
272
314
  "%ThrowTypeError%": ThrowTypeError,
273
315
  "%TypedArray%": TypedArray,
274
- "%TypeError%": $TypeError$1,
316
+ "%TypeError%": $TypeError$3,
275
317
  "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$1 : Uint8Array,
276
318
  "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$1 : Uint8ClampedArray,
277
319
  "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$1 : Uint16Array,
278
320
  "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$1 : Uint32Array,
279
- "%URIError%": URIError,
321
+ "%URIError%": $URIError,
280
322
  "%WeakMap%": typeof WeakMap === "undefined" ? undefined$1 : WeakMap,
281
323
  "%WeakRef%": typeof WeakRef === "undefined" ? undefined$1 : WeakRef,
282
324
  "%WeakSet%": typeof WeakSet === "undefined" ? undefined$1 : WeakSet
@@ -312,6 +354,7 @@ var doEval = function doEval2(name) {
312
354
  return value;
313
355
  };
314
356
  var LEGACY_ALIASES = {
357
+ __proto__: null,
315
358
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
316
359
  "%ArrayPrototype%": ["Array", "prototype"],
317
360
  "%ArrayProto_entries%": ["Array", "prototype", "entries"],
@@ -365,7 +408,7 @@ var LEGACY_ALIASES = {
365
408
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
366
409
  };
367
410
  var bind$1 = functionBind;
368
- var hasOwn$1 = src;
411
+ var hasOwn$1 = hasown;
369
412
  var $concat$1 = bind$1.call(Function.call, Array.prototype.concat);
370
413
  var $spliceApply = bind$1.call(Function.apply, Array.prototype.splice);
371
414
  var $replace$1 = bind$1.call(Function.call, String.prototype.replace);
@@ -377,9 +420,9 @@ var stringToPath = function stringToPath2(string) {
377
420
  var first = $strSlice(string, 0, 1);
378
421
  var last = $strSlice(string, -1);
379
422
  if (first === "%" && last !== "%") {
380
- throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
423
+ throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");
381
424
  } else if (last === "%" && first !== "%") {
382
- throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
425
+ throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");
383
426
  }
384
427
  var result = [];
385
428
  $replace$1(string, rePropName, function(match, number, quote2, subString) {
@@ -400,7 +443,7 @@ var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
400
443
  value = doEval(intrinsicName);
401
444
  }
402
445
  if (typeof value === "undefined" && !allowMissing) {
403
- throw new $TypeError$1("intrinsic " + name + " exists, but is not available. Please file an issue!");
446
+ throw new $TypeError$3("intrinsic " + name + " exists, but is not available. Please file an issue!");
404
447
  }
405
448
  return {
406
449
  alias,
@@ -408,17 +451,17 @@ var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
408
451
  value
409
452
  };
410
453
  }
411
- throw new $SyntaxError("intrinsic " + name + " does not exist!");
454
+ throw new $SyntaxError$1("intrinsic " + name + " does not exist!");
412
455
  };
413
456
  var getIntrinsic = function GetIntrinsic(name, allowMissing) {
414
457
  if (typeof name !== "string" || name.length === 0) {
415
- throw new $TypeError$1("intrinsic name must be a non-empty string");
458
+ throw new $TypeError$3("intrinsic name must be a non-empty string");
416
459
  }
417
460
  if (arguments.length > 1 && typeof allowMissing !== "boolean") {
418
- throw new $TypeError$1('"allowMissing" argument must be a boolean');
461
+ throw new $TypeError$3('"allowMissing" argument must be a boolean');
419
462
  }
420
463
  if ($exec(/^%?[^%]*%?$/, name) === null) {
421
- throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
464
+ throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
422
465
  }
423
466
  var parts = stringToPath(name);
424
467
  var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
@@ -436,7 +479,7 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
436
479
  var first = $strSlice(part, 0, 1);
437
480
  var last = $strSlice(part, -1);
438
481
  if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
439
- throw new $SyntaxError("property names with quotes must have matching quotes");
482
+ throw new $SyntaxError$1("property names with quotes must have matching quotes");
440
483
  }
441
484
  if (part === "constructor" || !isOwn) {
442
485
  skipFurtherCaching = true;
@@ -448,12 +491,12 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
448
491
  } else if (value != null) {
449
492
  if (!(part in value)) {
450
493
  if (!allowMissing) {
451
- throw new $TypeError$1("base intrinsic for " + name + " exists, but the property is not available.");
494
+ throw new $TypeError$3("base intrinsic for " + name + " exists, but the property is not available.");
452
495
  }
453
496
  return void 0;
454
497
  }
455
- if ($gOPD && i + 1 >= parts.length) {
456
- var desc = $gOPD(value, part);
498
+ if ($gOPD$1 && i + 1 >= parts.length) {
499
+ var desc = $gOPD$1(value, part);
457
500
  isOwn = !!desc;
458
501
  if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
459
502
  value = desc.get;
@@ -472,41 +515,162 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
472
515
  return value;
473
516
  };
474
517
  var callBind$1 = { exports: {} };
518
+ var esDefineProperty;
519
+ var hasRequiredEsDefineProperty;
520
+ function requireEsDefineProperty() {
521
+ if (hasRequiredEsDefineProperty)
522
+ return esDefineProperty;
523
+ hasRequiredEsDefineProperty = 1;
524
+ var GetIntrinsic3 = getIntrinsic;
525
+ var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
526
+ if ($defineProperty2) {
527
+ try {
528
+ $defineProperty2({}, "a", { value: 1 });
529
+ } catch (e) {
530
+ $defineProperty2 = false;
531
+ }
532
+ }
533
+ esDefineProperty = $defineProperty2;
534
+ return esDefineProperty;
535
+ }
536
+ var GetIntrinsic$3 = getIntrinsic;
537
+ var $gOPD = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
538
+ if ($gOPD) {
539
+ try {
540
+ $gOPD([], "length");
541
+ } catch (e) {
542
+ $gOPD = null;
543
+ }
544
+ }
545
+ var gopd$1 = $gOPD;
546
+ var $defineProperty$1 = requireEsDefineProperty();
547
+ var $SyntaxError = syntax;
548
+ var $TypeError$2 = type;
549
+ var gopd = gopd$1;
550
+ var defineDataProperty = function defineDataProperty2(obj, property, value) {
551
+ if (!obj || typeof obj !== "object" && typeof obj !== "function") {
552
+ throw new $TypeError$2("`obj` must be an object or a function`");
553
+ }
554
+ if (typeof property !== "string" && typeof property !== "symbol") {
555
+ throw new $TypeError$2("`property` must be a string or a symbol`");
556
+ }
557
+ if (arguments.length > 3 && typeof arguments[3] !== "boolean" && arguments[3] !== null) {
558
+ throw new $TypeError$2("`nonEnumerable`, if provided, must be a boolean or null");
559
+ }
560
+ if (arguments.length > 4 && typeof arguments[4] !== "boolean" && arguments[4] !== null) {
561
+ throw new $TypeError$2("`nonWritable`, if provided, must be a boolean or null");
562
+ }
563
+ if (arguments.length > 5 && typeof arguments[5] !== "boolean" && arguments[5] !== null) {
564
+ throw new $TypeError$2("`nonConfigurable`, if provided, must be a boolean or null");
565
+ }
566
+ if (arguments.length > 6 && typeof arguments[6] !== "boolean") {
567
+ throw new $TypeError$2("`loose`, if provided, must be a boolean");
568
+ }
569
+ var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
570
+ var nonWritable = arguments.length > 4 ? arguments[4] : null;
571
+ var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
572
+ var loose = arguments.length > 6 ? arguments[6] : false;
573
+ var desc = !!gopd && gopd(obj, property);
574
+ if ($defineProperty$1) {
575
+ $defineProperty$1(obj, property, {
576
+ configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
577
+ enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
578
+ value,
579
+ writable: nonWritable === null && desc ? desc.writable : !nonWritable
580
+ });
581
+ } else if (loose || !nonEnumerable && !nonWritable && !nonConfigurable) {
582
+ obj[property] = value;
583
+ } else {
584
+ throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
585
+ }
586
+ };
587
+ var $defineProperty = requireEsDefineProperty();
588
+ var hasPropertyDescriptors = function hasPropertyDescriptors2() {
589
+ return !!$defineProperty;
590
+ };
591
+ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
592
+ if (!$defineProperty) {
593
+ return null;
594
+ }
595
+ try {
596
+ return $defineProperty([], "length", { value: 1 }).length !== 1;
597
+ } catch (e) {
598
+ return true;
599
+ }
600
+ };
601
+ var hasPropertyDescriptors_1 = hasPropertyDescriptors;
602
+ var GetIntrinsic$2 = getIntrinsic;
603
+ var define = defineDataProperty;
604
+ var hasDescriptors = hasPropertyDescriptors_1();
605
+ var gOPD = gopd$1;
606
+ var $TypeError$1 = type;
607
+ var $floor$1 = GetIntrinsic$2("%Math.floor%");
608
+ var setFunctionLength = function setFunctionLength2(fn, length) {
609
+ if (typeof fn !== "function") {
610
+ throw new $TypeError$1("`fn` is not a function");
611
+ }
612
+ if (typeof length !== "number" || length < 0 || length > 4294967295 || $floor$1(length) !== length) {
613
+ throw new $TypeError$1("`length` must be a positive 32-bit integer");
614
+ }
615
+ var loose = arguments.length > 2 && !!arguments[2];
616
+ var functionLengthIsConfigurable = true;
617
+ var functionLengthIsWritable = true;
618
+ if ("length" in fn && gOPD) {
619
+ var desc = gOPD(fn, "length");
620
+ if (desc && !desc.configurable) {
621
+ functionLengthIsConfigurable = false;
622
+ }
623
+ if (desc && !desc.writable) {
624
+ functionLengthIsWritable = false;
625
+ }
626
+ }
627
+ if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
628
+ if (hasDescriptors) {
629
+ define(
630
+ /** @type {Parameters<define>[0]} */
631
+ fn,
632
+ "length",
633
+ length,
634
+ true,
635
+ true
636
+ );
637
+ } else {
638
+ define(
639
+ /** @type {Parameters<define>[0]} */
640
+ fn,
641
+ "length",
642
+ length
643
+ );
644
+ }
645
+ }
646
+ return fn;
647
+ };
475
648
  (function(module) {
476
649
  var bind3 = functionBind;
477
650
  var GetIntrinsic3 = getIntrinsic;
651
+ var setFunctionLength$1 = setFunctionLength;
652
+ var $TypeError2 = type;
478
653
  var $apply = GetIntrinsic3("%Function.prototype.apply%");
479
654
  var $call = GetIntrinsic3("%Function.prototype.call%");
480
655
  var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind3.call($call, $apply);
481
- var $gOPD2 = GetIntrinsic3("%Object.getOwnPropertyDescriptor%", true);
482
- var $defineProperty = GetIntrinsic3("%Object.defineProperty%", true);
656
+ var $defineProperty2 = requireEsDefineProperty();
483
657
  var $max = GetIntrinsic3("%Math.max%");
484
- if ($defineProperty) {
485
- try {
486
- $defineProperty({}, "a", { value: 1 });
487
- } catch (e) {
488
- $defineProperty = null;
489
- }
490
- }
491
658
  module.exports = function callBind2(originalFunction) {
492
- var func = $reflectApply(bind3, $call, arguments);
493
- if ($gOPD2 && $defineProperty) {
494
- var desc = $gOPD2(func, "length");
495
- if (desc.configurable) {
496
- $defineProperty(
497
- func,
498
- "length",
499
- { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
500
- );
501
- }
659
+ if (typeof originalFunction !== "function") {
660
+ throw new $TypeError2("a function is required");
502
661
  }
503
- return func;
662
+ var func = $reflectApply(bind3, $call, arguments);
663
+ return setFunctionLength$1(
664
+ func,
665
+ 1 + $max(0, originalFunction.length - (arguments.length - 1)),
666
+ true
667
+ );
504
668
  };
505
669
  var applyBind = function applyBind2() {
506
670
  return $reflectApply(bind3, $apply, arguments);
507
671
  };
508
- if ($defineProperty) {
509
- $defineProperty(module.exports, "apply", { value: applyBind });
672
+ if ($defineProperty2) {
673
+ $defineProperty2(module.exports, "apply", { value: applyBind });
510
674
  } else {
511
675
  module.exports.apply = applyBind;
512
676
  }
@@ -741,6 +905,12 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
741
905
  if (isString$1(obj)) {
742
906
  return markBoxed(inspect2(String(obj)));
743
907
  }
908
+ if (typeof window !== "undefined" && obj === window) {
909
+ return "{ [object Window] }";
910
+ }
911
+ if (typeof globalThis !== "undefined" && obj === globalThis || typeof commonjsGlobal !== "undefined" && obj === commonjsGlobal) {
912
+ return "{ [object globalThis] }";
913
+ }
744
914
  if (!isDate$2(obj) && !isRegExp$2(obj)) {
745
915
  var ys = arrObjKeys(obj, inspect2);
746
916
  var isPlainObject2 = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
@@ -954,12 +1124,12 @@ function lowbyte(c) {
954
1124
  function markBoxed(str) {
955
1125
  return "Object(" + str + ")";
956
1126
  }
957
- function weakCollectionOf(type) {
958
- return type + " { ? }";
1127
+ function weakCollectionOf(type2) {
1128
+ return type2 + " { ? }";
959
1129
  }
960
- function collectionOf(type, size, entries, indent) {
1130
+ function collectionOf(type2, size, entries, indent) {
961
1131
  var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ", ");
962
- return type + " (" + size + ") {" + joinedEntries + "}";
1132
+ return type2 + " (" + size + ") {" + joinedEntries + "}";
963
1133
  }
964
1134
  function singleLineValues(xs) {
965
1135
  for (var i = 0; i < xs.length; i++) {
@@ -1034,7 +1204,7 @@ function arrObjKeys(obj, inspect2) {
1034
1204
  var GetIntrinsic2 = getIntrinsic;
1035
1205
  var callBound = callBound$1;
1036
1206
  var inspect = objectInspect;
1037
- var $TypeError = GetIntrinsic2("%TypeError%");
1207
+ var $TypeError = type;
1038
1208
  var $WeakMap = GetIntrinsic2("%WeakMap%", true);
1039
1209
  var $Map = GetIntrinsic2("%Map%", true);
1040
1210
  var $weakMapGet = callBound("WeakMap.prototype.get", true);
@@ -1044,10 +1214,13 @@ var $mapGet = callBound("Map.prototype.get", true);
1044
1214
  var $mapSet = callBound("Map.prototype.set", true);
1045
1215
  var $mapHas = callBound("Map.prototype.has", true);
1046
1216
  var listGetNode = function(list, key) {
1047
- for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
1217
+ var prev = list;
1218
+ var curr;
1219
+ for (; (curr = prev.next) !== null; prev = curr) {
1048
1220
  if (curr.key === key) {
1049
1221
  prev.next = curr.next;
1050
- curr.next = list.next;
1222
+ curr.next = /** @type {NonNullable<typeof list.next>} */
1223
+ list.next;
1051
1224
  list.next = curr;
1052
1225
  return curr;
1053
1226
  }
@@ -1062,8 +1235,9 @@ var listSet = function(objects, key, value) {
1062
1235
  if (node) {
1063
1236
  node.value = value;
1064
1237
  } else {
1065
- objects.next = {
1066
- // eslint-disable-line no-param-reassign
1238
+ objects.next = /** @type {import('.').ListNode<typeof value>} */
1239
+ {
1240
+ // eslint-disable-line no-param-reassign, no-extra-parens
1067
1241
  key,
1068
1242
  next: objects.next,
1069
1243
  value
@@ -1369,7 +1543,7 @@ var pushToArray = function(arr, valueOrArray) {
1369
1543
  };
1370
1544
  var toISO = Date.prototype.toISOString;
1371
1545
  var defaultFormat = formats$1["default"];
1372
- var defaults$3 = {
1546
+ var defaults$2 = {
1373
1547
  addQueryPrefix: false,
1374
1548
  allowDots: false,
1375
1549
  charset: "utf-8",
@@ -1425,14 +1599,14 @@ var stringify$1 = function stringify(object, prefix, generateArrayPrefix, commaR
1425
1599
  }
1426
1600
  if (obj === null) {
1427
1601
  if (strictNullHandling) {
1428
- return encoder && !encodeValuesOnly ? encoder(prefix, defaults$3.encoder, charset, "key", format) : prefix;
1602
+ return encoder && !encodeValuesOnly ? encoder(prefix, defaults$2.encoder, charset, "key", format) : prefix;
1429
1603
  }
1430
1604
  obj = "";
1431
1605
  }
1432
1606
  if (isNonNullishPrimitive(obj) || utils$3.isBuffer(obj)) {
1433
1607
  if (encoder) {
1434
- var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults$3.encoder, charset, "key", format);
1435
- return [formatter(keyValue) + "=" + formatter(encoder(obj, defaults$3.encoder, charset, "value", format))];
1608
+ var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults$2.encoder, charset, "key", format);
1609
+ return [formatter(keyValue) + "=" + formatter(encoder(obj, defaults$2.encoder, charset, "value", format))];
1436
1610
  }
1437
1611
  return [formatter(prefix) + "=" + formatter(String(obj))];
1438
1612
  }
@@ -1486,12 +1660,12 @@ var stringify$1 = function stringify(object, prefix, generateArrayPrefix, commaR
1486
1660
  };
1487
1661
  var normalizeStringifyOptions = function normalizeStringifyOptions2(opts) {
1488
1662
  if (!opts) {
1489
- return defaults$3;
1663
+ return defaults$2;
1490
1664
  }
1491
1665
  if (opts.encoder !== null && typeof opts.encoder !== "undefined" && typeof opts.encoder !== "function") {
1492
1666
  throw new TypeError("Encoder has to be a function.");
1493
1667
  }
1494
- var charset = opts.charset || defaults$3.charset;
1668
+ var charset = opts.charset || defaults$2.charset;
1495
1669
  if (typeof opts.charset !== "undefined" && opts.charset !== "utf-8" && opts.charset !== "iso-8859-1") {
1496
1670
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1497
1671
  }
@@ -1503,26 +1677,26 @@ var normalizeStringifyOptions = function normalizeStringifyOptions2(opts) {
1503
1677
  format = opts.format;
1504
1678
  }
1505
1679
  var formatter = formats$1.formatters[format];
1506
- var filter2 = defaults$3.filter;
1680
+ var filter2 = defaults$2.filter;
1507
1681
  if (typeof opts.filter === "function" || isArray$2(opts.filter)) {
1508
1682
  filter2 = opts.filter;
1509
1683
  }
1510
1684
  return {
1511
- addQueryPrefix: typeof opts.addQueryPrefix === "boolean" ? opts.addQueryPrefix : defaults$3.addQueryPrefix,
1512
- allowDots: typeof opts.allowDots === "undefined" ? defaults$3.allowDots : !!opts.allowDots,
1685
+ addQueryPrefix: typeof opts.addQueryPrefix === "boolean" ? opts.addQueryPrefix : defaults$2.addQueryPrefix,
1686
+ allowDots: typeof opts.allowDots === "undefined" ? defaults$2.allowDots : !!opts.allowDots,
1513
1687
  charset,
1514
- charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults$3.charsetSentinel,
1515
- delimiter: typeof opts.delimiter === "undefined" ? defaults$3.delimiter : opts.delimiter,
1516
- encode: typeof opts.encode === "boolean" ? opts.encode : defaults$3.encode,
1517
- encoder: typeof opts.encoder === "function" ? opts.encoder : defaults$3.encoder,
1518
- encodeValuesOnly: typeof opts.encodeValuesOnly === "boolean" ? opts.encodeValuesOnly : defaults$3.encodeValuesOnly,
1688
+ charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults$2.charsetSentinel,
1689
+ delimiter: typeof opts.delimiter === "undefined" ? defaults$2.delimiter : opts.delimiter,
1690
+ encode: typeof opts.encode === "boolean" ? opts.encode : defaults$2.encode,
1691
+ encoder: typeof opts.encoder === "function" ? opts.encoder : defaults$2.encoder,
1692
+ encodeValuesOnly: typeof opts.encodeValuesOnly === "boolean" ? opts.encodeValuesOnly : defaults$2.encodeValuesOnly,
1519
1693
  filter: filter2,
1520
1694
  format,
1521
1695
  formatter,
1522
- serializeDate: typeof opts.serializeDate === "function" ? opts.serializeDate : defaults$3.serializeDate,
1523
- skipNulls: typeof opts.skipNulls === "boolean" ? opts.skipNulls : defaults$3.skipNulls,
1696
+ serializeDate: typeof opts.serializeDate === "function" ? opts.serializeDate : defaults$2.serializeDate,
1697
+ skipNulls: typeof opts.skipNulls === "boolean" ? opts.skipNulls : defaults$2.skipNulls,
1524
1698
  sort: typeof opts.sort === "function" ? opts.sort : null,
1525
- strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults$3.strictNullHandling
1699
+ strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults$2.strictNullHandling
1526
1700
  };
1527
1701
  };
1528
1702
  var stringify_1 = function(object, opts) {
@@ -1599,7 +1773,7 @@ var stringify_1 = function(object, opts) {
1599
1773
  var utils$2 = utils$4;
1600
1774
  var has = Object.prototype.hasOwnProperty;
1601
1775
  var isArray$1 = Array.isArray;
1602
- var defaults$2 = {
1776
+ var defaults$1 = {
1603
1777
  allowDots: false,
1604
1778
  allowPrototypes: false,
1605
1779
  allowSparse: false,
@@ -1660,14 +1834,14 @@ var parseValues = function parseQueryStringValues(str, options) {
1660
1834
  var pos = bracketEqualsPos === -1 ? part.indexOf("=") : bracketEqualsPos + 1;
1661
1835
  var key, val;
1662
1836
  if (pos === -1) {
1663
- key = options.decoder(part, defaults$2.decoder, charset, "key");
1837
+ key = options.decoder(part, defaults$1.decoder, charset, "key");
1664
1838
  val = options.strictNullHandling ? null : "";
1665
1839
  } else {
1666
- key = options.decoder(part.slice(0, pos), defaults$2.decoder, charset, "key");
1840
+ key = options.decoder(part.slice(0, pos), defaults$1.decoder, charset, "key");
1667
1841
  val = utils$2.maybeMap(
1668
1842
  parseArrayValue(part.slice(pos + 1), options),
1669
1843
  function(encodedVal) {
1670
- return options.decoder(encodedVal, defaults$2.decoder, charset, "value");
1844
+ return options.decoder(encodedVal, defaults$1.decoder, charset, "value");
1671
1845
  }
1672
1846
  );
1673
1847
  }
@@ -1744,7 +1918,7 @@ var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesPars
1744
1918
  };
1745
1919
  var normalizeParseOptions = function normalizeParseOptions2(opts) {
1746
1920
  if (!opts) {
1747
- return defaults$2;
1921
+ return defaults$1;
1748
1922
  }
1749
1923
  if (opts.decoder !== null && opts.decoder !== void 0 && typeof opts.decoder !== "function") {
1750
1924
  throw new TypeError("Decoder has to be a function.");
@@ -1752,25 +1926,25 @@ var normalizeParseOptions = function normalizeParseOptions2(opts) {
1752
1926
  if (typeof opts.charset !== "undefined" && opts.charset !== "utf-8" && opts.charset !== "iso-8859-1") {
1753
1927
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1754
1928
  }
1755
- var charset = typeof opts.charset === "undefined" ? defaults$2.charset : opts.charset;
1929
+ var charset = typeof opts.charset === "undefined" ? defaults$1.charset : opts.charset;
1756
1930
  return {
1757
- allowDots: typeof opts.allowDots === "undefined" ? defaults$2.allowDots : !!opts.allowDots,
1758
- allowPrototypes: typeof opts.allowPrototypes === "boolean" ? opts.allowPrototypes : defaults$2.allowPrototypes,
1759
- allowSparse: typeof opts.allowSparse === "boolean" ? opts.allowSparse : defaults$2.allowSparse,
1760
- arrayLimit: typeof opts.arrayLimit === "number" ? opts.arrayLimit : defaults$2.arrayLimit,
1931
+ allowDots: typeof opts.allowDots === "undefined" ? defaults$1.allowDots : !!opts.allowDots,
1932
+ allowPrototypes: typeof opts.allowPrototypes === "boolean" ? opts.allowPrototypes : defaults$1.allowPrototypes,
1933
+ allowSparse: typeof opts.allowSparse === "boolean" ? opts.allowSparse : defaults$1.allowSparse,
1934
+ arrayLimit: typeof opts.arrayLimit === "number" ? opts.arrayLimit : defaults$1.arrayLimit,
1761
1935
  charset,
1762
- charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults$2.charsetSentinel,
1763
- comma: typeof opts.comma === "boolean" ? opts.comma : defaults$2.comma,
1764
- decoder: typeof opts.decoder === "function" ? opts.decoder : defaults$2.decoder,
1765
- delimiter: typeof opts.delimiter === "string" || utils$2.isRegExp(opts.delimiter) ? opts.delimiter : defaults$2.delimiter,
1936
+ charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults$1.charsetSentinel,
1937
+ comma: typeof opts.comma === "boolean" ? opts.comma : defaults$1.comma,
1938
+ decoder: typeof opts.decoder === "function" ? opts.decoder : defaults$1.decoder,
1939
+ delimiter: typeof opts.delimiter === "string" || utils$2.isRegExp(opts.delimiter) ? opts.delimiter : defaults$1.delimiter,
1766
1940
  // eslint-disable-next-line no-implicit-coercion, no-extra-parens
1767
- depth: typeof opts.depth === "number" || opts.depth === false ? +opts.depth : defaults$2.depth,
1941
+ depth: typeof opts.depth === "number" || opts.depth === false ? +opts.depth : defaults$1.depth,
1768
1942
  ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
1769
- interpretNumericEntities: typeof opts.interpretNumericEntities === "boolean" ? opts.interpretNumericEntities : defaults$2.interpretNumericEntities,
1770
- parameterLimit: typeof opts.parameterLimit === "number" ? opts.parameterLimit : defaults$2.parameterLimit,
1943
+ interpretNumericEntities: typeof opts.interpretNumericEntities === "boolean" ? opts.interpretNumericEntities : defaults$1.interpretNumericEntities,
1944
+ parameterLimit: typeof opts.parameterLimit === "number" ? opts.parameterLimit : defaults$1.parameterLimit,
1771
1945
  parseArrays: opts.parseArrays !== false,
1772
- plainObjects: typeof opts.plainObjects === "boolean" ? opts.plainObjects : defaults$2.plainObjects,
1773
- strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults$2.strictNullHandling
1946
+ plainObjects: typeof opts.plainObjects === "boolean" ? opts.plainObjects : defaults$1.plainObjects,
1947
+ strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults$1.strictNullHandling
1774
1948
  };
1775
1949
  };
1776
1950
  var parse$1 = function(str, opts) {
@@ -1827,14 +2001,14 @@ function miniKindOf(val) {
1827
2001
  return "undefined";
1828
2002
  if (val === null)
1829
2003
  return "null";
1830
- var type = typeof val;
1831
- switch (type) {
2004
+ var type2 = typeof val;
2005
+ switch (type2) {
1832
2006
  case "boolean":
1833
2007
  case "string":
1834
2008
  case "number":
1835
2009
  case "symbol":
1836
2010
  case "function": {
1837
- return type;
2011
+ return type2;
1838
2012
  }
1839
2013
  }
1840
2014
  if (Array.isArray(val))
@@ -1853,7 +2027,7 @@ function miniKindOf(val) {
1853
2027
  case "Set":
1854
2028
  return constructorName;
1855
2029
  }
1856
- return type.slice(8, -1).toLowerCase().replace(/\s/g, "");
2030
+ return type2.slice(8, -1).toLowerCase().replace(/\s/g, "");
1857
2031
  }
1858
2032
  function ctorName(val) {
1859
2033
  return typeof val.constructor === "function" ? val.constructor.name : null;
@@ -2316,7 +2490,7 @@ function isPlainObject$2(value) {
2316
2490
  var hasMatchFunction = function(v2) {
2317
2491
  return v2 && typeof v2.match === "function";
2318
2492
  };
2319
- function createAction(type, prepareAction) {
2493
+ function createAction(type2, prepareAction) {
2320
2494
  function actionCreator() {
2321
2495
  var args = [];
2322
2496
  for (var _i = 0; _i < arguments.length; _i++) {
@@ -2328,18 +2502,18 @@ function createAction(type, prepareAction) {
2328
2502
  throw new Error("prepareAction did not return an object");
2329
2503
  }
2330
2504
  return __spreadValues$2(__spreadValues$2({
2331
- type,
2505
+ type: type2,
2332
2506
  payload: prepared.payload
2333
2507
  }, "meta" in prepared && { meta: prepared.meta }), "error" in prepared && { error: prepared.error });
2334
2508
  }
2335
- return { type, payload: args[0] };
2509
+ return { type: type2, payload: args[0] };
2336
2510
  }
2337
2511
  actionCreator.toString = function() {
2338
- return "" + type;
2512
+ return "" + type2;
2339
2513
  };
2340
- actionCreator.type = type;
2514
+ actionCreator.type = type2;
2341
2515
  actionCreator.match = function(action) {
2342
- return action.type === type;
2516
+ return action.type === type2;
2343
2517
  };
2344
2518
  return actionCreator;
2345
2519
  }
@@ -2437,14 +2611,14 @@ function executeReducerBuilderCallback(builderCallback) {
2437
2611
  throw new Error("`builder.addCase` should only be called before calling `builder.addDefaultCase`");
2438
2612
  }
2439
2613
  }
2440
- var type = typeof typeOrActionCreator === "string" ? typeOrActionCreator : typeOrActionCreator.type;
2441
- if (!type) {
2614
+ var type2 = typeof typeOrActionCreator === "string" ? typeOrActionCreator : typeOrActionCreator.type;
2615
+ if (!type2) {
2442
2616
  throw new Error("`builder.addCase` cannot be called with an empty action type");
2443
2617
  }
2444
- if (type in actionsMap) {
2618
+ if (type2 in actionsMap) {
2445
2619
  throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");
2446
2620
  }
2447
- actionsMap[type] = reducer2;
2621
+ actionsMap[type2] = reducer2;
2448
2622
  return builder;
2449
2623
  },
2450
2624
  addMatcher: function(matcher, reducer2) {
@@ -2546,8 +2720,8 @@ function createReducer(initialState2, mapOrBuilderCallback, actionMatchers, defa
2546
2720
  return reducer2;
2547
2721
  }
2548
2722
  var hasWarnedAboutObjectNotation2 = false;
2549
- function getType2(slice2, actionKey) {
2550
- return slice2 + "/" + actionKey;
2723
+ function getType2(slice, actionKey) {
2724
+ return slice + "/" + actionKey;
2551
2725
  }
2552
2726
  function createSlice(options) {
2553
2727
  var name = options.name;
@@ -2567,7 +2741,7 @@ function createSlice(options) {
2567
2741
  var actionCreators = {};
2568
2742
  reducerNames.forEach(function(reducerName) {
2569
2743
  var maybeReducerWithPrepare = reducers[reducerName];
2570
- var type = getType2(name, reducerName);
2744
+ var type2 = getType2(name, reducerName);
2571
2745
  var caseReducer;
2572
2746
  var prepareCallback;
2573
2747
  if ("reducer" in maybeReducerWithPrepare) {
@@ -2577,8 +2751,8 @@ function createSlice(options) {
2577
2751
  caseReducer = maybeReducerWithPrepare;
2578
2752
  }
2579
2753
  sliceCaseReducersByName[reducerName] = caseReducer;
2580
- sliceCaseReducersByType[type] = caseReducer;
2581
- actionCreators[reducerName] = prepareCallback ? createAction(type, prepareCallback) : createAction(type);
2754
+ sliceCaseReducersByType[type2] = caseReducer;
2755
+ actionCreators[reducerName] = prepareCallback ? createAction(type2, prepareCallback) : createAction(type2);
2582
2756
  });
2583
2757
  function buildReducer() {
2584
2758
  if (process.env.NODE_ENV !== "production") {
@@ -3766,8 +3940,8 @@ function buildThunks(_j) {
3766
3940
  buildMatchThunkActions
3767
3941
  };
3768
3942
  }
3769
- function calculateProvidedByThunk(action, type, endpointDefinitions, assertTagType) {
3770
- return calculateProvidedBy(endpointDefinitions[action.meta.arg.endpointName][type], isFulfilled(action) ? action.payload : void 0, isRejectedWithValue(action) ? action.payload : void 0, action.meta.arg.originalArgs, "baseQueryMeta" in action.meta ? action.meta.baseQueryMeta : void 0, assertTagType);
3943
+ function calculateProvidedByThunk(action, type2, endpointDefinitions, assertTagType) {
3944
+ return calculateProvidedBy(endpointDefinitions[action.meta.arg.endpointName][type2], isFulfilled(action) ? action.payload : void 0, isRejectedWithValue(action) ? action.payload : void 0, action.meta.arg.originalArgs, "baseQueryMeta" in action.meta ? action.meta.baseQueryMeta : void 0, assertTagType);
3771
3945
  }
3772
3946
  function updateQuerySubstateIfExists(state, queryCacheKey, update) {
3773
3947
  var substate = state[queryCacheKey];
@@ -3958,8 +4132,8 @@ function buildSlice(_j) {
3958
4132
  }
3959
4133
  }
3960
4134
  for (var _p = 0, providedTags_1 = providedTags; _p < providedTags_1.length; _p++) {
3961
- var _q = providedTags_1[_p], type = _q.type, id = _q.id;
3962
- var subscribedQueries = (_d = (_b = (_a = draft[type]) != null ? _a : draft[type] = {})[_c = id || "__internal_without_id"]) != null ? _d : _b[_c] = [];
4135
+ var _q = providedTags_1[_p], type2 = _q.type, id = _q.id;
4136
+ var subscribedQueries = (_d = (_b = (_a = draft[type2]) != null ? _a : draft[type2] = {})[_c = id || "__internal_without_id"]) != null ? _d : _b[_c] = [];
3963
4137
  var alreadySubscribed = subscribedQueries.includes(queryCacheKey);
3964
4138
  if (!alreadySubscribed) {
3965
4139
  subscribedQueries.push(queryCacheKey);
@@ -3986,10 +4160,10 @@ function buildSlice(_j) {
3986
4160
  var _a, _b, _c, _d;
3987
4161
  var provided = extractRehydrationInfo(action).provided;
3988
4162
  for (var _j2 = 0, _k2 = Object.entries(provided); _j2 < _k2.length; _j2++) {
3989
- var _l = _k2[_j2], type = _l[0], incomingTags = _l[1];
4163
+ var _l = _k2[_j2], type2 = _l[0], incomingTags = _l[1];
3990
4164
  for (var _m = 0, _o = Object.entries(incomingTags); _m < _o.length; _m++) {
3991
4165
  var _p = _o[_m], id = _p[0], cacheKeys = _p[1];
3992
- var subscribedQueries = (_d = (_b = (_a = draft[type]) != null ? _a : draft[type] = {})[_c = id || "__internal_without_id"]) != null ? _d : _b[_c] = [];
4166
+ var subscribedQueries = (_d = (_b = (_a = draft[type2]) != null ? _a : draft[type2] = {})[_c = id || "__internal_without_id"]) != null ? _d : _b[_c] = [];
3993
4167
  for (var _q = 0, cacheKeys_1 = cacheKeys; _q < cacheKeys_1.length; _q++) {
3994
4168
  var queryCacheKey = cacheKeys_1[_q];
3995
4169
  var alreadySubscribed = subscribedQueries.includes(queryCacheKey);
@@ -4495,7 +4669,7 @@ var buildWindowEventHandler = function(_j) {
4495
4669
  refetchValidQueries(mwApi, "refetchOnReconnect");
4496
4670
  }
4497
4671
  };
4498
- function refetchValidQueries(api2, type) {
4672
+ function refetchValidQueries(api2, type2) {
4499
4673
  var state = api2.getState()[reducerPath];
4500
4674
  var queries = state.queries;
4501
4675
  var subscriptions = internalState.currentSubscriptions;
@@ -4507,10 +4681,10 @@ var buildWindowEventHandler = function(_j) {
4507
4681
  if (!subscriptionSubState || !querySubState)
4508
4682
  continue;
4509
4683
  var shouldRefetch = Object.values(subscriptionSubState).some(function(sub) {
4510
- return sub[type] === true;
4684
+ return sub[type2] === true;
4511
4685
  }) || Object.values(subscriptionSubState).every(function(sub) {
4512
- return sub[type] === void 0;
4513
- }) && state.config[type];
4686
+ return sub[type2] === void 0;
4687
+ }) && state.config[type2];
4514
4688
  if (shouldRefetch) {
4515
4689
  if (Object.keys(subscriptionSubState).length === 0) {
4516
4690
  api2.dispatch(removeQueryResult({
@@ -5382,7 +5556,7 @@ function safeAssign(target) {
5382
5556
  }
5383
5557
  var reactHooksModuleName = /* @__PURE__ */ Symbol();
5384
5558
  var reactHooksModule = function(_c) {
5385
- var _d = _c === void 0 ? {} : _c, _e = _d.batch, batch$1 = _e === void 0 ? batch : _e, _f = _d.useDispatch, useDispatch$1 = _f === void 0 ? useDispatch : _f, _g = _d.useSelector, useSelector$1 = _g === void 0 ? useSelector : _g, _h = _d.useStore, useStore$1 = _h === void 0 ? useStore : _h, _j = _d.unstable__sideEffectsInRender, unstable__sideEffectsInRender = _j === void 0 ? false : _j;
5559
+ var _d = {}, _e = _d.batch, batch$1 = _e === void 0 ? batch : _e, _f = _d.useDispatch, useDispatch$1 = _f === void 0 ? useDispatch : _f, _g = _d.useSelector, useSelector$1 = _g === void 0 ? useSelector : _g, _h = _d.useStore, useStore$1 = _h === void 0 ? useStore : _h, _j = _d.unstable__sideEffectsInRender, unstable__sideEffectsInRender = _j === void 0 ? false : _j;
5386
5560
  return {
5387
5561
  name: reactHooksModuleName,
5388
5562
  init: function(api, _c2, context) {
@@ -5724,11 +5898,11 @@ const kindOf = /* @__PURE__ */ ((cache2) => (thing) => {
5724
5898
  const str = toString.call(thing);
5725
5899
  return cache2[str] || (cache2[str] = str.slice(8, -1).toLowerCase());
5726
5900
  })(/* @__PURE__ */ Object.create(null));
5727
- const kindOfTest = (type) => {
5728
- type = type.toLowerCase();
5729
- return (thing) => kindOf(thing) === type;
5901
+ const kindOfTest = (type2) => {
5902
+ type2 = type2.toLowerCase();
5903
+ return (thing) => kindOf(thing) === type2;
5730
5904
  };
5731
- const typeOfTest = (type) => (thing) => typeof thing === type;
5905
+ const typeOfTest = (type2) => (thing) => typeof thing === type2;
5732
5906
  const { isArray } = Array;
5733
5907
  const isUndefined = typeOfTest("undefined");
5734
5908
  function isBuffer2(val) {
@@ -5966,12 +6140,12 @@ const freezeMethods = (obj) => {
5966
6140
  };
5967
6141
  const toObjectSet = (arrayOrString, delimiter) => {
5968
6142
  const obj = {};
5969
- const define = (arr) => {
6143
+ const define2 = (arr) => {
5970
6144
  arr.forEach((value) => {
5971
6145
  obj[value] = true;
5972
6146
  });
5973
6147
  };
5974
- isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
6148
+ isArray(arrayOrString) ? define2(arrayOrString) : define2(String(arrayOrString).split(delimiter));
5975
6149
  return obj;
5976
6150
  };
5977
6151
  const noop = () => {
@@ -6603,7 +6777,6 @@ const defaults = {
6603
6777
  utils$1.forEach(["delete", "get", "head", "post", "put", "patch"], (method) => {
6604
6778
  defaults.headers[method] = {};
6605
6779
  });
6606
- const defaults$1 = defaults;
6607
6780
  const ignoreDuplicateOf = utils$1.toObjectSet([
6608
6781
  "age",
6609
6782
  "authorization",
@@ -6866,11 +7039,10 @@ utils$1.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
6866
7039
  };
6867
7040
  });
6868
7041
  utils$1.freezeMethods(AxiosHeaders);
6869
- const AxiosHeaders$1 = AxiosHeaders;
6870
7042
  function transformData(fns, response) {
6871
- const config = this || defaults$1;
7043
+ const config = this || defaults;
6872
7044
  const context = response || config;
6873
- const headers = AxiosHeaders$1.from(context.headers);
7045
+ const headers = AxiosHeaders.from(context.headers);
6874
7046
  let data = context.data;
6875
7047
  utils$1.forEach(fns, function transform(fn) {
6876
7048
  data = fn.call(config, data, headers.normalize(), response ? response.status : void 0);
@@ -7086,7 +7258,7 @@ function buildFullPath(baseURL, requestedURL) {
7086
7258
  }
7087
7259
  return requestedURL;
7088
7260
  }
7089
- const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
7261
+ const headersToObject = (thing) => thing instanceof AxiosHeaders ? { ...thing } : thing;
7090
7262
  function mergeConfig(config1, config2) {
7091
7263
  config2 = config2 || {};
7092
7264
  const config = {};
@@ -7167,7 +7339,7 @@ function mergeConfig(config1, config2) {
7167
7339
  const resolveConfig = (config) => {
7168
7340
  const newConfig = mergeConfig({}, config);
7169
7341
  let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
7170
- newConfig.headers = headers = AxiosHeaders$1.from(headers);
7342
+ newConfig.headers = headers = AxiosHeaders.from(headers);
7171
7343
  newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
7172
7344
  if (auth) {
7173
7345
  headers.set(
@@ -7180,8 +7352,8 @@ const resolveConfig = (config) => {
7180
7352
  if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {
7181
7353
  headers.setContentType(void 0);
7182
7354
  } else if ((contentType = headers.getContentType()) !== false) {
7183
- const [type, ...tokens] = contentType ? contentType.split(";").map((token) => token.trim()).filter(Boolean) : [];
7184
- headers.setContentType([type || "multipart/form-data", ...tokens].join("; "));
7355
+ const [type2, ...tokens] = contentType ? contentType.split(";").map((token) => token.trim()).filter(Boolean) : [];
7356
+ headers.setContentType([type2 || "multipart/form-data", ...tokens].join("; "));
7185
7357
  }
7186
7358
  }
7187
7359
  if (platform.hasStandardBrowserEnv) {
@@ -7200,7 +7372,7 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
7200
7372
  return new Promise(function dispatchXhrRequest(resolve, reject) {
7201
7373
  const _config = resolveConfig(config);
7202
7374
  let requestData = _config.data;
7203
- const requestHeaders = AxiosHeaders$1.from(_config.headers).normalize();
7375
+ const requestHeaders = AxiosHeaders.from(_config.headers).normalize();
7204
7376
  let { responseType, onUploadProgress, onDownloadProgress } = _config;
7205
7377
  let onCanceled;
7206
7378
  let uploadThrottled, downloadThrottled;
@@ -7218,7 +7390,7 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
7218
7390
  if (!request) {
7219
7391
  return;
7220
7392
  }
7221
- const responseHeaders = AxiosHeaders$1.from(
7393
+ const responseHeaders = AxiosHeaders.from(
7222
7394
  "getAllResponseHeaders" in request && request.getAllResponseHeaders()
7223
7395
  );
7224
7396
  const responseData = !responseType || responseType === "text" || responseType === "json" ? request.responseText : request.response;
@@ -7437,9 +7609,9 @@ const resolvers = {
7437
7609
  stream: supportsResponseStream && ((res) => res.body)
7438
7610
  };
7439
7611
  isFetchSupported && ((res) => {
7440
- ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
7441
- !resolvers[type] && (resolvers[type] = utils$1.isFunction(res[type]) ? (res2) => res2[type]() : (_, config) => {
7442
- throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
7612
+ ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type2) => {
7613
+ !resolvers[type2] && (resolvers[type2] = utils$1.isFunction(res[type2]) ? (res2) => res2[type2]() : (_, config) => {
7614
+ throw new AxiosError(`Response type '${type2}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
7443
7615
  });
7444
7616
  });
7445
7617
  })(new Response());
@@ -7550,7 +7722,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
7550
7722
  return await new Promise((resolve, reject) => {
7551
7723
  settle(resolve, reject, {
7552
7724
  data: responseData,
7553
- headers: AxiosHeaders$1.from(response.headers),
7725
+ headers: AxiosHeaders.from(response.headers),
7554
7726
  status: response.status,
7555
7727
  statusText: response.statusText,
7556
7728
  config,
@@ -7632,7 +7804,7 @@ function throwIfCancellationRequested(config) {
7632
7804
  }
7633
7805
  function dispatchRequest(config) {
7634
7806
  throwIfCancellationRequested(config);
7635
- config.headers = AxiosHeaders$1.from(config.headers);
7807
+ config.headers = AxiosHeaders.from(config.headers);
7636
7808
  config.data = transformData.call(
7637
7809
  config,
7638
7810
  config.transformRequest
@@ -7640,7 +7812,7 @@ function dispatchRequest(config) {
7640
7812
  if (["post", "put", "patch"].indexOf(config.method) !== -1) {
7641
7813
  config.headers.setContentType("application/x-www-form-urlencoded", false);
7642
7814
  }
7643
- const adapter = adapters.getAdapter(config.adapter || defaults$1.adapter);
7815
+ const adapter = adapters.getAdapter(config.adapter || defaults.adapter);
7644
7816
  return adapter(config).then(function onAdapterResolution(response) {
7645
7817
  throwIfCancellationRequested(config);
7646
7818
  response.data = transformData.call(
@@ -7648,7 +7820,7 @@ function dispatchRequest(config) {
7648
7820
  config.transformResponse,
7649
7821
  response
7650
7822
  );
7651
- response.headers = AxiosHeaders$1.from(response.headers);
7823
+ response.headers = AxiosHeaders.from(response.headers);
7652
7824
  return response;
7653
7825
  }, function onAdapterRejection(reason) {
7654
7826
  if (!isCancel(reason)) {
@@ -7659,7 +7831,7 @@ function dispatchRequest(config) {
7659
7831
  config.transformResponse,
7660
7832
  reason.response
7661
7833
  );
7662
- reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
7834
+ reason.response.headers = AxiosHeaders.from(reason.response.headers);
7663
7835
  }
7664
7836
  }
7665
7837
  return Promise.reject(reason);
@@ -7667,9 +7839,9 @@ function dispatchRequest(config) {
7667
7839
  }
7668
7840
  const VERSION = "1.7.4";
7669
7841
  const validators$1 = {};
7670
- ["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
7671
- validators$1[type] = function validator2(thing) {
7672
- return typeof thing === type || "a" + (i < 1 ? "n " : " ") + type;
7842
+ ["object", "boolean", "number", "function", "string", "symbol"].forEach((type2, i) => {
7843
+ validators$1[type2] = function validator2(thing) {
7844
+ return typeof thing === type2 || "a" + (i < 1 ? "n " : " ") + type2;
7673
7845
  };
7674
7846
  });
7675
7847
  const deprecatedWarnings = {};
@@ -7798,7 +7970,7 @@ class Axios {
7798
7970
  delete headers[method];
7799
7971
  }
7800
7972
  );
7801
- config.headers = AxiosHeaders$1.concat(contextHeaders, headers);
7973
+ config.headers = AxiosHeaders.concat(contextHeaders, headers);
7802
7974
  const requestInterceptorChain = [];
7803
7975
  let synchronousRequestInterceptors = true;
7804
7976
  this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
@@ -7882,7 +8054,6 @@ utils$1.forEach(["post", "put", "patch"], function forEachMethodWithData(method)
7882
8054
  Axios.prototype[method] = generateHTTPMethod();
7883
8055
  Axios.prototype[method + "Form"] = generateHTTPMethod(true);
7884
8056
  });
7885
- const Axios$1 = Axios;
7886
8057
  class CancelToken {
7887
8058
  constructor(executor) {
7888
8059
  if (typeof executor !== "function") {
@@ -7970,7 +8141,6 @@ class CancelToken {
7970
8141
  };
7971
8142
  }
7972
8143
  }
7973
- const CancelToken$1 = CancelToken;
7974
8144
  function spread(callback) {
7975
8145
  return function wrap(arr) {
7976
8146
  return callback.apply(null, arr);
@@ -8047,21 +8217,20 @@ const HttpStatusCode = {
8047
8217
  Object.entries(HttpStatusCode).forEach(([key, value]) => {
8048
8218
  HttpStatusCode[value] = key;
8049
8219
  });
8050
- const HttpStatusCode$1 = HttpStatusCode;
8051
8220
  function createInstance(defaultConfig) {
8052
- const context = new Axios$1(defaultConfig);
8053
- const instance = bind2(Axios$1.prototype.request, context);
8054
- utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
8221
+ const context = new Axios(defaultConfig);
8222
+ const instance = bind2(Axios.prototype.request, context);
8223
+ utils$1.extend(instance, Axios.prototype, context, { allOwnKeys: true });
8055
8224
  utils$1.extend(instance, context, null, { allOwnKeys: true });
8056
8225
  instance.create = function create(instanceConfig) {
8057
8226
  return createInstance(mergeConfig(defaultConfig, instanceConfig));
8058
8227
  };
8059
8228
  return instance;
8060
8229
  }
8061
- const axios = createInstance(defaults$1);
8062
- axios.Axios = Axios$1;
8230
+ const axios = createInstance(defaults);
8231
+ axios.Axios = Axios;
8063
8232
  axios.CanceledError = CanceledError;
8064
- axios.CancelToken = CancelToken$1;
8233
+ axios.CancelToken = CancelToken;
8065
8234
  axios.isCancel = isCancel;
8066
8235
  axios.VERSION = VERSION;
8067
8236
  axios.toFormData = toFormData;
@@ -8073,10 +8242,10 @@ axios.all = function all(promises) {
8073
8242
  axios.spread = spread;
8074
8243
  axios.isAxiosError = isAxiosError;
8075
8244
  axios.mergeConfig = mergeConfig;
8076
- axios.AxiosHeaders = AxiosHeaders$1;
8245
+ axios.AxiosHeaders = AxiosHeaders;
8077
8246
  axios.formToJSON = (thing) => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
8078
8247
  axios.getAdapter = adapters.getAdapter;
8079
- axios.HttpStatusCode = HttpStatusCode$1;
8248
+ axios.HttpStatusCode = HttpStatusCode;
8080
8249
  axios.default = axios;
8081
8250
  var scheduler = { exports: {} };
8082
8251
  var scheduler_production_min = {};
@@ -9394,38 +9563,9 @@ function generateKeyBetween(a2, b, digits = BASE_62_DIGITS) {
9394
9563
  return ia + midpoint(fa, null, digits);
9395
9564
  }
9396
9565
  function generateNKeysBetween(a2, b, n, digits = BASE_62_DIGITS) {
9397
- if (n === 0) {
9398
- return [];
9399
- }
9400
- if (n === 1) {
9566
+ {
9401
9567
  return [generateKeyBetween(a2, b, digits)];
9402
9568
  }
9403
- if (b == null) {
9404
- let c2 = generateKeyBetween(a2, b, digits);
9405
- const result = [c2];
9406
- for (let i = 0; i < n - 1; i++) {
9407
- c2 = generateKeyBetween(c2, b, digits);
9408
- result.push(c2);
9409
- }
9410
- return result;
9411
- }
9412
- if (a2 == null) {
9413
- let c2 = generateKeyBetween(a2, b, digits);
9414
- const result = [c2];
9415
- for (let i = 0; i < n - 1; i++) {
9416
- c2 = generateKeyBetween(a2, c2, digits);
9417
- result.push(c2);
9418
- }
9419
- result.reverse();
9420
- return result;
9421
- }
9422
- const mid = Math.floor(n / 2);
9423
- const c = generateKeyBetween(a2, b, digits);
9424
- return [
9425
- ...generateNKeysBetween(a2, c, mid, digits),
9426
- c,
9427
- ...generateNKeysBetween(c, b, n - mid - 1, digits)
9428
- ];
9429
9569
  }
9430
9570
  function $2b4dce13dd5a17fa$export$842a2cf37af977e1(amount, numerator) {
9431
9571
  return amount - numerator * Math.floor(amount / numerator);
@@ -9913,13 +10053,13 @@ function $735220c2d4774dd3$export$dd02b3e0007dfe28(value, field, amount, options
9913
10053
  case "hour": {
9914
10054
  let hours = value.hour;
9915
10055
  let min = 0;
9916
- let max = 23;
10056
+ let max2 = 23;
9917
10057
  if ((options === null || options === void 0 ? void 0 : options.hourCycle) === 12) {
9918
10058
  let isPM = hours >= 12;
9919
10059
  min = isPM ? 12 : 0;
9920
- max = isPM ? 23 : 11;
10060
+ max2 = isPM ? 23 : 11;
9921
10061
  }
9922
- mutable.hour = $735220c2d4774dd3$var$cycleValue(hours, amount, min, max, options === null || options === void 0 ? void 0 : options.round);
10062
+ mutable.hour = $735220c2d4774dd3$var$cycleValue(hours, amount, min, max2, options === null || options === void 0 ? void 0 : options.round);
9923
10063
  break;
9924
10064
  }
9925
10065
  case "minute":
@@ -9936,24 +10076,24 @@ function $735220c2d4774dd3$export$dd02b3e0007dfe28(value, field, amount, options
9936
10076
  }
9937
10077
  return mutable;
9938
10078
  }
9939
- function $735220c2d4774dd3$var$cycleValue(value, amount, min, max, round = false) {
10079
+ function $735220c2d4774dd3$var$cycleValue(value, amount, min, max2, round = false) {
9940
10080
  if (round) {
9941
10081
  value += Math.sign(amount);
9942
10082
  if (value < min)
9943
- value = max;
10083
+ value = max2;
9944
10084
  let div = Math.abs(amount);
9945
10085
  if (amount > 0)
9946
10086
  value = Math.ceil(value / div) * div;
9947
10087
  else
9948
10088
  value = Math.floor(value / div) * div;
9949
- if (value > max)
10089
+ if (value > max2)
9950
10090
  value = min;
9951
10091
  } else {
9952
10092
  value += amount;
9953
10093
  if (value < min)
9954
- value = max - (min - value - 1);
9955
- else if (value > max)
9956
- value = min + (value - max - 1);
10094
+ value = max2 - (min - value - 1);
10095
+ else if (value > max2)
10096
+ value = min + (value - max2 - 1);
9957
10097
  }
9958
10098
  return value;
9959
10099
  }
@@ -9983,11 +10123,11 @@ function $735220c2d4774dd3$export$9a297d111fc86b79(dateTime, field, amount, opti
9983
10123
  switch (field) {
9984
10124
  case "hour": {
9985
10125
  let min = 0;
9986
- let max = 23;
10126
+ let max2 = 23;
9987
10127
  if ((options === null || options === void 0 ? void 0 : options.hourCycle) === 12) {
9988
10128
  let isPM = dateTime.hour >= 12;
9989
10129
  min = isPM ? 12 : 0;
9990
- max = isPM ? 23 : 11;
10130
+ max2 = isPM ? 23 : 11;
9991
10131
  }
9992
10132
  let plainDateTime = $11d87f3f76e88657$export$b21e0b124e224484(dateTime);
9993
10133
  let minDate = $11d87f3f76e88657$export$b4a036af3fc0b032($735220c2d4774dd3$export$e5d5e1c1822b6e56(plainDateTime, {
@@ -9998,7 +10138,7 @@ function $735220c2d4774dd3$export$9a297d111fc86b79(dateTime, field, amount, opti
9998
10138
  $11d87f3f76e88657$export$5107c82f94518f5c(minDate, dateTime.timeZone, "later")
9999
10139
  ].filter((ms2) => $11d87f3f76e88657$export$1b96692a1ba042ac(ms2, dateTime.timeZone).day === minDate.day)[0];
10000
10140
  let maxDate = $11d87f3f76e88657$export$b4a036af3fc0b032($735220c2d4774dd3$export$e5d5e1c1822b6e56(plainDateTime, {
10001
- hour: max
10141
+ hour: max2
10002
10142
  }), new $3b62074eb05584b2$export$80ee6245ec4f29ec());
10003
10143
  let maxAbsolute = [
10004
10144
  $11d87f3f76e88657$export$5107c82f94518f5c(maxDate, dateTime.timeZone, "earlier"),
@@ -10046,10 +10186,10 @@ function $fae977aafc393c5c$export$5adfdab05168c219(value, timeZone) {
10046
10186
  date.offset = $fae977aafc393c5c$var$parseNumber(m[8], -23, 23) * 36e5 + $fae977aafc393c5c$var$parseNumber((_m_ = m[9]) !== null && _m_ !== void 0 ? _m_ : "0", 0, 59) * 6e4;
10047
10187
  return $11d87f3f76e88657$export$538b00033cc11c75(date, timeZone);
10048
10188
  }
10049
- function $fae977aafc393c5c$var$parseNumber(value, min, max) {
10189
+ function $fae977aafc393c5c$var$parseNumber(value, min, max2) {
10050
10190
  let val = Number(value);
10051
- if (val < min || val > max)
10052
- throw new RangeError(`Value out of range: ${min} <= ${val} <= ${max}`);
10191
+ if (val < min || val > max2)
10192
+ throw new RangeError(`Value out of range: ${min} <= ${val} <= ${max2}`);
10053
10193
  return val;
10054
10194
  }
10055
10195
  function $fae977aafc393c5c$export$f59dee82248f5ad4(time) {
@@ -10302,7 +10442,7 @@ const [Provider, useHistory] = createContext("History", {
10302
10442
  throw new Error("You must use the `HistoryProvider` to access the `goBack` function.");
10303
10443
  }
10304
10444
  });
10305
- React.forwardRef(({ disabled }, ref) => {
10445
+ React.forwardRef(({ disabled }, ref2) => {
10306
10446
  const { formatMessage } = useIntl();
10307
10447
  const canGoBack = useHistory("BackButton", (state) => state.canGoBack);
10308
10448
  const goBack = useHistory("BackButton", (state) => state.goBack);
@@ -10314,7 +10454,7 @@ React.forwardRef(({ disabled }, ref) => {
10314
10454
  return /* @__PURE__ */ jsx(
10315
10455
  Link,
10316
10456
  {
10317
- ref,
10457
+ ref: ref2,
10318
10458
  tag: NavLink,
10319
10459
  to: history.at(-1) ?? "",
10320
10460
  onClick: handleClick,
@@ -10386,7 +10526,7 @@ const GridLayout = ({ size, children }) => {
10386
10526
  return /* @__PURE__ */ jsx(StyledGrid, { $size: size, children });
10387
10527
  };
10388
10528
  const BaseHeaderLayout = React.forwardRef(
10389
- ({ navigationAction, primaryAction, secondaryAction, subtitle, title, sticky, width, ...props }, ref) => {
10529
+ ({ navigationAction, primaryAction, secondaryAction, subtitle, title, sticky, width, ...props }, ref2) => {
10390
10530
  const isSubtitleString = typeof subtitle === "string";
10391
10531
  if (sticky) {
10392
10532
  return /* @__PURE__ */ jsx(
@@ -10421,7 +10561,7 @@ const BaseHeaderLayout = React.forwardRef(
10421
10561
  return /* @__PURE__ */ jsxs(
10422
10562
  Box,
10423
10563
  {
10424
- ref,
10564
+ ref: ref2,
10425
10565
  paddingLeft: 10,
10426
10566
  paddingRight: 10,
10427
10567
  paddingBottom: 8,
@@ -10563,7 +10703,7 @@ const [FormProvider, useForm] = createContext("Form", {
10563
10703
  values: {}
10564
10704
  });
10565
10705
  React.forwardRef(
10566
- ({ disabled = false, method, onSubmit, initialErrors, ...props }, ref) => {
10706
+ ({ disabled = false, method, onSubmit, initialErrors, ...props }, ref2) => {
10567
10707
  const formRef = React.useRef(null);
10568
10708
  const initialValues = React.useRef(props.initialValues ?? {});
10569
10709
  const [state, dispatch] = React.useReducer(reducer, {
@@ -10595,7 +10735,7 @@ React.forwardRef(
10595
10735
  React.useEffect(() => {
10596
10736
  if (Object.keys(state.errors).length === 0)
10597
10737
  return;
10598
- const ref2 = setTimeout(() => {
10738
+ const ref22 = setTimeout(() => {
10599
10739
  const [firstError] = formRef.current.querySelectorAll("[data-strapi-field-error]");
10600
10740
  if (firstError) {
10601
10741
  const errorId = firstError.getAttribute("id");
@@ -10607,7 +10747,7 @@ React.forwardRef(
10607
10747
  }
10608
10748
  }
10609
10749
  });
10610
- return () => clearTimeout(ref2);
10750
+ return () => clearTimeout(ref22);
10611
10751
  }, [state.errors]);
10612
10752
  const validate = React.useCallback(
10613
10753
  async (shouldSetErrors = true, options = {}) => {
@@ -10693,7 +10833,7 @@ React.forwardRef(
10693
10833
  return;
10694
10834
  }
10695
10835
  const target = eventOrPath.target || eventOrPath.currentTarget;
10696
- const { type, name, id, value, options, multiple } = target;
10836
+ const { type: type2, name, id, value, options, multiple } = target;
10697
10837
  const field = name || id;
10698
10838
  if (!field && process.env.NODE_ENV !== "production") {
10699
10839
  console.warn(
@@ -10701,10 +10841,10 @@ React.forwardRef(
10701
10841
  );
10702
10842
  }
10703
10843
  let val;
10704
- if (/number|range/.test(type)) {
10844
+ if (/number|range/.test(type2)) {
10705
10845
  const parsed = parseFloat(value);
10706
10846
  val = isNaN(parsed) ? "" : parsed;
10707
- } else if (/checkbox/.test(type)) {
10847
+ } else if (/checkbox/.test(type2)) {
10708
10848
  val = !getIn(state.values, field);
10709
10849
  } else if (options && multiple) {
10710
10850
  val = Array.from(options).filter((el) => el.selected).map((el) => el.value);
@@ -10776,7 +10916,7 @@ React.forwardRef(
10776
10916
  const setSubmitting = React.useCallback((isSubmitting) => {
10777
10917
  dispatch({ type: "SET_ISSUBMITTING", payload: isSubmitting });
10778
10918
  }, []);
10779
- const composedRefs = useComposedRefs(formRef, ref);
10919
+ const composedRefs = useComposedRefs(formRef, ref2);
10780
10920
  return /* @__PURE__ */ jsx("form", { ref: composedRefs, method, noValidate: true, onSubmit: handleSubmit, children: /* @__PURE__ */ jsx(
10781
10921
  FormProvider,
10782
10922
  {
@@ -10850,8 +10990,7 @@ const reducer = (state, action) => produce(state, (draft) => {
10850
10990
  }
10851
10991
  const [key] = generateNKeysBetween(
10852
10992
  currentField.at(position - 1)?.__temp_key__,
10853
- currentField.at(position)?.__temp_key__,
10854
- 1
10993
+ currentField.at(position)?.__temp_key__
10855
10994
  );
10856
10995
  draft.values = setIn(
10857
10996
  state.values,
@@ -10866,7 +11005,7 @@ const reducer = (state, action) => produce(state, (draft) => {
10866
11005
  const currentRow = currentField[fromIndex];
10867
11006
  const startKey = fromIndex > toIndex ? currentField[toIndex - 1]?.__temp_key__ : currentField[toIndex]?.__temp_key__;
10868
11007
  const endKey = fromIndex > toIndex ? currentField[toIndex]?.__temp_key__ : currentField[toIndex + 1]?.__temp_key__;
10869
- const [newKey] = generateNKeysBetween(startKey, endKey, 1);
11008
+ const [newKey] = generateNKeysBetween(startKey, endKey);
10870
11009
  currentField.splice(fromIndex, 1);
10871
11010
  currentField.splice(toIndex, 0, { ...currentRow, __temp_key__: newKey });
10872
11011
  draft.values = setIn(state.values, field, currentField);
@@ -10961,11 +11100,11 @@ const useFocusInputField = (name) => {
10961
11100
  return setField;
10962
11101
  };
10963
11102
  const BooleanInput = forwardRef(
10964
- ({ name, required, label, hint, labelAction, ...props }, ref) => {
11103
+ ({ name, required, label, hint, labelAction, ...props }, ref2) => {
10965
11104
  const { formatMessage } = useIntl();
10966
11105
  const field = useField(name);
10967
11106
  const fieldRef = useFocusInputField(name);
10968
- const composedRefs = useComposedRefs(ref, fieldRef);
11107
+ const composedRefs = useComposedRefs(ref2, fieldRef);
10969
11108
  return /* @__PURE__ */ jsxs(Field.Root, { error: field.error, name, hint, required, maxWidth: "320px", children: [
10970
11109
  /* @__PURE__ */ jsx(Field.Label, { action: labelAction, children: label }),
10971
11110
  /* @__PURE__ */ jsx(
@@ -10992,10 +11131,10 @@ const BooleanInput = forwardRef(
10992
11131
  );
10993
11132
  const MemoizedBooleanInput = memo(BooleanInput);
10994
11133
  const CheckboxInput = forwardRef(
10995
- ({ name, required, label, hint, type: _type, ...props }, ref) => {
11134
+ ({ name, required, label, hint, type: _type, ...props }, ref2) => {
10996
11135
  const field = useField(name);
10997
11136
  const fieldRef = useFocusInputField(name);
10998
- const composedRefs = useComposedRefs(ref, fieldRef);
11137
+ const composedRefs = useComposedRefs(ref2, fieldRef);
10999
11138
  return /* @__PURE__ */ jsxs(Field.Root, { error: field.error, name, hint, required, children: [
11000
11139
  /* @__PURE__ */ jsx(
11001
11140
  Checkbox,
@@ -11014,11 +11153,11 @@ const CheckboxInput = forwardRef(
11014
11153
  );
11015
11154
  const MemoizedCheckboxInput = memo(CheckboxInput);
11016
11155
  const DateInput = forwardRef(
11017
- ({ name, required, label, hint, labelAction, type: _type, ...props }, ref) => {
11156
+ ({ name, required, label, hint, labelAction, type: _type, ...props }, ref2) => {
11018
11157
  const { formatMessage } = useIntl();
11019
11158
  const field = useField(name);
11020
11159
  const fieldRef = useFocusInputField(name);
11021
- const composedRefs = useComposedRefs(ref, fieldRef);
11160
+ const composedRefs = useComposedRefs(ref2, fieldRef);
11022
11161
  const value = typeof field.value === "string" ? new Date(field.value) : field.value;
11023
11162
  return /* @__PURE__ */ jsxs(Field.Root, { error: field.error, name, hint, required, children: [
11024
11163
  /* @__PURE__ */ jsx(Field.Label, { action: labelAction, children: label }),
@@ -11048,11 +11187,11 @@ const convertLocalDateToUTCDate = (date) => {
11048
11187
  };
11049
11188
  const MemoizedDateInput = memo(DateInput);
11050
11189
  const DateTimeInput = forwardRef(
11051
- ({ name, required, label, hint, labelAction, ...props }, ref) => {
11190
+ ({ name, required, label, hint, labelAction, ...props }, ref2) => {
11052
11191
  const { formatMessage } = useIntl();
11053
11192
  const field = useField(name);
11054
11193
  const fieldRef = useFocusInputField(name);
11055
- const composedRefs = useComposedRefs(ref, fieldRef);
11194
+ const composedRefs = useComposedRefs(ref2, fieldRef);
11056
11195
  const value = typeof field.value === "string" ? new Date(field.value) : field.value;
11057
11196
  return /* @__PURE__ */ jsxs(Field.Root, { error: field.error, name, hint, required, children: [
11058
11197
  /* @__PURE__ */ jsx(Field.Label, { action: labelAction, children: label }),
@@ -11076,10 +11215,10 @@ const DateTimeInput = forwardRef(
11076
11215
  );
11077
11216
  const MemoizedDateTimeInput = memo(DateTimeInput);
11078
11217
  const EmailInput = forwardRef(
11079
- ({ name, required, label, hint, labelAction, ...props }, ref) => {
11218
+ ({ name, required, label, hint, labelAction, ...props }, ref2) => {
11080
11219
  const field = useField(name);
11081
11220
  const fieldRef = useFocusInputField(name);
11082
- const composedRefs = useComposedRefs(ref, fieldRef);
11221
+ const composedRefs = useComposedRefs(ref2, fieldRef);
11083
11222
  return /* @__PURE__ */ jsxs(Field.Root, { error: field.error, name, hint, required, children: [
11084
11223
  /* @__PURE__ */ jsx(Field.Label, { action: labelAction, children: label }),
11085
11224
  /* @__PURE__ */ jsx(
@@ -11100,10 +11239,10 @@ const EmailInput = forwardRef(
11100
11239
  );
11101
11240
  const MemoizedEmailInput = memo(EmailInput);
11102
11241
  const EnumerationInput = forwardRef(
11103
- ({ name, required, label, hint, labelAction, options = [], ...props }, ref) => {
11242
+ ({ name, required, label, hint, labelAction, options = [], ...props }, ref2) => {
11104
11243
  const field = useField(name);
11105
11244
  const fieldRef = useFocusInputField(name);
11106
- const composedRefs = useComposedRefs(ref, fieldRef);
11245
+ const composedRefs = useComposedRefs(ref2, fieldRef);
11107
11246
  return /* @__PURE__ */ jsxs(Field.Root, { error: field.error, name, hint, required, children: [
11108
11247
  /* @__PURE__ */ jsx(Field.Label, { action: labelAction, children: label }),
11109
11248
  /* @__PURE__ */ jsx(
@@ -11127,10 +11266,10 @@ const EnumerationInput = forwardRef(
11127
11266
  );
11128
11267
  const MemoizedEnumerationInput = memo(EnumerationInput);
11129
11268
  const JsonInput = React.forwardRef(
11130
- ({ name, required, label, hint, labelAction, ...props }, ref) => {
11269
+ ({ name, required, label, hint, labelAction, ...props }, ref2) => {
11131
11270
  const field = useField(name);
11132
11271
  const fieldRef = useFocusInputField(name);
11133
- const composedRefs = useComposedRefs(ref, fieldRef);
11272
+ const composedRefs = useComposedRefs(ref2, fieldRef);
11134
11273
  return /* @__PURE__ */ jsxs(Field.Root, { error: field.error, name, hint, required, children: [
11135
11274
  /* @__PURE__ */ jsx(Field.Label, { action: labelAction, children: label }),
11136
11275
  /* @__PURE__ */ jsx(
@@ -11154,10 +11293,10 @@ const JsonInput = React.forwardRef(
11154
11293
  );
11155
11294
  const MemoizedJsonInput = React.memo(JsonInput);
11156
11295
  const NumberInputImpl = forwardRef(
11157
- ({ name, required, label, hint, labelAction, type, ...props }, ref) => {
11296
+ ({ name, required, label, hint, labelAction, type: type2, ...props }, ref2) => {
11158
11297
  const field = useField(name);
11159
11298
  const fieldRef = useFocusInputField(name);
11160
- const composedRefs = useComposedRefs(ref, fieldRef);
11299
+ const composedRefs = useComposedRefs(ref2, fieldRef);
11161
11300
  return /* @__PURE__ */ jsxs(Field.Root, { error: field.error, name, hint, required, children: [
11162
11301
  /* @__PURE__ */ jsx(Field.Label, { action: labelAction, children: label }),
11163
11302
  /* @__PURE__ */ jsx(
@@ -11167,7 +11306,7 @@ const NumberInputImpl = forwardRef(
11167
11306
  onValueChange: (value) => {
11168
11307
  field.onChange(name, value);
11169
11308
  },
11170
- step: type === "float" || type == "decimal" ? 0.01 : 1,
11309
+ step: type2 === "float" || type2 == "decimal" ? 0.01 : 1,
11171
11310
  value: field.value,
11172
11311
  ...props
11173
11312
  }
@@ -11179,12 +11318,12 @@ const NumberInputImpl = forwardRef(
11179
11318
  );
11180
11319
  const MemoizedNumberInput = memo(NumberInputImpl);
11181
11320
  const PasswordInput = forwardRef(
11182
- ({ name, required, label, hint, labelAction, ...props }, ref) => {
11321
+ ({ name, required, label, hint, labelAction, ...props }, ref2) => {
11183
11322
  const [showPassword, setShowPassword] = useState(false);
11184
11323
  const { formatMessage } = useIntl();
11185
11324
  const field = useField(name);
11186
11325
  const fieldRef = useFocusInputField(name);
11187
- const composedRefs = useComposedRefs(ref, fieldRef);
11326
+ const composedRefs = useComposedRefs(ref2, fieldRef);
11188
11327
  return /* @__PURE__ */ jsxs(Field.Root, { error: field.error, name, hint, required, children: [
11189
11328
  /* @__PURE__ */ jsx(Field.Label, { action: labelAction, children: label }),
11190
11329
  /* @__PURE__ */ jsx(
@@ -11218,10 +11357,10 @@ const PasswordInput = forwardRef(
11218
11357
  );
11219
11358
  const MemoizedPasswordInput = memo(PasswordInput);
11220
11359
  const StringInput = forwardRef(
11221
- ({ name, required, label, hint, labelAction, ...props }, ref) => {
11360
+ ({ name, required, label, hint, labelAction, ...props }, ref2) => {
11222
11361
  const field = useField(name);
11223
11362
  const fieldRef = useFocusInputField(name);
11224
- const composedRefs = useComposedRefs(ref, fieldRef);
11363
+ const composedRefs = useComposedRefs(ref2, fieldRef);
11225
11364
  return /* @__PURE__ */ jsxs(Field.Root, { error: field.error, name, hint, required, children: [
11226
11365
  /* @__PURE__ */ jsx(Field.Label, { action: labelAction, children: label }),
11227
11366
  /* @__PURE__ */ jsx(
@@ -11240,10 +11379,10 @@ const StringInput = forwardRef(
11240
11379
  );
11241
11380
  const MemoizedStringInput = memo(StringInput);
11242
11381
  const TextareaInput = forwardRef(
11243
- ({ name, required, label, hint, labelAction, ...props }, ref) => {
11382
+ ({ name, required, label, hint, labelAction, ...props }, ref2) => {
11244
11383
  const field = useField(name);
11245
11384
  const fieldRef = useFocusInputField(name);
11246
- const composedRefs = useComposedRefs(ref, fieldRef);
11385
+ const composedRefs = useComposedRefs(ref2, fieldRef);
11247
11386
  return /* @__PURE__ */ jsxs(Field.Root, { error: field.error, name, hint, required, children: [
11248
11387
  /* @__PURE__ */ jsx(Field.Label, { action: labelAction, children: label }),
11249
11388
  /* @__PURE__ */ jsx(
@@ -11262,11 +11401,11 @@ const TextareaInput = forwardRef(
11262
11401
  );
11263
11402
  const MemoizedTextareaInput = memo(TextareaInput);
11264
11403
  const TimeInput = forwardRef(
11265
- ({ name, required, label, hint, labelAction, ...props }, ref) => {
11404
+ ({ name, required, label, hint, labelAction, ...props }, ref2) => {
11266
11405
  const { formatMessage } = useIntl();
11267
11406
  const field = useField(name);
11268
11407
  const fieldRef = useFocusInputField(name);
11269
- const composedRefs = useComposedRefs(ref, fieldRef);
11408
+ const composedRefs = useComposedRefs(ref2, fieldRef);
11270
11409
  return /* @__PURE__ */ jsxs(Field.Root, { error: field.error, name, hint, required, children: [
11271
11410
  /* @__PURE__ */ jsx(Field.Label, { action: labelAction, children: label }),
11272
11411
  /* @__PURE__ */ jsx(
@@ -11326,10 +11465,10 @@ const InputRenderer = memo(
11326
11465
  })
11327
11466
  );
11328
11467
  const NotSupportedField = forwardRef(
11329
- ({ label, hint, name, required, type, labelAction }, ref) => {
11468
+ ({ label, hint, name, required, type: type2, labelAction }, ref2) => {
11330
11469
  const { error } = useField(name);
11331
11470
  const fieldRef = useFocusInputField(name);
11332
- const composedRefs = useComposedRefs(ref, fieldRef);
11471
+ const composedRefs = useComposedRefs(ref2, fieldRef);
11333
11472
  return /* @__PURE__ */ jsxs(Field.Root, { error, name, hint, required, children: [
11334
11473
  /* @__PURE__ */ jsx(Field.Label, { action: labelAction, children: label }),
11335
11474
  /* @__PURE__ */ jsx(
@@ -11337,7 +11476,7 @@ const NotSupportedField = forwardRef(
11337
11476
  {
11338
11477
  ref: composedRefs,
11339
11478
  disabled: true,
11340
- placeholder: `Unsupported field type: ${type}`,
11479
+ placeholder: `Unsupported field type: ${type2}`,
11341
11480
  required,
11342
11481
  type: "text",
11343
11482
  value: ""
@@ -11598,11 +11737,11 @@ React.memo(
11598
11737
  (prev, next) => isEqual(prev.props, next.props)
11599
11738
  );
11600
11739
  const useShallowCompareMemoize = (value) => {
11601
- const ref = React.useRef(void 0);
11602
- if (!isEqual(value, ref.current)) {
11603
- ref.current = value;
11740
+ const ref2 = React.useRef(void 0);
11741
+ if (!isEqual(value, ref2.current)) {
11742
+ ref2.current = value;
11604
11743
  }
11605
- return [ref.current];
11744
+ return [ref2.current];
11606
11745
  };
11607
11746
  const useShallowCompareEffect = (callback, dependencies) => {
11608
11747
  React.useEffect(callback, useShallowCompareMemoize(dependencies));
@@ -11842,4 +11981,4 @@ export {
11842
11981
  Layouts as L,
11843
11982
  useTracking as u
11844
11983
  };
11845
- //# sourceMappingURL=index-QPUYgtlo-BfJxOAzF.mjs.map
11984
+ //# sourceMappingURL=index-O8wWF32N-C1E7ADbJ.mjs.map