@itwin/ecschema-rpcinterface-tests 3.4.0-dev.2 → 3.4.0-dev.20

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) {
@@ -20899,9 +20899,9 @@ module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
20899
20899
 
20900
20900
  /***/ }),
20901
20901
 
20902
- /***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.4/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js":
20902
+ /***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.5/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js":
20903
20903
  /*!****************************************************************************************************************************************************************************!*\
20904
- !*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.4/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js ***!
20904
+ !*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.5/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js ***!
20905
20905
  \****************************************************************************************************************************************************************************/
20906
20906
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
20907
20907
 
@@ -20910,8 +20910,8 @@ __webpack_require__.r(__webpack_exports__);
20910
20910
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20911
20911
  /* harmony export */ "default": () => (/* binding */ Browser)
20912
20912
  /* harmony export */ });
20913
- /* 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");
20914
- /* 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");
20913
+ /* 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");
20914
+ /* 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");
20915
20915
 
20916
20916
 
20917
20917
 
@@ -20936,12 +20936,12 @@ var serializeCookie = function serializeCookie(name, val, options) {
20936
20936
  var opt = options || {};
20937
20937
  opt.path = opt.path || '/';
20938
20938
  var value = encodeURIComponent(val);
20939
- var str = name + '=' + value;
20939
+ var str = "".concat(name, "=").concat(value);
20940
20940
 
20941
20941
  if (opt.maxAge > 0) {
20942
20942
  var maxAge = opt.maxAge - 0;
20943
- if (isNaN(maxAge)) throw new Error('maxAge should be a Number');
20944
- str += '; Max-Age=' + Math.floor(maxAge);
20943
+ if (Number.isNaN(maxAge)) throw new Error('maxAge should be a Number');
20944
+ str += "; Max-Age=".concat(Math.floor(maxAge));
20945
20945
  }
20946
20946
 
20947
20947
  if (opt.domain) {
@@ -20949,7 +20949,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
20949
20949
  throw new TypeError('option domain is invalid');
20950
20950
  }
20951
20951
 
20952
- str += '; Domain=' + opt.domain;
20952
+ str += "; Domain=".concat(opt.domain);
20953
20953
  }
20954
20954
 
20955
20955
  if (opt.path) {
@@ -20957,7 +20957,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
20957
20957
  throw new TypeError('option path is invalid');
20958
20958
  }
20959
20959
 
20960
- str += '; Path=' + opt.path;
20960
+ str += "; Path=".concat(opt.path);
20961
20961
  }
20962
20962
 
20963
20963
  if (opt.expires) {
@@ -20965,7 +20965,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
20965
20965
  throw new TypeError('option expires is invalid');
20966
20966
  }
20967
20967
 
20968
- str += '; Expires=' + opt.expires.toUTCString();
20968
+ str += "; Expires=".concat(opt.expires.toUTCString());
20969
20969
  }
20970
20970
 
20971
20971
  if (opt.httpOnly) str += '; HttpOnly';
@@ -21015,7 +21015,7 @@ var cookie = {
21015
21015
  document.cookie = serializeCookie(name, encodeURIComponent(value), cookieOptions);
21016
21016
  },
21017
21017
  read: function read(name) {
21018
- var nameEQ = name + '=';
21018
+ var nameEQ = "".concat(name, "=");
21019
21019
  var ca = document.cookie.split(';');
21020
21020
 
21021
21021
  for (var i = 0; i < ca.length; i++) {
@@ -21225,21 +21225,16 @@ var path = {
21225
21225
  var subdomain = {
21226
21226
  name: 'subdomain',
21227
21227
  lookup: function lookup(options) {
21228
- var found;
21228
+ // If given get the subdomain index else 1
21229
+ var lookupFromSubdomainIndex = typeof options.lookupFromSubdomainIndex === 'number' ? options.lookupFromSubdomainIndex + 1 : 1; // get all matches if window.location. is existing
21230
+ // first item of match is the match itself and the second is the first group macht which sould be the first subdomain match
21231
+ // is the hostname no public domain get the or option of localhost
21229
21232
 
21230
- if (typeof window !== 'undefined') {
21231
- var language = window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);
21233
+ var language = typeof window !== 'undefined' && window.location && window.location.hostname && window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i); // if there is no match (null) return undefined
21232
21234
 
21233
- if (language instanceof Array) {
21234
- if (typeof options.lookupFromSubdomainIndex === 'number') {
21235
- found = language[options.lookupFromSubdomainIndex].replace('http://', '').replace('https://', '').replace('.', '');
21236
- } else {
21237
- found = language[0].replace('http://', '').replace('https://', '').replace('.', '');
21238
- }
21239
- }
21240
- }
21235
+ if (!language) return undefined; // return the given group match
21241
21236
 
21242
- return found;
21237
+ return language[lookupFromSubdomainIndex];
21243
21238
  }
21244
21239
  };
21245
21240
 
@@ -21252,8 +21247,8 @@ function getDefaults() {
21252
21247
  lookupSessionStorage: 'i18nextLng',
21253
21248
  // cache user language
21254
21249
  caches: ['localStorage'],
21255
- excludeCacheFor: ['cimode'] //cookieMinutes: 10,
21256
- //cookieDomain: 'myDomain'
21250
+ excludeCacheFor: ['cimode'] // cookieMinutes: 10,
21251
+ // cookieDomain: 'myDomain'
21257
21252
 
21258
21253
  };
21259
21254
  }
@@ -21347,10 +21342,10 @@ __webpack_require__.r(__webpack_exports__);
21347
21342
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21348
21343
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
21349
21344
  /* harmony export */ });
21350
- /* 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");
21351
- /* 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");
21352
- /* 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");
21353
- /* 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");
21345
+ /* 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");
21346
+ /* 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");
21347
+ /* 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");
21348
+ /* 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");
21354
21349
 
21355
21350
 
21356
21351
 
@@ -61160,7 +61155,7 @@ class StopWatch {
61160
61155
  get current() { return BeDuration.fromMilliseconds(BeTimePoint.now().milliseconds - (!!this._start ? this._start.milliseconds : 0)); }
61161
61156
  /** Get the elapsed time, in seconds, since start() on a running timer. */
61162
61157
  get currentSeconds() { return this.current.seconds; }
61163
- /** Get the elapsed time between start() and stop() on this timer. */
61158
+ /** Get the elapsed time between start() and stop() on this timer in milliseconds. */
61164
61159
  get elapsed() { return BeDuration.fromMilliseconds((!!this._stop ? this._stop.milliseconds : BeTimePoint.now().milliseconds) - (!!this._start ? this._start.milliseconds : 0)); }
61165
61160
  /** Get the elapsed time, in seconds, between start() and stop() on this timer. */
61166
61161
  get elapsedSeconds() { return this.elapsed.seconds; }
