@maka/maka-cli 5.1.16 → 5.1.18

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 (645) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/testCmd/_index.js +1 -1
  100. package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -1
  101. package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -1
  102. package/bundle/obf/src/commands/testCmd/test.command.js +1 -1
  103. package/bundle/obf/src/commands/undo.js +1 -1
  104. package/bundle/obf/src/commands/uninstall.js +1 -1
  105. package/bundle/obf/src/commands/version/_index.js +1 -1
  106. package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -1
  107. package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -1
  108. package/bundle/obf/src/commands/version/version.js +1 -1
  109. package/bundle/obf/src/error.js +1 -1
  110. package/bundle/obf/src/exec.js +1 -1
  111. package/bundle/obf/src/generator.js +1 -1
  112. package/bundle/obf/src/generators/_index.js +1 -1
  113. package/bundle/obf/src/generators/api.js +1 -1
  114. package/bundle/obf/src/generators/aws/_index.js +1 -1
  115. package/bundle/obf/src/generators/aws/aws.js +1 -1
  116. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  117. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  118. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  119. package/bundle/obf/src/generators/collection.js +1 -1
  120. package/bundle/obf/src/generators/component.js +1 -1
  121. package/bundle/obf/src/generators/config.js +1 -1
  122. package/bundle/obf/src/generators/dbc.js +1 -1
  123. package/bundle/obf/src/generators/dockerfile.js +1 -1
  124. package/bundle/obf/src/generators/hook.js +1 -1
  125. package/bundle/obf/src/generators/kits/_index.js +1 -1
  126. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  127. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  128. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  131. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  132. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  133. package/bundle/obf/src/generators/kits/kit.js +1 -1
  134. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  135. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  136. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  137. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  138. package/bundle/obf/src/generators/layout.js +1 -1
  139. package/bundle/obf/src/generators/maka.gen.js +1 -1
  140. package/bundle/obf/src/generators/methods.js +1 -1
  141. package/bundle/obf/src/generators/package.js +1 -1
  142. package/bundle/obf/src/generators/page.js +1 -1
  143. package/bundle/obf/src/generators/publish.js +1 -1
  144. package/bundle/obf/src/generators/route.js +1 -1
  145. package/bundle/obf/src/generators/service.js +1 -1
  146. package/bundle/obf/src/generators/services/_index.js +1 -1
  147. package/bundle/obf/src/generators/services/openssl.js +1 -1
  148. package/bundle/obf/src/generators/services/translation.js +1 -1
  149. package/bundle/obf/src/maka.js +1 -1
  150. package/bundle/obf/src/templates/react/test/test.js +1 -0
  151. package/bundle/obf/src/templates/react/test/test.js.jsx +38 -0
  152. package/bundle/obf/src/templates/react/test/test.js.ts +1 -0
  153. package/bundle/obf/src/templates/react/test/test.js.tsx +38 -0
  154. package/bundle/obf/src/templates/service/test/jest/jest.config.js +6 -0
  155. package/bundle/obf/src/templates/service/test/jest/jest.setup.js +7 -0
  156. package/bundle/obf/src/tool.js +1 -1
  157. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  158. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  159. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  161. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  162. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  163. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  164. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  165. package/bundle/obf/src/tools/https/https.class.js +1 -1
  166. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  167. package/bundle/obf/src/tools/log/log.class.js +1 -1
  168. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  169. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  170. package/bundle/obf/src/tools/options/options.class.js +1 -1
  171. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  172. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  173. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  174. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  175. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  176. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  177. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  178. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  179. package/package.json +1 -1
  180. package/test/integration/default.test.js +84 -0
  181. package/test/integration/fixtures/blaze/.maka/config.json +30 -0
  182. package/test/integration/fixtures/blaze/.tern-project +17 -0
  183. package/test/integration/fixtures/blaze/app/.meteor/.finished-upgraders +17 -0
  184. package/test/integration/fixtures/blaze/app/.meteor/.id +7 -0
  185. package/test/integration/fixtures/blaze/app/.meteor/packages +21 -0
  186. package/test/integration/fixtures/blaze/app/.meteor/platforms +2 -0
  187. package/test/integration/fixtures/blaze/app/.meteor/release +1 -0
  188. package/test/integration/fixtures/blaze/app/.meteor/versions +78 -0
  189. package/test/integration/fixtures/blaze/app/client/.gitkeep +1 -0
  190. package/test/integration/fixtures/blaze/app/client/body.html +2 -0
  191. package/test/integration/fixtures/blaze/app/client/head.html +8 -0
  192. package/test/integration/fixtures/blaze/app/client/main.js +1 -0
  193. package/test/integration/fixtures/blaze/app/imports/api/.gitkeep +1 -0
  194. package/test/integration/fixtures/blaze/app/imports/startup/client/index.js +3 -0
  195. package/test/integration/fixtures/blaze/app/imports/startup/client/routes.js +25 -0
  196. package/test/integration/fixtures/blaze/app/imports/startup/client/templates.js +15 -0
  197. package/test/integration/fixtures/blaze/app/imports/startup/lib/index.js +1 -0
  198. package/test/integration/fixtures/blaze/app/imports/startup/server/index.js +1 -0
  199. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  200. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.html +3 -0
  201. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.js +29 -0
  202. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.css +5 -0
  203. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.html +5 -0
  204. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.js +53 -0
  205. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.css +5 -0
  206. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.html +5 -0
  207. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.js +53 -0
  208. package/test/integration/fixtures/blaze/app/imports/ui/test-helpers.js +25 -0
  209. package/test/integration/fixtures/blaze/app/lib/.gitkeep +1 -0
  210. package/test/integration/fixtures/blaze/app/lib/main.js +1 -0
  211. package/test/integration/fixtures/blaze/app/packages/.gitkeep +1 -0
  212. package/test/integration/fixtures/blaze/app/private/.gitkeep +1 -0
  213. package/test/integration/fixtures/blaze/app/public/.gitkeep +1 -0
  214. package/test/integration/fixtures/blaze/app/public/favicon.ico +0 -0
  215. package/test/integration/fixtures/blaze/app/server/.gitkeep +1 -0
  216. package/test/integration/fixtures/blaze/app/server/main.js +1 -0
  217. package/test/integration/fixtures/blaze/bin/.gitkeep +1 -0
  218. package/test/integration/fixtures/blaze/build/.gitkeep +1 -0
  219. package/test/integration/fixtures/blaze/build/README +4 -0
  220. package/test/integration/fixtures/blaze/config/.gitkeep +1 -0
  221. package/test/integration/fixtures/blaze/config/development/env.sh +9 -0
  222. package/test/integration/fixtures/blaze/config/development/settings.json +6 -0
  223. package/test/integration/fixtures/blaze/config/production/env.sh +9 -0
  224. package/test/integration/fixtures/blaze/config/production/settings.json +6 -0
  225. package/test/integration/fixtures/blaze/config/staging/env.sh +9 -0
  226. package/test/integration/fixtures/blaze/config/staging/settings.json +6 -0
  227. package/test/integration/fixtures/react/.maka/config.json +30 -0
  228. package/test/integration/fixtures/react/.tern-project +17 -0
  229. package/test/integration/fixtures/react/app/.meteor/.finished-upgraders +17 -0
  230. package/test/integration/fixtures/react/app/.meteor/.id +7 -0
  231. package/test/integration/fixtures/react/app/.meteor/packages +21 -0
  232. package/test/integration/fixtures/react/app/.meteor/platforms +2 -0
  233. package/test/integration/fixtures/react/app/.meteor/release +1 -0
  234. package/test/integration/fixtures/react/app/.meteor/versions +78 -0
  235. package/test/integration/fixtures/react/app/client/.gitkeep +1 -0
  236. package/test/integration/fixtures/react/app/client/body.html +3 -0
  237. package/test/integration/fixtures/react/app/client/head.html +8 -0
  238. package/test/integration/fixtures/react/app/client/main.jsx +1 -0
  239. package/test/integration/fixtures/react/app/imports/api/.gitkeep +1 -0
  240. package/test/integration/fixtures/react/app/imports/startup/client/index.jsx +12 -0
  241. package/test/integration/fixtures/react/app/imports/startup/client/routes.jsx +24 -0
  242. package/test/integration/fixtures/react/app/imports/startup/client/templates.jsx +21 -0
  243. package/test/integration/fixtures/react/app/imports/startup/lib/index.jsx +1 -0
  244. package/test/integration/fixtures/react/app/imports/startup/server/index.jsx +1 -0
  245. package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  246. package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
  247. package/test/integration/fixtures/react/app/imports/ui/pages/home/home.css +5 -0
  248. package/test/integration/fixtures/react/app/imports/ui/pages/home/home.jsx +29 -0
  249. package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.css +5 -0
  250. package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.jsx +29 -0
  251. package/test/integration/fixtures/react/app/imports/ui/test-helpers.jsx +1 -0
  252. package/test/integration/fixtures/react/app/lib/.gitkeep +1 -0
  253. package/test/integration/fixtures/react/app/lib/main.jsx +1 -0
  254. package/test/integration/fixtures/react/app/packages/.gitkeep +1 -0
  255. package/test/integration/fixtures/react/app/private/.gitkeep +1 -0
  256. package/test/integration/fixtures/react/app/public/.gitkeep +1 -0
  257. package/test/integration/fixtures/react/app/public/favicon.ico +0 -0
  258. package/test/integration/fixtures/react/app/server/.gitkeep +1 -0
  259. package/test/integration/fixtures/react/app/server/main.jsx +1 -0
  260. package/test/integration/fixtures/react/bin/.gitkeep +1 -0
  261. package/test/integration/fixtures/react/build/.gitkeep +1 -0
  262. package/test/integration/fixtures/react/build/README +4 -0
  263. package/test/integration/fixtures/react/config/.gitkeep +1 -0
  264. package/test/integration/fixtures/react/config/development/env.sh +9 -0
  265. package/test/integration/fixtures/react/config/development/settings.json +6 -0
  266. package/test/integration/fixtures/react/config/production/env.sh +9 -0
  267. package/test/integration/fixtures/react/config/production/settings.json +6 -0
  268. package/test/integration/fixtures/react/config/staging/env.sh +9 -0
  269. package/test/integration/fixtures/react/config/staging/settings.json +6 -0
  270. package/test/integration/fixtures/react-apollo/.maka/config.json +30 -0
  271. package/test/integration/fixtures/react-apollo/.tern-project +17 -0
  272. package/test/integration/fixtures/react-apollo/app/.meteor/.finished-upgraders +17 -0
  273. package/test/integration/fixtures/react-apollo/app/.meteor/.id +7 -0
  274. package/test/integration/fixtures/react-apollo/app/.meteor/packages +21 -0
  275. package/test/integration/fixtures/react-apollo/app/.meteor/platforms +2 -0
  276. package/test/integration/fixtures/react-apollo/app/.meteor/release +1 -0
  277. package/test/integration/fixtures/react-apollo/app/.meteor/versions +78 -0
  278. package/test/integration/fixtures/react-apollo/app/client/.gitkeep +1 -0
  279. package/test/integration/fixtures/react-apollo/app/client/body.html +3 -0
  280. package/test/integration/fixtures/react-apollo/app/client/head.html +8 -0
  281. package/test/integration/fixtures/react-apollo/app/client/main.jsx +1 -0
  282. package/test/integration/fixtures/react-apollo/app/imports/api/.gitkeep +1 -0
  283. package/test/integration/fixtures/react-apollo/app/imports/startup/client/index.jsx +20 -0
  284. package/test/integration/fixtures/react-apollo/app/imports/startup/client/routes.jsx +24 -0
  285. package/test/integration/fixtures/react-apollo/app/imports/startup/client/templates.jsx +21 -0
  286. package/test/integration/fixtures/react-apollo/app/imports/startup/lib/index.jsx +1 -0
  287. package/test/integration/fixtures/react-apollo/app/imports/startup/server/index.jsx +25 -0
  288. package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  289. package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
  290. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.css +5 -0
  291. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.jsx +34 -0
  292. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.css +5 -0
  293. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.jsx +34 -0
  294. package/test/integration/fixtures/react-apollo/app/imports/ui/test-helpers.jsx +1 -0
  295. package/test/integration/fixtures/react-apollo/app/lib/.gitkeep +1 -0
  296. package/test/integration/fixtures/react-apollo/app/lib/main.jsx +1 -0
  297. package/test/integration/fixtures/react-apollo/app/packages/.gitkeep +1 -0
  298. package/test/integration/fixtures/react-apollo/app/private/.gitkeep +1 -0
  299. package/test/integration/fixtures/react-apollo/app/public/.gitkeep +1 -0
  300. package/test/integration/fixtures/react-apollo/app/public/favicon.ico +0 -0
  301. package/test/integration/fixtures/react-apollo/app/server/.gitkeep +1 -0
  302. package/test/integration/fixtures/react-apollo/app/server/main.jsx +1 -0
  303. package/test/integration/fixtures/react-apollo/bin/.gitkeep +1 -0
  304. package/test/integration/fixtures/react-apollo/build/.gitkeep +1 -0
  305. package/test/integration/fixtures/react-apollo/build/README +4 -0
  306. package/test/integration/fixtures/react-apollo/config/.gitkeep +1 -0
  307. package/test/integration/fixtures/react-apollo/config/development/env.sh +9 -0
  308. package/test/integration/fixtures/react-apollo/config/development/settings.json +6 -0
  309. package/test/integration/fixtures/react-apollo/config/production/env.sh +9 -0
  310. package/test/integration/fixtures/react-apollo/config/production/settings.json +6 -0
  311. package/test/integration/fixtures/react-apollo/config/staging/env.sh +9 -0
  312. package/test/integration/fixtures/react-apollo/config/staging/settings.json +6 -0
  313. package/test/integration/fixtures/react-apollo-ssr/.maka/config.json +30 -0
  314. package/test/integration/fixtures/react-apollo-ssr/.tern-project +17 -0
  315. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.finished-upgraders +17 -0
  316. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.id +7 -0
  317. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/packages +21 -0
  318. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/platforms +2 -0
  319. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/release +1 -0
  320. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/versions +78 -0
  321. package/test/integration/fixtures/react-apollo-ssr/app/client/.gitkeep +1 -0
  322. package/test/integration/fixtures/react-apollo-ssr/app/client/body.html +3 -0
  323. package/test/integration/fixtures/react-apollo-ssr/app/client/head.html +8 -0
  324. package/test/integration/fixtures/react-apollo-ssr/app/client/main.jsx +1 -0
  325. package/test/integration/fixtures/react-apollo-ssr/app/imports/api/.gitkeep +1 -0
  326. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/client/index.jsx +29 -0
  327. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/index.jsx +1 -0
  328. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/routes.jsx +21 -0
  329. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/templates.jsx +21 -0
  330. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/server/index.jsx +65 -0
  331. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
  332. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/home/home.jsx +33 -0
  333. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  334. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/test-helpers.jsx +1 -0
  335. package/test/integration/fixtures/react-apollo-ssr/app/lib/.gitkeep +1 -0
  336. package/test/integration/fixtures/react-apollo-ssr/app/lib/main.jsx +1 -0
  337. package/test/integration/fixtures/react-apollo-ssr/app/packages/.gitkeep +1 -0
  338. package/test/integration/fixtures/react-apollo-ssr/app/private/.gitkeep +1 -0
  339. package/test/integration/fixtures/react-apollo-ssr/app/public/.gitkeep +1 -0
  340. package/test/integration/fixtures/react-apollo-ssr/app/public/favicon.ico +0 -0
  341. package/test/integration/fixtures/react-apollo-ssr/app/server/.gitkeep +1 -0
  342. package/test/integration/fixtures/react-apollo-ssr/app/server/main.jsx +1 -0
  343. package/test/integration/fixtures/react-apollo-ssr/bin/.gitkeep +1 -0
  344. package/test/integration/fixtures/react-apollo-ssr/build/.gitkeep +1 -0
  345. package/test/integration/fixtures/react-apollo-ssr/build/README +4 -0
  346. package/test/integration/fixtures/react-apollo-ssr/config/.gitkeep +1 -0
  347. package/test/integration/fixtures/react-apollo-ssr/config/development/env.sh +9 -0
  348. package/test/integration/fixtures/react-apollo-ssr/config/development/settings.json +6 -0
  349. package/test/integration/fixtures/react-apollo-ssr/config/production/env.sh +9 -0
  350. package/test/integration/fixtures/react-apollo-ssr/config/production/settings.json +6 -0
  351. package/test/integration/fixtures/react-apollo-ssr/config/staging/env.sh +9 -0
  352. package/test/integration/fixtures/react-apollo-ssr/config/staging/settings.json +6 -0
  353. package/test/integration/fixtures/react-material/.maka/config.json +30 -0
  354. package/test/integration/fixtures/react-material/.tern-project +17 -0
  355. package/test/integration/fixtures/react-material/app/.meteor/.finished-upgraders +17 -0
  356. package/test/integration/fixtures/react-material/app/.meteor/.id +7 -0
  357. package/test/integration/fixtures/react-material/app/.meteor/packages +21 -0
  358. package/test/integration/fixtures/react-material/app/.meteor/platforms +2 -0
  359. package/test/integration/fixtures/react-material/app/.meteor/release +1 -0
  360. package/test/integration/fixtures/react-material/app/.meteor/versions +78 -0
  361. package/test/integration/fixtures/react-material/app/client/.gitkeep +1 -0
  362. package/test/integration/fixtures/react-material/app/client/body.html +3 -0
  363. package/test/integration/fixtures/react-material/app/client/head.html +8 -0
  364. package/test/integration/fixtures/react-material/app/client/main.jsx +1 -0
  365. package/test/integration/fixtures/react-material/app/imports/api/.gitkeep +1 -0
  366. package/test/integration/fixtures/react-material/app/imports/startup/client/index.jsx +19 -0
  367. package/test/integration/fixtures/react-material/app/imports/startup/client/routes.jsx +24 -0
  368. package/test/integration/fixtures/react-material/app/imports/startup/client/templates.jsx +21 -0
  369. package/test/integration/fixtures/react-material/app/imports/startup/lib/index.jsx +1 -0
  370. package/test/integration/fixtures/react-material/app/imports/startup/server/index.jsx +1 -0
  371. package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  372. package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
  373. package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.css +5 -0
  374. package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.jsx +29 -0
  375. package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.css +5 -0
  376. package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.jsx +29 -0
  377. package/test/integration/fixtures/react-material/app/imports/ui/test-helpers.jsx +1 -0
  378. package/test/integration/fixtures/react-material/app/lib/.gitkeep +1 -0
  379. package/test/integration/fixtures/react-material/app/lib/main.jsx +1 -0
  380. package/test/integration/fixtures/react-material/app/packages/.gitkeep +1 -0
  381. package/test/integration/fixtures/react-material/app/private/.gitkeep +1 -0
  382. package/test/integration/fixtures/react-material/app/public/.gitkeep +1 -0
  383. package/test/integration/fixtures/react-material/app/public/favicon.ico +0 -0
  384. package/test/integration/fixtures/react-material/app/server/.gitkeep +1 -0
  385. package/test/integration/fixtures/react-material/app/server/main.jsx +1 -0
  386. package/test/integration/fixtures/react-material/bin/.gitkeep +1 -0
  387. package/test/integration/fixtures/react-material/build/.gitkeep +1 -0
  388. package/test/integration/fixtures/react-material/build/README +4 -0
  389. package/test/integration/fixtures/react-material/config/.gitkeep +1 -0
  390. package/test/integration/fixtures/react-material/config/development/env.sh +9 -0
  391. package/test/integration/fixtures/react-material/config/development/settings.json +6 -0
  392. package/test/integration/fixtures/react-material/config/production/env.sh +9 -0
  393. package/test/integration/fixtures/react-material/config/production/settings.json +6 -0
  394. package/test/integration/fixtures/react-material/config/staging/env.sh +9 -0
  395. package/test/integration/fixtures/react-material/config/staging/settings.json +6 -0
  396. package/test/integration/fixtures/react-ssr/.maka/config.json +30 -0
  397. package/test/integration/fixtures/react-ssr/.tern-project +17 -0
  398. package/test/integration/fixtures/react-ssr/app/.meteor/.finished-upgraders +17 -0
  399. package/test/integration/fixtures/react-ssr/app/.meteor/.id +7 -0
  400. package/test/integration/fixtures/react-ssr/app/.meteor/packages +21 -0
  401. package/test/integration/fixtures/react-ssr/app/.meteor/platforms +2 -0
  402. package/test/integration/fixtures/react-ssr/app/.meteor/release +1 -0
  403. package/test/integration/fixtures/react-ssr/app/.meteor/versions +78 -0
  404. package/test/integration/fixtures/react-ssr/app/client/.gitkeep +1 -0
  405. package/test/integration/fixtures/react-ssr/app/client/body.html +3 -0
  406. package/test/integration/fixtures/react-ssr/app/client/head.html +8 -0
  407. package/test/integration/fixtures/react-ssr/app/client/main.jsx +1 -0
  408. package/test/integration/fixtures/react-ssr/app/imports/api/.gitkeep +1 -0
  409. package/test/integration/fixtures/react-ssr/app/imports/startup/client/index.jsx +21 -0
  410. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/index.jsx +1 -0
  411. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/routes.jsx +21 -0
  412. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/templates.jsx +21 -0
  413. package/test/integration/fixtures/react-ssr/app/imports/startup/server/index.jsx +36 -0
  414. package/test/integration/fixtures/react-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
  415. package/test/integration/fixtures/react-ssr/app/imports/ui/pages/home/home.jsx +28 -0
  416. package/test/integration/fixtures/react-ssr/app/imports/ui/pages/not-found/not-found.jsx +28 -0
  417. package/test/integration/fixtures/react-ssr/app/imports/ui/test-helpers.jsx +1 -0
  418. package/test/integration/fixtures/react-ssr/app/lib/.gitkeep +1 -0
  419. package/test/integration/fixtures/react-ssr/app/lib/main.jsx +1 -0
  420. package/test/integration/fixtures/react-ssr/app/packages/.gitkeep +1 -0
  421. package/test/integration/fixtures/react-ssr/app/private/.gitkeep +1 -0
  422. package/test/integration/fixtures/react-ssr/app/public/.gitkeep +1 -0
  423. package/test/integration/fixtures/react-ssr/app/public/favicon.ico +0 -0
  424. package/test/integration/fixtures/react-ssr/app/server/.gitkeep +1 -0
  425. package/test/integration/fixtures/react-ssr/app/server/main.jsx +1 -0
  426. package/test/integration/fixtures/react-ssr/bin/.gitkeep +1 -0
  427. package/test/integration/fixtures/react-ssr/build/.gitkeep +1 -0
  428. package/test/integration/fixtures/react-ssr/build/README +4 -0
  429. package/test/integration/fixtures/react-ssr/config/.gitkeep +1 -0
  430. package/test/integration/fixtures/react-ssr/config/development/env.sh +9 -0
  431. package/test/integration/fixtures/react-ssr/config/development/settings.json +6 -0
  432. package/test/integration/fixtures/react-ssr/config/production/env.sh +9 -0
  433. package/test/integration/fixtures/react-ssr/config/production/settings.json +6 -0
  434. package/test/integration/fixtures/react-ssr/config/staging/env.sh +9 -0
  435. package/test/integration/fixtures/react-ssr/config/staging/settings.json +6 -0
  436. package/test/integration/fixtures/reflux/.maka/config.json +30 -0
  437. package/test/integration/fixtures/reflux/.tern-project +17 -0
  438. package/test/integration/fixtures/reflux/app/.meteor/.finished-upgraders +17 -0
  439. package/test/integration/fixtures/reflux/app/.meteor/.id +7 -0
  440. package/test/integration/fixtures/reflux/app/.meteor/packages +21 -0
  441. package/test/integration/fixtures/reflux/app/.meteor/platforms +2 -0
  442. package/test/integration/fixtures/reflux/app/.meteor/release +1 -0
  443. package/test/integration/fixtures/reflux/app/.meteor/versions +78 -0
  444. package/test/integration/fixtures/reflux/app/client/.gitkeep +1 -0
  445. package/test/integration/fixtures/reflux/app/client/body.html +3 -0
  446. package/test/integration/fixtures/reflux/app/client/head.html +8 -0
  447. package/test/integration/fixtures/reflux/app/client/main.jsx +1 -0
  448. package/test/integration/fixtures/reflux/app/imports/api/.gitkeep +1 -0
  449. package/test/integration/fixtures/reflux/app/imports/startup/client/index.jsx +12 -0
  450. package/test/integration/fixtures/reflux/app/imports/startup/client/routes.jsx +24 -0
  451. package/test/integration/fixtures/reflux/app/imports/startup/client/templates.jsx +21 -0
  452. package/test/integration/fixtures/reflux/app/imports/startup/lib/index.jsx +1 -0
  453. package/test/integration/fixtures/reflux/app/imports/startup/server/index.jsx +1 -0
  454. package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  455. package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
  456. package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.css +5 -0
  457. package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.jsx +33 -0
  458. package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.css +5 -0
  459. package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  460. package/test/integration/fixtures/reflux/app/imports/ui/test-helpers.jsx +1 -0
  461. package/test/integration/fixtures/reflux/app/lib/.gitkeep +1 -0
  462. package/test/integration/fixtures/reflux/app/lib/main.jsx +1 -0
  463. package/test/integration/fixtures/reflux/app/packages/.gitkeep +1 -0
  464. package/test/integration/fixtures/reflux/app/private/.gitkeep +1 -0
  465. package/test/integration/fixtures/reflux/app/public/.gitkeep +1 -0
  466. package/test/integration/fixtures/reflux/app/public/favicon.ico +0 -0
  467. package/test/integration/fixtures/reflux/app/server/.gitkeep +1 -0
  468. package/test/integration/fixtures/reflux/app/server/main.jsx +1 -0
  469. package/test/integration/fixtures/reflux/bin/.gitkeep +1 -0
  470. package/test/integration/fixtures/reflux/build/.gitkeep +1 -0
  471. package/test/integration/fixtures/reflux/build/README +4 -0
  472. package/test/integration/fixtures/reflux/config/.gitkeep +1 -0
  473. package/test/integration/fixtures/reflux/config/development/env.sh +9 -0
  474. package/test/integration/fixtures/reflux/config/development/settings.json +6 -0
  475. package/test/integration/fixtures/reflux/config/production/env.sh +9 -0
  476. package/test/integration/fixtures/reflux/config/production/settings.json +6 -0
  477. package/test/integration/fixtures/reflux/config/staging/env.sh +9 -0
  478. package/test/integration/fixtures/reflux/config/staging/settings.json +6 -0
  479. package/test/integration/fixtures/reflux-apollo/.maka/config.json +30 -0
  480. package/test/integration/fixtures/reflux-apollo/.tern-project +17 -0
  481. package/test/integration/fixtures/reflux-apollo/app/.meteor/.finished-upgraders +17 -0
  482. package/test/integration/fixtures/reflux-apollo/app/.meteor/.id +7 -0
  483. package/test/integration/fixtures/reflux-apollo/app/.meteor/packages +21 -0
  484. package/test/integration/fixtures/reflux-apollo/app/.meteor/platforms +2 -0
  485. package/test/integration/fixtures/reflux-apollo/app/.meteor/release +1 -0
  486. package/test/integration/fixtures/reflux-apollo/app/.meteor/versions +78 -0
  487. package/test/integration/fixtures/reflux-apollo/app/client/.gitkeep +1 -0
  488. package/test/integration/fixtures/reflux-apollo/app/client/body.html +3 -0
  489. package/test/integration/fixtures/reflux-apollo/app/client/head.html +8 -0
  490. package/test/integration/fixtures/reflux-apollo/app/client/main.jsx +1 -0
  491. package/test/integration/fixtures/reflux-apollo/app/imports/api/.gitkeep +1 -0
  492. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/index.jsx +20 -0
  493. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/routes.jsx +24 -0
  494. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/templates.jsx +21 -0
  495. package/test/integration/fixtures/reflux-apollo/app/imports/startup/lib/index.jsx +1 -0
  496. package/test/integration/fixtures/reflux-apollo/app/imports/startup/server/index.jsx +25 -0
  497. package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  498. package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
  499. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.css +5 -0
  500. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.jsx +38 -0
  501. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.css +5 -0
  502. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.jsx +38 -0
  503. package/test/integration/fixtures/reflux-apollo/app/imports/ui/test-helpers.jsx +1 -0
  504. package/test/integration/fixtures/reflux-apollo/app/lib/.gitkeep +1 -0
  505. package/test/integration/fixtures/reflux-apollo/app/lib/main.jsx +1 -0
  506. package/test/integration/fixtures/reflux-apollo/app/packages/.gitkeep +1 -0
  507. package/test/integration/fixtures/reflux-apollo/app/private/.gitkeep +1 -0
  508. package/test/integration/fixtures/reflux-apollo/app/public/.gitkeep +1 -0
  509. package/test/integration/fixtures/reflux-apollo/app/public/favicon.ico +0 -0
  510. package/test/integration/fixtures/reflux-apollo/app/server/.gitkeep +1 -0
  511. package/test/integration/fixtures/reflux-apollo/app/server/main.jsx +1 -0
  512. package/test/integration/fixtures/reflux-apollo/bin/.gitkeep +1 -0
  513. package/test/integration/fixtures/reflux-apollo/build/.gitkeep +1 -0
  514. package/test/integration/fixtures/reflux-apollo/build/README +4 -0
  515. package/test/integration/fixtures/reflux-apollo/config/.gitkeep +1 -0
  516. package/test/integration/fixtures/reflux-apollo/config/development/env.sh +9 -0
  517. package/test/integration/fixtures/reflux-apollo/config/development/settings.json +6 -0
  518. package/test/integration/fixtures/reflux-apollo/config/production/env.sh +9 -0
  519. package/test/integration/fixtures/reflux-apollo/config/production/settings.json +6 -0
  520. package/test/integration/fixtures/reflux-apollo/config/staging/env.sh +9 -0
  521. package/test/integration/fixtures/reflux-apollo/config/staging/settings.json +6 -0
  522. package/test/integration/fixtures/reflux-apollo-ssr/.maka/config.json +30 -0
  523. package/test/integration/fixtures/reflux-apollo-ssr/.tern-project +17 -0
  524. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.finished-upgraders +17 -0
  525. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.id +7 -0
  526. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/packages +21 -0
  527. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/platforms +2 -0
  528. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/release +1 -0
  529. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/versions +78 -0
  530. package/test/integration/fixtures/reflux-apollo-ssr/app/client/.gitkeep +1 -0
  531. package/test/integration/fixtures/reflux-apollo-ssr/app/client/body.html +3 -0
  532. package/test/integration/fixtures/reflux-apollo-ssr/app/client/head.html +8 -0
  533. package/test/integration/fixtures/reflux-apollo-ssr/app/client/main.jsx +1 -0
  534. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/api/.gitkeep +1 -0
  535. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/client/index.jsx +29 -0
  536. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/index.jsx +1 -0
  537. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/routes.jsx +21 -0
  538. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/templates.jsx +21 -0
  539. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/server/index.jsx +65 -0
  540. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
  541. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/home/home.jsx +33 -0
  542. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  543. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/test-helpers.jsx +1 -0
  544. package/test/integration/fixtures/reflux-apollo-ssr/app/lib/.gitkeep +1 -0
  545. package/test/integration/fixtures/reflux-apollo-ssr/app/lib/main.jsx +1 -0
  546. package/test/integration/fixtures/reflux-apollo-ssr/app/packages/.gitkeep +1 -0
  547. package/test/integration/fixtures/reflux-apollo-ssr/app/private/.gitkeep +1 -0
  548. package/test/integration/fixtures/reflux-apollo-ssr/app/public/.gitkeep +1 -0
  549. package/test/integration/fixtures/reflux-apollo-ssr/app/public/favicon.ico +0 -0
  550. package/test/integration/fixtures/reflux-apollo-ssr/app/server/.gitkeep +1 -0
  551. package/test/integration/fixtures/reflux-apollo-ssr/app/server/main.jsx +1 -0
  552. package/test/integration/fixtures/reflux-apollo-ssr/bin/.gitkeep +1 -0
  553. package/test/integration/fixtures/reflux-apollo-ssr/build/.gitkeep +1 -0
  554. package/test/integration/fixtures/reflux-apollo-ssr/build/README +4 -0
  555. package/test/integration/fixtures/reflux-apollo-ssr/config/.gitkeep +1 -0
  556. package/test/integration/fixtures/reflux-apollo-ssr/config/development/env.sh +9 -0
  557. package/test/integration/fixtures/reflux-apollo-ssr/config/development/settings.json +6 -0
  558. package/test/integration/fixtures/reflux-apollo-ssr/config/production/env.sh +9 -0
  559. package/test/integration/fixtures/reflux-apollo-ssr/config/production/settings.json +6 -0
  560. package/test/integration/fixtures/reflux-apollo-ssr/config/staging/env.sh +9 -0
  561. package/test/integration/fixtures/reflux-apollo-ssr/config/staging/settings.json +6 -0
  562. package/test/integration/fixtures/reflux-material/.maka/config.json +30 -0
  563. package/test/integration/fixtures/reflux-material/.tern-project +17 -0
  564. package/test/integration/fixtures/reflux-material/app/.meteor/.finished-upgraders +17 -0
  565. package/test/integration/fixtures/reflux-material/app/.meteor/.id +7 -0
  566. package/test/integration/fixtures/reflux-material/app/.meteor/packages +21 -0
  567. package/test/integration/fixtures/reflux-material/app/.meteor/platforms +2 -0
  568. package/test/integration/fixtures/reflux-material/app/.meteor/release +1 -0
  569. package/test/integration/fixtures/reflux-material/app/.meteor/versions +78 -0
  570. package/test/integration/fixtures/reflux-material/app/client/.gitkeep +1 -0
  571. package/test/integration/fixtures/reflux-material/app/client/body.html +3 -0
  572. package/test/integration/fixtures/reflux-material/app/client/head.html +8 -0
  573. package/test/integration/fixtures/reflux-material/app/client/main.jsx +1 -0
  574. package/test/integration/fixtures/reflux-material/app/imports/api/.gitkeep +1 -0
  575. package/test/integration/fixtures/reflux-material/app/imports/startup/client/index.jsx +19 -0
  576. package/test/integration/fixtures/reflux-material/app/imports/startup/client/routes.jsx +24 -0
  577. package/test/integration/fixtures/reflux-material/app/imports/startup/client/templates.jsx +21 -0
  578. package/test/integration/fixtures/reflux-material/app/imports/startup/lib/index.jsx +1 -0
  579. package/test/integration/fixtures/reflux-material/app/imports/startup/server/index.jsx +1 -0
  580. package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  581. package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
  582. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.css +5 -0
  583. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.jsx +33 -0
  584. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.css +5 -0
  585. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  586. package/test/integration/fixtures/reflux-material/app/imports/ui/test-helpers.jsx +1 -0
  587. package/test/integration/fixtures/reflux-material/app/lib/.gitkeep +1 -0
  588. package/test/integration/fixtures/reflux-material/app/lib/main.jsx +1 -0
  589. package/test/integration/fixtures/reflux-material/app/packages/.gitkeep +1 -0
  590. package/test/integration/fixtures/reflux-material/app/private/.gitkeep +1 -0
  591. package/test/integration/fixtures/reflux-material/app/public/.gitkeep +1 -0
  592. package/test/integration/fixtures/reflux-material/app/public/favicon.ico +0 -0
  593. package/test/integration/fixtures/reflux-material/app/server/.gitkeep +1 -0
  594. package/test/integration/fixtures/reflux-material/app/server/main.jsx +1 -0
  595. package/test/integration/fixtures/reflux-material/bin/.gitkeep +1 -0
  596. package/test/integration/fixtures/reflux-material/build/.gitkeep +1 -0
  597. package/test/integration/fixtures/reflux-material/build/README +4 -0
  598. package/test/integration/fixtures/reflux-material/config/.gitkeep +1 -0
  599. package/test/integration/fixtures/reflux-material/config/development/env.sh +9 -0
  600. package/test/integration/fixtures/reflux-material/config/development/settings.json +6 -0
  601. package/test/integration/fixtures/reflux-material/config/production/env.sh +9 -0
  602. package/test/integration/fixtures/reflux-material/config/production/settings.json +6 -0
  603. package/test/integration/fixtures/reflux-material/config/staging/env.sh +9 -0
  604. package/test/integration/fixtures/reflux-material/config/staging/settings.json +6 -0
  605. package/test/integration/fixtures/reflux-ssr/.maka/config.json +30 -0
  606. package/test/integration/fixtures/reflux-ssr/.tern-project +17 -0
  607. package/test/integration/fixtures/reflux-ssr/app/.meteor/.finished-upgraders +17 -0
  608. package/test/integration/fixtures/reflux-ssr/app/.meteor/.id +7 -0
  609. package/test/integration/fixtures/reflux-ssr/app/.meteor/packages +21 -0
  610. package/test/integration/fixtures/reflux-ssr/app/.meteor/platforms +2 -0
  611. package/test/integration/fixtures/reflux-ssr/app/.meteor/release +1 -0
  612. package/test/integration/fixtures/reflux-ssr/app/.meteor/versions +78 -0
  613. package/test/integration/fixtures/reflux-ssr/app/client/.gitkeep +1 -0
  614. package/test/integration/fixtures/reflux-ssr/app/client/body.html +3 -0
  615. package/test/integration/fixtures/reflux-ssr/app/client/head.html +8 -0
  616. package/test/integration/fixtures/reflux-ssr/app/client/main.jsx +1 -0
  617. package/test/integration/fixtures/reflux-ssr/app/imports/api/.gitkeep +1 -0
  618. package/test/integration/fixtures/reflux-ssr/app/imports/startup/client/index.jsx +21 -0
  619. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/index.jsx +1 -0
  620. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/routes.jsx +21 -0
  621. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/templates.jsx +21 -0
  622. package/test/integration/fixtures/reflux-ssr/app/imports/startup/server/index.jsx +36 -0
  623. package/test/integration/fixtures/reflux-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +30 -0
  624. package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/home/home.jsx +32 -0
  625. package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/not-found/not-found.jsx +32 -0
  626. package/test/integration/fixtures/reflux-ssr/app/imports/ui/test-helpers.jsx +1 -0
  627. package/test/integration/fixtures/reflux-ssr/app/lib/.gitkeep +1 -0
  628. package/test/integration/fixtures/reflux-ssr/app/lib/main.jsx +1 -0
  629. package/test/integration/fixtures/reflux-ssr/app/packages/.gitkeep +1 -0
  630. package/test/integration/fixtures/reflux-ssr/app/private/.gitkeep +1 -0
  631. package/test/integration/fixtures/reflux-ssr/app/public/.gitkeep +1 -0
  632. package/test/integration/fixtures/reflux-ssr/app/public/favicon.ico +0 -0
  633. package/test/integration/fixtures/reflux-ssr/app/server/.gitkeep +1 -0
  634. package/test/integration/fixtures/reflux-ssr/app/server/main.jsx +1 -0
  635. package/test/integration/fixtures/reflux-ssr/bin/.gitkeep +1 -0
  636. package/test/integration/fixtures/reflux-ssr/build/.gitkeep +1 -0
  637. package/test/integration/fixtures/reflux-ssr/build/README +4 -0
  638. package/test/integration/fixtures/reflux-ssr/config/.gitkeep +1 -0
  639. package/test/integration/fixtures/reflux-ssr/config/development/env.sh +9 -0
  640. package/test/integration/fixtures/reflux-ssr/config/development/settings.json +6 -0
  641. package/test/integration/fixtures/reflux-ssr/config/production/env.sh +9 -0
  642. package/test/integration/fixtures/reflux-ssr/config/production/settings.json +6 -0
  643. package/test/integration/fixtures/reflux-ssr/config/staging/env.sh +9 -0
  644. package/test/integration/fixtures/reflux-ssr/config/staging/settings.json +6 -0
  645. package/test/integration/integration_helpers.js +60 -0
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x1b1))/0x1*(parseInt(f(0x1c1))/0x2)+-parseInt(f(0x1c4))/0x3*(parseInt(f(0x1c5))/0x4)+parseInt(f(0x1b9))/0x5*(-parseInt(f(0x1c6))/0x6)+-parseInt(f(0x1bf))/0x7*(parseInt(f(0x1be))/0x8)+parseInt(f(0x1ca))/0x9*(-parseInt(f(0x1a3))/0xa)+parseInt(f(0x1bd))/0xb+parseInt(f(0x1b8))/0xc*(parseInt(f(0x1b3))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xea49b));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()['search'](h(0x1cd))[h(0x1cf)]()[h(0x1cc)](a37a)[h(0x1af)]('(((.+)+)+)+$');});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a37d(a,b);}function a37c(){const l=['constructor','(((.+)+)+)+$','\x20Locked\x20the\x20','toString','error','write','2500wWWGVj','LockCommand:\x20','name','apply','LockCommand:\x20No\x20target\x20specified.','lock','has','verb','Lock\x20a\x20door.','hasItem','toLowerCase','actor','search','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','26LdgFQx','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','156lrUVTw','There\x27s\x20no\x20door\x20named\x20\x22','\x20door.','execute','logger','4351368hsyTPj','1515ZItIKZ','unlockItemOrSolution','length','description','10516484wvtqRn','5608BMUmnJ','16968JsLAQn','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','61226XfgBVE','get','You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.','6TtdwYD','1044668EAiDTS','21498ojIbyw','isValidDirection','The\x20door\x20named\x20\x22','isLocked','66114pDKSut','currentLocation'];a37c=function(){return l;};return a37c();}a37a();import{Command}from'./command.js';export class LockCommand extends Command{static [a37i(0x1aa)]=a37i(0x1a8);static [a37i(0x1bc)]=a37i(0x1ab);[a37i(0x1b6)](a){const j=a37i;return this[j(0x1a8)](a);}[a37i(0x1a8)](a){const k=a37i;if(a[k(0x1bb)]===0x0)return this[k(0x1b7)][k(0x1d0)](k(0x1a7)),k(0x1b0);const b=a[0x0][k(0x1ad)](),c=this[k(0x1ae)][k(0x1cb)];if(this[k(0x1c7)](b)&&c['exits'][k(0x1a9)](b)){const d=c['exits'][k(0x1c2)](b);if(d[k(0x1c9)])return k(0x1c8)+b+'\x22\x20is\x20already\x20locked.';const e=d[k(0x1ba)]?.['toLowerCase']();return e&&this[k(0x1ae)]['inventory'][k(0x1ac)](e)?(d[k(0x1c9)]=!![],this[k(0x1b7)][k(0x1d1)](k(0x1a4)+this[k(0x1ae)][k(0x1a5)]+k(0x1ce)+b+k(0x1b5)),'You\x20locked\x20the\x20door\x20named\x20\x22'+b+'\x22.'):(this[k(0x1b7)]['write'](k(0x1a4)+this[k(0x1ae)][k(0x1a5)]+k(0x1c0)+b+'.'),k(0x1c3));}else return this[k(0x1b7)]['write']('LockCommand:\x20'+b+k(0x1b2)),k(0x1b4)+b+'\x22\x20here.';}}
1
+ const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x117))/0x1*(parseInt(f(0xf6))/0x2)+parseInt(f(0x10e))/0x3*(parseInt(f(0xfe))/0x4)+-parseInt(f(0xfb))/0x5*(-parseInt(f(0x115))/0x6)+parseInt(f(0x102))/0x7*(parseInt(f(0x103))/0x8)+-parseInt(f(0xfc))/0x9+-parseInt(f(0xf0))/0xa*(-parseInt(f(0x10f))/0xb)+parseInt(f(0xfd))/0xc*(-parseInt(f(0x110))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x20e0d));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xed;let f=c[d];return f;},a37d(a,b);}function a37c(){const k=['LockCommand:\x20','search','1320vAGWHM','description','exits','toString','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','21094dIAuxi','get','\x22\x20here.','length','name','48745JBzrEV','52803uEoZKI','2256264ExtQbR','960084HifgsW','currentLocation','\x20Locked\x20the\x20','verb','7capLGy','1895240QYGPve','error','actor','logger','execute','LockCommand:\x20No\x20target\x20specified.','toLowerCase','unlockItemOrSolution','isLocked','write','Lock\x20a\x20door.','3IdIJCQ','14564LJMEkn','39PhzNhQ','lock','There\x27s\x20no\x20door\x20named\x20\x22','constructor','(((.+)+)+)+$','78dfAFts','You\x20locked\x20the\x20door\x20named\x20\x22','7qMZSQL','You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.','has','The\x20door\x20named\x20\x22','\x22\x20is\x20already\x20locked.'];a37c=function(){return k;};return a37c();}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const g=a37d;return a37a[g(0xf3)]()[g(0xef)](g(0x114))['toString']()[g(0x113)](a37a)[g(0xef)](g(0x114));});a37a();import{Command}from'./command.js';export class LockCommand extends Command{static [a37h(0x101)]=a37h(0x111);static [a37h(0xf1)]=a37h(0x10d);[a37h(0x107)](a){const i=a37h;return this[i(0x111)](a);}[a37h(0x111)](a){const j=a37h;if(a[j(0xf9)]===0x0)return this[j(0x106)][j(0x104)](j(0x108)),j(0xf5);const b=a[0x0]['toLowerCase'](),c=this[j(0x105)][j(0xff)];if(this['isValidDirection'](b)&&c[j(0xf2)][j(0x119)](b)){const d=c[j(0xf2)][j(0xf7)](b);if(d[j(0x10b)])return j(0x11a)+b+j(0xed);const e=d[j(0x10a)]?.[j(0x109)]();return e&&this[j(0x105)]['inventory']['hasItem'](e)?(d['isLocked']=!![],this[j(0x106)]['write'](j(0xee)+this[j(0x105)][j(0xfa)]+j(0x100)+b+'\x20door.'),j(0x116)+b+'\x22.'):(this['logger'][j(0x10c)]('LockCommand:\x20'+this[j(0x105)]['name']+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),j(0x118));}else return this[j(0x106)]['write'](j(0xee)+b+j(0xf4)),j(0x112)+b+j(0xf8);}}
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x1b0))/0x1+parseInt(f(0x1c6))/0x2+parseInt(f(0x1aa))/0x3+parseInt(f(0x1be))/0x4+-parseInt(f(0x1bd))/0x5+parseInt(f(0x1a5))/0x6*(parseInt(f(0x1bb))/0x7)+parseInt(f(0x1c5))/0x8*(-parseInt(f(0x1ae))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x7b394));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x19d)]()[h(0x1a2)](h(0x1ad))[h(0x19d)]()[h(0x1bf)](a38a)[h(0x1a2)](h(0x1ad));});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x194;let f=c[d];return f;},a38d(a,b);}export class LookCommand extends Command{static [a38i(0x194)]='look';static [a38i(0x1c1)]=a38i(0x196);['execute'](a=[]){const j=a38i;this[j(0x1b6)][j(0x197)]('Executing\x20\x27Look\x27\x20command.');const b=a[j(0x1a0)]('\x20');if(b){if(this[j(0x1ca)][j(0x1b2)][j(0x19b)](b))return this[j(0x1b6)][j(0x197)](j(0x19a)+b+'\x27\x20in\x20'+this[j(0x1ca)][j(0x1a4)]+j(0x19c)),this['inspectItem'](b,this[j(0x1ca)][j(0x1b2)]);else{if(this[j(0x1ca)][j(0x1b7)]['inventory'][j(0x19b)](b))return this[j(0x1b6)]['write'](j(0x19a)+b+j(0x198)),this[j(0x1a3)](b,this[j(0x1ca)][j(0x1b7)][j(0x1b2)]);else return this['isValidDirection'](b)?(this['logger'][j(0x197)](j(0x1c2)+b+'\x27.'),this[j(0x1c7)](b)):j(0x19e)+b;}}else return this['logger'][j(0x197)](this['actor']['name']+j(0x1ab)),this[j(0x1bc)]();}[a38i(0x1bc)](){const k=a38i,a=this[k(0x1ca)][k(0x1b7)];if(!a)return this[k(0x1b6)][k(0x1b3)](this['actor'][k(0x1a4)]+k(0x1a9)),k(0x1b1);let b=a['description'];return a[k(0x1a1)]&&(b+='\x0a'+a[k(0x1a1)][k(0x1c0)]),b;}[a38i(0x1c7)](a){const l=a38i,b=this[l(0x1ca)][l(0x1b7)];if(!b)return this[l(0x1b6)]['error'](this['actor'][l(0x1a4)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),l(0x1b1);const c=b['exits']['get'](a);if(!c)return l(0x1b4)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x1b8)](b);else{if(typeof c===l(0x1a7)){d=this['rooms']&&this['rooms'][c];if(!d)return l(0x1c3)+a+'\x22.';}else return'Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}if(d[l(0x19f)]===RoomType[l(0x195)]){if(a==='up')return l(0x1ac)+d[l(0x1c1)];else return a===l(0x1c8)?l(0x1b5)+d[l(0x1c1)]:l(0x1c4)+a+l(0x1c9)+d[l(0x1c1)];}else return l(0x1a6);}[a38i(0x1a3)](a,b){const m=a38i,c=b[m(0x199)](a);if(!c)return m(0x1b9)+a+m(0x1ba);return c[m(0x1c1)]||m(0x1af)+a+'.';}}function a38c(){const n=['lookOutside','down',',\x20you\x20see\x20','actor','verb','OUTSIDE','Examine\x20your\x20surroundings','write','\x27\x20in\x20current\x20room\x20inventory.','getItem','Looking\x20at\x20item\x20\x27','hasItem','\x20inventory.','toString','You\x20cannot\x20see\x20','roomType','join','puzzle','search','inspectItem','name','6ctDvsT','You\x20cannot\x20see\x20through','string','apply','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','1911111SQVPCh','\x20is\x20looking\x20around\x20the\x20current\x20room.','Above\x20you,\x20','(((.+)+)+)+$','823293MKZnIO','It\x27s\x20just\x20a\x20regular\x20','766626ZQYbNX','You\x27re\x20not\x20in\x20a\x20valid\x20room.','inventory','error','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','Below\x20you,\x20','logger','currentLocation','getOtherSide','You\x20don\x27t\x20see\x20any\x20','\x20here.','1365028ffRsfI','look','3072650WpUHVG','701532WAHfWo','constructor','riddle','description','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','To\x20the\x20','120TrXGno','1434718UAvrXs'];a38c=function(){return n;};return a38c();}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x175))/0x1*(parseInt(f(0x197))/0x2)+parseInt(f(0x17b))/0x3+-parseInt(f(0x172))/0x4*(parseInt(f(0x174))/0x5)+-parseInt(f(0x199))/0x6+-parseInt(f(0x176))/0x7+parseInt(f(0x198))/0x8+parseInt(f(0x19f))/0x9*(parseInt(f(0x194))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xd7c10));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x179)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x191)]()[h(0x177)](h(0x171))[h(0x191)]()[h(0x19a)](a38a)['search'](h(0x171));});a38a();import{Door}from'../models/door.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x16c;let f=c[d];return f;},a38d(a,b);}import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0x18f)]=a38i(0x186);static [a38i(0x19c)]=a38i(0x1a0);[a38i(0x16d)](a=[]){const j=a38i;this[j(0x16c)][j(0x17c)]('Executing\x20\x27Look\x27\x20command.');const b=a['join']('\x20');if(b){if(this[j(0x19e)]['inventory'][j(0x17d)](b))return this[j(0x16c)]['write'](j(0x19d)+b+j(0x18b)+this['actor']['name']+j(0x16e)),this['inspectItem'](b,this[j(0x19e)]['inventory']);else{if(this[j(0x19e)][j(0x170)][j(0x183)][j(0x17d)](b))return this[j(0x16c)][j(0x17c)](j(0x19d)+b+j(0x193)),this[j(0x18c)](b,this[j(0x19e)][j(0x170)][j(0x183)]);else return this[j(0x181)](b)?(this[j(0x16c)][j(0x17c)](j(0x17e)+b+'\x27.'),this['lookOutside'](b)):j(0x1a1)+b;}}else return this[j(0x16c)]['write'](this['actor'][j(0x1a3)]+j(0x184)),this[j(0x186)]();}[a38i(0x186)](){const k=a38i,a=this[k(0x19e)][k(0x170)];if(!a)return this[k(0x16c)][k(0x1a4)](this[k(0x19e)]['name']+k(0x187)),k(0x19b);let b=a['description'];return a[k(0x182)]&&(b+='\x0a'+a[k(0x182)]['riddle']),b;}[a38i(0x17a)](a){const l=a38i,b=this['actor']['currentLocation'];if(!b)return this[l(0x16c)][l(0x1a4)](this[l(0x19e)][l(0x1a3)]+l(0x187)),l(0x19b);const c=b['exits'][l(0x189)](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x18d)](b);else{if(typeof c===l(0x178)){d=this[l(0x180)]&&this[l(0x180)][c];if(!d)return l(0x17f)+a+'\x22.';}else return'Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}if(d[l(0x190)]===RoomType[l(0x192)]){if(a==='up')return l(0x18e)+d['description'];else return a===l(0x185)?l(0x173)+d[l(0x19c)]:'To\x20the\x20'+a+l(0x18a)+d[l(0x19c)];}else return l(0x188);}[a38i(0x18c)](a,b){const m=a38i,c=b[m(0x195)](a);if(!c)return m(0x1a2)+a+m(0x196);return c[m(0x19c)]||m(0x16f)+a+'.';}}function a38c(){const n=['Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','rooms','isValidDirection','puzzle','inventory','\x20is\x20looking\x20around\x20the\x20current\x20room.','down','look','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','You\x20cannot\x20see\x20through','get',',\x20you\x20see\x20','\x27\x20in\x20','inspectItem','getOtherSide','Above\x20you,\x20','verb','roomType','toString','OUTSIDE','\x27\x20in\x20current\x20room\x20inventory.','40870UGGlSG','getItem','\x20here.','423312DXmLub','10724976MbKLqX','5853894PKiyFN','constructor','You\x27re\x20not\x20in\x20a\x20valid\x20room.','description','Looking\x20at\x20item\x20\x27','actor','7632mkVLsb','Examine\x20your\x20surroundings','You\x20cannot\x20see\x20','You\x20don\x27t\x20see\x20any\x20','name','error','logger','execute','\x20inventory.','It\x27s\x20just\x20a\x20regular\x20','currentLocation','(((.+)+)+)+$','16rMdoTp','Below\x20you,\x20','381085ywAAIl','6vdGLKV','11250799XfyWko','search','string','apply','lookOutside','705120mNnxRm','write','hasItem'];a38c=function(){return n;};return a38c();}
@@ -1 +1 @@
1
- const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x1c7))/0x1+parseInt(g(0x1d8))/0x2*(parseInt(g(0x1e1))/0x3)+parseInt(g(0x1cf))/0x4*(parseInt(g(0x1ca))/0x5)+-parseInt(g(0x1e3))/0x6*(-parseInt(g(0x1e6))/0x7)+parseInt(g(0x1e2))/0x8+parseInt(g(0x1e5))/0x9*(-parseInt(g(0x1e0))/0xa)+-parseInt(g(0x1d0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x91c5f));function a39c(){const m=['currentLocation','name','search','context','scene','You\x20say:\x20\x22','execute','830jSaGCz','3NtCLLz','1565656NglpWy','186HIplcq','\x20says\x20to\x20','14409fUjoEm','180523WkYcsg',':\x20\x22','477428IsPaZP','An\x20error\x20occurred.','What\x20do\x20you\x20want\x20to\x20say?','1240tvTRLh','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','actor','Scene\x20is\x20missing\x20from\x20context.','description','16156pwGhtI','28463138TkVSyi','apply','logger','join','allActors','(((.+)+)+)+$','log','toString','1686524HYiyMv'];a39c=function(){return m;};return a39c();}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x1d7)]()[i(0x1db)](i(0x1d5))[i(0x1d7)]()['constructor'](a39a)[i(0x1db)](i(0x1d5));});a39a();import{Command}from'./command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1c7;let f=c[d];return f;},a39d(a,b);}export class SayCommand extends Command{static ['verb']='say';static [a39j(0x1ce)]=a39j(0x1cb);[a39j(0x1dc)];constructor(a){const k=a39j;super(a),this[k(0x1dc)]=a;}[a39j(0x1df)](a){const l=a39j;if(a['length']===0x0)return l(0x1c9);const b=a[l(0x1d3)]('\x20'),c=this[l(0x1cc)],d=this[l(0x1dc)][l(0x1dd)];if(!d)return this['logger'][l(0x1d6)](l(0x1cd)),l(0x1c8);const e=d[l(0x1d4)]['filter'](f=>f[l(0x1d9)]===c['currentLocation']);for(const f of e){this[l(0x1d2)][l(0x1d6)](c[l(0x1da)]+l(0x1e4)+f[l(0x1da)]+l(0x1e7)+b+'\x22'),this['actor'][l(0x1d9)]['say'](f,b);}return l(0x1de)+b+'\x22';}}
1
+ const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0xaa))/0x1+-parseInt(g(0xae))/0x2*(parseInt(g(0xbd))/0x3)+parseInt(g(0xa7))/0x4+parseInt(g(0xb2))/0x5*(parseInt(g(0xb4))/0x6)+parseInt(g(0xa9))/0x7+parseInt(g(0xad))/0x8*(-parseInt(g(0xab))/0x9)+parseInt(g(0xbb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x1b226));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0xbc)]()[i(0xb0)]('(((.+)+)+)+$')[i(0xbc)]()['constructor'](a39a)['search'](i(0xa4));});a39a();import{Command}from'./command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xa3;let f=c[d];return f;},a39d(a,b);}export class SayCommand extends Command{static [a39j(0xa6)]='say';static ['description']=a39j(0xc0);[a39j(0xb1)];constructor(a){const k=a39j;super(a),this[k(0xb1)]=a;}[a39j(0xb7)](a){const l=a39j;if(a['length']===0x0)return l(0xb8);const b=a[l(0xaf)]('\x20'),c=this['actor'],d=this[l(0xb1)][l(0xb3)];if(!d)return this[l(0xc1)][l(0xa8)]('Scene\x20is\x20missing\x20from\x20context.'),l(0xbe);const e=d[l(0xb5)][l(0xc2)](f=>f[l(0xbf)]===c[l(0xbf)]);for(const f of e){this['logger'][l(0xa8)](c['name']+l(0xb6)+f[l(0xb9)]+l(0xa5)+b+'\x22'),this[l(0xac)][l(0xbf)][l(0xa3)](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}function a39c(){const m=['27822yMHNLa','join','search','context','5qqBqEC','scene','839478OXGckg','allActors','\x20says\x20to\x20','execute','What\x20do\x20you\x20want\x20to\x20say?','name','apply','793860ToolTT','toString','33yQtaTz','An\x20error\x20occurred.','currentLocation','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','logger','filter','say','(((.+)+)+)+$',':\x20\x22','verb','542252owPViT','log','92890dyckHH','84981djopRv','450SpvjeB','actor','30232WYjgJx'];a39c=function(){return m;};return a39c();}
@@ -1 +1 @@
1
- function a40c(){const k=['name','actor','You\x20search\x20the\x20area\x20and\x20find:\x20','16YdMOPd','\x20found\x20the\x20following\x20items:\x20','186eyFOjD','description','search','apply','6RnJFvm','(((.+)+)+)+$','18NfIAFo','currentLocation','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','inventory','289360xBxuEy','logger','Search\x20for\x20items\x20in\x20your\x20area','toString','8565cqWLMP','3142260QPyCeF','36379swgMLc','961460DdyMWF','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','write','324516AIIaom','length','986820LBVjgx','SearchCommand:\x20','verb','listItems','execute'];a40c=function(){return k;};return a40c();}function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x65;let f=c[d];return f;},a40d(a,b);}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x65))/0x1*(parseInt(f(0x75))/0x2)+parseInt(f(0x7b))/0x3*(-parseInt(f(0x6b))/0x4)+parseInt(f(0x68))/0x5+-parseInt(f(0x77))/0x6*(parseInt(f(0x67))/0x7)+parseInt(f(0x81))/0x8*(-parseInt(f(0x7d))/0x9)+parseInt(f(0x6d))/0xa+parseInt(f(0x66))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x1b719));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x7a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x84)]()['search'](h(0x7c))[h(0x84)]()['constructor'](a40a)[h(0x79)](h(0x7c));});a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a40i(0x6f)]=a40i(0x79);static [a40i(0x78)]=a40i(0x83);[a40i(0x71)](){const j=a40i,a=this[j(0x73)][j(0x7e)][j(0x80)][j(0x70)]();if(a[j(0x6c)]===0x0)return this[j(0x82)][j(0x6a)](j(0x6e)+this['actor'][j(0x72)]+j(0x69)),j(0x7f);const b=a['join'](',\x20');return this[j(0x82)][j(0x6a)](j(0x6e)+this[j(0x73)][j(0x72)]+j(0x76)+b),j(0x74)+b;}}
1
+ const a40i=a40d;function a40c(){const k=['length','listItems','description','SearchCommand:\x20','474480DBGJAp','execute','search','72xzBkGD','name','(((.+)+)+)+$','toString','794707OUoLWJ','9763314RRVXgw','4468zgqLQg','7etOIno','You\x20search\x20the\x20area\x20and\x20find:\x20','84355bJMzKw','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','actor','constructor','\x20found\x20the\x20following\x20items:\x20','apply','write','401624TaPeiE','logger','540ibPgCk','26300mCAIlJ','currentLocation','291GWfXmS'];a40c=function(){return k;};return a40c();}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x185))/0x1+parseInt(f(0x17e))/0x2+-parseInt(f(0x179))/0x3*(-parseInt(f(0x187))/0x4)+-parseInt(f(0x18a))/0x5*(parseInt(f(0x181))/0x6)+-parseInt(f(0x188))/0x7*(-parseInt(f(0x191))/0x8)+parseInt(f(0x193))/0x9*(parseInt(f(0x194))/0xa)+parseInt(f(0x186))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x6c667));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x184)]()['search']('(((.+)+)+)+$')[h(0x184)]()[h(0x18d)](a40a)[h(0x180)](h(0x183));});a40a();import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x178;let f=c[d];return f;},a40d(a,b);}export class SearchCommand extends Command{static ['verb']=a40i(0x180);static [a40i(0x17c)]='Search\x20for\x20items\x20in\x20your\x20area';[a40i(0x17f)](){const j=a40i,a=this[j(0x18c)][j(0x178)]['inventory'][j(0x17b)]();if(a[j(0x17a)]===0x0)return this[j(0x192)][j(0x190)](j(0x17d)+this['actor'][j(0x182)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0x18b);const b=a['join'](',\x20');return this[j(0x192)][j(0x190)](j(0x17d)+this[j(0x18c)][j(0x182)]+j(0x18e)+b),j(0x189)+b;}}
@@ -1 +1 @@
1
- function a41c(){const j=['601086mVVRpi','(((.+)+)+)+$','constructor','puzzle','1359190rAiAJD','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','SolveCommand:\x20','search','Attempt\x20to\x20solve\x20a\x20puzzle.','inventory','message','9134699aHgmeF','execute','400RKXySZ','logger','191240FHILOC','4031836kDWjsQ','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','write','solve','verb','toString','154482MpiuDW','8BwYCVt','description','actor','185qfmPxu','130752oJHmSJ','toLowerCase'];a41c=function(){return j;};return a41c();}const a41h=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1af;let f=c[d];return f;},a41d(a,b);}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x1b9))/0x1+parseInt(f(0x1cb))/0x2+-parseInt(f(0x1c7))/0x3+parseInt(f(0x1ba))/0x4+parseInt(f(0x1c4))/0x5*(parseInt(f(0x1c0))/0x6)+-parseInt(f(0x1b5))/0x7*(parseInt(f(0x1c1))/0x8)+-parseInt(f(0x1c5))/0x9*(parseInt(f(0x1b7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb5e22));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const g=a41d;return a41a[g(0x1bf)]()[g(0x1b1)](g(0x1c8))['toString']()[g(0x1c9)](a41a)[g(0x1b1)]('(((.+)+)+)+$');});a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41h(0x1be)]=a41h(0x1bd);static [a41h(0x1c2)]=a41h(0x1b2);[a41h(0x1b6)](a){const i=a41h,b=a['join']('\x20')[i(0x1c6)](),c=this[i(0x1c3)]['currentLocation'];if(!c||!c[i(0x1ca)])return this[i(0x1b8)][i(0x1bc)](i(0x1bb)),i(0x1af);const d=c[i(0x1ca)][i(0x1bd)](b,this['actor'][i(0x1b3)]);return d['success']&&c[i(0x1ca)]['rewardItem']&&this[i(0x1c3)][i(0x1b3)]['addItem'](c[i(0x1ca)]['rewardItem']),this['logger']['write'](i(0x1b0)+d['message']),d[i(0x1b4)];}}
1
+ const a41i=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a41d(a,b);}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x1a3))/0x1+-parseInt(f(0x1af))/0x2*(-parseInt(f(0x1b0))/0x3)+parseInt(f(0x1b8))/0x4+-parseInt(f(0x1be))/0x5+parseInt(f(0x1a2))/0x6*(parseInt(f(0x1bd))/0x7)+parseInt(f(0x1ae))/0x8*(parseInt(f(0x1a5))/0x9)+-parseInt(f(0x1ad))/0xa*(parseInt(f(0x1b2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x50e52));function a41c(){const k=['2531096uXLSeR','search','message','write','(((.+)+)+)+$','973opymqd','680560hhWzfY','logger','puzzle','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','apply','23706wPvuON','141339cylFHY','addItem','9QZIorY','toString','inventory','verb','toLowerCase','currentLocation','join','solve','1339150kqFGRc','1191560PGKGTR','4zAoTjQ','724686knspVe','description','99Tjqywg','constructor','success','SolveCommand:\x20','rewardItem','actor'];a41c=function(){return k;};return a41c();}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x1c2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x1a6)]()[h(0x1b9)](h(0x1bc))[h(0x1a6)]()[h(0x1b3)](a41a)[h(0x1b9)]('(((.+)+)+)+$');});a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41i(0x1a8)]=a41i(0x1ac);static [a41i(0x1b1)]='Attempt\x20to\x20solve\x20a\x20puzzle.';['execute'](a){const j=a41i,b=a[j(0x1ab)]('\x20')[j(0x1a9)](),c=this[j(0x1b7)][j(0x1aa)];if(!c||!c[j(0x1c0)])return this[j(0x1bf)][j(0x1bb)](j(0x1c1)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c['puzzle'][j(0x1ac)](b,this['actor'][j(0x1a7)]);return d[j(0x1b4)]&&c[j(0x1c0)]['rewardItem']&&this['actor'][j(0x1a7)][j(0x1a4)](c[j(0x1c0)][j(0x1b6)]),this[j(0x1bf)][j(0x1bb)](j(0x1b5)+d[j(0x1ba)]),d[j(0x1ba)];}}
@@ -1 +1 @@
1
- function a42c(){const l=['logger','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20to\x20','actor','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','(((.+)+)+)+$','toLowerCase','Error\x20during\x20\x27Take\x27\x20command:\x20','message','Successfully\x20removed\x20\x22','246388wGxHZX','\x20during\x20\x27Take\x27\x20command.','2877ahgQpj','3162DuKYpf','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','join','execute','constructor','search','2979081MksTpP','1491430JqVDuE','currentLocation','toString','2348656xYHfeN','hasItem','take','\x22\x20not\x20found\x20in\x20','description','71278DpYzTo','write','inventory','There\x20is\x20no\x20item\x20\x22','removeItem','Pick\x20up\x20an\x20item.','7SSCwRj','apply','\x22\x20from\x20','addInventory','\x22\x20in\x20this\x20room.','28710ziZXcp','The\x20item\x20\x22','name','Successfully\x20added\x20\x22'];a42c=function(){return l;};return a42c();}const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x1bd))/0x1*(parseInt(f(0x1b7))/0x2)+parseInt(f(0x1c2))/0x3+-parseInt(f(0x1a5))/0x4+-parseInt(f(0x1af))/0x5+-parseInt(f(0x1a8))/0x6*(-parseInt(f(0x1a7))/0x7)+-parseInt(f(0x1b2))/0x8+parseInt(f(0x1ae))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x25660));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x1be)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0x1ad)](h(0x1cb))[h(0x1b1)]()[h(0x1ac)](a42a)[h(0x1ad)](h(0x1cb));});a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a42i(0x1b4);static [a42i(0x1b6)]=a42i(0x1bc);[a42i(0x1ab)](a){const j=a42i;return this[j(0x1c6)][j(0x1b8)](j(0x1ca)+a[j(0x1aa)]('\x20')),this[j(0x1b4)](a);}[a42i(0x1b4)](a){const k=a42i,b=a['join']('\x20')[k(0x1cc)](),c=this[k(0x1c9)][k(0x1b0)];if(!c[k(0x1b9)][k(0x1b3)](b))return this[k(0x1c6)][k(0x1b8)]('Item\x20\x22'+b+k(0x1b5)+c[k(0x1c4)]+k(0x1a6)),k(0x1ba)+b+'\x22\x20in\x20this\x20room.';const d=c[k(0x1b9)]['getItem'](b);if(!d)return this[k(0x1c6)][k(0x1b8)]('Item\x20\x22'+b+'\x22\x20not\x20retrieved\x20from\x20'+c[k(0x1c4)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x1ba)+b+k(0x1c1);try{return this[k(0x1c9)][k(0x1c0)](d),this['logger'][k(0x1b8)](k(0x1c5)+b+k(0x1c8)+this[k(0x1c9)][k(0x1c4)]+k(0x1c7)),c[k(0x1b9)][k(0x1bb)](b),this[k(0x1c6)]['write'](k(0x1a4)+b+k(0x1bf)+c[k(0x1c4)]+k(0x1a9)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this[k(0x1c6)][k(0x1b8)](k(0x1a2)+e[k(0x1a3)]),k(0x1c3)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
1
+ function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x8e;let f=c[d];return f;},a42d(a,b);}const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x9f))/0x1+parseInt(f(0xa4))/0x2+-parseInt(f(0x95))/0x3+-parseInt(f(0xb4))/0x4+parseInt(f(0x8f))/0x5+parseInt(f(0xb1))/0x6*(-parseInt(f(0xa1))/0x7)+parseInt(f(0xab))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x26448));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xaf)]()[h(0xa6)]('(((.+)+)+)+$')[h(0xaf)]()['constructor'](a42a)[h(0xa6)](h(0xa3));});a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0xae)]=a42i(0x9e);static ['description']='Pick\x20up\x20an\x20item.';[a42i(0xaa)](a){const j=a42i;return this[j(0xa9)][j(0x98)](j(0x94)+a[j(0x9a)]('\x20')),this[j(0x9e)](a);}['take'](a){const k=a42i,b=a['join']('\x20')[k(0xac)](),c=this['actor'][k(0xa7)];if(!c['inventory'][k(0xb3)](b))return this['logger'][k(0x98)](k(0x92)+b+'\x22\x20not\x20found\x20in\x20'+c['name']+'\x20during\x20\x27Take\x27\x20command.'),k(0xb2)+b+k(0x9c);const d=c[k(0xa0)]['getItem'](b);if(!d)return this[k(0xa9)][k(0x98)](k(0x92)+b+k(0x99)+c[k(0xa5)]+k(0xa8)),k(0xb2)+b+k(0x9c);try{return this[k(0xa2)]['addInventory'](d),this[k(0xa9)][k(0x98)](k(0x97)+b+k(0x8e)+this[k(0xa2)][k(0xa5)]+k(0x96)),c[k(0xa0)]['removeItem'](b),this['logger']['write'](k(0x93)+b+k(0xb0)+c[k(0xa5)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x91)+b+'.';}catch(e){return this[k(0xa9)][k(0x98)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0x9d)]),k(0x9b)+b+k(0xad);}}}function a42c(){const l=['Successfully\x20removed\x20\x22','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','69756rSIqte','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Successfully\x20added\x20\x22','write','\x22\x20not\x20retrieved\x20from\x20','join','The\x20item\x20\x22','\x22\x20in\x20this\x20room.','message','take','155466ZtZVOp','inventory','63VJofHP','actor','(((.+)+)+)+$','572292CTDgUu','name','search','currentLocation','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','logger','execute','2272640mnguFY','toLowerCase','\x22\x20is\x20too\x20heavy\x20to\x20carry.','verb','toString','\x22\x20from\x20','194874LWXcwN','There\x20is\x20no\x20item\x20\x22','hasItem','455820uSlLII','\x22\x20to\x20','857510FByxnY','apply','You\x20have\x20taken\x20the\x20','Item\x20\x22'];a42c=function(){return l;};return a42c();}
@@ -1 +1 @@
1
- function a43c(){const k=['logger','join','toString','18trMfZR','3589866umYSvz','3129820SsOswo','Unequip\x20an\x20item.','write','174026sUZlLR','name','constructor','UnequipCommand:\x20','description','3467610QVzYKf','toLowerCase','apply','\x20unqeuiped\x20','7dyHwmz','5rLKChf','verb','actor','1588302xjiFCe','execute','2629672BZthgN','7259330foiPpi'];a43c=function(){return k;};return a43c();}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x12d))/0x1+-parseInt(f(0x13a))/0x2+-parseInt(f(0x132))/0x3+parseInt(f(0x12a))/0x4+parseInt(f(0x137))/0x5*(parseInt(f(0x129))/0x6)+-parseInt(f(0x136))/0x7*(parseInt(f(0x123))/0x8)+parseInt(f(0x128))/0x9*(parseInt(f(0x124))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xb1b78));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x127)]()['search']('(((.+)+)+)+$')['toString']()[h(0x12f)](a43a)['search']('(((.+)+)+)+$');});a43a();import{Command}from'./command.js';function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x123;let f=c[d];return f;},a43d(a,b);}export class UnequipCommand extends Command{static [a43i(0x138)]='unqeuip';static [a43i(0x131)]=a43i(0x12b);[a43i(0x13b)](a){const j=a43i,b=a[j(0x126)]('\x20')[j(0x133)](),c=this[j(0x139)]['unequip'](b);return this[j(0x125)][j(0x12c)](j(0x130)+this[j(0x139)][j(0x12e)]+j(0x135)+c),c;}}
1
+ function a43c(){const j=['UnequipCommand:\x20','unequip','5362740WXkKsJ','unqeuip','380303PFgBZs','join','toString','\x20unqeuiped\x20','353016SPhoNY','constructor','500640BnbXGG','2316128GOwSrW','91TwrqgE','4509385ihytpH','actor','3891536iqiSZa','search','verb','2tSwmeP','(((.+)+)+)+$','Unequip\x20an\x20item.'];a43c=function(){return j;};return a43c();}const a43h=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x156))/0x1*(parseInt(f(0x164))/0x2)+parseInt(f(0x15c))/0x3+-parseInt(f(0x15d))/0x4+parseInt(f(0x15f))/0x5+parseInt(f(0x15a))/0x6*(parseInt(f(0x15e))/0x7)+parseInt(f(0x161))/0x8+-parseInt(f(0x154))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xbabc8));function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x153;let f=c[d];return f;},a43d(a,b);}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const g=a43d;return a43a[g(0x158)]()[g(0x162)](g(0x165))[g(0x158)]()[g(0x15b)](a43a)['search'](g(0x165));});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43h(0x163)]=a43h(0x155);static ['description']=a43h(0x166);['execute'](a){const i=a43h,b=a[i(0x157)]('\x20')['toLowerCase'](),c=this[i(0x160)][i(0x153)](b);return this['logger']['write'](i(0x167)+this[i(0x160)]['name']+i(0x159)+c),c;}}
@@ -1 +1 @@
1
- const a44j=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0xf8))/0x1+-parseInt(h(0x111))/0x2*(-parseInt(h(0xfb))/0x3)+-parseInt(h(0x104))/0x4*(-parseInt(h(0xf7))/0x5)+-parseInt(h(0xea))/0x6*(-parseInt(h(0xff))/0x7)+parseInt(h(0xf2))/0x8*(parseInt(h(0x100))/0x9)+parseInt(h(0x102))/0xa*(-parseInt(h(0x106))/0xb)+-parseInt(h(0x10c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x9cb21));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const i=a44d;return a44a[i(0xe8)]()[i(0xfe)](i(0xf0))[i(0xe8)]()[i(0xf6)](a44a)[i(0xfe)](i(0xf0));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xe6;let f=c[d];return f;},a44d(a,b);}a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a44c(){const m=['get','14lyPZhV','currentLocation','actor','toString','\x20is\x20attempted\x20to\x20unlock\x20','1612242ZDYcWR','getItem','unlockItemOrSolution','logger','length','exits','(((.+)+)+)+$','error','560hbutld','inventory','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','\x22\x20here.','constructor','5152765BZqbsg','293385eifEgY','verb','attemptUnlockExit','271713ErgShC','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','search','14cXTayR','141165aTcMEF','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','4910gLrqKk','hasItem','4simDlS','execute','17611KghBpp','.\x20Result:\x20','has','UnlockCommand:\x20','write','unlock','18943356ckgmnC','toLowerCase','name','UnlockCommand:\x20No\x20target\x20specified.'];a44c=function(){return m;};return a44c();}export class UnlockCommand extends Command{static [a44j(0xf9)]='unlock';static ['description']='Unlock\x20a\x20door.';[a44j(0x105)](a){const k=a44j;return this[k(0x10b)](a);}['unlock'](a){const l=a44j;if(a[l(0xee)]===0x0)return this[l(0xed)][l(0xf1)](l(0x10f)),l(0xf4);const b=a[0x0][l(0x10d)](),c=this[l(0xe7)][l(0xe6)];if(this['isValidDirection'](b)&&c[l(0xef)][l(0x108)](b)){const d=c['exits'][l(0x110)](b);if(d instanceof Door){const e=d[l(0xec)]?.[l(0x10d)]();if(e&&this[l(0xe7)]['inventory'][l(0x103)](e)){const f=this[l(0xe7)][l(0xf3)][l(0xeb)](e);if(f){const g=c[l(0xfa)](b,f[l(0x10e)]);return this['logger'][l(0x10a)](l(0x109)+this[l(0xe7)]['name']+l(0xe9)+b+l(0x107)+g),g;}}return this[l(0xed)]['write']('UnlockCommand:\x20'+this[l(0xe7)][l(0x10e)]+l(0xfd)+b+'.'),l(0x101);}else return this[l(0xed)][l(0x10a)](l(0x109)+b+l(0xfc)+c[l(0x10e)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0xf5);}else return this[l(0xed)][l(0x10a)]('UnlockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0x10e)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0xf5);}}
1
+ const a44j=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x17b))/0x1*(-parseInt(h(0x189))/0x2)+-parseInt(h(0x186))/0x3+-parseInt(h(0x184))/0x4*(-parseInt(h(0x17d))/0x5)+-parseInt(h(0x16f))/0x6*(parseInt(h(0x17c))/0x7)+parseInt(h(0x192))/0x8*(-parseInt(h(0x17e))/0x9)+parseInt(h(0x16b))/0xa*(-parseInt(h(0x190))/0xb)+-parseInt(h(0x18c))/0xc*(-parseInt(h(0x187))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x64d89));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const i=a44d;return a44a[i(0x181)]()[i(0x188)](i(0x18b))['toString']()[i(0x16d)](a44a)[i(0x188)](i(0x18b));});a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x16a;let f=c[d];return f;},a44d(a,b);}export class UnlockCommand extends Command{static [a44j(0x173)]=a44j(0x18a);static ['description']='Unlock\x20a\x20door.';[a44j(0x179)](a){return this['unlock'](a);}[a44j(0x18a)](a){const k=a44j;if(a['length']===0x0)return this['logger']['error'](k(0x16c)),k(0x171);const b=a[0x0][k(0x18e)](),c=this[k(0x178)][k(0x180)];if(this['isValidDirection'](b)&&c[k(0x170)][k(0x191)](b)){const d=c[k(0x170)][k(0x16e)](b);if(d instanceof Door){const e=d[k(0x18d)]?.[k(0x18e)]();if(e&&this[k(0x178)]['inventory'][k(0x16a)](e)){const f=this['actor'][k(0x18f)][k(0x185)](e);if(f){const g=c[k(0x182)](b,f[k(0x175)]);return this[k(0x176)][k(0x177)](k(0x172)+this['actor'][k(0x175)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+k(0x174)+g),g;}}return this[k(0x176)][k(0x177)](k(0x172)+this[k(0x178)][k(0x175)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this[k(0x176)]['write'](k(0x172)+b+k(0x17a)+c[k(0x175)]+'.'),k(0x183)+b+k(0x17f);}else return this['logger']['write'](k(0x172)+b+k(0x17a)+c[k(0x175)]+'.'),k(0x183)+b+'\x22\x20here.';}}function a44c(){const l=['172725bDpzWB','28054mEHAcP','search','2kmBINs','unlock','(((.+)+)+)+$','9444hnCfKW','unlockItemOrSolution','toLowerCase','inventory','11SUbVsv','has','24vgTIzK','hasItem','3356530RrHKQV','UnlockCommand:\x20No\x20target\x20specified.','constructor','get','1227066tHpGXK','exits','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','UnlockCommand:\x20','verb','.\x20Result:\x20','name','logger','write','actor','execute','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','105818dcDaGe','21bITEda','1412585yEXTQw','2213208aXMmWl','\x22\x20here.','currentLocation','toString','attemptUnlockExit','There\x27s\x20no\x20door\x20named\x20\x22','8hmnzkW','getItem'];a44c=function(){return l;};return a44c();}
@@ -1 +1 @@
1
- function a45c(){const l=['\x20to\x20use.','2380928ZRXyYm','apply','Use\x20an\x20item.','actor','2661186IQmZQU','search','1615540FfGKmn','constructor','(((.+)+)+)+$','function','4738974KQmokR','\x20attempted\x20to\x20use\x20','7eWZhTJ','\x20doesn\x27t\x20have\x20a\x20use\x20method.','write','toLowerCase','206368vfmiVa','use','join','6594976tYLRmi','inventory','name','143292pkRhbW','\x20used\x20','logger','UseCommand:\x20','\x27s\x20inventory.','execute','\x20in\x20this\x20way.'];a45c=function(){return l;};return a45c();}const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x1e0))/0x1+-parseInt(f(0x1c8))/0x2+parseInt(f(0x1d4))/0x3+-parseInt(f(0x1d0))/0x4+parseInt(f(0x1d6))/0x5+parseInt(f(0x1da))/0x6*(parseInt(f(0x1dc))/0x7)+-parseInt(f(0x1c5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xae96d));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a['toString']()[h(0x1d5)](h(0x1d8))['toString']()[h(0x1d7)](a45a)['search']('(((.+)+)+)+$');});a45a();import{Command}from'./command.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a45d(a,b);}export class UseCommand extends Command{static ['verb']='use';static ['description']=a45i(0x1d2);[a45i(0x1cd)](a){const j=a45i;return this[j(0x1e1)](a);}[a45i(0x1e1)](a){const k=a45i,b=a[k(0x1c4)]('\x20')[k(0x1df)]();if(!this[k(0x1d3)][k(0x1c6)]['hasItem'](b))return this[k(0x1ca)][k(0x1de)](k(0x1cb)+this['actor']['name']+k(0x1db)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x1cf);const c=this[k(0x1d3)][k(0x1c6)]['getItem'](b);if(!c)return this[k(0x1ca)][k(0x1de)]('UseCommand:\x20'+b+'\x20not\x20retrieved\x20from\x20'+this[k(0x1d3)]['name']+k(0x1cc)),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x1cf);if(typeof c[k(0x1e1)]===k(0x1d9)){const d=c[k(0x1e1)]();return this[k(0x1ca)][k(0x1de)](k(0x1cb)+this['actor'][k(0x1c7)]+k(0x1c9)+b+'.'),d;}else return this[k(0x1ca)][k(0x1de)](k(0x1cb)+b+k(0x1dd)),'You\x20can\x27t\x20use\x20the\x20'+b+k(0x1ce);}}
1
+ const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0xfc))/0x1+-parseInt(f(0x101))/0x2*(parseInt(f(0x109))/0x3)+-parseInt(f(0x10a))/0x4*(parseInt(f(0x11a))/0x5)+parseInt(f(0x107))/0x6*(parseInt(f(0xfd))/0x7)+parseInt(f(0xf8))/0x8*(-parseInt(f(0x119))/0x9)+-parseInt(f(0x118))/0xa+-parseInt(f(0x110))/0xb*(-parseInt(f(0x112))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xdcd8c));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x10f)]()[h(0x10c)](h(0x103))[h(0x10f)]()[h(0x117)](a45a)[h(0x10c)](h(0x103));});a45a();function a45c(){const l=['326166obCLYB','469ZPmhpr','verb','\x20in\x20this\x20way.','You\x20don\x27t\x20have\x20the\x20','15506wdtnyT','UseCommand:\x20','(((.+)+)+)+$','\x20doesn\x27t\x20have\x20a\x20use\x20method.','use','logger','134076hIGAOh','Use\x20an\x20item.','105BJLNrX','44596PtUwTw','\x20attempted\x20to\x20use\x20','search','You\x20can\x27t\x20use\x20the\x20','join','toString','363MrxIjX','actor','1046988eslWrD','inventory','\x20used\x20','\x20not\x20retrieved\x20from\x20','write','constructor','14124240EneRmy','1115874fGmNnO','600TnbVbu','name','apply','8UQmVjD','\x20to\x20use.','\x27s\x20inventory.','toLowerCase'];a45c=function(){return l;};return a45c();}import{Command}from'./command.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xf6;let f=c[d];return f;},a45d(a,b);}export class UseCommand extends Command{static [a45i(0xfe)]=a45i(0x105);static ['description']=a45i(0x108);['execute'](a){const j=a45i;return this[j(0x105)](a);}['use'](a){const k=a45i,b=a[k(0x10e)]('\x20')[k(0xfb)]();if(!this['actor'][k(0x113)]['hasItem'](b))return this[k(0x106)]['write']('UseCommand:\x20'+this[k(0x111)][k(0xf6)]+k(0x10b)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),k(0x100)+b+k(0xf9);const c=this['actor'][k(0x113)]['getItem'](b);if(!c)return this[k(0x106)][k(0x116)]('UseCommand:\x20'+b+k(0x115)+this[k(0x111)][k(0xf6)]+k(0xfa)),'You\x20don\x27t\x20have\x20the\x20'+b+k(0xf9);if(typeof c['use']==='function'){const d=c[k(0x105)]();return this[k(0x106)][k(0x116)](k(0x102)+this[k(0x111)]['name']+k(0x114)+b+'.'),d;}else return this[k(0x106)][k(0x116)](k(0x102)+b+k(0x104)),k(0x10d)+b+k(0xff);}}
@@ -1 +1 @@
1
- const a46i=a46d;function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x175;let f=c[d];return f;},a46d(a,b);}(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x184))/0x1*(-parseInt(f(0x188))/0x2)+-parseInt(f(0x17a))/0x3+-parseInt(f(0x178))/0x4*(parseInt(f(0x185))/0x5)+-parseInt(f(0x17b))/0x6+parseInt(f(0x17f))/0x7+-parseInt(f(0x180))/0x8*(parseInt(f(0x17d))/0x9)+parseInt(f(0x176))/0xa*(parseInt(f(0x187))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x9db37));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x179)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x186)]()[h(0x175)]('(((.+)+)+)+$')[h(0x186)]()[h(0x17e)](a46a)[h(0x175)](h(0x181));});function a46c(){const m=['833328koarye','4879536grwKNn','getAllRegisteredCommands','7733457JaAVuE','constructor','3236793HqPUlE','8lbsDOf','(((.+)+)+)+$','registerCommand','commandMap','108yjOcCe','3155iLJXRL','toString','1889646YKYBlY','534efLIML','search','180tPYaAA','createCommand','5892WcOyFr','apply'];a46c=function(){return m;};return a46c();}a46a();export class CommandFactory{static ['commandMap']={};static[a46i(0x182)](a,b){const j=a46i;this[j(0x183)][a]=b;}static[a46i(0x177)](a,b){const k=a46i,c=this[k(0x183)][a];if(c)return new c(b);return null;}static[a46i(0x17c)](){const l=a46i;return this[l(0x183)];}}
1
+ const a46i=a46d;function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0xf9;let f=c[d];return f;},a46d(a,b);}(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0xfe))/0x1+parseInt(f(0x108))/0x2*(-parseInt(f(0xfa))/0x3)+parseInt(f(0x102))/0x4+parseInt(f(0xf9))/0x5+parseInt(f(0x105))/0x6+parseInt(f(0x101))/0x7+-parseInt(f(0xff))/0x8*(parseInt(f(0x109))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x590e2));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x104)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a['toString']()[h(0x107)]('(((.+)+)+)+$')[h(0xfd)]()[h(0xfb)](a46a)['search']('(((.+)+)+)+$');});a46a();export class CommandFactory{static [a46i(0xfc)]={};static[a46i(0x103)](a,b){const j=a46i;this[j(0xfc)][a]=b;}static[a46i(0x100)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a46i(0x106)](){return this['commandMap'];}}function a46c(){const k=['search','272258WBZcxM','45oKnymJ','2152405wGSfwr','6LmOlzW','constructor','commandMap','toString','156070wHHcfb','2159512zcsFPK','createCommand','3105165ijTMeR','1193712OQVCpI','registerCommand','apply','3948894mTbkhh','getAllRegisteredCommands'];a46c=function(){return k;};return a46c();}
@@ -1 +1 @@
1
- function a47c(){const n=['addItem','52ySqzsv','32608CHsdvl','gauntlets','rewardItem','type','items','search','isStartRoom','boots','roomType','12wCIIOn','inventory','toString','content','9988296KQbaUe','INSIDE','sword','convertToRoomConfig','2272945ZpoycG','name','createItem','7697196qdvoqj','toUpperCase','legarmor','5244281khlniw','gloves','puzzle','helmet','createRoom','33fNyXzq','16129270khrLpq','(((.+)+)+)+$','forEach','description','67411zDbbUZ','3WKhWBB','createPuzzle','book','setPuzzle'];a47c=function(){return n;};return a47c();}const a47h=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x1a5))/0x1*(parseInt(f(0x1ab))/0x2)+parseInt(f(0x1a6))/0x3*(parseInt(f(0x1ac))/0x4)+parseInt(f(0x195))/0x5+-parseInt(f(0x18d))/0x6*(-parseInt(f(0x19b))/0x7)+parseInt(f(0x191))/0x8+parseInt(f(0x198))/0x9+-parseInt(f(0x1a1))/0xa*(parseInt(f(0x1a0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xeef69));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const g=a47d;return a47a[g(0x18f)]()[g(0x189)](g(0x1a2))[g(0x18f)]()['constructor'](a47a)['search'](g(0x1a2));});a47a();function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x187;let f=c[d];return f;},a47d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47h(0x19f)](a){const i=a47h,b=this[i(0x194)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[i(0x188)][i(0x1a3)](e=>{const j=i;d[j(0x1aa)](this['createItem'](e));}),c[i(0x18e)]=d;}return a[i(0x19d)]&&c[i(0x1a9)](this[i(0x1a7)](a['puzzle'])),c;}[a47h(0x197)](a){const k=a47h;switch(a[k(0x187)]){case'key':return new Key(a['name'],a['description']);case k(0x1a8):return new Book(a[k(0x196)],a[k(0x1a4)],a[k(0x190)]);case k(0x193):return new Sword(a['name'],a[k(0x1a4)]);case'rifle':return new Rifle(a[k(0x196)],a['description']);case k(0x19e):return new Helmet(a[k(0x196)],a[k(0x1a4)]);case'bodyarmor':return new BodyArmor(a[k(0x196)],a[k(0x1a4)]);case k(0x19a):return new LegArmor(a[k(0x196)],a[k(0x1a4)]);case k(0x18b):return new Boots(a[k(0x196)],a[k(0x1a4)]);case k(0x19c):return new Gloves(a[k(0x196)],a[k(0x1a4)]);case k(0x1ad):return new Gauntlets(a[k(0x196)],a['description']);default:return new BasicItem(a[k(0x196)],a[k(0x1a4)]);}}[a47h(0x1a7)](a){const l=a47h,b=this[l(0x197)](a[l(0x1ae)]);return new Puzzle({...a,'rewardItem':b});}[a47h(0x194)](a){const m=a47h,b=a[m(0x18c)]&&RoomType[a['roomType']['toUpperCase']()]?RoomType[a[m(0x18c)][m(0x199)]()]:RoomType[m(0x192)];return{'name':a[m(0x196)],'description':a['description'],'isStartRoom':a[m(0x18a)],'roomType':b};}}
1
+ const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x216))/0x1+parseInt(f(0x20a))/0x2+parseInt(f(0x215))/0x3+parseInt(f(0x1fa))/0x4+parseInt(f(0x204))/0x5*(parseInt(f(0x1fc))/0x6)+parseInt(f(0x20d))/0x7*(-parseInt(f(0x1f4))/0x8)+-parseInt(f(0x1f3))/0x9*(parseInt(f(0x20f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x54725));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1f8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()[h(0x207)](h(0x213))[h(0x214)]()[h(0x201)](a47a)[h(0x207)]('(((.+)+)+)+$');});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a47d(a,b);}export class RoomFactory{[a47i(0x211)](a){const j=a47i,b=this[j(0x203)](a),c=new Room(b);if(a[j(0x20e)]){const d=new Inventory();a[j(0x20e)][j(0x1f9)](e=>{const k=j;d['addItem'](this[k(0x206)](e));}),c[j(0x210)]=d;}return a[j(0x208)]&&c[j(0x1ff)](this[j(0x1f7)](a[j(0x208)])),c;}[a47i(0x206)](a){const l=a47i;switch(a[l(0x1fe)]){case l(0x205):return new Key(a[l(0x1fd)],a[l(0x200)]);case l(0x212):return new Book(a[l(0x1fd)],a[l(0x200)],a['content']);case'sword':return new Sword(a[l(0x1fd)],a['description']);case l(0x20c):return new Rifle(a[l(0x1fd)],a[l(0x200)]);case'helmet':return new Helmet(a['name'],a[l(0x200)]);case l(0x20b):return new BodyArmor(a[l(0x1fd)],a[l(0x200)]);case l(0x209):return new LegArmor(a[l(0x1fd)],a[l(0x200)]);case'boots':return new Boots(a['name'],a[l(0x200)]);case'gloves':return new Gloves(a[l(0x1fd)],a[l(0x200)]);case l(0x1f5):return new Gauntlets(a[l(0x1fd)],a['description']);default:return new BasicItem(a[l(0x1fd)],a[l(0x200)]);}}[a47i(0x1f7)](a){const m=a47i,b=this['createItem'](a[m(0x1f6)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a47i,b=a[n(0x1fb)]&&RoomType[a[n(0x1fb)]['toUpperCase']()]?RoomType[a['roomType']['toUpperCase']()]:RoomType[n(0x202)];return{'name':a[n(0x1fd)],'description':a[n(0x200)],'isStartRoom':a[n(0x217)],'roomType':b};}}function a47c(){const o=['15NWxBnQ','key','createItem','search','puzzle','legarmor','147442vebHKS','bodyarmor','rifle','2369815yLsNKN','items','6950ZPinCg','inventory','createRoom','book','(((.+)+)+)+$','toString','1622556PUWfEQ','424873QvxKwF','isStartRoom','135txKWEC','16htOfyE','gauntlets','rewardItem','createPuzzle','apply','forEach','2707200wiIbog','roomType','333816lPswTb','name','type','setPuzzle','description','constructor','INSIDE','convertToRoomConfig'];a47c=function(){return o;};return a47c();}
@@ -1 +1 @@
1
- const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0x131))/0x1+parseInt(h(0x116))/0x2+-parseInt(h(0x12a))/0x3*(parseInt(h(0x12b))/0x4)+parseInt(h(0x120))/0x5*(parseInt(h(0x137))/0x6)+parseInt(h(0x136))/0x7+parseInt(h(0x127))/0x8*(parseInt(h(0x101))/0x9)+-parseInt(h(0x111))/0xa*(-parseInt(h(0x139))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xd68e4));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x110)]()[j(0x11f)](j(0x129))[j(0x110)]()[j(0x114)](a48a)[j(0x11f)](j(0x129));});a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';function a48c(){const s=['4204806rVroNc','use','77ENpXmW','2583aXKRgA','registerCommand','unequip','createCommand','registerCommands','Welcome,\x20','maka','split','currentLocation','help','lock','currentRoom','getDescription','getRooms','initialize','toString','1315430chRVzG','name','execute','constructor','toLowerCase','1724488qLeFmE','player','slice','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','-\x20clear:\x20Clear\x20the\x20screen.\x0a','instance','getWelcomeMessage','clear','take','search','5jAuMzc','apply','getHelpMessage','rooms','drop','Available\x20Commands:\x0a','quit','14984ksCZfk','getInstance','(((.+)+)+)+$','16113jiBIme','1168EhxZJY','handleInput','getAllRegisteredCommands','look','scene','determineStartRoom','1427095BblzDZ','solve','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','-\x20quit:\x20Exit\x20the\x20game.\x0a','unlock','5969950DczAIA'];a48c=function(){return s;};return a48c();}import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x101;let f=c[d];return f;},a48d(a,b);}import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0x11b)];[a48k(0x12f)];[a48k(0x117)];[a48k(0x10c)];[a48k(0x123)];constructor(a,b){const l=a48k;this[l(0x117)]=a,this[l(0x12f)]=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0x10f)](),this[l(0x117)][l(0x109)]=this[l(0x130)](),this[l(0x105)]();}[a48k(0x105)](){const m=a48k;CommandFactory[m(0x102)](m(0x12e),LookCommand),CommandFactory[m(0x102)]('go',GoCommand),CommandFactory['registerCommand'](m(0x11e),TakeCommand),CommandFactory[m(0x102)](m(0x138),UseCommand),CommandFactory['registerCommand']('equip',EquipCommand),CommandFactory[m(0x102)](m(0x103),UnequipCommand),CommandFactory[m(0x102)](m(0x132),SolveCommand),CommandFactory[m(0x102)](m(0x124),DropCommand),CommandFactory[m(0x102)](m(0x135),UnlockCommand),CommandFactory[m(0x102)](m(0x10b),LockCommand),CommandFactory['registerCommand'](m(0x11f),SearchCommand),CommandFactory[m(0x102)]('say',SayCommand);}[a48k(0x130)](){const n=a48k;return this[n(0x12f)][n(0x130)]();}[a48k(0x11c)](){const o=a48k;return o(0x106)+this[o(0x117)][o(0x112)];}static[a48k(0x128)](a,b){const p=a48k;return!Game[p(0x11b)]&&(Game[p(0x11b)]=new Game(a,b)),Game[p(0x11b)];}[a48k(0x12c)](a){const q=a48k,b=a['trim']()[q(0x108)]('\x20'),c=b[0x0][q(0x115)](),d=b[q(0x118)](0x1);if(c===q(0x126))return null;if(c===q(0x107))return q(0x119);if(c===q(0x10a))return this[q(0x122)]();if(c===q(0x11d))return'';const e={'actor':this['player'],'rooms':this[q(0x12f)][q(0x10e)](),'scene':this[q(0x12f)]},f=CommandFactory[q(0x104)](c,e);if(f){const g=f[q(0x113)](d);return g;}return q(0x133)+c+'\x22.';}['getHelpMessage'](){const r=a48k,a=CommandFactory[r(0x12d)]();let b=r(0x125);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x10d)]()+'\x0a';}}return b+=r(0x11a),b+=r(0x134),b;}}
1
+ const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0xef))/0x1+parseInt(h(0xdf))/0x2+-parseInt(h(0xfa))/0x3+-parseInt(h(0xdc))/0x4*(-parseInt(h(0x108))/0x5)+parseInt(h(0xfc))/0x6*(parseInt(h(0xdd))/0x7)+parseInt(h(0x104))/0x8+-parseInt(h(0xf4))/0x9*(parseInt(h(0xec))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xcf1b4));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x10a)]()['search'](j(0x101))[j(0x10a)]()[j(0xde)](a48a)[j(0xf7)]('(((.+)+)+)+$');});a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xd9;let f=c[d];return f;},a48d(a,b);}function a48c(){const s=['currentLocation','equip','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','29756380vsGbYH','split','apply','611887ZuyCSP','take','execute','toLowerCase','unequip','9QoarbW','player','getHelpMessage','search','rooms','look','2027997BWChFe','unlock','3012mrjmQG','getRooms','say','use','registerCommand','(((.+)+)+)+$','instance','hasOwnProperty','9852728VBNQvP','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','help','solve','1195mWNkqU','getWelcomeMessage','toString','scene','drop','registerCommands','20564WDNIHo','22953YmizgO','constructor','2010968kaopcd','name','getAllRegisteredCommands','trim','Available\x20Commands:\x0a','initialize','slice','quit','lock','determineStartRoom'];a48c=function(){return s;};return a48c();}import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0x102)];[a48k(0xd9)];['player'];['currentRoom'];[a48k(0xf8)];constructor(a,b){const l=a48k;this[l(0xf5)]=a,this[l(0xd9)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0xd9)][l(0xe4)](),this['player'][l(0xe9)]=this['determineStartRoom'](),this[l(0xdb)]();}[a48k(0xdb)](){const m=a48k;CommandFactory[m(0x100)](m(0xf9),LookCommand),CommandFactory[m(0x100)]('go',GoCommand),CommandFactory['registerCommand'](m(0xf0),TakeCommand),CommandFactory[m(0x100)](m(0xff),UseCommand),CommandFactory['registerCommand'](m(0xea),EquipCommand),CommandFactory['registerCommand'](m(0xf3),UnequipCommand),CommandFactory[m(0x100)](m(0x107),SolveCommand),CommandFactory[m(0x100)](m(0xda),DropCommand),CommandFactory[m(0x100)](m(0xfb),UnlockCommand),CommandFactory[m(0x100)](m(0xe7),LockCommand),CommandFactory[m(0x100)](m(0xf7),SearchCommand),CommandFactory[m(0x100)](m(0xfe),SayCommand);}[a48k(0xe8)](){const n=a48k;return this[n(0xd9)][n(0xe8)]();}[a48k(0x109)](){const o=a48k;return'Welcome,\x20'+this[o(0xf5)][o(0xe0)];}static['getInstance'](a,b){const p=a48k;return!Game[p(0x102)]&&(Game[p(0x102)]=new Game(a,b)),Game[p(0x102)];}['handleInput'](a){const q=a48k,b=a[q(0xe2)]()[q(0xed)]('\x20'),c=b[0x0][q(0xf2)](),d=b[q(0xe5)](0x1);if(c===q(0xe6))return null;if(c==='maka')return q(0x105);if(c===q(0x106))return this[q(0xf6)]();if(c==='clear')return'';const e={'actor':this[q(0xf5)],'rooms':this[q(0xd9)][q(0xfd)](),'scene':this[q(0xd9)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[q(0xf1)](d);return g;}return q(0xeb)+c+'\x22.';}[a48k(0xf6)](){const r=a48k,a=CommandFactory[r(0xe1)]();let b=r(0xe3);for(const c in a){if(a[r(0x103)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
@@ -1 +1 @@
1
- function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x118;var f=c[d];return f;},a49d(a,b);}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x125))/0x1*(parseInt(f(0x126))/0x2)+parseInt(f(0x11f))/0x3*(-parseInt(f(0x11c))/0x4)+parseInt(f(0x11d))/0x5*(parseInt(f(0x11a))/0x6)+parseInt(f(0x119))/0x7+parseInt(f(0x124))/0x8+parseInt(f(0x123))/0x9+-parseInt(f(0x11b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x3f2d2));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0x120)]('(((.+)+)+)+$')[h(0x118)]()[h(0x122)](a49a)[h(0x120)](h(0x121));});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';function a49c(){var i=['87ohPDog','search','(((.+)+)+)+$','constructor','1940562imflpq','3330560CwcssA','23DknnlY','27326DptebT','toString','180803izaSED','108vuhlzb','761690rYmODV','26932uAwQhe','51855MgJtTN','apply'];a49c=function(){return i;};return a49c();}
1
+ (function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x118))/0x1+-parseInt(f(0x116))/0x2*(parseInt(f(0x10d))/0x3)+parseInt(f(0x10e))/0x4*(-parseInt(f(0x10f))/0x5)+-parseInt(f(0x111))/0x6*(parseInt(f(0x117))/0x7)+parseInt(f(0x10b))/0x8*(parseInt(f(0x110))/0x9)+parseInt(f(0x10a))/0xa+-parseInt(f(0x114))/0xb*(-parseInt(f(0x115))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x2c1f6));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x109;var f=c[d];return f;},a49d(a,b);}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x10c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x112)]()[h(0x113)](h(0x109))[h(0x112)]()['constructor'](a49a)[h(0x113)](h(0x109));});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a49c(){var i=['2250420hAAIlB','4UqntBu','29722fpxwmh','585kaxtoE','(((.+)+)+)+$','1622280HCsGvM','10576IVgBMS','apply','159738pVDzLS','549992NkZiPc','5SLTfgm','2133QyBNvc','336WEshQv','toString','search','11xbOqfE'];a49c=function(){return i;};return a49c();}export*from'./scene.js';
@@ -1 +1 @@
1
- function a50c(){var n=['45TMEEtR','constructor','search','roomB','checkIfLockable','15034283khdtKI','getInstance','89qkChoq','name','To\x20','14729544aSBGUh','isLocked','checkIfLocked','8266fXKgfc','\x20and\x20','toString','attemptUnlock','getOtherSide','.\x20Used:\x20','unlockItemOrSolution','(((.+)+)+)+$','909102cmDrjU','7331576OuTdBu','10NMndJi','4938aPRaaE','roomA','logger','Door\x20unlocked:\x20','write','27xjWwjp','Door\x20created\x20between\x20','isLockable','129832ChhRzF','2680clOtzb'];a50c=function(){return n;};return a50c();}var a50h=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0x9b))/0x1*(-parseInt(f(0xa1))/0x2)+-parseInt(f(0xac))/0x3*(parseInt(f(0xb5))/0x4)+parseInt(f(0xb6))/0x5*(parseInt(f(0xa9))/0x6)+parseInt(f(0xaa))/0x7+parseInt(f(0xb4))/0x8*(parseInt(f(0xb1))/0x9)+-parseInt(f(0xab))/0xa*(parseInt(f(0x99))/0xb)+parseInt(f(0x9e))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xcf760));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var g=a50d;return a50a[g(0xa3)]()['search'](g(0xa8))[g(0xa3)]()[g(0xb7)](a50a)[g(0xb8)]('(((.+)+)+)+$');});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x98;var f=c[d];return f;},a50d(a,b);}export class Door extends AbstractDoor{[a50h(0xad)];['roomB'];[a50h(0x9f)];[a50h(0xa7)];[a50h(0x9c)];[a50h(0xae)];[a50h(0xb3)];constructor(a){var i=a50h;super(),this['roomA']=a['roomA'],this[i(0xb9)]=a['roomB'],this[i(0x9f)]=a[i(0x9f)]||![],this[i(0xa7)]=a[i(0xa7)],this[i(0x9c)]=a[i(0x9c)]?capitalCase(a[i(0x9c)]):i(0x9d)+a['roomB']['name'],this[i(0xae)]=Logger[i(0x9a)](),this[i(0xb3)]=!!a[i(0xa7)],this[i(0xae)][i(0xb0)](i(0xb2)+this['roomA'][i(0x9c)]+i(0xa2)+this[i(0xb9)][i(0x9c)]+'.\x20Is\x20Locked:\x20'+this['isLocked']);}[a50h(0xa5)](a){var j=a50h;return this['roomA']===a?this[j(0xb9)]:this['roomA'];}[a50h(0xa4)](a){var k=a50h;if(this[k(0x9f)]&&this[k(0xa7)]&&this[k(0xa7)]===a)return this[k(0x9f)]=![],this[k(0xae)][k(0xb0)](k(0xaf)+this['name']+k(0xa6)+a),!![];return this[k(0xae)]['write']('Failed\x20to\x20unlock\x20door:\x20'+this[k(0x9c)]+k(0xa6)+a),![];}[a50h(0xa0)](){var l=a50h;return this[l(0x9f)];}[a50h(0x98)](){var m=a50h;return this[m(0xb3)];}}
1
+ var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x136))/0x1+-parseInt(f(0x122))/0x2*(parseInt(f(0x130))/0x3)+-parseInt(f(0x11f))/0x4+-parseInt(f(0x117))/0x5*(parseInt(f(0x11b))/0x6)+parseInt(f(0x137))/0x7*(parseInt(f(0x12d))/0x8)+parseInt(f(0x123))/0x9*(parseInt(f(0x12c))/0xa)+-parseInt(f(0x118))/0xb*(-parseInt(f(0x11e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x7885a));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x133)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a['toString']()['search']('(((.+)+)+)+$')[h(0x116)]()[h(0x12e)](a50a)[h(0x12a)](h(0x138));});a50a();import{Logger}from'../utilities/logger.js';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x116;var f=c[d];return f;},a50d(a,b);}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a50c(){var m=['.\x20Is\x20Locked:\x20','roomA','825309nIzICp','1899492XgtPXe','(((.+)+)+)+$','toString','78200FmIACZ','44QPYiUY','getOtherSide','getInstance','96rMYpac','.\x20Used:\x20','unlockItemOrSolution','2978928Jhnjzp','1009448sWOXCs','isLockable','write','99868uCaBOq','495KqcQfa','checkIfLocked','isLocked','logger','Door\x20unlocked:\x20','name','attemptUnlock','search','checkIfLockable','93430vfRgkj','24pjCDRY','constructor','\x20and\x20','30ltCwDn','To\x20','roomB','apply'];a50c=function(){return m;};return a50c();}export class Door extends AbstractDoor{[a50i(0x135)];[a50i(0x132)];['isLocked'];[a50i(0x11d)];[a50i(0x128)];['logger'];[a50i(0x120)];constructor(a){var j=a50i;super(),this[j(0x135)]=a[j(0x135)],this[j(0x132)]=a[j(0x132)],this[j(0x125)]=a['isLocked']||![],this[j(0x11d)]=a[j(0x11d)],this[j(0x128)]=a['name']?capitalCase(a[j(0x128)]):j(0x131)+a[j(0x132)][j(0x128)],this['logger']=Logger[j(0x11a)](),this[j(0x120)]=!!a[j(0x11d)],this[j(0x126)][j(0x121)]('Door\x20created\x20between\x20'+this[j(0x135)]['name']+j(0x12f)+this[j(0x132)][j(0x128)]+j(0x134)+this[j(0x125)]);}[a50i(0x119)](a){var k=a50i;return this[k(0x135)]===a?this['roomB']:this['roomA'];}[a50i(0x129)](a){var l=a50i;if(this[l(0x125)]&&this[l(0x11d)]&&this[l(0x11d)]===a)return this[l(0x125)]=![],this['logger'][l(0x121)](l(0x127)+this[l(0x128)]+l(0x11c)+a),!![];return this['logger'][l(0x121)]('Failed\x20to\x20unlock\x20door:\x20'+this['name']+l(0x11c)+a),![];}[a50i(0x124)](){return this['isLocked'];}[a50i(0x12b)](){return this['isLockable'];}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x17e))/0x1*(parseInt(f(0x19a))/0x2)+parseInt(f(0x1a5))/0x3*(-parseInt(f(0x1a0))/0x4)+-parseInt(f(0x19b))/0x5*(parseInt(f(0x1aa))/0x6)+-parseInt(f(0x186))/0x7*(-parseInt(f(0x180))/0x8)+-parseInt(f(0x189))/0x9+parseInt(f(0x18c))/0xa*(-parseInt(f(0x191))/0xb)+parseInt(f(0x1ab))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x96b69));function a51c(){const q=['2805215cihjJh','getAllItems','\x20in\x20','(((.+)+)+)+$','Listed\x20items\x20in\x20inventory:\x20','1350464qwdzxz','delete','weight','constructor','\x20to\x20inventory.','6anYKGm','getItem','Removed\x20item:\x20','keys','items','6jusYnf','33260148RlsLWA','apply','2417JsEBEH','toLowerCase','1369432SUVPFQ','write','Failed\x20to\x20remove\x20item:\x20','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','.\x20Exists:\x20','listItems','49FHKjuw','Retrieved\x20details\x20for\x20item:\x20','\x20from\x20inventory.','6987564KgtORg','set','Checked\x20for\x20item:\x20','4190NAtsYK','getInstance','map','get','Added\x20item:\x20','17347MORZKo','logger','hasItem','name','has','toString','search','join','.\x20Item\x20not\x20found.','562UdxVBT'];a51c=function(){return q;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x17e;let f=c[d];return f;},a51d(a,b);}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x196)]()[h(0x197)](h(0x19e))[h(0x196)]()[h(0x1a3)](a51a)[h(0x197)](h(0x19e));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0x1a9)];['logger'];constructor(){const j=a51i;super(),this[j(0x1a9)]=new Map(),this[j(0x192)]=Logger[j(0x18d)]();}['addItem'](a){const k=a51i;this[k(0x1a9)][k(0x18a)](a[k(0x194)][k(0x17f)](),a),this[k(0x192)][k(0x181)](k(0x190)+a[k(0x194)]+k(0x1a4));}['removeItem'](a){const l=a51i,b=this[l(0x1a6)](a);if(b)return this[l(0x1a9)][l(0x1a1)](a['toLowerCase']()),this['logger'][l(0x181)](l(0x1a7)+a+l(0x188)),b;return this['logger'][l(0x181)](l(0x182)+a+'.\x20Item\x20not\x20found.'),null;}[a51i(0x193)](a){const m=a51i,b=this[m(0x1a9)][m(0x195)](a[m(0x17f)]()),c=[...this['items']['keys']()];return this['logger'][m(0x181)](m(0x18b)+a+m(0x19d)+c[m(0x198)](',\x20')+m(0x184)+b+'.'),b;}[a51i(0x1a6)](a){const n=a51i,b=this[n(0x1a9)][n(0x18f)](a[n(0x17f)]())||null;return b?this[n(0x192)][n(0x181)](n(0x187)+a+'.'):this[n(0x192)]['write'](n(0x183)+a+n(0x199)),b;}[a51i(0x185)](){const o=a51i,a=[...this[o(0x1a9)][o(0x1a8)]()],b=a[o(0x18e)](c=>capitalCase(c));return this['logger'][o(0x181)](o(0x19f)+b['join'](',\x20')+'.'),a;}['getWeight'](){const p=a51i;let a=0x0;for(const b of this[p(0x1a9)]['values']()){a+=b[p(0x1a2)];}return a;}[a51i(0x19c)](){return[...this['items']['values']()];}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0xcc))/0x1+-parseInt(f(0xd1))/0x2*(parseInt(f(0xd7))/0x3)+-parseInt(f(0xd4))/0x4*(parseInt(f(0xc4))/0x5)+-parseInt(f(0xca))/0x6+parseInt(f(0xc5))/0x7*(-parseInt(f(0xb6))/0x8)+-parseInt(f(0xc2))/0x9+parseInt(f(0xbd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x910f0));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xbb)]()[h(0xd2)]('(((.+)+)+)+$')[h(0xbb)]()['constructor'](a51a)[h(0xd2)](h(0xbe));});a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xb2;let f=c[d];return f;},a51d(a,b);}import{capitalCase}from'change-case';function a51c(){const r=['Removed\x20item:\x20','keys','set','8bHZkRA','logger','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','listItems','apply','toString','values','21382780vkhzCe','(((.+)+)+)+$','\x20to\x20inventory.','join','weight','3580272TCgSHE','name','381805rovxOQ','4532486LIakzj','Retrieved\x20details\x20for\x20item:\x20','.\x20Exists:\x20','Listed\x20items\x20in\x20inventory:\x20','Failed\x20to\x20remove\x20item:\x20','5635824hQQXMz','\x20from\x20inventory.','1081142lRBzCc','getAllItems','toLowerCase','\x20in\x20','.\x20Item\x20not\x20found.','2KUbmZi','search','map','28MXvUYH','items','write','318369VDnwJB','getItem','Added\x20item:\x20','removeItem','getInstance','Checked\x20for\x20item:\x20'];a51c=function(){return r;};return a51c();}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0xd5)];[a51i(0xb7)];constructor(){const j=a51i;super(),this[j(0xd5)]=new Map(),this[j(0xb7)]=Logger[j(0xdb)]();}['addItem'](a){const k=a51i;this['items'][k(0xb5)](a[k(0xc3)][k(0xce)](),a),this[k(0xb7)][k(0xd6)](k(0xd9)+a[k(0xc3)]+k(0xbf));}[a51i(0xda)](a){const l=a51i,b=this[l(0xd8)](a);if(b)return this[l(0xd5)]['delete'](a[l(0xce)]()),this[l(0xb7)]['write'](l(0xb3)+a+l(0xcb)),b;return this[l(0xb7)][l(0xd6)](l(0xc9)+a+l(0xd0)),null;}['hasItem'](a){const m=a51i,b=this[m(0xd5)]['has'](a[m(0xce)]()),c=[...this[m(0xd5)][m(0xb4)]()];return this[m(0xb7)]['write'](m(0xb2)+a+m(0xcf)+c[m(0xc0)](',\x20')+m(0xc7)+b+'.'),b;}[a51i(0xd8)](a){const n=a51i,b=this['items']['get'](a[n(0xce)]())||null;return b?this['logger'][n(0xd6)](n(0xc6)+a+'.'):this[n(0xb7)][n(0xd6)](n(0xb8)+a+n(0xd0)),b;}[a51i(0xb9)](){const o=a51i,a=[...this[o(0xd5)][o(0xb4)]()],b=a[o(0xd3)](c=>capitalCase(c));return this['logger'][o(0xd6)](o(0xc8)+b['join'](',\x20')+'.'),a;}['getWeight'](){const p=a51i;let a=0x0;for(const b of this[p(0xd5)][p(0xbc)]()){a+=b[p(0xc1)];}return a;}[a51i(0xcd)](){const q=a51i;return[...this[q(0xd5)][q(0xbc)]()];}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1b3))/0x1+parseInt(f(0x1ba))/0x2*(parseInt(f(0x1b2))/0x3)+parseInt(f(0x1a7))/0x4*(-parseInt(f(0x1b8))/0x5)+-parseInt(f(0x1b0))/0x6*(parseInt(f(0x1ad))/0x7)+-parseInt(f(0x1c1))/0x8+-parseInt(f(0x1bb))/0x9*(-parseInt(f(0x1a9))/0xa)+parseInt(f(0x1b1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xefb4d));function a52c(){var l=['108yvZfmj','56642047BqyXGc','774678AyRjpv','369821uWHPJm','texture','weight','(((.+)+)+)+$','uuid','5KSjpju','.\x20Nothing\x20special\x20happens.','6ZLfClv','39789BVbzqX','apply','You\x20use\x20the\x20','category','color','description','7925832JkRFrT','search','size','7491732WMwafV','name','570TYFpZl','rating','constructor','shape','762468alOIGI','toString','use'];a52c=function(){return l;};return a52c();}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x1a5)](h(0x1b6))[h(0x1ae)]()[h(0x1ab)](a52a)[h(0x1a5)](h(0x1b6));});a52a();function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1a5;var f=c[d];return f;},a52d(a,b);}import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];['name'];['description'];['size'];[a52i(0x1be)];[a52i(0x1ac)];['color'];['texture'];[a52i(0x1aa)];[a52i(0x1b5)];constructor(a){var j=a52i;super(),this[j(0x1a8)]=a[j(0x1a8)],this['description']=a[j(0x1c0)],this[j(0x1a6)]=a[j(0x1a6)],this[j(0x1be)]=a[j(0x1be)],this['shape']=a['shape'],this[j(0x1bf)]=a[j(0x1bf)],this[j(0x1b4)]=a['texture'],this[j(0x1aa)]=a[j(0x1aa)],this[j(0x1b5)]=a[j(0x1b5)],this[j(0x1b7)]=a52e();}[a52i(0x1af)](){var k=a52i;return k(0x1bd)+this['name']+k(0x1b9);}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x136))/0x1+-parseInt(f(0x137))/0x2+parseInt(f(0x12a))/0x3*(-parseInt(f(0x13a))/0x4)+-parseInt(f(0x139))/0x5*(-parseInt(f(0x12c))/0x6)+parseInt(f(0x130))/0x7*(-parseInt(f(0x12b))/0x8)+parseInt(f(0x141))/0x9+parseInt(f(0x135))/0xa*(parseInt(f(0x142))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xa9935));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x138)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x143)]()[h(0x140)](h(0x12f))[h(0x143)]()[h(0x134)](a52a)[h(0x140)](h(0x12f));});function a52c(){var l=['color','rating','search','6808554FLlYQY','607981YVhfOH','toString','weight','1864806dciaDq','124984xNAwaO','2364GGuNNE','texture','.\x20Nothing\x20special\x20happens.','(((.+)+)+)+$','406mpMLrj','category','use','uuid','constructor','180Zkftip','672561Siudic','2608080riTQxB','apply','13990VhZtVT','4PYIhMY','description','name','shape'];a52c=function(){return l;};return a52c();}a52a();function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x12a;var f=c[d];return f;},a52d(a,b);}import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0x133)];[a52i(0x13c)];[a52i(0x13b)];['size'];[a52i(0x131)];[a52i(0x13d)];['color'];['texture'];[a52i(0x13f)];[a52i(0x144)];constructor(a){var j=a52i;super(),this[j(0x13c)]=a[j(0x13c)],this[j(0x13b)]=a['description'],this['size']=a['size'],this['category']=a[j(0x131)],this[j(0x13d)]=a[j(0x13d)],this[j(0x13e)]=a[j(0x13e)],this[j(0x12d)]=a['texture'],this[j(0x13f)]=a['rating'],this[j(0x144)]=a[j(0x144)],this[j(0x133)]=a52e();}[a52i(0x132)](){var k=a52i;return'You\x20use\x20the\x20'+this[k(0x13c)]+k(0x12e);}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x184))/0x1*(parseInt(f(0x188))/0x2)+parseInt(f(0x191))/0x3+-parseInt(f(0x180))/0x4+parseInt(f(0x18e))/0x5*(parseInt(f(0x185))/0x6)+parseInt(f(0x18a))/0x7*(parseInt(f(0x17f))/0x8)+parseInt(f(0x195))/0x9+-parseInt(f(0x18c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x6925e));function a53c(){const o=['moveTo','262713cNuBZh','speak','_dialogue','apply','4504302qgszqC','length','rooms','5792zubYaL','1658412fXjlTE','scene','floor','toString','664061uFLdyW','18ryBHeY','random','execute','2hSBxUR','name','7399Zioqbk','search','19498930nGSlnG','_name','1296340Tjvorw','(((.+)+)+)+$'];a53c=function(){return o;};return a53c();}function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x17f;let f=c[d];return f;},a53d(a,b);}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x183)]()['search'](h(0x18f))[h(0x183)]()['constructor'](a53a)[h(0x18b)]('(((.+)+)+)+$');});a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0x18d)];[a53i(0x193)];[a53i(0x197)];[a53i(0x181)];constructor(a,b,c,d){const j=a53i;super(d),this['_name']=a,this['_dialogue']=b,this[j(0x197)]=c;}get[a53i(0x189)](){const k=a53i;return this[k(0x18d)];}[a53i(0x192)](){const l=a53i;return this['_dialogue'][Math[l(0x182)](Math['random']()*this[l(0x193)][l(0x196)])];}['autonomousMove'](a){const m=a53i,b=a[Math[m(0x182)](Math[m(0x186)]()*a[m(0x196)])];this[m(0x190)](b[m(0x189)]);}[a53i(0x190)](a){const n=a53i,b={'actor':this,'rooms':this[n(0x197)],'scene':this[n(0x181)]},c=new GoCommand(b);c[n(0x187)]([a]);}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x17c))/0x1+parseInt(f(0x185))/0x2+-parseInt(f(0x17b))/0x3*(-parseInt(f(0x18e))/0x4)+-parseInt(f(0x183))/0x5+parseInt(f(0x18f))/0x6*(parseInt(f(0x18d))/0x7)+parseInt(f(0x193))/0x8+parseInt(f(0x191))/0x9*(-parseInt(f(0x18c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x99a8f));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x189)]()[h(0x188)](h(0x182))[h(0x189)]()['constructor'](a53a)[h(0x188)](h(0x182));});a53a();import{Player}from'./player.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x17b;let f=c[d];return f;},a53d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];['_dialogue'];[a53i(0x17e)];['scene'];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x18a)]=a,this[j(0x18b)]=b,this[j(0x17e)]=c;}get[a53i(0x181)](){return this['_name'];}[a53i(0x180)](){const k=a53i;return this[k(0x18b)][Math['floor'](Math[k(0x17f)]()*this[k(0x18b)][k(0x184)])];}[a53i(0x192)](a){const l=a53i,b=a[Math['floor'](Math[l(0x17f)]()*a[l(0x184)])];this[l(0x187)](b['name']);}[a53i(0x187)](a){const m=a53i,b={'actor':this,'rooms':this[m(0x17e)],'scene':this[m(0x190)]},c=new GoCommand(b);c[m(0x186)]([a]);}}function a53c(){const n=['_name','_dialogue','110GqBivK','27790QGmciS','16HbCLNq','1698HaFyoy','scene','564669zacmbc','autonomousMove','1771800TJqBtI','767868dWyccD','1056180ZbxJry','apply','rooms','random','speak','name','(((.+)+)+)+$','1775775NyTXWL','length','724136rMoYyD','execute','moveTo','search','toString'];a53c=function(){return n;};return a53c();}
@@ -1 +1 @@
1
- const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0xa0))/0x1*(parseInt(f(0x9e))/0x2)+parseInt(f(0x92))/0x3*(parseInt(f(0x72))/0x4)+parseInt(f(0x98))/0x5+-parseInt(f(0x9a))/0x6+-parseInt(f(0xba))/0x7*(-parseInt(f(0x7b))/0x8)+-parseInt(f(0xca))/0x9+parseInt(f(0xac))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x9758f));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0xb7)]()[h(0xb8)]('(((.+)+)+)+$')[h(0xb7)]()[h(0x87)](a54a)[h(0xb8)]('(((.+)+)+)+$');});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x71;let f=c[d];return f;},a54d(a,b);}import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54i(0xa2)];['_currentLocation'];[a54i(0x8b)];[a54i(0x79)];[a54i(0x82)]=0x32;[a54i(0xc5)];constructor(a){const j=a54i;super(),this[j(0xa2)]=a['playerName'],this[j(0x9c)]=a[j(0xab)]||new Room({'name':j(0xbc),'description':j(0xb9)}),this[j(0x8b)]=new Inventory(),this['logger']=Logger[j(0x8f)]();if(a?.[j(0x7f)])for(const b of a[j(0x7f)]){this[j(0x8b)][j(0x83)](b);}this[j(0x79)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a54i;return this[k(0xa2)];}get[a54i(0xb4)](){const l=a54i;return this[l(0x9c)];}set['currentLocation'](a){const m=a54i;this['_currentLocation']!==a&&(this[m(0xc0)](),this['enterRoom'](a)),this['_currentLocation']=a;}get[a54i(0x71)](){const n=a54i;return this[n(0x8b)];}get[a54i(0x88)](){return this['_equipment'];}set[a54i(0x88)](a){const o=a54i;this[o(0x79)]=a;}get[a54i(0x78)](){const p=a54i;return this[p(0x82)];}set[a54i(0x78)](a){const q=a54i;a>0x0?this['_maxCarryingWeight']=a:console[q(0xa4)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a54i(0x7c)](){const r=a54i;let a=this['_inventory']['getWeight']();for(const b in this[r(0x79)]){const c=this['_equipment'][b];c&&(a+=c[r(0x89)]);}return a;}[a54i(0xa1)](a){const s=a54i;if(this[s(0x7c)]+a['weight']>this[s(0x78)]){this[s(0xc5)][s(0x77)](s(0xad));throw new Error(s(0x8a));}this[s(0x8b)][s(0x83)](a),this['logger'][s(0x77)]('Added\x20'+a[s(0x80)]+'\x20to\x20player\x27s\x20inventory.');}[a54i(0xc4)](a){const t=a54i;if(this[t(0x8b)][t(0xcc)](a['name']))return this[t(0xc5)][t(0x77)](t(0x76)+a[t(0x80)]+t(0x9b)),!![];return this[t(0xc5)][t(0x77)](t(0x94)+a[t(0x80)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a54i(0xc1)](a){const u=a54i;if(!this[u(0x8b)][u(0xa9)](a[u(0x80)]))return u(0xaa)+a[u(0x80)]+u(0x81);if(!this[u(0x93)](a))return u(0x99)+a[u(0x80)]+'.';const b=this[u(0xa6)](a[u(0xa8)]);if(!b)return a[u(0x80)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[u(0x88)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+u(0xa5);return this['equipment'][b]=a,this[u(0xc4)](a),'You\x20equipped\x20'+a[u(0x80)]+'.';}[a54i(0x9f)](a){const v=a54i;let b=a;if(!this[v(0x88)][camelCase(b)]){b=this[v(0xa6)](a);if(!b)return v(0xbd)+a+'.';}return this[v(0xb3)](b);}[a54i(0xa6)](a){const w=a54i;switch(a[w(0x7e)]()){case Category['Weapon'][w(0x7e)]():return w(0xb1);case Category[w(0x8c)]['toLowerCase']():return w(0xb2);case Category['Gloves'][w(0x7e)]():return'gloves';case Category[w(0xa3)][w(0x7e)]():case Category[w(0xbb)][w(0x7e)]():return'head';case Category[w(0x97)][w(0x7e)]():return w(0xb0);case Category[w(0x74)]['toLowerCase']():return w(0xb5);case Category[w(0x7a)][w(0x7e)]():return'arms';case Category[w(0xbe)][w(0x7e)]():return w(0x90);case w(0xc2):return w(0xb1);case w(0xc3):return w(0xb2);case w(0x7d):return w(0x7d);case w(0xb6):case w(0x91):return'head';case'boots':return w(0xb0);case w(0x85):case w(0xae):return w(0xb5);case'arm\x20armor':case w(0xc7):return w(0x96);case w(0xa7):case w(0xc6):case w(0x90):return w(0x90);default:return null;}}[a54i(0x93)](a){const x=a54i;return Object[x(0x75)](Category)['includes'](a[x(0xa8)]);}['unequipBySlot'](a){const y=a54i,b=this[y(0x88)][a];if(!b)return y(0x73)+a+y(0xc8);return this[y(0xa1)](b),this[y(0x88)][a]=null,y(0xbf)+b['name']+'.';}[a54i(0x84)](a,b){const z=a54i;a!==this&&this[z(0xc5)]['log'](a['name']+z(0x9d)+b+'\x22');}[a54i(0x86)](a){const A=a54i;this[A(0x9c)]=a,a['on']('speak',this[A(0x84)][A(0xc9)](this)),this['logger'][A(0x77)](this[A(0x80)]+A(0x8e)+a[A(0x80)]);}['leaveRoom'](){const B=a54i;this[B(0x9c)]&&(this[B(0x9c)][B(0xcb)](B(0x8d),this[B(0x84)][B(0xc9)](this)),this[B(0xc5)]['write'](this['name']+B(0xaf)+this[B(0x9c)][B(0x80)]));}}function a54c(){const C=['leftHand','unequipBySlot','currentLocation','legs','helmet','toString','search','A\x20featureless\x20room','623pnzhDp','Hat','Nexus','Invalid\x20category\x20or\x20slot:\x20','BodyArmor','You\x20unequipped\x20','leaveRoom','equip','weapon','shield','removeInventory','logger','bodyarmor','armarmor','\x20slot.','bind','5362263qRvckM','off','removeItem','inventory','1172dfUXkP','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','LegArmor','values','Removed\x20','write','maxCarryingWeight','_equipment','ArmArmor','43224aZDjsK','currentWeight','gloves','toLowerCase','inventoryItems','name','\x20in\x20your\x20inventory.','_maxCarryingWeight','addItem','hear','leg\x20armor','enterRoom','constructor','equipment','weight','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','_inventory','Shield','speak','\x20is\x20now\x20listening\x20in\x20room\x20','getInstance','torso','hat','1950WnIUqL','canEquip','Failed\x20to\x20remove\x20','apply','arms','Boots','1465995gNbIbo','You\x20can\x27t\x20equip\x20','781986IaOvWK','\x20from\x20player\x27s\x20inventory.','_currentLocation','\x20says:\x20\x22','2JxgSAD','unequip','408163hYQZPD','addInventory','_playerName','Helmet','error','.\x20You\x20must\x20unequip\x20it\x20first.','determineEquipmentSlot','body\x20armor','category','hasItem','You\x20don\x27t\x20have\x20','startLocation','7897040PpqVFU','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','legarmor','\x20is\x20no\x20longer\x20listeng\x20in\x20','feet','rightHand'];a54c=function(){return C;};return a54c();}
1
+ const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0xb1))/0x1+parseInt(f(0x86))/0x2*(parseInt(f(0xc5))/0x3)+-parseInt(f(0xb4))/0x4+-parseInt(f(0x88))/0x5*(-parseInt(f(0xde))/0x6)+parseInt(f(0xc9))/0x7*(parseInt(f(0xa3))/0x8)+parseInt(f(0xc3))/0x9+-parseInt(f(0xa8))/0xa*(-parseInt(f(0x9b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xbccec));function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x86;let f=c[d];return f;},a54d(a,b);}function a54c(){const C=['boots','log','hasItem','Failed\x20to\x20remove\x20','Shield','164124xnvenj','2138prpVSo','gloves','110stBKkU','playerName','maxCarryingWeight','category','_playerName','currentWeight','ArmArmor','Gloves','logger','Boots','addItem','determineEquipmentSlot','_inventory','Added\x20','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','head','toLowerCase','unequipBySlot','_maxCarryingWeight','86537oaeZCi','search','\x20to\x20player\x27s\x20inventory.','hear','body\x20armor','Invalid\x20category\x20or\x20slot:\x20','You\x20don\x27t\x20have\x20','Helmet','448fkhQSx','weapon','write','bind','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','330nJmWZP','feet','Nexus','getWeight','startLocation','armarmor','torso','\x20slot.','apply','557320arpSel','(((.+)+)+)+$','values','5351676XvFNft','legs','canEquip','_currentLocation','inventoryItems','currentLocation','arm\x20armor','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','inventory','.\x20You\x20must\x20unequip\x20it\x20first.','getInstance','leaveRoom','bodyarmor','leg\x20armor','rightHand','11057157QWgpIN','Max\x20carrying\x20weight\x20must\x20be\x20positive.','489bLOeqm','\x20from\x20player\x27s\x20inventory.','equipment','enterRoom','50547mYLRcy','Removed\x20','You\x20can\x27t\x20equip\x20','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','off','shield','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','removeInventory','_equipment','toString','name','speak','arms','leftHand','equip','weight'];a54c=function(){return C;};return a54c();}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0xd2)]()[h(0x9c)](h(0xb2))['toString']()['constructor'](a54a)[h(0x9c)](h(0xb2));});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54i(0x8c)];[a54i(0xb7)];[a54i(0x94)];[a54i(0xd1)];[a54i(0x9a)]=0x32;['logger'];constructor(a){const j=a54i;super(),this['_playerName']=a[j(0x89)],this['_currentLocation']=a[j(0xac)]||new Room({'name':j(0xaa),'description':'A\x20featureless\x20room'}),this[j(0x94)]=new Inventory(),this[j(0x90)]=Logger[j(0xbe)]();if(a?.[j(0xb8)])for(const b of a['inventoryItems']){this[j(0x94)]['addItem'](b);}this['_equipment']=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a54i;return this[k(0x8c)];}get[a54i(0xb9)](){const l=a54i;return this[l(0xb7)];}set[a54i(0xb9)](a){const m=a54i;this[m(0xb7)]!==a&&(this[m(0xbf)](),this['enterRoom'](a)),this[m(0xb7)]=a;}get[a54i(0xbc)](){const n=a54i;return this[n(0x94)];}get[a54i(0xc7)](){const o=a54i;return this[o(0xd1)];}set['equipment'](a){this['_equipment']=a;}get[a54i(0x8a)](){const p=a54i;return this[p(0x9a)];}set[a54i(0x8a)](a){const q=a54i;a>0x0?this[q(0x9a)]=a:console['error'](q(0xc4));}get[a54i(0x8d)](){const r=a54i;let a=this[r(0x94)][r(0xab)]();for(const b in this[r(0xd1)]){const c=this[r(0xd1)][b];c&&(a+=c[r(0xd8)]);}return a;}['addInventory'](a){const s=a54i;if(this[s(0x8d)]+a['weight']>this[s(0x8a)]){this[s(0x90)]['write'](s(0xcc));throw new Error(s(0xa7));}this[s(0x94)][s(0x92)](a),this[s(0x90)][s(0xa5)](s(0x95)+a[s(0xd3)]+s(0x9d));}[a54i(0xd0)](a){const t=a54i;if(this[t(0x94)]['removeItem'](a['name']))return this[t(0x90)][t(0xa5)](t(0xca)+a[t(0xd3)]+t(0xc6)),!![];return this[t(0x90)][t(0xa5)](t(0xdc)+a['name']+t(0xc6)),![];}[a54i(0xd7)](a){const u=a54i;if(!this['_inventory'][u(0xdb)](a['name']))return u(0xa1)+a[u(0xd3)]+'\x20in\x20your\x20inventory.';if(!this[u(0xb6)](a))return u(0xcb)+a[u(0xd3)]+'.';const b=this[u(0x93)](a[u(0x8b)]);if(!b)return a[u(0xd3)]+u(0x96);if(this[u(0xc7)][b])return u(0xbb)+b+u(0xbd);return this['equipment'][b]=a,this[u(0xd0)](a),'You\x20equipped\x20'+a[u(0xd3)]+'.';}['unequip'](a){const v=a54i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[v(0x93)](a);if(!b)return v(0xa0)+a+'.';}return this['unequipBySlot'](b);}['determineEquipmentSlot'](a){const w=a54i;switch(a[w(0x98)]()){case Category['Weapon'][w(0x98)]():return w(0xc2);case Category[w(0xdd)]['toLowerCase']():return w(0xd6);case Category[w(0x8f)][w(0x98)]():return w(0x87);case Category[w(0xa2)][w(0x98)]():case Category['Hat'][w(0x98)]():return w(0x97);case Category[w(0x91)][w(0x98)]():return'feet';case Category['LegArmor']['toLowerCase']():return w(0xb5);case Category[w(0x8e)][w(0x98)]():return w(0xd5);case Category['BodyArmor'][w(0x98)]():return w(0xae);case w(0xa4):return w(0xc2);case w(0xce):return'leftHand';case'gloves':return w(0x87);case'helmet':case'hat':return w(0x97);case w(0xd9):return w(0xa9);case w(0xc1):case'legarmor':return w(0xb5);case w(0xba):case w(0xad):return'arms';case w(0x9f):case w(0xc0):case w(0xae):return w(0xae);default:return null;}}['canEquip'](a){const x=a54i;return Object[x(0xb3)](Category)['includes'](a[x(0x8b)]);}[a54i(0x99)](a){const y=a54i,b=this[y(0xc7)][a];if(!b)return y(0xcf)+a+y(0xaf);return this['addInventory'](b),this[y(0xc7)][a]=null,'You\x20unequipped\x20'+b[y(0xd3)]+'.';}[a54i(0x9e)](a,b){const z=a54i;a!==this&&this[z(0x90)][z(0xda)](a[z(0xd3)]+'\x20says:\x20\x22'+b+'\x22');}[a54i(0xc8)](a){const A=a54i;this[A(0xb7)]=a,a['on']('speak',this[A(0x9e)][A(0xa6)](this)),this[A(0x90)][A(0xa5)](this[A(0xd3)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[A(0xd3)]);}[a54i(0xbf)](){const B=a54i;this[B(0xb7)]&&(this[B(0xb7)][B(0xcd)](B(0xd4),this[B(0x9e)][B(0xa6)](this)),this[B(0x90)][B(0xa5)](this[B(0xd3)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[B(0xb7)][B(0xd3)]));}}
@@ -1 +1 @@
1
- var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x103))/0x1+-parseInt(f(0x10b))/0x2+parseInt(f(0x104))/0x3+parseInt(f(0xff))/0x4+parseInt(f(0x118))/0x5*(-parseInt(f(0xfc))/0x6)+-parseInt(f(0x105))/0x7+-parseInt(f(0x110))/0x8*(-parseInt(f(0x114))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xf2657));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()['search'](h(0x112))[h(0xfd)]()['constructor'](a55a)['search'](h(0x112));});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xfc;var f=c[d];return f;},a55d(a,b);}function a55c(){var m=['solve','riddle','hasRequiredItem','logger','apply','2214564LRNiXg','failureMessage','write','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','solved','2328aQRgrp','Puzzle:\x20Correct\x20solution\x20provided.','(((.+)+)+)+$','You\x20solved\x20the\x20puzzle!','148761SqwwxF','requiredPhrase','requiredItem','rewardItem','3435LxFSCe','12498hcHhvy','toString','successMessage','5171212miqzxN','getInstance','matchesRequiredPhrase','hasItem','1600995LOAWrR','284073QzyMPG','7456960HTeuhG'];a55c=function(){return m;};return a55c();}export class Puzzle extends AbstractPuzzle{[a55i(0x109)]=Logger[a55i(0x100)]();['solved']=![];['requiredItem'];[a55i(0x115)];[a55i(0x107)];[a55i(0x117)];[a55i(0xfe)];[a55i(0x10c)];constructor(a){var j=a55i;super(),this[j(0x116)]=a[j(0x116)],this['requiredPhrase']=a[j(0x115)],this[j(0x107)]=a[j(0x107)],this[j(0x117)]=a[j(0x117)],this[j(0xfe)]=a['successMessage']||j(0x113),this[j(0x10c)]=a['failureMessage']||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a55i(0x108)](a){var k=a55i;if(this[k(0x116)])return a[k(0x102)](this[k(0x116)]);return![];}[a55i(0x101)](a){return this['requiredPhrase']===a;}[a55i(0x106)](a,b){var l=a55i;if(this['solved'])return this[l(0x109)]['write']('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[l(0x108)](b)||this[l(0x101)](a)?(this[l(0x10f)]=!![],this[l(0x109)]['write'](l(0x111)),{'success':!![],'message':this[l(0xfe)]}):(this[l(0x109)][l(0x10d)](l(0x10e)),{'success':![],'message':this[l(0x10c)]});}}
1
+ function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xc6;var f=c[d];return f;},a55d(a,b);}var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xcf))/0x1*(-parseInt(f(0xc7))/0x2)+-parseInt(f(0xd7))/0x3+parseInt(f(0xde))/0x4+parseInt(f(0xd0))/0x5+parseInt(f(0xcd))/0x6*(-parseInt(f(0xcc))/0x7)+parseInt(f(0xdc))/0x8+parseInt(f(0xdd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x7f697));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0xd3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0xc8)]()[h(0xda)](h(0xdb))[h(0xc8)]()[h(0xd2)](a55a)[h(0xda)](h(0xdb));});a55a();import{Logger}from'../utilities/logger.js';function a55c(){var n=['You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','solved','write','21yrVyCr','1478910LxSwff','You\x20have\x20already\x20solved\x20this\x20puzzle.','61XLjtNm','1667535CTLWcf','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','constructor','apply','solve','successMessage','matchesRequiredPhrase','1727832CHcVKX','You\x20solved\x20the\x20puzzle!','hasRequiredItem','search','(((.+)+)+)+$','1505880UKhazf','2512656XOntmm','3111092JKUQWf','rewardItem','failureMessage','riddle','getInstance','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','logger','requiredPhrase','requiredItem','8478zWInYR','toString'];a55c=function(){return n;};return a55c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55i(0xe4)]=Logger[a55i(0xe2)]();[a55i(0xca)]=![];['requiredItem'];[a55i(0xe5)];[a55i(0xe1)];[a55i(0xdf)];[a55i(0xd5)];[a55i(0xe0)];constructor(a){var j=a55i;super(),this[j(0xc6)]=a[j(0xc6)],this['requiredPhrase']=a[j(0xe5)],this[j(0xe1)]=a[j(0xe1)],this[j(0xdf)]=a['rewardItem'],this[j(0xd5)]=a['successMessage']||j(0xd8),this[j(0xe0)]=a['failureMessage']||j(0xc9);}[a55i(0xd9)](a){var k=a55i;if(this[k(0xc6)])return a['hasItem'](this[k(0xc6)]);return![];}[a55i(0xd6)](a){var l=a55i;return this[l(0xe5)]===a;}[a55i(0xd4)](a,b){var m=a55i;if(this[m(0xca)])return this[m(0xe4)][m(0xcb)](m(0xd1)),{'success':![],'message':m(0xce)};return this[m(0xd9)](b)||this['matchesRequiredPhrase'](a)?(this['solved']=!![],this[m(0xe4)][m(0xcb)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[m(0xd5)]}):(this[m(0xe4)][m(0xcb)](m(0xe3)),{'success':![],'message':this[m(0xe0)]});}}
@@ -1 +1 @@
1
- const a56h=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x15a))/0x1*(parseInt(f(0x127))/0x2)+-parseInt(f(0x13e))/0x3+parseInt(f(0x135))/0x4+-parseInt(f(0x155))/0x5+parseInt(f(0x14c))/0x6+-parseInt(f(0x14d))/0x7+-parseInt(f(0x148))/0x8*(-parseInt(f(0x137))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x3015c));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const g=a56d;return a56a[g(0x12e)]()['search'](g(0x157))['toString']()[g(0x144)](a56a)['search'](g(0x157));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56h(0x15d)]=Logger[a56h(0x138)]();[a56h(0x141)];[a56h(0x142)];['exits']=new Map();[a56h(0x12d)];[a56h(0x15b)];[a56h(0x125)]=new Inventory();constructor(a){const i=a56h;super(),this[i(0x141)]=a[i(0x141)],this[i(0x142)]=a[i(0x142)],this[i(0x12d)]=a[i(0x12d)]||RoomType[i(0x159)],a[i(0x154)]&&(this[i(0x154)]=a[i(0x154)]||new Map()),a['inventory']&&(this[i(0x125)]=a['inventory']),a[i(0x12c)]&&(this[i(0x12c)]=a['puzzle']),this[i(0x15b)]=a[i(0x15b)]||![],this['logger']['write']('Room\x20created:\x20'+this[i(0x141)]);}[a56h(0x133)](a,b){const j=a56h;this[j(0x13c)](j(0x121),a,b);}[a56h(0x134)](a,b,c){const k=a56h;let d=this[k(0x150)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0x154)][k(0x146)](a,d),b[k(0x154)][k(0x146)](this[k(0x14f)](a),d);}[a56h(0x14e)](a,b){const l=a56h,c=this['exits'][l(0x151)](a);if(c instanceof Door){const d=c[l(0x132)](b);return this[l(0x15d)][l(0x143)](l(0x128)+a+l(0x122)+d),d?l(0x153)+c[l(0x141)]+l(0x140):l(0x153)+c[l(0x141)]+l(0x136);}return this[l(0x15d)][l(0x143)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),l(0x12b);}[a56h(0x126)](a){const m=a56h;return this[m(0x15d)]['write'](m(0x120)+a),this[m(0x154)][m(0x151)](a);}[a56h(0x15c)](a){const n=a56h,b=this[n(0x154)][n(0x151)](a),c=b instanceof Door&&b[n(0x12a)]();return this[n(0x15d)][n(0x143)](n(0x123)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a56h(0x139)](a){const o=a56h;this['inventory'][o(0x139)](a),this[o(0x15d)][o(0x143)](o(0x14b)+this['name']+':\x20'+a['name']);}['removeItem'](a){const p=a56h;this[p(0x125)][p(0x129)](a[p(0x141)])?(this['inventory'][p(0x130)](a['name']),this['logger'][p(0x143)]('Item\x20removed\x20from\x20room\x20'+this['name']+':\x20'+a[p(0x141)])):this[p(0x15d)][p(0x143)](p(0x13b)+this[p(0x141)]+':\x20'+a[p(0x141)]);}['setPuzzle'](a){const q=a56h;this[q(0x12c)]=a,this[q(0x15d)]['write'](q(0x149)+this['name']+':\x20'+a[q(0x13d)]);}[a56h(0x14f)](a){const r=a56h;switch(a){case r(0x13a):return Direction[r(0x145)];case r(0x158):return Direction[r(0x14a)];case r(0x152):return Direction[r(0x124)];case'west':return Direction['EAST'];case'up':return Direction[r(0x156)];case r(0x13f):return Direction['UP'];default:throw new Error(r(0x131)+a);}}[a56h(0x150)](a){const s=a56h;for(const b of this[s(0x154)]['values']()){if(b instanceof Door){if(b[s(0x147)]===this&&b['roomB']===a||b[s(0x12f)]===this&&b[s(0x147)]===a)return b;}}return undefined;}}function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x120;let f=c[d];return f;},a56d(a,b);}function a56c(){const t=['1264067kVGMmq','attemptUnlockExit','getOppositeDirection','findExistingDoor','get','east','The\x20','exits','342060CmdbnI','DOWN','(((.+)+)+)+$','south','INSIDE','1OdMJaV','isStartRoom','isExitLocked','logger','Fetching\x20exit\x20in\x20direction:\x20','speak','.\x20Success:\x20','Checking\x20if\x20exit\x20in\x20direction\x20','WEST','inventory','getExit','421706gfUnGC','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','hasItem','checkIfLocked','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','puzzle','roomType','toString','roomB','removeItem','Invalid\x20direction:\x20','attemptUnlock','say','addExit','1309380YzvpZb','\x20remains\x20locked.','27KFFZZo','getInstance','addItem','north','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','emit','riddle','1049907RwcWvS','down','\x20unlocked!','name','description','write','constructor','SOUTH','set','roomA','1524088LHlary','Puzzle\x20set\x20for\x20room\x20','NORTH','Item\x20added\x20to\x20room\x20','647358frfBaV'];a56c=function(){return t;};return a56c();}
1
+ const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x1b0))/0x1*(parseInt(f(0x1a7))/0x2)+parseInt(f(0x1d9))/0x3*(parseInt(f(0x1e2))/0x4)+parseInt(f(0x1c7))/0x5*(-parseInt(f(0x1e3))/0x6)+parseInt(f(0x1b8))/0x7*(-parseInt(f(0x1d6))/0x8)+parseInt(f(0x1c8))/0x9*(parseInt(f(0x1d3))/0xa)+-parseInt(f(0x1a2))/0xb*(-parseInt(f(0x1b7))/0xc)+parseInt(f(0x1cb))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xd61ff));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x1b3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a['toString']()['search'](h(0x1ac))[h(0x1c3)]()[h(0x1bc)](a56a)['search'](h(0x1ac));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x19f;let f=c[d];return f;},a56d(a,b);}function a56c(){const u=['roomB','removeItem','(((.+)+)+)+$','set','Checking\x20if\x20exit\x20in\x20direction\x20','DOWN','101482jbDsSF','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','getExit','apply','SOUTH','north','isExitLocked','4245684CsrABQ','7tcTPtN','The\x20','exits','south','constructor','emit','\x20is\x20locked.\x20Result:\x20','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','No\x20locked\x20exit\x20found\x20in\x20direction\x20','getInstance','name','toString','findExistingDoor','inventory','hasItem','842665lqWflh','323154mkhywB','say','Puzzle\x20set\x20for\x20room\x20','23938720ytMXSc','Room\x20created:\x20','getOppositeDirection','Item\x20removed\x20from\x20room\x20','write','down','isStartRoom','\x20remains\x20locked.','230UGtpuD','description','checkIfLocked','6376184SNqbJx','NORTH','attemptUnlock','6ILQJcg','west','EAST','get','\x20unlocked!','values','roomType','roomA','Invalid\x20direction:\x20','583444Mzaogk','60PJguEw','WEST','setPuzzle','attemptUnlockExit','44DLpHVc','.\x20Success:\x20','addItem','east','addExit','20oeQLrb','logger','puzzle'];a56c=function(){return u;};return a56c();}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0x1a8)]=Logger[a56i(0x1c1)]();[a56i(0x1c2)];[a56i(0x1d4)];[a56i(0x1ba)]=new Map();['roomType'];[a56i(0x1d1)];[a56i(0x1c5)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x1c2)]=a[j(0x1c2)],this[j(0x1d4)]=a[j(0x1d4)],this[j(0x1df)]=a[j(0x1df)]||RoomType['INSIDE'],a['exits']&&(this[j(0x1ba)]=a['exits']||new Map()),a['inventory']&&(this[j(0x1c5)]=a[j(0x1c5)]),a[j(0x1a9)]&&(this[j(0x1a9)]=a[j(0x1a9)]),this['isStartRoom']=a[j(0x1d1)]||![],this['logger'][j(0x1cf)](j(0x1cc)+this[j(0x1c2)]);}[a56i(0x1c9)](a,b){const k=a56i;this[k(0x1bd)]('speak',a,b);}[a56i(0x1a6)](a,b,c){const l=a56i;let d=this[l(0x1c4)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1ba)][l(0x1ad)](a,d),b[l(0x1ba)][l(0x1ad)](this[l(0x1cd)](a),d);}[a56i(0x1a1)](a,b){const m=a56i,c=this[m(0x1ba)][m(0x1dc)](a);if(c instanceof Door){const d=c[m(0x1d8)](b);return this[m(0x1a8)]['write'](m(0x1bf)+a+m(0x1a3)+d),d?m(0x1b9)+c[m(0x1c2)]+m(0x1dd):m(0x1b9)+c[m(0x1c2)]+m(0x1d2);}return this[m(0x1a8)][m(0x1cf)](m(0x1c0)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a56i(0x1b2)](a){const n=a56i;return this[n(0x1a8)][n(0x1cf)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0x1ba)][n(0x1dc)](a);}[a56i(0x1b6)](a){const o=a56i,b=this[o(0x1ba)][o(0x1dc)](a),c=b instanceof Door&&b[o(0x1d5)]();return this[o(0x1a8)][o(0x1cf)](o(0x1ae)+a+o(0x1be)+c),c;}[a56i(0x1a4)](a){const p=a56i;this[p(0x1c5)][p(0x1a4)](a),this[p(0x1a8)][p(0x1cf)]('Item\x20added\x20to\x20room\x20'+this['name']+':\x20'+a[p(0x1c2)]);}[a56i(0x1ab)](a){const q=a56i;this[q(0x1c5)][q(0x1c6)](a[q(0x1c2)])?(this['inventory'][q(0x1ab)](a['name']),this[q(0x1a8)][q(0x1cf)](q(0x1ce)+this[q(0x1c2)]+':\x20'+a[q(0x1c2)])):this['logger']['write'](q(0x1b1)+this[q(0x1c2)]+':\x20'+a['name']);}[a56i(0x1a0)](a){const r=a56i;this[r(0x1a9)]=a,this[r(0x1a8)][r(0x1cf)](r(0x1ca)+this['name']+':\x20'+a['riddle']);}[a56i(0x1cd)](a){const s=a56i;switch(a){case s(0x1b5):return Direction[s(0x1b4)];case s(0x1bb):return Direction[s(0x1d7)];case s(0x1a5):return Direction[s(0x19f)];case s(0x1da):return Direction[s(0x1db)];case'up':return Direction[s(0x1af)];case s(0x1d0):return Direction['UP'];default:throw new Error(s(0x1e1)+a);}}[a56i(0x1c4)](a){const t=a56i;for(const b of this['exits'][t(0x1de)]()){if(b instanceof Door){if(b[t(0x1e0)]===this&&b[t(0x1aa)]===a||b['roomB']===this&&b[t(0x1e0)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a57l=a57d;function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a57d(a,b);}(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0x1f4))/0x1*(-parseInt(i(0x216))/0x2)+-parseInt(i(0x219))/0x3+-parseInt(i(0x217))/0x4+parseInt(i(0x1fc))/0x5*(-parseInt(i(0x1e9))/0x6)+-parseInt(i(0x1d3))/0x7+parseInt(i(0x203))/0x8+-parseInt(i(0x20e))/0x9*(-parseInt(i(0x1f3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x1be9e));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a['toString']()[k(0x1e3)](k(0x1f6))['toString']()[k(0x1ef)](a57a)[k(0x1e3)](k(0x1f6));});a57a();import{Logger}from'../utilities/logger.js';function a57c(){const E=['getActor','currentLocation','rooms','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','length','1362792ikupyS','determineStartRoom','allActors','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','isStartRoom','.\x20Room\x20','exits','createExitsFromConfig','player','targetRoom','\x20found\x20in\x20the\x20scene.','135WGOMgW','keys','addPuzzleToRoom','values','addItemToRoom','getPlayer','Failed\x20to\x20add\x20item\x20','createRoom','18046zQnYRF','580140Kjuinb','Room\x20\x22','433767NGRhmU','name','183155PDvFoi','Scene\x20initialized\x20with\x20rooms:\x20','addItem','generateRoomsFromConfig','delete','toUpperCase','addExit','Added\x20room\x20to\x20scene:\x20','addRoom','\x22\x20does\x20not\x20exist.','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','write','apply','Failed\x20to\x20add\x20puzzle.\x20Room\x20','set','connectRooms','search','Added\x20puzzle\x20to\x20room\x20','roomConfiguration','join','setCharacterLocation','logger','716514pIXMTu','characterLocations','\x20not\x20found\x20in\x20scene.','actors','removeRoom','addActor','constructor','\x20to\x20room\x20','Failed\x20to\x20set\x20','from','337010TGUPai','14tsSLyH','initialize','(((.+)+)+)+$','has','push','get','roomFactory','\x20is\x20now\x20in\x20room\x20','5vSxLat','getRooms'];a57c=function(){return E;};return a57c();}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57l(0x200)];['player'];[a57l(0x1e8)];[a57l(0x1ec)];[a57l(0x1ea)]=new Map();[a57l(0x1fa)];constructor(a){const m=a57l;super(),this['roomFactory']=new RoomFactory(),this[m(0x20b)]=a[m(0x20b)],this['rooms']=this[m(0x1d6)](a[m(0x1e5)]),this[m(0x1e8)]=Logger['getInstance'](),this[m(0x1ec)]=new Map(),this['createExitsFromConfig'](a[m(0x1e5)]),this[m(0x1e8)][m(0x1de)](m(0x1d4)+Object[m(0x20f)](this[m(0x200)])[m(0x1e6)](',\x20'));}[a57l(0x1f5)](){const n=a57l;this[n(0x20b)][n(0x1ff)]=this[n(0x204)]();}['generateRoomsFromConfig'](a){const o=a57l;if(!this['roomFactory'])throw new Error(o(0x1dd));const b={};for(const c of a){const d=this['roomFactory'][o(0x215)](c);b[c['name']]=d;}return b;}[a57l(0x20a)](a){const p=a57l;for(const b of a){const c=this[p(0x200)][b[p(0x21a)]];if(b[p(0x209)])for(const d of b[p(0x209)]){const e=d['direction'][p(0x1d8)](),f=d[p(0x20c)],g=d['keyRequired'],h=this[p(0x200)][f];h&&c[p(0x1d9)](Direction[e],h,g);}}}[a57l(0x1ee)](a){const q=a57l;if(this[q(0x1ec)][q(0x1f7)](a['name']))throw new Error('Actor\x20with\x20name\x20'+a[q(0x21a)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x1ec)]['set'](a[q(0x21a)],a);}['removeActor'](a){const r=a57l;if(!this['actors'][r(0x1f7)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x20d));this[r(0x1ec)][r(0x1d7)](a);}[a57l(0x1fe)](a){const s=a57l;return this[s(0x1ec)]['get'](a);}get[a57l(0x205)](){const t=a57l;return Array[t(0x1f2)](this[t(0x1ec)][t(0x211)]());}[a57l(0x1db)](a){const u=a57l;this[u(0x200)][a[u(0x21a)]]=a,this['logger'][u(0x1de)](u(0x1da)+a['name']);}[a57l(0x1ed)](a){const v=a57l;return this[v(0x200)][a]?(delete this['rooms'][a],this['logger'][v(0x1de)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0x1e8)]['write']('Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'+a),![]);}[a57l(0x212)](a,b){const w=a57l,c=this[w(0x200)][b];c?(c[w(0x1d5)](a),this['logger'][w(0x1de)]('Added\x20item\x20'+a['name']+w(0x1f0)+c['name'])):this[w(0x1e8)][w(0x1de)](w(0x214)+a['name']+w(0x208)+b+w(0x1eb));}[a57l(0x210)](a,b){const x=a57l,c=this[x(0x200)][b];c?(c['setPuzzle'](a),this[x(0x1e8)][x(0x1de)](x(0x1e4)+c[x(0x21a)])):this['logger'][x(0x1de)](x(0x1e0)+b+x(0x1eb));}[a57l(0x1e7)](a,b){const y=a57l,c=this[y(0x200)][b];c?(this[y(0x1ea)][y(0x1e1)](a[y(0x21a)],c),this[y(0x1e8)]['write'](a['name']+y(0x1fb)+c[y(0x21a)])):this[y(0x1e8)][y(0x1de)](y(0x1f1)+a[y(0x21a)]+'\x27s\x20location.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const z=a57l;return this['characterLocations'][z(0x1f9)](a[z(0x21a)]);}[a57l(0x204)](){const A=a57l,a=[];for(const c in this[A(0x200)]){if(this[A(0x200)]['hasOwnProperty'](c)){const d=this[A(0x200)][c];d[A(0x207)]&&a[A(0x1f8)](d);}}if(a[A(0x202)]>0x1)throw new Error(A(0x206));if(a['length']===0x1)return a[0x0];const b=Object[A(0x20f)](this[A(0x200)]);if(b[A(0x202)]===0x0)throw new Error(A(0x201));return console['warn']('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[A(0x200)][b[0x0]];}[a57l(0x213)](){const B=a57l;return this[B(0x20b)];}[a57l(0x1fd)](){const C=a57l;return this[C(0x200)];}[a57l(0x1e2)](a,b,c,d){const D=a57l,e=this['rooms'][a],f=this[D(0x200)][c];if(!e)throw new Error(D(0x218)+a+D(0x1dc));if(!f)throw new Error('Room\x20\x22'+c+D(0x1dc));e[D(0x1d9)](b,f,d);}}
1
+ const a57l=a57d;function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x16c;let f=c[d];return f;},a57d(a,b);}(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0x17d))/0x1+-parseInt(i(0x173))/0x2*(-parseInt(i(0x18b))/0x3)+parseInt(i(0x1b5))/0x4+-parseInt(i(0x185))/0x5+parseInt(i(0x1aa))/0x6+-parseInt(i(0x1a2))/0x7+-parseInt(i(0x1ae))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x9a5e3));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x18d)]()[k(0x19c)](k(0x172))[k(0x18d)]()[k(0x1a4)](a57a)[k(0x19c)]('(((.+)+)+)+$');});a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a57c(){const C=['181230XjagdG','roomFactory','name','warn','getCharacterLocation','createRoom','write','getRooms','1752215rpGTdC','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','addExit','\x20is\x20now\x20in\x20room\x20','determineStartRoom','createExitsFromConfig','33WTsjyF','direction','toString','getActor','connectRooms','setPuzzle','\x20to\x20room\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','addRoom','hasOwnProperty','exits','initialize','logger','characterLocations','Room\x20\x22','generateRoomsFromConfig','keyRequired','search','addItemToRoom','setCharacterLocation','delete','toUpperCase','\x22\x20does\x20not\x20exist.','1483398RvcePX','allActors','constructor','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','length','Actor\x20with\x20name\x20','push','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','1111638MbIfna','player','actors','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','5806616DZqwZK','rooms','Added\x20item\x20','set','Failed\x20to\x20add\x20item\x20','keys','\x20not\x20found\x20in\x20scene.','4825884dmprYC','\x20found\x20in\x20the\x20scene.','isStartRoom','Added\x20puzzle\x20to\x20room\x20','removeActor','apply','removeRoom','.\x20Room\x20','getPlayer','get','addActor','Removed\x20room\x20from\x20scene:\x20','(((.+)+)+)+$','63182xVpiPE','Failed\x20to\x20set\x20','addItem','Scene\x20initialized\x20with\x20rooms:\x20','roomConfiguration','from','Failed\x20to\x20add\x20puzzle.\x20Room\x20','No\x20actor\x20with\x20name\x20','\x27s\x20location.\x20Room\x20','has'];a57c=function(){return C;};return a57c();}export class Scene extends AbstractScene{[a57l(0x1af)];['player'];[a57l(0x197)];[a57l(0x1ac)];[a57l(0x198)]=new Map();[a57l(0x17e)];constructor(a){const m=a57l;super(),this[m(0x17e)]=new RoomFactory(),this[m(0x1ab)]=a[m(0x1ab)],this[m(0x1af)]=this[m(0x19a)](a[m(0x177)]),this[m(0x197)]=Logger['getInstance'](),this['actors']=new Map(),this[m(0x18a)](a[m(0x177)]),this[m(0x197)][m(0x183)](m(0x176)+Object[m(0x1b3)](this[m(0x1af)])['join'](',\x20'));}[a57l(0x196)](){const n=a57l;this['player']['currentLocation']=this[n(0x189)]();}[a57l(0x19a)](a){const o=a57l;if(!this[o(0x17e)])throw new Error(o(0x1a9));const b={};for(const c of a){const d=this[o(0x17e)][o(0x182)](c);b[c[o(0x17f)]]=d;}return b;}[a57l(0x18a)](a){const p=a57l;for(const b of a){const c=this[p(0x1af)][b['name']];if(b[p(0x195)])for(const d of b[p(0x195)]){const e=d[p(0x18c)][p(0x1a0)](),f=d['targetRoom'],g=d[p(0x19b)],h=this[p(0x1af)][f];h&&c['addExit'](Direction[e],h,g);}}}[a57l(0x170)](a){const q=a57l;if(this[q(0x1ac)]['has'](a[q(0x17f)]))throw new Error(q(0x1a7)+a[q(0x17f)]+'\x20already\x20exists\x20in\x20the\x20scene.');this['actors']['set'](a[q(0x17f)],a);}[a57l(0x1b9)](a){const r=a57l;if(!this[r(0x1ac)][r(0x17c)](a))throw new Error(r(0x17a)+a+r(0x1b6));this['actors'][r(0x19f)](a);}[a57l(0x18e)](a){const s=a57l;return this[s(0x1ac)]['get'](a);}get[a57l(0x1a3)](){const t=a57l;return Array[t(0x178)](this['actors']['values']());}[a57l(0x193)](a){const u=a57l;this['rooms'][a['name']]=a,this['logger'][u(0x183)]('Added\x20room\x20to\x20scene:\x20'+a[u(0x17f)]);}[a57l(0x16c)](a){const v=a57l;return this[v(0x1af)][a]?(delete this[v(0x1af)][a],this['logger'][v(0x183)](v(0x171)+a),!![]):(this[v(0x197)][v(0x183)](v(0x1a5)+a),![]);}[a57l(0x19d)](a,b){const w=a57l,c=this[w(0x1af)][b];c?(c[w(0x175)](a),this['logger']['write'](w(0x1b0)+a['name']+w(0x191)+c[w(0x17f)])):this['logger'][w(0x183)](w(0x1b2)+a[w(0x17f)]+w(0x16d)+b+w(0x1b4));}['addPuzzleToRoom'](a,b){const x=a57l,c=this[x(0x1af)][b];c?(c[x(0x190)](a),this[x(0x197)][x(0x183)](x(0x1b8)+c[x(0x17f)])):this[x(0x197)][x(0x183)](x(0x179)+b+x(0x1b4));}[a57l(0x19e)](a,b){const y=a57l,c=this[y(0x1af)][b];c?(this['characterLocations'][y(0x1b1)](a[y(0x17f)],c),this[y(0x197)]['write'](a[y(0x17f)]+y(0x188)+c['name'])):this['logger'][y(0x183)](y(0x174)+a[y(0x17f)]+y(0x17b)+b+y(0x1b4));}[a57l(0x181)](a){const z=a57l;return this['characterLocations'][z(0x16f)](a['name']);}[a57l(0x189)](){const A=a57l,a=[];for(const c in this[A(0x1af)]){if(this[A(0x1af)][A(0x194)](c)){const d=this[A(0x1af)][c];d[A(0x1b7)]&&a[A(0x1a8)](d);}}if(a[A(0x1a6)]>0x1)throw new Error(A(0x1ad));if(a[A(0x1a6)]===0x1)return a[0x0];const b=Object[A(0x1b3)](this[A(0x1af)]);if(b[A(0x1a6)]===0x0)throw new Error(A(0x186));return console[A(0x180)](A(0x192)),this[A(0x1af)][b[0x0]];}[a57l(0x16e)](){return this['player'];}[a57l(0x184)](){return this['rooms'];}[a57l(0x18f)](a,b,c,d){const B=a57l,e=this['rooms'][a],f=this[B(0x1af)][c];if(!e)throw new Error(B(0x199)+a+B(0x1a1));if(!f)throw new Error(B(0x199)+c+B(0x1a1));e[B(0x187)](b,f,d);}}