@itwin/ecschema-rpcinterface-tests 5.0.0-dev.22 → 5.0.0-dev.23

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.
@@ -662,7 +662,7 @@ __webpack_require__.r(__webpack_exports__);
662
662
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
663
663
  /* harmony export */ AxiosRestClient: () => (/* binding */ AxiosRestClient)
664
664
  /* harmony export */ });
665
- /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js");
665
+ /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/axios.js");
666
666
  /* harmony import */ var _types_RestClient__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../types/RestClient */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@5.8.1/node_modules/@itwin/imodels-client-management/lib/esm/base/types/RestClient.js");
667
667
  /* harmony import */ var _AxiosResponseHeadersAdapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AxiosResponseHeadersAdapter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@5.8.1/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/AxiosResponseHeadersAdapter.js");
668
668
  /* harmony import */ var _UtilityFunctions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./UtilityFunctions */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@5.8.1/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/UtilityFunctions.js");
@@ -771,7 +771,7 @@ __webpack_require__.r(__webpack_exports__);
771
771
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
772
772
  /* harmony export */ AxiosRetryPolicy: () => (/* binding */ AxiosRetryPolicy)
773
773
  /* harmony export */ });
774
- /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js");
774
+ /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/index.js");
775
775
  /* harmony import */ var _Constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Constants */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@5.8.1/node_modules/@itwin/imodels-client-management/lib/esm/Constants.js");
776
776
  /*---------------------------------------------------------------------------------------------
777
777
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -4111,9 +4111,9 @@ __webpack_require__.r(__webpack_exports__);
4111
4111
 
4112
4112
  /***/ }),
4113
4113
 
4114
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.3.7_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestFrontendAuthorizationClient.js":
4114
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestFrontendAuthorizationClient.js":
4115
4115
  /*!*************************************************************************************************************************************************************************************!*\
4116
- !*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.3.7_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestFrontendAuthorizationClient.js ***!
4116
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestFrontendAuthorizationClient.js ***!
4117
4117
  \*************************************************************************************************************************************************************************************/
4118
4118
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4119
4119
 
@@ -4168,9 +4168,9 @@ exports.TestFrontendAuthorizationClient = TestFrontendAuthorizationClient;
4168
4168
 
4169
4169
  /***/ }),
4170
4170
 
4171
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.3.7_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestUsers.js":
4171
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestUsers.js":
4172
4172
  /*!***************************************************************************************************************************************************************!*\
4173
- !*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.3.7_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestUsers.js ***!
4173
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestUsers.js ***!
4174
4174
  \***************************************************************************************************************************************************************/
4175
4175
  /***/ ((__unused_webpack_module, exports) => {
4176
4176
 
@@ -4256,16 +4256,16 @@ exports.TestUsers = TestUsers;
4256
4256
 
4257
4257
  /***/ }),
4258
4258
 
4259
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.3.7_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/certa/certaCommon.js":
4259
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/certa/certaCommon.js":
4260
4260
  /*!***********************************************************************************************************************************************************************!*\
4261
- !*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.3.7_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/certa/certaCommon.js ***!
4261
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/certa/certaCommon.js ***!
4262
4262
  \***********************************************************************************************************************************************************************/
4263
4263
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4264
4264
 
4265
4265
  "use strict";
4266
4266
 
4267
4267
  Object.defineProperty(exports, "__esModule", ({ value: true }));
4268
- exports.getAccessTokenFromBackend = exports.getTokenCallbackName = void 0;
4268
+ exports.getServiceAuthTokenFromBackend = exports.getAccessTokenFromBackend = exports.getServiceAuthTokenCallbackName = exports.getTokenCallbackName = void 0;
4269
4269
  /*---------------------------------------------------------------------------------------------
4270
4270
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4271
4271
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -4273,6 +4273,7 @@ exports.getAccessTokenFromBackend = exports.getTokenCallbackName = void 0;
4273
4273
  const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../tools/certa/lib/utils/CallbackUtils.js");
4274
4274
  // Shared by both the frontend and backend side of the tests
4275
4275
  exports.getTokenCallbackName = "getToken";
4276
+ exports.getServiceAuthTokenCallbackName = "getServiceAuthToken";
4276
4277
  /**
4277
4278
  * Retrieves an access token from the backend using the specified user credentials.
4278
4279
  */
@@ -4281,13 +4282,21 @@ async function getAccessTokenFromBackend(user, oidcConfig) {
4281
4282
  return accessToken;
4282
4283
  }
4283
4284
  exports.getAccessTokenFromBackend = getAccessTokenFromBackend;
4285
+ /**
4286
+ * Retrieves a service authorization token from the backend.
4287
+ */
4288
+ async function getServiceAuthTokenFromBackend(oidcConfig) {
4289
+ const accessToken = await (0, CallbackUtils_1.executeBackendCallback)(exports.getServiceAuthTokenCallbackName, oidcConfig);
4290
+ return accessToken;
4291
+ }
4292
+ exports.getServiceAuthTokenFromBackend = getServiceAuthTokenFromBackend;
4284
4293
  //# sourceMappingURL=certaCommon.js.map
4285
4294
 
4286
4295
  /***/ }),
4287
4296
 
4288
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.3.7_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/frontend.js":
4297
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/frontend.js":
4289
4298
  /*!**************************************************************************************************************************************************************!*\
4290
- !*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.3.7_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/frontend.js ***!
4299
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/frontend.js ***!
4291
4300
  \**************************************************************************************************************************************************************/
4292
4301
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
4293
4302
 
@@ -4312,9 +4321,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
4312
4321
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4313
4322
  };
4314
4323
  Object.defineProperty(exports, "__esModule", ({ value: true }));
4315
- __exportStar(__webpack_require__(/*! ./TestUsers */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.3.7_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestUsers.js"), exports);
4316
- __exportStar(__webpack_require__(/*! ./TestFrontendAuthorizationClient */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.3.7_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestFrontendAuthorizationClient.js"), exports);
4317
- __exportStar(__webpack_require__(/*! ./certa/certaCommon */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.3.7_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/certa/certaCommon.js"), exports);
4324
+ __exportStar(__webpack_require__(/*! ./TestUsers */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestUsers.js"), exports);
4325
+ __exportStar(__webpack_require__(/*! ./TestFrontendAuthorizationClient */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestFrontendAuthorizationClient.js"), exports);
4326
+ __exportStar(__webpack_require__(/*! ./certa/certaCommon */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/certa/certaCommon.js"), exports);
4318
4327
  //# sourceMappingURL=frontend.js.map
4319
4328
 
4320
4329
  /***/ }),
@@ -18293,8 +18302,8 @@ __webpack_require__.r(__webpack_exports__);
18293
18302
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18294
18303
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
18295
18304
  /* harmony export */ });
18296
- /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
18297
- /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
18305
+ /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
18306
+ /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
18298
18307
 
18299
18308
 
18300
18309
 
@@ -23387,8 +23396,11 @@ var Id64;
23387
23396
  /** Remove an Id from the set. */
23388
23397
  delete(low, high) {
23389
23398
  const set = this._map.get(high);
23390
- if (undefined !== set)
23399
+ if (undefined !== set) {
23391
23400
  set.delete(low);
23401
+ if (set.size === 0)
23402
+ this._map.delete(high);
23403
+ }
23392
23404
  }
23393
23405
  /** Returns true if the set contains the specified Id. */
23394
23406
  has(low, high) {
@@ -81694,7 +81706,7 @@ class GraphicalEditingScope extends _BriefcaseTxns__WEBPACK_IMPORTED_MODULE_2__.
81694
81706
  }
81695
81707
  if (deletedIds) {
81696
81708
  this.iModel.selectionSet.remove(deletedIds);
81697
- this.iModel.hilited.setHilite(deletedIds, false);
81709
+ this.iModel.hilited.remove({ elements: deletedIds });
81698
81710
  }
81699
81711
  this.onGeometryChanges.raiseEvent(changes, this);
81700
81712
  }
@@ -87211,9 +87223,21 @@ __webpack_require__.r(__webpack_exports__);
87211
87223
  /* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
87212
87224
  /* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
87213
87225
  /*---------------------------------------------------------------------------------------------
87214
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
87215
- * See LICENSE.md in the project root for license terms and full copyright notice.
87216
- *--------------------------------------------------------------------------------------------*/
87226
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
87227
+ * See LICENSE.md in the project root for license terms and full copyright notice.
87228
+ *--------------------------------------------------------------------------------------------*/
87229
+ var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
87230
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
87231
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
87232
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
87233
+ };
87234
+ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
87235
+ if (kind === "m") throw new TypeError("Private method is not writable");
87236
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
87237
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
87238
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
87239
+ };
87240
+ var _HiliteSet_instances, _HiliteSet_mode, _HiliteSet_selectionChangesListener, _HiliteSet_changing, _HiliteSet_onChanged, _HiliteSet_change, _HiliteSet_processSelectionSetEvent, _SelectionSet_instances, _SelectionSet_selection, _SelectionSet_sendChangedEvent, _SelectionSet_add, _SelectionSet_remove;
87217
87241
  /** @packageDocumentation
87218
87242
  * @module SelectionSet
87219
87243
  */
@@ -87225,85 +87249,38 @@ __webpack_require__.r(__webpack_exports__);
87225
87249
  */
87226
87250
  var SelectionSetEventType;
87227
87251
  (function (SelectionSetEventType) {
87228
- /** Elements have been added to the set. */
87252
+ /** Ids have been added to the set. */
87229
87253
  SelectionSetEventType[SelectionSetEventType["Add"] = 0] = "Add";
87230
- /** Elements have been removed from the set. */
87254
+ /** Ids have been removed from the set. */
87231
87255
  SelectionSetEventType[SelectionSetEventType["Remove"] = 1] = "Remove";
87232
- /** Some elements have been added to the set and others have been removed. */
87256
+ /** Some ids have been added to the set and others have been removed. */
87233
87257
  SelectionSetEventType[SelectionSetEventType["Replace"] = 2] = "Replace";
87234
- /** All elements are about to be removed from the set. */
87258
+ /** All ids have been removed from the set. */
87235
87259
  SelectionSetEventType[SelectionSetEventType["Clear"] = 3] = "Clear";
87236
87260
  })(SelectionSetEventType || (SelectionSetEventType = {}));
87237
- /** Tracks a set of hilited entities. When the set changes, notifies ViewManager so that symbology overrides can be updated in active Viewports.
87261
+ /** Holds a set of hilited entities and makes any changes to the set by passing the change
87262
+ * function to given `change` callback.
87238
87263
  * @internal
87239
87264
  */
87240
87265
  class HilitedIds extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.Uint32Set {
87241
- constructor(iModel) {
87266
+ constructor(_change) {
87242
87267
  super();
87243
- this._changing = false;
87244
- this._iModel = iModel;
87268
+ this._change = _change;
87245
87269
  }
87246
87270
  add(low, high) {
87247
- super.add(low, high);
87248
- this.onChanged();
87271
+ this._change(() => super.add(low, high));
87249
87272
  }
87250
87273
  delete(low, high) {
87251
- super.delete(low, high);
87252
- this.onChanged();
87274
+ this._change(() => super.delete(low, high));
87253
87275
  }
87254
87276
  clear() {
87255
- super.clear();
87256
- this.onChanged();
87277
+ this._change(() => super.clear());
87257
87278
  }
87258
87279
  addIds(ids) {
87259
- this.change(() => super.addIds(ids));
87280
+ this._change(() => super.addIds(ids));
87260
87281
  }
87261
87282
  deleteIds(ids) {
87262
- this.change(() => super.deleteIds(ids));
87263
- }
87264
- onChanged() {
87265
- if (!this._changing)
87266
- _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.viewManager.onSelectionSetChanged(this._iModel);
87267
- }
87268
- change(func) {
87269
- const changing = this._changing;
87270
- this._changing = false;
87271
- func();
87272
- this._changing = changing;
87273
- this.onChanged();
87274
- }
87275
- }
87276
- /** Keeps the set of hilited elements in sync with the selection set.
87277
- * @internal
87278
- */
87279
- class HilitedElementIds extends HilitedIds {
87280
- constructor(iModel, syncWithSelectionSet = true) {
87281
- super(iModel);
87282
- this.wantSyncWithSelectionSet = syncWithSelectionSet;
87283
- }
87284
- get wantSyncWithSelectionSet() { return undefined !== this._removeListener; }
87285
- set wantSyncWithSelectionSet(want) {
87286
- if (want === this.wantSyncWithSelectionSet)
87287
- return;
87288
- if (want) {
87289
- const set = this._iModel.selectionSet;
87290
- this._removeListener = set.onChanged.addListener((ev) => this.change(() => this.processSelectionSetEvent(ev)));
87291
- this.processSelectionSetEvent({
87292
- set,
87293
- type: SelectionSetEventType.Add,
87294
- added: set.elements,
87295
- });
87296
- }
87297
- else {
87298
- this._removeListener();
87299
- this._removeListener = undefined;
87300
- }
87301
- }
87302
- processSelectionSetEvent(ev) {
87303
- if (SelectionSetEventType.Add !== ev.type)
87304
- this.deleteIds(ev.removed);
87305
- if (ev.type === SelectionSetEventType.Add || ev.type === SelectionSetEventType.Replace)
87306
- this.addIds(ev.added);
87283
+ this._change(() => super.deleteIds(ids));
87307
87284
  }
87308
87285
  }
87309
87286
  /** A set of *hilited* elements for an [[IModelConnection]], by element id.
@@ -87325,8 +87302,6 @@ class HilitedElementIds extends HilitedIds {
87325
87302
  * @extensions
87326
87303
  */
87327
87304
  class HiliteSet {
87328
- /** The set of hilited elements. */
87329
- get elements() { return this._elements; }
87330
87305
  /** Controls how the sets of hilited [[models]] and [[subcategories]] interact with one another.
87331
87306
  * By default they are treated as a union: a [Feature]($common) is hilited if either its model **or** its subcategory is hilited.
87332
87307
  * This can be changed to an intersection such that a [Feature]($common) is hilited only if both its model **and** subcategory are hilited.
@@ -87334,60 +87309,133 @@ class HiliteSet {
87334
87309
  * [[elements]] is always hilited regardless of its model or subcategories.
87335
87310
  */
87336
87311
  get modelSubCategoryMode() {
87337
- return this._mode;
87312
+ return __classPrivateFieldGet(this, _HiliteSet_mode, "f");
87338
87313
  }
87339
87314
  set modelSubCategoryMode(mode) {
87340
- if (mode === this._mode)
87315
+ if (mode === __classPrivateFieldGet(this, _HiliteSet_mode, "f")) {
87341
87316
  return;
87317
+ }
87342
87318
  this.onModelSubCategoryModeChanged.raiseEvent(mode);
87343
- this._mode = mode;
87319
+ __classPrivateFieldSet(this, _HiliteSet_mode, mode, "f");
87344
87320
  }
87345
87321
  /** Construct a HiliteSet
87346
87322
  * @param iModel The iModel containing the entities to be hilited.
87347
- * @param syncWithSelectionSet If true, the contents of the `elements` set will be synchronized with those in the `iModel`'s [[SelectionSet]].
87323
+ * @param syncWithSelectionSet If true, the hilite set contents will be synchronized with those in the `iModel`'s [[SelectionSet]].
87348
87324
  */
87349
87325
  constructor(iModel, syncWithSelectionSet = true) {
87326
+ _HiliteSet_instances.add(this);
87350
87327
  this.iModel = iModel;
87351
- this._mode = "union";
87328
+ _HiliteSet_mode.set(this, "union");
87329
+ _HiliteSet_selectionChangesListener.set(this, void 0);
87330
+ _HiliteSet_changing.set(this, false);
87352
87331
  /** Event raised just before changing the value of [[modelSubCategoryMode]]. */
87353
87332
  this.onModelSubCategoryModeChanged = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
87354
- this._elements = new HilitedElementIds(iModel, syncWithSelectionSet);
87355
- this.subcategories = new HilitedIds(iModel);
87356
- this.models = new HilitedIds(iModel);
87333
+ this.elements = new HilitedIds((func) => __classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_change).call(this, func));
87334
+ this.subcategories = new HilitedIds((func) => __classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_change).call(this, func));
87335
+ this.models = new HilitedIds((func) => __classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_change).call(this, func));
87336
+ this.wantSyncWithSelectionSet = syncWithSelectionSet;
87357
87337
  }
87358
- /** Control whether the hilited elements will be synchronized with the contents of the [[SelectionSet]].
87338
+ /** Control whether the hilite set will be synchronized with the contents of the [[SelectionSet]].
87359
87339
  * By default they are synchronized. Applications that override this take responsibility for managing the set of hilited entities.
87360
87340
  * When turning synchronization off, the contents of the HiliteSet will remain unchanged.
87361
87341
  * When turning synchronization on, the current contents of the HiliteSet will be preserved, and the contents of the selection set will be added to them.
87362
87342
  */
87363
- get wantSyncWithSelectionSet() { return this._elements.wantSyncWithSelectionSet; }
87364
- set wantSyncWithSelectionSet(want) { this._elements.wantSyncWithSelectionSet = want; }
87343
+ get wantSyncWithSelectionSet() {
87344
+ return !!__classPrivateFieldGet(this, _HiliteSet_selectionChangesListener, "f");
87345
+ }
87346
+ set wantSyncWithSelectionSet(want) {
87347
+ if (want === this.wantSyncWithSelectionSet) {
87348
+ return;
87349
+ }
87350
+ if (want) {
87351
+ const set = this.iModel.selectionSet;
87352
+ __classPrivateFieldSet(this, _HiliteSet_selectionChangesListener, set.onChanged.addListener((ev) => __classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_processSelectionSetEvent).call(this, ev)), "f");
87353
+ this.add(set.active);
87354
+ }
87355
+ else {
87356
+ __classPrivateFieldGet(this, _HiliteSet_selectionChangesListener, "f")();
87357
+ __classPrivateFieldSet(this, _HiliteSet_selectionChangesListener, undefined, "f");
87358
+ }
87359
+ }
87360
+ /** Adds a collection of geometric element, model and subcategory ids to this hilite set. */
87361
+ add(additions) {
87362
+ __classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_change).call(this, () => {
87363
+ additions.elements && this.elements.addIds(additions.elements);
87364
+ additions.models && this.models.addIds(additions.models);
87365
+ additions.subcategories && this.subcategories.addIds(additions.subcategories);
87366
+ });
87367
+ }
87368
+ /** Removes a collection of geometric element, model and subcategory ids from this hilite set. */
87369
+ remove(removals) {
87370
+ __classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_change).call(this, () => {
87371
+ removals.elements && this.elements.deleteIds(removals.elements);
87372
+ removals.models && this.models.deleteIds(removals.models);
87373
+ removals.subcategories && this.subcategories.deleteIds(removals.subcategories);
87374
+ });
87375
+ }
87376
+ /** Replaces ids currently in the hilite set with the given collection. */
87377
+ replace(ids) {
87378
+ __classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_change).call(this, () => {
87379
+ this.clear();
87380
+ this.add(ids);
87381
+ });
87382
+ }
87365
87383
  /** Remove all elements from the hilited set. */
87366
87384
  clear() {
87367
- this.elements.clear();
87368
- this.subcategories.clear();
87369
- this.models.clear();
87385
+ __classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_change).call(this, () => {
87386
+ this.elements.clear();
87387
+ this.models.clear();
87388
+ this.subcategories.clear();
87389
+ });
87370
87390
  }
87371
87391
  /** Returns true if nothing is hilited. */
87372
- get isEmpty() { return this.elements.isEmpty && this.subcategories.isEmpty && this.models.isEmpty; }
87392
+ get isEmpty() {
87393
+ return this.elements.isEmpty && this.subcategories.isEmpty && this.models.isEmpty;
87394
+ }
87373
87395
  /** Toggle the hilited state of one or more elements.
87374
87396
  * @param arg the ID(s) of the elements whose state is to be toggled.
87375
87397
  * @param onOff True to add the elements to the hilited set, false to remove them.
87398
+ * @deprecated in 5.0. Use [[add]], [[remove]], [[replace]] instead.
87376
87399
  */
87377
87400
  setHilite(arg, onOff) {
87378
- const oldSize = this.elements.size;
87379
- for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(arg)) {
87380
- if (onOff)
87381
- this.elements.addId(id);
87382
- else
87383
- this.elements.deleteId(id);
87401
+ if (onOff) {
87402
+ this.add({ elements: arg });
87403
+ }
87404
+ else {
87405
+ this.remove({ elements: arg });
87384
87406
  }
87385
- if (oldSize !== this.elements.size)
87386
- _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.viewManager.onSelectionSetChanged(this.iModel);
87387
87407
  }
87388
87408
  }
