@maka/maka-cli 4.12.3 → 4.12.4

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 (158) hide show
  1. package/bundle/obf/package.json +1 -16
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -0
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -0
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -0
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/collection.js +1 -1
  109. package/bundle/obf/src/generators/component.js +1 -1
  110. package/bundle/obf/src/generators/config.js +1 -1
  111. package/bundle/obf/src/generators/dbc.js +1 -1
  112. package/bundle/obf/src/generators/dockerfile.js +1 -1
  113. package/bundle/obf/src/generators/hook.js +1 -1
  114. package/bundle/obf/src/generators/kits/_index.js +1 -1
  115. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  117. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  119. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/kit.js +1 -1
  123. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  127. package/bundle/obf/src/generators/layout.js +1 -1
  128. package/bundle/obf/src/generators/maka.gen.js +1 -1
  129. package/bundle/obf/src/generators/methods.js +1 -1
  130. package/bundle/obf/src/generators/package.js +1 -1
  131. package/bundle/obf/src/generators/page.js +1 -1
  132. package/bundle/obf/src/generators/publish.js +1 -1
  133. package/bundle/obf/src/generators/route.js +1 -1
  134. package/bundle/obf/src/generators/service.js +1 -1
  135. package/bundle/obf/src/generators/services/_index.js +1 -1
  136. package/bundle/obf/src/generators/services/openssl.js +1 -1
  137. package/bundle/obf/src/generators/services/translation.js +1 -1
  138. package/bundle/obf/src/maka.js +1 -1
  139. package/bundle/obf/src/tool.js +1 -1
  140. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  141. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  142. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  143. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  144. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  145. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  146. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/https/https.class.js +1 -1
  148. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  149. package/bundle/obf/src/tools/log/log.class.js +1 -1
  150. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  151. package/bundle/obf/src/tools/options/options.class.js +1 -1
  152. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  153. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  154. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  155. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  156. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  157. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  158. package/package.json +1 -16
