@lukiteam/luki-be-general 0.2.122 → 0.2.123

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/dist/index.d.ts CHANGED
@@ -99,3 +99,5 @@ export { MemberNotification, MemberNotificationSchema, } from './mongo/schema/no
99
99
  export type { MemberNotificationDocument } from './mongo/schema/notification/member-notification.entity';
100
100
  export { Category, CategorySchema, } from './mongo/schema/post/category.entity';
101
101
  export type { CategoryDocument } from './mongo/schema/post/category.entity';
102
+ export { ForbiddenWord, ForbiddenWordSchema, } from './mongo/schema/mobile/forbidden-word.entity';
103
+ export type { ForbiddenWordDocument } from './mongo/schema/mobile/forbidden-word.entity';
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
20
  exports.PostCommentSchema = exports.PostComments = exports.NotificationSchema = exports.Notifications = exports.MemberRolesSchema = exports.MemberRoles = exports.MemberConfigSchema = exports.MemberConfigs = exports.LanguageSchema = exports.Language = exports.HighlightsSchema = exports.Highlights = exports.DefinedTextsSchema = exports.DefinedTexts = exports.ContentsSchema = exports.Contents = exports.AgencySchema = exports.Agency = exports.AgencyPublishersSchema = exports.AgencyPublishers = exports.MemberSubscription = exports.Notification = exports.Wallet = exports.WalletDetail = exports.SystemSettings = exports.SystemLogs = exports.SwipeCountries = exports.Purchase = exports.ProductPurchase = exports.Payment = exports.Mission = exports.Message = exports.Member = exports.MemberVerification = exports.MemberReminder = exports.MemberMission = exports.MemberLiked = exports.MemberFriends = exports.MemberConnections = exports.MemberConfig = exports.MemberBlocked = exports.MemberBankAccount = exports.FeedbackAndComplaint = exports.CoinsDefinition = exports.CallHistoryDetail = exports.CallHistory = exports.BlockedPhone = exports.Banners = exports.MONGO_SCHEMAS = exports.POSTGRES_ENTITIES = void 0;
21
- exports.CategorySchema = exports.Category = exports.MemberNotificationSchema = exports.MemberNotification = exports.MemberViewSchema = exports.MemberView = exports.MemberCacheSchema = exports.MemberCache = exports.StorySchema = exports.Story = exports.MemberSchema = exports.Members = exports.AgencyMembersSchema = exports.AgencyMembers = exports.SystemLogSchema = exports.SystemLog = exports.StorySeenBySchema = exports.StorySeenBy = exports.StoryPriorityLogSchema = exports.StoryPriorityLog = exports.SpendLogSchema = exports.SpendLog = exports.RolesSchema = exports.Roles = exports.RolesRightsSchema = exports.RolesRights = exports.RightsSchema = exports.Rights = exports.PostsSchema = exports.Posts = exports.PostLikeSchema = exports.PostLikes = void 0;
21
+ exports.ForbiddenWordSchema = exports.ForbiddenWord = exports.CategorySchema = exports.Category = exports.MemberNotificationSchema = exports.MemberNotification = exports.MemberViewSchema = exports.MemberView = exports.MemberCacheSchema = exports.MemberCache = exports.StorySchema = exports.Story = exports.MemberSchema = exports.Members = exports.AgencyMembersSchema = exports.AgencyMembers = exports.SystemLogSchema = exports.SystemLog = exports.StorySeenBySchema = exports.StorySeenBy = exports.StoryPriorityLogSchema = exports.StoryPriorityLog = exports.SpendLogSchema = exports.SpendLog = exports.RolesSchema = exports.Roles = exports.RolesRightsSchema = exports.RolesRights = exports.RightsSchema = exports.Rights = exports.PostsSchema = exports.Posts = exports.PostLikeSchema = exports.PostLikes = void 0;
22
22
  const index_1 = require("./postgresql/index");
23
23
  Object.defineProperty(exports, "POSTGRES_ENTITIES", { enumerable: true, get: function () { return index_1.POSTGRES_ENTITIES; } });
24
24
  const index_2 = require("./mongo/index");
