@maka/maka-cli 4.10.2 → 4.11.1

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 (206) 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/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/patreon.js +1 -1
  84. package/bundle/obf/src/commands/proxy.js +1 -1
  85. package/bundle/obf/src/commands/reconfig.js +1 -1
  86. package/bundle/obf/src/commands/register.js +1 -1
  87. package/bundle/obf/src/commands/run/_index.js +1 -1
  88. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  89. package/bundle/obf/src/commands/run/run.command.js +1 -1
  90. package/bundle/obf/src/commands/set/_index.js +1 -1
  91. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/set/set.command.js +1 -1
  94. package/bundle/obf/src/commands/ssh.js +1 -1
  95. package/bundle/obf/src/commands/ssl.js +1 -1
  96. package/bundle/obf/src/commands/test.js +1 -1
  97. package/bundle/obf/src/commands/undo.js +1 -1
  98. package/bundle/obf/src/commands/version.js +1 -1
  99. package/bundle/obf/src/error.js +1 -1
  100. package/bundle/obf/src/exec.js +1 -1
  101. package/bundle/obf/src/generator.js +1 -1
  102. package/bundle/obf/src/generators/_index.js +1 -1
  103. package/bundle/obf/src/generators/api.js +1 -1
  104. package/bundle/obf/src/generators/collection.js +1 -1
  105. package/bundle/obf/src/generators/component.js +1 -1
  106. package/bundle/obf/src/generators/config.js +1 -1
  107. package/bundle/obf/src/generators/dbc.js +1 -1
  108. package/bundle/obf/src/generators/dockerfile.js +1 -1
  109. package/bundle/obf/src/generators/hook.js +1 -1
  110. package/bundle/obf/src/generators/kits/_index.js +1 -1
  111. package/bundle/obf/src/generators/kits/auth/_index.js +1 -0
  112. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -0
  113. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -0
  114. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -0
  115. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  117. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/kit.js +1 -1
  119. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -0
  121. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  123. package/bundle/obf/src/generators/layout.js +1 -1
  124. package/bundle/obf/src/generators/maka.gen.js +1 -1
  125. package/bundle/obf/src/generators/methods.js +1 -1
  126. package/bundle/obf/src/generators/package.js +1 -1
  127. package/bundle/obf/src/generators/page.js +1 -1
  128. package/bundle/obf/src/generators/publish.js +1 -1
  129. package/bundle/obf/src/generators/route.js +1 -1
  130. package/bundle/obf/src/generators/service.js +1 -1
  131. package/bundle/obf/src/generators/services/_index.js +1 -1
  132. package/bundle/obf/src/generators/services/openssl.js +1 -1
  133. package/bundle/obf/src/generators/services/translation.js +1 -1
  134. package/bundle/obf/src/maka.js +1 -1
  135. package/bundle/obf/src/templates/meteor/app/client/head.html +0 -3
  136. package/bundle/obf/src/templates/meteor/app/client/main.js +2 -0
  137. package/bundle/obf/src/templates/meteor/app/client/main.js.jsx +2 -0
  138. package/bundle/obf/src/templates/meteor/app/client/main.js.ts +2 -0
  139. package/bundle/obf/src/templates/meteor/app/client/main.js.tsx +2 -0
  140. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +5 -6
  141. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +5 -6
  142. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.jsx +4 -3
  143. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.tsx +4 -3
  144. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.jsx +2 -2
  145. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.tsx +2 -2
  146. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +4 -3
  147. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +4 -3
  148. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +1 -1
  149. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +1 -1
  150. package/bundle/obf/src/templates/meteor/app/lib/main.js +2 -0
  151. package/bundle/obf/src/templates/meteor/app/lib/main.js.jsx +2 -0
  152. package/bundle/obf/src/templates/meteor/app/lib/main.js.ts +2 -0
  153. package/bundle/obf/src/templates/meteor/app/lib/main.js.tsx +2 -0
  154. package/bundle/obf/src/templates/meteor/app/server/main.js +2 -0
  155. package/bundle/obf/src/templates/meteor/app/server/main.js.jsx +2 -0
  156. package/bundle/obf/src/templates/meteor/app/server/main.js.ts +2 -0
  157. package/bundle/obf/src/templates/meteor/app/server/main.js.tsx +2 -0
  158. package/bundle/obf/src/templates/meteor/config/settings.json +1 -1
  159. package/bundle/obf/src/templates/meteor/publish/publish.js +2 -2
  160. package/bundle/obf/src/templates/meteor/publish/publish.js.ts +3 -0
  161. package/bundle/obf/src/templates/react/kit/auth/provider/authentication-provider.js.jsx +281 -0
  162. package/bundle/obf/src/templates/react/kit/auth/provider/authentication-provider.js.tsx +318 -0
  163. package/bundle/obf/src/templates/react/kit/auth/service/meteor-auth-service.js.jsx +136 -0
  164. package/bundle/obf/src/templates/react/kit/auth/service/meteor-auth-service.js.tsx +136 -0
  165. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.jsx +4 -2
  166. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.tsx +5 -3
  167. package/bundle/obf/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.jsx +32 -0
  168. package/bundle/obf/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.tsx +31 -0
  169. package/bundle/obf/src/templates/react/kit/mui/auth/login/basic-login-page.js.jsx +51 -0
  170. package/bundle/obf/src/templates/react/kit/mui/auth/login/basic-login-page.js.tsx +52 -0
  171. package/bundle/obf/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.jsx +24 -0
  172. package/bundle/obf/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.tsx +24 -0
  173. package/bundle/obf/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.jsx +34 -0
  174. package/bundle/obf/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.tsx +34 -0
  175. package/bundle/obf/src/templates/react/kit/mui/auth/register/basic-register-page.js.jsx +32 -0
  176. package/bundle/obf/src/templates/react/kit/mui/auth/register/basic-register-page.js.tsx +32 -0
  177. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +5 -5
  178. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +4 -3
  179. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +7 -4
  180. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +5 -4
  181. package/bundle/obf/src/templates/react/kit/mui/frame/footers/basic-sticky-footer.js.jsx +41 -0
  182. package/bundle/obf/src/templates/react/kit/mui/frame/footers/basic-sticky-footer.js.tsx +41 -0
  183. package/bundle/obf/src/templates/service/eslint/eslintrc.json +22 -1
  184. package/bundle/obf/src/tool.js +1 -1
  185. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  186. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  187. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  188. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  189. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  190. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  191. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  192. package/bundle/obf/src/tools/https/https.class.js +1 -1
  193. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  194. package/bundle/obf/src/tools/log/log.class.js +1 -1
  195. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  196. package/bundle/obf/src/tools/options/options.class.js +1 -1
  197. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  198. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  199. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  200. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  201. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  202. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  203. package/package.json +1 -1
  204. package/bundle/obf/src/templates/meteor/publish/publish.js.jsx +0 -3
  205. package/bundle/obf/src/templates/meteor/publish/publish.js.tsx +0 -3
  206. package/bundle/obf/src/templates/meteor/publish/publish.ts +0 -3
