@rxap/nest-sentry 10.3.1-dev.0 → 10.3.1-dev.2
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 +10 -0
- package/migrations.json +1 -1
- package/package.json +8 -8
- package/src/lib/sentry-logger.module.d.ts +3 -0
- package/src/lib/sentry-logger.module.js +6 -3
- package/src/lib/sentry-logger.module.js.map +1 -1
- package/src/lib/sentry.module.d.ts +18 -8
- package/src/lib/sentry.module.js +52 -67
- package/src/lib/sentry.module.js.map +1 -1
- package/src/migrations/10.0.0/replace-setup-function-with-module-import/replace-setup-function-with-module-import.js +2 -1
- package/src/migrations/10.0.0/replace-setup-function-with-module-import/replace-setup-function-with-module-import.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [10.3.1-dev.2](https://gitlab.com/rxap/packages/compare/@rxap/nest-sentry@10.3.1-dev.1...@rxap/nest-sentry@10.3.1-dev.2) (2024-06-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rxap/nest-sentry
|
|
9
|
+
|
|
10
|
+
## [10.3.1-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/nest-sentry@10.3.1-dev.0...@rxap/nest-sentry@10.3.1-dev.1) (2024-06-11)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- remove circular dependency ([e6da87d](https://gitlab.com/rxap/packages/commit/e6da87d1ddfe9c52e59ab0375f4be1b20655a1cb))
|
|
15
|
+
|
|
6
16
|
## [10.3.1-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/nest-sentry@10.3.0...@rxap/nest-sentry@10.3.1-dev.0) (2024-06-05)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @rxap/nest-sentry
|
package/migrations.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"generators": {
|
|
3
3
|
"replace-setup-function-with-module-import": {
|
|
4
4
|
"version": "10.3.0-dev.0",
|
|
5
|
-
"description": "Replace the SetupSentryLogger function with an
|
|
5
|
+
"description": "Replace the SetupSentryLogger function with an SentryModule import",
|
|
6
6
|
"implementation": "./src/migrations/10.0.0/replace-setup-function-with-module-import/replace-setup-function-with-module-import"
|
|
7
7
|
}
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "10.3.1-dev.
|
|
2
|
+
"version": "10.3.1-dev.2",
|
|
3
3
|
"name": "@rxap/nest-sentry",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"dependencies": {
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"peerDependencies": {
|
|
10
10
|
"@nestjs/common": "^10.3.8",
|
|
11
11
|
"@nestjs/config": "^3.2.2",
|
|
12
|
-
"@rxap/nest-logger": "^10.2.
|
|
12
|
+
"@rxap/nest-logger": "^10.2.2-dev.0",
|
|
13
13
|
"@rxap/nest-utilities": "^10.3.0",
|
|
14
|
-
"@rxap/ts-morph": "^1.
|
|
15
|
-
"@rxap/workspace-utilities": "^19.2.0-dev.
|
|
14
|
+
"@rxap/ts-morph": "^1.4.0-dev.0",
|
|
15
|
+
"@rxap/workspace-utilities": "^19.2.0-dev.4",
|
|
16
16
|
"@sentry/core": "^7.56.0",
|
|
17
17
|
"@sentry/node": "^7.56.0",
|
|
18
18
|
"@sentry/types": "^7.56.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"package": "@rxap/nest-logger",
|
|
53
|
-
"version": "10.2.
|
|
53
|
+
"version": "10.2.2-dev.0"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"package": "@rxap/nest-utilities",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"package": "@rxap/ts-morph",
|
|
65
|
-
"version": "1.
|
|
65
|
+
"version": "1.4.0-dev.0"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
"package": "@rxap/utilities",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
"package": "@rxap/workspace-utilities",
|
|
73
|
-
"version": "19.2.0-dev.
|
|
73
|
+
"version": "19.2.0-dev.4"
|
|
74
74
|
}
|
|
75
75
|
]
|
|
76
76
|
},
|
|
@@ -84,6 +84,6 @@
|
|
|
84
84
|
"directory": "packages/nest/sentry"
|
|
85
85
|
},
|
|
86
86
|
"type": "commonjs",
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "1322884d6cece34c6d33d8e4b73a295d793844c1",
|
|
88
88
|
"main": "./src/index.js"
|
|
89
89
|
}
|
|
@@ -5,7 +5,10 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const common_1 = require("@nestjs/common");
|
|
6
6
|
const config_1 = require("@nestjs/config");
|
|
7
7
|
const nest_logger_1 = require("@rxap/nest-logger");
|
|
8
|
-
const
|
|
8
|
+
const sentry_logger_1 = require("./sentry.logger");
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated removed use the SentryModule instead
|
|
11
|
+
*/
|
|
9
12
|
let SentryLoggerModule = class SentryLoggerModule {
|
|
10
13
|
};
|
|
11
14
|
exports.SentryLoggerModule = SentryLoggerModule;
|
|
@@ -23,9 +26,9 @@ exports.SentryLoggerModule = SentryLoggerModule = tslib_1.__decorate([
|
|
|
23
26
|
return rxap;
|
|
24
27
|
}
|
|
25
28
|
},
|
|
26
|
-
inject: [config_1.ConfigService,
|
|
29
|
+
inject: [config_1.ConfigService, sentry_logger_1.SentryLogger, nest_logger_1.RxapLogger]
|
|
27
30
|
},
|
|
28
|
-
|
|
31
|
+
sentry_logger_1.SentryLogger,
|
|
29
32
|
nest_logger_1.RxapLogger,
|
|
30
33
|
],
|
|
31
34
|
exports: [common_1.Logger],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sentry-logger.module.js","sourceRoot":"","sources":["../../../../../../packages/nest/sentry/src/lib/sentry-logger.module.ts"],"names":[],"mappings":";;;;AAAA,2CAIwB;AACxB,2CAA+C;AAC/C,mDAA+C;AAC/C,
|
|
1
|
+
{"version":3,"file":"sentry-logger.module.js","sourceRoot":"","sources":["../../../../../../packages/nest/sentry/src/lib/sentry-logger.module.ts"],"names":[],"mappings":";;;;AAAA,2CAIwB;AACxB,2CAA+C;AAC/C,mDAA+C;AAC/C,mDAA+C;AAE/C;;GAEG;AAoBI,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAAG,CAAA;AAArB,gDAAkB;6BAAlB,kBAAkB;IAnB9B,IAAA,eAAM,GAAE;IACR,IAAA,eAAM,EAAC;QACN,SAAS,EAAE;YACT;gBACE,OAAO,EAAE,eAAM;gBACf,UAAU,EAAE,CAAC,MAAqB,EAAE,MAAoB,EAAE,IAAgB,EAAE,EAAE;oBAC5E,IAAI,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,CAAC;wBACjC,OAAO,MAAM,CAAC;oBAChB,CAAC;yBAAM,CAAC;wBACN,OAAO,IAAI,CAAC;oBACd,CAAC;gBACH,CAAC;gBACD,MAAM,EAAE,CAAE,sBAAa,EAAE,4BAAY,EAAE,wBAAU,CAAE;aACpD;YACD,4BAAY;YACZ,wBAAU;SACX;QACD,OAAO,EAAE,CAAE,eAAM,CAAE;KACpB,CAAC;GACW,kBAAkB,CAAG"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
import { DynamicModule } from '@nestjs/common';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { ConsoleLoggerOptions, DynamicModule } from '@nestjs/common';
|
|
2
|
+
import { SentryModuleOptions } from './sentry.interfaces';
|
|
3
|
+
export declare const ConfigurableModuleClass: import("@nestjs/common").ConfigurableModuleCls<SentryModuleOptions, "register", "create", {
|
|
4
|
+
isGlobal: boolean;
|
|
5
|
+
}>, MODULE_OPTIONS_TOKEN: string | symbol, OPTIONS_TYPE: Omit<import("@sentry/node").NodeOptions, "integrations"> & {
|
|
6
|
+
integrations?: import("@sentry/types").Integration[] | undefined;
|
|
7
|
+
close?: import("./sentry.interfaces").SentryCloseOptions | undefined;
|
|
8
|
+
} & ConsoleLoggerOptions & Partial<{
|
|
9
|
+
isGlobal: boolean;
|
|
10
|
+
}>, ASYNC_OPTIONS_TYPE: import("@nestjs/common").ConfigurableModuleAsyncOptions<SentryModuleOptions, "create"> & Partial<{
|
|
11
|
+
isGlobal: boolean;
|
|
12
|
+
}>;
|
|
13
|
+
export declare class SentryModule extends ConfigurableModuleClass {
|
|
14
|
+
static register(options?: typeof OPTIONS_TYPE, consoleLoggerOptions?: ConsoleLoggerOptions): DynamicModule;
|
|
15
|
+
static registerAsync(options: typeof ASYNC_OPTIONS_TYPE, consoleLoggerOptions?: ConsoleLoggerOptions): DynamicModule;
|
|
16
|
+
private static updateProviders;
|
|
17
|
+
static forRoot(options: typeof OPTIONS_TYPE, consoleLoggerOptions?: ConsoleLoggerOptions): DynamicModule;
|
|
18
|
+
static forRootAsync(options: typeof ASYNC_OPTIONS_TYPE, consoleLoggerOptions?: ConsoleLoggerOptions): DynamicModule;
|
|
9
19
|
}
|
package/src/lib/sentry.module.js
CHANGED
|
@@ -1,86 +1,71 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
2
|
+
var _a;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.SentryModule = void 0;
|
|
4
|
+
exports.SentryModule = exports.ASYNC_OPTIONS_TYPE = exports.OPTIONS_TYPE = exports.MODULE_OPTIONS_TOKEN = exports.ConfigurableModuleClass = void 0;
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
6
6
|
const common_1 = require("@nestjs/common");
|
|
7
|
+
const config_1 = require("@nestjs/config");
|
|
8
|
+
const nest_logger_1 = require("@rxap/nest-logger");
|
|
7
9
|
const sentry_logger_1 = require("./sentry.logger");
|
|
8
10
|
const sentry_service_1 = require("./sentry.service");
|
|
9
11
|
const tokens_1 = require("./tokens");
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
useValue: options,
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
provide: tokens_1.CONSOLE_LOGGER_OPTIONS,
|
|
22
|
-
useValue: {
|
|
23
|
-
timestamp: timestamp ?? true,
|
|
24
|
-
logLevels: logLevels ?? ['log', 'error', 'warn'],
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
};
|
|
12
|
+
_a = new common_1.ConfigurableModuleBuilder()
|
|
13
|
+
.setExtras({
|
|
14
|
+
isGlobal: true,
|
|
15
|
+
})
|
|
16
|
+
.build(), exports.ConfigurableModuleClass = _a.ConfigurableModuleClass, exports.MODULE_OPTIONS_TOKEN = _a.MODULE_OPTIONS_TOKEN, exports.OPTIONS_TYPE = _a.OPTIONS_TYPE, exports.ASYNC_OPTIONS_TYPE = _a.ASYNC_OPTIONS_TYPE;
|
|
17
|
+
let SentryModule = class SentryModule extends exports.ConfigurableModuleClass {
|
|
18
|
+
static register(options = {}, consoleLoggerOptions = {}) {
|
|
19
|
+
return this.updateProviders(super.register(options), consoleLoggerOptions);
|
|
29
20
|
}
|
|
30
|
-
static
|
|
31
|
-
return
|
|
32
|
-
exports: [sentry_service_1.SentryService],
|
|
33
|
-
imports: options.imports,
|
|
34
|
-
module: SentryModule_1,
|
|
35
|
-
providers: [
|
|
36
|
-
...this.createAsyncProviders(options),
|
|
37
|
-
{
|
|
38
|
-
provide: tokens_1.CONSOLE_LOGGER_OPTIONS,
|
|
39
|
-
useValue: {
|
|
40
|
-
timestamp: timestamp ?? true,
|
|
41
|
-
logLevels: logLevels ?? ['log', 'error', 'warn'],
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
};
|
|
21
|
+
static registerAsync(options, consoleLoggerOptions = {}) {
|
|
22
|
+
return this.updateProviders(super.registerAsync(options), consoleLoggerOptions);
|
|
46
23
|
}
|
|
47
|
-
static
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
24
|
+
static updateProviders(module, { timestamp, logLevels, ...consoleLoggerOptions }) {
|
|
25
|
+
module.providers ??= [];
|
|
26
|
+
module.providers.push({
|
|
27
|
+
provide: tokens_1.SENTRY_MODULE_OPTIONS,
|
|
28
|
+
useExisting: exports.MODULE_OPTIONS_TOKEN,
|
|
29
|
+
});
|
|
30
|
+
module.providers.push({
|
|
31
|
+
provide: tokens_1.CONSOLE_LOGGER_OPTIONS,
|
|
32
|
+
useValue: {
|
|
33
|
+
...consoleLoggerOptions,
|
|
34
|
+
timestamp: timestamp ?? true,
|
|
35
|
+
logLevels: logLevels ?? ['log', 'error', 'warn'],
|
|
57
36
|
},
|
|
58
|
-
|
|
37
|
+
});
|
|
38
|
+
return module;
|
|
59
39
|
}
|
|
60
|
-
static
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
useFactory: options.useFactory,
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
const inject = [
|
|
69
|
-
(options.useClass || options.useExisting),
|
|
70
|
-
];
|
|
71
|
-
return {
|
|
72
|
-
provide: tokens_1.SENTRY_MODULE_OPTIONS,
|
|
73
|
-
useFactory: async (optionsFactory) => await optionsFactory.createSentryModuleOptions(),
|
|
74
|
-
inject,
|
|
75
|
-
};
|
|
40
|
+
static forRoot(options, consoleLoggerOptions = {}) {
|
|
41
|
+
return this.register(options, consoleLoggerOptions);
|
|
42
|
+
}
|
|
43
|
+
static forRootAsync(options, consoleLoggerOptions = {}) {
|
|
44
|
+
return this.registerAsync(options, consoleLoggerOptions);
|
|
76
45
|
}
|
|
77
46
|
};
|
|
78
47
|
exports.SentryModule = SentryModule;
|
|
79
|
-
exports.SentryModule = SentryModule =
|
|
48
|
+
exports.SentryModule = SentryModule = tslib_1.__decorate([
|
|
80
49
|
(0, common_1.Global)(),
|
|
81
50
|
(0, common_1.Module)({
|
|
82
|
-
providers: [
|
|
83
|
-
|
|
51
|
+
providers: [
|
|
52
|
+
{
|
|
53
|
+
provide: common_1.Logger,
|
|
54
|
+
useFactory: (config, sentry, rxap) => {
|
|
55
|
+
if (config.get('SENTRY_ENABLED')) {
|
|
56
|
+
return sentry;
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
return rxap;
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
inject: [config_1.ConfigService, sentry_logger_1.SentryLogger, nest_logger_1.RxapLogger],
|
|
63
|
+
},
|
|
64
|
+
sentry_logger_1.SentryLogger,
|
|
65
|
+
nest_logger_1.RxapLogger,
|
|
66
|
+
sentry_service_1.SentryService
|
|
67
|
+
],
|
|
68
|
+
exports: [common_1.Logger, sentry_service_1.SentryService],
|
|
84
69
|
})
|
|
85
70
|
], SentryModule);
|
|
86
71
|
//# sourceMappingURL=sentry.module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sentry.module.js","sourceRoot":"","sources":["../../../../../../packages/nest/sentry/src/lib/sentry.module.ts"],"names":[],"mappings":";;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"sentry.module.js","sourceRoot":"","sources":["../../../../../../packages/nest/sentry/src/lib/sentry.module.ts"],"names":[],"mappings":";;;;;AAAA,2CAOwB;AACxB,2CAA+C;AAC/C,mDAA+C;AAE/C,mDAA+C;AAC/C,qDAAiD;AACjD,qCAGkB;AAEL,KAKT,IAAI,kCAAyB,EAAuB;KACrD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kC,EAAE,uBAA6C,EAAE;QAEnF,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,oBAAoB,CAAC,CAAC;IAC3D,CAAC;CAEF,CAAA;AA3CY,oCAAY;uBAAZ,YAAY;IApBxB,IAAA,eAAM,GAAE;IACR,IAAA,eAAM,EAAC;QACN,SAAS,EAAE;YACT;gBACE,OAAO,EAAE,eAAM;gBACf,UAAU,EAAE,CAAC,MAAqB,EAAE,MAAoB,EAAE,IAAgB,EAAE,EAAE;oBAC5E,IAAI,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,CAAC;wBACjC,OAAO,MAAM,CAAC;oBAChB,CAAC;yBAAM,CAAC;wBACN,OAAO,IAAI,CAAC;oBACd,CAAC;gBACH,CAAC;gBACD,MAAM,EAAE,CAAE,sBAAa,EAAE,4BAAY,EAAE,wBAAU,CAAE;aACpD;YACD,4BAAY;YACZ,wBAAU;YACV,8BAAa;SACd;QACD,OAAO,EAAE,CAAE,eAAM,EAAE,8BAAa,CAAE;KACnC,CAAC;GACW,YAAY,CA2CxB"}
|
|
@@ -22,7 +22,8 @@ function update(tree) {
|
|
|
22
22
|
const project = (0, ts_morph_1.CreateProject)();
|
|
23
23
|
const sourceFile = project.createSourceFile('app.module.ts', content);
|
|
24
24
|
(0, ts_morph_1.CoerceNestModuleImport)(sourceFile, {
|
|
25
|
-
moduleName: '
|
|
25
|
+
moduleName: 'SentryModule',
|
|
26
|
+
importWriter: w => w.write('SentryModule.register()'),
|
|
26
27
|
moduleSpecifier: '@rxap/nest-sentry'
|
|
27
28
|
});
|
|
28
29
|
(0, ts_morph_1.RemoveNestModuleImport)(sourceFile, { moduleName: 'LoggerModule' });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replace-setup-function-with-module-import.js","sourceRoot":"","sources":["../../../../../../../../packages/nest/sentry/src/migrations/10.0.0/replace-setup-function-with-module-import/replace-setup-function-with-module-import.ts"],"names":[],"mappings":";;AACA,6CAKwB;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,CAAC,gBAAgB,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;oBACtE,IAAA,iCAAsB,EAAC,UAAU,EAAE;wBACjC,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"replace-setup-function-with-module-import.js","sourceRoot":"","sources":["../../../../../../../../packages/nest/sentry/src/migrations/10.0.0/replace-setup-function-with-module-import/replace-setup-function-with-module-import.ts"],"names":[],"mappings":";;AACA,6CAKwB;AACxB,mEAAsD;AAEtD,SAAwB,MAAM,CAAC,IAAU;IAEvC,KAAK,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,IAAA,+BAAS,EAAC,IAAI,EAAE,GAAG,CAAC,EAAE,CAAC;QAEpD,IAAI,MAAM,EAAE,CAAC;YAEX,IAAI,4BAA4B,GAAG,KAAK,CAAC;YAEzC,IAAI,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;gBAC7B,IAAI,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAE,CAAC;gBAExC,MAAM,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,mCAAmC,CAAC,CAAC,CAAC;gBAE5G,IAAI,SAAS,KAAK,CAAC,CAAC,EAAE,CAAC;oBACrB,4BAA4B,GAAG,IAAI,CAAC;oBACpC,+BAA+B;oBAC/B,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBACnF,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;gBAC5B,CAAC;YACH,CAAC;YAED,IAAI,4BAA4B,IAAI,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,EAAE,C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