isaacscript-common 21.9.0 → 23.0.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.
Files changed (45) hide show
  1. package/dist/index.rollup.d.ts +61 -45
  2. package/dist/isaacscript-common.lua +202 -177
  3. package/dist/lualib_bundle.lua +59 -100
  4. package/dist/src/functions/characters.d.ts +8 -1
  5. package/dist/src/functions/characters.d.ts.map +1 -1
  6. package/dist/src/functions/characters.lua +9 -0
  7. package/dist/src/functions/color.d.ts +1 -1
  8. package/dist/src/functions/color.d.ts.map +1 -1
  9. package/dist/src/functions/hex.d.ts +2 -2
  10. package/dist/src/functions/hex.d.ts.map +1 -1
  11. package/dist/src/functions/isaacAPIClass.d.ts +1 -1
  12. package/dist/src/functions/isaacAPIClass.d.ts.map +1 -1
  13. package/dist/src/functions/isaacAPIClass.lua +1 -1
  14. package/dist/src/functions/kColor.d.ts +1 -1
  15. package/dist/src/functions/kColor.d.ts.map +1 -1
  16. package/dist/src/functions/log.d.ts +1 -1
  17. package/dist/src/functions/log.d.ts.map +1 -1
  18. package/dist/src/functions/log.lua +5 -0
  19. package/dist/src/functions/players.d.ts +28 -21
  20. package/dist/src/functions/players.d.ts.map +1 -1
  21. package/dist/src/functions/players.lua +60 -51
  22. package/dist/src/functions/positionVelocity.d.ts +1 -1
  23. package/dist/src/functions/positionVelocity.d.ts.map +1 -1
  24. package/dist/src/functions/roomGrid.d.ts +5 -5
  25. package/dist/src/functions/roomGrid.d.ts.map +1 -1
  26. package/dist/src/functions/ui.d.ts +8 -8
  27. package/dist/src/functions/ui.d.ts.map +1 -1
  28. package/dist/src/functions/vector.d.ts +1 -1
  29. package/dist/src/functions/vector.d.ts.map +1 -1
  30. package/dist/src/objects/characterStartingCollectibles.d.ts +46 -0
  31. package/dist/src/objects/characterStartingCollectibles.d.ts.map +1 -0
  32. package/dist/src/objects/characterStartingCollectibles.lua +49 -0
  33. package/package.json +1 -1
  34. package/src/functions/characters.ts +14 -1
  35. package/src/functions/color.ts +1 -1
  36. package/src/functions/hex.ts +2 -2
  37. package/src/functions/isaacAPIClass.ts +1 -1
  38. package/src/functions/kColor.ts +1 -1
  39. package/src/functions/log.ts +7 -1
  40. package/src/functions/players.ts +72 -57
  41. package/src/functions/positionVelocity.ts +1 -1
  42. package/src/functions/roomGrid.ts +14 -5
  43. package/src/functions/ui.ts +8 -8
  44. package/src/functions/vector.ts +1 -1
  45. package/src/objects/characterStartingCollectibles.ts +144 -0
@@ -762,13 +762,7 @@ local function __TS__AsyncAwaiter(generator)
762
762
  function(____, resolve, reject)
763
763
  local adopt, fulfilled, step, resolved, asyncCoroutine
764
764
  function adopt(self, value)
765
- local ____temp_0
766
- if __TS__InstanceOf(value, __TS__Promise) then
767
- ____temp_0 = value
768
- else
769
- ____temp_0 = __TS__Promise.resolve(value)
770
- end
771
- return ____temp_0
765
+ return __TS__InstanceOf(value, __TS__Promise) and value or __TS__Promise.resolve(value)
772
766
  end
773
767
  function fulfilled(self, value)
774
768
  local success, resultOrError = coroutine.resume(asyncCoroutine, value)
@@ -785,8 +779,8 @@ local function __TS__AsyncAwaiter(generator)
785
779
  if coroutine.status(asyncCoroutine) == "dead" then
786
780
  resolve(nil, result)
787
781
  else
788
- local ____self_1 = adopt(nil, result)
789
- ____self_1["then"](____self_1, fulfilled, reject)
782
+ local ____self_0 = adopt(nil, result)
783
+ ____self_0["then"](____self_0, fulfilled, reject)
790
784
  end
791
785
  end
792
786
  resolved = false
@@ -795,8 +789,8 @@ local function __TS__AsyncAwaiter(generator)
795
789
  asyncCoroutine,
796
790
  function(____, v)
797
791
  resolved = true
798
- local ____self_2 = adopt(nil, v)
799
- ____self_2["then"](____self_2, resolve, reject)
792
+ local ____self_1 = adopt(nil, v)
793
+ ____self_1["then"](____self_1, resolve, reject)
800
794
  end
801
795
  )
802
796
  if success then
@@ -903,7 +897,7 @@ do
903
897
  local descriptors = rawget(metatable, "_descriptors")
904
898
  if descriptors then
905
899
  local descriptor = descriptors[key]
906
- if descriptor then
900
+ if descriptor ~= nil then
907
901
  if descriptor.get then
908
902
  return descriptor.get(self)
