@itwin/core-i18n 5.0.0-dev.3 → 5.0.0-dev.34

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.
@@ -17,13 +17,13 @@
17
17
  /** @packageDocumentation
18
18
  * @module Localization
19
19
  */
20
- function cov_20i3u2eahi() {
21
- var path = "D:\\vsts_a\\6\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js";
22
- var hash = "6ee762d06254c31d554fbd11f037b5e9ed424f64";
20
+ function cov_1641apqh2r() {
21
+ var path = "D:\\vsts_a\\15\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js";
22
+ var hash = "e9614b686caf2abf0c84fc15ed1d5ea8ea83d16c";
23
23
  var global = new Function("return this")();
24
24
  var gcv = "__coverage__";
25
25
  var coverageData = {
26
- path: "D:\\vsts_a\\6\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js",
26
+ path: "D:\\vsts_a\\15\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js",
27
27
  statementMap: {
28
28
  "0": {
29
29
  start: {
@@ -768,101 +768,101 @@ function cov_20i3u2eahi() {
768
768
  "74": {
769
769
  start: {
770
770
  line: 217,
771
- column: 16
771
+ column: 13
772
772
  },
773
773
  end: {
774
774
  line: 217,
775
- column: 83
775
+ column: 34
776
776
  }
777
777
  },
778
778
  "75": {
779
779
  start: {
780
780
  line: 218,
781
- column: 17
781
+ column: 16
782
782
  },
783
783
  end: {
784
784
  line: 218,
785
- column: 87
785
+ column: 83
786
786
  }
787
787
  },
788
788
  "76": {
789
789
  start: {
790
790
  line: 219,
791
- column: 18
791
+ column: 17
792
792
  },
793
793
  end: {
794
794
  line: 219,
795
- column: 86
795
+ column: 87
796
796
  }
797
797
  },
798
798
  "77": {
799
799
  start: {
800
- line: 221,
801
- column: 22
800
+ line: 220,
801
+ column: 18
802
802
  },
803
803
  end: {
804
- line: 221,
805
- column: 29
804
+ line: 220,
805
+ column: 86
806
806
  }
807
807
  },
808
808
  "78": {
809
809
  start: {
810
810
  line: 222,
811
- column: 8
811
+ column: 22
812
812
  },
813
813
  end: {
814
- line: 225,
815
- column: 9
814
+ line: 222,
815
+ column: 29
816
816
  }
817
817
  },
818
818
  "79": {
819
819
  start: {
820
- line: 222,
821
- column: 21
820
+ line: 223,
821
+ column: 8
822
822
  },
823
823
  end: {
824
- line: 222,
825
- column: 22
824
+ line: 226,
825
+ column: 9
826
826
  }
827
827
  },
828
828
  "80": {
829
829
  start: {
830
830
  line: 223,
831
- column: 12
831
+ column: 21
832
832
  },
833
833
  end: {
834
- line: 224,
835
- column: 44
834
+ line: 223,
835
+ column: 22
836
836
  }
837
837
  },
838
838
  "81": {
839
839
  start: {
840
840
  line: 224,
841
- column: 16
841
+ column: 12
842
842
  },
843
843
  end: {
844
- line: 224,
844
+ line: 225,
845
845
  column: 44
846
846
  }
847
847
  },
848
848
  "82": {
849
849
  start: {
850
- line: 226,
851
- column: 8
850
+ line: 225,
851
+ column: 16
852
852
  },
853
853
  end: {
854
- line: 226,
855
- column: 23
854
+ line: 225,
855
+ column: 44
856
856
  }
857
857
  },
858
858
  "83": {
859
859
  start: {
860
- line: 229,
861
- column: 0
860
+ line: 227,
861
+ column: 8
862
862
  },
863
863
  end: {
864
- line: 229,
865
- column: 34
864
+ line: 227,
865
+ column: 23
866
866
  }
867
867
  }
868
868
  },
@@ -1303,97 +1303,97 @@ function cov_20i3u2eahi() {
1303
1303
  name: "(anonymous_18)",
1304
1304
  decl: {
1305
1305
  start: {
1306
- line: 217,
1306
+ line: 218,
1307
1307
  column: 4
1308
1308
  },
1309
1309
  end: {
1310
- line: 217,
1310
+ line: 218,
1311
1311
  column: 5
1312
1312
  }
1313
1313
  },
1314
1314
  loc: {
1315
1315
  start: {
1316
- line: 217,
1316
+ line: 218,
1317
1317
  column: 14
1318
1318
  },
1319
1319
  end: {
1320
- line: 217,
1320
+ line: 218,
1321
1321
  column: 85
1322
1322
  }
1323
1323
  },
1324
- line: 217
1324
+ line: 218
1325
1325
  },
1326
1326
  "19": {
1327
1327
  name: "(anonymous_19)",
1328
1328
  decl: {
1329
1329
  start: {
1330
- line: 218,
1330
+ line: 219,
1331
1331
  column: 4
1332
1332
  },
1333
1333
  end: {
1334
- line: 218,
1334
+ line: 219,
1335
1335
  column: 5
1336
1336
  }
1337
1337
  },
1338
1338
  loc: {
1339
1339
  start: {
1340
- line: 218,
1340
+ line: 219,
1341
1341
  column: 15
1342
1342
  },
1343
1343
  end: {
1344
- line: 218,
1344
+ line: 219,
1345
1345
  column: 89
1346
1346
  }
1347
1347
  },
1348
- line: 218
1348
+ line: 219
1349
1349
  },
1350
1350
  "20": {
1351
1351
  name: "(anonymous_20)",
1352
1352
  decl: {
1353
1353
  start: {
1354
- line: 219,
1354
+ line: 220,
1355
1355
  column: 4
1356
1356
  },
1357
1357
  end: {
1358
- line: 219,
1358
+ line: 220,
1359
1359
  column: 5
1360
1360
  }
1361
1361
  },
1362
1362
  loc: {
1363
1363
  start: {
1364
- line: 219,
1364
+ line: 220,
1365
1365
  column: 16
1366
1366
  },
1367
1367
  end: {
1368
- line: 219,
1368
+ line: 220,
1369
1369
  column: 88
1370
1370
  }
1371
1371
  },
1372
- line: 219
1372
+ line: 220
1373
1373
  },
1374
1374
  "21": {
1375
1375
  name: "(anonymous_21)",
1376
1376
  decl: {
1377
1377
  start: {
1378
- line: 220,
1378
+ line: 221,
1379
1379
  column: 4
1380
1380
  },
1381
1381
  end: {
1382
- line: 220,
1382
+ line: 221,
1383
1383
  column: 5
1384
1384
  }
1385
1385
  },
1386
1386
  loc: {
1387
1387
  start: {
1388
- line: 220,
1388
+ line: 221,
1389
1389
  column: 27
1390
1390
  },
1391
1391
  end: {
1392
- line: 227,
1392
+ line: 228,
1393
1393
  column: 5
1394
1394
  }
1395
1395
  },
1396
- line: 220
1396
+ line: 221
1397
1397
  }
1398
1398
  },
1399
1399
  branchMap: {
@@ -2102,22 +2102,22 @@ function cov_20i3u2eahi() {
2102
2102
  "21": {
2103
2103
  loc: {
2104
2104
  start: {
2105
- line: 223,
2105
+ line: 224,
2106
2106
  column: 12
2107
2107
  },
2108
2108
  end: {
2109
- line: 224,
2109
+ line: 225,
2110
2110
  column: 44
2111
2111
  }
2112
2112
  },
2113
2113
  type: "if",
2114
2114
  locations: [{
2115
2115
  start: {
2116
- line: 223,
2116
+ line: 224,
2117
2117
  column: 12
2118
2118
  },
2119
2119
  end: {
2120
- line: 224,
2120
+ line: 225,
2121
2121
  column: 44
2122
2122
  }
2123
2123
  }, {
@@ -2130,7 +2130,7 @@ function cov_20i3u2eahi() {
2130
2130
  column: undefined
2131
2131
  }
2132
2132
  }],
2133
- line: 223
2133
+ line: 224
2134
2134
  }
2135
2135
  },
2136
2136
  s: {
@@ -2270,13 +2270,13 @@ function cov_20i3u2eahi() {
2270
2270
  inputSourceMap: {
2271
2271
  version: 3,
2272
2272
  file: "ITwinLocalization.js",
2273
- sources: ["D:\\vsts_a\\6\\s\\core\\i18n\\src\\ITwinLocalization.ts"],
2273
+ sources: ["D:\\vsts_a\\15\\s\\core\\i18n\\src\\ITwinLocalization.ts"],
2274
2274
  names: [],
2275
- mappings: "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",
2276
- sourcesContent: ["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Localization\r\n */\r\n\r\nimport i18next, { i18n, InitOptions, Module, TOptionsBase } from \"i18next\";\r\nimport i18nextBrowserLanguageDetector, { DetectorOptions } from \"i18next-browser-languagedetector\";\r\nimport Backend, { BackendOptions } from \"i18next-http-backend\";\r\nimport { Logger } from \"@itwin/core-bentley\";\r\nimport type { Localization } from \"@itwin/core-common\";\r\n\r\nconst DEFAULT_MAX_RETRIES: number = 1; // a low number prevents wasted time and potential timeouts when requesting localization files throws an error\r\n\r\n/** Options for ITwinLocalization\r\n * @public\r\n */\r\nexport interface LocalizationOptions {\r\n urlTemplate?: string;\r\n backendPlugin?: Module;\r\n detectorPlugin?: Module;\r\n initOptions?: InitOptions;\r\n backendHttpOptions?: BackendOptions;\r\n detectorOptions?: DetectorOptions;\r\n}\r\n\r\n/** Supplies localizations for iTwin.js\r\n * @note this class uses the [i18next](https://www.i18next.com/) package.\r\n * @public\r\n */\r\nexport class ITwinLocalization implements Localization {\r\n public i18next: i18n;\r\n private readonly _initOptions: InitOptions;\r\n private readonly _backendOptions: BackendOptions;\r\n private readonly _detectionOptions: DetectorOptions;\r\n private readonly _namespaces = new Map<string, Promise<void>>();\r\n\r\n public constructor(options?: LocalizationOptions) {\r\n this.i18next = i18next.createInstance();\r\n\r\n this._backendOptions = {\r\n loadPath: options?.urlTemplate ?? \"locales/{{lng}}/{{ns}}.json\",\r\n crossDomain: true,\r\n ...options?.backendHttpOptions,\r\n };\r\n\r\n this._detectionOptions = {\r\n order: [\"querystring\", \"navigator\", \"htmlTag\"],\r\n lookupQuerystring: \"lng\",\r\n caches: [],\r\n ...options?.detectorOptions,\r\n };\r\n\r\n this._initOptions = {\r\n interpolation: { escapeValue: true },\r\n fallbackLng: \"en\",\r\n maxRetries: DEFAULT_MAX_RETRIES,\r\n backend: this._backendOptions,\r\n detection: this._detectionOptions,\r\n ...options?.initOptions,\r\n };\r\n\r\n this.i18next\r\n .use(options?.detectorPlugin ?? i18nextBrowserLanguageDetector)\r\n .use(options?.backendPlugin ?? Backend)\r\n .use(TranslationLogger);\r\n }\r\n\r\n public async initialize(namespaces: string[]): Promise<void> {\r\n\r\n // Also consider namespaces passed into constructor\r\n const initNamespaces: string[] = [this._initOptions.ns || []].flat();\r\n const combinedNamespaces: Set<string> = new Set([...namespaces, ...initNamespaces]); // without duplicates\r\n\r\n const defaultNamespace: string | false | readonly string[] = this._initOptions.defaultNS ?? namespaces[0];\r\n if (defaultNamespace)\r\n combinedNamespaces.add(defaultNamespace as string); // Make sure default namespace is in namespaces list\r\n\r\n const initOptions: InitOptions = {\r\n ...this._initOptions,\r\n defaultNS: defaultNamespace,\r\n ns: [...combinedNamespaces],\r\n };\r\n\r\n // if in a development environment, set debugging\r\n if (process.env.NODE_ENV === \"development\")\r\n initOptions.debug = true;\r\n\r\n const initPromise = this.i18next.init(initOptions) as unknown as Promise<void>;\r\n\r\n for (const ns of namespaces)\r\n this._namespaces.set(ns, initPromise);\r\n\r\n return initPromise;\r\n }\r\n\r\n /** Replace all instances of `%{key}` within a string with the translations of those keys.\r\n * For example:\r\n * ``` ts\r\n * \"MyKeys\": {\r\n * \"Key1\": \"First value\",\r\n * \"Key2\": \"Second value\"\r\n * }\r\n * ```\r\n *\r\n * ``` ts\r\n * i18.translateKeys(\"string with %{MyKeys.Key1} followed by %{MyKeys.Key2}!\"\") // returns \"string with First Value followed by Second Value!\"\r\n * ```\r\n * @param line The input line, potentially containing %{keys}.\r\n * @returns The line with all %{keys} translated\r\n * @public\r\n */\r\n public getLocalizedKeys(line: string): string {\r\n return line.replace(/\\%\\{(.+?)\\}/g, (_match, tag) => this.getLocalizedString(tag));\r\n }\r\n\r\n /** Return the translated value of a key.\r\n * @param key - the key that matches a property in the JSON localization file.\r\n * @note The key includes the namespace, which identifies the particular localization file that contains the property,\r\n * followed by a colon, followed by the property in the JSON file.\r\n * For example:\r\n * ``` ts\r\n * const dataString: string = IModelApp.localization.getLocalizedString(\"iModelJs:BackgroundMap.BingDataAttribution\");\r\n * ```\r\n * assigns to dataString the string with property BackgroundMap.BingDataAttribution from the iModelJs.json localization file.\r\n * @returns The string corresponding to the first key that resolves.\r\n * @throws Error if no keys resolve to a string.\r\n * @public\r\n */\r\n public getLocalizedString(key: string | string[], options?: TOptionsBase): string {\r\n if (options?.returnDetails || options?.returnObjects) {\r\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\r\n }\r\n\r\n const value = this.i18next.t(key, options);\r\n\r\n if (typeof value !== \"string\") {\r\n throw new Error(\"Translation key(s) string not found\");\r\n }\r\n\r\n return value;\r\n }\r\n\r\n /** Similar to `getLocalizedString` but the default namespace is a separate parameter and the key does not need\r\n * to include a namespace. If a key includes a namespace, that namespace will be used for interpolating that key.\r\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\r\n * @param key - the key that matches a property in the JSON localization file.\r\n * @returns The string corresponding to the first key that resolves.\r\n * @throws Error if no keys resolve to a string.\r\n * @internal\r\n */\r\n public getLocalizedStringWithNamespace(namespace: string, key: string | string[], options?: TOptionsBase): string {\r\n let fullKey: string | string[] = \"\";\r\n\r\n if (typeof key === \"string\") {\r\n fullKey = `${namespace}:${key}`;\r\n } else {\r\n fullKey = key.map((subKey: string) => {\r\n return `${namespace}:${subKey}`;\r\n });\r\n }\r\n\r\n return this.getLocalizedString(fullKey, options);\r\n }\r\n\r\n /** Gets the English translation.\r\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\r\n * @param key - the key that matches a property in the JSON localization file.\r\n * @returns The string corresponding to the first key that resolves.\r\n * @throws Error if no keys resolve to a string.\r\n * @internal\r\n */\r\n public getEnglishString(namespace: string, key: string | string[], options?: TOptionsBase): string {\r\n if (options?.returnDetails || options?.returnObjects) {\r\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\r\n }\r\n\r\n options = {\r\n ...options,\r\n ns: namespace, // ensure namespace argument is used\r\n };\r\n\r\n const en = this.i18next.getFixedT(\"en\", namespace);\r\n const str = en(key, options);\r\n if (typeof str !== \"string\")\r\n throw new Error(\"Translation key(s) not found\");\r\n\r\n return str;\r\n }\r\n\r\n /** Get the promise for an already registered Namespace.\r\n * @param name - the name of the namespace\r\n * @public\r\n */\r\n public getNamespacePromise(name: string): Promise<void> | undefined {\r\n return this._namespaces.get(name);\r\n }\r\n\r\n /** @internal */\r\n public getLanguageList(): readonly string[] {\r\n return this.i18next.languages;\r\n }\r\n\r\n /** override the language detected in the browser */\r\n public async changeLanguage(language: string) {\r\n return this.i18next.changeLanguage(language) as unknown as Promise<void>;\r\n }\r\n\r\n /** Register a new Namespace and return it. If the namespace is already registered, it will be returned.\r\n * @param name - the name of the namespace, which is the base name of the JSON file that contains the localization properties.\r\n * @note - The registerNamespace method starts fetching the appropriate version of the JSON localization file from the server,\r\n * based on the current locale. To make sure that fetch is complete before performing translations from this namespace, await\r\n * fulfillment of the readPromise Promise property of the returned LocalizationNamespace.\r\n * @see [Localization in iTwin.js]($docs/learning/frontend/Localization.md)\r\n * @public\r\n */\r\n public async registerNamespace(name: string): Promise<void> {\r\n const existing = this._namespaces.get(name);\r\n if (existing !== undefined)\r\n return existing;\r\n\r\n const theReadPromise = new Promise<void>((resolve) => {\r\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\r\n this.i18next.loadNamespaces(name, (err) => {\r\n if (!err)\r\n return resolve();\r\n\r\n // Here we got a non-null err object.\r\n // This method is called when the system has attempted to load the resources for the namespaces for each possible locale.\r\n // For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.\r\n // Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.\r\n // There might be errs for some other namespaces as well as this one. We resolve the promise unless there's an error for each possible locale.\r\n let locales = this.getLanguageList().map((thisLocale: any) => `/${thisLocale}/`);\r\n\r\n try {\r\n for (const thisError of err) {\r\n if (typeof thisError === \"string\")\r\n locales = locales.filter((thisLocale) => !thisError.includes(thisLocale));\r\n }\r\n } catch {\r\n locales = [];\r\n }\r\n // if we removed every locale from the array, it wasn't loaded.\r\n if (locales.length === 0)\r\n Logger.logError(\"i18n\", `No resources for namespace ${name} could be loaded`);\r\n\r\n resolve();\r\n });\r\n });\r\n this._namespaces.set(name, theReadPromise);\r\n return theReadPromise;\r\n }\r\n\r\n /** @internal */\r\n public unregisterNamespace(name: string): void {\r\n this._namespaces.delete(name);\r\n }\r\n}\r\n\r\nclass TranslationLogger {\r\n public static readonly type = \"logger\";\r\n public log(args: string[]) { Logger.logInfo(\"i18n\", this.createLogMessage(args)); }\r\n public warn(args: string[]) { Logger.logWarning(\"i18n\", this.createLogMessage(args)); }\r\n public error(args: string[]) { Logger.logError(\"i18n\", this.createLogMessage(args)); }\r\n private createLogMessage(args: string[]) {\r\n let message = args[0];\r\n for (let i = 1; i < args.length; ++i) {\r\n if (typeof args[i] === \"string\")\r\n message += `\\n ${args[i]}`;\r\n }\r\n return message;\r\n }\r\n}\r\n"]
2275
+ mappings: "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",
2276
+ sourcesContent: ["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Localization\n */\n\nimport i18next, { i18n, InitOptions, Module, TOptionsBase } from \"i18next\";\nimport i18nextBrowserLanguageDetector, { DetectorOptions } from \"i18next-browser-languagedetector\";\nimport Backend, { BackendOptions } from \"i18next-http-backend\";\nimport { Logger } from \"@itwin/core-bentley\";\nimport type { Localization } from \"@itwin/core-common\";\n\nconst DEFAULT_MAX_RETRIES: number = 1; // a low number prevents wasted time and potential timeouts when requesting localization files throws an error\n\n/** Options for ITwinLocalization\n * @public\n */\nexport interface LocalizationOptions {\n urlTemplate?: string;\n backendPlugin?: Module;\n detectorPlugin?: Module;\n initOptions?: InitOptions;\n backendHttpOptions?: BackendOptions;\n detectorOptions?: DetectorOptions;\n}\n\n/** Supplies localizations for iTwin.js\n * @note this class uses the [i18next](https://www.i18next.com/) package.\n * @public\n */\nexport class ITwinLocalization implements Localization {\n public i18next: i18n;\n private readonly _initOptions: InitOptions;\n private readonly _backendOptions: BackendOptions;\n private readonly _detectionOptions: DetectorOptions;\n private readonly _namespaces = new Map<string, Promise<void>>();\n\n public constructor(options?: LocalizationOptions) {\n this.i18next = i18next.createInstance();\n\n this._backendOptions = {\n loadPath: options?.urlTemplate ?? \"locales/{{lng}}/{{ns}}.json\",\n crossDomain: true,\n ...options?.backendHttpOptions,\n };\n\n this._detectionOptions = {\n order: [\"querystring\", \"navigator\", \"htmlTag\"],\n lookupQuerystring: \"lng\",\n caches: [],\n ...options?.detectorOptions,\n };\n\n this._initOptions = {\n interpolation: { escapeValue: true },\n fallbackLng: \"en\",\n maxRetries: DEFAULT_MAX_RETRIES,\n backend: this._backendOptions,\n detection: this._detectionOptions,\n ...options?.initOptions,\n };\n\n this.i18next\n .use(options?.detectorPlugin ?? i18nextBrowserLanguageDetector)\n .use(options?.backendPlugin ?? Backend)\n .use(TranslationLogger);\n }\n\n public async initialize(namespaces: string[]): Promise<void> {\n\n // Also consider namespaces passed into constructor\n const initNamespaces: string[] = [this._initOptions.ns || []].flat();\n const combinedNamespaces: Set<string> = new Set([...namespaces, ...initNamespaces]); // without duplicates\n\n const defaultNamespace: string | false | readonly string[] = this._initOptions.defaultNS ?? namespaces[0];\n if (defaultNamespace)\n combinedNamespaces.add(defaultNamespace as string); // Make sure default namespace is in namespaces list\n\n const initOptions: InitOptions = {\n ...this._initOptions,\n defaultNS: defaultNamespace,\n ns: [...combinedNamespaces],\n };\n\n // if in a development environment, set debugging\n if (process.env.NODE_ENV === \"development\")\n initOptions.debug = true;\n\n const initPromise = this.i18next.init(initOptions) as unknown as Promise<void>;\n\n for (const ns of namespaces)\n this._namespaces.set(ns, initPromise);\n\n return initPromise;\n }\n\n /** Replace all instances of `%{key}` within a string with the translations of those keys.\n * For example:\n * ``` ts\n * \"MyKeys\": {\n * \"Key1\": \"First value\",\n * \"Key2\": \"Second value\"\n * }\n * ```\n *\n * ``` ts\n * i18.translateKeys(\"string with %{MyKeys.Key1} followed by %{MyKeys.Key2}!\"\") // returns \"string with First Value followed by Second Value!\"\n * ```\n * @param line The input line, potentially containing %{keys}.\n * @returns The line with all %{keys} translated\n * @public\n */\n public getLocalizedKeys(line: string): string {\n return line.replace(/\\%\\{(.+?)\\}/g, (_match, tag) => this.getLocalizedString(tag));\n }\n\n /** Return the translated value of a key.\n * @param key - the key that matches a property in the JSON localization file.\n * @note The key includes the namespace, which identifies the particular localization file that contains the property,\n * followed by a colon, followed by the property in the JSON file.\n * For example:\n * ``` ts\n * const dataString: string = IModelApp.localization.getLocalizedString(\"iModelJs:BackgroundMap.BingDataAttribution\");\n * ```\n * assigns to dataString the string with property BackgroundMap.BingDataAttribution from the iModelJs.json localization file.\n * @returns The string corresponding to the first key that resolves.\n * @throws Error if no keys resolve to a string.\n * @public\n */\n public getLocalizedString(key: string | string[], options?: TOptionsBase): string {\n if (options?.returnDetails || options?.returnObjects) {\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\n }\n\n const value = this.i18next.t(key, options);\n\n if (typeof value !== \"string\") {\n throw new Error(\"Translation key(s) string not found\");\n }\n\n return value;\n }\n\n /** Similar to `getLocalizedString` but the default namespace is a separate parameter and the key does not need\n * to include a namespace. If a key includes a namespace, that namespace will be used for interpolating that key.\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\n * @param key - the key that matches a property in the JSON localization file.\n * @returns The string corresponding to the first key that resolves.\n * @throws Error if no keys resolve to a string.\n * @internal\n */\n public getLocalizedStringWithNamespace(namespace: string, key: string | string[], options?: TOptionsBase): string {\n let fullKey: string | string[] = \"\";\n\n if (typeof key === \"string\") {\n fullKey = `${namespace}:${key}`;\n } else {\n fullKey = key.map((subKey: string) => {\n return `${namespace}:${subKey}`;\n });\n }\n\n return this.getLocalizedString(fullKey, options);\n }\n\n /** Gets the English translation.\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\n * @param key - the key that matches a property in the JSON localization file.\n * @returns The string corresponding to the first key that resolves.\n * @throws Error if no keys resolve to a string.\n * @internal\n */\n public getEnglishString(namespace: string, key: string | string[], options?: TOptionsBase): string {\n if (options?.returnDetails || options?.returnObjects) {\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\n }\n\n options = {\n ...options,\n ns: namespace, // ensure namespace argument is used\n };\n\n const en = this.i18next.getFixedT(\"en\", namespace);\n const str = en(key, options);\n if (typeof str !== \"string\")\n throw new Error(\"Translation key(s) not found\");\n\n return str;\n }\n\n /** Get the promise for an already registered Namespace.\n * @param name - the name of the namespace\n * @public\n */\n public getNamespacePromise(name: string): Promise<void> | undefined {\n return this._namespaces.get(name);\n }\n\n /** @internal */\n public getLanguageList(): readonly string[] {\n return this.i18next.languages;\n }\n\n /** override the language detected in the browser */\n public async changeLanguage(language: string) {\n return this.i18next.changeLanguage(language) as unknown as Promise<void>;\n }\n\n /** Register a new Namespace and return it. If the namespace is already registered, it will be returned.\n * @param name - the name of the namespace, which is the base name of the JSON file that contains the localization properties.\n * @note - The registerNamespace method starts fetching the appropriate version of the JSON localization file from the server,\n * based on the current locale. To make sure that fetch is complete before performing translations from this namespace, await\n * fulfillment of the readPromise Promise property of the returned LocalizationNamespace.\n * @see [Localization in iTwin.js]($docs/learning/frontend/Localization.md)\n * @public\n */\n public async registerNamespace(name: string): Promise<void> {\n const existing = this._namespaces.get(name);\n if (existing !== undefined)\n return existing;\n\n const theReadPromise = new Promise<void>((resolve) => {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.i18next.loadNamespaces(name, (err) => {\n if (!err)\n return resolve();\n\n // Here we got a non-null err object.\n // This method is called when the system has attempted to load the resources for the namespaces for each possible locale.\n // For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.\n // Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.\n // There might be errs for some other namespaces as well as this one. We resolve the promise unless there's an error for each possible locale.\n let locales = this.getLanguageList().map((thisLocale: any) => `/${thisLocale}/`);\n\n try {\n for (const thisError of err) {\n if (typeof thisError === \"string\")\n locales = locales.filter((thisLocale) => !thisError.includes(thisLocale));\n }\n } catch {\n locales = [];\n }\n // if we removed every locale from the array, it wasn't loaded.\n if (locales.length === 0)\n Logger.logError(\"i18n\", `No resources for namespace ${name} could be loaded`);\n\n resolve();\n });\n });\n this._namespaces.set(name, theReadPromise);\n return theReadPromise;\n }\n\n /** @internal */\n public unregisterNamespace(name: string): void {\n this._namespaces.delete(name);\n }\n}\n\nclass TranslationLogger {\n public static readonly type = \"logger\";\n public log(args: string[]) { Logger.logInfo(\"i18n\", this.createLogMessage(args)); }\n public warn(args: string[]) { Logger.logWarning(\"i18n\", this.createLogMessage(args)); }\n public error(args: string[]) { Logger.logError(\"i18n\", this.createLogMessage(args)); }\n private createLogMessage(args: string[]) {\n let message = args[0];\n for (let i = 1; i < args.length; ++i) {\n if (typeof args[i] === \"string\")\n message += `\\n ${args[i]}`;\n }\n return message;\n }\n}\n"]
2277
2277
  },
2278
2278
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
2279
- hash: "6ee762d06254c31d554fbd11f037b5e9ed424f64"
2279
+ hash: "e9614b686caf2abf0c84fc15ed1d5ea8ea83d16c"
2280
2280
  };
2281
2281
  var coverage = global[gcv] || (global[gcv] = {});
2282
2282
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -2285,56 +2285,56 @@ function cov_20i3u2eahi() {
2285
2285
  var actualCoverage = coverage[path];
2286
2286
  {
2287
2287
  // @ts-ignore
2288
- cov_20i3u2eahi = function () {
2288
+ cov_1641apqh2r = function () {
2289
2289
  return actualCoverage;
2290
2290
  };
2291
2291
  }
2292
2292
  return actualCoverage;
2293
2293
  }
2294
- cov_20i3u2eahi();
2295
- var __importDefault = (cov_20i3u2eahi().s[0]++, (cov_20i3u2eahi().b[0][0]++, this) && (cov_20i3u2eahi().b[0][1]++, this.__importDefault) || (cov_20i3u2eahi().b[0][2]++, function (mod) {
2296
- cov_20i3u2eahi().f[0]++;
2297
- cov_20i3u2eahi().s[1]++;
2298
- return (cov_20i3u2eahi().b[2][0]++, mod) && (cov_20i3u2eahi().b[2][1]++, mod.__esModule) ? (cov_20i3u2eahi().b[1][0]++, mod) : (cov_20i3u2eahi().b[1][1]++, {
2294
+ cov_1641apqh2r();
2295
+ var __importDefault = (cov_1641apqh2r().s[0]++, (cov_1641apqh2r().b[0][0]++, this) && (cov_1641apqh2r().b[0][1]++, this.__importDefault) || (cov_1641apqh2r().b[0][2]++, function (mod) {
2296
+ cov_1641apqh2r().f[0]++;
2297
+ cov_1641apqh2r().s[1]++;
2298
+ return (cov_1641apqh2r().b[2][0]++, mod) && (cov_1641apqh2r().b[2][1]++, mod.__esModule) ? (cov_1641apqh2r().b[1][0]++, mod) : (cov_1641apqh2r().b[1][1]++, {
2299
2299
  "default": mod
2300
2300
  });
2301
2301
  }));
2302
- cov_20i3u2eahi().s[2]++;
2302
+ cov_1641apqh2r().s[2]++;
2303
2303
  Object.defineProperty(exports, "__esModule", ({
2304
2304
  value: true
2305
2305
  }));
2306
- cov_20i3u2eahi().s[3]++;
2306
+ cov_1641apqh2r().s[3]++;
2307
2307
  exports.ITwinLocalization = void 0;
2308
- const i18next_1 = (cov_20i3u2eahi().s[4]++, __importDefault(__webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/cjs/i18next.js")));
2309
- const i18next_browser_languagedetector_1 = (cov_20i3u2eahi().s[5]++, __importDefault(__webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.2/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js")));
2310
- const i18next_http_backend_1 = (cov_20i3u2eahi().s[6]++, __importDefault(__webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/index.js")));
2311
- const core_bentley_1 = (cov_20i3u2eahi().s[7]++, __webpack_require__(/*! @itwin/core-bentley */ "../bentley/lib/esm/core-bentley.js"));
2312
- const DEFAULT_MAX_RETRIES = (cov_20i3u2eahi().s[8]++, 1); // a low number prevents wasted time and potential timeouts when requesting localization files throws an error
2308
+ const i18next_1 = (cov_1641apqh2r().s[4]++, __importDefault(__webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/cjs/i18next.js")));
2309
+ const i18next_browser_languagedetector_1 = (cov_1641apqh2r().s[5]++, __importDefault(__webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.2/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js")));
2310
+ const i18next_http_backend_1 = (cov_1641apqh2r().s[6]++, __importDefault(__webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/index.js")));
2311
+ const core_bentley_1 = (cov_1641apqh2r().s[7]++, __webpack_require__(/*! @itwin/core-bentley */ "../bentley/lib/esm/core-bentley.js"));
2312
+ const DEFAULT_MAX_RETRIES = (cov_1641apqh2r().s[8]++, 1); // a low number prevents wasted time and potential timeouts when requesting localization files throws an error
2313
2313
  /** Supplies localizations for iTwin.js
2314
2314
  * @note this class uses the [i18next](https://www.i18next.com/) package.
2315
2315
  * @public
2316
2316
  */
2317
2317
  class ITwinLocalization {
2318
2318
  constructor(options) {
2319
- cov_20i3u2eahi().f[1]++;
2320
- cov_20i3u2eahi().s[9]++;
2319
+ cov_1641apqh2r().f[1]++;
2320
+ cov_1641apqh2r().s[9]++;
2321
2321
  this._namespaces = new Map();
2322
- cov_20i3u2eahi().s[10]++;
2322
+ cov_1641apqh2r().s[10]++;
2323
2323
  this.i18next = i18next_1.default.createInstance();
2324
- cov_20i3u2eahi().s[11]++;
2324
+ cov_1641apqh2r().s[11]++;
2325
2325
  this._backendOptions = {
2326
- loadPath: (cov_20i3u2eahi().b[3][0]++, options?.urlTemplate) ?? (cov_20i3u2eahi().b[3][1]++, "locales/{{lng}}/{{ns}}.json"),
2326
+ loadPath: (cov_1641apqh2r().b[3][0]++, options?.urlTemplate) ?? (cov_1641apqh2r().b[3][1]++, "locales/{{lng}}/{{ns}}.json"),
2327
2327
  crossDomain: true,
2328
2328
  ...options?.backendHttpOptions
2329
2329
  };
2330
- cov_20i3u2eahi().s[12]++;
2330
+ cov_1641apqh2r().s[12]++;
2331
2331
  this._detectionOptions = {
2332
2332
  order: ["querystring", "navigator", "htmlTag"],
2333
2333
  lookupQuerystring: "lng",
2334
2334
  caches: [],
2335
2335
  ...options?.detectorOptions
2336
2336
  };
2337
- cov_20i3u2eahi().s[13]++;
2337
+ cov_1641apqh2r().s[13]++;
2338
2338
  this._initOptions = {
2339
2339
  interpolation: {
2340
2340
  escapeValue: true
@@ -2345,40 +2345,40 @@ class ITwinLocalization {
2345
2345
  detection: this._detectionOptions,
2346
2346
  ...options?.initOptions
2347
2347
  };
2348
- cov_20i3u2eahi().s[14]++;
2349
- this.i18next.use((cov_20i3u2eahi().b[4][0]++, options?.detectorPlugin) ?? (cov_20i3u2eahi().b[4][1]++, i18next_browser_languagedetector_1.default)).use((cov_20i3u2eahi().b[5][0]++, options?.backendPlugin) ?? (cov_20i3u2eahi().b[5][1]++, i18next_http_backend_1.default)).use(TranslationLogger);
2348
+ cov_1641apqh2r().s[14]++;
2349
+ this.i18next.use((cov_1641apqh2r().b[4][0]++, options?.detectorPlugin) ?? (cov_1641apqh2r().b[4][1]++, i18next_browser_languagedetector_1.default)).use((cov_1641apqh2r().b[5][0]++, options?.backendPlugin) ?? (cov_1641apqh2r().b[5][1]++, i18next_http_backend_1.default)).use(TranslationLogger);
2350
2350
  }
2351
2351
  async initialize(namespaces) {
2352
- cov_20i3u2eahi().f[2]++;
2352
+ cov_1641apqh2r().f[2]++;
2353
2353
  // Also consider namespaces passed into constructor
2354
- const initNamespaces = (cov_20i3u2eahi().s[15]++, [(cov_20i3u2eahi().b[6][0]++, this._initOptions.ns) || (cov_20i3u2eahi().b[6][1]++, [])].flat());
2355
- const combinedNamespaces = (cov_20i3u2eahi().s[16]++, new Set([...namespaces, ...initNamespaces])); // without duplicates
2356
- const defaultNamespace = (cov_20i3u2eahi().s[17]++, (cov_20i3u2eahi().b[7][0]++, this._initOptions.defaultNS) ?? (cov_20i3u2eahi().b[7][1]++, namespaces[0]));
2357
- cov_20i3u2eahi().s[18]++;
2354
+ const initNamespaces = (cov_1641apqh2r().s[15]++, [(cov_1641apqh2r().b[6][0]++, this._initOptions.ns) || (cov_1641apqh2r().b[6][1]++, [])].flat());
2355
+ const combinedNamespaces = (cov_1641apqh2r().s[16]++, new Set([...namespaces, ...initNamespaces])); // without duplicates
2356
+ const defaultNamespace = (cov_1641apqh2r().s[17]++, (cov_1641apqh2r().b[7][0]++, this._initOptions.defaultNS) ?? (cov_1641apqh2r().b[7][1]++, namespaces[0]));
2357
+ cov_1641apqh2r().s[18]++;
2358
2358
  if (defaultNamespace) {
2359
- cov_20i3u2eahi().b[8][0]++;
2360
- cov_20i3u2eahi().s[19]++;
2359
+ cov_1641apqh2r().b[8][0]++;
2360
+ cov_1641apqh2r().s[19]++;
2361
2361
  combinedNamespaces.add(defaultNamespace);
2362
2362
  } else {
2363
- cov_20i3u2eahi().b[8][1]++;
2363
+ cov_1641apqh2r().b[8][1]++;
2364
2364
  } // Make sure default namespace is in namespaces list
2365
- const initOptions = (cov_20i3u2eahi().s[20]++, {
2365
+ const initOptions = (cov_1641apqh2r().s[20]++, {
2366
2366
  ...this._initOptions,
2367
2367
  defaultNS: defaultNamespace,
2368
2368
  ns: [...combinedNamespaces]
2369
2369
  });
2370
2370
  // if in a development environment, set debugging
2371
- cov_20i3u2eahi().s[21]++;
2371
+ cov_1641apqh2r().s[21]++;
2372
2372
  if (false) {} else {
2373
- cov_20i3u2eahi().b[9][1]++;
2373
+ cov_1641apqh2r().b[9][1]++;
2374
2374
  }
2375
- const initPromise = (cov_20i3u2eahi().s[23]++, this.i18next.init(initOptions));
2376
- cov_20i3u2eahi().s[24]++;
2375
+ const initPromise = (cov_1641apqh2r().s[23]++, this.i18next.init(initOptions));
2376
+ cov_1641apqh2r().s[24]++;
2377
2377
  for (const ns of namespaces) {
2378
- cov_20i3u2eahi().s[25]++;
2378
+ cov_1641apqh2r().s[25]++;
2379
2379
  this._namespaces.set(ns, initPromise);
2380
2380
  }
2381
- cov_20i3u2eahi().s[26]++;
2381
+ cov_1641apqh2r().s[26]++;
2382
2382
  return initPromise;
2383
2383
  }
2384
2384
  /** Replace all instances of `%{key}` within a string with the translations of those keys.
@@ -2398,11 +2398,11 @@ class ITwinLocalization {
2398
2398
  * @public
2399
2399
  */
2400
2400
  getLocalizedKeys(line) {
2401
- cov_20i3u2eahi().f[3]++;
2402
- cov_20i3u2eahi().s[27]++;
2401
+ cov_1641apqh2r().f[3]++;
2402
+ cov_1641apqh2r().s[27]++;
2403
2403
  return line.replace(/\%\{(.+?)\}/g, (_match, tag) => {
2404
- cov_20i3u2eahi().f[4]++;
2405
- cov_20i3u2eahi().s[28]++;
2404
+ cov_1641apqh2r().f[4]++;
2405
+ cov_1641apqh2r().s[28]++;
2406
2406
  return this.getLocalizedString(tag);
2407
2407
  });
2408
2408
  }
@@ -2420,25 +2420,25 @@ class ITwinLocalization {
2420
2420
  * @public
2421
2421
  */
2422
2422
  getLocalizedString(key, options) {
2423
- cov_20i3u2eahi().f[5]++;
2424
- cov_20i3u2eahi().s[29]++;
2425
- if ((cov_20i3u2eahi().b[11][0]++, options?.returnDetails) || (cov_20i3u2eahi().b[11][1]++, options?.returnObjects)) {
2426
- cov_20i3u2eahi().b[10][0]++;
2427
- cov_20i3u2eahi().s[30]++;
2423
+ cov_1641apqh2r().f[5]++;
2424
+ cov_1641apqh2r().s[29]++;
2425
+ if ((cov_1641apqh2r().b[11][0]++, options?.returnDetails) || (cov_1641apqh2r().b[11][1]++, options?.returnObjects)) {
2426
+ cov_1641apqh2r().b[10][0]++;
2427
+ cov_1641apqh2r().s[30]++;
2428
2428
  throw new Error("Translation key must map to a string, but the given options will result in an object");
2429
2429
  } else {
2430
- cov_20i3u2eahi().b[10][1]++;
2430
+ cov_1641apqh2r().b[10][1]++;
2431
2431
  }
2432
- const value = (cov_20i3u2eahi().s[31]++, this.i18next.t(key, options));
2433
- cov_20i3u2eahi().s[32]++;
2432
+ const value = (cov_1641apqh2r().s[31]++, this.i18next.t(key, options));
2433
+ cov_1641apqh2r().s[32]++;
2434
2434
  if (typeof value !== "string") {
2435
- cov_20i3u2eahi().b[12][0]++;
2436
- cov_20i3u2eahi().s[33]++;
2435
+ cov_1641apqh2r().b[12][0]++;
2436
+ cov_1641apqh2r().s[33]++;
2437
2437
  throw new Error("Translation key(s) string not found");
2438
2438
  } else {
2439
- cov_20i3u2eahi().b[12][1]++;
2439
+ cov_1641apqh2r().b[12][1]++;
2440
2440
  }
2441
- cov_20i3u2eahi().s[34]++;
2441
+ cov_1641apqh2r().s[34]++;
2442
2442
  return value;
2443
2443
  }
2444
2444
  /** Similar to `getLocalizedString` but the default namespace is a separate parameter and the key does not need
@@ -2450,23 +2450,23 @@ class ITwinLocalization {
2450
2450
  * @internal
2451
2451
  */
2452
2452
  getLocalizedStringWithNamespace(namespace, key, options) {
2453
- cov_20i3u2eahi().f[6]++;
2454
- let fullKey = (cov_20i3u2eahi().s[35]++, "");
2455
- cov_20i3u2eahi().s[36]++;
2453
+ cov_1641apqh2r().f[6]++;
2454
+ let fullKey = (cov_1641apqh2r().s[35]++, "");
2455
+ cov_1641apqh2r().s[36]++;
2456
2456
  if (typeof key === "string") {
2457
- cov_20i3u2eahi().b[13][0]++;
2458
- cov_20i3u2eahi().s[37]++;
2457
+ cov_1641apqh2r().b[13][0]++;
2458
+ cov_1641apqh2r().s[37]++;
2459
2459
  fullKey = `${namespace}:${key}`;
2460
2460
  } else {
2461
- cov_20i3u2eahi().b[13][1]++;
2462
- cov_20i3u2eahi().s[38]++;
2461
+ cov_1641apqh2r().b[13][1]++;
2462
+ cov_1641apqh2r().s[38]++;
2463
2463
  fullKey = key.map(subKey => {
2464
- cov_20i3u2eahi().f[7]++;
2465
- cov_20i3u2eahi().s[39]++;
2464
+ cov_1641apqh2r().f[7]++;
2465
+ cov_1641apqh2r().s[39]++;
2466
2466
  return `${namespace}:${subKey}`;
2467
2467
  });
2468
2468
  }
2469
- cov_20i3u2eahi().s[40]++;
2469
+ cov_1641apqh2r().s[40]++;
2470
2470
  return this.getLocalizedString(fullKey, options);
2471
2471
  }
2472
2472
  /** Gets the English translation.
@@ -2477,31 +2477,31 @@ class ITwinLocalization {
2477
2477
  * @internal
2478
2478
  */
2479
2479
  getEnglishString(namespace, key, options) {
2480
- cov_20i3u2eahi().f[8]++;
2481
- cov_20i3u2eahi().s[41]++;
2482
- if ((cov_20i3u2eahi().b[15][0]++, options?.returnDetails) || (cov_20i3u2eahi().b[15][1]++, options?.returnObjects)) {
2483
- cov_20i3u2eahi().b[14][0]++;
2484
- cov_20i3u2eahi().s[42]++;
2480
+ cov_1641apqh2r().f[8]++;
2481
+ cov_1641apqh2r().s[41]++;
2482
+ if ((cov_1641apqh2r().b[15][0]++, options?.returnDetails) || (cov_1641apqh2r().b[15][1]++, options?.returnObjects)) {
2483
+ cov_1641apqh2r().b[14][0]++;
2484
+ cov_1641apqh2r().s[42]++;
2485
2485
  throw new Error("Translation key must map to a string, but the given options will result in an object");
2486
2486
  } else {
2487
- cov_20i3u2eahi().b[14][1]++;
2487
+ cov_1641apqh2r().b[14][1]++;
2488
2488
  }
2489
- cov_20i3u2eahi().s[43]++;
2489
+ cov_1641apqh2r().s[43]++;
2490
2490
  options = {
2491
2491
  ...options,
2492
2492
  ns: namespace // ensure namespace argument is used
2493
2493
  };
2494
- const en = (cov_20i3u2eahi().s[44]++, this.i18next.getFixedT("en", namespace));
2495
- const str = (cov_20i3u2eahi().s[45]++, en(key, options));
2496
- cov_20i3u2eahi().s[46]++;
2494
+ const en = (cov_1641apqh2r().s[44]++, this.i18next.getFixedT("en", namespace));
2495
+ const str = (cov_1641apqh2r().s[45]++, en(key, options));
2496
+ cov_1641apqh2r().s[46]++;
2497
2497
  if (typeof str !== "string") {
2498
- cov_20i3u2eahi().b[16][0]++;
2499
- cov_20i3u2eahi().s[47]++;
2498
+ cov_1641apqh2r().b[16][0]++;
2499
+ cov_1641apqh2r().s[47]++;
2500
2500
  throw new Error("Translation key(s) not found");
2501
2501
  } else {
2502
- cov_20i3u2eahi().b[16][1]++;
2502
+ cov_1641apqh2r().b[16][1]++;
2503
2503
  }
2504
- cov_20i3u2eahi().s[48]++;
2504
+ cov_1641apqh2r().s[48]++;
2505
2505
  return str;
2506
2506
  }
2507
2507
  /** Get the promise for an already registered Namespace.
@@ -2509,20 +2509,20 @@ class ITwinLocalization {
2509
2509
  * @public
2510
2510
  */
2511
2511
  getNamespacePromise(name) {
2512
- cov_20i3u2eahi().f[9]++;
2513
- cov_20i3u2eahi().s[49]++;
2512
+ cov_1641apqh2r().f[9]++;
2513
+ cov_1641apqh2r().s[49]++;
2514
2514
  return this._namespaces.get(name);
2515
2515
  }
2516
2516
  /** @internal */
2517
2517
  getLanguageList() {
2518
- cov_20i3u2eahi().f[10]++;
2519
- cov_20i3u2eahi().s[50]++;
2518
+ cov_1641apqh2r().f[10]++;
2519
+ cov_1641apqh2r().s[50]++;
2520
2520
  return this.i18next.languages;
2521
2521
  }
2522
2522
  /** override the language detected in the browser */
2523
2523
  async changeLanguage(language) {
2524
- cov_20i3u2eahi().f[11]++;
2525
- cov_20i3u2eahi().s[51]++;
2524
+ cov_1641apqh2r().f[11]++;
2525
+ cov_1641apqh2r().s[51]++;
2526
2526
  return this.i18next.changeLanguage(language);
2527
2527
  }
2528
2528
  /** Register a new Namespace and return it. If the namespace is already registered, it will be returned.
@@ -2534,124 +2534,126 @@ class ITwinLocalization {
2534
2534
  * @public
2535
2535
  */
2536
2536
  async registerNamespace(name) {
2537
- cov_20i3u2eahi().f[12]++;
2538
- const existing = (cov_20i3u2eahi().s[52]++, this._namespaces.get(name));
2539
- cov_20i3u2eahi().s[53]++;
2537
+ cov_1641apqh2r().f[12]++;
2538
+ const existing = (cov_1641apqh2r().s[52]++, this._namespaces.get(name));
2539
+ cov_1641apqh2r().s[53]++;
2540
2540
  if (existing !== undefined) {
2541
- cov_20i3u2eahi().b[17][0]++;
2542
- cov_20i3u2eahi().s[54]++;
2541
+ cov_1641apqh2r().b[17][0]++;
2542
+ cov_1641apqh2r().s[54]++;
2543
2543
  return existing;
2544
2544
  } else {
2545
- cov_20i3u2eahi().b[17][1]++;
2545
+ cov_1641apqh2r().b[17][1]++;
2546
2546
  }
2547
- const theReadPromise = (cov_20i3u2eahi().s[55]++, new Promise(resolve => {
2548
- cov_20i3u2eahi().f[13]++;
2549
- cov_20i3u2eahi().s[56]++;
2547
+ const theReadPromise = (cov_1641apqh2r().s[55]++, new Promise(resolve => {
2548
+ cov_1641apqh2r().f[13]++;
2549
+ cov_1641apqh2r().s[56]++;
2550
2550
  // eslint-disable-next-line @typescript-eslint/no-floating-promises
2551
2551
  this.i18next.loadNamespaces(name, err => {
2552
- cov_20i3u2eahi().f[14]++;
2553
- cov_20i3u2eahi().s[57]++;
2552
+ cov_1641apqh2r().f[14]++;
2553
+ cov_1641apqh2r().s[57]++;
2554
2554
  if (!err) {
2555
- cov_20i3u2eahi().b[18][0]++;
2556
- cov_20i3u2eahi().s[58]++;
2555
+ cov_1641apqh2r().b[18][0]++;
2556
+ cov_1641apqh2r().s[58]++;
2557
2557
  return resolve();
2558
2558
  } else {
2559
- cov_20i3u2eahi().b[18][1]++;
2559
+ cov_1641apqh2r().b[18][1]++;
2560
2560
  }
2561
2561
  // Here we got a non-null err object.
2562
2562
  // This method is called when the system has attempted to load the resources for the namespaces for each possible locale.
2563
2563
  // For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.
2564
2564
  // Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.
2565
2565
  // There might be errs for some other namespaces as well as this one. We resolve the promise unless there's an error for each possible locale.
2566
- let locales = (cov_20i3u2eahi().s[59]++, this.getLanguageList().map(thisLocale => {
2567
- cov_20i3u2eahi().f[15]++;
2568
- cov_20i3u2eahi().s[60]++;
2566
+ let locales = (cov_1641apqh2r().s[59]++, this.getLanguageList().map(thisLocale => {
2567
+ cov_1641apqh2r().f[15]++;
2568
+ cov_1641apqh2r().s[60]++;
2569
2569
  return `/${thisLocale}/`;
2570
2570
  }));
2571
- cov_20i3u2eahi().s[61]++;
2571
+ cov_1641apqh2r().s[61]++;
2572
2572
  try {
2573
- cov_20i3u2eahi().s[62]++;
2573
+ cov_1641apqh2r().s[62]++;
2574
2574
  for (const thisError of err) {
2575
- cov_20i3u2eahi().s[63]++;
2575
+ cov_1641apqh2r().s[63]++;
2576
2576
  if (typeof thisError === "string") {
2577
- cov_20i3u2eahi().b[19][0]++;
2578
- cov_20i3u2eahi().s[64]++;
2577
+ cov_1641apqh2r().b[19][0]++;
2578
+ cov_1641apqh2r().s[64]++;
2579
2579
  locales = locales.filter(thisLocale => {
2580
- cov_20i3u2eahi().f[16]++;
2581
- cov_20i3u2eahi().s[65]++;
2580
+ cov_1641apqh2r().f[16]++;
2581
+ cov_1641apqh2r().s[65]++;
2582
2582
  return !thisError.includes(thisLocale);
2583
2583
  });
2584
2584
  } else {
2585
- cov_20i3u2eahi().b[19][1]++;
2585
+ cov_1641apqh2r().b[19][1]++;
2586
2586
  }
2587
2587
  }
2588
2588
  } catch {
2589
- cov_20i3u2eahi().s[66]++;
2589
+ cov_1641apqh2r().s[66]++;
2590
2590
  locales = [];
2591
2591
  }
2592
2592
  // if we removed every locale from the array, it wasn't loaded.
2593
- cov_20i3u2eahi().s[67]++;
2593
+ cov_1641apqh2r().s[67]++;
2594
2594
  if (locales.length === 0) {
2595
- cov_20i3u2eahi().b[20][0]++;
2596
- cov_20i3u2eahi().s[68]++;
2595
+ cov_1641apqh2r().b[20][0]++;
2596
+ cov_1641apqh2r().s[68]++;
2597
2597
  core_bentley_1.Logger.logError("i18n", `No resources for namespace ${name} could be loaded`);
2598
2598
  } else {
2599
- cov_20i3u2eahi().b[20][1]++;
2599
+ cov_1641apqh2r().b[20][1]++;
2600
2600
  }
2601
- cov_20i3u2eahi().s[69]++;
2601
+ cov_1641apqh2r().s[69]++;
2602
2602
  resolve();
2603
2603
  });
2604
2604
  }));
2605
- cov_20i3u2eahi().s[70]++;
2605
+ cov_1641apqh2r().s[70]++;
2606
2606
  this._namespaces.set(name, theReadPromise);
2607
- cov_20i3u2eahi().s[71]++;
2607
+ cov_1641apqh2r().s[71]++;
2608
2608
  return theReadPromise;
2609
2609
  }
2610
2610
  /** @internal */
2611
2611
  unregisterNamespace(name) {
2612
- cov_20i3u2eahi().f[17]++;
2613
- cov_20i3u2eahi().s[72]++;
2612
+ cov_1641apqh2r().f[17]++;
2613
+ cov_1641apqh2r().s[72]++;
2614
2614
  this._namespaces.delete(name);
2615
2615
  }
2616
2616
  }
2617
- cov_20i3u2eahi().s[73]++;
2617
+ cov_1641apqh2r().s[73]++;
2618
2618
  exports.ITwinLocalization = ITwinLocalization;
2619
2619
  class TranslationLogger {
2620
+ static {
2621
+ cov_1641apqh2r().s[74]++;
2622
+ this.type = "logger";
2623
+ }
2620
2624
  log(args) {
2621
- cov_20i3u2eahi().f[18]++;
2622
- cov_20i3u2eahi().s[74]++;
2625
+ cov_1641apqh2r().f[18]++;
2626
+ cov_1641apqh2r().s[75]++;
2623
2627
  core_bentley_1.Logger.logInfo("i18n", this.createLogMessage(args));
2624
2628
  }
2625
2629
  warn(args) {
2626
- cov_20i3u2eahi().f[19]++;
2627
- cov_20i3u2eahi().s[75]++;
2630
+ cov_1641apqh2r().f[19]++;
2631
+ cov_1641apqh2r().s[76]++;
2628
2632
  core_bentley_1.Logger.logWarning("i18n", this.createLogMessage(args));
2629
2633
  }
2630
2634
  error(args) {
2631
- cov_20i3u2eahi().f[20]++;
2632
- cov_20i3u2eahi().s[76]++;
2635
+ cov_1641apqh2r().f[20]++;
2636
+ cov_1641apqh2r().s[77]++;
2633
2637
  core_bentley_1.Logger.logError("i18n", this.createLogMessage(args));
2634
2638
  }
2635
2639
  createLogMessage(args) {
2636
- cov_20i3u2eahi().f[21]++;
2637
- let message = (cov_20i3u2eahi().s[77]++, args[0]);
2638
- cov_20i3u2eahi().s[78]++;
2639
- for (let i = (cov_20i3u2eahi().s[79]++, 1); i < args.length; ++i) {
2640
- cov_20i3u2eahi().s[80]++;
2640
+ cov_1641apqh2r().f[21]++;
2641
+ let message = (cov_1641apqh2r().s[78]++, args[0]);
2642
+ cov_1641apqh2r().s[79]++;
2643
+ for (let i = (cov_1641apqh2r().s[80]++, 1); i < args.length; ++i) {
2644
+ cov_1641apqh2r().s[81]++;
2641
2645
  if (typeof args[i] === "string") {
2642
- cov_20i3u2eahi().b[21][0]++;
2643
- cov_20i3u2eahi().s[81]++;
2646
+ cov_1641apqh2r().b[21][0]++;
2647
+ cov_1641apqh2r().s[82]++;
2644
2648
  message += `\n ${args[i]}`;
2645
2649
  } else {
2646
- cov_20i3u2eahi().b[21][1]++;
2650
+ cov_1641apqh2r().b[21][1]++;
2647
2651
  }
2648
2652
  }
2649
- cov_20i3u2eahi().s[82]++;
2653
+ cov_1641apqh2r().s[83]++;
2650
2654
  return message;
2651
2655
  }
2652
2656
  }
2653
- cov_20i3u2eahi().s[83]++;
2654
- TranslationLogger.type = "logger";
2655
2657
 
2656
2658
  /***/ }),
2657
2659
 
@@ -13469,8 +13471,8 @@ __webpack_require__.r(__webpack_exports__);
13469
13471
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13470
13472
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
13471
13473
  /* harmony export */ });
13472
- /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
13473
- /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
13474
+ /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
13475
+ /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
13474
13476
 
13475
13477
 
13476
13478
 
@@ -13898,15 +13900,15 @@ Browser.type = 'languageDetector';
13898
13900
  "use strict";
13899
13901
 
13900
13902
 
13901
- var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js");
13902
- var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/classCallCheck.js");
13903
- var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/createClass.js");
13904
- var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
13905
- var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/inherits.js");
13906
- var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
13907
- var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
13908
- var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/defineProperty.js");
13909
- var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toArray.js");
13903
+ var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/typeof.js");
13904
+ var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/classCallCheck.js");
13905
+ var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/createClass.js");
13906
+ var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
13907
+ var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/inherits.js");
13908
+ var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
13909
+ var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
13910
+ var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/defineProperty.js");
13911
+ var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toArray.js");
13910
13912
 
13911
13913
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13912
13914
 
@@ -18093,7 +18095,7 @@ __webpack_require__.r(__webpack_exports__);
18093
18095
  "use strict";
18094
18096
  __webpack_require__.r(__webpack_exports__);
18095
18097
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18096
- /* harmony export */ "assert": () => (/* binding */ assert)
18098
+ /* harmony export */ assert: () => (/* binding */ assert)
18097
18099
  /* harmony export */ });
18098
18100
  /*---------------------------------------------------------------------------------------------
18099
18101
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -18149,9 +18151,9 @@ function assert(condition, message) {
18149
18151
  "use strict";
18150
18152
  __webpack_require__.r(__webpack_exports__);
18151
18153
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18152
- /* harmony export */ "BeEvent": () => (/* binding */ BeEvent),
18153
- /* harmony export */ "BeEventList": () => (/* binding */ BeEventList),
18154
- /* harmony export */ "BeUiEvent": () => (/* binding */ BeUiEvent)
18154
+ /* harmony export */ BeEvent: () => (/* binding */ BeEvent),
18155
+ /* harmony export */ BeEventList: () => (/* binding */ BeEventList),
18156
+ /* harmony export */ BeUiEvent: () => (/* binding */ BeUiEvent)
18155
18157
  /* harmony export */ });
18156
18158
  /* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UnexpectedErrors */ "../bentley/lib/esm/UnexpectedErrors.js");
18157
18159
  /*---------------------------------------------------------------------------------------------
@@ -18317,9 +18319,9 @@ class BeEventList {
18317
18319
  "use strict";
18318
18320
  __webpack_require__.r(__webpack_exports__);
18319
18321
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18320
- /* harmony export */ "DbOpcode": () => (/* binding */ DbOpcode),
18321
- /* harmony export */ "DbResult": () => (/* binding */ DbResult),
18322
- /* harmony export */ "OpenMode": () => (/* binding */ OpenMode)
18322
+ /* harmony export */ DbOpcode: () => (/* binding */ DbOpcode),
18323
+ /* harmony export */ DbResult: () => (/* binding */ DbResult),
18324
+ /* harmony export */ OpenMode: () => (/* binding */ OpenMode)
18323
18325
  /* harmony export */ });
18324
18326
  /*---------------------------------------------------------------------------------------------
18325
18327
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -18514,16 +18516,16 @@ var DbResult;
18514
18516
  "use strict";
18515
18517
  __webpack_require__.r(__webpack_exports__);
18516
18518
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18517
- /* harmony export */ "BentleyError": () => (/* binding */ BentleyError),
18518
- /* harmony export */ "BentleyStatus": () => (/* binding */ BentleyStatus),
18519
- /* harmony export */ "BriefcaseStatus": () => (/* binding */ BriefcaseStatus),
18520
- /* harmony export */ "ChangeSetStatus": () => (/* binding */ ChangeSetStatus),
18521
- /* harmony export */ "GeoServiceStatus": () => (/* binding */ GeoServiceStatus),
18522
- /* harmony export */ "HttpStatus": () => (/* binding */ HttpStatus),
18523
- /* harmony export */ "IModelHubStatus": () => (/* binding */ IModelHubStatus),
18524
- /* harmony export */ "IModelStatus": () => (/* binding */ IModelStatus),
18525
- /* harmony export */ "RealityDataStatus": () => (/* binding */ RealityDataStatus),
18526
- /* harmony export */ "RpcInterfaceStatus": () => (/* binding */ RpcInterfaceStatus)
18519
+ /* harmony export */ BentleyError: () => (/* binding */ BentleyError),
18520
+ /* harmony export */ BentleyStatus: () => (/* binding */ BentleyStatus),
18521
+ /* harmony export */ BriefcaseStatus: () => (/* binding */ BriefcaseStatus),
18522
+ /* harmony export */ ChangeSetStatus: () => (/* binding */ ChangeSetStatus),
18523
+ /* harmony export */ GeoServiceStatus: () => (/* binding */ GeoServiceStatus),
18524
+ /* harmony export */ HttpStatus: () => (/* binding */ HttpStatus),
18525
+ /* harmony export */ IModelHubStatus: () => (/* binding */ IModelHubStatus),
18526
+ /* harmony export */ IModelStatus: () => (/* binding */ IModelStatus),
18527
+ /* harmony export */ RealityDataStatus: () => (/* binding */ RealityDataStatus),
18528
+ /* harmony export */ RpcInterfaceStatus: () => (/* binding */ RpcInterfaceStatus)
18527
18529
  /* harmony export */ });
18528
18530
  /* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeSQLite */ "../bentley/lib/esm/BeSQLite.js");
18529
18531
  /* harmony import */ var _internal_RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/RepositoryStatus */ "../bentley/lib/esm/internal/RepositoryStatus.js");
@@ -19204,7 +19206,7 @@ class BentleyError extends Error {
19204
19206
  "use strict";
19205
19207
  __webpack_require__.r(__webpack_exports__);
19206
19208
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19207
- /* harmony export */ "BentleyLoggerCategory": () => (/* binding */ BentleyLoggerCategory)
19209
+ /* harmony export */ BentleyLoggerCategory: () => (/* binding */ BentleyLoggerCategory)
19208
19210
  /* harmony export */ });
19209
19211
  /*---------------------------------------------------------------------------------------------
19210
19212
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -19235,7 +19237,7 @@ var BentleyLoggerCategory;
19235
19237
  "use strict";
19236
19238
  __webpack_require__.r(__webpack_exports__);
19237
19239
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19238
- /* harmony export */ "ByteStream": () => (/* binding */ ByteStream)
19240
+ /* harmony export */ ByteStream: () => (/* binding */ ByteStream)
19239
19241
  /* harmony export */ });
19240
19242
  /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
19241
19243
  /* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../bentley/lib/esm/Id.js");
@@ -19407,8 +19409,8 @@ class ByteStream {
19407
19409
  "use strict";
19408
19410
  __webpack_require__.r(__webpack_exports__);
19409
19411
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19410
- /* harmony export */ "isProperSubclassOf": () => (/* binding */ isProperSubclassOf),
19411
- /* harmony export */ "isSubclassOf": () => (/* binding */ isSubclassOf)
19412
+ /* harmony export */ isProperSubclassOf: () => (/* binding */ isProperSubclassOf),
19413
+ /* harmony export */ isSubclassOf: () => (/* binding */ isSubclassOf)
19412
19414
  /* harmony export */ });
19413
19415
  /*---------------------------------------------------------------------------------------------
19414
19416
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -19450,15 +19452,15 @@ function isSubclassOf(subclass, superclass) {
19450
19452
  "use strict";
19451
19453
  __webpack_require__.r(__webpack_exports__);
19452
19454
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19453
- /* harmony export */ "areEqualPossiblyUndefined": () => (/* binding */ areEqualPossiblyUndefined),
19454
- /* harmony export */ "compareBooleans": () => (/* binding */ compareBooleans),
19455
- /* harmony export */ "compareBooleansOrUndefined": () => (/* binding */ compareBooleansOrUndefined),
19456
- /* harmony export */ "compareNumbers": () => (/* binding */ compareNumbers),
19457
- /* harmony export */ "compareNumbersOrUndefined": () => (/* binding */ compareNumbersOrUndefined),
19458
- /* harmony export */ "comparePossiblyUndefined": () => (/* binding */ comparePossiblyUndefined),
19459
- /* harmony export */ "compareStrings": () => (/* binding */ compareStrings),
19460
- /* harmony export */ "compareStringsOrUndefined": () => (/* binding */ compareStringsOrUndefined),
19461
- /* harmony export */ "compareWithTolerance": () => (/* binding */ compareWithTolerance)
19455
+ /* harmony export */ areEqualPossiblyUndefined: () => (/* binding */ areEqualPossiblyUndefined),
19456
+ /* harmony export */ compareBooleans: () => (/* binding */ compareBooleans),
19457
+ /* harmony export */ compareBooleansOrUndefined: () => (/* binding */ compareBooleansOrUndefined),
19458
+ /* harmony export */ compareNumbers: () => (/* binding */ compareNumbers),
19459
+ /* harmony export */ compareNumbersOrUndefined: () => (/* binding */ compareNumbersOrUndefined),
19460
+ /* harmony export */ comparePossiblyUndefined: () => (/* binding */ comparePossiblyUndefined),
19461
+ /* harmony export */ compareStrings: () => (/* binding */ compareStrings),
19462
+ /* harmony export */ compareStringsOrUndefined: () => (/* binding */ compareStringsOrUndefined),
19463
+ /* harmony export */ compareWithTolerance: () => (/* binding */ compareWithTolerance)
19462
19464
  /* harmony export */ });
19463
19465
  /*---------------------------------------------------------------------------------------------
19464
19466
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -19536,9 +19538,9 @@ function areEqualPossiblyUndefined(t, u, areEqual) {
19536
19538
  "use strict";
19537
19539
  __webpack_require__.r(__webpack_exports__);
19538
19540
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19539
- /* harmony export */ "CompressedId64Set": () => (/* binding */ CompressedId64Set),
19540
- /* harmony export */ "MutableCompressedId64Set": () => (/* binding */ MutableCompressedId64Set),
19541
- /* harmony export */ "OrderedId64Array": () => (/* binding */ OrderedId64Array)
19541
+ /* harmony export */ CompressedId64Set: () => (/* binding */ CompressedId64Set),
19542
+ /* harmony export */ MutableCompressedId64Set: () => (/* binding */ MutableCompressedId64Set),
19543
+ /* harmony export */ OrderedId64Array: () => (/* binding */ OrderedId64Array)
19542
19544
  /* harmony export */ });
19543
19545
  /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
19544
19546
  /* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../bentley/lib/esm/Id.js");
@@ -19664,6 +19666,7 @@ var CompressedId64Set;
19664
19666
  CompressedId64Set.compressIds = compressIds;
19665
19667
  /** This exists strictly for the purposes of compressed sets of 64-bit Ids, to avoid the overhead of BigInt for handling 64-bit integers. */
19666
19668
  class Uint64 {
19669
+ static { this._base = 0x100000000; }
19667
19670
  static assertUint32(num) {
19668
19671
  (0,_Assert__WEBPACK_IMPORTED_MODULE_0__.assert)(num >= 0);
19669
19672
  (0,_Assert__WEBPACK_IMPORTED_MODULE_0__.assert)(num < Uint64._base);
@@ -19725,7 +19728,6 @@ var CompressedId64Set;
19725
19728
  return _Id__WEBPACK_IMPORTED_MODULE_1__.Id64.fromUint32Pair(this.lower, this.upper);
19726
19729
  }
19727
19730
  }
19728
- Uint64._base = 0x100000000;
19729
19731
  /** Supplies an iterator over the [[Id64String]]s in a [[CompressedId64Set]].
19730
19732
  * The Ids are iterated in ascending order based on their unsigned 64-bit integer values.
19731
19733
  */
@@ -19980,7 +19982,7 @@ class MutableCompressedId64Set {
19980
19982
  "use strict";
19981
19983
  __webpack_require__.r(__webpack_exports__);
19982
19984
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19983
- /* harmony export */ "Dictionary": () => (/* binding */ Dictionary)
19985
+ /* harmony export */ Dictionary: () => (/* binding */ Dictionary)
19984
19986
  /* harmony export */ });
19985
19987
  /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
19986
19988
  /*---------------------------------------------------------------------------------------------
@@ -20195,11 +20197,11 @@ class Dictionary {
20195
20197
  "use strict";
20196
20198
  __webpack_require__.r(__webpack_exports__);
20197
20199
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20198
- /* harmony export */ "DisposableList": () => (/* binding */ DisposableList),
20199
- /* harmony export */ "dispose": () => (/* binding */ dispose),
20200
- /* harmony export */ "disposeArray": () => (/* binding */ disposeArray),
20201
- /* harmony export */ "isIDisposable": () => (/* binding */ isIDisposable),
20202
- /* harmony export */ "using": () => (/* binding */ using)
20200
+ /* harmony export */ DisposableList: () => (/* binding */ DisposableList),
20201
+ /* harmony export */ dispose: () => (/* binding */ dispose),
20202
+ /* harmony export */ disposeArray: () => (/* binding */ disposeArray),
20203
+ /* harmony export */ isIDisposable: () => (/* binding */ isIDisposable),
20204
+ /* harmony export */ using: () => (/* binding */ using)
20203
20205
  /* harmony export */ });
20204
20206
  /*---------------------------------------------------------------------------------------------
20205
20207
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -20325,9 +20327,9 @@ class DisposableList {
20325
20327
  "use strict";
20326
20328
  __webpack_require__.r(__webpack_exports__);
20327
20329
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20328
- /* harmony export */ "Guid": () => (/* binding */ Guid),
20329
- /* harmony export */ "Id64": () => (/* binding */ Id64),
20330
- /* harmony export */ "TransientIdSequence": () => (/* binding */ TransientIdSequence)
20330
+ /* harmony export */ Guid: () => (/* binding */ Guid),
20331
+ /* harmony export */ Id64: () => (/* binding */ Id64),
20332
+ /* harmony export */ TransientIdSequence: () => (/* binding */ TransientIdSequence)
20331
20333
  /* harmony export */ });
20332
20334
  /*---------------------------------------------------------------------------------------------
20333
20335
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -20813,8 +20815,11 @@ var Id64;
20813
20815
  /** Remove an Id from the set. */
20814
20816
  delete(low, high) {
20815
20817
  const set = this._map.get(high);
20816
- if (undefined !== set)
20818
+ if (undefined !== set) {
20817
20819
  set.delete(low);
20820
+ if (set.size === 0)
20821
+ this._map.delete(high);
20822
+ }
20818
20823
  }
20819
20824
  /** Returns true if the set contains the specified Id. */
20820
20825
  has(low, high) {
@@ -21068,8 +21073,8 @@ var Guid;
21068
21073
  "use strict";
21069
21074
  __webpack_require__.r(__webpack_exports__);
21070
21075
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21071
- /* harmony export */ "IndexMap": () => (/* binding */ IndexMap),
21072
- /* harmony export */ "IndexedValue": () => (/* binding */ IndexedValue)
21076
+ /* harmony export */ IndexMap: () => (/* binding */ IndexMap),
21077
+ /* harmony export */ IndexedValue: () => (/* binding */ IndexedValue)
21073
21078
  /* harmony export */ });
21074
21079
  /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
21075
21080
  /*---------------------------------------------------------------------------------------------
@@ -21191,7 +21196,7 @@ __webpack_require__.r(__webpack_exports__);
21191
21196
  "use strict";
21192
21197
  __webpack_require__.r(__webpack_exports__);
21193
21198
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21194
- /* harmony export */ "JsonUtils": () => (/* binding */ JsonUtils)
21199
+ /* harmony export */ JsonUtils: () => (/* binding */ JsonUtils)
21195
21200
  /* harmony export */ });
21196
21201
  /*---------------------------------------------------------------------------------------------
21197
21202
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -21354,10 +21359,10 @@ var JsonUtils;
21354
21359
  "use strict";
21355
21360
  __webpack_require__.r(__webpack_exports__);
21356
21361
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21357
- /* harmony export */ "Entry": () => (/* binding */ Entry),
21358
- /* harmony export */ "LRUCache": () => (/* binding */ LRUCache),
21359
- /* harmony export */ "LRUDictionary": () => (/* binding */ LRUDictionary),
21360
- /* harmony export */ "LRUMap": () => (/* binding */ LRUMap)
21362
+ /* harmony export */ Entry: () => (/* binding */ Entry),
21363
+ /* harmony export */ LRUCache: () => (/* binding */ LRUCache),
21364
+ /* harmony export */ LRUDictionary: () => (/* binding */ LRUDictionary),
21365
+ /* harmony export */ LRUMap: () => (/* binding */ LRUMap)
21361
21366
  /* harmony export */ });
21362
21367
  /* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Dictionary */ "../bentley/lib/esm/Dictionary.js");
21363
21368
  /*---------------------------------------------------------------------------------------------
@@ -21699,14 +21704,13 @@ class LRUDictionary extends LRUCache {
21699
21704
  "use strict";
21700
21705
  __webpack_require__.r(__webpack_exports__);
21701
21706
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21702
- /* harmony export */ "LogLevel": () => (/* binding */ LogLevel),
21703
- /* harmony export */ "Logger": () => (/* binding */ Logger),
21704
- /* harmony export */ "PerfLogger": () => (/* binding */ PerfLogger)
21707
+ /* harmony export */ LogLevel: () => (/* binding */ LogLevel),
21708
+ /* harmony export */ Logger: () => (/* binding */ Logger),
21709
+ /* harmony export */ PerfLogger: () => (/* binding */ PerfLogger)
21705
21710
  /* harmony export */ });
21706
21711
  /* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../bentley/lib/esm/BeEvent.js");
21707
21712
  /* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BentleyError */ "../bentley/lib/esm/BentleyError.js");
21708
21713
  /* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../bentley/lib/esm/BentleyLoggerCategory.js");
21709
- /* harmony import */ var _internal_staticLoggerMetadata__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./internal/staticLoggerMetadata */ "../bentley/lib/esm/internal/staticLoggerMetadata.js");
21710
21714
  /*---------------------------------------------------------------------------------------------
21711
21715
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
21712
21716
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -21717,7 +21721,6 @@ __webpack_require__.r(__webpack_exports__);
21717
21721
 
21718
21722
 
21719
21723
 
21720
-
21721
21724
  /** Use to categorize logging messages by severity.
21722
21725
  * @public
21723
21726
  */