87389
- /** A set of *currently selected* elements for an IModelConnection.
87390
- * Selected elements are displayed with a customizable hilite effect within a [[Viewport]].
87409
+ _HiliteSet_mode = new WeakMap(), _HiliteSet_selectionChangesListener = new WeakMap(), _HiliteSet_changing = new WeakMap(), _HiliteSet_instances = new WeakSet(), _HiliteSet_onChanged = function _HiliteSet_onChanged() {
87410
+ if (!__classPrivateFieldGet(this, _HiliteSet_changing, "f")) {
87411
+ _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.viewManager.onSelectionSetChanged(this.iModel);
87412
+ }
87413
+ }, _HiliteSet_change = function _HiliteSet_change(func) {
87414
+ const changing = __classPrivateFieldGet(this, _HiliteSet_changing, "f");
87415
+ __classPrivateFieldSet(this, _HiliteSet_changing, true, "f");
87416
+ try {
87417
+ func();
87418
+ }
87419
+ finally {
87420
+ __classPrivateFieldSet(this, _HiliteSet_changing, changing, "f");
87421
+ }
87422
+ __classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_onChanged).call(this);
87423
+ }, _HiliteSet_processSelectionSetEvent = function _HiliteSet_processSelectionSetEvent(ev) {
87424
+ switch (ev.type) {
87425
+ case SelectionSetEventType.Add:
87426
+ return this.add(ev.additions);
87427
+ case SelectionSetEventType.Replace:
87428
+ return __classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_change).call(this, () => {
87429
+ this.add(ev.additions);
87430
+ this.remove(ev.removals);
87431
+ });
87432
+ case SelectionSetEventType.Remove:
87433
+ case SelectionSetEventType.Clear:
87434
+ return this.remove(ev.removals);
87435
+ }
87436
+ };
87437
+ /** A set of *currently selected* geometric elements, models and subcategories for an `IModelConnection`.
87438
+ * Generally, selected elements are displayed with a customizable hilite effect within a [[Viewport]], see [[HiliteSet]].
87391
87439
  * @see [Hilite.Settings]($common) for customization of the hilite effect.
87392
87440
  * @public
87393
87441
  * @extensions
@@ -87396,127 +87444,355 @@ class SelectionSet {
87396
87444
  /** The IDs of the selected elements.
87397
87445
  * @note Do not modify this set directly. Instead, use methods like [[SelectionSet.add]].
87398
87446
  */
87399
- get elements() { return this._elements; }
87447
+ get elements() {
87448
+ return __classPrivateFieldGet(this, _SelectionSet_selection, "f").elements;
87449
+ }
87450
+ /** The IDs of the selected models.
87451
+ * @note Do not modify this set directly. Instead, use methods like [[SelectionSet.add]].
87452
+ */
87453
+ get models() {
87454
+ return __classPrivateFieldGet(this, _SelectionSet_selection, "f").models;
87455
+ }
87456
+ /** The IDs of the selected subcategories.
87457
+ * @note Do not modify this set directly. Instead, use methods like [[SelectionSet.add]].
87458
+ */
87459
+ get subcategories() {
87460
+ return __classPrivateFieldGet(this, _SelectionSet_selection, "f").subcategories;
87461
+ }
87462
+ /** Get the active selection as a collection of geometric element, model and subcategory ids.
87463
+ * @note Do not modify the sets in returned collection directly. Instead, use methods like [[SelectionSet.add]].
87464
+ */
87465
+ get active() {
87466
+ return { ...__classPrivateFieldGet(this, _SelectionSet_selection, "f") };
87467
+ }
87400
87468
  constructor(iModel) {
87469
+ _SelectionSet_instances.add(this);
87401
87470
  this.iModel = iModel;
87402
- this._elements = new Set();
87403
- /** Called whenever elements are added or removed from this SelectionSet */
87471
+ _SelectionSet_selection.set(this, void 0);
87472
+ /** Called whenever ids are added or removed from this `SelectionSet` */
87404
87473
  this.onChanged = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
87405
- }
87406
- sendChangedEvent(ev) {
87407
- _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.viewManager.onSelectionSetChanged(this.iModel);
87408
- this.onChanged.raiseEvent(ev);
87474
+ __classPrivateFieldSet(this, _SelectionSet_selection, {
87475
+ elements: new Set(),
87476
+ models: new Set(),
87477
+ subcategories: new Set(),
87478
+ }, "f");
87409
87479
  }
87410
87480
  /** Get the number of entries in this selection set. */
87411
- get size() { return this.elements.size; }
87412
- /** Check whether there are any selected elements. */
87413
- get isActive() { return this.size !== 0; }
87414
- /** Return true if elemId is in this SelectionSet.
87481
+ get size() {
87482
+ return this.elements.size + this.models.size + this.subcategories.size;
87483
+ }
87484
+ /** Check whether there are any ids in this selection set. */
87485
+ get isActive() {
87486
+ return this.elements.size > 0 || this.models.size > 0 || this.subcategories.size > 0;
87487
+ }
87488
+ /** Return true if elemId is in this `SelectionSet`.
87415
87489
  * @see [[isSelected]]
87490
+ * @deprecated in 5.0. Use `SelectionSet.elements.has(elemId)` instead.
87416
87491
  */
87417
- has(elemId) { return !!elemId && this.elements.has(elemId); }
87492
+ has(elemId) {
87493
+ return !!elemId && this.elements.has(elemId);
87494
+ }
87418
87495
  /** Query whether an Id is in the selection set.
87419
87496
  * @see [[has]]
87497
+ * @deprecated in 5.0. Use `SelectionSet.elements.has(elemId)` instead.
87420
87498
  */
87421
- isSelected(elemId) { return !!elemId && this.elements.has(elemId); }
87499
+ isSelected(elemId) {
87500
+ return !!elemId && this.elements.has(elemId);
87501
+ }
87422
87502
  /** Clear current selection set.
87423
87503
  * @note raises the [[onChanged]] event with [[SelectionSetEventType.Clear]].
87424
87504
  */
87425
87505
  emptyAll() {
87426
- if (!this.isActive)
87506
+ if (!this.isActive) {
87427
87507
  return;
87428
- const removed = this._elements;
87429
- this._elements = new Set();
87430
- this.sendChangedEvent({ set: this, type: SelectionSetEventType.Clear, removed });
87508
+ }
87509
+ const removals = __classPrivateFieldGet(this, _SelectionSet_selection, "f");
87510
+ __classPrivateFieldSet(this, _SelectionSet_selection, {
87511
+ elements: new Set(),
87512
+ models: new Set(),
87513
+ subcategories: new Set(),
87514
+ }, "f");
87515
+ __classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_sendChangedEvent).call(this, { set: this, type: SelectionSetEventType.Clear, removals, removed: removals.elements });
87431
87516
  }
87432
87517
  /**
87433
87518
  * Add one or more Ids to the current selection set.
87434
87519
  * @param elem The set of Ids to add.
87435
87520
  * @returns true if any elements were added.
87436
87521
  */
87437
- add(elem) {
87438
- return this._add(elem);
87439
- }
87440
- _add(elem, sendEvent = true) {
87441
- const oldSize = this.elements.size;
87442
- for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(elem))
87443
- this.elements.add(id);
87444
- const changed = oldSize !== this.elements.size;
87445
- if (sendEvent && changed)
87446
- this.sendChangedEvent({ type: SelectionSetEventType.Add, set: this, added: elem });
87447
- return changed;
87522
+ add(adds) {
87523
+ return !!__classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_add).call(this, adds);
87448
87524
  }
87449
87525
  /**
87450
87526
  * Remove one or more Ids from the current selection set.
87451
87527
  * @param elem The set of Ids to remove.
87452
87528
  * @returns true if any elements were removed.
87453
87529
  */
87454
- remove(elem) {
87455
- return this._remove(elem);
87456
- }
87457
- _remove(elem, sendEvent = true) {
87458
- const oldSize = this.elements.size;
87459
- for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(elem))
87460
- this.elements.delete(id);
87461
- const changed = oldSize !== this.elements.size;
87462
- if (sendEvent && changed)
87463
- this.sendChangedEvent({ type: SelectionSetEventType.Remove, set: this, removed: elem });
87464
- return changed;
87530
+ remove(removes) {
87531
+ return !!__classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_remove).call(this, removes);
87465
87532
  }
87466
87533
  /**
87467
87534
  * Add one set of Ids, and remove another set of Ids. Any Ids that are in both sets are removed.
87468
87535
  * @returns True if any Ids were either added or removed.
87469
87536
  */
87470
87537
  addAndRemove(adds, removes) {
87471
- const added = this._add(adds, false);
87472
- const removed = this._remove(removes, false);
87473
- if (added && removed)
87474
- this.sendChangedEvent({ type: SelectionSetEventType.Replace, set: this, added: adds, removed: removes });
87475
- else if (added)
87476
- this.sendChangedEvent({ type: SelectionSetEventType.Add, set: this, added: adds });
87477
- else if (removed)
87478
- this.sendChangedEvent({ type: SelectionSetEventType.Remove, set: this, removed: removes });
87479
- return (added || removed);
87480
- }
87481
- /** Invert the state of a set of Ids in the SelectionSet */
87482
- invert(elem) {
87483
- const elementsToAdd = new Set();
87484
- const elementsToRemove = new Set();
87485
- for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(elem)) {
87486
- if (this.elements.has(id))
87487
- elementsToRemove.add(id);
87488
- else
87489
- elementsToAdd.add(id);
87538
+ const additions = __classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_add).call(this, adds, false);
87539
+ const removals = __classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_remove).call(this, removes, false);
87540
+ const addedElements = additions?.elements ?? [];
87541
+ const removedElements = removals?.elements ?? [];
87542
+ if (additions && removals) {
87543
+ __classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_sendChangedEvent).call(this, {
87544
+ type: SelectionSetEventType.Replace,
87545
+ set: this,
87546
+ additions,
87547
+ added: addedElements,
87548
+ removals,
87549
+ removed: removedElements,
87550
+ });
87490
87551
  }
87491
- return this.addAndRemove(elementsToAdd, elementsToRemove);
87552
+ else if (additions) {
87553
+ __classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_sendChangedEvent).call(this, {
87554
+ type: SelectionSetEventType.Add,
87555
+ set: this,
87556
+ additions,
87557
+ added: addedElements,
87558
+ });
87559
+ }
87560
+ else if (removals) {
87561
+ __classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_sendChangedEvent).call(this, {
87562
+ type: SelectionSetEventType.Remove,
87563
+ set: this,
87564
+ removals,
87565
+ removed: removedElements,
87566
+ });
87567
+ }
87568
+ return !!additions || !!removals;
87569
+ }
87570
+ /** Invert the state of a set of Ids in the `SelectionSet` */
87571
+ invert(ids) {
87572
+ const adds = {};
87573
+ const removes = {};
87574
+ forEachSelectableType({
87575
+ ids,
87576
+ elements: (elementIds) => {
87577
+ for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(elementIds)) {
87578
+ ((this.elements.has(id) ? removes : adds).elements ??= new Set()).add(id);
87579
+ }
87580
+ },
87581
+ models: (modelIds) => {
87582
+ for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(modelIds)) {
87583
+ ((this.models.has(id) ? removes : adds).models ??= new Set()).add(id);
87584
+ }
87585
+ },
87586
+ subcategories: (subcategoryIds) => {
87587
+ for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(subcategoryIds)) {
87588
+ ((this.subcategories.has(id) ? removes : adds).subcategories ??= new Set()).add(id);
87589
+ }
87590
+ },
87591
+ });
87592
+ return this.addAndRemove(adds, removes);
87492
87593
  }
87493
87594
  /** Change selection set to be the supplied set of Ids. */
87494
- replace(elem) {
87495
- if (areEqual(this.elements, elem))
87496
- return;
87497
- const removed = this._elements;
87498
- this._elements = new Set();
87499
- this._add(elem, false);
87500
- if (0 < removed.size) {
87501
- for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(elem)) {
87502
- if (removed.has(id))
87503
- removed.delete(id);
87504
- }
87595
+ replace(ids) {
87596
+ if (areEqual(__classPrivateFieldGet(this, _SelectionSet_selection, "f"), ids)) {
87597
+ return false;
87505
87598
  }
87506
- this.sendChangedEvent({ type: SelectionSetEventType.Replace, set: this, added: elem, removed });
87599
+ const previousSelection = __classPrivateFieldGet(this, _SelectionSet_selection, "f");
87600
+ __classPrivateFieldSet(this, _SelectionSet_selection, {
87601
+ elements: new Set(),
87602
+ models: new Set(),
87603
+ subcategories: new Set(),
87604
+ }, "f");
87605
+ __classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_add).call(this, ids, false);
87606
+ const additions = {};
87607
+ const removals = {};
87608
+ forEachSelectableType({
87609
+ ids: __classPrivateFieldGet(this, _SelectionSet_selection, "f"),
87610
+ elements: (elementIds) => {
87611
+ removeIds({
87612
+ target: previousSelection.elements,
87613
+ ids: elementIds,
87614
+ onNotFound: (id) => (additions.elements ??= new Set()).add(id),
87615
+ });
87616
+ if (previousSelection.elements.size > 0) {
87617
+ removals.elements = previousSelection.elements;
87618
+ }
87619
+ },
87620
+ models: (modelIds) => {
87621
+ removeIds({
87622
+ target: previousSelection.models,
87623
+ ids: modelIds,
87624
+ onNotFound: (id) => (additions.models ??= new Set()).add(id),
87625
+ });
87626
+ if (previousSelection.models.size > 0) {
87627
+ removals.models = previousSelection.models;
87628
+ }
87629
+ },
87630
+ subcategories: (subcategoryIds) => {
87631
+ removeIds({
87632
+ target: previousSelection.subcategories,
87633
+ ids: subcategoryIds,
87634
+ onNotFound: (id) => (additions.subcategories ??= new Set()).add(id),
87635
+ });
87636
+ if (previousSelection.subcategories.size > 0) {
87637
+ removals.subcategories = previousSelection.subcategories;
87638
+ }
87639
+ },
87640
+ });
87641
+ __classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_sendChangedEvent).call(this, {
87642
+ type: SelectionSetEventType.Replace,
87643
+ set: this,
87644
+ additions,
87645
+ added: additions.elements ?? [],
87646
+ removals,
87647
+ removed: removals.elements ?? [],
87648
+ });
87649
+ return true;
87507
87650
  }
87508
87651
  }
87652
+ _SelectionSet_selection = new WeakMap(), _SelectionSet_instances = new WeakSet(), _SelectionSet_sendChangedEvent = function _SelectionSet_sendChangedEvent(ev) {
87653
+ _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.viewManager.onSelectionSetChanged(this.iModel);
87654
+ this.onChanged.raiseEvent(ev);
87655
+ }, _SelectionSet_add = function _SelectionSet_add(adds, sendEvent = true) {
87656
+ const oldSize = this.size;
87657
+ const additions = {};
87658
+ forEachSelectableType({
87659
+ ids: adds,
87660
+ elements: (elementIds) => addIds({
87661
+ target: __classPrivateFieldGet(this, _SelectionSet_selection, "f").elements,
87662
+ ids: elementIds,
87663
+ onAdd: (id) => (additions.elements ??= []).push(id),
87664
+ }),
87665
+ models: (modelIds) => addIds({
87666
+ target: __classPrivateFieldGet(this, _SelectionSet_selection, "f").models,
87667
+ ids: modelIds,
87668
+ onAdd: (id) => (additions.models ??= []).push(id),
87669
+ }),
87670
+ subcategories: (subcategoryIds) => addIds({
87671
+ target: __classPrivateFieldGet(this, _SelectionSet_selection, "f").subcategories,
87672
+ ids: subcategoryIds,
87673
+ onAdd: (id) => (additions.subcategories ??= []).push(id),
87674
+ }),
87675
+ });
87676
+ const changed = oldSize !== this.size;
87677
+ if (!changed) {
87678
+ return undefined;
87679
+ }
87680
+ if (sendEvent) {
87681
+ __classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_sendChangedEvent).call(this, {
87682
+ type: SelectionSetEventType.Add,
87683
+ set: this,
87684
+ additions,
87685
+ added: additions.elements ?? [],
87686
+ });
87687
+ }
87688
+ return additions;
87689
+ }, _SelectionSet_remove = function _SelectionSet_remove(removes, sendEvent = true) {
87690
+ const oldSize = this.size;
87691
+ const removals = {};
87692
+ forEachSelectableType({
87693
+ ids: removes,
87694
+ elements: (elementIds) => removeIds({
87695
+ target: __classPrivateFieldGet(this, _SelectionSet_selection, "f").elements,
87696
+ ids: elementIds,
87697
+ onRemove: (id) => (removals.elements ??= []).push(id),
87698
+ }),
87699
+ models: (modelIds) => removeIds({
87700
+ target: __classPrivateFieldGet(this, _SelectionSet_selection, "f").models,
87701
+ ids: modelIds,
87702
+ onRemove: (id) => (removals.models ??= []).push(id),
87703
+ }),
87704
+ subcategories: (subcategoryIds) => removeIds({
87705
+ target: __classPrivateFieldGet(this, _SelectionSet_selection, "f").subcategories,
87706
+ ids: subcategoryIds,
87707
+ onRemove: (id) => (removals.subcategories ??= []).push(id),
87708
+ }),
87709
+ });
87710
+ const changed = oldSize !== this.size;
87711
+ if (!changed) {
87712
+ return undefined;
87713
+ }
87714
+ if (sendEvent) {
87715
+ __classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_sendChangedEvent).call(this, {
87716
+ type: SelectionSetEventType.Remove,
87717
+ set: this,
87718
+ removals,
87719
+ removed: removals.elements ?? [],
87720
+ });
87721
+ }
87722
+ return removals;
87723
+ };
87724
+ function forEachSelectableType({ ids, elements, models, subcategories, }) {
87725
+ if (typeof ids === "string" || Array.isArray(ids) || ids instanceof Set) {
87726
+ elements(ids);
87727
+ return { elements: ids };
87728
+ }
87729
+ elements(ids.elements ?? []);
87730
+ models(ids.models ?? []);
87731
+ subcategories(ids.subcategories ?? []);
87732
+ return ids;
87733
+ }
87509
87734
  function areEqual(lhs, rhs) {
87735
+ let result = true;
87736
+ forEachSelectableType({
87737
+ ids: rhs,
87738
+ elements: (elementIds) => {
87739
+ if (result && !areIdsEqual(lhs.elements, elementIds)) {
87740
+ result = false;
87741
+ }
87742
+ },
87743
+ models: (modelIds) => {
87744
+ if (result && !areIdsEqual(lhs.models, modelIds)) {
87745
+ result = false;
87746
+ }
87747
+ },
87748
+ subcategories: (subcategoryIds) => {
87749
+ if (result && !areIdsEqual(lhs.subcategories, subcategoryIds)) {
87750
+ result = false;
87751
+ }
87752
+ },
87753
+ });
87754
+ return result;
87755
+ }
87756
+ function areIdsEqual(lhs, rhs) {
87510
87757
  // Size is unreliable if input can contain duplicates...
87511
- if (Array.isArray(rhs))
87758
+ if (Array.isArray(rhs)) {
87512
87759
  rhs = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.toIdSet(rhs);
87513
- if (lhs.size !== _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.sizeOf(rhs))
87760
+ }
87761
+ if (lhs.size !== _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.sizeOf(rhs)) {
87514
87762
  return false;
87515
- for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(rhs))
87516
- if (!lhs.has(id))
87763
+ }
87764
+ for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(rhs)) {
87765
+ if (!lhs.has(id)) {
87517
87766
  return false;
87767
+ }
87768
+ }
87518
87769
  return true;
87519
87770
  }
87771
+ function addIds({ target, ids, onAdd }) {
87772
+ let size = target.size;
87773
+ for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(ids)) {
87774
+ target.add(id);
87775
+ const newSize = target.size;
87776
+ if (newSize !== size) {
87777
+ onAdd?.(id);
87778
+ }
87779
+ size = newSize;
87780
+ }
87781
+ }
87782
+ function removeIds({ target, ids, onRemove, onNotFound, }) {
87783
+ let size = target.size;
87784
+ for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(ids)) {
87785
+ target.delete(id);
87786
+ const newSize = target.size;
87787
+ if (newSize !== size) {
87788
+ onRemove?.(id);
87789
+ }
87790
+ else {
87791
+ onNotFound?.(id);
87792
+ }
87793
+ size = newSize;
87794
+ }
87795
+ }
87520
87796
 
87521
87797
 
87522
87798
  /***/ }),
