isaacscript-common 29.2.0 → 29.3.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/dist/index.rollup.d.ts +9 -0
- package/dist/isaacscript-common.lua +14 -1
- package/dist/src/functions/doors.d.ts +8 -0
- package/dist/src/functions/doors.d.ts.map +1 -1
- package/dist/src/functions/doors.lua +18 -0
- package/package.json +1 -1
- package/src/functions/doors.ts +15 -0
- package/dist/src/indexLua.d.ts +0 -186
- package/dist/src/indexLua.d.ts.map +0 -1
- package/dist/src/indexLua.lua +0 -1114
package/dist/index.rollup.d.ts
CHANGED
|
@@ -7157,6 +7157,15 @@ export declare function hasCollectibleInActiveSlot(player: EntityPlayer, collect
|
|
|
7157
7157
|
|
|
7158
7158
|
export declare function hasCurse(curse: LevelCurse): boolean;
|
|
7159
7159
|
|
|
7160
|
+
/**
|
|
7161
|
+
* Helper function to check if the current room has one or more doors that lead to the given room
|
|
7162
|
+
* types.
|
|
7163
|
+
*
|
|
7164
|
+
* This function is variadic, meaning that you can supply as many door types as you want to check
|
|
7165
|
+
* for. This function will return true if one or more room types match.
|
|
7166
|
+
*/
|
|
7167
|
+
export declare function hasDoorType(...roomTypes: RoomType[]): boolean;
|
|
7168
|
+
|
|
7160
7169
|
/**
|
|
7161
7170
|
* Helper function to determine if a particular bit flag is set to true.
|
|
7162
7171
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common 29.
|
|
3
|
+
isaacscript-common 29.3.0
|
|
4
4
|
|
|
5
5
|
This is the "isaacscript-common" library, which was created with the IsaacScript tool.
|
|
6
6
|
|
|
@@ -21049,6 +21049,7 @@ local __TS__New = ____lualib.__TS__New
|
|
|
21049
21049
|
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
21050
21050
|
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
21051
21051
|
local __TS__ObjectEntries = ____lualib.__TS__ObjectEntries
|
|
21052
|
+
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
21052
21053
|
local ____exports = {}
|
|
21053
21054
|
local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
|
|
21054
21055
|
local DoorSlot = ____isaac_2Dtypescript_2Ddefinitions.DoorSlot
|
|
@@ -21272,6 +21273,18 @@ function ____exports.getUnusedDoorSlots(self)
|
|
|
21272
21273
|
function(____, doorSlot) return doorSlot ~= DoorSlot.NO_DOOR_SLOT and room:IsDoorSlotAllowed(doorSlot) and room:GetDoor(doorSlot) == nil end
|
|
21273
21274
|
)
|
|
21274
21275
|
end
|
|
21276
|
+
function ____exports.hasDoorType(self, ...)
|
|
21277
|
+
local roomTypes = {...}
|
|
21278
|
+
local doors = ____exports.getDoors(nil)
|
|
21279
|
+
local doorsOfThisRoomType = __TS__ArrayFilter(
|
|
21280
|
+
doors,
|
|
21281
|
+
function(____, door) return __TS__ArraySome(
|
|
21282
|
+
roomTypes,
|
|
21283
|
+
function(____, roomType) return door:IsRoomType(roomType) end
|
|
21284
|
+
) end
|
|
21285
|
+
)
|
|
21286
|
+
return #doorsOfThisRoomType > 0
|
|
21287
|
+
end
|
|
21275
21288
|
function ____exports.hasUnusedDoorSlot(self)
|
|
21276
21289
|
local unusedDoorSlots = ____exports.getUnusedDoorSlots(nil)
|
|
21277
21290
|
return #unusedDoorSlots > 0
|
|
@@ -93,6 +93,14 @@ export declare function getRoomShapeDoorSlotCoordinates(roomShape: RoomShape, do
|
|
|
93
93
|
* doors.
|
|
94
94
|
*/
|
|
95
95
|
export declare function getUnusedDoorSlots(): DoorSlot[];
|
|
96
|
+
/**
|
|
97
|
+
* Helper function to check if the current room has one or more doors that lead to the given room
|
|
98
|
+
* types.
|
|
99
|
+
*
|
|
100
|
+
* This function is variadic, meaning that you can supply as many door types as you want to check
|
|
101
|
+
* for. This function will return true if one or more room types match.
|
|
102
|
+
*/
|
|
103
|
+
export declare function hasDoorType(...roomTypes: RoomType[]): boolean;
|
|
96
104
|
/**
|
|
97
105
|
* Helper function to check if the current room has one or more open door slots that can be used to
|
|
98
106
|
* make custom doors.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doors.d.ts","sourceRoot":"","sources":["../../../src/functions/doors.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,QAAQ,EACR,YAAY,EAKZ,SAAS,EACT,QAAQ,EACT,MAAM,8BAA8B,CAAC;AAuBtC,wBAAgB,aAAa,IAAI,IAAI,CAIpC;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI,CAKxD;AAED,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,YAAY,GAAG,QAAQ,CAG3E;AAED,wBAAgB,wBAAwB,CACtC,aAAa,EAAE,QAAQ,CAAC,YAAY,CAAC,GACpC,QAAQ,EAAE,CAWZ;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAEjE;AAED,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,QAAQ,GAAG,YAAY,CAEvE;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,EACL,QAAQ,EAAE,GACV,SAAS,QAAQ,EAAE,GACnB,GAAG,CAAC,QAAQ,CAAC,GACb,WAAW,CAAC,QAAQ,CAAC,GACxB,QAAQ,CAAC,YAAY,CAAC,CASxB;AAED,wBAAgB,gBAAgB,IAAI,cAAc,GAAG,SAAS,CAG7D;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,IAAI,cAAc,GAAG,SAAS,CAG5D;AAED,wBAAgB,gBAAgB,IAAI,cAAc,GAAG,SAAS,CAG7D;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,IAAI,cAAc,GAAG,SAAS,CAKxE;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,cAAc,GAAG,QAAQ,CAAC,MAAM,CA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+7,7 @@ local __TS__New = ____lualib.__TS__New
|
|
|
7
7
|
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
8
8
|
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
9
9
|
local __TS__ObjectEntries = ____lualib.__TS__ObjectEntries
|
|
10
|
+
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
10
11
|
local ____exports = {}
|
|
11
12
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
12
13
|
local DoorSlot = ____isaac_2Dtypescript_2Ddefinitions.DoorSlot
|
|
@@ -288,6 +289,23 @@ function ____exports.getUnusedDoorSlots(self)
|
|
|
288
289
|
function(____, doorSlot) return doorSlot ~= DoorSlot.NO_DOOR_SLOT and room:IsDoorSlotAllowed(doorSlot) and room:GetDoor(doorSlot) == nil end
|
|
289
290
|
)
|
|
290
291
|
end
|
|
292
|
+
--- Helper function to check if the current room has one or more doors that lead to the given room
|
|
293
|
+
-- types.
|
|
294
|
+
--
|
|
295
|
+
-- This function is variadic, meaning that you can supply as many door types as you want to check
|
|
296
|
+
-- for. This function will return true if one or more room types match.
|
|
297
|
+
function ____exports.hasDoorType(self, ...)
|
|
298
|
+
local roomTypes = {...}
|
|
299
|
+
local doors = ____exports.getDoors(nil)
|
|
300
|
+
local doorsOfThisRoomType = __TS__ArrayFilter(
|
|
301
|
+
doors,
|
|
302
|
+
function(____, door) return __TS__ArraySome(
|
|
303
|
+
roomTypes,
|
|
304
|
+
function(____, roomType) return door:IsRoomType(roomType) end
|
|
305
|
+
) end
|
|
306
|
+
)
|
|
307
|
+
return #doorsOfThisRoomType > 0
|
|
308
|
+
end
|
|
291
309
|
--- Helper function to check if the current room has one or more open door slots that can be used to
|
|
292
310
|
-- make custom doors.
|
|
293
311
|
function ____exports.hasUnusedDoorSlot(self)
|
package/package.json
CHANGED
package/src/functions/doors.ts
CHANGED
|
@@ -304,6 +304,21 @@ export function getUnusedDoorSlots(): DoorSlot[] {
|
|
|
304
304
|
);
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
+
/**
|
|
308
|
+
* Helper function to check if the current room has one or more doors that lead to the given room
|
|
309
|
+
* type.
|
|
310
|
+
*
|
|
311
|
+
* This function is variadic, meaning that you can supply as many door types as you want to check
|
|
312
|
+
* for. This function will return true if one or more room types match.
|
|
313
|
+
*/
|
|
314
|
+
export function hasDoorType(...roomTypes: RoomType[]): boolean {
|
|
315
|
+
const doors = getDoors();
|
|
316
|
+
const doorsOfThisRoomType = doors.filter((door) =>
|
|
317
|
+
roomTypes.some((roomType) => door.IsRoomType(roomType)),
|
|
318
|
+
);
|
|
319
|
+
return doorsOfThisRoomType.length > 0;
|
|
320
|
+
}
|
|
321
|
+
|
|
307
322
|
/**
|
|
308
323
|
* Helper function to check if the current room has one or more open door slots that can be used to
|
|
309
324
|
* make custom doors.
|
package/dist/src/indexLua.d.ts
DELETED
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
export * from "./classes/DefaultMap";
|
|
2
|
-
export * from "./classes/ModFeature";
|
|
3
|
-
export * from "./classes/ModUpgraded";
|
|
4
|
-
export * from "./core/cachedClasses";
|
|
5
|
-
export * from "./core/constants";
|
|
6
|
-
export * from "./core/constantsFirstLast";
|
|
7
|
-
export * from "./core/upgradeMod";
|
|
8
|
-
export * from "./enums/AmbushType";
|
|
9
|
-
export * from "./enums/CornerType";
|
|
10
|
-
export * from "./enums/HealthType";
|
|
11
|
-
export * from "./enums/ISCFeature";
|
|
12
|
-
export * from "./enums/LadderSubTypeCustom";
|
|
13
|
-
export * from "./enums/ModCallbackCustom";
|
|
14
|
-
export * from "./enums/MysteriousPaperEffect";
|
|
15
|
-
export * from "./enums/PocketItemType";
|
|
16
|
-
export * from "./enums/RockAltType";
|
|
17
|
-
export * from "./enums/SaveDataKey";
|
|
18
|
-
export * from "./enums/SerializationType";
|
|
19
|
-
export * from "./enums/SlotDestructionType";
|
|
20
|
-
export * from "./enums/StatType";
|
|
21
|
-
export * from "./functions/ambush";
|
|
22
|
-
export * from "./functions/array";
|
|
23
|
-
export * from "./functions/arrayLua";
|
|
24
|
-
export * from "./functions/benchmark";
|
|
25
|
-
export * from "./functions/bitSet128";
|
|
26
|
-
export * from "./functions/bitwise";
|
|
27
|
-
export * from "./functions/bombs";
|
|
28
|
-
export * from "./functions/bosses";
|
|
29
|
-
export * from "./functions/cards";
|
|
30
|
-
export * from "./functions/challenges";
|
|
31
|
-
export * from "./functions/characters";
|
|
32
|
-
export * from "./functions/charge";
|
|
33
|
-
export * from "./functions/chargeBar";
|
|
34
|
-
export * from "./functions/collectibles";
|
|
35
|
-
export * from "./functions/collectibleTag";
|
|
36
|
-
export * from "./functions/color";
|
|
37
|
-
export * from "./functions/console";
|
|
38
|
-
export * from "./functions/curses";
|
|
39
|
-
export * from "./functions/debugFunctions";
|
|
40
|
-
export * from "./functions/decorators";
|
|
41
|
-
export * from "./functions/deepCopy";
|
|
42
|
-
export * from "./functions/deepCopyTests";
|
|
43
|
-
export * from "./functions/dimensions";
|
|
44
|
-
export * from "./functions/direction";
|
|
45
|
-
export * from "./functions/doors";
|
|
46
|
-
export * from "./functions/easing";
|
|
47
|
-
export * from "./functions/effects";
|
|
48
|
-
export * from "./functions/emptyRoom";
|
|
49
|
-
export * from "./functions/entities";
|
|
50
|
-
export * from "./functions/entitiesSpecific";
|
|
51
|
-
export * from "./functions/entityTypes";
|
|
52
|
-
export * from "./functions/enums";
|
|
53
|
-
export * from "./functions/familiars";
|
|
54
|
-
export * from "./functions/flag";
|
|
55
|
-
export * from "./functions/globals";
|
|
56
|
-
export * from "./functions/gridEntities";
|
|
57
|
-
export * from "./functions/gridEntitiesSpecific";
|
|
58
|
-
export * from "./functions/gridIndex";
|
|
59
|
-
export * from "./functions/hex";
|
|
60
|
-
export * from "./functions/initArray";
|
|
61
|
-
export * from "./functions/input";
|
|
62
|
-
export * from "./functions/isaacAPIClass";
|
|
63
|
-
export * from "./functions/itemPool";
|
|
64
|
-
export * from "./functions/jsonHelpers";
|
|
65
|
-
export * from "./functions/jsonRoom";
|
|
66
|
-
export * from "./functions/kColor";
|
|
67
|
-
export * from "./functions/language";
|
|
68
|
-
export * from "./functions/level";
|
|
69
|
-
export * from "./functions/levelGrid";
|
|
70
|
-
export * from "./functions/log";
|
|
71
|
-
export * from "./functions/logEntities";
|
|
72
|
-
export * from "./functions/logMisc";
|
|
73
|
-
export * from "./functions/map";
|
|
74
|
-
export * from "./functions/math";
|
|
75
|
-
export * from "./functions/merge";
|
|
76
|
-
export * from "./functions/mergeTests";
|
|
77
|
-
export * from "./functions/minimap";
|
|
78
|
-
export * from "./functions/modFeatures";
|
|
79
|
-
export * from "./functions/nextStage";
|
|
80
|
-
export * from "./functions/npcs";
|
|
81
|
-
export * from "./functions/pickups";
|
|
82
|
-
export * from "./functions/pickupsSpecific";
|
|
83
|
-
export * from "./functions/pickupVariants";
|
|
84
|
-
export * from "./functions/pills";
|
|
85
|
-
export * from "./functions/playerCenter";
|
|
86
|
-
export * from "./functions/playerDataStructures";
|
|
87
|
-
export * from "./functions/playerHealth";
|
|
88
|
-
export * from "./functions/playerIndex";
|
|
89
|
-
export * from "./functions/players";
|
|
90
|
-
export * from "./functions/playerStats";
|
|
91
|
-
export * from "./functions/pocketItems";
|
|
92
|
-
export * from "./functions/positionVelocity";
|
|
93
|
-
export * from "./functions/pressurePlate";
|
|
94
|
-
export * from "./functions/projectiles";
|
|
95
|
-
export * from "./functions/random";
|
|
96
|
-
export * from "./functions/readOnly";
|
|
97
|
-
export * from "./functions/revive";
|
|
98
|
-
export * from "./functions/rng";
|
|
99
|
-
export * from "./functions/rockAlt";
|
|
100
|
-
export * from "./functions/roomData";
|
|
101
|
-
export * from "./functions/roomGrid";
|
|
102
|
-
export * from "./functions/rooms";
|
|
103
|
-
export * from "./functions/roomShape";
|
|
104
|
-
export * from "./functions/roomShapeWalls";
|
|
105
|
-
export * from "./functions/roomTransition";
|
|
106
|
-
export * from "./functions/run";
|
|
107
|
-
export * from "./functions/seeds";
|
|
108
|
-
export * from "./functions/serialization";
|
|
109
|
-
export * from "./functions/set";
|
|
110
|
-
export * from "./functions/slots";
|
|
111
|
-
export * from "./functions/sort";
|
|
112
|
-
export * from "./functions/sound";
|
|
113
|
-
export * from "./functions/spawnCollectible";
|
|
114
|
-
export * from "./functions/sprites";
|
|
115
|
-
export * from "./functions/stage";
|
|
116
|
-
export * from "./functions/stats";
|
|
117
|
-
export * from "./functions/string";
|
|
118
|
-
export * from "./functions/table";
|
|
119
|
-
export * from "./functions/tears";
|
|
120
|
-
export * from "./functions/transformations";
|
|
121
|
-
export * from "./functions/trinketGive";
|
|
122
|
-
export * from "./functions/trinkets";
|
|
123
|
-
export * from "./functions/tstlClass";
|
|
124
|
-
export * from "./functions/types";
|
|
125
|
-
export * from "./functions/ui";
|
|
126
|
-
export * from "./functions/utils";
|
|
127
|
-
export * from "./functions/vector";
|
|
128
|
-
export * from "./functions/weighted";
|
|
129
|
-
export * from "./interfaces/ChargeBarSprites";
|
|
130
|
-
export * from "./interfaces/Corner";
|
|
131
|
-
export * from "./interfaces/CustomStageTSConfig";
|
|
132
|
-
export * from "./interfaces/GridEntityCustomData";
|
|
133
|
-
export * from "./interfaces/JSONRoomsFile";
|
|
134
|
-
export * from "./interfaces/PlayerHealth";
|
|
135
|
-
export * from "./interfaces/PocketItemDescription";
|
|
136
|
-
export * from "./interfaces/RoomDescription";
|
|
137
|
-
export * from "./interfaces/SaveData";
|
|
138
|
-
export * from "./interfaces/StatTypeType";
|
|
139
|
-
export * from "./interfaces/TrinketSituation";
|
|
140
|
-
export * from "./interfaces/TSTLClassMetatable";
|
|
141
|
-
export * from "./maps/cardNameToTypeMap";
|
|
142
|
-
export * from "./maps/characterNameToTypeMap";
|
|
143
|
-
export * from "./maps/pillNameToEffectMap";
|
|
144
|
-
export * from "./maps/roomNameToTypeMap";
|
|
145
|
-
export * from "./maps/transformationNameToPlayerFormMap";
|
|
146
|
-
export * from "./objects/colors";
|
|
147
|
-
export * from "./objects/kColors";
|
|
148
|
-
export * from "./types/AllButFirst";
|
|
149
|
-
export * from "./types/AllButLast";
|
|
150
|
-
export * from "./types/AnyClass";
|
|
151
|
-
export * from "./types/AnyEntity";
|
|
152
|
-
export * from "./types/AnyFunction";
|
|
153
|
-
export * from "./types/AnyGridEntity";
|
|
154
|
-
export * from "./types/CollectibleIndex";
|
|
155
|
-
export * from "./types/ConversionHeartSubType";
|
|
156
|
-
export * from "./types/Decrement";
|
|
157
|
-
export * from "./types/EntityID";
|
|
158
|
-
export * from "./types/FunctionTuple";
|
|
159
|
-
export * from "./types/GridEntityID";
|
|
160
|
-
export * from "./types/HasFunction";
|
|
161
|
-
export * from "./types/Immutable";
|
|
162
|
-
export * from "./types/Increment";
|
|
163
|
-
export * from "./types/LowercaseKeys";
|
|
164
|
-
export * from "./types/NaturalNumbersLessThan";
|
|
165
|
-
export * from "./types/NaturalNumbersLessThanOrEqualTo";
|
|
166
|
-
export * from "./types/PickingUpItem";
|
|
167
|
-
export * from "./types/PickupIndex";
|
|
168
|
-
export * from "./types/PlayerIndex";
|
|
169
|
-
export * from "./types/PossibleStatType";
|
|
170
|
-
export * from "./types/PublicInterface";
|
|
171
|
-
export * from "./types/Range";
|
|
172
|
-
export * from "./types/ReadonlyMap";
|
|
173
|
-
export * from "./types/ReadonlySet";
|
|
174
|
-
export * from "./types/StartsWithLowercase";
|
|
175
|
-
export * from "./types/StartsWithUppercase";
|
|
176
|
-
export * from "./types/TSTLClass";
|
|
177
|
-
export * from "./types/Tuple";
|
|
178
|
-
export * from "./types/TupleToIntersection";
|
|
179
|
-
export * from "./types/TupleToUnion";
|
|
180
|
-
export * from "./types/TupleWithMaxLength";
|
|
181
|
-
export * from "./types/UnionToIntersection";
|
|
182
|
-
export * from "./types/UppercaseKeys";
|
|
183
|
-
export * from "./types/WeightedArray";
|
|
184
|
-
export * from "./types/Writable";
|
|
185
|
-
export * from "isaac-typescript-definitions";
|
|
186
|
-
//# sourceMappingURL=indexLua.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"indexLua.d.ts","sourceRoot":"","sources":["../../../../../packages/isaacscript-common/src/indexLua.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAA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