@comet/brevo-api 3.0.0-canary-20241213130519 → 3.0.0-canary-20241218134204

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.
Files changed (38) hide show
  1. package/lib/brevo-api/brevo-api-contact.service.d.ts +4 -1
  2. package/lib/brevo-api/brevo-api-contact.service.d.ts.map +1 -1
  3. package/lib/brevo-api/brevo-api-contact.service.js +9 -3
  4. package/lib/brevo-api/brevo-api-contact.service.js.map +1 -1
  5. package/lib/brevo-config/dto/brevo-config.input.d.ts +1 -0
  6. package/lib/brevo-config/dto/brevo-config.input.d.ts.map +1 -1
  7. package/lib/brevo-config/dto/brevo-config.input.js +5 -0
  8. package/lib/brevo-config/dto/brevo-config.input.js.map +1 -1
  9. package/lib/brevo-config/entities/brevo-config-entity.factory.d.ts +1 -0
  10. package/lib/brevo-config/entities/brevo-config-entity.factory.d.ts.map +1 -1
  11. package/lib/brevo-config/entities/brevo-config-entity.factory.js +5 -0
  12. package/lib/brevo-config/entities/brevo-config-entity.factory.js.map +1 -1
  13. package/lib/brevo-module.d.ts.map +1 -1
  14. package/lib/brevo-module.js +4 -8
  15. package/lib/brevo-module.js.map +1 -1
  16. package/lib/config/brevo-module.config.d.ts +4 -0
  17. package/lib/config/brevo-module.config.d.ts.map +1 -1
  18. package/lib/email-campaign/email-campaign.module.d.ts +3 -1
  19. package/lib/email-campaign/email-campaign.module.d.ts.map +1 -1
  20. package/lib/email-campaign/email-campaign.module.js +1 -7
  21. package/lib/email-campaign/email-campaign.module.js.map +1 -1
  22. package/lib/email-campaign/entities/email-campaign-entity.factory.d.ts +5 -7
  23. package/lib/email-campaign/entities/email-campaign-entity.factory.d.ts.map +1 -1
  24. package/lib/email-campaign/entities/email-campaign-entity.factory.js +78 -80
  25. package/lib/email-campaign/entities/email-campaign-entity.factory.js.map +1 -1
  26. package/lib/mikro-orm/migrations/Migration20241119101706.d.ts +5 -0
  27. package/lib/mikro-orm/migrations/Migration20241119101706.d.ts.map +1 -0
  28. package/lib/mikro-orm/migrations/Migration20241119101706.js +23 -0
  29. package/lib/mikro-orm/migrations/Migration20241119101706.js.map +1 -0
  30. package/lib/mikro-orm/migrations/migrations.d.ts.map +1 -1
  31. package/lib/mikro-orm/migrations/migrations.js +2 -0
  32. package/lib/mikro-orm/migrations/migrations.js.map +1 -1
  33. package/lib/target-group/entity/target-group-entity.factory.d.ts +4 -6
  34. package/lib/target-group/entity/target-group-entity.factory.d.ts.map +1 -1
  35. package/lib/target-group/entity/target-group-entity.factory.js +85 -87
  36. package/lib/target-group/entity/target-group-entity.factory.js.map +1 -1
  37. package/lib/tsconfig.build.tsbuildinfo +1 -1
  38. package/package.json +1 -1
@@ -11,6 +11,7 @@ const Migration20240621102349_1 = require("./Migration20240621102349");
11
11
  const Migration20240819214939_1 = require("./Migration20240819214939");
12
12
  const Migration20240830112400_1 = require("./Migration20240830112400");
13
13
  const Migration20241016123307_1 = require("./Migration20241016123307");