@@ -164347,8 +164623,8 @@ class ViewClipShapeModifyTool extends ViewClipModifyTool {
164347
164623
  for (let i = 0; i < shapePts.length; i++) {
164348
164624
  const prevFace = (0 === i ? shapePts.length - 2 : i - 1);
164349
164625
  const nextFace = (shapePts.length - 1 === i ? 0 : i);
164350
- const prevSelected = offsetAll || (prevFace === this._anchorIndex || this.manipulator.iModel.selectionSet.has(this._ids[prevFace]));
164351
- const nextSelected = offsetAll || (nextFace === this._anchorIndex || this.manipulator.iModel.selectionSet.has(this._ids[nextFace]));
164626
+ const prevSelected = offsetAll || (prevFace === this._anchorIndex || this.manipulator.iModel.selectionSet.elements.has(this._ids[prevFace]));
164627
+ const nextSelected = offsetAll || (nextFace === this._anchorIndex || this.manipulator.iModel.selectionSet.elements.has(this._ids[nextFace]));
164352
164628
  if (prevSelected && nextSelected) {
164353
164629
  const prevPt = shapePts[i].plusScaled(this._controls[prevFace].direction, localOffset);
164354
164630
  const nextPt = shapePts[i].plusScaled(this._controls[nextFace].direction, localOffset);
@@ -164372,8 +164648,8 @@ class ViewClipShapeModifyTool extends ViewClipModifyTool {
164372
164648
  let zHigh = clipShape.zHigh;
164373
164649
  const zLowIndex = this._controls.length - 2;
164374
164650
  const zHighIndex = this._controls.length - 1;
164375
- const zLowSelected = offsetAll || (zLowIndex === this._anchorIndex || this.manipulator.iModel.selectionSet.has(this._ids[zLowIndex]));
164376
- const zHighSelected = offsetAll || (zHighIndex === this._anchorIndex || this.manipulator.iModel.selectionSet.has(this._ids[zHighIndex]));
164651
+ const zLowSelected = offsetAll || (zLowIndex === this._anchorIndex || this.manipulator.iModel.selectionSet.elements.has(this._ids[zLowIndex]));
164652
+ const zHighSelected = offsetAll || (zHighIndex === this._anchorIndex || this.manipulator.iModel.selectionSet.elements.has(this._ids[zHighIndex]));
164377
164653
  if (zLowSelected || zHighSelected) {
164378
164654
  const clipExtents = ViewClipTool.getClipShapeExtents(clipShape, this._viewRange);
164379
164655
  if (zLowSelected)
@@ -164411,7 +164687,7 @@ class ViewClipPlanesModifyTool extends ViewClipModifyTool {
164411
164687
  const offsetAll = ev.isShiftKey;
164412
164688
  const planeSet = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.ConvexClipPlaneSet.createEmpty();
164413
164689
  for (let i = 0; i < this._controls.length; i++) {
164414
- const selected = offsetAll || (i === this._anchorIndex || this.manipulator.iModel.selectionSet.has(this._ids[i]));
164690
+ const selected = offsetAll || (i === this._anchorIndex || this.manipulator.iModel.selectionSet.elements.has(this._ids[i]));
164415
164691
  const origin = this._controls[i].origin.clone();
164416
164692
  const direction = this._controls[i].direction;
164417
164693
  if (selected)
@@ -164476,7 +164752,7 @@ class ViewClipDecoration extends _EditManipulator__WEBPACK_IMPORTED_MODULE_7__.E
164476
164752
  get clipPlaneSet() { return this._clipPlanes; }
164477
164753
  getControlIndex(id) { return this._controlIds.indexOf(id); }
164478
164754
  stop() {
164479
- const selectedId = (undefined !== this._clipId && this.iModel.selectionSet.has(this._clipId)) ? this._clipId : undefined;
164755
+ const selectedId = (undefined !== this._clipId && this.iModel.selectionSet.elements.has(this._clipId)) ? this._clipId : undefined;
164480
164756
  this._clipId = undefined; // Invalidate id so that decorator will be dropped...
164481
164757
  super.stop();
164482
164758
  if (undefined !== selectedId)
@@ -164640,7 +164916,7 @@ class ViewClipDecoration extends _EditManipulator__WEBPACK_IMPORTED_MODULE_7__.E
164640
164916
  return false;
164641
164917
  // Show controls if only range box and it's controls are selected, selection set doesn't include any other elements...
164642
164918
  let showControls = false;
164643
- if (this.iModel.selectionSet.size <= this._controlIds.length + 1 && this.iModel.selectionSet.has(this._clipId)) {
164919
+ if (this.iModel.selectionSet.size <= this._controlIds.length + 1 && this.iModel.selectionSet.elements.has(this._clipId)) {
164644
164920
  showControls = true;
164645
164921
  if (this.iModel.selectionSet.size > 1) {
164646
164922
  this.iModel.selectionSet.elements.forEach((val) => {
@@ -164963,7 +165239,7 @@ class ViewClipDecoration extends _EditManipulator__WEBPACK_IMPORTED_MODULE_7__.E
164963
165239
  const hidPts = shapePts.map((pt) => pt.clone());
164964
165240
  const arrowVisBuilder = context.createGraphicBuilder(_common_render_GraphicType__WEBPACK_IMPORTED_MODULE_11__.GraphicType.WorldOverlay, transform, this._controlIds[iFace]);
164965
165241
  const arrowHidBuilder = context.createGraphicBuilder(_common_render_GraphicType__WEBPACK_IMPORTED_MODULE_11__.GraphicType.WorldDecoration, transform);
164966
- const isSelected = this.iModel.selectionSet.has(this._controlIds[iFace]);
165242
+ const isSelected = this.iModel.selectionSet.elements.has(this._controlIds[iFace]);
164967
165243
  let outlineColorOvr = this._controls[iFace].outline;
164968
165244
  if (undefined !== outlineColorOvr) {
164969
165245
  outlineColorOvr = _EditManipulator__WEBPACK_IMPORTED_MODULE_7__.EditManipulator.HandleUtils.adjustForBackgroundColor(outlineColorOvr, vp);
@@ -165491,9 +165767,9 @@ class ElementAgenda {
165491
165767
  setEntriesHiliteState(onOff, groupStart = 0, groupEnd = 0) {
165492
165768
  if (!this.manageHiliteState)
165493
165769
  return;
165494
- const ss = this.iModel.selectionSet.isActive ? this.iModel.selectionSet.elements : undefined;
165770
+ const ss = this.iModel.selectionSet.elements.size > 0 ? this.iModel.selectionSet.elements : undefined;
165495
165771
  if (undefined === ss && 0 === groupEnd) {
165496
- this.iModel.hilited.setHilite(this.elements, onOff);
165772
+ this.iModel.hilited[onOff ? "add" : "remove"]({ elements: this.elements });
165497
165773
  return;
165498
165774
  }
165499
165775
  const shouldChangeHilite = (id, index) => {
@@ -165502,7 +165778,7 @@ class ElementAgenda {
165502
165778
  return (0 === groupEnd || (index >= groupStart && index < groupEnd));
165503
165779
  };
165504
165780
  const group = this.elements.filter((id, index) => shouldChangeHilite(id, index));
165505
- this.iModel.hilited.setHilite(group, onOff);
165781
+ this.iModel.hilited[onOff ? "add" : "remove"]({ elements: group });
165506
165782
  }
165507
165783
  /** Removes the last group of elements added to this agenda. */
165508
165784
  popGroup() {
@@ -165743,7 +166019,14 @@ class ElementSetTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_9__.Primiti
165743
166019
  this._useSelectionSet = false;
165744
166020
  if (!this.iModel.selectionSet.isActive)
165745
166021
  return;
165746
- if (this.allowSelectionSet && this.iModel.selectionSet.size >= this.requiredElementCount)
166022
+ const isSelectionSetValid = () => {
166023
+ if (0 === this.iModel.selectionSet.elements.size) {
166024
+ _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.notifications.outputMessage(new _NotificationManager__WEBPACK_IMPORTED_MODULE_6__.NotifyMessageDetails(_NotificationManager__WEBPACK_IMPORTED_MODULE_6__.OutputMessagePriority.Info, _Tool__WEBPACK_IMPORTED_MODULE_11__.CoreTools.translate("ElementSet.Error.ActiveSSWithoutElems")));
166025
+ return false;
166026
+ }
166027
+ return (this.iModel.selectionSet.elements.size >= this.requiredElementCount);
166028
+ };
166029
+ if (this.allowSelectionSet && isSelectionSetValid())
165747
166030
  this._useSelectionSet = true;
165748
166031
  else if (this.clearSelectionSet)
165749
166032
  this.iModel.selectionSet.emptyAll();
@@ -167632,7 +167915,7 @@ class MeasureElementTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_10__.Pr
167632
167915
  /** @internal */
167633
167916
  async onCleanup() {
167634
167917
  if (0 !== this._acceptedIds.length)
167635
- this.iModel.hilited.setHilite(this._acceptedIds, false);
167918
+ this.iModel.hilited.remove({ elements: this._acceptedIds });
167636
167919
  }
167637
167920
  /** @internal */
167638
167921
  async onUnsuspend() { this.showPrompt(); }
@@ -167902,7 +168185,7 @@ class MeasureElementTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_10__.Pr
167902
168185
  const marker = new MeasureMarker((this._acceptedMeasurements.length + 1).toString(), toolTip, point, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point2d.create(25, 25));
167903
168186
  this._acceptedMeasurements.push(marker);
167904
168187
  this._acceptedIds.push(hit.sourceId);
167905
- this.iModel.hilited.setHilite(hit.sourceId, true);
168188
+ this.iModel.hilited.add({ elements: hit.sourceId });
167906
168189
  await this.updateTotals();
167907
168190
  this.setupAndPromptForNextAction();
167908
168191
  if (undefined !== ev.viewport)
@@ -167919,7 +168202,7 @@ class MeasureElementTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_10__.Pr
167919
168202
  }
167920
168203
  else {
167921
168204
  if (0 !== this._acceptedIds.length) {
167922
- this.iModel.hilited.setHilite(this._acceptedIds[this._acceptedIds.length - 1], false);
168205
+ this.iModel.hilited.remove({ elements: this._acceptedIds[this._acceptedIds.length - 1] });
167923
168206
  this._acceptedIds.pop();
167924
168207
  }
167925
168208
  await this.updateTotals();
@@ -168669,7 +168952,7 @@ class SelectionTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_8__.Primitiv
168669
168952
  }
168670
168953
  // Check for overlapping hits...
168671
168954
  const lastHit = SelectionMode.Remove === this.selectionMode ? undefined : _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.locateManager.currHit;
168672
- if (lastHit && this.iModel.selectionSet.has(lastHit.sourceId)) {
168955
+ if (lastHit && this.iModel.selectionSet.elements.has(lastHit.sourceId)) {
168673
168956
  const autoHit = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuSnap.currHit;
168674
168957
  // Play nice w/auto-locate, only remove previous hit if not currently auto-locating or over previous hit
168675
168958
  if (undefined === autoHit || autoHit.isSameHit(lastHit)) {
@@ -168730,7 +169013,7 @@ class SelectionTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_8__.Primitiv
168730
169013
  const mode = this.selectionMode;
168731
169014
  if (SelectionMode.Replace === mode)
168732
169015
  return _ElementLocateManager__WEBPACK_IMPORTED_MODULE_4__.LocateFilterStatus.Accept;
168733
- const isSelected = this.iModel.selectionSet.has(hit.sourceId);
169016
+ const isSelected = this.iModel.selectionSet.elements.has(hit.sourceId);
168734
169017
  const status = ((SelectionMode.Add === mode ? !isSelected : isSelected) ? _ElementLocateManager__WEBPACK_IMPORTED_MODULE_4__.LocateFilterStatus.Accept : _ElementLocateManager__WEBPACK_IMPORTED_MODULE_4__.LocateFilterStatus.Reject);
168735
169018
  if (out && _ElementLocateManager__WEBPACK_IMPORTED_MODULE_4__.LocateFilterStatus.Reject === status)
168736
169019
  out.explanation = _Tool__WEBPACK_IMPORTED_MODULE_9__.CoreTools.translate(`ElementSet.Error.${isSelected ? "AlreadySelected" : "NotSelected"}`);
@@ -188690,7 +188973,19 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
188690
188973
  get vector90() {
188691
188974
  return this._matrix.columnY();
188692
188975
  }
188693
- /** Read property for (clone of) plane normal, with arbitrary length. */
188976
+ /**
188977
+ * Compute an arc binormal vector with arbitrary length.
188978
+ * * The arc parameterization is counter-clockwise with respect to this vector.
188979
+ * * This vector is parallel to [[perpendicularVector]] and possibly opposite.
188980
+ */
188981
+ binormalVector(result) {
188982
+ const plane = this.fractionToPointAnd2Derivatives(0.0);
188983
+ return plane.vectorU.crossProduct(plane.vectorV, result);
188984
+ }
188985
+ /**
188986
+ * Read property for (clone of) plane normal, with arbitrary length.
188987
+ * * Does not take arc sweep direction into account. See also [[binormalVector]].
188988
+ */
188694
188989
  get perpendicularVector() {
188695
188990
  return this._matrix.columnZ();
188696
188991
  }
@@ -191608,20 +191903,20 @@ __webpack_require__.r(__webpack_exports__);
191608
191903
  /* harmony export */ MiteredSweepOutputSelect: () => (/* binding */ MiteredSweepOutputSelect)
191609
191904
  /* harmony export */ });
191610
191905
  /* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
191611
- /* harmony import */ var _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../geometry3d/Angle */ "../../core/geometry/lib/esm/geometry3d/Angle.js");
191906
+ /* harmony import */ var _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../geometry3d/Angle */ "../../core/geometry/lib/esm/geometry3d/Angle.js");
191612
191907
  /* harmony import */ var _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../geometry3d/AngleSweep */ "../../core/geometry/lib/esm/geometry3d/AngleSweep.js");
191613
- /* harmony import */ var _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../geometry3d/Matrix3d */ "../../core/geometry/lib/esm/geometry3d/Matrix3d.js");
191614
- /* harmony import */ var _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../geometry3d/Point2dVector2d */ "../../core/geometry/lib/esm/geometry3d/Point2dVector2d.js");
191908
+ /* harmony import */ var _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../geometry3d/Matrix3d */ "../../core/geometry/lib/esm/geometry3d/Matrix3d.js");
191909
+ /* harmony import */ var _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../geometry3d/Point2dVector2d */ "../../core/geometry/lib/esm/geometry3d/Point2dVector2d.js");
191615
191910
  /* harmony import */ var _geometry3d_Point3dArrayCarrier__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../geometry3d/Point3dArrayCarrier */ "../../core/geometry/lib/esm/geometry3d/Point3dArrayCarrier.js");
191616
191911
  /* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
191617
- /* harmony import */ var _geometry3d_PolylineOps__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../geometry3d/PolylineOps */ "../../core/geometry/lib/esm/geometry3d/PolylineOps.js");
191618
- /* harmony import */ var _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../geometry3d/Ray3d */ "../../core/geometry/lib/esm/geometry3d/Ray3d.js");
191619
- /* harmony import */ var _geometry3d_Segment1d__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../geometry3d/Segment1d */ "../../core/geometry/lib/esm/geometry3d/Segment1d.js");
191620
- /* harmony import */ var _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../geometry3d/Transform */ "../../core/geometry/lib/esm/geometry3d/Transform.js");
191621
- /* harmony import */ var _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../numerics/SmallSystem */ "../../core/geometry/lib/esm/numerics/SmallSystem.js");
191912
+ /* harmony import */ var _geometry3d_PolylineOps__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../geometry3d/PolylineOps */ "../../core/geometry/lib/esm/geometry3d/PolylineOps.js");
191913
+ /* harmony import */ var _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../geometry3d/Ray3d */ "../../core/geometry/lib/esm/geometry3d/Ray3d.js");
191914
+ /* harmony import */ var _geometry3d_Segment1d__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../geometry3d/Segment1d */ "../../core/geometry/lib/esm/geometry3d/Segment1d.js");
191915
+ /* harmony import */ var _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../geometry3d/Transform */ "../../core/geometry/lib/esm/geometry3d/Transform.js");
191916
+ /* harmony import */ var _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../numerics/SmallSystem */ "../../core/geometry/lib/esm/numerics/SmallSystem.js");
191622
191917
  /* harmony import */ var _polyface_PolyfaceBuilder__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../polyface/PolyfaceBuilder */ "../../core/geometry/lib/esm/polyface/PolyfaceBuilder.js");
191623
191918
  /* harmony import */ var _solid_Cone__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../solid/Cone */ "../../core/geometry/lib/esm/solid/Cone.js");
191624
- /* harmony import */ var _solid_RuledSweep__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../solid/RuledSweep */ "../../core/geometry/lib/esm/solid/RuledSweep.js");
191919
+ /* harmony import */ var _solid_RuledSweep__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../solid/RuledSweep */ "../../core/geometry/lib/esm/solid/RuledSweep.js");
191625
191920
  /* harmony import */ var _solid_TorusPipe__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../solid/TorusPipe */ "../../core/geometry/lib/esm/solid/TorusPipe.js");
191626
191921
  /* harmony import */ var _Arc3d__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Arc3d */ "../../core/geometry/lib/esm/curve/Arc3d.js");
191627
191922
  /* harmony import */ var _CurveCollection__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./CurveCollection */ "../../core/geometry/lib/esm/curve/CurveCollection.js");
@@ -191631,8 +191926,8 @@ __webpack_require__.r(__webpack_exports__);
191631
191926
  /* harmony import */ var _LineString3d__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./LineString3d */ "../../core/geometry/lib/esm/curve/LineString3d.js");
191632
191927
  /* harmony import */ var _Loop__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Loop */ "../../core/geometry/lib/esm/curve/Loop.js");
191633
191928
  /* harmony import */ var _Path__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Path */ "../../core/geometry/lib/esm/curve/Path.js");
191634
- /* harmony import */ var _RegionOps__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./RegionOps */ "../../core/geometry/lib/esm/curve/RegionOps.js");
191635
- /* harmony import */ var _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./spiral/IntegratedSpiral3d */ "../../core/geometry/lib/esm/curve/spiral/IntegratedSpiral3d.js");
191929
+ /* harmony import */ var _RegionOps__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./RegionOps */ "../../core/geometry/lib/esm/curve/RegionOps.js");
191930
+ /* harmony import */ var _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./spiral/IntegratedSpiral3d */ "../../core/geometry/lib/esm/curve/spiral/IntegratedSpiral3d.js");
191636
191931
  /*---------------------------------------------------------------------------------------------
191637
191932
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
191638
191933
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -191915,6 +192210,44 @@ class CurveFactory {
191915
192210
  }
191916
192211
  return undefined;
191917
192212
  }
192213
+ /** Get start point and tangent for variant curve data. */
192214
+ static startPointAndTangent(curve) {
192215
+ if (curve instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_12__.CurvePrimitive)
192216
+ return curve.fractionToPointAndDerivative(0.0);
192217
+ if (curve.length < 2)
192218
+ return undefined;
192219
+ if (Array.isArray(curve))
192220
+ curve = new _geometry3d_Point3dArrayCarrier__WEBPACK_IMPORTED_MODULE_3__.Point3dArrayCarrier(curve);
192221
+ const ray = _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_15__.Ray3d.createZero();
192222
+ curve.getPoint3dAtUncheckedPointIndex(0, ray.origin);
192223
+ curve.vectorIndexIndex(0, 1, ray.direction);
192224
+ return ray;
192225
+ }
192226
+ ;
192227
+ /** Create an [[Arc3d]] from `sectionData` that has its center at the start point of the centerline. */
192228
+ static createArcFromSectionData(centerline, sectionData) {
192229
+ const ray = CurveFactory.startPointAndTangent(centerline);
192230
+ if (!ray)
192231
+ return undefined;
192232
+ let arc;
192233
+ if (sectionData instanceof _Arc3d__WEBPACK_IMPORTED_MODULE_2__.Arc3d) {
192234
+ arc = sectionData.clone();
192235
+ arc.center = ray.origin;
192236
+ }
192237
+ else {
192238
+ const vector0 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.create();
192239
+ const vector90 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.create();
192240
+ const length0 = (typeof sectionData === "number") ? sectionData : sectionData.x;
192241
+ const length90 = (typeof sectionData === "number") ? sectionData : sectionData.y;
192242
+ const baseFrame = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_16__.Matrix3d.createRigidHeadsUp(ray.direction, _Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisOrder.ZXY);
192243
+ baseFrame.columnX(vector0).scaleInPlace(length0);
192244
+ baseFrame.columnY(vector90).scaleInPlace(length90);
192245
+ arc = _Arc3d__WEBPACK_IMPORTED_MODULE_2__.Arc3d.create(ray.origin, vector0, vector90);
192246
+ }
192247
+ if (arc.binormalVector().dotProduct(ray.direction) < 0.0)
192248
+ arc.reverseInPlace();
192249
+ return arc;
192250
+ }
191918
192251
  /**
191919
192252
  * Create section arcs for mitered pipe.
191920
192253
  * * At the end of each pipe segment, the pipe is mitered by the plane that bisects the angle between successive
@@ -191927,63 +192260,22 @@ class CurveFactory {
191927
192260
  * lengths, or an Arc3d:
191928
192261
  * * For semi-axis length input, x and y correspond to ellipse local axes perpendicular to each other and to the
191929
192262
  * start tangent.
191930
- * * For Arc3d input, the center is translated to the centerline start point, but otherwise the arc is used as-is
191931
- * for the first section. For best results, the arc should be perpendicular to the centerline start tangent.
192263
+ * * For Arc3d input, the center is translated to the centerline start point. For best results, ensure this arc
192264
+ * is perpendicular to the centerline start tangent.
192265
+ * * This function internally calls [[createMiteredSweepSections]] with default options.
191932
192266
  * @param centerline centerline of pipe. For best results, ensure no successive duplicate points with e.g.,
191933
192267
  * [[GrowableXYZArray.createCompressed]].
191934
192268
  * @param sectionData circle radius, ellipse semi-axis lengths, or full Arc3d (if not full, function makes it full).
192269
+ * @returns array of sections or empty array if section creation failed.
191935
192270
  */
191936
192271
  static createMiteredPipeSections(centerline, sectionData) {
191937
- const arcs = [];
191938
- if (centerline.length < 2)
192272
+ const arc = CurveFactory.createArcFromSectionData(centerline, sectionData);
192273
+ if (!arc)
191939
192274
  return [];
191940
- const vector0 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.create();
191941
- const vector90 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.create();
191942
- const vectorBC = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.create();
191943
- const sweep = _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_8__.AngleSweep.create360();
191944
- centerline.vectorIndexIndex(0, 1, vectorBC); // initially, the start tangent
191945
- if (sectionData instanceof _Arc3d__WEBPACK_IMPORTED_MODULE_2__.Arc3d) {
191946
- vector0.setFrom(sectionData.vector0);
191947
- vector90.setFrom(sectionData.vector90);
191948
- sweep.setFrom(sectionData.sweep); // allow e.g., half-pipe
191949
- const sectionFacesForward = sectionData.matrixRef.columnDotXYZ(_Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisIndex.Z, vectorBC.x, vectorBC.y, vectorBC.z) > 0;
191950
- if (sectionFacesForward !== sectionData.sweep.isCCW)
191951
- sweep.reverseInPlace();
191952
- }
191953
- else if (typeof sectionData === "number" || _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Point3d.isXAndY(sectionData)) {
191954
- const length0 = (typeof sectionData === "number") ? sectionData : sectionData.x;
191955
- const length90 = (typeof sectionData === "number") ? sectionData : sectionData.y;
191956
- const baseFrame = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_15__.Matrix3d.createRigidHeadsUp(vectorBC, _Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisOrder.ZXY);
191957
- baseFrame.columnX(vector0).scaleInPlace(length0);
191958
- baseFrame.columnY(vector90).scaleInPlace(length90);
191959
- }
191960
- else {
191961
- return [];
191962
- }
191963
- // ASSUME: initial section normal points toward sweep direction for subsequent facet creation
191964
- const initialSection = _Arc3d__WEBPACK_IMPORTED_MODULE_2__.Arc3d.create(undefined, vector0, vector90, sweep);
191965
- centerline.getPoint3dAtUncheckedPointIndex(0, initialSection.centerRef);
191966
- arcs.push(initialSection);
191967
- const vectorAB = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.create();
191968
- const bisector = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.create();
191969
- const center = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Point3d.create();
191970
- for (let i = 1; i < centerline.length; i++) {
191971
- vectorAB.setFromVector3d(vectorBC);
191972
- centerline.getPoint3dAtUncheckedPointIndex(i, center);
191973
- if (i + 1 < centerline.length)
191974
- centerline.vectorIndexIndex(i, i + 1, vectorBC);
191975
- else
191976
- vectorBC.setFromVector3d(vectorAB);
191977
- if (vectorAB.normalizeInPlace() && vectorBC.normalizeInPlace()) {
191978
- vectorAB.interpolate(0.5, vectorBC, bisector);
191979
- // At pipe end, the ellipse center comes directly from centerline[i], and vector0/vector90 are
191980
- // obtained by sweeping the corresponding vectors of the pipe start ellipse to the bisector plane.
191981
- moveVectorToPlane(vector0, vectorAB, bisector, vector0);
191982
- moveVectorToPlane(vector90, vectorAB, bisector, vector90);
191983
- arcs.push(_Arc3d__WEBPACK_IMPORTED_MODULE_2__.Arc3d.create(center, vector0, vector90, sweep));
191984
- }
191985
- }
191986
- return arcs;
192275
+ const miteredSweeps = CurveFactory.createMiteredSweepSections(centerline, arc);
192276
+ if (miteredSweeps)
192277
+ return miteredSweeps.sections;
192278
+ return [];
191987
192279
  }
