@itwin/core-i18n 4.3.2 → 4.4.0-dev.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js +644 -500
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js.map +1 -1
- package/lib/cjs/test/webpack/bundled-tests.js +506 -362
- package/lib/cjs/test/webpack/bundled-tests.js.map +1 -1
- package/package.json +7 -7
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
/** @packageDocumentation
|
|
18
18
|
* @module Localization
|
|
19
19
|
*/
|
|
20
|
-
function
|
|
21
|
-
var path = "D:\\vsts_a\\
|
|
22
|
-
var hash = "
|
|
20
|
+
function cov_2awov3utze() {
|
|
21
|
+
var path = "D:\\vsts_a\\10\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js";
|
|
22
|
+
var hash = "cd04f38979b5037cd357a87096753d0063275552";
|
|
23
23
|
var global = new Function("return this")();
|
|
24
24
|
var gcv = "__coverage__";
|
|
25
25
|
var coverageData = {
|
|
26
|
-
path: "D:\\vsts_a\\
|
|
26
|
+
path: "D:\\vsts_a\\10\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js",
|
|
27
27
|
statementMap: {
|
|
28
28
|
"0": {
|
|
29
29
|
start: {
|
|
@@ -2270,13 +2270,13 @@ function cov_1r3a9qxdf3() {
|
|
|
2270
2270
|
inputSourceMap: {
|
|
2271
2271
|
version: 3,
|
|
2272
2272
|
file: "ITwinLocalization.js",
|
|
2273
|
-
sources: ["D:\\vsts_a\\
|
|
2273
|
+
sources: ["D:\\vsts_a\\10\\s\\core\\i18n\\src\\ITwinLocalization.ts"],
|
|
2274
2274
|
names: [],
|
|
2275
2275
|
mappings: ";AAAA;;;+FAG+F;AAC/F;;GAEG;;;;;;AAEH,sDAA2E;AAC3E,wGAAmG;AACnG,gFAA+D;AAC/D,sDAA6C;AAG7C,MAAM,mBAAmB,GAAW,CAAC,CAAC,CAAC,8GAA8G;AAcrJ;;;GAGG;AACH,MAAa,iBAAiB;IAO5B,YAAmB,OAA6B;QAF/B,gBAAW,GAAG,IAAI,GAAG,EAAyB,CAAC;QAG9D,IAAI,CAAC,OAAO,GAAG,iBAAO,CAAC,cAAc,EAAE,CAAC;QAExC,IAAI,CAAC,eAAe,GAAG;YACrB,QAAQ,EAAE,OAAO,EAAE,WAAW,IAAI,6BAA6B;YAC/D,WAAW,EAAE,IAAI;YACjB,GAAG,OAAO,EAAE,kBAAkB;SAC/B,CAAC;QAEF,IAAI,CAAC,iBAAiB,GAAG;YACvB,KAAK,EAAE,CAAC,aAAa,EAAE,WAAW,EAAE,SAAS,CAAC;YAC9C,iBAAiB,EAAE,KAAK;YACxB,MAAM,EAAE,EAAE;YACV,GAAG,OAAO,EAAE,eAAe;SAC5B,CAAC;QAEF,IAAI,CAAC,YAAY,GAAG;YAClB,aAAa,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;YACpC,WAAW,EAAE,IAAI;YACjB,UAAU,EAAE,mBAAmB;YAC/B,OAAO,EAAE,IAAI,CAAC,eAAe;YAC7B,SAAS,EAAE,IAAI,CAAC,iBAAiB;YACjC,GAAG,OAAO,EAAE,WAAW;SACxB,CAAC;QAEF,IAAI,CAAC,OAAO;aACT,GAAG,CAAC,OAAO,EAAE,cAAc,IAAI,0CAA8B,CAAC;aAC9D,GAAG,CAAC,OAAO,EAAE,aAAa,IAAI,8BAAO,CAAC;aACtC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAC5B,CAAC;IAEM,KAAK,CAAC,UAAU,CAAC,UAAoB;QAE1C,mDAAmD;QACnD,MAAM,cAAc,GAAa,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;QACrE,MAAM,kBAAkB,GAAgB,IAAI,GAAG,CAAC,CAAC,GAAG,UAAU,EAAE,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,qBAAqB;QAE1G,MAAM,gBAAgB,GAAuC,IAAI,CAAC,YAAY,CAAC,SAAS,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;QAC1G,IAAI,gBAAgB;YAClB,kBAAkB,CAAC,GAAG,CAAC,gBAA0B,CAAC,CAAC,CAAC,oDAAoD;QAE1G,MAAM,WAAW,GAAgB;YAC/B,GAAG,IAAI,CAAC,YAAY;YACpB,SAAS,EAAE,gBAAgB;YAC3B,EAAE,EAAE,CAAC,GAAG,kBAAkB,CAAC;SAC5B,CAAC;QAEF,iDAAiD;QACjD,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa;YACxC,WAAW,CAAC,KAAK,GAAG,IAAI,CAAC;QAE3B,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAA6B,CAAC;QAE/E,KAAK,MAAM,EAAE,IAAI,UAAU;YACzB,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;QAExC,OAAO,WAAW,CAAC;IACrB,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACI,gBAAgB,CAAC,IAAY;QAClC,OAAO,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC;IACrF,CAAC;IAED;;;;;;;;;;;;OAYG;IACI,kBAAkB,CAAC,GAAsB,EAAE,OAAsB;QACtE,IAAI,OAAO,EAAE,aAAa,IAAI,OAAO,EAAE,aAAa,EAAE;YACpD,MAAM,IAAI,KAAK,CAAC,sFAAsF,CAAC,CAAC;SACzG;QAED,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;QAE3C,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;SACxD;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAED;;;;;;;OAOG;IACI,+BAA+B,CAAC,SAAiB,EAAE,GAAsB,EAAE,OAAsB;QACtG,IAAI,OAAO,GAAsB,EAAE,CAAC;QAEpC,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;YAC3B,OAAO,GAAG,GAAG,SAAS,IAAI,GAAG,EAAE,CAAC;SACjC;aAAM;YACL,OAAO,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,MAAc,EAAE,EAAE;gBACnC,OAAO,GAAG,SAAS,IAAI,MAAM,EAAE,CAAC;YAClC,CAAC,CAAC,CAAC;SACJ;QAED,OAAO,IAAI,CAAC,kBAAkB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED;;;;;;OAMG;IACI,gBAAgB,CAAC,SAAiB,EAAE,GAAsB,EAAE,OAAsB;QACvF,IAAI,OAAO,EAAE,aAAa,IAAI,OAAO,EAAE,aAAa,EAAE;YACpD,MAAM,IAAI,KAAK,CAAC,sFAAsF,CAAC,CAAC;SACzG;QAED,OAAO,GAAG;YACR,GAAG,OAAO;YACV,EAAE,EAAE,SAAS,EAAE,oCAAoC;SACpD,CAAC;QAEF,MAAM,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QACnD,MAAM,GAAG,GAAG,EAAE,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;QAC7B,IAAI,OAAO,GAAG,KAAK,QAAQ;YACzB,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAElD,OAAO,GAAG,CAAC;IACb,CAAC;IAED;;;OAGG;IACI,mBAAmB,CAAC,IAAY;QACrC,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;IAED,gBAAgB;IACT,eAAe;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC;IAChC,CAAC;IAED,qDAAqD;IAC9C,KAAK,CAAC,cAAc,CAAC,QAAgB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,QAAQ,CAA6B,CAAC;IAC3E,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,iBAAiB,CAAC,IAAY;QACzC,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAC5C,IAAI,QAAQ,KAAK,SAAS;YACxB,OAAO,QAAQ,CAAC;QAElB,MAAM,cAAc,GAAG,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE;YACnD,mEAAmE;YACnE,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE;gBACxC,IAAI,CAAC,GAAG;oBACN,OAAO,OAAO,EAAE,CAAC;gBAEnB,qCAAqC;gBACrC,yHAAyH;gBACzH,2GAA2G;gBAC3G,8HAA8H;gBAC9H,8IAA8I;gBAC9I,IAAI,OAAO,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC,GAAG,CAAC,CAAC,UAAe,EAAE,EAAE,CAAC,IAAI,UAAU,GAAG,CAAC,CAAC;gBAEjF,IAAI;oBACF,KAAK,MAAM,SAAS,IAAI,GAAG,EAAE;wBAC3B,IAAI,OAAO,SAAS,KAAK,QAAQ;4BAC/B,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC;qBAC7E;iBACF;gBAAC,OAAO,CAAC,EAAE;oBACV,OAAO,GAAG,EAAE,CAAC;iBACd;gBACD,+DAA+D;gBAC/D,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;oBACtB,qBAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,8BAA8B,IAAI,kBAAkB,CAAC,CAAC;gBAEhF,OAAO,EAAE,CAAC;YACZ,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;QAC3C,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,gBAAgB;IACT,mBAAmB,CAAC,IAAY;QACrC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;CACF;AAnOD,8CAmOC;AAED,MAAM,iBAAiB;IAEd,GAAG,CAAC,IAAc,IAAI,qBAAM,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5E,IAAI,CAAC,IAAc,IAAI,qBAAM,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAChF,KAAK,CAAC,IAAc,IAAI,qBAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9E,gBAAgB,CAAC,IAAc;QACrC,IAAI,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACtB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE;YACpC,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ;gBAC7B,OAAO,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;SAC/B;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;;AAXsB,sBAAI,GAAG,QAAQ,CAAC",
|
|
2276
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 (e) {\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: "
|
|
2279
|
+
hash: "cd04f38979b5037cd357a87096753d0063275552"
|
|
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_1r3a9qxdf3() {
|
|
|
2285
2285
|
var actualCoverage = coverage[path];
|
|
2286
2286
|
{
|
|
2287
2287
|
// @ts-ignore
|
|
2288
|
-
|
|
2288
|
+
cov_2awov3utze = function () {
|
|
2289
2289
|
return actualCoverage;
|
|
2290
2290
|
};
|
|
2291
2291
|
}
|
|
2292
2292
|
return actualCoverage;
|
|
2293
2293
|
}
|
|
2294
|
-
|
|
2295
|
-
var __importDefault = (
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
return (
|
|
2294
|
+
cov_2awov3utze();
|
|
2295
|
+
var __importDefault = (cov_2awov3utze().s[0]++, (cov_2awov3utze().b[0][0]++, this) && (cov_2awov3utze().b[0][1]++, this.__importDefault) || (cov_2awov3utze().b[0][2]++, function (mod) {
|
|
2296
|
+
cov_2awov3utze().f[0]++;
|
|
2297
|
+
cov_2awov3utze().s[1]++;
|
|
2298
|
+
return (cov_2awov3utze().b[2][0]++, mod) && (cov_2awov3utze().b[2][1]++, mod.__esModule) ? (cov_2awov3utze().b[1][0]++, mod) : (cov_2awov3utze().b[1][1]++, {
|
|
2299
2299
|
"default": mod
|
|
2300
2300
|
});
|
|
2301
2301
|
}));
|
|
2302
|
-
|
|
2302
|
+
cov_2awov3utze().s[2]++;
|
|
2303
2303
|
Object.defineProperty(exports, "__esModule", ({
|
|
2304
2304
|
value: true
|
|
2305
2305
|
}));
|
|
2306
|
-
|
|
2306
|
+
cov_2awov3utze().s[3]++;
|
|
2307
2307
|
exports.ITwinLocalization = void 0;
|
|
2308
|
-
const i18next_1 = (
|
|
2309
|
-
const i18next_browser_languagedetector_1 = (
|
|
2310
|
-
const i18next_http_backend_1 = (
|
|
2311
|
-
const core_bentley_1 = (
|
|
2312
|
-
const DEFAULT_MAX_RETRIES = (
|
|
2308
|
+
const i18next_1 = (cov_2awov3utze().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_2awov3utze().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_2awov3utze().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_2awov3utze().s[7]++, __webpack_require__(/*! @itwin/core-bentley */ "../bentley/lib/esm/core-bentley.js"));
|
|
2312
|
+
const DEFAULT_MAX_RETRIES = (cov_2awov3utze().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
|
-
|
|
2320
|
-
|
|
2319
|
+
cov_2awov3utze().f[1]++;
|
|
2320
|
+
cov_2awov3utze().s[9]++;
|
|
2321
2321
|
this._namespaces = new Map();
|
|
2322
|
-
|
|
2322
|
+
cov_2awov3utze().s[10]++;
|
|
2323
2323
|
this.i18next = i18next_1.default.createInstance();
|
|
2324
|
-
|
|
2324
|
+
cov_2awov3utze().s[11]++;
|
|
2325
2325
|
this._backendOptions = {
|
|
2326
|
-
loadPath: (
|
|
2326
|
+
loadPath: (cov_2awov3utze().b[3][0]++, options?.urlTemplate) ?? (cov_2awov3utze().b[3][1]++, "locales/{{lng}}/{{ns}}.json"),
|
|
2327
2327
|
crossDomain: true,
|
|
2328
2328
|
...options?.backendHttpOptions
|
|
2329
2329
|
};
|
|
2330
|
-
|
|
2330
|
+
cov_2awov3utze().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
|
-
|
|
2337
|
+
cov_2awov3utze().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
|
-
|
|
2349
|
-
this.i18next.use((
|
|
2348
|
+
cov_2awov3utze().s[14]++;
|
|
2349
|
+
this.i18next.use((cov_2awov3utze().b[4][0]++, options?.detectorPlugin) ?? (cov_2awov3utze().b[4][1]++, i18next_browser_languagedetector_1.default)).use((cov_2awov3utze().b[5][0]++, options?.backendPlugin) ?? (cov_2awov3utze().b[5][1]++, i18next_http_backend_1.default)).use(TranslationLogger);
|
|
2350
2350
|
}
|
|
2351
2351
|
async initialize(namespaces) {
|
|
2352
|
-
|
|
2352
|
+
cov_2awov3utze().f[2]++;
|
|
2353
2353
|
// Also consider namespaces passed into constructor
|
|
2354
|
-
const initNamespaces = (
|
|
2355
|
-
const combinedNamespaces = (
|
|
2356
|
-
const defaultNamespace = (
|
|
2357
|
-
|
|
2354
|
+
const initNamespaces = (cov_2awov3utze().s[15]++, [(cov_2awov3utze().b[6][0]++, this._initOptions.ns) || (cov_2awov3utze().b[6][1]++, [])].flat());
|
|
2355
|
+
const combinedNamespaces = (cov_2awov3utze().s[16]++, new Set([...namespaces, ...initNamespaces])); // without duplicates
|
|
2356
|
+
const defaultNamespace = (cov_2awov3utze().s[17]++, (cov_2awov3utze().b[7][0]++, this._initOptions.defaultNS) ?? (cov_2awov3utze().b[7][1]++, namespaces[0]));
|
|
2357
|
+
cov_2awov3utze().s[18]++;
|
|
2358
2358
|
if (defaultNamespace) {
|
|
2359
|
-
|
|
2360
|
-
|
|
2359
|
+
cov_2awov3utze().b[8][0]++;
|
|
2360
|
+
cov_2awov3utze().s[19]++;
|
|
2361
2361
|
combinedNamespaces.add(defaultNamespace);
|
|
2362
2362
|
} else {
|
|
2363
|
-
|
|
2363
|
+
cov_2awov3utze().b[8][1]++;
|
|
2364
2364
|
} // Make sure default namespace is in namespaces list
|
|
2365
|
-
const initOptions = (
|
|
2365
|
+
const initOptions = (cov_2awov3utze().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
|
-
|
|
2371
|
+
cov_2awov3utze().s[21]++;
|
|
2372
2372
|
if (false) {} else {
|
|
2373
|
-
|
|
2373
|
+
cov_2awov3utze().b[9][1]++;
|
|
2374
2374
|
}
|
|
2375
|
-
const initPromise = (
|
|
2376
|
-
|
|
2375
|
+
const initPromise = (cov_2awov3utze().s[23]++, this.i18next.init(initOptions));
|
|
2376
|
+
cov_2awov3utze().s[24]++;
|
|
2377
2377
|
for (const ns of namespaces) {
|
|
2378
|
-
|
|
2378
|
+
cov_2awov3utze().s[25]++;
|
|
2379
2379
|
this._namespaces.set(ns, initPromise);
|
|
2380
2380
|
}
|
|
2381
|
-
|
|
2381
|
+
cov_2awov3utze().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
|
-
|
|
2402
|
-
|
|
2401
|
+
cov_2awov3utze().f[3]++;
|
|
2402
|
+
cov_2awov3utze().s[27]++;
|
|
2403
2403
|
return line.replace(/\%\{(.+?)\}/g, (_match, tag) => {
|
|
2404
|
-
|
|
2405
|
-
|
|
2404
|
+
cov_2awov3utze().f[4]++;
|
|
2405
|
+
cov_2awov3utze().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
|
-
|
|
2424
|
-
|
|
2425
|
-
if ((
|
|
2426
|
-
|
|
2427
|
-
|
|
2423
|
+
cov_2awov3utze().f[5]++;
|
|
2424
|
+
cov_2awov3utze().s[29]++;
|
|
2425
|
+
if ((cov_2awov3utze().b[11][0]++, options?.returnDetails) || (cov_2awov3utze().b[11][1]++, options?.returnObjects)) {
|
|
2426
|
+
cov_2awov3utze().b[10][0]++;
|
|
2427
|
+
cov_2awov3utze().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
|
-
|
|
2430
|
+
cov_2awov3utze().b[10][1]++;
|
|
2431
2431
|
}
|
|
2432
|
-
const value = (
|
|
2433
|
-
|
|
2432
|
+
const value = (cov_2awov3utze().s[31]++, this.i18next.t(key, options));
|
|
2433
|
+
cov_2awov3utze().s[32]++;
|
|
2434
2434
|
if (typeof value !== "string") {
|
|
2435
|
-
|
|
2436
|
-
|
|
2435
|
+
cov_2awov3utze().b[12][0]++;
|
|
2436
|
+
cov_2awov3utze().s[33]++;
|
|
2437
2437
|
throw new Error("Translation key(s) string not found");
|
|
2438
2438
|
} else {
|
|
2439
|
-
|
|
2439
|
+
cov_2awov3utze().b[12][1]++;
|
|
2440
2440
|
}
|
|
2441
|
-
|
|
2441
|
+
cov_2awov3utze().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
|
-
|
|
2454
|
-
let fullKey = (
|
|
2455
|
-
|
|
2453
|
+
cov_2awov3utze().f[6]++;
|
|
2454
|
+
let fullKey = (cov_2awov3utze().s[35]++, "");
|
|
2455
|
+
cov_2awov3utze().s[36]++;
|
|
2456
2456
|
if (typeof key === "string") {
|
|
2457
|
-
|
|
2458
|
-
|
|
2457
|
+
cov_2awov3utze().b[13][0]++;
|
|
2458
|
+
cov_2awov3utze().s[37]++;
|
|
2459
2459
|
fullKey = `${namespace}:${key}`;
|
|
2460
2460
|
} else {
|
|
2461
|
-
|
|
2462
|
-
|
|
2461
|
+
cov_2awov3utze().b[13][1]++;
|
|
2462
|
+
cov_2awov3utze().s[38]++;
|
|
2463
2463
|
fullKey = key.map(subKey => {
|
|
2464
|
-
|
|
2465
|
-
|
|
2464
|
+
cov_2awov3utze().f[7]++;
|
|
2465
|
+
cov_2awov3utze().s[39]++;
|
|
2466
2466
|
return `${namespace}:${subKey}`;
|
|
2467
2467
|
});
|
|
2468
2468
|
}
|
|
2469
|
-
|
|
2469
|
+
cov_2awov3utze().s[40]++;
|
|
2470
2470
|
return this.getLocalizedString(fullKey, options);
|
|
2471
2471
|
}
|
|
2472
2472
|
/** Gets the English translation.
|
|
@@ -2477,32 +2477,32 @@ class ITwinLocalization {
|
|
|
2477
2477
|
* @internal
|
|
2478
2478
|
*/
|
|
2479
2479
|
getEnglishString(namespace, key, options) {
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
if ((
|
|
2483
|
-
|
|
2484
|
-
|
|
2480
|
+
cov_2awov3utze().f[8]++;
|
|
2481
|
+
cov_2awov3utze().s[41]++;
|
|
2482
|
+
if ((cov_2awov3utze().b[15][0]++, options?.returnDetails) || (cov_2awov3utze().b[15][1]++, options?.returnObjects)) {
|
|
2483
|
+
cov_2awov3utze().b[14][0]++;
|
|
2484
|
+
cov_2awov3utze().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
|
-
|
|
2487
|
+
cov_2awov3utze().b[14][1]++;
|
|
2488
2488
|
}
|
|
2489
|
-
|
|
2489
|
+
cov_2awov3utze().s[43]++;
|
|
2490
2490
|
options = {
|
|
2491
2491
|
...options,
|
|
2492
2492
|
ns: namespace // ensure namespace argument is used
|
|
2493
2493
|
};
|
|
2494
2494
|
|
|
2495
|
-
const en = (
|
|
2496
|
-
const str = (
|
|
2497
|
-
|
|
2495
|
+
const en = (cov_2awov3utze().s[44]++, this.i18next.getFixedT("en", namespace));
|
|
2496
|
+
const str = (cov_2awov3utze().s[45]++, en(key, options));
|
|
2497
|
+
cov_2awov3utze().s[46]++;
|
|
2498
2498
|
if (typeof str !== "string") {
|
|
2499
|
-
|
|
2500
|
-
|
|
2499
|
+
cov_2awov3utze().b[16][0]++;
|
|
2500
|
+
cov_2awov3utze().s[47]++;
|
|
2501
2501
|
throw new Error("Translation key(s) not found");
|
|
2502
2502
|
} else {
|
|
2503
|
-
|
|
2503
|
+
cov_2awov3utze().b[16][1]++;
|
|
2504
2504
|
}
|
|
2505
|
-
|
|
2505
|
+
cov_2awov3utze().s[48]++;
|
|
2506
2506
|
return str;
|
|
2507
2507
|
}
|
|
2508
2508
|
/** Get the promise for an already registered Namespace.
|
|
@@ -2510,20 +2510,20 @@ class ITwinLocalization {
|
|
|
2510
2510
|
* @public
|
|
2511
2511
|
*/
|
|
2512
2512
|
getNamespacePromise(name) {
|
|
2513
|
-
|
|
2514
|
-
|
|
2513
|
+
cov_2awov3utze().f[9]++;
|
|
2514
|
+
cov_2awov3utze().s[49]++;
|
|
2515
2515
|
return this._namespaces.get(name);
|
|
2516
2516
|
}
|
|
2517
2517
|
/** @internal */
|
|
2518
2518
|
getLanguageList() {
|
|
2519
|
-
|
|
2520
|
-
|
|
2519
|
+
cov_2awov3utze().f[10]++;
|
|
2520
|
+
cov_2awov3utze().s[50]++;
|
|
2521
2521
|
return this.i18next.languages;
|
|
2522
2522
|
}
|
|
2523
2523
|
/** override the language detected in the browser */
|
|
2524
2524
|
async changeLanguage(language) {
|
|
2525
|
-
|
|
2526
|
-
|
|
2525
|
+
cov_2awov3utze().f[11]++;
|
|
2526
|
+
cov_2awov3utze().s[51]++;
|
|
2527
2527
|
return this.i18next.changeLanguage(language);
|
|
2528
2528
|
}
|
|
2529
2529
|
/** Register a new Namespace and return it. If the namespace is already registered, it will be returned.
|
|
@@ -2535,123 +2535,123 @@ class ITwinLocalization {
|
|
|
2535
2535
|
* @public
|
|
2536
2536
|
*/
|
|
2537
2537
|
async registerNamespace(name) {
|
|
2538
|
-
|
|
2539
|
-
const existing = (
|
|
2540
|
-
|
|
2538
|
+
cov_2awov3utze().f[12]++;
|
|
2539
|
+
const existing = (cov_2awov3utze().s[52]++, this._namespaces.get(name));
|
|
2540
|
+
cov_2awov3utze().s[53]++;
|
|
2541
2541
|
if (existing !== undefined) {
|
|
2542
|
-
|
|
2543
|
-
|
|
2542
|
+
cov_2awov3utze().b[17][0]++;
|
|
2543
|
+
cov_2awov3utze().s[54]++;
|
|
2544
2544
|
return existing;
|
|
2545
2545
|
} else {
|
|
2546
|
-
|
|
2546
|
+
cov_2awov3utze().b[17][1]++;
|
|
2547
2547
|
}
|
|
2548
|
-
const theReadPromise = (
|
|
2549
|
-
|
|
2550
|
-
|
|
2548
|
+
const theReadPromise = (cov_2awov3utze().s[55]++, new Promise(resolve => {
|
|
2549
|
+
cov_2awov3utze().f[13]++;
|
|
2550
|
+
cov_2awov3utze().s[56]++;
|
|
2551
2551
|
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
2552
2552
|
this.i18next.loadNamespaces(name, err => {
|
|
2553
|
-
|
|
2554
|
-
|
|
2553
|
+
cov_2awov3utze().f[14]++;
|
|
2554
|
+
cov_2awov3utze().s[57]++;
|
|
2555
2555
|
if (!err) {
|
|
2556
|
-
|
|
2557
|
-
|
|
2556
|
+
cov_2awov3utze().b[18][0]++;
|
|
2557
|
+
cov_2awov3utze().s[58]++;
|
|
2558
2558
|
return resolve();
|
|
2559
2559
|
} else {
|
|
2560
|
-
|
|
2560
|
+
cov_2awov3utze().b[18][1]++;
|
|
2561
2561
|
}
|
|
2562
2562
|
// Here we got a non-null err object.
|
|
2563
2563
|
// This method is called when the system has attempted to load the resources for the namespaces for each possible locale.
|
|
2564
2564
|
// For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.
|
|
2565
2565
|
// Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.
|
|
2566
2566
|
// 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.
|
|
2567
|
-
let locales = (
|
|
2568
|
-
|
|
2569
|
-
|
|
2567
|
+
let locales = (cov_2awov3utze().s[59]++, this.getLanguageList().map(thisLocale => {
|
|
2568
|
+
cov_2awov3utze().f[15]++;
|
|
2569
|
+
cov_2awov3utze().s[60]++;
|
|
2570
2570
|
return `/${thisLocale}/`;
|
|
2571
2571
|
}));
|
|
2572
|
-
|
|
2572
|
+
cov_2awov3utze().s[61]++;
|
|
2573
2573
|
try {
|
|
2574
|
-
|
|
2574
|
+
cov_2awov3utze().s[62]++;
|
|
2575
2575
|
for (const thisError of err) {
|
|
2576
|
-
|
|
2576
|
+
cov_2awov3utze().s[63]++;
|
|
2577
2577
|
if (typeof thisError === "string") {
|
|
2578
|
-
|
|
2579
|
-
|
|
2578
|
+
cov_2awov3utze().b[19][0]++;
|
|
2579
|
+
cov_2awov3utze().s[64]++;
|
|
2580
2580
|
locales = locales.filter(thisLocale => {
|
|
2581
|
-
|
|
2582
|
-
|
|
2581
|
+
cov_2awov3utze().f[16]++;
|
|
2582
|
+
cov_2awov3utze().s[65]++;
|
|
2583
2583
|
return !thisError.includes(thisLocale);
|
|
2584
2584
|
});
|
|
2585
2585
|
} else {
|
|
2586
|
-
|
|
2586
|
+
cov_2awov3utze().b[19][1]++;
|
|
2587
2587
|
}
|
|
2588
2588
|
}
|
|
2589
2589
|
} catch (e) {
|
|
2590
|
-
|
|
2590
|
+
cov_2awov3utze().s[66]++;
|
|
2591
2591
|
locales = [];
|
|
2592
2592
|
}
|
|
2593
2593
|
// if we removed every locale from the array, it wasn't loaded.
|
|
2594
|
-
|
|
2594
|
+
cov_2awov3utze().s[67]++;
|
|
2595
2595
|
if (locales.length === 0) {
|
|
2596
|
-
|
|
2597
|
-
|
|
2596
|
+
cov_2awov3utze().b[20][0]++;
|
|
2597
|
+
cov_2awov3utze().s[68]++;
|
|
2598
2598
|
core_bentley_1.Logger.logError("i18n", `No resources for namespace ${name} could be loaded`);
|
|
2599
2599
|
} else {
|
|
2600
|
-
|
|
2600
|
+
cov_2awov3utze().b[20][1]++;
|
|
2601
2601
|
}
|
|
2602
|
-
|
|
2602
|
+
cov_2awov3utze().s[69]++;
|
|
2603
2603
|
resolve();
|
|
2604
2604
|
});
|
|
2605
2605
|
}));
|
|
2606
|
-
|
|
2606
|
+
cov_2awov3utze().s[70]++;
|
|
2607
2607
|
this._namespaces.set(name, theReadPromise);
|
|
2608
|
-
|
|
2608
|
+
cov_2awov3utze().s[71]++;
|
|
2609
2609
|
return theReadPromise;
|
|
2610
2610
|
}
|
|
2611
2611
|
/** @internal */
|
|
2612
2612
|
unregisterNamespace(name) {
|
|
2613
|
-
|
|
2614
|
-
|
|
2613
|
+
cov_2awov3utze().f[17]++;
|
|
2614
|
+
cov_2awov3utze().s[72]++;
|
|
2615
2615
|
this._namespaces.delete(name);
|
|
2616
2616
|
}
|
|
2617
2617
|
}
|
|
2618
|
-
|
|
2618
|
+
cov_2awov3utze().s[73]++;
|
|
2619
2619
|
exports.ITwinLocalization = ITwinLocalization;
|
|
2620
2620
|
class TranslationLogger {
|
|
2621
2621
|
log(args) {
|
|
2622
|
-
|
|
2623
|
-
|
|
2622
|
+
cov_2awov3utze().f[18]++;
|
|
2623
|
+
cov_2awov3utze().s[74]++;
|
|
2624
2624
|
core_bentley_1.Logger.logInfo("i18n", this.createLogMessage(args));
|
|
2625
2625
|
}
|
|
2626
2626
|
warn(args) {
|
|
2627
|
-
|
|
2628
|
-
|
|
2627
|
+
cov_2awov3utze().f[19]++;
|
|
2628
|
+
cov_2awov3utze().s[75]++;
|
|
2629
2629
|
core_bentley_1.Logger.logWarning("i18n", this.createLogMessage(args));
|
|
2630
2630
|
}
|
|
2631
2631
|
error(args) {
|
|
2632
|
-
|
|
2633
|
-
|
|
2632
|
+
cov_2awov3utze().f[20]++;
|
|
2633
|
+
cov_2awov3utze().s[76]++;
|
|
2634
2634
|
core_bentley_1.Logger.logError("i18n", this.createLogMessage(args));
|
|
2635
2635
|
}
|
|
2636
2636
|
createLogMessage(args) {
|
|
2637
|
-
|
|
2638
|
-
let message = (
|
|
2639
|
-
|
|
2640
|
-
for (let i = (
|
|
2641
|
-
|
|
2637
|
+
cov_2awov3utze().f[21]++;
|
|
2638
|
+
let message = (cov_2awov3utze().s[77]++, args[0]);
|
|
2639
|
+
cov_2awov3utze().s[78]++;
|
|
2640
|
+
for (let i = (cov_2awov3utze().s[79]++, 1); i < args.length; ++i) {
|
|
2641
|
+
cov_2awov3utze().s[80]++;
|
|
2642
2642
|
if (typeof args[i] === "string") {
|
|
2643
|
-
|
|
2644
|
-
|
|
2643
|
+
cov_2awov3utze().b[21][0]++;
|
|
2644
|
+
cov_2awov3utze().s[81]++;
|
|
2645
2645
|
message += `\n ${args[i]}`;
|
|
2646
2646
|
} else {
|
|
2647
|
-
|
|
2647
|
+
cov_2awov3utze().b[21][1]++;
|
|
2648
2648
|
}
|
|
2649
2649
|
}
|
|
2650
|
-
|
|
2650
|
+
cov_2awov3utze().s[82]++;
|
|
2651
2651
|
return message;
|
|
2652
2652
|
}
|
|
2653
2653
|
}
|
|
2654
|
-
|
|
2654
|
+
cov_2awov3utze().s[83]++;
|
|
2655
2655
|
TranslationLogger.type = "logger";
|
|
2656
2656
|
|
|
2657
2657
|
/***/ }),
|
|
@@ -13454,22 +13454,21 @@ module.exports = getFuncName;
|
|
|
13454
13454
|
|
|
13455
13455
|
/***/ }),
|
|
13456
13456
|
|
|
13457
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.
|
|
13457
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.2/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js":
|
|
13458
13458
|
/*!****************************************************************************************************************************************************************************!*\
|
|
13459
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.
|
|
13459
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.2/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js ***!
|
|
13460
13460
|
\****************************************************************************************************************************************************************************/
|
|
13461
|
-
/***/ ((
|
|
13461
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13462
13462
|
|
|
13463
13463
|
"use strict";
|
|
13464
|
+
__webpack_require__.r(__webpack_exports__);
|
|
13465
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13466
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
13467
|
+
/* harmony export */ });
|
|
13468
|
+
/* 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.4/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
13469
|
+
/* 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.4/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
13464
13470
|
|
|
13465
13471
|
|
|
13466
|
-
var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/classCallCheck.js");
|
|
13467
|
-
var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/createClass.js");
|
|
13468
|
-
|
|
13469
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13470
|
-
|
|
13471
|
-
var _classCallCheck__default = /*#__PURE__*/_interopDefaultLegacy(_classCallCheck);
|
|
13472
|
-
var _createClass__default = /*#__PURE__*/_interopDefaultLegacy(_createClass);
|
|
13473
13472
|
|
|
13474
13473
|
var arr = [];
|
|
13475
13474
|
var each = arr.forEach;
|
|
@@ -13492,12 +13491,12 @@ var serializeCookie = function serializeCookie(name, val, options) {
|
|
|
13492
13491
|
var opt = options || {};
|
|
13493
13492
|
opt.path = opt.path || '/';
|
|
13494
13493
|
var value = encodeURIComponent(val);
|
|
13495
|
-
var str =
|
|
13494
|
+
var str = name + '=' + value;
|
|
13496
13495
|
|
|
13497
13496
|
if (opt.maxAge > 0) {
|
|
13498
13497
|
var maxAge = opt.maxAge - 0;
|
|
13499
|
-
if (
|
|
13500
|
-
str +=
|
|
13498
|
+
if (isNaN(maxAge)) throw new Error('maxAge should be a Number');
|
|
13499
|
+
str += '; Max-Age=' + Math.floor(maxAge);
|
|
13501
13500
|
}
|
|
13502
13501
|
|
|
13503
13502
|
if (opt.domain) {
|
|
@@ -13505,7 +13504,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
|
|
|
13505
13504
|
throw new TypeError('option domain is invalid');
|
|
13506
13505
|
}
|
|
13507
13506
|
|
|
13508
|
-
str +=
|
|
13507
|
+
str += '; Domain=' + opt.domain;
|
|
13509
13508
|
}
|
|
13510
13509
|
|
|
13511
13510
|
if (opt.path) {
|
|
@@ -13513,7 +13512,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
|
|
|
13513
13512
|
throw new TypeError('option path is invalid');
|
|
13514
13513
|
}
|
|
13515
13514
|
|
|
13516
|
-
str +=
|
|
13515
|
+
str += '; Path=' + opt.path;
|
|
13517
13516
|
}
|
|
13518
13517
|
|
|
13519
13518
|
if (opt.expires) {
|
|
@@ -13521,7 +13520,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
|
|
|
13521
13520
|
throw new TypeError('option expires is invalid');
|
|
13522
13521
|
}
|
|
13523
13522
|
|
|
13524
|
-
str +=
|
|
13523
|
+
str += '; Expires=' + opt.expires.toUTCString();
|
|
13525
13524
|
}
|
|
13526
13525
|
|
|
13527
13526
|
if (opt.httpOnly) str += '; HttpOnly';
|
|
@@ -13571,7 +13570,7 @@ var cookie = {
|
|
|
13571
13570
|
document.cookie = serializeCookie(name, encodeURIComponent(value), cookieOptions);
|
|
13572
13571
|
},
|
|
13573
13572
|
read: function read(name) {
|
|
13574
|
-
var nameEQ =
|
|
13573
|
+
var nameEQ = name + '=';
|
|
13575
13574
|
var ca = document.cookie.split(';');
|
|
13576
13575
|
|
|
13577
13576
|
for (var i = 0; i < ca.length; i++) {
|
|
@@ -13615,13 +13614,7 @@ var querystring = {
|
|
|
13615
13614
|
var found;
|
|
13616
13615
|
|
|
13617
13616
|
if (typeof window !== 'undefined') {
|
|
13618
|
-
var
|
|
13619
|
-
|
|
13620
|
-
if (!window.location.search && window.location.hash && window.location.hash.indexOf('?') > -1) {
|
|
13621
|
-
search = window.location.hash.substring(window.location.hash.indexOf('?'));
|
|
13622
|
-
}
|
|
13623
|
-
|
|
13624
|
-
var query = search.substring(1);
|
|
13617
|
+
var query = window.location.search.substring(1);
|
|
13625
13618
|
var params = query.split('&');
|
|
13626
13619
|
|
|
13627
13620
|
for (var i = 0; i < params.length; i++) {
|
|
@@ -13781,16 +13774,21 @@ var path = {
|
|
|
13781
13774
|
var subdomain = {
|
|
13782
13775
|
name: 'subdomain',
|
|
13783
13776
|
lookup: function lookup(options) {
|
|
13784
|
-
|
|
13785
|
-
var lookupFromSubdomainIndex = typeof options.lookupFromSubdomainIndex === 'number' ? options.lookupFromSubdomainIndex + 1 : 1; // get all matches if window.location. is existing
|
|
13786
|
-
// first item of match is the match itself and the second is the first group macht which sould be the first subdomain match
|
|
13787
|
-
// is the hostname no public domain get the or option of localhost
|
|
13777
|
+
var found;
|
|
13788
13778
|
|
|
13789
|
-
|
|
13779
|
+
if (typeof window !== 'undefined') {
|
|
13780
|
+
var language = window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);
|
|
13790
13781
|
|
|
13791
|
-
|
|
13782
|
+
if (language instanceof Array) {
|
|
13783
|
+
if (typeof options.lookupFromSubdomainIndex === 'number') {
|
|
13784
|
+
found = language[options.lookupFromSubdomainIndex].replace('http://', '').replace('https://', '').replace('.', '');
|
|
13785
|
+
} else {
|
|
13786
|
+
found = language[0].replace('http://', '').replace('https://', '').replace('.', '');
|
|
13787
|
+
}
|
|
13788
|
+
}
|
|
13789
|
+
}
|
|
13792
13790
|
|
|
13793
|
-
return
|
|
13791
|
+
return found;
|
|
13794
13792
|
}
|
|
13795
13793
|
};
|
|
13796
13794
|
|
|
@@ -13803,8 +13801,8 @@ function getDefaults() {
|
|
|
13803
13801
|
lookupSessionStorage: 'i18nextLng',
|
|
13804
13802
|
// cache user language
|
|
13805
13803
|
caches: ['localStorage'],
|
|
13806
|
-
excludeCacheFor: ['cimode'] //
|
|
13807
|
-
//
|
|
13804
|
+
excludeCacheFor: ['cimode'] //cookieMinutes: 10,
|
|
13805
|
+
//cookieDomain: 'myDomain'
|
|
13808
13806
|
|
|
13809
13807
|
};
|
|
13810
13808
|
}
|
|
@@ -13813,14 +13811,14 @@ var Browser = /*#__PURE__*/function () {
|
|
|
13813
13811
|
function Browser(services) {
|
|
13814
13812
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
13815
13813
|
|
|
13816
|
-
|
|
13814
|
+
(0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, Browser);
|
|
13817
13815
|
|
|
13818
13816
|
this.type = 'languageDetector';
|
|
13819
13817
|
this.detectors = {};
|
|
13820
13818
|
this.init(services, options);
|
|
13821
13819
|
}
|
|
13822
13820
|
|
|
13823
|
-
|
|
13821
|
+
(0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(Browser, [{
|
|
13824
13822
|
key: "init",
|
|
13825
13823
|
value: function init(services) {
|
|
13826
13824
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
@@ -13882,29 +13880,29 @@ var Browser = /*#__PURE__*/function () {
|
|
|
13882
13880
|
|
|
13883
13881
|
Browser.type = 'languageDetector';
|
|
13884
13882
|
|
|
13885
|
-
|
|
13883
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Browser);
|
|
13886
13884
|
|
|
13887
13885
|
|
|
13888
13886
|
/***/ }),
|
|
13889
13887
|
|
|
13890
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.
|
|
13891
|
-
|
|
13892
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next@21.
|
|
13893
|
-
|
|
13888
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/cjs/i18next.js":
|
|
13889
|
+
/*!****************************************************************************************************!*\
|
|
13890
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/cjs/i18next.js ***!
|
|
13891
|
+
\****************************************************************************************************/
|
|
13894
13892
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
13895
13893
|
|
|
13896
13894
|
"use strict";
|
|
13897
13895
|
|
|
13898
13896
|
|
|
13899
|
-
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
13900
|
-
var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
13901
|
-
var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
13902
|
-
var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
13903
|
-
var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
13904
|
-
var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
13905
|
-
var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
13906
|
-
var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
13907
|
-
var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
13897
|
+
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/typeof.js");
|
|
13898
|
+
var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/classCallCheck.js");
|
|
13899
|
+
var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/createClass.js");
|
|
13900
|
+
var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
|
|
13901
|
+
var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/inherits.js");
|
|
13902
|
+
var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
|
|
13903
|
+
var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
|
|
13904
|
+
var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/defineProperty.js");
|
|
13905
|
+
var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/toArray.js");
|
|
13908
13906
|
|
|
13909
13907
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13910
13908
|
|
|
@@ -14011,13 +14009,6 @@ var Logger = function () {
|
|
|
14011
14009
|
prefix: "".concat(this.prefix, ":").concat(moduleName, ":")
|
|
14012
14010
|
}), this.options));
|
|
14013
14011
|
}
|
|
14014
|
-
}, {
|
|
14015
|
-
key: "clone",
|
|
14016
|
-
value: function clone(options) {
|
|
14017
|
-
options = options || this.options;
|
|
14018
|
-
options.prefix = options.prefix || this.prefix;
|
|
14019
|
-
return new Logger(this.logger, options);
|
|
14020
|
-
}
|
|
14021
14012
|
}]);
|
|
14022
14013
|
|
|
14023
14014
|
return Logger;
|
|
@@ -15566,12 +15557,7 @@ var Interpolator = function () {
|
|
|
15566
15557
|
var optionsString = "{".concat(c[1]);
|
|
15567
15558
|
key = c[0];
|
|
15568
15559
|
optionsString = this.interpolate(optionsString, clonedOptions);
|
|
15569
|
-
|
|
15570
|
-
var matchedDoubleQuotes = optionsString.match(/"/g);
|
|
15571
|
-
|
|
15572
|
-
if (matchedSingleQuotes && matchedSingleQuotes.length % 2 === 0 && !matchedDoubleQuotes || matchedDoubleQuotes.length % 2 !== 0) {
|
|
15573
|
-
optionsString = optionsString.replace(/'/g, '"');
|
|
15574
|
-
}
|
|
15560
|
+
optionsString = optionsString.replace(/'/g, '"');
|
|
15575
15561
|
|
|
15576
15562
|
try {
|
|
15577
15563
|
clonedOptions = JSON.parse(optionsString);
|
|
@@ -15668,21 +15654,6 @@ function parseFormatStr(formatStr) {
|
|
|
15668
15654
|
};
|
|
15669
15655
|
}
|
|
15670
15656
|
|
|
15671
|
-
function createCachedFormatter(fn) {
|
|
15672
|
-
var cache = {};
|
|
15673
|
-
return function invokeFormatter(val, lng, options) {
|
|
15674
|
-
var key = lng + JSON.stringify(options);
|
|
15675
|
-
var formatter = cache[key];
|
|
15676
|
-
|
|
15677
|
-
if (!formatter) {
|
|
15678
|
-
formatter = fn(lng, options);
|
|
15679
|
-
cache[key] = formatter;
|
|
15680
|
-
}
|
|
15681
|
-
|
|
15682
|
-
return formatter(val);
|
|
15683
|
-
};
|
|
15684
|
-
}
|
|
15685
|
-
|
|
15686
15657
|
var Formatter = function () {
|
|
15687
15658
|
function Formatter() {
|
|
15688
15659
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
@@ -15692,38 +15663,23 @@ var Formatter = function () {
|
|
|
15692
15663
|
this.logger = baseLogger.create('formatter');
|
|
15693
15664
|
this.options = options;
|
|
15694
15665
|
this.formats = {
|
|
15695
|
-
number:
|
|
15696
|
-
|
|
15697
|
-
|
|
15698
|
-
|
|
15699
|
-
}
|
|
15700
|
-
}),
|
|
15701
|
-
currency: createCachedFormatter(function (lng, options) {
|
|
15702
|
-
var formatter = new Intl.NumberFormat(lng, _objectSpread$4(_objectSpread$4({}, options), {}, {
|
|
15666
|
+
number: function number(val, lng, options) {
|
|
15667
|
+
return new Intl.NumberFormat(lng, options).format(val);
|
|
15668
|
+
},
|
|
15669
|
+
currency: function currency(val, lng, options) {
|
|
15670
|
+
return new Intl.NumberFormat(lng, _objectSpread$4(_objectSpread$4({}, options), {}, {
|
|
15703
15671
|
style: 'currency'
|
|
15704
|
-
}));
|
|
15705
|
-
|
|
15706
|
-
|
|
15707
|
-
};
|
|
15708
|
-
}
|
|
15709
|
-
|
|
15710
|
-
|
|
15711
|
-
|
|
15712
|
-
|
|
15713
|
-
};
|
|
15714
|
-
}
|
|
15715
|
-
relativetime: createCachedFormatter(function (lng, options) {
|
|
15716
|
-
var formatter = new Intl.RelativeTimeFormat(lng, _objectSpread$4({}, options));
|
|
15717
|
-
return function (val) {
|
|
15718
|
-
return formatter.format(val, options.range || 'day');
|
|
15719
|
-
};
|
|
15720
|
-
}),
|
|
15721
|
-
list: createCachedFormatter(function (lng, options) {
|
|
15722
|
-
var formatter = new Intl.ListFormat(lng, _objectSpread$4({}, options));
|
|
15723
|
-
return function (val) {
|
|
15724
|
-
return formatter.format(val);
|
|
15725
|
-
};
|
|
15726
|
-
})
|
|
15672
|
+
})).format(val);
|
|
15673
|
+
},
|
|
15674
|
+
datetime: function datetime(val, lng, options) {
|
|
15675
|
+
return new Intl.DateTimeFormat(lng, _objectSpread$4({}, options)).format(val);
|
|
15676
|
+
},
|
|
15677
|
+
relativetime: function relativetime(val, lng, options) {
|
|
15678
|
+
return new Intl.RelativeTimeFormat(lng, _objectSpread$4({}, options)).format(val, options.range || 'day');
|
|
15679
|
+
},
|
|
15680
|
+
list: function list(val, lng, options) {
|
|
15681
|
+
return new Intl.ListFormat(lng, _objectSpread$4({}, options)).format(val);
|
|
15682
|
+
}
|
|
15727
15683
|
};
|
|
15728
15684
|
this.init(options);
|
|
15729
15685
|
}
|
|
@@ -15742,11 +15698,6 @@ var Formatter = function () {
|
|
|
15742
15698
|
value: function add(name, fc) {
|
|
15743
15699
|
this.formats[name.toLowerCase().trim()] = fc;
|
|
15744
15700
|
}
|
|
15745
|
-
}, {
|
|
15746
|
-
key: "addCached",
|
|
15747
|
-
value: function addCached(name, fc) {
|
|
15748
|
-
this.formats[name.toLowerCase().trim()] = createCachedFormatter(fc);
|
|
15749
|
-
}
|
|
15750
15701
|
}, {
|
|
15751
15702
|
key: "format",
|
|
15752
15703
|
value: function format(value, _format, lng, options) {
|
|
@@ -16696,11 +16647,6 @@ var I18n = function (_EventEmitter) {
|
|
|
16696
16647
|
});
|
|
16697
16648
|
|
|
16698
16649
|
var clone = new I18n(mergedOptions);
|
|
16699
|
-
|
|
16700
|
-
if (options.debug !== undefined || options.prefix !== undefined) {
|
|
16701
|
-
clone.logger = clone.logger.clone(options);
|
|
16702
|
-
}
|
|
16703
|
-
|
|
16704
16650
|
var membersToCopy = ['store', 'services', 'language'];
|
|
16705
16651
|
membersToCopy.forEach(function (m) {
|
|
16706
16652
|
clone[m] = _this8[m];
|
|
@@ -18392,7 +18338,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18392
18338
|
"use strict";
|
|
18393
18339
|
__webpack_require__.r(__webpack_exports__);
|
|
18394
18340
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18395
|
-
/* harmony export */ assert: () => (/* binding */ assert)
|
|
18341
|
+
/* harmony export */ "assert": () => (/* binding */ assert)
|
|
18396
18342
|
/* harmony export */ });
|
|
18397
18343
|
/*---------------------------------------------------------------------------------------------
|
|
18398
18344
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -18448,9 +18394,9 @@ function assert(condition, message) {
|
|
|
18448
18394
|
"use strict";
|
|
18449
18395
|
__webpack_require__.r(__webpack_exports__);
|
|
18450
18396
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18451
|
-
/* harmony export */ BeEvent: () => (/* binding */ BeEvent),
|
|
18452
|
-
/* harmony export */ BeEventList: () => (/* binding */ BeEventList),
|
|
18453
|
-
/* harmony export */ BeUiEvent: () => (/* binding */ BeUiEvent)
|
|
18397
|
+
/* harmony export */ "BeEvent": () => (/* binding */ BeEvent),
|
|
18398
|
+
/* harmony export */ "BeEventList": () => (/* binding */ BeEventList),
|
|
18399
|
+
/* harmony export */ "BeUiEvent": () => (/* binding */ BeUiEvent)
|
|
18454
18400
|
/* harmony export */ });
|
|
18455
18401
|
/* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UnexpectedErrors */ "../bentley/lib/esm/UnexpectedErrors.js");
|
|
18456
18402
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -18616,9 +18562,9 @@ class BeEventList {
|
|
|
18616
18562
|
"use strict";
|
|
18617
18563
|
__webpack_require__.r(__webpack_exports__);
|
|
18618
18564
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18619
|
-
/* harmony export */ DbOpcode: () => (/* binding */ DbOpcode),
|
|
18620
|
-
/* harmony export */ DbResult: () => (/* binding */ DbResult),
|
|
18621
|
-
/* harmony export */ OpenMode: () => (/* binding */ OpenMode)
|
|
18565
|
+
/* harmony export */ "DbOpcode": () => (/* binding */ DbOpcode),
|
|
18566
|
+
/* harmony export */ "DbResult": () => (/* binding */ DbResult),
|
|
18567
|
+
/* harmony export */ "OpenMode": () => (/* binding */ OpenMode)
|
|
18622
18568
|
/* harmony export */ });
|
|
18623
18569
|
/*---------------------------------------------------------------------------------------------
|
|
18624
18570
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -18815,17 +18761,17 @@ var DbResult;
|
|
|
18815
18761
|
"use strict";
|
|
18816
18762
|
__webpack_require__.r(__webpack_exports__);
|
|
18817
18763
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18818
|
-
/* harmony export */ BentleyError: () => (/* binding */ BentleyError),
|
|
18819
|
-
/* harmony export */ BentleyStatus: () => (/* binding */ BentleyStatus),
|
|
18820
|
-
/* harmony export */ BriefcaseStatus: () => (/* binding */ BriefcaseStatus),
|
|
18821
|
-
/* harmony export */ ChangeSetStatus: () => (/* binding */ ChangeSetStatus),
|
|
18822
|
-
/* harmony export */ GeoServiceStatus: () => (/* binding */ GeoServiceStatus),
|
|
18823
|
-
/* harmony export */ HttpStatus: () => (/* binding */ HttpStatus),
|
|
18824
|
-
/* harmony export */ IModelHubStatus: () => (/* binding */ IModelHubStatus),
|
|
18825
|
-
/* harmony export */ IModelStatus: () => (/* binding */ IModelStatus),
|
|
18826
|
-
/* harmony export */ RealityDataStatus: () => (/* binding */ RealityDataStatus),
|
|
18827
|
-
/* harmony export */ RepositoryStatus: () => (/* binding */ RepositoryStatus),
|
|
18828
|
-
/* harmony export */ RpcInterfaceStatus: () => (/* binding */ RpcInterfaceStatus)
|
|
18764
|
+
/* harmony export */ "BentleyError": () => (/* binding */ BentleyError),
|
|
18765
|
+
/* harmony export */ "BentleyStatus": () => (/* binding */ BentleyStatus),
|
|
18766
|
+
/* harmony export */ "BriefcaseStatus": () => (/* binding */ BriefcaseStatus),
|
|
18767
|
+
/* harmony export */ "ChangeSetStatus": () => (/* binding */ ChangeSetStatus),
|
|
18768
|
+
/* harmony export */ "GeoServiceStatus": () => (/* binding */ GeoServiceStatus),
|
|
18769
|
+
/* harmony export */ "HttpStatus": () => (/* binding */ HttpStatus),
|
|
18770
|
+
/* harmony export */ "IModelHubStatus": () => (/* binding */ IModelHubStatus),
|
|
18771
|
+
/* harmony export */ "IModelStatus": () => (/* binding */ IModelStatus),
|
|
18772
|
+
/* harmony export */ "RealityDataStatus": () => (/* binding */ RealityDataStatus),
|
|
18773
|
+
/* harmony export */ "RepositoryStatus": () => (/* binding */ RepositoryStatus),
|
|
18774
|
+
/* harmony export */ "RpcInterfaceStatus": () => (/* binding */ RpcInterfaceStatus)
|
|
18829
18775
|
/* harmony export */ });
|
|
18830
18776
|
/* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeSQLite */ "../bentley/lib/esm/BeSQLite.js");
|
|
18831
18777
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -19540,7 +19486,7 @@ class BentleyError extends Error {
|
|
|
19540
19486
|
"use strict";
|
|
19541
19487
|
__webpack_require__.r(__webpack_exports__);
|
|
19542
19488
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19543
|
-
/* harmony export */ BentleyLoggerCategory: () => (/* binding */ BentleyLoggerCategory)
|
|
19489
|
+
/* harmony export */ "BentleyLoggerCategory": () => (/* binding */ BentleyLoggerCategory)
|
|
19544
19490
|
/* harmony export */ });
|
|
19545
19491
|
/*---------------------------------------------------------------------------------------------
|
|
19546
19492
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -19571,7 +19517,7 @@ var BentleyLoggerCategory;
|
|
|
19571
19517
|
"use strict";
|
|
19572
19518
|
__webpack_require__.r(__webpack_exports__);
|
|
19573
19519
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19574
|
-
/* harmony export */ ByteStream: () => (/* binding */ ByteStream)
|
|
19520
|
+
/* harmony export */ "ByteStream": () => (/* binding */ ByteStream)
|
|
19575
19521
|
/* harmony export */ });
|
|
19576
19522
|
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
|
|
19577
19523
|
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../bentley/lib/esm/Id.js");
|
|
@@ -19743,8 +19689,8 @@ class ByteStream {
|
|
|
19743
19689
|
"use strict";
|
|
19744
19690
|
__webpack_require__.r(__webpack_exports__);
|
|
19745
19691
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19746
|
-
/* harmony export */ isProperSubclassOf: () => (/* binding */ isProperSubclassOf),
|
|
19747
|
-
/* harmony export */ isSubclassOf: () => (/* binding */ isSubclassOf)
|
|
19692
|
+
/* harmony export */ "isProperSubclassOf": () => (/* binding */ isProperSubclassOf),
|
|
19693
|
+
/* harmony export */ "isSubclassOf": () => (/* binding */ isSubclassOf)
|
|
19748
19694
|
/* harmony export */ });
|
|
19749
19695
|
/*---------------------------------------------------------------------------------------------
|
|
19750
19696
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -19786,15 +19732,15 @@ function isSubclassOf(subclass, superclass) {
|
|
|
19786
19732
|
"use strict";
|
|
19787
19733
|
__webpack_require__.r(__webpack_exports__);
|
|
19788
19734
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19789
|
-
/* harmony export */ areEqualPossiblyUndefined: () => (/* binding */ areEqualPossiblyUndefined),
|
|
19790
|
-
/* harmony export */ compareBooleans: () => (/* binding */ compareBooleans),
|
|
19791
|
-
/* harmony export */ compareBooleansOrUndefined: () => (/* binding */ compareBooleansOrUndefined),
|
|
19792
|
-
/* harmony export */ compareNumbers: () => (/* binding */ compareNumbers),
|
|
19793
|
-
/* harmony export */ compareNumbersOrUndefined: () => (/* binding */ compareNumbersOrUndefined),
|
|
19794
|
-
/* harmony export */ comparePossiblyUndefined: () => (/* binding */ comparePossiblyUndefined),
|
|
19795
|
-
/* harmony export */ compareStrings: () => (/* binding */ compareStrings),
|
|
19796
|
-
/* harmony export */ compareStringsOrUndefined: () => (/* binding */ compareStringsOrUndefined),
|
|
19797
|
-
/* harmony export */ compareWithTolerance: () => (/* binding */ compareWithTolerance)
|
|
19735
|
+
/* harmony export */ "areEqualPossiblyUndefined": () => (/* binding */ areEqualPossiblyUndefined),
|
|
19736
|
+
/* harmony export */ "compareBooleans": () => (/* binding */ compareBooleans),
|
|
19737
|
+
/* harmony export */ "compareBooleansOrUndefined": () => (/* binding */ compareBooleansOrUndefined),
|
|
19738
|
+
/* harmony export */ "compareNumbers": () => (/* binding */ compareNumbers),
|
|
19739
|
+
/* harmony export */ "compareNumbersOrUndefined": () => (/* binding */ compareNumbersOrUndefined),
|
|
19740
|
+
/* harmony export */ "comparePossiblyUndefined": () => (/* binding */ comparePossiblyUndefined),
|
|
19741
|
+
/* harmony export */ "compareStrings": () => (/* binding */ compareStrings),
|
|
19742
|
+
/* harmony export */ "compareStringsOrUndefined": () => (/* binding */ compareStringsOrUndefined),
|
|
19743
|
+
/* harmony export */ "compareWithTolerance": () => (/* binding */ compareWithTolerance)
|
|
19798
19744
|
/* harmony export */ });
|
|
19799
19745
|
/*---------------------------------------------------------------------------------------------
|
|
19800
19746
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -19872,9 +19818,9 @@ function areEqualPossiblyUndefined(t, u, areEqual) {
|
|
|
19872
19818
|
"use strict";
|
|
19873
19819
|
__webpack_require__.r(__webpack_exports__);
|
|
19874
19820
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19875
|
-
/* harmony export */ CompressedId64Set: () => (/* binding */ CompressedId64Set),
|
|
19876
|
-
/* harmony export */ MutableCompressedId64Set: () => (/* binding */ MutableCompressedId64Set),
|
|
19877
|
-
/* harmony export */ OrderedId64Array: () => (/* binding */ OrderedId64Array)
|
|
19821
|
+
/* harmony export */ "CompressedId64Set": () => (/* binding */ CompressedId64Set),
|
|
19822
|
+
/* harmony export */ "MutableCompressedId64Set": () => (/* binding */ MutableCompressedId64Set),
|
|
19823
|
+
/* harmony export */ "OrderedId64Array": () => (/* binding */ OrderedId64Array)
|
|
19878
19824
|
/* harmony export */ });
|
|
19879
19825
|
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
|
|
19880
19826
|
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../bentley/lib/esm/Id.js");
|
|
@@ -20316,7 +20262,7 @@ class MutableCompressedId64Set {
|
|
|
20316
20262
|
"use strict";
|
|
20317
20263
|
__webpack_require__.r(__webpack_exports__);
|
|
20318
20264
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20319
|
-
/* harmony export */ Dictionary: () => (/* binding */ Dictionary)
|
|
20265
|
+
/* harmony export */ "Dictionary": () => (/* binding */ Dictionary)
|
|
20320
20266
|
/* harmony export */ });
|
|
20321
20267
|
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
|
|
20322
20268
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -20531,11 +20477,11 @@ class Dictionary {
|
|
|
20531
20477
|
"use strict";
|
|
20532
20478
|
__webpack_require__.r(__webpack_exports__);
|
|
20533
20479
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20534
|
-
/* harmony export */ DisposableList: () => (/* binding */ DisposableList),
|
|
20535
|
-
/* harmony export */ dispose: () => (/* binding */ dispose),
|
|
20536
|
-
/* harmony export */ disposeArray: () => (/* binding */ disposeArray),
|
|
20537
|
-
/* harmony export */ isIDisposable: () => (/* binding */ isIDisposable),
|
|
20538
|
-
/* harmony export */ using: () => (/* binding */ using)
|
|
20480
|
+
/* harmony export */ "DisposableList": () => (/* binding */ DisposableList),
|
|
20481
|
+
/* harmony export */ "dispose": () => (/* binding */ dispose),
|
|
20482
|
+
/* harmony export */ "disposeArray": () => (/* binding */ disposeArray),
|
|
20483
|
+
/* harmony export */ "isIDisposable": () => (/* binding */ isIDisposable),
|
|
20484
|
+
/* harmony export */ "using": () => (/* binding */ using)
|
|
20539
20485
|
/* harmony export */ });
|
|
20540
20486
|
/*---------------------------------------------------------------------------------------------
|
|
20541
20487
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -20662,9 +20608,9 @@ class DisposableList {
|
|
|
20662
20608
|
"use strict";
|
|
20663
20609
|
__webpack_require__.r(__webpack_exports__);
|
|
20664
20610
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20665
|
-
/* harmony export */ Guid: () => (/* binding */ Guid),
|
|
20666
|
-
/* harmony export */ Id64: () => (/* binding */ Id64),
|
|
20667
|
-
/* harmony export */ TransientIdSequence: () => (/* binding */ TransientIdSequence)
|
|
20611
|
+
/* harmony export */ "Guid": () => (/* binding */ Guid),
|
|
20612
|
+
/* harmony export */ "Id64": () => (/* binding */ Id64),
|
|
20613
|
+
/* harmony export */ "TransientIdSequence": () => (/* binding */ TransientIdSequence)
|
|
20668
20614
|
/* harmony export */ });
|
|
20669
20615
|
/*---------------------------------------------------------------------------------------------
|
|
20670
20616
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -21318,8 +21264,8 @@ var Guid;
|
|
|
21318
21264
|
"use strict";
|
|
21319
21265
|
__webpack_require__.r(__webpack_exports__);
|
|
21320
21266
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21321
|
-
/* harmony export */ IndexMap: () => (/* binding */ IndexMap),
|
|
21322
|
-
/* harmony export */ IndexedValue: () => (/* binding */ IndexedValue)
|
|
21267
|
+
/* harmony export */ "IndexMap": () => (/* binding */ IndexMap),
|
|
21268
|
+
/* harmony export */ "IndexedValue": () => (/* binding */ IndexedValue)
|
|
21323
21269
|
/* harmony export */ });
|
|
21324
21270
|
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
|
|
21325
21271
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -21441,7 +21387,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21441
21387
|
"use strict";
|
|
21442
21388
|
__webpack_require__.r(__webpack_exports__);
|
|
21443
21389
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21444
|
-
/* harmony export */ JsonUtils: () => (/* binding */ JsonUtils)
|
|
21390
|
+
/* harmony export */ "JsonUtils": () => (/* binding */ JsonUtils)
|
|
21445
21391
|
/* harmony export */ });
|
|
21446
21392
|
/*---------------------------------------------------------------------------------------------
|
|
21447
21393
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -21604,10 +21550,10 @@ var JsonUtils;
|
|
|
21604
21550
|
"use strict";
|
|
21605
21551
|
__webpack_require__.r(__webpack_exports__);
|
|
21606
21552
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21607
|
-
/* harmony export */ Entry: () => (/* binding */ Entry),
|
|
21608
|
-
/* harmony export */ LRUCache: () => (/* binding */ LRUCache),
|
|
21609
|
-
/* harmony export */ LRUDictionary: () => (/* binding */ LRUDictionary),
|
|
21610
|
-
/* harmony export */ LRUMap: () => (/* binding */ LRUMap)
|
|
21553
|
+
/* harmony export */ "Entry": () => (/* binding */ Entry),
|
|
21554
|
+
/* harmony export */ "LRUCache": () => (/* binding */ LRUCache),
|
|
21555
|
+
/* harmony export */ "LRUDictionary": () => (/* binding */ LRUDictionary),
|
|
21556
|
+
/* harmony export */ "LRUMap": () => (/* binding */ LRUMap)
|
|
21611
21557
|
/* harmony export */ });
|
|
21612
21558
|
/* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Dictionary */ "../bentley/lib/esm/Dictionary.js");
|
|
21613
21559
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -21949,9 +21895,9 @@ class LRUDictionary extends LRUCache {
|
|
|
21949
21895
|
"use strict";
|
|
21950
21896
|
__webpack_require__.r(__webpack_exports__);
|
|
21951
21897
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21952
|
-
/* harmony export */ LogLevel: () => (/* binding */ LogLevel),
|
|
21953
|
-
/* harmony export */ Logger: () => (/* binding */ Logger),
|
|
21954
|
-
/* harmony export */ PerfLogger: () => (/* binding */ PerfLogger)
|
|
21898
|
+
/* harmony export */ "LogLevel": () => (/* binding */ LogLevel),
|
|
21899
|
+
/* harmony export */ "Logger": () => (/* binding */ Logger),
|
|
21900
|
+
/* harmony export */ "PerfLogger": () => (/* binding */ PerfLogger)
|
|
21955
21901
|
/* harmony export */ });
|
|
21956
21902
|
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../bentley/lib/esm/BentleyError.js");
|
|
21957
21903
|
/* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../bentley/lib/esm/BentleyLoggerCategory.js");
|
|
@@ -22221,7 +22167,7 @@ PerfLogger._severity = LogLevel.Info;
|
|
|
22221
22167
|
"use strict";
|
|
22222
22168
|
__webpack_require__.r(__webpack_exports__);
|
|
22223
22169
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22224
|
-
/* harmony export */ ObservableSet: () => (/* binding */ ObservableSet)
|
|
22170
|
+
/* harmony export */ "ObservableSet": () => (/* binding */ ObservableSet)
|
|
22225
22171
|
/* harmony export */ });
|
|
22226
22172
|
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../bentley/lib/esm/BeEvent.js");
|
|
22227
22173
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -22284,8 +22230,8 @@ class ObservableSet extends Set {
|
|
|
22284
22230
|
"use strict";
|
|
22285
22231
|
__webpack_require__.r(__webpack_exports__);
|
|
22286
22232
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22287
|
-
/* harmony export */ AbandonedError: () => (/* binding */ AbandonedError),
|
|
22288
|
-
/* harmony export */ OneAtATimeAction: () => (/* binding */ OneAtATimeAction)
|
|
22233
|
+
/* harmony export */ "AbandonedError": () => (/* binding */ AbandonedError),
|
|
22234
|
+
/* harmony export */ "OneAtATimeAction": () => (/* binding */ OneAtATimeAction)
|
|
22289
22235
|
/* harmony export */ });
|
|
22290
22236
|
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../bentley/lib/esm/BentleyError.js");
|
|
22291
22237
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -22390,7 +22336,7 @@ class OneAtATimeAction {
|
|
|
22390
22336
|
"use strict";
|
|
22391
22337
|
__webpack_require__.r(__webpack_exports__);
|
|
22392
22338
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22393
|
-
/* harmony export */ OrderedId64Iterable: () => (/* binding */ OrderedId64Iterable)
|
|
22339
|
+
/* harmony export */ "OrderedId64Iterable": () => (/* binding */ OrderedId64Iterable)
|
|
22394
22340
|
/* harmony export */ });
|
|
22395
22341
|
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
|
|
22396
22342
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -22638,8 +22584,8 @@ var OrderedId64Iterable;
|
|
|
22638
22584
|
"use strict";
|
|
22639
22585
|
__webpack_require__.r(__webpack_exports__);
|
|
22640
22586
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22641
|
-
/* harmony export */ OrderedSet: () => (/* binding */ OrderedSet),
|
|
22642
|
-
/* harmony export */ ReadonlyOrderedSet: () => (/* binding */ ReadonlyOrderedSet)
|
|
22587
|
+
/* harmony export */ "OrderedSet": () => (/* binding */ OrderedSet),
|
|
22588
|
+
/* harmony export */ "ReadonlyOrderedSet": () => (/* binding */ ReadonlyOrderedSet)
|
|
22643
22589
|
/* harmony export */ });
|
|
22644
22590
|
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
|
|
22645
22591
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -22714,7 +22660,7 @@ class OrderedSet extends ReadonlyOrderedSet {
|
|
|
22714
22660
|
"use strict";
|
|
22715
22661
|
__webpack_require__.r(__webpack_exports__);
|
|
22716
22662
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22717
|
-
/* harmony export */ PriorityQueue: () => (/* binding */ PriorityQueue)
|
|
22663
|
+
/* harmony export */ "PriorityQueue": () => (/* binding */ PriorityQueue)
|
|
22718
22664
|
/* harmony export */ });
|
|
22719
22665
|
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
|
|
22720
22666
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -22866,7 +22812,7 @@ class PriorityQueue {
|
|
|
22866
22812
|
"use strict";
|
|
22867
22813
|
__webpack_require__.r(__webpack_exports__);
|
|
22868
22814
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22869
|
-
/* harmony export */ ProcessDetector: () => (/* binding */ ProcessDetector)
|
|
22815
|
+
/* harmony export */ "ProcessDetector": () => (/* binding */ ProcessDetector)
|
|
22870
22816
|
/* harmony export */ });
|
|
22871
22817
|
/*---------------------------------------------------------------------------------------------
|
|
22872
22818
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -22948,11 +22894,11 @@ class ProcessDetector {
|
|
|
22948
22894
|
"use strict";
|
|
22949
22895
|
__webpack_require__.r(__webpack_exports__);
|
|
22950
22896
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22951
|
-
/* harmony export */ DuplicatePolicy: () => (/* binding */ DuplicatePolicy),
|
|
22952
|
-
/* harmony export */ ReadonlySortedArray: () => (/* binding */ ReadonlySortedArray),
|
|
22953
|
-
/* harmony export */ SortedArray: () => (/* binding */ SortedArray),
|
|
22954
|
-
/* harmony export */ lowerBound: () => (/* binding */ lowerBound),
|
|
22955
|
-
/* harmony export */ shallowClone: () => (/* binding */ shallowClone)
|
|
22897
|
+
/* harmony export */ "DuplicatePolicy": () => (/* binding */ DuplicatePolicy),
|
|
22898
|
+
/* harmony export */ "ReadonlySortedArray": () => (/* binding */ ReadonlySortedArray),
|
|
22899
|
+
/* harmony export */ "SortedArray": () => (/* binding */ SortedArray),
|
|
22900
|
+
/* harmony export */ "lowerBound": () => (/* binding */ lowerBound),
|
|
22901
|
+
/* harmony export */ "shallowClone": () => (/* binding */ shallowClone)
|
|
22956
22902
|
/* harmony export */ });
|
|
22957
22903
|
/*---------------------------------------------------------------------------------------------
|
|
22958
22904
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -23275,9 +23221,9 @@ class SortedArray extends ReadonlySortedArray {
|
|
|
23275
23221
|
"use strict";
|
|
23276
23222
|
__webpack_require__.r(__webpack_exports__);
|
|
23277
23223
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23278
|
-
/* harmony export */ ErrorCategory: () => (/* binding */ ErrorCategory),
|
|
23279
|
-
/* harmony export */ StatusCategory: () => (/* binding */ StatusCategory),
|
|
23280
|
-
/* harmony export */ SuccessCategory: () => (/* binding */ SuccessCategory)
|
|
23224
|
+
/* harmony export */ "ErrorCategory": () => (/* binding */ ErrorCategory),
|
|
23225
|
+
/* harmony export */ "StatusCategory": () => (/* binding */ StatusCategory),
|
|
23226
|
+
/* harmony export */ "SuccessCategory": () => (/* binding */ SuccessCategory)
|
|
23281
23227
|
/* harmony export */ });
|
|
23282
23228
|
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../bentley/lib/esm/BentleyError.js");
|
|
23283
23229
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -23748,9 +23694,9 @@ function lookupCategory(error) {
|
|
|
23748
23694
|
"use strict";
|
|
23749
23695
|
__webpack_require__.r(__webpack_exports__);
|
|
23750
23696
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23751
|
-
/* harmony export */ base64StringToUint8Array: () => (/* binding */ base64StringToUint8Array),
|
|
23752
|
-
/* harmony export */ utf8ToString: () => (/* binding */ utf8ToString),
|
|
23753
|
-
/* harmony export */ utf8ToStringPolyfill: () => (/* binding */ utf8ToStringPolyfill)
|
|
23697
|
+
/* harmony export */ "base64StringToUint8Array": () => (/* binding */ base64StringToUint8Array),
|
|
23698
|
+
/* harmony export */ "utf8ToString": () => (/* binding */ utf8ToString),
|
|
23699
|
+
/* harmony export */ "utf8ToStringPolyfill": () => (/* binding */ utf8ToStringPolyfill)
|
|
23754
23700
|
/* harmony export */ });
|
|
23755
23701
|
/*---------------------------------------------------------------------------------------------
|
|
23756
23702
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -23907,9 +23853,9 @@ function base64StringToUint8Array(base64) {
|
|
|
23907
23853
|
"use strict";
|
|
23908
23854
|
__webpack_require__.r(__webpack_exports__);
|
|
23909
23855
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23910
|
-
/* harmony export */ BeDuration: () => (/* binding */ BeDuration),
|
|
23911
|
-
/* harmony export */ BeTimePoint: () => (/* binding */ BeTimePoint),
|
|
23912
|
-
/* harmony export */ StopWatch: () => (/* binding */ StopWatch)
|
|
23856
|
+
/* harmony export */ "BeDuration": () => (/* binding */ BeDuration),
|
|
23857
|
+
/* harmony export */ "BeTimePoint": () => (/* binding */ BeTimePoint),
|
|
23858
|
+
/* harmony export */ "StopWatch": () => (/* binding */ StopWatch)
|
|
23913
23859
|
/* harmony export */ });
|
|
23914
23860
|
/*---------------------------------------------------------------------------------------------
|
|
23915
23861
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -24070,8 +24016,8 @@ class StopWatch {
|
|
|
24070
24016
|
"use strict";
|
|
24071
24017
|
__webpack_require__.r(__webpack_exports__);
|
|
24072
24018
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24073
|
-
/* harmony export */ SpanKind: () => (/* binding */ SpanKind),
|
|
24074
|
-
/* harmony export */ Tracing: () => (/* binding */ Tracing)
|
|
24019
|
+
/* harmony export */ "SpanKind": () => (/* binding */ SpanKind),
|
|
24020
|
+
/* harmony export */ "Tracing": () => (/* binding */ Tracing)
|
|
24075
24021
|
/* harmony export */ });
|
|
24076
24022
|
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../bentley/lib/esm/Logger.js");
|
|
24077
24023
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -24237,7 +24183,7 @@ class Tracing {
|
|
|
24237
24183
|
"use strict";
|
|
24238
24184
|
__webpack_require__.r(__webpack_exports__);
|
|
24239
24185
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24240
|
-
/* harmony export */ TupleKeyedMap: () => (/* binding */ TupleKeyedMap)
|
|
24186
|
+
/* harmony export */ "TupleKeyedMap": () => (/* binding */ TupleKeyedMap)
|
|
24241
24187
|
/* harmony export */ });
|
|
24242
24188
|
/*---------------------------------------------------------------------------------------------
|
|
24243
24189
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -24350,11 +24296,11 @@ class TupleKeyedMap {
|
|
|
24350
24296
|
"use strict";
|
|
24351
24297
|
__webpack_require__.r(__webpack_exports__);
|
|
24352
24298
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24353
|
-
/* harmony export */ TypedArrayBuilder: () => (/* binding */ TypedArrayBuilder),
|
|
24354
|
-
/* harmony export */ Uint16ArrayBuilder: () => (/* binding */ Uint16ArrayBuilder),
|
|
24355
|
-
/* harmony export */ Uint32ArrayBuilder: () => (/* binding */ Uint32ArrayBuilder),
|
|
24356
|
-
/* harmony export */ Uint8ArrayBuilder: () => (/* binding */ Uint8ArrayBuilder),
|
|
24357
|
-
/* harmony export */ UintArrayBuilder: () => (/* binding */ UintArrayBuilder)
|
|
24299
|
+
/* harmony export */ "TypedArrayBuilder": () => (/* binding */ TypedArrayBuilder),
|
|
24300
|
+
/* harmony export */ "Uint16ArrayBuilder": () => (/* binding */ Uint16ArrayBuilder),
|
|
24301
|
+
/* harmony export */ "Uint32ArrayBuilder": () => (/* binding */ Uint32ArrayBuilder),
|
|
24302
|
+
/* harmony export */ "Uint8ArrayBuilder": () => (/* binding */ Uint8ArrayBuilder),
|
|
24303
|
+
/* harmony export */ "UintArrayBuilder": () => (/* binding */ UintArrayBuilder)
|
|
24358
24304
|
/* harmony export */ });
|
|
24359
24305
|
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
|
|
24360
24306
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -24568,7 +24514,7 @@ class UintArrayBuilder extends TypedArrayBuilder {
|
|
|
24568
24514
|
"use strict";
|
|
24569
24515
|
__webpack_require__.r(__webpack_exports__);
|
|
24570
24516
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24571
|
-
/* harmony export */ UnexpectedErrors: () => (/* binding */ UnexpectedErrors)
|
|
24517
|
+
/* harmony export */ "UnexpectedErrors": () => (/* binding */ UnexpectedErrors)
|
|
24572
24518
|
/* harmony export */ });
|
|
24573
24519
|
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../bentley/lib/esm/Logger.js");
|
|
24574
24520
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -24649,9 +24595,9 @@ UnexpectedErrors._handler = _a.errorLog; // default to error logging
|
|
|
24649
24595
|
"use strict";
|
|
24650
24596
|
__webpack_require__.r(__webpack_exports__);
|
|
24651
24597
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24652
|
-
/* harmony export */ asInstanceOf: () => (/* binding */ asInstanceOf),
|
|
24653
|
-
/* harmony export */ isInstanceOf: () => (/* binding */ isInstanceOf),
|
|
24654
|
-
/* harmony export */ omit: () => (/* binding */ omit)
|
|
24598
|
+
/* harmony export */ "asInstanceOf": () => (/* binding */ asInstanceOf),
|
|
24599
|
+
/* harmony export */ "isInstanceOf": () => (/* binding */ isInstanceOf),
|
|
24600
|
+
/* harmony export */ "omit": () => (/* binding */ omit)
|
|
24655
24601
|
/* harmony export */ });
|
|
24656
24602
|
/*---------------------------------------------------------------------------------------------
|
|
24657
24603
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -24700,7 +24646,7 @@ function omit(t, keys) {
|
|
|
24700
24646
|
"use strict";
|
|
24701
24647
|
__webpack_require__.r(__webpack_exports__);
|
|
24702
24648
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24703
|
-
/* harmony export */ YieldManager: () => (/* binding */ YieldManager)
|
|
24649
|
+
/* harmony export */ "YieldManager": () => (/* binding */ YieldManager)
|
|
24704
24650
|
/* harmony export */ });
|
|
24705
24651
|
/*---------------------------------------------------------------------------------------------
|
|
24706
24652
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -24753,95 +24699,95 @@ class YieldManager {
|
|
|
24753
24699
|
"use strict";
|
|
24754
24700
|
__webpack_require__.r(__webpack_exports__);
|
|
24755
24701
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24756
|
-
/* harmony export */ AbandonedError: () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.AbandonedError),
|
|
24757
|
-
/* harmony export */ BeDuration: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeDuration),
|
|
24758
|
-
/* harmony export */ BeEvent: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEvent),
|
|
24759
|
-
/* harmony export */ BeEventList: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEventList),
|
|
24760
|
-
/* harmony export */ BeTimePoint: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeTimePoint),
|
|
24761
|
-
/* harmony export */ BeUiEvent: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeUiEvent),
|
|
24762
|
-
/* harmony export */ BentleyError: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyError),
|
|
24763
|
-
/* harmony export */ BentleyLoggerCategory: () => (/* reexport safe */ _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_4__.BentleyLoggerCategory),
|
|
24764
|
-
/* harmony export */ BentleyStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyStatus),
|
|
24765
|
-
/* harmony export */ BriefcaseStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BriefcaseStatus),
|
|
24766
|
-
/* harmony export */ ByteStream: () => (/* reexport safe */ _ByteStream__WEBPACK_IMPORTED_MODULE_7__.ByteStream),
|
|
24767
|
-
/* harmony export */ ChangeSetStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.ChangeSetStatus),
|
|
24768
|
-
/* harmony export */ CompressedId64Set: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.CompressedId64Set),
|
|
24769
|
-
/* harmony export */ DbOpcode: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbOpcode),
|
|
24770
|
-
/* harmony export */ DbResult: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbResult),
|
|
24771
|
-
/* harmony export */ Dictionary: () => (/* reexport safe */ _Dictionary__WEBPACK_IMPORTED_MODULE_11__.Dictionary),
|
|
24772
|
-
/* harmony export */ DisposableList: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.DisposableList),
|
|
24773
|
-
/* harmony export */ DuplicatePolicy: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.DuplicatePolicy),
|
|
24774
|
-
/* harmony export */ Entry: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.Entry),
|
|
24775
|
-
/* harmony export */ ErrorCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.ErrorCategory),
|
|
24776
|
-
/* harmony export */ GeoServiceStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.GeoServiceStatus),
|
|
24777
|
-
/* harmony export */ Guid: () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Guid),
|
|
24778
|
-
/* harmony export */ HttpStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.HttpStatus),
|
|
24779
|
-
/* harmony export */ IModelHubStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelHubStatus),
|
|
24780
|
-
/* harmony export */ IModelStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelStatus),
|
|
24781
|
-
/* harmony export */ Id64: () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Id64),
|
|
24782
|
-
/* harmony export */ IndexMap: () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexMap),
|
|
24783
|
-
/* harmony export */ IndexedValue: () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexedValue),
|
|
24784
|
-
/* harmony export */ JsonUtils: () => (/* reexport safe */ _JsonUtils__WEBPACK_IMPORTED_MODULE_16__.JsonUtils),
|
|
24785
|
-
/* harmony export */ LRUCache: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUCache),
|
|
24786
|
-
/* harmony export */ LRUDictionary: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUDictionary),
|
|
24787
|
-
/* harmony export */ LRUMap: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUMap),
|
|
24788
|
-
/* harmony export */ LogLevel: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.LogLevel),
|
|
24789
|
-
/* harmony export */ Logger: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.Logger),
|
|
24790
|
-
/* harmony export */ MutableCompressedId64Set: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.MutableCompressedId64Set),
|
|
24791
|
-
/* harmony export */ ObservableSet: () => (/* reexport safe */ _ObservableSet__WEBPACK_IMPORTED_MODULE_19__.ObservableSet),
|
|
24792
|
-
/* harmony export */ OneAtATimeAction: () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.OneAtATimeAction),
|
|
24793
|
-
/* harmony export */ OpenMode: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.OpenMode),
|
|
24794
|
-
/* harmony export */ OrderedId64Array: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.OrderedId64Array),
|
|
24795
|
-
/* harmony export */ OrderedId64Iterable: () => (/* reexport safe */ _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_21__.OrderedId64Iterable),
|
|
24796
|
-
/* harmony export */ OrderedSet: () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.OrderedSet),
|
|
24797
|
-
/* harmony export */ PerfLogger: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.PerfLogger),
|
|
24798
|
-
/* harmony export */ PriorityQueue: () => (/* reexport safe */ _PriorityQueue__WEBPACK_IMPORTED_MODULE_24__.PriorityQueue),
|
|
24799
|
-
/* harmony export */ ProcessDetector: () => (/* reexport safe */ _ProcessDetector__WEBPACK_IMPORTED_MODULE_25__.ProcessDetector),
|
|
24800
|
-
/* harmony export */ ReadonlyOrderedSet: () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.ReadonlyOrderedSet),
|
|
24801
|
-
/* harmony export */ ReadonlySortedArray: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.ReadonlySortedArray),
|
|
24802
|
-
/* harmony export */ RealityDataStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RealityDataStatus),
|
|
24803
|
-
/* harmony export */ RepositoryStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RepositoryStatus),
|
|
24804
|
-
/* harmony export */ RpcInterfaceStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RpcInterfaceStatus),
|
|
24805
|
-
/* harmony export */ SortedArray: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.SortedArray),
|
|
24806
|
-
/* harmony export */ SpanKind: () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.SpanKind),
|
|
24807
|
-
/* harmony export */ StatusCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.StatusCategory),
|
|
24808
|
-
/* harmony export */ StopWatch: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.StopWatch),
|
|
24809
|
-
/* harmony export */ SuccessCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.SuccessCategory),
|
|
24810
|
-
/* harmony export */ Tracing: () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.Tracing),
|
|
24811
|
-
/* harmony export */ TransientIdSequence: () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.TransientIdSequence),
|
|
24812
|
-
/* harmony export */ TupleKeyedMap: () => (/* reexport safe */ _TupleKeyedMap__WEBPACK_IMPORTED_MODULE_30__.TupleKeyedMap),
|
|
24813
|
-
/* harmony export */ TypedArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.TypedArrayBuilder),
|
|
24814
|
-
/* harmony export */ Uint16ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint16ArrayBuilder),
|
|
24815
|
-
/* harmony export */ Uint32ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint32ArrayBuilder),
|
|
24816
|
-
/* harmony export */ Uint8ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint8ArrayBuilder),
|
|
24817
|
-
/* harmony export */ UintArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.UintArrayBuilder),
|
|
24818
|
-
/* harmony export */ UnexpectedErrors: () => (/* reexport safe */ _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_32__.UnexpectedErrors),
|
|
24819
|
-
/* harmony export */ YieldManager: () => (/* reexport safe */ _YieldManager__WEBPACK_IMPORTED_MODULE_34__.YieldManager),
|
|
24820
|
-
/* harmony export */ areEqualPossiblyUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.areEqualPossiblyUndefined),
|
|
24821
|
-
/* harmony export */ asInstanceOf: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.asInstanceOf),
|
|
24822
|
-
/* harmony export */ assert: () => (/* reexport safe */ _Assert__WEBPACK_IMPORTED_MODULE_1__.assert),
|
|
24823
|
-
/* harmony export */ base64StringToUint8Array: () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.base64StringToUint8Array),
|
|
24824
|
-
/* harmony export */ compareBooleans: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleans),
|
|
24825
|
-
/* harmony export */ compareBooleansOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleansOrUndefined),
|
|
24826
|
-
/* harmony export */ compareNumbers: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbers),
|
|
24827
|
-
/* harmony export */ compareNumbersOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbersOrUndefined),
|
|
24828
|
-
/* harmony export */ comparePossiblyUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.comparePossiblyUndefined),
|
|
24829
|
-
/* harmony export */ compareStrings: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStrings),
|
|
24830
|
-
/* harmony export */ compareStringsOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStringsOrUndefined),
|
|
24831
|
-
/* harmony export */ compareWithTolerance: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareWithTolerance),
|
|
24832
|
-
/* harmony export */ dispose: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.dispose),
|
|
24833
|
-
/* harmony export */ disposeArray: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.disposeArray),
|
|
24834
|
-
/* harmony export */ isIDisposable: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.isIDisposable),
|
|
24835
|
-
/* harmony export */ isInstanceOf: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.isInstanceOf),
|
|
24836
|
-
/* harmony export */ isProperSubclassOf: () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isProperSubclassOf),
|
|
24837
|
-
/* harmony export */ isSubclassOf: () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isSubclassOf),
|
|
24838
|
-
/* harmony export */ lowerBound: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.lowerBound),
|
|
24839
|
-
/* harmony export */ omit: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.omit),
|
|
24840
|
-
/* harmony export */ partitionArray: () => (/* reexport safe */ _partitionArray__WEBPACK_IMPORTED_MODULE_23__.partitionArray),
|
|
24841
|
-
/* harmony export */ shallowClone: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.shallowClone),
|
|
24842
|
-
/* harmony export */ using: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.using),
|
|
24843
|
-
/* harmony export */ utf8ToString: () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.utf8ToString),
|
|
24844
|
-
/* harmony export */ utf8ToStringPolyfill: () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.utf8ToStringPolyfill)
|
|
24702
|
+
/* harmony export */ "AbandonedError": () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.AbandonedError),
|
|
24703
|
+
/* harmony export */ "BeDuration": () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeDuration),
|
|
24704
|
+
/* harmony export */ "BeEvent": () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEvent),
|
|
24705
|
+
/* harmony export */ "BeEventList": () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEventList),
|
|
24706
|
+
/* harmony export */ "BeTimePoint": () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeTimePoint),
|
|
24707
|
+
/* harmony export */ "BeUiEvent": () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeUiEvent),
|
|
24708
|
+
/* harmony export */ "BentleyError": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyError),
|
|
24709
|
+
/* harmony export */ "BentleyLoggerCategory": () => (/* reexport safe */ _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_4__.BentleyLoggerCategory),
|
|
24710
|
+
/* harmony export */ "BentleyStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyStatus),
|
|
24711
|
+
/* harmony export */ "BriefcaseStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BriefcaseStatus),
|
|
24712
|
+
/* harmony export */ "ByteStream": () => (/* reexport safe */ _ByteStream__WEBPACK_IMPORTED_MODULE_7__.ByteStream),
|
|
24713
|
+
/* harmony export */ "ChangeSetStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.ChangeSetStatus),
|
|
24714
|
+
/* harmony export */ "CompressedId64Set": () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.CompressedId64Set),
|
|
24715
|
+
/* harmony export */ "DbOpcode": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbOpcode),
|
|
24716
|
+
/* harmony export */ "DbResult": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbResult),
|
|
24717
|
+
/* harmony export */ "Dictionary": () => (/* reexport safe */ _Dictionary__WEBPACK_IMPORTED_MODULE_11__.Dictionary),
|
|
24718
|
+
/* harmony export */ "DisposableList": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.DisposableList),
|
|
24719
|
+
/* harmony export */ "DuplicatePolicy": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.DuplicatePolicy),
|
|
24720
|
+
/* harmony export */ "Entry": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.Entry),
|
|
24721
|
+
/* harmony export */ "ErrorCategory": () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.ErrorCategory),
|
|
24722
|
+
/* harmony export */ "GeoServiceStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.GeoServiceStatus),
|
|
24723
|
+
/* harmony export */ "Guid": () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Guid),
|
|
24724
|
+
/* harmony export */ "HttpStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.HttpStatus),
|
|
24725
|
+
/* harmony export */ "IModelHubStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelHubStatus),
|
|
24726
|
+
/* harmony export */ "IModelStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelStatus),
|
|
24727
|
+
/* harmony export */ "Id64": () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Id64),
|
|
24728
|
+
/* harmony export */ "IndexMap": () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexMap),
|
|
24729
|
+
/* harmony export */ "IndexedValue": () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexedValue),
|
|
24730
|
+
/* harmony export */ "JsonUtils": () => (/* reexport safe */ _JsonUtils__WEBPACK_IMPORTED_MODULE_16__.JsonUtils),
|
|
24731
|
+
/* harmony export */ "LRUCache": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUCache),
|
|
24732
|
+
/* harmony export */ "LRUDictionary": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUDictionary),
|
|
24733
|
+
/* harmony export */ "LRUMap": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUMap),
|
|
24734
|
+
/* harmony export */ "LogLevel": () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.LogLevel),
|
|
24735
|
+
/* harmony export */ "Logger": () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.Logger),
|
|
24736
|
+
/* harmony export */ "MutableCompressedId64Set": () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.MutableCompressedId64Set),
|
|
24737
|
+
/* harmony export */ "ObservableSet": () => (/* reexport safe */ _ObservableSet__WEBPACK_IMPORTED_MODULE_19__.ObservableSet),
|
|
24738
|
+
/* harmony export */ "OneAtATimeAction": () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.OneAtATimeAction),
|
|
24739
|
+
/* harmony export */ "OpenMode": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.OpenMode),
|
|
24740
|
+
/* harmony export */ "OrderedId64Array": () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.OrderedId64Array),
|
|
24741
|
+
/* harmony export */ "OrderedId64Iterable": () => (/* reexport safe */ _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_21__.OrderedId64Iterable),
|
|
24742
|
+
/* harmony export */ "OrderedSet": () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.OrderedSet),
|
|
24743
|
+
/* harmony export */ "PerfLogger": () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.PerfLogger),
|
|
24744
|
+
/* harmony export */ "PriorityQueue": () => (/* reexport safe */ _PriorityQueue__WEBPACK_IMPORTED_MODULE_24__.PriorityQueue),
|
|
24745
|
+
/* harmony export */ "ProcessDetector": () => (/* reexport safe */ _ProcessDetector__WEBPACK_IMPORTED_MODULE_25__.ProcessDetector),
|
|
24746
|
+
/* harmony export */ "ReadonlyOrderedSet": () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.ReadonlyOrderedSet),
|
|
24747
|
+
/* harmony export */ "ReadonlySortedArray": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.ReadonlySortedArray),
|
|
24748
|
+
/* harmony export */ "RealityDataStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RealityDataStatus),
|
|
24749
|
+
/* harmony export */ "RepositoryStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RepositoryStatus),
|
|
24750
|
+
/* harmony export */ "RpcInterfaceStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RpcInterfaceStatus),
|
|
24751
|
+
/* harmony export */ "SortedArray": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.SortedArray),
|
|
24752
|
+
/* harmony export */ "SpanKind": () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.SpanKind),
|
|
24753
|
+
/* harmony export */ "StatusCategory": () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.StatusCategory),
|
|
24754
|
+
/* harmony export */ "StopWatch": () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.StopWatch),
|
|
24755
|
+
/* harmony export */ "SuccessCategory": () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.SuccessCategory),
|
|
24756
|
+
/* harmony export */ "Tracing": () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.Tracing),
|
|
24757
|
+
/* harmony export */ "TransientIdSequence": () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.TransientIdSequence),
|
|
24758
|
+
/* harmony export */ "TupleKeyedMap": () => (/* reexport safe */ _TupleKeyedMap__WEBPACK_IMPORTED_MODULE_30__.TupleKeyedMap),
|
|
24759
|
+
/* harmony export */ "TypedArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.TypedArrayBuilder),
|
|
24760
|
+
/* harmony export */ "Uint16ArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint16ArrayBuilder),
|
|
24761
|
+
/* harmony export */ "Uint32ArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint32ArrayBuilder),
|
|
24762
|
+
/* harmony export */ "Uint8ArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint8ArrayBuilder),
|
|
24763
|
+
/* harmony export */ "UintArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.UintArrayBuilder),
|
|
24764
|
+
/* harmony export */ "UnexpectedErrors": () => (/* reexport safe */ _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_32__.UnexpectedErrors),
|
|
24765
|
+
/* harmony export */ "YieldManager": () => (/* reexport safe */ _YieldManager__WEBPACK_IMPORTED_MODULE_34__.YieldManager),
|
|
24766
|
+
/* harmony export */ "areEqualPossiblyUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.areEqualPossiblyUndefined),
|
|
24767
|
+
/* harmony export */ "asInstanceOf": () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.asInstanceOf),
|
|
24768
|
+
/* harmony export */ "assert": () => (/* reexport safe */ _Assert__WEBPACK_IMPORTED_MODULE_1__.assert),
|
|
24769
|
+
/* harmony export */ "base64StringToUint8Array": () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.base64StringToUint8Array),
|
|
24770
|
+
/* harmony export */ "compareBooleans": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleans),
|
|
24771
|
+
/* harmony export */ "compareBooleansOrUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleansOrUndefined),
|
|
24772
|
+
/* harmony export */ "compareNumbers": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbers),
|
|
24773
|
+
/* harmony export */ "compareNumbersOrUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbersOrUndefined),
|
|
24774
|
+
/* harmony export */ "comparePossiblyUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.comparePossiblyUndefined),
|
|
24775
|
+
/* harmony export */ "compareStrings": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStrings),
|
|
24776
|
+
/* harmony export */ "compareStringsOrUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStringsOrUndefined),
|
|
24777
|
+
/* harmony export */ "compareWithTolerance": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareWithTolerance),
|
|
24778
|
+
/* harmony export */ "dispose": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.dispose),
|
|
24779
|
+
/* harmony export */ "disposeArray": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.disposeArray),
|
|
24780
|
+
/* harmony export */ "isIDisposable": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.isIDisposable),
|
|
24781
|
+
/* harmony export */ "isInstanceOf": () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.isInstanceOf),
|
|
24782
|
+
/* harmony export */ "isProperSubclassOf": () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isProperSubclassOf),
|
|
24783
|
+
/* harmony export */ "isSubclassOf": () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isSubclassOf),
|
|
24784
|
+
/* harmony export */ "lowerBound": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.lowerBound),
|
|
24785
|
+
/* harmony export */ "omit": () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.omit),
|
|
24786
|
+
/* harmony export */ "partitionArray": () => (/* reexport safe */ _partitionArray__WEBPACK_IMPORTED_MODULE_23__.partitionArray),
|
|
24787
|
+
/* harmony export */ "shallowClone": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.shallowClone),
|
|
24788
|
+
/* harmony export */ "using": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.using),
|
|
24789
|
+
/* harmony export */ "utf8ToString": () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.utf8ToString),
|
|
24790
|
+
/* harmony export */ "utf8ToStringPolyfill": () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.utf8ToStringPolyfill)
|
|
24845
24791
|
/* harmony export */ });
|
|
24846
24792
|
/* harmony import */ var _AccessToken__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccessToken */ "../bentley/lib/esm/AccessToken.js");
|
|
24847
24793
|
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
|
|
@@ -24969,7 +24915,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24969
24915
|
"use strict";
|
|
24970
24916
|
__webpack_require__.r(__webpack_exports__);
|
|
24971
24917
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24972
|
-
/* harmony export */ partitionArray: () => (/* binding */ partitionArray)
|
|
24918
|
+
/* harmony export */ "partitionArray": () => (/* binding */ partitionArray)
|
|
24973
24919
|
/* harmony export */ });
|
|
24974
24920
|
/*---------------------------------------------------------------------------------------------
|
|
24975
24921
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -25024,9 +24970,9 @@ function partitionArray(array, criterion) {
|
|
|
25024
24970
|
|
|
25025
24971
|
/***/ }),
|
|
25026
24972
|
|
|
25027
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
24973
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
|
|
25028
24974
|
/*!**************************************************************************************************************************!*\
|
|
25029
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
24975
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
|
|
25030
24976
|
\**************************************************************************************************************************/
|
|
25031
24977
|
/***/ ((module) => {
|
|
25032
24978
|
|
|
@@ -25039,9 +24985,9 @@ module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exp
|
|
|
25039
24985
|
|
|
25040
24986
|
/***/ }),
|
|
25041
24987
|
|
|
25042
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
24988
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
|
|
25043
24989
|
/*!************************************************************************************************************************!*\
|
|
25044
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
24990
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
|
|
25045
24991
|
\************************************************************************************************************************/
|
|
25046
24992
|
/***/ ((module) => {
|
|
25047
24993
|
|
|
@@ -25052,9 +24998,9 @@ module.exports = _arrayWithHoles, module.exports.__esModule = true, module.expor
|
|
|
25052
24998
|
|
|
25053
24999
|
/***/ }),
|
|
25054
25000
|
|
|
25055
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25001
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
|
|
25056
25002
|
/*!*******************************************************************************************************************************!*\
|
|
25057
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25003
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
|
|
25058
25004
|
\*******************************************************************************************************************************/
|
|
25059
25005
|
/***/ ((module) => {
|
|
25060
25006
|
|
|
@@ -25068,9 +25014,9 @@ module.exports = _assertThisInitialized, module.exports.__esModule = true, modul
|
|
|
25068
25014
|
|
|
25069
25015
|
/***/ }),
|
|
25070
25016
|
|
|
25071
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25017
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/classCallCheck.js":
|
|
25072
25018
|
/*!************************************************************************************************************************!*\
|
|
25073
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25019
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
|
|
25074
25020
|
\************************************************************************************************************************/
|
|
25075
25021
|
/***/ ((module) => {
|
|
25076
25022
|
|
|
@@ -25083,13 +25029,13 @@ module.exports = _classCallCheck, module.exports.__esModule = true, module.expor
|
|
|
25083
25029
|
|
|
25084
25030
|
/***/ }),
|
|
25085
25031
|
|
|
25086
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25032
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/createClass.js":
|
|
25087
25033
|
/*!*********************************************************************************************************************!*\
|
|
25088
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25034
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/createClass.js ***!
|
|
25089
25035
|
\*********************************************************************************************************************/
|
|
25090
25036
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25091
25037
|
|
|
25092
|
-
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25038
|
+
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/toPropertyKey.js");
|
|
25093
25039
|
function _defineProperties(target, props) {
|
|
25094
25040
|
for (var i = 0; i < props.length; i++) {
|
|
25095
25041
|
var descriptor = props[i];
|
|
@@ -25111,13 +25057,13 @@ module.exports = _createClass, module.exports.__esModule = true, module.exports[
|
|
|
25111
25057
|
|
|
25112
25058
|
/***/ }),
|
|
25113
25059
|
|
|
25114
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25060
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/defineProperty.js":
|
|
25115
25061
|
/*!************************************************************************************************************************!*\
|
|
25116
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25062
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/defineProperty.js ***!
|
|
25117
25063
|
\************************************************************************************************************************/
|
|
25118
25064
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25119
25065
|
|
|
25120
|
-
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25066
|
+
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/toPropertyKey.js");
|
|
25121
25067
|
function _defineProperty(obj, key, value) {
|
|
25122
25068
|
key = toPropertyKey(key);
|
|
25123
25069
|
if (key in obj) {
|
|
@@ -25136,9 +25082,9 @@ module.exports = _defineProperty, module.exports.__esModule = true, module.expor
|
|
|
25136
25082
|
|
|
25137
25083
|
/***/ }),
|
|
25138
25084
|
|
|
25139
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25085
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
|
|
25140
25086
|
/*!************************************************************************************************************************!*\
|
|
25141
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25087
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
|
|
25142
25088
|
\************************************************************************************************************************/
|
|
25143
25089
|
/***/ ((module) => {
|
|
25144
25090
|
|
|
@@ -25152,13 +25098,13 @@ module.exports = _getPrototypeOf, module.exports.__esModule = true, module.expor
|
|
|
25152
25098
|
|
|
25153
25099
|
/***/ }),
|
|
25154
25100
|
|
|
25155
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25101
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/inherits.js":
|
|
25156
25102
|
/*!******************************************************************************************************************!*\
|
|
25157
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25103
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/inherits.js ***!
|
|
25158
25104
|
\******************************************************************************************************************/
|
|
25159
25105
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25160
25106
|
|
|
25161
|
-
var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25107
|
+
var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
|
|
25162
25108
|
function _inherits(subClass, superClass) {
|
|
25163
25109
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
25164
25110
|
throw new TypeError("Super expression must either be null or a function");
|
|
@@ -25179,9 +25125,9 @@ module.exports = _inherits, module.exports.__esModule = true, module.exports["de
|
|
|
25179
25125
|
|
|
25180
25126
|
/***/ }),
|
|
25181
25127
|
|
|
25182
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25128
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/iterableToArray.js":
|
|
25183
25129
|
/*!*************************************************************************************************************************!*\
|
|
25184
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25130
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
|
|
25185
25131
|
\*************************************************************************************************************************/
|
|
25186
25132
|
/***/ ((module) => {
|
|
25187
25133
|
|
|
@@ -25192,9 +25138,9 @@ module.exports = _iterableToArray, module.exports.__esModule = true, module.expo
|
|
|
25192
25138
|
|
|
25193
25139
|
/***/ }),
|
|
25194
25140
|
|
|
25195
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25141
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/nonIterableRest.js":
|
|
25196
25142
|
/*!*************************************************************************************************************************!*\
|
|
25197
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25143
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
|
|
25198
25144
|
\*************************************************************************************************************************/
|
|
25199
25145
|
/***/ ((module) => {
|
|
25200
25146
|
|
|
@@ -25205,14 +25151,14 @@ module.exports = _nonIterableRest, module.exports.__esModule = true, module.expo
|
|
|
25205
25151
|
|
|
25206
25152
|
/***/ }),
|
|
25207
25153
|
|
|
25208
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25154
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
|
|
25209
25155
|
/*!***********************************************************************************************************************************!*\
|
|
25210
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25156
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
|
|
25211
25157
|
\***********************************************************************************************************************************/
|
|
25212
25158
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25213
25159
|
|
|
25214
|
-
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25215
|
-
var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25160
|
+
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
|
|
25161
|
+
var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
|
|
25216
25162
|
function _possibleConstructorReturn(self, call) {
|
|
25217
25163
|
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
25218
25164
|
return call;
|
|
@@ -25225,9 +25171,9 @@ module.exports = _possibleConstructorReturn, module.exports.__esModule = true, m
|
|
|
25225
25171
|
|
|
25226
25172
|
/***/ }),
|
|
25227
25173
|
|
|
25228
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25174
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
|
|
25229
25175
|
/*!************************************************************************************************************************!*\
|
|
25230
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25176
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
|
|
25231
25177
|
\************************************************************************************************************************/
|
|
25232
25178
|
/***/ ((module) => {
|
|
25233
25179
|
|
|
@@ -25242,16 +25188,16 @@ module.exports = _setPrototypeOf, module.exports.__esModule = true, module.expor
|
|
|
25242
25188
|
|
|
25243
25189
|
/***/ }),
|
|
25244
25190
|
|
|
25245
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25191
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/toArray.js":
|
|
25246
25192
|
/*!*****************************************************************************************************************!*\
|
|
25247
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25193
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/toArray.js ***!
|
|
25248
25194
|
\*****************************************************************************************************************/
|
|
25249
25195
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25250
25196
|
|
|
25251
|
-
var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25252
|
-
var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25253
|
-
var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25254
|
-
var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25197
|
+
var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
|
|
25198
|
+
var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/iterableToArray.js");
|
|
25199
|
+
var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
|
|
25200
|
+
var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/nonIterableRest.js");
|
|
25255
25201
|
function _toArray(arr) {
|
|
25256
25202
|
return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
|
|
25257
25203
|
}
|
|
@@ -25259,13 +25205,13 @@ module.exports = _toArray, module.exports.__esModule = true, module.exports["def
|
|
|
25259
25205
|
|
|
25260
25206
|
/***/ }),
|
|
25261
25207
|
|
|
25262
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25208
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/toPrimitive.js":
|
|
25263
25209
|
/*!*********************************************************************************************************************!*\
|
|
25264
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25210
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
|
|
25265
25211
|
\*********************************************************************************************************************/
|
|
25266
25212
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25267
25213
|
|
|
25268
|
-
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25214
|
+
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
|
|
25269
25215
|
function _toPrimitive(input, hint) {
|
|
25270
25216
|
if (_typeof(input) !== "object" || input === null) return input;
|
|
25271
25217
|
var prim = input[Symbol.toPrimitive];
|
|
@@ -25280,14 +25226,14 @@ module.exports = _toPrimitive, module.exports.__esModule = true, module.exports[
|
|
|
25280
25226
|
|
|
25281
25227
|
/***/ }),
|
|
25282
25228
|
|
|
25283
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25229
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/toPropertyKey.js":
|
|
25284
25230
|
/*!***********************************************************************************************************************!*\
|
|
25285
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25231
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
|
|
25286
25232
|
\***********************************************************************************************************************/
|
|
25287
25233
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25288
25234
|
|
|
25289
|
-
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25290
|
-
var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25235
|
+
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
|
|
25236
|
+
var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/toPrimitive.js");
|
|
25291
25237
|
function _toPropertyKey(arg) {
|
|
25292
25238
|
var key = toPrimitive(arg, "string");
|
|
25293
25239
|
return _typeof(key) === "symbol" ? key : String(key);
|
|
@@ -25296,9 +25242,9 @@ module.exports = _toPropertyKey, module.exports.__esModule = true, module.export
|
|
|
25296
25242
|
|
|
25297
25243
|
/***/ }),
|
|
25298
25244
|
|
|
25299
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25245
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/typeof.js":
|
|
25300
25246
|
/*!****************************************************************************************************************!*\
|
|
25301
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25247
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/typeof.js ***!
|
|
25302
25248
|
\****************************************************************************************************************/
|
|
25303
25249
|
/***/ ((module) => {
|
|
25304
25250
|
|
|
@@ -25315,13 +25261,13 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
|
|
|
25315
25261
|
|
|
25316
25262
|
/***/ }),
|
|
25317
25263
|
|
|
25318
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25264
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
|
|
25319
25265
|
/*!************************************************************************************************************************************!*\
|
|
25320
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25266
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
|
|
25321
25267
|
\************************************************************************************************************************************/
|
|
25322
25268
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25323
25269
|
|
|
25324
|
-
var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.
|
|
25270
|
+
var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
|
|
25325
25271
|
function _unsupportedIterableToArray(o, minLen) {
|
|
25326
25272
|
if (!o) return;
|
|
25327
25273
|
if (typeof o === "string") return arrayLikeToArray(o, minLen);
|
|
@@ -25334,9 +25280,9 @@ module.exports = _unsupportedIterableToArray, module.exports.__esModule = true,
|
|
|
25334
25280
|
|
|
25335
25281
|
/***/ }),
|
|
25336
25282
|
|
|
25337
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
25283
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/getFetch.js":
|
|
25338
25284
|
/*!*************************************************************************************************************************!*\
|
|
25339
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
25285
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/getFetch.js ***!
|
|
25340
25286
|
\*************************************************************************************************************************/
|
|
25341
25287
|
/***/ ((module, exports, __webpack_require__) => {
|
|
25342
25288
|
|
|
@@ -25361,9 +25307,9 @@ if ( true && (typeof window === 'undefined' || typeof window.document === 'undef
|
|
|
25361
25307
|
|
|
25362
25308
|
/***/ }),
|
|
25363
25309
|
|
|
25364
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
25310
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/index.js":
|
|
25365
25311
|
/*!**********************************************************************************************************************!*\
|
|
25366
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
25312
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/index.js ***!
|
|
25367
25313
|
\**********************************************************************************************************************/
|
|
25368
25314
|
/***/ ((module, exports, __webpack_require__) => {
|
|
25369
25315
|
|
|
@@ -25374,13 +25320,21 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
25374
25320
|
value: true
|
|
25375
25321
|
}));
|
|
25376
25322
|
exports["default"] = void 0;
|
|
25377
|
-
|
|
25378
|
-
var
|
|
25323
|
+
|
|
25324
|
+
var _utils = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/utils.js");
|
|
25325
|
+
|
|
25326
|
+
var _request = _interopRequireDefault(__webpack_require__(/*! ./request.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/request.js"));
|
|
25327
|
+
|
|
25379
25328
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25329
|
+
|
|
25380
25330
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
25331
|
+
|
|
25381
25332
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
25333
|
+
|
|
25382
25334
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25335
|
+
|
|
25383
25336
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
25337
|
+
|
|
25384
25338
|
var getDefaults = function getDefaults() {
|
|
25385
25339
|
return {
|
|
25386
25340
|
loadPath: '/locales/{{lng}}/{{ns}}.json',
|
|
@@ -25407,26 +25361,32 @@ var getDefaults = function getDefaults() {
|
|
|
25407
25361
|
}
|
|
25408
25362
|
};
|
|
25409
25363
|
};
|
|
25364
|
+
|
|
25410
25365
|
var Backend = function () {
|
|
25411
25366
|
function Backend(services) {
|
|
25412
25367
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
25413
25368
|
var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
25369
|
+
|
|
25414
25370
|
_classCallCheck(this, Backend);
|
|
25371
|
+
|
|
25415
25372
|
this.services = services;
|
|
25416
25373
|
this.options = options;
|
|
25417
25374
|
this.allOptions = allOptions;
|
|
25418
25375
|
this.type = 'backend';
|
|
25419
25376
|
this.init(services, options, allOptions);
|
|
25420
25377
|
}
|
|
25378
|
+
|
|
25421
25379
|
_createClass(Backend, [{
|
|
25422
25380
|
key: "init",
|
|
25423
25381
|
value: function init(services) {
|
|
25424
25382
|
var _this = this;
|
|
25383
|
+
|
|
25425
25384
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
25426
25385
|
var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
25427
25386
|
this.services = services;
|
|
25428
25387
|
this.options = (0, _utils.defaults)(options, this.options || {}, getDefaults());
|
|
25429
25388
|
this.allOptions = allOptions;
|
|
25389
|
+
|
|
25430
25390
|
if (this.services && this.options.reloadInterval) {
|
|
25431
25391
|
setInterval(function () {
|
|
25432
25392
|
return _this.reload();
|
|
@@ -25447,17 +25407,22 @@ var Backend = function () {
|
|
|
25447
25407
|
key: "_readAny",
|
|
25448
25408
|
value: function _readAny(languages, loadUrlLanguages, namespaces, loadUrlNamespaces, callback) {
|
|
25449
25409
|
var _this2 = this;
|
|
25410
|
+
|
|
25450
25411
|
var loadPath = this.options.loadPath;
|
|
25412
|
+
|
|
25451
25413
|
if (typeof this.options.loadPath === 'function') {
|
|
25452
25414
|
loadPath = this.options.loadPath(languages, namespaces);
|
|
25453
25415
|
}
|
|
25416
|
+
|
|
25454
25417
|
loadPath = (0, _utils.makePromise)(loadPath);
|
|
25455
25418
|
loadPath.then(function (resolvedLoadPath) {
|
|
25456
25419
|
if (!resolvedLoadPath) return callback(null, {});
|
|
25420
|
+
|
|
25457
25421
|
var url = _this2.services.interpolator.interpolate(resolvedLoadPath, {
|
|
25458
25422
|
lng: languages.join('+'),
|
|
25459
25423
|
ns: namespaces.join('+')
|
|
25460
25424
|
});
|
|
25425
|
+
|
|
25461
25426
|
_this2.loadUrl(url, callback, loadUrlLanguages, loadUrlNamespaces);
|
|
25462
25427
|
});
|
|
25463
25428
|
}
|
|
@@ -25465,12 +25430,14 @@ var Backend = function () {
|
|
|
25465
25430
|
key: "loadUrl",
|
|
25466
25431
|
value: function loadUrl(url, callback, languages, namespaces) {
|
|
25467
25432
|
var _this3 = this;
|
|
25433
|
+
|
|
25468
25434
|
this.options.request(this.options, url, undefined, function (err, res) {
|
|
25469
25435
|
if (res && (res.status >= 500 && res.status < 600 || !res.status)) return callback('failed loading ' + url + '; status code: ' + res.status, true);
|
|
25470
25436
|
if (res && res.status >= 400 && res.status < 500) return callback('failed loading ' + url + '; status code: ' + res.status, false);
|
|
25471
25437
|
if (!res && err && err.message && err.message.indexOf('Failed to fetch') > -1) return callback('failed loading ' + url + ': ' + err.message, true);
|
|
25472
25438
|
if (err) return callback(err, false);
|
|
25473
25439
|
var ret, parseErr;
|
|
25440
|
+
|
|
25474
25441
|
try {
|
|
25475
25442
|
if (typeof res.data === 'string') {
|
|
25476
25443
|
ret = _this3.options.parse(res.data, languages, namespaces);
|
|
@@ -25480,6 +25447,7 @@ var Backend = function () {
|
|
|
25480
25447
|
} catch (e) {
|
|
25481
25448
|
parseErr = 'failed parsing ' + url + ' to json';
|
|
25482
25449
|
}
|
|
25450
|
+
|
|
25483
25451
|
if (parseErr) return callback(parseErr, false);
|
|
25484
25452
|
callback(null, ret);
|
|
25485
25453
|
});
|
|
@@ -25488,6 +25456,7 @@ var Backend = function () {
|
|
|
25488
25456
|
key: "create",
|
|
25489
25457
|
value: function create(languages, namespace, key, fallbackValue, callback) {
|
|
25490
25458
|
var _this4 = this;
|
|
25459
|
+
|
|
25491
25460
|
if (!this.options.addPath) return;
|
|
25492
25461
|
if (typeof languages === 'string') languages = [languages];
|
|
25493
25462
|
var payload = this.options.parsePayload(namespace, key, fallbackValue);
|
|
@@ -25496,17 +25465,21 @@ var Backend = function () {
|
|
|
25496
25465
|
var resArray = [];
|
|
25497
25466
|
languages.forEach(function (lng) {
|
|
25498
25467
|
var addPath = _this4.options.addPath;
|
|
25468
|
+
|
|
25499
25469
|
if (typeof _this4.options.addPath === 'function') {
|
|
25500
25470
|
addPath = _this4.options.addPath(lng, namespace);
|
|
25501
25471
|
}
|
|
25472
|
+
|
|
25502
25473
|
var url = _this4.services.interpolator.interpolate(addPath, {
|
|
25503
25474
|
lng: lng,
|
|
25504
25475
|
ns: namespace
|
|
25505
25476
|
});
|
|
25477
|
+
|
|
25506
25478
|
_this4.options.request(_this4.options, url, payload, function (data, res) {
|
|
25507
25479
|
finished += 1;
|
|
25508
25480
|
dataArray.push(data);
|
|
25509
25481
|
resArray.push(res);
|
|
25482
|
+
|
|
25510
25483
|
if (finished === languages.length) {
|
|
25511
25484
|
if (callback) callback(dataArray, resArray);
|
|
25512
25485
|
}
|
|
@@ -25517,20 +25490,22 @@ var Backend = function () {
|
|
|
25517
25490
|
key: "reload",
|
|
25518
25491
|
value: function reload() {
|
|
25519
25492
|
var _this5 = this;
|
|
25493
|
+
|
|
25520
25494
|
var _this$services = this.services,
|
|
25521
|
-
|
|
25522
|
-
|
|
25523
|
-
|
|
25495
|
+
backendConnector = _this$services.backendConnector,
|
|
25496
|
+
languageUtils = _this$services.languageUtils,
|
|
25497
|
+
logger = _this$services.logger;
|
|
25524
25498
|
var currentLanguage = backendConnector.language;
|
|
25525
25499
|
if (currentLanguage && currentLanguage.toLowerCase() === 'cimode') return;
|
|
25526
|
-
|
|
25527
25500
|
var toLoad = [];
|
|
25501
|
+
|
|
25528
25502
|
var append = function append(lng) {
|
|
25529
25503
|
var lngs = languageUtils.toResolveHierarchy(lng);
|
|
25530
25504
|
lngs.forEach(function (l) {
|
|
25531
25505
|
if (toLoad.indexOf(l) < 0) toLoad.push(l);
|
|
25532
25506
|
});
|
|
25533
25507
|
};
|
|
25508
|
+
|
|
25534
25509
|
append(currentLanguage);
|
|
25535
25510
|
if (this.allOptions.preload) this.allOptions.preload.forEach(function (l) {
|
|
25536
25511
|
return append(l);
|
|
@@ -25546,8 +25521,10 @@ var Backend = function () {
|
|
|
25546
25521
|
});
|
|
25547
25522
|
}
|
|
25548
25523
|
}]);
|
|
25524
|
+
|
|
25549
25525
|
return Backend;
|
|
25550
25526
|
}();
|
|
25527
|
+
|
|
25551
25528
|
Backend.type = 'backend';
|
|
25552
25529
|
var _default = Backend;
|
|
25553
25530
|
exports["default"] = _default;
|
|
@@ -25555,9 +25532,9 @@ module.exports = exports.default;
|
|
|
25555
25532
|
|
|
25556
25533
|
/***/ }),
|
|
25557
25534
|
|
|
25558
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
25535
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/request.js":
|
|
25559
25536
|
/*!************************************************************************************************************************!*\
|
|
25560
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
25537
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/request.js ***!
|
|
25561
25538
|
\************************************************************************************************************************/
|
|
25562
25539
|
/***/ ((module, exports, __webpack_require__) => {
|
|
25563
25540
|
|
|
@@ -25568,12 +25545,19 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
25568
25545
|
value: true
|
|
25569
25546
|
}));
|
|
25570
25547
|
exports["default"] = void 0;
|
|
25571
|
-
|
|
25572
|
-
var
|
|
25548
|
+
|
|
25549
|
+
var _utils = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/utils.js");
|
|
25550
|
+
|
|
25551
|
+
var fetchNode = _interopRequireWildcard(__webpack_require__(/*! ./getFetch.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/getFetch.js"));
|
|
25552
|
+
|
|
25573
25553
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
25554
|
+
|
|
25574
25555
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25556
|
+
|
|
25575
25557
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
25558
|
+
|
|
25576
25559
|
var fetchApi;
|
|
25560
|
+
|
|
25577
25561
|
if (typeof fetch === 'function') {
|
|
25578
25562
|
if (typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g.fetch) {
|
|
25579
25563
|
fetchApi = __webpack_require__.g.fetch;
|
|
@@ -25583,7 +25567,9 @@ if (typeof fetch === 'function') {
|
|
|
25583
25567
|
fetchApi = fetch;
|
|
25584
25568
|
}
|
|
25585
25569
|
}
|
|
25570
|
+
|
|
25586
25571
|
var XmlHttpRequestApi;
|
|
25572
|
+
|
|
25587
25573
|
if ((0, _utils.hasXMLHttpRequest)()) {
|
|
25588
25574
|
if (typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g.XMLHttpRequest) {
|
|
25589
25575
|
XmlHttpRequestApi = __webpack_require__.g.XMLHttpRequest;
|
|
@@ -25591,7 +25577,9 @@ if ((0, _utils.hasXMLHttpRequest)()) {
|
|
|
25591
25577
|
XmlHttpRequestApi = window.XMLHttpRequest;
|
|
25592
25578
|
}
|
|
25593
25579
|
}
|
|
25580
|
+
|
|
25594
25581
|
var ActiveXObjectApi;
|
|
25582
|
+
|
|
25595
25583
|
if (typeof ActiveXObject === 'function') {
|
|
25596
25584
|
if (typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g.ActiveXObject) {
|
|
25597
25585
|
ActiveXObjectApi = __webpack_require__.g.ActiveXObject;
|
|
@@ -25599,19 +25587,25 @@ if (typeof ActiveXObject === 'function') {
|
|
|
25599
25587
|
ActiveXObjectApi = window.ActiveXObject;
|
|
25600
25588
|
}
|
|
25601
25589
|
}
|
|
25590
|
+
|
|
25602
25591
|
if (!fetchApi && fetchNode && !XmlHttpRequestApi && !ActiveXObjectApi) fetchApi = fetchNode.default || fetchNode;
|
|
25603
25592
|
if (typeof fetchApi !== 'function') fetchApi = undefined;
|
|
25593
|
+
|
|
25604
25594
|
var addQueryString = function addQueryString(url, params) {
|
|
25605
25595
|
if (params && _typeof(params) === 'object') {
|
|
25606
25596
|
var queryString = '';
|
|
25597
|
+
|
|
25607
25598
|
for (var paramName in params) {
|
|
25608
25599
|
queryString += '&' + encodeURIComponent(paramName) + '=' + encodeURIComponent(params[paramName]);
|
|
25609
25600
|
}
|
|
25601
|
+
|
|
25610
25602
|
if (!queryString) return url;
|
|
25611
25603
|
url = url + (url.indexOf('?') !== -1 ? '&' : '?') + queryString.slice(1);
|
|
25612
25604
|
}
|
|
25605
|
+
|
|
25613
25606
|
return url;
|
|
25614
25607
|
};
|
|
25608
|
+
|
|
25615
25609
|
var fetchIt = function fetchIt(url, fetchOptions, callback) {
|
|
25616
25610
|
fetchApi(url, fetchOptions).then(function (response) {
|
|
25617
25611
|
if (!response.ok) return callback(response.statusText || 'Error', {
|
|
@@ -25625,12 +25619,14 @@ var fetchIt = function fetchIt(url, fetchOptions, callback) {
|
|
|
25625
25619
|
}).catch(callback);
|
|
25626
25620
|
}).catch(callback);
|
|
25627
25621
|
};
|
|
25622
|
+
|
|
25628
25623
|
var omitFetchOptions = false;
|
|
25629
25624
|
|
|
25630
25625
|
var requestWithFetch = function requestWithFetch(options, url, payload, callback) {
|
|
25631
25626
|
if (options.queryStringParams) {
|
|
25632
25627
|
url = addQueryString(url, options.queryStringParams);
|
|
25633
25628
|
}
|
|
25629
|
+
|
|
25634
25630
|
var headers = (0, _utils.defaults)({}, typeof options.customHeaders === 'function' ? options.customHeaders() : options.customHeaders);
|
|
25635
25631
|
if (payload) headers['Content-Type'] = 'application/json';
|
|
25636
25632
|
var reqOptions = typeof options.requestOptions === 'function' ? options.requestOptions(payload) : options.requestOptions;
|
|
@@ -25639,12 +25635,14 @@ var requestWithFetch = function requestWithFetch(options, url, payload, callback
|
|
|
25639
25635
|
body: payload ? options.stringify(payload) : undefined,
|
|
25640
25636
|
headers: headers
|
|
25641
25637
|
}, omitFetchOptions ? {} : reqOptions);
|
|
25638
|
+
|
|
25642
25639
|
try {
|
|
25643
25640
|
fetchIt(url, fetchOptions, callback);
|
|
25644
25641
|
} catch (e) {
|
|
25645
25642
|
if (!reqOptions || Object.keys(reqOptions).length === 0 || !e.message || e.message.indexOf('not implemented') < 0) {
|
|
25646
25643
|
return callback(e);
|
|
25647
25644
|
}
|
|
25645
|
+
|
|
25648
25646
|
try {
|
|
25649
25647
|
Object.keys(reqOptions).forEach(function (opt) {
|
|
25650
25648
|
delete fetchOptions[opt];
|
|
@@ -25661,68 +25659,86 @@ var requestWithXmlHttpRequest = function requestWithXmlHttpRequest(options, url,
|
|
|
25661
25659
|
if (payload && _typeof(payload) === 'object') {
|
|
25662
25660
|
payload = addQueryString('', payload).slice(1);
|
|
25663
25661
|
}
|
|
25662
|
+
|
|
25664
25663
|
if (options.queryStringParams) {
|
|
25665
25664
|
url = addQueryString(url, options.queryStringParams);
|
|
25666
25665
|
}
|
|
25666
|
+
|
|
25667
25667
|
try {
|
|
25668
25668
|
var x;
|
|
25669
|
+
|
|
25669
25670
|
if (XmlHttpRequestApi) {
|
|
25670
25671
|
x = new XmlHttpRequestApi();
|
|
25671
25672
|
} else {
|
|
25672
25673
|
x = new ActiveXObjectApi('MSXML2.XMLHTTP.3.0');
|
|
25673
25674
|
}
|
|
25675
|
+
|
|
25674
25676
|
x.open(payload ? 'POST' : 'GET', url, 1);
|
|
25677
|
+
|
|
25675
25678
|
if (!options.crossDomain) {
|
|
25676
25679
|
x.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
|
|
25677
25680
|
}
|
|
25681
|
+
|
|
25678
25682
|
x.withCredentials = !!options.withCredentials;
|
|
25683
|
+
|
|
25679
25684
|
if (payload) {
|
|
25680
25685
|
x.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
|
|
25681
25686
|
}
|
|
25687
|
+
|
|
25682
25688
|
if (x.overrideMimeType) {
|
|
25683
25689
|
x.overrideMimeType('application/json');
|
|
25684
25690
|
}
|
|
25691
|
+
|
|
25685
25692
|
var h = options.customHeaders;
|
|
25686
25693
|
h = typeof h === 'function' ? h() : h;
|
|
25694
|
+
|
|
25687
25695
|
if (h) {
|
|
25688
25696
|
for (var i in h) {
|
|
25689
25697
|
x.setRequestHeader(i, h[i]);
|
|
25690
25698
|
}
|
|
25691
25699
|
}
|
|
25700
|
+
|
|
25692
25701
|
x.onreadystatechange = function () {
|
|
25693
25702
|
x.readyState > 3 && callback(x.status >= 400 ? x.statusText : null, {
|
|
25694
25703
|
status: x.status,
|
|
25695
25704
|
data: x.responseText
|
|
25696
25705
|
});
|
|
25697
25706
|
};
|
|
25707
|
+
|
|
25698
25708
|
x.send(payload);
|
|
25699
25709
|
} catch (e) {
|
|
25700
25710
|
console && console.log(e);
|
|
25701
25711
|
}
|
|
25702
25712
|
};
|
|
25713
|
+
|
|
25703
25714
|
var request = function request(options, url, payload, callback) {
|
|
25704
25715
|
if (typeof payload === 'function') {
|
|
25705
25716
|
callback = payload;
|
|
25706
25717
|
payload = undefined;
|
|
25707
25718
|
}
|
|
25719
|
+
|
|
25708
25720
|
callback = callback || function () {};
|
|
25721
|
+
|
|
25709
25722
|
if (fetchApi) {
|
|
25710
25723
|
return requestWithFetch(options, url, payload, callback);
|
|
25711
25724
|
}
|
|
25725
|
+
|
|
25712
25726
|
if ((0, _utils.hasXMLHttpRequest)() || typeof ActiveXObject === 'function') {
|
|
25713
25727
|
return requestWithXmlHttpRequest(options, url, payload, callback);
|
|
25714
25728
|
}
|
|
25729
|
+
|
|
25715
25730
|
callback(new Error('No fetch and no xhr implementation found!'));
|
|
25716
25731
|
};
|
|
25732
|
+
|
|
25717
25733
|
var _default = request;
|
|
25718
25734
|
exports["default"] = _default;
|
|
25719
25735
|
module.exports = exports.default;
|
|
25720
25736
|
|
|
25721
25737
|
/***/ }),
|
|
25722
25738
|
|
|
25723
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
25739
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/utils.js":
|
|
25724
25740
|
/*!**********************************************************************************************************************!*\
|
|
25725
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
25741
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/utils.js ***!
|
|
25726
25742
|
\**********************************************************************************************************************/
|
|
25727
25743
|
/***/ ((__unused_webpack_module, exports) => {
|
|
25728
25744
|
|
|
@@ -25735,10 +25751,13 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
25735
25751
|
exports.defaults = defaults;
|
|
25736
25752
|
exports.hasXMLHttpRequest = hasXMLHttpRequest;
|
|
25737
25753
|
exports.makePromise = makePromise;
|
|
25754
|
+
|
|
25738
25755
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
25756
|
+
|
|
25739
25757
|
var arr = [];
|
|
25740
25758
|
var each = arr.forEach;
|
|
25741
25759
|
var slice = arr.slice;
|
|
25760
|
+
|
|
25742
25761
|
function defaults(obj) {
|
|
25743
25762
|
each.call(slice.call(arguments, 1), function (source) {
|
|
25744
25763
|
if (source) {
|
|
@@ -25749,6 +25768,7 @@ function defaults(obj) {
|
|
|
25749
25768
|
});
|
|
25750
25769
|
return obj;
|
|
25751
25770
|
}
|
|
25771
|
+
|
|
25752
25772
|
function hasXMLHttpRequest() {
|
|
25753
25773
|
return typeof XMLHttpRequest === 'function' || (typeof XMLHttpRequest === "undefined" ? "undefined" : _typeof(XMLHttpRequest)) === 'object';
|
|
25754
25774
|
}
|
|
@@ -25761,9 +25781,133 @@ function makePromise(maybePromise) {
|
|
|
25761
25781
|
if (isPromise(maybePromise)) {
|
|
25762
25782
|
return maybePromise;
|
|
25763
25783
|
}
|
|
25784
|
+
|
|
25764
25785
|
return Promise.resolve(maybePromise);
|
|
25765
25786
|
}
|
|
25766
25787
|
|
|
25788
|
+
/***/ }),
|
|
25789
|
+
|
|
25790
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
|
|
25791
|
+
/*!****************************************************************************************************************************!*\
|
|
25792
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
|
|
25793
|
+
\****************************************************************************************************************************/
|
|
25794
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25795
|
+
|
|
25796
|
+
"use strict";
|
|
25797
|
+
__webpack_require__.r(__webpack_exports__);
|
|
25798
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
25799
|
+
/* harmony export */ "default": () => (/* binding */ _classCallCheck)
|
|
25800
|
+
/* harmony export */ });
|
|
25801
|
+
function _classCallCheck(instance, Constructor) {
|
|
25802
|
+
if (!(instance instanceof Constructor)) {
|
|
25803
|
+
throw new TypeError("Cannot call a class as a function");
|
|
25804
|
+
}
|
|
25805
|
+
}
|
|
25806
|
+
|
|
25807
|
+
/***/ }),
|
|
25808
|
+
|
|
25809
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/esm/createClass.js":
|
|
25810
|
+
/*!*************************************************************************************************************************!*\
|
|
25811
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
|
|
25812
|
+
\*************************************************************************************************************************/
|
|
25813
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25814
|
+
|
|
25815
|
+
"use strict";
|
|
25816
|
+
__webpack_require__.r(__webpack_exports__);
|
|
25817
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
25818
|
+
/* harmony export */ "default": () => (/* binding */ _createClass)
|
|
25819
|
+
/* harmony export */ });
|
|
25820
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
|
|
25821
|
+
|
|
25822
|
+
function _defineProperties(target, props) {
|
|
25823
|
+
for (var i = 0; i < props.length; i++) {
|
|
25824
|
+
var descriptor = props[i];
|
|
25825
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
25826
|
+
descriptor.configurable = true;
|
|
25827
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
25828
|
+
Object.defineProperty(target, (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(descriptor.key), descriptor);
|
|
25829
|
+
}
|
|
25830
|
+
}
|
|
25831
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
25832
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
25833
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
25834
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
25835
|
+
writable: false
|
|
25836
|
+
});
|
|
25837
|
+
return Constructor;
|
|
25838
|
+
}
|
|
25839
|
+
|
|
25840
|
+
/***/ }),
|
|
25841
|
+
|
|
25842
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
|
|
25843
|
+
/*!*************************************************************************************************************************!*\
|
|
25844
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
|
|
25845
|
+
\*************************************************************************************************************************/
|
|
25846
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25847
|
+
|
|
25848
|
+
"use strict";
|
|
25849
|
+
__webpack_require__.r(__webpack_exports__);
|
|
25850
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
25851
|
+
/* harmony export */ "default": () => (/* binding */ _toPrimitive)
|
|
25852
|
+
/* harmony export */ });
|
|
25853
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
25854
|
+
|
|
25855
|
+
function _toPrimitive(input, hint) {
|
|
25856
|
+
if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(input) !== "object" || input === null) return input;
|
|
25857
|
+
var prim = input[Symbol.toPrimitive];
|
|
25858
|
+
if (prim !== undefined) {
|
|
25859
|
+
var res = prim.call(input, hint || "default");
|
|
25860
|
+
if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(res) !== "object") return res;
|
|
25861
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
25862
|
+
}
|
|
25863
|
+
return (hint === "string" ? String : Number)(input);
|
|
25864
|
+
}
|
|
25865
|
+
|
|
25866
|
+
/***/ }),
|
|
25867
|
+
|
|
25868
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
|
|
25869
|
+
/*!***************************************************************************************************************************!*\
|
|
25870
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
|
|
25871
|
+
\***************************************************************************************************************************/
|
|
25872
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25873
|
+
|
|
25874
|
+
"use strict";
|
|
25875
|
+
__webpack_require__.r(__webpack_exports__);
|
|
25876
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
25877
|
+
/* harmony export */ "default": () => (/* binding */ _toPropertyKey)
|
|
25878
|
+
/* harmony export */ });
|
|
25879
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
25880
|
+
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
|
|
25881
|
+
|
|
25882
|
+
|
|
25883
|
+
function _toPropertyKey(arg) {
|
|
25884
|
+
var key = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__["default"])(arg, "string");
|
|
25885
|
+
return (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key) === "symbol" ? key : String(key);
|
|
25886
|
+
}
|
|
25887
|
+
|
|
25888
|
+
/***/ }),
|
|
25889
|
+
|
|
25890
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
|
25891
|
+
/*!********************************************************************************************************************!*\
|
|
25892
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.4/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
|
|
25893
|
+
\********************************************************************************************************************/
|
|
25894
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25895
|
+
|
|
25896
|
+
"use strict";
|
|
25897
|
+
__webpack_require__.r(__webpack_exports__);
|
|
25898
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
25899
|
+
/* harmony export */ "default": () => (/* binding */ _typeof)
|
|
25900
|
+
/* harmony export */ });
|
|
25901
|
+
function _typeof(o) {
|
|
25902
|
+
"@babel/helpers - typeof";
|
|
25903
|
+
|
|
25904
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
25905
|
+
return typeof o;
|
|
25906
|
+
} : function (o) {
|
|
25907
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
25908
|
+
}, _typeof(o);
|
|
25909
|
+
}
|
|
25910
|
+
|
|
25767
25911
|
/***/ })
|
|
25768
25912
|
|
|
25769
25913
|
/******/ });
|