@@ -61778,20 +61773,20 @@ var AmbientOcclusion;
61778
61773
  static fromJSON(json) { return undefined !== json ? new Settings(json) : this.defaults; }
61779
61774
  toJSON() {
61780
61775
  return {
61781
- bias: this.bias,
61782
- zLengthCap: this.zLengthCap,
61783
- maxDistance: this.maxDistance,
61784
- intensity: this.intensity,
61785
- texelStepSize: this.texelStepSize,
61786
- blurDelta: this.blurDelta,
61787
- blurSigma: this.blurSigma,
61788
- blurTexelStepSize: this.blurTexelStepSize,
61776
+ bias: this.bias !== Settings._defaultBias ? this.bias : undefined,
61777
+ zLengthCap: this.zLengthCap !== Settings._defaultZLengthCap ? this.zLengthCap : undefined,
61778
+ maxDistance: this.maxDistance !== Settings._defaultMaxDistance ? this.maxDistance : undefined,
61779
+ intensity: this.intensity !== Settings._defaultIntensity ? this.intensity : undefined,
61780
+ texelStepSize: this.texelStepSize !== Settings._defaultTexelStepSize ? this.texelStepSize : undefined,
61781
+ blurDelta: this.blurDelta !== Settings._defaultBlurDelta ? this.blurDelta : undefined,
61782
+ blurSigma: this.blurSigma !== Settings._defaultBlurSigma ? this.blurSigma : undefined,
61783
+ blurTexelStepSize: this.blurTexelStepSize !== Settings._defaultBlurTexelStepSize ? this.blurTexelStepSize : undefined,
61789
61784
  };
61790
61785
  }
61791
61786
  }
61792
61787
  Settings._defaultBias = 0.25;
61793
61788
  Settings._defaultZLengthCap = 0.0025;
61794
- Settings._defaultMaxDistance = 100.0;
61789
+ Settings._defaultMaxDistance = 10000.0;
61795
61790
  Settings._defaultIntensity = 1.0;
61796
61791
  Settings._defaultTexelStepSize = 1;
61797
61792
  Settings._defaultBlurDelta = 1.0;
@@ -62945,7 +62940,8 @@ __webpack_require__.r(__webpack_exports__);
62945
62940
  * @module Codes
62946
62941
  */
62947
62942
 
62948
- /** A three-part structure containing information about the [Code]($docs/bis/guide/fundamentals/codes) of an Element
62943
+ /**
62944
+ * A three-part structure containing information about the [Code]($docs/bis/guide/fundamentals/codes) of an Element
62949
62945
  * @public
62950
62946
  */
62951
62947
  class Code {
@@ -68596,13 +68592,21 @@ var Gradient;
68596
68592
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== imageBuffer);
68597
68593
  return imageBuffer;
68598
68594
  }
68599
- /** Applies this gradient's settings to produce a bitmap image. */
68595
+ /** Produces a bitmap image from this gradient.
68596
+ * @param width Width of the image
68597
+ * @param height Height of the image
68598
+ * @note If this gradient uses [[Gradient.Mode.Thematic]], then the width of the image will be 1 and the margin color will be included in the top and bottom rows.
68599
+ * @see [[produceImage]] for more customization.
68600
+ */
68600
68601
  getImage(width, height) {
68601
- if (this.mode === Mode.Thematic) {
68602
- // Allow caller to pass in height but not width. Thematic gradients are always one-dimensional.
68603
- // NB: The height used to be hardcoded to 8192 here. Now we will let the render system decide.
68604
- width = 1; // Force width to 1 for thematic gradients.
68605
- }
68602
+ if (this.mode === Mode.Thematic)
68603
+ width = 1;
68604
+ return this.produceImage({ width, height, includeThematicMargin: true });
68605
+ }
68606
+ /** Produces a bitmap image from this gradient. */
68607
+ produceImage(args) {
68608
+ var _a;
68609
+ const { width, height, includeThematicMargin } = { ...args };
68606
68610
  const thisAngle = (this.angle === undefined) ? 0 : this.angle.radians;
68607
68611
  const cosA = Math.cos(thisAngle);
68608
68612
  const sinA = Math.sin(thisAngle);
@@ -68708,14 +68712,11 @@ var Gradient;
68708
68712
  break;
68709
68713
  }
