@itwin/core-i18n 4.0.0-dev.23 → 4.0.0-dev.28

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.
@@ -10823,8 +10823,8 @@ module.exports = getFuncName;
10823
10823
  "use strict";
10824
10824
 
10825
10825
 
10826
- var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/classCallCheck.js");
10827
- var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/createClass.js");
10826
+ var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/classCallCheck.js");
10827
+ var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/createClass.js");
10828
10828
 
10829
10829
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10830
10830
 
@@ -11256,15 +11256,15 @@ module.exports = Browser;
11256
11256
  "use strict";
11257
11257
 
11258
11258
 
11259
- var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/typeof.js");
11260
- var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/classCallCheck.js");
11261
- var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/createClass.js");
11262
- var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
11263
- var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/inherits.js");
11264
- var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
11265
- var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
11266
- var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/defineProperty.js");
11267
- var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toArray.js");
11259
+ var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/typeof.js");
11260
+ var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/classCallCheck.js");
11261
+ var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/createClass.js");
11262
+ var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
11263
+ var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/inherits.js");
11264
+ var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
11265
+ var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
11266
+ var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/defineProperty.js");
11267
+ var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toArray.js");
11268
11268
 
11269
11269
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11270
11270
 
@@ -15782,7 +15782,7 @@ function assert(condition, message) {
15782
15782
  condition = condition();
15783
15783
  if (condition)
15784
15784
  return;
15785
- message = message !== null && message !== void 0 ? message : "Programmer Error";
15785
+ message = message ?? "Programmer Error";
15786
15786
  if ("string" !== typeof message)
15787
15787
  message = message();
15788
15788
  throw new Error(`Assert: ${message}`);
@@ -16131,6 +16131,8 @@ var DbResult;
16131
16131
  DbResult[DbResult["BE_SQLITE_ERROR_CouldNotAcquireLocksOrCodes"] = 352321546] = "BE_SQLITE_ERROR_CouldNotAcquireLocksOrCodes";
16132
16132
  /** Recommended that the schemas found in the database be upgraded */
16133
16133
  DbResult[DbResult["BE_SQLITE_ERROR_SchemaUpgradeRecommended"] = 369098762] = "BE_SQLITE_ERROR_SchemaUpgradeRecommended";
16134
+ /** schema update require data transform */
16135
+ DbResult[DbResult["BE_SQLITE_ERROR_DataTransformRequired"] = 385875978] = "BE_SQLITE_ERROR_DataTransformRequired";
16134
16136
  DbResult[DbResult["BE_SQLITE_LOCKED_SHAREDCACHE"] = 262] = "BE_SQLITE_LOCKED_SHAREDCACHE";
16135
16137
  DbResult[DbResult["BE_SQLITE_BUSY_RECOVERY"] = 261] = "BE_SQLITE_BUSY_RECOVERY";
16136
16138
  DbResult[DbResult["BE_SQLITE_CANTOPEN_NOTEMPDIR"] = 270] = "BE_SQLITE_CANTOPEN_NOTEMPDIR";
@@ -16651,6 +16653,7 @@ class BentleyError extends Error {
16651
16653
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_IOERR_SHMMAP: return "BE_SQLITE_IOERR_SHMMAP";
16652
16654
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_IOERR_SEEK: return "BE_SQLITE_IOERR_SEEK";
16653
16655
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_IOERR_DELETE_NOENT: return "BE_SQLITE_IOERR_DELETE_NOENT";
16656
+ case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ERROR_DataTransformRequired: return "Schema update require to transform data";
16654
16657
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ERROR_FileExists: return "File Exists";
16655
16658
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ERROR_AlreadyOpen: return "Already Open";
16656
16659
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ERROR_NoPropertyTable: return "No Property Table";
@@ -17504,7 +17507,7 @@ var CompressedId64Set;
17504
17507
  * @see [[CompressedId64Set.iterable]] to efficiently iterate the Ids.
17505
17508
  */
17506
17509
  function decompressSet(compressedIds, out) {
17507
- const set = out !== null && out !== void 0 ? out : new Set();
17510
+ const set = out ?? new Set();
17508
17511
  for (const id of iterable(compressedIds))
17509
17512
  set.add(id);
17510
17513
  return set;
@@ -17521,7 +17524,7 @@ var CompressedId64Set;
17521
17524
  * @see [[CompressedId64Set.iterable]] to efficiently iterate the Ids.
17522
17525
  */
17523
17526
  function decompressArray(compressedIds, out) {
17524
- const arr = out !== null && out !== void 0 ? out : [];
17527
+ const arr = out ?? [];
17525
17528
  for (const id of iterable(compressedIds))
17526
17529
  arr.push(id);
17527
17530
  return arr;
@@ -17553,7 +17556,7 @@ class MutableCompressedId64Set {
17553
17556
  constructor(ids) {
17554
17557
  this._inserted = new OrderedId64Array();
17555
17558
  this._deleted = new OrderedId64Array();
17556
- this._ids = ids !== null && ids !== void 0 ? ids : "";
17559
+ this._ids = ids ?? "";
17557
17560
  }
17558
17561
  /** Obtain the compact string representation of the contents of this set. If any insertions or removals are pending, they will be applied and the string recomputed. */
17559
17562
  get ids() {
@@ -17587,7 +17590,7 @@ class MutableCompressedId64Set {
17587
17590
  /** Remove all Ids from the set, then add the specified Ids. */
17588
17591
  reset(ids) {
17589
17592
  this.clear();
17590
- this._ids = ids !== null && ids !== void 0 ? ids : "";
17593
+ this._ids = ids ?? "";
17591
17594
  }
17592
17595
  /** Obtain an iterator over the Ids in this set. The Ids are returned in ascending order based on their unsigned 64-bit integer values. */
17593
17596
  [Symbol.iterator]() {
@@ -19361,17 +19364,15 @@ class Logger {
19361
19364
  }
19362
19365
  /** Set the least severe level at which messages should be displayed by default. Call setLevel to override this default setting for specific categories. */
19363
19366
  static setLevelDefault(minLevel) {
19364
- var _a;
19365
19367
  this._minLevel = minLevel;
19366
- (_a = this.logLevelChangedFn) === null || _a === void 0 ? void 0 : _a.call(this);
19368
+ this.logLevelChangedFn?.();
19367
19369
  }
19368
19370
  /** Set the minimum logging level for the specified category. The minimum level is least severe level at which messages in the
19369
19371
  * specified category should be displayed.
19370
19372
  */
19371
19373
  static setLevel(category, minLevel) {
19372
- var _a;
19373
19374
  Logger._categoryFilter.set(category, minLevel);
19374
- (_a = this.logLevelChangedFn) === null || _a === void 0 ? void 0 : _a.call(this);
19375
+ this.logLevelChangedFn?.();
19375
19376
  }
19376
19377
  /** Interpret a string as the name of a LogLevel */
19377
19378
  static parseLogLevel(str) {
@@ -19661,7 +19662,7 @@ class PromiseWithAbandon {
19661
19662
  /** Create a Promise that is chained to the underlying Promise, but is connected to the abandon method. */
19662
19663
  async init(msg) {
19663
19664
  return new Promise((resolve, reject) => {
19664
- this.abandon = (message) => reject(new AbandonedError(message !== null && message !== void 0 ? message : msg));
19665
+ this.abandon = (message) => reject(new AbandonedError(message ?? msg));
19665
19666
  this._resolve = resolve;
19666
19667
  });
19667
19668
  }
@@ -21498,17 +21499,16 @@ class Tracing {
21498
21499
  ? Tracing._openTelemetry.context.active()
21499
21500
  : Tracing._openTelemetry.trace.setSpanContext(Tracing._openTelemetry.context.active(), parentContext);
21500
21501
  return Tracing._openTelemetry.context.with(Tracing._openTelemetry.trace.setSpan(parent, Tracing._tracer.startSpan(name, options, Tracing._openTelemetry.context.active())), async () => {
21501
- var _a, _b, _c, _d;
21502
21502
  try {
21503
21503
  return await fn();
21504
21504
  }
21505
21505
  catch (err) {
21506
21506
  if (err instanceof Error) // ignore non-Error throws, such as RpcControlResponse
21507
- (_b = (_a = Tracing._openTelemetry) === null || _a === void 0 ? void 0 : _a.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _b === void 0 ? void 0 : _b.setAttribute("error", true);
21507
+ Tracing._openTelemetry?.trace.getSpan(Tracing._openTelemetry.context.active())?.setAttribute("error", true);
21508
21508
  throw err;
21509
21509
  }
21510
21510
  finally {
21511
- (_d = (_c = Tracing._openTelemetry) === null || _c === void 0 ? void 0 : _c.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _d === void 0 ? void 0 : _d.end();
21511
+ Tracing._openTelemetry?.trace.getSpan(Tracing._openTelemetry.context.active())?.end();
21512
21512
  }
21513
21513
  });
21514
21514
  }
@@ -21527,9 +21527,8 @@ class Tracing {
21527
21527
  }
21528
21528
  static withOpenTelemetry(base, isError = false) {
21529
21529
  return (category, message, metaData) => {
21530
- var _a, _b;
21531
21530
  try {
21532
- (_b = (_a = Tracing._openTelemetry) === null || _a === void 0 ? void 0 : _a.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _b === void 0 ? void 0 : _b.addEvent(message, { ...flattenObject(_Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.getMetaData(metaData)), error: isError });
21531
+ Tracing._openTelemetry?.trace.getSpan(Tracing._openTelemetry.context.active())?.addEvent(message, { ...flattenObject(_Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.getMetaData(metaData)), error: isError });
21533
21532
  }
21534
21533
  catch (_e) { } // avoid throwing random errors (with stack trace mangled by async hooks) when openTelemetry collector doesn't work
21535
21534
  base(category, message, metaData);
@@ -21539,8 +21538,7 @@ class Tracing {
21539
21538
  * @param attributes The attributes to set
21540
21539
  */
21541
21540
  static setAttributes(attributes) {
21542
- var _a, _b;
21543
- (_b = (_a = Tracing._openTelemetry) === null || _a === void 0 ? void 0 : _a.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _b === void 0 ? void 0 : _b.setAttributes(attributes);
21541
+ Tracing._openTelemetry?.trace.getSpan(Tracing._openTelemetry.context.active())?.setAttributes(attributes);
21544
21542
  }
21545
21543
  }
21546
21544
 
@@ -21701,10 +21699,9 @@ __webpack_require__.r(__webpack_exports__);
21701
21699
  class TypedArrayBuilder {
21702
21700
  /** Constructs a new builder from the specified options, with a [[length]] of zero. */
21703
21701
  constructor(constructor, options) {
21704
- var _a, _b;
21705
21702
  this._constructor = constructor;
21706
- this._data = new constructor((_a = options === null || options === void 0 ? void 0 : options.initialCapacity) !== null && _a !== void 0 ? _a : 0);
21707
- this.growthFactor = Math.max(1.0, (_b = options === null || options === void 0 ? void 0 : options.growthFactor) !== null && _b !== void 0 ? _b : 1.5);
21703
+ this._data = new constructor(options?.initialCapacity ?? 0);
21704
+ this.growthFactor = Math.max(1.0, options?.growthFactor ?? 1.5);
21708
21705
  this._length = 0;
21709
21706
  }
21710
21707
  /** The number of elements currently in the array. */
@@ -21832,8 +21829,7 @@ class Uint32ArrayBuilder extends TypedArrayBuilder {
21832
21829
  */
21833
21830
  class UintArrayBuilder extends TypedArrayBuilder {
21834
21831
  constructor(options) {
21835
- var _a;
21836
- super((_a = options === null || options === void 0 ? void 0 : options.initialType) !== null && _a !== void 0 ? _a : Uint8Array, options);
21832
+ super(options?.initialType ?? Uint8Array, options);
21837
21833
  }
21838
21834
  /** The number of bytes (1, 2, or 4) currently allocated per element by the underlying array.
21839
21835
  * This may change as larger values are added to the array.
@@ -22357,19 +22353,18 @@ const DEFAULT_MAX_RETRIES = 1; // a low number prevents wasted time and potentia
22357
22353
  */
22358
22354
  class ITwinLocalization {
22359
22355
  constructor(options) {
22360
- var _a, _b, _c;
22361
22356
  this._namespaces = new Map();
22362
22357
  this.i18next = i18next_1.default.createInstance();
22363
22358
  this._backendOptions = {
22364
- loadPath: (_a = options === null || options === void 0 ? void 0 : options.urlTemplate) !== null && _a !== void 0 ? _a : "locales/{{lng}}/{{ns}}.json",
22359
+ loadPath: options?.urlTemplate ?? "locales/{{lng}}/{{ns}}.json",
22365
22360
  crossDomain: true,
22366
- ...options === null || options === void 0 ? void 0 : options.backendHttpOptions,
22361
+ ...options?.backendHttpOptions,
22367
22362
  };
22368
22363
  this._detectionOptions = {
22369
22364
  order: ["querystring", "navigator", "htmlTag"],
22370
22365
  lookupQuerystring: "lng",
22371
22366
  caches: [],
22372
- ...options === null || options === void 0 ? void 0 : options.detectorOptions,
22367
+ ...options?.detectorOptions,
22373
22368
  };
22374
22369
  this._initOptions = {
22375
22370
  interpolation: { escapeValue: true },
@@ -22377,19 +22372,18 @@ class ITwinLocalization {
22377
22372
  maxRetries: DEFAULT_MAX_RETRIES,
22378
22373
  backend: this._backendOptions,
22379
22374
  detection: this._detectionOptions,
22380
- ...options === null || options === void 0 ? void 0 : options.initOptions,
22375
+ ...options?.initOptions,
22381
22376
  };
22382
22377
  this.i18next
22383
- .use((_b = options === null || options === void 0 ? void 0 : options.detectorPlugin) !== null && _b !== void 0 ? _b : i18next_browser_languagedetector_1.default)
22384
- .use((_c = options === null || options === void 0 ? void 0 : options.backendPlugin) !== null && _c !== void 0 ? _c : i18next_http_backend_1.default)
22378
+ .use(options?.detectorPlugin ?? i18next_browser_languagedetector_1.default)
22379
+ .use(options?.backendPlugin ?? i18next_http_backend_1.default)
22385
22380
  .use(TranslationLogger);
22386
22381
  }
22387
22382
  async initialize(namespaces) {
22388
- var _a;
22389
22383
  // Also consider namespaces passed into constructor
22390
22384
  const initNamespaces = [this._initOptions.ns || []].flat();
22391
22385
  const combinedNamespaces = new Set([...namespaces, ...initNamespaces]); // without duplicates
22392
- const defaultNamespace = (_a = this._initOptions.defaultNS) !== null && _a !== void 0 ? _a : namespaces[0];
22386
+ const defaultNamespace = this._initOptions.defaultNS ?? namespaces[0];
22393
22387
  if (defaultNamespace)
22394
22388
  combinedNamespaces.add(defaultNamespace); // Make sure default namespace is in namespaces list
22395
22389
  const initOptions = {
@@ -22438,7 +22432,7 @@ class ITwinLocalization {
22438
22432
  * @public
22439
22433
  */
22440
22434
  getLocalizedString(key, options) {
22441
- if ((options === null || options === void 0 ? void 0 : options.returnDetails) || (options === null || options === void 0 ? void 0 : options.returnObjects)) {
22435
+ if (options?.returnDetails || options?.returnObjects) {
22442
22436
  throw new Error("Translation key must map to a string, but the given options will result in an object");
22443
22437
  }
22444
22438
  const value = this.i18next.t(key, options);
@@ -22475,7 +22469,7 @@ class ITwinLocalization {
22475
22469
  * @internal
22476
22470
  */
22477
22471
  getEnglishString(namespace, key, options) {
22478
- if ((options === null || options === void 0 ? void 0 : options.returnDetails) || (options === null || options === void 0 ? void 0 : options.returnObjects)) {
22472
+ if (options?.returnDetails || options?.returnObjects) {
22479
22473
  throw new Error("Translation key must map to a string, but the given options will result in an object");
22480
22474
  }
22481
22475
  options = {
@@ -22578,10 +22572,10 @@ TranslationLogger.type = "logger";
22578
22572
 
22579
22573
  /***/ }),
22580
22574
 
22581
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
22582
- /*!***************************************************************************************************************************!*\
22583
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
22584
- \***************************************************************************************************************************/
22575
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
22576
+ /*!**************************************************************************************************************************!*\
22577
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
22578
+ \**************************************************************************************************************************/
22585
22579
  /***/ ((module) => {
22586
22580
 
22587
22581
  function _arrayLikeToArray(arr, len) {
@@ -22593,10 +22587,10 @@ module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exp
22593
22587
 
22594
22588
  /***/ }),
22595
22589
 
22596
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
22597
- /*!*************************************************************************************************************************!*\
22598
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
22599
- \*************************************************************************************************************************/
22590
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
22591
+ /*!************************************************************************************************************************!*\
22592
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
22593
+ \************************************************************************************************************************/
22600
22594
  /***/ ((module) => {
22601
22595
 
22602
22596
  function _arrayWithHoles(arr) {
@@ -22606,10 +22600,10 @@ module.exports = _arrayWithHoles, module.exports.__esModule = true, module.expor
22606
22600
 
22607
22601
  /***/ }),
22608
22602
 
22609
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
22610
- /*!********************************************************************************************************************************!*\
22611
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
22612
- \********************************************************************************************************************************/
22603
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
22604
+ /*!*******************************************************************************************************************************!*\
22605
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
22606
+ \*******************************************************************************************************************************/
22613
22607
  /***/ ((module) => {
22614
22608
 
22615
22609
  function _assertThisInitialized(self) {
@@ -22622,10 +22616,10 @@ module.exports = _assertThisInitialized, module.exports.__esModule = true, modul
22622
22616
 
22623
22617
  /***/ }),
22624
22618
 
22625
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/classCallCheck.js":
22626
- /*!*************************************************************************************************************************!*\
22627
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
22628
- \*************************************************************************************************************************/
22619
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/classCallCheck.js":
22620
+ /*!************************************************************************************************************************!*\
22621
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
22622
+ \************************************************************************************************************************/
22629
22623
  /***/ ((module) => {
22630
22624
 
22631
22625
  function _classCallCheck(instance, Constructor) {
@@ -22637,13 +22631,13 @@ module.exports = _classCallCheck, module.exports.__esModule = true, module.expor
22637
22631
 
22638
22632
  /***/ }),
22639
22633
 
22640
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/createClass.js":
22641
- /*!**********************************************************************************************************************!*\
22642
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/createClass.js ***!
22643
- \**********************************************************************************************************************/
22634
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/createClass.js":
22635
+ /*!*********************************************************************************************************************!*\
22636
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/createClass.js ***!
22637
+ \*********************************************************************************************************************/
22644
22638
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
22645
22639
 
22646
- var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toPropertyKey.js");
22640
+ var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toPropertyKey.js");
22647
22641
  function _defineProperties(target, props) {
22648
22642
  for (var i = 0; i < props.length; i++) {
22649
22643
  var descriptor = props[i];
@@ -22665,13 +22659,13 @@ module.exports = _createClass, module.exports.__esModule = true, module.exports[
22665
22659
 
22666
22660
  /***/ }),
22667
22661
 
22668
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/defineProperty.js":
22669
- /*!*************************************************************************************************************************!*\
22670
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/defineProperty.js ***!
22671
- \*************************************************************************************************************************/
22662
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/defineProperty.js":
22663
+ /*!************************************************************************************************************************!*\
22664
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/defineProperty.js ***!
22665
+ \************************************************************************************************************************/
22672
22666
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
22673
22667
 
22674
- var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toPropertyKey.js");
22668
+ var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toPropertyKey.js");
22675
22669
  function _defineProperty(obj, key, value) {
22676
22670
  key = toPropertyKey(key);
22677
22671
  if (key in obj) {
@@ -22690,10 +22684,10 @@ module.exports = _defineProperty, module.exports.__esModule = true, module.expor
22690
22684
 
22691
22685
  /***/ }),
22692
22686
 
22693
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
22694
- /*!*************************************************************************************************************************!*\
22695
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
22696
- \*************************************************************************************************************************/
22687
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
22688
+ /*!************************************************************************************************************************!*\
22689
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
22690
+ \************************************************************************************************************************/
22697
22691
  /***/ ((module) => {
22698
22692
 
22699
22693
  function _getPrototypeOf(o) {
@@ -22706,13 +22700,13 @@ module.exports = _getPrototypeOf, module.exports.__esModule = true, module.expor
22706
22700
 
22707
22701
  /***/ }),
22708
22702
 
22709
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/inherits.js":
22710
- /*!*******************************************************************************************************************!*\
22711
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/inherits.js ***!
22712
- \*******************************************************************************************************************/
22703
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/inherits.js":
22704
+ /*!******************************************************************************************************************!*\
22705
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/inherits.js ***!
22706
+ \******************************************************************************************************************/
22713
22707
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
22714
22708
 
22715
- var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
22709
+ var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
22716
22710
  function _inherits(subClass, superClass) {
22717
22711
  if (typeof superClass !== "function" && superClass !== null) {
22718
22712
  throw new TypeError("Super expression must either be null or a function");
@@ -22733,10 +22727,10 @@ module.exports = _inherits, module.exports.__esModule = true, module.exports["de
22733
22727
 
22734
22728
  /***/ }),
22735
22729
 
22736
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/iterableToArray.js":
22737
- /*!**************************************************************************************************************************!*\
22738
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
22739
- \**************************************************************************************************************************/
22730
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/iterableToArray.js":
22731
+ /*!*************************************************************************************************************************!*\
22732
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
22733
+ \*************************************************************************************************************************/
22740
22734
  /***/ ((module) => {
22741
22735
 
22742
22736
  function _iterableToArray(iter) {
@@ -22746,10 +22740,10 @@ module.exports = _iterableToArray, module.exports.__esModule = true, module.expo
22746
22740
 
22747
22741
  /***/ }),
22748
22742
 
22749
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/nonIterableRest.js":
22750
- /*!**************************************************************************************************************************!*\
22751
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
22752
- \**************************************************************************************************************************/
22743
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/nonIterableRest.js":
22744
+ /*!*************************************************************************************************************************!*\
22745
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
22746
+ \*************************************************************************************************************************/
22753
22747
  /***/ ((module) => {
22754
22748
 
22755
22749
  function _nonIterableRest() {
@@ -22759,14 +22753,14 @@ module.exports = _nonIterableRest, module.exports.__esModule = true, module.expo
22759
22753
 
22760
22754
  /***/ }),
22761
22755
 
22762
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
22763
- /*!************************************************************************************************************************************!*\
22764
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
22765
- \************************************************************************************************************************************/
22756
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
22757
+ /*!***********************************************************************************************************************************!*\
22758
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
22759
+ \***********************************************************************************************************************************/
22766
22760
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
22767
22761
 
22768
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
22769
- var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
22762
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
22763
+ var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
22770
22764
  function _possibleConstructorReturn(self, call) {
22771
22765
  if (call && (_typeof(call) === "object" || typeof call === "function")) {
22772
22766
  return call;
@@ -22779,10 +22773,10 @@ module.exports = _possibleConstructorReturn, module.exports.__esModule = true, m
22779
22773
 
22780
22774
  /***/ }),
22781
22775
 
22782
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
22783
- /*!*************************************************************************************************************************!*\
22784
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
22785
- \*************************************************************************************************************************/
22776
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
22777
+ /*!************************************************************************************************************************!*\
22778
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
22779
+ \************************************************************************************************************************/
22786
22780
  /***/ ((module) => {
22787
22781
 
22788
22782
  function _setPrototypeOf(o, p) {
@@ -22796,16 +22790,16 @@ module.exports = _setPrototypeOf, module.exports.__esModule = true, module.expor
22796
22790
 
22797
22791
  /***/ }),
22798
22792
 
22799
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toArray.js":
22800
- /*!******************************************************************************************************************!*\
22801
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toArray.js ***!
22802
- \******************************************************************************************************************/
22793
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toArray.js":
22794
+ /*!*****************************************************************************************************************!*\
22795
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toArray.js ***!
22796
+ \*****************************************************************************************************************/
22803
22797
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
22804
22798
 
22805
- var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
22806
- var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/iterableToArray.js");
22807
- var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
22808
- var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/nonIterableRest.js");
22799
+ var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
22800
+ var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/iterableToArray.js");
22801
+ var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
22802
+ var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/nonIterableRest.js");
22809
22803
  function _toArray(arr) {
22810
22804
  return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
22811
22805
  }
@@ -22813,13 +22807,13 @@ module.exports = _toArray, module.exports.__esModule = true, module.exports["def
22813
22807
 
22814
22808
  /***/ }),
22815
22809
 
22816
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toPrimitive.js":
22817
- /*!**********************************************************************************************************************!*\
22818
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
22819
- \**********************************************************************************************************************/
22810
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toPrimitive.js":
22811
+ /*!*********************************************************************************************************************!*\
22812
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
22813
+ \*********************************************************************************************************************/
22820
22814
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
22821
22815
 
22822
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
22816
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
22823
22817
  function _toPrimitive(input, hint) {
22824
22818
  if (_typeof(input) !== "object" || input === null) return input;
22825
22819
  var prim = input[Symbol.toPrimitive];
@@ -22834,14 +22828,14 @@ module.exports = _toPrimitive, module.exports.__esModule = true, module.exports[
22834
22828
 
22835
22829
  /***/ }),
22836
22830
 
22837
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toPropertyKey.js":
22838
- /*!************************************************************************************************************************!*\
22839
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
22840
- \************************************************************************************************************************/
22831
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toPropertyKey.js":
22832
+ /*!***********************************************************************************************************************!*\
22833
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
22834
+ \***********************************************************************************************************************/
22841
22835
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
22842
22836
 
22843
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
22844
- var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toPrimitive.js");
22837
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
22838
+ var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toPrimitive.js");
22845
22839
  function _toPropertyKey(arg) {
22846
22840
  var key = toPrimitive(arg, "string");
22847
22841
  return _typeof(key) === "symbol" ? key : String(key);
@@ -22850,10 +22844,10 @@ module.exports = _toPropertyKey, module.exports.__esModule = true, module.export
22850
22844
 
22851
22845
  /***/ }),
22852
22846
 
22853
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/typeof.js":
22854
- /*!*****************************************************************************************************************!*\
22855
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/typeof.js ***!
22856
- \*****************************************************************************************************************/
22847
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/typeof.js":
22848
+ /*!****************************************************************************************************************!*\
22849
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/typeof.js ***!
22850
+ \****************************************************************************************************************/
22857
22851
  /***/ ((module) => {
22858
22852
 
22859
22853
  function _typeof(obj) {
@@ -22869,13 +22863,13 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
22869
22863
 
22870
22864
  /***/ }),
22871
22865
 
22872
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
22873
- /*!*************************************************************************************************************************************!*\
22874
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
22875
- \*************************************************************************************************************************************/
22866
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
22867
+ /*!************************************************************************************************************************************!*\
22868
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
22869
+ \************************************************************************************************************************************/
22876
22870
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
22877
22871
 
22878
- var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
22872
+ var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
22879
22873
  function _unsupportedIterableToArray(o, minLen) {
22880
22874
  if (!o) return;
22881
22875
  if (typeof o === "string") return arrayLikeToArray(o, minLen);
@@ -23451,17 +23445,15 @@ describe("ITwinLocalization", () => {
23451
23445
  chai_1.assert.equal(itwinLocalization.i18next.options.defaultNS, undefined);
23452
23446
  });
23453
23447
  it("initialize with single namespace", async () => {
23454
- var _a;
23455
23448
  await itwinLocalization.initialize(["Test"]);
23456
23449
  chai_1.assert.equal(itwinLocalization.i18next.options.defaultNS, "Test");
23457
- chai_1.assert.isTrue((_a = itwinLocalization.i18next.options.ns) === null || _a === void 0 ? void 0 : _a.includes("Test"));
23450
+ chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Test"));
23458
23451
  chai_1.assert.equal(itwinLocalization.getLocalizedString("Test:FirstTrivial"), "First level string (test)");
23459
23452
  });
23460
23453
  it("initialize with two namespaces recognizes both namespaces", async () => {
23461
- var _a, _b;
23462
23454
  await itwinLocalization.initialize(["Default", "Test"]);
23463
- chai_1.assert.isTrue((_a = itwinLocalization.i18next.options.ns) === null || _a === void 0 ? void 0 : _a.includes("Default"));
23464
- chai_1.assert.isTrue((_b = itwinLocalization.i18next.options.ns) === null || _b === void 0 ? void 0 : _b.includes("Test"));
23455
+ chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Default"));
23456
+ chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Test"));
23465
23457
  chai_1.assert.equal(itwinLocalization.getLocalizedString("Default:FirstTrivial"), "First level string (default)");
23466
23458
  chai_1.assert.equal(itwinLocalization.getLocalizedString("Test:FirstTrivial"), "First level string (test)");
23467
23459
  });
@@ -23471,10 +23463,9 @@ describe("ITwinLocalization", () => {
23471
23463
  chai_1.assert.equal(itwinLocalization.getLocalizedString("FirstTrivial"), "First level string (default)");
23472
23464
  });
23473
23465
  it("initialize with duplicate namespace values does not break anything", async () => {
23474
- var _a;
23475
23466
  await itwinLocalization.initialize(["Default", "Default"]);
23476
23467
  chai_1.assert.equal(itwinLocalization.i18next.options.defaultNS, "Default");
23477
- chai_1.assert.isTrue((_a = itwinLocalization.i18next.options.ns) === null || _a === void 0 ? void 0 : _a.includes("Default"));
23468
+ chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Default"));
23478
23469
  chai_1.assert.equal(itwinLocalization.getLocalizedString("FirstTrivial"), "First level string (default)");
23479
23470
  chai_1.assert.equal(itwinLocalization.getLocalizedString("Default:FirstTrivial"), "First level string (default)");
23480
23471
  });
@@ -23500,14 +23491,12 @@ describe("ITwinLocalization", () => {
23500
23491
  chai_1.assert.equal(itwinLocalization.i18next.options.defaultNS, "Default");
23501
23492
  });
23502
23493
  it("default namespace is in list of all namespaces initalized with empty array", async () => {
23503
- var _a;
23504
23494
  await itwinLocalization.initialize([]);
23505
- chai_1.assert.isTrue((_a = itwinLocalization.i18next.options.ns) === null || _a === void 0 ? void 0 : _a.includes("Default"));
23495
+ chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Default"));
23506
23496
  });
23507
23497
  it("default namespace is in list of all namespaces", async () => {
23508
- var _a;
23509
23498
  await itwinLocalization.initialize(["Test"]);
23510
- chai_1.assert.isTrue((_a = itwinLocalization.i18next.options.ns) === null || _a === void 0 ? void 0 : _a.includes("Default"));
23499
+ chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Default"));
23511
23500
  });
23512
23501
  });
23513
23502
  });