@xeokit/xeokit-sdk 2.4.0-alpha-96 → 2.4.0-alpha-97

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.
@@ -51523,6 +51523,26 @@ class DistanceMeasurementsPlugin extends Plugin {
51523
51523
  }
51524
51524
  }
51525
51525
 
51526
+ /**
51527
+ * Shows all or hides the axis wires of each {@link DistanceMeasurement}.
51528
+ *
51529
+ * @param {Boolean} labelsShown Whether or not to show the axis wires.
51530
+ */
51531
+ setAxisVisible(axisVisible) {
51532
+ for (const [key, measurement] of Object.entries(this.measurements)) {
51533
+ measurement.axisVisible = axisVisible;
51534
+ }
51535
+ this.defaultAxisVisible = axisVisible;
51536
+ }
51537
+
51538
+ /**
51539
+ * Gets if the axis wires of each {@link DistanceMeasurement} are visible.
51540
+ *
51541
+ * @returns {Boolean} Whether or not the axis wires are visible.
51542
+ */
51543
+ getAxisVisible() {
51544
+ return this.defaultAxisVisible;
51545
+ }
51526
51546
 
51527
51547
  /**
51528
51548
  * Destroys all {@link DistanceMeasurement}s.
@@ -92349,94 +92369,94 @@ function arrayToMap(array) {
92349
92369
  * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
92350
92370
  * Released under MIT License
92351
92371
  */
92352
- /*! *****************************************************************************
92353
- Copyright (c) Microsoft Corporation.
92354
-
92355
- Permission to use, copy, modify, and/or distribute this software for any
92356
- purpose with or without fee is hereby granted.
92357
-
92358
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
92359
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
92360
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
92361
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
92362
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
92363
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
92364
- PERFORMANCE OF THIS SOFTWARE.
92365
- ***************************************************************************** */
92366
- /* global Reflect, Promise */
92367
-
92368
- var extendStatics = function(d, b) {
92369
- extendStatics = Object.setPrototypeOf ||
92370
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
92371
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
92372
- return extendStatics(d, b);
92373
- };
92374
-
92375
- function __extends(d, b) {
92376
- if (typeof b !== "function" && b !== null)
92377
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
92378
- extendStatics(d, b);
92379
- function __() { this.constructor = d; }
92380
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
92381
- }
92382
-
92383
- var __assign = function() {
92384
- __assign = Object.assign || function __assign(t) {
92385
- for (var s, i = 1, n = arguments.length; i < n; i++) {
92386
- s = arguments[i];
92387
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
92388
- }
92389
- return t;
92390
- };
92391
- return __assign.apply(this, arguments);
92392
- };
92393
-
92394
- function __awaiter(thisArg, _arguments, P, generator) {
92395
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
92396
- return new (P || (P = Promise))(function (resolve, reject) {
92397
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
92398
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
92399
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
92400
- step((generator = generator.apply(thisArg, _arguments || [])).next());
92401
- });
92402
- }
92403
-
92404
- function __generator(thisArg, body) {
92405
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
92406
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
92407
- function verb(n) { return function (v) { return step([n, v]); }; }
92408
- function step(op) {
92409
- if (f) throw new TypeError("Generator is already executing.");
92410
- while (_) try {
92411
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
92412
- if (y = 0, t) op = [op[0] & 2, t.value];
92413
- switch (op[0]) {
92414
- case 0: case 1: t = op; break;
92415
- case 4: _.label++; return { value: op[1], done: false };
92416
- case 5: _.label++; y = op[1]; op = [0]; continue;
92417
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
92418
- default:
92419
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
92420
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
92421
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
92422
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
92423
- if (t[2]) _.ops.pop();
92424
- _.trys.pop(); continue;
92425
- }
92426
- op = body.call(thisArg, _);
92427
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
92428
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
92429
- }
92430
- }
92431
-
92432
- function __spreadArray(to, from, pack) {
92433
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
92434
- if (ar || !(i in from)) {
92435
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
92436
- ar[i] = from[i];
92437
- }
92438
- }
92439
- return to.concat(ar || from);
92372
+ /*! *****************************************************************************
92373
+ Copyright (c) Microsoft Corporation.
92374
+
92375
+ Permission to use, copy, modify, and/or distribute this software for any
92376
+ purpose with or without fee is hereby granted.
92377
+
92378
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
92379
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
92380
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
92381
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
92382
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
92383
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
92384
+ PERFORMANCE OF THIS SOFTWARE.
92385
+ ***************************************************************************** */
92386
+ /* global Reflect, Promise */
92387
+
92388
+ var extendStatics = function(d, b) {
92389
+ extendStatics = Object.setPrototypeOf ||
92390
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
92391
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
92392
+ return extendStatics(d, b);
92393
+ };
92394
+
92395
+ function __extends(d, b) {
92396
+ if (typeof b !== "function" && b !== null)
92397
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
92398
+ extendStatics(d, b);
92399
+ function __() { this.constructor = d; }
92400
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
92401
+ }
92402
+
92403
+ var __assign = function() {
92404
+ __assign = Object.assign || function __assign(t) {
92405
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
92406
+ s = arguments[i];
92407
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
92408
+ }
92409
+ return t;
92410
+ };
92411
+ return __assign.apply(this, arguments);
92412
+ };
92413
+
92414
+ function __awaiter(thisArg, _arguments, P, generator) {
92415
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
92416
+ return new (P || (P = Promise))(function (resolve, reject) {
92417
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
92418
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
92419
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
92420
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
92421
+ });
92422
+ }
92423
+
92424
+ function __generator(thisArg, body) {
92425
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
92426
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
92427
+ function verb(n) { return function (v) { return step([n, v]); }; }
92428
+ function step(op) {
92429
+ if (f) throw new TypeError("Generator is already executing.");
92430
+ while (_) try {
92431
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
92432
+ if (y = 0, t) op = [op[0] & 2, t.value];
92433
+ switch (op[0]) {
92434
+ case 0: case 1: t = op; break;
92435
+ case 4: _.label++; return { value: op[1], done: false };
92436
+ case 5: _.label++; y = op[1]; op = [0]; continue;
92437
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
92438
+ default:
92439
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
92440
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
92441
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
92442
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
92443
+ if (t[2]) _.ops.pop();
92444
+ _.trys.pop(); continue;
92445
+ }
92446
+ op = body.call(thisArg, _);
92447
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
92448
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
92449
+ }
92450
+ }
92451
+
92452
+ function __spreadArray(to, from, pack) {
92453
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
92454
+ if (ar || !(i in from)) {
92455
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
92456
+ ar[i] = from[i];
92457
+ }
92458
+ }
92459
+ return to.concat(ar || from);
92440
92460
  }
