@itwin/core-i18n 3.5.0-dev.61 → 3.5.0-dev.65
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 +16 -1
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js +468 -356
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js.map +1 -1
- package/lib/cjs/test/webpack/bundled-tests.js +324 -212
- 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:\\
|
|
22
|
-
var hash = "
|
|
20
|
+
function cov_y5gyss7rk() {
|
|
21
|
+
var path = "D:\\vsts_b\\6\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js";
|
|
22
|
+
var hash = "f7769eddbe5692413a159caf475e1a52e42974ac";
|
|
23
23
|
var global = new Function("return this")();
|
|
24
24
|
var gcv = "__coverage__";
|
|
25
25
|
var coverageData = {
|
|
26
|
-
path: "D:\\
|
|
26
|
+
path: "D:\\vsts_b\\6\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js",
|
|
27
27
|
statementMap: {
|
|
28
28
|
"0": {
|
|
29
29
|
start: {
|
|
@@ -3086,13 +3086,13 @@ function cov_12vai742k9() {
|
|
|
3086
3086
|
inputSourceMap: {
|
|
3087
3087
|
version: 3,
|
|
3088
3088
|
file: "ITwinLocalization.js",
|
|
3089
|
-
sources: ["D:\\
|
|
3089
|
+
sources: ["D:\\vsts_b\\6\\s\\core\\i18n\\src\\ITwinLocalization.ts"],
|
|
3090
3090
|
names: [],
|
|
3091
3091
|
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,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,6BAA6B;YAC/D,WAAW,EAAE,IAAI;YACjB,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,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,aAAP,OAAO,uBAAP,OAAO,CAAE,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,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW;SACxB,CAAC;QAEF,IAAI,CAAC,OAAO;aACT,GAAG,CAAC,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,mCAAI,0CAA8B,CAAC;aAC9D,GAAG,CAAC,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,mCAAI,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,MAAA,IAAI,CAAC,YAAY,CAAC,SAAS,mCAAI,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,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,MAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,CAAA,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,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,MAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,CAAA,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",
|
|
3092
3092
|
sourcesContent: ["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Localization\r\n */\r\n\r\nimport i18next, { i18n, InitOptions, Module, TOptionsBase } from \"i18next\";\r\nimport i18nextBrowserLanguageDetector, { DetectorOptions } from \"i18next-browser-languagedetector\";\r\nimport Backend, { BackendOptions } from \"i18next-http-backend\";\r\nimport { Logger } from \"@itwin/core-bentley\";\r\nimport type { Localization } from \"@itwin/core-common\";\r\n\r\nconst DEFAULT_MAX_RETRIES: number = 1; // a low number prevents wasted time and potential timeouts when requesting localization files throws an error\r\n\r\n/** Options for ITwinLocalization\r\n * @public\r\n */\r\nexport interface LocalizationOptions {\r\n urlTemplate?: string;\r\n backendPlugin?: Module;\r\n detectorPlugin?: Module;\r\n initOptions?: InitOptions;\r\n backendHttpOptions?: BackendOptions;\r\n detectorOptions?: DetectorOptions;\r\n}\r\n\r\n/** Supplies localizations for iTwin.js\r\n * @note this class uses the [i18next](https://www.i18next.com/) package.\r\n * @public\r\n */\r\nexport class ITwinLocalization implements Localization {\r\n public i18next: i18n;\r\n private readonly _initOptions: InitOptions;\r\n private readonly _backendOptions: BackendOptions;\r\n private readonly _detectionOptions: DetectorOptions;\r\n private readonly _namespaces = new Map<string, Promise<void>>();\r\n\r\n public constructor(options?: LocalizationOptions) {\r\n this.i18next = i18next.createInstance();\r\n\r\n this._backendOptions = {\r\n loadPath: options?.urlTemplate ?? \"locales/{{lng}}/{{ns}}.json\",\r\n crossDomain: true,\r\n ...options?.backendHttpOptions,\r\n };\r\n\r\n this._detectionOptions = {\r\n order: [\"querystring\", \"navigator\", \"htmlTag\"],\r\n lookupQuerystring: \"lng\",\r\n caches: [],\r\n ...options?.detectorOptions,\r\n };\r\n\r\n this._initOptions = {\r\n interpolation: { escapeValue: true },\r\n fallbackLng: \"en\",\r\n maxRetries: DEFAULT_MAX_RETRIES,\r\n backend: this._backendOptions,\r\n detection: this._detectionOptions,\r\n ...options?.initOptions,\r\n };\r\n\r\n this.i18next\r\n .use(options?.detectorPlugin ?? i18nextBrowserLanguageDetector)\r\n .use(options?.backendPlugin ?? Backend)\r\n .use(TranslationLogger);\r\n }\r\n\r\n public async initialize(namespaces: string[]): Promise<void> {\r\n\r\n // Also consider namespaces passed into constructor\r\n const initNamespaces: string[] = [this._initOptions.ns || []].flat();\r\n const combinedNamespaces: Set<string> = new Set([...namespaces, ...initNamespaces]); // without duplicates\r\n\r\n const defaultNamespace: string | false | readonly string[] = this._initOptions.defaultNS ?? namespaces[0];\r\n if (defaultNamespace)\r\n combinedNamespaces.add(defaultNamespace as string); // Make sure default namespace is in namespaces list\r\n\r\n const initOptions: InitOptions = {\r\n ...this._initOptions,\r\n defaultNS: defaultNamespace,\r\n ns: [...combinedNamespaces],\r\n };\r\n\r\n // if in a development environment, set debugging\r\n if (process.env.NODE_ENV === \"development\")\r\n initOptions.debug = true;\r\n\r\n const initPromise = this.i18next.init(initOptions) as unknown as Promise<void>;\r\n\r\n for (const ns of namespaces)\r\n this._namespaces.set(ns, initPromise);\r\n\r\n return initPromise;\r\n }\r\n\r\n /** Replace all instances of `%{key}` within a string with the translations of those keys.\r\n * For example:\r\n * ``` ts\r\n * \"MyKeys\": {\r\n * \"Key1\": \"First value\",\r\n * \"Key2\": \"Second value\"\r\n * }\r\n * ```\r\n *\r\n * ``` ts\r\n * i18.translateKeys(\"string with %{MyKeys.Key1} followed by %{MyKeys.Key2}!\"\") // returns \"string with First Value followed by Second Value!\"\r\n * ```\r\n * @param line The input line, potentially containing %{keys}.\r\n * @returns The line with all %{keys} translated\r\n * @public\r\n */\r\n public getLocalizedKeys(line: string): string {\r\n return line.replace(/\\%\\{(.+?)\\}/g, (_match, tag) => this.getLocalizedString(tag));\r\n }\r\n\r\n /** Return the translated value of a key.\r\n * @param key - the key that matches a property in the JSON localization file.\r\n * @note The key includes the namespace, which identifies the particular localization file that contains the property,\r\n * followed by a colon, followed by the property in the JSON file.\r\n * For example:\r\n * ``` ts\r\n * const dataString: string = IModelApp.localization.getLocalizedString(\"iModelJs:BackgroundMap.BingDataAttribution\");\r\n * ```\r\n * assigns to dataString the string with property BackgroundMap.BingDataAttribution from the iModelJs.json localization file.\r\n * @returns The string corresponding to the first key that resolves.\r\n * @throws Error if no keys resolve to a string.\r\n * @public\r\n */\r\n public getLocalizedString(key: string | string[], options?: TOptionsBase): string {\r\n if (options?.returnDetails || options?.returnObjects) {\r\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\r\n }\r\n\r\n const value = this.i18next.t(key, options);\r\n\r\n if (typeof value !== \"string\") {\r\n throw new Error(\"Translation key(s) string not found\");\r\n }\r\n\r\n return value;\r\n }\r\n\r\n /** Similar to `getLocalizedString` but the default namespace is a separate parameter and the key does not need\r\n * to include a namespace. If a key includes a namespace, that namespace will be used for interpolating that key.\r\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\r\n * @param key - the key that matches a property in the JSON localization file.\r\n * @returns The string corresponding to the first key that resolves.\r\n * @throws Error if no keys resolve to a string.\r\n * @internal\r\n */\r\n public getLocalizedStringWithNamespace(namespace: string, key: string | string[], options?: TOptionsBase): string {\r\n let fullKey: string | string[] = \"\";\r\n\r\n if (typeof key === \"string\") {\r\n fullKey = `${namespace}:${key}`;\r\n } else {\r\n fullKey = key.map((subKey: string) => {\r\n return `${namespace}:${subKey}`;\r\n });\r\n }\r\n\r\n return this.getLocalizedString(fullKey, options);\r\n }\r\n\r\n /** Gets the English translation.\r\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\r\n * @param key - the key that matches a property in the JSON localization file.\r\n * @returns The string corresponding to the first key that resolves.\r\n * @throws Error if no keys resolve to a string.\r\n * @internal\r\n */\r\n public getEnglishString(namespace: string, key: string | string[], options?: TOptionsBase): string {\r\n if (options?.returnDetails || options?.returnObjects) {\r\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\r\n }\r\n\r\n options = {\r\n ...options,\r\n ns: namespace, // ensure namespace argument is used\r\n };\r\n\r\n const en = this.i18next.getFixedT(\"en\", namespace);\r\n const str = en(key, options);\r\n if (typeof str !== \"string\")\r\n throw new Error(\"Translation key(s) not found\");\r\n\r\n return str;\r\n }\r\n\r\n /** Get the promise for an already registered Namespace.\r\n * @param name - the name of the namespace\r\n * @public\r\n */\r\n public getNamespacePromise(name: string): Promise<void> | undefined {\r\n return this._namespaces.get(name);\r\n }\r\n\r\n /** @internal */\r\n public getLanguageList(): readonly string[] {\r\n return this.i18next.languages;\r\n }\r\n\r\n /** override the language detected in the browser */\r\n public async changeLanguage(language: string) {\r\n return this.i18next.changeLanguage(language) as unknown as Promise<void>;\r\n }\r\n\r\n /** Register a new Namespace and return it. If the namespace is already registered, it will be returned.\r\n * @param name - the name of the namespace, which is the base name of the JSON file that contains the localization properties.\r\n * @note - The registerNamespace method starts fetching the appropriate version of the JSON localization file from the server,\r\n * based on the current locale. To make sure that fetch is complete before performing translations from this namespace, await\r\n * fulfillment of the readPromise Promise property of the returned LocalizationNamespace.\r\n * @see [Localization in iTwin.js]($docs/learning/frontend/Localization.md)\r\n * @public\r\n */\r\n public async registerNamespace(name: string): Promise<void> {\r\n const existing = this._namespaces.get(name);\r\n if (existing !== undefined)\r\n return existing;\r\n\r\n const theReadPromise = new Promise<void>((resolve) => {\r\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\r\n this.i18next.loadNamespaces(name, (err) => {\r\n if (!err)\r\n return resolve();\r\n\r\n // Here we got a non-null err object.\r\n // This method is called when the system has attempted to load the resources for the namespaces for each possible locale.\r\n // For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.\r\n // Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.\r\n // There might be errs for some other namespaces as well as this one. We resolve the promise unless there's an error for each possible locale.\r\n let locales = this.getLanguageList().map((thisLocale: any) => `/${thisLocale}/`);\r\n\r\n try {\r\n for (const thisError of err) {\r\n if (typeof thisError === \"string\")\r\n locales = locales.filter((thisLocale) => !thisError.includes(thisLocale));\r\n }\r\n } catch (e) {\r\n locales = [];\r\n }\r\n // if we removed every locale from the array, it wasn't loaded.\r\n if (locales.length === 0)\r\n Logger.logError(\"i18n\", `No resources for namespace ${name} could be loaded`);\r\n\r\n resolve();\r\n });\r\n });\r\n this._namespaces.set(name, theReadPromise);\r\n return theReadPromise;\r\n }\r\n\r\n /** @internal */\r\n public unregisterNamespace(name: string): void {\r\n this._namespaces.delete(name);\r\n }\r\n}\r\n\r\nclass TranslationLogger {\r\n public static readonly type = \"logger\";\r\n public log(args: string[]) { Logger.logInfo(\"i18n\", this.createLogMessage(args)); }\r\n public warn(args: string[]) { Logger.logWarning(\"i18n\", this.createLogMessage(args)); }\r\n public error(args: string[]) { Logger.logError(\"i18n\", this.createLogMessage(args)); }\r\n private createLogMessage(args: string[]) {\r\n let message = args[0];\r\n for (let i = 1; i < args.length; ++i) {\r\n if (typeof args[i] === \"string\")\r\n message += `\\n ${args[i]}`;\r\n }\r\n return message;\r\n }\r\n}\r\n"]
|
|
3093
3093
|
},
|
|
3094
3094
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
3095
|
-
hash: "
|
|
3095
|
+
hash: "f7769eddbe5692413a159caf475e1a52e42974ac"
|
|
3096
3096
|
};
|
|
3097
3097
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
3098
3098
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -3101,57 +3101,57 @@ function cov_12vai742k9() {
|
|
|
3101
3101
|
var actualCoverage = coverage[path];
|
|
3102
3102
|
{
|
|
3103
3103
|
// @ts-ignore
|
|
3104
|
-
|
|
3104
|
+
cov_y5gyss7rk = function () {
|
|
3105
3105
|
return actualCoverage;
|
|
3106
3106
|
};
|
|
3107
3107
|
}
|
|
3108
3108
|
return actualCoverage;
|
|
3109
3109
|
}
|
|
3110
|
-
|
|
3111
|
-
var __importDefault = (
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
return (
|
|
3110
|
+
cov_y5gyss7rk();
|
|
3111
|
+
var __importDefault = (cov_y5gyss7rk().s[0]++, (cov_y5gyss7rk().b[0][0]++, this) && (cov_y5gyss7rk().b[0][1]++, this.__importDefault) || (cov_y5gyss7rk().b[0][2]++, function (mod) {
|
|
3112
|
+
cov_y5gyss7rk().f[0]++;
|
|
3113
|
+
cov_y5gyss7rk().s[1]++;
|
|
3114
|
+
return (cov_y5gyss7rk().b[2][0]++, mod) && (cov_y5gyss7rk().b[2][1]++, mod.__esModule) ? (cov_y5gyss7rk().b[1][0]++, mod) : (cov_y5gyss7rk().b[1][1]++, {
|
|
3115
3115
|
"default": mod
|
|
3116
3116
|
});
|
|
3117
3117
|
}));
|
|
3118
|
-
|
|
3118
|
+
cov_y5gyss7rk().s[2]++;
|
|
3119
3119
|
Object.defineProperty(exports, "__esModule", ({
|
|
3120
3120
|
value: true
|
|
3121
3121
|
}));
|
|
3122
|
-
|
|
3122
|
+
cov_y5gyss7rk().s[3]++;
|
|
3123
3123
|
exports.ITwinLocalization = void 0;
|
|
3124
|
-
const i18next_1 = (
|
|
3125
|
-
const i18next_browser_languagedetector_1 = (
|
|
3126
|
-
const i18next_http_backend_1 = (
|
|
3127
|
-
const core_bentley_1 = (
|
|
3128
|
-
const DEFAULT_MAX_RETRIES = (
|
|
3124
|
+
const i18next_1 = (cov_y5gyss7rk().s[4]++, __importDefault(__webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/cjs/i18next.js")));
|
|
3125
|
+
const i18next_browser_languagedetector_1 = (cov_y5gyss7rk().s[5]++, __importDefault(__webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.8/node_modules/i18next-browser-languagedetector/dist/cjs/i18nextBrowserLanguageDetector.js")));
|
|
3126
|
+
const i18next_http_backend_1 = (cov_y5gyss7rk().s[6]++, __importDefault(__webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/index.js")));
|
|
3127
|
+
const core_bentley_1 = (cov_y5gyss7rk().s[7]++, __webpack_require__(/*! @itwin/core-bentley */ "../bentley/lib/esm/core-bentley.js"));
|
|
3128
|
+
const DEFAULT_MAX_RETRIES = (cov_y5gyss7rk().s[8]++, 1); // a low number prevents wasted time and potential timeouts when requesting localization files throws an error
|
|
3129
3129
|
/** Supplies localizations for iTwin.js
|
|
3130
3130
|
* @note this class uses the [i18next](https://www.i18next.com/) package.
|
|
3131
3131
|
* @public
|
|
3132
3132
|
*/
|
|
3133
3133
|
class ITwinLocalization {
|
|
3134
3134
|
constructor(options) {
|
|
3135
|
-
|
|
3135
|
+
cov_y5gyss7rk().f[1]++;
|
|
3136
3136
|
var _a, _b, _c;
|
|
3137
|
-
|
|
3137
|
+
cov_y5gyss7rk().s[9]++;
|
|
3138
3138
|
this._namespaces = new Map();
|
|
3139
|
-
|
|
3139
|
+
cov_y5gyss7rk().s[10]++;
|
|
3140
3140
|
this.i18next = i18next_1.default.createInstance();
|
|
3141
|
-
|
|
3141
|
+
cov_y5gyss7rk().s[11]++;
|
|
3142
3142
|
this._backendOptions = {
|
|
3143
|
-
loadPath: (
|
|
3143
|
+
loadPath: (cov_y5gyss7rk().b[4][0]++, (_a = (cov_y5gyss7rk().b[6][0]++, options === null) || (cov_y5gyss7rk().b[6][1]++, options === void 0) ? (cov_y5gyss7rk().b[5][0]++, void 0) : (cov_y5gyss7rk().b[5][1]++, options.urlTemplate)) !== null) && (cov_y5gyss7rk().b[4][1]++, _a !== void 0) ? (cov_y5gyss7rk().b[3][0]++, _a) : (cov_y5gyss7rk().b[3][1]++, "locales/{{lng}}/{{ns}}.json"),
|
|
3144
3144
|
crossDomain: true,
|
|
3145
|
-
...((
|
|
3145
|
+
...((cov_y5gyss7rk().b[8][0]++, options === null) || (cov_y5gyss7rk().b[8][1]++, options === void 0) ? (cov_y5gyss7rk().b[7][0]++, void 0) : (cov_y5gyss7rk().b[7][1]++, options.backendHttpOptions))
|
|
3146
3146
|
};
|
|
3147
|
-
|
|
3147
|
+
cov_y5gyss7rk().s[12]++;
|
|
3148
3148
|
this._detectionOptions = {
|
|
3149
3149
|
order: ["querystring", "navigator", "htmlTag"],
|
|
3150
3150
|
lookupQuerystring: "lng",
|
|
3151
3151
|
caches: [],
|
|
3152
|
-
...((
|
|
3152
|
+
...((cov_y5gyss7rk().b[10][0]++, options === null) || (cov_y5gyss7rk().b[10][1]++, options === void 0) ? (cov_y5gyss7rk().b[9][0]++, void 0) : (cov_y5gyss7rk().b[9][1]++, options.detectorOptions))
|
|
3153
3153
|
};
|
|
3154
|
-
|
|
3154
|
+
cov_y5gyss7rk().s[13]++;
|
|
3155
3155
|
this._initOptions = {
|
|
3156
3156
|
interpolation: {
|
|
3157
3157
|
escapeValue: true
|
|
@@ -3160,43 +3160,43 @@ class ITwinLocalization {
|
|
|
3160
3160
|
maxRetries: DEFAULT_MAX_RETRIES,
|
|
3161
3161
|
backend: this._backendOptions,
|
|
3162
3162
|
detection: this._detectionOptions,
|
|
3163
|
-
...((
|
|
3163
|
+
...((cov_y5gyss7rk().b[12][0]++, options === null) || (cov_y5gyss7rk().b[12][1]++, options === void 0) ? (cov_y5gyss7rk().b[11][0]++, void 0) : (cov_y5gyss7rk().b[11][1]++, options.initOptions))
|
|
3164
3164
|
};
|
|
3165
|
-
|
|
3166
|
-
this.i18next.use((
|
|
3165
|
+
cov_y5gyss7rk().s[14]++;
|
|
3166
|
+
this.i18next.use((cov_y5gyss7rk().b[14][0]++, (_b = (cov_y5gyss7rk().b[16][0]++, options === null) || (cov_y5gyss7rk().b[16][1]++, options === void 0) ? (cov_y5gyss7rk().b[15][0]++, void 0) : (cov_y5gyss7rk().b[15][1]++, options.detectorPlugin)) !== null) && (cov_y5gyss7rk().b[14][1]++, _b !== void 0) ? (cov_y5gyss7rk().b[13][0]++, _b) : (cov_y5gyss7rk().b[13][1]++, i18next_browser_languagedetector_1.default)).use((cov_y5gyss7rk().b[18][0]++, (_c = (cov_y5gyss7rk().b[20][0]++, options === null) || (cov_y5gyss7rk().b[20][1]++, options === void 0) ? (cov_y5gyss7rk().b[19][0]++, void 0) : (cov_y5gyss7rk().b[19][1]++, options.backendPlugin)) !== null) && (cov_y5gyss7rk().b[18][1]++, _c !== void 0) ? (cov_y5gyss7rk().b[17][0]++, _c) : (cov_y5gyss7rk().b[17][1]++, i18next_http_backend_1.default)).use(TranslationLogger);
|
|
3167
3167
|
}
|
|
3168
3168
|
async initialize(namespaces) {
|
|
3169
|
-
|
|
3169
|
+
cov_y5gyss7rk().f[2]++;
|
|
3170
3170
|
var _a;
|
|
3171
3171
|
// Also consider namespaces passed into constructor
|
|
3172
|
-
const initNamespaces = (
|
|
3173
|
-
const combinedNamespaces = (
|
|
3174
|
-
const defaultNamespace = (
|
|
3175
|
-
|
|
3172
|
+
const initNamespaces = (cov_y5gyss7rk().s[15]++, [(cov_y5gyss7rk().b[21][0]++, this._initOptions.ns) || (cov_y5gyss7rk().b[21][1]++, [])].flat());
|
|
3173
|
+
const combinedNamespaces = (cov_y5gyss7rk().s[16]++, new Set([...namespaces, ...initNamespaces])); // without duplicates
|
|
3174
|
+
const defaultNamespace = (cov_y5gyss7rk().s[17]++, (cov_y5gyss7rk().b[23][0]++, (_a = this._initOptions.defaultNS) !== null) && (cov_y5gyss7rk().b[23][1]++, _a !== void 0) ? (cov_y5gyss7rk().b[22][0]++, _a) : (cov_y5gyss7rk().b[22][1]++, namespaces[0]));
|
|
3175
|
+
cov_y5gyss7rk().s[18]++;
|
|
3176
3176
|
if (defaultNamespace) {
|
|
3177
|
-
|
|
3178
|
-
|
|
3177
|
+
cov_y5gyss7rk().b[24][0]++;
|
|
3178
|
+
cov_y5gyss7rk().s[19]++;
|
|
3179
3179
|
combinedNamespaces.add(defaultNamespace);
|
|
3180
3180
|
} else {
|
|
3181
|
-
|
|
3181
|
+
cov_y5gyss7rk().b[24][1]++;
|
|
3182
3182
|
} // Make sure default namespace is in namespaces list
|
|
3183
|
-
const initOptions = (
|
|
3183
|
+
const initOptions = (cov_y5gyss7rk().s[20]++, {
|
|
3184
3184
|
...this._initOptions,
|
|
3185
3185
|
defaultNS: defaultNamespace,
|
|
3186
3186
|
ns: [...combinedNamespaces]
|
|
3187
3187
|
});
|
|
3188
3188
|
// if in a development environment, set debugging
|
|
3189
|
-
|
|
3189
|
+
cov_y5gyss7rk().s[21]++;
|
|
3190
3190
|
if (false) {} else {
|
|
3191
|
-
|
|
3191
|
+
cov_y5gyss7rk().b[25][1]++;
|
|
3192
3192
|
}
|
|
3193
|
-
const initPromise = (
|
|
3194
|
-
|
|
3193
|
+
const initPromise = (cov_y5gyss7rk().s[23]++, this.i18next.init(initOptions));
|
|
3194
|
+
cov_y5gyss7rk().s[24]++;
|
|
3195
3195
|
for (const ns of namespaces) {
|
|
3196
|
-
|
|
3196
|
+
cov_y5gyss7rk().s[25]++;
|
|
3197
3197
|
this._namespaces.set(ns, initPromise);
|
|
3198
3198
|
}
|
|
3199
|
-
|
|
3199
|
+
cov_y5gyss7rk().s[26]++;
|
|
3200
3200
|
return initPromise;
|
|
3201
3201
|
}
|
|
3202
3202
|
/** Replace all instances of `%{key}` within a string with the translations of those keys.
|
|
@@ -3216,11 +3216,11 @@ class ITwinLocalization {
|
|
|
3216
3216
|
* @public
|
|
3217
3217
|
*/
|
|
3218
3218
|
getLocalizedKeys(line) {
|
|
3219
|
-
|
|
3220
|
-
|
|
3219
|
+
cov_y5gyss7rk().f[3]++;
|
|
3220
|
+
cov_y5gyss7rk().s[27]++;
|
|
3221
3221
|
return line.replace(/\%\{(.+?)\}/g, (_match, tag) => {
|
|
3222
|
-
|
|
3223
|
-
|
|
3222
|
+
cov_y5gyss7rk().f[4]++;
|
|
3223
|
+
cov_y5gyss7rk().s[28]++;
|
|
3224
3224
|
return this.getLocalizedString(tag);
|
|
3225
3225
|
});
|
|
3226
3226
|
}
|
|
@@ -3238,25 +3238,25 @@ class ITwinLocalization {
|
|
|
3238
3238
|
* @public
|
|
3239
3239
|
*/
|
|
3240
3240
|
getLocalizedString(key, options) {
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
if ((
|
|
3244
|
-
|
|
3245
|
-
|
|
3241
|
+
cov_y5gyss7rk().f[5]++;
|
|
3242
|
+
cov_y5gyss7rk().s[29]++;
|
|
3243
|
+
if ((cov_y5gyss7rk().b[27][0]++, (cov_y5gyss7rk().b[29][0]++, options === null) || (cov_y5gyss7rk().b[29][1]++, options === void 0) ? (cov_y5gyss7rk().b[28][0]++, void 0) : (cov_y5gyss7rk().b[28][1]++, options.returnDetails)) || (cov_y5gyss7rk().b[27][1]++, (cov_y5gyss7rk().b[31][0]++, options === null) || (cov_y5gyss7rk().b[31][1]++, options === void 0) ? (cov_y5gyss7rk().b[30][0]++, void 0) : (cov_y5gyss7rk().b[30][1]++, options.returnObjects))) {
|
|
3244
|
+
cov_y5gyss7rk().b[26][0]++;
|
|
3245
|
+
cov_y5gyss7rk().s[30]++;
|
|
3246
3246
|
throw new Error("Translation key must map to a string, but the given options will result in an object");
|
|
3247
3247
|
} else {
|
|
3248
|
-
|
|
3248
|
+
cov_y5gyss7rk().b[26][1]++;
|
|
3249
3249
|
}
|
|
3250
|
-
const value = (
|
|
3251
|
-
|
|
3250
|
+
const value = (cov_y5gyss7rk().s[31]++, this.i18next.t(key, options));
|
|
3251
|
+
cov_y5gyss7rk().s[32]++;
|
|
3252
3252
|
if (typeof value !== "string") {
|
|
3253
|
-
|
|
3254
|
-
|
|
3253
|
+
cov_y5gyss7rk().b[32][0]++;
|
|
3254
|
+
cov_y5gyss7rk().s[33]++;
|
|
3255
3255
|
throw new Error("Translation key(s) string not found");
|
|
3256
3256
|
} else {
|
|
3257
|
-
|
|
3257
|
+
cov_y5gyss7rk().b[32][1]++;
|
|
3258
3258
|
}
|
|
3259
|
-
|
|
3259
|
+
cov_y5gyss7rk().s[34]++;
|
|
3260
3260
|
return value;
|
|
3261
3261
|
}
|
|
3262
3262
|
/** Similar to `getLocalizedString` but the default namespace is a separate parameter and the key does not need
|
|
@@ -3268,23 +3268,23 @@ class ITwinLocalization {
|
|
|
3268
3268
|
* @internal
|
|
3269
3269
|
*/
|
|
3270
3270
|
getLocalizedStringWithNamespace(namespace, key, options) {
|
|
3271
|
-
|
|
3272
|
-
let fullKey = (
|
|
3273
|
-
|
|
3271
|
+
cov_y5gyss7rk().f[6]++;
|
|
3272
|
+
let fullKey = (cov_y5gyss7rk().s[35]++, "");
|
|
3273
|
+
cov_y5gyss7rk().s[36]++;
|
|
3274
3274
|
if (typeof key === "string") {
|
|
3275
|
-
|
|
3276
|
-
|
|
3275
|
+
cov_y5gyss7rk().b[33][0]++;
|
|
3276
|
+
cov_y5gyss7rk().s[37]++;
|
|
3277
3277
|
fullKey = `${namespace}:${key}`;
|
|
3278
3278
|
} else {
|
|
3279
|
-
|
|
3280
|
-
|
|
3279
|
+
cov_y5gyss7rk().b[33][1]++;
|
|
3280
|
+
cov_y5gyss7rk().s[38]++;
|
|
3281
3281
|
fullKey = key.map(subKey => {
|
|
3282
|
-
|
|
3283
|
-
|
|
3282
|
+
cov_y5gyss7rk().f[7]++;
|
|
3283
|
+
cov_y5gyss7rk().s[39]++;
|
|
3284
3284
|
return `${namespace}:${subKey}`;
|
|
3285
3285
|
});
|
|
3286
3286
|
}
|
|
3287
|
-
|
|
3287
|
+
cov_y5gyss7rk().s[40]++;
|
|
3288
3288
|
return this.getLocalizedString(fullKey, options);
|
|
3289
3289
|
}
|
|
3290
3290
|
/** Gets the English translation.
|
|
@@ -3295,32 +3295,32 @@ class ITwinLocalization {
|
|
|
3295
3295
|
* @internal
|
|
3296
3296
|
*/
|
|
3297
3297
|
getEnglishString(namespace, key, options) {
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
if ((
|
|
3301
|
-
|
|
3302
|
-
|
|
3298
|
+
cov_y5gyss7rk().f[8]++;
|
|
3299
|
+
cov_y5gyss7rk().s[41]++;
|
|
3300
|
+
if ((cov_y5gyss7rk().b[35][0]++, (cov_y5gyss7rk().b[37][0]++, options === null) || (cov_y5gyss7rk().b[37][1]++, options === void 0) ? (cov_y5gyss7rk().b[36][0]++, void 0) : (cov_y5gyss7rk().b[36][1]++, options.returnDetails)) || (cov_y5gyss7rk().b[35][1]++, (cov_y5gyss7rk().b[39][0]++, options === null) || (cov_y5gyss7rk().b[39][1]++, options === void 0) ? (cov_y5gyss7rk().b[38][0]++, void 0) : (cov_y5gyss7rk().b[38][1]++, options.returnObjects))) {
|
|
3301
|
+
cov_y5gyss7rk().b[34][0]++;
|
|
3302
|
+
cov_y5gyss7rk().s[42]++;
|
|
3303
3303
|
throw new Error("Translation key must map to a string, but the given options will result in an object");
|
|
3304
3304
|
} else {
|
|
3305
|
-
|
|
3305
|
+
cov_y5gyss7rk().b[34][1]++;
|
|
3306
3306
|
}
|
|
3307
|
-
|
|
3307
|
+
cov_y5gyss7rk().s[43]++;
|
|
3308
3308
|
options = {
|
|
3309
3309
|
...options,
|
|
3310
3310
|
ns: namespace // ensure namespace argument is used
|
|
3311
3311
|
};
|
|
3312
3312
|
|
|
3313
|
-
const en = (
|
|
3314
|
-
const str = (
|
|
3315
|
-
|
|
3313
|
+
const en = (cov_y5gyss7rk().s[44]++, this.i18next.getFixedT("en", namespace));
|
|
3314
|
+
const str = (cov_y5gyss7rk().s[45]++, en(key, options));
|
|
3315
|
+
cov_y5gyss7rk().s[46]++;
|
|
3316
3316
|
if (typeof str !== "string") {
|
|
3317
|
-
|
|
3318
|
-
|
|
3317
|
+
cov_y5gyss7rk().b[40][0]++;
|
|
3318
|
+
cov_y5gyss7rk().s[47]++;
|
|
3319
3319
|
throw new Error("Translation key(s) not found");
|
|
3320
3320
|
} else {
|
|
3321
|
-
|
|
3321
|
+
cov_y5gyss7rk().b[40][1]++;
|
|
3322
3322
|
}
|
|
3323
|
-
|
|
3323
|
+
cov_y5gyss7rk().s[48]++;
|
|
3324
3324
|
return str;
|
|
3325
3325
|
}
|
|
3326
3326
|
/** Get the promise for an already registered Namespace.
|
|
@@ -3328,20 +3328,20 @@ class ITwinLocalization {
|
|
|
3328
3328
|
* @public
|
|
3329
3329
|
*/
|
|
3330
3330
|
getNamespacePromise(name) {
|
|
3331
|
-
|
|
3332
|
-
|
|
3331
|
+
cov_y5gyss7rk().f[9]++;
|
|
3332
|
+
cov_y5gyss7rk().s[49]++;
|
|
3333
3333
|
return this._namespaces.get(name);
|
|
3334
3334
|
}
|
|
3335
3335
|
/** @internal */
|
|
3336
3336
|
getLanguageList() {
|
|
3337
|
-
|
|
3338
|
-
|
|
3337
|
+
cov_y5gyss7rk().f[10]++;
|
|
3338
|
+
cov_y5gyss7rk().s[50]++;
|
|
3339
3339
|
return this.i18next.languages;
|
|
3340
3340
|
}
|
|
3341
3341
|
/** override the language detected in the browser */
|
|
3342
3342
|
async changeLanguage(language) {
|
|
3343
|
-
|
|
3344
|
-
|
|
3343
|
+
cov_y5gyss7rk().f[11]++;
|
|
3344
|
+
cov_y5gyss7rk().s[51]++;
|
|
3345
3345
|
return this.i18next.changeLanguage(language);
|
|
3346
3346
|
}
|
|
3347
3347
|
/** Register a new Namespace and return it. If the namespace is already registered, it will be returned.
|
|
@@ -3353,123 +3353,123 @@ class ITwinLocalization {
|
|
|
3353
3353
|
* @public
|
|
3354
3354
|
*/
|
|
3355
3355
|
async registerNamespace(name) {
|
|
3356
|
-
|
|
3357
|
-
const existing = (
|
|
3358
|
-
|
|
3356
|
+
cov_y5gyss7rk().f[12]++;
|
|
3357
|
+
const existing = (cov_y5gyss7rk().s[52]++, this._namespaces.get(name));
|
|
3358
|
+
cov_y5gyss7rk().s[53]++;
|
|
3359
3359
|
if (existing !== undefined) {
|
|
3360
|
-
|
|
3361
|
-
|
|
3360
|
+
cov_y5gyss7rk().b[41][0]++;
|
|
3361
|
+
cov_y5gyss7rk().s[54]++;
|
|
3362
3362
|
return existing;
|
|
3363
3363
|
} else {
|
|
3364
|
-
|
|
3364
|
+
cov_y5gyss7rk().b[41][1]++;
|
|
3365
3365
|
}
|
|
3366
|
-
const theReadPromise = (
|
|
3367
|
-
|
|
3368
|
-
|
|
3366
|
+
const theReadPromise = (cov_y5gyss7rk().s[55]++, new Promise(resolve => {
|
|
3367
|
+
cov_y5gyss7rk().f[13]++;
|
|
3368
|
+
cov_y5gyss7rk().s[56]++;
|
|
3369
3369
|
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
3370
3370
|
this.i18next.loadNamespaces(name, err => {
|
|
3371
|
-
|
|
3372
|
-
|
|
3371
|
+
cov_y5gyss7rk().f[14]++;
|
|
3372
|
+
cov_y5gyss7rk().s[57]++;
|
|
3373
3373
|
if (!err) {
|
|
3374
|
-
|
|
3375
|
-
|
|
3374
|
+
cov_y5gyss7rk().b[42][0]++;
|
|
3375
|
+
cov_y5gyss7rk().s[58]++;
|
|
3376
3376
|
return resolve();
|
|
3377
3377
|
} else {
|
|
3378
|
-
|
|
3378
|
+
cov_y5gyss7rk().b[42][1]++;
|
|
3379
3379
|
}
|
|
3380
3380
|
// Here we got a non-null err object.
|
|
3381
3381
|
// This method is called when the system has attempted to load the resources for the namespaces for each possible locale.
|
|
3382
3382
|
// For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.
|
|
3383
3383
|
// Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.
|
|
3384
3384
|
// 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.
|
|
3385
|
-
let locales = (
|
|
3386
|
-
|
|
3387
|
-
|
|
3385
|
+
let locales = (cov_y5gyss7rk().s[59]++, this.getLanguageList().map(thisLocale => {
|
|
3386
|
+
cov_y5gyss7rk().f[15]++;
|
|
3387
|
+
cov_y5gyss7rk().s[60]++;
|
|
3388
3388
|
return `/${thisLocale}/`;
|
|
3389
3389
|
}));
|
|
3390
|
-
|
|
3390
|
+
cov_y5gyss7rk().s[61]++;
|
|
3391
3391
|
try {
|
|
3392
|
-
|
|
3392
|
+
cov_y5gyss7rk().s[62]++;
|
|
3393
3393
|
for (const thisError of err) {
|
|
3394
|
-
|
|
3394
|
+
cov_y5gyss7rk().s[63]++;
|
|
3395
3395
|
if (typeof thisError === "string") {
|
|
3396
|
-
|
|
3397
|
-
|
|
3396
|
+
cov_y5gyss7rk().b[43][0]++;
|
|
3397
|
+
cov_y5gyss7rk().s[64]++;
|
|
3398
3398
|
locales = locales.filter(thisLocale => {
|
|
3399
|
-
|
|
3400
|
-
|
|
3399
|
+
cov_y5gyss7rk().f[16]++;
|
|
3400
|
+
cov_y5gyss7rk().s[65]++;
|
|
3401
3401
|
return !thisError.includes(thisLocale);
|
|
3402
3402
|
});
|
|
3403
3403
|
} else {
|
|
3404
|
-
|
|
3404
|
+
cov_y5gyss7rk().b[43][1]++;
|
|
3405
3405
|
}
|
|
3406
3406
|
}
|
|
3407
3407
|
} catch (e) {
|
|
3408
|
-
|
|
3408
|
+
cov_y5gyss7rk().s[66]++;
|
|
3409
3409
|
locales = [];
|
|
3410
3410
|
}
|
|
3411
3411
|
// if we removed every locale from the array, it wasn't loaded.
|
|
3412
|
-
|
|
3412
|
+
cov_y5gyss7rk().s[67]++;
|
|
3413
3413
|
if (locales.length === 0) {
|
|
3414
|
-
|
|
3415
|
-
|
|
3414
|
+
cov_y5gyss7rk().b[44][0]++;
|
|
3415
|
+
cov_y5gyss7rk().s[68]++;
|
|
3416
3416
|
core_bentley_1.Logger.logError("i18n", `No resources for namespace ${name} could be loaded`);
|
|
3417
3417
|
} else {
|
|
3418
|
-
|
|
3418
|
+
cov_y5gyss7rk().b[44][1]++;
|
|
3419
3419
|
}
|
|
3420
|
-
|
|
3420
|
+
cov_y5gyss7rk().s[69]++;
|
|
3421
3421
|
resolve();
|
|
3422
3422
|
});
|
|
3423
3423
|
}));
|
|
3424
|
-
|
|
3424
|
+
cov_y5gyss7rk().s[70]++;
|
|
3425
3425
|
this._namespaces.set(name, theReadPromise);
|
|
3426
|
-
|
|
3426
|
+
cov_y5gyss7rk().s[71]++;
|
|
3427
3427
|
return theReadPromise;
|
|
3428
3428
|
}
|
|
3429
3429
|
/** @internal */
|
|
3430
3430
|
unregisterNamespace(name) {
|
|
3431
|
-
|
|
3432
|
-
|
|
3431
|
+
cov_y5gyss7rk().f[17]++;
|
|
3432
|
+
cov_y5gyss7rk().s[72]++;
|
|
3433
3433
|
this._namespaces.delete(name);
|
|
3434
3434
|
}
|
|
3435
3435
|
}
|
|
3436
|
-
|
|
3436
|
+
cov_y5gyss7rk().s[73]++;
|
|
3437
3437
|
exports.ITwinLocalization = ITwinLocalization;
|
|
3438
3438
|
class TranslationLogger {
|
|
3439
3439
|
log(args) {
|
|
3440
|
-
|
|
3441
|
-
|
|
3440
|
+
cov_y5gyss7rk().f[18]++;
|
|
3441
|
+
cov_y5gyss7rk().s[74]++;
|
|
3442
3442
|
core_bentley_1.Logger.logInfo("i18n", this.createLogMessage(args));
|
|
3443
3443
|
}
|
|
3444
3444
|
warn(args) {
|
|
3445
|
-
|
|
3446
|
-
|
|
3445
|
+
cov_y5gyss7rk().f[19]++;
|
|
3446
|
+
cov_y5gyss7rk().s[75]++;
|
|
3447
3447
|
core_bentley_1.Logger.logWarning("i18n", this.createLogMessage(args));
|
|
3448
3448
|
}
|
|
3449
3449
|
error(args) {
|
|
3450
|
-
|
|
3451
|
-
|
|
3450
|
+
cov_y5gyss7rk().f[20]++;
|
|
3451
|
+
cov_y5gyss7rk().s[76]++;
|
|
3452
3452
|
core_bentley_1.Logger.logError("i18n", this.createLogMessage(args));
|
|
3453
3453
|
}
|
|
3454
3454
|
createLogMessage(args) {
|
|
3455
|
-
|
|
3456
|
-
let message = (
|
|
3457
|
-
|
|
3458
|
-
for (let i = (
|
|
3459
|
-
|
|
3455
|
+
cov_y5gyss7rk().f[21]++;
|
|
3456
|
+
let message = (cov_y5gyss7rk().s[77]++, args[0]);
|
|
3457
|
+
cov_y5gyss7rk().s[78]++;
|
|
3458
|
+
for (let i = (cov_y5gyss7rk().s[79]++, 1); i < args.length; ++i) {
|
|
3459
|
+
cov_y5gyss7rk().s[80]++;
|
|
3460
3460
|
if (typeof args[i] === "string") {
|
|
3461
|
-
|
|
3462
|
-
|
|
3461
|
+
cov_y5gyss7rk().b[45][0]++;
|
|
3462
|
+
cov_y5gyss7rk().s[81]++;
|
|
3463
3463
|
message += `\n ${args[i]}`;
|
|
3464
3464
|
} else {
|
|
3465
|
-
|
|
3465
|
+
cov_y5gyss7rk().b[45][1]++;
|
|
3466
3466
|
}
|
|
3467
3467
|
}
|
|
3468
|
-
|
|
3468
|
+
cov_y5gyss7rk().s[82]++;
|
|
3469
3469
|
return message;
|
|
3470
3470
|
}
|
|
3471
3471
|
}
|
|
3472
|
-
|
|
3472
|
+
cov_y5gyss7rk().s[83]++;
|
|
3473
3473
|
TranslationLogger.type = "logger";
|
|
3474
3474
|
|
|
3475
3475
|
/***/ }),
|
|
@@ -3600,20 +3600,20 @@ AssertionError.prototype.toJSON = function (stack) {
|
|
|
3600
3600
|
|
|
3601
3601
|
/***/ }),
|
|
3602
3602
|
|
|
3603
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
3603
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/index.js":
|
|
3604
3604
|
/*!**********************************************************************************!*\
|
|
3605
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
3605
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/index.js ***!
|
|
3606
3606
|
\**********************************************************************************/
|
|
3607
3607
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
3608
3608
|
|
|
3609
|
-
module.exports = __webpack_require__(/*! ./lib/chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
3609
|
+
module.exports = __webpack_require__(/*! ./lib/chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai.js");
|
|
3610
3610
|
|
|
3611
3611
|
|
|
3612
3612
|
/***/ }),
|
|
3613
3613
|
|
|
3614
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
3614
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai.js":
|
|
3615
3615
|
/*!*************************************************************************************!*\
|
|
3616
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
3616
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai.js ***!
|
|
3617
3617
|
\*************************************************************************************/
|
|
3618
3618
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3619
3619
|
|
|
@@ -3641,7 +3641,7 @@ exports.AssertionError = __webpack_require__(/*! assertion-error */ "../../commo
|
|
|
3641
3641
|
* Utils for plugins (not exported)
|
|
3642
3642
|
*/
|
|
3643
3643
|
|
|
3644
|
-
var util = __webpack_require__(/*! ./chai/utils */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
3644
|
+
var util = __webpack_require__(/*! ./chai/utils */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/index.js");
|
|
3645
3645
|
|
|
3646
3646
|
/**
|
|
3647
3647
|
* # .use(function)
|
|
@@ -3672,50 +3672,50 @@ exports.util = util;
|
|
|
3672
3672
|
* Configuration
|
|
3673
3673
|
*/
|
|
3674
3674
|
|
|
3675
|
-
var config = __webpack_require__(/*! ./chai/config */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
3675
|
+
var config = __webpack_require__(/*! ./chai/config */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/config.js");
|
|
3676
3676
|
exports.config = config;
|
|
3677
3677
|
|
|
3678
3678
|
/*!
|
|
3679
3679
|
* Primary `Assertion` prototype
|
|
3680
3680
|
*/
|
|
3681
3681
|
|
|
3682
|
-
var assertion = __webpack_require__(/*! ./chai/assertion */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
3682
|
+
var assertion = __webpack_require__(/*! ./chai/assertion */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/assertion.js");
|
|
3683
3683
|
exports.use(assertion);
|
|
3684
3684
|
|
|
3685
3685
|
/*!
|
|
3686
3686
|
* Core Assertions
|
|
3687
3687
|
*/
|
|
3688
3688
|
|
|
3689
|
-
var core = __webpack_require__(/*! ./chai/core/assertions */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
3689
|
+
var core = __webpack_require__(/*! ./chai/core/assertions */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/core/assertions.js");
|
|
3690
3690
|
exports.use(core);
|
|
3691
3691
|
|
|
3692
3692
|
/*!
|
|
3693
3693
|
* Expect interface
|
|
3694
3694
|
*/
|
|
3695
3695
|
|
|
3696
|
-
var expect = __webpack_require__(/*! ./chai/interface/expect */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
3696
|
+
var expect = __webpack_require__(/*! ./chai/interface/expect */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/interface/expect.js");
|
|
3697
3697
|
exports.use(expect);
|
|
3698
3698
|
|
|
3699
3699
|
/*!
|
|
3700
3700
|
* Should interface
|
|
3701
3701
|
*/
|
|
3702
3702
|
|
|
3703
|
-
var should = __webpack_require__(/*! ./chai/interface/should */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
3703
|
+
var should = __webpack_require__(/*! ./chai/interface/should */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/interface/should.js");
|
|
3704
3704
|
exports.use(should);
|
|
3705
3705
|
|
|
3706
3706
|
/*!
|
|
3707
3707
|
* Assert interface
|
|
3708
3708
|
*/
|
|
3709
3709
|
|
|
3710
|
-
var assert = __webpack_require__(/*! ./chai/interface/assert */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
3710
|
+
var assert = __webpack_require__(/*! ./chai/interface/assert */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/interface/assert.js");
|
|
3711
3711
|
exports.use(assert);
|
|
3712
3712
|
|
|
3713
3713
|
|
|
3714
3714
|
/***/ }),
|
|
3715
3715
|
|
|
3716
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
3716
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/assertion.js":
|
|
3717
3717
|
/*!***********************************************************************************************!*\
|
|
3718
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
3718
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/assertion.js ***!
|
|
3719
3719
|
\***********************************************************************************************/
|
|
3720
3720
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
3721
3721
|
|
|
@@ -3726,7 +3726,7 @@ exports.use(assert);
|
|
|
3726
3726
|
* MIT Licensed
|
|
3727
3727
|
*/
|
|
3728
3728
|
|
|
3729
|
-
var config = __webpack_require__(/*! ./config */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
3729
|
+
var config = __webpack_require__(/*! ./config */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/config.js");
|
|
3730
3730
|
|
|
3731
3731
|
module.exports = function (_chai, util) {
|
|
3732
3732
|
/*!
|
|
@@ -3898,9 +3898,9 @@ module.exports = function (_chai, util) {
|
|
|
3898
3898
|
|
|
3899
3899
|
/***/ }),
|
|
3900
3900
|
|
|
3901
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
3901
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/config.js":
|
|
3902
3902
|
/*!********************************************************************************************!*\
|
|
3903
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
3903
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/config.js ***!
|
|
3904
3904
|
\********************************************************************************************/
|
|
3905
3905
|
/***/ ((module) => {
|
|
3906
3906
|
|
|
@@ -4002,9 +4002,9 @@ module.exports = {
|
|
|
4002
4002
|
|
|
4003
4003
|
/***/ }),
|
|
4004
4004
|
|
|
4005
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
4005
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/core/assertions.js":
|
|
4006
4006
|
/*!*****************************************************************************************************!*\
|
|
4007
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
4007
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/core/assertions.js ***!
|
|
4008
4008
|
\*****************************************************************************************************/
|
|
4009
4009
|
/***/ ((module) => {
|
|
4010
4010
|
|
|
@@ -7865,9 +7865,9 @@ module.exports = function (chai, _) {
|
|
|
7865
7865
|
|
|
7866
7866
|
/***/ }),
|
|
7867
7867
|
|
|
7868
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
7868
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/interface/assert.js":
|
|
7869
7869
|
/*!******************************************************************************************************!*\
|
|
7870
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
7870
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/interface/assert.js ***!
|
|
7871
7871
|
\******************************************************************************************************/
|
|
7872
7872
|
/***/ ((module) => {
|
|
7873
7873
|
|
|
@@ -10988,9 +10988,9 @@ module.exports = function (chai, util) {
|
|
|
10988
10988
|
|
|
10989
10989
|
/***/ }),
|
|
10990
10990
|
|
|
10991
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
10991
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/interface/expect.js":
|
|
10992
10992
|
/*!******************************************************************************************************!*\
|
|
10993
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
10993
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/interface/expect.js ***!
|
|
10994
10994
|
\******************************************************************************************************/
|
|
10995
10995
|
/***/ ((module) => {
|
|
10996
10996
|
|
|
@@ -11045,9 +11045,9 @@ module.exports = function (chai, util) {
|
|
|
11045
11045
|
|
|
11046
11046
|
/***/ }),
|
|
11047
11047
|
|
|
11048
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11048
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/interface/should.js":
|
|
11049
11049
|
/*!******************************************************************************************************!*\
|
|
11050
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11050
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/interface/should.js ***!
|
|
11051
11051
|
\******************************************************************************************************/
|
|
11052
11052
|
/***/ ((module) => {
|
|
11053
11053
|
|
|
@@ -11274,9 +11274,9 @@ module.exports = function (chai, util) {
|
|
|
11274
11274
|
|
|
11275
11275
|
/***/ }),
|
|
11276
11276
|
|
|
11277
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11277
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/addChainableMethod.js":
|
|
11278
11278
|
/*!**************************************************************************************************************!*\
|
|
11279
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11279
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/addChainableMethod.js ***!
|
|
11280
11280
|
\**************************************************************************************************************/
|
|
11281
11281
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
11282
11282
|
|
|
@@ -11290,11 +11290,11 @@ module.exports = function (chai, util) {
|
|
|
11290
11290
|
* Module dependencies
|
|
11291
11291
|
*/
|
|
11292
11292
|
|
|
11293
|
-
var addLengthGuard = __webpack_require__(/*! ./addLengthGuard */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11294
|
-
var chai = __webpack_require__(/*! ../../chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11295
|
-
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11296
|
-
var proxify = __webpack_require__(/*! ./proxify */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11297
|
-
var transferFlags = __webpack_require__(/*! ./transferFlags */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11293
|
+
var addLengthGuard = __webpack_require__(/*! ./addLengthGuard */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/addLengthGuard.js");
|
|
11294
|
+
var chai = __webpack_require__(/*! ../../chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai.js");
|
|
11295
|
+
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/flag.js");
|
|
11296
|
+
var proxify = __webpack_require__(/*! ./proxify */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/proxify.js");
|
|
11297
|
+
var transferFlags = __webpack_require__(/*! ./transferFlags */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/transferFlags.js");
|
|
11298
11298
|
|
|
11299
11299
|
/*!
|
|
11300
11300
|
* Module variables
|
|
@@ -11436,9 +11436,9 @@ module.exports = function addChainableMethod(ctx, name, method, chainingBehavior
|
|
|
11436
11436
|
|
|
11437
11437
|
/***/ }),
|
|
11438
11438
|
|
|
11439
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11439
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/addLengthGuard.js":
|
|
11440
11440
|
/*!**********************************************************************************************************!*\
|
|
11441
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11441
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/addLengthGuard.js ***!
|
|
11442
11442
|
\**********************************************************************************************************/
|
|
11443
11443
|
/***/ ((module) => {
|
|
11444
11444
|
|
|
@@ -11506,9 +11506,9 @@ module.exports = function addLengthGuard (fn, assertionName, isChainable) {
|
|
|
11506
11506
|
|
|
11507
11507
|
/***/ }),
|
|
11508
11508
|
|
|
11509
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11509
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/addMethod.js":
|
|
11510
11510
|
/*!*****************************************************************************************************!*\
|
|
11511
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11511
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/addMethod.js ***!
|
|
11512
11512
|
\*****************************************************************************************************/
|
|
11513
11513
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
11514
11514
|
|
|
@@ -11518,11 +11518,11 @@ module.exports = function addLengthGuard (fn, assertionName, isChainable) {
|
|
|
11518
11518
|
* MIT Licensed
|
|
11519
11519
|
*/
|
|
11520
11520
|
|
|
11521
|
-
var addLengthGuard = __webpack_require__(/*! ./addLengthGuard */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11522
|
-
var chai = __webpack_require__(/*! ../../chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11523
|
-
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11524
|
-
var proxify = __webpack_require__(/*! ./proxify */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11525
|
-
var transferFlags = __webpack_require__(/*! ./transferFlags */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11521
|
+
var addLengthGuard = __webpack_require__(/*! ./addLengthGuard */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/addLengthGuard.js");
|
|
11522
|
+
var chai = __webpack_require__(/*! ../../chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai.js");
|
|
11523
|
+
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/flag.js");
|
|
11524
|
+
var proxify = __webpack_require__(/*! ./proxify */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/proxify.js");
|
|
11525
|
+
var transferFlags = __webpack_require__(/*! ./transferFlags */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/transferFlags.js");
|
|
11526
11526
|
|
|
11527
11527
|
/**
|
|
11528
11528
|
* ### .addMethod(ctx, name, method)
|
|
@@ -11584,9 +11584,9 @@ module.exports = function addMethod(ctx, name, method) {
|
|
|
11584
11584
|
|
|
11585
11585
|
/***/ }),
|
|
11586
11586
|
|
|
11587
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11587
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/addProperty.js":
|
|
11588
11588
|
/*!*******************************************************************************************************!*\
|
|
11589
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11589
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/addProperty.js ***!
|
|
11590
11590
|
\*******************************************************************************************************/
|
|
11591
11591
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
11592
11592
|
|
|
@@ -11596,10 +11596,10 @@ module.exports = function addMethod(ctx, name, method) {
|
|
|
11596
11596
|
* MIT Licensed
|
|
11597
11597
|
*/
|
|
11598
11598
|
|
|
11599
|
-
var chai = __webpack_require__(/*! ../../chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11600
|
-
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11601
|
-
var isProxyEnabled = __webpack_require__(/*! ./isProxyEnabled */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11602
|
-
var transferFlags = __webpack_require__(/*! ./transferFlags */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11599
|
+
var chai = __webpack_require__(/*! ../../chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai.js");
|
|
11600
|
+
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/flag.js");
|
|
11601
|
+
var isProxyEnabled = __webpack_require__(/*! ./isProxyEnabled */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/isProxyEnabled.js");
|
|
11602
|
+
var transferFlags = __webpack_require__(/*! ./transferFlags */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/transferFlags.js");
|
|
11603
11603
|
|
|
11604
11604
|
/**
|
|
11605
11605
|
* ### .addProperty(ctx, name, getter)
|
|
@@ -11666,9 +11666,9 @@ module.exports = function addProperty(ctx, name, getter) {
|
|
|
11666
11666
|
|
|
11667
11667
|
/***/ }),
|
|
11668
11668
|
|
|
11669
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11669
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/compareByInspect.js":
|
|
11670
11670
|
/*!************************************************************************************************************!*\
|
|
11671
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11671
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/compareByInspect.js ***!
|
|
11672
11672
|
\************************************************************************************************************/
|
|
11673
11673
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
11674
11674
|
|
|
@@ -11682,7 +11682,7 @@ module.exports = function addProperty(ctx, name, getter) {
|
|
|
11682
11682
|
* Module dependencies
|
|
11683
11683
|
*/
|
|
11684
11684
|
|
|
11685
|
-
var inspect = __webpack_require__(/*! ./inspect */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11685
|
+
var inspect = __webpack_require__(/*! ./inspect */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/inspect.js");
|
|
11686
11686
|
|
|
11687
11687
|
/**
|
|
11688
11688
|
* ### .compareByInspect(mixed, mixed)
|
|
@@ -11707,9 +11707,9 @@ module.exports = function compareByInspect(a, b) {
|
|
|
11707
11707
|
|
|
11708
11708
|
/***/ }),
|
|
11709
11709
|
|
|
11710
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11710
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/expectTypes.js":
|
|
11711
11711
|
/*!*******************************************************************************************************!*\
|
|
11712
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11712
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/expectTypes.js ***!
|
|
11713
11713
|
\*******************************************************************************************************/
|
|
11714
11714
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
11715
11715
|
|
|
@@ -11734,7 +11734,7 @@ module.exports = function compareByInspect(a, b) {
|
|
|
11734
11734
|
*/
|
|
11735
11735
|
|
|
11736
11736
|
var AssertionError = __webpack_require__(/*! assertion-error */ "../../common/temp/node_modules/.pnpm/assertion-error@1.1.0/node_modules/assertion-error/index.js");
|
|
11737
|
-
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11737
|
+
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/flag.js");
|
|
11738
11738
|
var type = __webpack_require__(/*! type-detect */ "../../common/temp/node_modules/.pnpm/type-detect@4.0.8/node_modules/type-detect/type-detect.js");
|
|
11739
11739
|
|
|
11740
11740
|
module.exports = function expectTypes(obj, types) {
|
|
@@ -11768,9 +11768,9 @@ module.exports = function expectTypes(obj, types) {
|
|
|
11768
11768
|
|
|
11769
11769
|
/***/ }),
|
|
11770
11770
|
|
|
11771
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11771
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/flag.js":
|
|
11772
11772
|
/*!************************************************************************************************!*\
|
|
11773
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11773
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/flag.js ***!
|
|
11774
11774
|
\************************************************************************************************/
|
|
11775
11775
|
/***/ ((module) => {
|
|
11776
11776
|
|
|
@@ -11811,9 +11811,9 @@ module.exports = function flag(obj, key, value) {
|
|
|
11811
11811
|
|
|
11812
11812
|
/***/ }),
|
|
11813
11813
|
|
|
11814
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11814
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getActual.js":
|
|
11815
11815
|
/*!*****************************************************************************************************!*\
|
|
11816
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11816
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getActual.js ***!
|
|
11817
11817
|
\*****************************************************************************************************/
|
|
11818
11818
|
/***/ ((module) => {
|
|
11819
11819
|
|
|
@@ -11841,9 +11841,9 @@ module.exports = function getActual(obj, args) {
|
|
|
11841
11841
|
|
|
11842
11842
|
/***/ }),
|
|
11843
11843
|
|
|
11844
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11844
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getMessage.js":
|
|
11845
11845
|
/*!******************************************************************************************************!*\
|
|
11846
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11846
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getMessage.js ***!
|
|
11847
11847
|
\******************************************************************************************************/
|
|
11848
11848
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
11849
11849
|
|
|
@@ -11857,9 +11857,9 @@ module.exports = function getActual(obj, args) {
|
|
|
11857
11857
|
* Module dependencies
|
|
11858
11858
|
*/
|
|
11859
11859
|
|
|
11860
|
-
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11861
|
-
, getActual = __webpack_require__(/*! ./getActual */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11862
|
-
, objDisplay = __webpack_require__(/*! ./objDisplay */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11860
|
+
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/flag.js")
|
|
11861
|
+
, getActual = __webpack_require__(/*! ./getActual */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getActual.js")
|
|
11862
|
+
, objDisplay = __webpack_require__(/*! ./objDisplay */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/objDisplay.js");
|
|
11863
11863
|
|
|
11864
11864
|
/**
|
|
11865
11865
|
* ### .getMessage(object, message, negateMessage)
|
|
@@ -11901,15 +11901,15 @@ module.exports = function getMessage(obj, args) {
|
|
|
11901
11901
|
|
|
11902
11902
|
/***/ }),
|
|
11903
11903
|
|
|
11904
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11904
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getOperator.js":
|
|
11905
11905
|
/*!*******************************************************************************************************!*\
|
|
11906
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11906
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getOperator.js ***!
|
|
11907
11907
|
\*******************************************************************************************************/
|
|
11908
11908
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
11909
11909
|
|
|
11910
11910
|
var type = __webpack_require__(/*! type-detect */ "../../common/temp/node_modules/.pnpm/type-detect@4.0.8/node_modules/type-detect/type-detect.js");
|
|
11911
11911
|
|
|
11912
|
-
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11912
|
+
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/flag.js");
|
|
11913
11913
|
|
|
11914
11914
|
function isObjectType(obj) {
|
|
11915
11915
|
var objectType = type(obj);
|
|
@@ -11966,9 +11966,9 @@ module.exports = function getOperator(obj, args) {
|
|
|
11966
11966
|
|
|
11967
11967
|
/***/ }),
|
|
11968
11968
|
|
|
11969
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11969
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getOwnEnumerableProperties.js":
|
|
11970
11970
|
/*!**********************************************************************************************************************!*\
|
|
11971
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11971
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getOwnEnumerableProperties.js ***!
|
|
11972
11972
|
\**********************************************************************************************************************/
|
|
11973
11973
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
11974
11974
|
|
|
@@ -11982,7 +11982,7 @@ module.exports = function getOperator(obj, args) {
|
|
|
11982
11982
|
* Module dependencies
|
|
11983
11983
|
*/
|
|
11984
11984
|
|
|
11985
|
-
var getOwnEnumerablePropertySymbols = __webpack_require__(/*! ./getOwnEnumerablePropertySymbols */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
11985
|
+
var getOwnEnumerablePropertySymbols = __webpack_require__(/*! ./getOwnEnumerablePropertySymbols */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js");
|
|
11986
11986
|
|
|
11987
11987
|
/**
|
|
11988
11988
|
* ### .getOwnEnumerableProperties(object)
|
|
@@ -12005,9 +12005,9 @@ module.exports = function getOwnEnumerableProperties(obj) {
|
|
|
12005
12005
|
|
|
12006
12006
|
/***/ }),
|
|
12007
12007
|
|
|
12008
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12008
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js":
|
|
12009
12009
|
/*!***************************************************************************************************************************!*\
|
|
12010
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12010
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js ***!
|
|
12011
12011
|
\***************************************************************************************************************************/
|
|
12012
12012
|
/***/ ((module) => {
|
|
12013
12013
|
|
|
@@ -12042,9 +12042,9 @@ module.exports = function getOwnEnumerablePropertySymbols(obj) {
|
|
|
12042
12042
|
|
|
12043
12043
|
/***/ }),
|
|
12044
12044
|
|
|
12045
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12045
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getProperties.js":
|
|
12046
12046
|
/*!*********************************************************************************************************!*\
|
|
12047
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12047
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getProperties.js ***!
|
|
12048
12048
|
\*********************************************************************************************************/
|
|
12049
12049
|
/***/ ((module) => {
|
|
12050
12050
|
|
|
@@ -12088,9 +12088,9 @@ module.exports = function getProperties(object) {
|
|
|
12088
12088
|
|
|
12089
12089
|
/***/ }),
|
|
12090
12090
|
|
|
12091
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12091
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/index.js":
|
|
12092
12092
|
/*!*************************************************************************************************!*\
|
|
12093
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12093
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/index.js ***!
|
|
12094
12094
|
\*************************************************************************************************/
|
|
12095
12095
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
12096
12096
|
|
|
@@ -12110,7 +12110,7 @@ var pathval = __webpack_require__(/*! pathval */ "../../common/temp/node_modules
|
|
|
12110
12110
|
* test utility
|
|
12111
12111
|
*/
|
|
12112
12112
|
|
|
12113
|
-
exports.test = __webpack_require__(/*! ./test */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12113
|
+
exports.test = __webpack_require__(/*! ./test */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/test.js");
|
|
12114
12114
|
|
|
12115
12115
|
/*!
|
|
12116
12116
|
* type utility
|
|
@@ -12121,49 +12121,49 @@ exports.type = __webpack_require__(/*! type-detect */ "../../common/temp/node_mo
|
|
|
12121
12121
|
/*!
|
|
12122
12122
|
* expectTypes utility
|
|
12123
12123
|
*/
|
|
12124
|
-
exports.expectTypes = __webpack_require__(/*! ./expectTypes */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12124
|
+
exports.expectTypes = __webpack_require__(/*! ./expectTypes */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/expectTypes.js");
|
|
12125
12125
|
|
|
12126
12126
|
/*!
|
|
12127
12127
|
* message utility
|
|
12128
12128
|
*/
|
|
12129
12129
|
|
|
12130
|
-
exports.getMessage = __webpack_require__(/*! ./getMessage */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12130
|
+
exports.getMessage = __webpack_require__(/*! ./getMessage */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getMessage.js");
|
|
12131
12131
|
|
|
12132
12132
|
/*!
|
|
12133
12133
|
* actual utility
|
|
12134
12134
|
*/
|
|
12135
12135
|
|
|
12136
|
-
exports.getActual = __webpack_require__(/*! ./getActual */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12136
|
+
exports.getActual = __webpack_require__(/*! ./getActual */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getActual.js");
|
|
12137
12137
|
|
|
12138
12138
|
/*!
|
|
12139
12139
|
* Inspect util
|
|
12140
12140
|
*/
|
|
12141
12141
|
|
|
12142
|
-
exports.inspect = __webpack_require__(/*! ./inspect */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12142
|
+
exports.inspect = __webpack_require__(/*! ./inspect */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/inspect.js");
|
|
12143
12143
|
|
|
12144
12144
|
/*!
|
|
12145
12145
|
* Object Display util
|
|
12146
12146
|
*/
|
|
12147
12147
|
|
|
12148
|
-
exports.objDisplay = __webpack_require__(/*! ./objDisplay */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12148
|
+
exports.objDisplay = __webpack_require__(/*! ./objDisplay */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/objDisplay.js");
|
|
12149
12149
|
|
|
12150
12150
|
/*!
|
|
12151
12151
|
* Flag utility
|
|
12152
12152
|
*/
|
|
12153
12153
|
|
|
12154
|
-
exports.flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12154
|
+
exports.flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/flag.js");
|
|
12155
12155
|
|
|
12156
12156
|
/*!
|
|
12157
12157
|
* Flag transferring utility
|
|
12158
12158
|
*/
|
|
12159
12159
|
|
|
12160
|
-
exports.transferFlags = __webpack_require__(/*! ./transferFlags */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12160
|
+
exports.transferFlags = __webpack_require__(/*! ./transferFlags */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/transferFlags.js");
|
|
12161
12161
|
|
|
12162
12162
|
/*!
|
|
12163
12163
|
* Deep equal utility
|
|
12164
12164
|
*/
|
|
12165
12165
|
|
|
12166
|
-
exports.eql = __webpack_require__(/*! deep-eql */ "../../common/temp/node_modules/.pnpm/deep-eql@
|
|
12166
|
+
exports.eql = __webpack_require__(/*! deep-eql */ "../../common/temp/node_modules/.pnpm/deep-eql@4.1.2/node_modules/deep-eql/index.js");
|
|
12167
12167
|
|
|
12168
12168
|
/*!
|
|
12169
12169
|
* Deep path info
|
|
@@ -12187,55 +12187,55 @@ exports.getName = __webpack_require__(/*! get-func-name */ "../../common/temp/no
|
|
|
12187
12187
|
* add Property
|
|
12188
12188
|
*/
|
|
12189
12189
|
|
|
12190
|
-
exports.addProperty = __webpack_require__(/*! ./addProperty */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12190
|
+
exports.addProperty = __webpack_require__(/*! ./addProperty */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/addProperty.js");
|
|
12191
12191
|
|
|
12192
12192
|
/*!
|
|
12193
12193
|
* add Method
|
|
12194
12194
|
*/
|
|
12195
12195
|
|
|
12196
|
-
exports.addMethod = __webpack_require__(/*! ./addMethod */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12196
|
+
exports.addMethod = __webpack_require__(/*! ./addMethod */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/addMethod.js");
|
|
12197
12197
|
|
|
12198
12198
|
/*!
|
|
12199
12199
|
* overwrite Property
|
|
12200
12200
|
*/
|
|
12201
12201
|
|
|
12202
|
-
exports.overwriteProperty = __webpack_require__(/*! ./overwriteProperty */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12202
|
+
exports.overwriteProperty = __webpack_require__(/*! ./overwriteProperty */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/overwriteProperty.js");
|
|
12203
12203
|
|
|
12204
12204
|
/*!
|
|
12205
12205
|
* overwrite Method
|
|
12206
12206
|
*/
|
|
12207
12207
|
|
|
12208
|
-
exports.overwriteMethod = __webpack_require__(/*! ./overwriteMethod */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12208
|
+
exports.overwriteMethod = __webpack_require__(/*! ./overwriteMethod */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/overwriteMethod.js");
|
|
12209
12209
|
|
|
12210
12210
|
/*!
|
|
12211
12211
|
* Add a chainable method
|
|
12212
12212
|
*/
|
|
12213
12213
|
|
|
12214
|
-
exports.addChainableMethod = __webpack_require__(/*! ./addChainableMethod */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12214
|
+
exports.addChainableMethod = __webpack_require__(/*! ./addChainableMethod */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/addChainableMethod.js");
|
|
12215
12215
|
|
|
12216
12216
|
/*!
|
|
12217
12217
|
* Overwrite chainable method
|
|
12218
12218
|
*/
|
|
12219
12219
|
|
|
12220
|
-
exports.overwriteChainableMethod = __webpack_require__(/*! ./overwriteChainableMethod */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12220
|
+
exports.overwriteChainableMethod = __webpack_require__(/*! ./overwriteChainableMethod */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/overwriteChainableMethod.js");
|
|
12221
12221
|
|
|
12222
12222
|
/*!
|
|
12223
12223
|
* Compare by inspect method
|
|
12224
12224
|
*/
|
|
12225
12225
|
|
|
12226
|
-
exports.compareByInspect = __webpack_require__(/*! ./compareByInspect */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12226
|
+
exports.compareByInspect = __webpack_require__(/*! ./compareByInspect */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/compareByInspect.js");
|
|
12227
12227
|
|
|
12228
12228
|
/*!
|
|
12229
12229
|
* Get own enumerable property symbols method
|
|
12230
12230
|
*/
|
|
12231
12231
|
|
|
12232
|
-
exports.getOwnEnumerablePropertySymbols = __webpack_require__(/*! ./getOwnEnumerablePropertySymbols */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12232
|
+
exports.getOwnEnumerablePropertySymbols = __webpack_require__(/*! ./getOwnEnumerablePropertySymbols */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js");
|
|
12233
12233
|
|
|
12234
12234
|
/*!
|
|
12235
12235
|
* Get own enumerable properties method
|
|
12236
12236
|
*/
|
|
12237
12237
|
|
|
12238
|
-
exports.getOwnEnumerableProperties = __webpack_require__(/*! ./getOwnEnumerableProperties */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12238
|
+
exports.getOwnEnumerableProperties = __webpack_require__(/*! ./getOwnEnumerableProperties */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getOwnEnumerableProperties.js");
|
|
12239
12239
|
|
|
12240
12240
|
/*!
|
|
12241
12241
|
* Checks error against a given set of criteria
|
|
@@ -12247,37 +12247,37 @@ exports.checkError = __webpack_require__(/*! check-error */ "../../common/temp/n
|
|
|
12247
12247
|
* Proxify util
|
|
12248
12248
|
*/
|
|
12249
12249
|
|
|
12250
|
-
exports.proxify = __webpack_require__(/*! ./proxify */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12250
|
+
exports.proxify = __webpack_require__(/*! ./proxify */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/proxify.js");
|
|
12251
12251
|
|
|
12252
12252
|
/*!
|
|
12253
12253
|
* addLengthGuard util
|
|
12254
12254
|
*/
|
|
12255
12255
|
|
|
12256
|
-
exports.addLengthGuard = __webpack_require__(/*! ./addLengthGuard */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12256
|
+
exports.addLengthGuard = __webpack_require__(/*! ./addLengthGuard */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/addLengthGuard.js");
|
|
12257
12257
|
|
|
12258
12258
|
/*!
|
|
12259
12259
|
* isProxyEnabled helper
|
|
12260
12260
|
*/
|
|
12261
12261
|
|
|
12262
|
-
exports.isProxyEnabled = __webpack_require__(/*! ./isProxyEnabled */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12262
|
+
exports.isProxyEnabled = __webpack_require__(/*! ./isProxyEnabled */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/isProxyEnabled.js");
|
|
12263
12263
|
|
|
12264
12264
|
/*!
|
|
12265
12265
|
* isNaN method
|
|
12266
12266
|
*/
|
|
12267
12267
|
|
|
12268
|
-
exports.isNaN = __webpack_require__(/*! ./isNaN */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12268
|
+
exports.isNaN = __webpack_require__(/*! ./isNaN */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/isNaN.js");
|
|
12269
12269
|
|
|
12270
12270
|
/*!
|
|
12271
12271
|
* getOperator method
|
|
12272
12272
|
*/
|
|
12273
12273
|
|
|
12274
|
-
exports.getOperator = __webpack_require__(/*! ./getOperator */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12274
|
+
exports.getOperator = __webpack_require__(/*! ./getOperator */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getOperator.js");
|
|
12275
12275
|
|
|
12276
12276
|
/***/ }),
|
|
12277
12277
|
|
|
12278
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12278
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/inspect.js":
|
|
12279
12279
|
/*!***************************************************************************************************!*\
|
|
12280
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12280
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/inspect.js ***!
|
|
12281
12281
|
\***************************************************************************************************/
|
|
12282
12282
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
12283
12283
|
|
|
@@ -12285,8 +12285,8 @@ exports.getOperator = __webpack_require__(/*! ./getOperator */ "../../common/tem
|
|
|
12285
12285
|
// https://github.com/joyent/node/blob/f8c335d0caf47f16d31413f89aa28eda3878e3aa/lib/util.js
|
|
12286
12286
|
|
|
12287
12287
|
var getName = __webpack_require__(/*! get-func-name */ "../../common/temp/node_modules/.pnpm/get-func-name@2.0.0/node_modules/get-func-name/index.js");
|
|
12288
|
-
var loupe = __webpack_require__(/*! loupe */ "../../common/temp/node_modules/.pnpm/loupe@2.3.
|
|
12289
|
-
var config = __webpack_require__(/*! ../config */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12288
|
+
var loupe = __webpack_require__(/*! loupe */ "../../common/temp/node_modules/.pnpm/loupe@2.3.6/node_modules/loupe/loupe.js");
|
|
12289
|
+
var config = __webpack_require__(/*! ../config */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/config.js");
|
|
12290
12290
|
|
|
12291
12291
|
module.exports = inspect;
|
|
12292
12292
|
|
|
@@ -12318,9 +12318,9 @@ function inspect(obj, showHidden, depth, colors) {
|
|
|
12318
12318
|
|
|
12319
12319
|
/***/ }),
|
|
12320
12320
|
|
|
12321
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12321
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/isNaN.js":
|
|
12322
12322
|
/*!*************************************************************************************************!*\
|
|
12323
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12323
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/isNaN.js ***!
|
|
12324
12324
|
\*************************************************************************************************/
|
|
12325
12325
|
/***/ ((module) => {
|
|
12326
12326
|
|
|
@@ -12354,13 +12354,13 @@ module.exports = Number.isNaN || isNaN;
|
|
|
12354
12354
|
|
|
12355
12355
|
/***/ }),
|
|
12356
12356
|
|
|
12357
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12357
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/isProxyEnabled.js":
|
|
12358
12358
|
/*!**********************************************************************************************************!*\
|
|
12359
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12359
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/isProxyEnabled.js ***!
|
|
12360
12360
|
\**********************************************************************************************************/
|
|
12361
12361
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
12362
12362
|
|
|
12363
|
-
var config = __webpack_require__(/*! ../config */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12363
|
+
var config = __webpack_require__(/*! ../config */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/config.js");
|
|
12364
12364
|
|
|
12365
12365
|
/*!
|
|
12366
12366
|
* Chai - isProxyEnabled helper
|
|
@@ -12388,9 +12388,9 @@ module.exports = function isProxyEnabled() {
|
|
|
12388
12388
|
|
|
12389
12389
|
/***/ }),
|
|
12390
12390
|
|
|
12391
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12391
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/objDisplay.js":
|
|
12392
12392
|
/*!******************************************************************************************************!*\
|
|
12393
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12393
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/objDisplay.js ***!
|
|
12394
12394
|
\******************************************************************************************************/
|
|
12395
12395
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
12396
12396
|
|
|
@@ -12404,8 +12404,8 @@ module.exports = function isProxyEnabled() {
|
|
|
12404
12404
|
* Module dependencies
|
|
12405
12405
|
*/
|
|
12406
12406
|
|
|
12407
|
-
var inspect = __webpack_require__(/*! ./inspect */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12408
|
-
var config = __webpack_require__(/*! ../config */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12407
|
+
var inspect = __webpack_require__(/*! ./inspect */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/inspect.js");
|
|
12408
|
+
var config = __webpack_require__(/*! ../config */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/config.js");
|
|
12409
12409
|
|
|
12410
12410
|
/**
|
|
12411
12411
|
* ### .objDisplay(object)
|
|
@@ -12448,9 +12448,9 @@ module.exports = function objDisplay(obj) {
|
|
|
12448
12448
|
|
|
12449
12449
|
/***/ }),
|
|
12450
12450
|
|
|
12451
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12451
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/overwriteChainableMethod.js":
|
|
12452
12452
|
/*!********************************************************************************************************************!*\
|
|
12453
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12453
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/overwriteChainableMethod.js ***!
|
|
12454
12454
|
\********************************************************************************************************************/
|
|
12455
12455
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
12456
12456
|
|
|
@@ -12460,8 +12460,8 @@ module.exports = function objDisplay(obj) {
|
|
|
12460
12460
|
* MIT Licensed
|
|
12461
12461
|
*/
|
|
12462
12462
|
|
|
12463
|
-
var chai = __webpack_require__(/*! ../../chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12464
|
-
var transferFlags = __webpack_require__(/*! ./transferFlags */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12463
|
+
var chai = __webpack_require__(/*! ../../chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai.js");
|
|
12464
|
+
var transferFlags = __webpack_require__(/*! ./transferFlags */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/transferFlags.js");
|
|
12465
12465
|
|
|
12466
12466
|
/**
|
|
12467
12467
|
* ### .overwriteChainableMethod(ctx, name, method, chainingBehavior)
|
|
@@ -12527,9 +12527,9 @@ module.exports = function overwriteChainableMethod(ctx, name, method, chainingBe
|
|
|
12527
12527
|
|
|
12528
12528
|
/***/ }),
|
|
12529
12529
|
|
|
12530
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12530
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/overwriteMethod.js":
|
|
12531
12531
|
/*!***********************************************************************************************************!*\
|
|
12532
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12532
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/overwriteMethod.js ***!
|
|
12533
12533
|
\***********************************************************************************************************/
|
|
12534
12534
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
12535
12535
|
|
|
@@ -12539,11 +12539,11 @@ module.exports = function overwriteChainableMethod(ctx, name, method, chainingBe
|
|
|
12539
12539
|
* MIT Licensed
|
|
12540
12540
|
*/
|
|
12541
12541
|
|
|
12542
|
-
var addLengthGuard = __webpack_require__(/*! ./addLengthGuard */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12543
|
-
var chai = __webpack_require__(/*! ../../chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12544
|
-
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12545
|
-
var proxify = __webpack_require__(/*! ./proxify */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12546
|
-
var transferFlags = __webpack_require__(/*! ./transferFlags */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12542
|
+
var addLengthGuard = __webpack_require__(/*! ./addLengthGuard */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/addLengthGuard.js");
|
|
12543
|
+
var chai = __webpack_require__(/*! ../../chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai.js");
|
|
12544
|
+
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/flag.js");
|
|
12545
|
+
var proxify = __webpack_require__(/*! ./proxify */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/proxify.js");
|
|
12546
|
+
var transferFlags = __webpack_require__(/*! ./transferFlags */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/transferFlags.js");
|
|
12547
12547
|
|
|
12548
12548
|
/**
|
|
12549
12549
|
* ### .overwriteMethod(ctx, name, fn)
|
|
@@ -12629,9 +12629,9 @@ module.exports = function overwriteMethod(ctx, name, method) {
|
|
|
12629
12629
|
|
|
12630
12630
|
/***/ }),
|
|
12631
12631
|
|
|
12632
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12632
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/overwriteProperty.js":
|
|
12633
12633
|
/*!*************************************************************************************************************!*\
|
|
12634
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12634
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/overwriteProperty.js ***!
|
|
12635
12635
|
\*************************************************************************************************************/
|
|
12636
12636
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
12637
12637
|
|
|
@@ -12641,10 +12641,10 @@ module.exports = function overwriteMethod(ctx, name, method) {
|
|
|
12641
12641
|
* MIT Licensed
|
|
12642
12642
|
*/
|
|
12643
12643
|
|
|
12644
|
-
var chai = __webpack_require__(/*! ../../chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12645
|
-
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12646
|
-
var isProxyEnabled = __webpack_require__(/*! ./isProxyEnabled */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12647
|
-
var transferFlags = __webpack_require__(/*! ./transferFlags */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12644
|
+
var chai = __webpack_require__(/*! ../../chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai.js");
|
|
12645
|
+
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/flag.js");
|
|
12646
|
+
var isProxyEnabled = __webpack_require__(/*! ./isProxyEnabled */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/isProxyEnabled.js");
|
|
12647
|
+
var transferFlags = __webpack_require__(/*! ./transferFlags */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/transferFlags.js");
|
|
12648
12648
|
|
|
12649
12649
|
/**
|
|
12650
12650
|
* ### .overwriteProperty(ctx, name, fn)
|
|
@@ -12731,16 +12731,16 @@ module.exports = function overwriteProperty(ctx, name, getter) {
|
|
|
12731
12731
|
|
|
12732
12732
|
/***/ }),
|
|
12733
12733
|
|
|
12734
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12734
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/proxify.js":
|
|
12735
12735
|
/*!***************************************************************************************************!*\
|
|
12736
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12736
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/proxify.js ***!
|
|
12737
12737
|
\***************************************************************************************************/
|
|
12738
12738
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
12739
12739
|
|
|
12740
|
-
var config = __webpack_require__(/*! ../config */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12741
|
-
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12742
|
-
var getProperties = __webpack_require__(/*! ./getProperties */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12743
|
-
var isProxyEnabled = __webpack_require__(/*! ./isProxyEnabled */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12740
|
+
var config = __webpack_require__(/*! ../config */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/config.js");
|
|
12741
|
+
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/flag.js");
|
|
12742
|
+
var getProperties = __webpack_require__(/*! ./getProperties */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/getProperties.js");
|
|
12743
|
+
var isProxyEnabled = __webpack_require__(/*! ./isProxyEnabled */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/isProxyEnabled.js");
|
|
12744
12744
|
|
|
12745
12745
|
/*!
|
|
12746
12746
|
* Chai - proxify utility
|
|
@@ -12888,9 +12888,9 @@ function stringDistanceCapped(strA, strB, cap) {
|
|
|
12888
12888
|
|
|
12889
12889
|
/***/ }),
|
|
12890
12890
|
|
|
12891
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12891
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/test.js":
|
|
12892
12892
|
/*!************************************************************************************************!*\
|
|
12893
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12893
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/test.js ***!
|
|
12894
12894
|
\************************************************************************************************/
|
|
12895
12895
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
12896
12896
|
|
|
@@ -12904,7 +12904,7 @@ function stringDistanceCapped(strA, strB, cap) {
|
|
|
12904
12904
|
* Module dependencies
|
|
12905
12905
|
*/
|
|
12906
12906
|
|
|
12907
|
-
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12907
|
+
var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/flag.js");
|
|
12908
12908
|
|
|
12909
12909
|
/**
|
|
12910
12910
|
* ### .test(object, expression)
|
|
@@ -12926,9 +12926,9 @@ module.exports = function test(obj, args) {
|
|
|
12926
12926
|
|
|
12927
12927
|
/***/ }),
|
|
12928
12928
|
|
|
12929
|
-
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12929
|
+
/***/ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/transferFlags.js":
|
|
12930
12930
|
/*!*********************************************************************************************************!*\
|
|
12931
|
-
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
12931
|
+
!*** ../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/lib/chai/utils/transferFlags.js ***!
|
|
12932
12932
|
\*********************************************************************************************************/
|
|
12933
12933
|
/***/ ((module) => {
|
|
12934
12934
|
|
|
@@ -13728,9 +13728,9 @@ module.exports = exports
|
|
|
13728
13728
|
|
|
13729
13729
|
/***/ }),
|
|
13730
13730
|
|
|
13731
|
-
/***/ "../../common/temp/node_modules/.pnpm/deep-eql@
|
|
13731
|
+
/***/ "../../common/temp/node_modules/.pnpm/deep-eql@4.1.2/node_modules/deep-eql/index.js":
|
|
13732
13732
|
/*!******************************************************************************************!*\
|
|
13733
|
-
!*** ../../common/temp/node_modules/.pnpm/deep-eql@
|
|
13733
|
+
!*** ../../common/temp/node_modules/.pnpm/deep-eql@4.1.2/node_modules/deep-eql/index.js ***!
|
|
13734
13734
|
\******************************************************************************************/
|
|
13735
13735
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
13736
13736
|
|
|
@@ -13749,10 +13749,10 @@ function FakeMap() {
|
|
|
13749
13749
|
}
|
|
13750
13750
|
|
|
13751
13751
|
FakeMap.prototype = {
|
|
13752
|
-
get: function
|
|
13752
|
+
get: function get(key) {
|
|
13753
13753
|
return key[this._key];
|
|
13754
13754
|
},
|
|
13755
|
-
set: function
|
|
13755
|
+
set: function set(key, value) {
|
|
13756
13756
|
if (Object.isExtensible(key)) {
|
|
13757
13757
|
Object.defineProperty(key, this._key, {
|
|
13758
13758
|
value: value,
|
|
@@ -13944,8 +13944,9 @@ function extensiveDeepEqualByType(leftHandOperand, rightHandOperand, leftHandTyp
|
|
|
13944
13944
|
case 'function':
|
|
13945
13945
|
case 'WeakMap':
|
|
13946
13946
|
case 'WeakSet':
|
|
13947
|
-
case 'Error':
|
|
13948
13947
|
return leftHandOperand === rightHandOperand;
|
|
13948
|
+
case 'Error':
|
|
13949
|
+
return keysEqual(leftHandOperand, rightHandOperand, [ 'name', 'message', 'code' ], options);
|
|
13949
13950
|
case 'Arguments':
|
|
13950
13951
|
case 'Int8Array':
|
|
13951
13952
|
case 'Uint8Array':
|
|
@@ -13970,6 +13971,19 @@ function extensiveDeepEqualByType(leftHandOperand, rightHandOperand, leftHandTyp
|
|
|
13970
13971
|
return entriesEqual(leftHandOperand, rightHandOperand, options);
|
|
13971
13972
|
case 'Map':
|
|
13972
13973
|
return entriesEqual(leftHandOperand, rightHandOperand, options);
|
|
13974
|
+
case 'Temporal.PlainDate':
|
|
13975
|
+
case 'Temporal.PlainTime':
|
|
13976
|
+
case 'Temporal.PlainDateTime':
|
|
13977
|
+
case 'Temporal.Instant':
|
|
13978
|
+
case 'Temporal.ZonedDateTime':
|
|
13979
|
+
case 'Temporal.PlainYearMonth':
|
|
13980
|
+
case 'Temporal.PlainMonthDay':
|
|
13981
|
+
return leftHandOperand.equals(rightHandOperand);
|
|
13982
|
+
case 'Temporal.Duration':
|
|
13983
|
+
return leftHandOperand.total('nanoseconds') === rightHandOperand.total('nanoseconds');
|
|
13984
|
+
case 'Temporal.TimeZone':
|
|
13985
|
+
case 'Temporal.Calendar':
|
|
13986
|
+
return leftHandOperand.toString() === rightHandOperand.toString();
|
|
13973
13987
|
default:
|
|
13974
13988
|
return objectEqual(leftHandOperand, rightHandOperand, options);
|
|
13975
13989
|
}
|
|
@@ -14115,6 +14129,11 @@ function getEnumerableKeys(target) {
|
|
|
14115
14129
|
return keys;
|
|
14116
14130
|
}
|
|
14117
14131
|
|
|
14132
|
+
function getNonEnumerableSymbols(target) {
|
|
14133
|
+
var keys = Object.getOwnPropertySymbols(target);
|
|
14134
|
+
return keys;
|
|
14135
|
+
}
|
|
14136
|
+
|
|
14118
14137
|
/*!
|
|
14119
14138
|
* Determines if two objects have matching values, given a set of keys. Defers to deepEqual for the equality check of
|
|
14120
14139
|
* each key. If any value of the given key is not equal, the function will return false (early).
|
|
@@ -14147,14 +14166,16 @@ function keysEqual(leftHandOperand, rightHandOperand, keys, options) {
|
|
|
14147
14166
|
* @param {Object} [options] (Optional)
|
|
14148
14167
|
* @return {Boolean} result
|
|
14149
14168
|
*/
|
|
14150
|
-
|
|
14151
14169
|
function objectEqual(leftHandOperand, rightHandOperand, options) {
|
|
14152
14170
|
var leftHandKeys = getEnumerableKeys(leftHandOperand);
|
|
14153
14171
|
var rightHandKeys = getEnumerableKeys(rightHandOperand);
|
|
14172
|
+
var leftHandSymbols = getNonEnumerableSymbols(leftHandOperand);
|
|
14173
|
+
var rightHandSymbols = getNonEnumerableSymbols(rightHandOperand);
|
|
14174
|
+
leftHandKeys = leftHandKeys.concat(leftHandSymbols);
|
|
14175
|
+
rightHandKeys = rightHandKeys.concat(rightHandSymbols);
|
|
14176
|
+
|
|
14154
14177
|
if (leftHandKeys.length && leftHandKeys.length === rightHandKeys.length) {
|
|
14155
|
-
leftHandKeys.sort()
|
|
14156
|
-
rightHandKeys.sort();
|
|
14157
|
-
if (iterableEqual(leftHandKeys, rightHandKeys) === false) {
|
|
14178
|
+
if (iterableEqual(mapSymbols(leftHandKeys).sort(), mapSymbols(rightHandKeys).sort()) === false) {
|
|
14158
14179
|
return false;
|
|
14159
14180
|
}
|
|
14160
14181
|
return keysEqual(leftHandOperand, rightHandOperand, leftHandKeys, options);
|
|
@@ -14191,6 +14212,16 @@ function isPrimitive(value) {
|
|
|
14191
14212
|
return value === null || typeof value !== 'object';
|
|
14192
14213
|
}
|
|
14193
14214
|
|
|
14215
|
+
function mapSymbols(arr) {
|
|
14216
|
+
return arr.map(function mapSymbol(entry) {
|
|
14217
|
+
if (typeof entry === 'symbol') {
|
|
14218
|
+
return entry.toString();
|
|
14219
|
+
}
|
|
14220
|
+
|
|
14221
|
+
return entry;
|
|
14222
|
+
});
|
|
14223
|
+
}
|
|
14224
|
+
|
|
14194
14225
|
|
|
14195
14226
|
/***/ }),
|
|
14196
14227
|
|
|
@@ -14258,8 +14289,8 @@ module.exports = getFuncName;
|
|
|
14258
14289
|
"use strict";
|
|
14259
14290
|
|
|
14260
14291
|
|
|
14261
|
-
var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
14262
|
-
var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
14292
|
+
var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/classCallCheck.js");
|
|
14293
|
+
var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/createClass.js");
|
|
14263
14294
|
|
|
14264
14295
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
14265
14296
|
|
|
@@ -14691,15 +14722,15 @@ module.exports = Browser;
|
|
|
14691
14722
|
"use strict";
|
|
14692
14723
|
|
|
14693
14724
|
|
|
14694
|
-
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
14695
|
-
var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
14696
|
-
var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
14697
|
-
var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
14698
|
-
var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
14699
|
-
var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
14700
|
-
var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
14701
|
-
var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
14702
|
-
var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
14725
|
+
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/typeof.js");
|
|
14726
|
+
var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/classCallCheck.js");
|
|
14727
|
+
var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/createClass.js");
|
|
14728
|
+
var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
|
|
14729
|
+
var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/inherits.js");
|
|
14730
|
+
var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
|
|
14731
|
+
var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
|
|
14732
|
+
var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/defineProperty.js");
|
|
14733
|
+
var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/toArray.js");
|
|
14703
14734
|
|
|
14704
14735
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
14705
14736
|
|
|
@@ -17549,9 +17580,9 @@ module.exports = instance;
|
|
|
17549
17580
|
|
|
17550
17581
|
/***/ }),
|
|
17551
17582
|
|
|
17552
|
-
/***/ "../../common/temp/node_modules/.pnpm/loupe@2.3.
|
|
17583
|
+
/***/ "../../common/temp/node_modules/.pnpm/loupe@2.3.6/node_modules/loupe/loupe.js":
|
|
17553
17584
|
/*!************************************************************************************!*\
|
|
17554
|
-
!*** ../../common/temp/node_modules/.pnpm/loupe@2.3.
|
|
17585
|
+
!*** ../../common/temp/node_modules/.pnpm/loupe@2.3.6/node_modules/loupe/loupe.js ***!
|
|
17555
17586
|
\************************************************************************************/
|
|
17556
17587
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
17557
17588
|
|
|
@@ -17935,9 +17966,15 @@ module.exports = instance;
|
|
|
17935
17966
|
}
|
|
17936
17967
|
|
|
17937
17968
|
function inspectDate(dateObject, options) {
|
|
17938
|
-
|
|
17939
|
-
|
|
17940
|
-
|
|
17969
|
+
var stringRepresentation = dateObject.toJSON();
|
|
17970
|
+
|
|
17971
|
+
if (stringRepresentation === null) {
|
|
17972
|
+
return 'Invalid Date';
|
|
17973
|
+
}
|
|
17974
|
+
|
|
17975
|
+
var split = stringRepresentation.split('T');
|
|
17976
|
+
var date = split[0]; // If we need to - truncate the time portion, but never the date
|
|
17977
|
+
|
|
17941
17978
|
return options.stylize("".concat(date, "T").concat(truncate(split[1], options.truncate - date.length - 1)), 'date');
|
|
17942
17979
|
}
|
|
17943
17980
|
|
|
@@ -18227,14 +18264,39 @@ module.exports = instance;
|
|
|
18227
18264
|
|
|
18228
18265
|
try {
|
|
18229
18266
|
// eslint-disable-next-line global-require
|
|
18230
|
-
var nodeUtil = __webpack_require__(/*! util */ "?
|
|
18267
|
+
var nodeUtil = __webpack_require__(/*! util */ "?1120");
|
|
18231
18268
|
|
|
18232
18269
|
nodeInspect = nodeUtil.inspect ? nodeUtil.inspect.custom : false;
|
|
18233
18270
|
} catch (noNodeInspect) {
|
|
18234
18271
|
nodeInspect = false;
|
|
18235
18272
|
}
|
|
18236
18273
|
|
|
18237
|
-
|
|
18274
|
+
function FakeMap() {
|
|
18275
|
+
// eslint-disable-next-line prefer-template
|
|
18276
|
+
this.key = 'chai/loupe__' + Math.random() + Date.now();
|
|
18277
|
+
}
|
|
18278
|
+
|
|
18279
|
+
FakeMap.prototype = {
|
|
18280
|
+
// eslint-disable-next-line object-shorthand
|
|
18281
|
+
get: function get(key) {
|
|
18282
|
+
return key[this.key];
|
|
18283
|
+
},
|
|
18284
|
+
// eslint-disable-next-line object-shorthand
|
|
18285
|
+
has: function has(key) {
|
|
18286
|
+
return this.key in key;
|
|
18287
|
+
},
|
|
18288
|
+
// eslint-disable-next-line object-shorthand
|
|
18289
|
+
set: function set(key, value) {
|
|
18290
|
+
if (Object.isExtensible(key)) {
|
|
18291
|
+
Object.defineProperty(key, this.key, {
|
|
18292
|
+
// eslint-disable-next-line object-shorthand
|
|
18293
|
+
value: value,
|
|
18294
|
+
configurable: true
|
|
18295
|
+
});
|
|
18296
|
+
}
|
|
18297
|
+
}
|
|
18298
|
+
};
|
|
18299
|
+
var constructorMap = new (typeof WeakMap === 'function' ? WeakMap : FakeMap)();
|
|
18238
18300
|
var stringTagMap = {};
|
|
18239
18301
|
var baseTypesMap = {
|
|
18240
18302
|
undefined: function undefined$1(value, options) {
|
|
@@ -18384,7 +18446,7 @@ module.exports = instance;
|
|
|
18384
18446
|
return false;
|
|
18385
18447
|
}
|
|
18386
18448
|
|
|
18387
|
-
constructorMap.
|
|
18449
|
+
constructorMap.set(constructor, inspector);
|
|
18388
18450
|
return true;
|
|
18389
18451
|
}
|
|
18390
18452
|
function registerStringTag(stringTag, inspector) {
|
|
@@ -20439,15 +20501,25 @@ class ByteStream {
|
|
|
20439
20501
|
return new ByteStream(buffer, subView); // eslint-disable-line deprecation/deprecation
|
|
20440
20502
|
}
|
|
20441
20503
|
/** The number of bytes in this stream */
|
|
20442
|
-
get length() {
|
|
20504
|
+
get length() {
|
|
20505
|
+
return this._view.byteLength;
|
|
20506
|
+
}
|
|
20507
|
+
/** The number of bytes remaining to be read, from [[curPos]] to the end of the stream. */
|
|
20508
|
+
get remainingLength() {
|
|
20509
|
+
return this.length - this.curPos;
|
|
20510
|
+
}
|
|
20443
20511
|
/** Returns true if the current read position has been advanced past the end of the stream. This generally indicates that an attempt was made to read more data than is available.
|
|
20444
20512
|
* @see [[isAtTheEnd]]
|
|
20445
20513
|
*/
|
|
20446
|
-
get isPastTheEnd() {
|
|
20514
|
+
get isPastTheEnd() {
|
|
20515
|
+
return this.curPos > this.length;
|
|
20516
|
+
}
|
|
20447
20517
|
/** Returns true if the current read position has advanced precisely to the end of the stream, indicating all of the data has been consumed.
|
|
20448
20518
|
* @see [[isPastTheEnd]].
|
|
20449
20519
|
*/
|
|
20450
|
-
get isAtTheEnd() {
|
|
20520
|
+
get isAtTheEnd() {
|
|
20521
|
+
return this.curPos === this.length;
|
|
20522
|
+
}
|
|
20451
20523
|
/** The current read position as an index into the stream of bytes. */
|
|
20452
20524
|
get curPos() { return this._curPos; }
|
|
20453
20525
|
set curPos(pos) {
|
|
@@ -25660,7 +25732,7 @@ function partitionArray(array, criterion) {
|
|
|
25660
25732
|
|
|
25661
25733
|
/***/ }),
|
|
25662
25734
|
|
|
25663
|
-
/***/ "?
|
|
25735
|
+
/***/ "?1120":
|
|
25664
25736
|
/*!**********************!*\
|
|
25665
25737
|
!*** util (ignored) ***!
|
|
25666
25738
|
\**********************/
|
|
@@ -25670,9 +25742,9 @@ function partitionArray(array, criterion) {
|
|
|
25670
25742
|
|
|
25671
25743
|
/***/ }),
|
|
25672
25744
|
|
|
25673
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25745
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
|
|
25674
25746
|
/*!**************************************************************************************************************************!*\
|
|
25675
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25747
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
|
|
25676
25748
|
\**************************************************************************************************************************/
|
|
25677
25749
|
/***/ ((module) => {
|
|
25678
25750
|
|
|
@@ -25687,9 +25759,9 @@ module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exp
|
|
|
25687
25759
|
|
|
25688
25760
|
/***/ }),
|
|
25689
25761
|
|
|
25690
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25762
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
|
|
25691
25763
|
/*!************************************************************************************************************************!*\
|
|
25692
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25764
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
|
|
25693
25765
|
\************************************************************************************************************************/
|
|
25694
25766
|
/***/ ((module) => {
|
|
25695
25767
|
|
|
@@ -25700,9 +25772,9 @@ module.exports = _arrayWithHoles, module.exports.__esModule = true, module.expor
|
|
|
25700
25772
|
|
|
25701
25773
|
/***/ }),
|
|
25702
25774
|
|
|
25703
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25775
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
|
|
25704
25776
|
/*!*******************************************************************************************************************************!*\
|
|
25705
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25777
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
|
|
25706
25778
|
\*******************************************************************************************************************************/
|
|
25707
25779
|
/***/ ((module) => {
|
|
25708
25780
|
|
|
@@ -25716,9 +25788,9 @@ module.exports = _assertThisInitialized, module.exports.__esModule = true, modul
|
|
|
25716
25788
|
|
|
25717
25789
|
/***/ }),
|
|
25718
25790
|
|
|
25719
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25791
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/classCallCheck.js":
|
|
25720
25792
|
/*!************************************************************************************************************************!*\
|
|
25721
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25793
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
|
|
25722
25794
|
\************************************************************************************************************************/
|
|
25723
25795
|
/***/ ((module) => {
|
|
25724
25796
|
|
|
@@ -25731,19 +25803,20 @@ module.exports = _classCallCheck, module.exports.__esModule = true, module.expor
|
|
|
25731
25803
|
|
|
25732
25804
|
/***/ }),
|
|
25733
25805
|
|
|
25734
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25806
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/createClass.js":
|
|
25735
25807
|
/*!*********************************************************************************************************************!*\
|
|
25736
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25808
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/createClass.js ***!
|
|
25737
25809
|
\*********************************************************************************************************************/
|
|
25738
|
-
/***/ ((module) => {
|
|
25810
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25739
25811
|
|
|
25812
|
+
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/toPropertyKey.js");
|
|
25740
25813
|
function _defineProperties(target, props) {
|
|
25741
25814
|
for (var i = 0; i < props.length; i++) {
|
|
25742
25815
|
var descriptor = props[i];
|
|
25743
25816
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
25744
25817
|
descriptor.configurable = true;
|
|
25745
25818
|
if ("value" in descriptor) descriptor.writable = true;
|
|
25746
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
25819
|
+
Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
|
|
25747
25820
|
}
|
|
25748
25821
|
}
|
|
25749
25822
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
@@ -25758,13 +25831,15 @@ module.exports = _createClass, module.exports.__esModule = true, module.exports[
|
|
|
25758
25831
|
|
|
25759
25832
|
/***/ }),
|
|
25760
25833
|
|
|
25761
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25834
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/defineProperty.js":
|
|
25762
25835
|
/*!************************************************************************************************************************!*\
|
|
25763
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25836
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/defineProperty.js ***!
|
|
25764
25837
|
\************************************************************************************************************************/
|
|
25765
|
-
/***/ ((module) => {
|
|
25838
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25766
25839
|
|
|
25840
|
+
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/toPropertyKey.js");
|
|
25767
25841
|
function _defineProperty(obj, key, value) {
|
|
25842
|
+
key = toPropertyKey(key);
|
|
25768
25843
|
if (key in obj) {
|
|
25769
25844
|
Object.defineProperty(obj, key, {
|
|
25770
25845
|
value: value,
|
|
@@ -25781,9 +25856,9 @@ module.exports = _defineProperty, module.exports.__esModule = true, module.expor
|
|
|
25781
25856
|
|
|
25782
25857
|
/***/ }),
|
|
25783
25858
|
|
|
25784
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25859
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
|
|
25785
25860
|
/*!************************************************************************************************************************!*\
|
|
25786
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25861
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
|
|
25787
25862
|
\************************************************************************************************************************/
|
|
25788
25863
|
/***/ ((module) => {
|
|
25789
25864
|
|
|
@@ -25797,13 +25872,13 @@ module.exports = _getPrototypeOf, module.exports.__esModule = true, module.expor
|
|
|
25797
25872
|
|
|
25798
25873
|
/***/ }),
|
|
25799
25874
|
|
|
25800
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25875
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/inherits.js":
|
|
25801
25876
|
/*!******************************************************************************************************************!*\
|
|
25802
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25877
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/inherits.js ***!
|
|
25803
25878
|
\******************************************************************************************************************/
|
|
25804
25879
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25805
25880
|
|
|
25806
|
-
var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25881
|
+
var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
|
|
25807
25882
|
function _inherits(subClass, superClass) {
|
|
25808
25883
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
25809
25884
|
throw new TypeError("Super expression must either be null or a function");
|
|
@@ -25824,9 +25899,9 @@ module.exports = _inherits, module.exports.__esModule = true, module.exports["de
|
|
|
25824
25899
|
|
|
25825
25900
|
/***/ }),
|
|
25826
25901
|
|
|
25827
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25902
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/iterableToArray.js":
|
|
25828
25903
|
/*!*************************************************************************************************************************!*\
|
|
25829
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25904
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
|
|
25830
25905
|
\*************************************************************************************************************************/
|
|
25831
25906
|
/***/ ((module) => {
|
|
25832
25907
|
|
|
@@ -25837,9 +25912,9 @@ module.exports = _iterableToArray, module.exports.__esModule = true, module.expo
|
|
|
25837
25912
|
|
|
25838
25913
|
/***/ }),
|
|
25839
25914
|
|
|
25840
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25915
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/nonIterableRest.js":
|
|
25841
25916
|
/*!*************************************************************************************************************************!*\
|
|
25842
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25917
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
|
|
25843
25918
|
\*************************************************************************************************************************/
|
|
25844
25919
|
/***/ ((module) => {
|
|
25845
25920
|
|
|
@@ -25850,14 +25925,14 @@ module.exports = _nonIterableRest, module.exports.__esModule = true, module.expo
|
|
|
25850
25925
|
|
|
25851
25926
|
/***/ }),
|
|
25852
25927
|
|
|
25853
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25928
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
|
|
25854
25929
|
/*!***********************************************************************************************************************************!*\
|
|
25855
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25930
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
|
|
25856
25931
|
\***********************************************************************************************************************************/
|
|
25857
25932
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25858
25933
|
|
|
25859
|
-
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25860
|
-
var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25934
|
+
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
|
|
25935
|
+
var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
|
|
25861
25936
|
function _possibleConstructorReturn(self, call) {
|
|
25862
25937
|
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
25863
25938
|
return call;
|
|
@@ -25870,9 +25945,9 @@ module.exports = _possibleConstructorReturn, module.exports.__esModule = true, m
|
|
|
25870
25945
|
|
|
25871
25946
|
/***/ }),
|
|
25872
25947
|
|
|
25873
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25948
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
|
|
25874
25949
|
/*!************************************************************************************************************************!*\
|
|
25875
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25950
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
|
|
25876
25951
|
\************************************************************************************************************************/
|
|
25877
25952
|
/***/ ((module) => {
|
|
25878
25953
|
|
|
@@ -25887,16 +25962,16 @@ module.exports = _setPrototypeOf, module.exports.__esModule = true, module.expor
|
|
|
25887
25962
|
|
|
25888
25963
|
/***/ }),
|
|
25889
25964
|
|
|
25890
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25965
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/toArray.js":
|
|
25891
25966
|
/*!*****************************************************************************************************************!*\
|
|
25892
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25967
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/toArray.js ***!
|
|
25893
25968
|
\*****************************************************************************************************************/
|
|
25894
25969
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25895
25970
|
|
|
25896
|
-
var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25897
|
-
var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25898
|
-
var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25899
|
-
var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25971
|
+
var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
|
|
25972
|
+
var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/iterableToArray.js");
|
|
25973
|
+
var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
|
|
25974
|
+
var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/nonIterableRest.js");
|
|
25900
25975
|
function _toArray(arr) {
|
|
25901
25976
|
return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
|
|
25902
25977
|
}
|
|
@@ -25904,9 +25979,46 @@ module.exports = _toArray, module.exports.__esModule = true, module.exports["def
|
|
|
25904
25979
|
|
|
25905
25980
|
/***/ }),
|
|
25906
25981
|
|
|
25907
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
25982
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/toPrimitive.js":
|
|
25983
|
+
/*!*********************************************************************************************************************!*\
|
|
25984
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
|
|
25985
|
+
\*********************************************************************************************************************/
|
|
25986
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25987
|
+
|
|
25988
|
+
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
|
|
25989
|
+
function _toPrimitive(input, hint) {
|
|
25990
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
|
25991
|
+
var prim = input[Symbol.toPrimitive];
|
|
25992
|
+
if (prim !== undefined) {
|
|
25993
|
+
var res = prim.call(input, hint || "default");
|
|
25994
|
+
if (_typeof(res) !== "object") return res;
|
|
25995
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
25996
|
+
}
|
|
25997
|
+
return (hint === "string" ? String : Number)(input);
|
|
25998
|
+
}
|
|
25999
|
+
module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
26000
|
+
|
|
26001
|
+
/***/ }),
|
|
26002
|
+
|
|
26003
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/toPropertyKey.js":
|
|
26004
|
+
/*!***********************************************************************************************************************!*\
|
|
26005
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
|
|
26006
|
+
\***********************************************************************************************************************/
|
|
26007
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26008
|
+
|
|
26009
|
+
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
|
|
26010
|
+
var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/toPrimitive.js");
|
|
26011
|
+
function _toPropertyKey(arg) {
|
|
26012
|
+
var key = toPrimitive(arg, "string");
|
|
26013
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
26014
|
+
}
|
|
26015
|
+
module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
26016
|
+
|
|
26017
|
+
/***/ }),
|
|
26018
|
+
|
|
26019
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/typeof.js":
|
|
25908
26020
|
/*!****************************************************************************************************************!*\
|
|
25909
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
26021
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/typeof.js ***!
|
|
25910
26022
|
\****************************************************************************************************************/
|
|
25911
26023
|
/***/ ((module) => {
|
|
25912
26024
|
|
|
@@ -25923,13 +26035,13 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
|
|
|
25923
26035
|
|
|
25924
26036
|
/***/ }),
|
|
25925
26037
|
|
|
25926
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
26038
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
|
|
25927
26039
|
/*!************************************************************************************************************************************!*\
|
|
25928
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
26040
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
|
|
25929
26041
|
\************************************************************************************************************************************/
|
|
25930
26042
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25931
26043
|
|
|
25932
|
-
var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
26044
|
+
var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.6/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
|
|
25933
26045
|
function _unsupportedIterableToArray(o, minLen) {
|
|
25934
26046
|
if (!o) return;
|
|
25935
26047
|
if (typeof o === "string") return arrayLikeToArray(o, minLen);
|
|
@@ -26456,7 +26568,7 @@ var exports = __webpack_exports__;
|
|
|
26456
26568
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
26457
26569
|
*--------------------------------------------------------------------------------------------*/
|
|
26458
26570
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
26459
|
-
const chai_1 = __webpack_require__(/*! chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.
|
|
26571
|
+
const chai_1 = __webpack_require__(/*! chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/index.js");
|
|
26460
26572
|
const ITwinLocalization_1 = __webpack_require__(/*! ../ITwinLocalization */ "./lib/cjs/ITwinLocalization.js");
|
|
26461
26573
|
describe("ITwinLocalization", () => {
|
|
26462
26574
|
let localization;
|