@@ -21739,6 +21742,7 @@ var LogLevel;
21739
21742
  * @public
21740
21743
  */
21741
21744
  class Logger {
21745
+ static { this._staticMetaData = new Map(); }
21742
21746
  /** An event raised whenever [[setLevel]] or [[setLevelDefault]] is called. */
21743
21747
  static get onLogLevelChanged() {
21744
21748
  // We have to lazily initialize because it's static and BeEvent imports UnexpectedErrors which imports Logger which wants to instantiate BeEvent.
@@ -21747,6 +21751,7 @@ class Logger {
21747
21751
  }
21748
21752
  return Logger._onLogLevelChanged;
21749
21753
  }
21754
+ static { this._categoryFilter = {}; }
21750
21755
  /** Maps category names to the least severe level at which messages in that category should be displayed,
21751
21756
  * or `undefined` if a minimum has not been defined.
21752
21757
  * @see [[setLevel]] to change the minimum logging level for a category.
@@ -21763,6 +21768,14 @@ class Logger {
21763
21768
  // NOTE: this property is accessed by native code. */
21764
21769
  return this._minLevel;
21765
21770
  }
21771
+ /** Should the call stack be included when an exception is logged? */
21772
+ static { this.logExceptionCallstacks = false; }
21773
+ /** Contains metadata that should be included with every logged message.
21774
+ * @beta
21775
+ */
21776
+ static get staticMetaData() {
21777
+ return this._staticMetaData;
21778
+ }
21766
21779
  /** Initialize the logger streams. Should be called at application initialization time. */
