@itwin/rpcinterface-full-stack-tests 3.4.0-dev.1 → 3.4.0-dev.7

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.
@@ -21,9 +21,9 @@
21
21
 
22
22
  /***/ }),
23
23
 
24
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.5/node_modules/@itwin/certa/lib/utils/CallbackUtils.js":
24
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.8/node_modules/@itwin/certa/lib/utils/CallbackUtils.js":
25
25
  /*!********************************************************************************************************************!*\
26
- !*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.5/node_modules/@itwin/certa/lib/utils/CallbackUtils.js ***!
26
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.8/node_modules/@itwin/certa/lib/utils/CallbackUtils.js ***!
27
27
  \********************************************************************************************************************/
28
28
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
29
29
 
@@ -2296,7 +2296,7 @@ exports.getAccessTokenFromBackend = exports.getTokenCallbackName = void 0;
2296
2296
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
2297
2297
  * See LICENSE.md in the project root for license terms and full copyright notice.
2298
2298
  *--------------------------------------------------------------------------------------------*/
2299
- const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.5/node_modules/@itwin/certa/lib/utils/CallbackUtils.js");
2299
+ const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.8/node_modules/@itwin/certa/lib/utils/CallbackUtils.js");
2300
2300
  // Shared by both the frontend and backend side of the tests
2301
2301
  exports.getTokenCallbackName = "getToken";
2302
2302
  async function getAccessTokenFromBackend(user, oidcConfig) {
@@ -21247,8 +21247,8 @@ __webpack_require__.r(__webpack_exports__);
21247
21247
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21248
21248
  /* harmony export */ "default": () => (/* binding */ Browser)
21249
21249
  /* harmony export */ });
21250
- /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
21251
- /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/createClass.js");
21250
+ /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
21251
+ /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js");
21252
21252
 
21253
21253
 
21254
21254
 
@@ -21684,10 +21684,10 @@ __webpack_require__.r(__webpack_exports__);
21684
21684
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21685
21685
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
21686
21686
  /* harmony export */ });
21687
- /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
21688
- /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/createClass.js");
21689
- /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
21690
- /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/typeof.js");
21687
+ /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
21688
+ /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js");
21689
+ /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
21690
+ /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js");
21691
21691
 
21692
21692
 
21693
21693
 
@@ -62115,20 +62115,20 @@ var AmbientOcclusion;
62115
62115
  static fromJSON(json) { return undefined !== json ? new Settings(json) : this.defaults; }
62116
62116
  toJSON() {
62117
62117
  return {
62118
- bias: this.bias,
62119
- zLengthCap: this.zLengthCap,
62120
- maxDistance: this.maxDistance,
62121
- intensity: this.intensity,
62122
- texelStepSize: this.texelStepSize,
62123
- blurDelta: this.blurDelta,
62124
- blurSigma: this.blurSigma,
62125
- blurTexelStepSize: this.blurTexelStepSize,
62118
+ bias: this.bias !== Settings._defaultBias ? this.bias : undefined,
62119
+ zLengthCap: this.zLengthCap !== Settings._defaultZLengthCap ? this.zLengthCap : undefined,
62120
+ maxDistance: this.maxDistance !== Settings._defaultMaxDistance ? this.maxDistance : undefined,
62121
+ intensity: this.intensity !== Settings._defaultIntensity ? this.intensity : undefined,
62122
+ texelStepSize: this.texelStepSize !== Settings._defaultTexelStepSize ? this.texelStepSize : undefined,
62123
+ blurDelta: this.blurDelta !== Settings._defaultBlurDelta ? this.blurDelta : undefined,
62124
+ blurSigma: this.blurSigma !== Settings._defaultBlurSigma ? this.blurSigma : undefined,
62125
+ blurTexelStepSize: this.blurTexelStepSize !== Settings._defaultBlurTexelStepSize ? this.blurTexelStepSize : undefined,
62126
62126
  };
62127
62127
  }
62128
62128
  }
62129
62129
  Settings._defaultBias = 0.25;
62130
62130
  Settings._defaultZLengthCap = 0.0025;
62131
- Settings._defaultMaxDistance = 100.0;
62131
+ Settings._defaultMaxDistance = 10000.0;
62132
62132
  Settings._defaultIntensity = 1.0;
62133
62133
  Settings._defaultTexelStepSize = 1;
62134
62134
  Settings._defaultBlurDelta = 1.0;
@@ -68933,13 +68933,12 @@ var Gradient;
68933
68933
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== imageBuffer);
68934
68934
  return imageBuffer;
68935
68935
  }