68710
68714
  case Mode.Thematic: {
68711
- let settings = this.thematicSettings;
68712
- if (settings === undefined) {
68713
- settings = _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.defaults;
68714
- }
68715
+ const settings = (_a = this.thematicSettings) !== null && _a !== void 0 ? _a : _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.defaults;
68715
68716
  for (let j = 0; j < height; j++) {
68716
68717
  let f = 1 - j / height;
68717
68718
  let color;
68718
- if (f < _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.margin || f > _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.contentMax) {
68719
+ if (includeThematicMargin && (f < _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.margin || f > _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.contentMax)) {
68719
68720
  color = settings.marginColor;
68720
68721
  }
68721
68722
  else {
@@ -86460,6 +86461,7 @@ class IpcWebSocketBackend extends IpcWebSocket {
86460
86461
  constructor() {
86461
86462
  super();
86462
86463
  this._handlers = new Map();
86464
+ this._processingQueue = [];
86463
86465
  IpcWebSocket.receivers.add(async (e, m) => this.dispatch(e, m));
86464
86466
  }
86465
86467
  send(channel, ...data) {
@@ -86473,22 +86475,35 @@ class IpcWebSocketBackend extends IpcWebSocket {
86473
86475
  };
86474
86476
  }
86475
86477
  async dispatch(_evt, message) {
86476
- if (message.type !== IpcWebSocketMessageType.Invoke || !message.method)
86478
+ if (message.type !== IpcWebSocketMessageType.Invoke)
86477
86479
  return;
86478
- const handler = this._handlers.get(message.channel);
86479
- if (!handler)
86480
+ this._processingQueue.push(message);
86481
+ await this.processMessages();
86482
+ }
86483
+ async processMessages() {
86484
+ if (this._processing || !this._processingQueue.length) {
86480
86485
  return;
86481
- let args = message.data;
86482
- if (typeof (args) === "undefined")
86483
- args = [];
86484
- const response = await handler({}, message.method, ...args);
86485
- IpcWebSocket.transport.send({
86486
- type: IpcWebSocketMessageType.Response,
86487
- channel: message.channel,
86488
- response: message.request,
86489
- data: response,
86490
- sequence: -1,
86491
- });
86486
+ }
86487
+ const message = this._processingQueue.shift();
86488
+ if (message && message.method) {
86489
+ const handler = this._handlers.get(message.channel);
86490
+ if (handler) {
86491
+ this._processing = message;
86492
+ let args = message.data;
86493
+ if (typeof (args) === "undefined")
86494
+ args = [];
86495
+ const response = await handler({}, message.method, ...args);
86496
+ IpcWebSocket.transport.send({
86497
+ type: IpcWebSocketMessageType.Response,
86498
+ channel: message.channel,
86499
+ response: message.request,
86500
+ data: response,
86501
+ sequence: -1,
86502
+ });
86503
+ this._processing = undefined;
86504
+ }
86505
+ }
86506
+ await this.processMessages();
86492
86507
  }
86493
86508
  }
86494
86509
 
@@ -89592,6 +89607,9 @@ class BentleyCloudRpcProtocol extends _WebAppRpcProtocol__WEBPACK_IMPORTED_MODUL
89592
89607
  const components = url.pathname.split("/").filter((x) => x); // filter out empty segments
89593
89608
  const operationComponent = components.slice(-1)[0];
89594
89609
  const encodedRequest = url.searchParams.get("parameters") || "";
89610
+ // The encodedRequest should be base64 - fail now if any other characters detected.
89611
+ if (/[^A-z0-9=+\/]/.test(encodedRequest))
89612
+ throw new _IModelError__WEBPACK_IMPORTED_MODULE_1__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR, `Invalid request: Malformed URL parameters detected.`);
89595
89613
  const firstHyphen = operationComponent.indexOf("-");
89596
89614
  const lastHyphen = operationComponent.lastIndexOf("-");
89597
89615
  const interfaceDefinition = operationComponent.slice(0, firstHyphen);
@@ -89983,11 +90001,13 @@ __webpack_require__.r(__webpack_exports__);
89983
90001
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
89984
90002
  /* harmony export */ "WebAppRpcProtocol": () => (/* binding */ WebAppRpcProtocol)
89985
90003
  /* harmony export */ });
89986
- /* harmony import */ var _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/RpcConstants */ "../../core/common/lib/esm/rpc/core/RpcConstants.js");
89987
- /* harmony import */ var _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/RpcProtocol */ "../../core/common/lib/esm/rpc/core/RpcProtocol.js");
89988
- /* harmony import */ var _OpenAPI__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OpenAPI */ "../../core/common/lib/esm/rpc/web/OpenAPI.js");
89989
- /* harmony import */ var _WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./WebAppRpcLogging */ "../../core/common/lib/esm/rpc/web/WebAppRpcLogging.js");
89990
- /* harmony import */ var _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./WebAppRpcRequest */ "../../core/common/lib/esm/rpc/web/WebAppRpcRequest.js");
90004
+ /* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
90005
+ /* harmony import */ var _CommonLoggerCategory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../CommonLoggerCategory */ "../../core/common/lib/esm/CommonLoggerCategory.js");
90006
+ /* harmony import */ var _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/RpcConstants */ "../../core/common/lib/esm/rpc/core/RpcConstants.js");
90007
+ /* harmony import */ var _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/RpcProtocol */ "../../core/common/lib/esm/rpc/core/RpcProtocol.js");
90008
+ /* harmony import */ var _OpenAPI__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./OpenAPI */ "../../core/common/lib/esm/rpc/web/OpenAPI.js");
90009
+ /* harmony import */ var _WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./WebAppRpcLogging */ "../../core/common/lib/esm/rpc/web/WebAppRpcLogging.js");
90010
+ /* harmony import */ var _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./WebAppRpcRequest */ "../../core/common/lib/esm/rpc/web/WebAppRpcRequest.js");
89991
90011
  /*---------------------------------------------------------------------------------------------
89992
90012
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
89993
90013
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -90000,10 +90020,12 @@ __webpack_require__.r(__webpack_exports__);
90000
90020
 
90001
90021
 
90002
90022
 
90023
+
90024
+
90003
90025
  /** The HTTP application protocol.
90004
90026
  * @internal
90005
90027
  */
90006
- class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.RpcProtocol {
90028
+ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_3__.RpcProtocol {
90007
90029
  /** Constructs an HTTP protocol. */
90008
90030
  constructor(configuration) {
90009
90031
  super(configuration);
@@ -90011,9 +90033,9 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
90011
90033
  /** An optional prefix for RPC operation URI paths. */
90012
90034
  this.pathPrefix = "";
90013
90035
  /** The RPC request class for this protocol. */
90014
- this.requestType = _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_4__.WebAppRpcRequest;
90036
+ this.requestType = _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__.WebAppRpcRequest;
90015
90037
  this.supportsStatusCategory = true;
90016
- this.events.addListener(_WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_3__.WebAppRpcLogging.logProtocolEvent);
90038
+ this.events.addListener(_WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_5__.WebAppRpcLogging.logProtocolEvent);
90017
90039
  }
90018
90040
  /** Convenience handler for an RPC operation get request for an HTTP server. */
90019
90041
  async handleOperationGetRequest(req, res) {
@@ -90021,9 +90043,19 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
90021
90043
  }
90022
90044
  /** Convenience handler for an RPC operation post request for an HTTP server. */
90023
90045
  async handleOperationPostRequest(req, res) {
90024
- const request = await _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_4__.WebAppRpcRequest.parseRequest(this, req);
90046
+ let request;
90047
+ try {
90048
+ request = await _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__.WebAppRpcRequest.parseRequest(this, req);
90049
+ }
90050
+ catch (error) {
90051
+ const message = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorMessage(error);
90052
+ _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(_CommonLoggerCategory__WEBPACK_IMPORTED_MODULE_1__.CommonLoggerCategory.RpcInterfaceBackend, `Failed to parse request: ${message}`, _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorMetadata(error));
90053
+ res.status(400);
90054
+ res.send(JSON.stringify({ message, isError: true }));
90055
+ return;
90056
+ }
90025
90057
  const fulfillment = await this.fulfill(request);
90026
- await _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_4__.WebAppRpcRequest.sendResponse(this, request, fulfillment, req, res);
90058
+ await _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__.WebAppRpcRequest.sendResponse(this, request, fulfillment, req, res);
90027
90059
  }
90028
90060
  /** Convenience handler for an OpenAPI description request for an HTTP server. */
90029
90061
  handleOpenApiDescriptionRequest(_req, res) {
@@ -90033,45 +90065,45 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
90033
90065
  /** Converts an HTTP content type value to an RPC content type value. */
90034
90066
  static computeContentType(httpType) {
90035
90067
  if (!httpType)
90036
- return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcContentType.Unknown;
90037
- if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.WEB_RPC_CONSTANTS.ANY_TEXT) === 0) {
90038
- return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcContentType.Text;
90068
+ return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Unknown;
90069
+ if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.WEB_RPC_CONSTANTS.ANY_TEXT) === 0) {
90070
+ return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Text;
90039
90071
  }
90040
- else if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.WEB_RPC_CONSTANTS.BINARY) === 0) {
90041
- return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcContentType.Binary;
90072
+ else if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.WEB_RPC_CONSTANTS.BINARY) === 0) {
90073
+ return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Binary;
90042
90074
  }