@@ -1 +1 @@
1
- function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xe4;let f=c[d];return f;},a37d(a,b);}const a37i=a37d;function a37c(){const k=['inventory','385848qkPOeL','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','listItems','1085960lRqunU','180pdXEgL','4141543ePtCQR','name','actor','478652Lkhpjn','5974470eMlbSl','40XQcQVi','4014FhtyXr','(((.+)+)+)+$','20214jRhrSx','execute','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','write','You\x20search\x20the\x20area\x20and\x20find:\x20','length','logger','81dlFVCU','currentLocation','SearchCommand:\x20','toString','description','search','apply'];a37c=function(){return k;};return a37c();}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0xf4))/0x1+parseInt(f(0xef))/0x2+-parseInt(f(0xf7))/0x3*(parseInt(f(0xf0))/0x4)+parseInt(f(0xf6))/0x5*(-parseInt(f(0xf9))/0x6)+-parseInt(f(0xf1))/0x7+parseInt(f(0xec))/0x8*(parseInt(f(0xe4))/0x9)+parseInt(f(0xf5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x65d13));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0xe7)]()[h(0xe9)](h(0xf8))[h(0xe7)]()['constructor'](a37a)[h(0xe9)](h(0xf8));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a37i(0xe9);static [a37i(0xe8)]='Search\x20for\x20items\x20in\x20your\x20area';[a37i(0xfa)](){const j=a37i,a=this[j(0xf3)][j(0xe5)][j(0xeb)][j(0xee)]();if(a[j(0xfe)]===0x0)return this[j(0xff)][j(0xfc)](j(0xe6)+this[j(0xf3)][j(0xf2)]+j(0xfb)),j(0xed);const b=a['join'](',\x20');return this[j(0xff)][j(0xfc)](j(0xe6)+this['actor']['name']+'\x20found\x20the\x20following\x20items:\x20'+b),j(0xfd)+b;}}
1
+ function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a37d(a,b);}const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x1e6))/0x1*(parseInt(f(0x1d9))/0x2)+parseInt(f(0x1e7))/0x3*(parseInt(f(0x1d1))/0x4)+parseInt(f(0x1df))/0x5+parseInt(f(0x1d8))/0x6+-parseInt(f(0x1d0))/0x7*(parseInt(f(0x1e5))/0x8)+parseInt(f(0x1e3))/0x9+-parseInt(f(0x1ce))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x3007c));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(0x1d3)]()[g(0x1dd)]('(((.+)+)+)+$')[g(0x1d3)]()[g(0x1e1)](a37a)[g(0x1dd)](g(0x1cf));});a37a();function a37c(){const j=['length','7800vIuiXG','1WXMBQD','237417dhknbX','7451690QlgmOE','(((.+)+)+)+$','483XQyhtA','8WvaoPH','SearchCommand:\x20','toString','name','join','\x20found\x20the\x20following\x20items:\x20','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','1117752NpiqGK','350326itoANS','Search\x20for\x20items\x20in\x20your\x20area','logger','execute','search','write','683040bZMiFG','actor','constructor','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','3175515MZLTue'];a37c=function(){return j;};return a37c();}import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a37h(0x1dd);static ['description']=a37h(0x1da);[a37h(0x1dc)](){const i=a37h,a=this[i(0x1e0)]['currentLocation']['inventory']['listItems']();if(a[i(0x1e4)]===0x0)return this[i(0x1db)]['write'](i(0x1d2)+this[i(0x1e0)][i(0x1d4)]+i(0x1e2)),i(0x1d7);const b=a[i(0x1d5)](',\x20');return this[i(0x1db)][i(0x1de)](i(0x1d2)+this[i(0x1e0)][i(0x1d4)]+i(0x1d6)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x1e5))/0x1*(parseInt(f(0x1cf))/0x2)+-parseInt(f(0x1dd))/0x3*(parseInt(f(0x1ec))/0x4)+parseInt(f(0x1d3))/0x5*(-parseInt(f(0x1da))/0x6)+parseInt(f(0x1ed))/0x7*(-parseInt(f(0x1cc))/0x8)+parseInt(f(0x1df))/0x9+parseInt(f(0x1db))/0xa*(-parseInt(f(0x1e7))/0xb)+parseInt(f(0x1e4))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x59fea));function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1cc;let f=c[d];return f;},a38d(a,b);}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1d5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1d4)]()[h(0x1e2)]('(((.+)+)+)+$')[h(0x1d4)]()['constructor'](a38a)[h(0x1e2)](h(0x1e3));});a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x1d7)]=a38i(0x1ea);static [a38i(0x1ce)]=a38i(0x1d2);[a38i(0x1d8)](a){const j=a38i,b=a[j(0x1e9)]('\x20')[j(0x1e1)](),c=this[j(0x1d1)]['currentLocation'];if(!c||!c[j(0x1ee)])return this[j(0x1eb)][j(0x1dc)](j(0x1d6)),j(0x1cd);const d=c[j(0x1ee)][j(0x1ea)](b,this[j(0x1d1)]['inventory']);return d[j(0x1d0)]&&c[j(0x1ee)][j(0x1e8)]&&this[j(0x1d1)][j(0x1de)][j(0x1d9)](c['puzzle']['rewardItem']),this['logger'][j(0x1dc)](j(0x1e6)+d[j(0x1e0)]),d[j(0x1e0)];}}function a38c(){const k=['6zksaJw','inventory','6161067yBQnaD','message','toLowerCase','search','(((.+)+)+)+$','8626512BWexMZ','11189gSMTzj','SolveCommand:\x20','4428853cDCizu','rewardItem','join','solve','logger','1169936KGBHss','588iGHzyf','puzzle','25712hHwsdo','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','description','124dhUsKj','success','actor','Attempt\x20to\x20solve\x20a\x20puzzle.','10RJgdfe','toString','apply','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','verb','execute','addItem','1412916gVkPGs','10QvxlmV','write'];a38c=function(){return k;};return a38c();}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x150))/0x1*(-parseInt(f(0x13e))/0x2)+-parseInt(f(0x14c))/0x3*(-parseInt(f(0x142))/0x4)+parseInt(f(0x13f))/0x5*(parseInt(f(0x139))/0x6)+-parseInt(f(0x141))/0x7+-parseInt(f(0x138))/0x8+-parseInt(f(0x14e))/0x9+parseInt(f(0x14d))/0xa*(parseInt(f(0x137))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x4fb9d));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x13a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x14f)]()[h(0x143)](h(0x147))[h(0x14f)]()['constructor'](a38a)[h(0x143)](h(0x147));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x133;let f=c[d];return f;},a38d(a,b);}a38a();function a38c(){const k=['SolveCommand:\x20','(((.+)+)+)+$','addItem','toLowerCase','write','logger','3GHiRhb','11813540kAAgsk','476127hUNKDw','toString','5721twiBcl','puzzle','rewardItem','verb','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','actor','11DlyXLI','4167080qbRZFM','1590990lwjLUy','apply','message','description','join','166vdoDVv','5ABNNOS','inventory','2376521cQsail','1072688qWpsBR','search','currentLocation','solve'];a38c=function(){return k;};return a38c();}import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x134)]=a38i(0x145);static [a38i(0x13c)]='Attempt\x20to\x20solve\x20a\x20puzzle.';['execute'](a){const j=a38i,b=a[j(0x13d)]('\x20')[j(0x149)](),c=this[j(0x136)][j(0x144)];if(!c||!c[j(0x151)])return this[j(0x14b)][j(0x14a)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0x135);const d=c[j(0x151)]['solve'](b,this[j(0x136)]['inventory']);return d['success']&&c[j(0x151)][j(0x133)]&&this[j(0x136)][j(0x140)][j(0x148)](c[j(0x151)][j(0x133)]),this[j(0x14b)][j(0x14a)](j(0x146)+d[j(0x13b)]),d[j(0x13b)];}}
@@ -1 +1 @@
1
- function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x107;let f=c[d];return f;},a39d(a,b);}const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x129))/0x1+parseInt(f(0x10e))/0x2*(-parseInt(f(0x12a))/0x3)+-parseInt(f(0x11a))/0x4+parseInt(f(0x130))/0x5*(parseInt(f(0x115))/0x6)+-parseInt(f(0x110))/0x7+parseInt(f(0x112))/0x8+parseInt(f(0x127))/0x9*(parseInt(f(0x11d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x22dfe));function a39c(){const l=['928180gOVtvA','There\x20is\x20no\x20item\x20\x22','join','2950bTtxmW','hasItem','apply','\x22\x20in\x20this\x20room.','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','constructor','execute','name','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','addInventory','13383GOueBC','search','124009OnNATo','6flMXNX','removeItem','\x22\x20to\x20','inventory','actor','Successfully\x20added\x20\x22','56650QuHbpA','Item\x20\x22','toString','message','\x22\x20is\x20too\x20heavy\x20to\x20carry.','\x20during\x20\x27Take\x27\x20command.','Error\x20during\x20\x27Take\x27\x20command:\x20','write','Successfully\x20removed\x20\x22','toLowerCase','227662JzFWdg','description','187838WGOJUF','Pick\x20up\x20an\x20item.','342488bSqmFl','logger','(((.+)+)+)+$','144jwuqgb','The\x20item\x20\x22','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20not\x20found\x20in\x20','take'];a39c=function(){return l;};return a39c();}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x132)]()['search'](h(0x114))['toString']()[h(0x122)](a39a)[h(0x128)](h(0x114));});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a39i(0x119);static [a39i(0x10f)]=a39i(0x111);[a39i(0x123)](a){const j=a39i;return this[j(0x113)][j(0x10b)](j(0x121)+a[j(0x11c)]('\x20')),this[j(0x119)](a);}[a39i(0x119)](a){const k=a39i,b=a[k(0x11c)]('\x20')[k(0x10d)](),c=this[k(0x12e)]['currentLocation'];if(!c[k(0x12d)][k(0x11e)](b))return this[k(0x113)][k(0x10b)]('Item\x20\x22'+b+k(0x118)+c[k(0x124)]+k(0x109)),k(0x11b)+b+k(0x120);const d=c[k(0x12d)]['getItem'](b);if(!d)return this['logger'][k(0x10b)](k(0x131)+b+'\x22\x20not\x20retrieved\x20from\x20'+c[k(0x124)]+k(0x125)),k(0x11b)+b+k(0x120);try{return this[k(0x12e)][k(0x126)](d),this[k(0x113)]['write'](k(0x12f)+b+k(0x12c)+this[k(0x12e)][k(0x124)]+k(0x117)),c['inventory'][k(0x12b)](b),this['logger'][k(0x10b)](k(0x10c)+b+'\x22\x20from\x20'+c['name']+k(0x125)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this['logger'][k(0x10b)](k(0x10a)+e[k(0x107)]),k(0x116)+b+k(0x108);}}}
1
+ const a39i=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x6d;let f=c[d];return f;},a39d(a,b);}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x8b))/0x1*(-parseInt(f(0x88))/0x2)+-parseInt(f(0x89))/0x3+-parseInt(f(0x85))/0x4+parseInt(f(0x92))/0x5+parseInt(f(0x70))/0x6*(-parseInt(f(0x80))/0x7)+parseInt(f(0x73))/0x8*(-parseInt(f(0x83))/0x9)+parseInt(f(0x82))/0xa*(parseInt(f(0x72))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xd3238));function a39c(){const l=['execute','addInventory','search','join','The\x20item\x20\x22','\x22\x20not\x20retrieved\x20from\x20','Pick\x20up\x20an\x20item.','removeItem','description','take','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','62670ffEmnL','\x22\x20in\x20this\x20room.','22ofZpuK','4584pYhbgU','toLowerCase','apply','getItem','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x20during\x20\x27Take\x27\x20command.','\x22\x20from\x20','hasItem','You\x20have\x20taken\x20the\x20','Error\x20during\x20\x27Take\x27\x20command:\x20','\x22\x20to\x20','toString','message','343JGzDrm','verb','17138290nsQxci','25407RiSXvB','logger','1041912TrygZW','There\x20is\x20no\x20item\x20\x22','name','1309142BEhEyz','3105900wgpkyq','constructor','1UuIsER','(((.+)+)+)+$','write','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Successfully\x20added\x20\x22','Successfully\x20removed\x20\x22','actor','1038785rFOYtv','Item\x20\x22','\x22\x20not\x20found\x20in\x20','inventory'];a39c=function(){return l;};return a39c();}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x75)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x7e)]()[h(0x98)](h(0x8c))[h(0x7e)]()[h(0x8a)](a39a)['search'](h(0x8c));});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0x81)]=a39i(0x6e);static [a39i(0x6d)]=a39i(0x9c);[a39i(0x96)](a){const j=a39i;return this[j(0x84)][j(0x8d)](j(0x77)+a[j(0x99)]('\x20')),this[j(0x6e)](a);}['take'](a){const k=a39i,b=a[k(0x99)]('\x20')[k(0x74)](),c=this['actor']['currentLocation'];if(!c[k(0x95)][k(0x7a)](b))return this[k(0x84)][k(0x8d)]('Item\x20\x22'+b+k(0x94)+c[k(0x87)]+k(0x78)),k(0x86)+b+k(0x71);const d=c[k(0x95)][k(0x76)](b);if(!d)return this[k(0x84)]['write'](k(0x93)+b+k(0x9b)+c[k(0x87)]+k(0x8e)),'There\x20is\x20no\x20item\x20\x22'+b+k(0x71);try{return this[k(0x91)][k(0x97)](d),this[k(0x84)][k(0x8d)](k(0x8f)+b+k(0x7d)+this[k(0x91)][k(0x87)]+k(0x6f)),c['inventory'][k(0x9d)](b),this['logger'][k(0x8d)](k(0x90)+b+k(0x79)+c['name']+k(0x8e)),k(0x7b)+b+'.';}catch(e){return this[k(0x84)]['write'](k(0x7c)+e[k(0x7f)]),k(0x9a)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
@@ -1 +1 @@
1
- const a40i=a40d;function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x115;let f=c[d];return f;},a40d(a,b);}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x119))/0x1*(-parseInt(f(0x118))/0x2)+parseInt(f(0x127))/0x3*(-parseInt(f(0x121))/0x4)+parseInt(f(0x122))/0x5*(parseInt(f(0x11b))/0x6)+-parseInt(f(0x12d))/0x7*(parseInt(f(0x115))/0x8)+parseInt(f(0x120))/0x9+parseInt(f(0x125))/0xa*(-parseInt(f(0x11a))/0xb)+parseInt(f(0x117))/0xc*(parseInt(f(0x12c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xc9c14));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()[h(0x11e)]('(((.+)+)+)+$')['toString']()[h(0x129)](a40a)[h(0x11e)](h(0x11f));});a40a();function a40c(){const k=['650kldjfw','1641045FLfouE','24MuTzre','description','359160FWdkBE','758486xIlHia','2lHTrIT','4002273ZspFER','258OEjIrf','Unequip\x20an\x20item.','apply','search','(((.+)+)+)+$','11398383iFAyhz','12TAAzDh','109045HelkjJ','UnequipCommand:\x20','logger','20UPnCKn','actor','684909cKABRd','write','constructor','toLowerCase','execute'];a40c=function(){return k;};return a40c();}import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']='unqeuip';static [a40i(0x116)]=a40i(0x11c);[a40i(0x12b)](a){const j=a40i,b=a['join']('\x20')[j(0x12a)](),c=this[j(0x126)]['unequip'](b);return this[j(0x124)][j(0x128)](j(0x123)+this['actor']['name']+'\x20unqeuiped\x20'+c),c;}}
1
+ const a40h=a40d;function a40c(){const j=['logger','write','4912551BCDUvt','147949YNQSGT','2140968hxYzmX','UnequipCommand:\x20','5758515ZhflMi','(((.+)+)+)+$','Unequip\x20an\x20item.','2922436pmnYtL','name','search','14417950wNutJP','8nSxoPg','5302728BGrOQu','unqeuip','\x20unqeuiped\x20','toLowerCase','5swjfDB','actor','join','6vpRRar','toString'];a40c=function(){return j;};return a40c();}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x140))/0x1*(-parseInt(f(0x13b))/0x2)+parseInt(f(0x141))/0x3+-parseInt(f(0x12f))/0x4*(-parseInt(f(0x138))/0x5)+parseInt(f(0x134))/0x6+parseInt(f(0x13f))/0x7*(parseInt(f(0x133))/0x8)+-parseInt(f(0x143))/0x9+-parseInt(f(0x132))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x7b231));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x12e;let f=c[d];return f;},a40d(a,b);}const a40b=(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;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0x13c)]()['search']('(((.+)+)+)+$')[g(0x13c)]()['constructor'](a40a)[g(0x131)](g(0x144));});a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a40h(0x135);static ['description']=a40h(0x12e);['execute'](a){const i=a40h,b=a[i(0x13a)]('\x20')[i(0x137)](),c=this['actor']['unequip'](b);return this[i(0x13d)][i(0x13e)](i(0x142)+this[i(0x139)][i(0x130)]+i(0x136)+c),c;}}
@@ -1 +1 @@
1
- const a41j=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x103))/0x1+parseInt(h(0x102))/0x2+parseInt(h(0xf2))/0x3*(parseInt(h(0xf4))/0x4)+-parseInt(h(0xf0))/0x5+-parseInt(h(0xec))/0x6*(-parseInt(h(0xf1))/0x7)+parseInt(h(0xf8))/0x8*(parseInt(h(0x109))/0x9)+parseInt(h(0xfb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x64382));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 i=a41d;return a41a[i(0xf6)]()[i(0xff)](i(0x10a))['toString']()[i(0xe9)](a41a)[i(0xff)](i(0x10a));});function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xe9;let f=c[d];return f;},a41d(a,b);}a41a();import{Door}from'../models/door.js';function a41c(){const m=['unlockItemOrSolution','\x22\x20here.','There\x27s\x20no\x20door\x20named\x20\x22','constructor','error','isValidDirection','89094SwATnI','exits','logger','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','3497955xtaCBL','49zkcDPc','1289334cUknmr','write','4dSMSiW','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','toString','unlock','1477768sclatl','getItem','execute','3746820zDIZLg','.\x20Result:\x20','Unlock\x20a\x20door.','toLowerCase','search','name','actor','869742cyICIr','417906HbrvTI','has','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','\x20is\x20attempted\x20to\x20unlock\x20','hasItem','UnlockCommand:\x20','9mENmKn','(((.+)+)+)+$','UnlockCommand:\x20No\x20target\x20specified.'];a41c=function(){return m;};return a41c();}import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']='unlock';static ['description']=a41j(0xfd);[a41j(0xfa)](a){const k=a41j;return this[k(0xf7)](a);}['unlock'](a){const l=a41j;if(a['length']===0x0)return this[l(0xee)][l(0xea)](l(0x10b)),l(0x105);const b=a[0x0][l(0xfe)](),c=this[l(0x101)]['currentLocation'];if(this[l(0xeb)](b)&&c[l(0xed)][l(0x104)](b)){const d=c['exits']['get'](b);if(d instanceof Door){const e=d[l(0x10c)]?.[l(0xfe)]();if(e&&this[l(0x101)]['inventory'][l(0x107)](e)){const f=this['actor']['inventory'][l(0xf9)](e);if(f){const g=c['attemptUnlockExit'](b,f[l(0x100)]);return this['logger'][l(0xf3)](l(0x108)+this[l(0x101)]['name']+l(0x106)+b+l(0xfc)+g),g;}}return this[l(0xee)][l(0xf3)]('UnlockCommand:\x20'+this['actor'][l(0x100)]+l(0xef)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this['logger'][l(0xf3)](l(0x108)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0x100)]+'.'),l(0x10e)+b+'\x22\x20here.';}else return this[l(0xee)][l(0xf3)](l(0x108)+b+l(0xf5)+c[l(0x100)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0x10d);}}
1
+ const a41k=a41d;function a41c(){const n=['write','\x22\x20here.','There\x27s\x20no\x20door\x20named\x20\x22','isValidDirection','98924UdvPcA','Unlock\x20a\x20door.','error','toLowerCase','unlockItemOrSolution','inventory','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','112RXkWNW','922490avrAjo','586284vORFTi','attemptUnlockExit','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','verb','name','hasItem','27vRiKHU','9659jMyzqq','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','description','48LUEQFK','UnlockCommand:\x20','get','996yYElRX','3hFTaKX','length','actor','logger','.\x20Result:\x20','2003922kCrspB','UnlockCommand:\x20No\x20target\x20specified.','\x20is\x20attempted\x20to\x20unlock\x20','apply','106139emENrG','(((.+)+)+)+$','constructor','has','getItem','currentLocation','unlock','exits','search','1239355CGboUl'];a41c=function(){return n;};return a41c();}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x116))/0x1*(-parseInt(h(0x10d))/0x2)+-parseInt(h(0xef))/0x3*(parseInt(h(0x10f))/0x4)+parseInt(h(0x101))/0x5+parseInt(h(0xf4))/0x6+-parseInt(h(0x106))/0x7*(parseInt(h(0x119))/0x8)+-parseInt(h(0x115))/0x9*(parseInt(h(0x10e))/0xa)+parseInt(h(0xf8))/0xb*(parseInt(h(0x11c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x5178f));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xef;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()[j(0x100)]('(((.+)+)+)+$')['toString']()[j(0xfa)](a41a)[j(0x100)](j(0xf9));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x112)]='unlock';static [a41k(0x118)]=a41k(0x107);['execute'](a){const l=a41k;return this[l(0xfe)](a);}[a41k(0xfe)](a){const m=a41k;if(a[m(0xf0)]===0x0)return this[m(0xf2)][m(0x108)](m(0xf5)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][m(0x109)](),c=this['actor'][m(0xfd)];if(this[m(0x105)](b)&&c[m(0xff)][m(0xfb)](b)){const d=c[m(0xff)][m(0x11b)](b);if(d instanceof Door){const e=d[m(0x10a)]?.[m(0x109)]();if(e&&this[m(0xf1)][m(0x10b)][m(0x114)](e)){const f=this[m(0xf1)][m(0x10b)][m(0xfc)](e);if(f){const g=c[m(0x110)](b,f[m(0x113)]);return this[m(0xf2)][m(0x102)](m(0x11a)+this[m(0xf1)][m(0x113)]+m(0xf6)+b+m(0xf3)+g),g;}}return this[m(0xf2)][m(0x102)]('UnlockCommand:\x20'+this[m(0xf1)][m(0x113)]+m(0x117)+b+'.'),m(0x111);}else return this['logger'][m(0x102)]('UnlockCommand:\x20'+b+m(0x10c)+c['name']+'.'),m(0x104)+b+m(0x103);}else return this['logger'][m(0x102)](m(0x11a)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x113)]+'.'),m(0x104)+b+m(0x103);}}
@@ -1 +1 @@
1
- const a42i=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xaa;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0xbc))/0x1*(parseInt(f(0xc5))/0x2)+-parseInt(f(0xb2))/0x3+parseInt(f(0xad))/0x4*(parseInt(f(0xb5))/0x5)+parseInt(f(0xb4))/0x6*(-parseInt(f(0xb0))/0x7)+parseInt(f(0xbd))/0x8*(-parseInt(f(0xc8))/0x9)+-parseInt(f(0xc0))/0xa+-parseInt(f(0xc6))/0xb*(-parseInt(f(0xc3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x3f39c));function a42c(){const l=['56InNYCV','execute','join','5051140iAFcWg','Use\x20an\x20item.','apply','17962620fVVtxI','logger','2wfaDOi','11ZioGxe','toString','230382TFJhAb','UseCommand:\x20','description','search','inventory','toLowerCase','\x20not\x20retrieved\x20from\x20','You\x20don\x27t\x20have\x20the\x20','\x20to\x20use.','722044GBUeFF','constructor','actor','7MNqmgt','(((.+)+)+)+$','400263RtqMhu',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','1769448nTEpRo','5dsyvoE','use','\x27s\x20inventory.','\x20used\x20','write','\x20doesn\x27t\x20have\x20a\x20use\x20method.','name','305795MUZYGs'];a42c=function(){return l;};return a42c();}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0xcb)](h(0xb1))[h(0xc7)]()[h(0xae)](a42a)[h(0xcb)](h(0xb1));});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']=a42i(0xb6);static [a42i(0xca)]=a42i(0xc1);[a42i(0xbe)](a){const j=a42i;return this[j(0xb6)](a);}['use'](a){const k=a42i,b=a[k(0xbf)]('\x20')[k(0xcd)]();if(!this[k(0xaf)][k(0xcc)]['hasItem'](b))return this[k(0xc4)][k(0xb9)]('UseCommand:\x20'+this['actor'][k(0xbb)]+'\x20attempted\x20to\x20use\x20'+b+k(0xb3)),k(0xab)+b+k(0xac);const c=this[k(0xaf)][k(0xcc)]['getItem'](b);if(!c)return this[k(0xc4)][k(0xb9)](k(0xc9)+b+k(0xaa)+this[k(0xaf)]['name']+k(0xb7)),k(0xab)+b+k(0xac);if(typeof c[k(0xb6)]==='function'){const d=c[k(0xb6)]();return this[k(0xc4)][k(0xb9)]('UseCommand:\x20'+this['actor'][k(0xbb)]+k(0xb8)+b+'.'),d;}else return this[k(0xc4)][k(0xb9)](k(0xc9)+b+k(0xba)),'You\x20can\x27t\x20use\x20the\x20'+b+'\x20in\x20this\x20way.';}}
1
+ const a42i=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x20d))/0x1*(parseInt(f(0x212))/0x2)+parseInt(f(0x1f0))/0x3+-parseInt(f(0x201))/0x4+-parseInt(f(0x213))/0x5*(parseInt(f(0x1f4))/0x6)+parseInt(f(0x202))/0x7+parseInt(f(0x1ee))/0x8*(parseInt(f(0x204))/0x9)+-parseInt(f(0x1f9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x4b822));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x20e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x20c)]()[h(0x1f3)]('(((.+)+)+)+$')[h(0x20c)]()[h(0x1fc)](a42a)['search'](h(0x209));});function a42c(){const k=['constructor','toLowerCase','You\x20can\x27t\x20use\x20the\x20','verb','\x20doesn\x27t\x20have\x20a\x20use\x20method.','760684dCzNxk','3854417xuWlvp','use','4727727MZWkJC',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','\x20not\x20retrieved\x20from\x20','\x20to\x20use.','logger','(((.+)+)+)+$','You\x20don\x27t\x20have\x20the\x20','function','toString','614LsLPrV','apply','join','actor','UseCommand:\x20','376dYyyHo','10BTgjlt','8rgqdKs','\x27s\x20inventory.','525312dNmFcC','getItem','execute','search','1481970EijCrB','Use\x20an\x20item.','hasItem','name','description','3730270kfpnXS','inventory','write'];a42c=function(){return k;};return a42c();}a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x1ff)]='use';static [a42i(0x1f8)]=a42i(0x1f5);[a42i(0x1f2)](a){return this['use'](a);}['use'](a){const j=a42i,b=a[j(0x20f)]('\x20')[j(0x1fd)]();if(!this[j(0x210)][j(0x1fa)][j(0x1f6)](b))return this[j(0x208)][j(0x1fb)]('UseCommand:\x20'+this[j(0x210)][j(0x1f7)]+'\x20attempted\x20to\x20use\x20'+b+j(0x205)),'You\x20don\x27t\x20have\x20the\x20'+b+'\x20to\x20use.';const c=this['actor']['inventory'][j(0x1f1)](b);if(!c)return this[j(0x208)][j(0x1fb)](j(0x211)+b+j(0x206)+this['actor'][j(0x1f7)]+j(0x1ef)),j(0x20a)+b+j(0x207);if(typeof c[j(0x203)]===j(0x20b)){const d=c[j(0x203)]();return this[j(0x208)][j(0x1fb)](j(0x211)+this[j(0x210)][j(0x1f7)]+'\x20used\x20'+b+'.'),d;}else return this[j(0x208)][j(0x1fb)](j(0x211)+b+j(0x200)),j(0x1fe)+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x17f;let f=c[d];return f;},a43d(a,b);}const a43h=a43d;function a43c(){const j=['3090YEqApU','48081ZWZSpr','27AywjvF','search','13591242auGgst','398468loAMEI','(((.+)+)+)+$','commandMap','12954928NhYzGU','createCommand','5WlJXYF','632952qCROqp','5JscRmX','constructor','2729436lwpzcf','toString','10448LtPdSW','registerCommand','getAllRegisteredCommands'];a43c=function(){return j;};return a43c();}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x191))/0x1*(parseInt(f(0x184))/0x2)+-parseInt(f(0x189))/0x3*(parseInt(f(0x17f))/0x4)+parseInt(f(0x180))/0x5*(parseInt(f(0x182))/0x6)+parseInt(f(0x18c))/0x7+parseInt(f(0x18f))/0x8+parseInt(f(0x18b))/0x9+-parseInt(f(0x187))/0xa*(parseInt(f(0x188))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xd9f01));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(0x183)]()[g(0x18a)](g(0x18d))['toString']()[g(0x181)](a43a)['search']('(((.+)+)+)+$');});a43a();export class CommandFactory{static [a43h(0x18e)]={};static[a43h(0x185)](a,b){this['commandMap'][a]=b;}static[a43h(0x190)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a43h(0x186)](){const i=a43h;return this[i(0x18e)];}}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x86))/0x1+-parseInt(f(0x78))/0x2*(parseInt(f(0x83))/0x3)+parseInt(f(0x81))/0x4+parseInt(f(0x80))/0x5*(-parseInt(f(0x76))/0x6)+parseInt(f(0x7d))/0x7*(parseInt(f(0x85))/0x8)+parseInt(f(0x79))/0x9*(-parseInt(f(0x87))/0xa)+parseInt(f(0x7e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x9a1d1));function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x76;let f=c[d];return f;},a43d(a,b);}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x88)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x7c)]()[h(0x82)](h(0x7b))[h(0x7c)]()[h(0x7a)](a43a)['search'](h(0x7b));});a43a();function a43c(){const m=['apply','70806toMgYg','registerCommand','15582CxjlsX','3614022LzCBwd','constructor','(((.+)+)+)+$','toString','5265302vtWvoF','33714076TElVEd','createCommand','490egjJhv','1709480rBLnzX','search','147IdDMVZ','commandMap','8TQsYtt','870292jJCxYg','30laVrhb'];a43c=function(){return m;};return a43c();}export class CommandFactory{static [a43i(0x84)]={};static[a43i(0x77)](a,b){const j=a43i;this[j(0x84)][a]=b;}static[a43i(0x7f)](a,b){const k=a43i,c=this[k(0x84)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const l=a43i;return this[l(0x84)];}}
@@ -1 +1 @@
1
- const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x6e))/0x1+parseInt(f(0x6a))/0x2+-parseInt(f(0x78))/0x3+-parseInt(f(0x79))/0x4+-parseInt(f(0x73))/0x5*(-parseInt(f(0x75))/0x6)+parseInt(f(0x7f))/0x7*(-parseInt(f(0x6b))/0x8)+parseInt(f(0x84))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xce568));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x7d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a['toString']()[h(0x82)](h(0x89))[h(0x74)]()[h(0x65)](a44a)['search']('(((.+)+)+)+$');});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x65;let f=c[d];return f;},a44d(a,b);}a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a44c(){const o=['roomType','27954531oqqMPD','rifle','toUpperCase','description','createRoom','(((.+)+)+)+$','constructor','name','addItem','bodyarmor','gloves','1782542glCmpB','361592JXPhdk','INSIDE','createItem','759621jTfVTW','boots','items','rewardItem','helmet','152710eEPydu','toString','150GxYkua','key','content','4554993ANJTir','5466296rUorFM','legarmor','createPuzzle','convertToRoomConfig','apply','puzzle','42afdRtE','isStartRoom','forEach','search'];a44c=function(){return o;};return a44c();}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{[a44i(0x88)](a){const j=a44i,b=this[j(0x7c)](a),c=new Room(b);if(a[j(0x70)]){const d=new Inventory();a[j(0x70)][j(0x81)](e=>{const k=j;d[k(0x67)](this[k(0x6d)](e));}),c['inventory']=d;}return a[j(0x7e)]&&c['setPuzzle'](this[j(0x7b)](a[j(0x7e)])),c;}[a44i(0x6d)](a){const l=a44i;switch(a['type']){case l(0x76):return new Key(a[l(0x66)],a[l(0x87)]);case'book':return new Book(a[l(0x66)],a[l(0x87)],a[l(0x77)]);case'sword':return new Sword(a[l(0x66)],a[l(0x87)]);case l(0x85):return new Rifle(a[l(0x66)],a['description']);case l(0x72):return new Helmet(a['name'],a['description']);case l(0x68):return new BodyArmor(a[l(0x66)],a[l(0x87)]);case l(0x7a):return new LegArmor(a[l(0x66)],a[l(0x87)]);case l(0x6f):return new Boots(a['name'],a[l(0x87)]);case l(0x69):return new Gloves(a[l(0x66)],a['description']);case'gauntlets':return new Gauntlets(a['name'],a['description']);default:return new BasicItem(a['name'],a[l(0x87)]);}}[a44i(0x7b)](a){const m=a44i,b=this[m(0x6d)](a[m(0x71)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0x7c)](a){const n=a44i,b=a['roomType']&&RoomType[a[n(0x83)][n(0x86)]()]?RoomType[a['roomType']['toUpperCase']()]:RoomType[n(0x6c)];return{'name':a[n(0x66)],'description':a[n(0x87)],'isStartRoom':a[n(0x80)],'roomType':b};}}
1
+ const a44k=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x18d))/0x1*(-parseInt(f(0x190))/0x2)+parseInt(f(0x19d))/0x3+-parseInt(f(0x1a6))/0x4+-parseInt(f(0x1a2))/0x5*(-parseInt(f(0x19c))/0x6)+parseInt(f(0x18c))/0x7+parseInt(f(0x195))/0x8*(parseInt(f(0x19e))/0x9)+-parseInt(f(0x191))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x25ee9));function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x185;let f=c[d];return f;},a44d(a,b);}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 g=a44d;return a44a[g(0x189)]()[g(0x1a0)]('(((.+)+)+)+$')[g(0x189)]()[g(0x188)](a44a)[g(0x1a0)]('(((.+)+)+)+$');});a44a();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{['createRoom'](a){const h=a44d,b=this['convertToRoomConfig'](a),c=new Room(b);if(a['items']){const d=new Inventory();a[h(0x187)][h(0x199)](e=>{const i=h;d['addItem'](this[i(0x1a3)](e));}),c[h(0x1a5)]=d;}return a[h(0x196)]&&c['setPuzzle'](this[h(0x185)](a[h(0x196)])),c;}['createItem'](a){const j=a44d;switch(a[j(0x19a)]){case'key':return new Key(a[j(0x18b)],a[j(0x19f)]);case'book':return new Book(a['name'],a[j(0x19f)],a[j(0x194)]);case j(0x18e):return new Sword(a[j(0x18b)],a[j(0x19f)]);case j(0x1a1):return new Rifle(a['name'],a[j(0x19f)]);case j(0x193):return new Helmet(a['name'],a[j(0x19f)]);case j(0x19b):return new BodyArmor(a['name'],a['description']);case j(0x1a4):return new LegArmor(a[j(0x18b)],a[j(0x19f)]);case'boots':return new Boots(a[j(0x18b)],a[j(0x19f)]);case j(0x18f):return new Gloves(a[j(0x18b)],a['description']);case'gauntlets':return new Gauntlets(a[j(0x18b)],a['description']);default:return new BasicItem(a[j(0x18b)],a['description']);}}[a44k(0x185)](a){const l=a44k,b=this[l(0x1a3)](a[l(0x198)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const m=a44k,b=a[m(0x18a)]&&RoomType[a[m(0x18a)]['toUpperCase']()]?RoomType[a[m(0x18a)][m(0x197)]()]:RoomType[m(0x186)];return{'name':a[m(0x18b)],'description':a['description'],'isStartRoom':a[m(0x192)],'roomType':b};}}function a44c(){const n=['puzzle','toUpperCase','rewardItem','forEach','type','bodyarmor','12bdAFZL','340089TMlGbj','1243647aoSZHx','description','search','rifle','197495giPIyO','createItem','legarmor','inventory','431796xDDpgs','createPuzzle','INSIDE','items','constructor','toString','roomType','name','1766261HNhpvS','86767IinnOI','sword','gloves','2PAZLXR','4063160HGebsC','isStartRoom','helmet','content','8YhcqnJ'];a44c=function(){return n;};return a44c();}
@@ -1 +1 @@
1
- function a45c(){const s=['2435604fdTGse','use','unlock','170109UpJwHk','1204646byQqxR','scene','1046116gqPRRN','getInstance','maka','(((.+)+)+)+$','quit','trim','getAllRegisteredCommands','7KCLxPZ','4LjXyFg','split','-\x20quit:\x20Exit\x20the\x20game.\x0a','search','getHelpMessage','instance','createCommand','registerCommands','say','toString','determineStartRoom','currentRoom','equip','1198173MJZaAu','currentLocation','execute','getWelcomeMessage','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','-\x20clear:\x20Clear\x20the\x20screen.\x0a','registerCommand','player','apply','Available\x20Commands:\x0a','slice','830RvXPot','6451288eeTtYq','6362735YAKKrE','getDescription','unequip','constructor'];a45c=function(){return s;};return a45c();}const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0xf0))/0x1+parseInt(h(0xee))/0x2+parseInt(h(0x105))/0x3+-parseInt(h(0xf8))/0x4*(parseInt(h(0xe6))/0x5)+parseInt(h(0xea))/0x6*(-parseInt(h(0xf7))/0x7)+parseInt(h(0xe5))/0x8+parseInt(h(0xed))/0x9*(parseInt(h(0xe4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x9f417));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0xe1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x101)]()[j(0xfb)](j(0xf3))['toString']()[j(0xe9)](a45a)[j(0xfb)](j(0xf3));});a45a();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';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xdc;let f=c[d];return f;},a45d(a,b);}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';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0xfd)];[a45k(0xef)];[a45k(0xe0)];[a45k(0x103)];['rooms'];constructor(a,b){const l=a45k;this['player']=a,this[l(0xef)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0xef)]['initialize'](),this[l(0xe0)][l(0x106)]=this[l(0x102)](),this[l(0xff)]();}['registerCommands'](){const m=a45k;CommandFactory[m(0xdf)]('look',LookCommand),CommandFactory[m(0xdf)]('go',GoCommand),CommandFactory[m(0xdf)]('take',TakeCommand),CommandFactory[m(0xdf)](m(0xeb),UseCommand),CommandFactory[m(0xdf)](m(0x104),EquipCommand),CommandFactory[m(0xdf)](m(0xe8),UnequipCommand),CommandFactory[m(0xdf)]('solve',SolveCommand),CommandFactory[m(0xdf)]('drop',DropCommand),CommandFactory[m(0xdf)](m(0xec),UnlockCommand),CommandFactory[m(0xdf)]('lock',LockCommand),CommandFactory['registerCommand'](m(0xfb),SearchCommand),CommandFactory[m(0xdf)](m(0x100),SayCommand);}[a45k(0x102)](){const n=a45k;return this[n(0xef)][n(0x102)]();}[a45k(0xdc)](){const o=a45k;return'Welcome,\x20'+this[o(0xe0)]['name'];}static[a45k(0xf1)](a,b){const p=a45k;return!Game[p(0xfd)]&&(Game[p(0xfd)]=new Game(a,b)),Game[p(0xfd)];}['handleInput'](a){const q=a45k,b=a[q(0xf5)]()[q(0xf9)]('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0xe3)](0x1);if(c===q(0xf4))return null;if(c===q(0xf2))return q(0xdd);if(c==='help')return this[q(0xfc)]();if(c==='clear')return'';const e={'actor':this[q(0xe0)],'rooms':this['scene']['getRooms'](),'scene':this['scene']},f=CommandFactory[q(0xfe)](c,e);if(f){const g=f[q(0x107)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a45k(0xfc)](){const r=a45k,a=CommandFactory[r(0xf6)]();let b=r(0xe2);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xe7)]()+'\x0a';}}return b+=r(0xde),b+=r(0xfa),b;}}
1
+ const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0xd8))/0x1*(-parseInt(h(0xd6))/0x2)+-parseInt(h(0xb7))/0x3+parseInt(h(0xd1))/0x4*(parseInt(h(0xc7))/0x5)+parseInt(h(0xd0))/0x6+-parseInt(h(0xc8))/0x7*(-parseInt(h(0xc0))/0x8)+parseInt(h(0xb0))/0x9+parseInt(h(0xb4))/0xa*(-parseInt(h(0xcd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xd6dfd));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0xb6)]()['search']('(((.+)+)+)+$')[j(0xb6)]()[j(0xcc)](a45a)['search'](j(0xc4));});function a45c(){const s=['4495wCSeEh','580314AFLGyT','lock','createCommand','Welcome,\x20','constructor','920524DZXOpX','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','unequip','6350736fCohEA','4228mEBgkC','apply','drop','hasOwnProperty','clear','4RpwACb','determineStartRoom','466174fGoPNj','registerCommands','player','say','getRooms','instance','rooms','help','take','459999UsWIcZ','Available\x20Commands:\x0a','registerCommand','getWelcomeMessage','280WoSoAU','-\x20quit:\x20Exit\x20the\x20game.\x0a','toString','2042409JlmLTj','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','handleInput','name','currentLocation','getInstance','quit','getHelpMessage','look','88UjdwxA','scene','trim','getDescription','(((.+)+)+)+$','getAllRegisteredCommands','initialize'];a45c=function(){return s;};return a45c();}a45a();import{Scene}from'./models/scene.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xaf;let f=c[d];return f;},a45d(a,b);}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';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 [a45k(0xdd)];[a45k(0xc1)];[a45k(0xda)];['currentRoom'];[a45k(0xde)];constructor(a,b){const l=a45k;this[l(0xda)]=a,this[l(0xc1)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0xc1)][l(0xc6)](),this[l(0xda)][l(0xbb)]=this[l(0xd7)](),this[l(0xd9)]();}[a45k(0xd9)](){const m=a45k;CommandFactory[m(0xb2)](m(0xbf),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0xb2)](m(0xaf),TakeCommand),CommandFactory['registerCommand']('use',UseCommand),CommandFactory[m(0xb2)]('equip',EquipCommand),CommandFactory[m(0xb2)](m(0xcf),UnequipCommand),CommandFactory[m(0xb2)]('solve',SolveCommand),CommandFactory['registerCommand'](m(0xd3),DropCommand),CommandFactory[m(0xb2)]('unlock',UnlockCommand),CommandFactory[m(0xb2)](m(0xc9),LockCommand),CommandFactory['registerCommand']('search',SearchCommand),CommandFactory[m(0xb2)](m(0xdb),SayCommand);}[a45k(0xd7)](){const n=a45k;return this[n(0xc1)][n(0xd7)]();}[a45k(0xb3)](){const o=a45k;return o(0xcb)+this['player'][o(0xba)];}static[a45k(0xbc)](a,b){const p=a45k;return!Game[p(0xdd)]&&(Game['instance']=new Game(a,b)),Game[p(0xdd)];}[a45k(0xb9)](a){const q=a45k,b=a[q(0xc2)]()['split']('\x20'),c=b[0x0]['toLowerCase'](),d=b['slice'](0x1);if(c===q(0xbd))return null;if(c==='maka')return q(0xce);if(c===q(0xdf))return this[q(0xbe)]();if(c===q(0xd5))return'';const e={'actor':this[q(0xda)],'rooms':this['scene'][q(0xdc)](),'scene':this[q(0xc1)]},f=CommandFactory[q(0xca)](c,e);if(f){const g=f['execute'](d);return g;}return q(0xb8)+c+'\x22.';}[a45k(0xbe)](){const r=a45k,a=CommandFactory[r(0xc5)]();let b=r(0xb1);for(const c in a){if(a[r(0xd4)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xc3)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+=r(0xb5),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x1de))/0x1+parseInt(f(0x1df))/0x2*(-parseInt(f(0x1e2))/0x3)+-parseInt(f(0x1e1))/0x4+-parseInt(f(0x1ec))/0x5+-parseInt(f(0x1e7))/0x6*(-parseInt(f(0x1e6))/0x7)+-parseInt(f(0x1e4))/0x8*(parseInt(f(0x1e9))/0x9)+-parseInt(f(0x1e5))/0xa*(-parseInt(f(0x1ea))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x349e1));var a46b=(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;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0x1e0)]()['search'](g(0x1e3))[g(0x1e0)]()[g(0x1e8)](a46a)[g(0x1eb)](g(0x1e3));});a46a();export*from'./door.js';function a46c(){var h=['257655uHELyq','240609sXXDjy','447812OVjGXm','toString','1320356bzHKBH','3ZSnaQq','(((.+)+)+)+$','51544ykZsIy','10GtWSFZ','14fXUDpI','1216374VNyBpi','constructor','144HEggqK','3058748ErrUKM','search'];a46c=function(){return h;};return a46c();}export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1de;var f=c[d];return f;},a46d(a,b);}export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x1ae))/0x1+parseInt(f(0x1af))/0x2+-parseInt(f(0x1ab))/0x3+parseInt(f(0x1a9))/0x4+parseInt(f(0x1a7))/0x5*(parseInt(f(0x1aa))/0x6)+parseInt(f(0x1ad))/0x7+-parseInt(f(0x1a5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xefbc5));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x1b0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()['search']('(((.+)+)+)+$')['toString']()[h(0x1ac)](a46a)[h(0x1a6)](h(0x1a8));});a46a();function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1a5;var f=c[d];return f;},a46d(a,b);}export*from'./door.js';function a46c(){var i=['3044187MpNxcF','constructor','10722887XqTsfv','1739375UTiaRW','3641204sBocvS','apply','10113736sIQVaY','search','2587765KcvVNf','(((.+)+)+)+$','4521128LqFAXw','6HXRENG'];a46c=function(){return i;};return a46c();}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';
@@ -1 +1 @@
1
- var a47i=a47d;function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x177;var f=c[d];return f;},a47d(a,b);}(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x188))/0x1*(parseInt(f(0x178))/0x2)+-parseInt(f(0x18a))/0x3+-parseInt(f(0x196))/0x4*(parseInt(f(0x17b))/0x5)+parseInt(f(0x193))/0x6*(-parseInt(f(0x191))/0x7)+parseInt(f(0x187))/0x8+parseInt(f(0x18c))/0x9+parseInt(f(0x18b))/0xa*(parseInt(f(0x18e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x3d6cc));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a['toString']()[h(0x17c)](h(0x18f))['toString']()[h(0x17d)](a47a)['search'](h(0x18f));});a47a();function a47c(){var m=['search','constructor','attemptUnlock','logger','checkIfLockable','getOtherSide','To\x20','.\x20Is\x20Locked:\x20','Failed\x20to\x20unlock\x20door:\x20','Door\x20unlocked:\x20','unlockItemOrSolution','132632ajLZTt','23urZLQe','isLockable','1426752oZUAhJ','2010ERrfmt','1002834iVicSe','roomB','43769frSjLt','(((.+)+)+)+$','apply','203gWoJbu','Door\x20created\x20between\x20','94602NJeeWQ','isLocked','roomA','12lLdcgf','write','getInstance','25414Yagiul','name','.\x20Used:\x20','59370YdexFZ'];a47c=function(){return m;};return a47c();}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x195)];[a47i(0x18d)];[a47i(0x194)];[a47i(0x186)];[a47i(0x179)];[a47i(0x17f)];[a47i(0x189)];constructor(a){var j=a47i;super(),this[j(0x195)]=a[j(0x195)],this[j(0x18d)]=a[j(0x18d)],this[j(0x194)]=a[j(0x194)]||![],this[j(0x186)]=a[j(0x186)],this[j(0x179)]=a[j(0x179)]?capitalCase(a['name']):j(0x182)+a[j(0x18d)][j(0x179)],this[j(0x17f)]=Logger[j(0x177)](),this[j(0x189)]=!!a['unlockItemOrSolution'],this[j(0x17f)][j(0x197)](j(0x192)+this[j(0x195)][j(0x179)]+'\x20and\x20'+this['roomB'][j(0x179)]+j(0x183)+this[j(0x194)]);}[a47i(0x181)](a){var k=a47i;return this['roomA']===a?this['roomB']:this[k(0x195)];}[a47i(0x17e)](a){var l=a47i;if(this[l(0x194)]&&this['unlockItemOrSolution']&&this[l(0x186)]===a)return this['isLocked']=![],this[l(0x17f)][l(0x197)](l(0x185)+this[l(0x179)]+l(0x17a)+a),!![];return this[l(0x17f)][l(0x197)](l(0x184)+this[l(0x179)]+l(0x17a)+a),![];}['checkIfLocked'](){return this['isLocked'];}[a47i(0x180)](){return this['isLockable'];}}
1
+ var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x1ae))/0x1*(parseInt(f(0x19f))/0x2)+-parseInt(f(0x19c))/0x3*(parseInt(f(0x1ad))/0x4)+parseInt(f(0x1ba))/0x5+parseInt(f(0x1a5))/0x6*(parseInt(f(0x1bb))/0x7)+parseInt(f(0x1a9))/0x8+parseInt(f(0x1b5))/0x9*(parseInt(f(0x1a2))/0xa)+-parseInt(f(0x1b9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x2e6ca));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x1a0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x1a6)]()[h(0x1b1)](h(0x1a4))[h(0x1a6)]()['constructor'](a47a)[h(0x1b1)](h(0x1a4));});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x19c;var f=c[d];return f;},a47d(a,b);}export class Door extends AbstractDoor{[a47i(0x1ac)];['roomB'];[a47i(0x1b2)];['unlockItemOrSolution'];[a47i(0x1aa)];[a47i(0x1b8)];[a47i(0x1b7)];constructor(a){var j=a47i;super(),this[j(0x1ac)]=a[j(0x1ac)],this[j(0x1b0)]=a[j(0x1b0)],this[j(0x1b2)]=a[j(0x1b2)]||![],this[j(0x1b4)]=a['unlockItemOrSolution'],this[j(0x1aa)]=a['name']?capitalCase(a[j(0x1aa)]):'To\x20'+a[j(0x1b0)][j(0x1aa)],this['logger']=Logger[j(0x1ab)](),this[j(0x1b7)]=!!a[j(0x1b4)],this[j(0x1b8)][j(0x1af)]('Door\x20created\x20between\x20'+this[j(0x1ac)][j(0x1aa)]+j(0x1a8)+this['roomB'][j(0x1aa)]+j(0x1bc)+this[j(0x1b2)]);}[a47i(0x1a1)](a){var k=a47i;return this[k(0x1ac)]===a?this[k(0x1b0)]:this['roomA'];}[a47i(0x1b6)](a){var l=a47i;if(this[l(0x1b2)]&&this[l(0x1b4)]&&this[l(0x1b4)]===a)return this[l(0x1b2)]=![],this['logger'][l(0x1af)](l(0x19e)+this['name']+l(0x19d)+a),!![];return this[l(0x1b8)][l(0x1af)](l(0x1b3)+this[l(0x1aa)]+'.\x20Used:\x20'+a),![];}[a47i(0x1a7)](){var m=a47i;return this[m(0x1b2)];}[a47i(0x1a3)](){var n=a47i;return this[n(0x1b7)];}}function a47c(){var o=['unlockItemOrSolution','9BneZij','attemptUnlock','isLockable','logger','10461528uMlQBE','1743270gowvgP','49issHfu','.\x20Is\x20Locked:\x20','45561uWvQNm','.\x20Used:\x20','Door\x20unlocked:\x20','750468LrAjPs','apply','getOtherSide','3710750SWRjRZ','checkIfLockable','(((.+)+)+)+$','245454tTIxsk','toString','checkIfLocked','\x20and\x20','144440YTiHEc','name','getInstance','roomA','68azyvck','1tTEdGZ','write','roomB','search','isLocked','Failed\x20to\x20unlock\x20door:\x20'];a47c=function(){return o;};return a47c();}
@@ -1 +1 @@
1
- const a48i=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xfd;let f=c[d];return f;},a48d(a,b);}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x12a))/0x1+-parseInt(f(0x106))/0x2*(-parseInt(f(0x10a))/0x3)+parseInt(f(0xfe))/0x4*(parseInt(f(0x100))/0x5)+-parseInt(f(0x121))/0x6+parseInt(f(0x11a))/0x7*(parseInt(f(0x104))/0x8)+-parseInt(f(0x10f))/0x9*(parseInt(f(0x11f))/0xa)+-parseInt(f(0x107))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x9439a));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x109)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x10e)]()[h(0x11e)](h(0x111))['toString']()[h(0x101)](a48a)[h(0x11e)](h(0x111));});function a48c(){const q=['items','176ZvEVLj','Added\x20item:\x20','6ntBWVq','18970160lAwjde','\x20from\x20inventory.','apply','703947cqoihC','.\x20Exists:\x20','keys','Removed\x20item:\x20','toString','9dtxqNJ','name','(((.+)+)+)+$','removeItem','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','join','logger','Checked\x20for\x20item:\x20','\x20to\x20inventory.','getAllItems','toLowerCase','173929nKedeO','getItem','set','.\x20Item\x20not\x20found.','search','4051770awkwiX','get','629682aimifQ','getWeight','delete','Retrieved\x20details\x20for\x20item:\x20','map','hasItem','listItems','write','values','803205HPKtPb','\x20in\x20','1552qHEjqq','has','10155rWlCwC','constructor','Failed\x20to\x20remove\x20item:\x20'];a48c=function(){return q;};return a48c();}a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0x103)];[a48i(0x115)];constructor(){super(),this['items']=new Map(),this['logger']=Logger['getInstance']();}['addItem'](a){const j=a48i;this[j(0x103)][j(0x11c)](a['name']['toLowerCase'](),a),this['logger']['write'](j(0x105)+a[j(0x110)]+j(0x117));}[a48i(0x112)](a){const k=a48i,b=this[k(0x11b)](a);if(b)return this[k(0x103)][k(0x123)](a['toLowerCase']()),this[k(0x115)]['write'](k(0x10d)+a+k(0x108)),b;return this['logger'][k(0x128)](k(0x102)+a+k(0x11d)),null;}[a48i(0x126)](a){const l=a48i,b=this[l(0x103)][l(0xff)](a[l(0x119)]()),c=[...this[l(0x103)]['keys']()];return this[l(0x115)]['write'](l(0x116)+a+l(0xfd)+c['join'](',\x20')+l(0x10b)+b+'.'),b;}[a48i(0x11b)](a){const m=a48i,b=this[m(0x103)][m(0x120)](a[m(0x119)]())||null;return b?this[m(0x115)][m(0x128)](m(0x124)+a+'.'):this[m(0x115)][m(0x128)](m(0x113)+a+m(0x11d)),b;}[a48i(0x127)](){const n=a48i,a=[...this[n(0x103)][n(0x10c)]()],b=a[n(0x125)](c=>capitalCase(c));return this['logger'][n(0x128)]('Listed\x20items\x20in\x20inventory:\x20'+b[n(0x114)](',\x20')+'.'),a;}[a48i(0x122)](){const o=a48i;let a=0x0;for(const b of this['items'][o(0x129)]()){a+=b['weight'];}return a;}[a48i(0x118)](){const p=a48i;return[...this[p(0x103)]['values']()];}}
1
+ const a48i=a48d;function a48c(){const r=['weight','get','removeItem','values','search','4415195IkvtAb','.\x20Item\x20not\x20found.','1856yqBEuO','9940968vPMSlI','2dmUGvO','Listed\x20items\x20in\x20inventory:\x20','toLowerCase','logger','getWeight','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','map','getAllItems','getInstance','17672290usJvgX','Added\x20item:\x20','758131sUiWOi','hasItem','1395491nHHYVF','name','addItem','Checked\x20for\x20item:\x20','items','\x20from\x20inventory.','Failed\x20to\x20remove\x20item:\x20','write','2702iWmASg','keys','\x20to\x20inventory.','apply','9mVOgbE','\x20in\x20','join','listItems','Removed\x20item:\x20','15goUPav','(((.+)+)+)+$','606344ChcVvw','996isgzkv','toString'];a48c=function(){return r;};return a48c();}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0xd9))/0x1*(parseInt(f(0xcc))/0x2)+parseInt(f(0xea))/0x3*(-parseInt(f(0xec))/0x4)+parseInt(f(0xc8))/0x5+-parseInt(f(0xcb))/0x6+parseInt(f(0xe1))/0x7*(-parseInt(f(0xca))/0x8)+parseInt(f(0xe5))/0x9*(-parseInt(f(0xd5))/0xa)+-parseInt(f(0xd7))/0xb*(-parseInt(f(0xed))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xe4a04));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0xe4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0xee)]()[h(0xc7)](h(0xeb))[h(0xee)]()['constructor'](a48a)[h(0xc7)]('(((.+)+)+)+$');});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xc7;let f=c[d];return f;},a48d(a,b);}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0xdd)];[a48i(0xcf)];constructor(){const j=a48i;super(),this['items']=new Map(),this['logger']=Logger[j(0xd4)]();}[a48i(0xdb)](a){const k=a48i;this[k(0xdd)]['set'](a[k(0xda)][k(0xce)](),a),this[k(0xcf)]['write'](k(0xd6)+a[k(0xda)]+k(0xe3));}[a48i(0xf1)](a){const l=a48i,b=this['getItem'](a);if(b)return this[l(0xdd)]['delete'](a['toLowerCase']()),this[l(0xcf)][l(0xe0)](l(0xe9)+a+l(0xde)),b;return this[l(0xcf)]['write'](l(0xdf)+a+'.\x20Item\x20not\x20found.'),null;}[a48i(0xd8)](a){const m=a48i,b=this['items']['has'](a[m(0xce)]()),c=[...this[m(0xdd)][m(0xe2)]()];return this[m(0xcf)][m(0xe0)](m(0xdc)+a+m(0xe6)+c['join'](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}['getItem'](a){const n=a48i,b=this[n(0xdd)][n(0xf0)](a[n(0xce)]())||null;return b?this[n(0xcf)][n(0xe0)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0xcf)][n(0xe0)](n(0xd1)+a+n(0xc9)),b;}[a48i(0xe8)](){const o=a48i,a=[...this[o(0xdd)][o(0xe2)]()],b=a[o(0xd2)](c=>capitalCase(c));return this['logger'][o(0xe0)](o(0xcd)+b[o(0xe7)](',\x20')+'.'),a;}[a48i(0xd0)](){const p=a48i;let a=0x0;for(const b of this[p(0xdd)][p(0xf2)]()){a+=b[p(0xef)];}return a;}[a48i(0xd3)](){const q=a48i;return[...this['items'][q(0xf2)]()];}}
@@ -1 +1 @@
1
- function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x158;var f=c[d];return f;},a49d(a,b);}var a49h=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x16d))/0x1+-parseInt(f(0x15c))/0x2*(parseInt(f(0x168))/0x3)+parseInt(f(0x160))/0x4*(parseInt(f(0x15f))/0x5)+parseInt(f(0x15e))/0x6+parseInt(f(0x167))/0x7+-parseInt(f(0x158))/0x8+parseInt(f(0x169))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x55193));function a49c(){var k=['name','color','size','580368uqouZx','rating','uuid','1108928cyIxFJ','category','You\x20use\x20the\x20','(((.+)+)+)+$','88HatlWT','toString','1234890SSvFvs','215QCsduK','49852EKcOJr','shape','weight','use','description','search','texture','260477iQiIkd','30486GZPrqS','6621660RcGlkn'];a49c=function(){return k;};return a49c();}var a49b=(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;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0x15d)]()[g(0x165)](g(0x15b))[g(0x15d)]()['constructor'](a49a)[g(0x165)](g(0x15b));});a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];[a49h(0x16a)];[a49h(0x164)];[a49h(0x16c)];[a49h(0x159)];[a49h(0x161)];[a49h(0x16b)];[a49h(0x166)];[a49h(0x16e)];[a49h(0x162)];constructor(a){var i=a49h;super(),this[i(0x16a)]=a[i(0x16a)],this['description']=a['description'],this[i(0x16c)]=a[i(0x16c)],this[i(0x159)]=a[i(0x159)],this[i(0x161)]=a[i(0x161)],this['color']=a['color'],this['texture']=a[i(0x166)],this[i(0x16e)]=a[i(0x16e)],this[i(0x162)]=a[i(0x162)],this[i(0x16f)]=a49e();}[a49h(0x163)](){var j=a49h;return j(0x15a)+this[j(0x16a)]+'.\x20Nothing\x20special\x20happens.';}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x191))/0x1+-parseInt(f(0x17f))/0x2*(-parseInt(f(0x190))/0x3)+-parseInt(f(0x18d))/0x4*(-parseInt(f(0x193))/0x5)+-parseInt(f(0x189))/0x6*(-parseInt(f(0x185))/0x7)+parseInt(f(0x18e))/0x8*(-parseInt(f(0x17b))/0x9)+-parseInt(f(0x181))/0xa+-parseInt(f(0x186))/0xb*(parseInt(f(0x194))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x5c536));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x17a)]()['search']('(((.+)+)+)+$')['toString']()[h(0x179)](a49a)[h(0x187)](h(0x182));});function a49c(){var l=['description','7368880ahHNXN','(((.+)+)+)+$','size','shape','1450407xskTmK','1771kcojBd','search','category','6tMPDpE','name','.\x20Nothing\x20special\x20happens.','rating','4820wOmhvX','5376HZaWof','weight','699hNJiyU','438041FIVrzB','uuid','2675ZJtltS','56796RQyctr','constructor','toString','2016jnqhKu','apply','color','texture','6332qmojHJ'];a49c=function(){return l;};return a49c();}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x179;var f=c[d];return f;},a49d(a,b);}a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x192)];[a49i(0x18a)];[a49i(0x180)];['size'];[a49i(0x188)];['shape'];[a49i(0x17d)];[a49i(0x17e)];[a49i(0x18c)];['weight'];constructor(a){var j=a49i;super(),this[j(0x18a)]=a['name'],this[j(0x180)]=a[j(0x180)],this[j(0x183)]=a[j(0x183)],this[j(0x188)]=a['category'],this[j(0x184)]=a[j(0x184)],this[j(0x17d)]=a[j(0x17d)],this[j(0x17e)]=a['texture'],this[j(0x18c)]=a[j(0x18c)],this[j(0x18f)]=a[j(0x18f)],this['uuid']=a49e();}['use'](){var k=a49i;return'You\x20use\x20the\x20'+this[k(0x18a)]+k(0x18b);}}
@@ -1 +1 @@
1
- function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a50d(a,b);}const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x1f9))/0x1+-parseInt(f(0x1f5))/0x2*(-parseInt(f(0x1f4))/0x3)+-parseInt(f(0x200))/0x4*(-parseInt(f(0x1fe))/0x5)+-parseInt(f(0x1fd))/0x6+-parseInt(f(0x1ed))/0x7+-parseInt(f(0x1f8))/0x8*(parseInt(f(0x1ee))/0x9)+parseInt(f(0x1fc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x7000b));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1f3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x1fb)]()[h(0x1ff)](h(0x1f1))[h(0x1fb)]()[h(0x1f0)](a50a)[h(0x1ff)]('(((.+)+)+)+$');});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x1eb)];[a50i(0x1f6)];[a50i(0x1f2)];['scene'];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x1eb)]=a,this['_dialogue']=b,this[j(0x1f2)]=c;}get[a50i(0x203)](){const k=a50i;return this[k(0x1eb)];}[a50i(0x202)](){const l=a50i;return this['_dialogue'][Math[l(0x1ef)](Math[l(0x1fa)]()*this[l(0x1f6)]['length'])];}[a50i(0x204)](a){const m=a50i,b=a[Math[m(0x1ef)](Math[m(0x1fa)]()*a[m(0x1f7)])];this[m(0x201)](b[m(0x203)]);}[a50i(0x201)](a){const n=a50i,b={'actor':this,'rooms':this[n(0x1f2)],'scene':this['scene']},c=new GoCommand(b);c[n(0x1ec)]([a]);}}function a50c(){const o=['5342364utylbp','1659815KVrWKF','search','4vOXbDp','moveTo','speak','name','autonomousMove','_name','execute','3107202FuWqTA','18009dUpFDV','floor','constructor','(((.+)+)+)+$','rooms','apply','15EIarYC','197816SYBQks','_dialogue','length','2920QgPgTR','193023HKWsWc','random','toString','18899280ThSxGw'];a50c=function(){return o;};return a50c();}
1
+ const a50h=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x131))/0x1+-parseInt(f(0x12d))/0x2+-parseInt(f(0x130))/0x3*(parseInt(f(0x12c))/0x4)+-parseInt(f(0x121))/0x5+parseInt(f(0x125))/0x6*(parseInt(f(0x12b))/0x7)+parseInt(f(0x128))/0x8+parseInt(f(0x134))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x58e15));const a50b=(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;};}()),a50a=a50b(this,function(){const g=a50d;return a50a[g(0x132)]()[g(0x126)](g(0x122))[g(0x132)]()[g(0x127)](a50a)[g(0x126)](g(0x122));});function a50c(){const n=['moveTo','random','6rhamOB','search','constructor','1182112sYupDf','autonomousMove','execute','344302PkzScy','196bosqUC','1402378aLeowO','_dialogue','name','14109YzsYKW','28127CvCNtZ','toString','speak','12624750vHvefC','rooms','length','floor','_name','scene','1379420uFELzk','(((.+)+)+)+$'];a50c=function(){return n;};return a50c();}a50a();import{Player}from'./player.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x11f;let f=c[d];return f;},a50d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a50h(0x12e)];[a50h(0x135)];[a50h(0x120)];constructor(a,b,c,d){const i=a50h;super(d),this[i(0x11f)]=a,this[i(0x12e)]=b,this[i(0x135)]=c;}get[a50h(0x12f)](){const j=a50h;return this[j(0x11f)];}[a50h(0x133)](){const k=a50h;return this['_dialogue'][Math[k(0x137)](Math[k(0x124)]()*this['_dialogue'][k(0x136)])];}[a50h(0x129)](a){const l=a50h,b=a[Math[l(0x137)](Math[l(0x124)]()*a[l(0x136)])];this['moveTo'](b[l(0x12f)]);}[a50h(0x123)](a){const m=a50h,b={'actor':this,'rooms':this[m(0x135)],'scene':this['scene']},c=new GoCommand(b);c[m(0x12a)]([a]);}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x143))/0x1*(parseInt(f(0x132))/0x2)+-parseInt(f(0x14a))/0x3+-parseInt(f(0x15f))/0x4+parseInt(f(0x12b))/0x5+-parseInt(f(0x110))/0x6+-parseInt(f(0x10d))/0x7*(parseInt(f(0x13c))/0x8)+parseInt(f(0x116))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x6ee0c));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a['toString']()[h(0x123)]('(((.+)+)+)+$')[h(0x158)]()[h(0x133)](a51a)[h(0x123)](h(0x15b));});function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x106;let f=c[d];return f;},a51d(a,b);}a51a();function a51c(){const B=['Helmet','_playerName','Removed\x20','\x20slot.','currentLocation','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','\x20from\x20player\x27s\x20inventory.','toString','.\x20You\x20must\x20unequip\x20it\x20first.','Hat','(((.+)+)+)+$','currentWeight','rightHand','canEquip','2646840VeYDYc','log','hear','initialEquipment','boots','includes','removeInventory','removeItem','Weapon','speak','category','Boots','toLowerCase','hasItem','head','7UzfldB','shield','Shield','4411188Nwcrkq','enterRoom','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','\x20is\x20now\x20listening\x20in\x20room\x20','write','equip','24869790nociyc','arms','gloves','legs','\x20is\x20no\x20longer\x20listeng\x20in\x20','addItem','Nexus','values','equipment','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','logger','ArmArmor','\x20in\x20your\x20inventory.','search','error','You\x20unequipped\x20','_maxCarryingWeight','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','bodyarmor','_currentLocation','You\x20equipped\x20','2936840xrfulF','feet','inventoryItems','arm\x20armor','unequipBySlot','torso','Added\x20','748782hBbRpM','constructor','addInventory','Max\x20carrying\x20weight\x20must\x20be\x20positive.','\x20says:\x20\x22','You\x20can\x27t\x20equip\x20','getInstance','off','determineEquipmentSlot','A\x20featureless\x20room','5941816AYVoCD','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','_inventory','BodyArmor','leaveRoom','LegArmor','weight','1pCKIZD','apply','leftHand','leg\x20armor','\x20to\x20player\x27s\x20inventory.','body\x20armor','startLocation','1147488RqFdvV','name','playerName','_equipment','unequip','Invalid\x20category\x20or\x20slot:\x20','maxCarryingWeight'];a51c=function(){return B;};return a51c();}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{['_playerName'];['_currentLocation'];[a51i(0x13e)];[a51i(0x14d)];[a51i(0x126)]=0x32;[a51i(0x120)];constructor(a){const j=a51i;super(),this[j(0x152)]=a[j(0x14c)],this['_currentLocation']=a[j(0x149)]||new Room({'name':j(0x11c),'description':j(0x13b)}),this[j(0x13e)]=new Inventory(),this[j(0x120)]=Logger[j(0x138)]();if(a?.[j(0x12d)])for(const b of a['inventoryItems']){this['_inventory'][j(0x11b)](b);}this[j(0x14d)]=a?.[j(0x162)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a51i;return this[k(0x152)];}get[a51i(0x155)](){return this['_currentLocation'];}set[a51i(0x155)](a){const l=a51i;this[l(0x129)]!==a&&(this[l(0x140)](),this[l(0x111)](a)),this[l(0x129)]=a;}get['inventory'](){const m=a51i;return this[m(0x13e)];}get[a51i(0x11e)](){const n=a51i;return this[n(0x14d)];}set[a51i(0x11e)](a){this['_equipment']=a;}get[a51i(0x150)](){const o=a51i;return this[o(0x126)];}set[a51i(0x150)](a){const p=a51i;a>0x0?this[p(0x126)]=a:console[p(0x124)](p(0x135));}get[a51i(0x15c)](){const q=a51i;let a=this[q(0x13e)]['getWeight']();for(const b in this[q(0x14d)]){const c=this[q(0x14d)][b];c&&(a+=c[q(0x142)]);}return a;}[a51i(0x134)](a){const r=a51i;if(this['currentWeight']+a[r(0x142)]>this['maxCarryingWeight']){this[r(0x120)][r(0x114)](r(0x156));throw new Error(r(0x127));}this['_inventory']['addItem'](a),this[r(0x120)][r(0x114)](r(0x131)+a[r(0x14b)]+r(0x147));}[a51i(0x165)](a){const s=a51i;if(this[s(0x13e)][s(0x166)](a['name']))return this[s(0x120)]['write'](s(0x153)+a[s(0x14b)]+s(0x157)),!![];return this[s(0x120)][s(0x114)]('Failed\x20to\x20remove\x20'+a[s(0x14b)]+s(0x157)),![];}[a51i(0x115)](a){const t=a51i;if(!this[t(0x13e)][t(0x10b)](a[t(0x14b)]))return'You\x20don\x27t\x20have\x20'+a[t(0x14b)]+t(0x122);if(!this[t(0x15e)](a))return t(0x137)+a[t(0x14b)]+'.';const b=this['determineEquipmentSlot'](a[t(0x108)]);if(!b)return a['name']+t(0x112);if(this[t(0x11e)][b])return t(0x13d)+b+t(0x159);return this[t(0x11e)][b]=a,this[t(0x165)](a),t(0x12a)+a[t(0x14b)]+'.';}[a51i(0x14e)](a){const u=a51i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[u(0x13a)](a);if(!b)return u(0x14f)+a+'.';}return this[u(0x12f)](b);}[a51i(0x13a)](a){const v=a51i;switch(a[v(0x10a)]()){case Category[v(0x106)][v(0x10a)]():return v(0x15d);case Category[v(0x10f)]['toLowerCase']():return v(0x145);case Category['Gloves'][v(0x10a)]():return v(0x118);case Category[v(0x151)][v(0x10a)]():case Category[v(0x15a)][v(0x10a)]():return v(0x10c);case Category[v(0x109)][v(0x10a)]():return v(0x12c);case Category[v(0x141)][v(0x10a)]():return v(0x119);case Category[v(0x121)][v(0x10a)]():return v(0x117);case Category[v(0x13f)][v(0x10a)]():return v(0x130);case'weapon':return'rightHand';case v(0x10e):return v(0x145);case'gloves':return v(0x118);case'helmet':case'hat':return v(0x10c);case v(0x163):return v(0x12c);case v(0x146):case'legarmor':return'legs';case v(0x12e):case'armarmor':return v(0x117);case v(0x148):case v(0x128):case'torso':return v(0x130);default:return null;}}[a51i(0x15e)](a){const w=a51i;return Object[w(0x11d)](Category)[w(0x164)](a['category']);}[a51i(0x12f)](a){const x=a51i,b=this['equipment'][a];if(!b)return x(0x11f)+a+x(0x154);return this[x(0x134)](b),this[x(0x11e)][a]=null,x(0x125)+b[x(0x14b)]+'.';}[a51i(0x161)](a,b){const y=a51i;a!==this&&this[y(0x120)][y(0x160)](a[y(0x14b)]+y(0x136)+b+'\x22');}[a51i(0x111)](a){const z=a51i;this[z(0x129)]=a,a['on'](z(0x107),this['hear']['bind'](this)),this[z(0x120)]['write'](this['name']+z(0x113)+a[z(0x14b)]);}['leaveRoom'](){const A=a51i;this[A(0x129)]&&(this[A(0x129)][A(0x139)](A(0x107),this[A(0x161)]['bind'](this)),this['logger'][A(0x114)](this['name']+A(0x11a)+this[A(0x129)][A(0x14b)]));}}
1
+ const a51i=a51d;function a51c(){const C=['Max\x20carrying\x20weight\x20must\x20be\x20positive.','You\x20equipped\x20','determineEquipmentSlot','name','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','\x20from\x20player\x27s\x20inventory.','328owYQCh','_inventory','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','leftHand','Helmet','bind','toLowerCase','addItem','Boots','15426eTrxGg','gloves','hat','torso','A\x20featureless\x20room','helmet','arm\x20armor','arms','hasItem','toString','BodyArmor','4010892QNdDZp','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','weight','_playerName','132040asNPTO','addInventory','You\x20unequipped\x20','feet','Removed\x20','4419885frViAt','logger','error','Added\x20','bodyarmor','Failed\x20to\x20remove\x20','unequipBySlot','.\x20You\x20must\x20unequip\x20it\x20first.','11hFKEOk','legarmor','armarmor','off','You\x20can\x27t\x20equip\x20','Gloves','write','leg\x20armor','5390930LcKxZn','getWeight','Nexus','rightHand','6hFlvWV','21327bbAUQI','currentWeight','3822026JWaLWO','head','currentLocation','_maxCarryingWeight','startLocation','\x20in\x20your\x20inventory.','playerName','category','equip','legs','initialEquipment','maxCarryingWeight','206xcgtio','_currentLocation','log','boots','weapon','_equipment','enterRoom','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','inventoryItems','search','leaveRoom','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','You\x20don\x27t\x20have\x20','(((.+)+)+)+$','canEquip','\x20slot.','\x20is\x20no\x20longer\x20listeng\x20in\x20','speak','\x20is\x20now\x20listening\x20in\x20room\x20','273YEooNq','apply','equipment','27BkEijs','body\x20armor','removeInventory','removeItem','hear','LegArmor'];a51c=function(){return C;};return a51c();}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x1f8))/0x1*(-parseInt(f(0x223))/0x2)+parseInt(f(0x1ea))/0x3*(parseInt(f(0x21a))/0x4)+parseInt(f(0x237))/0x5*(parseInt(f(0x1e9))/0x6)+-parseInt(f(0x20b))/0x7*(parseInt(f(0x232))/0x8)+-parseInt(f(0x20e))/0x9*(-parseInt(f(0x1e5))/0xa)+parseInt(f(0x1dd))/0xb*(-parseInt(f(0x22e))/0xc)+parseInt(f(0x1ec))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xc6176));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x20c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x22c)]()[h(0x201)](h(0x205))[h(0x22c)]()['constructor'](a51a)[h(0x201)](h(0x205));});function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a51d(a,b);}a51a();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{[a51i(0x231)];['_currentLocation'];[a51i(0x21b)];[a51i(0x1fd)];[a51i(0x1ef)]=0x32;[a51i(0x238)];constructor(a){const j=a51i;super(),this[j(0x231)]=a[j(0x1f2)],this[j(0x1f9)]=a[j(0x1f0)]||new Room({'name':j(0x1e7),'description':j(0x227)}),this['_inventory']=new Inventory(),this[j(0x238)]=Logger['getInstance']();if(a?.[j(0x200)])for(const b of a['inventoryItems']){this[j(0x21b)]['addItem'](b);}this[j(0x1fd)]=a?.[j(0x1f6)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a51i;return this[k(0x231)];}get[a51i(0x1ee)](){const l=a51i;return this[l(0x1f9)];}set[a51i(0x1ee)](a){const m=a51i;this['_currentLocation']!==a&&(this[m(0x202)](),this['enterRoom'](a)),this[m(0x1f9)]=a;}get['inventory'](){const n=a51i;return this[n(0x21b)];}get[a51i(0x20d)](){return this['_equipment'];}set[a51i(0x20d)](a){const o=a51i;this[o(0x1fd)]=a;}get[a51i(0x1f7)](){const p=a51i;return this[p(0x1ef)];}set[a51i(0x1f7)](a){const q=a51i;a>0x0?this[q(0x1ef)]=a:console[q(0x1d7)](q(0x214));}get[a51i(0x1eb)](){const r=a51i;let a=this['_inventory'][r(0x1e6)]();for(const b in this[r(0x1fd)]){const c=this['_equipment'][b];c&&(a+=c[r(0x230)]);}return a;}[a51i(0x233)](a){const s=a51i;if(this[s(0x1eb)]+a[s(0x230)]>this[s(0x1f7)]){this[s(0x238)]['write'](s(0x21c));throw new Error(s(0x1ff));}this['_inventory'][s(0x221)](a),this['logger'][s(0x1e3)](s(0x1d8)+a[s(0x217)]+'\x20to\x20player\x27s\x20inventory.');}[a51i(0x210)](a){const t=a51i;if(this[t(0x21b)][t(0x211)](a[t(0x217)]))return this[t(0x238)][t(0x1e3)](t(0x236)+a[t(0x217)]+t(0x219)),!![];return this['logger'][t(0x1e3)](t(0x1da)+a[t(0x217)]+t(0x219)),![];}[a51i(0x1f4)](a){const u=a51i;if(!this[u(0x21b)][u(0x22b)](a[u(0x217)]))return u(0x204)+a[u(0x217)]+u(0x1f1);if(!this[u(0x206)](a))return u(0x1e1)+a[u(0x217)]+'.';const b=this[u(0x216)](a[u(0x1f3)]);if(!b)return a[u(0x217)]+u(0x203);if(this[u(0x20d)][b])return u(0x22f)+b+u(0x1dc);return this[u(0x20d)][b]=a,this['removeInventory'](a),u(0x215)+a['name']+'.';}['unequip'](a){const v=a51i;let b=a;if(!this[v(0x20d)][camelCase(b)]){b=this[v(0x216)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this['unequipBySlot'](b);}[a51i(0x216)](a){const w=a51i;switch(a['toLowerCase']()){case Category['Weapon'][w(0x220)]():return w(0x1e8);case Category['Shield'][w(0x220)]():return w(0x21d);case Category[w(0x1e2)][w(0x220)]():return w(0x224);case Category[w(0x21e)]['toLowerCase']():case Category['Hat'][w(0x220)]():return w(0x1ed);case Category[w(0x222)]['toLowerCase']():return w(0x235);case Category[w(0x213)][w(0x220)]():return w(0x1f5);case Category['ArmArmor']['toLowerCase']():return w(0x22a);case Category[w(0x22d)]['toLowerCase']():return w(0x226);case w(0x1fc):return'rightHand';case'shield':return w(0x21d);case w(0x224):return'gloves';case w(0x228):case w(0x225):return w(0x1ed);case w(0x1fb):return'feet';case w(0x1e4):case w(0x1de):return w(0x1f5);case w(0x229):case w(0x1df):return w(0x22a);case w(0x20f):case w(0x1d9):case w(0x226):return w(0x226);default:return null;}}[a51i(0x206)](a){const x=a51i;return Object['values'](Category)['includes'](a[x(0x1f3)]);}[a51i(0x1db)](a){const y=a51i,b=this[y(0x20d)][a];if(!b)return y(0x218)+a+y(0x207);return this[y(0x233)](b),this[y(0x20d)][a]=null,y(0x234)+b[y(0x217)]+'.';}['hear'](a,b){const z=a51i;a!==this&&this['logger'][z(0x1fa)](a['name']+'\x20says:\x20\x22'+b+'\x22');}[a51i(0x1fe)](a){const A=a51i;this[A(0x1f9)]=a,a['on'](A(0x209),this[A(0x212)][A(0x21f)](this)),this[A(0x238)][A(0x1e3)](this[A(0x217)]+A(0x20a)+a[A(0x217)]);}[a51i(0x202)](){const B=a51i;this['_currentLocation']&&(this['_currentLocation'][B(0x1e0)]('speak',this['hear'][B(0x21f)](this)),this['logger'][B(0x1e3)](this[B(0x217)]+B(0x208)+this[B(0x1f9)][B(0x217)]));}}
@@ -1 +1 @@
1
- var a52i=a52d;function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x106;var f=c[d];return f;},a52d(a,b);}(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x11e))/0x1+parseInt(f(0x119))/0x2+parseInt(f(0x11f))/0x3*(-parseInt(f(0x117))/0x4)+parseInt(f(0x116))/0x5+-parseInt(f(0x11d))/0x6+parseInt(f(0x10a))/0x7+-parseInt(f(0x10c))/0x8*(parseInt(f(0x115))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x24431));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x118)]()['search']('(((.+)+)+)+$')[h(0x118)]()[h(0x112)](a52a)[h(0x120)]('(((.+)+)+)+$');});a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger['getInstance']();[a52i(0x111)]=![];[a52i(0x108)];[a52i(0x10f)];[a52i(0x114)];[a52i(0x109)];['successMessage'];[a52i(0x11c)];constructor(a){var j=a52i;super(),this['requiredItem']=a['requiredItem'],this['requiredPhrase']=a[j(0x10f)],this['riddle']=a[j(0x114)],this[j(0x109)]=a[j(0x109)],this[j(0x107)]=a[j(0x107)]||'You\x20solved\x20the\x20puzzle!',this['failureMessage']=a['failureMessage']||j(0x113);}[a52i(0x10b)](a){var k=a52i;if(this[k(0x108)])return a['hasItem'](this[k(0x108)]);return![];}['matchesRequiredPhrase'](a){var l=a52i;return this[l(0x10f)]===a;}['solve'](a,b){var m=a52i;if(this[m(0x111)])return this[m(0x106)][m(0x10e)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':m(0x11b)};return this[m(0x10b)](b)||this[m(0x110)](a)?(this[m(0x111)]=!![],this['logger'][m(0x10e)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[m(0x107)]}):(this['logger'][m(0x10e)](m(0x10d)),{'success':![],'message':this[m(0x11c)]});}}function a52c(){var n=['hasRequiredItem','2760EkAbMB','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','write','requiredPhrase','matchesRequiredPhrase','solved','constructor','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','riddle','2493LyckKQ','1458425QLwcUS','16rnhbXr','toString','135050eTMNhw','apply','You\x20have\x20already\x20solved\x20this\x20puzzle.','failureMessage','685272eGyWYH','156976QbwFiN','151761lCRqVD','search','logger','successMessage','requiredItem','rewardItem','311276VGopBG'];a52c=function(){return n;};return a52c();}
1
+ function a52c(){var m=['hasItem','9QxCSHG','toString','requiredPhrase','write','19YizAFK','hasRequiredItem','4XbmVwa','You\x20solved\x20the\x20puzzle!','successMessage','solved','(((.+)+)+)+$','770535dStQTq','1002536DkaAAz','search','484611WdECGk','3254636ShcPAe','requiredItem','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','7SlXzLg','42692lwivjh','riddle','logger','failureMessage','Puzzle:\x20Correct\x20solution\x20provided.','1218966GmxFXv','1033480iDjhbU','constructor','You\x20have\x20already\x20solved\x20this\x20puzzle.','rewardItem','matchesRequiredPhrase','getInstance'];a52c=function(){return m;};return a52c();}var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x112))/0x1*(-parseInt(f(0x101))/0x2)+parseInt(f(0xfc))/0x3+parseInt(f(0x114))/0x4*(parseInt(f(0xf9))/0x5)+parseInt(f(0x106))/0x6*(-parseInt(f(0x100))/0x7)+parseInt(f(0xfa))/0x8+-parseInt(f(0x10e))/0x9*(-parseInt(f(0x107))/0xa)+parseInt(f(0xfd))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x3881a));var a52b=(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;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0x10f)]()[g(0xfb)]('(((.+)+)+)+$')['toString']()[g(0x108)](a52a)['search'](g(0x118));});a52a();import{Logger}from'../utilities/logger.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xf9;var f=c[d];return f;},a52d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52h(0x103)]=Logger[a52h(0x10c)]();[a52h(0x117)]=![];[a52h(0xfe)];[a52h(0x110)];[a52h(0x102)];[a52h(0x10a)];[a52h(0x116)];[a52h(0x104)];constructor(a){var i=a52h;super(),this['requiredItem']=a[i(0xfe)],this['requiredPhrase']=a['requiredPhrase'],this['riddle']=a[i(0x102)],this[i(0x10a)]=a[i(0x10a)],this[i(0x116)]=a[i(0x116)]||i(0x115),this[i(0x104)]=a[i(0x104)]||i(0xff);}[a52h(0x113)](a){var j=a52h;if(this['requiredItem'])return a[j(0x10d)](this[j(0xfe)]);return![];}[a52h(0x10b)](a){var k=a52h;return this[k(0x110)]===a;}['solve'](a,b){var l=a52h;if(this['solved'])return this[l(0x103)]['write']('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':l(0x109)};return this[l(0x113)](b)||this['matchesRequiredPhrase'](a)?(this[l(0x117)]=!![],this['logger'][l(0x111)](l(0x105)),{'success':!![],'message':this[l(0x116)]}):(this[l(0x103)][l(0x111)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[l(0x104)]});}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x1d1))/0x1*(-parseInt(f(0x1a6))/0x2)+parseInt(f(0x1b2))/0x3*(-parseInt(f(0x1be))/0x4)+parseInt(f(0x1b3))/0x5*(parseInt(f(0x1b1))/0x6)+-parseInt(f(0x1d6))/0x7*(-parseInt(f(0x1c5))/0x8)+-parseInt(f(0x1a8))/0x9*(parseInt(f(0x19e))/0xa)+parseInt(f(0x1a5))/0xb*(-parseInt(f(0x1da))/0xc)+parseInt(f(0x195))/0xd*(parseInt(f(0x1a0))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x304ec));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x1d7)]()[h(0x1aa)](h(0x1c8))[h(0x1d7)]()[h(0x1b4)](a53a)[h(0x1aa)]('(((.+)+)+)+$');});a53a();import{Logger}from'../utilities/logger.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x194;let f=c[d];return f;},a53d(a,b);}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{[a53i(0x1af)]=Logger[a53i(0x1cf)]();[a53i(0x1ae)];[a53i(0x1c9)];['exits']=new Map();[a53i(0x1bb)];['isStartRoom'];[a53i(0x1b9)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x1ae)]=a[j(0x1ae)],this[j(0x1c9)]=a[j(0x1c9)],this[j(0x1bb)]=a['roomType']||RoomType[j(0x1a9)],a['exits']&&(this[j(0x19c)]=a['exits']||new Map()),a[j(0x1b9)]&&(this[j(0x1b9)]=a[j(0x1b9)]),a[j(0x1a4)]&&(this[j(0x1a4)]=a['puzzle']),this[j(0x1b0)]=a[j(0x1b0)]||![],this['logger'][j(0x1b5)](j(0x1c2)+this['name']);}[a53i(0x1ca)](a,b){const k=a53i;this['emit'](k(0x1c6),a,b);}['addExit'](a,b,c){const l=a53i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0x1d3)](a,d),b[l(0x19c)][l(0x1d3)](this[l(0x198)](a),d);}[a53i(0x1d9)](a,b){const m=a53i,c=this[m(0x19c)][m(0x197)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0x1af)][m(0x1b5)](m(0x1b8)+a+m(0x19f)+d),d?m(0x1d5)+c[m(0x1ae)]+'\x20unlocked!':m(0x1d5)+c['name']+m(0x1cd);}return this[m(0x1af)]['write'](m(0x1cb)+a),m(0x1a7);}['getExit'](a){const n=a53i;return this['logger'][n(0x1b5)](n(0x1d8)+a),this[n(0x19c)][n(0x197)](a);}[a53i(0x1ad)](a){const o=a53i,b=this[o(0x19c)][o(0x197)](a),c=b instanceof Door&&b[o(0x1d2)]();return this[o(0x1af)][o(0x1b5)](o(0x1c4)+a+o(0x1ce)+c),c;}[a53i(0x19d)](a){const p=a53i;this[p(0x1b9)][p(0x19d)](a),this[p(0x1af)][p(0x1b5)](p(0x1bd)+this['name']+':\x20'+a[p(0x1ae)]);}[a53i(0x1bf)](a){const q=a53i;this[q(0x1b9)][q(0x1a3)](a[q(0x1ae)])?(this[q(0x1b9)][q(0x1bf)](a['name']),this[q(0x1af)]['write'](q(0x1b7)+this['name']+':\x20'+a[q(0x1ae)])):this[q(0x1af)][q(0x1b5)](q(0x196)+this[q(0x1ae)]+':\x20'+a[q(0x1ae)]);}[a53i(0x1c3)](a){const r=a53i;this[r(0x1a4)]=a,this['logger'][r(0x1b5)](r(0x1bc)+this[r(0x1ae)]+':\x20'+a[r(0x194)]);}[a53i(0x198)](a){const s=a53i;switch(a){case s(0x1ba):return Direction[s(0x1a2)];case s(0x1c0):return Direction[s(0x1d0)];case s(0x1b6):return Direction[s(0x19b)];case'west':return Direction[s(0x199)];case'up':return Direction[s(0x1a1)];case s(0x1cc):return Direction['UP'];default:throw new Error(s(0x1ab)+a);}}[a53i(0x1d4)](a){const t=a53i;for(const b of this['exits'][t(0x1c1)]()){if(b instanceof Door){if(b[t(0x1c7)]===this&&b[t(0x19a)]===a||b[t(0x19a)]===this&&b[t(0x1c7)]===a)return b;}}return undefined;}}function a53c(){const u=['apply','isExitLocked','name','logger','isStartRoom','11202mUKvIN','6pEJQLt','1055lUlqla','constructor','write','east','Item\x20removed\x20from\x20room\x20','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','inventory','north','roomType','Puzzle\x20set\x20for\x20room\x20','Item\x20added\x20to\x20room\x20','455408TsthZI','removeItem','south','values','Room\x20created:\x20','setPuzzle','Checking\x20if\x20exit\x20in\x20direction\x20','69848TfrrlQ','speak','roomA','(((.+)+)+)+$','description','say','No\x20locked\x20exit\x20found\x20in\x20direction\x20','down','\x20remains\x20locked.','\x20is\x20locked.\x20Result:\x20','getInstance','NORTH','108859VKdNtB','checkIfLocked','set','findExistingDoor','The\x20','175VOKVYI','toString','Fetching\x20exit\x20in\x20direction:\x20','attemptUnlockExit','3684oAuSoY','riddle','1427413oHFhQH','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','get','getOppositeDirection','EAST','roomB','WEST','exits','addItem','1962330ABAVXs','.\x20Success:\x20','14yRQYDt','DOWN','SOUTH','hasItem','puzzle','7491TqdpRH','2pwnCmb','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','9WikNPE','INSIDE','search','Invalid\x20direction:\x20'];a53c=function(){return u;};return a53c();}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x135))/0x1*(-parseInt(f(0x11c))/0x2)+-parseInt(f(0x118))/0x3*(parseInt(f(0x11a))/0x4)+-parseInt(f(0x13e))/0x5*(parseInt(f(0x14f))/0x6)+-parseInt(f(0x11d))/0x7+-parseInt(f(0x129))/0x8*(-parseInt(f(0x138))/0x9)+parseInt(f(0x12c))/0xa*(parseInt(f(0x130))/0xb)+parseInt(f(0x14e))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xd1856));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x13a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x14a)]()['search'](h(0x13d))[h(0x14a)]()[h(0x119)](a53a)[h(0x123)](h(0x13d));});a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x116;let f=c[d];return f;},a53d(a,b);}function a53c(){const u=['roomB','apply','name','Fetching\x20exit\x20in\x20direction:\x20','(((.+)+)+)+$','711485zCcIpl','\x20is\x20locked.\x20Result:\x20','The\x20','hasItem','north','logger','checkIfLocked','exits','roomA','attemptUnlock','get','\x20unlocked!','toString','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','addItem','getExit','37175928YltsYA','6MOvarE','puzzle','No\x20locked\x20exit\x20found\x20in\x20direction\x20','setPuzzle','Item\x20removed\x20from\x20room\x20','write','inventory','speak','removeItem','getOppositeDirection','Room\x20created:\x20','1204278WNwFvp','constructor','12TNrhcq','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','6cccfQL','11836090vnZJPV','isStartRoom','down','attemptUnlockExit','Item\x20added\x20to\x20room\x20','roomType','search','findExistingDoor','NORTH','\x20remains\x20locked.','Invalid\x20direction:\x20','east','536sAVlvo','Checking\x20if\x20exit\x20in\x20direction\x20','getInstance','10fOLVfN','INSIDE','description','DOWN','2105675jKjHti','Puzzle\x20set\x20for\x20room\x20','south','west','isExitLocked','57578UuUfoJ','set','EAST','58230DqsZRQ'];a53c=function(){return u;};return a53c();}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{['logger']=Logger[a53i(0x12b)]();[a53i(0x13b)];[a53i(0x12e)];['exits']=new Map();[a53i(0x122)];[a53i(0x11e)];[a53i(0x155)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x13b)]=a[j(0x13b)],this['description']=a[j(0x12e)],this[j(0x122)]=a[j(0x122)]||RoomType[j(0x12d)],a[j(0x145)]&&(this['exits']=a[j(0x145)]||new Map()),a[j(0x155)]&&(this[j(0x155)]=a[j(0x155)]),a[j(0x150)]&&(this['puzzle']=a[j(0x150)]),this[j(0x11e)]=a[j(0x11e)]||![],this[j(0x143)][j(0x154)](j(0x117)+this[j(0x13b)]);}['say'](a,b){const k=a53i;this['emit'](k(0x156),a,b);}['addExit'](a,b,c){const l=a53i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0x136)](a,d),b[l(0x145)][l(0x136)](this[l(0x116)](a),d);}[a53i(0x120)](a,b){const m=a53i,c=this[m(0x145)]['get'](a);if(c instanceof Door){const d=c[m(0x147)](b);return this['logger'][m(0x154)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+'.\x20Success:\x20'+d),d?m(0x140)+c[m(0x13b)]+m(0x149):m(0x140)+c[m(0x13b)]+m(0x126);}return this[m(0x143)][m(0x154)](m(0x151)+a),m(0x14b);}[a53i(0x14d)](a){const n=a53i;return this[n(0x143)][n(0x154)](n(0x13c)+a),this[n(0x145)][n(0x148)](a);}[a53i(0x134)](a){const o=a53i,b=this[o(0x145)]['get'](a),c=b instanceof Door&&b[o(0x144)]();return this['logger']['write'](o(0x12a)+a+o(0x13f)+c),c;}[a53i(0x14c)](a){const p=a53i;this['inventory'][p(0x14c)](a),this['logger'][p(0x154)](p(0x121)+this[p(0x13b)]+':\x20'+a[p(0x13b)]);}[a53i(0x157)](a){const q=a53i;this[q(0x155)][q(0x141)](a[q(0x13b)])?(this[q(0x155)]['removeItem'](a[q(0x13b)]),this['logger']['write'](q(0x153)+this['name']+':\x20'+a[q(0x13b)])):this[q(0x143)]['write'](q(0x11b)+this[q(0x13b)]+':\x20'+a[q(0x13b)]);}[a53i(0x152)](a){const r=a53i;this['puzzle']=a,this[r(0x143)][r(0x154)](r(0x131)+this['name']+':\x20'+a['riddle']);}[a53i(0x116)](a){const s=a53i;switch(a){case s(0x142):return Direction['SOUTH'];case s(0x132):return Direction[s(0x125)];case s(0x128):return Direction['WEST'];case s(0x133):return Direction[s(0x137)];case'up':return Direction[s(0x12f)];case s(0x11f):return Direction['UP'];default:throw new Error(s(0x127)+a);}}[a53i(0x124)](a){const t=a53i;for(const b of this[t(0x145)]['values']()){if(b instanceof Door){if(b[t(0x146)]===this&&b[t(0x139)]===a||b['roomB']===this&&b[t(0x146)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- function a54c(){const D=['\x20is\x20now\x20in\x20room\x20','keyRequired','exits','getInstance','warn','determineStartRoom','addExit','5VouOUC','values','\x20not\x20found\x20in\x20scene.','actors','1796499ZAkKNw','Failed\x20to\x20add\x20item\x20','setCharacterLocation','8OUibWd','push','getActor','connectRooms','No\x20actor\x20with\x20name\x20','length','removeRoom','targetRoom','Added\x20room\x20to\x20scene:\x20','delete','join','direction','1392044WnmLoR','initialize','search','addActor','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','get','toString','692LzkHVV','6989675UngrBo','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','addItem','constructor','10MULtXy','Added\x20puzzle\x20to\x20room\x20','2583933gEPyhX','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','1439142nPnEHD','roomFactory','has','addPuzzleToRoom','Room\x20\x22','write','7447149XWLmSi','Added\x20item\x20','rooms','name','addRoom','apply','173hZVuqD','\x20already\x20exists\x20in\x20the\x20scene.','toUpperCase','roomConfiguration','Removed\x20room\x20from\x20scene:\x20','set','player','isStartRoom','keys','createRoom','getPlayer','setPuzzle','logger','Failed\x20to\x20set\x20','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','addItemToRoom','\x22\x20does\x20not\x20exist.','generateRoomsFromConfig','Scene\x20initialized\x20with\x20rooms:\x20','createExitsFromConfig','characterLocations'];a54c=function(){return D;};return a54c();}const a54l=a54d;function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x8c;let f=c[d];return f;},a54d(a,b);}(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0xb7))/0x1*(parseInt(i(0xa2))/0x2)+parseInt(i(0x8c))/0x3+-parseInt(i(0x9b))/0x4*(-parseInt(i(0xd3))/0x5)+-parseInt(i(0xab))/0x6+-parseInt(i(0xa3))/0x7+-parseInt(i(0x8f))/0x8*(-parseInt(i(0xb1))/0x9)+parseInt(i(0xa7))/0xa*(parseInt(i(0xa9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xad938));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0xb6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0xa1)]()[k(0x9d)]('(((.+)+)+)+$')['toString']()[k(0xa6)](a54a)[k(0x9d)]('(((.+)+)+)+$');});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0xb3)];[a54l(0xbd)];[a54l(0xc3)];[a54l(0xd6)];[a54l(0xcb)]=new Map();[a54l(0xac)];constructor(a){const m=a54l;super(),this[m(0xac)]=new RoomFactory(),this[m(0xbd)]=a['player'],this[m(0xb3)]=this[m(0xc8)](a[m(0xba)]),this[m(0xc3)]=Logger[m(0xcf)](),this['actors']=new Map(),this[m(0xca)](a[m(0xba)]),this[m(0xc3)][m(0xb0)](m(0xc9)+Object[m(0xbf)](this[m(0xb3)])[m(0x99)](',\x20'));}[a54l(0x9c)](){const n=a54l;this['player']['currentLocation']=this[n(0xd1)]();}[a54l(0xc8)](a){const o=a54l;if(!this[o(0xac)])throw new Error(o(0xc5));const b={};for(const c of a){const d=this[o(0xac)][o(0xc0)](c);b[c[o(0xb4)]]=d;}return b;}[a54l(0xca)](a){const p=a54l;for(const b of a){const c=this[p(0xb3)][b[p(0xb4)]];if(b[p(0xce)])for(const d of b[p(0xce)]){const e=d[p(0x9a)][p(0xb9)](),f=d[p(0x96)],g=d[p(0xcd)],h=this['rooms'][f];h&&c[p(0xd2)](Direction[e],h,g);}}}[a54l(0x9e)](a){const q=a54l;if(this[q(0xd6)][q(0xad)](a[q(0xb4)]))throw new Error('Actor\x20with\x20name\x20'+a[q(0xb4)]+q(0xb8));this[q(0xd6)]['set'](a[q(0xb4)],a);}['removeActor'](a){const r=a54l;if(!this[r(0xd6)][r(0xad)](a))throw new Error(r(0x93)+a+'\x20found\x20in\x20the\x20scene.');this[r(0xd6)][r(0x98)](a);}[a54l(0x91)](a){return this['actors']['get'](a);}get['allActors'](){const s=a54l;return Array['from'](this['actors'][s(0xd4)]());}[a54l(0xb5)](a){const t=a54l;this[t(0xb3)][a[t(0xb4)]]=a,this[t(0xc3)][t(0xb0)](t(0x97)+a[t(0xb4)]);}[a54l(0x95)](a){const u=a54l;return this[u(0xb3)][a]?(delete this[u(0xb3)][a],this[u(0xc3)][u(0xb0)](u(0xbb)+a),!![]):(this[u(0xc3)][u(0xb0)](u(0xa4)+a),![]);}[a54l(0xc6)](a,b){const v=a54l,c=this[v(0xb3)][b];c?(c[v(0xa5)](a),this[v(0xc3)][v(0xb0)](v(0xb2)+a[v(0xb4)]+'\x20to\x20room\x20'+c[v(0xb4)])):this[v(0xc3)][v(0xb0)](v(0x8d)+a['name']+'.\x20Room\x20'+b+v(0xd5));}[a54l(0xae)](a,b){const w=a54l,c=this[w(0xb3)][b];c?(c[w(0xc2)](a),this['logger']['write'](w(0xa8)+c[w(0xb4)])):this[w(0xc3)][w(0xb0)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x8e)](a,b){const x=a54l,c=this[x(0xb3)][b];c?(this['characterLocations'][x(0xbc)](a[x(0xb4)],c),this[x(0xc3)][x(0xb0)](a['name']+x(0xcc)+c[x(0xb4)])):this[x(0xc3)][x(0xb0)](x(0xc4)+a['name']+'\x27s\x20location.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const y=a54l;return this[y(0xcb)][y(0xa0)](a['name']);}['determineStartRoom'](){const z=a54l,a=[];for(const c in this[z(0xb3)]){if(this[z(0xb3)]['hasOwnProperty'](c)){const d=this[z(0xb3)][c];d[z(0xbe)]&&a[z(0x90)](d);}}if(a[z(0x94)]>0x1)throw new Error(z(0x9f));if(a[z(0x94)]===0x1)return a[0x0];const b=Object[z(0xbf)](this[z(0xb3)]);if(b[z(0x94)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[z(0xd0)](z(0xaa)),this['rooms'][b[0x0]];}[a54l(0xc1)](){const A=a54l;return this[A(0xbd)];}['getRooms'](){const B=a54l;return this[B(0xb3)];}[a54l(0x92)](a,b,c,d){const C=a54l,e=this['rooms'][a],f=this[C(0xb3)][c];if(!e)throw new Error(C(0xaf)+a+C(0xc7));if(!f)throw new Error('Room\x20\x22'+c+C(0xc7));e[C(0xd2)](b,f,d);}}
1
+ const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x83))/0x1*(-parseInt(i(0x7c))/0x2)+parseInt(i(0x8e))/0x3+parseInt(i(0x94))/0x4*(-parseInt(i(0x9f))/0x5)+parseInt(i(0x99))/0x6*(-parseInt(i(0x84))/0x7)+parseInt(i(0x88))/0x8+parseInt(i(0xa2))/0x9+-parseInt(i(0x7d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x65f02));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x70)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x96)]()[k(0x91)](k(0xa4))[k(0x96)]()['constructor'](a54a)['search']('(((.+)+)+)+$');});a54a();import{Logger}from'../utilities/logger.js';function a54c(){const D=['\x20is\x20now\x20in\x20room\x20','232yDCMTP','Added\x20puzzle\x20to\x20room\x20','toString','length','hasOwnProperty','402828eGfBmc','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','addExit','characterLocations','\x27s\x20location.\x20Room\x20','30395qtkDnn','push','generateRoomsFromConfig','6628554XyYZie','addActor','(((.+)+)+)+$','\x20already\x20exists\x20in\x20the\x20scene.','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','Added\x20item\x20','actors','.\x20Room\x20','removeRoom','get','allActors','set','currentLocation','getRooms','createExitsFromConfig','keys','Room\x20\x22','keyRequired','roomFactory','exits','\x20not\x20found\x20in\x20scene.','values','\x20found\x20in\x20the\x20scene.','apply','join','determineStartRoom','removeActor','isStartRoom','delete','setPuzzle','name','roomConfiguration','rooms','player','write','328782yOUkQO','10956530sibIKu','addRoom','Added\x20room\x20to\x20scene:\x20','Scene\x20initialized\x20with\x20rooms:\x20','Removed\x20room\x20from\x20scene:\x20','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','1ePzraQ','7pbkuNP','setCharacterLocation','\x22\x20does\x20not\x20exist.','connectRooms','6545832ZgNYtw','logger','Failed\x20to\x20set\x20','getPlayer','getCharacterLocation','No\x20actor\x20with\x20name\x20','641355AtCdlI','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','warn','search','addPuzzleToRoom'];a54c=function(){return D;};return a54c();}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x65;let f=c[d];return f;},a54d(a,b);}export class Scene extends AbstractScene{[a54l(0x79)];[a54l(0x7a)];[a54l(0x89)];['actors'];[a54l(0x9d)]=new Map();[a54l(0x6b)];constructor(a){const m=a54l;super(),this[m(0x6b)]=new RoomFactory(),this[m(0x7a)]=a[m(0x7a)],this[m(0x79)]=this[m(0xa1)](a[m(0x78)]),this['logger']=Logger['getInstance'](),this[m(0xa8)]=new Map(),this[m(0x67)](a[m(0x78)]),this[m(0x89)]['write'](m(0x80)+Object['keys'](this[m(0x79)])[m(0x71)](',\x20'));}['initialize'](){const n=a54l;this[n(0x7a)][n(0x65)]=this['determineStartRoom']();}[a54l(0xa1)](a){const o=a54l;if(!this['roomFactory'])throw new Error(o(0x9b));const b={};for(const c of a){const d=this[o(0x6b)]['createRoom'](c);b[c[o(0x77)]]=d;}return b;}['createExitsFromConfig'](a){const p=a54l;for(const b of a){const c=this[p(0x79)][b[p(0x77)]];if(b['exits'])for(const d of b[p(0x6c)]){const e=d['direction']['toUpperCase'](),f=d['targetRoom'],g=d[p(0x6a)],h=this[p(0x79)][f];h&&c[p(0x9c)](Direction[e],h,g);}}}[a54l(0xa3)](a){const q=a54l;if(this[q(0xa8)]['has'](a[q(0x77)]))throw new Error('Actor\x20with\x20name\x20'+a[q(0x77)]+q(0xa5));this[q(0xa8)][q(0xad)](a['name'],a);}[a54l(0x73)](a){const r=a54l;if(!this[r(0xa8)]['has'](a))throw new Error(r(0x8d)+a+r(0x6f));this[r(0xa8)][r(0x75)](a);}['getActor'](a){return this['actors']['get'](a);}get[a54l(0xac)](){const s=a54l;return Array['from'](this[s(0xa8)][s(0x6e)]());}[a54l(0x7e)](a){const t=a54l;this['rooms'][a[t(0x77)]]=a,this[t(0x89)][t(0x7b)](t(0x7f)+a[t(0x77)]);}[a54l(0xaa)](a){const u=a54l;return this[u(0x79)][a]?(delete this[u(0x79)][a],this[u(0x89)][u(0x7b)](u(0x81)+a),!![]):(this[u(0x89)][u(0x7b)](u(0xa6)+a),![]);}['addItemToRoom'](a,b){const v=a54l,c=this[v(0x79)][b];c?(c['addItem'](a),this[v(0x89)][v(0x7b)](v(0xa7)+a['name']+'\x20to\x20room\x20'+c[v(0x77)])):this[v(0x89)][v(0x7b)]('Failed\x20to\x20add\x20item\x20'+a[v(0x77)]+v(0xa9)+b+v(0x6d));}[a54l(0x92)](a,b){const w=a54l,c=this['rooms'][b];c?(c[w(0x76)](a),this[w(0x89)][w(0x7b)](w(0x95)+c[w(0x77)])):this[w(0x89)]['write'](w(0x9a)+b+w(0x6d));}[a54l(0x85)](a,b){const x=a54l,c=this[x(0x79)][b];c?(this[x(0x9d)]['set'](a[x(0x77)],c),this[x(0x89)][x(0x7b)](a[x(0x77)]+x(0x93)+c[x(0x77)])):this[x(0x89)][x(0x7b)](x(0x8a)+a[x(0x77)]+x(0x9e)+b+x(0x6d));}[a54l(0x8c)](a){const y=a54l;return this[y(0x9d)][y(0xab)](a[y(0x77)]);}[a54l(0x72)](){const z=a54l,a=[];for(const c in this[z(0x79)]){if(this[z(0x79)][z(0x98)](c)){const d=this[z(0x79)][c];d[z(0x74)]&&a[z(0xa0)](d);}}if(a[z(0x97)]>0x1)throw new Error(z(0x82));if(a[z(0x97)]===0x1)return a[0x0];const b=Object[z(0x68)](this['rooms']);if(b[z(0x97)]===0x0)throw new Error(z(0x8f));return console[z(0x90)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this['rooms'][b[0x0]];}[a54l(0x8b)](){const A=a54l;return this[A(0x7a)];}[a54l(0x66)](){const B=a54l;return this[B(0x79)];}[a54l(0x87)](a,b,c,d){const C=a54l,e=this['rooms'][a],f=this[C(0x79)][c];if(!e)throw new Error('Room\x20\x22'+a+C(0x86));if(!f)throw new Error(C(0x69)+c+C(0x86));e[C(0x9c)](b,f,d);}}
@@ -1 +1 @@
1
- var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x91))/0x1*(-parseInt(f(0x98))/0x2)+parseInt(f(0x76))/0x3+parseInt(f(0x7c))/0x4*(-parseInt(f(0x9c))/0x5)+-parseInt(f(0x90))/0x6+-parseInt(f(0x7a))/0x7*(parseInt(f(0x84))/0x8)+-parseInt(f(0x99))/0x9+parseInt(f(0x94))/0xa*(parseInt(f(0x9d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xde69a));var a55b=(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;};}()),a55a=a55b(this,function(){var g=a55d;return a55a[g(0x8c)]()['search'](g(0x9e))[g(0x8c)]()[g(0x7e)](a55a)[g(0x85)](g(0x9e));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var h=a55d;super({'name':a,'description':b,'size':Size[h(0x75)],'category':Category[h(0xa1)],'shape':Shape[h(0x9f)],'color':Color[h(0x6f)],'texture':Texture[h(0x70)],'rating':Rating[h(0x95)],'weight':0x1});}[a55i(0x80)](){return this['description'];}}export class Sword extends Item{constructor(a,b){var j=a55i;super({'name':a,'description':b,'size':Size[j(0x75)],'category':Category[j(0x88)],'shape':Shape[j(0xa2)],'color':Color['Grey'],'texture':Texture[j(0x97)],'rating':Rating[j(0x95)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var k=a55i;super({'name':a,'description':b,'size':Size[k(0x8f)],'category':Category[k(0x88)],'shape':Shape[k(0x92)],'color':Color[k(0xa6)],'texture':Texture[k(0x97)],'rating':Rating[k(0x82)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var l=a55i;super({'name':a,'description':b,'size':Size[l(0x75)],'category':Category[l(0xa5)],'shape':Shape[l(0x9b)],'color':Color[l(0x9a)],'texture':Texture['Metallic'],'rating':Rating[l(0x95)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var m=a55i;super({'name':a,'description':b,'size':Size[m(0x8f)],'category':Category[m(0x79)],'shape':Shape[m(0x9f)],'color':Color[m(0x9a)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var n=a55i;super({'name':a,'description':b,'size':Size[n(0x75)],'category':Category[n(0x81)],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture[n(0x97)],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var o=a55i;super({'name':a,'description':b,'size':Size[o(0x75)],'category':Category[o(0x7b)],'shape':Shape[o(0x9b)],'color':Color[o(0xa6)],'texture':Texture['Smooth'],'rating':Rating[o(0x95)],'weight':0x2});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x6f;var f=c[d];return f;},a55d(a,b);}function a55c(){var D=['4BGuxsu','4091733RYBRCt','Grey','Circle','4613510BqQoVw','303017tpeGdU','(((.+)+)+)+$','Rectangle','Tiny','Unknown','Blade','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Sniper\x20Rifle','Helmet','Brown','Gloves','Gold','Yellow','Smooth','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Legendary','name','Medium','1793574fdyJaG','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','A\x20mysterious\x20book.','BodyArmor','7XopeWX','Boots','4sWlQpH','Holy\x20Grail','constructor','author','use','LegArmor','Rare','publishDate','3785176YHfnLA','search','Unknown\x20Author','Book','Weapon','Short\x20Sword','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Key','toString','Small','pageCount','Large','2775708mZbGGY','293885PtqsYJ','Rifle','Cup','740mhmmMy','Common','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Metallic'];a55c=function(){return D;};return a55c();}export class Gloves extends Item{constructor(a,b){var p=a55i;super({'name':a,'description':b,'size':Size['Small'],'category':Category[p(0xa7)],'shape':Shape[p(0x9b)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating[p(0x95)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var q=a55i;super({'name':a,'description':b,'size':Size[q(0x75)],'category':Category['ArmArmor'],'shape':Shape[q(0x9f)],'color':Color[q(0x9a)],'texture':Texture[q(0x97)],'rating':Rating[q(0x95)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var r=a55i;super({'name':a,'description':b,'size':Size[r(0xa0)],'category':Category[r(0x8b)],'shape':Shape['Rectangle'],'color':Color['Yellow'],'texture':Texture['Smooth'],'rating':Rating[r(0x95)],'weight':0x0});}[a55i(0x80)](){var s=a55i;return s(0x77);}}export class Weapon extends Item{constructor(a,b){var t=a55i;super({'name':a,'description':b,'size':Size[t(0x75)],'category':Category[t(0x88)],'shape':Shape[t(0xa2)],'color':Color[t(0x9a)],'texture':Texture[t(0x97)],'rating':Rating[t(0x95)],'weight':0x3});}[a55i(0x80)](){var u=a55i;return u(0x8a);}}export class Book extends Item{[a55i(0x7f)];[a55i(0x83)];[a55i(0x8e)];constructor(a,b=a55i(0x78),c=a55i(0x86)){var v=a55i;super({'name':a,'description':b,'size':Size[v(0x75)],'category':Category[v(0x87)],'shape':Shape[v(0x9f)],'color':Color[v(0xa6)],'texture':Texture['Smooth'],'rating':Rating[v(0x95)],'weight':0x1}),this[v(0x7f)]=c,this[v(0x83)]=new Date(),this[v(0x8e)]=0x64;}[a55i(0x80)](){var w=a55i;return w(0xa3);}}export class ShortSword extends Item{constructor(){var x=a55i;super({'name':x(0x89),'description':x(0x71),'size':Size[x(0x75)],'category':Category['Weapon'],'shape':Shape[x(0xa2)],'color':Color[x(0x9a)],'texture':Texture[x(0x97)],'rating':Rating['Common'],'weight':0x3});}[a55i(0x80)](){var y=a55i;return y(0x8a);}}export class SniperRifle extends Item{constructor(){var z=a55i;super({'name':z(0xa4),'description':z(0x72),'size':Size[z(0x8f)],'category':Category[z(0x88)],'shape':Shape[z(0x92)],'color':Color[z(0xa6)],'texture':Texture['Smooth'],'rating':Rating[z(0x95)],'weight':0x5});}[a55i(0x80)](){var A=a55i;return A(0x96);}}export class HolyGrail extends Item{constructor(){var B=a55i;super({'name':B(0x7d),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[B(0x8d)],'category':Category[B(0x93)],'shape':Shape['Circle'],'color':Color[B(0xa8)],'texture':Texture[B(0x97)],'rating':Rating[B(0x73)],'weight':0x1});}['use'](){var C=a55i;return'You\x20hold\x20the\x20'+this[C(0x74)]+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}
1
+ var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xa2))/0x1*(parseInt(f(0xa1))/0x2)+-parseInt(f(0xa7))/0x3+parseInt(f(0x8d))/0x4+parseInt(f(0xae))/0x5*(-parseInt(f(0xaa))/0x6)+parseInt(f(0x95))/0x7*(parseInt(f(0x9b))/0x8)+-parseInt(f(0xa3))/0x9+parseInt(f(0x9d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x7cec7));function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x7c;var f=c[d];return f;},a55d(a,b);}var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0x8c)]('(((.+)+)+)+$')[h(0x85)]()[h(0xa0)](a55a)[h(0x8c)](h(0x91));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Unknown'],'shape':Shape[i(0xaf)],'color':Color['Yellow'],'texture':Texture[i(0xad)],'rating':Rating[i(0x8b)],'weight':0x1});}[a55j(0xa8)](){var k=a55j;return this[k(0x90)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size[l(0xac)],'category':Category[l(0xa5)],'shape':Shape[l(0x7d)],'color':Color[l(0xb0)],'texture':Texture[l(0x82)],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size[m(0x7f)],'category':Category[m(0xa5)],'shape':Shape['Rifle'],'color':Color[m(0x8f)],'texture':Texture[m(0x82)],'rating':Rating[m(0x87)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0xac)],'category':Category[n(0x81)],'shape':Shape['Circle'],'color':Color[n(0xb0)],'texture':Texture[n(0x82)],'rating':Rating[n(0x8b)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category['BodyArmor'],'shape':Shape[o(0xaf)],'color':Color['Grey'],'texture':Texture[o(0x82)],'rating':Rating[o(0x8b)],'weight':0xa});}}function a55c(){var E=['46878zECxnf','use','Book','606TvuUbZ','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Medium','Smooth','16555vJriAd','Rectangle','Grey','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Blade','ArmArmor','Large','pageCount','Helmet','Metallic','LegArmor','apply','toString','Small','Rare','Cup','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','A\x20mysterious\x20book.','Common','search','2199096qPxcSm','Short\x20Sword','Brown','description','(((.+)+)+)+$','name','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Rifle','227038cLHrCb','Circle','Sniper\x20Rifle','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Legendary','Unknown\x20Author','136tOUpIg','Tiny','7601930IbJPWw','Key','author','constructor','52BMCnUG','36478sOXKpE','460737AkvKYO','Boots','Weapon','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22'];a55c=function(){return E;};return a55c();}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0xac)],'category':Category[p(0x83)],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[p(0x8b)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0xac)],'category':Category[q(0xa4)],'shape':Shape[q(0x96)],'color':Color[q(0x8f)],'texture':Texture[q(0xad)],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size['Small'],'category':Category['Gloves'],'shape':Shape[r(0x96)],'color':Color['Brown'],'texture':Texture[r(0xad)],'rating':Rating[r(0x8b)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0xac)],'category':Category[s(0x7e)],'shape':Shape['Rectangle'],'color':Color[s(0xb0)],'texture':Texture[s(0x82)],'rating':Rating[s(0x8b)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x9c)],'category':Category[t(0x9e)],'shape':Shape[t(0xaf)],'color':Color['Yellow'],'texture':Texture[t(0xad)],'rating':Rating[t(0x8b)],'weight':0x0});}[a55j(0xa8)](){var u=a55j;return u(0x7c);}}export class Weapon extends Item{constructor(a,b){var v=a55j;super({'name':a,'description':b,'size':Size[v(0xac)],'category':Category[v(0xa5)],'shape':Shape[v(0x7d)],'color':Color[v(0xb0)],'texture':Texture[v(0x82)],'rating':Rating[v(0x8b)],'weight':0x3});}[a55j(0xa8)](){var w=a55j;return w(0xab);}}export class Book extends Item{[a55j(0x9f)];['publishDate'];[a55j(0x80)];constructor(a,b=a55j(0x8a),c=a55j(0x9a)){var x=a55j;super({'name':a,'description':b,'size':Size[x(0xac)],'category':Category[x(0xa9)],'shape':Shape['Rectangle'],'color':Color[x(0x8f)],'texture':Texture['Smooth'],'rating':Rating[x(0x8b)],'weight':0x1}),this[x(0x9f)]=c,this['publishDate']=new Date(),this[x(0x80)]=0x64;}[a55j(0xa8)](){return'There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22';}}export class ShortSword extends Item{constructor(){var y=a55j;super({'name':y(0x8e),'description':y(0x98),'size':Size[y(0xac)],'category':Category['Weapon'],'shape':Shape[y(0x7d)],'color':Color[y(0xb0)],'texture':Texture[y(0x82)],'rating':Rating['Common'],'weight':0x3});}['use'](){var z=a55j;return z(0xab);}}export class SniperRifle extends Item{constructor(){var A=a55j;super({'name':A(0x97),'description':A(0x89),'size':Size[A(0x7f)],'category':Category[A(0xa5)],'shape':Shape[A(0x94)],'color':Color[A(0x8f)],'texture':Texture[A(0xad)],'rating':Rating[A(0x8b)],'weight':0x5});}['use'](){var B=a55j;return B(0xa6);}}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':'Holy\x20Grail','description':C(0x93),'size':Size[C(0x86)],'category':Category[C(0x88)],'shape':Shape['Circle'],'color':Color['Gold'],'texture':Texture[C(0x82)],'rating':Rating[C(0x99)],'weight':0x1});}[a55j(0xa8)](){var D=a55j;return'You\x20hold\x20the\x20'+this[D(0x92)]+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}