68936
- /** Applies this gradient's settings to produce a bitmap image. */
68936
+ /** Applies this gradient's settings to produce a bitmap image.
68937
+ * @param width Width of the image
68938
+ * @param height Height of the image
68939
+ * @returns Bitmap image of the specified dimensions. For thematic gradients with a width > 1, pixels in each column will be identical.
68940
+ */
68937
68941
  getImage(width, height) {
68938
- if (this.mode === Mode.Thematic) {
68939
- // Allow caller to pass in height but not width. Thematic gradients are always one-dimensional.
68940
- // NB: The height used to be hardcoded to 8192 here. Now we will let the render system decide.
68941
- width = 1; // Force width to 1 for thematic gradients.
68942
- }
68943
68942
  const thisAngle = (this.angle === undefined) ? 0 : this.angle.radians;
68944
68943
  const cosA = Math.cos(thisAngle);
68945
68944
  const sinA = Math.sin(thisAngle);
@@ -69052,25 +69051,20 @@ var Gradient;
69052
69051
  for (let j = 0; j < height; j++) {
69053
69052
  let f = 1 - j / height;
69054
69053
  let color;
69055
- if (f < _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.margin || f > _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.contentMax) {
69056
- color = settings.marginColor;
69057
- }
69058
- else {
69059
- f = (f - _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.margin) / (_ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.contentRange);
69060
- switch (settings.mode) {
69061
- case _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientMode.SteppedWithDelimiter:
69062
- case _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientMode.IsoLines:
69063
- case _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientMode.Stepped: {
69064
- if (settings.stepCount > 1) {
69065
- const fStep = Math.floor(f * settings.stepCount - 0.00001) / (settings.stepCount - 1);
69066
- color = this.mapColor(fStep);
69067
- }
69068
- break;
69054
+ f = (f - _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.margin) / (_ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.contentRange);
69055
+ switch (settings.mode) {
69056
+ case _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientMode.SteppedWithDelimiter:
69057
+ case _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientMode.IsoLines:
69058
+ case _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientMode.Stepped: {
69059
+ if (settings.stepCount > 1) {
69060
+ const fStep = Math.floor(f * settings.stepCount - 0.00001) / (settings.stepCount - 1);
69061
+ color = this.mapColor(fStep);
69069
69062
  }
69070
- case _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientMode.Smooth:
69071
- color = this.mapColor(f);
69072
- break;
69063
+ break;
69073
69064
  }
69065
+ case _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientMode.Smooth:
69066
+ color = this.mapColor(f);
69067
+ break;
69074
69068
  }
69075
69069
  for (let i = 0; i < width; i++) {
69076
69070
  image[currentIdx--] = color.getAlpha();
@@ -87120,6 +87114,7 @@ class IModelReadRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_2__.
87120
87114
  ===========================================================================================*/
87121
87115
  async getConnectionProps(_iModelToken) { return this.forward(arguments); }
87122
87116
  async queryRows(_iModelToken, _request) { return this.forward(arguments); }
87117
+ async querySubCategories(_iModelToken, _categoryIds) { return this.forward(arguments); }
87123
87118
  async queryBlob(_iModelToken, _request) { return this.forward(arguments); }
87124
87119
  async getModelProps(_iModelToken, _modelIds) { return this.forward(arguments); }
87125
87120
  async queryModelRanges(_iModelToken, _modelIds) { return this.forward(arguments); }
@@ -87157,6 +87152,9 @@ IModelReadRpcInterface.interfaceVersion = "3.2.0";
87157
87152
  __decorate([
87158
87153
  _core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcResponseCacheControl.Immutable)
87159
87154
  ], IModelReadRpcInterface.prototype, "getConnectionProps", null);
87155
+ __decorate([
87156
+ _core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcResponseCacheControl.Immutable)
87157
+ ], IModelReadRpcInterface.prototype, "querySubCategories", null);
87160
87158
  __decorate([
87161
87159
  _core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcResponseCacheControl.Immutable)
87162
87160
  ], IModelReadRpcInterface.prototype, "getModelProps", null);
@@ -103475,6 +103473,15 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
103475
103473
  };
103476
103474
  return new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ECSqlReader(executor, ecsql, params, config);
103477
103475
  }
103476
+ /**
103477
+ * queries the BisCore.SubCategory table for the entries that are children of the passed categoryIds
103478
+ * @param compressedCategoryIds compressed category Ids
103479
+ * @returns array of SubCategoryResultRow
103480
+ * @internal
103481
+ */
103482
+ async querySubCategories(compressedCategoryIds) {
103483
+ return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).querySubCategories(this.getRpcProps(), compressedCategoryIds);
103484
+ }
103478
103485
  /** Execute a query and stream its results
103479
103486
  * The result of the query is async iterator over the rows. The iterator will get next page automatically once rows in current page has been read.
103480
103487
  * [ECSQL row]($docs/learning/ECSQLRowFormat).
@@ -106669,29 +106676,73 @@ class PerModelCategoryVisibilityOverrides extends _itwin_core_bentley__WEBPACK_I
106669
106676
  else
106670
106677
  return PerModelCategoryVisibility.Override.None;
106671
106678
  }
106672
- setOverride(modelIds, categoryIds, override) {
106679
+ /**
106680
+ * set the overrides for multiple perModelCategoryVisibility props, loading categoryIds from the iModel if necessary.
106681
+ * @see [[PerModelCategoryVisibility]]
106682
+ * @param perModelCategoryVisibility array of model category visibility overrides @see [[PerModelCategoryVisibility.Props]]
106683
+ * @param iModel Optional param iModel. If no iModel is provided, then the iModel associated with the viewport (used to construct this class) is used.
106684
+ * This optional iModel param is useful for apps which may show multiple iModels at once. Passing in an iModel ensures that the subcategories cache for the provided iModel
106685
+ * is populated as opposed to the iModel associated with the viewport which may or may not be an empty iModel.
106686
+ * @returns a promise that resolves once the overrides have been applied.
106687
+ */
106688
+ async setOverrides(perModelCategoryVisibility, iModel) {
106689
+ let anyChanged = false;
106690
+ const catIdsToLoad = [];
106691
+ const iModelToUse = iModel ? iModel : this._vp.iModel;
106692
+ for (const override of perModelCategoryVisibility) {
106693
+ const modelId = override.modelId;
106694
+ // The caller may pass a single categoryId as a string, if we don't convert this to an array we will iterate
106695
+ // over each individual character of that string, which is not the desired behavior.
106696
+ const categoryIds = typeof override.categoryIds === "string" ? [override.categoryIds] : override.categoryIds;
106697
+ const visOverride = override.visOverride;
106698
+ for (const categoryId of categoryIds) {
106699
+ if (this.findAndUpdateOverrideInArray(modelId, categoryId, visOverride)) {
106700
+ anyChanged = true;
106701
+ if (PerModelCategoryVisibility.Override.None !== visOverride) {
106702
+ catIdsToLoad.push(categoryId);
106703
+ }
106704
+ }
106705
+ }
106706
+ }
106707
+ if (anyChanged) {
106708
+ this._vp.setViewedCategoriesPerModelChanged();
106709
+ if (catIdsToLoad.length !== 0) {
106710
+ this._vp.subcategories.push(iModelToUse.subcategories, catIdsToLoad, () => this._vp.setViewedCategoriesPerModelChanged());
106711
+ }
106712
+ }
106713
+ return;
106714
+ }
106715
+ /** Find and update the override in the array of overrides. If override not found, adds it to the array.
106716
+ * If the array was changed, returns true. */
106717
+ findAndUpdateOverrideInArray(modelId, categoryId, override) {
106673
106718
  const ovr = this._scratch;
106719
+ ovr.reset(modelId, categoryId, false);
106720
+ let changed = false;
106721
+ const index = this.indexOf(ovr);
106722
+ if (-1 === index) {
106723
+ if (PerModelCategoryVisibility.Override.None !== override) {
106724
+ this.insert(new PerModelCategoryVisibilityOverride(modelId, categoryId, PerModelCategoryVisibility.Override.Show === override));
106725
+ changed = true;
106726
+ }
106727
+ }
106728
+ else {
106729
+ if (PerModelCategoryVisibility.Override.None === override) {
106730
+ this._array.splice(index, 1);
106731
+ changed = true;
106732
+ }
106733
+ else if (this._array[index].visible !== (PerModelCategoryVisibility.Override.Show === override)) {
106734
+ this._array[index].visible = (PerModelCategoryVisibility.Override.Show === override);
106735
+ changed = true;
106736
+ }
106737
+ }
106738
+ return changed;
106739
+ }
106740
+ setOverride(modelIds, categoryIds, override) {
106674
106741
  let changed = false;
106675
106742
  for (const modelId of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(modelIds)) {
106676
106743
  for (const categoryId of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(categoryIds)) {
106677
- ovr.reset(modelId, categoryId, false);
106678
- const index = this.indexOf(ovr);
106679
- if (-1 === index) {
106680
- if (PerModelCategoryVisibility.Override.None !== override) {
106681
- this.insert(new PerModelCategoryVisibilityOverride(modelId, categoryId, PerModelCategoryVisibility.Override.Show === override));
106682
- changed = true;
106683
- }
106684
- }
106685
- else {
106686
- if (PerModelCategoryVisibility.Override.None === override) {
106687
- this._array.splice(index, 1);
106688
- changed = true;
106689
- }
106690
- else if (this._array[index].visible !== (PerModelCategoryVisibility.Override.Show === override)) {
106691
- this._array[index].visible = (PerModelCategoryVisibility.Override.Show === override);
106692
- changed = true;
106693
- }
106694
- }
106744
+ if (this.findAndUpdateOverrideInArray(modelId, categoryId, override))
106745
+ changed = true;
106695
106746
  }
106696
106747
  }
106697
106748
  if (changed) {
@@ -109311,29 +109362,6 @@ class SubCategoriesCache {
109311
109362
  cancel: () => request.cancel(),
109312
109363
  };
109313
109364
  }
109314
- /**
109315
- * Populates the notLoadedCategoryIds property of the HydrateViewStateRequestProps.
109316
- * notLoadedCategoryIds is a subset of categoryIds, filtering out any ids which already have an entry in the cache.
109317
- */
109318
- preload(options, categoryIds) {
109319
- const missing = this.getMissing(categoryIds);
109320
- if (undefined === missing)
109321
- return;
109322
- this._missingAtTimeOfPreload = missing;
109323
- options.notLoadedCategoryIds = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.CompressedId64Set.sortAndCompress(missing);
109324
- }
109325
- /**
109326
- * Populates the SubCategoriesCache using the categoryIdsResult of the HydrateViewStateResponseProps
109327
- */
109328
- postload(options) {
109329
- if (options.categoryIdsResult === undefined)
109330
- return;
109331
- // missingAtTimeOfPreload shouldn't be undefined if options.categoryIdsResult is defined... but just to be safe we'll check
109332
- const missing = this._missingAtTimeOfPreload === undefined ? new Set() : this._missingAtTimeOfPreload;
109333
- this.processResults(options.categoryIdsResult, missing);
109334
- // clear missing
109335
- this._missingAtTimeOfPreload = undefined;
109336
- }
109337
109365
  /** Given categoryIds, return which of these are not cached. */
109338
109366
  getMissing(categoryIds) {
109339
109367
  let missing;
@@ -109415,38 +109443,38 @@ class SubCategoriesCache {
109415
109443
  (function (SubCategoriesCache) {
109416
109444
  class Request {
109417
109445
  constructor(categoryIds, imodel, maxCategoriesPerQuery = 200) {
109418
- this._ecsql = [];
109446
+ this._categoryIds = [];
109419
109447
  this._result = [];
109420
109448
  this._canceled = false;
109421
- this._curECSqlIndex = 0;
109449
+ this._curCategoryIdsIndex = 0;
109422
109450
  this._imodel = imodel;
109423
109451
  const catIds = [...categoryIds];
109452
+ _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.OrderedId64Iterable.sortArray(catIds); // sort categories, so that given the same set of categoryIds we will always create the same batches.
109424
109453
  while (catIds.length !== 0) {
109425
109454
  const end = (catIds.length > maxCategoriesPerQuery) ? maxCategoriesPerQuery : catIds.length;
109426
- const where = catIds.splice(0, end).join(",");
109427
- this._ecsql.push(`SELECT ECInstanceId as id, Parent.Id as parentId, Properties as appearance FROM BisCore.SubCategory WHERE Parent.Id IN (${where})`);
109455
+ const compressedIds = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.CompressedId64Set.compressArray(catIds.splice(0, end));
109456
+ this._categoryIds.push(compressedIds);
109428
109457
  }
109429
109458
  }
109430
109459
  get wasCanceled() { return this._canceled || this._imodel.isClosed; }
109431
109460
  cancel() { this._canceled = true; }
109432
109461
  async dispatch() {
109433
- if (this.wasCanceled || this._curECSqlIndex >= this._ecsql.length) // handle case of empty category Id set...
109462
+ if (this.wasCanceled || this._curCategoryIdsIndex >= this._categoryIds.length) // handle case of empty category Id set...
109434
109463
  return undefined;
109435
109464
  try {
109436
- const ecsql = this._ecsql[this._curECSqlIndex];
109437
- for await (const row of this._imodel.query(ecsql, undefined, { rowFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.QueryRowFormat.UseJsPropertyNames })) {
109438
- this._result.push(row);
109439
- if (this.wasCanceled)
109440
- return undefined;
109441
- }
109465
+ const catIds = this._categoryIds[this._curCategoryIdsIndex];
109466
+ const result = await this._imodel.querySubCategories(catIds);
109467
+ this._result.push(...result);
109468
+ if (this.wasCanceled)
109469
+ return undefined;
109442
109470
  }
109443
109471
  catch {
109444
109472
  // ###TODO: detect cases in which retry is warranted
109445
109473
  // Note that currently, if we succeed in obtaining some pages of results and fail to retrieve another page, we will end up processing the
109446
109474
  // incomplete results. Since we're not retrying, that's the best we can do.
109447
109475
  }
109448
- // Finished with current ECSql query. Dispatch the next if one exists.
109449
- if (++this._curECSqlIndex < this._ecsql.length) {
109476
+ // Finished with current batch of categoryIds. Dispatch the next batch if one exists.
109477
+ if (++this._curCategoryIdsIndex < this._categoryIds.length) {
109450
109478
  if (this.wasCanceled)
109451
109479
  return undefined;
109452
109480
  else
@@ -109521,7 +109549,7 @@ class SubCategoriesCache {
109521
109549
  this._request.promise.then((completed) => {
109522
109550
  if (this._disposed)
109523
109551
  return;
109524
- // Invoke all the functions which were awaiting this set of categories.
109552
+ // Invoke all the functions which were awaiting this set of IModelConnection.Categories.
109525
109553
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== this._current);
109526
109554
  if (completed)
109527
109555
  for (const func of this._current.funcs)
@@ -112094,7 +112122,6 @@ class ViewState extends _EntityState__WEBPACK_IMPORTED_MODULE_5__.ElementState {
112094
112122
  const acsId = this.getAuxiliaryCoordinateSystemId();
112095
112123
  if (_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.isValid(acsId))
112096
112124
  hydrateRequest.acsId = acsId;
112097
- this.iModel.subcategories.preload(hydrateRequest, this.categorySelector.categories);
112098
112125
  }
112099
112126
  /** Asynchronously load any required data for this ViewState from the backend.
112100
112127
  * FINAL, No subclass should override load. If additional load behavior is needed, see preload and postload.
@@ -112109,15 +112136,16 @@ class ViewState extends _EntityState__WEBPACK_IMPORTED_MODULE_5__.ElementState {
112109
112136
  const hydrateRequest = {};
112110
112137
  this.preload(hydrateRequest);
112111
112138
  const promises = [
112112
- _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.IModelReadRpcInterface.getClientForRouting(this.iModel.routingContext.token).hydrateViewState(this.iModel.getRpcProps(), hydrateRequest),
112139
+ _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.IModelReadRpcInterface.getClientForRouting(this.iModel.routingContext.token).hydrateViewState(this.iModel.getRpcProps(), hydrateRequest).
112140
+ then(async (hydrateResponse) => this.postload(hydrateResponse)),
112113
112141
  this.displayStyle.load(),
112114
112142
  ];
112115
- const result = await Promise.all(promises);
112116
- const hydrateResponse = result[0];
112117
- await this.postload(hydrateResponse);
112143
+ const subcategories = this.iModel.subcategories.load(this.categorySelector.categories);
112144
+ if (undefined !== subcategories)
112145
+ promises.push(subcategories.promise.then((_) => { }));
112146
+ await Promise.all(promises);
112118
112147
  }
112119
112148
  async postload(hydrateResponse) {
112120
- this.iModel.subcategories.postload(hydrateResponse);
112121
112149
  if (hydrateResponse.acsElementProps)
112122
112150
  this._auxCoordSystem = _AuxCoordSys__WEBPACK_IMPORTED_MODULE_3__.AuxCoordSystemState.fromProps(hydrateResponse.acsElementProps, this.iModel);
112123
112151
  }
@@ -147767,7 +147795,7 @@ const computeAmbientOcclusion = `
147767
147795
  float bias = u_hbaoSettings.x; // Represents an angle in radians. If the dot product between the normal of the sample and the vector to the camera is less than this value, sampling stops in the current direction. This is used to remove shadows from near planar edges.
147768
147796
  float zLengthCap = u_hbaoSettings.y; // If the distance in linear Z from the current sample to first sample is greater than this value, sampling stops in the current direction.
147769
147797
  float intensity = u_hbaoSettings.z; // Raise the final occlusion to the power of this value. Larger values make the ambient shadows darker.
147770
- float texelStepSize = u_hbaoSettings.w; // Indicates the distance to step toward the next texel sample in the current direction.
147798
+ float texelStepSize = clamp(u_hbaoSettings.w * linearDepth, 1.0, u_hbaoSettings.w); // Indicates the distance to step toward the next texel sample in the current direction.
147771
147799
 
147772
147800
  float tOcclusion = 0.0;
147773
147801
 
@@ -147812,6 +147840,9 @@ const computeAmbientOcclusion = `
147812
147840
  tOcclusion += curOcclusion;
147813
147841
  }
147814
147842
 
147843
+ float distanceFadeFactor = kFrustumType_Perspective == u_frustum.z ? 1.0 - pow(clamp(nonLinearDepth / u_maxDistance, 0.0, 1.0), 4.0) : 1.0;
147844
+ tOcclusion *= distanceFadeFactor;
147845
+
147815
147846
  tOcclusion /= 4.0;
147816
147847
  tOcclusion = 1.0 - clamp(tOcclusion, 0.0, 1.0);
147817
147848
  tOcclusion = pow(tOcclusion, intensity);
@@ -157717,7 +157748,7 @@ class GltfReader {
157717
157748
  if (dracoMeshes.length === 0)
157718
157749
  return;
157719
157750
  try {
157720
- const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_5_node_modules_loaders_gl_draco_di-e0b0bc"), __webpack_require__.e("_c41d")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.5/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
157751
+ const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_6_node_modules_loaders_gl_draco_di-b6a763"), __webpack_require__.e("_b43d")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.6/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
157721
157752
  await Promise.all(dracoMeshes.map(async (x) => this.decodeDracoMesh(x, dracoLoader)));
157722
157753
  }
157723
157754
  catch (err) {
@@ -160844,7 +160875,7 @@ function readPnts(stream, dataOffset, pnts) {
160844
160875
  async function decodeDracoPointCloud(buf) {
160845
160876
  var _a, _b, _c, _d, _e, _f;
160846
160877
  try {
160847
- const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_5_node_modules_loaders_gl_draco_di-e0b0bc"), __webpack_require__.e("_c41d")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.5/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
160878
+ const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_6_node_modules_loaders_gl_draco_di-b6a763"), __webpack_require__.e("_b43d")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.6/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
160848
160879
  const mesh = await dracoLoader.parse(buf, {});
160849
160880
  if (mesh.topology !== "point-list")
160850
160881
  return undefined;
@@ -188144,17 +188175,17 @@ class BSplineCurve3dBase extends _curve_CurvePrimitive__WEBPACK_IMPORTED_MODULE_
188144
188175
  * @returns Returns a CurveLocationDetail structure that holds the details of the close point.
188145
188176
  */
188146
188177
  closestPoint(spacePoint, _extend) {
188178
+ // seed at start point -- final point comes with final bezier perpendicular step.
188147
188179
  const point = this.fractionToPoint(0);
188148
188180
  const result = _curve_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveLocationDetail.createCurveFractionPointDistance(this, 0.0, point, point.distance(spacePoint));
188149
- this.fractionToPoint(1.0, point);
188150
- result.updateIfCloserCurveFractionPointDistance(this, 1.0, point, spacePoint.distance(point));
188151
188181
  let span;
188152
188182
  const numSpans = this.numSpan;
188153
188183
  for (let i = 0; i < numSpans; i++) {
188154
188184
  if (this._bcurve.knots.isIndexOfRealSpan(i)) {
188155
188185
  span = this.getSaturatedBezierSpan3dOr3dH(i, true, span);
188156
188186
  if (span) {
188157
- if (span.updateClosestPointByTruePerpendicular(spacePoint, result)) {
188187
+ // umm ... if the bspline is discontinuous, both ends should be tested. Ignore that possibility ...
188188
+ if (span.updateClosestPointByTruePerpendicular(spacePoint, result, false, true)) {
188158
188189
  // the detail records the span bezier -- promote it to the parent curve . ..
188159
188190
  result.curve = this;
188160
188191
  result.fraction = span.fractionToParentFraction(result.fraction);
@@ -191604,7 +191635,7 @@ class BezierCurve3dH extends _BezierCurveBase__WEBPACK_IMPORTED_MODULE_0__.Bezie
191604
191635
  * @param detail pre-allocated detail to record (evolving) closest point.
191605
191636
  * @returns true if an updated occurred, false if either (a) no perpendicular projections or (b) perpendiculars were not closer.
191606
191637
  */
191607
- updateClosestPointByTruePerpendicular(spacePoint, detail) {
191638
+ updateClosestPointByTruePerpendicular(spacePoint, detail, testAt0 = false, testAt1 = false) {
191608
191639
  let numUpdates = 0;
191609
191640
  let roots;
191610
191641
  if (this.isUnitWeight()) {
@@ -191656,8 +191687,17 @@ class BezierCurve3dH extends _BezierCurveBase__WEBPACK_IMPORTED_MODULE_0__.Bezie
191656
191687
  numUpdates += detail.updateIfCloserCurveFractionPointDistance(this, fraction, xyz, a) ? 1 : 0;
191657
191688
  }
191658
191689
  }
191690
+ if (testAt0)
191691
+ numUpdates += this.updateDetailAtFraction(detail, 0.0, spacePoint) ? 1 : 0;
191692
+ if (testAt1)
191693
+ numUpdates += this.updateDetailAtFraction(detail, 1.0, spacePoint) ? 1 : 0;
191659
191694
  return numUpdates > 0;
191660
191695
  }
191696
+ updateDetailAtFraction(detail, fraction, spacePoint) {
191697
+ const xyz = this.fractionToPoint(fraction);
191698
+ const a = xyz.distance(spacePoint);
191699
+ return detail.updateIfCloserCurveFractionPointDistance(this, fraction, xyz, a);
191700
+ }
191661
191701
  /** Extend `rangeToExtend`, using candidate extrema at
191662
191702
  * * both end points
191663
191703
  * * any internal extrema in x,y,z
@@ -200354,6 +200394,7 @@ class CurveChainWithDistanceIndex extends _curve_CurvePrimitive__WEBPACK_IMPORTE
200354
200394
  const chainFraction = this.chainDistanceToChainFraction(chainDistance);
200355
200395
  const chainDetail = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_7__.CurveLocationDetail.createCurveFractionPoint(this, chainFraction, childDetail.point);
200356
200396
  chainDetail.childDetail = childDetail;
200397
+ chainDetail.a = childDetail.a;
200357
200398
  return chainDetail;
200358
200399
  }
200359
200400
  return undefined;
@@ -265661,7 +265702,7 @@ __webpack_require__.r(__webpack_exports__);
265661
265702
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
265662
265703
  /* harmony export */ "ITwinLocalization": () => (/* binding */ ITwinLocalization)
265663
265704
  /* harmony export */ });
265664
- /* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.8.14/node_modules/i18next/dist/esm/i18next.js");
265705
+ /* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.9.0/node_modules/i18next/dist/esm/i18next.js");
265665
265706
  /* harmony import */ var i18next_browser_languagedetector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.4/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js");
265666
265707
  /* harmony import */ var i18next_xhr_backend__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! i18next-xhr-backend */ "../../common/temp/node_modules/.pnpm/i18next-xhr-backend@3.2.2/node_modules/i18next-xhr-backend/dist/esm/i18nextXHRBackend.js");
265667
265708
  /* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
@@ -287059,7 +287100,7 @@ class TestContext {
287059
287100
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
287060
287101
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${(_a = process.env.IMJS_URL_PREFIX) !== null && _a !== void 0 ? _a : ""}api.bentley.com/imodels` } });
287061
287102
  await core_frontend_1.NoRenderApp.startup({
287062
- applicationVersion: "3.4.0-dev.1",
287103
+ applicationVersion: "3.4.0-dev.7",
287063
287104
  applicationId: this.settings.gprid,
287064
287105
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
287065
287106
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
@@ -302311,9 +302352,9 @@ const gBase64 = {
302311
302352
 
302312
302353
  /***/ }),
302313
302354
 
302314
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
302355
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
302315
302356
  /*!******************************************************************************************************************************!*\
302316
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
302357
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
302317
302358
  \******************************************************************************************************************************/
302318
302359
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302319
302360
 
@@ -302334,9 +302375,9 @@ function _arrayLikeToArray(arr, len) {
302334
302375
 
302335
302376
  /***/ }),
302336
302377
 
302337
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
302378
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
302338
302379
  /*!****************************************************************************************************************************!*\
302339
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
302380
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
302340
302381
  \****************************************************************************************************************************/
302341
302382
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302342
302383
 
@@ -302351,9 +302392,9 @@ function _arrayWithHoles(arr) {
302351
302392
 
302352
302393
  /***/ }),
302353
302394
 
302354
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
302395
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
302355
302396
  /*!***********************************************************************************************************************************!*\
302356
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
302397
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
302357
302398
  \***********************************************************************************************************************************/
302358
302399
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302359
302400
 
@@ -302372,9 +302413,9 @@ function _assertThisInitialized(self) {
302372
302413
 
302373
302414
  /***/ }),
302374
302415
 
302375
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
302416
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
302376
302417
  /*!****************************************************************************************************************************!*\
302377
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
302418
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
302378
302419
  \****************************************************************************************************************************/
302379
302420
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302380
302421
 
@@ -302391,9 +302432,9 @@ function _classCallCheck(instance, Constructor) {
302391
302432
 
302392
302433
  /***/ }),
302393
302434
 
302394
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/createClass.js":
302435
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js":
302395
302436
  /*!*************************************************************************************************************************!*\
302396
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
302437
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
302397
302438
  \*************************************************************************************************************************/
302398
302439
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302399
302440
 
@@ -302423,9 +302464,9 @@ function _createClass(Constructor, protoProps, staticProps) {
302423
302464
 
302424
302465
  /***/ }),
302425
302466
 
302426
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
302467
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
302427
302468
  /*!****************************************************************************************************************************!*\
302428
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
302469
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
302429
302470
  \****************************************************************************************************************************/
302430
302471
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302431
302472
 
@@ -302451,9 +302492,9 @@ function _defineProperty(obj, key, value) {
302451
302492
 
302452
302493
  /***/ }),
302453
302494
 
302454
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
302495
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
302455
302496
  /*!****************************************************************************************************************************!*\
302456
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
302497
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
302457
302498
  \****************************************************************************************************************************/
302458
302499
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302459
302500
 
@@ -302471,9 +302512,9 @@ function _getPrototypeOf(o) {
302471
302512
 
302472
302513
  /***/ }),
302473
302514
 
302474
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/inherits.js":
302515
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js":
302475
302516
  /*!**********************************************************************************************************************!*\
302476
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
302517
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
302477
302518
  \**********************************************************************************************************************/
302478
302519
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302479
302520
 
@@ -302482,7 +302523,7 @@ __webpack_require__.r(__webpack_exports__);
302482
302523
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
302483
302524
  /* harmony export */ "default": () => (/* binding */ _inherits)
302484
302525
  /* harmony export */ });
302485
- /* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
302526
+ /* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
302486
302527
 
302487
302528
  function _inherits(subClass, superClass) {
302488
302529
  if (typeof superClass !== "function" && superClass !== null) {
@@ -302504,9 +302545,9 @@ function _inherits(subClass, superClass) {
302504
302545
 
302505
302546
  /***/ }),
302506
302547
 
302507
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
302548
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
302508
302549
  /*!*****************************************************************************************************************************!*\
302509
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
302550
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
302510
302551
  \*****************************************************************************************************************************/
302511
302552
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302512
302553
 
@@ -302521,9 +302562,9 @@ function _iterableToArray(iter) {
302521
302562
 
302522
302563
  /***/ }),