@@ -1 +1 @@
1
- function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xb0;let f=c[d];return f;},a34d(a,b);}const a34i=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=-parseInt(f(0xdf))/0x1*(parseInt(f(0xd8))/0x2)+-parseInt(f(0xce))/0x3*(parseInt(f(0xd2))/0x4)+parseInt(f(0xb4))/0x5+parseInt(f(0xb1))/0x6*(-parseInt(f(0xc0))/0x7)+-parseInt(f(0xc4))/0x8*(-parseInt(f(0xba))/0x9)+-parseInt(f(0xc7))/0xa+parseInt(f(0xbb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x5bad9));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0xbd)]()[h(0xcb)](h(0xc5))[h(0xbd)]()[h(0xd5)](a34a)[h(0xcb)](h(0xc5));});function a34c(){const l=['search','The\x20door\x20named\x20\x22','verb','2748jCSZjS','has','apply','error','2112cxcQnw','isValidDirection','You\x20locked\x20the\x20door\x20named\x20\x22','constructor','unlockItemOrSolution','\x22\x20here.','87772zwsQlk','\x22\x20is\x20already\x20locked.','logger','LockCommand:\x20','You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.','toLowerCase','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','7OKXIEk','description','240612JLIKbs','LockCommand:\x20No\x20target\x20specified.','execute','1025280SvTgag','\x20door.','get','currentLocation','name','exits','981fHDKFX','16989456yZZlNd','write','toString','isLocked','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','56BkOWlG','actor','There\x27s\x20no\x20door\x20named\x20\x22','lock','24184SeXkAD','(((.+)+)+)+$','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','5918800ZWJgUV','inventory','\x20Locked\x20the\x20','Lock\x20a\x20door.'];a34c=function(){return l;};return a34c();}a34a();import{Command}from'./command.js';export class LockCommand extends Command{static [a34i(0xcd)]='lock';static [a34i(0xb0)]=a34i(0xca);[a34i(0xb3)](a){const j=a34i;return this[j(0xc3)](a);}['lock'](a){const k=a34i;if(a['length']===0x0)return this[k(0xda)][k(0xd1)](k(0xb2)),k(0xbf);const b=a[0x0][k(0xdd)](),c=this['actor'][k(0xb7)];if(this[k(0xd3)](b)&&c[k(0xb9)][k(0xcf)](b)){const d=c['exits'][k(0xb6)](b);if(d[k(0xbe)])return k(0xcc)+b+k(0xd9);const e=d[k(0xd6)]?.[k(0xdd)]();return e&&this[k(0xc1)][k(0xc8)]['hasItem'](e)?(d[k(0xbe)]=!![],this[k(0xda)][k(0xbc)](k(0xdb)+this[k(0xc1)][k(0xb8)]+k(0xc9)+b+k(0xb5)),k(0xd4)+b+'\x22.'):(this[k(0xda)][k(0xbc)](k(0xdb)+this['actor'][k(0xb8)]+k(0xde)+b+'.'),k(0xdc));}else return this['logger'][k(0xbc)]('LockCommand:\x20'+b+k(0xc6)),k(0xc2)+b+k(0xd7);}}
1
+ const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0xf7))/0x1+-parseInt(f(0xee))/0x2+-parseInt(f(0xe7))/0x3*(-parseInt(f(0xeb))/0x4)+parseInt(f(0xf1))/0x5*(parseInt(f(0xd7))/0x6)+-parseInt(f(0xcf))/0x7*(parseInt(f(0xe4))/0x8)+parseInt(f(0xd4))/0x9+parseInt(f(0xf3))/0xa*(-parseInt(f(0xd6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x30797));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0xe6)]()[h(0xd3)](h(0xef))[h(0xe6)]()[h(0xe3)](a37a)['search'](h(0xef));});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xcf;let f=c[d];return f;},a37d(a,b);}a37a();import{Command}from'./command.js';export class LockCommand extends Command{static [a37i(0xe8)]='lock';static [a37i(0xdd)]=a37i(0xf2);[a37i(0xed)](a){return this['lock'](a);}[a37i(0xf5)](a){const j=a37i;if(a[j(0xe9)]===0x0)return this[j(0xea)]['error'](j(0xdc)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.';const b=a[0x0][j(0xf8)](),c=this[j(0xe1)][j(0xf4)];if(this[j(0xd1)](b)&&c[j(0xda)]['has'](b)){const d=c[j(0xda)][j(0xde)](b);if(d['isLocked'])return j(0xd9)+b+j(0xdf);const e=d['unlockItemOrSolution']?.[j(0xf8)]();return e&&this[j(0xe1)][j(0xec)][j(0xe0)](e)?(d[j(0xd2)]=!![],this[j(0xea)][j(0xf0)]('LockCommand:\x20'+this[j(0xe1)]['name']+j(0xe2)+b+'\x20door.'),'You\x20locked\x20the\x20door\x20named\x20\x22'+b+'\x22.'):(this[j(0xea)][j(0xf0)]('LockCommand:\x20'+this[j(0xe1)][j(0xdb)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),j(0xf6));}else return this[j(0xea)]['write']('LockCommand:\x20'+b+j(0xd5)),j(0xe5)+b+j(0xd8);}}function a37c(){const k=['\x22\x20here.','The\x20door\x20named\x20\x22','exits','name','LockCommand:\x20No\x20target\x20specified.','description','get','\x22\x20is\x20already\x20locked.','hasItem','actor','\x20Locked\x20the\x20','constructor','8mEamMS','There\x27s\x20no\x20door\x20named\x20\x22','toString','3stCvbg','verb','length','logger','357220PeeiEx','inventory','execute','411028wKolqS','(((.+)+)+)+$','write','33355ExReRn','Lock\x20a\x20door.','573030PfsHHU','currentLocation','lock','You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.','323203ZQbFMU','toLowerCase','416710tkHnPc','apply','isValidDirection','isLocked','search','3360195MsjYpi','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','99AVpGWE','174NZnWsp'];a37c=function(){return k;};return a37c();}
@@ -1 +1 @@
1
- function a35c(){const n=['verb',',\x20you\x20see\x20','name','riddle','6446232iSslPj','8291157GIVcMJ','To\x20the\x20','getOtherSide','\x27\x20in\x20current\x20room\x20inventory.','10eNTzIx','You\x27re\x20not\x20in\x20a\x20valid\x20room.','lookOutside','Executing\x20\x27Look\x27\x20command.','Below\x20you,\x20','constructor','32UnfEsH','Above\x20you,\x20','Examine\x20your\x20surroundings','getItem','15lZSaud','You\x20don\x27t\x20see\x20any\x20','apply','OUTSIDE','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','down','226240LDwvmX','roomType','description','rooms','hasItem','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','look','inspectItem','2560dUnaJI','(((.+)+)+)+$','1977eRxllF','635556gnkvlv','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','actor','get','toString','2182XnbuLe','29454227iKtXyE','\x20is\x20looking\x20around\x20the\x20current\x20room.','puzzle','execute','Looking\x20at\x20item\x20\x27','search','join','You\x20cannot\x20see\x20through','error','\x20inventory.','currentLocation','exits','inventory','write','It\x27s\x20just\x20a\x20regular\x20','logger','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','isValidDirection'];a35c=function(){return n;};return a35c();}const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x79))/0x1*(parseInt(f(0x94))/0x2)+-parseInt(f(0x8d))/0x3*(parseInt(f(0x8b))/0x4)+-parseInt(f(0x7d))/0x5*(-parseInt(f(0x8e))/0x6)+-parseInt(f(0x6f))/0x7+parseInt(f(0x83))/0x8+-parseInt(f(0x6e))/0x9+parseInt(f(0x73))/0xa*(parseInt(f(0x95))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xa2ae8));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x7f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x93)]()['search'](h(0x8c))[h(0x93)]()[h(0x78)](a35a)[h(0x9a)](h(0x8c));});a35a();function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x6a;let f=c[d];return f;},a35d(a,b);}import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a35i(0x6a)]=a35i(0x89);static ['description']=a35i(0x7b);[a35i(0x98)](a=[]){const j=a35i;this['logger'][j(0xa2)](j(0x76));const b=a[j(0x9b)]('\x20');if(b){if(this[j(0x91)][j(0xa1)][j(0x87)](b))return this[j(0xa4)][j(0xa2)]('Looking\x20at\x20item\x20\x27'+b+'\x27\x20in\x20'+this[j(0x91)][j(0x6c)]+j(0x9e)),this['inspectItem'](b,this[j(0x91)][j(0xa1)]);else{if(this[j(0x91)][j(0x9f)][j(0xa1)]['hasItem'](b))return this['logger'][j(0xa2)](j(0x99)+b+j(0x72)),this[j(0x8a)](b,this[j(0x91)][j(0x9f)][j(0xa1)]);else return this[j(0xa6)](b)?(this[j(0xa4)][j(0xa2)](j(0x88)+b+'\x27.'),this[j(0x75)](b)):'You\x20cannot\x20see\x20'+b;}}else return this[j(0xa4)][j(0xa2)](this['actor']['name']+j(0x96)),this['look']();}[a35i(0x89)](){const k=a35i,a=this[k(0x91)][k(0x9f)];if(!a)return this[k(0xa4)]['error'](this[k(0x91)][k(0x6c)]+k(0x8f)),k(0x74);let b=a['description'];return a[k(0x97)]&&(b+='\x0a'+a[k(0x97)][k(0x6d)]),b;}[a35i(0x75)](a){const l=a35i,b=this[l(0x91)][l(0x9f)];if(!b)return this['logger'][l(0x9d)](this[l(0x91)][l(0x6c)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';const c=b[l(0xa0)][l(0x92)](a);if(!c)return l(0x81)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x71)](b);else{if(typeof c==='string'){d=this[l(0x86)]&&this['rooms'][c];if(!d)return l(0xa5)+a+'\x22.';}else return l(0x90)+a+'\x22.';}if(d[l(0x84)]===RoomType[l(0x80)]){if(a==='up')return l(0x7a)+d[l(0x85)];else return a===l(0x82)?l(0x77)+d[l(0x85)]:l(0x70)+a+l(0x6b)+d[l(0x85)];}else return l(0x9c);}[a35i(0x8a)](a,b){const m=a35i,c=b[m(0x7c)](a);if(!c)return m(0x7e)+a+'\x20here.';return c[m(0x85)]||m(0xa3)+a+'.';}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1ef))/0x1*(parseInt(f(0x205))/0x2)+-parseInt(f(0x1fb))/0x3+parseInt(f(0x1e7))/0x4+parseInt(f(0x1e6))/0x5*(-parseInt(f(0x20c))/0x6)+parseInt(f(0x1f0))/0x7*(-parseInt(f(0x1ee))/0x8)+-parseInt(f(0x1ed))/0x9+parseInt(f(0x207))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xa99e2));function a38c(){const n=['Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','1082718unTzua','16qNXGnv','7571TcYFPb','3388819uCbtpf','execute','riddle','toString','(((.+)+)+)+$','verb','inventory','look','search','lookOutside','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','2091786lBfeGL','rooms','To\x20the\x20','name','It\x27s\x20just\x20a\x20regular\x20',',\x20you\x20see\x20','string','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','Looking\x20at\x20item\x20\x27','actor','158vaKnDi','hasItem','27551610cnhnaZ','apply','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','write','join','654MlgOUP','Examine\x20your\x20surroundings','You\x27re\x20not\x20in\x20a\x20valid\x20room.','description','You\x20cannot\x20see\x20','\x27\x20in\x20current\x20room\x20inventory.','logger','puzzle','Executing\x20\x27Look\x27\x20command.','Above\x20you,\x20','constructor','\x20here.','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','getOtherSide','currentLocation','\x27\x20in\x20','get','26735ZNjswO','3625292XApNrh','error','You\x20cannot\x20see\x20through','inspectItem','exits'];a38c=function(){return n;};return a38c();}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x208)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x1f8)](h(0x1f4))[h(0x1f3)]()[h(0x1df)](a38a)[h(0x1f8)](h(0x1f4));});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a38d(a,b);}import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0x1f5)]=a38i(0x1f7);static [a38i(0x1d8)]=a38i(0x1d6);[a38i(0x1f1)](a=[]){const j=a38i;this[j(0x1db)][j(0x20a)](j(0x1dd));const b=a[j(0x20b)]('\x20');if(b){if(this[j(0x204)][j(0x1f6)][j(0x206)](b))return this[j(0x1db)][j(0x20a)](j(0x203)+b+j(0x1e4)+this['actor'][j(0x1fe)]+'\x20inventory.'),this[j(0x1ea)](b,this['actor'][j(0x1f6)]);else{if(this[j(0x204)][j(0x1e3)][j(0x1f6)][j(0x206)](b))return this[j(0x1db)][j(0x20a)](j(0x203)+b+j(0x1da)),this['inspectItem'](b,this[j(0x204)][j(0x1e3)]['inventory']);else return this['isValidDirection'](b)?(this[j(0x1db)][j(0x20a)](j(0x202)+b+'\x27.'),this[j(0x1f9)](b)):j(0x1d9)+b;}}else return this[j(0x1db)][j(0x20a)](this[j(0x204)]['name']+'\x20is\x20looking\x20around\x20the\x20current\x20room.'),this[j(0x1f7)]();}[a38i(0x1f7)](){const k=a38i,a=this['actor'][k(0x1e3)];if(!a)return this[k(0x1db)][k(0x1e8)](this[k(0x204)]['name']+k(0x1e1)),k(0x1d7);let b=a['description'];return a['puzzle']&&(b+='\x0a'+a[k(0x1dc)][k(0x1f2)]),b;}[a38i(0x1f9)](a){const l=a38i,b=this['actor']['currentLocation'];if(!b)return this[l(0x1db)][l(0x1e8)](this['actor']['name']+l(0x1e1)),l(0x1d7);const c=b[l(0x1eb)][l(0x1e5)](a);if(!c)return l(0x1fa)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x1e2)](b);else{if(typeof c===l(0x201)){d=this[l(0x1fc)]&&this[l(0x1fc)][c];if(!d)return l(0x209)+a+'\x22.';}else return l(0x1ec)+a+'\x22.';}if(d['roomType']===RoomType['OUTSIDE']){if(a==='up')return l(0x1de)+d[l(0x1d8)];else return a==='down'?'Below\x20you,\x20'+d['description']:l(0x1fd)+a+l(0x200)+d[l(0x1d8)];}else return l(0x1e9);}[a38i(0x1ea)](a,b){const m=a38i,c=b['getItem'](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+m(0x1e0);return c['description']||m(0x1ff)+a+'.';}}
@@ -1 +1 @@
1
- const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=-parseInt(g(0x174))/0x1+parseInt(g(0x184))/0x2+parseInt(g(0x168))/0x3+parseInt(g(0x16c))/0x4+parseInt(g(0x186))/0x5*(parseInt(g(0x17b))/0x6)+parseInt(g(0x177))/0x7*(parseInt(g(0x17e))/0x8)+-parseInt(g(0x16e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xbf29d));function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x168;let f=c[d];return f;},a36d(a,b);}const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a['toString']()[i(0x182)](i(0x183))['toString']()[i(0x171)](a36a)[i(0x182)](i(0x183));});a36a();function a36c(){const m=['344024gzKafd','apply','logger','728dZKMvR','say','join','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','1684248dMpVTB','verb',':\x20\x22','93184EiTpKd','Scene\x20is\x20missing\x20from\x20context.','description','execute','search','(((.+)+)+)+$','1687934pqLLJu','actor','10vgkxGD','2359068KErQMN','scene','What\x20do\x20you\x20want\x20to\x20say?','filter','2269812itupPr','log','25591995bqcVbW','You\x20say:\x20\x22','context','constructor','name','currentLocation'];a36c=function(){return m;};return a36c();}import{Command}from'./command.js';export class SayCommand extends Command{static [a36j(0x17c)]=a36j(0x178);static [a36j(0x180)]=a36j(0x17a);['context'];constructor(a){const k=a36j;super(a),this[k(0x170)]=a;}[a36j(0x181)](a){const l=a36j;if(a['length']===0x0)return l(0x16a);const b=a[l(0x179)]('\x20'),c=this[l(0x185)],d=this['context'][l(0x169)];if(!d)return this[l(0x176)]['log'](l(0x17f)),'An\x20error\x20occurred.';const e=d['allActors'][l(0x16b)](f=>f[l(0x173)]===c[l(0x173)]);for(const f of e){this[l(0x176)][l(0x16d)](c[l(0x172)]+'\x20says\x20to\x20'+f[l(0x172)]+l(0x17d)+b+'\x22'),this[l(0x185)]['currentLocation']['say'](f,b);}return l(0x16f)+b+'\x22';}}
1
+ const a39j=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x135;let f=c[d];return f;},a39d(a,b);}function a39c(){const m=['424434TrLFMR','1305924OgbIZq','What\x20do\x20you\x20want\x20to\x20say?','toString','constructor','currentLocation','An\x20error\x20occurred.','allActors','11tWFhOR','logger','You\x20say:\x20\x22','(((.+)+)+)+$','15OodmhF','Scene\x20is\x20missing\x20from\x20context.','3ZIyqcx','454496fygPRl',':\x20\x22','1230745SECHwg','verb','apply','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','say','9uPWoay','log','description','context','1998768LURaNj','search','actor','length','6556KKRvck','145010lkEEBI'];a39c=function(){return m;};return a39c();}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x14d))/0x1*(parseInt(g(0x13f))/0x2)+-parseInt(g(0x14f))/0x3*(parseInt(g(0x142))/0x4)+parseInt(g(0x152))/0x5+-parseInt(g(0x141))/0x6+parseInt(g(0x150))/0x7+-parseInt(g(0x13b))/0x8*(-parseInt(g(0x137))/0x9)+-parseInt(g(0x140))/0xa*(-parseInt(g(0x149))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x3782e));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x144)]()[i(0x13c)](i(0x14c))[i(0x144)]()[i(0x145)](a39a)['search']('(((.+)+)+)+$');});a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0x153)]=a39j(0x136);static [a39j(0x139)]=a39j(0x135);[a39j(0x13a)];constructor(a){const k=a39j;super(a),this[k(0x13a)]=a;}['execute'](a){const l=a39j;if(a[l(0x13e)]===0x0)return l(0x143);const b=a['join']('\x20'),c=this[l(0x13d)],d=this['context']['scene'];if(!d)return this[l(0x14a)][l(0x138)](l(0x14e)),l(0x147);const e=d[l(0x148)]['filter'](f=>f['currentLocation']===c[l(0x146)]);for(const f of e){this['logger'][l(0x138)](c['name']+'\x20says\x20to\x20'+f['name']+l(0x151)+b+'\x22'),this['actor'][l(0x146)][l(0x136)](f,b);}return l(0x14b)+b+'\x22';}}
@@ -1 +1 @@
1
- const a37i=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xd8;let f=c[d];return f;},a37d(a,b);}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0xee))/0x1*(parseInt(f(0xf0))/0x2)+parseInt(f(0xd9))/0x3+parseInt(f(0xea))/0x4*(-parseInt(f(0xe2))/0x5)+parseInt(f(0xeb))/0x6*(parseInt(f(0xef))/0x7)+-parseInt(f(0xe6))/0x8+parseInt(f(0xdd))/0x9+parseInt(f(0xe7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xa99f4));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0xde)]()[h(0xe3)]('(((.+)+)+)+$')[h(0xde)]()[h(0xe9)](a37a)[h(0xe3)]('(((.+)+)+)+$');});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0xe1)]='search';static [a37i(0xe5)]='Search\x20for\x20items\x20in\x20your\x20area';['execute'](){const j=a37i,a=this['actor'][j(0xf2)][j(0xdf)]['listItems']();if(a[j(0xed)]===0x0)return this['logger'][j(0xf1)](j(0xf3)+this[j(0xdb)][j(0xe8)]+j(0xdc)),j(0xd8);const b=a[j(0xda)](',\x20');return this['logger'][j(0xf1)](j(0xf3)+this['actor']['name']+j(0xe4)+b),j(0xe0)+b;}}function a37c(){const k=['currentLocation','SearchCommand:\x20','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','2018757jlNyGy','join','actor','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','1455552HUptoX','toString','inventory','You\x20search\x20the\x20area\x20and\x20find:\x20','verb','20IVGFOr','search','\x20found\x20the\x20following\x20items:\x20','description','3964424bTGytJ','9482920DdiOwf','name','constructor','990908yAgPwP','36ZImsYL','apply','length','14qAwblP','34097nvipUx','52724eICHWk','write'];a37c=function(){return k;};return a37c();}
1
+ const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x14f))/0x1+parseInt(f(0x145))/0x2+-parseInt(f(0x154))/0x3+parseInt(f(0x148))/0x4*(parseInt(f(0x150))/0x5)+-parseInt(f(0x140))/0x6*(parseInt(f(0x15a))/0x7)+-parseInt(f(0x13e))/0x8*(-parseInt(f(0x13d))/0x9)+parseInt(f(0x13f))/0xa*(-parseInt(f(0x141))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x46c88));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(0x146)]()[g(0x147)](g(0x152))[g(0x146)]()['constructor'](a40a)[g(0x147)](g(0x152));});a40a();function a40c(){const j=['256170kqBPRZ','5OHtnFF','length','(((.+)+)+)+$','listItems','1246599BpjiaG','execute','logger','verb','name','actor','21ifAYjd','431271EFGRvt','8UrHtLl','104540SjOBxa','148494grNnnx','44sBfNAb','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','SearchCommand:\x20','join','952360MHHNfh','toString','search','165020NjcRGf','Search\x20for\x20items\x20in\x20your\x20area','currentLocation','write','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','\x20found\x20the\x20following\x20items:\x20','description'];a40c=function(){return j;};return a40c();}import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x13d;let f=c[d];return f;},a40d(a,b);}export class SearchCommand extends Command{static [a40h(0x157)]=a40h(0x147);static [a40h(0x14e)]=a40h(0x149);[a40h(0x155)](){const i=a40h,a=this[i(0x159)][i(0x14a)]['inventory'][i(0x153)]();if(a[i(0x151)]===0x0)return this[i(0x156)][i(0x14b)](i(0x143)+this[i(0x159)][i(0x158)]+i(0x14c)),i(0x142);const b=a[i(0x144)](',\x20');return this[i(0x156)][i(0x14b)]('SearchCommand:\x20'+this[i(0x159)][i(0x158)]+i(0x14d)+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(0x83))/0x1*(-parseInt(f(0x72))/0x2)+parseInt(f(0x7c))/0x3*(-parseInt(f(0x6a))/0x4)+-parseInt(f(0x6f))/0x5+parseInt(f(0x6e))/0x6+-parseInt(f(0x69))/0x7+parseInt(f(0x75))/0x8*(parseInt(f(0x6d))/0x9)+parseInt(f(0x80))/0xa*(parseInt(f(0x67))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x21bb6));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x6c)]()[h(0x7e)](h(0x6b))[h(0x6c)]()[h(0x70)](a38a)['search'](h(0x6b));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x66;let f=c[d];return f;},a38d(a,b);}a38a();import{Command}from'./command.js';function a38c(){const k=['20ReveDs','(((.+)+)+)+$','toString','188442cwzhPS','1007646HsORRL','1193960zIdeWm','constructor','write','946JULZUU','message','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','24WyUlCU','execute','solve','puzzle','join','Attempt\x20to\x20solve\x20a\x20puzzle.','rewardItem','65301eWKvVF','actor','search','currentLocation','10nDZmhb','inventory','addItem','75NiNNOu','apply','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','success','2891119YnMtIc','verb','302862HXHdnV'];a38c=function(){return k;};return a38c();}export class SolveCommand extends Command{static [a38i(0x68)]=a38i(0x77);static ['description']=a38i(0x7a);[a38i(0x76)](a){const j=a38i,b=a[j(0x79)]('\x20')['toLowerCase'](),c=this[j(0x7d)][j(0x7f)];if(!c||!c[j(0x78)])return this['logger']['write'](j(0x74)),j(0x85);const d=c[j(0x78)][j(0x77)](b,this['actor'][j(0x81)]);return d[j(0x66)]&&c[j(0x78)][j(0x7b)]&&this[j(0x7d)][j(0x81)][j(0x82)](c['puzzle']['rewardItem']),this['logger'][j(0x71)]('SolveCommand:\x20'+d[j(0x73)]),d[j(0x73)];}}
1
+ const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x15d))/0x1*(-parseInt(f(0x160))/0x2)+parseInt(f(0x16a))/0x3*(-parseInt(f(0x16e))/0x4)+-parseInt(f(0x173))/0x5+parseInt(f(0x167))/0x6*(parseInt(f(0x162))/0x7)+-parseInt(f(0x168))/0x8+-parseInt(f(0x163))/0x9*(parseInt(f(0x16f))/0xa)+-parseInt(f(0x15f))/0xb*(-parseInt(f(0x164))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xc8ab5));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a['toString']()[h(0x171)](h(0x16b))[h(0x176)]()['constructor'](a41a)['search'](h(0x16b));});a41a();function a41c(){const k=['29889276eBIitl','write','actor','23466aUfiAY','5026144nXAtUG','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','10488UQMAdl','(((.+)+)+)+$','solve','addItem','480kBSZST','13057610LWazcU','toLowerCase','search','apply','6001865PFAgGL','description','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','toString','puzzle','inventory','232311magEcE','execute','11WlFTIj','10OjKaVA','rewardItem','1295iSzLFH','9FtTbho'];a41c=function(){return k;};return a41c();}function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x15b;let f=c[d];return f;},a41d(a,b);}import{Command}from'./command.js';export class SolveCommand extends Command{static ['verb']=a41i(0x16c);static [a41i(0x174)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a41i(0x15e)](a){const j=a41i,b=a['join']('\x20')[j(0x170)](),c=this[j(0x166)]['currentLocation'];if(!c||!c['puzzle'])return this['logger'][j(0x165)](j(0x175)),j(0x169);const d=c[j(0x15b)][j(0x16c)](b,this[j(0x166)][j(0x15c)]);return d['success']&&c[j(0x15b)][j(0x161)]&&this[j(0x166)][j(0x15c)][j(0x16d)](c['puzzle']['rewardItem']),this['logger'][j(0x165)]('SolveCommand:\x20'+d['message']),d['message'];}}
@@ -1 +1 @@
1
- const a39i=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xad;let f=c[d];return f;},a39d(a,b);}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0xc6))/0x1+parseInt(f(0xb3))/0x2*(-parseInt(f(0xae))/0x3)+parseInt(f(0xad))/0x4*(parseInt(f(0xcb))/0x5)+parseInt(f(0xcf))/0x6*(-parseInt(f(0xb7))/0x7)+-parseInt(f(0xc2))/0x8+parseInt(f(0xc5))/0x9*(-parseInt(f(0xc4))/0xa)+parseInt(f(0xc3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x84897));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0xd3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0xd2)]()[h(0xc9)]('(((.+)+)+)+$')[h(0xd2)]()[h(0xc0)](a39a)[h(0xc9)](h(0xbe));});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0xc1)]=a39i(0xbd);static [a39i(0xb8)]=a39i(0xd5);[a39i(0xaf)](a){const j=a39i;return this[j(0xd4)][j(0xce)](j(0xd7)+a['join']('\x20')),this['take'](a);}[a39i(0xbd)](a){const k=a39i,b=a[k(0xc7)]('\x20')[k(0xb6)](),c=this['actor'][k(0xbf)];if(!c[k(0xba)]['hasItem'](b))return this['logger'][k(0xce)]('Item\x20\x22'+b+'\x22\x20not\x20found\x20in\x20'+c[k(0xcd)]+k(0xb2)),k(0xd0)+b+k(0xd8);const d=c[k(0xba)]['getItem'](b);if(!d)return this['logger'][k(0xce)](k(0xcc)+b+k(0xc8)+c[k(0xcd)]+k(0xbb)),k(0xd0)+b+k(0xd8);try{return this['actor']['addInventory'](d),this['logger'][k(0xce)](k(0xd6)+b+k(0xb5)+this[k(0xbc)][k(0xcd)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0xba)][k(0xb4)](b),this['logger'][k(0xce)](k(0xb9)+b+'\x22\x20from\x20'+c[k(0xcd)]+k(0xbb)),k(0xd1)+b+'.';}catch(e){return this[k(0xd4)][k(0xce)](k(0xb0)+e[k(0xca)]),k(0xb1)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}function a39c(){const l=['currentLocation','constructor','verb','5537224UZmsIg','12456840uhrnKq','44410rwhsUc','324LPqcnl','873818hWRjYq','join','\x22\x20not\x20retrieved\x20from\x20','search','message','105oIoxdf','Item\x20\x22','name','write','58074zTOjxE','There\x20is\x20no\x20item\x20\x22','You\x20have\x20taken\x20the\x20','toString','apply','logger','Pick\x20up\x20an\x20item.','Successfully\x20added\x20\x22','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20in\x20this\x20room.','193760nwuBNj','15yJNkuf','execute','Error\x20during\x20\x27Take\x27\x20command:\x20','The\x20item\x20\x22','\x20during\x20\x27Take\x27\x20command.','333968AKxUxZ','removeItem','\x22\x20to\x20','toLowerCase','574cCxBpy','description','Successfully\x20removed\x20\x22','inventory','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','actor','take','(((.+)+)+)+$'];a39c=function(){return l;};return a39c();}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0xa7))/0x1+-parseInt(f(0xbe))/0x2+parseInt(f(0xbd))/0x3*(-parseInt(f(0xcd))/0x4)+parseInt(f(0xaa))/0x5*(parseInt(f(0xbf))/0x6)+-parseInt(f(0xaf))/0x7*(-parseInt(f(0xac))/0x8)+-parseInt(f(0xb7))/0x9+parseInt(f(0xc0))/0xa*(parseInt(f(0xc6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x70a20));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xc5)]()[h(0xc1)](h(0xba))[h(0xc5)]()['constructor'](a42a)[h(0xc1)](h(0xba));});a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a42i(0xa9);static [a42i(0xca)]=a42i(0xc7);[a42i(0xcc)](a){const j=a42i;return this['logger'][j(0xc4)](j(0xb1)+a[j(0xc8)]('\x20')),this['take'](a);}[a42i(0xa9)](a){const k=a42i,b=a['join']('\x20')['toLowerCase'](),c=this['actor'][k(0xce)];if(!c[k(0xc2)][k(0xb8)](b))return this[k(0xc9)]['write'](k(0xb5)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0xad)]+k(0xae)),'There\x20is\x20no\x20item\x20\x22'+b+k(0xb3);const d=c['inventory']['getItem'](b);if(!d)return this[k(0xc9)]['write'](k(0xb5)+b+'\x22\x20not\x20retrieved\x20from\x20'+c['name']+k(0xb9)),k(0xab)+b+k(0xb3);try{return this[k(0xa8)][k(0xc3)](d),this[k(0xc9)]['write']('Successfully\x20added\x20\x22'+b+'\x22\x20to\x20'+this['actor']['name']+k(0xbc)),c[k(0xc2)]['removeItem'](b),this[k(0xc9)][k(0xc4)](k(0xcb)+b+k(0xb2)+c[k(0xad)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0xbb)+b+'.';}catch(e){return this[k(0xc9)]['write'](k(0xb6)+e[k(0xb0)]),'The\x20item\x20\x22'+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xa7;let f=c[d];return f;},a42d(a,b);}function a42c(){const l=['4080510MULKDB','hasItem','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','(((.+)+)+)+$','You\x20have\x20taken\x20the\x20','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','3186eTCzHR','60372jKDJQf','254028QaupOW','10apepRE','search','inventory','addInventory','write','toString','7868663vxPEQL','Pick\x20up\x20an\x20item.','join','logger','description','Successfully\x20removed\x20\x22','execute','2772rHHcVs','currentLocation','867498DLxlxW','actor','take','5UBqWlz','There\x20is\x20no\x20item\x20\x22','445736mGMKGy','name','\x20during\x20\x27Take\x27\x20command.','7eAmeLT','message','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20from\x20','\x22\x20in\x20this\x20room.','apply','Item\x20\x22','Error\x20during\x20\x27Take\x27\x20command:\x20'];a42c=function(){return l;};return a42c();}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x12b))/0x1*(parseInt(f(0x136))/0x2)+-parseInt(f(0x133))/0x3+parseInt(f(0x137))/0x4+-parseInt(f(0x125))/0x5+-parseInt(f(0x130))/0x6*(parseInt(f(0x132))/0x7)+-parseInt(f(0x138))/0x8*(-parseInt(f(0x12e))/0x9)+parseInt(f(0x128))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x2f0dc));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x13b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x134)]()[h(0x139)](h(0x13c))[h(0x134)]()['constructor'](a40a)[h(0x139)](h(0x13c));});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x125;let f=c[d];return f;},a40d(a,b);}a40a();import{Command}from'./command.js';function a40c(){const k=['UnequipCommand:\x20','actor','6378jgvAQE','name','logger','27wlcbGm','toLowerCase','42cBjpot','description','14504UxDrnr','989817gJlWpE','toString','verb','94lQKRji','730304fINQay','1018152AohXhP','search','write','apply','(((.+)+)+)+$','1269820yUYeAW','unequip','Unequip\x20an\x20item.','5265220WkmdDV'];a40c=function(){return k;};return a40c();}export class UnequipCommand extends Command{static [a40i(0x135)]='unqeuip';static [a40i(0x131)]=a40i(0x127);['execute'](a){const j=a40i,b=a['join']('\x20')[j(0x12f)](),c=this['actor'][j(0x126)](b);return this[j(0x12d)][j(0x13a)](j(0x129)+this[j(0x12a)][j(0x12c)]+'\x20unqeuiped\x20'+c),c;}}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x148))/0x1*(parseInt(f(0x145))/0x2)+parseInt(f(0x13a))/0x3+-parseInt(f(0x14c))/0x4+parseInt(f(0x144))/0x5*(parseInt(f(0x13d))/0x6)+parseInt(f(0x142))/0x7*(parseInt(f(0x14d))/0x8)+-parseInt(f(0x13c))/0x9*(-parseInt(f(0x152))/0xa)+-parseInt(f(0x13b))/0xb*(parseInt(f(0x14e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xd3f72));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x14a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x150)]()[h(0x14b)](h(0x13f))[h(0x150)]()[h(0x147)](a43a)[h(0x14b)](h(0x13f));});a43a();import{Command}from'./command.js';function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x139;let f=c[d];return f;},a43d(a,b);}export class UnequipCommand extends Command{static ['verb']='unqeuip';static [a43i(0x149)]=a43i(0x140);[a43i(0x139)](a){const j=a43i,b=a[j(0x146)]('\x20')[j(0x143)](),c=this[j(0x13e)]['unequip'](b);return this[j(0x14f)]['write'](j(0x141)+this['actor'][j(0x151)]+j(0x153)+c),c;}}function a43c(){const k=['execute','911508fIJBnq','17228046unuOyG','9TKqTJg','146436XoDmvY','actor','(((.+)+)+)+$','Unequip\x20an\x20item.','UnequipCommand:\x20','3936884xJGBFE','toLowerCase','325jcvrHQ','106fKfsQM','join','constructor','22238LgYazi','description','apply','search','3668076DRwZEm','24eARTsC','12bJRKtb','logger','toString','name','9525670NEnOJt','\x20unqeuiped\x20'];a43c=function(){return k;};return a43c();}
@@ -1 +1 @@
1
- function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x11e;let f=c[d];return f;},a41d(a,b);}const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x13e))/0x1*(-parseInt(h(0x130))/0x2)+parseInt(h(0x12a))/0x3*(parseInt(h(0x13a))/0x4)+parseInt(h(0x12f))/0x5*(parseInt(h(0x125))/0x6)+parseInt(h(0x124))/0x7+-parseInt(h(0x121))/0x8+-parseInt(h(0x11e))/0x9*(parseInt(h(0x135))/0xa)+-parseInt(h(0x140))/0xb*(-parseInt(h(0x122))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x38f6f));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x128)]()[j(0x134)](j(0x132))[j(0x128)]()[j(0x127)](a41a)[j(0x134)](j(0x132));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a41c(){const n=['logger','error','UnlockCommand:\x20No\x20target\x20specified.','inventory','UnlockCommand:\x20','hasItem','82683pnjDuk','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','Unlock\x20a\x20door.','2009584qRdolz','12FoFquO','getItem','2173129nNJWeY','12BmiUgA','verb','constructor','toString','There\x27s\x20no\x20door\x20named\x20\x22','739212cVJvuq','isValidDirection','exits','\x22\x20here.','apply','1073730LudFCi','125866KyxnqQ','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','(((.+)+)+)+$','toLowerCase','search','450anMRTj','currentLocation','write','.\x20Result:\x20','name','4GLOGxl','unlock','length','has','2OMbYJA','actor','412093wlHGBB','\x20is\x20attempted\x20to\x20unlock\x20'];a41c=function(){return n;};return a41c();}export class UnlockCommand extends Command{static [a41k(0x126)]=a41k(0x13b);static ['description']=a41k(0x120);['execute'](a){const l=a41k;return this[l(0x13b)](a);}[a41k(0x13b)](a){const m=a41k;if(a[m(0x13c)]===0x0)return this[m(0x142)][m(0x143)](m(0x144)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][m(0x133)](),c=this['actor'][m(0x136)];if(this[m(0x12b)](b)&&c['exits'][m(0x13d)](b)){const d=c[m(0x12c)]['get'](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[m(0x133)]();if(e&&this['actor']['inventory'][m(0x147)](e)){const f=this[m(0x13f)][m(0x145)][m(0x123)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0x139)]);return this['logger']['write'](m(0x146)+this['actor'][m(0x139)]+m(0x141)+b+m(0x138)+g),g;}}return this['logger']['write'](m(0x146)+this[m(0x13f)][m(0x139)]+m(0x11f)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this[m(0x142)][m(0x137)](m(0x146)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x139)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x12d);}else return this[m(0x142)]['write'](m(0x146)+b+m(0x131)+c['name']+'.'),m(0x129)+b+m(0x12d);}}
1
+ const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x11b))/0x1+-parseInt(h(0x114))/0x2+parseInt(h(0xfb))/0x3+-parseInt(h(0x110))/0x4*(-parseInt(h(0x102))/0x5)+-parseInt(h(0x100))/0x6*(-parseInt(h(0x11c))/0x7)+parseInt(h(0xf1))/0x8+-parseInt(h(0xf3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xa445d));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x103)]()['search'](j(0x118))[j(0x103)]()[j(0xfa)](a44a)[j(0x11a)]('(((.+)+)+)+$');});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xf1;let f=c[d];return f;},a44d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';function a44c(){const m=['.\x20Result:\x20','has','length','apply','exits','There\x27s\x20no\x20door\x20named\x20\x22','constructor','140361TBrttx','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','toLowerCase','isValidDirection','2922piEUhu','name','30NuAygd','toString','\x22\x20here.','Unlock\x20a\x20door.','write','attemptUnlockExit','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','actor','error','inventory','currentLocation','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','execute','get','802832TmVhOV','description','UnlockCommand:\x20','logger','428510hOKksD','verb','hasItem','unlockItemOrSolution','(((.+)+)+)+$','unlock','search','32881iFiYWt','1120wFRLrI','9487688JDEJQX','\x20is\x20attempted\x20to\x20unlock\x20','14946129weWzZY'];a44c=function(){return m;};return a44c();}export class UnlockCommand extends Command{static [a44k(0x115)]='unlock';static [a44k(0x111)]=a44k(0x105);[a44k(0x10e)](a){return this['unlock'](a);}[a44k(0x119)](a){const l=a44k;if(a[l(0xf6)]===0x0)return this[l(0x113)][l(0x10a)]('UnlockCommand:\x20No\x20target\x20specified.'),l(0x10d);const b=a[0x0][l(0xfe)](),c=this[l(0x109)][l(0x10c)];if(this[l(0xff)](b)&&c[l(0xf8)][l(0xf5)](b)){const d=c[l(0xf8)][l(0x10f)](b);if(d instanceof Door){const e=d[l(0x117)]?.[l(0xfe)]();if(e&&this[l(0x109)][l(0x10b)][l(0x116)](e)){const f=this[l(0x109)][l(0x10b)]['getItem'](e);if(f){const g=c[l(0x107)](b,f[l(0x101)]);return this['logger'][l(0x106)](l(0x112)+this['actor']['name']+l(0xf2)+b+l(0xf4)+g),g;}}return this['logger'][l(0x106)](l(0x112)+this['actor'][l(0x101)]+l(0xfd)+b+'.'),l(0x108);}else return this['logger']['write'](l(0x112)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0x101)]+'.'),l(0xf9)+b+'\x22\x20here.';}else return this[l(0x113)]['write']('UnlockCommand:\x20'+b+l(0xfc)+c[l(0x101)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0x104);}}
@@ -1 +1 @@
1
- const a42h=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x1bc))/0x1*(-parseInt(f(0x1cd))/0x2)+parseInt(f(0x1bf))/0x3*(parseInt(f(0x1d9))/0x4)+parseInt(f(0x1c2))/0x5+-parseInt(f(0x1d6))/0x6*(-parseInt(f(0x1cb))/0x7)+parseInt(f(0x1b8))/0x8*(-parseInt(f(0x1ca))/0x9)+parseInt(f(0x1d8))/0xa*(-parseInt(f(0x1db))/0xb)+-parseInt(f(0x1bb))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x921f4));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a42d(a,b);}const a42b=(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;};}()),a42a=a42b(this,function(){const g=a42d;return a42a[g(0x1cf)]()[g(0x1d7)](g(0x1ce))[g(0x1cf)]()[g(0x1dd)](a42a)['search']('(((.+)+)+)+$');});a42a();import{Command}from'./command.js';function a42c(){const k=['112MltvOB','\x20doesn\x27t\x20have\x20a\x20use\x20method.','getItem','5570880NeRFtS','11uBwqsM','function','\x27s\x20inventory.','3uohJhn','description','execute','1786120lTBjse','logger','toLowerCase','\x20attempted\x20to\x20use\x20','actor','hasItem','inventory','write','159282thlsCN','301DBIMsu',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','127266yHkIls','(((.+)+)+)+$','toString','use','Use\x20an\x20item.','\x20not\x20retrieved\x20from\x20','name','\x20to\x20use.','You\x20don\x27t\x20have\x20the\x20','58908KGGywg','search','2840EppTed','846908rUiVMy','UseCommand:\x20','14740esSdPb','\x20in\x20this\x20way.','constructor','\x20used\x20'];a42c=function(){return k;};return a42c();}export class UseCommand extends Command{static ['verb']=a42h(0x1d0);static [a42h(0x1c0)]=a42h(0x1d1);[a42h(0x1c1)](a){const i=a42h;return this[i(0x1d0)](a);}[a42h(0x1d0)](a){const j=a42h,b=a['join']('\x20')[j(0x1c4)]();if(!this[j(0x1c6)][j(0x1c8)][j(0x1c7)](b))return this[j(0x1c3)]['write'](j(0x1da)+this[j(0x1c6)]['name']+j(0x1c5)+b+j(0x1cc)),j(0x1d5)+b+j(0x1d4);const c=this[j(0x1c6)]['inventory'][j(0x1ba)](b);if(!c)return this[j(0x1c3)][j(0x1c9)]('UseCommand:\x20'+b+j(0x1d2)+this[j(0x1c6)][j(0x1d3)]+j(0x1be)),j(0x1d5)+b+j(0x1d4);if(typeof c['use']===j(0x1bd)){const d=c[j(0x1d0)]();return this[j(0x1c3)]['write'](j(0x1da)+this[j(0x1c6)][j(0x1d3)]+j(0x1de)+b+'.'),d;}else return this['logger'][j(0x1c9)](j(0x1da)+b+j(0x1b9)),'You\x20can\x27t\x20use\x20the\x20'+b+j(0x1dc);}}
1
+ function a45c(){const l=['inventory','logger','You\x20can\x27t\x20use\x20the\x20','description','name','2004960TlFwic','\x20used\x20','write','actor','function','\x27s\x20inventory.','125696KabDlz','2RRmQYf','5yyOHUu','730848MFGUWK','constructor','toLowerCase','getItem','5827852BGQLJH','toString','join','\x20to\x20use.','2908494lhoKkj',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','UseCommand:\x20','\x20not\x20retrieved\x20from\x20','66ihsdYh','verb','865893NgqSsI','\x20doesn\x27t\x20have\x20a\x20use\x20method.','3514281bVWDXT','(((.+)+)+)+$','use','search','apply','You\x20don\x27t\x20have\x20the\x20','\x20attempted\x20to\x20use\x20'];a45c=function(){return l;};return a45c();}const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x144))/0x1+parseInt(f(0x142))/0x2*(parseInt(f(0x154))/0x3)+parseInt(f(0x148))/0x4*(-parseInt(f(0x143))/0x5)+parseInt(f(0x150))/0x6*(parseInt(f(0x152))/0x7)+parseInt(f(0x141))/0x8+parseInt(f(0x14c))/0x9+parseInt(f(0x13b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xd7bdf));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x158)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x149)]()['search']('(((.+)+)+)+$')['toString']()[h(0x145)](a45a)[h(0x157)](h(0x155));});a45a();function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x13a;let f=c[d];return f;},a45d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0x151)]=a45i(0x156);static [a45i(0x15e)]='Use\x20an\x20item.';['execute'](a){const j=a45i;return this[j(0x156)](a);}[a45i(0x156)](a){const k=a45i,b=a[k(0x14a)]('\x20')[k(0x146)]();if(!this['actor'][k(0x15b)]['hasItem'](b))return this['logger'][k(0x13d)](k(0x14e)+this[k(0x13e)][k(0x13a)]+k(0x15a)+b+k(0x14d)),k(0x159)+b+k(0x14b);const c=this[k(0x13e)]['inventory'][k(0x147)](b);if(!c)return this[k(0x15c)][k(0x13d)](k(0x14e)+b+k(0x14f)+this[k(0x13e)][k(0x13a)]+k(0x140)),k(0x159)+b+k(0x14b);if(typeof c['use']===k(0x13f)){const d=c[k(0x156)]();return this[k(0x15c)][k(0x13d)](k(0x14e)+this[k(0x13e)]['name']+k(0x13c)+b+'.'),d;}else return this['logger'][k(0x13d)]('UseCommand:\x20'+b+k(0x153)),k(0x15d)+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- function a43c(){const m=['toString','registerCommand','590IhYCoJ','24892KMiucX','constructor','628422dwvdpR','53428AAEwHa','32KutGAf','(((.+)+)+)+$','apply','search','getAllRegisteredCommands','13665MwLEJh','commandMap','101097Xecjag','36bQGObW','1065306EStpwm','createCommand','188372YlaxpC'];a43c=function(){return m;};return a43c();}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x150))/0x1+parseInt(f(0x144))/0x2+-parseInt(f(0x143))/0x3+-parseInt(f(0x14d))/0x4*(parseInt(f(0x14a))/0x5)+parseInt(f(0x14e))/0x6+parseInt(f(0x141))/0x7*(-parseInt(f(0x145))/0x8)+parseInt(f(0x14c))/0x9*(parseInt(f(0x153))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x69109));function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x141;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(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x151)]()[h(0x148)](h(0x146))[h(0x151)]()[h(0x142)](a43a)['search']('(((.+)+)+)+$');});a43a();export class CommandFactory{static [a43i(0x14b)]={};static[a43i(0x152)](a,b){const j=a43i;this[j(0x14b)][a]=b;}static[a43i(0x14f)](a,b){const k=a43i,c=this[k(0x14b)][a];if(c)return new c(b);return null;}static[a43i(0x149)](){const l=a43i;return this[l(0x14b)];}}
1
+ const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x1cd))/0x1+-parseInt(f(0x1ce))/0x2*(-parseInt(f(0x1c7))/0x3)+-parseInt(f(0x1c3))/0x4+parseInt(f(0x1c9))/0x5+parseInt(f(0x1c5))/0x6+parseInt(f(0x1cf))/0x7+-parseInt(f(0x1c8))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x7db4a));function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a46d(a,b);}const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x1cc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x1d0)]()[h(0x1ca)](h(0x1c6))[h(0x1d0)]()['constructor'](a46a)['search'](h(0x1c6));});a46a();export class CommandFactory{static [a46i(0x1c4)]={};static[a46i(0x1cb)](a,b){const j=a46i;this[j(0x1c4)][a]=b;}static['createCommand'](a,b){const k=a46i,c=this[k(0x1c4)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const l=a46i;return this[l(0x1c4)];}}function a46c(){const m=['toString','75824WXzxQV','commandMap','5311134kQpEZg','(((.+)+)+)+$','3AKFtdw','25849288KqDBCJ','3950830xSFDmW','search','registerCommand','apply','418970tQoURZ','1667126wSRYni','5859833mQtGkz'];a46c=function(){return m;};return a46c();}
@@ -1 +1 @@
1
- const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x15d))/0x1+-parseInt(f(0x16b))/0x2+parseInt(f(0x154))/0x3*(parseInt(f(0x158))/0x4)+parseInt(f(0x166))/0x5+-parseInt(f(0x147))/0x6+parseInt(f(0x16f))/0x7*(parseInt(f(0x157))/0x8)+-parseInt(f(0x14c))/0x9*(parseInt(f(0x14f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xe3a44));function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x147;let f=c[d];return f;},a44d(a,b);}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x14a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x149)]()[h(0x168)](h(0x16a))[h(0x149)]()[h(0x15a)](a44a)[h(0x168)](h(0x16a));});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';function a44c(){const o=['items','createPuzzle','convertToRoomConfig','isStartRoom','2837555StFNmW','forEach','search','rifle','(((.+)+)+)+$','103460NtOGbT','createItem','key','roomType','70014ekCwJw','3494232qYqeHW','description','toString','apply','book','3435075bDaySW','sword','name','70oDSJEQ','gloves','helmet','legarmor','rewardItem','1192071oHmaUb','toUpperCase','type','1416ckHPBc','4BxfcYA','setPuzzle','constructor','boots','bodyarmor','1503025dWNqlH','puzzle','addItem','createRoom','gauntlets'];a44c=function(){return o;};return a44c();}export class RoomFactory{[a44i(0x160)](a){const j=a44i,b=this[j(0x164)](a),c=new Room(b);if(a[j(0x162)]){const d=new Inventory();a['items'][j(0x167)](e=>{const k=j;d[k(0x15f)](this[k(0x16c)](e));}),c['inventory']=d;}return a[j(0x15e)]&&c[j(0x159)](this[j(0x163)](a[j(0x15e)])),c;}['createItem'](a){const l=a44i;switch(a[l(0x156)]){case l(0x16d):return new Key(a[l(0x14e)],a[l(0x148)]);case l(0x14b):return new Book(a[l(0x14e)],a[l(0x148)],a['content']);case l(0x14d):return new Sword(a[l(0x14e)],a[l(0x148)]);case l(0x169):return new Rifle(a[l(0x14e)],a[l(0x148)]);case l(0x151):return new Helmet(a[l(0x14e)],a['description']);case l(0x15c):return new BodyArmor(a[l(0x14e)],a['description']);case l(0x152):return new LegArmor(a['name'],a['description']);case l(0x15b):return new Boots(a['name'],a['description']);case l(0x150):return new Gloves(a[l(0x14e)],a[l(0x148)]);case l(0x161):return new Gauntlets(a['name'],a[l(0x148)]);default:return new BasicItem(a[l(0x14e)],a[l(0x148)]);}}[a44i(0x163)](a){const m=a44i,b=this[m(0x16c)](a[m(0x153)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0x164)](a){const n=a44i,b=a[n(0x16e)]&&RoomType[a[n(0x16e)]['toUpperCase']()]?RoomType[a['roomType'][n(0x155)]()]:RoomType['INSIDE'];return{'name':a[n(0x14e)],'description':a[n(0x148)],'isStartRoom':a[n(0x165)],'roomType':b};}}
1
+ const a47k=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0xe7))/0x1+-parseInt(f(0xf5))/0x2*(parseInt(f(0xdf))/0x3)+parseInt(f(0xef))/0x4+parseInt(f(0xe2))/0x5*(-parseInt(f(0xd8))/0x6)+parseInt(f(0xeb))/0x7*(parseInt(f(0xdd))/0x8)+parseInt(f(0xf6))/0x9*(parseInt(f(0xf3))/0xa)+-parseInt(f(0xde))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xa2921));function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xd1;let f=c[d];return f;},a47d(a,b);}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0xe5)]()['search'](h(0xec))[h(0xe5)]()[h(0xd6)](a47a)[h(0xe8)](h(0xec));});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a47c(){const n=['setPuzzle','8998dgDvEg','648243Cbiyeh','key','createPuzzle','createItem','legarmor','sword','constructor','apply','485454fPklqG','rifle','boots','items','helmet','16smSRSf','8182559CJFHKq','690YpQuvB','toUpperCase','puzzle','20SazmQO','inventory','INSIDE','toString','name','714178xcbJdh','search','description','addItem','3029859KFTeCb','(((.+)+)+)+$','roomType','content','4465140clXTSP','gloves','bodyarmor','convertToRoomConfig','10HotZOf'];a47c=function(){return n;};return a47c();}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const i=a47d,b=this[i(0xf2)](a),c=new Room(b);if(a[i(0xdb)]){const d=new Inventory();a[i(0xdb)]['forEach'](e=>{const j=i;d[j(0xea)](this[j(0xd3)](e));}),c[i(0xe3)]=d;}return a[i(0xe1)]&&c[i(0xf4)](this['createPuzzle'](a[i(0xe1)])),c;}[a47k(0xd3)](a){const l=a47k;switch(a['type']){case l(0xd1):return new Key(a[l(0xe6)],a[l(0xe9)]);case'book':return new Book(a[l(0xe6)],a[l(0xe9)],a[l(0xee)]);case l(0xd5):return new Sword(a[l(0xe6)],a['description']);case l(0xd9):return new Rifle(a['name'],a[l(0xe9)]);case l(0xdc):return new Helmet(a[l(0xe6)],a[l(0xe9)]);case l(0xf1):return new BodyArmor(a[l(0xe6)],a[l(0xe9)]);case l(0xd4):return new LegArmor(a[l(0xe6)],a[l(0xe9)]);case l(0xda):return new Boots(a[l(0xe6)],a['description']);case l(0xf0):return new Gloves(a['name'],a[l(0xe9)]);case'gauntlets':return new Gauntlets(a[l(0xe6)],a[l(0xe9)]);default:return new BasicItem(a['name'],a[l(0xe9)]);}}[a47k(0xd2)](a){const b=this['createItem'](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a47k(0xf2)](a){const m=a47k,b=a[m(0xed)]&&RoomType[a[m(0xed)][m(0xe0)]()]?RoomType[a['roomType'][m(0xe0)]()]:RoomType[m(0xe4)];return{'name':a['name'],'description':a['description'],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- function a45c(){const s=['solve','registerCommand','player','take','createCommand','10782JEADUW','getWelcomeMessage','15iakcCZ','getInstance','scene','constructor','search','registerCommands','-\x20quit:\x20Exit\x20the\x20game.\x0a','602shaPYP','165832pzvULw','determineStartRoom','apply','7688YRgAUk','203130zEQxLC','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','1RCcDnX','lock','getDescription','getAllRegisteredCommands','handleInput','clear','toString','984232ygEgwi','78156DzoKKx','equip','getHelpMessage','maka','Available\x20Commands:\x0a','instance','slice','name','(((.+)+)+)+$','getRooms','572335MJfgpe','execute','trim','-\x20clear:\x20Clear\x20the\x20screen.\x0a','unequip'];a45c=function(){return s;};return a45c();}const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0xd5))/0x1*(-parseInt(h(0xd2))/0x2)+parseInt(h(0xc7))/0x3*(-parseInt(h(0xcf))/0x4)+parseInt(h(0xbb))/0x5+parseInt(h(0xc5))/0x6*(parseInt(h(0xce))/0x7)+parseInt(h(0xdc))/0x8+-parseInt(h(0xdd))/0x9+-parseInt(h(0xd3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x25163));function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xb7;let f=c[d];return f;},a45d(a,b);}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0xd1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0xdb)]()['search'](j(0xb9))[j(0xdb)]()[j(0xca)](a45a)[j(0xcb)]('(((.+)+)+)+$');});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';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(0xe2)];[a45k(0xc9)];[a45k(0xc2)];['currentRoom'];['rooms'];constructor(a,b){const l=a45k;this[l(0xc2)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0xc9)]['initialize'](),this[l(0xc2)]['currentLocation']=this[l(0xd0)](),this[l(0xcc)]();}['registerCommands'](){const m=a45k;CommandFactory[m(0xc1)]('look',LookCommand),CommandFactory[m(0xc1)]('go',GoCommand),CommandFactory['registerCommand'](m(0xc3),TakeCommand),CommandFactory['registerCommand']('use',UseCommand),CommandFactory[m(0xc1)](m(0xde),EquipCommand),CommandFactory[m(0xc1)](m(0xbf),UnequipCommand),CommandFactory[m(0xc1)](m(0xc0),SolveCommand),CommandFactory[m(0xc1)]('drop',DropCommand),CommandFactory[m(0xc1)]('unlock',UnlockCommand),CommandFactory['registerCommand'](m(0xd6),LockCommand),CommandFactory[m(0xc1)](m(0xcb),SearchCommand),CommandFactory[m(0xc1)]('say',SayCommand);}[a45k(0xd0)](){const n=a45k;return this[n(0xc9)][n(0xd0)]();}[a45k(0xc6)](){const o=a45k;return'Welcome,\x20'+this[o(0xc2)][o(0xb8)];}static[a45k(0xc8)](a,b){const p=a45k;return!Game['instance']&&(Game['instance']=new Game(a,b)),Game[p(0xe2)];}[a45k(0xd9)](a){const q=a45k,b=a[q(0xbd)]()['split']('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0xb7)](0x1);if(c==='quit')return null;if(c===q(0xe0))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c==='help')return this[q(0xdf)]();if(c===q(0xda))return'';const e={'actor':this[q(0xc2)],'rooms':this['scene'][q(0xba)](),'scene':this[q(0xc9)]},f=CommandFactory[q(0xc4)](c,e);if(f){const g=f[q(0xbc)](d);return g;}return q(0xd4)+c+'\x22.';}['getHelpMessage'](){const r=a45k,a=CommandFactory[r(0xd8)]();let b=r(0xe1);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xd7)]()+'\x0a';}}return b+=r(0xbe),b+=r(0xcd),b;}}
1
+ const a48k=a48d;function a48c(){const s=['drop','unlock','equip','search','(((.+)+)+)+$','solve','instance','317644tOcfVL','use','trim','lock','help','getInstance','25vIvLin','registerCommands','1222Aaayhz','getDescription','getHelpMessage','609YedFMY','say','clear','scene','determineStartRoom','267990tXkZeZ','look','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','apply','rooms','Available\x20Commands:\x0a','9RGwiMI','createCommand','2170818lMBHiw','name','handleInput','split','take','200vufFrL','-\x20quit:\x20Exit\x20the\x20game.\x0a','getAllRegisteredCommands','slice','996UMkATS','player','toLowerCase','execute','getWelcomeMessage','-\x20clear:\x20Clear\x20the\x20screen.\x0a','toString','initialize','4990310FJItxT','quit','81895ghpEAr','56539rjQpuK','registerCommand','currentLocation','unequip'];a48c=function(){return s;};return a48c();}(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0xd1))/0x1*(parseInt(h(0xce))/0x2)+-parseInt(h(0xd6))/0x3+parseInt(h(0xc6))/0x4*(-parseInt(h(0xcc))/0x5)+parseInt(h(0xde))/0x6+-parseInt(h(0xbb))/0x7*(-parseInt(h(0xe3))/0x8)+parseInt(h(0xdc))/0x9*(parseInt(h(0xb8))/0xa)+parseInt(h(0xba))/0xb*(-parseInt(h(0xe7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x50b2a));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0xb6)]()[j(0xc2)](j(0xc3))[j(0xb6)]()['constructor'](a48a)['search'](j(0xc3));});a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xb1;let f=c[d];return f;},a48d(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 [a48k(0xc5)];[a48k(0xd4)];[a48k(0xb1)];['currentRoom'];[a48k(0xda)];constructor(a,b){const l=a48k;this['player']=a,this[l(0xd4)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0xd4)][l(0xb7)](),this[l(0xb1)][l(0xbd)]=this[l(0xd5)](),this[l(0xcd)]();}[a48k(0xcd)](){const m=a48k;CommandFactory[m(0xbc)](m(0xd7),LookCommand),CommandFactory[m(0xbc)]('go',GoCommand),CommandFactory[m(0xbc)](m(0xe2),TakeCommand),CommandFactory[m(0xbc)](m(0xc7),UseCommand),CommandFactory[m(0xbc)](m(0xc1),EquipCommand),CommandFactory['registerCommand'](m(0xbe),UnequipCommand),CommandFactory['registerCommand'](m(0xc4),SolveCommand),CommandFactory[m(0xbc)](m(0xbf),DropCommand),CommandFactory[m(0xbc)](m(0xc0),UnlockCommand),CommandFactory[m(0xbc)](m(0xc9),LockCommand),CommandFactory[m(0xbc)](m(0xc2),SearchCommand),CommandFactory['registerCommand'](m(0xd2),SayCommand);}[a48k(0xd5)](){const n=a48k;return this[n(0xd4)][n(0xd5)]();}[a48k(0xb4)](){const o=a48k;return'Welcome,\x20'+this[o(0xb1)][o(0xdf)];}static[a48k(0xcb)](a,b){const p=a48k;return!Game[p(0xc5)]&&(Game[p(0xc5)]=new Game(a,b)),Game[p(0xc5)];}[a48k(0xe0)](a){const q=a48k,b=a[q(0xc8)]()[q(0xe1)]('\x20'),c=b[0x0][q(0xb2)](),d=b[q(0xe6)](0x1);if(c===q(0xb9))return null;if(c==='maka')return q(0xd8);if(c===q(0xca))return this[q(0xd0)]();if(c===q(0xd3))return'';const e={'actor':this[q(0xb1)],'rooms':this['scene']['getRooms'](),'scene':this[q(0xd4)]},f=CommandFactory[q(0xdd)](c,e);if(f){const g=f[q(0xb3)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a48k(0xd0)](){const r=a48k,a=CommandFactory[r(0xe5)]();let b=r(0xdb);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xcf)]()+'\x0a';}}return b+=r(0xb5),b+=r(0xe4),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x100))/0x1*(-parseInt(f(0xf9))/0x2)+-parseInt(f(0x101))/0x3+-parseInt(f(0xff))/0x4+-parseInt(f(0x102))/0x5*(parseInt(f(0xfa))/0x6)+parseInt(f(0x104))/0x7*(-parseInt(f(0xf8))/0x8)+parseInt(f(0xfd))/0x9+parseInt(f(0x105))/0xa*(parseInt(f(0x103))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x82921));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0xfb)]()[h(0xfc)](h(0xfe))['toString']()['constructor'](a46a)[h(0xfc)]('(((.+)+)+)+$');});function a46c(){var i=['2869764YHwdiE','427229mSPvmN','2680071HcSuEo','130MFXwZP','11427317IItyls','7xTYqYC','30yNapWG','apply','4822296tFlKgk','2UcrPQq','227598bDTajA','toString','search','1718010TPqxua','(((.+)+)+)+$'];a46c=function(){return i;};return a46c();}a46a();export*from'./door.js';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-0xf7;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=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x7b))/0x1+parseInt(f(0x79))/0x2*(parseInt(f(0x81))/0x3)+parseInt(f(0x83))/0x4+parseInt(f(0x7a))/0x5+-parseInt(f(0x75))/0x6*(-parseInt(f(0x78))/0x7)+parseInt(f(0x84))/0x8*(-parseInt(f(0x7e))/0x9)+-parseInt(f(0x7f))/0xa*(parseInt(f(0x7d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xca7c7));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x82)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x77)]()[h(0x7c)]('(((.+)+)+)+$')[h(0x77)]()[h(0x76)](a49a)[h(0x7c)](h(0x80));});a49a();function a49c(){var i=['230gHEFkP','(((.+)+)+)+$','3dAQenv','apply','4083808NEMuvB','1630952XMJCmb','19680JJOLOP','constructor','toString','2828FRolUz','1715162Lzutag','2974880HVXtAo','506340npIKYr','search','1080409tqTLfw','9FUlsKR'];a49c=function(){return i;};return a49c();}export*from'./door.js';export*from'./inventory.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x75;var f=c[d];return f;},a49d(a,b);}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 a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0xa2))/0x1+-parseInt(f(0xae))/0x2+-parseInt(f(0xab))/0x3*(parseInt(f(0xac))/0x4)+-parseInt(f(0xb1))/0x5+-parseInt(f(0xa8))/0x6+-parseInt(f(0x94))/0x7*(-parseInt(f(0x98))/0x8)+parseInt(f(0xa7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x8c691));var a47b=(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;};}()),a47a=a47b(this,function(){var g=a47d;return a47a[g(0xa1)]()[g(0xad)]('(((.+)+)+)+$')['toString']()[g(0x9f)](a47a)[g(0xad)]('(((.+)+)+)+$');});a47a();function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x94;var f=c[d];return f;},a47d(a,b);}import{Logger}from'../utilities/logger.js';function a47c(){var m=['Failed\x20to\x20unlock\x20door:\x20','To\x20','constructor','checkIfLockable','toString','525712rCeetP','\x20and\x20','attemptUnlock','.\x20Used:\x20','logger','25153956xJgPjL','3706260AvRfiE','isLockable','Door\x20unlocked:\x20','6ylriTP','2198396ohrwwd','search','649752WshbDZ','unlockItemOrSolution','checkIfLocked','3908945fLINCC','16079KxzFGx','roomA','roomB','isLocked','272TfcAPq','name','.\x20Is\x20Locked:\x20','write','Door\x20created\x20between\x20'];a47c=function(){return m;};return a47c();}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47h(0x95)];['roomB'];[a47h(0x97)];['unlockItemOrSolution'];[a47h(0x99)];[a47h(0xa6)];[a47h(0xa9)];constructor(a){var i=a47h;super(),this[i(0x95)]=a[i(0x95)],this[i(0x96)]=a[i(0x96)],this[i(0x97)]=a[i(0x97)]||![],this[i(0xaf)]=a['unlockItemOrSolution'],this[i(0x99)]=a[i(0x99)]?capitalCase(a['name']):i(0x9e)+a[i(0x96)][i(0x99)],this[i(0xa6)]=Logger['getInstance'](),this[i(0xa9)]=!!a[i(0xaf)],this[i(0xa6)][i(0x9b)](i(0x9c)+this['roomA'][i(0x99)]+i(0xa3)+this[i(0x96)]['name']+i(0x9a)+this['isLocked']);}['getOtherSide'](a){var j=a47h;return this[j(0x95)]===a?this[j(0x96)]:this[j(0x95)];}[a47h(0xa4)](a){var k=a47h;if(this[k(0x97)]&&this[k(0xaf)]&&this[k(0xaf)]===a)return this['isLocked']=![],this[k(0xa6)][k(0x9b)](k(0xaa)+this[k(0x99)]+k(0xa5)+a),!![];return this[k(0xa6)][k(0x9b)](k(0x9d)+this[k(0x99)]+k(0xa5)+a),![];}[a47h(0xb0)](){var l=a47h;return this[l(0x97)];}[a47h(0xa0)](){return this['isLockable'];}}
1
+ function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x1e0;var f=c[d];return f;},a50d(a,b);}var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x1f8))/0x1+parseInt(f(0x1f4))/0x2+-parseInt(f(0x1eb))/0x3*(-parseInt(f(0x1ee))/0x4)+parseInt(f(0x1e2))/0x5+-parseInt(f(0x1f0))/0x6+parseInt(f(0x1f1))/0x7+-parseInt(f(0x1e5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x3d6a4));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x1e3)]()['search']('(((.+)+)+)+$')[h(0x1e3)]()[h(0x1e6)](a50a)['search'](h(0x1fc));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50i(0x1f5)];[a50i(0x1f3)];[a50i(0x1fd)];[a50i(0x1fb)];['name'];[a50i(0x1ec)];[a50i(0x1f9)];constructor(a){var j=a50i;super(),this[j(0x1f5)]=a[j(0x1f5)],this['roomB']=a[j(0x1f3)],this[j(0x1fd)]=a[j(0x1fd)]||![],this[j(0x1fb)]=a[j(0x1fb)],this['name']=a[j(0x1f6)]?capitalCase(a['name']):j(0x1e8)+a[j(0x1f3)][j(0x1f6)],this['logger']=Logger[j(0x1f7)](),this[j(0x1f9)]=!!a[j(0x1fb)],this[j(0x1ec)]['write'](j(0x1ed)+this[j(0x1f5)][j(0x1f6)]+j(0x1e1)+this[j(0x1f3)][j(0x1f6)]+j(0x1e4)+this[j(0x1fd)]);}[a50i(0x1e0)](a){var k=a50i;return this['roomA']===a?this[k(0x1f3)]:this[k(0x1f5)];}['attemptUnlock'](a){var l=a50i;if(this[l(0x1fd)]&&this[l(0x1fb)]&&this['unlockItemOrSolution']===a)return this[l(0x1fd)]=![],this[l(0x1ec)]['write'](l(0x1f2)+this[l(0x1f6)]+l(0x1ef)+a),!![];return this[l(0x1ec)][l(0x1fe)](l(0x1e9)+this['name']+l(0x1ef)+a),![];}[a50i(0x1e7)](){var m=a50i;return this[m(0x1fd)];}[a50i(0x1fa)](){var n=a50i;return this[n(0x1f9)];}}function a50c(){var o=['toString','.\x20Is\x20Locked:\x20','3356672ouXpxK','constructor','checkIfLocked','To\x20','Failed\x20to\x20unlock\x20door:\x20','apply','502611pUtmqQ','logger','Door\x20created\x20between\x20','12XgvjOZ','.\x20Used:\x20','2078430HexcnV','2443756oZBSkO','Door\x20unlocked:\x20','roomB','632318BgDcFb','roomA','name','getInstance','219237KlHOGS','isLockable','checkIfLockable','unlockItemOrSolution','(((.+)+)+)+$','isLocked','write','getOtherSide','\x20and\x20','344520OAYNst'];a50c=function(){return o;};return a50c();}
@@ -1 +1 @@
1
- function a48c(){const r=['Added\x20item:\x20','constructor','getWeight','132sfqtFy','Checked\x20for\x20item:\x20','hasItem','3010356uDkUYg','.\x20Item\x20not\x20found.','639652GEDlqT','Retrieved\x20details\x20for\x20item:\x20','getAllItems','logger','\x20to\x20inventory.','6ClfbtF','Failed\x20to\x20remove\x20item:\x20','toLowerCase','addItem','707UahNny','63728blKqQr','weight','map','282990JwXDkQ','join','10IcMSXj','values','9587511WGoDmW','items','delete','toString','\x20from\x20inventory.','apply','(((.+)+)+)+$','1078NLyjJL','keys','9610UjBafd','set','13684dgJQqP','write','Listed\x20items\x20in\x20inventory:\x20','1077OWKqLX','search','\x20in\x20','Removed\x20item:\x20','name','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'];a48c=function(){return r;};return a48c();}const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x8b))/0x1*(parseInt(f(0x93))/0x2)+-parseInt(f(0xa5))/0x3*(-parseInt(f(0xa2))/0x4)+-parseInt(f(0x95))/0x5*(parseInt(f(0xb1))/0x6)+-parseInt(f(0x8f))/0x7*(parseInt(f(0x90))/0x8)+parseInt(f(0x97))/0x9+parseInt(f(0xa0))/0xa*(-parseInt(f(0x9e))/0xb)+-parseInt(f(0xae))/0xc*(parseInt(f(0xb3))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xaaa44));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x9a)]()[h(0xa6)](h(0x9d))['toString']()[h(0xac)](a48a)[h(0xa6)](h(0x9d));});a48a();import{capitalCase}from'change-case';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x8b;let f=c[d];return f;},a48d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0x98)];[a48i(0xb6)];constructor(){const j=a48i;super(),this[j(0x98)]=new Map(),this[j(0xb6)]=Logger['getInstance']();}[a48i(0x8e)](a){const k=a48i;this[k(0x98)][k(0xa1)](a[k(0xa9)][k(0x8d)](),a),this[k(0xb6)][k(0xa3)](k(0xab)+a[k(0xa9)]+k(0xb7));}['removeItem'](a){const l=a48i,b=this['getItem'](a);if(b)return this[l(0x98)][l(0x99)](a[l(0x8d)]()),this[l(0xb6)][l(0xa3)](l(0xa8)+a+l(0x9b)),b;return this[l(0xb6)][l(0xa3)](l(0x8c)+a+l(0xb2)),null;}[a48i(0xb0)](a){const m=a48i,b=this['items']['has'](a['toLowerCase']()),c=[...this[m(0x98)][m(0x9f)]()];return this[m(0xb6)]['write'](m(0xaf)+a+m(0xa7)+c['join'](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}['getItem'](a){const n=a48i,b=this[n(0x98)]['get'](a[n(0x8d)]())||null;return b?this[n(0xb6)][n(0xa3)](n(0xb4)+a+'.'):this[n(0xb6)][n(0xa3)](n(0xaa)+a+n(0xb2)),b;}['listItems'](){const o=a48i,a=[...this[o(0x98)][o(0x9f)]()],b=a[o(0x92)](c=>capitalCase(c));return this[o(0xb6)]['write'](o(0xa4)+b[o(0x94)](',\x20')+'.'),a;}[a48i(0xad)](){const p=a48i;let a=0x0;for(const b of this[p(0x98)][p(0x96)]()){a+=b[p(0x91)];}return a;}[a48i(0xb5)](){const q=a48i;return[...this[q(0x98)][q(0x96)]()];}}
1
+ const a51i=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x70;let f=c[d];return f;},a51d(a,b);}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x91))/0x1*(parseInt(f(0x7b))/0x2)+parseInt(f(0x78))/0x3*(-parseInt(f(0x75))/0x4)+parseInt(f(0x96))/0x5+parseInt(f(0x74))/0x6+parseInt(f(0x93))/0x7+parseInt(f(0x70))/0x8+-parseInt(f(0x81))/0x9*(parseInt(f(0x7e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xcc333));function a51c(){const r=['(((.+)+)+)+$','getAllItems','3MXmvwE','write','map','2710222RcgFvL','listItems','removeItem','540lLHBtl','Failed\x20to\x20remove\x20item:\x20','Retrieved\x20details\x20for\x20item:\x20','171099PcZnqY','name','logger','addItem','delete','items','Added\x20item:\x20','toLowerCase','set','Checked\x20for\x20item:\x20','Listed\x20items\x20in\x20inventory:\x20','\x20to\x20inventory.','search','toString','keys','.\x20Item\x20not\x20found.','1njOCOa','apply','6466733YBFhbx','constructor','getWeight','664500nGsPry','values','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','1085192LAJKnt','weight','join','.\x20Exists:\x20','4622502xnlmPq','5819596DPErpR'];a51c=function(){return r;};return a51c();}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x8e)]()[h(0x8d)](h(0x76))[h(0x8e)]()[h(0x94)](a51a)[h(0x8d)](h(0x76));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0x86)];[a51i(0x83)];constructor(){const j=a51i;super(),this[j(0x86)]=new Map(),this[j(0x83)]=Logger['getInstance']();}[a51i(0x84)](a){const k=a51i;this['items'][k(0x89)](a['name'][k(0x88)](),a),this[k(0x83)]['write'](k(0x87)+a[k(0x82)]+k(0x8c));}[a51i(0x7d)](a){const l=a51i,b=this['getItem'](a);if(b)return this[l(0x86)][l(0x85)](a[l(0x88)]()),this['logger'][l(0x79)]('Removed\x20item:\x20'+a+'\x20from\x20inventory.'),b;return this[l(0x83)][l(0x79)](l(0x7f)+a+l(0x90)),null;}['hasItem'](a){const m=a51i,b=this[m(0x86)]['has'](a[m(0x88)]()),c=[...this[m(0x86)][m(0x8f)]()];return this[m(0x83)][m(0x79)](m(0x8a)+a+'\x20in\x20'+c[m(0x72)](',\x20')+m(0x73)+b+'.'),b;}['getItem'](a){const n=a51i,b=this[n(0x86)]['get'](a[n(0x88)]())||null;return b?this['logger'][n(0x79)](n(0x80)+a+'.'):this['logger'][n(0x79)](n(0x98)+a+'.\x20Item\x20not\x20found.'),b;}[a51i(0x7c)](){const o=a51i,a=[...this[o(0x86)]['keys']()],b=a[o(0x7a)](c=>capitalCase(c));return this[o(0x83)][o(0x79)](o(0x8b)+b[o(0x72)](',\x20')+'.'),a;}[a51i(0x95)](){const p=a51i;let a=0x0;for(const b of this[p(0x86)][p(0x97)]()){a+=b[p(0x71)];}return a;}[a51i(0x77)](){const q=a51i;return[...this[q(0x86)]['values']()];}}
@@ -1 +1 @@
1
- function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xb1;var f=c[d];return f;},a49d(a,b);}function a49c(){var k=['color','size','uuid','3422oITQry','163719HDjIHv','description','(((.+)+)+)+$','521388RJMwmM','search','218nRvXJh','constructor','24mPPvNu','toString','weight','2573109JjjBTS','5575885zYwrcY','140448UnpnZm','shape','.\x20Nothing\x20special\x20happens.','rating','name','39518120bzQRhF','texture','488CkHypw','category'];a49c=function(){return k;};return a49c();}var a49h=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0xb3))/0x1*(-parseInt(f(0xc6))/0x2)+-parseInt(f(0xb1))/0x3*(parseInt(f(0xb5))/0x4)+-parseInt(f(0xb9))/0x5+-parseInt(f(0xba))/0x6+-parseInt(f(0xb8))/0x7+-parseInt(f(0xc1))/0x8*(parseInt(f(0xc7))/0x9)+parseInt(f(0xbf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xa2a63));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['toString']()[g(0xb2)](g(0xc9))[g(0xb6)]()[g(0xb4)](a49a)[g(0xb2)](g(0xc9));});a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49h(0xc5)];[a49h(0xbe)];[a49h(0xc8)];[a49h(0xc4)];[a49h(0xc2)];['shape'];[a49h(0xc3)];[a49h(0xc0)];['rating'];[a49h(0xb7)];constructor(a){var i=a49h;super(),this[i(0xbe)]=a[i(0xbe)],this['description']=a[i(0xc8)],this['size']=a[i(0xc4)],this[i(0xc2)]=a['category'],this[i(0xbb)]=a[i(0xbb)],this[i(0xc3)]=a[i(0xc3)],this[i(0xc0)]=a[i(0xc0)],this[i(0xbd)]=a['rating'],this[i(0xb7)]=a[i(0xb7)],this[i(0xc5)]=a49e();}['use'](){var j=a49h;return'You\x20use\x20the\x20'+this['name']+j(0xbc);}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1f0))/0x1*(-parseInt(f(0x1f1))/0x2)+-parseInt(f(0x1df))/0x3+-parseInt(f(0x1f6))/0x4+-parseInt(f(0x1e5))/0x5*(-parseInt(f(0x1ed))/0x6)+-parseInt(f(0x1ef))/0x7*(-parseInt(f(0x1e9))/0x8)+-parseInt(f(0x1eb))/0x9*(-parseInt(f(0x1e0))/0xa)+-parseInt(f(0x1f3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xcce6d));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1e7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x1f4)]()[h(0x1e8)]('(((.+)+)+)+$')[h(0x1f4)]()[h(0x1f5)](a52a)['search'](h(0x1e4));});a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a52c(){var l=['size','description','rating','(((.+)+)+)+$','65fqHSTB','shape','apply','search','9079136rqzYFw','.\x20Nothing\x20special\x20happens.','6935499WONAtF','texture','655392SVUmxS','name','7rmgalW','71322YlmEFe','44CNuofW','uuid','19044960crfJXV','toString','constructor','2585028EHXseK','color','category','weight','5033127sFYwlG','10GgsKgu'];a52c=function(){return l;};return a52c();}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1df;var f=c[d];return f;},a52d(a,b);}export class Item extends AbstractItem{[a52i(0x1f2)];[a52i(0x1ee)];[a52i(0x1e2)];[a52i(0x1e1)];[a52i(0x1f8)];['shape'];[a52i(0x1f7)];[a52i(0x1ec)];['rating'];[a52i(0x1f9)];constructor(a){var j=a52i;super(),this[j(0x1ee)]=a[j(0x1ee)],this[j(0x1e2)]=a[j(0x1e2)],this[j(0x1e1)]=a[j(0x1e1)],this[j(0x1f8)]=a[j(0x1f8)],this[j(0x1e6)]=a[j(0x1e6)],this[j(0x1f7)]=a[j(0x1f7)],this[j(0x1ec)]=a[j(0x1ec)],this[j(0x1e3)]=a['rating'],this[j(0x1f9)]=a[j(0x1f9)],this[j(0x1f2)]=a52e();}['use'](){var k=a52i;return'You\x20use\x20the\x20'+this['name']+k(0x1ea);}}
@@ -1 +1 @@
1
- const a50j=a50d;function a50c(){const o=['371968momzwg','215010PYMUig','autonomousMove','random','_dialogue','floor','27078RJKZXs','301014wHsTYF','12463GRYPWF','_name','rooms','20HHwYwx','(((.+)+)+)+$','9354709XkkfTs','speak','12PJIwfJ','8IQrtrB','name','execute','424cAzdAS','730lPyvZv','length','apply','scene','35gHmijT','27855HVMVKn','search','moveTo','constructor','toString'];a50c=function(){return o;};return a50c();}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x12d))/0x1*(parseInt(f(0x137))/0x2)+parseInt(f(0x128))/0x3+parseInt(f(0x127))/0x4*(-parseInt(f(0x132))/0x5)+-parseInt(f(0x12e))/0x6*(parseInt(f(0x13f))/0x7)+parseInt(f(0x13a))/0x8*(-parseInt(f(0x140))/0x9)+parseInt(f(0x13b))/0xa*(parseInt(f(0x12f))/0xb)+-parseInt(f(0x136))/0xc*(-parseInt(f(0x134))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x2fb6c));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x126)]()[h(0x141)](h(0x133))[h(0x126)]()[h(0x143)](a50a)[h(0x141)](h(0x133));});a50a();function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x126;let f=c[d];return f;},a50d(a,b);}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];['_dialogue'];['rooms'];['scene'];constructor(a,b,c,d){const i=a50d;super(d),this[i(0x130)]=a,this['_dialogue']=b,this['rooms']=c;}get[a50j(0x138)](){const k=a50j;return this[k(0x130)];}[a50j(0x135)](){const l=a50j;return this[l(0x12b)][Math[l(0x12c)](Math['random']()*this[l(0x12b)]['length'])];}[a50j(0x129)](a){const m=a50j,b=a[Math[m(0x12c)](Math[m(0x12a)]()*a[m(0x13c)])];this[m(0x142)](b['name']);}[a50j(0x142)](a){const n=a50j,b={'actor':this,'rooms':this[n(0x131)],'scene':this[n(0x13e)]},c=new GoCommand(b);c[n(0x139)]([a]);}}
1
+ const a53i=a53d;function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x13d;let f=c[d];return f;},a53d(a,b);}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x155))/0x1+-parseInt(f(0x151))/0x2*(-parseInt(f(0x149))/0x3)+-parseInt(f(0x150))/0x4+parseInt(f(0x146))/0x5+-parseInt(f(0x154))/0x6*(parseInt(f(0x147))/0x7)+-parseInt(f(0x13f))/0x8+parseInt(f(0x152))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x7c1dd));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x14d)]()[h(0x13d)](h(0x140))[h(0x14d)]()[h(0x144)](a53a)[h(0x13d)](h(0x140));});a53a();import{Player}from'./player.js';function a53c(){const n=['2555637Innjlh','execute','355641kZbWHt','length','apply','random','toString','_dialogue','autonomousMove','2283932VlzyJg','10ziAQDn','13161951WwUJIL','speak','12BMWRXC','278485oMCLCq','search','floor','2471376CIvIrk','(((.+)+)+)+$','moveTo','scene','rooms','constructor','_name','1708895PuRZUa'];a53c=function(){return n;};return a53c();}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0x145)];['_dialogue'];[a53i(0x143)];[a53i(0x142)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x145)]=a,this['_dialogue']=b,this['rooms']=c;}get['name'](){return this['_name'];}[a53i(0x153)](){const k=a53i;return this[k(0x14e)][Math[k(0x13e)](Math[k(0x14c)]()*this[k(0x14e)]['length'])];}[a53i(0x14f)](a){const l=a53i,b=a[Math[l(0x13e)](Math[l(0x14c)]()*a[l(0x14a)])];this[l(0x141)](b['name']);}['moveTo'](a){const m=a53i,b={'actor':this,'rooms':this[m(0x143)],'scene':this['scene']},c=new GoCommand(b);c[m(0x148)]([a]);}}
@@ -1 +1 @@
1
- const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0xba))/0x1*(parseInt(f(0xc1))/0x2)+parseInt(f(0xdd))/0x3*(-parseInt(f(0xfd))/0x4)+parseInt(f(0xb8))/0x5*(parseInt(f(0xfe))/0x6)+parseInt(f(0xad))/0x7*(-parseInt(f(0xc4))/0x8)+parseInt(f(0xd1))/0x9*(-parseInt(f(0x105))/0xa)+-parseInt(f(0xf5))/0xb+parseInt(f(0xfc))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x90d6a));const a51b=(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;};}()),a51a=a51b(this,function(){const g=a51d;return a51a[g(0xe1)]()[g(0xde)](g(0xe5))['toString']()[g(0xf9)](a51a)['search'](g(0xe5));});function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xad;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{[a51h(0x109)];[a51h(0xb6)];[a51h(0xfa)];[a51h(0xce)];[a51h(0xe9)]=0x32;['logger'];constructor(a){const i=a51h;super(),this['_playerName']=a['playerName'],this[i(0xb6)]=a['startLocation']||new Room({'name':i(0x101),'description':i(0x102)}),this['_inventory']=new Inventory(),this[i(0xe7)]=Logger[i(0xff)]();if(a?.[i(0xd9)])for(const b of a[i(0xd9)]){this['_inventory'][i(0xcf)](b);}this[i(0xce)]=a?.[i(0xf8)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0xec)](){const j=a51h;return this[j(0x109)];}get[a51h(0xee)](){const k=a51h;return this[k(0xb6)];}set[a51h(0xee)](a){const l=a51h;this[l(0xb6)]!==a&&(this['leaveRoom'](),this[l(0xc0)](a)),this[l(0xb6)]=a;}get['inventory'](){const m=a51h;return this[m(0xfa)];}get[a51h(0xb9)](){return this['_equipment'];}set[a51h(0xb9)](a){const n=a51h;this[n(0xce)]=a;}get[a51h(0xfb)](){const o=a51h;return this[o(0xe9)];}set[a51h(0xfb)](a){const p=a51h;a>0x0?this[p(0xe9)]=a:console[p(0xaf)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get['currentWeight'](){const q=a51h;let a=this[q(0xfa)][q(0xc9)]();for(const b in this[q(0xce)]){const c=this[q(0xce)][b];c&&(a+=c[q(0xf4)]);}return a;}[a51h(0xdf)](a){const r=a51h;if(this[r(0xd4)]+a['weight']>this[r(0xfb)]){this[r(0xe7)]['write'](r(0xd8));throw new Error(r(0x100));}this['_inventory'][r(0xcf)](a),this['logger'][r(0xc2)](r(0xe6)+a[r(0xec)]+r(0xf3));}['removeInventory'](a){const s=a51h;if(this[s(0xfa)]['removeItem'](a['name']))return this[s(0xe7)][s(0xc2)](s(0xbe)+a['name']+s(0x10b)),!![];return this[s(0xe7)][s(0xc2)](s(0xc7)+a[s(0xec)]+s(0x10b)),![];}[a51h(0xf0)](a){const t=a51h;if(!this[t(0xfa)][t(0xf7)](a[t(0xec)]))return'You\x20don\x27t\x20have\x20'+a[t(0xec)]+t(0xb1);if(!this[t(0xb3)](a))return t(0xb7)+a[t(0xec)]+'.';const b=this[t(0x10a)](a['category']);if(!b)return a[t(0xec)]+t(0xbd);if(this[t(0xb9)][b])return t(0xd0)+b+t(0xc3);return this['equipment'][b]=a,this[t(0xc5)](a),t(0x10c)+a['name']+'.';}[a51h(0xd5)](a){const u=a51h;let b=a;if(!this[u(0xb9)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return u(0xb4)+a+'.';}return this[u(0xe2)](b);}['determineEquipmentSlot'](a){const v=a51h;switch(a['toLowerCase']()){case Category[v(0xca)]['toLowerCase']():return v(0xdb);case Category[v(0xc8)][v(0xcd)]():return v(0xbf);case Category[v(0xf6)]['toLowerCase']():return'gloves';case Category[v(0x107)]['toLowerCase']():case Category[v(0xb2)][v(0xcd)]():return v(0xe4);case Category[v(0x104)][v(0xcd)]():return v(0xe3);case Category[v(0xb5)][v(0xcd)]():return'legs';case Category[v(0xeb)][v(0xcd)]():return v(0xdc);case Category[v(0xbb)]['toLowerCase']():return v(0x103);case'weapon':return v(0xdb);case v(0xf1):return v(0xbf);case v(0xbc):return v(0xbc);case v(0xe8):case'hat':return'head';case v(0xe0):return v(0xe3);case v(0xd3):case v(0xda):return'legs';case v(0xea):case v(0xef):return v(0xdc);case v(0xcb):case v(0xcc):case'torso':return v(0x103);default:return null;}}[a51h(0xb3)](a){const w=a51h;return Object[w(0xb0)](Category)[w(0xed)](a[w(0xae)]);}['unequipBySlot'](a){const x=a51h,b=this['equipment'][a];if(!b)return x(0xd2)+a+x(0xf2);return this[x(0xdf)](b),this[x(0xb9)][a]=null,'You\x20unequipped\x20'+b[x(0xec)]+'.';}['hear'](a,b){const y=a51h;a!==this&&this[y(0xe7)][y(0xd6)](a[y(0xec)]+'\x20says:\x20\x22'+b+'\x22');}[a51h(0xc0)](a){const z=a51h;this[z(0xb6)]=a,a['on']('speak',this[z(0xc6)]['bind'](this)),this['logger'][z(0xc2)](this[z(0xec)]+z(0xd7)+a[z(0xec)]);}[a51h(0x106)](){const A=a51h;this['_currentLocation']&&(this['_currentLocation']['off']('speak',this[A(0xc6)]['bind'](this)),this[A(0xe7)][A(0xc2)](this[A(0xec)]+A(0x108)+this[A(0xb6)]['name']));}}function a51c(){const B=['BodyArmor','gloves','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','Removed\x20','leftHand','enterRoom','1798294xSJrBT','write','.\x20You\x20must\x20unequip\x20it\x20first.','7736OpmTou','removeInventory','hear','Failed\x20to\x20remove\x20','Shield','getWeight','Weapon','body\x20armor','bodyarmor','toLowerCase','_equipment','addItem','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','423nMYqpA','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','leg\x20armor','currentWeight','unequip','log','\x20is\x20now\x20listening\x20in\x20room\x20','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','inventoryItems','legarmor','rightHand','arms','69MKKxtj','search','addInventory','boots','toString','unequipBySlot','feet','head','(((.+)+)+)+$','Added\x20','logger','helmet','_maxCarryingWeight','arm\x20armor','ArmArmor','name','includes','currentLocation','armarmor','equip','shield','\x20slot.','\x20to\x20player\x27s\x20inventory.','weight','12147905GyULyN','Gloves','hasItem','initialEquipment','constructor','_inventory','maxCarryingWeight','35759304ZPdHLl','145060rTheBT','42lmBfIf','getInstance','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','Nexus','A\x20featureless\x20room','torso','Boots','178670eZeCyo','leaveRoom','Helmet','\x20is\x20no\x20longer\x20listeng\x20in\x20','_playerName','determineEquipmentSlot','\x20from\x20player\x27s\x20inventory.','You\x20equipped\x20','3913ZdwZAB','category','error','values','\x20in\x20your\x20inventory.','Hat','canEquip','Invalid\x20category\x20or\x20slot:\x20','LegArmor','_currentLocation','You\x20can\x27t\x20equip\x20','23515amujMs','equipment','1LfqcaY'];a51c=function(){return B;};return a51c();}
1
+ const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x12d))/0x1+-parseInt(f(0x10a))/0x2*(parseInt(f(0x156))/0x3)+parseInt(f(0x13d))/0x4*(-parseInt(f(0x148))/0x5)+-parseInt(f(0x134))/0x6+-parseInt(f(0x12e))/0x7*(-parseInt(f(0x106))/0x8)+-parseInt(f(0x114))/0x9+-parseInt(f(0x124))/0xa*(-parseInt(f(0xf9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x2ae7d));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x143)]()[h(0x13f)]('(((.+)+)+)+$')[h(0x143)]()[h(0x110)](a54a)[h(0x13f)](h(0x153));});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xf7;let f=c[d];return f;},a54d(a,b);}function a54c(){const A=['getInstance','146140djIuVW','98lQiYCk','bodyarmor','\x20is\x20no\x20longer\x20listeng\x20in\x20','Added\x20','enterRoom','off','1519662mLwjkR','torso','legarmor','You\x20unequipped\x20','bind','rightHand','unequip','arms','A\x20featureless\x20room','476356yKEyJV','inventory','search','You\x20equipped\x20','gloves','BodyArmor','toString','_playerName','LegArmor','canEquip','maxCarryingWeight','10ZPpWET','body\x20armor','initialEquipment','ArmArmor','.\x20You\x20must\x20unequip\x20it\x20first.','Shield','leg\x20armor','write','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','equip','hat','(((.+)+)+)+$','leftHand','hear','3YCaenH','inventoryItems','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','addInventory','boots','_equipment','871123xxUSGH','leaveRoom','addItem','Weapon','helmet','\x20is\x20now\x20listening\x20in\x20room\x20','determineEquipmentSlot','Boots','\x20to\x20player\x27s\x20inventory.','head','log','removeInventory','error','568xKZBNE','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','arm\x20armor','currentLocation','199982rsXWdL','Failed\x20to\x20remove\x20','getWeight','category','unequipBySlot','_maxCarryingWeight','constructor','_currentLocation','feet','_inventory','2259630zmjcRk','\x20in\x20your\x20inventory.','name','\x20from\x20player\x27s\x20inventory.','apply','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','weight','weapon','Gloves','Invalid\x20category\x20or\x20slot:\x20','equipment','\x20slot.','removeItem','speak','shield','armarmor','110WPuovb','logger','legs','You\x20don\x27t\x20have\x20','toLowerCase','hasItem','currentWeight','includes'];a54c=function(){return A;};return a54c();}import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54i(0x144)];[a54i(0x111)];['_inventory'];[a54i(0xf8)];[a54i(0x10f)]=0x32;['logger'];constructor(a){const j=a54i;super(),this['_playerName']=a['playerName'],this[j(0x111)]=a['startLocation']||new Room({'name':'Nexus','description':j(0x13c)}),this[j(0x113)]=new Inventory(),this['logger']=Logger[j(0x12c)]();if(a?.[j(0x157)])for(const b of a[j(0x157)]){this['_inventory'][j(0xfb)](b);}this['_equipment']=a?.[j(0x14a)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x116)](){return this['_playerName'];}get[a54i(0x109)](){const k=a54i;return this[k(0x111)];}set[a54i(0x109)](a){const l=a54i;this['_currentLocation']!==a&&(this[l(0xfa)](),this[l(0x132)](a)),this[l(0x111)]=a;}get[a54i(0x13e)](){const m=a54i;return this[m(0x113)];}get['equipment'](){const n=a54i;return this[n(0xf8)];}set[a54i(0x11e)](a){this['_equipment']=a;}get[a54i(0x147)](){return this['_maxCarryingWeight'];}set[a54i(0x147)](a){const o=a54i;a>0x0?this[o(0x10f)]=a:console[o(0x105)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get['currentWeight'](){const p=a54i;let a=this[p(0x113)][p(0x10c)]();for(const b in this[p(0xf8)]){const c=this[p(0xf8)][b];c&&(a+=c[p(0x11a)]);}return a;}['addInventory'](a){const q=a54i;if(this[q(0x12a)]+a['weight']>this[q(0x147)]){this[q(0x125)][q(0x14f)](q(0x158));throw new Error(q(0x107));}this[q(0x113)][q(0xfb)](a),this[q(0x125)][q(0x14f)](q(0x131)+a['name']+q(0x101));}[a54i(0x104)](a){const r=a54i;if(this['_inventory'][r(0x120)](a[r(0x116)]))return this[r(0x125)][r(0x14f)]('Removed\x20'+a[r(0x116)]+r(0x117)),!![];return this[r(0x125)]['write'](r(0x10b)+a[r(0x116)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a54i(0x151)](a){const s=a54i;if(!this['_inventory'][s(0x129)](a[s(0x116)]))return s(0x127)+a[s(0x116)]+s(0x115);if(!this[s(0x146)](a))return'You\x20can\x27t\x20equip\x20'+a[s(0x116)]+'.';const b=this['determineEquipmentSlot'](a[s(0x10d)]);if(!b)return a[s(0x116)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this['equipment'][b])return s(0x119)+b+s(0x14c);return this[s(0x11e)][b]=a,this['removeInventory'](a),s(0x140)+a[s(0x116)]+'.';}[a54i(0x13a)](a){const t=a54i;let b=a;if(!this[t(0x11e)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return t(0x11d)+a+'.';}return this['unequipBySlot'](b);}[a54i(0xff)](a){const u=a54i;switch(a[u(0x128)]()){case Category[u(0xfc)][u(0x128)]():return u(0x139);case Category[u(0x14d)]['toLowerCase']():return u(0x154);case Category[u(0x11c)][u(0x128)]():return u(0x141);case Category['Helmet'][u(0x128)]():case Category['Hat']['toLowerCase']():return'head';case Category[u(0x100)][u(0x128)]():return u(0x112);case Category[u(0x145)][u(0x128)]():return u(0x126);case Category[u(0x14b)][u(0x128)]():return'arms';case Category[u(0x142)][u(0x128)]():return u(0x135);case u(0x11b):return u(0x139);case u(0x122):return u(0x154);case u(0x141):return u(0x141);case u(0xfd):case u(0x152):return u(0x102);case u(0xf7):return u(0x112);case u(0x14e):case u(0x136):return u(0x126);case u(0x108):case u(0x123):return u(0x13b);case u(0x149):case u(0x12f):case u(0x135):return u(0x135);default:return null;}}[a54i(0x146)](a){const v=a54i;return Object['values'](Category)[v(0x12b)](a[v(0x10d)]);}[a54i(0x10e)](a){const w=a54i,b=this['equipment'][a];if(!b)return w(0x150)+a+w(0x11f);return this[w(0x159)](b),this[w(0x11e)][a]=null,w(0x137)+b['name']+'.';}['hear'](a,b){const x=a54i;a!==this&&this[x(0x125)][x(0x103)](a[x(0x116)]+'\x20says:\x20\x22'+b+'\x22');}[a54i(0x132)](a){const y=a54i;this['_currentLocation']=a,a['on'](y(0x121),this[y(0x155)][y(0x138)](this)),this[y(0x125)]['write'](this[y(0x116)]+y(0xfe)+a[y(0x116)]);}[a54i(0xfa)](){const z=a54i;this[z(0x111)]&&(this[z(0x111)][z(0x133)](z(0x121),this[z(0x155)][z(0x138)](this)),this['logger'][z(0x14f)](this['name']+z(0x130)+this[z(0x111)][z(0x116)]));}}
@@ -1 +1 @@
1
- function a52c(){var n=['logger','220360nfiOeT','solve','hasItem','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','3344706eBcNxl','657099ZGamSB','failureMessage','hasRequiredItem','matchesRequiredPhrase','1qFEOBW','search','constructor','You\x20solved\x20the\x20puzzle!','1822844NuoNUW','requiredPhrase','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','4062674eINrJh','(((.+)+)+)+$','riddle','toString','requiredItem','96ppulUr','961977ssJWmD','successMessage','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','rewardItem','8aSMNQK','20MByqUa','solved','11098461PZcZsd','write','apply'];a52c=function(){return n;};return a52c();}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xdd;var f=c[d];return f;},a52d(a,b);}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xfa))/0x1*(parseInt(f(0xdd))/0x2)+-parseInt(f(0xe6))/0x3*(-parseInt(f(0xea))/0x4)+parseInt(f(0xf1))/0x5+-parseInt(f(0xf5))/0x6+parseInt(f(0xe0))/0x7+-parseInt(f(0xe5))/0x8*(-parseInt(f(0xf6))/0x9)+parseInt(f(0xeb))/0xa*(-parseInt(f(0xed))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x74b15));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xe3)]()['search'](h(0xe1))[h(0xe3)]()[h(0xfc)](a52a)[h(0xfb)]('(((.+)+)+)+$');});a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0xf0)]=Logger['getInstance']();[a52i(0xec)]=![];[a52i(0xe4)];[a52i(0xde)];[a52i(0xe2)];['rewardItem'];['successMessage'];[a52i(0xf7)];constructor(a){var j=a52i;super(),this['requiredItem']=a[j(0xe4)],this[j(0xde)]=a[j(0xde)],this[j(0xe2)]=a[j(0xe2)],this[j(0xe9)]=a[j(0xe9)],this[j(0xe7)]=a['successMessage']||j(0xfd),this[j(0xf7)]=a[j(0xf7)]||j(0xdf);}[a52i(0xf8)](a){var k=a52i;if(this[k(0xe4)])return a[k(0xf3)](this[k(0xe4)]);return![];}[a52i(0xf9)](a){var l=a52i;return this[l(0xde)]===a;}[a52i(0xf2)](a,b){var m=a52i;if(this[m(0xec)])return this[m(0xf0)]['write'](m(0xe8)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this['hasRequiredItem'](b)||this[m(0xf9)](a)?(this[m(0xec)]=!![],this['logger'][m(0xee)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[m(0xe7)]}):(this['logger'][m(0xee)](m(0xf4)),{'success':![],'message':this[m(0xf7)]});}}
1
+ function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xeb;var f=c[d];return f;},a55d(a,b);}var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x100))/0x1*(-parseInt(f(0xf5))/0x2)+parseInt(f(0xec))/0x3+-parseInt(f(0x108))/0x4+-parseInt(f(0xf8))/0x5*(-parseInt(f(0xfa))/0x6)+-parseInt(f(0x102))/0x7+-parseInt(f(0xfd))/0x8+-parseInt(f(0x101))/0x9*(-parseInt(f(0x105))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xf3174));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x109)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0xf2)]()[h(0x107)](h(0x10b))[h(0xf2)]()[h(0xed)](a55a)['search'](h(0x10b));});a55a();import{Logger}from'../utilities/logger.js';function a55c(){var n=['101484xKSHgp','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','hasRequiredItem','25hIKhbh','Puzzle:\x20Correct\x20solution\x20provided.','894942BBBJKT','solved','logger','14342600sMknLc','solve','failureMessage','8BjhXbF','34338159VEIjkS','908425ohRkeJ','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','matchesRequiredPhrase','10GhGIsq','riddle','search','7833680pHpgLF','apply','write','(((.+)+)+)+$','successMessage','2164560pmPHpN','constructor','requiredItem','You\x20solved\x20the\x20puzzle!','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','hasItem','toString','requiredPhrase','rewardItem'];a55c=function(){return n;};return a55c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55i(0xfc)]=Logger['getInstance']();[a55i(0xfb)]=![];[a55i(0xee)];['requiredPhrase'];[a55i(0x106)];[a55i(0xf4)];['successMessage'];['failureMessage'];constructor(a){var j=a55i;super(),this[j(0xee)]=a['requiredItem'],this[j(0xf3)]=a['requiredPhrase'],this[j(0x106)]=a['riddle'],this[j(0xf4)]=a['rewardItem'],this[j(0xeb)]=a[j(0xeb)]||j(0xef),this[j(0xff)]=a[j(0xff)]||j(0xf6);}['hasRequiredItem'](a){var k=a55i;if(this[k(0xee)])return a[k(0xf1)](this['requiredItem']);return![];}[a55i(0x104)](a){var l=a55i;return this[l(0xf3)]===a;}[a55i(0xfe)](a,b){var m=a55i;if(this[m(0xfb)])return this[m(0xfc)][m(0x10a)](m(0xf0)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[m(0xf7)](b)||this[m(0x104)](a)?(this[m(0xfb)]=!![],this[m(0xfc)][m(0x10a)](m(0xf9)),{'success':!![],'message':this[m(0xeb)]}):(this[m(0xfc)][m(0x10a)](m(0x103)),{'success':![],'message':this[m(0xff)]});}}
@@ -1 +1 @@
1
- const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x17b))/0x1+parseInt(f(0x17f))/0x2*(parseInt(f(0x1b0))/0x3)+parseInt(f(0x19d))/0x4+parseInt(f(0x18f))/0x5*(-parseInt(f(0x1ad))/0x6)+-parseInt(f(0x18b))/0x7*(-parseInt(f(0x195))/0x8)+parseInt(f(0x19c))/0x9*(parseInt(f(0x1ac))/0xa)+parseInt(f(0x17e))/0xb*(-parseInt(f(0x18d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xdf09d));const a53b=(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;};}()),a53a=a53b(this,function(){const g=a53d;return a53a[g(0x1b5)]()[g(0x181)](g(0x17c))['toString']()['constructor'](a53a)[g(0x181)](g(0x17c));});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a53c(){const t=['SOUTH','No\x20locked\x20exit\x20found\x20in\x20direction\x20','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','down','Invalid\x20direction:\x20','405rTifrZ','6756652kAXXdp','\x20unlocked!','west','getOppositeDirection','Puzzle\x20set\x20for\x20room\x20','attemptUnlock','say','speak','The\x20','\x20is\x20locked.\x20Result:\x20','Checking\x20if\x20exit\x20in\x20direction\x20','puzzle','attemptUnlockExit','addExit','logger','352570ORRpBO','4002846RWwbox','removeItem','description','1485474VCSlaF','roomB','setPuzzle','write','checkIfLocked','toString','north','roomA','865117ggPwdB','(((.+)+)+)+$','Fetching\x20exit\x20in\x20direction:\x20','26375833wdkLOm','6ZxlBYj','emit','search','Item\x20added\x20to\x20room\x20','roomType','EAST','get','inventory','values','WEST','Item\x20removed\x20from\x20room\x20','.\x20Success:\x20','5249951cdmVPg','findExistingDoor','24vydyci','isStartRoom','5iGGAXF','set','addItem','\x20remains\x20locked.','exits','DOWN','8JaMfvw','name'];a53c=function(){return t;};return a53c();}import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x179;let f=c[d];return f;},a53d(a,b);}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger['getInstance']();[a53h(0x196)];['description'];[a53h(0x193)]=new Map();[a53h(0x183)];[a53h(0x18e)];[a53h(0x186)]=new Inventory();constructor(a){const i=a53h;super(),this['name']=a[i(0x196)],this[i(0x1af)]=a[i(0x1af)],this[i(0x183)]=a['roomType']||RoomType['INSIDE'],a['exits']&&(this[i(0x193)]=a[i(0x193)]||new Map()),a[i(0x186)]&&(this['inventory']=a[i(0x186)]),a['puzzle']&&(this[i(0x1a8)]=a[i(0x1a8)]),this[i(0x18e)]=a[i(0x18e)]||![],this[i(0x1ab)][i(0x1b3)]('Room\x20created:\x20'+this[i(0x196)]);}[a53h(0x1a3)](a,b){const j=a53h;this[j(0x180)](j(0x1a4),a,b);}[a53h(0x1aa)](a,b,c){const k=a53h;let d=this[k(0x18c)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits']['set'](a,d),b[k(0x193)][k(0x190)](this[k(0x1a0)](a),d);}[a53h(0x1a9)](a,b){const l=a53h,c=this[l(0x193)][l(0x185)](a);if(c instanceof Door){const d=c[l(0x1a2)](b);return this['logger']['write']('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+l(0x18a)+d),d?l(0x1a5)+c[l(0x196)]+l(0x19e):'The\x20'+c[l(0x196)]+l(0x192);}return this[l(0x1ab)]['write'](l(0x198)+a),l(0x199);}['getExit'](a){const m=a53h;return this['logger'][m(0x1b3)](m(0x17d)+a),this[m(0x193)]['get'](a);}['isExitLocked'](a){const n=a53h,b=this[n(0x193)][n(0x185)](a),c=b instanceof Door&&b[n(0x1b4)]();return this[n(0x1ab)][n(0x1b3)](n(0x1a7)+a+n(0x1a6)+c),c;}['addItem'](a){const o=a53h;this[o(0x186)][o(0x191)](a),this[o(0x1ab)]['write'](o(0x182)+this['name']+':\x20'+a[o(0x196)]);}[a53h(0x1ae)](a){const p=a53h;this[p(0x186)]['hasItem'](a['name'])?(this[p(0x186)]['removeItem'](a[p(0x196)]),this['logger'][p(0x1b3)](p(0x189)+this[p(0x196)]+':\x20'+a[p(0x196)])):this[p(0x1ab)][p(0x1b3)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[p(0x196)]+':\x20'+a[p(0x196)]);}[a53h(0x1b2)](a){const q=a53h;this[q(0x1a8)]=a,this[q(0x1ab)]['write'](q(0x1a1)+this[q(0x196)]+':\x20'+a['riddle']);}[a53h(0x1a0)](a){const r=a53h;switch(a){case r(0x179):return Direction[r(0x197)];case'south':return Direction['NORTH'];case'east':return Direction[r(0x188)];case r(0x19f):return Direction[r(0x184)];case'up':return Direction[r(0x194)];case r(0x19a):return Direction['UP'];default:throw new Error(r(0x19b)+a);}}[a53h(0x18c)](a){const s=a53h;for(const b of this[s(0x193)][s(0x187)]()){if(b instanceof Door){if(b[s(0x17a)]===this&&b[s(0x1b1)]===a||b[s(0x1b1)]===this&&b[s(0x17a)]===a)return b;}}return undefined;}}
1
+ const a56h=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x92))/0x1+parseInt(f(0xbb))/0x2+-parseInt(f(0x8a))/0x3*(-parseInt(f(0xb5))/0x4)+parseInt(f(0x97))/0x5*(parseInt(f(0x8f))/0x6)+parseInt(f(0xa2))/0x7+-parseInt(f(0xbe))/0x8+-parseInt(f(0x96))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x7184f));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const g=a56d;return a56a[g(0xaf)]()[g(0xb7)](g(0xb1))[g(0xaf)]()[g(0xa6)](a56a)['search'](g(0xb1));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a56c(){const t=['\x20unlocked!','set','addExit','3699315hyICOv','137245sotlAQ','removeItem','isStartRoom','NORTH','roomB','description','getOppositeDirection','down','write','findExistingDoor','emit','2010008pOpLLB','Checking\x20if\x20exit\x20in\x20direction\x20','hasItem','Fetching\x20exit\x20in\x20direction:\x20','constructor','The\x20','SOUTH','getInstance','WEST','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','say','inventory','north','toString','roomType','(((.+)+)+)+$','west','exits','roomA','1273772wcCKtQ','get','search','Puzzle\x20set\x20for\x20room\x20','setPuzzle','checkIfLocked','1844278ykhJYq','south','speak','5131504SYdqZQ','Item\x20added\x20to\x20room\x20','riddle','getExit','east','name','\x20remains\x20locked.','addItem','EAST','3zrhNyl','\x20is\x20locked.\x20Result:\x20','puzzle','attemptUnlockExit','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','24eVLVbD','logger','Room\x20created:\x20','120074FSpLOO'];a56c=function(){return t;};return a56c();}function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x84;let f=c[d];return f;},a56d(a,b);}import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56h(0x90)]=Logger[a56h(0xa9)]();[a56h(0x86)];[a56h(0x9c)];[a56h(0xb3)]=new Map();[a56h(0xb0)];[a56h(0x99)];['inventory']=new Inventory();constructor(a){const i=a56h;super(),this[i(0x86)]=a[i(0x86)],this[i(0x9c)]=a[i(0x9c)],this[i(0xb0)]=a[i(0xb0)]||RoomType['INSIDE'],a[i(0xb3)]&&(this[i(0xb3)]=a[i(0xb3)]||new Map()),a[i(0xad)]&&(this[i(0xad)]=a[i(0xad)]),a[i(0x8c)]&&(this[i(0x8c)]=a[i(0x8c)]),this[i(0x99)]=a[i(0x99)]||![],this[i(0x90)][i(0x9f)](i(0x91)+this['name']);}[a56h(0xac)](a,b){const j=a56h;this[j(0xa1)](j(0xbd),a,b);}[a56h(0x95)](a,b,c){const k=a56h;let d=this[k(0xa0)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0xb3)]['set'](a,d),b[k(0xb3)][k(0x94)](this['getOppositeDirection'](a),d);}[a56h(0x8d)](a,b){const l=a56h,c=this[l(0xb3)][l(0xb6)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[l(0x90)][l(0x9f)](l(0xab)+a+'.\x20Success:\x20'+d),d?l(0xa7)+c[l(0x86)]+l(0x93):l(0xa7)+c[l(0x86)]+l(0x87);}return this[l(0x90)][l(0x9f)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a56h(0x84)](a){const m=a56h;return this[m(0x90)][m(0x9f)](m(0xa5)+a),this['exits'][m(0xb6)](a);}['isExitLocked'](a){const n=a56h,b=this[n(0xb3)][n(0xb6)](a),c=b instanceof Door&&b[n(0xba)]();return this[n(0x90)][n(0x9f)](n(0xa3)+a+n(0x8b)+c),c;}[a56h(0x88)](a){const o=a56h;this[o(0xad)]['addItem'](a),this[o(0x90)]['write'](o(0xbf)+this[o(0x86)]+':\x20'+a['name']);}[a56h(0x98)](a){const p=a56h;this[p(0xad)][p(0xa4)](a[p(0x86)])?(this[p(0xad)][p(0x98)](a[p(0x86)]),this[p(0x90)]['write']('Item\x20removed\x20from\x20room\x20'+this['name']+':\x20'+a['name'])):this['logger'][p(0x9f)](p(0x8e)+this[p(0x86)]+':\x20'+a[p(0x86)]);}[a56h(0xb9)](a){const q=a56h;this['puzzle']=a,this['logger']['write'](q(0xb8)+this['name']+':\x20'+a[q(0xc0)]);}[a56h(0x9d)](a){const r=a56h;switch(a){case r(0xae):return Direction[r(0xa8)];case r(0xbc):return Direction[r(0x9a)];case r(0x85):return Direction[r(0xaa)];case r(0xb2):return Direction[r(0x89)];case'up':return Direction['DOWN'];case r(0x9e):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a56h(0xa0)](a){const s=a56h;for(const b of this[s(0xb3)]['values']()){if(b instanceof Door){if(b[s(0xb4)]===this&&b[s(0x9b)]===a||b[s(0x9b)]===this&&b[s(0xb4)]===a)return b;}}return undefined;}}