909
903
  end
@@ -919,7 +913,7 @@ do
919
913
  local descriptors = rawget(metatable, "_descriptors")
920
914
  if descriptors then
921
915
  local descriptor = descriptors[key]
922
- if descriptor then
916
+ if descriptor ~= nil then
923
917
  if descriptor.set then
924
918
  descriptor.set(self, value)
925
919
  else
@@ -972,7 +966,7 @@ local function __TS__Decorate(decorators, target, key, desc)
972
966
  local i = #decorators
973
967
  while i >= 0 do
974
968
  local decorator = decorators[i + 1]
975
- if decorator then
969
+ if decorator ~= nil then
976
970
  local oldResult = result
977
971
  if key == nil then
978
972
  result = decorator(nil, result)
@@ -1045,7 +1039,7 @@ do
1045
1039
  if isClassicLua or caller and caller.func ~= error then
1046
1040
  return description
1047
1041
  else
1048
- return (tostring(description) .. "\n") .. self.stack
1042
+ return (description .. "\n") .. tostring(self.stack)
1049
1043
  end
1050
1044
  end
1051
1045
  end
@@ -1056,7 +1050,7 @@ do
1056
1050
  {__call = function(____, _self, message) return __TS__New(Type, message) end}
1057
1051
  )
1058
1052
  end
1059
- local ____initErrorClass_2 = initErrorClass
1053
+ local ____initErrorClass_1 = initErrorClass
1060
1054
  local ____class_0 = __TS__Class()
1061
1055
  ____class_0.name = ""
1062
1056
  function ____class_0.prototype.____constructor(self, message)
@@ -1067,31 +1061,25 @@ do
1067
1061
  self.name = "Error"
1068
1062
  self.stack = getErrorStack(nil, self.constructor.new)
1069
1063
  local metatable = getmetatable(self)
1070
- if not metatable.__errorToStringPatched then
1064
+ if metatable and not metatable.__errorToStringPatched then
1071
1065
  metatable.__errorToStringPatched = true
1072
1066
  metatable.__tostring = wrapErrorToString(nil, metatable.__tostring)
1073
1067
  end
1074
1068
  end
1075
1069
  function ____class_0.prototype.__tostring(self)
1076
- local ____temp_1
1077
- if self.message ~= "" then
1078
- ____temp_1 = (self.name .. ": ") .. self.message
1079
- else
1080
- ____temp_1 = self.name
1081
- end
1082
- return ____temp_1
1070
+ return self.message ~= "" and (self.name .. ": ") .. self.message or self.name
1083
1071
  end
1084
- Error = ____initErrorClass_2(nil, ____class_0, "Error")
1072
+ Error = ____initErrorClass_1(nil, ____class_0, "Error")
1085
1073
  local function createErrorClass(self, name)
1086
- local ____initErrorClass_4 = initErrorClass
1087
- local ____class_3 = __TS__Class()
1088
- ____class_3.name = ____class_3.name
1089
- __TS__ClassExtends(____class_3, Error)
1090
- function ____class_3.prototype.____constructor(self, ...)
1091
- ____class_3.____super.prototype.____constructor(self, ...)
1074
+ local ____initErrorClass_3 = initErrorClass
1075
+ local ____class_2 = __TS__Class()
1076
+ ____class_2.name = ____class_2.name
1077
+ __TS__ClassExtends(____class_2, Error)
1078
+ function ____class_2.prototype.____constructor(self, ...)
1079
+ ____class_2.____super.prototype.____constructor(self, ...)
1092
1080
  self.name = name
1093
1081
  end
1094
- return ____initErrorClass_4(nil, ____class_3, name)
1082
+ return ____initErrorClass_3(nil, ____class_2, name)
1095
1083
  end
1096
1084
  RangeError = createErrorClass(nil, "RangeError")
1097
1085
  ReferenceError = createErrorClass(nil, "ReferenceError")
@@ -1261,13 +1249,13 @@ do
1261
1249
  self.size = self.size - 1
1262
1250
  local next = self.nextKey[key]
1263
1251
  local previous = self.previousKey[key]
1264
- if next and previous then
1252
+ if next ~= nil and previous ~= nil then
1265
1253
  self.nextKey[previous] = next
1266
1254
  self.previousKey[next] = previous
1267
- elseif next then
1255
+ elseif next ~= nil then
1268
1256
  self.firstKey = next
1269
1257
  self.previousKey[next] = nil
1270
- elseif previous then
1258
+ elseif previous ~= nil then
1271
1259
  self.lastKey = previous
1272
1260
  self.nextKey[previous] = nil
1273
1261
  else
@@ -1453,13 +1441,7 @@ do
1453
1441
  end
1454
1442
 
1455
1443
  local function __TS__ObjectDefineProperty(target, key, desc)
1456
- local ____temp_0
1457
- if type(key) == "number" then
1458
- ____temp_0 = key + 1
1459
- else
1460
- ____temp_0 = key
1461
- end
1462
- local luaKey = ____temp_0
1444
+ local luaKey = type(key) == "number" and key + 1 or key
1463
1445
  local value = rawget(target, luaKey)