302523
302564
 
302524
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
302565
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
302525
302566
  /*!*****************************************************************************************************************************!*\
302526
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
302567
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
302527
302568
  \*****************************************************************************************************************************/
302528
302569
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302529
302570
 
@@ -302538,9 +302579,9 @@ function _nonIterableRest() {
302538
302579
 
302539
302580
  /***/ }),
302540
302581
 
302541
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
302582
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
302542
302583
  /*!***************************************************************************************************************************************!*\
302543
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
302584
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
302544
302585
  \***************************************************************************************************************************************/
302545
302586
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302546
302587
 
@@ -302549,8 +302590,8 @@ __webpack_require__.r(__webpack_exports__);
302549
302590
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
302550
302591
  /* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
302551
302592
  /* harmony export */ });
302552
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/typeof.js");
302553
- /* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
302593
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js");
302594
+ /* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
302554
302595
 
302555
302596
 
302556
302597
  function _possibleConstructorReturn(self, call) {
@@ -302565,9 +302606,9 @@ function _possibleConstructorReturn(self, call) {
302565
302606
 
302566
302607
  /***/ }),
302567
302608
 
302568
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
302609
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
302569
302610
  /*!****************************************************************************************************************************!*\
302570
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
302611
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
302571
302612
  \****************************************************************************************************************************/