92441
92461
 
92442
92462
  var Bounds = /** @class */ (function () {
@@ -51519,6 +51519,26 @@ class DistanceMeasurementsPlugin extends Plugin {
51519
51519
  }
51520
51520
  }
51521
51521
 
51522
+ /**
51523
+ * Shows all or hides the axis wires of each {@link DistanceMeasurement}.
51524
+ *
51525
+ * @param {Boolean} labelsShown Whether or not to show the axis wires.
51526
+ */
51527
+ setAxisVisible(axisVisible) {
51528
+ for (const [key, measurement] of Object.entries(this.measurements)) {
51529
+ measurement.axisVisible = axisVisible;
51530
+ }
51531
+ this.defaultAxisVisible = axisVisible;
51532
+ }
51533
+
51534
+ /**
51535
+ * Gets if the axis wires of each {@link DistanceMeasurement} are visible.
51536
+ *
51537
+ * @returns {Boolean} Whether or not the axis wires are visible.
51538
+ */
51539
+ getAxisVisible() {
51540
+ return this.defaultAxisVisible;
51541
+ }
51522
51542
 
51523
51543
  /**
51524
51544
  * Destroys all {@link DistanceMeasurement}s.
@@ -92345,94 +92365,94 @@ function arrayToMap(array) {
92345
92365
  * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
92346
92366
  * Released under MIT License
92347
92367
  */
92348
- /*! *****************************************************************************
92349
- Copyright (c) Microsoft Corporation.
92350
-
92351
- Permission to use, copy, modify, and/or distribute this software for any
92352
- purpose with or without fee is hereby granted.
92353
-
92354
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
92355
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
92356
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
92357
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
92358
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
92359
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
92360
- PERFORMANCE OF THIS SOFTWARE.
92361
- ***************************************************************************** */
92362
- /* global Reflect, Promise */
92363
-
92364
- var extendStatics = function(d, b) {
92365
- extendStatics = Object.setPrototypeOf ||
92366
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
92367
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
92368
- return extendStatics(d, b);
92369
- };
92370
-
92371
- function __extends(d, b) {
92372
- if (typeof b !== "function" && b !== null)
92373
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
92374
- extendStatics(d, b);
92375
- function __() { this.constructor = d; }
92376
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
92377
- }
92378
-
92379
- var __assign = function() {
92380
- __assign = Object.assign || function __assign(t) {
92381
- for (var s, i = 1, n = arguments.length; i < n; i++) {
92382
- s = arguments[i];
92383
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
92384
- }
92385
- return t;
92386
- };
92387
- return __assign.apply(this, arguments);
92388
- };
92389
-
92390
- function __awaiter(thisArg, _arguments, P, generator) {
92391
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
92392
- return new (P || (P = Promise))(function (resolve, reject) {
92393
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
92394
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
92395
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
92396
- step((generator = generator.apply(thisArg, _arguments || [])).next());
92397
- });
92398
- }
92399
-
92400
- function __generator(thisArg, body) {
92401
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
92402
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
92403
- function verb(n) { return function (v) { return step([n, v]); }; }
92404
- function step(op) {
92405
- if (f) throw new TypeError("Generator is already executing.");
92406
- while (_) try {
92407
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
92408
- if (y = 0, t) op = [op[0] & 2, t.value];
92409
- switch (op[0]) {
92410
- case 0: case 1: t = op; break;
92411
- case 4: _.label++; return { value: op[1], done: false };
92412
- case 5: _.label++; y = op[1]; op = [0]; continue;
92413
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
92414
- default:
92415
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
92416
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
92417
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
92418
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
92419
- if (t[2]) _.ops.pop();
92420
- _.trys.pop(); continue;
92421
- }
92422
- op = body.call(thisArg, _);
92423
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
92424
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
92425
- }
92426
- }
92427
-
92428
- function __spreadArray(to, from, pack) {
92429
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
92430
- if (ar || !(i in from)) {
92431
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
92432
- ar[i] = from[i];
92433
- }
92434
- }
92435
- return to.concat(ar || from);
92368
+ /*! *****************************************************************************
92369
+ Copyright (c) Microsoft Corporation.
92370
+
92371
+ Permission to use, copy, modify, and/or distribute this software for any
92372
+ purpose with or without fee is hereby granted.
92373
+
92374
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
92375
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
92376
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
92377
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
92378
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
92379
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
92380
+ PERFORMANCE OF THIS SOFTWARE.
92381
+ ***************************************************************************** */
92382
+ /* global Reflect, Promise */
92383
+
92384
+ var extendStatics = function(d, b) {
92385
+ extendStatics = Object.setPrototypeOf ||
92386
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
92387
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
92388
+ return extendStatics(d, b);
92389
+ };
92390
+
92391
+ function __extends(d, b) {
92392
+ if (typeof b !== "function" && b !== null)
92393
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
92394
+ extendStatics(d, b);
92395
+ function __() { this.constructor = d; }
92396
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
92397
+ }
92398
+
92399
+ var __assign = function() {
92400
+ __assign = Object.assign || function __assign(t) {
92401
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
92402
+ s = arguments[i];
92403
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
92404
+ }
92405
+ return t;
92406
+ };
92407
+ return __assign.apply(this, arguments);
92408
+ };
92409
+
92410
+ function __awaiter(thisArg, _arguments, P, generator) {
92411
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
92412
+ return new (P || (P = Promise))(function (resolve, reject) {
92413
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
92414
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
92415
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
92416
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
92417
+ });
92418
+ }
92419
+
92420
+ function __generator(thisArg, body) {
92421
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
92422
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
92423
+ function verb(n) { return function (v) { return step([n, v]); }; }
92424
+ function step(op) {
92425
+ if (f) throw new TypeError("Generator is already executing.");
92426
+ while (_) try {
92427
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
92428
+ if (y = 0, t) op = [op[0] & 2, t.value];
92429
+ switch (op[0]) {
92430
+ case 0: case 1: t = op; break;
92431
+ case 4: _.label++; return { value: op[1], done: false };
92432
+ case 5: _.label++; y = op[1]; op = [0]; continue;
92433
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
92434
+ default:
92435
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
92436
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
92437
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
92438
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
92439
+ if (t[2]) _.ops.pop();
92440
+ _.trys.pop(); continue;
92441
+ }
92442
+ op = body.call(thisArg, _);
92443
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
92444
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
92445
+ }
92446
+ }
92447
+
92448
+ function __spreadArray(to, from, pack) {
92449
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
92450
+ if (ar || !(i in from)) {
92451
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
92452
+ ar[i] = from[i];
92453
+ }
92454
+ }
92455
+ return to.concat(ar || from);
92436
92456
  }
92437
92457
 
92438
92458
  var Bounds = /** @class */ (function () {