1464
1446
  local hasGetterOrSetter = desc.get ~= nil or desc.set ~= nil
1465
1447
  local descriptor
@@ -1473,39 +1455,39 @@ local function __TS__ObjectDefineProperty(target, key, desc)
1473
1455
  descriptor = desc
1474
1456
  else
1475
1457
  local valueExists = value ~= nil
1476
- local ____desc_set_5 = desc.set
1477
- local ____desc_get_6 = desc.get
1478
- local ____temp_1
1458
+ local ____desc_set_4 = desc.set
1459
+ local ____desc_get_5 = desc.get
1460
+ local ____temp_0
1479
1461
  if desc.configurable ~= nil then
1480
- ____temp_1 = desc.configurable
1462
+ ____temp_0 = desc.configurable
1481
1463
  else
1482
- ____temp_1 = valueExists
1464
+ ____temp_0 = valueExists
1483
1465
  end
1484
- local ____temp_2
1466
+ local ____temp_1
1485
1467
  if desc.enumerable ~= nil then
1486
- ____temp_2 = desc.enumerable
1468
+ ____temp_1 = desc.enumerable
1487
1469
  else
1488
- ____temp_2 = valueExists
1470
+ ____temp_1 = valueExists
1489
1471
  end
1490
- local ____temp_3
1472
+ local ____temp_2
1491
1473
  if desc.writable ~= nil then
1492
- ____temp_3 = desc.writable
1474
+ ____temp_2 = desc.writable
1493
1475
  else
1494
- ____temp_3 = valueExists
1476
+ ____temp_2 = valueExists
1495
1477
  end
1496
- local ____temp_4
1478
+ local ____temp_3
1497
1479
  if desc.value ~= nil then
1498
- ____temp_4 = desc.value
1480
+ ____temp_3 = desc.value
1499
1481
  else
1500
- ____temp_4 = value
1482
+ ____temp_3 = value
1501
1483
  end
1502
1484
  descriptor = {
1503
- set = ____desc_set_5,
1504
- get = ____desc_get_6,
1505
- configurable = ____temp_1,
1506
- enumerable = ____temp_2,
1507
- writable = ____temp_3,
1508
- value = ____temp_4
1485
+ set = ____desc_set_4,
1486
+ get = ____desc_get_5,
1487
+ configurable = ____temp_0,
1488
+ enumerable = ____temp_1,
1489
+ writable = ____temp_2,
1490
+ value = ____temp_3
1509
1491
  }
1510
1492
  end
1511
1493
  __TS__SetDescriptor(target, luaKey, descriptor)
@@ -1575,14 +1557,8 @@ end
1575
1557
 
1576
1558
  local function __TS__ParseFloat(numberString)
1577
1559
  local infinityMatch = __TS__Match(numberString, "^%s*(-?Infinity)")
1578
- if infinityMatch then
1579
- local ____temp_0
1580
- if __TS__StringAccess(infinityMatch, 0) == "-" then
1581
- ____temp_0 = -math.huge
1582
- else
1583
- ____temp_0 = math.huge
1584
- end
1585
- return ____temp_0
1560
+ if infinityMatch ~= nil then
1561
+ return __TS__StringAccess(infinityMatch, 0) == "-" and -math.huge or math.huge
1586
1562
  end
1587
1563
  local number = tonumber(__TS__Match(numberString, "^%s*(-?%d+%.?%d*)"))
1588
1564
  return number or 0 / 0
@@ -1613,27 +1589,15 @@ do
1613
1589
  if base == nil then
1614
1590
  base = 10
1615
1591
  local hexMatch = __TS__Match(numberString, "^%s*-?0[xX]")
1616
- if hexMatch then
1592
+ if hexMatch ~= nil then
1617
1593
  base = 16