302572
302613
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302573
302614
 
@@ -302586,9 +302627,9 @@ function _setPrototypeOf(o, p) {
302586
302627
 
302587
302628
  /***/ }),
302588
302629
 
302589
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/toArray.js":
302630
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js":
302590
302631
  /*!*********************************************************************************************************************!*\
302591
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
302632
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
302592
302633
  \*********************************************************************************************************************/
302593
302634
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302594
302635
 
@@ -302597,10 +302638,10 @@ __webpack_require__.r(__webpack_exports__);
302597
302638
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
302598
302639
  /* harmony export */ "default": () => (/* binding */ _toArray)
302599
302640
  /* harmony export */ });
302600
- /* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
302601
- /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
302602
- /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
302603
- /* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
302641
+ /* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
302642
+ /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
302643
+ /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
302644
+ /* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
302604
302645
 
302605
302646
 
302606
302647
 
@@ -302611,9 +302652,9 @@ function _toArray(arr) {
302611
302652
 
302612
302653
  /***/ }),
302613
302654
 
302614
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/typeof.js":
302655
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js":
302615
302656
  /*!********************************************************************************************************************!*\
302616
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
302657
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
302617
302658
  \********************************************************************************************************************/
302618
302659
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302619
302660
 
@@ -302634,9 +302675,9 @@ function _typeof(obj) {
302634
302675
 
302635
302676
  /***/ }),