191988
192280
  /** For a smooth curve, stroke and return unnormalized start/end tangents. */
191989
192281
  static strokeSmoothCurve(curve, options) {
@@ -192038,10 +192330,10 @@ class CurveFactory {
192038
192330
  closedCurve = curve;
192039
192331
  if (closedCurve) {
192040
192332
  // The alignment condition is equivalent to positive projected curve area computed wrt to the plane normal.
192041
- const toLocal = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_15__.Matrix3d.createRigidHeadsUp(planeNormal).transpose();
192042
- const projection = closedCurve.cloneTransformed(_geometry3d_Transform__WEBPACK_IMPORTED_MODULE_16__.Transform.createOriginAndMatrix(undefined, toLocal));
192333
+ const toLocal = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_16__.Matrix3d.createRigidHeadsUp(planeNormal).transpose();
192334
+ const projection = closedCurve.cloneTransformed(_geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createOriginAndMatrix(undefined, toLocal));
192043
192335
  if (projection) { // now we can ignore z-coords
192044
- const areaXY = _RegionOps__WEBPACK_IMPORTED_MODULE_17__.RegionOps.computeXYArea(projection);
192336
+ const areaXY = _RegionOps__WEBPACK_IMPORTED_MODULE_18__.RegionOps.computeXYArea(projection);
192045
192337
  if (areaXY && areaXY < 0)
192046
192338
  curve.reverseInPlace();
192047
192339
  }
@@ -192054,7 +192346,7 @@ class CurveFactory {
192054
192346
  */
192055
192347
  static doSweepToPlane(output, edgePlane0, edgePlane1, targetPlane, section) {
192056
192348
  const sweepVector = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.createStartEnd(edgePlane0.getOriginRef(), edgePlane1.getOriginRef());
192057
- const transform = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_16__.Transform.createFlattenAlongVectorToPlane(sweepVector, targetPlane.getOriginRef(), targetPlane.getNormalRef());
192349
+ const transform = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createFlattenAlongVectorToPlane(sweepVector, targetPlane.getOriginRef(), targetPlane.getNormalRef());
192058
192350
  if (transform === undefined)
192059
192351
  return section;
192060
192352
  const transformedSection = section.cloneTransformed(transform);
@@ -192085,10 +192377,12 @@ class CurveFactory {
192085
192377
  * @return array of sections, formed from projecting `initialSection` successively onto the bisector planes.
192086
192378
  */
192087
192379
  static createMiteredSweepSections(centerline, initialSection, options) {
192380
+ if (!options)
192381
+ options = {};
192088
192382
  const rail = this.strokeSmoothCurve(centerline, options.strokeOptions);
192089
192383
  if (!rail)
192090
192384
  return undefined;
192091
- const planes = _geometry3d_PolylineOps__WEBPACK_IMPORTED_MODULE_18__.PolylineOps.createBisectorPlanesForDistinctPoints(rail.strokes);
192385
+ const planes = _geometry3d_PolylineOps__WEBPACK_IMPORTED_MODULE_19__.PolylineOps.createBisectorPlanesForDistinctPoints(rail.strokes);
192092
192386
  if (!planes || planes.length < 2)
192093
192387
  return undefined;
192094
192388
  this.alignFirstAndLastBisectorPlanes(planes[0], planes[planes.length - 1], rail, options);
@@ -192100,7 +192394,7 @@ class CurveFactory {
192100
192394
  for (let i = 1; i < planes.length; i++)
192101
192395
  currentSection = this.doSweepToPlane(sectionData, planes[i - 1], planes[i], planes[i], currentSection);
192102
192396
  if (options.outputSelect) {
192103
- const ruledSweep = _solid_RuledSweep__WEBPACK_IMPORTED_MODULE_19__.RuledSweep.create(sectionData.sections, options.capped ?? false);
192397
+ const ruledSweep = _solid_RuledSweep__WEBPACK_IMPORTED_MODULE_20__.RuledSweep.create(sectionData.sections, options.capped ?? false);
192104
192398
  if (ruledSweep) {
192105
192399
  sectionData.ruledSweep = ruledSweep;
192106
192400
  if (MiteredSweepOutputSelect.AlsoMesh === options.outputSelect) {
@@ -192142,25 +192436,25 @@ class CurveFactory {
192142
192436
  const lineTurnRadians = vectorAB.angleToXY(vectorBC0);
192143
192437
  const spiralTurnRadians = 0.5 * lineTurnRadians.radians;
192144
192438
  const radiansBC = radiansAB + lineTurnRadians.radians;
192145
- const axesA = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_15__.Matrix3d.createRotationAroundAxisIndex(_Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisIndex.Z, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.createRadians(radiansAB));
192146
- const frameA = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_16__.Transform.createRefs(startPoint.clone(), axesA);
192439
+ const axesA = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_16__.Matrix3d.createRotationAroundAxisIndex(_Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisIndex.Z, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(radiansAB));
192440
+ const frameA = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createRefs(startPoint.clone(), axesA);
192147
192441
  // We know how much it has to turn, and but not the length or end radius.
192148
192442
  // make a spiral of referenceLength and scale it back to the junction line
192149
- const spiralARefLength = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_21__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0.0, undefined, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.createRadians(0), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.createRadians(spiralTurnRadians), referenceLength, undefined, frameA);
192443
+ const spiralARefLength = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0.0, undefined, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(0), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(spiralTurnRadians), referenceLength, undefined, frameA);
192150
192444
  if (spiralARefLength) {
192151
192445
  const midPlanePerpendicularRadians = radiansAB + spiralTurnRadians;
192152
- const midPlanePerpendicularVector = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.createPolar(1.0, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.createRadians(midPlanePerpendicularRadians));
192446
+ const midPlanePerpendicularVector = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.createPolar(1.0, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(midPlanePerpendicularRadians));
192153
192447
  const altitudeB = midPlanePerpendicularVector.dotProductStartEnd(startPoint, shoulderPoint);
192154
192448
  const altitudeSpiralEnd = midPlanePerpendicularVector.dotProductStartEnd(startPoint, spiralARefLength.endPoint());
192155
192449
  const scaleFactor = altitudeB / altitudeSpiralEnd;
192156
- const spiralA = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_21__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0.0, undefined, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.createRadians(0), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.createRadians(spiralTurnRadians), referenceLength * scaleFactor, undefined, frameA);
192450
+ const spiralA = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0.0, undefined, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(0), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(spiralTurnRadians), referenceLength * scaleFactor, undefined, frameA);
192157
192451
  const distanceAB = vectorAB.magnitude();
192158
192452
  const vectorBC = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.createStartEnd(shoulderPoint, targetPoint);
192159
192453
  vectorBC.scaleToLength(distanceAB, vectorBC);
192160
192454
  const pointC = shoulderPoint.plus(vectorBC);
192161
- const axesC = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_15__.Matrix3d.createRotationAroundAxisIndex(_Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisIndex.Z, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.createRadians(radiansBC + Math.PI));
192162
- const frameC = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_16__.Transform.createRefs(pointC, axesC);
192163
- const spiralC = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_21__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, -spiralA.radius01.x1, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.zero(), undefined, spiralA.curveLength(), _geometry3d_Segment1d__WEBPACK_IMPORTED_MODULE_22__.Segment1d.create(1, 0), frameC);
192455
+ const axesC = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_16__.Matrix3d.createRotationAroundAxisIndex(_Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisIndex.Z, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(radiansBC + Math.PI));
192456
+ const frameC = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createRefs(pointC, axesC);
192457
+ const spiralC = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, -spiralA.radius01.x1, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.zero(), undefined, spiralA.curveLength(), _geometry3d_Segment1d__WEBPACK_IMPORTED_MODULE_23__.Segment1d.create(1, 0), frameC);
192164
192458
  return [spiralA, spiralC];
192165
192459
  }
192166
192460
  return undefined;
@@ -192183,7 +192477,7 @@ class CurveFactory {
192183
192477
  const spiralTurnRadians = 0.5 * lineTurnAngle.radians;
192184
192478
  const bisectorRadians = 0.5 * (Math.PI - lineTurnAngle.radians);
192185
192479
  const radiansCB = Math.atan2(-vectorBC.y, -vectorBC.x);
192186
- const spiralAB0 = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_21__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, undefined, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.zero(), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.createRadians(spiralTurnRadians), spiralLength, undefined, _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_16__.Transform.createIdentity());
192480
+ const spiralAB0 = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, undefined, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.zero(), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(spiralTurnRadians), spiralLength, undefined, _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createIdentity());
192187
192481
  if (spiralAB0) {
192188
192482
  const localEndPoint = spiralAB0.fractionToPoint(1);
192189
192483
  const distanceAB = pointA.distance(pointB);
@@ -192194,14 +192488,14 @@ class CurveFactory {
192194
192488
  const xFractionAB = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.conditionalDivideFraction(distanceAB - distanceBE - localEndPoint.x, distanceAB);
192195
192489
  const xFractionCB = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.conditionalDivideFraction(distanceCB - distanceBE - localEndPoint.x, distanceCB);
192196
192490
  if (xFractionAB !== undefined && xFractionCB !== undefined) {
192197
- const axesA = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_15__.Matrix3d.createRotationAroundAxisIndex(_Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisIndex.Z, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.createRadians(radiansAB));
192491
+ const axesA = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_16__.Matrix3d.createRotationAroundAxisIndex(_Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisIndex.Z, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(radiansAB));
192198
192492
  const frameAOrigin = pointA.interpolate(xFractionAB, pointB);
192199
- const frameA = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_16__.Transform.createRefs(frameAOrigin, axesA);
192200
- const spiralAB = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_21__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, undefined, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.zero(), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.createRadians(spiralTurnRadians), spiralLength, undefined, frameA);
192201
- const axesB = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_15__.Matrix3d.createRotationAroundAxisIndex(_Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisIndex.Z, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.createRadians(radiansCB));
192493
+ const frameA = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createRefs(frameAOrigin, axesA);
192494
+ const spiralAB = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, undefined, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.zero(), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(spiralTurnRadians), spiralLength, undefined, frameA);
192495
+ const axesB = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_16__.Matrix3d.createRotationAroundAxisIndex(_Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisIndex.Z, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(radiansCB));
192202
192496
  const frameBOrigin = pointC.interpolate(xFractionCB, pointB);
192203
- const frameB = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_16__.Transform.createRefs(frameBOrigin, axesB);
192204
- const spiralBC = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_21__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, undefined, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.zero(), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.createRadians(-spiralTurnRadians), spiralLength, undefined, frameB);
192497
+ const frameB = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createRefs(frameBOrigin, axesB);
192498
+ const spiralBC = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, undefined, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.zero(), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(-spiralTurnRadians), spiralLength, undefined, frameB);
192205
192499
  return [spiralAB, spiralBC];
192206
192500
  }
192207
192501
  }
@@ -192233,8 +192527,8 @@ class CurveFactory {
192233
192527
  const sideB = -sideA;
192234
192528
  const radiusA = sideA * Math.abs(arcRadius);
192235
192529
  const radiusB = sideB * Math.abs(arcRadius);
192236
- const spiralA = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_21__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, radiusA, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.zero(), undefined, lengthA, undefined, _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_16__.Transform.createIdentity());
192237
- const spiralB = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_21__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, radiusB, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_20__.Angle.zero(), undefined, lengthB, undefined, _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_16__.Transform.createIdentity());
192530
+ const spiralA = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, radiusA, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.zero(), undefined, lengthA, undefined, _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createIdentity());
192531
+ const spiralB = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, radiusB, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.zero(), undefined, lengthB, undefined, _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createIdentity());
192238
192532
  const spiralEndA = spiralA.fractionToPointAndUnitTangent(1.0);
192239
192533
  const spiralEndB = spiralB.fractionToPointAndUnitTangent(1.0);
192240
192534
  // From the end of spiral, step away to arc center (and this is in local coordinates of each spiral)
@@ -192245,12 +192539,12 @@ class CurveFactory {
192245
192539
  // Those local coordinates are rotated to unitAB and unitBC ...
192246
192540
  const vectorA = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.createAdd2Scaled(unitAB, sA, unitPerpAB, tA);
192247
192541
  const vectorB = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.createAdd2Scaled(unitCB, sB, unitPerpCB, tB);
192248
- const uv = _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_23__.Vector2d.create();
192249
- if (_numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_24__.SmallSystem.linearSystem2d(unitAB.x, -unitCB.x, unitAB.y, -unitCB.y, vectorB.x - vectorA.x, vectorB.y - vectorA.y, uv)) {
192542
+ const uv = _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_24__.Vector2d.create();
192543
+ if (_numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_25__.SmallSystem.linearSystem2d(unitAB.x, -unitCB.x, unitAB.y, -unitCB.y, vectorB.x - vectorA.x, vectorB.y - vectorA.y, uv)) {
192250
192544
  const tangencyAB = pointB.plusScaled(unitAB, uv.x);
192251
192545
  const tangencyCB = pointB.plusScaled(unitCB, uv.y);
192252
- const frameA = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_16__.Transform.createOriginAndMatrixColumns(tangencyAB, unitAB, unitPerpAB, _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.unitZ());
192253
- const frameB = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_16__.Transform.createOriginAndMatrixColumns(tangencyCB, unitCB, unitPerpCB, _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.unitZ());
192546
+ const frameA = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createOriginAndMatrixColumns(tangencyAB, unitAB, unitPerpAB, _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.unitZ());
192547
+ const frameB = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createOriginAndMatrixColumns(tangencyCB, unitCB, unitPerpCB, _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.unitZ());
192254
192548
  spiralA.tryTransformInPlace(frameA);
192255
192549
  spiralB.tryTransformInPlace(frameB);
192256
192550
  const rayA1 = spiralA.fractionToPointAndUnitTangent(1.0);
@@ -192277,21 +192571,13 @@ class CurveFactory {
192277
192571
  const normalCx = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.crossProductXYXY(normalAy, normalAz, normalBy, normalBz);
192278
192572
  const normalCy = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.crossProductXYXY(normalAz, normalAx, normalBz, normalBx);
192279
192573
  const normalCz = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.crossProductXYXY(normalAx, normalAy, normalBx, normalBy);
192280
- const rayOrigin = _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_24__.SmallSystem.linearSystem3d(normalAx, normalAy, normalAz, normalBx, normalBy, normalBz, normalCx, normalCy, normalCz, -altitudeA, -altitudeB, 0.0);
192574
+ const rayOrigin = _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_25__.SmallSystem.linearSystem3d(normalAx, normalAy, normalAz, normalBx, normalBy, normalBz, normalCx, normalCy, normalCz, -altitudeA, -altitudeB, 0.0);
192281
192575
  if (rayOrigin !== undefined) {
192282
- return _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_25__.Ray3d.createXYZUVW(rayOrigin.x, rayOrigin.y, rayOrigin.z, normalCx, normalCy, normalCz);
192576
+ return _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_15__.Ray3d.createXYZUVW(rayOrigin.x, rayOrigin.y, rayOrigin.z, normalCx, normalCy, normalCz);
192283
192577
  }
192284
192578
  return undefined;
192285
192579
  }
192286
192580
  }
192287
- /** Starting at vectorR, move parallel to vectorV until perpendicular to planeNormal. */
192288
- function moveVectorToPlane(vectorR, vectorV, planeNormal, result) {
192289
- // find s such that (vectorR + s * vectorV) DOT planeNormal = 0.
192290
- const dotRN = vectorR.dotProduct(planeNormal);
192291
- const dotVN = vectorV.dotProduct(planeNormal);
192292
- const s = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.safeDivideFraction(dotRN, dotVN, 0.0);
192293
- return vectorR.plusScaled(vectorV, -s, result);
192294
- }
192295
192581
 
192296
192582
 
192297
192583
  /***/ }),
@@ -200167,7 +200453,7 @@ __webpack_require__.r(__webpack_exports__);
200167
200453
  */
