@itwin/core-i18n 4.5.0-dev.3 → 4.5.0-dev.32

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_13zvjr7880() {
21
- var path = "D:\\vsts_a\\7\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js";
22
- var hash = "ce3eb1d692e5e462a755fc803f9001d22b7b0cb7";
20
+ function cov_qfnpjjo28() {
21
+ var path = "D:\\vsts_b\\183\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js";
22
+ var hash = "846109c726caa747159cd39aede738164109330e";
23
23
  var global = new Function("return this")();
24
24
  var gcv = "__coverage__";
25
25
  var coverageData = {
26
- path: "D:\\vsts_a\\7\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js",
26
+ path: "D:\\vsts_b\\183\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js",
27
27
  statementMap: {
28
28
  "0": {
29
29
  start: {
@@ -2270,13 +2270,13 @@ function cov_13zvjr7880() {
2270
2270
  inputSourceMap: {
2271
2271
  version: 3,
2272
2272
  file: "ITwinLocalization.js",
2273
- sources: ["D:\\vsts_a\\7\\s\\core\\i18n\\src\\ITwinLocalization.ts"],
2273
+ sources: ["D:\\vsts_b\\183\\s\\core\\i18n\\src\\ITwinLocalization.ts"],
2274
2274
  names: [],
2275
2275
  mappings: "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",
2276
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 (e) {\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"]
2277
2277
  },
2278
2278
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
2279
- hash: "ce3eb1d692e5e462a755fc803f9001d22b7b0cb7"
2279
+ hash: "846109c726caa747159cd39aede738164109330e"
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_13zvjr7880() {
2285
2285
  var actualCoverage = coverage[path];
2286
2286
  {
2287
2287
  // @ts-ignore
2288
- cov_13zvjr7880 = function () {
2288
+ cov_qfnpjjo28 = function () {
2289
2289
  return actualCoverage;
2290
2290
  };
2291
2291
  }
2292
2292
  return actualCoverage;
2293
2293
  }
2294
- cov_13zvjr7880();
2295
- var __importDefault = (cov_13zvjr7880().s[0]++, (cov_13zvjr7880().b[0][0]++, this) && (cov_13zvjr7880().b[0][1]++, this.__importDefault) || (cov_13zvjr7880().b[0][2]++, function (mod) {
2296
- cov_13zvjr7880().f[0]++;
2297
- cov_13zvjr7880().s[1]++;
2298
- return (cov_13zvjr7880().b[2][0]++, mod) && (cov_13zvjr7880().b[2][1]++, mod.__esModule) ? (cov_13zvjr7880().b[1][0]++, mod) : (cov_13zvjr7880().b[1][1]++, {
2294
+ cov_qfnpjjo28();
2295
+ var __importDefault = (cov_qfnpjjo28().s[0]++, (cov_qfnpjjo28().b[0][0]++, this) && (cov_qfnpjjo28().b[0][1]++, this.__importDefault) || (cov_qfnpjjo28().b[0][2]++, function (mod) {
2296
+ cov_qfnpjjo28().f[0]++;
2297
+ cov_qfnpjjo28().s[1]++;
2298
+ return (cov_qfnpjjo28().b[2][0]++, mod) && (cov_qfnpjjo28().b[2][1]++, mod.__esModule) ? (cov_qfnpjjo28().b[1][0]++, mod) : (cov_qfnpjjo28().b[1][1]++, {
2299
2299
  "default": mod
2300
2300
  });
2301
2301
  }));
2302
- cov_13zvjr7880().s[2]++;
2302
+ cov_qfnpjjo28().s[2]++;
2303
2303
  Object.defineProperty(exports, "__esModule", ({
2304
2304
  value: true
2305
2305
  }));
2306
- cov_13zvjr7880().s[3]++;
2306
+ cov_qfnpjjo28().s[3]++;
2307
2307
  exports.ITwinLocalization = void 0;
2308
- const i18next_1 = (cov_13zvjr7880().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_13zvjr7880().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_13zvjr7880().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_13zvjr7880().s[7]++, __webpack_require__(/*! @itwin/core-bentley */ "../bentley/lib/esm/core-bentley.js"));
2312
- const DEFAULT_MAX_RETRIES = (cov_13zvjr7880().s[8]++, 1); // a low number prevents wasted time and potential timeouts when requesting localization files throws an error
2308
+ const i18next_1 = (cov_qfnpjjo28().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_qfnpjjo28().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_qfnpjjo28().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_qfnpjjo28().s[7]++, __webpack_require__(/*! @itwin/core-bentley */ "../bentley/lib/esm/core-bentley.js"));
2312
+ const DEFAULT_MAX_RETRIES = (cov_qfnpjjo28().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_13zvjr7880().f[1]++;
2320
- cov_13zvjr7880().s[9]++;
2319
+ cov_qfnpjjo28().f[1]++;
2320
+ cov_qfnpjjo28().s[9]++;
2321
2321
  this._namespaces = new Map();
2322
- cov_13zvjr7880().s[10]++;
2322
+ cov_qfnpjjo28().s[10]++;
2323
2323
  this.i18next = i18next_1.default.createInstance();
2324
- cov_13zvjr7880().s[11]++;
2324
+ cov_qfnpjjo28().s[11]++;
2325
2325
  this._backendOptions = {
2326
- loadPath: (cov_13zvjr7880().b[3][0]++, options?.urlTemplate) ?? (cov_13zvjr7880().b[3][1]++, "locales/{{lng}}/{{ns}}.json"),
2326
+ loadPath: (cov_qfnpjjo28().b[3][0]++, options?.urlTemplate) ?? (cov_qfnpjjo28().b[3][1]++, "locales/{{lng}}/{{ns}}.json"),
2327
2327
  crossDomain: true,
2328
2328
  ...options?.backendHttpOptions
2329
2329
  };
2330
- cov_13zvjr7880().s[12]++;
2330
+ cov_qfnpjjo28().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_13zvjr7880().s[13]++;
2337
+ cov_qfnpjjo28().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_13zvjr7880().s[14]++;
2349
- this.i18next.use((cov_13zvjr7880().b[4][0]++, options?.detectorPlugin) ?? (cov_13zvjr7880().b[4][1]++, i18next_browser_languagedetector_1.default)).use((cov_13zvjr7880().b[5][0]++, options?.backendPlugin) ?? (cov_13zvjr7880().b[5][1]++, i18next_http_backend_1.default)).use(TranslationLogger);
2348
+ cov_qfnpjjo28().s[14]++;
2349
+ this.i18next.use((cov_qfnpjjo28().b[4][0]++, options?.detectorPlugin) ?? (cov_qfnpjjo28().b[4][1]++, i18next_browser_languagedetector_1.default)).use((cov_qfnpjjo28().b[5][0]++, options?.backendPlugin) ?? (cov_qfnpjjo28().b[5][1]++, i18next_http_backend_1.default)).use(TranslationLogger);
2350
2350
  }
2351
2351
  async initialize(namespaces) {
2352
- cov_13zvjr7880().f[2]++;
2352
+ cov_qfnpjjo28().f[2]++;
2353
2353
  // Also consider namespaces passed into constructor
2354
- const initNamespaces = (cov_13zvjr7880().s[15]++, [(cov_13zvjr7880().b[6][0]++, this._initOptions.ns) || (cov_13zvjr7880().b[6][1]++, [])].flat());
2355
- const combinedNamespaces = (cov_13zvjr7880().s[16]++, new Set([...namespaces, ...initNamespaces])); // without duplicates
2356
- const defaultNamespace = (cov_13zvjr7880().s[17]++, (cov_13zvjr7880().b[7][0]++, this._initOptions.defaultNS) ?? (cov_13zvjr7880().b[7][1]++, namespaces[0]));
2357
- cov_13zvjr7880().s[18]++;
2354
+ const initNamespaces = (cov_qfnpjjo28().s[15]++, [(cov_qfnpjjo28().b[6][0]++, this._initOptions.ns) || (cov_qfnpjjo28().b[6][1]++, [])].flat());
2355
+ const combinedNamespaces = (cov_qfnpjjo28().s[16]++, new Set([...namespaces, ...initNamespaces])); // without duplicates
2356
+ const defaultNamespace = (cov_qfnpjjo28().s[17]++, (cov_qfnpjjo28().b[7][0]++, this._initOptions.defaultNS) ?? (cov_qfnpjjo28().b[7][1]++, namespaces[0]));
2357
+ cov_qfnpjjo28().s[18]++;
2358
2358
  if (defaultNamespace) {
2359
- cov_13zvjr7880().b[8][0]++;
2360
- cov_13zvjr7880().s[19]++;
2359
+ cov_qfnpjjo28().b[8][0]++;
2360
+ cov_qfnpjjo28().s[19]++;
2361
2361
  combinedNamespaces.add(defaultNamespace);
2362
2362
  } else {
2363
- cov_13zvjr7880().b[8][1]++;
2363
+ cov_qfnpjjo28().b[8][1]++;
2364
2364
  } // Make sure default namespace is in namespaces list
2365
- const initOptions = (cov_13zvjr7880().s[20]++, {
2365
+ const initOptions = (cov_qfnpjjo28().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_13zvjr7880().s[21]++;
2371
+ cov_qfnpjjo28().s[21]++;
2372
2372
  if (false) {} else {
2373
- cov_13zvjr7880().b[9][1]++;
2373
+ cov_qfnpjjo28().b[9][1]++;
2374
2374
  }
2375
- const initPromise = (cov_13zvjr7880().s[23]++, this.i18next.init(initOptions));
2376
- cov_13zvjr7880().s[24]++;
2375
+ const initPromise = (cov_qfnpjjo28().s[23]++, this.i18next.init(initOptions));
2376
+ cov_qfnpjjo28().s[24]++;
2377
2377
  for (const ns of namespaces) {
2378
- cov_13zvjr7880().s[25]++;
2378
+ cov_qfnpjjo28().s[25]++;
2379
2379
  this._namespaces.set(ns, initPromise);
2380
2380
  }
2381
- cov_13zvjr7880().s[26]++;
2381
+ cov_qfnpjjo28().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_13zvjr7880().f[3]++;
2402
- cov_13zvjr7880().s[27]++;
2401
+ cov_qfnpjjo28().f[3]++;
2402
+ cov_qfnpjjo28().s[27]++;
2403
2403
  return line.replace(/\%\{(.+?)\}/g, (_match, tag) => {
2404
- cov_13zvjr7880().f[4]++;
2405
- cov_13zvjr7880().s[28]++;
2404
+ cov_qfnpjjo28().f[4]++;
2405
+ cov_qfnpjjo28().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_13zvjr7880().f[5]++;
2424
- cov_13zvjr7880().s[29]++;
2425
- if ((cov_13zvjr7880().b[11][0]++, options?.returnDetails) || (cov_13zvjr7880().b[11][1]++, options?.returnObjects)) {
2426
- cov_13zvjr7880().b[10][0]++;
2427
- cov_13zvjr7880().s[30]++;
2423
+ cov_qfnpjjo28().f[5]++;
2424
+ cov_qfnpjjo28().s[29]++;
2425
+ if ((cov_qfnpjjo28().b[11][0]++, options?.returnDetails) || (cov_qfnpjjo28().b[11][1]++, options?.returnObjects)) {
2426
+ cov_qfnpjjo28().b[10][0]++;
2427
+ cov_qfnpjjo28().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_13zvjr7880().b[10][1]++;
2430
+ cov_qfnpjjo28().b[10][1]++;
2431
2431
  }
2432
- const value = (cov_13zvjr7880().s[31]++, this.i18next.t(key, options));
2433
- cov_13zvjr7880().s[32]++;
2432
+ const value = (cov_qfnpjjo28().s[31]++, this.i18next.t(key, options));
2433
+ cov_qfnpjjo28().s[32]++;
2434
2434
  if (typeof value !== "string") {
2435
- cov_13zvjr7880().b[12][0]++;
2436
- cov_13zvjr7880().s[33]++;
2435
+ cov_qfnpjjo28().b[12][0]++;
2436
+ cov_qfnpjjo28().s[33]++;
2437
2437
  throw new Error("Translation key(s) string not found");
2438
2438
  } else {
2439
- cov_13zvjr7880().b[12][1]++;
2439
+ cov_qfnpjjo28().b[12][1]++;
2440
2440
  }
2441
- cov_13zvjr7880().s[34]++;
2441
+ cov_qfnpjjo28().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_13zvjr7880().f[6]++;
2454
- let fullKey = (cov_13zvjr7880().s[35]++, "");
2455
- cov_13zvjr7880().s[36]++;
2453
+ cov_qfnpjjo28().f[6]++;
2454
+ let fullKey = (cov_qfnpjjo28().s[35]++, "");
2455
+ cov_qfnpjjo28().s[36]++;
2456
2456
  if (typeof key === "string") {
2457
- cov_13zvjr7880().b[13][0]++;
2458
- cov_13zvjr7880().s[37]++;
2457
+ cov_qfnpjjo28().b[13][0]++;
2458
+ cov_qfnpjjo28().s[37]++;
2459
2459
  fullKey = `${namespace}:${key}`;
2460
2460
  } else {
2461
- cov_13zvjr7880().b[13][1]++;
2462
- cov_13zvjr7880().s[38]++;
2461
+ cov_qfnpjjo28().b[13][1]++;
2462
+ cov_qfnpjjo28().s[38]++;
2463
2463
  fullKey = key.map(subKey => {
2464
- cov_13zvjr7880().f[7]++;
2465
- cov_13zvjr7880().s[39]++;
2464
+ cov_qfnpjjo28().f[7]++;
2465
+ cov_qfnpjjo28().s[39]++;
2466
2466
  return `${namespace}:${subKey}`;
2467
2467
  });
2468
2468
  }
2469
- cov_13zvjr7880().s[40]++;
2469
+ cov_qfnpjjo28().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_13zvjr7880().f[8]++;
2481
- cov_13zvjr7880().s[41]++;
2482
- if ((cov_13zvjr7880().b[15][0]++, options?.returnDetails) || (cov_13zvjr7880().b[15][1]++, options?.returnObjects)) {
2483
- cov_13zvjr7880().b[14][0]++;
2484
- cov_13zvjr7880().s[42]++;
2480
+ cov_qfnpjjo28().f[8]++;
2481
+ cov_qfnpjjo28().s[41]++;
2482
+ if ((cov_qfnpjjo28().b[15][0]++, options?.returnDetails) || (cov_qfnpjjo28().b[15][1]++, options?.returnObjects)) {
2483
+ cov_qfnpjjo28().b[14][0]++;
2484
+ cov_qfnpjjo28().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_13zvjr7880().b[14][1]++;
2487
+ cov_qfnpjjo28().b[14][1]++;
2488
2488
  }
2489
- cov_13zvjr7880().s[43]++;
2489
+ cov_qfnpjjo28().s[43]++;
2490
2490
  options = {
2491
2491
  ...options,
2492
2492
  ns: namespace // ensure namespace argument is used
2493
2493
  };
2494
- const en = (cov_13zvjr7880().s[44]++, this.i18next.getFixedT("en", namespace));
2495
- const str = (cov_13zvjr7880().s[45]++, en(key, options));
2496
- cov_13zvjr7880().s[46]++;
2494
+ const en = (cov_qfnpjjo28().s[44]++, this.i18next.getFixedT("en", namespace));
2495
+ const str = (cov_qfnpjjo28().s[45]++, en(key, options));
2496
+ cov_qfnpjjo28().s[46]++;
2497
2497
  if (typeof str !== "string") {
2498
- cov_13zvjr7880().b[16][0]++;
2499
- cov_13zvjr7880().s[47]++;
2498
+ cov_qfnpjjo28().b[16][0]++;
2499
+ cov_qfnpjjo28().s[47]++;
2500
2500
  throw new Error("Translation key(s) not found");
2501
2501
  } else {
2502
- cov_13zvjr7880().b[16][1]++;
2502
+ cov_qfnpjjo28().b[16][1]++;
2503
2503
  }
2504
- cov_13zvjr7880().s[48]++;
2504
+ cov_qfnpjjo28().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_13zvjr7880().f[9]++;
2513
- cov_13zvjr7880().s[49]++;
2512
+ cov_qfnpjjo28().f[9]++;
2513
+ cov_qfnpjjo28().s[49]++;
2514
2514
  return this._namespaces.get(name);
2515
2515
  }
2516
2516
  /** @internal */
2517
2517
  getLanguageList() {
2518
- cov_13zvjr7880().f[10]++;
2519
- cov_13zvjr7880().s[50]++;
2518
+ cov_qfnpjjo28().f[10]++;
2519
+ cov_qfnpjjo28().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_13zvjr7880().f[11]++;
2525
- cov_13zvjr7880().s[51]++;
2524
+ cov_qfnpjjo28().f[11]++;
2525
+ cov_qfnpjjo28().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,123 +2534,123 @@ class ITwinLocalization {
2534
2534
  * @public
2535
2535
  */
2536
2536
  async registerNamespace(name) {
2537
- cov_13zvjr7880().f[12]++;
2538
- const existing = (cov_13zvjr7880().s[52]++, this._namespaces.get(name));
2539
- cov_13zvjr7880().s[53]++;
2537
+ cov_qfnpjjo28().f[12]++;
2538
+ const existing = (cov_qfnpjjo28().s[52]++, this._namespaces.get(name));
2539
+ cov_qfnpjjo28().s[53]++;
2540
2540
  if (existing !== undefined) {
2541
- cov_13zvjr7880().b[17][0]++;
2542
- cov_13zvjr7880().s[54]++;
2541
+ cov_qfnpjjo28().b[17][0]++;
2542
+ cov_qfnpjjo28().s[54]++;
2543
2543
  return existing;
2544
2544
  } else {
2545
- cov_13zvjr7880().b[17][1]++;
2545
+ cov_qfnpjjo28().b[17][1]++;
2546
2546
  }
2547
- const theReadPromise = (cov_13zvjr7880().s[55]++, new Promise(resolve => {
2548
- cov_13zvjr7880().f[13]++;
2549
- cov_13zvjr7880().s[56]++;
2547
+ const theReadPromise = (cov_qfnpjjo28().s[55]++, new Promise(resolve => {
2548
+ cov_qfnpjjo28().f[13]++;
2549
+ cov_qfnpjjo28().s[56]++;
2550
2550
  // eslint-disable-next-line @typescript-eslint/no-floating-promises
2551
2551
  this.i18next.loadNamespaces(name, err => {
2552
- cov_13zvjr7880().f[14]++;
2553
- cov_13zvjr7880().s[57]++;
2552
+ cov_qfnpjjo28().f[14]++;
2553
+ cov_qfnpjjo28().s[57]++;
2554
2554
  if (!err) {
2555
- cov_13zvjr7880().b[18][0]++;
2556
- cov_13zvjr7880().s[58]++;
2555
+ cov_qfnpjjo28().b[18][0]++;
2556
+ cov_qfnpjjo28().s[58]++;
2557
2557
  return resolve();
2558
2558
  } else {
2559
- cov_13zvjr7880().b[18][1]++;
2559
+ cov_qfnpjjo28().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_13zvjr7880().s[59]++, this.getLanguageList().map(thisLocale => {
2567
- cov_13zvjr7880().f[15]++;
2568
- cov_13zvjr7880().s[60]++;
2566
+ let locales = (cov_qfnpjjo28().s[59]++, this.getLanguageList().map(thisLocale => {
2567
+ cov_qfnpjjo28().f[15]++;
2568
+ cov_qfnpjjo28().s[60]++;
2569
2569
  return `/${thisLocale}/`;
2570
2570
  }));
2571
- cov_13zvjr7880().s[61]++;
2571
+ cov_qfnpjjo28().s[61]++;
2572
2572
  try {
2573
- cov_13zvjr7880().s[62]++;
2573
+ cov_qfnpjjo28().s[62]++;
2574
2574
  for (const thisError of err) {
2575
- cov_13zvjr7880().s[63]++;
2575
+ cov_qfnpjjo28().s[63]++;
2576
2576
  if (typeof thisError === "string") {
2577
- cov_13zvjr7880().b[19][0]++;
2578
- cov_13zvjr7880().s[64]++;
2577
+ cov_qfnpjjo28().b[19][0]++;
2578
+ cov_qfnpjjo28().s[64]++;
2579
2579
  locales = locales.filter(thisLocale => {
2580
- cov_13zvjr7880().f[16]++;
2581
- cov_13zvjr7880().s[65]++;
2580
+ cov_qfnpjjo28().f[16]++;
2581
+ cov_qfnpjjo28().s[65]++;
2582
2582
  return !thisError.includes(thisLocale);
2583
2583
  });
2584
2584
  } else {
2585
- cov_13zvjr7880().b[19][1]++;
2585
+ cov_qfnpjjo28().b[19][1]++;
2586
2586
  }
2587
2587
  }
2588
2588
  } catch (e) {
2589
- cov_13zvjr7880().s[66]++;
2589
+ cov_qfnpjjo28().s[66]++;
2590
2590
  locales = [];
2591
2591
  }
2592
2592
  // if we removed every locale from the array, it wasn't loaded.
2593
- cov_13zvjr7880().s[67]++;
2593
+ cov_qfnpjjo28().s[67]++;
2594
2594
  if (locales.length === 0) {
2595
- cov_13zvjr7880().b[20][0]++;
2596
- cov_13zvjr7880().s[68]++;
2595
+ cov_qfnpjjo28().b[20][0]++;
2596
+ cov_qfnpjjo28().s[68]++;
2597
2597
  core_bentley_1.Logger.logError("i18n", `No resources for namespace ${name} could be loaded`);
2598
2598
  } else {
2599
- cov_13zvjr7880().b[20][1]++;
2599
+ cov_qfnpjjo28().b[20][1]++;
2600
2600
  }
2601
- cov_13zvjr7880().s[69]++;
2601
+ cov_qfnpjjo28().s[69]++;
2602
2602
  resolve();
2603
2603
  });
2604
2604
  }));
2605
- cov_13zvjr7880().s[70]++;
2605
+ cov_qfnpjjo28().s[70]++;
2606
2606
  this._namespaces.set(name, theReadPromise);
2607
- cov_13zvjr7880().s[71]++;
2607
+ cov_qfnpjjo28().s[71]++;
2608
2608
  return theReadPromise;
2609
2609
  }
2610
2610
  /** @internal */
2611
2611
  unregisterNamespace(name) {
2612
- cov_13zvjr7880().f[17]++;
2613
- cov_13zvjr7880().s[72]++;
2612
+ cov_qfnpjjo28().f[17]++;
2613
+ cov_qfnpjjo28().s[72]++;
2614
2614
  this._namespaces.delete(name);
2615
2615
  }
2616
2616
  }
2617
- cov_13zvjr7880().s[73]++;
2617
+ cov_qfnpjjo28().s[73]++;
2618
2618
  exports.ITwinLocalization = ITwinLocalization;
2619
2619
  class TranslationLogger {
2620
2620
  log(args) {
2621
- cov_13zvjr7880().f[18]++;
2622
- cov_13zvjr7880().s[74]++;
2621
+ cov_qfnpjjo28().f[18]++;
2622
+ cov_qfnpjjo28().s[74]++;
2623
2623
  core_bentley_1.Logger.logInfo("i18n", this.createLogMessage(args));
2624
2624
  }
2625
2625
  warn(args) {
2626
- cov_13zvjr7880().f[19]++;
2627
- cov_13zvjr7880().s[75]++;
2626
+ cov_qfnpjjo28().f[19]++;
2627
+ cov_qfnpjjo28().s[75]++;
2628
2628
  core_bentley_1.Logger.logWarning("i18n", this.createLogMessage(args));
2629
2629
  }
2630
2630
  error(args) {
2631
- cov_13zvjr7880().f[20]++;
2632
- cov_13zvjr7880().s[76]++;
2631
+ cov_qfnpjjo28().f[20]++;
2632
+ cov_qfnpjjo28().s[76]++;
2633
2633
  core_bentley_1.Logger.logError("i18n", this.createLogMessage(args));
2634
2634
  }
2635
2635
  createLogMessage(args) {
2636
- cov_13zvjr7880().f[21]++;
2637
- let message = (cov_13zvjr7880().s[77]++, args[0]);
2638
- cov_13zvjr7880().s[78]++;
2639
- for (let i = (cov_13zvjr7880().s[79]++, 1); i < args.length; ++i) {
2640
- cov_13zvjr7880().s[80]++;
2636
+ cov_qfnpjjo28().f[21]++;
2637
+ let message = (cov_qfnpjjo28().s[77]++, args[0]);
2638
+ cov_qfnpjjo28().s[78]++;
2639
+ for (let i = (cov_qfnpjjo28().s[79]++, 1); i < args.length; ++i) {
2640
+ cov_qfnpjjo28().s[80]++;
2641
2641
  if (typeof args[i] === "string") {
2642
- cov_13zvjr7880().b[21][0]++;
2643
- cov_13zvjr7880().s[81]++;
2642
+ cov_qfnpjjo28().b[21][0]++;
2643
+ cov_qfnpjjo28().s[81]++;
2644
2644
  message += `\n ${args[i]}`;
2645
2645
  } else {
2646
- cov_13zvjr7880().b[21][1]++;
2646
+ cov_qfnpjjo28().b[21][1]++;
2647
2647
  }
2648
2648
  }
2649
- cov_13zvjr7880().s[82]++;
2649
+ cov_qfnpjjo28().s[82]++;
2650
2650
  return message;
2651
2651
  }
2652
2652
  }
2653
- cov_13zvjr7880().s[83]++;
2653
+ cov_qfnpjjo28().s[83]++;
2654
2654
  TranslationLogger.type = "logger";
2655
2655
 
2656
2656
  /***/ }),
@@ -13464,8 +13464,8 @@ __webpack_require__.r(__webpack_exports__);
13464
13464
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13465
13465
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
13466
13466
  /* harmony export */ });
13467
- /* 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.23.8/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
13468
- /* 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.23.8/node_modules/@babel/runtime/helpers/esm/createClass.js");
13467
+ /* 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.24.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
13468
+ /* 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.24.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
13469
13469
 
13470
13470
 
13471
13471
 
@@ -13893,15 +13893,15 @@ Browser.type = 'languageDetector';
13893
13893
  "use strict";
13894
13894
 
13895
13895
 
13896
- var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/typeof.js");
13897
- var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/classCallCheck.js");
13898
- var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/createClass.js");
13899
- var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
13900
- var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/inherits.js");
13901
- var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
13902
- var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
13903
- var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/defineProperty.js");
13904
- var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toArray.js");
13896
+ var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/typeof.js");
13897
+ var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/classCallCheck.js");
13898
+ var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/createClass.js");
13899
+ var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
13900
+ var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/inherits.js");
13901
+ var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
13902
+ var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
13903
+ var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/defineProperty.js");
13904
+ var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/toArray.js");
13905
13905
 
13906
13906
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13907
13907
 
@@ -18561,6 +18561,8 @@ class BeEventList {
18561
18561
  "use strict";
18562
18562
  __webpack_require__.r(__webpack_exports__);
18563
18563
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18564
+ /* harmony export */ "DbConflictCause": () => (/* binding */ DbConflictCause),
18565
+ /* harmony export */ "DbConflictResolution": () => (/* binding */ DbConflictResolution),
18564
18566
  /* harmony export */ "DbOpcode": () => (/* binding */ DbOpcode),
18565
18567
  /* harmony export */ "DbResult": () => (/* binding */ DbResult),
18566
18568
  /* harmony export */ "OpenMode": () => (/* binding */ OpenMode)
@@ -18592,6 +18594,29 @@ var DbOpcode;
18592
18594
  /** Some columns of an existing row were updated. */
18593
18595
  DbOpcode[DbOpcode["Update"] = 23] = "Update";
18594
18596
  })(DbOpcode || (DbOpcode = {}));
18597
+ /** Cause of conflict when applying a changeset
18598
+ * @internal
18599
+ */
18600
+ var DbConflictCause;
18601
+ (function (DbConflictCause) {
18602
+ DbConflictCause[DbConflictCause["Data"] = 1] = "Data";
18603
+ DbConflictCause[DbConflictCause["NotFound"] = 2] = "NotFound";
18604
+ DbConflictCause[DbConflictCause["Conflict"] = 3] = "Conflict";
18605
+ DbConflictCause[DbConflictCause["Constraint"] = 4] = "Constraint";
18606
+ DbConflictCause[DbConflictCause["ForeignKey"] = 5] = "ForeignKey";
18607
+ })(DbConflictCause || (DbConflictCause = {}));
18608
+ /** Conflict resolution strategy
18609
+ * @internal
18610
+ */
18611
+ var DbConflictResolution;
18612
+ (function (DbConflictResolution) {
18613
+ /** Skip incoming change */
18614
+ DbConflictResolution[DbConflictResolution["Skip"] = 0] = "Skip";
18615
+ /** Replace local row with incoming changed row */
18616
+ DbConflictResolution[DbConflictResolution["Replace"] = 1] = "Replace";
18617
+ /** Abort apply changeset */
18618
+ DbConflictResolution[DbConflictResolution["Abort"] = 2] = "Abort";
18619
+ })(DbConflictResolution || (DbConflictResolution = {}));
18595
18620
  /** Values for return codes from BeSQLite functions. Consult SQLite documentation for further explanations.
18596
18621
  * @public
18597
18622
  */
@@ -18870,6 +18895,7 @@ var IModelStatus;
18870
18895
  IModelStatus[IModelStatus["NotRegistered"] = 65605] = "NotRegistered";
18871
18896
  IModelStatus[IModelStatus["FunctionNotFound"] = 65606] = "FunctionNotFound";
18872
18897
  IModelStatus[IModelStatus["NoActiveCommand"] = 65607] = "NoActiveCommand";
18898
+ IModelStatus[IModelStatus["Aborted"] = 65608] = "Aborted";
18873
18899
  })(IModelStatus || (IModelStatus = {}));
18874
18900
  /** Error statuses produced by various briefcase operations, typically encountered as the `errorNumber` of an [IModelError]($common).
18875
18901
  * @public
@@ -19403,7 +19429,6 @@ class BentleyError extends Error {
19403
19429
  case GeoServiceStatus.CSMapError: return "CSMap error";
19404
19430
  case GeoServiceStatus.Pending: return "Pending";
19405
19431
  case RealityDataStatus.InvalidData: return "Invalid or unknown data";
19406
- case IModelStatus.Success:
19407
19432
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_OK:
19408
19433
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ROW:
19409
19434
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_DONE:
@@ -21930,6 +21955,14 @@ var LogLevel;
21930
21955
  * @public
21931
21956
  */
21932
21957
  class Logger {
21958
+ /** @internal */
21959
+ static get categoryFilter() {
21960
+ return { ...Logger._categoryFilter };
21961
+ }
21962
+ /** @internal */
21963
+ static get minLevel() {
21964
+ return Logger._minLevel;
21965
+ }
21933
21966
  /** Initialize the logger streams. Should be called at application initialization time. */
21934
21967
  static initialize(logError, logWarning, logInfo, logTrace) {
21935
21968
  Logger._logError = logError;
@@ -21969,7 +22002,7 @@ class Logger {
21969
22002
  * specified category should be displayed.
21970
22003
  */
21971
22004
  static setLevel(category, minLevel) {
21972
- Logger._categoryFilter.set(category, minLevel);
22005
+ Logger._categoryFilter[category] = minLevel;
21973
22006
  this.logLevelChangedFn?.();
21974
22007
  }
21975
22008
  /** Interpret a string as the name of a LogLevel */
@@ -22026,7 +22059,7 @@ class Logger {
22026
22059
  /** Get the minimum logging level for the specified category. */
22027
22060
  static getLevel(category) {
22028
22061
  // Prefer the level set for this category specifically
22029
- const minLevelForThisCategory = Logger._categoryFilter.get(category);
22062
+ const minLevelForThisCategory = Logger._categoryFilter[category];
22030
22063
  if (minLevelForThisCategory !== undefined)
22031
22064
  return minLevelForThisCategory;
22032
22065
  // Fall back on the level set for the parent of this category.
@@ -22045,7 +22078,7 @@ class Logger {
22045
22078
  /** Turns off all category level filters previously defined with [[Logger.setLevel]].
22046
22079
  */
22047
22080
  static turnOffCategories() {
22048
- Logger._categoryFilter.clear();
22081
+ Logger._categoryFilter = {};
22049
22082
  }
22050
22083
  /** Check if messages in the specified category should be displayed at this level of severity. */
22051
22084
  static isEnabled(category, level) {
@@ -22065,15 +22098,12 @@ class Logger {
22065
22098
  const stack = Logger.logExceptionCallstacks ? `\n${_BentleyError__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorStack(err)}` : "";
22066
22099
  return _BentleyError__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorMessage(err) + stack;
22067
22100
  }
22068
- /** Log the specified exception. The special "ExceptionType" property will be added as metadata,
22069
- * in addition to any other metadata that may be supplied by the caller, unless the
22070
- * metadata supplied by the caller already includes this property.
22101
+ /** Log the specified exception. The special "ExceptionType" property will be added as metadata.
22071
22102
  * @param category The category of the message.
22072
22103
  * @param err The exception object.
22073
22104
  * @param log The logger output function to use - defaults to Logger.logError
22074
- * @param metaData Optional data for the message
22075
22105
  */
22076
- static logException(category, err, log = (_category, message) => Logger.logError(_category, message)) {
22106
+ static logException(category, err, log = (_category, message, metaData) => Logger.logError(_category, message, metaData)) {
22077
22107
  log(category, Logger.getExceptionMessage(err), () => {
22078
22108
  return { ..._BentleyError__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorMetadata(err), exceptionType: err.constructor.name };
22079
22109
  });
@@ -22106,8 +22136,7 @@ class Logger {
22106
22136
  Logger._logTrace(category, message, metaData);
22107
22137
  }
22108
22138
  }
22109
- Logger._categoryFilter = new Map(); // do not change the name of this member, it is referenced directly from node addon
22110
- Logger._minLevel = undefined; // do not change the name of this member, it is referenced directly from node addon
22139
+ Logger._categoryFilter = {};
22111
22140
  /** Should the call stack be included when an exception is logged? */
22112
22141
  Logger.logExceptionCallstacks = false;
22113
22142
  /** All static metadata is combined with per-call metadata and stringified in every log message.
@@ -23244,7 +23273,10 @@ class StatusCategory {
23244
23273
  return category;
23245
23274
  }
23246
23275
  }
23247
- return lookupCategory(error);
23276
+ const errorNumber = error.errorNumber;
23277
+ if (typeof errorNumber === "number")
23278
+ return lookupHttpStatusCategory(errorNumber);
23279
+ return new UnknownError();
23248
23280
  }
23249
23281
  }
23250
23282
  StatusCategory.handlers = new Set();
@@ -23480,8 +23512,10 @@ class UnknownError extends HTTP.InternalServerError {
23480
23512
  }
23481
23513
  class NotImplemented extends HTTP.NotImplemented {
23482
23514
  }
23483
- function lookupCategory(error) {
23484
- switch (error.errorNumber) {
23515
+ class Aborted extends HTTP.BadRequest {
23516
+ }
23517
+ function lookupHttpStatusCategory(statusCode) {
23518
+ switch (statusCode) {
23485
23519
  case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.SUCCESS: return new Success();
23486
23520
  case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR: return new UnknownError();
23487
23521
  case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.Success: return new Success();
@@ -23555,6 +23589,7 @@ function lookupCategory(error) {
23555
23589
  case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.NotRegistered: return new NotImplemented();
23556
23590
  case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.FunctionNotFound: return new NotImplemented();
23557
23591
  case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.NoActiveCommand: return new StateViolation();
23592
+ case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.Aborted: return new Aborted();
23558
23593
  case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.BriefcaseStatus.CannotAcquire: return new OperationFailed();
23559
23594
  case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.BriefcaseStatus.CannotDownload: return new OperationFailed();
23560
23595
  case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.BriefcaseStatus.CannotUpload: return new OperationFailed();
@@ -24723,6 +24758,8 @@ __webpack_require__.r(__webpack_exports__);
24723
24758
  /* harmony export */ "ByteStream": () => (/* reexport safe */ _ByteStream__WEBPACK_IMPORTED_MODULE_7__.ByteStream),
24724
24759
  /* harmony export */ "ChangeSetStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.ChangeSetStatus),
24725
24760
  /* harmony export */ "CompressedId64Set": () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.CompressedId64Set),
24761
+ /* harmony export */ "DbConflictCause": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbConflictCause),
24762
+ /* harmony export */ "DbConflictResolution": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbConflictResolution),
24726
24763
  /* harmony export */ "DbOpcode": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbOpcode),
24727
24764
  /* harmony export */ "DbResult": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbResult),
24728
24765
  /* harmony export */ "Dictionary": () => (/* reexport safe */ _Dictionary__WEBPACK_IMPORTED_MODULE_11__.Dictionary),
@@ -24981,9 +25018,9 @@ function partitionArray(array, criterion) {
24981
25018
 
24982
25019
  /***/ }),
24983
25020
 
24984
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
25021
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
24985
25022
  /*!**************************************************************************************************************************!*\
24986
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
25023
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
24987
25024
  \**************************************************************************************************************************/
24988
25025
  /***/ ((module) => {
24989
25026
 
@@ -24996,9 +25033,9 @@ module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exp
24996
25033
 
24997
25034
  /***/ }),
24998
25035
 
24999
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
25036
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
25000
25037
  /*!************************************************************************************************************************!*\
25001
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
25038
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
25002
25039
  \************************************************************************************************************************/
25003
25040
  /***/ ((module) => {
25004
25041
 
@@ -25009,9 +25046,9 @@ module.exports = _arrayWithHoles, module.exports.__esModule = true, module.expor
25009
25046
 
25010
25047
  /***/ }),
25011
25048
 
25012
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
25049
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
25013
25050
  /*!*******************************************************************************************************************************!*\
25014
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
25051
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
25015
25052
  \*******************************************************************************************************************************/
25016
25053
  /***/ ((module) => {
25017
25054
 
@@ -25025,9 +25062,9 @@ module.exports = _assertThisInitialized, module.exports.__esModule = true, modul
25025
25062
 
25026
25063
  /***/ }),
25027
25064
 
25028
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/classCallCheck.js":
25065
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/classCallCheck.js":
25029
25066
  /*!************************************************************************************************************************!*\
25030
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
25067
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
25031
25068
  \************************************************************************************************************************/
25032
25069
  /***/ ((module) => {
25033
25070
 
@@ -25040,13 +25077,13 @@ module.exports = _classCallCheck, module.exports.__esModule = true, module.expor
25040
25077
 
25041
25078
  /***/ }),
25042
25079
 
25043
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/createClass.js":
25080
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/createClass.js":
25044
25081
  /*!*********************************************************************************************************************!*\
25045
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/createClass.js ***!
25082
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/createClass.js ***!
25046
25083
  \*********************************************************************************************************************/
25047
25084
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25048
25085
 
25049
- var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPropertyKey.js");
25086
+ var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/toPropertyKey.js");
25050
25087
  function _defineProperties(target, props) {
25051
25088
  for (var i = 0; i < props.length; i++) {
25052
25089
  var descriptor = props[i];
@@ -25068,13 +25105,13 @@ module.exports = _createClass, module.exports.__esModule = true, module.exports[
25068
25105
 
25069
25106
  /***/ }),
25070
25107
 
25071
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/defineProperty.js":
25108
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/defineProperty.js":
25072
25109
  /*!************************************************************************************************************************!*\
25073
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/defineProperty.js ***!
25110
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/defineProperty.js ***!
25074
25111
  \************************************************************************************************************************/
25075
25112
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25076
25113
 
25077
- var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPropertyKey.js");
25114
+ var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/toPropertyKey.js");
25078
25115
  function _defineProperty(obj, key, value) {
25079
25116
  key = toPropertyKey(key);
25080
25117
  if (key in obj) {
@@ -25093,9 +25130,9 @@ module.exports = _defineProperty, module.exports.__esModule = true, module.expor
25093
25130
 
25094
25131
  /***/ }),
25095
25132
 
25096
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
25133
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
25097
25134
  /*!************************************************************************************************************************!*\
25098
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
25135
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
25099
25136
  \************************************************************************************************************************/
25100
25137
  /***/ ((module) => {
25101
25138
 
@@ -25109,13 +25146,13 @@ module.exports = _getPrototypeOf, module.exports.__esModule = true, module.expor
25109
25146
 
25110
25147
  /***/ }),
25111
25148
 
25112
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/inherits.js":
25149
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/inherits.js":
25113
25150
  /*!******************************************************************************************************************!*\
25114
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/inherits.js ***!
25151
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/inherits.js ***!
25115
25152
  \******************************************************************************************************************/
25116
25153
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25117
25154
 
25118
- var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
25155
+ var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
25119
25156
  function _inherits(subClass, superClass) {
25120
25157
  if (typeof superClass !== "function" && superClass !== null) {
25121
25158
  throw new TypeError("Super expression must either be null or a function");
@@ -25136,9 +25173,9 @@ module.exports = _inherits, module.exports.__esModule = true, module.exports["de
25136
25173
 
25137
25174
  /***/ }),
25138
25175
 
25139
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/iterableToArray.js":
25176
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/iterableToArray.js":
25140
25177
  /*!*************************************************************************************************************************!*\
25141
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
25178
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
25142
25179
  \*************************************************************************************************************************/
25143
25180
  /***/ ((module) => {
25144
25181
 
@@ -25149,9 +25186,9 @@ module.exports = _iterableToArray, module.exports.__esModule = true, module.expo
25149
25186
 
25150
25187
  /***/ }),
25151
25188
 
25152
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/nonIterableRest.js":
25189
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/nonIterableRest.js":
25153
25190
  /*!*************************************************************************************************************************!*\
25154
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
25191
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
25155
25192
  \*************************************************************************************************************************/
25156
25193
  /***/ ((module) => {
25157
25194
 
@@ -25162,14 +25199,14 @@ module.exports = _nonIterableRest, module.exports.__esModule = true, module.expo
25162
25199
 
25163
25200
  /***/ }),
25164
25201
 
25165
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
25202
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
25166
25203
  /*!***********************************************************************************************************************************!*\
25167
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
25204
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
25168
25205
  \***********************************************************************************************************************************/
25169
25206
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25170
25207
 
25171
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25172
- var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
25208
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25209
+ var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
25173
25210
  function _possibleConstructorReturn(self, call) {
25174
25211
  if (call && (_typeof(call) === "object" || typeof call === "function")) {
25175
25212
  return call;
@@ -25182,9 +25219,9 @@ module.exports = _possibleConstructorReturn, module.exports.__esModule = true, m
25182
25219
 
25183
25220
  /***/ }),
25184
25221
 
25185
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
25222
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
25186
25223
  /*!************************************************************************************************************************!*\
25187
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
25224
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
25188
25225
  \************************************************************************************************************************/
25189
25226
  /***/ ((module) => {
25190
25227
 
@@ -25199,16 +25236,16 @@ module.exports = _setPrototypeOf, module.exports.__esModule = true, module.expor
25199
25236
 
25200
25237
  /***/ }),
25201
25238
 
25202
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toArray.js":
25239
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/toArray.js":
25203
25240
  /*!*****************************************************************************************************************!*\
25204
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toArray.js ***!
25241
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/toArray.js ***!
25205
25242
  \*****************************************************************************************************************/
25206
25243
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25207
25244
 
25208
- var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
25209
- var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/iterableToArray.js");
25210
- var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
25211
- var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/nonIterableRest.js");
25245
+ var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
25246
+ var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/iterableToArray.js");
25247
+ var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
25248
+ var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/nonIterableRest.js");
25212
25249
  function _toArray(arr) {
25213
25250
  return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
25214
25251
  }
@@ -25216,13 +25253,13 @@ module.exports = _toArray, module.exports.__esModule = true, module.exports["def
25216
25253
 
25217
25254
  /***/ }),
25218
25255
 
25219
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPrimitive.js":
25256
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/toPrimitive.js":
25220
25257
  /*!*********************************************************************************************************************!*\
25221
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
25258
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
25222
25259
  \*********************************************************************************************************************/
25223
25260
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25224
25261
 
25225
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25262
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25226
25263
  function toPrimitive(t, r) {
25227
25264
  if ("object" != _typeof(t) || !t) return t;
25228
25265
  var e = t[Symbol.toPrimitive];
@@ -25237,14 +25274,14 @@ module.exports = toPrimitive, module.exports.__esModule = true, module.exports["
25237
25274
 
25238
25275
  /***/ }),
25239
25276
 
25240
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPropertyKey.js":
25277
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/toPropertyKey.js":
25241
25278
  /*!***********************************************************************************************************************!*\
25242
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
25279
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
25243
25280
  \***********************************************************************************************************************/
25244
25281
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25245
25282
 
25246
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25247
- var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPrimitive.js");
25283
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25284
+ var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/toPrimitive.js");
25248
25285
  function toPropertyKey(t) {
25249
25286
  var i = toPrimitive(t, "string");
25250
25287
  return "symbol" == _typeof(i) ? i : String(i);
@@ -25253,9 +25290,9 @@ module.exports = toPropertyKey, module.exports.__esModule = true, module.exports
25253
25290
 
25254
25291
  /***/ }),
25255
25292
 
25256
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/typeof.js":
25293
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/typeof.js":
25257
25294
  /*!****************************************************************************************************************!*\
25258
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/typeof.js ***!
25295
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/typeof.js ***!
25259
25296
  \****************************************************************************************************************/
25260
25297
  /***/ ((module) => {
25261
25298
 
@@ -25272,13 +25309,13 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
25272
25309
 
25273
25310
  /***/ }),
25274
25311
 
25275
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
25312
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
25276
25313
  /*!************************************************************************************************************************************!*\
25277
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
25314
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
25278
25315
  \************************************************************************************************************************************/
25279
25316
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25280
25317
 
25281
- var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
25318
+ var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
25282
25319
  function _unsupportedIterableToArray(o, minLen) {
25283
25320
  if (!o) return;
25284
25321
  if (typeof o === "string") return arrayLikeToArray(o, minLen);
@@ -25798,9 +25835,9 @@ function makePromise(maybePromise) {
25798
25835
 
25799
25836
  /***/ }),
25800
25837
 
25801
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
25838
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
25802
25839
  /*!****************************************************************************************************************************!*\
25803
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
25840
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
25804
25841
  \****************************************************************************************************************************/
25805
25842
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25806
25843
 
@@ -25817,9 +25854,9 @@ function _classCallCheck(instance, Constructor) {
25817
25854
 
25818
25855
  /***/ }),
25819
25856
 
25820
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/createClass.js":
25857
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
25821
25858
  /*!*************************************************************************************************************************!*\
25822
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
25859
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
25823
25860
  \*************************************************************************************************************************/
25824
25861
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25825
25862
 
@@ -25828,7 +25865,7 @@ __webpack_require__.r(__webpack_exports__);
25828
25865
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25829
25866
  /* harmony export */ "default": () => (/* binding */ _createClass)
25830
25867
  /* harmony export */ });
25831
- /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
25868
+ /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
25832
25869
 
25833
25870
  function _defineProperties(target, props) {
25834
25871
  for (var i = 0; i < props.length; i++) {
@@ -25850,9 +25887,9 @@ function _createClass(Constructor, protoProps, staticProps) {
25850
25887
 
25851
25888
  /***/ }),
25852
25889
 
25853
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
25890
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
25854
25891
  /*!*************************************************************************************************************************!*\
25855
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
25892
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
25856
25893
  \*************************************************************************************************************************/
25857
25894
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25858
25895
 
@@ -25861,7 +25898,7 @@ __webpack_require__.r(__webpack_exports__);
25861
25898
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25862
25899
  /* harmony export */ "default": () => (/* binding */ toPrimitive)
25863
25900
  /* harmony export */ });
25864
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/typeof.js");
25901
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
25865
25902
 
25866
25903
  function toPrimitive(t, r) {
25867
25904
  if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
@@ -25876,9 +25913,9 @@ function toPrimitive(t, r) {
25876
25913
 
25877
25914
  /***/ }),
25878
25915
 
25879
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
25916
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
25880
25917
  /*!***************************************************************************************************************************!*\
25881
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
25918
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
25882
25919
  \***************************************************************************************************************************/
25883
25920
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25884
25921
 
@@ -25887,8 +25924,8 @@ __webpack_require__.r(__webpack_exports__);
25887
25924
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25888
25925
  /* harmony export */ "default": () => (/* binding */ toPropertyKey)
25889
25926
  /* harmony export */ });
25890
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/typeof.js");
25891
- /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
25927
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
25928
+ /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
25892
25929
 
25893
25930
 
25894
25931
  function toPropertyKey(t) {
@@ -25898,9 +25935,9 @@ function toPropertyKey(t) {
25898
25935
 
25899
25936
  /***/ }),
25900
25937
 
25901
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/typeof.js":
25938
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
25902
25939
  /*!********************************************************************************************************************!*\
25903
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
25940
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.24.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
25904
25941
  \********************************************************************************************************************/
25905
25942
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25906
25943