302636
302677
 
302637
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
302678
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
302638
302679
  /*!****************************************************************************************************************************************!*\
302639
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
302680
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
302640
302681
  \****************************************************************************************************************************************/
302641
302682
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302642
302683
 
@@ -302645,7 +302686,7 @@ __webpack_require__.r(__webpack_exports__);
302645
302686
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
302646
302687
  /* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
302647
302688
  /* harmony export */ });
302648
- /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
302689
+ /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
302649
302690
 
302650
302691
  function _unsupportedIterableToArray(o, minLen) {
302651
302692
  if (!o) return;
@@ -302658,10 +302699,10 @@ function _unsupportedIterableToArray(o, minLen) {
302658
302699
 
302659
302700
  /***/ }),
302660
302701
 
302661
- /***/ "../../common/temp/node_modules/.pnpm/i18next@21.8.14/node_modules/i18next/dist/esm/i18next.js":
302662
- /*!*****************************************************************************************************!*\
302663
- !*** ../../common/temp/node_modules/.pnpm/i18next@21.8.14/node_modules/i18next/dist/esm/i18next.js ***!
302664
- \*****************************************************************************************************/
302702
+ /***/ "../../common/temp/node_modules/.pnpm/i18next@21.9.0/node_modules/i18next/dist/esm/i18next.js":
302703
+ /*!****************************************************************************************************!*\
302704
+ !*** ../../common/temp/node_modules/.pnpm/i18next@21.9.0/node_modules/i18next/dist/esm/i18next.js ***!
302705
+ \****************************************************************************************************/
302665
302706
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302666
302707
 