200168
200454
  class StrokeOptions {
200169
200455
  constructor() {
200170
- /** Whether or not to triangulate each added facet */
200456
+ /** Whether or not to triangulate each added facet. */
200171
200457
  this.shouldTriangulate = false;
200172
200458
  /** Default number of strokes for a circle. */
200173
200459
  this.defaultCircleStrokes = 16;
@@ -226009,7 +226295,8 @@ class PolylineOps {
226009
226295
  data.pop();
226010
226296
  }
226011
226297
  }
226012
- /** Create an array of planes.
226298
+ /**
226299
+ * Create an array of planes.
226013
226300
  * * First plane has origin at first centerline point, with unit normal directed at the next point.
226014
226301
  * * Intermediate planes have origin at intermediate points, with unit normals computed from the average of unit vectors
226015
226302
  * along the incoming and outgoing segments.
@@ -239655,26 +239942,41 @@ __webpack_require__.r(__webpack_exports__);
239655
239942
  */
239656
239943
  class SortableEdge extends Float64Array {
239657
239944
  /** Return the vertex index that appears first in the order stored. */
239658
- get vertexIndexA() { return this[0]; }
239945
+ get vertexIndexA() {
239946
+ return this[0];
239947
+ }
239659
239948
  /** Return the vertex index that appears second in the order stored. */
239660
- get vertexIndexB() { return this[1]; }
239949
+ get vertexIndexB() {
239950
+ return this[1];
239951
+ }
239661
239952
  /** Return the facet index. */
239662
- get facetIndex() { return this[2]; }
239663
- /** return true if vertexIndexA is less than vertexIndexB */
239664
- get isLowHigh() { return this[0] < this[1]; }
239665
- /** Return the vertex index with lower numeric value */
239666
- get lowVertexIndex() { return this[0] < this[1] ? this[0] : this[1]; }
239667
- /** Return the vertex index with higher numeric value */
239668
- get highVertexIndex() { return this[0] > this[1] ? this[0] : this[1]; }
239669
- /** Return true if the vertices edgeA and edgeB are the same vertex indices in opposite order */
239670
- static areDirectedPartners(edgeA, edgeB) { return edgeA[0] === edgeB[1] && edgeA[1] === edgeB[0]; }
239671
- /** Return true if the vertices edgeA and edgeB are the same vertex indices with no consideration of order */
239953
+ get facetIndex() {
239954
+ return this[2];
239955
+ }
239956
+ /** return true if vertexIndexA is less than vertexIndexB. */
239957
+ get isLowHigh() {
239958
+ return this[0] < this[1];
239959
+ }
239960
+ /** Return the vertex index with lower numeric value. */
239961
+ get lowVertexIndex() {
239962
+ return this[0] < this[1] ? this[0] : this[1];
239963
+ }
239964
+ /** Return the vertex index with higher numeric value. */
239965
+ get highVertexIndex() {
239966
+ return this[0] > this[1] ? this[0] : this[1];
239967
+ }
239968
+ /** Return true if the vertices edgeA and edgeB are the same vertex indices in opposite order. */
239969
+ static areDirectedPartners(edgeA, edgeB) {
239970
+ return edgeA[0] === edgeB[1] && edgeA[1] === edgeB[0];
239971
+ }
239972
+ /** Return true if the vertices edgeA and edgeB are the same vertex indices with no consideration of order. */
239672
239973
  static areUndirectedPartners(edgeA, edgeB) {
239673
239974
  return (edgeA[0] === edgeB[0] && edgeA[1] === edgeB[1]) || ((edgeA[0] === edgeB[1] && edgeA[1] === edgeB[0]));
239674
239975
  }
239675
- /** Return numeric relationship of edgeA and edgeB:
239676
- * * 1 if they share start and end in the same order
239677
- * * -1 if they share start and end in reversed order
239976
+ /**
239977
+ * Return numeric relationship of edgeA and edgeB:
239978
+ * * 1 if they share start and end in the same order.
239979
+ * * -1 if they share start and end in reversed order.
239678
239980
  * * 0 otherwise.
239679
239981
  */
239680
239982
  static relativeOrientation(edgeA, edgeB) {
@@ -239684,10 +239986,12 @@ class SortableEdge extends Float64Array {
239684
239986
  return -1;
239685
239987
  return 0;
239686
239988
  }
239687
- get isNullEdge() { return this[0] === this[1]; }
239989
+ get isNullEdge() {
239990
+ return this[0] === this[1];
239991
+ }
239688
239992
  /**
239689
- * lexical comparison of two edges.
239690
- * * If the edges have the same vertex pair (in same or opposite order) they will end up adjacent in a sort
239993
+ * Lexical comparison of two edges.
239994
+ * * If the edges have the same vertex pair (in same or opposite order) they will end up adjacent in a sort.
239691
239995
  * * If the edges have 0 or 1 shared vertex indices, the one with lowest low comes first.
239692
239996
  * @param edgeA first edge
239693
239997
  * @param edgeB second edge
@@ -239715,7 +240019,9 @@ class SortableEdge extends Float64Array {
239715
240019
  this[1] = vertexB;
239716
240020
  this[2] = facetIndex;
239717
240021
  }
239718
- toJSON() { return [this[0], this[1], this[2]]; }
240022
+ toJSON() {
240023
+ return [this[0], this[1], this[2]];
240024
+ }
239719
240025
  static clusterToJSON(data) {
239720
240026
  if (data instanceof SortableEdge)
239721
240027
  return data.toJSON();
@@ -239731,18 +240037,19 @@ class SortableEdge extends Float64Array {
239731
240037
  }
239732
240038
  }
239733
240039
  /**
239734
- * An IndexedEdgeMatcher carries an array (`edges`) of edges start & end indices for sorting and subsequent analyses (such as testing for closed mesh)
240040
+ * An IndexedEdgeMatcher carries an array (`edges`) of edges start & end indices for sorting and subsequent analyses
240041
+ * (such as testing for closed mesh).
239735
240042
  */
239736
240043
  class IndexedEdgeMatcher {
239737
240044
  constructor() {
239738
240045
  this.edges = [];
239739
240046
  }
239740
240047
  /**
239741
- * push a new edge.
239742
- * @returns the edge (as emplaced at the back of the sortableEdge array)
240048
+ * Push a new edge.
239743
240049
  * @param vertexA start vertex
239744
240050
  * @param vertexB end vertex
239745
240051
  * @param facetIndex facet index
240052
+ * @returns the edge (as emplaced at the back of the sortableEdge array)
239746
240053
  */
239747
240054
  addEdge(vertexA, vertexB, facetIndex) {
239748
240055
  const edge = new SortableEdge(vertexA, vertexB, facetIndex);
@@ -239750,9 +240057,10 @@ class IndexedEdgeMatcher {
239750
240057
  return edge;
239751
240058
  }
239752
240059
  /**
239753
- * Push edges all around a facet, returning to vertexArray[0]
240060
+ * Push edges all around a facet, returning to vertexArray[0].
239754
240061
  * @param vertexArray array of vertex indices around facet
239755
- * @param facetIndex
240062
+ * @param facetIndex facet index
240063
+ * @param closeLoop true to add an edge from last to first vertex.
239756
240064
  */
239757
240065
  addPath(vertexArray, facetIndex, closeLoop = true) {
239758
240066
  if (vertexArray.length === 0)
@@ -239783,16 +240091,20 @@ class IndexedEdgeMatcher {
239783
240091
  }
239784
240092
  }
239785
240093
  /**
239786
- * sort the edges, and look for three categories of paired edges:
240094
+ * Sort the edges, and look for three categories of paired edges:
239787
240095
  * * caller must allocate all result arrays of interest.
239788
240096
  * * Any combination of the result arrays may be `undefined`, indicating that category is to be ignored.
239789
- * * Any combination of the result arrays may be aliased as the same target, in which case those to categories are merged into the target.
239790
- * * For instance, to ignore manifold pairs and collect all others (singleton, null, and other) as a single array `allOther`, create `const allOther = []` as an empty array and call
240097
+ * * Any combination of the result arrays may be aliased as the same target, in which case those to categories are
240098
+ * merged into the target.
240099
+ * * For instance, to ignore manifold pairs and collect all others (singleton, null, and other) as a single array
240100
+ * `allOther`, create `const allOther = []` as an empty array and call
239791
240101
  * `sortAndCollectClusters (undefined, allOther, allOther, allOther);`
239792
- * @param manifoldPairs optional array to receive pairs of properly mated SortableEdgePairs, i.e. simple interior edges adjacent to two facets in opposing directions.
240102
+ * @param manifoldPairs optional array to receive pairs of properly mated SortableEdgePairs, i.e. simple interior
240103
+ * edges adjacent to two facets in opposing directions.
239793
240104
  * @param singletons optional array to receive edges that are simple boundary edges.
239794
240105
  * @param nullEdges optional array to receive arrays of null edges (same start and end vertex)
239795
- * @param allOtherClusters optional array to receive arrays in which all the edges are partners in an undirected sense but not a simple directed pair.
240106
+ * @param allOtherClusters optional array to receive arrays in which all the edges are partners in an undirected sense
240107
+ * but not a simple directed pair.
239796
240108
  */
239797
240109
  sortAndCollectClusters(manifoldPairs, singletons, nullEdges, allOtherClusters) {
239798
240110
  this.sort();
@@ -239809,7 +240121,8 @@ class IndexedEdgeMatcher {
239809
240121
  for (let index0 = 0; index0 < n; index0 += clusterLength) {
239810
240122
  const baseEdge = this.edges[index0];
239811
240123
  clusterLength = 1;
239812
- for (let index1 = index0 + 1; index1 < n && SortableEdge.areUndirectedPartners(baseEdge, this.edges[index1]); index1++) {
240124
+ for (let index1 = index0 + 1; index1 < n &&
240125
+ SortableEdge.areUndirectedPartners(baseEdge, this.edges[index1]); index1++) {
239813
240126
  clusterLength++;
239814
240127
  }
239815
240128
  if (this.edges[index0].isNullEdge) {
@@ -240056,7 +240369,8 @@ class IndexedPolyfaceSubsetVisitor extends IndexedPolyfaceVisitor {
240056
240369
  }
240057
240370
  /**
240058
240371
  * Advance the iterator to a particular facet in the subset of client polyface facets.
240059
- * @param activeIndex the index of the facet within the subset, not to be confused with the index of the facet within the client polyface.
240372
+ * @param activeIndex the index of the facet within the subset, not to be confused with the index of the facet within
240373
+ * the client polyface.
240060
240374
  * @return whether the iterator was successfully moved.
240061
240375
  */
240062
240376
  moveToReadIndex(activeIndex) {
@@ -240764,7 +241078,7 @@ __webpack_require__.r(__webpack_exports__);
240764
241078
  /* harmony import */ var _curve_Query_StrokeCountChain__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../curve/Query/StrokeCountChain */ "../../core/geometry/lib/esm/curve/Query/StrokeCountChain.js");
240765
241079
  /* harmony import */ var _curve_StrokeOptions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../curve/StrokeOptions */ "../../core/geometry/lib/esm/curve/StrokeOptions.js");
240766
241080
  /* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
240767
- /* harmony import */ var _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../geometry3d/Angle */ "../../core/geometry/lib/esm/geometry3d/Angle.js");
241081
+ /* harmony import */ var _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../geometry3d/Angle */ "../../core/geometry/lib/esm/geometry3d/Angle.js");
240768
241082
  /* harmony import */ var _geometry3d_BilinearPatch__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../geometry3d/BilinearPatch */ "../../core/geometry/lib/esm/geometry3d/BilinearPatch.js");
240769
241083
  /* harmony import */ var _geometry3d_FrameBuilder__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../geometry3d/FrameBuilder */ "../../core/geometry/lib/esm/geometry3d/FrameBuilder.js");
240770
241084
  /* harmony import */ var _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../geometry3d/GeometryHandler */ "../../core/geometry/lib/esm/geometry3d/GeometryHandler.js");
@@ -240774,7 +241088,7 @@ __webpack_require__.r(__webpack_exports__);
240774
241088
  /* harmony import */ var _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../geometry3d/Matrix3d */ "../../core/geometry/lib/esm/geometry3d/Matrix3d.js");
240775
241089
  /* harmony import */ var _geometry3d_Plane3dByOriginAndVectors__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../geometry3d/Plane3dByOriginAndVectors */ "../../core/geometry/lib/esm/geometry3d/Plane3dByOriginAndVectors.js");
240776
241090
  /* harmony import */ var _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../geometry3d/Point2dVector2d */ "../../core/geometry/lib/esm/geometry3d/Point2dVector2d.js");
240777
- /* harmony import */ var _geometry3d_Point3dArrayCarrier__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../geometry3d/Point3dArrayCarrier */ "../../core/geometry/lib/esm/geometry3d/Point3dArrayCarrier.js");
241091
+ /* harmony import */ var _geometry3d_Point3dArrayCarrier__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../geometry3d/Point3dArrayCarrier */ "../../core/geometry/lib/esm/geometry3d/Point3dArrayCarrier.js");
240778
241092
  /* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
240779
241093
  /* harmony import */ var _geometry3d_PolygonOps__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../geometry3d/PolygonOps */ "../../core/geometry/lib/esm/geometry3d/PolygonOps.js");
240780
241094
  /* harmony import */ var _geometry3d_Range__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../geometry3d/Range */ "../../core/geometry/lib/esm/geometry3d/Range.js");
@@ -240787,10 +241101,10 @@ __webpack_require__.r(__webpack_exports__);
240787
241101
  /* harmony import */ var _topology_Triangulation__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../topology/Triangulation */ "../../core/geometry/lib/esm/topology/Triangulation.js");
240788
241102
  /* harmony import */ var _BoxTopology__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./BoxTopology */ "../../core/geometry/lib/esm/polyface/BoxTopology.js");
240789
241103
  /* harmony import */ var _GreedyTriangulationBetweenLineStrings__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./GreedyTriangulationBetweenLineStrings */ "../../core/geometry/lib/esm/polyface/GreedyTriangulationBetweenLineStrings.js");
240790
- /* harmony import */ var _IndexedEdgeMatcher__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./IndexedEdgeMatcher */ "../../core/geometry/lib/esm/polyface/IndexedEdgeMatcher.js");
240791
- /* harmony import */ var _IndexedPolyfaceVisitor__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./IndexedPolyfaceVisitor */ "../../core/geometry/lib/esm/polyface/IndexedPolyfaceVisitor.js");
241104
+ /* harmony import */ var _IndexedEdgeMatcher__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./IndexedEdgeMatcher */ "../../core/geometry/lib/esm/polyface/IndexedEdgeMatcher.js");
241105
+ /* harmony import */ var _IndexedPolyfaceVisitor__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./IndexedPolyfaceVisitor */ "../../core/geometry/lib/esm/polyface/IndexedPolyfaceVisitor.js");
240792
241106
  /* harmony import */ var _Polyface__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Polyface */ "../../core/geometry/lib/esm/polyface/Polyface.js");
240793
- /* harmony import */ var _PolyfaceQuery__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./PolyfaceQuery */ "../../core/geometry/lib/esm/polyface/PolyfaceQuery.js");
241107
+ /* harmony import */ var _PolyfaceQuery__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./PolyfaceQuery */ "../../core/geometry/lib/esm/polyface/PolyfaceQuery.js");
240794
241108
  /*---------------------------------------------------------------------------------------------
240795
241109
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
240796
241110
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -242622,44 +242936,6 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
242622
242936
  const context = _GreedyTriangulationBetweenLineStrings__WEBPACK_IMPORTED_MODULE_30__.GreedyTriangulationBetweenLineStrings.createContext();
242623
242937
  context.emitTriangles(resolveToIndexedXYZCollectionOrCarrier(pointsA), resolveToIndexedXYZCollectionOrCarrier(pointsB), (triangle) => { this.addTriangleFacet(triangle.points); });
242624
242938
  }
242625
- /** Doc is same as `addMiteredPipes` doc. */
242626
- addMiteredPipesFromPoints(centerline, sectionData, numFacetAround = 12, capped = false) {
242627
- const sections = _curve_CurveFactory__WEBPACK_IMPORTED_MODULE_31__.CurveFactory.createMiteredPipeSections(centerline, sectionData);
242628
- const pointA0 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_0__.Point3d.create();
242629
- const pointA1 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_0__.Point3d.create();
242630
- const pointB0 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_0__.Point3d.create();
242631
- const pointB1 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_0__.Point3d.create();
242632
- const wantCaps = capped && (!(sectionData instanceof _curve_Arc3d__WEBPACK_IMPORTED_MODULE_32__.Arc3d) || sectionData.sweep.isFullCircle);
242633
- if (numFacetAround < 3)
242634
- numFacetAround = 3;
242635
- const df = 1.0 / numFacetAround;
242636
- if (wantCaps) { // start cap facets
242637
- const startLineString = _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d.create();
242638
- for (let i = 0; i < numFacetAround; i++)
242639
- startLineString.addPoint(sections[0].fractionToPoint(i * df));
242640
- this.addTrianglesInUncheckedConvexPolygon(startLineString, true);
242641
- this.endFace();
242642
- }
242643
- for (let i = 1; i < sections.length; i++) { // side facets
242644
- const arcA = sections[i - 1];
242645
- const arcB = sections[i];
242646
- arcA.fractionToPoint(0.0, pointA0);
242647
- arcB.fractionToPoint(0.0, pointB0);
242648
- for (let k = 1; k <= numFacetAround; k++, pointA0.setFromPoint3d(pointA1), pointB0.setFromPoint3d(pointB1)) {
242649
- const f = k * df;
242650
- arcA.fractionToPoint(f, pointA1);
242651
- arcB.fractionToPoint(f, pointB1);
242652
- this.addQuadFacet([pointA0, pointA1, pointB1, pointB0]); // ASSUME: CCW section traversal wrt rail tangent
242653
- }
242654
- }
242655
- if (wantCaps) { // end cap facets
242656
- const endLineString = _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d.create();
242657
- for (let i = 0; i < numFacetAround; i++)
242658
- endLineString.addPoint(sections[sections.length - 1].fractionToPoint(i * df));
242659
- this.addTrianglesInUncheckedConvexPolygon(endLineString, false);
242660
- this.endFace();
242661
- }
242662
- }
242663
242939
  /**
242664
242940
  * Add quad facets along a mitered pipe that follows a centerline curve.
242665
242941
  * * At the end of each pipe segment, the pipe is mitered by the plane that bisects the angle between successive
@@ -242668,8 +242944,10 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
242668
242944
  * lengths, or an Arc3d:
242669
242945
  * * For semi-axis length input, x and y correspond to ellipse local axes perpendicular to each other and to the
242670
242946
  * start tangent.
242671
- * * For Arc3d input, the center is translated to the centerline start point, but otherwise the arc is used as-is
242672
- * for the first section. For best results, the arc should be perpendicular to the centerline start tangent.
242947
+ * * For Arc3d input, the center is translated to the centerline start point. For best results, ensure this arc
242948
+ * is perpendicular to the centerline start tangent.
242949
+ * * This function internally calls [[CurveFactory.createMiteredSweepSections]], passing in the `startTangent`
242950
+ * option to preserve the rotation of Arc3d-type `sectionData`.
242673
242951
  * @param centerline centerline of pipe. If curved, it will be stroked using the builder's StrokeOptions, otherwise
242674
242952
  * for best results, ensure no successive duplicate points with e.g., [[GrowableXYZArray.createCompressed]].
242675
242953
  * @param sectionData circle radius, ellipse semi-axis lengths, or Arc3d.
@@ -242677,16 +242955,20 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
242677
242955
  * @param capped if `true`, add a cap at each end of the pipe; defaults to `false`.
242678
242956
  */
242679
242957
  addMiteredPipes(centerline, sectionData, numFacetAround = 12, capped = false) {
242680
- if (Array.isArray(centerline))
242681
- centerline = new _geometry3d_Point3dArrayCarrier__WEBPACK_IMPORTED_MODULE_33__.Point3dArrayCarrier(centerline);
242682
- else if (centerline instanceof _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d)
242683
- centerline = centerline.packedPoints;
242684
- else if (centerline instanceof _curve_CurvePrimitive__WEBPACK_IMPORTED_MODULE_19__.CurvePrimitive) {
242685
- const linestring = _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d.create();
242686
- centerline.emitStrokes(linestring, this._options);
242687
- centerline = linestring.packedPoints;
242688
- }
242689
- this.addMiteredPipesFromPoints(centerline, sectionData, numFacetAround, capped);
242958
+ const arc = _curve_CurveFactory__WEBPACK_IMPORTED_MODULE_31__.CurveFactory.createArcFromSectionData(centerline, sectionData);
242959
+ if (!arc)
242960
+ return;
242961
+ if (numFacetAround < 3)
242962
+ numFacetAround = 3;
242963
+ const section = _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d.create();
242964
+ section.appendFractionalStrokePoints(arc, numFacetAround, 0.0, 1.0, true);
242965
+ const strokeOptions = this._options.clone();
242966
+ const outputSelect = _curve_CurveFactory__WEBPACK_IMPORTED_MODULE_31__.MiteredSweepOutputSelect.AlsoMesh;
242967
+ const startTangent = sectionData instanceof _curve_Arc3d__WEBPACK_IMPORTED_MODULE_32__.Arc3d ? arc.binormalVector() : undefined; // preserve arc orientation
242968
+ const options = { strokeOptions, capped, outputSelect, startTangent };
242969
+ const sections = _curve_CurveFactory__WEBPACK_IMPORTED_MODULE_31__.CurveFactory.createMiteredSweepSections(centerline, section, options);
242970
+ if (sections && sections.mesh)
242971
+ this.addIndexedPolyface(sections.mesh);
242690
242972
  }
242691
242973
  /** Return the polyface index array indices corresponding to the given edge, or `undefined` if error. */
