@itwin/rpcinterface-full-stack-tests 5.7.0-dev.9 → 5.8.0-dev.1

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.
@@ -6833,9 +6833,9 @@ function partitionArray(array, criterion) {
6833
6833
 
6834
6834
  /***/ }),
6835
6835
 
6836
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/AccessToken.js":
6836
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/AccessToken.js":
6837
6837
  /*!******************************************************************************************************************************!*\
6838
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/AccessToken.js ***!
6838
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/AccessToken.js ***!
6839
6839
  \******************************************************************************************************************************/
6840
6840
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6841
6841
 
@@ -6853,9 +6853,9 @@ __webpack_require__.r(__webpack_exports__);
6853
6853
 
6854
6854
  /***/ }),
6855
6855
 
6856
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Assert.js":
6856
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Assert.js":
6857
6857
  /*!*************************************************************************************************************************!*\
6858
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Assert.js ***!
6858
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Assert.js ***!
6859
6859
  \*************************************************************************************************************************/
6860
6860
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6861
6861
 
@@ -6909,9 +6909,9 @@ function assert(condition, message) {
6909
6909
 
6910
6910
  /***/ }),
6911
6911
 
6912
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js":
6912
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js":
6913
6913
  /*!**************************************************************************************************************************!*\
6914
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js ***!
6914
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js ***!
6915
6915
  \**************************************************************************************************************************/
6916
6916
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6917
6917
 
@@ -6922,7 +6922,7 @@ __webpack_require__.r(__webpack_exports__);
6922
6922
  /* harmony export */ BeEventList: () => (/* binding */ BeEventList),
6923
6923
  /* harmony export */ BeUiEvent: () => (/* binding */ BeUiEvent)
6924
6924
  /* harmony export */ });
6925
- /* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UnexpectedErrors */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js");
6925
+ /* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UnexpectedErrors */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js");
6926
6926
  /*---------------------------------------------------------------------------------------------
6927
6927
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
6928
6928
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -7073,9 +7073,9 @@ class BeEventList {
7073
7073
 
7074
7074
  /***/ }),
7075
7075
 
7076
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BeSQLite.js":
7076
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BeSQLite.js":
7077
7077
  /*!***************************************************************************************************************************!*\
7078
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BeSQLite.js ***!
7078
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BeSQLite.js ***!
7079
7079
  \***************************************************************************************************************************/
7080
7080
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
7081
7081
 
@@ -7274,9 +7274,9 @@ var DbResult;
7274
7274
 
7275
7275
  /***/ }),
7276
7276
 
7277
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js":
7277
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js":
7278
7278
  /*!*******************************************************************************************************************************!*\
7279
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js ***!
7279
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js ***!
7280
7280
  \*******************************************************************************************************************************/
7281
7281
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
7282
7282
 
@@ -7295,9 +7295,9 @@ __webpack_require__.r(__webpack_exports__);
7295
7295
  /* harmony export */ RealityDataStatus: () => (/* binding */ RealityDataStatus),
7296
7296
  /* harmony export */ RpcInterfaceStatus: () => (/* binding */ RpcInterfaceStatus)
7297
7297
  /* harmony export */ });
7298
- /* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeSQLite */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BeSQLite.js");
7299
- /* harmony import */ var _internal_RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/RepositoryStatus */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/internal/RepositoryStatus.js");
7300
- /* harmony import */ var _JsonUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./JsonUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js");
7298
+ /* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeSQLite */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BeSQLite.js");
7299
+ /* harmony import */ var _internal_RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/RepositoryStatus */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/internal/RepositoryStatus.js");
7300
+ /* harmony import */ var _JsonUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./JsonUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js");
7301
7301
  /*---------------------------------------------------------------------------------------------
7302
7302
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
7303
7303
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -8027,9 +8027,9 @@ class BentleyError extends Error {
8027
8027
 
8028
8028
  /***/ }),
8029
8029
 
8030
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js":
8030
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js":
8031
8031
  /*!****************************************************************************************************************************************!*\
8032
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js ***!
8032
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js ***!
8033
8033
  \****************************************************************************************************************************************/
8034
8034
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
8035
8035
 
@@ -8058,9 +8058,9 @@ var BentleyLoggerCategory;
8058
8058
 
8059
8059
  /***/ }),
8060
8060
 
8061
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/ByteStream.js":
8061
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/ByteStream.js":
8062
8062
  /*!*****************************************************************************************************************************!*\
8063
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/ByteStream.js ***!
8063
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/ByteStream.js ***!
8064
8064
  \*****************************************************************************************************************************/
8065
8065
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
8066
8066
 
@@ -8069,8 +8069,8 @@ __webpack_require__.r(__webpack_exports__);
8069
8069
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8070
8070
  /* harmony export */ ByteStream: () => (/* binding */ ByteStream)
8071
8071
  /* harmony export */ });
8072
- /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
8073
- /* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Id.js");
8072
+ /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
8073
+ /* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Id.js");
8074
8074
  /*---------------------------------------------------------------------------------------------
8075
8075
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
8076
8076
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -8216,9 +8216,9 @@ class ByteStream {
8216
8216
 
8217
8217
  /***/ }),
8218
8218
 
8219
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/ClassUtils.js":
8219
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/ClassUtils.js":
8220
8220
  /*!*****************************************************************************************************************************!*\
8221
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/ClassUtils.js ***!
8221
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/ClassUtils.js ***!
8222
8222
  \*****************************************************************************************************************************/
8223
8223
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
8224
8224
 
@@ -8259,9 +8259,9 @@ function isSubclassOf(subclass, superclass) {
8259
8259
 
8260
8260
  /***/ }),
8261
8261
 
8262
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Compare.js":
8262
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Compare.js":
8263
8263
  /*!**************************************************************************************************************************!*\
8264
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Compare.js ***!
8264
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Compare.js ***!
8265
8265
  \**************************************************************************************************************************/
8266
8266
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
8267
8267
 
@@ -8410,9 +8410,9 @@ function compareArrays(lhs, rhs, compare) {
8410
8410
 
8411
8411
  /***/ }),
8412
8412
 
8413
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/CompressedId64Set.js":
8413
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/CompressedId64Set.js":
8414
8414
  /*!************************************************************************************************************************************!*\
8415
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/CompressedId64Set.js ***!
8415
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/CompressedId64Set.js ***!
8416
8416
  \************************************************************************************************************************************/
8417
8417
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
8418
8418
 
@@ -8423,10 +8423,10 @@ __webpack_require__.r(__webpack_exports__);
8423
8423
  /* harmony export */ MutableCompressedId64Set: () => (/* binding */ MutableCompressedId64Set),
8424
8424
  /* harmony export */ OrderedId64Array: () => (/* binding */ OrderedId64Array)
8425
8425
  /* harmony export */ });
8426
- /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
8427
- /* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Id.js");
8428
- /* harmony import */ var _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OrderedId64Iterable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js");
8429
- /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
8426
+ /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
8427
+ /* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Id.js");
8428
+ /* harmony import */ var _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OrderedId64Iterable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js");
8429
+ /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
8430
8430
  /*---------------------------------------------------------------------------------------------
8431
8431
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
8432
8432
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -8857,9 +8857,9 @@ class MutableCompressedId64Set {
8857
8857
 
8858
8858
  /***/ }),
8859
8859
 
8860
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js":
8860
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js":
8861
8861
  /*!*****************************************************************************************************************************!*\
8862
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js ***!
8862
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js ***!
8863
8863
  \*****************************************************************************************************************************/
8864
8864
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
8865
8865
 
@@ -8868,7 +8868,7 @@ __webpack_require__.r(__webpack_exports__);
8868
8868
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8869
8869
  /* harmony export */ Dictionary: () => (/* binding */ Dictionary)
8870
8870
  /* harmony export */ });
8871
- /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
8871
+ /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
8872
8872
  /*---------------------------------------------------------------------------------------------
8873
8873
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
8874
8874
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -9077,9 +9077,9 @@ class Dictionary {
9077
9077
 
9078
9078
  /***/ }),
9079
9079
 
9080
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Disposable.js":
9080
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Disposable.js":
9081
9081
  /*!*****************************************************************************************************************************!*\
9082
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Disposable.js ***!
9082
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Disposable.js ***!
9083
9083
  \*****************************************************************************************************************************/
9084
9084
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9085
9085
 
@@ -9207,9 +9207,9 @@ class DisposableList {
9207
9207
 
9208
9208
  /***/ }),
9209
9209
 
9210
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Expect.js":
9210
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Expect.js":
9211
9211
  /*!*************************************************************************************************************************!*\
9212
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Expect.js ***!
9212
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Expect.js ***!
9213
9213
  \*************************************************************************************************************************/
9214
9214
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9215
9215
 
@@ -9259,9 +9259,9 @@ function expectNotNull(value, message) {
9259
9259
 
9260
9260
  /***/ }),
9261
9261
 
9262
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Id.js":
9262
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Id.js":
9263
9263
  /*!*********************************************************************************************************************!*\
9264
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Id.js ***!
9264
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Id.js ***!
9265
9265
  \*********************************************************************************************************************/
9266
9266
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9267
9267
 
@@ -9995,9 +9995,9 @@ var Guid;
9995
9995
 
9996
9996
  /***/ }),
9997
9997
 
9998
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/IndexMap.js":
9998
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/IndexMap.js":
9999
9999
  /*!***************************************************************************************************************************!*\
10000
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/IndexMap.js ***!
10000
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/IndexMap.js ***!
10001
10001
  \***************************************************************************************************************************/
10002
10002
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
10003
10003
 
@@ -10007,7 +10007,7 @@ __webpack_require__.r(__webpack_exports__);
10007
10007
  /* harmony export */ IndexMap: () => (/* binding */ IndexMap),
10008
10008
  /* harmony export */ IndexedValue: () => (/* binding */ IndexedValue)
10009
10009
  /* harmony export */ });
10010
- /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
10010
+ /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
10011
10011
  /*---------------------------------------------------------------------------------------------
10012
10012
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
10013
10013
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -10103,9 +10103,9 @@ class IndexMap {
10103
10103
 
10104
10104
  /***/ }),
10105
10105
 
10106
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/JsonSchema.js":
10106
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/JsonSchema.js":
10107
10107
  /*!*****************************************************************************************************************************!*\
10108
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/JsonSchema.js ***!
10108
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/JsonSchema.js ***!
10109
10109
  \*****************************************************************************************************************************/
10110
10110
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
10111
10111
 
@@ -10123,9 +10123,9 @@ __webpack_require__.r(__webpack_exports__);
10123
10123
 
10124
10124
  /***/ }),
10125
10125
 
10126
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js":
10126
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js":
10127
10127
  /*!****************************************************************************************************************************!*\
10128
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js ***!
10128
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js ***!
10129
10129
  \****************************************************************************************************************************/
10130
10130
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
10131
10131
 
@@ -10291,9 +10291,9 @@ var JsonUtils;
10291
10291
 
10292
10292
  /***/ }),
10293
10293
 
10294
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/LRUMap.js":
10294
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/LRUMap.js":
10295
10295
  /*!*************************************************************************************************************************!*\
10296
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/LRUMap.js ***!
10296
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/LRUMap.js ***!
10297
10297
  \*************************************************************************************************************************/
10298
10298
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
10299
10299
 
@@ -10305,7 +10305,7 @@ __webpack_require__.r(__webpack_exports__);
10305
10305
  /* harmony export */ LRUDictionary: () => (/* binding */ LRUDictionary),
10306
10306
  /* harmony export */ LRUMap: () => (/* binding */ LRUMap)
10307
10307
  /* harmony export */ });
10308
- /* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Dictionary */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js");
10308
+ /* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Dictionary */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js");
10309
10309
  /*---------------------------------------------------------------------------------------------
10310
10310
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
10311
10311
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -10652,9 +10652,9 @@ class LRUDictionary extends LRUCache {
10652
10652
 
10653
10653
  /***/ }),
10654
10654
 
10655
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Logger.js":
10655
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Logger.js":
10656
10656
  /*!*************************************************************************************************************************!*\
10657
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Logger.js ***!
10657
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Logger.js ***!
10658
10658
  \*************************************************************************************************************************/
10659
10659
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
10660
10660
 
@@ -10665,9 +10665,9 @@ __webpack_require__.r(__webpack_exports__);
10665
10665
  /* harmony export */ Logger: () => (/* binding */ Logger),
10666
10666
  /* harmony export */ PerfLogger: () => (/* binding */ PerfLogger)
10667
10667
  /* harmony export */ });
10668
- /* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js");
10669
- /* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
10670
- /* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js");
10668
+ /* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js");
10669
+ /* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
10670
+ /* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js");
10671
10671
  /*---------------------------------------------------------------------------------------------
10672
10672
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
10673
10673
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -10970,9 +10970,9 @@ class PerfLogger {
10970
10970
 
10971
10971
  /***/ }),
10972
10972
 
10973
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/ObservableSet.js":
10973
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/ObservableSet.js":
10974
10974
  /*!********************************************************************************************************************************!*\
10975
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/ObservableSet.js ***!
10975
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/ObservableSet.js ***!
10976
10976
  \********************************************************************************************************************************/
10977
10977
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
10978
10978
 
@@ -10981,7 +10981,7 @@ __webpack_require__.r(__webpack_exports__);
10981
10981
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10982
10982
  /* harmony export */ ObservableSet: () => (/* binding */ ObservableSet)
10983
10983
  /* harmony export */ });
10984
- /* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js");
10984
+ /* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js");
10985
10985
  /*---------------------------------------------------------------------------------------------
10986
10986
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
10987
10987
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -11037,9 +11037,9 @@ class ObservableSet extends Set {
11037
11037
 
11038
11038
  /***/ }),
11039
11039
 
11040
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/OneAtATimeAction.js":
11040
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/OneAtATimeAction.js":
11041
11041
  /*!***********************************************************************************************************************************!*\
11042
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/OneAtATimeAction.js ***!
11042
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/OneAtATimeAction.js ***!
11043
11043
  \***********************************************************************************************************************************/
11044
11044
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
11045
11045
 
@@ -11049,7 +11049,7 @@ __webpack_require__.r(__webpack_exports__);
11049
11049
  /* harmony export */ AbandonedError: () => (/* binding */ AbandonedError),
11050
11050
  /* harmony export */ OneAtATimeAction: () => (/* binding */ OneAtATimeAction)
11051
11051
  /* harmony export */ });
11052
- /* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
11052
+ /* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
11053
11053
  /*---------------------------------------------------------------------------------------------
11054
11054
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
11055
11055
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -11152,9 +11152,9 @@ class OneAtATimeAction {
11152
11152
 
11153
11153
  /***/ }),
11154
11154
 
11155
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js":
11155
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js":
11156
11156
  /*!**************************************************************************************************************************************!*\
11157
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js ***!
11157
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js ***!
11158
11158
  \**************************************************************************************************************************************/
11159
11159
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
11160
11160
 
@@ -11163,7 +11163,7 @@ __webpack_require__.r(__webpack_exports__);
11163
11163
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11164
11164
  /* harmony export */ OrderedId64Iterable: () => (/* binding */ OrderedId64Iterable)
11165
11165
  /* harmony export */ });
11166
- /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
11166
+ /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
11167
11167
  /*---------------------------------------------------------------------------------------------
11168
11168
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
11169
11169
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -11400,9 +11400,9 @@ var OrderedId64Iterable;
11400
11400
 
11401
11401
  /***/ }),
11402
11402
 
11403
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/OrderedSet.js":
11403
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/OrderedSet.js":
11404
11404
  /*!*****************************************************************************************************************************!*\
11405
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/OrderedSet.js ***!
11405
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/OrderedSet.js ***!
11406
11406
  \*****************************************************************************************************************************/
11407
11407
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
11408
11408
 
@@ -11412,7 +11412,7 @@ __webpack_require__.r(__webpack_exports__);
11412
11412
  /* harmony export */ OrderedSet: () => (/* binding */ OrderedSet),
11413
11413
  /* harmony export */ ReadonlyOrderedSet: () => (/* binding */ ReadonlyOrderedSet)
11414
11414
  /* harmony export */ });
11415
- /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
11415
+ /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
11416
11416
  /*---------------------------------------------------------------------------------------------
11417
11417
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
11418
11418
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -11477,9 +11477,9 @@ class OrderedSet extends ReadonlyOrderedSet {
11477
11477
 
11478
11478
  /***/ }),
11479
11479
 
11480
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/PriorityQueue.js":
11480
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/PriorityQueue.js":
11481
11481
  /*!********************************************************************************************************************************!*\
11482
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/PriorityQueue.js ***!
11482
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/PriorityQueue.js ***!
11483
11483
  \********************************************************************************************************************************/
11484
11484
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
11485
11485
 
@@ -11488,7 +11488,7 @@ __webpack_require__.r(__webpack_exports__);
11488
11488
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11489
11489
  /* harmony export */ PriorityQueue: () => (/* binding */ PriorityQueue)
11490
11490
  /* harmony export */ });
11491
- /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
11491
+ /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
11492
11492
  /*---------------------------------------------------------------------------------------------
11493
11493
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
11494
11494
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -11631,9 +11631,9 @@ class PriorityQueue {
11631
11631
 
11632
11632
  /***/ }),
11633
11633
 
11634
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/ProcessDetector.js":
11634
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/ProcessDetector.js":
11635
11635
  /*!**********************************************************************************************************************************!*\
11636
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/ProcessDetector.js ***!
11636
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/ProcessDetector.js ***!
11637
11637
  \**********************************************************************************************************************************/
11638
11638
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
11639
11639
 
@@ -11715,9 +11715,9 @@ class ProcessDetector {
11715
11715
 
11716
11716
  /***/ }),