21767
21780
  static initialize(logError, logWarning, logInfo, logTrace) {
21768
21781
  Logger._logError = logError;
@@ -21780,7 +21793,7 @@ class Logger {
21780
21793
  /** merge the supplied metadata with all static metadata into one object */
21781
21794
  static getMetaData(metaData) {
21782
21795
  const metaObj = {};
21783
- for (const meta of _internal_staticLoggerMetadata__WEBPACK_IMPORTED_MODULE_3__.staticLoggerMetadata) {
21796
+ for (const meta of this._staticMetaData) {
21784
21797
  const val = _BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getMetaData(meta[1]);
21785
21798
  if (val)
21786
21799
  Object.assign(metaObj, val);
@@ -21942,9 +21955,6 @@ class Logger {
21942
21955
  Logger._logTrace(category, message, metaData);
21943
21956
  }
21944
21957
  }
21945
- Logger._categoryFilter = {};
21946
- /** Should the call stack be included when an exception is logged? */
21947
- Logger.logExceptionCallstacks = false;
21948
21958
  /** Simple performance diagnostics utility.
21949
21959
  * It measures the time from construction to disposal. On disposal it logs the routine name along with
21950
21960
  * the duration in milliseconds.
@@ -21955,6 +21965,7 @@ Logger.logExceptionCallstacks = false;
21955
21965
  * @public
21956
21966
  */
21957
21967
  class PerfLogger {
21968
+ static { this._severity = LogLevel.Info; }
21958
21969
  constructor(operation, metaData) {
21959
21970
  this._operation = operation;
21960
21971
  this._metaData = metaData;
@@ -21980,7 +21991,6 @@ class PerfLogger {
21980
21991
  this.logMessage();
21981
21992
  }
21982
21993
  }
21983
- PerfLogger._severity = LogLevel.Info;
21984
21994
 
21985
21995
 
21986
21996
  /***/ }),
@@ -21994,7 +22004,7 @@ PerfLogger._severity = LogLevel.Info;
21994
22004
  "use strict";
21995
22005
  __webpack_require__.r(__webpack_exports__);
21996
22006
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21997
- /* harmony export */ "ObservableSet": () => (/* binding */ ObservableSet)
22007
+ /* harmony export */ ObservableSet: () => (/* binding */ ObservableSet)
21998
22008
  /* harmony export */ });
21999
22009
  /* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../bentley/lib/esm/BeEvent.js");
22000
22010
  /*---------------------------------------------------------------------------------------------
@@ -22061,8 +22071,8 @@ class ObservableSet extends Set {
22061
22071
  "use strict";
22062
22072
  __webpack_require__.r(__webpack_exports__);
22063
22073
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22064
- /* harmony export */ "AbandonedError": () => (/* binding */ AbandonedError),
22065
- /* harmony export */ "OneAtATimeAction": () => (/* binding */ OneAtATimeAction)
22074
+ /* harmony export */ AbandonedError: () => (/* binding */ AbandonedError),
22075
+ /* harmony export */ OneAtATimeAction: () => (/* binding */ OneAtATimeAction)
22066
22076
  /* harmony export */ });