1618
- local ____TS__Match_result__0_0
1619
- if __TS__Match(hexMatch, "-") then
1620
- ____TS__Match_result__0_0 = "-" .. __TS__StringSubstring(numberString, #hexMatch)
1621
- else
1622
- ____TS__Match_result__0_0 = __TS__StringSubstring(numberString, #hexMatch)
1623
- end
1624
- numberString = ____TS__Match_result__0_0
1594
+ numberString = __TS__Match(hexMatch, "-") and "-" .. __TS__StringSubstring(numberString, #hexMatch) or __TS__StringSubstring(numberString, #hexMatch)
1625
1595
  end
1626
1596
  end
1627
1597
  if base < 2 or base > 36 then
1628
1598
  return 0 / 0
1629
1599
  end
1630
- local ____temp_1
1631
- if base <= 10 then
1632
- ____temp_1 = __TS__StringSubstring(parseIntBasePattern, 0, base)
1633
- else
1634
- ____temp_1 = __TS__StringSubstring(parseIntBasePattern, 0, 10 + 2 * (base - 10))
1635
- end
1636
- local allowedDigits = ____temp_1
1600
+ local allowedDigits = base <= 10 and __TS__StringSubstring(parseIntBasePattern, 0, base) or __TS__StringSubstring(parseIntBasePattern, 0, 10 + 2 * (base - 10))
1637
1601
  local pattern = ("^%s*(-?[" .. allowedDigits) .. "]*)"
1638
1602
  local number = tonumber(
1639
1603
  __TS__Match(numberString, pattern),
@@ -1872,13 +1836,13 @@ do
1872
1836
  self.size = self.size - 1
1873
1837
  local next = self.nextKey[value]
1874
1838
  local previous = self.previousKey[value]
1875
- if next and previous then
1839
+ if next ~= nil and previous ~= nil then
1876
1840
  self.nextKey[previous] = next
1877
1841
  self.previousKey[next] = previous
1878
- elseif next then
1842
+ elseif next ~= nil then
1879
1843
  self.firstKey = next
1880
1844
  self.previousKey[next] = nil
1881
- elseif previous then
1845
+ elseif previous ~= nil then
1882
1846
  self.lastKey = previous
1883
1847
  self.nextKey[previous] = nil
1884
1848
  else
@@ -2066,7 +2030,7 @@ local function __TS__SourceMapTraceBack(fileName, sourceMap)
2066
2030
  if thread == nil and message == nil and level == nil then
2067
2031
  trace = originalTraceback()
2068
2032
  elseif __TS__StringIncludes(_VERSION, "Lua 5.0") then
2069
- trace = originalTraceback((("[Level " .. tostring(level)) .. "] ") .. message)
2033
+ trace = originalTraceback((("[Level " .. tostring(level)) .. "] ") .. tostring(message))
2070
2034
  else
2071
2035
  trace = originalTraceback(thread, message, level)
2072
2036
  end
@@ -2075,12 +2039,12 @@ local function __TS__SourceMapTraceBack(fileName, sourceMap)
2075
2039
  end
2076
2040
  local function replacer(____, file, srcFile, line)
2077
2041
  local fileSourceMap = _G.__TS__sourcemap[file]
2078
- if fileSourceMap and fileSourceMap[line] then
2042
+ if fileSourceMap ~= nil and fileSourceMap[line] ~= nil then
2079
2043
  local data = fileSourceMap[line]
2080
2044
  if type(data) == "number" then
2081
2045
  return (srcFile .. ":") .. tostring(data)
2082
2046
  end
2083
- return (tostring(data.file) .. ":") .. tostring(data.line)
2047
+ return (data.file .. ":") .. tostring(data.line)
2084
2048
  end
2085
2049
  return (file .. ":") .. line
2086
2050
  end
@@ -2091,14 +2055,14 @@ local function __TS__SourceMapTraceBack(fileName, sourceMap)
2091
2055
  )
2092
2056
  local function stringReplacer(____, file, line)
2093
2057
  local fileSourceMap = _G.__TS__sourcemap[file]
2094
- if fileSourceMap and fileSourceMap[line] then
2058
+ if fileSourceMap ~= nil and fileSourceMap[line] ~= nil then
2095
2059
  local chunkName = __TS__Match(file, "%[string \"([^\"]+)\"%]")
2096
2060
  local sourceName = string.gsub(chunkName, ".lua$", ".ts")
2097
2061
  local data = fileSourceMap[line]
2098
2062
  if type(data) == "number" then
2099
2063
  return (sourceName .. ":") .. tostring(data)
2100
2064
  end
2101
- return (tostring(data.file) .. ":") .. tostring(data.line)
2065
+ return (data.file .. ":") .. tostring(data.line)
2102
2066
  end
2103
2067
  return (file .. ":") .. line
2104
2068
  end
@@ -2218,13 +2182,7 @@ do
2218
2182
  return source
2219
2183
  end
2220
2184
  local before = sub(source, 1, startPos - 1)
2221
- local ____temp_0
2222
- if type(replaceValue) == "string" then
2223
- ____temp_0 = replaceValue
2224
- else
2225
- ____temp_0 = replaceValue(nil, searchValue, startPos - 1, source)
2226
- end
2227
- local replacement = ____temp_0
2185
+ local replacement = type(replaceValue) == "string" and replaceValue or replaceValue(nil, searchValue, startPos - 1, source)
2228
2186
  local after = sub(source, endPos + 1)
2229
2187
  return (before .. replacement) .. after
2230
2188
  end
@@ -2379,6 +2337,7 @@ do
2379
2337
  return key
2380
2338
  end
2381
2339
  end
2340
+ return nil
2382
2341
  end
2383
2342
  end
2384
2343
 
@@ -1,4 +1,4 @@
1
- import { PlayerType } from "isaac-typescript-definitions";
1
+ import { CollectibleType, PlayerType } from "isaac-typescript-definitions";
2
2
  /**
3
3
  * Helper function to determine if the given character can have red heart containers. Returns true
4
4
  * for characters like Isaac, Magdalene, or Cain. Returns true for Keeper and Tainted Keeper, even
@@ -46,6 +46,13 @@ export declare function getCharacterDeathAnimationName(character: PlayerType): s
46
46
  export declare function getCharacterMaxHeartContainers(character: PlayerType): int;
47
47
  /** Helper function to get the name of a character. Returns "Unknown" for modded characters. */
48
48
  export declare function getCharacterName(character: PlayerType): string;
49
+ /**
50
+ * Helper function to get the collectibles that are granted to a particular character at the
51
+ * beginning of a run.
52
+ *
53
+ * Note that this will return an empty array for Eden and Tainted Eden.
54
+ */
55
+ export declare function getCharacterStartingItems(character: PlayerType): readonly CollectibleType[];
49
56
  export declare function isFlyingCharacter(player: EntityPlayer): boolean;
50
57
  export declare function isModdedCharacter(character: PlayerType): boolean;
51
58
  export declare function isVanillaCharacter(character: PlayerType): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"characters.d.ts","sourceRoot":"","sources":["../../../src/functions/characters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAqB1D;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAExE;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAEzE;AAED;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAE7E;AAED;;;;GAIG;AACH,wBAAgB,uCAAuC,CACrD,SAAS,EAAE,UAAU,GACpB,OAAO,CAET;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAE5E;AAED,8EAA8E;AAC9E,wBAAgB,4BAA4B,CAC1C,SAAS,EAAE,UAAU,EACrB,iBAAiB,UAAQ,GACxB,KAAK,CAMP;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,UAAU,GAAG,MAAM,CAU5E;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,UAAU,GAAG,GAAG,CAsBzE;AAED,+FAA+F;AAC/F,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,UAAU,GAAG,MAAM,CAM9D;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,OAA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O,CAEhE;AAED,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAEjE"}
@@ -9,6 +9,8 @@ local ____characterDamageMultipliers = require("src.objects.characterDamageMulti
9
9
  local CHARACTER_DAMAGE_MULTIPLIERS = ____characterDamageMultipliers.CHARACTER_DAMAGE_MULTIPLIERS
10
10
  local ____characterNames = require("src.objects.characterNames")
11
11
  local CHARACTER_NAMES = ____characterNames.CHARACTER_NAMES
12
+ local ____characterStartingCollectibles = require("src.objects.characterStartingCollectibles")
13
+ local CHARACTER_STARTING_COLLECTIBLES = ____characterStartingCollectibles.CHARACTER_STARTING_COLLECTIBLES
12
14
  local ____charactersThatStartWithAnActiveItemSet = require("src.sets.charactersThatStartWithAnActiveItemSet")
13
15
  local CHARACTERS_THAT_START_WITH_AN_ACTIVE_ITEM_SET = ____charactersThatStartWithAnActiveItemSet.CHARACTERS_THAT_START_WITH_AN_ACTIVE_ITEM_SET
14
16
  local ____charactersWithBlackHeartFromEternalHeartSet = require("src.sets.charactersWithBlackHeartFromEternalHeartSet")
@@ -115,6 +117,13 @@ function ____exports.getCharacterName(self, character)
115
117
  end
116
118
  return CHARACTER_NAMES[character]
117
119
  end
120
+ --- Helper function to get the collectibles that are granted to a particular character at the
121
+ -- beginning of a run.
122
+ --
123
+ -- Note that this will return an empty array for Eden and Tainted Eden.
124
+ function ____exports.getCharacterStartingItems(self, character)
125
+ return CHARACTER_STARTING_COLLECTIBLES[character]
126
+ end
118
127
  function ____exports.isFlyingCharacter(self, player)
119
128
  local character = player:GetPlayerType()
120
129
  return FLYING_CHARACTERS:has(character)
@@ -19,7 +19,7 @@ export declare function deserializeColor(color: SerializedColor): Color;
19
19
  * `RNG.Next` method will be called. Default is `getRandomSeed()`.
20
20
  * @param alpha Optional. The alpha value to use. Default is 1.
21
21
  */
22
- export declare function getRandomColor(seedOrRNG?: Seed | RNG, alpha?: number): Color;
22
+ export declare function getRandomColor(seedOrRNG?: Seed | RNG, alpha?: number): Readonly<Color>;
23
23
  /** Helper function to check if something is an instantiated `Color` object. */
24
24
  export declare function isColor(object: unknown): object is Color;
25
25
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../src/functions/color.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAYzE,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACtD,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC,QAAQ,CAAC,MAAM,EAAE,yBAAyB,CAAC,KAAK,CAAC;CAClD,CAAC;AAKF,wBAAgB,WAAW,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAG,OAAO,CAEjE;AAED,yDAAyD;AACzD,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAgB7C;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,KAAK,CA8B9D;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,SAAS,GAAE,IAAI,GAAG,GAAqB,EACvC,KAAK,SAAI,GACR,KAAK,CAQP;AAED,+EAA+E;AAC/E,wBAAgB,OAAO,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,KAAK,CAExD;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,eAAe,CAM5E;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,eAAe,CAW5D"}
1
+ {"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../src/functions/color.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAYzE,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACtD,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC,QAAQ,CAAC,MAAM,EAAE,yBAAyB,CAAC,KAAK,CAAC;CAClD,CAAC;AAKF,wBAAgB,WAAW,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAG,OAAO,CAEjE;AAED,yDAAyD;AACzD,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAgB7C;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,KAAK,CA8B9D;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,SAAS,GAAE,IAAI,GAAG,GAAqB,EACvC,KAAK,SAAI,GACR,QAAQ,CAAC,KAAK,CAAC,CAQjB;AAED,+EAA+E;AAC/E,wBAAgB,OAAO,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,KAAK,CAExD;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,eAAe,CAM5E;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,eAAe,CAW5D"}
@@ -6,12 +6,12 @@
6
6
  * @param hexString A hex string like "#ffffff" or "ffffff". (The "#" character is optional.)
7
7
  * @param alpha Optional. Range is from 0 to 1. Default is 1. (The same as the `Color` constructor.)
8
8
  */
9
- export declare function hexToColor(hexString: string, alpha?: number): Color;
9
+ export declare function hexToColor(hexString: string, alpha?: number): Readonly<Color>;
10
10
  /**
11
11
  * Converts a hex string like "#33aa33" to a Color object.
12
12
  *
13
13
  * @param hexString A hex string like "#ffffff" or "ffffff". (The "#" character is optional.)
14
14
  * @param alpha Range is from 0 to 1. Default is 1.
15
15
  */
16
- export declare function hexToKColor(hexString: string, alpha?: number): KColor;
16
+ export declare function hexToKColor(hexString: string, alpha?: number): Readonly<KColor>;
17
17
  //# sourceMappingURL=hex.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hex.d.ts","sourceRoot":"","sources":["../../../src/functions/hex.ts"],"names":[],"mappings":";;AAIA;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,SAAM,GAAG,KAAK,CAMhE;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,SAAM,GAAG,MAAM,CAMlE"}
1
+ {"version":3,"file":"hex.d.ts","sourceRoot":"","sources":["../../../src/functions/hex.ts"],"names":[],"mappings":";;AAIA;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,SAAM,GAAG,QAAQ,CAAC,KAAK,CAAC,CAM1E;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,SAAM,GAAG,QAAQ,CAAC,MAAM,CAAC,CAM5E"}
@@ -43,7 +43,7 @@ export declare function isEffect(variable: unknown): variable is EntityEffect;
43
43
  * classes such as `EntityPlayer` or `EntityTear`.
44
44
  */
45
45
  export declare function isEntity(variable: unknown): variable is Entity;
46
- /** Helper function to detect if a variable is of type `EntityEffect`. */
46
+ /** Helper function to detect if a variable is of type `EntityFamiliar`. */
47
47
  export declare function isFamiliar(variable: unknown): variable is EntityFamiliar;
48
48
  /** Helper function to detect if a variable is of type `GridEntity`. */
49
49
  export declare function isGridEntity(variable: unknown): variable is GridEntity;
@@ -1 +1 @@
1
- {"version":3,"file":"isaacAPIClass.d.ts","sourceRoot":"","sources":["../../../src/functions/isaacAPIClass.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAGA;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAkBxE;AAED,uEAAuE;AACvE,wBAAgB,MAAM,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,IAAI,UAAU,CAEhE;AAED,2EAA2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C,QAAQ,EAAE,OAAO,GAAG,QAAQ,IAAI,gBAAgB,CAE5E;AAED,2EAA2E;AAC3E,wBAAgB,MAAM,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,IAAI,cAAc,CAEpE;AAED,6EAA6E;AAC7E,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,IAAI,gBAAgB,CAExE;AAED,0EAA0E;AAC1E,wBAAgB,KAAK,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,IAAI,aAAa,CAElE;AAED,uEAAuE;AACvE,wBAAgB,MAAM,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,IAAI,UAAU,CAEhE;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,GACjC,OAAO,CAKT"}
@@ -48,7 +48,7 @@ end
48
48
  function ____exports.isEntity(self, variable)
49
49
  return ____exports.getIsaacAPIClassName(nil, variable) == "Entity"
50
50
  end
51
- --- Helper function to detect if a variable is of type `EntityEffect`.
51
+ --- Helper function to detect if a variable is of type `EntityFamiliar`.
52
52
  function ____exports.isFamiliar(self, variable)
53
53
  return ____exports.getIsaacAPIClassName(nil, variable) == "EntityEffect"
54
54
  end
@@ -18,7 +18,7 @@ export declare function deserializeKColor(kColor: SerializedKColor): KColor;
18
18
  * `RNG.Next` method will be called. Default is `getRandomSeed()`.
19
19
  * @param alpha Optional. The alpha value to use. Default is 1.
20
20
  */
21
- export declare function getRandomKColor(seedOrRNG?: Seed | RNG, alpha?: number): KColor;
21
+ export declare function getRandomKColor(seedOrRNG?: Seed | RNG, alpha?: number): Readonly<KColor>;
22
22
  /** Helper function to check if something is an instantiated `KColor` object. */
23
23
  export declare function isKColor(object: unknown): object is KColor;
24
24
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"kColor.d.ts","sourceRoot":"","sources":["../../../src/functions/kColor.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAYzE,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACvD,QAAQ,CAAC,uBAAuB,EAAE,MAAM,CAAC;IACzC,QAAQ,CAAC,MAAM,EAAE,yBAAyB,CAAC,OAAO,CAAC;CACpD,CAAC;AAKF,0DAA0D;AAC1D,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAQjD;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,GAAG,MAAM,CA+BlE;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,SAAS,GAAE,IAAI,GAAG,GAAqB,EACvC,KAAK,SAAI,GACR,MAAM,CAQR;AAED,gFAAgF;AAChF,wBAAgB,QAAQ,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,MAAM,CAE1D;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,OAAO,GACd,MAAM,IAAI,gBAAgB,CAQ5B;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAEtE;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,gBAAgB,CAWhE"}
1
+ {"version":3,"file":"kColor.d.ts","sourceRoot":"","sources":["../../../src/functions/kColor.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAYzE,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACvD,QAAQ,CAAC,uBAAuB,EAAE,MAAM,CAAC;IACzC,QAAQ,CAAC,MAAM,EAAE,yBAAyB,CAAC,OAAO,CAAC;CACpD,CAAC;AAKF,0DAA0D;AAC1D,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAQjD;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,GAAG,MAAM,CA+BlE;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,SAAS,GAAE,IAAI,GAAG,GAAqB,EACvC,KAAK,SAAI,GACR,QAAQ,CAAC,MAAM,CAAC,CAQlB;AAED,gFAAgF;AAChF,wBAAgB,QAAQ,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,MAAM,CAE1D;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,OAAO,GACd,MAAM,IAAI,gBAAgB,CAQ5B;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAEtE;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,gBAAgB,CAWhE"}
@@ -26,7 +26,7 @@ export declare function getParentFunctionDescription(this: void, levels?: number
26
26
  * @param includeParentFunction Optional. Whether to prefix the message with the function name and
27
27
  * line number, as shown in the above example. Default is true.
28
28
  */
29
- export declare function log(this: void, msg: string, includeParentFunction?: boolean): void;
29
+ export declare function log(this: void, msg: string | number, includeParentFunction?: boolean): void;
30
30
  /**
31
31
  * Helper function to log a message to the "log.txt" file and to print it to the screen at the same
32
32
  * time.
@@ -1 +1 @@
1
- {"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../src/functions/log.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,wBAAgB,4BAA4B,CAC1C,IAAI,EAAE,IAAI,EAKV,MAAM,SAAI,GACT,MAAM,GAAG,SAAS,CAiBpB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,IAAI,EACV,GAAG,EAAE,MAAM,EACX,qBAAqB,UAAO,GAC3B,IAAI,CASN;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAG7C"}
1
+ {"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../src/functions/log.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,wBAAgB,4BAA4B,CAC1C,IAAI,EAAE,IAAI,EAKV,MAAM,SAAI,GACT,MAAM,GAAG,SAAS,CAiBpB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,IAAI,EACV,GAAG,EAAE,MAAM,GAAG,MAAM,EACpB,qBAAqB,UAAO,GAC3B,IAAI,CAaN;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAG7C"}
@@ -1,4 +1,6 @@
1
1
  local ____exports = {}
2
+ local ____types = require("src.functions.types")
3
+ local isNumber = ____types.isNumber
2
4
  --- Helper function to get the name and the line number of the current calling function.
3
5
  --
4
6
  -- For this function to work properly, the "--luadebug" flag must be enabled. Otherwise, it will
@@ -41,6 +43,9 @@ function ____exports.log(msg, includeParentFunction)
41
43
  if includeParentFunction == nil then
42
44
  includeParentFunction = true
43
45
  end
46
+ if isNumber(nil, msg) then
47
+ msg = tostring(msg)
48
+ end
44
49
  local ____includeParentFunction_0
45
50
  if includeParentFunction then
46
51
  ____includeParentFunction_0 = ____exports.getParentFunctionDescription()
@@ -1,4 +1,11 @@
1
1
  import { ActiveSlot, CollectibleType, ControllerIndex, PlayerForm, PlayerType, TrinketType } from "isaac-typescript-definitions";
2
+ /**
3
+ * Helper function to add one or more collectibles to a player.
4
+ *
5
+ * This function is variadic, meaning that you can supply as many collectible types as you want to
6
+ * add.
7
+ */
8
+ export declare function addCollectible(player: EntityPlayer, ...collectibleTypes: CollectibleType[]): void;
2
9
  export declare function addCollectibleCostume(player: EntityPlayer, collectibleType: CollectibleType): void;
3
10
  export declare function addTrinketCostume(player: EntityPlayer, trinketType: TrinketType): void;
4
11
  export declare function anyPlayerHasCollectible(collectibleType: CollectibleType): boolean;
@@ -150,6 +157,20 @@ export declare function getPlayersWithTrinket(...trinketTypes: TrinketType[]): E
150
157
  * Note that this will filter out non-real collectibles like Lilith's Incubus.
151
158
  */
152
159
  export declare function getTotalPlayerCollectibles(collectibleType: CollectibleType): int;
160
+ /**
161
+ * Helper function to check to see if a player has one or more collectibles.
162
+ *
163
+ * This function is variadic, meaning that you can supply as many collectible types as you want to
164
+ * check for. Returns true if the player has any of the supplied collectible types.
165
+ */
166
+ export declare function hasCollectible(player: EntityPlayer, ...collectibleTypes: CollectibleType[]): boolean;
167
+ /**
168
+ * Helper function to check to see if a player has one or more transformations.
169
+ *
170
+ * This function is variadic, meaning that you can supply as many transformations as you want to
171
+ * check for. Returns true if the player has any of the supplied transformations.
172
+ */
173
+ export declare function hasForm(player: EntityPlayer, ...playerForms: PlayerForm[]): boolean;
153
174
  /** After touching a white fire, a player will turn into The Lost until they clear a room. */
154
175
  export declare function hasLostCurse(player: EntityPlayer): boolean;
155
176
  /**
@@ -216,27 +237,6 @@ export declare function isTainted(player: EntityPlayer): boolean;
216
237
  /** Helper function for detecting when a player is Tainted Lazarus or Dead Tainted Lazarus. */
217
238
  export declare function isTaintedLazarus(player: EntityPlayer): boolean;
218
239
  export declare function isVanillaPlayer(player: EntityPlayer): boolean;
219
- /**
220
- * Helper function to add one or more collectibles to a player.
221
- *
222
- * This function is variadic, meaning that you can supply as many collectible types as you want to
223
- * add.
224
- */
225
- export declare function playerAddCollectible(player: EntityPlayer, ...collectibleTypes: CollectibleType[]): void;
226
- /**
227
- * Helper function to check to see if a player has one or more collectibles.
228
- *
229
- * This function is variadic, meaning that you can supply as many collectible types as you want to
230
- * check for. Returns true if the player has any of the supplied collectible types.
231
- */
232
- export declare function playerHasCollectible(player: EntityPlayer, ...collectibleTypes: CollectibleType[]): boolean;
233
- /**
234
- * Helper function to check to see if a player has one or more transformations.
235
- *
236
- * This function is variadic, meaning that you can supply as many transformations as you want to
237
- * check for. Returns true if the player has any of the supplied transformations.
238
- */
239
- export declare function playerHasForm(player: EntityPlayer, ...playerForms: PlayerForm[]): boolean;
240
240
  /**
241
241
  * Helper function to remove all of the active items from a player. This includes the Schoolbag item
242
242
  * and any pocket actives.
@@ -249,6 +249,13 @@ export declare function removeAllActiveItems(player: EntityPlayer): void;
249
249
  * they also have smelted. (In that case, both the held and the smelted trinket will be removed.)
250
250
  */
251
251
  export declare function removeAllPlayerTrinkets(player: EntityPlayer): void;
252
+ /**
253
+ * Helper function to remove one or more collectibles to a player.
254
+ *
255
+ * This function is variadic, meaning that you can supply as many collectible types as you want to
256
+ * remove.
257
+ */
258
+ export declare function removeCollectible(player: EntityPlayer, ...collectibleTypes: CollectibleType[]): void;
252
259
  /**
253
260
  * Helper function to remove a collectible costume from a player. Use this helper function to avoid
254
261
  * having to request the collectible from the item config.
@@ -1 +1 @@
1
- {"version":3,"file":"players.d.ts","sourceRoot":"","sources":["../../../src/functions/players.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAEV,eAAe,EACf,eAAe,EAEf,UAAU,EACV,UAAU,EACV,WAAW,EACZ,MAAM,8BAA8B,CAAC;AAiBtC,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,YAAY,EACpB,eAAe,EAAE,eAAe,GAC/B,IAAI,CAON;AAED,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,YAAY,EACpB,WAAW,EAAE,WAAW,GACvB,IAAI,CAON;AAED,wBAAgB,uBAAuB,CACrC,eAAe,EAAE,eAAe,GAC/B,OAAO,CAGT;AAED,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAGrE;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,GAAG,kBAAkB,EAAE,UAAU,EAAE,GAAG,OAAO,CAIxE;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CASjE;AAED;;;;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GAKG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAIlE;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,YAAY,EACpB,WAAW,EAAE,WAAW,GACvB,IAAI,CAON;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,YAAY,EACpB,eAAe,EAAE,eAAe,EAChC,UAAU,aAAqB,EAC/B,MAAM,CAAC,EAAE,GAAG,EACZ,WAAW,UAAQ,GAClB,IAAI,CA6DN;AAED;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,OAAO,EAChB,aAAa,UAAO,GACnB,IAAI,CAsBN;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,YAAY,EACpB,eAAe,EAAE,eAAe,GAC/B,IAAI,CAEN"}
1
+ {"version":3,"file":"players.d.ts","sourceRoot":"","sources":["../../../src/functions/players.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAEV,eAAe,EACf,eAAe,EAEf,UAAU,EACV,UAAU,EACV,WAAW,EACZ,MAAM,8BAA8B,CAAC;AAiBtC;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,YAAY,EACpB,GAAG,gBAAgB,EAAE,eAAe,EAAE,GACrC,IAAI,CAIN;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,YAAY,EACpB,eAAe,EAAE,eAAe,GAC/B,IAAI,CAON;AAED,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,YAAY,EACpB,WAAW,EAAE,WAAW,GACvB,IAAI,CAON;AAED,wBAAgB,uBAAuB,CACrC,eAAe,EAAE,eAAe,GAC/B,OAAO,CAGT;AAED,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAGrE;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,G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