11717
11717
 
11718
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js":
11718
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js":
11719
11719
  /*!******************************************************************************************************************************!*\
11720
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js ***!
11720
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js ***!
11721
11721
  \******************************************************************************************************************************/
11722
11722
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
11723
11723
 
@@ -12045,9 +12045,9 @@ class SortedArray extends ReadonlySortedArray {
12045
12045
 
12046
12046
  /***/ }),
12047
12047
 
12048
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/StatusCategory.js":
12048
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/StatusCategory.js":
12049
12049
  /*!*********************************************************************************************************************************!*\
12050
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/StatusCategory.js ***!
12050
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/StatusCategory.js ***!
12051
12051
  \*********************************************************************************************************************************/
12052
12052
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
12053
12053
 
@@ -12058,8 +12058,8 @@ __webpack_require__.r(__webpack_exports__);
12058
12058
  /* harmony export */ StatusCategory: () => (/* binding */ StatusCategory),
12059
12059
  /* harmony export */ SuccessCategory: () => (/* binding */ SuccessCategory)
12060
12060
  /* harmony export */ });
12061
- /* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
12062
- /* harmony import */ var _internal_RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/RepositoryStatus */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/internal/RepositoryStatus.js");
12061
+ /* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
12062
+ /* harmony import */ var _internal_RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/RepositoryStatus */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/internal/RepositoryStatus.js");
12063
12063
  /*---------------------------------------------------------------------------------------------
12064
12064
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
12065
12065
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -12462,9 +12462,9 @@ function lookupHttpStatusCategory(statusCode) {
12462
12462
 
12463
12463
  /***/ }),
12464
12464
 
12465
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/StringUtils.js":
12465
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/StringUtils.js":
12466
12466
  /*!******************************************************************************************************************************!*\
12467
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/StringUtils.js ***!
12467
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/StringUtils.js ***!
12468
12468
  \******************************************************************************************************************************/
12469
12469
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
12470
12470
 
@@ -12505,9 +12505,9 @@ function base64StringToUint8Array(base64) {
12505
12505
 
12506
12506
  /***/ }),
12507
12507
 
12508
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Time.js":
12508
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Time.js":
12509
12509
  /*!***********************************************************************************************************************!*\
12510
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Time.js ***!
12510
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Time.js ***!
12511
12511
  \***********************************************************************************************************************/
12512
12512
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
12513
12513
 
@@ -12673,9 +12673,9 @@ class StopWatch {
12673
12673
 
12674
12674
  /***/ }),
12675
12675
 
12676
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Tracing.js":
12676
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Tracing.js":
12677
12677
  /*!**************************************************************************************************************************!*\
12678
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Tracing.js ***!
12678
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Tracing.js ***!
12679
12679
  \**************************************************************************************************************************/
12680
12680
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
12681
12681
 
@@ -12685,7 +12685,7 @@ __webpack_require__.r(__webpack_exports__);
12685
12685
  /* harmony export */ SpanKind: () => (/* binding */ SpanKind),
12686
12686
  /* harmony export */ Tracing: () => (/* binding */ Tracing)
12687
12687
  /* harmony export */ });
12688
- /* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Logger.js");
12688
+ /* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Logger.js");
12689
12689
  /*---------------------------------------------------------------------------------------------
12690
12690
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
12691
12691
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -12853,9 +12853,9 @@ class Tracing {
12853
12853
 
12854
12854
  /***/ }),
12855
12855
 
12856
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/TupleKeyedMap.js":
12856
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/TupleKeyedMap.js":
12857
12857
  /*!********************************************************************************************************************************!*\
12858
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/TupleKeyedMap.js ***!
12858
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/TupleKeyedMap.js ***!
12859
12859
  \********************************************************************************************************************************/
12860
12860
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
12861
12861
 
@@ -12966,9 +12966,9 @@ class TupleKeyedMap {
12966
12966
 
12967
12967
  /***/ }),
12968
12968
 
12969
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/TypedArrayBuilder.js":
12969
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/TypedArrayBuilder.js":
12970
12970
  /*!************************************************************************************************************************************!*\
12971
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/TypedArrayBuilder.js ***!
12971
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/TypedArrayBuilder.js ***!
12972
12972
  \************************************************************************************************************************************/
12973
12973
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
12974
12974
 
@@ -12981,7 +12981,7 @@ __webpack_require__.r(__webpack_exports__);
12981
12981
  /* harmony export */ Uint8ArrayBuilder: () => (/* binding */ Uint8ArrayBuilder),
12982
12982
  /* harmony export */ UintArrayBuilder: () => (/* binding */ UintArrayBuilder)
12983
12983
  /* harmony export */ });
12984
- /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
12984
+ /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
12985
12985
  /*---------------------------------------------------------------------------------------------
12986
12986
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
12987
12987
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -13192,9 +13192,9 @@ class UintArrayBuilder extends TypedArrayBuilder {
13192
13192
 
13193
13193
  /***/ }),
13194
13194
 
13195
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js":
13195
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js":
13196
13196
  /*!***********************************************************************************************************************************!*\
13197
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js ***!
13197
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js ***!
13198
13198
  \***********************************************************************************************************************************/
13199
13199
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13200
13200
 
@@ -13203,7 +13203,7 @@ __webpack_require__.r(__webpack_exports__);
13203
13203
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13204
13204
  /* harmony export */ UnexpectedErrors: () => (/* binding */ UnexpectedErrors)
13205
13205
  /* harmony export */ });
13206
- /* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Logger.js");
13206
+ /* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Logger.js");
13207
13207
  /*---------------------------------------------------------------------------------------------
13208
13208
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
13209
13209
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -13270,9 +13270,9 @@ class UnexpectedErrors {
13270
13270
 
13271
13271
  /***/ }),
13272
13272
 
13273
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/UtilityTypes.js":
13273
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/UtilityTypes.js":
13274
13274
  /*!*******************************************************************************************************************************!*\
13275
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/UtilityTypes.js ***!
13275
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/UtilityTypes.js ***!
13276
13276
  \*******************************************************************************************************************************/
13277
13277
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13278
13278
 
@@ -13321,9 +13321,9 @@ function omit(t, keys) {
13321
13321
 
13322
13322
  /***/ }),
13323
13323
 
13324
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/YieldManager.js":
13324
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/YieldManager.js":
13325
13325
  /*!*******************************************************************************************************************************!*\
13326
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/YieldManager.js ***!
13326
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/YieldManager.js ***!
13327
13327
  \*******************************************************************************************************************************/
13328
13328
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13329
13329
 
@@ -13375,9 +13375,9 @@ class YieldManager {
13375
13375
 
13376
13376
  /***/ }),
13377
13377
 
13378
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js":
13378
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js":
13379
13379
  /*!*******************************************************************************************************************************!*\
13380
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js ***!
13380
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js ***!
13381
13381
  \*******************************************************************************************************************************/
13382
13382
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13383
13383
 
@@ -13484,43 +13484,43 @@ __webpack_require__.r(__webpack_exports__);
13484
13484
  /* harmony export */ using: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.using),
13485
13485
  /* harmony export */ utf8ToString: () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_28__.utf8ToString)
13486
13486
  /* harmony export */ });
13487
- /* harmony import */ var _AccessToken__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccessToken */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/AccessToken.js");
13488
- /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
13489
- /* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js");
13490
- /* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
13491
- /* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js");
13492
- /* harmony import */ var _StatusCategory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./StatusCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/StatusCategory.js");
13493
- /* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./BeSQLite */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/BeSQLite.js");
13494
- /* harmony import */ var _ByteStream__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ByteStream */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/ByteStream.js");
13495
- /* harmony import */ var _ClassUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ClassUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/ClassUtils.js");
13496
- /* harmony import */ var _Compare__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Compare */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Compare.js");
13497
- /* harmony import */ var _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./CompressedId64Set */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/CompressedId64Set.js");
13498
- /* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Dictionary */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js");
13499
- /* harmony import */ var _Disposable__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Disposable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Disposable.js");
13500
- /* harmony import */ var _Expect__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Expect */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Expect.js");
13501
- /* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Id.js");
13502
- /* harmony import */ var _IndexMap__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./IndexMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/IndexMap.js");
13503
- /* harmony import */ var _JsonSchema__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./JsonSchema */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/JsonSchema.js");
13504
- /* harmony import */ var _JsonUtils__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./JsonUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js");
13505
- /* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Logger.js");
13506
- /* harmony import */ var _LRUMap__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./LRUMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/LRUMap.js");
13507
- /* harmony import */ var _ObservableSet__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./ObservableSet */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/ObservableSet.js");
13508
- /* harmony import */ var _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./OneAtATimeAction */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/OneAtATimeAction.js");
13509
- /* harmony import */ var _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./OrderedId64Iterable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js");
13510
- /* harmony import */ var _OrderedSet__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./OrderedSet */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/OrderedSet.js");
13511
- /* harmony import */ var _partitionArray__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./partitionArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/partitionArray.js");
13512
- /* harmony import */ var _PriorityQueue__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./PriorityQueue */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/PriorityQueue.js");
13513
- /* harmony import */ var _ProcessDetector__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./ProcessDetector */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/ProcessDetector.js");
13514
- /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
13515
- /* harmony import */ var _StringUtils__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./StringUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/StringUtils.js");
13516
- /* harmony import */ var _Time__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./Time */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Time.js");
13517
- /* harmony import */ var _Tracing__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./Tracing */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/Tracing.js");
13518
- /* harmony import */ var _TupleKeyedMap__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./TupleKeyedMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/TupleKeyedMap.js");
13519
- /* harmony import */ var _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./TypedArrayBuilder */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/TypedArrayBuilder.js");
13520
- /* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./UnexpectedErrors */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js");
13521
- /* harmony import */ var _UtilityTypes__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./UtilityTypes */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/UtilityTypes.js");
13522
- /* harmony import */ var _YieldManager__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./YieldManager */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/YieldManager.js");
13523
- /* harmony import */ var _internal_cross_package__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./internal/cross-package */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/internal/cross-package.js");
13487
+ /* harmony import */ var _AccessToken__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccessToken */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/AccessToken.js");
13488
+ /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
13489
+ /* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js");
13490
+ /* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
13491
+ /* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js");
13492
+ /* harmony import */ var _StatusCategory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./StatusCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/StatusCategory.js");
13493
+ /* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./BeSQLite */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/BeSQLite.js");
13494
+ /* harmony import */ var _ByteStream__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ByteStream */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/ByteStream.js");
13495
+ /* harmony import */ var _ClassUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ClassUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/ClassUtils.js");
13496
+ /* harmony import */ var _Compare__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Compare */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Compare.js");
13497
+ /* harmony import */ var _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./CompressedId64Set */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/CompressedId64Set.js");
13498
+ /* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Dictionary */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js");
13499
+ /* harmony import */ var _Disposable__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Disposable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Disposable.js");
13500
+ /* harmony import */ var _Expect__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Expect */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Expect.js");
13501
+ /* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Id.js");
13502
+ /* harmony import */ var _IndexMap__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./IndexMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/IndexMap.js");
13503
+ /* harmony import */ var _JsonSchema__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./JsonSchema */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/JsonSchema.js");
13504
+ /* harmony import */ var _JsonUtils__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./JsonUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js");
13505
+ /* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Logger.js");
13506
+ /* harmony import */ var _LRUMap__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./LRUMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/LRUMap.js");
13507
+ /* harmony import */ var _ObservableSet__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./ObservableSet */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/ObservableSet.js");
13508
+ /* harmony import */ var _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./OneAtATimeAction */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/OneAtATimeAction.js");
13509
+ /* harmony import */ var _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./OrderedId64Iterable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js");
13510
+ /* harmony import */ var _OrderedSet__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./OrderedSet */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/OrderedSet.js");
13511
+ /* harmony import */ var _partitionArray__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./partitionArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/partitionArray.js");
13512
+ /* harmony import */ var _PriorityQueue__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./PriorityQueue */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/PriorityQueue.js");
13513
+ /* harmony import */ var _ProcessDetector__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./ProcessDetector */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/ProcessDetector.js");
13514
+ /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
13515
+ /* harmony import */ var _StringUtils__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./StringUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/StringUtils.js");
13516
+ /* harmony import */ var _Time__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./Time */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Time.js");
13517
+ /* harmony import */ var _Tracing__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./Tracing */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/Tracing.js");
13518
+ /* harmony import */ var _TupleKeyedMap__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./TupleKeyedMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/TupleKeyedMap.js");
13519
+ /* harmony import */ var _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./TypedArrayBuilder */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/TypedArrayBuilder.js");
13520
+ /* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./UnexpectedErrors */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js");
13521
+ /* harmony import */ var _UtilityTypes__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./UtilityTypes */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/UtilityTypes.js");
13522
+ /* harmony import */ var _YieldManager__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./YieldManager */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/YieldManager.js");
13523
+ /* harmony import */ var _internal_cross_package__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./internal/cross-package */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/internal/cross-package.js");
13524
13524
  /*---------------------------------------------------------------------------------------------
13525
13525
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
13526
13526
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -13606,9 +13606,9 @@ __webpack_require__.r(__webpack_exports__);
13606
13606
 
13607
13607
  /***/ }),
13608
13608
 
13609
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/internal/BeSQLiteInternal.js":
13609
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/internal/BeSQLiteInternal.js":
13610
13610
  /*!********************************************************************************************************************************************!*\
13611
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/internal/BeSQLiteInternal.js ***!
13611
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/internal/BeSQLiteInternal.js ***!
13612
13612
  \********************************************************************************************************************************************/
13613
13613
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13614
13614
 
@@ -13667,9 +13667,9 @@ var DbConflictResolution;
13667
13667
 
13668
13668
  /***/ }),
13669
13669
 
13670
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/internal/RepositoryStatus.js":
13670
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/internal/RepositoryStatus.js":
13671
13671
  /*!********************************************************************************************************************************************!*\
13672
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/internal/RepositoryStatus.js ***!
13672
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/internal/RepositoryStatus.js ***!
13673
13673
  \********************************************************************************************************************************************/
13674
13674
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13675
13675
 
@@ -13726,9 +13726,9 @@ var RepositoryStatus;
13726
13726
 
13727
13727
  /***/ }),
13728
13728
 
13729
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/internal/cross-package.js":
13729
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/internal/cross-package.js":
13730
13730
  /*!*****************************************************************************************************************************************!*\
13731
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/internal/cross-package.js ***!
13731
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/internal/cross-package.js ***!
13732
13732
  \*****************************************************************************************************************************************/
13733
13733
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13734
13734
 
@@ -13741,8 +13741,8 @@ __webpack_require__.r(__webpack_exports__);
13741
13741
  /* harmony export */ DbValueType: () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__.DbValueType),
13742
13742
  /* harmony export */ RepositoryStatus: () => (/* reexport safe */ _RepositoryStatus__WEBPACK_IMPORTED_MODULE_0__.RepositoryStatus)
13743
13743
  /* harmony export */ });
13744
- /* harmony import */ var _RepositoryStatus__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RepositoryStatus */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/internal/RepositoryStatus.js");
13745
- /* harmony import */ var _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BeSQLiteInternal */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/internal/BeSQLiteInternal.js");
13744
+ /* harmony import */ var _RepositoryStatus__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RepositoryStatus */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/internal/RepositoryStatus.js");
13745
+ /* harmony import */ var _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BeSQLiteInternal */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/internal/BeSQLiteInternal.js");
13746
13746
  /*---------------------------------------------------------------------------------------------
13747
13747
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
13748
13748
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -13753,9 +13753,9 @@ __webpack_require__.r(__webpack_exports__);
13753
13753
 
13754
13754
  /***/ }),
13755
13755
 
13756
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/partitionArray.js":
13756
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/partitionArray.js":
13757
13757
  /*!*********************************************************************************************************************************!*\
13758
- !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/partitionArray.js ***!
13758
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/partitionArray.js ***!
13759
13759
  \*********************************************************************************************************************************/
13760
13760
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13761
13761
 
@@ -59345,30 +59345,58 @@ class Logger {
59345
59345
  const minLevel = Logger.getLevel(category);
59346
59346
  return (minLevel !== undefined) && (level >= minLevel);
59347
59347
  }
