@itwin/rpcinterface-full-stack-tests 3.5.0-dev.31 → 3.5.0-dev.33
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/{_fc1f.bundled-tests.js → _ea7b.bundled-tests.js} +3 -3
- package/lib/dist/_ea7b.bundled-tests.js.map +1 -0
- package/lib/dist/bundled-tests.js +1051 -797
- 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/object-storage.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_itwin_object-storage-azure_1_4_0_node_modules_itwin_obj-3576c6.bundled-tests.js +35 -20
- package/lib/dist/vendors-common_temp_node_modules_pnpm_itwin_object-storage-azure_1_4_0_node_modules_itwin_obj-3576c6.bundled-tests.js.map +1 -1
- package/lib/dist/{vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_9_node_modules_loaders_gl_draco_di-01256f.bundled-tests.js → vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_11_node_modules_loaders_gl_draco_d-403021.bundled-tests.js} +110 -110
- package/lib/dist/{vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_9_node_modules_loaders_gl_draco_di-01256f.bundled-tests.js.map → vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_11_node_modules_loaders_gl_draco_d-403021.bundled-tests.js.map} +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_reflect-metadata_0_1_13_node_modules_reflect-metadata_R-610cb3.bundled-tests.js.map +1 -1
- package/package.json +14 -14
- package/lib/dist/_fc1f.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.3
|
|
24
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.4.3/node_modules/@itwin/certa/lib/utils/CallbackUtils.js":
|
|
25
25
|
/*!********************************************************************************************************************!*\
|
|
26
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.3
|
|
26
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.4.3/node_modules/@itwin/certa/lib/utils/CallbackUtils.js ***!
|
|
27
27
|
\********************************************************************************************************************/
|
|
28
28
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
29
29
|
|
|
@@ -2772,7 +2772,7 @@ exports.getAccessTokenFromBackend = exports.getTokenCallbackName = void 0;
|
|
|
2772
2772
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2773
2773
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
2774
2774
|
*--------------------------------------------------------------------------------------------*/
|
|
2775
|
-
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.3
|
|
2775
|
+
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.4.3/node_modules/@itwin/certa/lib/utils/CallbackUtils.js");
|
|
2776
2776
|
// Shared by both the frontend and backend side of the tests
|
|
2777
2777
|
exports.getTokenCallbackName = "getToken";
|
|
2778
2778
|
async function getAccessTokenFromBackend(user, oidcConfig) {
|
|
@@ -22276,9 +22276,9 @@ module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
|
22276
22276
|
|
|
22277
22277
|
/***/ }),
|
|
22278
22278
|
|
|
22279
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.
|
|
22279
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.8/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js":
|
|
22280
22280
|
/*!****************************************************************************************************************************************************************************!*\
|
|
22281
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.
|
|
22281
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.8/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js ***!
|
|
22282
22282
|
\****************************************************************************************************************************************************************************/
|
|
22283
22283
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
22284
22284
|
|
|
@@ -22287,8 +22287,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
22287
22287
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22288
22288
|
/* harmony export */ "default": () => (/* binding */ Browser)
|
|
22289
22289
|
/* harmony export */ });
|
|
22290
|
-
/* 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.
|
|
22291
|
-
/* 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.
|
|
22290
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
22291
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
22292
22292
|
|
|
22293
22293
|
|
|
22294
22294
|
|
|
@@ -48450,9 +48450,9 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
48450
48450
|
|
|
48451
48451
|
/***/ }),
|
|
48452
48452
|
|
|
48453
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48453
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js":
|
|
48454
48454
|
/*!***************************************************************************************************!*\
|
|
48455
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48455
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js ***!
|
|
48456
48456
|
\***************************************************************************************************/
|
|
48457
48457
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
48458
48458
|
|
|
@@ -48586,19 +48586,19 @@ class Comparator {
|
|
|
48586
48586
|
|
|
48587
48587
|
module.exports = Comparator
|
|
48588
48588
|
|
|
48589
|
-
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48590
|
-
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48591
|
-
const cmp = __webpack_require__(/*! ../functions/cmp */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48592
|
-
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48593
|
-
const SemVer = __webpack_require__(/*! ./semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48594
|
-
const Range = __webpack_require__(/*! ./range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48589
|
+
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js")
|
|
48590
|
+
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
48591
|
+
const cmp = __webpack_require__(/*! ../functions/cmp */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/cmp.js")
|
|
48592
|
+
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js")
|
|
48593
|
+
const SemVer = __webpack_require__(/*! ./semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
48594
|
+
const Range = __webpack_require__(/*! ./range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
48595
48595
|
|
|
48596
48596
|
|
|
48597
48597
|
/***/ }),
|
|
48598
48598
|
|
|
48599
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48599
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js":
|
|
48600
48600
|
/*!**********************************************************************************************!*\
|
|
48601
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48601
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js ***!
|
|
48602
48602
|
\**********************************************************************************************/
|
|
48603
48603
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
48604
48604
|
|
|
@@ -48799,17 +48799,17 @@ module.exports = Range
|
|
|
48799
48799
|
const LRU = __webpack_require__(/*! lru-cache */ "../../common/temp/node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js")
|
|
48800
48800
|
const cache = new LRU({ max: 1000 })
|
|
48801
48801
|
|
|
48802
|
-
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48803
|
-
const Comparator = __webpack_require__(/*! ./comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48804
|
-
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48805
|
-
const SemVer = __webpack_require__(/*! ./semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48802
|
+
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js")
|
|
48803
|
+
const Comparator = __webpack_require__(/*! ./comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js")
|
|
48804
|
+
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js")
|
|
48805
|
+
const SemVer = __webpack_require__(/*! ./semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
48806
48806
|
const {
|
|
48807
48807
|
re,
|
|
48808
48808
|
t,
|
|
48809
48809
|
comparatorTrimReplace,
|
|
48810
48810
|
tildeTrimReplace,
|
|
48811
48811
|
caretTrimReplace,
|
|
48812
|
-
} = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48812
|
+
} = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
48813
48813
|
|
|
48814
48814
|
const isNullSet = c => c.value === '<0.0.0-0'
|
|
48815
48815
|
const isAny = c => c.value === ''
|
|
@@ -48856,6 +48856,7 @@ const isX = id => !id || id.toLowerCase() === 'x' || id === '*'
|
|
|
48856
48856
|
// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0
|
|
48857
48857
|
// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0
|
|
48858
48858
|
// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0
|
|
48859
|
+
// ~0.0.1 --> >=0.0.1 <0.1.0-0
|
|
48859
48860
|
const replaceTildes = (comp, options) =>
|
|
48860
48861
|
comp.trim().split(/\s+/).map((c) => {
|
|
48861
48862
|
return replaceTilde(c, options)
|
|
@@ -48895,6 +48896,8 @@ const replaceTilde = (comp, options) => {
|
|
|
48895
48896
|
// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0
|
|
48896
48897
|
// ^1.2.3 --> >=1.2.3 <2.0.0-0
|
|
48897
48898
|
// ^1.2.0 --> >=1.2.0 <2.0.0-0
|
|
48899
|
+
// ^0.0.1 --> >=0.0.1 <0.0.2-0
|
|
48900
|
+
// ^0.1.0 --> >=0.1.0 <0.2.0-0
|
|
48898
48901
|
const replaceCarets = (comp, options) =>
|
|
48899
48902
|
comp.trim().split(/\s+/).map((c) => {
|
|
48900
48903
|
return replaceCaret(c, options)
|
|
@@ -49125,18 +49128,18 @@ const testSet = (set, version, options) => {
|
|
|
49125
49128
|
|
|
49126
49129
|
/***/ }),
|
|
49127
49130
|
|
|
49128
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49131
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js":
|
|
49129
49132
|
/*!***********************************************************************************************!*\
|
|
49130
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49133
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js ***!
|
|
49131
49134
|
\***********************************************************************************************/
|
|
49132
49135
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49133
49136
|
|
|
49134
|
-
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49135
|
-
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__(/*! ../internal/constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49136
|
-
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49137
|
+
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js")
|
|
49138
|
+
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__(/*! ../internal/constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js")
|
|
49139
|
+
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
49137
49140
|
|
|
49138
|
-
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49139
|
-
const { compareIdentifiers } = __webpack_require__(/*! ../internal/identifiers */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49141
|
+
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js")
|
|
49142
|
+
const { compareIdentifiers } = __webpack_require__(/*! ../internal/identifiers */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/identifiers.js")
|
|
49140
49143
|
class SemVer {
|
|
49141
49144
|
constructor (version, options) {
|
|
49142
49145
|
options = parseOptions(options)
|
|
@@ -49422,13 +49425,13 @@ module.exports = SemVer
|
|
|
49422
49425
|
|
|
49423
49426
|
/***/ }),
|
|
49424
49427
|
|
|
49425
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49428
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/clean.js":
|
|
49426
49429
|
/*!************************************************************************************************!*\
|
|
49427
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49430
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/clean.js ***!
|
|
49428
49431
|
\************************************************************************************************/
|
|
49429
49432
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49430
49433
|
|
|
49431
|
-
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49434
|
+
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49432
49435
|
const clean = (version, options) => {
|
|
49433
49436
|
const s = parse(version.trim().replace(/^[=v]+/, ''), options)
|
|
49434
49437
|
return s ? s.version : null
|
|
@@ -49438,18 +49441,18 @@ module.exports = clean
|
|
|
49438
49441
|
|
|
49439
49442
|
/***/ }),
|
|
49440
49443
|
|
|
49441
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49444
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/cmp.js":
|
|
49442
49445
|
/*!**********************************************************************************************!*\
|
|
49443
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49446
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/cmp.js ***!
|
|
49444
49447
|
\**********************************************************************************************/
|
|
49445
49448
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49446
49449
|
|
|
49447
|
-
const eq = __webpack_require__(/*! ./eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49448
|
-
const neq = __webpack_require__(/*! ./neq */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49449
|
-
const gt = __webpack_require__(/*! ./gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49450
|
-
const gte = __webpack_require__(/*! ./gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49451
|
-
const lt = __webpack_require__(/*! ./lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49452
|
-
const lte = __webpack_require__(/*! ./lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49450
|
+
const eq = __webpack_require__(/*! ./eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/eq.js")
|
|
49451
|
+
const neq = __webpack_require__(/*! ./neq */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/neq.js")
|
|
49452
|
+
const gt = __webpack_require__(/*! ./gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js")
|
|
49453
|
+
const gte = __webpack_require__(/*! ./gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gte.js")
|
|
49454
|
+
const lt = __webpack_require__(/*! ./lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js")
|
|
49455
|
+
const lte = __webpack_require__(/*! ./lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lte.js")
|
|
49453
49456
|
|
|
49454
49457
|
const cmp = (a, op, b, loose) => {
|
|
49455
49458
|
switch (op) {
|
|
@@ -49500,15 +49503,15 @@ module.exports = cmp
|
|
|
49500
49503
|
|
|
49501
49504
|
/***/ }),
|
|
49502
49505
|
|
|
49503
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49506
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/coerce.js":
|
|
49504
49507
|
/*!*************************************************************************************************!*\
|
|
49505
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49508
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/coerce.js ***!
|
|
49506
49509
|
\*************************************************************************************************/
|
|
49507
49510
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49508
49511
|
|
|
49509
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49510
|
-
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49511
|
-
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49512
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49513
|
+
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49514
|
+
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
49512
49515
|
|
|
49513
49516
|
const coerce = (version, options) => {
|
|
49514
49517
|
if (version instanceof SemVer) {
|
|
@@ -49562,13 +49565,13 @@ module.exports = coerce
|
|
|
49562
49565
|
|
|
49563
49566
|
/***/ }),
|
|
49564
49567
|
|
|
49565
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49568
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-build.js":
|
|
49566
49569
|
/*!********************************************************************************************************!*\
|
|
49567
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49570
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-build.js ***!
|
|
49568
49571
|
\********************************************************************************************************/
|
|
49569
49572
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49570
49573
|
|
|
49571
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49574
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49572
49575
|
const compareBuild = (a, b, loose) => {
|
|
49573
49576
|
const versionA = new SemVer(a, loose)
|
|
49574
49577
|
const versionB = new SemVer(b, loose)
|
|
@@ -49579,26 +49582,26 @@ module.exports = compareBuild
|
|
|
49579
49582
|
|
|
49580
49583
|
/***/ }),
|
|
49581
49584
|
|
|
49582
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49585
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-loose.js":
|
|
49583
49586
|
/*!********************************************************************************************************!*\
|
|
49584
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49587
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-loose.js ***!
|
|
49585
49588
|
\********************************************************************************************************/
|
|
49586
49589
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49587
49590
|
|
|
49588
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49591
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49589
49592
|
const compareLoose = (a, b) => compare(a, b, true)
|
|
49590
49593
|
module.exports = compareLoose
|
|
49591
49594
|
|
|
49592
49595
|
|
|
49593
49596
|
/***/ }),
|
|
49594
49597
|
|
|
49595
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49598
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js":
|
|
49596
49599
|
/*!**************************************************************************************************!*\
|
|
49597
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49600
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js ***!
|
|
49598
49601
|
\**************************************************************************************************/
|
|
49599
49602
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49600
49603
|
|
|
49601
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49604
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49602
49605
|
const compare = (a, b, loose) =>
|
|
49603
49606
|
new SemVer(a, loose).compare(new SemVer(b, loose))
|
|
49604
49607
|
|
|
@@ -49607,14 +49610,14 @@ module.exports = compare
|
|
|
49607
49610
|
|
|
49608
49611
|
/***/ }),
|
|
49609
49612
|
|
|
49610
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49613
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/diff.js":
|
|
49611
49614
|
/*!***********************************************************************************************!*\
|
|
49612
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49615
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/diff.js ***!
|
|
49613
49616
|
\***********************************************************************************************/
|
|
49614
49617
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49615
49618
|
|
|
49616
|
-
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49617
|
-
const eq = __webpack_require__(/*! ./eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49619
|
+
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49620
|
+
const eq = __webpack_require__(/*! ./eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/eq.js")
|
|
49618
49621
|
|
|
49619
49622
|
const diff = (version1, version2) => {
|
|
49620
49623
|
if (eq(version1, version2)) {
|
|
@@ -49640,52 +49643,52 @@ module.exports = diff
|
|
|
49640
49643
|
|
|
49641
49644
|
/***/ }),
|
|
49642
49645
|
|
|
49643
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49646
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/eq.js":
|
|
49644
49647
|
/*!*********************************************************************************************!*\
|
|
49645
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49648
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/eq.js ***!
|
|
49646
49649
|
\*********************************************************************************************/
|
|
49647
49650
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49648
49651
|
|
|
49649
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49652
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49650
49653
|
const eq = (a, b, loose) => compare(a, b, loose) === 0
|
|
49651
49654
|
module.exports = eq
|
|
49652
49655
|
|
|
49653
49656
|
|
|
49654
49657
|
/***/ }),
|
|
49655
49658
|
|
|
49656
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49659
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js":
|
|
49657
49660
|
/*!*********************************************************************************************!*\
|
|
49658
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49661
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js ***!
|
|
49659
49662
|
\*********************************************************************************************/
|
|
49660
49663
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49661
49664
|
|
|
49662
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49665
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49663
49666
|
const gt = (a, b, loose) => compare(a, b, loose) > 0
|
|
49664
49667
|
module.exports = gt
|
|
49665
49668
|
|
|
49666
49669
|
|
|
49667
49670
|
/***/ }),
|
|
49668
49671
|
|
|
49669
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49672
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gte.js":
|
|
49670
49673
|
/*!**********************************************************************************************!*\
|
|
49671
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49674
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gte.js ***!
|
|
49672
49675
|
\**********************************************************************************************/
|
|
49673
49676
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49674
49677
|
|
|
49675
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49678
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49676
49679
|
const gte = (a, b, loose) => compare(a, b, loose) >= 0
|
|
49677
49680
|
module.exports = gte
|
|
49678
49681
|
|
|
49679
49682
|
|
|
49680
49683
|
/***/ }),
|
|
49681
49684
|
|
|
49682
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49685
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/inc.js":
|
|
49683
49686
|
/*!**********************************************************************************************!*\
|
|
49684
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49687
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/inc.js ***!
|
|
49685
49688
|
\**********************************************************************************************/
|
|
49686
49689
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49687
49690
|
|
|
49688
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49691
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49689
49692
|
|
|
49690
49693
|
const inc = (version, release, options, identifier) => {
|
|
49691
49694
|
if (typeof (options) === 'string') {
|
|
@@ -49707,82 +49710,82 @@ module.exports = inc
|
|
|
49707
49710
|
|
|
49708
49711
|
/***/ }),
|
|
49709
49712
|
|
|
49710
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49713
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js":
|
|
49711
49714
|
/*!*********************************************************************************************!*\
|
|
49712
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49715
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js ***!
|
|
49713
49716
|
\*********************************************************************************************/
|
|
49714
49717
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49715
49718
|
|
|
49716
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49719
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49717
49720
|
const lt = (a, b, loose) => compare(a, b, loose) < 0
|
|
49718
49721
|
module.exports = lt
|
|
49719
49722
|
|
|
49720
49723
|
|
|
49721
49724
|
/***/ }),
|
|
49722
49725
|
|
|
49723
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49726
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lte.js":
|
|
49724
49727
|
/*!**********************************************************************************************!*\
|
|
49725
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49728
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lte.js ***!
|
|
49726
49729
|
\**********************************************************************************************/
|
|
49727
49730
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49728
49731
|
|
|
49729
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49732
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49730
49733
|
const lte = (a, b, loose) => compare(a, b, loose) <= 0
|
|
49731
49734
|
module.exports = lte
|
|
49732
49735
|
|
|
49733
49736
|
|
|
49734
49737
|
/***/ }),
|
|
49735
49738
|
|
|
49736
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49739
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/major.js":
|
|
49737
49740
|
/*!************************************************************************************************!*\
|
|
49738
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49741
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/major.js ***!
|
|
49739
49742
|
\************************************************************************************************/
|
|
49740
49743
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49741
49744
|
|
|
49742
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49745
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49743
49746
|
const major = (a, loose) => new SemVer(a, loose).major
|
|
49744
49747
|
module.exports = major
|
|
49745
49748
|
|
|
49746
49749
|
|
|
49747
49750
|
/***/ }),
|
|
49748
49751
|
|
|
49749
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49752
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/minor.js":
|
|
49750
49753
|
/*!************************************************************************************************!*\
|
|
49751
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49754
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/minor.js ***!
|
|
49752
49755
|
\************************************************************************************************/
|
|
49753
49756
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49754
49757
|
|
|
49755
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49758
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49756
49759
|
const minor = (a, loose) => new SemVer(a, loose).minor
|
|
49757
49760
|
module.exports = minor
|
|
49758
49761
|
|
|
49759
49762
|
|
|
49760
49763
|
/***/ }),
|
|
49761
49764
|
|
|
49762
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49765
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/neq.js":
|
|
49763
49766
|
/*!**********************************************************************************************!*\
|
|
49764
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49767
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/neq.js ***!
|
|
49765
49768
|
\**********************************************************************************************/
|
|
49766
49769
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49767
49770
|
|
|
49768
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49771
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49769
49772
|
const neq = (a, b, loose) => compare(a, b, loose) !== 0
|
|
49770
49773
|
module.exports = neq
|
|
49771
49774
|
|
|
49772
49775
|
|
|
49773
49776
|
/***/ }),
|
|
49774
49777
|
|
|
49775
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49778
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js":
|
|
49776
49779
|
/*!************************************************************************************************!*\
|
|
49777
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49780
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js ***!
|
|
49778
49781
|
\************************************************************************************************/
|
|
49779
49782
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49780
49783
|
|
|
49781
|
-
const { MAX_LENGTH } = __webpack_require__(/*! ../internal/constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49782
|
-
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49783
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49784
|
+
const { MAX_LENGTH } = __webpack_require__(/*! ../internal/constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js")
|
|
49785
|
+
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
49786
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49784
49787
|
|
|
49785
|
-
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49788
|
+
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js")
|
|
49786
49789
|
const parse = (version, options) => {
|
|
49787
49790
|
options = parseOptions(options)
|
|
49788
49791
|
|
|
@@ -49815,26 +49818,26 @@ module.exports = parse
|
|
|
49815
49818
|
|
|
49816
49819
|
/***/ }),
|
|
49817
49820
|
|
|
49818
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49821
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/patch.js":
|
|
49819
49822
|
/*!************************************************************************************************!*\
|
|
49820
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49823
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/patch.js ***!
|
|
49821
49824
|
\************************************************************************************************/
|
|
49822
49825
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49823
49826
|
|
|
49824
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49827
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49825
49828
|
const patch = (a, loose) => new SemVer(a, loose).patch
|
|
49826
49829
|
module.exports = patch
|
|
49827
49830
|
|
|
49828
49831
|
|
|
49829
49832
|
/***/ }),
|
|
49830
49833
|
|
|
49831
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49834
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/prerelease.js":
|
|
49832
49835
|
/*!*****************************************************************************************************!*\
|
|
49833
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49836
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/prerelease.js ***!
|
|
49834
49837
|
\*****************************************************************************************************/
|
|
49835
49838
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49836
49839
|
|
|
49837
|
-
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49840
|
+
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49838
49841
|
const prerelease = (version, options) => {
|
|
49839
49842
|
const parsed = parse(version, options)
|
|
49840
49843
|
return (parsed && parsed.prerelease.length) ? parsed.prerelease : null
|
|
@@ -49844,39 +49847,39 @@ module.exports = prerelease
|
|
|
49844
49847
|
|
|
49845
49848
|
/***/ }),
|
|
49846
49849
|
|
|
49847
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49850
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rcompare.js":
|
|
49848
49851
|
/*!***************************************************************************************************!*\
|
|
49849
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49852
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rcompare.js ***!
|
|
49850
49853
|
\***************************************************************************************************/
|
|
49851
49854
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49852
49855
|
|
|
49853
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49856
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49854
49857
|
const rcompare = (a, b, loose) => compare(b, a, loose)
|
|
49855
49858
|
module.exports = rcompare
|
|
49856
49859
|
|
|
49857
49860
|
|
|
49858
49861
|
/***/ }),
|
|
49859
49862
|
|
|
49860
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49863
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rsort.js":
|
|
49861
49864
|
/*!************************************************************************************************!*\
|
|
49862
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49865
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rsort.js ***!
|
|
49863
49866
|
\************************************************************************************************/
|
|
49864
49867
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49865
49868
|
|
|
49866
|
-
const compareBuild = __webpack_require__(/*! ./compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49869
|
+
const compareBuild = __webpack_require__(/*! ./compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-build.js")
|
|
49867
49870
|
const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))
|
|
49868
49871
|
module.exports = rsort
|
|
49869
49872
|
|
|
49870
49873
|
|
|
49871
49874
|
/***/ }),
|
|
49872
49875
|
|
|
49873
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49876
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js":
|
|
49874
49877
|
/*!****************************************************************************************************!*\
|
|
49875
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49878
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js ***!
|
|
49876
49879
|
\****************************************************************************************************/
|
|
49877
49880
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49878
49881
|
|
|
49879
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49882
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
49880
49883
|
const satisfies = (version, range, options) => {
|
|
49881
49884
|
try {
|
|
49882
49885
|
range = new Range(range, options)
|
|
@@ -49890,26 +49893,26 @@ module.exports = satisfies
|
|
|
49890
49893
|
|
|
49891
49894
|
/***/ }),
|
|
49892
49895
|
|
|
49893
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49896
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/sort.js":
|
|
49894
49897
|
/*!***********************************************************************************************!*\
|
|
49895
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49898
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/sort.js ***!
|
|
49896
49899
|
\***********************************************************************************************/
|
|
49897
49900
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49898
49901
|
|
|
49899
|
-
const compareBuild = __webpack_require__(/*! ./compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49902
|
+
const compareBuild = __webpack_require__(/*! ./compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-build.js")
|
|
49900
49903
|
const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))
|
|
49901
49904
|
module.exports = sort
|
|
49902
49905
|
|
|
49903
49906
|
|
|
49904
49907
|
/***/ }),
|
|
49905
49908
|
|
|
49906
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49909
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/valid.js":
|
|
49907
49910
|
/*!************************************************************************************************!*\
|
|
49908
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49911
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/valid.js ***!
|
|
49909
49912
|
\************************************************************************************************/
|
|
49910
49913
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49911
49914
|
|
|
49912
|
-
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49915
|
+
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49913
49916
|
const valid = (version, options) => {
|
|
49914
49917
|
const v = parse(version, options)
|
|
49915
49918
|
return v ? v.version : null
|
|
@@ -49919,67 +49922,107 @@ module.exports = valid
|
|
|
49919
49922
|
|
|
49920
49923
|
/***/ }),
|
|
49921
49924
|
|
|
49922
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49925
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/index.js":
|
|
49923
49926
|
/*!**************************************************************************************!*\
|
|
49924
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49927
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/index.js ***!
|
|
49925
49928
|
\**************************************************************************************/
|
|
49926
49929
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49927
49930
|
|
|
49928
49931
|
// just pre-load all the stuff that index.js lazily exports
|
|
49929
|
-
const internalRe = __webpack_require__(/*! ./internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49932
|
+
const internalRe = __webpack_require__(/*! ./internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
49933
|
+
const constants = __webpack_require__(/*! ./internal/constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js")
|
|
49934
|
+
const SemVer = __webpack_require__(/*! ./classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49935
|
+
const identifiers = __webpack_require__(/*! ./internal/identifiers */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/identifiers.js")
|
|
49936
|
+
const parse = __webpack_require__(/*! ./functions/parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49937
|
+
const valid = __webpack_require__(/*! ./functions/valid */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/valid.js")
|
|
49938
|
+
const clean = __webpack_require__(/*! ./functions/clean */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/clean.js")
|
|
49939
|
+
const inc = __webpack_require__(/*! ./functions/inc */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/inc.js")
|
|
49940
|
+
const diff = __webpack_require__(/*! ./functions/diff */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/diff.js")
|
|
49941
|
+
const major = __webpack_require__(/*! ./functions/major */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/major.js")
|
|
49942
|
+
const minor = __webpack_require__(/*! ./functions/minor */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/minor.js")
|
|
49943
|
+
const patch = __webpack_require__(/*! ./functions/patch */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/patch.js")
|
|
49944
|
+
const prerelease = __webpack_require__(/*! ./functions/prerelease */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/prerelease.js")
|
|
49945
|
+
const compare = __webpack_require__(/*! ./functions/compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49946
|
+
const rcompare = __webpack_require__(/*! ./functions/rcompare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rcompare.js")
|
|
49947
|
+
const compareLoose = __webpack_require__(/*! ./functions/compare-loose */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-loose.js")
|
|
49948
|
+
const compareBuild = __webpack_require__(/*! ./functions/compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-build.js")
|
|
49949
|
+
const sort = __webpack_require__(/*! ./functions/sort */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/sort.js")
|
|
49950
|
+
const rsort = __webpack_require__(/*! ./functions/rsort */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rsort.js")
|
|
49951
|
+
const gt = __webpack_require__(/*! ./functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js")
|
|
49952
|
+
const lt = __webpack_require__(/*! ./functions/lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js")
|
|
49953
|
+
const eq = __webpack_require__(/*! ./functions/eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/eq.js")
|
|
49954
|
+
const neq = __webpack_require__(/*! ./functions/neq */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/neq.js")
|
|
49955
|
+
const gte = __webpack_require__(/*! ./functions/gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gte.js")
|
|
49956
|
+
const lte = __webpack_require__(/*! ./functions/lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lte.js")
|
|
49957
|
+
const cmp = __webpack_require__(/*! ./functions/cmp */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/cmp.js")
|
|
49958
|
+
const coerce = __webpack_require__(/*! ./functions/coerce */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/coerce.js")
|
|
49959
|
+
const Comparator = __webpack_require__(/*! ./classes/comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js")
|
|
49960
|
+
const Range = __webpack_require__(/*! ./classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
49961
|
+
const satisfies = __webpack_require__(/*! ./functions/satisfies */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js")
|
|
49962
|
+
const toComparators = __webpack_require__(/*! ./ranges/to-comparators */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/to-comparators.js")
|
|
49963
|
+
const maxSatisfying = __webpack_require__(/*! ./ranges/max-satisfying */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/max-satisfying.js")
|
|
49964
|
+
const minSatisfying = __webpack_require__(/*! ./ranges/min-satisfying */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-satisfying.js")
|
|
49965
|
+
const minVersion = __webpack_require__(/*! ./ranges/min-version */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-version.js")
|
|
49966
|
+
const validRange = __webpack_require__(/*! ./ranges/valid */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/valid.js")
|
|
49967
|
+
const outside = __webpack_require__(/*! ./ranges/outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/outside.js")
|
|
49968
|
+
const gtr = __webpack_require__(/*! ./ranges/gtr */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/gtr.js")
|
|
49969
|
+
const ltr = __webpack_require__(/*! ./ranges/ltr */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/ltr.js")
|
|
49970
|
+
const intersects = __webpack_require__(/*! ./ranges/intersects */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/intersects.js")
|
|
49971
|
+
const simplifyRange = __webpack_require__(/*! ./ranges/simplify */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/simplify.js")
|
|
49972
|
+
const subset = __webpack_require__(/*! ./ranges/subset */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/subset.js")
|
|
49930
49973
|
module.exports = {
|
|
49974
|
+
parse,
|
|
49975
|
+
valid,
|
|
49976
|
+
clean,
|
|
49977
|
+
inc,
|
|
49978
|
+
diff,
|
|
49979
|
+
major,
|
|
49980
|
+
minor,
|
|
49981
|
+
patch,
|
|
49982
|
+
prerelease,
|
|
49983
|
+
compare,
|
|
49984
|
+
rcompare,
|
|
49985
|
+
compareLoose,
|
|
49986
|
+
compareBuild,
|
|
49987
|
+
sort,
|
|
49988
|
+
rsort,
|
|
49989
|
+
gt,
|
|
49990
|
+
lt,
|
|
49991
|
+
eq,
|
|
49992
|
+
neq,
|
|
49993
|
+
gte,
|
|
49994
|
+
lte,
|
|
49995
|
+
cmp,
|
|
49996
|
+
coerce,
|
|
49997
|
+
Comparator,
|
|
49998
|
+
Range,
|
|
49999
|
+
satisfies,
|
|
50000
|
+
toComparators,
|
|
50001
|
+
maxSatisfying,
|
|
50002
|
+
minSatisfying,
|
|
50003
|
+
minVersion,
|
|
50004
|
+
validRange,
|
|
50005
|
+
outside,
|
|
50006
|
+
gtr,
|
|
50007
|
+
ltr,
|
|
50008
|
+
intersects,
|
|
50009
|
+
simplifyRange,
|
|
50010
|
+
subset,
|
|
50011
|
+
SemVer,
|
|
49931
50012
|
re: internalRe.re,
|
|
49932
50013
|
src: internalRe.src,
|
|
49933
50014
|
tokens: internalRe.t,
|
|
49934
|
-
SEMVER_SPEC_VERSION:
|
|
49935
|
-
|
|
49936
|
-
|
|
49937
|
-
rcompareIdentifiers: (__webpack_require__(/*! ./internal/identifiers */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/identifiers.js").rcompareIdentifiers),
|
|
49938
|
-
parse: __webpack_require__(/*! ./functions/parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/parse.js"),
|
|
49939
|
-
valid: __webpack_require__(/*! ./functions/valid */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/valid.js"),
|
|
49940
|
-
clean: __webpack_require__(/*! ./functions/clean */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/clean.js"),
|
|
49941
|
-
inc: __webpack_require__(/*! ./functions/inc */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/inc.js"),
|
|
49942
|
-
diff: __webpack_require__(/*! ./functions/diff */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/diff.js"),
|
|
49943
|
-
major: __webpack_require__(/*! ./functions/major */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/major.js"),
|
|
49944
|
-
minor: __webpack_require__(/*! ./functions/minor */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/minor.js"),
|
|
49945
|
-
patch: __webpack_require__(/*! ./functions/patch */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/patch.js"),
|
|
49946
|
-
prerelease: __webpack_require__(/*! ./functions/prerelease */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/prerelease.js"),
|
|
49947
|
-
compare: __webpack_require__(/*! ./functions/compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare.js"),
|
|
49948
|
-
rcompare: __webpack_require__(/*! ./functions/rcompare */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rcompare.js"),
|
|
49949
|
-
compareLoose: __webpack_require__(/*! ./functions/compare-loose */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-loose.js"),
|
|
49950
|
-
compareBuild: __webpack_require__(/*! ./functions/compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-build.js"),
|
|
49951
|
-
sort: __webpack_require__(/*! ./functions/sort */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/sort.js"),
|
|
49952
|
-
rsort: __webpack_require__(/*! ./functions/rsort */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rsort.js"),
|
|
49953
|
-
gt: __webpack_require__(/*! ./functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gt.js"),
|
|
49954
|
-
lt: __webpack_require__(/*! ./functions/lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lt.js"),
|
|
49955
|
-
eq: __webpack_require__(/*! ./functions/eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/eq.js"),
|
|
49956
|
-
neq: __webpack_require__(/*! ./functions/neq */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/neq.js"),
|
|
49957
|
-
gte: __webpack_require__(/*! ./functions/gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gte.js"),
|
|
49958
|
-
lte: __webpack_require__(/*! ./functions/lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lte.js"),
|
|
49959
|
-
cmp: __webpack_require__(/*! ./functions/cmp */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/cmp.js"),
|
|
49960
|
-
coerce: __webpack_require__(/*! ./functions/coerce */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/coerce.js"),
|
|
49961
|
-
Comparator: __webpack_require__(/*! ./classes/comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/comparator.js"),
|
|
49962
|
-
Range: __webpack_require__(/*! ./classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/range.js"),
|
|
49963
|
-
satisfies: __webpack_require__(/*! ./functions/satisfies */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/satisfies.js"),
|
|
49964
|
-
toComparators: __webpack_require__(/*! ./ranges/to-comparators */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/to-comparators.js"),
|
|
49965
|
-
maxSatisfying: __webpack_require__(/*! ./ranges/max-satisfying */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/max-satisfying.js"),
|
|
49966
|
-
minSatisfying: __webpack_require__(/*! ./ranges/min-satisfying */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-satisfying.js"),
|
|
49967
|
-
minVersion: __webpack_require__(/*! ./ranges/min-version */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-version.js"),
|
|
49968
|
-
validRange: __webpack_require__(/*! ./ranges/valid */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/valid.js"),
|
|
49969
|
-
outside: __webpack_require__(/*! ./ranges/outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/outside.js"),
|
|
49970
|
-
gtr: __webpack_require__(/*! ./ranges/gtr */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/gtr.js"),
|
|
49971
|
-
ltr: __webpack_require__(/*! ./ranges/ltr */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/ltr.js"),
|
|
49972
|
-
intersects: __webpack_require__(/*! ./ranges/intersects */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/intersects.js"),
|
|
49973
|
-
simplifyRange: __webpack_require__(/*! ./ranges/simplify */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/simplify.js"),
|
|
49974
|
-
subset: __webpack_require__(/*! ./ranges/subset */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/subset.js"),
|
|
50015
|
+
SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
|
|
50016
|
+
compareIdentifiers: identifiers.compareIdentifiers,
|
|
50017
|
+
rcompareIdentifiers: identifiers.rcompareIdentifiers,
|
|
49975
50018
|
}
|
|
49976
50019
|
|
|
49977
50020
|
|
|
49978
50021
|
/***/ }),
|
|
49979
50022
|
|
|
49980
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50023
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js":
|
|
49981
50024
|
/*!***************************************************************************************************!*\
|
|
49982
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50025
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js ***!
|
|
49983
50026
|
\***************************************************************************************************/
|
|
49984
50027
|
/***/ ((module) => {
|
|
49985
50028
|
|
|
@@ -50004,9 +50047,9 @@ module.exports = {
|
|
|
50004
50047
|
|
|
50005
50048
|
/***/ }),
|
|
50006
50049
|
|
|
50007
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50050
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js":
|
|
50008
50051
|
/*!***********************************************************************************************!*\
|
|
50009
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50052
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js ***!
|
|
50010
50053
|
\***********************************************************************************************/
|
|
50011
50054
|
/***/ ((module) => {
|
|
50012
50055
|
|
|
@@ -50023,9 +50066,9 @@ module.exports = debug
|
|
|
50023
50066
|
|
|
50024
50067
|
/***/ }),
|
|
50025
50068
|
|
|
50026
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50069
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/identifiers.js":
|
|
50027
50070
|
/*!*****************************************************************************************************!*\
|
|
50028
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50071
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/identifiers.js ***!
|
|
50029
50072
|
\*****************************************************************************************************/
|
|
50030
50073
|
/***/ ((module) => {
|
|
50031
50074
|
|
|
@@ -50056,9 +50099,9 @@ module.exports = {
|
|
|
50056
50099
|
|
|
50057
50100
|
/***/ }),
|
|
50058
50101
|
|
|
50059
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50102
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js":
|
|
50060
50103
|
/*!*******************************************************************************************************!*\
|
|
50061
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50104
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js ***!
|
|
50062
50105
|
\*******************************************************************************************************/
|
|
50063
50106
|
/***/ ((module) => {
|
|
50064
50107
|
|
|
@@ -50077,14 +50120,14 @@ module.exports = parseOptions
|
|
|
50077
50120
|
|
|
50078
50121
|
/***/ }),
|
|
50079
50122
|
|
|
50080
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50123
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js":
|
|
50081
50124
|
/*!********************************************************************************************!*\
|
|
50082
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50125
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js ***!
|
|
50083
50126
|
\********************************************************************************************/
|
|
50084
50127
|
/***/ ((module, exports, __webpack_require__) => {
|
|
50085
50128
|
|
|
50086
|
-
const { MAX_SAFE_COMPONENT_LENGTH } = __webpack_require__(/*! ./constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50087
|
-
const debug = __webpack_require__(/*! ./debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50129
|
+
const { MAX_SAFE_COMPONENT_LENGTH } = __webpack_require__(/*! ./constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js")
|
|
50130
|
+
const debug = __webpack_require__(/*! ./debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js")
|
|
50088
50131
|
exports = module.exports = {}
|
|
50089
50132
|
|
|
50090
50133
|
// The actual regexps go on exports.re
|
|
@@ -50269,27 +50312,27 @@ createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$')
|
|
|
50269
50312
|
|
|
50270
50313
|
/***/ }),
|
|
50271
50314
|
|
|
50272
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50315
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/gtr.js":
|
|
50273
50316
|
/*!*******************************************************************************************!*\
|
|
50274
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50317
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/gtr.js ***!
|
|
50275
50318
|
\*******************************************************************************************/
|
|
50276
50319
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50277
50320
|
|
|
50278
50321
|
// Determine if version is greater than all the versions possible in the range.
|
|
50279
|
-
const outside = __webpack_require__(/*! ./outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50322
|
+
const outside = __webpack_require__(/*! ./outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/outside.js")
|
|
50280
50323
|
const gtr = (version, range, options) => outside(version, range, '>', options)
|
|
50281
50324
|
module.exports = gtr
|
|
50282
50325
|
|
|
50283
50326
|
|
|
50284
50327
|
/***/ }),
|
|
50285
50328
|
|
|
50286
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50329
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/intersects.js":
|
|
50287
50330
|
/*!**************************************************************************************************!*\
|
|
50288
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50331
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/intersects.js ***!
|
|
50289
50332
|
\**************************************************************************************************/
|
|
50290
50333
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50291
50334
|
|
|
50292
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50335
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50293
50336
|
const intersects = (r1, r2, options) => {
|
|
50294
50337
|
r1 = new Range(r1, options)
|
|
50295
50338
|
r2 = new Range(r2, options)
|
|
@@ -50300,13 +50343,13 @@ module.exports = intersects
|
|
|
50300
50343
|
|
|
50301
50344
|
/***/ }),
|
|
50302
50345
|
|
|
50303
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50346
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/ltr.js":
|
|
50304
50347
|
/*!*******************************************************************************************!*\
|
|
50305
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50348
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/ltr.js ***!
|
|
50306
50349
|
\*******************************************************************************************/
|
|
50307
50350
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50308
50351
|
|
|
50309
|
-
const outside = __webpack_require__(/*! ./outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50352
|
+
const outside = __webpack_require__(/*! ./outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/outside.js")
|
|
50310
50353
|
// Determine if version is less than all the versions possible in the range
|
|
50311
50354
|
const ltr = (version, range, options) => outside(version, range, '<', options)
|
|
50312
50355
|
module.exports = ltr
|
|
@@ -50314,14 +50357,14 @@ module.exports = ltr
|
|
|
50314
50357
|
|
|
50315
50358
|
/***/ }),
|
|
50316
50359
|
|
|
50317
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50360
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/max-satisfying.js":
|
|
50318
50361
|
/*!******************************************************************************************************!*\
|
|
50319
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50362
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/max-satisfying.js ***!
|
|
50320
50363
|
\******************************************************************************************************/
|
|
50321
50364
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50322
50365
|
|
|
50323
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50324
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50366
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
50367
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50325
50368
|
|
|
50326
50369
|
const maxSatisfying = (versions, range, options) => {
|
|
50327
50370
|
let max = null
|
|
@@ -50349,14 +50392,14 @@ module.exports = maxSatisfying
|
|
|
50349
50392
|
|
|
50350
50393
|
/***/ }),
|
|
50351
50394
|
|
|
50352
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50395
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-satisfying.js":
|
|
50353
50396
|
/*!******************************************************************************************************!*\
|
|
50354
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50397
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-satisfying.js ***!
|
|
50355
50398
|
\******************************************************************************************************/
|
|
50356
50399
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50357
50400
|
|
|
50358
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50359
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50401
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
50402
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50360
50403
|
const minSatisfying = (versions, range, options) => {
|
|
50361
50404
|
let min = null
|
|
50362
50405
|
let minSV = null
|
|
@@ -50383,15 +50426,15 @@ module.exports = minSatisfying
|
|
|
50383
50426
|
|
|
50384
50427
|
/***/ }),
|
|
50385
50428
|
|
|
50386
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50429
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-version.js":
|
|
50387
50430
|
/*!***************************************************************************************************!*\
|
|
50388
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50431
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-version.js ***!
|
|
50389
50432
|
\***************************************************************************************************/
|
|
50390
50433
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50391
50434
|
|
|
50392
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50393
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50394
|
-
const gt = __webpack_require__(/*! ../functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50435
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
50436
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50437
|
+
const gt = __webpack_require__(/*! ../functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js")
|
|
50395
50438
|
|
|
50396
50439
|
const minVersion = (range, loose) => {
|
|
50397
50440
|
range = new Range(range, loose)
|
|
@@ -50454,21 +50497,21 @@ module.exports = minVersion
|
|
|
50454
50497
|
|
|
50455
50498
|
/***/ }),
|
|
50456
50499
|
|
|
50457
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50500
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/outside.js":
|
|
50458
50501
|
/*!***********************************************************************************************!*\
|
|
50459
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50502
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/outside.js ***!
|
|
50460
50503
|
\***********************************************************************************************/
|
|
50461
50504
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50462
50505
|
|
|
50463
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50464
|
-
const Comparator = __webpack_require__(/*! ../classes/comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50506
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
50507
|
+
const Comparator = __webpack_require__(/*! ../classes/comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js")
|
|
50465
50508
|
const { ANY } = Comparator
|
|
50466
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50467
|
-
const satisfies = __webpack_require__(/*! ../functions/satisfies */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50468
|
-
const gt = __webpack_require__(/*! ../functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50469
|
-
const lt = __webpack_require__(/*! ../functions/lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50470
|
-
const lte = __webpack_require__(/*! ../functions/lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50471
|
-
const gte = __webpack_require__(/*! ../functions/gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50509
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50510
|
+
const satisfies = __webpack_require__(/*! ../functions/satisfies */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js")
|
|
50511
|
+
const gt = __webpack_require__(/*! ../functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js")
|
|
50512
|
+
const lt = __webpack_require__(/*! ../functions/lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js")
|
|
50513
|
+
const lte = __webpack_require__(/*! ../functions/lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lte.js")
|
|
50514
|
+
const gte = __webpack_require__(/*! ../functions/gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gte.js")
|
|
50472
50515
|
|
|
50473
50516
|
const outside = (version, range, hilo, options) => {
|
|
50474
50517
|
version = new SemVer(version, options)
|
|
@@ -50544,17 +50587,17 @@ module.exports = outside
|
|
|
50544
50587
|
|
|
50545
50588
|
/***/ }),
|
|
50546
50589
|
|
|
50547
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50590
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/simplify.js":
|
|
50548
50591
|
/*!************************************************************************************************!*\
|
|
50549
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50592
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/simplify.js ***!
|
|
50550
50593
|
\************************************************************************************************/
|
|
50551
50594
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50552
50595
|
|
|
50553
50596
|
// given a set of versions and a range, create a "simplified" range
|
|
50554
50597
|
// that includes the same versions that the original range does
|
|
50555
50598
|
// If the original range is shorter than the simplified one, return that.
|
|
50556
|
-
const satisfies = __webpack_require__(/*! ../functions/satisfies.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50557
|
-
const compare = __webpack_require__(/*! ../functions/compare.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50599
|
+
const satisfies = __webpack_require__(/*! ../functions/satisfies.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js")
|
|
50600
|
+
const compare = __webpack_require__(/*! ../functions/compare.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
50558
50601
|
module.exports = (versions, range, options) => {
|
|
50559
50602
|
const set = []
|
|
50560
50603
|
let first = null
|
|
@@ -50601,17 +50644,17 @@ module.exports = (versions, range, options) => {
|
|
|
50601
50644
|
|
|
50602
50645
|
/***/ }),
|
|
50603
50646
|
|
|
50604
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50647
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/subset.js":
|
|
50605
50648
|
/*!**********************************************************************************************!*\
|
|
50606
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50649
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/subset.js ***!
|
|
50607
50650
|
\**********************************************************************************************/
|
|
50608
50651
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50609
50652
|
|
|
50610
|
-
const Range = __webpack_require__(/*! ../classes/range.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50611
|
-
const Comparator = __webpack_require__(/*! ../classes/comparator.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50653
|
+
const Range = __webpack_require__(/*! ../classes/range.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50654
|
+
const Comparator = __webpack_require__(/*! ../classes/comparator.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js")
|
|
50612
50655
|
const { ANY } = Comparator
|
|
50613
|
-
const satisfies = __webpack_require__(/*! ../functions/satisfies.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50614
|
-
const compare = __webpack_require__(/*! ../functions/compare.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50656
|
+
const satisfies = __webpack_require__(/*! ../functions/satisfies.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js")
|
|
50657
|
+
const compare = __webpack_require__(/*! ../functions/compare.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
50615
50658
|
|
|
50616
50659
|
// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:
|
|
50617
50660
|
// - Every simple range `r1, r2, ...` is a null set, OR
|
|
@@ -50855,13 +50898,13 @@ module.exports = subset
|
|
|
50855
50898
|
|
|
50856
50899
|
/***/ }),
|
|
50857
50900
|
|
|
50858
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50901
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/to-comparators.js":
|
|
50859
50902
|
/*!******************************************************************************************************!*\
|
|
50860
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50903
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/to-comparators.js ***!
|
|
50861
50904
|
\******************************************************************************************************/
|
|
50862
50905
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50863
50906
|
|
|
50864
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50907
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50865
50908
|
|
|
50866
50909
|
// Mostly just for testing and legacy API reasons
|
|
50867
50910
|
const toComparators = (range, options) =>
|
|
@@ -50873,13 +50916,13 @@ module.exports = toComparators
|
|
|
50873
50916
|
|
|
50874
50917
|
/***/ }),
|
|
50875
50918
|
|
|
50876
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50919
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/valid.js":
|
|
50877
50920
|
/*!*********************************************************************************************!*\
|
|
50878
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50921
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/valid.js ***!
|
|
50879
50922
|
\*********************************************************************************************/
|
|
50880
50923
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50881
50924
|
|
|
50882
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50925
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50883
50926
|
const validRange = (range, options) => {
|
|
50884
50927
|
try {
|
|
50885
50928
|
// Return '*' instead of '' so that truthiness works.
|
|
@@ -63819,6 +63862,16 @@ var Base64EncodedString;
|
|
|
63819
63862
|
value = fromUint8Array(value);
|
|
63820
63863
|
return value;
|
|
63821
63864
|
};
|
|
63865
|
+
/* Encode a string into a Base64EncodedString. */
|
|
63866
|
+
function encode(src, urlSafe) {
|
|
63867
|
+
return js_base64__WEBPACK_IMPORTED_MODULE_0__.Base64.encode(src, urlSafe);
|
|
63868
|
+
}
|
|
63869
|
+
Base64EncodedString.encode = encode;
|
|
63870
|
+
/* Decode a Base64EncodedString into a string. */
|
|
63871
|
+
function decode(src) {
|
|
63872
|
+
return js_base64__WEBPACK_IMPORTED_MODULE_0__.Base64.decode(src);
|
|
63873
|
+
}
|
|
63874
|
+
Base64EncodedString.decode = decode;
|
|
63822
63875
|
})(Base64EncodedString || (Base64EncodedString = {}));
|
|
63823
63876
|
|
|
63824
63877
|
|
|
@@ -75862,7 +75915,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
75862
75915
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
75863
75916
|
/* harmony export */ "RpcInterface": () => (/* binding */ RpcInterface)
|
|
75864
75917
|
/* harmony export */ });
|
|
75865
|
-
/* harmony import */ var semver__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
75918
|
+
/* harmony import */ var semver__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/index.js");
|
|
75866
75919
|
/* harmony import */ var semver__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(semver__WEBPACK_IMPORTED_MODULE_0__);
|
|
75867
75920
|
/* harmony import */ var _rpc_core_RpcConfiguration__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./rpc/core/RpcConfiguration */ "../../core/common/lib/esm/rpc/core/RpcConfiguration.js");
|
|
75868
75921
|
/* harmony import */ var _rpc_core_RpcRegistry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./rpc/core/RpcRegistry */ "../../core/common/lib/esm/rpc/core/RpcRegistry.js");
|
|
@@ -104737,17 +104790,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
104737
104790
|
/* harmony import */ var _SheetViewState__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./SheetViewState */ "../../core/frontend/lib/esm/SheetViewState.js");
|
|
104738
104791
|
/* harmony import */ var _SpatialViewState__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./SpatialViewState */ "../../core/frontend/lib/esm/SpatialViewState.js");
|
|
104739
104792
|
/* harmony import */ var _TentativePoint__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./TentativePoint */ "../../core/frontend/lib/esm/TentativePoint.js");
|
|
104740
|
-
/* harmony import */ var
|
|
104741
|
-
/* harmony import */ var
|
|
104742
|
-
/* harmony import */ var
|
|
104743
|
-
/* harmony import */ var
|
|
104744
|
-
/* harmony import */ var
|
|
104745
|
-
/* harmony import */ var
|
|
104746
|
-
/* harmony import */ var
|
|
104747
|
-
/* harmony import */ var
|
|
104748
|
-
/* harmony import */ var
|
|
104749
|
-
/* harmony import */ var
|
|
104750
|
-
/* harmony import */ var
|
|
104793
|
+
/* harmony import */ var _RealityDataSource__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./RealityDataSource */ "../../core/frontend/lib/esm/RealityDataSource.js");
|
|
104794
|
+
/* harmony import */ var _tile_internal__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./tile/internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
104795
|
+
/* harmony import */ var _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./tools/AccuDrawTool */ "../../core/frontend/lib/esm/tools/AccuDrawTool.js");
|
|
104796
|
+
/* harmony import */ var _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./tools/ClipViewTool */ "../../core/frontend/lib/esm/tools/ClipViewTool.js");
|
|
104797
|
+
/* harmony import */ var _tools_IdleTool__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./tools/IdleTool */ "../../core/frontend/lib/esm/tools/IdleTool.js");
|
|
104798
|
+
/* harmony import */ var _tools_MeasureTool__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./tools/MeasureTool */ "../../core/frontend/lib/esm/tools/MeasureTool.js");
|
|
104799
|
+
/* harmony import */ var _tools_SelectTool__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./tools/SelectTool */ "../../core/frontend/lib/esm/tools/SelectTool.js");
|
|
104800
|
+
/* harmony import */ var _tools_Tool__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./tools/Tool */ "../../core/frontend/lib/esm/tools/Tool.js");
|
|
104801
|
+
/* harmony import */ var _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./tools/ToolAdmin */ "../../core/frontend/lib/esm/tools/ToolAdmin.js");
|
|
104802
|
+
/* harmony import */ var _tools_ViewTool__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./tools/ViewTool */ "../../core/frontend/lib/esm/tools/ViewTool.js");
|
|
104803
|
+
/* harmony import */ var _ViewManager__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./ViewManager */ "../../core/frontend/lib/esm/ViewManager.js");
|
|
104804
|
+
/* harmony import */ var _ViewState__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./ViewState */ "../../core/frontend/lib/esm/ViewState.js");
|
|
104751
104805
|
/*---------------------------------------------------------------------------------------------
|
|
104752
104806
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
104753
104807
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -104794,6 +104848,7 @@ const COPYRIGHT_NOTICE = 'Copyright © 2017-2022 <a href="https://www.bentley.co
|
|
|
104794
104848
|
|
|
104795
104849
|
|
|
104796
104850
|
|
|
104851
|
+
|
|
104797
104852
|
|
|
104798
104853
|
|
|
104799
104854
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
@@ -104818,6 +104873,10 @@ class IModelApp {
|
|
|
104818
104873
|
* @beta
|
|
104819
104874
|
*/
|
|
104820
104875
|
static get terrainProviderRegistry() { return this._terrainProviderRegistry; }
|
|
104876
|
+
/** The [[RealityDataSourceProviderRegistry]] for this session.
|
|
104877
|
+
* @alpha
|
|
104878
|
+
*/
|
|
104879
|
+
static get realityDataSourceProviders() { return this._realityDataSourceProviders; }
|
|
104821
104880
|
/** The [[RenderSystem]] for this session. */
|
|
104822
104881
|
static get renderSystem() { return this._renderSystem; }
|
|
104823
104882
|
/** The [[ViewManager]] for this session. */
|
|
@@ -104932,18 +104991,18 @@ class IModelApp {
|
|
|
104932
104991
|
const toolsNs = "CoreTools";
|
|
104933
104992
|
await this.localization.initialize(["iModelJs", toolsNs]);
|
|
104934
104993
|
[
|
|
104935
|
-
|
|
104936
|
-
|
|
104937
|
-
|
|
104938
|
-
|
|
104939
|
-
|
|
104940
|
-
|
|
104994
|
+
_tools_SelectTool__WEBPACK_IMPORTED_MODULE_31__,
|
|
104995
|
+
_tools_IdleTool__WEBPACK_IMPORTED_MODULE_29__,
|
|
104996
|
+
_tools_ViewTool__WEBPACK_IMPORTED_MODULE_34__,
|
|
104997
|
+
_tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_28__,
|
|
104998
|
+
_tools_MeasureTool__WEBPACK_IMPORTED_MODULE_30__,
|
|
104999
|
+
_tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_27__,
|
|
104941
105000
|
].forEach((tool) => this.tools.registerModule(tool, toolsNs));
|
|
104942
105001
|
this.registerEntityState(_EntityState__WEBPACK_IMPORTED_MODULE_14__.EntityState.classFullName, _EntityState__WEBPACK_IMPORTED_MODULE_14__.EntityState);
|
|
104943
105002
|
[
|
|
104944
105003
|
_ModelState__WEBPACK_IMPORTED_MODULE_17__,
|
|
104945
105004
|
_SheetViewState__WEBPACK_IMPORTED_MODULE_22__,
|
|
104946
|
-
|
|
105005
|
+
_ViewState__WEBPACK_IMPORTED_MODULE_36__,
|
|
104947
105006
|
_DrawingViewState__WEBPACK_IMPORTED_MODULE_12__,
|
|
104948
105007
|
_SpatialViewState__WEBPACK_IMPORTED_MODULE_23__,
|
|
104949
105008
|
_DisplayStyleState__WEBPACK_IMPORTED_MODULE_11__,
|
|
@@ -104954,18 +105013,19 @@ class IModelApp {
|
|
|
104954
105013
|
this._renderSystem = (opts.renderSys instanceof _render_RenderSystem__WEBPACK_IMPORTED_MODULE_20__.RenderSystem) ? opts.renderSys : this.createRenderSys(opts.renderSys);
|
|
104955
105014
|
if (opts.userPreferences)
|
|
104956
105015
|
this._userPreferences = opts.userPreferences;
|
|
104957
|
-
this._viewManager = (_h = opts.viewManager) !== null && _h !== void 0 ? _h : new
|
|
104958
|
-
this._tileAdmin = await
|
|
105016
|
+
this._viewManager = (_h = opts.viewManager) !== null && _h !== void 0 ? _h : new _ViewManager__WEBPACK_IMPORTED_MODULE_35__.ViewManager();
|
|
105017
|
+
this._tileAdmin = await _tile_internal__WEBPACK_IMPORTED_MODULE_26__.TileAdmin.create(opts.tileAdmin);
|
|
104959
105018
|
this._notifications = (_j = opts.notifications) !== null && _j !== void 0 ? _j : new _NotificationManager__WEBPACK_IMPORTED_MODULE_18__.NotificationManager();
|
|
104960
|
-
this._toolAdmin = (_k = opts.toolAdmin) !== null && _k !== void 0 ? _k : new
|
|
105019
|
+
this._toolAdmin = (_k = opts.toolAdmin) !== null && _k !== void 0 ? _k : new _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_33__.ToolAdmin();
|
|
104961
105020
|
this._accuDraw = (_l = opts.accuDraw) !== null && _l !== void 0 ? _l : new _AccuDraw__WEBPACK_IMPORTED_MODULE_6__.AccuDraw();
|
|
104962
105021
|
this._accuSnap = (_m = opts.accuSnap) !== null && _m !== void 0 ? _m : new _AccuSnap__WEBPACK_IMPORTED_MODULE_7__.AccuSnap();
|
|
104963
105022
|
this._locateManager = (_o = opts.locateManager) !== null && _o !== void 0 ? _o : new _ElementLocateManager__WEBPACK_IMPORTED_MODULE_13__.ElementLocateManager();
|
|
104964
105023
|
this._tentativePoint = (_p = opts.tentativePoint) !== null && _p !== void 0 ? _p : new _TentativePoint__WEBPACK_IMPORTED_MODULE_24__.TentativePoint();
|
|
104965
105024
|
this._quantityFormatter = (_q = opts.quantityFormatter) !== null && _q !== void 0 ? _q : new _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_19__.QuantityFormatter();
|
|
104966
105025
|
this._uiAdmin = (_r = opts.uiAdmin) !== null && _r !== void 0 ? _r : new _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_0__.UiAdmin();
|
|
104967
|
-
this._mapLayerFormatRegistry = new
|
|
104968
|
-
this._terrainProviderRegistry = new
|
|
105026
|
+
this._mapLayerFormatRegistry = new _tile_internal__WEBPACK_IMPORTED_MODULE_26__.MapLayerFormatRegistry(opts.mapLayerOptions);
|
|
105027
|
+
this._terrainProviderRegistry = new _tile_internal__WEBPACK_IMPORTED_MODULE_26__.TerrainProviderRegistry();
|
|
105028
|
+
this._realityDataSourceProviders = new _RealityDataSource__WEBPACK_IMPORTED_MODULE_25__.RealityDataSourceProviderRegistry();
|
|
104969
105029
|
this._realityDataAccess = opts.realityDataAccess;
|
|
104970
105030
|
this._publicPath = (_s = opts.publicPath) !== null && _s !== void 0 ? _s : "";
|
|
104971
105031
|
[
|
|
@@ -105067,7 +105127,7 @@ class IModelApp {
|
|
|
105067
105127
|
IModelApp.tileAdmin.process();
|
|
105068
105128
|
}
|
|
105069
105129
|
catch (exception) {
|
|
105070
|
-
|
|
105130
|
+
_tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_33__.ToolAdmin.exceptionHandler(exception); // eslint-disable-line @typescript-eslint/no-floating-promises
|
|
105071
105131
|
IModelApp._wantEventLoop = false;
|
|
105072
105132
|
IModelApp._animationRequested = true; // unrecoverable after exception, don't request any further frames.
|
|
105073
105133
|
window.removeEventListener("resize", IModelApp.requestNextAnimation);
|
|
@@ -105269,7 +105329,7 @@ IModelApp.onBeforeShutdown = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_1_
|
|
|
105269
105329
|
*/
|
|
105270
105330
|
IModelApp.onAfterStartup = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_1__.BeEvent();
|
|
105271
105331
|
/** The [[ToolRegistry]] for this session. */
|
|
105272
|
-
IModelApp.tools = new
|
|
105332
|
+
IModelApp.tools = new _tools_Tool__WEBPACK_IMPORTED_MODULE_32__.ToolRegistry();
|
|
105273
105333
|
/** The [[TelemetryManager]] for this session
|
|
105274
105334
|
* @internal
|
|
105275
105335
|
*/
|
|
@@ -109008,7 +109068,8 @@ class PlanarClipMaskState {
|
|
|
109008
109068
|
__webpack_require__.r(__webpack_exports__);
|
|
109009
109069
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
109010
109070
|
/* harmony export */ "RealityDataError": () => (/* binding */ RealityDataError),
|
|
109011
|
-
/* harmony export */ "RealityDataSource": () => (/* binding */ RealityDataSource)
|
|
109071
|
+
/* harmony export */ "RealityDataSource": () => (/* binding */ RealityDataSource),
|
|
109072
|
+
/* harmony export */ "RealityDataSourceProviderRegistry": () => (/* binding */ RealityDataSourceProviderRegistry)
|
|
109012
109073
|
/* harmony export */ });
|
|
109013
109074
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
109014
109075
|
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
@@ -109017,6 +109078,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
109017
109078
|
/* harmony import */ var _RealityDataSourceTilesetUrlImpl__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./RealityDataSourceTilesetUrlImpl */ "../../core/frontend/lib/esm/RealityDataSourceTilesetUrlImpl.js");
|
|
109018
109079
|
/* harmony import */ var _RealityDataSourceContextShareImpl__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./RealityDataSourceContextShareImpl */ "../../core/frontend/lib/esm/RealityDataSourceContextShareImpl.js");
|
|
109019
109080
|
/* harmony import */ var _RealityDataSourceCesiumIonAssetImpl__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./RealityDataSourceCesiumIonAssetImpl */ "../../core/frontend/lib/esm/RealityDataSourceCesiumIonAssetImpl.js");
|
|
109081
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
109020
109082
|
/*---------------------------------------------------------------------------------------------
|
|
109021
109083
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
109022
109084
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -109031,6 +109093,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
109031
109093
|
|
|
109032
109094
|
|
|
109033
109095
|
|
|
109096
|
+
|
|
109034
109097
|
const loggerCategory = _FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_2__.FrontendLoggerCategory.RealityData;
|
|
109035
109098
|
/**
|
|
109036
109099
|
* Reality Data Operation error
|
|
@@ -109127,23 +109190,48 @@ var RealityDataSource;
|
|
|
109127
109190
|
* There will aways be only one reality data RealityDataSource for a corresponding reality data source key.
|
|
109128
109191
|
* @alpha
|
|
109129
109192
|
*/
|
|
109130
|
-
async function fromKey(
|
|
109131
|
-
|
|
109132
|
-
|
|
109133
|
-
|
|
109134
|
-
|
|
109135
|
-
return _RealityDataSourceTilesetUrlImpl__WEBPACK_IMPORTED_MODULE_4__.RealityDataSourceTilesetUrlImpl.createFromKey(rdSourceKey, iTwinId);
|
|
109136
|
-
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.ContextShare:
|
|
109137
|
-
return _RealityDataSourceContextShareImpl__WEBPACK_IMPORTED_MODULE_5__.RealityDataSourceContextShareImpl.createFromKey(rdSourceKey, iTwinId);
|
|
109138
|
-
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.OrbitGtBlob:
|
|
109139
|
-
return _RealityDataSourceTilesetUrlImpl__WEBPACK_IMPORTED_MODULE_4__.RealityDataSourceTilesetUrlImpl.createFromKey(rdSourceKey, iTwinId);
|
|
109140
|
-
default:
|
|
109141
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(loggerCategory, `Error realityModelFromJson - region undefined`);
|
|
109193
|
+
async function fromKey(key, iTwinId) {
|
|
109194
|
+
const provider = _IModelApp__WEBPACK_IMPORTED_MODULE_7__.IModelApp.realityDataSourceProviders.find(key.provider);
|
|
109195
|
+
if (!provider) {
|
|
109196
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logWarning(loggerCategory, `RealityDataSourceProvider "${key.provider}" is not registered`);
|
|
109197
|
+
return undefined;
|
|
109142
109198
|
}
|
|
109143
|
-
return
|
|
109199
|
+
return provider.createRealityDataSource(key, iTwinId);
|
|
109144
109200
|
}
|
|
109145
109201
|
RealityDataSource.fromKey = fromKey;
|
|
109146
109202
|
})(RealityDataSource || (RealityDataSource = {}));
|
|
109203
|
+
/** A registry of [[RealityDataSourceProvider]]s identified by their unique names. The registry can be accessed via [[IModelApp.realityDataSourceProviders]].
|
|
109204
|
+
* It includes a handful of built-in providers for sources like Cesium ION, ContextShare, OrbitGT, and arbitrary public-accessible URLs.
|
|
109205
|
+
* Any number of additional providers can be registered. They should typically be registered just after [[IModelAp.startup]].
|
|
109206
|
+
* @alpha
|
|
109207
|
+
*/
|
|
109208
|
+
class RealityDataSourceProviderRegistry {
|
|
109209
|
+
/** @internal */
|
|
109210
|
+
constructor() {
|
|
109211
|
+
this._providers = new Map();
|
|
109212
|
+
this.register(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.CesiumIonAsset, {
|
|
109213
|
+
createRealityDataSource: async (key, iTwinId) => _RealityDataSourceCesiumIonAssetImpl__WEBPACK_IMPORTED_MODULE_6__.RealityDataSourceCesiumIonAssetImpl.createFromKey(key, iTwinId),
|
|
109214
|
+
});
|
|
109215
|
+
this.register(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.TilesetUrl, {
|
|
109216
|
+
createRealityDataSource: async (key, iTwinId) => _RealityDataSourceTilesetUrlImpl__WEBPACK_IMPORTED_MODULE_4__.RealityDataSourceTilesetUrlImpl.createFromKey(key, iTwinId),
|
|
109217
|
+
});
|
|
109218
|
+
this.register(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.ContextShare, {
|
|
109219
|
+
createRealityDataSource: async (key, iTwinId) => _RealityDataSourceContextShareImpl__WEBPACK_IMPORTED_MODULE_5__.RealityDataSourceContextShareImpl.createFromKey(key, iTwinId),
|
|
109220
|
+
});
|
|
109221
|
+
this.register(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.OrbitGtBlob, {
|
|
109222
|
+
// ###TODO separate TilesetUrlImpl
|
|
109223
|
+
createRealityDataSource: async (key, iTwinId) => _RealityDataSourceTilesetUrlImpl__WEBPACK_IMPORTED_MODULE_4__.RealityDataSourceTilesetUrlImpl.createFromKey(key, iTwinId),
|
|
109224
|
+
});
|
|
109225
|
+
}
|
|
109226
|
+
/** Register `provider` to produce [[RealityDataSource]]s for the specified provider `name`. */
|
|
109227
|
+
register(name, provider) {
|
|
109228
|
+
this._providers.set(name, provider);
|
|
109229
|
+
}
|
|
109230
|
+
/** Look up the provider registered by the specified `name`. */
|
|
109231
|
+
find(name) {
|
|
109232
|
+
return this._providers.get(name);
|
|
109233
|
+
}
|
|
109234
|
+
}
|
|
109147
109235
|
|
|
109148
109236
|
|
|
109149
109237
|
/***/ }),
|
|
@@ -109303,6 +109391,9 @@ class RealityDataSourceCesiumIonAssetImpl {
|
|
|
109303
109391
|
const tileUrl = this._baseUrl + name;
|
|
109304
109392
|
return this._doRequest(tileUrl, "json");
|
|
109305
109393
|
}
|
|
109394
|
+
getTileContentType(url) {
|
|
109395
|
+
return url.endsWith("json") ? "tileset" : "tile";
|
|
109396
|
+
}
|
|
109306
109397
|
/**
|
|
109307
109398
|
* Gets spatial location and extents of this reality data source
|
|
109308
109399
|
* @returns spatial location and extents
|
|
@@ -109528,6 +109619,9 @@ class RealityDataSourceContextShareImpl {
|
|
|
109528
109619
|
}
|
|
109529
109620
|
return undefined;
|
|
109530
109621
|
}
|
|
109622
|
+
getTileContentType(url) {
|
|
109623
|
+
return url.endsWith("json") ? "tileset" : "tile";
|
|
109624
|
+
}
|
|
109531
109625
|
/**
|
|
109532
109626
|
* Gets spatial location and extents of this reality data source
|
|
109533
109627
|
* @returns spatial location and extents
|
|
@@ -109699,6 +109793,9 @@ class RealityDataSourceTilesetUrlImpl {
|
|
|
109699
109793
|
const tileUrl = this._baseUrl + name;
|
|
109700
109794
|
return this._doRequest(tileUrl, "json");
|
|
109701
109795
|
}
|
|
109796
|
+
getTileContentType(url) {
|
|
109797
|
+
return url.endsWith("json") ? "tileset" : "tile";
|
|
109798
|
+
}
|
|
109702
109799
|
/**
|
|
109703
109800
|
* Gets spatial location and extents of this reality data source
|
|
109704
109801
|
* @returns spatial location and extents
|
|
@@ -119533,6 +119630,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
119533
119630
|
/* harmony export */ "AnimatedTreeReference": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.AnimatedTreeReference),
|
|
119534
119631
|
/* harmony export */ "AnimationBranchStates": () => (/* reexport safe */ _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_80__.AnimationBranchStates),
|
|
119535
119632
|
/* harmony export */ "AnimationNodeId": () => (/* reexport safe */ _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_80__.AnimationNodeId),
|
|
119633
|
+
/* harmony export */ "ArcGISImageryProvider": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.ArcGISImageryProvider),
|
|
119536
119634
|
/* harmony export */ "ArcGISMapLayerImageryProvider": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.ArcGISMapLayerImageryProvider),
|
|
119537
119635
|
/* harmony export */ "ArcGISTileMap": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.ArcGISTileMap),
|
|
119538
119636
|
/* harmony export */ "ArcGisErrorCode": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.ArcGisErrorCode),
|
|
@@ -119759,6 +119857,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
119759
119857
|
/* harmony export */ "ReadonlyTileUserSet": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.ReadonlyTileUserSet),
|
|
119760
119858
|
/* harmony export */ "RealityDataError": () => (/* reexport safe */ _RealityDataSource__WEBPACK_IMPORTED_MODULE_123__.RealityDataError),
|
|
119761
119859
|
/* harmony export */ "RealityDataSource": () => (/* reexport safe */ _RealityDataSource__WEBPACK_IMPORTED_MODULE_123__.RealityDataSource),
|
|
119860
|
+
/* harmony export */ "RealityDataSourceProviderRegistry": () => (/* reexport safe */ _RealityDataSource__WEBPACK_IMPORTED_MODULE_123__.RealityDataSourceProviderRegistry),
|
|
119762
119861
|
/* harmony export */ "RealityMeshParams": () => (/* reexport safe */ _render_RealityMeshParams__WEBPACK_IMPORTED_MODULE_88__.RealityMeshParams),
|
|
119763
119862
|
/* harmony export */ "RealityMeshParamsBuilder": () => (/* reexport safe */ _render_RealityMeshParams__WEBPACK_IMPORTED_MODULE_88__.RealityMeshParamsBuilder),
|
|
119764
119863
|
/* harmony export */ "RealityModelTileTree": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.RealityModelTileTree),
|
|
@@ -160203,7 +160302,7 @@ class GltfReader {
|
|
|
160203
160302
|
if (dracoMeshes.length === 0)
|
|
160204
160303
|
return;
|
|
160205
160304
|
try {
|
|
160206
|
-
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-
|
|
160305
|
+
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_11_node_modules_loaders_gl_draco_d-403021"), __webpack_require__.e("_ea7b")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.11/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
|
|
160207
160306
|
await Promise.all(dracoMeshes.map(async (x) => this.decodeDracoMesh(x, dracoLoader)));
|
|
160208
160307
|
}
|
|
160209
160308
|
catch (err) {
|
|
@@ -160367,6 +160466,9 @@ class GltfGraphicsReader extends GltfReader {
|
|
|
160367
160466
|
iModel: args.iModel,
|
|
160368
160467
|
vertexTableRequired: true,
|
|
160369
160468
|
});
|
|
160469
|
+
this._contentRange = args.contentRange;
|
|
160470
|
+
this._transform = args.transform;
|
|
160471
|
+
this._isLeaf = true !== args.hasChildren;
|
|
160370
160472
|
this.binaryData = props.binaryData;
|
|
160371
160473
|
const pickableId = (_a = args.pickableOptions) === null || _a === void 0 ? void 0 : _a.id;
|
|
160372
160474
|
if (pickableId) {
|
|
@@ -160376,7 +160478,7 @@ class GltfGraphicsReader extends GltfReader {
|
|
|
160376
160478
|
}
|
|
160377
160479
|
async read() {
|
|
160378
160480
|
await this.resolveResources();
|
|
160379
|
-
return this.readGltfAndCreateGraphics(
|
|
160481
|
+
return this.readGltfAndCreateGraphics(this._isLeaf, this._featureTable, this._contentRange, this._transform);
|
|
160380
160482
|
}
|
|
160381
160483
|
get nodes() { return this._nodes; }
|
|
160382
160484
|
get scenes() { var _a; return (_a = this._glTF.scenes) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
@@ -163345,7 +163447,7 @@ function readPnts(stream, dataOffset, pnts) {
|
|
|
163345
163447
|
async function decodeDracoPointCloud(buf) {
|
|
163346
163448
|
var _a, _b, _c, _d, _e, _f;
|
|
163347
163449
|
try {
|
|
163348
|
-
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-
|
|
163450
|
+
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_11_node_modules_loaders_gl_draco_d-403021"), __webpack_require__.e("_ea7b")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.11/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
|
|
163349
163451
|
const mesh = await dracoLoader.parse(buf, {});
|
|
163350
163452
|
if (mesh.topology !== "point-list")
|
|
163351
163453
|
return undefined;
|
|
@@ -164291,7 +164393,14 @@ class RealityModelTileTreeParams {
|
|
|
164291
164393
|
this.id = tileTreeId;
|
|
164292
164394
|
this.modelId = modelId;
|
|
164293
164395
|
this.iModel = iModel;
|
|
164294
|
-
|
|
164396
|
+
const refine = loader.tree.tilesetJson.refine;
|
|
164397
|
+
this.rootTile = new RealityModelTileProps({
|
|
164398
|
+
json: loader.tree.tilesetJson,
|
|
164399
|
+
id: "",
|
|
164400
|
+
// If not specified explicitly, additiveRefinement is inherited from parent tile.
|
|
164401
|
+
additiveRefinement: undefined !== refine ? "ADD" === refine : undefined,
|
|
164402
|
+
usesGeometricError: loader.tree.rdSource.usesGeometricError,
|
|
164403
|
+
});
|
|
164295
164404
|
}
|
|
164296
164405
|
get location() { return this.loader.tree.location; }
|
|
164297
164406
|
get yAxisUp() { return this.loader.tree.yAxisUp; }
|
|
@@ -164299,10 +164408,13 @@ class RealityModelTileTreeParams {
|
|
|
164299
164408
|
}
|
|
164300
164409
|
/** @internal */
|
|
164301
164410
|
class RealityModelTileProps {
|
|
164302
|
-
constructor(
|
|
164303
|
-
var _a;
|
|
164304
|
-
this.contentId =
|
|
164305
|
-
this.parent = parent;
|
|
164411
|
+
constructor(args) {
|
|
164412
|
+
var _a, _b;
|
|
164413
|
+
this.contentId = args.id;
|
|
164414
|
+
this.parent = args.parent;
|
|
164415
|
+
this.transformToRoot = args.transformToRoot;
|
|
164416
|
+
this.additiveRefinement = args.additiveRefinement;
|
|
164417
|
+
const json = args.json;
|
|
164306
164418
|
const boundingVolume = RealityModelTileUtils.rangeFromBoundingVolume(json.boundingVolume);
|
|
164307
164419
|
if (boundingVolume) {
|
|
164308
164420
|
this.range = boundingVolume.range;
|
|
@@ -164314,18 +164426,18 @@ class RealityModelTileProps {
|
|
|
164314
164426
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false, "Unbounded tile");
|
|
164315
164427
|
}
|
|
164316
164428
|
this.isLeaf = !Array.isArray(json.children) || 0 === json.children.length;
|
|
164317
|
-
this.transformToRoot = transformToRoot;
|
|
164318
|
-
this.additiveRefinement = additiveRefinement;
|
|
164319
164429
|
const hasContents = undefined !== getUrl(json.content);
|
|
164320
164430
|
if (hasContents)
|
|
164321
164431
|
this.contentRange = (_a = RealityModelTileUtils.rangeFromBoundingVolume(json.content.boundingVolume)) === null || _a === void 0 ? void 0 : _a.range;
|
|
164322
164432
|
else {
|
|
164323
164433
|
// A node without content should probably be selectable even if not additive refinement - But restrict it to that case here
|
|
164324
164434
|
// to avoid potential problems with existing reality models, but still avoid overselection in the OSM world building set.
|
|
164325
|
-
if (this.additiveRefinement || (parent === null ||
|
|
164435
|
+
if (this.additiveRefinement || ((_b = args.parent) === null || _b === void 0 ? void 0 : _b.additiveRefinement))
|
|
164326
164436
|
this.noContentButTerminateOnSelection = true;
|
|
164327
164437
|
}
|
|
164328
164438
|
this.maximumSize = (this.noContentButTerminateOnSelection || hasContents) ? RealityModelTileUtils.maximumSizeFromGeometricTolerance(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Range3d.fromJSON(this.range), json.geometricError) : 0;
|
|
164439
|
+
if (args.usesGeometricError)
|
|
164440
|
+
this.geometricError = json.geometricError;
|
|
164329
164441
|
}
|
|
164330
164442
|
}
|
|
164331
164443
|
/** @internal */
|
|
@@ -164338,7 +164450,12 @@ class FindChildResult {
|
|
|
164338
164450
|
}
|
|
164339
164451
|
/** @internal */
|
|
164340
164452
|
function assembleUrl(prefix, url) {
|
|
164453
|
+
if (url.startsWith("/")) {
|
|
164454
|
+
// Relative to base origin, not to parent tile
|
|
164455
|
+
return url.substring(1);
|
|
164456
|
+
}
|
|
164341
164457
|
if (url.startsWith("./")) {
|
|
164458
|
+
// Relative to parent tile
|
|
164342
164459
|
url = url.substring(2);
|
|
164343
164460
|
}
|
|
164344
164461
|
else {
|
|
@@ -164370,16 +164487,13 @@ function addUrlPrefix(subTree, prefix) {
|
|
|
164370
164487
|
/** @internal */
|
|
164371
164488
|
async function expandSubTree(root, rdsource) {
|
|
164372
164489
|
const childUrl = getUrl(root.content);
|
|
164373
|
-
if (undefined
|
|
164374
|
-
const subTree = await rdsource.getTileJson(childUrl);
|
|
164375
|
-
const prefixIndex = childUrl.lastIndexOf("/");
|
|
164376
|
-
if (prefixIndex > 0)
|
|
164377
|
-
addUrlPrefix(subTree.root, childUrl.substring(0, prefixIndex + 1));
|
|
164378
|
-
return subTree.root;
|
|
164379
|
-
}
|
|
164380
|
-
else {
|
|
164490
|
+
if (undefined === childUrl || "tileset" !== rdsource.getTileContentType(childUrl))
|
|
164381
164491
|
return root;
|
|
164382
|
-
|
|
164492
|
+
const subTree = await rdsource.getTileJson(childUrl);
|
|
164493
|
+
const prefixIndex = childUrl.lastIndexOf("/");
|
|
164494
|
+
if (prefixIndex > 0)
|
|
164495
|
+
addUrlPrefix(subTree.root, childUrl.substring(0, prefixIndex + 1));
|
|
164496
|
+
return subTree.root;
|
|
164383
164497
|
}
|
|
164384
164498
|
/** @internal */
|
|
164385
164499
|
class RealityModelTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_7__.RealityTileLoader {
|
|
@@ -164407,6 +164521,9 @@ class RealityModelTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_7__.Real
|
|
|
164407
164521
|
getBatchIdMap() { return this._batchedIdMap; }
|
|
164408
164522
|
get clipLowResolutionTiles() { return true; }
|
|
164409
164523
|
get viewFlagOverrides() { return this._viewFlagOverrides; }
|
|
164524
|
+
get maximumScreenSpaceError() {
|
|
164525
|
+
return this.tree.rdSource.maximumScreenSpaceError;
|
|
164526
|
+
}
|
|
164410
164527
|
async loadChildren(tile) {
|
|
164411
164528
|
const props = await this.getChildrenProps(tile);
|
|
164412
164529
|
if (undefined === props)
|
|
@@ -164425,8 +164542,18 @@ class RealityModelTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_7__.Real
|
|
|
164425
164542
|
for (let i = 0; i < findResult.json.children.length; i++) {
|
|
164426
164543
|
const childId = prefix + i;
|
|
164427
164544
|
const foundChild = await this.findTileInJson(this.tree.tilesetJson, childId, "", undefined);
|
|
164428
|
-
if (undefined !== foundChild)
|
|
164429
|
-
|
|
164545
|
+
if (undefined !== foundChild) {
|
|
164546
|
+
const refine = foundChild.json.refine;
|
|
164547
|
+
props.push(new RealityModelTileProps({
|
|
164548
|
+
json: foundChild.json,
|
|
164549
|
+
parent,
|
|
164550
|
+
id: foundChild.id,
|
|
164551
|
+
transformToRoot: foundChild.transformToRoot,
|
|
164552
|
+
// If not specified explicitly, additiveRefinement is inherited from parent tile.
|
|
164553
|
+
additiveRefinement: undefined !== refine ? refine === "ADD" : undefined,
|
|
164554
|
+
usesGeometricError: this.tree.rdSource.usesGeometricError,
|
|
164555
|
+
}));
|
|
164556
|
+
}
|
|
164430
164557
|
}
|
|
164431
164558
|
}
|
|
164432
164559
|
return props;
|
|
@@ -164562,8 +164689,13 @@ class RealityModelTileTree extends _internal__WEBPACK_IMPORTED_MODULE_7__.Realit
|
|
|
164562
164689
|
}
|
|
164563
164690
|
createDrawArgs(context) {
|
|
164564
164691
|
const args = super.createDrawArgs(context);
|
|
164565
|
-
if (args)
|
|
164692
|
+
if (args) {
|
|
164566
164693
|
args.graphics.realityModelDisplaySettings = this._getDisplaySettings();
|
|
164694
|
+
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(args.tree instanceof _internal__WEBPACK_IMPORTED_MODULE_7__.RealityTileTree);
|
|
164695
|
+
const maxSSE = args.tree.loader.maximumScreenSpaceError;
|
|
164696
|
+
if (undefined !== maxSSE)
|
|
164697
|
+
args.maximumScreenSpaceError = maxSSE;
|
|
164698
|
+
}
|
|
164567
164699
|
return args;
|
|
164568
164700
|
}
|
|
164569
164701
|
}
|
|
@@ -164801,13 +164933,13 @@ class RealityTile extends _internal__WEBPACK_IMPORTED_MODULE_5__.Tile {
|
|
|
164801
164933
|
constructor(props, tree) {
|
|
164802
164934
|
var _a;
|
|
164803
164935
|
super(props, tree);
|
|
164804
|
-
/** @internal */
|
|
164805
164936
|
this._everDisplayed = false;
|
|
164806
164937
|
this.transformToRoot = props.transformToRoot;
|
|
164807
164938
|
this.additiveRefinement = (undefined === props.additiveRefinement) ? (_a = this.realityParent) === null || _a === void 0 ? void 0 : _a.additiveRefinement : props.additiveRefinement;
|
|
164808
164939
|
this.noContentButTerminateOnSelection = props.noContentButTerminateOnSelection;
|
|
164809
164940
|
this.rangeCorners = props.rangeCorners;
|
|
164810
164941
|
this.region = props.region;
|
|
164942
|
+
this._geometricError = props.geometricError;
|
|
164811
164943
|
if (undefined === this.transformToRoot)
|
|
164812
164944
|
return;
|
|
164813
164945
|
// Can transform be non-rigid?? -- if so would have to handle (readonly) radius.
|
|
@@ -165034,6 +165166,13 @@ class RealityTile extends _internal__WEBPACK_IMPORTED_MODULE_5__.Tile {
|
|
|
165034
165166
|
return 0;
|
|
165035
165167
|
if (this.isLeaf)
|
|
165036
165168
|
return this.hasContentRange && this.isContentCulled(args) ? -1 : 1;
|
|
165169
|
+
if (undefined !== this._geometricError) {
|
|
165170
|
+
const radius = args.getTileRadius(this);
|
|
165171
|
+
const center = args.getTileCenter(this);
|
|
165172
|
+
const pixelSize = args.computePixelSizeInMetersAtClosestPoint(center, radius);
|
|
165173
|
+
const sse = this._geometricError / pixelSize;
|
|
165174
|
+
return args.maximumScreenSpaceError / sse;
|
|
165175
|
+
}
|
|
165037
165176
|
return this.maximumSize / args.getPixelSize(this);
|
|
165038
165177
|
}
|
|
165039
165178
|
/** @internal */
|
|
@@ -165296,6 +165435,7 @@ class RealityTileLoader {
|
|
|
165296
165435
|
get containsPointClouds() { return this._containsPointClouds; }
|
|
165297
165436
|
get parentsAndChildrenExclusive() { return true; }
|
|
165298
165437
|
forceTileLoad(_tile) { return false; }
|
|
165438
|
+
get maximumScreenSpaceError() { return undefined; }
|
|
165299
165439
|
processSelectedTiles(selected, _args) { return selected; }
|
|
165300
165440
|
// NB: The isCanceled arg is chiefly for tests...in usual case it just returns false if the tile is no longer in 'loading' state.
|
|
165301
165441
|
async loadTileContent(tile, data, system, isCanceled) {
|
|
@@ -165343,6 +165483,18 @@ class RealityTileLoader {
|
|
|
165343
165483
|
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.I3dm:
|
|
165344
165484
|
reader = _internal__WEBPACK_IMPORTED_MODULE_6__.I3dmReader.create(streamBuffer, iModel, modelId, is3d, tile.contentRange, system, yAxisUp, tile.isLeaf, isCanceled, undefined, this.wantDeduplicatedVertices);
|
|
165345
165485
|
break;
|
|
165486
|
+
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Gltf:
|
|
165487
|
+
const props = _internal__WEBPACK_IMPORTED_MODULE_6__.GltfReaderProps.create(streamBuffer.nextBytes(streamBuffer.arrayBuffer.byteLength), yAxisUp);
|
|
165488
|
+
if (props) {
|
|
165489
|
+
reader = new _internal__WEBPACK_IMPORTED_MODULE_6__.GltfGraphicsReader(props, {
|
|
165490
|
+
iModel,
|
|
165491
|
+
gltf: props.glTF,
|
|
165492
|
+
contentRange: tile.contentRange,
|
|
165493
|
+
transform: tile.transformToRoot,
|
|
165494
|
+
hasChildren: !tile.isLeaf,
|
|
165495
|
+
});
|
|
165496
|
+
}
|
|
165497
|
+
break;
|
|
165346
165498
|
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Cmpt:
|
|
165347
165499
|
const header = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.CompositeTileHeader(streamBuffer);
|
|
165348
165500
|
if (!header.isValid)
|
|
@@ -167429,6 +167581,7 @@ const scratchMatrix4d = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Matrix
|
|
|
167429
167581
|
class TileDrawArgs {
|
|
167430
167582
|
/** Constructor */
|
|
167431
167583
|
constructor(params) {
|
|
167584
|
+
var _a;
|
|
167432
167585
|
/** Holds the tile graphics to be drawn. */
|
|
167433
167586
|
this.graphics = new _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_2__.GraphicBranch();
|
|
167434
167587
|
/** Tiles that we want to draw and that are ready to draw. May not actually be selected, e.g. if sibling tiles are not yet ready. */
|
|
@@ -167442,6 +167595,7 @@ class TileDrawArgs {
|
|
|
167442
167595
|
this.hiddenLineSettings = params.hiddenLineSettings;
|
|
167443
167596
|
this.animationTransformNodeId = params.animationTransformNodeId;
|
|
167444
167597
|
this.boundingRange = params.boundingRange;
|
|
167598
|
+
this.maximumScreenSpaceError = (_a = params.maximumScreenSpaceError) !== null && _a !== void 0 ? _a : 16; // 16 is Cesium's default.
|
|
167445
167599
|
// Do not cull tiles based on clip volume if tiles outside clip are supposed to be drawn but in a different color.
|
|
167446
167600
|
if (undefined !== clipVolume && !context.viewport.view.displayStyle.settings.clipStyle.outsideColor)
|
|
167447
167601
|
this.clipVolume = clipVolume;
|
|
@@ -169293,22 +169447,23 @@ function createDefaultViewFlagOverrides(options) {
|
|
|
169293
169447
|
"use strict";
|
|
169294
169448
|
__webpack_require__.r(__webpack_exports__);
|
|
169295
169449
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
169296
|
-
/* harmony export */ "AnimatedTreeReference": () => (/* reexport safe */
|
|
169297
|
-
/* harmony export */ "
|
|
169450
|
+
/* harmony export */ "AnimatedTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.AnimatedTreeReference),
|
|
169451
|
+
/* harmony export */ "ArcGISImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_ArcGISImageryProvider__WEBPACK_IMPORTED_MODULE_43__.ArcGISImageryProvider),
|
|
169452
|
+
/* harmony export */ "ArcGISMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_ArcGISMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_44__.ArcGISMapLayerImageryProvider),
|
|
169298
169453
|
/* harmony export */ "ArcGISTileMap": () => (/* reexport safe */ _map_ArcGISTileMap__WEBPACK_IMPORTED_MODULE_34__.ArcGISTileMap),
|
|
169299
169454
|
/* harmony export */ "ArcGisErrorCode": () => (/* reexport safe */ _map_ArcGisUtilities__WEBPACK_IMPORTED_MODULE_38__.ArcGisErrorCode),
|
|
169300
169455
|
/* harmony export */ "ArcGisUtilities": () => (/* reexport safe */ _map_ArcGisUtilities__WEBPACK_IMPORTED_MODULE_38__.ArcGisUtilities),
|
|
169301
|
-
/* harmony export */ "AzureMapsLayerImageryProvider": () => (/* reexport safe */
|
|
169456
|
+
/* harmony export */ "AzureMapsLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_AzureMapsLayerImageryProvider__WEBPACK_IMPORTED_MODULE_45__.AzureMapsLayerImageryProvider),
|
|
169302
169457
|
/* harmony export */ "B3dmReader": () => (/* reexport safe */ _B3dmReader__WEBPACK_IMPORTED_MODULE_32__.B3dmReader),
|
|
169303
169458
|
/* harmony export */ "BatchedTileIdMap": () => (/* reexport safe */ _BatchedTileIdMap__WEBPACK_IMPORTED_MODULE_12__.BatchedTileIdMap),
|
|
169304
|
-
/* harmony export */ "BingElevationProvider": () => (/* reexport safe */
|
|
169305
|
-
/* harmony export */ "BingMapsImageryLayerProvider": () => (/* reexport safe */
|
|
169306
|
-
/* harmony export */ "CesiumIonAssetProvider": () => (/* reexport safe */
|
|
169307
|
-
/* harmony export */ "ContextShareProvider": () => (/* reexport safe */
|
|
169459
|
+
/* harmony export */ "BingElevationProvider": () => (/* reexport safe */ _map_BingElevation__WEBPACK_IMPORTED_MODULE_61__.BingElevationProvider),
|
|
169460
|
+
/* harmony export */ "BingMapsImageryLayerProvider": () => (/* reexport safe */ _map_ImageryProviders_BingImageryProvider__WEBPACK_IMPORTED_MODULE_46__.BingMapsImageryLayerProvider),
|
|
169461
|
+
/* harmony export */ "CesiumIonAssetProvider": () => (/* reexport safe */ _CesiumAssetProvider__WEBPACK_IMPORTED_MODULE_75__.CesiumIonAssetProvider),
|
|
169462
|
+
/* harmony export */ "ContextShareProvider": () => (/* reexport safe */ _ContextShareProvider__WEBPACK_IMPORTED_MODULE_76__.ContextShareProvider),
|
|
169308
169463
|
/* harmony export */ "DisclosedTileTreeSet": () => (/* reexport safe */ _DisclosedTileTreeSet__WEBPACK_IMPORTED_MODULE_3__.DisclosedTileTreeSet),
|
|
169309
|
-
/* harmony export */ "DynamicIModelTile": () => (/* reexport safe */
|
|
169310
|
-
/* harmony export */ "EllipsoidTerrainProvider": () => (/* reexport safe */
|
|
169311
|
-
/* harmony export */ "GeographicTilingScheme": () => (/* reexport safe */
|
|
169464
|
+
/* harmony export */ "DynamicIModelTile": () => (/* reexport safe */ _DynamicIModelTile__WEBPACK_IMPORTED_MODULE_67__.DynamicIModelTile),
|
|
169465
|
+
/* harmony export */ "EllipsoidTerrainProvider": () => (/* reexport safe */ _map_EllipsoidTerrainProvider__WEBPACK_IMPORTED_MODULE_57__.EllipsoidTerrainProvider),
|
|
169466
|
+
/* harmony export */ "GeographicTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__.GeographicTilingScheme),
|
|
169312
169467
|
/* harmony export */ "GltfBufferData": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfBufferData),
|
|
169313
169468
|
/* harmony export */ "GltfDataType": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfDataType),
|
|
169314
169469
|
/* harmony export */ "GltfGraphicsReader": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfGraphicsReader),
|
|
@@ -169319,56 +169474,56 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169319
169474
|
/* harmony export */ "GltfWrapMode": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfWrapMode),
|
|
169320
169475
|
/* harmony export */ "GraphicsCollectorDrawArgs": () => (/* reexport safe */ _GraphicsCollector__WEBPACK_IMPORTED_MODULE_11__.GraphicsCollectorDrawArgs),
|
|
169321
169476
|
/* harmony export */ "I3dmReader": () => (/* reexport safe */ _I3dmReader__WEBPACK_IMPORTED_MODULE_31__.I3dmReader),
|
|
169322
|
-
/* harmony export */ "IModelTile": () => (/* reexport safe */
|
|
169477
|
+
/* harmony export */ "IModelTile": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_66__.IModelTile),
|
|
169323
169478
|
/* harmony export */ "IModelTileRequestChannels": () => (/* reexport safe */ _IModelTileRequestChannels__WEBPACK_IMPORTED_MODULE_25__.IModelTileRequestChannels),
|
|
169324
|
-
/* harmony export */ "IModelTileTree": () => (/* reexport safe */
|
|
169325
|
-
/* harmony export */ "ImageryMapLayerFormat": () => (/* reexport safe */
|
|
169326
|
-
/* harmony export */ "ImageryMapLayerTreeReference": () => (/* reexport safe */
|
|
169327
|
-
/* harmony export */ "ImageryMapTile": () => (/* reexport safe */
|
|
169328
|
-
/* harmony export */ "ImageryMapTileTree": () => (/* reexport safe */
|
|
169479
|
+
/* harmony export */ "IModelTileTree": () => (/* reexport safe */ _IModelTileTree__WEBPACK_IMPORTED_MODULE_68__.IModelTileTree),
|
|
169480
|
+
/* harmony export */ "ImageryMapLayerFormat": () => (/* reexport safe */ _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_51__.ImageryMapLayerFormat),
|
|
169481
|
+
/* harmony export */ "ImageryMapLayerTreeReference": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_72__.ImageryMapLayerTreeReference),
|
|
169482
|
+
/* harmony export */ "ImageryMapTile": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_72__.ImageryMapTile),
|
|
169483
|
+
/* harmony export */ "ImageryMapTileTree": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_72__.ImageryMapTileTree),
|
|
169329
169484
|
/* harmony export */ "ImdlReader": () => (/* reexport safe */ _ImdlReader__WEBPACK_IMPORTED_MODULE_33__.ImdlReader),
|
|
169330
169485
|
/* harmony export */ "LRUTileList": () => (/* reexport safe */ _LRUTileList__WEBPACK_IMPORTED_MODULE_5__.LRUTileList),
|
|
169331
|
-
/* harmony export */ "MapBoxLayerImageryProvider": () => (/* reexport safe */
|
|
169486
|
+
/* harmony export */ "MapBoxLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_MapBoxLayerImageryProvider__WEBPACK_IMPORTED_MODULE_47__.MapBoxLayerImageryProvider),
|
|
169332
169487
|
/* harmony export */ "MapCartoRectangle": () => (/* reexport safe */ _map_MapCartoRectangle__WEBPACK_IMPORTED_MODULE_1__.MapCartoRectangle),
|
|
169333
169488
|
/* harmony export */ "MapFeatureInfoRecord": () => (/* reexport safe */ _map_MapFeatureInfo__WEBPACK_IMPORTED_MODULE_36__.MapFeatureInfoRecord),
|
|
169334
169489
|
/* harmony export */ "MapLayerFormat": () => (/* reexport safe */ _map_MapLayerFormatRegistry__WEBPACK_IMPORTED_MODULE_37__.MapLayerFormat),
|
|
169335
169490
|
/* harmony export */ "MapLayerFormatRegistry": () => (/* reexport safe */ _map_MapLayerFormatRegistry__WEBPACK_IMPORTED_MODULE_37__.MapLayerFormatRegistry),
|
|
169336
169491
|
/* harmony export */ "MapLayerImageryProvider": () => (/* reexport safe */ _map_MapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_42__.MapLayerImageryProvider),
|
|
169337
169492
|
/* harmony export */ "MapLayerImageryProviderStatus": () => (/* reexport safe */ _map_MapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_42__.MapLayerImageryProviderStatus),
|
|
169338
|
-
/* harmony export */ "MapLayerSource": () => (/* reexport safe */
|
|
169339
|
-
/* harmony export */ "MapLayerSourceStatus": () => (/* reexport safe */
|
|
169340
|
-
/* harmony export */ "MapLayerSources": () => (/* reexport safe */
|
|
169341
|
-
/* harmony export */ "MapLayerTileTreeReference": () => (/* reexport safe */
|
|
169342
|
-
/* harmony export */ "MapTile": () => (/* reexport safe */
|
|
169343
|
-
/* harmony export */ "MapTileLoader": () => (/* reexport safe */
|
|
169344
|
-
/* harmony export */ "MapTileProjection": () => (/* reexport safe */
|
|
169345
|
-
/* harmony export */ "MapTileTree": () => (/* reexport safe */
|
|
169346
|
-
/* harmony export */ "MapTileTreeReference": () => (/* reexport safe */
|
|
169347
|
-
/* harmony export */ "MapTiledGraphicsProvider": () => (/* reexport safe */
|
|
169348
|
-
/* harmony export */ "MapTilingScheme": () => (/* reexport safe */
|
|
169349
|
-
/* harmony export */ "ModelMapLayerTileTreeReference": () => (/* reexport safe */
|
|
169350
|
-
/* harmony export */ "OPCFormatInterpreter": () => (/* reexport safe */
|
|
169351
|
-
/* harmony export */ "OrbitGtTileTree": () => (/* reexport safe */
|
|
169352
|
-
/* harmony export */ "PlanarTilePatch": () => (/* reexport safe */
|
|
169493
|
+
/* harmony export */ "MapLayerSource": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_73__.MapLayerSource),
|
|
169494
|
+
/* harmony export */ "MapLayerSourceStatus": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_73__.MapLayerSourceStatus),
|
|
169495
|
+
/* harmony export */ "MapLayerSources": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_73__.MapLayerSources),
|
|
169496
|
+
/* harmony export */ "MapLayerTileTreeReference": () => (/* reexport safe */ _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_52__.MapLayerTileTreeReference),
|
|
169497
|
+
/* harmony export */ "MapTile": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_58__.MapTile),
|
|
169498
|
+
/* harmony export */ "MapTileLoader": () => (/* reexport safe */ _map_MapTileLoader__WEBPACK_IMPORTED_MODULE_60__.MapTileLoader),
|
|
169499
|
+
/* harmony export */ "MapTileProjection": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_58__.MapTileProjection),
|
|
169500
|
+
/* harmony export */ "MapTileTree": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_53__.MapTileTree),
|
|
169501
|
+
/* harmony export */ "MapTileTreeReference": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_53__.MapTileTreeReference),
|
|
169502
|
+
/* harmony export */ "MapTiledGraphicsProvider": () => (/* reexport safe */ _map_MapTiledGraphicsProvider__WEBPACK_IMPORTED_MODULE_74__.MapTiledGraphicsProvider),
|
|
169503
|
+
/* harmony export */ "MapTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__.MapTilingScheme),
|
|
169504
|
+
/* harmony export */ "ModelMapLayerTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.ModelMapLayerTileTreeReference),
|
|
169505
|
+
/* harmony export */ "OPCFormatInterpreter": () => (/* reexport safe */ _OPCFormatInterpreter__WEBPACK_IMPORTED_MODULE_78__.OPCFormatInterpreter),
|
|
169506
|
+
/* harmony export */ "OrbitGtTileTree": () => (/* reexport safe */ _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_71__.OrbitGtTileTree),
|
|
169507
|
+
/* harmony export */ "PlanarTilePatch": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_58__.PlanarTilePatch),
|
|
169353
169508
|
/* harmony export */ "QuadId": () => (/* reexport safe */ _map_QuadId__WEBPACK_IMPORTED_MODULE_2__.QuadId),
|
|
169354
169509
|
/* harmony export */ "ReadonlyTileUserSet": () => (/* reexport safe */ _TileUserSet__WEBPACK_IMPORTED_MODULE_29__.ReadonlyTileUserSet),
|
|
169355
|
-
/* harmony export */ "RealityModelTileTree": () => (/* reexport safe */
|
|
169356
|
-
/* harmony export */ "RealityModelTileUtils": () => (/* reexport safe */
|
|
169510
|
+
/* harmony export */ "RealityModelTileTree": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.RealityModelTileTree),
|
|
169511
|
+
/* harmony export */ "RealityModelTileUtils": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.RealityModelTileUtils),
|
|
169357
169512
|
/* harmony export */ "RealityTile": () => (/* reexport safe */ _RealityTile__WEBPACK_IMPORTED_MODULE_6__.RealityTile),
|
|
169358
169513
|
/* harmony export */ "RealityTileDrawArgs": () => (/* reexport safe */ _RealityTileDrawArgs__WEBPACK_IMPORTED_MODULE_10__.RealityTileDrawArgs),
|
|
169359
|
-
/* harmony export */ "RealityTileLoader": () => (/* reexport safe */
|
|
169360
|
-
/* harmony export */ "RealityTileRegion": () => (/* reexport safe */
|
|
169514
|
+
/* harmony export */ "RealityTileLoader": () => (/* reexport safe */ _RealityTileLoader__WEBPACK_IMPORTED_MODULE_59__.RealityTileLoader),
|
|
169515
|
+
/* harmony export */ "RealityTileRegion": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.RealityTileRegion),
|
|
169361
169516
|
/* harmony export */ "RealityTileTree": () => (/* reexport safe */ _RealityTileTree__WEBPACK_IMPORTED_MODULE_15__.RealityTileTree),
|
|
169362
|
-
/* harmony export */ "RealityTreeReference": () => (/* reexport safe */
|
|
169363
|
-
/* harmony export */ "SelectParent": () => (/* reexport safe */
|
|
169364
|
-
/* harmony export */ "SpatialClassifierTileTreeReference": () => (/* reexport safe */
|
|
169365
|
-
/* harmony export */ "SpatialTileTreeReferences": () => (/* reexport safe */
|
|
169366
|
-
/* harmony export */ "TerrainMeshProvider": () => (/* reexport safe */
|
|
169367
|
-
/* harmony export */ "TerrainProviderRegistry": () => (/* reexport safe */
|
|
169368
|
-
/* harmony export */ "ThreeDTileFormatInterpreter": () => (/* reexport safe */
|
|
169517
|
+
/* harmony export */ "RealityTreeReference": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.RealityTreeReference),
|
|
169518
|
+
/* harmony export */ "SelectParent": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_66__.SelectParent),
|
|
169519
|
+
/* harmony export */ "SpatialClassifierTileTreeReference": () => (/* reexport safe */ _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_70__.SpatialClassifierTileTreeReference),
|
|
169520
|
+
/* harmony export */ "SpatialTileTreeReferences": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.SpatialTileTreeReferences),
|
|
169521
|
+
/* harmony export */ "TerrainMeshProvider": () => (/* reexport safe */ _map_TerrainMeshProvider__WEBPACK_IMPORTED_MODULE_54__.TerrainMeshProvider),
|
|
169522
|
+
/* harmony export */ "TerrainProviderRegistry": () => (/* reexport safe */ _map_TerrainProvider__WEBPACK_IMPORTED_MODULE_55__.TerrainProviderRegistry),
|
|
169523
|
+
/* harmony export */ "ThreeDTileFormatInterpreter": () => (/* reexport safe */ _ThreeDTileFormatInterpreter__WEBPACK_IMPORTED_MODULE_77__.ThreeDTileFormatInterpreter),
|
|
169369
169524
|
/* harmony export */ "Tile": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.Tile),
|
|
169370
169525
|
/* harmony export */ "TileAdmin": () => (/* reexport safe */ _TileAdmin__WEBPACK_IMPORTED_MODULE_21__.TileAdmin),
|
|
169371
|
-
/* harmony export */ "TileAvailability": () => (/* reexport safe */
|
|
169526
|
+
/* harmony export */ "TileAvailability": () => (/* reexport safe */ _map_MapTileAvailability__WEBPACK_IMPORTED_MODULE_63__.TileAvailability),
|
|
169372
169527
|
/* harmony export */ "TileBoundingBoxes": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.TileBoundingBoxes),
|
|
169373
169528
|
/* harmony export */ "TileDrawArgs": () => (/* reexport safe */ _TileDrawArgs__WEBPACK_IMPORTED_MODULE_9__.TileDrawArgs),
|
|
169374
169529
|
/* harmony export */ "TileGeometryCollector": () => (/* reexport safe */ _TileGeometryCollector__WEBPACK_IMPORTED_MODULE_19__.TileGeometryCollector),
|
|
@@ -169383,7 +169538,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169383
169538
|
/* harmony export */ "TileTree": () => (/* reexport safe */ _TileTree__WEBPACK_IMPORTED_MODULE_14__.TileTree),
|
|
169384
169539
|
/* harmony export */ "TileTreeLoadStatus": () => (/* reexport safe */ _TileTree__WEBPACK_IMPORTED_MODULE_14__.TileTreeLoadStatus),
|
|
169385
169540
|
/* harmony export */ "TileTreeReference": () => (/* reexport safe */ _TileTreeReference__WEBPACK_IMPORTED_MODULE_18__.TileTreeReference),
|
|
169386
|
-
/* harmony export */ "TileUrlImageryProvider": () => (/* reexport safe */
|
|
169541
|
+
/* harmony export */ "TileUrlImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_TileUrlImageryProvider__WEBPACK_IMPORTED_MODULE_48__.TileUrlImageryProvider),
|
|
169387
169542
|
/* harmony export */ "TileUsageMarker": () => (/* reexport safe */ _TileUsageMarker__WEBPACK_IMPORTED_MODULE_27__.TileUsageMarker),
|
|
169388
169543
|
/* harmony export */ "TileUser": () => (/* reexport safe */ _TileUser__WEBPACK_IMPORTED_MODULE_28__.TileUser),
|
|
169389
169544
|
/* harmony export */ "TileUserIdSet": () => (/* reexport safe */ _LRUTileList__WEBPACK_IMPORTED_MODULE_5__.TileUserIdSet),
|
|
@@ -169394,38 +169549,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169394
169549
|
/* harmony export */ "TraversalDetails": () => (/* reexport safe */ _RealityTileTree__WEBPACK_IMPORTED_MODULE_15__.TraversalDetails),
|
|
169395
169550
|
/* harmony export */ "TraversalSelectionContext": () => (/* reexport safe */ _RealityTileTree__WEBPACK_IMPORTED_MODULE_15__.TraversalSelectionContext),
|
|
169396
169551
|
/* harmony export */ "UniqueTileUserSets": () => (/* reexport safe */ _TileUserSet__WEBPACK_IMPORTED_MODULE_29__.UniqueTileUserSets),
|
|
169397
|
-
/* harmony export */ "UpsampledMapTile": () => (/* reexport safe */
|
|
169398
|
-
/* harmony export */ "WebMercatorProjection": () => (/* reexport safe */
|
|
169399
|
-
/* harmony export */ "WebMercatorTilingScheme": () => (/* reexport safe */
|
|
169552
|
+
/* harmony export */ "UpsampledMapTile": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_58__.UpsampledMapTile),
|
|
169553
|
+
/* harmony export */ "WebMercatorProjection": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__.WebMercatorProjection),
|
|
169554
|
+
/* harmony export */ "WebMercatorTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__.WebMercatorTilingScheme),
|
|
169400
169555
|
/* harmony export */ "WmsCapabilities": () => (/* reexport safe */ _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_40__.WmsCapabilities),
|
|
169401
169556
|
/* harmony export */ "WmsCapability": () => (/* reexport safe */ _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_40__.WmsCapability),
|
|
169402
|
-
/* harmony export */ "WmsMapLayerImageryProvider": () => (/* reexport safe */
|
|
169557
|
+
/* harmony export */ "WmsMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_WmsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_49__.WmsMapLayerImageryProvider),
|
|
169403
169558
|
/* harmony export */ "WmsUtilities": () => (/* reexport safe */ _map_WmsUtilities__WEBPACK_IMPORTED_MODULE_39__.WmsUtilities),
|
|
169404
169559
|
/* harmony export */ "WmtsCapabilities": () => (/* reexport safe */ _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_41__.WmtsCapabilities),
|
|
169405
169560
|
/* harmony export */ "WmtsCapability": () => (/* reexport safe */ _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_41__.WmtsCapability),
|
|
169406
|
-
/* harmony export */ "WmtsMapLayerImageryProvider": () => (/* reexport safe */
|
|
169561
|
+
/* harmony export */ "WmtsMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_WmtsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_50__.WmtsMapLayerImageryProvider),
|
|
169407
169562
|
/* harmony export */ "addRangeGraphic": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.addRangeGraphic),
|
|
169408
|
-
/* harmony export */ "createClassifierTileTreeReference": () => (/* reexport safe */
|
|
169563
|
+
/* harmony export */ "createClassifierTileTreeReference": () => (/* reexport safe */ _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_70__.createClassifierTileTreeReference),
|
|
169409
169564
|
/* harmony export */ "createDefaultViewFlagOverrides": () => (/* reexport safe */ _ViewFlagOverrides__WEBPACK_IMPORTED_MODULE_0__.createDefaultViewFlagOverrides),
|
|
169410
|
-
/* harmony export */ "createMapLayerTreeReference": () => (/* reexport safe */
|
|
169411
|
-
/* harmony export */ "createMaskTreeReference": () => (/* reexport safe */
|
|
169412
|
-
/* harmony export */ "createModelMapLayerTileTreeReference": () => (/* reexport safe */
|
|
169413
|
-
/* harmony export */ "createOrbitGtTileTreeReference": () => (/* reexport safe */
|
|
169414
|
-
/* harmony export */ "createPrimaryTileTreeReference": () => (/* reexport safe */
|
|
169415
|
-
/* harmony export */ "createRealityTileTreeReference": () => (/* reexport safe */
|
|
169416
|
-
/* harmony export */ "disposeTileTreesForGeometricModels": () => (/* reexport safe */
|
|
169417
|
-
/* harmony export */ "getCesiumAccessTokenAndEndpointUrl": () => (/* reexport safe */
|
|
169418
|
-
/* harmony export */ "getCesiumAssetUrl": () => (/* reexport safe */
|
|
169419
|
-
/* harmony export */ "getCesiumOSMBuildingsUrl": () => (/* reexport safe */
|
|
169420
|
-
/* harmony export */ "getCesiumTerrainProvider": () => (/* reexport safe */
|
|
169421
|
-
/* harmony export */ "getGcsConverterAvailable": () => (/* reexport safe */
|
|
169422
|
-
/* harmony export */ "iModelTileParamsFromJSON": () => (/* reexport safe */
|
|
169423
|
-
/* harmony export */ "iModelTileTreeParamsFromJSON": () => (/* reexport safe */
|
|
169424
|
-
/* harmony export */ "internalMapLayerImageryFormats": () => (/* reexport safe */
|
|
169565
|
+
/* harmony export */ "createMapLayerTreeReference": () => (/* reexport safe */ _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_52__.createMapLayerTreeReference),
|
|
169566
|
+
/* harmony export */ "createMaskTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.createMaskTreeReference),
|
|
169567
|
+
/* harmony export */ "createModelMapLayerTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.createModelMapLayerTileTreeReference),
|
|
169568
|
+
/* harmony export */ "createOrbitGtTileTreeReference": () => (/* reexport safe */ _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_71__.createOrbitGtTileTreeReference),
|
|
169569
|
+
/* harmony export */ "createPrimaryTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.createPrimaryTileTreeReference),
|
|
169570
|
+
/* harmony export */ "createRealityTileTreeReference": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.createRealityTileTreeReference),
|
|
169571
|
+
/* harmony export */ "disposeTileTreesForGeometricModels": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.disposeTileTreesForGeometricModels),
|
|
169572
|
+
/* harmony export */ "getCesiumAccessTokenAndEndpointUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__.getCesiumAccessTokenAndEndpointUrl),
|
|
169573
|
+
/* harmony export */ "getCesiumAssetUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__.getCesiumAssetUrl),
|
|
169574
|
+
/* harmony export */ "getCesiumOSMBuildingsUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__.getCesiumOSMBuildingsUrl),
|
|
169575
|
+
/* harmony export */ "getCesiumTerrainProvider": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__.getCesiumTerrainProvider),
|
|
169576
|
+
/* harmony export */ "getGcsConverterAvailable": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_53__.getGcsConverterAvailable),
|
|
169577
|
+
/* harmony export */ "iModelTileParamsFromJSON": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_66__.iModelTileParamsFromJSON),
|
|
169578
|
+
/* harmony export */ "iModelTileTreeParamsFromJSON": () => (/* reexport safe */ _IModelTileTree__WEBPACK_IMPORTED_MODULE_68__.iModelTileTreeParamsFromJSON),
|
|
169579
|
+
/* harmony export */ "internalMapLayerImageryFormats": () => (/* reexport safe */ _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_51__.internalMapLayerImageryFormats),
|
|
169425
169580
|
/* harmony export */ "overrideRequestTileTreeProps": () => (/* reexport safe */ _TileAdmin__WEBPACK_IMPORTED_MODULE_21__.overrideRequestTileTreeProps),
|
|
169426
169581
|
/* harmony export */ "readElementGraphics": () => (/* reexport safe */ _ImdlReader__WEBPACK_IMPORTED_MODULE_33__.readElementGraphics),
|
|
169427
169582
|
/* harmony export */ "readGltfGraphics": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.readGltfGraphics),
|
|
169428
|
-
/* harmony export */ "readPointCloudTileContent": () => (/* reexport safe */
|
|
169583
|
+
/* harmony export */ "readPointCloudTileContent": () => (/* reexport safe */ _PntsReader__WEBPACK_IMPORTED_MODULE_64__.readPointCloudTileContent)
|
|
169429
169584
|
/* harmony export */ });
|
|
169430
169585
|
/* harmony import */ var _ViewFlagOverrides__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ViewFlagOverrides */ "../../core/frontend/lib/esm/tile/ViewFlagOverrides.js");
|
|
169431
169586
|
/* harmony import */ var _map_MapCartoRectangle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map/MapCartoRectangle */ "../../core/frontend/lib/esm/tile/map/MapCartoRectangle.js");
|
|
@@ -169470,41 +169625,42 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169470
169625
|
/* harmony import */ var _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./map/WmsCapabilities */ "../../core/frontend/lib/esm/tile/map/WmsCapabilities.js");
|
|
169471
169626
|
/* harmony import */ var _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./map/WmtsCapabilities */ "../../core/frontend/lib/esm/tile/map/WmtsCapabilities.js");
|
|
169472
169627
|
/* harmony import */ var _map_MapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./map/MapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/MapLayerImageryProvider.js");
|
|
169473
|
-
/* harmony import */ var
|
|
169474
|
-
/* harmony import */ var
|
|
169475
|
-
/* harmony import */ var
|
|
169476
|
-
/* harmony import */ var
|
|
169477
|
-
/* harmony import */ var
|
|
169478
|
-
/* harmony import */ var
|
|
169479
|
-
/* harmony import */ var
|
|
169480
|
-
/* harmony import */ var
|
|
169481
|
-
/* harmony import */ var
|
|
169482
|
-
/* harmony import */ var
|
|
169483
|
-
/* harmony import */ var
|
|
169484
|
-
/* harmony import */ var
|
|
169485
|
-
/* harmony import */ var
|
|
169486
|
-
/* harmony import */ var
|
|
169487
|
-
/* harmony import */ var
|
|
169488
|
-
/* harmony import */ var
|
|
169489
|
-
/* harmony import */ var
|
|
169490
|
-
/* harmony import */ var
|
|
169491
|
-
/* harmony import */ var
|
|
169492
|
-
/* harmony import */ var
|
|
169493
|
-
/* harmony import */ var
|
|
169494
|
-
/* harmony import */ var
|
|
169495
|
-
/* harmony import */ var
|
|
169496
|
-
/* harmony import */ var
|
|
169497
|
-
/* harmony import */ var
|
|
169498
|
-
/* harmony import */ var
|
|
169499
|
-
/* harmony import */ var
|
|
169500
|
-
/* harmony import */ var
|
|
169501
|
-
/* harmony import */ var
|
|
169502
|
-
/* harmony import */ var
|
|
169503
|
-
/* harmony import */ var
|
|
169504
|
-
/* harmony import */ var
|
|
169505
|
-
/* harmony import */ var
|
|
169506
|
-
/* harmony import */ var
|
|
169507
|
-
/* harmony import */ var
|
|
169628
|
+
/* harmony import */ var _map_ImageryProviders_ArcGISImageryProvider__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./map/ImageryProviders/ArcGISImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISImageryProvider.js");
|
|
169629
|
+
/* harmony import */ var _map_ImageryProviders_ArcGISMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./map/ImageryProviders/ArcGISMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js");
|
|
169630
|
+
/* harmony import */ var _map_ImageryProviders_AzureMapsLayerImageryProvider__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./map/ImageryProviders/AzureMapsLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js");
|
|
169631
|
+
/* harmony import */ var _map_ImageryProviders_BingImageryProvider__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./map/ImageryProviders/BingImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/BingImageryProvider.js");
|
|
169632
|
+
/* harmony import */ var _map_ImageryProviders_MapBoxLayerImageryProvider__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./map/ImageryProviders/MapBoxLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js");
|
|
169633
|
+
/* harmony import */ var _map_ImageryProviders_TileUrlImageryProvider__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./map/ImageryProviders/TileUrlImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/TileUrlImageryProvider.js");
|
|
169634
|
+
/* harmony import */ var _map_ImageryProviders_WmsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./map/ImageryProviders/WmsMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/WmsMapLayerImageryProvider.js");
|
|
169635
|
+
/* harmony import */ var _map_ImageryProviders_WmtsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./map/ImageryProviders/WmtsMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.js");
|
|
169636
|
+
/* harmony import */ var _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./map/MapLayerImageryFormats */ "../../core/frontend/lib/esm/tile/map/MapLayerImageryFormats.js");
|
|
169637
|
+
/* harmony import */ var _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./map/MapLayerTileTreeReference */ "../../core/frontend/lib/esm/tile/map/MapLayerTileTreeReference.js");
|
|
169638
|
+
/* harmony import */ var _map_MapTileTree__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./map/MapTileTree */ "../../core/frontend/lib/esm/tile/map/MapTileTree.js");
|
|
169639
|
+
/* harmony import */ var _map_TerrainMeshProvider__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./map/TerrainMeshProvider */ "../../core/frontend/lib/esm/tile/map/TerrainMeshProvider.js");
|
|
169640
|
+
/* harmony import */ var _map_TerrainProvider__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./map/TerrainProvider */ "../../core/frontend/lib/esm/tile/map/TerrainProvider.js");
|
|
169641
|
+
/* harmony import */ var _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./map/CesiumTerrainProvider */ "../../core/frontend/lib/esm/tile/map/CesiumTerrainProvider.js");
|
|
169642
|
+
/* harmony import */ var _map_EllipsoidTerrainProvider__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./map/EllipsoidTerrainProvider */ "../../core/frontend/lib/esm/tile/map/EllipsoidTerrainProvider.js");
|
|
169643
|
+
/* harmony import */ var _map_MapTile__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./map/MapTile */ "../../core/frontend/lib/esm/tile/map/MapTile.js");
|
|
169644
|
+
/* harmony import */ var _RealityTileLoader__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./RealityTileLoader */ "../../core/frontend/lib/esm/tile/RealityTileLoader.js");
|
|
169645
|
+
/* harmony import */ var _map_MapTileLoader__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./map/MapTileLoader */ "../../core/frontend/lib/esm/tile/map/MapTileLoader.js");
|
|
169646
|
+
/* harmony import */ var _map_BingElevation__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./map/BingElevation */ "../../core/frontend/lib/esm/tile/map/BingElevation.js");
|
|
169647
|
+
/* harmony import */ var _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./map/MapTilingScheme */ "../../core/frontend/lib/esm/tile/map/MapTilingScheme.js");
|
|
169648
|
+
/* harmony import */ var _map_MapTileAvailability__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./map/MapTileAvailability */ "../../core/frontend/lib/esm/tile/map/MapTileAvailability.js");
|
|
169649
|
+
/* harmony import */ var _PntsReader__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./PntsReader */ "../../core/frontend/lib/esm/tile/PntsReader.js");
|
|
169650
|
+
/* harmony import */ var _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./RealityModelTileTree */ "../../core/frontend/lib/esm/tile/RealityModelTileTree.js");
|
|
169651
|
+
/* harmony import */ var _IModelTile__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./IModelTile */ "../../core/frontend/lib/esm/tile/IModelTile.js");
|
|
169652
|
+
/* harmony import */ var _DynamicIModelTile__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./DynamicIModelTile */ "../../core/frontend/lib/esm/tile/DynamicIModelTile.js");
|
|
169653
|
+
/* harmony import */ var _IModelTileTree__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./IModelTileTree */ "../../core/frontend/lib/esm/tile/IModelTileTree.js");
|
|
169654
|
+
/* harmony import */ var _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./PrimaryTileTree */ "../../core/frontend/lib/esm/tile/PrimaryTileTree.js");
|
|
169655
|
+
/* harmony import */ var _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./ClassifierTileTree */ "../../core/frontend/lib/esm/tile/ClassifierTileTree.js");
|
|
169656
|
+
/* harmony import */ var _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./OrbitGtTileTree */ "../../core/frontend/lib/esm/tile/OrbitGtTileTree.js");
|
|
169657
|
+
/* harmony import */ var _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./map/ImageryTileTree */ "../../core/frontend/lib/esm/tile/map/ImageryTileTree.js");
|
|
169658
|
+
/* harmony import */ var _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./map/MapLayerSources */ "../../core/frontend/lib/esm/tile/map/MapLayerSources.js");
|
|
169659
|
+
/* harmony import */ var _map_MapTiledGraphicsProvider__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./map/MapTiledGraphicsProvider */ "../../core/frontend/lib/esm/tile/map/MapTiledGraphicsProvider.js");
|
|
169660
|
+
/* harmony import */ var _CesiumAssetProvider__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./CesiumAssetProvider */ "../../core/frontend/lib/esm/tile/CesiumAssetProvider.js");
|
|
169661
|
+
/* harmony import */ var _ContextShareProvider__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./ContextShareProvider */ "../../core/frontend/lib/esm/tile/ContextShareProvider.js");
|
|
169662
|
+
/* harmony import */ var _ThreeDTileFormatInterpreter__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./ThreeDTileFormatInterpreter */ "../../core/frontend/lib/esm/tile/ThreeDTileFormatInterpreter.js");
|
|
169663
|
+
/* harmony import */ var _OPCFormatInterpreter__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./OPCFormatInterpreter */ "../../core/frontend/lib/esm/tile/OPCFormatInterpreter.js");
|
|
169508
169664
|
/*---------------------------------------------------------------------------------------------
|
|
169509
169665
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
169510
169666
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -169597,6 +169753,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169597
169753
|
|
|
169598
169754
|
|
|
169599
169755
|
|
|
169756
|
+
|
|
169600
169757
|
|
|
169601
169758
|
|
|
169602
169759
|
|
|
@@ -169821,9 +169978,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169821
169978
|
/* harmony export */ "ArcGisUtilities": () => (/* binding */ ArcGisUtilities)
|
|
169822
169979
|
/* harmony export */ });
|
|
169823
169980
|
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
169824
|
-
/* harmony import */ var
|
|
169825
|
-
/* harmony import */ var
|
|
169826
|
-
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
169981
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
169982
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
169827
169983
|
/*---------------------------------------------------------------------------------------------
|
|
169828
169984
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
169829
169985
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -169831,7 +169987,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169831
169987
|
|
|
169832
169988
|
|
|
169833
169989
|
|
|
169834
|
-
|
|
169835
169990
|
/** @packageDocumentation
|
|
169836
169991
|
* @module Tiles
|
|
169837
169992
|
*/
|
|
@@ -169846,35 +170001,15 @@ var ArcGisErrorCode;
|
|
|
169846
170001
|
})(ArcGisErrorCode || (ArcGisErrorCode = {}));
|
|
169847
170002
|
/** @internal */
|
|
169848
170003
|
class ArcGisUtilities {
|
|
169849
|
-
static hasTokenError(response) {
|
|
169850
|
-
var _a, _b, _c;
|
|
169851
|
-
if (response.header && ((_a = response.header["content-type"]) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes("json"))) {
|
|
169852
|
-
try {
|
|
169853
|
-
// Tile response returns byte array, so we need to check the response data type and convert accordingly.
|
|
169854
|
-
const json = ((response.body instanceof ArrayBuffer) ? JSON.parse(Buffer.from(response.body).toString()) : response.body);
|
|
169855
|
-
return (((_b = json === null || json === void 0 ? void 0 : json.error) === null || _b === void 0 ? void 0 : _b.code) === ArcGisErrorCode.TokenRequired || ((_c = json === null || json === void 0 ? void 0 : json.error) === null || _c === void 0 ? void 0 : _c.code) === ArcGisErrorCode.InvalidToken);
|
|
169856
|
-
}
|
|
169857
|
-
catch (_err) {
|
|
169858
|
-
return false; // that probably means we failed to convert byte array to JSON
|
|
169859
|
-
}
|
|
169860
|
-
}
|
|
169861
|
-
return false;
|
|
169862
|
-
}
|
|
169863
170004
|
static getBBoxString(range) {
|
|
169864
170005
|
if (!range)
|
|
169865
|
-
range =
|
|
170006
|
+
range = _internal__WEBPACK_IMPORTED_MODULE_1__.MapCartoRectangle.createMaximum();
|
|
169866
170007
|
return `${range.low.x * _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Angle.degreesPerRadian},${range.low.y * _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Angle.degreesPerRadian},${range.high.x * _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Angle.degreesPerRadian},${range.high.y * _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Angle.degreesPerRadian}`;
|
|
169867
170008
|
}
|
|
169868
|
-
static async getEndpoint(url) {
|
|
169869
|
-
const capabilities = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_1__.request)(`${url}?f=pjson`, {
|
|
169870
|
-
method: "GET",
|
|
169871
|
-
responseType: "json",
|
|
169872
|
-
});
|
|
169873
|
-
return capabilities.body;
|
|
169874
|
-
}
|
|
169875
170009
|
static async getNationalMapSources() {
|
|
169876
170010
|
const sources = new Array();
|
|
169877
|
-
const
|
|
170011
|
+
const response = await fetch("https://viewer.nationalmap.gov/tnmaccess/api/getMapServiceList", { method: "GET" });
|
|
170012
|
+
const services = await response.json();
|
|
169878
170013
|
if (!Array.isArray(services))
|
|
169879
170014
|
return sources;
|
|
169880
170015
|
for (const service of services) {
|
|
@@ -169882,13 +170017,13 @@ class ArcGisUtilities {
|
|
|
169882
170017
|
continue;
|
|
169883
170018
|
switch (service.serviceType) {
|
|
169884
170019
|
case "ArcGIS":
|
|
169885
|
-
sources.push(
|
|
170020
|
+
sources.push(_internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: service.displayName, url: service.serviceLink, formatId: "ArcGIS" }));
|
|
169886
170021
|
break;
|
|
169887
170022
|
default: {
|
|
169888
170023
|
const wmsIndex = service.wmsUrl.lastIndexOf("/wms");
|
|
169889
170024
|
if (wmsIndex > 0) {
|
|
169890
170025
|
const url = service.wmsUrl.slice(0, wmsIndex + 4);
|
|
169891
|
-
sources.push(
|
|
170026
|
+
sources.push(_internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: service.displayName, url, formatId: "WMS" }));
|
|
169892
170027
|
}
|
|
169893
170028
|
break;
|
|
169894
170029
|
}
|
|
@@ -169900,7 +170035,8 @@ class ArcGisUtilities {
|
|
|
169900
170035
|
if (undefined === baseUrl)
|
|
169901
170036
|
baseUrl = url;
|
|
169902
170037
|
let sources = new Array();
|
|
169903
|
-
const
|
|
170038
|
+
const response = await fetch(`${url}?f=json`, { method: "GET" });
|
|
170039
|
+
const json = await response.json();
|
|
169904
170040
|
if (json !== undefined) {
|
|
169905
170041
|
if (Array.isArray(json.folders)) {
|
|
169906
170042
|
for (const folder of json.folders) {
|
|
@@ -169911,9 +170047,9 @@ class ArcGisUtilities {
|
|
|
169911
170047
|
for (const service of json.services) {
|
|
169912
170048
|
let source;
|
|
169913
170049
|
if (service.type === "MapServer")
|
|
169914
|
-
source =
|
|
170050
|
+
source = _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: service.name, url: `${baseUrl}/${service.name}/MapServer`, formatId: "ArcGIS" });
|
|
169915
170051
|
else if (service.type === "ImageServer")
|
|
169916
|
-
source =
|
|
170052
|
+
source = _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: service.name, url: `${baseUrl}/${service.name}/ImageServer`, formatId: "ArcGIS" });
|
|
169917
170053
|
if (source)
|
|
169918
170054
|
sources.push(source);
|
|
169919
170055
|
}
|
|
@@ -169924,13 +170060,14 @@ class ArcGisUtilities {
|
|
|
169924
170060
|
static async getSourcesFromQuery(range, url = "https://usgs.maps.arcgis.com/sharing/rest/search") {
|
|
169925
170061
|
const sources = new Array();
|
|
169926
170062
|
for (let start = 1; start > 0;) {
|
|
169927
|
-
const
|
|
170063
|
+
const response = await fetch(`${url}?f=json&q=(group:9d1199a521334e77a7d15abbc29f8144) AND (type:"Map Service")&bbox=${ArcGisUtilities.getBBoxString(range)}&sortOrder=desc&start=${start}&num=100`, { method: "GET" });
|
|
170064
|
+
const json = await response.json();
|
|
169928
170065
|
if (!json)
|
|
169929
170066
|
break;
|
|
169930
170067
|
start = json.nextStart ? json.nextStart : -1;
|
|
169931
170068
|
if (json !== undefined && Array.isArray(json.results)) {
|
|
169932
170069
|
for (const result of json.results) {
|
|
169933
|
-
const source =
|
|
170070
|
+
const source = _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: result.name ? result.name : result.title, url: result.url, formatId: "ArcGIS" });
|
|
169934
170071
|
if (source)
|
|
169935
170072
|
sources.push(source);
|
|
169936
170073
|
}
|
|
@@ -169938,33 +170075,45 @@ class ArcGisUtilities {
|
|
|
169938
170075
|
}
|
|
169939
170076
|
return sources;
|
|
169940
170077
|
}
|
|
169941
|
-
|
|
169942
|
-
|
|
170078
|
+
/**
|
|
170079
|
+
* Attempt to access an ArcGIS service, and validate its service metadata.
|
|
170080
|
+
* @param url URL of the source to validate.
|
|
170081
|
+
* @param formatId Format Id of the source.
|
|
170082
|
+
* @param capabilitiesFilter List of capabilities 'keyword' that needs to be advertised in the service's metadata
|
|
170083
|
+
* in order to be valid. For example: 'Map', 'Query', etc
|
|
170084
|
+
* @param userName Username to use for legacy token based security.
|
|
170085
|
+
* @param password Username to use for legacy token based security.
|
|
170086
|
+
* @param ignoreCache Flag to skip cache lookup (i.e. force a new server request)
|
|
170087
|
+
* @return Validation Status. If successful, a list of available sub-layers will also be returned.
|
|
170088
|
+
*/
|
|
170089
|
+
static async validateSource(url, formatId, capabilitiesFilter, userName, password, ignoreCache) {
|
|
170090
|
+
const json = await this.getServiceJson(url, formatId, userName, password, ignoreCache);
|
|
169943
170091
|
if (json === undefined) {
|
|
169944
|
-
return { status:
|
|
170092
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.InvalidUrl };
|
|
169945
170093
|
}
|
|
169946
170094
|
else if (json.error !== undefined) {
|
|
169947
170095
|
// If we got a 'Token Required' error, lets check what authentification methods this ESRI service offers
|
|
169948
170096
|
// and return information needed to initiate the authentification process... the end-user
|
|
169949
170097
|
// will have to provide his credentials before we can fully validate this source.
|
|
169950
170098
|
if (json.error.code === ArcGisErrorCode.TokenRequired) {
|
|
169951
|
-
return { status:
|
|
170099
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.RequireAuth };
|
|
169952
170100
|
}
|
|
169953
170101
|
else if (json.error.code === ArcGisErrorCode.InvalidCredentials)
|
|
169954
|
-
return { status:
|
|
170102
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.InvalidCredentials };
|
|
169955
170103
|
}
|
|
169956
|
-
// Check this service support
|
|
169957
|
-
let
|
|
170104
|
+
// Check this service support the expected queries
|
|
170105
|
+
let hasCapabilities = false;
|
|
169958
170106
|
try {
|
|
169959
|
-
if (json.capabilities
|
|
169960
|
-
|
|
169961
|
-
|
|
169962
|
-
|
|
170107
|
+
if (json.capabilities && typeof json.capabilities === "string") {
|
|
170108
|
+
const capabilities = json.capabilities;
|
|
170109
|
+
const capsArray = capabilities.split(",").map((entry) => entry.toLowerCase());
|
|
170110
|
+
const filtered = capsArray.filter((element, _index, _array) => capabilitiesFilter.includes(element));
|
|
170111
|
+
hasCapabilities = (filtered.length === capabilitiesFilter.length);
|
|
169963
170112
|
}
|
|
169964
170113
|
}
|
|
169965
170114
|
catch { }
|
|
169966
|
-
if (!
|
|
169967
|
-
return { status:
|
|
170115
|
+
if (!hasCapabilities) {
|
|
170116
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.InvalidFormat };
|
|
169968
170117
|
}
|
|
169969
170118
|
let subLayers;
|
|
169970
170119
|
if (json.layers) {
|
|
@@ -169975,39 +170124,63 @@ class ArcGisUtilities {
|
|
|
169975
170124
|
subLayers.push({ name: layer.name, visible: layer.defaultVisibility !== false, id: layer.id, parent, children });
|
|
169976
170125
|
}
|
|
169977
170126
|
}
|
|
169978
|
-
return { status:
|
|
170127
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.Valid, subLayers };
|
|
169979
170128
|
}
|
|
169980
|
-
|
|
169981
|
-
|
|
170129
|
+
/**
|
|
170130
|
+
* Fetch an ArcGIS service metadata, and returns its JSON representation.
|
|
170131
|
+
* If an access client has been configured for the specified formatId,
|
|
170132
|
+
* it will be used to apply required security token.
|
|
170133
|
+
* By default, response for each URL are cached.
|
|
170134
|
+
*/
|
|
170135
|
+
static async getServiceJson(url, formatId, userName, password, ignoreCache) {
|
|
169982
170136
|
if (!ignoreCache) {
|
|
169983
170137
|
const cached = ArcGisUtilities._serviceCache.get(url);
|
|
169984
170138
|
if (cached !== undefined)
|
|
169985
170139
|
return cached;
|
|
169986
170140
|
}
|
|
169987
170141
|
try {
|
|
169988
|
-
const options = {
|
|
169989
|
-
method: "GET",
|
|
169990
|
-
responseType: "json",
|
|
169991
|
-
};
|
|
169992
170142
|
const tmpUrl = new URL(url);
|
|
169993
170143
|
tmpUrl.searchParams.append("f", "json");
|
|
169994
|
-
const accessClient =
|
|
170144
|
+
const accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.mapLayerFormatRegistry.getAccessClient(formatId);
|
|
169995
170145
|
if (accessClient) {
|
|
169996
|
-
await ArcGisUtilities.appendSecurityToken(tmpUrl, accessClient, { mapLayerUrl: new URL(url), userName
|
|
170146
|
+
await ArcGisUtilities.appendSecurityToken(tmpUrl, accessClient, { mapLayerUrl: new URL(url), userName, password });
|
|
169997
170147
|
}
|
|
169998
|
-
const
|
|
169999
|
-
const
|
|
170000
|
-
|
|
170001
|
-
if (
|
|
170002
|
-
ArcGisUtilities._serviceCache.set(url, json);
|
|
170148
|
+
const response = await fetch(tmpUrl.toString(), { method: "GET" });
|
|
170149
|
+
const errorCode = await ArcGisUtilities.checkForResponseErrorCode(response);
|
|
170150
|
+
const json = await response.json();
|
|
170151
|
+
if (errorCode === undefined) {
|
|
170152
|
+
ArcGisUtilities._serviceCache.set(url, json); // Cache the response only if it doesn't contain a token error.
|
|
170003
170153
|
}
|
|
170004
|
-
|
|
170154
|
+
else {
|
|
170155
|
+
ArcGisUtilities._serviceCache.set(url, undefined);
|
|
170156
|
+
}
|
|
170157
|
+
return json; // Always return json, even though it contains an error code.
|
|
170005
170158
|
}
|
|
170006
170159
|
catch (_error) {
|
|
170007
170160
|
ArcGisUtilities._serviceCache.set(url, undefined);
|
|
170008
170161
|
return undefined;
|
|
170009
170162
|
}
|
|
170010
170163
|
}
|
|
170164
|
+
/** Read a response from ArcGIS server and check for error code in the response.
|
|
170165
|
+
*/
|
|
170166
|
+
static async checkForResponseErrorCode(response) {
|
|
170167
|
+
var _a, _b, _c;
|
|
170168
|
+
if (response.headers && ((_a = response.headers.get("content-type")) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes("json"))) {
|
|
170169
|
+
try {
|
|
170170
|
+
// Note:
|
|
170171
|
+
// Since response stream can only be read once (i.e. calls to .json() method)
|
|
170172
|
+
// we have to clone the response object in order to check for potential error code,
|
|
170173
|
+
// but still keep the response stream as unread.
|
|
170174
|
+
const clonedResponse = response.clone();
|
|
170175
|
+
const json = await clonedResponse.json();
|
|
170176
|
+
if (((_b = json === null || json === void 0 ? void 0 : json.error) === null || _b === void 0 ? void 0 : _b.code) !== undefined)
|
|
170177
|
+
return (_c = json === null || json === void 0 ? void 0 : json.error) === null || _c === void 0 ? void 0 : _c.code;
|
|
170178
|
+
}
|
|
170179
|
+
catch {
|
|
170180
|
+
}
|
|
170181
|
+
}
|
|
170182
|
+
return undefined;
|
|
170183
|
+
}
|
|
170011
170184
|
// return the appended access token if available.
|
|
170012
170185
|
static async appendSecurityToken(url, accessClient, accessTokenParams) {
|
|
170013
170186
|
// Append security token if available
|
|
@@ -170022,6 +170195,60 @@ class ArcGisUtilities {
|
|
|
170022
170195
|
}
|
|
170023
170196
|
return undefined;
|
|
170024
170197
|
}
|
|
170198
|
+
/**
|
|
170199
|
+
* Compute scale, resolution values for requested zoom levels (WSG 84)
|
|
170200
|
+
* Use a scale of 96 dpi for Google Maps scales
|
|
170201
|
+
* Based on this article: https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#Resolution_and_Scale
|
|
170202
|
+
* @param startZoom Zoom level where scales begins to be computed
|
|
170203
|
+
* @param endZoom Zoom level where scales ends to be computed
|
|
170204
|
+
* @param latitude Latitude in degrees to use to compute scales (i.e 0 for Equator)
|
|
170205
|
+
* @param tileSize Size of a tile in pixels (i.e 256)
|
|
170206
|
+
* @param screenDpi Monitor resolution in dots per inch (i.e. typically 96dpi is used by Google Maps)
|
|
170207
|
+
* @returns An array containing resolution and scale values for each requested zoom level
|
|
170208
|
+
*/
|
|
170209
|
+
static computeZoomLevelsScales(startZoom = 0, endZoom = 20, latitude = 0, tileSize = 256, screenDpi = 96) {
|
|
170210
|
+
// Note: There is probably a more direct way to compute this, but I prefer to go for a simple and well documented approach.
|
|
170211
|
+
if (startZoom < 0 || endZoom < startZoom || tileSize < 0 || screenDpi < 1 || latitude < -90 || latitude > 90)
|
|
170212
|
+
return [];
|
|
170213
|
+
const inchPerMeter = 1 / 0.0254;
|
|
170214
|
+
const results = [];
|
|
170215
|
+
const equatorLength = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Constant.earthRadiusWGS84.equator * 2 * Math.PI;
|
|
170216
|
+
const zoom0Resolution = equatorLength / tileSize; // in meters per pixel
|
|
170217
|
+
const cosLatitude = Math.cos(latitude);
|
|
170218
|
+
for (let zoom = startZoom; zoom <= endZoom; zoom++) {
|
|
170219
|
+
const resolution = zoom0Resolution * cosLatitude / Math.pow(2, zoom);
|
|
170220
|
+
const scale = screenDpi * inchPerMeter * resolution;
|
|
170221
|
+
results.push({ zoom, resolution, scale });
|
|
170222
|
+
}
|
|
170223
|
+
return results;
|
|
170224
|
+
}
|
|
170225
|
+
/**
|
|
170226
|
+
* Match the provided minScale,maxScale values to corresponding wgs84 zoom levels
|
|
170227
|
+
* @param defaultMaxLod Value of the last LOD (i.e 22)
|
|
170228
|
+
* @param tileSize Size of a tile in pixels (i.e 256)
|
|
170229
|
+
* @param minScale Minimum scale value that needs to be matched to a LOD level
|
|
170230
|
+
* @param maxScale Maximum scale value that needs to be matched to a LOD level
|
|
170231
|
+
* @returns minLod: LOD value matching minScale, maxLod: LOD value matching maxScale
|
|
170232
|
+
*/
|
|
170233
|
+
static getZoomLevelsScales(defaultMaxLod, tileSize, minScale, maxScale) {
|
|
170234
|
+
let minLod, maxLod;
|
|
170235
|
+
const zoomScales = ArcGisUtilities.computeZoomLevelsScales(0, defaultMaxLod, 0 /* latitude 0 = Equator*/, tileSize);
|
|
170236
|
+
if (zoomScales.length > 0) {
|
|
170237
|
+
if (minScale) {
|
|
170238
|
+
minLod = 0;
|
|
170239
|
+
// We are looking for the largest scale value with a scale value smaller than minScale
|
|
170240
|
+
for (; minLod < zoomScales.length && zoomScales[minLod].scale > minScale; minLod++)
|
|
170241
|
+
;
|
|
170242
|
+
}
|
|
170243
|
+
if (maxScale) {
|
|
170244
|
+
maxLod = defaultMaxLod;
|
|
170245
|
+
// We are looking for the smallest scale value with a value greater than maxScale
|
|
170246
|
+
for (; maxLod >= 0 && zoomScales[maxLod].scale < maxScale; maxLod--)
|
|
170247
|
+
;
|
|
170248
|
+
}
|
|
170249
|
+
}
|
|
170250
|
+
return { minLod, maxLod };
|
|
170251
|
+
}
|
|
170025
170252
|
}
|
|
170026
170253
|
ArcGisUtilities._serviceCache = new Map();
|
|
170027
170254
|
|
|
@@ -170756,6 +170983,116 @@ class EllipsoidTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_3__.Te
|
|
|
170756
170983
|
}
|
|
170757
170984
|
|
|
170758
170985
|
|
|
170986
|
+
/***/ }),
|
|
170987
|
+
|
|
170988
|
+
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISImageryProvider.js":
|
|
170989
|
+
/*!**************************************************************************************!*\
|
|
170990
|
+
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISImageryProvider.js ***!
|
|
170991
|
+
\**************************************************************************************/
|
|
170992
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
170993
|
+
|
|
170994
|
+
"use strict";
|
|
170995
|
+
__webpack_require__.r(__webpack_exports__);
|
|
170996
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
170997
|
+
/* harmony export */ "ArcGISImageryProvider": () => (/* binding */ ArcGISImageryProvider)
|
|
170998
|
+
/* harmony export */ });
|
|
170999
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
171000
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
171001
|
+
/* harmony import */ var _NotificationManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../NotificationManager */ "../../core/frontend/lib/esm/NotificationManager.js");
|
|
171002
|
+
/*---------------------------------------------------------------------------------------------
|
|
171003
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
171004
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
171005
|
+
*--------------------------------------------------------------------------------------------*/
|
|
171006
|
+
/** @packageDocumentation
|
|
171007
|
+
* @module Tiles
|
|
171008
|
+
*/
|
|
171009
|
+
|
|
171010
|
+
|
|
171011
|
+
|
|
171012
|
+
/** Base class for ArcGIS map-layer imagery providers.
|
|
171013
|
+
*
|
|
171014
|
+
* The initial purpose of this class is to offer shared methods
|
|
171015
|
+
* to query ArcGIS services and apply the appropriate security token.
|
|
171016
|
+
* @see [[ArcGISMapLayerImageryProvider]]
|
|
171017
|
+
* @internal
|
|
171018
|
+
*/
|
|
171019
|
+
class ArcGISImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerImageryProvider {
|
|
171020
|
+
constructor(settings, usesCachedTiles) {
|
|
171021
|
+
var _a;
|
|
171022
|
+
super(settings, usesCachedTiles);
|
|
171023
|
+
this._accessClient = (_a = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry) === null || _a === void 0 ? void 0 : _a.getAccessClient(settings.formatId);
|
|
171024
|
+
}
|
|
171025
|
+
/**
|
|
171026
|
+
* Make a request to an ArcGIS service using the provided URL and init parameters.
|
|
171027
|
+
* @param url URL to query
|
|
171028
|
+
* @param options Custom settings to apply to the request.
|
|
171029
|
+
* Refer to fetch API for more details (https://developer.mozilla.org/en-US/docs/Web/API/fetch)
|
|
171030
|
+
*/
|
|
171031
|
+
async fetch(url, options) {
|
|
171032
|
+
var _a, _b;
|
|
171033
|
+
const urlObj = new URL(url);
|
|
171034
|
+
try {
|
|
171035
|
+
if (this._accessClient) {
|
|
171036
|
+
this._lastAccessToken = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, {
|
|
171037
|
+
mapLayerUrl: new URL(this._settings.url),
|
|
171038
|
+
userName: this._settings.userName,
|
|
171039
|
+
password: this._settings.password
|
|
171040
|
+
});
|
|
171041
|
+
}
|
|
171042
|
+
}
|
|
171043
|
+
catch {
|
|
171044
|
+
}
|
|
171045
|
+
let response = await fetch(urlObj.toString(), options);
|
|
171046
|
+
let errorCode = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.checkForResponseErrorCode(response.clone());
|
|
171047
|
+
if (errorCode !== undefined &&
|
|
171048
|
+
(errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.TokenRequired || errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.InvalidToken)) {
|
|
171049
|
+
let hasTokenError = true;
|
|
171050
|
+
// **** Legacy token ONLY ***
|
|
171051
|
+
// Token might have expired, make a second attempt by forcing new token.
|
|
171052
|
+
if (this._settings.userName && this._settings.userName.length > 0 && this._lastAccessToken) {
|
|
171053
|
+
// Invalidate previously used token to force token re-generation
|
|
171054
|
+
if (((_a = this._accessClient) === null || _a === void 0 ? void 0 : _a.invalidateToken) !== undefined && this._lastAccessToken !== undefined)
|
|
171055
|
+
this._accessClient.invalidateToken(this._lastAccessToken);
|
|
171056
|
+
const urlObj2 = new URL(url);
|
|
171057
|
+
if (this._accessClient) {
|
|
171058
|
+
try {
|
|
171059
|
+
this._lastAccessToken = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, { mapLayerUrl: urlObj, userName: this._settings.userName, password: this._settings.password });
|
|
171060
|
+
}
|
|
171061
|
+
catch {
|
|
171062
|
+
}
|
|
171063
|
+
}
|
|
171064
|
+
// Make a second attempt with refreshed token
|
|
171065
|
+
response = await fetch(urlObj2.toString(), options);
|
|
171066
|
+
errorCode = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.checkForResponseErrorCode(response.clone());
|
|
171067
|
+
if (errorCode !== undefined &&
|
|
171068
|
+
(errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.TokenRequired || errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.InvalidToken)) {
|
|
171069
|
+
// OK at this point, if response still contain a token error, we assume end-user will
|
|
171070
|
+
// have to provide credentials again. Change the layer status so we
|
|
171071
|
+
// don't make additional invalid requests..
|
|
171072
|
+
if (((_b = this._accessClient) === null || _b === void 0 ? void 0 : _b.invalidateToken) !== undefined && this._lastAccessToken !== undefined) {
|
|
171073
|
+
this._accessClient.invalidateToken(this._lastAccessToken);
|
|
171074
|
+
this._lastAccessToken = undefined;
|
|
171075
|
+
}
|
|
171076
|
+
}
|
|
171077
|
+
else {
|
|
171078
|
+
hasTokenError = false;
|
|
171079
|
+
}
|
|
171080
|
+
}
|
|
171081
|
+
if (hasTokenError
|
|
171082
|
+
&& this.status === _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerImageryProviderStatus.Valid) {
|
|
171083
|
+
// Only report if status is currently valid (avoid reporting twice the same error)
|
|
171084
|
+
this.status = _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerImageryProviderStatus.RequireAuth;
|
|
171085
|
+
this.onStatusChanged.raiseEvent(this);
|
|
171086
|
+
const msg = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.localization.getLocalizedString("iModelJs:MapLayers.Messages.FetchTooltipTokenError", { layerName: this._settings.name });
|
|
171087
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.notifications.outputMessage(new _NotificationManager__WEBPACK_IMPORTED_MODULE_2__.NotifyMessageDetails(_NotificationManager__WEBPACK_IMPORTED_MODULE_2__.OutputMessagePriority.Warning, msg));
|
|
171088
|
+
}
|
|
171089
|
+
}
|
|
171090
|
+
return response;
|
|
171091
|
+
}
|
|
171092
|
+
}
|
|
171093
|
+
ArcGISImageryProvider._serviceCache = new Map();
|
|
171094
|
+
|
|
171095
|
+
|
|
170759
171096
|
/***/ }),
|
|
170760
171097
|
|
|
170761
171098
|
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js":
|
|
@@ -170769,15 +171106,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
170769
171106
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
170770
171107
|
/* harmony export */ "ArcGISMapLayerImageryProvider": () => (/* binding */ ArcGISMapLayerImageryProvider)
|
|
170771
171108
|
/* harmony export */ });
|
|
170772
|
-
/* harmony import */ var
|
|
170773
|
-
/* harmony import */ var
|
|
170774
|
-
/* harmony import */ var
|
|
170775
|
-
/* harmony import */ var
|
|
170776
|
-
/* harmony import */ var
|
|
170777
|
-
/* harmony import */ var
|
|
170778
|
-
/* harmony import */ var
|
|
170779
|
-
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash */ "../../common/temp/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js");
|
|
170780
|
-
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__);
|
|
171109
|
+
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
171110
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
171111
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
171112
|
+
/* harmony import */ var _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/appui-abstract */ "../../ui/appui-abstract/lib/esm/appui-abstract.js");
|
|
171113
|
+
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
171114
|
+
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash */ "../../common/temp/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js");
|
|
171115
|
+
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_5__);
|
|
170781
171116
|
/*---------------------------------------------------------------------------------------------
|
|
170782
171117
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
170783
171118
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -170791,10 +171126,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
170791
171126
|
|
|
170792
171127
|
|
|
170793
171128
|
|
|
170794
|
-
|
|
170795
|
-
|
|
170796
171129
|
/** @internal */
|
|
170797
|
-
class ArcGISMapLayerImageryProvider extends
|
|
171130
|
+
class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGISImageryProvider {
|
|
170798
171131
|
constructor(settings) {
|
|
170799
171132
|
super(settings, false);
|
|
170800
171133
|
this._maxDepthFromLod = 0;
|
|
@@ -170802,7 +171135,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
170802
171135
|
this._copyrightText = "Copyright";
|
|
170803
171136
|
this._querySupported = false;
|
|
170804
171137
|
this._tileMapSupported = false;
|
|
170805
|
-
this._accessClient =
|
|
171138
|
+
this._accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry.getAccessClient(settings.formatId);
|
|
170806
171139
|
}
|
|
170807
171140
|
get _filterByCartoRange() { return false; } // Can't trust footprint ranges (USGS Hydro)
|
|
170808
171141
|
get minimumZoomLevel() { return Math.max(super.minimumZoomLevel, this._minDepthFromLod); }
|
|
@@ -170811,56 +171144,23 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
170811
171144
|
return Buffer.from(uintArray).toJSON();
|
|
170812
171145
|
}
|
|
170813
171146
|
async fetchTile(row, column, zoomLevel) {
|
|
170814
|
-
const tileRequestOptions = { method: "GET", responseType: "arraybuffer" };
|
|
170815
|
-
tileRequestOptions.auth = this.getRequestAuthorization();
|
|
170816
171147
|
const tileUrl = await this.constructUrl(row, column, zoomLevel);
|
|
170817
171148
|
if (tileUrl.length === 0)
|
|
170818
171149
|
return undefined;
|
|
170819
|
-
return
|
|
171150
|
+
return this.fetch(new URL(tileUrl), { method: "GET" });
|
|
170820
171151
|
}
|
|
170821
171152
|
async loadTile(row, column, zoomLevel) {
|
|
170822
|
-
|
|
170823
|
-
if ((this.status === _internal__WEBPACK_IMPORTED_MODULE_4__.MapLayerImageryProviderStatus.RequireAuth)) {
|
|
171153
|
+
if ((this.status === _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerImageryProviderStatus.RequireAuth)) {
|
|
170824
171154
|
return undefined;
|
|
170825
171155
|
}
|
|
170826
171156
|
try {
|
|
170827
|
-
|
|
171157
|
+
const tileResponse = await this.fetchTile(row, column, zoomLevel);
|
|
170828
171158
|
if (tileResponse === undefined)
|
|
170829
171159
|
return undefined;
|
|
170830
|
-
// Check the content type from the response, it might contain an authentication error that need to be reported.
|
|
170831
|
-
// Skip if the layer state was already invalid
|
|
170832
|
-
if (_internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.hasTokenError(tileResponse)) {
|
|
170833
|
-
if (((_a = this._accessClient) === null || _a === void 0 ? void 0 : _a.invalidateToken) !== undefined && this._lastAccessToken !== undefined)
|
|
170834
|
-
this._accessClient.invalidateToken(this._lastAccessToken);
|
|
170835
|
-
// Token might have expired, make a second attempt by forcing new token.
|
|
170836
|
-
if (this._settings.userName && this._settings.userName.length > 0 && this._lastAccessToken) {
|
|
170837
|
-
tileResponse = await this.fetchTile(row, column, zoomLevel);
|
|
170838
|
-
if (tileResponse === undefined)
|
|
170839
|
-
return undefined;
|
|
170840
|
-
}
|
|
170841
|
-
// OK at this point, if response still contain a token error, we assume end-user will
|
|
170842
|
-
// have to provide credentials again. Change the layer status so we
|
|
170843
|
-
// don't make additional invalid requests..
|
|
170844
|
-
if (tileResponse && _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.hasTokenError(tileResponse)) {
|
|
170845
|
-
// Check again layer status, it might have change during await.
|
|
170846
|
-
if (this.status === _internal__WEBPACK_IMPORTED_MODULE_4__.MapLayerImageryProviderStatus.Valid) {
|
|
170847
|
-
this.status = _internal__WEBPACK_IMPORTED_MODULE_4__.MapLayerImageryProviderStatus.RequireAuth;
|
|
170848
|
-
this.onStatusChanged.raiseEvent(this);
|
|
170849
|
-
// Only report error to end-user if we were previously able to fetch tiles
|
|
170850
|
-
// and then encountered an error, otherwise I assume an error was already reported
|
|
170851
|
-
// through the source validation process.
|
|
170852
|
-
if (this._hasSuccessfullyFetchedTile) {
|
|
170853
|
-
const msg = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.localization.getLocalizedString("iModelJs:MapLayers.Messages.LoadTileTokenError", { layerName: this._settings.name });
|
|
170854
|
-
_IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.notifications.outputMessage(new _NotificationManager__WEBPACK_IMPORTED_MODULE_3__.NotifyMessageDetails(_NotificationManager__WEBPACK_IMPORTED_MODULE_3__.OutputMessagePriority.Warning, msg));
|
|
170855
|
-
}
|
|
170856
|
-
}
|
|
170857
|
-
return undefined;
|
|
170858
|
-
}
|
|
170859
|
-
}
|
|
170860
171160
|
if (!this._hasSuccessfullyFetchedTile) {
|
|
170861
171161
|
this._hasSuccessfullyFetchedTile = true;
|
|
170862
171162
|
}
|
|
170863
|
-
return this.getImageFromTileResponse(tileResponse, zoomLevel);
|
|
171163
|
+
return await this.getImageFromTileResponse(tileResponse, zoomLevel);
|
|
170864
171164
|
}
|
|
170865
171165
|
catch (error) {
|
|
170866
171166
|
return undefined;
|
|
@@ -170888,7 +171188,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
170888
171188
|
// eslint-disable-next-line @typescript-eslint/prefer-for-of
|
|
170889
171189
|
for (let i = 0; i < childIds.length; i++) {
|
|
170890
171190
|
const childExtent = this.getEPSG4326Extent(childIds[i].row, childIds[i].column, childIds[i].level);
|
|
170891
|
-
const childRange =
|
|
171191
|
+
const childRange = _internal__WEBPACK_IMPORTED_MODULE_2__.MapCartoRectangle.fromDegrees(childExtent.longitudeLeft, childExtent.latitudeBottom, childExtent.longitudeRight, childExtent.latitudeTop);
|
|
170892
171192
|
if (childRange.intersectsRange(this.cartoRange)) {
|
|
170893
171193
|
availableChildIds.push(childIds[i]);
|
|
170894
171194
|
}
|
|
@@ -170908,13 +171208,13 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
170908
171208
|
}
|
|
170909
171209
|
async initialize() {
|
|
170910
171210
|
var _a, _b, _c, _d, _e;
|
|
170911
|
-
const json = await
|
|
171211
|
+
const json = await _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGisUtilities.getServiceJson(this._settings.url, this._settings.formatId, this._settings.userName, this._settings.password);
|
|
170912
171212
|
if (json === undefined)
|
|
170913
|
-
throw new
|
|
170914
|
-
if (((_a = json === null || json === void 0 ? void 0 : json.error) === null || _a === void 0 ? void 0 : _a.code) ===
|
|
171213
|
+
throw new _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.ServerError(_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.ValidationFailed, "");
|
|
171214
|
+
if (((_a = json === null || json === void 0 ? void 0 : json.error) === null || _a === void 0 ? void 0 : _a.code) === _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGisErrorCode.TokenRequired || ((_b = json === null || json === void 0 ? void 0 : json.error) === null || _b === void 0 ? void 0 : _b.code) === _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGisErrorCode.InvalidToken) {
|
|
170915
171215
|
// Check again layer status, it might have change during await.
|
|
170916
|
-
if (this.status ===
|
|
170917
|
-
this.status =
|
|
171216
|
+
if (this.status === _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerImageryProviderStatus.Valid) {
|
|
171217
|
+
this.status = _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerImageryProviderStatus.RequireAuth;
|
|
170918
171218
|
this.onStatusChanged.raiseEvent(this);
|
|
170919
171219
|
}
|
|
170920
171220
|
}
|
|
@@ -170934,12 +171234,12 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
170934
171234
|
}
|
|
170935
171235
|
// Create tile map object only if we are going to request tiles from this server and it support tilemap requests.
|
|
170936
171236
|
if (this._usesCachedTiles && this._tileMapSupported) {
|
|
170937
|
-
this._tileMap = new
|
|
171237
|
+
this._tileMap = new _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGISTileMap(this._settings.url, this._settings, (_d = (_c = json.tileInfo) === null || _c === void 0 ? void 0 : _c.lods) === null || _d === void 0 ? void 0 : _d.length, this._accessClient);
|
|
170938
171238
|
}
|
|
170939
171239
|
// Read range using fullextent from service metadata
|
|
170940
171240
|
if (json.fullExtent) {
|
|
170941
171241
|
if (json.fullExtent.spatialReference.latestWkid === 3857 || json.fullExtent.spatialReference.wkid === 102100) {
|
|
170942
|
-
const range3857 =
|
|
171242
|
+
const range3857 = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_4__.Range2d.createFrom({
|
|
170943
171243
|
low: { x: json.fullExtent.xmin, y: json.fullExtent.ymin },
|
|
170944
171244
|
high: { x: json.fullExtent.xmax, y: json.fullExtent.ymax }
|
|
170945
171245
|
});
|
|
@@ -170947,7 +171247,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
170947
171247
|
const south = this.getEPSG4326Lat(range3857.yLow);
|
|
170948
171248
|
const east = this.getEPSG4326Lon(range3857.xHigh);
|
|
170949
171249
|
const north = this.getEPSG4326Lat(range3857.yHigh);
|
|
170950
|
-
this.cartoRange =
|
|
171250
|
+
this.cartoRange = _internal__WEBPACK_IMPORTED_MODULE_2__.MapCartoRectangle.fromDegrees(west, south, east, north);
|
|
170951
171251
|
}
|
|
170952
171252
|
}
|
|
170953
171253
|
// Read minLOD if available
|
|
@@ -170960,7 +171260,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
170960
171260
|
else if (json.minScale) {
|
|
170961
171261
|
// Read min LOD using minScale
|
|
170962
171262
|
const minScale = json.minScale;
|
|
170963
|
-
if (((_e = json.tileInfo) === null || _e === void 0 ? void 0 : _e.lods) !== undefined && (0,
|
|
171263
|
+
if (((_e = json.tileInfo) === null || _e === void 0 ? void 0 : _e.lods) !== undefined && (0,lodash__WEBPACK_IMPORTED_MODULE_5__.isArray)(json.tileInfo.lods)) {
|
|
170964
171264
|
for (const lod of json.tileInfo.lods) {
|
|
170965
171265
|
if (lod.scale < minScale) {
|
|
170966
171266
|
this._minDepthFromLod = lod.level;
|
|
@@ -170974,56 +171274,19 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
170974
171274
|
addLogoCards(cards) {
|
|
170975
171275
|
if (!cards.dataset.arcGisLogoCard) {
|
|
170976
171276
|
cards.dataset.arcGisLogoCard = "true";
|
|
170977
|
-
cards.appendChild(
|
|
171277
|
+
cards.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.makeLogoCard({ heading: "ArcGIS", notice: this._copyrightText }));
|
|
170978
171278
|
}
|
|
170979
171279
|
}
|
|
170980
171280
|
// Translates the provided Cartographic into a EPSG:3857 point, and retrieve information.
|
|
170981
171281
|
// tolerance is in pixels
|
|
170982
171282
|
async getIdentifyData(quadId, carto, tolerance) {
|
|
170983
|
-
var _a, _b, _c, _d, _e;
|
|
170984
171283
|
const bboxString = this.getEPSG3857ExtentString(quadId.row, quadId.column, quadId.level);
|
|
170985
171284
|
const x = this.getEPSG3857X(carto.longitudeDegrees);
|
|
170986
171285
|
const y = this.getEPSG3857Y(carto.latitudeDegrees);
|
|
170987
171286
|
const tmpUrl = `${this._settings.url}/identify?f=json&tolerance=${tolerance}&returnGeometry=false&sr=3857&imageDisplay=${this.tileSize},${this.tileSize},96&layers=${this.getLayerString("visible")}&geometry=${x},${y}&geometryType=esriGeometryPoint&mapExtent=${bboxString}`;
|
|
170988
171287
|
const urlObj = new URL(tmpUrl);
|
|
170989
|
-
|
|
170990
|
-
|
|
170991
|
-
this._lastAccessToken = undefined; // reset any previous accessToken, and rely on access client's cache
|
|
170992
|
-
this._lastAccessToken = await _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, { mapLayerUrl: urlObj, userName: this._settings.userName, password: this._settings.password });
|
|
170993
|
-
}
|
|
170994
|
-
catch {
|
|
170995
|
-
}
|
|
170996
|
-
}
|
|
170997
|
-
let json = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_0__.getJson)(urlObj.toString());
|
|
170998
|
-
if (((_a = json === null || json === void 0 ? void 0 : json.error) === null || _a === void 0 ? void 0 : _a.code) === _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisErrorCode.TokenRequired || ((_b = json === null || json === void 0 ? void 0 : json.error) === null || _b === void 0 ? void 0 : _b.code) === _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisErrorCode.InvalidToken) {
|
|
170999
|
-
if (((_c = this._accessClient) === null || _c === void 0 ? void 0 : _c.invalidateToken) !== undefined && this._lastAccessToken !== undefined)
|
|
171000
|
-
this._accessClient.invalidateToken(this._lastAccessToken);
|
|
171001
|
-
// Token might have expired, make a second attempt by forcing new token.
|
|
171002
|
-
if (this._settings.userName && this._settings.userName.length > 0 && this._lastAccessToken) {
|
|
171003
|
-
const urlObj2 = new URL(tmpUrl);
|
|
171004
|
-
if (this._accessClient) {
|
|
171005
|
-
try {
|
|
171006
|
-
await _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, { mapLayerUrl: urlObj, userName: this._settings.userName, password: this._settings.password });
|
|
171007
|
-
}
|
|
171008
|
-
catch {
|
|
171009
|
-
}
|
|
171010
|
-
}
|
|
171011
|
-
json = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_0__.getJson)(urlObj2.toString());
|
|
171012
|
-
}
|
|
171013
|
-
// OK at this point, if response still contain a token error, we assume end-user will
|
|
171014
|
-
// have to provide credentials again. Change the layer status so we
|
|
171015
|
-
// don't make additional invalid requests..
|
|
171016
|
-
if (((_d = json === null || json === void 0 ? void 0 : json.error) === null || _d === void 0 ? void 0 : _d.code) === _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisErrorCode.TokenRequired || ((_e = json === null || json === void 0 ? void 0 : json.error) === null || _e === void 0 ? void 0 : _e.code) === _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisErrorCode.InvalidToken) {
|
|
171017
|
-
// Check again layer status, it might have change during await.
|
|
171018
|
-
if (this.status === _internal__WEBPACK_IMPORTED_MODULE_4__.MapLayerImageryProviderStatus.Valid) {
|
|
171019
|
-
this.status = _internal__WEBPACK_IMPORTED_MODULE_4__.MapLayerImageryProviderStatus.RequireAuth;
|
|
171020
|
-
const msg = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.localization.getLocalizedString("iModelJs:MapLayers.Messages.FetchTooltipTokenError", { layerName: this._settings.name });
|
|
171021
|
-
_IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.notifications.outputMessage(new _NotificationManager__WEBPACK_IMPORTED_MODULE_3__.NotifyMessageDetails(_NotificationManager__WEBPACK_IMPORTED_MODULE_3__.OutputMessagePriority.Warning, msg));
|
|
171022
|
-
}
|
|
171023
|
-
json = undefined;
|
|
171024
|
-
}
|
|
171025
|
-
}
|
|
171026
|
-
return json;
|
|
171288
|
+
const response = await this.fetch(urlObj, { method: "GET" });
|
|
171289
|
+
return response.json();
|
|
171027
171290
|
}
|
|
171028
171291
|
// Makes an identify request to ESRI MapService server, and return it as a list of formatted strings
|
|
171029
171292
|
async getToolTip(strings, quadId, carto, tree) {
|
|
@@ -171061,7 +171324,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
171061
171324
|
for (const [key, value] of Object.entries(result.attributes)) {
|
|
171062
171325
|
// Convert everything to string for now
|
|
171063
171326
|
const strValue = String(value);
|
|
171064
|
-
(_b = subLayerInfo.records) === null || _b === void 0 ? void 0 : _b.push(new
|
|
171327
|
+
(_b = subLayerInfo.records) === null || _b === void 0 ? void 0 : _b.push(new _internal__WEBPACK_IMPORTED_MODULE_2__.MapFeatureInfoRecord({ valueFormat: _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_3__.PropertyValueFormat.Primitive, value: strValue, displayValue: strValue }, { name: key, displayLabel: key, typename: _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_3__.StandardTypeNames.String }));
|
|
171065
171328
|
}
|
|
171066
171329
|
if (layerInfo.info === undefined) {
|
|
171067
171330
|
layerInfo.info = [];
|
|
@@ -171091,20 +171354,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
171091
171354
|
const bboxString = `${this.getEPSG3857ExtentString(row, column, zoomLevel)}&bboxSR=3857`;
|
|
171092
171355
|
tmpUrl = `${this._settings.url}/export?bbox=${bboxString}&size=${this.tileSize},${this.tileSize}&layers=${this.getLayerString()}&format=png&transparent=${this.transparentBackgroundString}&f=image&sr=3857&imagesr=3857`;
|
|
171093
171356
|
}
|
|
171094
|
-
|
|
171095
|
-
try {
|
|
171096
|
-
if (this._accessClient) {
|
|
171097
|
-
this._lastAccessToken = undefined; // reset any previous accessToken, and rely on access client's cache
|
|
171098
|
-
this._lastAccessToken = await _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, {
|
|
171099
|
-
mapLayerUrl: new URL(this._settings.url),
|
|
171100
|
-
userName: this._settings.userName,
|
|
171101
|
-
password: this._settings.password
|
|
171102
|
-
});
|
|
171103
|
-
}
|
|
171104
|
-
}
|
|
171105
|
-
catch {
|
|
171106
|
-
}
|
|
171107
|
-
return urlObj.toString();
|
|
171357
|
+
return tmpUrl;
|
|
171108
171358
|
}
|
|
171109
171359
|
}
|
|
171110
171360
|
|
|
@@ -171494,7 +171744,8 @@ class WmsMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_3__.
|
|
|
171494
171744
|
}
|
|
171495
171745
|
async initialize() {
|
|
171496
171746
|
try {
|
|
171497
|
-
this.
|
|
171747
|
+
const credentials = (this._settings.userName && this._settings.password ? { user: this._settings.userName, password: this._settings.password } : undefined);
|
|
171748
|
+
this._capabilities = await _internal__WEBPACK_IMPORTED_MODULE_3__.WmsCapabilities.create(this._baseUrl, credentials);
|
|
171498
171749
|
if (undefined !== this._capabilities) {
|
|
171499
171750
|
this._allLayersRange = this._capabilities.cartoRange;
|
|
171500
171751
|
if (this._capabilities.layer && Array.isArray(this._capabilities.layer.subLayers)) {
|
|
@@ -172354,17 +172605,32 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
172354
172605
|
|
|
172355
172606
|
|
|
172356
172607
|
|
|
172608
|
+
const loggerCategory = "ArcGISFeatureProvider";
|
|
172357
172609
|
/** @beta */
|
|
172610
|
+
/** Class representing a map-layer format.
|
|
172611
|
+
* Each format has it's unique 'formatId' string, used to uniquely identify a format in the [[MapLayerFormatRegistry]].
|
|
172612
|
+
* When creating an [[ImageMapLayerSettings]] object, a format needs to be specified this 'formatId'.
|
|
172613
|
+
* The MapLayerFormat object can later be used to validate a source, or create a provider.
|
|
172614
|
+
*
|
|
172615
|
+
* Subclasses should override formatId and [[MapLayerFormat.createImageryProvider]].
|
|
172616
|
+
* @beta
|
|
172617
|
+
*/
|
|
172358
172618
|
class MapLayerFormat {
|
|
172619
|
+
/** Register the current format in the [[MapLayerFormatRegistry]].
|
|
172620
|
+
*/
|
|
172359
172621
|
static register() { _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry.register(this); }
|
|
172360
|
-
/**
|
|
172622
|
+
/** Allow a source of a specific to be validated before being attached as a map-layer.
|
|
172623
|
+
*/
|
|
172624
|
+
static async validateSource(_url, _userName, _password, _ignoreCache) { return { status: _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerSourceStatus.Valid }; }
|
|
172625
|
+
/** Create a [[MapLayerImageryProvider]] that will be used to feed data in a map-layer tile Tree.
|
|
172626
|
+
* @internal
|
|
172627
|
+
*/
|
|
172361
172628
|
static createImageryProvider(_settings) { (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false); }
|
|
172362
172629
|
/** @internal */
|
|
172363
172630
|
static createMapLayerTree(_layerSettings, _layerIndex, _iModel) {
|
|
172364
172631
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false);
|
|
172365
172632
|
return undefined;
|
|
172366
172633
|
}
|
|
172367
|
-
static async validateSource(_url, _credentials, _ignoreCache) { return { status: _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerSourceStatus.Valid }; }
|
|
172368
172634
|
}
|
|
172369
172635
|
/** @beta */
|
|
172370
172636
|
class MapLayerFormatRegistry {
|
|
@@ -172373,6 +172639,7 @@ class MapLayerFormatRegistry {
|
|
|
172373
172639
|
this._configOptions = opts !== null && opts !== void 0 ? opts : {};
|
|
172374
172640
|
_internal__WEBPACK_IMPORTED_MODULE_2__.internalMapLayerImageryFormats.forEach((format) => this.register(format));
|
|
172375
172641
|
}
|
|
172642
|
+
isRegistered(formatId) { return this._formats.get(formatId) !== undefined; }
|
|
172376
172643
|
register(formatClass, accessClient) {
|
|
172377
172644
|
if (formatClass.formatId.length === 0)
|
|
172378
172645
|
return; // must be an abstract class, ignore it
|
|
@@ -172399,7 +172666,11 @@ class MapLayerFormatRegistry {
|
|
|
172399
172666
|
createImageryMapLayerTree(layerSettings, layerIndex, iModel) {
|
|
172400
172667
|
const entry = this._formats.get(layerSettings.formatId);
|
|
172401
172668
|
const format = entry === null || entry === void 0 ? void 0 : entry.type;
|
|
172402
|
-
|
|
172669
|
+
if (format === undefined) {
|
|
172670
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(loggerCategory, `Could not find format '${layerSettings.formatId}' in registry`);
|
|
172671
|
+
return undefined;
|
|
172672
|
+
}
|
|
172673
|
+
return format.createMapLayerTree(layerSettings, layerIndex, iModel);
|
|
172403
172674
|
}
|
|
172404
172675
|
/** @internal */
|
|
172405
172676
|
createImageryProvider(layerSettings) {
|
|
@@ -172412,10 +172683,10 @@ class MapLayerFormatRegistry {
|
|
|
172412
172683
|
}
|
|
172413
172684
|
return (format === undefined) ? undefined : format.createImageryProvider(layerSettings);
|
|
172414
172685
|
}
|
|
172415
|
-
async validateSource(formatId, url,
|
|
172686
|
+
async validateSource(formatId, url, userName, password, ignoreCache) {
|
|
172416
172687
|
const entry = this._formats.get(formatId);
|
|
172417
172688
|
const format = entry === null || entry === void 0 ? void 0 : entry.type;
|
|
172418
|
-
return (format === undefined) ? { status: _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerSourceStatus.InvalidFormat } : format.validateSource(url,
|
|
172689
|
+
return (format === undefined) ? { status: _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerSourceStatus.InvalidFormat } : format.validateSource(url, userName, password, ignoreCache);
|
|
172419
172690
|
}
|
|
172420
172691
|
}
|
|
172421
172692
|
|
|
@@ -172435,18 +172706,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
172435
172706
|
/* harmony export */ "internalMapLayerImageryFormats": () => (/* binding */ internalMapLayerImageryFormats)
|
|
172436
172707
|
/* harmony export */ });
|
|
172437
172708
|
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
172438
|
-
/*---------------------------------------------------------------------------------------------
|
|
172439
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
172440
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
172441
|
-
*--------------------------------------------------------------------------------------------*/
|
|
172442
|
-
/** @packageDocumentation
|
|
172443
|
-
* @module MapLayers
|
|
172444
|
-
*/
|
|
172445
172709
|
|
|
172446
|
-
/** Base class imagery map layer formats.
|
|
172447
|
-
*
|
|
172710
|
+
/** Base class imagery map layer formats.
|
|
172711
|
+
* Subclasses should override formatId and [[MapLayerFormat.createImageryProvider]].
|
|
172712
|
+
* @see [[MapLayerFormat]]
|
|
172713
|
+
* @beta
|
|
172448
172714
|
*/
|
|
172449
172715
|
class ImageryMapLayerFormat extends _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerFormat {
|
|
172716
|
+
/** @internal */
|
|
172450
172717
|
static createMapLayerTree(layerSettings, layerIndex, iModel) {
|
|
172451
172718
|
return new _internal__WEBPACK_IMPORTED_MODULE_0__.ImageryMapLayerTreeReference(layerSettings, layerIndex, iModel);
|
|
172452
172719
|
}
|
|
@@ -172455,11 +172722,11 @@ class WmsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
172455
172722
|
static createImageryProvider(settings) {
|
|
172456
172723
|
return new _internal__WEBPACK_IMPORTED_MODULE_0__.WmsMapLayerImageryProvider(settings);
|
|
172457
172724
|
}
|
|
172458
|
-
static async validateSource(url,
|
|
172725
|
+
static async validateSource(url, userName, password, ignoreCache) {
|
|
172459
172726
|
try {
|
|
172460
172727
|
let subLayers;
|
|
172461
172728
|
const maxVisibleSubLayers = 50;
|
|
172462
|
-
const capabilities = await _internal__WEBPACK_IMPORTED_MODULE_0__.WmsCapabilities.create(url,
|
|
172729
|
+
const capabilities = await _internal__WEBPACK_IMPORTED_MODULE_0__.WmsCapabilities.create(url, (userName && password ? { user: userName, password } : undefined), ignoreCache);
|
|
172463
172730
|
if (capabilities !== undefined) {
|
|
172464
172731
|
subLayers = capabilities.getSubLayers(false);
|
|
172465
172732
|
const rootsSubLayer = subLayers === null || subLayers === void 0 ? void 0 : subLayers.find((sublayer) => sublayer.parent === undefined);
|
|
@@ -172503,7 +172770,7 @@ class WmsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
172503
172770
|
catch (err) {
|
|
172504
172771
|
let status = _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.InvalidUrl;
|
|
172505
172772
|
if ((err === null || err === void 0 ? void 0 : err.status) === 401) {
|
|
172506
|
-
status = (
|
|
172773
|
+
status = ((userName && password) ? _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.InvalidCredentials : _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.RequireAuth);
|
|
172507
172774
|
}
|
|
172508
172775
|
return { status };
|
|
172509
172776
|
}
|
|
@@ -172514,11 +172781,11 @@ class WmtsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
172514
172781
|
static createImageryProvider(settings) {
|
|
172515
172782
|
return new _internal__WEBPACK_IMPORTED_MODULE_0__.WmtsMapLayerImageryProvider(settings);
|
|
172516
172783
|
}
|
|
172517
|
-
static async validateSource(url,
|
|
172784
|
+
static async validateSource(url, userName, password, ignoreCache) {
|
|
172518
172785
|
var _a, _b, _c;
|
|
172519
172786
|
try {
|
|
172520
172787
|
const subLayers = [];
|
|
172521
|
-
const capabilities = await _internal__WEBPACK_IMPORTED_MODULE_0__.WmtsCapabilities.create(url,
|
|
172788
|
+
const capabilities = await _internal__WEBPACK_IMPORTED_MODULE_0__.WmtsCapabilities.create(url, (userName && password ? { user: userName, password } : undefined), ignoreCache);
|
|
172522
172789
|
if (!capabilities)
|
|
172523
172790
|
return { status: _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.InvalidUrl };
|
|
172524
172791
|
// Only returns layer that can be published in the Google maps or WGS84 aligned tile trees.
|
|
@@ -172565,8 +172832,8 @@ class WmtsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
172565
172832
|
}
|
|
172566
172833
|
WmtsMapLayerFormat.formatId = "WMTS";
|
|
172567
172834
|
class ArcGISMapLayerFormat extends ImageryMapLayerFormat {
|
|
172568
|
-
static async validateSource(url,
|
|
172569
|
-
return _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.validateSource(url,
|
|
172835
|
+
static async validateSource(url, userName, password, ignoreCache) {
|
|
172836
|
+
return _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.validateSource(url, this.formatId, ["map"], userName, password, ignoreCache);
|
|
172570
172837
|
}
|
|
172571
172838
|
static createImageryProvider(settings) {
|
|
172572
172839
|
return new _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGISMapLayerImageryProvider(settings);
|
|
@@ -172619,8 +172886,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
172619
172886
|
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
172620
172887
|
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
172621
172888
|
/* harmony import */ var _NotificationManager__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../NotificationManager */ "../../core/frontend/lib/esm/NotificationManager.js");
|
|
172622
|
-
/* harmony import */ var
|
|
172623
|
-
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
172889
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
172624
172890
|
/*---------------------------------------------------------------------------------------------
|
|
172625
172891
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
172626
172892
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -172634,11 +172900,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
172634
172900
|
|
|
172635
172901
|
|
|
172636
172902
|
|
|
172637
|
-
|
|
172903
|
+
/** @internal */
|
|
172638
172904
|
const tileImageSize = 256, untiledImageSize = 256;
|
|
172639
172905
|
const earthRadius = 6378137;
|
|
172640
172906
|
const doDebugToolTips = false;
|
|
172641
|
-
/** @
|
|
172907
|
+
/** @beta */
|
|
172642
172908
|
var MapLayerImageryProviderStatus;
|
|
172643
172909
|
(function (MapLayerImageryProviderStatus) {
|
|
172644
172910
|
MapLayerImageryProviderStatus[MapLayerImageryProviderStatus["Valid"] = 0] = "Valid";
|
|
@@ -172654,26 +172920,35 @@ class MapLayerImageryProvider {
|
|
|
172654
172920
|
this._hasSuccessfullyFetchedTile = false;
|
|
172655
172921
|
this.status = MapLayerImageryProviderStatus.Valid;
|
|
172656
172922
|
this.onStatusChanged = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
172657
|
-
|
|
172658
|
-
this.
|
|
172659
|
-
|
|
172660
|
-
this._geographicTilingScheme = new
|
|
172923
|
+
/** @internal */
|
|
172924
|
+
this._mercatorTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.WebMercatorTilingScheme();
|
|
172925
|
+
/** @internal */
|
|
172926
|
+
this._geographicTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.GeographicTilingScheme();
|
|
172927
|
+
// Those values are used internally for various computation, this should not get overriden.
|
|
172928
|
+
/** @internal */
|
|
172929
|
+
this.defaultMinimumZoomLevel = 0;
|
|
172930
|
+
/** @internal */
|
|
172931
|
+
this.defaultMaximumZoomLevel = 22;
|
|
172932
|
+
this._mercatorTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.WebMercatorTilingScheme();
|
|
172933
|
+
this._geographicTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.GeographicTilingScheme(2, 1, true);
|
|
172661
172934
|
}
|
|
172662
172935
|
get tileSize() { return this._usesCachedTiles ? tileImageSize : untiledImageSize; }
|
|
172663
172936
|
get maximumScreenSize() { return 2 * this.tileSize; }
|
|
172664
|
-
get minimumZoomLevel() { return
|
|
172665
|
-
get maximumZoomLevel() { return
|
|
172937
|
+
get minimumZoomLevel() { return this.defaultMinimumZoomLevel; }
|
|
172938
|
+
get maximumZoomLevel() { return this.defaultMaximumZoomLevel; }
|
|
172666
172939
|
get usesCachedTiles() { return this._usesCachedTiles; }
|
|
172667
172940
|
get mutualExclusiveSubLayer() { return false; }
|
|
172668
172941
|
get useGeographicTilingScheme() { return false; }
|
|
172942
|
+
/** @internal */
|
|
172669
172943
|
get _filterByCartoRange() { return true; }
|
|
172670
172944
|
async initialize() {
|
|
172671
|
-
this.loadTile(0, 0,
|
|
172945
|
+
this.loadTile(0, 0, this.defaultMaximumZoomLevel).then((tileData) => {
|
|
172672
172946
|
if (tileData !== undefined)
|
|
172673
172947
|
this._missingTileData = tileData.data;
|
|
172674
172948
|
});
|
|
172675
172949
|
}
|
|
172676
172950
|
get tilingScheme() { return this.useGeographicTilingScheme ? this._geographicTilingScheme : this._mercatorTilingScheme; }
|
|
172951
|
+
/** @internal */
|
|
172677
172952
|
addLogoCards(_cards, _viewport) { }
|
|
172678
172953
|
get transparentBackgroundString() { return this._settings.transparentBackground ? "true" : "false"; }
|
|
172679
172954
|
async _areChildrenAvailable(_tile) { return true; }
|
|
@@ -172701,41 +172976,51 @@ class MapLayerImageryProvider {
|
|
|
172701
172976
|
// default implementation; simply return an empty feature info
|
|
172702
172977
|
featureInfos.push({ layerName: this._settings.name });
|
|
172703
172978
|
}
|
|
172704
|
-
|
|
172705
|
-
|
|
172706
|
-
|
|
172707
|
-
|
|
172708
|
-
const byteArray = new Uint8Array(
|
|
172979
|
+
/** @internal */
|
|
172980
|
+
async getImageFromTileResponse(tileResponse, zoomLevel) {
|
|
172981
|
+
var _a;
|
|
172982
|
+
const arrayBuffer = await tileResponse.arrayBuffer();
|
|
172983
|
+
const byteArray = new Uint8Array(arrayBuffer);
|
|
172709
172984
|
if (!byteArray || (byteArray.length === 0))
|
|
172710
172985
|
return undefined;
|
|
172711
172986
|
if (this.matchesMissingTile(byteArray) && zoomLevel > 8)
|
|
172712
172987
|
return undefined;
|
|
172988
|
+
const contentType = (_a = tileResponse.headers.get("content-type")) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
|
172713
172989
|
let imageFormat;
|
|
172714
|
-
|
|
172715
|
-
|
|
172716
|
-
|
|
172717
|
-
|
|
172718
|
-
|
|
172719
|
-
|
|
172720
|
-
|
|
172721
|
-
|
|
172722
|
-
|
|
172723
|
-
|
|
172724
|
-
|
|
172725
|
-
|
|
172726
|
-
}
|
|
172727
|
-
return new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ImageSource(byteArray, imageFormat);
|
|
172990
|
+
if (contentType) {
|
|
172991
|
+
// Note: 'includes' is used here instead of exact comparison because we encountered
|
|
172992
|
+
// some servers that would give content type such as 'image/png;charset=UTF-8'.
|
|
172993
|
+
if (contentType.includes("image/jpeg"))
|
|
172994
|
+
imageFormat = _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ImageSourceFormat.Jpeg;
|
|
172995
|
+
else if (contentType.includes("image/png"))
|
|
172996
|
+
imageFormat = _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ImageSourceFormat.Png;
|
|
172997
|
+
}
|
|
172998
|
+
if (imageFormat !== undefined)
|
|
172999
|
+
return new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ImageSource(byteArray, imageFormat);
|
|
173000
|
+
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false, "Invalid tile content type");
|
|
173001
|
+
return undefined;
|
|
172728
173002
|
}
|
|
173003
|
+
/** @internal */
|
|
172729
173004
|
setStatus(status) {
|
|
172730
173005
|
if (this.status !== status) {
|
|
172731
173006
|
this.status = status;
|
|
172732
173007
|
this.onStatusChanged.raiseEvent(this);
|
|
172733
173008
|
}
|
|
172734
173009
|
}
|
|
173010
|
+
/** @internal */
|
|
173011
|
+
setRequestAuthorization(headers) {
|
|
173012
|
+
if (this._settings.userName && this._settings.password) {
|
|
173013
|
+
headers.set("Authorization", `Basic ${_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.Base64EncodedString.encode(`${this._settings.userName}:${this._settings.password}`)}`);
|
|
173014
|
+
}
|
|
173015
|
+
}
|
|
173016
|
+
/** @internal */
|
|
172735
173017
|
async makeTileRequest(url) {
|
|
172736
|
-
|
|
172737
|
-
|
|
172738
|
-
|
|
173018
|
+
let headers;
|
|
173019
|
+
if (this._settings.userName && this._settings.password) {
|
|
173020
|
+
headers = new Headers();
|
|
173021
|
+
this.setRequestAuthorization(headers);
|
|
173022
|
+
}
|
|
173023
|
+
return fetch(url, { method: "GET", headers });
|
|
172739
173024
|
}
|
|
172740
173025
|
async loadTile(row, column, zoomLevel) {
|
|
172741
173026
|
try {
|
|
@@ -172746,7 +173031,7 @@ class MapLayerImageryProvider {
|
|
|
172746
173031
|
if (!this._hasSuccessfullyFetchedTile) {
|
|
172747
173032
|
this._hasSuccessfullyFetchedTile = true;
|
|
172748
173033
|
}
|
|
172749
|
-
return this.getImageFromTileResponse(tileResponse, zoomLevel);
|
|
173034
|
+
return await this.getImageFromTileResponse(tileResponse, zoomLevel);
|
|
172750
173035
|
}
|
|
172751
173036
|
catch (error) {
|
|
172752
173037
|
if ((error === null || error === void 0 ? void 0 : error.status) === 401) {
|
|
@@ -172762,29 +173047,21 @@ class MapLayerImageryProvider {
|
|
|
172762
173047
|
return undefined;
|
|
172763
173048
|
}
|
|
172764
173049
|
}
|
|
173050
|
+
/** @internal */
|
|
172765
173051
|
async toolTipFromUrl(strings, url) {
|
|
172766
|
-
const
|
|
172767
|
-
|
|
172768
|
-
responseType: "text",
|
|
172769
|
-
auth: this.getRequestAuthorization(),
|
|
172770
|
-
}; // spell-checker: disable-line
|
|
173052
|
+
const headers = new Headers();
|
|
173053
|
+
this.setRequestAuthorization(headers);
|
|
172771
173054
|
try {
|
|
172772
|
-
const response = await (
|
|
172773
|
-
|
|
172774
|
-
|
|
173055
|
+
const response = await fetch(url, { method: "GET", headers });
|
|
173056
|
+
const text = await response.text();
|
|
173057
|
+
if (undefined !== text) {
|
|
173058
|
+
strings.push(text);
|
|
172775
173059
|
}
|
|
172776
173060
|
}
|
|
172777
173061
|
catch {
|
|
172778
173062
|
}
|
|
172779
173063
|
}
|
|
172780
|
-
|
|
172781
|
-
try {
|
|
172782
|
-
const json = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_5__.getJson)(url);
|
|
172783
|
-
if (undefined !== json) {
|
|
172784
|
-
}
|
|
172785
|
-
}
|
|
172786
|
-
catch { }
|
|
172787
|
-
}
|
|
173064
|
+
/** @internal */
|
|
172788
173065
|
matchesMissingTile(tileData) {
|
|
172789
173066
|
if (!this._missingTileData)
|
|
172790
173067
|
return false;
|
|
@@ -172797,38 +173074,46 @@ class MapLayerImageryProvider {
|
|
|
172797
173074
|
}
|
|
172798
173075
|
return true;
|
|
172799
173076
|
}
|
|
173077
|
+
/** @internal */
|
|
172800
173078
|
// calculates the projected x cartesian coordinate in EPSG:3857from the longitude in EPSG:4326 (WGS84)
|
|
172801
173079
|
getEPSG3857X(longitude) {
|
|
172802
173080
|
return longitude * 20037508.34 / 180.0;
|
|
172803
173081
|
}
|
|
173082
|
+
/** @internal */
|
|
172804
173083
|
// calculates the projected y cartesian coordinate in EPSG:3857from the latitude in EPSG:4326 (WGS84)
|
|
172805
173084
|
getEPSG3857Y(latitude) {
|
|
172806
173085
|
const y = Math.log(Math.tan((90.0 + latitude) * Math.PI / 360.0)) / (Math.PI / 180.0);
|
|
172807
173086
|
return y * 20037508.34 / 180.0;
|
|
172808
173087
|
}
|
|
173088
|
+
/** @internal */
|
|
172809
173089
|
// calculates the longitude in EPSG:4326 (WGS84) from the projected x cartesian coordinate in EPSG:3857
|
|
172810
173090
|
getEPSG4326Lon(x3857) {
|
|
172811
173091
|
return _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Angle.radiansToDegrees(x3857 / earthRadius);
|
|
172812
173092
|
}
|
|
173093
|
+
/** @internal */
|
|
172813
173094
|
// calculates the latitude in EPSG:4326 (WGS84) from the projected y cartesian coordinate in EPSG:3857
|
|
172814
173095
|
getEPSG4326Lat(y3857) {
|
|
172815
173096
|
const y = 2 * Math.atan(Math.exp(y3857 / earthRadius)) - (Math.PI / 2);
|
|
172816
173097
|
return _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Angle.radiansToDegrees(y);
|
|
172817
173098
|
}
|
|
173099
|
+
/** @internal */
|
|
172818
173100
|
// Map tile providers like Bing and Mapbox allow the URL to be constructed directory from the zoom level and tile coordinates.
|
|
172819
173101
|
// However, WMS-based servers take a bounding box instead. This method can help get that bounding box from a tile.
|
|
172820
173102
|
getEPSG4326Extent(row, column, zoomLevel) {
|
|
172821
|
-
|
|
172822
|
-
|
|
172823
|
-
const
|
|
173103
|
+
// Shift left (this.tileSize << zoomLevel) overflow when using 512 pixels tile at higher resolution,
|
|
173104
|
+
// so use Math.pow instead (I assume the performance lost to be minimal)
|
|
173105
|
+
const mapSize = this.tileSize * Math.pow(2, zoomLevel);
|
|
173106
|
+
const leftGrid = this.tileSize * column;
|
|
173107
|
+
const topGrid = this.tileSize * row;
|
|
172824
173108
|
const longitudeLeft = 360 * ((leftGrid / mapSize) - 0.5);
|
|
172825
|
-
const y0 = 0.5 - ((topGrid +
|
|
173109
|
+
const y0 = 0.5 - ((topGrid + this.tileSize) / mapSize);
|
|
172826
173110
|
const latitudeBottom = 90.0 - 360.0 * Math.atan(Math.exp(-y0 * 2 * Math.PI)) / Math.PI;
|
|
172827
|
-
const longitudeRight = 360 * (((leftGrid +
|
|
173111
|
+
const longitudeRight = 360 * (((leftGrid + this.tileSize) / mapSize) - 0.5);
|
|
172828
173112
|
const y1 = 0.5 - (topGrid / mapSize);
|
|
172829
173113
|
const latitudeTop = 90.0 - 360.0 * Math.atan(Math.exp(-y1 * 2 * Math.PI)) / Math.PI;
|
|
172830
173114
|
return { longitudeLeft, longitudeRight, latitudeTop, latitudeBottom };
|
|
172831
173115
|
}
|
|
173116
|
+
/** @internal */
|
|
172832
173117
|
getEPSG3857Extent(row, column, zoomLevel) {
|
|
172833
173118
|
const epsg4326Extent = this.getEPSG4326Extent(row, column, zoomLevel);
|
|
172834
173119
|
const left = this.getEPSG3857X(epsg4326Extent.longitudeLeft);
|
|
@@ -172837,10 +173122,12 @@ class MapLayerImageryProvider {
|
|
|
172837
173122
|
const top = this.getEPSG3857Y(epsg4326Extent.latitudeTop);
|
|
172838
173123
|
return { left, right, bottom, top };
|
|
172839
173124
|
}
|
|
173125
|
+
/** @internal */
|
|
172840
173126
|
getEPSG3857ExtentString(row, column, zoomLevel) {
|
|
172841
173127
|
const tileExtent = this.getEPSG3857Extent(row, column, zoomLevel);
|
|
172842
173128
|
return `${tileExtent.left.toFixed(2)},${tileExtent.bottom.toFixed(2)},${tileExtent.right.toFixed(2)},${tileExtent.top.toFixed(2)}`;
|
|
172843
173129
|
}
|
|
173130
|
+
/** @internal */
|
|
172844
173131
|
getEPSG4326ExtentString(row, column, zoomLevel, latLongAxisOrdering) {
|
|
172845
173132
|
const tileExtent = this.getEPSG4326Extent(row, column, zoomLevel);
|
|
172846
173133
|
if (latLongAxisOrdering) {
|
|
@@ -172926,7 +173213,7 @@ class MapLayerSource {
|
|
|
172926
173213
|
return new MapLayerSource(json.formatId, json.name, json.url, json.baseMap, json.transparentBackground);
|
|
172927
173214
|
}
|
|
172928
173215
|
async validateSource(ignoreCache) {
|
|
172929
|
-
return _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.mapLayerFormatRegistry.validateSource(this.formatId, this.url, this.
|
|
173216
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.mapLayerFormatRegistry.validateSource(this.formatId, this.url, this.userName, this.password, ignoreCache);
|
|
172930
173217
|
}
|
|
172931
173218
|
/** @internal*/
|
|
172932
173219
|
static fromBackgroundMapProps(props) {
|
|
@@ -175803,7 +176090,10 @@ class WmsCapabilities {
|
|
|
175803
176090
|
if (!xmlCapabilities)
|
|
175804
176091
|
return undefined;
|
|
175805
176092
|
const capabilities = new WmsCapabilities(new (wms_capabilities__WEBPACK_IMPORTED_MODULE_1___default())().parse(xmlCapabilities));
|
|
175806
|
-
|
|
176093
|
+
if (!credentials) {
|
|
176094
|
+
// Avoid caching protected data
|
|
176095
|
+
WmsCapabilities._capabilitiesCache.set(url, capabilities);
|
|
176096
|
+
}
|
|
175807
176097
|
return capabilities;
|
|
175808
176098
|
}
|
|
175809
176099
|
getSubLayers(visible = true) {
|
|
@@ -269637,9 +269927,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
269637
269927
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
269638
269928
|
/* harmony export */ "ITwinLocalization": () => (/* binding */ ITwinLocalization)
|
|
269639
269929
|
/* harmony export */ });
|
|
269640
|
-
/* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.
|
|
269641
|
-
/* 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.
|
|
269642
|
-
/* harmony import */ var i18next_http_backend__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
269930
|
+
/* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/esm/i18next.js");
|
|
269931
|
+
/* 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.8/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js");
|
|
269932
|
+
/* harmony import */ var i18next_http_backend__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/index.js");
|
|
269643
269933
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
269644
269934
|
/*---------------------------------------------------------------------------------------------
|
|
269645
269935
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -291051,7 +291341,7 @@ class TestContext {
|
|
|
291051
291341
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
291052
291342
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${(_a = process.env.IMJS_URL_PREFIX) !== null && _a !== void 0 ? _a : ""}api.bentley.com/imodels` } });
|
|
291053
291343
|
await core_frontend_1.NoRenderApp.startup({
|
|
291054
|
-
applicationVersion: "3.5.0-dev.
|
|
291344
|
+
applicationVersion: "3.5.0-dev.33",
|
|
291055
291345
|
applicationId: this.settings.gprid,
|
|
291056
291346
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
291057
291347
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -304839,9 +305129,9 @@ var WidgetState;
|
|
|
304839
305129
|
|
|
304840
305130
|
/***/ }),
|
|
304841
305131
|
|
|
304842
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
305132
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/getFetch.cjs":
|
|
304843
305133
|
/*!**************************************************************************************************************************!*\
|
|
304844
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
305134
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/getFetch.cjs ***!
|
|
304845
305135
|
\**************************************************************************************************************************/
|
|
304846
305136
|
/***/ ((module, exports, __webpack_require__) => {
|
|
304847
305137
|
|
|
@@ -306471,9 +306761,9 @@ const gBase64 = {
|
|
|
306471
306761
|
|
|
306472
306762
|
/***/ }),
|
|
306473
306763
|
|
|
306474
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306764
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
|
|
306475
306765
|
/*!******************************************************************************************************************************!*\
|
|
306476
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306766
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
|
|
306477
306767
|
\******************************************************************************************************************************/
|
|
306478
306768
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306479
306769
|
|
|
@@ -306484,19 +306774,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306484
306774
|
/* harmony export */ });
|
|
306485
306775
|
function _arrayLikeToArray(arr, len) {
|
|
306486
306776
|
if (len == null || len > arr.length) len = arr.length;
|
|
306487
|
-
|
|
306488
306777
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
306489
306778
|
arr2[i] = arr[i];
|
|
306490
306779
|
}
|
|
306491
|
-
|
|
306492
306780
|
return arr2;
|
|
306493
306781
|
}
|
|
306494
306782
|
|
|
306495
306783
|
/***/ }),
|
|
306496
306784
|
|
|
306497
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306785
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
|
|
306498
306786
|
/*!****************************************************************************************************************************!*\
|
|
306499
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306787
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
|
|
306500
306788
|
\****************************************************************************************************************************/
|
|
306501
306789
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306502
306790
|
|
|
@@ -306511,9 +306799,9 @@ function _arrayWithHoles(arr) {
|
|
|
306511
306799
|
|
|
306512
306800
|
/***/ }),
|
|
306513
306801
|
|
|
306514
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306802
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
|
|
306515
306803
|
/*!***********************************************************************************************************************************!*\
|
|
306516
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306804
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
|
|
306517
306805
|
\***********************************************************************************************************************************/
|
|
306518
306806
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306519
306807
|
|
|
@@ -306526,15 +306814,14 @@ function _assertThisInitialized(self) {
|
|
|
306526
306814
|
if (self === void 0) {
|
|
306527
306815
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
306528
306816
|
}
|
|
306529
|
-
|
|
306530
306817
|
return self;
|
|
306531
306818
|
}
|
|
306532
306819
|
|
|
306533
306820
|
/***/ }),
|
|
306534
306821
|
|
|
306535
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306822
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
|
|
306536
306823
|
/*!****************************************************************************************************************************!*\
|
|
306537
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306824
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
|
|
306538
306825
|
\****************************************************************************************************************************/
|
|
306539
306826
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306540
306827
|
|
|
@@ -306551,9 +306838,9 @@ function _classCallCheck(instance, Constructor) {
|
|
|
306551
306838
|
|
|
306552
306839
|
/***/ }),
|
|
306553
306840
|
|
|
306554
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306841
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
|
|
306555
306842
|
/*!*************************************************************************************************************************!*\
|
|
306556
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306843
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
|
|
306557
306844
|
\*************************************************************************************************************************/
|
|
306558
306845
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306559
306846
|
|
|
@@ -306571,7 +306858,6 @@ function _defineProperties(target, props) {
|
|
|
306571
306858
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
306572
306859
|
}
|
|
306573
306860
|
}
|
|
306574
|
-
|
|
306575
306861
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
306576
306862
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
306577
306863
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
@@ -306583,9 +306869,9 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
306583
306869
|
|
|
306584
306870
|
/***/ }),
|
|
306585
306871
|
|
|
306586
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306872
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
|
|
306587
306873
|
/*!****************************************************************************************************************************!*\
|
|
306588
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306874
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
|
|
306589
306875
|
\****************************************************************************************************************************/
|
|
306590
306876
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306591
306877
|
|
|
@@ -306605,15 +306891,14 @@ function _defineProperty(obj, key, value) {
|
|
|
306605
306891
|
} else {
|
|
306606
306892
|
obj[key] = value;
|
|
306607
306893
|
}
|
|
306608
|
-
|
|
306609
306894
|
return obj;
|
|
306610
306895
|
}
|
|
306611
306896
|
|
|
306612
306897
|
/***/ }),
|
|
306613
306898
|
|
|
306614
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306899
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
|
|
306615
306900
|
/*!****************************************************************************************************************************!*\
|
|
306616
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306901
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
|
|
306617
306902
|
\****************************************************************************************************************************/
|
|
306618
306903
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306619
306904
|
|
|
@@ -306631,9 +306916,9 @@ function _getPrototypeOf(o) {
|
|
|
306631
306916
|
|
|
306632
306917
|
/***/ }),
|
|
306633
306918
|
|
|
306634
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306919
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/inherits.js":
|
|
306635
306920
|
/*!**********************************************************************************************************************!*\
|
|
306636
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306921
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
|
|
306637
306922
|
\**********************************************************************************************************************/
|
|
306638
306923
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306639
306924
|
|
|
@@ -306642,13 +306927,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306642
306927
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306643
306928
|
/* harmony export */ "default": () => (/* binding */ _inherits)
|
|
306644
306929
|
/* harmony export */ });
|
|
306645
|
-
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306930
|
+
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
|
|
306646
306931
|
|
|
306647
306932
|
function _inherits(subClass, superClass) {
|
|
306648
306933
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
306649
306934
|
throw new TypeError("Super expression must either be null or a function");
|
|
306650
306935
|
}
|
|
306651
|
-
|
|
306652
306936
|
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
306653
306937
|
constructor: {
|
|
306654
306938
|
value: subClass,
|
|
@@ -306664,9 +306948,9 @@ function _inherits(subClass, superClass) {
|
|
|
306664
306948
|
|
|
306665
306949
|
/***/ }),
|
|
306666
306950
|
|
|
306667
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306951
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
|
|
306668
306952
|
/*!*****************************************************************************************************************************!*\
|
|
306669
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306953
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
|
|
306670
306954
|
\*****************************************************************************************************************************/
|
|
306671
306955
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306672
306956
|
|
|
@@ -306681,9 +306965,9 @@ function _iterableToArray(iter) {
|
|
|
306681
306965
|
|
|
306682
306966
|
/***/ }),
|
|
306683
306967
|
|
|
306684
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306968
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
|
|
306685
306969
|
/*!*****************************************************************************************************************************!*\
|
|
306686
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306970
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
|
|
306687
306971
|
\*****************************************************************************************************************************/
|
|
306688
306972
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306689
306973
|
|
|
@@ -306698,9 +306982,9 @@ function _nonIterableRest() {
|
|
|
306698
306982
|
|
|
306699
306983
|
/***/ }),
|
|
306700
306984
|
|
|
306701
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306985
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
|
|
306702
306986
|
/*!***************************************************************************************************************************************!*\
|
|
306703
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306987
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
|
|
306704
306988
|
\***************************************************************************************************************************************/
|
|
306705
306989
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306706
306990
|
|
|
@@ -306709,8 +306993,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306709
306993
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306710
306994
|
/* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
|
|
306711
306995
|
/* harmony export */ });
|
|
306712
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306713
|
-
/* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306996
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
306997
|
+
/* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
|
|
306714
306998
|
|
|
306715
306999
|
|
|
306716
307000
|
function _possibleConstructorReturn(self, call) {
|
|
@@ -306719,15 +307003,14 @@ function _possibleConstructorReturn(self, call) {
|
|
|
306719
307003
|
} else if (call !== void 0) {
|
|
306720
307004
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
306721
307005
|
}
|
|
306722
|
-
|
|
306723
307006
|
return (0,_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__["default"])(self);
|
|
306724
307007
|
}
|
|
306725
307008
|
|
|
306726
307009
|
/***/ }),
|
|
306727
307010
|
|
|
306728
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307011
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
|
|
306729
307012
|
/*!****************************************************************************************************************************!*\
|
|
306730
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307013
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
|
|
306731
307014
|
\****************************************************************************************************************************/
|
|
306732
307015
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306733
307016
|
|
|
@@ -306746,9 +307029,9 @@ function _setPrototypeOf(o, p) {
|
|
|
306746
307029
|
|
|
306747
307030
|
/***/ }),
|
|
306748
307031
|
|
|
306749
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307032
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/toArray.js":
|
|
306750
307033
|
/*!*********************************************************************************************************************!*\
|
|
306751
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307034
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
|
|
306752
307035
|
\*********************************************************************************************************************/
|
|
306753
307036
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306754
307037
|
|
|
@@ -306757,10 +307040,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306757
307040
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306758
307041
|
/* harmony export */ "default": () => (/* binding */ _toArray)
|
|
306759
307042
|
/* harmony export */ });
|
|
306760
|
-
/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306761
|
-
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306762
|
-
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306763
|
-
/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307043
|
+
/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
|
|
307044
|
+
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
|
|
307045
|
+
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
|
|
307046
|
+
/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
|
|
306764
307047
|
|
|
306765
307048
|
|
|
306766
307049
|
|
|
@@ -306771,9 +307054,9 @@ function _toArray(arr) {
|
|
|
306771
307054
|
|
|
306772
307055
|
/***/ }),
|
|
306773
307056
|
|
|
306774
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307057
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
|
306775
307058
|
/*!********************************************************************************************************************!*\
|
|
306776
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307059
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
|
|
306777
307060
|
\********************************************************************************************************************/
|
|
306778
307061
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306779
307062
|
|
|
@@ -306794,9 +307077,9 @@ function _typeof(obj) {
|
|
|
306794
307077
|
|
|
306795
307078
|
/***/ }),
|
|
306796
307079
|
|
|
306797
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307080
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
|
|
306798
307081
|
/*!****************************************************************************************************************************************!*\
|
|
306799
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307082
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
|
|
306800
307083
|
\****************************************************************************************************************************************/
|
|
306801
307084
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306802
307085
|
|
|
@@ -306805,7 +307088,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306805
307088
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306806
307089
|
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
|
306807
307090
|
/* harmony export */ });
|
|
306808
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307091
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
|
|
306809
307092
|
|
|
306810
307093
|
function _unsupportedIterableToArray(o, minLen) {
|
|
306811
307094
|
if (!o) return;
|
|
@@ -306818,9 +307101,9 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
306818
307101
|
|
|
306819
307102
|
/***/ }),
|
|
306820
307103
|
|
|
306821
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307104
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/index.js":
|
|
306822
307105
|
/*!**********************************************************************************************************************!*\
|
|
306823
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307106
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/index.js ***!
|
|
306824
307107
|
\**********************************************************************************************************************/
|
|
306825
307108
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306826
307109
|
|
|
@@ -306829,19 +307112,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306829
307112
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306830
307113
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
306831
307114
|
/* harmony export */ });
|
|
306832
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
306833
|
-
/* harmony import */ var _request_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./request.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307115
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/utils.js");
|
|
307116
|
+
/* harmony import */ var _request_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./request.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/request.js");
|
|
306834
307117
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
306835
|
-
|
|
306836
307118
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
306837
|
-
|
|
306838
307119
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
306839
|
-
|
|
306840
307120
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
306841
307121
|
|
|
306842
307122
|
|
|
306843
|
-
|
|
306844
|
-
|
|
306845
307123
|
var getDefaults = function getDefaults() {
|
|
306846
307124
|
return {
|
|
306847
307125
|
loadPath: '/locales/{{lng}}/{{ns}}.json',
|
|
@@ -306868,32 +307146,26 @@ var getDefaults = function getDefaults() {
|
|
|
306868
307146
|
}
|
|
306869
307147
|
};
|
|
306870
307148
|
};
|
|
306871
|
-
|
|
306872
307149
|
var Backend = function () {
|
|
306873
307150
|
function Backend(services) {
|
|
306874
307151
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
306875
307152
|
var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
306876
|
-
|
|
306877
307153
|
_classCallCheck(this, Backend);
|
|
306878
|
-
|
|
306879
307154
|
this.services = services;
|
|
306880
307155
|
this.options = options;
|
|
306881
307156
|
this.allOptions = allOptions;
|
|
306882
307157
|
this.type = 'backend';
|
|
306883
307158
|
this.init(services, options, allOptions);
|
|
306884
307159
|
}
|
|
306885
|
-
|
|
306886
307160
|
_createClass(Backend, [{
|
|
306887
307161
|
key: "init",
|
|
306888
307162
|
value: function init(services) {
|
|
306889
307163
|
var _this = this;
|
|
306890
|
-
|
|
306891
307164
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
306892
307165
|
var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
306893
307166
|
this.services = services;
|
|
306894
307167
|
this.options = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.defaults)(options, this.options || {}, getDefaults());
|
|
306895
307168
|
this.allOptions = allOptions;
|
|
306896
|
-
|
|
306897
307169
|
if (this.services && this.options.reloadInterval) {
|
|
306898
307170
|
setInterval(function () {
|
|
306899
307171
|
return _this.reload();
|
|
@@ -306914,22 +307186,17 @@ var Backend = function () {
|
|
|
306914
307186
|
key: "_readAny",
|
|
306915
307187
|
value: function _readAny(languages, loadUrlLanguages, namespaces, loadUrlNamespaces, callback) {
|
|
306916
307188
|
var _this2 = this;
|
|
306917
|
-
|
|
306918
307189
|
var loadPath = this.options.loadPath;
|
|
306919
|
-
|
|
306920
307190
|
if (typeof this.options.loadPath === 'function') {
|
|
306921
307191
|
loadPath = this.options.loadPath(languages, namespaces);
|
|
306922
307192
|
}
|
|
306923
|
-
|
|
306924
307193
|
loadPath = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.makePromise)(loadPath);
|
|
306925
307194
|
loadPath.then(function (resolvedLoadPath) {
|
|
306926
307195
|
if (!resolvedLoadPath) return callback(null, {});
|
|
306927
|
-
|
|
306928
307196
|
var url = _this2.services.interpolator.interpolate(resolvedLoadPath, {
|
|
306929
307197
|
lng: languages.join('+'),
|
|
306930
307198
|
ns: namespaces.join('+')
|
|
306931
307199
|
});
|
|
306932
|
-
|
|
306933
307200
|
_this2.loadUrl(url, callback, loadUrlLanguages, loadUrlNamespaces);
|
|
306934
307201
|
});
|
|
306935
307202
|
}
|
|
@@ -306937,14 +307204,12 @@ var Backend = function () {
|
|
|
306937
307204
|
key: "loadUrl",
|
|
306938
307205
|
value: function loadUrl(url, callback, languages, namespaces) {
|
|
306939
307206
|
var _this3 = this;
|
|
306940
|
-
|
|
306941
307207
|
this.options.request(this.options, url, undefined, function (err, res) {
|
|
306942
307208
|
if (res && (res.status >= 500 && res.status < 600 || !res.status)) return callback('failed loading ' + url + '; status code: ' + res.status, true);
|
|
306943
307209
|
if (res && res.status >= 400 && res.status < 500) return callback('failed loading ' + url + '; status code: ' + res.status, false);
|
|
306944
307210
|
if (!res && err && err.message && err.message.indexOf('Failed to fetch') > -1) return callback('failed loading ' + url + ': ' + err.message, true);
|
|
306945
307211
|
if (err) return callback(err, false);
|
|
306946
307212
|
var ret, parseErr;
|
|
306947
|
-
|
|
306948
307213
|
try {
|
|
306949
307214
|
if (typeof res.data === 'string') {
|
|
306950
307215
|
ret = _this3.options.parse(res.data, languages, namespaces);
|
|
@@ -306954,7 +307219,6 @@ var Backend = function () {
|
|
|
306954
307219
|
} catch (e) {
|
|
306955
307220
|
parseErr = 'failed parsing ' + url + ' to json';
|
|
306956
307221
|
}
|
|
306957
|
-
|
|
306958
307222
|
if (parseErr) return callback(parseErr, false);
|
|
306959
307223
|
callback(null, ret);
|
|
306960
307224
|
});
|
|
@@ -306963,7 +307227,6 @@ var Backend = function () {
|
|
|
306963
307227
|
key: "create",
|
|
306964
307228
|
value: function create(languages, namespace, key, fallbackValue, callback) {
|
|
306965
307229
|
var _this4 = this;
|
|
306966
|
-
|
|
306967
307230
|
if (!this.options.addPath) return;
|
|
306968
307231
|
if (typeof languages === 'string') languages = [languages];
|
|
306969
307232
|
var payload = this.options.parsePayload(namespace, key, fallbackValue);
|
|
@@ -306972,21 +307235,17 @@ var Backend = function () {
|
|
|
306972
307235
|
var resArray = [];
|
|
306973
307236
|
languages.forEach(function (lng) {
|
|
306974
307237
|
var addPath = _this4.options.addPath;
|
|
306975
|
-
|
|
306976
307238
|
if (typeof _this4.options.addPath === 'function') {
|
|
306977
307239
|
addPath = _this4.options.addPath(lng, namespace);
|
|
306978
307240
|
}
|
|
306979
|
-
|
|
306980
307241
|
var url = _this4.services.interpolator.interpolate(addPath, {
|
|
306981
307242
|
lng: lng,
|
|
306982
307243
|
ns: namespace
|
|
306983
307244
|
});
|
|
306984
|
-
|
|
306985
307245
|
_this4.options.request(_this4.options, url, payload, function (data, res) {
|
|
306986
307246
|
finished += 1;
|
|
306987
307247
|
dataArray.push(data);
|
|
306988
307248
|
resArray.push(res);
|
|
306989
|
-
|
|
306990
307249
|
if (finished === languages.length) {
|
|
306991
307250
|
if (callback) callback(dataArray, resArray);
|
|
306992
307251
|
}
|
|
@@ -306997,22 +307256,20 @@ var Backend = function () {
|
|
|
306997
307256
|
key: "reload",
|
|
306998
307257
|
value: function reload() {
|
|
306999
307258
|
var _this5 = this;
|
|
307000
|
-
|
|
307001
307259
|
var _this$services = this.services,
|
|
307002
|
-
|
|
307003
|
-
|
|
307004
|
-
|
|
307260
|
+
backendConnector = _this$services.backendConnector,
|
|
307261
|
+
languageUtils = _this$services.languageUtils,
|
|
307262
|
+
logger = _this$services.logger;
|
|
307005
307263
|
var currentLanguage = backendConnector.language;
|
|
307006
307264
|
if (currentLanguage && currentLanguage.toLowerCase() === 'cimode') return;
|
|
307007
|
-
var toLoad = [];
|
|
307008
307265
|
|
|
307266
|
+
var toLoad = [];
|
|
307009
307267
|
var append = function append(lng) {
|
|
307010
307268
|
var lngs = languageUtils.toResolveHierarchy(lng);
|
|
307011
307269
|
lngs.forEach(function (l) {
|
|
307012
307270
|
if (toLoad.indexOf(l) < 0) toLoad.push(l);
|
|
307013
307271
|
});
|
|
307014
307272
|
};
|
|
307015
|
-
|
|
307016
307273
|
append(currentLanguage);
|
|
307017
307274
|
if (this.allOptions.preload) this.allOptions.preload.forEach(function (l) {
|
|
307018
307275
|
return append(l);
|
|
@@ -307028,18 +307285,16 @@ var Backend = function () {
|
|
|
307028
307285
|
});
|
|
307029
307286
|
}
|
|
307030
307287
|
}]);
|
|
307031
|
-
|
|
307032
307288
|
return Backend;
|
|
307033
307289
|
}();
|
|
307034
|
-
|
|
307035
307290
|
Backend.type = 'backend';
|
|
307036
307291
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Backend);
|
|
307037
307292
|
|
|
307038
307293
|
/***/ }),
|
|
307039
307294
|
|
|
307040
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307295
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/request.js":
|
|
307041
307296
|
/*!************************************************************************************************************************!*\
|
|
307042
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307297
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/request.js ***!
|
|
307043
307298
|
\************************************************************************************************************************/
|
|
307044
307299
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
307045
307300
|
|
|
@@ -307049,14 +307304,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
307049
307304
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
307050
307305
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
307051
307306
|
/* harmony export */ });
|
|
307052
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307053
|
-
/* harmony import */ var _getFetch_cjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getFetch.cjs */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307307
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/utils.js");
|
|
307308
|
+
/* harmony import */ var _getFetch_cjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getFetch.cjs */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/getFetch.cjs");
|
|
307054
307309
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
307055
307310
|
|
|
307056
307311
|
|
|
307057
|
-
|
|
307058
307312
|
var fetchApi;
|
|
307059
|
-
|
|
307060
307313
|
if (typeof fetch === 'function') {
|
|
307061
307314
|
if (typeof global !== 'undefined' && global.fetch) {
|
|
307062
307315
|
fetchApi = global.fetch;
|
|
@@ -307066,9 +307319,7 @@ if (typeof fetch === 'function') {
|
|
|
307066
307319
|
fetchApi = fetch;
|
|
307067
307320
|
}
|
|
307068
307321
|
}
|
|
307069
|
-
|
|
307070
307322
|
var XmlHttpRequestApi;
|
|
307071
|
-
|
|
307072
307323
|
if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.hasXMLHttpRequest)()) {
|
|
307073
307324
|
if (typeof global !== 'undefined' && global.XMLHttpRequest) {
|
|
307074
307325
|
XmlHttpRequestApi = global.XMLHttpRequest;
|
|
@@ -307076,9 +307327,7 @@ if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.hasXMLHttpRequest)()) {
|
|
|
307076
307327
|
XmlHttpRequestApi = window.XMLHttpRequest;
|
|
307077
307328
|
}
|
|
307078
307329
|
}
|
|
307079
|
-
|
|
307080
307330
|
var ActiveXObjectApi;
|
|
307081
|
-
|
|
307082
307331
|
if (typeof ActiveXObject === 'function') {
|
|
307083
307332
|
if (typeof global !== 'undefined' && global.ActiveXObject) {
|
|
307084
307333
|
ActiveXObjectApi = global.ActiveXObject;
|
|
@@ -307086,25 +307335,19 @@ if (typeof ActiveXObject === 'function') {
|
|
|
307086
307335
|
ActiveXObjectApi = window.ActiveXObject;
|
|
307087
307336
|
}
|
|
307088
307337
|
}
|
|
307089
|
-
|
|
307090
307338
|
if (!fetchApi && /*#__PURE__*/ (_getFetch_cjs__WEBPACK_IMPORTED_MODULE_1___namespace_cache || (_getFetch_cjs__WEBPACK_IMPORTED_MODULE_1___namespace_cache = __webpack_require__.t(_getFetch_cjs__WEBPACK_IMPORTED_MODULE_1__, 2))) && !XmlHttpRequestApi && !ActiveXObjectApi) fetchApi = _getFetch_cjs__WEBPACK_IMPORTED_MODULE_1__ || /*#__PURE__*/ (_getFetch_cjs__WEBPACK_IMPORTED_MODULE_1___namespace_cache || (_getFetch_cjs__WEBPACK_IMPORTED_MODULE_1___namespace_cache = __webpack_require__.t(_getFetch_cjs__WEBPACK_IMPORTED_MODULE_1__, 2)));
|
|
307091
307339
|
if (typeof fetchApi !== 'function') fetchApi = undefined;
|
|
307092
|
-
|
|
307093
307340
|
var addQueryString = function addQueryString(url, params) {
|
|
307094
307341
|
if (params && _typeof(params) === 'object') {
|
|
307095
307342
|
var queryString = '';
|
|
307096
|
-
|
|
307097
307343
|
for (var paramName in params) {
|
|
307098
307344
|
queryString += '&' + encodeURIComponent(paramName) + '=' + encodeURIComponent(params[paramName]);
|
|
307099
307345
|
}
|
|
307100
|
-
|
|
307101
307346
|
if (!queryString) return url;
|
|
307102
307347
|
url = url + (url.indexOf('?') !== -1 ? '&' : '?') + queryString.slice(1);
|
|
307103
307348
|
}
|
|
307104
|
-
|
|
307105
307349
|
return url;
|
|
307106
307350
|
};
|
|
307107
|
-
|
|
307108
307351
|
var fetchIt = function fetchIt(url, fetchOptions, callback) {
|
|
307109
307352
|
fetchApi(url, fetchOptions).then(function (response) {
|
|
307110
307353
|
if (!response.ok) return callback(response.statusText || 'Error', {
|
|
@@ -307118,14 +307361,12 @@ var fetchIt = function fetchIt(url, fetchOptions, callback) {
|
|
|
307118
307361
|
}).catch(callback);
|
|
307119
307362
|
}).catch(callback);
|
|
307120
307363
|
};
|
|
307121
|
-
|
|
307122
307364
|
var omitFetchOptions = false;
|
|
307123
307365
|
|
|
307124
307366
|
var requestWithFetch = function requestWithFetch(options, url, payload, callback) {
|
|
307125
307367
|
if (options.queryStringParams) {
|
|
307126
307368
|
url = addQueryString(url, options.queryStringParams);
|
|
307127
307369
|
}
|
|
307128
|
-
|
|
307129
307370
|
var headers = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.defaults)({}, typeof options.customHeaders === 'function' ? options.customHeaders() : options.customHeaders);
|
|
307130
307371
|
if (payload) headers['Content-Type'] = 'application/json';
|
|
307131
307372
|
var reqOptions = typeof options.requestOptions === 'function' ? options.requestOptions(payload) : options.requestOptions;
|
|
@@ -307134,14 +307375,12 @@ var requestWithFetch = function requestWithFetch(options, url, payload, callback
|
|
|
307134
307375
|
body: payload ? options.stringify(payload) : undefined,
|
|
307135
307376
|
headers: headers
|
|
307136
307377
|
}, omitFetchOptions ? {} : reqOptions);
|
|
307137
|
-
|
|
307138
307378
|
try {
|
|
307139
307379
|
fetchIt(url, fetchOptions, callback);
|
|
307140
307380
|
} catch (e) {
|
|
307141
307381
|
if (!reqOptions || Object.keys(reqOptions).length === 0 || !e.message || e.message.indexOf('not implemented') < 0) {
|
|
307142
307382
|
return callback(e);
|
|
307143
307383
|
}
|
|
307144
|
-
|
|
307145
307384
|
try {
|
|
307146
307385
|
Object.keys(reqOptions).forEach(function (opt) {
|
|
307147
307386
|
delete fetchOptions[opt];
|
|
@@ -307158,84 +307397,66 @@ var requestWithXmlHttpRequest = function requestWithXmlHttpRequest(options, url,
|
|
|
307158
307397
|
if (payload && _typeof(payload) === 'object') {
|
|
307159
307398
|
payload = addQueryString('', payload).slice(1);
|
|
307160
307399
|
}
|
|
307161
|
-
|
|
307162
307400
|
if (options.queryStringParams) {
|
|
307163
307401
|
url = addQueryString(url, options.queryStringParams);
|
|
307164
307402
|
}
|
|
307165
|
-
|
|
307166
307403
|
try {
|
|
307167
307404
|
var x;
|
|
307168
|
-
|
|
307169
307405
|
if (XmlHttpRequestApi) {
|
|
307170
307406
|
x = new XmlHttpRequestApi();
|
|
307171
307407
|
} else {
|
|
307172
307408
|
x = new ActiveXObjectApi('MSXML2.XMLHTTP.3.0');
|
|
307173
307409
|
}
|
|
307174
|
-
|
|
307175
307410
|
x.open(payload ? 'POST' : 'GET', url, 1);
|
|
307176
|
-
|
|
307177
307411
|
if (!options.crossDomain) {
|
|
307178
307412
|
x.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
|
|
307179
307413
|
}
|
|
307180
|
-
|
|
307181
307414
|
x.withCredentials = !!options.withCredentials;
|
|
307182
|
-
|
|
307183
307415
|
if (payload) {
|
|
307184
307416
|
x.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
|
|
307185
307417
|
}
|
|
307186
|
-
|
|
307187
307418
|
if (x.overrideMimeType) {
|
|
307188
307419
|
x.overrideMimeType('application/json');
|
|
307189
307420
|
}
|
|
307190
|
-
|
|
307191
307421
|
var h = options.customHeaders;
|
|
307192
307422
|
h = typeof h === 'function' ? h() : h;
|
|
307193
|
-
|
|
307194
307423
|
if (h) {
|
|
307195
307424
|
for (var i in h) {
|
|
307196
307425
|
x.setRequestHeader(i, h[i]);
|
|
307197
307426
|
}
|
|
307198
307427
|
}
|
|
307199
|
-
|
|
307200
307428
|
x.onreadystatechange = function () {
|
|
307201
307429
|
x.readyState > 3 && callback(x.status >= 400 ? x.statusText : null, {
|
|
307202
307430
|
status: x.status,
|
|
307203
307431
|
data: x.responseText
|
|
307204
307432
|
});
|
|
307205
307433
|
};
|
|
307206
|
-
|
|
307207
307434
|
x.send(payload);
|
|
307208
307435
|
} catch (e) {
|
|
307209
307436
|
console && console.log(e);
|
|
307210
307437
|
}
|
|
307211
307438
|
};
|
|
307212
|
-
|
|
307213
307439
|
var request = function request(options, url, payload, callback) {
|
|
307214
307440
|
if (typeof payload === 'function') {
|
|
307215
307441
|
callback = payload;
|
|
307216
307442
|
payload = undefined;
|
|
307217
307443
|
}
|
|
307218
|
-
|
|
307219
307444
|
callback = callback || function () {};
|
|
307220
|
-
|
|
307221
307445
|
if (fetchApi) {
|
|
307222
307446
|
return requestWithFetch(options, url, payload, callback);
|
|
307223
307447
|
}
|
|
307224
|
-
|
|
307225
307448
|
if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.hasXMLHttpRequest)() || typeof ActiveXObject === 'function') {
|
|
307226
307449
|
return requestWithXmlHttpRequest(options, url, payload, callback);
|
|
307227
307450
|
}
|
|
307228
|
-
|
|
307229
307451
|
callback(new Error('No fetch and no xhr implementation found!'));
|
|
307230
307452
|
};
|
|
307231
|
-
|
|
307232
307453
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (request);
|
|
307233
307454
|
|
|
307234
307455
|
/***/ }),
|
|
307235
307456
|
|
|
307236
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307457
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/utils.js":
|
|
307237
307458
|
/*!**********************************************************************************************************************!*\
|
|
307238
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307459
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/utils.js ***!
|
|
307239
307460
|
\**********************************************************************************************************************/
|
|
307240
307461
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
307241
307462
|
|
|
@@ -307247,7 +307468,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
307247
307468
|
/* harmony export */ "makePromise": () => (/* binding */ makePromise)
|
|
307248
307469
|
/* harmony export */ });
|
|
307249
307470
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
307250
|
-
|
|
307251
307471
|
var arr = [];
|
|
307252
307472
|
var each = arr.forEach;
|
|
307253
307473
|
var slice = arr.slice;
|
|
@@ -307273,16 +307493,15 @@ function makePromise(maybePromise) {
|
|
|
307273
307493
|
if (isPromise(maybePromise)) {
|
|
307274
307494
|
return maybePromise;
|
|
307275
307495
|
}
|
|
307276
|
-
|
|
307277
307496
|
return Promise.resolve(maybePromise);
|
|
307278
307497
|
}
|
|
307279
307498
|
|
|
307280
307499
|
/***/ }),
|
|
307281
307500
|
|
|
307282
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.
|
|
307283
|
-
|
|
307284
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next@21.
|
|
307285
|
-
|
|
307501
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/esm/i18next.js":
|
|
307502
|
+
/*!*****************************************************************************************************!*\
|
|
307503
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/esm/i18next.js ***!
|
|
307504
|
+
\*****************************************************************************************************/
|
|
307286
307505
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
307287
307506
|
|
|
307288
307507
|
"use strict";
|
|
@@ -307303,15 +307522,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
307303
307522
|
/* harmony export */ "t": () => (/* binding */ t),
|
|
307304
307523
|
/* harmony export */ "use": () => (/* binding */ use)
|
|
307305
307524
|
/* harmony export */ });
|
|
307306
|
-
/* 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.
|
|
307307
|
-
/* 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.
|
|
307308
|
-
/* 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.
|
|
307309
|
-
/* 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.
|
|
307310
|
-
/* 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.
|
|
307311
|
-
/* 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.
|
|
307312
|
-
/* 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.
|
|
307313
|
-
/* 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.
|
|
307314
|
-
/* 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.
|
|
307525
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
307526
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
307527
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
307528
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
|
|
307529
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/inherits.js");
|
|
307530
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
|
|
307531
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
|
|
307532
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
|
|
307533
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/toArray.js");
|
|
307315
307534
|
|
|
307316
307535
|
|
|
307317
307536
|
|
|
@@ -309072,6 +309291,21 @@ function parseFormatStr(formatStr) {
|
|
|
309072
309291
|
};
|
|
309073
309292
|
}
|
|
309074
309293
|
|
|
309294
|
+
function createCachedFormatter(fn) {
|
|
309295
|
+
var cache = {};
|
|
309296
|
+
return function invokeFormatter(val, lng, options) {
|
|
309297
|
+
var key = lng + JSON.stringify(options);
|
|
309298
|
+
var formatter = cache[key];
|
|
309299
|
+
|
|
309300
|
+
if (!formatter) {
|
|
309301
|
+
formatter = fn(lng, options);
|
|
309302
|
+
cache[key] = formatter;
|
|
309303
|
+
}
|
|
309304
|
+
|
|
309305
|
+
return formatter(val);
|
|
309306
|
+
};
|
|
309307
|
+
}
|
|
309308
|
+
|
|
309075
309309
|
var Formatter = function () {
|
|
309076
309310
|
function Formatter() {
|
|
309077
309311
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
@@ -309081,23 +309315,38 @@ var Formatter = function () {
|
|
|
309081
309315
|
this.logger = baseLogger.create('formatter');
|
|
309082
309316
|
this.options = options;
|
|
309083
309317
|
this.formats = {
|
|
309084
|
-
number: function
|
|
309085
|
-
|
|
309086
|
-
|
|
309087
|
-
|
|
309088
|
-
|
|
309318
|
+
number: createCachedFormatter(function (lng, options) {
|
|
309319
|
+
var formatter = new Intl.NumberFormat(lng, options);
|
|
309320
|
+
return function (val) {
|
|
309321
|
+
return formatter.format(val);
|
|
309322
|
+
};
|
|
309323
|
+
}),
|
|
309324
|
+
currency: createCachedFormatter(function (lng, options) {
|
|
309325
|
+
var formatter = new Intl.NumberFormat(lng, _objectSpread$4(_objectSpread$4({}, options), {}, {
|
|
309089
309326
|
style: 'currency'
|
|
309090
|
-
}))
|
|
309091
|
-
|
|
309092
|
-
|
|
309093
|
-
|
|
309094
|
-
},
|
|
309095
|
-
|
|
309096
|
-
|
|
309097
|
-
|
|
309098
|
-
|
|
309099
|
-
|
|
309100
|
-
}
|
|
309327
|
+
}));
|
|
309328
|
+
return function (val) {
|
|
309329
|
+
return formatter.format(val);
|
|
309330
|
+
};
|
|
309331
|
+
}),
|
|
309332
|
+
datetime: createCachedFormatter(function (lng, options) {
|
|
309333
|
+
var formatter = new Intl.DateTimeFormat(lng, _objectSpread$4({}, options));
|
|
309334
|
+
return function (val) {
|
|
309335
|
+
return formatter.format(val);
|
|
309336
|
+
};
|
|
309337
|
+
}),
|
|
309338
|
+
relativetime: createCachedFormatter(function (lng, options) {
|
|
309339
|
+
var formatter = new Intl.RelativeTimeFormat(lng, _objectSpread$4({}, options));
|
|
309340
|
+
return function (val) {
|
|
309341
|
+
return formatter.format(val, options.range || 'day');
|
|
309342
|
+
};
|
|
309343
|
+
}),
|
|
309344
|
+
list: createCachedFormatter(function (lng, options) {
|
|
309345
|
+
var formatter = new Intl.ListFormat(lng, _objectSpread$4({}, options));
|
|
309346
|
+
return function (val) {
|
|
309347
|
+
return formatter.format(val);
|
|
309348
|
+
};
|
|
309349
|
+
})
|
|
309101
309350
|
};
|
|
309102
309351
|
this.init(options);
|
|
309103
309352
|
}
|
|
@@ -309116,6 +309365,11 @@ var Formatter = function () {
|
|
|
309116
309365
|
value: function add(name, fc) {
|
|
309117
309366
|
this.formats[name.toLowerCase().trim()] = fc;
|
|
309118
309367
|
}
|
|
309368
|
+
}, {
|
|
309369
|
+
key: "addCached",
|
|
309370
|
+
value: function addCached(name, fc) {
|
|
309371
|
+
this.formats[name.toLowerCase().trim()] = createCachedFormatter(fc);
|
|
309372
|
+
}
|
|
309119
309373
|
}, {
|
|
309120
309374
|
key: "format",
|
|
309121
309375
|
value: function format(value, _format, lng, options) {
|
|
@@ -310156,7 +310410,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
310156
310410
|
/***/ ((module) => {
|
|
310157
310411
|
|
|
310158
310412
|
"use strict";
|
|
310159
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.5.0-dev.
|
|
310413
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.5.0-dev.33","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":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","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.5.0-dev.33","@itwin/core-bentley":"workspace:^3.5.0-dev.33","@itwin/core-common":"workspace:^3.5.0-dev.33","@itwin/core-geometry":"workspace:^3.5.0-dev.33","@itwin/core-orbitgt":"workspace:^3.5.0-dev.33","@itwin/core-quantity":"workspace:^3.5.0-dev.33","@itwin/webgl-compatibility":"workspace:^3.5.0-dev.33"},"//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.59","@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/object-storage-azure":"~1.4.0","@itwin/cloud-agnostic-core":"~1.4.0","@itwin/object-storage-core":"~1.4.0","@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","reflect-metadata":"0.1.13"},"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"}}]}}');
|
|
310160
310414
|
|
|
310161
310415
|
/***/ }),
|
|
310162
310416
|
|