@@ -174,4 +174,7 @@ Object.defineProperty(exports, "MemberNotificationSchema", { enumerable: true, g
174
174
  var category_entity_1 = require("./mongo/schema/post/category.entity");
175
175
  Object.defineProperty(exports, "Category", { enumerable: true, get: function () { return category_entity_1.Category; } });
176
176
  Object.defineProperty(exports, "CategorySchema", { enumerable: true, get: function () { return category_entity_1.CategorySchema; } });
177
+ var forbidden_word_entity_1 = require("./mongo/schema/mobile/forbidden-word.entity");
178
+ Object.defineProperty(exports, "ForbiddenWord", { enumerable: true, get: function () { return forbidden_word_entity_1.ForbiddenWord; } });
179
+ Object.defineProperty(exports, "ForbiddenWordSchema", { enumerable: true, get: function () { return forbidden_word_entity_1.ForbiddenWordSchema; } });
177
180
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuD;AAG9C,kGAHA,yBAAiB,OAGA;AAF1B,yCAA8C;AAGrC,8FAHA,qBAAa,OAGA;AAEtB,4EAA0D;AAC1D,8EAA4D;AAC5D,uEAAqD;AACrD,0EAAwD;AACxD,2EAAyD;AAEzD,gDAA8B;AAE9B,uEAAqD;AACrD,mEAAiD;AACjD,qEAAmD;AACnD,yDAAuC;AACvC,uEAAqD;AAGrD,wDAAsC;AACtC,wDAAsC;AACtC,uDAAqC;AAErC,sDAAoC;AACpC,qDAAmC;AACnC,4DAA0C;AAE1C,qEAAuE;AAA9D,0HAAA,OAAO,OAAW;AAC3B,iFAAmF;AAA1E,qIAAA,OAAO,OAAgB;AAChC,+EAAiF;AAAxE,mIAAA,OAAO,OAAe;AAC/B,6FAA8F;AAArF,gJAAA,OAAO,OAAqB;AACrC,uFAAyF;AAAhF,2IAAA,OAAO,OAAmB;AACnC,mGAAoG;AAA3F,sJAAA,OAAO,OAAwB;AACxC,6FAA8F;AAArF,gJAAA,OAAO,OAAqB;AACrC,mFAAqF;AAA5E,uIAAA,OAAO,OAAiB;AACjC,iFAAmF;AAA1E,qIAAA,OAAO,OAAgB;AAChC,2FAA6F;AAApF,+IAAA,OAAO,OAAqB;AACrC,mFAAqF;AAA5E,uIAAA,OAAO,OAAiB;AACjC,+EAAiF;AAAxE,mIAAA,OAAO,OAAe;AAC/B,mFAAqF;AAA5E,uIAAA,OAAO,OAAiB;AACjC,qFAAuF;AAA9E,yIAAA,OAAO,OAAkB;AAClC,6FAA+F;AAAtF,iJAAA,OAAO,O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,WAAW,OAAA;AAKf,2EAGgD;AAF5C,4GAAA,QAAQ,OAAA;AACR,kHAAA,cAAc,OAAA;AAKlB,4FAGwD;AAFpD,6HAAA,gBAAgB,OAAA;AAChB,mIAAA,sBAAsB,OAAA;AAK1B,iFAGkD;AAF9C,mHAAA,WAAW,OAAA;AACX,yHAAA,iBAAiB,OAAA;AAKrB,sEAG0C;AAFtC,8GAAA,SAAS,OAAA;AACT,oHAAA,eAAe,OAAA;AAKnB,oFAGoD;AAFhD,sHAAA,aAAa,OAAA;AACb,4HAAA,mBAAmB,OAAA;AAKvB,oEAG4C;AAFxC,wGAAA,OAAO,OAAA;AACP,6GAAA,YAAY,OAAA;AAKhB,iEAGyC;AAFrC,qGAAA,KAAK,OAAA;AACL,2GAAA,WAAW,OAAA;AAIf,iFAGkD;AAF9C,kHAAA,WAAW,OAAA;AACX,wHAAA,iBAAiB,OAAA;AAIrB,+EAGiD;AAF7C,gHAAA,UAAU,OAAA;AACV,sHAAA,gBAAgB,OAAA;AAIpB,qGAGgE;AAF5D,gIAAA,kBAAkB,OAAA;AAClB,sIAAA,wBAAwB,OAAA;AAI5B,uEAG6C;AAFzC,2GAAA,QAAQ,OAAA;AACR,iHAAA,cAAc,OAAA;AAIlB,qFAGqD;AAFjD,sHAAA,aAAa,OAAA;AACb,4HAAA,mBAAmB,OAAA"}
@@ -1,28 +1,3 @@
1
- /// <reference types="mongoose/types/aggregate" />
2
- /// <reference types="mongoose/types/callback" />
3
- /// <reference types="mongoose/types/collection" />
4
- /// <reference types="mongoose/types/connection" />
5
- /// <reference types="mongoose/types/cursor" />
6
- /// <reference types="mongoose/types/document" />
7
- /// <reference types="mongoose/types/error" />
8
- /// <reference types="mongoose/types/expressions" />
9
- /// <reference types="mongoose/types/helpers" />
10
- /// <reference types="mongoose/types/middlewares" />
11
- /// <reference types="mongoose/types/indexes" />
12
- /// <reference types="mongoose/types/models" />
13
- /// <reference types="mongoose/types/mongooseoptions" />
14
- /// <reference types="mongoose/types/pipelinestage" />
15
- /// <reference types="mongoose/types/populate" />
16
- /// <reference types="mongoose/types/query" />
17
- /// <reference types="mongoose/types/schemaoptions" />
18
- /// <reference types="mongoose/types/schematypes" />
19
- /// <reference types="mongoose/types/session" />
20
- /// <reference types="mongoose/types/types" />
21
- /// <reference types="mongoose/types/utility" />
22
- /// <reference types="mongoose/types/validation" />
23
- /// <reference types="mongoose/types/virtuals" />
24
- /// <reference types="mongoose" />
25
- /// <reference types="mongoose/types/inferschematype" />
26
1
  import { AgencyMembers } from "./schema/admin/agency-members.entity";
27
2
  import { AgencyPublishers } from "./schema/admin/agency-publishers.entity";
28
3
  import { Highlights } from "./schema/post/highlights.entity";
@@ -46,6 +21,7 @@ import { MemberCache } from "./schema/mobile/member-cache.entity";
46
21
  import { MemberView } from "./schema/mobile/member-view.entity";
47
22
  import { MemberNotification } from "./schema/notification/member-notification.entity";
48
23
  import { Category } from "./schema/post/category.entity";
24
+ import { ForbiddenWord } from "./schema/mobile/forbidden-word.entity";
49
25
  export declare const MONGO_SCHEMAS: ({
50
26
  name: string;
51
27
  schema: import("mongoose").Schema<SpendLog, import("mongoose").Model<SpendLog, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, SpendLog>;
@@ -115,4 +91,7 @@ export declare const MONGO_SCHEMAS: ({
115
91
  } | {
116
92
  name: string;
117
93
  schema: import("mongoose").Schema<Category, import("mongoose").Model<Category, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Category>;
94
+ } | {
95
+ name: string;
96
+ schema: import("mongoose").Schema<ForbiddenWord, import("mongoose").Model<ForbiddenWord, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ForbiddenWord>;
118
97
  })[];
@@ -27,6 +27,7 @@ const member_cache_entity_1 = require("./schema/mobile/member-cache.entity");
27
27
  const member_view_entity_1 = require("./schema/mobile/member-view.entity");
28
28
  const member_notification_entity_1 = require("./schema/notification/member-notification.entity");
29
29
  const category_entity_1 = require("./schema/post/category.entity");
30
+ const forbidden_word_entity_1 = require("./schema/mobile/forbidden-word.entity");
30
31
  exports.MONGO_SCHEMAS = [
31
32
  {
32
33
  name: spend_log_entity_1.SpendLog.name,
@@ -132,5 +133,9 @@ exports.MONGO_SCHEMAS = [
132
133
  name: category_entity_1.Category.name,
133
134
  schema: category_entity_1.CategorySchema,
134
135
  },
136
+ {
137
+ name: forbidden_word_entity_1.ForbiddenWord.name,
138
+ schema: forbidden_word_entity_1.ForbiddenWordSchema
139
+ }
135
140
  ];
136
141
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/mongo/index.ts"],"names":[],"mappings":";;;AAAA,gFAA0F;AAC1F,sFAAmG;AACnG,gEAAoE;AACpE,uEAA+E;AAC/E,8DAAoE;AACpE,8EAAwF;AACxF,mFAA8F;AAC9F,uEAA4E;AAC5E,wFAAoG;AACpG,kEAAwE;AACxE,4EAAoF;AACpF,gEAAoE;AACpE,4EAAoF;AACpF,8DAAiE;AACjE,6EAAqF;AACrF,uEAA4E;AAC5E,6DAAgE;AAChE,6EAAoF;AACpF,2EAAiF;AACjF,qFAA8F;AAC9F,gEAAqE;AACrE,6DAAgE;AAChE,6EAAqF;AACrF,2EAAkF;AAClF,iGAAgH;AAChH,mEAAyE;AAE5D,QAAA,aAAa,GAAG;IAC3B;QACE,IAAI,EAAE,2BAAQ,CAAC,IAAI;QACnB,MAAM,EAAE,iCAAc;KACvB;IACD;QACE,IAAI,EAAE,6BAAS,CAAC,IAAI;QACpB,MAAM,EAAE,mCAAe;KACxB;IACD;QACE,IAAI,EAAE,2CAAgB,CAAC,IAAI;QAC3B,MAAM,EAAE,iDAAsB;KAC/B;IACD;QACE,IAAI,EAAE,sBAAM,CAAC,IAAI;QACjB,MAAM,EAAE,4BAAY;KACrB;IACD;QACE,IAAI,EAAE,oCAAa,CAAC,IAAI;QACxB,MAAM,EAAE,yCAAkB;KAC3B;IACD;QACE,I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AW;KACpB;IACD;QACE,IAAI,EAAE,iCAAW,CAAC,IAAI;QACtB,MAAM,EAAE,uCAAiB;KAC1B;IACD;QACE,IAAI,EAAE,+BAAU,CAAC,IAAI;QACrB,MAAM,EAAE,qCAAgB;KACzB;IACD;QACE,IAAI,EAAE,+CAAkB,CAAC,IAAI;QAC7B,MAAM,EAAE,qDAAwB;KACjC;IACD;QACE,IAAI,EAAE,0BAAQ,CAAC,IAAI;QACnB,MAAM,EAAE,gCAAc;KACvB;CACF,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/mongo/index.ts"],"names":[],"mappings":";;;AAAA,gFAA0F;AAC1F,sFAAmG;AACnG,gEAAoE;AACpE,uEAA+E;AAC/E,8DAAoE;AACpE,8EAAwF;AACxF,mFAA8F;AAC9F,uEAA4E;AAC5E,wFAAoG;AACpG,kEAAwE;AACxE,4EAAoF;AACpF,gEAAoE;AACpE,4EAAoF;AACpF,8DAAiE;AACjE,6EAAqF;AACrF,uEAA4E;AAC5E,6DAAgE;AAChE,6EAAoF;AACpF,2EAAiF;AACjF,qFAA8F;AAC9F,gEAAqE;AACrE,6DAAgE;AAChE,6EAAqF;AACrF,2EAAkF;AAClF,iGAAgH;AAChH,mEAAyE;AACzE,iFAA2F;AAE9E,QAAA,aAAa,GAAG;IAC3B;QACE,IAAI,EAAE,2BAAQ,CAAC,IAAI;QACnB,MAAM,EAAE,iCAAc;KACvB;IACD;QACE,IAAI,EAAE,6BAAS,CAAC,IAAI;QACpB,MAAM,EAAE,mCAAe;KACxB;IACD;QACE,IAAI,EAAE,2CAAgB,CAAC,IAAI;QAC3B,MAAM,EAAE,iDAAsB;KAC/B;IACD;QACE,IAAI,EAAE,sBAAM,CAAC,IAAI;QACjB,MAAM,EAAE,4BAAY;KACrB;IACD;QACE,IAAI,EAAE,oCAAa,CAAC,IAAI;QACxB,MAAM,EAAE,yCAAkB;KAC3B;IACD;QACE,IAAI,EAAE,iCAAW,CAAC,IAAI;QACtB,M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,CAAC,IAAI;QACtB,MAAM,EAAE,uCAAiB;KAC1B;IACD;QACE,IAAI,EAAE,+BAAU,CAAC,IAAI;QACrB,MAAM,EAAE,qCAAgB;KACzB;IACD;QACE,IAAI,EAAE,+CAAkB,CAAC,IAAI;QAC7B,MAAM,EAAE,qDAAwB;KACjC;IACD;QACE,IAAI,EAAE,0BAAQ,CAAC,IAAI;QACnB,MAAM,EAAE,gCAAc;KACvB;IACD;QACE,IAAI,EAAE,qCAAa,CAAC,IAAI;QACxB,MAAM,EAAE,2CAAmB;KAC5B;CACF,CAAC"}
@@ -0,0 +1,33 @@
1
+ /// <reference types="mongoose/types/aggregate" />
2
+ /// <reference types="mongoose/types/callback" />
3
+ /// <reference types="mongoose/types/collection" />
4
+ /// <reference types="mongoose/types/connection" />
5
+ /// <reference types="mongoose/types/cursor" />
6
+ /// <reference types="mongoose/types/document" />
7
+ /// <reference types="mongoose/types/error" />
8
+ /// <reference types="mongoose/types/expressions" />
9
+ /// <reference types="mongoose/types/helpers" />
10
+ /// <reference types="mongoose/types/middlewares" />
11
+ /// <reference types="mongoose/types/indexes" />
12
+ /// <reference types="mongoose/types/models" />
13
+ /// <reference types="mongoose/types/mongooseoptions" />
14
+ /// <reference types="mongoose/types/pipelinestage" />
15
+ /// <reference types="mongoose/types/populate" />
16
+ /// <reference types="mongoose/types/query" />
17
+ /// <reference types="mongoose/types/schemaoptions" />
18
+ /// <reference types="mongoose/types/schematypes" />
19
+ /// <reference types="mongoose/types/session" />
20
+ /// <reference types="mongoose/types/types" />
21
+ /// <reference types="mongoose/types/utility" />
22
+ /// <reference types="mongoose/types/validation" />
23
+ /// <reference types="mongoose/types/virtuals" />
24
+ /// <reference types="mongoose/types/inferschematype" />
25
+ import { Document } from 'mongoose';
26
+ import { EnumStatus } from '../../../models/enum/index';
27
+ export type ForbiddenWordDocument = ForbiddenWord & Document;
28
+ export declare class ForbiddenWord extends Document {
29
+ word: string;
30
+ lang: string;
31
+ status?: EnumStatus;
32
+ }
33
+ export declare const ForbiddenWordSchema: import("mongoose").Schema<ForbiddenWord, import("mongoose").Model<ForbiddenWord, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ForbiddenWord>;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ForbiddenWordSchema = exports.ForbiddenWord = void 0;
13
+ const mongoose_1 = require("@nestjs/mongoose");
14
+ const mongoose_2 = require("mongoose");
15
+ const index_1 = require("../../../models/enum/index");
16
+ let ForbiddenWord = class ForbiddenWord extends mongoose_2.Document {
17
+ };
18
+ __decorate([
19
+ (0, mongoose_1.Prop)({ required: true, trim: true }),
20
+ __metadata("design:type", String)
21
+ ], ForbiddenWord.prototype, "word", void 0);
22
+ __decorate([
23
+ (0, mongoose_1.Prop)({ required: true, index: true }),
24
+ __metadata("design:type", String)
25
+ ], ForbiddenWord.prototype, "lang", void 0);
26
+ __decorate([
27
+ (0, mongoose_1.Prop)({ type: String, enum: index_1.EnumStatus }),
28
+ __metadata("design:type", String)
29
+ ], ForbiddenWord.prototype, "status", void 0);
30
+ ForbiddenWord = __decorate([
31
+ (0, mongoose_1.Schema)({
32
+ collection: 'ForbiddenWord',
33
+ timestamps: true,
34
+ })
35
+ ], ForbiddenWord);
36
+ exports.ForbiddenWord = ForbiddenWord;
37
+ exports.ForbiddenWordSchema = mongoose_1.SchemaFactory.createForClass(ForbiddenWord);
38
+ exports.ForbiddenWordSchema.index({ lang: 1, status: 1 });
39
+ exports.ForbiddenWordSchema.index({ word: 1, lang: 1 }, { unique: true });
40
+ //# sourceMappingURL=forbidden-word.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forbidden-word.entity.js","sourceRoot":"","sources":["../../../../src/mongo/schema/mobile/forbidden-word.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAC/D,uCAAoC;AACpC,sDAAwD;AAQjD,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,mBAAQ;CAS1C,CAAA;AARG;IAAC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2CACxB;AAEb;IAAC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;;2CACzB;AAEb;IAAC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAU,EAAE,CAAC;;6CACrB;AARX,aAAa;IAJzB,IAAA,iBAAM,EAAC;QACJ,UAAU,EAAE,eAAe;QAC3B,UAAU,EAAE,IAAI;KACnB,CAAC;GACW,aAAa,CASzB;AATY,sCAAa;AAWb,QAAA,mBAAmB,GAAG,wBAAa,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;AAC/E,2BAAmB,CAAC,KAAK,CACrB,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CACzB,CAAC;AACF,2BAAmB,CAAC,KAAK,CACrB,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EACpB,EAAE,MAAM,EAAE,IAAI,EAAE,CACnB,CAAC"}