22067
22077
  /* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../bentley/lib/esm/BentleyError.js");
22068
22078
  /*---------------------------------------------------------------------------------------------
@@ -22167,7 +22177,7 @@ class OneAtATimeAction {
22167
22177
  "use strict";
22168
22178
  __webpack_require__.r(__webpack_exports__);
22169
22179
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22170
- /* harmony export */ "OrderedId64Iterable": () => (/* binding */ OrderedId64Iterable)
22180
+ /* harmony export */ OrderedId64Iterable: () => (/* binding */ OrderedId64Iterable)
22171
22181
  /* harmony export */ });
22172
22182
  /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
22173
22183
  /*---------------------------------------------------------------------------------------------
@@ -22415,8 +22425,8 @@ var OrderedId64Iterable;
22415
22425
  "use strict";
22416
22426
  __webpack_require__.r(__webpack_exports__);
22417
22427
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22418
- /* harmony export */ "OrderedSet": () => (/* binding */ OrderedSet),
22419
- /* harmony export */ "ReadonlyOrderedSet": () => (/* binding */ ReadonlyOrderedSet)
22428
+ /* harmony export */ OrderedSet: () => (/* binding */ OrderedSet),
22429
+ /* harmony export */ ReadonlyOrderedSet: () => (/* binding */ ReadonlyOrderedSet)
22420
22430
  /* harmony export */ });