90043
- else if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.WEB_RPC_CONSTANTS.MULTIPART) === 0) {
90044
- return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcContentType.Multipart;
90075
+ else if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.WEB_RPC_CONSTANTS.MULTIPART) === 0) {
90076
+ return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Multipart;
90045
90077
  }
90046
90078
  else {
90047
- return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcContentType.Unknown;
90079
+ return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Unknown;
90048
90080
  }
90049
90081
  }
90050
90082
  /** Supplies the status corresponding to a protocol-specific code value. */
90051
90083
  getStatus(code) {
90052
90084
  switch (code) {
90053
- case 404: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.NotFound;
90054
- case 202: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Pending;
90055
- case 200: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Resolved;
90056
- case 500: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Rejected;
90057
- case 204: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.NoContent;
90058
- case 502: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.BadGateway;
90059
- case 503: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.ServiceUnavailable;
90060
- case 504: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.GatewayTimeout;
90061
- default: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Unknown;
90085
+ case 404: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NotFound;
90086
+ case 202: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Pending;
90087
+ case 200: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Resolved;
90088
+ case 500: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Rejected;
90089
+ case 204: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NoContent;
90090
+ case 502: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.BadGateway;
90091
+ case 503: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.ServiceUnavailable;
90092
+ case 504: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.GatewayTimeout;
90093
+ default: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Unknown;
90062
90094
  }
90063
90095
  }
90064
90096
  /** Supplies the protocol-specific code corresponding to a status value. */
90065
90097
  getCode(status) {
90066
90098
  switch (status) {
90067
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.NotFound: return 404;
90068
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Pending: return 202;
90069
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Resolved: return 200;
90070
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Rejected: return 500;
90071
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.NoContent: return 204;
90072
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.BadGateway: return 502;
90073
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.ServiceUnavailable: return 503;
90074
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.GatewayTimeout: return 504;
90099
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NotFound: return 404;
90100
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Pending: return 202;
90101
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Resolved: return 200;
90102
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Rejected: return 500;
90103
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NoContent: return 204;
90104
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.BadGateway: return 502;
90105
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.ServiceUnavailable: return 503;
90106
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.GatewayTimeout: return 504;
90075
90107
  default: return 501;
90076
90108
  }
90077
90109
  }
@@ -90082,7 +90114,7 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
90082
90114
  /** An OpenAPI-compatible description of this protocol.
90083
90115
  * @internal
90084
90116
  */
90085
- get openAPIDescription() { return new _OpenAPI__WEBPACK_IMPORTED_MODULE_2__.RpcOpenAPIDescription(this); }
90117
+ get openAPIDescription() { return new _OpenAPI__WEBPACK_IMPORTED_MODULE_4__.RpcOpenAPIDescription(this); }
90086
90118
  }
90087
90119
 
90088
90120
 
@@ -90183,7 +90215,7 @@ class WebAppRpcRequest extends _core_RpcRequest__WEBPACK_IMPORTED_MODULE_6__.Rpc
90183
90215
  }
90184
90216
  }
90185
90217
  if (!request.id) {
90186
- throw new _IModelError__WEBPACK_IMPORTED_MODULE_2__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR, `Invalid request.`);
90218
+ throw new _IModelError__WEBPACK_IMPORTED_MODULE_2__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR, `Invalid request: Missing required activity ID.`);
90187
90219
  }
90188
90220
  return request;
90189
90221
  }
@@ -145857,8 +145889,6 @@ class RealityMeshGeometry extends _CachedGeometry__WEBPACK_IMPORTED_MODULE_7__.I
145857
145889
  }
145858
145890
  get techniqueId() { return 7 /* RealityMesh */; }
