telemeister 0.1.0
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/LICENSE +674 -0
- package/README.md +460 -0
- package/bin/telemeister.js +18 -0
- package/dist/bot/polling.d.ts +20 -0
- package/dist/bot/polling.d.ts.map +1 -0
- package/dist/bot/polling.js +115 -0
- package/dist/bot/polling.js.map +1 -0
- package/dist/bot/session.d.ts +50 -0
- package/dist/bot/session.d.ts.map +1 -0
- package/dist/bot/session.js +92 -0
- package/dist/bot/session.js.map +1 -0
- package/dist/bot/webhook.d.ts +36 -0
- package/dist/bot/webhook.d.ts.map +1 -0
- package/dist/bot/webhook.js +199 -0
- package/dist/bot/webhook.js.map +1 -0
- package/dist/bot-state-types.d.ts +10 -0
- package/dist/bot-state-types.d.ts.map +1 -0
- package/dist/bot-state-types.js +3 -0
- package/dist/bot-state-types.js.map +1 -0
- package/dist/cli/cli.d.ts +14 -0
- package/dist/cli/cli.d.ts.map +1 -0
- package/dist/cli/cli.js +57 -0
- package/dist/cli/cli.js.map +1 -0
- package/dist/cli/create-bot.d.ts +5 -0
- package/dist/cli/create-bot.d.ts.map +1 -0
- package/dist/cli/create-bot.js +275 -0
- package/dist/cli/create-bot.js.map +1 -0
- package/dist/cli/index.d.ts +4 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +4 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/state-manager.d.ts +9 -0
- package/dist/cli/state-manager.d.ts.map +1 -0
- package/dist/cli/state-manager.js +381 -0
- package/dist/cli/state-manager.js.map +1 -0
- package/dist/config.d.ts +24 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +52 -0
- package/dist/config.js.map +1 -0
- package/dist/core/app-states.d.ts +8 -0
- package/dist/core/app-states.d.ts.map +1 -0
- package/dist/core/app-states.js +8 -0
- package/dist/core/app-states.js.map +1 -0
- package/dist/core/builder.d.ts +138 -0
- package/dist/core/builder.d.ts.map +1 -0
- package/dist/core/builder.js +195 -0
- package/dist/core/builder.js.map +1 -0
- package/dist/core/compact-machine.d.ts +57 -0
- package/dist/core/compact-machine.d.ts.map +1 -0
- package/dist/core/compact-machine.js +113 -0
- package/dist/core/compact-machine.js.map +1 -0
- package/dist/core/index.d.ts +13 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +9 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/types.d.ts +47 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +3 -0
- package/dist/core/types.js.map +1 -0
- package/dist/database.d.ts +43 -0
- package/dist/database.d.ts.map +1 -0
- package/dist/database.js +127 -0
- package/dist/database.js.map +1 -0
- package/dist/generated/prisma/browser.d.ts +15 -0
- package/dist/generated/prisma/browser.d.ts.map +1 -0
- package/dist/generated/prisma/browser.js +18 -0
- package/dist/generated/prisma/browser.js.map +1 -0
- package/dist/generated/prisma/client.d.ts +32 -0
- package/dist/generated/prisma/client.d.ts.map +1 -0
- package/dist/generated/prisma/client.js +33 -0
- package/dist/generated/prisma/client.js.map +1 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +166 -0
- package/dist/generated/prisma/commonInputTypes.d.ts.map +1 -0
- package/dist/generated/prisma/commonInputTypes.js +11 -0
- package/dist/generated/prisma/commonInputTypes.js.map +1 -0
- package/dist/generated/prisma/enums.d.ts +2 -0
- package/dist/generated/prisma/enums.d.ts.map +1 -0
- package/dist/generated/prisma/enums.js +11 -0
- package/dist/generated/prisma/enums.js.map +1 -0
- package/dist/generated/prisma/internal/class.d.ts +138 -0
- package/dist/generated/prisma/internal/class.d.ts.map +1 -0
- package/dist/generated/prisma/internal/class.js +50 -0
- package/dist/generated/prisma/internal/class.js.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +591 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +96 -0
- package/dist/generated/prisma/internal/prismaNamespace.js.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +56 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +67 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js.map +1 -0
- package/dist/generated/prisma/models/User.d.ts +1181 -0
- package/dist/generated/prisma/models/User.d.ts.map +1 -0
- package/dist/generated/prisma/models/User.js +2 -0
- package/dist/generated/prisma/models/User.js.map +1 -0
- package/dist/generated/prisma/models/UserInfo.d.ts +1101 -0
- package/dist/generated/prisma/models/UserInfo.d.ts.map +1 -0
- package/dist/generated/prisma/models/UserInfo.js +2 -0
- package/dist/generated/prisma/models/UserInfo.js.map +1 -0
- package/dist/generated/prisma/models.d.ts +4 -0
- package/dist/generated/prisma/models.d.ts.map +1 -0
- package/dist/generated/prisma/models.js +2 -0
- package/dist/generated/prisma/models.js.map +1 -0
- package/dist/handlers/idle/index.d.ts +2 -0
- package/dist/handlers/idle/index.d.ts.map +1 -0
- package/dist/handlers/idle/index.js +22 -0
- package/dist/handlers/idle/index.js.map +1 -0
- package/dist/handlers/index.d.ts +12 -0
- package/dist/handlers/index.d.ts.map +1 -0
- package/dist/handlers/index.js +14 -0
- package/dist/handlers/index.js.map +1 -0
- package/dist/handlers/menu/index.d.ts +2 -0
- package/dist/handlers/menu/index.d.ts.map +1 -0
- package/dist/handlers/menu/index.js +35 -0
- package/dist/handlers/menu/index.js.map +1 -0
- package/dist/handlers/menu.d.ts +2 -0
- package/dist/handlers/menu.d.ts.map +1 -0
- package/dist/handlers/menu.js +37 -0
- package/dist/handlers/menu.js.map +1 -0
- package/dist/handlers/welcome/index.d.ts +2 -0
- package/dist/handlers/welcome/index.d.ts.map +1 -0
- package/dist/handlers/welcome/index.js +22 -0
- package/dist/handlers/welcome/index.js.map +1 -0
- package/dist/handlers/welcome.d.ts +2 -0
- package/dist/handlers/welcome.d.ts.map +1 -0
- package/dist/handlers/welcome.js +30 -0
- package/dist/handlers/welcome.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +39 -0
- package/dist/index.js.map +1 -0
- package/package.json +111 -0
- package/templates/handler.ts.ejs +36 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// biome-ignore-all lint: generated file
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/*
|
|
6
|
+
* WARNING: This is an internal file that is subject to change!
|
|
7
|
+
*
|
|
8
|
+
* 🛑 Under no circumstances should you import this file directly! 🛑
|
|
9
|
+
*
|
|
10
|
+
* All exports from this file are wrapped under a `Prisma` namespace object in the client.ts file.
|
|
11
|
+
* While this enables partial backward compatibility, it is not part of the stable public API.
|
|
12
|
+
*
|
|
13
|
+
* If you are looking for your Models, Enums, and Input Types, please import them from the respective
|
|
14
|
+
* model files in the `model` directory!
|
|
15
|
+
*/
|
|
16
|
+
import * as runtime from "@prisma/client/runtime/client";
|
|
17
|
+
/**
|
|
18
|
+
* Prisma Errors
|
|
19
|
+
*/
|
|
20
|
+
export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError;
|
|
21
|
+
export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError;
|
|
22
|
+
export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError;
|
|
23
|
+
export const PrismaClientInitializationError = runtime.PrismaClientInitializationError;
|
|
24
|
+
export const PrismaClientValidationError = runtime.PrismaClientValidationError;
|
|
25
|
+
/**
|
|
26
|
+
* Re-export of sql-template-tag
|
|
27
|
+
*/
|
|
28
|
+
export const sql = runtime.sqltag;
|
|
29
|
+
export const empty = runtime.empty;
|
|
30
|
+
export const join = runtime.join;
|
|
31
|
+
export const raw = runtime.raw;
|
|
32
|
+
export const Sql = runtime.Sql;
|
|
33
|
+
/**
|
|
34
|
+
* Decimal.js
|
|
35
|
+
*/
|
|
36
|
+
export const Decimal = runtime.Decimal;
|
|
37
|
+
export const getExtensionContext = runtime.Extensions.getExtensionContext;
|
|
38
|
+
/**
|
|
39
|
+
* Prisma Client JS version: 7.4.0
|
|
40
|
+
* Query Engine version: ab56fe763f921d033a6c195e7ddeb3e255bdbb57
|
|
41
|
+
*/
|
|
42
|
+
export const prismaVersion = {
|
|
43
|
+
client: "7.4.0",
|
|
44
|
+
engine: "ab56fe763f921d033a6c195e7ddeb3e255bdbb57"
|
|
45
|
+
};
|
|
46
|
+
export const NullTypes = {
|
|
47
|
+
DbNull: runtime.NullTypes.DbNull,
|
|
48
|
+
JsonNull: runtime.NullTypes.JsonNull,
|
|
49
|
+
AnyNull: runtime.NullTypes.AnyNull,
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
|
53
|
+
*
|
|
54
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
55
|
+
*/
|
|
56
|
+
export const DbNull = runtime.DbNull;
|
|
57
|
+
/**
|
|
58
|
+
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
|
59
|
+
*
|
|
60
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
61
|
+
*/
|
|
62
|
+
export const JsonNull = runtime.JsonNull;
|
|
63
|
+
/**
|
|
64
|
+
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
|
65
|
+
*
|
|
66
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
67
|
+
*/
|
|
68
|
+
export const AnyNull = runtime.AnyNull;
|
|
69
|
+
export const ModelName = {
|
|
70
|
+
User: 'User',
|
|
71
|
+
UserInfo: 'UserInfo'
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Enums
|
|
75
|
+
*/
|
|
76
|
+
export const TransactionIsolationLevel = runtime.makeStrictEnum({
|
|
77
|
+
Serializable: 'Serializable'
|
|
78
|
+
});
|
|
79
|
+
export const UserScalarFieldEnum = {
|
|
80
|
+
id: 'id',
|
|
81
|
+
telegramId: 'telegramId',
|
|
82
|
+
chatId: 'chatId',
|
|
83
|
+
currentState: 'currentState',
|
|
84
|
+
updatedAt: 'updatedAt'
|
|
85
|
+
};
|
|
86
|
+
export const UserInfoScalarFieldEnum = {
|
|
87
|
+
id: 'id',
|
|
88
|
+
userId: 'userId',
|
|
89
|
+
stateData: 'stateData'
|
|
90
|
+
};
|
|
91
|
+
export const SortOrder = {
|
|
92
|
+
asc: 'asc',
|
|
93
|
+
desc: 'desc'
|
|
94
|
+
};
|
|
95
|
+
export const defineExtension = runtime.Extensions.defineExtension;
|
|
96
|
+
//# sourceMappingURL=prismaNamespace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prismaNamespace.js","sourceRoot":"","sources":["../../../../src/generated/prisma/internal/prismaNamespace.ts"],"names":[],"mappings":"AACA,qEAAqE;AACrE,oBAAoB;AACpB,wCAAwC;AACxC,eAAe;AACf;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAA;AAUxD;;GAEG;AAEH,MAAM,CAAC,MAAM,6BAA6B,GAAG,OAAO,CAAC,6BAA6B,CAAA;AAGlF,MAAM,CAAC,MAAM,+BAA+B,GAAG,OAAO,CAAC,+BAA+B,CAAA;AAGtF,MAAM,CAAC,MAAM,0BAA0B,GAAG,OAAO,CAAC,0BAA0B,CAAA;AAG5E,MAAM,CAAC,MAAM,+BAA+B,GAAG,OAAO,CAAC,+BAA+B,CAAA;AAGtF,MAAM,CAAC,MAAM,2BAA2B,GAAG,OAAO,CAAC,2BAA2B,CAAA;AAG9E;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,OAAO,CAAC,MAAM,CAAA;AACjC,M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B,MAAM,EAAE,QAAQ;IAChB,YAAY,EAAE,cAAc;IAC5B,SAAS,EAAE,WAAW;CACd,CAAA;AAKV,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,EAAE,EAAE,IAAI;IACR,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;CACd,CAAA;AAKV,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACJ,CAAA;AA6CV,MAAM,CAAC,MAAM,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,eAA6H,CAAA"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as runtime from "@prisma/client/runtime/index-browser";
|
|
2
|
+
export type * from '../models.js';
|
|
3
|
+
export type * from './prismaNamespace.js';
|
|
4
|
+
export declare const Decimal: typeof runtime.Decimal;
|
|
5
|
+
export declare const NullTypes: {
|
|
6
|
+
DbNull: (new (secret: never) => typeof runtime.DbNull);
|
|
7
|
+
JsonNull: (new (secret: never) => typeof runtime.JsonNull);
|
|
8
|
+
AnyNull: (new (secret: never) => typeof runtime.AnyNull);
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
|
12
|
+
*
|
|
13
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
14
|
+
*/
|
|
15
|
+
export declare const DbNull: import("@prisma/client-runtime-utils").DbNullClass;
|
|
16
|
+
/**
|
|
17
|
+
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
|
18
|
+
*
|
|
19
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
20
|
+
*/
|
|
21
|
+
export declare const JsonNull: import("@prisma/client-runtime-utils").JsonNullClass;
|
|
22
|
+
/**
|
|
23
|
+
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
|
24
|
+
*
|
|
25
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
26
|
+
*/
|
|
27
|
+
export declare const AnyNull: import("@prisma/client-runtime-utils").AnyNullClass;
|
|
28
|
+
export declare const ModelName: {
|
|
29
|
+
readonly User: "User";
|
|
30
|
+
readonly UserInfo: "UserInfo";
|
|
31
|
+
};
|
|
32
|
+
export type ModelName = (typeof ModelName)[keyof typeof ModelName];
|
|
33
|
+
export declare const TransactionIsolationLevel: {
|
|
34
|
+
readonly Serializable: "Serializable";
|
|
35
|
+
};
|
|
36
|
+
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel];
|
|
37
|
+
export declare const UserScalarFieldEnum: {
|
|
38
|
+
readonly id: "id";
|
|
39
|
+
readonly telegramId: "telegramId";
|
|
40
|
+
readonly chatId: "chatId";
|
|
41
|
+
readonly currentState: "currentState";
|
|
42
|
+
readonly updatedAt: "updatedAt";
|
|
43
|
+
};
|
|
44
|
+
export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum];
|
|
45
|
+
export declare const UserInfoScalarFieldEnum: {
|
|
46
|
+
readonly id: "id";
|
|
47
|
+
readonly userId: "userId";
|
|
48
|
+
readonly stateData: "stateData";
|
|
49
|
+
};
|
|
50
|
+
export type UserInfoScalarFieldEnum = (typeof UserInfoScalarFieldEnum)[keyof typeof UserInfoScalarFieldEnum];
|
|
51
|
+
export declare const SortOrder: {
|
|
52
|
+
readonly asc: "asc";
|
|
53
|
+
readonly desc: "desc";
|
|
54
|
+
};
|
|
55
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
56
|
+
//# sourceMappingURL=prismaNamespaceBrowser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prismaNamespaceBrowser.d.ts","sourceRoot":"","sources":["../../../../src/generated/pris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OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAA"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// biome-ignore-all lint: generated file
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/*
|
|
6
|
+
* WARNING: This is an internal file that is subject to change!
|
|
7
|
+
*
|
|
8
|
+
* 🛑 Under no circumstances should you import this file directly! 🛑
|
|
9
|
+
*
|
|
10
|
+
* All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
|
|
11
|
+
* While this enables partial backward compatibility, it is not part of the stable public API.
|
|
12
|
+
*
|
|
13
|
+
* If you are looking for your Models, Enums, and Input Types, please import them from the respective
|
|
14
|
+
* model files in the `model` directory!
|
|
15
|
+
*/
|
|
16
|
+
import * as runtime from "@prisma/client/runtime/index-browser";
|
|
17
|
+
export const Decimal = runtime.Decimal;
|
|
18
|
+
export const NullTypes = {
|
|
19
|
+
DbNull: runtime.NullTypes.DbNull,
|
|
20
|
+
JsonNull: runtime.NullTypes.JsonNull,
|
|
21
|
+
AnyNull: runtime.NullTypes.AnyNull,
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
|
25
|
+
*
|
|
26
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
27
|
+
*/
|
|
28
|
+
export const DbNull = runtime.DbNull;
|
|
29
|
+
/**
|
|
30
|
+
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
|
31
|
+
*
|
|
32
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
33
|
+
*/
|
|
34
|
+
export const JsonNull = runtime.JsonNull;
|
|
35
|
+
/**
|
|
36
|
+
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
|
37
|
+
*
|
|
38
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
39
|
+
*/
|
|
40
|
+
export const AnyNull = runtime.AnyNull;
|
|
41
|
+
export const ModelName = {
|
|
42
|
+
User: 'User',
|
|
43
|
+
UserInfo: 'UserInfo'
|
|
44
|
+
};
|
|
45
|
+
/*
|
|
46
|
+
* Enums
|
|
47
|
+
*/
|
|
48
|
+
export const TransactionIsolationLevel = runtime.makeStrictEnum({
|
|
49
|
+
Serializable: 'Serializable'
|
|
50
|
+
});
|
|
51
|
+
export const UserScalarFieldEnum = {
|
|
52
|
+
id: 'id',
|
|
53
|
+
telegramId: 'telegramId',
|
|
54
|
+
chatId: 'chatId',
|
|
55
|
+
currentState: 'currentState',
|
|
56
|
+
updatedAt: 'updatedAt'
|
|
57
|
+
};
|
|
58
|
+
export const UserInfoScalarFieldEnum = {
|
|
59
|
+
id: 'id',
|
|
60
|
+
userId: 'userId',
|
|
61
|
+
stateData: 'stateData'
|
|
62
|
+
};
|
|
63
|
+
export const SortOrder = {
|
|
64
|
+
asc: 'asc',
|
|
65
|
+
desc: 'desc'
|
|
66
|
+
};
|
|
67
|
+
//# sourceMappingURL=prismaNamespaceBrowser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prismaNamespaceBrowser.js","sourceRoot":"","sources":["../../../../src/generated/prisma/internal/prismaNamespaceBrowser.ts"],"names":[],"mappings":"AACA,qEAAqE;AACrE,oBAAoB;AACpB,wCAAwC;AACxC,eAAe;AACf;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,sCAAsC,CAAA;AAK/D,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAA;AAGtC,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,MAAM,EAAE,OAAO,CAAC,SAAS,CAAC,MAAwD;IAClF,QAAQ,EAA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