22421
22431
  /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
22422
22432
  /*---------------------------------------------------------------------------------------------
@@ -22491,7 +22501,7 @@ class OrderedSet extends ReadonlyOrderedSet {
22491
22501
  "use strict";
22492
22502
  __webpack_require__.r(__webpack_exports__);
22493
22503
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22494
- /* harmony export */ "PriorityQueue": () => (/* binding */ PriorityQueue)
22504
+ /* harmony export */ PriorityQueue: () => (/* binding */ PriorityQueue)
22495
22505
  /* harmony export */ });
22496
22506
  /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
22497
22507
  /*---------------------------------------------------------------------------------------------
@@ -22643,7 +22653,7 @@ class PriorityQueue {
22643
22653
  "use strict";
22644
22654
  __webpack_require__.r(__webpack_exports__);
22645
22655
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22646
- /* harmony export */ "ProcessDetector": () => (/* binding */ ProcessDetector)
22656
+ /* harmony export */ ProcessDetector: () => (/* binding */ ProcessDetector)
22647
22657
  /* harmony export */ });
22648
22658
  /*---------------------------------------------------------------------------------------------
22649
22659
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -22725,11 +22735,11 @@ class ProcessDetector {
22725
22735
  "use strict";
22726
22736
  __webpack_require__.r(__webpack_exports__);
22727
22737
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22728
- /* harmony export */ "DuplicatePolicy": () => (/* binding */ DuplicatePolicy),
22729
- /* harmony export */ "ReadonlySortedArray": () => (/* binding */ ReadonlySortedArray),
22730
- /* harmony export */ "SortedArray": () => (/* binding */ SortedArray),
22731
- /* harmony export */ "lowerBound": () => (/* binding */ lowerBound),
22732
- /* harmony export */ "shallowClone": () => (/* binding */ shallowClone)
22738
+ /* harmony export */ DuplicatePolicy: () => (/* binding */ DuplicatePolicy),
22739
+ /* harmony export */ ReadonlySortedArray: () => (/* binding */ ReadonlySortedArray),
22740
+ /* harmony export */ SortedArray: () => (/* binding */ SortedArray),
22741
+ /* harmony export */ lowerBound: () => (/* binding */ lowerBound),
22742
+ /* harmony export */ shallowClone: () => (/* binding */ shallowClone)
22733
22743
  /* harmony export */ });