59348
- /** Log the specified message to the **error** stream.
59349
- * @param category The category of the message.
59350
- * @param message The message.
59351
- * @param metaData Optional data for the message
59352
- */
59353
- static logError(category, message, metaData) {
59354
- if (Logger._logError && Logger.isEnabled(category, LogLevel.Error))
59355
- Logger._logError(category, message, metaData);
59348
+ // eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
59349
+ static logError(category, messageOrError, metaData) {
59350
+ if (Logger._logError && Logger.isEnabled(category, LogLevel.Error)) {
59351
+ if (typeof messageOrError === "string") {
59352
+ Logger._logError(category, messageOrError, metaData);
59353
+ }
59354
+ else if (_BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.isError(messageOrError)) {
59355
+ // For backwards compatibility, log BentleyError old way
59356
+ Logger._logError(category, Logger.getExceptionMessage(messageOrError), () => ({ ..._BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getErrorMetadata(messageOrError), exceptionType: messageOrError?.constructor?.name ?? "<Unknown>", ..._BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getMetaData(metaData) }));
59357
+ }
59358
+ else {
59359
+ // Else, return a copy of the error, with non-enumerable members `message` and `stack` removed, as "metadata" for log.
59360
+ Logger._logError(category, Logger.getExceptionMessage(messageOrError), Logger.getExceptionMetaData(messageOrError, metaData));
59361
+ }
59362
+ }
59356
59363
  }
59357
- static getExceptionMessage(err) {
59358
- if (err === undefined) {
59359
- return "Error: err is undefined.";
59364
+ /**
59365
+ * Get a sting message for a given error.
59366
+ * For legacy [[BentleyError]] exceptions, this will include the error message and, optionally, the call stack.
59367
+ * For other exceptions, this will include the stringified version of the error.
59368
+ * @param error The error to get the message for
59369
+ * @returns A string message for the error
59370
+ */
59371
+ static getExceptionMessage(error) {
59372
+ if (error === undefined) {
59373
+ return "Error: error is undefined.";
59360
59374
  }
59361
- if (err === null) {
59362
- return "Error: err is null.";
59375
+ if (error === null) {
59376
+ return "Error: error is null.";
59363
59377
  }
59364
- const stack = Logger.logExceptionCallstacks ? `\n${_BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getErrorStack(err)}` : "";
59365
- return _BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getErrorMessage(err) + stack;
59378
+ const stack = Logger.logExceptionCallstacks ? `\n${_BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getErrorStack(error)}` : "";
59379
+ return _BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getErrorMessage(error) + stack;
59380
+ }
59381
+ /**
59382
+ * Merged passed metaData with error properties into one LoggingMetaData, with the passed metaData taking precedence in case of conflict.
59383
+ * @param error The error to be logged as metadata
59384
+ * @param metaData Optional metadata to be merged with the error
59385
+ * @returns A function returning the merged metadata
59386
+ */
59387
+ static getExceptionMetaData(error, metaData) {
59388
+ const exceptionType = error?.constructor?.name ?? "<Unknown>";
59389
+ if (metaData === undefined) {
59390
+ return () => ({ exceptionType, ...error });
59391
+ }
59392
+ return () => ({ exceptionType, ...error, ..._BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getMetaData(metaData) });
59366
59393
  }
59367
59394
  /** Log the specified exception.
59368
59395
  * For legacy [[BentleyError]] exceptions, the special "exceptionType" property will be added as metadata. Otherwise, all enumerable members of the exception are logged as metadata.
59369
59396
  * @param category The category of the message.
59370
59397
  * @param err The exception object.
59371
59398
  * @param log The logger output function to use - defaults to Logger.logError
59399
+ * @deprecated in 5.6. Use logError(category, error, metaData) instead, which will log exceptions in the same way but is more flexible and easier to use.
59372
59400
  */
59373
59401
  static logException(category, err, log = (_category, message, metaData) => Logger.logError(_category, message, metaData)) {
59374
59402
  log(category, Logger.getExceptionMessage(err), () => {
@@ -59484,6 +59512,10 @@ class ObservableSet extends Set {
59484
59512
  onDeleted = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
59485
59513
  /** Emitted after this set's contents are cleared. */
59486
59514
  onCleared = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
59515
+ /** Emitted after multiple items are added to this set via [[addAll]]. */
59516
+ onBatchAdded = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
59517
+ /** Emitted after multiple items are deleted from this set via [[deleteAll]]. */
59518
+ onBatchDeleted = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
59487
59519
  /** Construct a new ObservableSet.
59488
59520
  * @param elements Optional elements with which to populate the new set.
59489
59521
  */
@@ -59516,6 +59548,32 @@ class ObservableSet extends Set {
59516
59548
  this.onCleared.raiseEvent();
59517
59549
  }
59518
59550
  }
59551
+ /** Add multiple items to the set, raising [[onBatchAdded]] only once after all items are added.
59552
+ * This is more efficient than calling [[add]] in a loop when listeners need not be notified of each individual addition.
59553
+ * @param items The items to add.
59554
+ * @returns The number of items that were actually added (i.e., were not already present).
59555
+ */
59556
+ addAll(items) {
59557
+ const prevSize = this.size;
59558
+ for (const item of items)
59559
+ super.add(item);
59560
+ if (this.size !== prevSize)
59561
+ this.onBatchAdded.raiseEvent();
59562
+ return this.size - prevSize;
59563
+ }
59564
+ /** Delete multiple items from the set, raising [[onBatchDeleted]] only once after all items are deleted.
59565
+ * This is more efficient than calling [[delete]] in a loop when listeners need not be notified of each individual deletion.
59566
+ * @param items The items to delete.
59567
+ * @returns The number of items that were actually deleted (i.e., were present in the set).
59568
+ */
59569
+ deleteAll(items) {
59570
+ const prevSize = this.size;
59571
+ for (const item of items)
59572
+ super.delete(item);
59573
+ if (this.size !== prevSize)
59574
+ this.onBatchDeleted.raiseEvent();
59575
+ return prevSize - this.size;
59576
+ }
59519
59577
  }
59520
59578
 
59521
59579
 
@@ -59624,11 +59682,15 @@ class OneAtATimeAction {
59624
59682
  return await promise;
59625
59683
  }
59626
59684
  finally {
59627
- // do all of this whether promise was fulfilled or rejected
59628
- this._active = this._pending; // see if there's a pending request waiting
59629
- this._pending = undefined; // clear pending
59630
- if (this._active)
59631
- this._active.start(); // eslint-disable-line @typescript-eslint/no-floating-promises
59685
+ // A replaced pending request can be abandoned before it ever becomes active.
59686
+ // Only the currently active entry is allowed to promote/start the next pending request.
59687
+ if (this._active === entry) {
59688
+ // do all of this whether promise was fulfilled or rejected
59689
+ this._active = this._pending; // see if there's a pending request waiting
59690
+ this._pending = undefined; // clear pending
59691
+ if (this._active)
59692
+ this._active.start(); // eslint-disable-line @typescript-eslint/no-floating-promises
59693
+ }
59632
59694
  }
59633
59695
  }
59634
59696
  }
@@ -61711,7 +61773,7 @@ class UnexpectedErrors {
61711
61773
  /** handler for logging exception to console */
61712
61774
  static consoleLog = (e) => console.error(e); // eslint-disable-line no-console
61713
61775
  /** handler for logging exception with [[Logger]] */
61714
- static errorLog = (e) => _Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.logException("unhandled", e);
61776
+ static errorLog = (e) => _Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.logError("unhandled", e);
61715
61777
  static _telemetry = [];
61716
61778
  static _handler = this.errorLog; // default to error logging
61717
61779
  constructor() { } // this is a singleton
@@ -84014,7 +84076,7 @@ var ElementGeometry;
84014
84076
  if (entry.text) {
84015
84077
  result = this.appendTextString(new _TextString__WEBPACK_IMPORTED_MODULE_5__.TextString(entry.text));
84016
84078
  }
84017
- else if (entry.color) {
84079
+ else if (undefined !== entry.color) {
84018
84080
  const params = geomParams?.clone() ?? new _GeometryParams__WEBPACK_IMPORTED_MODULE_7__.GeometryParams(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_1__.Id64.invalid);
84019
84081
  if (entry.color !== "subcategory") {
84020
84082
  params.lineColor = _ColorDef__WEBPACK_IMPORTED_MODULE_6__.ColorDef.fromJSON(entry.color);
@@ -102814,7 +102876,8 @@ class SchemaFormatsProvider {
102814
102876
  * @param contextOrLocater The SchemaContext or a different ISchemaLocater implementation used to retrieve the schema. The SchemaContext
102815
102877
  * class implements the ISchemaLocater interface. If the provided locater is not a SchemaContext instance a new SchemaContext will be
102816
102878
  * created and the locater will be added.
102817
- * @param unitSystem Used to lookup a default format through a schema specific algorithm, when the format retrieved is associated with a KindOfQuantity.
102879
+ * @param unitSystem Optional unit system used to lookup a default format through a schema specific algorithm, when the format retrieved is associated with a KindOfQuantity.
102880
+ * If not provided, the default presentation format will be used directly without matching unit systems.
102818
102881
  */
102819
102882
  constructor(contextOrLocater, unitSystem) {
102820
102883
  if (contextOrLocater instanceof _Context__WEBPACK_IMPORTED_MODULE_0__.SchemaContext) {
@@ -102863,39 +102926,44 @@ class SchemaFormatsProvider {
102863
102926
  if (!kindOfQuantity) {
102864
102927
  return undefined;
102865
102928
  }
102866
- // Find the first presentation format that matches the provided unit system.
102867
- const unitSystemMatchers = getUnitSystemGroupMatchers(this._unitSystem);
102868
- const presentationFormats = kindOfQuantity.presentationFormats;
102869
- for (const matcher of unitSystemMatchers) {
102870
- for (const lazyFormat of presentationFormats) {
102871
- const format = await lazyFormat;
102872
- const unit = await (format.units && format.units[0][0]);
102873
- if (!unit) {
102874
- continue;
102875
- }
102876
- const currentUnitSystem = await unit.unitSystem;
102877
- if (currentUnitSystem && matcher(currentUnitSystem)) {
102878
- this._formatsRetrieved.add(itemKey.fullName);
102879
- const props = (0,_Metadata_OverrideFormat__WEBPACK_IMPORTED_MODULE_6__.getFormatProps)(format);
102880
- return this.convertToFormatDefinition(props, kindOfQuantity);
102929
+ // If a unit system is provided, find the first presentation format that matches it.
102930
+ if (this._unitSystem) {
102931
+ const unitSystemMatchers = getUnitSystemGroupMatchers(this._unitSystem);
102932
+ const presentationFormats = kindOfQuantity.presentationFormats;
102933
+ for (const matcher of unitSystemMatchers) {
102934
+ for (const lazyFormat of presentationFormats) {
102935
+ const format = await lazyFormat;
102936
+ const unit = await (format.units && format.units[0][0]);
102937
+ if (!unit) {
102938
+ continue;
102939
+ }
102940
+ const currentUnitSystem = await unit.unitSystem;
102941
+ if (currentUnitSystem && matcher(currentUnitSystem)) {
102942
+ this._formatsRetrieved.add(itemKey.fullName);
102943
+ const props = (0,_Metadata_OverrideFormat__WEBPACK_IMPORTED_MODULE_6__.getFormatProps)(format);
102944
+ return this.convertToFormatDefinition(props, kindOfQuantity);
102945
+ }
102881
102946
  }
102882
102947
  }
102948
+ // If no matching presentation format was found, fall back to persistence unit format
102949
+ // only if it matches the requested unit system.
102950
+ const persistenceUnit = await kindOfQuantity.persistenceUnit;
102951
+ const persistenceUnitSystem = await persistenceUnit?.unitSystem;
102952
+ if (persistenceUnit && persistenceUnitSystem && unitSystemMatchers.some((matcher) => matcher(persistenceUnitSystem))) {
102953
+ this._formatsRetrieved.add(itemKey.fullName);
102954
+ const props = getPersistenceUnitFormatProps(persistenceUnit);
102955
+ return this.convertToFormatDefinition(props, kindOfQuantity);
102956
+ }
102883
102957
  }
102884
- // If no matching presentation format was found, use persistence unit format if it matches unit system.
102885
- const persistenceUnit = await kindOfQuantity.persistenceUnit;
102886
- const persistenceUnitSystem = await persistenceUnit?.unitSystem;
102887
- if (persistenceUnit && persistenceUnitSystem && unitSystemMatchers.some((matcher) => matcher(persistenceUnitSystem))) {
102888
- this._formatsRetrieved.add(itemKey.fullName);
102889
- const props = getPersistenceUnitFormatProps(persistenceUnit);
102890
- return this.convertToFormatDefinition(props, kindOfQuantity);
102891
- }
102958
+ // If no unit system was provided, or no matching format was found, use the default presentation format.
102959
+ // Unit conversion from persistence unit to presentation unit will be handled by FormatterSpec.
102892
102960
  const defaultFormat = kindOfQuantity.defaultPresentationFormat;
102893
- if (!defaultFormat) {
102894
- return undefined;
102961
+ if (defaultFormat) {
102962
+ this._formatsRetrieved.add(itemKey.fullName);
102963
+ const defaultProps = (0,_Metadata_OverrideFormat__WEBPACK_IMPORTED_MODULE_6__.getFormatProps)(await defaultFormat);
102964
+ return this.convertToFormatDefinition(defaultProps, kindOfQuantity);
102895
102965
  }
102896
- this._formatsRetrieved.add(itemKey.fullName);
102897
- const defaultProps = (0,_Metadata_OverrideFormat__WEBPACK_IMPORTED_MODULE_6__.getFormatProps)(await defaultFormat);
102898
- return this.convertToFormatDefinition(defaultProps, kindOfQuantity);
102966
+ return undefined;
102899
102967
  }
102900
102968
  /**
102901
102969
  * Retrieves a Format from a SchemaContext. If the format is part of a KindOfQuantity, the first presentation format in the KindOfQuantity that matches the current unit system will be retrieved.
@@ -119724,6 +119792,18 @@ class CategorySelectorState extends _EntityState__WEBPACK_IMPORTED_MODULE_1__.El
119724
119792
  for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(arg))
119725
119793
  this.categories.delete(id);
119726
119794
  }
119795
+ /** Add one or more categories to this CategorySelector, raising a single batch event instead of one event per category.
119796
+ * This is more efficient than [[addCategories]] when adding many categories at once.
119797
+ */
119798
+ addCategoriesBatched(arg) {
119799
+ this._categories.addAll(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(arg));
119800
+ }
119801
+ /** Remove one or more categories from this CategorySelector, raising a single batch event instead of one event per category.
119802
+ * This is more efficient than [[dropCategories]] when dropping many categories at once.
119803
+ */
119804
+ dropCategoriesBatched(arg) {
119805
+ this._categories.deleteAll(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(arg));
119806
+ }
119727
119807
  /** Add or remove categories from this CategorySelector.
119728
119808
  * @param arg The categories to add or remove
119729
119809
  * @param add If true, categories will be added; otherwise they will be removed.
@@ -123662,7 +123742,7 @@ class CoordinateConverter {
123662
123742
  this._cache.set(requests[j], results[j]);
123663
123743
  }
123664
123744
  }).catch((err) => {
123665
- _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logException(`${_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_2__.FrontendLoggerCategory.Package}.geoservices`, err);
123745
+ _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(`${_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_2__.FrontendLoggerCategory.Package}.geoservices`, err);
123666
123746
  });
123667
123747
  promises.push(promise);
123668
123748
  }
@@ -126194,72 +126274,7 @@ class SnapshotConnection extends IModelConnection {
126194
126274
  /** The collection of loaded ModelState objects for an [[IModelConnection]]. */
126195
126275
  class Models {
126196
126276
  _iModel;
126197
- _modelExtentsQuery = `
126198
- SELECT
126199
- Model.Id AS ECInstanceId,
126200
- iModel_bbox_union(
126201
- iModel_placement_aabb(
126202
- iModel_placement(
126203
- iModel_point(Origin.X, Origin.Y, 0),
126204
- iModel_angles(Rotation, 0, 0),
126205
- iModel_bbox(
126206
- BBoxLow.X, BBoxLow.Y, -1,
126207
- BBoxHigh.X, BBoxHigh.Y, 1
126208
- )
126209
- )
126210
- )
126211
- ) AS bbox
126212
- FROM bis.GeometricElement2d
126213
- WHERE InVirtualSet(:ids64, Model.Id) AND Origin.X IS NOT NULL
126214
- GROUP BY Model.Id
126215
- UNION
126216
- SELECT
126217
- ge.Model.Id AS ECInstanceId,
126218
- iModel_bbox(
126219
- min(i.MinX), min(i.MinY), min(i.MinZ),
126220
- max(i.MaxX), max(i.MaxY), max(i.MaxZ)
126221
- ) AS bbox
126222
- FROM bis.SpatialIndex AS i, bis.GeometricElement3d AS ge, bis.GeometricModel3d AS gm
126223
- WHERE InVirtualSet(:ids64, ge.Model.Id) AND ge.ECInstanceId=i.ECInstanceId AND InVirtualSet(:ids64, gm.ECInstanceId) AND (gm.$->isNotSpatiallyLocated?=false OR gm.$->isNotSpatiallyLocated? IS NULL)
126224
- GROUP BY ge.Model.Id
126225
- UNION
126226
- SELECT
126227
- ge.Model.Id AS ECInstanceId,
126228
- iModel_bbox_union(
126229
- iModel_placement_aabb(
126230
- iModel_placement(
126231
- iModel_point(ge.Origin.X, ge.Origin.Y, ge.Origin.Z),
126232
- iModel_angles(ge.Yaw, ge.Pitch, ge.Roll),
126233
- iModel_bbox(
126234
- ge.BBoxLow.X, ge.BBoxLow.Y, ge.BBoxLow.Z,
126235
- ge.BBoxHigh.X, ge.BBoxHigh.Y, ge.BBoxHigh.Z
126236
- )
126237
- )
126238
- )
126239
- ) AS bbox
126240
- FROM bis.GeometricElement3d AS ge, bis.GeometricModel3d as gm
126241
- WHERE InVirtualSet(:ids64, ge.Model.Id) AND ge.Origin.X IS NOT NULL AND InVirtualSet(:ids64, gm.ECInstanceId) AND gm.$->isNotSpatiallyLocated?=true
126242
- GROUP BY ge.Model.Id`;
126243
- _modelExistenceQuery = `
126244
- WITH
126245
- GeometricModels AS(
126246
- SELECT
126247
- ECInstanceId
126248
- FROM bis.GeometricModel
126249
- WHERE InVirtualSet(: ids64, ECInstanceId)
126250
- )
126251
- SELECT
126252
- ECInstanceId,
126253
- true AS isGeometricModel
126254
- FROM GeometricModels
126255
- UNION ALL
126256
- SELECT
126257
- ECInstanceId,
126258
- false AS isGeometricModel
126259
- FROM bis.Model
126260
- WHERE InVirtualSet(: ids64, ECInstanceId)
126261
- AND ECInstanceId NOT IN(SELECT ECInstanceId FROM GeometricModels)`;
126262
- _loadedExtents = [];
126277
+ _loadedExtents = new Map();
126263
126278
  _geometryChangedListener;
126264
126279
  _loaded = new Map();
126265
126280
  /** @internal */
@@ -126274,7 +126289,9 @@ class SnapshotConnection extends IModelConnection {
126274
126289
  IModelConnection.onOpen.addListener(() => {
126275
126290
  if (this._iModel.isBriefcaseConnection()) {
126276
126291
  this._geometryChangedListener = (changes) => {
126277
- this._loadedExtents = this._loadedExtents.filter((extent) => !changes.some((change) => change.id === extent.id));
126292
+ changes.forEach((change) => {
126293
+ this._loadedExtents.delete(change.id);
126294
+ });
126278
126295
  };
126279
126296
  this._iModel.txns.onModelGeometryChanged.addListener(this._geometryChangedListener);
126280
126297
  }
@@ -126378,64 +126395,132 @@ class SnapshotConnection extends IModelConnection {
126378
126395
  return [];
126379
126396
  if (typeof modelIds === "string")
126380
126397
  modelIds = [modelIds];
126381
- const modelExtents = [];
126398
+ const resolvedExtents = new Map();
126399
+ const uncachedModelIds = [];
126400
+ // Add the cached model ids and the invalid ids
126382
126401
  for (const modelId of modelIds) {
126383
- if (!_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.isValidId64(modelId)) {
126384
- modelExtents.push({ id: modelId, extents: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Range3d.createNull(), status: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.InvalidId });
126402
+ if (this._loadedExtents.has(modelId)) {
126403
+ resolvedExtents.set(modelId, this._loadedExtents.get(modelId));
126385
126404
  }
126386
- }
126387
- const getUnloadedModelIds = () => modelIds.filter((modelId) => !modelExtents.some((loadedExtent) => loadedExtent.id === modelId));
126388
- let remainingModelIds = getUnloadedModelIds();
126389
- for (const modelId of remainingModelIds) {
126390
- const modelExtent = this._loadedExtents.find((extent) => modelId === extent.id);
126391
- if (modelExtent) {
126392
- modelExtents.push(modelExtent);
126405
+ else if (!_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.isValidId64(modelId)) {
126406
+ resolvedExtents.set(modelId, { id: modelId, extents: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Range3d.createNull(), status: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.InvalidId });
126393
126407
  }
126394
- }
126395
- remainingModelIds = getUnloadedModelIds();
126396
- if (remainingModelIds.length > 0) {
126397
- const params = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.QueryBinder();
126398
- params.bindIdSet("ids64", remainingModelIds);
126399
- const extentsQueryReader = this._iModel.createQueryReader(this._modelExtentsQuery, params, {
126408
+ else {
126409
+ uncachedModelIds.push(modelId);
126410
+ }
126411
+ }
126412
+ // Run the ECSql to get uncached model extents
126413
+ if (uncachedModelIds.length > 0) {
126414
+ const modelList = uncachedModelIds.join(",");
126415
+ const useSingleModelQuery = uncachedModelIds.length === 1;
126416
+ const modelExtentsQuery = `
126417
+ SELECT
126418
+ Model.Id AS ECInstanceId,
126419
+ iModel_bbox_union(
126420
+ iModel_placement_aabb(
126421
+ iModel_placement(
126422
+ iModel_point(Origin.X, Origin.Y, 0),
126423
+ iModel_angles(Rotation, 0, 0),
126424
+ iModel_bbox(
126425
+ BBoxLow.X, BBoxLow.Y, -1,
126426
+ BBoxHigh.X, BBoxHigh.Y, 1
126427
+ )
126428
+ )
126429
+ )
126430
+ ) AS bbox
126431
+ FROM bis.GeometricElement2d
126432
+ WHERE Model.Id ${useSingleModelQuery ? `= ${uncachedModelIds[0]}` : `IN (${modelList})`}
126433
+ AND Origin.X IS NOT NULL
126434
+ GROUP BY Model.Id
126435
+
126436
+ UNION
126437
+
126438
+ SELECT
126439
+ ge.Model.Id AS ECInstanceId,
126440
+ iModel_bbox(
126441
+ min(i.MinX), min(i.MinY), min(i.MinZ),
126442
+ max(i.MaxX), max(i.MaxY), max(i.MaxZ)
126443
+ ) AS bbox
126444
+ FROM bis.SpatialIndex AS i
126445
+ INNER JOIN bis.GeometricElement3d AS ge
126446
+ ON ge.ECInstanceId = i.ECInstanceId
126447
+ INNER JOIN bis.GeometricModel3d AS gm
126448
+ ON ge.Model.Id = gm.ECInstanceId
126449
+ WHERE ge.Model.Id ${useSingleModelQuery ? `= ${uncachedModelIds[0]}` : `IN (${modelList})`}
126450
+ AND (gm.$->IsNotSpatiallyLocated? IS NULL OR gm.$->IsNotSpatiallyLocated? IS FALSE)
126451
+ GROUP BY ge.Model.Id
126452
+
126453
+ UNION
126454
+
126455
+ SELECT
126456
+ ge.Model.Id AS ECInstanceId,
126457
+ iModel_bbox_union(
126458
+ iModel_placement_aabb(
126459
+ iModel_placement(
126460
+ iModel_point(ge.Origin.X, ge.Origin.Y, ge.Origin.Z),
126461
+ iModel_angles(ge.Yaw, ge.Pitch, ge.Roll),
126462
+ iModel_bbox(
126463
+ ge.BBoxLow.X, ge.BBoxLow.Y, ge.BBoxLow.Z,
126464
+ ge.BBoxHigh.X, ge.BBoxHigh.Y, ge.BBoxHigh.Z
126465
+ )
126466
+ )
126467
+ )
126468
+ ) AS bbox
126469
+ FROM bis.GeometricElement3d ge
126470
+ INNER JOIN bis.GeometricModel3d gm
126471
+ ON ge.Model.Id = gm.ECInstanceId
126472
+ WHERE ge.Model.Id ${useSingleModelQuery ? `= ${uncachedModelIds[0]}` : `IN (${modelList})`}
126473
+ AND gm.$->IsNotSpatiallyLocated? IS TRUE
126474
+ AND ge.Origin.X IS NOT NULL
126475
+ GROUP BY ge.Model.Id
126476
+ `;
126477
+ const extentsQueryReader = this._iModel.createQueryReader(modelExtentsQuery, undefined, {
126400
126478
  rowFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.QueryRowFormat.UseECSqlPropertyNames,
126401
126479
  });
126402
126480
  for await (const row of extentsQueryReader) {
126403
126481
  const byteArray = new Uint8Array(Object.values(row.bbox));
126404
126482
  const extents = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Range3d.fromArrayBuffer(byteArray.buffer);
126405
126483
  const extent = { id: row.ECInstanceId, extents, status: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.Success };
126406
- modelExtents.push(extent);
126407
- this._loadedExtents.push(extent);
126408
- }
126409
- }
126410
- remainingModelIds = getUnloadedModelIds();
126411
- if (remainingModelIds.length > 0) {
126412
- const params = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.QueryBinder();
126413
- params.bindIdSet("ids64", remainingModelIds);
126414
- const modelExistenceQueryReader = this._iModel.createQueryReader(this._modelExistenceQuery, params, {
126484
+ resolvedExtents.set(extent.id, extent);
126485
+ this._loadedExtents.set(extent.id, extent);
126486
+ }
126487
+ }
126488
+ // Check if there still are any unresolved model IDs
126489
+ const unresolvedModelIds = uncachedModelIds.filter((id) => !resolvedExtents.has(id));
126490
+ if (unresolvedModelIds.length > 0) {
126491
+ const modelList = unresolvedModelIds.join(",");
126492
+ const modelExistenceQuery = `
126493
+ SELECT
126494
+ m.ECInstanceId,
126495
+ CASE WHEN g.ECInstanceId IS NOT NULL THEN 1 ELSE 0 END AS isGeometricModel
126496
+ FROM bis.Model m
126497
+ LEFT JOIN bis.GeometricModel g
126498
+ ON m.ECInstanceId = g.ECInstanceId
126499
+ WHERE m.ECInstanceId ${unresolvedModelIds.length === 1 ? `= ${unresolvedModelIds[0]}` : `IN (${modelList})`}
126500
+ `;
126501
+ const modelExistenceQueryReader = this._iModel.createQueryReader(modelExistenceQuery, undefined, {
126415
126502
  rowFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.QueryRowFormat.UseECSqlPropertyNames,
126416
126503
  });
126417
126504
  for await (const row of modelExistenceQueryReader) {
126418
- let extent;
126419
- if (row.isGeometricModel) {
126420
- extent = { id: row.ECInstanceId, extents: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Range3d.createNull(), status: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.Success };
126421
- }
126422
- else {
126423
- extent = { id: row.ECInstanceId, extents: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Range3d.createNull(), status: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.WrongModel };
126424
- }
126425
- modelExtents.push(extent);
126426
- this._loadedExtents.push(extent);
126505
+ const extent = {
126506
+ id: row.ECInstanceId,
126507
+ extents: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Range3d.createNull(),
126508
+ status: row.isGeometricModel ? _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.Success : _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.WrongModel,
126509
+ };
126510
+ resolvedExtents.set(extent.id, extent);
126511
+ this._loadedExtents.set(extent.id, extent);
126427
126512
  }
126428
126513
  }
126514
+ // Return the results while maintaining the same order
126429
126515
  return modelIds.map((modelId) => {
126430
- let extent = modelExtents.find((loadedExtent) => loadedExtent.id === modelId);
126516
+ const extent = resolvedExtents.get(modelId);
126431
126517
  if (extent === undefined) {
126432
- extent = { id: modelId, extents: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Range3d.createNull(), status: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.NotFound };
126433
- this._loadedExtents.push(extent);
126434
- return extent;
126518
+ const notFound = { id: modelId, extents: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Range3d.createNull(), status: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.NotFound };
126519
+ this._loadedExtents.set(notFound.id, notFound);
126520
+ return notFound;
126435
126521
  }
126436
- else if (extent.status === _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.InvalidId) {
126437
- extent.id = "0";
126438
- return extent;
126522
+ if (extent.status === _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.InvalidId) {
126523
+ return { ...extent, id: "0" };
126439
126524
  }
126440
126525
  return extent;
126441
126526
  });
@@ -135389,6 +135474,8 @@ class ViewState extends _EntityState__WEBPACK_IMPORTED_MODULE_5__.ElementState {
135389
135474
  this._unregisterCategorySelectorListeners.push(cats.onAdded.addListener(event));
135390
135475
  this._unregisterCategorySelectorListeners.push(cats.onDeleted.addListener(event));
135391
135476
  this._unregisterCategorySelectorListeners.push(cats.onCleared.addListener(event));
135477
+ this._unregisterCategorySelectorListeners.push(cats.onBatchAdded.addListener(event));
135478
+ this._unregisterCategorySelectorListeners.push(cats.onBatchDeleted.addListener(event));
135392
135479
  }
135393
135480
  /** Invoked when this view, previously attached to the specified [[Viewport]] via [[attachToViewport]], is no longer the view displayed by that Viewport.
135394
135481
  * This method is invoked automatically by the viewport - there is generally no reason for applications to invoke it directly.
@@ -137415,13 +137502,20 @@ class Viewport {
137415
137502
  * @param categories The Id(s) of the categories to which the change should be applied. No other categories will be affected.
137416
137503
  * @param display Whether or not elements on the specified categories should be displayed in the viewport.
137417
137504
  * @param enableAllSubCategories Specifies that when enabling display for a category, all of its subcategories should also be displayed even if they are overridden to be invisible.
137505
+ * @param batchNotify If true, a single batch event is raised instead of one event per category. This is more efficient when changing many categories at once.
137418
137506
  */
137419
- changeCategoryDisplay(categories, display, enableAllSubCategories = false) {
137507
+ changeCategoryDisplay(categories, display, enableAllSubCategories = false, batchNotify = false) {
137420
137508
  if (!display) {
137421
- this.view.categorySelector.dropCategories(categories);
137509
+ if (batchNotify)
137510
+ this.view.categorySelector.dropCategoriesBatched(categories);
137511
+ else
137512
+ this.view.categorySelector.dropCategories(categories);
137422
137513
  return;
137423
137514
  }
137424
- this.view.categorySelector.addCategories(categories);
137515
+ if (batchNotify)
137516
+ this.view.categorySelector.addCategoriesBatched(categories);
137517
+ else
137518
+ this.view.categorySelector.addCategories(categories);
137425
137519
  const categoryIds = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.toIdSet(categories);
137426
137520
  this.updateSubCategories(categoryIds, enableAllSubCategories);
137427
137521
  }
@@ -186090,7 +186184,7 @@ async function getDecoder() {
186090
186184
  instance.exports.__wasm_call_ctors();
186091
186185
  }
186092
186186
  catch (err) {
186093
- _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logException(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_1__.FrontendLoggerCategory.Render, err);
186187
+ _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_1__.FrontendLoggerCategory.Render, err);
186094
186188
  return undefined;
186095
186189
  }
186096
186190
  function unpack(data) {
@@ -186899,7 +186993,7 @@ async function decodeDracoPointCloud(buf) {
186899
186993
  }
186900
186994
  catch (err) {
186901
186995
  _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logWarning(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_3__.FrontendLoggerCategory.Render, "Failed to decode draco-encoded point cloud");
186902
- _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logException(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_3__.FrontendLoggerCategory.Render, err);
186996
+ _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_3__.FrontendLoggerCategory.Render, err);
186903
186997
  return undefined;
186904
186998
  }
186905
186999
  }
@@ -199187,7 +199281,7 @@ class GltfReader {
199187
199281
  }
199188
199282
  catch (err) {
199189
199283
  _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logWarning(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_9__.FrontendLoggerCategory.Render, "Failed to decode draco-encoded glTF mesh");
199190
- _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logException(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_9__.FrontendLoggerCategory.Render, err);
199284
+ _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_9__.FrontendLoggerCategory.Render, err);
199191
199285
  }
199192
199286
  }
199193
199287
  async _resolveResources() {
@@ -226762,7 +226856,7 @@ class BSplineCurve3dBase extends _curve_CurvePrimitive__WEBPACK_IMPORTED_MODULE_
226762
226856
  * @param result optional pre-allocated detail to populate and return.
226763
226857
  * @returns details of the closest point.
226764
226858
  */
226765
- closestPoint(spacePoint, _extend, result) {
226859
+ closestPoint(spacePoint, _extend = false, result) {
226766
226860
  // seed at start point; final point comes with final bezier perpendicular step
226767
226861
  const point = this.fractionToPoint(0);
226768
226862
  result = _curve_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_3__.CurveLocationDetail.createCurveFractionPointDistance(this, 0.0, point, point.distance(spacePoint), result);
@@ -233996,7 +234090,8 @@ class ClipShape extends ClipPrimitive {
233996
234090
  }
233997
234091
  /**
233998
234092
  * Return true if this ClipShape has a local to world transform
233999
- * @deprecated in 5.1.9 - will not be removed until after 2027-01-05. Use duplicate property [[transformValid]] or type guard [[hasTransformFromClip]] instead.
234093
+ * @deprecated in 5.1.9 - will not be removed until after 2027-01-05. Use duplicate property [[transformValid]] or
234094
+ * type guard [[hasTransformFromClip]] instead.
234000
234095
  */
234001
234096
  get transformIsValid() {
234002
234097
  return this._transformFromClip !== undefined;
@@ -238764,48 +238859,61 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
238764
238859
  /**
238765
238860
  * Return details of the closest point on the arc, optionally extending to full ellipse.
238766
238861
  * @param spacePoint search for point closest to this point.
238767
- * @param extend if true, consider projections to the complete ellipse. If false, consider only endpoints and
238768
- * projections within the arc sweep.
238862
+ * @param extend if true, consider projections to the complete ellipse. If false (default), consider only endpoints
238863
+ * and projections within the arc sweep. Note that for an open arc, extending one end is the same as extending both ends.
238769
238864
  * @param result optional preallocated result.
238770
238865
  */
238771
- closestPoint(spacePoint, extend, result) {
238866
+ closestPoint(spacePoint, extend = false, result) {
238772
238867
  result = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_12__.CurveLocationDetail.create(this, result);
238773
- const allRadians = this.allPerpendicularAngles(spacePoint, true, true);
238774
- let extend0 = _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(extend, 0);
238775
- let extend1 = _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(extend, 1);
238776
- // distinct extends for cyclic space are awkward ....
238777
- if (this._sweep.isFullCircle) {
238778
- extend0 = _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendMode.None;
238779
- extend1 = _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendMode.None;
238780
- }
238781
- if (extend0 !== _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendMode.None && extend1 !== _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendMode.None) {
238782
- allRadians.push(this._sweep.startRadians);
238783
- allRadians.push(this._sweep.endRadians);
238784
- }
238785
- // hm... logically there must at least two angles there ... but if it happens return the start point ...
238868
+ const allRadians = this.allPerpendicularAngles(spacePoint, true, false);
238869
+ // test endpoints if and only if arc is open and unextended
238870
+ if (!this._sweep.isFullCircle) {
238871
+ const extend0 = _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(extend, 0);
238872
+ const extend1 = _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(extend, 1);
238873
+ if (extend0 === _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendMode.None && extend1 === _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendMode.None) {
238874
+ allRadians.push(this._sweep.startRadians);
238875
+ allRadians.push(this._sweep.endRadians);
238876
+ }
238877
+ }
238786
238878
  const workRay = _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_3__.Ray3d.createZero();
238787
- if (allRadians.length === 0) {
238788
- result.setFR(0.0, this.radiansToPointAndDerivative(this._sweep.startRadians, workRay));
238789
- result.a = spacePoint.distance(result.point);
238879
+ if (allRadians.length === 0) { // shouldn't happen; there should always be at least 2 angles
238880
+ result.setFR(0.0, this.radiansToPointAndDerivative(this._sweep.startRadians, workRay), spacePoint.distance(result.point));
238790
238881
  }
238791
238882
  else {
238792
238883
  let dMin = Number.MAX_VALUE;
238793
238884
  let d = 0;
238794
238885
  for (const radians of allRadians) {
238795
- const fraction = _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendOptions.resolveRadiansToSweepFraction(extend, radians, this.sweep);
238796
- if (fraction !== undefined) {
238797
- this.fractionToPointAndDerivative(fraction, workRay);
238886
+ const validatedFraction = _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendOptions.resolveRadiansToValidSweepFraction(extend, radians, this.sweep);
238887
+ if (validatedFraction.isValid) {
238888
+ this.fractionToPointAndDerivative(validatedFraction.fraction, workRay);
238798
238889
  d = spacePoint.distance(workRay.origin);
238799
238890
  if (d < dMin) {
238800
238891
  dMin = d;
238801
- result.setFR(fraction, workRay);
238802
- result.a = d;
238892
+ result.setFR(validatedFraction.fraction, workRay, d);
238803
238893
  }
238804
238894
  }
238805
238895
  }
238806
238896
  }
238807
238897
  return result;
238808
238898
  }
238899
+ /**
238900
+ * Search for a point on the Arc3d that is closest to the spacePoint as viewed in the xy-plane (ignoring z).
238901
+ * * If the space point is exactly on the curve, this is the reverse of fractionToPoint.
238902
+ * * Since CurvePrimitive should always have start and end available as candidate points, this method should always
238903
+ * succeed.
238904
+ * @param spacePoint point in space.
238905
+ * @param extend if true, consider projections to the complete ellipse. If false (default), consider only endpoints
238906
+ * and projections within the arc sweep. Note that for an open arc, extending one end is the same as extending both ends.
238907
+ * @param result (optional) pre-allocated detail to populate and return.
238908
+ * @returns details of the closest point.
238909
+ */
238910
+ closestPointXY(spacePoint, extend = false, result) {
238911
+ // prevent `ClosestPointStroker.claimResult` from clamping an exterior fraction when arc is half-extended
238912
+ const extend0 = _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(extend, 0);
238913
+ const extend1 = _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(extend, 1);
238914
+ extend = extend0 !== _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendMode.None || extend1 !== _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendMode.None;
238915
+ return super.closestPointXY(spacePoint, extend, result); // TODO: implement exact solution instead of deferring to superclass
238916
+ }
238809
238917
  /** Override of [[CurvePrimitive.emitTangents]] for Arc3d. */
238810
238918
  emitTangents(spacePoint, announceTangent, options) {
238811
238919
  const centerToPoint = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.createStartEnd(this.centerRef, spacePoint);
@@ -240352,23 +240460,14 @@ class CurveChainWithDistanceIndex extends _curve_CurvePrimitive__WEBPACK_IMPORTE
240352
240460
  }
240353
240461
  return a;
240354
240462
  }
240355
- /**
240356
- * Search for the curve point that is closest to the spacePoint.
240357
- * * The CurveChainWithDistanceIndex invokes the base class CurvePrimitive method, which (via a handler)
240358
- * determines a CurveLocation detail among the children.
240359
- * * The returned detail directly identifies fractional position along the CurveChainWithDistanceIndex and
240360
- * has pointer to an additional detail for the child curve.
240361
- * @param spacePoint point in space
240362
- * @param extend true to extend the curve
240363
- * @param result optional pre-allocated detail to populate and return.
240364
- * @returns details of the closest point
240365
- */
240366
- closestPoint(spacePoint, extend, result) {
240463
+ computeClosestPoint(spacePoint, extend = false, result, xyOnly = false) {
240367
240464
  let childDetail;
240368
240465
  let aMin = Number.MAX_VALUE;
240369
240466
  const numChildren = this.path.children.length;
240370
240467
  if (numChildren === 1) {
240371
- childDetail = this.path.children[0].closestPoint(spacePoint, extend);
240468
+ childDetail = xyOnly ?
240469
+ this.path.children[0].closestPointXY(spacePoint, extend) :
240470
+ this.path.children[0].closestPoint(spacePoint, extend);
240372
240471
  }
240373
240472
  else {
240374
240473
  const sortedFragments = PathFragment.collectSortedQuickMinDistances(this._fragments, spacePoint);
@@ -240392,7 +240491,8 @@ class CurveChainWithDistanceIndex extends _curve_CurvePrimitive__WEBPACK_IMPORTE
240392
240491
  break;
240393
240492
  CurveChainWithDistanceIndex._numTested++;
240394
240493
  const child = sortedFragment.childCurve;
240395
- detailA = child.closestPoint(spacePoint, sortedFragment === fragment0 ? extend0 : sortedFragment === fragment1 ? extend1 : false, detailA);
240494
+ extend = child === fragment0.childCurve ? extend0 : (child === fragment1.childCurve ? extend1 : false);
240495
+ detailA = xyOnly ? child.closestPointXY(spacePoint, extend, detailA) : child.closestPoint(spacePoint, extend, detailA);
240396
240496
  if (detailA && detailA.a < aMin) {
240397
240497
  aMin = detailA.a;
240398
240498
  childDetail = detailA.clone(childDetail);
@@ -240404,6 +240504,34 @@ class CurveChainWithDistanceIndex extends _curve_CurvePrimitive__WEBPACK_IMPORTE
240404
240504
  return undefined;
240405
240505
  return this.computeChainDetail(childDetail, result);
240406
240506
  }
240507
+ /**
240508
+ * Search for the curve point that is closest to the spacePoint.
240509
+ * * The CurveChainWithDistanceIndex invokes the base class CurvePrimitive method, which (via a handler)
240510
+ * determines a CurveLocation detail among the children.
240511
+ * * The returned detail directly identifies fractional position along the CurveChainWithDistanceIndex and
240512
+ * has pointer to an additional detail for the child curve.
240513
+ * @param spacePoint point in space.
240514
+ * @param extend (optional) compute the closest point to the curve extended according to variant type (default false).
240515
+ * @param result (optional) pre-allocated detail to populate and return.
240516
+ * @returns details of the closest point.
240517
+ */
240518
+ closestPoint(spacePoint, extend = false, result) {
240519
+ return this.computeClosestPoint(spacePoint, extend, result);
240520
+ }
240521
+ /**
240522
+ * Search for the curve point that is closest to the spacePoint as viewed in the xy-plane (ignoring z).
240523
+ * * The CurveChainWithDistanceIndex invokes the base class CurvePrimitive method, which (via a handler)
240524
+ * determines a CurveLocation detail among the children.
240525
+ * * The returned detail directly identifies fractional position along the CurveChainWithDistanceIndex and
240526
+ * has pointer to an additional detail for the child curve.
240527
+ * @param spacePoint point in space.
240528
+ * @param extend (optional) compute the closest point to the curve extended according to variant type (default false).
240529
+ * @param result (optional) pre-allocated detail to populate and return.
240530
+ * @returns details of the closest point.
240531
+ */
240532
+ closestPointXY(spacePoint, extend = false, result) {
240533
+ return this.computeClosestPoint(spacePoint, extend, result, true);
240534
+ }
240407
240535
  /**
240408
240536
  * Construct an offset of each child as viewed in the xy-plane (ignoring z).
240409
240537
  * * No attempt is made to join the offset children. Use RegionOps.constructCurveXYOffset to return a fully
@@ -240505,21 +240633,22 @@ __webpack_require__.r(__webpack_exports__);
240505
240633
  /* harmony export */ CurveCollection: () => (/* binding */ CurveCollection)
240506
240634
  /* harmony export */ });
240507
240635
  /* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
240508
- /* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
240509
- /* harmony import */ var _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../geometry3d/Matrix3d */ "../../core/geometry/lib/esm/geometry3d/Matrix3d.js");
240636
+ /* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
240637
+ /* harmony import */ var _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../geometry3d/Matrix3d */ "../../core/geometry/lib/esm/geometry3d/Matrix3d.js");
240638
+ /* harmony import */ var _CurveExtendMode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./CurveExtendMode */ "../../core/geometry/lib/esm/curve/CurveExtendMode.js");
240510
240639
  /* harmony import */ var _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./CurveLocationDetail */ "../../core/geometry/lib/esm/curve/CurveLocationDetail.js");
240511
- /* harmony import */ var _CurvePrimitive__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./CurvePrimitive */ "../../core/geometry/lib/esm/curve/CurvePrimitive.js");
240640
+ /* harmony import */ var _CurvePrimitive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./CurvePrimitive */ "../../core/geometry/lib/esm/curve/CurvePrimitive.js");
240512
240641
  /* harmony import */ var _GeometryQuery__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./GeometryQuery */ "../../core/geometry/lib/esm/curve/GeometryQuery.js");
240513
- /* harmony import */ var _internalContexts_AnnounceTangentStrokeHandler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./internalContexts/AnnounceTangentStrokeHandler */ "../../core/geometry/lib/esm/curve/internalContexts/AnnounceTangentStrokeHandler.js");
240514
- /* harmony import */ var _internalContexts_CloneCurvesContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./internalContexts/CloneCurvesContext */ "../../core/geometry/lib/esm/curve/internalContexts/CloneCurvesContext.js");
240515
- /* harmony import */ var _internalContexts_CloneWithExpandedLineStrings__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./internalContexts/CloneWithExpandedLineStrings */ "../../core/geometry/lib/esm/curve/internalContexts/CloneWithExpandedLineStrings.js");
240516
- /* harmony import */ var _internalContexts_CountLinearPartsSearchContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./internalContexts/CountLinearPartsSearchContext */ "../../core/geometry/lib/esm/curve/internalContexts/CountLinearPartsSearchContext.js");
240517
- /* harmony import */ var _internalContexts_GapSearchContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./internalContexts/GapSearchContext */ "../../core/geometry/lib/esm/curve/internalContexts/GapSearchContext.js");
240518
- /* harmony import */ var _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./internalContexts/PlaneAltitudeRangeContext */ "../../core/geometry/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js");
240642
+ /* harmony import */ var _internalContexts_AnnounceTangentStrokeHandler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./internalContexts/AnnounceTangentStrokeHandler */ "../../core/geometry/lib/esm/curve/internalContexts/AnnounceTangentStrokeHandler.js");
240643
+ /* harmony import */ var _internalContexts_CloneCurvesContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./internalContexts/CloneCurvesContext */ "../../core/geometry/lib/esm/curve/internalContexts/CloneCurvesContext.js");
240644
+ /* harmony import */ var _internalContexts_CloneWithExpandedLineStrings__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./internalContexts/CloneWithExpandedLineStrings */ "../../core/geometry/lib/esm/curve/internalContexts/CloneWithExpandedLineStrings.js");
240645
+ /* harmony import */ var _internalContexts_CountLinearPartsSearchContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./internalContexts/CountLinearPartsSearchContext */ "../../core/geometry/lib/esm/curve/internalContexts/CountLinearPartsSearchContext.js");
240646
+ /* harmony import */ var _internalContexts_GapSearchContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./internalContexts/GapSearchContext */ "../../core/geometry/lib/esm/curve/internalContexts/GapSearchContext.js");
240647
+ /* harmony import */ var _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./internalContexts/PlaneAltitudeRangeContext */ "../../core/geometry/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js");
240519
240648
  /* harmony import */ var _internalContexts_SumLengthsContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./internalContexts/SumLengthsContext */ "../../core/geometry/lib/esm/curve/internalContexts/SumLengthsContext.js");
240520
- /* harmony import */ var _internalContexts_TransformInPlaceContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./internalContexts/TransformInPlaceContext */ "../../core/geometry/lib/esm/curve/internalContexts/TransformInPlaceContext.js");
240521
- /* harmony import */ var _LineString3d__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./LineString3d */ "../../core/geometry/lib/esm/curve/LineString3d.js");
240522
- /* harmony import */ var _ProxyCurve__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./ProxyCurve */ "../../core/geometry/lib/esm/curve/ProxyCurve.js");
240649
+ /* harmony import */ var _internalContexts_TransformInPlaceContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./internalContexts/TransformInPlaceContext */ "../../core/geometry/lib/esm/curve/internalContexts/TransformInPlaceContext.js");
240650
+ /* harmony import */ var _LineString3d__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./LineString3d */ "../../core/geometry/lib/esm/curve/LineString3d.js");
240651
+ /* harmony import */ var _ProxyCurve__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./ProxyCurve */ "../../core/geometry/lib/esm/curve/ProxyCurve.js");
240523
240652
  /*---------------------------------------------------------------------------------------------
240524
240653
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
240525
240654
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -240543,6 +240672,7 @@ __webpack_require__.r(__webpack_exports__);
240543
240672
 
240544
240673
 
240545
240674
 
240675
+
240546
240676
  /**
240547
240677
  * A `CurveCollection` is an abstract (non-instantiable) class for various sets of curves with particular structures:
240548
240678
  * - [[CurveChain]] - a non-instantiable intermediate class for a sequence of [[CurvePrimitive]] joining head-to-tail.
@@ -240565,27 +240695,47 @@ class CurveCollection extends _GeometryQuery__WEBPACK_IMPORTED_MODULE_1__.Geomet
240565
240695
  sumLengths() {
240566
240696
  return _internalContexts_SumLengthsContext__WEBPACK_IMPORTED_MODULE_2__.SumLengthsContext.sumLengths(this);
240567
240697
  }
240568
- /**
240569
- * Return the closest point on the contained curves.
240570
- * @param spacePoint point in space.
240571
- * @param _extend unused here (pass false), but applicable to overrides in [[Path]] and [[BagOfCurves]].
240572
- * @param result optional pre-allocated detail to populate and return.
240573
- * @returns details of the closest point.
240574
- */
240575
- closestPoint(spacePoint, _extend = false, result) {
240698
+ computeClosestPoint(spacePoint, extend = false, result, xyOnly = false) {
240576
240699
  let detailA;
240577
240700
  const detailB = new _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_3__.CurveLocationDetail();
240578
- if (this.children !== undefined) {
240579
- for (const child of this.children) {
240580
- if (child.closestPoint(spacePoint, false, detailB)) {
240581
- const smaller = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_3__.CurveLocationDetail.chooseSmallerA(detailA, detailB);
240582
- (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== smaller, "expect defined because detailB is always defined");
240583
- detailA = result = smaller.clone(result);
240584
- }
240701
+ let ext = this.isAnyRegion() ? false : extend;
240702
+ for (let i = 0; i < this.children.length; i++) {
240703
+ const child = this.children[i];
240704
+ if (this.isPath()) {
240705
+ // head only extends at start; tail only at end. NOTE: child may be both head and tail!
240706
+ const mode0 = (i === 0) ? _CurveExtendMode__WEBPACK_IMPORTED_MODULE_4__.CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(extend, 0) : _CurveExtendMode__WEBPACK_IMPORTED_MODULE_4__.CurveExtendMode.None;
240707
+ const mode1 = (i === this.children.length - 1) ? _CurveExtendMode__WEBPACK_IMPORTED_MODULE_4__.CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(extend, 1) : _CurveExtendMode__WEBPACK_IMPORTED_MODULE_4__.CurveExtendMode.None;
240708
+ ext = [mode0, mode1];
240709
+ }
240710
+ const cp = xyOnly ? child.closestPointXY(spacePoint, ext, detailB) : child.closestPoint(spacePoint, ext, detailB);
240711
+ if (cp) {
240712
+ const smaller = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_3__.CurveLocationDetail.chooseSmallerA(detailA, detailB);
240713
+ (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== smaller, "expect defined because detailB is always defined");
240714
+ detailA = result = smaller.clone(result);
240585
240715
  }
240586
240716
  }
240587
240717
  return detailA;
240588
240718
  }
240719
+ /**
240720
+ * Return the closest point on the contained curves.
240721
+ * @param spacePoint point in space.
240722
+ * @param extend extend applicable only to [[Path]] and [[BagOfCurves]]. Default value `false`.
240723
+ * @param result (optional) pre-allocated detail to populate and return.
240724
+ * @returns details of the closest point.
240725
+ */
240726
+ closestPoint(spacePoint, extend = false, result) {
240727
+ return this.computeClosestPoint(spacePoint, extend, result);
240728
+ }
240729
+ /**
240730
+ * Return the closest point on the contained curves as viewed in the xy-plane (ignoring z).
240731
+ * @param spacePoint point in space.
240732
+ * @param extend (optional) extend applicable only to [[Path]] and [[BagOfCurves]]. Default value `false`.
240733
+ * @param result (optional) pre-allocated detail to populate and return.
240734
+ * @returns details of the closest point.
240735
+ */
240736
+ closestPointXY(spacePoint, extend = false, result) {
240737
+ return this.computeClosestPoint(spacePoint, extend, result, true);
240738
+ }
240589
240739
  /**
240590
240740
  * Announce all points `P` on the contained curves such that the line containing `spacePoint` and `P` is tangent to
240591
240741
  * the contained curves in the view defined by `options.vectorToEye`.
@@ -240598,10 +240748,10 @@ class CurveCollection extends _GeometryQuery__WEBPACK_IMPORTED_MODULE_1__.Geomet
240598
240748
  * @param options (optional) options for computing tangents. See [[TangentOptions]] for defaults.
240599
240749
  */
240600
240750
  emitTangents(spacePoint, announceTangent, options) {
240601
- const strokeHandler = new _internalContexts_AnnounceTangentStrokeHandler__WEBPACK_IMPORTED_MODULE_4__.AnnounceTangentStrokeHandler(spacePoint, announceTangent, options);
240751
+ const strokeHandler = new _internalContexts_AnnounceTangentStrokeHandler__WEBPACK_IMPORTED_MODULE_5__.AnnounceTangentStrokeHandler(spacePoint, announceTangent, options);
240602
240752
  if (this.children !== undefined) {
240603
240753
  for (const child of this.children) {
240604
- if (child instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_5__.CurvePrimitive)
240754
+ if (child instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_6__.CurvePrimitive)
240605
240755
  child.emitStrokableParts(strokeHandler, options?.strokeOptions);
240606
240756
  else if (child instanceof CurveCollection)
240607
240757
  child.emitTangents(spacePoint, announceTangent, options);
@@ -240633,12 +240783,12 @@ class CurveCollection extends _GeometryQuery__WEBPACK_IMPORTED_MODULE_1__.Geomet
240633
240783
  const hint = options?.hintPoint ?? spacePoint;
240634
240784
  let toLocal;
240635
240785
  if (options?.vectorToEye && !options.vectorToEye.isExactEqual({ x: 0, y: 0, z: 1 }))
240636
- toLocal = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_6__.Matrix3d.createRigidViewAxesZTowardsEye(options.vectorToEye.x, options.vectorToEye.y, options.vectorToEye.z);
240786
+ toLocal = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_7__.Matrix3d.createRigidViewAxesZTowardsEye(options.vectorToEye.x, options.vectorToEye.y, options.vectorToEye.z);
240637
240787
  const measureHintDist2 = (pt) => {
240638
240788
  return toLocal?.multiplyTransposeXYZ(hint.x - pt.x, hint.y - pt.y, hint.z - pt.z).magnitudeSquaredXY() ?? pt.distanceSquaredXY(hint);
240639
240789
  };
240640
240790
  let closestTangent;
240641
- let closestDist2 = _Geometry__WEBPACK_IMPORTED_MODULE_7__.Geometry.largeCoordinateResult;
240791
+ let closestDist2 = _Geometry__WEBPACK_IMPORTED_MODULE_8__.Geometry.largeCoordinateResult;
240642
240792
  const collectClosestTangent = (tangent) => {
240643
240793
  const dist2 = measureHintDist2(tangent.point);
240644
240794
  if (!closestTangent || dist2 < closestDist2) {
@@ -240662,27 +240812,27 @@ class CurveCollection extends _GeometryQuery__WEBPACK_IMPORTED_MODULE_1__.Geomet
240662
240812
  * "unstructured" so gaps should not be semantically meaningful.
240663
240813
  */
240664
240814
  maxGap() {
240665
- return _internalContexts_GapSearchContext__WEBPACK_IMPORTED_MODULE_8__.GapSearchContext.maxGap(this);
240815
+ return _internalContexts_GapSearchContext__WEBPACK_IMPORTED_MODULE_9__.GapSearchContext.maxGap(this);
240666
240816
  }
240667
240817
  /** Return true if the curve collection has any primitives other than LineSegment3d and LineString3d */
240668
240818
  checkForNonLinearPrimitives() {
240669
- return _internalContexts_CountLinearPartsSearchContext__WEBPACK_IMPORTED_MODULE_9__.CountLinearPartsSearchContext.hasNonLinearPrimitives(this);
240819
+ return _internalContexts_CountLinearPartsSearchContext__WEBPACK_IMPORTED_MODULE_10__.CountLinearPartsSearchContext.hasNonLinearPrimitives(this);
240670
240820
  }
240671
240821
  /** Apply transform recursively to children */
240672
240822
  tryTransformInPlace(transform) {
240673
- return _internalContexts_TransformInPlaceContext__WEBPACK_IMPORTED_MODULE_10__.TransformInPlaceContext.tryTransformInPlace(this, transform);
240823
+ return _internalContexts_TransformInPlaceContext__WEBPACK_IMPORTED_MODULE_11__.TransformInPlaceContext.tryTransformInPlace(this, transform);
240674
240824
  }
240675
240825
  /** Return a deep copy. */
240676
240826
  clone() {
240677
- return _internalContexts_CloneCurvesContext__WEBPACK_IMPORTED_MODULE_11__.CloneCurvesContext.clone(this);
240827
+ return _internalContexts_CloneCurvesContext__WEBPACK_IMPORTED_MODULE_12__.CloneCurvesContext.clone(this);
240678
240828
  }
240679
240829
  /** Create a deep copy of transformed curves. */
240680
240830
  cloneTransformed(transform) {
240681
- return _internalContexts_CloneCurvesContext__WEBPACK_IMPORTED_MODULE_11__.CloneCurvesContext.clone(this, transform);
240831
+ return _internalContexts_CloneCurvesContext__WEBPACK_IMPORTED_MODULE_12__.CloneCurvesContext.clone(this, transform);
240682
240832
  }
240683
240833
  /** Create a deep copy with all linestrings broken down into multiple LineSegment3d. */
240684
240834
  cloneWithExpandedLineStrings() {
240685
- return _internalContexts_CloneWithExpandedLineStrings__WEBPACK_IMPORTED_MODULE_12__.CloneWithExpandedLineStrings.clone(this);
240835
+ return _internalContexts_CloneWithExpandedLineStrings__WEBPACK_IMPORTED_MODULE_13__.CloneWithExpandedLineStrings.clone(this);
240686
240836
  }
240687
240837
  /**
240688
240838
  * Push all CurvePrimitives contained in the instance onto the `results` array.
@@ -240692,7 +240842,7 @@ class CurveCollection extends _GeometryQuery__WEBPACK_IMPORTED_MODULE_1__.Geomet
240692
240842
  collectCurvePrimitivesGo(results, smallestPossiblePrimitives, explodeLinestrings = false) {
240693
240843
  if (this.children) {
240694
240844
  for (const child of this.children) {
240695
- if (child instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_5__.CurvePrimitive)
240845
+ if (child instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_6__.CurvePrimitive)
240696
240846
  child.collectCurvePrimitivesGo(results, smallestPossiblePrimitives, explodeLinestrings);
240697
240847
  else if (child instanceof CurveCollection)
240698
240848
  child.collectCurvePrimitivesGo(results, smallestPossiblePrimitives, explodeLinestrings);
@@ -240772,7 +240922,7 @@ class CurveCollection extends _GeometryQuery__WEBPACK_IMPORTED_MODULE_1__.Geomet
240772
240922
  static createCurveLocationDetailOnAnyCurvePrimitive(source, fraction = 0.5) {
240773
240923
  if (!source)
240774
240924
  return undefined;
240775
- if (source instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_5__.CurvePrimitive) {
240925
+ if (source instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_6__.CurvePrimitive) {
240776
240926
  return _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_3__.CurveLocationDetail.createCurveEvaluatedFraction(source, fraction);
240777
240927
  }
240778
240928
  else if (source instanceof CurveCollection && source.children !== undefined)
@@ -240792,7 +240942,7 @@ class CurveCollection extends _GeometryQuery__WEBPACK_IMPORTED_MODULE_1__.Geomet
240792
240942
  * end of the ray.
240793
240943
  */
240794
240944
  projectedParameterRange(ray, lowHigh) {
240795
- return _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_13__.PlaneAltitudeRangeContext.findExtremeFractionsAlongDirection(this, ray, lowHigh);
240945
+ return _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_14__.PlaneAltitudeRangeContext.findExtremeFractionsAlongDirection(this, ray, lowHigh);
240796
240946
  }
240797
240947
  /** Return the immediate parent of the input curve in the instance, or undefined if it is not a descendant. */
240798
240948
  findParentOfDescendant(descendant) {
@@ -240853,7 +241003,7 @@ class CurveChain extends CurveCollection {
240853
241003
  * @param tolerance optional distance tolerance (default is [[Geometry.smallMetricDistance]])
240854
241004
  * @param xyOnly if true, ignore z coordinate (default is `false`)
240855
241005
  */
240856
- isPhysicallyClosedCurve(tolerance = _Geometry__WEBPACK_IMPORTED_MODULE_7__.Geometry.smallMetricDistance, xyOnly = false) {
241006
+ isPhysicallyClosedCurve(tolerance = _Geometry__WEBPACK_IMPORTED_MODULE_8__.Geometry.smallMetricDistance, xyOnly = false) {
240857
241007
  const p0 = this.startPoint();
240858
241008
  const p1 = this.endPoint();
240859
241009
  return p0 !== undefined && p1 !== undefined && (xyOnly ? p0.isAlmostEqualXY(p1, tolerance) : p0.isAlmostEqual(p1, tolerance));
@@ -240893,7 +241043,7 @@ class CurveChain extends CurveCollection {
240893
241043
  if (index >= 0 && index < n) // try simplest non-cyclic access first
240894
241044
  return this.children[index];
240895
241045
  if (cyclic) {
240896
- const index2 = _Geometry__WEBPACK_IMPORTED_MODULE_7__.Geometry.modulo(index, n);
241046
+ const index2 = _Geometry__WEBPACK_IMPORTED_MODULE_8__.Geometry.modulo(index, n);
240897
241047
  return this.children[index2];
240898
241048
  }
240899
241049
  return undefined;
@@ -240913,7 +241063,7 @@ class CurveChain extends CurveCollection {
240913
241063
  const children = tree.children;
240914
241064
  if (children.length === 1) {
240915
241065
  const ls = children[0];
240916
- if (ls instanceof _LineString3d__WEBPACK_IMPORTED_MODULE_14__.LineString3d)
241066
+ if (ls instanceof _LineString3d__WEBPACK_IMPORTED_MODULE_15__.LineString3d)
240917
241067
  return ls.packedPoints;
240918
241068
  }
240919
241069
  }
@@ -240925,7 +241075,7 @@ class CurveChain extends CurveCollection {
240925
241075
  * @return whether the child was added
240926
241076
  */
240927
241077
  tryAddChild(child) {
240928
- if (child && child instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_5__.CurvePrimitive) {
241078
+ if (child && child instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_6__.CurvePrimitive) {
240929
241079
  this._curves.push(child);
240930
241080
  return true;
240931
241081
  }
@@ -240967,7 +241117,7 @@ class CurveChain extends CurveCollection {
240967
241117
  if (alsoSearchProxies ?? false) {
240968
241118
  for (let i = 0; i < this._curves.length; i++) {
240969
241119
  const childCurve = this._curves[i];
240970
- if (childCurve instanceof _ProxyCurve__WEBPACK_IMPORTED_MODULE_15__.ProxyCurve) {
241120
+ if (childCurve instanceof _ProxyCurve__WEBPACK_IMPORTED_MODULE_16__.ProxyCurve) {
240971
241121
  if (childCurve.proxyCurve === target)
240972
241122
  return i;
240973
241123
  }
@@ -241031,8 +241181,8 @@ class BagOfCurves extends CurveCollection {
241031
241181
  const clone = new BagOfCurves();
241032
241182
  let child;
241033
241183
  for (child of this.children) {
241034
- if (child instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_5__.CurvePrimitive) {
241035
- const ls = _LineString3d__WEBPACK_IMPORTED_MODULE_14__.LineString3d.create();
241184
+ if (child instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_6__.CurvePrimitive) {
241185
+ const ls = _LineString3d__WEBPACK_IMPORTED_MODULE_15__.LineString3d.create();
241036
241186
  child.emitStrokes(ls, options);
241037
241187
  if (ls)
241038
241188
  clone.children.push(ls);
@@ -241045,27 +241195,6 @@ class BagOfCurves extends CurveCollection {
241045
241195
  }
241046
241196
  return clone;
241047
241197
  }
241048
- /**
241049
- * Return the closest point on the contained curves.
241050
- * @param spacePoint point in space.
241051
- * @param extend applicable only to children of type [[CurvePrimitive]], [[Path]], or [[BagOfCurves]]
241052
- * @param result optional pre-allocated detail to populate and return.
241053
- * @returns details of the closest point.
241054
- */
241055
- closestPoint(spacePoint, extend = false, result) {
241056
- let detailA;
241057
- const detailB = new _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_3__.CurveLocationDetail();
241058
- if (this.children !== undefined) {
241059
- for (const child of this.children) {
241060
- if (child.closestPoint(spacePoint, extend, detailB)) {
241061
- const smaller = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_3__.CurveLocationDetail.chooseSmallerA(detailA, detailB);
241062
- (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== smaller, "expect defined because detailB is always defined");
241063
- detailA = result = smaller.clone(result);
241064
- }
241065
- }
241066
- }
241067
- return detailA;
241068
- }
241069
241198
  /** Return an empty `BagOfCurves` */
241070
241199
  cloneEmptyPeer() {
241071
241200
  return new BagOfCurves();
@@ -241263,7 +241392,7 @@ var CurveExtendMode;
241263
241392
  (function (CurveExtendMode) {
241264
241393
  /** No extension allowed. */
241265
241394
  CurveExtendMode[CurveExtendMode["None"] = 0] = "None";
241266
- /** Extend along continuation of the end tangent. */
241395
+ /** Extend along continuation of the end tangent. Not implemented. */
241267
241396
  CurveExtendMode[CurveExtendMode["OnTangent"] = 1] = "OnTangent";
241268
241397
  /** Extend along continuation of the curve. */
241269
241398
  CurveExtendMode[CurveExtendMode["OnCurve"] = 2] = "OnCurve";
@@ -241281,6 +241410,7 @@ class CurveExtendOptions {
241281
241410
  * * Return dereferenced array at entry `endIndex` if the param is an array of CurveExtendMode.
241282
241411
  */
241283
241412
  static resolveVariantCurveExtendParameterToCurveExtendMode(param, endIndex) {
241413
+ param ??= false;
241284
241414
  if (param === false)
241285
241415
  return CurveExtendMode.None;
241286
241416
  if (param === true)
@@ -241296,6 +241426,7 @@ class CurveExtendOptions {
241296
241426
  * * If fraction is greater than 1 use `extendParam` to decide whether to return it unchanged, or to return 1.
241297
241427
  */
241298
241428
  static correctFraction(extendParam, fraction) {
241429
+ extendParam ??= false;
241299
241430
  if (fraction < 0) {
241300
241431
  const mode = CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(extendParam, 0);
241301
241432
  if (mode === CurveExtendMode.None)
@@ -241319,6 +241450,7 @@ class CurveExtendOptions {
241319
241450
  * the sweep extended per `extendParam`.
241320
241451
  */
241321
241452
  static resolveRadiansToValidSweepFraction(extendParam, radians, sweep) {
241453
+ extendParam ??= false;
241322
241454
  let fraction = sweep.radiansToSignedPeriodicFraction(radians);
241323
241455
  let isValid = true;
241324
241456
  if (!sweep.isRadiansInSweep(radians)) {
@@ -243310,15 +243442,31 @@ class CurvePrimitive extends _GeometryQuery__WEBPACK_IMPORTED_MODULE_1__.Geometr
243310
243442
  * * Since CurvePrimitive should always have start and end available as candidate points, this method should always
243311
243443
  * succeed.
243312
243444
  * @param spacePoint point in space.
243313
- * @param extend (optional) compute the closest point to the curve extended according to variant type (default false)
243445
+ * @param extend (optional) compute the closest point to the curve extended according to variant type (default false).
243314
243446
  * @param result (optional) pre-allocated detail to populate and return.
243315
243447
  * @returns details of the closest point.
243316
243448
  */
243317
- closestPoint(spacePoint, extend, result) {
243449
+ closestPoint(spacePoint, extend = false, result) {
243318
243450
  const strokeHandler = new _internalContexts_ClosestPointStrokeHandler__WEBPACK_IMPORTED_MODULE_10__.ClosestPointStrokeHandler(spacePoint, extend, result);
243319
243451
  this.emitStrokableParts(strokeHandler);
243320
243452
  return strokeHandler.claimResult();
243321
243453
  }
243454
+ /**
243455
+ * Search for a point on the curve that is closest to `spacePoint`, ignoring z-coordinates.
243456
+ * * This is equivalent to finding the closest point as seen in the top view.
243457
+ * * If the space point is exactly on the curve, this is the reverse of fractionToPoint.
243458
+ * * Since CurvePrimitive should always have start and end available as candidate points, this method should always
243459
+ * succeed.
243460
+ * @param spacePoint point in space.
243461
+ * @param extend (optional) compute the closest point to the curve extended according to variant type (default false).
243462
+ * @param result (optional) pre-allocated detail to populate and return.
243463
+ * @returns details of the closest point.
243464
+ */
243465
+ closestPointXY(spacePoint, extend = false, result) {
243466
+ const strokeHandler = new _internalContexts_ClosestPointStrokeHandler__WEBPACK_IMPORTED_MODULE_10__.ClosestPointStrokeHandler(spacePoint, extend, result, true);
243467
+ this.emitStrokableParts(strokeHandler);
243468
+ return strokeHandler.claimResult();
243469
+ }
243322
243470
  /**
243323
243471
  * Announce all points `P` on the curve such that the line containing `spacePoint` and `P` is tangent to the curve in
243324
243472
  * the view defined by `options.vectorToEye`.
@@ -244145,12 +244293,12 @@ class LineSegment3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePr
244145
244293
  /**
244146
244294
  * Returns a curve location detail with both xyz and fractional coordinates of the closest point.
244147
244295
  * @param spacePoint point in space
244148
- * @param extend if false, only return points within the bounded line segment. If true, allow the point to be on
244296
+ * @param extend if false (default), only return points within the bounded line segment. If true, allow the point to be on
244149
244297
  * the unbounded line that contains the bounded segment.
244150
244298
  * @param result optional pre-allocated object to populate and return
244151
244299
  * @returns detail, with `a` field set to the distance from `spacePoint` to the closest point
244152
244300
  */
244153
- closestPoint(spacePoint, extend, result) {
244301
+ closestPoint(spacePoint, extend = false, result) {
244154
244302
  let fraction = spacePoint.fractionOfProjectionToLine(this._point0, this._point1, 0.0);
244155
244303
  fraction = _CurveExtendMode__WEBPACK_IMPORTED_MODULE_5__.CurveExtendOptions.correctFraction(extend, fraction);
244156
244304
  result = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_6__.CurveLocationDetail.create(this, result);
@@ -245365,7 +245513,7 @@ class LineString3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_2__.CurvePri
245365
245513
  return undefined;
245366
245514
  }
245367
245515
  /** Find the point on the linestring (including its segment interiors) that is closest to spacePoint. */
245368
- closestPoint(spacePoint, extend, result) {
245516
+ closestPoint(spacePoint, extend = false, result) {
245369
245517
  result = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_13__.CurveLocationDetail.create(this, result);
245370
245518
  const extend0 = _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(extend, 0);
245371
245519
  const extend1 = _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__.CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(extend, 1);
@@ -246527,24 +246675,15 @@ __webpack_require__.r(__webpack_exports__);
246527
246675
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
246528
246676
  /* harmony export */ Path: () => (/* binding */ Path)
246529
246677
  /* harmony export */ });
246530
- /* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
246531
- /* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
246532
- /* harmony import */ var _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./CurveChainWithDistanceIndex */ "../../core/geometry/lib/esm/curve/CurveChainWithDistanceIndex.js");
246533
- /* harmony import */ var _CurveCollection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./CurveCollection */ "../../core/geometry/lib/esm/curve/CurveCollection.js");
246534
- /* harmony import */ var _CurveExtendMode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./CurveExtendMode */ "../../core/geometry/lib/esm/curve/CurveExtendMode.js");
246535
- /* harmony import */ var _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./CurveLocationDetail */ "../../core/geometry/lib/esm/curve/CurveLocationDetail.js");
246536
- /* harmony import */ var _CurvePrimitive__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./CurvePrimitive */ "../../core/geometry/lib/esm/curve/CurvePrimitive.js");
246537
- /* harmony import */ var _LineString3d__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./LineString3d */ "../../core/geometry/lib/esm/curve/LineString3d.js");
246678
+ /* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
246679
+ /* harmony import */ var _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./CurveChainWithDistanceIndex */ "../../core/geometry/lib/esm/curve/CurveChainWithDistanceIndex.js");
246680
+ /* harmony import */ var _CurveCollection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CurveCollection */ "../../core/geometry/lib/esm/curve/CurveCollection.js");
246681
+ /* harmony import */ var _CurvePrimitive__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./CurvePrimitive */ "../../core/geometry/lib/esm/curve/CurvePrimitive.js");
246682
+ /* harmony import */ var _LineString3d__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./LineString3d */ "../../core/geometry/lib/esm/curve/LineString3d.js");
246538
246683
  /*---------------------------------------------------------------------------------------------
246539
246684
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
246540
246685
  * See LICENSE.md in the project root for license terms and full copyright notice.
246541
246686
  *--------------------------------------------------------------------------------------------*/
246542
- /** @packageDocumentation
246543
- * @module Curve
246544
- */
246545
-
246546
-
246547
-
246548
246687
 
246549
246688
 
246550
246689
 
@@ -246556,7 +246695,7 @@ __webpack_require__.r(__webpack_exports__);
246556
246695
  * @see [Curve Collections]($docs/learning/geometry/CurveCollection.md) learning article.
246557
246696
  * @public
246558
246697
  */
246559
- class Path extends _CurveCollection__WEBPACK_IMPORTED_MODULE_1__.CurveChain {
246698
+ class Path extends _CurveCollection__WEBPACK_IMPORTED_MODULE_0__.CurveChain {
246560
246699
  /** String name for schema properties */
246561
246700
  curveCollectionType = "path";
246562
246701
  /** Test if `other` is an instance of `Path` */
@@ -246579,18 +246718,18 @@ class Path extends _CurveCollection__WEBPACK_IMPORTED_MODULE_1__.CurveChain {
246579
246718
  static create(...curves) {
246580
246719
  const result = new Path();
246581
246720
  for (const curve of curves) {
246582
- if (curve instanceof _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_2__.CurveChainWithDistanceIndex)
246721
+ if (curve instanceof _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_1__.CurveChainWithDistanceIndex)
246583
246722
  result.children.push(...curve.path.children);
246584
- else if (curve instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_3__.CurvePrimitive)
246723
+ else if (curve instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_2__.CurvePrimitive)
246585
246724
  result.children.push(curve);
246586
- else if (Array.isArray(curve) && curve.length > 0 && curve[0] instanceof _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Point3d) {
246587
- result.children.push(_LineString3d__WEBPACK_IMPORTED_MODULE_5__.LineString3d.create(curve));
246725
+ else if (Array.isArray(curve) && curve.length > 0 && curve[0] instanceof _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_3__.Point3d) {
246726
+ result.children.push(_LineString3d__WEBPACK_IMPORTED_MODULE_4__.LineString3d.create(curve));
246588
246727
  }
246589
246728
  }
246590
246729
  return result;
246591
246730
  }
246592
246731
  /**
246593
- * Create a path from a an array of curve primitives.
246732
+ * Create a path from an array of curve primitives.
246594
246733
  * @param curves array of individual curve primitives.
246595
246734
  */
246596
246735
  static createArray(curves) {
@@ -246598,39 +246737,11 @@ class Path extends _CurveCollection__WEBPACK_IMPORTED_MODULE_1__.CurveChain {
246598
246737
  }
246599
246738
  /** Return a deep copy, with leaf-level curve primitives stroked. */
246600
246739
  cloneStroked(options) {
246601
- const strokes = _LineString3d__WEBPACK_IMPORTED_MODULE_5__.LineString3d.create();
246740
+ const strokes = _LineString3d__WEBPACK_IMPORTED_MODULE_4__.LineString3d.create();
246602
246741
  for (const curve of this.children)
246603
246742
  curve.emitStrokes(strokes, options);
246604
246743
  return Path.create(strokes);
246605
246744
  }
246606
- /**
246607
- * Return the closest point on the contained curves.
246608
- * @param spacePoint point in space.
246609
- * @param extend compute the closest point to the path extended according to variant type:
246610
- * * false: do not extend the path
246611
- * * true: extend the path at both start and end
246612
- * * CurveExtendOptions: extend the path in the specified manner at both start and end
246613
- * * CurveExtendOptions[]: first entry applies to path start; second, to path end; any other entries ignored
246614
- * @param result optional pre-allocated detail to populate and return.
246615
- * @returns details of the closest point.
246616
- */
246617
- closestPoint(spacePoint, extend = false, result) {
246618
- let detailA;
246619
- const detailB = new _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_6__.CurveLocationDetail();
246620
- if (this.children !== undefined) {
246621
- for (let i = 0; i < this.children.length; i++) {
246622
- const child = this.children[i]; // head only extends at start; tail, only at end. NOTE: child may be both head and tail!
246623
- const mode0 = (i === 0) ? _CurveExtendMode__WEBPACK_IMPORTED_MODULE_7__.CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(extend, 0) : _CurveExtendMode__WEBPACK_IMPORTED_MODULE_7__.CurveExtendMode.None;
246624
- const mode1 = (i === this.children.length - 1) ? _CurveExtendMode__WEBPACK_IMPORTED_MODULE_7__.CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(extend, 1) : _CurveExtendMode__WEBPACK_IMPORTED_MODULE_7__.CurveExtendMode.None;
246625
- if (child.closestPoint(spacePoint, [mode0, mode1], detailB)) {
246626
- const smaller = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_6__.CurveLocationDetail.chooseSmallerA(detailA, detailB);
246627
- (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== smaller, "expect defined because detailB is always defined");
246628
- detailA = result = smaller.clone(result);
246629
- }
246630
- }
246631
- }
246632
- return detailA;
246633
- }
246634
246745
  /** Return the boundary type (1) of a corresponding MicroStation CurveVector */
246635
246746
  dgnBoundaryType() {
246636
246747
  return 1;
@@ -251761,6 +251872,7 @@ __webpack_require__.r(__webpack_exports__);
251761
251872
  /* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
251762
251873
  /* harmony import */ var _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../geometry3d/Ray3d */ "../../core/geometry/lib/esm/geometry3d/Ray3d.js");
251763
251874
  /* harmony import */ var _numerics_Newton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../numerics/Newton */ "../../core/geometry/lib/esm/numerics/Newton.js");
251875
+ /* harmony import */ var _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../numerics/SmallSystem */ "../../core/geometry/lib/esm/numerics/SmallSystem.js");
251764
251876
  /* harmony import */ var _CurveExtendMode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../CurveExtendMode */ "../../core/geometry/lib/esm/curve/CurveExtendMode.js");
251765
251877
  /* harmony import */ var _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../CurveLocationDetail */ "../../core/geometry/lib/esm/curve/CurveLocationDetail.js");
251766
251878
  /* harmony import */ var _NewtonRtoRStrokeHandler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./NewtonRtoRStrokeHandler */ "../../core/geometry/lib/esm/curve/internalContexts/NewtonRtoRStrokeHandler.js");
@@ -251779,6 +251891,7 @@ __webpack_require__.r(__webpack_exports__);
251779
251891
 
251780
251892
 
251781
251893
 
251894
+
251782
251895
  /**
251783
251896
  * Context for searching for the closest point to a CurvePrimitive.
251784
251897
  * @internal
@@ -251788,6 +251901,7 @@ class ClosestPointStrokeHandler extends _NewtonRtoRStrokeHandler__WEBPACK_IMPORT
251788
251901
  _closestPoint;
251789
251902
  _spacePoint;
251790
251903
  _extend;
251904
+ _xyOnly;
251791
251905
  // fraction and function value on one side of an interval that may bracket a root
251792
251906
  _fractionA = 0;
251793
251907
  _functionA = 0;
@@ -251800,7 +251914,7 @@ class ClosestPointStrokeHandler extends _NewtonRtoRStrokeHandler__WEBPACK_IMPORT
251800
251914
  _workRay;
251801
251915
  _newtonSolver;
251802
251916
  /** Constructor */
251803
- constructor(spacePoint, extend, result) {
251917
+ constructor(spacePoint, extend, result, xyOnly) {
251804
251918
  super();
251805
251919
  this._spacePoint = spacePoint;
251806
251920
  this._workPoint = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.create();
@@ -251809,6 +251923,7 @@ class ClosestPointStrokeHandler extends _NewtonRtoRStrokeHandler__WEBPACK_IMPORT
251809
251923
  if (this._closestPoint)
251810
251924
  this._closestPoint.a = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.largeCoordinateResult;
251811
251925
  this._extend = extend ?? false;
251926
+ this._xyOnly = xyOnly ?? false;
251812
251927
  this.startCurvePrimitive(undefined);
251813
251928
  this._newtonSolver = new _numerics_Newton__WEBPACK_IMPORTED_MODULE_5__.Newton1dUnboundedApproximateDerivative(this);
251814
251929
  }
@@ -251849,7 +251964,7 @@ class ClosestPointStrokeHandler extends _NewtonRtoRStrokeHandler__WEBPACK_IMPORT
251849
251964
  }
251850
251965
  }
251851
251966
  announceCandidate(cp, fraction, point) {
251852
- const distance = this._spacePoint.distance(point);
251967
+ const distance = this._xyOnly ? this._spacePoint.distanceXY(point) : this._spacePoint.distance(point);
251853
251968
  if (this._closestPoint && distance > this._closestPoint.a)
251854
251969
  return;
251855
251970
  this._closestPoint = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_7__.CurveLocationDetail.createCurveFractionPoint(cp, fraction, point, this._closestPoint);
@@ -251858,16 +251973,15 @@ class ClosestPointStrokeHandler extends _NewtonRtoRStrokeHandler__WEBPACK_IMPORT
251858
251973
  this._closestPoint.curve = this._parentCurvePrimitive;
251859
251974
  }
251860
251975
  announceSegmentInterval(cp, point0, point1, _numStrokes, fraction0, fraction1) {
251861
- let localFraction = this._spacePoint.fractionOfProjectionToLine(point0, point1, 0.0);
251862
- // only consider extending the segment if the immediate caller says we are at endpoints
251863
- if (!this._extend)
251864
- localFraction = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.clampToStartEnd(localFraction, 0.0, 1.0);
251865
- else {
251866
- if (fraction0 !== 0.0)
251867
- localFraction = Math.max(localFraction, 0.0);
251868
- if (fraction1 !== 1.0)
251869
- localFraction = Math.min(localFraction, 1.0);
251870
- }
251976
+ let localFraction = 0;
251977
+ if (this._xyOnly)
251978
+ localFraction = _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_8__.SmallSystem.lineSegment3dXYClosestPointUnbounded(point0, point1, this._spacePoint) ?? 0;
251979
+ else
251980
+ localFraction = this._spacePoint.fractionOfProjectionToLine(point0, point1, 0.0);
251981
+ // only consider segment extension at a parent curve endpoint, i.e. when fraction0 is 0 or fraction1 is 1
251982
+ const extend0 = (fraction0 === 0) ? _CurveExtendMode__WEBPACK_IMPORTED_MODULE_6__.CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(this._extend, 0) : _CurveExtendMode__WEBPACK_IMPORTED_MODULE_6__.CurveExtendMode.None;
251983
+ const extend1 = (fraction1 === 1) ? _CurveExtendMode__WEBPACK_IMPORTED_MODULE_6__.CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(this._extend, 1) : _CurveExtendMode__WEBPACK_IMPORTED_MODULE_6__.CurveExtendMode.None;
251984
+ localFraction = _CurveExtendMode__WEBPACK_IMPORTED_MODULE_6__.CurveExtendOptions.correctFraction([extend0, extend1], localFraction);
251871
251985
  this._workPoint = point0.interpolate(localFraction, point1);
251872
251986
  const globalFraction = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.interpolate(fraction0, localFraction, fraction1);
251873
251987
  this.announceCandidate(cp, globalFraction, this._workPoint);
@@ -251916,7 +252030,10 @@ class ClosestPointStrokeHandler extends _NewtonRtoRStrokeHandler__WEBPACK_IMPORT
251916
252030
  this._workRay = curve.fractionToPointAndDerivative(fraction, this._workRay);
251917
252031
  else
251918
252032
  return undefined;
251919
- return this._workRay.dotProductToPoint(this._spacePoint);
252033
+ if (this._xyOnly)
252034
+ return this._workRay.dotProductToPointXY(this._spacePoint);
252035
+ else
252036
+ return this._workRay.dotProductToPoint(this._spacePoint);
251920
252037
  }
251921
252038
  evaluate(fraction) {
251922
252039
  let curve = this._curve;
@@ -263254,7 +263371,8 @@ class Ellipsoid {
263254
263371
  * @param angleB end point of arc (given as angles on this ellipsoid)
263255
263372
  * @returns arc in the plane defined by the normal at the intermediate point. If calculation fails, return an
263256
263373
  * arc with zero matrix.
263257
- * @deprecated in 5.1.9 - will not be removed until after 2027-01-05. Prefer [[sectionArcInPlaneOfInterpolatedNormal]], which has expanded return type.
263374
+ * @deprecated in 5.1.9 - will not be removed until after 2027-01-05. Prefer [[sectionArcInPlaneOfInterpolatedNormal]],
263375
+ * which has expanded return type.
263258
263376
  */
263259
263377
  sectionArcWithIntermediateNormal(angleA, intermediateNormalFraction, angleB) {
263260
263378
  const arc = this.sectionArcInPlaneOfInterpolatedNormal(angleA, intermediateNormalFraction, angleB);
@@ -280450,6 +280568,13 @@ class Ray3d {
280450
280568
  dotProductToPoint(spacePoint) {
280451
280569
  return this.direction.dotProductStartEnd(this.origin, spacePoint);
280452
280570
  }
280571
+ /**
280572
+ * Return the XY dot product of the ray's direction vector with a vector from the ray origin to the `spacePoint`.
280573
+ * * Ignores the z component of both ray's direction and spacePoint.
280574
+ */
280575
+ dotProductToPointXY(spacePoint) {
280576
+ return this.direction.dotProductStartEndXY(this.origin, spacePoint);
280577
+ }
280453
280578
  /** Return the fractional coordinate (along the direction vector) of the `spacePoint` projected to the ray. */
280454
280579
  pointToFraction(spacePoint) {
280455
280580
  return _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.safeDivideFraction(this.dotProductToPoint(spacePoint), this.direction.magnitudeSquared(), 0);
@@ -287744,7 +287869,8 @@ class CurvePointCloseApproachXYRtoRD extends NewtonEvaluatorRtoRD {
287744
287869
  /**
287745
287870
  * To find a close approach between xy-curve P(u) and xy-point q we should solve
287746
287871
  * F(u) := P'(u).(P(u) - q) = 0
287747
- * For a solution u, the segment S(u) := P(u) - q is perpendicular to the curve tangent P'(u), which means S(u) is a close approach.
287872
+ * For a solution u, the segment S(u) := P(u) - q is perpendicular to the curve tangent P'(u), which means S(u) is
287873
+ * a close approach.
287748
287874
  * Using the Newton method we can find the fractions u at the close approach location via
287749
287875
  * u_{n+1} = u_n + F(u_n)/F'(u_n) = u_n + [ P'(u_n).S(u_n) ]/[ P''(u_n).S(u_n) + P'(u_n).P'(u_n) ]
287750
287876
  * Note that this is xy close approach so we can ignore z.
@@ -345177,7 +345303,7 @@ class TestContext {
345177
345303
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
345178
345304
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
345179
345305
  await core_frontend_1.NoRenderApp.startup({
345180
- applicationVersion: "5.7.0-dev.9",
345306
+ applicationVersion: "5.8.0-dev.1",
345181
345307
  applicationId: this.settings.gprid,
345182
345308
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
345183
345309
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
@@ -349139,7 +349265,7 @@ var ConcatenatedValue;
349139
349265
  Object.defineProperty(exports, "__esModule", ({ value: true }));
349140
349266
  exports.formatConcatenatedValue = formatConcatenatedValue;
349141
349267
  exports.createDefaultValueFormatter = createDefaultValueFormatter;
349142
- const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
349268
+ const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
349143
349269
  const ConcatenatedValue_js_1 = __webpack_require__(/*! ./ConcatenatedValue.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.8/node_modules/@itwin/presentation-shared/lib/cjs/shared/ConcatenatedValue.js");
349144
349270
  const Utils_js_1 = __webpack_require__(/*! ./Utils.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.8/node_modules/@itwin/presentation-shared/lib/cjs/shared/Utils.js");
349145
349271
  /**
@@ -349469,7 +349595,7 @@ exports.NOOP_LOGGER = {
349469
349595
  Object.defineProperty(exports, "__esModule", ({ value: true }));
349470
349596
  exports.createCachingECClassHierarchyInspector = createCachingECClassHierarchyInspector;
349471
349597
  exports.getClass = getClass;
349472
- const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
349598
+ const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
349473
349599
  const Utils_js_1 = __webpack_require__(/*! ./Utils.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.8/node_modules/@itwin/presentation-shared/lib/cjs/shared/Utils.js");
349474
349600
  /**
349475
349601
  * Creates a new `ECClassHierarchyInspector` that caches results of `derivesFrom` calls.
@@ -349536,7 +349662,7 @@ exports.trimWhitespace = trimWhitespace;
349536
349662
  exports.releaseMainThread = releaseMainThread;
349537
349663
  exports.createMainThreadReleaseOnTimePassedHandler = createMainThreadReleaseOnTimePassedHandler;
349538
349664
  exports.julianToDateTime = julianToDateTime;
349539
- const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
349665
+ const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
349540
349666
  /**
349541
349667
  * An utility to parse schema and class names from full class name, where
349542
349668
  * schema and class names are separated by either `:` or `.`.
@@ -349638,7 +349764,7 @@ function julianToDateTime(julianDate) {
349638
349764
  *--------------------------------------------------------------------------------------------*/
349639
349765
  Object.defineProperty(exports, "__esModule", ({ value: true }));
349640
349766
  exports.TypedPrimitiveValue = exports.PrimitiveValue = exports.InstanceKey = void 0;
349641
- const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
349767
+ const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
349642
349768
  /** @public */
349643
349769
  var InstanceKey;
349644
349770
  (function (InstanceKey) {
@@ -349961,7 +350087,7 @@ exports.createInstanceKeySelector = createInstanceKeySelector;
349961
350087
  exports.createNullableSelector = createNullableSelector;
349962
350088
  exports.createConcatenatedValueJsonSelector = createConcatenatedValueJsonSelector;
349963
350089
  exports.createConcatenatedValueStringSelector = createConcatenatedValueStringSelector;
349964
- const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
350090
+ const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.6.1/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
349965
350091
  const Metadata_js_1 = __webpack_require__(/*! ../Metadata.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.8/node_modules/@itwin/presentation-shared/lib/cjs/shared/Metadata.js");
349966
350092
  const Values_js_1 = __webpack_require__(/*! ../Values.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.8/node_modules/@itwin/presentation-shared/lib/cjs/shared/Values.js");
349967
350093
  /** @public */
@@ -352371,11 +352497,14 @@ class ElementPropertiesAppender {
352371
352497
  this._propertyItems[label] = item;
352372
352498
  }
352373
352499
  finish() {
352374
- // eslint-disable-next-line guard-for-in
352375
- for (const categoryName in this._categoryItemAppenders) {
352376
- const appender = this._categoryItemAppenders[categoryName];
352377
- appender.finish();
352378
- }
352500
+ // create an ordered list of category depths / appenders starting with categories that have the most ancestors and finishing with categories
352501
+ // that have no ancestors, so that when we call `finish` on appenders, child categories are finished before parent categories, otherwise
352502
+ // we may skip parent categories, thinking they have no items
352503
+ const categoriesNestedToRoot = new core_bentley_1.SortedArray((lhs, rhs) => rhs.categoryDepth - lhs.categoryDepth, core_bentley_1.DuplicatePolicy.Allow);
352504
+ Object.entries(this._categoryItemAppenders).forEach(([_, { category, appender }]) => {
352505
+ categoriesNestedToRoot.insert({ categoryDepth: countAncestors(category), appender });
352506
+ });
352507
+ categoriesNestedToRoot.forEach(({ appender }) => appender.finish());
352379
352508
  this._onItemFinished({
352380
352509
  class: this._item.classInfo?.label ?? "",
352381
352510
  id: this._item.primaryKeys[0]?.id ?? core_bentley_1.Id64.invalid,
@@ -352384,12 +352513,12 @@ class ElementPropertiesAppender {
352384
352513
  });
352385
352514
  }
352386
352515
  getCategoryAppender(parentAppender, category) {
352387
- let appender = this._categoryItemAppenders[category.name];
352388
- if (!appender) {
352389
- appender = new CategoryItemAppender(parentAppender, category);
352390
- this._categoryItemAppenders[category.name] = appender;
352516
+ let entry = this._categoryItemAppenders[category.name];
352517
+ if (!entry) {
352518
+ entry = { category, appender: new CategoryItemAppender(parentAppender, category) };
352519
+ this._categoryItemAppenders[category.name] = entry;
352391
352520
  }
352392
- return appender;
352521
+ return entry.appender;
352393
352522
  }
352394
352523
  }
352395
352524
  class CategoryItemAppender {
@@ -352546,6 +352675,9 @@ class ElementPropertiesBuilder {
352546
352675
  });
352547
352676
  }
352548
352677
  }
352678
+ function countAncestors(child) {
352679
+ return child.parent ? 1 + countAncestors(child.parent) : 0;
352680
+ }
352549
352681
 
352550
352682
 
352551
352683
  /***/ }),
@@ -353186,14 +353318,13 @@ class KoqPropertyValueFormatter {
353186
353318
  }
353187
353319
  const persistenceUnit = await koq.persistenceUnit;
353188
353320
  (0, core_bentley_1.assert)(!!persistenceUnit);
353189
- // default to metric as it's the persistence unit system
353190
- const unitSystem = options.unitSystem ?? "metric";
353321
+ const unitSystem = options.unitSystem;
353191
353322
  const formatsProvider = this._formatsProvider ?? new ecschema_metadata_1.SchemaFormatsProvider(this._schemaContext, unitSystem);
353192
353323
  const formatProps = await formatsProvider.getFormat(koqName);
353193
353324
  // `SchemaFormatsProvider` will fall back to default presentation format, but we want to fall back
353194
353325
  // to default formats' map first, and only then to the default presentation format. All of this can
353195
353326
  // be removed with the removal of default formats map.
353196
- if (this._defaultFormats && (!formatProps || (await getUnitSystemKey(this._unitsProvider, formatProps)) !== unitSystem)) {
353327
+ if (unitSystem && this._defaultFormats && (!formatProps || (await getUnitSystemKey(this._unitsProvider, formatProps)) !== unitSystem)) {
353197
353328
  const defaultFormatProps = await getFormatPropsFromDefaultFormats({
353198
353329
  schemaContext: this._schemaContext,
353199
353330
  formatsMap: this._defaultFormats,
@@ -354615,7 +354746,7 @@ function createContentTraverser(visitor, descriptorArg) {
354615
354746
  }
354616
354747
  try {
354617
354748
  if (memo?.descriptor !== descriptor) {
354618
- const fieldHierarchies = createFieldHierarchies(descriptor.fields);
354749
+ const fieldHierarchies = createFieldHierarchies(descriptor.selectedFields);
354619
354750
  visitor.processFieldHierarchies({ hierarchies: fieldHierarchies });
354620
354751
  memo = { descriptor, fieldHierarchies };
354621
354752
  }
@@ -355241,6 +355372,8 @@ class Descriptor {
355241
355372
  * This is useful for filtering instances of specific class.
355242
355373
  */
355243
355374
  instanceFilter;
355375
+ #fieldsSelector;
355376
+ #selectedFields;
355244
355377
  /** Construct a new Descriptor using a [[DescriptorSource]] */
355245
355378
  constructor(source) {
355246
355379
  this.connectionId = source.connectionId;
@@ -355256,6 +355389,7 @@ class Descriptor {
355256
355389
  this.fieldsFilterExpression = source.fieldsFilterExpression;
355257
355390
  this.instanceFilter = source.instanceFilter;
355258
355391
  this.ruleset = source.ruleset;
355392
+ this.#fieldsSelector = source.fieldsSelector;
355259
355393
  }
355260
355394
  /** Serialize [[Descriptor]] to JSON */
355261
355395
  toJSON() {
@@ -355323,6 +355457,35 @@ class Descriptor {
355323
355457
  getFieldByDescriptor(fieldDescriptor, recurse) {
355324
355458
  return (0, Fields_js_1.getFieldByDescriptor)(this.fields, fieldDescriptor, recurse);
355325
355459
  }
355460
+ /**
355461
+ * Fields selector that allows excluding or including only specified fields. When set, the `selectedFields`
355462
+ * property will return a subset of `fields` based on the selector configuration.
355463
+ */
355464
+ get fieldsSelector() {
355465
+ return this.#fieldsSelector;
355466
+ }
355467
+ set fieldsSelector(selector) {
355468
+ this.#fieldsSelector = selector;
355469
+ this.#selectedFields = undefined; // reset cached selected fields
355470
+ }
355471
+ /** Get selected fields based on `fields` in this descriptor and `fieldsSelector`. */
355472
+ get selectedFields() {
355473
+ if (!this.#fieldsSelector) {
355474
+ return this.fields;
355475
+ }
355476
+ if (!this.#selectedFields) {
355477
+ const { type, fields: selectedFields } = this.#fieldsSelector;
355478
+ switch (type) {
355479
+ case "include":
355480
+ this.#selectedFields = exclusivelyIncludeFields(this.fields, selectedFields);
355481
+ break;
355482
+ case "exclude":
355483
+ this.#selectedFields = excludeFields(this.fields, selectedFields);
355484
+ break;
355485
+ }
355486
+ }
355487
+ return this.#selectedFields;
355488
+ }
355326
355489
  /**
355327
355490
  * Create descriptor overrides object from this descriptor.
355328
355491
  * @public
@@ -355344,10 +355507,134 @@ class Descriptor {
355344
355507
  if (this.sortingField) {
355345
355508
  overrides.sorting = { field: this.sortingField.getFieldDescriptor(), direction: this.sortDirection ?? SortDirection.Ascending };
355346
355509
  }
355510
+ if (this.fieldsSelector) {
355511
+ overrides.fieldsSelector = this.fieldsSelector;
355512
+ }
355347
355513
  return overrides;
355348
355514
  }
355349
355515
  }
355350
355516
  exports.Descriptor = Descriptor;
355517
+ /**
355518
+ * Creates a shallow clone of a `NestedContentField` - copies its own properties but does not
355519
+ * recursively deep-clone `nestedFields`. Instead, the children array is shallow-copied so it
355520
+ * can be independently mutated without affecting the original.
355521
+ *
355522
+ * This avoids the cost of `NestedContentField.clone()` which deep-clones the entire subtree
355523
+ * and calls `rebuildParentship` recursively - work that is wasted when callers immediately
355524
+ * clear or modify the children.
355525
+ */
355526
+ function shallowCloneNestedContentField(field) {
355527
+ return new Fields_js_1.NestedContentField({
355528
+ ...field,
355529
+ nestedFields: [...field.nestedFields],
355530
+ });
355531
+ }
355532
+ function exclusivelyIncludeFields(descriptorFields, targetFieldDescriptors) {
355533
+ const rootFields = [];
355534
+ const clones = new Map();
355535
+ for (const targetFieldDescriptor of targetFieldDescriptors) {
355536
+ const includeField = (0, Fields_js_1.getFieldByDescriptor)(descriptorFields, targetFieldDescriptor, true);
355537
+ if (!includeField) {
355538
+ continue;
355539
+ }
355540
+ let clone;
355541
+ let curr = includeField;
355542
+ while (curr) {
355543
+ const prev = clone;
355544
+ const existingClone = clones.get(curr);
355545
+ if (existingClone) {
355546
+ // `curr` is already cloned, which means the fields hierarchy from root to `curr` is already
355547
+ // built - we only need to add `prev` and that's it
355548
+ if (prev) {
355549
+ prev.rebuildParentship(existingClone);
355550
+ existingClone.nestedFields.push(prev);
355551
+ clone = undefined;
355552
+ }
355553
+ break;
355554
+ }
355555
+ // `curr` is not cloned yet
355556
+ if (curr.isNestedContentField()) {
355557
+ const nestedClone = shallowCloneNestedContentField(curr);
355558
+ clones.set(curr, nestedClone);
355559
+ nestedClone.nestedFields = [];
355560
+ if (prev) {
355561
+ prev.rebuildParentship(nestedClone);
355562
+ nestedClone.nestedFields.push(prev);
355563
+ }
355564
+ clone = nestedClone;
355565
+ }
355566
+ else {
355567
+ clone = curr.clone();
355568
+ }
355569
+ curr = curr.parent;
355570
+ }
355571
+ if (clone) {
355572
+ rootFields.push(clone);
355573
+ }
355574
+ }
355575
+ return rootFields;
355576
+ }
355577
+ function excludeFields(descriptorFields, targetFieldDescriptors) {
355578
+ // Maps an original root field to its replacement (cloned field or `undefined` if root should be removed)
355579
+ const rootReplacements = new Map();
355580
+ // Tracks already-cloned NestedContentFields so we reuse the same clone when multiple excluded fields share a parent
355581
+ const clones = new Map();
355582
+ for (const targetFieldDescriptor of targetFieldDescriptors) {
355583
+ const excludeField = (0, Fields_js_1.getFieldByDescriptor)(descriptorFields, targetFieldDescriptor, true);
355584
+ if (!excludeField) {
355585
+ continue;
355586
+ }
355587
+ // `curr` tracks the pair: (original field, its replacement clone or undefined if removed)
355588
+ let curr = { original: excludeField, replacement: undefined };
355589
+ let parent = excludeField.parent;
355590
+ while (parent) {
355591
+ let parentClone = clones.get(parent);
355592
+ if (!parentClone) {
355593
+ parentClone = shallowCloneNestedContentField(parent);
355594
+ clones.set(parent, parentClone);
355595
+ }
355596
+ // Find the child in the parent clone's nestedFields that corresponds to curr.original
355597
+ const childIndex = parentClone.nestedFields.findIndex((f) => f.name === curr.original.name);
355598
+ if (childIndex !== -1) {
355599
+ if (curr.replacement && curr.replacement.isNestedContentField() && curr.replacement.nestedFields.length > 0) {
355600
+ // Replace the child with the modified clone
355601
+ parentClone.nestedFields[childIndex] = curr.replacement;
355602
+ curr.replacement.rebuildParentship(parentClone);
355603
+ }
355604
+ else {
355605
+ // Remove the child
355606
+ parentClone.nestedFields.splice(childIndex, 1);
355607
+ }
355608
+ }
355609
+ curr = { original: parent, replacement: parentClone };
355610
+ parent = parent.parent;
355611
+ }
355612
+ rootReplacements.set(curr.original, curr.replacement);
355613
+ }
355614
+ if (rootReplacements.size === 0) {
355615
+ return descriptorFields;
355616
+ }
355617
+ const result = [];
355618
+ for (const field of descriptorFields) {
355619
+ if (!rootReplacements.has(field)) {
355620
+ // Field is not affected by exclusions — keep as-is
355621
+ result.push(field);
355622
+ continue;
355623
+ }
355624
+ const replacement = rootReplacements.get(field);
355625
+ if (replacement === undefined) {
355626
+ // No replacement — field is removed entirely
355627
+ continue;
355628
+ }
355629
+ if (replacement.isNestedContentField() && replacement.nestedFields.length === 0) {
355630
+ // Replacement is an empty nested content field — remove it
355631
+ continue;
355632
+ }
355633
+ // Valid replacement — use the clone
355634
+ result.push(replacement);
355635
+ }
355636
+ return result;
355637
+ }
355351
355638
 
355352
355639
 
355353
355640
  /***/ }),
@@ -371937,7 +372224,7 @@ var loadLanguages = instance.loadLanguages;
371937
372224
  /***/ ((module) => {
371938
372225
 
371939
372226
  "use strict";
371940
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.7.0-dev.9","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 && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/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-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//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/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/sinon":"^17.0.2","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.5.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//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/webgl-compatibility":"workspace:*","@loaders.gl/core":"^4.3.4","@loaders.gl/draco":"^4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
372227
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.8.0-dev.1","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/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-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//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/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/sinon":"^17.0.2","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.5.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//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/webgl-compatibility":"workspace:*","@loaders.gl/core":"^4.3.4","@loaders.gl/draco":"^4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
371941
372228
 
371942
372229
  /***/ }),
371943
372230