@maka/maka-cli 4.8.3 → 4.8.5

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 (147) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  109. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/kit.js +1 -1
  112. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  115. package/bundle/obf/src/generators/layout.js +1 -1
  116. package/bundle/obf/src/generators/maka.gen.js +1 -1
  117. package/bundle/obf/src/generators/methods.js +1 -1
  118. package/bundle/obf/src/generators/package.js +1 -1
  119. package/bundle/obf/src/generators/page.js +1 -1
  120. package/bundle/obf/src/generators/publish.js +1 -1
  121. package/bundle/obf/src/generators/route.js +1 -1
  122. package/bundle/obf/src/generators/service.js +1 -1
  123. package/bundle/obf/src/generators/services/_index.js +1 -1
  124. package/bundle/obf/src/generators/services/openssl.js +1 -1
  125. package/bundle/obf/src/generators/services/translation.js +1 -1
  126. package/bundle/obf/src/maka.js +1 -1
  127. package/bundle/obf/src/templates/meteor/project/package.json +1 -1
  128. package/bundle/obf/src/tool.js +1 -1
  129. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  130. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  131. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  133. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  135. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/https/https.class.js +1 -1
  137. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  138. package/bundle/obf/src/tools/log/log.class.js +1 -1
  139. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/options/options.class.js +1 -1
  141. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  142. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  143. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  145. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  147. package/package.json +1 -1