302667
302708
  "use strict";
@@ -302682,15 +302723,15 @@ __webpack_require__.r(__webpack_exports__);
302682
302723
  /* harmony export */ "t": () => (/* binding */ t),
302683
302724
  /* harmony export */ "use": () => (/* binding */ use)
302684
302725
  /* harmony export */ });
302685
- /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/typeof.js");
302686
- /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
302687
- /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/createClass.js");
302688
- /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
302689
- /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/inherits.js");
302690
- /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
302691
- /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
302692
- /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
302693
- /* harmony import */ var _babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/toArray.js");
302726
+ /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js");
302727
+ /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
302728
+ /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js");
302729
+ /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
302730
+ /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js");
302731
+ /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
302732
+ /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
302733
+ /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
302734
+ /* harmony import */ var _babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js");
302694
302735
 
302695
302736
 
302696
302737
 
@@ -304562,6 +304603,8 @@ var Connector = function (_EventEmitter) {
304562
304603
  _this.waitingReads = [];
304563
304604
  _this.maxParallelReads = options.maxParallelReads || 10;
304564
304605
  _this.readingCalls = 0;
304606
+ _this.maxRetries = options.maxRetries >= 0 ? options.maxRetries : 5;
304607
+ _this.retryTimeout = options.retryTimeout >= 1 ? options.retryTimeout : 350;
304565
304608
  _this.state = {};
304566
304609
  _this.queue = [];
304567
304610
 
@@ -304668,7 +304711,7 @@ var Connector = function (_EventEmitter) {
304668
304711
  var _this3 = this;
304669
304712
 
304670
304713
  var tried = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
304671
- var wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 350;
304714
+ var wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : this.retryTimeout;
304672
304715
  var callback = arguments.length > 5 ? arguments[5] : undefined;
304673
304716
  if (!lng.length) return callback(null, {});
304674
304717
 
@@ -304686,13 +304729,6 @@ var Connector = function (_EventEmitter) {
304686
304729
 
304687
304730
  this.readingCalls++;
304688
304731
  return this.backend[fcName](lng, ns, function (err, data) {
304689
- if (err && data && tried < 5) {
304690
- setTimeout(function () {
304691
- _this3.read.call(_this3, lng, ns, fcName, tried + 1, wait * 2, callback);
304692
- }, wait);
304693
- return;
304694
- }
304695
-
304696
304732
  _this3.readingCalls--;
304697
304733
 
304698
304734
  if (_this3.waitingReads.length > 0) {
@@ -304701,6 +304737,13 @@ var Connector = function (_EventEmitter) {
304701
304737
  _this3.read(next.lng, next.ns, next.fcName, next.tried, next.wait, next.callback);
304702
304738
  }
304703
304739
 
304740
+ if (err && data && tried < _this3.maxRetries) {
304741
+ setTimeout(function () {
304742
+ _this3.read.call(_this3, lng, ns, fcName, tried + 1, wait * 2, callback);
304743
+ }, wait);
304744
+ return;
304745
+ }
304746
+
304704
304747
  callback(err, data);
304705
304748
  });
304706
304749
  }
@@ -305516,7 +305559,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
305516
305559
  /***/ ((module) => {
305517
305560
 
305518
305561
  "use strict";
305519
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.1","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs","build:ci":"npm run -s build && npm run -s build:esm","build:cjs":"tsc 1>&2 --outDir lib/cjs","build:esm":"tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-eslintrc -c \\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\" \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^3.4.0-dev.1","@itwin/core-bentley":"workspace:^3.4.0-dev.1","@itwin/core-common":"workspace:^3.4.0-dev.1","@itwin/core-geometry":"workspace:^3.4.0-dev.1","@itwin/core-orbitgt":"workspace:^3.4.0-dev.1","@itwin/core-quantity":"workspace:^3.4.0-dev.1","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.1"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/certa":"workspace:*","@itwin/eslint-plugin":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/deep-assign":"^0.1.0","@types/lodash":"^4.14.0","@types/mocha":"^8.2.2","@types/node":"16.11.7","@types/qs":"^6.5.0","@types/semver":"^7.3.9","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^7.11.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^9.0.2","source-map-loader":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","deep-assign":"^2.0.0","fuse.js":"^3.3.0","lodash":"^4.17.10","qs":"^6.5.1","semver":"^7.3.5","superagent":"7.1.3","wms-capabilities":"0.4.0","xml-js":"~1.6.11"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"},"eslintConfig":{"plugins":["@itwin"],"extends":"plugin:@itwin/itwinjs-recommended","rules":{"@itwin/no-internal-barrel-imports":["error",{"required-barrel-modules":["./src/tile/internal.ts"]}],"@itwin/public-extension-exports":["error",{"releaseTags":["public","preview"],"outputApiFile":false}]},"overrides":[{"files":["*.test.ts","*.test.tsx","**/test/**/*.ts"],"rules":{"@itwin/no-internal-barrel-imports":"off"}}]}}');
305562
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.7","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs","build:ci":"npm run -s build && npm run -s build:esm","build:cjs":"tsc 1>&2 --outDir lib/cjs","build:esm":"tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-eslintrc -c \\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\" \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^3.4.0-dev.7","@itwin/core-bentley":"workspace:^3.4.0-dev.7","@itwin/core-common":"workspace:^3.4.0-dev.7","@itwin/core-geometry":"workspace:^3.4.0-dev.7","@itwin/core-orbitgt":"workspace:^3.4.0-dev.7","@itwin/core-quantity":"workspace:^3.4.0-dev.7","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.7"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/certa":"workspace:*","@itwin/eslint-plugin":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/deep-assign":"^0.1.0","@types/lodash":"^4.14.0","@types/mocha":"^8.2.2","@types/node":"16.11.7","@types/qs":"^6.5.0","@types/semver":"^7.3.9","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^7.11.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^9.0.2","source-map-loader":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","deep-assign":"^2.0.0","fuse.js":"^3.3.0","lodash":"^4.17.10","qs":"^6.5.1","semver":"^7.3.5","superagent":"7.1.3","wms-capabilities":"0.4.0","xml-js":"~1.6.11"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"},"eslintConfig":{"plugins":["@itwin"],"extends":"plugin:@itwin/itwinjs-recommended","rules":{"@itwin/no-internal-barrel-imports":["error",{"required-barrel-modules":["./src/tile/internal.ts"]}],"@itwin/public-extension-exports":["error",{"releaseTags":["public","preview"],"outputApiFile":false}]},"overrides":[{"files":["*.test.ts","*.test.tsx","**/test/**/*.ts"],"rules":{"@itwin/no-internal-barrel-imports":"off"}}]}}');
305520
305563
 
305521
305564
  /***/ }),
305522
305565