145859
145891
  getPass(target) {
145860
- if (target.isDrawingShadowMap)
145861
- return "none";
145862
145892
  if (this._baseIsTransparent || (target.wantThematicDisplay && target.uniforms.thematic.wantIsoLines))
145863
145893
  return "translucent";
145864
145894
  return "opaque";
@@ -151472,6 +151502,7 @@ class SolarShadowMap {
151472
151502
  this.onGraphicsChanged(this._graphics);
151473
151503
  }
151474
151504
  update(context) {
151505
+ var _a;
151475
151506
  this._isReady = false;
151476
151507
  this.clearGraphics(false);
151477
151508
  if (undefined === context || !context.viewport.view.isSpatialView()) {
@@ -151481,9 +151512,7 @@ class SolarShadowMap {
151481
151512
  }
151482
151513
  const view = context.viewport.view;
151483
151514
  const style = view.getDisplayStyle3d();
151484
- let sunDirection = style.sunDirection;
151485
- if (undefined === sunDirection)
151486
- sunDirection = defaultSunDirection;
151515
+ const sunDirection = (_a = style.sunDirection) !== null && _a !== void 0 ? _a : defaultSunDirection;
151487
151516
  const minimumHorizonDirection = -.01;
151488
151517
  if (sunDirection.z > minimumHorizonDirection) {
151489
151518
  this.notifyGraphicsChanged();
@@ -151505,8 +151534,21 @@ class SolarShadowMap {
151505
151534
  // Limit the map to only displayed models.
151506
151535
  const viewTileRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range3d.createNull();
151507
151536
  view.forEachTileTreeRef((ref) => {
151508
- if (ref.castsShadows)
151509
- ref.accumulateTransformedRange(viewTileRange, worldToMap, undefined);
151537
+ if (ref.castsShadows) {
151538
+ if (ref.isGlobal) {
151539
+ // A shadow-casting tile tree that spans the globe. Limit its range to the viewed extents.
151540
+ for (const p3 of viewFrustum.points) {
151541
+ const p4 = worldToMap.multiplyPoint3d(p3, 1);
151542
+ if (p4.w > 0.0001)
151543
+ viewTileRange.extendXYZW(p4.x, p4.y, p4.z, p4.w);
151544
+ else
151545
+ viewTileRange.high.z = Math.max(1.0, viewTileRange.high.z); // behind eye plane.
151546
+ }
151547
+ }
151548
+ else {
151549
+ ref.accumulateTransformedRange(viewTileRange, worldToMap, undefined);
151550
+ }
151551
+ }
151510
151552
  });
151511
151553
  if (!viewTileRange.isNull)
151512
151554
  viewTileRange.clone(shadowRange);
@@ -152737,7 +152779,15 @@ class System extends _RenderSystem__WEBPACK_IMPORTED_MODULE_7__.RenderSystem {
152737
152779
  }
152738
152780
  /** Attempt to create a texture using gradient symbology. */
152739
152781
  getGradientTexture(symb, iModel) {
152740
- const source = symb.getImage(0x100, 0x100);
152782
+ let width = 0x100;
152783
+ let height = 0x100;
152784
+ if (symb.mode === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.Gradient.Mode.Thematic) {
152785
+ // Pixels in each row are identical, no point in having width > 1.
152786
+ width = 1;
152787
+ // We want maximum height to minimize bleeding of margin color.
152788
+ height = this.maxTextureSize;
152789
+ }
152790
+ const source = symb.produceImage({ width, height, includeThematicMargin: true });
152741
152791
  return this.createTexture({
152742
152792
  image: {
152743
152793
  source,
@@ -157019,7 +157069,7 @@ const computeAmbientOcclusion = `
157019
157069
  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.
157020
157070
  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.
157021
157071
  float intensity = u_hbaoSettings.z; // Raise the final occlusion to the power of this value. Larger values make the ambient shadows darker.
157022
- float texelStepSize = u_hbaoSettings.w; // Indicates the distance to step toward the next texel sample in the current direction.
157072
+ 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.
157023
157073
 
157024
157074
  float tOcclusion = 0.0;
157025
157075
 
@@ -157064,6 +157114,9 @@ const computeAmbientOcclusion = `
157064
157114
  tOcclusion += curOcclusion;
157065
157115
  }
157066
157116
 
157117
+ float distanceFadeFactor = kFrustumType_Perspective == u_frustum.z ? 1.0 - pow(clamp(nonLinearDepth / u_maxDistance, 0.0, 1.0), 4.0) : 1.0;
157118
+ tOcclusion *= distanceFadeFactor;
157119
+
157067
157120
  tOcclusion /= 4.0;
157068
157121
  tOcclusion = 1.0 - clamp(tOcclusion, 0.0, 1.0);
157069
157122
  tOcclusion = pow(tOcclusion, intensity);
@@ -166969,7 +167022,7 @@ class GltfReader {
166969
167022
  if (dracoMeshes.length === 0)
166970
167023
  return;
166971
167024
  try {
166972
- 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;
167025
+ const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_7_node_modules_loaders_gl_draco_di-a586d9"), __webpack_require__.e("_c5fe")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.7/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
166973
167026
  await Promise.all(dracoMeshes.map(async (x) => this.decodeDracoMesh(x, dracoLoader)));
166974
167027
  }
166975
167028
  catch (err) {
@@ -170096,7 +170149,7 @@ function readPnts(stream, dataOffset, pnts) {
170096
170149
  async function decodeDracoPointCloud(buf) {
170097
170150
  var _a, _b, _c, _d, _e, _f;
170098
170151
  try {
170099
- 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;
170152
+ const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_7_node_modules_loaders_gl_draco_di-a586d9"), __webpack_require__.e("_c5fe")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.7/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
170100
170153
  const mesh = await dracoLoader.parse(buf, {});
170101
170154
  if (mesh.topology !== "point-list")
170102
170155
  return undefined;
@@ -172281,6 +172334,7 @@ class RealityTileTree extends _internal__WEBPACK_IMPORTED_MODULE_6__.TileTree {
172281
172334
  const preloadDebugBuilder = (debugControl && debugControl.displayRealityTilePreload) ? args.context.createSceneGraphicBuilder() : undefined;
172282
172335
  const graphicTypeBranches = new Map();
172283
172336
  const selectedTiles = this.selectRealityTiles(args, displayedTileDescendants, preloadDebugBuilder);
172337
+ args.processSelectedTiles(selectedTiles);
172284
172338
  let sortIndices;
172285
172339
  if (!this.parentsAndChildrenExclusive) {
172286
172340
  sortIndices = selectedTiles.map((_x, i) => i);
@@ -176541,28 +176595,6 @@ class ArcGisUtilities {
176541
176595
  return undefined;
176542
176596
  }
176543
176597
  }
176544
- static async getFootprintJson(url, credentials) {
176545
- const cached = ArcGisUtilities._footprintCache.get(url);
176546
- if (cached !== undefined)
176547
- return cached;
176548
- try {
176549
- const tmpUrl = new URL(url);
176550
- tmpUrl.searchParams.append("f", "json");
176551
- tmpUrl.searchParams.append("option", "footprints");
176552
- tmpUrl.searchParams.append("outSR", "4326");
176553
- const accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.mapLayerFormatRegistry.getAccessClient("ArcGIS");
176554
- if (accessClient) {
176555
- await ArcGisUtilities.appendSecurityToken(tmpUrl, accessClient, { mapLayerUrl: new URL(url), userName: credentials === null || credentials === void 0 ? void 0 : credentials.user, password: credentials === null || credentials === void 0 ? void 0 : credentials.password });
176556
- }
176557
- const json = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_1__.getJson)(tmpUrl.toString());
176558
- ArcGisUtilities._footprintCache.set(url, json);
176559
- return json;
176560
- }
176561
- catch (_error) {
176562
- ArcGisUtilities._footprintCache.set(url, undefined);
176563
- return undefined;
176564
- }
176565
- }
176566
176598
  // return the appended access token if available.
176567
176599
  static async appendSecurityToken(url, accessClient, accessTokenParams) {
176568
176600
  // Append security token if available
@@ -176579,7 +176611,6 @@ class ArcGisUtilities {
176579
176611
  }
176580
176612
  }
176581
176613
  ArcGisUtilities._serviceCache = new Map();
176582
- ArcGisUtilities._footprintCache = new Map();
176583
176614
 
176584
176615
 
176585
176616
  /***/ }),
@@ -177458,18 +177489,9 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
177458
177489
  if (this._usesCachedTiles && this._tileMapSupported) {
177459
177490
  this._tileMap = new _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGISTileMap(this._settings.url, (_d = (_c = json.tileInfo) === null || _c === void 0 ? void 0 : _c.lods) === null || _d === void 0 ? void 0 : _d.length);
177460
177491
  }
177461
- const footprintJson = await _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.getFootprintJson(this._settings.url, this.getRequestAuthorization());
177462
- if (undefined !== footprintJson && undefined !== footprintJson.featureCollection && Array.isArray(footprintJson.featureCollection.layers)) {
177463
- for (const layer of footprintJson.featureCollection.layers) {
177464
- if (layer.layerDefinition && layer.layerDefinition.extent) {
177465
- this.cartoRange = _internal__WEBPACK_IMPORTED_MODULE_4__.MapCartoRectangle.createFromDegrees(layer.layerDefinition.extent.xmin, layer.layerDefinition.extent.ymin, layer.layerDefinition.extent.xmax, layer.layerDefinition.extent.ymax);
177466
- break;
177467
- }
177468
- }
177469
- }
177470
- // Sometimes footprint request doesnt work, fallback to dataset fullextent
177471
- if (this.cartoRange === undefined && json.fullExtent) {
177472
- if (json.fullExtent.spatialReference.latestWkid === 3857) {
177492
+ // Read range using fullextent from service metadata
177493
+ if (json.fullExtent) {
177494
+ if (json.fullExtent.spatialReference.latestWkid === 3857 || json.fullExtent.spatialReference.wkid === 102100) {
177473
177495
  const range3857 = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_6__.Range2d.createFrom({
177474
177496
  low: { x: json.fullExtent.xmin, y: json.fullExtent.ymin },
177475
177497
  high: { x: json.fullExtent.xmax, y: json.fullExtent.ymax }
@@ -197396,17 +197418,17 @@ class BSplineCurve3dBase extends _curve_CurvePrimitive__WEBPACK_IMPORTED_MODULE_
197396
197418
  * @returns Returns a CurveLocationDetail structure that holds the details of the close point.
197397
197419
  */
197398
197420
  closestPoint(spacePoint, _extend) {
197421
+ // seed at start point -- final point comes with final bezier perpendicular step.
197399
197422
  const point = this.fractionToPoint(0);
197400
197423
  const result = _curve_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveLocationDetail.createCurveFractionPointDistance(this, 0.0, point, point.distance(spacePoint));
197401
- this.fractionToPoint(1.0, point);
197402
- result.updateIfCloserCurveFractionPointDistance(this, 1.0, point, spacePoint.distance(point));
197403
197424
  let span;
197404
197425
  const numSpans = this.numSpan;
197405
197426
  for (let i = 0; i < numSpans; i++) {
197406
197427
  if (this._bcurve.knots.isIndexOfRealSpan(i)) {
197407
197428
  span = this.getSaturatedBezierSpan3dOr3dH(i, true, span);
197408
197429
  if (span) {
197409
- if (span.updateClosestPointByTruePerpendicular(spacePoint, result)) {
197430
+ // umm ... if the bspline is discontinuous, both ends should be tested. Ignore that possibility ...
197431
+ if (span.updateClosestPointByTruePerpendicular(spacePoint, result, false, true)) {
197410
197432
  // the detail records the span bezier -- promote it to the parent curve . ..
197411
197433
  result.curve = this;
197412
197434
  result.fraction = span.fractionToParentFraction(result.fraction);
@@ -200856,7 +200878,7 @@ class BezierCurve3dH extends _BezierCurveBase__WEBPACK_IMPORTED_MODULE_0__.Bezie
200856
200878
  * @param detail pre-allocated detail to record (evolving) closest point.
200857
200879
  * @returns true if an updated occurred, false if either (a) no perpendicular projections or (b) perpendiculars were not closer.
200858
200880
  */
200859
- updateClosestPointByTruePerpendicular(spacePoint, detail) {
200881
+ updateClosestPointByTruePerpendicular(spacePoint, detail, testAt0 = false, testAt1 = false) {
200860
200882
  let numUpdates = 0;
200861
200883
  let roots;
200862
200884
  if (this.isUnitWeight()) {
@@ -200908,8 +200930,17 @@ class BezierCurve3dH extends _BezierCurveBase__WEBPACK_IMPORTED_MODULE_0__.Bezie
200908
200930
  numUpdates += detail.updateIfCloserCurveFractionPointDistance(this, fraction, xyz, a) ? 1 : 0;
200909
200931
  }
200910
200932
  }
200933
+ if (testAt0)
200934
+ numUpdates += this.updateDetailAtFraction(detail, 0.0, spacePoint) ? 1 : 0;
200935
+ if (testAt1)
200936
+ numUpdates += this.updateDetailAtFraction(detail, 1.0, spacePoint) ? 1 : 0;
200911
200937
  return numUpdates > 0;
200912
200938
  }
200939
+ updateDetailAtFraction(detail, fraction, spacePoint) {
200940
+ const xyz = this.fractionToPoint(fraction);
200941
+ const a = xyz.distance(spacePoint);
200942
+ return detail.updateIfCloserCurveFractionPointDistance(this, fraction, xyz, a);
200943
+ }
200913
200944
  /** Extend `rangeToExtend`, using candidate extrema at
200914
200945
  * * both end points
200915
200946
  * * any internal extrema in x,y,z
@@ -209606,6 +209637,7 @@ class CurveChainWithDistanceIndex extends _curve_CurvePrimitive__WEBPACK_IMPORTE
209606
209637
  const chainFraction = this.chainDistanceToChainFraction(chainDistance);
209607
209638
  const chainDetail = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_7__.CurveLocationDetail.createCurveFractionPoint(this, chainFraction, childDetail.point);
209608
209639
  chainDetail.childDetail = childDetail;
209640
+ chainDetail.a = childDetail.a;
209609
209641
  return chainDetail;
209610
209642
  }
209611
209643
  return undefined;
@@ -252875,7 +252907,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
252875
252907
  * * Circular or elliptical pipe cross sections can be specified by supplying either a radius, a pair of semi-axis lengths, or a full Arc3d.
252876
252908
  * * For semi-axis length input, x corresponds to an ellipse local axis nominally situated parallel to the xy-plane.
252877
252909
  * * The center of Arc3d input is translated to the centerline start point to act as initial cross section.
252878
- * @param centerline centerline of pipe
252910
+ * @param centerline centerline of pipe. If curved, it will be stroked using the builder's StrokeOptions.
252879
252911
  * @param sectionData circle radius, ellipse semi-axis lengths, or full Arc3d
252880
252912
  * @param numFacetAround how many equal parameter-space chords around each section
252881
252913
  */
@@ -252894,7 +252926,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
252894
252926
  }
252895
252927
  else if (centerline instanceof _curve_GeometryQuery__WEBPACK_IMPORTED_MODULE_32__.GeometryQuery) {
252896
252928
  const linestring = _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d.create();
252897
- centerline.emitStrokes(linestring);
252929
+ centerline.emitStrokes(linestring, this._options);
252898
252930
  this.addMiteredPipesFromPoints(linestring.packedPoints, sectionData, numFacetAround);
252899
252931
  }
252900
252932
  }
@@ -263938,6 +263970,26 @@ class Sample {
263938
263970
  }
263939
263971
  return result;
263940
263972
  }
263973
+ /** Create various orders of non-rational B-spline curves with helical poles */
263974
+ static createBsplineCurveHelices(radius, height, numTurns, numSamplesPerTurn) {
263975
+ const pts = [];
263976
+ const zDelta = (height / numTurns) / numSamplesPerTurn;
263977
+ const aDelta = 2 * Math.PI / numSamplesPerTurn;
263978
+ for (let iTurn = 0; iTurn < numTurns; ++iTurn) {
263979
+ for (let iSample = 0; iSample < numSamplesPerTurn; iSample++) {
263980
+ pts.push(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Point3d.create(radius * Math.cos(iSample * aDelta), radius * Math.sin(iSample * aDelta), pts.length * zDelta));
263981
+ }
263982
+ }
263983
+ const result = [];
263984
+ for (const order of [2, 3, 4, 9, 16, 25]) {
263985
+ if (order > pts.length)
263986
+ continue;
263987
+ const curve = _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_9__.BSplineCurve3d.createUniformKnots(pts, order);
263988
+ if (curve !== undefined)
263989
+ result.push(curve);
263990
+ }
263991
+ return result;
263992
+ }
263941
263993
  /** Create weighted bsplines for circular arcs.
263942
263994
  */
263943
263995
  static createBspline3dHArcs() {
@@ -274913,8 +274965,8 @@ __webpack_require__.r(__webpack_exports__);
274913
274965
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
274914
274966
  /* harmony export */ "ITwinLocalization": () => (/* binding */ ITwinLocalization)
274915
274967
  /* harmony export */ });
274916
- /* 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");
274917
- /* 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");
274968
+ /* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/esm/i18next.js");
274969
+ /* 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.5/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js");
274918
274970
  /* 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");
274919
274971
  /* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
274920
274972
  /*---------------------------------------------------------------------------------------------
@@ -302035,9 +302087,9 @@ const gBase64 = {
302035
302087
 
302036
302088
  /***/ }),
302037
302089
 
302038
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
302090
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
302039
302091
  /*!******************************************************************************************************************************!*\
302040
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
302092
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
302041
302093
  \******************************************************************************************************************************/
302042
302094
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302043
302095
 
@@ -302058,9 +302110,9 @@ function _arrayLikeToArray(arr, len) {
302058
302110
 
302059
302111
  /***/ }),
302060
302112
 
302061
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
302113
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
302062
302114
  /*!****************************************************************************************************************************!*\
302063
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
302115
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
302064
302116
  \****************************************************************************************************************************/
302065
302117
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302066
302118
 
@@ -302075,9 +302127,9 @@ function _arrayWithHoles(arr) {
302075
302127
 
302076
302128
  /***/ }),
302077
302129
 
302078
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
302130
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
302079
302131
  /*!***********************************************************************************************************************************!*\
302080
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
302132
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
302081
302133
  \***********************************************************************************************************************************/
302082
302134
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302083
302135
 
@@ -302096,9 +302148,9 @@ function _assertThisInitialized(self) {
302096
302148
 
302097
302149
  /***/ }),
302098
302150
 
302099
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
302151
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
302100
302152
  /*!****************************************************************************************************************************!*\
302101
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
302153
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
302102
302154
  \****************************************************************************************************************************/
302103
302155
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302104
302156
 
@@ -302115,9 +302167,9 @@ function _classCallCheck(instance, Constructor) {
302115
302167
 
302116
302168
  /***/ }),
302117
302169
 
302118
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/createClass.js":
302170
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js":
302119
302171
  /*!*************************************************************************************************************************!*\
302120
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
302172
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
302121
302173
  \*************************************************************************************************************************/
302122
302174
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302123
302175
 
@@ -302147,9 +302199,9 @@ function _createClass(Constructor, protoProps, staticProps) {
302147
302199
 
302148
302200
  /***/ }),
302149
302201
 
302150
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
302202
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
302151
302203
  /*!****************************************************************************************************************************!*\
302152
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
302204
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
302153
302205
  \****************************************************************************************************************************/
302154
302206
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302155
302207
 
@@ -302175,9 +302227,9 @@ function _defineProperty(obj, key, value) {
302175
302227
 
302176
302228
  /***/ }),
302177
302229
 
302178
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
302230
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
302179
302231
  /*!****************************************************************************************************************************!*\
302180
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
302232
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
302181
302233
  \****************************************************************************************************************************/
302182
302234
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302183
302235
 
@@ -302195,9 +302247,9 @@ function _getPrototypeOf(o) {
302195
302247
 
302196
302248
  /***/ }),
302197
302249
 
302198
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/inherits.js":
302250
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js":
302199
302251
  /*!**********************************************************************************************************************!*\
302200
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
302252
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
302201
302253
  \**********************************************************************************************************************/
302202
302254
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302203
302255
 
@@ -302206,7 +302258,7 @@ __webpack_require__.r(__webpack_exports__);
302206
302258
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
302207
302259
  /* harmony export */ "default": () => (/* binding */ _inherits)
302208
302260
  /* harmony export */ });
302209
- /* 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");
302261
+ /* 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");
302210
302262
 
302211
302263
  function _inherits(subClass, superClass) {
302212
302264
  if (typeof superClass !== "function" && superClass !== null) {
@@ -302228,9 +302280,9 @@ function _inherits(subClass, superClass) {
302228
302280
 
302229
302281
  /***/ }),
302230
302282
 
302231
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
302283
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
302232
302284
  /*!*****************************************************************************************************************************!*\
302233
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
302285
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
302234
302286
  \*****************************************************************************************************************************/
302235
302287
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302236
302288
 
@@ -302245,9 +302297,9 @@ function _iterableToArray(iter) {
302245
302297
 
302246
302298
  /***/ }),
302247
302299
 
302248
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
302300
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
302249
302301
  /*!*****************************************************************************************************************************!*\
302250
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
302302
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
302251
302303
  \*****************************************************************************************************************************/
302252
302304
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302253
302305
 
@@ -302262,9 +302314,9 @@ function _nonIterableRest() {
302262
302314
 
302263
302315
  /***/ }),
302264
302316
 
302265
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
302317
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
302266
302318
  /*!***************************************************************************************************************************************!*\
302267
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
302319
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
302268
302320
  \***************************************************************************************************************************************/
302269
302321
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302270
302322
 
@@ -302273,8 +302325,8 @@ __webpack_require__.r(__webpack_exports__);
302273
302325
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
302274
302326
  /* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
302275
302327
  /* harmony export */ });
302276
- /* 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");
302277
- /* 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");
302328
+ /* 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");
302329
+ /* 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");
302278
302330
 
302279
302331
 
302280
302332
  function _possibleConstructorReturn(self, call) {
@@ -302289,9 +302341,9 @@ function _possibleConstructorReturn(self, call) {
302289
302341
 
302290
302342
  /***/ }),