242692
242974
  getEdgeIndices(edge) {
@@ -242758,10 +243040,10 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
242758
243040
  */
242759
243041
  addSweptIndexedPolyface(source, sweepVector, triangulateSides = false) {
242760
243042
  let isSimpleSweep = true;
242761
- const totalProjectedArea = _PolyfaceQuery__WEBPACK_IMPORTED_MODULE_34__.PolyfaceQuery.sumFacetAreas(source, sweepVector);
243043
+ const totalProjectedArea = _PolyfaceQuery__WEBPACK_IMPORTED_MODULE_33__.PolyfaceQuery.sumFacetAreas(source, sweepVector);
242762
243044
  if (_Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.isAlmostEqualNumber(0.0, totalProjectedArea))
242763
243045
  isSimpleSweep = false;
242764
- const partitionedIndices = _PolyfaceQuery__WEBPACK_IMPORTED_MODULE_34__.PolyfaceQuery.partitionFacetIndicesByVisibilityVector(source, sweepVector, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_35__.Angle.createDegrees(1.0e-3));
243046
+ const partitionedIndices = _PolyfaceQuery__WEBPACK_IMPORTED_MODULE_33__.PolyfaceQuery.partitionFacetIndicesByVisibilityVector(source, sweepVector, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_34__.Angle.createDegrees(1.0e-3));
242765
243047
  const numForwardFacets = partitionedIndices[0].length;
242766
243048
  const numBackwardFacets = partitionedIndices[1].length;
242767
243049
  const numSideFacets = partitionedIndices[2].length;
@@ -242778,15 +243060,15 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
242778
243060
  // collect base edges added to the builder, and extract boundary
242779
243061
  const numBaseFacets = firstSweptFacet - firstBaseFacet;
242780
243062
  const baseFacetIndices = Array.from({ length: numBaseFacets }, (_, i) => firstBaseFacet + i);
242781
- const baseFacetVisitor = _IndexedPolyfaceVisitor__WEBPACK_IMPORTED_MODULE_36__.IndexedPolyfaceSubsetVisitor.createSubsetVisitor(this._polyface, baseFacetIndices, 1);
242782
- const baseEdges = _PolyfaceQuery__WEBPACK_IMPORTED_MODULE_34__.PolyfaceQuery.createIndexedEdges(baseFacetVisitor);
243063
+ const baseFacetVisitor = _IndexedPolyfaceVisitor__WEBPACK_IMPORTED_MODULE_35__.IndexedPolyfaceSubsetVisitor.createSubsetVisitor(this._polyface, baseFacetIndices, 1);
243064
+ const baseEdges = _PolyfaceQuery__WEBPACK_IMPORTED_MODULE_33__.PolyfaceQuery.createIndexedEdges(baseFacetVisitor);
242783
243065
  const baseBoundaryEdges = [];
242784
243066
  baseEdges.sortAndCollectClusters(undefined, baseBoundaryEdges, undefined, undefined);
242785
243067
  // add a side face per boundary edge
242786
243068
  const oldShouldTriangulate = this._options.shouldTriangulate;
242787
243069
  this._options.shouldTriangulate = triangulateSides;
242788
243070
  for (const edgeOrCluster of baseBoundaryEdges) {
242789
- if (edgeOrCluster instanceof _IndexedEdgeMatcher__WEBPACK_IMPORTED_MODULE_37__.SortableEdge)
243071
+ if (edgeOrCluster instanceof _IndexedEdgeMatcher__WEBPACK_IMPORTED_MODULE_36__.SortableEdge)
242790
243072
  this.addSweptFace(edgeOrCluster, numBaseFacets);
242791
243073
  else if (Array.isArray(edgeOrCluster))
242792
243074
  for (const edge of edgeOrCluster)
@@ -242801,7 +243083,7 @@ PolyfaceBuilder._workVectorFindOrAdd = _geometry3d_Point3dVector3d__WEBPACK_IMPO
242801
243083
  PolyfaceBuilder._workUVFindOrAdd = _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_1__.Point2d.create();
242802
243084
  function resolveToIndexedXYZCollectionOrCarrier(points) {
242803
243085
  if (Array.isArray(points))
242804
- return new _geometry3d_Point3dArrayCarrier__WEBPACK_IMPORTED_MODULE_33__.Point3dArrayCarrier(points);
243086
+ return new _geometry3d_Point3dArrayCarrier__WEBPACK_IMPORTED_MODULE_37__.Point3dArrayCarrier(points);
242805
243087
  if (points instanceof _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d)
242806
243088
  return points.packedPoints;
242807
243089
  return points;
@@ -263078,7 +263360,8 @@ class SweepContour {
263078
263360
  this.localToWorld = map;
263079
263361
  this.axis = axis;
263080
263362
  }
263081
- /** Create for linear sweep.
263363
+ /**
263364
+ * Create for linear sweep.
263082
263365
  * @param contour curve to sweep, CAPTURED. For best results, contour should be planar.
263083
263366
  * @param defaultNormal optional default normal for guiding coordinate frame setup.
263084
263367
  */
@@ -263089,8 +263372,10 @@ class SweepContour {
263089
263372
  }
263090
263373
  return undefined;
263091
263374
  }
263092
- /** Create for linear sweep.
263093
- * @param points polygon to sweep, CAPTURED as a Loop. Closure point is optional. If multiple polygons are passed in, parity logic is employed.
263375
+ /**
263376
+ * Create for linear sweep.
263377
+ * @param points polygon to sweep, CAPTURED as a Loop. Closure point is optional. If multiple polygons are passed in,
263378
+ * parity logic is employed.
263094
263379
  * For best results, all points should be coplanar.
263095
263380
  * @param defaultNormal optional default normal for guiding coordinate frame setup.
263096
263381
  */
@@ -263112,7 +263397,8 @@ class SweepContour {
263112
263397
  }
263113
263398
  return undefined;
263114
263399
  }
263115
- /** Create for rotational sweep.
263400
+ /**
263401
+ * Create for rotational sweep.
263116
263402
  * @param contour curve to sweep, CAPTURED. For best results, contour should be coplanar with axis.
263117
263403
  * @param axis rotation axis
263118
263404
  */
@@ -263124,7 +263410,7 @@ class SweepContour {
263124
263410
  }
263125
263411
  return undefined;
263126
263412
  }
263127
- /** Return (Reference to) the curves */
263413
+ /** Return (Reference to) the curves. */
263128
263414
  getCurves() { return this.curves; }
263129
263415
  /**
263130
263416
  * Apply `transform` to the curves, axis.
@@ -263172,7 +263458,7 @@ class SweepContour {
263172
263458
  return false;
263173
263459
  return true;
263174
263460
  }
263175
- /** Recompute the local strokes cache for this contour */
263461
+ /** Recompute the local strokes cache for this contour. */
263176
263462
  computeXYStrokes(options) {
263177
263463
  this._xyStrokes = undefined;
263178
263464
  const worldToLocal = this.localToWorld.inverse();
@@ -263182,14 +263468,15 @@ class SweepContour {
263182
263468
  this._xyStrokes = strokes;
263183
263469
  }
263184
263470
  }
263185
- /** Return cached contour strokes */
263471
+ /** Return cached contour strokes. */
263186
263472
  get xyStrokes() {
263187
263473
  return this._xyStrokes;
263188
263474
  }
263189
263475
  /**
263190
263476
  * Build the (cached) internal facets for the contour.
263191
263477
  * @param options primarily how to stroke the contour, but also how to facet it.
263192
- * * By default, a triangulation is computed, but if `options.maximizeConvexFacets === true`, edges between coplanar triangles are removed to return maximally convex facets.
263478
+ * * By default, a triangulation is computed, but if `options.maximizeConvexFacets === true`, edges between coplanar
263479
+ * triangles are removed to return maximally convex facets.
263193
263480
  */
263194
263481
  buildFacets(options) {
263195
263482
  if (this._facets)
@@ -263212,7 +263499,8 @@ class SweepContour {
263212
263499
  purgeFacets() {
263213
263500
  this._facets = undefined;
263214
263501
  }
263215
- /** Emit facets to a builder.
263502
+ /**
263503
+ * Emit facets to a builder.
263216
263504
  * This method may cache and reuse facets over multiple calls.
263217
263505
  */
263218
263506
  emitFacets(builder, reverse, transform) {
@@ -263220,10 +263508,11 @@ class SweepContour {
263220
263508
  if (this._facets)
263221
263509
  builder.addIndexedPolyface(this._facets, reverse, transform);
263222
263510
  }
263223
- /** Emit facets to a function
263511
+ /**
263512
+ * Emit facets to a function.
263224
263513
  * This method may cache and reuse facets over multiple calls.
263225
- * @param announce callback to receive the facet set
263226
- * @param options how to stroke the contour
263514
+ * @param announce callback to receive the facet set.
263515
+ * @param options how to stroke the contour.
263227
263516
  */
263228
263517
  announceFacets(announce, options) {
263229
263518
  this.buildFacets(options);
@@ -263233,8 +263522,10 @@ class SweepContour {
263233
263522
  /**
263234
263523
  * Create a UnionOfConvexClipPlaneSets that clips to the swept faceted contour region.
263235
263524
  * @param sweepVector the sweep direction and distance:
263236
- * * If undefined, the sweep direction is along the contour normal and no caps are constructed (the sweep is infinite in both directions).
263237
- * * If defined, the returned clipper is inverted if and only if sweepVector is in the opposite half-space as the computed contour normal.
263525
+ * * If undefined, the sweep direction is along the contour normal and no caps are constructed (the sweep is infinite
263526
+ * in both directions).
263527
+ * * If defined, the returned clipper is inverted if and only if sweepVector is in the opposite half-space as the
263528
+ * computed contour normal.
263238
263529
  * @param cap0 construct a clip plane equal to the contour plane. Note that `sweepVector` must be defined.
263239
263530
  * @param cap1 construct a clip plane parallel to the contour plane at the end of `sweepVector`.
263240
263531
  * @param options how to stroke the contour
@@ -263248,7 +263539,7 @@ class SweepContour {
263248
263539
  sweepVector = this.localToWorld.matrix.columnZ();
263249
263540
  }
263250
263541
  options.maximizeConvexFacets = true; // produce fewer ConvexClipPlaneSets
263251
- // It's a trip around the barn, but it's easy to make a polyface and scan it . . .
263542
+ // it's a trip around the barn, but it's easy to make a polyface and scan it
263252
263543
  this.buildFacets(options);
263253
263544
  const facets = this._facets;
263254
263545
  if (facets) {
@@ -291098,7 +291389,7 @@ exports.TestContext = void 0;
291098
291389
  const chai_1 = __webpack_require__(/*! chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.10/node_modules/chai/index.js");
291099
291390
  const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
291100
291391
  const core_frontend_1 = __webpack_require__(/*! @itwin/core-frontend */ "../../core/frontend/lib/esm/core-frontend.js");
291101
- const frontend_1 = __webpack_require__(/*! @itwin/oidc-signin-tool/lib/cjs/frontend */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.3.7_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/frontend.js");
291392
+ const frontend_1 = __webpack_require__(/*! @itwin/oidc-signin-tool/lib/cjs/frontend */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/frontend.js");
291102
291393
  const Settings_1 = __webpack_require__(/*! ../../common/Settings */ "./lib/common/Settings.js");
291103
291394
  const SideChannels_1 = __webpack_require__(/*! ../../common/SideChannels */ "./lib/common/SideChannels.js");
291104
291395
  const IModelSession_1 = __webpack_require__(/*! ./IModelSession */ "./lib/frontend/setup/IModelSession.js");
@@ -296620,9 +296911,9 @@ const gBase64 = {
296620
296911
 
296621
296912
  /***/ }),
296622
296913
 
296623
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
296914
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
296624
296915
  /*!******************************************************************************************************************************!*\
296625
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
296916
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
296626
296917
  \******************************************************************************************************************************/
296627
296918
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296628
296919
 
@@ -296640,9 +296931,9 @@ function _arrayLikeToArray(r, a) {
296640
296931
 
296641
296932
  /***/ }),
296642
296933
 
296643
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
296934
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
296644
296935
  /*!****************************************************************************************************************************!*\
296645
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
296936
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
296646
296937
  \****************************************************************************************************************************/
296647
296938
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296648
296939
 
@@ -296658,9 +296949,9 @@ function _arrayWithHoles(r) {
296658
296949
 
296659
296950
  /***/ }),
296660
296951
 
296661
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
296952
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
296662
296953
  /*!***********************************************************************************************************************************!*\
296663
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
296954
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
296664
296955
  \***********************************************************************************************************************************/
296665
296956
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296666
296957
 
@@ -296677,9 +296968,9 @@ function _assertThisInitialized(e) {
296677
296968
 
296678
296969
  /***/ }),
296679
296970
 
296680
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
296971
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
296681
296972
  /*!****************************************************************************************************************************!*\
296682
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
296973
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
296683
296974
  \****************************************************************************************************************************/
296684
296975
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296685
296976
 
@@ -296695,9 +296986,9 @@ function _classCallCheck(a, n) {
296695
296986
 
296696
296987
  /***/ }),
296697
296988
 
296698
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
296989
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
296699
296990
  /*!*************************************************************************************************************************!*\
296700
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
296991
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
296701
296992
  \*************************************************************************************************************************/
296702
296993
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296703
296994
 
@@ -296706,7 +296997,7 @@ __webpack_require__.r(__webpack_exports__);
296706
296997
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296707
296998
  /* harmony export */ "default": () => (/* binding */ _createClass)
296708
296999
  /* harmony export */ });
296709
- /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
297000
+ /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
296710
297001
 
296711
297002
  function _defineProperties(e, r) {
296712
297003
  for (var t = 0; t < r.length; t++) {
@@ -296723,9 +297014,9 @@ function _createClass(e, r, t) {
296723
297014
 
296724
297015
  /***/ }),
296725
297016
 
296726
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
297017
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
296727
297018
  /*!****************************************************************************************************************************!*\
296728
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
297019
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
296729
297020
  \****************************************************************************************************************************/
296730
297021
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296731
297022
 
@@ -296734,7 +297025,7 @@ __webpack_require__.r(__webpack_exports__);
296734
297025
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296735
297026
  /* harmony export */ "default": () => (/* binding */ _defineProperty)
296736
297027
  /* harmony export */ });
296737
- /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
297028
+ /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
296738
297029
 
296739
297030
  function _defineProperty(e, r, t) {
296740
297031
  return (r = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r)) in e ? Object.defineProperty(e, r, {
@@ -296748,9 +297039,9 @@ function _defineProperty(e, r, t) {
296748
297039
 
296749
297040
  /***/ }),
296750
297041
 
296751
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
297042
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
296752
297043
  /*!****************************************************************************************************************************!*\
296753
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
297044
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
296754
297045
  \****************************************************************************************************************************/
296755
297046
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296756
297047
 
@@ -296768,9 +297059,9 @@ function _getPrototypeOf(t) {
296768
297059
 
296769
297060
  /***/ }),
296770
297061
 
296771
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/inherits.js":
297062
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/inherits.js":
296772
297063
  /*!**********************************************************************************************************************!*\
296773
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
297064
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
296774
297065
  \**********************************************************************************************************************/
296775
297066
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296776
297067
 
@@ -296779,7 +297070,7 @@ __webpack_require__.r(__webpack_exports__);
296779
297070
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296780
297071
  /* harmony export */ "default": () => (/* binding */ _inherits)
296781
297072
  /* harmony export */ });
296782
- /* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
297073
+ /* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
296783
297074
 
296784
297075
  function _inherits(t, e) {
296785
297076
  if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
@@ -296797,9 +297088,9 @@ function _inherits(t, e) {
296797
297088
 
296798
297089
  /***/ }),
296799
297090
 
296800
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
297091
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
296801
297092
  /*!*****************************************************************************************************************************!*\
296802
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
297093
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
296803
297094
  \*****************************************************************************************************************************/
296804
297095
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296805
297096
 
@@ -296815,9 +297106,9 @@ function _iterableToArray(r) {
296815
297106
 
296816
297107
  /***/ }),
296817
297108
 
296818
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
297109
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
296819
297110
  /*!*****************************************************************************************************************************!*\
296820
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
297111
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
296821
297112
  \*****************************************************************************************************************************/
296822
297113
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296823
297114
 
@@ -296833,9 +297124,9 @@ function _nonIterableRest() {
296833
297124
 
296834
297125
  /***/ }),
296835
297126
 
296836
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
297127
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
296837
297128
  /*!***************************************************************************************************************************************!*\
296838
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
297129
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
296839
297130
  \***************************************************************************************************************************************/
296840
297131
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296841
297132
 
@@ -296844,8 +297135,8 @@ __webpack_require__.r(__webpack_exports__);
296844
297135
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296845
297136
  /* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
296846
297137
  /* harmony export */ });
296847
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
296848
- /* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
297138
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
297139
+ /* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
296849
297140
 
296850
297141
 
296851
297142
  function _possibleConstructorReturn(t, e) {
@@ -296857,9 +297148,9 @@ function _possibleConstructorReturn(t, e) {
296857
297148
 
296858
297149
  /***/ }),
296859
297150
 
296860
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
297151
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
296861
297152
  /*!****************************************************************************************************************************!*\
296862
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
297153
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
296863
297154
  \****************************************************************************************************************************/
296864
297155
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296865
297156
 
@@ -296877,9 +297168,9 @@ function _setPrototypeOf(t, e) {
296877
297168
 
296878
297169
  /***/ }),
296879
297170
 
296880
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toArray.js":
297171
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toArray.js":
296881
297172
  /*!*********************************************************************************************************************!*\
296882
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
297173
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
296883
297174
  \*********************************************************************************************************************/
296884
297175
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296885
297176
 
@@ -296888,10 +297179,10 @@ __webpack_require__.r(__webpack_exports__);
296888
297179
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296889
297180
  /* harmony export */ "default": () => (/* binding */ _toArray)
296890
297181
  /* harmony export */ });
296891
- /* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
296892
- /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
296893
- /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
296894
- /* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
297182
+ /* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
297183
+ /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
297184
+ /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
297185
+ /* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
296895
297186
 
296896
297187
 
296897
297188
 
@@ -296903,9 +297194,9 @@ function _toArray(r) {
296903
297194
 
296904
297195
  /***/ }),
296905
297196
 
296906
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
297197
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
296907
297198
  /*!*************************************************************************************************************************!*\
296908
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
297199
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
296909
297200
  \*************************************************************************************************************************/
296910
297201
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296911
297202
 
@@ -296914,7 +297205,7 @@ __webpack_require__.r(__webpack_exports__);
296914
297205
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296915
297206
  /* harmony export */ "default": () => (/* binding */ toPrimitive)
296916
297207
  /* harmony export */ });
296917
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
297208
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
296918
297209
 
296919
297210
  function toPrimitive(t, r) {
296920
297211
  if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
@@ -296930,9 +297221,9 @@ function toPrimitive(t, r) {
296930
297221
 
296931
297222
  /***/ }),
296932
297223
 
296933
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
297224
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
296934
297225
  /*!***************************************************************************************************************************!*\
296935
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
297226
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
296936
297227
  \***************************************************************************************************************************/
296937
297228
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296938
297229
 
@@ -296941,8 +297232,8 @@ __webpack_require__.r(__webpack_exports__);
296941
297232
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296942
297233
  /* harmony export */ "default": () => (/* binding */ toPropertyKey)
296943
297234
  /* harmony export */ });
296944
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
296945
- /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
297235
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
297236
+ /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
296946
297237
 
296947
297238
 
296948
297239
  function toPropertyKey(t) {
@@ -296953,9 +297244,9 @@ function toPropertyKey(t) {
296953
297244
 
296954
297245
  /***/ }),
296955
297246
 
296956
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
297247
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
296957
297248
  /*!********************************************************************************************************************!*\
296958
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
297249
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
296959
297250
  \********************************************************************************************************************/
296960
297251
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296961
297252
 
@@ -296977,9 +297268,9 @@ function _typeof(o) {
296977
297268
 
296978
297269
  /***/ }),
296979
297270
 
296980
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
297271
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
296981
297272
  /*!****************************************************************************************************************************************!*\
296982
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
297273
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
296983
297274
  \****************************************************************************************************************************************/
296984
297275
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296985
297276
 
@@ -296988,7 +297279,7 @@ __webpack_require__.r(__webpack_exports__);
296988
297279
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296989
297280
  /* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
296990
297281
  /* harmony export */ });
296991
- /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
297282
+ /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
296992
297283
 
296993
297284
  function _unsupportedIterableToArray(r, a) {
296994
297285
  if (r) {
@@ -297001,9 +297292,9 @@ function _unsupportedIterableToArray(r, a) {
297001
297292
 
297002
297293
  /***/ }),
297003
297294
 
297004
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js":
297295
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/index.js":
297005
297296
  /*!************************************************************************************!*\
297006
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js ***!
297297
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/index.js ***!
297007
297298
  \************************************************************************************/
297008
297299
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297009
297300
 
@@ -297028,7 +297319,7 @@ __webpack_require__.r(__webpack_exports__);
297028
297319
  /* harmony export */ spread: () => (/* binding */ spread),
297029
297320
  /* harmony export */ toFormData: () => (/* binding */ toFormData)
297030
297321
  /* harmony export */ });
297031
- /* harmony import */ var _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js");
297322
+ /* harmony import */ var _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/axios.js");
297032
297323
 
297033
297324
 
297034
297325
  // This module is intended to unwrap Axios default export as named.
@@ -297058,9 +297349,9 @@ const {
297058
297349
 
297059
297350
  /***/ }),
297060
297351
 
297061
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js":
297352
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/adapters.js":
297062
297353
  /*!****************************************************************************************************!*\
297063
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js ***!
297354
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/adapters.js ***!
297064
297355
  \****************************************************************************************************/
297065
297356
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297066
297357
 
@@ -297069,11 +297360,11 @@ __webpack_require__.r(__webpack_exports__);
297069
297360
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297070
297361
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297071
297362
  /* harmony export */ });
297072
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
297073
- /* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js");
297074
- /* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhr.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js");
297075
- /* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fetch.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js");
297076
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
297363
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
297364
+ /* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/null.js");
297365
+ /* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhr.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/xhr.js");
297366
+ /* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fetch.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/fetch.js");
297367
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
297077
297368
 
297078
297369
 
297079
297370
 
@@ -297157,9 +297448,9 @@ const isResolvedHandle = (adapter) => _utils_js__WEBPACK_IMPORTED_MODULE_3__["de
297157
297448
 
297158
297449
  /***/ }),
297159
297450
 
297160
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js":
297451
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/fetch.js":
297161
297452
  /*!*************************************************************************************************!*\
297162
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js ***!
297453
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/fetch.js ***!
297163
297454
  \*************************************************************************************************/
297164
297455
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297165
297456
 
@@ -297168,15 +297459,15 @@ __webpack_require__.r(__webpack_exports__);
297168
297459
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297169
297460
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297170
297461
  /* harmony export */ });
297171
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js");
297172
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
297173
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
297174
- /* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js");
297175
- /* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js");
297176
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js");
297177
- /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js");
297178
- /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js");
297179
- /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js");
297462
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
297463
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
297464
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
297465
+ /* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/composeSignals.js");
297466
+ /* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/trackStream.js");
297467
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
297468
+ /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/progressEventReducer.js");
297469
+ /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/resolveConfig.js");
297470
+ /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/settle.js");
297180
297471
 
297181
297472
 
297182
297473
 
@@ -297248,11 +297539,7 @@ const getBodyLength = async (body) => {
297248
297539
  }
297249
297540
 
297250
297541
  if(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isSpecCompliantForm(body)) {
297251
- const _request = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin, {
297252
- method: 'POST',
297253
- body,
297254
- });
297255
- return (await _request.arrayBuffer()).byteLength;
297542
+ return (await new Request(body).arrayBuffer()).byteLength;
297256
297543
  }
297257
297544
 
297258
297545
  if(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isArrayBufferView(body) || _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isArrayBuffer(body)) {
@@ -297292,13 +297579,18 @@ const resolveBodyLength = async (headers, body) => {
297292
297579
 
297293
297580
  responseType = responseType ? (responseType + '').toLowerCase() : 'text';
297294
297581
 
297295
- let composedSignal = (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
297582
+ let [composedSignal, stopTimeout] = (signal || cancelToken || timeout) ?
297583
+ (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])([signal, cancelToken], timeout) : [];
297296
297584
 
297297
- let request;
297585
+ let finished, request;
297298
297586
 
297299
- const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
297300
- composedSignal.unsubscribe();
297301
- });
297587
+ const onFinish = () => {
297588
+ !finished && setTimeout(() => {
297589
+ composedSignal && composedSignal.unsubscribe();
297590
+ });
297591
+
297592
+ finished = true;
297593
+ }
297302
297594
 
297303
297595
  let requestContentLength;
297304
297596
 
@@ -297325,7 +297617,7 @@ const resolveBodyLength = async (headers, body) => {
297325
297617
  (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.asyncDecorator)(onUploadProgress))
297326
297618
  );
297327
297619
 
297328
- data = (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
297620
+ data = (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush, encodeText);
297329
297621
  }
297330
297622
  }
297331
297623
 
@@ -297333,9 +297625,6 @@ const resolveBodyLength = async (headers, body) => {
297333
297625
  withCredentials = withCredentials ? 'include' : 'omit';
297334
297626
  }
297335
297627
 
297336
- // Cloudflare Workers throws when credentials are defined
297337
- // see https://github.com/cloudflare/workerd/issues/902
297338
- const isCredentialsSupported = "credentials" in Request.prototype;
297339
297628
  request = new Request(url, {
297340
297629
  ...fetchOptions,
297341
297630
  signal: composedSignal,
@@ -297343,14 +297632,14 @@ const resolveBodyLength = async (headers, body) => {
297343
297632
  headers: headers.normalize().toJSON(),
297344
297633
  body: data,
297345
297634
  duplex: "half",
297346
- credentials: isCredentialsSupported ? withCredentials : undefined
297635
+ credentials: withCredentials
297347
297636
  });
297348
297637
 
297349
297638
  let response = await fetch(request);
297350
297639
 
297351
297640
  const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
297352
297641
 
297353
- if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {
297642
+ if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
297354
297643
  const options = {};
297355
297644
 
297356
297645
  ['status', 'statusText', 'headers'].forEach(prop => {
@@ -297367,8 +297656,8 @@ const resolveBodyLength = async (headers, body) => {
297367
297656
  response = new Response(
297368
297657
  (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
297369
297658
  flush && flush();
297370
- unsubscribe && unsubscribe();
297371
- }),
297659
+ isStreamResponse && onFinish();
297660
+ }, encodeText),
297372
297661
  options
297373
297662
  );
297374
297663
  }
@@ -297377,7 +297666,9 @@ const resolveBodyLength = async (headers, body) => {
297377
297666
 
297378
297667
  let responseData = await resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].findKey(resolvers, responseType) || 'text'](response, config);
297379
297668
 
297380
- !isStreamResponse && unsubscribe && unsubscribe();
297669
+ !isStreamResponse && onFinish();
297670
+
297671
+ stopTimeout && stopTimeout();
297381
297672
 
297382
297673
  return await new Promise((resolve, reject) => {
297383
297674
  (0,_core_settle_js__WEBPACK_IMPORTED_MODULE_7__["default"])(resolve, reject, {
@@ -297390,7 +297681,7 @@ const resolveBodyLength = async (headers, body) => {
297390
297681
  })
297391
297682
  })
297392
297683
  } catch (err) {
297393
- unsubscribe && unsubscribe();
297684
+ onFinish();
297394
297685
 
297395
297686
  if (err && err.name === 'TypeError' && /fetch/i.test(err.message)) {
297396
297687
  throw Object.assign(
@@ -297410,9 +297701,9 @@ const resolveBodyLength = async (headers, body) => {
297410
297701
 
297411
297702
  /***/ }),
