@itwin/ecschema-rpcinterface-tests 3.4.0-dev.2 → 3.4.0-dev.22
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.
- package/lib/dist/{_c41d.bundled-tests.js → _c5fe.bundled-tests.js} +3 -3
- package/lib/dist/_c5fe.bundled-tests.js.map +1 -0
- package/lib/dist/bundled-tests.js +283 -226
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/{vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_5_node_modules_loaders_gl_draco_di-e0b0bc.bundled-tests.js → vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_7_node_modules_loaders_gl_draco_di-a586d9.bundled-tests.js} +72 -72
- package/lib/dist/{vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_5_node_modules_loaders_gl_draco_di-e0b0bc.bundled-tests.js.map → vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_7_node_modules_loaders_gl_draco_di-a586d9.bundled-tests.js.map} +1 -1
- package/package.json +16 -16
- package/lib/dist/_c41d.bundled-tests.js.map +0 -1
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
|
|
22
22
|
/***/ }),
|
|
23
23
|
|
|
24
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.
|
|
24
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.3.0/node_modules/@itwin/certa/lib/utils/CallbackUtils.js":
|
|
25
25
|
/*!********************************************************************************************************************!*\
|
|
26
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.
|
|
26
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.3.0/node_modules/@itwin/certa/lib/utils/CallbackUtils.js ***!
|
|
27
27
|
\********************************************************************************************************************/
|
|
28
28
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
29
29
|
|
|
@@ -2296,7 +2296,7 @@ exports.getAccessTokenFromBackend = exports.getTokenCallbackName = void 0;
|
|
|
2296
2296
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2297
2297
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
2298
2298
|
*--------------------------------------------------------------------------------------------*/
|
|
2299
|
-
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.
|
|
2299
|
+
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.3.0/node_modules/@itwin/certa/lib/utils/CallbackUtils.js");
|
|
2300
2300
|
// Shared by both the frontend and backend side of the tests
|
|
2301
2301
|
exports.getTokenCallbackName = "getToken";
|
|
2302
2302
|
async function getAccessTokenFromBackend(user, oidcConfig) {
|
|
@@ -20899,9 +20899,9 @@ module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
|
20899
20899
|
|
|
20900
20900
|
/***/ }),
|
|
20901
20901
|
|
|
20902
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.
|
|
20902
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.5/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js":
|
|
20903
20903
|
/*!****************************************************************************************************************************************************************************!*\
|
|
20904
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.
|
|
20904
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.5/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js ***!
|
|
20905
20905
|
\****************************************************************************************************************************************************************************/
|
|
20906
20906
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
20907
20907
|
|
|
@@ -20910,8 +20910,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20910
20910
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20911
20911
|
/* harmony export */ "default": () => (/* binding */ Browser)
|
|
20912
20912
|
/* harmony export */ });
|
|
20913
|
-
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
20914
|
-
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
20913
|
+
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
20914
|
+
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
20915
20915
|
|
|
20916
20916
|
|
|
20917
20917
|
|
|
@@ -20936,12 +20936,12 @@ var serializeCookie = function serializeCookie(name, val, options) {
|
|
|
20936
20936
|
var opt = options || {};
|
|
20937
20937
|
opt.path = opt.path || '/';
|
|
20938
20938
|
var value = encodeURIComponent(val);
|
|
20939
|
-
var str = name
|
|
20939
|
+
var str = "".concat(name, "=").concat(value);
|
|
20940
20940
|
|
|
20941
20941
|
if (opt.maxAge > 0) {
|
|
20942
20942
|
var maxAge = opt.maxAge - 0;
|
|
20943
|
-
if (isNaN(maxAge)) throw new Error('maxAge should be a Number');
|
|
20944
|
-
str +=
|
|
20943
|
+
if (Number.isNaN(maxAge)) throw new Error('maxAge should be a Number');
|
|
20944
|
+
str += "; Max-Age=".concat(Math.floor(maxAge));
|
|
20945
20945
|
}
|
|
20946
20946
|
|
|
20947
20947
|
if (opt.domain) {
|
|
@@ -20949,7 +20949,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
|
|
|
20949
20949
|
throw new TypeError('option domain is invalid');
|
|
20950
20950
|
}
|
|
20951
20951
|
|
|
20952
|
-
str +=
|
|
20952
|
+
str += "; Domain=".concat(opt.domain);
|
|
20953
20953
|
}
|
|
20954
20954
|
|
|
20955
20955
|
if (opt.path) {
|
|
@@ -20957,7 +20957,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
|
|
|
20957
20957
|
throw new TypeError('option path is invalid');
|
|
20958
20958
|
}
|
|
20959
20959
|
|
|
20960
|
-
str +=
|
|
20960
|
+
str += "; Path=".concat(opt.path);
|
|
20961
20961
|
}
|
|
20962
20962
|
|
|
20963
20963
|
if (opt.expires) {
|
|
@@ -20965,7 +20965,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
|
|
|
20965
20965
|
throw new TypeError('option expires is invalid');
|
|
20966
20966
|
}
|
|
20967
20967
|
|
|
20968
|
-
str +=
|
|
20968
|
+
str += "; Expires=".concat(opt.expires.toUTCString());
|
|
20969
20969
|
}
|
|
20970
20970
|
|
|
20971
20971
|
if (opt.httpOnly) str += '; HttpOnly';
|
|
@@ -21015,7 +21015,7 @@ var cookie = {
|
|
|
21015
21015
|
document.cookie = serializeCookie(name, encodeURIComponent(value), cookieOptions);
|
|
21016
21016
|
},
|
|
21017
21017
|
read: function read(name) {
|
|
21018
|
-
var nameEQ = name
|
|
21018
|
+
var nameEQ = "".concat(name, "=");
|
|
21019
21019
|
var ca = document.cookie.split(';');
|
|
21020
21020
|
|
|
21021
21021
|
for (var i = 0; i < ca.length; i++) {
|
|
@@ -21225,21 +21225,16 @@ var path = {
|
|
|
21225
21225
|
var subdomain = {
|
|
21226
21226
|
name: 'subdomain',
|
|
21227
21227
|
lookup: function lookup(options) {
|
|
21228
|
-
|
|
21228
|
+
// If given get the subdomain index else 1
|
|
21229
|
+
var lookupFromSubdomainIndex = typeof options.lookupFromSubdomainIndex === 'number' ? options.lookupFromSubdomainIndex + 1 : 1; // get all matches if window.location. is existing
|
|
21230
|
+
// first item of match is the match itself and the second is the first group macht which sould be the first subdomain match
|
|
21231
|
+
// is the hostname no public domain get the or option of localhost
|
|
21229
21232
|
|
|
21230
|
-
|
|
21231
|
-
var language = window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);
|
|
21233
|
+
var language = typeof window !== 'undefined' && window.location && window.location.hostname && window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i); // if there is no match (null) return undefined
|
|
21232
21234
|
|
|
21233
|
-
|
|
21234
|
-
if (typeof options.lookupFromSubdomainIndex === 'number') {
|
|
21235
|
-
found = language[options.lookupFromSubdomainIndex].replace('http://', '').replace('https://', '').replace('.', '');
|
|
21236
|
-
} else {
|
|
21237
|
-
found = language[0].replace('http://', '').replace('https://', '').replace('.', '');
|
|
21238
|
-
}
|
|
21239
|
-
}
|
|
21240
|
-
}
|
|
21235
|
+
if (!language) return undefined; // return the given group match
|
|
21241
21236
|
|
|
21242
|
-
return
|
|
21237
|
+
return language[lookupFromSubdomainIndex];
|
|
21243
21238
|
}
|
|
21244
21239
|
};
|
|
21245
21240
|
|
|
@@ -21252,8 +21247,8 @@ function getDefaults() {
|
|
|
21252
21247
|
lookupSessionStorage: 'i18nextLng',
|
|
21253
21248
|
// cache user language
|
|
21254
21249
|
caches: ['localStorage'],
|
|
21255
|
-
excludeCacheFor: ['cimode'] //cookieMinutes: 10,
|
|
21256
|
-
//cookieDomain: 'myDomain'
|
|
21250
|
+
excludeCacheFor: ['cimode'] // cookieMinutes: 10,
|
|
21251
|
+
// cookieDomain: 'myDomain'
|
|
21257
21252
|
|
|
21258
21253
|
};
|
|
21259
21254
|
}
|
|
@@ -21347,10 +21342,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21347
21342
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21348
21343
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
21349
21344
|
/* harmony export */ });
|
|
21350
|
-
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
21351
|
-
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
21352
|
-
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
21353
|
-
/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
21345
|
+
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
21346
|
+
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
21347
|
+
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
|
|
21348
|
+
/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
21354
21349
|
|
|
21355
21350
|
|
|
21356
21351
|
|
|
@@ -61160,7 +61155,7 @@ class StopWatch {
|
|
|
61160
61155
|
get current() { return BeDuration.fromMilliseconds(BeTimePoint.now().milliseconds - (!!this._start ? this._start.milliseconds : 0)); }
|
|
61161
61156
|
/** Get the elapsed time, in seconds, since start() on a running timer. */
|
|
61162
61157
|
get currentSeconds() { return this.current.seconds; }
|
|
61163
|
-
/** Get the elapsed time between start() and stop() on this timer. */
|
|
61158
|
+
/** Get the elapsed time between start() and stop() on this timer in milliseconds. */
|
|
61164
61159
|
get elapsed() { return BeDuration.fromMilliseconds((!!this._stop ? this._stop.milliseconds : BeTimePoint.now().milliseconds) - (!!this._start ? this._start.milliseconds : 0)); }
|
|
61165
61160
|
/** Get the elapsed time, in seconds, between start() and stop() on this timer. */
|
|
61166
61161
|
get elapsedSeconds() { return this.elapsed.seconds; }
|
|
@@ -61299,7 +61294,10 @@ class Tracing {
|
|
|
61299
61294
|
static withOpenTelemetry(base, isError = false) {
|
|
61300
61295
|
return (category, message, metaData) => {
|
|
61301
61296
|
var _a, _b;
|
|
61302
|
-
|
|
61297
|
+
try {
|
|
61298
|
+
(_b = (_a = Tracing._openTelemetry) === null || _a === void 0 ? void 0 : _a.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _b === void 0 ? void 0 : _b.addEvent(message, { ...flattenObject(_Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.getMetaData(metaData)), error: isError });
|
|
61299
|
+
}
|
|
61300
|
+
catch (_e) { } // avoid throwing random errors (with stack trace mangled by async hooks) when openTelemetry collector doesn't work
|
|
61303
61301
|
base(category, message, metaData);
|
|
61304
61302
|
};
|
|
61305
61303
|
}
|
|
@@ -61778,20 +61776,20 @@ var AmbientOcclusion;
|
|
|
61778
61776
|
static fromJSON(json) { return undefined !== json ? new Settings(json) : this.defaults; }
|
|
61779
61777
|
toJSON() {
|
|
61780
61778
|
return {
|
|
61781
|
-
bias: this.bias,
|
|
61782
|
-
zLengthCap: this.zLengthCap,
|
|
61783
|
-
maxDistance: this.maxDistance,
|
|
61784
|
-
intensity: this.intensity,
|
|
61785
|
-
texelStepSize: this.texelStepSize,
|
|
61786
|
-
blurDelta: this.blurDelta,
|
|
61787
|
-
blurSigma: this.blurSigma,
|
|
61788
|
-
blurTexelStepSize: this.blurTexelStepSize,
|
|
61779
|
+
bias: this.bias !== Settings._defaultBias ? this.bias : undefined,
|
|
61780
|
+
zLengthCap: this.zLengthCap !== Settings._defaultZLengthCap ? this.zLengthCap : undefined,
|
|
61781
|
+
maxDistance: this.maxDistance !== Settings._defaultMaxDistance ? this.maxDistance : undefined,
|
|
61782
|
+
intensity: this.intensity !== Settings._defaultIntensity ? this.intensity : undefined,
|
|
61783
|
+
texelStepSize: this.texelStepSize !== Settings._defaultTexelStepSize ? this.texelStepSize : undefined,
|
|
61784
|
+
blurDelta: this.blurDelta !== Settings._defaultBlurDelta ? this.blurDelta : undefined,
|
|
61785
|
+
blurSigma: this.blurSigma !== Settings._defaultBlurSigma ? this.blurSigma : undefined,
|
|
61786
|
+
blurTexelStepSize: this.blurTexelStepSize !== Settings._defaultBlurTexelStepSize ? this.blurTexelStepSize : undefined,
|
|
61789
61787
|
};
|
|
61790
61788
|
}
|
|
61791
61789
|
}
|
|
61792
61790
|
Settings._defaultBias = 0.25;
|
|
61793
61791
|
Settings._defaultZLengthCap = 0.0025;
|
|
61794
|
-
Settings._defaultMaxDistance =
|
|
61792
|
+
Settings._defaultMaxDistance = 10000.0;
|
|
61795
61793
|
Settings._defaultIntensity = 1.0;
|
|
61796
61794
|
Settings._defaultTexelStepSize = 1;
|
|
61797
61795
|
Settings._defaultBlurDelta = 1.0;
|
|
@@ -62945,7 +62943,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
62945
62943
|
* @module Codes
|
|
62946
62944
|
*/
|
|
62947
62945
|
|
|
62948
|
-
/**
|
|
62946
|
+
/**
|
|
62947
|
+
* A three-part structure containing information about the [Code]($docs/bis/guide/fundamentals/codes) of an Element
|
|
62949
62948
|
* @public
|
|
62950
62949
|
*/
|
|
62951
62950
|
class Code {
|
|
@@ -68596,13 +68595,21 @@ var Gradient;
|
|
|
68596
68595
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== imageBuffer);
|
|
68597
68596
|
return imageBuffer;
|
|
68598
68597
|
}
|
|
68599
|
-
/**
|
|
68598
|
+
/** Produces a bitmap image from this gradient.
|
|
68599
|
+
* @param width Width of the image
|
|
68600
|
+
* @param height Height of the image
|
|
68601
|
+
* @note If this gradient uses [[Gradient.Mode.Thematic]], then the width of the image will be 1 and the margin color will be included in the top and bottom rows.
|
|
68602
|
+
* @see [[produceImage]] for more customization.
|
|
68603
|
+
*/
|
|
68600
68604
|
getImage(width, height) {
|
|
68601
|
-
if (this.mode === Mode.Thematic)
|
|
68602
|
-
|
|
68603
|
-
|
|
68604
|
-
|
|
68605
|
-
|
|
68605
|
+
if (this.mode === Mode.Thematic)
|
|
68606
|
+
width = 1;
|
|
68607
|
+
return this.produceImage({ width, height, includeThematicMargin: true });
|
|
68608
|
+
}
|
|
68609
|
+
/** Produces a bitmap image from this gradient. */
|
|
68610
|
+
produceImage(args) {
|
|
68611
|
+
var _a;
|
|
68612
|
+
const { width, height, includeThematicMargin } = { ...args };
|
|
68606
68613
|
const thisAngle = (this.angle === undefined) ? 0 : this.angle.radians;
|
|
68607
68614
|
const cosA = Math.cos(thisAngle);
|
|
68608
68615
|
const sinA = Math.sin(thisAngle);
|
|
@@ -68708,14 +68715,11 @@ var Gradient;
|
|
|
68708
68715
|
break;
|
|
68709
68716
|
}
|
|
68710
68717
|
case Mode.Thematic: {
|
|
68711
|
-
|
|
68712
|
-
if (settings === undefined) {
|
|
68713
|
-
settings = _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.defaults;
|
|
68714
|
-
}
|
|
68718
|
+
const settings = (_a = this.thematicSettings) !== null && _a !== void 0 ? _a : _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.defaults;
|
|
68715
68719
|
for (let j = 0; j < height; j++) {
|
|
68716
68720
|
let f = 1 - j / height;
|
|
68717
68721
|
let color;
|
|
68718
|
-
if (f < _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.margin || f > _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.contentMax) {
|
|
68722
|
+
if (includeThematicMargin && (f < _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.margin || f > _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.contentMax)) {
|
|
68719
68723
|
color = settings.marginColor;
|
|
68720
68724
|
}
|
|
68721
68725
|
else {
|
|
@@ -86460,6 +86464,7 @@ class IpcWebSocketBackend extends IpcWebSocket {
|
|
|
86460
86464
|
constructor() {
|
|
86461
86465
|
super();
|
|
86462
86466
|
this._handlers = new Map();
|
|
86467
|
+
this._processingQueue = [];
|
|
86463
86468
|
IpcWebSocket.receivers.add(async (e, m) => this.dispatch(e, m));
|
|
86464
86469
|
}
|
|
86465
86470
|
send(channel, ...data) {
|
|
@@ -86473,22 +86478,35 @@ class IpcWebSocketBackend extends IpcWebSocket {
|
|
|
86473
86478
|
};
|
|
86474
86479
|
}
|
|
86475
86480
|
async dispatch(_evt, message) {
|
|
86476
|
-
if (message.type !== IpcWebSocketMessageType.Invoke
|
|
86481
|
+
if (message.type !== IpcWebSocketMessageType.Invoke)
|
|
86477
86482
|
return;
|
|
86478
|
-
|
|
86479
|
-
|
|
86483
|
+
this._processingQueue.push(message);
|
|
86484
|
+
await this.processMessages();
|
|
86485
|
+
}
|
|
86486
|
+
async processMessages() {
|
|
86487
|
+
if (this._processing || !this._processingQueue.length) {
|
|
86480
86488
|
return;
|
|
86481
|
-
|
|
86482
|
-
|
|
86483
|
-
|
|
86484
|
-
|
|
86485
|
-
|
|
86486
|
-
|
|
86487
|
-
|
|
86488
|
-
|
|
86489
|
-
|
|
86490
|
-
|
|
86491
|
-
|
|
86489
|
+
}
|
|
86490
|
+
const message = this._processingQueue.shift();
|
|
86491
|
+
if (message && message.method) {
|
|
86492
|
+
const handler = this._handlers.get(message.channel);
|
|
86493
|
+
if (handler) {
|
|
86494
|
+
this._processing = message;
|
|
86495
|
+
let args = message.data;
|
|
86496
|
+
if (typeof (args) === "undefined")
|
|
86497
|
+
args = [];
|
|
86498
|
+
const response = await handler({}, message.method, ...args);
|
|
86499
|
+
IpcWebSocket.transport.send({
|
|
86500
|
+
type: IpcWebSocketMessageType.Response,
|
|
86501
|
+
channel: message.channel,
|
|
86502
|
+
response: message.request,
|
|
86503
|
+
data: response,
|
|
86504
|
+
sequence: -1,
|
|
86505
|
+
});
|
|
86506
|
+
this._processing = undefined;
|
|
86507
|
+
}
|
|
86508
|
+
}
|
|
86509
|
+
await this.processMessages();
|
|
86492
86510
|
}
|
|
86493
86511
|
}
|
|
86494
86512
|
|
|
@@ -89592,6 +89610,9 @@ class BentleyCloudRpcProtocol extends _WebAppRpcProtocol__WEBPACK_IMPORTED_MODUL
|
|
|
89592
89610
|
const components = url.pathname.split("/").filter((x) => x); // filter out empty segments
|
|
89593
89611
|
const operationComponent = components.slice(-1)[0];
|
|
89594
89612
|
const encodedRequest = url.searchParams.get("parameters") || "";
|
|
89613
|
+
// The encodedRequest should be base64 - fail now if any other characters detected.
|
|
89614
|
+
if (/[^A-z0-9=+\/]/.test(encodedRequest))
|
|
89615
|
+
throw new _IModelError__WEBPACK_IMPORTED_MODULE_1__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR, `Invalid request: Malformed URL parameters detected.`);
|
|
89595
89616
|
const firstHyphen = operationComponent.indexOf("-");
|
|
89596
89617
|
const lastHyphen = operationComponent.lastIndexOf("-");
|
|
89597
89618
|
const interfaceDefinition = operationComponent.slice(0, firstHyphen);
|
|
@@ -89983,11 +90004,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
89983
90004
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
89984
90005
|
/* harmony export */ "WebAppRpcProtocol": () => (/* binding */ WebAppRpcProtocol)
|
|
89985
90006
|
/* harmony export */ });
|
|
89986
|
-
/* harmony import */ var
|
|
89987
|
-
/* harmony import */ var
|
|
89988
|
-
/* harmony import */ var
|
|
89989
|
-
/* harmony import */ var
|
|
89990
|
-
/* harmony import */ var
|
|
90007
|
+
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
90008
|
+
/* harmony import */ var _CommonLoggerCategory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../CommonLoggerCategory */ "../../core/common/lib/esm/CommonLoggerCategory.js");
|
|
90009
|
+
/* harmony import */ var _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/RpcConstants */ "../../core/common/lib/esm/rpc/core/RpcConstants.js");
|
|
90010
|
+
/* harmony import */ var _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/RpcProtocol */ "../../core/common/lib/esm/rpc/core/RpcProtocol.js");
|
|
90011
|
+
/* harmony import */ var _OpenAPI__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./OpenAPI */ "../../core/common/lib/esm/rpc/web/OpenAPI.js");
|
|
90012
|
+
/* harmony import */ var _WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./WebAppRpcLogging */ "../../core/common/lib/esm/rpc/web/WebAppRpcLogging.js");
|
|
90013
|
+
/* harmony import */ var _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./WebAppRpcRequest */ "../../core/common/lib/esm/rpc/web/WebAppRpcRequest.js");
|
|
89991
90014
|
/*---------------------------------------------------------------------------------------------
|
|
89992
90015
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
89993
90016
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -90000,10 +90023,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
90000
90023
|
|
|
90001
90024
|
|
|
90002
90025
|
|
|
90026
|
+
|
|
90027
|
+
|
|
90003
90028
|
/** The HTTP application protocol.
|
|
90004
90029
|
* @internal
|
|
90005
90030
|
*/
|
|
90006
|
-
class WebAppRpcProtocol extends
|
|
90031
|
+
class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_3__.RpcProtocol {
|
|
90007
90032
|
/** Constructs an HTTP protocol. */
|
|
90008
90033
|
constructor(configuration) {
|
|
90009
90034
|
super(configuration);
|
|
@@ -90011,9 +90036,9 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
|
|
|
90011
90036
|
/** An optional prefix for RPC operation URI paths. */
|
|
90012
90037
|
this.pathPrefix = "";
|
|
90013
90038
|
/** The RPC request class for this protocol. */
|
|
90014
|
-
this.requestType =
|
|
90039
|
+
this.requestType = _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__.WebAppRpcRequest;
|
|
90015
90040
|
this.supportsStatusCategory = true;
|
|
90016
|
-
this.events.addListener(
|
|
90041
|
+
this.events.addListener(_WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_5__.WebAppRpcLogging.logProtocolEvent);
|
|
90017
90042
|
}
|
|
90018
90043
|
/** Convenience handler for an RPC operation get request for an HTTP server. */
|
|
90019
90044
|
async handleOperationGetRequest(req, res) {
|
|
@@ -90021,9 +90046,19 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
|
|
|
90021
90046
|
}
|
|
90022
90047
|
/** Convenience handler for an RPC operation post request for an HTTP server. */
|
|
90023
90048
|
async handleOperationPostRequest(req, res) {
|
|
90024
|
-
|
|
90049
|
+
let request;
|
|
90050
|
+
try {
|
|
90051
|
+
request = await _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__.WebAppRpcRequest.parseRequest(this, req);
|
|
90052
|
+
}
|
|
90053
|
+
catch (error) {
|
|
90054
|
+
const message = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorMessage(error);
|
|
90055
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(_CommonLoggerCategory__WEBPACK_IMPORTED_MODULE_1__.CommonLoggerCategory.RpcInterfaceBackend, `Failed to parse request: ${message}`, _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorMetadata(error));
|
|
90056
|
+
res.status(400);
|
|
90057
|
+
res.send(JSON.stringify({ message, isError: true }));
|
|
90058
|
+
return;
|
|
90059
|
+
}
|
|
90025
90060
|
const fulfillment = await this.fulfill(request);
|
|
90026
|
-
await
|
|
90061
|
+
await _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__.WebAppRpcRequest.sendResponse(this, request, fulfillment, req, res);
|
|
90027
90062
|
}
|
|
90028
90063
|
/** Convenience handler for an OpenAPI description request for an HTTP server. */
|
|
90029
90064
|
handleOpenApiDescriptionRequest(_req, res) {
|
|
@@ -90033,45 +90068,45 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
|
|
|
90033
90068
|
/** Converts an HTTP content type value to an RPC content type value. */
|
|
90034
90069
|
static computeContentType(httpType) {
|
|
90035
90070
|
if (!httpType)
|
|
90036
|
-
return
|
|
90037
|
-
if (httpType.indexOf(
|
|
90038
|
-
return
|
|
90071
|
+
return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Unknown;
|
|
90072
|
+
if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.WEB_RPC_CONSTANTS.ANY_TEXT) === 0) {
|
|
90073
|
+
return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Text;
|
|
90039
90074
|
}
|
|
90040
|
-
else if (httpType.indexOf(
|
|
90041
|
-
return
|
|
90075
|
+
else if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.WEB_RPC_CONSTANTS.BINARY) === 0) {
|
|
90076
|
+
return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Binary;
|
|
90042
90077
|
}
|
|
90043
|
-
else if (httpType.indexOf(
|
|
90044
|
-
return
|
|
90078
|
+
else if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.WEB_RPC_CONSTANTS.MULTIPART) === 0) {
|
|
90079
|
+
return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Multipart;
|
|
90045
90080
|
}
|
|
90046
90081
|
else {
|
|
90047
|
-
return
|
|
90082
|
+
return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Unknown;
|
|
90048
90083
|
}
|
|
90049
90084
|
}
|
|
90050
90085
|
/** Supplies the status corresponding to a protocol-specific code value. */
|
|
90051
90086
|
getStatus(code) {
|
|
90052
90087
|
switch (code) {
|
|
90053
|
-
case 404: return
|
|
90054
|
-
case 202: return
|
|
90055
|
-
case 200: return
|
|
90056
|
-
case 500: return
|
|
90057
|
-
case 204: return
|
|
90058
|
-
case 502: return
|
|
90059
|
-
case 503: return
|
|
90060
|
-
case 504: return
|
|
90061
|
-
default: return
|
|
90088
|
+
case 404: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NotFound;
|
|
90089
|
+
case 202: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Pending;
|
|
90090
|
+
case 200: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Resolved;
|
|
90091
|
+
case 500: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Rejected;
|
|
90092
|
+
case 204: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NoContent;
|
|
90093
|
+
case 502: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.BadGateway;
|
|
90094
|
+
case 503: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.ServiceUnavailable;
|
|
90095
|
+
case 504: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.GatewayTimeout;
|
|
90096
|
+
default: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Unknown;
|
|
90062
90097
|
}
|
|
90063
90098
|
}
|
|
90064
90099
|
/** Supplies the protocol-specific code corresponding to a status value. */
|
|
90065
90100
|
getCode(status) {
|
|
90066
90101
|
switch (status) {
|
|
90067
|
-
case
|
|
90068
|
-
case
|
|
90069
|
-
case
|
|
90070
|
-
case
|
|
90071
|
-
case
|
|
90072
|
-
case
|
|
90073
|
-
case
|
|
90074
|
-
case
|
|
90102
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NotFound: return 404;
|
|
90103
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Pending: return 202;
|
|
90104
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Resolved: return 200;
|
|
90105
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Rejected: return 500;
|
|
90106
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NoContent: return 204;
|
|
90107
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.BadGateway: return 502;
|
|
90108
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.ServiceUnavailable: return 503;
|
|
90109
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.GatewayTimeout: return 504;
|
|
90075
90110
|
default: return 501;
|
|
90076
90111
|
}
|
|
90077
90112
|
}
|
|
@@ -90082,7 +90117,7 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
|
|
|
90082
90117
|
/** An OpenAPI-compatible description of this protocol.
|
|
90083
90118
|
* @internal
|
|
90084
90119
|
*/
|
|
90085
|
-
get openAPIDescription() { return new
|
|
90120
|
+
get openAPIDescription() { return new _OpenAPI__WEBPACK_IMPORTED_MODULE_4__.RpcOpenAPIDescription(this); }
|
|
90086
90121
|
}
|
|
90087
90122
|
|
|
90088
90123
|
|
|
@@ -90183,7 +90218,7 @@ class WebAppRpcRequest extends _core_RpcRequest__WEBPACK_IMPORTED_MODULE_6__.Rpc
|
|
|
90183
90218
|
}
|
|
90184
90219
|
}
|
|
90185
90220
|
if (!request.id) {
|
|
90186
|
-
throw new _IModelError__WEBPACK_IMPORTED_MODULE_2__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR, `Invalid request.`);
|
|
90221
|
+
throw new _IModelError__WEBPACK_IMPORTED_MODULE_2__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR, `Invalid request: Missing required activity ID.`);
|
|
90187
90222
|
}
|
|
90188
90223
|
return request;
|
|
90189
90224
|
}
|
|
@@ -145857,8 +145892,6 @@ class RealityMeshGeometry extends _CachedGeometry__WEBPACK_IMPORTED_MODULE_7__.I
|
|
|
145857
145892
|
}
|
|
145858
145893
|
get techniqueId() { return 7 /* RealityMesh */; }
|
|
145859
145894
|
getPass(target) {
|
|
145860
|
-
if (target.isDrawingShadowMap)
|
|
145861
|
-
return "none";
|
|
145862
145895
|
if (this._baseIsTransparent || (target.wantThematicDisplay && target.uniforms.thematic.wantIsoLines))
|
|
145863
145896
|
return "translucent";
|
|
145864
145897
|
return "opaque";
|
|
@@ -151472,6 +151505,7 @@ class SolarShadowMap {
|
|
|
151472
151505
|
this.onGraphicsChanged(this._graphics);
|
|
151473
151506
|
}
|
|
151474
151507
|
update(context) {
|
|
151508
|
+
var _a;
|
|
151475
151509
|
this._isReady = false;
|
|
151476
151510
|
this.clearGraphics(false);
|
|
151477
151511
|
if (undefined === context || !context.viewport.view.isSpatialView()) {
|
|
@@ -151481,9 +151515,7 @@ class SolarShadowMap {
|
|
|
151481
151515
|
}
|
|
151482
151516
|
const view = context.viewport.view;
|
|
151483
151517
|
const style = view.getDisplayStyle3d();
|
|
151484
|
-
|
|
151485
|
-
if (undefined === sunDirection)
|
|
151486
|
-
sunDirection = defaultSunDirection;
|
|
151518
|
+
const sunDirection = (_a = style.sunDirection) !== null && _a !== void 0 ? _a : defaultSunDirection;
|
|
151487
151519
|
const minimumHorizonDirection = -.01;
|
|
151488
151520
|
if (sunDirection.z > minimumHorizonDirection) {
|
|
151489
151521
|
this.notifyGraphicsChanged();
|
|
@@ -151505,8 +151537,21 @@ class SolarShadowMap {
|
|
|
151505
151537
|
// Limit the map to only displayed models.
|
|
151506
151538
|
const viewTileRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range3d.createNull();
|
|
151507
151539
|
view.forEachTileTreeRef((ref) => {
|
|
151508
|
-
if (ref.castsShadows)
|
|
151509
|
-
ref.
|
|
151540
|
+
if (ref.castsShadows) {
|
|
151541
|
+
if (ref.isGlobal) {
|
|
151542
|
+
// A shadow-casting tile tree that spans the globe. Limit its range to the viewed extents.
|
|
151543
|
+
for (const p3 of viewFrustum.points) {
|
|
151544
|
+
const p4 = worldToMap.multiplyPoint3d(p3, 1);
|
|
151545
|
+
if (p4.w > 0.0001)
|
|
151546
|
+
viewTileRange.extendXYZW(p4.x, p4.y, p4.z, p4.w);
|
|
151547
|
+
else
|
|
151548
|
+
viewTileRange.high.z = Math.max(1.0, viewTileRange.high.z); // behind eye plane.
|
|
151549
|
+
}
|
|
151550
|
+
}
|
|
151551
|
+
else {
|
|
151552
|
+
ref.accumulateTransformedRange(viewTileRange, worldToMap, undefined);
|
|
151553
|
+
}
|
|
151554
|
+
}
|
|
151510
151555
|
});
|
|
151511
151556
|
if (!viewTileRange.isNull)
|
|
151512
151557
|
viewTileRange.clone(shadowRange);
|
|
@@ -152737,7 +152782,15 @@ class System extends _RenderSystem__WEBPACK_IMPORTED_MODULE_7__.RenderSystem {
|
|
|
152737
152782
|
}
|
|
152738
152783
|
/** Attempt to create a texture using gradient symbology. */
|
|
152739
152784
|
getGradientTexture(symb, iModel) {
|
|
152740
|
-
|
|
152785
|
+
let width = 0x100;
|
|
152786
|
+
let height = 0x100;
|
|
152787
|
+
if (symb.mode === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.Gradient.Mode.Thematic) {
|
|
152788
|
+
// Pixels in each row are identical, no point in having width > 1.
|
|
152789
|
+
width = 1;
|
|
152790
|
+
// We want maximum height to minimize bleeding of margin color.
|
|
152791
|
+
height = this.maxTextureSize;
|
|
152792
|
+
}
|
|
152793
|
+
const source = symb.produceImage({ width, height, includeThematicMargin: true });
|
|
152741
152794
|
return this.createTexture({
|
|
152742
152795
|
image: {
|
|
152743
152796
|
source,
|
|
@@ -157019,7 +157072,7 @@ const computeAmbientOcclusion = `
|
|
|
157019
157072
|
float bias = u_hbaoSettings.x; // Represents an angle in radians. If the dot product between the normal of the sample and the vector to the camera is less than this value, sampling stops in the current direction. This is used to remove shadows from near planar edges.
|
|
157020
157073
|
float zLengthCap = u_hbaoSettings.y; // If the distance in linear Z from the current sample to first sample is greater than this value, sampling stops in the current direction.
|
|
157021
157074
|
float intensity = u_hbaoSettings.z; // Raise the final occlusion to the power of this value. Larger values make the ambient shadows darker.
|
|
157022
|
-
float texelStepSize = u_hbaoSettings.w; // Indicates the distance to step toward the next texel sample in the current direction.
|
|
157075
|
+
float texelStepSize = clamp(u_hbaoSettings.w * linearDepth, 1.0, u_hbaoSettings.w); // Indicates the distance to step toward the next texel sample in the current direction.
|
|
157023
157076
|
|
|
157024
157077
|
float tOcclusion = 0.0;
|
|
157025
157078
|
|
|
@@ -157064,6 +157117,9 @@ const computeAmbientOcclusion = `
|
|
|
157064
157117
|
tOcclusion += curOcclusion;
|
|
157065
157118
|
}
|
|
157066
157119
|
|
|
157120
|
+
float distanceFadeFactor = kFrustumType_Perspective == u_frustum.z ? 1.0 - pow(clamp(nonLinearDepth / u_maxDistance, 0.0, 1.0), 4.0) : 1.0;
|
|
157121
|
+
tOcclusion *= distanceFadeFactor;
|
|
157122
|
+
|
|
157067
157123
|
tOcclusion /= 4.0;
|
|
157068
157124
|
tOcclusion = 1.0 - clamp(tOcclusion, 0.0, 1.0);
|
|
157069
157125
|
tOcclusion = pow(tOcclusion, intensity);
|
|
@@ -166969,7 +167025,7 @@ class GltfReader {
|
|
|
166969
167025
|
if (dracoMeshes.length === 0)
|
|
166970
167026
|
return;
|
|
166971
167027
|
try {
|
|
166972
|
-
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-
|
|
167028
|
+
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_7_node_modules_loaders_gl_draco_di-a586d9"), __webpack_require__.e("_c5fe")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.7/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
|
|
166973
167029
|
await Promise.all(dracoMeshes.map(async (x) => this.decodeDracoMesh(x, dracoLoader)));
|
|
166974
167030
|
}
|
|
166975
167031
|
catch (err) {
|
|
@@ -170096,7 +170152,7 @@ function readPnts(stream, dataOffset, pnts) {
|
|
|
170096
170152
|
async function decodeDracoPointCloud(buf) {
|
|
170097
170153
|
var _a, _b, _c, _d, _e, _f;
|
|
170098
170154
|
try {
|
|
170099
|
-
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-
|
|
170155
|
+
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_7_node_modules_loaders_gl_draco_di-a586d9"), __webpack_require__.e("_c5fe")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.7/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
|
|
170100
170156
|
const mesh = await dracoLoader.parse(buf, {});
|
|
170101
170157
|
if (mesh.topology !== "point-list")
|
|
170102
170158
|
return undefined;
|
|
@@ -172281,6 +172337,7 @@ class RealityTileTree extends _internal__WEBPACK_IMPORTED_MODULE_6__.TileTree {
|
|
|
172281
172337
|
const preloadDebugBuilder = (debugControl && debugControl.displayRealityTilePreload) ? args.context.createSceneGraphicBuilder() : undefined;
|
|
172282
172338
|
const graphicTypeBranches = new Map();
|
|
172283
172339
|
const selectedTiles = this.selectRealityTiles(args, displayedTileDescendants, preloadDebugBuilder);
|
|
172340
|
+
args.processSelectedTiles(selectedTiles);
|
|
172284
172341
|
let sortIndices;
|
|
172285
172342
|
if (!this.parentsAndChildrenExclusive) {
|
|
172286
172343
|
sortIndices = selectedTiles.map((_x, i) => i);
|
|
@@ -176541,28 +176598,6 @@ class ArcGisUtilities {
|
|
|
176541
176598
|
return undefined;
|
|
176542
176599
|
}
|
|
176543
176600
|
}
|
|
176544
|
-
static async getFootprintJson(url, credentials) {
|
|
176545
|
-
const cached = ArcGisUtilities._footprintCache.get(url);
|
|
176546
|
-
if (cached !== undefined)
|
|
176547
|
-
return cached;
|
|
176548
|
-
try {
|
|
176549
|
-
const tmpUrl = new URL(url);
|
|
176550
|
-
tmpUrl.searchParams.append("f", "json");
|
|
176551
|
-
tmpUrl.searchParams.append("option", "footprints");
|
|
176552
|
-
tmpUrl.searchParams.append("outSR", "4326");
|
|
176553
|
-
const accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.mapLayerFormatRegistry.getAccessClient("ArcGIS");
|
|
176554
|
-
if (accessClient) {
|
|
176555
|
-
await ArcGisUtilities.appendSecurityToken(tmpUrl, accessClient, { mapLayerUrl: new URL(url), userName: credentials === null || credentials === void 0 ? void 0 : credentials.user, password: credentials === null || credentials === void 0 ? void 0 : credentials.password });
|
|
176556
|
-
}
|
|
176557
|
-
const json = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_1__.getJson)(tmpUrl.toString());
|
|
176558
|
-
ArcGisUtilities._footprintCache.set(url, json);
|
|
176559
|
-
return json;
|
|
176560
|
-
}
|
|
176561
|
-
catch (_error) {
|
|
176562
|
-
ArcGisUtilities._footprintCache.set(url, undefined);
|
|
176563
|
-
return undefined;
|
|
176564
|
-
}
|
|
176565
|
-
}
|
|
176566
176601
|
// return the appended access token if available.
|
|
176567
176602
|
static async appendSecurityToken(url, accessClient, accessTokenParams) {
|
|
176568
176603
|
// Append security token if available
|
|
@@ -176579,7 +176614,6 @@ class ArcGisUtilities {
|
|
|
176579
176614
|
}
|
|
176580
176615
|
}
|
|
176581
176616
|
ArcGisUtilities._serviceCache = new Map();
|
|
176582
|
-
ArcGisUtilities._footprintCache = new Map();
|
|
176583
176617
|
|
|
176584
176618
|
|
|
176585
176619
|
/***/ }),
|
|
@@ -177458,18 +177492,9 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
177458
177492
|
if (this._usesCachedTiles && this._tileMapSupported) {
|
|
177459
177493
|
this._tileMap = new _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGISTileMap(this._settings.url, (_d = (_c = json.tileInfo) === null || _c === void 0 ? void 0 : _c.lods) === null || _d === void 0 ? void 0 : _d.length);
|
|
177460
177494
|
}
|
|
177461
|
-
|
|
177462
|
-
if (
|
|
177463
|
-
|
|
177464
|
-
if (layer.layerDefinition && layer.layerDefinition.extent) {
|
|
177465
|
-
this.cartoRange = _internal__WEBPACK_IMPORTED_MODULE_4__.MapCartoRectangle.createFromDegrees(layer.layerDefinition.extent.xmin, layer.layerDefinition.extent.ymin, layer.layerDefinition.extent.xmax, layer.layerDefinition.extent.ymax);
|
|
177466
|
-
break;
|
|
177467
|
-
}
|
|
177468
|
-
}
|
|
177469
|
-
}
|
|
177470
|
-
// Sometimes footprint request doesnt work, fallback to dataset fullextent
|
|
177471
|
-
if (this.cartoRange === undefined && json.fullExtent) {
|
|
177472
|
-
if (json.fullExtent.spatialReference.latestWkid === 3857) {
|
|
177495
|
+
// Read range using fullextent from service metadata
|
|
177496
|
+
if (json.fullExtent) {
|
|
177497
|
+
if (json.fullExtent.spatialReference.latestWkid === 3857 || json.fullExtent.spatialReference.wkid === 102100) {
|
|
177473
177498
|
const range3857 = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_6__.Range2d.createFrom({
|
|
177474
177499
|
low: { x: json.fullExtent.xmin, y: json.fullExtent.ymin },
|
|
177475
177500
|
high: { x: json.fullExtent.xmax, y: json.fullExtent.ymax }
|
|
@@ -197396,17 +197421,17 @@ class BSplineCurve3dBase extends _curve_CurvePrimitive__WEBPACK_IMPORTED_MODULE_
|
|
|
197396
197421
|
* @returns Returns a CurveLocationDetail structure that holds the details of the close point.
|
|
197397
197422
|
*/
|
|
197398
197423
|
closestPoint(spacePoint, _extend) {
|
|
197424
|
+
// seed at start point -- final point comes with final bezier perpendicular step.
|
|
197399
197425
|
const point = this.fractionToPoint(0);
|
|
197400
197426
|
const result = _curve_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveLocationDetail.createCurveFractionPointDistance(this, 0.0, point, point.distance(spacePoint));
|
|
197401
|
-
this.fractionToPoint(1.0, point);
|
|
197402
|
-
result.updateIfCloserCurveFractionPointDistance(this, 1.0, point, spacePoint.distance(point));
|
|
197403
197427
|
let span;
|
|
197404
197428
|
const numSpans = this.numSpan;
|
|
197405
197429
|
for (let i = 0; i < numSpans; i++) {
|
|
197406
197430
|
if (this._bcurve.knots.isIndexOfRealSpan(i)) {
|
|
197407
197431
|
span = this.getSaturatedBezierSpan3dOr3dH(i, true, span);
|
|
197408
197432
|
if (span) {
|
|
197409
|
-
if
|
|
197433
|
+
// umm ... if the bspline is discontinuous, both ends should be tested. Ignore that possibility ...
|
|
197434
|
+
if (span.updateClosestPointByTruePerpendicular(spacePoint, result, false, true)) {
|
|
197410
197435
|
// the detail records the span bezier -- promote it to the parent curve . ..
|
|
197411
197436
|
result.curve = this;
|
|
197412
197437
|
result.fraction = span.fractionToParentFraction(result.fraction);
|
|
@@ -200856,7 +200881,7 @@ class BezierCurve3dH extends _BezierCurveBase__WEBPACK_IMPORTED_MODULE_0__.Bezie
|
|
|
200856
200881
|
* @param detail pre-allocated detail to record (evolving) closest point.
|
|
200857
200882
|
* @returns true if an updated occurred, false if either (a) no perpendicular projections or (b) perpendiculars were not closer.
|
|
200858
200883
|
*/
|
|
200859
|
-
updateClosestPointByTruePerpendicular(spacePoint, detail) {
|
|
200884
|
+
updateClosestPointByTruePerpendicular(spacePoint, detail, testAt0 = false, testAt1 = false) {
|
|
200860
200885
|
let numUpdates = 0;
|
|
200861
200886
|
let roots;
|
|
200862
200887
|
if (this.isUnitWeight()) {
|
|
@@ -200908,8 +200933,17 @@ class BezierCurve3dH extends _BezierCurveBase__WEBPACK_IMPORTED_MODULE_0__.Bezie
|
|
|
200908
200933
|
numUpdates += detail.updateIfCloserCurveFractionPointDistance(this, fraction, xyz, a) ? 1 : 0;
|
|
200909
200934
|
}
|
|
200910
200935
|
}
|
|
200936
|
+
if (testAt0)
|
|
200937
|
+
numUpdates += this.updateDetailAtFraction(detail, 0.0, spacePoint) ? 1 : 0;
|
|
200938
|
+
if (testAt1)
|
|
200939
|
+
numUpdates += this.updateDetailAtFraction(detail, 1.0, spacePoint) ? 1 : 0;
|
|
200911
200940
|
return numUpdates > 0;
|
|
200912
200941
|
}
|
|
200942
|
+
updateDetailAtFraction(detail, fraction, spacePoint) {
|
|
200943
|
+
const xyz = this.fractionToPoint(fraction);
|
|
200944
|
+
const a = xyz.distance(spacePoint);
|
|
200945
|
+
return detail.updateIfCloserCurveFractionPointDistance(this, fraction, xyz, a);
|
|
200946
|
+
}
|
|
200913
200947
|
/** Extend `rangeToExtend`, using candidate extrema at
|
|
200914
200948
|
* * both end points
|
|
200915
200949
|
* * any internal extrema in x,y,z
|
|
@@ -203792,8 +203826,8 @@ var ClipMaskXYZRangePlanes;
|
|
|
203792
203826
|
* * isMask === true means the plane sets should cover the outside of its polygon.
|
|
203793
203827
|
* * Note that the ClipShape's `isMask` property and the ClipPrimitive's `isInvisible` property are distinct controls.
|
|
203794
203828
|
* * In normal usage, callers get "outside" clip behavior using ONLY the ClipShape isMask property.
|
|
203795
|
-
* * The ClipShape happens to pass the _invisible bit down to
|
|
203796
|
-
* * At that level,
|
|
203829
|
+
* * The ClipShape happens to pass the _invisible bit down to ClipPlanes that it creates.
|
|
203830
|
+
* * At that level, the flag controls whether the cut edges are produced on the plane
|
|
203797
203831
|
* * This seems like an confused overloading of the meaning.
|
|
203798
203832
|
* @public
|
|
203799
203833
|
*/
|
|
@@ -203812,7 +203846,7 @@ class ClipPrimitive {
|
|
|
203812
203846
|
/**
|
|
203813
203847
|
* Create a ClipPrimitive, capturing the supplied plane set as the clip planes.
|
|
203814
203848
|
* @param planes clipper
|
|
203815
|
-
* @param isInvisible
|
|
203849
|
+
* @param isInvisible set the invisible flag on the ClipPrimitive
|
|
203816
203850
|
*/
|
|
203817
203851
|
static createCapture(planes, isInvisible = false) {
|
|
203818
203852
|
let planeData;
|
|
@@ -204698,7 +204732,7 @@ class ClipUtilities {
|
|
|
204698
204732
|
* * `ClipVector` -- intersection of the ranges of its `ClipPrimitive`.
|
|
204699
204733
|
* * `undefined` -- entire input range.
|
|
204700
204734
|
* * If `observeInvisibleFlag` is false, the "invisible" properties are ignored, and this effectively returns the range of the edge work of the members
|
|
204701
|
-
* * If `observeInvisibleFlag` is
|
|
204735
|
+
* * If `observeInvisibleFlag` is true, the "invisible" properties are observed, and "invisible" parts do not restrict the range.
|
|
204702
204736
|
* @param clipper
|
|
204703
204737
|
* @param range non-null range.
|
|
204704
204738
|
* @param observeInvisibleFlag indicates how "invisible" bit is applied for ClipPrimitive.
|
|
@@ -205260,7 +205294,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
205260
205294
|
|
|
205261
205295
|
/** Class holding an array structure of shapes defined by `ClipPrimitive`
|
|
205262
205296
|
* * The `ClipVector` defines an intersection of the member `ClipPrimitive` regions.
|
|
205263
|
-
* * In the most common usage, one of the `ClipPrimitive` will be an outer region, and all others are holes with marker flag indicating that
|
|
205297
|
+
* * In the most common usage, one of the `ClipPrimitive` will be an outer region, and all others are holes with marker flag indicating that the outside of each hole is live.
|
|
205264
205298
|
* @public
|
|
205265
205299
|
*/
|
|
205266
205300
|
class ClipVector {
|
|
@@ -209606,6 +209640,7 @@ class CurveChainWithDistanceIndex extends _curve_CurvePrimitive__WEBPACK_IMPORTE
|
|
|
209606
209640
|
const chainFraction = this.chainDistanceToChainFraction(chainDistance);
|
|
209607
209641
|
const chainDetail = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_7__.CurveLocationDetail.createCurveFractionPoint(this, chainFraction, childDetail.point);
|
|
209608
209642
|
chainDetail.childDetail = childDetail;
|
|
209643
|
+
chainDetail.a = childDetail.a;
|
|
209609
209644
|
return chainDetail;
|
|
209610
209645
|
}
|
|
209611
209646
|
return undefined;
|
|
@@ -252875,7 +252910,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
252875
252910
|
* * Circular or elliptical pipe cross sections can be specified by supplying either a radius, a pair of semi-axis lengths, or a full Arc3d.
|
|
252876
252911
|
* * For semi-axis length input, x corresponds to an ellipse local axis nominally situated parallel to the xy-plane.
|
|
252877
252912
|
* * The center of Arc3d input is translated to the centerline start point to act as initial cross section.
|
|
252878
|
-
* @param centerline centerline of pipe
|
|
252913
|
+
* @param centerline centerline of pipe. If curved, it will be stroked using the builder's StrokeOptions.
|
|
252879
252914
|
* @param sectionData circle radius, ellipse semi-axis lengths, or full Arc3d
|
|
252880
252915
|
* @param numFacetAround how many equal parameter-space chords around each section
|
|
252881
252916
|
*/
|
|
@@ -252894,7 +252929,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
252894
252929
|
}
|
|
252895
252930
|
else if (centerline instanceof _curve_GeometryQuery__WEBPACK_IMPORTED_MODULE_32__.GeometryQuery) {
|
|
252896
252931
|
const linestring = _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d.create();
|
|
252897
|
-
centerline.emitStrokes(linestring);
|
|
252932
|
+
centerline.emitStrokes(linestring, this._options);
|
|
252898
252933
|
this.addMiteredPipesFromPoints(linestring.packedPoints, sectionData, numFacetAround);
|
|
252899
252934
|
}
|
|
252900
252935
|
}
|
|
@@ -263938,6 +263973,26 @@ class Sample {
|
|
|
263938
263973
|
}
|
|
263939
263974
|
return result;
|
|
263940
263975
|
}
|
|
263976
|
+
/** Create various orders of non-rational B-spline curves with helical poles */
|
|
263977
|
+
static createBsplineCurveHelices(radius, height, numTurns, numSamplesPerTurn) {
|
|
263978
|
+
const pts = [];
|
|
263979
|
+
const zDelta = (height / numTurns) / numSamplesPerTurn;
|
|
263980
|
+
const aDelta = 2 * Math.PI / numSamplesPerTurn;
|
|
263981
|
+
for (let iTurn = 0; iTurn < numTurns; ++iTurn) {
|
|
263982
|
+
for (let iSample = 0; iSample < numSamplesPerTurn; iSample++) {
|
|
263983
|
+
pts.push(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Point3d.create(radius * Math.cos(iSample * aDelta), radius * Math.sin(iSample * aDelta), pts.length * zDelta));
|
|
263984
|
+
}
|
|
263985
|
+
}
|
|
263986
|
+
const result = [];
|
|
263987
|
+
for (const order of [2, 3, 4, 9, 16, 25]) {
|
|
263988
|
+
if (order > pts.length)
|
|
263989
|
+
continue;
|
|
263990
|
+
const curve = _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_9__.BSplineCurve3d.createUniformKnots(pts, order);
|
|
263991
|
+
if (curve !== undefined)
|
|
263992
|
+
result.push(curve);
|
|
263993
|
+
}
|
|
263994
|
+
return result;
|
|
263995
|
+
}
|
|
263941
263996
|
/** Create weighted bsplines for circular arcs.
|
|
263942
263997
|
*/
|
|
263943
263998
|
static createBspline3dHArcs() {
|
|
@@ -274913,8 +274968,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
274913
274968
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
274914
274969
|
/* harmony export */ "ITwinLocalization": () => (/* binding */ ITwinLocalization)
|
|
274915
274970
|
/* harmony export */ });
|
|
274916
|
-
/* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.
|
|
274917
|
-
/* harmony import */ var i18next_browser_languagedetector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.
|
|
274971
|
+
/* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/esm/i18next.js");
|
|
274972
|
+
/* harmony import */ var i18next_browser_languagedetector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.5/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js");
|
|
274918
274973
|
/* harmony import */ var i18next_xhr_backend__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! i18next-xhr-backend */ "../../common/temp/node_modules/.pnpm/i18next-xhr-backend@3.2.2/node_modules/i18next-xhr-backend/dist/esm/i18nextXHRBackend.js");
|
|
274919
274974
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
274920
274975
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -302035,9 +302090,9 @@ const gBase64 = {
|
|
|
302035
302090
|
|
|
302036
302091
|
/***/ }),
|
|
302037
302092
|
|
|
302038
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302093
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
|
|
302039
302094
|
/*!******************************************************************************************************************************!*\
|
|
302040
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302095
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
|
|
302041
302096
|
\******************************************************************************************************************************/
|
|
302042
302097
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302043
302098
|
|
|
@@ -302058,9 +302113,9 @@ function _arrayLikeToArray(arr, len) {
|
|
|
302058
302113
|
|
|
302059
302114
|
/***/ }),
|
|
302060
302115
|
|
|
302061
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302116
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
|
|
302062
302117
|
/*!****************************************************************************************************************************!*\
|
|
302063
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302118
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
|
|
302064
302119
|
\****************************************************************************************************************************/
|
|
302065
302120
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302066
302121
|
|
|
@@ -302075,9 +302130,9 @@ function _arrayWithHoles(arr) {
|
|
|
302075
302130
|
|
|
302076
302131
|
/***/ }),
|
|
302077
302132
|
|
|
302078
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302133
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
|
|
302079
302134
|
/*!***********************************************************************************************************************************!*\
|
|
302080
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302135
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
|
|
302081
302136
|
\***********************************************************************************************************************************/
|
|
302082
302137
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302083
302138
|
|
|
@@ -302096,9 +302151,9 @@ function _assertThisInitialized(self) {
|
|
|
302096
302151
|
|
|
302097
302152
|
/***/ }),
|
|
302098
302153
|
|
|
302099
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302154
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
|
|
302100
302155
|
/*!****************************************************************************************************************************!*\
|
|
302101
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302156
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
|
|
302102
302157
|
\****************************************************************************************************************************/
|
|
302103
302158
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302104
302159
|
|
|
@@ -302115,9 +302170,9 @@ function _classCallCheck(instance, Constructor) {
|
|
|
302115
302170
|
|
|
302116
302171
|
/***/ }),
|
|
302117
302172
|
|
|
302118
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302173
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js":
|
|
302119
302174
|
/*!*************************************************************************************************************************!*\
|
|
302120
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302175
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
|
|
302121
302176
|
\*************************************************************************************************************************/
|
|
302122
302177
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302123
302178
|
|
|
@@ -302147,9 +302202,9 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
302147
302202
|
|
|
302148
302203
|
/***/ }),
|
|
302149
302204
|
|
|
302150
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302205
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
|
|
302151
302206
|
/*!****************************************************************************************************************************!*\
|
|
302152
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302207
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
|
|
302153
302208
|
\****************************************************************************************************************************/
|
|
302154
302209
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302155
302210
|
|
|
@@ -302175,9 +302230,9 @@ function _defineProperty(obj, key, value) {
|
|
|
302175
302230
|
|
|
302176
302231
|
/***/ }),
|
|
302177
302232
|
|
|
302178
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302233
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
|
|
302179
302234
|
/*!****************************************************************************************************************************!*\
|
|
302180
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302235
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
|
|
302181
302236
|
\****************************************************************************************************************************/
|
|
302182
302237
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302183
302238
|
|
|
@@ -302195,9 +302250,9 @@ function _getPrototypeOf(o) {
|
|
|
302195
302250
|
|
|
302196
302251
|
/***/ }),
|
|
302197
302252
|
|
|
302198
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302253
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js":
|
|
302199
302254
|
/*!**********************************************************************************************************************!*\
|
|
302200
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302255
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
|
|
302201
302256
|
\**********************************************************************************************************************/
|
|
302202
302257
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302203
302258
|
|
|
@@ -302206,7 +302261,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302206
302261
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
302207
302262
|
/* harmony export */ "default": () => (/* binding */ _inherits)
|
|
302208
302263
|
/* harmony export */ });
|
|
302209
|
-
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302264
|
+
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
|
|
302210
302265
|
|
|
302211
302266
|
function _inherits(subClass, superClass) {
|
|
302212
302267
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -302228,9 +302283,9 @@ function _inherits(subClass, superClass) {
|
|
|
302228
302283
|
|
|
302229
302284
|
/***/ }),
|
|
302230
302285
|
|
|
302231
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302286
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
|
|
302232
302287
|
/*!*****************************************************************************************************************************!*\
|
|
302233
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302288
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
|
|
302234
302289
|
\*****************************************************************************************************************************/
|
|
302235
302290
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302236
302291
|
|
|
@@ -302245,9 +302300,9 @@ function _iterableToArray(iter) {
|
|
|
302245
302300
|
|
|
302246
302301
|
/***/ }),
|
|
302247
302302
|
|
|
302248
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302303
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
|
|
302249
302304
|
/*!*****************************************************************************************************************************!*\
|
|
302250
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302305
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
|
|
302251
302306
|
\*****************************************************************************************************************************/
|
|
302252
302307
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302253
302308
|
|
|
@@ -302262,9 +302317,9 @@ function _nonIterableRest() {
|
|
|
302262
302317
|
|
|
302263
302318
|
/***/ }),
|
|
302264
302319
|
|
|
302265
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302320
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
|
|
302266
302321
|
/*!***************************************************************************************************************************************!*\
|
|
302267
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302322
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
|
|
302268
302323
|
\***************************************************************************************************************************************/
|
|
302269
302324
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302270
302325
|
|
|
@@ -302273,8 +302328,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302273
302328
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
302274
302329
|
/* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
|
|
302275
302330
|
/* harmony export */ });
|
|
302276
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302277
|
-
/* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302331
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
302332
|
+
/* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
|
|
302278
302333
|
|
|
302279
302334
|
|
|
302280
302335
|
function _possibleConstructorReturn(self, call) {
|
|
@@ -302289,9 +302344,9 @@ function _possibleConstructorReturn(self, call) {
|
|
|
302289
302344
|
|
|
302290
302345
|
/***/ }),
|
|
302291
302346
|
|
|
302292
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302347
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
|
|
302293
302348
|
/*!****************************************************************************************************************************!*\
|
|
302294
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302349
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
|
|
302295
302350
|
\****************************************************************************************************************************/
|
|
302296
302351
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302297
302352
|
|
|
@@ -302310,9 +302365,9 @@ function _setPrototypeOf(o, p) {
|
|
|
302310
302365
|
|
|
302311
302366
|
/***/ }),
|
|
302312
302367
|
|
|
302313
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302368
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js":
|
|
302314
302369
|
/*!*********************************************************************************************************************!*\
|
|
302315
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302370
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
|
|
302316
302371
|
\*********************************************************************************************************************/
|
|
302317
302372
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302318
302373
|
|
|
@@ -302321,10 +302376,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302321
302376
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
302322
302377
|
/* harmony export */ "default": () => (/* binding */ _toArray)
|
|
302323
302378
|
/* harmony export */ });
|
|
302324
|
-
/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302325
|
-
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302326
|
-
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302327
|
-
/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302379
|
+
/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
|
|
302380
|
+
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
|
|
302381
|
+
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
|
|
302382
|
+
/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
|
|
302328
302383
|
|
|
302329
302384
|
|
|
302330
302385
|
|
|
@@ -302335,9 +302390,9 @@ function _toArray(arr) {
|
|
|
302335
302390
|
|
|
302336
302391
|
/***/ }),
|
|
302337
302392
|
|
|
302338
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302393
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
|
302339
302394
|
/*!********************************************************************************************************************!*\
|
|
302340
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302395
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
|
|
302341
302396
|
\********************************************************************************************************************/
|
|
302342
302397
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302343
302398
|
|
|
@@ -302358,9 +302413,9 @@ function _typeof(obj) {
|
|
|
302358
302413
|
|
|
302359
302414
|
/***/ }),
|
|
302360
302415
|
|
|
302361
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302416
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
|
|
302362
302417
|
/*!****************************************************************************************************************************************!*\
|
|
302363
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302418
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
|
|
302364
302419
|
\****************************************************************************************************************************************/
|
|
302365
302420
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302366
302421
|
|
|
@@ -302369,7 +302424,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302369
302424
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
302370
302425
|
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
|
302371
302426
|
/* harmony export */ });
|
|
302372
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302427
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
|
|
302373
302428
|
|
|
302374
302429
|
function _unsupportedIterableToArray(o, minLen) {
|
|
302375
302430
|
if (!o) return;
|
|
@@ -302382,10 +302437,10 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
302382
302437
|
|
|
302383
302438
|
/***/ }),
|
|
302384
302439
|
|
|
302385
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.
|
|
302386
|
-
|
|
302387
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next@21.
|
|
302388
|
-
|
|
302440
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/esm/i18next.js":
|
|
302441
|
+
/*!****************************************************************************************************!*\
|
|
302442
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/esm/i18next.js ***!
|
|
302443
|
+
\****************************************************************************************************/
|
|
302389
302444
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302390
302445
|
|
|
302391
302446
|
"use strict";
|
|
@@ -302406,15 +302461,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302406
302461
|
/* harmony export */ "t": () => (/* binding */ t),
|
|
302407
302462
|
/* harmony export */ "use": () => (/* binding */ use)
|
|
302408
302463
|
/* harmony export */ });
|
|
302409
|
-
/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302410
|
-
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302411
|
-
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302412
|
-
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302413
|
-
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302414
|
-
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302415
|
-
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302416
|
-
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302417
|
-
/* harmony import */ var _babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302464
|
+
/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
302465
|
+
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
302466
|
+
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
302467
|
+
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
|
|
302468
|
+
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js");
|
|
302469
|
+
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
|
|
302470
|
+
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
|
|
302471
|
+
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
|
|
302472
|
+
/* harmony import */ var _babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js");
|
|
302418
302473
|
|
|
302419
302474
|
|
|
302420
302475
|
|
|
@@ -304286,6 +304341,8 @@ var Connector = function (_EventEmitter) {
|
|
|
304286
304341
|
_this.waitingReads = [];
|
|
304287
304342
|
_this.maxParallelReads = options.maxParallelReads || 10;
|
|
304288
304343
|
_this.readingCalls = 0;
|
|
304344
|
+
_this.maxRetries = options.maxRetries >= 0 ? options.maxRetries : 5;
|
|
304345
|
+
_this.retryTimeout = options.retryTimeout >= 1 ? options.retryTimeout : 350;
|
|
304289
304346
|
_this.state = {};
|
|
304290
304347
|
_this.queue = [];
|
|
304291
304348
|
|
|
@@ -304392,7 +304449,7 @@ var Connector = function (_EventEmitter) {
|
|
|
304392
304449
|
var _this3 = this;
|
|
304393
304450
|
|
|
304394
304451
|
var tried = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
|
|
304395
|
-
var wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] :
|
|
304452
|
+
var wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : this.retryTimeout;
|
|
304396
304453
|
var callback = arguments.length > 5 ? arguments[5] : undefined;
|
|
304397
304454
|
if (!lng.length) return callback(null, {});
|
|
304398
304455
|
|
|
@@ -304410,13 +304467,6 @@ var Connector = function (_EventEmitter) {
|
|
|
304410
304467
|
|
|
304411
304468
|
this.readingCalls++;
|
|
304412
304469
|
return this.backend[fcName](lng, ns, function (err, data) {
|
|
304413
|
-
if (err && data && tried < 5) {
|
|
304414
|
-
setTimeout(function () {
|
|
304415
|
-
_this3.read.call(_this3, lng, ns, fcName, tried + 1, wait * 2, callback);
|
|
304416
|
-
}, wait);
|
|
304417
|
-
return;
|
|
304418
|
-
}
|
|
304419
|
-
|
|
304420
304470
|
_this3.readingCalls--;
|
|
304421
304471
|
|
|
304422
304472
|
if (_this3.waitingReads.length > 0) {
|
|
@@ -304425,6 +304475,13 @@ var Connector = function (_EventEmitter) {
|
|
|
304425
304475
|
_this3.read(next.lng, next.ns, next.fcName, next.tried, next.wait, next.callback);
|
|
304426
304476
|
}
|
|
304427
304477
|
|
|
304478
|
+
if (err && data && tried < _this3.maxRetries) {
|
|
304479
|
+
setTimeout(function () {
|
|
304480
|
+
_this3.read.call(_this3, lng, ns, fcName, tried + 1, wait * 2, callback);
|
|
304481
|
+
}, wait);
|
|
304482
|
+
return;
|
|
304483
|
+
}
|
|
304484
|
+
|
|
304428
304485
|
callback(err, data);
|
|
304429
304486
|
});
|
|
304430
304487
|
}
|
|
@@ -304660,7 +304717,7 @@ var I18n = function (_EventEmitter) {
|
|
|
304660
304717
|
options = {};
|
|
304661
304718
|
}
|
|
304662
304719
|
|
|
304663
|
-
if (!options.defaultNS && options.ns) {
|
|
304720
|
+
if (!options.defaultNS && options.defaultNS !== false && options.ns) {
|
|
304664
304721
|
if (typeof options.ns === 'string') {
|
|
304665
304722
|
options.defaultNS = options.ns;
|
|
304666
304723
|
} else if (options.ns.indexOf('translation') < 0) {
|
|
@@ -305240,7 +305297,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
305240
305297
|
/***/ ((module) => {
|
|
305241
305298
|
|
|
305242
305299
|
"use strict";
|
|
305243
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.
|
|
305300
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.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","build:ci":"npm run -s build && npm run -s build:esm","build:cjs":"tsc 1>&2 --outDir lib/cjs","build:esm":"tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-eslintrc -c \\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\" \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^3.4.0-dev.22","@itwin/core-bentley":"workspace:^3.4.0-dev.22","@itwin/core-common":"workspace:^3.4.0-dev.22","@itwin/core-geometry":"workspace:^3.4.0-dev.22","@itwin/core-orbitgt":"workspace:^3.4.0-dev.22","@itwin/core-quantity":"workspace:^3.4.0-dev.22","@itwin/webgl-compatibility":"workspace:^3.4.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/certa":"workspace:*","@itwin/eslint-plugin":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/deep-assign":"^0.1.0","@types/lodash":"^4.14.0","@types/mocha":"^8.2.2","@types/node":"16.11.7","@types/qs":"^6.5.0","@types/semver":"7.3.10","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^7.11.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^9.0.2","source-map-loader":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","deep-assign":"^2.0.0","fuse.js":"^3.3.0","lodash":"^4.17.10","qs":"^6.5.1","semver":"^7.3.5","superagent":"7.1.3","wms-capabilities":"0.4.0","xml-js":"~1.6.11"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"},"eslintConfig":{"plugins":["@itwin"],"extends":"plugin:@itwin/itwinjs-recommended","rules":{"@itwin/no-internal-barrel-imports":["error",{"required-barrel-modules":["./src/tile/internal.ts"]}],"@itwin/public-extension-exports":["error",{"releaseTags":["public","preview"],"outputApiFile":false}]},"overrides":[{"files":["*.test.ts","*.test.tsx","**/test/**/*.ts"],"rules":{"@itwin/no-internal-barrel-imports":"off"}}]}}');
|
|
305244
305301
|
|
|
305245
305302
|
/***/ })
|
|
305246
305303
|
|