302291
302343
 
302292
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
302344
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
302293
302345
  /*!****************************************************************************************************************************!*\
302294
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
302346
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
302295
302347
  \****************************************************************************************************************************/
302296
302348
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302297
302349
 
@@ -302310,9 +302362,9 @@ function _setPrototypeOf(o, p) {
302310
302362
 
302311
302363
  /***/ }),
302312
302364
 
302313
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/toArray.js":
302365
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js":
302314
302366
  /*!*********************************************************************************************************************!*\
302315
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
302367
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
302316
302368
  \*********************************************************************************************************************/
302317
302369
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302318
302370
 
@@ -302321,10 +302373,10 @@ __webpack_require__.r(__webpack_exports__);
302321
302373
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
302322
302374
  /* harmony export */ "default": () => (/* binding */ _toArray)
302323
302375
  /* harmony export */ });
302324
- /* 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");
302325
- /* 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");
302326
- /* 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");
302327
- /* 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");
302376
+ /* 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");
302377
+ /* 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");
302378
+ /* 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");
302379
+ /* 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");
302328
302380
 
302329
302381
 
302330
302382
 
@@ -302335,9 +302387,9 @@ function _toArray(arr) {
302335
302387
 
302336
302388
  /***/ }),
302337
302389
 
302338
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/typeof.js":
302390
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js":
302339
302391
  /*!********************************************************************************************************************!*\
302340
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
302392
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
302341
302393
  \********************************************************************************************************************/