297412
297703
 
297413
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js":
297704
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/xhr.js":
297414
297705
  /*!***********************************************************************************************!*\
297415
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js ***!
297706
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/xhr.js ***!
297416
297707
  \***********************************************************************************************/
297417
297708
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297418
297709
 
@@ -297421,16 +297712,16 @@ __webpack_require__.r(__webpack_exports__);
297421
297712
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297422
297713
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297423
297714
  /* harmony export */ });
297424
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
297425
- /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js");
297426
- /* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js");
297427
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
297428
- /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js");
297429
- /* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js");
297430
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js");
297431
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js");
297432
- /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js");
297433
- /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js");
297715
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
297716
+ /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/settle.js");
297717
+ /* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/transitional.js");
297718
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
297719
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js");
297720
+ /* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseProtocol.js");
297721
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
297722
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
297723
+ /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/progressEventReducer.js");
297724
+ /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/resolveConfig.js");
297434
297725
 
297435
297726
 
297436
297727
 
@@ -297632,9 +297923,9 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
297632
297923
 
297633
297924
  /***/ }),
297634
297925
 
297635
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js":
297926
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/axios.js":
297636
297927
  /*!****************************************************************************************!*\
297637
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js ***!
297928
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/axios.js ***!
297638
297929
  \****************************************************************************************/
297639
297930
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297640
297931
 
@@ -297643,23 +297934,23 @@ __webpack_require__.r(__webpack_exports__);
297643
297934
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297644
297935
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297645
297936
  /* harmony export */ });
297646
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
297647
- /* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js");
297648
- /* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js");
297649
- /* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js");
297650
- /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js");
297651
- /* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js");
297652
- /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js");
297653
- /* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js");
297654
- /* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js");
297655
- /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js");
297656
- /* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js");
297657
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
297658
- /* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers/spread.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js");
297659
- /* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js");
297660
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js");
297661
- /* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js");
297662
- /* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js");
297937
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
297938
+ /* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/bind.js");
297939
+ /* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/Axios.js");
297940
+ /* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/mergeConfig.js");
297941
+ /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/index.js");
297942
+ /* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/formDataToJSON.js");
297943
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js");
297944
+ /* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CancelToken.js");
297945
+ /* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/isCancel.js");
297946
+ /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/env/data.js");
297947
+ /* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js");
297948
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
297949
+ /* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers/spread.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/spread.js");
297950
+ /* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAxiosError.js");
297951
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
297952
+ /* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/adapters.js");
297953
+ /* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/HttpStatusCode.js");
297663
297954
 
297664
297955
 
297665
297956
 
@@ -297753,9 +298044,9 @@ axios.default = axios;
297753
298044
 
297754
298045
  /***/ }),
297755
298046
 
297756
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js":
298047
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CancelToken.js":
297757
298048
  /*!*****************************************************************************************************!*\
297758
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js ***!
298049
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CancelToken.js ***!
297759
298050
  \*****************************************************************************************************/
297760
298051
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297761
298052
 
@@ -297764,7 +298055,7 @@ __webpack_require__.r(__webpack_exports__);
297764
298055
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297765
298056
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297766
298057
  /* harmony export */ });
297767
- /* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js");
298058
+ /* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js");
297768
298059
 
297769
298060
 
297770
298061
 
@@ -297869,20 +298160,6 @@ class CancelToken {
297869
298160
  }
297870
298161
  }
297871
298162
 
297872
- toAbortSignal() {
297873
- const controller = new AbortController();
297874
-
297875
- const abort = (err) => {
297876
- controller.abort(err);
297877
- };
297878
-
297879
- this.subscribe(abort);
297880
-
297881
- controller.signal.unsubscribe = () => this.unsubscribe(abort);
297882
-
297883
- return controller.signal;
297884
- }
297885
-
297886
298163
  /**
297887
298164
  * Returns an object that contains a new `CancelToken` and a function that, when called,
297888
298165
  * cancels the `CancelToken`.
@@ -297904,9 +298181,9 @@ class CancelToken {
297904
298181
 
297905
298182
  /***/ }),
297906
298183
 
297907
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js":
298184
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js":
297908
298185
  /*!*******************************************************************************************************!*\
297909
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js ***!
298186
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js ***!
297910
298187
  \*******************************************************************************************************/
297911
298188
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297912
298189
 
@@ -297915,8 +298192,8 @@ __webpack_require__.r(__webpack_exports__);
297915
298192
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297916
298193
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297917
298194
  /* harmony export */ });
297918
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
297919
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
298195
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
298196
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
297920
298197
 
297921
298198
 
297922
298199
 
@@ -297946,9 +298223,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].inherits(CanceledError, _core_
297946
298223
 
297947
298224
  /***/ }),
297948
298225
 
297949
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js":
298226
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/isCancel.js":
297950
298227
  /*!**************************************************************************************************!*\
297951
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js ***!
298228
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/isCancel.js ***!
297952
298229
  \**************************************************************************************************/
297953
298230
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297954
298231
 
@@ -297966,9 +298243,9 @@ function isCancel(value) {
297966
298243
 
297967
298244
  /***/ }),
297968
298245
 
297969
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js":
298246
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/Axios.js":
297970
298247
  /*!*********************************************************************************************!*\
297971
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js ***!
298248
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/Axios.js ***!
297972
298249
  \*********************************************************************************************/
297973
298250
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297974
298251
 
@@ -297977,14 +298254,14 @@ __webpack_require__.r(__webpack_exports__);
297977
298254
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297978
298255
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297979
298256
  /* harmony export */ });
297980
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
297981
- /* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../helpers/buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js");
297982
- /* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InterceptorManager.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js");
297983
- /* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./dispatchRequest.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js");
297984
- /* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js");
297985
- /* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js");
297986
- /* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/validator.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js");
297987
- /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js");
298257
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
298258
+ /* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../helpers/buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/buildURL.js");
298259
+ /* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InterceptorManager.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/InterceptorManager.js");
298260
+ /* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./dispatchRequest.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/dispatchRequest.js");
298261
+ /* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/mergeConfig.js");
298262
+ /* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/buildFullPath.js");
298263
+ /* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/validator.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/validator.js");
298264
+ /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
297988
298265
 
297989
298266
 
297990
298267
 
@@ -298217,9 +298494,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch
298217
298494
 
298218
298495
  /***/ }),
298219
298496
 
298220
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js":
298497
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js":
298221
298498
  /*!**************************************************************************************************!*\
298222
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js ***!
298499
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js ***!
298223
298500
  \**************************************************************************************************/
298224
298501
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298225
298502
 
@@ -298228,7 +298505,7 @@ __webpack_require__.r(__webpack_exports__);
298228
298505
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298229
298506
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
298230
298507
  /* harmony export */ });
298231
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
298508
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
298232
298509
 
298233
298510
 
298234
298511
 
@@ -298258,10 +298535,7 @@ function AxiosError(message, code, config, request, response) {
298258
298535
  code && (this.code = code);
298259
298536
  config && (this.config = config);
298260
298537
  request && (this.request = request);
298261
- if (response) {
298262
- this.response = response;
298263
- this.status = response.status ? response.status : null;
298264
- }
298538
+ response && (this.response = response);
298265
298539
  }
298266
298540
 
298267
298541
  _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].inherits(AxiosError, Error, {
@@ -298281,7 +298555,7 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].inherits(AxiosError, Error, {
298281
298555
  // Axios
298282
298556
  config: _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toJSONObject(this.config),
298283
298557
  code: this.code,
298284
- status: this.status
298558
+ status: this.response && this.response.status ? this.response.status : null
298285
298559
  };
298286
298560
  }
298287
298561
  });
@@ -298336,9 +298610,9 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
298336
298610
 
298337
298611
  /***/ }),
298338
298612
 
298339
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js":
298613
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js":
298340
298614
  /*!****************************************************************************************************!*\
298341
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js ***!
298615
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js ***!
298342
298616
  \****************************************************************************************************/
298343
298617
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298344
298618
 
@@ -298347,8 +298621,8 @@ __webpack_require__.r(__webpack_exports__);
298347
298621
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298348
298622
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
298349
298623
  /* harmony export */ });
298350
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
298351
- /* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js");
298624
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
298625
+ /* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseHeaders.js");
298352
298626
 
298353
298627
 
298354
298628
 
@@ -298655,9 +298929,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].freezeMethods(AxiosHeaders);
298655
298929
 
298656
298930
  /***/ }),
298657
298931
 
298658
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js":
298932
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/InterceptorManager.js":
298659
298933
  /*!**********************************************************************************************************!*\
298660
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js ***!
298934
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/InterceptorManager.js ***!
298661
298935
  \**********************************************************************************************************/
298662
298936
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298663
298937
 
@@ -298666,7 +298940,7 @@ __webpack_require__.r(__webpack_exports__);
298666
298940
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298667
298941
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
298668
298942
  /* harmony export */ });
298669
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
298943
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
298670
298944
 
298671
298945
 
298672
298946
 
@@ -298742,9 +299016,9 @@ class InterceptorManager {
298742
299016
 
298743
299017
  /***/ }),
298744
299018
 
298745
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js":
299019
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/buildFullPath.js":
298746
299020
  /*!*****************************************************************************************************!*\
298747
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js ***!
299021
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/buildFullPath.js ***!
298748
299022
  \*****************************************************************************************************/
298749
299023
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298750
299024
 
@@ -298753,8 +299027,8 @@ __webpack_require__.r(__webpack_exports__);
298753
299027
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298754
299028
  /* harmony export */ "default": () => (/* binding */ buildFullPath)
298755
299029
  /* harmony export */ });
298756
- /* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js");
298757
- /* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js");
299030
+ /* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAbsoluteURL.js");
299031
+ /* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/combineURLs.js");
298758
299032
 
298759
299033
 
298760
299034
 
@@ -298780,9 +299054,9 @@ function buildFullPath(baseURL, requestedURL) {
298780
299054
 
298781
299055
  /***/ }),
298782
299056
 
298783
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js":
299057
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/dispatchRequest.js":
298784
299058
  /*!*******************************************************************************************************!*\
298785
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js ***!
299059
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/dispatchRequest.js ***!
298786
299060
  \*******************************************************************************************************/
298787
299061
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298788
299062
 
@@ -298791,12 +299065,12 @@ __webpack_require__.r(__webpack_exports__);
298791
299065
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298792
299066
  /* harmony export */ "default": () => (/* binding */ dispatchRequest)
298793
299067
  /* harmony export */ });
298794
- /* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transformData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js");
298795
- /* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js");
298796
- /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js");
298797
- /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js");
298798
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js");
298799
- /* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js");
299068
+ /* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transformData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/transformData.js");
299069
+ /* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/isCancel.js");
299070
+ /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/index.js");
299071
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js");
299072
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
299073
+ /* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/adapters.js");
298800
299074
 
298801
299075
 
298802
299076
 
@@ -298882,9 +299156,9 @@ function dispatchRequest(config) {
298882
299156
 
298883
299157
  /***/ }),
298884
299158
 
298885
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js":
299159
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/mergeConfig.js":
298886
299160
  /*!***************************************************************************************************!*\
298887
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js ***!
299161
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/mergeConfig.js ***!
298888
299162
  \***************************************************************************************************/
298889
299163
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298890
299164
 
@@ -298893,8 +299167,8 @@ __webpack_require__.r(__webpack_exports__);
298893
299167
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298894
299168
  /* harmony export */ "default": () => (/* binding */ mergeConfig)
298895
299169
  /* harmony export */ });
298896
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
298897
- /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js");
299170
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
299171
+ /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
298898
299172
 
298899
299173
 
298900
299174
 
@@ -299005,9 +299279,9 @@ function mergeConfig(config1, config2) {
299005
299279
 
299006
299280
  /***/ }),
299007
299281
 
299008
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js":
299282
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/settle.js":
299009
299283
  /*!**********************************************************************************************!*\
299010
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js ***!
299284
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/settle.js ***!
299011
299285
  \**********************************************************************************************/
299012
299286
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299013
299287
 
@@ -299016,7 +299290,7 @@ __webpack_require__.r(__webpack_exports__);
299016
299290
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299017
299291
  /* harmony export */ "default": () => (/* binding */ settle)
299018
299292
  /* harmony export */ });
299019
- /* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
299293
+ /* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
299020
299294
 
299021
299295
 
299022
299296
 
@@ -299048,9 +299322,9 @@ function settle(resolve, reject, response) {
299048
299322
 
299049
299323
  /***/ }),
299050
299324
 
299051
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js":
299325
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/transformData.js":
299052
299326
  /*!*****************************************************************************************************!*\
299053
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js ***!
299327
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/transformData.js ***!
299054
299328
  \*****************************************************************************************************/
299055
299329
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299056
299330
 
@@ -299059,9 +299333,9 @@ __webpack_require__.r(__webpack_exports__);
299059
299333
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299060
299334
  /* harmony export */ "default": () => (/* binding */ transformData)
299061
299335
  /* harmony export */ });
299062
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
299063
- /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js");
299064
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js");
299336
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
299337
+ /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/index.js");
299338
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
299065
299339
 
299066
299340
 
299067
299341
 
@@ -299094,9 +299368,9 @@ function transformData(fns, response) {
299094
299368
 
299095
299369
  /***/ }),
299096
299370
 
299097
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js":
299371
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/index.js":
299098
299372
  /*!*************************************************************************************************!*\
299099
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js ***!
299373
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/index.js ***!
299100
299374
  \*************************************************************************************************/
299101
299375
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299102
299376
 
@@ -299105,13 +299379,13 @@ __webpack_require__.r(__webpack_exports__);
299105
299379
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299106
299380
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299107
299381
  /* harmony export */ });
299108
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
299109
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
299110
- /* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js");
299111
- /* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js");
299112
- /* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js");
299113
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js");
299114
- /* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js");
299382
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
299383
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
299384
+ /* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/transitional.js");
299385
+ /* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js");
299386
+ /* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toURLEncodedForm.js");
299387
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
299388
+ /* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/formDataToJSON.js");
299115
299389
 
299116
299390
 
299117
299391
 
@@ -299277,9 +299551,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'hea
299277
299551
 
299278
299552
  /***/ }),
299279
299553
 
299280
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js":
299554
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/transitional.js":
299281
299555
  /*!********************************************************************************************************!*\
299282
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js ***!
299556
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/transitional.js ***!
299283
299557
  \********************************************************************************************************/
299284
299558
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299285
299559
 
@@ -299299,9 +299573,9 @@ __webpack_require__.r(__webpack_exports__);
299299
299573
 
299300
299574
  /***/ }),
299301
299575
 
299302
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js":
299576
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/env/data.js":
299303
299577
  /*!*******************************************************************************************!*\
299304
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js ***!
299578
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/env/data.js ***!
299305
299579
  \*******************************************************************************************/
299306
299580
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299307
299581
 
@@ -299310,13 +299584,13 @@ __webpack_require__.r(__webpack_exports__);
299310
299584
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299311
299585
  /* harmony export */ VERSION: () => (/* binding */ VERSION)
299312
299586
  /* harmony export */ });
299313
- const VERSION = "1.7.7";
299587
+ const VERSION = "1.7.4";
299314
299588
 
299315
299589
  /***/ }),
299316
299590
 
299317
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js":
299591
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/AxiosURLSearchParams.js":
299318
299592
  /*!***************************************************************************************************************!*\
299319
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
299593
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
299320
299594
  \***************************************************************************************************************/
299321
299595
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299322
299596
 
@@ -299325,7 +299599,7 @@ __webpack_require__.r(__webpack_exports__);
299325
299599
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299326
299600
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299327
299601
  /* harmony export */ });
299328
- /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js");
299602
+ /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js");
299329
299603
 
299330
299604
 
299331
299605
 
@@ -299388,9 +299662,9 @@ prototype.toString = function toString(encoder) {
299388
299662
 
299389
299663
  /***/ }),
299390
299664
 
299391
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js":
299665
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/HttpStatusCode.js":
299392
299666
  /*!*********************************************************************************************************!*\
299393
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js ***!
299667
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/HttpStatusCode.js ***!
299394
299668
  \*********************************************************************************************************/
299395
299669
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299396
299670
 
@@ -299474,9 +299748,9 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
299474
299748
 
299475
299749
  /***/ }),
299476
299750
 
299477
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js":
299751
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/bind.js":
299478
299752
  /*!***********************************************************************************************!*\
299479
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js ***!
299753
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/bind.js ***!
299480
299754
  \***********************************************************************************************/
299481
299755
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299482
299756
 
@@ -299496,9 +299770,9 @@ function bind(fn, thisArg) {
299496
299770
 
299497
299771
  /***/ }),
299498
299772
 
299499
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js":
299773
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/buildURL.js":
299500
299774
  /*!***************************************************************************************************!*\
299501
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js ***!
299775
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/buildURL.js ***!
299502
299776
  \***************************************************************************************************/
299503
299777
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299504
299778
 
@@ -299507,8 +299781,8 @@ __webpack_require__.r(__webpack_exports__);
299507
299781
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299508
299782
  /* harmony export */ "default": () => (/* binding */ buildURL)
299509
299783
  /* harmony export */ });
299510
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
299511
- /* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
299784
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
299785
+ /* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
299512
299786
 
299513
299787
 
299514
299788
 
@@ -299576,9 +299850,9 @@ function buildURL(url, params, options) {
299576
299850
 
299577
299851
  /***/ }),
299578
299852
 
299579
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js":
299853
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/combineURLs.js":
299580
299854
  /*!******************************************************************************************************!*\
299581
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js ***!
299855
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/combineURLs.js ***!
299582
299856
  \******************************************************************************************************/
299583
299857
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299584
299858
 
@@ -299606,9 +299880,9 @@ function combineURLs(baseURL, relativeURL) {
299606
299880
 
299607
299881
  /***/ }),
299608
299882
 
299609
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js":
299883
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/composeSignals.js":
299610
299884
  /*!*********************************************************************************************************!*\
299611
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js ***!
299885
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/composeSignals.js ***!
299612
299886
  \*********************************************************************************************************/
299613
299887
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299614
299888
 
@@ -299617,54 +299891,51 @@ __webpack_require__.r(__webpack_exports__);
299617
299891
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299618
299892
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299619
299893
  /* harmony export */ });
299620
- /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js");
299621
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
299622
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
299623
-
299894
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js");
299895
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
299624
299896
 
299625
299897
 
299626
299898
 
299627
299899
  const composeSignals = (signals, timeout) => {
299628
- const {length} = (signals = signals ? signals.filter(Boolean) : []);
299629
-
299630
- if (timeout || length) {
299631
- let controller = new AbortController();
299900
+ let controller = new AbortController();
299632
299901
 
299633
- let aborted;
299902
+ let aborted;
299634
299903
 
299635
- const onabort = function (reason) {
299636
- if (!aborted) {
299637
- aborted = true;
299638
- unsubscribe();
299639
- const err = reason instanceof Error ? reason : this.reason;
299640
- controller.abort(err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? err : new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__["default"](err instanceof Error ? err.message : err));
299641
- }
299904
+ const onabort = function (cancel) {
299905
+ if (!aborted) {
299906
+ aborted = true;
299907
+ unsubscribe();
299908
+ const err = cancel instanceof Error ? cancel : this.reason;
299909
+ controller.abort(err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? err : new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__["default"](err instanceof Error ? err.message : err));
299642
299910
  }
299911
+ }
299643
299912
 
299644
- let timer = timeout && setTimeout(() => {
299913
+ let timer = timeout && setTimeout(() => {
299914
+ onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](`timeout ${timeout} of ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ETIMEDOUT))
299915
+ }, timeout)
299916
+
299917
+ const unsubscribe = () => {
299918
+ if (signals) {
299919
+ timer && clearTimeout(timer);
299645
299920
  timer = null;
299646
- onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](`timeout ${timeout} of ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ETIMEDOUT))
299647
- }, timeout)
299648
-
299649
- const unsubscribe = () => {
299650
- if (signals) {
299651
- timer && clearTimeout(timer);
299652
- timer = null;
299653
- signals.forEach(signal => {
299654
- signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort);
299655
- });
299656
- signals = null;
299657
- }
299921
+ signals.forEach(signal => {
299922
+ signal &&
299923
+ (signal.removeEventListener ? signal.removeEventListener('abort', onabort) : signal.unsubscribe(onabort));
299924
+ });
299925
+ signals = null;
299658
299926
  }
299927
+ }
299659
299928
 
299660
- signals.forEach((signal) => signal.addEventListener('abort', onabort));
299929
+ signals.forEach((signal) => signal && signal.addEventListener && signal.addEventListener('abort', onabort));
299661
299930
 
299662
- const {signal} = controller;
299931
+ const {signal} = controller;
299663
299932
 
299664
- signal.unsubscribe = () => _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(unsubscribe);
299933
+ signal.unsubscribe = unsubscribe;
299665
299934
 
299666
- return signal;
299667
- }
299935
+ return [signal, () => {
299936
+ timer && clearTimeout(timer);
299937
+ timer = null;
299938
+ }];
299668
299939
  }