@@ -1 +1 @@
1
- const a36j=a36d;function a36c(){const m=['7980pQUAxe','6270140lSEbfP','actor','say','16024YrjyKd','420684GazReM','execute','1097724jtLLpM','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','\x20says\x20to\x20','5lDTjIj','You\x20say:\x20\x22','verb','toString','scene','name','context','join','An\x20error\x20occurred.','1526vaiLQB','400NpgeEd','logger','description','2270637xojllp','filter','2187884YOrzAF','apply','log','currentLocation','search','length','(((.+)+)+)+$','Scene\x20is\x20missing\x20from\x20context.'];a36c=function(){return m;};return a36c();}(function(a,b){const g=a36d,c=a();while(!![]){try{const d=parseInt(g(0xd5))/0x1+-parseInt(g(0xc3))/0x2*(-parseInt(g(0xd0))/0x3)+parseInt(g(0xc8))/0x4+parseInt(g(0xda))/0x5*(-parseInt(g(0xd7))/0x6)+parseInt(g(0xc2))/0x7*(-parseInt(g(0xd4))/0x8)+parseInt(g(0xc6))/0x9+-parseInt(g(0xd1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x7b5ee));function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xbc;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(0xc9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a[i(0xbc)]()[i(0xcc)](i(0xce))[i(0xbc)]()['constructor'](a36a)[i(0xcc)](i(0xce));});a36a();import{Command}from'./command.js';export class SayCommand extends Command{static [a36j(0xdc)]='say';static [a36j(0xc5)]=a36j(0xd8);[a36j(0xbf)];constructor(a){const k=a36j;super(a),this[k(0xbf)]=a;}[a36j(0xd6)](a){const l=a36j;if(a[l(0xcd)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[l(0xc0)]('\x20'),c=this[l(0xd2)],d=this['context'][l(0xbd)];if(!d)return this[l(0xc4)]['log'](l(0xcf)),l(0xc1);const e=d['allActors'][l(0xc7)](f=>f['currentLocation']===c[l(0xcb)]);for(const f of e){this[l(0xc4)][l(0xca)](c[l(0xbe)]+l(0xd9)+f[l(0xbe)]+':\x20\x22'+b+'\x22'),this[l(0xd2)][l(0xcb)][l(0xd3)](f,b);}return l(0xdb)+b+'\x22';}}
1
+ const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=parseInt(g(0x174))/0x1+parseInt(g(0x181))/0x2+parseInt(g(0x18a))/0x3*(-parseInt(g(0x180))/0x4)+-parseInt(g(0x173))/0x5*(parseInt(g(0x17f))/0x6)+parseInt(g(0x188))/0x7*(parseInt(g(0x176))/0x8)+parseInt(g(0x184))/0x9*(-parseInt(g(0x185))/0xa)+parseInt(g(0x170))/0xb*(parseInt(g(0x172))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xe0118));function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x16c;let f=c[d];return f;},a36d(a,b);}function a36c(){const m=['680471DgHXHq','length','8696HQMZaX','log','currentLocation',':\x20\x22','\x20says\x20to\x20','An\x20error\x20occurred.','allActors','logger','name','267222WxEktC','20PNFBHo','3399128htUZYb','You\x20say:\x20\x22','toString','65754DCLrpW','1510Ijmywf','apply','join','6832IlTOPG','context','7779aKGGfs','Scene\x20is\x20missing\x20from\x20context.','search','say','(((.+)+)+)+$','actor','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','378521swcrZM','filter','84kNjWAH','185QUyHfJ'];a36c=function(){return m;};return a36c();}const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a[i(0x183)]()[i(0x18c)]('(((.+)+)+)+$')['toString']()['constructor'](a36a)[i(0x18c)](i(0x16d));});a36a();import{Command}from'./command.js';export class SayCommand extends Command{static ['verb']='say';static ['description']=a36j(0x16f);['context'];constructor(a){const k=a36j;super(a),this[k(0x189)]=a;}['execute'](a){const l=a36j;if(a[l(0x175)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[l(0x187)]('\x20'),c=this[l(0x16e)],d=this[l(0x189)]['scene'];if(!d)return this[l(0x17d)][l(0x177)](l(0x18b)),l(0x17b);const e=d[l(0x17c)][l(0x171)](f=>f['currentLocation']===c['currentLocation']);for(const f of e){this[l(0x17d)][l(0x177)](c[l(0x17e)]+l(0x17a)+f[l(0x17e)]+l(0x179)+b+'\x22'),this[l(0x16e)][l(0x178)][l(0x16c)](f,b);}return l(0x182)+b+'\x22';}}
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0xa7))/0x1+-parseInt(f(0xa0))/0x2*(parseInt(f(0x92))/0x3)+parseInt(f(0x95))/0x4*(-parseInt(f(0xaa))/0x5)+parseInt(f(0x9c))/0x6*(-parseInt(f(0x90))/0x7)+-parseInt(f(0x96))/0x8*(-parseInt(f(0x99))/0x9)+-parseInt(f(0x93))/0xa+-parseInt(f(0xac))/0xb*(-parseInt(f(0x91))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xd4b2e));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x98)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0xa9)]()[h(0xa3)](h(0x97))[h(0xa9)]()[h(0xa4)](a37a)[h(0xa3)](h(0x97));});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x8f;let f=c[d];return f;},a37d(a,b);}a37a();function a37c(){const k=['You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','10570yFzfCV','6864960HjBeHe','3eZXRyJ','4766170mWwJoI','name','4zVeLiu','297096BaCoGS','(((.+)+)+)+$','apply','9YzCJok','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','write','3714txnvVN','listItems','Search\x20for\x20items\x20in\x20your\x20area','logger','2157554CDfyBJ','verb','inventory','search','constructor','join','description','1739108GVsPiL','length','toString','6148055hefZsZ','actor','121nMqlir'];a37c=function(){return k;};return a37c();}import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0xa1)]='search';static [a37i(0xa6)]=a37i(0x9e);['execute'](){const j=a37i,a=this['actor']['currentLocation'][j(0xa2)][j(0x9d)]();if(a[j(0xa8)]===0x0)return this['logger']['write']('SearchCommand:\x20'+this[j(0xab)][j(0x94)]+j(0x9a)),j(0x8f);const b=a[j(0xa5)](',\x20');return this[j(0x9f)][j(0x9b)]('SearchCommand:\x20'+this['actor'][j(0x94)]+'\x20found\x20the\x20following\x20items:\x20'+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
1
+ function a37c(){const j=['558080hKUKGd','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','write','110KiXvsK','toString','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','name','listItems','length','inventory','198575QJsVFw','verb','join','execute','24720HjwmVp','constructor','logger','search','description','actor','(((.+)+)+)+$','2269785rZZMcV','131998IkUuIy','SearchCommand:\x20','5129968IITvZo','277302txHXVa'];a37c=function(){return j;};return a37c();}const a37h=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x139;let f=c[d];return f;},a37d(a,b);}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x147))/0x1+-parseInt(f(0x139))/0x2+-parseInt(f(0x13c))/0x3+parseInt(f(0x13d))/0x4+parseInt(f(0x140))/0x5*(parseInt(f(0x14b))/0x6)+-parseInt(f(0x152))/0x7+parseInt(f(0x13b))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x2e6bf));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const g=a37d;return a37a[g(0x141)]()[g(0x14e)]('(((.+)+)+)+$')[g(0x141)]()[g(0x14c)](a37a)[g(0x14e)](g(0x151));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37h(0x148)]=a37h(0x14e);static [a37h(0x14f)]='Search\x20for\x20items\x20in\x20your\x20area';[a37h(0x14a)](){const i=a37h,a=this[i(0x150)]['currentLocation'][i(0x146)][i(0x144)]();if(a[i(0x145)]===0x0)return this[i(0x14d)][i(0x13f)](i(0x13a)+this[i(0x150)][i(0x143)]+i(0x142)),i(0x13e);const b=a[i(0x149)](',\x20');return this[i(0x14d)]['write'](i(0x13a)+this['actor'][i(0x143)]+'\x20found\x20the\x20following\x20items:\x20'+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
@@ -1 +1 @@
1
- function a38c(){const k=['search','129UqggUs','constructor','inventory','6530rILtjB','23106OWyscC','Attempt\x20to\x20solve\x20a\x20puzzle.','toString','puzzle','3024512LYZxJy','245910CMAaSy','write','(((.+)+)+)+$','apply','toLowerCase','actor','rewardItem','currentLocation','verb','success','4383NwWIVB','984WBEINr','52339nZUtOF','description','join','20692518IYNuGM','SolveCommand:\x20','solve','490842INShGA','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','5nSlsLu','addItem','message'];a38c=function(){return k;};return a38c();}const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x138))/0x1+-parseInt(f(0x121))/0x2*(-parseInt(f(0x11d))/0x3)+parseInt(f(0x125))/0x4+parseInt(f(0x119))/0x5*(parseInt(f(0x126))/0x6)+parseInt(f(0x132))/0x7*(parseInt(f(0x131))/0x8)+-parseInt(f(0x130))/0x9*(parseInt(f(0x120))/0xa)+-parseInt(f(0x135))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x7b5a8));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x123)]()[h(0x11c)](h(0x128))[h(0x123)]()[h(0x11e)](a38a)[h(0x11c)]('(((.+)+)+)+$');});a38a();import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x118;let f=c[d];return f;},a38d(a,b);}export class SolveCommand extends Command{static [a38i(0x12e)]=a38i(0x137);static [a38i(0x133)]=a38i(0x122);['execute'](a){const j=a38i,b=a[j(0x134)]('\x20')[j(0x12a)](),c=this[j(0x12b)][j(0x12d)];if(!c||!c['puzzle'])return this['logger'][j(0x127)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0x118);const d=c[j(0x124)]['solve'](b,this[j(0x12b)][j(0x11f)]);return d[j(0x12f)]&&c[j(0x124)][j(0x12c)]&&this[j(0x12b)][j(0x11f)][j(0x11a)](c[j(0x124)][j(0x12c)]),this['logger']['write'](j(0x136)+d['message']),d[j(0x11b)];}}
1
+ function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xb0;let f=c[d];return f;},a38d(a,b);}const a38h=a38d;function a38c(){const j=['13820686uscAhX','765532fzwKKS','success','write','verb','description','puzzle','(((.+)+)+)+$','12IxOvMO','10kVQHxT','3497352pBGtGu','solve','search','240382nHbMqf','582744plNrRE','790410fwAoiL','constructor','inventory','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','6nFUsNE','5441219voqDYz','addItem','toString','currentLocation','execute','rewardItem','actor','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','toLowerCase','logger','join','message','9yzMSoL'];a38c=function(){return j;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0xc6))/0x1+-parseInt(f(0xb1))/0x2+parseInt(f(0xb2))/0x3+parseInt(f(0xcd))/0x4*(-parseInt(f(0xb3))/0x5)+-parseInt(f(0xb7))/0x6*(parseInt(f(0xb8))/0x7)+parseInt(f(0xcf))/0x8*(-parseInt(f(0xc4))/0x9)+-parseInt(f(0xce))/0xa*(-parseInt(f(0xc5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x636f3));const a38b=(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;};}()),a38a=a38b(this,function(){const g=a38d;return a38a[g(0xba)]()[g(0xb0)]('(((.+)+)+)+$')[g(0xba)]()[g(0xb4)](a38a)[g(0xb0)](g(0xcc));});a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38h(0xc9)]=a38h(0xd0);static [a38h(0xca)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a38h(0xbc)](a){const i=a38h,b=a[i(0xc2)]('\x20')[i(0xc0)](),c=this['actor'][i(0xbb)];if(!c||!c[i(0xcb)])return this[i(0xc1)][i(0xc8)](i(0xbf)),i(0xb6);const d=c[i(0xcb)]['solve'](b,this[i(0xbe)]['inventory']);return d[i(0xc7)]&&c['puzzle'][i(0xbd)]&&this[i(0xbe)][i(0xb5)][i(0xb9)](c['puzzle'][i(0xbd)]),this[i(0xc1)][i(0xc8)]('SolveCommand:\x20'+d[i(0xc3)]),d[i(0xc3)];}}
@@ -1 +1 @@
1
- const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x11c))/0x1+-parseInt(f(0x112))/0x2+parseInt(f(0x116))/0x3+parseInt(f(0x12a))/0x4+parseInt(f(0x10e))/0x5+parseInt(f(0x125))/0x6+-parseInt(f(0x122))/0x7*(parseInt(f(0x115))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xb75c4));const a39b=(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;};}()),a39a=a39b(this,function(){const g=a39d;return a39a[g(0x12c)]()[g(0x11f)](g(0x12b))[g(0x12c)]()['constructor'](a39a)[g(0x11f)]('(((.+)+)+)+$');});a39a();import{Command}from'./command.js';function a39c(){const k=['1201656DSowRZ','There\x20is\x20no\x20item\x20\x22','toLowerCase','search','inventory','addInventory','15481298nVsOFK','You\x20have\x20taken\x20the\x20','logger','3329484xjGtwk','\x22\x20in\x20this\x20room.','getItem','write','description','646868sSGOIG','(((.+)+)+)+$','toString','execute','removeItem','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','currentLocation','1872930ASSbUr','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','name','actor','814568hCyJVJ','take','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','8dqkOUl','3231207dWVHmM','Item\x20\x22','The\x20item\x20\x22','hasItem','message','join'];a39c=function(){return k;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x10a;let f=c[d];return f;},a39d(a,b);}export class TakeCommand extends Command{static ['verb']=a39h(0x113);static [a39h(0x129)]='Pick\x20up\x20an\x20item.';[a39h(0x10a)](a){const i=a39h;return this[i(0x124)]['write'](i(0x10c)+a[i(0x11b)]('\x20')),this['take'](a);}['take'](a){const j=a39h,b=a['join']('\x20')[j(0x11e)](),c=this[j(0x111)][j(0x10d)];if(!c[j(0x120)][j(0x119)](b))return this[j(0x124)]['write'](j(0x117)+b+'\x22\x20not\x20found\x20in\x20'+c[j(0x110)]+'\x20during\x20\x27Take\x27\x20command.'),j(0x11d)+b+j(0x126);const d=c[j(0x120)][j(0x127)](b);if(!d)return this[j(0x124)][j(0x128)](j(0x117)+b+'\x22\x20not\x20retrieved\x20from\x20'+c[j(0x110)]+j(0x10f)),'There\x20is\x20no\x20item\x20\x22'+b+j(0x126);try{return this[j(0x111)][j(0x121)](d),this['logger'][j(0x128)]('Successfully\x20added\x20\x22'+b+'\x22\x20to\x20'+this[j(0x111)][j(0x110)]+j(0x114)),c[j(0x120)][j(0x10b)](b),this[j(0x124)][j(0x128)]('Successfully\x20removed\x20\x22'+b+'\x22\x20from\x20'+c['name']+j(0x10f)),j(0x123)+b+'.';}catch(e){return this['logger'][j(0x128)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[j(0x11a)]),j(0x118)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
1
+ const a39h=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x174;let f=c[d];return f;},a39d(a,b);}function a39c(){const k=['take','1601808mXVWxI','\x22\x20to\x20','You\x20have\x20taken\x20the\x20','verb','(((.+)+)+)+$','The\x20item\x20\x22','28uPKEEt','currentLocation','Successfully\x20added\x20\x22','There\x20is\x20no\x20item\x20\x22','6NclbLS','removeItem','\x22\x20not\x20retrieved\x20from\x20','1116500MLMnex','7015635XACCsj','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','actor','constructor','search','message','454311PPcQUy','getItem','8vPbUZh','toString','Item\x20\x22','hasItem','Successfully\x20removed\x20\x22','2526785MjftGs','addInventory','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','description','toLowerCase','write','join','16747490edFMjE','\x22\x20is\x20too\x20heavy\x20to\x20carry.','name','135735KxcKAo','\x22\x20in\x20this\x20room.','logger','inventory'];a39c=function(){return k;};return a39c();}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x17a))/0x1+parseInt(f(0x190))/0x2+-parseInt(f(0x18b))/0x3*(-parseInt(f(0x196))/0x4)+-parseInt(f(0x181))/0x5*(-parseInt(f(0x19a))/0x6)+parseInt(f(0x19d))/0x7+parseInt(f(0x17c))/0x8*(parseInt(f(0x174))/0x9)+-parseInt(f(0x188))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x69b23));const a39b=(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;};}()),a39a=a39b(this,function(){const g=a39d;return a39a['toString']()[g(0x178)]('(((.+)+)+)+$')[g(0x17d)]()[g(0x177)](a39a)[g(0x178)](g(0x194));});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39h(0x193)]=a39h(0x18f);static [a39h(0x184)]='Pick\x20up\x20an\x20item.';['execute'](a){const i=a39h;return this['logger'][i(0x186)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a['join']('\x20')),this[i(0x18f)](a);}[a39h(0x18f)](a){const j=a39h,b=a[j(0x187)]('\x20')[j(0x185)](),c=this[j(0x176)][j(0x197)];if(!c[j(0x18e)][j(0x17f)](b))return this[j(0x18d)][j(0x186)](j(0x17e)+b+'\x22\x20not\x20found\x20in\x20'+c[j(0x18a)]+'\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+j(0x18c);const d=c[j(0x18e)][j(0x17b)](b);if(!d)return this[j(0x18d)]['write'](j(0x17e)+b+j(0x19c)+c[j(0x18a)]+j(0x175)),j(0x199)+b+'\x22\x20in\x20this\x20room.';try{return this[j(0x176)][j(0x182)](d),this[j(0x18d)][j(0x186)](j(0x198)+b+j(0x191)+this['actor']['name']+j(0x183)),c['inventory'][j(0x19b)](b),this[j(0x18d)][j(0x186)](j(0x180)+b+'\x22\x20from\x20'+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x192)+b+'.';}catch(e){return this[j(0x18d)][j(0x186)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[j(0x179)]),j(0x195)+b+j(0x189);}}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x1cb))/0x1+parseInt(f(0x1bd))/0x2+-parseInt(f(0x1c9))/0x3*(parseInt(f(0x1bb))/0x4)+-parseInt(f(0x1ca))/0x5+-parseInt(f(0x1d0))/0x6+-parseInt(f(0x1c0))/0x7*(parseInt(f(0x1c2))/0x8)+parseInt(f(0x1c8))/0x9*(parseInt(f(0x1be))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xaad28));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1c1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1bf)]()[h(0x1bc)](h(0x1c7))[h(0x1bf)]()[h(0x1b9)](a40a)[h(0x1bc)]('(((.+)+)+)+$');});a40a();function a40c(){const k=['unqeuip','Unequip\x20an\x20item.','\x20unqeuiped\x20','(((.+)+)+)+$','8739NKFRvu','3kusXKt','5719360GrirrR','315983qbhGOS','logger','UnequipCommand:\x20','toLowerCase','name','4376886iKVncF','verb','unequip','execute','constructor','actor','819752XvouRr','search','1166334TSRPxm','30190UhSDAk','toString','1472289xoebCa','apply','16ETBJvj','description'];a40c=function(){return k;};return a40c();}function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a40d(a,b);}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x1d1)]=a40i(0x1c4);static [a40i(0x1c3)]=a40i(0x1c5);[a40i(0x1b8)](a){const j=a40i,b=a['join']('\x20')[j(0x1ce)](),c=this[j(0x1ba)][j(0x1d2)](b);return this[j(0x1cc)]['write'](j(0x1cd)+this[j(0x1ba)][j(0x1cf)]+j(0x1c6)+c),c;}}
1
+ const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x155))/0x1+-parseInt(f(0x153))/0x2*(-parseInt(f(0x168))/0x3)+-parseInt(f(0x15d))/0x4+-parseInt(f(0x165))/0x5+parseInt(f(0x158))/0x6*(-parseInt(f(0x154))/0x7)+-parseInt(f(0x164))/0x8+-parseInt(f(0x162))/0x9*(-parseInt(f(0x159))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xf39a1));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(0x15c)]()[g(0x160)](g(0x169))[g(0x15c)]()['constructor'](a40a)[g(0x160)](g(0x169));});a40a();import{Command}from'./command.js';function a40c(){const j=['(((.+)+)+)+$','actor','382INReOf','1267eDmToY','1963633hvsoqj','toLowerCase','join','37614TuwbSy','25194710niMSqY','name','description','toString','3351528TVvlKY','Unequip\x20an\x20item.','verb','search','\x20unqeuiped\x20','9LpWBXY','logger','9004984iAAQGb','9859220eZaQcQ','write','UnequipCommand:\x20','24891MVgtYP'];a40c=function(){return j;};return a40c();}function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x153;let f=c[d];return f;},a40d(a,b);}export class UnequipCommand extends Command{static [a40h(0x15f)]='unqeuip';static [a40h(0x15b)]=a40h(0x15e);['execute'](a){const i=a40h,b=a[i(0x157)]('\x20')[i(0x156)](),c=this[i(0x16a)]['unequip'](b);return this[i(0x163)][i(0x166)](i(0x167)+this[i(0x16a)][i(0x15a)]+i(0x161)+c),c;}}
@@ -1 +1 @@
1
- const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x1dc))/0x1+parseInt(h(0x1c8))/0x2+parseInt(h(0x1c2))/0x3*(parseInt(h(0x1da))/0x4)+parseInt(h(0x1e4))/0x5+parseInt(h(0x1e0))/0x6*(parseInt(h(0x1d3))/0x7)+-parseInt(h(0x1c9))/0x8+-parseInt(h(0x1c6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x44e62));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1be;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()[j(0x1ca)](j(0x1e1))[j(0x1d2)]()['constructor'](a41a)['search']('(((.+)+)+)+$');});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a41c(){const n=['2049vUaTge','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','UnlockCommand:\x20No\x20target\x20specified.','UnlockCommand:\x20','7985871GISClQ','unlockItemOrSolution','889954FIMMOf','2589864AvCaJp','search','name','logger','attemptUnlockExit','actor','description','get','.\x20Result:\x20','toString','80101UZtXkN','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','unlock','\x22\x20here.','length','There\x27s\x20no\x20door\x20named\x20\x22','currentLocation','2692zpMFdz','inventory','127948SNIbVI','isValidDirection','verb','\x20is\x20attempted\x20to\x20unlock\x20','186Rxvriv','(((.+)+)+)+$','write','exits','1809205GKXFBB','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','execute','error','apply','has','getItem','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','toLowerCase'];a41c=function(){return n;};return a41c();}export class UnlockCommand extends Command{static [a41k(0x1de)]=a41k(0x1d5);static [a41k(0x1cf)]='Unlock\x20a\x20door.';[a41k(0x1e6)](a){const l=a41k;return this[l(0x1d5)](a);}[a41k(0x1d5)](a){const m=a41k;if(a[m(0x1d7)]===0x0)return this[m(0x1cc)][m(0x1e7)](m(0x1c4)),m(0x1c3);const b=a[0x0][m(0x1c1)](),c=this[m(0x1ce)][m(0x1d9)];if(this[m(0x1dd)](b)&&c[m(0x1e3)][m(0x1be)](b)){const d=c[m(0x1e3)][m(0x1d0)](b);if(d instanceof Door){const e=d[m(0x1c7)]?.[m(0x1c1)]();if(e&&this[m(0x1ce)][m(0x1db)]['hasItem'](e)){const f=this[m(0x1ce)]['inventory'][m(0x1bf)](e);if(f){const g=c[m(0x1cd)](b,f['name']);return this[m(0x1cc)][m(0x1e2)](m(0x1c5)+this[m(0x1ce)][m(0x1cb)]+m(0x1df)+b+m(0x1d1)+g),g;}}return this[m(0x1cc)][m(0x1e2)](m(0x1c5)+this['actor'][m(0x1cb)]+m(0x1d4)+b+'.'),m(0x1c0);}else return this[m(0x1cc)][m(0x1e2)](m(0x1c5)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c['name']+'.'),m(0x1d8)+b+m(0x1d6);}else return this[m(0x1cc)][m(0x1e2)](m(0x1c5)+b+m(0x1e5)+c['name']+'.'),m(0x1d8)+b+m(0x1d6);}}
1
+ function a41c(){const m=['toString','1223754XnjHjI','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','exits','unlock','24YrYCJP','getItem','.\x20Result:\x20','get','10370128XjSRbl','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','logger','write','\x22\x20here.','actor','length','17EnMwgR','attemptUnlockExit','name','description','unlockItemOrSolution','(((.+)+)+)+$','execute','676636gszaeX','has','constructor','inventory','UnlockCommand:\x20No\x20target\x20specified.','error','verb','There\x27s\x20no\x20door\x20named\x20\x22','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','Unlock\x20a\x20door.','27EOoUTs','toLowerCase','search','239420VYfGnw','8936609oouJlw','1915195RjVZMI','isValidDirection','81804KFdWPn','36tHlwvw','UnlockCommand:\x20','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.'];a41c=function(){return m;};return a41c();}const a41j=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x141))/0x1*(-parseInt(h(0x12d))/0x2)+parseInt(h(0x136))/0x3*(parseInt(h(0x148))/0x4)+-parseInt(h(0x12b))/0x5+parseInt(h(0x12e))/0x6*(parseInt(h(0x132))/0x7)+-parseInt(h(0x13a))/0x8+-parseInt(h(0x126))/0x9*(-parseInt(h(0x129))/0xa)+-parseInt(h(0x12a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xa5708));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const i=a41d;return a41a[i(0x131)]()[i(0x128)]('(((.+)+)+)+$')['toString']()[i(0x14a)](a41a)[i(0x128)](i(0x146));});function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x120;let f=c[d];return f;},a41d(a,b);}a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41j(0x122)]=a41j(0x135);static [a41j(0x144)]=a41j(0x125);[a41j(0x147)](a){const k=a41j;return this[k(0x135)](a);}[a41j(0x135)](a){const l=a41j;if(a[l(0x140)]===0x0)return this[l(0x13c)][l(0x121)](l(0x120)),l(0x130);const b=a[0x0][l(0x127)](),c=this[l(0x13f)]['currentLocation'];if(this[l(0x12c)](b)&&c[l(0x134)][l(0x149)](b)){const d=c['exits'][l(0x139)](b);if(d instanceof Door){const e=d[l(0x145)]?.[l(0x127)]();if(e&&this['actor']['inventory']['hasItem'](e)){const f=this[l(0x13f)][l(0x14b)][l(0x137)](e);if(f){const g=c[l(0x142)](b,f[l(0x143)]);return this['logger'][l(0x13d)]('UnlockCommand:\x20'+this[l(0x13f)][l(0x143)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+l(0x138)+g),g;}}return this[l(0x13c)][l(0x13d)](l(0x12f)+this[l(0x13f)]['name']+l(0x133)+b+'.'),l(0x13b);}else return this['logger'][l(0x13d)]('UnlockCommand:\x20'+b+l(0x124)+c[l(0x143)]+'.'),l(0x123)+b+l(0x13e);}else return this[l(0x13c)][l(0x13d)](l(0x12f)+b+l(0x124)+c[l(0x143)]+'.'),l(0x123)+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- const a42h=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x182))/0x1*(parseInt(f(0x183))/0x2)+-parseInt(f(0x17e))/0x3+-parseInt(f(0x191))/0x4*(parseInt(f(0x18f))/0x5)+-parseInt(f(0x18a))/0x6+parseInt(f(0x192))/0x7+parseInt(f(0x178))/0x8*(-parseInt(f(0x17b))/0x9)+parseInt(f(0x17f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x55dcc));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(0x185)]()[g(0x193)](g(0x199))[g(0x185)]()[g(0x197)](a42a)['search'](g(0x199));});a42a();import{Command}from'./command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x176;let f=c[d];return f;},a42d(a,b);}function a42c(){const k=['actor','63352djEwMk','\x20doesn\x27t\x20have\x20a\x20use\x20method.','toLowerCase','9tTAkIE','join','\x20not\x20retrieved\x20from\x20','592464nzgoJZ','11653370OGMFcW','You\x20don\x27t\x20have\x20the\x20','\x27s\x20inventory.','106744Bppcvh','12SbphJk','\x20attempted\x20to\x20use\x20','toString','use','logger','\x20in\x20this\x20way.','\x20to\x20use.','2974176nwIlvO','UseCommand:\x20','hasItem','description','function','5LROmUR','write','87512fNJowq','3848600HICnPB','search','verb','inventory','\x20used\x20','constructor','execute','(((.+)+)+)+$','name'];a42c=function(){return k;};return a42c();}export class UseCommand extends Command{static [a42h(0x194)]='use';static [a42h(0x18d)]='Use\x20an\x20item.';[a42h(0x198)](a){const i=a42h;return this[i(0x186)](a);}[a42h(0x186)](a){const j=a42h,b=a[j(0x17c)]('\x20')[j(0x17a)]();if(!this[j(0x177)][j(0x195)][j(0x18c)](b))return this['logger'][j(0x190)](j(0x18b)+this['actor'][j(0x176)]+j(0x184)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),j(0x180)+b+j(0x189);const c=this[j(0x177)][j(0x195)]['getItem'](b);if(!c)return this[j(0x187)][j(0x190)]('UseCommand:\x20'+b+j(0x17d)+this[j(0x177)][j(0x176)]+j(0x181)),'You\x20don\x27t\x20have\x20the\x20'+b+j(0x189);if(typeof c[j(0x186)]===j(0x18e)){const d=c[j(0x186)]();return this[j(0x187)][j(0x190)](j(0x18b)+this[j(0x177)]['name']+j(0x196)+b+'.'),d;}else return this[j(0x187)][j(0x190)]('UseCommand:\x20'+b+j(0x179)),'You\x20can\x27t\x20use\x20the\x20'+b+j(0x188);}}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x16f))/0x1+parseInt(f(0x15c))/0x2+parseInt(f(0x153))/0x3*(-parseInt(f(0x16d))/0x4)+parseInt(f(0x163))/0x5+parseInt(f(0x16b))/0x6*(-parseInt(f(0x171))/0x7)+-parseInt(f(0x15e))/0x8+-parseInt(f(0x159))/0x9*(-parseInt(f(0x15a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xc7e38));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x15f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x170)]()['search']('(((.+)+)+)+$')[h(0x170)]()[h(0x151)](a42a)[h(0x168)]('(((.+)+)+)+$');});function a42c(){const l=['1162108QdTQDP','toString','2234638FjDTWY','\x20to\x20use.','constructor','You\x20can\x27t\x20use\x20the\x20','21JgsbWL','hasItem',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','verb','name','toLowerCase','593757VYNzXo','420sIPuDV','\x20doesn\x27t\x20have\x20a\x20use\x20method.','2183332YpnEbU','actor','9126408kZQizZ','apply','\x27s\x20inventory.','inventory','function','6072560bIqlOe','\x20not\x20retrieved\x20from\x20','UseCommand:\x20','You\x20don\x27t\x20have\x20the\x20','getItem','search','\x20used\x20','use','18vPTHSs','write','570108phlwHG','logger'];a42c=function(){return l;};return a42c();}a42a();import{Command}from'./command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x150;let f=c[d];return f;},a42d(a,b);}export class UseCommand extends Command{static [a42i(0x156)]='use';static ['description']='Use\x20an\x20item.';['execute'](a){const j=a42i;return this[j(0x16a)](a);}[a42i(0x16a)](a){const k=a42i,b=a['join']('\x20')[k(0x158)]();if(!this[k(0x15d)][k(0x161)][k(0x154)](b))return this[k(0x16e)]['write'](k(0x165)+this['actor'][k(0x157)]+'\x20attempted\x20to\x20use\x20'+b+k(0x155)),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x150);const c=this[k(0x15d)][k(0x161)][k(0x167)](b);if(!c)return this[k(0x16e)][k(0x16c)](k(0x165)+b+k(0x164)+this[k(0x15d)][k(0x157)]+k(0x160)),k(0x166)+b+k(0x150);if(typeof c['use']===k(0x162)){const d=c[k(0x16a)]();return this[k(0x16e)]['write'](k(0x165)+this[k(0x15d)][k(0x157)]+k(0x169)+b+'.'),d;}else return this[k(0x16e)][k(0x16c)](k(0x165)+b+k(0x15b)),k(0x152)+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1ce))/0x1+-parseInt(f(0x1d1))/0x2*(parseInt(f(0x1cf))/0x3)+parseInt(f(0x1d9))/0x4*(parseInt(f(0x1c7))/0x5)+parseInt(f(0x1c9))/0x6*(-parseInt(f(0x1c8))/0x7)+parseInt(f(0x1da))/0x8*(-parseInt(f(0x1d7))/0x9)+parseInt(f(0x1d0))/0xa+-parseInt(f(0x1cc))/0xb*(-parseInt(f(0x1cd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x2278a));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1d2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a['toString']()['search']('(((.+)+)+)+$')[h(0x1cb)]()[h(0x1d4)](a43a)[h(0x1d5)]('(((.+)+)+)+$');});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1c7;let f=c[d];return f;},a43d(a,b);}export class CommandFactory{static [a43i(0x1d8)]={};static[a43i(0x1d3)](a,b){const j=a43i;this[j(0x1d8)][a]=b;}static[a43i(0x1d6)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a43i(0x1ca)](){const k=a43i;return this[k(0x1d8)];}}function a43c(){const l=['getAllRegisteredCommands','toString','517ytRNQv','130596bKQQYy','86069JmcwLS','202854rGoyBp','555440rnbOZf','6vVEoJj','apply','registerCommand','constructor','search','createCommand','45zJaFbR','commandMap','16wKLjhh','106608vyOviq','194765QVcStR','35WgHcnP','271332cjXujL'];a43c=function(){return l;};return a43c();}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x17c))/0x1+parseInt(f(0x180))/0x2*(-parseInt(f(0x182))/0x3)+-parseInt(f(0x175))/0x4*(parseInt(f(0x173))/0x5)+parseInt(f(0x178))/0x6+-parseInt(f(0x185))/0x7*(-parseInt(f(0x184))/0x8)+-parseInt(f(0x181))/0x9*(-parseInt(f(0x17d))/0xa)+-parseInt(f(0x177))/0xb*(parseInt(f(0x174))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x79191));function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x172;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(0x17a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x17e)]()[h(0x176)](h(0x17f))[h(0x17e)]()[h(0x179)](a43a)[h(0x176)](h(0x17f));});a43a();function a43c(){const m=['getAllRegisteredCommands','829800qPqVUw','10KcmAyA','toString','(((.+)+)+)+$','4CrAoAb','7194087xlqPTK','679743LSLyfm','commandMap','986808yUEypD','49JjtCLc','createCommand','26205iWNVYN','18652524YPeyOk','548KFWiwE','search','11AdBqkW','4373838unPciF','constructor','apply'];a43c=function(){return m;};return a43c();}export class CommandFactory{static [a43i(0x183)]={};static['registerCommand'](a,b){const j=a43i;this[j(0x183)][a]=b;}static[a43i(0x172)](a,b){const k=a43i,c=this[k(0x183)][a];if(c)return new c(b);return null;}static[a43i(0x17b)](){const l=a43i;return this[l(0x183)];}}
@@ -1 +1 @@
1
- const a44i=a44d;function a44c(){const o=['legarmor','type','name','21PLFEaI','3445856dmXkMz','createRoom','sword','toString','createPuzzle','addItem','setPuzzle','5150YWdAVg','614454rtkaog','2977800gaWKzv','INSIDE','3372504QEdbIx','search','12TPhMMm','roomType','rifle','1016852VOWUIC','(((.+)+)+)+$','boots','convertToRoomConfig','30WsfqFz','2WZMlza','21942DHhQwW','1064734pilhPa','rewardItem','helmet','book','apply','createItem','toUpperCase','isStartRoom','bodyarmor','inventory','items','puzzle','forEach','content','description'];a44c=function(){return o;};return a44c();}(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0xa6))/0x1+parseInt(f(0xb3))/0x2*(parseInt(f(0xa9))/0x3)+-parseInt(f(0xae))/0x4*(parseInt(f(0xb2))/0x5)+parseInt(f(0xa7))/0x6+parseInt(f(0x9d))/0x7*(-parseInt(f(0x9e))/0x8)+-parseInt(f(0xb4))/0x9*(-parseInt(f(0xa5))/0xa)+parseInt(f(0xb5))/0xb*(parseInt(f(0xab))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xbbf14));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xa1)]()[h(0xaa)](h(0xaf))['toString']()['constructor'](a44a)[h(0xaa)](h(0xaf));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x9c;let f=c[d];return f;},a44d(a,b);}import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0x9f)](a){const j=a44i,b=this[j(0xb1)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[j(0xbf)][j(0xc1)](e=>{const k=j;d[k(0xa3)](this['createItem'](e));}),c[j(0xbe)]=d;}return a[j(0xc0)]&&c[j(0xa4)](this['createPuzzle'](a[j(0xc0)])),c;}[a44i(0xba)](a){const l=a44i;switch(a[l(0xc5)]){case'key':return new Key(a[l(0x9c)],a[l(0xc3)]);case l(0xb8):return new Book(a['name'],a[l(0xc3)],a[l(0xc2)]);case l(0xa0):return new Sword(a[l(0x9c)],a[l(0xc3)]);case l(0xad):return new Rifle(a[l(0x9c)],a[l(0xc3)]);case l(0xb7):return new Helmet(a['name'],a['description']);case l(0xbd):return new BodyArmor(a[l(0x9c)],a[l(0xc3)]);case l(0xc4):return new LegArmor(a[l(0x9c)],a['description']);case l(0xb0):return new Boots(a[l(0x9c)],a[l(0xc3)]);case'gloves':return new Gloves(a[l(0x9c)],a[l(0xc3)]);case'gauntlets':return new Gauntlets(a['name'],a[l(0xc3)]);default:return new BasicItem(a[l(0x9c)],a['description']);}}[a44i(0xa2)](a){const m=a44i,b=this[m(0xba)](a[m(0xb6)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0xb1)](a){const n=a44i,b=a[n(0xac)]&&RoomType[a[n(0xac)][n(0xbb)]()]?RoomType[a[n(0xac)][n(0xbb)]()]:RoomType[n(0xa8)];return{'name':a[n(0x9c)],'description':a[n(0xc3)],'isStartRoom':a[n(0xbc)],'roomType':b};}}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0xde))/0x1*(parseInt(f(0xc0))/0x2)+parseInt(f(0xc7))/0x3*(-parseInt(f(0xc3))/0x4)+-parseInt(f(0xcf))/0x5*(-parseInt(f(0xda))/0x6)+parseInt(f(0xd6))/0x7*(-parseInt(f(0xdb))/0x8)+parseInt(f(0xc6))/0x9+-parseInt(f(0xd7))/0xa+parseInt(f(0xe0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xef848));function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xbf;let f=c[d];return f;},a44d(a,b);}function a44c(){const o=['104qPZZPX','INSIDE','legarmor','14KpUyXI','boots','53529729OkzoOw','forEach','convertToRoomConfig','items','rewardItem','gloves','57926NMgAjn','rifle','search','2440312Tndhbi','inventory','description','6018759gGwzDH','9mgPGSf','helmet','content','createRoom','toUpperCase','sword','createItem','createPuzzle','1242385eiJSzl','setPuzzle','apply','key','constructor','toString','roomType','671923hnSGIW','13189300ShiscT','puzzle','name','6MyZUgJ'];a44c=function(){return o;};return a44c();}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xd1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xd4)]()[h(0xc2)]('(((.+)+)+)+$')[h(0xd4)]()[h(0xd3)](a44a)[h(0xc2)]('(((.+)+)+)+$');});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0xca)](a){const j=a44i,b=this['convertToRoomConfig'](a),c=new Room(b);if(a['items']){const d=new Inventory();a[j(0xe3)][j(0xe1)](e=>{const k=j;d['addItem'](this[k(0xcd)](e));}),c[j(0xc4)]=d;}return a['puzzle']&&c[j(0xd0)](this[j(0xce)](a[j(0xd8)])),c;}[a44i(0xcd)](a){const l=a44i;switch(a['type']){case l(0xd2):return new Key(a['name'],a[l(0xc5)]);case'book':return new Book(a[l(0xd9)],a[l(0xc5)],a[l(0xc9)]);case l(0xcc):return new Sword(a['name'],a['description']);case l(0xc1):return new Rifle(a[l(0xd9)],a['description']);case l(0xc8):return new Helmet(a[l(0xd9)],a[l(0xc5)]);case'bodyarmor':return new BodyArmor(a[l(0xd9)],a[l(0xc5)]);case l(0xdd):return new LegArmor(a[l(0xd9)],a['description']);case l(0xdf):return new Boots(a['name'],a[l(0xc5)]);case l(0xbf):return new Gloves(a[l(0xd9)],a['description']);case'gauntlets':return new Gauntlets(a[l(0xd9)],a['description']);default:return new BasicItem(a[l(0xd9)],a[l(0xc5)]);}}['createPuzzle'](a){const m=a44i,b=this['createItem'](a[m(0xe4)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0xe2)](a){const n=a44i,b=a[n(0xd5)]&&RoomType[a['roomType']['toUpperCase']()]?RoomType[a[n(0xd5)][n(0xcb)]()]:RoomType[n(0xdc)];return{'name':a[n(0xd9)],'description':a[n(0xc5)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x10c))/0x1*(-parseInt(h(0x113))/0x2)+parseInt(h(0x138))/0x3*(-parseInt(h(0x11b))/0x4)+parseInt(h(0x125))/0x5+parseInt(h(0x108))/0x6*(-parseInt(h(0x11d))/0x7)+parseInt(h(0x12d))/0x8*(-parseInt(h(0x124))/0x9)+parseInt(h(0x134))/0xa+parseInt(h(0x11f))/0xb*(parseInt(h(0x119))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xb33e8));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x11a)]()['search'](j(0x107))[j(0x11a)]()[j(0x117)](a45a)[j(0x135)](j(0x107));});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';function a45c(){const s=['toString','6476nQwKdZ','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','36526gAXtQk','name','11BajPOj','trim','currentRoom','instance','clear','199053XMeKNc','1518720uXYObX','handleInput','execute','player','currentLocation','getHelpMessage','determineStartRoom','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','344xmXwaO','rooms','-\x20quit:\x20Exit\x20the\x20game.\x0a','initialize','use','registerCommand','getRooms','13663960DmcYjz','search','say','quit','54dFFkRJ','getDescription','getWelcomeMessage','getInstance','hasOwnProperty','apply','scene','(((.+)+)+)+$','600ueWtPD','Welcome,\x20','lock','getAllRegisteredCommands','11045KXuNdE','take','unequip','maka','-\x20clear:\x20Clear\x20the\x20screen.\x0a','Available\x20Commands:\x0a','registerCommands','24YvxVIn','equip','createCommand','look','constructor','unlock','8382684zHBmqL'];a45c=function(){return s;};return a45c();}import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x106;let f=c[d];return f;},a45d(a,b);}export default class Game{static [a45k(0x122)];['scene'];[a45k(0x128)];[a45k(0x121)];[a45k(0x12e)];constructor(a,b){const l=a45k;this['player']=a,this[l(0x106)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x106)][l(0x130)](),this['player'][l(0x129)]=this[l(0x12b)](),this[l(0x112)]();}[a45k(0x112)](){const m=a45k;CommandFactory[m(0x132)](m(0x116),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0x132)](m(0x10d),TakeCommand),CommandFactory[m(0x132)](m(0x131),UseCommand),CommandFactory[m(0x132)](m(0x114),EquipCommand),CommandFactory[m(0x132)](m(0x10e),UnequipCommand),CommandFactory[m(0x132)]('solve',SolveCommand),CommandFactory[m(0x132)]('drop',DropCommand),CommandFactory[m(0x132)](m(0x118),UnlockCommand),CommandFactory['registerCommand'](m(0x10a),LockCommand),CommandFactory[m(0x132)](m(0x135),SearchCommand),CommandFactory[m(0x132)](m(0x136),SayCommand);}[a45k(0x12b)](){const n=a45k;return this[n(0x106)][n(0x12b)]();}[a45k(0x13a)](){const o=a45k;return o(0x109)+this[o(0x128)][o(0x11e)];}static[a45k(0x13b)](a,b){const p=a45k;return!Game['instance']&&(Game[p(0x122)]=new Game(a,b)),Game['instance'];}[a45k(0x126)](a){const q=a45k,b=a[q(0x120)]()['split']('\x20'),c=b[0x0]['toLowerCase'](),d=b['slice'](0x1);if(c===q(0x137))return null;if(c===q(0x10f))return q(0x12c);if(c==='help')return this[q(0x12a)]();if(c===q(0x123))return'';const e={'actor':this[q(0x128)],'rooms':this[q(0x106)][q(0x133)](),'scene':this['scene']},f=CommandFactory[q(0x115)](c,e);if(f){const g=f[q(0x127)](d);return g;}return q(0x11c)+c+'\x22.';}[a45k(0x12a)](){const r=a45k,a=CommandFactory[r(0x10b)]();let b=r(0x111);for(const c in a){if(a[r(0x13c)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x139)]()+'\x0a';}}return b+=r(0x110),b+=r(0x12f),b;}}
1
+ const a45j=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x14b))/0x1*(-parseInt(h(0x14d))/0x2)+-parseInt(h(0x137))/0x3+parseInt(h(0x155))/0x4*(-parseInt(h(0x148))/0x5)+-parseInt(h(0x15c))/0x6+parseInt(h(0x13f))/0x7*(-parseInt(h(0x130))/0x8)+parseInt(h(0x151))/0x9*(-parseInt(h(0x145))/0xa)+parseInt(h(0x132))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xb8a24));const a45b=(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;};}()),a45a=a45b(this,function(){const i=a45d;return a45a['toString']()[i(0x143)](i(0x12e))[i(0x135)]()[i(0x15d)](a45a)[i(0x143)](i(0x12e));});function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x12c;let f=c[d];return f;},a45d(a,b);}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';function a45c(){const r=['(((.+)+)+)+$','getInstance','2802536BWphcd','getDescription','40436869ZUpOgE','instance','split','toString','determineStartRoom','3507342jLcTCx','quit','use','look','toLowerCase','currentLocation','equip','registerCommands','7sCQDne','registerCommand','solve','unlock','search','player','49630kXkLWD','getAllRegisteredCommands','slice','90005pgUSnu','drop','getHelpMessage','1pjKPcO','name','739958gPYBRs','maka','trim','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','918WsXEcA','createCommand','Welcome,\x20','unequip','8Mfaaui','rooms','initialize','execute','getWelcomeMessage','say','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','2929086iOpxNV','constructor','take','getRooms','scene'];a45c=function(){return r;};return a45c();}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 [a45j(0x133)];[a45j(0x12d)];[a45j(0x144)];['currentRoom'];[a45j(0x156)];constructor(a,b){const k=a45j;this[k(0x144)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this['scene'][k(0x157)](),this[k(0x144)][k(0x13c)]=this[k(0x136)](),this[k(0x13e)]();}[a45j(0x13e)](){const l=a45j;CommandFactory[l(0x140)](l(0x13a),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[l(0x140)](l(0x15e),TakeCommand),CommandFactory[l(0x140)](l(0x139),UseCommand),CommandFactory[l(0x140)](l(0x13d),EquipCommand),CommandFactory[l(0x140)](l(0x154),UnequipCommand),CommandFactory['registerCommand'](l(0x141),SolveCommand),CommandFactory[l(0x140)](l(0x149),DropCommand),CommandFactory['registerCommand'](l(0x142),UnlockCommand),CommandFactory['registerCommand']('lock',LockCommand),CommandFactory['registerCommand'](l(0x143),SearchCommand),CommandFactory['registerCommand'](l(0x15a),SayCommand);}[a45j(0x136)](){const m=a45j;return this['scene'][m(0x136)]();}[a45j(0x159)](){const n=a45j;return n(0x153)+this[n(0x144)][n(0x14c)];}static[a45j(0x12f)](a,b){const o=a45j;return!Game[o(0x133)]&&(Game[o(0x133)]=new Game(a,b)),Game[o(0x133)];}['handleInput'](a){const p=a45j,b=a[p(0x14f)]()[p(0x134)]('\x20'),c=b[0x0][p(0x13b)](),d=b[p(0x147)](0x1);if(c===p(0x138))return null;if(c===p(0x14e))return p(0x150);if(c==='help')return this['getHelpMessage']();if(c==='clear')return'';const e={'actor':this[p(0x144)],'rooms':this[p(0x12d)][p(0x12c)](),'scene':this[p(0x12d)]},f=CommandFactory[p(0x152)](c,e);if(f){const g=f[p(0x158)](d);return g;}return p(0x15b)+c+'\x22.';}[a45j(0x14a)](){const q=a45j,a=CommandFactory[q(0x146)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x131)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x90))/0x1*(parseInt(f(0x8f))/0x2)+parseInt(f(0x92))/0x3*(-parseInt(f(0x8c))/0x4)+-parseInt(f(0x91))/0x5+parseInt(f(0x94))/0x6+-parseInt(f(0x93))/0x7+parseInt(f(0x89))/0x8+-parseInt(f(0x88))/0x9*(-parseInt(f(0x8d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xe27e0));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0x8b)]()['search'](g(0x8a))['toString']()[g(0x87)](a46a)[g(0x8e)](g(0x8a));});a46a();export*from'./door.js';function a46c(){var h=['5881880SglJQF','6OIusIg','12700191Lbraua','670770ygnRVR','constructor','9tduUsz','789816vOxJxE','(((.+)+)+)+$','toString','3126716wBSGjh','43091750RqANee','search','316MCEGFQ','6089IjyRYE'];a46c=function(){return h;};return a46c();}export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x87;var f=c[d];return f;},a46d(a,b);}export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x8f))/0x1*(parseInt(f(0x91))/0x2)+parseInt(f(0x90))/0x3+parseInt(f(0x8a))/0x4+-parseInt(f(0x8d))/0x5+parseInt(f(0x8e))/0x6*(parseInt(f(0x87))/0x7)+parseInt(f(0x86))/0x8*(parseInt(f(0x88))/0x9)+parseInt(f(0x8b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xefa46));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0x89)]()[g(0x8c)]('(((.+)+)+)+$')[g(0x89)]()['constructor'](a46a)[g(0x8c)](g(0x92));});a46a();function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x86;var f=c[d];return f;},a46d(a,b);}export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';function a46c(){var h=['491070LvqNif','(((.+)+)+)+$','6645104ewgwfo','91btqsAP','9UJcodA','toString','4399296Yxoqqf','7956650zSLpDz','search','9700700EIVuUw','207870zdxaIt','2UZFJbr','708816vPATgX'];a46c=function(){return h;};return a46c();}export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a47i=a47d;function a47c(){var n=['unlockItemOrSolution','21708UXMbRc','roomB','isLockable','checkIfLockable','checkIfLocked','4353363YBnYmb','constructor','166749byNIPU','attemptUnlock','7318672TOlHGm','.\x20Is\x20Locked:\x20','125HRqBAz','Door\x20created\x20between\x20','To\x20','6684498SnRlQq','Failed\x20to\x20unlock\x20door:\x20','.\x20Used:\x20','search','\x20and\x20','isLocked','toString','write','name','apply','9VZLVZK','logger','3059703HHipvh','6851490JjqQGj','(((.+)+)+)+$','roomA','2qUxfAh'];a47c=function(){return n;};return a47c();}(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x113))/0x1*(parseInt(f(0x10a))/0x2)+parseInt(f(0x106))/0x3+-parseInt(f(0x10c))/0x4*(-parseInt(f(0xf7))/0x5)+-parseInt(f(0xfa))/0x6+parseInt(f(0x111))/0x7+-parseInt(f(0xf5))/0x8+-parseInt(f(0x104))/0x9*(-parseInt(f(0x107))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x92992));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x103)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x100)]()[h(0xfd)](h(0x108))[h(0x100)]()[h(0x112)](a47a)[h(0xfd)](h(0x108));});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0xf4;var f=c[d];return f;},a47d(a,b);}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x109)];[a47i(0x10d)];['isLocked'];['unlockItemOrSolution'];['name'];[a47i(0x105)];[a47i(0x10e)];constructor(a){var j=a47i;super(),this[j(0x109)]=a[j(0x109)],this['roomB']=a[j(0x10d)],this['isLocked']=a[j(0xff)]||![],this[j(0x10b)]=a[j(0x10b)],this['name']=a[j(0x102)]?capitalCase(a[j(0x102)]):j(0xf9)+a['roomB']['name'],this['logger']=Logger['getInstance'](),this[j(0x10e)]=!!a[j(0x10b)],this[j(0x105)]['write'](j(0xf8)+this['roomA']['name']+j(0xfe)+this[j(0x10d)][j(0x102)]+j(0xf6)+this[j(0xff)]);}['getOtherSide'](a){var k=a47i;return this[k(0x109)]===a?this[k(0x10d)]:this[k(0x109)];}[a47i(0xf4)](a){var l=a47i;if(this[l(0xff)]&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this[l(0xff)]=![],this[l(0x105)][l(0x101)]('Door\x20unlocked:\x20'+this[l(0x102)]+l(0xfc)+a),!![];return this[l(0x105)]['write'](l(0xfb)+this[l(0x102)]+l(0xfc)+a),![];}[a47i(0x110)](){var m=a47i;return this[m(0xff)];}[a47i(0x10f)](){return this['isLockable'];}}
1
+ function a47c(){var o=['12QpxdMb','search','write','getOtherSide','To\x20','1097544itMnbn','unlockItemOrSolution','4WINEzB','isLockable','\x20and\x20','roomA','logger','constructor','Door\x20created\x20between\x20','996809UapqHb','checkIfLocked','245875tXOmIB','30FkVaov','roomB','39808WaMXLn','apply','.\x20Used:\x20','getInstance','19704Njzhxw','(((.+)+)+)+$','Door\x20unlocked:\x20','.\x20Is\x20Locked:\x20','569946wOeNPh','name','965034xBmiuW','isLocked','7LdgCyY'];a47c=function(){return o;};return a47c();}var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0xa7))/0x1*(-parseInt(f(0x93))/0x2)+parseInt(f(0x97))/0x3+parseInt(f(0xa0))/0x4*(parseInt(f(0x90))/0x5)+-parseInt(f(0x9b))/0x6*(parseInt(f(0x9f))/0x7)+parseInt(f(0xa5))/0x8+parseInt(f(0x9d))/0x9+parseInt(f(0x91))/0xa*(-parseInt(f(0x8e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x1b2b0));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a['toString']()[h(0xa1)](h(0x98))['toString']()[h(0x8c)](a47a)['search'](h(0x98));});a47a();import{Logger}from'../utilities/logger.js';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x89;var f=c[d];return f;},a47d(a,b);}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x8a)];[a47i(0x92)];[a47i(0x9e)];['unlockItemOrSolution'];[a47i(0x9c)];['logger'];[a47i(0xa8)];constructor(a){var j=a47i;super(),this['roomA']=a[j(0x8a)],this[j(0x92)]=a[j(0x92)],this[j(0x9e)]=a[j(0x9e)]||![],this[j(0xa6)]=a[j(0xa6)],this['name']=a['name']?capitalCase(a['name']):j(0xa4)+a['roomB'][j(0x9c)],this[j(0x8b)]=Logger[j(0x96)](),this[j(0xa8)]=!!a[j(0xa6)],this[j(0x8b)][j(0xa2)](j(0x8d)+this[j(0x8a)][j(0x9c)]+j(0x89)+this[j(0x92)][j(0x9c)]+j(0x9a)+this[j(0x9e)]);}[a47i(0xa3)](a){var k=a47i;return this['roomA']===a?this[k(0x92)]:this[k(0x8a)];}['attemptUnlock'](a){var l=a47i;if(this['isLocked']&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this[l(0x9e)]=![],this[l(0x8b)][l(0xa2)](l(0x99)+this[l(0x9c)]+l(0x95)+a),!![];return this[l(0x8b)][l(0xa2)]('Failed\x20to\x20unlock\x20door:\x20'+this[l(0x9c)]+l(0x95)+a),![];}[a47i(0x8f)](){var m=a47i;return this[m(0x9e)];}['checkIfLockable'](){var n=a47i;return this[n(0xa8)];}}
@@ -1 +1 @@
1
- const a48i=a48d;function a48c(){const r=['keys','9TqPNoR','constructor','name','118250oOrdGJ','removeItem','getAllItems','addItem','389342owQiXf','items','toString','listItems','\x20from\x20inventory.','930EiJryk','set','14242590FCPNAD','getItem','3VJIGNn','288AzsWrF','values','has','9036qtNNYi','getWeight','1916KUNUIf','logger','.\x20Item\x20not\x20found.','weight','.\x20Exists:\x20','Removed\x20item:\x20','getInstance','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','13735704dZiCwe','\x20in\x20','Checked\x20for\x20item:\x20','apply','write','toLowerCase','14469JUUBNk','join','Added\x20item:\x20','(((.+)+)+)+$','hasItem','28523cnzHFT'];a48c=function(){return r;};return a48c();}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x17a))/0x1*(parseInt(f(0x171))/0x2)+parseInt(f(0x176))/0x3*(-parseInt(f(0x155))/0x4)+-parseInt(f(0x16d))/0x5*(parseInt(f(0x17b))/0x6)+parseInt(f(0x163))/0x7+parseInt(f(0x15d))/0x8*(-parseInt(f(0x16a))/0x9)+parseInt(f(0x178))/0xa+parseInt(f(0x168))/0xb*(parseInt(f(0x153))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xeaea7));function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x152;let f=c[d];return f;},a48d(a,b);}const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x160)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a['toString']()['search'](h(0x166))[h(0x173)]()[h(0x16b)](a48a)['search'](h(0x166));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0x172)];['logger'];constructor(){const j=a48i;super(),this[j(0x172)]=new Map(),this['logger']=Logger[j(0x15b)]();}[a48i(0x170)](a){const k=a48i;this[k(0x172)][k(0x177)](a[k(0x16c)]['toLowerCase'](),a),this[k(0x156)][k(0x161)](k(0x165)+a[k(0x16c)]+'\x20to\x20inventory.');}[a48i(0x16e)](a){const l=a48i,b=this[l(0x179)](a);if(b)return this[l(0x172)]['delete'](a['toLowerCase']()),this[l(0x156)][l(0x161)](l(0x15a)+a+l(0x175)),b;return this[l(0x156)][l(0x161)]('Failed\x20to\x20remove\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),null;}[a48i(0x167)](a){const m=a48i,b=this[m(0x172)][m(0x152)](a[m(0x162)]()),c=[...this[m(0x172)][m(0x169)]()];return this[m(0x156)][m(0x161)](m(0x15f)+a+m(0x15e)+c[m(0x164)](',\x20')+m(0x159)+b+'.'),b;}[a48i(0x179)](a){const n=a48i,b=this[n(0x172)]['get'](a[n(0x162)]())||null;return b?this[n(0x156)][n(0x161)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0x156)][n(0x161)](n(0x15c)+a+n(0x157)),b;}[a48i(0x174)](){const o=a48i,a=[...this[o(0x172)][o(0x169)]()],b=a['map'](c=>capitalCase(c));return this[o(0x156)][o(0x161)]('Listed\x20items\x20in\x20inventory:\x20'+b[o(0x164)](',\x20')+'.'),a;}[a48i(0x154)](){const p=a48i;let a=0x0;for(const b of this[p(0x172)][p(0x17c)]()){a+=b[p(0x158)];}return a;}[a48i(0x16f)](){const q=a48i;return[...this[q(0x172)]['values']()];}}
1
+ const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0xb4))/0x1+-parseInt(f(0xb6))/0x2*(-parseInt(f(0xb8))/0x3)+-parseInt(f(0x9b))/0x4*(parseInt(f(0xbb))/0x5)+parseInt(f(0xaa))/0x6+-parseInt(f(0xa3))/0x7*(-parseInt(f(0xaf))/0x8)+-parseInt(f(0xac))/0x9*(-parseInt(f(0xb3))/0xa)+parseInt(f(0xb9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xd8cce));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0xbe)]()[h(0x9a)](h(0xa6))[h(0xbe)]()[h(0xb2)](a48a)['search']('(((.+)+)+)+$');});function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x99;let f=c[d];return f;},a48d(a,b);}a48a();import{capitalCase}from'change-case';function a48c(){const r=['constructor','20DsHZdK','618988QoyiRV','listItems','2472316OAZFsE','write','3jmkupx','872245QnLqvX','Checked\x20for\x20item:\x20','768290hyoeOS','has','Removed\x20item:\x20','toString','apply','join','logger','search','32nBEMVB','hasItem','getInstance','\x20in\x20','getAllItems','weight','keys','.\x20Item\x20not\x20found.','140Azizra','toLowerCase','name','(((.+)+)+)+$','map','items','getItem','2845866CyDQke','\x20from\x20inventory.','655119Cuuvry','.\x20Exists:\x20','getWeight','320368vvAjxx','values','removeItem'];a48c=function(){return r;};return a48c();}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0xa8)];[a48i(0x99)];constructor(){const j=a48i;super(),this[j(0xa8)]=new Map(),this[j(0x99)]=Logger[j(0x9d)]();}['addItem'](a){const k=a48i;this['items']['set'](a[k(0xa5)]['toLowerCase'](),a),this[k(0x99)][k(0xb7)]('Added\x20item:\x20'+a[k(0xa5)]+'\x20to\x20inventory.');}[a48i(0xb1)](a){const l=a48i,b=this[l(0xa9)](a);if(b)return this[l(0xa8)]['delete'](a[l(0xa4)]()),this[l(0x99)]['write'](l(0xbd)+a+l(0xab)),b;return this[l(0x99)]['write']('Failed\x20to\x20remove\x20item:\x20'+a+l(0xa2)),null;}[a48i(0x9c)](a){const m=a48i,b=this[m(0xa8)][m(0xbc)](a[m(0xa4)]()),c=[...this[m(0xa8)][m(0xa1)]()];return this['logger'][m(0xb7)](m(0xba)+a+m(0x9e)+c[m(0xc0)](',\x20')+m(0xad)+b+'.'),b;}[a48i(0xa9)](a){const n=a48i,b=this[n(0xa8)]['get'](a[n(0xa4)]())||null;return b?this[n(0x99)]['write']('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this['logger'][n(0xb7)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+n(0xa2)),b;}[a48i(0xb5)](){const o=a48i,a=[...this[o(0xa8)][o(0xa1)]()],b=a[o(0xa7)](c=>capitalCase(c));return this[o(0x99)]['write']('Listed\x20items\x20in\x20inventory:\x20'+b[o(0xc0)](',\x20')+'.'),a;}[a48i(0xae)](){const p=a48i;let a=0x0;for(const b of this[p(0xa8)][p(0xb0)]()){a+=b[p(0xa0)];}return a;}[a48i(0x9f)](){const q=a48i;return[...this['items'][q(0xb0)]()];}}
@@ -1 +1 @@
1
- function a49c(){var l=['category','toString','1272hxgxXr','10577LklYVT','.\x20Nothing\x20special\x20happens.','texture','14330dcAycz','rating','694360ZkbMjz','apply','1159125TfoEEL','3386908sVxopz','color','(((.+)+)+)+$','2528xChPuV','name','size','9063NaCmVp','uuid','857614dvexih','You\x20use\x20the\x20','shape','39230sYYlDh','weight','description','use','search'];a49c=function(){return l;};return a49c();}var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x120))/0x1+-parseInt(f(0x12b))/0x2+-parseInt(f(0x122))/0x3+-parseInt(f(0x123))/0x4+parseInt(f(0x11e))/0x5*(-parseInt(f(0x135))/0x6)+-parseInt(f(0x136))/0x7*(parseInt(f(0x126))/0x8)+parseInt(f(0x129))/0x9*(parseInt(f(0x12e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x7c4c4));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x134)]()[h(0x132)](h(0x125))['toString']()['constructor'](a49a)[h(0x132)](h(0x125));});function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x11e;var f=c[d];return f;},a49d(a,b);}a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x12a)];[a49i(0x127)];[a49i(0x130)];[a49i(0x128)];[a49i(0x133)];[a49i(0x12d)];[a49i(0x124)];['texture'];[a49i(0x11f)];[a49i(0x12f)];constructor(a){var j=a49i;super(),this[j(0x127)]=a[j(0x127)],this[j(0x130)]=a[j(0x130)],this[j(0x128)]=a[j(0x128)],this[j(0x133)]=a[j(0x133)],this[j(0x12d)]=a[j(0x12d)],this[j(0x124)]=a[j(0x124)],this[j(0x138)]=a[j(0x138)],this['rating']=a[j(0x11f)],this[j(0x12f)]=a[j(0x12f)],this['uuid']=a49e();}[a49i(0x131)](){var k=a49i;return k(0x12c)+this['name']+k(0x137);}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x13e))/0x1+-parseInt(f(0x12d))/0x2*(-parseInt(f(0x13a))/0x3)+-parseInt(f(0x13f))/0x4+-parseInt(f(0x137))/0x5*(-parseInt(f(0x131))/0x6)+parseInt(f(0x134))/0x7+parseInt(f(0x135))/0x8*(parseInt(f(0x12e))/0x9)+-parseInt(f(0x132))/0xa*(parseInt(f(0x142))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xc9466));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x12d;var f=c[d];return f;},a49d(a,b);}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x136)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x138)]()[h(0x144)](h(0x147))[h(0x138)]()[h(0x139)](a49a)[h(0x144)](h(0x147));});function a49c(){var l=['use','(((.+)+)+)+$','shape','rating','2eQapsm','9rxFbPr','description','category','1526208uIEEHW','2537700mSqPJX','.\x20Nothing\x20special\x20happens.','3892742gnLQBO','8145384QmCoEB','apply','10xAdhwE','toString','constructor','3995769KbvYif','uuid','texture','name','1252789baSGTm','3192260uIPIfM','You\x20use\x20the\x20','weight','132tVvfAs','color','search','size'];a49c=function(){return l;};return a49c();}a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];[a49i(0x13d)];[a49i(0x12f)];['size'];['category'];[a49i(0x148)];[a49i(0x143)];[a49i(0x13c)];[a49i(0x149)];[a49i(0x141)];constructor(a){var j=a49i;super(),this[j(0x13d)]=a[j(0x13d)],this[j(0x12f)]=a[j(0x12f)],this[j(0x145)]=a[j(0x145)],this[j(0x130)]=a[j(0x130)],this[j(0x148)]=a[j(0x148)],this[j(0x143)]=a['color'],this[j(0x13c)]=a[j(0x13c)],this['rating']=a['rating'],this['weight']=a[j(0x141)],this[j(0x13b)]=a49e();}[a49i(0x146)](){var k=a49i;return k(0x140)+this[k(0x13d)]+k(0x133);}}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0xea))/0x1+parseInt(f(0xf2))/0x2+parseInt(f(0xe8))/0x3+-parseInt(f(0xf1))/0x4*(-parseInt(f(0xf7))/0x5)+-parseInt(f(0xeb))/0x6*(parseInt(f(0xf3))/0x7)+parseInt(f(0x100))/0x8*(parseInt(f(0xfa))/0x9)+parseInt(f(0xef))/0xa*(-parseInt(f(0xf5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x1c4c7));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0xf9)]()[h(0xfc)](h(0xee))[h(0xf9)]()[h(0xf8)](a50a)[h(0xfc)](h(0xee));});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a50i(0xff)];[a50i(0xec)];[a50i(0xed)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0xfd)]=a,this[j(0xff)]=b,this[j(0xec)]=c;}get[a50i(0x102)](){return this['_name'];}[a50i(0xf4)](){const k=a50i;return this[k(0xff)][Math['floor'](Math[k(0x101)]()*this[k(0xff)]['length'])];}['autonomousMove'](a){const l=a50i,b=a[Math[l(0xfb)](Math[l(0x101)]()*a[l(0xf6)])];this[l(0xfe)](b['name']);}['moveTo'](a){const m=a50i,b={'actor':this,'rooms':this['rooms'],'scene':this['scene']},c=new GoCommand(b);c[m(0xe9)]([a]);}}function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xe8;let f=c[d];return f;},a50d(a,b);}function a50c(){const n=['7464dGDzwb','rooms','scene','(((.+)+)+)+$','19420cVJzgk','apply','8cFmGoc','296504EPpNIm','28yBMJHP','speak','1628alTbgb','length','295055hKYKCQ','constructor','toString','83610WFwdsF','floor','search','_name','moveTo','_dialogue','40yWMHBd','random','name','485598kAgJwM','execute','66287EAGGAg'];a50c=function(){return n;};return a50c();}
1
+ const a50h=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x15f))/0x1*(-parseInt(f(0x15e))/0x2)+parseInt(f(0x168))/0x3*(parseInt(f(0x169))/0x4)+parseInt(f(0x170))/0x5*(-parseInt(f(0x162))/0x6)+parseInt(f(0x163))/0x7*(parseInt(f(0x166))/0x8)+-parseInt(f(0x172))/0x9*(parseInt(f(0x16e))/0xa)+parseInt(f(0x173))/0xb+parseInt(f(0x16b))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x30a67));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const g=a50d;return a50a['toString']()[g(0x174)](g(0x15a))[g(0x164)]()[g(0x161)](a50a)[g(0x174)](g(0x15a));});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a50h(0x15d)];[a50h(0x171)];[a50h(0x16d)];constructor(a,b,c,d){const i=a50h;super(d),this[i(0x15b)]=a,this['_dialogue']=b,this[i(0x171)]=c;}get[a50h(0x16c)](){const j=a50h;return this[j(0x15b)];}[a50h(0x16a)](){const k=a50h;return this[k(0x15d)][Math[k(0x160)](Math[k(0x167)]()*this[k(0x15d)]['length'])];}[a50h(0x165)](a){const l=a50h,b=a[Math[l(0x160)](Math[l(0x167)]()*a[l(0x15c)])];this[l(0x16f)](b[l(0x16c)]);}[a50h(0x16f)](a){const m=a50h,b={'actor':this,'rooms':this['rooms'],'scene':this[m(0x16d)]},c=new GoCommand(b);c['execute']([a]);}}function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x15a;let f=c[d];return f;},a50d(a,b);}function a50c(){const n=['autonomousMove','8ArfkrG','random','27735iXuYXI','128CHcMDV','speak','1487160UFUdRc','name','scene','839870qBAUGk','moveTo','2105zhwnsy','rooms','27jgqoWm','1521377ZxaOcR','search','(((.+)+)+)+$','_name','length','_dialogue','15626IayzVC','5hBbUXu','floor','constructor','3642CsmpYP','767459ufycKF','toString'];a50c=function(){return n;};return a50c();}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x1d6))/0x1*(-parseInt(f(0x1c2))/0x2)+-parseInt(f(0x1ac))/0x3*(parseInt(f(0x1ce))/0x4)+-parseInt(f(0x1f7))/0x5*(parseInt(f(0x1d2))/0x6)+parseInt(f(0x1c8))/0x7*(-parseInt(f(0x208))/0x8)+-parseInt(f(0x1c4))/0x9+parseInt(f(0x1ed))/0xa+parseInt(f(0x1f0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x39e16));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x1e5)]()[h(0x202)](h(0x1d7))[h(0x1e5)]()['constructor'](a51a)[h(0x202)](h(0x1d7));});a51a();import{camelCase}from'change-case';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1ac;let f=c[d];return f;},a51d(a,b);}import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a51c(){const C=['currentLocation','shield','BodyArmor','log','currentWeight','toString','bind','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','You\x20don\x27t\x20have\x20','boots','canEquip','body\x20armor','_maxCarryingWeight','1527300LKmuLH','\x20in\x20your\x20inventory.','error','13107952InyEXW','apply','unequip','addInventory','legarmor','You\x20unequipped\x20','Failed\x20to\x20remove\x20','63025lYTJiJ','includes','legs','A\x20featureless\x20room','Hat','bodyarmor','rightHand','inventoryItems','\x20from\x20player\x27s\x20inventory.','LegArmor','leftHand','search','You\x20equipped\x20','equipment','Weapon','initialEquipment','speak','245096DjgHSG','485097PLncfC','category','unequipBySlot','enterRoom','off','_inventory','head','weapon','\x20says:\x20\x22','\x20to\x20player\x27s\x20inventory.','torso','write','logger','weight','armarmor','playerName','hasItem','.\x20You\x20must\x20unequip\x20it\x20first.','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','Boots','determineEquipmentSlot','hear','482MnzQtZ','_playerName','4221954lqWNbI','equip','removeItem','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','7ZpInkz','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','_equipment','addItem','name','maxCarryingWeight','4KevosR','gloves','\x20is\x20no\x20longer\x20listeng\x20in\x20','hat','138ybYVZX','leaveRoom','getWeight','_currentLocation','647bFFPHm','(((.+)+)+)+$','getInstance','toLowerCase','You\x20can\x27t\x20equip\x20','startLocation','arms','Shield','feet','Max\x20carrying\x20weight\x20must\x20be\x20positive.'];a51c=function(){return C;};return a51c();}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0x1c3)];[a51i(0x1d5)];[a51i(0x1b1)];[a51i(0x1ca)];[a51i(0x1ec)]=0x32;[a51i(0x1b8)];constructor(a){const j=a51i;super(),this[j(0x1c3)]=a[j(0x1bb)],this[j(0x1d5)]=a[j(0x1db)]||new Room({'name':'Nexus','description':j(0x1fa)}),this[j(0x1b1)]=new Inventory(),this[j(0x1b8)]=Logger[j(0x1d8)]();if(a?.[j(0x1fe)])for(const b of a[j(0x1fe)]){this[j(0x1b1)][j(0x1cb)](b);}this['_equipment']=a?.[j(0x206)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x1cc)](){const k=a51i;return this[k(0x1c3)];}get[a51i(0x1e0)](){return this['_currentLocation'];}set['currentLocation'](a){const l=a51i;this['_currentLocation']!==a&&(this[l(0x1d3)](),this[l(0x1af)](a)),this[l(0x1d5)]=a;}get['inventory'](){const m=a51i;return this[m(0x1b1)];}get[a51i(0x204)](){const n=a51i;return this[n(0x1ca)];}set[a51i(0x204)](a){const o=a51i;this[o(0x1ca)]=a;}get[a51i(0x1cd)](){const p=a51i;return this[p(0x1ec)];}set[a51i(0x1cd)](a){const q=a51i;a>0x0?this[q(0x1ec)]=a:console[q(0x1ef)](q(0x1df));}get[a51i(0x1e4)](){const r=a51i;let a=this['_inventory'][r(0x1d4)]();for(const b in this[r(0x1ca)]){const c=this['_equipment'][b];c&&(a+=c[r(0x1b9)]);}return a;}[a51i(0x1f3)](a){const s=a51i;if(this['currentWeight']+a['weight']>this[s(0x1cd)]){this[s(0x1b8)]['write'](s(0x1be));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[s(0x1b1)][s(0x1cb)](a),this[s(0x1b8)][s(0x1b7)]('Added\x20'+a[s(0x1cc)]+s(0x1b5));}['removeInventory'](a){const t=a51i;if(this['_inventory'][t(0x1c6)](a[t(0x1cc)]))return this[t(0x1b8)]['write']('Removed\x20'+a[t(0x1cc)]+t(0x1ff)),!![];return this[t(0x1b8)][t(0x1b7)](t(0x1f6)+a['name']+'\x20from\x20player\x27s\x20inventory.'),![];}[a51i(0x1c5)](a){const u=a51i;if(!this[u(0x1b1)][u(0x1bc)](a[u(0x1cc)]))return u(0x1e8)+a[u(0x1cc)]+u(0x1ee);if(!this['canEquip'](a))return u(0x1da)+a[u(0x1cc)]+'.';const b=this[u(0x1c0)](a[u(0x1ad)]);if(!b)return a[u(0x1cc)]+u(0x1c9);if(this[u(0x204)][b])return u(0x1e7)+b+u(0x1bd);return this['equipment'][b]=a,this['removeInventory'](a),u(0x203)+a[u(0x1cc)]+'.';}[a51i(0x1f2)](a){const v=a51i;let b=a;if(!this[v(0x204)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[v(0x1ae)](b);}[a51i(0x1c0)](a){const w=a51i;switch(a[w(0x1d9)]()){case Category[w(0x205)]['toLowerCase']():return w(0x1fd);case Category[w(0x1dd)]['toLowerCase']():return w(0x201);case Category['Gloves'][w(0x1d9)]():return w(0x1cf);case Category['Helmet'][w(0x1d9)]():case Category[w(0x1fb)][w(0x1d9)]():return w(0x1b2);case Category[w(0x1bf)][w(0x1d9)]():return w(0x1de);case Category[w(0x200)][w(0x1d9)]():return w(0x1f9);case Category['ArmArmor']['toLowerCase']():return w(0x1dc);case Category[w(0x1e2)][w(0x1d9)]():return'torso';case w(0x1b3):return'rightHand';case w(0x1e1):return w(0x201);case'gloves':return w(0x1cf);case'helmet':case w(0x1d1):return w(0x1b2);case w(0x1e9):return w(0x1de);case'leg\x20armor':case w(0x1f4):return w(0x1f9);case'arm\x20armor':case w(0x1ba):return w(0x1dc);case w(0x1eb):case w(0x1fc):case w(0x1b6):return w(0x1b6);default:return null;}}[a51i(0x1ea)](a){const x=a51i;return Object['values'](Category)[x(0x1f8)](a[x(0x1ad)]);}[a51i(0x1ae)](a){const y=a51i,b=this['equipment'][a];if(!b)return y(0x1c7)+a+'\x20slot.';return this[y(0x1f3)](b),this[y(0x204)][a]=null,y(0x1f5)+b[y(0x1cc)]+'.';}[a51i(0x1c1)](a,b){const z=a51i;a!==this&&this[z(0x1b8)][z(0x1e3)](a[z(0x1cc)]+z(0x1b4)+b+'\x22');}[a51i(0x1af)](a){const A=a51i;this[A(0x1d5)]=a,a['on'](A(0x207),this[A(0x1c1)][A(0x1e6)](this)),this['logger'][A(0x1b7)](this['name']+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[A(0x1cc)]);}['leaveRoom'](){const B=a51i;this[B(0x1d5)]&&(this['_currentLocation'][B(0x1b0)](B(0x207),this[B(0x1c1)][B(0x1e6)](this)),this[B(0x1b8)][B(0x1b7)](this[B(0x1cc)]+B(0x1d0)+this[B(0x1d5)][B(0x1cc)]));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x132))/0x1+parseInt(f(0x186))/0x2*(-parseInt(f(0x139))/0x3)+-parseInt(f(0x149))/0x4+-parseInt(f(0x174))/0x5+-parseInt(f(0x179))/0x6*(parseInt(f(0x180))/0x7)+parseInt(f(0x183))/0x8+parseInt(f(0x13f))/0x9*(parseInt(f(0x144))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x1f4da));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x12f)]()[h(0x14e)](h(0x143))['toString']()['constructor'](a51a)[h(0x14e)]('(((.+)+)+)+$');});a51a();import{camelCase}from'change-case';function a51c(){const C=['log','canEquip','928445HcQWpV','_equipment','toLowerCase','gloves','body\x20armor','384WXsWjc','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','Hat','includes','shield','currentWeight','20678XGvQIr','legarmor','inventoryItems','1471464SKORBq','apply','\x20in\x20your\x20inventory.','2WMdleX','enterRoom','leftHand','Helmet','Shield','\x20to\x20player\x27s\x20inventory.','toString','hasItem','\x20is\x20no\x20longer\x20listeng\x20in\x20','95348lXzUIm','BodyArmor','logger','write','_maxCarryingWeight','_inventory','ArmArmor','230502nrLBLk','head','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','determineEquipmentSlot','boots','unequipBySlot','64683rFJPRD','equipment','.\x20You\x20must\x20unequip\x20it\x20first.','armarmor','(((.+)+)+)+$','820vxOGzO','currentLocation','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','removeInventory','hear','392488VXISUd','legs','getWeight','hat','rightHand','search','playerName','addItem','_currentLocation','maxCarryingWeight','feet','name','Added\x20','speak','torso','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','\x20slot.','arms','\x20from\x20player\x27s\x20inventory.','A\x20featureless\x20room','equip','inventory','values','arm\x20armor','error','unequip','_playerName','addInventory','bind','Weapon','category','leaveRoom','You\x20unequipped\x20','Nexus','helmet','off','LegArmor','Failed\x20to\x20remove\x20','bodyarmor','weight','Gloves'];a51c=function(){return C;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x12e;let f=c[d];return f;},a51d(a,b);}import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0x163)];[a51i(0x151)];[a51i(0x137)];[a51i(0x175)];[a51i(0x136)]=0x32;['logger'];constructor(a){const j=a51i;super(),this[j(0x163)]=a[j(0x14f)],this[j(0x151)]=a['startLocation']||new Room({'name':j(0x16a),'description':j(0x15c)}),this['_inventory']=new Inventory(),this['logger']=Logger['getInstance']();if(a?.[j(0x182)])for(const b of a[j(0x182)]){this[j(0x137)][j(0x150)](b);}this[j(0x175)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x154)](){const k=a51i;return this[k(0x163)];}get[a51i(0x145)](){const l=a51i;return this[l(0x151)];}set[a51i(0x145)](a){const m=a51i;this['_currentLocation']!==a&&(this[m(0x168)](),this[m(0x187)](a)),this[m(0x151)]=a;}get[a51i(0x15e)](){const n=a51i;return this[n(0x137)];}get[a51i(0x140)](){const o=a51i;return this[o(0x175)];}set['equipment'](a){const p=a51i;this[p(0x175)]=a;}get[a51i(0x152)](){return this['_maxCarryingWeight'];}set['maxCarryingWeight'](a){const q=a51i;a>0x0?this[q(0x136)]=a:console[q(0x161)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a51i(0x17f)](){const r=a51i;let a=this[r(0x137)][r(0x14b)]();for(const b in this[r(0x175)]){const c=this[r(0x175)][b];c&&(a+=c[r(0x170)]);}return a;}[a51i(0x164)](a){const s=a51i;if(this['currentWeight']+a['weight']>this[s(0x152)]){this[s(0x134)]['write'](s(0x17b));throw new Error(s(0x158));}this[s(0x137)][s(0x150)](a),this['logger'][s(0x135)](s(0x155)+a[s(0x154)]+s(0x12e));}[a51i(0x147)](a){const t=a51i;if(this[t(0x137)]['removeItem'](a['name']))return this[t(0x134)]['write']('Removed\x20'+a[t(0x154)]+t(0x15b)),!![];return this[t(0x134)][t(0x135)](t(0x16e)+a[t(0x154)]+t(0x15b)),![];}[a51i(0x15d)](a){const u=a51i;if(!this['_inventory'][u(0x130)](a[u(0x154)]))return'You\x20don\x27t\x20have\x20'+a[u(0x154)]+u(0x185);if(!this['canEquip'](a))return'You\x20can\x27t\x20equip\x20'+a[u(0x154)]+'.';const b=this[u(0x13c)](a[u(0x167)]);if(!b)return a[u(0x154)]+u(0x13b);if(this[u(0x140)][b])return u(0x146)+b+u(0x141);return this[u(0x140)][b]=a,this[u(0x147)](a),'You\x20equipped\x20'+a[u(0x154)]+'.';}[a51i(0x162)](a){const v=a51i;let b=a;if(!this[v(0x140)][camelCase(b)]){b=this[v(0x13c)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[v(0x13e)](b);}[a51i(0x13c)](a){const w=a51i;switch(a[w(0x176)]()){case Category[w(0x166)][w(0x176)]():return w(0x14d);case Category[w(0x18a)][w(0x176)]():return w(0x188);case Category[w(0x171)][w(0x176)]():return w(0x177);case Category[w(0x189)][w(0x176)]():case Category[w(0x17c)][w(0x176)]():return w(0x13a);case Category['Boots'][w(0x176)]():return w(0x153);case Category[w(0x16d)][w(0x176)]():return w(0x14a);case Category[w(0x138)]['toLowerCase']():return w(0x15a);case Category[w(0x133)][w(0x176)]():return w(0x157);case'weapon':return w(0x14d);case w(0x17e):return w(0x188);case w(0x177):return w(0x177);case w(0x16b):case w(0x14c):return w(0x13a);case w(0x13d):return w(0x153);case'leg\x20armor':case w(0x181):return w(0x14a);case w(0x160):case w(0x142):return w(0x15a);case w(0x178):case w(0x16f):case w(0x157):return w(0x157);default:return null;}}[a51i(0x173)](a){const x=a51i;return Object[x(0x15f)](Category)[x(0x17d)](a[x(0x167)]);}['unequipBySlot'](a){const y=a51i,b=this[y(0x140)][a];if(!b)return y(0x17a)+a+y(0x159);return this[y(0x164)](b),this[y(0x140)][a]=null,y(0x169)+b[y(0x154)]+'.';}[a51i(0x148)](a,b){const z=a51i;a!==this&&this[z(0x134)][z(0x172)](a[z(0x154)]+'\x20says:\x20\x22'+b+'\x22');}[a51i(0x187)](a){const A=a51i;this[A(0x151)]=a,a['on'](A(0x156),this['hear'][A(0x165)](this)),this['logger'][A(0x135)](this[A(0x154)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[A(0x154)]);}[a51i(0x168)](){const B=a51i;this[B(0x151)]&&(this['_currentLocation'][B(0x16c)]('speak',this[B(0x148)][B(0x165)](this)),this[B(0x134)][B(0x135)](this['name']+B(0x131)+this[B(0x151)][B(0x154)]));}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x8d))/0x1*(-parseInt(f(0x85))/0x2)+parseInt(f(0x84))/0x3+-parseInt(f(0x8c))/0x4*(-parseInt(f(0x91))/0x5)+-parseInt(f(0x8e))/0x6*(parseInt(f(0x97))/0x7)+-parseInt(f(0x9e))/0x8+-parseInt(f(0x92))/0x9+parseInt(f(0x9c))/0xa*(parseInt(f(0x99))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xe16ec));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x94)]()[h(0x8b)](h(0x96))[h(0x94)]()[h(0xa0)](a52a)[h(0x8b)](h(0x96));});function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x83;var f=c[d];return f;},a52d(a,b);}a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a52c(){var n=['896863dKsjRi','write','You\x20solved\x20the\x20puzzle!','230Qzzcxy','hasItem','10962728ssrlHM','requiredItem','constructor','failureMessage','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','Puzzle:\x20Correct\x20solution\x20provided.','logger','3303897JodPAq','386956HeawWQ','matchesRequiredPhrase','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','riddle','rewardItem','successMessage','search','32obijNY','1rYIYBt','19728OqNsnu','solve','requiredPhrase','657535IXdaMf','881919DMftfV','solved','toString','apply','(((.+)+)+)+$','3073IfAbCS','hasRequiredItem'];a52c=function(){return n;};return a52c();}export class Puzzle extends AbstractPuzzle{[a52i(0x83)]=Logger['getInstance']();[a52i(0x93)]=![];['requiredItem'];[a52i(0x90)];[a52i(0x88)];[a52i(0x89)];['successMessage'];[a52i(0xa1)];constructor(a){var j=a52i;super(),this[j(0x9f)]=a['requiredItem'],this[j(0x90)]=a[j(0x90)],this['riddle']=a[j(0x88)],this['rewardItem']=a[j(0x89)],this[j(0x8a)]=a[j(0x8a)]||j(0x9b),this[j(0xa1)]=a[j(0xa1)]||j(0x87);}[a52i(0x98)](a){var k=a52i;if(this['requiredItem'])return a[k(0x9d)](this[k(0x9f)]);return![];}[a52i(0x86)](a){var l=a52i;return this[l(0x90)]===a;}[a52i(0x8f)](a,b){var m=a52i;if(this['solved'])return this[m(0x83)][m(0x9a)](m(0xa3)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this['hasRequiredItem'](b)||this[m(0x86)](a)?(this[m(0x93)]=!![],this[m(0x83)][m(0x9a)](m(0xa4)),{'success':!![],'message':this[m(0x8a)]}):(this[m(0x83)][m(0x9a)](m(0xa2)),{'success':![],'message':this[m(0xa1)]});}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1b4))/0x1+parseInt(f(0x1c2))/0x2+-parseInt(f(0x1bc))/0x3*(-parseInt(f(0x1b8))/0x4)+parseInt(f(0x1ac))/0x5*(parseInt(f(0x1b5))/0x6)+-parseInt(f(0x1b0))/0x7*(parseInt(f(0x1c4))/0x8)+parseInt(f(0x1be))/0x9+parseInt(f(0x1a9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x99dd3));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()['search'](h(0x1b3))[h(0x1ba)]()[h(0x1b6)](a52a)[h(0x1c0)](h(0x1b3));});function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1a7;var f=c[d];return f;},a52d(a,b);}a52a();function a52c(){var m=['logger','3686415jynlYI','requiredItem','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','requiredPhrase','7XDHttu','matchesRequiredPhrase','solved','(((.+)+)+)+$','750629AUAnec','6XIaNcy','constructor','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','4wiCasi','write','toString','successMessage','500613VViCJh','rewardItem','1406565BCtrSa','Puzzle:\x20Correct\x20solution\x20provided.','search','failureMessage','1078208ISghnU','hasRequiredItem','5924488egMetd','solve','apply','5218740VwNdXY','riddle'];a52c=function(){return m;};return a52c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x1ab)]=Logger['getInstance']();[a52i(0x1b2)]=![];[a52i(0x1ad)];[a52i(0x1af)];[a52i(0x1aa)];[a52i(0x1bd)];[a52i(0x1bb)];[a52i(0x1c1)];constructor(a){var j=a52i;super(),this['requiredItem']=a[j(0x1ad)],this[j(0x1af)]=a[j(0x1af)],this[j(0x1aa)]=a['riddle'],this[j(0x1bd)]=a[j(0x1bd)],this[j(0x1bb)]=a[j(0x1bb)]||'You\x20solved\x20the\x20puzzle!',this['failureMessage']=a[j(0x1c1)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a52i(0x1c3)](a){if(this['requiredItem'])return a['hasItem'](this['requiredItem']);return![];}[a52i(0x1b1)](a){var k=a52i;return this[k(0x1af)]===a;}[a52i(0x1a7)](a,b){var l=a52i;if(this[l(0x1b2)])return this[l(0x1ab)][l(0x1b9)](l(0x1ae)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[l(0x1c3)](b)||this[l(0x1b1)](a)?(this[l(0x1b2)]=!![],this[l(0x1ab)]['write'](l(0x1bf)),{'success':!![],'message':this[l(0x1bb)]}):(this[l(0x1ab)][l(0x1b9)](l(0x1b7)),{'success':![],'message':this[l(0x1c1)]});}}
@@ -1 +1 @@
1
- const a53i=a53d;function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x185;let f=c[d];return f;},a53d(a,b);}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x198))/0x1*(-parseInt(f(0x1bb))/0x2)+-parseInt(f(0x1c1))/0x3*(parseInt(f(0x1b9))/0x4)+parseInt(f(0x18d))/0x5+-parseInt(f(0x1b5))/0x6+parseInt(f(0x1ab))/0x7*(-parseInt(f(0x1a2))/0x8)+parseInt(f(0x1ad))/0x9+parseInt(f(0x186))/0xa*(parseInt(f(0x1a9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x52502));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x1a4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x1ae)]()[h(0x188)](h(0x1c7))[h(0x1ae)]()['constructor'](a53a)[h(0x188)]('(((.+)+)+)+$');});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a53c(){const u=['3845439jWCnsJ','toString','getInstance','NORTH','\x20unlocked!','east','name','logger','2120064tmCyNL','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','emit','roomA','69856rOQMsF','riddle','18JDaMuu','EAST','isStartRoom','roomB','INSIDE','The\x20','15ZrdlpG','write','roomType','down','Item\x20added\x20to\x20room\x20','set','(((.+)+)+)+$','findExistingDoor','4538950VcJRqm','say','search','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','north','.\x20Success:\x20','addItem','1352385hUTyNC','\x20remains\x20locked.','getOppositeDirection','WEST','Puzzle\x20set\x20for\x20room\x20','hasItem','addExit','Room\x20created:\x20','Item\x20removed\x20from\x20room\x20','puzzle','south','69639zkPuTf','values','west','Checking\x20if\x20exit\x20in\x20direction\x20','inventory','removeItem','Fetching\x20exit\x20in\x20direction:\x20','get','No\x20locked\x20exit\x20found\x20in\x20direction\x20','exits','336fuTPdB','\x20is\x20locked.\x20Result:\x20','apply','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','description','speak','attemptUnlockExit','33uTVpns','checkIfLocked','109144hTfLkQ','attemptUnlock'];a53c=function(){return u;};return a53c();}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger[a53i(0x1af)]();[a53i(0x1b3)];[a53i(0x1a6)];['exits']=new Map();['roomType'];[a53i(0x1bd)];[a53i(0x19c)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x1b3)]=a['name'],this[j(0x1a6)]=a[j(0x1a6)],this[j(0x1c3)]=a['roomType']||RoomType[j(0x1bf)],a[j(0x1a1)]&&(this[j(0x1a1)]=a['exits']||new Map()),a[j(0x19c)]&&(this['inventory']=a['inventory']),a[j(0x196)]&&(this[j(0x196)]=a[j(0x196)]),this['isStartRoom']=a[j(0x1bd)]||![],this[j(0x1b4)]['write'](j(0x194)+this[j(0x1b3)]);}[a53i(0x187)](a,b){const k=a53i;this[k(0x1b7)](k(0x1a7),a,b);}[a53i(0x193)](a,b,c){const l=a53i;let d=this[l(0x185)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1a1)][l(0x1c6)](a,d),b['exits']['set'](this[l(0x18f)](a),d);}[a53i(0x1a8)](a,b){const m=a53i,c=this[m(0x1a1)][m(0x19f)](a);if(c instanceof Door){const d=c[m(0x1ac)](b);return this[m(0x1b4)][m(0x1c2)](m(0x189)+a+m(0x18b)+d),d?m(0x1c0)+c[m(0x1b3)]+m(0x1b1):m(0x1c0)+c[m(0x1b3)]+m(0x18e);}return this[m(0x1b4)][m(0x1c2)](m(0x1a0)+a),m(0x1a5);}['getExit'](a){const n=a53i;return this[n(0x1b4)]['write'](n(0x19e)+a),this[n(0x1a1)][n(0x19f)](a);}['isExitLocked'](a){const o=a53i,b=this[o(0x1a1)][o(0x19f)](a),c=b instanceof Door&&b[o(0x1aa)]();return this['logger'][o(0x1c2)](o(0x19b)+a+o(0x1a3)+c),c;}[a53i(0x18c)](a){const p=a53i;this['inventory'][p(0x18c)](a),this[p(0x1b4)]['write'](p(0x1c5)+this['name']+':\x20'+a[p(0x1b3)]);}['removeItem'](a){const q=a53i;this['inventory'][q(0x192)](a['name'])?(this[q(0x19c)][q(0x19d)](a[q(0x1b3)]),this[q(0x1b4)][q(0x1c2)](q(0x195)+this['name']+':\x20'+a[q(0x1b3)])):this['logger'][q(0x1c2)](q(0x1b6)+this[q(0x1b3)]+':\x20'+a[q(0x1b3)]);}['setPuzzle'](a){const r=a53i;this[r(0x196)]=a,this[r(0x1b4)][r(0x1c2)](r(0x191)+this[r(0x1b3)]+':\x20'+a[r(0x1ba)]);}['getOppositeDirection'](a){const s=a53i;switch(a){case s(0x18a):return Direction['SOUTH'];case s(0x197):return Direction[s(0x1b0)];case s(0x1b2):return Direction[s(0x190)];case s(0x19a):return Direction[s(0x1bc)];case'up':return Direction['DOWN'];case s(0x1c4):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a53i(0x185)](a){const t=a53i;for(const b of this[t(0x1a1)][t(0x199)]()){if(b instanceof Door){if(b[t(0x1b8)]===this&&b['roomB']===a||b[t(0x1be)]===this&&b[t(0x1b8)]===a)return b;}}return undefined;}}
1
+ function a53c(){const u=['isStartRoom','emit','search','821958tadshP','80kYUyWa','south','hasItem','puzzle','set','attemptUnlock','removeItem','getOppositeDirection','roomType','DOWN','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','attemptUnlockExit','Checking\x20if\x20exit\x20in\x20direction\x20','getInstance','Item\x20added\x20to\x20room\x20','get','5GhRklS','checkIfLocked','findExistingDoor','riddle','description','down','constructor','(((.+)+)+)+$','inventory','roomA','Room\x20created:\x20','222257MleliP','\x20is\x20locked.\x20Result:\x20','toString','east','No\x20locked\x20exit\x20found\x20in\x20direction\x20','1114828uLExVB','roomB','values','north','name','Puzzle\x20set\x20for\x20room\x20','SOUTH','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','12939948nMiYSi','exits','addItem','The\x20','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','write','INSIDE','460312FXartR','825684ZMtaJM','EAST','apply','west','logger','3983814sYrcDy','\x20remains\x20locked.','isExitLocked','\x20unlocked!'];a53c=function(){return u;};return a53c();}const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x173))/0x1+parseInt(f(0x180))/0x2+parseInt(f(0x174))/0x3+parseInt(f(0x1a1))/0x4*(parseInt(f(0x191))/0x5)+parseInt(f(0x179))/0x6+-parseInt(f(0x19c))/0x7*(parseInt(f(0x181))/0x8)+-parseInt(f(0x1a9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x51859));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x19e)]()[h(0x17f)](h(0x198))[h(0x19e)]()[h(0x197)](a53a)[h(0x17f)](h(0x198));});function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x170;let f=c[d];return f;},a53d(a,b);}a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x178)]=Logger[a53i(0x18e)]();[a53i(0x1a5)];[a53i(0x195)];['exits']=new Map();[a53i(0x189)];[a53i(0x17d)];[a53i(0x199)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x1a5)]=a[j(0x1a5)],this[j(0x195)]=a[j(0x195)],this[j(0x189)]=a['roomType']||RoomType[j(0x172)],a[j(0x1aa)]&&(this[j(0x1aa)]=a[j(0x1aa)]||new Map()),a['inventory']&&(this[j(0x199)]=a['inventory']),a['puzzle']&&(this['puzzle']=a[j(0x184)]),this[j(0x17d)]=a[j(0x17d)]||![],this[j(0x178)][j(0x171)](j(0x19b)+this[j(0x1a5)]);}['say'](a,b){const k=a53i;this[k(0x17e)]('speak',a,b);}['addExit'](a,b,c){const l=a53i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0x185)](a,d),b['exits'][l(0x185)](this[l(0x188)](a),d);}[a53i(0x18c)](a,b){const m=a53i,c=this['exits'][m(0x190)](a);if(c instanceof Door){const d=c[m(0x186)](b);return this[m(0x178)][m(0x171)](m(0x18b)+a+'.\x20Success:\x20'+d),d?m(0x1ac)+c['name']+m(0x17c):m(0x1ac)+c[m(0x1a5)]+m(0x17a);}return this['logger'][m(0x171)](m(0x1a0)+a),m(0x1a8);}['getExit'](a){const n=a53i;return this['logger'][n(0x171)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0x1aa)][n(0x190)](a);}[a53i(0x17b)](a){const o=a53i,b=this[o(0x1aa)][o(0x190)](a),c=b instanceof Door&&b[o(0x192)]();return this[o(0x178)][o(0x171)](o(0x18d)+a+o(0x19d)+c),c;}[a53i(0x1ab)](a){const p=a53i;this[p(0x199)][p(0x1ab)](a),this[p(0x178)][p(0x171)](p(0x18f)+this[p(0x1a5)]+':\x20'+a[p(0x1a5)]);}[a53i(0x187)](a){const q=a53i;this[q(0x199)][q(0x183)](a[q(0x1a5)])?(this['inventory'][q(0x187)](a[q(0x1a5)]),this[q(0x178)][q(0x171)]('Item\x20removed\x20from\x20room\x20'+this[q(0x1a5)]+':\x20'+a[q(0x1a5)])):this[q(0x178)][q(0x171)](q(0x170)+this[q(0x1a5)]+':\x20'+a[q(0x1a5)]);}['setPuzzle'](a){const r=a53i;this[r(0x184)]=a,this[r(0x178)]['write'](r(0x1a6)+this[r(0x1a5)]+':\x20'+a[r(0x194)]);}[a53i(0x188)](a){const s=a53i;switch(a){case s(0x1a4):return Direction[s(0x1a7)];case s(0x182):return Direction['NORTH'];case s(0x19f):return Direction['WEST'];case s(0x177):return Direction[s(0x175)];case'up':return Direction[s(0x18a)];case s(0x196):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a53i(0x193)](a){const t=a53i;for(const b of this['exits'][t(0x1a3)]()){if(b instanceof Door){if(b[t(0x19a)]===this&&b[t(0x1a2)]===a||b[t(0x1a2)]===this&&b[t(0x19a)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x16c))/0x1*(-parseInt(i(0x150))/0x2)+-parseInt(i(0x172))/0x3*(-parseInt(i(0x15b))/0x4)+-parseInt(i(0x19d))/0x5*(parseInt(i(0x183))/0x6)+parseInt(i(0x187))/0x7*(parseInt(i(0x18d))/0x8)+parseInt(i(0x19b))/0x9+parseInt(i(0x19a))/0xa*(-parseInt(i(0x167))/0xb)+-parseInt(i(0x15c))/0xc*(parseInt(i(0x170))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x8b815));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x17b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x186)]()[k(0x16f)](k(0x17f))[k(0x186)]()['constructor'](a54a)['search'](k(0x17f));});function a54c(){const E=['567882fRsuSr','player','30ygWNed','addExit','620300PFWbEp','\x20to\x20room\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','set','setPuzzle','Added\x20room\x20to\x20scene:\x20','\x20not\x20found\x20in\x20scene.','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','exits','\x20already\x20exists\x20in\x20the\x20scene.','\x20is\x20now\x20in\x20room\x20','4UBkgJJ','60sdRDqs','join','createExitsFromConfig','setCharacterLocation','getActor','characterLocations','Failed\x20to\x20add\x20item\x20','addPuzzleToRoom','rooms','determineStartRoom','\x20found\x20in\x20the\x20scene.','3025Aefszv','logger','roomFactory','actors','write','1nJdfqg','generateRoomsFromConfig','\x22\x20does\x20not\x20exist.','search','1620996LIWptV','Added\x20item\x20','2836563BSdJTf','Room\x20\x22','roomConfiguration','removeRoom','length','addItem','Failed\x20to\x20set\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','direction','apply','addItemToRoom','Scene\x20initialized\x20with\x20rooms:\x20','get','(((.+)+)+)+$','keyRequired','createRoom','allActors','287076YLsOkE','Failed\x20to\x20add\x20puzzle.\x20Room\x20','has','toString','35XINkKB','name','getCharacterLocation','.\x20Room\x20','Actor\x20with\x20name\x20','keys','1225128mEecWb','from','\x27s\x20location.\x20Room\x20','getInstance','initialize','isStartRoom','addActor','values','No\x20actor\x20with\x20name\x20','removeActor','toUpperCase','getRooms','getPlayer','21910KqtOzI'];a54c=function(){return E;};return a54c();}a54a();function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x14f;let f=c[d];return f;},a54d(a,b);}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x164)];[a54l(0x19c)];[a54l(0x168)];[a54l(0x16a)];[a54l(0x161)]=new Map();[a54l(0x169)];constructor(a){const m=a54l;super(),this['roomFactory']=new RoomFactory(),this[m(0x19c)]=a[m(0x19c)],this['rooms']=this[m(0x16d)](a['roomConfiguration']),this[m(0x168)]=Logger[m(0x190)](),this[m(0x16a)]=new Map(),this[m(0x15e)](a[m(0x174)]),this[m(0x168)][m(0x16b)](m(0x17d)+Object[m(0x18c)](this['rooms'])[m(0x15d)](',\x20'));}[a54l(0x191)](){const n=a54l;this['player']['currentLocation']=this[n(0x165)]();}[a54l(0x16d)](a){const o=a54l;if(!this[o(0x169)])throw new Error(o(0x157));const b={};for(const c of a){const d=this[o(0x169)][o(0x181)](c);b[c['name']]=d;}return b;}[a54l(0x15e)](a){const p=a54l;for(const b of a){const c=this[p(0x164)][b['name']];if(b[p(0x158)])for(const d of b['exits']){const e=d[p(0x17a)][p(0x197)](),f=d['targetRoom'],g=d[p(0x180)],h=this[p(0x164)][f];h&&c[p(0x14f)](Direction[e],h,g);}}}[a54l(0x193)](a){const q=a54l;if(this['actors']['has'](a[q(0x188)]))throw new Error(q(0x18b)+a[q(0x188)]+q(0x159));this['actors']['set'](a['name'],a);}[a54l(0x196)](a){const r=a54l;if(!this[r(0x16a)][r(0x185)](a))throw new Error(r(0x195)+a+r(0x166));this[r(0x16a)]['delete'](a);}[a54l(0x160)](a){const s=a54l;return this[s(0x16a)][s(0x17e)](a);}get[a54l(0x182)](){const t=a54l;return Array[t(0x18e)](this[t(0x16a)][t(0x194)]());}['addRoom'](a){const u=a54l;this['rooms'][a['name']]=a,this[u(0x168)][u(0x16b)](u(0x155)+a[u(0x188)]);}[a54l(0x175)](a){const v=a54l;return this[v(0x164)][a]?(delete this[v(0x164)][a],this['logger'][v(0x16b)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0x168)]['write']('Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'+a),![]);}[a54l(0x17c)](a,b){const w=a54l,c=this[w(0x164)][b];c?(c[w(0x177)](a),this['logger']['write'](w(0x171)+a[w(0x188)]+w(0x151)+c[w(0x188)])):this['logger']['write'](w(0x162)+a[w(0x188)]+w(0x18a)+b+w(0x156));}[a54l(0x163)](a,b){const x=a54l,c=this[x(0x164)][b];c?(c[x(0x154)](a),this[x(0x168)][x(0x16b)]('Added\x20puzzle\x20to\x20room\x20'+c['name'])):this[x(0x168)][x(0x16b)](x(0x184)+b+x(0x156));}[a54l(0x15f)](a,b){const y=a54l,c=this[y(0x164)][b];c?(this[y(0x161)][y(0x153)](a[y(0x188)],c),this[y(0x168)]['write'](a[y(0x188)]+y(0x15a)+c[y(0x188)])):this[y(0x168)][y(0x16b)](y(0x178)+a[y(0x188)]+y(0x18f)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x189)](a){const z=a54l;return this[z(0x161)][z(0x17e)](a['name']);}[a54l(0x165)](){const A=a54l,a=[];for(const c in this['rooms']){if(this[A(0x164)]['hasOwnProperty'](c)){const d=this[A(0x164)][c];d[A(0x192)]&&a['push'](d);}}if(a['length']>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[A(0x176)]===0x1)return a[0x0];const b=Object[A(0x18c)](this['rooms']);if(b['length']===0x0)throw new Error(A(0x152));return console['warn'](A(0x179)),this[A(0x164)][b[0x0]];}[a54l(0x199)](){const B=a54l;return this[B(0x19c)];}[a54l(0x198)](){const C=a54l;return this[C(0x164)];}['connectRooms'](a,b,c,d){const D=a54l,e=this[D(0x164)][a],f=this[D(0x164)][c];if(!e)throw new Error(D(0x173)+a+D(0x16e));if(!f)throw new Error(D(0x173)+c+'\x22\x20does\x20not\x20exist.');e[D(0x14f)](b,f,d);}}
1
+ function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x199;let f=c[d];return f;},a54d(a,b);}const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x1bd))/0x1+-parseInt(i(0x1a8))/0x2+-parseInt(i(0x1cb))/0x3*(parseInt(i(0x19a))/0x4)+parseInt(i(0x1ad))/0x5*(parseInt(i(0x1a0))/0x6)+parseInt(i(0x19e))/0x7*(-parseInt(i(0x1d5))/0x8)+-parseInt(i(0x1c5))/0x9*(-parseInt(i(0x1a9))/0xa)+-parseInt(i(0x1bb))/0xb*(-parseInt(i(0x1ac))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xcde1b));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x19d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x1a1)]()[k(0x1c8)]('(((.+)+)+)+$')[k(0x1a1)]()['constructor'](a54a)[k(0x1c8)]('(((.+)+)+)+$');});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x1ce)];['player'];[a54l(0x1ae)];[a54l(0x1dd)];[a54l(0x1de)]=new Map();[a54l(0x1d8)];constructor(a){const m=a54l;super(),this[m(0x1d8)]=new RoomFactory(),this['player']=a[m(0x199)],this[m(0x1ce)]=this[m(0x1d2)](a['roomConfiguration']),this['logger']=Logger['getInstance'](),this['actors']=new Map(),this[m(0x1d1)](a[m(0x1b8)]),this['logger'][m(0x1b4)](m(0x1be)+Object[m(0x1db)](this[m(0x1ce)])['join'](',\x20'));}['initialize'](){const n=a54l;this[n(0x199)]['currentLocation']=this[n(0x1c7)]();}[a54l(0x1d2)](a){const o=a54l;if(!this[o(0x1d8)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this['roomFactory']['createRoom'](c);b[c[o(0x1c0)]]=d;}return b;}[a54l(0x1d1)](a){const p=a54l;for(const b of a){const c=this[p(0x1ce)][b['name']];if(b[p(0x1ab)])for(const d of b[p(0x1ab)]){const e=d['direction'][p(0x19f)](),f=d['targetRoom'],g=d[p(0x1ca)],h=this[p(0x1ce)][f];h&&c[p(0x1c2)](Direction[e],h,g);}}}['addActor'](a){const q=a54l;if(this['actors'][q(0x1d9)](a[q(0x1c0)]))throw new Error(q(0x1a3)+a['name']+q(0x1a7));this['actors']['set'](a[q(0x1c0)],a);}['removeActor'](a){const r=a54l;if(!this[r(0x1dd)]['has'](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x1cd));this[r(0x1dd)][r(0x1a4)](a);}['getActor'](a){const s=a54l;return this['actors'][s(0x1b3)](a);}get[a54l(0x1a6)](){const t=a54l;return Array[t(0x1c3)](this[t(0x1dd)][t(0x1b1)]());}['addRoom'](a){const u=a54l;this[u(0x1ce)][a[u(0x1c0)]]=a,this['logger'][u(0x1b4)](u(0x1a5)+a[u(0x1c0)]);}[a54l(0x1b2)](a){const v=a54l;return this[v(0x1ce)][a]?(delete this[v(0x1ce)][a],this[v(0x1ae)]['write'](v(0x1bf)+a),!![]):(this['logger'][v(0x1b4)](v(0x1d0)+a),![]);}[a54l(0x1d6)](a,b){const w=a54l,c=this['rooms'][b];c?(c[w(0x1aa)](a),this[w(0x1ae)][w(0x1b4)](w(0x19c)+a[w(0x1c0)]+w(0x1d7)+c[w(0x1c0)])):this['logger'][w(0x1b4)](w(0x1da)+a[w(0x1c0)]+w(0x1ba)+b+w(0x19b));}[a54l(0x1d3)](a,b){const x=a54l,c=this[x(0x1ce)][b];c?(c[x(0x1c6)](a),this[x(0x1ae)][x(0x1b4)](x(0x1d4)+c[x(0x1c0)])):this['logger'][x(0x1b4)](x(0x1b6)+b+x(0x19b));}['setCharacterLocation'](a,b){const y=a54l,c=this[y(0x1ce)][b];c?(this['characterLocations'][y(0x1b0)](a[y(0x1c0)],c),this[y(0x1ae)][y(0x1b4)](a[y(0x1c0)]+'\x20is\x20now\x20in\x20room\x20'+c['name'])):this[y(0x1ae)][y(0x1b4)](y(0x1a2)+a[y(0x1c0)]+y(0x1af)+b+y(0x19b));}['getCharacterLocation'](a){const z=a54l;return this[z(0x1de)][z(0x1b3)](a[z(0x1c0)]);}[a54l(0x1c7)](){const A=a54l,a=[];for(const c in this[A(0x1ce)]){if(this[A(0x1ce)]['hasOwnProperty'](c)){const d=this[A(0x1ce)][c];d[A(0x1c1)]&&a[A(0x1b5)](d);}}if(a[A(0x1cc)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a['length']===0x1)return a[0x0];const b=Object[A(0x1db)](this[A(0x1ce)]);if(b['length']===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[A(0x1c4)](A(0x1c9)),this['rooms'][b[0x0]];}[a54l(0x1cf)](){const B=a54l;return this[B(0x199)];}[a54l(0x1b9)](){return this['rooms'];}[a54l(0x1dc)](a,b,c,d){const C=a54l,e=this[C(0x1ce)][a],f=this[C(0x1ce)][c];if(!e)throw new Error(C(0x1b7)+a+C(0x1bc));if(!f)throw new Error('Room\x20\x22'+c+C(0x1bc));e[C(0x1c2)](b,f,d);}}function a54c(){const D=['values','removeRoom','get','write','push','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Room\x20\x22','roomConfiguration','getRooms','.\x20Room\x20','401082ByjuTA','\x22\x20does\x20not\x20exist.','1567315pppQpV','Scene\x20initialized\x20with\x20rooms:\x20','Removed\x20room\x20from\x20scene:\x20','name','isStartRoom','addExit','from','warn','4749552PcoczW','setPuzzle','determineStartRoom','search','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','keyRequired','62223kffWdG','length','\x20found\x20in\x20the\x20scene.','rooms','getPlayer','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','createExitsFromConfig','generateRoomsFromConfig','addPuzzleToRoom','Added\x20puzzle\x20to\x20room\x20','819176kdkgtt','addItemToRoom','\x20to\x20room\x20','roomFactory','has','Failed\x20to\x20add\x20item\x20','keys','connectRooms','actors','characterLocations','player','232DJQfNY','\x20not\x20found\x20in\x20scene.','Added\x20item\x20','apply','70cIKlhB','toUpperCase','6mxntFJ','toString','Failed\x20to\x20set\x20','Actor\x20with\x20name\x20','delete','Added\x20room\x20to\x20scene:\x20','allActors','\x20already\x20exists\x20in\x20the\x20scene.','856774BsAsFI','10qJSHOy','addItem','exits','972pPWElp','7923955dBaZNx','logger','\x27s\x20location.\x20Room\x20','set'];a54c=function(){return D;};return a54c();}
@@ -1 +1 @@
1
- function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x141;var f=c[d];return f;},a55d(a,b);}var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x14f))/0x1+parseInt(f(0x166))/0x2+-parseInt(f(0x171))/0x3+parseInt(f(0x176))/0x4*(-parseInt(f(0x173))/0x5)+-parseInt(f(0x16f))/0x6+-parseInt(f(0x162))/0x7+parseInt(f(0x150))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x56286));function a55c(){var D=['Blade','Tiny','LegArmor','Grey','Smooth','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','\x20aloft,\x20feeling\x20its\x20immense\x20power.','pageCount','(((.+)+)+)+$','680022bfhQSo','19124168sZZIYw','Legendary','Common','BodyArmor','Rifle','Book','Yellow','Circle','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Boots','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Cup','use','Rectangle','Small','Helmet','Unknown\x20Author','Key','4738692GFZtNA','toString','Rare','A\x20mysterious\x20book.','660594WcUUBm','apply','author','name','Large','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','constructor','Gloves','Metallic','2365284QQeMmw','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','1620792DcotuB','Gold','38230mJTQBm','description','Weapon','40CObpAX','publishDate','Short\x20Sword','Medium','ArmArmor','Unknown','Brown'];a55c=function(){return D;};return a55c();}var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x167)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x163)]()['search'](h(0x14e))['toString']()[h(0x16c)](a55a)['search'](h(0x14e));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size[i(0x142)],'category':Category[i(0x144)],'shape':Shape[i(0x15d)],'color':Color[i(0x156)],'texture':Texture[i(0x14a)],'rating':Rating[i(0x152)],'weight':0x1});}[a55j(0x15c)](){var k=a55j;return this[k(0x174)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size[l(0x142)],'category':Category[l(0x175)],'shape':Shape[l(0x146)],'color':Color[l(0x149)],'texture':Texture[l(0x16e)],'rating':Rating[l(0x152)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[m(0x175)],'shape':Shape[m(0x154)],'color':Color[m(0x145)],'texture':Texture[m(0x16e)],'rating':Rating[m(0x164)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x142)],'category':Category[n(0x15f)],'shape':Shape[n(0x157)],'color':Color[n(0x149)],'texture':Texture[n(0x16e)],'rating':Rating[n(0x152)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size[o(0x16a)],'category':Category[o(0x153)],'shape':Shape[o(0x15d)],'color':Color[o(0x149)],'texture':Texture[o(0x16e)],'rating':Rating[o(0x152)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0x142)],'category':Category[p(0x148)],'shape':Shape['Rectangle'],'color':Color[p(0x149)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[q(0x159)],'shape':Shape[q(0x157)],'color':Color[q(0x145)],'texture':Texture[q(0x14a)],'rating':Rating[q(0x152)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0x15e)],'category':Category[r(0x16d)],'shape':Shape['Circle'],'color':Color['Brown'],'texture':Texture[r(0x14a)],'rating':Rating[r(0x152)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[s(0x143)],'shape':Shape[s(0x15d)],'color':Color[s(0x149)],'texture':Texture[s(0x16e)],'rating':Rating[s(0x152)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x147)],'category':Category[t(0x161)],'shape':Shape[t(0x15d)],'color':Color['Yellow'],'texture':Texture[t(0x14a)],'rating':Rating[t(0x152)],'weight':0x0});}[a55j(0x15c)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var u=a55j;super({'name':a,'description':b,'size':Size[u(0x142)],'category':Category['Weapon'],'shape':Shape['Blade'],'color':Color[u(0x149)],'texture':Texture[u(0x16e)],'rating':Rating['Common'],'weight':0x3});}[a55j(0x15c)](){var v=a55j;return v(0x15a);}}export class Book extends Item{[a55j(0x168)];[a55j(0x177)];[a55j(0x14d)];constructor(a,b=a55j(0x165),c=a55j(0x160)){var w=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[w(0x155)],'shape':Shape['Rectangle'],'color':Color[w(0x145)],'texture':Texture[w(0x14a)],'rating':Rating['Common'],'weight':0x1}),this[w(0x168)]=c,this[w(0x177)]=new Date(),this[w(0x14d)]=0x64;}[a55j(0x15c)](){var x=a55j;return x(0x16b);}}export class ShortSword extends Item{constructor(){var y=a55j;super({'name':y(0x141),'description':y(0x170),'size':Size[y(0x142)],'category':Category['Weapon'],'shape':Shape[y(0x146)],'color':Color[y(0x149)],'texture':Texture['Metallic'],'rating':Rating[y(0x152)],'weight':0x3});}['use'](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var z=a55j;super({'name':'Sniper\x20Rifle','description':z(0x158),'size':Size[z(0x16a)],'category':Category[z(0x175)],'shape':Shape['Rifle'],'color':Color['Brown'],'texture':Texture[z(0x14a)],'rating':Rating[z(0x152)],'weight':0x5});}[a55j(0x15c)](){var A=a55j;return A(0x14b);}}export class HolyGrail extends Item{constructor(){var B=a55j;super({'name':'Holy\x20Grail','description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size['Small'],'category':Category[B(0x15b)],'shape':Shape[B(0x157)],'color':Color[B(0x172)],'texture':Texture[B(0x16e)],'rating':Rating[B(0x151)],'weight':0x1});}['use'](){var C=a55j;return'You\x20hold\x20the\x20'+this[C(0x169)]+C(0x14c);}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0xda))/0x1*(-parseInt(f(0xfc))/0x2)+parseInt(f(0xe4))/0x3+parseInt(f(0xf7))/0x4+parseInt(f(0xee))/0x5+-parseInt(f(0xf5))/0x6+parseInt(f(0xec))/0x7*(parseInt(f(0xd0))/0x8)+-parseInt(f(0xdc))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xbe39b));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var g=a55d;return a55a[g(0xd4)]()[g(0xd7)](g(0xef))[g(0xd4)]()[g(0xf4)](a55a)[g(0xd7)](g(0xef));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var h=a55d;super({'name':a,'description':b,'size':Size[h(0xfa)],'category':Category[h(0xf9)],'shape':Shape[h(0xde)],'color':Color['Yellow'],'texture':Texture[h(0xdf)],'rating':Rating[h(0xe1)],'weight':0x1});}[a55i(0xd6)](){var j=a55i;return this[j(0xf6)];}}export class Sword extends Item{constructor(a,b){var k=a55i;super({'name':a,'description':b,'size':Size[k(0xfa)],'category':Category[k(0xe9)],'shape':Shape[k(0x102)],'color':Color[k(0xf3)],'texture':Texture[k(0xd2)],'rating':Rating[k(0xe1)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55i;super({'name':a,'description':b,'size':Size[l(0xf2)],'category':Category[l(0xe9)],'shape':Shape['Rifle'],'color':Color[l(0xdb)],'texture':Texture[l(0xd2)],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a55i;super({'name':a,'description':b,'size':Size[m(0xfa)],'category':Category[m(0xe5)],'shape':Shape['Circle'],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[m(0xe1)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55i;super({'name':a,'description':b,'size':Size[n(0xf2)],'category':Category['BodyArmor'],'shape':Shape[n(0xde)],'color':Color[n(0xf3)],'texture':Texture['Metallic'],'rating':Rating[n(0xe1)],'weight':0xa});}}function a55c(){var D=['Unknown','Medium','Short\x20Sword','830816dktLDM','Yellow','Unknown\x20Author','Gold','Book','name','Blade','7117256vOFSGi','Circle','Metallic','Rifle','toString','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','use','search','A\x20mysterious\x20book.','Legendary','2eOYpYQ','Brown','24700500UgqWTy','author','Rectangle','Smooth','You\x20hold\x20the\x20','Common','publishDate','Holy\x20Grail','3261684tfCmUy','Helmet','Sniper\x20Rifle','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Weapon','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','pageCount','7GiFjMN','Cup','7223205ZjmSPg','(((.+)+)+)+$','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Gloves','Large','Grey','constructor','2978250fFiFhE','description','5717312EyVRxa','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22'];a55c=function(){return D;};return a55c();}export class LegArmor extends Item{constructor(a,b){var o=a55i;super({'name':a,'description':b,'size':Size[o(0xfa)],'category':Category['LegArmor'],'shape':Shape[o(0xde)],'color':Color[o(0xf3)],'texture':Texture[o(0xd2)],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55i;super({'name':a,'description':b,'size':Size[p(0xfa)],'category':Category['Boots'],'shape':Shape['Circle'],'color':Color['Brown'],'texture':Texture[p(0xdf)],'rating':Rating[p(0xe1)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a55i;super({'name':a,'description':b,'size':Size['Small'],'category':Category[q(0xf1)],'shape':Shape[q(0xd1)],'color':Color['Brown'],'texture':Texture[q(0xdf)],'rating':Rating[q(0xe1)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a55i;super({'name':a,'description':b,'size':Size[r(0xfa)],'category':Category['ArmArmor'],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture[r(0xd2)],'rating':Rating[r(0xe1)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a55i;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category['Key'],'shape':Shape[s(0xde)],'color':Color[s(0xfd)],'texture':Texture['Smooth'],'rating':Rating[s(0xe1)],'weight':0x0});}[a55i(0xd6)](){var t=a55i;return t(0xd5);}}export class Weapon extends Item{constructor(a,b){var u=a55i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Weapon'],'shape':Shape[u(0x102)],'color':Color['Grey'],'texture':Texture[u(0xd2)],'rating':Rating[u(0xe1)],'weight':0x3});}[a55i(0xd6)](){var v=a55i;return v(0xea);}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xd0;var f=c[d];return f;},a55d(a,b);}export class Book extends Item{[a55i(0xdd)];[a55i(0xe2)];[a55i(0xeb)];constructor(a,b=a55i(0xd8),c=a55i(0xfe)){var w=a55i;super({'name':a,'description':b,'size':Size[w(0xfa)],'category':Category[w(0x100)],'shape':Shape['Rectangle'],'color':Color[w(0xdb)],'texture':Texture['Smooth'],'rating':Rating[w(0xe1)],'weight':0x1}),this[w(0xdd)]=c,this[w(0xe2)]=new Date(),this[w(0xeb)]=0x64;}[a55i(0xd6)](){var x=a55i;return x(0xf8);}}export class ShortSword extends Item{constructor(){var y=a55i;super({'name':y(0xfb),'description':y(0xf0),'size':Size[y(0xfa)],'category':Category[y(0xe9)],'shape':Shape[y(0x102)],'color':Color[y(0xf3)],'texture':Texture[y(0xd2)],'rating':Rating[y(0xe1)],'weight':0x3});}['use'](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var z=a55i;super({'name':z(0xe6),'description':z(0xe8),'size':Size['Large'],'category':Category[z(0xe9)],'shape':Shape[z(0xd3)],'color':Color[z(0xdb)],'texture':Texture[z(0xdf)],'rating':Rating[z(0xe1)],'weight':0x5});}[a55i(0xd6)](){var A=a55i;return A(0xe7);}}export class HolyGrail extends Item{constructor(){var B=a55i;super({'name':B(0xe3),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size['Small'],'category':Category[B(0xed)],'shape':Shape[B(0xd1)],'color':Color[B(0xff)],'texture':Texture['Metallic'],'rating':Rating[B(0xd9)],'weight':0x1});}[a55i(0xd6)](){var C=a55i;return C(0xe0)+this[C(0x101)]+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}