22734
22744
  /*---------------------------------------------------------------------------------------------
22735
22745
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -23052,9 +23062,9 @@ class SortedArray extends ReadonlySortedArray {
23052
23062
  "use strict";
23053
23063
  __webpack_require__.r(__webpack_exports__);
23054
23064
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23055
- /* harmony export */ "ErrorCategory": () => (/* binding */ ErrorCategory),
23056
- /* harmony export */ "StatusCategory": () => (/* binding */ StatusCategory),
23057
- /* harmony export */ "SuccessCategory": () => (/* binding */ SuccessCategory)
23065
+ /* harmony export */ ErrorCategory: () => (/* binding */ ErrorCategory),
23066
+ /* harmony export */ StatusCategory: () => (/* binding */ StatusCategory),
23067
+ /* harmony export */ SuccessCategory: () => (/* binding */ SuccessCategory)
23058
23068
  /* harmony export */ });
23059
23069
  /* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../bentley/lib/esm/BentleyError.js");
23060
23070
  /* harmony import */ var _internal_RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/RepositoryStatus */ "../bentley/lib/esm/internal/RepositoryStatus.js");
@@ -23071,6 +23081,7 @@ __webpack_require__.r(__webpack_exports__);
23071
23081
  * @alpha
23072
23082
  */
23073
23083
  class StatusCategory {
23084
+ static { this.handlers = new Set(); }
23074
23085
  static for(error) {
23075
23086
  for (const handler of this.handlers) {
23076
23087
  const category = handler(error);
@@ -23084,7 +23095,6 @@ class StatusCategory {
23084
23095
  return new UnknownError();
23085
23096
  }
23086
23097
  }
23087
- StatusCategory.handlers = new Set();
23088
23098
  /***
23089
23099
  * A success status.
23090
23100
  * @alpha
@@ -23532,8 +23542,8 @@ function lookupHttpStatusCategory(statusCode) {
23532
23542
  "use strict";
23533
23543
  __webpack_require__.r(__webpack_exports__);
23534
23544
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23535
- /* harmony export */ "base64StringToUint8Array": () => (/* binding */ base64StringToUint8Array),
23536
- /* harmony export */ "utf8ToString": () => (/* binding */ utf8ToString)
23545
+ /* harmony export */ base64StringToUint8Array: () => (/* binding */ base64StringToUint8Array),
23546
+ /* harmony export */ utf8ToString: () => (/* binding */ utf8ToString)
23537
23547
  /* harmony export */ });
23538
23548
  /*---------------------------------------------------------------------------------------------
23539
23549
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -23575,9 +23585,9 @@ function base64StringToUint8Array(base64) {
23575
23585
  "use strict";
23576
23586
  __webpack_require__.r(__webpack_exports__);
23577
23587
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23578
- /* harmony export */ "BeDuration": () => (/* binding */ BeDuration),
23579
- /* harmony export */ "BeTimePoint": () => (/* binding */ BeTimePoint),
23580
- /* harmony export */ "StopWatch": () => (/* binding */ StopWatch)
23588
+ /* harmony export */ BeDuration: () => (/* binding */ BeDuration),
23589
+ /* harmony export */ BeTimePoint: () => (/* binding */ BeTimePoint),
23590
+ /* harmony export */ StopWatch: () => (/* binding */ StopWatch)
23581
23591
  /* harmony export */ });
23582
23592
  /*---------------------------------------------------------------------------------------------
23583
23593
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -23738,8 +23748,8 @@ class StopWatch {
23738
23748
  "use strict";
23739
23749
  __webpack_require__.r(__webpack_exports__);
23740
23750
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23741
- /* harmony export */ "SpanKind": () => (/* binding */ SpanKind),
23742
- /* harmony export */ "Tracing": () => (/* binding */ Tracing)
23751
+ /* harmony export */ SpanKind: () => (/* binding */ SpanKind),
23752
+ /* harmony export */ Tracing: () => (/* binding */ Tracing)
23743
23753
  /* harmony export */ });
23744
23754
  /* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../bentley/lib/esm/Logger.js");
23745
23755
  /*---------------------------------------------------------------------------------------------
@@ -23916,7 +23926,7 @@ class Tracing {
23916
23926
  "use strict";
23917
23927
  __webpack_require__.r(__webpack_exports__);
23918
23928
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23919
- /* harmony export */ "TupleKeyedMap": () => (/* binding */ TupleKeyedMap)
23929
+ /* harmony export */ TupleKeyedMap: () => (/* binding */ TupleKeyedMap)
23920
23930
  /* harmony export */ });
23921
23931
  /*---------------------------------------------------------------------------------------------
23922
23932
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -24029,11 +24039,11 @@ class TupleKeyedMap {
24029
24039
  "use strict";
24030
24040
  __webpack_require__.r(__webpack_exports__);
24031
24041
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24032
- /* harmony export */ "TypedArrayBuilder": () => (/* binding */ TypedArrayBuilder),
24033
- /* harmony export */ "Uint16ArrayBuilder": () => (/* binding */ Uint16ArrayBuilder),
24034
- /* harmony export */ "Uint32ArrayBuilder": () => (/* binding */ Uint32ArrayBuilder),
24035
- /* harmony export */ "Uint8ArrayBuilder": () => (/* binding */ Uint8ArrayBuilder),
24036
- /* harmony export */ "UintArrayBuilder": () => (/* binding */ UintArrayBuilder)
24042
+ /* harmony export */ TypedArrayBuilder: () => (/* binding */ TypedArrayBuilder),
24043
+ /* harmony export */ Uint16ArrayBuilder: () => (/* binding */ Uint16ArrayBuilder),
24044
+ /* harmony export */ Uint32ArrayBuilder: () => (/* binding */ Uint32ArrayBuilder),
24045
+ /* harmony export */ Uint8ArrayBuilder: () => (/* binding */ Uint8ArrayBuilder),
24046
+ /* harmony export */ UintArrayBuilder: () => (/* binding */ UintArrayBuilder)
24037
24047
  /* harmony export */ });
24038
24048
  /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
24039
24049
  /*---------------------------------------------------------------------------------------------
@@ -24247,7 +24257,7 @@ class UintArrayBuilder extends TypedArrayBuilder {
24247
24257
  "use strict";
24248
24258
  __webpack_require__.r(__webpack_exports__);
24249
24259
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24250
- /* harmony export */ "UnexpectedErrors": () => (/* binding */ UnexpectedErrors)
24260
+ /* harmony export */ UnexpectedErrors: () => (/* binding */ UnexpectedErrors)
24251
24261
  /* harmony export */ });
24252
24262
  /* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../bentley/lib/esm/Logger.js");
24253
24263
  /*---------------------------------------------------------------------------------------------
@@ -24257,7 +24267,6 @@ __webpack_require__.r(__webpack_exports__);
24257
24267
  /** @packageDocumentation
24258
24268
  * @module Errors
24259
24269
  */
24260
- var _a;
24261
24270
 
24262
24271
  /**
24263
24272
  * Utility for handling/reporting unexpected runtime errors. This class establishes a global handler for
@@ -24267,6 +24276,16 @@ var _a;
24267
24276
  * @public
24268
24277
  */
24269
24278
  class UnexpectedErrors {
24279
+ /** handler for re-throwing exceptions directly */
24280
+ static { this.reThrowImmediate = (e) => { throw e; }; }
24281
+ /** handler for re-throwing exceptions from an asynchronous interval (so the current call stack is not aborted) */
24282
+ static { this.reThrowDeferred = (e) => setTimeout(() => { throw e; }, 0); }
24283
+ /** handler for logging exception to console */
24284
+ static { this.consoleLog = (e) => console.error(e); } // eslint-disable-line no-console
24285
+ /** handler for logging exception with [[Logger]] */
24286
+ static { this.errorLog = (e) => _Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.logException("unhandled", e); }
24287
+ static { this._telemetry = []; }
24288
+ static { this._handler = this.errorLog; } // default to error logging
24270
24289
  constructor() { } // this is a singleton
24271
24290
  /** Add a "telemetry tracker" for unexpected errors. Useful for tracking/reporting errors without changing handler.
24272
24291
  * @returns a method to remove the tracker
@@ -24303,17 +24322,6 @@ class UnexpectedErrors {
24303
24322
  return oldHandler;
24304
24323
  }
24305
24324
  }
24306
- _a = UnexpectedErrors;
24307
- /** handler for re-throwing exceptions directly */
24308
- UnexpectedErrors.reThrowImmediate = (e) => { throw e; };
24309
- /** handler for re-throwing exceptions from an asynchronous interval (so the current call stack is not aborted) */
24310
- UnexpectedErrors.reThrowDeferred = (e) => setTimeout(() => { throw e; }, 0);
24311
- /** handler for logging exception to console */
24312
- UnexpectedErrors.consoleLog = (e) => console.error(e); // eslint-disable-line no-console
24313
- /** handler for logging exception with [[Logger]] */
24314
- UnexpectedErrors.errorLog = (e) => _Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.logException("unhandled", e);
24315
- UnexpectedErrors._telemetry = [];
24316
- UnexpectedErrors._handler = _a.errorLog; // default to error logging
24317
24325
 
24318
24326
 
24319
24327
  /***/ }),
@@ -24327,9 +24335,9 @@ UnexpectedErrors._handler = _a.errorLog; // default to error logging
24327
24335
  "use strict";
24328
24336
  __webpack_require__.r(__webpack_exports__);
24329
24337
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24330
- /* harmony export */ "asInstanceOf": () => (/* binding */ asInstanceOf),
24331
- /* harmony export */ "isInstanceOf": () => (/* binding */ isInstanceOf),
24332
- /* harmony export */ "omit": () => (/* binding */ omit)
24338
+ /* harmony export */ asInstanceOf: () => (/* binding */ asInstanceOf),
24339
+ /* harmony export */ isInstanceOf: () => (/* binding */ isInstanceOf),
24340
+ /* harmony export */ omit: () => (/* binding */ omit)
24333
24341
  /* harmony export */ });
24334
24342
  /*---------------------------------------------------------------------------------------------
24335
24343
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -24378,7 +24386,7 @@ function omit(t, keys) {
24378
24386
  "use strict";
24379
24387
  __webpack_require__.r(__webpack_exports__);
24380
24388
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24381
- /* harmony export */ "YieldManager": () => (/* binding */ YieldManager)
24389
+ /* harmony export */ YieldManager: () => (/* binding */ YieldManager)
24382
24390
  /* harmony export */ });