302342
302394
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302343
302395
 
@@ -302358,9 +302410,9 @@ function _typeof(obj) {
302358
302410
 
302359
302411
  /***/ }),
302360
302412
 
302361
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
302413
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
302362
302414
  /*!****************************************************************************************************************************************!*\
302363
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
302415
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
302364
302416
  \****************************************************************************************************************************************/
302365
302417
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302366
302418
 
@@ -302369,7 +302421,7 @@ __webpack_require__.r(__webpack_exports__);
302369
302421
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
302370
302422
  /* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
302371
302423
  /* harmony export */ });
302372
- /* 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");
302424
+ /* 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");
302373
302425
 
302374
302426
  function _unsupportedIterableToArray(o, minLen) {
302375
302427
  if (!o) return;
@@ -302382,10 +302434,10 @@ function _unsupportedIterableToArray(o, minLen) {
302382
302434
 
302383
302435
  /***/ }),
302384
302436
 
302385
- /***/ "../../common/temp/node_modules/.pnpm/i18next@21.8.14/node_modules/i18next/dist/esm/i18next.js":
302386
- /*!*****************************************************************************************************!*\
302387
- !*** ../../common/temp/node_modules/.pnpm/i18next@21.8.14/node_modules/i18next/dist/esm/i18next.js ***!
302388
- \*****************************************************************************************************/
302437
+ /***/ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/esm/i18next.js":
302438
+ /*!****************************************************************************************************!*\
302439
+ !*** ../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/esm/i18next.js ***!
302440
+ \****************************************************************************************************/
302389
302441
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302390
302442
 
