@upsoft/patchkit-launcher-runtime-base 1.4.0-alpha.2 → 1.4.0-alpha.3

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.
@@ -1,7 +1,8 @@
1
1
  import { __ } from "./$";
2
2
  import { BundledThemeServerState } from "./bundled-theme-server-state";
3
- export declare const ensureBundledThemeServerIsInitialized: __.ManagedAsyncFunc<"ensureBundledThemeServerIsInitialized", ({ bundledThemeDirPath, }: {
3
+ export declare const ensureBundledThemeServerIsInitialized: __.ManagedAsyncFunc<"ensureBundledThemeServerIsInitialized", ({ bundledThemeDirPath, bundledThemeServerMaskOrigin, }: {
4
4
  bundledThemeDirPath: string;
5
+ bundledThemeServerMaskOrigin: string | undefined;
5
6
  }) => Promise<{
6
7
  bundledThemeServerState: BundledThemeServerState;
7
8
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"ensure-bundled-theme-server-is-initialized.d.ts","sourceRoot":"","sources":["../src/ensure-bundled-theme-server-is-initialized.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAc,MAAM,KAAK,CAAC;AAErC,OAAO,EAA8B,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEnG,eAAO,MAAQ,qCAAqC,0FAS3C;IACD,mBAAmB,EAAE,MAAM,CAAC;CAC7B;;GAwCJ,CAAC"}
1
+ {"version":3,"file":"ensure-bundled-theme-server-is-initialized.d.ts","sourceRoot":"","sources":["../src/ensure-bundled-theme-server-is-initialized.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAc,MAAM,KAAK,CAAC;AAErC,OAAO,EAA8B,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEnG,eAAO,MAAQ,qCAAqC,wHAU3C;IACD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,4BAA4B,EAAE,MAAM,GAAG,SAAS,CAAC;CAClD;;GA4GJ,CAAC"}
@@ -8,7 +8,7 @@ exports.ensureBundledThemeServerIsInitialized = _1.__.declareManagedFunc()
8
8
  .namespace(_1.$namespace)
9
9
  .errorTypes([])
10
10
  .async()
11
- .execute(async ({ bundledThemeDirPath, }) => {
11
+ .execute(async ({ bundledThemeDirPath, bundledThemeServerMaskOrigin, }) => {
12
12
  if (bundled_theme_server_state_1.BUNDLED_THEME_SERVER_STATE.value !== undefined) {
13
13
  return {
14
14
  bundledThemeServerState: bundled_theme_server_state_1.BUNDLED_THEME_SERVER_STATE.value,
@@ -20,10 +20,54 @@ exports.ensureBundledThemeServerIsInitialized = _1.__.declareManagedFunc()
20
20
  const bundledThemeServerExpressServer = bundledThemeServerExpress.listen(0, () => {
21
21
  const bundledThemeServerExpressServerAddress = bundledThemeServerExpressServer.address();
22
22
  _1.__.checkAssertion(bundledThemeServerExpressServerAddress !== null);
23
+ const bundledThemeServerTrueOrigin = typeof bundledThemeServerExpressServerAddress === `string`
24
+ ? bundledThemeServerExpressServerAddress
25
+ : `http://127.0.0.1:${String(bundledThemeServerExpressServerAddress.port)}`;
26
+ let bundledThemeServerUrl;
27
+ bundledThemeServerUrl = bundledThemeServerTrueOrigin;
28
+ if (bundledThemeServerMaskOrigin !== undefined) {
29
+ const bundledThemeServerNormalizedMaskOrigin = new URL(bundledThemeServerMaskOrigin).origin;
30
+ const bundledThemeServerNormalizedTrueOrigin = new URL(bundledThemeServerTrueOrigin).origin;
31
+ _1.__.$electron.protocol.handle(`https`, async (electronRequest) => {
32
+ const electronRequestUrlAsObject = new URL(electronRequest.url);
33
+ if (electronRequestUrlAsObject.origin === bundledThemeServerNormalizedMaskOrigin) {
34
+ electronRequest.headers.set(`Origin`, bundledThemeServerNormalizedTrueOrigin);
35
+ const electronRequestResponse = await _1.__.$electron.net.fetch(electronRequestUrlAsObject.toString().replace(bundledThemeServerNormalizedMaskOrigin, bundledThemeServerNormalizedTrueOrigin), {
36
+ body: electronRequest.body,
37
+ bypassCustomProtocolHandlers: true,
38
+ cache: `no-store`,
39
+ credentials: electronRequest.credentials,
40
+ headers: electronRequest.headers,
41
+ integrity: electronRequest.integrity,
42
+ keepalive: electronRequest.keepalive,
43
+ method: electronRequest.method,
44
+ mode: electronRequest.mode,
45
+ redirect: electronRequest.redirect,
46
+ signal: electronRequest.signal,
47
+ });
48
+ electronRequestResponse.headers.set(`Origin`, bundledThemeServerNormalizedMaskOrigin);
49
+ return electronRequestResponse;
50
+ }
51
+ return await _1.__.$electron.net.fetch(electronRequest.url, {
52
+ body: electronRequest.body,
53
+ bypassCustomProtocolHandlers: true,
54
+ cache: electronRequest.cache,
55
+ credentials: electronRequest.credentials,
56
+ headers: electronRequest.headers,
57
+ integrity: electronRequest.integrity,
58
+ keepalive: electronRequest.keepalive,
59
+ method: electronRequest.method,
60
+ mode: electronRequest.mode,
61
+ redirect: electronRequest.redirect,
62
+ referrer: electronRequest.referrer,
63
+ referrerPolicy: electronRequest.referrerPolicy,
64
+ signal: electronRequest.signal,
65
+ });
66
+ });
67
+ bundledThemeServerUrl = bundledThemeServerMaskOrigin;
68
+ }
23
69
  resolvePromise({
24
- url: typeof bundledThemeServerExpressServerAddress === `string`
25
- ? bundledThemeServerExpressServerAddress
26
- : `http://127.0.0.1:${String(bundledThemeServerExpressServerAddress.port)}`,
70
+ url: bundledThemeServerUrl,
27
71
  express: bundledThemeServerExpress,
28
72
  });
29
73
  });
@@ -1 +1 @@
1
- {"version":3,"file":"ensure-bundled-theme-server-is-initialized.js","sourceRoot":"","sources":["../src/ensure-bundled-theme-server-is-initialized.ts"],"names":[],"mappings":";;;AAAA,0BAAqC;AAErC,6EAAmG;AAEpF,6CAAqC,GAAK,KAAE,CAAC,kBAAkB,EAAE;KAC7E,IAAI,CAAC,uCAAuC,CAAC;KAC7C,SAAS,CAAC,aAAU,CAAC;KACrB,UAAU,CAAC,EAAE,CAAC;KACd,KAAK,EAAE;KACP,OAAO,CACN,KAAK,EACH,EACE,mBAAmB,GAGpB,EACD,EAAE;IAEF,IAAI,uDAA0B,CAAC,KAAK,KAAK,SAAS,EAClD,CAAC;QACC,OAAO;YACL,uBAAuB,EAAE,uDAA0B,CAAC,KAAK;SAC1D,CAAC;IACJ,CAAC;IAED,MAAM,yBAAyB,GAAG,KAAE,CAAC,QAAQ,EAAE,CAAC;IAEhD,yBAAyB,CAAC,GAAG,CAAC,KAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAEvE,MAAM,uBAAuB,GAAG,MAAM,IAAI,OAAO,CAA0B,CAAC,cAAc,EAAE,EAAE;QAE5F,MAAM,+BAA+B,GAAG,yBAAyB,CAAC,MAAM,CACtE,CAAC,EACD,GAAG,EAAE;YAEH,MAAM,sCAAsC,GAAG,+BAA+B,CAAC,OAAO,EAAE,CAAC;YAEzF,KAAE,CAAC,cAAc,CAAC,sCAAsC,KAAK,IAAI,CAAC,CAAC;YAEnE,cAAc,CAAC;gBACb,GAAG,EAAE,OAAO,sCAAsC,KAAK,QAAQ;oBAC7D,CAAC,CAAC,sCAAsC;oBACxC,CAAC,CAAC,oBAAoB,MAAM,CAAC,sCAAsC,CAAC,IAAI,CAAC,EAAE;gBAC7E,OAAO,EAAE,yBAAyB;aACnC,CAAC,CAAC;QACL,CAAC,CACF,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,uDAA0B,CAAC,KAAK,GAAG,uBAAuB,CAAC;IAE3D,OAAO;QACL,uBAAuB;KACxB,CAAC;AACJ,CAAC,CACF,uCAAC;AAEJ,6CAAqC,CAAC,MAAM,CAAC,QAAQ,CAAC,oBAAoB,GAAG,KAAK,CAAC"}
1
+ {"version":3,"file":"ensure-bundled-theme-server-is-initialized.js","sourceRoot":"","sources":["../src/ensure-bundled-theme-server-is-initialized.ts"],"names":[],"mappings":";;;AAAA,0BAAqC;AAErC,6EAAmG;AAEpF,6CAAqC,GAAK,KAAE,CAAC,kBAAkB,EAAE;KAC7E,IAAI,CAAC,uCAAuC,CAAC;KAC7C,SAAS,CAAC,aAAU,CAAC;KACrB,UAAU,CAAC,EAAE,CAA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AAC,MAAM;wBAC9B,IAAI,EAAE,eAAe,CAAC,IAAI;wBAC1B,QAAQ,EAAE,eAAe,CAAC,QAAQ;wBAClC,QAAQ,EAAE,eAAe,CAAC,QAAQ;wBAClC,cAAc,EAAE,eAAe,CAAC,cAAc;wBAC9C,MAAM,EAAE,eAAe,CAAC,MAAM;qBAC/B,CACF,CAAC;gBACJ,CAAC,CACF,CAAC;gBAEF,qBAAqB,GAAG,4BAA4B,CAAC;YACvD,CAAC;YAED,cAAc,CAAC;gBACb,GAAG,EAAE,qBAAqB;gBAC1B,OAAO,EAAE,yBAAyB;aACnC,CAAC,CAAC;QACL,CAAC,CACF,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,uDAA0B,CAAC,KAAK,GAAG,uBAAuB,CAAC;IAE3D,OAAO;QACL,uBAAuB;KACxB,CAAC;AACJ,CAAC,CACF,uCAAC;AAEJ,6CAAqC,CAAC,MAAM,CAAC,QAAQ,CAAC,oBAAoB,GAAG,KAAK,CAAC"}
@@ -35,7 +35,7 @@ exports.fetchConfig = _1.__.declareManagedFunc()
35
35
  const config = _1.__.deserializeValueFromJson({
36
36
  json: configFileContents,
37
37
  });
38
- if (!(() => { const $io0 = input => "linux" === input.targetOperatingSystemPlatform && "string" === typeof input.id && "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.companyId && "string" === typeof input.companyName && "string" === typeof input.secret && ("object" === typeof input.runtime && null !== input.runtime && $io1(input.runtime)) && "boolean" === typeof input.isUpdatingRuntimeEnabled && "boolean" === typeof input.isDefaultAutoProcessingRuntimeUpdateEnabled && ("optional" === input.defaultAutoProcessingRuntimeUpdateMode || "required" === input.defaultAutoProcessingRuntimeUpdateMode) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && $io2(input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog)) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && $io3(input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog)) && ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io4(input.assets)) && "string" === typeof input.appsCatalogId && ("object" === typeof input.appMainBranchDefaultRootDir && null !== input.appMainBranchDefaultRootDir && $io6(input.appMainBranchDefaultRootDir)) && ("object" === typeof input.appSecondaryBranchDefaultRootDir && null !== input.appSecondaryBranchDefaultRootDir && $io6(input.appSecondaryBranchDefaultRootDir)) && "boolean" === typeof input.isAppBranchNotDefaultRootDirAllowed && "boolean" === typeof input.isStartingQuitTaskAllowedIfAnyAppBranchProcessExists && ("object" === typeof input.preconfiguredApps && null !== input.preconfiguredApps && false === Array.isArray(input.preconfiguredApps) && $io7(input.preconfiguredApps)) && ("object" === typeof input.window && null !== input.window && $io17(input.window)) && ("object" === typeof input.agreements && null !== input.agreements && false === Array.isArray(input.agreements) && $io19(input.agreements)) && (undefined === input.statsAgreementId || "string" === typeof input.statsAgreementId) && "boolean" === typeof input.isStatsEntryAnonymous && (undefined === input.reportingErrorAgreementId || "string" === typeof input.reportingErrorAgreementId) && ("object" === typeof input.availableLangs && null !== input.availableLangs && false === Array.isArray(input.availableLangs) && $io21(input.availableLangs)) && "string" === typeof input.fallbackLangTag && (undefined === input.protocol || "object" === typeof input.protocol && null !== input.protocol && $io23(input.protocol)) && "boolean" === typeof input.isAutoShowingWindowOnProtocolPendingRequestRegisteredEnabled && "boolean" === typeof input.isAutoFocusingWindowOnProtocolPendingRequestRegisteredEnabled && (undefined === input.tray || "object" === typeof input.tray && null !== input.tray && false === Array.isArray(input.tray) && $io24(input.tray)) && ("object" === typeof input.loadingThemeErrorDialog && null !== input.loadingThemeErrorDialog && $io25(input.loadingThemeErrorDialog)) && ("object" === typeof input.logsCollectedDialog && null !== input.logsCollectedDialog && $io27(input.logsCollectedDialog)) && ("object" === typeof input.crashedDialog && null !== input.crashedDialog && $io28(input.crashedDialog)) && (undefined === input.bundledThemeDirAssetId || "string" === typeof input.bundledThemeDirAssetId) && (undefined === input.overrideThemeUrl || "string" === typeof input.overrideThemeUrl) && (undefined === input.overrideLibkappsDirPath || "string" === typeof input.overrideLibkappsDirPath) && (undefined === input.overrideRootDirPath || "string" === typeof input.overrideRootDirPath) && (undefined === input.overrideUserDataDirPath || "string" === typeof input.overrideUserDataDirPath) && (undefined === input.patchKitOverrideMainServiceApiUrl || "string" === typeof input.patchKitOverrideMainServiceApiUrl) && (undefined === input.patchKitOverrideMainServiceApiProxyUrl || "string" === typeof input.patchKitOverrideMainServiceApiProxyUrl) && (undefined === input.patchKitOverrideMainServiceApiCacheUrl || "string" === typeof input.patchKitOverrideMainServiceApiCacheUrl) && (undefined === input.patchKitOverrideStatsServiceApiUrl || "string" === typeof input.patchKitOverrideStatsServiceApiUrl) && (undefined === input.patchKitOverrideKeysServiceApiUrl || "string" === typeof input.patchKitOverrideKeysServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiProxyUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiProxyUrl) && (undefined === input.patchKitOverrideLauncherThemesServiceApiUrl || "string" === typeof input.patchKitOverrideLauncherThemesServiceApiUrl); const $io1 = input => "string" === typeof input.versionLabel && ("prod" === input.mode || "dev" === input.mode); const $io2 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io3 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io4 = input => Object.keys(input).every(key => {
38
+ if (!(() => { const $io0 = input => "linux" === input.targetOperatingSystemPlatform && "string" === typeof input.id && "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.companyId && "string" === typeof input.companyName && "string" === typeof input.secret && ("object" === typeof input.runtime && null !== input.runtime && $io1(input.runtime)) && "boolean" === typeof input.isUpdatingRuntimeEnabled && "boolean" === typeof input.isDefaultAutoProcessingRuntimeUpdateEnabled && ("optional" === input.defaultAutoProcessingRuntimeUpdateMode || "required" === input.defaultAutoProcessingRuntimeUpdateMode) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && $io2(input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog)) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && $io3(input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog)) && ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io4(input.assets)) && "string" === typeof input.appsCatalogId && ("object" === typeof input.appMainBranchDefaultRootDir && null !== input.appMainBranchDefaultRootDir && $io6(input.appMainBranchDefaultRootDir)) && ("object" === typeof input.appSecondaryBranchDefaultRootDir && null !== input.appSecondaryBranchDefaultRootDir && $io6(input.appSecondaryBranchDefaultRootDir)) && "boolean" === typeof input.isAppBranchNotDefaultRootDirAllowed && "boolean" === typeof input.isStartingQuitTaskAllowedIfAnyAppBranchProcessExists && ("object" === typeof input.preconfiguredApps && null !== input.preconfiguredApps && false === Array.isArray(input.preconfiguredApps) && $io7(input.preconfiguredApps)) && ("object" === typeof input.window && null !== input.window && $io17(input.window)) && ("object" === typeof input.agreements && null !== input.agreements && false === Array.isArray(input.agreements) && $io19(input.agreements)) && (undefined === input.statsAgreementId || "string" === typeof input.statsAgreementId) && "boolean" === typeof input.isStatsEntryAnonymous && (undefined === input.reportingErrorAgreementId || "string" === typeof input.reportingErrorAgreementId) && ("object" === typeof input.availableLangs && null !== input.availableLangs && false === Array.isArray(input.availableLangs) && $io21(input.availableLangs)) && "string" === typeof input.fallbackLangTag && (undefined === input.protocol || "object" === typeof input.protocol && null !== input.protocol && $io23(input.protocol)) && "boolean" === typeof input.isAutoShowingWindowOnProtocolPendingRequestRegisteredEnabled && "boolean" === typeof input.isAutoFocusingWindowOnProtocolPendingRequestRegisteredEnabled && (undefined === input.tray || "object" === typeof input.tray && null !== input.tray && false === Array.isArray(input.tray) && $io24(input.tray)) && ("object" === typeof input.loadingThemeErrorDialog && null !== input.loadingThemeErrorDialog && $io25(input.loadingThemeErrorDialog)) && ("object" === typeof input.logsCollectedDialog && null !== input.logsCollectedDialog && $io27(input.logsCollectedDialog)) && ("object" === typeof input.crashedDialog && null !== input.crashedDialog && $io28(input.crashedDialog)) && (undefined === input.bundledThemeDirAssetId || "string" === typeof input.bundledThemeDirAssetId) && (undefined === input.bundledThemeServerMaskOrigin || "string" === typeof input.bundledThemeServerMaskOrigin) && (undefined === input.overrideThemeUrl || "string" === typeof input.overrideThemeUrl) && (undefined === input.overrideLibkappsDirPath || "string" === typeof input.overrideLibkappsDirPath) && (undefined === input.overrideRootDirPath || "string" === typeof input.overrideRootDirPath) && (undefined === input.overrideUserDataDirPath || "string" === typeof input.overrideUserDataDirPath) && (undefined === input.patchKitOverrideMainServiceApiUrl || "string" === typeof input.patchKitOverrideMainServiceApiUrl) && (undefined === input.patchKitOverrideMainServiceApiProxyUrl || "string" === typeof input.patchKitOverrideMainServiceApiProxyUrl) && (undefined === input.patchKitOverrideMainServiceApiCacheUrl || "string" === typeof input.patchKitOverrideMainServiceApiCacheUrl) && (undefined === input.patchKitOverrideStatsServiceApiUrl || "string" === typeof input.patchKitOverrideStatsServiceApiUrl) && (undefined === input.patchKitOverrideKeysServiceApiUrl || "string" === typeof input.patchKitOverrideKeysServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiProxyUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiProxyUrl) && (undefined === input.patchKitOverrideLauncherThemesServiceApiUrl || "string" === typeof input.patchKitOverrideLauncherThemesServiceApiUrl); const $io1 = input => "string" === typeof input.versionLabel && ("prod" === input.mode || "dev" === input.mode); const $io2 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io3 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io4 = input => Object.keys(input).every(key => {
39
39
  const value = input[key];
40
40
  if (undefined === value)
41
41
  return true;
@@ -70,7 +70,7 @@ exports.fetchConfig = _1.__.declareManagedFunc()
70
70
  if (undefined === value)
71
71
  return true;
72
72
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io22(value);
73
- }); const $io22 = input => true; const $io23 = input => "string" === typeof input.id; const $io24 = input => true; const $io25 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate && (undefined === input.supportButton || "object" === typeof input.supportButton && null !== input.supportButton && $io26(input.supportButton)); const $io26 = input => "string" === typeof input.labelTemplate && "string" === typeof input.urlTemplate; const $io27 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io28 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io29 = input => "macos" === input.targetOperatingSystemPlatform && ("object" === typeof input.moveToApplicationsFolderIsRequiredDialog && null !== input.moveToApplicationsFolderIsRequiredDialog && $io30(input.moveToApplicationsFolderIsRequiredDialog)) && "string" === typeof input.id && "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.companyId && "string" === typeof input.companyName && "string" === typeof input.secret && ("object" === typeof input.runtime && null !== input.runtime && $io1(input.runtime)) && "boolean" === typeof input.isUpdatingRuntimeEnabled && "boolean" === typeof input.isDefaultAutoProcessingRuntimeUpdateEnabled && ("optional" === input.defaultAutoProcessingRuntimeUpdateMode || "required" === input.defaultAutoProcessingRuntimeUpdateMode) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && $io2(input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog)) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && $io3(input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog)) && ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io4(input.assets)) && "string" === typeof input.appsCatalogId && ("object" === typeof input.appMainBranchDefaultRootDir && null !== input.appMainBranchDefaultRootDir && $io6(input.appMainBranchDefaultRootDir)) && ("object" === typeof input.appSecondaryBranchDefaultRootDir && null !== input.appSecondaryBranchDefaultRootDir && $io6(input.appSecondaryBranchDefaultRootDir)) && "boolean" === typeof input.isAppBranchNotDefaultRootDirAllowed && "boolean" === typeof input.isStartingQuitTaskAllowedIfAnyAppBranchProcessExists && ("object" === typeof input.preconfiguredApps && null !== input.preconfiguredApps && false === Array.isArray(input.preconfiguredApps) && $io7(input.preconfiguredApps)) && ("object" === typeof input.window && null !== input.window && $io17(input.window)) && ("object" === typeof input.agreements && null !== input.agreements && false === Array.isArray(input.agreements) && $io19(input.agreements)) && (undefined === input.statsAgreementId || "string" === typeof input.statsAgreementId) && "boolean" === typeof input.isStatsEntryAnonymous && (undefined === input.reportingErrorAgreementId || "string" === typeof input.reportingErrorAgreementId) && ("object" === typeof input.availableLangs && null !== input.availableLangs && false === Array.isArray(input.availableLangs) && $io21(input.availableLangs)) && "string" === typeof input.fallbackLangTag && (undefined === input.protocol || "object" === typeof input.protocol && null !== input.protocol && $io23(input.protocol)) && "boolean" === typeof input.isAutoShowingWindowOnProtocolPendingRequestRegisteredEnabled && "boolean" === typeof input.isAutoFocusingWindowOnProtocolPendingRequestRegisteredEnabled && (undefined === input.tray || "object" === typeof input.tray && null !== input.tray && false === Array.isArray(input.tray) && $io24(input.tray)) && ("object" === typeof input.loadingThemeErrorDialog && null !== input.loadingThemeErrorDialog && $io25(input.loadingThemeErrorDialog)) && ("object" === typeof input.logsCollectedDialog && null !== input.logsCollectedDialog && $io27(input.logsCollectedDialog)) && ("object" === typeof input.crashedDialog && null !== input.crashedDialog && $io28(input.crashedDialog)) && (undefined === input.bundledThemeDirAssetId || "string" === typeof input.bundledThemeDirAssetId) && (undefined === input.overrideThemeUrl || "string" === typeof input.overrideThemeUrl) && (undefined === input.overrideLibkappsDirPath || "string" === typeof input.overrideLibkappsDirPath) && (undefined === input.overrideRootDirPath || "string" === typeof input.overrideRootDirPath) && (undefined === input.overrideUserDataDirPath || "string" === typeof input.overrideUserDataDirPath) && (undefined === input.patchKitOverrideMainServiceApiUrl || "string" === typeof input.patchKitOverrideMainServiceApiUrl) && (undefined === input.patchKitOverrideMainServiceApiProxyUrl || "string" === typeof input.patchKitOverrideMainServiceApiProxyUrl) && (undefined === input.patchKitOverrideMainServiceApiCacheUrl || "string" === typeof input.patchKitOverrideMainServiceApiCacheUrl) && (undefined === input.patchKitOverrideStatsServiceApiUrl || "string" === typeof input.patchKitOverrideStatsServiceApiUrl) && (undefined === input.patchKitOverrideKeysServiceApiUrl || "string" === typeof input.patchKitOverrideKeysServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiProxyUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiProxyUrl) && (undefined === input.patchKitOverrideLauncherThemesServiceApiUrl || "string" === typeof input.patchKitOverrideLauncherThemesServiceApiUrl); const $io30 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io31 = input => "windows" === input.targetOperatingSystemPlatform && "string" === typeof input.id && "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.companyId && "string" === typeof input.companyName && "string" === typeof input.secret && ("object" === typeof input.runtime && null !== input.runtime && $io1(input.runtime)) && "boolean" === typeof input.isUpdatingRuntimeEnabled && "boolean" === typeof input.isDefaultAutoProcessingRuntimeUpdateEnabled && ("optional" === input.defaultAutoProcessingRuntimeUpdateMode || "required" === input.defaultAutoProcessingRuntimeUpdateMode) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && $io2(input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog)) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && $io3(input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog)) && ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io4(input.assets)) && "string" === typeof input.appsCatalogId && ("object" === typeof input.appMainBranchDefaultRootDir && null !== input.appMainBranchDefaultRootDir && $io6(input.appMainBranchDefaultRootDir)) && ("object" === typeof input.appSecondaryBranchDefaultRootDir && null !== input.appSecondaryBranchDefaultRootDir && $io6(input.appSecondaryBranchDefaultRootDir)) && "boolean" === typeof input.isAppBranchNotDefaultRootDirAllowed && "boolean" === typeof input.isStartingQuitTaskAllowedIfAnyAppBranchProcessExists && ("object" === typeof input.preconfiguredApps && null !== input.preconfiguredApps && false === Array.isArray(input.preconfiguredApps) && $io7(input.preconfiguredApps)) && ("object" === typeof input.window && null !== input.window && $io17(input.window)) && ("object" === typeof input.agreements && null !== input.agreements && false === Array.isArray(input.agreements) && $io19(input.agreements)) && (undefined === input.statsAgreementId || "string" === typeof input.statsAgreementId) && "boolean" === typeof input.isStatsEntryAnonymous && (undefined === input.reportingErrorAgreementId || "string" === typeof input.reportingErrorAgreementId) && ("object" === typeof input.availableLangs && null !== input.availableLangs && false === Array.isArray(input.availableLangs) && $io21(input.availableLangs)) && "string" === typeof input.fallbackLangTag && (undefined === input.protocol || "object" === typeof input.protocol && null !== input.protocol && $io23(input.protocol)) && "boolean" === typeof input.isAutoShowingWindowOnProtocolPendingRequestRegisteredEnabled && "boolean" === typeof input.isAutoFocusingWindowOnProtocolPendingRequestRegisteredEnabled && (undefined === input.tray || "object" === typeof input.tray && null !== input.tray && false === Array.isArray(input.tray) && $io24(input.tray)) && ("object" === typeof input.loadingThemeErrorDialog && null !== input.loadingThemeErrorDialog && $io25(input.loadingThemeErrorDialog)) && ("object" === typeof input.logsCollectedDialog && null !== input.logsCollectedDialog && $io27(input.logsCollectedDialog)) && ("object" === typeof input.crashedDialog && null !== input.crashedDialog && $io28(input.crashedDialog)) && (undefined === input.bundledThemeDirAssetId || "string" === typeof input.bundledThemeDirAssetId) && (undefined === input.overrideThemeUrl || "string" === typeof input.overrideThemeUrl) && (undefined === input.overrideLibkappsDirPath || "string" === typeof input.overrideLibkappsDirPath) && (undefined === input.overrideRootDirPath || "string" === typeof input.overrideRootDirPath) && (undefined === input.overrideUserDataDirPath || "string" === typeof input.overrideUserDataDirPath) && (undefined === input.patchKitOverrideMainServiceApiUrl || "string" === typeof input.patchKitOverrideMainServiceApiUrl) && (undefined === input.patchKitOverrideMainServiceApiProxyUrl || "string" === typeof input.patchKitOverrideMainServiceApiProxyUrl) && (undefined === input.patchKitOverrideMainServiceApiCacheUrl || "string" === typeof input.patchKitOverrideMainServiceApiCacheUrl) && (undefined === input.patchKitOverrideStatsServiceApiUrl || "string" === typeof input.patchKitOverrideStatsServiceApiUrl) && (undefined === input.patchKitOverrideKeysServiceApiUrl || "string" === typeof input.patchKitOverrideKeysServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiProxyUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiProxyUrl) && (undefined === input.patchKitOverrideLauncherThemesServiceApiUrl || "string" === typeof input.patchKitOverrideLauncherThemesServiceApiUrl); const $iu0 = input => (() => {
73
+ }); const $io22 = input => true; const $io23 = input => "string" === typeof input.id; const $io24 = input => true; const $io25 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate && (undefined === input.supportButton || "object" === typeof input.supportButton && null !== input.supportButton && $io26(input.supportButton)); const $io26 = input => "string" === typeof input.labelTemplate && "string" === typeof input.urlTemplate; const $io27 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io28 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io29 = input => "macos" === input.targetOperatingSystemPlatform && ("object" === typeof input.moveToApplicationsFolderIsRequiredDialog && null !== input.moveToApplicationsFolderIsRequiredDialog && $io30(input.moveToApplicationsFolderIsRequiredDialog)) && "string" === typeof input.id && "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.companyId && "string" === typeof input.companyName && "string" === typeof input.secret && ("object" === typeof input.runtime && null !== input.runtime && $io1(input.runtime)) && "boolean" === typeof input.isUpdatingRuntimeEnabled && "boolean" === typeof input.isDefaultAutoProcessingRuntimeUpdateEnabled && ("optional" === input.defaultAutoProcessingRuntimeUpdateMode || "required" === input.defaultAutoProcessingRuntimeUpdateMode) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && $io2(input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog)) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && $io3(input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog)) && ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io4(input.assets)) && "string" === typeof input.appsCatalogId && ("object" === typeof input.appMainBranchDefaultRootDir && null !== input.appMainBranchDefaultRootDir && $io6(input.appMainBranchDefaultRootDir)) && ("object" === typeof input.appSecondaryBranchDefaultRootDir && null !== input.appSecondaryBranchDefaultRootDir && $io6(input.appSecondaryBranchDefaultRootDir)) && "boolean" === typeof input.isAppBranchNotDefaultRootDirAllowed && "boolean" === typeof input.isStartingQuitTaskAllowedIfAnyAppBranchProcessExists && ("object" === typeof input.preconfiguredApps && null !== input.preconfiguredApps && false === Array.isArray(input.preconfiguredApps) && $io7(input.preconfiguredApps)) && ("object" === typeof input.window && null !== input.window && $io17(input.window)) && ("object" === typeof input.agreements && null !== input.agreements && false === Array.isArray(input.agreements) && $io19(input.agreements)) && (undefined === input.statsAgreementId || "string" === typeof input.statsAgreementId) && "boolean" === typeof input.isStatsEntryAnonymous && (undefined === input.reportingErrorAgreementId || "string" === typeof input.reportingErrorAgreementId) && ("object" === typeof input.availableLangs && null !== input.availableLangs && false === Array.isArray(input.availableLangs) && $io21(input.availableLangs)) && "string" === typeof input.fallbackLangTag && (undefined === input.protocol || "object" === typeof input.protocol && null !== input.protocol && $io23(input.protocol)) && "boolean" === typeof input.isAutoShowingWindowOnProtocolPendingRequestRegisteredEnabled && "boolean" === typeof input.isAutoFocusingWindowOnProtocolPendingRequestRegisteredEnabled && (undefined === input.tray || "object" === typeof input.tray && null !== input.tray && false === Array.isArray(input.tray) && $io24(input.tray)) && ("object" === typeof input.loadingThemeErrorDialog && null !== input.loadingThemeErrorDialog && $io25(input.loadingThemeErrorDialog)) && ("object" === typeof input.logsCollectedDialog && null !== input.logsCollectedDialog && $io27(input.logsCollectedDialog)) && ("object" === typeof input.crashedDialog && null !== input.crashedDialog && $io28(input.crashedDialog)) && (undefined === input.bundledThemeDirAssetId || "string" === typeof input.bundledThemeDirAssetId) && (undefined === input.bundledThemeServerMaskOrigin || "string" === typeof input.bundledThemeServerMaskOrigin) && (undefined === input.overrideThemeUrl || "string" === typeof input.overrideThemeUrl) && (undefined === input.overrideLibkappsDirPath || "string" === typeof input.overrideLibkappsDirPath) && (undefined === input.overrideRootDirPath || "string" === typeof input.overrideRootDirPath) && (undefined === input.overrideUserDataDirPath || "string" === typeof input.overrideUserDataDirPath) && (undefined === input.patchKitOverrideMainServiceApiUrl || "string" === typeof input.patchKitOverrideMainServiceApiUrl) && (undefined === input.patchKitOverrideMainServiceApiProxyUrl || "string" === typeof input.patchKitOverrideMainServiceApiProxyUrl) && (undefined === input.patchKitOverrideMainServiceApiCacheUrl || "string" === typeof input.patchKitOverrideMainServiceApiCacheUrl) && (undefined === input.patchKitOverrideStatsServiceApiUrl || "string" === typeof input.patchKitOverrideStatsServiceApiUrl) && (undefined === input.patchKitOverrideKeysServiceApiUrl || "string" === typeof input.patchKitOverrideKeysServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiProxyUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiProxyUrl) && (undefined === input.patchKitOverrideLauncherThemesServiceApiUrl || "string" === typeof input.patchKitOverrideLauncherThemesServiceApiUrl); const $io30 = input => "string" === typeof input.titleTemplate && "string" === typeof input.messageTemplate; const $io31 = input => "windows" === input.targetOperatingSystemPlatform && "string" === typeof input.id && "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.companyId && "string" === typeof input.companyName && "string" === typeof input.secret && ("object" === typeof input.runtime && null !== input.runtime && $io1(input.runtime)) && "boolean" === typeof input.isUpdatingRuntimeEnabled && "boolean" === typeof input.isDefaultAutoProcessingRuntimeUpdateEnabled && ("optional" === input.defaultAutoProcessingRuntimeUpdateMode || "required" === input.defaultAutoProcessingRuntimeUpdateMode) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog && $io2(input.defaultAutoProcessingRuntimeUpdateOptionalModeUpdateAvailableDialog)) && ("object" === typeof input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && null !== input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog && $io3(input.defaultAutoProcessingRuntimeUpdateRequiredModeUpdateAvailableDialog)) && ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io4(input.assets)) && "string" === typeof input.appsCatalogId && ("object" === typeof input.appMainBranchDefaultRootDir && null !== input.appMainBranchDefaultRootDir && $io6(input.appMainBranchDefaultRootDir)) && ("object" === typeof input.appSecondaryBranchDefaultRootDir && null !== input.appSecondaryBranchDefaultRootDir && $io6(input.appSecondaryBranchDefaultRootDir)) && "boolean" === typeof input.isAppBranchNotDefaultRootDirAllowed && "boolean" === typeof input.isStartingQuitTaskAllowedIfAnyAppBranchProcessExists && ("object" === typeof input.preconfiguredApps && null !== input.preconfiguredApps && false === Array.isArray(input.preconfiguredApps) && $io7(input.preconfiguredApps)) && ("object" === typeof input.window && null !== input.window && $io17(input.window)) && ("object" === typeof input.agreements && null !== input.agreements && false === Array.isArray(input.agreements) && $io19(input.agreements)) && (undefined === input.statsAgreementId || "string" === typeof input.statsAgreementId) && "boolean" === typeof input.isStatsEntryAnonymous && (undefined === input.reportingErrorAgreementId || "string" === typeof input.reportingErrorAgreementId) && ("object" === typeof input.availableLangs && null !== input.availableLangs && false === Array.isArray(input.availableLangs) && $io21(input.availableLangs)) && "string" === typeof input.fallbackLangTag && (undefined === input.protocol || "object" === typeof input.protocol && null !== input.protocol && $io23(input.protocol)) && "boolean" === typeof input.isAutoShowingWindowOnProtocolPendingRequestRegisteredEnabled && "boolean" === typeof input.isAutoFocusingWindowOnProtocolPendingRequestRegisteredEnabled && (undefined === input.tray || "object" === typeof input.tray && null !== input.tray && false === Array.isArray(input.tray) && $io24(input.tray)) && ("object" === typeof input.loadingThemeErrorDialog && null !== input.loadingThemeErrorDialog && $io25(input.loadingThemeErrorDialog)) && ("object" === typeof input.logsCollectedDialog && null !== input.logsCollectedDialog && $io27(input.logsCollectedDialog)) && ("object" === typeof input.crashedDialog && null !== input.crashedDialog && $io28(input.crashedDialog)) && (undefined === input.bundledThemeDirAssetId || "string" === typeof input.bundledThemeDirAssetId) && (undefined === input.bundledThemeServerMaskOrigin || "string" === typeof input.bundledThemeServerMaskOrigin) && (undefined === input.overrideThemeUrl || "string" === typeof input.overrideThemeUrl) && (undefined === input.overrideLibkappsDirPath || "string" === typeof input.overrideLibkappsDirPath) && (undefined === input.overrideRootDirPath || "string" === typeof input.overrideRootDirPath) && (undefined === input.overrideUserDataDirPath || "string" === typeof input.overrideUserDataDirPath) && (undefined === input.patchKitOverrideMainServiceApiUrl || "string" === typeof input.patchKitOverrideMainServiceApiUrl) && (undefined === input.patchKitOverrideMainServiceApiProxyUrl || "string" === typeof input.patchKitOverrideMainServiceApiProxyUrl) && (undefined === input.patchKitOverrideMainServiceApiCacheUrl || "string" === typeof input.patchKitOverrideMainServiceApiCacheUrl) && (undefined === input.patchKitOverrideStatsServiceApiUrl || "string" === typeof input.patchKitOverrideStatsServiceApiUrl) && (undefined === input.patchKitOverrideKeysServiceApiUrl || "string" === typeof input.patchKitOverrideKeysServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiUrl) && (undefined === input.patchKitOverrideAppCatalogsServiceApiProxyUrl || "string" === typeof input.patchKitOverrideAppCatalogsServiceApiProxyUrl) && (undefined === input.patchKitOverrideLauncherThemesServiceApiUrl || "string" === typeof input.patchKitOverrideLauncherThemesServiceApiUrl); const $iu0 = input => (() => {
74
74
  if ("linux" === input.targetOperatingSystemPlatform)
75
75
  return $io0(input);
76
76
  else if ("macos" === input.targetOperatingSystemPlatform)
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-theme-info.d.ts","sourceRoot":"","sources":["../src/fetch-theme-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAK,EAAE,EAAc,MAAM,KAAK,CAAC;AASxC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,eAAO,MAAQ,cAAc,8CAQf,OAAO,CAAC,SAAS,CAAC,CA0D7B,CAAC"}
1
+ {"version":3,"file":"fetch-theme-info.d.ts","sourceRoot":"","sources":["../src/fetch-theme-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAK,EAAE,EAAc,MAAM,KAAK,CAAC;AASxC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,eAAO,MAAQ,cAAc,8CAQf,OAAO,CAAC,SAAS,CAAC,CA2D7B,CAAC"}
@@ -35,6 +35,7 @@ exports.fetchThemeInfo = _1.__.declareManagedFunc()
35
35
  });
36
36
  const { bundledThemeServerState, } = await (0, ensure_bundled_theme_server_is_initialized_1.ensureBundledThemeServerIsInitialized)({
37
37
  bundledThemeDirPath,
38
+ bundledThemeServerMaskOrigin: config.bundledThemeServerMaskOrigin,
38
39
  });
39
40
  themeInfo = {
40
41
  id: `${bundled_theme_id_prefix_1.BUNDLED_THEME_ID_PREFIX.value}${bundledThemeServerState.url}`,
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-theme-info.js","sourceRoot":"","sources":["../src/fetch-theme-info.ts"],"names":[],"mappings":";;;AAAA,0BAAwC;AAExC,uEAAoE;AACpE,6GAAqG;AACrG,qDAAgD;AAChD,yEAAsE;AACtE,uDAAmD;AACnD,2EAAqE;AACrE,mHAA2G;AAE3G,qFAAkF;AAEnE,sBAAc,GAAK,KAAE,CAAC,kBAAkB,EAAE;KACtD,IAAI,CAAC,gBAAgB,CAAC;KACtB,SAAS,CAAC,aAAU,CAAC;KACrB,UAAU,CAAC;IACV,IAAC,CAAC,+BAA+B;CAClC,CAAC;KACD,KAAK,EAAE;KACP,OAAO,CACN,KAAK,IAAwB,EAAE;IAE7B,MAAM,MAAM,GAAG,IAAA,gCAAc,GAAE,CAAC;IAEhC,IAAI,SAAoB,CAAC;IAEzB,IAAI,MAAM,CAAC,gBAAgB,KAAK,SAAS,EACzC,CAAC;QACC,SAAS,GAAG;YACV,EAAE,EAAE,GAAG,mDAAwB,CAAC,KAAK,GAAG,MAAM,CAAC,gBAAgB,EAAE;YACjE,uBAAuB,EAAE;gBACvB,EAAE,EAAE,sCAAsC;gBAC1C,GA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