24383
24391
  /*---------------------------------------------------------------------------------------------
24384
24392
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -24430,99 +24438,98 @@ class YieldManager {
24430
24438
  "use strict";
24431
24439
  __webpack_require__.r(__webpack_exports__);
24432
24440
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24433
- /* harmony export */ "AbandonedError": () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.AbandonedError),
24434
- /* harmony export */ "BeDuration": () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeDuration),
24435
- /* harmony export */ "BeEvent": () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEvent),
24436
- /* harmony export */ "BeEventList": () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEventList),
24437
- /* harmony export */ "BeTimePoint": () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeTimePoint),
24438
- /* harmony export */ "BeUiEvent": () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeUiEvent),
24439
- /* harmony export */ "BentleyError": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyError),
24440
- /* harmony export */ "BentleyLoggerCategory": () => (/* reexport safe */ _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_4__.BentleyLoggerCategory),
24441
- /* harmony export */ "BentleyStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyStatus),
24442
- /* harmony export */ "BriefcaseStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BriefcaseStatus),
24443
- /* harmony export */ "ByteStream": () => (/* reexport safe */ _ByteStream__WEBPACK_IMPORTED_MODULE_7__.ByteStream),
24444
- /* harmony export */ "ChangeSetStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.ChangeSetStatus),
24445
- /* harmony export */ "CompressedId64Set": () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.CompressedId64Set),
24446
- /* harmony export */ "DbChangeStage": () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbChangeStage),
24447
- /* harmony export */ "DbConflictCause": () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbConflictCause),
24448
- /* harmony export */ "DbConflictResolution": () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbConflictResolution),
24449
- /* harmony export */ "DbOpcode": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbOpcode),
24450
- /* harmony export */ "DbResult": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbResult),
24451
- /* harmony export */ "DbValueType": () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbValueType),
24452
- /* harmony export */ "Dictionary": () => (/* reexport safe */ _Dictionary__WEBPACK_IMPORTED_MODULE_11__.Dictionary),
24453
- /* harmony export */ "DisposableList": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.DisposableList),
24454
- /* harmony export */ "DuplicatePolicy": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.DuplicatePolicy),
24455
- /* harmony export */ "Entry": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.Entry),
24456
- /* harmony export */ "ErrorCategory": () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.ErrorCategory),
24457
- /* harmony export */ "GeoServiceStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.GeoServiceStatus),
24458
- /* harmony export */ "Guid": () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Guid),
24459
- /* harmony export */ "HttpStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.HttpStatus),
24460
- /* harmony export */ "IModelHubStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelHubStatus),
24461
- /* harmony export */ "IModelStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelStatus),
24462
- /* harmony export */ "Id64": () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Id64),
24463
- /* harmony export */ "IndexMap": () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexMap),
24464
- /* harmony export */ "IndexedValue": () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexedValue),
24465
- /* harmony export */ "JsonUtils": () => (/* reexport safe */ _JsonUtils__WEBPACK_IMPORTED_MODULE_16__.JsonUtils),
24466
- /* harmony export */ "LRUCache": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUCache),
24467
- /* harmony export */ "LRUDictionary": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUDictionary),
24468
- /* harmony export */ "LRUMap": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUMap),
24469
- /* harmony export */ "LogLevel": () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.LogLevel),
24470
- /* harmony export */ "Logger": () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.Logger),
24471
- /* harmony export */ "MutableCompressedId64Set": () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.MutableCompressedId64Set),
24472
- /* harmony export */ "ObservableSet": () => (/* reexport safe */ _ObservableSet__WEBPACK_IMPORTED_MODULE_19__.ObservableSet),
24473
- /* harmony export */ "OneAtATimeAction": () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.OneAtATimeAction),
24474
- /* harmony export */ "OpenMode": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.OpenMode),
24475
- /* harmony export */ "OrderedId64Array": () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.OrderedId64Array),
24476
- /* harmony export */ "OrderedId64Iterable": () => (/* reexport safe */ _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_21__.OrderedId64Iterable),
24477
- /* harmony export */ "OrderedSet": () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.OrderedSet),
24478
- /* harmony export */ "PerfLogger": () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.PerfLogger),
24479
- /* harmony export */ "PriorityQueue": () => (/* reexport safe */ _PriorityQueue__WEBPACK_IMPORTED_MODULE_24__.PriorityQueue),
24480
- /* harmony export */ "ProcessDetector": () => (/* reexport safe */ _ProcessDetector__WEBPACK_IMPORTED_MODULE_25__.ProcessDetector),
24481
- /* harmony export */ "ReadonlyOrderedSet": () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.ReadonlyOrderedSet),
24482
- /* harmony export */ "ReadonlySortedArray": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.ReadonlySortedArray),
24483
- /* harmony export */ "RealityDataStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RealityDataStatus),
24484
- /* harmony export */ "RepositoryStatus": () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.RepositoryStatus),
24485
- /* harmony export */ "RpcInterfaceStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RpcInterfaceStatus),
24486
- /* harmony export */ "SortedArray": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.SortedArray),
24487
- /* harmony export */ "SpanKind": () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.SpanKind),
24488
- /* harmony export */ "StatusCategory": () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.StatusCategory),
24489
- /* harmony export */ "StopWatch": () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.StopWatch),
24490
- /* harmony export */ "SuccessCategory": () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.SuccessCategory),
24491
- /* harmony export */ "Tracing": () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.Tracing),
24492
- /* harmony export */ "TransientIdSequence": () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.TransientIdSequence),
24493
- /* harmony export */ "TupleKeyedMap": () => (/* reexport safe */ _TupleKeyedMap__WEBPACK_IMPORTED_MODULE_30__.TupleKeyedMap),
24494
- /* harmony export */ "TypedArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.TypedArrayBuilder),
24495
- /* harmony export */ "Uint16ArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint16ArrayBuilder),
24496
- /* harmony export */ "Uint32ArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint32ArrayBuilder),
24497
- /* harmony export */ "Uint8ArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint8ArrayBuilder),
24498
- /* harmony export */ "UintArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.UintArrayBuilder),
24499
- /* harmony export */ "UnexpectedErrors": () => (/* reexport safe */ _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_32__.UnexpectedErrors),
24500
- /* harmony export */ "YieldManager": () => (/* reexport safe */ _YieldManager__WEBPACK_IMPORTED_MODULE_34__.YieldManager),
24501
- /* harmony export */ "areEqualPossiblyUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.areEqualPossiblyUndefined),
24502
- /* harmony export */ "asInstanceOf": () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.asInstanceOf),
24503
- /* harmony export */ "assert": () => (/* reexport safe */ _Assert__WEBPACK_IMPORTED_MODULE_1__.assert),
24504
- /* harmony export */ "base64StringToUint8Array": () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.base64StringToUint8Array),
24505
- /* harmony export */ "compareBooleans": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleans),
24506
- /* harmony export */ "compareBooleansOrUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleansOrUndefined),
24507
- /* harmony export */ "compareNumbers": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbers),
24508
- /* harmony export */ "compareNumbersOrUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbersOrUndefined),
24509
- /* harmony export */ "comparePossiblyUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.comparePossiblyUndefined),
24510
- /* harmony export */ "compareStrings": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStrings),
24511
- /* harmony export */ "compareStringsOrUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStringsOrUndefined),
24512
- /* harmony export */ "compareWithTolerance": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareWithTolerance),
24513
- /* harmony export */ "dispose": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.dispose),
24514
- /* harmony export */ "disposeArray": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.disposeArray),
24515
- /* harmony export */ "isIDisposable": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.isIDisposable),
24516
- /* harmony export */ "isInstanceOf": () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.isInstanceOf),
24517
- /* harmony export */ "isProperSubclassOf": () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isProperSubclassOf),
24518
- /* harmony export */ "isSubclassOf": () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isSubclassOf),
24519
- /* harmony export */ "lowerBound": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.lowerBound),
24520
- /* harmony export */ "omit": () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.omit),
24521
- /* harmony export */ "partitionArray": () => (/* reexport safe */ _partitionArray__WEBPACK_IMPORTED_MODULE_23__.partitionArray),
24522
- /* harmony export */ "shallowClone": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.shallowClone),
24523
- /* harmony export */ "staticLoggerMetadata": () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.staticLoggerMetadata),
24524
- /* harmony export */ "using": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.using),
24525
- /* harmony export */ "utf8ToString": () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.utf8ToString)
24441
+ /* harmony export */ AbandonedError: () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.AbandonedError),
24442
+ /* harmony export */ BeDuration: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeDuration),
24443
+ /* harmony export */ BeEvent: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEvent),
24444
+ /* harmony export */ BeEventList: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEventList),
24445
+ /* harmony export */ BeTimePoint: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeTimePoint),
24446
+ /* harmony export */ BeUiEvent: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeUiEvent),
24447
+ /* harmony export */ BentleyError: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyError),
24448
+ /* harmony export */ BentleyLoggerCategory: () => (/* reexport safe */ _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_4__.BentleyLoggerCategory),
24449
+ /* harmony export */ BentleyStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyStatus),
24450
+ /* harmony export */ BriefcaseStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BriefcaseStatus),
24451
+ /* harmony export */ ByteStream: () => (/* reexport safe */ _ByteStream__WEBPACK_IMPORTED_MODULE_7__.ByteStream),
24452
+ /* harmony export */ ChangeSetStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.ChangeSetStatus),
24453
+ /* harmony export */ CompressedId64Set: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.CompressedId64Set),
24454
+ /* harmony export */ DbChangeStage: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbChangeStage),
24455
+ /* harmony export */ DbConflictCause: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbConflictCause),
24456
+ /* harmony export */ DbConflictResolution: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbConflictResolution),
24457
+ /* harmony export */ DbOpcode: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbOpcode),
24458
+ /* harmony export */ DbResult: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbResult),
24459
+ /* harmony export */ DbValueType: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbValueType),
24460
+ /* harmony export */ Dictionary: () => (/* reexport safe */ _Dictionary__WEBPACK_IMPORTED_MODULE_11__.Dictionary),
24461
+ /* harmony export */ DisposableList: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.DisposableList),
24462
+ /* harmony export */ DuplicatePolicy: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.DuplicatePolicy),
24463
+ /* harmony export */ Entry: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.Entry),
24464
+ /* harmony export */ ErrorCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.ErrorCategory),
24465
+ /* harmony export */ GeoServiceStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.GeoServiceStatus),
24466
+ /* harmony export */ Guid: () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Guid),
24467
+ /* harmony export */ HttpStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.HttpStatus),
24468
+ /* harmony export */ IModelHubStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelHubStatus),
24469
+ /* harmony export */ IModelStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelStatus),
24470
+ /* harmony export */ Id64: () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Id64),
24471
+ /* harmony export */ IndexMap: () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexMap),
24472
+ /* harmony export */ IndexedValue: () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexedValue),
24473
+ /* harmony export */ JsonUtils: () => (/* reexport safe */ _JsonUtils__WEBPACK_IMPORTED_MODULE_16__.JsonUtils),
24474
+ /* harmony export */ LRUCache: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUCache),
24475
+ /* harmony export */ LRUDictionary: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUDictionary),
24476
+ /* harmony export */ LRUMap: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUMap),
24477
+ /* harmony export */ LogLevel: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.LogLevel),
24478
+ /* harmony export */ Logger: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.Logger),
24479
+ /* harmony export */ MutableCompressedId64Set: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.MutableCompressedId64Set),
24480
+ /* harmony export */ ObservableSet: () => (/* reexport safe */ _ObservableSet__WEBPACK_IMPORTED_MODULE_19__.ObservableSet),
24481
+ /* harmony export */ OneAtATimeAction: () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.OneAtATimeAction),
24482
+ /* harmony export */ OpenMode: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.OpenMode),
24483
+ /* harmony export */ OrderedId64Array: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.OrderedId64Array),
24484
+ /* harmony export */ OrderedId64Iterable: () => (/* reexport safe */ _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_21__.OrderedId64Iterable),
24485
+ /* harmony export */ OrderedSet: () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.OrderedSet),
24486
+ /* harmony export */ PerfLogger: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.PerfLogger),
24487
+ /* harmony export */ PriorityQueue: () => (/* reexport safe */ _PriorityQueue__WEBPACK_IMPORTED_MODULE_24__.PriorityQueue),
24488
+ /* harmony export */ ProcessDetector: () => (/* reexport safe */ _ProcessDetector__WEBPACK_IMPORTED_MODULE_25__.ProcessDetector),
24489
+ /* harmony export */ ReadonlyOrderedSet: () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.ReadonlyOrderedSet),
24490
+ /* harmony export */ ReadonlySortedArray: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.ReadonlySortedArray),
24491
+ /* harmony export */ RealityDataStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RealityDataStatus),
24492
+ /* harmony export */ RepositoryStatus: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.RepositoryStatus),
24493
+ /* harmony export */ RpcInterfaceStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RpcInterfaceStatus),
24494
+ /* harmony export */ SortedArray: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.SortedArray),
24495
+ /* harmony export */ SpanKind: () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.SpanKind),
24496
+ /* harmony export */ StatusCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.StatusCategory),
24497
+ /* harmony export */ StopWatch: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.StopWatch),
24498
+ /* harmony export */ SuccessCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.SuccessCategory),
24499
+ /* harmony export */ Tracing: () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.Tracing),
24500
+ /* harmony export */ TransientIdSequence: () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.TransientIdSequence),
24501
+ /* harmony export */ TupleKeyedMap: () => (/* reexport safe */ _TupleKeyedMap__WEBPACK_IMPORTED_MODULE_30__.TupleKeyedMap),
24502
+ /* harmony export */ TypedArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.TypedArrayBuilder),
24503
+ /* harmony export */ Uint16ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint16ArrayBuilder),
24504
+ /* harmony export */ Uint32ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint32ArrayBuilder),
24505
+ /* harmony export */ Uint8ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint8ArrayBuilder),
24506
+ /* harmony export */ UintArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.UintArrayBuilder),
24507
+ /* harmony export */ UnexpectedErrors: () => (/* reexport safe */ _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_32__.UnexpectedErrors),
24508
+ /* harmony export */ YieldManager: () => (/* reexport safe */ _YieldManager__WEBPACK_IMPORTED_MODULE_34__.YieldManager),
24509
+ /* harmony export */ areEqualPossiblyUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.areEqualPossiblyUndefined),
24510
+ /* harmony export */ asInstanceOf: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.asInstanceOf),
24511
+ /* harmony export */ assert: () => (/* reexport safe */ _Assert__WEBPACK_IMPORTED_MODULE_1__.assert),
24512
+ /* harmony export */ base64StringToUint8Array: () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.base64StringToUint8Array),
24513
+ /* harmony export */ compareBooleans: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleans),
24514
+ /* harmony export */ compareBooleansOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleansOrUndefined),
24515
+ /* harmony export */ compareNumbers: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbers),
24516
+ /* harmony export */ compareNumbersOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbersOrUndefined),
24517
+ /* harmony export */ comparePossiblyUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.comparePossiblyUndefined),
24518
+ /* harmony export */ compareStrings: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStrings),
24519
+ /* harmony export */ compareStringsOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStringsOrUndefined),
24520
+ /* harmony export */ compareWithTolerance: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareWithTolerance),
24521
+ /* harmony export */ dispose: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.dispose),
24522
+ /* harmony export */ disposeArray: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.disposeArray),
24523
+ /* harmony export */ isIDisposable: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.isIDisposable),
24524
+ /* harmony export */ isInstanceOf: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.isInstanceOf),
24525
+ /* harmony export */ isProperSubclassOf: () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isProperSubclassOf),
24526
+ /* harmony export */ isSubclassOf: () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isSubclassOf),
24527
+ /* harmony export */ lowerBound: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.lowerBound),
24528
+ /* harmony export */ omit: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.omit),
24529
+ /* harmony export */ partitionArray: () => (/* reexport safe */ _partitionArray__WEBPACK_IMPORTED_MODULE_23__.partitionArray),
24530
+ /* harmony export */ shallowClone: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.shallowClone),
24531
+ /* harmony export */ using: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.using),
24532
+ /* harmony export */ utf8ToString: () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.utf8ToString)
24526
24533
  /* harmony export */ });
24527
24534
  /* harmony import */ var _AccessToken__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccessToken */ "../bentley/lib/esm/AccessToken.js");
24528
24535
  /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
@@ -24653,10 +24660,10 @@ __webpack_require__.r(__webpack_exports__);
24653
24660
  "use strict";
24654
24661
  __webpack_require__.r(__webpack_exports__);
24655
24662
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24656
- /* harmony export */ "DbChangeStage": () => (/* binding */ DbChangeStage),
24657
- /* harmony export */ "DbConflictCause": () => (/* binding */ DbConflictCause),
24658
- /* harmony export */ "DbConflictResolution": () => (/* binding */ DbConflictResolution),
24659
- /* harmony export */ "DbValueType": () => (/* binding */ DbValueType)
24663
+ /* harmony export */ DbChangeStage: () => (/* binding */ DbChangeStage),
24664
+ /* harmony export */ DbConflictCause: () => (/* binding */ DbConflictCause),
24665
+ /* harmony export */ DbConflictResolution: () => (/* binding */ DbConflictResolution),
24666
+ /* harmony export */ DbValueType: () => (/* binding */ DbValueType)
24660
24667
  /* harmony export */ });
24661
24668
  /*---------------------------------------------------------------------------------------------
24662
24669
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -24714,7 +24721,7 @@ var DbConflictResolution;
24714
24721
  "use strict";
24715
24722
  __webpack_require__.r(__webpack_exports__);
24716
24723
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24717
- /* harmony export */ "RepositoryStatus": () => (/* binding */ RepositoryStatus)
24724
+ /* harmony export */ RepositoryStatus: () => (/* binding */ RepositoryStatus)
24718
24725
  /* harmony export */ });
24719
24726
  /*---------------------------------------------------------------------------------------------
24720
24727
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -24773,16 +24780,14 @@ var RepositoryStatus;
24773
24780
  "use strict";
24774
24781
  __webpack_require__.r(__webpack_exports__);
24775
24782
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24776
- /* harmony export */ "DbChangeStage": () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_2__.DbChangeStage),
24777
- /* harmony export */ "DbConflictCause": () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_2__.DbConflictCause),
24778
- /* harmony export */ "DbConflictResolution": () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_2__.DbConflictResolution),
24779
- /* harmony export */ "DbValueType": () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_2__.DbValueType),
24780
- /* harmony export */ "RepositoryStatus": () => (/* reexport safe */ _RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__.RepositoryStatus),
24781
- /* harmony export */ "staticLoggerMetadata": () => (/* reexport safe */ _staticLoggerMetadata__WEBPACK_IMPORTED_MODULE_0__.staticLoggerMetadata)
24783
+ /* harmony export */ DbChangeStage: () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__.DbChangeStage),
24784
+ /* harmony export */ DbConflictCause: () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__.DbConflictCause),
24785
+ /* harmony export */ DbConflictResolution: () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__.DbConflictResolution),
24786
+ /* harmony export */ DbValueType: () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__.DbValueType),
24787
+ /* harmony export */ RepositoryStatus: () => (/* reexport safe */ _RepositoryStatus__WEBPACK_IMPORTED_MODULE_0__.RepositoryStatus)
24782
24788
  /* harmony export */ });