14
+ const Migration20241119101706_1 = require("./Migration20241119101706");
14
15
  exports.migrationsList = [
15
16
  { name: "Migration20240115095733", class: Migration20240115095733_1.Migration20240115095733 },
16
17
  { name: "Migration20240118144808", class: Migration20240118144808_1.Migration20240118144808 },
@@ -22,5 +23,6 @@ exports.migrationsList = [
22
23
  { name: "Migration20240819214939", class: Migration20240819214939_1.Migration20240819214939 },
23
24
  { name: "Migration20240830112400", class: Migration20240830112400_1.Migration20240830112400 },
24
25
  { name: "Migration20241016123307", class: Migration20241016123307_1.Migration20241016123307 },
26
+ { name: "Migration20241119101706", class: Migration20241119101706_1.Migration20241119101706 },
25
27
  ];
26
28
  //# sourceMappingURL=migrations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"migrations.js","sourceRoot":"","sources":["../../../src/mikro-orm/migrations/migrations.ts"],"names":[],"mappings":";;;AAEA,uEAAoE;AACpE,uEAAoE;AACpE,uEAAoE;AACpE,uEAAoE;AACpE,uEAAoE;AACpE,uEAAoE;AACpE,uEAAoE;AACp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AE,KAAK,EAAE,iDAAuB,EAAE;IACnE,EAAE,IAAI,EAAE,yBAAyB,EAAE,KAAK,EAAE,iDAAuB,EAAE;IACnE,EAAE,IAAI,EAAE,yBAAyB,EAAE,KAAK,EAAE,iDAAuB,EAAE;IACnE,EAAE,IAAI,EAAE,yBAAyB,EAAE,KAAK,EAAE,iDAAuB,EAAE;IACnE,EAAE,IAAI,EAAE,yBAAyB,EAAE,KAAK,EAAE,iDAAuB,EAAE;IACnE,EAAE,IAAI,EAAE,yBAAyB,EAAE,KAAK,EAAE,iDAAuB,EAAE;IACnE,EAAE,IAAI,EAAE,yBAAyB,EAAE,KAAK,EAAE,iDAAuB,EAAE;IACnE,EAAE,IAAI,EAAE,yBAAyB,EAAE,KAAK,EAAE,iDAAuB,EAAE;CACtE,CAAC"}
@@ -17,10 +17,8 @@ export interface TargetGroupInterface {
17
17
  campaigns: Collection<EmailCampaignInterface, object>;
18
18
  isTestList: boolean;
19
19
  }
20
- export declare class TargetGroupEntityFactory {
21
- static create({ Scope, BrevoFilterAttributes, }: {
22
- Scope: Type<EmailCampaignScopeInterface>;
23
- BrevoFilterAttributes?: Type<BrevoContactFilterAttributesInterface>;
24
- }): Type<TargetGroupInterface>;
25
- }
20
+ export declare function createTargetGroupEntity({ Scope, BrevoFilterAttributes, }: {
21
+ Scope: Type<EmailCampaignScopeInterface>;
22
+ BrevoFilterAttributes?: Type<BrevoContactFilterAttributesInterface>;
23
+ }): Type<TargetGroupInterface>;
26
24
  //# sourceMappingURL=target-group-entity.factory.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"target-group-entity.factory.d.ts","sourceRoot":"","sources":["../../../src/target-group/entity/target-group-entity.factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAgC,aAAa,EAAwB,MAAM,iBAAiB,CAAC;AAChH,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAItC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6DAA6D,CAAC;AACrG,OAAO,EAAE,qCAAqC,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAC;AAEjG,MAAM,WAAW,oBAAoB;IACjC,CAAC,aAAa,CAAC,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,kBAAkB,CAAC;IACjE,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,2BAA2B,CAAC;IACnC,OAAO,CAAC,EAAE,qCAAqC,CAAC;IAChD,kCAAkC,CAAC,EAAE,MAAM,CAAC;IAC5C,SAAS,EAAE,UAAU,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IACtD,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,qBAAa,wBAAwB;IACjC,MAAM,CAAC,MAAM,CAAC,EACV,KAAK,EACL,qBAAqB,GACxB,EAAE;QACC,KAAK,EAAE,IAAI,CAAC,2BAA2B,CAAC,CAAC;QACzC,qBAAqB,CAAC,EAAE,IAAI,CAAC,qCAAqC,CAAC,CAAC;KACvE,GAAG,IAAI,CAAC,oBAAoB,CAAC;CAyEjC"}
1
+ {"version":3,"file":"target-group-entity.factory.d.ts","sourceRoot":"","sources":["../../../src/target-group/entity/target-group-entity.factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAgC,aAAa,EAAwB,MAAM,iBAAiB,CAAC;AAChH,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAItC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6DAA6D,CAAC;AACrG,OAAO,EAAE,qCAAqC,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAC;AAEjG,MAAM,WAAW,oBAAoB;IACjC,CAAC,aAAa,CAAC,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,kBAAkB,CAAC;IACjE,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,2BAA2B,CAAC;IACnC,OAAO,CAAC,EAAE,qCAAqC,CAAC;IAChD,kCAAkC,CAAC,EAAE,MAAM,CAAC;IAC5C,SAAS,EAAE,UAAU,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IACtD,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,uBAAuB,CAAC,EACpC,KAAK,EACL,qBAAqB,GACxB,EAAE;IACC,KAAK,EAAE,IAAI,CAAC,2BAA2B,CAAC,CAAC;IACzC,qBAAqB,CAAC,EAAE,IAAI,CAAC,qCAAqC,CAAC,CAAC;CACvE,GAAG,IAAI,CAAC,oBAAoB,CAAC,CAwE7B"}
@@ -9,99 +9,88 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.TargetGroupEntityFactory = void 0;
12
+ exports.createTargetGroupEntity = void 0;
13
13
  const cms_api_1 = require("@comet/cms-api");
14
14
  const core_1 = require("@mikro-orm/core");
15
15
  const graphql_1 = require("@nestjs/graphql");
16
16
  const uuid_1 = require("uuid");
17
- class TargetGroupEntityFactory {
18
- static create({ Scope, BrevoFilterAttributes, }) {
19
- let TargetGroupBase = class TargetGroupBase {
20
- constructor() {
21
- this.id = (0, uuid_1.v4)();
22
- this.createdAt = new Date();
23
- this.updatedAt = new Date();
24
- this.campaigns = new core_1.Collection(this);
25
- }
26
- };
27
- __decorate([
28
- (0, core_1.PrimaryKey)({ columnType: "uuid" }),
29
- (0, graphql_1.Field)(() => graphql_1.ID),
30
- __metadata("design:type", String)
31
- ], TargetGroupBase.prototype, "id", void 0);
32
- __decorate([
33
- (0, core_1.Property)({ columnType: "timestamp with time zone" }),
34
- (0, graphql_1.Field)(),
35
- __metadata("design:type", Date)
36
- ], TargetGroupBase.prototype, "createdAt", void 0);
37
- __decorate([
38
- (0, core_1.Property)({ columnType: "timestamp with time zone", onUpdate: () => new Date() }),
39
- (0, graphql_1.Field)(),
40
- __metadata("design:type", Date)
41
- ], TargetGroupBase.prototype, "updatedAt", void 0);
42
- __decorate([
43
- (0, core_1.Property)({ columnType: "text" }),
44
- (0, graphql_1.Field)(),
45
- __metadata("design:type", String)
46
- ], TargetGroupBase.prototype, "title", void 0);
47
- __decorate([
48
- (0, core_1.Property)({ columnType: "boolean" }),
49
- (0, graphql_1.Field)(),
50
- __metadata("design:type", Boolean)
51
- ], TargetGroupBase.prototype, "isMainList", void 0);
52
- __decorate([
53
- (0, core_1.Property)({ columnType: "boolean" }),
54
- (0, graphql_1.Field)(),
55
- __metadata("design:type", Boolean)
56
- ], TargetGroupBase.prototype, "isTestList", void 0);
57
- __decorate([
58
- (0, core_1.Property)({ columnType: "int" }),
59
- (0, graphql_1.Field)(() => graphql_1.Int),
60
- __metadata("design:type", Number)
61
- ], TargetGroupBase.prototype, "brevoId", void 0);
62
- __decorate([
63
- (0, graphql_1.Field)(() => graphql_1.Int),
64
- __metadata("design:type", Number)
65
- ], TargetGroupBase.prototype, "totalSubscribers", void 0);
66
- __decorate([
67
- (0, core_1.Embedded)(() => Scope),
68
- (0, graphql_1.Field)(() => Scope),
69
- __metadata("design:type", Object)
70
- ], TargetGroupBase.prototype, "scope", void 0);
71
- __decorate([
72
- (0, core_1.Property)({ columnType: "int", nullable: true }),
73
- (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
74
- __metadata("design:type", Number)
75
- ], TargetGroupBase.prototype, "assignedContactsTargetGroupBrevoId", void 0);
76
- __decorate([
77
- (0, core_1.ManyToMany)("EmailCampaign", "targetGroups"),
78
- __metadata("design:type", Object)
79
- ], TargetGroupBase.prototype, "campaigns", void 0);
80
- TargetGroupBase = __decorate([
81
- (0, core_1.Entity)({ abstract: true }),
82
- (0, graphql_1.ObjectType)({
83
- implements: () => [cms_api_1.DocumentInterface],
84
- isAbstract: true,
85
- })
86
- ], TargetGroupBase);
87
- if (BrevoFilterAttributes) {
88
- let TargetGroup = class TargetGroup extends TargetGroupBase {
89
- };
90
- __decorate([
91
- (0, core_1.Embedded)(() => BrevoFilterAttributes, { nullable: true }),
92
- (0, graphql_1.Field)(() => BrevoFilterAttributes, { nullable: true }),
93
- __metadata("design:type", Object)
94
- ], TargetGroup.prototype, "filters", void 0);
95
- TargetGroup = __decorate([
96
- (0, core_1.Entity)(),
97
- (0, graphql_1.ObjectType)({
98
- implements: () => [cms_api_1.DocumentInterface],
99
- })
100
- ], TargetGroup);
101
- return TargetGroup;
17
+ function createTargetGroupEntity({ Scope, BrevoFilterAttributes, }) {
18
+ let TargetGroupBase = class TargetGroupBase {
19
+ constructor() {
20
+ this.id = (0, uuid_1.v4)();
21
+ this.createdAt = new Date();
22
+ this.updatedAt = new Date();
23
+ this.campaigns = new core_1.Collection(this);
102
24
  }
25
+ };
26
+ __decorate([
27
+ (0, core_1.PrimaryKey)({ columnType: "uuid" }),
28
+ (0, graphql_1.Field)(() => graphql_1.ID),
29
+ __metadata("design:type", String)
30
+ ], TargetGroupBase.prototype, "id", void 0);
31
+ __decorate([
32
+ (0, core_1.Property)({ columnType: "timestamp with time zone" }),
33
+ (0, graphql_1.Field)(),
34
+ __metadata("design:type", Date)
35
+ ], TargetGroupBase.prototype, "createdAt", void 0);
36
+ __decorate([
37
+ (0, core_1.Property)({ columnType: "timestamp with time zone", onUpdate: () => new Date() }),
38
+ (0, graphql_1.Field)(),
39
+ __metadata("design:type", Date)
40
+ ], TargetGroupBase.prototype, "updatedAt", void 0);
41
+ __decorate([
42
+ (0, core_1.Property)({ columnType: "text" }),
43
+ (0, graphql_1.Field)(),
44
+ __metadata("design:type", String)
45
+ ], TargetGroupBase.prototype, "title", void 0);
46
+ __decorate([
47
+ (0, core_1.Property)({ columnType: "boolean" }),
48
+ (0, graphql_1.Field)(),
49
+ __metadata("design:type", Boolean)
50
+ ], TargetGroupBase.prototype, "isMainList", void 0);
51
+ __decorate([
52
+ (0, core_1.Property)({ columnType: "boolean" }),
53
+ (0, graphql_1.Field)(),
54
+ __metadata("design:type", Boolean)
55
+ ], TargetGroupBase.prototype, "isTestList", void 0);
56
+ __decorate([
57
+ (0, core_1.Property)({ columnType: "int" }),
58
+ (0, graphql_1.Field)(() => graphql_1.Int),
59
+ __metadata("design:type", Number)
60
+ ], TargetGroupBase.prototype, "brevoId", void 0);
61
+ __decorate([
62
+ (0, graphql_1.Field)(() => graphql_1.Int),
63
+ __metadata("design:type", Number)
64
+ ], TargetGroupBase.prototype, "totalSubscribers", void 0);
65
+ __decorate([
66
+ (0, core_1.Embedded)(() => Scope),
67
+ (0, graphql_1.Field)(() => Scope),
68
+ __metadata("design:type", Object)
69
+ ], TargetGroupBase.prototype, "scope", void 0);
70
+ __decorate([
71
+ (0, core_1.Property)({ columnType: "int", nullable: true }),
72
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
73
+ __metadata("design:type", Number)
74
+ ], TargetGroupBase.prototype, "assignedContactsTargetGroupBrevoId", void 0);
75
+ __decorate([
76
+ (0, core_1.ManyToMany)("EmailCampaign", "targetGroups"),
77
+ __metadata("design:type", Object)
78
+ ], TargetGroupBase.prototype, "campaigns", void 0);
79
+ TargetGroupBase = __decorate([
80
+ (0, core_1.Entity)({ abstract: true }),
81
+ (0, graphql_1.ObjectType)({
82
+ implements: () => [cms_api_1.DocumentInterface],
83
+ isAbstract: true,
84
+ })
85
+ ], TargetGroupBase);
86
+ if (BrevoFilterAttributes) {
103
87
  let TargetGroup = class TargetGroup extends TargetGroupBase {
104
88
  };
89
+ __decorate([
90
+ (0, core_1.Embedded)(() => BrevoFilterAttributes, { nullable: true }),
91
+ (0, graphql_1.Field)(() => BrevoFilterAttributes, { nullable: true }),
92
+ __metadata("design:type", Object)
93
+ ], TargetGroup.prototype, "filters", void 0);
105
94
  TargetGroup = __decorate([
106
95
  (0, core_1.Entity)(),
107
96
  (0, graphql_1.ObjectType)({
@@ -110,6 +99,15 @@ class TargetGroupEntityFactory {
110
99
  ], TargetGroup);
111
100
  return TargetGroup;
112
101
  }
102
+ let TargetGroup = class TargetGroup extends TargetGroupBase {
103
+ };
104
+ TargetGroup = __decorate([
105
+ (0, core_1.Entity)(),
106
+ (0, graphql_1.ObjectType)({
107
+ implements: () => [cms_api_1.DocumentInterface],
108
+ })
109
+ ], TargetGroup);
110
+ return TargetGroup;
113
111
  }
114
- exports.TargetGroupEntityFactory = TargetGroupEntityFactory;
112
+ exports.createTargetGroupEntity = createTargetGroupEntity;
115
113
  //# sourceMappingURL=target-group-entity.factory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"target-group-entity.factory.js","sourceRoot":"","sources":["../../../src/target-group/entity/target-group-entity.factory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAmD;AACnD,0CAAgH;AAEhH,6CAA6D;AAC7D,+BAA0B;AAqB1B,MAAa,wBAAwB;IAC1B,AAAP,MAAM,CAAC,MAAM,CAAC,EACV,KAAK,EACL,qBAAqB,GAIxB;QAMG,IAAM,eAAe,GAArB,MAAM,eAAe;YAArB;gBAKI,OAAE,GAAW,IAAA,SAAE,GAAE,CAAC;gBAIlB,cAAS,GAAS,IAAI,IAAI,EAAE,CAAC;gBAI7B,cAAS,GAAS,IAAI,IAAI,EAAE,CAAC;gBA8B7B,cAAS,GAAG,IAAI,iBAAU,CAAyB,IAAI,CAAC,CAAC;YAC7D,CAAC;SAAA,CAAA;QAzCG;YAAC,IAAA,iBAAU,EAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;YAClC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE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AE,IAAI,EAAE,CAAC;YAC1B,IAAA,oBAAU,EAAC;gBACR,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC,2BAAiB,CAAC;gBACrC,UAAU,EAAE,IAAI;aACnB,CAAC;WACI,eAAe,CA4CpB;QACD,IAAI,qBAAqB,EAAE;YAKvB,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,eAAe;aAIxC,CAAA;YAHG;gBAAC,IAAA,eAAQ,EAAC,GAAG,EAAE,CAAC,qBAAqB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;gBACzD,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,qBAAqB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACP;YAH9C,WAAW;gBAJhB,IAAA,aAAM,GAAE;gBACR,IAAA,oBAAU,EAAC;oBACR,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC,2BAAiB,CAAC;iBACxC,CAAC;eACI,WAAW,CAIhB;YAED,OAAO,WAAW,CAAC;SACtB;QAMD,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,eAAe;SAAG,CAAA;QAAtC,WAAW;YAJhB,IAAA,aAAM,GAAE;YACR,IAAA,oBAAU,EAAC;gBACR,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC,2BAAiB,CAAC;aACxC,CAAC;WACI,WAAW,CAA2B;QAE5C,OAAO,WAAW,CAAC;IACvB,CAAC;CACJ;AAhFD,4DAgFC"}
1
+ {"version":3,"file":"target-group-entity.factory.js","sourceRoot":"","sources":["../../../src/target-group/entity/target-group-entity.factory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAmD;AACnD,0CAAgH;AAEhH,6CAA6D;AAC7D,+BAA0B;AAqB1B,SAAgB,uBAAuB,CAAC,EACpC,KAAK,EACL,qBAAqB,GAIxB;IAMG,IAAM,eAAe,GAArB,MAAM,eAAe;QAArB;YAKI,OAAE,GAAW,IAAA,SAAE,GAAE,CAAC;YAIlB,cA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