302391
302443
  "use strict";
@@ -302406,15 +302458,15 @@ __webpack_require__.r(__webpack_exports__);
302406
302458
  /* harmony export */ "t": () => (/* binding */ t),
302407
302459
  /* harmony export */ "use": () => (/* binding */ use)
302408
302460
  /* harmony export */ });
302409
- /* 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");
302410
- /* 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");
302411
- /* 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");
302412
- /* 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");
302413
- /* 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");
302414
- /* 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");
302415
- /* 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");
302416
- /* 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");
302417
- /* 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");
302461
+ /* 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");
302462
+ /* 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");
302463
+ /* 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");
302464
+ /* 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");
302465
+ /* 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");
302466
+ /* 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");
302467
+ /* 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");
302468
+ /* 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");
302469
+ /* 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");
302418
302470
 
302419
302471
 
302420
302472
 
@@ -304286,6 +304338,8 @@ var Connector = function (_EventEmitter) {
304286
304338
  _this.waitingReads = [];
304287
304339
  _this.maxParallelReads = options.maxParallelReads || 10;
304288
304340
  _this.readingCalls = 0;
304341
+ _this.maxRetries = options.maxRetries >= 0 ? options.maxRetries : 5;
304342
+ _this.retryTimeout = options.retryTimeout >= 1 ? options.retryTimeout : 350;
304289
304343
  _this.state = {};
304290
304344
  _this.queue = [];
304291
304345
 
@@ -304392,7 +304446,7 @@ var Connector = function (_EventEmitter) {
304392
304446
  var _this3 = this;
304393
304447
 
304394
304448
  var tried = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
304395
- var wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 350;
304449
+ var wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : this.retryTimeout;
304396
304450
  var callback = arguments.length > 5 ? arguments[5] : undefined;
304397
304451
  if (!lng.length) return callback(null, {});
304398
304452
 
@@ -304410,13 +304464,6 @@ var Connector = function (_EventEmitter) {
304410
304464
 
304411
304465
  this.readingCalls++;
304412
304466
  return this.backend[fcName](lng, ns, function (err, data) {
304413
- if (err && data && tried < 5) {
304414
- setTimeout(function () {
304415
- _this3.read.call(_this3, lng, ns, fcName, tried + 1, wait * 2, callback);
304416
- }, wait);
304417
- return;
304418
- }
304419
-
304420
304467
  _this3.readingCalls--;
304421
304468
 
304422
304469
  if (_this3.waitingReads.length > 0) {
@@ -304425,6 +304472,13 @@ var Connector = function (_EventEmitter) {
304425
304472
  _this3.read(next.lng, next.ns, next.fcName, next.tried, next.wait, next.callback);
304426
304473
  }
304427
304474
 
304475
+ if (err && data && tried < _this3.maxRetries) {
304476
+ setTimeout(function () {
304477
+ _this3.read.call(_this3, lng, ns, fcName, tried + 1, wait * 2, callback);
304478
+ }, wait);
304479
+ return;
304480
+ }
304481
+
304428
304482
  callback(err, data);
304429
304483
  });
304430
304484
  }
@@ -304660,7 +304714,7 @@ var I18n = function (_EventEmitter) {
304660
304714
  options = {};
304661
304715
  }
304662
304716
 
304663
- if (!options.defaultNS && options.ns) {
304717
+ if (!options.defaultNS && options.defaultNS !== false && options.ns) {
304664
304718
  if (typeof options.ns === 'string') {
304665
304719
  options.defaultNS = options.ns;
304666
304720
  } else if (options.ns.indexOf('translation') < 0) {
@@ -305240,7 +305294,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
305240
305294
  /***/ ((module) => {
305241
305295
 
305242
305296
  "use strict";
305243
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.2","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.2","@itwin/core-bentley":"workspace:^3.4.0-dev.2","@itwin/core-common":"workspace:^3.4.0-dev.2","@itwin/core-geometry":"workspace:^3.4.0-dev.2","@itwin/core-orbitgt":"workspace:^3.4.0-dev.2","@itwin/core-quantity":"workspace:^3.4.0-dev.2","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.2"},"//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"}}]}}');
305297
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.20","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.20","@itwin/core-bentley":"workspace:^3.4.0-dev.20","@itwin/core-common":"workspace:^3.4.0-dev.20","@itwin/core-geometry":"workspace:^3.4.0-dev.20","@itwin/core-orbitgt":"workspace:^3.4.0-dev.20","@itwin/core-quantity":"workspace:^3.4.0-dev.20","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.20"},"//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.10","@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"}}]}}');
305244
305298
 
305245
305299
  /***/ })
305246
305300