24783
- /* harmony import */ var _staticLoggerMetadata__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./staticLoggerMetadata */ "../bentley/lib/esm/internal/staticLoggerMetadata.js");
24784
- /* harmony import */ var _RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./RepositoryStatus */ "../bentley/lib/esm/internal/RepositoryStatus.js");
24785
- /* harmony import */ var _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BeSQLiteInternal */ "../bentley/lib/esm/internal/BeSQLiteInternal.js");
24789
+ /* harmony import */ var _RepositoryStatus__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RepositoryStatus */ "../bentley/lib/esm/internal/RepositoryStatus.js");
24790
+ /* harmony import */ var _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BeSQLiteInternal */ "../bentley/lib/esm/internal/BeSQLiteInternal.js");
24786
24791
  /*---------------------------------------------------------------------------------------------
24787
24792
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
24788
24793
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -24791,35 +24796,6 @@ __webpack_require__.r(__webpack_exports__);
24791
24796
 
24792
24797
 
24793
24798
 
24794
-
24795
- /***/ }),
24796
-
24797
- /***/ "../bentley/lib/esm/internal/staticLoggerMetadata.js":
24798
- /*!***********************************************************!*\
24799
- !*** ../bentley/lib/esm/internal/staticLoggerMetadata.js ***!
24800
- \***********************************************************/
24801
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
24802
-
24803
- "use strict";
24804
- __webpack_require__.r(__webpack_exports__);
24805
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24806
- /* harmony export */ "staticLoggerMetadata": () => (/* binding */ staticLoggerMetadata)
24807
- /* harmony export */ });
24808
- /*---------------------------------------------------------------------------------------------
24809
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
24810
- * See LICENSE.md in the project root for license terms and full copyright notice.
24811
- *--------------------------------------------------------------------------------------------*/
24812
- /** @packageDocumentation
24813
- * @module Logging
24814
- */
24815
- /** All static metadata is combined with per-call metadata and stringified in every log message.
24816
- * Static metadata can either be an object or a function that returns an object.
24817
- * Use a key to identify entries in the map so the can be removed individually.
24818
- * @internal
24819
- */
24820
- const staticLoggerMetadata = new Map();
24821
-
24822
-
24823
24799
  /***/ }),
24824
24800
 
24825
24801
  /***/ "../bentley/lib/esm/partitionArray.js":
@@ -24831,7 +24807,7 @@ const staticLoggerMetadata = new Map();
24831
24807
  "use strict";
24832
24808
  __webpack_require__.r(__webpack_exports__);
24833
24809
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24834
- /* harmony export */ "partitionArray": () => (/* binding */ partitionArray)
24810
+ /* harmony export */ partitionArray: () => (/* binding */ partitionArray)
24835
24811
  /* harmony export */ });
24836
24812
  /*---------------------------------------------------------------------------------------------
24837
24813
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -24886,9 +24862,9 @@ function partitionArray(array, criterion) {
24886
24862
 
24887
24863
  /***/ }),
24888
24864
 
24889
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
24865
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
24890
24866
  /*!**************************************************************************************************************************!*\
24891
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
24867
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
24892
24868
  \**************************************************************************************************************************/
24893
24869
  /***/ ((module) => {
24894
24870
 
@@ -24901,9 +24877,9 @@ module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exp
24901
24877
 
24902
24878
  /***/ }),
24903
24879
 
24904
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
24880
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
24905
24881
  /*!************************************************************************************************************************!*\
24906
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
24882
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
24907
24883
  \************************************************************************************************************************/
24908
24884
  /***/ ((module) => {
24909
24885
 
@@ -24914,9 +24890,9 @@ module.exports = _arrayWithHoles, module.exports.__esModule = true, module.expor
24914
24890
 
24915
24891
  /***/ }),
24916
24892
 
24917
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
24893
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
24918
24894
  /*!*******************************************************************************************************************************!*\
24919
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
24895
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
24920
24896
  \*******************************************************************************************************************************/
24921
24897
  /***/ ((module) => {
24922
24898
 
@@ -24928,9 +24904,9 @@ module.exports = _assertThisInitialized, module.exports.__esModule = true, modul
24928
24904
 
24929
24905
  /***/ }),
24930
24906
 
24931
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/classCallCheck.js":
24907
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/classCallCheck.js":
24932
24908
  /*!************************************************************************************************************************!*\
24933
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
24909
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
24934
24910
  \************************************************************************************************************************/
24935
24911
  /***/ ((module) => {
24936
24912
 
@@ -24941,13 +24917,13 @@ module.exports = _classCallCheck, module.exports.__esModule = true, module.expor
24941
24917
 
24942
24918
  /***/ }),
24943
24919
 
24944
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/createClass.js":
24920
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/createClass.js":
24945
24921
  /*!*********************************************************************************************************************!*\
24946
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/createClass.js ***!
24922
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/createClass.js ***!
24947
24923
  \*********************************************************************************************************************/
24948
24924
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
24949
24925
 
24950
- var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPropertyKey.js");
24926
+ var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toPropertyKey.js");
24951
24927
  function _defineProperties(e, r) {
24952
24928
  for (var t = 0; t < r.length; t++) {
24953
24929
  var o = r[t];
@@ -24963,13 +24939,13 @@ module.exports = _createClass, module.exports.__esModule = true, module.exports[
24963
24939
 
24964
24940
  /***/ }),
24965
24941
 
24966
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/defineProperty.js":
24942
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/defineProperty.js":
24967
24943
  /*!************************************************************************************************************************!*\
24968
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/defineProperty.js ***!
24944
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/defineProperty.js ***!
24969
24945
  \************************************************************************************************************************/
24970
24946
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
24971
24947
 
24972
- var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPropertyKey.js");
24948
+ var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toPropertyKey.js");
24973
24949
  function _defineProperty(e, r, t) {
24974
24950
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
24975
24951
  value: t,
@@ -24982,28 +24958,28 @@ module.exports = _defineProperty, module.exports.__esModule = true, module.expor
24982
24958
 
24983
24959
  /***/ }),
24984
24960
 
24985
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
24961
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
24986
24962
  /*!************************************************************************************************************************!*\
24987
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
24963
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
24988
24964
  \************************************************************************************************************************/
24989
24965
  /***/ ((module) => {
24990
24966
 
24991
24967
  function _getPrototypeOf(t) {
24992
- return (module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
24968
+ return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
24993
24969
  return t.__proto__ || Object.getPrototypeOf(t);
24994
- }, module.exports.__esModule = true, module.exports["default"] = module.exports), _getPrototypeOf(t);
24970
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t);
24995
24971
  }
24996
24972
  module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
24997
24973
 
24998
24974
  /***/ }),
24999
24975
 
25000
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/inherits.js":
24976
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/inherits.js":
25001
24977
  /*!******************************************************************************************************************!*\
25002
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/inherits.js ***!
24978
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/inherits.js ***!
25003
24979
  \******************************************************************************************************************/
25004
24980
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25005
24981
 
25006
- var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
24982
+ var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
25007
24983
  function _inherits(t, e) {
25008
24984
  if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
25009
24985
  t.prototype = Object.create(e && e.prototype, {
@@ -25020,9 +24996,9 @@ module.exports = _inherits, module.exports.__esModule = true, module.exports["de
25020
24996
 
25021
24997
  /***/ }),
25022
24998
 
25023
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/iterableToArray.js":
24999
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/iterableToArray.js":
25024
25000
  /*!*************************************************************************************************************************!*\
25025
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
25001
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
25026
25002
  \*************************************************************************************************************************/
25027
25003
  /***/ ((module) => {
25028
25004
 
@@ -25033,9 +25009,9 @@ module.exports = _iterableToArray, module.exports.__esModule = true, module.expo
25033
25009
 
25034
25010
  /***/ }),
25035
25011
 
25036
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/nonIterableRest.js":
25012
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/nonIterableRest.js":
25037
25013
  /*!*************************************************************************************************************************!*\
25038
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
25014
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
25039
25015
  \*************************************************************************************************************************/
25040
25016
  /***/ ((module) => {
25041
25017
 
@@ -25046,14 +25022,14 @@ module.exports = _nonIterableRest, module.exports.__esModule = true, module.expo
25046
25022
 
25047
25023
  /***/ }),
25048
25024
 
25049
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
25025
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
25050
25026
  /*!***********************************************************************************************************************************!*\
25051
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
25027
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
25052
25028
  \***********************************************************************************************************************************/
25053
25029
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25054
25030
 
25055
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25056
- var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
25031
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25032
+ var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
25057
25033
  function _possibleConstructorReturn(t, e) {
25058
25034
  if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
25059
25035
  if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
@@ -25063,31 +25039,31 @@ module.exports = _possibleConstructorReturn, module.exports.__esModule = true, m
25063
25039
 
25064
25040
  /***/ }),
25065
25041
 
25066
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
25042
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
25067
25043
  /*!************************************************************************************************************************!*\
25068
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
25044
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
25069
25045
  \************************************************************************************************************************/
25070
25046
  /***/ ((module) => {
25071
25047
 
25072
25048
  function _setPrototypeOf(t, e) {
25073
- return (module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
25049
+ return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
25074
25050
  return t.__proto__ = e, t;
25075
- }, module.exports.__esModule = true, module.exports["default"] = module.exports), _setPrototypeOf(t, e);
25051
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e);
25076
25052
  }
25077
25053
  module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
25078
25054
 
25079
25055
  /***/ }),
25080
25056
 
25081
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toArray.js":
25057
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toArray.js":
25082
25058
  /*!*****************************************************************************************************************!*\
25083
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toArray.js ***!
25059
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toArray.js ***!
25084
25060
  \*****************************************************************************************************************/
25085
25061
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25086
25062
 
25087
- var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
25088
- var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/iterableToArray.js");
25089
- var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
25090
- var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/nonIterableRest.js");
25063
+ var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
25064
+ var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/iterableToArray.js");
25065
+ var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
25066
+ var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/nonIterableRest.js");
25091
25067
  function _toArray(r) {
25092
25068
  return arrayWithHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableRest();
25093
25069
  }
@@ -25095,13 +25071,13 @@ module.exports = _toArray, module.exports.__esModule = true, module.exports["def
25095
25071
 
25096
25072
  /***/ }),
25097
25073
 
25098
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPrimitive.js":
25074
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toPrimitive.js":
25099
25075
  /*!*********************************************************************************************************************!*\
25100
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
25076
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
25101
25077
  \*********************************************************************************************************************/
25102
25078
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25103
25079
 
25104
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25080
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25105
25081
  function toPrimitive(t, r) {
25106
25082
  if ("object" != _typeof(t) || !t) return t;
25107
25083
  var e = t[Symbol.toPrimitive];
@@ -25116,14 +25092,14 @@ module.exports = toPrimitive, module.exports.__esModule = true, module.exports["
25116
25092
 
25117
25093
  /***/ }),
25118
25094
 
25119
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPropertyKey.js":
25095
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toPropertyKey.js":
25120
25096
  /*!***********************************************************************************************************************!*\
25121
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
25097
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
25122
25098
  \***********************************************************************************************************************/
25123
25099
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25124
25100
 
25125
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25126
- var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPrimitive.js");
25101
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25102
+ var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toPrimitive.js");
25127
25103
  function toPropertyKey(t) {
25128
25104
  var i = toPrimitive(t, "string");
25129
25105
  return "symbol" == _typeof(i) ? i : i + "";
@@ -25132,32 +25108,32 @@ module.exports = toPropertyKey, module.exports.__esModule = true, module.exports
25132
25108
 
25133
25109
  /***/ }),
25134
25110
 
25135
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js":
25111
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/typeof.js":
25136
25112
  /*!****************************************************************************************************************!*\
25137
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js ***!
25113
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/typeof.js ***!
25138
25114
  \****************************************************************************************************************/
25139
25115
  /***/ ((module) => {
25140
25116
 
25141
25117
  function _typeof(o) {
25142
25118
  "@babel/helpers - typeof";
25143
25119
 
25144
- return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
25120
+ return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
25145
25121
  return typeof o;
25146
25122
  } : function (o) {
25147
25123
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
25148
- }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
25124
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
25149
25125
  }
25150
25126
  module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
25151
25127
 
25152
25128
  /***/ }),
25153
25129
 
25154
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
25130
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
25155
25131
  /*!************************************************************************************************************************************!*\
25156
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
25132
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
25157
25133
  \************************************************************************************************************************************/
25158
25134
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25159
25135
 
25160
- var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
25136
+ var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
25161
25137
  function _unsupportedIterableToArray(r, a) {
25162
25138
  if (r) {
25163
25139
  if ("string" == typeof r) return arrayLikeToArray(r, a);
@@ -25676,9 +25652,9 @@ function makePromise(maybePromise) {
25676
25652
 
25677
25653
  /***/ }),
25678
25654
 
25679
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
25655
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
25680
25656
  /*!****************************************************************************************************************************!*\
25681
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
25657
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
25682
25658
  \****************************************************************************************************************************/
25683
25659
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25684
25660
 
@@ -25694,9 +25670,9 @@ function _classCallCheck(a, n) {
25694
25670
 
25695
25671
  /***/ }),
25696
25672
 
25697
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
25673
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
25698
25674
  /*!*************************************************************************************************************************!*\
25699
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
25675
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
25700
25676
  \*************************************************************************************************************************/
25701
25677
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25702
25678
 
@@ -25705,7 +25681,7 @@ __webpack_require__.r(__webpack_exports__);
25705
25681
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25706
25682
  /* harmony export */ "default": () => (/* binding */ _createClass)
25707
25683
  /* harmony export */ });
25708
- /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
25684
+ /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
25709
25685
 
25710
25686
  function _defineProperties(e, r) {
25711
25687
  for (var t = 0; t < r.length; t++) {
@@ -25722,9 +25698,9 @@ function _createClass(e, r, t) {
25722
25698
 
25723
25699
  /***/ }),
25724
25700
 
25725
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
25701
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
25726
25702
  /*!*************************************************************************************************************************!*\
25727
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
25703
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
25728
25704
  \*************************************************************************************************************************/
25729
25705
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25730
25706
 
@@ -25733,7 +25709,7 @@ __webpack_require__.r(__webpack_exports__);
25733
25709
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25734
25710
  /* harmony export */ "default": () => (/* binding */ toPrimitive)
25735
25711
  /* harmony export */ });
25736
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
25712
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
25737
25713
 
25738
25714
  function toPrimitive(t, r) {
25739
25715
  if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
@@ -25749,9 +25725,9 @@ function toPrimitive(t, r) {
25749
25725
 
25750
25726
  /***/ }),
25751
25727
 
25752
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
25728
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
25753
25729
  /*!***************************************************************************************************************************!*\
25754
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
25730
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
25755
25731
  \***************************************************************************************************************************/
25756
25732
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25757
25733
 
@@ -25760,8 +25736,8 @@ __webpack_require__.r(__webpack_exports__);
25760
25736
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25761
25737
  /* harmony export */ "default": () => (/* binding */ toPropertyKey)
25762
25738
  /* harmony export */ });
25763
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
25764
- /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
25739
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
25740
+ /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
25765
25741
 
25766
25742
 
25767
25743
  function toPropertyKey(t) {
@@ -25772,9 +25748,9 @@ function toPropertyKey(t) {
25772
25748
 
25773
25749
  /***/ }),
25774
25750
 
25775
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
25751
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
25776
25752
  /*!********************************************************************************************************************!*\
25777
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
25753
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
25778
25754
  \********************************************************************************************************************/
25779
25755
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25780
25756
 
@@ -25865,7 +25841,7 @@ function _typeof(o) {
25865
25841
  /******/
25866
25842
  /************************************************************************/
25867
25843
  var __webpack_exports__ = {};
25868
- // This entry need to be wrapped in an IIFE because it need to be in strict mode.
25844
+ // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
25869
25845
  (() => {
25870
25846
  "use strict";
25871
25847
  var exports = __webpack_exports__;