299669
299940
 
299670
299941
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (composeSignals);
@@ -299672,9 +299943,9 @@ const composeSignals = (signals, timeout) => {
299672
299943
 
299673
299944
  /***/ }),
299674
299945
 
299675
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js":
299946
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/cookies.js":
299676
299947
  /*!**************************************************************************************************!*\
299677
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js ***!
299948
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/cookies.js ***!
299678
299949
  \**************************************************************************************************/
299679
299950
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299680
299951
 
@@ -299683,8 +299954,8 @@ __webpack_require__.r(__webpack_exports__);
299683
299954
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299684
299955
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299685
299956
  /* harmony export */ });
299686
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
299687
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js");
299957
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
299958
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
299688
299959
 
299689
299960
 
299690
299961
 
@@ -299731,9 +300002,9 @@ __webpack_require__.r(__webpack_exports__);
299731
300002
 
299732
300003
  /***/ }),
299733
300004
 
299734
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js":
300005
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/formDataToJSON.js":
299735
300006
  /*!*********************************************************************************************************!*\
299736
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js ***!
300007
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/formDataToJSON.js ***!
299737
300008
  \*********************************************************************************************************/
299738
300009
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299739
300010
 
@@ -299742,7 +300013,7 @@ __webpack_require__.r(__webpack_exports__);
299742
300013
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299743
300014
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299744
300015
  /* harmony export */ });
299745
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
300016
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
299746
300017
 
299747
300018
 
299748
300019
 
@@ -299842,9 +300113,9 @@ function formDataToJSON(formData) {
299842
300113
 
299843
300114
  /***/ }),
299844
300115
 
299845
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js":
300116
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAbsoluteURL.js":
299846
300117
  /*!********************************************************************************************************!*\
299847
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
300118
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
299848
300119
  \********************************************************************************************************/
299849
300120
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299850
300121
 
@@ -299872,9 +300143,9 @@ function isAbsoluteURL(url) {
299872
300143
 
299873
300144
  /***/ }),
299874
300145
 
299875
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js":
300146
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAxiosError.js":
299876
300147
  /*!*******************************************************************************************************!*\
299877
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js ***!
300148
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAxiosError.js ***!
299878
300149
  \*******************************************************************************************************/
299879
300150
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299880
300151
 
@@ -299883,7 +300154,7 @@ __webpack_require__.r(__webpack_exports__);
299883
300154
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299884
300155
  /* harmony export */ "default": () => (/* binding */ isAxiosError)
299885
300156
  /* harmony export */ });
299886
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
300157
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
299887
300158
 
299888
300159
 
299889
300160
 
@@ -299902,9 +300173,9 @@ function isAxiosError(payload) {
299902
300173
 
299903
300174
  /***/ }),
299904
300175
 
299905
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js":
300176
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isURLSameOrigin.js":
299906
300177
  /*!**********************************************************************************************************!*\
299907
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
300178
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
299908
300179
  \**********************************************************************************************************/
299909
300180
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299910
300181
 
@@ -299913,8 +300184,8 @@ __webpack_require__.r(__webpack_exports__);
299913
300184
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299914
300185
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299915
300186
  /* harmony export */ });
299916
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
299917
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js");
300187
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
300188
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
299918
300189
 
299919
300190
 
299920
300191
 
@@ -299925,7 +300196,7 @@ __webpack_require__.r(__webpack_exports__);
299925
300196
  // Standard browser envs have full support of the APIs needed to test
299926
300197
  // whether the request URL is of the same origin as current location.
299927
300198
  (function standardBrowserEnv() {
299928
- const msie = _platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].navigator && /(msie|trident)/i.test(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].navigator.userAgent);
300199
+ const msie = /(msie|trident)/i.test(navigator.userAgent);
299929
300200
  const urlParsingNode = document.createElement('a');
299930
300201
  let originURL;
299931
300202
 
@@ -299986,9 +300257,9 @@ __webpack_require__.r(__webpack_exports__);
299986
300257
 
299987
300258
  /***/ }),
299988
300259
 
299989
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js":
300260
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/null.js":
299990
300261
  /*!***********************************************************************************************!*\
299991
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js ***!
300262
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/null.js ***!
299992
300263
  \***********************************************************************************************/
299993
300264
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299994
300265
 
@@ -300003,9 +300274,9 @@ __webpack_require__.r(__webpack_exports__);
300003
300274
 
300004
300275
  /***/ }),
300005
300276
 
300006
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js":
300277
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseHeaders.js":
300007
300278
  /*!*******************************************************************************************************!*\
300008
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js ***!
300279
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseHeaders.js ***!
300009
300280
  \*******************************************************************************************************/
300010
300281
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300011
300282
 
@@ -300014,7 +300285,7 @@ __webpack_require__.r(__webpack_exports__);
300014
300285
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300015
300286
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
300016
300287
  /* harmony export */ });
300017
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
300288
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
300018
300289
 
300019
300290
 
300020
300291
 
@@ -300074,9 +300345,9 @@ const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toOb
300074
300345
 
300075
300346
  /***/ }),
300076
300347
 
300077
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js":
300348
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseProtocol.js":
300078
300349
  /*!********************************************************************************************************!*\
300079
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js ***!
300350
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseProtocol.js ***!
300080
300351
  \********************************************************************************************************/
300081
300352
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300082
300353
 
@@ -300095,9 +300366,9 @@ function parseProtocol(url) {
300095
300366
 
300096
300367
  /***/ }),
300097
300368
 
300098
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js":
300369
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/progressEventReducer.js":
300099
300370
  /*!***************************************************************************************************************!*\
300100
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js ***!
300371
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/progressEventReducer.js ***!
300101
300372
  \***************************************************************************************************************/
300102
300373
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300103
300374
 
@@ -300108,9 +300379,9 @@ __webpack_require__.r(__webpack_exports__);
300108
300379
  /* harmony export */ progressEventDecorator: () => (/* binding */ progressEventDecorator),
300109
300380
  /* harmony export */ progressEventReducer: () => (/* binding */ progressEventReducer)
300110
300381
  /* harmony export */ });
300111
- /* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js");
300112
- /* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js");
300113
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
300382
+ /* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/speedometer.js");
300383
+ /* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/throttle.js");
300384
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
300114
300385
 
300115
300386
 
300116
300387
 
@@ -300159,9 +300430,9 @@ const asyncDecorator = (fn) => (...args) => _utils_js__WEBPACK_IMPORTED_MODULE_2
300159
300430
 
300160
300431
  /***/ }),
300161
300432
 
300162
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js":
300433
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/resolveConfig.js":
300163
300434
  /*!********************************************************************************************************!*\
300164
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js ***!
300435
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/resolveConfig.js ***!
300165
300436
  \********************************************************************************************************/
300166
300437
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300167
300438
 
@@ -300170,14 +300441,14 @@ __webpack_require__.r(__webpack_exports__);
300170
300441
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300171
300442
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
300172
300443
  /* harmony export */ });
300173
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js");
300174
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
300175
- /* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js");
300176
- /* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cookies.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js");
300177
- /* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js");
300178
- /* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js");
300179
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js");
300180
- /* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js");
300444
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
300445
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
300446
+ /* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isURLSameOrigin.js");
300447
+ /* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cookies.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/cookies.js");
300448
+ /* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/buildFullPath.js");
300449
+ /* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/mergeConfig.js");
300450
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
300451
+ /* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/buildURL.js");
300181
300452
 
300182
300453
 
300183
300454
 
@@ -300239,9 +300510,9 @@ __webpack_require__.r(__webpack_exports__);
300239
300510
 
300240
300511
  /***/ }),
300241
300512
 
300242
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js":
300513
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/speedometer.js":
300243
300514
  /*!******************************************************************************************************!*\
300244
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js ***!
300515
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/speedometer.js ***!
300245
300516
  \******************************************************************************************************/
300246
300517
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300247
300518
 
@@ -300309,9 +300580,9 @@ function speedometer(samplesCount, min) {
300309
300580
 
300310
300581
  /***/ }),
300311
300582
 
300312
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js":
300583
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/spread.js":
300313
300584
  /*!*************************************************************************************************!*\
300314
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js ***!
300585
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/spread.js ***!
300315
300586
  \*************************************************************************************************/
300316
300587
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300317
300588
 
@@ -300352,9 +300623,9 @@ function spread(callback) {
300352
300623
 
300353
300624
  /***/ }),
300354
300625
 
300355
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js":
300626
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/throttle.js":
300356
300627
  /*!***************************************************************************************************!*\
300357
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js ***!
300628
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/throttle.js ***!
300358
300629
  \***************************************************************************************************/
300359
300630
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300360
300631
 
@@ -300411,9 +300682,9 @@ function throttle(fn, freq) {
300411
300682
 
300412
300683
  /***/ }),
300413
300684
 
300414
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js":
300685
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js":
300415
300686
  /*!*****************************************************************************************************!*\
300416
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js ***!
300687
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js ***!
300417
300688
  \*****************************************************************************************************/
300418
300689
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300419
300690
 
@@ -300422,9 +300693,9 @@ __webpack_require__.r(__webpack_exports__);
300422
300693
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300423
300694
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
300424
300695
  /* harmony export */ });
300425
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
300426
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
300427
- /* harmony import */ var _platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/node/classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js");
300696
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
300697
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
300698
+ /* harmony import */ var _platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/node/classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/null.js");
300428
300699
 
300429
300700
 
300430
300701
 
@@ -300648,9 +300919,9 @@ function toFormData(obj, formData, options) {
300648
300919
 
300649
300920
  /***/ }),
300650
300921
 
300651
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js":
300922
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toURLEncodedForm.js":
300652
300923
  /*!***********************************************************************************************************!*\
300653
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
300924
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
300654
300925
  \***********************************************************************************************************/
300655
300926
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300656
300927
 
@@ -300659,9 +300930,9 @@ __webpack_require__.r(__webpack_exports__);
300659
300930
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300660
300931
  /* harmony export */ "default": () => (/* binding */ toURLEncodedForm)
300661
300932
  /* harmony export */ });
300662
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
300663
- /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js");
300664
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js");
300933
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
300934
+ /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js");
300935
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
300665
300936
 
300666
300937
 
300667
300938
 
@@ -300684,9 +300955,9 @@ function toURLEncodedForm(data, options) {
300684
300955
 
300685
300956
  /***/ }),
300686
300957
 
300687
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js":
300958
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/trackStream.js":
300688
300959
  /*!******************************************************************************************************!*\
300689
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js ***!
300960
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/trackStream.js ***!
300690
300961
  \******************************************************************************************************/
300691
300962
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300692
300963
 
@@ -300716,34 +300987,14 @@ const streamChunk = function* (chunk, chunkSize) {
300716
300987
  }
300717
300988
  }
300718
300989
 
300719
- const readBytes = async function* (iterable, chunkSize) {
300720
- for await (const chunk of readStream(iterable)) {
300721
- yield* streamChunk(chunk, chunkSize);
300990
+ const readBytes = async function* (iterable, chunkSize, encode) {
300991
+ for await (const chunk of iterable) {
300992
+ yield* streamChunk(ArrayBuffer.isView(chunk) ? chunk : (await encode(String(chunk))), chunkSize);
300722
300993
  }
300723
300994
  }
300724
300995
 
300725
- const readStream = async function* (stream) {
300726
- if (stream[Symbol.asyncIterator]) {
300727
- yield* stream;
300728
- return;
300729
- }
300730
-
300731
- const reader = stream.getReader();
300732
- try {
300733
- for (;;) {
300734
- const {done, value} = await reader.read();
300735
- if (done) {
300736
- break;
300737
- }
300738
- yield value;
300739
- }
300740
- } finally {
300741
- await reader.cancel();
300742
- }
300743
- }
300744
-
300745
- const trackStream = (stream, chunkSize, onProgress, onFinish) => {
300746
- const iterator = readBytes(stream, chunkSize);
300996
+ const trackStream = (stream, chunkSize, onProgress, onFinish, encode) => {
300997
+ const iterator = readBytes(stream, chunkSize, encode);
300747
300998
 
300748
300999
  let bytes = 0;
300749
301000
  let done;
@@ -300788,9 +301039,9 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
300788
301039
 
300789
301040
  /***/ }),
300790
301041
 
300791
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js":
301042
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/validator.js":
300792
301043
  /*!****************************************************************************************************!*\
300793
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js ***!
301044
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/validator.js ***!
300794
301045
  \****************************************************************************************************/
300795
301046
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300796
301047
 
@@ -300799,8 +301050,8 @@ __webpack_require__.r(__webpack_exports__);
300799
301050
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300800
301051
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
300801
301052
  /* harmony export */ });
300802
- /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js");
300803
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
301053
+ /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/env/data.js");
301054
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
300804
301055
 
300805
301056
 
300806
301057
 
@@ -300896,9 +301147,9 @@ function assertOptions(options, schema, allowUnknown) {
300896
301147
 
300897
301148
  /***/ }),
300898
301149
 
300899
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js":
301150
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/Blob.js":
300900
301151
  /*!****************************************************************************************************************!*\
300901
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js ***!
301152
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/Blob.js ***!
300902
301153
  \****************************************************************************************************************/
300903
301154
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300904
301155
 
@@ -300914,9 +301165,9 @@ __webpack_require__.r(__webpack_exports__);
300914
301165
 
300915
301166
  /***/ }),
300916
301167
 
300917
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js":
301168
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/FormData.js":
300918
301169
  /*!********************************************************************************************************************!*\
300919
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js ***!
301170
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/FormData.js ***!
300920
301171
  \********************************************************************************************************************/
300921
301172
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300922
301173
 
@@ -300932,9 +301183,9 @@ __webpack_require__.r(__webpack_exports__);
300932
301183
 
300933
301184
  /***/ }),
300934
301185
 
300935
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js":
301186
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js":
300936
301187
  /*!***************************************************************************************************************************!*\
300937
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
301188
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
300938
301189
  \***************************************************************************************************************************/
300939
301190
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300940
301191
 
@@ -300943,7 +301194,7 @@ __webpack_require__.r(__webpack_exports__);
300943
301194
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300944
301195
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
300945
301196
  /* harmony export */ });
300946
- /* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
301197
+ /* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
300947
301198
 
300948
301199
 
300949
301200
 
@@ -300952,9 +301203,9 @@ __webpack_require__.r(__webpack_exports__);
300952
301203
 
300953
301204
  /***/ }),
300954
301205
 
300955
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js":
301206
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/index.js":
300956
301207
  /*!*********************************************************************************************************!*\
300957
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js ***!
301208
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/index.js ***!
300958
301209
  \*********************************************************************************************************/
300959
301210
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300960
301211
 
@@ -300963,9 +301214,9 @@ __webpack_require__.r(__webpack_exports__);
300963
301214
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300964
301215
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
300965
301216
  /* harmony export */ });
300966
- /* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js");
300967
- /* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js");
300968
- /* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js");
301217
+ /* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js");
301218
+ /* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/FormData.js");
301219
+ /* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/Blob.js");
300969
301220
 
300970
301221
 
300971
301222
 
@@ -300983,9 +301234,9 @@ __webpack_require__.r(__webpack_exports__);
300983
301234
 
300984
301235
  /***/ }),
300985
301236
 
300986
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js":
301237
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/common/utils.js":
300987
301238
  /*!********************************************************************************************************!*\
300988
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js ***!
301239
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/common/utils.js ***!
300989
301240
  \********************************************************************************************************/
300990
301241
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300991
301242
 
@@ -300995,13 +301246,10 @@ __webpack_require__.r(__webpack_exports__);
300995
301246
  /* harmony export */ hasBrowserEnv: () => (/* binding */ hasBrowserEnv),
300996
301247
  /* harmony export */ hasStandardBrowserEnv: () => (/* binding */ hasStandardBrowserEnv),
300997
301248
  /* harmony export */ hasStandardBrowserWebWorkerEnv: () => (/* binding */ hasStandardBrowserWebWorkerEnv),
300998
- /* harmony export */ navigator: () => (/* binding */ _navigator),
300999
301249
  /* harmony export */ origin: () => (/* binding */ origin)
301000
301250
  /* harmony export */ });
301001
301251
  const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
301002
301252
 
301003
- const _navigator = typeof navigator === 'object' && navigator || undefined;
301004
-
301005
301253
  /**
301006
301254
  * Determine if we're running in a standard browser environment
301007
301255
  *
@@ -301019,8 +301267,10 @@ const _navigator = typeof navigator === 'object' && navigator || undefined;
301019
301267
  *
301020
301268
  * @returns {boolean}
301021
301269
  */
301022
- const hasStandardBrowserEnv = hasBrowserEnv &&
301023
- (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
301270
+ const hasStandardBrowserEnv = (
301271
+ (product) => {
301272
+ return hasBrowserEnv && ['ReactNative', 'NativeScript', 'NS'].indexOf(product) < 0
301273
+ })(typeof navigator !== 'undefined' && navigator.product);
301024
301274
 
301025
301275
  /**
301026
301276
  * Determine if we're running in a standard browser webWorker environment
@@ -301047,9 +301297,9 @@ const origin = hasBrowserEnv && window.location.href || 'http://localhost';
301047
301297
 
301048
301298
  /***/ }),
301049
301299
 
301050
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js":
301300
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js":
301051
301301
  /*!*************************************************************************************************!*\
301052
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js ***!
301302
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js ***!
301053
301303
  \*************************************************************************************************/
301054
301304
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
301055
301305
 
@@ -301058,8 +301308,8 @@ __webpack_require__.r(__webpack_exports__);
301058
301308
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
301059
301309
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
301060
301310
  /* harmony export */ });
301061
- /* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js");
301062
- /* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common/utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js");
301311
+ /* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/index.js");
301312
+ /* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common/utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/common/utils.js");
301063
301313
 
301064
301314
 
301065
301315
 
@@ -301071,9 +301321,9 @@ __webpack_require__.r(__webpack_exports__);
301071
301321
 
301072
301322
  /***/ }),
301073
301323
 
301074
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js":
301324
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js":
301075
301325
  /*!****************************************************************************************!*\
301076
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js ***!
301326
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js ***!
301077
301327
  \****************************************************************************************/
301078
301328
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
301079
301329
 
@@ -301082,7 +301332,7 @@ __webpack_require__.r(__webpack_exports__);
301082
301332
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
301083
301333
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
301084
301334
  /* harmony export */ });
301085
- /* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js");
301335
+ /* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/bind.js");
301086
301336
 
301087
301337
 
301088
301338
 
@@ -302332,15 +302582,15 @@ __webpack_require__.r(__webpack_exports__);
302332
302582
  /* harmony export */ t: () => (/* binding */ t),
302333
302583
  /* harmony export */ use: () => (/* binding */ use)
302334
302584
  /* harmony export */ });
302335
- /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
302336
- /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
302337
- /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
302338
- /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
302339
- /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/inherits.js");
302340
- /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
302341
- /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
302342
- /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
302343
- /* harmony import */ var _babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toArray.js");
302585
+ /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
302586
+ /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
302587
+ /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
302588
+ /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
302589
+ /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/inherits.js");
302590
+ /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
302591
+ /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
302592
+ /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
302593
+ /* harmony import */ var _babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toArray.js");
302344
302594
 
302345
302595
 
302346
302596
 
@@ -305157,7 +305407,7 @@ var loadLanguages = instance.loadLanguages;
305157
305407
  /***/ ((module) => {
305158
305408
 
305159
305409
  "use strict";
305160
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.22","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","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 ES2020 --outDir lib/esm","clean":"rimraf 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","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","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 --coverage","test:debug":"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:^5.0.0-dev.22","@itwin/core-bentley":"workspace:^5.0.0-dev.22","@itwin/core-common":"workspace:^5.0.0-dev.22","@itwin/core-geometry":"workspace:^5.0.0-dev.22","@itwin/core-orbitgt":"workspace:^5.0.0-dev.22","@itwin/core-quantity":"workspace:^5.0.0-dev.22"},"//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/eslint-plugin":"5.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^2.1.0","@vitest/coverage-v8":"^2.1.0","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","cpx2":"^3.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^3.0.2","source-map-loader":"^4.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^2.1.0","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"1.0.6","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/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.2.5","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","meshoptimizer":"~0.20.0","wms-capabilities":"0.4.0"}}');
305410
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.23","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","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 ES2020 --outDir lib/esm","clean":"rimraf 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","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","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 --coverage","test:debug":"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:^5.0.0-dev.23","@itwin/core-bentley":"workspace:^5.0.0-dev.23","@itwin/core-common":"workspace:^5.0.0-dev.23","@itwin/core-geometry":"workspace:^5.0.0-dev.23","@itwin/core-orbitgt":"workspace:^5.0.0-dev.23","@itwin/core-quantity":"workspace:^5.0.0-dev.23"},"//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/eslint-plugin":"5.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^2.1.0","@vitest/coverage-v8":"^2.1.0","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","cpx2":"^3.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^3.0.2","source-map-loader":"^4.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^2.1.0","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"1.0.6","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/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.2.5","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","meshoptimizer":"~0.20.0","wms-capabilities":"0.4.0"}}');
305161
305411
 
305162
305412
  /***/ })
305163
305413